aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--plugins/base/src/main/resources/dokka/scripts/main.js366
-rw-r--r--plugins/base/src/main/resources/dokka/scripts/main.js.map1
3 files changed, 2 insertions, 367 deletions
diff --git a/.gitignore b/.gitignore
index 664c9774..78a59f54 100644
--- a/.gitignore
+++ b/.gitignore
@@ -99,3 +99,5 @@ android.local.properties
core/out/
runners/**/out/
.idea
+plugins/base/src/main/resources/dokka/scripts/main.js
+plugins/base/src/main/resources/dokka/scripts/main.js.map
diff --git a/plugins/base/src/main/resources/dokka/scripts/main.js b/plugins/base/src/main/resources/dokka/scripts/main.js
deleted file mode 100644
index 8c58e96f..00000000
--- a/plugins/base/src/main/resources/dokka/scripts/main.js
+++ /dev/null
@@ -1,366 +0,0 @@
-!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1109)}([function(e,t,n){e.exports=n(768)()},function(e,t,n){"use strict";e.exports=n(763)},function(e,t,n){var r;
-/*!
- Copyright (c) 2017 Jed Watson.
- Licensed under the MIT License (MIT), see
- http://jedwatson.github.io/classnames
-*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function o(){return t.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function p(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return St(e,t,n,r,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=m(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function v(e){var t=h(NaN);return null!=e?p(m(t),e):m(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var y=o.momentProperties=[],b=!1;function _(e,t){var n,r,o;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=m(t)),c(t._locale)||(e._locale=t._locale),y.length>0)for(n=0;n<y.length;n++)c(o=t[r=y[n]])||(e[r]=o);return e}function w(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,o.updateOffset(this),b=!1)}function x(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function k(e){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(e,t){var n=!0;return p((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),n){var r,i,a,l=[];for(i=0;i<arguments.length;i++){if(r="","object"==typeof arguments[i]){for(a in r+="\n["+i+"] ",arguments[0])s(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[i];l.push(r)}k(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var S,O={};function E(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),O[e]||(k(t),O[e]=!0)}function L(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var n,r=p({},e);for(n in t)s(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&a(e[n])&&(r[n]=p({},r[n]));return r}function D(e){null!=e&&this.set(e)}function C(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Y={},A={};function I(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(A[e]=o),t&&(A[t[0]]=function(){return C(o.apply(this,arguments),t[1],t[2])}),n&&(A[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=$(t,e.localeData()),Y[t]=Y[t]||function(e){var t,n,r,o=e.match(P);for(t=0,n=o.length;t<n;t++)A[o[t]]?o[t]=A[o[t]]:o[t]=(r=o[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,i="";for(r=0;r<n;r++)i+=L(o[r])?o[r].call(t,e):o[r];return i}}(t),Y[t](e)):e.localeData().invalidDate()}function $(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(j.lastIndex=0;n>=0&&j.test(e);)e=e.replace(j,r),j.lastIndex=0,n-=1;return e}var H={};function N(e,t){var n=e.toLowerCase();H[n]=H[n+"s"]=H[t]=e}function z(e){return"string"==typeof e?H[e]||H[e.toLowerCase()]:void 0}function F(e){var t,n,r={};for(n in e)s(e,n)&&(t=z(n))&&(r[t]=e[n]);return r}var B={};function U(e,t){B[e]=t}function W(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function q(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=V(t)),n}function G(e,t){return function(n){return null!=n?(J(this,e,n),o.updateOffset(this,t),this):K(this,e)}}function K(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function J(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&W(e.year())&&1===e.month()&&29===e.date()?(n=q(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),xe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Q,Z=/\d/,X=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,oe=/\d\d\d\d?/,ie=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,se=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,ue=/[+-]?\d+/,fe=/Z|[+-]\d\d:?\d\d/gi,de=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,t,n){Q[e]=L(t)?t:function(e,r){return e&&n?n:t}}function me(e,t){return s(Q,e)?Q[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o}))))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var ve,ye={};function be(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=q(e)}),n=0;n<e.length;n++)ye[e[n]]=r}function _e(e,t){be(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function we(e,t,n){null!=t&&s(ye,e)&&ye[e](t,n._a,n,e)}function xe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?W(e)?29:28:31-r%7%2}ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},I("M",["MM",2],"Mo",(function(){return this.month()+1})),I("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),I("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),N("month","M"),U("month",8),he("M",re),he("MM",re,X),he("MMM",(function(e,t){return t.monthsShortRegex(e)})),he("MMMM",(function(e,t){return t.monthsRegex(e)})),be(["M","MM"],(function(e,t){t[1]=q(e)-1})),be(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[1]=o:m(n).invalidMonth=e}));var ke="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Me="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Se=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Oe=pe,Ee=pe;function Le(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=ve.call(this._shortMonthsParse,a))?o:null:-1!==(o=ve.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=ve.call(this._shortMonthsParse,a))||-1!==(o=ve.call(this._longMonthsParse,a))?o:null:-1!==(o=ve.call(this._longMonthsParse,a))||-1!==(o=ve.call(this._shortMonthsParse,a))?o:null}function Te(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=q(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),xe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function De(e){return null!=e?(Te(this,e),o.updateOffset(this,!0),this):K(this,"Month")}function Ce(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=h([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=ge(r[t]),o[t]=ge(o[t]);for(t=0;t<24;t++)i[t]=ge(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Pe(e){return W(e)?366:365}I("Y",0,0,(function(){var e=this.year();return e<=9999?C(e,4):"+"+e})),I(0,["YY",2],0,(function(){return this.year()%100})),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),N("year","y"),U("year",1),he("Y",ue),he("YY",re,X),he("YYYY",se,te),he("YYYYY",le,ne),he("YYYYYY",le,ne),be(["YYYYY","YYYYYY"],0),be("YYYY",(function(e,t){t[0]=2===e.length?o.parseTwoDigitYear(e):q(e)})),be("YY",(function(e,t){t[0]=o.parseTwoDigitYear(e)})),be("Y",(function(e,t){t[0]=parseInt(e,10)})),o.parseTwoDigitYear=function(e){return q(e)+(q(e)>68?1900:2e3)};var je=G("FullYear",!0);function Ye(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function Ae(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ie(e,t,n){var r=7+t-n;return-(7+Ae(e,0,r).getUTCDay()-t)%7+r-1}function Re(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+Ie(e,r,o);return s<=0?a=Pe(i=e-1)+s:s>Pe(e)?(i=e+1,a=s-Pe(e)):(i=e,a=s),{year:i,dayOfYear:a}}function $e(e,t,n){var r,o,i=Ie(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+He(o=e.year()-1,t,n):a>He(e.year(),t,n)?(r=a-He(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function He(e,t,n){var r=Ie(e,t,n),o=Ie(e+1,t,n);return(Pe(e)-r+o)/7}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),U("week",5),U("isoWeek",5),he("w",re),he("ww",re,X),he("W",re),he("WW",re,X),_e(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=q(e)})),I("d",0,"do","day"),I("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),I("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),I("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),he("d",re),he("e",re),he("E",re),he("dd",(function(e,t){return t.weekdaysMinRegex(e)})),he("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),he("dddd",(function(e,t){return t.weekdaysRegex(e)})),_e(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:m(n).invalidWeekday=e})),_e(["d","e","E"],(function(e,t,n,r){t[r]=q(e)}));var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Fe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Be="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ue=pe,We=pe,Ve=pe;function qe(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=ve.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ve.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=ve.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=ve.call(this._weekdaysParse,a))||-1!==(o=ve.call(this._shortWeekdaysParse,a))||-1!==(o=ve.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ve.call(this._shortWeekdaysParse,a))||-1!==(o=ve.call(this._weekdaysParse,a))||-1!==(o=ve.call(this._minWeekdaysParse,a))?o:null:-1!==(o=ve.call(this._minWeekdaysParse,a))||-1!==(o=ve.call(this._weekdaysParse,a))||-1!==(o=ve.call(this._shortWeekdaysParse,a))?o:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=ge(this.weekdaysMin(n,"")),o=ge(this.weekdaysShort(n,"")),i=ge(this.weekdays(n,"")),a.push(r),s.push(o),l.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ke(){return this.hours()%12||12}function Je(e,t){I(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Qe(e,t){return t._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Ke),I("k",["kk",2],0,(function(){return this.hours()||24})),I("hmm",0,0,(function(){return""+Ke.apply(this)+C(this.minutes(),2)})),I("hmmss",0,0,(function(){return""+Ke.apply(this)+C(this.minutes(),2)+C(this.seconds(),2)})),I("Hmm",0,0,(function(){return""+this.hours()+C(this.minutes(),2)})),I("Hmmss",0,0,(function(){return""+this.hours()+C(this.minutes(),2)+C(this.seconds(),2)})),Je("a",!0),Je("A",!1),N("hour","h"),U("hour",13),he("a",Qe),he("A",Qe),he("H",re),he("h",re),he("k",re),he("HH",re,X),he("hh",re,X),he("kk",re,X),he("hmm",oe),he("hmmss",ie),he("Hmm",oe),he("Hmmss",ie),be(["H","HH"],3),be(["k","kk"],(function(e,t,n){var r=q(e);t[3]=24===r?0:r})),be(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),be(["h","hh"],(function(e,t,n){t[3]=q(e),m(n).bigHour=!0})),be("hmm",(function(e,t,n){var r=e.length-2;t[3]=q(e.substr(0,r)),t[4]=q(e.substr(r)),m(n).bigHour=!0})),be("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=q(e.substr(0,r)),t[4]=q(e.substr(r,2)),t[5]=q(e.substr(o)),m(n).bigHour=!0})),be("Hmm",(function(e,t,n){var r=e.length-2;t[3]=q(e.substr(0,r)),t[4]=q(e.substr(r))})),be("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=q(e.substr(0,r)),t[4]=q(e.substr(r,2)),t[5]=q(e.substr(o))}));var Ze,Xe=G("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ke,monthsShort:Me,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:Be,weekdaysShort:Fe,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function ot(e){return e?e.toLowerCase().replace("_","-"):e}function it(t){var r=null;if(void 0===tt[t]&&void 0!==e&&e&&e.exports)try{r=Ze._abbr,n(901)("./"+t),at(r)}catch(e){tt[t]=null}return tt[t]}function at(e,t){var n;return e&&((n=c(t)?lt(e):st(e,t))?Ze=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function st(e,t){if(null!==t){var n,r=et;if(t.abbr=e,null!=tt[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])r=tt[t.parentLocale]._config;else{if(null==(n=it(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return tt[e]=new D(T(r,t)),nt[e]&&nt[e].forEach((function(e){st(e.name,e.config)})),at(e),tt[e]}return delete tt[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!i(e)){if(t=it(e))return t;e=[e]}return function(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=ot(e[i]).split("-")).length,n=(n=ot(e[i+1]))?n.split("-"):null;t>0;){if(r=it(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(o,n)>=t-1)break;t--}i++}return Ze}(e)}function ct(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>xe(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),m(e)._overflowWeeks&&-1===t&&(t=7),m(e)._overflowWeekday&&-1===t&&(t=8),m(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ht=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],mt=/^\/?Date\((-?\d+)/i,gt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yt(e){var t,n,r,o,i,a,s=e._i,l=ut.exec(s)||ft.exec(s);if(l){for(m(e).iso=!0,t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(l[1])){o=pt[t][0],r=!1!==pt[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=ht.length;t<n;t++)if(ht[t][1].exec(l[3])){i=(l[2]||" ")+ht[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(l[4]){if(!dt.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),kt(e)}else e._isValid=!1}function bt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function _t(e){var t,n,r,o,i,a,s,l,c=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],r=c[3],o=c[2],i=c[5],a=c[6],s=c[7],l=[bt(n),Me.indexOf(r),parseInt(o,10),parseInt(i,10),parseInt(a,10)],s&&l.push(parseInt(s,10)),t=l,!function(e,t,n){return!e||Fe.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return vt[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}(c[8],c[9],c[10]),e._d=Ae.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function wt(e,t,n){return null!=e?e:null!=t?t:n}function xt(e){var t,n,r,i,a,s=[];if(!e._d){for(r=function(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,o,i,a,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=wt(t.GG,e._a[0],$e(Ot(),1,4).year),r=wt(t.W,1),((o=wt(t.E,1))<1||o>7)&&(l=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=$e(Ot(),i,a),n=wt(t.gg,e._a[0],c.year),r=wt(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(l=!0)):o=i),r<1||r>He(n,i,a)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(s=Re(n,r,o,i,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=wt(e._a[0],r[0]),(e._dayOfYear>Pe(a)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Ae(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ae:Ye).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(m(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],m(e).empty=!0;var t,n,r,i,a,s,l=""+e._i,c=l.length,u=0;for(r=$(e._f,e._locale).match(P)||[],t=0;t<r.length;t++)i=r[t],(n=(l.match(me(i,e))||[])[0])&&((a=l.substr(0,l.indexOf(n))).length>0&&m(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),u+=n.length),A[i]?(n?m(e).empty=!1:m(e).unusedTokens.push(i),we(i,n,e)):e._strict&&!n&&m(e).unusedTokens.push(i);m(e).charsLeftOver=c-u,l.length>0&&m(e).unusedInput.push(l),e._a[3]<=12&&!0===m(e).bigHour&&e._a[3]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=m(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),xt(e),ct(e)}else _t(e);else yt(e)}function Mt(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new w(ct(t)):(f(t)?e._d=t:i(n)?function(e){var t,n,r,o,i,a,s=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)i=0,a=!1,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],kt(t),g(t)&&(a=!0),i+=m(t).charsLeftOver,i+=10*m(t).unusedTokens.length,m(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||a)&&(r=i,n=t,a&&(s=!0));p(e,n||t)}(e):n?kt(e):function(e){var t=e._i;c(t)?e._d=new Date(o.now()):f(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=mt.exec(e._i);null===t?(yt(e),!1===e._isValid&&(delete e._isValid,_t(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:o.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):i(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),xt(e)):a(t)?function(e){if(!e._d){var t=F(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),xt(e)}}(e):u(t)?e._d=new Date(t):o.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function St(e,t,n,r,o){var s,c={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||i(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=o,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new w(ct(Mt(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Ot(e,t,n,r){return St(e,t,n,r,!1)}o.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Et=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Ot.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Lt=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Ot.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function Tt(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Ot();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Dt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ct(e){var t=F(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,c=t.minute||0,u=t.second||0,f=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(s(e,t)&&(-1===ve.call(Dt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Dt.length;++n)if(e[Dt[n]]){if(r)return!1;parseFloat(e[Dt[n]])!==q(e[Dt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+f+1e3*u+6e4*c+1e3*l*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=lt(),this._bubble()}function Pt(e){return e instanceof Ct}function jt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Yt(e,t){I(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+C(~~(e/60),2)+t+C(~~e%60,2)}))}Yt("Z",":"),Yt("ZZ",""),he("Z",de),he("ZZ",de),be(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=It(de,e)}));var At=/([\+\-]|\d\d)/gi;function It(e,t){var n,r,o=(t||"").match(e);return null===o?null:0===(r=60*(n=((o[o.length-1]||[])+"").match(At)||["-",0,0])[1]+q(n[2]))?0:"+"===n[0]?r:-r}function Rt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(x(e)||f(e)?e.valueOf():Ot(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),o.updateOffset(n,!1),n):Ot(e).local()}function $t(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var Nt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ft(e,t){var n,r,o,i,a,l,c=e,f=null;return Pt(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(f=Nt.exec(e))?(n="-"===f[1]?-1:1,c={y:0,d:q(f[2])*n,h:q(f[3])*n,m:q(f[4])*n,s:q(f[5])*n,ms:q(jt(1e3*f[6]))*n}):(f=zt.exec(e))?(n="-"===f[1]?-1:1,c={y:Bt(f[2],n),M:Bt(f[3],n),w:Bt(f[4],n),d:Bt(f[5],n),h:Bt(f[6],n),m:Bt(f[7],n),s:Bt(f[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(i=Ot(c.from),a=Ot(c.to),o=i.isValid()&&a.isValid()?(a=Rt(a,i),i.isBefore(a)?l=Ut(i,a):((l=Ut(a,i)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=o.milliseconds,c.M=o.months),r=new Ct(c),Pt(e)&&s(e,"_locale")&&(r._locale=e._locale),Pt(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function Bt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Wt(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(E(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Vt(this,Ft(n,r),e),this}}function Vt(e,t,n,r){var i=t._milliseconds,a=jt(t._days),s=jt(t._months);e.isValid()&&(r=null==r||r,s&&Te(e,K(e,"Month")+s*n),a&&J(e,"Date",K(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&o.updateOffset(e,a||s))}Ft.fn=Ct.prototype,Ft.invalid=function(){return Ft(NaN)};var qt=Wt(1,"add"),Gt=Wt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Jt(e){return x(e)||f(e)||Kt(e)||u(e)||function(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Kt(e)})).length),t&&n}(e)||function(e){var t,n,r=a(e)&&!l(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<i.length;t+=1)n=i[t],o=o||s(e,n);return r&&o}(e)||null==e}function Qt(e){var t,n=a(e)&&!l(e),r=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)r=r||s(e,o[t]);return n&&r}function Zt(e,t){if(e.date()<t.date())return-Zt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Xt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var en=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function tn(){return this._locale}function nn(e,t){return(e%t+t)%t}function rn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function on(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function sn(){var e,t,n=[],r=[],o=[],i=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(ge(a[e].name)),n.push(ge(a[e].abbr)),o.push(ge(a[e].narrow)),i.push(ge(a[e].name)),i.push(ge(a[e].abbr)),i.push(ge(a[e].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function ln(e,t){I(0,[e,e.length],0,t)}function cn(e,t,n,r,o){var i;return null==e?$e(this,r,o).year:(t>(i=He(e,r,o))&&(t=i),un.call(this,e,t,n,r,o))}function un(e,t,n,r,o){var i=Re(e,t,n,r,o),a=Ae(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),he("N",an),he("NN",an),he("NNN",an),he("NNNN",(function(e,t){return t.erasNameRegex(e)})),he("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),be(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?m(n).era=o:m(n).invalidEra=e})),he("y",ce),he("yy",ce),he("yyy",ce),he("yyyy",ce),he("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),be(["y","yy","yyy","yyyy"],0),be(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,o):t[0]=parseInt(e,10)})),I(0,["gg",2],0,(function(){return this.weekYear()%100})),I(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),he("G",ue),he("g",ue),he("GG",re,X),he("gg",re,X),he("GGGG",se,te),he("gggg",se,te),he("GGGGG",le,ne),he("ggggg",le,ne),_e(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=q(e)})),_e(["gg","GG"],(function(e,t,n,r){t[r]=o.parseTwoDigitYear(e)})),I("Q",0,"Qo","quarter"),N("quarter","Q"),U("quarter",7),he("Q",Z),be("Q",(function(e,t){t[1]=3*(q(e)-1)})),I("D",["DD",2],"Do","date"),N("date","D"),U("date",9),he("D",re),he("DD",re,X),he("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),be(["D","DD"],2),be("Do",(function(e,t){t[2]=q(e.match(re)[0])}));var fn=G("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),U("dayOfYear",4),he("DDD",ae),he("DDDD",ee),be(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=q(e)})),I("m",["mm",2],0,"minute"),N("minute","m"),U("minute",14),he("m",re),he("mm",re,X),be(["m","mm"],4);var dn=G("Minutes",!1);I("s",["ss",2],0,"second"),N("second","s"),U("second",15),he("s",re),he("ss",re,X),be(["s","ss"],5);var pn,hn,mn=G("Seconds",!1);for(I("S",0,0,(function(){return~~(this.millisecond()/100)})),I(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),I(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),I(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),I(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),I(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),I(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),N("millisecond","ms"),U("millisecond",16),he("S",ae,Z),he("SS",ae,X),he("SSS",ae,ee),pn="SSSS";pn.length<=9;pn+="S")he(pn,ce);function gn(e,t){t[6]=q(1e3*("0."+e))}for(pn="S";pn.length<=9;pn+="S")be(pn,gn);hn=G("Milliseconds",!1),I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var vn=w.prototype;function yn(e){return e}vn.add=qt,vn.calendar=function(e,t){1===arguments.length&&(Jt(arguments[0])?(e=arguments[0],t=void 0):Qt(arguments[0])&&(t=arguments[0],e=void 0));var n=e||Ot(),r=Rt(n,this).startOf("day"),i=o.calendarFormat(this,r)||"sameElse",a=t&&(L(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,Ot(n)))},vn.clone=function(){return new w(this)},vn.diff=function(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=Rt(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=z(t)){case"year":i=Zt(this,r)/12;break;case"month":i=Zt(this,r);break;case"quarter":i=Zt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:V(i)},vn.endOf=function(e){var t,n;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?on:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),o.updateOffset(this,!0),this},vn.format=function(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)},vn.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Ot(e).isValid())?Ft({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.fromNow=function(e){return this.from(Ot(),e)},vn.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Ot(e).isValid())?Ft({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.toNow=function(e){return this.to(Ot(),e)},vn.get=function(e){return L(this[e=z(e)])?this[e]():this},vn.invalidAt=function(){return m(this).overflow},vn.isAfter=function(e,t){var n=x(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},vn.isBefore=function(e,t){var n=x(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},vn.isBetween=function(e,t,n,r){var o=x(e)?e:Ot(e),i=x(t)?t:Ot(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n)))},vn.isSame=function(e,t){var n,r=x(e)?e:Ot(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},vn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},vn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},vn.isValid=function(){return g(this)},vn.lang=en,vn.locale=Xt,vn.localeData=tn,vn.max=Lt,vn.min=Et,vn.parsingFlags=function(){return p({},m(this))},vn.set=function(e,t){if("object"==typeof e){var n,r=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:B[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=F(e));for(n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit])}else if(L(this[e=z(e)]))return this[e](t);return this},vn.startOf=function(e){var t,n;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?on:rn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=nn(t,6e4);break;case"second":t=this._d.valueOf(),t-=nn(t,1e3)}return this._d.setTime(t),o.updateOffset(this,!0),this},vn.subtract=Gt,vn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},vn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},vn.toDate=function(){return new Date(this.valueOf())},vn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?R(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(n,"Z")):R(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=o+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vn.toJSON=function(){return this.isValid()?this.toISOString():null},vn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vn.unix=function(){return Math.floor(this.valueOf()/1e3)},vn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""},vn.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""},vn.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""},vn.eraYear=function(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-o(i[e].since).year())*n+i[e].offset;return this.year()},vn.year=je,vn.isLeapYear=function(){return W(this.year())},vn.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},vn.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},vn.quarter=vn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},vn.month=De,vn.daysInMonth=function(){return xe(this.year(),this.month())},vn.week=vn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},vn.isoWeek=vn.isoWeeks=function(e){var t=$e(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},vn.weeksInYear=function(){var e=this.localeData()._week;return He(this.year(),e.dow,e.doy)},vn.weeksInWeekYear=function(){var e=this.localeData()._week;return He(this.weekYear(),e.dow,e.doy)},vn.isoWeeksInYear=function(){return He(this.year(),1,4)},vn.isoWeeksInISOWeekYear=function(){return He(this.isoWeekYear(),1,4)},vn.date=fn,vn.day=vn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},vn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},vn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},vn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},vn.hour=vn.hours=Xe,vn.minute=vn.minutes=dn,vn.second=vn.seconds=mn,vn.millisecond=vn.milliseconds=hn,vn.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=It(de,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=$t(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Vt(this,Ft(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:$t(this)},vn.utc=function(e){return this.utcOffset(0,e)},vn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract($t(this),"m")),this},vn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=It(fe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},vn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ot(e).utcOffset():0,(this.utcOffset()-e)%60==0)},vn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vn.isLocal=function(){return!!this.isValid()&&!this._isUTC},vn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vn.isUtc=Ht,vn.isUTC=Ht,vn.zoneAbbr=function(){return this._isUTC?"UTC":""},vn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vn.dates=M("dates accessor is deprecated. Use date instead.",fn),vn.months=M("months accessor is deprecated. Use month instead",De),vn.years=M("years accessor is deprecated. Use year instead",je),vn.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),vn.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=Mt(t))._a?(e=t._isUTC?h(t._a):Ot(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&q(e[r])!==q(t[r]))&&a++;return a+i}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var bn=D.prototype;function _n(e,t,n,r){var o=lt(),i=h().set(r,t);return o[n](i,e)}function wn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return _n(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=_n(e,r,n,"month");return o}function xn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var o,i=lt(),a=e?i._week.dow:0,s=[];if(null!=n)return _n(t,(n+a)%7,r,"day");for(o=0;o<7;o++)s[o]=_n(t,(o+a)%7,r,"day");return s}bn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return L(r)?r.call(t,n):r},bn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(P).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},bn.invalidDate=function(){return this._invalidDate},bn.ordinal=function(e){return this._ordinal.replace("%d",e)},bn.preparse=yn,bn.postformat=yn,bn.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return L(o)?o(e,t,n,r):o.replace(/%d/i,e)},bn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return L(n)?n(t):n.replace(/%s/i,t)},bn.set=function(e){var t,n;for(n in e)s(e,n)&&(L(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},bn.eras=function(e,t){var n,r,i,a=this._eras||lt("en")._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case"string":i=o(a[n].since).startOf("day"),a[n].since=i.valueOf()}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=o(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf()}}return a},bn.erasParse=function(e,t,n){var r,o,i,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,o=l.length;r<o;++r)if(i=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([i,a,s].indexOf(e)>=0)return l[r]},bn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?o(e.since).year():o(e.since).year()+(t-e.offset)*n},bn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},bn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},bn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},bn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Se).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},bn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Se.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},bn.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return Le.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},bn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ce.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Ee),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},bn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ce.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Oe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},bn.week=function(e){return $e(e,this._week.dow,this._week.doy).week},bn.firstDayOfYear=function(){return this._week.doy},bn.firstDayOfWeek=function(){return this._week.dow},bn.weekdays=function(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ne(n,this._week.dow):e?n[e.day()]:n},bn.weekdaysMin=function(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},bn.weekdaysShort=function(e){return!0===e?Ne(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},bn.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return qe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},bn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},bn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=We),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},bn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ve),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},bn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},bn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},at("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===q(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),o.lang=M("moment.lang is deprecated. Use moment.locale instead.",at),o.langData=M("moment.langData is deprecated. Use moment.localeData instead.",lt);var kn=Math.abs;function Mn(e,t,n,r){var o=Ft(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Sn(e){return e<0?Math.floor(e):Math.ceil(e)}function On(e){return 4800*e/146097}function En(e){return 146097*e/4800}function Ln(e){return function(){return this.as(e)}}var Tn=Ln("ms"),Dn=Ln("s"),Cn=Ln("m"),Pn=Ln("h"),jn=Ln("d"),Yn=Ln("w"),An=Ln("M"),In=Ln("Q"),Rn=Ln("y");function $n(e){return function(){return this.isValid()?this._data[e]:NaN}}var Hn=$n("milliseconds"),Nn=$n("seconds"),zn=$n("minutes"),Fn=$n("hours"),Bn=$n("days"),Un=$n("months"),Wn=$n("years"),Vn=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var Kn=Math.abs;function Jn(e){return(e>0)-(e<0)||+e}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,l=Kn(this._milliseconds)/1e3,c=Kn(this._days),u=Kn(this._months),f=this.asSeconds();return f?(e=V(l/60),t=V(e/60),l%=60,e%=60,n=V(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=f<0?"-":"",i=Jn(this._months)!==Jn(f)?"-":"",a=Jn(this._days)!==Jn(f)?"-":"",s=Jn(this._milliseconds)!==Jn(f)?"-":"",o+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var Zn=Ct.prototype;return Zn.isValid=function(){return this._isValid},Zn.abs=function(){var e=this._data;return this._milliseconds=kn(this._milliseconds),this._days=kn(this._days),this._months=kn(this._months),e.milliseconds=kn(e.milliseconds),e.seconds=kn(e.seconds),e.minutes=kn(e.minutes),e.hours=kn(e.hours),e.months=kn(e.months),e.years=kn(e.years),this},Zn.add=function(e,t){return Mn(this,e,t,1)},Zn.subtract=function(e,t){return Mn(this,e,t,-1)},Zn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=z(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+On(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(En(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Zn.asMilliseconds=Tn,Zn.asSeconds=Dn,Zn.asMinutes=Cn,Zn.asHours=Pn,Zn.asDays=jn,Zn.asWeeks=Yn,Zn.asMonths=An,Zn.asQuarters=In,Zn.asYears=Rn,Zn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12):NaN},Zn._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Sn(En(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=V(i/1e3),l.seconds=e%60,t=V(e/60),l.minutes=t%60,n=V(t/60),l.hours=n%24,a+=V(n/24),o=V(On(a)),s+=o,a-=Sn(En(o)),r=V(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},Zn.clone=function(){return Ft(this)},Zn.get=function(e){return e=z(e),this.isValid()?this[e+"s"]():NaN},Zn.milliseconds=Hn,Zn.seconds=Nn,Zn.minutes=zn,Zn.hours=Fn,Zn.days=Bn,Zn.weeks=function(){return V(this.days()/7)},Zn.months=Un,Zn.years=Wn,Zn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=qn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(o=e),"object"==typeof t&&(i=Object.assign({},qn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var o=Ft(e).abs(),i=Vn(o.as("s")),a=Vn(o.as("m")),s=Vn(o.as("h")),l=Vn(o.as("d")),c=Vn(o.as("M")),u=Vn(o.as("w")),f=Vn(o.as("y")),d=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(d=d||u<=1&&["w"]||u<n.w&&["ww",u]),(d=d||c<=1&&["M"]||c<n.M&&["MM",c]||f<=1&&["y"]||["yy",f])[2]=t,d[3]=+e>0,d[4]=r,Gn.apply(null,d)}(this,!o,i,n),o&&(r=n.pastFuture(+this,r)),n.postformat(r)},Zn.toISOString=Qn,Zn.toString=Qn,Zn.toJSON=Qn,Zn.locale=Xt,Zn.localeData=tn,Zn.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),Zn.lang=en,I("X",0,0,"unix"),I("x",0,0,"valueOf"),he("x",ue),he("X",/[+-]?\d+(\.\d{1,3})?/),be("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),be("x",(function(e,t,n){n._d=new Date(q(e))})),
-//! moment.js
-o.version="2.26.0",t=Ot,o.fn=vn,o.min=function(){var e=[].slice.call(arguments,0);return Tt("isBefore",e)},o.max=function(){var e=[].slice.call(arguments,0);return Tt("isAfter",e)},o.now=function(){return Date.now?Date.now():+new Date},o.utc=h,o.unix=function(e){return Ot(1e3*e)},o.months=function(e,t){return wn(e,t,"months")},o.isDate=f,o.locale=at,o.invalid=v,o.duration=Ft,o.isMoment=x,o.weekdays=function(e,t,n){return xn(e,t,n,"weekdays")},o.parseZone=function(){return Ot.apply(null,arguments).parseZone()},o.localeData=lt,o.isDuration=Pt,o.monthsShort=function(e,t){return wn(e,t,"monthsShort")},o.weekdaysMin=function(e,t,n){return xn(e,t,n,"weekdaysMin")},o.defineLocale=st,o.updateLocale=function(e,t){if(null!=t){var n,r,o=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(T(tt[e]._config,t)):(null!=(r=it(e))&&(o=r._config),t=T(o,t),null==r&&(t.abbr=e),(n=new D(t)).parentLocale=tt[e],tt[e]=n),at(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===at()&&at(e)):null!=tt[e]&&delete tt[e]);return tt[e]},o.locales=function(){return S(tt)},o.weekdaysShort=function(e,t,n){return xn(e,t,n,"weekdaysShort")},o.normalizeUnits=z,o.relativeTimeRounding=function(e){return void 0===e?Vn:"function"==typeof e&&(Vn=e,!0)},o.relativeTimeThreshold=function(e,t){return void 0!==qn[e]&&(void 0===t?qn[e]:(qn[e]=t,"s"===e&&(qn.ss=t-1),!0))},o.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},o.prototype=vn,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}()}).call(this,n(900)(e))},function(e,t,n){"use strict";var r=n(171),o={};o[n(48)("toStringTag")]="z",o+""!="[object z]"&&n(63)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(e,t,n){n(793),e.exports=angular},function(e,t,n){var r=n(31);r(r.S+r.F*!n(53),"Object",{defineProperty:n(58).f})},function(e,t,n){"use strict";var r=n(40),o=n(80),i=n(53),a=n(31),s=n(63),l=n(145).KEY,c=n(54),u=n(164),f=n(143),d=n(140),p=n(48),h=n(275),m=n(274),g=n(777),v=n(213),y=n(49),b=n(51),_=n(82),w=n(94),x=n(165),k=n(141),M=n(124),S=n(778),O=n(125),E=n(169),L=n(58),T=n(114),D=O.f,C=L.f,P=S.f,j=r.Symbol,Y=r.JSON,A=Y&&Y.stringify,I=p("_hidden"),R=p("toPrimitive"),$={}.propertyIsEnumerable,H=u("symbol-registry"),N=u("symbols"),z=u("op-symbols"),F=Object.prototype,B="function"==typeof j&&!!E.f,U=r.QObject,W=!U||!U.prototype||!U.prototype.findChild,V=i&&c((function(){return 7!=M(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=D(F,t);r&&delete F[t],C(e,t,n),r&&e!==F&&C(F,t,r)}:C,q=function(e){var t=N[e]=M(j.prototype);return t._k=e,t},G=B&&"symbol"==typeof j.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof j},K=function(e,t,n){return e===F&&K(z,t,n),y(e),t=x(t,!0),y(n),o(N,t)?(n.enumerable?(o(e,I)&&e[I][t]&&(e[I][t]=!1),n=M(n,{enumerable:k(0,!1)})):(o(e,I)||C(e,I,k(1,{})),e[I][t]=!0),V(e,t,n)):C(e,t,n)},J=function(e,t){y(e);for(var n,r=g(t=w(t)),o=0,i=r.length;i>o;)K(e,n=r[o++],t[n]);return e},Q=function(e){var t=$.call(this,e=x(e,!0));return!(this===F&&o(N,e)&&!o(z,e))&&(!(t||!o(this,e)||!o(N,e)||o(this,I)&&this[I][e])||t)},Z=function(e,t){if(e=w(e),t=x(t,!0),e!==F||!o(N,t)||o(z,t)){var n=D(e,t);return!n||!o(N,t)||o(e,I)&&e[I][t]||(n.enumerable=!0),n}},X=function(e){for(var t,n=P(w(e)),r=[],i=0;n.length>i;)o(N,t=n[i++])||t==I||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===F,r=P(n?z:w(e)),i=[],a=0;r.length>a;)!o(N,t=r[a++])||n&&!o(F,t)||i.push(N[t]);return i};B||(s((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(z,n),o(this,I)&&o(this[I],e)&&(this[I][e]=!1),V(this,e,k(1,n))};return i&&W&&V(F,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),O.f=Z,L.f=K,n(146).f=S.f=X,n(144).f=Q,E.f=ee,i&&!n(139)&&s(F,"propertyIsEnumerable",Q,!0),h.f=function(e){return q(p(e))}),a(a.G+a.W+a.F*!B,{Symbol:j});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=T(p.store),oe=0;re.length>oe;)m(re[oe++]);a(a.S+a.F*!B,"Symbol",{for:function(e){return o(H,e+="")?H[e]:H[e]=j(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in H)if(H[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!B,"Object",{create:function(e,t){return void 0===t?M(e):J(M(e),t)},defineProperty:K,defineProperties:J,getOwnPropertyDescriptor:Z,getOwnPropertyNames:X,getOwnPropertySymbols:ee});var ie=c((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(_(e))}}),Y&&a(a.S+a.F*(!B||c((function(){var e=j();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,A.apply(Y,r)}}),j.prototype[R]||n(93)(j.prototype,R,j.prototype.valueOf),f(j,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(274)("asyncIterator")},function(e,t,n){"use strict";n(779);var r=n(49),o=n(170),i=n(53),a=/./.toString,s=function(e){n(63)(RegExp.prototype,"toString",e,!0)};n(54)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(63)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){var r=n(31);r(r.S,"Object",{create:n(124)})},function(e,t,n){var r=n(31),o=n(124),i=n(96),a=n(49),s=n(51),l=n(54),c=n(276),u=(n(40).Reflect||{}).construct,f=l((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),d=!l((function(){u((function(){}))}));r(r.S+r.F*(f||d),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var l=n.prototype,p=o(s(l)?l:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},function(e,t,n){var r=n(31);r(r.S,"Object",{setPrototypeOf:n(278).set})},function(e,t,n){for(var r=n(15),o=n(114),i=n(63),a=n(40),s=n(93),l=n(142),c=n(48),u=c("iterator"),f=c("toStringTag"),d=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(p),m=0;m<h.length;m++){var g,v=h[m],y=p[v],b=a[v],_=b&&b.prototype;if(_&&(_[u]||s(_,u,d),_[f]||s(_,f,v),l[v]=d,y))for(g in r)_[g]||i(_,g,r[g],!0)}},function(e,t,n){"use strict";var r=n(138),o=n(267),i=n(142),a=n(94);e.exports=n(209)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(58).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(53)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(31),o=n(210)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(115)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(31);r(r.S+r.F,"Object",{assign:n(279)})},function(e,t,n){var r=n(82),o=n(114);n(780)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,s,l;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},function(e,t,n){"use strict";var r,o={},i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}();function s(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function l(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=o[r.id],a=0;if(i){for(i.refs++;a<i.parts.length;a++)i.parts[a](r.parts[a]);for(;a<r.parts.length;a++)i.parts.push(g(r.parts[a],t))}else{for(var s=[];a<r.parts.length;a++)s.push(g(r.parts[a],t));o[r.id]={id:r.id,refs:1,parts:s}}}}function c(e){var t=document.createElement("style");if(void 0===e.attributes.nonce){var r=n.nc;r&&(e.attributes.nonce=r)}if(Object.keys(e.attributes).forEach((function(n){t.setAttribute(n,e.attributes[n])})),"function"==typeof e.insert)e.insert(t);else{var o=a(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var u,f=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o&&e.setAttribute("media",o),i&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,m=0;function g(e,t){var n,r,o;if(t.singleton){var i=m++;n=h||(h=c(t)),r=d.bind(null,n,i,!1),o=d.bind(null,n,i,!0)}else n=c(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).attributes="object"==typeof t.attributes?t.attributes:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=s(e,t);return l(n,t),function(e){for(var r=[],i=0;i<n.length;i++){var a=n[i],c=o[a.id];c&&(c.refs--,r.push(c))}e&&l(s(e,t),t);for(var u=0;u<r.length;u++){var f=r[u];if(0===f.refs){for(var d=0;d<f.parts.length;d++)f.parts[d]();delete o[f.id]}}}}},function(e,t,n){(t=n(20)(!1)).push([e.i,'/* stylelint-disable color-no-hex */\n\n:root {\n --ring-unit: 8px;\n\n /* Element */\n --ring-line-color: #dfe5eb;\n --ring-dark-line-color: #475159;\n --ring-borders-color: #b8d1e5;\n --ring-dark-borders-color: #406380;\n --ring-icon-color: var(--ring-borders-color);\n --ring-icon-secondary-color: #999;\n --ring-border-disabled-color: #dbdbdb;\n --ring-icon-disabled-color: #bbb;\n --ring-border-hover-color: #80c6ff;\n --ring-dark-border-hover-color: #70b1e6;\n --ring-icon-hover-color: var(--ring-border-hover-color);\n --ring-main-color: #008eff;\n --ring-main-hover-color: #007ee5;\n --ring-icon-error-color: #db5860;\n --ring-icon-warning-color: #eda200;\n --ring-icon-success-color: #59a869;\n --ring-pale-control-color: #cfdbe5;\n --ring-popup-border-components: 0, 42, 76;\n --ring-popup-border-color: rgba(var(--ring-popup-border-components), 0.1);\n --ring-popup-shadow-color: rgba(var(--ring-popup-border-components), 0.15);\n --ring-message-shadow-color: rgba(var(--ring-popup-border-components), 0.3);\n\n /* Text */\n --ring-search-color: #669ecc;\n --ring-hint-color: #406380;\n --ring-link-color: #0f5b99;\n --ring-link-hover-color: #ff008c;\n --ring-error-color: #c22731;\n --ring-warning-color: #cc8b00;\n --ring-success-color: #1b8833;\n --ring-text-color: #1f2326;\n --ring-dark-text-color: #fff;\n --ring-heading-color: var(--ring-text-color);\n --ring-secondary-color: #737577;\n --ring-dark-secondary-color: #888;\n --ring-disabled-color: #999;\n --ring-dark-disabled-color: #444;\n --ring-dark-active-color: #ccc;\n\n /* Background */\n --ring-content-background-color: #fff;\n --ring-popup-background-color: #fff;\n --ring-sidebar-background-color: #f7f9fa;\n --ring-selected-background-color: #d4edff;\n --ring-hover-background-color: #ebf6ff;\n --ring-dark-selected-background-color: #002a4d;\n --ring-message-background-color: #111314;\n --ring-navigation-background-color: #000;\n --ring-tag-background-color: #e6ecf2;\n --ring-removed-background-color: #ffd5cb;\n --ring-warning-background-color: #faeccd;\n --ring-added-background-color: #bce8bb;\n\n /* Code */\n --ring-code-background-color: var(--ring-content-background-color);\n --ring-code-color: #000;\n --ring-code-comment-color: #707070;\n --ring-code-meta-color: #707070;\n --ring-code-keyword-color: #000080;\n --ring-code-tag-background-color: #efefef;\n --ring-code-tag-color: var(--ring-code-keyword-color);\n --ring-code-tag-font-weight: bold;\n --ring-code-field-color: #660e7a;\n --ring-code-attribute-color: #00f;\n --ring-code-number-color: var(--ring-code-attribute-color);\n --ring-code-string-color: #007a00;\n --ring-code-addition-color: #aadeaa;\n --ring-code-deletion-color: #c8c8c8;\n\n /* Metrics */\n --ring-border-radius: 3px;\n --ring-border-radius-small: 2px;\n --ring-font-size-larger: 14px;\n --ring-font-size: 13px;\n --ring-font-size-smaller: 12px;\n --ring-line-height-taller: 21px;\n --ring-line-height: 20px;\n --ring-line-height-lower: 18px;\n --ring-line-height-lowest: 16px;\n --ring-ease: 0.3s ease-out;\n --ring-fast-ease: 0.15s ease-out;\n --ring-font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;\n --ring-font-family-monospace: Menlo, "Bitstream Vera Sans Mono", "Ubuntu Mono", Consolas, "Courier New", Courier, monospace;\n\n /* Common z-index-values */\n\n /* Invisible element is an absolutely positioned element which should be below */\n /* all other elements on the page */\n --ring-invisible-element-z-index: -1;\n\n /* z-index for position: fixed elements */\n --ring-fixed-z-index: 1;\n\n /* Elements that should overlay all other elements on the page */\n --ring-overlay-z-index: 5;\n\n /* Alerts should de displayed above overlays */\n --ring-alert-z-index: 6;\n}\n',""]),e.exports=t},function(e,t,n){var r=n(903);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(869);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";var r=n(31),o=n(98)(2);r(r.P+r.F*!n(115)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(986);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,'/* https://readymag.com/artemtiunov/RingUILanguage/colours/ */\n\n/*\nUnit shouldn\'t be CSS custom property because it is not intended to change\nAlso it won\'t form in FF47 https://bugzilla.mozilla.org/show_bug.cgi?id=594933\n*/\n\n.clearfix_ca0::after {\n display: block;\n clear: both;\n\n content: \'\';\n }\n\n.font_8a3 {\n font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;\n font-family: var(--ring-font-family);\n font-size: 13px;\n font-size: var(--ring-font-size);\n line-height: 20px;\n line-height: var(--ring-line-height);\n}\n\n.font-lower_8cc {\n\n line-height: 18px;\n\n line-height: var(--ring-line-height-lower);\n}\n\n.font-smaller_9e5 {\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n}\n\n.font-smaller-lower_eb4 {\n\n line-height: 16px;\n\n line-height: var(--ring-line-height-lowest);\n}\n\n.font-larger-lower_0bc {\n\n font-size: 14px;\n\n font-size: var(--ring-font-size-larger);\n}\n\n.font-larger_a84 {\n\n line-height: 21px;\n\n line-height: var(--ring-line-height-taller);\n}\n\n/* To be used at large sizes */\n/* As close as possible to Helvetica Neue Thin (to replace Gotham) */\n.thin-font_7d4 {\n font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-size: 13px;\n font-size: var(--ring-font-size);\n font-weight: 100; /* Renders Helvetica Neue UltraLight on OS X */\n}\n\n.monospace-font_e80 {\n font-family: Menlo, "Bitstream Vera Sans Mono", "Ubuntu Mono", Consolas, "Courier New", Courier, monospace;\n font-family: var(--ring-font-family-monospace);\n font-size: 12px;\n font-size: var(--ring-font-size-smaller);\n}\n\n.ellipsis_e1d {\n overflow: hidden;\n\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.resetButton_d1a {\n overflow: visible;\n\n padding: 0;\n\n text-align: left;\n\n color: inherit;\n border: 0;\n\n background: transparent;\n\n font: inherit\n}\n\n.resetButton_d1a::-moz-focus-inner {\n padding: 0;\n\n border: 0;\n }\n\n/* Note: footer also has top margin which isn\'t taken into account here */\n\n/* Media breakpoints (minimal values) */\n\n/* Media queries */\n',""]),t.locals={unit:"8px","footer-height":"64px","breakpoint-small":"640px","breakpoint-middle":"960px","breakpoint-large":"1200px","extra-small-screen-media":"(max-width: 639px)","small-screen-media":"(min-width: 640px) and (max-width: 959px)","middle-screen-media":"(min-width: 960px) and (max-width: 1199px)","large-screen-media":"(min-width: 1200px)",clearfix:"clearfix_ca0",font:"font_8a3","font-lower":"font-lower_8cc font_8a3","font-smaller":"font-smaller_9e5 font-lower_8cc font_8a3","font-smaller-lower":"font-smaller-lower_eb4 font-smaller_9e5 font-lower_8cc font_8a3","font-larger-lower":"font-larger-lower_0bc font-lower_8cc font_8a3","font-larger":"font-larger_a84 font-larger-lower_0bc font-lower_8cc font_8a3","thin-font":"thin-font_7d4","monospace-font":"monospace-font_e80",ellipsis:"ellipsis_e1d",resetButton:"resetButton_d1a"},e.exports=t},function(e,t,n){var r,o,i;o=function(e){var t=[],n=Object.keys,r={},o={},i=!0,a=/^(no-?highlight|plain|text)$/i,s=/\blang(?:uage)?-([\w-]+)\b/i,l=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,c="Could not find the language '{}', did you forget to load/include a language module?",u={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},f="of and for in not or if then".split(" ");function d(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function p(e){return e.nodeName.toLowerCase()}function h(e){return a.test(e)}function m(e){var t,n={},r=Array.prototype.slice.call(arguments,1);for(t in e)n[t]=e[t];return r.forEach((function(e){for(t in e)n[t]=e[t]})),n}function g(e){var t=[];return function e(n,r){for(var o=n.firstChild;o;o=o.nextSibling)3===o.nodeType?r+=o.nodeValue.length:1===o.nodeType&&(t.push({event:"start",offset:r,node:o}),r=e(o,r),p(o).match(/br|hr|img|input/)||t.push({event:"stop",offset:r,node:o}));return r}(e,0),t}function v(e){return e.variants&&!e.cached_variants&&(e.cached_variants=e.variants.map((function(t){return m(e,{variants:null},t)}))),e.cached_variants?e.cached_variants:function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(e)?[m(e,{starts:e.starts?m(e.starts):null})]:Object.isFrozen(e)?[m(e)]:[e]}function y(e,t){return t?Number(t):(n=e,-1!=f.indexOf(n.toLowerCase())?0:1);var n}function b(e){function t(e){return e&&e.source||e}function r(n,r){return new RegExp(t(n),"m"+(e.case_insensitive?"i":"")+(r?"g":""))}function o(e){var n,o,i={},a=[],s={},l=1;function c(e,t){i[l]=e,a.push([e,t]),l+=function(e){return new RegExp(e.toString()+"|").exec("").length-1}(t)+1}for(var u=0;u<e.contains.length;u++)c(o=e.contains[u],o.beginKeywords?"\\.?(?:"+o.begin+")\\.?":o.begin);e.terminator_end&&c("end",e.terminator_end),e.illegal&&c("illegal",e.illegal);var f=a.map((function(e){return e[1]}));return n=r(function(e,n){for(var r=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,o=0,i="",a=0;a<e.length;a++){var s=o+=1,l=t(e[a]);for(a>0&&(i+=n),i+="(";l.length>0;){var c=r.exec(l);if(null==c){i+=l;break}i+=l.substring(0,c.index),l=l.substring(c.index+c[0].length),"\\"==c[0][0]&&c[1]?i+="\\"+String(Number(c[1])+s):(i+=c[0],"("==c[0]&&o++)}i+=")"}return i}(f,"|"),!0),s.lastIndex=0,s.exec=function(t){var r;if(0===a.length)return null;n.lastIndex=s.lastIndex;var o=n.exec(t);if(!o)return null;for(var l=0;l<o.length;l++)if(null!=o[l]&&null!=i[""+l]){r=i[""+l];break}return"string"==typeof r?(o.type=r,o.extra=[e.illegal,e.terminator_end]):(o.type="begin",o.rule=r),o},s}if(e.contains&&-1!=e.contains.indexOf("self")){if(!i)throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");e.contains=e.contains.filter((function(e){return"self"!=e}))}!function i(a,s){a.compiled||(a.compiled=!0,a.keywords=a.keywords||a.beginKeywords,a.keywords&&(a.keywords=function(e,t){var r={};return"string"==typeof e?o("keyword",e):n(e).forEach((function(t){o(t,e[t])})),r;function o(e,n){t&&(n=n.toLowerCase()),n.split(" ").forEach((function(t){var n=t.split("|");r[n[0]]=[e,y(n[0],n[1])]}))}}(a.keywords,e.case_insensitive)),a.lexemesRe=r(a.lexemes||/\w+/,!0),s&&(a.beginKeywords&&(a.begin="\\b("+a.beginKeywords.split(" ").join("|")+")\\b"),a.begin||(a.begin=/\B|\b/),a.beginRe=r(a.begin),a.endSameAsBegin&&(a.end=a.begin),a.end||a.endsWithParent||(a.end=/\B|\b/),a.end&&(a.endRe=r(a.end)),a.terminator_end=t(a.end)||"",a.endsWithParent&&s.terminator_end&&(a.terminator_end+=(a.end?"|":"")+s.terminator_end)),a.illegal&&(a.illegalRe=r(a.illegal)),null==a.relevance&&(a.relevance=1),a.contains||(a.contains=[]),a.contains=Array.prototype.concat.apply([],a.contains.map((function(e){return v("self"===e?a:e)}))),a.contains.forEach((function(e){i(e,a)})),a.starts&&i(a.starts,s),a.terminators=o(a))}(e)}function _(e,t,n,o){var a=t;function s(e,t){var n=y.case_insensitive?t[0].toLowerCase():t[0];return e.keywords.hasOwnProperty(n)&&e.keywords[n]}function l(e,t,n,r){if(!n&&""===t)return"";if(!e)return t;var o='<span class="'+(r?"":u.classPrefix);return(o+=e+'">')+t+(n?"":"</span>")}function f(){S+=null!=k.subLanguage?function(){var e="string"==typeof k.subLanguage;if(e&&!r[k.subLanguage])return d(E);var t=e?_(k.subLanguage,E,!0,M[k.subLanguage]):w(E,k.subLanguage.length?k.subLanguage:void 0);return k.relevance>0&&(L+=t.relevance),e&&(M[k.subLanguage]=t.top),l(t.language,t.value,!1,!0)}():function(){var e,t,n,r;if(!k.keywords)return d(E);for(r="",t=0,k.lexemesRe.lastIndex=0,n=k.lexemesRe.exec(E);n;)r+=d(E.substring(t,n.index)),(e=s(k,n))?(L+=e[1],r+=l(e[0],d(n[0]))):r+=d(n[0]),t=k.lexemesRe.lastIndex,n=k.lexemesRe.exec(E);return r+d(E.substr(t))}(),E=""}function p(e){S+=e.className?l(e.className,"",!0):"",k=Object.create(e,{parent:{value:k}})}function h(e){var t=e[0],n=e.rule;return n&&n.endSameAsBegin&&(n.endRe=function(e){return new RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(t)),n.skip?E+=t:(n.excludeBegin&&(E+=t),f(),n.returnBegin||n.excludeBegin||(E=t)),p(n),n.returnBegin?0:t.length}function m(e){var t=e[0],n=a.substr(e.index),r=function e(t,n){if(function(e,t){var n=e&&e.exec(t);return n&&0===n.index}(t.endRe,n)){for(;t.endsParent&&t.parent;)t=t.parent;return t}if(t.endsWithParent)return e(t.parent,n)}(k,n);if(r){var o=k;o.skip?E+=t:(o.returnEnd||o.excludeEnd||(E+=t),f(),o.excludeEnd&&(E=t));do{k.className&&(S+="</span>"),k.skip||k.subLanguage||(L+=k.relevance),k=k.parent}while(k!==r.parent);return r.starts&&(r.endSameAsBegin&&(r.starts.endRe=r.endRe),p(r.starts)),o.returnEnd?0:t.length}}var g={};function v(e,t){var r=t&&t[0];if(E+=e,null==r)return f(),0;if("begin"==g.type&&"end"==t.type&&g.index==t.index&&""===r)return E+=a.slice(t.index,t.index+1),1;if(g=t,"begin"===t.type)return h(t);if("illegal"===t.type&&!n)throw new Error('Illegal lexeme "'+r+'" for mode "'+(k.className||"<unnamed>")+'"');if("end"===t.type){var o=m(t);if(null!=o)return o}return E+=r,r.length}var y=O(e);if(!y)throw console.error(c.replace("{}",e)),new Error('Unknown language: "'+e+'"');b(y);var x,k=o||y,M={},S="";for(x=k;x!==y;x=x.parent)x.className&&(S=l(x.className,"",!0)+S);var E="",L=0;try{for(var T,D,C=0;k.terminators.lastIndex=C,T=k.terminators.exec(a);)D=v(a.substring(C,T.index),T),C=T.index+D;for(v(a.substr(C)),x=k;x.parent;x=x.parent)x.className&&(S+="</span>");return{relevance:L,value:S,illegal:!1,language:e,top:k}}catch(t){if(t.message&&-1!==t.message.indexOf("Illegal"))return{illegal:!0,relevance:0,value:d(a)};if(i)return{relevance:0,value:d(a),language:e,top:k,errorRaised:t};throw t}}function w(e,t){t=t||u.languages||n(r);var o={relevance:0,value:d(e)},i=o;return t.filter(O).filter(E).forEach((function(t){var n=_(t,e,!1);n.language=t,n.relevance>i.relevance&&(i=n),n.relevance>o.relevance&&(i=o,o=n)})),i.language&&(o.second_best=i),o}function x(e){return u.tabReplace||u.useBR?e.replace(l,(function(e,t){return u.useBR&&"\n"===e?"<br>":u.tabReplace?t.replace(/\t/g,u.tabReplace):""})):e}function k(e){var n,r,i,a,l,f=function(e){var t,n,r,o,i=e.className+" ";if(i+=e.parentNode?e.parentNode.className:"",n=s.exec(i)){var a=O(n[1]);return a||(console.warn(c.replace("{}",n[1])),console.warn("Falling back to no-highlight mode for this block.",e)),a?n[1]:"no-highlight"}for(t=0,r=(i=i.split(/\s+/)).length;t<r;t++)if(h(o=i[t])||O(o))return o}(e);h(f)||(u.useBR?(n=document.createElement("div")).innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n"):n=e,l=n.textContent,i=f?_(f,l,!0):w(l),(r=g(n)).length&&((a=document.createElement("div")).innerHTML=i.value,i.value=function(e,n,r){var o=0,i="",a=[];function s(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset<n[0].offset?e:n:"start"===n[0].event?e:n:e.length?e:n}function l(e){i+="<"+p(e)+t.map.call(e.attributes,(function(e){return" "+e.nodeName+'="'+d(e.value).replace(/"/g,"&quot;")+'"'})).join("")+">"}function c(e){i+="</"+p(e)+">"}function u(e){("start"===e.event?l:c)(e.node)}for(;e.length||n.length;){var f=s();if(i+=d(r.substring(o,f[0].offset)),o=f[0].offset,f===e){a.reverse().forEach(c);do{u(f.splice(0,1)[0]),f=s()}while(f===e&&f.length&&f[0].offset===o);a.reverse().forEach(l)}else"start"===f[0].event?a.push(f[0].node):a.pop(),u(f.splice(0,1)[0])}return i+d(r.substr(o))}(r,g(a),l)),i.value=x(i.value),e.innerHTML=i.value,e.className=function(e,t,n){var r=t?o[t]:n,i=[e.trim()];return e.match(/\bhljs\b/)||i.push("hljs"),-1===e.indexOf(r)&&i.push(r),i.join(" ").trim()}(e.className,f,i.language),e.result={language:i.language,re:i.relevance},i.second_best&&(e.second_best={language:i.second_best.language,re:i.second_best.relevance}))}function M(){if(!M.called){M.called=!0;var e=document.querySelectorAll("pre code");t.forEach.call(e,k)}}var S={disableAutodetect:!0};function O(e){return e=(e||"").toLowerCase(),r[e]||r[o[e]]}function E(e){var t=O(e);return t&&!t.disableAutodetect}return e.highlight=_,e.highlightAuto=w,e.fixMarkup=x,e.highlightBlock=k,e.configure=function(e){u=m(u,e)},e.initHighlighting=M,e.initHighlightingOnLoad=function(){window.addEventListener("DOMContentLoaded",M,!1),window.addEventListener("load",M,!1)},e.registerLanguage=function(t,n){var a;try{a=n(e)}catch(e){if(console.error("Language definition for '{}' could not be registered.".replace("{}",t)),!i)throw e;console.error(e),a=S}r[t]=a,a.rawDefinition=n.bind(null,e),a.aliases&&a.aliases.forEach((function(e){o[e]=t}))},e.listLanguages=function(){return n(r)},e.getLanguage=O,e.requireLanguage=function(e){var t=O(e);if(t)return t;throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))},e.autoDetection=E,e.inherit=m,e.debugMode=function(){i=!1},e.IDENT_RE="[a-zA-Z]\\w*",e.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",e.NUMBER_RE="\\b\\d+(\\.\\d+)?",e.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BINARY_NUMBER_RE="\\b(0b[01]+)",e.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},e.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},e.COMMENT=function(t,n,r){var o=e.inherit({className:"comment",begin:t,end:n,contains:[]},r||{});return o.contains.push(e.PHRASAL_WORDS_MODE),o.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),o},e.C_LINE_COMMENT_MODE=e.COMMENT("//","$"),e.C_BLOCK_COMMENT_MODE=e.COMMENT("/\\*","\\*/"),e.HASH_COMMENT_MODE=e.COMMENT("#","$"),e.NUMBER_MODE={className:"number",begin:e.NUMBER_RE,relevance:0},e.C_NUMBER_MODE={className:"number",begin:e.C_NUMBER_RE,relevance:0},e.BINARY_NUMBER_MODE={className:"number",begin:e.BINARY_NUMBER_RE,relevance:0},e.CSS_NUMBER_MODE={className:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},e.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}]},e.TITLE_MODE={className:"title",begin:e.IDENT_RE,relevance:0},e.UNDERSCORE_TITLE_MODE={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},e.METHOD_GUARD={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,relevance:0},[e.BACKSLASH_ESCAPE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.PHRASAL_WORDS_MODE,e.COMMENT,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,e.CSS_NUMBER_MODE,e.REGEXP_MODE,e.TITLE_MODE,e.UNDERSCORE_TITLE_MODE,e.METHOD_GUARD].forEach((function(e){!function e(t){Object.freeze(t);var n="function"==typeof t;return Object.getOwnPropertyNames(t).forEach((function(r){!t.hasOwnProperty(r)||null===t[r]||"object"!=typeof t[r]&&"function"!=typeof t[r]||n&&("caller"===r||"callee"===r||"arguments"===r)||Object.isFrozen(t[r])||e(t[r])})),t}(e)})),e},i="object"==typeof window&&window||"object"==typeof self&&self,t.nodeType?i&&(i.hljs=o({}),void 0===(r=function(){return i.hljs}.apply(t,[]))||(e.exports=r)):o(t)},function(e,t,n){"use strict";var r=n(31),o=n(98)(0),i=n(115)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(31),o=n(98)(1);r(r.P+r.F*!n(115)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(40),o=n(92),i=n(93),a=n(63),s=n(95),l=function(e,t,n){var c,u,f,d,p=e&l.F,h=e&l.G,m=e&l.S,g=e&l.P,v=e&l.B,y=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),_=b.prototype||(b.prototype={});for(c in h&&(n=t),n)f=((u=!p&&y&&void 0!==y[c])?y:n)[c],d=v&&u?s(f,r):g&&"function"==typeof f?s(Function.call,f):f,y&&a(y,c,f,e&l.U),b[c]!=f&&i(b,c,d),g&&_[c]!=f&&(_[c]=f)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(764)},function(e,t,n){var r=n(318);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(902);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";var r=n(280)(!0);n(209)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(828);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(31);r(r.S,"Array",{isArray:n(213)})},function(e,t,n){var r=n(1075);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";var r=n(95),o=n(31),i=n(82),a=n(281),s=n(282),l=n(81),c=n(283),u=n(284);o(o.S+o.F*!n(214)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,d=i(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=0,y=u(d);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),null==y||p==Array&&s(y))for(n=new p(t=l(d.length));t>v;v++)c(n,v,g?m(d[v],v):d[v]);else for(f=y.call(d),n=new p;!(o=f.next()).done;v++)c(n,v,g?a(f,m,[o.value,v],!0):o.value);return n.length=v,n}})},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(930);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){
-/*!
-Copyright (C) 2013-2015 by Andrea Giammarchi - @WebReflection
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-*/
-!function(e){"use strict";function t(){return f.createDocumentFragment()}function n(e){return f.createElement(e)}function r(e,t){if(!e)throw new Error("Failed to construct "+t+": 1 argument required, but only 0 present.")}function o(e){if(1===e.length)return i(e[0]);for(var n=t(),r=R.call(e),o=0;o<e.length;o++)n.appendChild(i(r[o]));return n}function i(e){return"string"==typeof e?f.createTextNode(e):e}for(var a,s,l,c,u,f=e.document,d=Object.prototype.hasOwnProperty,p=Object.defineProperty||function(e,t,n){return d.call(n,"value")?e[t]=n.value:(d.call(n,"get")&&e.__defineGetter__(t,n.get),d.call(n,"set")&&e.__defineSetter__(t,n.set)),e},h=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},m=function(e){var t=void 0===e.className,n=t?e.getAttribute("class")||"":e.className,r=t||"object"==typeof n,o=(r?t?n:n.baseVal:n).replace(y,"");o.length&&I.push.apply(this,o.split(b)),this._isSVG=r,this._=e},g={get:function(){return new m(this)},set:function(){}},v="dom4-tmp-".concat(Math.random()*+new Date).replace(".","-"),y=/^\s+|\s+$/g,b=/\s+/,_=function(e,t){return this.contains(e)?t||this.remove(e):(void 0===t||t)&&(t=!0,this.add(e)),!!t},w=e.DocumentFragment&&DocumentFragment.prototype,x=e.Node,k=(x||Element).prototype,M=e.CharacterData||x,S=M&&M.prototype,O=e.DocumentType,E=O&&O.prototype,L=(e.Element||x||e.HTMLElement).prototype,T=e.HTMLSelectElement||n("select").constructor,D=T.prototype.remove,C=e.ShadowRoot,P=e.SVGElement,j=/ /g,Y=function(e){var t="querySelectorAll"===e;return function(n){var r,o,i,a,s,l,c=this.parentNode;if(c){for(a=(i=this.getAttribute("id")||v)===v?i:i.replace(j,"\\ "),l=n.split(","),o=0;o<l.length;o++)l[o]="#"+a+" "+l[o];n=l.join(",")}if(i===v&&this.setAttribute("id",i),s=(c||this)[e](n),i===v&&this.removeAttribute("id"),t)for(o=s.length,r=new Array(o);o--;)r[o]=s[o];else r=s;return r}},A=function(e){"query"in e||(e.query=L.query),"queryAll"in e||(e.queryAll=L.queryAll)},I=["matches",L.matchesSelector||L.webkitMatchesSelector||L.khtmlMatchesSelector||L.mozMatchesSelector||L.msMatchesSelector||L.oMatchesSelector||function(e){var t=this.parentNode;return!!t&&-1<h.call(t.querySelectorAll(e),this)},"closest",function(e){for(var t,n=this;(t=n&&n.matches)&&!n.matches(e);)n=n.parentNode;return t?n:null},"prepend",function(){var e=this.firstChild,t=o(arguments);e?this.insertBefore(t,e):this.appendChild(t)},"append",function(){this.appendChild(o(arguments))},"before",function(){var e=this.parentNode;e&&e.insertBefore(o(arguments),this)},"after",function(){var e=this.parentNode,t=this.nextSibling,n=o(arguments);e&&(t?e.insertBefore(n,t):e.appendChild(n))},"replace",function(){this.replaceWith.apply(this,arguments)},"replaceWith",function(){var e=this.parentNode;e&&e.replaceChild(o(arguments),this)},"remove",function(){var e=this.parentNode;e&&e.removeChild(this)},"query",Y("querySelector"),"queryAll",Y("querySelectorAll")],R=I.slice,$=I.length;$;$-=2)if((s=I[$-2])in L||(L[s]=I[$-1]),"remove"===s&&(T.prototype[s]=function(){return 0<arguments.length?D.apply(this,arguments):L.remove.call(this)}),/^(?:before|after|replace|replaceWith|remove)$/.test(s)&&(M&&!(s in S)&&(S[s]=I[$-1]),O&&!(s in E)&&(E[s]=I[$-1])),/^(?:append|prepend)$/.test(s))if(w)s in w||(w[s]=I[$-1]);else try{t().constructor.prototype[s]=I[$-1]}catch(e){}if(A(f),w)A(w);else try{A(t().constructor.prototype)}catch(e){}var H;C&&A(C.prototype),n("a").matches("a")||(L[s]=(H=L[s],function(e){return H.call(this.parentNode?this:t().appendChild(this),e)})),m.prototype={length:0,add:function(){for(var e,t=0;t<arguments.length;t++)e=arguments[t],this.contains(e)||I.push.call(this,s);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},contains:function(e){return function(t){return-1<($=e.call(this,s=function(e){if(!e)throw"SyntaxError";if(b.test(e))throw"InvalidCharacterError";return e}(t)))}}([].indexOf||function(e){for($=this.length;$--&&this[$]!==e;);return $}),item:function(e){return this[e]||null},remove:function(){for(var e,t=0;t<arguments.length;t++)e=arguments[t],this.contains(e)&&I.splice.call(this,$,1);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},toggle:_,toString:function(){return I.join.call(this," ")}},P&&!("classList"in P.prototype)&&p(P.prototype,"classList",g),"classList"in f.documentElement?((c=n("div").classList).add("a","b","a"),"a b"!=c&&("add"in(l=c.constructor.prototype)||(l=e.TemporaryTokenList.prototype),u=function(e){return function(){for(var t=0;t<arguments.length;)e.call(this,arguments[t++])}},l.add=u(l.add),l.remove=u(l.remove),l.toggle=_)):p(L,"classList",g),"contains"in k||p(k,"contains",{value:function(e){for(;e&&e!==this;)e=e.parentNode;return this===e}}),"head"in f||p(f,"head",{get:function(){return a||(a=f.getElementsByTagName("head")[0])}}),function(){for(var t,n=e.requestAnimationFrame,r=e.cancelAnimationFrame,o=["o","ms","moz","webkit"],i=o.length;!r&&i--;)n=n||e[o[i]+"RequestAnimationFrame"],r=e[o[i]+"CancelAnimationFrame"]||e[o[i]+"CancelRequestAnimationFrame"];r||(n?(t=n,n=function(e){var n=!0;return t((function(){n&&e.apply(this,arguments)})),function(){n=!1}},r=function(e){e()}):(n=function(e){return setTimeout(e,15,15)},r=function(e){clearTimeout(e)})),e.requestAnimationFrame=n,e.cancelAnimationFrame=r}();try{new e.CustomEvent("?")}catch(t){e.CustomEvent=function(e,t){function n(e,t,n,r){this.initEvent(e,t,n),this.detail=r}return function(r,o){var i=f.createEvent(e);if("string"!=typeof r)throw new Error("An event name must be provided");return"Event"==e&&(i.initCustomEvent=n),null==o&&(o=t),i.initCustomEvent(r,o.bubbles,o.cancelable,o.detail),i}}(e.CustomEvent?"CustomEvent":"Event",{bubbles:!1,cancelable:!1,detail:null})}try{new Event("_")}catch(t){t=function(e){function t(e,t){r(arguments.length,"Event");var n=f.createEvent("Event");return t||(t={}),n.initEvent(e,!!t.bubbles,!!t.cancelable),n}return t.prototype=e.prototype,t}(e.Event||function(){}),p(e,"Event",{value:t}),Event!==t&&(Event=t)}try{new KeyboardEvent("_",{})}catch(t){t=function(t){var n,o=0,i={char:"",key:"",location:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,altGraphKey:!1,repeat:!1,locale:navigator.language,detail:0,bubbles:!1,cancelable:!1,keyCode:0,charCode:0,which:0};try{var a=f.createEvent("KeyboardEvent");a.initKeyboardEvent("keyup",!1,!1,e,"+",3,!0,!1,!0,!1,!1),o="+"==(a.keyIdentifier||a.key)&&3==(a.keyLocation||a.location)&&(a.ctrlKey?a.altKey?1:3:a.shiftKey?2:4)||9}catch(e){}function s(e){for(var t=[],n=["ctrlKey","Control","shiftKey","Shift","altKey","Alt","metaKey","Meta","altGraphKey","AltGraph"],r=0;r<n.length;r+=2)e[n[r]]&&t.push(n[r+1]);return t.join(" ")}function l(e,t){for(var n in t)t.hasOwnProperty(n)&&!t.hasOwnProperty.call(e,n)&&(e[n]=t[n]);return e}function c(e,t,n){try{t[e]=n[e]}catch(e){}}function u(t,a){r(arguments.length,"KeyboardEvent"),a=l(a||{},i);var u,d=f.createEvent(n),p=a.ctrlKey,h=a.shiftKey,m=a.altKey,g=a.metaKey,v=a.altGraphKey,y=o>3?s(a):null,b=String(a.key),_=String(a.char),w=a.location,x=a.keyCode||(a.keyCode=b)&&b.charCodeAt(0)||0,k=a.charCode||(a.charCode=_)&&_.charCodeAt(0)||0,M=a.bubbles,S=a.cancelable,O=a.repeat,E=a.locale,L=a.view||e;if(a.which||(a.which=a.keyCode),"initKeyEvent"in d)d.initKeyEvent(t,M,S,L,p,m,h,g,x,k);else if(0<o&&"initKeyboardEvent"in d){switch(u=[t,M,S,L],o){case 1:u.push(b,w,p,h,m,g,v);break;case 2:u.push(p,m,h,g,x,k);break;case 3:u.push(b,w,p,m,h,g,v);break;case 4:u.push(b,w,y,O,E);break;default:u.push(char,b,w,y,O,E)}d.initKeyboardEvent.apply(d,u)}else d.initEvent(t,M,S);for(b in d)i.hasOwnProperty(b)&&d[b]!==a[b]&&c(b,d,a);return d}return n=0<o?"KeyboardEvent":"Event",u.prototype=t.prototype,u}(e.KeyboardEvent||function(){}),p(e,"KeyboardEvent",{value:t}),KeyboardEvent!==t&&(KeyboardEvent=t)}try{new MouseEvent("_",{})}catch(t){t=function(t){function n(t,n){r(arguments.length,"MouseEvent");var o=f.createEvent("MouseEvent");return n||(n={}),o.initMouseEvent(t,!!n.bubbles,!!n.cancelable,n.view||e,n.detail||1,n.screenX||0,n.screenY||0,n.clientX||0,n.clientY||0,!!n.ctrlKey,!!n.altKey,!!n.shiftKey,!!n.metaKey,n.button||0,n.relatedTarget||null),o}return n.prototype=t.prototype,n}(e.MouseEvent||function(){}),p(e,"MouseEvent",{value:t}),MouseEvent!==t&&(MouseEvent=t)}}(window),function(e){"use strict";var t=e.WeakMap||function(){var e,t=0,n=!1,r=!1;function o(t,o,i){r=i,n=!1,e=void 0,t.dispatchEvent(o)}function i(e){this.value=e}function s(){t++,this.__ce__=new a("@DOMMap:"+t+Math.random())}return i.prototype.handleEvent=function(t){n=!0,r?t.currentTarget.removeEventListener(t.type,this,!1):e=this.value},s.prototype={constructor:s,delete:function(e){return o(e,this.__ce__,!0),n},get:function(t){o(t,this.__ce__,!1);var n=e;return e=void 0,n},has:function(e){return o(e,this.__ce__,!1),n},set:function(e,t){return o(e,this.__ce__,!0),e.addEventListener(this.__ce__.type,new i(t),!1),this}},s}();function n(){}function r(e,t,n){function o(e){o.once&&(e.currentTarget.removeEventListener(e.type,t,o),o.removed=!0),o.passive&&(e.preventDefault=r.preventDefault),"function"==typeof o.callback?o.callback.call(this,e):o.callback&&o.callback.handleEvent(e),o.passive&&delete e.preventDefault}return o.type=e,o.callback=t,o.capture=!!n.capture,o.passive=!!n.passive,o.once=!!n.once,o.removed=!1,o}n.prototype=(Object.create||Object)(null),r.preventDefault=function(){};var o,i,a=e.CustomEvent,s=(Object.prototype.hasOwnProperty,e.dispatchEvent),l=e.addEventListener,c=e.removeEventListener,u=0,f=function(){u++},d=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},p=function(e){return"".concat(e.capture?"1":"0",e.passive?"1":"0",e.once?"1":"0")};try{l("_",f,{once:!0}),s(new a("_")),s(new a("_")),c("_",f,{once:!0})}catch(e){}1!==u&&(i=new t,o=function(e){if(e){var t=e.prototype;t.addEventListener=function(e){return function(t,o,a){if(a&&"boolean"!=typeof a){var s,l,c,u=i.get(this),f=p(a);u||i.set(this,u=new n),t in u||(u[t]={handler:[],wrap:[]}),l=u[t],(s=d.call(l.handler,o))<0?(s=l.handler.push(o)-1,l.wrap[s]=c=new n):c=l.wrap[s],f in c||(c[f]=r(t,o,a),e.call(this,t,c[f],c[f].capture))}else e.call(this,t,o,a)}}(t.addEventListener),t.removeEventListener=function(e){return function(t,n,r){if(r&&"boolean"!=typeof r){var o,a,s,l,c=i.get(this);if(c&&t in c&&(s=c[t],-1<(a=d.call(s.handler,n))&&(o=p(r))in(l=s.wrap[a]))){for(o in e.call(this,t,l[o],l[o].capture),delete l[o],l)return;s.handler.splice(a,1),s.wrap.splice(a,1),0===s.handler.length&&delete c[t]}}else e.call(this,t,n,r)}}(t.removeEventListener)}},e.EventTarget?o(EventTarget):(o(e.Text),o(e.Element||e.HTMLElement),o(e.HTMLDocument),o(e.Window||{prototype:e}),o(e.XMLHttpRequest)))}(self)},function(e,t,n){var r=n(31);r(r.S+r.F*!n(53),"Object",{defineProperties:n(268)})},function(e,t,n){var r=n(31),o=n(790),i=n(94),a=n(125),s=n(283);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),l=a.f,c=o(r),u={},f=0;c.length>f;)void 0!==(n=l(r,t=c[f++]))&&s(u,t,n);return u}})},function(e,t,n){"use strict";var r,o,i,a,s=n(139),l=n(40),c=n(95),u=n(171),f=n(31),d=n(51),p=n(96),h=n(175),m=n(176),g=n(222),v=n(289).set,y=n(795)(),b=n(290),_=n(796),w=n(797),x=n(291),k=l.TypeError,M=l.process,S=M&&M.versions,O=S&&S.v8||"",E=l.Promise,L="process"==u(M),T=function(){},D=o=b.f,C=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n(48)("species")]=function(e){e(T,T)};return(L||"function"==typeof PromiseRejectionEvent)&&e.then(T)instanceof t&&0!==O.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),P=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},j=function(e,t){if(!e._n){e._n=!0;var n=e._c;y((function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,s=o?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{s?(o||(2==e._h&&I(e),e._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===t.promise?c(k("Promise-chain cycle")):(i=P(n))?i.call(n,l,c):l(n)):c(r)}catch(e){u&&!a&&u.exit(),c(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&Y(e)}))}},Y=function(e){v.call(l,(function(){var t,n,r,o=e._v,i=A(e);if(i&&(t=_((function(){L?M.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=L||A(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},A=function(e){return 1!==e._h&&0===(e._a||e._c).length},I=function(e){v.call(l,(function(){var t;L?M.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},R=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),j(t,!0))},$=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw k("Promise can't be resolved itself");(t=P(e))?y((function(){var r={_w:n,_d:!1};try{t.call(e,c($,r,1),c(R,r,1))}catch(e){R.call(r,e)}})):(n._v=e,n._s=1,j(n,!1))}catch(e){R.call({_w:n,_d:!1},e)}}};C||(E=function(e){h(this,E,"Promise","_h"),p(e),r.call(this);try{e(c($,this,1),c(R,this,1))}catch(e){R.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(174)(E.prototype,{then:function(e,t){var n=D(g(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=L?M.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=c($,e,1),this.reject=c(R,e,1)},b.f=D=function(e){return e===E||e===a?new i(e):o(e)}),f(f.G+f.W+f.F*!C,{Promise:E}),n(143)(E,"Promise"),n(221)("Promise"),a=n(92).Promise,f(f.S+f.F*!C,"Promise",{reject:function(e){var t=D(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!C),"Promise",{resolve:function(e){return x(s&&this===a?E:this,e)}}),f(f.S+f.F*!(C&&n(214)((function(e){E.all(e).catch(T)}))),"Promise",{all:function(e){var t=this,n=D(t),r=n.resolve,o=n.reject,i=_((function(){var n=[],i=0,a=1;m(e,!1,(function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=D(t),r=n.reject,o=_((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(e,t,n){var r=n(1071);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(164)("wks"),o=n(140),i=n(40).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(51);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(897);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var r=n(49),o=n(82),i=n(81),a=n(167),s=n(216),l=n(172),c=Math.max,u=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(173)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),d=String(this),p="function"==typeof t;p||(t=String(t));var g=f.global;if(g){var v=f.unicode;f.lastIndex=0}for(var y=[];;){var b=l(f,d);if(null===b)break;if(y.push(b),!g)break;""===String(b[0])&&(f.lastIndex=s(d,i(f.lastIndex),v))}for(var _,w="",x=0,k=0;k<y.length;k++){b=y[k];for(var M=String(b[0]),S=c(u(a(b.index),d.length),0),O=[],E=1;E<b.length;E++)O.push(void 0===(_=b[E])?_:String(_));var L=b.groups;if(p){var T=[M].concat(O,S,d);void 0!==L&&T.push(L);var D=String(t.apply(void 0,T))}else D=m(M,d,S,O,L,t);S>=x&&(w+=d.slice(x,S)+D,x=S+M.length)}return w+d.slice(x)}];function m(e,t,r,i,a,s){var l=r+e.length,c=i.length,u=p;return void 0!==a&&(a=o(a),u=d),n.call(s,u,(function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":s=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>c){var d=f(u/10);return 0===d?n:d<=c?void 0===i[d-1]?o.charAt(1):i[d-1]+o.charAt(1):n}s=i[u-1]}return void 0===s?"":s}))}}))},function(e,t,n){e.exports=!n(54)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13.63 3.65l-1.28-1.27L8 6.73 3.64 2.38 2.37 3.65l4.35 4.36-4.34 4.34 1.27 1.28L8 9.28l4.35 4.36 1.28-1.28-4.36-4.35 4.36-4.36z"></path></svg>'},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(199),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){var r=n(49),o=n(266),i=n(165),a=Object.defineProperty;t.f=n(53)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var r=n(215),o=n(49),i=n(222),a=n(216),s=n(81),l=n(172),c=n(217),u=n(54),f=Math.min,d=[].push,p="length",h=!u((function(){RegExp(4294967295,"y")}));n(173)("split",2,(function(e,t,n,u){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(o,e,t);for(var i,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,h=void 0===t?4294967295:t>>>0,m=new RegExp(e.source,u+"g");(i=c.call(m,o))&&!((a=m.lastIndex)>f&&(l.push(o.slice(f,i.index)),i[p]>1&&i.index<o[p]&&d.apply(l,i.slice(1)),s=i[0][p],f=a,l[p]>=h));)m.lastIndex===i.index&&m.lastIndex++;return f===o[p]?!s&&m.test("")||l.push(""):l.push(o.slice(f)),l[p]>h?l.slice(0,h):l}:"0".split(void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):m.call(String(o),n,r)},function(e,t){var r=u(m,e,this,t,m!==n);if(r.done)return r.value;var c=o(e),d=String(this),p=i(c,RegExp),g=c.unicode,v=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(h?"y":"g"),y=new p(h?c:"^(?:"+c.source+")",v),b=void 0===t?4294967295:t>>>0;if(0===b)return[];if(0===d.length)return null===l(y,d)?[d]:[];for(var _=0,w=0,x=[];w<d.length;){y.lastIndex=h?w:0;var k,M=l(y,h?d:d.slice(w));if(null===M||(k=f(s(y.lastIndex+(h?0:w)),d.length))===_)w=a(d,w,g);else{if(x.push(d.slice(_,w)),x.length===b)return x;for(var S=1;S<=M.length-1;S++)if(x.push(M[S]),x.length===b)return x;w=_=k}}return x.push(d.slice(_)),x}]}))},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(781);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(1070);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(40),o=n(93),i=n(80),a=n(140)("src"),s=n(775),l=(""+s).split("toString");n(92).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(c&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var o=t&&t.prototype instanceof u?t:u,i=Object.create(o.prototype),a=new x(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return M()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=b(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var c={};function u(){}function f(){}function d(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,m=h&&h(h(k([])));m&&m!==t&&n.call(m,o)&&(p=m);var g=d.prototype=u.prototype=Object.create(p);function v(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,s){var c=l(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function k(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:M}}function M(){return{value:void 0,done:!0}}return f.prototype=g.constructor=d,d.constructor=f,d[a]=f.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},v(y.prototype),y.prototype[i]=function(){return this},e.AsyncIterator=y,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new y(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(g),g[a]="Generator",g[o]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(240)("wks"),o=n(186),i=n(60).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(316);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(798);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";e.exports=function(e){return o.test("number"==typeof e?r(e):e.charAt(0))};var r=String.fromCharCode,o=/\s/},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M6.5 12.49l-1-.98L9.01 8 5.5 4.5l1-1L10.99 8 6.5 12.49z"></path></svg>'},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(940),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){var r=n(883);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(891);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(913);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(459),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){var r=n(789);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(921);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(451);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(223);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(167),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(113);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var o in r)n.call(r,o)&&(e[o]=r[o])}return e};var n=Object.prototype.hasOwnProperty},function(e,t,n){var r=n(60),o=n(55),i=n(149),a=n(118),s=n(119),l=function(e,t,n){var c,u,f,d=e&l.F,p=e&l.G,h=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=p?o:o[t]||(o[t]={}),b=y.prototype,_=p?r:h?r[t]:(r[t]||{}).prototype;for(c in p&&(n=t),n)(u=!d&&_&&void 0!==_[c])&&s(y,c)||(f=u?_[c]:n[c],y[c]=p&&"function"!=typeof _[c]?n[c]:g&&u?i(f,r):v&&_[c]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):m&&"function"==typeof f?i(Function.call,f):f,m&&((y.virtual||(y.virtual={}))[c]=f,e&l.R&&b&&!b[c]&&a(b,c,f)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M5 7.99L1.5 4.5l1-1L5 6.01 7.5 3.5l.99 1L5 7.99z"></path></svg>'},function(e,t,n){var r=n(928);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(1101);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(1102);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(103);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(130)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(987);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(58),o=n(141);e.exports=n(53)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(166),o=n(113);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(96);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(95),o=n(166),i=n(82),a=n(81),s=n(782);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,f=6==e,d=5==e||f,p=t||s;return function(t,s,h){for(var m,g,v=i(t),y=o(v),b=r(s,h,3),_=a(y.length),w=0,x=n?p(t,_):l?p(t,0):void 0;_>w;w++)if((d||w in y)&&(g=b(m=y[w],w,v),e))if(n)x[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(u)return!1;return f?-1:c||u?u:x}}},function(e,t,n){"use strict";var r=n(31),o=n(788);r(r.P+r.F*!n(115)([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){var r=n(31);r(r.P,"Function",{bind:n(276)})},function(e,t,n){"use strict";var r=n(31),o=n(210)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(138)("includes")},function(e,t,n){var r=n(89),o=n(454),i=n(236),a=Object.defineProperty;t.f=n(90)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M6.16 14.41L1.37 9.66l1.26-1.28 3.24 3.21L13.23.5l1.5 1-8.57 12.91z"></path></svg>'},function(e,t,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,n(97))},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M14.64 13.36l-4.51-4.51A4.94 4.94 0 0 0 11 6a5 5 0 1 0-2.17 4.12l4.51 4.51zM2.42 6A3.6 3.6 0 1 1 6 9.61 3.6 3.6 0 0 1 2.42 6z"></path></svg>'},function(e,t,n){e.exports={default:n(938),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(960)),o=a(n(964)),i=a(n(459));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t){e.exports=function(e,t,n){var r;return function(){if(!t)return e.apply(this,arguments);var o=this,i=arguments,a=n&&!r;return clearTimeout(r),r=setTimeout((function(){if(r=null,!a)return e.apply(o,i)}),t),a?e.apply(this,arguments):void 0}}},function(e,t,n){var r=n(871);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(269),o=n(212);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){"use strict";var r=n(54);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(31),o=n(285);r(r.P+r.F*n(286)("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(227),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),c=function(e,t,n,r){var o;(!(t in e)||"function"==typeof(o=r)&&"[object Function]"===i.call(o)&&r())&&(l?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)c(e,i[s],t[i[s]],n[i[s]])};u.supportsDescriptors=!!l,e.exports=u},function(e,t,n){var r=n(102),o=n(185);e.exports=n(90)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(456),o=n(237);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(314);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(989);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(1072);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(49),o=n(268),i=n(212),a=n(211)("IE_PROTO"),s=function(){},l=function(){var e,t=n(208)("iframe"),r=i.length;for(t.style.display="none",n(271).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(144),o=n(141),i=n(94),a=n(165),s=n(80),l=n(266),c=Object.getOwnPropertyDescriptor;t.f=n(53)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(51);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";var r=TypeError,o=Object.getOwnPropertyDescriptor;if(o)try{o({},"")}catch(e){o=null}var i=function(){throw new r},a=o?function(){try{return i}catch(e){try{return o(arguments,"callee").get}catch(e){return i}}}():i,s=n(128)(),l=Object.getPrototypeOf||function(e){return e.__proto__},c=void 0,u="undefined"==typeof Uint8Array?void 0:l(Uint8Array),f={"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":s?l([][Symbol.iterator]()):void 0,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":void 0,"%AsyncFunctionPrototype%":void 0,"%AsyncGenerator%":void 0,"%AsyncGeneratorFunction%":void 0,"%AsyncGeneratorPrototype%":void 0,"%AsyncIteratorPrototype%":c&&s&&Symbol.asyncIterator?c[Symbol.asyncIterator]():void 0,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":void 0,"%GeneratorFunction%":void 0,"%GeneratorPrototype%":void 0,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":s?l(l([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%JSONParse%":"object"==typeof JSON?JSON.parse:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&s?l((new Map)[Symbol.iterator]()):void 0,"%MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"%PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"%Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"%Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"%Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&s?l((new Set)[Symbol.iterator]()):void 0,"%SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":s?l(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":s?Symbol:void 0,"%SymbolPrototype%":s?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":a,"%TypedArray%":u,"%TypedArrayPrototype%":u?u.prototype:void 0,"%TypeError%":r,"%TypeErrorPrototype%":r.prototype,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"%WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype},d=n(229).call(Function.call,String.prototype.replace),p=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,h=/\\(\\)?/g,m=function(e){var t=[];return d(e,p,(function(e,n,r,o){t[t.length]=r?d(o,h,"$1"):n||e})),t},g=function(e,t){if(!(e in f))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===f[e]&&!t)throw new r("intrinsic "+e+" exists, but is not available. Please file an issue!");return f[e]};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');for(var n=m(e),i=g("%"+(n.length>0?n[0]:"")+"%",t),a=1;a<n.length;a+=1)if(null!=i)if(o&&a+1>=n.length){var s=o(i,n[a]);if(!t&&!(n[a]in i))throw new r("base intrinsic for "+e+" exists, but the property is not available.");i=s?s.get||s.value:i[n[a]]}else i=i[n[a]];return i}},function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n(230);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n(97))},function(e,t,n){"use strict";var r=n(31),o=n(98)(5),i=!0;"find"in[]&&Array(1).find((function(){i=!1})),r(r.P+r.F*i,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(138)("find")},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){(t=e.exports=function(e){return e.replace(/^\s*|\s*$/g,"")}).left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 10.99L3.5 6.5l1-1L8 9.01l3.51-3.51.98 1L8 10.99z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M9.51 12.49L5.01 8l4.5-4.5.98 1L6.99 8l3.5 3.51-.98.98z"></path></svg>'},function(e,t,n){"use strict";var r=n(227),o=n(294),i=n(803),a=n(806),s=n(807),l=n(299),c=n(809),u=n(810),f=n(127),d=n(147),p=n(815),h=n(818),m=n(819),g=n(822),v=n(825),y=d("Date.prototype.getTime"),b=Object.getPrototypeOf,_=d("Object.prototype.toString"),w=f("%Set%",!0),x=d("Map.prototype.has",!0),k=d("Map.prototype.get",!0),M=d("Map.prototype.size",!0),S=d("Set.prototype.add",!0),O=d("Set.prototype.delete",!0),E=d("Set.prototype.has",!0),L=d("Set.prototype.size",!0);function T(e,t,n,r){for(var o,i=h(e);(o=i.next())&&!o.done;)if(Y(t,o.value,n,r))return O(e,o.value),!0;return!1}function D(e){return void 0===e?null:"object"!=typeof e?"symbol"!=typeof e&&("string"!=typeof e&&"number"!=typeof e||+e==+e):void 0}function C(e,t,n,r,o,i){var a=D(n);if(null!=a)return a;var s=k(t,a),l=v({},o,{strict:!1});return!(void 0===s&&!x(t,a)||!Y(r,s,l,i))&&(!x(e,a)&&Y(r,s,l,i))}function P(e,t,n){var r=D(n);return null!=r?r:E(t,r)&&!E(e,r)}function j(e,t,n,r,o,i){for(var a,s,l=h(e);(a=l.next())&&!a.done;)if(Y(n,s=a.value,o,i)&&Y(r,k(t,s),o,i))return O(e,s),!0;return!1}function Y(e,t,n,f){var d=n||{};if(d.strict?i(e,t):e===t)return!0;if(u(e)!==u(t))return!1;if(!e||!t||"object"!=typeof e&&"object"!=typeof t)return d.strict?i(e,t):e==t;var m,O=f.has(e),D=f.has(t);if(O&&D){if(f.get(e)===f.get(t))return!0}else m={};return O||f.set(e,m),D||f.set(t,m),function(e,t,n,i){var u,f;if(typeof e!=typeof t)return!1;if(null==e||null==t)return!1;if(_(e)!==_(t))return!1;if(o(e)!==o(t))return!1;var d=l(e),m=l(t);if(d!==m)return!1;var O=e instanceof Error,D=t instanceof Error;if(O!==D)return!1;if((O||D)&&(e.name!==t.name||e.message!==t.message))return!1;var I=a(e),R=a(t);if(I!==R)return!1;if((I||R)&&(e.source!==t.source||s(e)!==s(t)))return!1;var $=c(e),H=c(t);if($!==H)return!1;if(($||H)&&y(e)!==y(t))return!1;if(n.strict&&b&&b(e)!==b(t))return!1;if(g(e)!==g(t))return!1;var N=A(e),z=A(t);if(N!==z)return!1;if(N||z){if(e.length!==t.length)return!1;for(u=0;u<e.length;u++)if(e[u]!==t[u])return!1;return!0}if(typeof e!=typeof t)return!1;var F=r(e),B=r(t);if(F.length!==B.length)return!1;for(F.sort(),B.sort(),u=F.length-1;u>=0;u--)if(F[u]!=B[u])return!1;for(u=F.length-1;u>=0;u--)if(f=F[u],!Y(e[f],t[f],n,i))return!1;var U=p(e),W=p(t);if(U!==W)return!1;if("Set"===U||"Set"===W)return function(e,t,n,r){if(L(e)!==L(t))return!1;var o,i,a,s=h(e),l=h(t);for(;(o=s.next())&&!o.done;)if(o.value&&"object"==typeof o.value)a||(a=new w),S(a,o.value);else if(!E(t,o.value)){if(n.strict)return!1;if(!P(e,t,o.value))return!1;a||(a=new w),S(a,o.value)}if(a){for(;(i=l.next())&&!i.done;)if(i.value&&"object"==typeof i.value){if(!T(a,i.value,n.strict,r))return!1}else if(!n.strict&&!E(e,i.value)&&!T(a,i.value,n.strict,r))return!1;return 0===L(a)}return!0}(e,t,n,i);if("Map"===U)return function(e,t,n,r){if(M(e)!==M(t))return!1;var o,i,a,s,l,c,u=h(e),f=h(t);for(;(o=u.next())&&!o.done;)if(s=o.value[0],l=o.value[1],s&&"object"==typeof s)a||(a=new w),S(a,s);else if(void 0===(c=k(t,s))&&!x(t,s)||!Y(l,c,n,r)){if(n.strict)return!1;if(!C(e,t,s,l,n,r))return!1;a||(a=new w),S(a,s)}if(a){for(;(i=f.next())&&!i.done;)if(s=i.value[0],c=i.value[1],s&&"object"==typeof s){if(!j(a,e,s,c,n,r))return!1}else if(!(n.strict||e.has(s)&&Y(k(e,s),c,n,r)||j(a,e,s,c,v({},n,{strict:!1}),r)))return!1;return 0===L(a)}return!0}(e,t,n,i);return!0}(e,t,d,f)}function A(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&(!(e.length>0&&"number"!=typeof e[0])&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))))}e.exports=function(e,t,n){return Y(e,t,n,m())}},function(e,t,n){var r=n(872);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(876);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(1073);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(48)("unscopables"),o=Array.prototype;null==o[r]&&n(93)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t){e.exports=!1},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},function(e,t,n){var r=n(58).f,o=n(80),i=n(48)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(140)("meta"),o=n(51),i=n(80),a=n(58).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(54)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&f.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){var r=n(269),o=n(212).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){"use strict";var r=n(127),o=n(228),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")?o(n):n}},function(e,t,n){"use strict";n(317)("trim",(function(e){return function(){return e(this,3)}}))},function(e,t,n){var r=n(184);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(455),o=n(241);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=!0},function(e,t,n){var r=n(237);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!r.call(t,n[a])||!o(e[n[a]],t[n[a]]))return!1;return!0}},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M1 19h4v-4H1zm7 0h4v-4H8zm7 0h4v-4h-4zM1 12h4V8H1zm7 0h4V8H8zm7 0h4V8h-4zM1 5h4V1H1zm7 0h4V1H8zm7-4v4h4V1z"></path></svg>'},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return v}));var r=n(260),o=(n(0),n(1)),i=n.n(o),a=n(255);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e,t){var n,r=(n=e,!isNaN(parseFloat(n))&&isFinite(n)?parseFloat(n):"px"===n.slice(-2)?parseFloat(n.slice(0,-2)):void 0);if("number"==typeof r)return r;var o=function(e){if("%"===e.slice(-1))return parseFloat(e.slice(0,-1))/100}(e);return"number"==typeof o?o*t:void 0}function d(e){return"string"==typeof e.type}var p;var h=[];function m(e){h.push(e),p||(p=setTimeout((function(){var e;for(p=null;e=h.shift();)e()}),0));var t=!0;return function(){if(t){t=!1;var n=h.indexOf(e);-1!==n&&(h.splice(n,1),!h.length&&p&&(clearTimeout(p),p=null))}}}var g={debug:!1,scrollableAncestor:void 0,children:void 0,topOffset:"0px",bottomOffset:"0px",horizontal:!1,onEnter:function(){},onLeave:function(){},onPositionChange:function(){},fireOnRapidScroll:!0},v=function(t){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=u(this,l(n).call(this,e))).refElement=function(e){t._ref=e},t}var o,p,h;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(n,t),o=n,(p=[{key:"componentDidMount",value:function(){var e=this;n.getWindow()&&(this.cancelOnNextTick=m((function(){e.cancelOnNextTick=null;var t=e.props,n=t.children;t.debug,function(e,t){if(e&&!d(e)&&!t)throw new Error("<Waypoint> needs a DOM element to compute boundaries. The child you passed is neither a DOM element (e.g. <div>) nor does it use the innerRef prop.\n\nSee https://goo.gl/LrBNgw for more info.")}(n,e._ref),e._handleScroll=e._handleScroll.bind(e),e.scrollableAncestor=e._findScrollableAncestor(),e.scrollEventListenerUnsubscribe=Object(r.a)(e.scrollableAncestor,"scroll",e._handleScroll,{passive:!0}),e.resizeEventListenerUnsubscribe=Object(r.a)(window,"resize",e._handleScroll,{passive:!0}),e._handleScroll(null)})))}},{key:"componentDidUpdate",value:function(){var e=this;n.getWindow()&&this.scrollableAncestor&&(this.cancelOnNextTick||(this.cancelOnNextTick=m((function(){e.cancelOnNextTick=null,e._handleScroll(null)}))))}},{key:"componentWillUnmount",value:function(){n.getWindow()&&(this.scrollEventListenerUnsubscribe&&this.scrollEventListenerUnsubscribe(),this.resizeEventListenerUnsubscribe&&this.resizeEventListenerUnsubscribe(),this.cancelOnNextTick&&this.cancelOnNextTick())}},{key:"_findScrollableAncestor",value:function(){var t=this.props,n=t.horizontal,r=t.scrollableAncestor;if(r)return function(t){return"window"===t?e.window:t}(r);for(var o=this._ref;o.parentNode;){if((o=o.parentNode)===document.body)return window;var i=window.getComputedStyle(o),a=(n?i.getPropertyValue("overflow-x"):i.getPropertyValue("overflow-y"))||i.getPropertyValue("overflow");if("auto"===a||"scroll"===a)return o}return window}},{key:"_handleScroll",value:function(e){if(this._ref){var t=this._getBounds(),n=function(e){return e.viewportBottom-e.viewportTop==0?"invisible":e.viewportTop<=e.waypointTop&&e.waypointTop<=e.viewportBottom||e.viewportTop<=e.waypointBottom&&e.waypointBottom<=e.viewportBottom||e.waypointTop<=e.viewportTop&&e.viewportBottom<=e.waypointBottom?"inside":e.viewportBottom<e.waypointTop?"below":e.waypointTop<e.viewportTop?"above":"invisible"}(t),r=this._previousPosition,o=this.props,i=(o.debug,o.onPositionChange),a=o.onEnter,s=o.onLeave,l=o.fireOnRapidScroll;if(this._previousPosition=n,r!==n){var c={currentPosition:n,previousPosition:r,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom};i.call(this,c),"inside"===n?a.call(this,c):"inside"===r&&s.call(this,c),l&&("below"===r&&"above"===n||"above"===r&&"below"===n)&&(a.call(this,{currentPosition:"inside",previousPosition:r,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}),s.call(this,{currentPosition:n,previousPosition:"inside",event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}))}}}},{key:"_getBounds",value:function(){var e,t,n=this.props,r=n.horizontal,o=(n.debug,this._ref.getBoundingClientRect()),i=o.left,a=o.top,s=o.right,l=o.bottom,c=r?i:a,u=r?s:l;this.scrollableAncestor===window?(e=r?window.innerWidth:window.innerHeight,t=0):(e=r?this.scrollableAncestor.offsetWidth:this.scrollableAncestor.offsetHeight,t=r?this.scrollableAncestor.getBoundingClientRect().left:this.scrollableAncestor.getBoundingClientRect().top);var d=this.props,p=d.bottomOffset;return{waypointTop:c,waypointBottom:u,viewportTop:t+f(d.topOffset,e),viewportBottom:t+e-f(p,e)}}},{key:"render",value:function(){var e=this,t=this.props.children;return t?d(t)||Object(a.isForwardRef)(t)?i.a.cloneElement(t,{ref:function(n){e.refElement(n),t.ref&&("function"==typeof t.ref?t.ref(n):t.ref.current=n)}}):i.a.cloneElement(t,{innerRef:this.refElement}):i.a.createElement("span",{ref:this.refElement,style:{fontSize:0}})}}])&&s(o.prototype,p),h&&s(o,h),n}(i.a.PureComponent);v.above="above",v.below="below",v.inside="inside",v.invisible="invisible",v.getWindow=function(){if("undefined"!=typeof window)return window},v.defaultProps=g,v.displayName="Waypoint"}).call(this,n(97))},function(e,t,n){var r=n(899);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){var r=n(870);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(895);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(1076);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";
-/*
-object-assign
-(c) Sindre Sorhus
-@license MIT
-*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=a(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))o.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var f=0;f<s.length;f++)i.call(n,s[f])&&(l[s[f]]=n[s[f]])}}return l}},function(e,t,n){var r=n(92),o=n(40),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(139)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(51);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(112);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(31),o=n(273)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";var r=n(49);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(112),o=n(48)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){"use strict";var r=n(171),o=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";n(785);var r=n(63),o=n(93),i=n(54),a=n(113),s=n(48),l=n(217),c=s("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var d=s(e),p=!i((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=p?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[d](""),!t})):void 0;if(!p||!h||"replace"===e&&!u||"split"===e&&!f){var m=/./[d],g=n(a,d,""[e],(function(e,t,n,r,o){return t.exec===l?p&&!o?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),v=g[0],y=g[1];r(String.prototype,e,v),o(RegExp.prototype,d,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},function(e,t,n){var r=n(63);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(95),o=n(281),i=n(282),a=n(49),s=n(81),l=n(284),c={},u={};(t=e.exports=function(e,t,n,f,d){var p,h,m,g,v=d?function(){return e}:l(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(i(v)){for(p=s(e.length);p>b;b++)if((g=t?y(a(h=e[b])[0],h[1]):y(e[b]))===c||g===u)return g}else for(m=v.call(e);!(h=m.next()).done;)if((g=o(m,y,h.value,t))===c||g===u)return g}).BREAK=c,t.RETURN=u},function(e,t,n){var r=n(31),o=n(273)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){"use strict";var r=n(288),o=n(126);e.exports=n(218)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r=n(49),o=n(81),i=n(216),a=n(172);n(173)("match",1,(function(e,t,n,s){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=r(e),c=String(this);if(!l.global)return a(l,c);var u=l.unicode;l.lastIndex=0;for(var f,d=[],p=0;null!==(f=a(l,c));){var h=String(f[0]);d[p]=h,""===h&&(l.lastIndex=i(c,o(l.lastIndex),u)),p++}return 0===p?null:d}]}))},function(e,t,n){"use strict";n(224)("link",(function(e){return function(t){return e(this,"a","href",t)}}))},function(e,t,n){"use strict";var r=n(31),o=n(96),i=n(82),a=n(54),s=[].sort,l=[1,2,3];r(r.P+r.F*(a((function(){l.sort(void 0)}))||!a((function(){l.sort(null)}))||!n(115)(s)),"Array",{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(31),o=n(98)(3);r(r.P+r.F*!n(115)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(40),o=n(80),i=n(112),a=n(219),s=n(165),l=n(54),c=n(146).f,u=n(125).f,f=n(58).f,d=n(317).trim,p=r.Number,h=p,m=p.prototype,g="Number"==i(n(124)(m)),v="trim"in String.prototype,y=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,o,i=(t=v?t.trim():d(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,l=t.slice(2),c=0,u=l.length;c<u;c++)if((a=l.charCodeAt(c))<48||a>o)return NaN;return parseInt(l,r)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(g?l((function(){m.valueOf.call(n)})):"Number"!=i(n))?a(new h(y(t)),n,p):y(t)};for(var b,_=n(53)?c(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;_.length>w;w++)o(h,b=_[w])&&!o(p,b)&&f(p,b,u(h,b));p.prototype=m,m.constructor=p,n(63)(r,"Number",p)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(102).f,o=n(119),i=n(65)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},function(e,t,n){"use strict";e.exports=s;var r=n(1022),o=r.CONTINUE,i=r.SKIP,a=r.EXIT;function s(e,t,n,o){"function"==typeof t&&"function"!=typeof n&&(o=n,n=t,t=null),r(e,t,(function(e,t){var r=t[t.length-1],o=r?r.children.indexOf(e):null;return n(e,o,r)}),o)}s.CONTINUE=o,s.SKIP=i,s.EXIT=a},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13 3.05A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM8.85 12.8h-1.7v-1.71h1.7zm0-3.56H7.17L7 3.2h2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M15.83 13.23l-7-11.76a1 1 0 0 0-1.66 0L.16 13.3c-.38.64-.07 1.7.68 1.7H15.2c.74 0 1.01-1.13.63-1.77zm-7 .37H7.14v-1.71h1.7zm0-3.57H7.16L7 4h2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M3.65 1.82v3.65H0v8.71h12.36v-3.65H16V1.82zm5 1.4H11v2.25H8.7zM11 9.13H8.7V6.87H11zM5.05 6.87H7.3v2.26H5.05zm0-3.65H7.3v2.25H5.05zM1.39 6.87h2.26v2.26H1.39zm2.26 5.91H1.39v-2.25h2.26zm3.65 0H5.05v-2.25H7.3zm3.66 0H8.7v-2.25H11zm3.65-3.65h-2.25V6.87h2.25zm-2.25-3.66V3.22h2.25v2.25z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 6.5A1.5 1.5 0 1 0 9.5 8 1.5 1.5 0 0 0 8 6.5zm0 5A1.5 1.5 0 1 0 9.5 13 1.5 1.5 0 0 0 8 11.47zm0-6.97A1.5 1.5 0 1 0 6.5 3 1.5 1.5 0 0 0 8 4.53z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M14.55 4.6l-3.18-3.19a1.29 1.29 0 0 0-.88-.35 1.33 1.33 0 0 0-.94.39L2.28 8.72a1.29 1.29 0 0 0-.37.72L1 15l5.58-.93a1.29 1.29 0 0 0 .72-.37l7.26-7.26a1.31 1.31 0 0 0-.01-1.84zM10.2 2.78l3 3-6.26 6.32-3-3zM2.92 11.9l.26-1.59 2.5 2.5-1.57.26z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M5 8L3 6 2 7l3 3 3-3-1-1zm0-6l2 2 1-1-3-3-3 3 1 1z"></path></svg>'},function(e,t,n){var r=n(799);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";var r=n(308).forEach,o=n(829),i=n(830),a=n(831),s=n(832),l=n(833),c=n(309),u=n(834),f=n(836),d=n(837),p=n(838);function h(e){return Array.isArray(e)||void 0!==e.length}function m(e){if(Array.isArray(e))return e;var t=[];return r(e,(function(e){t.push(e)})),t}function g(e){return e&&1===e.nodeType}function v(e,t,n){var r=e[t];return null==r&&void 0!==n?n:r}e.exports=function(e){var t;if((e=e||{}).idHandler)t={get:function(t){return e.idHandler.get(t,!0)},set:e.idHandler.set};else{var n=a(),y=s({idGenerator:n,stateHandler:f});t=y}var b=e.reporter;b||(b=l(!1===b));var _=v(e,"batchProcessor",u({reporter:b})),w={};w.callOnAdd=!!v(e,"callOnAdd",!0),w.debug=!!v(e,"debug",!1);var x,k=i(t),M=o({stateHandler:f}),S=v(e,"strategy","object"),O=v(e,"important",!1),E={reporter:b,batchProcessor:_,stateHandler:f,idHandler:t,important:O};if("scroll"===S&&(c.isLegacyOpera()?(b.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),S="object"):c.isIE(9)&&(b.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),S="object")),"scroll"===S)x=p(E);else{if("object"!==S)throw new Error("Invalid strategy name: "+S);x=d(E)}var L={};return{listenTo:function(e,n,o){function i(e){var t=k.get(e);r(t,(function(t){t(e)}))}function a(e,t,n){k.add(t,n),e&&n(t)}if(o||(o=n,n=e,e={}),!n)throw new Error("At least one element required.");if(!o)throw new Error("Listener required.");if(g(n))n=[n];else{if(!h(n))return b.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");n=m(n)}var s=0,l=v(e,"callOnAdd",w.callOnAdd),c=v(e,"onReady",(function(){})),u=v(e,"debug",w.debug);r(n,(function(e){f.getState(e)||(f.initState(e),t.set(e));var d=t.get(e);if(u&&b.log("Attaching listener to element",d,e),!M.isDetectable(e))return u&&b.log(d,"Not detectable."),M.isBusy(e)?(u&&b.log(d,"System busy making it detectable"),a(l,e,o),L[d]=L[d]||[],void L[d].push((function(){++s===n.length&&c()}))):(u&&b.log(d,"Making detectable..."),M.markBusy(e,!0),x.makeDetectable({debug:u,important:O},e,(function(e){if(u&&b.log(d,"onElementDetectable"),f.getState(e)){M.markAsDetectable(e),M.markBusy(e,!1),x.addListener(e,i),a(l,e,o);var t=f.getState(e);if(t&&t.startSize){var p=e.offsetWidth,h=e.offsetHeight;t.startSize.width===p&&t.startSize.height===h||i(e)}L[d]&&r(L[d],(function(e){e()}))}else u&&b.log(d,"Element uninstalled before being detectable.");delete L[d],++s===n.length&&c()})));u&&b.log(d,"Already detecable, adding listener."),a(l,e,o),s++})),s===n.length&&c()},removeListener:k.removeListener,removeAllListeners:k.removeAllListeners,uninstall:function(e){if(!e)return b.error("At least one element is required.");if(g(e))e=[e];else{if(!h(e))return b.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=m(e)}r(e,(function(e){k.removeAllListeners(e),x.uninstall(e),f.cleanState(e)}))},initDocument:function(e){x.initDocument&&x.initDocument(e)}}}},function(e,t,n){e.exports={default:n(931),__esModule:!0}},function(e,t,n){"use strict";(function(e){function r(t,n){var r,o,i,a=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:e).document&&r.document.attachEvent;if(!a){var s=(i=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)},function(e){return i(e)}),l=(o=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout,function(e){return o(e)}),c=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},u=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;c(this),this.__resizeRAF__&&l(this.__resizeRAF__),this.__resizeRAF__=s((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}},f=!1,d="",p="animationstart",h="Webkit Moz O ms".split(" "),m="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(f=!0),!1===f)for(var v=0;v<h.length;v++)if(void 0!==g.style[h[v]+"AnimationName"]){d="-"+h[v].toLowerCase()+"-",p=m[v],f=!0;break}var y="resizeanim",b="@"+d+"keyframes "+y+" { from { opacity: 0; } to { opacity: 0; } } ",_=d+"animation: 1ms "+y+"; "}return{addResizeListener:function(e,n){if(a)e.attachEvent("onresize",n);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,i=r.getComputedStyle(e);i&&"static"==i.position&&(e.style.position="relative"),function(e){if(!e.getElementById("detectElementResize")){var n=(b||"")+".resize-triggers { "+(_||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=e.head||e.getElementsByTagName("head")[0],o=e.createElement("style");o.id="detectElementResize",o.type="text/css",null!=t&&o.setAttribute("nonce",t),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(e.createTextNode(n)),r.appendChild(o)}}(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement("div")).className="resize-triggers",e.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',e.appendChild(e.__resizeTriggers__),c(e),e.addEventListener("scroll",u,!0),p&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==y&&c(e)},e.__resizeTriggers__.addEventListener(p,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(n)}},removeResizeListener:function(e,t){if(a)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",u,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(p,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}n.d(t,"a",(function(){return r}))}).call(this,n(97))},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){"use strict";(function(e,r){var o,i=n(481);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(97),n(786)(e))},function(e,t,n){var r=n(881);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(886);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(912);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(1099);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(51),o=n(40).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){"use strict";var r=n(139),o=n(31),i=n(63),a=n(93),s=n(142),l=n(776),c=n(143),u=n(272),f=n(48)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,m,g,v){l(n,t,h);var y,b,_,w=function(e){if(!d&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",k="values"==m,M=!1,S=e.prototype,O=S[f]||S["@@iterator"]||m&&S[m],E=O||w(m),L=m?k?w("entries"):E:void 0,T="Array"==t&&S.entries||O;if(T&&(_=u(T.call(new e)))!==Object.prototype&&_.next&&(c(_,x,!0),r||"function"==typeof _[f]||a(_,f,p)),k&&O&&"values"!==O.name&&(M=!0,E=function(){return O.call(this)}),r&&!v||!d&&!M&&S[f]||a(S,f,E),s[t]=E,s[x]=p,m)if(y={values:k?E:w("values"),keys:g?E:w("keys"),entries:L},v)for(b in y)b in S||i(S,b,y[b]);else o(o.P+o.F*(d||M),t,y);return y}},function(e,t,n){var r=n(94),o=n(81),i=n(270);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(164)("keys"),o=n(140);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(112);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(48)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){var r=n(51),o=n(112),i=n(48)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){"use strict";var r=n(280)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){"use strict";var r,o,i=n(170),a=RegExp.prototype.exec,s=String.prototype.replace,l=a,c=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(e){var t,n,r,o,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",i.call(l))),c&&(t=l.lastIndex),r=a.call(l,e),c&&r&&(l.lastIndex=l.global?r.index+r[0].length:t),u&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=l},function(e,t,n){"use strict";var r=n(40),o=n(31),i=n(63),a=n(174),s=n(145),l=n(176),c=n(175),u=n(51),f=n(54),d=n(214),p=n(143),h=n(219);e.exports=function(e,t,n,m,g,v){var y=r[e],b=y,_=g?"set":"add",w=b&&b.prototype,x={},k=function(e){var t=w[e];i(w,e,"delete"==e||"has"==e?function(e){return!(v&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(v||w.forEach&&!f((function(){(new b).entries().next()})))){var M=new b,S=M[_](v?{}:-0,1)!=M,O=f((function(){M.has(1)})),E=d((function(e){new b(e)})),L=!v&&f((function(){for(var e=new b,t=5;t--;)e[_](t,t);return!e.has(-0)}));E||((b=t((function(t,n){c(t,b,e);var r=h(new y,t,b);return null!=n&&l(n,g,r[_],r),r}))).prototype=w,w.constructor=b),(O||L)&&(k("delete"),k("has"),g&&k("get")),(L||S)&&k(_),v&&w.clear&&delete w.clear}else b=m.getConstructor(t,e,g,_),a(b.prototype,n),s.NEED=!0;return p(b,e),x[e]=b,o(o.G+o.W+o.F*(b!=y),x),v||m.setStrong(b,e,g),b}},function(e,t,n){var r=n(51),o=n(278).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},function(e,t,n){"use strict";var r=n(288),o=n(126);e.exports=n(218)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(40),o=n(58),i=n(53),a=n(48)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(49),o=n(96),i=n(48)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.close_ab8:hover {\n color: #ff008c;\n color: var(--ring-link-hover-color);\n }}\n\n.alert_84a {\n position: relative;\n\n display: flex;\n align-items: baseline;\n\n box-sizing: border-box;\n min-height: 40px;\n margin: 8px auto;\n padding: 0 16px;\n\n transition:\n transform 300ms ease-out,\n margin-bottom 300ms ease-out,\n opacity 300ms ease-out;\n white-space: nowrap;\n pointer-events: auto;\n\n border-radius: 3px;\n\n border-radius: var(--ring-border-radius);\n background-color: #111314;\n background-color: var(--ring-message-background-color);\n box-shadow: 0 2px 16px rgba(0, 42, 76, 0.15);\n box-shadow: 0 2px 16px var(--ring-popup-shadow-color);\n\n font-size: 13px;\n\n font-size: var(--ring-font-size);\n line-height: 40px;\n}\n\n.alertInline_b5a {\n margin: 8px;\n}\n\n.error_4c9 {\n word-wrap: break-word;\n\n color: #c22731;\n\n color: var(--ring-error-color);\n}\n\n.icon_1a3 {\n margin-right: 8px;\n}\n\n.caption_b0a {\n overflow: hidden;\n\n max-width: calc(100% - 40px);\n\n margin: 12px 40px 12px 0;\n\n white-space: normal;\n\n color: #fff;\n\n color: var(--ring-dark-text-color);\n\n line-height: 20px\n}\n\n.caption_b0a .ring-link,\n \n .caption_b0a .link_66c {\n color: #008eff;\n color: var(--ring-main-color);\n }\n\n.badge_2a3 {\n margin-left: 8px;\n\n vertical-align: baseline;\n}\n\n.loader_a6d {\n top: 2px;\n\n margin-right: 8px;\n}\n\n.close_ab8 {\n position: absolute;\n top: 2px;\n right: 0;\n\n margin: 4px;\n padding: 8px;\n\n cursor: pointer;\n\n color: #888;\n\n color: var(--ring-dark-secondary-color);\n border: none;\n background: transparent;\n\n font-size: 0;\n line-height: 0\n}\n\n.close_ab8:focus {\n color: #ff008c;\n color: var(--ring-link-hover-color);\n }\n\n@-webkit-keyframes show_a16 {\n from {\n transform: translateY(100%);\n\n opacity: 0;\n }\n\n to {\n transform: translateY(0);\n\n opacity: 1;\n }\n}\n\n@keyframes show_a16 {\n from {\n transform: translateY(100%);\n\n opacity: 0;\n }\n\n to {\n transform: translateY(0);\n\n opacity: 1;\n }\n}\n\n@-webkit-keyframes shaking_5d8 {\n 10%,\n 90% {\n transform: translateX(-1px);\n }\n\n 20%,\n 80% {\n transform: translateX(2px);\n }\n\n 30%,\n 50%,\n 70% {\n transform: translateX(-4px);\n }\n\n 40%,\n 60% {\n transform: translateX(4px);\n }\n}\n\n@keyframes shaking_5d8 {\n 10%,\n 90% {\n transform: translateX(-1px);\n }\n\n 20%,\n 80% {\n transform: translateX(2px);\n }\n\n 30%,\n 50%,\n 70% {\n transform: translateX(-4px);\n }\n\n 40%,\n 60% {\n transform: translateX(4px);\n }\n}\n\n.animationOpen_93d {\n -webkit-animation-name: show_a16;\n animation-name: show_a16;\n -webkit-animation-duration: 300ms;\n animation-duration: 300ms;\n}\n\n.animationClosing_fdb {\n z-index: -1;\n z-index: var(--ring-invisible-element-z-index);\n\n opacity: 0;\n}\n\n.animationShaking_6b8 {\n -webkit-animation-name: shaking_5d8;\n animation-name: shaking_5d8;\n -webkit-animation-duration: 500ms;\n animation-duration: 500ms;\n}\n",""]),t.locals={unit:""+o.locals.unit,"animation-duration":"300ms","animation-easing":"ease-out",close:"close_ab8",alert:"alert_84a",alertInline:"alertInline_b5a",error:"error_4c9",icon:"icon_1a3",caption:"caption_b0a",link:"link_66c",badge:"badge_2a3",loader:"loader_a6d",animationOpen:"animationOpen_93d",show:"show_a16",animationClosing:"animationClosing_fdb",animationShaking:"animationShaking_6b8",shaking:"shaking_5d8"},e.exports=t},function(e,t,n){var r=n(31),o=n(54),i=n(113),a=/"/g,s=function(e,t,n,r){var o=String(i(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+o+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},function(e,t,n){var r=n(31);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){var r=n(31),o=n(125).f,i=n(49);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(293),i=Object.keys,a=i?function(e){return i(e)}:n(802),s=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)}):Object.keys=a;return Object.keys||a},e.exports=a},function(e,t,n){"use strict";var r=n(229),o=n(127)("%Function%"),i=o.apply,a=o.call;e.exports=function(){return r.apply(a,arguments)},e.exports.apply=function(){return r.apply(i,arguments)}},function(e,t,n){"use strict";var r=n(804);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,f=-1;function d(){u&&l&&(u=!1,l.length?c=l.concat(c):f=-1,c.length&&p())}function p(){if(!u){var e=s(d);u=!0;for(var t=c.length;t;){for(l=c,c=[];++f<t;)l&&l[f].run();f=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";e.exports=function(e){return"shift"===e||"ctrl"===e||"alt"===e||"meta"===e}},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".buttonToolbar_956 {\n display: inline-block;\n\n white-space: nowrap;\n\n font-size: 0;\n}\n\n.buttonToolbar_956 > button,\n.buttonToolbar_956 > .ring-button-group,\n.buttonToolbar_956 > .button_850,\n.buttonToolbar_956 > .buttonGroup_506,\n.buttonToolbar_956 > .buttonToolbar_956 {\n margin-right: 8px;\n}\n\n.buttonToolbar_956 > :last-child {\n margin-right: 0;\n}\n",""]),t.locals={unit:""+o.locals.unit,buttonToolbar:"buttonToolbar_956",button:"button_850",buttonGroup:"buttonGroup_506"},e.exports=t},function(e,t,n){"use strict";n(224)("anchor",(function(e){return function(t){return e(this,"a","name",t)}}))},function(e,t,n){var r=n(103),o=n(60).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(103);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(240)("keys"),o=n(186);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(55),o=n(60),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(152)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(187),o=n(185),i=n(120),a=n(236),s=n(119),l=n(454),c=Object.getOwnPropertyDescriptor;t.f=n(90)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(84),o=n(55),i=n(130);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(e,t,n){var r=n(89),o=n(947),i=n(241),a=n(239)("IE_PROTO"),s=function(){},l=function(){var e,t=n(235)("iframe"),r=i.length;for(t.style.display="none",n(463).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){t.f=n(65)},function(e,t,n){var r=n(60),o=n(55),i=n(152),a=n(246),s=n(102).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";var r=n(184);function o(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){"use strict";var r=n(1011),o=n(1012),i=n(189),a=n(1013),s=n(1014),l=n(1015);e.exports=function(e,t){var n,i,a={};t||(t={});for(i in d)n=t[i],a[i]=null==n?d[i]:n;(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start);return function(e,t){var n,i,a,d,b,_,w,x,k,M,S,O,E,L,T,D,C,P,j,Y=t.additional,A=t.nonTerminated,I=t.text,R=t.reference,$=t.warning,H=t.textContext,N=t.referenceContext,z=t.warningContext,F=t.position,B=t.indent||[],U=e.length,W=0,V=-1,q=F.column||1,G=F.line||1,K="",J=[];"string"==typeof Y&&(Y=Y.charCodeAt(0));D=Z(),x=$?function(e,t){var n=Z();n.column+=t,n.offset+=t,$.call(z,v[e],n,e)}:f,W--,U++;for(;++W<U;)if(10===b&&(q=B[V]||1),38===(b=e.charCodeAt(W))){if(9===(w=e.charCodeAt(W+1))||10===w||12===w||32===w||38===w||60===w||w!=w||Y&&w===Y){K+=u(b),q++;continue}for(O=E=W+1,j=E,35===w?(j=++O,88===(w=e.charCodeAt(j))||120===w?(L=h,j=++O):L="decimal"):L=p,n="",S="",d="",T=g[L],j--;++j<U&&(w=e.charCodeAt(j),T(w));)d+=u(w),L===p&&c.call(r,d)&&(n=d,S=r[d]);(a=59===e.charCodeAt(j))&&(j++,(i=L===p&&l(d))&&(n=d,S=i)),P=1+j-E,(a||A)&&(d?L===p?(a&&!S?x(5,1):(n!==d&&(j=O+n.length,P=1+j-O,a=!1),a||(k=n?1:3,t.attribute?61===(w=e.charCodeAt(j))?(x(k,P),S=null):s(w)?S=null:x(k,P):x(k,P))),_=S):(a||x(2,P),_=parseInt(d,m[L]),(Q=_)>=55296&&Q<=57343||Q>1114111?(x(7,P),_=u(65533)):_ in o?(x(6,P),_=o[_]):(M="",y(_)&&x(6,P),_>65535&&(M+=u((_-=65536)>>>10|55296),_=56320|1023&_),_=M+u(_))):L!==p&&x(4,P)),_?(X(),D=Z(),W=j-1,q+=j-E+1,J.push(_),(C=Z()).offset++,R&&R.call(N,_,{start:D,end:C},e.slice(E-1,j)),D=C):(d=e.slice(E-1,j),K+=d,q+=d.length,W=j-1)}else 10===b&&(G++,V++,q=0),b==b?(K+=u(b),q++):X();var Q;return J.join("");function Z(){return{line:G,column:q,offset:W+(F.offset||0)}}function X(){K&&(J.push(K),I&&I.call(H,K,{start:D,end:Z()}),K="")}}(e,a)};var c={}.hasOwnProperty,u=String.fromCharCode,f=Function.prototype,d={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",h="hexadecimal",m={hexadecimal:16,decimal:10},g={};g[p]=s,g.decimal=i,g[h]=a;var v={};function y(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}v[1]="Named character references must be terminated by a semicolon",v[2]="Numeric character references must be terminated by a semicolon",v[3]="Named character references cannot be empty",v[4]="Numeric character references cannot be empty",v[5]="Named character references must be known",v[6]="Numeric character references cannot be disallowed",v[7]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";
-/*!
- * repeat-string <https://github.com/jonschlinkert/repeat-string>
- *
- * Copyright (c) 2014-2015, Jon Schlinkert.
- * Licensed under the MIT License.
- */var r,o="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,o="";else if(o.length>=n)return o.substr(0,n);for(;n>o.length&&t>1;)1&t&&(o+=e),t>>=1,e+=e;return o=(o+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=function(e){var t=String(e),n=t.length;for(;"\n"===t.charAt(--n););return t.slice(0,n+1)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var o,i,a,s,l,c,u=["pedantic","commonmark"],f=u.length,d=e.length,p=-1;for(;++p<d;){for(o=e[p],i=o[1]||{},a=o[0],s=-1,c=!1;++s<f;)if(void 0!==i[l=u[s]]&&i[l]!==n.options[l]){c=!0;break}if(!c&&t[a].apply(n,r))return!0}return!1}},function(e,t,n){"use strict";var r=n(1035);e.exports=function(e){return r(e).toLowerCase()}},function(e,t,n){var r=n(885);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";e.exports=n(890)},function(e,t,n){"use strict";e.exports=n(892)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.createChangeEmitter=function(){var e=[],t=e;function n(){t===e&&(t=e.slice())}return{listen:function(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var r=!0;return n(),t.push(e),function(){if(r){r=!1,n();var o=t.indexOf(e);t.splice(o,1)}}},emit:function(){for(var n=e=t,r=0;r<n.length;r++)n[r].apply(n,arguments)}}}},function(e,t,n){var r=n(792);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(800);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=!("undefined"==typeof window||!window.document||!window.document.createElement);var o=void 0;function i(){return void 0===o&&(o=function(){if(!r)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(e){}return e}()),o}function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function s(e){this.target=e,this.events={}}s.prototype.getEventHandlers=function(e,t){var n,r=String(e)+" "+String((n=t)?!0===n?100:(n.capture<<0)+(n.passive<<1)+(n.once<<2):0);return this.events[r]||(this.events[r]={handlers:[],handleEvent:void 0},this.events[r].nextHandlers=this.events[r].handlers),this.events[r]},s.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},s.prototype.add=function(e,t,n){var r=this,o=this.getEventHandlers(e,n);a(o),0===o.nextHandlers.length&&(o.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,o.handleEvent,n)),o.nextHandlers.push(t);var i=!0;return function(){if(i){i=!1,a(o);var s=o.nextHandlers.indexOf(t);o.nextHandlers.splice(s,1),0===o.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,o.handleEvent,n),o.handleEvent=void 0)}}};function l(e,t,n,r){e.__consolidated_events_handlers__||(e.__consolidated_events_handlers__=new s(e));var o=function(e){if(e)return i()?e:!!e.capture}(r);return e.__consolidated_events_handlers__.add(t,n,o)}},function(e,t,n){var r=n(896);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){e.exports={default:n(967),__esModule:!0}},function(e,t,n){var r=n(988);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(1069);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(1080);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){e.exports=!n(53)&&!n(54)((function(){return 7!=Object.defineProperty(n(208)("div"),"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(58),o=n(49),i=n(114);e.exports=n(53)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(80),o=n(94),i=n(210)(!1),a=n(211)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(167),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(40).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(80),o=n(82),i=n(211)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(53),o=n(114),i=n(94),a=n(144).f;e.exports=function(e){return function(t){for(var n,s=i(t),l=o(s),c=l.length,u=0,f=[];c>u;)n=l[u++],r&&!a.call(s,n)||f.push(e?[n,s[n]]:s[n]);return f}}},function(e,t,n){var r=n(40),o=n(92),i=n(139),a=n(275),s=n(58).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){t.f=n(48)},function(e,t,n){"use strict";var r=n(96),o=n(51),i=n(277),a=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?l(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(51),o=n(49),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(95)(Function.call,n(125).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){"use strict";var r=n(53),o=n(114),i=n(169),a=n(144),s=n(82),l=n(166),c=Object.assign;e.exports=!c||n(54)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=s(e),c=arguments.length,u=1,f=i.f,d=a.f;c>u;)for(var p,h=l(arguments[u++]),m=f?o(h).concat(f(h)):o(h),g=m.length,v=0;g>v;)p=m[v++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:c},function(e,t,n){var r=n(167),o=n(113);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){var r=n(49);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(142),o=n(48)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(58),o=n(141);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(171),o=n(48)("iterator"),i=n(142);e.exports=n(92).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(215),o=n(113);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(48)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){"use strict";var r,o=n(40),i=n(98)(0),a=n(63),s=n(145),l=n(279),c=n(787),u=n(51),f=n(126),d=n(126),p=!o.ActiveXObject&&"ActiveXObject"in o,h=s.getWeak,m=Object.isExtensible,g=c.ufstore,v=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(e){if(u(e)){var t=h(e);return!0===t?g(f(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return c.def(f(this,"WeakMap"),e,t)}},b=e.exports=n(218)("WeakMap",v,y,c,!0,!0);d&&p&&(l((r=c.getConstructor(v,"WeakMap")).prototype,y),s.NEED=!0,i(["delete","has","get","set"],(function(e){var t=b.prototype,n=t[e];a(t,e,(function(t,o){if(u(t)&&!m(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)}))})))},function(e,t,n){"use strict";var r=n(58).f,o=n(124),i=n(174),a=n(95),s=n(175),l=n(176),c=n(209),u=n(267),f=n(221),d=n(53),p=n(145).fastKey,h=n(126),m=d?"_s":"size",g=function(e,t){var n,r=p(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var u=e((function(e,r){s(e,u,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&l(r,n,e[c],e)}));return i(u.prototype,{clear:function(){for(var e=h(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=h(this,t),r=g(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[m]--}return!!r},forEach:function(e){h(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(h(this,t),e)}}),d&&r(u.prototype,"size",{get:function(){return h(this,t)[m]}}),u},def:function(e,t,n){var r,o,i=g(e,t);return i?i.v=n:(e._l=i={i:o=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[m]++,"F"!==o&&(e._i[o]=i)),e},getEntry:g,setStrong:function(e,t,n){c(e,t,(function(e,n){this._t=h(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?u(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,u(1))}),n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){var r,o,i,a=n(95),s=n(277),l=n(271),c=n(208),u=n(40),f=u.process,d=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,g=0,v={},y=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},b=function(e){y.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},p=function(e){delete v[e]},"process"==n(112)(f)?r=function(e){f.nextTick(a(y,e,1))}:m&&m.now?r=function(e){m.now(a(y,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",b,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),e.exports={set:d,clear:p}},function(e,t,n){"use strict";var r=n(96);function o(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(49),o=n(51),i=n(290);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(49),o=n(801),i=n(172);n(173)("search",1,(function(e,t,n,a){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var s=r(e),l=String(this),c=s.lastIndex;o(c,0)||(s.lastIndex=0);var u=i(s,l);return o(s.lastIndex,c)||(s.lastIndex=c),null===u?-1:u.index}]}))},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,o=Object.prototype.toString,i=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o.call(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o.call(e)&&"[object Function]"===o.call(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=s?i:a},function(e,t,n){"use strict";var r=function(e){return e!=e};e.exports=function(e,t){return 0===e&&0===t?1/e==1/t:e===t||!(!r(e)||!r(t))}},function(e,t,n){"use strict";var r=n(295);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},function(e,t,n){"use strict";var r=Object,o=TypeError;e.exports=function(){if(null!=this&&this!==r(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e}},function(e,t,n){"use strict";var r=n(297),o=n(117).supportsDescriptors,i=Object.getOwnPropertyDescriptor,a=TypeError;e.exports=function(){if(!o)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");if("gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof/a/.dotAll)return e.get}return r}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";var r=String.prototype.valueOf,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(i?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object String]"===o.call(e))}},function(e,t,n){"use strict";var r,o="function"==typeof Map&&Map.prototype?Map:null,i="function"==typeof Set&&Set.prototype?Set:null;o||(r=function(e){return!1});var a=o?Map.prototype.has:null,s=i?Set.prototype.has:null;r||a||(r=function(e){return!1}),e.exports=r||function(e){if(!e||"object"!=typeof e)return!1;try{if(a.call(e),s)try{s.call(e)}catch(e){return!0}return e instanceof o}catch(e){}return!1}},function(e,t,n){"use strict";var r,o="function"==typeof Map&&Map.prototype?Map:null,i="function"==typeof Set&&Set.prototype?Set:null;i||(r=function(e){return!1});var a=o?Map.prototype.has:null,s=i?Set.prototype.has:null;r||s||(r=function(e){return!1}),e.exports=r||function(e){if(!e||"object"!=typeof e)return!1;try{if(s.call(e),a)try{a.call(e)}catch(e){return!0}return e instanceof i}catch(e){}return!1}},function(e,t){var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,t,o){if("[object Function]"!==r.call(t))throw new TypeError("iterator must be a function");var i=e.length;if(i===+i)for(var a=0;a<i;a++)t.call(o,e[a],a,e);else for(var s in e)n.call(e,s)&&t.call(o,e[s],s,e)}},function(e,t,n){"use strict";(function(t){var r=n(823);e.exports=function(){return r(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],(function(e){return"function"==typeof t[e]}))}}).call(this,n(97))},function(e,t,n){"use strict";var r=n(127)("%Object.getOwnPropertyDescriptor%");if(r)try{r([],"length")}catch(e){r=null}e.exports=r},function(e,t,n){"use strict";var r=n(227),o=n(229),i=function(e){return null!=e},a=n(230)(),s=Object,l=o.call(Function.call,Array.prototype.push),c=o.call(Function.call,Object.prototype.propertyIsEnumerable),u=a?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(!i(e))throw new TypeError("target must be an object");var n,o,f,d,p,h,m,g=s(e);for(n=1;n<arguments.length;++n){o=s(arguments[n]),d=r(o);var v=a&&(Object.getOwnPropertySymbols||u);if(v)for(p=v(o),f=0;f<p.length;++f)m=p[f],c(o,m)&&l(d,m);for(f=0;f<d.length;++f)h=o[m=d[f]],c(o,m)&&(g[m]=h)}return g}},function(e,t,n){"use strict";var r=n(306);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var o=Object.assign({},n),i="";for(var a in o)i+=a;return e!==i}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},function(e,t,n){"use strict";(e.exports={}).forEach=function(e,t){for(var n=0;n<e.length;n++){var r=t(e[n]);if(r)return r}}},function(e,t,n){"use strict";var r=e.exports={};r.isIE=function(e){return(-1!==(t=navigator.userAgent.toLowerCase()).indexOf("msie")||-1!==t.indexOf("trident")||-1!==t.indexOf(" edge/"))&&(!e||e===function(){var e=3,t=document.createElement("div"),n=t.getElementsByTagName("i");do{t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e"}while(n[0]);return e>4?e:void 0}());var t},r.isLegacyOpera=function(){return!!window.opera}},function(e,t,n){"use strict";var r=n(31),o=n(98)(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(138)(i)},function(e,t){function n(e,t,n,r){return!e.addEventListener&&(t="on"+t),(e.addEventListener||e.attachEvent).call(e,t,n,r),n}e.exports=n,e.exports.on=n,e.exports.off=function(e,t,n,r){return!e.removeEventListener&&(t="on"+t),(e.removeEventListener||e.detachEvent).call(e,t,n,r),n}},function(e,t,n){"use strict";e.exports=function(e){var t,r;if(t=n(313),r=n(848),"keypress"===e.type){var o=String.fromCharCode(e.which);return e.shiftKey||(o=o.toLowerCase()),o}return void 0!==t[e.which]?t[e.which]:void 0!==r[e.which]?r[e.which]:String.fromCharCode(e.which).toLowerCase()}},function(e,t,n){"use strict";e.exports={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",173:"minus",187:"plus",189:"minus",224:"meta"};for(var r=1;r<20;++r)e.exports[111+r]="f"+r;for(r=0;r<=9;++r)e.exports[r+96]=r},function(e,t,n){var r=n(20),o=n(27),i=n(233),a=n(22);(t=r(!1)).i(o,"",!0),t.i(i,"",!0),t.i(a),t.push([e.i,":root {\n --ring-button-group-default-z-index: 0;\n --ring-button-group-disabled-z-index: -1;\n --ring-button-group-active-z-index: 1;\n --ring-button-group-hover-z-index: 2;\n --ring-button-group-focus-z-index: 3;\n}\n\n.buttonGroup_951 {\n\n position: relative;\n z-index: 0;\n\n display: inline-block;\n\n white-space: nowrap;\n}\n\n.buttonGroup_951 button,\n.buttonGroup_951 .button_ebb {\n margin: 0 0 0 -1px;\n\n border-radius: 0;\n}\n\n.caption_847 {\n\n margin-right: 8px;\n\n font-size: 13px;\n\n font-size: var(--ring-font-size)\n}\n\n.caption_847:empty {\n margin-right: 0;\n }\n\n.buttonGroup_951 > .caption_847 + .button_ebb,\n.buttonGroup_951 > button:first-child,\n.buttonGroup_951 > .button_ebb:first-child,\n.buttonGroup_951 > :first-child .button_ebb {\n margin: 0;\n\n border-top-left-radius: 3px;\n\n border-top-left-radius: var(--ring-border-radius);\n border-bottom-left-radius: 3px;\n border-bottom-left-radius: var(--ring-border-radius);\n}\n\n.buttonGroup_951 > .button_ebb:last-child,\n.buttonGroup_951 > button:last-child,\n.buttonGroup_951 > :last-child .button_ebb {\n border-top-right-radius: 3px;\n border-top-right-radius: var(--ring-border-radius);\n border-bottom-right-radius: 3px;\n border-bottom-right-radius: var(--ring-border-radius);\n}\n\n.buttonGroup_951 .button_ebb {\n position: relative;\n z-index: 0;\n z-index: var(--ring-button-group-default-z-index)\n }\n\n.buttonGroup_951 .button_ebb[disabled] {\n z-index: -1;\n z-index: var(--ring-button-group-disabled-z-index);\n }\n\n.buttonGroup_951 .button_ebb:active {\n z-index: 1;\n z-index: var(--ring-button-group-active-z-index);\n }\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.buttonGroup_951 .button_ebb:hover {\n z-index: 2;\n z-index: var(--ring-button-group-hover-z-index);\n }}\n\n.buttonGroup_951 .button_ebb:focus {\n z-index: 3;\n z-index: var(--ring-button-group-focus-z-index);\n }\n\n.buttonGroup_951 .active_4b1 {\n z-index: 1;\n z-index: var(--ring-button-group-active-z-index);\n }\n",""]),t.locals={unit:""+o.locals.unit,buttonGroup:"buttonGroup_951 "+i.locals.buttonGroup,button:"button_ebb",caption:"caption_847 "+o.locals.font,active:"active_4b1"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".buttonSet_1a8 {\n position: relative;\n\n display: inline-block;\n\n white-space: nowrap;\n\n font-size: 0\n}\n\n.buttonSet_1a8 .button_97b {\n margin: 0 8px 0 0;\n }\n\n.buttonSet_1a8 > .button_97b:last-child {\n margin-right: 0;\n }\n",""]),t.locals={unit:""+o.locals.unit,buttonSet:"buttonSet_1a8",button:"button_97b"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".container_35a {\n position: fixed;\n z-index: 5;\n z-index: var(--ring-overlay-z-index);\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n display: flex;\n overflow: auto;\n align-items: center;\n justify-content: center;\n\n padding: 32px 8px;\n\n background-color: rgba(255, 255, 255, 0.4);\n}\n\n.innerContainer_257 {\n display: flex;\n flex-direction: column;\n\n max-height: 100%;\n}\n\n.content_4b4 {\n position: relative;\n\n width: 464px;\n min-height: 120px;\n margin: auto;\n\n cursor: default;\n overflow-wrap: break-word\n}\n\n.content_4b4 .panel_b97 {\n margin-top: 0;\n padding-right: 32px;\n padding-left: 32px;\n\n border-top: none;\n\n background-color: transparent;\n }\n\n.content_4b4 {\n\n /* stylelint-disable-next-line selector-max-specificity */\n}\n\n.content_4b4 .panel_b97 button {\n margin-right: 8px;\n }\n\n.content_4b4.content_4b4 {\n box-shadow: 0 2px 16px rgba(0, 42, 76, 0.15);\n box-shadow: 0 2px 16px var(--ring-popup-shadow-color);\n}\n\n.clickableOverlay_ba2 {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n cursor: pointer;\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.clickableOverlay_ba2:hover + * .closeIcon_433 {\n color: #80c6ff;\n color: var(--ring-border-hover-color);\n}}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.closeButton_28d:hover .closeIcon_433 {\n color: #80c6ff;\n color: var(--ring-border-hover-color);\n}}\n\n.clickableOverlay_ba2:active + * .closeIcon_433 {\n color: #008eff;\n color: var(--ring-main-color);\n}\n\n.closeButton_28d:active .closeIcon_433 {\n color: #008eff;\n color: var(--ring-main-color);\n}\n\n.closeButton_28d {\n position: absolute;\n top: 0;\n right: -32px;\n}\n\n.bodyWithoutScroll_979 {\n overflow: hidden;\n\n height: 100%;\n}\n\n.popupTarget_244 {\n position: fixed;\n z-index: 5;\n z-index: var(--ring-overlay-z-index);\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n pointer-events: none\n}\n\n.popupTarget_244 > :not(.popupTarget_244) {\n pointer-events: initial;\n }\n",""]),t.locals={unit:""+o.locals.unit,container:"container_35a",innerContainer:"innerContainer_257",content:"content_4b4",panel:"panel_b97",clickableOverlay:"clickableOverlay_ba2",closeIcon:"closeIcon_433",closeButton:"closeButton_28d",bodyWithoutScroll:"bodyWithoutScroll_979",popupTarget:"popupTarget_244"},e.exports=t},function(e,t,n){var r=n(31),o=n(113),i=n(54),a=n(887),s="["+a+"]",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(e,t,n){var o={},s=i((function(){return!!a[e]()||"​…"!="​…"[e]()})),l=o[e]=s?t(f):a[e];n&&(o[n]=l),r(r.P+r.F*s,"String",o)},f=u.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=u},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,'@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.row_b65:hover .dragHandle_2d4 {\n opacity: 1;\n}}\n\n.tableWrapper_3a8 {\n position: relative;\n}\n\n.table_71e {\n width: 100%;\n\n border-spacing: 0;\n}\n\n.userSelectNone_c11 {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.headerCell_728 {\n\n box-sizing: border-box;\n height: 24px;\n padding-right: 40px;\n\n text-align: left;\n white-space: nowrap;\n\n color: #737577;\n\n color: var(--ring-secondary-color);\n\n font-weight: 200;\n }\n\n.headerCell_728:first-child {\n padding-left: 32px;\n }\n\n.headerCell_728:last-child {\n width: 100%;\n padding-right: 32px;\n }\n\n.headerCell_728:first-child:only-child {\n width: auto;\n width: initial;\n max-width: none;\n }\n\n.headerCell_728.headerCellSorted_5b9 {\n font-weight: 500;\n }\n\n.headerCell_728.headerCellSortable_7a8 {\n cursor: pointer;\n }\n\n.headerCell_728 .sorter_940 {\n position: absolute;\n\n display: none;\n\n margin-left: 6px;\n\n -webkit-user-select: none;\n\n -moz-user-select: none;\n\n -ms-user-select: none;\n\n user-select: none;\n }\n\n.headerCell_728.headerCellSortable_7a8 .sorter_940 {\n display: inline-block;\n }\n\n.sortedUp_a3e .icon_dc0 {\n transform: rotate(180deg);\n transform-origin: center 53%;\n}\n\n.caption_1a6 {\n padding-top: 8px;\n padding-bottom: 6px;\n\n text-transform: capitalize;\n\n color: #1f2326;\n\n color: var(--ring-text-color);\n border-bottom: none;\n\n font-size: 13px;\n\n font-size: var(--ring-font-size);\n font-weight: bold;\n line-height: 18px;\n line-height: var(--ring-line-height-lower);\n}\n\n.tableHead_634::after {\n position: absolute;\n\n width: 100%;\n\n height: 1px;\n\n content: "";\n\n background-color: #dfe5eb;\n\n background-color: var(--ring-line-color);\n }\n\n.subHeaderFixed_3c1::after {\n position: absolute;\n top: 24px;\n\n height: 1px;\n\n content: "";\n\n background-color: #dfe5eb;\n\n background-color: var(--ring-line-color);\n }\n\n.subHeader_7fb::after {\n right: 32px;\n left: 32px;\n }\n\n.subHeaderFixed_3c1 {\n position: fixed;\n z-index: 1;\n z-index: var(--ring-fixed-z-index);\n top: 0;\n\n opacity: 0.9;\n background-color: #fff;\n background-color: var(--ring-content-background-color)\n}\n\n.subHeaderFixed_3c1::after {\n right: 0;\n left: 0;\n }\n\n.row_b65 {\n outline: none;\n\n line-height: 30px;\n }\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.table_71e:not(.disabledHover_1ba) .row_b65:hover {\n background-color: #ebf6ff;\n background-color: var(--ring-hover-background-color);\n }}\n\n.rowSelected_84f {\n background-color: #d4edff;\n background-color: var(--ring-selected-background-color);\n}\n\n.rowFocused_91b {\n background-color: #ebf6ff;\n background-color: var(--ring-hover-background-color)\n\n /* stylelint-disable-next-line selector-max-specificity */\n}\n\n.rowFocused_91b .cell_a14:nth-child(1) {\n box-shadow: inset 2px 0 #008eff;\n box-shadow: inset 2px 0 var(--ring-main-color);\n }\n\n.loadingOverlay_a34 {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n background-color: rgba(255, 255, 255, 0.5);\n}\n\n.cell_a14 {\n\n box-sizing: content-box;\n\n min-width: 0;\n\n height: 32px;\n padding: 0;\n padding-right: 40px;\n\n color: #1f2326;\n\n color: var(--ring-text-color);\n }\n\n.cell_a14:first-child {\n padding-left: 32px;\n }\n\n.cell_a14:last-child {\n width: 100%;\n\n /* Markup hack, allows cell to have content which is wider than cell and collapses it */\n\n max-width: 0;\n padding-right: 32px;\n }\n\n.cell_a14:first-child {\n min-width: 296px;\n max-width: 616px;\n }\n\n.cell_a14:first-child:only-child {\n width: auto;\n width: initial;\n max-width: none;\n }\n\n.cellUnlimited_aff {\n width: 100%;\n}\n\n.cellRight_cb5 {\n text-align: right;\n}\n\n.metaColumn_456 {\n position: relative;\n\n float: left;\n\n height: 16px;\n padding-right: 2px\n}\n\n.metaColumn_456.headerMetaColumn_144 {\n padding-top: 1px;\n }\n\n.dragHandle_2d4 {\n top: -3px;\n left: -16px;\n\n cursor: -webkit-grab;\n\n cursor: grab;\n\n opacity: 0;\n}\n\n/* override button */\n.dragHandle_2d4.dragHandle_2d4 {\n position: absolute;\n\n height: 35px;\n padding: 0;\n}\n\n.dragHandle_2d4.visibleDragHandle_19d {\n opacity: 1;\n}\n\n.rowCollapseExpandButton_940 {\n padding-right: 4px;\n padding-left: 7px;\n}\n\n.draggingRow_801 {\n z-index: 5;\n z-index: var(--ring-overlay-z-index);\n\n background-color: #ebf6ff;\n\n background-color: var(--ring-hover-background-color)\n}\n\n.draggingRow_801 .dragHandle_2d4 {\n cursor: -webkit-grabbing;\n cursor: grabbing;\n\n opacity: 1\n }\n\n.draggingRow_801 .dragHandle_2d4 svg {\n color: #008eff;\n color: var(--ring-main-color);\n }\n',""]),t.locals={unit:""+o.locals.unit,height:"32px",compensate:"2px",compensated:"30px",top:"-3px",row:"row_b65",dragHandle:"dragHandle_2d4",tableWrapper:"tableWrapper_3a8",table:"table_71e",userSelectNone:"userSelectNone_c11",headerCell:"headerCell_728 "+o.locals["font-smaller-lower"],headerCellSorted:"headerCellSorted_5b9",headerCellSortable:"headerCellSortable_7a8",sorter:"sorter_940",sortedUp:"sortedUp_a3e",icon:"icon_dc0",caption:"caption_1a6",tableHead:"tableHead_634",subHeaderFixed:"subHeaderFixed_3c1",subHeader:"subHeader_7fb",disabledHover:"disabledHover_1ba",rowSelected:"rowSelected_84f",rowFocused:"rowFocused_91b",cell:"cell_a14 "+o.locals.ellipsis,loadingOverlay:"loadingOverlay_a34",cellUnlimited:"cellUnlimited_aff",cellRight:"cellRight_cb5",metaColumn:"metaColumn_456",headerMetaColumn:"headerMetaColumn_144",visibleDragHandle:"visibleDragHandle_19d",rowCollapseExpandButton:"rowCollapseExpandButton_940",draggingRow:"draggingRow_801"},e.exports=t},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,n,i,a){var s=r(t),l=o[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(r,o,i,a){var s=t(r),l=n[e][t(r)];return 2===s&&(l=l[o?0:1]),l.replace(/%d/i,r)}},o=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,o,i,a){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[o?0:1]),l.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n){var r,o;return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(r=+e,o={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}var n=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,o=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:o,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:o,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],o=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function i(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,n,r){var o=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?o+(i(e)?"sekundy":"sekund"):o+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?o+(i(e)?"minuty":"minut"):o+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?o+(i(e)?"hodiny":"hodin"):o+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?o+(i(e)?"dny":"dní"):o+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?o+(i(e)?"měsíce":"měsíců"):o+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?o+(i(e)?"roky":"let"):o+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n,r){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?o[n][0]:o[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n,r){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?o[n][0]:o[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n,r){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?o[n][0]:o[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],o=t&&t.hours();return n=r,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",o%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha invalida"})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n,r){var o={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?o[n][2]?o[n][2]:o[n][1]:r?o[n][0]:o[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,o,i){var a="";switch(o){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":return i?"sekunnin":"sekuntia";case"m":return i?"minuutin":"minuutti";case"mm":a=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":a=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":a=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":a=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":a=i?"vuoden":"vuotta"}return a=function(e,r){return e<10?r?n[e]:t[e]:e}(e,i)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n,r){var o={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?o[n][0]:o[n][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n,r){var o={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?o[n][0]:o[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var o=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return o+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return o+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return o+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return o+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return o+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return o+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e){return e%100==11||e%10!=1}function n(e,n,r,o){var i=e+" ";switch(r){case"s":return n||o?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?i+(n||o?"sekúndur":"sekúndum"):i+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?i+(n||o?"mínútur":"mínútum"):n?i+"mínúta":i+"mínútu";case"hh":return t(e)?i+(n||o?"klukkustundir":"klukkustundum"):i+"klukkustund";case"d":return n?"dagur":o?"dag":"degi";case"dd":return t(e)?n?i+"dagar":i+(o?"daga":"dögum"):n?i+"dagur":i+(o?"dag":"degi");case"M":return n?"mánuður":o?"mánuð":"mánuði";case"MM":return t(e)?n?i+"mánuðir":i+(o?"mánuði":"mánuðum"):n?i+"mánuður":i+(o?"mánuð":"mánuði");case"y":return n||o?"ár":"ári";case"yy":return t(e)?i+(n||o?"ár":"árum"):i+(n||o?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n,r){var o={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?o[n][0]:o[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?o(n)[0]:r?o(n)[1]:o(n)[2]}function r(e){return e%10==0||e>10&&e<20}function o(e){return t[e].split("_")}function i(e,t,i,a){var s=e+" ";return 1===e?s+n(0,t,i[0],a):t?s+(r(e)?o(i)[1]:o(i)[0]):a?s+o(i)[1]:s+(r(e)?o(i)[1]:o(i)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:i,m:n,mm:i,h:n,hh:i,d:n,dd:i,M:n,MM:i,y:n,yy:i},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,o){return e+" "+n(t[o],e,r)}function o(e,r,o){return n(t[o],e,r)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:r,m:o,mm:r,h:o,hh:r,d:o,dd:r,M:o,MM:r,y:o,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var o=t.words[r];return 1===r.length?n?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var o="";if(t)switch(n){case"s":o="काही सेकंद";break;case"ss":o="%d सेकंद";break;case"m":o="एक मिनिट";break;case"mm":o="%d मिनिटे";break;case"h":o="एक तास";break;case"hh":o="%d तास";break;case"d":o="एक दिवस";break;case"dd":o="%d दिवस";break;case"M":o="एक महिना";break;case"MM":o="%d महिने";break;case"y":o="एक वर्ष";break;case"yy":o="%d वर्षे"}else switch(n){case"s":o="काही सेकंदां";break;case"ss":o="%d सेकंदां";break;case"m":o="एका मिनिटा";break;case"mm":o="%d मिनिटां";break;case"h":o="एका तासा";break;case"hh":o="%d तासां";break;case"d":o="एका दिवसा";break;case"dd":o="%d दिवसां";break;case"M":o="एका महिन्या";break;case"MM":o="%d महिन्यां";break;case"y":o="एका वर्षा";break;case"yy":o="%d वर्षां"}return o.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],o=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],o=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,t,n){var o=e+" ";switch(n){case"ss":return o+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return o+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return o+(r(e)?"godziny":"godzin");case"MM":return o+(r(e)?"miesiące":"miesięcy");case"yy":return o+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?""===r?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n){var r,o;return"m"===n?t?"минута":"минуту":e+" "+(r=+e,o={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function o(e,t,n,o){var i=e+" ";switch(n){case"s":return t||o?"pár sekúnd":"pár sekundami";case"ss":return t||o?i+(r(e)?"sekundy":"sekúnd"):i+"sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?i+(r(e)?"minúty":"minút"):i+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?i+(r(e)?"hodiny":"hodín"):i+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?i+(r(e)?"dni":"dní"):i+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?i+(r(e)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?i+(r(e)?"roky":"rokov"):i+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n,r){var o=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return o+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return o+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return o+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return o+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return o+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return o+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var o=t.words[r];return 1===r.length?n?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var o=t.words[r];return 1===r.length?n?o[0]:o[1]:e+" "+t.correctGrammaticalCase(e,o)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Пагоҳ соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,o){var i=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),o=e%10,i="";return n>0&&(i+=t[n]+"vatlh"),r>0&&(i+=(""!==i?" ":"")+t[r]+"maH"),o>0&&(i+=(""!==i?" ":"")+t[o]),""===i?"pagh":i}(e);switch(r){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n,r){var o={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?o[n][0]:o[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js language configuration
-e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-function t(e,t,n){var r,o;return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(r=+e,o={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),r%10==1&&r%100!=11?o[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?o[1]:o[2])}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(3))},function(e,t,n){!function(e){"use strict";
-//! moment.js locale configuration
-e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(3))},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".filterWithTags_8f4 {\n overflow: hidden;\n\n margin: 16px 8px 0;\n padding: 1px;\n\n text-align: left;\n\n border: 1px solid #b8d1e5;\n\n border: 1px solid var(--ring-borders-color)\n}\n\n.filterWithTags_8f4 .filterWrapper_668 {\n border-bottom: none;\n }\n\n.filterWithTagsFocused_d60 {\n border: 1px solid #80c6ff;\n border: 1px solid var(--ring-border-hover-color);\n}\n\n.filter_cd5 {\n width: 100%\n}\n\n.filter_cd5 input {\n font-weight: 200;\n }\n\n.filterWrapper_668 {\n position: relative;\n\n margin: 0;\n padding-right: 8px;\n padding-left: 44px;\n\n border-bottom: 1px solid #b8d1e5;\n\n border-bottom: 1px solid var(--ring-borders-color)\n}\n\n[dir=rtl] .filterWrapper_668 {\n padding-right: 44px;\n padding-left: 8px\n}\n\n.filterIcon_aa4 {\n position: absolute;\n top: 7px;\n left: 16px;\n\n color: #b8d1e5;\n\n color: var(--ring-icon-color)\n}\n\n[dir=rtl] .filterIcon_aa4 {\n right: 16px;\n left: auto\n}\n\n.bottomLine_2b6 {\n text-align: center;\n}\n\n.message_bf0 {\n display: inline-block;\n\n margin: 8px 0;\n padding: 0 16px;\n}\n\n.selectAll_2d3 {\n display: flex;\n justify-content: space-between;\n\n padding: 8px 16px 0;\n}\n",""]),t.locals={unit:""+o.locals.unit,filterWithTags:"filterWithTags_8f4",filterWrapper:"filterWrapper_668",filterWithTagsFocused:"filterWithTagsFocused_d60",filter:"filter_cd5",filterIcon:"filterIcon_aa4",bottomLine:"bottomLine_2b6",message:"message_bf0",selectAll:"selectAll_2d3"},e.exports=t},function(e,t,n){var r=n(907);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(31);r(r.S,"Number",{isInteger:n(929)})},function(e,t,n){e.exports=!n(90)&&!n(130)((function(){return 7!=Object.defineProperty(n(235)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(119),o=n(120),i=n(934)(!1),a=n(239)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(151);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(238),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(119),o=n(153),i=n(239)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(943)),o=a(n(951)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){"use strict";var r=n(945)(!0);n(461)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(152),o=n(84),i=n(462),a=n(118),s=n(154),l=n(946),c=n(188),u=n(458),f=n(65)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,m,g,v){l(n,t,h);var y,b,_,w=function(e){if(!d&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",k="values"==m,M=!1,S=e.prototype,O=S[f]||S["@@iterator"]||m&&S[m],E=O||w(m),L=m?k?w("entries"):E:void 0,T="Array"==t&&S.entries||O;if(T&&(_=u(T.call(new e)))!==Object.prototype&&_.next&&(c(_,x,!0),r||"function"==typeof _[f]||a(_,f,p)),k&&O&&"values"!==O.name&&(M=!0,E=function(){return O.call(this)}),r&&!v||!d&&!M&&S[f]||a(S,f,E),s[t]=E,s[x]=p,m)if(y={values:k?E:w("values"),keys:g?E:w("keys"),entries:L},v)for(b in y)b in S||i(S,b,y[b]);else o(o.P+o.F*(d||M),t,y);return y}},function(e,t,n){e.exports=n(118)},function(e,t,n){var r=n(60).document;e.exports=r&&r.documentElement},function(e,t,n){n(948);for(var r=n(60),o=n(118),i=n(154),a=n(65)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],f=u&&u.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(e,t,n){var r=n(455),o=n(241).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){},function(e,t,n){var r=n(151),o=n(65)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(89),o=n(184),i=n(65)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i,a=n(149),s=n(976),l=n(463),c=n(235),u=n(60),f=u.process,d=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,g=0,v={},y=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},b=function(e){y.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},p=function(e){delete v[e]},"process"==n(151)(f)?r=function(e){f.nextTick(a(y,e,1))}:m&&m.now?r=function(e){m.now(a(y,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",b,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),e.exports={set:d,clear:p}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(89),o=n(103),i=n(248);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,o="/"===a.charAt(0))}return(o?"/":"")+(t=n(r(t.split("/"),(function(e){return!!e})),!o).join("/"))||"."},t.normalize=function(e){var i=t.isAbsolute(e),a="/"===o(e,-1);return(e=n(r(e.split("/"),(function(e){return!!e})),!i).join("/"))||i||(e="."),e&&a&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),s=a,l=0;l<a;l++)if(o[l]!==i[l]){s=l;break}var c=[];for(l=s;l<o.length;l++)c.push("..");return(c=c.concat(i.slice(s))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=a+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(231))},function(e,t,n){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},function(e,t,n){"use strict";e.exports={position:!0,gfm:!0,commonmark:!1,footnotes:!1,pedantic:!1,blocks:n(1019)}},function(e,t,n){"use strict";e.exports=function(e){var t,n=0,o=0,i=e.charAt(n),a={};for(;i in r;)o+=t=r[i],t>1&&(o=Math.floor(o/t)*t),a[o]=n,i=e.charAt(++n);return{indent:o,stops:a}};var r={" ":1,"\t":4}},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",o="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+o+")"),t.tag=new RegExp("^(?:"+r+"|"+o+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Za-z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)")},function(e,t,n){"use strict";e.exports=function(e,t){return e.indexOf("<",t)}},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);if(-1===r)return n;return n<r?n:r}},function(e,t,n){var r=n(1107);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,u=c&&c(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(u){var d=c(n);d&&d!==u&&e(t,d,f)}var p=a(n);s&&(p=p.concat(s(n)));for(var h=0;h<p.length;++h){var m=p[h];if(!(r[m]||o[m]||f&&f[m])){var g=l(n,m);try{i(t,m,g)}catch(e){}}}return t}return t}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){!function(t){var n={browser:[[/msie ([\.\_\d]+)/,"ie"],[/trident\/.*?rv:([\.\_\d]+)/,"ie"],[/firefox\/([\.\_\d]+)/,"firefox"],[/chrome\/([\.\_\d]+)/,"chrome"],[/version\/([\.\_\d]+).*?safari/,"safari"],[/mobile safari ([\.\_\d]+)/,"safari"],[/android.*?version\/([\.\_\d]+).*?safari/,"com.android.browser"],[/crios\/([\.\_\d]+).*?safari/,"chrome"],[/opera/,"opera"],[/opera\/([\.\_\d]+)/,"opera"],[/opera ([\.\_\d]+)/,"opera"],[/opera mini.*?version\/([\.\_\d]+)/,"opera.mini"],[/opios\/([a-z\.\_\d]+)/,"opera"],[/blackberry/,"blackberry"],[/blackberry.*?version\/([\.\_\d]+)/,"blackberry"],[/bb\d+.*?version\/([\.\_\d]+)/,"blackberry"],[/rim.*?version\/([\.\_\d]+)/,"blackberry"],[/iceweasel\/([\.\_\d]+)/,"iceweasel"],[/edge\/([\.\d]+)/,"edge"]],os:[[/linux ()([a-z\.\_\d]+)/,"linux"],[/mac os x/,"macos"],[/mac os x.*?([\.\_\d]+)/,"macos"],[/os ([\.\_\d]+) like mac os/,"ios"],[/openbsd ()([a-z\.\_\d]+)/,"openbsd"],[/android/,"android"],[/android ([a-z\.\_\d]+);/,"android"],[/mozilla\/[a-z\.\_\d]+ \((?:mobile)|(?:tablet)/,"firefoxos"],[/windows\s*(?:nt)?\s*([\.\_\d]+)/,"windows"],[/windows phone.*?([\.\_\d]+)/,"windows.phone"],[/windows mobile/,"windows.mobile"],[/blackberry/,"blackberryos"],[/bb\d+/,"blackberryos"],[/rim.*?os\s*([\.\_\d]+)/,"blackberryos"]],device:[[/ipad/,"ipad"],[/iphone/,"iphone"],[/lumia/,"lumia"],[/htc/,"htc"],[/nexus/,"nexus"],[/galaxy nexus/,"galaxy.nexus"],[/nokia/,"nokia"],[/ gt\-/,"galaxy"],[/ sm\-/,"galaxy"],[/xbox/,"xbox"],[/(?:bb\d+)|(?:blackberry)|(?: rim )/,"blackberry"]]},r=Object.keys(n);function o(){var e=this;r.forEach((function(t){e[t]={name:"Unknown",version:[],versionString:"Unknown"}}))}function i(e,t,r){n[t].forEach((function(n){var o=n[0],i=n[1],a=r.match(o);a&&(e[t].name=i,a[2]?(e[t].versionString=a[2],e[t].version=[]):a[1]?(e[t].versionString=a[1].replace(/_/g,"."),e[t].version=a[1].split(/[\._]/).map((function(e){return parseInt(e)}))):(e[t].versionString="Unknown",e[t].version=[]))}))}o.prototype.sniff=function(e){var t=this,n="undefined"!=typeof window?navigator.userAgent:"",o=(e||n).toLowerCase();return r.forEach((function(e){i(t,e,o)})),this},e.exports?e.exports=o:(t.Sniffr=new o,t.Sniffr.sniff(navigator.userAgent))}(this)},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M7 15.74a.71.71 0 0 1-.68-.53L4.27 6.87l-.59 2.3A.71.71 0 0 1 3 9.7H0V8.3h2.46l1.15-4.47a.74.74 0 0 1 .69-.53.69.69 0 0 1 .7.53l2 8.3L9.82.83a.71.71 0 0 1 .66-.53.65.65 0 0 1 .69.49l2.34 7.51H16v1.4h-3a.7.7 0 0 1-.67-.49l-1.75-5.62-2.9 11.62a.71.71 0 0 1-.68.53z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M9 4.1H5.9V1H4.1v3.1H1v1.8h3.1V9h1.8V5.9H9V4.1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M19 9h-8V1H9v8H1v2h8v8h2v-8h8V9z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M14 7.11H8.9v-5.1H7.1v5.1H2v1.8h5.1v5.08h1.8V8.91H14v-1.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M6 9l-3 3-3-3v6h16V5l-7 7zm3-1L6 5 3 8 0 5v2l3 3 3-3 3 3 7-7V1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M12 11v-1l-1-.5V11h-1v-1l-1-.5V11H8v-1l-1-.5V11H6v-1l-1-.5V11H4v-1l-1-.5V11H2v-1l-1-.5V14h14v-3h-1v-1l-1-.5V11zm3-1.5V5H9a2.51 2.51 0 0 0-2.5-2H1v5h1v1l1 .5V8h1v1l1 .5V8h1v1l1 .5V8h1v1l1 .5V8h1v1l1 .5V8h1v1l1 .5V8h1v1z"></path></svg>'},function(e,t){e.exports='<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M2.702 6.313l1 1L7.295 3.7V15h1.4V3.7l3.603 3.603 1-1L7.995 1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M1 10.65v1.69L7.72 15a.8.8 0 0 0 .57 0L15 12.35v-1.69l-7 2.71zm0-3.49v1.69l6.73 2.61a.8.8 0 0 0 .57 0l6.7-2.6V7.17L8 9.88zM8.22 1a.54.54 0 0 0-.43 0L1 3.74v1.69L7.72 8a.8.8 0 0 0 .57 0L15 5.43V3.74zM8 6.45l-5.3-2L8 2.24l5.31 2.15z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M8 5.19a1 1 0 0 0 1-1 .94.94 0 0 0-.23-.68 1 1 0 0 0-1.39-.06 7.75 7.75 0 0 1-1.18.86 4.52 4.52 0 0 1-.8.38 4.71 4.71 0 0 1 .11-.84 7.83 7.83 0 0 1 .42-1.43 1 1 0 0 0-1.29-1.3 1 1 0 0 0-.51 1.3 6.54 6.54 0 0 1 .43 1.43 5.16 5.16 0 0 1 .11.88 5 5 0 0 1-.81-.38 7.83 7.83 0 0 1-1.18-.9 1 1 0 0 0-.75-.26 1 1 0 0 0 .17 2 7 7 0 0 1 1.45 0 5 5 0 0 1 .87.19 4 4 0 0 1-.63.62 6.28 6.28 0 0 1-1.19.85 1 1 0 0 0-.49.62 1 1 0 0 0 .51 1.32 1 1 0 0 0 1.32-.51A.89.89 0 0 0 4 8a6.58 6.58 0 0 1 .52-1.36A4.79 4.79 0 0 1 5 5.89a3.59 3.59 0 0 1 .49.79A6.22 6.22 0 0 1 6 8a1 1 0 0 0 .49.62 1 1 0 0 0 .94-1.73 7.53 7.53 0 0 1-1.19-.84 7.36 7.36 0 0 1-.63-.62 5.42 5.42 0 0 1 .87-.19A7 7 0 0 1 8 5.19z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13 9.41a10.46 10.46 0 0 1-2.53-.65A15.4 15.4 0 0 1 8.83 8a15.3 15.3 0 0 1 1.65-.76A9.61 9.61 0 0 1 13 6.6a1.45 1.45 0 0 0 1-.6 1.43 1.43 0 0 0-2.34-1.66 9 9 0 0 1-1.81 1.9 15.24 15.24 0 0 1-1.48 1 15.65 15.65 0 0 1 .17-1.8A10.5 10.5 0 0 1 9.25 3a1.41 1.41 0 0 0 0-1.17 1.41 1.41 0 0 0-1.82-.69A1.41 1.41 0 0 0 6.78 3a9.55 9.55 0 0 1 .71 2.52 15.53 15.53 0 0 1 .11 1.8 15.24 15.24 0 0 1-1.48-1 9.82 9.82 0 0 1-1.83-1.95 1.45 1.45 0 0 0-1-.57A1.41 1.41 0 0 0 3 6.6a9.64 9.64 0 0 1 2.52.65A14.61 14.61 0 0 1 7.18 8a15.4 15.4 0 0 1-1.65.75A10.5 10.5 0 0 1 3 9.41 1.39 1.39 0 0 0 2 10a1.41 1.41 0 0 0 2.21 1.74l.06-.09a10.39 10.39 0 0 1 1.85-1.88 15.11 15.11 0 0 1 1.47-1 13.54 13.54 0 0 1-.17 1.8A10 10 0 0 1 6.78 13a1.41 1.41 0 0 0 2.58 1.12 1.45 1.45 0 0 0 0-1.12 9.27 9.27 0 0 1-.7-2.52 13.43 13.43 0 0 1-.24-1.8 15.11 15.11 0 0 1 1.47 1 10.39 10.39 0 0 1 1.83 1.86 1.48 1.48 0 0 0 1 .58 1.41 1.41 0 0 0 .3-2.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13.62 8.07L6.48 1l-1 1 7.13 7.07a3.19 3.19 0 0 1 1 2 2.37 2.37 0 0 1-.68 1.93 2.43 2.43 0 0 1-1.87.65 3.21 3.21 0 0 1-2.06-1l-1-.94-5.3-5.29a1 1 0 0 1 0-1.36 1 1 0 0 1 1.38 0l6.76 6.7 1-1L5 4.1a2.41 2.41 0 0 0-3.36 0 2.35 2.35 0 0 0 0 3.33l.63.57L8 13.63A4.63 4.63 0 0 0 11 15h.26A3.68 3.68 0 0 0 15 11a4.54 4.54 0 0 0-1.38-2.93z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M4 8.39l2 2.09 2.39-2.72 2.69 2.75 4.7-5.89-1.56-1.24-3.3 4.11-2.63-2.68L6 7.52l-1.91-2-3.8 3.77 1.42 1.42zM0 12.3v1.4h16v-1.4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path d="M4 3v2h11V3zm0 6h7V7H4zm0 4h4v-2H4zm-3 2h1.4V1H1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13 12.6V7.92a5 5 0 0 0-4.3-4.85V0H7.3v3.07A5 5 0 0 0 3 7.92v4.68H1V14h5a2 2 0 0 0 4 0h5v-1.4zM4.4 7.92a3.6 3.6 0 0 1 7.2 0v4.68H4.4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M14.47 4a2 2 0 1 0-2.73 1.86 7 7 0 0 1-5.9 6.35 2 2 0 0 0-1.14-1.08V5.87a2 2 0 1 0-1.4 0v5.26a2 2 0 1 0 2.59 2.48 8.41 8.41 0 0 0 7.25-7.73A2 2 0 0 0 14.47 4zM3.4 13a.6.6 0 1 1 .6.6.6.6 0 0 1-.6-.6zm9.67-9a.6.6 0 1 1-.6-.6.6.6 0 0 1 .6.6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M14.5 10.8h-1.85V8.2h1.85a.7.7 0 0 0 .61-.36L16 6.23l-1.22-.68-.7 1.25h-1.4V5.32a.7.7 0 0 0-.7-.7H11a2.66 2.66 0 0 0-.18-.94l2.31-2.32-1-1L10 2.53A2.58 2.58 0 0 0 8.4 2h-.8a2.62 2.62 0 0 0-1.41.42L4.12.35l-1 1 2.15 2.12A2.58 2.58 0 0 0 5 4.6H4a.7.7 0 0 0-.7.7v1.5H1.91l-.7-1.25L0 6.23l.88 1.61a.71.71 0 0 0 .61.36H3.3v2.12a3.71 3.71 0 0 0 .05.48H1.49a.71.71 0 0 0-.61.36L0 12.77l1.22.68.7-1.25H3.7a4.69 4.69 0 0 0 8.6 0h1.79l.7 1.25 1.21-.68-.9-1.61a.7.7 0 0 0-.6-.36zm-3.21-.48a3.3 3.3 0 1 1-6.59 0V6h6.59z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M6.29 7l2.11 3.27.47.73 1.27 2L14 7zM3 9V3h6v3h2V1H1v10h6.68L6.32 9z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M6.3 7l3.85 6L14 7zM4.47 6H11V1H1v10h6.69L5.46 7.54z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M1 1h10v10H1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M9 9H3V3h6m2-2H1v10h10V1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M10 11l3.13 5 1.26 2 .61 1 .61-1L18 14.19 20 11zm-6 5V4h12v6h2V2H2v16h11.21L12 16z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M10 11l4.39 7 .61 1 .61-1L18 14.19 20 11zm-1.81-1H18V2H2v16h11.21l-4.06-6.47z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M15 2H2v16h16V2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M16 4v12H4V4h12m2-2H2v16h16V2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M11 1H1v2h10zM3 9V6h8V4H1v7h6.69L6.33 9zm3.3-2l2.11 3.27.47.73 1.27 2L14 7z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M6.3 7l3.85 6L14 7zM4.47 6H11V4H1v7h6.69L5.46 7.54zM11 1H1v2h10z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M1 11h10V4H1zM1 1v2h10V1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M1 11h10V4H1zm2-5h6v3H3zM1 1v2h10V1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M10 11l3.13 5 1.26 2 .61 1 .61-1L18 14.19 20 11zm-6 5V8h12v2h2V6H2v12h11.21L12 16zM18 2H2v2h16z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M18 2H2v2h16zm-8 9l4.39 7 .61 1 .61-1L18 14.19 20 11zm-1.81-1H18V6H2v12h11.21l-4.06-6.47z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M2 2v2h16V2zm0 16h16V6H2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M2 18h16V6H2zM4 8h12v8H4zM2 2v2h16V2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M11 11h4V7zM2.7 5.69l3.8 3.8 3-3 3 3 1-1-4-4-3 3-3.8-3.78V2H1.3v12.7H15v-1.4H2.7z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M10 1a9 9 0 1 0 9 9 9 9 0 0 0-9-9zm0 16.4a7.4 7.4 0 1 1 7.4-7.4 7.41 7.41 0 0 1-7.4 7.4zm3.29-12.11L10 8.59l-3.29-3.3-1.42 1.42L8.59 10l-3.3 3.29 1.42 1.42 3.29-3.3 3.29 3.3 1.42-1.42-3.3-3.29 3.3-3.29z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13 3.05A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM12 12a5.6 5.6 0 0 1-8 0 5.61 5.61 0 0 1 0-8 5.6 5.6 0 0 1 8 0 5.61 5.61 0 0 1 0 8zm-1.35-7.92L8 6.73 5.35 4.08 4.08 5.35 6.73 8l-2.65 2.65 1.27 1.27L8 9.27l2.65 2.65 1.27-1.27L9.27 8l2.65-2.65z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M8 3L5 7 2 3h6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M3 2l4 3-4 3V2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13 0l-3 3h2.3v9h1.4V3H16zM5 5.7h6V4.3H5zm0 3h6V7.3H5zm0 3h6v-1.4H5zM3.7 4H2.3v9H0l3 3 3-3H3.7z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M11.51 10.49L8 6.99l-3.5 3.5-1-.98L8 5.01l4.49 4.5-.98.98z"></path></svg>'},function(e,t){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6.32 5.04c1.01 0 2.04.63 2.16 1.96.32-.4.78-.57 1.25-.57 1.2 0 2.46 1.14 1.74 2.57h.14c2.46 0 2.61 2.97-.14 3h-7c-2.69 0-2.56-3.98 0-4-.73-1.92.54-2.96 1.85-2.96m0-1.4c-1.19 0-2.28.54-2.9 1.45-.39.55-.57 1.21-.56 1.91-1.07.57-1.76 1.7-1.76 3.06.01 1.66 1.17 3.34 3.37 3.34h7c2.26-.02 3.43-1.49 3.42-2.93-.01-1.03-.64-2.11-1.83-2.6-.04-.44-.19-.86-.43-1.25-.6-.97-1.74-1.59-2.91-1.59-.17 0-.35.01-.51.04-.62-.89-1.66-1.43-2.89-1.43z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M5.15 5L3.88 3.76.29 7.34a.91.91 0 0 0 0 1.28l3.64 3.64L5.2 11l-3-3zm10.6 2.31l-3.59-3.55L10.89 5l2.95 3-3 3 1.27 1.28 3.64-3.64a.91.91 0 0 0 0-1.3zM5.63 13.78l1.74.44 3-12-1.76-.44z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M12.36 1H3.64A2.64 2.64 0 0 0 1 3.64v8.72A2.64 2.64 0 0 0 3.64 15h8.72A2.64 2.64 0 0 0 15 12.36V3.64A2.64 2.64 0 0 0 12.36 1zm1.24 11.36a1.25 1.25 0 0 1-1.24 1.24H3.64a1.25 1.25 0 0 1-1.24-1.24V3.64A1.25 1.25 0 0 1 3.64 2.4h8.72a1.25 1.25 0 0 1 1.24 1.24zM4 8.71h8v-1.4H4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13.23 2H2.77A1.77 1.77 0 0 0 1 3.77v7.44A1.77 1.77 0 0 0 2.77 13H3v3l4.16-3h6.06A1.77 1.77 0 0 0 15 11.21V3.77A1.77 1.77 0 0 0 13.23 2zm.37 9.21a.38.38 0 0 1-.37.37H2.77a.38.38 0 0 1-.37-.37V3.77a.38.38 0 0 1 .37-.37h10.46a.38.38 0 0 1 .37.37z" fill-rule="evenodd"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M10.08 7l1 1 3.44-3.45L11 1l-1 1 1.8 1.8H2v1.4h9.82zM5.86 9l-1-1-3.44 3.5L4.91 15l1-1-1.81-1.8H14v-1.4H4.1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M11 5V1H1v10h4v4h10V5zM2.4 9.6V2.4h7.2v7.2zm11.2 4H6.4V11H11V6.4h2.6z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M13 4l2-2-1-1-2 2H4.6V1H3v2H1v1.6h2V13h8.4v2H13v-2h2v-1.6h-2zm-2.6.6l-5.8 5.8V4.6zm-4.8 6.8l5.8-5.8v5.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M5 1H3v11h2zm4 5H7v6h2zm4-3h-2v9h2zM1 13.6V15h14v-1.4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M5 4a1 1 0 1 0 1 1 1 1 0 0 0-1-1zm6 6a1 1 0 1 0 1 1 1 1 0 0 0-1-1zM8 7a1 1 0 1 0 1 1 1 1 0 0 0-1-1zm4.36-6H3.64A2.64 2.64 0 0 0 1 3.64v8.72A2.64 2.64 0 0 0 3.64 15h8.72A2.64 2.64 0 0 0 15 12.36V3.64A2.64 2.64 0 0 0 12.36 1zm1.24 11.36a1.25 1.25 0 0 1-1.24 1.24H3.64a1.25 1.25 0 0 1-1.24-1.24V3.64A1.25 1.25 0 0 1 3.64 2.4h8.72a1.25 1.25 0 0 1 1.24 1.24z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" width="16" height="16" xmlns="http://www.w3.org/2000/svg"><path class="disconnected-path" d="M10.01 7.99L7.5 10.5l-2-2L8 6 7 5 4.5 7.5l-.57-.57c-.24-.24-.65-.21-.93.07s-.31.69-.07.93L3 8l-2 2c-.48.48-.48 1.52 0 2l1 1-2 2v1h1l2-2 1 1c.48.48 1.52.48 2 0l2-2 .07.07c.24.24.65.21.93-.07s.31-.69.07-.93l-.57-.57 2.51-2.51zM16 0h-1l-2 2-1-1c-.48-.48-1.52-.48-2 0l-.99.99-.08-.07c-.23-.23-.65-.2-.92.07-.28.28-.31.7-.08.93l.07.07-.01.02L13 8l.01-.01.07.07c.24.24.65.2.93-.07.28-.28.31-.69.07-.93l-.07-.07L15 6c.48-.48.48-1.52 0-2l-1-1 2-2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M7.3 2.68V7h1.4V2.68l.93.93 1-1L8 0 5.38 2.62l1 1 .92-.94zm1.4 10.63V9H7.3v4.3l-.93-.92-1 1L8 16l2.62-2.61-1-1-.92.92zm4.68-7.93l-1 1 .93.93H9V8.7h4.3l-.92.92 1 1L16 8l-2.62-2.62zM7 8.7V7.3H2.68l.93-.93-1-1L0 8l2.61 2.61 1-1-.92-.91H7z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 3.909L7.077 3 2 8.001 7.075 13l.923-.909-4.152-4.09zM14 3.909L13.077 3 8 8.001 13.075 13l.923-.909-4.152-4.09z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 3.909L8.923 3 14 8.001 8.925 13l-.923-.909 4.152-4.09zM2 3.909L2.923 3 8 8.001 2.925 13l-.923-.909 4.152-4.09z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M2 13.1v1.8h12v-1.8zm10.51-5.63l-1-1L8.7 9.3V1H7.3v8.3L4.48 6.48l-1 1L8 12z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 11.09a1.41 1.41 0 0 0-.2-.71 1.74 1.74 0 0 1-.16-.23l-.26-.38c-.08-.12-.16-.27-.26-.45a4 4 0 0 1-.21-.52.2.2 0 0 0-.21-.16.2.2 0 0 0-.22.16 4 4 0 0 1-.21.52 5 5 0 0 1-.27.45l-.26.38c-.09.15-.15.23-.15.23a1.33 1.33 0 0 0-.21.71 1.28 1.28 0 0 0 .38.92 1.3 1.3 0 0 0 .93.38A1.3 1.3 0 0 0 8 11.09zm5.22-1.31a5 5 0 0 1-1.53 3.69A5 5 0 0 1 8 15a5 5 0 0 1-3.69-1.53 5 5 0 0 1-1.53-3.69A5.22 5.22 0 0 1 3.61 7l.63-.92C4.63 5.5 5 5 5.27 4.52a20.27 20.27 0 0 0 1-1.82A12.7 12.7 0 0 0 7.13.65a.89.89 0 0 1 .35-.48.88.88 0 0 1 1 0 .84.84 0 0 1 .35.48 13.16 13.16 0 0 0 .84 2.06 18.94 18.94 0 0 0 1 1.81c.3.47.64 1 1 1.54l.63.92a5.12 5.12 0 0 1 .83 2.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M0 2v12h16V2zm13.24 1.4L8 7.14 2.76 3.4zM1.4 12.6V4.15L8 8.86l6.6-4.71v8.45z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13 3.05A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM4 4a5.55 5.55 0 0 1 4-1.6 5.2 5.2 0 0 1 .69.07v1.42a1.63 1.63 0 0 1-1.63 1.64h-.82a1.64 1.64 0 1 0 0 3.27h3.27a2 2 0 0 1 1.64.82 18.77 18.77 0 0 0 1.49 1.5A4.91 4.91 0 0 1 12 12a5.52 5.52 0 0 1-2.69 1.48l-2.25-2.42a2.45 2.45 0 0 0-1.64-.62H3A5.6 5.6 0 0 1 4 4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M12.36 1H3.64A2.64 2.64 0 0 0 1 3.64v8.72A2.64 2.64 0 0 0 3.64 15h8.72A2.64 2.64 0 0 0 15 12.36V3.64A2.64 2.64 0 0 0 12.36 1zm1.24 11.36a1.25 1.25 0 0 1-1.24 1.24H3.64a1.25 1.25 0 0 1-1.24-1.24V3.64A1.25 1.25 0 0 1 3.64 2.4h8.72a1.25 1.25 0 0 1 1.24 1.24zM8 10.3A2.3 2.3 0 0 1 5.7 8H4.3a3.7 3.7 0 0 0 7.4 0h-1.4A2.3 2.3 0 0 1 8 10.3zM6 5a1 1 0 1 0-1 1 1 1 0 0 0 1-1zm5-1a1 1 0 1 0 1 1 1 1 0 0 0-1-1z"></path></svg>'},function(e,t){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M11.98.3H7.04C5.53.3 4.3 1.53 4.3 3.04V5h1.4V3.04c0-.74.6-1.34 1.34-1.34h4.94c.74 0 1.34.6 1.34 1.34v9.91c0 .74-.6 1.34-1.34 1.34H7.04c-.74 0-1.34-.6-1.34-1.34V11H4.3v1.96c0 1.51 1.23 2.74 2.74 2.74h4.94c1.51 0 2.74-1.23 2.74-2.74V3.04c0-1.51-1.23-2.74-2.74-2.74zM8 12l4-4-4-4v3.3H1v1.4h7z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M10 1a9 9 0 1 0 9 9 9 9 0 0 0-9-9zm1 15H9v-2h2zm0-4H9l-.24-8h2.45z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M12.36 1H3.64A2.64 2.64 0 0 0 1 3.64v8.72A2.64 2.64 0 0 0 3.64 15h8.72A2.64 2.64 0 0 0 15 12.36V3.64A2.64 2.64 0 0 0 12.36 1zm1.24 11.36a1.25 1.25 0 0 1-1.24 1.24H3.64a1.25 1.25 0 0 1-1.24-1.24V3.64A1.25 1.25 0 0 1 3.64 2.4h8.72a1.25 1.25 0 0 1 1.24 1.24zM8.7 4H7.3v3.31H4v1.4h3.3V12h1.4V8.71H12v-1.4H8.7z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M17 7.94l1-1-.71-.71-3.53-3.52-.71-.71-1 1 .71.71-3.69 3.68L3.54 8.5 2 8.81 11.19 18l1.42-7.07 3.69-3.7zm-4 .56H9.94l3.82-3.81 1.55 1.55zm1 7.5a2 2 0 0 0 4 0c0-1.1-2-3.6-2-3.6s-2 2.5-2 3.6z"></path></svg>'},function(e,t){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M15.71 7.77A8.187 8.187 0 0 0 8 2.51 8.031 8.031 0 0 0 .28 7.78c-.04.15-.04.3 0 .44A8.077 8.077 0 0 0 8 13.49a8.2 8.2 0 0 0 7.72-5.26c.04-.15.04-.31-.01-.46zM8 12.01c-2.7.1-5.18-1.51-6.2-4.01A6.419 6.419 0 0 1 8 3.99 6.554 6.554 0 0 1 14.19 8 6.564 6.564 0 0 1 8 12.01zm0-6.66c-.18 0-.36.02-.53.06.26.35.4.77.4 1.21a2.251 2.251 0 0 1-2.35 2.16H5.41c.42 1.41 1.9 2.21 3.31 1.79s2.21-1.9 1.79-3.31A2.64 2.64 0 0 0 8 5.35z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M4 3v4h11V3zm0 10h7V9H4zm1-3h5v2H5zm-4 5h1.4V1H1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="#9AA7B0" fill-rule="evenodd"><path fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill-opacity=".8" d="M10 14v1H3V6h5V1h5v6h-3v3H7v4h3z"></path><path d="M13 11h3v2h-3v3h-2v-3H8v-2h3V8h2v3z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M6 1H3v14h3zM10 15h3V1h-3z"></path><path fill="#40B6E0" d="M7.6 2H6l.8 1h1.601zM7.6 8H6l.8 1h1.601zM7.6 10H6l.8 1h1.601zM7.6 12H6l.8 1h1.601zM7.6 14H6l.8 1h1.601zM7.6 4H6l.8 1h1.601zM7.6 6H6l.8 1h1.601zM8.4 3H10l-.8 1H7.599zM8.4 1H10l-.8 1H7.599zM8.4 9H10l-.8 1H7.599zM8.4 11H10l-.8 1H7.599zM8.4 13H10l-.8 1H7.599zM8.4 5H10l-.8 1H7.599zM8.4 7H10l-.8 1H7.599z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#F26522" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#231F20" fill-opacity=".7" d="M5.15 13l-.654-1.6L3.85 13h1.3zm-1.041-3h.781L7 15H5.9l-.5-1H3.6l-.5 1H2l2.109-5zM8.973 11.502c0-.369.311-.502.872-.502H11v-1H9.86C8.778 10 8 10.46 8 11.45c0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H8.3v1h1.171c2.029 0 2.029-1 2.029-1.452 0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#F26522" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#231F20" fill-opacity=".7" d="M5.15 13l-.654-1.6L3.85 13h1.3zm-1.041-3h.781L7 15H5.9l-.5-1H3.6l-.5 1H2l2.109-5zM8.395 13.588c.23.25.443.412.892.412.526 0 .713-.412.713-.702V10h1v3.588C11 14.32 10.327 15 9.45 15c-.821 0-1.3-.237-1.65-.68l.595-.732z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 15H3V6h5V1h5v6.1A5 5 0 0 0 8 15z"></path><path fill="#40B6E0" d="M14.904 12.579l.91.653a3.996 3.996 0 0 1-.835 1.445l-1.02-.46a2.95 2.95 0 0 1-1.006.582l-.111 1.114a4.016 4.016 0 0 1-1.67 0l-.111-1.114a2.95 2.95 0 0 1-1.006-.582l-1.02.46a3.996 3.996 0 0 1-.835-1.445l.91-.653a2.968 2.968 0 0 1 0-1.158l-.91-.653a3.996 3.996 0 0 1 .835-1.445l1.02.46a2.95 2.95 0 0 1 1.006-.582l.11-1.114a4.016 4.016 0 0 1 1.67 0l.112 1.114a2.95 2.95 0 0 1 1.006.582l1.02-.46c.372.413.66.904.835 1.445l-.91.653a2.968 2.968 0 0 1 0 1.158zm-2.897.837a1.415 1.415 0 1 0 0-2.831 1.415 1.415 0 0 0 0 2.83z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#40B6E0" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#231F20" fill-opacity=".7" d="M2 12.501C2 11 2.931 10 4.256 10c.946 0 1.294.311 1.713.753l-.542.674C5.077 11.068 4.75 11 4.25 11 3.418 11 3 11.738 3 12.487 3 13.237 3.412 14 4.25 14c.537 0 .802-.107 1.177-.494l.573.638c-.456.525-.803.856-1.775.856C2.949 15 2 14.002 2 12.501zM7.973 11.502c0-.369.311-.502.872-.502H10v-1H8.86C7.778 10 7 10.46 7 11.45c0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H7.3v1h1.171c2.029 0 2.029-1 2.029-1.452 0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645zM11.973 11.502c0-.369.311-.502.872-.502H14v-1h-1.14c-1.082 0-1.86.46-1.86 1.45 0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H11.3v1h1.171c2.029 0 2.029-1 2.029-1.452 0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M6 15H3V6h5V1h5v5.366a3.25 3.25 0 0 0-3.423 5.504C7.85 12.273 6 13.165 6 14.543V15z"></path><path fill="#9AA7B0" d="M11.5 11.5a2.25 2.25 0 1 0 .001-4.499A2.25 2.25 0 0 0 11.5 11.5z"></path><path fill="#40B6E0" d="M11.5 12.625c-1.502 0-4.5.754-4.5 2.25V16h9v-1.125c0-1.496-2.998-2.25-4.5-2.25z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M1 15h14v-3H1zM1 4h14V1H1z"></path><path fill="#40B6E0" d="M4.5 4.379L2 7h2v5h1V7h2zM11.5 4.379L9 7h2v1h1V7h2zM11 10h1V9h-1zM11 12h1v-1h-1z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#F26522" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M3 11v3h.649C4.578 14 5 13.493 5 12.515V12.5c0-.978-.422-1.5-1.351-1.5H3zm-1-1h1.649C5.04 10 6 11.093 6 12.5c0 1.421-.96 2.5-2.351 2.5H2v-5zM12 11v3h.649c.929 0 1.351-.507 1.351-1.485V12.5c0-.978-.422-1.5-1.351-1.5H12zm-1-1h1.649C14.04 10 15 11.093 15 12.5c0 1.421-.96 2.5-2.351 2.5H11v-5zM8 11H6.5v-1h4v1H9v4H8z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><defs><linearGradient id="a" x1="16.835%" x2="159.599%" y1="63.497%" y2="19.863%"><stop offset="0%" stop-color="#F69923"></stop><stop offset="31.23%" stop-color="#F79A23"></stop><stop offset="83.83%" stop-color="#E97826"></stop></linearGradient><linearGradient id="b" x1="-217.367%" x2="74.968%" y1="394.12%" y2="13.671%"><stop offset="32.33%" stop-color="#9E2064"></stop><stop offset="63.02%" stop-color="#C92037"></stop><stop offset="75.14%" stop-color="#CD2335"></stop><stop offset="100%" stop-color="#E97826"></stop></linearGradient><linearGradient id="c" x1="-20.305%" x2="125.697%" y1="192.631%" y2="-136.581%"><stop offset="0%" stop-color="#282662"></stop><stop offset="9.548%" stop-color="#662E8D"></stop><stop offset="78.82%" stop-color="#9F2064"></stop><stop offset="94.87%" stop-color="#CD2032"></stop></linearGradient><linearGradient id="d" x1="-79.867%" x2="146.442%" y1="170.503%" y2="-44.384%"><stop offset="32.33%" stop-color="#9E2064"></stop><stop offset="63.02%" stop-color="#C92037"></stop><stop offset="75.14%" stop-color="#CD2335"></stop><stop offset="100%" stop-color="#E97826"></stop></linearGradient><linearGradient id="e" x1="-18.376%" x2="164.728%" y1="77.298%" y2="-41.36%"><stop offset="0%" stop-color="#282662"></stop><stop offset="9.548%" stop-color="#662E8D"></stop><stop offset="78.82%" stop-color="#9F2064"></stop><stop offset="94.87%" stop-color="#CD2032"></stop></linearGradient><linearGradient id="f" x1="-34.831%" x2="110.897%" y1="187.637%" y2="-51.127%"><stop offset="32.33%" stop-color="#9E2064"></stop><stop offset="63.02%" stop-color="#C92037"></stop><stop offset="75.14%" stop-color="#CD2335"></stop><stop offset="100%" stop-color="#E97826"></stop></linearGradient><linearGradient id="g" x1="-129.474%" x2="66.599%" y1="465.394%" y2="17.067%"><stop offset="32.33%" stop-color="#9E2064"></stop><stop offset="63.02%" stop-color="#C92037"></stop><stop offset="75.14%" stop-color="#CD2335"></stop><stop offset="100%" stop-color="#E97826"></stop></linearGradient></defs><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M5.645 15H3V6h5V1h5v1.023c-1.246.962-2.725 2.502-4.364 4.426-2.83 3.323-3.472 7.109-2.901 8.375l-.09.176zM13 10.134V15H8.789c1.42-.836 3.047-2.55 4.211-4.866z"></path><path fill="url(#a)" fill-rule="nonzero" d="M8.05.106c-.298.154-.784.582-1.374 1.207l.54.884c.376-.471.762-.894 1.147-1.255C8.391.913 8.408.9 8.408.9c-.017.014-.028.029-.045.043-.126.12-.507.505-1.075 1.274.552-.024 1.4-.12 2.09-.226C9.582.986 9.174.524 9.174.524s-.518-.73-1.125-.418z" transform="rotate(5 -20.357 67.846)"></path><path d="M12.957 7.83l.076.006-.544.06c-.038-.004-.081.046-.081.046.162-.093.353-.076.549-.113zm-.666 1.533a2.795 2.795 0 0 1-.63.16c.208-.035.422-.124.63-.16zm-4.502 3.173a.306.306 0 0 1 .02-.037c.14-.263.283-.516.42-.76.157-.275.308-.547.458-.804.157-.276.313-.537.468-.794.162-.266.318-.527.472-.774.128-.201.25-.398.372-.585.039-.065.083-.123.122-.188.077-.123.16-.241.236-.36.07-.11.14-.215.21-.315l.07-.105c.006-.004.007-.009.013-.018h-.066l-.042-.096c-.006.009-.013.018-.019.022-.107.155-.215.31-.323.47-.063.09-.12.182-.184.273a40.963 40.963 0 0 0-1.467 2.343c-.156.26-.305.518-.45.776-.15.266-.301.533-.446.8l-.099.18c-.118.211-.23.424-.343.631l.07.15.072.002c0-.004.007-.014.007-.018.145-.268.285-.535.429-.793z"></path><path fill="#BE202E" fill-rule="nonzero" d="M11.799 10.121c-.203.09-.421.179-.645.32.118-.043.219-.088.336-.132.106-.098.207-.143.309-.188z"></path><path fill="#BE202E" fill-rule="nonzero" d="M11.799 10.121c-.203.09-.421.179-.645.32.118-.043.219-.088.336-.132.106-.098.207-.143.309-.188z" opacity=".35"></path><path fill="#BE202E" fill-rule="nonzero" d="M11.623 9.574c.041.003.082.007.127-.043.168-.039.34-.131.508-.17-.208.035-.422.124-.635.213z"></path><path fill="#BE202E" fill-rule="nonzero" d="M11.623 9.574c.041.003.082.007.127-.043.168-.039.34-.131.508-.17-.208.035-.422.124-.635.213z" opacity=".35"></path><path fill="url(#b)" fill-rule="nonzero" d="M5.629 4.48c.165-.264.33-.528.496-.778.177-.264.347-.52.53-.764l.032-.044c.177-.24.353-.476.53-.697l-.54-.884c-.04.043-.083.086-.122.13A27.173 27.173 0 0 0 4.493 4.02c-.005.009-.01.014-.016.023l.7 1.207c.149-.264.298-.52.452-.77z" transform="rotate(5 -20.357 67.846)"></path><path fill="url(#c)" fill-rule="nonzero" d="M2.442 11.27c-.093.22-.187.447-.28.677 0 .005 0 .005-.006.01-.011.034-.028.067-.039.096l-.243.615c.204.082 2.057-.317 2.509-.966.039-.058.077-.12.11-.183-.204.226-.463.323-.943.303.706-.274 1.059-.538 1.373-.98.072-.106.15-.217.22-.342-.617.553-1.333.712-2.089.592l-.568.052c-.005.044-.027.087-.044.125z" transform="rotate(5 -20.357 67.846)"></path><path fill="url(#d)" fill-rule="nonzero" d="M2.707 10.168c.121-.274.248-.552.375-.836.121-.27.248-.539.38-.813.133-.274.265-.543.397-.817a40.963 40.963 0 0 1 .86-1.644c.055-.096.105-.193.16-.289.094-.168.188-.331.281-.495a.104.104 0 0 1 .017-.024l-.7-1.211c-.011.014-.022.033-.033.048-.166.23-.326.47-.486.711-.16.245-.32.495-.474.745-.132.212-.259.428-.38.645-.028.043-.05.086-.072.13-.154.273-.292.538-.413.793a14.999 14.999 0 0 0-.574 1.317c-.05.135-.093.274-.137.409-.105.317-.193.64-.27.956l.7 1.217c.093-.217.187-.438.286-.659.028-.058.055-.12.083-.183z" transform="rotate(5 -20.357 67.846)"></path><path fill="url(#e)" fill-rule="nonzero" d="M1.626 9.842c-.088.389-.148.774-.182 1.158 0 .015-.053 1.31.05 1.543-.119.294-.297.751-.536 1.371l.26-.123c.28-.714.502-1.272.668-1.675.027-.063.05-.125.077-.188.005-.02.016-.034.022-.053.093-.226.193-.461.292-.697.022-.053.044-.106.072-.163l-.7-1.217c-.017.02-.017.034-.023.044z" transform="rotate(5 -20.357 67.846)"></path><path fill="url(#f)" fill-rule="nonzero" d="M5.287 5.346c-.022.034-.038.072-.06.11l-.182.333c-.067.125-.133.25-.204.38-.034.062-.072.13-.105.196-.105.198-.21.404-.32.616-.132.26-.265.529-.402.812-.133.27-.265.544-.397.832-.127.274-.254.553-.386.842-.116.26-.232.524-.353.793l-.017.038c-.115.27-.237.548-.353.832 0 .005-.005.014-.005.02l.568-.054c-.011 0-.022-.004-.033-.004.678-.073 1.577-.515 2.155-1.058.27-.25.513-.548.734-.894.165-.26.325-.544.474-.861C6.533 8 7.989 4.914 8 4.875c-.015.01-.917.159-2.707.447 0 .015-.006.02-.006.024z" transform="rotate(5 -20.357 67.846)"></path><path fill="url(#g)" fill-rule="nonzero" d="M7.283 2.212c-.16.211-.33.452-.518.726-.011.014-.022.028-.028.043-.16.235-.33.495-.507.779-.154.245-.314.505-.485.788-.144.245-.298.505-.452.784C7.082 5.04 7.984 4.889 8 4.879c.015-.01.59-1.143.75-1.413a7.99 7.99 0 0 0 .396-.76c.067-.148.122-.288.155-.408.033-.106.055-.211.077-.308-.695.101-1.544.198-2.095.222z" transform="rotate(5 -20.357 67.846)"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#62B543" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M3 10h1v2h2v-2h1v5H6v-2H4v2H3z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#B99BF8" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M3 15h1v-5H3zM6 11v3h.649C7.578 14 8 13.493 8 12.515V12.5c0-.978-.422-1.5-1.351-1.5H6zm-1-1h1.649C8.04 10 9 11.093 9 12.5c0 1.421-.96 2.5-2.351 2.5H5v-5zM10 10h1v4h2.5v1H10z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#40B6E0" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M5 11c-.708 0-1 .54-1 1.5S4.285 14 5 14c.715 0 1-.554 1-1.5S5.708 11 5 11zm0-1c1.207 0 2 1.118 2 2.5S6.206 15 5 15s-2-1.119-2-2.5c0-1.541.793-2.5 2-2.5zM9.1 10l-1.1.443.157.782L9 11v4h1v-5z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2.033c.164-.019.33-.033.5-.033C5.981 8 8 10.019 8 12.5c0 .931-.293 1.786-.783 2.5H13V1H8z"></path><path fill="#F26522" fill-opacity=".7" d="M7 12.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0"></path><path fill="#231F20" fill-opacity=".7" d="M2.395 13.588c.23.25.443.412.892.412.526 0 .713-.412.713-.702V10h1v3.588C5 14.32 4.327 15 3.45 15c-.821 0-1.3-.237-1.65-.68l.595-.732z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#40B6E0" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M3.395 13.588c.23.25.443.412.892.412.526 0 .713-.412.713-.702V10h1v3.588C6 14.32 5.327 15 4.45 15c-.821 0-1.3-.237-1.65-.68l.595-.732z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#F4AF3D" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M2.395 13.588c.23.25.443.412.892.412.526 0 .713-.412.713-.702V10h1v3.588C5 14.32 4.327 15 3.45 15c-.821 0-1.3-.237-1.65-.68l.595-.732zM6.973 11.502c0-.369.311-.502.872-.502H9v-1H7.86C6.778 10 6 10.46 6 11.45c0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H6.3v1h1.171C9.5 15 9.5 14 9.5 13.548c0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="#9AA7B0" fill-rule="evenodd"><path d="M8.416 13.896c0-.157.021-.578.021-.757 0-.82-.31-1.155-1.168-1.155H7v-.969h.269c.858 0 1.168-.347 1.168-1.167 0-.179-.021-.598-.021-.757 0-1.071.466-1.744 2.349-2.09l.216.84c-1.241.347-1.406.673-1.406 1.44 0 .211.021.557.021.778 0 .82-.393 1.22-1.076 1.442.693.23 1.076.62 1.076 1.44 0 .22-.021.566-.021.777 0 .768.165 1.094 1.406 1.44l-.216.842c-1.883-.348-2.349-1.02-2.349-2.104m3.603 1.262c1.24-.347 1.406-.673 1.406-1.439 0-.21-.02-.558-.02-.779 0-.82.392-1.22 1.075-1.44-.692-.232-1.075-.62-1.075-1.44 0-.22.02-.568.02-.779 0-.768-.165-1.093-1.406-1.44l.217-.84c1.883.345 2.348 1.018 2.348 2.091 0 .158-.021.578-.021.756 0 .821.31 1.167 1.169 1.167H16v.968h-.268c-.86 0-1.17.336-1.17 1.156 0 .18.022.6.022.757 0 1.083-.465 1.756-2.348 2.104l-.217-.842z"></path><path fill-opacity=".8" d="M7 1L3 5h4zM10.596 12.94c0 .122-.011 1.01-.005 1.035l.002-.002c.03 0 .907.292.907.292s.872-.289.925-.325c-.007-.013-.02-.878-.02-1 0-.449.089-.975.404-1.437-.27-.39-.404-.873-.404-1.444 0-.122.01-1.01.004-1.035l-.001.001c-.031 0-.908-.29-.908-.29s-.872.288-.925.323c.007.014.02.88.02 1.001 0 .45-.09.974-.403 1.437.268.39.404.872.404 1.444"></path><path fill-opacity=".8" d="M7.416 13.896c0-.084.019-.868.016-.905-.04-.005-1.432-.008-1.432-.008v-2.968s1.391-.003 1.431-.008c.004-.038-.015-.83-.015-.915 0-2.21 1.692-2.804 3.168-3.076l.916-.168.916.168c.192.035.389.077.584.127V1H8v5H3v9h4.609a3.214 3.214 0 0 1-.193-1.104"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="#9AA7B0" fill-rule="evenodd"><path fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill-opacity=".8" d="M6.416 13.896c0-.084.019-.868.016-.905-.04-.005-1.432-.008-1.432-.008v-2.968s1.391-.003 1.431-.008c.004-.038-.015-.83-.015-.915 0-2.21 1.692-2.804 3.168-3.076l.916-.168.694 2.692s-1.566.484-1.619.519c.007.014.015 1.11.012 1.166l1.528-1.55 1.676 2.184.209-.366V1.001H8v5H3v9h3.609a3.214 3.214 0 0 1-.193-1.104"></path><path d="M11.754 15l-2.262-2.854c.069.242.104.506.104.794 0 .123-.011 1.01-.005 1.036l.002-.002c.03 0 1.6.485 1.6.485l-.138.541h.699z" opacity=".5"></path><path d="M7.416 13.896c0-.157.021-.578.021-.757 0-.82-.31-1.155-1.168-1.155H6v-.969h.269c.858 0 1.168-.347 1.168-1.167 0-.179-.021-.598-.021-.757 0-1.071.466-1.744 2.349-2.09l.216.84c-1.241.347-1.406.673-1.406 1.44 0 .211.021.557.021.778 0 .82-.393 1.22-1.076 1.442.693.23 1.076.62 1.076 1.44 0 .22-.021.566-.021.777 0 .768.165 1.094 1.406 1.44L9.765 16c-1.883-.348-2.349-1.02-2.349-2.104M12.914 12.662l-1.894-2.467-.997 1.011 2.988 3.769 2.987-4.964L15.004 9z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M6.416 13.896c0-.084.019-.868.016-.905-.04-.005-1.432-.008-1.432-.008v-2.968s1.391-.003 1.431-.008c.004-.038-.015-.83-.015-.915 0-2.21 1.692-2.804 3.168-3.076l.916-.168.694 2.692s-1.566.484-1.619.519c.007.014.015 1.11.012 1.166l1.528-1.55 1.676 2.184.209-.366V1.001H8v5H3v9h3.609a3.214 3.214 0 0 1-.193-1.104"></path><path fill="#9AA7B0" d="M11.754 15l-2.262-2.854c.069.242.104.506.104.794 0 .123-.011 1.01-.005 1.036l.002-.002c.03 0 1.6.485 1.6.485l-.138.541h.699z" opacity=".5"></path><path fill="#231F20" fill-opacity=".7" d="M7.416 13.896c0-.157.021-.578.021-.757 0-.82-.31-1.155-1.168-1.155H6v-.969h.269c.858 0 1.168-.347 1.168-1.167 0-.179-.021-.598-.021-.757 0-1.071.466-1.744 2.349-2.09l.216.84c-1.241.347-1.406.673-1.406 1.44 0 .211.021.557.021.778 0 .82-.393 1.22-1.076 1.442.693.23 1.076.62 1.076 1.44 0 .22-.021.566-.021.777 0 .768.165 1.094 1.406 1.44L9.765 16c-1.883-.348-2.349-1.02-2.349-2.104M12.914 12.662l-1.894-2.467-.997 1.011 2.988 3.769 2.987-4.964L15.004 9z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#231F20" fill-opacity=".7" d="M8.416 13.896c0-.157.021-.578.021-.757 0-.82-.31-1.155-1.168-1.155H7v-.969h.269c.858 0 1.168-.347 1.168-1.167 0-.179-.021-.598-.021-.757 0-1.071.466-1.744 2.349-2.09l.216.84c-1.241.347-1.406.673-1.406 1.44 0 .211.021.557.021.778 0 .82-.393 1.22-1.076 1.442.693.23 1.076.62 1.076 1.44 0 .22-.021.566-.021.777 0 .768.165 1.094 1.406 1.44l-.216.842c-1.883-.348-2.349-1.02-2.349-2.104m3.603 1.262c1.24-.347 1.406-.673 1.406-1.439 0-.21-.02-.558-.02-.779 0-.82.392-1.22 1.075-1.44-.692-.232-1.075-.62-1.075-1.44 0-.22.02-.568.02-.779 0-.768-.165-1.093-1.406-1.44l.217-.84c1.883.345 2.348 1.018 2.348 2.091 0 .158-.021.578-.021.756 0 .821.31 1.167 1.169 1.167H16v.968h-.268c-.86 0-1.17.336-1.17 1.156 0 .18.022.6.022.757 0 1.083-.465 1.756-2.348 2.104l-.217-.842z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4zM10.596 12.94c0 .122-.011 1.01-.005 1.035l.002-.002c.03 0 .907.292.907.292s.872-.289.925-.325c-.007-.013-.02-.878-.02-1 0-.449.089-.975.404-1.437-.27-.39-.404-.873-.404-1.444 0-.122.01-1.01.004-1.035l-.001.001c-.031 0-.908-.29-.908-.29s-.872.288-.925.323c.007.014.02.88.02 1.001 0 .45-.09.974-.403 1.437.268.39.404.872.404 1.444"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7.416 13.896c0-.084.019-.868.016-.905-.04-.005-1.432-.008-1.432-.008v-2.968s1.391-.003 1.431-.008c.004-.038-.015-.83-.015-.915 0-2.21 1.692-2.804 3.168-3.076l.916-.168.916.168c.192.035.389.077.584.127V1H8v5H3v9h4.609a3.214 3.214 0 0 1-.193-1.104"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#F26522" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M2.395 13.588c.23.25.443.412.892.412.526 0 .713-.412.713-.702V10h1v3.588C5 14.32 4.327 15 3.45 15c-.821 0-1.3-.237-1.65-.68l.595-.732zM11.9 12.5c.664 0 1.1-.116 1.1-.75s-.443-.75-1.1-.75H11v1.5h.9zM10 10h1.971c1.171 0 2.029.642 2.029 1.65 0 1.636-1.029 1.85-2.128 1.85H11V15h-1v-5zM6.973 11.502c0-.369.311-.502.872-.502H9v-1H7.86C6.778 10 6 10.46 6 11.45c0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H6.3v1h1.171C9.5 15 9.5 14 9.5 13.548c0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#F26522" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M2.395 13.588c.23.25.443.412.892.412.526 0 .713-.412.713-.702V10h1v3.588C5 14.32 4.327 15 3.45 15c-.821 0-1.3-.237-1.65-.68l.595-.732zM14.5 10l-1.6 2.45L14.5 15h-1.2l-1.05-1.907L11.2 15H10l1.6-2.55L10 10h1.2l1.05 1.814L13.3 10zM6.973 11.502c0-.369.311-.502.872-.502H9v-1H7.86C6.778 10 6 10.46 6 11.45c0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H6.3v1h1.171C9.5 15 9.5 14 9.5 13.548c0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#B99BF8" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M3 10h.936L5.5 12l1.479-2H8v5H7v-3.3l-1.5 1.8L4 11.7V15H3zM10 11.001h2V10H9v5h1v-2h1.8v-1H10z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 10h3V8h3V1H8v5H3v9h4z"></path><path fill="#62B543" d="M14 16h2V7h-2z"></path><path fill="#F4AF3D" d="M11 16h2V9h-2z"></path><path fill="#F26522" d="M8 16h2v-5H8z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M13 8.073A4.5 4.5 0 0 0 8.92 15H3V6h5V1h5v7.073z"></path><path fill="#231F20" fill-opacity=".7" d="M5 12h3v-1H5v1zm0-2h4V9H5v1zm0-2h6V7H5v1z"></path><path fill="#40B6E0" d="M13.333 11.286l1.981-1.143.7 1.212-1.981 1.144 1.981 1.144-.7 1.212-1.981-1.144V16h-1.4V13.71l-1.981 1.144-.7-1.212 1.981-1.144-1.981-1.144.7-1.212 1.981 1.143V9h1.4v2.287z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v9h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M5 12h4v-1H5v1zm0-2h6V9H5v1zm0-2h6V7H5v1z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="#9AA7B0" fill-opacity=".8" fill-rule="evenodd"><path d="M7 1L3 5h4z"></path><path d="M5 9h6V7H5v2zm0 4h6v-3H5v3zM8 1v5H3v9h10V1H8z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M11 15H3V6h5V1h5l-.023 5A4 4 0 0 0 9 10c0 .232.042.567.127 1.006H11V15z"></path><path fill="#40B6E0" d="M12.25 16h1.5v-1.5h-1.5V16zM13 7a3 3 0 0 0-3 3h1.5c0-.825.675-1.5 1.5-1.5s1.5.675 1.5 1.5c0 1.5-2.25 1.313-2.25 3.75h1.5c0-1.688 2.25-1.875 2.25-3.75a3 3 0 0 0-3-3z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#40B6E0" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M4 11v3h.649C5.578 14 6 13.493 6 12.515V12.5c0-.978-.422-1.5-1.351-1.5H4zm-1-1h1.649C6.04 10 7 11.093 7 12.5c0 1.421-.96 2.5-2.351 2.5H3v-5zM8 10h1v4h2.5v1H8z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#F26522" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M3 10h1v2h2v-2h1v5H6v-2H4v2H3z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#F26522" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M3 13v-1l3-2v1l-2.2 1.5L6 14v1zM8 14l2.2-1.5L8 11v-1l3 2v1l-3 2z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#F4AF3D" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M6.5 10l-1.6 2.45L6.5 15H5.3l-1.05-1.907L3.2 15H2l1.6-2.55L2 10h1.2l1.05 1.814L5.3 10zM7.973 11.502c0-.369.311-.502.872-.502H10v-1H8.86C7.778 10 7 10.46 7 11.45c0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H7.3v1h1.171c2.029 0 2.029-1 2.029-1.452 0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="none" fill-rule="evenodd"><path fill="#F98B9E" fill-opacity=".7" d="M1 16h15V9H1z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M7 1L3 5h4z"></path><path fill="#9AA7B0" fill-opacity=".8" d="M8 1v5H3v2h10V1z"></path><path fill="#231F20" fill-opacity=".7" d="M2.996 15v-1.971L1 10h1.05l1.446 2.207L4.95 10H6l-2 3.007V15zM6 10h.936L8.5 12l1.479-2H11v5h-1v-3.3l-1.5 1.8L7 11.7V15H6zM12 10h1v4h2.5v1H12z"></path></g></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 1v5H3v9h10V1zM7 1L3 5h4z" fill-rule="evenodd"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M1 5.7h11V4.3H1v1.4zM14 2a1 1 0 0 0-1 1v4a1 1 0 0 0 2 0V3a1 1 0 0 0-1-1zm-6 8.3V9a1 1 0 1 0-2 0v4a1 1 0 0 0 2 0v-1.3h7v-1.4H8zm-7 1.4h4v-1.4H1v1.4z"></path></svg>'},function(e,t){e.exports='<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M1 1v15h2v-4h13V1zm14 7h-3v3H9V8H6v3H3V8h3V5H3V2h3v3h3V2h3v3h3zM9 5v3h3V5z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M9 5a2.51 2.51 0 0 0-2.5-2H1v11h14V5z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 0a8 8 0 1 0 8 8 8 8 0 0 0-8-8zM3.09 7.58l2.49-2.49a2 2 0 1 1-2.49 2.49zm6.56 5.27a2.35 2.35 0 0 0-3.3 0l-.7-.7a3.39 3.39 0 0 1 4.7 0zM11 9a2 2 0 0 1-.54-3.92l2.46 2.46A2 2 0 0 1 11 9z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M2 19h7v-9H2zm9 0h7v-9h-7zm2-13a3 3 0 1 0-3-3 3 3 0 1 0-3 3H1v3h8V6h2v3h8V6zM8.5 4.5H7A1.5 1.5 0 1 1 8.5 3zm3-1.5A1.5 1.5 0 1 1 13 4.5h-1.5z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M3 15h4.3V9H3zM9.79 5a2.5 2.5 0 0 0 0-5A2.48 2.48 0 0 0 8 .76 2.48 2.48 0 0 0 6.21 0a2.5 2.5 0 0 0 0 5H2v3h5.3V5h1.4v3H14V5zm-2.5-2.5v1.1H6.21A1.1 1.1 0 1 1 7.3 2.46s-.01.03-.01.04zm1.41 0a1.1 1.1 0 1 1 1.09 1.1H8.71V2.5s-.01-.03-.01-.04zm0 12.5H13V9H8.7z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M15 5.6L10.4 1A3.4 3.4 0 0 0 5.78.86l1.88 1.88a1.25 1.25 0 0 1 1.67 1.2V4a1.23 1.23 0 0 1-.08.38l2.45 2.4a1.17 1.17 0 0 1 .37-.08 1.3 1.3 0 1 1-1.3 1.3 1.17 1.17 0 0 1 .08-.37L8.6 5.38v5.23a1.28 1.28 0 0 1 .73 1.15 1.3 1.3 0 0 1-2.6 0 1.27 1.27 0 0 1 .67-1.11V5.07A1.27 1.27 0 0 1 6.73 4a1.17 1.17 0 0 1 .08-.37l-1.9-1.9L1 5.6a3.38 3.38 0 0 0 0 4.79L5.6 15a3.38 3.38 0 0 0 4.79 0L15 10.4a3.38 3.38 0 0 0 0-4.79z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M12.74 9H3.26A3.16 3.16 0 0 0 2 9.26a3.28 3.28 0 0 0-2 3V16h16v-3.74A3.27 3.27 0 0 0 12.74 9zm1.86 5.6H5.4v-2.34a1.87 1.87 0 0 1 1.86-1.86h5.48a1.87 1.87 0 0 1 1.86 1.86zM5.67 8A3.46 3.46 0 0 0 8 7.09a3.46 3.46 0 0 0 2.33.91 3.5 3.5 0 0 0 0-7A3.46 3.46 0 0 0 8 1.91 3.46 3.46 0 0 0 5.67 1a3.5 3.5 0 0 0 0 7zm4.66-5.6a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M12.83 4.86a5 5 0 0 0-3-.86 4.15 4.15 0 0 0-2.29.6A3.62 3.62 0 0 0 6 7.63h2.07a2.57 2.57 0 0 1 .41-1.24A1.61 1.61 0 0 1 10 5.7a1.66 1.66 0 0 1 1.44.57 2 2 0 0 1 .39 1.21 1.8 1.8 0 0 1-.36 1.08 2.18 2.18 0 0 1-.5.51l-.59.46a3.28 3.28 0 0 0-1.05 1.16 5.94 5.94 0 0 0-.33 1.7h2a3.47 3.47 0 0 1 .11-.86 1.89 1.89 0 0 1 .68-.93l.57-.45a6 6 0 0 0 1.16-1.09A2.8 2.8 0 0 0 14 7.35a2.85 2.85 0 0 0-1.17-2.49zM9 15.88h2.16V13.8H9zM10 0a10 10 0 1 0 10 10A10 10 0 0 0 10 0zm0 18.2a8.2 8.2 0 1 1 8.2-8.2 8.21 8.21 0 0 1-8.2 8.2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M7.27 12h1.51v-1.45H7.27zm2.65-7.42A3.36 3.36 0 0 0 7.9 4a2.82 2.82 0 0 0-1.55.41 2.49 2.49 0 0 0-1.07 2.17h1.55a1.55 1.55 0 0 1 .26-.86.93.93 0 0 1 .91-.41 1 1 0 0 1 .87.33 1.26 1.26 0 0 1 .24.75 1.17 1.17 0 0 1-.24.61 1.34 1.34 0 0 1-.32.31l-.39.31a2.19 2.19 0 0 0-.71.8 4.39 4.39 0 0 0-.18 1.25h1.46a2.22 2.22 0 0 1 .07-.63 1.18 1.18 0 0 1 .41-.57l.38-.29a3.66 3.66 0 0 0 .78-.74 1.93 1.93 0 0 0 .35-1.18 2 2 0 0 0-.8-1.68zm3-1.53A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM12 12a5.6 5.6 0 0 1-8 0 5.61 5.61 0 0 1 0-8 5.6 5.6 0 0 1 8 0 5.61 5.61 0 0 1 0 8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M15 0H7.3v7.42a.8.8 0 0 0 .51.75.81.81 0 0 0 .31.06A.85.85 0 0 0 8.7 8l2-2-1-1-1 1V2.45a5.6 5.6 0 1 1-2.4.22V1.22a7 7 0 1 0 4 .18H15z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M3 17v2h14v-2a7 7 0 0 0-14 0zm7-5.4a5.4 5.4 0 0 1 5.4 5.4v.4H4.6V17a5.4 5.4 0 0 1 5.4-5.4zm1.24-1.72a7.48 7.48 0 0 0 1-.24l.16-.06a8.64 8.64 0 0 0 .88-.38 6.79 6.79 0 0 0 .85-.54l.13-.1a6.59 6.59 0 0 0 .74-.69l.06-.06a6.91 6.91 0 0 0 .65-.81 8.16 8.16 0 0 0 .53-.9l.08-.1a6.42 6.42 0 0 0 .38-1 7 7 0 0 0 .3-2V1H3v2a7 7 0 0 0 .3 2 6.42 6.42 0 0 0 .38 1v.11a8.16 8.16 0 0 0 .53.9 6.91 6.91 0 0 0 .64.79l.15.07a6.59 6.59 0 0 0 .74.66l.13.1a6.79 6.79 0 0 0 .85.54 8.64 8.64 0 0 0 .88.38l.16.06a7.48 7.48 0 0 0 1 .24h.2A7.18 7.18 0 0 0 10 10a7.18 7.18 0 0 0 1-.09zM5 5a5.32 5.32 0 0 1-.4-2v-.4h10.8V3a5.32 5.32 0 0 1-.4 2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13 3.07v-2H3v2A5 5 0 0 0 7.65 8 5 5 0 0 0 3 13v2h10v-2a5 5 0 0 0-4.65-5A5 5 0 0 0 13 3.07zm-8.6-.6h7.2v.6a3.67 3.67 0 0 1-.14.93H4.54a3.67 3.67 0 0 1-.14-.93zM11.6 13v.6H4.4V13a3.6 3.6 0 0 1 7.2 0z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M1.23 6.24l8.53 8.53a7 7 0 0 0 2.67-1.35L2.58 3.57a7 7 0 0 0-1.35 2.67zm2.34-3.66l9.85 9.85a7 7 0 0 0 1.36-2.7L6.27 1.22a7 7 0 0 0-2.7 1.36zM1 8a7 7 0 0 0 7 7L1 8zm7-7l7 7a7 7 0 0 0-7-7z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M7.92 5.32A.92.92 0 1 0 7 4.37a.92.92 0 0 0 .92.95zm.93.68h-2.3a4.58 4.58 0 0 1-.1.63 3 3 0 0 1-.2.67h1.3v3.53h-1.3v1.3h3.32v-1.3h-.72zM13 3.05A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM12 12a5.6 5.6 0 0 1-8 0 5.61 5.61 0 0 1 0-8 5.6 5.6 0 0 1 8 0 5.61 5.61 0 0 1 0 8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M8.4 9.6H3.6A2.41 2.41 0 0 0 1.2 12h9.6a2.41 2.41 0 0 0-2.4-2.4zm1.8-4.2a4 4 0 0 0-.15-1L12 2.46 6 0 0 2.45l1.94 1.9A4.58 4.58 0 0 0 1.8 5.4a4.2 4.2 0 0 0 8.4 0zM6 2.4a.6.6 0 1 1-.6.6.6.6 0 0 1 .6-.6zm0 5.52A2.52 2.52 0 0 1 3.48 5.4a2.35 2.35 0 0 1 .08-.6h4.88a2.89 2.89 0 0 1 .08.6A2.52 2.52 0 0 1 6 7.92z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M9.68 11.31h-.5a4.75 4.75 0 0 0 3.58-4.6v-.2L15 2.86 8 0 1 2.86l2.25 3.66a1.37 1.37 0 0 0 0 .19 4.75 4.75 0 0 0 3.58 4.6h-.54A4.08 4.08 0 0 0 2 15.11V16h12v-.87a4.08 4.08 0 0 0-4.32-3.82zM8 3.4a.6.6 0 1 1-.6.6.6.6 0 0 1 .6-.6zm-.9 11.18H3.47a2.89 2.89 0 0 1 2.82-1.87h.81zM4.63 6.71a.28.28 0 0 1 0-.09h6.71v.09a3.37 3.37 0 1 1-6.73 0zm4.27 7.87v-1.87h.78a2.89 2.89 0 0 1 2.82 1.87z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13 5a5 5 0 0 0-5-5 5.74 5.74 0 0 0-1.08.11A5 5 0 0 0 4.6 8.64a3.5 3.5 0 0 1 1.1 2.16.7.7 0 0 0-.49 1.2.7.7 0 0 0 0 1 .7.7 0 0 0 .49 1.2H6a2 2 0 0 0 4 0h.32a.7.7 0 0 0 .49-1.2.7.7 0 0 0 0-1 .7.7 0 0 0-.49-1.2 3.5 3.5 0 0 1 1.1-2.16A5 5 0 0 0 13 5zm-4.1 5.8H7.1a4.9 4.9 0 0 0-1.55-3.19 3.54 3.54 0 0 1-1.09-3.3A3.58 3.58 0 0 1 7.2 1.48 4.43 4.43 0 0 1 8 1.4 3.6 3.6 0 0 1 11.6 5a3.51 3.51 0 0 1-1.15 2.61A4.9 4.9 0 0 0 8.9 10.8zM8 2.5v1A1.5 1.5 0 0 1 9.5 5h1A2.5 2.5 0 0 0 8 2.5z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13.83 8.29L11.34 5.8a3.74 3.74 0 0 0-.62-.51 4 4 0 0 0-3.63-.35 4 4 0 0 0-2.15 2.15l1.15 1.14a2.45 2.45 0 0 1 2.14-2.14 1.86 1.86 0 0 1 .34 0 2.49 2.49 0 0 1 1.11.27 2.39 2.39 0 0 1 .67.47l1 1 1.52 1.52a2.52 2.52 0 1 1-3.56 3.56l-.65-.65a4.74 4.74 0 0 1-1.19.16 4.05 4.05 0 0 1-.7-.07l1.55 1.55a3.92 3.92 0 0 0 5.54-5.54zm-6.07 3a3.89 3.89 0 0 0 1.16-.25 4 4 0 0 0 1.29-.86 4 4 0 0 0 .86-1.29L9.92 7.77a2.44 2.44 0 0 1-2.15 2.15h-.33a2.53 2.53 0 0 1-1.12-.27 2.31 2.31 0 0 1-.66-.46l-2.5-2.5a2.49 2.49 0 0 1-.73-1.78 2.52 2.52 0 0 1 3.91-2.06 1.91 1.91 0 0 1 .38.31l.66.66a4.68 4.68 0 0 1 1.19-.17 5.38 5.38 0 0 1 .69.07L7.71 2.17a3.92 3.92 0 0 0-5.54 5.54l2.5 2.5a3.61 3.61 0 0 0 .61.5 4.76 4.76 0 0 0 .67.35 4 4 0 0 0 1.48.28c.12.01.22-.01.33-.02z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M12 6V3.74A3.75 3.75 0 0 0 8.26 0h-.52A3.75 3.75 0 0 0 4 3.74V6H2v9h12V6zm-3.3 6a.7.7 0 1 1-1.4 0V8h1.4zm1.9-6H5.4V3.74A2.34 2.34 0 0 1 7.74 1.4h.52a2.34 2.34 0 0 1 2.34 2.34z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M12.52.55l-5 5-6.97 6.96 3 3 12-12zm-4 6l4-4 1 1-4 4.05zM2.77 3.18a3.85 3.85 0 0 1 2.55 2.55 3.85 3.85 0 0 1 2.55-2.55A3.82 3.82 0 0 1 5.32.64a3.82 3.82 0 0 1-2.55 2.54zm5.73-.63a2 2 0 0 1 1.28-1.28A1.92 1.92 0 0 1 8.5 0a1.88 1.88 0 0 1-1.27 1.27A1.92 1.92 0 0 1 8.5 2.55zm-6.36 0a1.92 1.92 0 0 1 1.27-1.28A1.88 1.88 0 0 1 2.14 0 1.92 1.92 0 0 1 .86 1.27a2 2 0 0 1 1.28 1.28zm12.59 3.67a1.94 1.94 0 0 1-1.28 1.27 1.94 1.94 0 0 1 1.28 1.27A1.9 1.9 0 0 1 16 7.49a1.9 1.9 0 0 1-1.27-1.27z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M6.2 13.5a1.7 1.7 0 0 1-3.4 0H1a3.5 3.5 0 0 0 7 0v-5H6.2zM6.7 6a.7.7 0 1 0-.7-.7.7.7 0 0 0 .7.7zM10 17h1.4v-3H10zm6.91-13h-3a3.23 3.23 0 0 0-3-2H7a3.19 3.19 0 0 0-3.2 3.15v7.17a.7.7 0 0 0 1.4 0V5.15A1.79 1.79 0 0 1 7 3.4h3.84a1.79 1.79 0 0 1 1.86 1.75 1.8 1.8 0 0 1-1.83 1.75.7.7 0 0 0 0 1.4 3.19 3.19 0 0 0 3.2-2.9h2.84a.69.69 0 0 1 .69.69V14h-2v3H19V6.09A2.1 2.1 0 0 0 16.91 4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M12.5.5L3 10l.59.59-1.95 1.95.5.5L.17 15H2l1.05-1.05.5.5L5.5 12.5l.5.5 9.5-9.5-3-3z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M6 .3v1.4h7.3v11.6H6v1.4h8.7V.3zM11 3H7v4h4zm-4 9h4V8H7zM6 3H2v4h4zm0 5H2v4h4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M8.41 2.55L6 3.33 5.59 1a4.66 4.66 0 0 0-1.18 0L4 3.33l-2.41-.78a3.82 3.82 0 0 0-.59.94L2.92 5 1 6.51a3.82 3.82 0 0 0 .59.94L4 6.67 4.41 9a4.66 4.66 0 0 0 1.18 0L6 6.67l2.37.78A3.69 3.69 0 0 0 9 6.51L7.08 5 9 3.49a3.82 3.82 0 0 0-.59-.94z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 6.5A1.5 1.5 0 1 0 9.5 8 1.5 1.5 0 0 0 8 6.5zm5 0A1.5 1.5 0 1 0 14.47 8 1.5 1.5 0 0 0 13 6.5zm-10 0A1.5 1.5 0 1 0 4.53 8 1.5 1.5 0 0 0 3 6.5z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M2.69 8.47a4.83 4.83 0 0 1 4.83-4.83H12V6l3-3-3-3v2.24H7.52a6.23 6.23 0 0 0 0 12.46H8v-1.4h-.48a4.84 4.84 0 0 1-4.83-4.83zM9 9.7h6V8.3H9zm0 5h6v-1.4H9z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M16 8l-3-3v2.3H8.7V3H11L8 0 5 3h2.3v4.3H3V5L0 8l3 3V8.7h4.3V13H5l3 3 3-3H8.7V8.7H13V11l3-3z"></path></svg>'},function(e,t){e.exports='<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M2 7.5v3c0 .8.6 1.5 1.4 1.5h2.3l3.2 2.8c.1.1.3.2.4.2s.2 0 .3-.1c.2-.1.4-.4.4-.7v-.9L2.8 6.1c-.5.2-.8.8-.8 1.4zm8 2V3.7c0-.3-.1-.5-.4-.7h-.3c-.1 0-.3 0-.4.2L6.1 5.7 2 1.6l-1 1L4.4 6l5.6 5.6 3.6 3.6 1-1z" fill-rule="evenodd"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 1a7 7 0 1 0 7 7 7 7 0 0 0-7-7zm5.6 7a5.6 5.6 0 0 1-1.06 3.27L4.73 3.46A5.59 5.59 0 0 1 13.6 8zM2.4 8a5.6 5.6 0 0 1 1.06-3.27l7.81 7.81A5.59 5.59 0 0 1 2.4 8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M4 0v3H1v12h12v-3h3V0zm7.2 13.2H2.8V4.8H4V12h7.2zm3.4-2.6H6.39l5.11-5.1L13 7V3H9l1.5 1.5-5.1 5.11V1.4h9.2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M7.82 8.07L5.1 5.36l-2.4-.93 1-.43-1-1-1.7.77v1.69l6.72 2.59zM8 11.52a.87.87 0 0 0 .28 0l2.12-.82-1.22-1.26L8 9.89l-7-2.7v1.68l6.73 2.6a.87.87 0 0 0 .28 0zm5.22-1.95L15 8.88V7.19l-3 1.16-1.25-1.25L15 5.46V3.77L8.21 1a.61.61 0 0 0-.42 0l-2.22.89L4.65 1H2.59L15 13.42v-2.07zm-6.71-6.7L8 2.27l5.32 2.15-3.79 1.46zM8 13.37l-7-2.7v1.68L7.72 15a.77.77 0 0 0 .56 0l4.64-1.79-1.22-1.27z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M10 1a9 9 0 1 0 9 9 9 9 0 0 0-9-9zm0 16.4a7.4 7.4 0 1 1 5.52-12.31L9 11.59l-3.32-3.3-1.4 1.42L9 14.41l7.61-7.63A7.29 7.29 0 0 1 17.4 10a7.41 7.41 0 0 1-7.4 7.4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13 3.05A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM12 12a5.6 5.6 0 0 1-8 0 5.61 5.61 0 0 1 0-8 5.6 5.6 0 0 1 8 0c.1.1.18.22.27.33L7.6 9 5 6.19 3.69 7.4l3.85 4.21 5.66-5.67A5.62 5.62 0 0 1 12 12z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M10 2.33V.18A8.5 8.5 0 0 0 8.52 0h-.1A7.52 7.52 0 0 0 3 12.56a6.48 6.48 0 1 0 7-10.23zM8 13.57a5.09 5.09 0 1 1 5.09-5.08A5.1 5.1 0 0 1 8 13.57zm-.7-4.86l-1.47 1.47 1 1L8.7 9.29V4.76H7.3z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M10.24 1.76a6 6 0 1 0 0 8.48 6 6 0 0 0 0-8.48zM5 8.4H3.6V3.6H5zm3.36 0H7V3.6h1.4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13 3.05A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM7 11H5.6V5H7zm3.4 0H9V5h1.4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M1 1.3v1.4h1.3v9.7L8 15.82l5.7-3.42V2.7H15V1.3zm11.3 10.3L8 14.18 3.7 11.6V2.7h8.6zm-1.3-.66V4H5v6.94l3 1.7z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M14.43 4.57l1-1L12.78.94l-1 1-.87.88-1 1-2.07 2.07a5 5 0 1 0 1.27 1.27l2.09-2.09 1.36 1.37 1-1-1.37-1.36.88-.87zM5 13.6A3.6 3.6 0 1 1 8.6 10 3.6 3.6 0 0 1 5 13.6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M10 3.72L12.28 6l-.43.43-2.12 2.1-.41.41v2.83l-2.05-2-1-1-2-2h2.79l.41-.41 2.12-2.21.41-.43M9.31 1L7.89 2.45l.71.71-2.12 2.12H3.65L2.24 6.69l3 3L1 14l1 1 4.24-4.25 3 3 1.41-1.41V9.52l2.19-2.12.71.71L15 6.69 9.31 1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13 8l-2-2V3h1V1H4v2h1v3L3 8v2h4.3v6h1.4v-6H13V8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M3 2.04v11.93L13 8 3 2.04z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M6 4a2 2 0 1 0-2.7 1.87v5.26a2 2 0 1 0 1.4 0V5.87A2 2 0 0 0 6 4zm-2 9.6a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zm0-9a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zM14 6l1-.93-1.6-1.57L15 1.93 14 1l-1.53 1.57L10.9 1l-.9.93 1.53 1.57L10 5.07l.9.93.87-.87v6a2 2 0 1 0 1.4 0v-6zm-1.56 7.6a.6.6 0 1 1 .6-.6.6.6 0 0 1-.57.6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13.14 11.12a8.41 8.41 0 0 0-7.25-7.73A2 2 0 0 0 4 2a2 2 0 0 0-.7 3.87v5.26a2 2 0 1 0 1.4 0V5.87a2 2 0 0 0 1.14-1.08 7 7 0 0 1 5.9 6.35 2 2 0 1 0 1.4 0zM4 3.4a.6.6 0 1 1-.6.6.6.6 0 0 1 .6-.6zm0 10.2a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zm8.47 0a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M6 4a2 2 0 1 0-2.7 1.87v5.26a2 2 0 1 0 1.4 0V5.87A2 2 0 0 0 6 4zm-2 9.6a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zm0-9a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zm9.17 6.53V5.67A2.37 2.37 0 0 0 10.8 3.3H10V1L7 4l3 3V4.7h.8a1 1 0 0 1 1 1v5.46a2 2 0 1 0 1.4 0zm-.7 2.47a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M11.77 5.67V7h1.4V5.67A2.37 2.37 0 0 0 10.8 3.3H10v1.4h.8a1 1 0 0 1 .97.97zM4 2a2 2 0 0 0-.7 3.87v5.26a2 2 0 1 0 1.4 0V5.87A2 2 0 0 0 5.87 4.7H8V3.3H5.87A2 2 0 0 0 4 2zm0 11.6a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zm0-9a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zm9.17 6.53V9h-1.4v2.13a2 2 0 1 0 1.4 0zm-.7 2.47a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M13 8V5L9 1H3v7H0v6h3v1h10v-1h3V8zM9 2.4V5h2.6v4H4.4V2.4zM4.4 13.6V12h7.2v1.6zm9.2-3a.6.6 0 0 1-.6-.6.6.6 0 1 1 .6.6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M6.3 7l3.85 6L14 7zM7 1v4h4V1zm3 3H8V2h2zM1 1v4h4V1zm3 3H2V2h2zM1 7v4h4V7zm3 3H2V8h2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M11 1H7v4h4zM1 11h4V7H1zm0-6h4V1H1zm5.3 2l3.85 6L14 7z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M1 5h4V1H1zm0 6h4V7H1zm6 0h4V7H7zM7 1v4h4V1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M7 1v4h4V1zm3 3H8V2h2zM7 7v4h4V7zm3 3H8V8h2zM1 1v4h4V1zm3 3H2V2h2zM1 7v4h4V7zm3 3H2V8h2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M2 9h7V2H2zm2-5h3v3H4zm6 7l5 8 5-8zm8-9h-7v7h7zm-2 5h-3V4h3zM2 18h7v-7H2zm2-5h3v3H4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M2 9h7V2H2zm0 9h7v-7H2zM18 2h-7v7h7zm-8 9l5 8 5-8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M2 9h7V2H2zm9-7v7h7V2zM2 18h7v-7H2zm9 0h7v-7h-7z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M2 9h7V2H2zm2-5h3v3H4zm7-2v7h7V2zm5 5h-3V4h3zM2 18h7v-7H2zm2-5h3v3H4zm7 5h7v-7h-7zm2-5h3v3h-3z"></path></svg>'},function(e,t){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8.62 15.66c-.15 0-.31-.06-.42-.18L5.42 12.7c-.11.17-.16.39-.23.71-.09.44-.2.98-.65 1.43-.88.88-2.54.88-3.42 0s-.88-2.54 0-3.42c.45-.45 1-.56 1.43-.65.31-.06.54-.11.71-.23L.48 7.76C.36 7.65.3 7.5.3 7.34s.06-.31.18-.42l2.58-2.57a.61.61 0 0 1 .85 0l.32.32c.45.45.56 1 .65 1.43.07.38.12.63.31.81.41.41 1.32.41 1.73 0s.41-1.31 0-1.73c-.19-.18-.44-.23-.83-.31-.44-.09-.98-.2-1.43-.65l-.32-.32c-.11-.11-.18-.27-.18-.43s.06-.31.18-.42L6.92.48a.61.61 0 0 1 .85 0l2.78 2.78c.11-.17.16-.39.23-.71.09-.44.2-.98.65-1.43.88-.88 2.54-.88 3.42 0s.88 2.54 0 3.42c-.45.45-1 .56-1.43.65-.31.06-.54.11-.71.23l2.78 2.78c.11.11.18.27.18.42s-.06.31-.18.42l-2.58 2.57a.61.61 0 0 1-.85 0l-.32-.32c-.45-.45-.56-1-.65-1.43-.08-.39-.13-.64-.32-.82-.41-.41-1.32-.41-1.73 0s-.41 1.31 0 1.73c.18.18.43.24.82.32.44.09.98.2 1.43.65l.32.32c.11.11.18.27.18.42 0 .16-.06.31-.18.43l-2.58 2.57c-.1.12-.25.18-.41.18zM1.75 7.34l2.79 2.79c.23.23.23.61 0 .85l-.32.32c-.45.45-1 .56-1.43.65-.39.08-.64.13-.82.32-.19.19-.31.51-.31.86s.11.67.31.86c.41.41 1.32.41 1.73 0 .18-.18.24-.43.32-.82.09-.44.2-.98.65-1.43l.32-.32a.61.61 0 0 1 .85 0l2.79 2.79 1.72-1.72c-.17-.11-.39-.16-.71-.23-.44-.09-.98-.2-1.43-.65-.42-.42-.66-1.04-.66-1.71s.24-1.29.66-1.71c.88-.88 2.54-.88 3.42 0 .45.45.56 1 .65 1.43.06.31.11.54.23.71l1.72-1.72-2.79-2.79a.61.61 0 0 1 0-.85l.32-.32c.45-.45 1-.56 1.43-.65.39-.08.64-.13.82-.32.19-.19.31-.52.31-.86s-.11-.67-.31-.86c-.38-.39-1.34-.39-1.73 0-.18.18-.24.43-.32.82-.09.44-.2.98-.65 1.43l-.32.32a.61.61 0 0 1-.85 0l-2.8-2.78-1.72 1.71c.17.11.39.16.71.23.44.09.98.2 1.43.65.42.42.66 1.04.66 1.71s-.24 1.29-.66 1.71c-.84.84-2.59.84-3.42 0-.45-.45-.56-1-.65-1.43-.06-.32-.11-.54-.22-.71z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M6 1H3v6h3zm8 2h-3v4h3zm-4 1H7v3h3zM0 8.3v1.4h3V15h3V9.7h1V12h3V9.7h1V13h3V9.7h2V8.3z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path class="cls-1" d="M16 6l-6-6v3.6s-11.08-.74-8.41 10.18a.27.27 0 0 0 .53 0c.35-2 1.9-6 7.88-5.77v4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M1 4.1h8v1.8H1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path d="M9 1H4l1.86 1.86-4.5 4.5 1.28 1.28 4.5-4.5L9 6V1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M10.55 6.44a2.93 2.93 0 0 0-1-1 2.93 2.93 0 0 0-3.12 0 2.93 2.93 0 0 0-1 1A3 3 0 0 0 5 8a2.58 2.58 0 0 0 0 .39 3 3 0 0 0 5.92 0A2.58 2.58 0 0 0 11 8a3 3 0 0 0-.45-1.56zM5.72 4.73L2.93 1.94A1.62 1.62 0 0 0 3 1.5 1.5 1.5 0 1 0 1.5 3a1.62 1.62 0 0 0 .44-.07l2.79 2.79a3.59 3.59 0 0 1 .99-.99zM2.48 9.37A1.47 1.47 0 0 0 1.5 9 1.5 1.5 0 1 0 3 10.68l1.61-.62a4 4 0 0 1-.51-1.3zM13.5 4A1.5 1.5 0 1 0 12 2.5a1.62 1.62 0 0 0 .07.44l-1.79 1.79a3.59 3.59 0 0 1 1 1l1.79-1.79a1.62 1.62 0 0 0 .43.06zm-4.8 9.18v-1.25A4.05 4.05 0 0 1 8 12a4.05 4.05 0 0 1-.7-.07v1.25a1.5 1.5 0 1 0 1.4 0zM14.5 9a1.47 1.47 0 0 0-1 .37l-1.6-.61a3.88 3.88 0 0 1-.51 1.3l1.61.62A1.5 1.5 0 1 0 14.5 9z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M19.64 18.36l-6.24-6.24a7.52 7.52 0 1 0-1.28 1.28l6.24 6.24zM7.5 13.4a5.9 5.9 0 1 1 5.9-5.9 5.91 5.91 0 0 1-5.9 5.9z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M6.41 8.44h1.11l.49-4H6zm.02 2h1.05v-1.1H6.43zm5.33.63A5.927 5.927 0 0 0 13 7.43c0-3.31-2.69-6-6-6s-6 2.69-6 6 2.69 6 6 6c1.37 0 2.62-.46 3.63-1.23l2.8 2.8 1.13-1.13zm-4.86.75c-2.48 0-4.49-2.02-4.49-4.5S4.42 2.83 6.9 2.83s4.5 2.02 4.5 4.49-2.03 4.5-4.5 4.5z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M9 4.45l-2 2-2-2-1 1 2 2-2 2 1 1 2-2 2 2 1-1-2-2 2-2zm2.77 6.63A5.975 5.975 0 0 0 13 7.45c0-3.31-2.69-6-6-6s-6 2.69-6 6 2.69 6 6 6c1.37 0 2.63-.46 3.64-1.24L13.43 15l1.13-1.13zm-4.87.76c-2.48 0-4.49-2.02-4.49-4.5s2.02-4.5 4.49-4.5 4.5 2.02 4.5 4.5-2.03 4.5-4.5 4.5z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M2 14h3v-3H2zm9 0h3v-3h-3zM2 5h3V2H2zm9-3v3h3V2zM6.5 5h3V2h-3zm0 9h3v-3h-3zM11 9.5h3v-3h-3zm-4.5 0h3v-3h-3zM2 9.5h3v-3H2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M15 1.11H5L0 10l5 8.89h10L20 10zm-5 12.75A3.86 3.86 0 1 1 13.86 10 3.86 3.86 0 0 1 10 13.86z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M11.5 1.78h-7L1 8l3.5 6.22h7L15 8zM8 10.7A2.7 2.7 0 1 1 10.7 8 2.7 2.7 0 0 1 8 10.7z"></path></svg>'},function(e,t){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8 13.11c2.34-1.41 3.6-2.48 3.6-4.11V3.8c-.93-.21-2.17-.4-3.6-.4zM8 1C4.57 1 2 2 2 2v7c0 4.29 4.84 5.92 6 7 1.16-1.06 6-2.76 6-7V2s-2.47-1-6-1zm4.6 8c0 2.31-1.93 3.67-4.08 4.97-.18.11-.36.21-.52.31l-.57-.35C5.73 12.91 3.4 11.51 3.4 9V3.02c.96-.26 2.62-.62 4.6-.62 2.01 0 3.65.35 4.6.62z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M10 1v2a7 7 0 1 1-7 7H1a9 9 0 1 0 9-9z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M2.39 8.13a5.47 5.47 0 0 1 .18-1.39l.16-.66-1.31-.34-.17.66a7 7 0 0 0 .08 3.73l.19.65 1.3-.39-.19-.65a5.46 5.46 0 0 1-.24-1.61zm2.18 4.39l-.57-.4-.83 1.07.55.42a6.76 6.76 0 0 0 3.48 1.32l.67.07.13-1.36-.67-.06a5.56 5.56 0 0 1-2.76-1.06zm9.83-7.15a7.05 7.05 0 0 0-9.24-3.74 6.92 6.92 0 0 0-2.39 1.65L4 4.48A5.32 5.32 0 1 1 10 13l.68 1.6a7.06 7.06 0 0 0 3.72-9.23z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 1v1.8A5.2 5.2 0 1 1 2.8 8H1a7 7 0 1 0 7-7z"></path></svg>'},function(e,t){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.56 15H1.44c-.3 0-.57-.2-.67-.49-.4-1.25-.57-2.18-.41-2.99.04-.18.15-.35.3-.45.16-.1.35-.14.53-.1l.19.04c2.07.45 3.29.64 4.37-.87.23-.32.3-1.24.17-2.25-.05-.32-.22-.68-.4-1.05-.21-.46-.46-.97-.53-1.56-.09-.84.14-1.6.67-2.2.56-.65 1.39-1.04 2.29-1.08h.11c.9.04 1.73.43 2.29 1.08.52.61.75 1.37.66 2.2-.06.59-.31 1.11-.53 1.56-.18.37-.35.73-.39 1.06-.13 1-.06 1.93.17 2.25 1.07 1.51 2.3 1.32 4.37.87l.19-.04c.18-.04.38 0 .53.1.16.1.27.26.3.45.16.8-.01 1.74-.41 2.99-.1.28-.37.48-.68.48zM1.95 13.6h12.09c.11-.38.18-.82.22-1.07-1.77.36-3.68.51-5.16-1.57-.61-.86-.52-2.4-.41-3.24.08-.56.31-1.05.52-1.49.19-.39.36-.75.4-1.11.05-.44-.06-.82-.33-1.13-.3-.35-.78-.57-1.28-.59-.5.02-.98.24-1.28.59-.27.31-.38.69-.33 1.14.04.35.21.72.4 1.11.21.43.44.92.52 1.48.11.84.2 2.38-.41 3.24-1.48 2.08-3.39 1.92-5.16 1.57.03.25.1.69.21 1.07z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M6 3l.61 1.37.29.63h.7l1.45.13L8 6.08l-.55.47.16.71.32 1.4L6.6 7.9 6 7.55l-.6.35-1.31.76.32-1.4.16-.71L4 6.08l-1-.91L4.4 5h.7l.29-.65L6 3m0-3L4.29 3.84 0 4.23 3.24 7l-1 4.09L6 8.94l3.71 2.14L8.76 7 12 4.23l-4.29-.39L6 0z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 4.31l.75 1.77.31.72.79.06 1.88.14-1.41 1.19-.62.52.19.78.44 1.81-1.67-1L8 9.91l-.66.4-1.67 1 .44-1.81.19-.78-.62-.52L4.27 7l1.88-.15.79-.06.31-.72L8 4.31M8 1L6.05 5.57 1 6l3.85 3.19L3.67 14 8 11.43 12.33 14l-1.18-4.81L15 6l-5-.43L8 1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M6 8.94l-3.71 2.14.95-4.09L0 4.23l4.29-.39L6 0l1.71 3.84 4.29.39-3.24 2.76.95 4.09L6 8.94z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 11.43L3.67 14l1.17-4.81L1 5.97l5.05-.4L8 1l1.95 4.57 5.05.4-3.85 3.22L12.33 14 8 11.43z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M5 11h6V5H5zm8-7.95A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM12 12a5.6 5.6 0 0 1-8 0 5.61 5.61 0 0 1 0-8 5.6 5.6 0 0 1 8 0 5.61 5.61 0 0 1 0 8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M0 2v13h16V2zm6 9V9h4v2zm4 1v1.6H6V12zM5 9v2H1.4V9zM1.4 8V6H5v2zM6 8V6h4v2zm0-3V3.4h4V5zM5 3.4V5H1.4V3.4zM1.4 12H5v1.6H1.4zm13.2 1.6H11V12h3.6zm0-2.6H11V9h3.6zm0-3H11V6h3.6zM11 5V3.4h3.6V5z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8 1H1v7l8 8 7-7zM2.4 7.42v-5h5L14 9l-5 5zM5 4a1.11 1.11 0 1 0 1.14 1.06A1.11 1.11 0 0 0 5 4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M7.93 8.24L5.26 5.58 4 6.85l3.94 3.94L16 2.7l-1.26-1.27L13 3.17 11.2 5zm3.27 4H2.8V3.8H11L12.75 2H1v12h12V7.13l-1.8 1.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M6.3 7l3.85 6L14 7zM3 9V3h6v3h2V1H1v10h6.69L6.4 9zm3.6-4H8V4H4v1h1.42v1H6.6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M5.41 8h1.18V5H8V4H4v1h1.41zM1 1v10h10V1zm8 8H3V3h6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M10 11l1 1.58L13.13 16l1.26 2 .61 1 .61-1L18 14.19 20 11zm-6 5V4h12v6h2V2H2v16h11.21L12 16zm7-6V7.77h2V6H7v1.77h2V10z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M9 14h2V7.77h2V6H7v1.77h2zM2 2v16h16V2zm14 14H4V4h12z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M9.72 1.22v1.45a5.6 5.6 0 0 1 3.82 4.63H12v1.4h1.55a5.6 5.6 0 0 1-4.85 4.85V12H7.3v1.55A5.6 5.6 0 0 1 2.45 8.7H4V7.3H2.45a5.6 5.6 0 0 1 4.87-4.85V8h1.4V0H1v1.4h4.68a7 7 0 1 0 4-.18z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><defs><style>.icon-torrent{fill-rule:evenodd}</style></defs><path class="icon-torrent" d="M3 5l4-4v4H3z"></path><path class="icon-torrent" d="M7 1L3 5h4zm1 0v5h-.88v2.7a.88.88 0 0 0 .88.88 1 1 0 0 0 .88-1V6h1.38v5.2a1.81 1.81 0 0 1-1.19-.82 2 2 0 0 1-1.95.13V13H5.73V6H3v9h10V1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M10.86 13.27a.4.4 0 0 1-.39.33H5.53a.4.4 0 0 1-.39-.29L3.87 5H2.46l1.3 8.53A1.8 1.8 0 0 0 5.53 15h4.94a1.8 1.8 0 0 0 1.77-1.47L13.54 5h-1.41zM13.1 2.2H11A1.39 1.39 0 0 0 9.61 1H6.39A1.39 1.39 0 0 0 5 2.2H2.9a.9.9 0 0 0-.9.9V4h12v-.9a.9.9 0 0 0-.9-.9z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M1 4v11h14V4zm12.6 9.6H2.4V5.4h11.2zM14 1.3H2v1.4h12zm-4.81 9.86L10 12l2.14-2.14a.61.61 0 0 0 0-.85L10 6.89l-.85.84 1.75 1.72zM6 12l.85-.85-1.75-1.7 1.71-1.72L6 6.89 3.82 9a.61.61 0 0 0 0 .85z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M10 8l4-4-1.15-1.13a6.39 6.39 0 0 0-8.5-.44L3 1.08l-1 1 1.37 1.35a6.38 6.38 0 0 0 .49 8.43L5 13l4-4 3.08 3.08a.87.87 0 0 1 .25.62.9.9 0 0 1-.25.62.88.88 0 0 1-1.24 0l-1 1a2.28 2.28 0 0 0 3.16-3.2zM5.13 4.14A4.6 4.6 0 0 1 11.44 4L5 10.45a4.56 4.56 0 0 1 .13-6.31z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16" width="16" height="16" xmlns="http://www.w3.org/2000/svg"><path d="M10.04 11.96c-.23 0-1.15-.53-1.48-.79-.11-.08-.37-.4-.5-.44-.1-.02-.31.24-.41.24-.09 0-.51-.27-.61-.24-.13.04-1.72 1.26-1.95 1.26-1.05 0-2.08-1.27-2.08-1.27-.06 2.87 2.6 4.51 3.06 4.86.38.28 2.77.28 3.15 0 .47-.35 2.67-2.85 2.82-4.93-.42.91-.96 1.31-2 1.31zM6.58 7.04c2.94-.02 5.66-.49 5.69-1.93.03-1.15-.64-2.5-1.24-3.41-.4-.62-.95-1.28-1.69-1.11-.7.16-1.19.87-1.91.99-.62.12-.88-.35-1.38-.61-.44-.22-.89-.16-1.24.22-.52.54-.83 1.3-1.07 2.04-.22.66-.67 1.53-.59 2.26.11.94 2.41 1.56 3.43 1.55zm6.34-2.39c1.62 2.98-3.85 3.62-6.34 3.57-1.8-.04-5.35-1.73-4.14-2.57-.99-.05-1.8.28-1.96 1.13C.27 7.9.88 8.56 2.1 9.12c1.51.72 3.39.7 5.11.75 2.11.07 4.34-.05 6.19-.91 1.05-.48 2.08-1.3 2.04-2.33-.04-1.01-1.27-1.98-2.52-1.98z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path class="cls-1" d="M6 3.6V0L0 6l6 6V8c6-.27 7.53 3.76 7.88 5.77a.27.27 0 0 0 .53 0C17.08 2.86 6 3.6 6 3.6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M7.35 9.8h1.28V8.56H7.35zM9.6 3.49A2.9 2.9 0 0 0 7.88 3a2.38 2.38 0 0 0-1.32.35 2.13 2.13 0 0 0-.91 1.84H7a1.36 1.36 0 0 1 .22-.73.83.83 0 0 1 .75-.35.85.85 0 0 1 .74.28 1.06 1.06 0 0 1 .2.64.91.91 0 0 1-.18.55 1.33 1.33 0 0 1-.26.27l-.34.26a1.91 1.91 0 0 0-.61.68 3.43 3.43 0 0 0-.14 1.06h1.21a1.66 1.66 0 0 1 .06-.54.93.93 0 0 1 .35-.48l.32-.25A3.29 3.29 0 0 0 10 6a1.62 1.62 0 0 0 .3-1 1.67 1.67 0 0 0-.7-1.51zM15 12V1H1v11h6.3v1.1H4v1.8h8v-1.8H8.7V12zM2.4 10.6V2.4h11.2v8.2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M15 6V1.76l-1.7 1.7A7 7 0 1 0 14.92 9h-1.41a5.63 5.63 0 1 1-1.2-4.55L10.76 6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M13.14 12H6.87A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h18a2.38 2.38 0 0 0 0-.46A5.72 5.72 0 0 0 13.14 12zM10 10a5 5 0 1 0-5-5 5 5 0 0 0 5 5z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M7.29 12h-.42A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h7.26A7 7 0 0 1 7 14a7.27 7.27 0 0 1 .29-2zm1.17-2.27A7 7 0 0 1 14 7a5.12 5.12 0 0 1 .56 0A4.93 4.93 0 0 0 15 5a5 5 0 1 0-6.54 4.73z"></path><path class="secondary" d="M14 8a6 6 0 1 0 6 6 6 6 0 0 0-6-6zm0 10.8a4.8 4.8 0 1 1 4.8-4.8 4.8 4.8 0 0 1-4.8 4.8zm3-6.8l-1-1-2 2-2-2-1 1 2 2-2 2 1 1 2-2 2 2 1-1-2-2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M7 0a3.93 3.93 0 0 0-1 7.72A6 6 0 0 1 10.77 5a3.8 3.8 0 0 0 .17-1.07A3.93 3.93 0 0 0 7 0zM5.3 9.12h-.8a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 0 14h5.81A6 6 0 0 1 5 11a6.17 6.17 0 0 1 .3-1.88z"></path><path class="secondary" d="M14.54 7.46a5 5 0 1 0 0 7.08 5 5 0 0 0 0-7.08zm-.71 6.37a4 4 0 1 1 0-5.66 4 4 0 0 1 0 5.66zm-.94-5.63L11 10.09 9.11 8.2l-.91.91L10.09 11 8.2 12.89l.91.91L11 11.91l1.89 1.89.91-.91L11.91 11l1.89-1.89z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M7.29 12h-.42A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h7.26A7 7 0 0 1 7 14a7.27 7.27 0 0 1 .29-2zm1.17-2.27A7 7 0 0 1 14 7a5.12 5.12 0 0 1 .56 0A4.93 4.93 0 0 0 15 5a5 5 0 1 0-6.54 4.73z"></path><path class="secondary" d="M18.24 9.77a6 6 0 1 0 0 8.48 6 6 0 0 0 0-8.48zm-3.51 8.35h-1.46v-1.46h1.46zm0-3.05h-1.44l-.13-5.17h1.68z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M7 0a3.93 3.93 0 0 0-1 7.72A6 6 0 0 1 10.77 5a3.8 3.8 0 0 0 .17-1.07A3.93 3.93 0 0 0 7 0zM5.3 9.12h-.8a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 0 14h5.81A6 6 0 0 1 5 11a6.17 6.17 0 0 1 .3-1.88z"></path><path class="secondary" d="M11 6a5 5 0 1 0 5 5 5 5 0 0 0-5-5zm.59 8.3h-1.18v-1.17h1.18zm0-2.45h-1.16l-.1-4.15h1.34z"></path></svg>'},function(e,t){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M7 7.88c2.18 0 3.94-1.76 3.94-3.94S9.18 0 7 0C4.83 0 3.06 1.76 3.06 3.94c0 2.17 1.77 3.94 3.94 3.94zm1.09 3.24a1.39 1.39 0 0 1 .26-1.6l.28-.27c.05-.05.12-.08.18-.12H4.5c-2.48.01-4.5 2.02-4.5 4.5 0 .12.01.25.03.38h7.95a1.36 1.36 0 0 1-.74-1.21v-.4c0-.57.35-1.07.85-1.28zm6.76.7h-.98c-.06-.19-.14-.36-.24-.53l.65-.65c.15-.15.15-.4 0-.55l-.27-.27a.392.392 0 0 0-.55 0l-.66.66c-.18-.1-.37-.18-.58-.23v-.86a.39.39 0 0 0-.39-.39h-.39a.39.39 0 0 0-.39.39v.85c-.22.06-.43.15-.63.26l-.54-.54a.392.392 0 0 0-.55 0l-.28.27c-.15.15-.15.4 0 .55l.56.56c-.12.21-.21.43-.26.67h-.72c-.22 0-.39.17-.39.39v.39c0 .21.17.39.39.39h.78c.07.23.18.45.31.65l-.53.53c-.15.15-.15.4 0 .55l.27.27c.15.15.4.15.55 0l.59-.59c.2.1.41.17.64.21v.81c0 .21.17.39.39.39h.39c.21 0 .39-.17.39-.39v-.91c.2-.07.38-.16.55-.28l.63.63c.15.15.4.15.55 0l.27-.27c.15-.15.15-.4 0-.55l-.69-.69c.08-.17.15-.35.19-.55h.93c.22 0 .39-.17.39-.39v-.39a.376.376 0 0 0-.38-.39zm-3.21 1.65a.97.97 0 1 1 .002-1.938.97.97 0 0 1-.002 1.938z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path class="secondary" d="M12 7.52V10a4 4 0 0 0 .75 2.1 4.78 4.78 0 0 0 .47.54l.09.07a3.48 3.48 0 0 0 .48.38 2.39 2.39 0 0 0 .22.12 3.55 3.55 0 0 0 .43.23 3.1 3.1 0 0 0 .4.13l.33.1a4.07 4.07 0 0 0 .79.08 4 4 0 0 0 .78-.08l.33-.1a3.1 3.1 0 0 0 .4-.13 3.55 3.55 0 0 0 .43-.23 2.39 2.39 0 0 0 .22-.12 4.3 4.3 0 0 0 .49-.38l.08-.07a4 4 0 0 0 .47-.54A4 4 0 0 0 20 10V7.52zm6.72 2.25V10H13.3V8.77h5.47zm-2.73 4a4 4 0 0 0-4 4V20h8v-2.25A4 4 0 0 0 16 13.77zm2.73 5h-5.44v-1a2.74 2.74 0 0 1 5.47 0z"></path><path d="M12.59 13.37a4.76 4.76 0 0 1-.55-.62v-.05a4.89 4.89 0 0 1-.42-.69H6.87A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h10v-.25a5 5 0 0 1 2-4 4.26 4.26 0 0 1-.35-.28zM10 0a5 5 0 0 0 0 10 5.1 5.1 0 0 0 1-.11V6.52h3.71A5.1 5.1 0 0 0 15 5a5 5 0 0 0-5-5z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8.87 9.12H4.5a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 0 14h8.65a4.13 4.13 0 0 1 1.48-3 4.21 4.21 0 0 1-1.26-1.88zM7 7.88a4 4 0 0 0 1.62-.36V5h2.16a4.12 4.12 0 0 0 .16-1.06A3.94 3.94 0 1 0 7 7.88z"></path><path class="secondary" d="M12.81 11a3.21 3.21 0 0 0-3.19 3.2V16H16v-1.8a3.2 3.2 0 0 0-3.19-3.2zM15 15h-4.38v-.8a2.19 2.19 0 0 1 4.38 0zM9.62 6v1.98a3.16 3.16 0 0 0 .6 1.68 3 3 0 0 0 .37.43l.07.06a2.88 2.88 0 0 0 .39.3l.18.1a3.65 3.65 0 0 0 .34.18l.32.1.26.08a3.36 3.36 0 0 0 .63.06 3.21 3.21 0 0 0 .63-.06l.26-.08.32-.1a3.84 3.84 0 0 0 .35-.18 1 1 0 0 0 .17-.1 2.88 2.88 0 0 0 .39-.3l.07-.06a3.08 3.08 0 0 0 .38-.43A3.16 3.16 0 0 0 16 8V6zM15 7.82A1.1 1.1 0 0 1 15 8h-4.36V7H15z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M7.29 12h-.42A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h7.26A7 7 0 0 1 7 14a7.27 7.27 0 0 1 .29-2zm1.17-2.27A7 7 0 0 1 14 7a5.12 5.12 0 0 1 .56 0A4.93 4.93 0 0 0 15 5a5 5 0 1 0-6.54 4.73z"></path><path class="secondary" d="M14 8a6 6 0 1 0 6 6 6 6 0 0 0-6-6zm0 10.8a4.8 4.8 0 1 1 3.67-7.86l-4 4.05-2-2.21-1 .94 3 3.29 4.81-4.85A4.72 4.72 0 0 1 18.8 14a4.8 4.8 0 0 1-4.8 4.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M5.3 9.12h-.8a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 0 14h5.81A6 6 0 0 1 5 11a6.17 6.17 0 0 1 .3-1.88zM7 0a3.93 3.93 0 0 0-1 7.72A6 6 0 0 1 10.77 5a3.8 3.8 0 0 0 .17-1.07A3.93 3.93 0 0 0 7 0z"></path><path class="secondary" d="M15.62 12.91a4.32 4.32 0 0 0 .16-.51c0-.14.09-.27.12-.42a4.59 4.59 0 0 0 .1-1 4.59 4.59 0 0 0-.1-1c0-.15-.08-.28-.12-.42a4.32 4.32 0 0 0-.16-.51 3.5 3.5 0 0 0-.25-.47c-.07-.13-.13-.27-.21-.39a4.57 4.57 0 0 0-.62-.76 5 5 0 0 0-.76-.62c-.12-.08-.26-.14-.39-.21a3.5 3.5 0 0 0-.47-.25 4.32 4.32 0 0 0-.51-.16c-.14 0-.27-.09-.42-.12a4.85 4.85 0 0 0-2 0c-.15 0-.28.08-.42.12a4.32 4.32 0 0 0-.51.16 3.5 3.5 0 0 0-.47.25c-.13.07-.27.13-.39.21a5 5 0 0 0-.76.62 4.57 4.57 0 0 0-.62.76c-.08.12-.14.26-.21.39a5.19 5.19 0 0 0-.25.47 2.88 2.88 0 0 0-.15.5 3.52 3.52 0 0 0-.11.45 4.59 4.59 0 0 0-.1 1 4.59 4.59 0 0 0 .1 1 3.52 3.52 0 0 0 .13.43 4.13 4.13 0 0 0 .15.5c.07.17.17.32.25.48s.13.26.21.38a5.11 5.11 0 0 0 1.39 1.39c.12.08.26.14.38.21s.31.18.48.25a4.13 4.13 0 0 0 .5.15 3.52 3.52 0 0 0 .43.13 4.85 4.85 0 0 0 2 0 3.52 3.52 0 0 0 .43-.13 4.13 4.13 0 0 0 .5-.15c.17-.07.32-.17.48-.25s.26-.13.38-.21a5.11 5.11 0 0 0 1.39-1.39c.08-.12.14-.26.21-.39a5.19 5.19 0 0 0 .21-.49zm-.69-1.18a1.94 1.94 0 0 0 0 .2 3.27 3.27 0 0 1-.17.53 1 1 0 0 1-.09.21 2.94 2.94 0 0 1-.25.46l-.09.15a4 4 0 0 1-1.66 1.37h-.07a5.44 5.44 0 0 1-.61.19h-.14A4 4 0 0 1 11 15a4 4 0 0 1-.78-.08h-.14a5.44 5.44 0 0 1-.61-.19H9.4A4 4 0 0 1 8 13.56c-.09-.11-.19-.22-.27-.34s-.13-.24-.2-.36a2.59 2.59 0 0 1-.17-.33c0-.12-.08-.24-.12-.36a2.85 2.85 0 0 1-.11-.39v-.44-.67-.45a2.85 2.85 0 0 1 .11-.39c0-.12.07-.24.12-.36a2.59 2.59 0 0 1 .17-.33 2.53 2.53 0 0 1 .2-.36A3 3 0 0 1 8 8.45a4 4 0 0 1 1.4-1.11 4.44 4.44 0 0 1 .62-.19h.13a4 4 0 0 1 1.6 0h.13a4.44 4.44 0 0 1 .62.19A4 4 0 0 1 14 8.41l-3.31 3.31-1.42-1.6-.93.88 2.33 2.59 4-4.05a3.09 3.09 0 0 1 .18.59v.27a3.27 3.27 0 0 1 0 .44 2.81 2.81 0 0 1 0 .29 6 6 0 0 1 .08.6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M7.29 12h-.42A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h7.26A7 7 0 0 1 7 14a7.27 7.27 0 0 1 .29-2zm1.17-2.27A7 7 0 0 1 14 7a5.12 5.12 0 0 1 .56 0A4.93 4.93 0 0 0 15 5a5 5 0 1 0-6.54 4.73z"></path><path class="secondary" d="M14 18.2a4.2 4.2 0 0 1 0-8.4V8a6 6 0 1 0 6 6h-1.8a4.2 4.2 0 0 1-4.2 4.2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M7 0a3.93 3.93 0 0 0-1 7.72A6 6 0 0 1 10.77 5a3.8 3.8 0 0 0 .17-1.07A3.93 3.93 0 0 0 7 0zM5.3 9.12h-.8a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 0 14h5.81A6 6 0 0 1 5 11a6.17 6.17 0 0 1 .3-1.88z"></path><path class="secondary" d="M14.6 11a3.6 3.6 0 1 1-3.66-3.59V6A5 5 0 1 0 16 11h-1.4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path class="secondary" d="M19.85 18.48L13.74 8.41a.84.84 0 0 0-1.45 0L6.14 18.54c-.33.55-.06 1.46.59 1.46H19.3c.7 0 .88-1 .55-1.52zm-6.11.32h-1.49v-1.46h1.49zm0-3.06h-1.47l-.13-5.17h1.71z"></path><path d="M10 10h.16l1.27-2.09a1.85 1.85 0 0 1 2.87-.37A5 5 0 1 0 10 10zm-3.13 2A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h4.3l3.64-6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path class="secondary" d="M15.88 14.78l-4.8-8.08a.66.66 0 0 0-1.14 0l-4.83 8.13c-.26.44-.05 1.17.46 1.17h9.88c.55 0 .69-.78.43-1.22zm-4.8.25H9.91v-1.17h1.17zm0-2.44H9.92l-.1-4.15h1.35z"></path><path d="M4.5 9.12a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 0 14h4.44l2.9-4.88zM7 7.88a4 4 0 0 0 1.2-.21l.88-1.48a1.64 1.64 0 0 1 1.43-.81h.14a3.93 3.93 0 1 0-7.59-1.44A4 4 0 0 0 7 7.88z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M10.31 9.12H5.5a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 1 14h13.78a2.34 2.34 0 0 0 0-.38 4.51 4.51 0 0 0-4.47-4.5zM8 7.88a3.94 3.94 0 1 0-3.94-3.94A3.94 3.94 0 0 0 8 7.88z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M6.3 7l3.85 6L14 7zM3 9V3h6v3h2V1H1v10h6.67L6.38 9zm5-3V4H7v2zM4 4v2.24l1.7 1.7.6-.94L5 5.77V4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M8 6.22V4H7v1.75l-1 1-1-1V4H4v2.22l2 2zM1 1v10h10V1zm8 8H3V3h6z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M4 16V4h12v6h2V2H2v16h11.21L12 16zm6-5l3.13 5 1.26 2 .61 1 .61-1L18 14.19 20 11zM8 6H6v4l3 4h2l-3-4V6zm3.45 4H14V6h-2v3.21z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M14 10V6h-2v3.21L10 12 8 9.21V6H6v4l3 4h2zM2 2v16h16V2zm14 14H4V4h12z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M1 15h1.8V6H1zm12.6-9.38H10L10.64 4a3.31 3.31 0 0 0 .21-1.76 2.72 2.72 0 0 0-.64-1.37 2.77 2.77 0 0 0-.67-.56A1.17 1.17 0 0 0 8.65 0 1 1 0 0 0 8 .66c-.11.29-.22.59-.34.88l-.57 1.4L4 6v9h7.11a1.82 1.82 0 0 0 1.61-1l1.94-3.68A3 3 0 0 0 15 8.94V7.07a1.42 1.42 0 0 0-1.39-1.45zm0 3.32a1.58 1.58 0 0 1-.18.73l-1.93 3.68a.46.46 0 0 1-.38.25H5.4v-7l2.67-2.67a1.37 1.37 0 0 0 .3-.45c.13-.29.44-1 .72-1.76a1.46 1.46 0 0 1 .26 1.7L8 7l5.6.05z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M1 15h1.8V6H1zm12.6-9.38H10L10.64 4a3.31 3.31 0 0 0 .21-1.76 2.72 2.72 0 0 0-.64-1.37 2.77 2.77 0 0 0-.67-.56A1.17 1.17 0 0 0 8.65 0 1 1 0 0 0 8 .66c-.11.29-.22.59-.34.88l-.57 1.4L4 6v9h7.11a1.82 1.82 0 0 0 1.61-1l1.94-3.68A3 3 0 0 0 15 8.94V7.07a1.42 1.42 0 0 0-1.39-1.45z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><path d="M11.87 9.61L6.64.37a.72.72 0 0 0-1.25 0L.12 9.66c-.28.51 0 1.34.51 1.34H11.4c.6 0 .76-.89.47-1.39zm-5.24.29H5.35V8.56h1.28zm0-2.8H5.37l-.11-4.74h1.47z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M19.79 16.72L11.06 1.61a1.19 1.19 0 0 0-2.06 0L.2 16.81c-.47.83-.08 2.19.85 2.19H19c.92 0 1.26-1.45.79-2.28zM11 17H9v-2h2zm0-4H9l-.24-8h2.45z"></path></svg>'},function(e,t){e.exports='<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M2 2v2h12V2zm0 12h2v-2H2zm8.5-7H2v2h8.5a1.5 1.5 0 0 1 0 3H8v-1.65L5 13l3 2.68V14h2.5a3.5 3.5 0 0 0 0-7z"></path></svg>'},function(e,t,n){e.exports=n(827)},function(e,t,n){"use strict";e.exports=function(e,t){var n=this.constructor;return this.options=Object.assign({storeInstancesGlobally:!0},t||{}),this.callbacks={},this.directMap={},this.sequenceLevels={},this.resetTimer=null,this.ignoreNextKeyup=!1,this.ignoreNextKeypress=!1,this.nextExpectedAction=!1,this.element=e,this.addEvents(),this.options.storeInstancesGlobally&&n.instances.push(this),this},e.exports.prototype.bind=n(839),e.exports.prototype.bindMultiple=n(840),e.exports.prototype.unbind=n(841),e.exports.prototype.trigger=n(842),e.exports.prototype.reset=n(843),e.exports.prototype.stopCallback=n(844),e.exports.prototype.handleKey=n(845),e.exports.prototype.addEvents=n(846),e.exports.prototype.bindSingle=n(850),e.exports.prototype.getKeyInfo=n(851),e.exports.prototype.pickBestAction=n(855),e.exports.prototype.getReverseMap=n(856),e.exports.prototype.getMatches=n(857),e.exports.prototype.resetSequences=n(859),e.exports.prototype.fireCallback=n(860),e.exports.prototype.bindSequence=n(863),e.exports.prototype.resetSequenceTimer=n(864),e.exports.prototype.detach=n(865),e.exports.instances=[],e.exports.reset=n(866),e.exports.REVERSE_MAP=null},function(e,t,n){var r=n(867);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r;(function(){"use strict";var n,o;o=null,n=function(e){var t,n;return null==e&&(e=!1),null==o||e?"loading"===document.readyState?null:(t=document.createElement("div"),n=document.createElement("div"),t.style.width=n.style.width=t.style.height=n.style.height="100px",t.style.overflow="scroll",n.style.overflow="hidden",document.body.appendChild(t),document.body.appendChild(n),o=Math.abs(t.scrollHeight-n.scrollHeight),document.body.removeChild(t),document.body.removeChild(n),o):o},void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}).call(this)},function(e,t,n){var r=n(880);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(315);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(233);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t){e.exports=function(e){function t(e){return"(?:"+e+")?"}var n="(decltype\\(auto\\)|"+t("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+t("<.*?>")+")",r={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},o={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},{begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\((?:.|\n)*?\)\1"/}]},i={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},a={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},s={className:"title",begin:t("[a-zA-Z_]\\w*::")+e.IDENT_RE,relevance:0},l=t("[a-zA-Z_]\\w*::")+e.IDENT_RE+"\\s*\\(",c={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_tshort reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},u=[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,o],f={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:c,contains:u.concat([{begin:/\(/,end:/\)/,keywords:c,contains:u.concat(["self"]),relevance:0}]),relevance:0},d={className:"function",begin:"("+n+"[\\*&\\s]+)+"+l,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:c,illegal:/[^\w\s\*&:<>]/,contains:[{begin:"decltype\\(auto\\)",keywords:c,relevance:0},{begin:l,returnBegin:!0,contains:[s],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,i,r,{begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:["self",e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,i,r]}]},r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a]};return{aliases:["c","cc","h","c++","h++","hpp","hh","hxx","cxx"],keywords:c,illegal:"</",contains:[].concat(f,d,u,[a,{begin:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:c,contains:["self",r]},{begin:e.IDENT_RE+"::",keywords:c},{className:"class",beginKeywords:"class struct",end:/[{;:]/,contains:[{begin:/</,end:/>/,contains:["self"]},e.TITLE_MODE]}]),exports:{preprocessor:a,strings:o,keywords:c}}}},function(e,t){e.exports=function(e){var t={className:"symbol",begin:"&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;"},n={begin:"\\s",contains:[{className:"meta-keyword",begin:"#?[a-z_][a-z1-9_-]+",illegal:"\\n"}]},r=e.inherit(n,{begin:"\\(",end:"\\)"}),o=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),i=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),a={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:"[A-Za-z0-9\\._:-]+",relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[t]},{begin:/'/,end:/'/,contains:[t]},{begin:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:"<![a-z]",end:">",relevance:10,contains:[n,i,o,r,{begin:"\\[",end:"\\]",contains:[{className:"meta",begin:"<![a-z]",end:">",contains:[n,r,i,o]}]}]},e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},t,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{begin:/<\?(php)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]},{className:"tag",begin:"<style(?=\\s|>)",end:">",keywords:{name:"style"},contains:[a],starts:{end:"</style>",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:"<script(?=\\s|>)",end:">",keywords:{name:"script"},contains:[a],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"tag",begin:"</?",end:"/?>",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},a]}]}}},function(e,t){e.exports=function(e){var t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)}/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}]};return{aliases:["sh","zsh"],lexemes:/\b-?[a-z\._]+\b/,keywords:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},contains:[{className:"meta",begin:/^#![^\n]+sh\s*$/,relevance:10},{className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},e.HASH_COMMENT_MODE,n,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},t]}}},function(e,t){e.exports=function(e){var t="[a-zA-Z_\\-!.?+*=<>&#'][a-zA-Z_\\-!.?+*=<>&#'0-9/;:]*",n={begin:t,relevance:0},r={className:"number",begin:"[-+]?\\d+(\\.\\d+)?",relevance:0},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i=e.COMMENT(";","$",{relevance:0}),a={className:"literal",begin:/\b(true|false|nil)\b/},s={begin:"[\\[\\{]",end:"[\\]\\}]"},l={className:"comment",begin:"\\^"+t},c=e.COMMENT("\\^\\{","\\}"),u={className:"symbol",begin:"[:]{1,2}"+t},f={begin:"\\(",end:"\\)"},d={endsWithParent:!0,relevance:0},p={keywords:{"builtin-name":"def defonce cond apply if-not if-let if not not= = < > <= >= == + / * - rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit defmacro defn defn- macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy defstruct first rest cons defprotocol cast coll deftype defrecord last butlast sigs reify second ffirst fnext nfirst nnext defmulti defmethod meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},lexemes:t,className:"name",begin:t,starts:d},h=[f,o,l,c,i,u,s,r,a,n];return f.contains=[e.COMMENT("comment",""),p,d],d.contains=h,s.contains=h,c.contains=[s],{aliases:["clj"],illegal:/\S/,contains:[f,o,l,c,i,u,s,r,a]}}},function(e,t){e.exports=function(e){var t={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super yield import export from as default await then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",built_in:"npm require console print module global window document"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={className:"subst",begin:/#\{/,end:/}/,keywords:t},o=[e.BINARY_NUMBER_MODE,e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,r]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[r,e.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+n},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];r.contains=o;var i=e.inherit(e.TITLE_MODE,{begin:n}),a={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(o)}]};return{aliases:["coffee","cson","iced"],keywords:t,illegal:/\/\*/,contains:o.concat([e.COMMENT("###","###"),e.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+n+"\\s*=\\s*(\\(.*\\))?\\s*\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[i,a]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:"(\\(.*\\))?\\s*\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[a]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[i]},i]},{begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}},function(e,t){e.exports=function(e){var t={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let nameof on orderby partial remove select set value var when where yield",literal:"null false true"},n={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},r={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},o=e.inherit(r,{illegal:/\n/}),i={className:"subst",begin:"{",end:"}",keywords:t},a=e.inherit(i,{illegal:/\n/}),s={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:"{{"},{begin:"}}"},e.BACKSLASH_ESCAPE,a]},l={className:"string",begin:/\$@"/,end:'"',contains:[{begin:"{{"},{begin:"}}"},{begin:'""'},i]},c=e.inherit(l,{illegal:/\n/,contains:[{begin:"{{"},{begin:"}}"},{begin:'""'},a]});i.contains=[l,s,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.C_BLOCK_COMMENT_MODE],a.contains=[c,s,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];var u={variants:[l,s,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},f=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?";return{aliases:["csharp","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},u,n,{beginKeywords:"class interface",end:/[{;=]/,illegal:/[^\s:,]/,contains:[e.TITLE_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",end:/[{;=]/,illegal:/[^\s:]/,contains:[e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"meta-string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+f+"\\s+)+"+e.IDENT_RE+"\\s*\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{begin:e.IDENT_RE+"\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[u,n,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}]}}},function(e,t){e.exports=function(e){var t={begin:/(?:[A-Z\_\.\-]+|--[a-zA-Z0-9_-]+)\s*:/,returnBegin:!0,end:";",endsWithParent:!0,contains:[{className:"attribute",begin:/\S/,end:":",excludeEnd:!0,starts:{endsWithParent:!0,excludeEnd:!0,contains:[{begin:/[\w-]+\(/,returnBegin:!0,contains:[{className:"built_in",begin:/[\w-]+/},{begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:"#[0-9A-Fa-f]+"},{className:"meta",begin:"!important"}]}}]};return{case_insensitive:!0,illegal:/[=\/|'\$]/,contains:[e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/},{className:"selector-class",begin:/\.[A-Za-z0-9_-]+/},{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"@(page|font-face)",lexemes:"@[a-z-]+",keywords:"@page @font-face"},{begin:"@",end:"[{;]",illegal:/:/,returnBegin:!0,contains:[{className:"keyword",begin:/@\-?\w[\w]*(\-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:"and or not only",contains:[{begin:/[a-z-]+:/,className:"attribute"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},{begin:"{",end:"}",illegal:/\S/,contains:[e.C_BLOCK_COMMENT_MODE,t]}]}}},function(e,t){e.exports=function(e){return{aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$"},{begin:"^.+?\\n[=-]{2,}$"}]},{begin:"<",end:">",subLanguage:"xml",relevance:0},{className:"bullet",begin:"^\\s*([*+-]|(\\d+\\.))\\s+"},{className:"strong",begin:"[*_]{2}.+?[*_]{2}"},{className:"emphasis",variants:[{begin:"\\*.+?\\*"},{begin:"_.+?_",relevance:0}]},{className:"quote",begin:"^>\\s+",end:"$"},{className:"code",variants:[{begin:"^```\\w*\\s*$",end:"^```[ ]*$"},{begin:"`.+?`"},{begin:"^( {4}|\\t)",end:"$",relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},{begin:"\\[.+?\\][\\(\\[].*?[\\)\\]]",returnBegin:!0,contains:[{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0,relevance:0},{className:"link",begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}],relevance:10},{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}}},function(e,t){e.exports=function(e){return{aliases:["docker"],case_insensitive:!0,keywords:"from maintainer expose env arg user onbuild stopsignal",contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}},function(e,t){e.exports=function(e){var t="[a-zA-Z_][a-zA-Z0-9_.]*(\\!|\\?)?",n="and false then defined module in return redo retry end for true self when next until do begin unless nil break not case cond alias while ensure or include use alias fn quote require import with|0",r={className:"subst",begin:"#\\{",end:"}",lexemes:t,keywords:n},o={className:"string",begin:"~[a-z](?=[/|([{<\"'])",contains:[{endsParent:!0,contains:[{contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}]}]}]},i={className:"string",begin:"~[A-Z](?=[/|([{<\"'])",contains:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/\</,end:/\>/}]},a={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},s={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:t,endsParent:!0})]},l=e.inherit(s,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),c=[a,i,o,e.HASH_COMMENT_MODE,l,s,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[a,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:t+":(?!:)",relevance:0},{className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[1-9][0-9_]*(.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{begin:"->"},{begin:"("+e.RE_STARTERS_RE+")\\s*",contains:[e.HASH_COMMENT_MODE,{className:"regexp",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];return r.contains=c,{lexemes:t,keywords:n,contains:c}}},function(e,t){e.exports=function(e){var t={variants:[e.COMMENT("--","$"),e.COMMENT("{-","-}",{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]};return{keywords:"let in if then else case of where module import exposing type alias as infix infixl infixr port effect command subscription",contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,r,{begin:"{",end:"}",contains:r.contains},t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},{className:"string",begin:"'\\\\?.",end:"'",illegal:"."},e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,n,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}},function(e,t){e.exports=function(e){var t="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",n={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},r={className:"doctag",begin:"@[A-Za-z]+"},o={begin:"#<",end:">"},i=[e.COMMENT("#","$",{contains:[r]}),e.COMMENT("^\\=begin","^\\=end",{contains:[r],relevance:10}),e.COMMENT("^__END__","\\n$")],a={className:"subst",begin:"#\\{",end:"}",keywords:n},s={className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[qQwWx]?\\(",end:"\\)"},{begin:"%[qQwWx]?\\[",end:"\\]"},{begin:"%[qQwWx]?{",end:"}"},{begin:"%[qQwWx]?<",end:">"},{begin:"%[qQwWx]?/",end:"/"},{begin:"%[qQwWx]?%",end:"%"},{begin:"%[qQwWx]?-",end:"-"},{begin:"%[qQwWx]?\\|",end:"\\|"},{begin:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{begin:/<<[-~]?'?(\w+)(?:.|\n)*?\n\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},{begin:/\w+/,endSameAsBegin:!0,contains:[e.BACKSLASH_ESCAPE,a]}]}]},l={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:n},c=[s,o,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE}]}].concat(i)},{className:"function",beginKeywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:t}),l].concat(i)},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[s,{begin:t}],relevance:0},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{className:"params",begin:/\|/,end:/\|/,keywords:n},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[o,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,a],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r{",end:"}[a-z]*"},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(i),relevance:0}].concat(i);a.contains=c,l.contains=c;var u=[{begin:/^\s*=>/,starts:{end:"$",contains:c}},{className:"meta",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>)",starts:{end:"$",contains:c}}];return{aliases:["rb","gemspec","podspec","thor","irb"],keywords:n,illegal:/\/\*/,contains:i.concat(u).concat(c)}}},function(e,t){e.exports=function(e){var t="[a-z'][a-zA-Z0-9_']*",n="("+t+":"+t+"|"+t+")",r={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},o=e.COMMENT("%","$"),i={className:"number",begin:"\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)",relevance:0},a={begin:"fun\\s+"+t+"/\\d+"},s={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},l={begin:"{",end:"}",relevance:0},c={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},u={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},f={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:"{",end:"}",relevance:0}]},d={beginKeywords:"fun receive if try case",end:"end",keywords:r};d.contains=[o,a,e.inherit(e.APOS_STRING_MODE,{className:""}),d,s,e.QUOTE_STRING_MODE,i,l,c,u,f];var p=[o,a,d,s,e.QUOTE_STRING_MODE,i,l,c,u,f];s.contains[1].contains=p,l.contains=p,f.contains[1].contains=p;var h={className:"params",begin:"\\(",end:"\\)",contains:p};return{aliases:["erl"],keywords:r,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+t+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[h,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:r,contains:p}},o,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,lexemes:"-"+e.IDENT_RE,keywords:"-module -record -undef -export -ifdef -ifndef -author -copyright -doc -vsn -import -include -include_lib -compile -define -else -endif -file -behaviour -behavior -spec",contains:[h]},i,e.QUOTE_STRING_MODE,f,c,u,l,{begin:/\.$/}]}}},function(e,t){e.exports=function(e){return{keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBufferiimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}},function(e,t){e.exports=function(e){var t={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,illegal:/["']/}]}]}}},function(e,t){e.exports=function(e){return{case_insensitive:!0,keywords:{keyword:"task project allprojects subprojects artifacts buildscript configurations dependencies repositories sourceSets description delete from into include exclude source classpath destinationDir includes options sourceCompatibility targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant def abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true antlrtask checkstyle codenarc copy boolean byte char class double float int interface long short void compile runTime file fileTree abs any append asList asWritable call collect compareTo count div dump each eachByte eachFile eachLine every find findAll flatten getAt getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter newReader newWriter next plus pop power previous print println push putAt read readBytes readLines reverse reverseEach round size sort splitEachLine step subMap times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader withStream withWriter withWriterAppend write writeLine"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.REGEXP_MODE]}}},function(e,t){e.exports=function(e){return{keywords:{literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait super this abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},{className:"string",begin:"'''",end:"'''"},{className:"string",begin:"\\$/",end:"/\\$",relevance:10},e.APOS_STRING_MODE,{className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[e.BACKSLASH_ESCAPE]},e.QUOTE_STRING_MODE,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},e.BINARY_NUMBER_MODE,{className:"class",beginKeywords:"class interface trait enum",end:"{",illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{className:"string",begin:/[^\?]{0}[A-Za-z0-9_$]+ *:/},{begin:/\?/,end:/\:/},{className:"symbol",begin:"^\\s*[A-Za-z0-9_$]+:",relevance:0}],illegal:/#|<\//}}},function(e,t){e.exports=function(e){var t={"builtin-name":"each in with if else unless bindattr action collection debugger log outlet template unbound view yield lookup"},n={begin:/".*?"|'.*?'|\[.*?\]|\w+/},r=e.inherit(n,{keywords:t,starts:{endsWithParent:!0,relevance:0,contains:[e.inherit(n,{relevance:0})]}}),o=e.inherit(r,{className:"name"}),i=e.inherit(r,{relevance:0});return{aliases:["hbs","html.hbs","html.handlebars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[o],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[o]},{className:"template-tag",begin:/\{\{[#\/]/,end:/\}\}/,contains:[o]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,keywords:t,contains:[i]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,keywords:t,contains:[i]}]}}},function(e,t){e.exports=function(e){var t={variants:[e.COMMENT("--","$"),e.COMMENT("{-","-}",{contains:["self"]})]},n={className:"meta",begin:"{-#",end:"#-}"},r={className:"meta",begin:"^#",end:"$"},o={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},i={begin:"\\(",end:"\\)",illegal:'"',contains:[n,r,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),t]};return{aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[i,t],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[i,t],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[o,i,t]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[n,o,i,{begin:"{",end:"}",contains:i.contains},t]},{beginKeywords:"default",end:"$",contains:[o,i,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[o,e.QUOTE_STRING_MODE,t]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},n,r,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,o,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}]}}},function(e,t){e.exports=function(e){var t="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",n={className:"number",begin:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",relevance:0};return{aliases:["jsp"],keywords:t,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"function",begin:"([À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*)*>)?\\s+)+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:t,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:t,relevance:0,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},n,{className:"meta",begin:"@[A-Za-z]+"}]}}},function(e,t){e.exports=function(e){var t="<>",n="</>",r={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/},o="[A-Za-z$_][0-9A-Za-z$_]*",i={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},a={className:"number",variants:[{begin:"\\b(0[bB][01]+)n?"},{begin:"\\b(0[oO][0-7]+)n?"},{begin:e.C_NUMBER_RE+"n?"}],relevance:0},s={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},l={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,s],subLanguage:"xml"}},c={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,s],subLanguage:"css"}},u={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,s]};s.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,c,u,a,e.REGEXP_MODE];var f=s.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{aliases:["js","jsx","mjs","cjs"],keywords:i,contains:[{className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},{className:"meta",begin:/^#!/,end:/$/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,c,u,e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:o+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,a,{begin:/[{,\n]\s*/,relevance:0,contains:[{begin:o+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:o,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+o+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:o},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:f}]}]},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:t,end:n},{begin:r.begin,end:r.end}],subLanguage:"xml",contains:[{begin:r.begin,end:r.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:o}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:f}],illegal:/\[|%/},{begin:/\$[(.]/},e.METHOD_GUARD,{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"constructor get set",end:/\{/,excludeEnd:!0}],illegal:/#(?!!)/}}},function(e,t){e.exports=function(e){var t={literal:"true false null"},n=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],r=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],o={end:",",endsWithParent:!0,excludeEnd:!0,contains:r,keywords:t},i={begin:"{",end:"}",contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(o,{begin:/:/})].concat(n),illegal:"\\S"},a={begin:"\\[",end:"\\]",contains:[e.inherit(o)],illegal:"\\S"};return r.push(i,a),n.forEach((function(e){r.push(e)})),{contains:r,keywords:t,illegal:"\\S"}}},function(e,t){e.exports=function(e){var t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual trait volatile transient native default",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},r={className:"subst",begin:"\\${",end:"}",contains:[e.C_NUMBER_MODE]},o={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},i={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[o,r]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,o,r]}]};r.contains.push(i);var a={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},s={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(i,{className:"meta-string"})]}]},l={className:"number",begin:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",relevance:0},c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),u={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},f=u;return f.variants[1].contains=[u],u.variants[1].contains=[f],{aliases:["kt"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},n,a,s,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,illegal:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[u,e.C_LINE_COMMENT_MODE,c],relevance:0},e.C_LINE_COMMENT_MODE,c,a,s,i,e.C_NUMBER_MODE]},c]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},a,s]},i,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},l]}}},function(e,t){e.exports=function(e){var t=[],n=[],r=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},o=function(e,t,n){return{className:e,begin:t,relevance:n}},i={begin:"\\(",end:"\\)",contains:n,relevance:0};n.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r("'"),r('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},o("number","#[0-9A-Fa-f]+\\b"),i,o("variable","@@?[\\w-]+",10),o("variable","@{[\\w-]+}"),o("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},{className:"meta",begin:"!important"});var a=n.concat({begin:"{",end:"}",contains:t}),s={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(n)},l={begin:"([\\w-]+|@{[\\w-]+})\\s*:",returnBegin:!0,end:"[;}]",relevance:0,contains:[{className:"attribute",begin:"([\\w-]+|@{[\\w-]+})",end:":",excludeEnd:!0,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:n}}]},c={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",returnEnd:!0,contains:n,relevance:0}},u={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:a}},f={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:"([\\w-]+|@{[\\w-]+})",end:"{"}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,o("keyword","all\\b"),o("variable","@{[\\w-]+}"),o("selector-tag","([\\w-]+|@{[\\w-]+})%?",0),o("selector-id","#([\\w-]+|@{[\\w-]+})"),o("selector-class","\\.([\\w-]+|@{[\\w-]+})",0),o("selector-tag","&",0),{className:"selector-attr",begin:"\\[",end:"\\]"},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"\\(",end:"\\)",contains:a},{begin:"!important"}]};return t.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,c,u,l,f),{case_insensitive:!0,illegal:"[=>'/<($\"]",contains:t}}},function(e,t){e.exports=function(e){var t={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger case default function var with then unless until loop of by when and or is isnt not it that otherwise from to til fallthrough super case default function var void const let enum export import native list map __hasProp __extends __slice __bind __indexOf",literal:"true false null undefined yes no on off it that void",built_in:"npm require console print module global window document"},n="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",r=e.inherit(e.TITLE_MODE,{begin:n}),o={className:"subst",begin:/#\{/,end:/}/,keywords:t},i={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:\-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:t},a=[e.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o,i]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,o,i]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[o,e.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W)/}]},{begin:"@"+n},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];o.contains=a;var s={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(a)}]};return{aliases:["ls"],keywords:t,illegal:/\/\*/,contains:a.concat([e.COMMENT("\\/\\*","\\*\\/"),e.HASH_COMMENT_MODE,{begin:"(#=>|=>|\\|>>|-?->|\\!->)"},{className:"function",contains:[r,s],returnBegin:!0,variants:[{begin:"("+n+"\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B\\->\\*?",end:"\\->\\*?"},{begin:"("+n+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\))?\\s*\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+n+"\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[r]},r]},{begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}},function(e,t){e.exports=function(e){var t={begin:"\\[=*\\[",end:"\\]=*\\]",contains:["self"]},n=[e.COMMENT("--(?!\\[=*\\[)","$"),e.COMMENT("--\\[=*\\[","\\]=*\\]",{contains:[t],relevance:10})];return{lexemes:e.UNDERSCORE_IDENT_RE,keywords:{literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstringmodule next pairs pcall print rawequal rawget rawset require select setfenvsetmetatable tonumber tostring type unpack xpcall arg selfcoroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:n.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:n}].concat(n)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\[=*\\[",end:"\\]=*\\]",contains:[t],relevance:5}])}}},function(e,t){e.exports=function(e){var t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t]},o={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},i={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{aliases:["mk","mak"],keywords:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath",lexemes:/[\w-]+/,contains:[e.HASH_COMMENT_MODE,t,n,r,o,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{"meta-keyword":".PHONY"},lexemes:/[\.\w]+/},i]}}},function(e,t){e.exports=function(e){var t="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",n={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:t},r={begin:"->{",end:"}"},o={variants:[{begin:/\$\d/},{begin:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{begin:/[\$%@][^\s\w{]/,relevance:0}]},i=[e.BACKSLASH_ESCAPE,n,o],a=[o,e.HASH_COMMENT_MODE,e.COMMENT("^\\=\\w","\\=cut",{endsWithParent:!0}),r,{className:"string",contains:i,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*\\<",end:"\\>",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:"{\\w+}",contains:[],relevance:0},{begin:"-?\\w+\\s*\\=\\>",contains:[],relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",begin:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",relevance:10},{className:"regexp",begin:"(m|qr)?/",end:"/[a-z]*",contains:[e.BACKSLASH_ESCAPE],relevance:0}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return n.contains=a,r.contains=a,{aliases:["pl","pm"],lexemes:/[\w\.]+/,keywords:t,contains:a}}},function(e,t){e.exports=function(e){var t={begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},n={className:"meta",begin:/<\?(php)?|\?>/},r={className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},o={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{aliases:["php","php3","php4","php5","php6","php7"],case_insensitive:!0,keywords:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[n]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler",lexemes:e.UNDERSCORE_IDENT_RE}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;?$/,contains:[e.BACKSLASH_ESCAPE,{className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]}]},n,{className:"keyword",begin:/\$this\b/},t,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function",end:/[;{]/,excludeEnd:!0,illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:["self",t,e.C_BLOCK_COMMENT_MODE,r,o]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"=>"},r,o]}}},function(e,t){e.exports=function(e){var t={keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter"},n={begin:"`[\\s\\S]",relevance:0},r={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},o={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[n,r,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},i={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},a=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),s={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|New|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Complete|Confirm|Deny|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},l={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},c={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[r]}]},u={begin:/using\s/,end:/$/,returnBegin:!0,contains:[o,i,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},f={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},d={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(t.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},p=[d,a,n,e.NUMBER_MODE,o,i,s,r,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/\@\B/,relevance:0}],h={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",p,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return d.contains.unshift(h),{aliases:["ps","ps1"],lexemes:/-?[A-z\.\-]+/,case_insensitive:!0,keywords:t,contains:p.concat(l,c,u,f,h)}}},function(e,t){e.exports=function(e){var t={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10",built_in:"Ellipsis NotImplemented",literal:"False None True"},n={className:"meta",begin:/^(>>>|\.\.\.) /},r={className:"subst",begin:/\{/,end:/\}/,keywords:t,illegal:/#/},o={begin:/\{\{/,relevance:0},i={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,n],relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,n],relevance:10},{begin:/(fr|rf|f)'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,n,o,r]},{begin:/(fr|rf|f)"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,n,o,r]},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},{begin:/(fr|rf|f)'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,o,r]},{begin:/(fr|rf|f)"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,o,r]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},a={className:"number",relevance:0,variants:[{begin:e.BINARY_NUMBER_RE+"[lLjJ]?"},{begin:"\\b(0o[0-7]+)[lLjJ]?"},{begin:e.C_NUMBER_RE+"[lLjJ]?"}]},s={className:"params",begin:/\(/,end:/\)/,contains:["self",n,a,i,e.HASH_COMMENT_MODE]};return r.contains=[i,a,n],{aliases:["py","gyp","ipython"],keywords:t,illegal:/(<\/|->|\?)|=>/,contains:[n,a,{beginKeywords:"if",relevance:0},i,e.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[e.UNDERSCORE_TITLE_MODE,s,{begin:/->/,endsWithParent:!0,keywords:"None"}]},{className:"meta",begin:/^[\t ]*@/,end:/$/},{begin:/\b(print|exec)\(/}]}}},function(e,t){e.exports=function(e){var t="([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*";return{contains:[e.HASH_COMMENT_MODE,{begin:t,lexemes:t,keywords:{keyword:"function if in break next repeat else for return switch while try tryCatch stop warning require library attach detach source setMethod setGeneric setGroupGeneric setClass ...",literal:"NULL NA TRUE FALSE T F Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10"},relevance:0},{className:"number",begin:"0[xX][0-9a-fA-F]+[Li]?\\b",relevance:0},{className:"number",begin:"\\d+(?:[eE][+\\-]?\\d*)?L\\b",relevance:0},{className:"number",begin:"\\d+\\.(?!\\d)(?:i\\b)?",relevance:0},{className:"number",begin:"\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{className:"number",begin:"\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{begin:"`",end:"`",relevance:0},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]}]}}},function(e,t){e.exports=function(e){var t="([ui](8|16|32|64|128|size)|f(32|64))?",n="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{aliases:["rs"],keywords:{keyword:"abstract as async await become box break const continue crate do dyn else enum extern false final fn for if impl in let loop macro match mod move mut override priv pub ref return self Self static struct super trait true try type typeof unsafe unsized use virtual where while yield",literal:"true false Some None Ok Err",built_in:n},lexemes:e.IDENT_RE+"!?",illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+t}],relevance:0},{className:"function",beginKeywords:"fn",end:"(\\(|<)",excludeEnd:!0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"#\\!?\\[",end:"\\]",contains:[{className:"meta-string",begin:/"/,end:/"/}]},{className:"class",beginKeywords:"type",end:";",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"\\S"},{className:"class",beginKeywords:"trait enum struct union",end:"{",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"[\\w\\d]"},{begin:e.IDENT_RE+"::",keywords:{built_in:n}},{begin:"->"}]}}},function(e,t){e.exports=function(e){var t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:"\\${",end:"}"}]},n={className:"string",variants:[{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'"""',end:'"""',relevance:10},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[t],relevance:10}]},r={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},o={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},i={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[r]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[r]},o]},a={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[o]};return{keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},r,a,i,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}},function(e,t){e.exports=function(e){var t={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b"},n={className:"number",begin:"#[0-9A-Fa-f]+"};e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE;return{case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"\\#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},{className:"selector-attr",begin:"\\[",end:"\\]",illegal:"$"},{className:"selector-tag",begin:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",relevance:0},{className:"selector-pseudo",begin:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"},{className:"selector-pseudo",begin:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"},t,{className:"attribute",begin:"\\b(src|z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",illegal:"[^\\s]"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[t,n,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"meta",begin:"!important"}]},{begin:"@(page|font-face)",lexemes:"@[a-z-]+",keywords:"@page @font-face"},{begin:"@",end:"[{;]",returnBegin:!0,keywords:"and or not only",contains:[{begin:"@[a-z-]+",className:"keyword"},t,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,n,e.CSS_NUMBER_MODE]}]}}},function(e,t){e.exports=function(e){return{aliases:["console"],contains:[{className:"meta",begin:"^\\s{0,3}[/\\w\\d\\[\\]()@-]*[>%$#]",starts:{end:"$",subLanguage:"bash"}}]}}},function(e,t){e.exports=function(e){var t=e.COMMENT("--","$");return{case_insensitive:!0,illegal:/[<>{}*]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",end:/;/,endsWithParent:!0,lexemes:/[\w\.]+/,keywords:{keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:"`",end:"`"},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,e.HASH_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE,t,e.HASH_COMMENT_MODE]}}},function(e,t){e.exports=function(e){var t={keyword:"#available #colorLiteral #column #else #elseif #endif #file #fileLiteral #function #if #imageLiteral #line #selector #sourceLocation _ __COLUMN__ __FILE__ __FUNCTION__ __LINE__ Any as as! as? associatedtype associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false fileprivate final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating open operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet",literal:"true false nil",built_in:"abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip"},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r={className:"subst",begin:/\\\(/,end:"\\)",keywords:t,contains:[]},o={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/"""/,end:/"""/},{begin:/"/,end:/"/}]},i={className:"number",begin:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",relevance:0};return r.contains=[i],{keywords:t,contains:[o,e.C_LINE_COMMENT_MODE,n,{className:"type",begin:"\\b[A-Z][\\wÀ-ʸ']*[!?]"},{className:"type",begin:"\\b[A-Z][\\wÀ-ʸ']*",relevance:0},i,{className:"function",beginKeywords:"func",end:"{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{begin:/</,end:/>/},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,contains:["self",i,o,e.C_BLOCK_COMMENT_MODE,{begin:":"}],illegal:/["']/}],illegal:/\[|%/},{className:"class",beginKeywords:"struct protocol class extension enum",keywords:t,end:"\\{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/})]},{className:"meta",begin:"(@discardableResult|@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@objcMembers|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain|@dynamicMemberLookup|@propertyWrapper)"},{beginKeywords:"import",end:/$/,contains:[e.C_LINE_COMMENT_MODE,n]}]}}},function(e,t){e.exports=function(e){var t={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:"{{",end:"}}"},{begin:"%{",end:"}"}]}]};return{case_insensitive:!0,aliases:["yml","YAML","yaml"],contains:[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---s*$",relevance:10},{className:"string",begin:"[\\|>]([0-9]?[+-])?[ ]*\\n( *)[\\S ]+\\n(\\2[\\S ]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!"+e.UNDERSCORE_IDENT_RE},{className:"type",begin:"!!"+e.UNDERSCORE_IDENT_RE},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"\\-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:"true false yes no null",keywords:{literal:"true false yes no null"}},{className:"number",begin:e.C_NUMBER_RE+"\\b"},t]}}},function(e,t){e.exports=function(e){var t="attribute block constant cycle date dump include max min parent random range source template_from_string",n={beginKeywords:t,keywords:{name:t},relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},r={begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize column convert_encoding date date_modify default escape filter first format inky_to_html inline_css join json_encode keys last length lower map markdown merge nl2br number_format raw reduce replace reverse round slice sort spaceless split striptags title trim upper url_encode",contains:[n]},o="apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with";return o=o+" "+o.split(" ").map((function(e){return"end"+e})).join(" "),{aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#}/),{className:"template-tag",begin:/\{%/,end:/%}/,contains:[{className:"name",begin:/\w+/,keywords:o,starts:{endsWithParent:!0,contains:[r,n],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/}}/,contains:["self",r,n]}]}}},function(e,t){e.exports=function(e){var t={keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract as from extends async await",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void Promise"},n={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},r={begin:"\\(",end:/\)/,keywords:t,contains:["self",e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.NUMBER_MODE]},o={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,r]},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)n?"},{begin:"\\b(0[oO][0-7]+)n?"},{begin:e.C_NUMBER_RE+"n?"}],relevance:0},a={className:"subst",begin:"\\$\\{",end:"\\}",keywords:t,contains:[]},s={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,a],subLanguage:"xml"}},l={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,a],subLanguage:"css"}},c={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,a]};return a.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,l,c,i,e.REGEXP_MODE],{aliases:["ts"],keywords:t,contains:[{className:"meta",begin:/^\s*['"]use strict['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,l,c,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+e.IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.IDENT_RE},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:["self",e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[\{;]/,excludeEnd:!0,keywords:t,contains:["self",e.inherit(e.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),o],illegal:/%/,relevance:0},{beginKeywords:"constructor",end:/[\{;]/,excludeEnd:!0,contains:["self",o]},{begin:/module\./,keywords:{built_in:"module"},relevance:0},{beginKeywords:"module",end:/\{/,excludeEnd:!0},{beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},{begin:/\$[(.]/},{begin:"\\."+e.IDENT_RE,relevance:0},n,r]}}},function(e,t,n){var r=n(888);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(889);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){n(905),e.exports="ngSanitize"},function(e,t,n){var r,o,i=n(906),a=n(83),s=(o=[],{activateTrap:function(e){if(o.length>0){var t=o[o.length-1];t!==e&&t.pause()}var n=o.indexOf(e);-1===n||o.splice(n,1),o.push(e)},deactivateTrap:function(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),o.length>0&&o[o.length-1].unpause()}});function l(e){return setTimeout(e,0)}e.exports=function(e,t){var n=document,o="string"==typeof e?n.querySelector(e):e,c=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0},t),u={firstTabbableNode:null,lastTabbableNode:null,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},f={activate:function(e){if(u.active)return;w(),u.active=!0,u.paused=!1,u.nodeFocusedBeforeActivation=n.activeElement;var t=e&&e.onActivate?e.onActivate:c.onActivate;t&&t();return p(),f},deactivate:d,pause:function(){if(u.paused||!u.active)return;u.paused=!0,h()},unpause:function(){if(!u.paused||!u.active)return;u.paused=!1,w(),p()}};return f;function d(e){if(u.active){clearTimeout(r),h(),u.active=!1,u.paused=!1,s.deactivateTrap(f);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:c.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:c.returnFocusOnDeactivate)&&l((function(){var e;x((e=u.nodeFocusedBeforeActivation,m("setReturnFocus")||e))})),f}}function p(){if(u.active)return s.activateTrap(f),r=l((function(){x(g())})),n.addEventListener("focusin",y,!0),n.addEventListener("mousedown",v,{capture:!0,passive:!1}),n.addEventListener("touchstart",v,{capture:!0,passive:!1}),n.addEventListener("click",_,{capture:!0,passive:!1}),n.addEventListener("keydown",b,{capture:!0,passive:!1}),f}function h(){if(u.active)return n.removeEventListener("focusin",y,!0),n.removeEventListener("mousedown",v,!0),n.removeEventListener("touchstart",v,!0),n.removeEventListener("click",_,!0),n.removeEventListener("keydown",b,!0),f}function m(e){var t=c[e],r=t;if(!t)return null;if("string"==typeof t&&!(r=n.querySelector(t)))throw new Error("`"+e+"` refers to no known node");if("function"==typeof t&&!(r=t()))throw new Error("`"+e+"` did not return a node");return r}function g(){var e;if(!(e=null!==m("initialFocus")?m("initialFocus"):o.contains(n.activeElement)?n.activeElement:u.firstTabbableNode||m("fallbackFocus")))throw new Error("Your focus-trap needs to have at least one focusable element");return e}function v(e){o.contains(e.target)||(c.clickOutsideDeactivates?d({returnFocus:!i.isFocusable(e.target)}):c.allowOutsideClick&&c.allowOutsideClick(e)||e.preventDefault())}function y(e){o.contains(e.target)||e.target instanceof Document||(e.stopImmediatePropagation(),x(u.mostRecentlyFocusedNode||g()))}function b(e){if(!1!==c.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void d();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){if(w(),e.shiftKey&&e.target===u.firstTabbableNode)return e.preventDefault(),void x(u.lastTabbableNode);if(!e.shiftKey&&e.target===u.lastTabbableNode)e.preventDefault(),x(u.firstTabbableNode)}(e)}function _(e){c.clickOutsideDeactivates||o.contains(e.target)||c.allowOutsideClick&&c.allowOutsideClick(e)||(e.preventDefault(),e.stopImmediatePropagation())}function w(){var e=i(o);u.firstTabbableNode=e[0]||g(),u.lastTabbableNode=e[e.length-1]||g()}function x(e){e!==n.activeElement&&(e&&e.focus?(e.focus(),u.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):x(g()))}}},function(e,t,n){var r=n(908);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(920);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){e.exports===t&&(e.exports="monospaced.elastic"),angular.module("monospaced.elastic",[]).constant("msdElasticConfig",{append:""}).directive("msdElastic",["$timeout","$window","msdElasticConfig",function(e,t,n){"use strict";return{require:"ngModel",restrict:"A, C",link:function(r,o,i,a){var s=o[0],l=o;if("TEXTAREA"===s.nodeName&&t.getComputedStyle){l.css({overflow:"auto","overflow-y":"hidden","word-wrap":"break-word"});var c=s.value;s.value="",s.value=c;var u,f,d=i.msdElastic?i.msdElastic.replace(/\\n/g,"\n"):n.append,p=angular.element(t),h="position: absolute; top: -999px; right: auto; bottom: auto;left: 0; overflow: hidden; -webkit-box-sizing: content-box;-moz-box-sizing: content-box; box-sizing: content-box;min-height: 0 !important; height: 0 !important; padding: 0;word-wrap: break-word; border: 0;",m=angular.element('<textarea aria-hidden="true" tabindex="-1" style="'+h+'"/>').data("elastic",!0),g=m[0],v=getComputedStyle(s),y=v.getPropertyValue("resize"),b="border-box"===v.getPropertyValue("box-sizing")||"border-box"===v.getPropertyValue("-moz-box-sizing")||"border-box"===v.getPropertyValue("-webkit-box-sizing")?{width:parseInt(v.getPropertyValue("border-right-width"),10)+parseInt(v.getPropertyValue("padding-right"),10)+parseInt(v.getPropertyValue("padding-left"),10)+parseInt(v.getPropertyValue("border-left-width"),10),height:parseInt(v.getPropertyValue("border-top-width"),10)+parseInt(v.getPropertyValue("padding-top"),10)+parseInt(v.getPropertyValue("padding-bottom"),10)+parseInt(v.getPropertyValue("border-bottom-width"),10)}:{width:0,height:0},_=parseInt(v.getPropertyValue("min-height"),10),w=parseInt(v.getPropertyValue("height"),10),x=Math.max(_,w)-b.height,k=parseInt(v.getPropertyValue("max-height"),10),M=["font-family","font-size","font-weight","font-style","letter-spacing","line-height","text-transform","word-spacing","text-indent","white-space"];l.data("elastic")||(k=k&&k>0?k:9e4,g.parentNode!==document.body&&angular.element(document.body).append(g),l.css({resize:"none"===y||"vertical"===y?"none":"horizontal"}).data("elastic",!0),s.oninput="onpropertychange"in s&&"oninput"in s?s.onkeyup=O:O,p.bind("resize",E),r.$watch((function(){return a.$modelValue}),(function(e){E()})),r.$on("elastic:adjust",(function(){S(),E()})),e(O,0,!1),r.$on("$destroy",(function(){m.remove(),p.unbind("resize",E)})))}function S(){var e=h;u=s,v=getComputedStyle(s),angular.forEach(M,(function(t){e+=t+":"+v.getPropertyValue(t)+";"})),g.setAttribute("style",e)}function O(){var t,n,o,i,a;u!==s&&S(),f||(f=!0,g.value=s.value+d,g.style.overflowY=s.style.overflowY,t=""===s.style.height?"auto":parseInt(s.style.height,10),"px"===(n=getComputedStyle(s).getPropertyValue("width")).substr(n.length-2,2)&&(i=parseInt(n,10)-b.width,g.style.width=i+"px"),(o=g.scrollHeight)>k?(o=k,a="scroll"):o<x&&(o=x),o+=b.height,s.style.overflowY=a||"hidden",t!==o&&(r.$emit("elastic:resize",l,t,o),s.style.height=o+"px"),e((function(){f=!1}),1,!1))}function E(){f=!1,O()}}}}])},function(e,t,n){e.exports={default:n(936),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){e.exports={default:n(969),__esModule:!0}},function(e,t,n){var r=n(984),o=n(159);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(985);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(27);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var o=n(83),i=n(990),a=n(1003),s=n(0),l=n(1059),c=n(1061),u=n(1062),f=n(1063),d=n(1064),p=n(1065),h=n(1066),m=n(1067),g=n(1068),v=Object.keys(m),y=function(e){var t=e.source||e.children||"",n=e.parserOptions;if(e.allowedTypes&&e.disallowedTypes)throw new Error("Only one of `allowedTypes` and `disallowedTypes` should be defined");var r=o(m,e.renderers),s=[[a,n]].concat(e.plugins||[]).reduce(b,i()),h=s.parse(t),y=o(e,{renderers:r,definitions:p(h)}),_=function(e){var t=[d,l()],n=e.disallowedTypes;e.allowedTypes&&(n=v.filter((function(t){return"root"!==t&&-1===e.allowedTypes.indexOf(t)})));var r=e.unwrapDisallowed?"unwrap":"remove";n&&n.length>0&&t.push(u.ofType(n,r));e.allowNode&&t.push(u.ifNotMatch(e.allowNode,r));var o=!e.escapeHtml&&!e.skipHtml,i=(e.astPlugins||[]).some((function(e){return(Array.isArray(e)?e[0]:e).identity===g.HtmlParser}));o&&!i&&t.push(c);return e.astPlugins?t.concat(e.astPlugins):t}(e),w=s.runSync(h),x=_.reduce((function(e,t){return t(e,y)}),w);return f(x,y)};function b(e,t){return Array.isArray(t)?e.use.apply(e,r(t)):e.use(t)}y.defaultProps={renderers:{},escapeHtml:!0,skipHtml:!1,sourcePos:!1,rawSourcePos:!1,transformLinkUri:h,astPlugins:[],plugins:[],parserOptions:{}},y.propTypes={className:s.string,source:s.string,children:s.string,sourcePos:s.bool,rawSourcePos:s.bool,escapeHtml:s.bool,skipHtml:s.bool,allowNode:s.func,allowedTypes:s.arrayOf(s.oneOf(v)),disallowedTypes:s.arrayOf(s.oneOf(v)),transformLinkUri:s.oneOfType([s.func,s.bool]),linkTarget:s.oneOfType([s.func,s.string]),transformImageUri:s.func,astPlugins:s.arrayOf(s.func),unwrapDisallowed:s.bool,renderers:s.object,plugins:s.array,parserOptions:s.object},y.types=v,y.renderers=m,y.uriTransformer=h,e.exports=y},function(e,t,n){"use strict";e.exports=function(){var e,t=this.Parser;if(!function(e){return Boolean(e&&e.prototype&&e.prototype.inlineTokenizers&&e.prototype.inlineTokenizers.break&&e.prototype.inlineTokenizers.break.locator)}(t))throw new Error("Missing parser to attach `remark-breaks` to");function n(e,t,n){for(var r,o=t.length,i=-1;++i<o;){if(10===(r=t.charCodeAt(i)))return!!n||e(t.slice(0,i+1))({type:"break"});if(32!==r)return}}e=t.prototype.inlineTokenizers,n.locator=e.break.locator,e.break=n}},function(e,t){e.exports='<div class="shortcuts-hint">\n\n <div class="shortcuts-hint__search-input-wrapper">\n <rg-input\n ng-attr-placeholder="{{hintPopupCtrl.searchPlaceholder}}"\n ng-model="hintPopupCtrl.searchText"\n ></rg-input>\n <rg-icon\n class="shortcuts-hint__search-icon"\n glyph="{{hintPopupCtrl.searchIcon}}"\n ></rg-icon>\n </div>\n\n <div class="shortcuts-hint__columns">\n <div class="shortcuts-hint__table">\n <div ng-repeat="mode in hintPopupCtrl.modes"\n class="shortcuts-hint__shortcut-block">\n\n <div class="shortcuts-hint__table-title" ng-if="mode.title">\n <div></div>\n <div class="shortcuts-hint__shortcuts-title">{{hintPopupCtrl.getTitle(mode.title)}}</div>\n </div>\n\n <div ng-repeat="shortcut in mode.shortcuts | shortcutSearch:hintPopupCtrl.searchText"\n class="shortcuts-hint__table-row">\n <div class="shortcuts-hint__shortcut-cell">\n <div class="shortcuts-hint__shortcut"\n ng-if="hintPopupCtrl.isArray(shortcut.key)"\n ng-repeat="key in shortcut.key track by $index">\n {{key | shortcutKeySymbol}}\n </div>\n <span class="shortcuts-hint__shortcut"\n ng-if="!hintPopupCtrl.isArray(shortcut.key)">{{shortcut.key | shortcutKeySymbol}}</span>\n </div>\n <div class="shortcuts-hint__hint">\n <span ng-repeat="title in shortcut.titles">\n {{hintPopupCtrl.getTitle(title)}}\n <br ng-if="!$last">\n </span>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div rg-template="hintPopupCtrl.tailTemplate"></div>\n\n</div>\n'},function(e,t,n){var r=n(1088);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){"use strict";
-/** @license React v16.13.1
- * react.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */var r=n(163),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function w(){}function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var k=x.prototype=new w;k.constructor=x,r(k,_.prototype),k.isPureReactComponent=!0;var M={current:null},S=Object.prototype.hasOwnProperty,O={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var r,o={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&!O.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:M.current}}function L(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var T=/\/+/g,D=[];function C(e,t,n,r){if(D.length){var o=D.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function P(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>D.length&&D.push(e)}function j(e,t,n){return null==e?0:function e(t,n,r,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case a:l=!0}}if(l)return r(o,t,""===n?"."+Y(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var u=n+Y(s=t[c],c);l+=e(s,u,r,o)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=g&&t[g]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),c=0;!(s=t.next()).done;)l+=e(s=s.value,u=n+Y(s,c++),r,o);else if("object"===s)throw r=""+t,Error(v(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return l}(e,"",t,n)}function Y(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function A(e,t){e.func.call(e.context,t,e.count++)}function I(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?R(e,r,n,(function(e){return e})):null!=e&&(L(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(T,"$&/")+"/")+n)),r.push(e))}function R(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(T,"$&/")+"/"),j(e,I,t=C(t,i,r,o)),P(t)}var $={current:null};function H(){var e=$.current;if(null===e)throw Error(v(321));return e}var N={ReactCurrentDispatcher:$,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:M,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return R(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;j(e,A,t=C(null,null,t,n)),P(t)},count:function(e){return j(e,(function(){return null}),null)},toArray:function(e){var t=[];return R(e,t,null,(function(e){return e})),t},only:function(e){if(!L(e))throw Error(v(143));return e}},t.Component=_,t.Fragment=s,t.Profiler=c,t.PureComponent=x,t.StrictMode=l,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,n){if(null==e)throw Error(v(267,e));var o=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=M.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)S.call(t,u)&&!O.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){c=Array(u);for(var f=0;f<u;f++)c[f]=arguments[f+2];o.children=c}return{$$typeof:i,type:e.type,key:a,ref:s,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=L,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return H().useCallback(e,t)},t.useContext=function(e,t){return H().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return H().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return H().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return H().useLayoutEffect(e,t)},t.useMemo=function(e,t){return H().useMemo(e,t)},t.useReducer=function(e,t,n){return H().useReducer(e,t,n)},t.useRef=function(e){return H().useRef(e)},t.useState=function(e){return H().useState(e)},t.version="16.13.1"},function(e,t,n){"use strict";
-/** @license React v16.13.1
- * react-dom.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */var r=n(1),o=n(163),i=n(765);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function s(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var l=!1,c=null,u=!1,f=null,d={onError:function(e){l=!0,c=e}};function p(e,t,n,r,o,i,a,u,f){l=!1,c=null,s.apply(d,arguments)}var h=null,m=null,g=null;function v(e,t,n){var r=e.type||"unknown-event";e.currentTarget=g(n),function(e,t,n,r,o,i,s,d,h){if(p.apply(this,arguments),l){if(!l)throw Error(a(198));var m=c;l=!1,c=null,u||(u=!0,f=m)}}(r,t,void 0,e),e.currentTarget=null}var y=null,b={};function _(){if(y)for(var e in b){var t=b[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!x[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in x[n]=t,n=t.eventTypes){var o=void 0,i=n[r],s=t,l=r;if(k.hasOwnProperty(l))throw Error(a(99,l));k[l]=i;var c=i.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&w(c[o],s,l);o=!0}else i.registrationName?(w(i.registrationName,s,l),o=!0):o=!1;if(!o)throw Error(a(98,r,e))}}}}function w(e,t,n){if(M[e])throw Error(a(100,e));M[e]=t,S[e]=t.eventTypes[n].dependencies}var x=[],k={},M={},S={};function O(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&_()}var E=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),L=null,T=null,D=null;function C(e){if(e=m(e)){if("function"!=typeof L)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),L(e.stateNode,e.type,t))}}function P(e){T?D?D.push(e):D=[e]:T=e}function j(){if(T){var e=T,t=D;if(D=T=null,C(e),t)for(e=0;e<t.length;e++)C(t[e])}}function Y(e,t){return e(t)}function A(e,t,n,r,o){return e(t,n,r,o)}function I(){}var R=Y,$=!1,H=!1;function N(){null===T&&null===D||(I(),j())}function z(e,t,n){if(H)return e(t,n);H=!0;try{return R(e,t,n)}finally{H=!1,N()}}var F=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,B=Object.prototype.hasOwnProperty,U={},W={};function V(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){q[e]=new V(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];q[t]=new V(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){q[e]=new V(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){q[e]=new V(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){q[e]=new V(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){q[e]=new V(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){q[e]=new V(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){q[e]=new V(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){q[e]=new V(e,5,!1,e.toLowerCase(),null,!1)}));var G=/[\-:]([a-z])/g;function K(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(G,K);q[t]=new V(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(G,K);q[t]=new V(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(G,K);q[t]=new V(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){q[e]=new V(e,1,!1,e.toLowerCase(),null,!1)})),q.xlinkHref=new V("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){q[e]=new V(e,1,!1,e.toLowerCase(),null,!0)}));var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Q(e,t,n,r){var o=q.hasOwnProperty(t)?q[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!B.call(W,e)||!B.call(U,e)&&(F.test(e)?W[e]=!0:(U[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}J.hasOwnProperty("ReactCurrentDispatcher")||(J.ReactCurrentDispatcher={current:null}),J.hasOwnProperty("ReactCurrentBatchConfig")||(J.ReactCurrentBatchConfig={suspense:null});var Z=/^(.*)[\\\/]/,X="function"==typeof Symbol&&Symbol.for,ee=X?Symbol.for("react.element"):60103,te=X?Symbol.for("react.portal"):60106,ne=X?Symbol.for("react.fragment"):60107,re=X?Symbol.for("react.strict_mode"):60108,oe=X?Symbol.for("react.profiler"):60114,ie=X?Symbol.for("react.provider"):60109,ae=X?Symbol.for("react.context"):60110,se=X?Symbol.for("react.concurrent_mode"):60111,le=X?Symbol.for("react.forward_ref"):60112,ce=X?Symbol.for("react.suspense"):60113,ue=X?Symbol.for("react.suspense_list"):60120,fe=X?Symbol.for("react.memo"):60115,de=X?Symbol.for("react.lazy"):60116,pe=X?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ge(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case oe:return"Profiler";case re:return"StrictMode";case ce:return"Suspense";case ue:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case le:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return ge(e.type);case pe:return ge(e.render);case de:if(e=1===e._status?e._result:null)return ge(e)}return null}function ve(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ge(e.type);n=null,r&&(n=ge(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(Z,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function _e(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function we(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function xe(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ke(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Me(e,t){null!=(t=t.checked)&&Q(e,"checked",t,!1)}function Se(e,t){Me(e,t);var n=ye(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ee(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Oe(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ee(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Le(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Te(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ye(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function De(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ce(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function Pe(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function je(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Ye="http://www.w3.org/1999/xhtml",Ae="http://www.w3.org/2000/svg";function Ie(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Re(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ie(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var $e,He=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Ae||"innerHTML"in e)e.innerHTML=t;else{for(($e=$e||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=$e.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Ne(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function ze(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Fe={animationend:ze("Animation","AnimationEnd"),animationiteration:ze("Animation","AnimationIteration"),animationstart:ze("Animation","AnimationStart"),transitionend:ze("Transition","TransitionEnd")},Be={},Ue={};function We(e){if(Be[e])return Be[e];if(!Fe[e])return e;var t,n=Fe[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ue)return Be[e]=n[t];return e}E&&(Ue=document.createElement("div").style,"AnimationEvent"in window||(delete Fe.animationend.animation,delete Fe.animationiteration.animation,delete Fe.animationstart.animation),"TransitionEvent"in window||delete Fe.transitionend.transition);var Ve=We("animationend"),qe=We("animationiteration"),Ge=We("animationstart"),Ke=We("transitionend"),Je="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qe=new("function"==typeof WeakMap?WeakMap:Map);function Ze(e){var t=Qe.get(e);return void 0===t&&(t=new Map,Qe.set(e,t)),t}function Xe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Xe(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Xe(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return tt(o),e;if(i===r)return tt(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)v(e,t[r],n[r]);else t&&v(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(it=rt(it,e)),e=it,it=null,e){if(ot(e,at),it)throw Error(a(95));if(u)throw e=f,u=!1,f=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!E)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ut=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ut.length&&ut.push(e)}function dt(e,t,n,r){if(ut.length){var o=ut.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function pt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=En(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=lt(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,l=0;l<x.length;l++){var c=x[l];c&&(c=c.extractEvents(r,t,i,o,a))&&(s=rt(s,c))}st(s)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Gt(t,"scroll",!0);break;case"focus":case"blur":Gt(t,"focus",!0),Gt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Gt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Je.indexOf(e)&&qt(e,t)}n.set(e,null)}}var mt,gt,vt,yt=!1,bt=[],_t=null,wt=null,xt=null,kt=new Map,Mt=new Map,St=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Et="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Lt(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function Tt(e,t){switch(e){case"focus":case"blur":_t=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":xt=null;break;case"pointerover":case"pointerout":kt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function Dt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=Lt(t,n,r,o,i),null!==t&&(null!==(t=Ln(t))&&gt(t)),e):(e.eventSystemFlags|=r,e)}function Ct(e){var t=En(e.target);if(null!==t){var n=Xe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){vt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Pt(e){if(null!==e.blockedOn)return!1;var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Ln(t);return null!==n&&gt(n),e.blockedOn=t,!1}return!0}function jt(e,t,n){Pt(e)&&n.delete(t)}function Yt(){for(yt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=Ln(e.blockedOn))&&mt(e);break}var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==_t&&Pt(_t)&&(_t=null),null!==wt&&Pt(wt)&&(wt=null),null!==xt&&Pt(xt)&&(xt=null),kt.forEach(jt),Mt.forEach(jt)}function At(e,t){e.blockedOn===t&&(e.blockedOn=null,yt||(yt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Yt)))}function It(e){function t(t){return At(t,e)}if(0<bt.length){At(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==_t&&At(_t,e),null!==wt&&At(wt,e),null!==xt&&At(xt,e),kt.forEach(t),Mt.forEach(t),n=0;n<St.length;n++)(r=St[n]).blockedOn===e&&(r.blockedOn=null);for(;0<St.length&&null===(n=St[0]).blockedOn;)Ct(n),null===n.blockedOn&&St.shift()}var Rt={},$t=new Map,Ht=new Map,Nt=["abort","abort",Ve,"animationEnd",qe,"animationIteration",Ge,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ke,"transitionEnd","waiting","waiting"];function zt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],i="on"+(o[0].toUpperCase()+o.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},Ht.set(r,t),$t.set(r,i),Rt[o]=i}}zt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),zt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),zt(Nt,2);for(var Ft="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Bt=0;Bt<Ft.length;Bt++)Ht.set(Ft[Bt],0);var Ut=i.unstable_UserBlockingPriority,Wt=i.unstable_runWithPriority,Vt=!0;function qt(e,t){Gt(t,e,!1)}function Gt(e,t,n){var r=Ht.get(t);switch(void 0===r?2:r){case 0:r=Kt.bind(null,t,1,e);break;case 1:r=Jt.bind(null,t,1,e);break;default:r=Qt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Kt(e,t,n,r){$||I();var o=Qt,i=$;$=!0;try{A(o,e,t,n,r)}finally{($=i)||N()}}function Jt(e,t,n,r){Wt(Ut,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){if(Vt)if(0<bt.length&&-1<Ot.indexOf(e))e=Lt(null,e,t,n,r),bt.push(e);else{var o=Zt(e,t,n,r);if(null===o)Tt(e,r);else if(-1<Ot.indexOf(e))e=Lt(o,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,o){switch(t){case"focus":return _t=Dt(_t,e,t,n,r,o),!0;case"dragenter":return wt=Dt(wt,e,t,n,r,o),!0;case"mouseover":return xt=Dt(xt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return kt.set(i,Dt(kt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Mt.set(i,Dt(Mt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Tt(e,r),e=dt(e,r,null,t);try{z(pt,e)}finally{ft(e)}}}}function Zt(e,t,n,r){if(null!==(n=En(n=lt(r)))){var o=Xe(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=et(o)))return n;n=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=dt(e,r,n,t);try{z(pt,e)}finally{ft(e)}return null}var Xt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Xt.hasOwnProperty(e)&&Xt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Xt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xt[t]=Xt[e]}))}));var rn=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function on(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function an(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sn=Ye;function ln(e,t){var n=Ze(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=S[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function cn(){}function un(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function pn(){for(var e=window,t=un();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=un((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mn=null,gn=null;function vn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function yn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bn="function"==typeof setTimeout?setTimeout:void 0,_n="function"==typeof clearTimeout?clearTimeout:void 0;function wn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function xn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var kn=Math.random().toString(36).slice(2),Mn="__reactInternalInstance$"+kn,Sn="__reactEventHandlers$"+kn,On="__reactContainere$"+kn;function En(e){var t=e[Mn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[On]||n[Mn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=xn(e);null!==e;){if(n=e[Mn])return n;e=xn(e)}return t}n=(e=n).parentNode}return null}function Ln(e){return!(e=e[Mn]||e[On])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Tn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Dn(e){return e[Sn]||null}function Cn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Pn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function jn(e,t,n){(t=Pn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Yn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Cn(t);for(t=n.length;0<t--;)jn(n[t],"captured",e);for(t=0;t<n.length;t++)jn(n[t],"bubbled",e)}}function An(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Pn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function In(e){e&&e.dispatchConfig.registrationName&&An(e._targetInst,null,e)}function Rn(e){ot(e,Yn)}var $n=null,Hn=null,Nn=null;function zn(){if(Nn)return Nn;var e,t,n=Hn,r=n.length,o="value"in $n?$n.value:$n.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Nn=o.slice(e,1<t?1-t:void 0)}function Fn(){return!0}function Bn(){return!1}function Un(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Fn:Bn,this.isPropagationStopped=Bn,this}function Wn(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function Vn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function qn(e){e.eventPool=[],e.getPooled=Wn,e.release=Vn}o(Un.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Fn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Fn)},persist:function(){this.isPersistent=Fn},isPersistent:Bn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Bn,this._dispatchInstances=this._dispatchListeners=null}}),Un.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Un.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,qn(n),n},qn(Un);var Gn=Un.extend({data:null}),Kn=Un.extend({data:null}),Jn=[9,13,27,32],Qn=E&&"CompositionEvent"in window,Zn=null;E&&"documentMode"in document&&(Zn=document.documentMode);var Xn=E&&"TextEvent"in window&&!Zn,er=E&&(!Qn||Zn&&8<Zn&&11>=Zn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function or(e,t){switch(e){case"keyup":return-1!==Jn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ir(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ar=!1;var sr={eventTypes:nr,extractEvents:function(e,t,n,r){var o;if(Qn)e:{switch(e){case"compositionstart":var i=nr.compositionStart;break e;case"compositionend":i=nr.compositionEnd;break e;case"compositionupdate":i=nr.compositionUpdate;break e}i=void 0}else ar?or(e,n)&&(i=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=nr.compositionStart);return i?(er&&"ko"!==n.locale&&(ar||i!==nr.compositionStart?i===nr.compositionEnd&&ar&&(o=zn()):(Hn="value"in($n=r)?$n.value:$n.textContent,ar=!0)),i=Gn.getPooled(i,t,n,r),o?i.data=o:null!==(o=ir(n))&&(i.data=o),Rn(i),o=i):o=null,(e=Xn?function(e,t){switch(e){case"compositionend":return ir(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ar)return"compositionend"===e||!Qn&&or(e,t)?(e=zn(),Nn=Hn=$n=null,ar=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Kn.getPooled(nr.beforeInput,t,n,r)).data=e,Rn(t)):t=null,null===o?t:null===t?o:[o,t]}},lr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!lr[e.type]:"textarea"===t}var ur={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function fr(e,t,n){return(e=Un.getPooled(ur.change,e,t,n)).type="change",P(n),Rn(e),e}var dr=null,pr=null;function hr(e){st(e)}function mr(e){if(we(Tn(e)))return e}function gr(e,t){if("change"===e)return t}var vr=!1;function yr(){dr&&(dr.detachEvent("onpropertychange",br),pr=dr=null)}function br(e){if("value"===e.propertyName&&mr(pr))if(e=fr(pr,e,lt(e)),$)st(e);else{$=!0;try{Y(hr,e)}finally{$=!1,N()}}}function _r(e,t,n){"focus"===e?(yr(),pr=n,(dr=t).attachEvent("onpropertychange",br)):"blur"===e&&yr()}function wr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return mr(pr)}function xr(e,t){if("click"===e)return mr(t)}function kr(e,t){if("input"===e||"change"===e)return mr(t)}E&&(vr=ct("input")&&(!document.documentMode||9<document.documentMode));var Mr={eventTypes:ur,_isInputEventSupported:vr,extractEvents:function(e,t,n,r){var o=t?Tn(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=gr;else if(cr(o))if(vr)a=kr;else{a=wr;var s=_r}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=xr);if(a&&(a=a(e,t)))return fr(a,n,r);s&&s(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Ee(o,"number",o.value)}},Sr=Un.extend({view:null,detail:null}),Or={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Er(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Or[e])&&!!t[e]}function Lr(){return Er}var Tr=0,Dr=0,Cr=!1,Pr=!1,jr=Sr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Lr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Tr;return Tr=e.screenX,Cr?"mousemove"===e.type?e.screenX-t:0:(Cr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Dr;return Dr=e.screenY,Pr?"mousemove"===e.type?e.screenY-t:0:(Pr=!0,0)}}),Yr=jr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Ar={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Ir={eventTypes:Ar,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?En(t):null)&&(t!==Xe(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var s=jr,l=Ar.mouseLeave,c=Ar.mouseEnter,u="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Yr,l=Ar.pointerLeave,c=Ar.pointerEnter,u="pointer");if(e=null==a?i:Tn(a),i=null==t?i:Tn(t),(l=s.getPooled(l,a,n,r)).type=u+"leave",l.target=e,l.relatedTarget=i,(n=s.getPooled(c,t,n,r)).type=u+"enter",n.target=i,n.relatedTarget=e,u=t,(r=a)&&u)e:{for(c=u,a=0,e=s=r;e;e=Cn(e))a++;for(e=0,t=c;t;t=Cn(t))e++;for(;0<a-e;)s=Cn(s),a--;for(;0<e-a;)c=Cn(c),e--;for(;a--;){if(s===c||s===c.alternate)break e;s=Cn(s),c=Cn(c)}s=null}else s=null;for(c=s,s=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)s.push(r),r=Cn(r);for(r=[];u&&u!==c&&(null===(a=u.alternate)||a!==c);)r.push(u),u=Cn(u);for(u=0;u<s.length;u++)An(s[u],"bubbled",l);for(u=r.length;0<u--;)An(r[u],"captured",n);return 0==(64&o)?[l]:[l,n]}};var Rr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},$r=Object.prototype.hasOwnProperty;function Hr(e,t){if(Rr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!$r.call(t,n[r])||!Rr(e[n[r]],t[n[r]]))return!1;return!0}var Nr=E&&"documentMode"in document&&11>=document.documentMode,zr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Fr=null,Br=null,Ur=null,Wr=!1;function Vr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Wr||null==Fr||Fr!==un(n)?null:("selectionStart"in(n=Fr)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Ur&&Hr(Ur,n)?null:(Ur=n,(e=Un.getPooled(zr.select,Br,e,t)).type="select",e.target=Fr,Rn(e),e))}var qr={eventTypes:zr,extractEvents:function(e,t,n,r,o,i){if(!(i=!(o=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{o=Ze(o),i=S.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?Tn(t):window,e){case"focus":(cr(o)||"true"===o.contentEditable)&&(Fr=o,Br=t,Ur=null);break;case"blur":Ur=Br=Fr=null;break;case"mousedown":Wr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Wr=!1,Vr(n,r);case"selectionchange":if(Nr)break;case"keydown":case"keyup":return Vr(n,r)}return null}},Gr=Un.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Kr=Un.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Jr=Sr.extend({relatedTarget:null});function Qr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Zr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},eo=Sr.extend({key:function(e){if(e.key){var t=Zr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Qr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Xr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Lr,charCode:function(e){return"keypress"===e.type?Qr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Qr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),to=jr.extend({dataTransfer:null}),no=Sr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Lr}),ro=Un.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),oo=jr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),io={eventTypes:Rt,extractEvents:function(e,t,n,r){var o=$t.get(e);if(!o)return null;switch(e){case"keypress":if(0===Qr(n))return null;case"keydown":case"keyup":e=eo;break;case"blur":case"focus":e=Jr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=jr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=to;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=no;break;case Ve:case qe:case Ge:e=Gr;break;case Ke:e=ro;break;case"scroll":e=Sr;break;case"wheel":e=oo;break;case"copy":case"cut":case"paste":e=Kr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Yr;break;default:e=Un}return Rn(t=e.getPooled(o,t,n,r)),t}};if(y)throw Error(a(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),_(),h=Dn,m=Ln,g=Tn,O({SimpleEventPlugin:io,EnterLeaveEventPlugin:Ir,ChangeEventPlugin:Mr,SelectEventPlugin:qr,BeforeInputEventPlugin:sr});var ao=[],so=-1;function lo(e){0>so||(e.current=ao[so],ao[so]=null,so--)}function co(e,t){so++,ao[so]=e.current,e.current=t}var uo={},fo={current:uo},po={current:!1},ho=uo;function mo(e,t){var n=e.type.contextTypes;if(!n)return uo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function go(e){return null!=(e=e.childContextTypes)}function vo(){lo(po),lo(fo)}function yo(e,t,n){if(fo.current!==uo)throw Error(a(168));co(fo,t),co(po,n)}function bo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,ge(t)||"Unknown",i));return o({},n,{},r)}function _o(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||uo,ho=fo.current,co(fo,e),co(po,po.current),!0}function wo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=bo(e,t,ho),r.__reactInternalMemoizedMergedChildContext=e,lo(po),lo(fo),co(fo,e)):lo(po),co(po,n)}var xo=i.unstable_runWithPriority,ko=i.unstable_scheduleCallback,Mo=i.unstable_cancelCallback,So=i.unstable_requestPaint,Oo=i.unstable_now,Eo=i.unstable_getCurrentPriorityLevel,Lo=i.unstable_ImmediatePriority,To=i.unstable_UserBlockingPriority,Do=i.unstable_NormalPriority,Co=i.unstable_LowPriority,Po=i.unstable_IdlePriority,jo={},Yo=i.unstable_shouldYield,Ao=void 0!==So?So:function(){},Io=null,Ro=null,$o=!1,Ho=Oo(),No=1e4>Ho?Oo:function(){return Oo()-Ho};function zo(){switch(Eo()){case Lo:return 99;case To:return 98;case Do:return 97;case Co:return 96;case Po:return 95;default:throw Error(a(332))}}function Fo(e){switch(e){case 99:return Lo;case 98:return To;case 97:return Do;case 96:return Co;case 95:return Po;default:throw Error(a(332))}}function Bo(e,t){return e=Fo(e),xo(e,t)}function Uo(e,t,n){return e=Fo(e),ko(e,t,n)}function Wo(e){return null===Io?(Io=[e],Ro=ko(Lo,qo)):Io.push(e),jo}function Vo(){if(null!==Ro){var e=Ro;Ro=null,Mo(e)}qo()}function qo(){if(!$o&&null!==Io){$o=!0;var e=0;try{var t=Io;Bo(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Io=null}catch(t){throw null!==Io&&(Io=Io.slice(e+1)),ko(Lo,Vo),t}finally{$o=!1}}}function Go(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Ko(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Jo={current:null},Qo=null,Zo=null,Xo=null;function ei(){Xo=Zo=Qo=null}function ti(e){var t=Jo.current;lo(Jo),e.type._context._currentValue=t}function ni(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ri(e,t){Qo=e,Xo=Zo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Da=!0),e.firstContext=null)}function oi(e,t){if(Xo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Xo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Zo){if(null===Qo)throw Error(a(308));Zo=t,Qo.dependencies={expirationTime:0,firstContext:t,responders:null}}else Zo=Zo.next=t;return e._currentValue}var ii=!1;function ai(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function si(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function li(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function ci(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ui(e,t){var n=e.alternate;null!==n&&si(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function fi(e,t,n,r){var i=e.updateQueue;ii=!1;var a=i.baseQueue,s=i.shared.pending;if(null!==s){if(null!==a){var l=a.next;a.next=s.next,s.next=l}a=s,i.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=s))}if(null!==a){l=a.next;var c=i.baseState,u=0,f=null,d=null,p=null;if(null!==l)for(var h=l;;){if((s=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(d=p=m,f=c):p=p.next=m,s>u&&(u=s)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),il(s,h.suspenseConfig);e:{var g=e,v=h;switch(s=t,m=n,v.tag){case 1:if("function"==typeof(g=v.payload)){c=g.call(m,c,s);break e}c=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null==(s="function"==typeof(g=v.payload)?g.call(m,c,s):g))break e;c=o({},c,s);break e;case 2:ii=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=i.effects)?i.effects=[h]:s.push(h))}if(null===(h=h.next)||h===l){if(null===(s=i.shared.pending))break;h=a.next=s.next,s.next=l,i.baseQueue=a=s,i.shared.pending=null}}null===p?f=c:p.next=d,i.baseState=f,i.baseQueue=p,al(u),e.expirationTime=u,e.memoizedState=c}}function di(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=o,o=n,"function"!=typeof r)throw Error(a(191,r));r.call(o)}}}var pi=J.ReactCurrentBatchConfig,hi=(new r.Component).refs;function mi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var gi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Xe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Vs(),o=pi.suspense;(o=li(r=qs(r,e,o),o)).payload=t,null!=n&&(o.callback=n),ci(e,o),Gs(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Vs(),o=pi.suspense;(o=li(r=qs(r,e,o),o)).tag=1,o.payload=t,null!=n&&(o.callback=n),ci(e,o),Gs(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Vs(),r=pi.suspense;(r=li(n=qs(n,e,r),r)).tag=2,null!=t&&(r.callback=t),ci(e,r),Gs(e,n)}};function vi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Hr(n,r)||!Hr(o,i))}function yi(e,t,n){var r=!1,o=uo,i=t.contextType;return"object"==typeof i&&null!==i?i=oi(i):(o=go(t)?ho:fo.current,i=(r=null!=(r=t.contextTypes))?mo(e,o):uo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=gi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function bi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&gi.enqueueReplaceState(t,t.state,null)}function _i(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=hi,ai(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=oi(i):(i=go(t)?ho:fo.current,o.context=mo(e,i)),fi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(mi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&gi.enqueueReplaceState(o,o.state,null),fi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var wi=Array.isArray;function xi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===hi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function ki(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Mi(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ol(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Tl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=xi(e,t,n),r.return=e,r):((r=El(n.type,n.key,n.props,null,e.mode,r)).ref=xi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Dl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Ll(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Tl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=El(t.type,t.key,t.props,null,e.mode,n)).ref=xi(e,null,t),n.return=e,n;case te:return(t=Dl(t,e.mode,n)).return=e,t}if(wi(t)||me(t))return(t=Ll(t,e.mode,n,null)).return=e,t;ki(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===o?n.type===ne?f(e,t,n.props.children,r,o):c(e,t,n,r):null;case te:return n.key===o?u(e,t,n,r):null}if(wi(n)||me(n))return null!==o?null:f(e,t,n,r,null);ki(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,o,r.key):c(t,e,r,o);case te:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(wi(r)||me(r))return f(t,e=e.get(n)||null,r,o,null);ki(t,r)}return null}function m(o,a,s,l){for(var c=null,u=null,f=a,m=a=0,g=null;null!==f&&m<s.length;m++){f.index>m?(g=f,f=null):g=f.sibling;var v=p(o,f,s[m],l);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&t(o,f),a=i(v,a,m),null===u?c=v:u.sibling=v,u=v,f=g}if(m===s.length)return n(o,f),c;if(null===f){for(;m<s.length;m++)null!==(f=d(o,s[m],l))&&(a=i(f,a,m),null===u?c=f:u.sibling=f,u=f);return c}for(f=r(o,f);m<s.length;m++)null!==(g=h(f,o,m,s[m],l))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),a=i(g,a,m),null===u?c=g:u.sibling=g,u=g);return e&&f.forEach((function(e){return t(o,e)})),c}function g(o,s,l,c){var u=me(l);if("function"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var f=u=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(o,m,y.value,c);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(o,m),s=i(b,s,g),null===f?u=b:f.sibling=b,f=b,m=v}if(y.done)return n(o,m),u;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=d(o,y.value,c))&&(s=i(y,s,g),null===f?u=y:f.sibling=y,f=y);return u}for(m=r(o,m);!y.done;g++,y=l.next())null!==(y=h(m,o,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=i(y,s,g),null===f?u=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(o,e)})),u}return function(e,r,i,l){var c="object"==typeof i&&null!==i&&i.type===ne&&null===i.key;c&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case ee:e:{for(u=i.key,c=r;null!==c;){if(c.key===u){switch(c.tag){case 7:if(i.type===ne){n(e,c.sibling),(r=o(c,i.props.children)).return=e,e=r;break e}break;default:if(c.elementType===i.type){n(e,c.sibling),(r=o(c,i.props)).ref=xi(e,c,i),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}i.type===ne?((r=Ll(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=El(i.type,i.key,i.props,null,e.mode,l)).ref=xi(e,r,i),l.return=e,e=l)}return s(e);case te:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Dl(i,e.mode,l)).return=e,e=r}return s(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Tl(i,e.mode,l)).return=e,e=r),s(e);if(wi(i))return m(e,r,i,l);if(me(i))return g(e,r,i,l);if(u&&ki(e,i),void 0===i&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Si=Mi(!0),Oi=Mi(!1),Ei={},Li={current:Ei},Ti={current:Ei},Di={current:Ei};function Ci(e){if(e===Ei)throw Error(a(174));return e}function Pi(e,t){switch(co(Di,t),co(Ti,e),co(Li,Ei),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Re(null,"");break;default:t=Re(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}lo(Li),co(Li,t)}function ji(){lo(Li),lo(Ti),lo(Di)}function Yi(e){Ci(Di.current);var t=Ci(Li.current),n=Re(t,e.type);t!==n&&(co(Ti,e),co(Li,n))}function Ai(e){Ti.current===e&&(lo(Li),lo(Ti))}var Ii={current:0};function Ri(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function $i(e,t){return{responder:e,props:t}}var Hi=J.ReactCurrentDispatcher,Ni=J.ReactCurrentBatchConfig,zi=0,Fi=null,Bi=null,Ui=null,Wi=!1;function Vi(){throw Error(a(321))}function qi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Rr(e[n],t[n]))return!1;return!0}function Gi(e,t,n,r,o,i){if(zi=i,Fi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Hi.current=null===e||null===e.memoizedState?va:ya,e=n(r,o),t.expirationTime===zi){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,Ui=Bi=null,t.updateQueue=null,Hi.current=ba,e=n(r,o)}while(t.expirationTime===zi)}if(Hi.current=ga,t=null!==Bi&&null!==Bi.next,zi=0,Ui=Bi=Fi=null,Wi=!1,t)throw Error(a(300));return e}function Ki(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ui?Fi.memoizedState=Ui=e:Ui=Ui.next=e,Ui}function Ji(){if(null===Bi){var e=Fi.alternate;e=null!==e?e.memoizedState:null}else e=Bi.next;var t=null===Ui?Fi.memoizedState:Ui.next;if(null!==t)Ui=t,Bi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Bi=e).memoizedState,baseState:Bi.baseState,baseQueue:Bi.baseQueue,queue:Bi.queue,next:null},null===Ui?Fi.memoizedState=Ui=e:Ui=Ui.next=e}return Ui}function Qi(e,t){return"function"==typeof t?t(e):t}function Zi(e){var t=Ji(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Bi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=s=i=null,c=o;do{var u=c.expirationTime;if(u<zi){var f={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=f,i=r):l=l.next=f,u>Fi.expirationTime&&(Fi.expirationTime=u,al(u))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),il(u,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==o);null===l?i=r:l.next=s,Rr(r,t.memoizedState)||(Da=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Xi(e){var t=Ji(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);Rr(i,t.memoizedState)||(Da=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ea(e){var t=Ki();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Qi,lastRenderedState:e}).dispatch=ma.bind(null,Fi,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Fi.updateQueue)?(t={lastEffect:null},Fi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function na(){return Ji().memoizedState}function ra(e,t,n,r){var o=Ki();Fi.effectTag|=e,o.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function oa(e,t,n,r){var o=Ji();r=void 0===r?null:r;var i=void 0;if(null!==Bi){var a=Bi.memoizedState;if(i=a.destroy,null!==r&&qi(r,a.deps))return void ta(t,n,i,r)}Fi.effectTag|=e,o.memoizedState=ta(1|t,n,i,r)}function ia(e,t){return ra(516,4,e,t)}function aa(e,t){return oa(516,4,e,t)}function sa(e,t){return oa(4,2,e,t)}function la(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ca(e,t,n){return n=null!=n?n.concat([e]):null,oa(4,2,la.bind(null,t,e),n)}function ua(){}function fa(e,t){return Ki().memoizedState=[e,void 0===t?null:t],e}function da(e,t){var n=Ji();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function pa(e,t){var n=Ji();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(e,t,n){var r=zo();Bo(98>r?98:r,(function(){e(!0)})),Bo(97<r?97:r,(function(){var r=Ni.suspense;Ni.suspense=void 0===t?null:t;try{e(!1),n()}finally{Ni.suspense=r}}))}function ma(e,t,n){var r=Vs(),o=pi.suspense;o={expirationTime:r=qs(r,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===Fi||null!==i&&i===Fi)Wi=!0,o.expirationTime=zi,Fi.expirationTime=zi;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.eagerReducer=i,o.eagerState=s,Rr(s,a))return}catch(e){}Gs(e,r)}}var ga={readContext:oi,useCallback:Vi,useContext:Vi,useEffect:Vi,useImperativeHandle:Vi,useLayoutEffect:Vi,useMemo:Vi,useReducer:Vi,useRef:Vi,useState:Vi,useDebugValue:Vi,useResponder:Vi,useDeferredValue:Vi,useTransition:Vi},va={readContext:oi,useCallback:fa,useContext:oi,useEffect:ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ra(4,2,la.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ra(4,2,e,t)},useMemo:function(e,t){var n=Ki();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ki();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ma.bind(null,Fi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ki().memoizedState=e},useState:ea,useDebugValue:ua,useResponder:$i,useDeferredValue:function(e,t){var n=ea(e),r=n[0],o=n[1];return ia((function(){var n=Ni.suspense;Ni.suspense=void 0===t?null:t;try{o(e)}finally{Ni.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),n]}},ya={readContext:oi,useCallback:da,useContext:oi,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:sa,useMemo:pa,useReducer:Zi,useRef:na,useState:function(){return Zi(Qi)},useDebugValue:ua,useResponder:$i,useDeferredValue:function(e,t){var n=Zi(Qi),r=n[0],o=n[1];return aa((function(){var n=Ni.suspense;Ni.suspense=void 0===t?null:t;try{o(e)}finally{Ni.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zi(Qi),n=t[0];return t=t[1],[da(ha.bind(null,t,e),[t,e]),n]}},ba={readContext:oi,useCallback:da,useContext:oi,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:sa,useMemo:pa,useReducer:Xi,useRef:na,useState:function(){return Xi(Qi)},useDebugValue:ua,useResponder:$i,useDeferredValue:function(e,t){var n=Xi(Qi),r=n[0],o=n[1];return aa((function(){var n=Ni.suspense;Ni.suspense=void 0===t?null:t;try{o(e)}finally{Ni.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Xi(Qi),n=t[0];return t=t[1],[da(ha.bind(null,t,e),[t,e]),n]}},_a=null,wa=null,xa=!1;function ka(e,t){var n=Ml(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ma(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Sa(e){if(xa){var t=wa;if(t){var n=t;if(!Ma(e,t)){if(!(t=wn(n.nextSibling))||!Ma(e,t))return e.effectTag=-1025&e.effectTag|2,xa=!1,void(_a=e);ka(_a,n)}_a=e,wa=wn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,xa=!1,_a=e}}function Oa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;_a=e}function Ea(e){if(e!==_a)return!1;if(!xa)return Oa(e),xa=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!yn(t,e.memoizedProps))for(t=wa;t;)ka(e,t),t=wn(t.nextSibling);if(Oa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){wa=wn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}wa=null}}else wa=_a?wn(e.stateNode.nextSibling):null;return!0}function La(){wa=_a=null,xa=!1}var Ta=J.ReactCurrentOwner,Da=!1;function Ca(e,t,n,r){t.child=null===e?Oi(t,null,n,r):Si(t,e.child,n,r)}function Pa(e,t,n,r,o){n=n.render;var i=t.ref;return ri(t,o),r=Gi(e,t,n,r,i,o),null===e||Da?(t.effectTag|=1,Ca(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ga(e,t,o))}function ja(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Sl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=El(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ya(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Hr)(o,r)&&e.ref===t.ref)?Ga(e,t,i):(t.effectTag|=1,(e=Ol(a,r)).ref=t.ref,e.return=t,t.child=e)}function Ya(e,t,n,r,o,i){return null!==e&&Hr(e.memoizedProps,r)&&e.ref===t.ref&&(Da=!1,o<i)?(t.expirationTime=e.expirationTime,Ga(e,t,i)):Ia(e,t,n,r,i)}function Aa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ia(e,t,n,r,o){var i=go(n)?ho:fo.current;return i=mo(t,i),ri(t,o),n=Gi(e,t,n,r,i,o),null===e||Da?(t.effectTag|=1,Ca(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ga(e,t,o))}function Ra(e,t,n,r,o){if(go(n)){var i=!0;_o(t)}else i=!1;if(ri(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),yi(t,n,r),_i(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=oi(c):c=mo(t,c=go(n)?ho:fo.current);var u=n.getDerivedStateFromProps,f="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&bi(t,a,r,c),ii=!1;var d=t.memoizedState;a.state=d,fi(t,r,a,o),l=t.memoizedState,s!==r||d!==l||po.current||ii?("function"==typeof u&&(mi(t,n,u,r),l=t.memoizedState),(s=ii||vi(t,n,s,r,d,l,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,si(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Ko(t.type,s),l=a.context,"object"==typeof(c=n.contextType)&&null!==c?c=oi(c):c=mo(t,c=go(n)?ho:fo.current),(f="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&bi(t,a,r,c),ii=!1,l=t.memoizedState,a.state=l,fi(t,r,a,o),d=t.memoizedState,s!==r||l!==d||po.current||ii?("function"==typeof u&&(mi(t,n,u,r),d=t.memoizedState),(u=ii||vi(t,n,s,r,l,d,c))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,c)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=c,r=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return $a(e,t,n,r,i,o)}function $a(e,t,n,r,o,i){Aa(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&wo(t,n,!1),Ga(e,t,i);r=t.stateNode,Ta.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Si(t,e.child,null,i),t.child=Si(t,null,s,i)):Ca(e,t,s,i),t.memoizedState=r.state,o&&wo(t,n,!0),t.child}function Ha(e){var t=e.stateNode;t.pendingContext?yo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&yo(0,t.context,!1),Pi(e,t.containerInfo)}var Na,za,Fa,Ba={dehydrated:null,retryTime:0};function Ua(e,t,n){var r,o=t.mode,i=t.pendingProps,a=Ii.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),co(Ii,1&a),null===e){if(void 0!==i.fallback&&Sa(t),s){if(s=i.fallback,(i=Ll(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Ll(s,o,n,null)).return=t,i.sibling=n,t.memoizedState=Ba,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=Oi(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,s){if(i=i.fallback,(n=Ol(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(o=Ol(o,i)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=Ba,t.child=n,o}return n=Si(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=i.fallback,(i=Ll(null,o,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Ll(s,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Ba,t.child=i,n}return t.memoizedState=null,t.child=Si(t,e,i.children,n)}function Wa(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ni(e.return,t)}function Va(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function qa(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ca(e,t,r.children,n),0!=(2&(r=Ii.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Wa(e,n);else if(19===e.tag)Wa(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(co(Ii,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ri(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Va(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ri(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Va(t,!0,n,null,i,t.lastEffect);break;case"together":Va(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ga(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&al(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ol(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ol(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ka(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ja(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return go(t.type)&&vo(),null;case 3:return ji(),lo(po),lo(fo),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Ea(t)||(t.effectTag|=4),null;case 5:Ai(t),n=Ci(Di.current);var i=t.type;if(null!==e&&null!=t.stateNode)za(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ci(Li.current),Ea(t)){r=t.stateNode,i=t.type;var s=t.memoizedProps;switch(r[Mn]=t,r[Sn]=s,i){case"iframe":case"object":case"embed":qt("load",r);break;case"video":case"audio":for(e=0;e<Je.length;e++)qt(Je[e],r);break;case"source":qt("error",r);break;case"img":case"image":case"link":qt("error",r),qt("load",r);break;case"form":qt("reset",r),qt("submit",r);break;case"details":qt("toggle",r);break;case"input":ke(r,s),qt("invalid",r),ln(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},qt("invalid",r),ln(n,"onChange");break;case"textarea":Ce(r,s),qt("invalid",r),ln(n,"onChange")}for(var l in on(i,s),e=null,s)if(s.hasOwnProperty(l)){var c=s[l];"children"===l?"string"==typeof c?r.textContent!==c&&(e=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(e=["children",""+c]):M.hasOwnProperty(l)&&null!=c&&ln(n,l)}switch(i){case"input":_e(r),Oe(r,s,!0);break;case"textarea":_e(r),je(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=Ie(i)),e===sn?"script"===i?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(i,{is:r.is}):(e=l.createElement(i),"select"===i&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,i),e[Mn]=t,e[Sn]=r,Na(e,t),t.stateNode=e,l=an(i,r),i){case"iframe":case"object":case"embed":qt("load",e),c=r;break;case"video":case"audio":for(c=0;c<Je.length;c++)qt(Je[c],e);c=r;break;case"source":qt("error",e),c=r;break;case"img":case"image":case"link":qt("error",e),qt("load",e),c=r;break;case"form":qt("reset",e),qt("submit",e),c=r;break;case"details":qt("toggle",e),c=r;break;case"input":ke(e,r),c=xe(e,r),qt("invalid",e),ln(n,"onChange");break;case"option":c=Le(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=o({},r,{value:void 0}),qt("invalid",e),ln(n,"onChange");break;case"textarea":Ce(e,r),c=De(e,r),qt("invalid",e),ln(n,"onChange");break;default:c=r}on(i,c);var u=c;for(s in u)if(u.hasOwnProperty(s)){var f=u[s];"style"===s?nn(e,f):"dangerouslySetInnerHTML"===s?null!=(f=f?f.__html:void 0)&&He(e,f):"children"===s?"string"==typeof f?("textarea"!==i||""!==f)&&Ne(e,f):"number"==typeof f&&Ne(e,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(M.hasOwnProperty(s)?null!=f&&ln(n,s):null!=f&&Q(e,s,f,l))}switch(i){case"input":_e(e),Oe(e,r,!1);break;case"textarea":_e(e),je(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ye(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Te(e,!!r.multiple,n,!1):null!=r.defaultValue&&Te(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof c.onClick&&(e.onclick=cn)}vn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Fa(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Ci(Di.current),Ci(Li.current),Ea(t)?(n=t.stateNode,r=t.memoizedProps,n[Mn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Mn]=t,t.stateNode=n)}return null;case 13:return lo(Ii),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Ea(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=i,i.nextEffect=s):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ii.current)?Es===_s&&(Es=ws):(Es!==_s&&Es!==ws||(Es=xs),0!==Ps&&null!==Ms&&(jl(Ms,Os),Yl(Ms,Ps)))),(n||r)&&(t.effectTag|=4),null);case 4:return ji(),null;case 10:return ti(t),null;case 17:return go(t.type)&&vo(),null;case 19:if(lo(Ii),null===(r=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(s=r.rendering)){if(i)Ka(r,!1);else if(Es!==_s||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Ri(s))){for(t.effectTag|=64,Ka(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=s,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,s=e.dependencies,i.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return co(Ii,1&Ii.current|2),t.child}s=s.sibling}}else{if(!i)if(null!==(e=Ri(s))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Ka(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*No()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Ka(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=No()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=No(),n.sibling=null,t=Ii.current,co(Ii,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function Qa(e){switch(e.tag){case 1:go(e.type)&&vo();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(ji(),lo(po),lo(fo),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Ai(e),null;case 13:return lo(Ii),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return lo(Ii),null;case 4:return ji(),null;case 10:return ti(e),null;default:return null}}function Za(e,t){return{value:e,source:t,stack:ve(t)}}Na=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},za=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var s,l,c=t.stateNode;switch(Ci(Li.current),e=null,n){case"input":a=xe(c,a),r=xe(c,r),e=[];break;case"option":a=Le(c,a),r=Le(c,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=De(c,a),r=De(c,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(c.onclick=cn)}for(s in on(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(l in c=a[s])c.hasOwnProperty(l)&&(n||(n={}),n[l]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(M.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var u=r[s];if(c=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&u!==c&&(null!=u||null!=c))if("style"===s)if(c){for(l in c)!c.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in u)u.hasOwnProperty(l)&&c[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(e||(e=[]),e.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(e=e||[]).push(s,u)):"children"===s?c===u||"string"!=typeof u&&"number"!=typeof u||(e=e||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(M.hasOwnProperty(s)?(null!=u&&ln(i,s),e||c===u||(e=[])):(e=e||[]).push(s,u))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Fa=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Xa="function"==typeof WeakSet?WeakSet:Set;function es(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ve(n)),null!==n&&ge(n.type),t=t.value,null!==e&&1===e.tag&&ge(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function ts(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){yl(e,t)}else t.current=null}function ns(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ko(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function is(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void os(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Ko(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&di(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}di(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&vn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&It(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function as(e,t,n){switch("function"==typeof xl&&xl(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Bo(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(e){yl(o,e)}}e=e.next}while(e!==r)}))}break;case 1:ts(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){yl(e,t)}}(t,n);break;case 5:ts(t);break;case 4:us(e,t,n)}}function ss(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ss(t)}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function cs(e){e:{for(var t=e.return;null!==t;){if(ls(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Ne(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ls(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=cn));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function us(e,t,n){for(var r,o,i=t,s=!1;;){if(!s){s=i.return;e:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}s=s.return}s=!0}if(5===i.tag||6===i.tag){e:for(var l=e,c=i,u=n,f=c;;)if(as(l,f,u),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break e;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}o?(l=r,c=i.stateNode,8===l.nodeType?l.parentNode.removeChild(c):l.removeChild(c)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if(as(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(s=!1)}i.sibling.return=i.return,i=i.sibling}}function fs(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void rs(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Sn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Me(n,r),an(e,o),t=an(e,r),o=0;o<i.length;o+=2){var s=i[o],l=i[o+1];"style"===s?nn(n,l):"dangerouslySetInnerHTML"===s?He(n,l):"children"===s?Ne(n,l):Q(n,s,l,t)}switch(e){case"input":Se(n,r);break;case"textarea":Pe(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Te(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Te(n,!!r.multiple,r.defaultValue,!0):Te(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,It(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ys=No()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,i.style.display=tn("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void ds(t);case 19:return void ds(t);case 17:return}throw Error(a(163))}function ds(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xa),t.forEach((function(t){var r=_l.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=li(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Is||(Is=!0,Rs=r),es(e,t)},n}function ms(e,t,n){(n=li(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return es(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===$s?$s=new Set([this]):$s.add(this),es(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var gs,vs=Math.ceil,ys=J.ReactCurrentDispatcher,bs=J.ReactCurrentOwner,_s=0,ws=3,xs=4,ks=0,Ms=null,Ss=null,Os=0,Es=_s,Ls=null,Ts=1073741823,Ds=1073741823,Cs=null,Ps=0,js=!1,Ys=0,As=null,Is=!1,Rs=null,$s=null,Hs=!1,Ns=null,zs=90,Fs=null,Bs=0,Us=null,Ws=0;function Vs(){return 0!=(48&ks)?1073741821-(No()/10|0):0!==Ws?Ws:Ws=1073741821-(No()/10|0)}function qs(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=zo();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&ks))return Os;if(null!==n)e=Go(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Go(e,150,100);break;case 97:case 96:e=Go(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Ms&&e===Os&&--e,e}function Gs(e,t){if(50<Bs)throw Bs=0,Us=null,Error(a(185));if(null!==(e=Ks(e,t))){var n=zo();1073741823===t?0!=(8&ks)&&0==(48&ks)?Xs(e):(Qs(e),0===ks&&Vo()):Qs(e),0==(4&ks)||98!==n&&99!==n||(null===Fs?Fs=new Map([[e,t]]):(void 0===(n=Fs.get(e))||n>t)&&Fs.set(e,t))}}function Ks(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(Ms===o&&(al(t),Es===xs&&jl(o,Os)),Yl(o,t)),o}function Js(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Pl(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Qs(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Wo(Xs.bind(null,e));else{var t=Js(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Vs();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==jo&&Mo(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Wo(Xs.bind(null,e)):Uo(r,Zs.bind(null,e),{timeout:10*(1073741821-t)-No()}),e.callbackNode=t}}}function Zs(e,t){if(Ws=0,t)return Al(e,t=Vs()),Qs(e),null;var n=Js(e);if(0!==n){if(t=e.callbackNode,0!=(48&ks))throw Error(a(327));if(ml(),e===Ms&&n===Os||nl(e,n),null!==Ss){var r=ks;ks|=16;for(var o=ol();;)try{ll();break}catch(t){rl(e,t)}if(ei(),ks=r,ys.current=o,1===Es)throw t=Ls,nl(e,n),jl(e,n),Qs(e),t;if(null===Ss)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Es,Ms=null,r){case _s:case 1:throw Error(a(345));case 2:Al(e,2<n?2:n);break;case ws:if(jl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(o)),1073741823===Ts&&10<(o=Ys+500-No())){if(js){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(i=Js(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=bn(dl.bind(null,e),o);break}dl(e);break;case xs:if(jl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(o)),js&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(o=Js(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ds?r=10*(1073741821-Ds)-No():1073741823===Ts?r=0:(r=10*(1073741821-Ts)-5e3,0>(r=(o=No())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vs(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=bn(dl.bind(null,e),r);break}dl(e);break;case 5:if(1073741823!==Ts&&null!==Cs){i=Ts;var s=Cs;if(0>=(r=0|s.busyMinDurationMs)?r=0:(o=0|s.busyDelayMs,r=(i=No()-(10*(1073741821-i)-(0|s.timeoutMs||5e3)))<=o?0:o+r-i),10<r){jl(e,n),e.timeoutHandle=bn(dl.bind(null,e),r);break}}dl(e);break;default:throw Error(a(329))}if(Qs(e),e.callbackNode===t)return Zs.bind(null,e)}}return null}function Xs(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&ks))throw Error(a(327));if(ml(),e===Ms&&t===Os||nl(e,t),null!==Ss){var n=ks;ks|=16;for(var r=ol();;)try{sl();break}catch(t){rl(e,t)}if(ei(),ks=n,ys.current=r,1===Es)throw n=Ls,nl(e,t),jl(e,t),Qs(e),n;if(null!==Ss)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Ms=null,dl(e),Qs(e)}return null}function el(e,t){var n=ks;ks|=1;try{return e(t)}finally{0===(ks=n)&&Vo()}}function tl(e,t){var n=ks;ks&=-2,ks|=8;try{return e(t)}finally{0===(ks=n)&&Vo()}}function nl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,_n(n)),null!==Ss)for(n=Ss.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&vo();break;case 3:ji(),lo(po),lo(fo);break;case 5:Ai(r);break;case 4:ji();break;case 13:case 19:lo(Ii);break;case 10:ti(r)}n=n.return}Ms=e,Ss=Ol(e.current,null),Os=t,Es=_s,Ls=null,Ds=Ts=1073741823,Cs=null,Ps=0,js=!1}function rl(e,t){for(;;){try{if(ei(),Hi.current=ga,Wi)for(var n=Fi.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(zi=0,Ui=Bi=Fi=null,Wi=!1,null===Ss||null===Ss.return)return Es=1,Ls=t,Ss=null;e:{var o=e,i=Ss.return,a=Ss,s=t;if(t=Os,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var l=s;if(0==(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var u=0!=(1&Ii.current),f=i;do{var d;if(d=13===f.tag){var p=f.memoizedState;if(null!==p)d=null!==p.dehydrated;else{var h=f.memoizedProps;d=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!u)}}if(d){var m=f.updateQueue;if(null===m){var g=new Set;g.add(l),f.updateQueue=g}else m.add(l);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=li(1073741823,null);v.tag=2,ci(a,v)}a.expirationTime=1073741823;break e}s=void 0,a=t;var y=o.pingCache;if(null===y?(y=o.pingCache=new ps,s=new Set,y.set(l,s)):void 0===(s=y.get(l))&&(s=new Set,y.set(l,s)),!s.has(a)){s.add(a);var b=bl.bind(null,o,l,a);l.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);s=Error((ge(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ve(a))}5!==Es&&(Es=2),s=Za(s,a),f=i;do{switch(f.tag){case 3:l=s,f.effectTag|=4096,f.expirationTime=t,ui(f,hs(f,l,t));break e;case 1:l=s;var _=f.type,w=f.stateNode;if(0==(64&f.effectTag)&&("function"==typeof _.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===$s||!$s.has(w)))){f.effectTag|=4096,f.expirationTime=t,ui(f,ms(f,l,t));break e}}f=f.return}while(null!==f)}Ss=ul(Ss)}catch(e){t=e;continue}break}}function ol(){var e=ys.current;return ys.current=ga,null===e?ga:e}function il(e,t){e<Ts&&2<e&&(Ts=e),null!==t&&e<Ds&&2<e&&(Ds=e,Cs=t)}function al(e){e>Ps&&(Ps=e)}function sl(){for(;null!==Ss;)Ss=cl(Ss)}function ll(){for(;null!==Ss&&!Yo();)Ss=cl(Ss)}function cl(e){var t=gs(e.alternate,e,Os);return e.memoizedProps=e.pendingProps,null===t&&(t=ul(e)),bs.current=null,t}function ul(e){Ss=e;do{var t=Ss.alternate;if(e=Ss.return,0==(2048&Ss.effectTag)){if(t=Ja(t,Ss,Os),1===Os||1!==Ss.childExpirationTime){for(var n=0,r=Ss.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}Ss.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ss.firstEffect),null!==Ss.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ss.firstEffect),e.lastEffect=Ss.lastEffect),1<Ss.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ss:e.firstEffect=Ss,e.lastEffect=Ss))}else{if(null!==(t=Qa(Ss)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ss.sibling))return t;Ss=e}while(null!==Ss);return Es===_s&&(Es=5),null}function fl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function dl(e){var t=zo();return Bo(99,pl.bind(null,e,t)),null}function pl(e,t){do{ml()}while(null!==Ns);if(0!=(48&ks))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=fl(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Ms&&(Ss=Ms=null,Os=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=ks;ks|=32,bs.current=null,mn=Vt;var s=pn();if(hn(s)){if("selectionStart"in s)var l={start:s.selectionStart,end:s.selectionEnd};else e:{var c=(l=(l=s.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(c&&0!==c.rangeCount){l=c.anchorNode;var u=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{l.nodeType,f.nodeType}catch(e){l=null;break e}var d=0,p=-1,h=-1,m=0,g=0,v=s,y=null;t:for(;;){for(var b;v!==l||0!==u&&3!==v.nodeType||(p=d+u),v!==f||0!==c&&3!==v.nodeType||(h=d+c),3===v.nodeType&&(d+=v.nodeValue.length),null!==(b=v.firstChild);)y=v,v=b;for(;;){if(v===s)break t;if(y===l&&++m===u&&(p=d),y===f&&++g===c&&(h=d),null!==(b=v.nextSibling))break;y=(v=y).parentNode}v=b}l=-1===p||-1===h?null:{start:p,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;gn={activeElementDetached:null,focusedElem:s,selectionRange:l},Vt=!1,As=o;do{try{hl()}catch(e){if(null===As)throw Error(a(330));yl(As,e),As=As.nextEffect}}while(null!==As);As=o;do{try{for(s=e,l=t;null!==As;){var _=As.effectTag;if(16&_&&Ne(As.stateNode,""),128&_){var w=As.alternate;if(null!==w){var x=w.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&_){case 2:cs(As),As.effectTag&=-3;break;case 6:cs(As),As.effectTag&=-3,fs(As.alternate,As);break;case 1024:As.effectTag&=-1025;break;case 1028:As.effectTag&=-1025,fs(As.alternate,As);break;case 4:fs(As.alternate,As);break;case 8:us(s,u=As,l),ss(u)}As=As.nextEffect}}catch(e){if(null===As)throw Error(a(330));yl(As,e),As=As.nextEffect}}while(null!==As);if(x=gn,w=pn(),_=x.focusedElem,l=x.selectionRange,w!==_&&_&&_.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(_.ownerDocument.documentElement,_)){null!==l&&hn(_)&&(w=l.start,void 0===(x=l.end)&&(x=w),"selectionStart"in _?(_.selectionStart=w,_.selectionEnd=Math.min(x,_.value.length)):(x=(w=_.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),u=_.textContent.length,s=Math.min(l.start,u),l=void 0===l.end?s:Math.min(l.end,u),!x.extend&&s>l&&(u=l,l=s,s=u),u=dn(_,s),f=dn(_,l),u&&f&&(1!==x.rangeCount||x.anchorNode!==u.node||x.anchorOffset!==u.offset||x.focusNode!==f.node||x.focusOffset!==f.offset)&&((w=w.createRange()).setStart(u.node,u.offset),x.removeAllRanges(),s>l?(x.addRange(w),x.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),x.addRange(w))))),w=[];for(x=_;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_<w.length;_++)(x=w[_]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Vt=!!mn,gn=mn=null,e.current=n,As=o;do{try{for(_=e;null!==As;){var k=As.effectTag;if(36&k&&is(_,As.alternate,As),128&k){w=void 0;var M=As.ref;if(null!==M){var S=As.stateNode;switch(As.tag){case 5:w=S;break;default:w=S}"function"==typeof M?M(w):M.current=w}}As=As.nextEffect}}catch(e){if(null===As)throw Error(a(330));yl(As,e),As=As.nextEffect}}while(null!==As);As=null,Ao(),ks=i}else e.current=n;if(Hs)Hs=!1,Ns=e,zs=t;else for(As=o;null!==As;)t=As.nextEffect,As.nextEffect=null,As=t;if(0===(t=e.firstPendingTime)&&($s=null),1073741823===t?e===Us?Bs++:(Bs=0,Us=e):Bs=0,"function"==typeof wl&&wl(n.stateNode,r),Qs(e),Is)throw Is=!1,e=Rs,Rs=null,e;return 0!=(8&ks)||Vo(),null}function hl(){for(;null!==As;){var e=As.effectTag;0!=(256&e)&&ns(As.alternate,As),0==(512&e)||Hs||(Hs=!0,Uo(97,(function(){return ml(),null}))),As=As.nextEffect}}function ml(){if(90!==zs){var e=97<zs?97:zs;return zs=90,Bo(e,gl)}}function gl(){if(null===Ns)return!1;var e=Ns;if(Ns=null,0!=(48&ks))throw Error(a(331));var t=ks;for(ks|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:rs(5,n),os(5,n)}}catch(t){if(null===e)throw Error(a(330));yl(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return ks=t,Vo(),!0}function vl(e,t,n){ci(e,t=hs(e,t=Za(n,t),1073741823)),null!==(e=Ks(e,1073741823))&&Qs(e)}function yl(e,t){if(3===e.tag)vl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){vl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===$s||!$s.has(r))){ci(n,e=ms(n,e=Za(t,e),1073741823)),null!==(n=Ks(n,1073741823))&&Qs(n);break}}n=n.return}}function bl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Ms===e&&Os===n?Es===xs||Es===ws&&1073741823===Ts&&No()-Ys<500?nl(e,Os):js=!0:Pl(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Qs(e)))}function _l(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=qs(t=Vs(),e,null)),null!==(e=Ks(e,t))&&Qs(e)}gs=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||po.current)Da=!0;else{if(r<n){switch(Da=!1,t.tag){case 3:Ha(t),La();break;case 5:if(Yi(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:go(t.type)&&_o(t);break;case 4:Pi(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,co(Jo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ua(e,t,n):(co(Ii,1&Ii.current),null!==(t=Ga(e,t,n))?t.sibling:null);co(Ii,1&Ii.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return qa(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),co(Ii,Ii.current),!r)return null}return Ga(e,t,n)}Da=!1}}else Da=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=mo(t,fo.current),ri(t,n),o=Gi(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,go(r)){var i=!0;_o(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ai(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&mi(t,r,s,e),o.updater=gi,t.stateNode=o,o._reactInternalFiber=t,_i(t,r,e,n),t=$a(null,t,r,!0,i,n)}else t.tag=0,Ca(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,i=t.tag=function(e){if("function"==typeof e)return Sl(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===fe)return 14}return 2}(o),e=Ko(o,e),i){case 0:t=Ia(null,t,o,e,n);break e;case 1:t=Ra(null,t,o,e,n);break e;case 11:t=Pa(null,t,o,e,n);break e;case 14:t=ja(null,t,o,Ko(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ia(e,t,r,o=t.elementType===r?o:Ko(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ra(e,t,r,o=t.elementType===r?o:Ko(r,o),n);case 3:if(Ha(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,si(e,t),fi(t,r,null,n),(r=t.memoizedState.element)===o)La(),t=Ga(e,t,n);else{if((o=t.stateNode.hydrate)&&(wa=wn(t.stateNode.containerInfo.firstChild),_a=t,o=xa=!0),o)for(n=Oi(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Ca(e,t,r,n),La();t=t.child}return t;case 5:return Yi(t),null===e&&Sa(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,yn(r,o)?s=null:null!==i&&yn(r,i)&&(t.effectTag|=16),Aa(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Ca(e,t,s,n),t=t.child),t;case 6:return null===e&&Sa(t),null;case 13:return Ua(e,t,n);case 4:return Pi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Si(t,null,r,n):Ca(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Pa(e,t,r,o=t.elementType===r?o:Ko(r,o),n);case 7:return Ca(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ca(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value;var l=t.type._context;if(co(Jo,l._currentValue),l._currentValue=i,null!==s)if(l=s.value,0===(i=Rr(l,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(s.children===o.children&&!po.current){t=Ga(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&i)){1===l.tag&&((u=li(n,null)).tag=2,ci(l,u)),l.expirationTime<n&&(l.expirationTime=n),null!==(u=l.alternate)&&u.expirationTime<n&&(u.expirationTime=n),ni(l.return,n),c.expirationTime<n&&(c.expirationTime=n);break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Ca(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ri(t,n),r=r(o=oi(o,i.unstable_observedBits)),t.effectTag|=1,Ca(e,t,r,n),t.child;case 14:return i=Ko(o=t.type,t.pendingProps),ja(e,t,o,i=Ko(o.type,i),r,n);case 15:return Ya(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ko(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,go(r)?(e=!0,_o(t)):e=!1,ri(t,n),yi(t,r,o),_i(t,r,o,n),$a(null,t,r,!0,e,n);case 19:return qa(e,t,n)}throw Error(a(156,t.tag))};var wl=null,xl=null;function kl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Ml(e,t,n,r){return new kl(e,t,n,r)}function Sl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ol(e,t){var n=e.alternate;return null===n?((n=Ml(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function El(e,t,n,r,o,i){var s=2;if(r=e,"function"==typeof e)Sl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case ne:return Ll(n.children,o,i,t);case se:s=8,o|=7;break;case re:s=8,o|=1;break;case oe:return(e=Ml(12,n,t,8|o)).elementType=oe,e.type=oe,e.expirationTime=i,e;case ce:return(e=Ml(13,n,t,o)).type=ce,e.elementType=ce,e.expirationTime=i,e;case ue:return(e=Ml(19,n,t,o)).elementType=ue,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:s=10;break e;case ae:s=9;break e;case le:s=11;break e;case fe:s=14;break e;case de:s=16,r=null;break e;case pe:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Ml(s,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Ll(e,t,n,r){return(e=Ml(7,e,r,t)).expirationTime=n,e}function Tl(e,t,n){return(e=Ml(6,e,null,t)).expirationTime=n,e}function Dl(e,t,n){return(t=Ml(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Cl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Pl(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function jl(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Yl(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Al(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Il(e,t,n,r){var o=t.current,i=Vs(),s=pi.suspense;i=qs(i,o,s);e:if(n){t:{if(Xe(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(go(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(go(c)){n=bo(n,c,l);break e}}n=l}else n=uo;return null===t.context?t.context=n:t.pendingContext=n,(t=li(i,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ci(o,t),Gs(o,i),i}function Rl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function $l(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Hl(e,t){$l(e,t),(e=e.alternate)&&$l(e,t)}function Nl(e,t,n){var r=new Cl(e,t,n=null!=n&&!0===n.hydrate),o=Ml(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,ai(o),e[On]=r.current,n&&0!==t&&function(e,t){var n=Ze(t);Ot.forEach((function(e){ht(e,t,n)})),Et.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function zl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Fl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var s=o;o=function(){var e=Rl(a);s.call(e)}}Il(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Nl(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var l=o;o=function(){var e=Rl(a);l.call(e)}}tl((function(){Il(t,a,e,o)}))}return Rl(a)}function Bl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Ul(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!zl(t))throw Error(a(200));return Bl(e,t,null,n)}Nl.prototype.render=function(e){Il(e,this._internalRoot,null,null)},Nl.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Il(null,e,null,(function(){t[On]=null}))},mt=function(e){if(13===e.tag){var t=Go(Vs(),150,100);Gs(e,t),Hl(e,t)}},gt=function(e){13===e.tag&&(Gs(e,3),Hl(e,3))},vt=function(e){if(13===e.tag){var t=Vs();Gs(e,t=qs(t,e,null)),Hl(e,t)}},L=function(e,t,n){switch(t){case"input":if(Se(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Dn(r);if(!o)throw Error(a(90));we(r),Se(r,o)}}}break;case"textarea":Pe(e,n);break;case"select":null!=(t=n.value)&&Te(e,!!n.multiple,t,!1)}},Y=el,A=function(e,t,n,r,o){var i=ks;ks|=4;try{return Bo(98,e.bind(null,t,n,r,o))}finally{0===(ks=i)&&Vo()}},I=function(){0==(49&ks)&&(function(){if(null!==Fs){var e=Fs;Fs=null,e.forEach((function(e,t){Al(t,e),Qs(t)})),Vo()}}(),ml())},R=function(e,t){var n=ks;ks|=2;try{return e(t)}finally{0===(ks=n)&&Vo()}};var Wl,Vl,ql={Events:[Ln,Tn,Dn,O,k,Rn,function(e){ot(e,In)},P,j,Qt,st,ml,{current:!1}]};Vl=(Wl={findFiberByHostInstance:En,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);wl=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},xl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(o({},Wl,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Vl?Vl(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ql,t.createPortal=Ul,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&ks))throw Error(a(187));var n=ks;ks|=1;try{return Bo(99,e.bind(null,t))}finally{ks=n,Vo()}},t.hydrate=function(e,t,n){if(!zl(t))throw Error(a(200));return Fl(null,e,t,!0,n)},t.render=function(e,t,n){if(!zl(t))throw Error(a(200));return Fl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!zl(e))throw Error(a(40));return!!e._reactRootContainer&&(tl((function(){Fl(null,null,e,!1,(function(){e._reactRootContainer=null,e[On]=null}))})),!0)},t.unstable_batchedUpdates=el,t.unstable_createPortal=function(e,t){return Ul(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!zl(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Fl(e,t,n,!1,r)},t.version="16.13.1"},function(e,t,n){"use strict";e.exports=n(766)},function(e,t,n){"use strict";
-/** @license React v0.19.1
- * scheduler.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */var r,o,i,a,s;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,c=null,u=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(u,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(u,0))},o=function(e,t){c=setTimeout(e,t)},i=function(){clearTimeout(c)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var g=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var v=p.now();t.unstable_now=function(){return p.now()-v}}var y=!1,b=null,_=-1,w=5,x=0;a=function(){return t.unstable_now()>=x},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,M=k.port2;k.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();x=e+w;try{b(!0,e)?M.postMessage(null):(y=!1,b=null)}catch(e){throw M.postMessage(null),e}}else y=!1},r=function(e){b=e,y||(y=!0,M.postMessage(null))},o=function(e,n){_=h((function(){e(t.unstable_now())}),n)},i=function(){m(_),_=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<L(o,t)))break e;e[r]=t,e[n]=o,n=r}}function O(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],s=i+1,l=e[s];if(void 0!==a&&0>L(a,n))void 0!==l&&0>L(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>L(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function L(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],D=[],C=1,P=null,j=3,Y=!1,A=!1,I=!1;function R(e){for(var t=O(D);null!==t;){if(null===t.callback)E(D);else{if(!(t.startTime<=e))break;E(D),t.sortIndex=t.expirationTime,S(T,t)}t=O(D)}}function $(e){if(I=!1,R(e),!A)if(null!==O(T))A=!0,r(H);else{var t=O(D);null!==t&&o($,t.startTime-e)}}function H(e,n){A=!1,I&&(I=!1,i()),Y=!0;var r=j;try{for(R(n),P=O(T);null!==P&&(!(P.expirationTime>n)||e&&!a());){var s=P.callback;if(null!==s){P.callback=null,j=P.priorityLevel;var l=s(P.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?P.callback=l:P===O(T)&&E(T),R(n)}else E(T);P=O(T)}if(null!==P)var c=!0;else{var u=O(D);null!==u&&o($,u.startTime-n),c=!1}return c}finally{P=null,j=r,Y=!1}}function N(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){A||Y||(A=!0,r(H))},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_getFirstCallbackNode=function(){return O(T)},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var l=a.delay;l="number"==typeof l&&0<l?s+l:s,a="number"==typeof a.timeout?a.timeout:N(e)}else a=N(e),l=s;return e={id:C++,callback:n,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>s?(e.sortIndex=l,S(D,e),null===O(T)&&e===O(D)&&(I?i():I=!0,o($,l-s))):(e.sortIndex=a,S(T,e),A||Y||(A=!0,r(H))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();R(e);var n=O(T);return n!==P&&null!==P&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<P.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=j;return function(){var n=j;j=t;try{return e.apply(this,arguments)}finally{j=n}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__RewireAPI__=t.__ResetDependency__=t.__set__=t.__Rewire__=t.__GetDependency__=t.__get__=t.RedBoxError=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=m(n(0)),s=n(1),l=m(s),c=m(n(32)),u=m(n(770)),f=m(n(771)),d=m(n(163)),p=n(773),h=n(774);function m(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var b=t.RedBoxError=function(e){function t(e){g(this,t);var n=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={error:null,mapped:!1},n.mapOnConstruction(e.error),n}return y(t,e),i(t,[{key:"componentDidMount",value:function(){this.state.mapped||this.mapError(this.props.error)}},{key:"mapOnConstruction",value:function(e){var t=e.stack.split("\n");if(t.length<2)this.state={error:e,mapped:!0};else if(-1!==t[1].search(/\(webpack:\/{3}/))this.state={error:e,mapped:!0};else if(-1!==t[1].search(/\(eval at/)){var n=[t.shift()],r=!0,i=!1,a=void 0;try{for(var s,l=t[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var c=s.value,u=c.match(/(.+)\(eval at (.+) \(.+?\), .+(\:[0-9]+\:[0-9]+)\)/);if(u){var f=o(u,4),d=f[1],p=f[2],h=f[3];n.push(d+" ("+p+h+")")}else n.push(c)}}catch(e){i=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(i)throw a}}e.stack=n.join("\n"),this.state={error:e,mapped:!0}}else this.state={error:e,mapped:!1}}},{key:"mapError",value:function(e){var t=this;k("mapStackTrace")(e.stack,(function(n){e.stack=n.join("\n"),t.setState({error:e,mapped:!0})}))}},{key:"renderFrames",value:function(e){var t=this.props,n=t.filename,r=t.editorScheme,o=t.useLines,i=t.useColumns,a=k("assign")({},k("style"),this.props.style),s=a.frame,l=a.file,c=a.linkToFile;return e.map((function(e,t){var a=void 0,u=void 0;if(0===t&&n&&!k("isFilenameAbsolute")(e.fileName))u=k("makeUrl")(n,r),a=k("makeLinkText")(n);else{var f=o?e.lineNumber:null,d=i?e.columnNumber:null;u=k("makeUrl")(e.fileName,r,f,d),a=k("makeLinkText")(e.fileName,f,d)}return k("React").createElement("div",{style:s,key:t},k("React").createElement("div",null,e.functionName),k("React").createElement("div",{style:l},k("React").createElement("a",{href:u,style:c},a)))}))}},{key:"render",value:function(){var e=this.state.error,t=this.props.className,n=k("assign")({},k("style"),this.props.style),r=n.redbox,o=n.message,i=n.stack,a=n.frame,s=void 0,l=void 0;try{s=k("ErrorStackParser").parse(e)}catch(e){l=new Error("Failed to parse stack trace. Stack trace information unavailable.")}return s=l?k("React").createElement("div",{style:a,key:0},k("React").createElement("div",null,l.message)):this.renderFrames(s),k("React").createElement("div",{style:r,className:t},k("React").createElement("div",{style:o},e.name,": ",e.message),k("React").createElement("div",{style:i},s))}}]),t}(k("Component"));b.propTypes={error:k("PropTypes").instanceOf(Error).isRequired,filename:k("PropTypes").string,editorScheme:k("PropTypes").string,useLines:k("PropTypes").bool,useColumns:k("PropTypes").bool,style:k("PropTypes").object,className:k("PropTypes").string},b.displayName="RedBoxError",b.defaultProps={useLines:!0,useColumns:!0};var _=function(e){function t(){return g(this,t),v(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return y(t,e),i(t,[{key:"componentDidMount",value:function(){this.el=document.createElement("div"),document.body.appendChild(this.el),this.renderRedBoxError()}},{key:"componentDidUpdate",value:function(){this.renderRedBoxError()}},{key:"componentWillUnmount",value:function(){k("ReactDOM").unmountComponentAtNode(this.el),document.body.removeChild(this.el),this.el=null}},{key:"renderRedBoxError",value:function(){k("ReactDOM").render(k("React").createElement(k("RedBoxError"),this.props),this.el)}},{key:"render",value:function(){return null}}]),t}(k("Component"));_.propTypes={error:k("PropTypes").instanceOf(Error).isRequired},_.displayName="RedBox",t.default=_;var w=Object.create(null),x={};function k(e){if(void 0===w||void 0===w[e])return function(e){switch(e){case"PropTypes":return a.default;case"mapStackTrace":return h.mapStackTrace;case"assign":return d.default;case"style":return u.default;case"isFilenameAbsolute":return p.isFilenameAbsolute;case"makeUrl":return p.makeUrl;case"makeLinkText":return p.makeLinkText;case"ErrorStackParser":return f.default;case"Component":return s.Component;case"ReactDOM":return c.default;case"React":return l.default;case"RedBoxError":return b}return}(e);var t=w[e];return"__INTENTIONAL_UNDEFINED__"===t?void 0:t}function M(e,t){if("object"!==(void 0===e?"undefined":r(e)))return w[e]=void 0===t?"__INTENTIONAL_UNDEFINED__":t,function(){S(e)};Object.keys(e).forEach((function(t){w[t]=e[t]}))}function S(e){delete w[e]}function O(e){var t=Object.keys(e),n={};function r(){t.forEach((function(e){w[e]=n[e]}))}return function(o){t.forEach((function(t){n[t]=w[t],w[t]=e[t]}));var i=o();return i&&"function"==typeof i.then?i.then(r).catch(r):r(),i}}!function(){function e(e,t){Object.defineProperty(x,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",k),e("__GetDependency__",k),e("__Rewire__",M),e("__set__",M),e("__reset__",S),e("__ResetDependency__",S),e("__with__",O)}();var E=void 0===_?"undefined":r(_);function L(e,t){Object.defineProperty(_,e,{value:t,enumerable:!1,configurable:!0})}"object"!==E&&"function"!==E||!Object.isExtensible(_)||(L("__get__",k),L("__GetDependency__",k),L("__Rewire__",M),L("__set__",M),L("__reset__",S),L("__ResetDependency__",S),L("__with__",O),L("__RewireAPI__",x)),t.__get__=k,t.__GetDependency__=k,t.__Rewire__=M,t.__set__=M,t.__ResetDependency__=S,t.__RewireAPI__=x},function(e,t,n){"use strict";var r=n(769);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={redbox:{boxSizing:"border-box",fontFamily:"sans-serif",position:"fixed",padding:10,top:"0px",left:"0px",bottom:"0px",right:"0px",width:"100%",background:"rgb(204, 0, 0)",color:"white",zIndex:2147483647,textAlign:"left",fontSize:"16px",lineHeight:1.2,overflow:"auto"},message:{fontWeight:"bold"},stack:{fontFamily:"monospace",marginTop:"2em"},frame:{marginTop:"1em"},file:{fontSize:"0.8em",color:"rgba(255, 255, 255, 0.7)"},linkToFile:{textDecoration:"none",color:"rgba(255, 255, 255, 0.7)"}}},function(e,t,n){var r,o,i;!function(a,s){"use strict";o=[n(772)],void 0===(i="function"==typeof(r=function(e){var t=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,r=/^(eval@)?(\[native code\])?$/;function o(e,t,n){if("function"==typeof Array.prototype.map)return e.map(t,n);for(var r=new Array(e.length),o=0;o<e.length;o++)r[o]=t.call(n,e[o]);return r}function i(e,t,n){if("function"==typeof Array.prototype.filter)return e.filter(t,n);for(var r=[],o=0;o<e.length;o++)t.call(n,e[o])&&r.push(e[o]);return r}return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/.exec(e.replace(/[\(\)]/g,""));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return o(i(t.stack.split("\n"),(function(e){return!!e.match(n)}),this),(function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").split(/\s+/).slice(1),r=this.extractLocation(n.pop()),o=n.join(" ")||void 0,i=function(e,t){if("function"==typeof Array.prototype.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}(["eval","<anonymous>"],r[0])>-1?void 0:r[0];return new e(o,void 0,i,r[1],r[2],t)}),this)},parseFFOrSafari:function(t){return o(i(t.stack.split("\n"),(function(e){return!e.match(r)}),this),(function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e(t);var n=t.split("@"),r=this.extractLocation(n.pop()),o=n.join("@")||void 0;return new e(o,void 0,r[0],r[1],r[2],t)}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),o=[],i=2,a=r.length;i<a;i+=2){var s=n.exec(r[i]);s&&o.push(new e(void 0,void 0,s[2],s[1],void 0,r[i]))}return o},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split("\n"),o=[],i=0,a=r.length;i<a;i+=2){var s=n.exec(r[i]);s&&o.push(new e(s[3]||void 0,void 0,s[2],s[1],void 0,r[i]))}return o},parseOpera11:function(n){return o(i(n.stack.split("\n"),(function(e){return!!e.match(t)&&!e.match(/^Error created at/)}),this),(function(t){var n,r=t.split("@"),o=this.extractLocation(r.pop()),i=r.shift()||"",a=i.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;i.match(/\(([^\)]*)\)/)&&(n=i.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e(a,s,o[0],o[1],o[2],t)}),this)}}})?r.apply(t,o):r)||(e.exports=i)}()},function(e,t,n){var r,o,i;!function(n,a){"use strict";o=[],void 0===(i="function"==typeof(r=function(){function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e,t,n,r,o,i){void 0!==e&&this.setFunctionName(e),void 0!==t&&this.setArgs(t),void 0!==n&&this.setFileName(n),void 0!==r&&this.setLineNumber(r),void 0!==o&&this.setColumnNumber(o),void 0!==i&&this.setSource(i)}return t.prototype={getFunctionName:function(){return this.functionName},setFunctionName:function(e){this.functionName=String(e)},getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getFileName:function(){return this.fileName},setFileName:function(e){this.fileName=String(e)},getLineNumber:function(){return this.lineNumber},setLineNumber:function(t){if(!e(t))throw new TypeError("Line Number must be a Number");this.lineNumber=Number(t)},getColumnNumber:function(){return this.columnNumber},setColumnNumber:function(t){if(!e(t))throw new TypeError("Column Number must be a Number");this.columnNumber=Number(t)},getSource:function(){return this.source},setSource:function(e){this.source=String(e)},toString:function(){return(this.getFunctionName()||"{anonymous}")+("("+(this.getArgs()||[]).join(",")+")")+(this.getFileName()?"@"+this.getFileName():"")+(e(this.getLineNumber())?":"+this.getLineNumber():"")+(e(this.getColumnNumber())?":"+this.getColumnNumber():"")}},t})?r.apply(t,o):r)||(e.exports=i)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=t.filenameWithoutLoaders=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.lastIndexOf("!");return t<0?e:e.substr(t+1)},i=(t.filenameHasLoaders=function(e){return l("filenameWithoutLoaders")(e)!==e},t.filenameHasSchema=function(e){return/^[\w]+\:/.test(e)}),a=(t.isFilenameAbsolute=function(e){return 0===l("filenameWithoutLoaders")(e).indexOf("/")},t.makeUrl=function(e,t,n,r){var o=l("filenameWithoutLoaders")(e);if(l("filenameHasSchema")(e))return o;var i="file://"+o;return"vscode"===t?(i=(i=t+"://file/"+i).replace(/file:\/\/\//,""),n&&o===e&&(i=i+":"+n,r&&(i=i+":"+r))):t&&(i=t+"://open?url="+i,n&&o===e&&(i=i+"&line="+n,r&&(i=i+"&column="+r))),i},t.makeLinkText=function(e,t,n){var r=l("filenameWithoutLoaders")(e);return t&&r===e&&(r=r+":"+t,n&&(r=r+":"+n)),r},Object.create(null)),s={};function l(e){if(void 0===a||void 0===a[e])return function(e){switch(e){case"filenameWithoutLoaders":return o;case"filenameHasSchema":return i}return}(e);var t=a[e];return"__INTENTIONAL_UNDEFINED__"===t?void 0:t}function c(e,t){if("object"!==(void 0===e?"undefined":r(e)))return a[e]=void 0===t?"__INTENTIONAL_UNDEFINED__":t,function(){u(e)};Object.keys(e).forEach((function(t){a[t]=e[t]}))}function u(e){delete a[e]}function f(e){var t=Object.keys(e),n={};function r(){t.forEach((function(e){a[e]=n[e]}))}return function(o){t.forEach((function(t){n[t]=a[t],a[t]=e[t]}));var i=o();return i&&"function"==typeof i.then?i.then(r).catch(r):r(),i}}!function(){function e(e,t){Object.defineProperty(s,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",l),e("__GetDependency__",l),e("__Rewire__",c),e("__set__",c),e("__reset__",u),e("__ResetDependency__",u),e("__with__",f)}(),t.__get__=l,t.__GetDependency__=l,t.__Rewire__=c,t.__set__=c,t.__ResetDependency__=u,t.__RewireAPI__=s,t.default=s},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){var r,o;r=[n(1)],void 0===(o=function(e){var t={},n=function(){return navigator.userAgent.toLowerCase().indexOf("chrome")>-1},r=function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1},o=function(){return navigator.userAgent.toLowerCase().indexOf("safari")>-1},i=function(){return document.documentMode&&document.documentMode>=11},a=function(){this.count=0,this.pending=[]};a.prototype.incr=function(){this.count++},a.prototype.decr=function(){this.count--,this.flush()},a.prototype.whenReady=function(e){this.pending.push(e),this.flush()},a.prototype.flush=function(){0===this.count&&(this.pending.forEach((function(e){e()})),this.pending=[])};var s=function(e){this.sem=new a,this.sync=e&&e.sync,this.mapForUri=e&&e.cacheGlobally?t:{}};s.prototype.ajax=function(e,t){var n=function(){for(var e=!1,t=0;t<p.length;t++){try{e=p[t]()}catch(e){continue}break}return e}(),r=this;n.onreadystatechange=function(){4==n.readyState&&t.call(r,n,e)},n.open("GET",e,!this.sync),n.send()},s.prototype.fetchScript=function(e){e in this.mapForUri||(this.sem.incr(),this.mapForUri[e]=null,this.ajax(e,this.onScriptLoad))};var l=new RegExp("^(?:[a-z]+:)?//","i");s.prototype.onScriptLoad=function(t,n){if(200===t.status||"file://"===n.slice(0,7)&&0===t.status){var r=t.responseText.match("//# [s]ourceMappingURL=(.*)[\\s]*$","m");if(r&&2===r.length){var o=r[1],i=o.match("data:application/json;(charset=[^;]+;)?base64,(.*)");if(i&&i[2])this.mapForUri[n]=new e.SourceMapConsumer(atob(i[2])),this.sem.decr();else{if(!l.test(o)){var a,s=n.lastIndexOf("/");-1!==s&&(a=n.slice(0,s+1),o=a+o)}this.ajax(o,(function(t){(200===t.status||"file://"===o.slice(0,7)&&0===t.status)&&(this.mapForUri[n]=new e.SourceMapConsumer(t.responseText)),this.sem.decr()}))}}else this.sem.decr()}else this.sem.decr()};var c=function(e,t,n,r){for(var o,i=[],a="chrome"===r?u:f,s=0;s<e.length;s++){var l=t[s];if(l){var c=l[1],p=parseInt(l[2],10),h=parseInt(l[3],10);if(o=n[c]){var m=o.originalPositionFor({line:p,column:h});i.push(d(m.source,m.line,m.column,m.name||a(e[s])))}else i.push(d(c,p,h,a(e[s])))}else i.push(e[s])}return i};function u(e){var t=/ +at +([^ ]*).*/.exec(e);return t&&t[1]}function f(e){var t=/([^@]*)@.*/.exec(e);return t&&t[1]}var d=function(e,t,n,r){return" at "+(r||"(unknown)")+" ("+e+":"+t+":"+n+")"},p=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}];return{mapStackTrace:function(e,t,a){var l,u,f,d,p,h,m,g={},v=new s(a),y=a&&a.traceFormat;if("chrome"!==y&&"firefox"!==y){if(y)throw new Error('unknown traceFormat "'+y+'" :(');if(n()||i())y="chrome";else{if(!r()&&!o())throw new Error("unknown browser :(");y="firefox"}}"chrome"===y?(h=/^ +at.+\((.*):([0-9]+):([0-9]+)/,p=4,m=1):(h=/@(.*):([0-9]+):([0-9]+)/,p=4,m=0),l=e.split("\n").slice(m);for(var b=0;b<l.length;b++)u=l[b],a&&a.filter&&!a.filter(u)||(f=u.match(h))&&f.length===p&&(g[b]=f,(d=f[1]).match(/<anonymous>/)||v.fetchScript(d));v.sem.whenReady((function(){var e=c(l,g,v.mapForUri,y);t(e)}))}}}.apply(t,r))||(e.exports=o)},function(e,t,n){var r=n(2),o=n(3),i=n(4).ArraySet,a=n(5),s=n(7).quickSort;function l(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new f(t):new c(t)}function c(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=r.getArg(t,"version"),o=r.getArg(t,"sources"),a=r.getArg(t,"names",[]),s=r.getArg(t,"sourceRoot",null),l=r.getArg(t,"sourcesContent",null),c=r.getArg(t,"mappings"),u=r.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o=o.map(String).map(r.normalize).map((function(e){return s&&r.isAbsolute(s)&&r.isAbsolute(e)?r.relative(s,e):e})),this._names=i.fromArray(a.map(String),!0),this._sources=i.fromArray(o,!0),this.sourceRoot=s,this.sourcesContent=l,this._mappings=c,this.file=u}function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function f(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=r.getArg(t,"version"),o=r.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new i,this._names=new i;var a={line:-1,column:0};this._sections=o.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=r.getArg(e,"offset"),n=r.getArg(t,"line"),o=r.getArg(t,"column");if(n<a.line||n===a.line&&o<a.column)throw new Error("Section offsets must be ordered and non-overlapping.");return a=t,{generatedOffset:{generatedLine:n+1,generatedColumn:o+1},consumer:new l(r.getArg(e,"map"))}}))}l.fromSourceMap=function(e){return c.fromSourceMap(e)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},l.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(e,t,n){var o,i=t||null;switch(n||l.GENERATED_ORDER){case l.GENERATED_ORDER:o=this._generatedMappings;break;case l.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;o.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=a&&(t=r.join(a,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,i)},l.prototype.allGeneratedPositionsFor=function(e){var t=r.getArg(e,"line"),n={source:r.getArg(e,"source"),originalLine:t,originalColumn:r.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=r.relative(this.sourceRoot,n.source)),!this._sources.has(n.source))return[];n.source=this._sources.indexOf(n.source);var i=[],a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,o.LEAST_UPPER_BOUND);if(a>=0){var s=this._originalMappings[a];if(void 0===e.column)for(var l=s.originalLine;s&&s.originalLine===l;)i.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a];else for(var c=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==c;)i.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a]}return i},t.SourceMapConsumer=l,c.prototype=Object.create(l.prototype),c.prototype.consumer=l,c.fromSourceMap=function(e){var t=Object.create(c.prototype),n=t._names=i.fromArray(e._names.toArray(),!0),o=t._sources=i.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),l=t.__generatedMappings=[],f=t.__originalMappings=[],d=0,p=a.length;d<p;d++){var h=a[d],m=new u;m.generatedLine=h.generatedLine,m.generatedColumn=h.generatedColumn,h.source&&(m.source=o.indexOf(h.source),m.originalLine=h.originalLine,m.originalColumn=h.originalColumn,h.name&&(m.name=n.indexOf(h.name)),f.push(m)),l.push(m)}return s(t.__originalMappings,r.compareByOriginalPositions),t},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._sources.toArray().map((function(e){return null!=this.sourceRoot?r.join(this.sourceRoot,e):e}),this)}}),c.prototype._parseMappings=function(e,t){for(var n,o,i,l,c,f=1,d=0,p=0,h=0,m=0,g=0,v=e.length,y=0,b={},_={},w=[],x=[];y<v;)if(";"===e.charAt(y))f++,y++,d=0;else if(","===e.charAt(y))y++;else{for((n=new u).generatedLine=f,l=y;l<v&&!this._charIsMappingSeparator(e,l);l++);if(i=b[o=e.slice(y,l)])y+=o.length;else{for(i=[];y<l;)a.decode(e,y,_),c=_.value,y=_.rest,i.push(c);if(2===i.length)throw new Error("Found a source, but no line and column");if(3===i.length)throw new Error("Found a source and line, but no column");b[o]=i}n.generatedColumn=d+i[0],d=n.generatedColumn,i.length>1&&(n.source=m+i[1],m+=i[1],n.originalLine=p+i[2],p=n.originalLine,n.originalLine+=1,n.originalColumn=h+i[3],h=n.originalColumn,i.length>4&&(n.name=g+i[4],g+=i[4])),x.push(n),"number"==typeof n.originalLine&&w.push(n)}s(x,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=x,s(w,r.compareByOriginalPositions),this.__originalMappings=w},c.prototype._findMapping=function(e,t,n,r,i,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return o.search(e,t,i,a)},c.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositionsDeflated,r.getArg(e,"bias",l.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===t.generatedLine){var i=r.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=r.join(this.sourceRoot,i)));var a=r.getArg(o,"name",null);return null!==a&&(a=this._names.at(a)),{source:i,line:r.getArg(o,"originalLine",null),column:r.getArg(o,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},c.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=r.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=r.urlParse(this.sourceRoot))){var o=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(e){var t=r.getArg(e,"source");if(null!=this.sourceRoot&&(t=r.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(e,"bias",l.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:r.getArg(i,"generatedLine",null),column:r.getArg(i,"generatedColumn",null),lastColumn:r.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=c,f.prototype=Object.create(l.prototype),f.prototype.constructor=l,f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),f.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=o.search(t,this._sections,(function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn})),i=this._sections[n];return i?i.consumer.originalPositionFor({line:t.generatedLine-(i.generatedOffset.generatedLine-1),column:t.generatedColumn-(i.generatedOffset.generatedLine===t.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},f.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},f.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer.sources.indexOf(r.getArg(e,"source"))){var o=n.consumer.generatedPositionFor(e);if(o)return{line:o.line+(n.generatedOffset.generatedLine-1),column:o.column+(n.generatedOffset.generatedLine===o.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},f.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var o=this._sections[n],i=o.consumer._generatedMappings,a=0;a<i.length;a++){var l=i[a],c=o.consumer._sources.at(l.source);null!==o.consumer.sourceRoot&&(c=r.join(o.consumer.sourceRoot,c)),this._sources.add(c),c=this._sources.indexOf(c);var u=o.consumer._names.at(l.name);this._names.add(u),u=this._names.indexOf(u);var f={source:c,generatedLine:l.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:l.generatedColumn+(o.generatedOffset.generatedLine===l.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:l.originalLine,originalColumn:l.originalColumn,name:u};this.__generatedMappings.push(f),"number"==typeof f.originalLine&&this.__originalMappings.push(f)}s(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),s(this.__originalMappings,r.compareByOriginalPositions)},t.IndexedSourceMapConsumer=f},function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,r=/^data:.+\,.+$/;function o(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e){var n=e,r=o(e);if(r){if(!r.path)return e;n=r.path}for(var a,s=t.isAbsolute(n),l=n.split(/\/+/),c=0,u=l.length-1;u>=0;u--)"."===(a=l[u])?l.splice(u,1):".."===a?c++:c>0&&(""===a?(l.splice(u+1,c),c=0):(l.splice(u,2),c--));return""===(n=l.join("/"))&&(n=s?"/":"."),r?(r.path=n,i(r)):n}t.urlParse=o,t.urlGenerate=i,t.normalize=a,t.join=function(e,t){""===e&&(e="."),""===t&&(t=".");var n=o(t),s=o(e);if(s&&(e=s.path||"/"),n&&!n.scheme)return s&&(n.scheme=s.scheme),i(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,i(s);var l="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=l,i(s)):l},t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(n)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var s=!("__proto__"in Object.create(null));function l(e){return e}function c(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function u(e,t){return e===t?0:e>t?1:-1}t.toSetString=s?l:function(e){return c(e)?"$"+e:e},t.fromSetString=s?l:function(e){return c(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=e.source-t.source;return 0!==r||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)||n||0!=(r=e.generatedColumn-t.generatedColumn)||0!=(r=e.generatedLine-t.generatedLine)?r:e.name-t.name},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||n||0!=(r=e.source-t.source)||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:e.name-t.name},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!=(n=e.generatedColumn-t.generatedColumn)||0!==(n=u(e.source,t.source))||0!=(n=e.originalLine-t.originalLine)||0!=(n=e.originalColumn-t.originalColumn)?n:u(e.name,t.name)}},function(e,t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,r,o){if(0===n.length)return-1;var i=function e(n,r,o,i,a,s){var l=Math.floor((r-n)/2)+n,c=a(o,i[l],!0);return 0===c?l:c>0?r-l>1?e(l,r,o,i,a,s):s==t.LEAST_UPPER_BOUND?r<i.length?r:-1:l:l-n>1?e(n,l,o,i,a,s):s==t.LEAST_UPPER_BOUND?l:n<0?-1:n}(-1,n.length,e,n,r,o||t.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===r(n[i],n[i-1],!0);)--i;return i}},function(e,t,n){var r=n(2),o=Object.prototype.hasOwnProperty;function i(){this._array=[],this._set=Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,o=e.length;r<o;r++)n.add(e[r],t);return n},i.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,t){var n=r.toSetString(e),i=o.call(this._set,n),a=this._array.length;i&&!t||this._array.push(e),i||(this._set[n]=a)},i.prototype.has=function(e){var t=r.toSetString(e);return o.call(this._set,t)},i.prototype.indexOf=function(e){var t=r.toSetString(e);if(o.call(this._set,t))return this._set[t];throw new Error('"'+e+'" is not in the set.')},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},i.prototype.toArray=function(){return this._array.slice()},t.ArraySet=i},function(e,t,n){var r=n(6);t.encode=function(e){var t,n="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&o,(o>>>=5)>0&&(t|=32),n+=r.encode(t)}while(o>0);return n},t.decode=function(e,t,n){var o,i,a,s,l=e.length,c=0,u=0;do{if(t>=l)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(32&i),c+=(i&=31)<<u,u+=5}while(o);n.value=(s=(a=c)>>1,1==(1&a)?-s:s),n.rest=t}},function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},function(e,t){function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function r(e,t,o,i){if(o<i){var a=o-1;n(e,(u=o,f=i,Math.round(u+Math.random()*(f-u))),i);for(var s=e[i],l=o;l<i;l++)t(e[l],s)<=0&&n(e,a+=1,l);n(e,a+1,l);var c=a+1;r(e,t,o,c-1),r(e,t,c+1,i)}var u,f}t.quickSort=function(e,t){r(e,t,0,e.length-1)}}])},e.exports=r()},function(e,t,n){e.exports=n(164)("native-function-to-string",Function.toString)},function(e,t,n){"use strict";var r=n(124),o=n(141),i=n(143),a={};n(93)(a,n(48)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(114),o=n(169),i=n(144);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(94),o=n(146).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){n(53)&&"g"!=/./g.flags&&n(58).f(RegExp.prototype,"flags",{configurable:!0,get:n(170)})},function(e,t,n){var r=n(31),o=n(92),i=n(54);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".icon_c95 {\n display: inline-block;\n\n fill: currentColor;\n}\n\n.glyph_54e {\n display: inline-flex;\n\n margin-right: -1px;\n margin-left: -1px;\n\n pointer-events: none\n}\n\n.glyph_54e[width='10'] {\n vertical-align: -1px;\n }\n\n.glyph_54e[width='14'] {\n margin-right: -2px;\n margin-left: 0;\n\n vertical-align: -3px;\n }\n\n.glyph_54e[width='16'] {\n vertical-align: -3px;\n }\n\n.glyph_54e[width='20'] {\n vertical-align: -2px;\n }\n\n.glyph_54e.compatibilityMode_228 {\n width: 16px;\n height: 16px;\n margin-right: 0;\n margin-left: 0;\n }\n\n/* HACK: This media query hack makes styles applied for WebKit browsers only */\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\n .glyph_54e {\n width: auto; /* Safari size bug workaround, see https://youtrack.jetbrains.com/issue/RG-1983 */\n }\n}\n\n.gray_f7e {\n color: #999;\n color: var(--ring-icon-secondary-color);\n}\n\n.hover_366 {\n color: #80c6ff;\n color: var(--ring-icon-hover-color);\n}\n\n.green_08f {\n color: #59a869;\n color: var(--ring-icon-success-color);\n}\n\n.magenta_e9b {\n color: #ff008c;\n color: var(--ring-link-hover-color);\n}\n\n.red_9ec {\n color: #db5860;\n color: var(--ring-icon-error-color);\n}\n\n.blue_ab2 {\n color: #008eff;\n color: var(--ring-main-color);\n}\n\n.white_666 {\n color: #fff;\n color: var(--ring-dark-text-color);\n}\n\n.loading_89d {\n -webkit-animation-name: icon-loading_55b;\n animation-name: icon-loading_55b;\n -webkit-animation-duration: 1200ms;\n animation-duration: 1200ms;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n}\n\n@-webkit-keyframes icon-loading_55b {\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.9);\n\n opacity: 0.5;\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n@keyframes icon-loading_55b {\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.9);\n\n opacity: 0.5;\n }\n\n 100% {\n transform: scale(1);\n }\n}\n",""]),t.locals={unit:""+o.locals.unit,icon:"icon_c95",glyph:"glyph_54e",compatibilityMode:"compatibilityMode_228",gray:"gray_f7e",hover:"hover_366",green:"green_08f",magenta:"magenta_e9b",red:"red_9ec",blue:"blue_ab2",white:"white_666",loading:"loading_89d","icon-loading":"icon-loading_55b"},e.exports=t},function(e,t,n){var r=n(783);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(51),o=n(213),i=n(48)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(31),o=n(81),i=n(285),a="".startsWith;r(r.P+r.F*n(286)("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";var r=n(217);n(31)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";var r=n(174),o=n(145).getWeak,i=n(49),a=n(51),s=n(175),l=n(176),c=n(98),u=n(80),f=n(126),d=c(5),p=c(6),h=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},v=function(e,t){return d(e.a,(function(e){return e[0]===t}))};g.prototype={get:function(e){var t=v(this,e);if(t)return t[1]},has:function(e){return!!v(this,e)},set:function(e,t){var n=v(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var c=e((function(e,r){s(e,c,t,"_i"),e._t=t,e._i=h++,e._l=void 0,null!=r&&l(r,n,e[i],e)}));return r(c.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?m(f(this,t)).delete(e):n&&u(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?m(f(this,t)).has(e):n&&u(n,this._i)}}),c},def:function(e,t,n){var r=o(i(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){var r=n(96),o=n(82),i=n(166),a=n(81);e.exports=function(e,t,n,s,l){r(t);var c=o(e),u=i(c),f=a(c.length),d=l?f-1:0,p=l?-1:1;if(n<2)for(;;){if(d in u){s=u[d],d+=p;break}if(d+=p,l?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;l?d>=0:f>d;d+=p)d in u&&(s=t(s,u[d],d,c));return s}},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,"@-webkit-keyframes spin_d9f {\n 0% {\n transform: rotate(0);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes spin_d9f {\n 0% {\n transform: rotate(0);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@-webkit-keyframes pulse_757 {\n 0% {\n transform: scale(1);\n }\n\n 100% {\n transform: scale(1.41667);\n }\n}\n\n@keyframes pulse_757 {\n 0% {\n transform: scale(1);\n }\n\n 100% {\n transform: scale(1.41667);\n }\n}\n\n.loader_d44,\n.ring-loader-inline {\n /* needed for better backward-compatibility */\n\n position: relative;\n\n display: inline-block;\n\n overflow: hidden;\n\n transform: rotate(0);\n -webkit-animation: spin_d9f 1s linear infinite;\n animation: spin_d9f 1s linear infinite;\n vertical-align: -3px;\n\n border-radius: 8px\n}\n\n.loader_d44,\n .loader_d44::after,\n .ring-loader-inline,\n .ring-loader-inline::after {\n transform-origin: 50% 50%;\n }\n\n.loader_d44::after, .ring-loader-inline::after {\n display: block;\n\n width: 16px;\n height: 16px;\n\n content: '';\n -webkit-animation: pulse_757 0.85s cubic-bezier(0.68, 0, 0.74, 0.74) infinite alternate;\n animation: pulse_757 0.85s cubic-bezier(0.68, 0, 0.74, 0.74) infinite alternate;\n }\n\n.children_144 {\n margin-left: 4px;\n}\n",""]),t.locals={unit:""+o.locals.unit,loader:"loader_d44",spin:"spin_d9f",pulse:"pulse_757",children:"children_144"},e.exports=t},function(e,t,n){var r=n(146),o=n(169),i=n(49),a=n(40).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t){var n;!function(){var e=Math.PI,t=2*e,n=e/180,r=document.createElement("div");document.head.appendChild(r);var o=self.ConicGradient=function(e){o.all.push(this),e=e||{},this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.repeating=!!e.repeating,this.size=e.size||Math.max(innerWidth,innerHeight),this.canvas.width=this.canvas.height=this.size;var t=e.stops;this.stops=(t||"").split(/\s*,(?![^(]*\))\s*/),this.from=0;for(var n=0;n<this.stops.length;n++)if(this.stops[n]){var r=this.stops[n]=new o.ColorStop(this,this.stops[n]);r.next&&(this.stops.splice(n+1,0,r.next),n++)}else this.stops.splice(n,1),n--;if(0==this.stops[0].color.indexOf("from")&&(this.from=360*this.stops[0].pos,this.stops.shift()),void 0===this.stops[0].pos)this.stops[0].pos=0;else if(this.stops[0].pos>0){var i=this.stops[0].clone();i.pos=0,this.stops.unshift(i)}if(void 0===this.stops[this.stops.length-1].pos)this.stops[this.stops.length-1].pos=1;else if(!this.repeating&&this.stops[this.stops.length-1].pos<1){var a=this.stops[this.stops.length-1].clone();a.pos=1,this.stops.push(a)}if(this.stops.forEach((function(e,t){if(void 0===e.pos){for(var n=t+1;this[n];n++)if(void 0!==this[n].pos){e.pos=this[t-1].pos+(this[n].pos-this[t-1].pos)/(n-t+1);break}}else t>0&&(e.pos=Math.max(e.pos,this[t-1].pos))}),this.stops),this.repeating){var s=(t=this.stops.slice())[t.length-1].pos-t[0].pos;for(n=0;this.stops[this.stops.length-1].pos<1&&n<1e4;n++)for(var l=0;l<t.length;l++){var c=t[l].clone();c.pos+=(n+1)*s,this.stops.push(c)}}this.paint()};o.all=[],o.prototype={toString:function(){return"url('"+this.dataURL+"')"},get dataURL(){return"data:image/svg+xml,"+encodeURIComponent(this.svg)},get blobURL(){return URL.createObjectURL(new Blob([this.svg],{type:"image/svg+xml"}))},get svg(){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none"><svg viewBox="0 0 100 100" preserveAspectRatio="xMidYMid slice"><image width="100" height="100%" xlink:href="'+this.png+'" /></svg></svg>'},get png(){return this.canvas.toDataURL()},get r(){return Math.sqrt(2)*this.size/2},paint:function(){var e,t,r,o=this.context,i=this.r,a=this.size/2,s=0,l=this.stops[s];o.translate(this.size/2,this.size/2),o.rotate(-90*n),o.rotate(this.from*n),o.translate(-this.size/2,-this.size/2);for(var c=0;c<360;){if(c/360+1e-5>=l.pos){do{e=l,s++,l=this.stops[s]}while(l&&l!=e&&l.pos===e.pos);if(!l)break;var u=e.color+""==l.color+""&&e!=l;t=e.color.map((function(e,t){return l.color[t]-e}))}r=(c/360-e.pos)/(l.pos-e.pos);var f=u?l.color:t.map((function(t,n){var o=t*r+e.color[n];return n<3?255&o:o}));if(o.fillStyle="rgba("+f.join(",")+")",o.beginPath(),o.moveTo(a,a),u)var d=360*(l.pos-e.pos);else d=.5;var p=c*n,h=(p=Math.min(360*n,p))+d*n;h=Math.min(360*n,h+.02),o.arc(a,a,i,p,h),o.closePath(),o.fill(),c+=d}}},o.ColorStop=function(e,n){if(this.gradient=e,n){var r=n.match(/^(.+?)(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?\s*$/);if(this.color=o.ColorStop.colorToRGBA(r[1]),r[2]){var i=r[3];"%"==i||"0"===r[2]&&!i?this.pos=r[2]/100:"turn"==i?this.pos=+r[2]:"deg"==i?this.pos=r[2]/360:"grad"==i?this.pos=r[2]/400:"rad"==i&&(this.pos=r[2]/t)}r[4]&&(this.next=new o.ColorStop(e,r[1]+" "+r[4]+r[5]))}},o.ColorStop.prototype={clone:function(){var e=new o.ColorStop(this.gradient);return e.color=this.color,e.pos=this.pos,e},toString:function(){return"rgba("+this.color.join(", ")+") "+100*this.pos+"%"}},o.ColorStop.colorToRGBA=function(e){if(!Array.isArray(e)&&-1==e.indexOf("from")){r.style.color=e;var t=getComputedStyle(r).color.match(/rgba?\(([\d.]+), ([\d.]+), ([\d.]+)(?:, ([\d.]+))?\)/);return t&&(t.shift(),(t=t.map((function(e){return+e})))[3]=isNaN(t[3])?1:t[3]),t||[0,0,0,0]}return e}}(),self.StyleFix&&((n=document.createElement("p")).style.backgroundImage="conic-gradient(white, black)",n.style.backgroundImage=PrefixFree.prefix+"conic-gradient(white, black)",n.style.backgroundImage||StyleFix.register((function(e,t){return e.indexOf("conic-gradient")>-1&&(e=e.replace(/(?:repeating-)?conic-gradient\(\s*((?:\([^()]+\)|[^;()}])+?)\)/g,(function(e,t){return new ConicGradient({stops:t,repeating:e.indexOf("repeating-")>-1})}))),e})))},function(e,t,n){var r=n(20),o=n(27),i=n(223),a=n(22);(t=r(!1)).i(o,"",!0),t.i(i,"",!0),t.i(a),t.push([e.i,".alertContainer_ebe {\n position: fixed;\n z-index: 6;\n z-index: var(--ring-alert-z-index);\n right: 16px;\n bottom: 8px;\n\n display: flex;\n overflow: visible;\n align-items: flex-end;\n flex-direction: column;\n\n pointer-events: none;\n}\n\n.alertInContainer_4dc {\n\n min-width: 240px;\n max-width: 400px;\n margin-top: 0;\n\n box-shadow: 0 2px 8px rgba(0, 42, 76, 0.3);\n}\n",""]),t.locals={unit:""+o.locals.unit,alert:""+i.locals.alert,alertContainer:"alertContainer_ebe",alertInContainer:"alertInContainer_4dc "+i.locals.alert},e.exports=t},function(e,t){
-/**
- * @license AngularJS v1.8.0
- * (c) 2010-2020 Google, Inc. http://angularjs.org
- * License: MIT
- */
-!function(e){"use strict";var t={objectMaxDepth:5,urlErrorParamsEnabled:!0};function n(e){if(!H(e))return t;$(e.objectMaxDepth)&&(t.objectMaxDepth=r(e.objectMaxDepth)?e.objectMaxDepth:NaN),$(e.urlErrorParamsEnabled)&&J(e.urlErrorParamsEnabled)&&(t.urlErrorParamsEnabled=e.urlErrorParamsEnabled)}function r(e){return F(e)&&e>0}function o(e,n){n=n||Error;var r="https://errors.angularjs.org/1.8.0/",o=r.replace(".","\\.")+"[\\s\\S]*",i=new RegExp(o,"g");return function(){var o,a,s=arguments[0],l=arguments[1],c="["+(e?e+":":"")+s+"] ",u=fe(arguments,2).map((function(e){return Be(e,t.objectMaxDepth)}));if(c+=l.replace(/\{\d+\}/g,(function(e){var t=+e.slice(1,-1);return t<u.length?u[t].replace(i,""):e})),c+="\n"+r+(e?e+"/":"")+s,t.urlErrorParamsEnabled)for(a=0,o="?";a<u.length;a++,o="&")c+=o+"p"+a+"="+encodeURIComponent(u[a]);return new n(c)}}var i,a,s,l,c=/^\/(.+)\/([a-z]*)$/,u=Object.prototype.hasOwnProperty,f=function(e){return z(e)?e.toLowerCase():e},d=function(e){return z(e)?e.toUpperCase():e},p=[].slice,h=[].splice,m=[].push,g=Object.prototype.toString,v=Object.getPrototypeOf,y=o("ng"),b=e.angular||(e.angular={}),_=0;function w(e){if(null==e||G(e))return!1;if(U(e)||z(e)||a&&e instanceof a)return!0;var t="length"in Object(e)&&e.length;return F(t)&&(t>=0&&t-1 in e||"function"==typeof e.item)}function x(e,t,n){var r,o;if(e)if(V(e))for(r in e)"prototype"!==r&&"length"!==r&&"name"!==r&&e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else if(U(e)||w(e)){var i="object"!=typeof e;for(r=0,o=e.length;r<o;r++)(i||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==x)e.forEach(t,n,e);else if(N(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)u.call(e,r)&&t.call(n,e[r],r,e);return e}function k(e,t,n){for(var r=Object.keys(e).sort(),o=0;o<r.length;o++)t.call(n,e[r[o]],r[o]);return r}function M(e){return function(t,n){e(n,t)}}function S(){return++_}function O(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function E(e,t,n){for(var r=e.$$hashKey,o=0,i=t.length;o<i;++o){var a=t[o];if(H(a)||V(a))for(var s=Object.keys(a),l=0,c=s.length;l<c;l++){var u=s[l],f=a[u];n&&H(f)?B(f)?e[u]=new Date(f.valueOf()):q(f)?e[u]=new RegExp(f):f.nodeName?e[u]=f.cloneNode(!0):te(f)?e[u]=f.clone():"__proto__"!==u&&(H(e[u])||(e[u]=U(f)?[]:{}),E(e[u],[f],!0)):e[u]=f}}return O(e,r),e}function L(e){return E(e,p.call(arguments,1),!1)}function T(e){return E(e,p.call(arguments,1),!0)}function D(e){return parseInt(e,10)}i=e.document.documentMode;var C=Number.isNaN||function(e){return e!=e};function P(e,t){return L(Object.create(e),t)}function j(){}function Y(e){return e}function A(e){return function(){return e}}function I(e){return V(e.toString)&&e.toString!==g}function R(e){return void 0===e}function $(e){return void 0!==e}function H(e){return null!==e&&"object"==typeof e}function N(e){return null!==e&&"object"==typeof e&&!v(e)}function z(e){return"string"==typeof e}function F(e){return"number"==typeof e}function B(e){return"[object Date]"===g.call(e)}function U(e){return Array.isArray(e)||e instanceof Array}function W(e){switch(g.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}function V(e){return"function"==typeof e}function q(e){return"[object RegExp]"===g.call(e)}function G(e){return e&&e.window===e}function K(e){return e&&e.$evalAsync&&e.$watch}function J(e){return"boolean"==typeof e}function Q(e){return e&&V(e.then)}j.$inject=[],Y.$inject=[];var Z=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;var X=function(e){return z(e)?e.trim():e},ee=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function te(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function ne(e){return f(e.nodeName||e[0]&&e[0].nodeName)}function re(e,t){return-1!==Array.prototype.indexOf.call(e,t)}function oe(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function ie(e,t,n){var o,i=[],a=[];if(n=r(n)?n:NaN,t){if(function(e){return e&&F(e.length)&&Z.test(g.call(e))}(t)||(o=t,"[object ArrayBuffer]"===g.call(o)))throw y("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw y("cpi","Can't copy! Source and destination are identical.");return U(t)?t.length=0:x(t,(function(e,n){"$$hashKey"!==n&&delete t[n]})),i.push(e),a.push(t),s(e,t,n)}return l(e,n);function s(e,t,n){if(--n<0)return"...";var r,o=t.$$hashKey;if(U(e))for(var i=0,a=e.length;i<a;i++)t.push(l(e[i],n));else if(N(e))for(r in e)t[r]=l(e[r],n);else if(e&&"function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&(t[r]=l(e[r],n));else for(r in e)u.call(e,r)&&(t[r]=l(e[r],n));return O(t,o),t}function l(e,t){if(!H(e))return e;var n=i.indexOf(e);if(-1!==n)return a[n];if(G(e)||K(e))throw y("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,o=function(e){switch(g.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(l(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(V(e.cloneNode))return e.cloneNode(!0)}(e);return void 0===o&&(o=U(e)?[]:Object.create(v(e)),r=!0),i.push(e),a.push(o),r?s(e,o,t):o}}function ae(e,t){return e===t||e!=e&&t!=t}function se(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,r,o,i=typeof e;if(i===typeof t&&"object"===i){if(!U(e)){if(B(e))return!!B(t)&&ae(e.getTime(),t.getTime());if(q(e))return!!q(t)&&e.toString()===t.toString();if(K(e)||K(t)||G(e)||G(t)||U(t)||B(t)||q(t))return!1;for(r in o=He(),e)if("$"!==r.charAt(0)&&!V(e[r])){if(!se(e[r],t[r]))return!1;o[r]=!0}for(r in t)if(!(r in o)&&"$"!==r.charAt(0)&&$(t[r])&&!V(t[r]))return!1;return!0}if(!U(t))return!1;if((n=e.length)===t.length){for(r=0;r<n;r++)if(!se(e[r],t[r]))return!1;return!0}}return!1}var le=function(){if(!$(le.rules)){var t=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(t){var n=t.getAttribute("ng-csp")||t.getAttribute("data-ng-csp");le.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else le.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return le.rules},ce=function(){if($(ce.name_))return ce.name_;var t,n,r,o,i=Se.length;for(n=0;n<i;++n)if(r=Se[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){o=t.getAttribute(r+"jq");break}return ce.name_=o};function ue(e,t,n){return e.concat(p.call(t,n))}function fe(e,t){return p.call(e,t||0)}function de(e,t){var n=arguments.length>2?fe(arguments,2):[];return!V(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,ue(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function pe(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:G(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":K(n)&&(r="$SCOPE"),r}function he(e,t){if(!R(e))return F(t)||(t=t?2:null),JSON.stringify(e,pe,t)}function me(e){return z(e)?JSON.parse(e):e}var ge=/:/g;function ve(e,t){e=e.replace(ge,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return C(n)?t:n}function ye(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}function be(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset();return ye(e,n*(ve(t,r)-r))}function _e(e){e=a(e).clone().empty();var t=a("<div></div>").append(e).html();try{return e[0].nodeType===ze?f(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,(function(e,t){return"<"+f(t)}))}catch(e){return f(t)}}function we(e){try{return decodeURIComponent(e)}catch(e){}}function xe(e){var t={};return x((e||"").split("&"),(function(e){var n,r,o;e&&(r=e=e.replace(/\+/g,"%20"),-1!==(n=e.indexOf("="))&&(r=e.substring(0,n),o=e.substring(n+1)),$(r=we(r))&&(o=!$(o)||we(o),u.call(t,r)?U(t[r])?t[r].push(o):t[r]=[t[r],o]:t[r]=o))})),t}function ke(e){return Me(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Me(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}var Se=["ng-","data-ng-","ng:","x-ng-"];var Oe=function(t){var n=t.currentScript;if(!n)return!0;if(!(n instanceof e.HTMLScriptElement||n instanceof e.SVGScriptElement))return!1;var r=n.attributes;return[r.getNamedItem("src"),r.getNamedItem("href"),r.getNamedItem("xlink:href")].every((function(e){if(!e)return!0;if(!e.value)return!1;var n=t.createElement("a");if(n.href=e.value,t.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}))}(e.document);function Ee(t,n){var r,o,i={};if(x(Se,(function(e){var n=e+"app";!r&&t.hasAttribute&&t.hasAttribute(n)&&(r=t,o=t.getAttribute(n))})),x(Se,(function(e){var n,i=e+"app";!r&&(n=t.querySelector("["+i.replace(":","\\:")+"]"))&&(r=n,o=n.getAttribute(i))})),r){if(!Oe)return void e.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");i.strictDi=null!==function(e,t){var n,r,o=Se.length;for(r=0;r<o;++r)if(n=Se[r]+t,z(n=e.getAttribute(n)))return n;return null}(r,"strict-di"),n(r,o?[o]:[],i)}}function Le(t,n,r){H(r)||(r={});r=L({strictDi:!1},r);var o=function(){if((t=a(t)).injector()){var o=t[0]===e.document?"document":_e(t);throw y("btstrpd","App already bootstrapped with this element '{0}'",o.replace(/</,"&lt;").replace(/>/,"&gt;"))}(n=n||[]).unshift(["$provide",function(e){e.value("$rootElement",t)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var i=Qt(n,r.strictDi);return i.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply((function(){t.data("$injector",r),n(t)(e)}))}]),i},i=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(e&&i.test(e.name)&&(r.debugInfoEnabled=!0,e.name=e.name.replace(i,"")),e&&!s.test(e.name))return o();e.name=e.name.replace(s,""),b.resumeBootstrap=function(e){return x(e,(function(e){n.push(e)})),o()},V(b.resumeDeferredBootstrap)&&b.resumeDeferredBootstrap()}function Te(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function De(e){var t=b.element(e).injector();if(!t)throw y("test","no injector found for element argument to getTestability");return t.get("$$testability")}var Ce=/[A-Z]/g;function Pe(e,t){return t=t||"_",e.replace(Ce,(function(e,n){return(n?t:"")+e.toLowerCase()}))}var je=!1;function Ye(){dt.legacyXHTMLReplacement=!0}function Ae(e,t,n){if(!e)throw y("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function Ie(e,t,n){return n&&U(e)&&(e=e[e.length-1]),Ae(V(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function Re(e,t){if("hasOwnProperty"===e)throw y("badname","hasOwnProperty is not a valid {0} name",t)}function $e(e){for(var t,n=e[0],r=e[e.length-1],o=1;n!==r&&(n=n.nextSibling);o++)(t||e[o]!==n)&&(t||(t=a(p.call(e,0,o))),t.push(n));return t||e}function He(){return Object.create(null)}function Ne(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!I(e)||U(e)||B(e)?he(e):e.toString()}return e}var ze=3;function Fe(e,t){if(U(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(H(e))for(var o in t=t||{},e)"$"===o.charAt(0)&&"$"===o.charAt(1)||(t[o]=e[o]);return t||e}function Be(e,t){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):R(e)?"undefined":"string"!=typeof e?function(e,t){var n=[];return r(t)&&(e=b.copy(e,null,t)),JSON.stringify(e,(function(e,t){if(H(t=pe(e,t))){if(n.indexOf(t)>=0)return"...";n.push(t)}return t}))}(e,t):e}var Ue={full:"1.8.0",major:1,minor:8,dot:0,codeName:"nested-vaccination"};dt.expando="ng339";var We=dt.cache={},Ve=1;dt._data=function(e){return this.cache[e[this.expando]]||{}};var qe=/-([a-z])/g,Ge=/^-ms-/,Ke={mouseleave:"mouseout",mouseenter:"mouseover"},Je=o("jqLite");function Qe(e,t){return t.toUpperCase()}function Ze(e){return e.replace(qe,Qe)}var Xe=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,et=/<|&#?\w+;/,tt=/<([\w:-]+)/,nt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,rt={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};rt.tbody=rt.tfoot=rt.colgroup=rt.caption=rt.thead,rt.th=rt.td;var ot={option:[1,'<select multiple="multiple">',"</select>"],_default:[0,"",""]};for(var it in rt){var at=rt[it],st=at.slice().reverse();ot[it]=[st.length,"<"+st.join("><")+">","</"+at.join("></")+">"]}function lt(e){return!et.test(e)}function ct(e){var t=e.nodeType;return 1===t||!t||9===t}function ut(t,n){var r,o,a,s,l,c=n.createDocumentFragment(),u=[];if(lt(t))u.push(n.createTextNode(t));else{if(r=c.appendChild(n.createElement("div")),o=(tt.exec(t)||["",""])[1].toLowerCase(),s=dt.legacyXHTMLReplacement?t.replace(nt,"<$1></$2>"):t,i<10)for(a=ot[o]||ot._default,r.innerHTML=a[1]+s+a[2],l=a[0];l--;)r=r.firstChild;else{for(l=(a=rt[o]||[]).length;--l>-1;)r.appendChild(e.document.createElement(a[l])),r=r.firstChild;r.innerHTML=s}u=ue(u,r.childNodes),(r=c.firstChild).textContent=""}return c.textContent="",c.innerHTML="",x(u,(function(e){c.appendChild(e)})),c}ot.optgroup=ot.option;var ft=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};function dt(t){if(t instanceof dt)return t;var n,r,o,i;if(z(t)&&(t=X(t),n=!0),!(this instanceof dt)){if(n&&"<"!==t.charAt(0))throw Je("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new dt(t)}n?Mt(this,(r=t,o=o||e.document,(i=Xe.exec(r))?[o.createElement(i[1])]:(i=ut(r,o))?i.childNodes:[])):V(t)?Tt(t):Mt(this,t)}function pt(e){return e.cloneNode(!0)}function ht(e,t){!t&&ct(e)&&a.cleanData([e]),e.querySelectorAll&&a.cleanData(e.querySelectorAll("*"))}function mt(e){var t;for(t in e)return!1;return!0}function gt(e){var t=e.ng339,n=t&&We[t],r=n&&n.events,o=n&&n.data;o&&!mt(o)||r&&!mt(r)||(delete We[t],e.ng339=void 0)}function vt(e,t,n,r){if($(r))throw Je("offargs","jqLite#off() does not support the `selector` argument");var o=bt(e),i=o&&o.events,a=o&&o.handle;if(a){if(t){var s=function(t){var r=i[t];$(n)&&oe(r||[],n),$(n)&&r&&r.length>0||(e.removeEventListener(t,a),delete i[t])};x(t.split(" "),(function(e){s(e),Ke[e]&&s(Ke[e])}))}else for(t in i)"$destroy"!==t&&e.removeEventListener(t,a),delete i[t];gt(e)}}function yt(e,t){var n=e.ng339,r=n&&We[n];r&&(t?delete r.data[t]:r.data={},gt(e))}function bt(e,t){var n=e.ng339,r=n&&We[n];return t&&!r&&(e.ng339=n=++Ve,r=We[n]={events:{},data:{},handle:void 0}),r}function _t(e,t,n){if(ct(e)){var r,o=$(n),i=!o&&t&&!H(t),a=!t,s=bt(e,!i),l=s&&s.data;if(o)l[Ze(t)]=n;else{if(a)return l;if(i)return l&&l[Ze(t)];for(r in t)l[Ze(r)]=t[r]}}}function wt(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function xt(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;x(t.split(" "),(function(e){e=X(e),r=r.replace(" "+e+" "," ")})),r!==n&&e.setAttribute("class",X(r))}}function kt(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;x(t.split(" "),(function(e){e=X(e),-1===r.indexOf(" "+e+" ")&&(r+=e+" ")})),r!==n&&e.setAttribute("class",X(r))}}function Mt(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function St(e,t){return Ot(e,"$"+(t||"ngController")+"Controller")}function Ot(e,t,n){9===e.nodeType&&(e=e.documentElement);for(var r=U(t)?t:[t];e;){for(var o=0,i=r.length;o<i;o++)if($(n=a.data(e,r[o])))return n;e=e.parentNode||11===e.nodeType&&e.host}}function Et(e){for(ht(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Lt(e,t){t||ht(e);var n=e.parentNode;n&&n.removeChild(e)}function Tt(t){function n(){e.document.removeEventListener("DOMContentLoaded",n),e.removeEventListener("load",n),t()}"complete"===e.document.readyState?e.setTimeout(t):(e.document.addEventListener("DOMContentLoaded",n),e.addEventListener("load",n))}var Dt=dt.prototype={ready:Tt,toString:function(){var e=[];return x(this,(function(t){e.push(""+t)})),"["+e.join(", ")+"]"},eq:function(e){return a(e>=0?this[e]:this[this.length+e])},length:0,push:m,sort:[].sort,splice:[].splice},Ct={};x("multiple,selected,checked,disabled,readOnly,required,open".split(","),(function(e){Ct[f(e)]=e}));var Pt={};x("input,select,option,textarea,button,form,details".split(","),(function(e){Pt[e]=!0}));var jt={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};function Yt(e,t){var n=Ct[t.toLowerCase()];return n&&Pt[ne(e)]&&n}function At(e,t,n){n.call(e,t)}function It(e,t,n){var r=t.relatedTarget;r&&(r===e||ft.call(e,r))||n.call(e,t)}function Rt(){this.$get=function(){return L(dt,{hasClass:function(e,t){return e.attr&&(e=e[0]),wt(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),kt(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),xt(e,t)}})}}function $t(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"===r||"object"===r&&null!==e?e.$$hashKey=r+":"+(t||S)():r+":"+e}x({data:_t,removeData:yt,hasData:function(e){for(var t in We[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,n=e.length;t<n;t++)yt(e[t]),vt(e[t])}},(function(e,t){dt[t]=e})),x({data:_t,inheritedData:Ot,scope:function(e){return a.data(e,"$scope")||Ot(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return a.data(e,"$isolateScope")||a.data(e,"$isolateScopeNoTemplate")},controller:St,injector:function(e){return Ot(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:wt,css:function(e,t,n){if(t=function(e){return Ze(e.replace(Ge,"ms-"))}(t),!$(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r,o=e.nodeType;if(o!==ze&&2!==o&&8!==o&&e.getAttribute){var i=f(t),a=Ct[i];if(!$(n))return r=e.getAttribute(t),a&&null!==r&&(r=i),null===r?void 0:r;null===n||!1===n&&a?e.removeAttribute(t):e.setAttribute(t,a?i:n)}},prop:function(e,t,n){if(!$(n))return e[t];e[t]=n},text:function(){return e.$dv="",e;function e(e,t){if(R(t)){var n=e.nodeType;return 1===n||n===ze?e.textContent:""}e.textContent=t}}(),val:function(e,t){if(R(t)){if(e.multiple&&"select"===ne(e)){var n=[];return x(e.options,(function(e){e.selected&&n.push(e.value||e.text)})),n}return e.value}e.value=t},html:function(e,t){if(R(t))return e.innerHTML;ht(e,!0),e.innerHTML=t},empty:Et},(function(e,t){dt.prototype[t]=function(t,n){var r,o,i=this.length;if(e!==Et&&R(2===e.length&&e!==wt&&e!==St?t:n)){if(H(t)){for(r=0;r<i;r++)if(e===_t)e(this[r],t);else for(o in t)e(this[r],o,t[o]);return this}for(var a=e.$dv,s=R(a)?Math.min(i,1):i,l=0;l<s;l++){var c=e(this[l],t,n);a=a?a+c:c}return a}for(r=0;r<i;r++)e(this[r],t,n);return this}})),x({removeData:yt,on:function(e,t,n,r){if($(r))throw Je("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ct(e)){var o=bt(e,!0),i=o.events,a=o.handle;a||(a=o.handle=function(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var o=t[r||n.type],i=o?o.length:0;if(i){if(R(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=o.specialHandlerWrapper||At;i>1&&(o=Fe(o));for(var l=0;l<i;l++)n.isImmediatePropagationStopped()||s(e,n,o[l])}};return n.elem=e,n}(e,i));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],l=s.length,c=function(t,r,o){var s=i[t];s||((s=i[t]=[]).specialHandlerWrapper=r,"$destroy"===t||o||e.addEventListener(t,a)),s.push(n)};l--;)t=s[l],Ke[t]?(c(Ke[t],It),c(t,void 0,!0)):c(t)}},off:vt,one:function(e,t,n){(e=a(e)).on(t,(function r(){e.off(t,n),e.off(t,r)})),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;ht(e),x(new dt(t),(function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t}))},children:function(e){var t=[];return x(e.childNodes,(function(e){1===e.nodeType&&t.push(e)})),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(1===n||11===n)for(var r=0,o=(t=new dt(t)).length;r<o;r++){var i=t[r];e.appendChild(i)}},prepend:function(e,t){if(1===e.nodeType){var n=e.firstChild;x(new dt(t),(function(t){e.insertBefore(t,n)}))}},wrap:function(e,t){var n,r,o;n=e,r=a(t).eq(0).clone()[0],(o=n.parentNode)&&o.replaceChild(r,n),r.appendChild(n)},remove:Lt,detach:function(e){Lt(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r)for(var o=0,i=(t=new dt(t)).length;o<i;o++){var a=t[o];r.insertBefore(a,n.nextSibling),n=a}},addClass:kt,removeClass:xt,toggleClass:function(e,t,n){t&&x(t.split(" "),(function(t){var r=n;R(r)&&(r=!wt(e,t)),(r?kt:xt)(e,t)}))},parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:pt,triggerHandler:function(e,t,n){var r,o,i,a=t.type||t,s=bt(e),l=s&&s.events,c=l&&l[a];c&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:j,type:a,target:e},t.type&&(r=L(r,t)),o=Fe(c),i=n?[r].concat(n):[r],x(o,(function(t){r.isImmediatePropagationStopped()||t.apply(e,i)})))}},(function(e,t){dt.prototype[t]=function(t,n,r){for(var o,i=0,s=this.length;i<s;i++)R(o)?$(o=e(this[i],t,n,r))&&(o=a(o)):Mt(o,e(this[i],t,n,r));return $(o)?o:this}})),dt.prototype.bind=dt.prototype.on,dt.prototype.unbind=dt.prototype.off;var Ht=Object.create(null);function Nt(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}Nt.prototype={_idx:function(e){return e!==this._lastKey&&(this._lastKey=e,this._lastIndex=this._keys.indexOf(e)),this._lastIndex},_transformKey:function(e){return C(e)?Ht:e},get:function(e){e=this._transformKey(e);var t=this._idx(e);if(-1!==t)return this._values[t]},has:function(e){return e=this._transformKey(e),-1!==this._idx(e)},set:function(e,t){e=this._transformKey(e);var n=this._idx(e);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=e,this._values[n]=t},delete:function(e){e=this._transformKey(e);var t=this._idx(e);return-1!==t&&(this._keys.splice(t,1),this._values.splice(t,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var zt=Nt,Ft=[function(){this.$get=[function(){return zt}]}],Bt=/^([^(]+?)=>/,Ut=/^[^(]*\(\s*([^)]*)\)/m,Wt=/,/,Vt=/^\s*(_?)(\S+?)\1\s*$/,qt=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Gt=o("$injector");function Kt(e){return Function.prototype.toString.call(e)}function Jt(e){var t=Kt(e).replace(qt,"");return t.match(Bt)||t.match(Ut)}function Qt(e,t){t=!0===t;var n={},r=[],o=new zt,a={$provide:{provider:p(h),factory:p(g),service:p((function(e,t){return g(e,["$injector",function(e){return e.instantiate(t)}])})),value:p((function(e,t){return g(e,A(t),!1)})),constant:p((function(e,t){Re(e,"constant"),a[e]=t,c[e]=t})),decorator:function(e,t){var n=s.get(e+"Provider"),r=n.$get;n.$get=function(){var e=f.invoke(r,n);return f.invoke(t,null,{$delegate:e})}}}},s=a.$injector=y(a,(function(e,t){throw b.isString(t)&&r.push(t),Gt("unpr","Unknown provider: {0}",r.join(" <- "))})),c={},u=y(c,(function(e,t){var n=s.get(e+"Provider",t);return f.invoke(n.$get,n,void 0,e)})),f=u;a.$injectorProvider={$get:A(u)},f.modules=s.modules=He();var d=v(e);return(f=u.get("$injector")).strictDi=t,x(d,(function(e){e&&f.invoke(e)})),f.loadNewModules=function(e){x(v(e),(function(e){e&&f.invoke(e)}))},f;function p(e){return function(t,n){if(!H(t))return e(t,n);x(t,M(e))}}function h(e,t){if(Re(e,"service"),(V(t)||U(t))&&(t=s.instantiate(t)),!t.$get)throw Gt("pget","Provider '{0}' must define $get factory method.",e);return a[e+"Provider"]=t}function m(e,t){return function(){var n=f.invoke(t,this);if(R(n))throw Gt("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function g(e,t,n){return h(e,{$get:!1!==n?m(e,t):t})}function v(e){Ae(R(e)||U(e),"modulesToLoad","not an array");var t,n=[];return x(e,(function(e){if(!o.get(e)){o.set(e,!0);try{z(e)?(t=l(e),f.modules[e]=t,n=n.concat(v(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):V(e)||U(e)?n.push(s.invoke(e)):Ie(e,"module")}catch(t){throw U(e)&&(e=e[e.length-1]),t.message&&t.stack&&-1===t.stack.indexOf(t.message)&&(t=t.message+"\n"+t.stack),Gt("modulerr","Failed to instantiate module {0} due to:\n{1}",e,t.stack||t.message||t)}}function r(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],o=s.get(r[0]);o[r[1]].apply(o,r[2])}}})),n}function y(e,o){function s(t,i){if(e.hasOwnProperty(t)){if(e[t]===n)throw Gt("cdep","Circular dependency found: {0}",t+" <- "+r.join(" <- "));return e[t]}try{return r.unshift(t),e[t]=n,e[t]=o(t,i),e[t]}catch(r){throw e[t]===n&&delete e[t],r}finally{r.shift()}}function l(e,n,r){for(var o=[],i=Qt.$$annotate(e,t,r),a=0,l=i.length;a<l;a++){var c=i[a];if("string"!=typeof c)throw Gt("itkn","Incorrect injection token! Expected service name as string, got {0}",c);o.push(n&&n.hasOwnProperty(c)?n[c]:s(c,r))}return o}return{invoke:function(e,t,n,r){"string"==typeof n&&(r=n,n=null);var o=l(e,n,r);return U(e)&&(e=e[e.length-1]),function(e){if(i||"function"!=typeof e)return!1;var t=e.$$ngIsClass;return J(t)||(t=e.$$ngIsClass=/^class\b/.test(Kt(e))),t}(e)?(o.unshift(null),new(Function.prototype.bind.apply(e,o))):e.apply(t,o)},instantiate:function(e,t,n){var r=U(e)?e[e.length-1]:e,o=l(e,t,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))},get:s,annotate:Qt.$$annotate,has:function(t){return a.hasOwnProperty(t+"Provider")||e.hasOwnProperty(t)}}}}function Zt(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(n,r,o){var i=n.document;function s(e){if(e){e.scrollIntoView();var t=function(){var e=l.yOffset;if(V(e))e=e();else if(te(e)){var t=e[0];e="fixed"!==n.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom}else F(e)||(e=0);return e}();if(t){var r=e.getBoundingClientRect().top;n.scrollBy(0,r-t)}}else n.scrollTo(0,0)}function l(e){var t,n,o;(e=z(e)?e:F(e)?e.toString():r.hash())?(t=i.getElementById(e))?s(t):(n=i.getElementsByName(e),o=null,Array.prototype.some.call(n,(function(e){if("a"===ne(e))return o=e,!0})),(t=o)?s(t):"top"===e&&s(null)):s(null)}return t&&o.$watch((function(){return r.hash()}),(function(t,n){var r,i;t===n&&""===t||(r=function(){o.$evalAsync(l)},"complete"===(i=i||e).document.readyState?i.setTimeout(r):a(i).on("load",r))})),l}]}Qt.$$annotate=function(e,t,n){var r,o;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw z(n)&&n||(n=e.name||function(e){var t=Jt(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(e)),Gt("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);x(Jt(e)[1].split(Wt),(function(e){e.replace(Vt,(function(e,t,n){r.push(n)}))}))}e.$inject=r}}else U(e)?(Ie(e[o=e.length-1],"fn"),r=e.slice(0,o)):Ie(e,"fn",!0);return r};var Xt=o("$animate");function en(e,t){return e||t?e?t?(U(e)&&(e=e.join(" ")),U(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function tn(e){return H(e)?e:{}}var nn=function(){this.$get=j},rn=function(){var e=new zt,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){return{enabled:j,on:j,off:j,pin:j,push:function(a,s,l,c){c&&c(),(l=l||{}).from&&a.css(l.from),l.to&&a.css(l.to),(l.addClass||l.removeClass)&&function(n,a,s){var l=e.get(n)||{},c=o(l,a,!0),u=o(l,s,!1);(c||u)&&(e.set(n,l),t.push(n),1===t.length&&r.$$postDigest(i))}(a,l.addClass,l.removeClass);var u=new n;return u.complete(),u}};function o(e,t,n){var r=!1;return t&&x(t=z(t)?t.split(" "):U(t)?t:[],(function(t){t&&(r=!0,e[t]=n)})),r}function i(){x(t,(function(t){var n=e.get(t);if(n){var r=function(e){z(e)&&(e=e.split(" "));var t=He();return x(e,(function(e){e.length&&(t[e]=!0)})),t}(t.attr("class")),o="",i="";x(n,(function(e,t){e!==!!r[t]&&(e?o+=(o.length?" ":"")+t:i+=(i.length?" ":"")+t)})),x(t,(function(e){o&&kt(e,o),i&&xt(e,i)})),e.delete(t)}})),t.length=0}}]},on=["$provide",function(e){var t=this,n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Xt("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var o=n+"-animation";t.$$registeredAnimations[n.substr(1)]=o,e.factory(o,r)},this.customFilter=function(e){return 1===arguments.length&&(r=V(e)?e:null),r},this.classNameFilter=function(e){if(1===arguments.length&&(n=e instanceof RegExp?e:null)){var t=new RegExp("[(\\s|\\/)]ng-animate[(\\s|\\/)]");if(t.test(n.toString()))throw n=null,Xt("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',"ng-animate")}return n},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(1===n.nodeType)return n}}(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.cancel&&e.cancel()},enter:function(n,r,o,i){return r=r&&a(r),o=o&&a(o),t(n,r=r||o.parent(),o),e.push(n,"enter",tn(i))},move:function(n,r,o,i){return r=r&&a(r),o=o&&a(o),t(n,r=r||o.parent(),o),e.push(n,"move",tn(i))},leave:function(t,n){return e.push(t,"leave",tn(n),(function(){t.remove()}))},addClass:function(t,n,r){return(r=tn(r)).addClass=en(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return(r=tn(r)).removeClass=en(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,o){return(o=tn(o)).addClass=en(o.addClass,n),o.removeClass=en(o.removeClass,r),e.push(t,"setClass",o)},animate:function(t,n,r,o,i){return(i=tn(i)).from=i.from?L(i.from,n):n,i.to=i.to?L(i.to,r):r,o=o||"ng-inline-animate",i.tempClasses=en(i.tempClasses,o),e.push(t,"animate",i)}}}]}],an=function(){this.$get=["$$rAF",function(e){var t=[];function n(n){t.push(n),t.length>1||e((function(){for(var e=0;e<t.length;e++)t[e]();t=[]}))}return function(){var e=!1;return n((function(){e=!0})),function(t){e?t():n(t)}}}]},sn=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,r,o){function i(e){this.setHost(e);var t=n();this._doneCallbacks=[],this._tick=function(e){r()?function(e){o(e,0,!1)}(e):t(e)},this._state=0}return i.chain=function(e,t){var n=0;!function r(){if(n===e.length)return void t(!0);e[n]((function(e){!1!==e?(n++,r()):t(!1)}))}()},i.all=function(e,t){var n=0,r=!0;function o(o){r=r&&o,++n===e.length&&t(r)}x(e,(function(e){e.done(o)}))},i.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:j,getPromise:function(){if(!this.promise){var t=this;this.promise=e((function(e,n){t.done((function(t){!1===t?n():e()}))}))}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick((function(){t._resolve(e)})))},_resolve:function(e){2!==this._state&&(x(this._doneCallbacks,(function(t){t(e)})),this._doneCallbacks.length=0,this._state=2)}},i}]},ln=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){var o=r||{};o.$$prepared||(o=ie(o)),o.cleanupStyles&&(o.from=o.to=null),o.from&&(t.css(o.from),o.from=null);var i,a=new n;return{start:s,end:s};function s(){return e((function(){!function(){o.addClass&&(t.addClass(o.addClass),o.addClass=null);o.removeClass&&(t.removeClass(o.removeClass),o.removeClass=null);o.to&&(t.css(o.to),o.to=null)}(),i||a.complete(),i=!0})),a}}}]};function cn(e,t,n,r,o){var i=this,s=e.location,l=e.history,c=e.setTimeout,u=e.clearTimeout,f={},d=o(n);i.isMock=!1,i.$$completeOutstandingRequest=d.completeTask,i.$$incOutstandingRequestCount=d.incTaskCount,i.notifyWhenNoOutstandingRequests=d.notifyWhenNoPendingTasks;var p,h,m=s.href,g=t.find("base"),v=null,y=r.history?function(){try{return l.state}catch(e){}}:j;M(),i.url=function(t,n,o){if(R(o)&&(o=null),s!==e.location&&(s=e.location),l!==e.history&&(l=e.history),t){var a=h===o;if(t=lo(t).href,m===t&&(!r.history||a))return i;var c=m&&sr(m)===sr(t);return m=t,h=o,!r.history||c&&a?(c||(v=t),n?s.replace(t):c?s.hash=function(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}(t):s.href=t,s.href!==t&&(v=t)):(l[n?"replaceState":"pushState"](o,"",t),M()),v&&(v=t),i}return function(e){return e.replace(/#$/,"")}(v||s.href)},i.state=function(){return p};var b=[],_=!1;function w(){v=null,S()}var k=null;function M(){se(p=R(p=y())?null:p,k)&&(p=k),k=p,h=p}function S(){var e=h;M(),m===i.url()&&e===p||(m=i.url(),h=p,x(b,(function(e){e(i.url(),p)})))}i.onUrlChange=function(t){return _||(r.history&&a(e).on("popstate",w),a(e).on("hashchange",w),_=!0),b.push(t),t},i.$$applicationDestroyed=function(){a(e).off("hashchange popstate",w)},i.$$checkUrlChange=S,i.baseHref=function(){var e=g.attr("href");return e?e.replace(/^(https?:)?\/\/[^/]*/,""):""},i.defer=function(e,t,n){var r;return t=t||0,n=n||d.DEFAULT_TASK_TYPE,d.incTaskCount(n),r=c((function(){delete f[r],d.completeTask(e,n)}),t),f[r]=n,r},i.defer.cancel=function(e){if(f.hasOwnProperty(e)){var t=f[e];return delete f[e],u(e),d.completeTask(j,t),!0}return!1}}function un(){this.$get=["$window","$log","$sniffer","$document","$$taskTrackerFactory",function(e,t,n,r,o){return new cn(e,r,t,n,o)}]}function fn(){this.$get=function(){var e={};function t(t,n){if(t in e)throw o("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var r=0,i=L({},n,{id:t}),a=He(),s=n&&n.capacity||Number.MAX_VALUE,l=He(),c=null,u=null;return e[t]={put:function(e,t){if(!R(t)){if(s<Number.MAX_VALUE)f(l[e]||(l[e]={key:e}));return e in a||r++,a[e]=t,r>s&&this.remove(u.key),t}},get:function(e){if(s<Number.MAX_VALUE){var t=l[e];if(!t)return;f(t)}return a[e]},remove:function(e){if(s<Number.MAX_VALUE){var t=l[e];if(!t)return;t===c&&(c=t.p),t===u&&(u=t.n),d(t.n,t.p),delete l[e]}e in a&&(delete a[e],r--)},removeAll:function(){a=He(),r=0,l=He(),c=u=null},destroy:function(){a=null,i=null,l=null,delete e[t]},info:function(){return L({},i,{size:r})}};function f(e){e!==c&&(u?u===e&&(u=e.n):u=e,d(e.n,e.p),d(e,c),(c=e).n=null)}function d(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}}return t.info=function(){var t={};return x(e,(function(e,n){t[n]=e.info()})),t},t.get=function(t){return e[t]},t}}function dn(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var pn=o("$compile");var hn=new function(){};function mn(t,n){var r={},o=/^\s*directive:\s*([\w-]+)\s+(.*)$/,s=/(([\w-]+)(?::([^;]+))?;?)/,l=function(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}("ngSrc,ngSrcset,src,srcset"),c=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,d=/^(on[a-z]+|formaction)$/,p=He();function h(e,t,n){var r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,o=He();return x(e,(function(e,i){if((e=e.trim())in p)o[i]=p[e];else{var a=e.match(r);if(!a)throw pn("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,i,e,n?"controller bindings definition":"isolate scope definition");o[i]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||i},a[4]&&(p[e]=o[i])}})),o}function m(e,t){var n={isolateScope:null,bindToController:null};if(H(e.scope)&&(!0===e.bindToController?(n.bindToController=h(e.scope,t,!0),n.isolateScope={}):n.isolateScope=h(e.scope,t,!1)),H(e.bindToController)&&(n.bindToController=h(e.bindToController,t,!0)),n.bindToController&&!e.controller)throw pn("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}this.directive=function e(n,o){return Ae(n,"name"),Re(n,"directive"),z(n)?(!function(e){var t=e.charAt(0);if(!t||t!==f(t))throw pn("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw pn("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}(n),Ae(o,"directiveFactory"),r.hasOwnProperty(n)||(r[n]=[],t.factory(n+"Directive",["$injector","$exceptionHandler",function(e,t){var o=[];return x(r[n],(function(r,i){try{var a=e.invoke(r);V(a)?a={compile:A(a)}:!a.compile&&a.link&&(a.compile=A(a.link)),a.priority=a.priority||0,a.index=i,a.name=a.name||n,a.require=function(e){var t=e.require||e.controller&&e.name;return!U(t)&&H(t)&&x(t,(function(e,n){var r=e.match(c);e.substring(r[0].length)||(t[n]=r[0]+n)})),t}(a),a.restrict=function(e,t){if(e&&(!z(e)||!/[EACM]/.test(e)))throw pn("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t);return e||"EA"}(a.restrict,n),a.$$moduleName=r.$$moduleName,o.push(a)}catch(e){t(e)}})),o}])),r[n].push(o)):x(n,M(e)),this},this.component=function e(t,n){if(!z(t))return x(t,M(de(this,e))),this;var r=n.controller||function(){};function o(e){function t(t){return V(t)||U(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var o=n.template||n.templateUrl?n.template:"",i={controller:r,controllerAs:Mn(n.controller)||n.controllerAs||"$ctrl",template:t(o),templateUrl:t(n.templateUrl),transclude:n.transclude,scope:{},bindToController:n.bindings||{},restrict:"E",require:n.require};return x(n,(function(e,t){"$"===t.charAt(0)&&(i[t]=e)})),i}return x(n,(function(e,t){"$"===t.charAt(0)&&(o[t]=e,V(r)&&(r[t]=e))})),o.$inject=["$injector"],this.directive(t,o)},this.aHrefSanitizationWhitelist=function(e){return $(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var v=!0;this.debugInfoEnabled=function(e){return $(e)?(v=e,this):v};var y=!1;this.strictComponentBindingsEnabled=function(e){return $(e)?(y=e,this):y};var b=10;this.onChangesTtl=function(e){return arguments.length?(b=e,this):b};var _=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(_=e,this):_};var w=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(w=e,this):w};var k=He();this.addPropertySecurityContext=function(e,t,n){var r=e.toLowerCase()+"|"+t.toLowerCase();if(r in k&&k[r]!==n)throw pn("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",e,t,k[r],n);return k[r]=n,this},function(){function e(e,t){x(t,(function(t){k[t.toLowerCase()]=e}))}e(Ur.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),e(Ur.CSS,["*|style"]),e(Ur.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),e(Ur.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),e(Ur.RESOURCE_URL,["*|formAction","applet|code","applet|codebase","base|href","embed|src","frame|src","form|action","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])}(),this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(t,n,p,h,M,S,O,E,T){var D,C=/^\w/,A=e.document.createElement("div"),I=_,$=w,N=b;function F(){try{if(!--N)throw D=void 0,pn("infchng","{0} $onChanges() iterations reached. Aborting!\n",b);O.$apply((function(){for(var e=0,t=D.length;e<t;++e)try{D[e]()}catch(e){p(e)}D=void 0}))}finally{N++}}function B(e,t){if(!e)return e;if(!z(e))throw pn("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',t,e.toString());for(var n="",r=X(e),o=/\s/.test(r)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,i=r.split(o),a=Math.floor(i.length/2),s=0;s<a;s++){var l=2*s;n+=E.getTrustedMediaUrl(X(i[l])),n+=" "+X(i[l+1])}var c=X(i[2*s]).split(/\s/);return n+=E.getTrustedMediaUrl(X(c[0])),2===c.length&&(n+=" "+X(c[1])),n}function q(e,t){if(t){var n,r,o,i=Object.keys(t);for(n=0,r=i.length;n<r;n++)this[o=i[n]]=t[o]}else this.$attr={};this.$$element=e}function G(e,t){try{e.addClass(t)}catch(e){}}q.prototype={$normalize:bn,$addClass:function(e){e&&e.length>0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=_n(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=_n(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,r){var o=Yt(this.$$element[0],e),i=function(e){return jt[e]}(e),a=e;o?(this.$$element.prop(e,t),r=o):i&&(this[i]=t,a=i),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e])||(this.$attr[e]=r=Pe(e,"-")),"img"===ne(this.$$element)&&"srcset"===e&&(this[e]=t=B(t,"$set('srcset', value)")),!1!==n&&(null===t||R(t)?this.$$element.removeAttr(r):C.test(r)?o&&!1===t?this.$$element.removeAttr(r):this.$$element.attr(r,t):function(e,t,n){A.innerHTML="<span "+t+">";var r=A.firstChild.attributes,o=r[0];r.removeNamedItem(o.name),o.value=n,e.attributes.setNamedItem(o)}(this.$$element[0],r,t));var s=this.$$observers;s&&x(s[a],(function(e){try{e(t)}catch(e){p(e)}}))},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=He()),o=r[e]||(r[e]=[]);return o.push(t),O.$evalAsync((function(){o.$$inter||!n.hasOwnProperty(e)||R(n[e])||t(n[e])})),function(){oe(o,t)}}};var Q=n.startSymbol(),Z=n.endSymbol(),ee="{{"===Q&&"}}"===Z?Y:function(e){return e.replace(/\{\{/g,Q).replace(/}}/g,Z)},te=/^ng(Attr|Prop|On)([A-Z].*)$/,re=/^(.+)Start$/;return ie.$$addBindingInfo=v?function(e,t){var n=e.data("$binding")||[];U(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:j,ie.$$addBindingClass=v?function(e){G(e,"ng-binding")}:j,ie.$$addScopeInfo=v?function(e,t,n,r){var o=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(o,t)}:j,ie.$$addScopeClass=v?function(e,t){G(e,t?"ng-isolate-scope":"ng-scope")}:j,ie.$$createComment=function(t,n){var r="";return v&&(r=" "+(t||"")+": ",n&&(r+=n+" ")),e.document.createComment(r)},ie;function ie(e,t,n,r,o){e instanceof a||(e=a(e));var i=le(e,t,e,n,r,o);ie.$$addScopeClass(e);var s=null;return function(t,n,r){if(!e)throw pn("multilink","This element has already been linked.");Ae(t,"scope"),o&&o.needsNewScope&&(t=t.$parent.$new());var l,c,u,f=(r=r||{}).parentBoundTranscludeFn,d=r.transcludeControllers,p=r.futureParentElement;if(f&&f.$$boundTransclude&&(f=f.$$boundTransclude),s||(c=(l=p)&&l[0],s=c&&"foreignobject"!==ne(c)&&g.call(c).match(/SVG/)?"svg":"html"),u="html"!==s?a(Ee(s,a("<div></div>").append(e).html())):n?Dt.clone.call(e):e,d)for(var h in d)u.data("$"+h+"Controller",d[h].instance);return ie.$$addScopeInfo(u,t),n&&n(u,t),i&&i(t,u,u,f),n||(e=i=null),u}}function le(e,t,n,r,o,s){for(var l,c,u,f,d,p,h,m=[],g=U(e)||e instanceof a,v=0;v<e.length;v++)l=new q,11===i&&ce(e,v,g),(u=(c=pe(e[v],[],l,0===v?r:void 0,o)).length?ve(c,e[v],l,t,n,null,[],[],s):null)&&u.scope&&ie.$$addScopeClass(l.$$element),d=u&&u.terminal||!(f=e[v].childNodes)||!f.length?null:le(f,u?(u.transcludeOnThisElement||!u.templateOnThisElement)&&u.transclude:t),(u||d)&&(m.push(v,u,d),p=!0,h=h||u),s=null;return p?function(e,n,r,o){var i,s,l,c,u,f,d,p,g;if(h){var v=n.length;for(g=new Array(v),u=0;u<m.length;u+=3)d=m[u],g[d]=n[d]}else g=n;for(u=0,f=m.length;u<f;)l=g[m[u++]],i=m[u++],s=m[u++],i?(i.scope?(c=e.$new(),ie.$$addScopeInfo(a(l),c)):c=e,p=i.transcludeOnThisElement?ue(e,i.transclude,o):!i.templateOnThisElement&&o?o:!o&&t?ue(e,t):null,i(s,c,l,r,p)):s&&s(e,l.childNodes,void 0,o)}:null}function ce(e,t,n){var r,o=e[t],i=o.parentNode;if(o.nodeType===ze)for(;(r=i?o.nextSibling:e[t+1])&&r.nodeType===ze;)o.nodeValue=o.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===e[t+1]&&e.splice(t+1,1)}function ue(e,t,n){function r(r,o,i,a,s){return r||((r=e.$new(!1,s)).$$transcluded=!0),t(r,o,{parentBoundTranscludeFn:n,transcludeControllers:i,futureParentElement:a})}var o=r.$$slots=He();for(var i in t.$$slots)t.$$slots[i]?o[i]=ue(e,t.$$slots[i],n):o[i]=null;return r}function pe(e,t,r,i,a){var l,c,u,f=e.nodeType,d=r.$attr;switch(f){case 1:we(t,bn(c=ne(e)),"E",i,a);for(var p,h,m,g,v,y=e.attributes,b=0,_=y&&y.length;b<_;b++){var w,x=!1,k=!1,M=!1,S=!1,O=!1;h=(p=y[b]).name,g=p.value,(v=(m=bn(h.toLowerCase())).match(te))?(M="Attr"===v[1],S="Prop"===v[1],O="On"===v[1],h=h.replace(vn,"").toLowerCase().substr(4+v[1].length).replace(/_(.)/g,(function(e,t){return t.toUpperCase()}))):(w=m.match(re))&&xe(w[1])&&(x=h,k=h.substr(0,h.length-5)+"end",h=h.substr(0,h.length-6)),S||O?(r[m]=g,d[m]=p.name,S?Te(e,t,m,h):De(t,m,h)):(d[m=bn(h.toLowerCase())]=h,!M&&r.hasOwnProperty(m)||(r[m]=g,Yt(e,m)&&(r[m]=!0)),Ce(e,t,g,m,M),we(t,m,"A",i,a,x,k))}if("input"===c&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!$)break;if(H(u=e.className)&&(u=u.animVal),z(u)&&""!==u)for(;l=s.exec(u);)we(t,m=bn(l[2]),"C",i,a)&&(r[m]=X(l[3])),u=u.substr(l.index+l[0].length);break;case ze:!function(e,t){var r=n(t,!0);r&&e.push({priority:0,compile:function(e){var t=e.parent(),n=!!t.length;return n&&ie.$$addBindingClass(t),function(e,t){var o=t.parent();n||ie.$$addBindingClass(o),ie.$$addBindingInfo(o,r.expressions),e.$watch(r,(function(e){t[0].nodeValue=e}))}}})}(t,e.nodeValue);break;case 8:if(!I)break;!function(e,t,n,r,i){try{var a=o.exec(e.nodeValue);if(a){var s=bn(a[1]);we(t,s,"M",r,i)&&(n[s]=X(a[2]))}}catch(e){}}(e,t,r,i,a)}return t.sort(Se),t}function he(e,t,n){var r=[],o=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw pn("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);1===e.nodeType&&(e.hasAttribute(t)&&o++,e.hasAttribute(n)&&o--),r.push(e),e=e.nextSibling}while(o>0);else r.push(e);return a(r)}function me(e,t,n){return function(r,o,i,a,s){return o=he(o[0],t,n),e(r,o,i,a,s)}}function ge(e,t,n,r,o,i){var a;return e?ie(t,n,r,o,i):function(){return a||(a=ie(t,n,r,o,i),t=n=i=null),a.apply(this,arguments)}}function ve(t,n,r,o,i,s,l,c,u){u=u||{};for(var f,d,h,m,g,v=-Number.MAX_VALUE,y=u.newScopeDirective,b=u.controllerDirectives,_=u.newIsolateScopeDirective,w=u.templateDirective,k=u.nonTlbTranscludeDirective,M=!1,O=!1,E=u.hasElementTranscludeDirective,T=r.$$element=a(n),D=s,C=o,P=!1,j=!1,Y=0,A=t.length;Y<A;Y++){var I=(f=t[Y]).$$start,$=f.$$end;if(I&&(T=he(n,I,$)),h=void 0,v>f.priority)break;if((g=f.scope)&&(f.templateUrl||(H(g)?(Oe("new/isolated scope",_||y,f,T),_=f):Oe("new/isolated scope",_,f,T)),y=y||f),d=f.name,!P&&(f.replace&&(f.templateUrl||f.template)||f.transclude&&!f.$$tlb)){for(var N,z=Y+1;N=t[z++];)if(N.transclude&&!N.$$tlb||N.replace&&(N.templateUrl||N.template)){j=!0;break}P=!0}if(!f.templateUrl&&f.controller&&(b=b||He(),Oe("'"+d+"' controller",b[d],f,T),b[d]=f),g=f.transclude)if(M=!0,f.$$tlb||(Oe("transclusion",k,f,T),k=f),"element"===g)E=!0,v=f.priority,h=T,T=r.$$element=a(ie.$$createComment(d,r[d])),n=T[0],je(i,fe(h),n),C=ge(j,h,o,v,D&&D.name,{nonTlbTranscludeDirective:k});else{var F=He();if(H(g)){h=e.document.createDocumentFragment();var B=He(),W=He();for(var G in x(g,(function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,B[e]=t,F[t]=null,W[t]=n})),x(T.contents(),(function(t){var n=B[bn(ne(t))];n?(W[n]=!0,F[n]=F[n]||e.document.createDocumentFragment(),F[n].appendChild(t)):h.appendChild(t)})),x(W,(function(e,t){if(!e)throw pn("reqslot","Required transclusion slot `{0}` was not filled.",t)})),F)if(F[G]){var J=a(F[G].childNodes);F[G]=ge(j,J,o)}h=a(h.childNodes)}else h=a(pt(n)).contents();T.empty(),(C=ge(j,h,o,void 0,void 0,{needsNewScope:f.$$isolateScope||f.$$newScope})).$$slots=F}if(f.template)if(O=!0,Oe("template",w,f,T),w=f,g=V(f.template)?f.template(T,r):f.template,g=ee(g),f.replace){if(D=f,h=lt(g)?[]:wn(Ee(f.templateNamespace,X(g))),n=h[0],1!==h.length||1!==n.nodeType)throw pn("tplrt","Template for directive '{0}' must have exactly one root element. {1}",d,"");je(i,T,n);var Q={$attr:{}},Z=pe(n,[],Q),te=t.splice(Y+1,t.length-(Y+1));(_||y)&&be(Z,_,y),t=t.concat(Z).concat(te),ke(r,Q),A=t.length}else T.html(g);if(f.templateUrl)O=!0,Oe("template",w,f,T),w=f,f.replace&&(D=f),ae=Me(t.splice(Y,t.length-Y),T,r,i,M&&C,l,c,{controllerDirectives:b,newScopeDirective:y!==f&&y,newIsolateScopeDirective:_,templateDirective:w,nonTlbTranscludeDirective:k}),A=t.length;else if(f.compile)try{m=f.compile(T,r,C);var re=f.$$originalDirective||f;V(m)?oe(null,de(re,m),I,$):m&&oe(de(re,m.pre),de(re,m.post),I,$)}catch(e){p(e,_e(T))}f.terminal&&(ae.terminal=!0,v=Math.max(v,f.priority))}return ae.scope=y&&!0===y.scope,ae.transcludeOnThisElement=M,ae.templateOnThisElement=O,ae.transclude=C,u.hasElementTranscludeDirective=E,ae;function oe(e,t,n,r){e&&(n&&(e=me(e,n,r)),e.require=f.require,e.directiveName=d,(_===f||f.$$isolateScope)&&(e=Ye(e,{isolateScope:!0})),l.push(e)),t&&(n&&(t=me(t,n,r)),t.require=f.require,t.directiveName=d,(_===f||f.$$isolateScope)&&(t=Ye(t,{isolateScope:!0})),c.push(t))}function ae(e,t,o,i,s){var u,f,d,h,m,g,v,k,M,O;for(var T in n===o?(M=r,k=r.$$element):M=new q(k=a(o),r),m=t,_?h=t.$new(!0):y&&(m=t.$parent),s&&((v=function(e,t,n,r){var o;K(e)||(r=n,n=t,t=e,e=void 0);E&&(o=g);n||(n=E?k.parent():k);if(!r)return s(e,t,o,n,j);var i=s.$$slots[r];if(i)return i(e,t,o,n,j);if(R(i))throw pn("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,_e(k))}).$$boundTransclude=s,v.isSlotFilled=function(e){return!!s.$$slots[e]}),b&&(g=function(e,t,n,r,o,i,a){var s=He();for(var l in r){var c=r[l],u={$scope:c===a||c.$$isolateScope?o:i,$element:e,$attrs:t,$transclude:n},f=c.controller;"@"===f&&(f=t[c.name]);var d=S(f,u,!0,c.controllerAs);s[c.name]=d,e.data("$"+c.name+"Controller",d.instance)}return s}(k,M,v,b,h,t,_)),_&&(ie.$$addScopeInfo(k,h,!0,!(w&&(w===_||w===_.$$originalDirective))),ie.$$addScopeClass(k,!0),h.$$isolateBindings=_.$$isolateBindings,(O=$e(t,M,h,h.$$isolateBindings,_)).removeWatches&&h.$on("$destroy",O.removeWatches)),g){var D=b[T],C=g[T],P=D.$$bindings.bindToController;C.instance=C(),k.data("$"+D.name+"Controller",C.instance),C.bindingInfo=$e(m,M,C.instance,P,D)}for(x(b,(function(e,t){var n=e.require;e.bindToController&&!U(n)&&H(n)&&L(g[t].instance,ye(t,n,k,g))})),x(g,(function(e){var t=e.instance;if(V(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){p(e)}if(V(t.$onInit))try{t.$onInit()}catch(e){p(e)}V(t.$doCheck)&&(m.$watch((function(){t.$doCheck()})),t.$doCheck()),V(t.$onDestroy)&&m.$on("$destroy",(function(){t.$onDestroy()}))})),u=0,f=l.length;u<f;u++)Ie(d=l[u],d.isolateScope?h:t,k,M,d.require&&ye(d.directiveName,d.require,k,g),v);var j=t;for(_&&(_.template||null===_.templateUrl)&&(j=h),e&&e(j,o.childNodes,void 0,s),u=c.length-1;u>=0;u--)Ie(d=c[u],d.isolateScope?h:t,k,M,d.require&&ye(d.directiveName,d.require,k,g),v);x(g,(function(e){var t=e.instance;V(t.$postLink)&&t.$postLink()}))}}function ye(e,t,n,r){var o;if(z(t)){var i=t.match(c),a=t.substring(i[0].length),s=i[1]||i[3],l="?"===i[2];if("^^"===s?n=n.parent():o=(o=r&&r[a])&&o.instance,!o){var u="$"+a+"Controller";o="^^"===s&&n[0]&&9===n[0].nodeType?null:s?n.inheritedData(u):n.data(u)}if(!o&&!l)throw pn("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,e)}else if(U(t)){o=[];for(var f=0,d=t.length;f<d;f++)o[f]=ye(e,t[f],n,r)}else H(t)&&(o={},x(t,(function(t,i){o[i]=ye(e,t,n,r)})));return o||null}function be(e,t,n){for(var r=0,o=e.length;r<o;r++)e[r]=P(e[r],{$$isolateScope:t,$$newScope:n})}function we(e,n,o,i,a,s,l){if(n===a)return null;var c=null;if(r.hasOwnProperty(n))for(var u,f=t.get(n+"Directive"),d=0,p=f.length;d<p;d++)if(u=f[d],(R(i)||i>u.priority)&&-1!==u.restrict.indexOf(o)){if(s&&(u=P(u,{$$start:s,$$end:l})),!u.$$bindings){var h=u.$$bindings=m(u,u.name);H(h.isolateScope)&&(u.$$isolateBindings=h.isolateScope)}e.push(u),c=u}return c}function xe(e){if(r.hasOwnProperty(e))for(var n=t.get(e+"Directive"),o=0,i=n.length;o<i;o++)if(n[o].multiElement)return!0;return!1}function ke(e,t){var n=t.$attr,r=e.$attr;x(e,(function(r,o){"$"!==o.charAt(0)&&(t[o]&&t[o]!==r&&(r.length?r+=("style"===o?";":" ")+t[o]:r=t[o]),e.$set(o,r,!0,n[o]))})),x(t,(function(t,o){e.hasOwnProperty(o)||"$"===o.charAt(0)||(e[o]=t,"class"!==o&&"style"!==o&&(r[o]=n[o]))}))}function Me(e,t,n,r,o,i,s,l){var c,u,f=[],d=t[0],m=e.shift(),g=P(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),v=V(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,y=m.templateNamespace;return t.empty(),h(v).then((function(p){var h,b,_,w;if(p=ee(p),m.replace){if(_=lt(p)?[]:wn(Ee(y,X(p))),h=_[0],1!==_.length||1!==h.nodeType)throw pn("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,v);b={$attr:{}},je(r,t,h);var k=pe(h,[],b);H(m.scope)&&be(k,!0),e=k.concat(e),ke(n,b)}else h=d,t.html(p);for(e.unshift(g),c=ve(e,h,n,o,t,m,i,s,l),x(r,(function(e,n){e===h&&(r[n]=t[0])})),u=le(t[0].childNodes,o);f.length;){var M=f.shift(),S=f.shift(),O=f.shift(),E=f.shift(),L=t[0];if(!M.$$destroyed){if(S!==d){var T=S.className;l.hasElementTranscludeDirective&&m.replace||(L=pt(h)),je(O,a(S),L),G(a(L),T)}w=c.transcludeOnThisElement?ue(M,c.transclude,E):E,c(u,M,L,r,w)}}f=null})).catch((function(e){W(e)&&p(e)})),function(e,t,n,r,o){var i=o;t.$$destroyed||(f?f.push(t,n,r,i):(c.transcludeOnThisElement&&(i=ue(t,c.transclude,o)),c(u,t,n,r,i)))}}function Se(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function Oe(e,t,n,r){function o(e){return e?" (module: "+e+")":""}if(t)throw pn("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,o(t.$$moduleName),n.name,o(n.$$moduleName),e,_e(r))}function Ee(t,n){switch(t=f(t||"html")){case"svg":case"math":var r=e.document.createElement("div");return r.innerHTML="<"+t+">"+n+"</"+t+">",r.childNodes[0].childNodes;default:return n}}function Le(e){return B(E.valueOf(e),"ng-prop-srcset")}function Te(e,t,n,r){if(d.test(r))throw pn("nodomevents","Property bindings for HTML DOM event properties are disallowed");var o=ne(e),i=function(e,t){var n=t.toLowerCase();return k[e+"|"+n]||k["*|"+n]}(o,r),a=Y;"srcset"!==r||"img"!==o&&"source"!==o?i&&(a=E.getTrusted.bind(E,i)):a=Le,t.push({priority:100,compile:function(e,t){var o=M(t[n]),i=M(t[n],(function(e){return E.valueOf(e)}));return{pre:function(e,t){function n(){var n=o(e);t[0][r]=a(n)}n(),e.$watch(i,n)}}}})}function De(e,t,n){e.push(Pi(M,O,p,t,n,!1))}function Ce(e,t,r,o,i){var a=ne(e),s=function(e,t){return"srcdoc"===t?E.HTML:"src"===t||"ngSrc"===t?-1===["img","video","audio","source","track"].indexOf(e)?E.RESOURCE_URL:E.MEDIA_URL:"xlinkHref"===t?"image"===e?E.MEDIA_URL:"a"===e?E.URL:E.RESOURCE_URL:"form"===e&&"action"===t||"base"===e&&"href"===t||"link"===e&&"href"===t?E.RESOURCE_URL:"a"!==e||"href"!==t&&"ngHref"!==t?void 0:E.URL}(a,o),c=!i,u=l[o]||i,f=n(r,c,s,u);if(f){if("multiple"===o&&"select"===a)throw pn("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",_e(e));if(d.test(o))throw pn("nodomevents","Interpolations for HTML DOM event attributes are disallowed");t.push({priority:100,compile:function(){return{pre:function(e,t,i){var a=i.$$observers||(i.$$observers=He()),l=i[o];l!==r&&(f=l&&n(l,!0,s,u),r=l),f&&(i[o]=f(e),(a[o]||(a[o]=[])).$$inter=!0,(i.$$observers&&i.$$observers[o].$$scope||e).$watch(f,(function(e,t){"class"===o&&e!==t?i.$updateClass(e,t):i.$set(o,e)})))}}}})}}function je(t,n,r){var o,i,s=n[0],l=n.length,c=s.parentNode;if(t)for(o=0,i=t.length;o<i;o++)if(t[o]===s){t[o++]=r;for(var u=o,f=u+l-1,d=t.length;u<d;u++,f++)f<d?t[u]=t[f]:delete t[u];t.length-=l-1,t.context===s&&(t.context=r);break}c&&c.replaceChild(r,s);var p=e.document.createDocumentFragment();for(o=0;o<l;o++)p.appendChild(n[o]);for(a.hasData(s)&&(a.data(r,a.data(s)),a(s).off("$destroy")),a.cleanData(p.querySelectorAll("*")),o=1;o<l;o++)delete n[o];n[0]=r,n.length=1}function Ye(e,t){return L((function(){return e.apply(null,arguments)}),e,t)}function Ie(e,t,n,r,o,i){try{e(t,n,r,o,i)}catch(e){p(e,_e(n))}}function Re(e,t){if(y)throw pn("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",e,t)}function $e(e,t,r,o,i){var a,s=[],l={};function c(t,n,o){V(r.$onChanges)&&!ae(n,o)&&(D||(e.$$postDigest(F),D=[]),a||(a={},D.push(f)),a[t]&&(o=a[t].previousValue),a[t]=new gn(o,n))}function f(){r.$onChanges(a),a=void 0}return x(o,(function(o,a){var f,d,p,h,m,g=o.attrName,v=o.optional;switch(o.mode){case"@":v||u.call(t,g)||(Re(g,i.name),r[a]=t[g]=void 0),m=t.$observe(g,(function(e){if(z(e)||J(e)){var t=r[a];c(a,e,t),r[a]=e}})),t.$$observers[g].$$scope=e,z(f=t[g])?r[a]=n(f)(e):J(f)&&(r[a]=f),l[a]=new gn(hn,r[a]),s.push(m);break;case"=":if(!u.call(t,g)){if(v)break;Re(g,i.name),t[g]=void 0}if(v&&!t[g])break;d=M(t[g]),h=d.literal?se:ae,p=d.assign||function(){throw f=r[a]=d(e),pn("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[g],g,i.name)},f=r[a]=d(e);var y=function(t){return h(t,r[a])||(h(t,f)?p(e,t=r[a]):r[a]=t),f=t};y.$stateful=!0,m=o.collection?e.$watchCollection(t[g],y):e.$watch(M(t[g],y),null,d.literal),s.push(m);break;case"<":if(!u.call(t,g)){if(v)break;Re(g,i.name),t[g]=void 0}if(v&&!t[g])break;var b=(d=M(t[g])).literal,_=r[a]=d(e);l[a]=new gn(hn,r[a]),m=e[o.collection?"$watchCollection":"$watch"](d,(function(e,t){if(t===e){if(t===_||b&&se(t,_))return;t=_}c(a,e,t),r[a]=e})),s.push(m);break;case"&":if(v||u.call(t,g)||Re(g,i.name),(d=t.hasOwnProperty(g)?M(t[g]):j)===j&&v)break;r[a]=function(t){return d(e,t)}}})),{initialChanges:l,removeWatches:s.length&&function(){for(var e=0,t=s.length;e<t;++e)s[e]()}}}}]}function gn(e,t){this.previousValue=e,this.currentValue=t}mn.$inject=["$provide","$$sanitizeUriProvider"],gn.prototype.isFirstChange=function(){return this.previousValue===hn};var vn=/^((?:x|data)[:\-_])/i,yn=/[:\-_]+(.)/g;function bn(e){return e.replace(vn,"").replace(yn,(function(e,t,n){return n?t.toUpperCase():t}))}function _n(e,t){var n="",r=e.split(/\s+/),o=t.split(/\s+/);e:for(var i=0;i<r.length;i++){for(var a=r[i],s=0;s<o.length;s++)if(a===o[s])continue e;n+=(n.length>0?" ":"")+a}return n}function wn(e){var t=(e=a(e)).length;if(t<=1)return e;for(;t--;){var n=e[t];(8===n.nodeType||n.nodeType===ze&&""===n.nodeValue.trim())&&h.call(e,t,1)}return e}var xn=o("$controller"),kn=/^(\S+)(\s+as\s+([\w$]+))?$/;function Mn(e,t){if(t&&z(t))return t;if(z(e)){var n=kn.exec(e);if(n)return n[3]}}function Sn(){var e={};this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){Re(t,"controller"),H(t)?L(e,t):e[t]=n},this.$get=["$injector",function(t){return function(r,o,i,a){var s,l,c,u;if(i=!0===i,a&&z(a)&&(u=a),z(r)){if(!(l=r.match(kn)))throw xn("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);if(c=l[1],u=u||l[3],!(r=e.hasOwnProperty(c)?e[c]:function(e,t,n){if(!t)return e;for(var r,o=t.split("."),i=e,a=o.length,s=0;s<a;s++)r=o[s],e&&(e=(i=e)[r]);return!n&&V(e)?de(i,e):e}(o.$scope,c,!0)))throw xn("ctrlreg","The controller with the name '{0}' is not registered.",c);Ie(r,c,!0)}if(i){var f=(U(r)?r[r.length-1]:r).prototype;return s=Object.create(f||null),u&&n(o,u,s,c||r.name),L((function(){var e=t.invoke(r,s,o,c);return e!==s&&(H(e)||V(e))&&(s=e,u&&n(o,u,s,c||r.name)),s}),{instance:s,identifier:u})}return s=t.instantiate(r,o,c),u&&n(o,u,s,c||r.name),s};function n(e,t,n,r){if(!e||!H(e.$scope))throw o("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,t);e.$scope[t]=n}}]}function On(){this.$get=["$window",function(e){return a(e.document)}]}function En(){this.$get=["$document","$rootScope",function(e,t){var n=e[0],r=n&&n.hidden;function o(){r=n.hidden}return e.on("visibilitychange",o),t.$on("$destroy",(function(){e.off("visibilitychange",o)})),function(){return r}}]}function Ln(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}var Tn=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof a&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},Dn={"Content-Type":"application/json;charset=utf-8"},Cn=/^\[|^\{(?!\{)/,Pn={"[":/]$/,"{":/}$/},jn=/^\)]\}',?\n/,Yn=o("$http");function An(e){return H(e)?B(e)?e.toISOString():he(e):e}function In(){this.$get=function(){return function(e){if(!e)return"";var t=[];return k(e,(function(e,n){null===e||R(e)||V(e)||(U(e)?x(e,(function(e){t.push(Me(n)+"="+Me(An(e)))})):t.push(Me(n)+"="+Me(An(e))))})),t.join("&")}}}function Rn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return function e(n,r,o){U(n)?x(n,(function(t,n){e(t,r+"["+(H(t)?n:"")+"]")})):H(n)&&!B(n)?k(n,(function(t,n){e(t,r+(o?"":"[")+n+(o?"":"]"))})):(V(n)&&(n=n()),t.push(Me(r)+"="+(null==n?"":Me(An(n)))))}(e,"",!0),t.join("&")}}}function $n(e,t){if(z(e)){var n=e.replace(jn,"").trim();if(n){var r=t("Content-Type"),o=r&&0===r.indexOf("application/json");if(o||(a=(i=n).match(Cn))&&Pn[a[0]].test(i))try{e=me(n)}catch(t){if(!o)return e;throw Yn("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',e,t)}}}var i,a;return e}function Hn(e){var t,n=He();function r(e,t){e&&(n[e]=n[e]?n[e]+", "+t:t)}return z(e)?x(e.split("\n"),(function(e){t=e.indexOf(":"),r(f(X(e.substr(0,t))),X(e.substr(t+1)))})):H(e)&&x(e,(function(e,t){r(f(t),X(e))})),n}function Nn(e){var t;return function(n){if(t||(t=Hn(e)),n){var r=t[f(n)];return void 0===r&&(r=null),r}return t}}function zn(e,t,n,r){return V(r)?r(e,t,n):(x(r,(function(r){e=r(e,t,n)})),e)}function Fn(e){return 200<=e&&e<300}function Bn(){var e=this.defaults={transformResponse:[$n],transformRequest:[function(e){return!H(e)||(t=e,"[object File]"===g.call(t))||function(e){return"[object Blob]"===g.call(e)}(e)||function(e){return"[object FormData]"===g.call(e)}(e)?e:he(e);var t}],headers:{common:{Accept:"application/json, text/plain, */*"},post:Fe(Dn),put:Fe(Dn),patch:Fe(Dn)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},t=!1;this.useApplyAsync=function(e){return $(e)?(t=!!e,this):t};var n=this.interceptors=[],r=this.xsrfWhitelistedOrigins=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(i,a,s,l,c,u,p,h){var m=l("$http");e.paramSerializer=z(e.paramSerializer)?p.get(e.paramSerializer):e.paramSerializer;var g=[];x(n,(function(e){g.unshift(z(e)?p.get(e):p.invoke(e))}));var v,y=(v=[ao].concat(r.map(lo)),function(e){var t=lo(e);return v.some(co.bind(null,t))});function b(n){if(!H(n))throw o("$http")("badreq","Http request configuration must be an object. Received: {0}",n);if(!z(h.valueOf(n.url)))throw o("$http")("badreq","Http request configuration url must be a string or a $sce trusted object. Received: {0}",n.url);var r=L({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},n);r.headers=function(t){var n,r,o,i=e.headers,a=L({},t.headers);i=L({},i.common,i[f(t.method)]);e:for(n in i){for(o in r=f(n),a)if(f(o)===r)continue e;a[n]=i[n]}return function(e,t){var n,r={};return x(e,(function(e,o){V(e)?null!=(n=e(t))&&(r[o]=n):r[o]=e})),r}(a,Fe(t))}(n),r.method=d(r.method),r.paramSerializer=z(r.paramSerializer)?p.get(r.paramSerializer):r.paramSerializer,i.$$incOutstandingRequestCount("$http");var l=[],v=[],_=u.resolve(r);return x(g,(function(e){(e.request||e.requestError)&&l.unshift(e.request,e.requestError),(e.response||e.responseError)&&v.push(e.response,e.responseError)})),_=w(_,l),_=(_=w(_=_.then((function(n){var r=n.headers,o=zn(n.data,Nn(r),void 0,n.transformRequest);R(o)&&x(r,(function(e,t){"content-type"===f(t)&&delete r[t]}));R(n.withCredentials)&&!R(e.withCredentials)&&(n.withCredentials=e.withCredentials);return function(n,r){var o,i,l=u.defer(),d=l.promise,p=n.headers,g="jsonp"===f(n.method),v=n.url;g?v=h.getTrustedResourceUrl(v):z(v)||(v=h.valueOf(v));v=function(e,t){t.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+t);return e}(v,n.paramSerializer(n.params)),g&&(v=function(e,t){var n=e.split("?");if(n.length>2)throw Yn("badjsonp",'Illegal use more than one "?", in url, "{1}"',e);return x(xe(n[1]),(function(n,r){if("JSON_CALLBACK"===n)throw Yn("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);if(r===t)throw Yn("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e)})),e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}(v,n.jsonpCallbackParam));b.pendingRequests.push(n),d.then(S,S),!n.cache&&!e.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(o=H(n.cache)?n.cache:H(e.cache)?e.cache:m);o&&($(i=o.get(v))?Q(i)?i.then(M,M):U(i)?k(i[1],i[0],Fe(i[2]),i[3],i[4]):k(i,200,{},"OK","complete"):o.put(v,d));if(R(i)){var _=y(n.url)?s()[n.xsrfCookieName||e.xsrfCookieName]:void 0;_&&(p[n.xsrfHeaderName||e.xsrfHeaderName]=_),a(n.method,v,r,(function(e,n,r,i,a){o&&(Fn(e)?o.put(v,[e,n,Hn(r),i,a]):o.remove(v));function s(){k(n,e,r,i,a)}t?c.$applyAsync(s):(s(),c.$$phase||c.$apply())}),p,n.timeout,n.withCredentials,n.responseType,w(n.eventHandlers),w(n.uploadEventHandlers))}return d;function w(e){if(e){var n={};return x(e,(function(e,r){n[r]=function(n){function r(){e(n)}t?c.$applyAsync(r):c.$$phase?r():c.$apply(r)}})),n}}function k(e,t,r,o,i){(Fn(t=t>=-1?t:0)?l.resolve:l.reject)({data:e,status:t,headers:Nn(r),config:n,statusText:o,xhrStatus:i})}function M(e){k(e.data,e.status,Fe(e.headers()),e.statusText,e.xhrStatus)}function S(){var e=b.pendingRequests.indexOf(n);-1!==e&&b.pendingRequests.splice(e,1)}}(n,o).then(k,k)})),v)).finally((function(){i.$$completeOutstandingRequest(j,"$http")}));function w(e,t){for(var n=0,r=t.length;n<r;){var o=t[n++],i=t[n++];e=e.then(o,i)}return t.length=0,e}function k(e){var t=L({},e);return t.data=zn(e.data,e.headers,e.status,r.transformResponse),Fn(e.status)?t:u.reject(t)}}return b.pendingRequests=[],function(e){x(arguments,(function(e){b[e]=function(t,n){return b(L({},n||{},{method:e,url:t}))}}))}("get","delete","head","jsonp"),function(e){x(arguments,(function(e){b[e]=function(t,n,r){return b(L({},r||{},{method:e,url:t,data:n}))}}))}("post","put","patch"),b.defaults=e,b}]}function Un(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Wn(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return function(e,t,n,r,o){return function(i,a,s,l,c,u,d,p,h,m){if(a=a||e.url(),"jsonp"===f(i))var g=r.createCallback(a),v=function(e,t,n){e=e.replace("JSON_CALLBACK",t);var i=o.createElement("script"),a=null;return i.type="text/javascript",i.src=e,i.async=!0,a=function(e){i.removeEventListener("load",a),i.removeEventListener("error",a),o.body.removeChild(i),i=null;var s=-1,l="unknown";e&&("load"!==e.type||r.wasCalled(t)||(e={type:"error"}),l=e.type,s="error"===e.type?404:200),n&&n(s,l)},i.addEventListener("load",a),i.addEventListener("error",a),o.body.appendChild(i),a}(a,g,(function(e,t){var n=200===e&&r.getResponse(g);k(l,e,n,"",t,"complete"),r.removeCallback(g)}));else{var y=t(i,a),b=!1;y.open(i,a,!0),x(c,(function(e,t){$(e)&&y.setRequestHeader(t,e)})),y.onload=function(){var e=y.statusText||"",t="response"in y?y.response:y.responseText,n=1223===y.status?204:y.status;0===n&&(n=t?200:"file"===lo(a).protocol?404:0),k(l,n,t,y.getAllResponseHeaders(),e,"complete")};if(y.onerror=function(){k(l,-1,null,null,"","error")},y.ontimeout=function(){k(l,-1,null,null,"","timeout")},y.onabort=function(){k(l,-1,null,null,"",b?"timeout":"abort")},x(h,(function(e,t){y.addEventListener(t,e)})),x(m,(function(e,t){y.upload.addEventListener(t,e)})),d&&(y.withCredentials=!0),p)try{y.responseType=p}catch(e){if("json"!==p)throw e}y.send(R(s)?null:s)}if(u>0)var _=n((function(){w("timeout")}),u);else Q(u)&&u.then((function(){w($(u.$$timeoutId)?"timeout":"abort")}));function w(e){b="timeout"===e,v&&v(),y&&y.abort()}function k(e,t,r,o,i,a){$(_)&&n.cancel(_),v=y=null,e(t,r,o,i,a)}}}(e,r,e.defer,t,n[0])}]}var Vn=b.$interpolateMinErr=o("$interpolate");function qn(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,o){var i=e.length,a=t.length,s=new RegExp(e.replace(/./g,c),"g"),l=new RegExp(t.replace(/./g,c),"g");function c(e){return"\\\\\\"+e}function u(n){return n.replace(s,e).replace(l,t)}function f(e,t,n,r){var o=e.$watch((function(e){return o(),r(e)}),t,n);return o}function d(s,l,c,d){var p=c===o.URL||c===o.MEDIA_URL;if(!s.length||-1===s.indexOf(e)){if(l)return;var h=u(s);p&&(h=o.getTrusted(c,h));var m=A(h);return m.exp=s,m.expressions=[],m.$$watchDelegate=f,m}d=!!d;for(var g,v,y,b,_,w=0,x=[],k=s.length,M=[],S=[];w<k;){if(-1===(g=s.indexOf(e,w))||-1===(v=s.indexOf(t,g+i))){w!==k&&M.push(u(s.substring(w)));break}w!==g&&M.push(u(s.substring(w,g))),b=s.substring(g+i,v),x.push(b),w=v+a,S.push(M.length),M.push("")}_=1===M.length&&1===S.length;var O=p&&_?void 0:function(e){try{return e=c&&!p?o.getTrusted(c,e):o.valueOf(e),d&&!$(e)?e:Ne(e)}catch(e){r(Vn.interr(s,e))}};if(y=x.map((function(e){return n(e,O)})),!l||x.length){var E=function(e){for(var t=0,n=x.length;t<n;t++){if(d&&R(e[t]))return;M[S[t]]=e[t]}return p?o.getTrusted(c,_?M[0]:M.join("")):(c&&M.length>1&&Vn.throwNoconcat(s),M.join(""))};return L((function(e){var t=0,n=x.length,o=new Array(n);try{for(;t<n;t++)o[t]=y[t](e);return E(o)}catch(e){r(Vn.interr(s,e))}}),{exp:s,expressions:x,$$watchDelegate:function(e,t){var n;return e.$watchGroup(y,(function(r,o){var i=E(r);t.call(this,i,r!==o?n:i,e),n=i}))}})}}return d.startSymbol=function(){return e},d.endSymbol=function(){return t},d}]}Vn.throwNoconcat=function(e){throw Vn("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",e)},Vn.interr=function(e,t){return Vn("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var Gn=o("$interval");function Kn(){this.$get=["$$intervalFactory","$window",function(e,t){var n={},r=function(e){t.clearInterval(e),delete n[e]},o=e((function(e,r,o){var i=t.setInterval(e,r);return n[i]=o,i}),r);return o.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$intervalId"))throw Gn("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!n.hasOwnProperty(e.$$intervalId))return!1;var t=e.$$intervalId,o=n[t];return Hr(o.promise),o.reject("canceled"),r(t),!0},o}]}function Jn(){this.$get=["$browser","$q","$$q","$rootScope",function(e,t,n,r){return function(o,i){return function(a,s,l,c){var u=arguments.length>4,f=u?fe(arguments,4):[],d=0,p=$(c)&&!c,h=(p?n:t).defer(),m=h.promise;function g(){u?a.apply(null,f):a(d)}function v(){p?e.defer(g):r.$evalAsync(g),h.notify(d++),l>0&&d>=l&&(h.resolve(d),i(m.$$intervalId)),p||r.$apply()}return l=$(l)?l:0,m.$$intervalId=o(v,s,h,p),m}}}]}var Qn=function(){this.$get=function(){var e=b.callbacks,t={};return{createCallback:function(n){var r="_"+(e.$$counter++).toString(36),o="angular.callbacks."+r,i=function(e){var t=function(e){t.data=e,t.called=!0};return t.id=e,t}(r);return t[o]=e[r]=i,o},wasCalled:function(e){return t[e].called},getResponse:function(e){return t[e].data},removeCallback:function(n){var r=t[n];delete e[r.id],delete t[n]}}}},Zn=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Xn={http:80,https:443,ftp:21},er=o("$location");function tr(e,t,n){var r,o=(r=[],x(t,(function(e,t){U(e)?x(e,(function(e){r.push(Me(t,!0)+(!0===e?"":"="+Me(e,!0)))})):r.push(Me(t,!0)+(!0===e?"":"="+Me(e,!0)))})),r.length?r.join("&"):""),i=n?"#"+ke(n):"";return function(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ke(t[n].replace(/%2F/g,"/"));return t.join("/")}(e)+(o?"?"+o:"")+i}function nr(e,t){var n=lo(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=D(n.port)||Xn[n.protocol]||null}var rr=/^\s*[\\/]{2,}/;function or(e,t,n){if(rr.test(e))throw er("badpath",'Invalid url "{0}".',e);var r="/"!==e.charAt(0);r&&(e="/"+e);var o=lo(e),i=r&&"/"===o.pathname.charAt(0)?o.pathname.substring(1):o.pathname;t.$$path=function(e,t){for(var n=e.split("/"),r=n.length;r--;)n[r]=decodeURIComponent(n[r]),t&&(n[r]=n[r].replace(/\//g,"%2F"));return n.join("/")}(i,n),t.$$search=xe(o.search),t.$$hash=decodeURIComponent(o.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function ir(e,t){return e.slice(0,t.length)===t}function ar(e,t){if(ir(t,e))return t.substr(e.length)}function sr(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function lr(e,t,n){this.$$html5=!0,n=n||"",nr(e,this),this.$$parse=function(e){var n=ar(t,e);if(!z(n))throw er("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);or(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(e){return t+e.substr(1)},this.$$parseLinkUrl=function(r,o){return o&&"#"===o[0]?(this.hash(o.slice(1)),!0):($(i=ar(e,r))?(a=i,s=n&&$(i=ar(n,i))?t+(ar("/",i)||i):e+a):$(i=ar(t,r))?s=t+i:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s);var i,a,s}}function cr(e,t,n){nr(e,this),this.$$parse=function(r){var o,i=ar(e,r)||ar(t,r);R(i)||"#"!==i.charAt(0)?this.$$html5?o=i:(o="",R(i)&&(e=r,this.replace())):R(o=ar(n,i))&&(o=i),or(o,this,!1),this.$$path=function(e,t,n){var r,o=/^\/[A-Z]:(\/.*)/;ir(t,n)&&(t=t.replace(n,""));if(o.exec(t))return e;return(r=o.exec(e))?r[1]:e}(this.$$path,o,e),this.$$compose()},this.$$normalizeUrl=function(t){return e+(t?n+t:"")},this.$$parseLinkUrl=function(t,n){return sr(e)===sr(t)&&(this.$$parse(t),!0)}}function ur(e,t,n){this.$$html5=!0,cr.apply(this,arguments),this.$$parseLinkUrl=function(r,o){return o&&"#"===o[0]?(this.hash(o.slice(1)),!0):(e===sr(r)?i=r:(a=ar(t,r))?i=e+n+a:t===r+"/"&&(i=t),i&&this.$$parse(i),!!i);var i,a},this.$$normalizeUrl=function(t){return e+n+t}}var fr={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose:function(){this.$$url=tr(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0},absUrl:dr("$$absUrl"),url:function(e){if(R(e))return this.$$url;var t=Zn.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:dr("$$protocol"),host:dr("$$host"),port:dr("$$port"),path:pr("$$path",(function(e){return"/"===(e=null!==e?e.toString():"").charAt(0)?e:"/"+e})),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(z(e)||F(e))e=e.toString(),this.$$search=xe(e);else{if(!H(e))throw er("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");x(e=ie(e,{}),(function(t,n){null==t&&delete e[n]})),this.$$search=e}break;default:R(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:pr("$$hash",(function(e){return null!==e?e.toString():""})),replace:function(){return this.$$replace=!0,this}};function dr(e){return function(){return this[e]}}function pr(e,t){return function(n){return R(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function hr(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return J(e)?(t.enabled=e,this):H(e)?(J(e.enabled)&&(t.enabled=e.enabled),J(e.requireBase)&&(t.requireBase=e.requireBase),(J(e.rewriteLinks)||z(e.rewriteLinks))&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,o,i,s){var l,c,u,f,d=r.baseHref(),p=r.url();if(t.enabled){if(!d&&t.requireBase)throw er("nobase","$location in HTML5 mode requires a <base> tag to be present!");u=(f=p).substring(0,f.indexOf("/",f.indexOf("//")+2))+(d||"/"),c=o.history?lr:ur}else u=sr(p),c=cr;var h=function(e){return e.substr(0,sr(e).lastIndexOf("/")+1)}(u);(l=new c(u,h,"#"+e)).$$parseLinkUrl(p,p),l.$$state=r.state();var m=/^\s*(javascript|mailto):/i;function g(e,t,n){var o=l.url(),i=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(e){throw l.url(o),l.$$state=i,e}}i.on("click",(function(e){var o=t.rewriteLinks;if(o&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var s=a(e.target);"a"!==ne(s[0]);)if(s[0]===i[0]||!(s=s.parent())[0])return;if(!z(o)||!R(s.attr(o))){var c=s.prop("href"),u=s.attr("href")||s.attr("xlink:href");H(c)&&"[object SVGAnimatedString]"===c.toString()&&(c=lo(c.animVal).href),m.test(c)||!c||s.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(c,u)&&(e.preventDefault(),l.absUrl()!==r.url()&&n.$apply())}}})),l.absUrl()!==p&&r.url(l.absUrl(),!0);var v=!0;return r.onUrlChange((function(e,t){ir(e,h)?(n.$evalAsync((function(){var r,o=l.absUrl(),i=l.$$state;l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,o,t,i).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(o),l.$$state=i,g(o,!1,i)):(v=!1,y(o,i)))})),n.$$phase||n.$digest()):s.location.href=e})),n.$watch((function(){if(v||l.$$urlUpdatedByLocation){l.$$urlUpdatedByLocation=!1;var e=r.url(),t=l.absUrl(),i=r.state(),a=l.$$replace,s=!((c=e)===(u=t)||lo(c).href===lo(u).href)||l.$$html5&&o.history&&i!==l.$$state;(v||s)&&(v=!1,n.$evalAsync((function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,i).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=i):(s&&g(t,a,i===l.$$state?null:l.$$state),y(e,i)))})))}var c,u;l.$$replace=!1})),l;function y(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}}]}function mr(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){var r,o=i||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:s("log"),info:s("info"),warn:s("warn"),error:s("error"),debug:(r=s("debug"),function(){e&&r.apply(t,arguments)})};function a(e){return W(e)&&(e.stack&&o?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function s(e){var t=n.console||{},r=t[e]||t.log||j;return function(){var e=[];return x(arguments,(function(t){e.push(a(t))})),Function.prototype.apply.call(r,t,e)}}}]}x([ur,cr,lr],(function(e){e.prototype=Object.create(fr),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==lr||!this.$$html5)throw er("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=R(t)?null:t,this.$$urlUpdatedByLocation=!0,this}}));var gr=o("$parse"),vr={}.constructor.prototype.valueOf;function yr(e){return e+""}var br=He();x("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),(function(e){br[e]=!0}));var _r={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},wr=function(e){this.options=e};wr.prototype={constructor:wr,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),o=br[t],i=br[n],a=br[r];if(o||i||a){var s=a?r:i?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw gr("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=f(this.text.charAt(this.index));if("."===n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"===n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"===e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!==e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,o=!1;this.index<this.text.length;){var i=this.text.charAt(this.index);if(r+=i,o){if("u"===i){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{n+=_r[i]||i}o=!1}else if("\\"===i)o=!0;else{if(i===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=i}this.index++}this.throwError("Unterminated quote",t)}};var xr=function(e,t){this.lexer=e,this.options=t};function kr(e,t){return void 0!==e?e:t}function Mr(e,t){return void 0===e?t:void 0===t?e:e+t}xr.Program="Program",xr.ExpressionStatement="ExpressionStatement",xr.AssignmentExpression="AssignmentExpression",xr.ConditionalExpression="ConditionalExpression",xr.LogicalExpression="LogicalExpression",xr.BinaryExpression="BinaryExpression",xr.UnaryExpression="UnaryExpression",xr.CallExpression="CallExpression",xr.MemberExpression="MemberExpression",xr.Identifier="Identifier",xr.Literal="Literal",xr.ArrayExpression="ArrayExpression",xr.Property="Property",xr.ObjectExpression="ObjectExpression",xr.ThisExpression="ThisExpression",xr.LocalsExpression="LocalsExpression",xr.NGValueParameter="NGValueParameter",xr.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:xr.Program,body:e}},expressionStatement:function(){return{type:xr.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!Er(e))throw gr("lval","Trying to assign a value to a non l-value");e={type:xr.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:xr.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:xr.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:xr.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:xr.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:xr.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:xr.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:xr.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:xr.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e,t;for(this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=ie(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:xr.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(e={type:xr.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:xr.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:xr.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:xr.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do{e.push(this.filterChain())}while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:xr.Identifier,name:e.text}},constant:function(){return{type:xr.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:xr.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:xr.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:xr.ObjectExpression,properties:t}},throwError:function(e,t){throw gr("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw gr("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw gr("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,o){if(this.tokens.length>e){var i=this.tokens[e],a=i.text;if(a===t||a===n||a===r||a===o||!t&&!n&&!r&&!o)return i}return!1},expect:function(e,t,n,r){var o=this.peek(e,t,n,r);return!!o&&(this.tokens.shift(),o)},selfReferential:{this:{type:xr.ThisExpression},$locals:{type:xr.LocalsExpression}}};function Sr(e,t,n){var r,o,i,a=e.isPure=function(e,t){switch(e.type){case xr.MemberExpression:if(e.computed)return!1;break;case xr.UnaryExpression:return 1;case xr.BinaryExpression:return"+"!==e.operator&&1;case xr.CallExpression:return!1}return void 0===t?2:t}(e,n);switch(e.type){case xr.Program:r=!0,x(e.body,(function(e){Sr(e.expression,t,a),r=r&&e.expression.constant})),e.constant=r;break;case xr.Literal:e.constant=!0,e.toWatch=[];break;case xr.UnaryExpression:Sr(e.argument,t,a),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case xr.BinaryExpression:Sr(e.left,t,a),Sr(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case xr.LogicalExpression:Sr(e.left,t,a),Sr(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case xr.ConditionalExpression:Sr(e.test,t,a),Sr(e.alternate,t,a),Sr(e.consequent,t,a),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case xr.Identifier:e.constant=!1,e.toWatch=[e];break;case xr.MemberExpression:Sr(e.object,t,a),e.computed&&Sr(e.property,t,a),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case xr.CallExpression:i=!!e.filter&&function(e,t){return!e(t).$stateful}(t,e.callee.name),r=i,o=[],x(e.arguments,(function(e){Sr(e,t,a),r=r&&e.constant,o.push.apply(o,e.toWatch)})),e.constant=r,e.toWatch=i?o:[e];break;case xr.AssignmentExpression:Sr(e.left,t,a),Sr(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case xr.ArrayExpression:r=!0,o=[],x(e.elements,(function(e){Sr(e,t,a),r=r&&e.constant,o.push.apply(o,e.toWatch)})),e.constant=r,e.toWatch=o;break;case xr.ObjectExpression:r=!0,o=[],x(e.properties,(function(e){Sr(e.value,t,a),r=r&&e.value.constant,o.push.apply(o,e.value.toWatch),e.computed&&(Sr(e.key,t,!1),r=r&&e.key.constant,o.push.apply(o,e.key.toWatch))})),e.constant=r,e.toWatch=o;break;case xr.ThisExpression:case xr.LocalsExpression:e.constant=!1,e.toWatch=[]}}function Or(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length||n[0]!==t?n:void 0}}function Er(e){return e.type===xr.Identifier||e.type===xr.MemberExpression}function Lr(e){if(1===e.body.length&&Er(e.body[0].expression))return{type:xr.AssignmentExpression,left:e.body[0].expression,right:{type:xr.NGValueParameter},operator:"="}}function Tr(e){this.$filter=e}function Dr(e){this.$filter=e}function Cr(e,t,n){this.ast=new xr(e,n),this.astCompiler=n.csp?new Dr(t):new Tr(t)}function Pr(e){return V(e.valueOf)?e.valueOf():vr.call(e)}function jr(){var e,t,n=He(),r={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){r[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(o){var i={csp:le().noUnsafeEval,literals:ie(r),isIdentifierStart:V(e)&&e,isIdentifierContinue:V(t)&&t};return a.$$getAst=function(e){return new Cr(new wr(i),o,i).getAst(e).ast},a;function a(e,t){var r,a;switch(typeof e){case"string":if(e=e.trim(),!(r=n[a=e]))r=new Cr(new wr(i),o,i).parse(e),n[a]=d(r);return p(r,t);case"function":return p(e,t);default:return p(j,t)}}function s(e,t,n){return null==e||null==t?e===t:!("object"==typeof e&&"object"==typeof(e=Pr(e))&&!n)&&(e===t||e!=e&&t!=t)}function l(e,t,n,r,o){var i,a=r.inputs;if(1===a.length){var l=s;return a=a[0],e.$watch((function(e){var t=a(e);return s(t,l,a.isPure)||(i=r(e,void 0,void 0,[t]),l=t&&Pr(t)),i}),t,n,o)}for(var c=[],u=[],f=0,d=a.length;f<d;f++)c[f]=s,u[f]=null;return e.$watch((function(e){for(var t=!1,n=0,o=a.length;n<o;n++){var l=a[n](e);(t||(t=!s(l,c[n],a[n].isPure)))&&(u[n]=l,c[n]=l&&Pr(l))}return t&&(i=r(e,void 0,void 0,u)),i}),t,n,o)}function c(e,t,n,r,o){var i,a,s=r.literal?u:$,l=r.$$intercepted||r,c=r.$$interceptor||Y,f=r.inputs&&!l.inputs;return h.literal=r.literal,h.constant=r.constant,h.inputs=r.inputs,d(h),i=e.$watch(h,t,n,o);function p(){s(a)&&i()}function h(e,t,n,r){return a=f&&r?r[0]:l(e,t,n,r),s(a)&&e.$$postDigest(p),c(a)}}function u(e){var t=!0;return x(e,(function(e){$(e)||(t=!1)})),t}function f(e,t,n,r){var o=e.$watch((function(e){return o(),r(e)}),t,n);return o}function d(e){return e.constant?e.$$watchDelegate=f:e.oneTime?e.$$watchDelegate=c:e.inputs&&(e.$$watchDelegate=l),e}function p(e,t){if(!t)return e;e.$$interceptor&&(t=function(e,t){function n(n){return t(e(n))}return n.$stateful=e.$stateful||t.$stateful,n.$$pure=e.$$pure&&t.$$pure,n}(e.$$interceptor,t),e=e.$$intercepted);var n=!1,r=function(r,o,i,a){var s=n&&a?a[0]:e(r,o,i,a);return t(s)};return r.$$intercepted=e,r.$$interceptor=t,r.literal=e.literal,r.oneTime=e.oneTime,r.constant=e.constant,t.$stateful||(n=!e.inputs,r.inputs=e.inputs?e.inputs:[e],t.$$pure||(r.inputs=r.inputs.map((function(e){return 2===e.isPure?function(t){return e(t)}:e})))),d(r)}}]}function Yr(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return Ir((function(e){t.$evalAsync(e)}),n,e)}],this.errorOnUnhandledRejections=function(t){return $(t)?(e=t,this):e}}function Ar(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return Ir((function(e){t.defer(e)}),n,e)}],this.errorOnUnhandledRejections=function(t){return $(t)?(e=t,this):e}}function Ir(e,t,n){var r=o("$q",TypeError),i=0,a=[];function s(){return new l}function l(){var e=this.promise=new c;this.resolve=function(t){d(e,t)},this.reject=function(t){p(e,t)},this.notify=function(t){m(e,t)}}function c(){this.$$state={status:0}}function u(){for(;!i&&a.length;){var e=a.shift();if(!Rr(e)){$r(e);var n="Possibly unhandled rejection: "+Be(e.value);W(e.value)?t(e.value,n):t(n)}}}function f(r){!n||r.pending||2!==r.status||Rr(r)||(0===i&&0===a.length&&e(u),a.push(r)),!r.processScheduled&&r.pending&&(r.processScheduled=!0,++i,e((function(){!function(r){var o,a,s;s=r.pending,r.processScheduled=!1,r.pending=void 0;try{for(var l=0,c=s.length;l<c;++l){$r(r),a=s[l][0],o=s[l][r.status];try{V(o)?d(a,o(r.value)):1===r.status?d(a,r.value):p(a,r.value)}catch(e){p(a,e),e&&!0===e.$$passToExceptionHandler&&t(e)}}}finally{--i,n&&0===i&&e(u)}}(r)})))}function d(e,t){e.$$state.status||(t===e?h(e,r("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):function e(t,n){var r,o=!1;try{(H(n)||V(n))&&(r=n.then),V(r)?(t.$$state.status=-1,r.call(n,i,a,(function(e){m(t,e)}))):(t.$$state.value=n,t.$$state.status=1,f(t.$$state))}catch(e){a(e)}function i(n){o||(o=!0,e(t,n))}function a(e){o||(o=!0,h(t,e))}}(e,t))}function p(e,t){e.$$state.status||h(e,t)}function h(e,t){e.$$state.value=t,e.$$state.status=2,f(e.$$state)}function m(n,r){var o=n.$$state.pending;n.$$state.status<=0&&o&&o.length&&e((function(){for(var e,n,i=0,a=o.length;i<a;i++){n=o[i][0],e=o[i][3];try{m(n,V(e)?e(r):r)}catch(e){t(e)}}}))}function g(e){var t=new c;return p(t,e),t}function v(e,t,n){var r=null;try{V(n)&&(r=n())}catch(e){return g(e)}return Q(r)?r.then((function(){return t(e)}),g):t(e)}function y(e,t,n,r){var o=new c;return d(o,e),o.then(t,n,r)}L(c.prototype,{then:function(e,t,n){if(R(e)&&R(t)&&R(n))return this;var r=new c;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&f(this.$$state),r},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then((function(t){return v(t,b,e)}),(function(t){return v(t,g,e)}),t)}});var b=y;function _(e){if(!V(e))throw r("norslvr","Expected resolverFn, got '{0}'",e);var t=new c;return e((function(e){d(t,e)}),(function(e){p(t,e)})),t}return _.prototype=c.prototype,_.defer=s,_.reject=g,_.when=y,_.resolve=b,_.all=function(e){var t=new c,n=0,r=U(e)?[]:{};return x(e,(function(e,o){n++,y(e).then((function(e){r[o]=e,--n||d(t,r)}),(function(e){p(t,e)}))})),0===n&&d(t,r),t},_.race=function(e){var t=s();return x(e,(function(e){y(e).then(t.resolve,t.reject)})),t.promise},_}function Rr(e){return!!e.pur}function $r(e){e.pur=!0}function Hr(e){e.$$state&&$r(e.$$state)}function Nr(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,o=!!n,i=o?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return i.supported=o,i}]}function zr(){var e=10,t=o("$rootScope"),n=null,r=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$exceptionHandler","$parse","$browser",function(o,a,s){function l(e){e.currentScope.$$destroyed=!0}function c(){this.$id=S(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$suspended=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}c.prototype={constructor:c,$new:function(e,t){var n;return t=t||this,e?(n=new c).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=S(),this.$$ChildScope=null,this.$$suspended=!1}return t.prototype=e,t}(this)),n=new this.$$ChildScope),n.$parent=t,n.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=n,t.$$childTail=n):t.$$childHead=t.$$childTail=n,(e||t!==this)&&n.$on("$destroy",l),n},$watch:function(e,t,r,o){var i=a(e),s=V(t)?t:j;if(i.$$watchDelegate)return i.$$watchDelegate(this,s,r,i,e);var l=this,c=l.$$watchers,u={fn:s,last:_,get:i,exp:o||e,eq:!!r};return n=null,c||((c=l.$$watchers=[]).$$digestWatchIndex=-1),c.unshift(u),c.$$digestWatchIndex++,y(this,1),function(){var e=oe(c,u);e>=0&&(y(l,-1),e<c.$$digestWatchIndex&&c.$$digestWatchIndex--),n=null}},$watchGroup:function(e,t){var n=new Array(e.length),r=new Array(e.length),o=[],i=this,a=!1,s=!0;if(!e.length){var l=!0;return i.$evalAsync((function(){l&&t(r,r,i)})),function(){l=!1}}if(1===e.length)return this.$watch(e[0],(function(e,o,i){r[0]=e,n[0]=o,t(r,e===o?r:n,i)}));function c(){a=!1;try{s?(s=!1,t(r,r,i)):t(r,n,i)}finally{for(var o=0;o<e.length;o++)n[o]=r[o]}}return x(e,(function(e,t){var n=i.$watch(e,(function(e){r[t]=e,a||(a=!0,i.$evalAsync(c))}));o.push(n)})),function(){for(;o.length;)o.shift()()}},$watchCollection:function(e,t){m.$$pure=a(e).literal,m.$stateful=!m.$$pure;var n,r,o,i=this,s=t.length>1,l=0,c=a(e,m),f=[],d={},p=!0,h=0;function m(e){var t,o,i,a;if(!R(n=e)){if(H(n))if(w(n)){r!==f&&(h=(r=f).length=0,l++),t=n.length,h!==t&&(l++,r.length=h=t);for(var s=0;s<t;s++)a=r[s],i=n[s],a!=a&&i!=i||a===i||(l++,r[s]=i)}else{for(o in r!==d&&(r=d={},h=0,l++),t=0,n)u.call(n,o)&&(t++,i=n[o],a=r[o],o in r?a!=a&&i!=i||a===i||(l++,r[o]=i):(h++,r[o]=i,l++));if(h>t)for(o in l++,r)u.call(n,o)||(h--,delete r[o])}else r!==n&&(r=n,l++);return l}}return this.$watch(c,(function(){if(p?(p=!1,t(n,n,i)):t(n,o,i),s)if(H(n))if(w(n)){o=new Array(n.length);for(var e=0;e<n.length;e++)o[e]=n[e]}else for(var r in o={},n)u.call(n,r)&&(o[r]=n[r]);else o=n}))},$digest:function(){var i,a,l,c,u,h,y,b,w,x=e,M=d.length?f:this,S=[];g("$digest"),s.$$checkUrlChange(),this===f&&null!==r&&(s.defer.cancel(r),k()),n=null;do{u=!1,y=M;for(var O=0;O<d.length;O++){try{(0,(w=d[O]).fn)(w.scope,w.locals)}catch(e){o(e)}n=null}d.length=0;e:do{if(c=!y.$$suspended&&y.$$watchers)for(c.$$digestWatchIndex=c.length;c.$$digestWatchIndex--;)try{if(i=c[c.$$digestWatchIndex])if((a=(0,i.get)(y))===(l=i.last)||(i.eq?se(a,l):C(a)&&C(l))){if(i===n){u=!1;break e}}else u=!0,n=i,i.last=i.eq?ie(a,null):a,(0,i.fn)(a,l===_?a:l,y),x<5&&(S[b=4-x]||(S[b]=[]),S[b].push({msg:V(i.exp)?"fn: "+(i.exp.name||i.exp.toString()):i.exp,newVal:a,oldVal:l}))}catch(e){o(e)}if(!(h=!y.$$suspended&&y.$$watchersCount&&y.$$childHead||y!==M&&y.$$nextSibling))for(;y!==M&&!(h=y.$$nextSibling);)y=y.$parent}while(y=h);if((u||d.length)&&!x--)throw v(),t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,S)}while(u||d.length);for(v();m<p.length;)try{p[m++]()}catch(e){o(e)}p.length=m=0,s.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;for(var t in this.$broadcast("$destroy"),this.$$destroyed=!0,this===f&&s.$$applicationDestroyed(),y(this,-this.$$watchersCount),this.$$listenerCount)b(this,this.$$listenerCount[t],t);e&&e.$$childHead===this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail===this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=j,this.$on=this.$watch=this.$watchGroup=function(){return j},this.$$listeners={},this.$$nextSibling=null,function e(t){9===i&&(t.$$childHead&&e(t.$$childHead),t.$$nextSibling&&e(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}(this)}},$eval:function(e,t){return a(e)(this,t)},$evalAsync:function(e,t){f.$$phase||d.length||s.defer((function(){d.length&&f.$digest()}),null,"$evalAsync"),d.push({scope:this,fn:a(e),locals:t})},$$postDigest:function(e){p.push(e)},$apply:function(e){try{g("$apply");try{return this.$eval(e)}finally{v()}}catch(e){o(e)}finally{try{f.$digest()}catch(e){throw o(e),e}}},$applyAsync:function(e){var t=this;e&&h.push((function(){t.$eval(e)})),e=a(e),null===r&&(r=s.defer((function(){f.$apply(k)}),null,"$applyAsync"))},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do{r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++}while(r=r.$parent);var o=this;return function(){var r=n.indexOf(t);-1!==r&&(delete n[r],b(o,1,e))}},$emit:function(e,t){var n,r,i,a=[],s=this,l=!1,c={name:e,targetScope:s,stopPropagation:function(){l=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},u=ue([c],arguments,1);do{for(n=s.$$listeners[e]||a,c.currentScope=s,r=0,i=n.length;r<i;r++)if(n[r])try{n[r].apply(null,u)}catch(e){o(e)}else n.splice(r,1),r--,i--;if(l)break;s=s.$parent}while(s);return c.currentScope=null,c},$broadcast:function(e,t){var n=this,r=n,i=n,a={name:e,targetScope:n,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[e])return a;for(var s,l,c,u=ue([a],arguments,1);r=i;){for(a.currentScope=r,l=0,c=(s=r.$$listeners[e]||[]).length;l<c;l++)if(s[l])try{s[l].apply(null,u)}catch(e){o(e)}else s.splice(l,1),l--,c--;if(!(i=r.$$listenerCount[e]&&r.$$childHead||r!==n&&r.$$nextSibling))for(;r!==n&&!(i=r.$$nextSibling);)r=r.$parent}return a.currentScope=null,a}};var f=new c,d=f.$$asyncQueue=[],p=f.$$postDigestQueue=[],h=f.$$applyAsyncQueue=[],m=0;return f;function g(e){if(f.$$phase)throw t("inprog","{0} already in progress",f.$$phase);f.$$phase=e}function v(){f.$$phase=null}function y(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function b(e,t,n){do{e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n]}while(e=e.$parent)}function _(){}function k(){for(;h.length;)try{h.shift()()}catch(e){o(e)}r=null}}]}function Fr(){var e=/^\s*(https?|s?ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return $(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(t=e,this):t},this.$get=function(){return function(n,r){var o=r?t:e,i=lo(n&&n.trim()).href;return""===i||i.match(o)?n:"unsafe:"+i}}}Tr.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Sr(e,t.$filter);var n,r="";if(this.stage="assign",n=Lr(e)){this.state.computing="assign";var o=this.nextId();this.recurse(n,o),this.return_(o),r="fn.assign="+this.generateFunction("assign","s,v,l")}var i=Or(e.body);t.stage="inputs",x(i,(function(e,n){var r="fn"+n;t.state[r]={vars:[],body:[],own:{}},t.state.computing=r;var o=t.nextId();t.recurse(e,o),t.return_(o),t.state.inputs.push({name:r,isPure:e.isPure}),e.watchId=n})),this.state.computing="fn",this.stage="main",this.recurse(e);var a='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+r+this.watchFns()+"return fn;",s=new Function("$filter","getStringValue","ifDefined","plus",a)(this.$filter,yr,kr,Mr);return this.state=this.stage=void 0,s},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return x(t,(function(t){e.push("var "+t.name+"="+n.generateFunction(t.name,"s")),t.isPure&&e.push(t.name,".isPure="+JSON.stringify(t.isPure)+";")})),t.length&&e.push("fn.inputs=["+t.map((function(e){return e.name})).join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return x(this.state.filters,(function(n,r){e.push(n+"=$filter("+t.escape(r)+")")})),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,r,o,i){var a,s,l,c,u,f=this;if(r=r||j,!i&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,r,o,!0));switch(e.type){case xr.Program:x(e.body,(function(t,n){f.recurse(t.expression,void 0,void 0,(function(e){s=e})),n!==e.body.length-1?f.current().body.push(s,";"):f.return_(s)}));break;case xr.Literal:c=this.escape(e.value),this.assign(t,c),r(t||c);break;case xr.UnaryExpression:this.recurse(e.argument,void 0,void 0,(function(e){s=e})),c=e.operator+"("+this.ifDefined(s,0)+")",this.assign(t,c),r(c);break;case xr.BinaryExpression:this.recurse(e.left,void 0,void 0,(function(e){a=e})),this.recurse(e.right,void 0,void 0,(function(e){s=e})),c="+"===e.operator?this.plus(a,s):"-"===e.operator?this.ifDefined(a,0)+e.operator+this.ifDefined(s,0):"("+a+")"+e.operator+"("+s+")",this.assign(t,c),r(c);break;case xr.LogicalExpression:t=t||this.nextId(),f.recurse(e.left,t),f.if_("&&"===e.operator?t:f.not(t),f.lazyRecurse(e.right,t)),r(t);break;case xr.ConditionalExpression:t=t||this.nextId(),f.recurse(e.test,t),f.if_(t,f.lazyRecurse(e.alternate,t),f.lazyRecurse(e.consequent,t)),r(t);break;case xr.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",e.name)),(function(){f.if_("inputs"===f.stage||"s",(function(){o&&1!==o&&f.if_(f.isNull(f.nonComputedMember("s",e.name)),f.lazyAssign(f.nonComputedMember("s",e.name),"{}")),f.assign(t,f.nonComputedMember("s",e.name))}))}),t&&f.lazyAssign(t,f.nonComputedMember("l",e.name))),r(t);break;case xr.MemberExpression:a=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(e.object,a,void 0,(function(){f.if_(f.notNull(a),(function(){e.computed?(s=f.nextId(),f.recurse(e.property,s),f.getStringValue(s),o&&1!==o&&f.if_(f.not(f.computedMember(a,s)),f.lazyAssign(f.computedMember(a,s),"{}")),c=f.computedMember(a,s),f.assign(t,c),n&&(n.computed=!0,n.name=s)):(o&&1!==o&&f.if_(f.isNull(f.nonComputedMember(a,e.property.name)),f.lazyAssign(f.nonComputedMember(a,e.property.name),"{}")),c=f.nonComputedMember(a,e.property.name),f.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))}),(function(){f.assign(t,"undefined")})),r(t)}),!!o);break;case xr.CallExpression:t=t||this.nextId(),e.filter?(s=f.filter(e.callee.name),l=[],x(e.arguments,(function(e){var t=f.nextId();f.recurse(e,t),l.push(t)})),c=s+"("+l.join(",")+")",f.assign(t,c),r(t)):(s=f.nextId(),a={},l=[],f.recurse(e.callee,s,a,(function(){f.if_(f.notNull(s),(function(){x(e.arguments,(function(t){f.recurse(t,e.constant?void 0:f.nextId(),void 0,(function(e){l.push(e)}))})),c=a.name?f.member(a.context,a.name,a.computed)+"("+l.join(",")+")":s+"("+l.join(",")+")",f.assign(t,c)}),(function(){f.assign(t,"undefined")})),r(t)})));break;case xr.AssignmentExpression:s=this.nextId(),a={},this.recurse(e.left,void 0,a,(function(){f.if_(f.notNull(a.context),(function(){f.recurse(e.right,s),c=f.member(a.context,a.name,a.computed)+e.operator+s,f.assign(t,c),r(t||c)}))}),1);break;case xr.ArrayExpression:l=[],x(e.elements,(function(t){f.recurse(t,e.constant?void 0:f.nextId(),void 0,(function(e){l.push(e)}))})),c="["+l.join(",")+"]",this.assign(t,c),r(t||c);break;case xr.ObjectExpression:l=[],u=!1,x(e.properties,(function(e){e.computed&&(u=!0)})),u?(t=t||this.nextId(),this.assign(t,"{}"),x(e.properties,(function(e){e.computed?(a=f.nextId(),f.recurse(e.key,a)):a=e.key.type===xr.Identifier?e.key.name:""+e.key.value,s=f.nextId(),f.recurse(e.value,s),f.assign(f.member(t,a,e.computed),s)}))):(x(e.properties,(function(t){f.recurse(t.value,e.constant?void 0:f.nextId(),void 0,(function(e){l.push(f.escape(t.key.type===xr.Identifier?t.key.name:""+t.key.value)+":"+e)}))})),c="{"+l.join(",")+"}",this.assign(t,c)),r(t||c);break;case xr.ThisExpression:this.assign(t,"s"),r(t||"s");break;case xr.LocalsExpression:this.assign(t,"l"),r(t||"l");break;case xr.NGValueParameter:this.assign(t,"v"),r(t||"v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,r,o,i){var a=this;return function(){a.recurse(e,t,n,r,o,i)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(z(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(F(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw gr("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},Dr.prototype={compile:function(e){var t,n,r=this;Sr(e,r.$filter),(t=Lr(e))&&(n=this.recurse(t));var o,i=Or(e.body);i&&(o=[],x(i,(function(e,t){var n=r.recurse(e);n.isPure=e.isPure,e.input=n,o.push(n),e.watchId=t})));var a=[];x(e.body,(function(e){a.push(r.recurse(e.expression))}));var s=0===e.body.length?j:1===e.body.length?a[0]:function(e,t){var n;return x(a,(function(r){n=r(e,t)})),n};return n&&(s.assign=function(e,t,r){return n(e,r,t)}),o&&(s.inputs=o),s},recurse:function(e,t,n){var r,o,i,a=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case xr.Literal:return this.value(e.value,t);case xr.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case xr.BinaryExpression:case xr.LogicalExpression:return r=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](r,o,t);case xr.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case xr.Identifier:return a.identifier(e.name,t,n);case xr.MemberExpression:return r=this.recurse(e.object,!1,!!n),e.computed||(o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(r,o,t,n):this.nonComputedMember(r,o,t,n);case xr.CallExpression:return i=[],x(e.arguments,(function(e){i.push(a.recurse(e))})),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,a){for(var s=[],l=0;l<i.length;++l)s.push(i[l](e,n,r,a));var c=o.apply(void 0,s,a);return t?{context:void 0,name:void 0,value:c}:c}:function(e,n,r,a){var s,l=o(e,n,r,a);if(null!=l.value){for(var c=[],u=0;u<i.length;++u)c.push(i[u](e,n,r,a));s=l.value.apply(l.context,c)}return t?{value:s}:s};case xr.AssignmentExpression:return r=this.recurse(e.left,!0,1),o=this.recurse(e.right),function(e,n,i,a){var s=r(e,n,i,a),l=o(e,n,i,a);return s.context[s.name]=l,t?{value:l}:l};case xr.ArrayExpression:return i=[],x(e.elements,(function(e){i.push(a.recurse(e))})),function(e,n,r,o){for(var a=[],s=0;s<i.length;++s)a.push(i[s](e,n,r,o));return t?{value:a}:a};case xr.ObjectExpression:return i=[],x(e.properties,(function(e){e.computed?i.push({key:a.recurse(e.key),computed:!0,value:a.recurse(e.value)}):i.push({key:e.key.type===xr.Identifier?e.key.name:""+e.key.value,computed:!1,value:a.recurse(e.value)})})),function(e,n,r,o){for(var a={},s=0;s<i.length;++s)i[s].computed?a[i[s].key(e,n,r,o)]=i[s].value(e,n,r,o):a[i[s].key]=i[s].value(e,n,r,o);return t?{value:a}:a};case xr.ThisExpression:return function(e){return t?{value:e}:e};case xr.LocalsExpression:return function(e,n){return t?{value:n}:n};case xr.NGValueParameter:return function(e,n,r){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,o,i){var a=e(n,r,o,i);return a=$(a)?+a:0,t?{value:a}:a}},"unary-":function(e,t){return function(n,r,o,i){var a=e(n,r,o,i);return a=$(a)?-a:-0,t?{value:a}:a}},"unary!":function(e,t){return function(n,r,o,i){var a=!e(n,r,o,i);return t?{value:a}:a}},"binary+":function(e,t,n){return function(r,o,i,a){var s=Mr(e(r,o,i,a),t(r,o,i,a));return n?{value:s}:s}},"binary-":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a),l=t(r,o,i,a),c=($(s)?s:0)-($(l)?l:0);return n?{value:c}:c}},"binary*":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a)*t(r,o,i,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a)/t(r,o,i,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a)%t(r,o,i,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a)===t(r,o,i,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a)!==t(r,o,i,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a)==t(r,o,i,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a)!=t(r,o,i,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a)<t(r,o,i,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a)>t(r,o,i,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a)<=t(r,o,i,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a)>=t(r,o,i,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a)&&t(r,o,i,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,o,i,a){var s=e(r,o,i,a)||t(r,o,i,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(o,i,a,s){var l=e(o,i,a,s)?t(o,i,a,s):n(o,i,a,s);return r?{value:l}:l}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,o,i,a){var s=o&&e in o?o:r;n&&1!==n&&s&&null==s[e]&&(s[e]={});var l=s?s[e]:void 0;return t?{context:s,name:e,value:l}:l}},computedMember:function(e,t,n,r){return function(o,i,a,s){var l,c,u=e(o,i,a,s);return null!=u&&(l=yr(l=t(o,i,a,s)),r&&1!==r&&u&&!u[l]&&(u[l]={}),c=u[l]),n?{context:u,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r){return function(o,i,a,s){var l=e(o,i,a,s);r&&1!==r&&l&&null==l[t]&&(l[t]={});var c=null!=l?l[t]:void 0;return n?{context:l,name:t,value:c}:c}},inputs:function(e,t){return function(n,r,o,i){return i?i[t]:e(n,r,o)}}},Cr.prototype={constructor:Cr,parse:function(e){var t=this.getAst(e),n=this.astCompiler.compile(t.ast);return n.literal=function(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===xr.Literal||e.body[0].expression.type===xr.ArrayExpression||e.body[0].expression.type===xr.ObjectExpression)}(t.ast),n.constant=function(e){return e.constant}(t.ast),n.oneTime=t.oneTime,n},getAst:function(e){var t=!1;return":"===(e=e.trim()).charAt(0)&&":"===e.charAt(1)&&(t=!0,e=e.substring(2)),{ast:this.ast.ast(e),oneTime:t}}};var Br=o("$sce"),Ur={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Wr=/_([a-z])/g;function Vr(e){return e.replace(Wr,Qe)}function qr(e){var t=[];return $(e)&&x(e,(function(e){t.push(function(e){if("self"===e)return e;if(z(e)){if(e.indexOf("***")>-1)throw Br("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=ee(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(q(e))return new RegExp("^"+e.source+"$");throw Br("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(e))})),t}function Gr(){this.SCE_CONTEXTS=Ur;var t=["self"],n=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=qr(e)),t},this.resourceUrlBlacklist=function(e){return arguments.length&&(n=qr(e)),n},this.$get=["$injector","$$sanitizeUri",function(r,o){var i=function(e){throw Br("unsafe","Attempting to use an unsafe value in a safe context.")};function a(t,n){return"self"===t?co(n,ao)||function(t){return co(t,function(){if(e.document.baseURI)return e.document.baseURI;oo||((oo=e.document.createElement("a")).href=".",oo=oo.cloneNode(!1));return oo.href}())}(n):!!t.exec(n.href)}function s(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}r.has("$sanitize")&&(i=r.get("$sanitize"));var l=s(),c={};return c[Ur.HTML]=s(l),c[Ur.CSS]=s(l),c[Ur.MEDIA_URL]=s(l),c[Ur.URL]=s(c[Ur.MEDIA_URL]),c[Ur.JS]=s(l),c[Ur.RESOURCE_URL]=s(c[Ur.URL]),{trustAs:function(e,t){var n=c.hasOwnProperty(e)?c[e]:null;if(!n)throw Br("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||R(t)||""===t)return t;if("string"!=typeof t)throw Br("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)},getTrusted:function(e,r){if(null===r||R(r)||""===r)return r;var s=c.hasOwnProperty(e)?c[e]:null;if(s&&r instanceof s)return r.$$unwrapTrustedValue();if(V(r.$$unwrapTrustedValue)&&(r=r.$$unwrapTrustedValue()),e===Ur.MEDIA_URL||e===Ur.URL)return o(r.toString(),e===Ur.MEDIA_URL);if(e===Ur.RESOURCE_URL){if(function(e){var r,o,i=lo(e.toString()),s=!1;for(r=0,o=t.length;r<o;r++)if(a(t[r],i)){s=!0;break}if(s)for(r=0,o=n.length;r<o;r++)if(a(n[r],i)){s=!1;break}return s}(r))return r;throw Br("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",r.toString())}if(e===Ur.HTML)return i(r);throw Br("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(e){return e instanceof l?e.$$unwrapTrustedValue():e}}}]}function Kr(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&i<8)throw Br("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var r=Fe(Ur);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=Y),r.parseAs=function(e,n){var o=t(n);return o.literal&&o.constant?o:t(n,(function(t){return r.getTrusted(e,t)}))};var o=r.parseAs,a=r.getTrusted,s=r.trustAs;return x(Ur,(function(e,t){var n=f(t);r[Vr("parse_as_"+n)]=function(t){return o(e,t)},r[Vr("get_trusted_"+n)]=function(t){return a(e,t)},r[Vr("trust_as_"+n)]=function(t){return s(e,t)}})),r}]}function Jr(){this.$get=["$window","$document",function(e,t){var n={},r=!(!(e.nw&&e.nw.process)&&e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id))&&e.history&&e.history.pushState,o=D((/android (\d+)/.exec(f((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},l=s.body&&s.body.style,c=!1,u=!1;return l&&(c=!(!("transition"in l)&&!("webkitTransition"in l)),u=!(!("animation"in l)&&!("webkitAnimation"in l))),{history:!(!r||o<4||a),hasEvent:function(e){if("input"===e&&i)return!1;if(R(n[e])){var t=s.createElement("div");n[e]="on"+e in t}return n[e]},csp:le(),transitions:c,animations:u,android:o}}]}function Qr(){this.$get=A((function(e){return new Zr(e)}))}function Zr(e){var t={},n=[],r=this.ALL_TASKS_TYPE="$$all$$",o=this.DEFAULT_TASK_TYPE="$$default$$";function i(){var e=n.pop();return e&&e.cb}function a(e){for(var t=n.length-1;t>=0;--t){var r=n[t];if(r.type===e)return n.splice(t,1),r.cb}}this.completeTask=function(n,s){s=s||o;try{n()}finally{!function(e){t[e=e||o]&&(t[e]--,t[r]--)}(s);var l=t[s],c=t[r];if(!c||!l)for(var u,f=c?a:i;u=f(s);)try{u()}catch(t){e.error(t)}}},this.incTaskCount=function(e){t[e=e||o]=(t[e]||0)+1,t[r]=(t[r]||0)+1},this.notifyWhenNoPendingTasks=function(e,o){t[o=o||r]?n.push({type:o,cb:e}):e()}}var Xr=o("$templateRequest");function eo(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,o,i){function a(s,l){a.totalPendingRequests++,z(s)&&!R(n.get(s))||(s=i.getTrustedResourceUrl(s));var c=r.defaults&&r.defaults.transformResponse;return U(c)?c=c.filter((function(e){return e!==$n})):c===$n&&(c=null),r.get(s,L({cache:n,transformResponse:c},e)).finally((function(){a.totalPendingRequests--})).then((function(e){return n.put(s,e.data)}),(function(e){l||(e=Xr("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText),t(e));return o.reject(e)}))}return a.totalPendingRequests=0,a}]}function to(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={findBindings:function(e,t,n){var r=e.getElementsByClassName("ng-binding"),o=[];return x(r,(function(e){var r=b.element(e).data("$binding");r&&x(r,(function(r){n?new RegExp("(^|\\s)"+ee(t)+"(\\s|\\||$)").test(r)&&o.push(e):-1!==r.indexOf(t)&&o.push(e)}))})),o},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],o=0;o<r.length;++o){var i="["+r[o]+"model"+(n?"=":"*=")+'"'+t+'"]',a=e.querySelectorAll(i);if(a.length)return a}},getLocation:function(){return n.url()},setLocation:function(t){t!==n.url()&&(n.url(t),e.$digest())},whenStable:function(e){t.notifyWhenNoOutstandingRequests(e)}};return r}]}var no=o("$timeout");function ro(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,o){var i={};function a(a,s,l){V(a)||(l=s,s=a,a=j);var c,u=fe(arguments,3),f=$(l)&&!l,d=(f?r:n).defer(),p=d.promise;return c=t.defer((function(){try{d.resolve(a.apply(null,u))}catch(e){d.reject(e),o(e)}finally{delete i[p.$$timeoutId]}f||e.$apply()}),s,"$timeout"),p.$$timeoutId=c,i[c]=d,p}return a.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$timeoutId"))throw no("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!i.hasOwnProperty(e.$$timeoutId))return!1;var n=e.$$timeoutId,r=i[n];return Hr(r.promise),r.reject("canceled"),delete i[n],t.defer.cancel(n)},a}]}var oo,io=e.document.createElement("a"),ao=lo(e.location.href);io.href="http://[::1]";var so="[::1]"===io.hostname;function lo(e){if(!z(e))return e;var t=e;i&&(io.setAttribute("href",t),t=io.href),io.setAttribute("href",t);var n=io.hostname;return!so&&n.indexOf(":")>-1&&(n="["+n+"]"),{href:io.href,protocol:io.protocol?io.protocol.replace(/:$/,""):"",host:io.host,search:io.search?io.search.replace(/^\?/,""):"",hash:io.hash?io.hash.replace(/^#/,""):"",hostname:n,port:io.port,pathname:"/"===io.pathname.charAt(0)?io.pathname:"/"+io.pathname}}function co(e,t){return e=lo(e),t=lo(t),e.protocol===t.protocol&&e.host===t.host}function uo(){this.$get=A(e)}function fo(e){var t=e[0]||{},n={},r="";function o(e){try{return decodeURIComponent(e)}catch(t){return e}}return function(){var e,i,a,s,l,c=function(e){try{return e.cookie||""}catch(e){return""}}(t);if(c!==r)for(e=(r=c).split("; "),n={},a=0;a<e.length;a++)(s=(i=e[a]).indexOf("="))>0&&(l=o(i.substring(0,s)),R(n[l])&&(n[l]=o(i.substring(s+1))));return n}}function po(){this.$get=fo}function ho(e){function t(n,r){if(H(n)){var o={};return x(n,(function(e,n){o[n]=t(n,e)})),o}return e.factory(n+"Filter",r)}this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+"Filter")}}],t("currency",yo),t("date",Do),t("filter",mo),t("json",Co),t("limitTo",Yo),t("lowercase",Po),t("number",bo),t("orderBy",Io),t("uppercase",jo)}function mo(){return function(e,t,n,r){if(!w(e)){if(null==e)return e;throw o("filter")("notarray","Expected array but received: {0}",e)}var i,a;switch(r=r||"$",vo(t)){case"function":i=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":i=function(e,t,n,r){var o=H(e)&&n in e;!0===t?t=se:V(t)||(t=function(e,t){return!R(e)&&(null===e||null===t?e===t:!(H(t)||H(e)&&!I(e))&&(e=f(""+e),t=f(""+t),-1!==e.indexOf(t)))});return function(i){return o&&!H(i)?go(i,e[n],t,n,!1):go(i,e,t,n,r)}}(t,n,r,a);break;default:return e}return Array.prototype.filter.call(e,i)}}function go(e,t,n,r,o,i){var a=vo(e),s=vo(t);if("string"===s&&"!"===t.charAt(0))return!go(e,t.substring(1),n,r,o);if(U(e))return e.some((function(e){return go(e,t,n,r,o)}));switch(a){case"object":var l;if(o){for(l in e)if(l.charAt&&"$"!==l.charAt(0)&&go(e[l],t,n,r,!0))return!0;return!i&&go(e,t,n,r,!1)}if("object"===s){for(l in t){var c=t[l];if(!V(c)&&!R(c)){var u=l===r;if(!go(u?e:e[l],c,n,r,u,u))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function vo(e){return null===e?"null":typeof e}fo.$inject=["$document"],ho.$inject=["$provide"];function yo(e){var t=e.NUMBER_FORMATS;return function(e,n,r){R(n)&&(n=t.CURRENCY_SYM),R(r)&&(r=t.PATTERNS[1].maxFrac);var o=n?/\u00A4/g:/\s*\u00A4\s*/g;return null==e?e:_o(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(o,n)}}function bo(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:_o(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function _o(e,t,n,r,o){if(!z(e)&&!F(e)||isNaN(e))return"";var i,a=!isFinite(e),s=!1,l=Math.abs(e)+"",c="";if(a)c="∞";else{(function(e,t,n,r){var o=e.d,i=o.length-e.i,a=(t=R(t)?Math.min(Math.max(n,i),r):+t)+e.i,s=o[a];if(a>0){o.splice(Math.max(e.i,a));for(var l=a;l<o.length;l++)o[l]=0}else{i=Math.max(0,i),e.i=1,o.length=Math.max(1,a=t+1),o[0]=0;for(var c=1;c<a;c++)o[c]=0}if(s>=5)if(a-1<0){for(var u=0;u>a;u--)o.unshift(0),e.i++;o.unshift(1),e.i++}else o[a-1]++;for(;i<Math.max(0,t);i++)o.push(0);var f=o.reduceRight((function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)}),0);f&&(o.unshift(f),e.i++)})(i=function(e){var t,n,r,o,i,a=0;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;"0"===e.charAt(r);r++);if(r===(i=e.length))t=[0],n=1;else{for(i--;"0"===e.charAt(i);)i--;for(n-=r,t=[],o=0;r<=i;r++,o++)t[o]=+e.charAt(r)}return n>22&&(t=t.splice(0,21),a=n-1,n=1),{d:t,e:a,i:n}}(l),o,t.minFrac,t.maxFrac);var u=i.d,f=i.i,d=i.e,p=[];for(s=u.reduce((function(e,t){return e&&!t}),!0);f<0;)u.unshift(0),f++;f>0?p=u.splice(f,u.length):(p=u,u=[0]);var h=[];for(u.length>=t.lgSize&&h.unshift(u.splice(-t.lgSize,u.length).join(""));u.length>t.gSize;)h.unshift(u.splice(-t.gSize,u.length).join(""));u.length&&h.unshift(u.join("")),c=h.join(n),p.length&&(c+=r+p.join("")),d&&(c+="e+"+d)}return e<0&&!s?t.negPre+c+t.negSuf:t.posPre+c+t.posSuf}function wo(e,t,n,r){var o="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,o="-")),e=""+e;e.length<t;)e="0"+e;return n&&(e=e.substr(e.length-t)),o+e}function xo(e,t,n,r,o){return n=n||0,function(i){var a=i["get"+e]();return(n>0||a>-n)&&(a+=n),0===a&&-12===n&&(a=12),wo(a,t,r,o)}}function ko(e,t,n){return function(r,o){var i=r["get"+e]();return o[d((n?"STANDALONE":"")+(t?"SHORT":"")+e)][i]}}function Mo(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function So(e){return function(t){var n,r=Mo(t.getFullYear()),o=+(n=t,new Date(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay())))-+r;return wo(1+Math.round(o/6048e5),e)}}function Oo(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}yo.$inject=["$locale"],bo.$inject=["$locale"];var Eo={yyyy:xo("FullYear",4,0,!1,!0),yy:xo("FullYear",2,0,!0,!0),y:xo("FullYear",1,0,!1,!0),MMMM:ko("Month"),MMM:ko("Month",!0),MM:xo("Month",2,1),M:xo("Month",1,1),LLLL:ko("Month",!1,!0),dd:xo("Date",2),d:xo("Date",1),HH:xo("Hours",2),H:xo("Hours",1),hh:xo("Hours",2,-12),h:xo("Hours",1,-12),mm:xo("Minutes",2),m:xo("Minutes",1),ss:xo("Seconds",2),s:xo("Seconds",1),sss:xo("Milliseconds",3),EEEE:ko("Day"),EEE:ko("Day",!0),a:function(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){var r=-1*n,o=r>=0?"+":"";return o+=wo(Math[r>0?"floor":"ceil"](r/60),2)+wo(Math.abs(r%60),2)},ww:So(2),w:So(1),G:Oo,GG:Oo,GGG:Oo,GGGG:function(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}},Lo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,To=/^-?\d+$/;function Do(e){var t=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,o){var i,a,s="",l=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,z(n)&&(n=To.test(n)?D(n):function(e){var n;if(n=e.match(t)){var r=new Date(0),o=0,i=0,a=n[8]?r.setUTCFullYear:r.setFullYear,s=n[8]?r.setUTCHours:r.setHours;n[9]&&(o=D(n[9]+n[10]),i=D(n[9]+n[11])),a.call(r,D(n[1]),D(n[2])-1,D(n[3]));var l=D(n[4]||0)-o,c=D(n[5]||0)-i,u=D(n[6]||0),f=Math.round(1e3*parseFloat("0."+(n[7]||0)));return s.call(r,l,c,u,f),r}return e}(n)),F(n)&&(n=new Date(n)),!B(n)||!isFinite(n.getTime()))return n;for(;r;)(a=Lo.exec(r))?r=(l=ue(l,a,1)).pop():(l.push(r),r=null);var c=n.getTimezoneOffset();return o&&(c=ve(o,c),n=be(n,o,!0)),x(l,(function(t){s+=(i=Eo[t])?i(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),s}}function Co(){return function(e,t){return R(t)&&(t=2),he(e,t)}}Do.$inject=["$locale"];var Po=A(f),jo=A(d);function Yo(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):D(t),C(t)?e:(F(e)&&(e=e.toString()),w(e)?(n=(n=!n||isNaN(n)?0:D(n))<0?Math.max(0,e.length+n):n,t>=0?Ao(e,n,n+t):0===n?Ao(e,t,e.length):Ao(e,Math.max(0,n+t),n)):e)}}function Ao(e,t,n){return z(e)?e.slice(t,n):p.call(e,t,n)}function Io(e){return function(r,i,a,s){if(null==r)return r;if(!w(r))throw o("orderBy")("notarray","Expected array but received: {0}",r);U(i)||(i=[i]),0===i.length&&(i=["+"]);var l=i.map((function(t){var n=1,r=Y;if(V(t))r=t;else if(z(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t)).constant)){var o=r();r=function(e){return e[o]}}return{get:r,descending:n}})),c=a?-1:1,u=V(s)?s:n,f=Array.prototype.map.call(r,(function(e,n){return{value:e,tieBreaker:{value:n,type:"number",index:n},predicateValues:l.map((function(r){return function(e,n){var r=typeof e;null===e?r="null":"object"===r&&(e=function(e){if(V(e.valueOf)&&t(e=e.valueOf()))return e;if(I(e)&&t(e=e.toString()))return e;return e}(e));return{value:e,type:r,index:n}}(r.get(e),n)}))}}));return f.sort((function(e,t){for(var r=0,o=l.length;r<o;r++){var i=u(e.predicateValues[r],t.predicateValues[r]);if(i)return i*l[r].descending*c}return(u(e.tieBreaker,t.tieBreaker)||n(e.tieBreaker,t.tieBreaker))*c})),r=f.map((function(e){return e.value}))};function t(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function n(e,t){var n=0,r=e.type,o=t.type;if(r===o){var i=e.value,a=t.value;"string"===r?(i=i.toLowerCase(),a=a.toLowerCase()):"object"===r&&(H(i)&&(i=e.index),H(a)&&(a=t.index)),i!==a&&(n=i<a?-1:1)}else n="undefined"===r?1:"undefined"===o?-1:"null"===r?1:"null"===o||r<o?-1:1;return n}}function Ro(e){return V(e)&&(e={link:e}),e.restrict=e.restrict||"AC",A(e)}Io.$inject=["$parse"];var $o=A({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===g.call(t.prop("href"))?"xlink:href":"href";t.on("click",(function(e){t.attr(n)||e.preventDefault()}))}}}}),Ho={};x(Ct,(function(e,t){if("multiple"!==e){var n=bn("ng-"+t),r=o;"checked"===e&&(r=function(e,t,r){r.ngModel!==r[n]&&o(e,0,r)}),Ho[n]=function(){return{restrict:"A",priority:100,link:r}}}function o(e,r,o){e.$watch(o[n],(function(e){o.$set(t,!!e)}))}})),x(jt,(function(e,t){Ho[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var o=r.ngPattern.match(c);if(o)return void r.$set("ngPattern",new RegExp(o[1],o[2]))}e.$watch(r[t],(function(e){r.$set(t,e)}))}}}})),x(["src","srcset","href"],(function(e){var t=bn("ng-"+e);Ho[t]=["$sce",function(n){return{priority:99,link:function(r,o,a){var s=e,l=e;"href"===e&&"[object SVGAnimatedString]"===g.call(o.prop("href"))&&(l="xlinkHref",a.$attr[l]="xlink:href",s=null),a.$set(t,n.getTrustedMediaUrl(a[t])),a.$observe(t,(function(t){t?(a.$set(l,t),i&&s&&o.prop(s,a[l])):"href"===e&&a.$set(l,null)}))}}}]}));var No={$addControl:j,$getControls:A([]),$$renameControl:function(e,t){e.$name=t},$removeControl:j,$setValidity:j,$setDirty:j,$setPristine:j,$setSubmitted:j,$$setSubmitted:j};function zo(e,t,n,r,o){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=o(t.name||t.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=No,this.$$element=e,this.$$animate=r,Wo(this)}zo.$inject=["$element","$attrs","$scope","$animate","$interpolate"],zo.prototype={$rollbackViewValue:function(){x(this.$$controls,(function(e){e.$rollbackViewValue()}))},$commitViewValue:function(){x(this.$$controls,(function(e){e.$commitViewValue()}))},$addControl:function(e){Re(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$getControls:function(){return Fe(this.$$controls)},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],x(this.$pending,(function(t,n){this.$setValidity(n,null,e)}),this),x(this.$error,(function(t,n){this.$setValidity(n,null,e)}),this),x(this.$$success,(function(t,n){this.$setValidity(n,null,e)}),this),oe(this.$$controls,e),e.$$parentForm=No},$setDirty:function(){this.$$animate.removeClass(this.$$element,Ni),this.$$animate.addClass(this.$$element,zi),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Ni,zi+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,x(this.$$controls,(function(e){e.$setPristine()}))},$setUntouched:function(){x(this.$$controls,(function(e){e.$setUntouched()}))},$setSubmitted:function(){for(var e=this;e.$$parentForm&&e.$$parentForm!==No;)e=e.$$parentForm;e.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,x(this.$$controls,(function(e){e.$$setSubmitted&&e.$$setSubmitted()}))}},Vo({clazz:zo,set:function(e,t,n){var r=e[t];r?-1===r.indexOf(n)&&r.push(n):e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(oe(r,n),0===r.length&&delete e[t])}});var Fo=function(e){return["$timeout","$parse",function(t,n){return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:zo,compile:function(n,o){n.addClass(Ni).addClass($i);var i=o.name?"name":!(!e||!o.ngForm)&&"ngForm";return{pre:function(e,n,o,a){var s=a[0];if(!("action"in o)){var l=function(t){e.$apply((function(){s.$commitViewValue(),s.$setSubmitted()})),t.preventDefault()};n[0].addEventListener("submit",l),n.on("$destroy",(function(){t((function(){n[0].removeEventListener("submit",l)}),0,!1)}))}(a[1]||s.$$parentForm).$addControl(s);var c=i?r(s.$name):j;i&&(c(e,s),o.$observe(i,(function(t){s.$name!==t&&(c(e,void 0),s.$$parentForm.$$renameControl(s,t),(c=r(s.$name))(e,s))}))),n.on("$destroy",(function(){s.$$parentForm.$removeControl(s),c(e,void 0),L(s,No)}))}}}};function r(e){return""===e?n('this[""]').assign:n(e).assign||j}}]},Bo=Fo(),Uo=Fo(!0);function Wo(e){e.$$classCache={},e.$$classCache[Hi]=!(e.$$classCache[$i]=e.$$element.hasClass($i))}function Vo(e){var t=e.clazz,n=e.set,r=e.unset;function o(e,t,n){n&&!e.$$classCache[t]?(e.$$animate.addClass(e.$$element,t),e.$$classCache[t]=!0):!n&&e.$$classCache[t]&&(e.$$animate.removeClass(e.$$element,t),e.$$classCache[t]=!1)}function i(e,t,n){t=t?"-"+Pe(t,"-"):"",o(e,$i+t,!0===n),o(e,Hi+t,!1===n)}t.prototype.$setValidity=function(e,t,a){var s;R(t)?function(e,t,r,o){e[t]||(e[t]={});n(e[t],r,o)}(this,"$pending",e,a):function(e,t,n,o){e[t]&&r(e[t],n,o);qo(e[t])&&(e[t]=void 0)}(this,"$pending",e,a),J(t)?t?(r(this.$error,e,a),n(this.$$success,e,a)):(n(this.$error,e,a),r(this.$$success,e,a)):(r(this.$error,e,a),r(this.$$success,e,a)),this.$pending?(o(this,"ng-pending",!0),this.$valid=this.$invalid=void 0,i(this,"",null)):(o(this,"ng-pending",!1),this.$valid=qo(this.$error),this.$invalid=!this.$valid,i(this,"",this.$valid)),i(this,e,s=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null)),this.$$parentForm.$setValidity(e,s,this)}}function qo(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}var Go=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ko=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Jo=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Qo=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Zo=/^(\d{4,})-(\d{2})-(\d{2})$/,Xo=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ei=/^(\d{4,})-W(\d\d)$/,ti=/^(\d{4,})-(\d\d)$/,ni=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ri=He();x("date,datetime-local,month,time,week".split(","),(function(e){ri[e]=!0}));var oi={text:function(e,t,n,r,o,i){ai(e,t,n,r,o,i),ii(r)},date:li("date",Zo,si(Zo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":li("datetimelocal",Xo,si(Xo,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:li("time",ni,si(ni,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:li("week",ei,(function(e,t){if(B(e))return e;if(z(e)){ei.lastIndex=0;var n=ei.exec(e);if(n){var r=+n[1],o=+n[2],i=0,a=0,s=0,l=0,c=Mo(r),u=7*(o-1);return t&&(i=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),l=t.getMilliseconds()),new Date(r,0,c.getDate()+u,i,a,s,l)}}return NaN}),"yyyy-Www"),month:li("month",ti,si(ti,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,n,r,o,i,a,s){var l;if(ci(e,t,n,r,"number"),ui(r),ai(e,t,n,r,o,i),$(n.min)||n.ngMin){var c=n.min||s(n.ngMin)(e);l=fi(c),r.$validators.min=function(e,t){return r.$isEmpty(t)||R(l)||t>=l},n.$observe("min",(function(e){e!==c&&(l=fi(e),c=e,r.$validate())}))}if($(n.max)||n.ngMax){var u=n.max||s(n.ngMax)(e),f=fi(u);r.$validators.max=function(e,t){return r.$isEmpty(t)||R(f)||t<=f},n.$observe("max",(function(e){e!==u&&(f=fi(e),u=e,r.$validate())}))}if($(n.step)||n.ngStep){var d=n.step||s(n.ngStep)(e),p=fi(d);r.$validators.step=function(e,t){return r.$isEmpty(t)||R(p)||hi(t,l||0,p)},n.$observe("step",(function(e){e!==d&&(p=fi(e),d=e,r.$validate())}))}},url:function(e,t,n,r,o,i){ai(e,t,n,r,o,i),ii(r),r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ko.test(n)}},email:function(e,t,n,r,o,i){ai(e,t,n,r,o,i),ii(r),r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Jo.test(n)}},radio:function(e,t,n,r){var o=!n.ngTrim||"false"!==X(n.ngTrim);R(n.name)&&t.attr("name",S());t.on("change",(function(e){var i;t[0].checked&&(i=n.value,o&&(i=X(i)),r.$setViewValue(i,e&&e.type))})),r.$render=function(){var e=n.value;o&&(e=X(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)},range:function(e,t,n,r,o,i){ci(e,t,n,r,"range"),ui(r),ai(e,t,n,r,o,i);var a=r.$$hasNativeValidators&&"range"===t[0].type,s=a?0:void 0,l=a?100:void 0,c=a?1:void 0,u=t[0].validity,f=$(n.min),d=$(n.max),p=$(n.step),h=r.$render;r.$render=a&&$(u.rangeUnderflow)&&$(u.rangeOverflow)?function(){h(),r.$setViewValue(t.val())}:h,f&&(s=fi(n.min),r.$validators.min=a?function(){return!0}:function(e,t){return r.$isEmpty(t)||R(s)||t>=s},m("min",(function(e){if(s=fi(e),C(r.$modelValue))return;if(a){var n=t.val();s>n&&(n=s,t.val(n)),r.$setViewValue(n)}else r.$validate()})));d&&(l=fi(n.max),r.$validators.max=a?function(){return!0}:function(e,t){return r.$isEmpty(t)||R(l)||t<=l},m("max",(function(e){if(l=fi(e),C(r.$modelValue))return;if(a){var n=t.val();l<n&&(t.val(l),n=l<s?s:l),r.$setViewValue(n)}else r.$validate()})));p&&(c=fi(n.step),r.$validators.step=a?function(){return!u.stepMismatch}:function(e,t){return r.$isEmpty(t)||R(c)||hi(t,s||0,c)},m("step",(function(e){if(c=fi(e),C(r.$modelValue))return;a?r.$viewValue!==t.val()&&r.$setViewValue(t.val()):r.$validate()})));function m(e,r){t.attr(e,n[e]);var o=n[e];n.$observe(e,(function(e){e!==o&&(o=e,r(e))}))}},checkbox:function(e,t,n,r,o,i,a,s){var l=mi(s,e,"ngTrueValue",n.ngTrueValue,!0),c=mi(s,e,"ngFalseValue",n.ngFalseValue,!1);t.on("change",(function(e){r.$setViewValue(t[0].checked,e&&e.type)})),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push((function(e){return se(e,l)})),r.$parsers.push((function(e){return e?l:c}))},hidden:j,button:j,submit:j,reset:j,file:j};function ii(e){e.$formatters.push((function(t){return e.$isEmpty(t)?t:t.toString()}))}function ai(e,t,n,r,o,i){var a,s=f(t[0].type);if(!o.android){var l=!1;t.on("compositionstart",(function(){l=!0})),t.on("compositionupdate",(function(e){(R(e.data)||""===e.data)&&(l=!1)})),t.on("compositionend",(function(){l=!1,c()}))}var c=function(e){if(a&&(i.defer.cancel(a),a=null),!l){var o=t.val(),c=e&&e.type;"password"===s||n.ngTrim&&"false"===n.ngTrim||(o=X(o)),(r.$viewValue!==o||""===o&&r.$$hasNativeValidators)&&r.$setViewValue(o,c)}};if(o.hasEvent("input"))t.on("input",c);else{var u=function(e,t,n){a||(a=i.defer((function(){a=null,t&&t.value===n||c(e)})))};t.on("keydown",(function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||u(e,this,this.value)})),o.hasEvent("paste")&&t.on("paste cut drop",u)}t.on("change",c),ri[s]&&r.$$hasNativeValidators&&s===n.type&&t.on("keydown wheel mousedown",(function(e){if(!a){var t=this.validity,n=t.badInput,r=t.typeMismatch;a=i.defer((function(){a=null,t.badInput===n&&t.typeMismatch===r||c(e)}))}})),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function si(e,t){return function(n,r){var o,i;if(B(n))return n;if(z(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Go.test(n))return new Date(n);if(e.lastIndex=0,o=e.exec(n)){o.shift(),i=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},x(o,(function(e,n){n<t.length&&(i[t[n]]=+e)}));var a=new Date(i.yyyy,i.MM-1,i.dd,i.HH,i.mm,i.ss||0,1e3*i.sss||0);return i.yyyy<100&&a.setFullYear(i.yyyy),a}}return NaN}}function li(e,t,n,r){return function(o,i,a,s,l,c,u,f){ci(o,i,a,s,e),ai(0,i,a,s,l,c);var d,p,h="time"===e||"datetimelocal"===e;if(s.$parsers.push((function(n){return s.$isEmpty(n)?null:t.test(n)?w(n,d):void(s.$$parserName=e)})),s.$formatters.push((function(e){if(e&&!B(e))throw Fi("datefmt","Expected `{0}` to be a date",e);if(b(e)){d=e;var t=s.$options.getOption("timezone");return t&&(p=t,d=be(d,t,!0)),function(e,t){var n=r;h&&z(s.$options.getOption("timeSecondsFormat"))&&(n=r.replace("ss.sss",s.$options.getOption("timeSecondsFormat")).replace(/:$/,""));var o=u("date")(e,n,t);h&&s.$options.getOption("timeStripZeroSeconds")&&(o=o.replace(/(?::00)?(?:\.000)?$/,""));return o}(e,t)}return d=null,p=null,""})),$(a.min)||a.ngMin){var m=a.min||f(a.ngMin)(o),g=_(m);s.$validators.min=function(e){return!b(e)||R(g)||n(e)>=g},a.$observe("min",(function(e){e!==m&&(g=_(e),m=e,s.$validate())}))}if($(a.max)||a.ngMax){var v=a.max||f(a.ngMax)(o),y=_(v);s.$validators.max=function(e){return!b(e)||R(y)||n(e)<=y},a.$observe("max",(function(e){e!==v&&(y=_(e),v=e,s.$validate())}))}function b(e){return e&&!(e.getTime&&e.getTime()!=e.getTime())}function _(e){return $(e)&&!B(e)?w(e)||void 0:e}function w(e,t){var r=s.$options.getOption("timezone");p&&p!==r&&(t=ye(t,ve(p)));var o=n(e,t);return!isNaN(o)&&r&&(o=be(o,r)),o}}}function ci(e,t,n,r,o){var i=t[0];(r.$$hasNativeValidators=H(i.validity))&&r.$parsers.push((function(e){var n=t.prop("validity")||{};if(!n.badInput&&!n.typeMismatch)return e;r.$$parserName=o}))}function ui(e){e.$parsers.push((function(t){return e.$isEmpty(t)?null:Qo.test(t)?parseFloat(t):void(e.$$parserName="number")})),e.$formatters.push((function(t){if(!e.$isEmpty(t)){if(!F(t))throw Fi("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t}))}function fi(e){return $(e)&&!F(e)&&(e=parseFloat(e)),C(e)?void 0:e}function di(e){return(0|e)===e}function pi(e){var t=e.toString(),n=t.indexOf(".");if(-1===n){if(-1<e&&e<1){var r=/e-(\d+)$/.exec(t);if(r)return Number(r[1])}return 0}return t.length-n-1}function hi(e,t,n){var r=Number(e),o=!di(r),i=!di(t),a=!di(n);if(o||i||a){var s=o?pi(r):0,l=i?pi(t):0,c=a?pi(n):0,u=Math.max(s,l,c),f=Math.pow(10,u);r*=f,t*=f,n*=f,o&&(r=Math.round(r)),i&&(t=Math.round(t)),a&&(n=Math.round(n))}return(r-t)%n==0}function mi(e,t,n,r,o){var i;if($(r)){if(!(i=e(r)).constant)throw Fi("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return i(t)}return o}var gi=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(o,i,a,s){s[0]&&(oi[f(a.type)]||oi.text)(o,i,a,s[0],t,e,n,r)}}}}],vi=function(){var e={configurable:!0,enumerable:!1,get:function(){return this.getAttribute("value")||""},set:function(e){this.setAttribute("value",e)}};return{restrict:"E",priority:200,compile:function(t,n){if("hidden"===f(n.type))return{pre:function(t,n,r,o){var i=n[0];i.parentNode&&i.parentNode.insertBefore(i,i.nextSibling),Object.defineProperty&&Object.defineProperty(i,"value",e)}}}}},yi=/^(true|false|\d+)$/,bi=function(){function e(e,t,n){var r=$(n)?n:9===i?"":null;e.prop("value",r),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return yi.test(n.ngValue)?function(t,n,r){e(n,r,t.$eval(r.ngValue))}:function(t,n,r){t.$watch(r.ngValue,(function(t){e(n,r,t)}))}}}},_i=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,(function(e){n.textContent=Ne(e)}))}}}}],wi=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,o){var i=e(r.attr(o.$attr.ngBindTemplate));t.$$addBindingInfo(r,i.expressions),r=r[0],o.$observe("ngBindTemplate",(function(e){r.textContent=R(e)?"":e}))}}}}],xi=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,o){var i=t(o.ngBindHtml),a=t(o.ngBindHtml,(function(t){return e.valueOf(t)}));return n.$$addBindingClass(r),function(t,r,o){n.$$addBindingInfo(r,o.ngBindHtml),t.$watch(a,(function(){var n=i(t);r.html(e.getTrustedHtml(n)||"")}))}}}}],ki=A({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push((function(){e.$eval(n.ngChange)}))}});function Mi(e,t){var n;return e="ngClass"+e,["$parse",function(a){return{restrict:"AC",link:function(s,l,c){var u,f=l.data("$classCounts"),d=!0;function p(e,t){var n=[];return x(e,(function(e){(t>0||f[e])&&(f[e]=(f[e]||0)+t,f[e]===+(t>0)&&n.push(e))})),n.join(" ")}f||(f=He(),l.data("$classCounts",f)),"ngClass"!==e&&(n||(n=a("$index",(function(e){return 1&e}))),s.$watch(n,(function(e){e===t?(n=p(o(n=u),1),c.$addClass(n)):function(e){e=p(o(e),-1),c.$removeClass(e)}(u);var n;d=e}))),s.$watch(a(c[e],i),(function(e){d===t&&function(e,t){var n=o(e),i=o(t),a=r(n,i),s=r(i,n),l=p(a,-1),u=p(s,1);c.$addClass(u),c.$removeClass(l)}(u,e);u=e}))}}}];function r(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r<e.length;r++){for(var o=e[r],i=0;i<t.length;i++)if(o===t[i])continue e;n.push(o)}return n}function o(e){return e&&e.split(" ")}function i(e){if(!e)return e;var t=e;return U(e)?t=e.map(i).join(" "):H(e)?t=Object.keys(e).filter((function(t){return e[t]})).join(" "):z(e)||(t=e+""),t}}var Si=Mi("",!0),Oi=Mi("Odd",0),Ei=Mi("Even",1),Li=Ro({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),Ti=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Di={},Ci={blur:!0,focus:!0};function Pi(e,t,n,r,o,i){return{restrict:"A",compile:function(a,s){var l=e(s[r]);return function(e,r){r.on(o,(function(r){var o=function(){l(e,{$event:r})};if(t.$$phase)if(i)e.$evalAsync(o);else try{o()}catch(e){n(e)}else e.$apply(o)}))}}}}x("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),(function(e){var t=bn("ng-"+e);Di[t]=["$parse","$rootScope","$exceptionHandler",function(n,r,o){return Pi(n,r,o,t,e,Ci[e])}]}));var ji=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,o,i,a){var s,l,c;n.$watch(o.ngIf,(function(n){n?l||a((function(n,i){l=i,n[n.length++]=t.$$createComment("end ngIf",o.ngIf),s={clone:n},e.enter(n,r.parent(),r)})):(c&&(c.remove(),c=null),l&&(l.$destroy(),l=null),s&&(c=$e(s.clone),e.leave(c).done((function(e){!1!==e&&(c=null)})),s=null))}))}}}],Yi=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:b.noop,compile:function(r,o){var i=o.ngInclude||o.src,a=o.onload||"",s=o.autoscroll;return function(r,o,l,c,u){var f,d,p,h=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),p&&(n.leave(p).done((function(e){!1!==e&&(d=null)})),d=p,p=null)};r.$watch(i,(function(i){var l=function(e){!1===e||!$(s)||s&&!r.$eval(s)||t()},d=++h;i?(e(i,!0).then((function(e){if(!r.$$destroyed&&d===h){var t=r.$new();c.template=e;var s=u(t,(function(e){m(),n.enter(e,null,o).done(l)}));p=s,(f=t).$emit("$includeContentLoaded",i),r.$eval(a)}}),(function(){r.$$destroyed||d===h&&(m(),r.$emit("$includeContentError",i))})),r.$emit("$includeContentRequested",i)):(m(),c.template=null)}))}}}}],Ai=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,o,i){if(g.call(r[0]).match(/SVG/))return r.empty(),void t(ut(i.template,e.document).childNodes)(n,(function(e){r.append(e)}),{futureParentElement:r});r.html(i.template),t(r.contents())(n)}}}],Ii=Ro({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Ri=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var o=n.ngList||", ",i="false"!==n.ngTrim,a=i?X(o):o;r.$parsers.push((function(e){if(!R(e)){var t=[];return e&&x(e.split(a),(function(e){e&&t.push(i?X(e):e)})),t}})),r.$formatters.push((function(e){if(U(e))return e.join(o)})),r.$isEmpty=function(e){return!e||!e.length}}}},$i="ng-valid",Hi="ng-invalid",Ni="ng-pristine",zi="ng-dirty",Fi=o("ngModel");function Bi(e,t,n,r,o,i,a,s,l){var c;this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=l(n.name||"",!1)(e),this.$$parentForm=No,this.$options=Ui,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=o(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=e,this.$$rootScope=e.$root,this.$$attr=n,this.$$element=r,this.$$animate=i,this.$$timeout=a,this.$$parse=o,this.$$q=s,this.$$exceptionHandler=t,Wo(this),(c=this).$$scope.$watch((function(e){var t=c.$$ngModelGet(e);return t===c.$modelValue||c.$modelValue!=c.$modelValue&&t!=t||c.$$setModelValue(t),t}))}Bi.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Bi.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return V(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){V(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}}else if(!this.$$parsedNgModel.assign)throw Fi("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,_e(this.$$element))},$render:j,$isEmpty:function(e){return R(e)||""===e||null===e||e!=e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,zi),this.$$animate.addClass(this.$$element,Ni)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Ni),this.$$animate.addClass(this.$$element,zi),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!C(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,o=this.$options.getOption("allowInvalid"),i=this;this.$$runValidators(t,e,(function(e){o||n===e||(i.$modelValue=e?t:void 0,i.$modelValue!==r&&i.$$writeModelToScope())}))}},$$runValidators:function(e,t,n){this.$$currentValidationRunId++;var r,o,i=this.$$currentValidationRunId,a=this;(function(){var e=a.$$parserName;if(!R(a.$$parserValid))return a.$$parserValid||(x(a.$validators,(function(e,t){s(t,null)})),x(a.$asyncValidators,(function(e,t){s(t,null)}))),s(e,a.$$parserValid),a.$$parserValid;s(e,null);return!0})()?!function(){var n=!0;if(x(a.$validators,(function(r,o){var i=Boolean(r(e,t));n=n&&i,s(o,i)})),!n)return x(a.$asyncValidators,(function(e,t){s(t,null)})),!1;return!0}()?l(!1):(r=[],o=!0,x(a.$asyncValidators,(function(n,i){var a=n(e,t);if(!Q(a))throw Fi("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(i,void 0),r.push(a.then((function(){s(i,!0)}),(function(){o=!1,s(i,!1)})))})),r.length?a.$$q.all(r).then((function(){l(o)}),j):l(!0)):l(!1);function s(e,t){i===a.$$currentValidationRunId&&a.$setValidity(e,t)}function l(e){i===a.$$currentValidationRunId&&n(e)}},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){var e=this.$$lastCommittedViewValue,t=this;if(this.$$parserValid=!R(e)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(var n=0;n<this.$parsers.length;n++)if(R(e=this.$parsers[n](e))){this.$$parserValid=!1;break}C(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var r=this.$modelValue,o=this.$options.getOption("allowInvalid");function i(){t.$modelValue!==r&&t.$$writeModelToScope()}this.$$rawModelValue=e,o&&(this.$modelValue=e,i()),this.$$runValidators(e,this.$$lastCommittedViewValue,(function(n){o||(t.$modelValue=n?e:void 0,i())}))},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),x(this.$viewChangeListeners,(function(e){try{e()}catch(e){this.$$exceptionHandler(e)}}),this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");F(t[e])?t=t[e]:F(t.default)&&-1===this.$options.getOption("updateOn").indexOf(e)?t=t.default:F(t["*"])&&(t=t["*"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;t>0?this.$$pendingDebounce=this.$$timeout((function(){n.$commitViewValue()}),t):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply((function(){n.$commitViewValue()}))},$overrideModelOptions:function(e){this.$options=this.$options.createChild(e),this.$$setUpdateOnEvents()},$processModelValue:function(){var e=this.$$format();this.$viewValue!==e&&(this.$$updateEmptyClasses(e),this.$viewValue=this.$$lastCommittedViewValue=e,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,j))},$$format:function(){for(var e=this.$formatters,t=e.length,n=this.$modelValue;t--;)n=e[t](n);return n},$$setModelValue:function(e){this.$modelValue=this.$$rawModelValue=e,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler),this.$$updateEvents=this.$options.getOption("updateOn"),this.$$updateEvents&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(e){this.$$debounceViewValueCommit(e&&e.type)}},Vo({clazz:Bi,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var Ui,Wi=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Bi,priority:1,compile:function(t){return t.addClass(Ni).addClass("ng-untouched").addClass($i),{pre:function(e,t,n,r){var o=r[0],i=r[1]||o.$$parentForm,a=r[2];a&&(o.$options=a.$options),o.$$initGetterSetters(),i.$addControl(o),n.$observe("name",(function(e){o.$name!==e&&o.$$parentForm.$$renameControl(o,e)})),e.$on("$destroy",(function(){o.$$parentForm.$removeControl(o)}))},post:function(t,n,r,o){var i=o[0];function a(){i.$setTouched()}i.$$setUpdateOnEvents(),n.on("blur",(function(){i.$touched||(e.$$phase?t.$evalAsync(a):t.$apply(a))}))}}}}}],Vi=/(\s+|^)default(\s+|$)/;function qi(e){this.$$options=e}qi.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return x(e=L({},e),(function(n,r){"$inherit"===n?"*"===r?t=!0:(e[r]=this.$$options[r],"updateOn"===r&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(e.updateOnDefault=!1,e[r]=X(n.replace(Vi,(function(){return e.updateOnDefault=!0," "}))))}),this),t&&(delete e["*"],Ki(e,this.$$options)),Ki(e,Ui.$$options),new qi(e)}},Ui=new qi({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Gi=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:Ui,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}};function Ki(e,t){x(t,(function(t,n){$(e[n])||(e[n]=t)}))}var Ji=Ro({terminal:!0,priority:1e3}),Qi=o("ngOptions"),Zi=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,Xi=["$compile","$document","$parse",function(t,n,r){var o=e.document.createElement("option"),i=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=j},post:function(e,s,l,c){for(var u=c[0],f=c[1],d=l.multiple,p=0,h=s.children(),m=h.length;p<m;p++)if(""===h[p].value){u.hasEmptyOption=!0,u.emptyOption=h.eq(p);break}s.empty();var g,v=!!u.emptyOption;a(o.cloneNode(!1)).val("?");var y=function(e,t,n){var o=e.match(Zi);if(!o)throw Qi("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,_e(t));var i=o[5]||o[7],a=o[6],s=/ as /.test(o[0])&&o[1],l=o[9],c=r(o[2]?o[1]:i),u=s&&r(s)||c,f=l&&r(l),d=l?function(e,t){return f(n,t)}:function(e){return $t(e)},p=function(e,t){return d(e,b(e,t))},h=r(o[2]||o[1]),m=r(o[3]||""),g=r(o[4]||""),v=r(o[8]),y={},b=a?function(e,t){return y[a]=t,y[i]=e,y}:function(e){return y[i]=e,y};function _(e,t,n,r,o){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=o}function x(e){var t;if(!a&&w(e))t=e;else for(var n in t=[],e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n);return t}return{trackBy:l,getTrackByValue:p,getWatchables:r(v,(function(e){for(var t=[],r=x(e=e||[]),i=r.length,a=0;a<i;a++){var s=e===r?a:r[a],l=e[s],c=b(l,s),u=d(l,c);if(t.push(u),o[2]||o[1]){var f=h(n,c);t.push(f)}if(o[4]){var p=g(n,c);t.push(p)}}return t})),getOptions:function(){for(var e=[],t={},r=v(n)||[],o=x(r),i=o.length,a=0;a<i;a++){var s=r===o?a:o[a],c=r[s],f=b(c,s),y=u(n,f),w=d(y,f),k=new _(w,y,h(n,f),m(n,f),g(n,f));e.push(k),t[w]=k}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[p(e)]},getViewValueFromOption:function(e){return l?ie(e.viewValue):e.viewValue}}}}}(l.ngOptions,s,e),b=n[0].createDocumentFragment();function _(e,t){var n=o.cloneNode(!1);t.appendChild(n),function(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label);t.value=e.selectValue}(e,n)}function k(e){var t=g.getOptionFromViewValue(e),n=t&&t.element;return n&&!n.selected&&(n.selected=!0),t}u.generateUnknownOptionValue=function(e){return"?"},d?(u.writeValue=function(e){if(g){var t=e&&e.map(k)||[];g.items.forEach((function(e){e.element.selected&&!re(t,e)&&(e.element.selected=!1)}))}},u.readValue=function(){var e=s.val()||[],t=[];return x(e,(function(e){var n=g.selectValueMap[e];n&&!n.disabled&&t.push(g.getViewValueFromOption(n))})),t},y.trackBy&&e.$watchCollection((function(){if(U(f.$viewValue))return f.$viewValue.map((function(e){return y.getTrackByValue(e)}))}),(function(){f.$render()}))):(u.writeValue=function(e){if(g){var t=s[0].options[s[0].selectedIndex],n=g.getOptionFromViewValue(e);t&&t.removeAttribute("selected"),n?(s[0].value!==n.selectValue&&(u.removeUnknownOption(),s[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):u.selectUnknownOrEmptyOption(e)}},u.readValue=function(){var e=g.selectValueMap[s.val()];return e&&!e.disabled?(u.unselectEmptyOption(),u.removeUnknownOption(),g.getViewValueFromOption(e)):null},y.trackBy&&e.$watch((function(){return y.getTrackByValue(f.$viewValue)}),(function(){f.$render()}))),v&&(t(u.emptyOption)(e),s.prepend(u.emptyOption),8===u.emptyOption[0].nodeType?(u.hasEmptyOption=!1,u.registerOption=function(e,t){""===t.val()&&(u.hasEmptyOption=!0,u.emptyOption=t,u.emptyOption.removeClass("ng-scope"),f.$render(),t.on("$destroy",(function(){var e=u.$isEmptyOptionSelected();u.hasEmptyOption=!1,u.emptyOption=void 0,e&&f.$render()})))}):u.emptyOption.removeClass("ng-scope")),e.$watchCollection(y.getWatchables,(function(){var e=g&&u.readValue();if(g)for(var t=g.items.length-1;t>=0;t--){var n=g.items[t];$(n.group)?Lt(n.element.parentNode):Lt(n.element)}g=y.getOptions();var r={};if(g.items.forEach((function(e){var t;$(e.group)?((t=r[e.group])||(t=i.cloneNode(!1),b.appendChild(t),t.label=null===e.group?"null":e.group,r[e.group]=t),_(e,t)):_(e,b)})),s[0].appendChild(b),f.$render(),!f.$isEmpty(e)){var o=u.readValue();(y.trackBy||d?se(e,o):e===o)||(f.$setViewValue(o),f.$render())}}))}}}}],ea=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,o=/^when(Minus)?(.+)$/;return{link:function(i,a,s){var l,c=s.count,u=s.$attr.when&&a.attr(s.$attr.when),d=s.offset||0,p=i.$eval(u)||{},h={},m=t.startSymbol(),g=t.endSymbol(),v=m+c+"-"+d+g,y=b.noop;function _(e){a.text(e||"")}x(s,(function(e,t){var n=o.exec(t);if(n){var r=(n[1]?"-":"")+f(n[2]);p[r]=a.attr(s.$attr[t])}})),x(p,(function(e,n){h[n]=t(e.replace(r,v))})),i.$watch(c,(function(t){var r=parseFloat(t),o=C(r);if(o||r in p||(r=e.pluralCat(r-d)),!(r===l||o&&C(l))){y();var a=h[r];R(a)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+u),y=j,_()):y=i.$watch(a,_),l=r}}))}}}],ta=o("ngRef"),na=["$parse",function(e){return{priority:-1,restrict:"A",compile:function(t,n){var r=bn(ne(t)),o=e(n.ngRef),i=o.assign||function(){throw ta("nonassign",'Expression in ngRef="{0}" is non-assignable!',n.ngRef)};return function(e,t,a){var s;if(a.hasOwnProperty("ngRefRead")){if("$element"===a.ngRefRead)s=t;else if(!(s=t.data("$"+a.ngRefRead+"Controller")))throw ta("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',a.ngRefRead,n.ngRef)}else s=t.data("$"+r+"Controller");i(e,s=s||t),t.on("$destroy",(function(){o(e)===s&&i(e,null)}))}}}}],ra=["$parse","$animate","$compile",function(e,t,n){var r=o("ngRepeat"),i=function(e,t,n,r,o,i,a){e[n]=r,o&&(e[o]=i),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))},a=function(e){return e.clone[0]},s=function(e){return e.clone[e.clone.length-1]},l=function(e,t,n){return $t(n)},c=function(e,t){return t};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(o,f){var d=f.ngRepeat,p=n.$$createComment("end ngRepeat",d),h=d.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!h)throw r("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",d);var m=h[1],g=h[2],v=h[3],y=h[4];if(!(h=m.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw r("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var b,_=h[3]||h[1],k=h[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(v)))throw r("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",v);if(y){var M={$id:$t},S=e(y);b=function(e,t,n,r){return k&&(M[k]=t),M[_]=n,M.$index=r,S(e,M)}}return function(e,n,o,f,h){var m=He();e.$watchCollection(g,(function(o){var f,g,y,S,O,E,L,T,D,C,P,j,Y=n[0],A=He();if(v&&(e[v]=o),w(o))D=o,T=b||l;else for(var I in T=b||c,D=[],o)u.call(o,I)&&"$"!==I.charAt(0)&&D.push(I);for(S=D.length,P=new Array(S),f=0;f<S;f++)if(O=o===D?f:D[f],E=o[O],L=T(e,O,E,f),m[L])C=m[L],delete m[L],A[L]=C,P[f]=C;else{if(A[L])throw x(P,(function(e){e&&e.scope&&(m[e.id]=e)})),r("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",d,L,E);P[f]={id:L,scope:void 0,clone:void 0},A[L]=!0}for(var R in M&&(M[_]=void 0),m){if(j=$e((C=m[R]).clone),t.leave(j),j[0].parentNode)for(f=0,g=j.length;f<g;f++)j[f].$$NG_REMOVED=!0;C.scope.$destroy()}for(f=0;f<S;f++)if(O=o===D?f:D[f],E=o[O],(C=P[f]).scope){y=Y;do{y=y.nextSibling}while(y&&y.$$NG_REMOVED);a(C)!==y&&t.move($e(C.clone),null,Y),Y=s(C),i(C.scope,f,_,E,k,O,S)}else h((function(e,n){C.scope=n;var r=p.cloneNode(!1);e[e.length++]=r,t.enter(e,null,Y),Y=r,C.clone=e,A[C.id]=C,i(C.scope,f,_,E,k,O,S)}));m=A}))}}}}],oa=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,(function(t){e[t?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})}))}}}],ia=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,(function(t){e[t?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})}))}}}],aa=Ro((function(e,t,n){e.$watchCollection(n.ngStyle,(function(e,n){n&&e!==n&&x(n,(function(e,n){t.css(n,"")})),e&&t.css(e)}))})),sa=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,o,i){var a=o.ngSwitch||o.on,s=[],l=[],c=[],u=[],f=function(e,t){return function(n){!1!==n&&e.splice(t,1)}};n.$watch(a,(function(n){for(var r,o;c.length;)e.cancel(c.pop());for(r=0,o=u.length;r<o;++r){var a=$e(l[r].clone);u[r].$destroy(),(c[r]=e.leave(a)).done(f(c,r))}l.length=0,u.length=0,(s=i.cases["!"+n]||i.cases["?"])&&x(s,(function(n){n.transclude((function(r,o){u.push(o);var i=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};l.push(a),e.enter(r,i.parent(),i)}))}))}))}}}],la=Ro({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,o){x(n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter((function(e,t,n){return n[t-1]!==e})),(function(e){r.cases["!"+e]=r.cases["!"+e]||[],r.cases["!"+e].push({transclude:o,element:t})}))}}),ca=Ro({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,o){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:o,element:t})}}),ua=o("ngTransclude"),fa=["$compile",function(e){return{restrict:"EAC",compile:function(t){var n=e(t.contents());return t.empty(),function(e,t,r,o,i){if(!i)throw ua("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",_e(t));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var a=r.ngTransclude||r.ngTranscludeSlot;function s(){n(e,(function(e){t.append(e)}))}i((function(e,n){e.length&&function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r.nodeType!==ze||r.nodeValue.trim())return!0}}(e)?t.append(e):(s(),n.$destroy())}),null,a),a&&!i.isSlotFilled(a)&&s()}}}}],da=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"===n.type){var r=n.id,o=t[0].text;e.put(r,o)}}}}],pa={$setViewValue:j,$render:j};function ha(e,t){e.prop("selected",t),e.attr("selected",t)}var ma=["$element","$scope",function(t,n){var r=this,o=new zt;r.selectValueMap={},r.ngModelCtrl=pa,r.multiple=!1,r.unknownOption=a(e.document.createElement("option")),r.hasEmptyOption=!1,r.emptyOption=void 0,r.renderUnknownOption=function(e){var n=r.generateUnknownOptionValue(e);r.unknownOption.val(n),t.prepend(r.unknownOption),ha(r.unknownOption,!0),t.val(n)},r.updateUnknownOption=function(e){var n=r.generateUnknownOptionValue(e);r.unknownOption.val(n),ha(r.unknownOption,!0),t.val(n)},r.generateUnknownOptionValue=function(e){return"? "+$t(e)+" ?"},r.removeUnknownOption=function(){r.unknownOption.parent()&&r.unknownOption.remove()},r.selectEmptyOption=function(){r.emptyOption&&(t.val(""),ha(r.emptyOption,!0))},r.unselectEmptyOption=function(){r.hasEmptyOption&&ha(r.emptyOption,!1)},n.$on("$destroy",(function(){r.renderUnknownOption=j})),r.readValue=function(){var e=t.val(),n=e in r.selectValueMap?r.selectValueMap[e]:e;return r.hasOption(n)?n:null},r.writeValue=function(e){var n=t[0].options[t[0].selectedIndex];if(n&&ha(a(n),!1),r.hasOption(e)){r.removeUnknownOption();var o=$t(e);t.val(o in r.selectValueMap?o:e);var i=t[0].options[t[0].selectedIndex];ha(a(i),!0)}else r.selectUnknownOrEmptyOption(e)},r.addOption=function(e,t){if(8!==t[0].nodeType){Re(e,'"option value"'),""===e&&(r.hasEmptyOption=!0,r.emptyOption=t);var n=o.get(e)||0;o.set(e,n+1),s()}},r.removeOption=function(e){var t=o.get(e);t&&(1===t?(o.delete(e),""===e&&(r.hasEmptyOption=!1,r.emptyOption=void 0)):o.set(e,t-1))},r.hasOption=function(e){return!!o.get(e)},r.$hasEmptyOption=function(){return r.hasEmptyOption},r.$isUnknownOptionSelected=function(){return t[0].options[0]===r.unknownOption[0]},r.$isEmptyOptionSelected=function(){return r.hasEmptyOption&&t[0].options[t[0].selectedIndex]===r.emptyOption[0]},r.selectUnknownOrEmptyOption=function(e){null==e&&r.emptyOption?(r.removeUnknownOption(),r.selectEmptyOption()):r.unknownOption.parent().length?r.updateUnknownOption(e):r.renderUnknownOption(e)};var i=!1;function s(){i||(i=!0,n.$$postDigest((function(){i=!1,r.ngModelCtrl.$render()})))}var l=!1;function c(e){l||(l=!0,n.$$postDigest((function(){n.$$destroyed||(l=!1,r.ngModelCtrl.$setViewValue(r.readValue()),e&&r.ngModelCtrl.$render())})))}r.registerOption=function(e,t,n,o,i){var a,l;n.$attr.ngValue?n.$observe("value",(function(e){var n,o=t.prop("selected");$(l)&&(r.removeOption(a),delete r.selectValueMap[l],n=!0),l=$t(e),a=e,r.selectValueMap[l]=e,r.addOption(e,t),t.attr("value",l),n&&o&&c()})):o?n.$observe("value",(function(e){var n;r.readValue();var o=t.prop("selected");$(a)&&(r.removeOption(a),n=!0),a=e,r.addOption(e,t),n&&o&&c()})):i?e.$watch(i,(function(e,o){n.$set("value",e);var i=t.prop("selected");o!==e&&r.removeOption(o),r.addOption(e,t),o&&i&&c()})):r.addOption(n.value,t);n.$observe("disabled",(function(e){("true"===e||e&&t.prop("selected"))&&(r.multiple?c(!0):(r.ngModelCtrl.$setViewValue(null),r.ngModelCtrl.$render()))})),t.on("$destroy",(function(){var e=r.readValue(),t=n.value;r.removeOption(t),s(),(r.multiple&&e&&-1!==e.indexOf(t)||e===t)&&c(!0)}))}}],ga=function(){return{restrict:"E",require:["select","?ngModel"],controller:ma,priority:1,link:{pre:function(e,t,n,r){var o=r[0],i=r[1];if(!i)return void(o.registerOption=j);if(o.ngModelCtrl=i,t.on("change",(function(){o.removeUnknownOption(),e.$apply((function(){i.$setViewValue(o.readValue())}))})),n.multiple){o.multiple=!0,o.readValue=function(){var e=[];return x(t.find("option"),(function(t){if(t.selected&&!t.disabled){var n=t.value;e.push(n in o.selectValueMap?o.selectValueMap[n]:n)}})),e},o.writeValue=function(e){x(t.find("option"),(function(t){var n=!!e&&(re(e,t.value)||re(e,o.selectValueMap[t.value]));n!==t.selected&&ha(a(t),n)}))};var s,l=NaN;e.$watch((function(){l!==i.$viewValue||se(s,i.$viewValue)||(s=Fe(i.$viewValue),i.$render()),l=i.$viewValue})),i.$isEmpty=function(e){return!e||0===e.length}}},post:function(e,t,n,r){var o=r[1];if(!o)return;var i=r[0];o.$render=function(){i.writeValue(o.$viewValue)}}}}},va=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var r,o;return $(n.ngValue)||($(n.value)?r=e(n.value,!0):(o=e(t.text(),!0))||n.$set("value",t.text())),function(e,t,n){var i=t.parent(),a=i.data("$selectController")||i.parent().data("$selectController");a&&a.registerOption(e,t,n,r,o)}}}}],ya=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,o){if(o){var i=r.hasOwnProperty("required")||e(r.ngRequired)(t);r.ngRequired||(r.required=!0),o.$validators.required=function(e,t){return!i||!o.$isEmpty(t)},r.$observe("required",(function(e){i!==e&&(i=e,o.$validate())}))}}}}],ba=["$parse",function(e){return{restrict:"A",require:"?ngModel",compile:function(t,n){var r,o;return n.ngPattern&&(r=n.ngPattern,o="/"===n.ngPattern.charAt(0)&&c.test(n.ngPattern)?function(){return n.ngPattern}:e(n.ngPattern)),function(e,t,n,i){if(i){var a=n.pattern;n.ngPattern?a=o(e):r=n.pattern;var s=xa(a,r,t);n.$observe("pattern",(function(e){var n=s;s=xa(e,r,t),(n&&n.toString())!==(s&&s.toString())&&i.$validate()})),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||R(s)||s.test(t)}}}}}}],_a=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,o){if(o){var i=r.maxlength||e(r.ngMaxlength)(t),a=ka(i);r.$observe("maxlength",(function(e){i!==e&&(a=ka(e),i=e,o.$validate())})),o.$validators.maxlength=function(e,t){return a<0||o.$isEmpty(t)||t.length<=a}}}}}],wa=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,o){if(o){var i=r.minlength||e(r.ngMinlength)(t),a=ka(i)||-1;r.$observe("minlength",(function(e){i!==e&&(a=ka(e)||-1,i=e,o.$validate())})),o.$validators.minlength=function(e,t){return o.$isEmpty(t)||t.length>=a}}}}}];function xa(e,t,n){if(e){if(z(e)&&(e=new RegExp("^"+e+"$")),!e.test)throw o("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",t,e,_e(n));return e}}function ka(e){var t=D(e);return C(t)?-1:t}e.angular.bootstrap?e.console&&console.log("WARNING: Tried to load AngularJS more than once."):(!function(){var t;if(!je){var n=ce();(s=R(n)?e.jQuery:n?e[n]:void 0)&&s.fn.on?(a=s,L(s.fn,{scope:Dt.scope,isolateScope:Dt.isolateScope,controller:Dt.controller,injector:Dt.injector,inheritedData:Dt.inheritedData})):a=dt,t=a.cleanData,a.cleanData=function(e){for(var n,r,o=0;null!=(r=e[o]);o++)(n=(a._data(r)||{}).events)&&n.$destroy&&a(r).triggerHandler("$destroy");t(e)},b.element=a,je=!0}}(),function(t){L(t,{errorHandlingConfig:n,bootstrap:Le,copy:ie,extend:L,merge:T,equals:se,element:a,forEach:x,injector:Qt,noop:j,bind:de,toJson:he,fromJson:me,identity:Y,isUndefined:R,isDefined:$,isString:z,isFunction:V,isObject:H,isNumber:F,isElement:te,isArray:U,version:Ue,isDate:B,callbacks:{$$counter:0},getTestability:De,reloadWithDebugInfo:Te,UNSAFE_restoreLegacyJqLiteXHTMLReplacement:Ye,$$minErr:o,$$csp:le,$$encodeUriSegment:ke,$$encodeUriQuery:Me,$$lowercase:f,$$stringify:Ne,$$uppercase:d}),(l=function(e){var t=o("$injector"),n=o("ng");function r(e,t,n){return e[t]||(e[t]=n())}var i=r(e,"angular",Object);return i.$$minErr=i.$$minErr||o,r(i,"module",(function(){var e={};return function(o,i,a){var s={};return function(e,t){if("hasOwnProperty"===e)throw n("badname","hasOwnProperty is not a valid {0} name",t)}(o,"module"),i&&e.hasOwnProperty(o)&&(e[o]=null),r(e,o,(function(){if(!i)throw t("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",o);var e=[],r=[],l=[],c=f("$injector","invoke","push",r),u={_invokeQueue:e,_configBlocks:r,_runBlocks:l,info:function(e){if($(e)){if(!H(e))throw n("aobj","Argument '{0}' must be an object","value");return s=e,this}return s},requires:i,name:o,provider:d("$provide","provider"),factory:d("$provide","factory"),service:d("$provide","service"),value:f("$provide","value"),constant:f("$provide","constant","unshift"),decorator:d("$provide","decorator",r),animation:d("$animateProvider","register"),filter:d("$filterProvider","register"),controller:d("$controllerProvider","register"),directive:d("$compileProvider","directive"),component:d("$compileProvider","component"),config:c,run:function(e){return l.push(e),this}};return a&&c(a),u;function f(t,n,r,o){return o||(o=e),function(){return o[r||"push"]([t,n,arguments]),u}}function d(t,n,r){return r||(r=e),function(e,i){return i&&V(i)&&(i.$$moduleName=o),r.push([t,n,arguments]),u}}}))}}))}(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Fr}),e.provider("$compile",mn).directive({a:$o,input:gi,textarea:gi,form:Bo,script:da,select:ga,option:va,ngBind:_i,ngBindHtml:xi,ngBindTemplate:wi,ngClass:Si,ngClassEven:Ei,ngClassOdd:Oi,ngCloak:Li,ngController:Ti,ngForm:Uo,ngHide:ia,ngIf:ji,ngInclude:Yi,ngInit:Ii,ngNonBindable:Ji,ngPluralize:ea,ngRef:na,ngRepeat:ra,ngShow:oa,ngStyle:aa,ngSwitch:sa,ngSwitchWhen:la,ngSwitchDefault:ca,ngOptions:Xi,ngTransclude:fa,ngModel:Wi,ngList:Ri,ngChange:ki,pattern:ba,ngPattern:ba,required:ya,ngRequired:ya,minlength:wa,ngMinlength:wa,maxlength:_a,ngMaxlength:_a,ngValue:bi,ngModelOptions:Gi}).directive({ngInclude:Ai,input:vi}).directive(Ho).directive(Di),e.provider({$anchorScroll:Zt,$animate:on,$animateCss:ln,$$animateJs:nn,$$animateQueue:rn,$$AnimateRunner:sn,$$animateAsyncRun:an,$browser:un,$cacheFactory:fn,$controller:Sn,$document:On,$$isDocumentHidden:En,$exceptionHandler:Ln,$filter:ho,$$forceReflow:Tn,$interpolate:qn,$interval:Kn,$$intervalFactory:Jn,$http:Bn,$httpParamSerializer:In,$httpParamSerializerJQLike:Rn,$httpBackend:Wn,$xhrFactory:Un,$jsonpCallbacks:Qn,$location:hr,$log:mr,$parse:jr,$rootScope:zr,$q:Yr,$$q:Ar,$sce:Kr,$sceDelegate:Gr,$sniffer:Jr,$$taskTrackerFactory:Qr,$templateCache:dn,$templateRequest:eo,$$testability:to,$timeout:ro,$window:uo,$$rAF:Nr,$$jqLite:Rt,$$Map:Ft,$$cookieReader:po})}]).info({angularVersion:"1.8.0"})}(b),b.module("ngLocale",[],["$provide",function(e){var t="one",n="other";e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,r){var o=0|e,i=function(e,t){var n=t;void 0===n&&(n=Math.min(function(e){var t=(e+="").indexOf(".");return-1==t?0:e.length-t-1}(e),3));var r=Math.pow(10,n);return{v:n,f:(e*r|0)%r}}(e,r);return 1==o&&0==i.v?t:n}})}]),a((function(){Ee(e.document,Le)})))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(window.angular.element("<style>").text('@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}'))},function(e,t,n){var r=n(31);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(40),o=n(289).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(112)(a);e.exports=function(){var e,t,n,c=function(){var r,o;for(l&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){o.call(r,c)};else{var f=!0,d=document.createTextNode("");new i(c).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(40).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){var r=n(20),o=n(223),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7:hover {\n transition: none;\n\n color: #ff008c;\n\n color: var(--ring-link-hover-color);\n }}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7:hover {\n text-decoration: none;\n }}\n\n.link_bf7 { /* To override link stiles inside alert */\n\n cursor: pointer;\n transition: color 0.15s ease-out;\n transition: color var(--ring-fast-ease);\n\n color: #0f5b99;\n\n color: var(--ring-link-color);\n }\n\n.link_bf7 {\n text-decoration: none;\n }\n\n.link_bf7.hover_43a {\n transition: none;\n\n color: #ff008c;\n\n color: var(--ring-link-hover-color);\n }\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7:hover .inner_cbe {\n border-width: 0;\n border-bottom: 2px solid;\n border-image-source: linear-gradient(currentcolor 50%, transparent 50%);\n border-image-slice: 0 0 100% 0;\n }}\n\n.link_bf7.active_77f {\n color: inherit;\n }\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7.compatibilityUnderlineMode_3ea:hover {\n text-decoration: underline\n\n /* stylelint-disable-next-line selector-max-specificity */\n }}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7.compatibilityUnderlineMode_3ea:hover .inner_cbe {\n border: none;\n }}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7.pseudo_f79:hover {\n text-decoration: none\n\n /* stylelint-disable-next-line selector-max-specificity */\n }}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7.pseudo_f79:hover .inner_cbe {\n border: none;\n }}\n\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7:hover .inner_cbe {\n border-bottom-width: 1px;\n }}\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.inherit_d8a:not(:hover) {\n color: inherit;\n}}\n\n.pseudo_f79 {\n padding: 0;\n\n text-align: left;\n\n border: 0;\n\n background: transparent;\n\n font: inherit\n}\n\n.pseudo_f79::-moz-focus-inner {\n padding: 0;\n\n border: 0;\n }\n",""]),t.locals={link:"link_bf7 "+o.locals.link,hover:"hover_43a",inner:"inner_cbe",active:"active_77f",compatibilityUnderlineMode:"compatibilityUnderlineMode_3ea",pseudo:"pseudo_f79",inherit:"inherit_d8a"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".group_e70 > *:not(:last-child) {\n margin-right: 8px;\n }\n",""]),t.locals={unit:""+o.locals.unit,group:"group_e70"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".title_1be {\n font-weight: 600;\n}\n\n.error_495 {\n margin-top: 4px;\n\n word-wrap: break-word;\n\n color: #ccc;\n\n color: var(--ring-dark-active-color);\n\n line-height: 16px;\n}\n",""]),t.locals={unit:""+o.locals.unit,title:"title_1be",error:"error_495"},e.exports=t},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(293),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!d["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{f(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),r=a(e),s=t&&"[object String]"===i.call(e),d=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=c&&n;if(s&&e.length>0&&!o.call(e,0))for(var m=0;m<e.length;++m)d.push(String(m));if(r&&e.length>0)for(var g=0;g<e.length;++g)d.push(String(g));else for(var v in e)h&&"prototype"===v||!o.call(e,v)||d.push(String(v));if(l)for(var y=function(e){if("undefined"==typeof window||!p)return f(e);try{return f(e)}catch(e){return!1}}(e),b=0;b<u.length;++b)y&&"constructor"===u[b]||!o.call(e,u[b])||d.push(u[b]);return d}}e.exports=r},function(e,t,n){"use strict";var r=n(117),o=n(228),i=n(295),a=n(296),s=n(805),l=o(a(),Object);r(l,{getPolyfill:a,implementation:i,shim:s}),e.exports=l},function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==i.call(t))throw new TypeError(r+t);for(var n,a=o.call(arguments,1),s=function(){if(this instanceof n){var r=t.apply(this,a.concat(o.call(arguments)));return Object(r)===r?r:this}return t.apply(e,a.concat(o.call(arguments)))},l=Math.max(0,t.length-a.length),c=[],u=0;u<l;u++)c.push("$"+u);if(n=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(s),t.prototype){var f=function(){};f.prototype=t.prototype,n.prototype=new f,f.prototype=null}return n}},function(e,t,n){"use strict";var r=n(296),o=n(117);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},function(e,t,n){"use strict";var r,o,i,a=n(128)()&&"symbol"==typeof Symbol.toStringTag;if(a){r=Function.call.bind(RegExp.prototype.exec),o={};var s=function(){throw o};i={toString:s,valueOf:s},"symbol"==typeof Symbol.toPrimitive&&(i[Symbol.toPrimitive]=s)}var l=Object.prototype.toString;e.exports=a?function(e){if(!e||"object"!=typeof e)return!1;try{r(e,i)}catch(e){return e===o}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===l.call(e)}},function(e,t,n){"use strict";var r=n(117),o=n(228),i=n(297),a=n(298),s=n(808),l=o(i);r(l,{getPolyfill:a,implementation:i,shim:s}),e.exports=l},function(e,t,n){"use strict";var r=n(117).supportsDescriptors,o=n(298),i=Object.getOwnPropertyDescriptor,a=Object.defineProperty,s=TypeError,l=Object.getPrototypeOf,c=/a/;e.exports=function(){if(!r||!l)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=l(c),n=i(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,n){"use strict";var r=n(300),o=n(811),i=n(812),a=n(813),s=n(814);e.exports=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e?null:r(e)?"String":o(e)?"Number":i(e)?"Boolean":a(e)?"Symbol":s(e)?"BigInt":void 0}},function(e,t,n){"use strict";var r=Number.prototype.toString,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"number"==typeof e||"object"==typeof e&&(i?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Number]"===o.call(e))}},function(e,t,n){"use strict";var r=Boolean.prototype.toString,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"boolean"==typeof e||null!==e&&"object"==typeof e&&(i&&Symbol.toStringTag in e?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Boolean]"===o.call(e))}},function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(128)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict";if("function"==typeof BigInt){var r=BigInt.prototype.valueOf;e.exports=function(e){return null!=e&&"boolean"!=typeof e&&"string"!=typeof e&&"number"!=typeof e&&"symbol"!=typeof e&&"function"!=typeof e&&("bigint"==typeof e||function(e){try{return r.call(e),!0}catch(e){}return!1}(e))}}else e.exports=function(e){return!1}},function(e,t,n){"use strict";var r=n(301),o=n(302),i=n(816),a=n(817);e.exports=function(e){if(e&&"object"==typeof e){if(r(e))return"Map";if(o(e))return"Set";if(i(e))return"WeakMap";if(a(e))return"WeakSet"}return!1}},function(e,t,n){"use strict";var r,o="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,i="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;o||(r=function(e){return!1});var a=o?o.prototype.has:null,s=i?i.prototype.has:null;r||a||(r=function(e){return!1}),e.exports=r||function(e){if(!e||"object"!=typeof e)return!1;try{if(a.call(e,a),s)try{s.call(e,s)}catch(e){return!0}return e instanceof o}catch(e){}return!1}},function(e,t,n){"use strict";var r,o="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,i="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;o||(r=function(e){return!1});var a=o?o.prototype.has:null,s=i?i.prototype.has:null;r||s||(e.exports=function(e){return!1}),e.exports=r||function(e){if(!e||"object"!=typeof e)return!1;try{if(s.call(e,s),a)try{a.call(e,a)}catch(e){return!0}return e instanceof i}catch(e){}return!1}},function(e,t,n){"use strict";(function(t){var r=n(294);if(n(128)()||n(230)()){var o=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[o]?e[o]():r(e)?Array.prototype[o].call(e):void 0}}else{var i=n(299),a=n(300),s=n(127),l=s("%Map%",!0),c=s("%Set%",!0),u=n(147),f=u("Array.prototype.push"),d=u("String.prototype.charCodeAt"),p=u("String.prototype.slice"),h=function(e){var t=0;return{next:function(){var n,r=t>=e.length;return r||(n=e[t],t+=1),{done:r,value:n}}}},m=function(e){if(i(e)||r(e))return h(e);if(a(e)){var t=0;return{next:function(){var n=function(e,t){if(t+1>=e.length)return t+1;var n=d(e,t);if(n<55296||n>56319)return t+1;var r=d(e,t+1);return r<56320||r>57343?t+1:t+2}(e,t),r=p(e,t,n);return t=n,{done:n>e.length,value:r}}}}};if(l||c){var g=n(301),v=n(302),y=u("Map.prototype.forEach",!0),b=u("Set.prototype.forEach",!0);if(void 0===t||!t.versions||!t.versions.node)var _=u("Map.prototype.iterator",!0),w=u("Set.prototype.iterator",!0),x=function(e){var t=!1;return{next:function(){try{return{done:t,value:t?void 0:e.next()}}catch(e){return t=!0,{done:!0,value:void 0}}}}};var k=u("Map.prototype.@@iterator",!0)||u("Map.prototype._es6-shim iterator_",!0),M=u("Set.prototype.@@iterator",!0)||u("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(g(e)){if(_)return x(_(e));if(k)return k(e);if(y){var t=[];return y(e,(function(e,n){f(t,[n,e])})),h(t)}}if(v(e)){if(w)return x(w(e));if(M)return M(e);if(b){var n=[];return b(e,(function(e){f(n,e)})),h(n)}}}(e)||m(e)}}else e.exports=m}}).call(this,n(231))},function(e,t,n){"use strict";var r=n(127),o=n(147),i=n(820),a=r("%TypeError%"),s=r("%WeakMap%",!0),l=r("%Map%",!0),c=o("Array.prototype.push"),u=o("WeakMap.prototype.get",!0),f=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),m=o("Map.prototype.has",!0);e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return u(e,r)}else if(l){if(t)return p(t,r)}else if(n)return function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].key===t)return e[n].value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(l){if(t)return m(t,r)}else if(n)return function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].key===t)return!0;return!1}(n,r);return!1},set:function(r,o){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),f(e,r,o)):l?(t||(t=new l),h(t,r,o)):(n||(n=[]),function(e,t,n){for(var r=0;r<e.length;r+=1)if(e[r].key===t)return void(e[r].value=n);c(e,{key:t,value:n})}(n,r,o))}};return r}},function(e,t,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p=Boolean.prototype.valueOf,h=Object.prototype.toString,m=String.prototype.match,g="function"==typeof BigInt?BigInt.prototype.valueOf:null,v=n(821).custom,y=v&&x(v)?v:null;function b(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function _(e){return String(e).replace(/"/g,"&quot;")}function w(e){return"[object Array]"===S(e)}function x(e){return"[object Symbol]"===S(e)}e.exports=function e(t,n,r,o){var s=n||{};if(M(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function(e,t){return b(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,O),"single",t)}(t,s);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var l=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=l&&l>0&&"object"==typeof t)return"[Object]";if(void 0===o)o=[];else if(function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}(o,t)>=0)return"[Circular]";function h(t,n){return n&&(o=o.slice()).push(n),e(t,s,r+1,o)}if("function"==typeof t){var v=function(e){if(e.name)return e.name;var t=m.call(e,/^function\s*([\w$]+)/);if(t)return t[1];return null}(t);return"[Function"+(v?": "+v:"")+"]"}if(x(t)){var k=Symbol.prototype.toString.call(t);return"object"==typeof t?E(k):k}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var C="<"+String(t.nodeName).toLowerCase(),P=t.attributes||[],j=0;j<P.length;j++)C+=" "+P[j].name+"="+b(_(P[j].value),"double",s);return C+=">",t.childNodes&&t.childNodes.length&&(C+="..."),C+="</"+String(t.nodeName).toLowerCase()+">"}if(w(t))return 0===t.length?"[]":"[ "+D(t,h).join(", ")+" ]";if(function(e){return"[object Error]"===S(e)}(t)){var Y=D(t,h);return 0===Y.length?"["+String(t)+"]":"{ ["+String(t)+"] "+Y.join(", ")+" }"}if("object"==typeof t){if(y&&"function"==typeof t[y])return t[y]();if("function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var A=[];return a.call(t,(function(e,n){A.push(h(n,t)+" => "+h(e,t))})),T("Map",i.call(t),A)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var I=[];return u.call(t,(function(e){I.push(h(e,t))})),T("Set",c.call(t),I)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return L("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return L("WeakSet");if(function(e){return"[object Number]"===S(e)}(t))return E(h(Number(t)));if(function(e){return"[object BigInt]"===S(e)}(t))return E(h(g.call(t)));if(function(e){return"[object Boolean]"===S(e)}(t))return E(p.call(t));if(function(e){return"[object String]"===S(e)}(t))return E(h(String(t)));if(!function(e){return"[object Date]"===S(e)}(t)&&!function(e){return"[object RegExp]"===S(e)}(t)){var R=D(t,h);return 0===R.length?"{}":"{ "+R.join(", ")+" }"}return String(t)};var k=Object.prototype.hasOwnProperty||function(e){return e in this};function M(e,t){return k.call(e,t)}function S(e){return h.call(e)}function O(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16)}function E(e){return"Object("+e+")"}function L(e){return e+" { ? }"}function T(e,t,n){return e+" ("+t+") {"+n.join(", ")+"}"}function D(e,t){var n=w(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=M(e,o)?t(e[o],e):""}for(var i in e)M(e,i)&&(n&&String(Number(i))===i&&i<e.length||(/[^\w$]/.test(i)?r.push(t(i,e)+": "+t(e[i],e)):r.push(i+": "+t(e[i],e))));return r}},function(e,t){},function(e,t,n){"use strict";(function(t){var r=n(303),o=n(304),i=n(147),a=i("Object.prototype.toString"),s=n(128)()&&"symbol"==typeof Symbol.toStringTag,l=o(),c=i("String.prototype.slice"),u={},f=n(305),d=Object.getPrototypeOf;s&&f&&d&&r(l,(function(e){if("function"==typeof t[e]){var n=new t[e];if(!(Symbol.toStringTag in n))throw new EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var r=d(n),o=f(r,Symbol.toStringTag);if(!o){var i=d(r);o=f(i,Symbol.toStringTag)}u[e]=o.get}}));var p=n(824);e.exports=function(e){return!!p(e)&&(s?function(e){var t=!1;return r(u,(function(n,r){if(!t)try{var o=n.call(e);o===r&&(t=o)}catch(e){}})),t}(e):c(a(e),8,-1))}}).call(this,n(97))},function(e,t){e.exports=function(e,t,r){if(e.filter)return e.filter(t,r);if(null==e)throw new TypeError;if("function"!=typeof t)throw new TypeError;for(var o=[],i=0;i<e.length;i++)if(n.call(e,i)){var a=e[i];t.call(r,a,i,e)&&o.push(a)}return o};var n=Object.prototype.hasOwnProperty},function(e,t,n){"use strict";(function(t){var r=n(303),o=n(304),i=n(147),a=i("Object.prototype.toString"),s=n(128)()&&"symbol"==typeof Symbol.toStringTag,l=o(),c=i("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},u=i("String.prototype.slice"),f={},d=n(305),p=Object.getPrototypeOf;s&&d&&p&&r(l,(function(e){var n=new t[e];if(!(Symbol.toStringTag in n))throw new EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var r=p(n),o=d(r,Symbol.toStringTag);if(!o){var i=p(r);o=d(i,Symbol.toStringTag)}f[e]=o.get}));e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s){var t=u(a(e),8,-1);return c(l,t)>-1}return!!d&&function(e){var t=!1;return r(f,(function(n,r){if(!t)try{t=n.call(e)===r}catch(e){}})),t}(e)}}).call(this,n(97))},function(e,t,n){"use strict";var r=n(117),o=n(306),i=n(307),a=n(826),s=i();r(s,{getPolyfill:i,implementation:o,shim:a}),e.exports=s},function(e,t,n){"use strict";var r=n(117),o=n(307);e.exports=function(){var e=o();return r(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},function(e,t,n){"use strict";e.exports.generate=function(){for(var e=[],t=0;t<256;t++)e[t]=(t<16?"0":"")+t.toString(16);var n=4294967295*Math.random()|0,r=4294967295*Math.random()|0,o=4294967295*Math.random()|0,i=4294967295*Math.random()|0;return e[255&n]+e[n>>8&255]+e[n>>16&255]+e[n>>24&255]+"-"+e[255&r]+e[r>>8&255]+"-"+e[r>>16&15|64]+e[r>>24&255]+"-"+e[63&o|128]+e[o>>8&255]+"-"+e[o>>16&255]+e[o>>24&255]+e[255&i]+e[i>>8&255]+e[i>>16&255]+e[i>>24&255]}},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".island_019 {\n display: flex;\n flex-direction: column;\n\n border: 1px solid #dfe5eb;\n\n border: 1px solid var(--ring-line-color);\n border-radius: 3px;\n border-radius: var(--ring-border-radius);\n\n background-color: #fff;\n\n background-color: var(--ring-content-background-color);\n box-shadow: 0 1px 4px rgba(0, 42, 76, 0.15);\n box-shadow: 0 1px 4px var(--ring-popup-shadow-color);\n}\n\n.withTransparentBottomBorder_a6d {\n transition: border-bottom-color 0.1s;\n\n border-bottom: 1px solid transparent;\n}\n\n.header_9bf {\n\n box-sizing: border-box;\n width: 100%;\n padding: 0 32px;\n\n line-height: 28px;\n}\n\n.withBottomBorder_2f3.withBottomBorder_2f3 {\n border-bottom-color: rgba(0, 42, 76, 0.1);\n border-bottom-color: var(--ring-popup-border-color);\n border-top-left-radius: 3px;\n border-top-left-radius: var(--ring-border-radius);\n border-top-right-radius: 3px;\n border-top-right-radius: var(--ring-border-radius);\n}\n\n.title_918 {\n display: block;\n float: left;\n\n transform-origin: 0 50%;\n word-break: break-word;\n\n color: #1f2326;\n\n color: var(--ring-heading-color);\n\n font-weight: bold;\n}\n\n.narrowIsland_90b .header_9bf {\n padding: 0 16px;\n}\n\n.content_b24 {\n position: relative;\n\n display: flex;\n overflow: auto;\n\n width: 100%;\n -webkit-overflow-scrolling: touch;\n}\n\n.scrollableWrapper_76f {\n overflow: auto;\n\n width: 100%;\n padding: 16px 32px\n}\n\n.scrollableWrapper_76f:focus:not(.focus-visible) {\n outline: none;\n }\n\n.narrowIsland_90b .scrollableWrapper_76f {\n padding: 16px 16px;\n}\n\n.withoutPaddings_c68 .scrollableWrapper_76f {\n padding: 0;\n}\n\n.contentWithTopFade_0e5::before {\n position: absolute;\n z-index: 1;\n z-index: var(--ring-fixed-z-index);\n left: 0;\n\n display: block;\n\n width: 100%;\n height: 24px;\n\n content: '';\n\n pointer-events: none;\n\n opacity: 0.8;\n background: linear-gradient(to top, rgba(255, 255, 255, 0), #fff);\n background: linear-gradient(to top, rgba(255, 255, 255, 0), var(--ring-content-background-color)); /* stylelint-disable-line function-linear-gradient-no-nonstandard-direction */\n}\n\n.contentWithTopFade_0e5:first-child::before {\n border-top-left-radius: 3px;\n border-top-left-radius: var(--ring-border-radius);\n border-top-right-radius: 3px;\n border-top-right-radius: var(--ring-border-radius);\n}\n\n.contentWithBottomFade_8b4::after {\n position: absolute;\n bottom: 0;\n left: 0;\n\n display: block;\n\n width: 100%;\n height: 24px;\n\n content: '';\n pointer-events: none;\n\n opacity: 0.8;\n border-bottom-right-radius: 3px;\n border-bottom-right-radius: var(--ring-border-radius);\n border-bottom-left-radius: 3px;\n border-bottom-left-radius: var(--ring-border-radius);\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--ring-content-background-color));\n}\n",""]),t.locals={unit:""+o.locals.unit,gradientStart:"rgba(255, 255, 255, 0)",gradientStop:"var(--ring-content-background-color)",island:"island_019",withTransparentBottomBorder:"withTransparentBottomBorder_a6d",header:"header_9bf withTransparentBottomBorder_a6d",withBottomBorder:"withBottomBorder_2f3",title:"title_918",narrowIsland:"narrowIsland_90b",content:"content_b24",scrollableWrapper:"scrollableWrapper_76f",withoutPaddings:"withoutPaddings_c68",contentWithTopFade:"contentWithTopFade_0e5",contentWithBottomFade:"contentWithBottomFade_8b4"},e.exports=t},function(e,t,n){"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var n=t(e);return n&&!!n.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,n){t(e).busy=!!n}}}},function(e,t,n){"use strict";e.exports=function(e){var t={};function n(n){var r=e.get(n);return void 0===r?[]:t[r]||[]}return{get:n,add:function(n,r){var o=e.get(n);t[o]||(t[o]=[]),t[o].push(r)},removeListener:function(e,t){for(var r=n(e),o=0,i=r.length;o<i;++o)if(r[o]===t){r.splice(o,1);break}},removeAllListeners:function(e){var t=n(e);t&&(t.length=0)}}}},function(e,t,n){"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},function(e,t,n){"use strict";e.exports=function(e){var t=e.idGenerator,n=e.stateHandler.getState;return{get:function(e){var t=n(e);return t&&void 0!==t.id?t.id:null},set:function(e){var r=n(e);if(!r)throw new Error("setId required the element to have a resize detection state.");var o=t.generate();return r.id=o,o}}}},function(e,t,n){"use strict";e.exports=function(e){function t(){}var n={log:t,warn:t,error:t};if(!e&&window.console){var r=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var n=0;n<arguments.length;n++)e(arguments[n])}};r(n,"log"),r(n,"warn"),r(n,"error")}return n}},function(e,t,n){"use strict";var r=n(835);function o(){var e={},t=0,n=0,r=0;return{add:function(o,i){i||(i=o,o=0),o>n?n=o:o<r&&(r=o),e[o]||(e[o]=[]),e[o].push(i),t++},process:function(){for(var t=r;t<=n;t++)for(var o=e[t],i=0;i<o.length;i++){(0,o[i])()}},size:function(){return t}}}e.exports=function(e){var t=(e=e||{}).reporter,n=r.getOption(e,"async",!0),i=r.getOption(e,"auto",!0);i&&!n&&(t&&t.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),n=!0);var a,s=o(),l=!1;function c(){for(l=!0;s.size();){var e=s;s=o(),e.process()}l=!1}function u(){var e;e=c,a=setTimeout(e,0)}return{add:function(e,t){!l&&i&&n&&0===s.size()&&u(),s.add(e,t)},force:function(e){l||(void 0===e&&(e=n),a&&(clearTimeout(a),a=null),e?u():c())}}}},function(e,t,n){"use strict";(e.exports={}).getOption=function(e,t,n){var r=e[t];if(null==r&&void 0!==n)return n;return r}},function(e,t,n){"use strict";function r(e){return e._erd}e.exports={initState:function(e){return e._erd={},r(e)},getState:r,cleanState:function(e){delete e._erd}}},function(e,t,n){"use strict";var r=n(309);e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,o=e.stateHandler.getState;if(!t)throw new Error("Missing required dependency: reporter.");function i(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function a(e){return o(e).object}return{makeDetectable:function(e,a,s){s||(s=a,a=e,e=null),(e=e||{}).debug,r.isIE(8)?s(a):function(a,s){var l=i(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),c=!1,u=window.getComputedStyle(a),f=a.offsetWidth,d=a.offsetHeight;function p(){function n(){if("static"===u.position){a.style.setProperty("position","relative",e.important?"important":"");var n=function(t,n,r,o){var i=r[o];"auto"!==i&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(i)&&(t.warn("An element that is positioned static has style."+o+"="+i+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+o+" will be set to 0. Element: ",n),n.style.setProperty(o,"0",e.important?"important":""))};n(t,a,u,"top"),n(t,a,u,"right"),n(t,a,u,"bottom"),n(t,a,u,"left")}}""!==u.position&&(n(),c=!0);var i=document.createElement("object");i.style.cssText=l,i.tabIndex=-1,i.type="text/html",i.setAttribute("aria-hidden","true"),i.onload=function(){c||n(),function e(t,n){if(!t.contentDocument){var r=o(t);return r.checkForObjectDocumentTimeoutId&&window.clearTimeout(r.checkForObjectDocumentTimeoutId),void(r.checkForObjectDocumentTimeoutId=setTimeout((function(){r.checkForObjectDocumentTimeoutId=0,e(t,n)}),100))}n(t.contentDocument)}(this,(function(e){s(a)}))},r.isIE()||(i.data="about:blank"),o(a)&&(a.appendChild(i),o(a).object=i,r.isIE()&&(i.data="about:blank"))}o(a).startSize={width:f,height:d},n?n.add(p):p()}(a,s)},addListener:function(e,t){function n(){t(e)}if(r.isIE(8))o(e).object={proxy:n},e.attachEvent("onresize",n);else{var i=a(e);if(!i)throw new Error("Element is not detectable by this strategy.");i.contentDocument.defaultView.addEventListener("resize",n)}},uninstall:function(e){if(o(e)){var t=a(e);t&&(r.isIE(8)?e.detachEvent("onresize",t.proxy):e.removeChild(t),o(e).checkForObjectDocumentTimeoutId&&window.clearTimeout(o(e).checkForObjectDocumentTimeoutId),delete o(e).object)}}}}},function(e,t,n){"use strict";var r=n(308).forEach;e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,o=e.stateHandler.getState,i=(e.stateHandler.hasState,e.idHandler);if(!n)throw new Error("Missing required dependency: batchProcessor");if(!t)throw new Error("Missing required dependency: reporter.");var a=function(){var e=document.createElement("div");e.style.cssText=l(["position: absolute","width: 1000px","height: 1000px","visibility: hidden","margin: 0","padding: 0"]);var t=document.createElement("div");t.style.cssText=l(["position: absolute","width: 500px","height: 500px","overflow: scroll","visibility: none","top: -1500px","left: -1500px","visibility: hidden","margin: 0","padding: 0"]),t.appendChild(e),document.body.insertBefore(t,document.body.firstChild);var n=500-t.clientWidth,r=500-t.clientHeight;return document.body.removeChild(t),{width:n,height:r}}();function s(e){!function(e,t,n){if(!e.getElementById(t)){var r=n+"_animation",o=n+"_animation_active",i="/* Created by the element-resize-detector library. */\n";i+="."+n+" > div::-webkit-scrollbar { "+l(["display: none"])+" }\n\n",i+="."+o+" { "+l(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+r,"animation-name: "+r])+" }\n",i+="@-webkit-keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",function(n,r){r=r||function(t){e.head.appendChild(t)};var o=e.createElement("style");o.innerHTML=n,o.id=t,r(o)}(i+="@keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}(e,"erd_scroll_detection_scrollbar_style","erd_scroll_detection_container")}function l(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function c(e,n,r){if(e.addEventListener)e.addEventListener(n,r);else{if(!e.attachEvent)return t.error("[scroll] Don't know how to add event listeners.");e.attachEvent("on"+n,r)}}function u(e,n,r){if(e.removeEventListener)e.removeEventListener(n,r);else{if(!e.detachEvent)return t.error("[scroll] Don't know how to remove event listeners.");e.detachEvent("on"+n,r)}}function f(e){return o(e).container.childNodes[0].childNodes[0].childNodes[0]}function d(e){return o(e).container.childNodes[0].childNodes[0].childNodes[1]}return s(window.document),{makeDetectable:function(e,s,u){function p(){if(e.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(i.get(s),"Scroll: "),t.log.apply)t.log.apply(null,n);else for(var r=0;r<n.length;r++)t.log(n[r])}}function h(e){var t=o(e).container.childNodes[0],n=window.getComputedStyle(t);return!n.width||-1===n.width.indexOf("px")}function m(){var e=window.getComputedStyle(s),t={};return t.position=e.position,t.width=s.offsetWidth,t.height=s.offsetHeight,t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.widthCSS=e.width,t.heightCSS=e.height,t}function g(){if(p("storeStyle invoked."),o(s)){var e=m();o(s).style=e}else p("Aborting because element has been uninstalled")}function v(e,t,n){o(e).lastWidth=t,o(e).lastHeight=n}function y(){return 2*a.width+1}function b(){return 2*a.height+1}function _(e){return e+10+y()}function w(e){return e+10+b()}function x(e,t,n){var r=f(e),o=d(e),i=_(t),a=w(n),s=function(e){return 2*e+y()}(t),l=function(e){return 2*e+b()}(n);r.scrollLeft=i,r.scrollTop=a,o.scrollLeft=s,o.scrollTop=l}function k(){var e=o(s).container;if(!e){(e=document.createElement("div")).className="erd_scroll_detection_container",e.style.cssText=l(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),o(s).container=e,function(e){e.className+=" erd_scroll_detection_container_animation_active"}(e),s.appendChild(e);var t=function(){o(s).onRendered&&o(s).onRendered()};c(e,"animationstart",t),o(s).onAnimationStart=t}return e}function M(){if(p("Injecting elements"),o(s)){!function(){var n=o(s).style;if("static"===n.position){s.style.setProperty("position","relative",e.important?"important":"");var r=function(e,t,n,r){var o=n[r];"auto"!==o&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(o)&&(e.warn("An element that is positioned static has style."+r+"="+o+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",t),t.style[r]=0)};r(t,s,n,"top"),r(t,s,n,"right"),r(t,s,n,"bottom"),r(t,s,n,"left")}}();var n=o(s).container;n||(n=k());var r,i,u,f,d=a.width,h=a.height,m=l(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),g=l(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(["left: "+(r=(r=-(1+d))?r+"px":"0"),"top: "+(i=(i=-(1+h))?i+"px":"0"),"right: "+(f=(f=-d)?f+"px":"0"),"bottom: "+(u=(u=-h)?u+"px":"0")])),v=l(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),y=l(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),b=l(["position: absolute","left: 0","top: 0"]),_=l(["position: absolute","width: 200%","height: 200%"]),w=document.createElement("div"),x=document.createElement("div"),M=document.createElement("div"),S=document.createElement("div"),O=document.createElement("div"),E=document.createElement("div");w.dir="ltr",w.style.cssText=m,w.className="erd_scroll_detection_container",x.className="erd_scroll_detection_container",x.style.cssText=g,M.style.cssText=v,S.style.cssText=b,O.style.cssText=y,E.style.cssText=_,M.appendChild(S),O.appendChild(E),x.appendChild(M),x.appendChild(O),w.appendChild(x),n.appendChild(w),c(M,"scroll",L),c(O,"scroll",T),o(s).onExpandScroll=L,o(s).onShrinkScroll=T}else p("Aborting because element has been uninstalled");function L(){o(s).onExpand&&o(s).onExpand()}function T(){o(s).onShrink&&o(s).onShrink()}}function S(){function a(t,n,r){var o=function(e){return f(e).childNodes[0]}(t),i=_(n),a=w(r);o.style.setProperty("width",i+"px",e.important?"important":""),o.style.setProperty("height",a+"px",e.important?"important":"")}function l(r){var l=s.offsetWidth,u=s.offsetHeight,f=l!==o(s).lastWidth||u!==o(s).lastHeight;p("Storing current size",l,u),v(s,l,u),n.add(0,(function(){if(f)if(o(s))if(c()){if(e.debug){var n=s.offsetWidth,r=s.offsetHeight;n===l&&r===u||t.warn(i.get(s),"Scroll: Size changed before updating detector elements.")}a(s,l,u)}else p("Aborting because element container has not been initialized");else p("Aborting because element has been uninstalled")})),n.add(1,(function(){o(s)?c()?x(s,l,u):p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")})),f&&r&&n.add(2,(function(){o(s)?c()?r():p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")}))}function c(){return!!o(s).container}function u(){p("notifyListenersIfNeeded invoked");var e=o(s);return void 0===o(s).lastNotifiedWidth&&e.lastWidth===e.startSize.width&&e.lastHeight===e.startSize.height?p("Not notifying: Size is the same as the start size, and there has been no notification yet."):e.lastWidth===e.lastNotifiedWidth&&e.lastHeight===e.lastNotifiedHeight?p("Not notifying: Size already notified"):(p("Current size not notified, notifying..."),e.lastNotifiedWidth=e.lastWidth,e.lastNotifiedHeight=e.lastHeight,void r(o(s).listeners,(function(e){e(s)})))}function m(){p("Scroll detected."),h(s)?p("Scroll event fired while unrendered. Ignoring..."):l(u)}if(p("registerListenersAndPositionElements invoked."),o(s)){o(s).onRendered=function(){if(p("startanimation triggered."),h(s))p("Ignoring since element is still unrendered...");else{p("Element rendered.");var e=f(s),t=d(s);0!==e.scrollLeft&&0!==e.scrollTop&&0!==t.scrollLeft&&0!==t.scrollTop||(p("Scrollbars out of sync. Updating detector elements..."),l(u))}},o(s).onExpand=m,o(s).onShrink=m;var g=o(s).style;a(s,g.width,g.height)}else p("Aborting because element has been uninstalled")}function O(){if(p("finalizeDomMutation invoked."),o(s)){var e=o(s).style;v(s,e.width,e.height),x(s,e.width,e.height)}else p("Aborting because element has been uninstalled")}function E(){u(s)}function L(){var e;p("Installing..."),o(s).listeners=[],e=m(),o(s).startSize={width:e.width,height:e.height},p("Element start size",o(s).startSize),n.add(0,g),n.add(1,M),n.add(2,S),n.add(3,O),n.add(4,E)}u||(u=s,s=e,e=null),e=e||{},p("Making detectable..."),!function(e){return!function(e){return e===e.ownerDocument.body||e.ownerDocument.body.contains(e)}(e)||null===window.getComputedStyle(e)}(s)?L():(p("Element is detached"),k(),p("Waiting until element is attached..."),o(s).onRendered=function(){p("Element is now attached"),L()})},addListener:function(e,t){if(!o(e).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");o(e).listeners.push(t)},uninstall:function(e){var t=o(e);t&&(t.onExpandScroll&&u(f(e),"scroll",t.onExpandScroll),t.onShrinkScroll&&u(d(e),"scroll",t.onShrinkScroll),t.onAnimationStart&&u(t.container,"animationstart",t.onAnimationStart),t.container&&e.removeChild(t.container))},initDocument:s}}},function(e,t,n){"use strict";e.exports=function(e,t,n){return e=e instanceof Array?e:[e],this.bindMultiple(e,t,n),this}},function(e,t,n){"use strict";e.exports=function(e,t,n){for(var r=0;r<e.length;++r)this.bindSingle(e[r],t,n)}},function(e,t,n){"use strict";e.exports=function(e,t){return this.bind(e,(function(){}),t)}},function(e,t,n){"use strict";e.exports=function(e,t){return this.directMap[e+":"+t]&&this.directMap[e+":"+t]({},e),this}},function(e,t,n){"use strict";e.exports=function(){return this.callbacks={},this.directMap={},this}},function(e,t,n){"use strict";e.exports=function(e,t){if((" "+t.className+" ").indexOf(" combokeys ")>-1)return!1;var n=t.tagName.toLowerCase();return"input"===n||"select"===n||"textarea"===n||t.isContentEditable}},function(e,t,n){"use strict";e.exports=function(e,t,r){var o,i,a,s,l={},c=0,u=!1;for(o=this.getMatches(e,t,r),i=0;i<o.length;++i)o[i].seq&&(c=Math.max(c,o[i].level));for(i=0;i<o.length;++i)if(o[i].seq){if(o[i].level!==c)continue;u=!0,l[o[i].seq]=1,this.fireCallback(o[i].callback,r,o[i].combo,o[i].seq)}else u||this.fireCallback(o[i].callback,r,o[i].combo);s="keypress"===r.type&&this.ignoreNextKeypress,a=n(232),r.type!==this.nextExpectedAction||a(e)||s||this.resetSequences(l),this.ignoreNextKeypress=u&&"keydown"===r.type}},function(e,t,n){"use strict";e.exports=function(){var e=n(311),t=this.element;this.eventHandler=n(847).bind(this),e(t,"keypress",this.eventHandler),e(t,"keydown",this.eventHandler),e(t,"keyup",this.eventHandler)}},function(e,t,n){"use strict";e.exports=function(e){var t;"number"!=typeof e.which&&(e.which=e.keyCode);var r=n(312)(e);void 0!==r&&("keyup"!==e.type||this.ignoreNextKeyup!==r?(t=n(849),this.handleKey(r,t(e),e)):this.ignoreNextKeyup=!1)}},function(e,t,n){"use strict";e.exports={106:"*",107:"plus",109:"minus",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){this.directMap[e+":"+n]=t;var i,a=(e=e.replace(/\s+/g," ")).split(" ");a.length>1?this.bindSequence(e,a,t,n):(i=this.getKeyInfo(e,n),this.callbacks[i.key]=this.callbacks[i.key]||[],this.getMatches(i.key,i.modifiers,{type:i.action},r,e,o),this.callbacks[i.key][r?"unshift":"push"]({callback:t,modifiers:i.modifiers,action:i.action,seq:r,level:o,combo:e}))}},function(e,t,n){"use strict";e.exports=function(e,t){var r,o,i,a,s,l,c=[];for(r=n(852)(e),a=n(853),s=n(854),l=n(232),i=0;i<r.length;++i)a[o=r[i]]&&(o=a[o]),t&&"keypress"!==t&&s[o]&&(o=s[o],c.push("shift")),l(o)&&c.push(o);return{key:o,modifiers:c,action:t=this.pickBestAction(o,c,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"+"===e?["+"]:e.split("+")}},function(e,t,n){"use strict";e.exports={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"}},function(e,t,n){"use strict";e.exports={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"}},function(e,t,n){"use strict";e.exports=function(e,t,n){return n||(n=this.getReverseMap()[e]?"keydown":"keypress"),"keypress"===n&&t.length&&(n="keydown"),n}},function(e,t,n){"use strict";e.exports=function(){var e,t=this.constructor;if(!t.REVERSE_MAP)for(var r in t.REVERSE_MAP={},e=n(313))r>95&&r<112||e.hasOwnProperty(r)&&(t.REVERSE_MAP[e[r]]=r);return t.REVERSE_MAP}},function(e,t,n){"use strict";e.exports=function(e,t,r,o,i,a){var s,l,c,u,f=[],d=r.type;"keypress"!==d||r.code&&"Arrow"===r.code.slice(0,5)||(this.callbacks["any-character"]||[]).forEach((function(e){f.push(e)}));if(!this.callbacks[e])return f;for(c=n(232),"keyup"===d&&c(e)&&(t=[e]),s=0;s<this.callbacks[e].length;++s)if(l=this.callbacks[e][s],(o||!l.seq||this.sequenceLevels[l.seq]===l.level)&&d===l.action&&(u=n(858),"keypress"===d&&!r.metaKey&&!r.ctrlKey||u(t,l.modifiers))){var p=!o&&l.combo===i,h=o&&l.seq===o&&l.level===a;(p||h)&&this.callbacks[e].splice(s,1),f.push(l)}return f}},function(e,t,n){"use strict";e.exports=function(e,t){return e.sort().join(",")===t.sort().join(",")}},function(e,t,n){"use strict";e.exports=function(e){e=e||{};var t,n=!1;for(t in this.sequenceLevels)e[t]?n=!0:this.sequenceLevels[t]=0;n||(this.nextExpectedAction=!1)}},function(e,t,n){"use strict";e.exports=function(e,t,r,o){this.stopCallback(t,t.target||t.srcElement,r,o)||!1===e(t,r)&&(n(861)(t),n(862)(t))}},function(e,t,n){"use strict";e.exports=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}},function(e,t,n){"use strict";e.exports=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}},function(e,t,n){"use strict";e.exports=function(e,t,r,o){var i=this;function a(t){return function(){i.nextExpectedAction=t,++i.sequenceLevels[e],i.resetSequenceTimer()}}function s(t){var a;i.fireCallback(r,t,e),"keyup"!==o&&(a=n(312),i.ignoreNextKeyup=a(t)),setTimeout((function(){i.resetSequences()}),10)}i.sequenceLevels[e]=0;for(var l=0;l<t.length;++l){var c=l+1===t.length?s:a(o||i.getKeyInfo(t[l+1]).action);i.bindSingle(t[l],c,o,e,l)}}},function(e,t,n){"use strict";e.exports=function(){var e=this;clearTimeout(e.resetTimer),e.resetTimer=setTimeout((function(){e.resetSequences()}),1e3)}},function(e,t,n){var r=n(311).off;e.exports=function(){var e=this.element;r(e,"keypress",this.eventHandler),r(e,"keydown",this.eventHandler),r(e,"keyup",this.eventHandler)}},function(e,t,n){"use strict";e.exports=function(){this.instances.forEach((function(e){e.reset()}))}},function(e,t,n){var r=n(20),o=n(22);(t=r(!1)).i(o),t.push([e.i,".trapButton_a77 {\n position: absolute;\n left: -9999px;\n}\n",""]),t.locals={trapButton:"trapButton_a77"},e.exports=t},function(e,t,n){!function(){"use strict";function e(e){var t=!0,n=!1,r=null,o={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function i(e){return!!(e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList)}function a(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function s(e){t=!1}function l(){document.addEventListener("mousemove",c),document.addEventListener("mousedown",c),document.addEventListener("mouseup",c),document.addEventListener("pointermove",c),document.addEventListener("pointerdown",c),document.addEventListener("pointerup",c),document.addEventListener("touchmove",c),document.addEventListener("touchstart",c),document.addEventListener("touchend",c)}function c(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=!1,document.removeEventListener("mousemove",c),document.removeEventListener("mousedown",c),document.removeEventListener("mouseup",c),document.removeEventListener("pointermove",c),document.removeEventListener("pointerdown",c),document.removeEventListener("pointerup",c),document.removeEventListener("touchmove",c),document.removeEventListener("touchstart",c),document.removeEventListener("touchend",c))}document.addEventListener("keydown",(function(n){n.metaKey||n.altKey||n.ctrlKey||(i(e.activeElement)&&a(e.activeElement),t=!0)}),!0),document.addEventListener("mousedown",s,!0),document.addEventListener("pointerdown",s,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("visibilitychange",(function(e){"hidden"===document.visibilityState&&(n&&(t=!0),l())}),!0),l(),e.addEventListener("focus",(function(e){var n,r,s;i(e.target)&&(t||(n=e.target,r=n.type,"INPUT"===(s=n.tagName)&&o[r]&&!n.readOnly||"TEXTAREA"===s&&!n.readOnly||n.isContentEditable))&&a(e.target)}),!0),e.addEventListener("blur",(function(e){var t;i(e.target)&&(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(r),r=window.setTimeout((function(){n=!1}),100),(t=e.target).hasAttribute("data-focus-visible-added")&&(t.classList.remove("focus-visible"),t.removeAttribute("data-focus-visible-added")))}),!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var t;window.applyFocusVisiblePolyfill=e;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}"undefined"!=typeof document&&e(document)}()},function(e,t,n){var r=n(20),o=n(27),i=n(314),a=n(315),s=n(233),l=n(22);(t=r(!1)).i(o,"",!0),t.i(i,"",!0),t.i(a,"",!0),t.i(s,"",!0),t.i(l),t.push([e.i,"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.danger_cf9:hover {\n transition: none;\n }}\n\n:root {\n /* TODO: This colors are not ready to move to variables.css */\n /* stylelint-disable color-no-hex */\n --ring-button-primary-background-color: #1a98ff;\n --ring-button-primary-border-color: #0062b2;\n --ring-button-danger-active-color: #ffe7e8;\n --ring-button-danger-hover-color: var(--ring-icon-error-color);\n --ring-button-loader-background: #33a3ff;\n --ring-button-dark-icon-color: #80929d;\n --ring-button-dark-border-disabled-color: #333;\n --ring-button-dark-icon-disabled-color: var(--ring-dark-disabled-color);\n --ring-button-dark-danger-active-color: #26080a;\n --ring-button-dark-danger-hover-color: var(--ring-error-color);\n --ring-button-dark-active-color: #062640;\n --ring-button-dark-loader-background: #002039;\n /* stylelint-enable color-no-hex */\n}\n\n.light_cfe {\n color: #1f2326;\n color: var(--ring-text-color);\n background-color: #fff;\n background-color: var(--ring-content-background-color);\n box-shadow: inset 0 0 0 1px #b8d1e5;\n box-shadow: inset 0 0 0 1px var(--ring-borders-color)\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.light_cfe:hover {\n box-shadow: inset 0 0 0 1px #80c6ff;\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color);\n }}\n\n.light_cfe:active,\n .light_cfe.active_d34 {\n background-color: #d4edff;\n background-color: var(--ring-selected-background-color);\n box-shadow: inset 0 0 0 1px #80c6ff;\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color);\n }\n\n.light_cfe.focus-visible {\n box-shadow: inset 0 0 0 1px #80c6ff, 0 0 0 1px #80c6ff;\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color), 0 0 0 1px var(--ring-border-hover-color);\n }\n\n.light_cfe[disabled] {\n box-shadow: inset 0 0 0 1px #dbdbdb;\n box-shadow: inset 0 0 0 1px var(--ring-border-disabled-color);\n }\n\n.light_cfe[disabled],\n .light_cfe[disabled].withIcon_32e {\n color: #999;\n color: var(--ring-disabled-color);\n }\n\n.light_cfe[disabled] .icon_f6a {\n color: #bbb;\n color: var(--ring-icon-disabled-color);\n }\n\n.light_cfe.primary_5fd:active,\n .light_cfe.primary_5fd.active_d34 {\n background-color: #1a98ff;\n background-color: var(--ring-button-primary-background-color);\n box-shadow: inset 0 0 0 1px #0062b2;\n box-shadow: inset 0 0 0 1px var(--ring-button-primary-border-color);\n }\n\n.light_cfe.danger_cf9:active,\n .light_cfe.danger_cf9.active_d34 {\n background-color: #ffe7e8;\n background-color: var(--ring-button-danger-active-color);\n }\n\n.light_cfe.danger_cf9:active,\n .light_cfe.danger_cf9.active_d34,\n .light_cfe.danger_cf9.focus-visible {\n box-shadow: inset 0 0 0 1px #db5860;\n box-shadow: inset 0 0 0 1px var(--ring-button-danger-hover-color);\n }\n\n.light_cfe.withIcon_32e {\n color: #737577;\n color: var(--ring-secondary-color);\n }\n\n.light_cfe.onlyIcon_900 {\n color: #999;\n color: var(--ring-icon-secondary-color);\n }\n\n.light_cfe .loaderBackground_bfc::before {\n background-image:\n linear-gradient(\n to right,\n #fff,\n #d4edff 40%,\n #fff 80%\n );\n background-image:\n linear-gradient(\n to right,\n var(--ring-content-background-color),\n var(--ring-selected-background-color) 40%,\n var(--ring-content-background-color) 80%\n );\n }\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.light_cfe.danger_cf9:hover {\n box-shadow: inset 0 0 0 1px #db5860;\n box-shadow: inset 0 0 0 1px var(--ring-button-danger-hover-color);\n}}\n\n.dark_f7c {\n color: #888;\n color: var(--ring-dark-secondary-color);\n background-color: #000;\n background-color: var(--ring-navigation-background-color);\n box-shadow: inset 0 0 0 1px #406380;\n box-shadow: inset 0 0 0 1px var(--ring-dark-borders-color)\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.dark_f7c:hover {\n box-shadow: inset 0 0 0 1px #70b1e6;\n box-shadow: inset 0 0 0 1px var(--ring-dark-border-hover-color);\n }}\n\n.dark_f7c:active,\n .dark_f7c.active_d34 {\n color: #fff;\n color: var(--ring-dark-text-color);\n background-color: #062640;\n background-color: var(--ring-button-dark-active-color);\n box-shadow: inset 0 0 0 1px #70b1e6;\n box-shadow: inset 0 0 0 1px var(--ring-dark-border-hover-color);\n }\n\n.dark_f7c.focus-visible {\n box-shadow: inset 0 0 0 1px #70b1e6, 0 0 0 1px #70b1e6;\n box-shadow: inset 0 0 0 1px var(--ring-dark-border-hover-color), 0 0 0 1px var(--ring-dark-border-hover-color);\n }\n\n.dark_f7c[disabled] {\n box-shadow: inset 0 0 0 1px #333;\n box-shadow: inset 0 0 0 1px var(--ring-button-dark-border-disabled-color);\n }\n\n.dark_f7c[disabled],\n .dark_f7c[disabled].withIcon_32e {\n color: #444;\n color: var(--ring-dark-disabled-color);\n }\n\n.dark_f7c[disabled] .icon_f6a {\n color: #444;\n color: var(--ring-button-dark-icon-disabled-color);\n }\n\n.dark_f7c.primary_5fd:active,\n .dark_f7c.primary_5fd.active_d34 {\n background-color: #007ee5;\n background-color: var(--ring-main-hover-color);\n box-shadow: inset 0 0 0 1px #80c6ff;\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color);\n }\n\n.dark_f7c.danger_cf9:active,\n .dark_f7c.danger_cf9.active_d34 {\n color: #db5860;\n color: var(--ring-icon-error-color);\n background-color: #26080a;\n background-color: var(--ring-button-dark-danger-active-color);\n }\n\n.dark_f7c.danger_cf9:active,\n .dark_f7c.danger_cf9.active_d34,\n .dark_f7c.danger_cf9.focus-visible {\n box-shadow: inset 0 0 0 1px #c22731;\n box-shadow: inset 0 0 0 1px var(--ring-button-dark-danger-hover-color);\n }\n\n.dark_f7c.withIcon_32e {\n color: #888;\n color: var(--ring-dark-secondary-color);\n }\n\n.dark_f7c .loaderBackground_bfc::before {\n background-image:\n linear-gradient(\n to right,\n #000,\n #002039 40%,\n #000 80%\n );\n background-image:\n linear-gradient(\n to right,\n var(--ring-navigation-background-color),\n var(--ring-button-dark-loader-background) 40%,\n var(--ring-navigation-background-color) 80%\n );\n }\n\n.dark_f7c .dropdownIcon_04c {\n color: #888;\n color: var(--ring-dark-secondary-color);\n }\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.dark_f7c.danger_cf9:hover {\n box-shadow: inset 0 0 0 1px #c22731;\n box-shadow: inset 0 0 0 1px var(--ring-button-dark-danger-hover-color);\n}}\n\n.button_310 {\n\n position: relative;\n\n display: inline-block;\n\n box-sizing: border-box;\n height: 24px;\n margin: 0;\n padding: 0 16px;\n\n cursor: pointer;\n transition: color 0.3s ease-out, background-color 0.3s ease-out, box-shadow 0.3s ease-out;\n transition: color var(--ring-ease), background-color var(--ring-ease), box-shadow var(--ring-ease);\n text-decoration: none;\n\n border: 0;\n border-radius: 3px;\n border-radius: var(--ring-border-radius);\n outline: 0;\n\n font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;\n\n font-family: var(--ring-font-family);\n font-size: 12px;\n font-size: var(--ring-font-size-smaller);\n\n line-height: 24px\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.button_310:hover {\n transition: none;\n }}\n\n.button_310.focus-visible {\n transition: none;\n }\n\n.button_310[disabled] {\n pointer-events: none;\n }\n\n.button_310::-moz-focus-inner {\n padding: 0;\n\n border: 0;\n outline: 0;\n }\n\n.button_310.narrowRight_68c {\n padding-right: 12px;\n }\n\n.active_d34 {\n}\n\n.primary_5fd {\n color: #fff;\n color: var(--ring-dark-text-color);\n background-color: #008eff;\n background-color: var(--ring-main-color);\n box-shadow: none\n}\n\n.primary_5fd.withIcon_32e,\n .primary_5fd.withIcon_32e:active,\n .primary_5fd.withIcon_32e.active_d34 {\n color: #008eff;\n color: var(--ring-main-color);\n }\n\n.primary_5fd.focus-visible {\n transition: none;\n\n background-color: #007ee5;\n\n background-color: var(--ring-main-hover-color);\n box-shadow: none;\n }\n\n.primary_5fd[disabled] {\n background-color: #fff;\n background-color: var(--ring-content-background-color);\n box-shadow: inset 0 0 0 1px #b8d1e5;\n box-shadow: inset 0 0 0 1px var(--ring-borders-color);\n }\n\n.primary_5fd .loaderBackground_bfc {\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n border-radius: 3px;\n\n border-radius: var(--ring-border-radius)\n }\n\n.primary_5fd .loaderBackground_bfc::before {\n background-image:\n linear-gradient(\n to right,\n #008eff,\n #33a3ff 40%,\n #008eff 80%\n );\n background-image:\n linear-gradient(\n to right,\n var(--ring-main-color),\n var(--ring-button-loader-background) 40%,\n var(--ring-main-color) 80%\n );\n }\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.primary_5fd:hover {\n transition: none;\n\n background-color: #007ee5;\n\n background-color: var(--ring-main-hover-color);\n box-shadow: none;\n}}\n\n.danger_cf9,\n .danger_cf9.withIcon_32e,\n .danger_cf9.withIcon_32e:active,\n .danger_cf9.withIcon_32e.active_d34,\n .danger_cf9.text_7a5,\n .danger_cf9.text_7a5:active,\n .danger_cf9.text_7a5.active_d34 {\n color: #c22731;\n color: var(--ring-error-color);\n }\n\n.danger_cf9.focus-visible {\n transition: none;\n }\n\n.dark_f7c.danger_cf9,\n .dark_f7c.danger_cf9:active,\n .dark_f7c.danger_cf9.active_d34 {\n color: #db5860;\n color: var(--ring-icon-error-color);\n }\n\n.text_7a5.text_7a5,\n.withIcon_32e.withIcon_32e {\n background-color: transparent;\n box-shadow: none\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.text_7a5.text_7a5:hover, .withIcon_32e.withIcon_32e:hover {\n transition: none;\n }}\n\n.text_7a5.text_7a5:active,\n .text_7a5.text_7a5.active_d34,\n .withIcon_32e.withIcon_32e:active,\n .withIcon_32e.withIcon_32e.active_d34 {\n background-color: transparent;\n box-shadow: none;\n }\n\n.text_7a5.text_7a5.focus-visible, .withIcon_32e.withIcon_32e.focus-visible {\n box-shadow: inset 0 0 0 2px #80c6ff;\n box-shadow: inset 0 0 0 2px var(--ring-border-hover-color);\n }\n\n.loader_38f.text_7a5 > .content_588 {\n -webkit-animation-name: text-loading_7c1;\n animation-name: text-loading_7c1;\n -webkit-animation-duration: 1200ms;\n animation-duration: 1200ms;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.text_7a5.text_7a5:hover {\n background-color: transparent;\n box-shadow: none;\n}}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.withIcon_32e:hover:not(.focus-visible) {\n background-color: transparent;\n box-shadow: none;\n}}\n\n.text_7a5 {\n color: #008eff;\n color: var(--ring-main-color);\n}\n\n.inline_908 {\n display: inline-block;\n\n margin: 0;\n padding: 0;\n\n font-size: 13px;\n\n font-size: var(--ring-font-size);\n}\n\n.withIcon_32e {\n padding: 0 8px;\n}\n\n.withIcon_32e:active,\n .withIcon_32e.active_d34,\n .text_7a5:active,\n .text_7a5.active_d34 {\n color: #008eff;\n color: var(--ring-main-color);\n }\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.withIcon_32e:hover {\n color: #ff008c;\n color: var(--ring-link-hover-color);\n}}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.text_7a5:hover {\n color: #ff008c;\n color: var(--ring-link-hover-color);\n}}\n\n.onlyIcon_900.focus-visible {\n color: #80c6ff;\n color: var(--ring-border-hover-color);\n }\n\n.onlyIcon_900:active,\n .onlyIcon_900.active_d34 {\n color: #008eff;\n color: var(--ring-main-color);\n }\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.onlyIcon_900:hover {\n color: #80c6ff;\n color: var(--ring-border-hover-color);\n}}\n\n.icon_f6a {\n color: inherit;\n\n line-height: normal\n}\n\n.icon_f6a:not(:last-child) {\n margin-right: 4px;\n }\n\n.withNormalIconLight_c74 .icon_f6a {\n transition: color 0.3s ease-out;\n transition: color var(--ring-ease);\n\n color: #b8d1e5;\n\n color: var(--ring-icon-color);\n}\n\n.withNormalIconDark_bbc .icon_f6a {\n transition: color 0.3s ease-out;\n transition: color var(--ring-ease);\n\n color: #80929d;\n\n color: var(--ring-button-dark-icon-color);\n}\n\n.withNormalIconLight_c74:active,\n.withNormalIconLight_c74.active_d34,\n.withNormalIconDark_bbc:active,\n.withNormalIconDark_bbc.active_d34 {\n color: #008eff;\n color: var(--ring-main-color)\n}\n\n.withNormalIconLight_c74:active .icon_f6a, .withNormalIconLight_c74.active_d34 .icon_f6a, .withNormalIconDark_bbc:active .icon_f6a, .withNormalIconDark_bbc.active_d34 .icon_f6a {\n transition: none;\n\n color: inherit;\n }\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.withNormalIconLight_c74:hover .icon_f6a,\n.withNormalIconDark_bbc:hover .icon_f6a,\n.withDangerIconLight_449:hover .icon_f6a,\n.withDangerIconDark_be7:hover .icon_f6a {\n transition: none;\n\n color: inherit;\n}}\n\n.withDangerIconLight_449 .icon_f6a,\n.withDangerIconLight_449:active .icon_f6a {\n color: #db5860;\n color: var(--ring-icon-error-color);\n}\n\n.withDangerIconDark_be7 .icon_f6a,\n.withDangerIconDark_be7:active .icon_f6a {\n color: #c22731;\n color: var(--ring-error-color);\n}\n\n.buttonWithoutIcon_b6a .icon_f6a {\n display: none;\n}\n\n.loader_38f {\n position: relative;\n z-index: 0;\n\n pointer-events: none;\n\n background-color: transparent;\n}\n\n.loaderBackground_bfc {\n position: absolute;\n z-index: -1;\n top: 1px;\n right: 1px;\n bottom: 1px;\n left: 1px;\n\n overflow: hidden;\n\n border-radius: 2px;\n\n border-radius: var(--ring-border-radius-small)\n}\n\n.loaderBackground_bfc::before {\n display: block;\n\n width: calc(100% + 64px);\n height: 100%;\n\n content: '';\n -webkit-animation: progress_5c3 1s linear infinite;\n animation: progress_5c3 1s linear infinite;\n\n background-repeat: repeat;\n background-size: 64px;\n }\n\n.delayed_e4e .content_588::after {\n content: '…';\n}\n\n.short_6b7 {\n width: 32px;\n padding: 0;\n}\n\n.dropdownIcon_04c {\n margin-right: -2px;\n\n margin-left: 2px;\n\n transition: color 0.3s ease-out;\n\n transition: color var(--ring-ease);\n\n color: #999;\n\n color: var(--ring-icon-secondary-color);\n\n line-height: normal;\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.button_310:hover .dropdownIcon_04c {\n transition: none;\n\n color: #008eff;\n\n color: var(--ring-main-color);\n}}\n\n@-webkit-keyframes progress_5c3 {\n from {\n transform: translateX(-64px);\n }\n\n to {\n transform: translateX(0);\n }\n}\n\n@keyframes progress_5c3 {\n from {\n transform: translateX(-64px);\n }\n\n to {\n transform: translateX(0);\n }\n}\n\n@-webkit-keyframes text-loading_7c1 {\n 50% {\n opacity: 0.5;\n }\n}\n\n@keyframes text-loading_7c1 {\n 50% {\n opacity: 0.5;\n }\n}\n",""]),t.locals={unit:""+o.locals.unit,"button-shadow":"inset 0 0 0 1px",height:"24px",loaderWidth:"64px",danger:"danger_cf9",light:"light_cfe",active:"active_d34 "+i.locals.active,withIcon:"withIcon_32e",icon:"icon_f6a",primary:"primary_5fd",onlyIcon:"onlyIcon_900",loaderBackground:"loaderBackground_bfc",dark:"dark_f7c",dropdownIcon:"dropdownIcon_04c",button:"button_310 "+i.locals.button+" "+a.locals.button+" "+s.locals.button,narrowRight:"narrowRight_68c",text:"text_7a5",loader:"loader_38f",content:"content_588","text-loading":"text-loading_7c1",inline:"inline_908",withNormalIconLight:"withNormalIconLight_c74",withNormalIconDark:"withNormalIconDark_bbc",withDangerIconLight:"withDangerIconLight_449",withDangerIconDark:"withDangerIconDark_be7",buttonWithoutIcon:"buttonWithoutIcon_b6a",progress:"progress_5c3",delayed:"delayed_e4e",short:"short_6b7"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".popup_009 {\n\n position: fixed;\n z-index: 5;\n z-index: var(--ring-overlay-z-index);\n top: -100vh;\n left: -100vw;\n\n overflow-y: auto;\n\n box-sizing: border-box;\n\n border: 1px solid rgba(0, 42, 76, 0.1);\n\n border: 1px solid var(--ring-popup-border-color);\n border-radius: 3px;\n border-radius: var(--ring-border-radius);\n\n background-color: #fff;\n\n background-color: var(--ring-popup-background-color);\n box-shadow: 0 2px 16px 0 rgba(0, 42, 76, 0.15);\n box-shadow: 0 2px 16px 0 var(--ring-popup-shadow-color);\n}\n\n.hidden_138 {\n display: none;\n}\n\n.showing_a8d {\n opacity: 0;\n}\n\n.attached_5ed {\n border-top: 0;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n",""]),t.locals={popup:"popup_009 "+o.locals.font,hidden:"hidden_138",showing:"showing_a8d",attached:"attached_5ed"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".dialog_925.dialog_925 {\n width: auto;\n max-width: 400px;\n}\n\n.content_ca6 {\n\n display: flex;\n align-items: center;\n flex-direction: column;\n\n margin: 32px;\n}\n\n.button_0c2 {\n width: 200px;\n margin-top: 8px;\n}\n\n.firstButton_b4d {\n\n margin-top: 32px;\n}\n\n.title_05f {\n margin-bottom: 8px;\n\n text-align: center;\n\n font-size: 24px;\n font-weight: 100;\n line-height: 28px;\n}\n\n.logo_1ea {\n width: 96px;\n height: 96px;\n margin-bottom: 12px;\n -o-object-fit: contain;\n object-fit: contain;\n}\n\n.error_3ec {\n text-align: center;\n\n color: #c22731;\n\n color: var(--ring-error-color);\n}\n",""]),t.locals={unit:""+o.locals.unit,dialog:"dialog_925",content:"content_ca6 "+o.locals.font,button:"button_0c2",firstButton:"firstButton_b4d button_0c2",title:"title_05f",logo:"logo_1ea",error:"error_3ec"},e.exports=t},function(e,t,n){var r=n(20),o=n(22);(t=r(!1)).i(o),t.push([e.i,'.avatar_ef6 {\n -o-object-fit: contain;\n object-fit: contain;\n -o-object-position: center;\n object-position: center;\n\n border-radius: 3px;\n\n border-radius: var(--ring-border-radius); /* This is a "graceful degradation" fallback, while the real value is controlled by JS */\n}\n\n.subavatar_596 {\n position: absolute;\n top: 15px;\n left: 27px;\n\n border: 1px #fff solid;\n\n border: 1px var(--ring-content-background-color) solid;\n}\n\n.empty_1c2 {\n display: inline-block;\n\n box-sizing: border-box;\n\n border: 1px solid #b8d1e5;\n\n border: 1px solid var(--ring-borders-color);\n}\n',""]),t.locals={avatar:"avatar_ef6",subavatar:"subavatar_596",empty:"empty_1c2"},e.exports=t},function(e,t,n){var r=n(874);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,'.ring-avatar-editor{position:relative;width:40px;height:40px;text-align:center;padding:1px}.ring-avatar-editor:after{content:"";display:inline-block;width:0;height:40px;vertical-align:middle}.ring-avatar-editor_right{float:right}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-avatar-editor:hover:not(:disabled):not(.ring-avatar-editor_controlled){border:1px solid #ff008c;border:1px solid var(--ring-link-hover-color);padding:0}}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-avatar-editor:hover:not(:disabled):not(.ring-avatar-editor_controlled) .ring-avatar-editor__icon{visibility:visible}}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-avatar-editor:hover:not(:disabled):not(.ring-avatar-editor_controlled) .ring-avatar-editor__img{outline:0}}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-avatar-editor:hover:not(:disabled):not(.ring-avatar-editor_controlled):before{content:"";position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.8)}}.ring-avatar-editor__img{max-width:40px;max-height:40px;vertical-align:middle;cursor:pointer}.ring-avatar-editor__file-input{visibility:hidden;position:absolute;left:-10000px}.ring-avatar-editor__icon{visibility:hidden;position:absolute;left:0;top:10px;line-height:14px;width:100%;color:#fff}.ring-avatar-editor__frame{cursor:pointer;display:inline-block;vertical-align:top;border:1px solid #999;border:1px solid var(--ring-disabled-color);padding:0}.ring-avatar-editor__remove{display:inline-block;vertical-align:top;margin-left:16px}',""]),e.exports=t},function(e,t){e.exports='<div>\n <div ng-click="!ngDisabled && controls.select()" class="ring-avatar-editor__frame" ng-class="{\n \'ring-avatar-editor_controlled\': controlled,\n \'ring-avatar-editor\': !ngDisabled\n }" ng-show="model || default">\n <img alt="Avatar" class="ring-avatar-editor__img" ng-src="{{ model }}" ng-show="model">\n <img alt="Default avatar" class="ring-avatar-editor__img" ng-src="{{ default }}"\n ng-show="!model && default" ng-click="!ngDisabled && controls.select()">\n <rg-icon glyph="{{editIcon}}" size="16" class="ring-avatar-editor__icon" ng-if="!ngDisabled"></rg-icon>\n </div>\n <input class="ring-avatar-editor__file-input" rg-avatar-editor-file-input type="file" ng-model="fileInput" accept="image/*" ng-if="!ngDisabled">\n\n <rg-button\n delayed="true"\n ng-disabled="ngDisabled"\n ng-if="showAddButton && !model && !default"\n ng-click="controls.select()"\n >{{ getAddMessage() }}</rg-button>\n\n <rg-button\n ng-if="showDeleteButton&& model && !ngDisabled"\n danger="true"\n class="ring-avatar-editor__remove"\n ng-click="controls.remove()"\n >\n <span translate>{{ getDeleteLabel() }}</span>\n </rg-button>\n</div>\n'},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".badge_52b {\n display: inline-block;\n\n box-sizing: border-box;\n height: 20px;\n padding: 0 8px;\n\n cursor: default;\n\n vertical-align: baseline;\n\n color: #737577;\n\n color: var(--ring-secondary-color);\n border: 1px #dfe5eb solid;\n border: 1px var(--ring-line-color) solid;\n border-radius: 3px;\n border-radius: var(--ring-border-radius);\n background-color: #fff;\n background-color: var(--ring-content-background-color);\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n font-weight: normal;\n font-style: normal;\n line-height: 17px\n}\n\n.badge_52b.gray_740 {\n color: #1f2326;\n color: var(--ring-text-color);\n background-color: #e6ecf2;\n background-color: var(--ring-tag-background-color);\n }\n\n.badge_52b.valid_3ac {\n color: #1b8833;\n color: var(--ring-success-color);\n }\n\n.badge_52b.invalid_6b8 {\n color: #c22731;\n color: var(--ring-error-color);\n }\n\n.badge_52b.disabled_5e9 {\n /* Deprecated: duplicates invalid */\n\n color: #c22731;\n\n color: var(--ring-error-color);\n }\n",""]),t.locals={unit:""+o.locals.unit,badge:"badge_52b",gray:"gray_740",valid:"valid_3ac",invalid:"invalid_6b8",disabled:"disabled_5e9"},e.exports=t},function(e,t,n){var r=n(878);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,".ring-breadcrumb{margin:20px 0 24px;font-size:0}.ring-breadcrumb_header{margin-bottom:0}.ring-breadcrumb_small .ring-breadcrumb__element{display:inline-block;height:16px;line-height:14px;font-size:13px;font-size:var(--ring-font-size)}.ring-breadcrumb__element{display:inline-block;height:24px;font-size:24px;line-height:28px;text-decoration:none}.ring-breadcrumb__element .ring-breadcrumb{display:inline}.ring-breadcrumb__element>span{display:inline-block}.ring-breadcrumb__element_active,.ring-breadcrumb .active{cursor:default}.ring-breadcrumb__element__description{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:inline-block;position:relative;top:2px;width:400px;padding-left:16px;font-size:13px;font-size:var(--ring-font-size);line-height:16px}.ring-breadcrumb__sep__icon{margin:0 2px;margin-top:-14px;color:#bbb;color:var(--ring-icon-disabled-color)}",""]),e.exports=t},function(e,t){e.exports='<div class="ring-breadcrumb">\n <span class="ring-breadcrumb__element" ng-show="label">\n <rg-link\n ng-if="link"\n ng-href="{{link}}"\n >{{label}}</rg-link>\n\n <rg-link ng-if="!link && onClick"\n ng-class="onClick && \'ring-link\'"\n ng-click="onClick({$event: $event})">{{label}}</rg-link>\n\n <span ng-if="!link && !onClick" ng-click="onClick({$event: $event})">{{label}}</span>\n </span>\n\n <span class="ring-breadcrumb__sep" ng-show="label">\n <rg-icon\n class="ring-breadcrumb__sep__icon"\n glyph="{{\'\' | breadcrumbNgChevronIcon}}"\n ></rg-icon>\n </span>\n\n <span class="ring-breadcrumb__element active" ng-transclude></span>\n</div>\n'},function(e,t,n){(t=n(20)(!1)).push([e.i,".buttonGroup_2f0 {\n font-size: 0;\n}\n",""]),t.locals={buttonGroup:"buttonGroup_2f0"},e.exports=t},function(e,t,n){var r=n(20),o=n(22);(t=r(!1)).i(o),t.push([e.i,"/* stylelint-disable-next-line selector-type-no-unknown */\n.ringIconDefaultColor_8df rg-icon,\n.ringIconDefaultColor_8df .ring-icon {\n color: #999;\n color: var(--ring-icon-secondary-color);\n}\n\n.iconMarginFix_2ae.iconMarginFix_2ae {\n margin-right: 0;\n}\n\n.transcludeSpacer_c69:not(:empty) {\n margin-left: 4px;\n}\n",""]),t.locals={ringIconDefaultColor:"ringIconDefaultColor_8df",iconMarginFix:"iconMarginFix_2ae",transcludeSpacer:"transcludeSpacer_c69"},e.exports=t},function(e,t){e.exports="<div class=\"${require('../button-set/button-set.css').buttonSet}\" ng-transclude></div>\n"},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".checkbox_e82 {\n position: relative;\n\n display: inline-block;\n\n text-align: left;\n\n color: #1f2326;\n\n color: var(--ring-text-color);\n outline: none\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.checkbox_e82:hover .cell_ff0 {\n transition: background-color 0.3s ease-out;\n transition: background-color var(--ring-ease);\n\n border-color: #80c6ff;\n\n border-color: var(--ring-border-hover-color);\n }}\n\n.cell_ff0 {\n position: relative;\n top: -2px;\n\n display: inline-block;\n\n box-sizing: border-box;\n width: 14px;\n height: 14px;\n\n -webkit-user-select: none;\n\n -moz-user-select: none;\n\n -ms-user-select: none;\n\n user-select: none;\n transition: border-color 0.3s ease-out, background-color 0.3s ease-out, box-shadow 0.3s ease-out;\n transition: border-color var(--ring-ease), background-color var(--ring-ease), box-shadow var(--ring-ease);\n vertical-align: middle;\n pointer-events: none;\n\n border: 1px solid #b8d1e5;\n\n border: 1px solid var(--ring-borders-color);\n border-radius: 3px;\n background-color: #fff;\n background-color: var(--ring-content-background-color);\n}\n\n.icon_5de.icon_5de {\n position: absolute;\n top: -12px;\n left: 1px;\n\n width: 16px;\n height: 16px;\n\n transition: opacity 0.15s ease-out, transform 0.15s ease-out;\n\n transition: opacity var(--ring-fast-ease), transform var(--ring-fast-ease);\n\n opacity: 0\n}\n\n.icon_5de.icon_5de svg {\n position: absolute;\n top: 0;\n left: 0;\n }\n\n.input_d49 {\n position: absolute;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 100%;\n margin: 0;\n\n cursor: pointer;\n\n opacity: 0\n}\n\n.input_d49:checked + .cell_ff0 {\n border-color: #80c6ff;\n border-color: var(--ring-border-hover-color);\n background-color: #d4edff;\n background-color: var(--ring-selected-background-color)\n\n /* stylelint-disable-next-line selector-max-specificity */\n }\n\n.input_d49:checked + .cell_ff0 .icon_5de {\n transform: translateY(8px);\n\n opacity: 1;\n }\n\n.input_d49:focus + .cell_ff0,\n .input_d49.focus_91c + .cell_ff0 {\n transition: background-color 0.3s ease-out;\n transition: background-color var(--ring-ease);\n\n border-color: #80c6ff;\n\n border-color: var(--ring-border-hover-color);\n box-shadow: 0 0 0 1px #80c6ff;\n box-shadow: 0 0 0 1px var(--ring-border-hover-color);\n }\n\n.input_d49[disabled] {\n pointer-events: none;\n }\n\n.input_d49[disabled] + .cell_ff0 {\n border-color: #dfe5eb;\n border-color: var(--ring-line-color);\n background-color: #fff;\n background-color: var(--ring-content-background-color);\n }\n\n.input_d49 {\n\n /* stylelint-disable-next-line selector-max-specificity */\n}\n\n.input_d49[disabled]:checked + .cell_ff0 .icon_5de {\n opacity: 0.5;\n }\n\n.input_d49[disabled] ~ .label_0f3 {\n color: #999;\n color: var(--ring-disabled-color);\n }\n\n.label_0f3 {\n margin-left: 8px;\n\n line-height: normal;\n}\n",""]),t.locals={unit:""+o.locals.unit,checkboxSize:"14px",checkbox:"checkbox_e82",cell:"cell_ff0",icon:"icon_5de",input:"input_d49",focus:"focus_91c",label:"label_0f3"},e.exports=t},function(e,t,n){var r=n(40),o=n(219),i=n(58).f,a=n(146).f,s=n(215),l=n(170),c=r.RegExp,u=c,f=c.prototype,d=/a/g,p=/a/g,h=new c(d)!==d;if(n(53)&&(!h||n(54)((function(){return p[n(48)("match")]=!1,c(d)!=d||c(p)==p||"/a/i"!=c(d,"i")})))){c=function(e,t){var n=this instanceof c,r=s(e),i=void 0===t;return!n&&r&&e.constructor===c&&i?e:o(h?new u(r&&!i?e.source:e,t):u((r=e instanceof c)?e.source:e,r&&i?l.call(e):t),n?this:f,c)};for(var m=function(e){e in c||i(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})},g=a(u),v=0;g.length>v;)m(g[v++]);f.constructor=c,c.prototype=f,n(63)(r,"RegExp",c)}n(221)("RegExp")},function(e,t,n){(t=n(20)(!1)).push([e.i,'/*\n Custom theme for highlight.js\n Based on "idea.css" and "darcula.css" themes of hljs distributive\n*/\n\n.highlightContainer_64e.hljs {\n display: block;\n overflow-x: auto;\n\n color: #000;\n\n color: var(--ring-code-color);\n }\n\n.highlightContainer_64e .hljs-subst,\n .highlightContainer_64e .hljs-title {\n color: #000;\n color: var(--ring-code-color);\n\n font-weight: normal;\n }\n\n.highlightContainer_64e .hljs-comment,\n .highlightContainer_64e .hljs-quote {\n color: #707070;\n color: var(--ring-code-comment-color);\n\n font-style: italic;\n }\n\n.highlightContainer_64e .hljs-meta {\n color: #707070;\n color: var(--ring-code-meta-color);\n }\n\n.highlightContainer_64e .hljs-tag {\n background: #efefef;\n background: var(--ring-code-tag-background-color);\n box-shadow: 0 1px #efefef, 0 -1px #efefef;\n box-shadow: 0 1px var(--ring-code-tag-background-color), 0 -1px var(--ring-code-tag-background-color);\n }\n\n.highlightContainer_64e .hljs-section,\n .highlightContainer_64e .hljs-literal,\n .highlightContainer_64e .hljs-keyword,\n .highlightContainer_64e .hljs-type {\n color: #000080;\n color: var(--ring-code-keyword-color);\n\n font-weight: bold;\n }\n\n.highlightContainer_64e .hljs-name,\n .highlightContainer_64e .hljs-selector-pseudo,\n .highlightContainer_64e .hljs-selector-id,\n .highlightContainer_64e .hljs-selector-class {\n color: #000080;\n color: var(--ring-code-tag-color);\n\n font-weight: bold;\n\n font-weight: var(--ring-code-tag-font-weight);\n }\n\n.highlightContainer_64e .hljs-selector-tag {\n color: #000080;\n color: var(--ring-code-keyword-color);\n\n font-weight: bold;\n\n font-weight: var(--ring-code-tag-font-weight);\n }\n\n.highlightContainer_64e .hljs-attr {\n color: #660e7a;\n color: var(--ring-code-field-color);\n\n font-weight: bold;\n }\n\n.highlightContainer_64e .hljs-tag > .hljs-attr,\n .highlightContainer_64e .hljs-attribute {\n color: #00f;\n color: var(--ring-code-attribute-color);\n\n font-weight: bold;\n\n font-weight: var(--ring-code-tag-font-weight);\n }\n\n.highlightContainer_64e .hljs-number,\n .highlightContainer_64e .hljs-regexp,\n .highlightContainer_64e .hljs-link {\n color: #00f;\n color: var(--ring-code-number-color);\n\n font-weight: normal;\n }\n\n.highlightContainer_64e .hljs-string {\n color: #007a00;\n color: var(--ring-code-string-color);\n\n font-weight: bold;\n }\n\n.highlightContainer_64e .hljs-doctag {\n text-decoration: underline;\n }\n\n.highlightContainer_64e .hljs-variable,\n .highlightContainer_64e .hljs-template-variable {\n color: #660e7a;\n color: var(--ring-code-field-color);\n }\n\n.highlightContainer_64e .hljs-addition {\n background: #aadeaa;\n background: var(--ring-code-addition-color);\n }\n\n.highlightContainer_64e .hljs-deletion {\n background: #c8c8c8;\n background: var(--ring-code-deletion-color);\n }\n\n.highlightContainer_64e .hljs-emphasis {\n font-style: italic;\n }\n\n.highlightContainer_64e .hljs-strong {\n font-weight: bold;\n }\n',""]),t.locals={highlightContainer:"highlightContainer_64e"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,'.code_d7f {\n margin: 16px 0;\n}\n\n/* override hljs */\n.code_d7f code {\n padding: 12px 16px 16px;\n\n border-radius: 3px;\n\n border-radius: var(--ring-border-radius);\n background-color: #f7f9fa;\n background-color: var(--ring-sidebar-background-color);\n\n font-family: Menlo, "Bitstream Vera Sans Mono", "Ubuntu Mono", Consolas, "Courier New", Courier, monospace;\n\n font-family: var(--ring-font-family-monospace);\n font-size: 12px;\n font-size: var(--ring-font-size-smaller);\n line-height: 16px;\n line-height: var(--ring-line-height-lowest);\n}\n\n.inline_37a code {\n display: inline-block;\n\n padding: 0 4px;\n}\n\n.softWrap_a5c code {\n white-space: pre-wrap;\n}\n',""]),t.locals={unit:""+o.locals.unit,code:"code_d7f",inline:"inline_37a",softWrap:"softWrap_a5c"},e.exports=t},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){var r=n(20),o=n(27),i=n(316),a=n(22);(t=r(!1)).i(o,"",!0),t.i(i,"",!0),t.i(a),t.push([e.i,".panel_8c0 { /* TODO: Invert dependency using :externals CSS Modules selector */\n\n position: relative;\n\n margin-top: 16px;\n padding: 12px 0 16px 16px;\n\n border-top: 1px solid rgba(0, 42, 76, 0.1);\n\n border-top: 1px solid var(--ring-popup-border-color)\n}\n\n.panel_8c0:empty {\n display: none;\n }\n\n.panel_8c0 button {\n margin-right: 8px;\n }\n",""]),t.locals={unit:""+o.locals.unit,panel:"panel_8c0 "+i.locals.panel},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".description_d3f {\n margin-top: 8px;\n\n font-size: 13px;\n\n font-size: var(--ring-font-size);\n}\n",""]),t.locals={unit:""+o.locals.unit,description:"description_d3f"},e.exports=t},function(e,t,n){"use strict";
-/** @license React v16.13.1
- * react-is.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case l:case s:case h:return e;default:switch(e=e&&e.$$typeof){case u:case p:case v:case g:case c:return e;default:return t}}case i:return t}}}function k(e){return x(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=c,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=v,t.Memo=g,t.Portal=i,t.Profiler=l,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return k(e)||x(e)===f},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===v},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===l},t.isStrictMode=function(e){return x(e)===s},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===l||e===s||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===c||e.$$typeof===u||e.$$typeof===p||e.$$typeof===b||e.$$typeof===_||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".contentLayout_5c0 {\n position: relative;\n\n display: flex;\n flex-flow: row nowrap;\n}\n\n.contentLayoutContent_d2c {\n align-self: flex-start;\n flex-grow: 2;\n\n width: 100%; /* without this hack IE11 render contentLayoutContent wider than its container */\n margin: 0 32px;\n}\n\n.sidebarContainer_e95 {\n min-width: 240px;\n max-width: 240px;\n}\n\n.sidebarContainerRight_936 {\n order: 1;\n}\n\n.sidebar_03b {\n overflow: auto;\n\n box-sizing: border-box;\n min-width: 240px;\n max-width: 240px;\n height: 100%;\n padding-right: 16px;\n padding-left: 32px;\n}\n\n.sidebarRight_2cd {\n padding-right: 32px;\n padding-left: 16px;\n}\n\n.sidebarFixedTop_29c {\n top: 0;\n bottom: 0\n}\n\n.sidebarFixedTop_29c.sidebarFixedTop_29c {\n position: fixed;\n }\n\n.sidebarFixedBottom_113.sidebarFixedBottom_113 {\n position: absolute;\n top: auto;\n bottom: 0;\n}\n\n.bottomMarker_6fd {\n position: absolute;\n bottom: 0;\n}\n\n@media (max-width: 639px), (min-width: 640px) and (max-width: 959px) {\n .contentLayoutResponsive_52f .contentLayoutContent_d2c {\n margin: 0 16px;\n }\n\n .contentLayoutResponsive_52f .sidebar_03b {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n\n box-sizing: content-box;\n padding: 0 16px;\n }\n\n .contentLayoutResponsive_52f .sidebarFixedTop_29c {\n position: fixed;\n }\n\n .contentLayoutResponsive_52f .sidebarFixedBottom_113 {\n top: auto;\n }\n\n .contentLayoutResponsive_52f .sidebarRight_2cd {\n right: 0;\n left: auto;\n }\n\n .contentLayoutResponsive_52f .sidebarContainer_e95 {\n min-width: 0;\n max-width: 0;\n }\n }\n\n@media (max-width: 639px) {\n .contentLayoutResponsive_52f .sidebar_03b {\n width: 80%;\n min-width: 0;\n max-width: none;\n }\n }\n",""]),t.locals={unit:""+o.locals.unit,"extra-small-screen-media":""+o.locals["extra-small-screen-media"],"small-screen-media":""+o.locals["small-screen-media"],sidebarWidth:"240px",contentLayout:"contentLayout_5c0",contentLayoutContent:"contentLayoutContent_d2c",sidebarContainer:"sidebarContainer_e95",sidebarContainerRight:"sidebarContainerRight_936",sidebar:"sidebar_03b",sidebarRight:"sidebarRight_2cd",sidebarFixedTop:"sidebarFixedTop_29c",sidebarFixedBottom:"sidebarFixedBottom_113",bottomMarker:"bottomMarker_6fd",contentLayoutResponsive:"contentLayoutResponsive_52f"},e.exports=t},function(e,t,n){"use strict";
-/** @license React v16.13.1
- * react-dom-server.browser.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */var r=n(163),o=n(1);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.portal"):60106,l=a?Symbol.for("react.fragment"):60107,c=a?Symbol.for("react.strict_mode"):60108,u=a?Symbol.for("react.profiler"):60114,f=a?Symbol.for("react.provider"):60109,d=a?Symbol.for("react.context"):60110,p=a?Symbol.for("react.concurrent_mode"):60111,h=a?Symbol.for("react.forward_ref"):60112,m=a?Symbol.for("react.suspense"):60113,g=a?Symbol.for("react.suspense_list"):60120,v=a?Symbol.for("react.memo"):60115,y=a?Symbol.for("react.lazy"):60116,b=a?Symbol.for("react.block"):60121,_=a?Symbol.for("react.fundamental"):60117,w=a?Symbol.for("react.scope"):60119;function x(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"Fragment";case s:return"Portal";case u:return"Profiler";case c:return"StrictMode";case m:return"Suspense";case g:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case d:return"Context.Consumer";case f:return"Context.Provider";case h:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case v:return x(e.type);case b:return x(e.render);case y:if(e=1===e._status?e._result:null)return x(e)}return null}var k=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;k.hasOwnProperty("ReactCurrentDispatcher")||(k.ReactCurrentDispatcher={current:null}),k.hasOwnProperty("ReactCurrentBatchConfig")||(k.ReactCurrentBatchConfig={suspense:null});var M={};function S(e,t){for(var n=0|e._threadCount;n<=t;n++)e[n]=e._currentValue2,e._threadCount=n+1}for(var O=new Uint16Array(16),E=0;15>E;E++)O[E]=E+1;O[15]=0;var L=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,T=Object.prototype.hasOwnProperty,D={},C={};function P(e){return!!T.call(C,e)||!T.call(D,e)&&(L.test(e)?C[e]=!0:(D[e]=!0,!1))}function j(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Y[e]=new j(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Y[t]=new j(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Y[e]=new j(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Y[e]=new j(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Y[e]=new j(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Y[e]=new j(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){Y[e]=new j(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){Y[e]=new j(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){Y[e]=new j(e,5,!1,e.toLowerCase(),null,!1)}));var A=/[\-:]([a-z])/g;function I(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(A,I);Y[t]=new j(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(A,I);Y[t]=new j(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(A,I);Y[t]=new j(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){Y[e]=new j(e,1,!1,e.toLowerCase(),null,!1)})),Y.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){Y[e]=new j(e,1,!1,e.toLowerCase(),null,!0)}));var R=/["'&<>]/;function $(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=R.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}function H(e,t){var n,r=Y.hasOwnProperty(e)?Y[e]:null;return(n="style"!==e)&&(n=null!==r?0===r.type:2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])),n||function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(e,t,r,!1)?"":null!==r?(e=r.attributeName,3===(n=r.type)||4===n&&!0===t?e+'=""':(r.sanitizeURL&&(t=""+t),e+'="'+$(t)+'"')):P(e)?e+'="'+$(t)+'"':""}var N="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},z=null,F=null,B=null,U=!1,W=!1,V=null,q=0;function G(){if(null===z)throw Error(i(321));return z}function K(){if(0<q)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function J(){return null===B?null===F?(U=!1,F=B=K()):(U=!0,B=F):null===B.next?(U=!1,B=B.next=K()):(U=!0,B=B.next),B}function Q(e,t,n,r){for(;W;)W=!1,q+=1,B=null,n=e(t,r);return F=z=null,q=0,B=V=null,n}function Z(e,t){return"function"==typeof t?t(e):t}function X(e,t,n){if(z=G(),B=J(),U){var r=B.queue;if(t=r.dispatch,null!==V&&void 0!==(n=V.get(r))){V.delete(r),r=B.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return B.memoizedState=r,[r,t]}return[B.memoizedState,t]}return e=e===Z?"function"==typeof t?t():t:void 0!==n?n(t):t,B.memoizedState=e,e=(e=B.queue={last:null,dispatch:null}).dispatch=ee.bind(null,z,e),[B.memoizedState,e]}function ee(e,t,n){if(!(25>q))throw Error(i(301));if(e===z)if(W=!0,e={action:n,next:null},null===V&&(V=new Map),void 0===(n=V.get(t)))V.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function te(){}var ne=0,re={readContext:function(e){var t=ne;return S(e,t),e[t]},useContext:function(e){G();var t=ne;return S(e,t),e[t]},useMemo:function(e,t){if(z=G(),t=void 0===t?null:t,null!==(B=J())){var n=B.memoizedState;if(null!==n&&null!==t){e:{var r=n[1];if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!N(t[o],r[o])){r=!1;break e}r=!0}}if(r)return n[0]}}return e=e(),B.memoizedState=[e,t],e},useReducer:X,useRef:function(e){z=G();var t=(B=J()).memoizedState;return null===t?(e={current:e},B.memoizedState=e):t},useState:function(e){return X(Z,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:te,useEffect:te,useDebugValue:te,useResponder:function(e,t){return{props:t,responder:e}},useDeferredValue:function(e){return G(),e},useTransition:function(){return G(),[function(e){e()},!1]}},oe="http://www.w3.org/1999/xhtml";function ie(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var ae={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},se=r({menuitem:!0},ae),le={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ce=["Webkit","ms","Moz","O"];Object.keys(le).forEach((function(e){ce.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),le[t]=le[e]}))}));var ue=/([A-Z])/g,fe=/^ms-/,de=o.Children.toArray,pe=k.ReactCurrentDispatcher,he={listing:!0,pre:!0,textarea:!0},me=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ge={},ve={};var ye=Object.prototype.hasOwnProperty,be={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function _e(e,t){if(void 0===e)throw Error(i(152,x(t)||"Component"))}function we(e,t,n){function a(o,a){var s=a.prototype&&a.prototype.isReactComponent,l=function(e,t,n,r){if(r&&("object"==typeof(r=e.contextType)&&null!==r))return S(r,n),r[n];if(e=e.contextTypes){for(var o in n={},e)n[o]=t[o];t=n}else t=M;return t}(a,t,n,s),c=[],u=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===c)return null},enqueueReplaceState:function(e,t){u=!0,c=[t]},enqueueSetState:function(e,t){if(null===c)return null;c.push(t)}};if(s){if(s=new a(o.props,l,f),"function"==typeof a.getDerivedStateFromProps){var d=a.getDerivedStateFromProps.call(null,o.props,s.state);null!=d&&(s.state=r({},s.state,d))}}else if(z={},s=a(o.props,l,f),null==(s=Q(a,o.props,s,l))||null==s.render)return void _e(e=s,a);if(s.props=o.props,s.context=l,s.updater=f,void 0===(f=s.state)&&(s.state=f=null),"function"==typeof s.UNSAFE_componentWillMount||"function"==typeof s.componentWillMount)if("function"==typeof s.componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&s.UNSAFE_componentWillMount(),c.length){f=c;var p=u;if(c=null,u=!1,p&&1===f.length)s.state=f[0];else{d=p?f[0]:s.state;var h=!0;for(p=p?1:0;p<f.length;p++){var m=f[p];null!=(m="function"==typeof m?m.call(s,d,o.props,l):m)&&(h?(h=!1,d=r({},d,m)):r(d,m))}s.state=d}}else c=null;if(_e(e=s.render(),a),"function"==typeof s.getChildContext&&"object"==typeof(o=a.childContextTypes)){var g=s.getChildContext();for(var v in g)if(!(v in o))throw Error(i(108,x(a)||"Unknown",v))}g&&(t=r({},t,g))}for(;o.isValidElement(e);){var s=e,l=s.type;if("function"!=typeof l)break;a(s,l)}return{child:e,context:t}}var xe=function(){function e(e,t){o.isValidElement(e)?e.type!==l?e=[e]:(e=e.props.children,e=o.isValidElement(e)?[e]:de(e)):e=de(e),e={type:null,domNamespace:oe,children:e,childIndex:0,context:M,footer:""};var n=O[0];if(0===n){var r=O,a=2*(n=r.length);if(!(65536>=a))throw Error(i(304));var s=new Uint16Array(a);for(s.set(r),(O=s)[0]=n+1,r=n;r<a-1;r++)O[r]=r+1;O[a-1]=0}else O[0]=O[n];this.threadID=n,this.stack=[e],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=t,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var t=e.prototype;return t.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;O[e]=O[0],O[0]=e}},t.pushProvider=function(e){var t=++this.contextIndex,n=e.type._context,r=this.threadID;S(n,r);var o=n[r];this.contextStack[t]=n,this.contextValueStack[t]=o,n[r]=e.props.value},t.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],n=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=n},t.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},t.read=function(e){if(this.exhausted)return null;var t=ne;ne=this.threadID;var n=pe.current;pe.current=re;try{for(var r=[""],o=!1;r[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;O[a]=O[0],O[0]=a;break}var s=this.stack[this.stack.length-1];if(o||s.childIndex>=s.children.length){var l=s.footer;if(""!==l&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===f)this.popProvider(s.type);else if(s.type===m){this.suspenseDepth--;var c=r.pop();if(o){o=!1;var u=s.fallbackFrame;if(!u)throw Error(i(303));this.stack.push(u),r[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}r[this.suspenseDepth]+=c}r[this.suspenseDepth]+=l}else{var d=s.children[s.childIndex++],p="";try{p+=this.render(d,s.context,s.domNamespace)}catch(e){if(null!=e&&"function"==typeof e.then)throw Error(i(294));throw e}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=p}}return r[0]}finally{pe.current=n,ne=t}},t.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?$(n):this.previousWasTextNode?"\x3c!-- --\x3e"+$(n):(this.previousWasTextNode=!0,$(n));if(e=(t=we(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!o.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if((n=e.$$typeof)===s)throw Error(i(257));throw Error(i(258,n.toString()))}return e=de(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}var a=e.type;if("string"==typeof a)return this.renderDOM(e,t,n);switch(a){case c:case p:case u:case g:case l:return e=de(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case m:throw Error(i(294))}if("object"==typeof a&&null!==a)switch(a.$$typeof){case h:z={};var b=a.render(e.props,e.ref);return b=Q(a.render,e.props,b,e.ref),b=de(b),this.stack.push({type:null,domNamespace:n,children:b,childIndex:0,context:t,footer:""}),"";case v:return e=[o.createElement(a.type,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case f:return n={type:e,domNamespace:n,children:a=de(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case d:a=e.type,b=e.props;var x=this.threadID;return S(a,x),a=de(b.children(a[x])),this.stack.push({type:e,domNamespace:n,children:a,childIndex:0,context:t,footer:""}),"";case _:throw Error(i(338));case y:switch(function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(a=e.type),a._status){case 1:return e=[o.createElement(a._result,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case 2:throw a._result;default:throw Error(i(295))}case w:throw Error(i(343))}throw Error(i(130,null==a?a:typeof a,""))},t.renderDOM=function(e,t,n){var a=e.type.toLowerCase();if(n===oe&&ie(a),!ge.hasOwnProperty(a)){if(!me.test(a))throw Error(i(65,a));ge[a]=!0}var s=e.props;if("input"===a)s=r({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===a){var l=s.value;if(null==l){l=s.defaultValue;var c=s.children;if(null!=c){if(null!=l)throw Error(i(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(i(93));c=c[0]}l=""+c}null==l&&(l="")}s=r({},s,{value:void 0,children:""+l})}else if("select"===a)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=r({},s,{value:void 0});else if("option"===a){c=this.currentSelectValue;var u=function(e){if(null==e)return e;var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(s.children);if(null!=c){var f=null!=s.value?s.value+"":u;if(l=!1,Array.isArray(c)){for(var d=0;d<c.length;d++)if(""+c[d]===f){l=!0;break}}else l=""+c===f;s=r({selected:void 0,children:void 0},s,{selected:l,children:u})}}if(l=s){if(se[a]&&(null!=l.children||null!=l.dangerouslySetInnerHTML))throw Error(i(137,a,""));if(null!=l.dangerouslySetInnerHTML){if(null!=l.children)throw Error(i(60));if("object"!=typeof l.dangerouslySetInnerHTML||!("__html"in l.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=l.style&&"object"!=typeof l.style)throw Error(i(62,""))}for(_ in l=s,c=this.makeStaticMarkup,u=1===this.stack.length,f="<"+e.type,l)if(ye.call(l,_)){var p=l[_];if(null!=p){if("style"===_){d=void 0;var h="",m="";for(d in p)if(p.hasOwnProperty(d)){var g=0===d.indexOf("--"),v=p[d];if(null!=v){if(g)var y=d;else if(y=d,ve.hasOwnProperty(y))y=ve[y];else{var b=y.replace(ue,"-$1").toLowerCase().replace(fe,"-ms-");y=ve[y]=b}h+=m+y+":",m=d,h+=g=null==v||"boolean"==typeof v||""===v?"":g||"number"!=typeof v||0===v||le.hasOwnProperty(m)&&le[m]?(""+v).trim():v+"px",m=";"}}p=h||null}d=null;e:if(g=a,v=l,-1===g.indexOf("-"))g="string"==typeof v.is;else switch(g){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":g=!1;break e;default:g=!0}g?be.hasOwnProperty(_)||(d=P(d=_)&&null!=p?d+'="'+$(p)+'"':""):d=H(_,p),d&&(f+=" "+d)}}c||u&&(f+=' data-reactroot=""');var _=f;l="",ae.hasOwnProperty(a)?_+="/>":(_+=">",l="</"+e.type+">");e:{if(null!=(c=s.dangerouslySetInnerHTML)){if(null!=c.__html){c=c.__html;break e}}else if("string"==typeof(c=s.children)||"number"==typeof c){c=$(c);break e}c=null}return null!=c?(s=[],he.hasOwnProperty(a)&&"\n"===c.charAt(0)&&(_+="\n"),_+=c):s=de(s.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?ie(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:s,childIndex:0,context:t,footer:l}),this.previousWasTextNode=!1,_},e}(),ke={renderToString:function(e){e=new xe(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new xe(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){throw Error(i(207))},renderToStaticNodeStream:function(){throw Error(i(208))},version:"16.13.1"};e.exports=ke.default||ke},function(e,t,n){var r=n(31);r(r.P,"Array",{fill:n(894)}),n(138)("fill")},function(e,t,n){"use strict";var r=n(82),o=n(270),i=n(81);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)t[s++]=e;return t}},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,"@-webkit-keyframes rotation-keyframes_4ba {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes rotation-keyframes_4ba {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.canvas_8ee {\n display: block;\n\n margin: 16px auto;\n\n pointer-events: none;\n}\n\n.animate_f3c {\n -webkit-animation: rotation-keyframes_4ba 36s linear infinite;\n animation: rotation-keyframes_4ba 36s linear infinite;\n}\n\n.text_967 {\n text-align: center;\n\n font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;\n\n font-family: var(--ring-font-family);\n font-size: 13px;\n font-size: var(--ring-font-size);\n line-height: 20px;\n line-height: var(--ring-line-height);\n}\n",""]),t.locals={unit:""+o.locals.unit,canvas:"canvas_8ee",animate:"animate_f3c","rotation-keyframes":"rotation-keyframes_4ba",text:"text_967"},e.exports=t},function(e,t,n){var r=n(20),o=n(22);(t=r(!1)).i(o),t.push([e.i,".text_b79 {\n color: #1f2326;\n color: var(--ring-text-color);\n}\n\n.info_5a9 {\n color: #737577;\n color: var(--ring-secondary-color);\n}\n",""]),t.locals={text:"text_b79",info:"info_5a9"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(318),a=n(22);(t=r(!1)).i(o,"",!0),t.i(i,"",!0),t.i(a),t.push([e.i,".dataListWrapper_bd0 {\n position: relative;\n}\n\n.dataList_975 {\n margin: 0;\n padding: 0;\n\n list-style: none;\n}\n\n.itemContent_f8f {\n padding: 0;\n\n list-style: none;\n}\n\n.title_9ae {\n display: flex;\n align-items: center;\n\n box-sizing: content-box;\n height: 32px;\n padding: 0 40px 2px 0;\n\n outline: none\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.dataList_975:not(.disabledHover_f6d) .title_9ae:hover {\n background-color: #ebf6ff;\n background-color: var(--ring-hover-background-color)\n}}\n\n.title_9ae.titleSelected_9d3 {\n background-color: #d4edff;\n background-color: var(--ring-selected-background-color);\n }\n\n.title_9ae.titleFocused_d40 {\n background-color: #ebf6ff;\n background-color: var(--ring-hover-background-color);\n box-shadow: inset 2px 0 #008eff;\n box-shadow: inset 2px 0 var(--ring-main-color);\n }\n\n.showMore_a90 {\n padding: 4px 60px;\n\n color: #737577;\n\n color: var(--ring-secondary-color);\n outline: none;\n\n font-size: 12px;\n}\n\n.boxes_489 {\n display: flex;\n\n min-width: 24px;\n}\n\n.checkboxBox_f0c {\n width: 24px;\n}\n\n.collapseButton_69a {\n top: 1px;\n left: -5px;\n\n height: auto;\n padding: 0 5px;\n\n line-height: inherit;\n}\n\n.collapseIcon_c26.collapseIcon_c26 {\n color: #999;\n color: var(--ring-icon-secondary-color);\n}\n\n.loadingOverlay_0f2 {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n background-color: rgba(255, 255, 255, 0.5);\n}\n\n.showMoreLoader_423 {\n top: 1px;\n left: 8px;\n}\n",""]),t.locals={unit:""+o.locals.unit,height:""+i.locals.height,compensate:""+i.locals.compensate,dataListWrapper:"dataListWrapper_bd0",dataList:"dataList_975",itemContent:"itemContent_f8f",title:"title_9ae",disabledHover:"disabledHover_f6d",titleSelected:"titleSelected_9d3",titleFocused:"titleFocused_d40",showMore:"showMore_a90",boxes:"boxes_489",checkboxBox:"checkboxBox_f0c",collapseButton:"collapseButton_69a",collapseIcon:"collapseIcon_c26",loadingOverlay:"loadingOverlay_0f2",showMoreLoader:"showMoreLoader_423"},e.exports=t},function(e,t,n){var r=n(125),o=n(272),i=n(80),a=n(31),s=n(51),l=n(49);a(a.S,"Reflect",{get:function e(t,n){var a,c,u=arguments.length<3?t:arguments[2];return l(t)===u?t[n]:(a=r.f(t,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(u):void 0:s(c=o(t))?e(c,n,u):void 0}})},function(e,t,n){var r=n(20),o=n(22);(t=r(!1)).i(o),t.push([e.i,".dropdown_5d7 {\n display: inline-block;\n}\n\n.anchor_93a.anchor_93a {\n margin: 0 -3px;\n padding: 0 3px;\n\n font: inherit;\n}\n\n.chevron_7e5 {\n margin-left: 2px;\n\n line-height: normal;\n}\n",""]),t.locals={dropdown:"dropdown_5d7",anchor:"anchor_93a",chevron:"chevron_7e5"},e.exports=t},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r={"./af":319,"./af.js":319,"./ar":320,"./ar-dz":321,"./ar-dz.js":321,"./ar-kw":322,"./ar-kw.js":322,"./ar-ly":323,"./ar-ly.js":323,"./ar-ma":324,"./ar-ma.js":324,"./ar-sa":325,"./ar-sa.js":325,"./ar-tn":326,"./ar-tn.js":326,"./ar.js":320,"./az":327,"./az.js":327,"./be":328,"./be.js":328,"./bg":329,"./bg.js":329,"./bm":330,"./bm.js":330,"./bn":331,"./bn.js":331,"./bo":332,"./bo.js":332,"./br":333,"./br.js":333,"./bs":334,"./bs.js":334,"./ca":335,"./ca.js":335,"./cs":336,"./cs.js":336,"./cv":337,"./cv.js":337,"./cy":338,"./cy.js":338,"./da":339,"./da.js":339,"./de":340,"./de-at":341,"./de-at.js":341,"./de-ch":342,"./de-ch.js":342,"./de.js":340,"./dv":343,"./dv.js":343,"./el":344,"./el.js":344,"./en-au":345,"./en-au.js":345,"./en-ca":346,"./en-ca.js":346,"./en-gb":347,"./en-gb.js":347,"./en-ie":348,"./en-ie.js":348,"./en-il":349,"./en-il.js":349,"./en-in":350,"./en-in.js":350,"./en-nz":351,"./en-nz.js":351,"./en-sg":352,"./en-sg.js":352,"./eo":353,"./eo.js":353,"./es":354,"./es-do":355,"./es-do.js":355,"./es-us":356,"./es-us.js":356,"./es.js":354,"./et":357,"./et.js":357,"./eu":358,"./eu.js":358,"./fa":359,"./fa.js":359,"./fi":360,"./fi.js":360,"./fil":361,"./fil.js":361,"./fo":362,"./fo.js":362,"./fr":363,"./fr-ca":364,"./fr-ca.js":364,"./fr-ch":365,"./fr-ch.js":365,"./fr.js":363,"./fy":366,"./fy.js":366,"./ga":367,"./ga.js":367,"./gd":368,"./gd.js":368,"./gl":369,"./gl.js":369,"./gom-deva":370,"./gom-deva.js":370,"./gom-latn":371,"./gom-latn.js":371,"./gu":372,"./gu.js":372,"./he":373,"./he.js":373,"./hi":374,"./hi.js":374,"./hr":375,"./hr.js":375,"./hu":376,"./hu.js":376,"./hy-am":377,"./hy-am.js":377,"./id":378,"./id.js":378,"./is":379,"./is.js":379,"./it":380,"./it-ch":381,"./it-ch.js":381,"./it.js":380,"./ja":382,"./ja.js":382,"./jv":383,"./jv.js":383,"./ka":384,"./ka.js":384,"./kk":385,"./kk.js":385,"./km":386,"./km.js":386,"./kn":387,"./kn.js":387,"./ko":388,"./ko.js":388,"./ku":389,"./ku.js":389,"./ky":390,"./ky.js":390,"./lb":391,"./lb.js":391,"./lo":392,"./lo.js":392,"./lt":393,"./lt.js":393,"./lv":394,"./lv.js":394,"./me":395,"./me.js":395,"./mi":396,"./mi.js":396,"./mk":397,"./mk.js":397,"./ml":398,"./ml.js":398,"./mn":399,"./mn.js":399,"./mr":400,"./mr.js":400,"./ms":401,"./ms-my":402,"./ms-my.js":402,"./ms.js":401,"./mt":403,"./mt.js":403,"./my":404,"./my.js":404,"./nb":405,"./nb.js":405,"./ne":406,"./ne.js":406,"./nl":407,"./nl-be":408,"./nl-be.js":408,"./nl.js":407,"./nn":409,"./nn.js":409,"./oc-lnc":410,"./oc-lnc.js":410,"./pa-in":411,"./pa-in.js":411,"./pl":412,"./pl.js":412,"./pt":413,"./pt-br":414,"./pt-br.js":414,"./pt.js":413,"./ro":415,"./ro.js":415,"./ru":416,"./ru.js":416,"./sd":417,"./sd.js":417,"./se":418,"./se.js":418,"./si":419,"./si.js":419,"./sk":420,"./sk.js":420,"./sl":421,"./sl.js":421,"./sq":422,"./sq.js":422,"./sr":423,"./sr-cyrl":424,"./sr-cyrl.js":424,"./sr.js":423,"./ss":425,"./ss.js":425,"./sv":426,"./sv.js":426,"./sw":427,"./sw.js":427,"./ta":428,"./ta.js":428,"./te":429,"./te.js":429,"./tet":430,"./tet.js":430,"./tg":431,"./tg.js":431,"./th":432,"./th.js":432,"./tl-ph":433,"./tl-ph.js":433,"./tlh":434,"./tlh.js":434,"./tr":435,"./tr.js":435,"./tzl":436,"./tzl.js":436,"./tzm":437,"./tzm-latn":438,"./tzm-latn.js":438,"./tzm.js":437,"./ug-cn":439,"./ug-cn.js":439,"./uk":440,"./uk.js":440,"./ur":441,"./ur.js":441,"./uz":442,"./uz-latn":443,"./uz-latn.js":443,"./uz.js":442,"./vi":444,"./vi.js":444,"./x-pseudo":445,"./x-pseudo.js":445,"./yo":446,"./yo.js":446,"./zh-cn":447,"./zh-cn.js":447,"./zh-hk":448,"./zh-hk.js":448,"./zh-mo":449,"./zh-mo.js":449,"./zh-tw":450,"./zh-tw.js":450};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=901},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.input_cc0:-webkit-autofill:hover {\n -webkit-transition: background-color 50000s ease-in-out 0s;\n transition: background-color 50000s ease-in-out 0s;\n }}\n\n.container_cc8 {\n\n position: relative;\n\n box-sizing: border-box;\n min-height: 64px;\n padding-top: 16px\n}\n\n.container_cc8 * {\n box-sizing: border-box;\n }\n\n.compact_da7 {\n min-height: 32px;\n padding: 0;\n}\n\n.input_cc0 {\n width: 100%;\n min-height: 32px;\n padding: 0;\n\n border: none;\n outline: none;\n background: transparent;\n\n font: inherit;\n caret-color: #008eff;\n caret-color: var(--ring-main-color)\n}\n\n.clearable_6ba .input_cc0 {\n padding-right: 24px\n}\n\n[dir=rtl] .clearable_6ba .input_cc0 {\n padding-right: 0;\n padding-left: 24px\n}\n\n.light_6ee .input_cc0 {\n color: #1f2326;\n color: var(--ring-text-color)\n}\n\n.dark_2d8 .input_cc0 {\n color: #fff;\n color: var(--ring-dark-text-color)\n}\n\n.input_cc0::-moz-placeholder {\n color: transparent;\n }\n\n.input_cc0:-ms-input-placeholder {\n color: transparent;\n }\n\n.input_cc0::-ms-input-placeholder {\n color: transparent;\n }\n\n.input_cc0::placeholder {\n color: transparent;\n }\n\n.input_cc0[disabled] {\n color: #999;\n color: var(--ring-disabled-color);\n\n -webkit-text-fill-color: #999;\n\n -webkit-text-fill-color: var(--ring-disabled-color); /* Required for Safari, see RG-2063 for details */\n }\n\n.input_cc0 {\n\n /*\n Kill yellow webkit autocomplete\n https://css-tricks.com/snippets/css/change-autocomplete-styles-webkit-browsers/\n */\n}\n\n.input_cc0:-webkit-autofill,\n .input_cc0:-webkit-autofill:focus {\n -webkit-transition: background-color 50000s ease-in-out 0s;\n transition: background-color 50000s ease-in-out 0s;\n }\n\n.input_cc0:-webkit-autofill ~ .label_5f1 {\n top: 4px;\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n }\n\n.input_cc0 {\n\n /* if you need a cross, pass onClear prop */\n}\n\n.input_cc0::-ms-clear {\n display: none;\n }\n\n.withIcon_dff .input_cc0,\n.withIcon_dff .label_5f1 {\n padding-left: 22px\n}\n\n[dir=rtl] .withIcon_dff .input_cc0,\n[dir=rtl] .withIcon_dff .label_5f1 {\n padding-right: 22px;\n padding-left: 0\n}\n\n.icon_ebd,\n\n.clear_9db.clear_9db {\n position: absolute;\n top: 17px;\n\n line-height: 32px\n}\n\n.compact_da7 .icon_ebd,\n\n.compact_da7 .clear_9db.clear_9db {\n top: 1px\n}\n\n.icon_ebd {\n left: 0;\n\n color: #b8d1e5;\n\n color: var(--ring-icon-color)\n}\n\n[dir=rtl] .icon_ebd {\n right: 0;\n left: auto\n}\n\n.clear_9db {\n right: 0;\n\n padding-right: 0\n}\n\n.empty_1b9 .clear_9db {\n display: none\n}\n\n[dir=rtl] .clear_9db {\n right: auto;\n left: 0\n}\n\ntextarea.input_cc0 {\n overflow: hidden;\n\n box-sizing: border-box;\n padding-top: 8px;\n\n resize: none;\n}\n\n.label_5f1 {\n position: absolute;\n top: 23px;\n left: 0;\n\n transition: transform 0.15s ease-out, color 0.15s ease-out;\n\n transition: transform var(--ring-fast-ease), color var(--ring-fast-ease);\n transform-origin: top left;\n pointer-events: none\n}\n\n.light_6ee .label_5f1 {\n color: #737577;\n color: var(--ring-secondary-color)\n}\n\n.dark_2d8 .label_5f1 {\n color: #888;\n color: var(--ring-dark-secondary-color)\n}\n\n.input_cc0:focus ~ .label_5f1,\n.container_cc8.active_51c > .label_5f1,\n.container_cc8:not(.empty_1b9) > .label_5f1 {\n transform: translateY(-20px) scale(0.92308);\n}\n\n.noLabel_caf ::-moz-placeholder, .input_cc0:focus::-moz-placeholder {\n -moz-transition: color 0.15s ease-out;\n transition: color 0.15s ease-out;\n -moz-transition: color var(--ring-fast-ease);\n transition: color var(--ring-fast-ease);\n}\n\n.noLabel_caf :-ms-input-placeholder, .input_cc0:focus:-ms-input-placeholder {\n -ms-transition: color 0.15s ease-out;\n transition: color 0.15s ease-out;\n -ms-transition: color var(--ring-fast-ease);\n transition: color var(--ring-fast-ease);\n}\n\n.noLabel_caf ::-ms-input-placeholder, .input_cc0:focus::-ms-input-placeholder {\n -ms-transition: color 0.15s ease-out;\n transition: color 0.15s ease-out;\n -ms-transition: color var(--ring-fast-ease);\n transition: color var(--ring-fast-ease);\n}\n\n.noLabel_caf ::placeholder,\n.input_cc0:focus::placeholder {\n transition: color 0.15s ease-out;\n transition: color var(--ring-fast-ease);\n}\n\n.light_6ee.noLabel_caf ::-moz-placeholder, .light_6ee :focus::-moz-placeholder {\n color: #999;\n color: var(--ring-disabled-color);\n}\n\n.light_6ee.noLabel_caf :-ms-input-placeholder, .light_6ee :focus:-ms-input-placeholder {\n color: #999;\n color: var(--ring-disabled-color);\n}\n\n.light_6ee.noLabel_caf ::-ms-input-placeholder, .light_6ee :focus::-ms-input-placeholder {\n color: #999;\n color: var(--ring-disabled-color);\n}\n\n.light_6ee.noLabel_caf ::placeholder,\n.light_6ee :focus::placeholder {\n color: #999;\n color: var(--ring-disabled-color);\n}\n\n/* stylelint-disable-next-line selector-max-specificity */\n.dark_2d8.noLabel_caf ::-moz-placeholder, .dark_2d8 :focus::-moz-placeholder {\n color: #737577;\n color: var(--ring-secondary-color);\n}\n.dark_2d8.noLabel_caf :-ms-input-placeholder, .dark_2d8 :focus:-ms-input-placeholder {\n color: #737577;\n color: var(--ring-secondary-color);\n}\n.dark_2d8.noLabel_caf ::-ms-input-placeholder, .dark_2d8 :focus::-ms-input-placeholder {\n color: #737577;\n color: var(--ring-secondary-color);\n}\n.dark_2d8.noLabel_caf ::placeholder,\n\n.dark_2d8 :focus::placeholder {\n color: #737577;\n color: var(--ring-secondary-color);\n}\n\n.input_cc0:focus ~ .label_5f1 {\n color: #008eff;\n color: var(--ring-main-color);\n}\n\n.error_9e0 > :focus ~ .label_5f1 {\n color: #c22731;\n color: var(--ring-error-color);\n}\n\n.underline_d2f {\n height: 1px;\n\n border-bottom-width: 1px;\n border-bottom-style: solid\n}\n\n.light_6ee .underline_d2f {\n border-color: #b8d1e5;\n border-color: var(--ring-borders-color)\n}\n\n.dark_2d8 .underline_d2f {\n border-color: #406380;\n border-color: var(--ring-dark-borders-color)\n}\n\n.input_cc0[disabled] ~ .underline_d2f {\n border-bottom-style: dashed;\n}\n\n.focusUnderline_03a,\n.errorUnderline_39a {\n width: 100%;\n height: 2px;\n\n transform: scaleX(0);\n transform-origin: top left;\n}\n\n.focusUnderline_03a {\n margin-top: -1px;\n\n background: #008eff;\n\n background: var(--ring-main-color);\n}\n\n.errorUnderline_39a {\n margin-top: -2px;\n\n background: #db5860;\n\n background: var(--ring-icon-error-color)\n}\n\n.dark_2d8 .errorUnderline_39a {\n background: #c22731;\n background: var(--ring-error-color)\n}\n\n.input_cc0:focus ~ .focusUnderline_03a,\n.container_cc8.active_51c > .focusUnderline_03a,\n.error_9e0 > .errorUnderline_39a {\n transition: transform 0.15s ease-out;\n transform: scaleX(1);\n}\n\n.errorText_67d {\n overflow: hidden;\n\n box-sizing: border-box;\n height: 0;\n padding: 4px 0 8px;\n\n transition: height 0.3s ease-out;\n\n color: #c22731;\n\n color: var(--ring-error-color);\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n line-height: 16px;\n line-height: var(--ring-line-height-lowest);\n}\n\n.sizeS_b9e {\n width: 96px;\n}\n\n.sizeM_dea {\n width: 240px;\n}\n\n.sizeL_ab2 {\n width: 400px;\n}\n\n.sizeFULL_7a7 {\n width: 100%;\n}\n",""]),t.locals={unit:""+o.locals.unit,iconOffset:"22px",input:"input_cc0",container:"container_cc8 "+o.locals["font-lower"],compact:"compact_da7",clearable:"clearable_6ba",light:"light_6ee",dark:"dark_2d8",label:"label_5f1",withIcon:"withIcon_dff",icon:"icon_ebd",clear:"clear_9db",empty:"empty_1b9",active:"active_51c",noLabel:"noLabel_caf",error:"error_9e0",underline:"underline_d2f",focusUnderline:"focusUnderline_03a",errorUnderline:"errorUnderline_39a",errorText:"errorText_67d",sizeS:"sizeS_b9e",sizeM:"sizeM_dea",sizeL:"sizeL_ab2",sizeFULL:"sizeFULL_7a7"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(451),a=n(22);(t=r(!1)).i(o,"",!0),t.i(i,"",!0),t.i(a),t.push([e.i,":root {\n /* stylelint-disable-next-line color-no-hex */\n --ring-date-picker-hover-color: #b3dfff;\n}\n\n.container_62b {\n display: inline-block;\n}\n\n.hoverable_6b9 {\n cursor: pointer;\n transition: color 0.2s ease-out 0s;\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.hoverable_6b9:hover {\n transition: none;\n\n color: #ff008c;\n\n color: var(--ring-link-hover-color);\n}}\n\n.datePicker_288.datePicker_288 {\n padding-right: 8px;\n}\n\n.displayDate_256 {\n display: inline-block;\n\n min-width: 88px;\n\n text-align: left;\n}\n\n.displayDate_256.displayRange_39c {\n min-width: 176px;\n}\n\n.clear_f71 {\n cursor: pointer;\n transition: opacity 0.3s ease-out;\n transition: opacity var(--ring-ease);\n\n opacity: 0.3;\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.datePicker_288:hover .clear_f71 {\n opacity: 0.5;\n}}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.datePicker_288 .clear_f71:hover {\n transition: none;\n\n opacity: 1;\n}}\n\n.datePopup_1e3 {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n text-align: left;\n}\n\n.datePopup_1e3 * {\n box-sizing: border-box;\n}\n\n.filterWrapper_ff2 {\n\n display: flex;\n}\n\n.filter_127 {\n}\n\n.filterIcon_3ce {\n}\n\n.fromInput_9fb {\n position: relative;\n\n flex-basis: 104px;\n flex-grow: 0;\n flex-shrink: 0;\n}\n\n.fromInputWithDivider_5ae::after {\n position: absolute;\n right: 8px;\n\n content: '—';\n\n line-height: 29px;\n }\n\n.toInput_231 {\n flex-basis: 104px;\n flex-grow: 1;\n flex-shrink: 0;\n\n width: 104px;\n}\n\n.dateInput_4c2 {\n flex-basis: 88px;\n flex-grow: 1;\n flex-shrink: 0;\n}\n\n.timeInputWithDivider_515 {\n position: relative\n}\n\n.timeInputWithDivider_515::before {\n position: absolute;\n left: -8px;\n\n content: ',';\n\n line-height: 29px;\n }\n\n.weekdays_b07 {\n height: 32px;\n padding: 5px 16px 0;\n\n color: #737577;\n\n color: var(--ring-secondary-color);\n}\n\n.weekday_299 {\n display: inline-block;\n\n width: 24px;\n\n text-align: center;\n text-transform: capitalize;\n}\n\n.weekend_943 {\n color: #c22731;\n color: var(--ring-error-color);\n}\n\n.calendar_328 {\n position: relative;\n\n overflow: hidden;\n\n width: 296px;\n height: 288px;\n\n box-shadow: 0 -1px #dfe5eb;\n\n box-shadow: 0 -1px var(--ring-line-color);\n}\n\n.months_2dd {\n position: absolute;\n top: 0;\n right: 48px;\n bottom: 0;\n left: 0;\n}\n\n.days_c44 {\n position: relative;\n left: 0;\n}\n\n.month_b72 {\n display: flex;\n flex-wrap: wrap;\n\n width: 168px;\n margin: 16px;\n}\n\n.month_b72 > * {\n flex-shrink: 0;\n\n height: 24px;\n\n line-height: 24px;\n}\n\n.monthTitle_6a4 {\n /* IE workaround, see https://github.com/philipwalton/flexbugs#7-flex-basis-doesnt-account-for-box-sizingborder-box */\n\n width: 96px;\n\n padding-left: 4px;\n\n text-align: left;\n\n font-weight: bold\n}\n\n@supports (flex-basis: 1px) {\n\n.monthTitle_6a4 {\n flex-basis: 96px;\n\n width: auto\n}\n }\n\n.day_189 {\n\n position: relative;\n\n flex-basis: 24px;\n\n cursor: pointer;\n transition: background-color 0.3s ease-out, color 0.3s ease-out;\n transition: background-color var(--ring-ease), color var(--ring-ease);\n text-align: center\n}\n\n.day_189::before,\n .day_189::after {\n pointer-events: none;\n }\n\n.between_3a0 {\n transition: none;\n\n background-color: #d4edff;\n\n background-color: var(--ring-selected-background-color);\n}\n\n.activeBetween_ee0 {\n transition: none;\n\n background-color: #b3dfff;\n\n background-color: var(--ring-date-picker-hover-color);\n}\n\n.current_84b {\n color: #fff;\n color: var(--ring-dark-text-color);\n border-radius: 3px;\n border-radius: var(--ring-border-radius);\n background-color: #008eff;\n background-color: var(--ring-main-color);\n}\n\n.active_d37 {\n transition: none;\n\n color: #ff008c;\n\n color: var(--ring-link-hover-color);\n border-radius: 3px;\n border-radius: var(--ring-border-radius);\n background-color: #b3dfff;\n background-color: var(--ring-date-picker-hover-color);\n}\n\n.disabled_499 {\n cursor: not-allowed;\n\n color: #999;\n\n color: var(--ring-disabled-color);\n}\n\n.from_150 {\n border-radius: 3px 0 0 3px;\n border-radius: var(--ring-border-radius) 0 0 var(--ring-border-radius);\n}\n\n.to_6b3 {\n border-radius: 0 3px 3px 0;\n border-radius: 0 var(--ring-border-radius) var(--ring-border-radius) 0;\n}\n\n.from_150.to_6b3 {\n border-radius: 3px;\n border-radius: var(--ring-border-radius);\n}\n\n.Monday_222 {\n position: relative\n}\n\n.Monday_222::before,\n .Monday_222::after {\n position: absolute;\n\n width: 16px;\n height: 100%;\n\n content: '';\n transition: background-color 0.3s ease-out;\n transition: background-color var(--ring-ease);\n }\n\n.Monday_222::before {\n right: 100%;\n }\n\n.Monday_222::after {\n bottom: 100%;\n left: 700%;\n }\n\n.Monday_222.spread_da0::before,\n .Monday_222.spread_da0::after {\n transition: none;\n\n background-color: #d4edff;\n\n background-color: var(--ring-selected-background-color);\n }\n\n.Monday_222.activeSpread_eac::before,\n .Monday_222.activeSpread_eac::after {\n transition: none;\n\n background-color: #b3dfff;\n\n background-color: var(--ring-date-picker-hover-color);\n }\n\n.first_a9d {\n position: relative\n}\n\n.first_a9d::before,\n .first_a9d::after {\n position: absolute;\n z-index: -1;\n z-index: var(--ring-invisible-element-z-index);\n\n width: 184px;\n height: 64px;\n\n content: '';\n transition: background-color 0.3s ease-out;\n transition: background-color var(--ring-ease);\n }\n\n.first_a9d::before {\n right: 100%;\n bottom: 0;\n }\n\n.first_a9d::after {\n bottom: 100%;\n left: 0;\n }\n\n.first_a9d.Monday_222::after {\n height: 40px;\n }\n\n.first_a9d + .Tuesday_995 {\n position: relative\n }\n\n.first_a9d + .Tuesday_995::before {\n position: absolute;\n z-index: -1;\n z-index: var(--ring-invisible-element-z-index);\n top: -64px;\n left: 600%;\n\n width: 16px;\n height: 100%;\n\n content: '';\n transition: background-color 0.3s ease-out;\n transition: background-color var(--ring-ease);\n }\n\n.Friday_ac3::before,\n .Friday_ac3::after,\n .Saturday_ee9::before,\n .Saturday_ee9::after,\n .Sunday_0ac::before,\n .Sunday_0ac::after {\n height: 40px;\n }\n\n.spread_da0::before,\n .spread_da0::after,\n .spread_da0 + .Tuesday_995::before {\n transition: none;\n\n background-color: #d4edff;\n\n background-color: var(--ring-selected-background-color);\n }\n\n.activeSpread_eac::before,\n .activeSpread_eac::after,\n .activeSpread_eac + .Tuesday_995::before {\n transition: none;\n\n background-color: #b3dfff;\n\n background-color: var(--ring-date-picker-hover-color);\n }\n\n.empty_ce9 {\n pointer-events: none;\n\n opacity: 0;\n}\n\n.today_915 {\n position: relative;\n\n font-weight: bold;\n}\n\n.today_915::before {\n position: absolute;\n top: 0;\n left: 4px;\n\n content: '•';\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n}\n\n.day_189 > .today_915::before {\n top: 4px;\n left: 0;\n\n width: 100%;\n\n text-align: center;\n}\n\n.year_5ad.today_915::before {\n top: -1px;\n left: 2px;\n}\n\n.monthNames_888 {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n\n width: 48px;\n\n background-color: #fff;\n\n background-color: var(--ring-content-background-color);\n box-shadow: -1px 0 #dfe5eb;\n box-shadow: -1px 0 var(--ring-line-color);\n}\n\n.monthName_d5b {\n\n position: relative;\n\n height: 24px;\n padding-left: 12px;\n\n line-height: 24px;\n}\n\n.monthSlider_536 {\n\n position: absolute;\n z-index: 1;\n z-index: var(--ring-fixed-z-index);\n right: 0;\n left: -1px;\n\n width: calc(100% + 1px);\n\n height: 48px;\n\n cursor: -webkit-grab;\n\n cursor: grab;\n\n opacity: 0.17;\n background-color: #008eff;\n background-color: var(--ring-main-color);\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.monthSlider_536:hover {\n opacity: 0.3;\n}}\n\n.dragging_d13.dragging_d13 {\n cursor: -webkit-grabbing;\n cursor: grabbing;\n\n opacity: 0.35;\n}\n\n.range_a10 {\n position: absolute;\n left: 0;\n\n width: 2px;\n\n background-color: #008eff;\n\n background-color: var(--ring-main-color);\n}\n\n.years_bce {\n position: absolute;\n top: 0;\n right: 0;\n\n width: 48px;\n\n background-color: #fff;\n\n background-color: var(--ring-content-background-color);\n box-shadow: -1px 0 #dfe5eb;\n box-shadow: -1px 0 var(--ring-line-color);\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n}\n\n.year_5ad {\n\n position: relative;\n\n width: 100%;\n\n height: 32px;\n\n text-align: center;\n\n color: #737577;\n\n color: var(--ring-secondary-color);\n\n line-height: 32px;\n}\n\n.currentYear_5db {\n cursor: auto;\n transition: none;\n\n color: #1f2326;\n\n color: var(--ring-text-color);\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.currentYear_5db:hover {\n color: #1f2326;\n color: var(--ring-text-color);\n}}\n",""]),t.locals={unit:""+o.locals.unit,resetButton:""+o.locals.resetButton,cellSize:"24px",calHeight:"288px",calWidth:"296px",yearHeight:"32px",yearWidth:"48px",container:"container_62b",hoverable:"hoverable_6b9",datePicker:"datePicker_288",displayDate:"displayDate_256",displayRange:"displayRange_39c",clear:"clear_f71",datePopup:"datePopup_1e3",filterWrapper:"filterWrapper_ff2 "+i.locals.filterWrapper,filter:"filter_127 "+i.locals.filter,filterIcon:"filterIcon_3ce "+i.locals.filterIcon,fromInput:"fromInput_9fb",fromInputWithDivider:"fromInputWithDivider_5ae",toInput:"toInput_231",dateInput:"dateInput_4c2",timeInputWithDivider:"timeInputWithDivider_515",weekdays:"weekdays_b07",weekday:"weekday_299",weekend:"weekend_943",calendar:"calendar_328",months:"months_2dd",days:"days_c44",month:"month_b72",monthTitle:"monthTitle_6a4",day:"day_189 "+o.locals.resetButton,between:"between_3a0",activeBetween:"activeBetween_ee0",current:"current_84b",active:"active_d37",disabled:"disabled_499",from:"from_150",to:"to_6b3",Monday:"Monday_222",spread:"spread_da0",activeSpread:"activeSpread_eac",first:"first_a9d",Tuesday:"Tuesday_995",Friday:"Friday_ac3",Saturday:"Saturday_ee9",Sunday:"Sunday_0ac",empty:"empty_ce9",today:"today_915",year:"year_5ad hoverable_6b9 "+o.locals.resetButton,monthNames:"monthNames_888",monthName:"monthName_d5b hoverable_6b9 "+o.locals.resetButton,monthSlider:"monthSlider_536 "+o.locals.resetButton,dragging:"dragging_d13",range:"range_a10",years:"years_bce",currentYear:"currentYear_5db"},e.exports=t},function(e,t,n){"use strict";var r=n(31),o=n(92),i=n(40),a=n(222),s=n(291);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},function(e,t){
-/**
- * @license AngularJS v1.8.0
- * (c) 2010-2020 Google, Inc. http://angularjs.org
- * License: MIT
- */
-!function(e,t){"use strict";var n,r,o,i,a,s,l,c,u,f,d=t.$$minErr("$sanitize");t.module("ngSanitize",[]).provider("$sanitize",(function(){var p=!1,h=!1;this.$get=["$$sanitizeUri",function(e){return p=!0,h&&r(S,k),function(t){var n=[];return u(t,f(n,(function(t,n){return!/^unsafe:/.test(e(t,n))}))),n.join("")}}],this.enableSvg=function(e){return a(e)?(h=e,this):h},this.addValidElements=function(e){return p||(i(e)&&(e={htmlElements:e}),P(k,e.svgElements),P(v,e.htmlVoidElements),P(S,e.htmlVoidElements),P(S,e.htmlElements)),this},this.addValidAttrs=function(e){return p||r(T,C(e,!0)),this},n=t.bind,r=t.extend,o=t.forEach,i=t.isArray,a=t.isDefined,s=t.$$lowercase,l=t.noop,u=function(e,t){null==e?e="":"string"!=typeof e&&(e=""+e);var n=j(e);if(!n)return"";var r=5;do{if(0===r)throw d("uinput","Failed to sanitize html because the input is unstable");r--,e=n.innerHTML,n=j(e)}while(e!==n.innerHTML);var o=n.firstChild;for(;o;){switch(o.nodeType){case 1:t.start(o.nodeName.toLowerCase(),Y(o.attributes));break;case 3:t.chars(o.textContent)}var i;if(!((i=o.firstChild)||(1===o.nodeType&&t.end(o.nodeName.toLowerCase()),i=R("nextSibling",o))))for(;null==i&&(o=R("parentNode",o))!==n;)i=R("nextSibling",o),1===o.nodeType&&t.end(o.nodeName.toLowerCase());o=i}for(;o=n.firstChild;)n.removeChild(o)},f=function(e,t){var r=!1,i=n(e,e.push);return{start:function(e,n){e=s(e),!r&&M[e]&&(r=e),r||!0!==S[e]||(i("<"),i(e),o(n,(function(n,r){var o=s(r),a="img"===e&&"src"===o||"background"===o;!0!==T[o]||!0===O[o]&&!t(n,a)||(i(" "),i(r),i('="'),i(A(n)),i('"'))})),i(">"))},end:function(e){e=s(e),r||!0!==S[e]||!0===v[e]||(i("</"),i(e),i(">")),e==r&&(r=!1)},chars:function(e){r||i(A(e))}}},c=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};var m=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,g=/([^#-~ |!])/g,v=D("area,br,col,hr,img,wbr"),y=D("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),b=D("rp,rt"),_=r({},b,y),w=r({},y,D("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),x=r({},b,D("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),k=D("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),M=D("script,style"),S=r({},v,w,x,_),O=D("background,cite,href,longdesc,src,xlink:href,xml:base"),E=D("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),L=D("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),T=r({},O,L,E);function D(e,t){return C(e.split(","),t)}function C(e,t){var n,r={};for(n=0;n<e.length;n++)r[t?s(e[n]):e[n]]=!0;return r}function P(e,t){t&&t.length&&r(e,C(t))}var j=function(e,t){var n;if(!t||!t.implementation)throw d("noinert","Can't create an inert html document");var r=((n=t.implementation.createHTMLDocument("inert")).documentElement||n.getDocumentElement()).querySelector("body");return r.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',r.querySelector("svg")?(r.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',r.querySelector("svg img")?function(t){t="<remove></remove>"+t;try{var n=(new e.DOMParser).parseFromString(t,"text/html").body;return n.firstChild.remove(),n}catch(e){return}}:function(e){r.innerHTML=e,t.documentMode&&I(r);return r}):function(t){t="<remove></remove>"+t;try{t=encodeURI(t)}catch(e){return}var n=new e.XMLHttpRequest;n.responseType="document",n.open("GET","data:text/html;charset=utf-8,"+t,!1),n.send(null);var r=n.response.body;return r.firstChild.remove(),r}}(e,e.document);function Y(e){for(var t={},n=0,r=e.length;n<r;n++){var o=e[n];t[o.name]=o.value}return t}function A(e){return e.replace(/&/g,"&amp;").replace(m,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(g,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function I(t){for(;t;){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,o=n.length;r<o;r++){var i=n[r],a=i.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.lastIndexOf("ns1:",0)||(t.removeAttributeNode(i),r--,o--)}var s=t.firstChild;s&&I(s),t=R("nextSibling",t)}}function R(e,t){var n=t[e];if(n&&c.call(t,n))throw d("elclob","Failed to sanitize html because the element is clobbered: {0}",t.outerHTML||t.outerText);return n}})).info({angularVersion:"1.8.0"}),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((s?ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,r=/^mailto:/i,o=t.$$minErr("linky"),i=t.isDefined,a=t.isFunction,s=t.isObject,c=t.isString;return function(t,u,d){if(null==t||""===t)return t;if(!c(t))throw o("notstring","Expected string but received: {0}",t);for(var p,h,m,g=a(d)?d:s(d)?function(){return d}:function(){return{}},v=t,y=[];p=v.match(n);)h=p[0],p[2]||p[4]||(h=(p[3]?"http://":"mailto:")+h),m=p.index,b(v.substr(0,m)),_(h,p[0].replace(r,"")),v=v.substring(m+p[0].length);return b(v),e(y.join(""));function b(e){var t,n;e&&y.push((t=e,f(n=[],l).chars(t),n.join("")))}function _(e,t){var n,r=g(e);for(n in y.push("<a "),r)y.push(n+'="'+r[n]+'" ');i(u)&&!("target"in r)&&y.push('target="',u,'" '),y.push('href="',e.replace(/"/g,"&quot;"),'">'),b(t),y.push("</a>")}}}])}(window,window.angular)},function(e,t){var n=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],r=n.join(","),o="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function i(e,t){t=t||{};var n,i,s,l=[],f=[],d=e.querySelectorAll(r);for(t.includeContainer&&o.call(e,r)&&(d=Array.prototype.slice.apply(d)).unshift(e),n=0;n<d.length;n++)a(i=d[n])&&(0===(s=c(i))?l.push(i):f.push({documentOrder:n,tabIndex:s,node:i}));return f.sort(u).map((function(e){return e.node})).concat(l)}function a(e){return!(!s(e)||function(e){return function(e){return f(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t=function(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}(e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'));return!t||t===e}(e)}(e)||c(e)<0)}function s(e){return!(e.disabled||function(e){return f(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}i.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,r)&&a(e)},i.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==o.call(e,l)&&s(e)};var l=n.concat("iframe").join(",");function c(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function u(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function f(e){return"INPUT"===e.tagName}e.exports=i},function(e,t,n){(t=n(20)(!1)).push([e.i,'.ring-form{color:#1f2326;color:var(--ring-text-color);font-size:13px;font-size:var(--ring-font-size);font-family:system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;font-family:var(--ring-font-family)}.ring-form_white-bg{background:#fff}.ring-form_border{border:1px solid #999;border:1px solid var(--ring-disabled-color);border-radius:2px}.ring-form_rows .ring-form__label{float:none;max-width:none}.ring-form_rows .ring-form__control{margin-left:0;width:336px}.ring-form__wrap{padding:24px 32px 0 32px;margin-bottom:0}.ring-form__header{min-height:13px;padding-bottom:16px}.ring-form__control__description{padding-top:4px;font-size:12px;font-size:var(--ring-font-size-smaller);line-height:16px !important;color:#737577;color:var(--ring-secondary-color);max-width:900px;display:block}.ring-form__title-img{float:left;height:32px;border:0}.ring-form__title{display:block;margin-bottom:8px;font-weight:bold}.ring-form__main-title{color:#1f2326;color:var(--ring-text-color);font-size:13px;font-size:var(--ring-font-size);font-family:system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;font-family:var(--ring-font-family);font-size:19px}.ring-form__title_separated{margin:24px 0}.ring-form__group{position:relative;margin:16px 0}.ring-form__group:first-child{margin-top:0}.ring-form__group:after{clear:both;content:"";display:block}.ring-form__group_united{padding-bottom:0}.ring-form__group .ring_form__group,.ring-form__group_nested{padding-top:0;padding-left:16px}.ring-form__group .ring_form__group .ring-form__control,.ring-form__group_nested .ring-form__control{margin-left:144px}.ring-form__label{position:relative;top:0;display:inline-block;float:left;max-width:144px;line-height:16px;padding-top:4px;vertical-align:top}.ring-form__label .ring-checkbox__label,.ring-form__label .ring-radio-btn__label{top:-2px}.ring-form__label_title{font-weight:bold}.ring-form__control{position:relative;min-height:24px;margin-left:160px;width:auto;line-height:24px;vertical-align:top}.ring-form__control_text:after{content:"";display:inline-block;height:24px;vertical-align:middle}.ring-form__control_secondary{position:absolute;top:8px;left:216px}.ring-form__control_on{color:#1b8833;color:var(--ring-success-color)}.ring-form__control_off{color:#737577;color:var(--ring-secondary-color)}.ring-form__control-link{position:relative;top:6px}.ring-form__control_small{margin-left:128px !important}.ring-form__info{margin-bottom:-6px;width:680px;margin-left:160px;line-height:20px}.ring-form__control__part{margin-right:8px}.ring-form__group_short{padding-bottom:0;padding-top:4px}.ring-form__group_short:last-child{padding-bottom:8px}.ring-form__group_short .ring-form__control{margin-left:24px}.ring-form_small .ring-form__label{max-width:96px}.ring-form_small .ring-form__control{margin-left:128px}',""]),e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".dialogContainer_94f {\n position: relative;\n\n display: flex;\n flex-direction: column;\n\n min-height: auto\n}\n\n.dialogContainer_94f .ring-form__group:last-child {\n margin-bottom: 0;\n }\n\n.dialogContainer_94f .ring-form {\n width: 100%;\n }\n\n.wide_81d.wide_81d {\n width: 600px;\n max-width: 600px;\n}\n\n.autoWidth_bf6.autoWidth_bf6 {\n width: auto;\n max-width: 100%;\n}\n\n.header_0e5.header_0e5 {\n padding-top: 16px;\n\n cursor: move;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n font-size: 24px;\n}\n\n.inSidebar_680 .header_0e5 {\n padding-top: 0;\n\n cursor: default;\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n user-select: text;\n}\n\n.inSidebar_680 .ring-form {\n width: auto;\n width: initial;\n}\n\n.scrollableWrapper_17f.scrollableWrapper_17f {\n overflow: visible;\n\n width: auto;\n\n padding-top: 24px;\n}\n\n.content_0b2.content_0b2 {\n overflow: visible;\n}\n\n.error_3d8 {\n max-width: 360px;\n\n word-wrap: break-word;\n\n color: #c22731;\n\n color: var(--ring-error-color);\n}\n\n.footer_363 {\n height: auto;\n padding: 16px 32px;\n\n text-align: left;\n\n font-size: 0;\n}\n\n.footerDescription_8e0 {\n margin-bottom: 16px;\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n}\n\n.footerItems_d62 {\n white-space: nowrap;\n}\n\n.footerItem_ef1 {\n display: inline-block\n\n /**\n * Do not make space using margin-right as it will break spaces between right-sided buttons in dialog's footer\n */\n}\n\n.footerItem_ef1:not(:first-child) {\n margin-left: 8px;\n }\n",""]),t.locals={unit:""+o.locals.unit,dialogContainer:"dialogContainer_94f",wide:"wide_81d",autoWidth:"autoWidth_bf6",header:"header_0e5",inSidebar:"inSidebar_680",scrollableWrapper:"scrollableWrapper_17f",content:"content_0b2",error:"error_3d8",footer:"footer_363",footerDescription:"footerDescription_8e0",footerItems:"footerItems_d62",footerItem:"footerItem_ef1"},e.exports=t},function(e,t){e.exports='<div\n ng-show="dialog.active"\n ng-class="[!dialog.inSidebar && dialog.dialogStyles.container]"\n ng-click="dialog.handleClick($event)"\n ng-attr-data-portaltarget="{{!dialog.inSidebar ? \'dialog-ng-popup-container\' : null}}"\n>\n <div ng-class="[dialog.dialogStyles.innerContainer]">\n <div data-anchor="dialog-container"\n ng-attr-data-in-sidebar="{{dialog.inSidebar ? \'true\' : \'false\'}}"\n ng-attr-data-test="{{dialog.active ? \'ring-dialog\' : null}}"\n ng-class="[\n dialog.styles.dialogContainer,\n dialog.cssClass,\n dialog.wideDialog && dialog.styles.wide,\n dialog.autoWidth && dialog.styles.autoWidth,\n dialog.inSidebar && dialog.styles.inSidebar,\n !dialog.inSidebar && dialog.dialogStyles.content,\n !dialog.inSidebar && dialog.islandStyles.island\n ]"\n >\n <div ng-class="[dialog.islandStyles.header, dialog.styles.header]"\n data-anchor="dialog-header"\n ng-show="dialog.title">\n <span ng-class="dialog.islandStyles.title">{{ dialog.title }}</span>\n </div>\n\n <div ng-class="[dialog.styles.scrollableWrapper, dialog.islandStyles.scrollableWrapper, dialog.scrollableWrapperClassName]">\n <div ng-class="[dialog.styles.content, dialog.islandStyles.content]">\n <form name="dialog.dialogForm" class="ring-form ring-js-shortcuts"\n novalidate>\n <rg-dialog-content></rg-dialog-content>\n\n <div class="ring-form__group" ng-show="dialog.error">\n <div ng-class="dialog.styles.error" ng-bind-html="dialog.error"></div>\n </div>\n </form>\n </div>\n </div>\n\n <div ng-class="dialog.styles.footer"\n ng-if="dialog.description.length || dialog.buttons.length">\n <div ng-class="dialog.styles.footerDescription"\n ng-if="dialog.description && dialog.description.length">\n <div ng-repeat="line in dialog.description">{{ line }}</div>\n </div>\n\n <div ng-class="dialog.styles.footerItems">\n <rg-button\n ng-repeat="button in dialog.buttons"\n ng-class="[dialog.styles.footerItem , button.cssClasses]"\n mode="{{button.default ? \'primary\' : \'\'}}"\n text="button.text"\n ng-disabled="(button.default && dialog.dialogForm.$invalid) || button.disabled"\n ng-if="!button.hidden"\n data-test="dialog-footer-button"\n\n rg-promised-click="dialog.action(button)"\n promised-mode="loader"\n >{{ button.label }}\n </rg-button>\n </div>\n </div>\n\n <div data-anchor="dialog-custom-footer-container"></div>\n\n <div tabindex="-1" ng-show="false" data-anchor="focus-trap-fallback"></div>\n </div>\n </div>\n</div>\n'},function(e,t,n){var r=n(911);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,".ring-docked-panel{margin-top:32px;padding-left:0;border-top:none}.ring-docked-panel_fixed.ring-docked-panel_fixed{position:fixed;top:auto;right:0;left:0;bottom:0;padding-left:32px;padding-top:12px;padding-bottom:12px;z-index:2;width:100%;margin-left:0;background-color:#fff;background-color:var(--ring-content-background-color);border-top:1px solid rgba(0, 42, 76, 0.1);border-top:1px solid var(--ring-popup-border-color)}",""]),e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".errorBubblePopup_9c6 {\n overflow: visible;\n\n margin-left: 2px;\n\n border: none;\n\n box-shadow: none;\n}\n\n.errorBubbleWrapper_ab0 {\n display: inline-block;\n}\n\n.errorBubble_032 {\n box-sizing: border-box;\n min-height: 24px;\n padding-right: 16px;\n padding-left: 16px;\n\n white-space: nowrap;\n\n color: #c22731;\n\n color: var(--ring-error-color);\n\n border: 1px solid rgba(0, 42, 76, 0.1);\n\n border: 1px solid var(--ring-popup-border-color);\n border-radius: 3px;\n border-radius: var(--ring-border-radius);\n\n background: #fff;\n\n background: var(--ring-popup-background-color);\n box-shadow: 0 2px 16px 0 rgba(0, 42, 76, 0.15);\n box-shadow: 0 2px 16px 0 var(--ring-popup-shadow-color);\n\n font-size: 12px;\n line-height: 22px\n}\n\n.errorBubble_032::before {\n position: absolute;\n top: 8px;\n left: -4px;\n\n display: block;\n\n width: 8px;\n height: 8px;\n\n content: '';\n transform: rotate(45deg);\n\n border: 1px solid rgba(0, 42, 76, 0.1);\n\n border: 1px solid var(--ring-popup-border-color);\n border-top: none;\n border-right: none;\n background: #fff;\n background: var(--ring-popup-background-color);\n }\n",""]),t.locals={unit:""+o.locals.unit,errorBubblePopup:"errorBubblePopup_9c6",errorBubbleWrapper:"errorBubbleWrapper_ab0",errorBubble:"errorBubble_032"},e.exports=t},function(e,t,n){var r=n(20),o=n(22);(t=r(!1)).i(o),t.push([e.i,".errorMessage_d8f {\n display: flex;\n align-items: center;\n flex-direction: row;\n justify-content: center;\n\n max-width: 600px;\n height: 100%;\n margin: 0 auto;\n}\n\n.title_096 {\n font-size: 21px;\n}\n\n.description_5be {\n font-size: 15px;\n}\n\n.content_ee1 {\n flex-direction: column;\n\n color: #1f2326;\n\n color: var(--ring-text-color);\n}\n\n.content_ee1 > .title_096,\n.description_5be {\n margin-bottom: 16px;\n}\n\n.icon_50e {\n margin: 0 16px 24px 0;\n\n color: #999;\n\n color: var(--ring-icon-secondary-color);\n}\n",""]),t.locals={errorMessage:"errorMessage_d8f",title:"title_096",description:"description_5be",content:"content_ee1",icon:"icon_50e"},e.exports=t},function(e,t,n){var r=n(915);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(20),o=n(916),i=n(917);t=r(!1);var a=o(i);t.push([e.i,'.error-page:before{content:"";display:block;position:absolute;height:100%;width:100%;z-index:-1;z-index:var(--ring-invisible-element-z-index)}.error-page_enabled:before{background:url('+a+");opacity:.06}",""]),e.exports=t},function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},function(e,t,n){"use strict";n.r(t),t.default="data:image/gif;base64,R0lGODlhZABkAPIAAAUFBWJiYqGhofr6+qusrQAAAAAAAAAAACH5BAUGAAQAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAZABkAAAD/ggxPPugBdHciKreG3AF3kAxYBNtWUp+JRl0mzmOp7ZypdeaeezBJUpNAWqFQAvdifgR+UTAk0BavD010gmpto10FKPVIuYTLp3LsdB0mTptvjOZLQhXvkw2anjJrFlDFFNKYwxrAINcDF8dU2FfMouIi1ZzfTyXGkmXXltNJGaIU40NiWNcE0WFXm53ilY1MIV9fGyvlHdsHad3dp9RepltCxRJYSeMFm0Snp2IR31mXUgix6GfHIZWg8ErO0VHGCl1tBVut1ilc89SFjtazBizKEAsMce18tlyXRIvId0wNWHVJsOeRXZA+JIH0BwTKliE8HL2jR2yZbjS7WkH/kqbxjeeaFRR8GCFAC1r/kR7NtBGmh4W36zBg4JSvkCQHPCLMAKGp4NOVM4SWWsZNVsZHVXpQ8zDuXLilJXiJ4LhsZouHHBrKc4IrjSREF7aJK6Vy4uAeDKzJ6xSqRdMecrKdMRnpjF2UZg56U7gUjgvdbS1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=="},function(e,t,n){var r=n(919);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,".ring-permission-hide{display:none !important}",""]),e.exports=t},function(e,t,n){(t=n(20)(!1)).push([e.i,".errorPageNg_f9f {\n position: fixed;\n\n width: 100%;\n height: 100%;\n}\n",""]),t.locals={errorPageNg:"errorPageNg_f9f"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".footer_557 {\n\n position: relative;\n\n box-sizing: border-box;\n height: 64px;\n margin: 40px 32px 0 32px;\n padding-top: 16px;\n\n text-align: center;\n\n border-top: 1px solid #dfe5eb;\n\n border-top: 1px solid var(--ring-line-color);\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n}\n\n.footerFloating_1fd {\n\n position: absolute;\n z-index: 1;\n z-index: var(--ring-fixed-z-index);\n bottom: 0;\n\n width: 100%;\n margin-right: 0;\n margin-bottom: 8px;\n margin-left: 0;\n}\n\n.column_ea8 {\n position: absolute;\n\n width: 33%;\n}\n\n.columnItem_fa3 {\n display: inline-block;\n\n margin: 0;\n padding: 0;\n\n vertical-align: top;\n}\n\n.columnLeft_2a4 {\n\n text-align: left;\n}\n\n.columnCenter_fb7 {\n\n left: 33.6%;\n}\n\n.columnCenter_fb7 .line_64b {\n text-align: left;\n}\n\n.columnRight_e7e {\n\n top: 16px;\n right: 0;\n\n text-align: right;\n}\n\n.line_64b {\n padding: 0;\n\n list-style: none;\n\n line-height: 16px;\n}\n\n.lineCenter_fee {\n text-align: left;\n}\n",""]),t.locals={unit:""+o.locals.unit,"footer-height":""+o.locals["footer-height"],footer:"footer_557 "+o.locals.font,footerFloating:"footerFloating_1fd footer_557 "+o.locals.font,column:"column_ea8",columnItem:"columnItem_fa3",columnLeft:"columnLeft_2a4 column_ea8",columnCenter:"columnCenter_fb7 column_ea8",line:"line_64b",columnRight:"columnRight_e7e column_ea8",lineCenter:"lineCenter_fee"},e.exports=t},function(e,t){e.exports='<div ng-class=":: $ctrl.styles.footer" data-test="ring-footer">\n <div ng-class=":: $ctrl.styles.columnLeft">\n <div ng-transclude="left" ng-class=":: $ctrl.styles.columnItem"></div>\n </div>\n\n <div ng-class=":: $ctrl.styles.columnCenter">\n <div ng-transclude="center" ng-class=":: $ctrl.styles.columnItem"></div>\n </div>\n\n <div ng-class=":: $ctrl.styles.columnRight">\n <div ng-transclude="right" ng-class=":: $ctrl.styles.columnItem"></div>\n </div>\n</div>\n'},function(e,t,n){var r=n(924);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,".ring-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;box-sizing:border-box;margin:0;padding-right:4px;padding-left:4px;padding-bottom:3px;border:1px solid #b8d1e5;border:1px solid var(--ring-borders-color);background-color:#fff;background-color:var(--ring-content-background-color);color:#1f2326;color:var(--ring-text-color);font-size:13px;font-size:var(--ring-font-size);font-family:system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;font-family:var(--ring-font-family);line-height:20px;height:24px;width:100%}.ring-input:active,.ring-input:focus,.ring-input_active,.ring-input_focus{border-color:#008eff;border-color:var(--ring-main-color);outline:0}.ring-input_correct{border-color:#1b8833;border-color:var(--ring-success-color)}.ring-input_error{border-color:#c22731;border-color:var(--ring-error-color)}.ring-input_no-resize{resize:none}.ring-input_filter-popup{min-width:200px;width:100%}.ring-input_material{padding-left:0;padding-right:0;border-top:0;border-left:0;border-right:0}.ring-input.ring-input:disabled,.ring-input.ring-input[disabled],.ring-input.ring-input_disabled{border-color:#dbdbdb;border-color:var(--ring-border-disabled-color);background-color:#f7f9fa;background-color:var(--ring-sidebar-background-color);color:#999;color:var(--ring-disabled-color)}textarea.ring-input{height:auto;min-height:64px;resize:vertical;vertical-align:top}textarea.ring-input::-moz-placeholder{color:#999;color:var(--ring-disabled-color)}textarea.ring-input:-ms-input-placeholder{color:#999;color:var(--ring-disabled-color)}textarea.ring-input::-ms-input-placeholder{color:#999;color:var(--ring-disabled-color)}textarea.ring-input::placeholder{color:#999;color:var(--ring-disabled-color)}",""]),e.exports=t},function(e,t,n){var r=n(926);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,'.ring-error-bubble{z-index:2;box-sizing:border-box;display:none;position:absolute;top:0;left:calc(100% + 2px);min-height:24px;padding-right:16px;padding-left:16px;line-height:22px;border-radius:3px;border-radius:var(--ring-border-radius);border:1px solid rgba(0, 42, 76, 0.1);border:1px solid var(--ring-popup-border-color);color:#1f2326;color:var(--ring-text-color);font-size:12px;font-family:system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;font-family:var(--ring-font-family);white-space:nowrap;color:#c22731;color:var(--ring-error-color);background:#fff;background:var(--ring-popup-background-color);box-shadow:0 2px 16px 0 rgba(0, 42, 76, 0.15);box-shadow:0 2px 16px 0 var(--ring-popup-shadow-color)}.ring-error-bubble.active{display:inline-block}.ring-error-bubble:before{content:"";transform:rotate(45deg);z-index:-1;z-index:var(--ring-invisible-element-z-index);position:absolute;top:7px;left:-5px;display:block;width:8px;height:8px;border:1px solid rgba(0, 42, 76, 0.1);border:1px solid var(--ring-popup-border-color);border-right:none;border-top:none;background:#fff;background:var(--ring-popup-background-color)}.ring-error-bubble_material{padding-left:8px;box-shadow:none;border:0;background-color:transparent;background:none}.ring-error-bubble_material:before{display:none}.ring-form__control .ring-error-bubble{top:1px}.ring-error-bubble-wrapper{position:relative}',""]),e.exports=t},function(e,t){e.exports='<div class="ring-error-bubble" ng-class="{ active: active, \'ring-error-bubble_material\': material }" ng-style="style">\n <div ng-repeat="errorMessage in getFormErrorMessages(errorBubble().$error)">{{ errorMessage }}</div>\n</div>\n'},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".container-fluid_d52,\n.container_662 {\n margin-right: auto;\n margin-left: auto;\n}\n\n.container-fluid_d52 {\n min-width: 320px;\n padding-right: 16px;\n padding-left: 16px;\n}\n\n.row_444 {\n display: flex;\n flex: 0 1 auto;\n flex-flow: row wrap;\n\n box-sizing: border-box;\n margin-right: -8px;\n margin-left: -8px;\n}\n\n.row_444.reverse_b8d {\n flex-direction: row-reverse;\n}\n\n.col_342 {\n margin-top: 8px;\n margin-bottom: 8px;\n}\n\n.col_342.reverse_b8d {\n flex-direction: column-reverse;\n}\n\n.col-xs_52c,\n.col-xs-1_8d5,\n.col-xs-2_275,\n.col-xs-3_e43,\n.col-xs-4_57d,\n.col-xs-5_21f,\n.col-xs-6_525,\n.col-xs-7_903,\n.col-xs-8_0a6,\n.col-xs-9_8c5,\n.col-xs-10_6fc,\n.col-xs-11_811,\n.col-xs-12_514,\n.col-xs-offset-0_d27,\n.col-xs-offset-1_09c,\n.col-xs-offset-2_f0d,\n.col-xs-offset-3_c30,\n.col-xs-offset-4_9d0,\n.col-xs-offset-5_1f0,\n.col-xs-offset-6_955,\n.col-xs-offset-7_e49,\n.col-xs-offset-8_acd,\n.col-xs-offset-9_c2f,\n.col-xs-offset-10_387,\n.col-xs-offset-11_eaa,\n.col-xs-offset-12_d54 {\n flex: 0 0 auto;\n\n box-sizing: border-box;\n padding-right: 8px;\n padding-left: 8px;\n}\n\n.col-xs_52c {\n flex-basis: 0;\n flex-grow: 1;\n\n max-width: 100%;\n}\n\n.col-xs-1_8d5 {\n flex-basis: 8.33333333%;\n\n max-width: 8.33333333%;\n}\n\n.col-xs-2_275 {\n flex-basis: 16.66666667%;\n\n max-width: 16.66666667%;\n}\n\n.col-xs-3_e43 {\n flex-basis: 25%;\n\n max-width: 25%;\n}\n\n.col-xs-4_57d {\n flex-basis: 33.33333333%;\n\n max-width: 33.33333333%;\n}\n\n.col-xs-5_21f {\n flex-basis: 41.66666667%;\n\n max-width: 41.66666667%;\n}\n\n.col-xs-6_525 {\n flex-basis: 50%;\n\n max-width: 50%;\n}\n\n.col-xs-7_903 {\n flex-basis: 58.33333333%;\n\n max-width: 58.33333333%;\n}\n\n.col-xs-8_0a6 {\n flex-basis: 66.66666667%;\n\n max-width: 66.66666667%;\n}\n\n.col-xs-9_8c5 {\n flex-basis: 75%;\n\n max-width: 75%;\n}\n\n.col-xs-10_6fc {\n flex-basis: 83.33333333%;\n\n max-width: 83.33333333%;\n}\n\n.col-xs-11_811 {\n flex-basis: 91.66666667%;\n\n max-width: 91.66666667%;\n}\n\n.col-xs-12_514 {\n flex-basis: 100%;\n\n max-width: 100%;\n}\n\n.col-xs-offset-0_d27 {\n margin-left: 0;\n}\n\n.col-xs-offset-1_09c {\n margin-left: 8.33333333%;\n}\n\n.col-xs-offset-2_f0d {\n margin-left: 16.66666667%;\n}\n\n.col-xs-offset-3_c30 {\n margin-left: 25%;\n}\n\n.col-xs-offset-4_9d0 {\n margin-left: 33.33333333%;\n}\n\n.col-xs-offset-5_1f0 {\n margin-left: 41.66666667%;\n}\n\n.col-xs-offset-6_955 {\n margin-left: 50%;\n}\n\n.col-xs-offset-7_e49 {\n margin-left: 58.33333333%;\n}\n\n.col-xs-offset-8_acd {\n margin-left: 66.66666667%;\n}\n\n.col-xs-offset-9_c2f {\n margin-left: 75%;\n}\n\n.col-xs-offset-10_387 {\n margin-left: 83.33333333%;\n}\n\n.col-xs-offset-11_eaa {\n margin-left: 91.66666667%;\n}\n\n.start-xs_716 {\n justify-content: flex-start;\n\n text-align: start;\n}\n\n.center-xs_2c8 {\n justify-content: center;\n\n text-align: center;\n}\n\n.end-xs_7c0 {\n justify-content: flex-end;\n\n text-align: end;\n}\n\n.top-xs_b15 {\n align-items: flex-start;\n}\n\n.middle-xs_61f {\n align-items: center;\n}\n\n.baseline-xs_4c7 {\n align-items: baseline;\n}\n\n.bottom-xs_de0 {\n align-items: flex-end;\n}\n\n.around-xs_235 {\n justify-content: space-around;\n}\n\n.between-xs_191 {\n justify-content: space-between;\n}\n\n.first-xs_3e7 {\n order: -1;\n}\n\n.last-xs_1dc {\n order: 1;\n}\n\n@media (min-width: 640px) and (max-width: 959px) {\n .container_662 {\n width: 656px;\n }\n\n .col-sm_417,\n .col-sm-1_a3a,\n .col-sm-2_fa4,\n .col-sm-3_9d6,\n .col-sm-4_a66,\n .col-sm-5_5b6,\n .col-sm-6_e31,\n .col-sm-7_602,\n .col-sm-8_c63,\n .col-sm-9_b98,\n .col-sm-10_5ad,\n .col-sm-11_aa2,\n .col-sm-12_f24,\n .col-sm-offset-0_825,\n .col-sm-offset-1_f2b,\n .col-sm-offset-2_803,\n .col-sm-offset-3_081,\n .col-sm-offset-4_12d,\n .col-sm-offset-5_100,\n .col-sm-offset-6_521,\n .col-sm-offset-7_af6,\n .col-sm-offset-8_452,\n .col-sm-offset-9_2a6,\n .col-sm-offset-10_ef6,\n .col-sm-offset-11_485,\n .col-sm-offset-12_e6c {\n flex: 0 0 auto;\n\n box-sizing: border-box;\n padding-right: 8px;\n padding-left: 8px;\n }\n\n .col-sm_417 {\n flex-basis: 0;\n flex-grow: 1;\n\n max-width: 100%;\n }\n\n .col-sm-1_a3a {\n flex-basis: 8.33333333%;\n\n max-width: 8.33333333%;\n }\n\n .col-sm-2_fa4 {\n flex-basis: 16.66666667%;\n\n max-width: 16.66666667%;\n }\n\n .col-sm-3_9d6 {\n flex-basis: 25%;\n\n max-width: 25%;\n }\n\n .col-sm-4_a66 {\n flex-basis: 33.33333333%;\n\n max-width: 33.33333333%;\n }\n\n .col-sm-5_5b6 {\n flex-basis: 41.66666667%;\n\n max-width: 41.66666667%;\n }\n\n .col-sm-6_e31 {\n flex-basis: 50%;\n\n max-width: 50%;\n }\n\n .col-sm-7_602 {\n flex-basis: 58.33333333%;\n\n max-width: 58.33333333%;\n }\n\n .col-sm-8_c63 {\n flex-basis: 66.66666667%;\n\n max-width: 66.66666667%;\n }\n\n .col-sm-9_b98 {\n flex-basis: 75%;\n\n max-width: 75%;\n }\n\n .col-sm-10_5ad {\n flex-basis: 83.33333333%;\n\n max-width: 83.33333333%;\n }\n\n .col-sm-11_aa2 {\n flex-basis: 91.66666667%;\n\n max-width: 91.66666667%;\n }\n\n .col-sm-12_f24 {\n flex-basis: 100%;\n\n max-width: 100%;\n }\n\n .col-sm-offset-0_825 {\n margin-left: 0;\n }\n\n .col-sm-offset-1_f2b {\n margin-left: 8.33333333%;\n }\n\n .col-sm-offset-2_803 {\n margin-left: 16.66666667%;\n }\n\n .col-sm-offset-3_081 {\n margin-left: 25%;\n }\n\n .col-sm-offset-4_12d {\n margin-left: 33.33333333%;\n }\n\n .col-sm-offset-5_100 {\n margin-left: 41.66666667%;\n }\n\n .col-sm-offset-6_521 {\n margin-left: 50%;\n }\n\n .col-sm-offset-7_af6 {\n margin-left: 58.33333333%;\n }\n\n .col-sm-offset-8_452 {\n margin-left: 66.66666667%;\n }\n\n .col-sm-offset-9_2a6 {\n margin-left: 75%;\n }\n\n .col-sm-offset-10_ef6 {\n margin-left: 83.33333333%;\n }\n\n .col-sm-offset-11_485 {\n margin-left: 91.66666667%;\n }\n\n .start-sm_91c {\n justify-content: flex-start;\n\n text-align: start;\n }\n\n .center-sm_0fa {\n justify-content: center;\n\n text-align: center;\n }\n\n .end-sm_485 {\n justify-content: flex-end;\n\n text-align: end;\n }\n\n .top-sm_cb9 {\n align-items: flex-start;\n }\n\n .middle-sm_f45 {\n align-items: center;\n }\n\n .baseline-sm_366 {\n align-items: baseline;\n }\n\n .bottom-sm_4dc {\n align-items: flex-end;\n }\n\n .around-sm_fa6 {\n justify-content: space-around;\n }\n\n .between-sm_f6f {\n justify-content: space-between;\n }\n\n .first-sm_8d1 {\n order: -1;\n }\n\n .last-sm_415 {\n order: 1;\n }\n}\n\n@media (min-width: 960px) and (max-width: 1199px) {\n .container_662 {\n width: 976px;\n }\n\n .col-md_e95,\n .col-md-1_f1f,\n .col-md-2_ae7,\n .col-md-3_083,\n .col-md-4_247,\n .col-md-5_e02,\n .col-md-6_f3f,\n .col-md-7_fae,\n .col-md-8_445,\n .col-md-9_03c,\n .col-md-10_d87,\n .col-md-11_81d,\n .col-md-12_277,\n .col-md-offset-0_a04,\n .col-md-offset-1_b42,\n .col-md-offset-2_4bb,\n .col-md-offset-3_57c,\n .col-md-offset-4_565,\n .col-md-offset-5_22b,\n .col-md-offset-6_de0,\n .col-md-offset-7_a24,\n .col-md-offset-8_5e2,\n .col-md-offset-9_4e5,\n .col-md-offset-10_ede,\n .col-md-offset-11_31d,\n .col-md-offset-12_6a8 {\n flex: 0 0 auto;\n\n box-sizing: border-box;\n padding-right: 8px;\n padding-left: 8px;\n }\n\n .col-md_e95 {\n flex-basis: 0;\n flex-grow: 1;\n\n max-width: 100%;\n }\n\n .col-md-1_f1f {\n flex-basis: 8.33333333%;\n\n max-width: 8.33333333%;\n }\n\n .col-md-2_ae7 {\n flex-basis: 16.66666667%;\n\n max-width: 16.66666667%;\n }\n\n .col-md-3_083 {\n flex-basis: 25%;\n\n max-width: 25%;\n }\n\n .col-md-4_247 {\n flex-basis: 33.33333333%;\n\n max-width: 33.33333333%;\n }\n\n .col-md-5_e02 {\n flex-basis: 41.66666667%;\n\n max-width: 41.66666667%;\n }\n\n .col-md-6_f3f {\n flex-basis: 50%;\n\n max-width: 50%;\n }\n\n .col-md-7_fae {\n flex-basis: 58.33333333%;\n\n max-width: 58.33333333%;\n }\n\n .col-md-8_445 {\n flex-basis: 66.66666667%;\n\n max-width: 66.66666667%;\n }\n\n .col-md-9_03c {\n flex-basis: 75%;\n\n max-width: 75%;\n }\n\n .col-md-10_d87 {\n flex-basis: 83.33333333%;\n\n max-width: 83.33333333%;\n }\n\n .col-md-11_81d {\n flex-basis: 91.66666667%;\n\n max-width: 91.66666667%;\n }\n\n .col-md-12_277 {\n flex-basis: 100%;\n\n max-width: 100%;\n }\n\n .col-md-offset-0_a04 {\n margin-left: 0;\n }\n\n .col-md-offset-1_b42 {\n margin-left: 8.33333333%;\n }\n\n .col-md-offset-2_4bb {\n margin-left: 16.66666667%;\n }\n\n .col-md-offset-3_57c {\n margin-left: 25%;\n }\n\n .col-md-offset-4_565 {\n margin-left: 33.33333333%;\n }\n\n .col-md-offset-5_22b {\n margin-left: 41.66666667%;\n }\n\n .col-md-offset-6_de0 {\n margin-left: 50%;\n }\n\n .col-md-offset-7_a24 {\n margin-left: 58.33333333%;\n }\n\n .col-md-offset-8_5e2 {\n margin-left: 66.66666667%;\n }\n\n .col-md-offset-9_4e5 {\n margin-left: 75%;\n }\n\n .col-md-offset-10_ede {\n margin-left: 83.33333333%;\n }\n\n .col-md-offset-11_31d {\n margin-left: 91.66666667%;\n }\n\n .start-md_ade {\n justify-content: flex-start;\n\n text-align: start;\n }\n\n .center-md_f2f {\n justify-content: center;\n\n text-align: center;\n }\n\n .end-md_44c {\n justify-content: flex-end;\n\n text-align: end;\n }\n\n .top-md_cf0 {\n align-items: flex-start;\n }\n\n .middle-md_526 {\n align-items: center;\n }\n\n .baseline-md_ed0 {\n align-items: baseline;\n }\n\n .bottom-md_8c8 {\n align-items: flex-end;\n }\n\n .around-md_f4c {\n justify-content: space-around;\n }\n\n .between-md_b90 {\n justify-content: space-between;\n }\n\n .first-md_6cc {\n order: -1;\n }\n\n .last-md_bf6 {\n order: 1;\n }\n}\n\n@media (min-width: 1200px) {\n .container_662 {\n width: 1216px;\n }\n\n .col-lg_454,\n .col-lg-1_75d,\n .col-lg-2_2a3,\n .col-lg-3_aac,\n .col-lg-4_778,\n .col-lg-5_e50,\n .col-lg-6_2cf,\n .col-lg-7_79e,\n .col-lg-8_77c,\n .col-lg-9_a61,\n .col-lg-10_810,\n .col-lg-11_55c,\n .col-lg-12_a37,\n .col-lg-offset-0_369,\n .col-lg-offset-1_d5f,\n .col-lg-offset-2_8c1,\n .col-lg-offset-3_439,\n .col-lg-offset-4_dce,\n .col-lg-offset-5_969,\n .col-lg-offset-6_087,\n .col-lg-offset-7_28c,\n .col-lg-offset-8_d0f,\n .col-lg-offset-9_b60,\n .col-lg-offset-10_f7e,\n .col-lg-offset-11_5f9,\n .col-lg-offset-12_329 {\n flex: 0 0 auto;\n\n box-sizing: border-box;\n padding-right: 8px;\n padding-left: 8px;\n }\n\n .col-lg_454 {\n flex-basis: 0;\n flex-grow: 1;\n\n max-width: 100%;\n }\n\n .col-lg-1_75d {\n flex-basis: 8.33333333%;\n\n max-width: 8.33333333%;\n }\n\n .col-lg-2_2a3 {\n flex-basis: 16.66666667%;\n\n max-width: 16.66666667%;\n }\n\n .col-lg-3_aac {\n flex-basis: 25%;\n\n max-width: 25%;\n }\n\n .col-lg-4_778 {\n flex-basis: 33.33333333%;\n\n max-width: 33.33333333%;\n }\n\n .col-lg-5_e50 {\n flex-basis: 41.66666667%;\n\n max-width: 41.66666667%;\n }\n\n .col-lg-6_2cf {\n flex-basis: 50%;\n\n max-width: 50%;\n }\n\n .col-lg-7_79e {\n flex-basis: 58.33333333%;\n\n max-width: 58.33333333%;\n }\n\n .col-lg-8_77c {\n flex-basis: 66.66666667%;\n\n max-width: 66.66666667%;\n }\n\n .col-lg-9_a61 {\n flex-basis: 75%;\n\n max-width: 75%;\n }\n\n .col-lg-10_810 {\n flex-basis: 83.33333333%;\n\n max-width: 83.33333333%;\n }\n\n .col-lg-11_55c {\n flex-basis: 91.66666667%;\n\n max-width: 91.66666667%;\n }\n\n .col-lg-12_a37 {\n flex-basis: 100%;\n\n max-width: 100%;\n }\n\n .col-lg-offset-0_369 {\n margin-left: 0;\n }\n\n .col-lg-offset-1_d5f {\n margin-left: 8.33333333%;\n }\n\n .col-lg-offset-2_8c1 {\n margin-left: 16.66666667%;\n }\n\n .col-lg-offset-3_439 {\n margin-left: 25%;\n }\n\n .col-lg-offset-4_dce {\n margin-left: 33.33333333%;\n }\n\n .col-lg-offset-5_969 {\n margin-left: 41.66666667%;\n }\n\n .col-lg-offset-6_087 {\n margin-left: 50%;\n }\n\n .col-lg-offset-7_28c {\n margin-left: 58.33333333%;\n }\n\n .col-lg-offset-8_d0f {\n margin-left: 66.66666667%;\n }\n\n .col-lg-offset-9_b60 {\n margin-left: 75%;\n }\n\n .col-lg-offset-10_f7e {\n margin-left: 83.33333333%;\n }\n\n .col-lg-offset-11_5f9 {\n margin-left: 91.66666667%;\n }\n\n .start-lg_97a {\n justify-content: flex-start;\n\n text-align: start;\n }\n\n .center-lg_9a7 {\n justify-content: center;\n\n text-align: center;\n }\n\n .end-lg_a2a {\n justify-content: flex-end;\n\n text-align: end;\n }\n\n .top-lg_4b0 {\n align-items: flex-start;\n }\n\n .middle-lg_1bb {\n align-items: center;\n }\n\n .baseline-lg_22d {\n align-items: baseline;\n }\n\n .bottom-lg_438 {\n align-items: flex-end;\n }\n\n .around-lg_a0c {\n justify-content: space-around;\n }\n\n .between-lg_c36 {\n justify-content: space-between;\n }\n\n .first-lg_336 {\n order: -1;\n }\n\n .last-lg_fcd {\n order: 1;\n }\n}\n",""]),t.locals={unit:""+o.locals.unit,"breakpoint-small":""+o.locals["breakpoint-small"],"breakpoint-middle":""+o.locals["breakpoint-middle"],"breakpoint-large":""+o.locals["breakpoint-large"],"large-screen-media":""+o.locals["large-screen-media"],"middle-screen-media":""+o.locals["middle-screen-media"],"small-screen-media":""+o.locals["small-screen-media"],gutterWidth:"(8px*2)",gutterCompensation:"-8px",outerMargin:"16px",containerSmall:"656px",containerMedium:"976px",containerLarge:"1216px","width-1":"8.33333333%","width-2":"16.66666667%","width-3":"25%","width-4":"33.33333333%","width-5":"41.66666667%","width-6":"50%","width-7":"58.33333333%","width-8":"66.66666667%","width-9":"75%","width-10":"83.33333333%","width-11":"91.66666667%","width-12":"100%","container-fluid":"container-fluid_d52",container:"container_662",row:"row_444",reverse:"reverse_b8d",col:"col_342","col-xs":"col-xs_52c","col-xs-1":"col-xs-1_8d5","col-xs-2":"col-xs-2_275","col-xs-3":"col-xs-3_e43","col-xs-4":"col-xs-4_57d","col-xs-5":"col-xs-5_21f","col-xs-6":"col-xs-6_525","col-xs-7":"col-xs-7_903","col-xs-8":"col-xs-8_0a6","col-xs-9":"col-xs-9_8c5","col-xs-10":"col-xs-10_6fc","col-xs-11":"col-xs-11_811","col-xs-12":"col-xs-12_514","col-xs-offset-0":"col-xs-offset-0_d27","col-xs-offset-1":"col-xs-offset-1_09c","col-xs-offset-2":"col-xs-offset-2_f0d","col-xs-offset-3":"col-xs-offset-3_c30","col-xs-offset-4":"col-xs-offset-4_9d0","col-xs-offset-5":"col-xs-offset-5_1f0","col-xs-offset-6":"col-xs-offset-6_955","col-xs-offset-7":"col-xs-offset-7_e49","col-xs-offset-8":"col-xs-offset-8_acd","col-xs-offset-9":"col-xs-offset-9_c2f","col-xs-offset-10":"col-xs-offset-10_387","col-xs-offset-11":"col-xs-offset-11_eaa","col-xs-offset-12":"col-xs-offset-12_d54","start-xs":"start-xs_716","center-xs":"center-xs_2c8","end-xs":"end-xs_7c0","top-xs":"top-xs_b15","middle-xs":"middle-xs_61f","baseline-xs":"baseline-xs_4c7","bottom-xs":"bottom-xs_de0","around-xs":"around-xs_235","between-xs":"between-xs_191","first-xs":"first-xs_3e7","last-xs":"last-xs_1dc","col-sm":"col-sm_417","col-sm-1":"col-sm-1_a3a","col-sm-2":"col-sm-2_fa4","col-sm-3":"col-sm-3_9d6","col-sm-4":"col-sm-4_a66","col-sm-5":"col-sm-5_5b6","col-sm-6":"col-sm-6_e31","col-sm-7":"col-sm-7_602","col-sm-8":"col-sm-8_c63","col-sm-9":"col-sm-9_b98","col-sm-10":"col-sm-10_5ad","col-sm-11":"col-sm-11_aa2","col-sm-12":"col-sm-12_f24","col-sm-offset-0":"col-sm-offset-0_825","col-sm-offset-1":"col-sm-offset-1_f2b","col-sm-offset-2":"col-sm-offset-2_803","col-sm-offset-3":"col-sm-offset-3_081","col-sm-offset-4":"col-sm-offset-4_12d","col-sm-offset-5":"col-sm-offset-5_100","col-sm-offset-6":"col-sm-offset-6_521","col-sm-offset-7":"col-sm-offset-7_af6","col-sm-offset-8":"col-sm-offset-8_452","col-sm-offset-9":"col-sm-offset-9_2a6","col-sm-offset-10":"col-sm-offset-10_ef6","col-sm-offset-11":"col-sm-offset-11_485","col-sm-offset-12":"col-sm-offset-12_e6c","start-sm":"start-sm_91c","center-sm":"center-sm_0fa","end-sm":"end-sm_485","top-sm":"top-sm_cb9","middle-sm":"middle-sm_f45","baseline-sm":"baseline-sm_366","bottom-sm":"bottom-sm_4dc","around-sm":"around-sm_fa6","between-sm":"between-sm_f6f","first-sm":"first-sm_8d1","last-sm":"last-sm_415","col-md":"col-md_e95","col-md-1":"col-md-1_f1f","col-md-2":"col-md-2_ae7","col-md-3":"col-md-3_083","col-md-4":"col-md-4_247","col-md-5":"col-md-5_e02","col-md-6":"col-md-6_f3f","col-md-7":"col-md-7_fae","col-md-8":"col-md-8_445","col-md-9":"col-md-9_03c","col-md-10":"col-md-10_d87","col-md-11":"col-md-11_81d","col-md-12":"col-md-12_277","col-md-offset-0":"col-md-offset-0_a04","col-md-offset-1":"col-md-offset-1_b42","col-md-offset-2":"col-md-offset-2_4bb","col-md-offset-3":"col-md-offset-3_57c","col-md-offset-4":"col-md-offset-4_565","col-md-offset-5":"col-md-offset-5_22b","col-md-offset-6":"col-md-offset-6_de0","col-md-offset-7":"col-md-offset-7_a24","col-md-offset-8":"col-md-offset-8_5e2","col-md-offset-9":"col-md-offset-9_4e5","col-md-offset-10":"col-md-offset-10_ede","col-md-offset-11":"col-md-offset-11_31d","col-md-offset-12":"col-md-offset-12_6a8","start-md":"start-md_ade","center-md":"center-md_f2f","end-md":"end-md_44c","top-md":"top-md_cf0","middle-md":"middle-md_526","baseline-md":"baseline-md_ed0","bottom-md":"bottom-md_8c8","around-md":"around-md_f4c","between-md":"between-md_b90","first-md":"first-md_6cc","last-md":"last-md_bf6","col-lg":"col-lg_454","col-lg-1":"col-lg-1_75d","col-lg-2":"col-lg-2_2a3","col-lg-3":"col-lg-3_aac","col-lg-4":"col-lg-4_778","col-lg-5":"col-lg-5_e50","col-lg-6":"col-lg-6_2cf","col-lg-7":"col-lg-7_79e","col-lg-8":"col-lg-8_77c","col-lg-9":"col-lg-9_a61","col-lg-10":"col-lg-10_810","col-lg-11":"col-lg-11_55c","col-lg-12":"col-lg-12_a37","col-lg-offset-0":"col-lg-offset-0_369","col-lg-offset-1":"col-lg-offset-1_d5f","col-lg-offset-2":"col-lg-offset-2_8c1","col-lg-offset-3":"col-lg-offset-3_439","col-lg-offset-4":"col-lg-offset-4_dce","col-lg-offset-5":"col-lg-offset-5_969","col-lg-offset-6":"col-lg-offset-6_087","col-lg-offset-7":"col-lg-offset-7_28c","col-lg-offset-8":"col-lg-offset-8_d0f","col-lg-offset-9":"col-lg-offset-9_b60","col-lg-offset-10":"col-lg-offset-10_f7e","col-lg-offset-11":"col-lg-offset-11_5f9","col-lg-offset-12":"col-lg-offset-12_329","start-lg":"start-lg_97a","center-lg":"center-lg_9a7","end-lg":"end-lg_a2a","top-lg":"top-lg_4b0","middle-lg":"middle-lg_1bb","baseline-lg":"baseline-lg_22d","bottom-lg":"bottom-lg_438","around-lg":"around-lg_a0c","between-lg":"between-lg_c36","first-lg":"first-lg_336","last-lg":"last-lg_fcd"},e.exports=t},function(e,t,n){var r=n(51),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".light_184 {\n background-color: transparent;\n}\n\n.dark_eab {\n color: #fff;\n color: var(--ring-dark-text-color);\n background-color: #000;\n background-color: var(--ring-navigation-background-color)\n\n /* override link */\n}\n\n.dark_eab > a {\n color: #888;\n color: var(--ring-dark-secondary-color);\n }\n\n.header_41a {\n display: flex;\n overflow: hidden;\n align-items: center;\n\n box-sizing: border-box;\n height: 64px;\n\n line-height: 61px\n}\n\n.header_41a > * {\n display: inline-block;\n\n box-sizing: border-box;\n height: 64px;\n padding: 0 12px 3px;\n }\n\n.headerSpaced_11c > *:first-child {\n padding-left: 32px;\n }\n\n.headerSpaced_11c > *:last-child {\n padding-right: 32px;\n }\n\n.logo_eda {\n display: inline-flex;\n align-items: center;\n\n height: 64px;\n\n color: #000;\n\n color: var(--ring-navigation-background-color);\n\n line-height: normal\n}\n\n.logo_eda svg {\n vertical-align: bottom;\n }\n\n.tray_b5e {\n align-items: flex-end;\n\n margin-left: auto;\n padding: 0 0 3px;\n}\n\n/* override .header > * */\n.tray_b5e.tray_b5e {\n display: flex;\n}\n\n.trayItemContent_64f {\n height: 61px;\n}\n\n.icon_533 {\n width: 40px;\n\n text-align: center;\n\n vertical-align: top;\n}\n\n/* override button */\n.icon_533.icon_533 {\n height: 61px;\n\n padding-top: 4px;\n\n line-height: 61px;\n}\n\n.main_b35 svg {\n color: #008eff;\n color: var(--ring-main-color);\n}\n\n.rotatable_a8b svg {\n transition: transform 0.3s ease-out;\n transform: rotate(0deg);\n transform-origin: 50% 50%;\n}\n\n.rotated_360 svg {\n transform: rotate(90deg);\n}\n\n.profileEmpty_15f {\n align-items: center;\n\n width: auto;\n height: 61px;\n padding-left: 8px;\n\n vertical-align: bottom;\n}\n\n/* override dropdown */\n.profileEmpty_15f.profileEmpty_15f {\n display: inline-flex;\n}\n\n.profile_f00 {\n\n height: 61px;\n\n cursor: pointer;\n}\n\n.avatarWrapper_5e1 {\n\n line-height: 0;\n}\n\n.hasUpdates_819 {\n position: relative\n}\n\n.hasUpdates_819::after {\n position: absolute;\n top: calc(15% - 5px);\n right: calc(15% - 5px);\n\n display: block;\n\n width: 8px;\n height: 8px;\n\n content: '';\n\n border: 1px solid #fff;\n\n border: 1px solid var(--ring-dark-text-color);\n border-radius: 50%;\n background-color: #ff008c;\n background-color: var(--ring-link-hover-color);\n }\n",""]),t.locals={unit:""+o.locals.unit,resetButton:""+o.locals.resetButton,height:"64px",compensate:"3px",compensated:"61px",light:"light_184",dark:"dark_eab",header:"header_41a",headerSpaced:"headerSpaced_11c",logo:"logo_eda",tray:"tray_b5e",trayItemContent:"trayItemContent_64f",icon:"icon_533",main:"main_b35",rotatable:"rotatable_a8b",rotated:"rotated_360",profileEmpty:"profileEmpty_15f",profile:"profile_f00 profileEmpty_15f",avatarWrapper:"avatarWrapper_5e1 "+o.locals.resetButton,hasUpdates:"hasUpdates_819"},e.exports=t},function(e,t,n){n(932),e.exports=n(55).Object.assign},function(e,t,n){var r=n(84);r(r.S+r.F,"Object",{assign:n(933)})},function(e,t,n){"use strict";var r=n(90),o=n(150),i=n(242),a=n(187),s=n(153),l=n(456),c=Object.assign;e.exports=!c||n(130)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=s(e),c=arguments.length,u=1,f=i.f,d=a.f;c>u;)for(var p,h=l(arguments[u++]),m=f?o(h).concat(f(h)):o(h),g=m.length,v=0;g>v;)p=m[v++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:c},function(e,t,n){var r=n(120),o=n(457),i=n(935);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(238),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){n(937);var r=n(55).Object;e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)}},function(e,t,n){var r=n(120),o=n(243).f;n(244)("getOwnPropertyDescriptor",(function(){return function(e,t){return o(r(e),t)}}))},function(e,t,n){n(939),e.exports=n(55).Object.getPrototypeOf},function(e,t,n){var r=n(153),o=n(458);n(244)("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},function(e,t,n){e.exports={default:n(941),__esModule:!0}},function(e,t,n){n(942);var r=n(55).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(84);r(r.S+r.F*!n(90),"Object",{defineProperty:n(102).f})},function(e,t,n){e.exports={default:n(944),__esModule:!0}},function(e,t,n){n(460),n(464),e.exports=n(246).f("iterator")},function(e,t,n){var r=n(238),o=n(237);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(245),o=n(185),i=n(188),a={};n(118)(a,n(65)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(102),o=n(89),i=n(150);e.exports=n(90)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){"use strict";var r=n(949),o=n(950),i=n(154),a=n(120);e.exports=n(461)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(952),__esModule:!0}},function(e,t,n){n(953),n(466),n(958),n(959),e.exports=n(55).Symbol},function(e,t,n){"use strict";var r=n(60),o=n(119),i=n(90),a=n(84),s=n(462),l=n(954).KEY,c=n(130),u=n(240),f=n(188),d=n(186),p=n(65),h=n(246),m=n(247),g=n(955),v=n(956),y=n(89),b=n(103),_=n(153),w=n(120),x=n(236),k=n(185),M=n(245),S=n(957),O=n(243),E=n(242),L=n(102),T=n(150),D=O.f,C=L.f,P=S.f,j=r.Symbol,Y=r.JSON,A=Y&&Y.stringify,I=p("_hidden"),R=p("toPrimitive"),$={}.propertyIsEnumerable,H=u("symbol-registry"),N=u("symbols"),z=u("op-symbols"),F=Object.prototype,B="function"==typeof j&&!!E.f,U=r.QObject,W=!U||!U.prototype||!U.prototype.findChild,V=i&&c((function(){return 7!=M(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=D(F,t);r&&delete F[t],C(e,t,n),r&&e!==F&&C(F,t,r)}:C,q=function(e){var t=N[e]=M(j.prototype);return t._k=e,t},G=B&&"symbol"==typeof j.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof j},K=function(e,t,n){return e===F&&K(z,t,n),y(e),t=x(t,!0),y(n),o(N,t)?(n.enumerable?(o(e,I)&&e[I][t]&&(e[I][t]=!1),n=M(n,{enumerable:k(0,!1)})):(o(e,I)||C(e,I,k(1,{})),e[I][t]=!0),V(e,t,n)):C(e,t,n)},J=function(e,t){y(e);for(var n,r=g(t=w(t)),o=0,i=r.length;i>o;)K(e,n=r[o++],t[n]);return e},Q=function(e){var t=$.call(this,e=x(e,!0));return!(this===F&&o(N,e)&&!o(z,e))&&(!(t||!o(this,e)||!o(N,e)||o(this,I)&&this[I][e])||t)},Z=function(e,t){if(e=w(e),t=x(t,!0),e!==F||!o(N,t)||o(z,t)){var n=D(e,t);return!n||!o(N,t)||o(e,I)&&e[I][t]||(n.enumerable=!0),n}},X=function(e){for(var t,n=P(w(e)),r=[],i=0;n.length>i;)o(N,t=n[i++])||t==I||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===F,r=P(n?z:w(e)),i=[],a=0;r.length>a;)!o(N,t=r[a++])||n&&!o(F,t)||i.push(N[t]);return i};B||(s((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(z,n),o(this,I)&&o(this[I],e)&&(this[I][e]=!1),V(this,e,k(1,n))};return i&&W&&V(F,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),O.f=Z,L.f=K,n(465).f=S.f=X,n(187).f=Q,E.f=ee,i&&!n(152)&&s(F,"propertyIsEnumerable",Q,!0),h.f=function(e){return q(p(e))}),a(a.G+a.W+a.F*!B,{Symbol:j});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=T(p.store),oe=0;re.length>oe;)m(re[oe++]);a(a.S+a.F*!B,"Symbol",{for:function(e){return o(H,e+="")?H[e]:H[e]=j(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in H)if(H[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!B,"Object",{create:function(e,t){return void 0===t?M(e):J(M(e),t)},defineProperty:K,defineProperties:J,getOwnPropertyDescriptor:Z,getOwnPropertyNames:X,getOwnPropertySymbols:ee});var ie=c((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(_(e))}}),Y&&a(a.S+a.F*(!B||c((function(){var e=j();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,A.apply(Y,r)}}),j.prototype[R]||n(118)(j.prototype,R,j.prototype.valueOf),f(j,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(186)("meta"),o=n(103),i=n(119),a=n(102).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(130)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&f.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){var r=n(150),o=n(242),i=n(187);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(151);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(120),o=n(465).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){n(247)("asyncIterator")},function(e,t,n){n(247)("observable")},function(e,t,n){e.exports={default:n(961),__esModule:!0}},function(e,t,n){n(962),e.exports=n(55).Object.setPrototypeOf},function(e,t,n){var r=n(84);r(r.S,"Object",{setPrototypeOf:n(963).set})},function(e,t,n){var r=n(103),o=n(89),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(149)(Function.call,n(243).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(965),__esModule:!0}},function(e,t,n){n(966);var r=n(55).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(84);r(r.S,"Object",{create:n(245)})},function(e,t,n){n(968),e.exports=n(55).Object.keys},function(e,t,n){var r=n(153),o=n(150);n(244)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){n(466),n(460),n(464),n(970),n(982),n(983),e.exports=n(55).Promise},function(e,t,n){"use strict";var r,o,i,a,s=n(152),l=n(60),c=n(149),u=n(467),f=n(84),d=n(103),p=n(184),h=n(971),m=n(972),g=n(468),v=n(469).set,y=n(977)(),b=n(248),_=n(470),w=n(978),x=n(471),k=l.TypeError,M=l.process,S=M&&M.versions,O=S&&S.v8||"",E=l.Promise,L="process"==u(M),T=function(){},D=o=b.f,C=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n(65)("species")]=function(e){e(T,T)};return(L||"function"==typeof PromiseRejectionEvent)&&e.then(T)instanceof t&&0!==O.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),P=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},j=function(e,t){if(!e._n){e._n=!0;var n=e._c;y((function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,s=o?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{s?(o||(2==e._h&&I(e),e._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===t.promise?c(k("Promise-chain cycle")):(i=P(n))?i.call(n,l,c):l(n)):c(r)}catch(e){u&&!a&&u.exit(),c(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&Y(e)}))}},Y=function(e){v.call(l,(function(){var t,n,r,o=e._v,i=A(e);if(i&&(t=_((function(){L?M.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=L||A(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},A=function(e){return 1!==e._h&&0===(e._a||e._c).length},I=function(e){v.call(l,(function(){var t;L?M.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},R=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),j(t,!0))},$=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw k("Promise can't be resolved itself");(t=P(e))?y((function(){var r={_w:n,_d:!1};try{t.call(e,c($,r,1),c(R,r,1))}catch(e){R.call(r,e)}})):(n._v=e,n._s=1,j(n,!1))}catch(e){R.call({_w:n,_d:!1},e)}}};C||(E=function(e){h(this,E,"Promise","_h"),p(e),r.call(this);try{e(c($,this,1),c(R,this,1))}catch(e){R.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(979)(E.prototype,{then:function(e,t){var n=D(g(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=L?M.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=c($,e,1),this.reject=c(R,e,1)},b.f=D=function(e){return e===E||e===a?new i(e):o(e)}),f(f.G+f.W+f.F*!C,{Promise:E}),n(188)(E,"Promise"),n(980)("Promise"),a=n(55).Promise,f(f.S+f.F*!C,"Promise",{reject:function(e){var t=D(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!C),"Promise",{resolve:function(e){return x(s&&this===a?E:this,e)}}),f(f.S+f.F*!(C&&n(981)((function(e){E.all(e).catch(T)}))),"Promise",{all:function(e){var t=this,n=D(t),r=n.resolve,o=n.reject,i=_((function(){var n=[],i=0,a=1;m(e,!1,(function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=D(t),r=n.reject,o=_((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(149),o=n(973),i=n(974),a=n(89),s=n(457),l=n(975),c={},u={};(t=e.exports=function(e,t,n,f,d){var p,h,m,g,v=d?function(){return e}:l(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(i(v)){for(p=s(e.length);p>b;b++)if((g=t?y(a(h=e[b])[0],h[1]):y(e[b]))===c||g===u)return g}else for(m=v.call(e);!(h=m.next()).done;)if((g=o(m,y,h.value,t))===c||g===u)return g}).BREAK=c,t.RETURN=u},function(e,t,n){var r=n(89);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(154),o=n(65)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(467),o=n(65)("iterator"),i=n(154);e.exports=n(55).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(60),o=n(469).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(151)(a);e.exports=function(){var e,t,n,c=function(){var r,o;for(l&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){o.call(r,c)};else{var f=!0,d=document.createTextNode("");new i(c).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){var r=n(60).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){var r=n(118);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){"use strict";var r=n(60),o=n(55),i=n(102),a=n(90),s=n(65)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(65)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(84),o=n(55),i=n(60),a=n(468),s=n(471);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){"use strict";var r=n(84),o=n(248),i=n(470);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.error_471:hover {\n color: #c22731;\n color: var(--ring-error-color);\n }}\n\n.list_735 {\n position: relative;\n\n z-index: 1;\n\n border-radius: 3px;\n\n border-radius: var(--ring-border-radius);\n\n line-height: normal;\n}\n\n.simpleInner_268 {\n overflow: auto;\n}\n\n.scrolling_6d6 {\n pointer-events: none;\n}\n\n.separator_6ff {\n display: block;\n\n min-height: 8px;\n\n margin-top: 8px;\n padding: 0 16px 1px;\n\n text-align: right;\n\n color: #737577;\n\n color: var(--ring-secondary-color);\n border-top: 1px solid #dfe5eb;\n border-top: 1px solid var(--ring-line-color);\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n line-height: 18px;\n line-height: var(--ring-line-height-lower);\n}\n\n.separator_first_fe8 {\n margin-top: 0;\n padding-top: 0;\n\n border: none;\n}\n\n.item_857 {\n display: block;\n\n box-sizing: border-box;\n\n width: 100%;\n\n text-align: left;\n vertical-align: bottom;\n white-space: nowrap;\n text-decoration: none;\n\n outline: none;\n\n font-size: 13px;\n\n font-size: var(--ring-font-size);\n line-height: 24px;\n}\n\n.item_857.item_857 {\n padding: 3px 16px 5px;\n}\n\n.itemContainer_a7e {\n position: relative;\n}\n\n.compact_edd {\n line-height: 16px;\n}\n\n.error_471 {\n cursor: default\n\n /* Override ring-link */\n}\n\n.error_471,\n .error_471:focus,\n .error_471:visited {\n color: #c22731;\n color: var(--ring-error-color);\n }\n\n.add_7fe {\n padding: 8px 16px;\n\n line-height: 32px;\n}\n\n.top_37b {\n display: flex;\n align-items: baseline;\n flex-direction: row;\n}\n\n.left_23c {\n align-self: center;\n flex-shrink: 0;\n}\n\n.label_088 {\n overflow: hidden;\n flex-grow: 1;\n flex-shrink: 1;\n\n text-align: left;\n white-space: nowrap;\n text-overflow: ellipsis\n}\n\n[dir=rtl] .label_088 {\n text-align: right;\n direction: ltr\n}\n\n.description_aea {\n overflow: hidden;\n flex-shrink: 100;\n\n padding-left: 8px;\n\n text-align: right;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n color: #737577;\n\n color: var(--ring-secondary-color);\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n font-weight: 400;\n line-height: 16px;\n line-height: var(--ring-line-height-lowest);\n}\n\n.right_c60 {\n display: flex;\n align-items: center;\n align-self: center;\n flex-direction: row;\n flex-shrink: 0;\n}\n\n.details_ecd {\n margin-bottom: 6px;\n\n white-space: normal;\n\n color: #737577;\n\n color: var(--ring-secondary-color);\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n line-height: 16px;\n line-height: var(--ring-line-height-lowest);\n}\n\n.padded_029 {\n margin-left: 20px;\n}\n\n/* Override :last-child */\n.hint_ace.hint_ace {\n margin-bottom: 0;\n\n border-top: 1px solid #dfe5eb;\n\n border-top: 1px solid var(--ring-line-color);\n background-color: #f7f9fa;\n background-color: var(--ring-sidebar-background-color);\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n}\n\n.action_def {\n cursor: pointer;\n\n color: #1f2326;\n\n color: var(--ring-text-color);\n}\n\n/* override link */\n.actionLink_173.actionLink_173 {\n transition: none;\n}\n\n.hover_a79:not(.error_471) {\n background-color: #d4edff;\n background-color: var(--ring-selected-background-color);\n}\n\n.icon_236 {\n display: inline-block;\n\n width: 20px;\n height: 20px;\n margin-left: 16px;\n\n background-repeat: no-repeat;\n background-position: center;\n\n background-size: contain;\n}\n\n.highlight_e53 {\n color: #ff008c;\n color: var(--ring-link-hover-color);\n}\n\n.service_7e0 {\n color: #737577;\n color: var(--ring-secondary-color);\n}\n\n.glyph_20d {\n float: left;\n\n width: 20px;\n margin-right: 8px;\n\n color: #999;\n\n color: var(--ring-icon-secondary-color);\n}\n\n.avatar_d37 {\n\n top: 0;\n}\n\n.rightGlyph_d26 {\n\n float: right;\n\n margin-right: 0;\n margin-left: 16px;\n}\n\n.checkboxContainer_741 {\n position: absolute;\n top: 7px;\n left: 19px;\n\n width: 20px;\n height: 20px;\n margin-right: 8px;\n}\n\n.compact_edd .checkboxContainer_741 {\n top: 0;\n\n width: 16px;\n height: 16px;\n}\n\n.title_947 {\n display: block;\n\n margin-top: 10px;\n margin-bottom: 6px;\n padding: 8px 16px 0;\n\n text-align: left\n}\n\n[dir=rtl] .title_947 {\n text-align: right;\n direction: ltr\n}\n\n.title_first_45f {\n margin-top: 0;\n}\n\n.text_001 {\n letter-spacing: 1.5px;\n text-transform: uppercase;\n\n color: #737577;\n\n color: var(--ring-secondary-color);\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n}\n\n.fade_125 {\n position: absolute;\n bottom: 0;\n\n width: 100%;\n height: 24px;\n\n pointer-events: none;\n\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);\n\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--ring-content-background-color));\n}\n\n.disabled_48b {\n pointer-events: none;\n\n color: #999;\n\n color: var(--ring-disabled-color);\n}\n",""]),t.locals={unit:""+o.locals.unit,listSpacing:"8px",error:"error_471",list:"list_735",simpleInner:"simpleInner_268",scrolling:"scrolling_6d6",separator:"separator_6ff",separator_first:"separator_first_fe8",item:"item_857",itemContainer:"itemContainer_a7e",compact:"compact_edd",add:"add_7fe",top:"top_37b",left:"left_23c",label:"label_088",description:"description_aea",right:"right_c60",details:"details_ecd",padded:"padded_029",hint:"hint_ace",action:"action_def",actionLink:"actionLink_173",hover:"hover_a79",icon:"icon_236",highlight:"highlight_e53",service:"service_7e0",glyph:"glyph_20d",avatar:"avatar_d37 glyph_20d",rightGlyph:"rightGlyph_d26 glyph_20d",checkboxContainer:"checkboxContainer_741",title:"title_947",title_first:"title_first_45f",text:"text_001",fade:"fade_125",disabled:"disabled_48b"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".services_007 {\n max-width: 402px;\n padding: 32px 32px 24px;\n\n background-color: #000;\n\n background-color: var(--ring-navigation-background-color);\n\n line-height: 10px; /* Eliminate gap between clickable blocks rows */\n}\n\n.active_806 {\n font-weight: bold;\n}\n\n.item_1cb {\n display: inline-block;\n overflow-x: hidden;\n\n box-sizing: border-box;\n width: 112px;\n height: 112px;\n\n text-align: center;\n text-overflow: ellipsis;\n\n color: #fff;\n\n color: var(--ring-dark-text-color);\n\n line-height: normal;\n\n line-height: initial\n}\n\n.item_1cb::after {\n height: 112px;\n\n vertical-align: middle;\n }\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.item_1cb:not(:hover),\n .item_1cb:visited:not(:hover) {\n color: #fff;\n color: var(--ring-dark-text-color);\n }}\n\n.item_1cb {\n\n /* Disable animation .ring-icon_loading in Header in Edge, see https://youtrack.jetbrains.com/issue/RG-928 */\n /* Supports MS Edge */\n}\n\n@supports (-ms-accelerator: true) {\n\n.item_1cb {\n -webkit-animation-name: none_2f5;\n animation-name: none_2f5\n}\n }\n\n.itemLogo_540 {\n display: inline-block;\n\n width: 48px;\n height: 48px;\n margin: 16px 0 9px;\n\n background-repeat: no-repeat;\n background-size: contain;\n}\n\n.activeItem_d13 {\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.activeItem_d13:hover {\n color: #fff;\n color: var(--ring-dark-text-color);\n }}\n\n.line_319 {\n height: 1px;\n margin: 32px 0 16px;\n\n background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);\n}\n\n.itemStacked_957 {\n display: inline-block;\n\n width: 100%;\n margin-bottom: 16px;\n\n text-decoration: none;\n\n line-height: 16px\n}\n\n.itemStacked_957,\n .itemStacked_957:visited {\n color: #737577;\n color: var(--ring-secondary-color);\n }\n\n.itemStacked_957:last-child {\n margin-bottom: -24px;\n }\n\n.activeItemStacked_a69 {\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.activeItemStacked_a69:hover {\n color: #737577;\n color: var(--ring-secondary-color);\n }}\n",""]),t.locals={unit:""+o.locals.unit,services:"services_007",active:"active_806",item:"item_1cb",none:"none_2f5",itemLogo:"itemLogo_540",activeItem:"activeItem_d13 item_1cb active_806",line:"line_319",itemStacked:"itemStacked_957",activeItemStacked:"activeItemStacked_a69 itemStacked_957 active_806"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".heading_c99 {\n\n margin-top: 20px;\n\n margin-top: var(--ring-line-height)\n}\n\n.heading_c99:first-child {\n margin-top: 0;\n }\n\nh1.heading_c99, h2.heading_c99 {\n margin-bottom: 8px;\n\n color: #1f2326;\n\n color: var(--ring-heading-color);\n\n font-size: 24px;\n line-height: 28px\n}\n\nh2.heading_c99 {\n font-weight: 200\n}\n\nh3.heading_c99 {\n margin-bottom: 0;\n\n font-size: inherit;\n line-height: inherit\n}\n\nh4.heading_c99 {\n margin-bottom: 1px;\n\n letter-spacing: 1px;\n text-transform: uppercase;\n\n font-size: 12px;\n font-weight: normal;\n line-height: 16px\n}\n\n.caps_5c1 {\n letter-spacing: 2px;\n text-transform: uppercase;\n}\n",""]),t.locals={heading:"heading_c99 "+o.locals.font,caps:"caps_5c1"},e.exports=t},function(e,t,n){var r=n(20),o=n(22);(t=r(!1)).i(o),t.push([e.i,".loaderScreen_9da {\n position: absolute;\n\n width: 100%;\n height: 100%;\n\n text-align: center;\n vertical-align: middle\n}\n\n.loaderScreen_9da::before {\n display: inline-block;\n\n height: 100%;\n\n content: '';\n\n vertical-align: middle;\n }\n\n.loader_a93 {\n display: inline-block;\n}\n\n.loaderWithoutSpacing_135 canvas {\n margin: 0;\n}\n",""]),t.locals={loaderScreen:"loaderScreen_9da",loader:"loader_a93",loaderWithoutSpacing:"loaderWithoutSpacing_135"},e.exports=t},function(e,t,n){"use strict";var r=n(991),o=n(992),i=n(993),a=n(999),s=n(1001),l=n(1002);e.exports=function e(){var t=[],n=a(),y={},b=!1,_=-1;return w.data=function(e,t){if(s(e))return 2===arguments.length?(m("data",b),y[e]=t,w):u.call(y,e)&&y[e]||null;if(e)return m("data",b),y=e,w;return y},w.freeze=x,w.attachers=t,w.use=function(e){var n;if(m("use",b),null==e);else if("function"==typeof e)s.apply(null,arguments);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?a(e):o(e)}n&&(y.settings=r(y.settings||{},n));return w;function o(e){a(e.plugins),e.settings&&(n=r(n||{},e.settings))}function i(e){if("function"==typeof e)s(e);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?s.apply(null,e):o(e)}}function a(e){var t,n;if(null==e);else{if("object"!=typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(t=e.length,n=-1;++n<t;)i(e[n])}}function s(e,n){var o=k(e);o?(l(o[1])&&l(n)&&(n=r(o[1],n)),o[1]=n):t.push(c.call(arguments))}},w.parse=function(e){var t,n=i(e);if(x(),p("parse",t=w.Parser),d(t))return new t(String(n),n).parse();return t(String(n),n)},w.stringify=function(e,t){var n,r=i(t);if(x(),h("stringify",n=w.Compiler),g(e),d(n))return new n(e,r).compile();return n(e,r)},w.run=M,w.runSync=function(e,t){var n,r=!1;return M(e,t,(function(e,t){r=!0,o(e),n=t})),v("runSync","run",r),n},w.process=S,w.processSync=function(e){var t,n=!1;return x(),p("processSync",w.Parser),h("processSync",w.Compiler),S(t=i(e),(function(e){n=!0,o(e)})),v("processSync","process",n),t},w;function w(){for(var n=e(),o=t.length,i=-1;++i<o;)n.use.apply(null,t[i]);return n.data(r(!0,{},y)),n}function x(){var e,r,o,i;if(b)return w;for(;++_<t.length;)r=(e=t[_])[0],null,!1!==(o=e[1])&&(!0===o&&(e[1]=void 0),"function"==typeof(i=r.apply(w,e.slice(1)))&&n.use(i));return b=!0,_=1/0,w}function k(e){for(var n,r=t.length,o=-1;++o<r;)if((n=t[o])[0]===e)return n}function M(e,t,r){if(g(e),x(),r||"function"!=typeof t||(r=t,t=null),!r)return new Promise(o);function o(o,a){n.run(e,i(t),(function(t,n,i){n=n||e,t?a(t):o?o(n):r(null,n,i)}))}o(null,r)}function S(e,t){if(x(),p("process",w.Parser),h("process",w.Compiler),!t)return new Promise(n);function n(n,r){var o=i(e);f.run(w,{file:o},(function(e){e?r(e):n?n(o):t(null,o)}))}n(null,t)}}().freeze();var c=[].slice,u={}.hasOwnProperty,f=a().use((function(e,t){t.tree=e.parse(t.file)})).use((function(e,t,n){e.run(t.tree,t.file,(function(e,r,o){e?n(e):(t.tree=r,t.file=o,n())}))})).use((function(e,t){t.file.contents=e.stringify(t.tree,t.file)}));function d(e){return"function"==typeof e&&function(e){var t;for(t in e)return!0;return!1}(e.prototype)}function p(e,t){if("function"!=typeof t)throw new Error("Cannot `"+e+"` without `Parser`")}function h(e,t){if("function"!=typeof t)throw new Error("Cannot `"+e+"` without `Compiler`")}function m(e,t){if(t)throw new Error(["Cannot invoke `"+e+"` on a frozen processor.\nCreate a new ","processor first, by invoking it: use `processor()` instead of ","`processor`."].join(""))}function g(e){if(!e||!s(e.type))throw new Error("Expected node, got `"+e+"`")}function v(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===o.call(e)},l=function(e){if(!e||"[object Object]"!==o.call(e))return!1;var t,n=r.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!i)return!1;for(t in e);return void 0===t||r.call(e,t)},c=function(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!r.call(e,t))return;if(a)return a(e,t).value}return e[t]};e.exports=function e(){var t,n,r,o,i,a,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<p;++d)if(null!=(t=arguments[d]))for(n in t)r=u(f,n),f!==(o=u(t,n))&&(h&&o&&(l(o)||(i=s(o)))?(i?(i=!1,a=r&&s(r)?r:[]):a=r&&l(r)?r:{},c(f,{name:n,newValue:e(h,a,o)})):void 0!==o&&c(f,{name:n,newValue:o}));return f}},function(e,t,n){"use strict";e.exports=function(e){if(e)throw e}},function(e,t,n){"use strict";var r=n(994),o=n(996);e.exports=o;var i=o.prototype;function a(e,t,n){var o=this.path,i=new r(e,t,n);return o&&(i.name=o+":"+i.name,i.file=o),i.fatal=!1,this.messages.push(i),i}i.message=a,i.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},i.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e},i.warn=a},function(e,t,n){"use strict";var r=n(995);function o(){}e.exports=a,o.prototype=Error.prototype,a.prototype=new o;var i=a.prototype;function a(e,t,n){var o,i,a;"string"==typeof t&&(n=t,t=null),o=function(e){var t,n=[null,null];"string"==typeof e&&(-1===(t=e.indexOf(":"))?n[1]=e:(n[0]=e.slice(0,t),n[1]=e.slice(t+1)));return n}(n),i=r(t)||"1:1",a={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(a=t,t=t.start):a.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=i,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=a,this.source=o[0],this.ruleId=o[1]}i.file="",i.name="",i.reason="",i.message="",i.stack="",i.fatal=null,i.column=null,i.line=null},function(e,t,n){"use strict";var r={}.hasOwnProperty;function o(e){return e&&"object"==typeof e||(e={}),a(e.line)+":"+a(e.column)}function i(e){return e&&"object"==typeof e||(e={}),o(e.start)+"-"+o(e.end)}function a(e){return e&&"number"==typeof e?e:1}e.exports=function(e){if(!e||"object"!=typeof e)return null;if(r.call(e,"position")||r.call(e,"type"))return i(e.position);if(r.call(e,"start")||r.call(e,"end"))return i(e);if(r.call(e,"line")||r.call(e,"column"))return o(e);return null}},function(e,t,n){"use strict";(function(t){var r=n(472),o=n(997),i=n(998);e.exports=c;var a={}.hasOwnProperty,s=c.prototype;s.toString=function(e){var t=this.contents||"";return i(t)?t.toString(e):String(t)};var l=["history","path","basename","stem","extname","dirname"];function c(e){var n,r,o;if(e){if("string"==typeof e||i(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof c))return new c(e);for(this.data={},this.messages=[],this.history=[],this.cwd=t.cwd(),r=-1,o=l.length;++r<o;)n=l[r],a.call(e,n)&&(this[n]=e[n]);for(n in e)-1===l.indexOf(n)&&(this[n]=e[n])}function u(e,t){if(-1!==e.indexOf(r.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function f(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function d(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}Object.defineProperty(s,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){f(e,"path"),e!==this.path&&this.history.push(e)}}),Object.defineProperty(s,"dirname",{get:function(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function(e){d(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(s,"basename",{get:function(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function(e){f(e,"basename"),u(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(s,"extname",{get:function(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function(e){var t=e||"";if(u(t,"extname"),d(this.path,"extname"),t){if("."!==t.charAt(0))throw new Error("`extname` must start with `.`");if(-1!==t.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=o(this.path,t)}}),Object.defineProperty(s,"stem",{get:function(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function(e){f(e,"stem"),u(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})}).call(this,n(231))},function(e,t,n){"use strict";var r=n(472);e.exports=function(e,t){if("string"!=typeof e)return e;if(0===e.length)return e;var n=r.basename(e,r.extname(e))+t;return r.join(r.dirname(e),n)}},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
-/*!
- * Determine if an object is a Buffer
- *
- * @author Feross Aboukhadijeh <https://feross.org>
- * @license MIT
- */
-e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){"use strict";var r=n(1e3);e.exports=i,i.wrap=r;var o=[].slice;function i(){var e=[],t={run:function(){var t=-1,n=o.call(arguments,0,-1),i=arguments[arguments.length-1];if("function"!=typeof i)throw new Error("Expected function as last argument, not "+i);function a(s){var l=e[++t],c=o.call(arguments,0),u=c.slice(1),f=n.length,d=-1;if(s)i(s);else{for(;++d<f;)null!==u[d]&&void 0!==u[d]||(u[d]=n[d]);n=u,l?r(l,a).apply(null,n):i.apply(null,[null].concat(n))}}a.apply(null,[null].concat(n))},use:function(n){if("function"!=typeof n)throw new Error("Expected `fn` to be a function, not "+n);return e.push(n),t}};return t}},function(e,t,n){"use strict";var r=[].slice;e.exports=function(e,t){var n;return function(){var t,a=r.call(arguments,0),s=e.length>a.length;s&&a.push(o);try{t=e.apply(null,a)}catch(e){if(s&&n)throw e;return o(e)}s||(t&&"function"==typeof t.then?t.then(i,o):t instanceof Error?o(t):i(t))};function o(){n||(n=!0,t.apply(null,arguments))}function i(e){o(null,e)}}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return"[object String]"===n.call(e)}},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t;return"[object Object]"===r.call(e)&&(null===(t=Object.getPrototypeOf(e))||t===Object.getPrototypeOf({}))}},function(e,t,n){"use strict";var r=n(1004),o=n(83),i=n(1006);function a(e){var t=r(i);t.prototype.options=o(t.prototype.options,this.data("settings"),e),this.Parser=t}e.exports=a,a.Parser=i},function(e,t,n){"use strict";var r=n(83),o=n(1005);e.exports=function(e){var t,n,i;for(n in o(s,e),o(a,s),t=s.prototype)(i=t[n])&&"object"==typeof i&&(t[n]="concat"in i?i.concat():r(i));return s;function a(t){return e.apply(this,t)}function s(){return this instanceof s?e.apply(this,arguments):new a(arguments)}}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){"use strict";var r=n(83),o=n(1007),i=n(1008),a=n(1009),s=n(1010),l=n(1016);function c(e,t){this.file=t,this.offset={},this.options=r(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=i(t).toOffset,this.unescape=a(this,"escape"),this.decode=s(this)}e.exports=c;var u=c.prototype;function f(e){var t,n=[];for(t in e)n.push(t);return n}u.setOptions=n(1017),u.parse=n(1020),u.options=n(474),u.exitStart=o("atStart",!0),u.enterList=o("inList",!1),u.enterLink=o("inLink",!1),u.enterBlock=o("inBlock",!1),u.interruptParagraph=[["thematicBreak"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],u.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],u.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],u.blockTokenizers={newline:n(1024),indentedCode:n(1025),fencedCode:n(1026),blockquote:n(1027),atxHeading:n(1028),thematicBreak:n(1029),list:n(1030),setextHeading:n(1032),html:n(1033),footnote:n(1034),definition:n(1036),table:n(1037),paragraph:n(1038)},u.inlineTokenizers={escape:n(1039),autoLink:n(1041),url:n(1042),html:n(1044),link:n(1045),reference:n(1046),strong:n(1047),emphasis:n(1049),deletion:n(1052),code:n(1054),break:n(1056),text:n(1058)},u.blockMethods=f(u.blockTokenizers),u.inlineMethods=f(u.inlineTokenizers),u.tokenizeBlock=l("block"),u.tokenizeInline=l("inline"),u.tokenizeFactory=l},function(e,t,n){"use strict";e.exports=function(e,t,n){return function(){var r=n||this,o=r[e];return r[e]=!t,function(){r[e]=o}}}},function(e,t,n){"use strict";function r(e){return function(t){var n=-1,r=e.length;if(t<0)return{};for(;++n<r;)if(e[n]>t)return{line:n+1,column:t-(e[n-1]||0)+1,offset:t};return{}}}function o(e){return function(t){var n=t&&t.line,r=t&&t.column;if(!isNaN(n)&&!isNaN(r)&&n-1 in e)return(e[n-2]||0)+r-1||0;return-1}}e.exports=function(e){var t=function(e){var t=[],n=e.indexOf("\n");for(;-1!==n;)t.push(n+1),n=e.indexOf("\n",n+1);return t.push(e.length+1),t}(String(e));return{toPosition:r(t),toOffset:o(t)}}},function(e,t,n){"use strict";e.exports=function(e,t){return function(n){var r,o=0,i=n.indexOf("\\"),a=e[t],s=[];for(;-1!==i;)s.push(n.slice(o,i)),o=i+1,(r=n.charAt(o))&&-1!==a.indexOf(r)||s.push("\\"),i=n.indexOf("\\",o);return s.push(n.slice(o)),s.join("")}}},function(e,t,n){"use strict";var r=n(83),o=n(249);e.exports=function(e){return i.raw=function(e,i,a){return o(e,r(a,{position:t(i),warning:n}))},i;function t(t){for(var n=e.offset,r=t.line,o=[];++r&&r in n;)o.push((n[r]||0)+1);return{start:t,indent:o}}function n(t,n,r){3!==r&&e.file.message(t,n)}function i(r,i,a){o(r,{position:t(i),warning:n,text:a,reference:a,textContext:e,referenceContext:e})}}},function(e){e.exports=JSON.parse('{"AElig":"Æ","AMP":"&","Aacute":"Á","Acirc":"Â","Agrave":"À","Aring":"Å","Atilde":"Ã","Auml":"Ä","COPY":"©","Ccedil":"Ç","ETH":"Ð","Eacute":"É","Ecirc":"Ê","Egrave":"È","Euml":"Ë","GT":">","Iacute":"Í","Icirc":"Î","Igrave":"Ì","Iuml":"Ï","LT":"<","Ntilde":"Ñ","Oacute":"Ó","Ocirc":"Ô","Ograve":"Ò","Oslash":"Ø","Otilde":"Õ","Ouml":"Ö","QUOT":"\\"","REG":"®","THORN":"Þ","Uacute":"Ú","Ucirc":"Û","Ugrave":"Ù","Uuml":"Ü","Yacute":"Ý","aacute":"á","acirc":"â","acute":"´","aelig":"æ","agrave":"à","amp":"&","aring":"å","atilde":"ã","auml":"ä","brvbar":"¦","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","curren":"¤","deg":"°","divide":"÷","eacute":"é","ecirc":"ê","egrave":"è","eth":"ð","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","iacute":"í","icirc":"î","iexcl":"¡","igrave":"ì","iquest":"¿","iuml":"ï","laquo":"«","lt":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","ntilde":"ñ","oacute":"ó","ocirc":"ô","ograve":"ò","ordf":"ª","ordm":"º","oslash":"ø","otilde":"õ","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","raquo":"»","reg":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","thorn":"þ","times":"×","uacute":"ú","ucirc":"û","ugrave":"ù","uml":"¨","uuml":"ü","yacute":"ý","yen":"¥","yuml":"ÿ"}')},function(e){e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')},function(e,t,n){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},function(e,t,n){"use strict";var r=n(473),o=n(189);e.exports=function(e){return r(e)||o(e)}},function(e,t,n){"use strict";var r;e.exports=function(e){var t,n="&"+e+";";if((r=r||document.createElement("i")).innerHTML=n,59===(t=r.textContent).charCodeAt(t.length-1)&&"semi"!==e)return!1;return t!==n&&t}},function(e,t,n){"use strict";e.exports=function(e){return function(t,n){var i,a,s,l,c,u,f=this,d=f.offset,p=[],h=f[e+"Methods"],m=f[e+"Tokenizers"],g=n.line,v=n.column;if(!t)return p;w.now=b,w.file=f.file,y("");for(;t;){for(i=-1,a=h.length,c=!1;++i<a&&(l=h[i],!(s=m[l])||s.onlyAtStart&&!f.atStart||s.notInList&&f.inList||s.notInBlock&&f.inBlock||s.notInLink&&f.inLink||(u=t.length,s.apply(f,[w,t]),!(c=u!==t.length))););c||f.file.fail(new Error("Infinite loop"),w.now())}return f.eof=b(),p;function y(e){for(var t=-1,n=e.indexOf("\n");-1!==n;)g++,t=n,n=e.indexOf("\n",n+1);-1===t?v+=e.length:v=e.length-t,g in d&&(-1!==t?v+=d[g]:v<=d[g]&&(v=d[g]+1))}function b(){var e={line:g,column:v};return e.offset=f.toOffset(e),e}function _(e){this.start=e,this.end=b()}function w(e){var n,i=function(){var e=[],t=g+1;return function(){for(var n=g+1;t<n;)e.push((d[t]||0)+1),t++;return e}}(),a=(n=b(),function(e,t){var r=e.position,o=r?r.start:n,i=[],a=r&&r.end.line,s=n.line;if(e.position=new _(o),r&&t&&r.indent){if(i=r.indent,a<s){for(;++a<s;)i.push((d[a]||0)+1);i.push(n.column)}t=i.concat(t)}return e.position.indent=t||[],e}),s=b();return function(e){t.substring(0,e.length)!==e&&f.file.fail(new Error("Incorrectly eaten value: please report this warning on http://git.io/vg5Ft"),b())}(e),l.reset=c,c.test=u,l.test=u,t=t.substring(e.length),y(e),i=i(),l;function l(e,t){return a(function(e,t){var n=t?t.children:p,i=n[n.length-1];return i&&e.type===i.type&&e.type in r&&o(i)&&o(e)&&(e=r[e.type].call(f,i,e)),e!==i&&n.push(e),f.atStart&&0!==p.length&&f.exitStart(),e}(a(e),t),i)}function c(){var n=l.apply(null,arguments);return g=s.line,v=s.column,t=e+t,n}function u(){var n=a({});return g=s.line,v=s.column,t=e+t,n.position}}}};var r={text:function(e,t){return e.value+=t.value,e},blockquote:function(e,t){if(this.options.commonmark)return t;return e.children=e.children.concat(t.children),e}};function o(e){var t,n;return"text"!==e.type||!e.position||(t=e.position.start,n=e.position.end,t.line!==n.line||n.column-t.column===e.value.length)}},function(e,t,n){"use strict";var r=n(83),o=n(1018),i=n(474);e.exports=function(e){var t,n,a=this.options;if(null==e)e={};else{if("object"!=typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=r(e)}for(t in i){if(null==(n=e[t])&&(n=a[t]),"blocks"!==t&&"boolean"!=typeof n||"blocks"===t&&"object"!=typeof n)throw new Error("Invalid value `"+n+"` for setting `options."+t+"`");e[t]=n}return this.options=e,this.escape=o(e),this}},function(e,t,n){"use strict";e.exports=a;var r=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],o=r.concat(["~","|"]),i=o.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);function a(e){var t=e||{};return t.commonmark?i:t.gfm?o:r}a.default=r,a.gfm=o,a.commonmark=i},function(e){e.exports=JSON.parse('["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]')},function(e,t,n){"use strict";var r=n(83),o=n(1021);e.exports=function(){var e,t=String(this.file),n={line:1,column:1,offset:0},a=r(n);65279===(t=t.replace(i,"\n")).charCodeAt(0)&&(t=t.slice(1),a.column++,a.offset++);e={type:"root",children:this.tokenizeBlock(t,a),position:{start:n,end:this.eof||r(n)}},this.options.position||o(e,!0);return e};var i=/\r\n|\r/g},function(e,t,n){"use strict";var r=n(190);function o(e){delete e.position}function i(e){e.position=void 0}e.exports=function(e,t){return r(e,t?o:i),e}},function(e,t,n){"use strict";e.exports=o;var r=n(1023);function o(e,t,n,o){var a;function s(e,r,l){var c,u=[];return(t&&!a(e,r,l[l.length-1]||null)||!1!==(u=i(n(e,l)))[0])&&e.children&&"skip"!==u[0]&&!1===(c=i(function(e,t){var n,r=o?-1:1,i=(o?e.length:-1)+r;for(;i>-1&&i<e.length;){if(!1===(n=s(e[i],i,t))[0])return n;i="number"==typeof n[1]?n[1]:i+r}}(e.children,l.concat(e))))[0]?c:u}"function"==typeof t&&"function"!=typeof n&&(o=n,n=t,t=null),a=r(t),s(e,null,[])}function i(e){return null!==e&&"object"==typeof e&&"length"in e?e:"number"==typeof e?[!0,e]:[e]}o.CONTINUE=!0,o.SKIP="skip",o.EXIT=!1},function(e,t,n){"use strict";function r(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null==e)return a;if("object"==typeof e)return("length"in e?i:o)(e);if("function"==typeof e)return e;throw new Error("Expected function, string, or object as test")}function o(e){return function(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}function i(e){var t=function(e){for(var t=[],n=e.length,o=-1;++o<n;)t[o]=r(e[o]);return t}(e),n=t.length;return function(){var e=-1;for(;++e<n;)if(t[e].apply(this,arguments))return!0;return!1}}function a(){return!0}e.exports=r},function(e,t,n){"use strict";var r=n(68);e.exports=function(e,t,n){var o,i,a,s,l=t.charAt(0);if("\n"!==l)return;if(n)return!0;s=1,o=t.length,i=l,a="";for(;s<o&&(l=t.charAt(s),r(l));)a+=l,"\n"===l&&(i+=a,a=""),s++;e(i)}},function(e,t,n){"use strict";var r=n(250),o=n(251);e.exports=function(e,t,n){var r,a,s,l=-1,c=t.length,u="",f="",d="",p="";for(;++l<c;)if(r=t.charAt(l),s)if(s=!1,u+=d,f+=p,d="",p="","\n"===r)d=r,p=r;else for(u+=r,f+=r;++l<c;){if(!(r=t.charAt(l))||"\n"===r){p=r,d=r;break}u+=r,f+=r}else if(" "===r&&t.charAt(l+1)===r&&t.charAt(l+2)===r&&t.charAt(l+3)===r)d+=i,l+=3,s=!0;else if("\t"===r)d+=r,s=!0;else{for(a="";"\t"===r||" "===r;)a+=r,r=t.charAt(++l);if("\n"!==r)break;d+=a+r,p+=r}if(f)return!!n||e(u)({type:"code",lang:null,value:o(f)})};var i=r(" ",4)},function(e,t,n){"use strict";var r=n(251);e.exports=function(e,t,n){var o,i,a,s,l,c,u,f,d,p,h,m=this.options,g=t.length+1,v=0,y="";if(!m.gfm)return;for(;v<g&&(" "===(a=t.charAt(v))||"\t"===a);)y+=a,v++;if(p=v,"~"!==(a=t.charAt(v))&&"`"!==a)return;v++,i=a,o=1,y+=a;for(;v<g&&(a=t.charAt(v))===i;)y+=a,o++,v++;if(o<3)return;for(;v<g&&(" "===(a=t.charAt(v))||"\t"===a);)y+=a,v++;s="",l="";for(;v<g&&"\n"!==(a=t.charAt(v))&&"~"!==a&&"`"!==a;)" "===a||"\t"===a?l+=a:(s+=l+a,l=""),v++;if((a=t.charAt(v))&&"\n"!==a)return;if(n)return!0;(h=e.now()).column+=y.length,h.offset+=y.length,y+=s,s=this.decode.raw(this.unescape(s),h),l&&(y+=l);l="",f="",d="",c="",u="";for(;v<g;)if(a=t.charAt(v),c+=f,u+=d,f="",d="","\n"===a){for(c?(f+=a,d+=a):y+=a,l="",v++;v<g&&" "===(a=t.charAt(v));)l+=a,v++;if(f+=l,d+=l.slice(p),!(l.length>=4)){for(l="";v<g&&(a=t.charAt(v))===i;)l+=a,v++;if(f+=l,d+=l,!(l.length<o)){for(l="";v<g&&(" "===(a=t.charAt(v))||"\t"===a);)f+=a,d+=a,v++;if(!a||"\n"===a)break}}}else c+=a,d+=a,v++;return e(y+=c+f)({type:"code",lang:s||null,value:r(u)})}},function(e,t,n){"use strict";var r=n(131),o=n(252);e.exports=function(e,t,n){var i,a,s,l,c,u,f,d,p,h=this.offset,m=this.blockTokenizers,g=this.interruptBlockquote,v=e.now(),y=v.line,b=t.length,_=[],w=[],x=[],k=0;for(;k<b&&(" "===(a=t.charAt(k))||"\t"===a);)k++;if(">"!==t.charAt(k))return;if(n)return!0;k=0;for(;k<b;){for(l=t.indexOf("\n",k),f=k,d=!1,-1===l&&(l=b);k<b&&(" "===(a=t.charAt(k))||"\t"===a);)k++;if(">"===t.charAt(k)?(k++,d=!0," "===t.charAt(k)&&k++):k=f,c=t.slice(k,l),!d&&!r(c)){k=f;break}if(!d&&(s=t.slice(k),o(g,m,this,[e,s,!0])))break;u=f===k?c:t.slice(f,l),x.push(k-f),_.push(u),w.push(c),k=l+1}k=-1,b=x.length,i=e(_.join("\n"));for(;++k<b;)h[y]=(h[y]||0)+x[k],y++;return p=this.enterBlock(),w=this.tokenizeBlock(w.join("\n"),v),p(),i({type:"blockquote",children:w})}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,o,i,a=this.options,s=t.length+1,l=-1,c=e.now(),u="",f="";for(;++l<s;){if(" "!==(r=t.charAt(l))&&"\t"!==r){l--;break}u+=r}i=0;for(;++l<=s;){if("#"!==(r=t.charAt(l))){l--;break}u+=r,i++}if(i>6)return;if(!i||!a.pedantic&&"#"===t.charAt(l+1))return;s=t.length+1,o="";for(;++l<s;){if(" "!==(r=t.charAt(l))&&"\t"!==r){l--;break}o+=r}if(!a.pedantic&&0===o.length&&r&&"\n"!==r)return;if(n)return!0;u+=o,o="",f="";for(;++l<s&&(r=t.charAt(l))&&"\n"!==r;)if(" "===r||"\t"===r||"#"===r){for(;" "===r||"\t"===r;)o+=r,r=t.charAt(++l);for(;"#"===r;)o+=r,r=t.charAt(++l);for(;" "===r||"\t"===r;)o+=r,r=t.charAt(++l);l--}else f+=o+r,o="";return c.column+=u.length,c.offset+=u.length,e(u+=f+o)({type:"heading",depth:i,children:this.tokenizeInline(f,c)})}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,o,i,a,s=-1,l=t.length+1,c="";for(;++s<l&&("\t"===(r=t.charAt(s))||" "===r);)c+=r;if("*"!==r&&"-"!==r&&"_"!==r)return;o=r,c+=r,i=1,a="";for(;++s<l;)if((r=t.charAt(s))===o)i++,c+=a+o,a="";else{if(" "!==r)return i>=3&&(!r||"\n"===r)?(c+=a,!!n||e(c)({type:"thematicBreak"})):void 0;a+=r}}},function(e,t,n){"use strict";var r=n(131),o=n(250),i=n(189),a=n(475),s=n(1031),l=n(252);e.exports=function(e,t,n){var o,a,s,c,u,f,d,p,y,b,_,w,x,k,M,S,O,E,L,T,D,C,P,j,Y=this.options.commonmark,A=this.options.pedantic,I=this.blockTokenizers,R=this.interruptList,$=0,H=t.length,N=null,z=0;for(;$<H;){if("\t"===(c=t.charAt($)))z+=4-z%4;else{if(" "!==c)break;z++}$++}if(z>=4)return;if(c=t.charAt($),o=Y?g:m,!0===h[c])u=c,s=!1;else{for(s=!0,a="";$<H&&(c=t.charAt($),i(c));)a+=c,$++;if(c=t.charAt($),!a||!0!==o[c])return;N=parseInt(a,10),u=c}if(" "!==(c=t.charAt(++$))&&"\t"!==c)return;if(n)return!0;$=0,k=[],M=[],S=[];for(;$<H;){for(f=t.indexOf("\n",$),d=$,p=!1,j=!1,-1===f&&(f=H),P=$+4,z=0;$<H;){if("\t"===(c=t.charAt($)))z+=4-z%4;else{if(" "!==c)break;z++}$++}if(z>=4&&(j=!0),O&&z>=O.indent&&(j=!0),c=t.charAt($),y=null,!j){if(!0===h[c])y=c,$++,z++;else{for(a="";$<H&&(c=t.charAt($),i(c));)a+=c,$++;c=t.charAt($),$++,a&&!0===o[c]&&(y=c,z+=a.length+1)}if(y)if("\t"===(c=t.charAt($)))z+=4-z%4,$++;else if(" "===c){for(P=$+4;$<P&&" "===t.charAt($);)$++,z++;$===P&&" "===t.charAt($)&&($-=3,z-=3)}else"\n"!==c&&""!==c&&(y=null)}if(y){if(!A&&u!==y)break;p=!0}else Y||j||" "!==t.charAt(d)?Y&&O&&(j=z>=O.indent||z>4):j=!0,p=!1,$=d;if(_=t.slice(d,f),b=d===$?_:t.slice($,f),("*"===y||"_"===y||"-"===y)&&I.thematicBreak.call(this,e,_,!0))break;if(w=x,x=!r(b).length,j&&O)O.value=O.value.concat(S,_),M=M.concat(S,_),S=[];else if(p)0!==S.length&&(O.value.push(""),O.trail=S.concat()),O={value:[_],indent:z,trail:[]},k.push(O),M=M.concat(S,_),S=[];else if(x){if(w)break;S.push(_)}else{if(w)break;if(l(R,I,this,[e,_,!0]))break;O.value=O.value.concat(S,_),M=M.concat(S,_),S=[]}$=f+1}D=e(M.join("\n")).reset({type:"list",ordered:s,start:N,loose:null,children:[]}),E=this.enterList(),L=this.enterBlock(),T=!1,$=-1,H=k.length;for(;++$<H;)O=k[$].value.join("\n"),C=e.now(),(O=e(O)(v(this,O,C),D)).loose&&(T=!0),O=k[$].trail.join("\n"),$!==H-1&&(O+="\n"),e(O);return E(),L(),D.loose=T,D};var c=/\n\n(?!\s*$)/,u=/^\[([ \t]|x|X)][ \t]/,f=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,d=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,p=/^( {1,4}|\t)?/gm,h={"*":!0,"+":!0,"-":!0},m={".":!0},g={};function v(e,t,n){var r,o,i=e.offset,a=e.options.pedantic?y:b,s=null;return t=a.apply(null,arguments),e.options.gfm&&(r=t.match(u))&&(o=r[0].length,s="x"===r[1].toLowerCase(),i[n.line]+=o,t=t.slice(o)),{type:"listItem",loose:c.test(t)||"\n"===t.charAt(t.length-1),checked:s,children:e.tokenizeBlock(t,n)}}function y(e,t,n){var r=e.offset,o=n.line;return t=t.replace(d,i),o=n.line,t.replace(p,i);function i(e){return r[o]=(r[o]||0)+e.length,o++,""}}function b(e,t,n){var r,i,l,c,u,d,p,h=e.offset,m=n.line;for(c=(t=t.replace(f,(function(e,t,n,a,s){i=t+n+a,l=s,Number(n)<10&&i.length%2==1&&(n=" "+n);return(r=t+o(" ",n.length)+a)+l}))).split("\n"),(u=s(t,a(r).indent).split("\n"))[0]=l,h[m]=(h[m]||0)+i.length,m++,d=0,p=c.length;++d<p;)h[m]=(h[m]||0)+c[d].length-u[d].length,m++;return u.join("\n")}g["."]=!0,g[")"]=!0},function(e,t,n){"use strict";var r=n(131),o=n(250),i=n(475);e.exports=function(e,t){var n,a,s,l,c=e.split("\n"),u=c.length+1,f=1/0,d=[];c.unshift(o(" ",t)+"!");for(;u--;)if(a=i(c[u]),d[u]=a.stops,0!==r(c[u]).length){if(!a.indent){f=1/0;break}a.indent>0&&a.indent<f&&(f=a.indent)}if(f!==1/0)for(u=c.length;u--;){for(s=d[u],n=f;n&&!(n in s);)n--;l=0!==r(c[u]).length&&f&&n!==f?"\t":"",c[u]=l+c[u].slice(n in s?s[n]+1:0)}return c.shift(),c.join("\n")}},function(e,t,n){"use strict";e.exports=function(e,t,n){var o,i,a,s,l,c=e.now(),u=t.length,f=-1,d="";for(;++f<u;){if(" "!==(a=t.charAt(f))||f>=3){f--;break}d+=a}o="",i="";for(;++f<u;){if("\n"===(a=t.charAt(f))){f--;break}" "===a||"\t"===a?i+=a:(o+=i+a,i="")}if(c.column+=d.length,c.offset+=d.length,d+=o+i,a=t.charAt(++f),s=t.charAt(++f),"\n"!==a||!r[s])return;d+=a,i=s,l=r[s];for(;++f<u;){if((a=t.charAt(f))!==s){if("\n"!==a)return;f--;break}i+=a}if(n)return!0;return e(d+i)({type:"heading",depth:l,children:this.tokenizeInline(o,c)})};var r={};r["="]=1,r["-"]=2},function(e,t,n){"use strict";var r=n(476).openCloseTag;e.exports=function(e,t,n){var o,i,a,s,l,c,u,f=this.options.blocks,d=t.length,p=0,h=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+f.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(r.source+"\\s*$"),/^$/,!1]];for(;p<d&&("\t"===(s=t.charAt(p))||" "===s);)p++;if("<"!==t.charAt(p))return;o=-1===(o=t.indexOf("\n",p+1))?d:o,i=t.slice(p,o),a=-1,l=h.length;for(;++a<l;)if(h[a][0].test(i)){c=h[a];break}if(!c)return;if(n)return c[2];if(p=o,!c[1].test(i))for(;p<d;){if(o=-1===(o=t.indexOf("\n",p+1))?d:o,i=t.slice(p+1,o),c[1].test(i)){i&&(p=o);break}p=o}return u=t.slice(0,p),e(u)({type:"html",value:u})}},function(e,t,n){"use strict";var r=n(68),o=n(253);e.exports=a,a.notInList=!0,a.notInBlock=!0;var i=/^( {4}|\t)?/gm;function a(e,t,n){var a,s,l,c,u,f,d,p,h,m,g,v,y=this.offset;if(this.options.footnotes){for(a=0,s=t.length,l="",c=e.now(),u=c.line;a<s&&(h=t.charAt(a),r(h));)l+=h,a++;if("["===t.charAt(a)&&"^"===t.charAt(a+1)){for(a=(l+="[^").length,d="";a<s&&"]"!==(h=t.charAt(a));)"\\"===h&&(d+=h,a++,h=t.charAt(a)),d+=h,a++;if(d&&"]"===t.charAt(a)&&":"===t.charAt(a+1)){if(n)return!0;for(m=o(d),a=(l+=d+"]:").length;a<s&&("\t"===(h=t.charAt(a))||" "===h);)l+=h,a++;for(c.column+=l.length,c.offset+=l.length,d="",f="",p="";a<s;){if("\n"===(h=t.charAt(a))){for(p=h,a++;a<s&&"\n"===(h=t.charAt(a));)p+=h,a++;for(d+=p,p="";a<s&&" "===(h=t.charAt(a));)p+=h,a++;if(0===p.length)break;d+=p}d&&(f+=d,d=""),f+=h,a++}return l+=f,f=f.replace(i,(function(e){return y[u]=(y[u]||0)+e.length,u++,""})),g=e(l),v=this.enterBlock(),f=this.tokenizeBlock(f,c),v(),g({type:"footnoteDefinition",identifier:m,children:f})}}}}},function(e,t,n){"use strict";e.exports=function(e){return String(e).replace(/\s+/g," ")}},function(e,t,n){"use strict";var r=n(68),o=n(253);e.exports=i,i.notInList=!0,i.notInBlock=!0;function i(e,t,n){for(var r,i,l,c,u,f,d,p,h=this.options.commonmark,m=0,g=t.length,v="";m<g&&(" "===(c=t.charAt(m))||"\t"===c);)v+=c,m++;if("["===(c=t.charAt(m))){for(m++,v+=c,l="";m<g&&"]"!==(c=t.charAt(m));)"\\"===c&&(l+=c,m++,c=t.charAt(m)),l+=c,m++;if(l&&"]"===t.charAt(m)&&":"===t.charAt(m+1)){for(f=l,m=(v+=l+"]:").length,l="";m<g&&("\t"===(c=t.charAt(m))||" "===c||"\n"===c);)v+=c,m++;if(l="",r=v,"<"===(c=t.charAt(m))){for(m++;m<g&&a(c=t.charAt(m));)l+=c,m++;if((c=t.charAt(m))===a.delimiter)v+="<"+l+c,m++;else{if(h)return;m-=l.length+1,l=""}}if(!l){for(;m<g&&s(c=t.charAt(m));)l+=c,m++;v+=l}if(l){for(d=l,l="";m<g&&("\t"===(c=t.charAt(m))||" "===c||"\n"===c);)l+=c,m++;if(u=null,'"'===(c=t.charAt(m))?u='"':"'"===c?u="'":"("===c&&(u=")"),u){if(!l)return;for(m=(v+=l+c).length,l="";m<g&&(c=t.charAt(m))!==u;){if("\n"===c){if(m++,"\n"===(c=t.charAt(m))||c===u)return;l+="\n"}l+=c,m++}if((c=t.charAt(m))!==u)return;i=v,v+=l+c,m++,p=l,l=""}else l="",m=v.length;for(;m<g&&("\t"===(c=t.charAt(m))||" "===c);)v+=c,m++;return(c=t.charAt(m))&&"\n"!==c?void 0:!!n||(r=e(r).test().end,d=this.decode.raw(this.unescape(d),r,{nonTerminated:!1}),p&&(i=e(i).test().end,p=this.decode.raw(this.unescape(p),i)),e(v)({type:"definition",identifier:o(f),title:p||null,url:d}))}}}}function a(e){return">"!==e&&"["!==e&&"]"!==e}function s(e){return"["!==e&&"]"!==e&&!r(e)}a.delimiter=">"},function(e,t,n){"use strict";var r=n(68);e.exports=function(e,t,n){var o,i,a,s,l,c,u,f,d,p,h,m,g,v,y,b,_,w,x,k,M,S,O,E;if(!this.options.gfm)return;o=0,w=0,c=t.length+1,u=[];for(;o<c;){if(S=t.indexOf("\n",o),O=t.indexOf("|",o+1),-1===S&&(S=t.length),-1===O||O>S){if(w<2)return;break}u.push(t.slice(o,S)),w++,o=S+1}s=u.join("\n"),i=u.splice(1,1)[0]||[],o=0,c=i.length,w--,a=!1,h=[];for(;o<c;){if("|"===(d=i.charAt(o))){if(p=null,!1===a){if(!1===E)return}else h.push(a),a=!1;E=!1}else if("-"===d)p=!0,a=a||null;else if(":"===d)a="left"===a?"center":p&&null===a?"right":"left";else if(!r(d))return;o++}!1!==a&&h.push(a);if(h.length<1)return;if(n)return!0;_=-1,k=[],M=e(s).reset({type:"table",align:h,children:k});for(;++_<w;){for(x=u[_],l={type:"tableRow",children:[]},_&&e("\n"),e(x).reset(l,M),c=x.length+1,o=0,f="",m="",g=!0,v=null,y=null;o<c;)if("\t"!==(d=x.charAt(o))&&" "!==d){if(""===d||"|"===d)if(g)e(d);else{if(d&&y){f+=d,o++;continue}!m&&!d||g||(s=m,f.length>1&&(d?(s+=f.slice(0,f.length-1),f=f.charAt(f.length-1)):(s+=f,f="")),b=e.now(),e(s)({type:"tableCell",children:this.tokenizeInline(m,b)},l)),e(f+d),f="",m=""}else if(f&&(m+=f,f=""),m+=d,"\\"===d&&o!==c-2&&(m+=x.charAt(o+1),o++),"`"===d){for(v=1;x.charAt(o+1)===d;)m+=d,o++,v++;y?v>=y&&(y=0):y=v}g=!1,o++}else m?f+=d:e(d),o++;_||e("\n"+i)}return M}},function(e,t,n){"use strict";var r=n(131),o=n(189),i=n(251),a=n(252);e.exports=function(e,t,n){var s,l,c,u,f,d=this.options,p=d.commonmark,h=d.gfm,m=this.blockTokenizers,g=this.interruptParagraph,v=t.indexOf("\n"),y=t.length;for(;v<y;){if(-1===v){v=y;break}if("\n"===t.charAt(v+1))break;if(p){for(u=0,s=v+1;s<y;){if("\t"===(c=t.charAt(s))){u=4;break}if(" "!==c)break;u++,s++}if(u>=4){v=t.indexOf("\n",v+1);continue}}if(l=t.slice(v+1),a(g,m,this,[e,l,!0]))break;if(m.list.call(this,e,l,!0)&&(this.inList||p||h&&!o(r.left(l).charAt(0))))break;if(s=v,-1!==(v=t.indexOf("\n",v+1))&&""===r(t.slice(s,v))){v=s;break}}if(l=t.slice(0,v),""===r(l))return e(l),null;if(n)return!0;return f=e.now(),l=i(l),e(l)({type:"paragraph",children:this.tokenizeInline(l,f)})}},function(e,t,n){"use strict";var r=n(1040);function o(e,t,n){var r,o;if("\\"===t.charAt(0)&&(r=t.charAt(1),-1!==this.escape.indexOf(r)))return!!n||(o="\n"===r?{type:"break"}:{type:"text",value:r},e("\\"+r)(o))}e.exports=o,o.locator=r},function(e,t,n){"use strict";e.exports=function(e,t){return e.indexOf("\\",t)}},function(e,t,n){"use strict";var r=n(68),o=n(249),i=n(477);e.exports=s,s.locator=i,s.notInLink=!0;var a="mailto:".length;function s(e,t,n){var i,s,l,c,u,f,d,p,h,m,g;if("<"===t.charAt(0)){for(this,i="",s=t.length,l=0,c="",f=!1,d="",l++,i="<";l<s&&(u=t.charAt(l),!(r(u)||">"===u||"@"===u||":"===u&&"/"===t.charAt(l+1)));)c+=u,l++;if(c){if(d+=c,c="",d+=u=t.charAt(l),l++,"@"===u)f=!0;else{if(":"!==u||"/"!==t.charAt(l+1))return;d+="/",l++}for(;l<s&&(u=t.charAt(l),!r(u)&&">"!==u);)c+=u,l++;if(u=t.charAt(l),c&&">"===u)return!!n||(h=d+=c,i+=d+u,(p=e.now()).column++,p.offset++,f&&("mailto:"===d.slice(0,a).toLowerCase()?(h=h.substr(a),p.column+=a,p.offset+=a):d="mailto:"+d),m=this.inlineTokenizers,this.inlineTokenizers={text:m.text},g=this.enterLink(),h=this.tokenizeInline(h,p),this.inlineTokenizers=m,g(),e(i)({type:"link",title:null,url:o(d,{nonTerminated:!1}),children:h}))}}}},function(e,t,n){"use strict";var r=n(249),o=n(68),i=n(1043);e.exports=l,l.locator=i,l.notInLink=!0;var a=["http://","https://","mailto:"],s=a.length;function l(e,t,n){var i,l,c,u,f,d,p,h,m,g,v,y;if(this.options.gfm){for(i="",u=-1,h=s;++u<h;)if(d=a[u],(p=t.slice(0,d.length)).toLowerCase()===d){i=p;break}if(i){for(u=i.length,h=t.length,m="",g=0;u<h&&(c=t.charAt(u),!o(c)&&"<"!==c)&&("."!==c&&","!==c&&":"!==c&&";"!==c&&'"'!==c&&"'"!==c&&")"!==c&&"]"!==c||(v=t.charAt(u+1))&&!o(v))&&("("!==c&&"["!==c||g++,")"!==c&&"]"!==c||!(--g<0));)m+=c,u++;if(m){if(l=i+=m,"mailto:"===d){if(-1===(f=m.indexOf("@"))||f===h-1)return;l=l.substr("mailto:".length)}return!!n||(y=this.enterLink(),l=this.tokenizeInline(l,e.now()),y(),e(i)({type:"link",title:null,url:r(i,{nonTerminated:!1}),children:l}))}}}}},function(e,t,n){"use strict";e.exports=function(e,t){var n,o=r.length,i=-1,a=-1;if(!this.options.gfm)return-1;for(;++i<o;)-1!==(n=e.indexOf(r[i],t))&&(n<a||-1===a)&&(a=n);return a};var r=["https://","http://","mailto:"]},function(e,t,n){"use strict";var r=n(473),o=n(477),i=n(476).tag;e.exports=l,l.locator=o;var a=/^<a /i,s=/^<\/a>/i;function l(e,t,n){var o,l,c=t.length;if(!("<"!==t.charAt(0)||c<3)&&(o=t.charAt(1),(r(o)||"?"===o||"!"===o||"/"===o)&&(l=t.match(i))))return!!n||(l=l[0],!this.inLink&&a.test(l)?this.inLink=!0:this.inLink&&s.test(l)&&(this.inLink=!1),e(l)({type:"html",value:l}))}},function(e,t,n){"use strict";var r=n(68),o=n(478);e.exports=l,l.locator=o;var i={}.hasOwnProperty,a={'"':'"',"'":"'"},s={};function l(e,t,n){var o,l,c,u,f,d,p,h,m,g,v,y,b,_,w,x,k,M,S,O="",E=0,L=t.charAt(0),T=this.options.pedantic,D=this.options.commonmark,C=this.options.gfm;if("!"===L&&(m=!0,O=L,L=t.charAt(++E)),"["===L&&(m||!this.inLink)){for(O+=L,w="",E++,y=t.length,_=0,(k=e.now()).column+=E,k.offset+=E;E<y;){if(d=L=t.charAt(E),"`"===L){for(l=1;"`"===t.charAt(E+1);)d+=L,E++,l++;c?l>=c&&(c=0):c=l}else if("\\"===L)E++,d+=t.charAt(E);else if(c&&!C||"["!==L){if((!c||C)&&"]"===L){if(!_){if(!T)for(;E<y&&(L=t.charAt(E+1),r(L));)d+=L,E++;if("("!==t.charAt(E+1))return;d+="(",o=!0,E++;break}_--}}else _++;w+=d,d="",E++}if(o){for(g=w,O+=w+d,E++;E<y&&(L=t.charAt(E),r(L));)O+=L,E++;if(L=t.charAt(E),h=D?s:a,w="",u=O,"<"===L){for(E++,u+="<";E<y&&">"!==(L=t.charAt(E));){if(D&&"\n"===L)return;w+=L,E++}if(">"!==t.charAt(E))return;O+="<"+w+">",x=w,E++}else{for(L=null,d="";E<y&&(L=t.charAt(E),!d||!i.call(h,L));){if(r(L)){if(!T)break;d+=L}else{if("("===L)_++;else if(")"===L){if(0===_)break;_--}w+=d,d="","\\"===L&&(w+="\\",L=t.charAt(++E)),w+=L}E++}x=w,E=(O+=w).length}for(w="";E<y&&(L=t.charAt(E),r(L));)w+=L,E++;if(L=t.charAt(E),O+=w,w&&i.call(h,L))if(E++,O+=L,w="",v=h[L],f=O,D){for(;E<y&&(L=t.charAt(E))!==v;)"\\"===L&&(w+="\\",L=t.charAt(++E)),E++,w+=L;if((L=t.charAt(E))!==v)return;for(b=w,O+=w+L,E++;E<y&&(L=t.charAt(E),r(L));)O+=L,E++}else for(d="";E<y;){if((L=t.charAt(E))===v)p&&(w+=v+d,d=""),p=!0;else if(p){if(")"===L){O+=w+v+d,b=w;break}r(L)?d+=L:(w+=v+d+L,d="",p=!1)}else w+=L;E++}if(")"===t.charAt(E))return!!n||(O+=")",x=this.decode.raw(this.unescape(x),e(u).test().end,{nonTerminated:!1}),b&&(f=e(f).test().end,b=this.decode.raw(this.unescape(b),f)),S={type:m?"image":"link",title:b||null,url:x},m?S.alt=this.decode.raw(this.unescape(g),k)||null:(M=this.enterLink(),S.children=this.tokenizeInline(g,k),M()),e(O)(S))}}}s['"']='"',s["'"]="'",s["("]=")"},function(e,t,n){"use strict";var r=n(68),o=n(478),i=n(253);e.exports=a,a.locator=o;function a(e,t,n){var o,a,s,l,c,u,f,d,p=t.charAt(0),h=0,m=t.length,g="",v="",y="link",b="shortcut";if("!"===p&&(y="image",v=p,p=t.charAt(++h)),"["===p){if(h++,v+=p,u="",this.options.footnotes&&"^"===t.charAt(h)){if("image"===y)return;v+="^",h++,y="footnote"}for(d=0;h<m;){if("["===(p=t.charAt(h)))f=!0,d++;else if("]"===p){if(!d)break;d--}"\\"===p&&(u+="\\",p=t.charAt(++h)),u+=p,h++}if(g=u,o=u,"]"===(p=t.charAt(h))){for(h++,g+=p,u="";h<m&&(p=t.charAt(h),r(p));)u+=p,h++;if(p=t.charAt(h),"footnote"!==y&&"["===p){for(a="",u+=p,h++;h<m&&"["!==(p=t.charAt(h))&&"]"!==p;)"\\"===p&&(a+="\\",p=t.charAt(++h)),a+=p,h++;"]"===(p=t.charAt(h))?(b=a?"full":"collapsed",u+=a+p,h++):a="",g+=u,u=""}else{if(!o)return;a=o}if("full"===b||!f)return g=v+g,"link"===y&&this.inLink?null:!!n||("footnote"===y&&-1!==o.indexOf(" ")?e(g)({type:"footnote",children:this.tokenizeInline(o,e.now())}):((s=e.now()).column+=v.length,s.offset+=v.length,l={type:y+"Reference",identifier:i(a="full"===b?a:o)},"link"!==y&&"image"!==y||(l.referenceType=b),"link"===y?(c=this.enterLink(),l.children=this.tokenizeInline(o,s),c()):"image"===y&&(l.alt=this.decode.raw(this.unescape(o),s)||null),e(g)(l)))}}}},function(e,t,n){"use strict";var r=n(131),o=n(68),i=n(1048);e.exports=a,a.locator=i;function a(e,t,n){var i,a,s,l,c,u,f,d=0,p=t.charAt(d);if(!("*"!==p&&"_"!==p||t.charAt(++d)!==p||(a=this.options.pedantic,c=(s=p)+s,u=t.length,d++,l="",p="",a&&o(t.charAt(d)))))for(;d<u;){if(f=p,!((p=t.charAt(d))!==s||t.charAt(d+1)!==s||a&&o(f))&&(p=t.charAt(d+2))!==s){if(!r(l))return;return!!n||((i=e.now()).column+=2,i.offset+=2,e(c+l+c)({type:"strong",children:this.tokenizeInline(l,i)}))}a||"\\"!==p||(l+=p,p=t.charAt(++d)),l+=p,d++}}},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.indexOf("**",t),r=e.indexOf("__",t);if(-1===r)return n;if(-1===n)return r;return r<n?r:n}},function(e,t,n){"use strict";var r=n(131),o=n(1050),i=n(68),a=n(1051);e.exports=s,s.locator=a;function s(e,t,n){var a,s,l,c,u,f,d,p=0,h=t.charAt(p);if(!("*"!==h&&"_"!==h||(s=this.options.pedantic,u=h,l=h,f=t.length,p++,c="",h="",s&&i(t.charAt(p)))))for(;p<f;){if(d=h,!((h=t.charAt(p))!==l||s&&i(d))){if((h=t.charAt(++p))!==l){if(!r(c)||d===l)return;if(!s&&"_"===l&&o(h)){c+=l;continue}return!!n||((a=e.now()).column++,a.offset++,e(u+c+l)({type:"emphasis",children:this.tokenizeInline(c,a)}))}c+=l}s||"\\"!==h||(c+=h,h=t.charAt(++p)),c+=h,p++}}},function(e,t,n){"use strict";e.exports=function(e){return o.test("number"==typeof e?r(e):e.charAt(0))};var r=String.fromCharCode,o=/\w/},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.indexOf("*",t),r=e.indexOf("_",t);if(-1===r)return n;if(-1===n)return r;return r<n?r:n}},function(e,t,n){"use strict";var r=n(68),o=n(1053);e.exports=i,i.locator=o;function i(e,t,n){var o,i,a,s="",l="",c="",u="";if(this.options.gfm&&"~"===t.charAt(0)&&"~"===t.charAt(1)&&!r(t.charAt(2)))for(o=1,i=t.length,(a=e.now()).column+=2,a.offset+=2;++o<i;){if(!("~"!==(s=t.charAt(o))||"~"!==l||c&&r(c)))return!!n||e("~~"+u+"~~")({type:"delete",children:this.tokenizeInline(u,a)});u+=l,c=l,l=s}}},function(e,t,n){"use strict";e.exports=function(e,t){return e.indexOf("~~",t)}},function(e,t,n){"use strict";var r=n(68),o=n(1055);e.exports=i,i.locator=o;function i(e,t,n){for(var o,i,a,s,l,c,u,f,d=t.length,p=0,h="",m="";p<d&&"`"===t.charAt(p);)h+="`",p++;if(h){for(l=h,s=p,h="",f=t.charAt(p),a=0;p<d;){if(c=f,f=t.charAt(p+1),"`"===c?(a++,m+=c):(a=0,h+=c),a&&"`"!==f){if(a===s){l+=h+m,u=!0;break}h+=m,m=""}p++}if(!u){if(s%2!=0)return;h=""}if(n)return!0;for(o="",i="",d=h.length,p=-1;++p<d;)c=h.charAt(p),r(c)?i+=c:(i&&(o&&(o+=i),i=""),o+=c);return e(l)({type:"inlineCode",value:o})}}},function(e,t,n){"use strict";e.exports=function(e,t){return e.indexOf("`",t)}},function(e,t,n){"use strict";var r=n(1057);e.exports=o,o.locator=r;function o(e,t,n){for(var r,o=t.length,i=-1,a="";++i<o;){if("\n"===(r=t.charAt(i))){if(i<2)return;return!!n||e(a+=r)({type:"break"})}if(" "!==r)return;a+=r}}},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.indexOf("\n",t);for(;n>t&&" "===e.charAt(n-1);)n--;return n}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,o,i,a,s,l,c,u,f,d;if(n)return!0;r=this.inlineMethods,a=r.length,o=this.inlineTokenizers,i=-1,f=t.length;for(;++i<a;)"text"!==(u=r[i])&&o[u]&&((c=o[u].locator)||e.file.fail("Missing locator: `"+u+"`"),-1!==(l=c.call(this,t,1))&&l<f&&(f=l));s=t.slice(0,f),d=e.now(),this.decode(s,d,(function(t,n,r){e(r||t)({type:"text",value:t})}))}},function(e,t,n){var r=n(1060);e.exports=function(){return function(e){return r(e,"list",(function(e,t){var n,r,o=0;for(n=0,r=t.length;n<r;n++)"list"===t[n].type&&(o+=1);for(n=0,r=e.children.length;n<r;n++){var i=e.children[n];i.index=n,i.ordered=e.ordered}e.depth=o})),e}}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r=[];"function"==typeof t&&(n=t,t=null);function o(e){var i;return t&&e.type!==t||(i=n(e,r.concat())),e.children&&!1!==i?function(e,t){var n,i=e.length,a=-1;r.push(t);for(;++a<i;)if((n=e[a])&&!1===o(n))return!1;return r.pop(),!0}(e.children,e):i}o(e)}},function(e,t,n){"use strict";var r=n(190),o=/^<(area|base|br|col|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\s*\/?>$/i,i=/^<(\/?)([a-z]+)\s*>$/;e.exports=function(e){var t,n;return r(e,"html",(function(e,r,a){n!==a&&(t=[],n=a);var s=function(e){var t=e.value.match(o);return!!t&&t[1]}(e);if(s)return a.children.splice(r,1,{type:"virtualHtml",tag:s,position:e.position}),!0;var l=function(e,t){var n=e.value.match(i);return!!n&&{tag:n[2],opening:!n[1],node:e}}(e);if(!l)return!0;var c=function(e,t){var n=e.length;for(;n--;)if(e[n].tag===t)return e.splice(n,1)[0];return!1}(t,l.tag);return c?a.children.splice(r,0,function(e,t,n){var r=n.children.indexOf(e.node),o=n.children.indexOf(t.node),i=n.children.splice(r,o-r+1).slice(1,-1);return{type:"virtualHtml",children:i,tag:e.tag,position:{start:e.node.position.start,end:t.node.position.end,indent:[]}}}(l,c,a)):l.opening||t.push(l),!0}),!0),e}},function(e,t,n){"use strict";var r=n(190);function o(e,t,n,r){if("remove"===r)n.children.splice(t,1);else if("unwrap"===r){var o=[t,1];e.children&&(o=o.concat(e.children)),Array.prototype.splice.apply(n.children,o)}}t.ofType=function(e,t){return function(t){return e.forEach((function(e){return r(t,e,n,!0)})),t};function n(e,n,r){r&&o(e,n,r,t)}},t.ifNotMatch=function(e,t){return function(e){return r(e,n,!0),e};function n(n,r,i){i&&!e(n,r,i)&&o(n,r,i,t)}}},function(e,t,n){"use strict";var r=n(1),o=n(83),i=n(255),a={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,c=t.renderers[e.type];void 0===e.position&&(e.position=n.node&&n.node.position||a);var u=e.position.start,f=[e.type,u.line,u.column,o].join("-");if(!i.isValidElementType(c))throw new Error("Renderer for type `".concat(e.type,"` not defined or is not renderable"));var d=l(e,f,t,c,n,o);return r.createElement(c,d,d.children||p()||void 0);function p(){return e.children&&e.children.map((function(n,r){return s(n,t,{node:e,props:d},r)}))}}function l(e,t,n,i,a,l){var u,f={key:t},d="string"==typeof i;n.sourcePos&&e.position&&(f["data-sourcepos"]=[(u=e.position).start.line,":",u.start.column,"-",u.end.line,":",u.end.column].map(String).join("")),n.rawSourcePos&&!d&&(f.sourcePosition=e.position),n.includeNodeIndex&&a.node&&a.node.children&&!d&&(f.index=a.node.children.indexOf(e),f.parentChildCount=a.node.children.length);var p=null!==e.identifier&&void 0!==e.identifier?n.definitions[e.identifier]||{}:null;switch(e.type){case"root":c(f,{className:n.className});break;case"text":f.nodeKey=t,f.children=e.value;break;case"heading":f.level=e.depth;break;case"list":f.start=e.start,f.ordered=e.ordered,f.tight=!e.loose,f.depth=e.depth;break;case"listItem":f.checked=e.checked,f.tight=!e.loose,f.ordered=e.ordered,f.index=e.index,f.children=function(e,t){if(e.loose)return e.children;if(t.node&&e.index>0&&t.node.children[e.index-1].loose)return e.children;return function(e){return e.children.reduce((function(e,t){return e.concat("paragraph"===t.type?t.children||[]:[t])}),[])}(e)}(e,a).map((function(t,r){return s(t,n,{node:e,props:f},r)}));break;case"definition":c(f,{identifier:e.identifier,title:e.title,url:e.url});break;case"code":c(f,{language:e.lang&&e.lang.split(/\s/,1)[0]});break;case"inlineCode":f.children=e.value,f.inline=!0;break;case"link":c(f,{title:e.title||void 0,target:"function"==typeof n.linkTarget?n.linkTarget(e.url,e.children,e.title):n.linkTarget,href:n.transformLinkUri?n.transformLinkUri(e.url,e.children,e.title):e.url});break;case"image":c(f,{alt:e.alt||void 0,title:e.title||void 0,src:n.transformImageUri?n.transformImageUri(e.url,e.children,e.title,e.alt):e.url});break;case"linkReference":c(f,o(p,{href:n.transformLinkUri?n.transformLinkUri(p.href):p.href}));break;case"imageReference":c(f,{src:n.transformImageUri&&p.href?n.transformImageUri(p.href,e.children,p.title,e.alt):p.href,title:p.title||void 0,alt:e.alt||void 0});break;case"table":case"tableHead":case"tableBody":f.columnAlignment=e.align;break;case"tableRow":f.isHeader="tableHead"===a.node.type,f.columnAlignment=a.props.columnAlignment;break;case"tableCell":c(f,{isHeader:a.props.isHeader,align:a.props.columnAlignment[l]});break;case"virtualHtml":f.tag=e.tag;break;case"html":f.isBlock=e.position.start.line!==e.position.end.line,f.escapeHtml=n.escapeHtml,f.skipHtml=n.skipHtml;break;case"parsedHtml":var h;e.children&&(h=e.children.map((function(t,r){return s(t,n,{node:e,props:f},r)}))),f.escapeHtml=n.escapeHtml,f.skipHtml=n.skipHtml,f.element=function(e,t){var n=e.element;if(Array.isArray(n)){var o=r.Fragment||"div";return r.createElement(o,null,n)}if(n.props.children||t){var i=r.Children.toArray(n.props.children).concat(t);return r.cloneElement(n,null,i)}return r.cloneElement(n,null)}(e,h);break;default:c(f,o(e,{type:void 0,position:void 0,children:void 0}))}return!d&&e.value&&(f.value=e.value),f}function c(e,t){for(var n in t)void 0!==t[n]&&(e[n]=t[n])}e.exports=s},function(e,t,n){"use strict";var r=n(190);function o(e){var t=e.children;e.children=[{type:"tableHead",align:e.align,children:[t[0]],position:t[0].position}],t.length>1&&e.children.push({type:"tableBody",align:e.align,children:t.slice(1),position:{start:t[1].position.start,end:t[t.length-1].position.end}})}e.exports=function(e){return r(e,"table",o),e}},function(e,t,n){"use strict";e.exports=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(t.children||[]).reduce((function(t,n){return"definition"===n.type&&(t[n.identifier]={href:n.url,title:n.title}),e(n,t)}),n)}},function(e,t,n){"use strict";var r=["http","https","mailto","tel"];e.exports=function(e){var t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;var o=t.indexOf(":");if(-1===o)return t;for(var i=r.length,a=-1;++a<i;){var s=r[a];if(o===s.length&&t.slice(0,s.length).toLowerCase()===s)return t}return-1!==(a=t.indexOf("?"))&&o>a||-1!==(a=t.indexOf("#"))&&o>a?t:"javascript:void(0)"}},function(e,t,n){"use strict";var r=n(83),o=n(1),i=parseInt((o.version||"16").slice(0,2),10)>=16,a=o.createElement;function s(e,t){return a(e,l(t),t.children)}function l(e){return e["data-sourcepos"]?{"data-sourcepos":e["data-sourcepos"]}:{}}e.exports={break:"br",paragraph:"p",emphasis:"em",strong:"strong",thematicBreak:"hr",blockquote:"blockquote",delete:"del",link:"a",image:"img",linkReference:"a",imageReference:"img",table:s.bind(null,"table"),tableHead:s.bind(null,"thead"),tableBody:s.bind(null,"tbody"),tableRow:s.bind(null,"tr"),tableCell:function(e){var t=e.align?{textAlign:e.align}:void 0,n=l(e);return a(e.isHeader?"th":"td",t?r({style:t},n):n,e.children)},root:function(e){var t=!e.className,n=t&&o.Fragment||"div";return a(n,t?null:e,e.children)},text:function(e){return i?e.children:a("span",null,e.children)},list:function(e){var t=l(e);null!==e.start&&1!==e.start&&void 0!==e.start&&(t.start=e.start.toString());return a(e.ordered?"ol":"ul",t,e.children)},listItem:function(e){var t=null;if(null!==e.checked&&void 0!==e.checked){var n=e.checked;t=a("input",{type:"checkbox",checked:n,readOnly:!0})}return a("li",l(e),t,e.children)},definition:function(){return null},heading:function(e){return a("h".concat(e.level),l(e),e.children)},inlineCode:function(e){return a("code",l(e),e.children)},code:function(e){var t=e.language&&"language-".concat(e.language),n=a("code",t?{className:t}:null,e.value);return a("pre",l(e),n)},html:function(e){if(e.skipHtml)return null;var t=e.isBlock?"div":"span";if(e.escapeHtml){var n=o.Fragment||t;return a(n,null,e.value)}var r={dangerouslySetInnerHTML:{__html:e.value}};return a(t,r)},virtualHtml:function(e){return a(e.tag,l(e),e.children)},parsedHtml:function(e){return e["data-sourcepos"]?o.cloneElement(e.element,{"data-sourcepos":e["data-sourcepos"]}):e.element}}},function(e,t,n){"use strict";t.HtmlParser="undefined"==typeof Symbol?"__RMD_HTML_PARSER__":Symbol("__RMD_HTML_PARSER__")},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,'.inline_bc2,\n .inline_bc2 p {\n display: inline;\n }\n\n.markdown_57a {\n}\n\n.markdown_57a ol,\n .markdown_57a ul {\n margin: 0;\n }\n\n.markdown_57a p,\n .markdown_57a blockquote,\n .markdown_57a pre {\n margin: 0\n }\n\n.markdown_57a p:not(:first-child), .markdown_57a blockquote:not(:first-child), .markdown_57a pre:not(:first-child) {\n margin-top: 10px;\n }\n\n.markdown_57a li {\n margin-top: 10px;\n }\n\n.markdown_57a li p:not(:first-child), .markdown_57a li blockquote:not(:first-child), .markdown_57a li pre:not(:first-child) {\n margin-top: 6px;\n }\n\n.markdown_57a hr {\n margin: 10px 0;\n\n border: none;\n border-bottom: 1px solid #dfe5eb;\n border-bottom: 1px solid var(--ring-line-color);\n }\n\n.markdown_57a blockquote {\n padding: 0 0 0 16px;\n\n color: #737577;\n\n color: var(--ring-secondary-color);\n box-shadow: inset 2px 0 0 #dfe5eb;\n box-shadow: inset 2px 0 0 var(--ring-line-color);\n\n font-size: 12px;\n line-height: 18px;\n }\n\n.markdown_57a ul {\n padding: 0 0 0 16px;\n }\n\n.markdown_57a ol {\n padding: 0;\n\n list-style-position: inside;\n font-feature-settings: "tnum";\n font-variant-numeric: tabular-nums;\n }\n\n.markdown_57a ul {\n list-style-type: none;\n }\n',""]),t.locals={unit:""+o.locals.unit,"p-margin":"10px",inline:"inline_bc2",markdown:"markdown_57a "+o.locals.font},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".tag_923 {\n\n position: relative;\n z-index: 1;\n\n display: inline-flex;\n\n box-sizing: border-box;\n max-width: 100%;\n height: 20px;\n\n margin-bottom: 1px;\n padding: 0 8px;\n\n vertical-align: top;\n\n color: #1f2326;\n\n color: var(--ring-text-color);\n\n border: none;\n border-radius: 3px;\n border-radius: var(--ring-border-radius);\n background-color: #e6ecf2;\n background-color: var(--ring-tag-background-color);\n\n font-size: 12px;\n line-height: 20px;\n line-height: var(--ring-line-height);\n}\n\n.withRemove_e58 {\n padding-right: 22px;\n}\n\n.container_34c {\n position: relative;\n\n display: inline-block;\n\n max-width: calc(100% - 4px);\n\n margin-right: 4px;\n\n white-space: nowrap;\n}\n\n.focused_957,\n.tag_923:focus {\n position: relative;\n\n outline: none;\n box-shadow: 0 0 0 2px #80c6ff;\n box-shadow: 0 0 0 2px var(--ring-border-hover-color);\n}\n\n.tagAngled_9c0 {\n margin-bottom: -5px !important; /* it needs to fix vertical alignment broken by \"overflow: hidden\". Remove this class, when IE11 will be deprecated */\n margin-left: 8px;\n padding-left: 4px;\n\n border-top-left-radius: 0;\n border-bottom-left-radius: 0\n}\n\n.tagAngled_9c0::before {\n position: absolute;\n z-index: -1;\n top: 0;\n left: 0;\n\n box-sizing: border-box;\n width: 12px;\n height: 12px;\n\n content: '';\n transform: scaleY(1.177) rotate(45deg);\n transform-origin: 0 0;\n\n border: none;\n\n background-color: #e6ecf2;\n\n background-color: var(--ring-tag-background-color);\n }\n\n.tagAngled_9c0.focused_957,\n .tagAngled_9c0:focus {\n box-shadow: 0 0 0 1px #80c6ff inset, 0 0 0 1px #80c6ff;\n box-shadow: 0 0 0 1px var(--ring-border-hover-color) inset, 0 0 0 1px var(--ring-border-hover-color);\n }\n\n.tagAngled_9c0:focus::before {\n box-shadow:\n 1px -1px #80c6ff inset,\n -0.8px 0.8px 0 0.5px #80c6ff;\n box-shadow:\n 1px -1px var(--ring-border-hover-color) inset,\n -0.8px 0.8px 0 0.5px var(--ring-border-hover-color);\n }\n\n.content_be9 {\n}\n\n.disabled_3cd {\n opacity: 0.5;\n}\n\n.remove_d17 {\n position: absolute;\n z-index: 1;\n top: -1px;\n right: 0;\n\n padding: 0 4px;\n}\n\n.removeIcon_800.removeIcon_800 {\n color: #999;\n color: var(--ring-icon-secondary-color);\n}\n\n.icon_aae {\n margin-right: 6px;\n\n color: #999;\n\n color: var(--ring-icon-secondary-color)\n}\n\n.icon_aae svg {\n vertical-align: -3px;\n }\n\n.avatarContainer_e30 {\n display: inline-block;\n overflow: hidden;\n\n box-sizing: border-box;\n width: 20px;\n height: 20px;\n margin-right: 4px;\n margin-left: -8px;\n\n vertical-align: top;\n\n border-top-left-radius: 3px;\n\n border-top-left-radius: var(--ring-border-radius);\n border-bottom-left-radius: 3px;\n border-bottom-left-radius: var(--ring-border-radius);\n}\n\n.customIcon_d24 {\n max-width: 16px;\n max-height: 16px;\n\n margin-right: 4px;\n\n vertical-align: bottom;\n}\n\n.avatarIcon_236 {\n width: 20px;\n\n margin-right: -4px;\n\n -o-object-fit: contain;\n\n object-fit: contain;\n -o-object-position: center;\n object-position: center;\n}\n",""]),t.locals={unit:""+o.locals.unit,resetButton:""+o.locals.resetButton,"background-color":"var(--ring-tag-background-color)","max-height":"20px",tag:"tag_923 "+o.locals.resetButton,withRemove:"withRemove_e58",container:"container_34c",focused:"focused_957",tagAngled:"tagAngled_9c0",content:"content_be9 "+o.locals.ellipsis,disabled:"disabled_3cd",remove:"remove_d17",removeIcon:"removeIcon_800",icon:"icon_aae",avatarContainer:"avatarContainer_e30",customIcon:"customIcon_d24",avatarIcon:"avatarIcon_236"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.select_241:hover .value_fbb,\n.select_241:hover .icons_ae9 {\n transition: none;\n\n color: #008eff;\n\n color: var(--ring-main-color);\n}}\n\n.select_241 {\n position: relative;\n\n display: inline-block;\n\n white-space: nowrap;\n\n color: #1f2326;\n\n color: var(--ring-text-color);\n}\n\n.toolbar_0d4 {\n border-top: 1px solid #dfe5eb;\n border-top: 1px solid var(--ring-line-color);\n}\n\n.button_e54 {\n width: 100%;\n height: 32px;\n margin: 8px 0;\n padding: 0 16px;\n\n text-align: left\n}\n\n[dir=rtl] .button_e54 {\n text-align: right;\n direction: ltr\n}\n\n.icons_ae9 {\n position: absolute;\n top: -2px;\n right: 0;\n\n transition: color 0.3s ease-out;\n\n transition: color var(--ring-ease);\n\n color: #999;\n\n color: var(--ring-icon-secondary-color);\n\n line-height: 32px\n}\n\n.icons_ae9 .ring-loader_inline {\n top: 2px;\n\n margin-right: 2px;\n }\n\n.inputMode_774 .icons_ae9 {\n top: 12px;\n\n font-size: 13px;\n\n font-size: var(--ring-font-size)\n}\n\n.buttonMode_ebe .icons_ae9 {\n top: -4px;\n right: 8px\n}\n\n.selectedIcon_b2d {\n\n display: inline-block;\n\n width: 16px;\n height: 16px;\n margin: 0 4px;\n\n background-repeat: no-repeat;\n background-position: center;\n\n background-size: contain;\n}\n\n.clearIcon_f95 {\n padding: 0 3px;\n\n vertical-align: -1px;\n}\n\n.clearIcon_f95.clearIcon_f95 > span > span {\n color: #999;\n color: var(--ring-icon-secondary-color);\n}\n\n.sizeS_b8c {\n width: 96px;\n}\n\n.sizeM_ed8 {\n width: 240px;\n}\n\n.sizeL_152 {\n width: 400px;\n}\n\n.sizeFULL_199 {\n width: 100%;\n}\n\n.sizeAUTO_c49 {\n max-width: 100%;\n}\n\n.buttonMode_ebe,\n.materialMode_820 {\n position: relative;\n\n cursor: pointer;\n}\n\n.value_fbb {\n\n display: inline-block;\n\n box-sizing: border-box;\n width: 100%;\n height: 33px;\n padding: 0 0 3px;\n\n cursor: pointer;\n transition: color 0.3s ease-out, border-color 0.3s ease-out;\n transition: color var(--ring-ease), border-color var(--ring-ease);\n text-align: left;\n vertical-align: top;\n\n color: #1f2326;\n\n color: var(--ring-text-color);\n\n border: none;\n border-bottom: 1px solid #b8d1e5;\n border-bottom: 1px solid var(--ring-borders-color);\n outline: none;\n background: transparent\n}\n\n.value_fbb:focus {\n border-color: #008eff;\n border-color: var(--ring-main-color);\n }\n\n.value_fbb.open_5de,\n .value_fbb:active {\n border-color: transparent;\n }\n\n.value_fbb::-moz-focus-inner {\n padding: 0;\n\n border: 0;\n outline: 0;\n }\n\n.buttonValue_96e {\n\n width: 100%;\n\n text-align: left;\n vertical-align: -8px;\n}\n\n.buttonValueOpen_16a {\n border-color: #d4edff;\n border-color: var(--ring-selected-background-color);\n background-color: #d4edff;\n background-color: var(--ring-selected-background-color)\n}\n\n.buttonValueOpen_16a .icons_ae9 {\n transition: none;\n\n color: #008eff;\n\n color: var(--ring-main-color);\n }\n\n.label_402 {\n position: relative;\n\n color: #737577;\n\n color: var(--ring-secondary-color);\n}\n\n.value_fbb:focus,\n.value_fbb:focus + .icons_ae9,\n.open_5de,\n.open_5de + .icons_ae9 {\n transition: none;\n\n color: #008eff;\n\n color: var(--ring-main-color);\n}\n\n.disabled_284 {\n pointer-events: none;\n\n color: #999;\n\n color: var(--ring-disabled-color)\n}\n\n.disabled_284 .value_fbb {\n color: #999;\n color: var(--ring-disabled-color);\n border-bottom-style: dashed;\n }\n\n.selectedLabel_188 {\n position: absolute;\n top: -12px;\n\n color: #737577;\n\n color: var(--ring-secondary-color);\n\n font-size: 12px;\n\n font-size: var(--ring-font-size-smaller);\n line-height: 16px;\n line-height: var(--ring-line-height-lowest);\n}\n\n.avatar_53c {\n margin-right: 4px;\n\n vertical-align: -5px;\n}\n\n.popup_dec {\n min-width: 240px;\n max-width: 320px;\n}\n\n.chevron_04e.chevron_04e {\n padding: 0;\n\n transition: none;\n\n color: inherit;\n}\n\n.chevronIcon_3f6.chevronIcon_3f6 {\n transition: none;\n\n color: inherit;\n}\n",""]),t.locals={unit:""+o.locals.unit,resetButton:""+o.locals.resetButton,select:"select_241",value:"value_fbb "+o.locals.ellipsis+" "+o.locals.font,icons:"icons_ae9",toolbar:"toolbar_0d4",button:"button_e54",inputMode:"inputMode_774",buttonMode:"buttonMode_ebe",selectedIcon:"selectedIcon_b2d "+o.locals.resetButton,clearIcon:"clearIcon_f95",sizeS:"sizeS_b8c",sizeM:"sizeM_ed8",sizeL:"sizeL_152",sizeFULL:"sizeFULL_199",sizeAUTO:"sizeAUTO_c49",materialMode:"materialMode_820",open:"open_5de",buttonValue:"buttonValue_96e "+o.locals.ellipsis,buttonValueOpen:"buttonValueOpen_16a",label:"label_402",disabled:"disabled_284",selectedLabel:"selectedLabel_188",avatar:"avatar_53c",popup:"popup_dec",chevron:"chevron_04e",chevronIcon:"chevronIcon_3f6"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".pager_343 {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.links_60b {\n margin-bottom: 16px;\n}\n\n.link_421 {\n display: inline-block;\n\n margin-right: 16px;\n}\n\n.linkDisabled_a16 {\n color: #737577;\n color: var(--ring-secondary-color);\n}\n",""]),t.locals={unit:""+o.locals.unit,pager:"pager_343",links:"links_60b",link:"link_421",linkDisabled:"linkDisabled_a16"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".light_0a4.progressBar_1d5 {\n background-color: rgba(0, 0, 0, 0.2);\n }\n\n.dark_9a6.progressBar_1d5 {\n background-color: rgba(255, 255, 255, 0.3);\n }\n\n.dark_9a6 .line_43a::after {\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0));\n }\n\n.progressBar_1d5 {\n position: relative;\n z-index: 1; /* Required to see border-radius on animated background */\n\n overflow: hidden;\n\n max-width: 288px;\n height: 4px;\n margin-bottom: 4px;\n\n border-radius: 2px;\n}\n\n.globalMode_5a5 {\n position: absolute;\n top: 0;\n\n width: 100%;\n max-width: none;\n\n background: transparent;\n}\n\n.line_43a {\n float: left;\n\n width: 0;\n height: 100%;\n\n transition: width 0.6s ease;\n text-align: center;\n\n color: #fff;\n\n color: var(--ring-content-background-color);\n border-radius: 2px;\n background-color: #008eff;\n background-color: var(--ring-main-color);\n\n line-height: 4px\n}\n\n.line_43a::after {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n content: '';\n -webkit-animation: progress-bar_10a 2500ms linear infinite;\n animation: progress-bar_10a 2500ms linear infinite;\n\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0));\n background-repeat: no-repeat;\n }\n\n@-webkit-keyframes progress-bar_10a {\n from {\n transform: translateX(-100%);\n }\n\n to {\n transform: translateX(100%);\n }\n}\n\n@keyframes progress-bar_10a {\n from {\n transform: translateX(-100%);\n }\n\n to {\n transform: translateX(100%);\n }\n}\n",""]),t.locals={unit:""+o.locals.unit,light:"light_0a4",progressBar:"progressBar_1d5",dark:"dark_9a6",line:"line_43a",globalMode:"globalMode_5a5","progress-bar":"progress-bar_10a"},e.exports=t},function(e,t,n){var r=n(31),o=n(40).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".light_ea9.queryAssist_887 {\n height: 24px;\n\n background: #fff;\n\n background: var(--ring-content-background-color);\n }\n\n.light_ea9 .input_b92 {\n height: 22px;\n\n box-shadow: 0 0 0 1px #b8d1e5;\n\n box-shadow: 0 0 0 1px var(--ring-borders-color)\n\n /* stylelint-disable-next-line selector-max-specificity */\n }\n\n.light_ea9 .input_b92:not([disabled]):active,\n \n .light_ea9 .input_b92:not([disabled]):focus {\n border-color: transparent;\n box-shadow: 0 0 0 1px #008eff;\n box-shadow: 0 0 0 1px var(--ring-main-color);\n }\n\n.light_ea9 .placeholder_959 {\n color: #737577;\n color: var(--ring-secondary-color);\n }\n\n.light_ea9 .letter-text_38e {\n color: #cc8b00;\n color: var(--ring-warning-color);\n }\n\n.light_ea9 .letterDefault_d37,\n .light_ea9 .letter-field-name_1b6 {\n color: #1f2326;\n color: var(--ring-text-color);\n }\n\n.light_ea9 .letter-field-value_770 {\n color: #0f5b99;\n color: var(--ring-link-color);\n }\n\n.light_ea9 .letter-operator_368 {\n color: #737577;\n color: var(--ring-secondary-color);\n }\n\n.light_ea9 .letter-error_04a {\n padding-bottom: 1px;\n\n border-bottom: 1px solid #db5860;\n\n border-bottom: 1px solid var(--ring-icon-error-color);\n }\n\n.light_ea9 .iconInner_08a {\n color: #999;\n color: var(--ring-icon-secondary-color);\n }\n\n.light_ea9 .highlight_462 {\n font-weight: 600;\n }\n\n.light_ea9 .service_5cf {\n color: #737577;\n color: var(--ring-secondary-color);\n }\n\n.dark_c04.queryAssist_887 {\n height: 32px;\n\n font-size: 16px;\n }\n\n.dark_c04 .input_b92 {\n top: 0;\n\n height: 30px;\n\n color: #669ecc;\n\n color: var(--ring-search-color);\n\n border-top-width: 5px;\n background: #002a4d;\n background: var(--ring-dark-selected-background-color)\n }\n\n.dark_c04 .input_b92:active,\n .dark_c04 .input_b92:focus {\n border-color: #000;\n border-color: var(--ring-navigation-background-color);\n\n background-color: #000;\n\n background-color: var(--ring-navigation-background-color);\n }\n\n.dark_c04 .placeholder_959 {\n top: 6px;\n\n color: #b8d1e5;\n\n color: var(--ring-icon-color)\n }\n\n.dark_c04 .placeholder_959 :-ms-input-placeholder, :root .dark_c04 .placeholder_959 {\n top: 7px\n }\n\n@supports (-ms-ime-align:auto) {\n .dark_c04 .placeholder_959 {\n top: 7px;\n }\n }\n\n.dark_c04 .letter-text_38e {\n color: #cc8b00;\n color: var(--ring-warning-color);\n }\n\n.dark_c04 .letterDefault_d37,\n .dark_c04 .letter-field-name_1b6 {\n color: #669ecc;\n color: var(--ring-search-color);\n }\n\n.dark_c04 .letter-field-value_770 {\n color: #fff;\n color: var(--ring-dark-text-color);\n }\n\n.dark_c04 .letter-operator_368 {\n color: #737577;\n color: var(--ring-secondary-color);\n }\n\n.dark_c04 .letter-error_04a {\n padding-bottom: 1px;\n\n border-bottom: 1px solid #db5860;\n\n border-bottom: 1px solid var(--ring-icon-error-color);\n }\n\n.dark_c04 .icon_642 {\n top: 8px;\n }\n\n.dark_c04 .iconInner_08a {\n color: #b8d1e5;\n color: var(--ring-icon-color);\n }\n\n.dark_c04 .loader_e06 {\n top: 6px;\n }\n\n.dark_c04 .highlight_462 {\n font-weight: 600;\n }\n\n.dark_c04 .service_5cf {\n color: #737577;\n color: var(--ring-secondary-color);\n }\n\n.queryAssist_887 {\n\n position: relative;\n\n box-sizing: border-box;\n\n line-height: normal;\n}\n\n.input_b92 {\n position: relative;\n\n top: 1px;\n left: 1px;\n\n overflow: hidden;\n\n box-sizing: border-box;\n\n width: calc(100% - 2px);\n margin: 0;\n\n padding: 2px 4px 3px;\n\n white-space: nowrap;\n\n border-width: 0;\n border-style: solid;\n border-color: transparent;\n background: transparent;\n\n line-height: 16px\n}\n\n.input_b92:active,\n .input_b92:focus {\n outline: 0;\n }\n\n.input_b92 :-ms-input-placeholder, :root .input_b92 {\n line-height: 17px\n}\n\n@supports (-ms-ime-align:auto) {\n .input_b92 {\n line-height: 17px;\n }\n }\n\n.input_b92 .iconInner_08a {\n color: #b8d1e5;\n color: var(--ring-icon-color);\n }\n\n.input_b92.24px_2d3 {\n border-right-width: 24px;\n }\n\n.input_b92.inputGap2_dd2 {\n border-right-width: 48px;\n }\n\n.input_b92.inputLeftGap_1bb {\n border-left-width: 24px;\n }\n\n.input_b92.inputDisabled_4c6 {\n color: #999;\n color: var(--ring-disabled-color);\n border-color: #dfe5eb;\n border-color: var(--ring-line-color);\n }\n\n.placeholder_959 {\n\n position: absolute;\n top: 3px;\n\n left: 5px;\n\n display: block;\n\n overflow: hidden;\n\n width: calc(100% - 32px);\n\n text-overflow: ellipsis;\n\n pointer-events: none\n}\n\n.placeholder_959.placeholderSpaced_88e {\n left: 29px;\n }\n\n.placeholder_959 :-ms-input-placeholder, :root .placeholder_959 {\n top: 4px\n}\n\n@supports (-ms-ime-align:auto) {\n .placeholder_959 {\n top: 4px;\n }\n }\n\n.letter_20d {\n display: inline;\n}\n\n.actions_151 {\n position: absolute;\n z-index: 2;\n top: 4px;\n right: 1px;\n}\n\n.icon_642 {\n position: absolute;\n z-index: 2;\n top: 4px;\n\n box-sizing: border-box;\n\n width: 24px;\n height: 16px;\n\n padding: 0 4px;\n\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n line-height: normal\n}\n\n.icon_642 svg {\n vertical-align: baseline;\n }\n\n.actions_151 .icon_642 {\n position: relative;\n top: 0;\n left: -1px\n}\n\n.loaderOnTheRight_c8a {\n right: 1px;\n\n left: auto;\n}\n\n.focusUnderline_ade {\n width: 0;\n height: 2px;\n\n transition: width 0.15s ease-out;\n\n background: #008eff;\n\n background: var(--ring-main-color);\n}\n\n.input_b92:focus ~ .focusUnderline_ade,\n.input_b92:active ~ .focusUnderline_ade {\n width: 100%;\n}\n",""]),t.locals={unit:""+o.locals.unit,resetButton:""+o.locals.resetButton,overInputZIndex:"2",inputGap:"24px",light:"light_ea9",queryAssist:"queryAssist_887 "+o.locals.font,input:"input_b92",placeholder:"placeholder_959 "+o.locals.resetButton,"letter-text":"letter-text_38e",letterDefault:"letterDefault_d37","letter-field-name":"letter-field-name_1b6","letter-field-value":"letter-field-value_770","letter-operator":"letter-operator_368","letter-error":"letter-error_04a",iconInner:"iconInner_08a",highlight:"highlight_462",service:"service_5cf",dark:"dark_c04",icon:"icon_642",loader:"loader_e06","24px":"24px_2d3",inputGap2:"inputGap2_dd2",inputLeftGap:"inputLeftGap_1bb",inputDisabled:"inputDisabled_4c6",placeholderSpaced:"placeholderSpaced_88e",letter:"letter_20d",actions:"actions_151",loaderOnTheRight:"loaderOnTheRight_c8a",focusUnderline:"focusUnderline_ade"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,'.radio_fe2 {\n position: relative;\n\n display: block;\n\n text-align: left;\n\n color: #1f2326;\n\n color: var(--ring-text-color);\n outline: none\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.radio_fe2:hover .circle_2b4 {\n transition: none;\n\n border-color: #80c6ff;\n\n border-color: var(--ring-border-hover-color);\n }}\n\n.circle_2b4 {\n position: relative;\n top: -2px;\n\n display: inline-block;\n\n box-sizing: border-box;\n width: 16px;\n height: 16px;\n\n -webkit-user-select: none;\n\n -moz-user-select: none;\n\n -ms-user-select: none;\n\n user-select: none;\n transition: border-color 0.3s ease-out, box-shadow 0.3s ease-out;\n transition: border-color var(--ring-ease), box-shadow var(--ring-ease);\n vertical-align: middle;\n pointer-events: none;\n\n border: 1px solid #b8d1e5;\n\n border: 1px solid var(--ring-borders-color);\n border-radius: 8px;\n background-color: #fff;\n background-color: var(--ring-content-background-color)\n}\n\n.circle_2b4::after {\n position: absolute;\n top: 3px;\n left: 3px;\n\n width: 8px;\n height: 8px;\n\n content: "";\n\n transition: opacity 0.15s ease-out, transform 0.15s ease-out;\n\n transition: opacity var(--ring-fast-ease), transform var(--ring-fast-ease);\n\n transform: scale(0);\n\n opacity: 0;\n\n border-radius: 4px;\n background-color: #008eff;\n background-color: var(--ring-main-color);\n }\n\n.input_72a {\n position: absolute;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 100%;\n margin: 0;\n\n cursor: pointer;\n\n opacity: 0\n}\n\n.input_72a[disabled] + .circle_2b4 {\n border-color: #b8d1e5;\n border-color: var(--ring-borders-color);\n }\n\n.input_72a:checked + .circle_2b4 {\n border-color: #80c6ff;\n border-color: var(--ring-border-hover-color)\n\n /* stylelint-disable-next-line selector-max-specificity */\n }\n\n.input_72a:checked + .circle_2b4::after {\n transition: none;\n\n transform: scale(1);\n\n opacity: 1;\n }\n\n.input_72a:focus + .circle_2b4,\n .input_72a.focus_859 + .circle_2b4 {\n border-color: #80c6ff;\n border-color: var(--ring-border-hover-color);\n box-shadow: 0 0 0 1px #80c6ff;\n box-shadow: 0 0 0 1px var(--ring-border-hover-color);\n }\n\n.input_72a[disabled] {\n pointer-events: none;\n }\n\n.input_72a {\n\n /* stylelint-disable-next-line selector-max-specificity */\n}\n\n.input_72a[disabled]:checked + .circle_2b4::after {\n opacity: 0.5;\n }\n\n.input_72a[disabled] ~ .label_693 {\n color: #999;\n color: var(--ring-disabled-color);\n }\n\n.label_693 {\n margin-left: 8px;\n\n line-height: 32px;\n}\n',""]),t.locals={unit:""+o.locals.unit,"radio-size":"16px",radio:"radio_fe2",circle:"circle_2b4",input:"input_72a",focus:"focus_859",label:"label_693"},e.exports=t},function(e,t,n){var r=n(1078);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,".ring-save-field{font-size:0;line-height:0;display:inline-block}.ring-save-field .ring-save-field__button{margin-left:8px;vertical-align:top}",""]),e.exports=t},function(e,t){e.exports='<div class="ring-save-field" ng-form="saveFieldForm" rg-shortcuts="ring-save-field" shortcuts-map="keyMap" shortcuts-focus="focus">\n <span class="ring-save-field__transclude-placeholder" ng-transclude=""></span>\n\n <rg-button\n ng-show="saveFieldForm.$dirty && saveFieldForm.$valid"\n mode="primary"\n class="ring-save-field__button ng-hide"\n ng-mousedown="cancelBlur()"\n\n rg-promised-click="submitChanges($event)"\n promised-mode="loader"\n >\n {{wording.save}}\n </rg-button>\n\n <rg-button\n ng-show="saveFieldForm.$dirty && !loading"\n class="ring-save-field__button ng-hide"\n ng-click="cancelChanges($event)"\n ng-mousedown="cancelBlur()"\n >\n {{wording.cancel}}\n </rg-button>\n\n <rg-button\n ng-show="done"\n ng-disabled="true"\n class="ring-save-field__button ng-hide"\n >\n {{wording.saved}}\n </rg-button>\n</div>\n'},function(e,t,n){(t=n(20)(!1)).push([e.i,".errorText_a86 {\n height: auto;\n}\n\n.clear_615.clear_615 {\n position: absolute;\n}\n",""]),t.locals={errorText:"errorText_a86",clear:"clear_615"},e.exports=t},function(e,t,n){var r=n(1082);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,'.shortcuts-hint{margin-bottom:16px;width:900px}.shortcuts-hint__dialog{width:auto}.shortcuts-hint__popup-header{padding-left:8px}.shortcuts-hint__columns{margin-top:24px;-moz-columns:2 auto;columns:2 auto;line-height:20px}.shortcuts-hint__table{display:table;border-collapse:separate;border-spacing:0 8px}.shortcuts-hint__shortcuts-column{min-width:32px}.shortcuts-hint__shortcut-block{display:table-row-group}.shortcuts-hint__shortcut-block:not(:first-child)::before{content:"";display:block;height:4px}.shortcuts-hint__search-input-wrapper{position:relative;width:240px}.shortcuts-hint__search-icon{position:absolute;top:18px;right:0;height:16px;width:16px;padding:3px 4px 3px 5px;color:#999;color:var(--ring-disabled-color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.shortcuts-hint__table-row{display:table-row}.shortcuts-hint__table-title{display:table-row}.shortcuts-hint__shortcut-cell{display:table-cell;padding-right:8px;max-width:176px;text-align:right}.shortcuts-hint__shortcut{white-space:nowrap;color:#737577;color:var(--ring-secondary-color);font-family:monospace}.shortcuts-hint__hint{display:table-cell;padding-left:8px}.shortcuts-hint__shortcuts-title{display:table-cell;padding-left:8px;font-size:12px;color:#737577;color:var(--ring-secondary-color);text-transform:uppercase;letter-spacing:1.5px}.shortcuts-hint__key-spacer{padding:0 8px}',""]),e.exports=t},function(e,t,n){var r=n(1084);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,"@-webkit-keyframes show-sidebar{0%{right:-100%}100%{right:0}}@keyframes show-sidebar{0%{right:-100%}100%{right:0}}.ring-sidebar{position:fixed;z-index:4;top:0;right:-100%;height:100%;width:464px;padding-top:16px;box-sizing:border-box;border:solid 1px #dfe5eb;border:solid 1px var(--ring-line-color);border-right-width:0;overflow:hidden;background:#fff;background:var(--ring-content-background-color);transition:right .5s ease,visibility .5s;visibility:hidden}.ring-sidebar_active{visibility:visible;right:0;-webkit-animation:show-sidebar .5s 1;animation:show-sidebar .5s 1;overflow:auto;box-shadow:-1px 0 2px 0 rgba(0,42,76,.15)}.ring-sidebar_active .ring-sidebar__i{transition:.5s ease-in;transform:rotate(180deg)}.ring-sidebar__toggle-icon{color:#999;color:var(--ring-icon-secondary-color)}.ring-sidebar__avatar{float:left;width:48px;height:48px;-o-object-fit:contain;object-fit:contain;padding:0 16px 0 32px}.ring-sidebar__title{margin:0;padding-left:32px;color:#1f2326;color:var(--ring-heading-color);vertical-align:middle;font-size:24px;font-weight:normal;line-height:28px}.ring-sidebar__title .tag-flag{vertical-align:bottom}.ring-sidebar__avatar~.ring-sidebar__title{margin-bottom:42px}.ring-sidebar__section{position:relative;margin-top:24px;padding:0 16px 0 32px}.ring-sidebar__section-title{display:inline-block;font-size:13px;font-size:var(--ring-font-size);font-weight:bold;color:#1f2326;color:var(--ring-text-color)}.ring-sidebar__section-text{font-size:13px;font-size:var(--ring-font-size);color:#1f2326;color:var(--ring-text-color);line-height:24px}.ring-sidebar__section-text_multiline{padding:4px 0 5px;line-height:normal}.ring-sidebar__section-roster{margin-top:8px}.ring-sidebar__section-icon{position:absolute;display:block;left:0;width:32px;color:#999;color:var(--ring-icon-secondary-color);font-size:12px;text-align:center}.ring-sidebar__empty{margin-top:32px;text-align:center}.ring-sidebar__empty-icon{font-size:100px;color:#999;color:var(--ring-disabled-color)}.ring-sidebar__empty-description{margin-top:16px;color:#1f2326;color:var(--ring-text-color);font-size:12px;line-height:18px;padding-top:4px}",""]),e.exports=t},function(e,t){e.exports='<div\n class="ring-sidebar"\n rg-place-under="{{sidebar.placeUnderSibling}}"\n place-top-offset="{{sidebar.topOffset}}"\n sync-height="true"\n ng-class="{\'ring-sidebar_active\': sidebar.show}"\n>\n <rg-dialog in-sidebar="true" active="sidebar.dialogIsActive"></rg-dialog>\n <div class="ring-sidebar__content" ng-transclude ng-if="!sidebar.dialogIsActive"></div>\n</div>\n'},function(e,t){e.exports='<span>\n <rg-button\n ng-click="button.model = !button.model"\n ng-disabled="button.dialogIsActive"\n >\n <rg-icon\n ng-show="button.model"\n glyph="{{button.chevronRight}}"\n ></rg-icon>\n\n <rg-icon\n ng-show="!button.model"\n glyph="{{button.chevronLeft}}"\n ></rg-icon>\n\n <span ng-transclude></span>\n </rg-button>\n</span>\n'},function(e,t,n){"use strict";n(224)("fixed",(function(e){return function(){return e(this,"tt","","")}}))},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,".tooltip_182 {\n max-width: 400px;\n padding: 8px;\n\n text-align: left;\n}\n",""]),t.locals={unit:""+o.locals.unit,tooltip:"tooltip_182"},e.exports=t},function(e,t,n){var r=n(1090);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,".ring-table__toolbar{background:inherit}.ring-table__toolbar-controls{display:block;position:relative;padding:16px 32px;min-height:24px;background:inherit;white-space:normal;white-space:initial}.ring-table__toolbar-controls.ring-table__toolbar-controls_fixed{z-index:2;z-index:calc(var(--ring-fixed-z-index) + 1);position:fixed;top:0;right:0;left:0}",""]),e.exports=t},function(e,t){e.exports='<rg-pager\n total="pagerCtrl.total"\n current-page="pagerCtrl.getPage()"\n page-size="pagerCtrl.top"\n on-page-change="pagerCtrl.onPageChange"\n disable-page-size-selector="true"\n></rg-pager>\n'},function(e,t,n){var r=n(1093);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,'.ring-table__toolbar{background:inherit}.ring-table__toolbar-controls{display:block;position:relative;padding:16px 32px;min-height:24px;background:inherit;white-space:normal;white-space:initial}.ring-table__toolbar-controls.ring-table__toolbar-controls_fixed{z-index:2;z-index:calc(var(--ring-fixed-z-index) + 1);position:fixed;top:0;right:0;left:0}.ring-table{width:100%;border-spacing:0;border-collapse:collapse;background-color:transparent;font-size:13px;font-size:var(--ring-font-size)}.ring-table__header{display:table-row;background-color:#f7f9fa;background-color:var(--ring-sidebar-background-color)}.ring-table__header-checkbox{display:inline-block;position:relative;top:1px;left:-2px}.ring-table__title{display:table-cell;position:relative;padding:0 8px;text-align:left;line-height:23px;white-space:nowrap;font-size:12px;font-size:var(--ring-font-size-smaller);font-weight:normal;color:#1f2326;color:var(--ring-text-color);border-top:1px solid #f7f9fa;border-top:1px solid var(--ring-sidebar-background-color);border-bottom:1px solid #dfe5eb;border-bottom:1px solid var(--ring-line-color)}.ring-table__title.ring-table__title_active{font-weight:bold}.ring-table__title:first-child{padding-left:32px}.ring-table__title:after{content:normal;display:block;position:absolute;top:-1px;bottom:0;width:1px;right:0;background-color:#f7f9fa;background-color:var(--ring-sidebar-background-color)}.ring-table__title_border:after{content:""}.ring-table__title_nested{padding-left:40px}.ring-table__title_nested .ring-table__header-checkbox{left:-26px}.ring-table__toggle{display:inline-block;position:relative;top:9px;width:12px;height:9px;margin-left:16px;padding-bottom:21px;color:#dfe5eb;color:var(--ring-line-color);font-size:14px;cursor:pointer}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-table__toggle:hover{color:#1f2326;color:var(--ring-text-color)}}.ring-table__toggle-icon{float:right}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-table__toggle-icon:hover{color:#ff008c;color:var(--ring-link-hover-color)}}.ring-table__column-inline-avatar{display:inline-block;vertical-align:middle}.ring-table__column-inline-avatar-img{margin:-6px 8px}.ring-table__column_selector{min-width:24px;padding:0 !important;text-align:center}.ring-table__selector{display:inline-block;margin:0 0 0 4px}.ring-table__column{display:table-cell;border-width:1px;border-color:#f7f9fa;border-color:var(--ring-sidebar-background-color);border-top-style:solid;border-bottom-style:solid;border-collapse:collapse;padding:6px 8px;vertical-align:middle;white-space:nowrap}.ring-table__column:last-child{width:100%}.ring-table__column:first-child{padding-left:32px}.ring-table__column.ring-table__column_gap{background-color:#dfe5eb;background-color:var(--ring-line-color);border-bottom-color:transparent !important}.ring-table__column.ring-table__column_toggle{width:16px;padding:0;vertical-align:top;text-align:right}.ring-table__column_right{text-align:right}.ring-table__column_gray{color:#737577;color:var(--ring-secondary-color)}.ring-table__column_snuggle-right{padding-right:0}.ring-table__column_snuggle-left{padding-left:0}.ring-table__column_align-right{text-align:right}.ring-table__column_gap{border-right-style:solid;padding-left:16px !important}.ring-table__column-title{font-weight:bold}.ring-table__column_wide{min-width:80px}.ring-table__column_limited{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:400px}.ring-table__column_unlimited{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;max-width:1px}.ring-table__column_narrow{min-width:24px;padding:0 !important}.ring-table__column-list:not(:last-child):after{content:", "}.ring-table__row{display:table-row;width:100%;height:40px}.ring-table__row.ring-table__row_ghost{background-color:#fff;background-color:var(--ring-content-background-color)}.ring-table__row.ring-table__row_implicit{opacity:.5}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-table__row:hover{background-color:#f7f9fa;background-color:var(--ring-sidebar-background-color)}}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-table__row:hover .ring-table__column_gap{background-color:#dfe5eb;background-color:var(--ring-line-color)}}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-table__row.ring-table__row_unselectable:hover{background-color:transparent;background-color:initial}}.ring-table__row.ring-table__row_checked{background-color:#d4edff;background-color:var(--ring-selected-background-color)}.ring-table__row.ring-table__row_active-checked{background-color:#d4edff;background-color:var(--ring-selected-background-color)}.ring-table__row.ring-table__row_active .ring-table__column{border-color:#008eff;border-color:var(--ring-main-color);border-top-style:double}.ring-table__row.ring-table__row_active .ring-table__column_gap{border-color:#dfe5eb;border-color:var(--ring-line-color);border-top-style:none}.ring-table__row.ring-table__row_active .sidebar__btn{visibility:visible}.ring-table__group{display:table-row-group}.ring-table__description{margin-left:8px;font-size:12px;font-size:var(--ring-font-size-smaller);color:#737577;color:var(--ring-secondary-color)}.ring-table__avatar{width:24px;height:27px}.ring-table__avatar-img{width:24px;height:24px}.ring-table__header_sticky{position:fixed;display:none;top:0;width:auto;z-index:1;z-index:var(--ring-fixed-z-index)}.table__pager{padding:32px 32px}.table__pager-links{margin-bottom:16px}.table__pager-link{display:inline-block;margin-right:32px}.table__pager-link_disabled{color:#737577;color:var(--ring-secondary-color)}.table__pager-select{float:right;display:inline-block}',""]),e.exports=t},function(e,t){e.exports='<div>\n <table class="ring-table" ng-transclude>\n </table>\n</div>\n'},function(e,t){e.exports='<thead>\n <tr class="ring-table__header" ng-transclude></tr>\n <tr class="ring-table__header ring-table__header_sticky" rg-place-under="{{stickToSelector}}" ng-transclude></tr>\n</thead>\n'},function(e,t){e.exports="<tr ng-click=\"rowCtrl.setActiveItem(rowCtrl.rowItem)\"\n ng-mouseover=\"rowCtrl.onMouseOver(rowCtrl.rowItem)\"\n ng-mouseout=\"rowCtrl.onMouseOut(rowCtrl.rowItem)\"\n class=\"ring-table__row\" ng-class=\"{\n 'ring-table__row_active': rowCtrl.rowItem.active,\n 'ring-table__row_checked': rowCtrl.rowItem.checked,\n 'ring-table__row_active-checked': rowCtrl.rowItem.active && !rowCtrl.hasCheckedItems(),\n 'ring-table__row_implicit': rowCtrl.rowItem.implicit,\n 'ring-table__row_expanded': rowCtrl.rowItem.expanded,\n 'ring-table__row_unselectable': rowCtrl.rowItem.unselectable\n }\" ng-transclude>\n</tr>\n"},function(e,t){e.exports="<th class=\"ring-table__title\"\n ng-class=\"{\n 'ring-table__title_border': isBorder,\n 'ring-table__title_active': isActive,\n 'ring-table__column_snuggle-right': isPullRight,\n 'ring-table__column_snuggle-left': isPullLeft,\n 'ring-table__column_align-right' : isAlignRight\n }\" ng-transclude>\n</th>\n"},function(e,t){e.exports="<td class=\"ring-table__column\"\n ng-class=\"{\n 'ring-table__column_limited': isLimited,\n 'ring-table__column_unlimited': isUnlimited,\n 'ring-table__column_right': isAlignRight,\n 'ring-table__avatar': isAvatar,\n 'ring-table__column_wide': isWide,\n 'ring-table__column_gray': isGray,\n 'ring-table__column_snuggle-right': isPullRight,\n 'ring-table__column_snuggle-left': isPullLeft\n }\" ng-transclude>\n</td>\n"},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.title_87d:hover:not(.selected_8b2) {\n color: #ff008c;\n color: var(--ring-link-hover-color);\n outline-style: none;\n box-shadow: inset 0 -1px 0 0 #ff008c;\n box-shadow: inset 0 -1px 0 0 var(--ring-link-hover-color);\n }}\n\n.tabs_e99 {\n}\n\n.titles_733 {\n display: inline-block;\n\n margin-bottom: 16px;\n}\n\n.light_5cd .titles_733 {\n box-shadow: inset 0 -1px 0 0 #dfe5eb;\n box-shadow: inset 0 -1px 0 0 var(--ring-line-color);\n}\n\n.dark_ab1 .titles_733 {\n box-shadow: inset 0 -1px 0 0 #475159;\n box-shadow: inset 0 -1px 0 0 var(--ring-dark-line-color);\n}\n\n.title_87d {\n\n position: relative;\n\n display: inline-block;\n\n padding: 0;\n\n cursor: pointer;\n\n color: inherit;\n\n border: none;\n background: none;\n\n line-height: 32px\n}\n\n.title_87d:focus:not(.selected_8b2),\n .title_87d:active:not(.selected_8b2) {\n color: #ff008c;\n color: var(--ring-link-hover-color);\n outline-style: none;\n box-shadow: inset 0 -1px 0 0 #ff008c;\n box-shadow: inset 0 -1px 0 0 var(--ring-link-hover-color);\n }\n\n.title_87d[disabled] {\n pointer-events: none;\n }\n\n.title_87d + .title_87d {\n margin-left: 24px;\n}\n\n.light_5cd .title_87d[disabled] {\n color: #999;\n color: var(--ring-disabled-color);\n }\n\n.dark_ab1 .title_87d {\n color: #888;\n color: var(--ring-dark-secondary-color)\n}\n\n.dark_ab1 .title_87d[disabled] {\n color: #1f2326;\n color: var(--ring-text-color);\n }\n\n.selected_8b2 {\n cursor: default;\n\n outline: none;\n box-shadow: inset 0 -3px 0 0 #1f2326;\n box-shadow: inset 0 -3px 0 0 var(--ring-text-color);\n\n font-weight: bold;\n}\n\n.dark_ab1 .selected_8b2.selected_8b2 {\n color: #fff;\n color: var(--ring-dark-text-color);\n box-shadow: inset 0 -3px 0 0 #008eff;\n box-shadow: inset 0 -3px 0 0 var(--ring-main-color);\n }\n\n.visible_523 {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n text-align: center;\n}\n\n.hidden_834 {\n visibility: hidden;\n\n font-weight: bold;\n}\n\n.tabCounter_8f8 {\n padding-left: 8px;\n\n color: #737577;\n\n color: var(--ring-secondary-color);\n\n font-size: 12px;\n font-weight: normal;\n line-height: 19px; /* prevent jumps in Firefox */\n}\n",""]),t.locals={unit:""+o.locals.unit,"line-shadow":"inset 0 -1px 0 0","selected-line-shadow":"inset 0 -3px 0 0",title:"title_87d "+o.locals.font,selected:"selected_8b2",tabs:"tabs_e99 "+o.locals.font,titles:"titles_733",light:"light_5cd",dark:"dark_ab1",visible:"visible_523",hidden:"hidden_834",tabCounter:"tabCounter_8f8"},e.exports=t},function(e,t){e.exports='<div\n ng-class=":: [styles.tabs, styles[theme]]"\n rg-shortcuts="ring-tabs"\n shortcuts-map="keyMap"\n shortcuts-focus="focus"\n>\n <div\n ng-class=":: [styles.titles, tabsClass]"\n role="tablist"\n >\n <button\n role="tab"\n type="button"\n ng-repeat="pane in panes | orderBy:\'tabIndex\'"\n ng-click="control.select(pane)"\n ng-attr-tabindex="{{(pane.selected || pane.ngDisabled) ? -1 : 0}}"\n ng-disabled="pane.ngDisabled"\n data-test="ring-tab"\n ng-attr-data-test-active="{{pane.selected ? \'true\' : \'false\'}}"\n ng-attr-class="{{ tabClass(pane) }}"\n ><span\n ng-class=":: styles.visible">{{pane.title}}<span\n ng-class=":: styles.tabCounter"\n ng-show="pane.counter !== undefined">{{ pane.counter }}</span\n ></span>\x3c!--\n hack for preserving constant tab width\n --\x3e<span ng-class=":: styles.hidden">{{pane.title}}<span\n ng-class=":: styles.tabCounter" ng-show="pane.counter !== undefined">{{ pane.counter }}</span></span>\n </button>\n </div>\n\n <div ng-transclude></div>\n\n</div>\n'},function(e,t,n){var r=n(20),o=n(22);(t=r(!1)).i(o),t.push([e.i,".tagsInput_cb1 {\n padding-top: 2px;\n padding-bottom: 2px;\n\n white-space: normal;\n}\n\n.tagsInputLegacyMode_39b {\n padding-top: 0;\n padding-bottom: 1px;\n\n border: 1px solid #b8d1e5;\n\n border: 1px solid var(--ring-borders-color);\n background-color: #fff;\n background-color: var(--ring-content-background-color)\n}\n\n.tagsInputLegacyMode_39b .tagsList_925 {\n padding-top: 1px;\n\n line-height: 20px;\n }\n\n.tagsInputLegacyMode_39b .tag_292 {\n margin-right: 2px;\n }\n\n.tagsInputDisabled_c7c {\n pointer-events: none;\n\n color: #999;\n\n color: var(--ring-disabled-color)\n}\n\n.tagsInputDisabled_c7c .underline_417 {\n border-bottom-style: dashed;\n }\n\n.tagsInputFocused_61f {\n border-color: #008eff;\n border-color: var(--ring-main-color);\n}\n\n.tagsList_925 {\n display: inline-block;\n\n box-sizing: border-box;\n\n width: 100%;\n margin-bottom: -1px;\n\n padding-left: 2px;\n\n line-height: 22px;\n}\n\n.tagsSelect_aac {\n margin-bottom: -1px\n}\n\n.tagsSelect_aac > div {\n min-height: 20px;\n }\n\n.tagsSelect_aac input {\n min-height: 20px;\n }\n\n.underline_417 {\n height: 1px;\n\n border-bottom: #b8d1e5 1px solid;\n\n border-bottom: var(--ring-borders-color) 1px solid;\n}\n\n.focusUnderline_d8a {\n width: 0;\n height: 2px;\n\n margin-top: -1px;\n\n transition: width 0.15s ease-out;\n\n background: #008eff;\n\n background: var(--ring-main-color)\n}\n\n.tagsInputFocused_61f .focusUnderline_d8a {\n width: 100%\n}\n",""]),t.locals={tagsInput:"tagsInput_cb1",tagsInputLegacyMode:"tagsInputLegacyMode_39b",tagsList:"tagsList_925",tag:"tag_292",tagsInputDisabled:"tagsInputDisabled_c7c",underline:"underline_417",tagsInputFocused:"tagsInputFocused_61f",tagsSelect:"tagsSelect_aac",focusUnderline:"focusUnderline_d8a"},e.exports=t},function(e,t,n){var r=n(20),o=n(27),i=n(22);(t=r(!1)).i(o,"",!0),t.i(i),t.push([e.i,'.toggle_2cd {\n cursor: pointer\n}\n\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.toggle_2cd:hover .switch_7e5 {\n background-color: #80c6ff;\n background-color: var(--ring-border-hover-color);\n }}\n\n.toggle_2cd.disabled_696 {\n pointer-events: none;\n }\n\n.label_a30 {\n margin-left: 4px;\n}\n\n.leftLabel_280 {\n margin-right: 4px;\n}\n\n.light_88b .switch_7e5 {\n background-color: #b8d1e5;\n background-color: var(--ring-icon-color)\n }\n\n.light_88b .switch_7e5::before {\n background-color: #fff;\n background-color: var(--ring-content-background-color);\n }\n\n.dark_6c3 .switch_7e5 {\n background-color: #406380;\n background-color: var(--ring-hint-color)\n }\n\n.dark_6c3 .switch_7e5::before {\n background-color: #000;\n background-color: var(--ring-navigation-background-color);\n }\n\n.switchWrapper_801 {\n position: relative;\n\n display: inline-block;\n\n width: 24px;\n height: 16px;\n\n vertical-align: -3px;\n}\n\n.input_ee9 {\n position: absolute;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 100%;\n\n margin: 0;\n\n opacity: 0;\n}\n\n.switch_7e5 {\n position: relative;\n\n display: block;\n\n width: 100%;\n height: 100%;\n\n transition: background-color cubic-bezier(0.23, 1, 0.32, 1) 300ms;\n\n border-radius: 8px\n}\n\n.input_ee9:focus + .switch_7e5 {\n box-shadow: inset 0 0 0 1px #80c6ff, 0 0 0 1px #80c6ff;\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color), 0 0 0 1px var(--ring-border-hover-color)\n}\n\n.switch_7e5::before {\n position: absolute;\n top: 2px;\n left: 0;\n\n width: 12px;\n height: 12px;\n\n content: "";\n\n transition: transform cubic-bezier(0.23, 1, 0.32, 1) 300ms;\n\n transform: translateX(2px);\n\n border-radius: 6px;\n }\n\n.input_ee9:checked + .switch_7e5 {\n background-color: #008eff;\n background-color: var(--ring-main-color);\n}\n\n.input_ee9:checked + ::before {\n transform: translateX(10px);\n}\n\n.input_ee9[disabled] + ::after {\n position: absolute;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 100%;\n\n content: "";\n\n border-radius: 8px;\n background-image:\n linear-gradient(\n 45deg,\n transparent,\n transparent 37.5%,\n rgba(255, 255, 255, 0.9) 37.5%,\n rgba(255, 255, 255, 0.9) 50%,\n transparent 50%,\n transparent 87.5%,\n rgba(255, 255, 255, 0.9) 87.5%,\n rgba(255, 255, 255, 0.9)\n );\n background-repeat: repeat;\n background-size: 4px 4px;\n}\n\n.paleSwitch_fd2.paleSwitch_fd2 {\n background-color: #cfdbe5;\n background-color: var(--ring-pale-control-color);\n}\n\n.input_ee9:checked + .paleSwitch_fd2 {\n background-color: #80c6ff;\n background-color: var(--ring-border-hover-color);\n}\n',""]),t.locals={unit:""+o.locals.unit,padding:"2px","disabled-line-color":"rgba(255, 255, 255, 0.9)",duration:"300ms","timing-function":"cubic-bezier(0.23, 1, 0.32, 1)",toggle:"toggle_2cd",switch:"switch_7e5",disabled:"disabled_696",label:"label_a30",leftLabel:"leftLabel_280",light:"light_88b",dark:"dark_6c3",switchWrapper:"switchWrapper_801",input:"input_ee9",paleSwitch:"paleSwitch_fd2"},e.exports=t},function(e,t,n){var r=n(1104);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,".ring-tooltip-ng{max-width:400px;padding:8px;text-align:left}.ring-tooltip-ng__hint-icon{margin-left:8px;color:#b8d1e5;color:var(--ring-icon-color);cursor:pointer;position:relative;top:-2px}.ring-tooltip-ng_open .ring-tooltip-ng__hint-icon{color:#ff008c;color:var(--ring-link-hover-color)}",""]),e.exports=t},function(e,t,n){var r=n(1106);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(21)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=n(20)(!1)).push([e.i,'.ring-error-bubble{z-index:2;box-sizing:border-box;display:none;position:absolute;top:0;left:calc(100% + 2px);min-height:24px;padding-right:16px;padding-left:16px;line-height:22px;border-radius:3px;border-radius:var(--ring-border-radius);border:1px solid rgba(0, 42, 76, 0.1);border:1px solid var(--ring-popup-border-color);color:#1f2326;color:var(--ring-text-color);font-size:12px;font-family:system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;font-family:var(--ring-font-family);white-space:nowrap;color:#c22731;color:var(--ring-error-color);background:#fff;background:var(--ring-popup-background-color);box-shadow:0 2px 16px 0 rgba(0, 42, 76, 0.15);box-shadow:0 2px 16px 0 var(--ring-popup-shadow-color)}.ring-error-bubble.active{display:inline-block}.ring-error-bubble:before{content:"";transform:rotate(45deg);z-index:-1;z-index:var(--ring-invisible-element-z-index);position:absolute;top:7px;left:-5px;display:block;width:8px;height:8px;border:1px solid rgba(0, 42, 76, 0.1);border:1px solid var(--ring-popup-border-color);border-right:none;border-top:none;background:#fff;background:var(--ring-popup-background-color)}.ring-error-bubble_material{padding-left:8px;box-shadow:none;border:0;background-color:transparent;background:none}.ring-error-bubble_material:before{display:none}.ring-form__control .ring-error-bubble{top:1px}.ring-error-bubble-wrapper{position:relative}.ring-input-size_xs.ring-input-size_xs{display:inline-block;width:50px}.ring-input-size_xs.ring-input-size_xs~.ring-error-bubble{left:52px}.ring-input-size_s.ring-input-size_s{display:inline-block;width:100px}.ring-input-size_s.ring-input-size_s~.ring-error-bubble{left:102px}.ring-input-size_md.ring-input-size_md{display:inline-block;width:200px}.ring-input-size_md.ring-input-size_md~.ring-error-bubble{left:202px}.ring-input-size_l.ring-input-size_l{display:inline-block;width:400px}.ring-input-size_l.ring-input-size_l~.ring-error-bubble{left:402px}',""]),e.exports=t},function(e,t,n){var r=n(20),o=n(1108);(t=r(!1)).i(o),t.push([e.i,"html,.app-root{height:100%}.search-root{margin:0;padding:0;background:var(--ring-content-background-color);font-family:var(--ring-font-family);font-size:var(--ring-font-size);line-height:var(--ring-line-height)}.search-content{padding:24px 41px}",""]),e.exports=t},function(e,t,n){(t=n(20)(!1)).push([e.i,'/* stylelint-disable color-no-hex */\n\n:root {\n --ring-unit: 8px;\n\n /* Element */\n --ring-line-color: #dfe5eb;\n --ring-dark-line-color: #475159;\n --ring-borders-color: #b8d1e5;\n --ring-dark-borders-color: #406380;\n --ring-icon-color: var(--ring-borders-color);\n --ring-icon-secondary-color: #999;\n --ring-border-disabled-color: #dbdbdb;\n --ring-icon-disabled-color: #bbb;\n --ring-border-hover-color: #80c6ff;\n --ring-dark-border-hover-color: #70b1e6;\n --ring-icon-hover-color: var(--ring-border-hover-color);\n --ring-main-color: #008eff;\n --ring-main-hover-color: #007ee5;\n --ring-icon-error-color: #db5860;\n --ring-icon-warning-color: #eda200;\n --ring-icon-success-color: #59a869;\n --ring-pale-control-color: #cfdbe5;\n --ring-popup-border-components: 0, 42, 76;\n --ring-popup-border-color: rgba(var(--ring-popup-border-components), 0.1);\n --ring-popup-shadow-color: rgba(var(--ring-popup-border-components), 0.15);\n --ring-message-shadow-color: rgba(var(--ring-popup-border-components), 0.3);\n\n /* Text */\n --ring-search-color: #669ecc;\n --ring-hint-color: #406380;\n --ring-link-color: #0f5b99;\n --ring-link-hover-color: #ff008c;\n --ring-error-color: #c22731;\n --ring-warning-color: #cc8b00;\n --ring-success-color: #1b8833;\n --ring-text-color: #1f2326;\n --ring-dark-text-color: #fff;\n --ring-heading-color: var(--ring-text-color);\n --ring-secondary-color: #737577;\n --ring-dark-secondary-color: #888;\n --ring-disabled-color: #999;\n --ring-dark-disabled-color: #444;\n --ring-dark-active-color: #ccc;\n\n /* Background */\n --ring-content-background-color: #fff;\n --ring-popup-background-color: #fff;\n --ring-sidebar-background-color: #f7f9fa;\n --ring-selected-background-color: #d4edff;\n --ring-hover-background-color: #ebf6ff;\n --ring-dark-selected-background-color: #002a4d;\n --ring-message-background-color: #111314;\n --ring-navigation-background-color: #000;\n --ring-tag-background-color: #e6ecf2;\n --ring-removed-background-color: #ffd5cb;\n --ring-warning-background-color: #faeccd;\n --ring-added-background-color: #bce8bb;\n\n /* Code */\n --ring-code-background-color: var(--ring-content-background-color);\n --ring-code-color: #000;\n --ring-code-comment-color: #707070;\n --ring-code-meta-color: #707070;\n --ring-code-keyword-color: #000080;\n --ring-code-tag-background-color: #efefef;\n --ring-code-tag-color: var(--ring-code-keyword-color);\n --ring-code-tag-font-weight: bold;\n --ring-code-field-color: #660e7a;\n --ring-code-attribute-color: #00f;\n --ring-code-number-color: var(--ring-code-attribute-color);\n --ring-code-string-color: #007a00;\n --ring-code-addition-color: #aadeaa;\n --ring-code-deletion-color: #c8c8c8;\n\n /* Metrics */\n --ring-border-radius: 3px;\n --ring-border-radius-small: 2px;\n --ring-font-size-larger: 14px;\n --ring-font-size: 13px;\n --ring-font-size-smaller: 12px;\n --ring-line-height-taller: 21px;\n --ring-line-height: 20px;\n --ring-line-height-lower: 18px;\n --ring-line-height-lowest: 16px;\n --ring-ease: 0.3s ease-out;\n --ring-fast-ease: 0.15s ease-out;\n --ring-font-family: system-ui, Arial, sans-serif;\n --ring-font-family-monospace: Menlo, "Bitstream Vera Sans Mono", "Ubuntu Mono", Consolas, "Courier New", Courier, monospace;\n\n /* Common z-index-values */\n\n /* Invisible element is an absolutely positioned element which should be below */\n /* all other elements on the page */\n --ring-invisible-element-z-index: -1;\n\n /* z-index for position: fixed elements */\n --ring-fixed-z-index: 1;\n\n /* Elements that should overlay all other elements on the page */\n --ring-overlay-z-index: 5;\n\n /* Alerts should de displayed above overlays */\n --ring-alert-z-index: 6;\n}\n',""]),e.exports=t},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n.n(r),i=n(32),a=(n(767),n(14),n(15),n(168),n(8),n(7),n(6),n(11),n(9),n(10),n(4),n(12),n(13),n(43),n(2)),s=n.n(a),l=n(0),c=n.n(l),u=n(191),f=n.n(u),d=n(104),p=n.n(d),h=n(192),m=n.n(h),g=n(56),v=n.n(g),y=(n(18),n(17),n(19),n(105)),b=n.n(y),_={BLUE:"blue",DEFAULT:"",GRAY:"gray",GREEN:"green",MAGENTA:"magenta",RED:"red",WHITE:"white"},w={Size12:12,Size14:14,Size16:16,Size18:18,Size20:20,Size24:24,Size32:32,Size40:40,Size48:48,Size64:64,Size96:96,Size128:128},x=n(61),k=n.n(x);n(35),n(39),n(30),n(784),n(52),n(16);function M(){return(M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var S=n(155),O=n.n(S);function E(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function L(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function T(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function D(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function C(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=L,t.componentWillReceiveProps=T),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=D;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}return e}L.__suppressDeprecationWarning=!0,T.__suppressDeprecationWarning=!0,D.__suppressDeprecationWarning=!0;n(480);var P=n(257),j=n(203),Y=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":void 0},A=function(e,t){return t+"("+Y(e)+")"},I=(Object.keys,r.Component,function(e){return function(t){var n=Object(r.createFactory)(t);return function(t){function r(){return t.apply(this,arguments)||this}E(r,t);var o=r.prototype;return o.shouldComponentUpdate=function(t){return e(this.props,t)},o.render=function(){return n(this.props)},r}(r.Component)}}),R=function(e){return I((function(e,t){return!O()(e,t)}))(e)};var $,H=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}),(function(e){return e}))},N={fromESObservable:null,toESObservable:null},z={fromESObservable:function(e){return"function"==typeof N.fromESObservable?N.fromESObservable(e):e},toESObservable:function(e){return"function"==typeof N.toESObservable?N.toESObservable(e):e}},F=($=z,n(482)),B=new(n.n(F).a);B.sniff();var U=B;n(287),n(220);function W(e){var t=new Map,n=new WeakMap;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"__singleValue__",o=r instanceof Object?n:t;if(o.has(r))return o.get(r);var i=e(r);return o.set(r,i),i}}function V(){return(V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function q(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var G="ie"===U.browser.name;function K(e){if(!G)return e.innerHTML;var t=new XMLSerializer;return Array.from(e.childNodes).map((function(e){return t.serializeToString(e)})).join("")}var J=W((function(e){var t=document.createElement("div");t.innerHTML=e;var n,r,o=t.firstElementChild;return o.remove?o.remove():t.removeChild(o),{props:(n=o,r=n.attributes,r.length>0?function(e){for(var t={},n=0;n<e.length;n++){var r=e[n].name,o=r;"class"===r?o="className":r.startsWith("data-")||(o=r.replace(/[-|:]([a-z])/g,(function(e){return e[1].toUpperCase()}))),t[o]=e[n].value}return t}(r):null),html:K(o)}}));function Q(e){var t,n,r,i=e.src,a=e.className,l=q(e,["src","className"]),c=s()(k.a.glyph,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},k.a.compatibilityMode,(n=/width="[\d\.]+"/gi.test(t=i),r=/height="[\d\.]+"/gi.test(t),!n||!r)),a),u=J(i),f=u.props,d=u.html;return o.a.createElement("svg",V({},f,l,{className:c,dangerouslySetInnerHTML:{__html:d}}))}Q.propTypes={className:c.a.string,src:c.a.string.isRequired,style:c.a.object};var Z=R(Q);function X(e){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function te(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oe(e,t,n){return t&&re(e.prototype,t),n&&re(e,n),e}function ie(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ae(e,t)}function ae(e,t){return(ae=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function se(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ce(e);if(t){var o=ce(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return le(this,n)}}function le(e,t){return!t||"object"!==X(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fe=b()((function(){}),"`size`, `width` and `height` props are not recommended to use in Ring UI `Icon` component. The intrinsic sizes of SVG icon (`width` and `height` SVG attributes) are used instead.\n\nWe strongly recommend to use icons handcrafted for particular sizes. If your icon doesn't exist in the desired size, please ask your designer to draw one. \"Responsive\" checkmark should be unchecked when exporting icon.'"),de=function(e){ie(n,e);var t=se(n);function n(){return ne(this,n),t.apply(this,arguments)}return oe(n,[{key:"warnSize",value:function(){this.props.suppressSizeWarning||fe()}},{key:"getStyle",value:function(){var e=this.props,t=e.size,n=e.width,r=e.height;return n||r?(this.warnSize(),{width:n,height:r}):t?(this.warnSize(),{width:t,height:t}):null}},{key:"getIconSource",value:function(){var e=this.props.glyph;return(null==e?void 0:e.isRingIcon)?e.glyph:e}},{key:"render",value:function(){var e,t=this.props,n=t.className,r=(t.size,t.color),i=t.loading,a=(t.glyph,t.width,t.height,t.suppressSizeWarning,te(t,["className","size","color","loading","glyph","width","height","suppressSizeWarning"])),l=this.getIconSource();if(!l)return console.warn("No icon source passed to Icon component",this.props),null;var c=s()(k.a.icon,(ue(e={},k.a[r],!!r),ue(e,k.a.loading,i),e),n);return o.a.createElement("span",ee({},a,{className:c}),"string"==typeof l?o.a.createElement(Z,{src:l,style:this.getStyle()}):o.a.createElement(l,{className:k.a.glyph,style:this.getStyle()}))}}]),n}(r.PureComponent);function pe(e,t){var n,i;return i=n=function(t){ie(r,t);var n=se(r);function r(){return ne(this,r),n.apply(this,arguments)}return oe(r,[{key:"render",value:function(){var t=this.props,n=t.iconRef,r=te(t,["iconRef"]);return o.a.createElement(de,ee({ref:n},r,{glyph:e}))}}],[{key:"toString",value:function(){return e}}]),r}(r.PureComponent),ue(n,"displayName",t),ue(n,"propTypes",{iconRef:c.a.func}),ue(n,"Color",_),ue(n,"Size",w),ue(n,"isRingIcon",!0),ue(n,"glyph",e),i}ue(de,"propTypes",{className:c.a.string,color:c.a.string,glyph:c.a.oneOfType([c.a.string,c.a.elementType]),height:c.a.number,size:c.a.number,width:c.a.number,loading:c.a.bool,suppressSizeWarning:c.a.bool}),ue(de,"defaultProps",{className:"",color:_.DEFAULT,glyph:""}),ue(de,"Color",_),ue(de,"Size",w);var he=n(483),me=n.n(he),ge=n(484),ve=n.n(ge),ye=n(485),be=n.n(ye),_e=n(486),we=n.n(_e),xe=n(487),ke=n.n(xe),Me=n(488),Se=n.n(Me),Oe=n(489),Ee=n.n(Oe),Le=n(490),Te=n.n(Le),De=n(491),Ce=n.n(De),Pe=n(492),je=n.n(Pe),Ye=n(493),Ae=n.n(Ye),Ie=n(494),Re=n.n(Ie),$e=n(495),He=n.n($e),Ne=n(496),ze=n.n(Ne),Fe=n(497),Be=n.n(Fe),Ue=n(498),We=n.n(Ue),Ve=n(499),qe=n.n(Ve),Ge=n(500),Ke=n.n(Ge),Je=n(501),Qe=n.n(Je),Ze=n(502),Xe=n.n(Ze),et=n(503),tt=n.n(et),nt=n(504),rt=n.n(nt),ot=n(505),it=n.n(ot),at=n(506),st=n.n(at),lt=n(507),ct=n.n(lt),ut=n(508),ft=n.n(ut),dt=n(509),pt=n.n(dt),ht=n(510),mt=n.n(ht),gt=n(511),vt=n.n(gt),yt=n(512),bt=n.n(yt),_t=n(513),wt=n.n(_t),xt=n(514),kt=n.n(xt),Mt=n(515),St=n.n(Mt),Ot=n(193),Et=n.n(Ot),Lt=n(516),Tt=n.n(Lt),Dt=n(517),Ct=n.n(Dt),Pt=n(518),jt=n.n(Pt),Yt=n(519),At=n.n(Yt),It=n(520),Rt=n.n(It),$t=n(85),Ht=n.n($t),Nt=n(132),zt=n.n(Nt),Ft=n(133),Bt=n.n(Ft),Ut=n(69),Wt=n.n(Ut),Vt=n(521),qt=n.n(Vt),Gt=n(522),Kt=n.n(Gt),Jt=n(523),Qt=n.n(Jt),Zt=n(524),Xt=n.n(Zt),en=n(525),tn=n.n(en),nn=n(526),rn=n.n(nn),on=n(527),an=n.n(on),sn=n(528),ln=n.n(sn),cn=n(529),un=n.n(cn),fn=n(530),dn=n.n(fn),pn=n(531),hn=n.n(pn),mn=n(532),gn=n.n(mn),vn=n(533),yn=n.n(vn),bn=n(534),_n=n.n(bn),wn=n(535),xn=n.n(wn),kn=n(194),Mn=n.n(kn),Sn=n(536),On=n.n(Sn),En=n(537),Ln=n.n(En),Tn=n(538),Dn=n.n(Tn),Cn=n(539),Pn=n.n(Cn),jn=n(540),Yn=n.n(jn),An=n(541),In=n.n(An),Rn=n(542),$n=n.n(Rn),Hn=n(543),Nn=n.n(Hn),zn=n(544),Fn=n.n(zn),Bn=n(545),Un=n.n(Bn),Wn=n(546),Vn=n.n(Wn),qn=n(547),Gn=n.n(qn),Kn=n(548),Jn=n.n(Kn),Qn=n(549),Zn=n.n(Qn),Xn=n(550),er=n.n(Xn),tr=n(551),nr=n.n(tr),rr=n(552),or=n.n(rr),ir=n(553),ar=n.n(ir),sr=n(554),lr=n.n(sr),cr=n(555),ur=n.n(cr),fr=n(556),dr=n.n(fr),pr=n(557),hr=n.n(pr),mr=n(558),gr=n.n(mr),vr=n(559),yr=n.n(vr),br=n(560),_r=n.n(br),wr=n(561),xr=n.n(wr),kr=n(562),Mr=n.n(kr),Sr=n(563),Or=n.n(Sr),Er=n(564),Lr=n.n(Er),Tr=n(565),Dr=n.n(Tr),Cr=n(566),Pr=n.n(Cr),jr=n(567),Yr=n.n(jr),Ar=n(568),Ir=n.n(Ar),Rr=n(569),$r=n.n(Rr),Hr=n(570),Nr=n.n(Hr),zr=n(571),Fr=n.n(zr),Br=n(572),Ur=n.n(Br),Wr=n(573),Vr=n.n(Wr),qr=n(574),Gr=n.n(qr),Kr=n(575),Jr=n.n(Kr),Qr=n(576),Zr=n.n(Qr),Xr=n(577),eo=n.n(Xr),to=n(578),no=n.n(to),ro=n(579),oo=n.n(ro),io=n(580),ao=n.n(io),so=n(581),lo=n.n(so),co=n(582),uo=n.n(co),fo=n(583),po=n.n(fo),ho=n(584),mo=n.n(ho),go=n(585),vo=n.n(go),yo=n(586),bo=n.n(yo),_o=n(587),wo=n.n(_o),xo=n(588),ko=n.n(xo),Mo=n(589),So=n.n(Mo),Oo=n(590),Eo=n.n(Oo),Lo=n(591),To=n.n(Lo),Do=n(592),Co=n.n(Do),Po=n(593),jo=n.n(Po),Yo=n(594),Ao=n.n(Yo),Io=n(595),Ro=n.n(Io),$o=n(596),Ho=n.n($o),No=n(597),zo=n.n(No),Fo=n(598),Bo=n.n(Fo),Uo=n(599),Wo=n.n(Uo),Vo=n(600),qo=n.n(Vo),Go=n(601),Ko=n.n(Go),Jo=n(602),Qo=n.n(Jo),Zo=n(603),Xo=n.n(Zo),ei=n(604),ti=n.n(ei),ni=n(605),ri=n.n(ni),oi=n(606),ii=n.n(oi),ai=n(607),si=n.n(ai),li=n(608),ci=n.n(li),ui=n(609),fi=n.n(ui),di=n(610),pi=n.n(di),hi=n(611),mi=n.n(hi),gi=n(612),vi=n.n(gi),yi=n(613),bi=n.n(yi),_i=n(614),wi=n.n(_i),xi=n(615),ki=n.n(xi),Mi=n(616),Si=n.n(Mi),Oi=n(195),Ei=n.n(Oi),Li=n(617),Ti=n.n(Li),Di=n(618),Ci=n.n(Di),Pi=n(619),ji=n.n(Pi),Yi=n(620),Ai=n.n(Yi),Ii=n(621),Ri=n.n(Ii),$i=n(622),Hi=n.n($i),Ni=n(623),zi=n.n(Ni),Fi=n(624),Bi=n.n(Fi),Ui=n(625),Wi=n.n(Ui),Vi=n(626),qi=n.n(Vi),Gi=n(627),Ki=n.n(Gi),Ji=n(628),Qi=n.n(Ji),Zi=n(629),Xi=n.n(Zi),ea=n(630),ta=n.n(ea),na=n(631),ra=n.n(na),oa=n(632),ia=n.n(oa),aa=n(633),sa=n.n(aa),la=n(634),ca=n.n(la),ua=n(635),fa=n.n(ua),da=n(636),pa=n.n(da),ha=n(637),ma=n.n(ha),va=n(638),ya=n.n(va),ba=n(639),_a=n.n(ba),wa=n(640),xa=n.n(wa),ka=n(641),Ma=n.n(ka),Sa=n(642),Oa=n.n(Sa),Ea=n(643),La=n.n(Ea),Ta=n(106),Da=n.n(Ta),Ca=n(156),Pa=n.n(Ca),ja=n(644),Ya=n.n(ja),Aa=n(645),Ia=n.n(Aa),Ra=n(646),$a=n.n(Ra),Ha=n(647),Na=n.n(Ha),za=n(648),Fa=n.n(za),Ba=n(649),Ua=n.n(Ba),Wa=n(650),Va=n.n(Wa),qa=n(651),Ga=n.n(qa),Ka=n(652),Ja=n.n(Ka),Qa=n(653),Za=n.n(Qa),Xa=n(654),es=n.n(Xa),ts=n(655),ns=n.n(ts),rs=n(656),os=n.n(rs),is=n(657),as=n.n(is),ss=n(658),ls=n.n(ss),cs=n(659),us=n.n(cs),fs=n(660),ds=n.n(fs),ps=n(661),hs=n.n(ps),ms=n(662),gs=n.n(ms),vs=n(663),ys=n.n(vs),bs=n(664),_s=n.n(bs),ws=n(665),xs=n.n(ws),ks=n(666),Ms=n.n(ks),Ss=n(667),Os=n.n(Ss),Es=n(668),Ls=n.n(Es),Ts=n(669),Ds=n.n(Ts),Cs=n(670),Ps=n.n(Cs),js=n(671),Ys=n.n(js),As=n(196),Is=n.n(As),Rs=n(672),$s=n.n(Rs),Hs=n(673),Ns=n.n(Hs),zs=n(674),Fs=n.n(zs),Bs=n(675),Us=n.n(Bs),Ws=n(676),Vs=n.n(Ws),qs=n(677),Gs=n.n(qs),Ks=n(678),Js=n.n(Ks),Qs=n(679),Zs=n.n(Qs),Xs=n(680),el=n.n(Xs),tl=n(681),nl=n.n(tl),rl=n(682),ol=n.n(rl),il=n(683),al=n.n(il),sl=n(684),ll=n.n(sl),cl=n(685),ul=n.n(cl),fl=n(686),dl=n.n(fl),pl=n(687),hl=n.n(pl),ml=n(688),gl=n.n(ml),vl=n(689),yl=n.n(vl),bl=n(690),_l=n.n(bl),wl=n(691),xl=n.n(wl),kl=n(692),Ml=n.n(kl),Sl=n(693),Ol=n.n(Sl),El=n(694),Ll=n.n(El),Tl=n(695),Dl=n.n(Tl),Cl=n(696),Pl=n.n(Cl),jl=(pe(me.a,"ActivityIcon"),pe(ve.a,"Add10pxIcon"),pe(be.a,"Add20pxIcon"),pe(we.a,"AddIcon"),pe(ke.a,"AnalyticsIcon"),pe(Se.a,"ArchiveIcon"),pe(Ee.a,"ArrowUpIcon"),pe(Te.a,"ArtifactsIcon"),pe(Ce.a,"Asterisk10pxIcon"),pe(je.a,"AsteriskIcon"),pe(Ae.a,"AttachmentIcon"),pe(Re.a,"AverageIcon"),pe(He.a,"BarsIcon"),pe(ze.a,"BellIcon"),pe(Be.a,"BranchesIcon"),pe(We.a,"BugIcon"),pe(qe.a,"BuildType14pxArrowIcon"),pe(Ke.a,"BuildType14pxFillArrowIcon"),pe(Qe.a,"BuildType14pxFillIcon"),pe(Xe.a,"BuildType14pxIcon"),pe(tt.a,"BuildType20pxArrowIcon"),pe(rt.a,"BuildType20pxFillArrowIcon"),pe(it.a,"BuildType20pxFillIcon"),pe(st.a,"BuildType20pxIcon"),pe(ct.a,"BuildTypeComposite14pxArrowIcon"),pe(ft.a,"BuildTypeComposite14pxFillArrowIcon"),pe(pt.a,"BuildTypeComposite14pxFillIcon"),pe(mt.a,"BuildTypeComposite14pxIcon"),pe(vt.a,"BuildTypeComposite20pxArrowIcon"),pe(bt.a,"BuildTypeComposite20pxFillArrowIcon"),pe(wt.a,"BuildTypeComposite20pxFillIcon"),pe(kt.a,"BuildTypeComposite20pxIcon"),pe(St.a,"BurndownIcon"),pe(Et.a,"CalendarIcon"),pe(Tt.a,"Cancel20pxIcon"),pe(Ct.a,"CancelIcon"),pe(jt.a,"CaretDown10pxIcon"),pe(At.a,"CaretRight10pxIcon"),pe(Rt.a,"ChangeIcon"),pe(p.a,"CheckmarkIcon"),pe(Ht.a,"Chevron10pxIcon"),pe(zt.a,"ChevronDownIcon"),pe(Bt.a,"ChevronLeftIcon"),pe(Wt.a,"ChevronRightIcon"),pe(qt.a,"ChevronUpIcon"),pe(v.a,"CloseIcon"),pe(Kt.a,"CloudIcon"),pe(Qt.a,"CodeIcon"),pe(Xt.a,"CollapseIcon"),pe(tn.a,"CommentIcon"),pe(rn.a,"CompareIcon"),pe(an.a,"CopyIcon"),pe(ln.a,"CropIcon"),pe(un.a,"DataIcon"),pe(dn.a,"DiceIcon"),pe(hn.a,"DisconnectedIcon"),pe(gn.a,"DistributionIcon"),pe(yn.a,"DoubleChevronLeftIcon"),pe(_n.a,"DoubleChevronRightIcon"),pe(xn.a,"DownloadIcon"),pe(Mn.a,"DragIcon"),pe(On.a,"DropIcon"),pe(Ln.a,"EMailIcon"),pe(Dn.a,"EarthIcon"),pe(Pn.a,"EmojiIcon"),pe(Yn.a,"EntryIcon"),pe(In.a,"Exception20pxIcon"),pe(f.a,"ExceptionIcon"),pe($n.a,"ExpandIcon"),pe(Nn.a,"Experiment20pxIcon"),pe(Fn.a,"EyeIcon"),pe(Un.a,"FieldsIcon"),pe(Vn.a,"FileAddAnyIcon"),pe(Gn.a,"FileArchiveIcon"),pe(Jn.a,"FileAsIcon"),pe(Zn.a,"FileAspectjIcon"),pe(er.a,"FileConfigIcon"),pe(nr.a,"FileCssIcon"),pe(or.a,"FileCustomIcon"),pe(ar.a,"FileDiagramIcon"),pe(lr.a,"FileDtdIcon"),pe(ur.a,"FileHtaccessIcon"),pe(dr.a,"FileHtmlIcon"),pe(hr.a,"FileIdlIcon"),pe(gr.a,"FileJavaClassIcon"),pe(yr.a,"FileJavaOutsideSourceIcon"),pe(_r.a,"FileJavaIcon"),pe(xr.a,"FileJsIcon"),pe(Mr.a,"FileJsonDarkIcon"),pe(Or.a,"FileJsonSchemaDarkIcon"),pe(Lr.a,"FileJsonSchemaIcon"),pe(Dr.a,"FileJsonIcon"),pe(Pr.a,"FileJspIcon"),pe(Yr.a,"FileJspxIcon"),pe(Ir.a,"FileManifestIcon"),pe($r.a,"FilePropertiesIcon"),pe(Nr.a,"FileRegexpIcon"),pe(Fr.a,"FileTextIcon"),pe(Ur.a,"FileUiFormIcon"),pe(Vr.a,"FileUnknownIcon"),pe(Gr.a,"FileWsdlIcon"),pe(Jr.a,"FileXhtmlIcon"),pe(Zr.a,"FileXmlIcon"),pe(eo.a,"FileXsdIcon"),pe(no.a,"FileYamlIcon"),pe(oo.a,"FileIcon"),pe(ao.a,"FiltersIcon"),pe(lo.a,"FlagIcon"),pe(uo.a,"FolderIcon"),pe(po.a,"FrownIcon")),Yl=(pe(mo.a,"Gift20pxIcon"),pe(vo.a,"GiftIcon"),pe(bo.a,"GitIcon"),pe(wo.a,"GroupIcon"),pe(ko.a,"Help20pxIcon"),pe(So.a,"HelpIcon"),pe(Eo.a,"HistoryIcon"),pe(To.a,"Hourglass20pxIcon"),pe(Co.a,"HourglassIcon"),pe(jo.a,"IgnoredIcon"),pe(Ao.a,"InfoIcon"),pe(Ro.a,"Investigation14pxIcon"),pe(Ho.a,"InvestigationIcon"),pe(zo.a,"LampIcon"),pe(Bo.a,"LinkIcon"),pe(Wo.a,"LockIcon"),pe(qo.a,"MagicWandIcon"),pe(Ko.a,"Mammoth20pxIcon"),pe(Qo.a,"MarkerIcon"),pe(Xo.a,"MetaIcon"),pe(ti.a,"Modified10pxIcon"),pe(ri.a,"MoreOptionsIcon"),pe(ii.a,"MoveToTopIcon"),pe(si.a,"MoveIcon"),pe(ci.a,"MuteIcon"),pe(fi.a,"MutedIcon"),pe(pi.a,"NewWindowIcon"),pe(mi.a,"NoArtifactsIcon"),pe(vi.a,"Ok20pxIcon"),pe(bi.a,"OkIcon"),pe(wi.a,"OvertimeIcon"),pe(ki.a,"Paused14pxIcon"),pe(Si.a,"PausedIcon"),pe(Ei.a,"PencilIcon"),pe(Ti.a,"PennantIcon"),pe(Ci.a,"PermissionIcon"));pe(ji.a,"PinEmptyIcon"),pe(Ai.a,"PinFilledIcon"),pe(Ri.a,"PlayIcon"),pe(Hi.a,"PrCloseIcon"),pe(zi.a,"PrMergedIcon"),pe(Bi.a,"PrOpenIcon"),pe(Wi.a,"PrUnknownIcon"),pe(qi.a,"PrinterIcon"),pe(Ki.a,"Project14pxArrowIcon"),pe(Qi.a,"Project14pxFillArrowIcon"),pe(Xi.a,"Project14pxFillIcon"),pe(ta.a,"Project14pxIcon"),pe(ra.a,"Project20pxArrowIcon"),pe(ia.a,"Project20pxFillArrowIcon"),pe(sa.a,"Project20pxFillIcon"),pe(ca.a,"Project20pxIcon"),pe(fa.a,"PuzzleIcon"),pe(pa.a,"RateIcon"),pe(ma.a,"RedoIcon"),pe(ya.a,"Remove10pxIcon"),pe(_a.a,"Renamed10pxIcon"),pe(xa.a,"ReviewersGraphIcon"),pe(Ma.a,"Search20pxIcon"),pe(Oa.a,"SearchEmptyIcon"),pe(La.a,"SearchErrorIcon"),pe(Da.a,"SearchIcon"),pe(Pa.a,"Services20pxIcon"),pe(Ya.a,"ServicesIcon"),pe(Ia.a,"Settings20pxIcon"),pe($a.a,"SettingsIcon"),pe(Na.a,"ShieldIcon"),pe(Fa.a,"Spinner20pxIcon"),pe(Ua.a,"SpinnerStaticIcon"),pe(Va.a,"SpinnerIcon"),pe(Ga.a,"StampIcon"),pe(Ja.a,"StarEmpty14pxIcon"),pe(Za.a,"StarEmptyIcon"),pe(es.a,"StarFilled14pxIcon"),pe(ns.a,"StarFilledIcon"),pe(os.a,"StopIcon"),pe(as.a,"TableIcon"),pe(ls.a,"TagIcon"),pe(us.a,"TaskIcon"),pe(ds.a,"Template14pxArrowIcon"),pe(hs.a,"Template14pxIcon"),pe(gs.a,"Template20pxArrowIcon"),pe(ys.a,"Template20pxIcon"),pe(_s.a,"TimeIcon"),pe(xs.a,"TorrentIcon"),pe(Ms.a,"TrashIcon"),pe(Os.a,"TreemapIcon"),pe(Ls.a,"UmbrellaIcon"),pe(Ds.a,"UnauthorizedIcon"),pe(Ps.a,"UndoIcon"),pe(Ys.a,"UnknownOsIcon"),pe(Is.a,"Unsorted10pxIcon"),pe($s.a,"UpdateIcon"),pe(Ns.a,"User20pxIcon"),pe(Fs.a,"UserCancel20pxIcon"),pe(Us.a,"UserCancelIcon"),pe(Vs.a,"UserException20pxIcon"),pe(Gs.a,"UserExceptionIcon"),pe(Js.a,"UserGearIcon"),pe(Zs.a,"UserHourglass20pxIcon"),pe(el.a,"UserHourglassIcon"),pe(nl.a,"UserOk20pxIcon"),pe(ol.a,"UserOkIcon"),pe(al.a,"UserSpinner20pxIcon"),pe(ll.a,"UserSpinnerIcon"),pe(ul.a,"UserWarning20pxIcon"),pe(dl.a,"UserWarningIcon"),pe(hl.a,"UserIcon"),pe(gl.a,"VcsRoot14pxArrowIcon"),pe(yl.a,"VcsRoot14pxIcon"),pe(_l.a,"VcsRoot20pxArrowIcon"),pe(xl.a,"VcsRoot20pxIcon"),pe(Ml.a,"VoteEmptyIcon"),pe(Ol.a,"VoteFilledIcon"),pe(Ll.a,"Warning14pxIcon"),pe(Dl.a,"Warning20pxIcon"),pe(m.a,"WarningIcon"),pe(Pl.a,"WrapIcon");function Al(){return(Al=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Il(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Rl={LIGHT:"light",DARK:"dark"},$l=Object(r.createContext)(),Hl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rl.LIGHT;return function(t){var n=R(Object(r.forwardRef)((function(n,r){var i=n.theme,a=Il(n,["theme"]);return o.a.createElement($l.Consumer,null,(function(n){var s=i||n||e;return o.a.createElement($l.Provider,{value:s},o.a.createElement(t,Al({ref:r},a,{theme:s})))}))})));return Object.assign(n,t),n.displayName=A(t,"withTheme"),n}};var Nl=Rl;n(37),n(25),n(177),n(99);function zl(e){return(zl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fl(e){return function(e){if(Array.isArray(e))return Wl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Ul(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||Ul(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ul(e,t){if(e){if("string"==typeof e)return Wl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wl(e,t):void 0}}function Wl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vl(e){return Object.entries(e).reduce((function(e,t){var n=Bl(t,2),r=n[0];return n[1]?[].concat(Fl(e),[r]):e}),[])}function ql(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return!!e})).reduce((function(e,t){return"object"===zl(t)?[].concat(Fl(e),Fl(Vl(t))):[].concat(Fl(e),[t])}),[]).join(" ")}var Gl=n(76),Kl=n.n(Gl);n(44),n(45),n(29),n(791),n(59);function Jl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ql(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ql(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ql(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Zl=W((function(e){var t=Jl(e.split(": "),2),n=t[0],r=t[1],o=n.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()})),i=document.createElement("div");return void 0!==i.style[o]&&(!r||(i.style[o]=r,Boolean(i.style[o])))}));function Xl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ec(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xl(Object(n),!0).forEach((function(t){tc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nc=W((function(e){var t=e.stops,n=e.size;return Zl("background-image: conic-gradient(white, black)")?"conic-gradient(".concat(t,")"):new ConicGradient({stops:t,size:n})})),rc=function(e,t,n){var r=nc({stops:t,size:n});return!e.supports&&r instanceof ConicGradient&&Object.defineProperty(r,"svg",{value:r.svg.replace("<image ","\n ".concat(e.svgDefs,' \n <image mask="url(#').concat(e.maskId,')" '))}),ec(ec({},e.css),{},{"background-image":r.toString()})};function oc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ic(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ic(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ic(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ac=function(e,t){return n="\n".concat(e," {\n ").concat(Object.entries(t).map((function(e){var t=oc(e,2),n=t[0],r=t[1];return"".concat(n,": ").concat(r,";")})).join("\n "),"\n}"),(r=document.createElement("style")).setAttribute("type","text/css"),r.textContent=n,document.head.appendChild(r),r;var n,r},sc={};function lc(e){if(!e)throw Error('Argument "name" is required in getUID()');return sc[e]||(sc[e]=0),e+String(sc[e]++)}function cc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return uc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uc(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dc=function(e,t){return"radial-gradient(".concat(e,", ").concat(Object.entries(t).map((function(e){return e.join(" ")})).join(", "),")")},pc=W((function(){var e=function(e,t){for(var n=0,r=["","-webkit-"];n<r.length;n++){var o="".concat(r[n],"mask-image"),i="".concat(o,": radial-gradient(black, white)");if(Zl(i))return{supports:!0,css:fc({},o,dc(e,t))}}var a=lc("gradient"),s=lc("mask");return{supports:!1,css:{},maskId:s,svgDefs:'\n <svg>\n <defs>\n <radialGradient id="'.concat(a,'">\n ').concat(Object.entries(t).map((function(e){var t=cc(e,2),n=t[0],r=t[1];return'\n <stop offset="'.concat(r,'" stop-color="').concat(n,'"/>\n ')})).join(""),'\n </radialGradient>\n <mask id="').concat(s,'">\n <rect height="100%" width="100%" fill="url(#').concat(a,')"/>\n </mask>\n </defs>\n </svg>\n ')}}(Kl.a.unit,{transparent:"".concat(71.875,"%"),white:"".concat(78.125,"%")});ac(".".concat(Kl.a.loader,"_").concat([Nl.LIGHT],"::after, .ring-loader-inline::after"),rc(e,"#ff00eb,#bd3bff,#008eff, #58ba00,#f48700,#ff00eb",32)),ac(".".concat(Kl.a.loader,"_").concat([Nl.DARK],"::after, .ring-loader-inline_dark::after"),rc(e,"#ff2eef,#d178ff,#289fff,#88d444,#ffe000,#ff2eef",32))}));function hc(e){return(hc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mc(){return(mc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function gc(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function vc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bc(e,t){return(bc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=xc(e);if(t){var o=xc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wc(this,n)}}function wc(e,t){return!t||"object"!==hc(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function xc(e){return(xc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function kc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bc(e,t)}(a,e);var t,n,r,i=_c(a);function a(){return vc(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"componentDidMount",value:function(){pc()}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.theme,r=e["data-test"],i=e.children,a=gc(e,["className","theme","data-test","children"]),l=s()(Kl.a.loader,t,"".concat(Kl.a.loader,"_").concat(n)),c=o.a.createElement("div",mc({},a,{"data-test":ql("ring-loader-inline",r),className:l}));return i?o.a.createElement(o.a.Fragment,null,c,o.a.createElement("span",{className:Kl.a.children},i)):c}}])&&yc(t.prototype,n),r&&yc(t,r),a}(r.PureComponent);kc(Mc,"propTypes",{theme:c.a.oneOf(Object.values(Nl)),className:c.a.string,"data-test":c.a.string,children:c.a.node}),kc(Mc,"Theme",Nl);var Sc=Hl()(Mc);n(178),n(100);function Oc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ec=window.getComputedStyle.bind(window);function Lc(e){return e===document||e instanceof Node&&document.documentElement.contains(e.parentNode)}var Tc={top:0,right:0,bottom:0,left:0,width:0,height:0};function Dc(e){if(e instanceof Range||Lc(e)){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}return Object.assign({},Tc)}function Cc(){return"devicePixelRatio"in window?window.devicePixelRatio:1}function Pc(){return window.innerHeight}function jc(){return document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop}var Yc=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";n.split(/\s+/g).filter((function(e){return!!e})).forEach((function(n){return t[e](n)}))}},Ac=Yc("add"),Ic=Yc("remove");var Rc=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"_all",new Set)}var t,n,r;return t=e,(n=[{key:"add",value:function(e,t,n,r){e.addEventListener(t,n,r);var o=function(){return e.removeEventListener(t,n,r)};return this._all.add(o),o}},{key:"remove",value:function(e){e(),this._all.delete(e)}},{key:"removeAll",value:function(){var e=this;this._all.forEach((function(t){return e.remove(t)}))}}])&&Oc(t.prototype,n),r&&Oc(t,r),e}();function $c(e){e.preventDefault&&e.preventDefault()}var Hc=n(79),Nc=n.n(Hc),zc=n(258),Fc=n.n(zc);function Bc(e){return(Bc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Uc(){return(Uc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Wc(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Vc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gc(e,t){return(Gc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Kc(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qc(e);if(t){var o=Qc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Jc(this,n)}}function Jc(e,t){return!t||"object"!==Bc(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Qc(e){return(Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Zc,Xc,eu=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gc(e,t)}(c,e);var t,n,a,l=Kc(c);function c(){return Vc(this,c),l.apply(this,arguments)}return t=c,(n=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,a=Wc(e,["children","className"]),l=s()(Fc.a.alertContainer,n);return r.Children.count(t)>0?Object(i.createPortal)(o.a.createElement("div",Uc({"data-test":"alert-container",className:l,"aria-live":"polite"},a),r.Children.map(t,(function(e){var t=s()(Fc.a.alertInContainer,e.props.className);return Object(r.cloneElement)(e,{className:t})}))),document.body):null}}])&&qc(t.prototype,n),a&&qc(t,a),c}(r.PureComponent);function tu(e){return(tu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ru(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ou(e,t){return(ou=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function iu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=lu(e);if(t){var o=lu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return au(this,n)}}function au(e,t){return!t||"object"!==tu(t)&&"function"!=typeof t?su(e):t}function su(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lu(e){return(lu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function cu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(eu,"propTypes",{children:c.a.node,className:c.a.string});var uu={ERROR:"error",MESSAGE:"message",SUCCESS:"success",WARNING:"warning",LOADING:"loading"},fu=(cu(Zc={},uu.ERROR,f.a),cu(Zc,uu.SUCCESS,p.a),cu(Zc,uu.WARNING,m.a),Zc),du=(cu(Xc={},uu.ERROR,de.Color.RED),cu(Xc,uu.SUCCESS,de.Color.GREEN),cu(Xc,uu.WARNING,de.Color.WHITE),Xc),pu=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ou(e,t)}(a,e);var t,n,r,i=iu(a);function a(){var e;nu(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return cu(su(e=i.call.apply(i,[this].concat(n))),"state",{height:null}),cu(su(e),"closeRequest",(function(){var t,n=Dc(e.node).height;return e.setState({height:n}),(t=e.props).onCloseRequest.apply(t,arguments)})),cu(su(e),"_handleCaptionsLinksClick",(function(t){t.target.matches("a")&&e.closeRequest(t)})),cu(su(e),"storeAlertRef",(function(t){e.node=t})),e}return t=a,(n=[{key:"componentDidMount",value:function(){this.props.timeout>0&&(this.hideTimeout=setTimeout(this.closeRequest,this.props.timeout))}},{key:"componentDidUpdate",value:function(){this.props.isClosing&&this._close()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.hideTimeout)}},{key:"_close",value:function(){var e=this;setTimeout((function(){e.props.onClose()}),500)}},{key:"_getCaption",value:function(){return o.a.createElement("span",{className:s()(Nc.a.caption,this.props.captionClassName),onClick:this._handleCaptionsLinksClick,role:"presentation"},this.props.children)}},{key:"_getIcon",value:function(){var e=fu[this.props.type];return e?o.a.createElement(de,{glyph:e,className:Nc.a.icon,color:du[this.props.type]||de.Color.DEFAULT}):this.props.type===uu.LOADING?o.a.createElement(Sc,{className:Nc.a.loader,theme:Sc.Theme.DARK}):""}},{key:"render",value:function(){var e,t=this.props,n=t.type,r=t.inline,i=t.isClosing,a=t.isShaking,l=t.showWithAnimation,c=t.className,u=t["data-test"],f=s()(c,(cu(e={},Nc.a.alert,!0),cu(e,Nc.a.animationOpen,l),cu(e,Nc.a.error,"error"===n),cu(e,Nc.a.alertInline,r),cu(e,Nc.a.animationClosing,i),cu(e,Nc.a.animationShaking,a),e)),d=this.state.height?{marginBottom:-this.state.height}:null;return o.a.createElement("div",{className:f,"data-test":ql("alert",u),"data-test-type":n,style:d,ref:this.storeAlertRef},this._getIcon(),this._getCaption(),this.props.closeable?o.a.createElement("button",{type:"button",className:Nc.a.close,"data-test":"alert-close","aria-label":"close alert",onClick:this.closeRequest},o.a.createElement(de,{glyph:v.a})):"")}}])&&ru(t.prototype,n),r&&ru(t,r),a}(r.PureComponent);function hu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hu(Object(n),!0).forEach((function(t){wu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gu(){return(gu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function vu(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function yu(e){return function(e){if(Array.isArray(e))return bu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return bu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bu(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}cu(pu,"propTypes",{timeout:c.a.number,onCloseRequest:c.a.func,onClose:c.a.func,isShaking:c.a.bool,isClosing:c.a.bool,inline:c.a.bool,showWithAnimation:c.a.bool,closeable:c.a.bool,type:c.a.oneOf(Object.values(uu)),children:c.a.node,className:c.a.string,captionClassName:c.a.string,"data-test":c.a.string}),cu(pu,"defaultProps",{closeable:!0,showWithAnimation:!0,type:uu.MESSAGE,inline:!0,isClosing:!1,isShaking:!1,timeout:0,onClose:function(){},onCloseRequest:function(){}}),cu(pu,"Type",uu);var xu=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),wu(this,"defaultTimeout",0),wu(this,"showingAlerts",[]),wu(this,"containerElement",document.createElement("div"))}var t,n,r;return t=e,(n=[{key:"_getShowingAlerts",value:function(){return yu(this.showingAlerts)}},{key:"renderAlertContainer",value:function(e){return 0===e.length?o.a.createElement("span",null):o.a.createElement(eu,null,e.map((function(e){var t=e.message,n=e.key,r=vu(e,["message","key"]);return o.a.createElement(pu,gu({key:n},r),t)})))}},{key:"renderAlerts",value:function(){Object(i.render)(this.renderAlertContainer(this.showingAlerts),this.containerElement)}},{key:"findSameAlert",value:function(e,t){return this.showingAlerts.filter((function(n){return n.type===t&&n.message===e}))[0]}},{key:"startAlertClosing",value:function(e){e.isClosing=!0,this.renderAlerts()}},{key:"remove",value:function(e){var t=this.showingAlerts.filter((function(t){return t.key===e}))[0];t&&this.startAlertClosing(t)}},{key:"removeWithoutAnimation",value:function(e){this.showingAlerts=this.showingAlerts.filter((function(t){return t.key!==e})),this.renderAlerts()}},{key:"stopShakingWhenAnimationDone",value:function(e){var t=this;setTimeout((function(){e.showWithAnimation=!1,e.isShaking=!1,t.renderAlerts()}),500)}},{key:"addAlert",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.defaultTimeout,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=this.findSameAlert(e,t);if(i)return i.isShaking=!0,this.renderAlerts(),this.stopShakingWhenAnimationDone(i),i.key;var a=mu({key:lc("alert-service-"),message:e,type:t,timeout:r,isClosing:!1,onCloseRequest:function(){return n.startAlertClosing(a)},onClose:function(){return n.removeWithoutAnimation(a.key)}},o);return this.showingAlerts=[a].concat(yu(this.showingAlerts)),this.renderAlerts(),a.key}},{key:"setDefaultTimeout",value:function(e){this.defaultTimeout=e}},{key:"error",value:function(e,t){return this.addAlert(e,pu.Type.ERROR,t)}},{key:"message",value:function(e,t){return this.addAlert(e,pu.Type.MESSAGE,t)}},{key:"warning",value:function(e,t){return this.addAlert(e,pu.Type.WARNING,t)}},{key:"successMessage",value:function(e,t){return this.addAlert(e,pu.Type.SUCCESS,t)}},{key:"loadingMessage",value:function(e,t){return this.addAlert(e,pu.Type.LOADING,t)}}])&&_u(t.prototype,n),r&&_u(t,r),e}());function ku(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Mu=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._plugins=[]}var t,n,r;return t=e,(n=[{key:"config",value:function(e){this._plugins=e}},{key:"track",value:function(e,t){if(e){var n=e.indexOf(":");n<0&&(n=e.indexOf("_")),n<0&&(n=e.length);var r=e.substr(0,n),o=e.substr(n+1);this.trackEvent(r,o,t)}}},{key:"trackPageView",value:function(e){this._plugins.forEach((function(t){t.trackPageView(e)}))}},{key:"trackEvent",value:function(e,t,n){var r=n?t+this._buildSuffix(n):null;this._plugins.forEach((function(n){n.trackEvent(e,t),r&&n.trackEvent(e,r)}))}},{key:"trackShortcutEvent",value:function(e,t,n){this.trackEvent(e,t,n),this.trackEvent("ring-shortcut","".concat(e,"$").concat(t),n)}},{key:"trackEntityProperties",value:function(e,t,n,r){for(var o=0;o<n.length;++o){var i=n[o].split("."),a=t;if(i.length){for(var s=0;s<i.length;++s){if(!a.hasOwnProperty(i[s])){a="no-value";break}a=a[i[s]]}"string"==typeof a&&(a=a.toLowerCase().replace(/[._]+/g,"-"));var l="".concat(i.join("-"),"__").concat(a);this.trackEvent(e,l,r)}}}},{key:"_buildSuffix",value:function(e){if(!e)return"";var t,n="";for(t in e)e.hasOwnProperty(t)&&(n+="__".concat(t,"$").concat(e[t]));return n}}])&&ku(t.prototype,n),r&&ku(t,r),e}()),Su=n(5),Ou=n.n(Su);function Eu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Lu=function(){function e(t,n,r){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t||n)&&(!function(e,t,n,r,o,i,a){e.GoogleAnalyticsObject=o,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,i=t.createElement(n),a=t.getElementsByTagName(n)[0],i.async=1,i.src="//www.google-analytics.com/analytics.js",a.parentNode.insertBefore(i,a)}(window,document,"script",0,"ga"),ga("create",t||"UA-57284711-1",t?r?{cookieDomain:r}:{}:{cookieDomain:"none"}),ga("set","anonymizeIp",!0),ga("set","allowAdFeatures",!1))}var t,n,r;return t=e,(n=[{key:"trackEvent",value:function(e,t){window.ga&&ga("send","event",{eventCategory:e,eventAction:t})}},{key:"trackPageView",value:function(e){window.ga&&ga("send","pageview",e)}}])&&Eu(t.prototype,n),r&&Eu(t,r),e}(),Tu=(n(794),{});Tu.reformatString=function(e,t){var n=t?/[.:;!@#^&*(){}\[\]?,%=+\\\/]+/g:/[.:;!@#^&*(){}\[\]?,%=+\\]+/g;return String(e).replace(n,"_")},Tu.getPageViewDurationPresentation=function(e){var t=e/1e3;if(t>3600)return"more-than-hour";var n=Math.floor(Math.pow(2,Math.floor(Math.log2(t))+1));return"less-than-".concat(n=n>0?n:1,"-sec")},Tu.getScreenWidthPresentation=function(){for(var e=[0,768,992,1200],t=1;t<e.length;++t)if(window.innerWidth<e[t])return"[".concat(e[t-1],"px;").concat(e[t],"px)");return"[1200px;inf)"},Tu.npeSaveLowerCase=function(e){return(e||"unknown").toLowerCase()},Tu.getUserAgentPresentation=function(){var e=Tu.npeSaveLowerCase(U.browser.name||"unknown"),t=U.browser.version[0]||"unknown";return"".concat(e,"$").concat(t)},Tu.getDevicePixelRatioPresentation=function(){return window.devicePixelRatio&&window.devicePixelRatio.toFixed?String(window.devicePixelRatio.toFixed(1)):"unknown"};var Du=Tu;function Cu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Pu=function(){function e(t,n,r,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._data=[],this.config({send:t,isDevelopment:n,flushInterval:r,flushingAllowedChecker:o})}var t,n,r;return t=e,(n=[{key:"config",value:function(e){var t=this,n=e.flushingAllowedChecker;"function"!=typeof n&&(n=function(){return!0}),this._flush=function(){t._data.length>0&&n()&&(e.send(t._data),t._data=[])},this._isDevelopment=e.isDevelopment,this._flushInterval=e.flushInterval||1e4,this._flushMaxPackSize=e.flushMaxPackSize||100}},{key:"trackEvent",value:function(e,t){this._processEvent(e,t)}},{key:"trackPageView",value:function(e){this._lastPagePath!==e&&(this._trackPageViewAdditionalInfo(e),this._processEvent("ring-page",e),this._processEvent("ring-navigator_user-agent",Du.getUserAgentPresentation()),this._processEvent("ring-navigator_platform",Du.npeSaveLowerCase(navigator.platform)),this._processEvent("ring-navigator_lang",Du.npeSaveLowerCase(navigator.language)),this._processEvent("ring-device-pixel-ratio",Du.getDevicePixelRatioPresentation()),this._processEvent("ring-screen-width",Du.getScreenWidthPresentation()))}},{key:"_initSendSchedule",value:function(){var e=this;window.addEventListener("beforeunload",(function(){return e._trackPageViewAdditionalInfo(),e._flush()})),setInterval(this._flush,this._flushInterval),this._hasSendSchedule=!0}},{key:"_processEvent",value:function(e,t){!this._hasSendSchedule&&this._flush&&this._initSendSchedule();var n=Du.reformatString(e,!0),r=Du.reformatString(t);this._isDevelopment&&console.log("TRACKING DATA = ",n,r),this._addDataToFlushingPack({category:n,action:r})}},{key:"_trackPageViewAdditionalInfo",value:function(e){var t=(new Date).getTime();if(this._lastPagePath&&this._lastPageViewTime){var n=Du.getPageViewDurationPresentation(t-this._lastPageViewTime);this._processEvent("ring-pageview-duration_".concat(this._lastPagePath),n)}this._lastPageViewTime=t,this._lastPagePath=e}},{key:"_addDataToFlushingPack",value:function(e){this._data.push(e),this._data.length>=this._flushMaxPackSize&&this._flush()}}])&&Cu(t.prototype,n),r&&Cu(t,r),e}(),ju=Ou.a.module("Ring.analytics",[]);ju.provider("analytics",(function(){var e=[];this.plugins=function(t){e=t},this.$get=["$log","$injector",function(t,n){for(var r=[],o=0;o<e.length;++o)if("string"==typeof e[o])try{var i=n.get(e[o]);r.push(i),t.debug("analytics: loaded plugin ".concat(e[o]))}catch(n){t.debug("analytics: unable to load factory ".concat(e[o]))}else r.push(e[o]);return Mu.config(r),Mu}]})),ju.constant("AnalyticsGAPlugin",Lu),ju.constant("AnalyticsCustomPlugin",Pu),ju.run(["$rootScope","analytics",function(e,t){e.$on("$routeChangeSuccess",(function(e,n){n&&n.$$route&&n.$$route.originalPath&&t.trackPageView(n.$$route.originalPath)}))}]),ju.directive("rgAnalytics",["analytics",function(e){return{restrict:"A",replace:!1,link:function(t,n){var r=n.attr("rg-analytics-on")||"click";Ou.a.element(n).bind(r,(function(){e.track(n.attr("rg-analytics"))}))}}}]);ju.name,n(46),n(64);function Yu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Au(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Iu=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Yu(this,t);var n=Au(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return Object.defineProperty(n,"message",{configurable:!0,enumerable:!1,value:e,writable:!0}),Object.defineProperty(n,"name",{configurable:!0,enumerable:!1,value:n.constructor.name,writable:!0}),Error.hasOwnProperty("captureStackTrace")?(Error.captureStackTrace(n,n.constructor),Au(n)):(Object.defineProperty(n,"stack",{configurable:!0,enumerable:!1,value:new Error(e).stack,writable:!0}),n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(function(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}(Error)),Ru=(n(179),/^[a-z]+:\/\//i);function $u(){var e=document.getElementsByTagName("base")[0];return e?e.href:void 0}function Hu(e){if(null==e)return{};var t,n=/([^&;=]+)=?([^&;]*)/g,r={};function o(e){return decodeURIComponent(e.replace(/\+/g," "))}for(;null!=(t=n.exec(e));)r[o(t[1])]=o(t[2]);return r}function Nu(e,t){var n,r=-1===e.indexOf("?")?"?":"&",o=e,i=0;for(n in t)t.hasOwnProperty(n)&&null!=t[n]&&(o+=(0==i++?r:"&")+encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return o}function zu(e){return 0===e.indexOf("data:")}function Fu(e){return(Fu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Bu(e,t){return(Bu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Uu(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Vu(e);if(t){var o=Vu(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Wu(this,n)}}function Wu(e,t){return!t||"object"!==Fu(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Vu(e){return(Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ku=function(){function e(){qu(this,e),this._authResponse=this.readAuthResponseFromURL()}var t,n,r;return t=e,r=[{key:"convertKey",value:function(e){return e.replace(/_([a-z])/g,(function(e,t){return t.toUpperCase()}))}}],(n=[{key:"getAuthResponseFromURL",value:function(){return this.validateAuthResponse(this._authResponse)}},{key:"validateAuthResponse",value:function(t){if(t.error)throw new e.AuthError(t);return t.accessToken?t:null}},{key:"readAuthResponseFromURL",value:function(){var t={},n=Hu(this.getHash());return Object.keys(n).forEach((function(r){-1===r.indexOf("_")?t[r]=n[r]:t[e.convertKey(r)]=n[r]})),t}},{key:"getHash",value:function(){var e=this.getLocation();return e&&e.replace(/^[^#]*#?/,"")}},{key:"getLocation",value:function(){return window.location.toString()}}])&&Gu(t.prototype,n),r&&Gu(t,r),e}();function Ju(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Qu(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(Ku,"AuthError",function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bu(e,t)}(n,e);var t=Uu(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return qu(this,n),(e=t.call(this,r.errorDescription)).code=r.error,e.uri=r.errorUri,e.stateId=r.state,e}return n}(Iu));var Xu="edge"===U.browser.name,ef=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Zu(this,"_timeoutId",null),Zu(this,"checkIsClosed",(function(){r._loginWindow.closed?r.stop():r._timeoutId=setTimeout(r.checkIsClosed,200)})),Zu(this,"_reset",(function(){r._promise=null,r._loginWindow=null,clearTimeout(r._timeoutId)})),this._requestBuilder=t,this._storage=n,this._reset()}var t,n,r,o,i;return t=e,(n=[{key:"_openWindow",value:function(e){var t=(window.screen.height-700-50)/2,n=(window.screen.width-750)/2,r=window.open(Xu?null:e,"HubLoginWindow","height=".concat(700,", width=").concat(750,", left=").concat(n,", top=").concat(t));return Xu&&setTimeout((function(){r.location=e}),0),r}},{key:"_load",value:(o=regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._requestBuilder.prepareAuthRequest({request_credentials:"required",auth_mode:"bypass_to_login"},{nonRedirect:!0});case 2:return t=e.sent,e.abrupt("return",new Promise((function(e,r){var o;n.reject=r;var i=function(){o||(o=!0,s(),a(),n._loginWindow.close(),clearTimeout(n._timeoutId))},a=n._storage.onTokenChange((function(t){t&&(i(),e(t.accessToken))})),s=n._storage.onStateChange(t.stateId,(function(e){e&&e.error&&(i(),r(new Ku.AuthError(e)))}));null===n._loginWindow||!0===n._loginWindow.closed?n._loginWindow=n._openWindow(t.url):n._loginWindow.location=t.url,n.checkIsClosed()})));case 4:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){Ju(i,n,r,a,s,"next",e)}function s(e){Ju(i,n,r,a,s,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"stop",value:function(){null!==this._loginWindow&&this._loginWindow.close(),this.reject&&this.reject("Authorization window closed"),this._reset()}},{key:"authorize",value:function(){return null!==this._promise&&null!==this._loginWindow&&!0!==this._loginWindow.closed?(this._loginWindow.focus(),this._promise):(this._promise=this._load(),this._promise.then(this._reset,this._reset),this._promise)}}])&&Qu(t.prototype,n),r&&Qu(t,r),e}();n(180);function tf(e){return(tf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nf(){return(nf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function rf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function of(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function af(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sf(e,t){return(sf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function lf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ff(e);if(t){var o=ff(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return cf(this,n)}}function cf(e,t){return!t||"object"!==tf(t)&&"function"!=typeof t?uf(e):t}function uf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ff(e){return(ff=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function df(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pf=function(e){return!(0!==e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)},hf=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sf(e,t)}(a,e);var t,n,r,i=lf(a);function a(){var e;of(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return df(uf(e=i.call.apply(i,[this].concat(n))),"onClick",(function(t){var n=e.props,r=n.onClick,o=n.onConditionalClick,i=n.onPlainLeftClick,a=pf(t);r&&r(t),o&&o(a,t),i&&a&&(t.preventDefault(),i(t))})),e}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=(e.onConditionalClick,e.onPlainLeftClick,e.activeClassName,e.href),n=e.children,r=rf(e,["onConditionalClick","onPlainLeftClick","activeClassName","href","children"]);return o.a.createElement("a",nf({href:t},r,{onClick:this.onClick}),n)}}])&&af(t.prototype,n),r&&af(t,r),a}(r.PureComponent);df(hf,"propTypes",{onClick:c.a.func,onPlainLeftClick:c.a.func,onConditionalClick:c.a.func,activeClassName:c.a.string,href:c.a.string.isRequired,children:c.a.node.isRequired});var mf=n(67),gf=n.n(mf);function vf(e){return(vf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yf(){return(yf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function bf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function _f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xf(e,t){return(xf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Sf(e);if(t){var o=Sf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Mf(this,n)}}function Mf(e,t){return!t||"object"!==vf(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Sf(e){return(Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Of(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ef=!1;var Lf=W((function(e){var t=R((function(t){var n=t.className,r=t.children,i=s()(gf.a.inner,n,e);return o.a.createElement("span",{className:i},r)}));return t.propTypes={className:c.a.string,children:c.a.node},t}));function Tf(e){var t,n,i="string"!=typeof e&&e!==hf;return n=t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xf(e,t)}(c,t);var n,r,a,l=kf(c);function c(){return _f(this,c),l.apply(this,arguments)}return n=c,(r=[{key:"getChildren",value:function(){var e=this.props,t=e.children,n=e.innerClassName,r=Lf(n);return"function"==typeof t?t(r):o.a.createElement(r,null,t)}},{key:"render",value:function(){var t,n=this.props,r=n.active,a=n.inherit,l=n.pseudo,c=n.hover,u=n.className,f=n["data-test"],d=n.href,p=(n.innerClassName,n.children,n.onPlainLeftClick),h=n.onClick,m=bf(n,["active","inherit","pseudo","hover","className","data-test","href","innerClassName","children","onPlainLeftClick","onClick"]),g=l||!i&&null==d,v=s()(gf.a.link,u,(Of(t={},gf.a.active,r),Of(t,gf.a.inherit,a),Of(t,gf.a.hover,c),Of(t,gf.a.compatibilityUnderlineMode,Ef),Of(t,gf.a.pseudo,g),t));return i&&!m.activeClassName&&(m.activeClassName=gf.a.active),g?o.a.createElement("button",yf({type:"button"},m,{className:v,onClick:h||p,"data-test":ql("ring-link",f)}),this.getChildren()):o.a.createElement(e,yf({},m,{href:d,className:v,onClick:h,onPlainLeftClick:p,"data-test":ql("ring-link",f)}),this.getChildren())}}])&&wf(n.prototype,r),a&&wf(n,a),c}(r.Component),Of(t,"propTypes",{className:c.a.string,innerClassName:c.a.string,active:c.a.bool,inherit:c.a.bool,pseudo:c.a.bool,hover:c.a.bool,children:c.a.oneOfType([c.a.node,c.a.func]),"data-test":c.a.string,href:c.a.string,onPlainLeftClick:c.a.func,onClick:c.a.func}),n}var Df=Tf(hf),Cf=n(197),Pf=n.n(Cf);function jf(e){return(jf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Yf(){return(Yf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Af(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function If(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $f(e,t){return($f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Hf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=zf(e);if(t){var o=zf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Nf(this,n)}}function Nf(e,t){return!t||"object"!==jf(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function zf(e){return(zf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ff=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$f(e,t)}(a,e);var t,n,r,i=Hf(a);function a(){return If(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=Af(e,["children","className"]),i=s()(Pf.a.group,n);return o.a.createElement("span",Yf({},r,{className:i}),t)}}])&&Rf(t.prototype,n),r&&Rf(t,r),a}(r.Component);!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(Ff,"propTypes",{children:c.a.node,className:c.a.string});var Bf=n(259),Uf=n.n(Bf);function Wf(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Vf(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Wf(i,r,o,a,s,"next",e)}function s(e){Wf(i,r,o,a,s,"throw",e)}a(void 0)}))}}var qf=null;function Gf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pu.Type.WARNING,n=xu.showingAlerts.filter((function(e){return e.key===qf}))[0];n?(n.message=e,n.type=t,xu.renderAlerts()):qf=xu.addAlert(e,t,0,{closeable:!1})}function Kf(e){var t=e.translations,n=e.onCheckAgain,r=t.backendIsNotAvailable,i=t.checkAgain,a=t.errorMessage;return o.a.createElement("div",{"data-test":"ring-backend-down-notification"},o.a.createElement(Ff,null,o.a.createElement("div",{className:Uf.a.title},r)),o.a.createElement("span",{className:Uf.a.error},a," "),o.a.createElement(Df,{onClick:n,"data-test":"check-again"},i))}n(292),n(225),n(101),n(116);function Jf(e){return function(e){if(Array.isArray(e))return Qf(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Qf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qf(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Xf=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.removeAll()}var t,n,r;return t=e,(n=[{key:"trigger",value:function(e,t){var n=this._all.get(e);return n?Promise.all(Jf(n).map((function(e){return e(t)}))):Promise.resolve([])}},{key:"add",value:function(e,t){var n=this._all.get(e);n||(n=new Set,this._all.set(e,n)),n.add(t)}},{key:"remove",value:function(e,t){var n=this._all.get(e);n&&n.delete(t)}},{key:"removeAll",value:function(){this._all=new Map}}])&&Zf(t.prototype,n),r&&Zf(t,r),e}(),ed=(n(226),"URLSearchParams"in self),td="Symbol"in self&&"iterator"in Symbol,nd="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),rd="FormData"in self,od="ArrayBuffer"in self;if(od)var id=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ad=ArrayBuffer.isView||function(e){return e&&id.indexOf(Object.prototype.toString.call(e))>-1};function sd(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function ld(e){return"string"!=typeof e&&(e=String(e)),e}function cd(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return td&&(t[Symbol.iterator]=function(){return t}),t}function ud(e){this.map={},e instanceof ud?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function fd(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function dd(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function pd(e){var t=new FileReader,n=dd(t);return t.readAsArrayBuffer(e),n}function hd(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function md(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:nd&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:rd&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ed&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():od&&nd&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=hd(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):od&&(ArrayBuffer.prototype.isPrototypeOf(e)||ad(e))?this._bodyArrayBuffer=hd(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ed&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},nd&&(this.blob=function(){var e=fd(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?fd(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(pd)}),this.text=function(){var e,t,n,r=fd(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=dd(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},rd&&(this.formData=function(){return this.text().then(yd)}),this.json=function(){return this.text().then(JSON.parse)},this}ud.prototype.append=function(e,t){e=sd(e),t=ld(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ud.prototype.delete=function(e){delete this.map[sd(e)]},ud.prototype.get=function(e){return e=sd(e),this.has(e)?this.map[e]:null},ud.prototype.has=function(e){return this.map.hasOwnProperty(sd(e))},ud.prototype.set=function(e,t){this.map[sd(e)]=ld(t)},ud.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ud.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),cd(e)},ud.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),cd(e)},ud.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),cd(e)},td&&(ud.prototype[Symbol.iterator]=ud.prototype.entries);var gd=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function vd(e,t){var n,r,o=(t=t||{}).body;if(e instanceof vd){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ud(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new ud(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),gd.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function yd(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function bd(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new ud(t.headers),this.url=t.url||"",this._initBody(e)}vd.prototype.clone=function(){return new vd(this,{body:this._bodyInit})},md.call(vd.prototype),md.call(bd.prototype),bd.prototype.clone=function(){return new bd(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ud(this.headers),url:this.url})},bd.error=function(){var e=new bd(null,{status:0,statusText:""});return e.type="error",e};var _d=[301,302,303,307,308];bd.redirect=function(e,t){if(-1===_d.indexOf(t))throw new RangeError("Invalid status code");return new bd(null,{status:t,headers:{location:e}})};var wd=self.DOMException;try{new wd}catch(e){(wd=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),wd.prototype.constructor=wd}function xd(e,t){return new Promise((function(n,r){var o=new vd(e,t);if(o.signal&&o.signal.aborted)return r(new wd("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var e,t,r={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",t=new ud,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};r.url="responseURL"in i?i.responseURL:r.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;n(new bd(o,r))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.onabort=function(){r(new wd("Aborted","AbortError"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&nd&&(i.responseType="blob"),o.headers.forEach((function(e,t){i.setRequestHeader(t,e)})),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}function kd(e){return(kd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Md(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Md(Object(n),!0).forEach((function(t){Dd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Md(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Od(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ed(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Ld(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Ed(i,r,o,a,s,"next",e)}function s(e){Ed(i,r,o,a,s,"throw",e)}a(void 0)}))}}function Td(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pd(e,t){return(Pd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function jd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ad(e);if(t){var o=Ad(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Yd(this,n)}}function Yd(e,t){return!t||"object"!==kd(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ad(e){return(Ad=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}xd.polyfill=!0,self.fetch||(self.fetch=xd,self.Headers=ud,self.Request=vd,self.Response=bd);var Id={headers:{"Content-Type":"application/json",Accept:"application/json"},credentials:"same-origin"},Rd=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}(n,e);var t=jd(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Cd(this,n),(r=t.call(this,"".concat(e.status," ").concat(e.statusText||""))).data=o,r.status=e.status,r}return n}(Iu),$d=401,Hd=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Cd(this,e),Dd(this,"baseUrl",null),Dd(this,"_requestsMeta",new WeakMap),Dd(this,"setAuth",(function(e){r.requestToken=function(){return e.requestToken()},r.shouldRefreshToken=e.constructor.shouldRefreshToken,r.forceTokenUpdate=function(){return e.forceTokenUpdate()}})),Dd(this,"setBaseUrl",(function(e){r.baseUrl=e})),Dd(this,"fetch",function(){var e=Ld(regeneratorRuntime.mark((function e(t){var n,o,i,a,s,l,c=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=c.length>1&&void 0!==c[1]?c[1]:{},o=n.body,i=n.query,a=void 0===i?{}:i,s=Od(n,["body","query"]),e.next=4,r._fetch(r._makeRequestUrl(t,a),Sd(Sd({},s),{},{body:o?JSON.stringify(o):o}));case 4:return l=e.sent,e.abrupt("return",r._processResponse(l));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Dd(this,"request",function(){var e=Ld(regeneratorRuntime.mark((function e(t,n){var o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.requestToken();case 2:return o=e.sent,e.next=5,r._performRequest(t,o,n);case 5:return i=e.sent,e.prev=6,e.next=9,r._processResponse(i);case 9:return e.abrupt("return",e.sent);case 12:if(e.prev=12,e.t0=e.catch(6),e.t0 instanceof Rd){e.next=16;break}throw e.t0;case 16:if(!(void 0!==e.t0.data.error&&r.shouldRefreshToken(e.t0.data.error))){e.next=25;break}return e.next=20,r.forceTokenUpdate();case 20:return o=e.sent,e.next=23,r._performRequest(t,o,n);case 23:return i=e.sent,e.abrupt("return",r._processResponse(i));case 25:throw e.t0;case 26:case"end":return e.stop()}}),e,null,[[6,12]])})));return function(t,n){return e.apply(this,arguments)}}()),Dd(this,"getMetaForResponse",(function(e){return r._requestsMeta.get(e)})),Dd(this,"get",(function(e,t){return r.request(e,Sd({method:"GET"},t))})),Dd(this,"post",(function(e,t){return r.request(e,Sd({method:"POST"},t))})),t&&this.setAuth(t),this.setBaseUrl(n);var i=Id.headers,a=Od(Id,["headers"]);this.fetchConfig=Sd(Sd(Sd({},a),o),{},{headers:Sd(Sd({},i),o.headers)})}var t,n,r,o,i;return t=e,n=[{key:"_fetch",value:function(){return fetch.apply(void 0,arguments)}},{key:"_makeRequestUrl",value:function(e,t){var n,r,o=Nu(e,t);return n=this.baseUrl,r=o,n&&-1===r.indexOf("http://")&&-1===r.indexOf("https://")?n+r:r}},{key:"_performRequest",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.headers,o=n.body,i=n.query,a=void 0===i?{}:i,s=n.sendRawBody,l=Od(n,["headers","body","query","sendRawBody"]),c=Sd(Sd(Sd({},this.fetchConfig.headers),t?{Authorization:"".concat("Bearer"," ").concat(t)}:{}),r);return Object.keys(c).forEach((function(e){null!==c[e]&&void 0!==c[e]||Reflect.deleteProperty(c,e)})),this._fetch(this._makeRequestUrl(e,a),Sd(Sd(Sd({},this.fetchConfig),{},{headers:c},l),{},{body:o&&!s?JSON.stringify(o):o}))}},{key:"_storeRequestMeta",value:function(e,t){var n=t.headers,r=t.ok,o=t.redirected,i=t.status,a=t.statusText,s=t.type,l=t.url;this._requestsMeta.set(e,{headers:n,ok:r,redirected:o,status:i,statusText:a,type:s,url:l})}},{key:"_processResponse",value:(i=Ld(regeneratorRuntime.mark((function t(n){var r,o,i,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=n.headers.get("content-type"),o=r&&-1!==r.indexOf("application/json"),!e._isErrorStatus(n.status)){t.next=12;break}return t.prev=3,t.next=6,o?n.json():n.text();case 6:i=t.sent,t.next=11;break;case 9:t.prev=9,t.t0=t.catch(3);case 11:throw new Rd(n,i);case 12:if(t.prev=12,!o){t.next=17;break}t.t1=n.json(),t.next=21;break;case 17:return t.next=19,n.text();case 19:t.t2=t.sent,t.t1={data:t.t2};case 21:return t.next=23,t.t1;case 23:return a=t.sent,this._storeRequestMeta(a,n),t.abrupt("return",a);case 28:return t.prev=28,t.t3=t.catch(12),t.abrupt("return",n);case 31:case"end":return t.stop()}}),t,this,[[3,9],[12,28]])}))),function(e){return i.apply(this,arguments)})},{key:"authorizedFetch",value:(o=Ld(regeneratorRuntime.mark((function e(){var t,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._performRequest.apply(this,n);case 2:return t=e.sent,e.abrupt("return",this._processResponse(t));case 4:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})}],r=[{key:"_isErrorStatus",value:function(e){return e<200||e>=300}}],n&&Td(t.prototype,n),r&&Td(t,r),e}();n(181);function Nd(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function zd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bd(e,t,n){return t&&Fd(e.prototype,t),n&&Fd(e,n),e}var Ud=function(){var e,t;function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};zd(this,n),this.storageType="session"===e.type?"sessionStorage":"localStorage"}return Bd(n,null,[{key:"safePromise",value:(e=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,new Promise(t);case 3:return e.abrupt("return",e.sent);case 6:throw e.prev=6,e.t0=e.catch(0),e.t0&&"NS_ERROR_FILE_CORRUPTED"===e.t0.name&&window.alert('Sorry, it looks like your browser storage is corrupted. Please clear your storage by going to Tools -> Clear Recent History -> Cookies and setting time range to "Everything". This will remove the corrupted browser storage across all sites.'),e.t0;case 10:case"end":return e.stop()}}),e,null,[[0,6]])})),t=function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Nd(i,r,o,a,s,"next",e)}function s(e){Nd(i,r,o,a,s,"throw",e)}a(void 0)}))},function(e){return t.apply(this,arguments)})}]),Bd(n,[{key:"get",value:function(e){var t=this;return this.constructor.safePromise((function(n){var r=window[t.storageType].getItem(e);try{n(JSON.parse(r))}catch(e){n(r)}}))}},{key:"set",value:function(e,t){var n=this;return this.constructor.safePromise((function(r){window[n.storageType].setItem(e,JSON.stringify(t)),r(t)}))}},{key:"remove",value:function(e){var t=this.storageType;return this.constructor.safePromise((function(n){window[t].hasOwnProperty(e)&&window[t].removeItem(e),n()}))}},{key:"each",value:function(e){var t=this.storageType;return this.constructor.safePromise((function(n){var r=[];for(var o in window[t])if(window[t].hasOwnProperty(o)){var i=window[t].getItem(o);try{i=JSON.parse(i)}catch(e){}r.push(Promise.resolve(e(o,i)))}n(Promise.all(r))}))}},{key:"on",value:function(e,t){function n(n){if(n.key===e)try{t(JSON.parse(n.newValue))}catch(e){t(n.newValue)}}return window.addEventListener("storage",n,!1),function(){return window.removeEventListener("storage",n,!1)}}}]),n}(),Wd=n(134),Vd=n.n(Wd);function qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Kd(e,t,n){return t&&Gd(e.prototype,t),n&&Gd(e,n),e}function Jd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qd=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};qd(this,e);var n="session"===t.type;this.cookieName=t.cookieName||(n?this.constructor.DEFAULT_SESSION_COOKIE_NAME:this.constructor.DEFAULT_COOKIE_NAME),this.checkDelay=t.checkDelay||this.constructor.DEFAULT_CHECK_DELAY,this.expires=n?this.constructor.COOKIE_EXPIRES:null}return Kd(e,null,[{key:"_createCookie",value:function(e,t,n){var r,o;n?((r=new Date).setTime(r.getTime()+864e5*n),o="; expires=".concat(r.toGMTString())):o=";",document.cookie="".concat(e,"=").concat(t).concat(o,"; path=/")}},{key:"_readCookie",value:function(e){for(var t,n="".concat(e,"="),r=document.cookie.split(";"),o=0;o<r.length;o++){for(t=r[o];" "===t.charAt(0);)t=t.substring(1,t.length);if(0===t.indexOf(n))return t.substring(n.length,t.length)}}}]),Kd(e,[{key:"_read",value:function(){var t=this;return new Promise((function(n){var r=e._readCookie(t.cookieName);n(JSON.parse(decodeURIComponent(r)))})).catch((function(){return{}}))}},{key:"_write",value:function(t){var n=this;return new Promise((function(r){var o=encodeURIComponent(JSON.stringify(t));return e._createCookie(n.cookieName,"{}"===o?"":o,n.expires),r(t)}))}},{key:"get",value:function(e){return this._read().then((function(t){return t[e]||null}))}},{key:"set",value:function(e,t){var n=this;return this._read().then((function(r){return e&&(null!=t?r[e]=t:Reflect.deleteProperty(r,e)),n._write(r)}))}},{key:"remove",value:function(e){return this.set(e,null)}},{key:"each",value:function(e){return"function"!=typeof e?Promise.reject(new Error("Callback is not a function")):this._read().then((function(t){var n=[];for(var r in t)t.hasOwnProperty(r)&&n.push(e(r,t[r]));return Promise.all(n)}))}},{key:"on",value:function(e,t){var n=this,r=!1;return this.get(e).then((function o(i){n.get(e).then((function(e){r||(Vd()(i,e)||t(e),window.setTimeout((function(){return o(i)}),n.checkDelay))}))})),function(){r=!0}}}]),e}();Jd(Qd,"DEFAULT_COOKIE_NAME","localStorage"),Jd(Qd,"DEFAULT_SESSION_COOKIE_NAME","sessionStorage"),Jd(Qd,"DEFAULT_CHECK_DELAY",3e3),Jd(Qd,"COOKIE_EXPIRES",365),Jd(Qd,"QUOTA",4093);var Zd=Ud;try{var Xd="testStorage";localStorage.setItem(Xd,Xd),localStorage.removeItem(Xd)}catch(e){Zd=Qd}var ep=Zd;function tp(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function np(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){tp(i,r,o,a,s,"next",e)}function s(e){tp(i,r,o,a,s,"throw",e)}a(void 0)}))}}function rp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var op="ie"===U.browser.name&&"11.0"===U.browser.versionString,ip=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.messagePrefix=t.messagePrefix||"",this.stateKeyPrefix=t.stateKeyPrefix,this.tokenKey=t.tokenKey,this.userKey=t.userKey||"user-key",this.stateTTL=t.stateTTL||864e5,this._lastMessage=null;var n=t.storage||ep;this.stateQuota=Math.min(t.stateQuota||102400,n.QUOTA||1/0),this._stateStorage=new n({cookieName:"ring-state"}),this._tokenStorage=new n({cookieName:"ring-token"}),this._messagesStorage=new n({cookieName:"ring-message"}),this._currentUserStorage=new n({cookieName:"ring-user"})}var t,n,r,o,i,a,s;return t=e,(n=[{key:"onTokenChange",value:function(e){return this._tokenStorage.on(this.tokenKey,e)}},{key:"onStateChange",value:function(e,t){return this._stateStorage.on(this.stateKeyPrefix+e,t)}},{key:"onMessage",value:function(e,t){var n=this;return this._messagesStorage.on(this.messagePrefix+e,(function(e){return op&&e===n._lastMessage?null:t(e)}))}},{key:"sendMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this._lastMessage=t,this._messagesStorage.set(this.messagePrefix+e,t)}},{key:"saveState",value:(s=np(regeneratorRuntime.mark((function e(t,n,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.created=Date.now(),e.prev=1,e.next=4,this._stateStorage.set(this.stateKeyPrefix+t,n);case 4:e.next=15;break;case 6:if(e.prev=6,e.t0=e.catch(1),r){e.next=14;break}return e.next=11,this.cleanStates();case 11:return e.abrupt("return",this.saveState(t,n,!0));case 14:throw e.t0;case 15:return e.abrupt("return",void 0);case 16:case"end":return e.stop()}}),e,this,[[1,6]])}))),function(e,t,n){return s.apply(this,arguments)})},{key:"cleanStates",value:(a=np(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,s=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Date.now(),e.next=3,this._stateStorage.each((function(e,r){return e===s.stateKeyPrefix+t?s._stateStorage.remove(e):0===e.indexOf(s.stateKeyPrefix)?r.created+s.stateTTL<n?s._stateStorage.remove(e):{key:e,created:r.created,size:JSON.stringify(r).length}:void 0}));case 3:if(r=e.sent,o=r.filter((function(e){return e})),!((i=o.reduce((function(e,t){return t.size+e}),0))>this.stateQuota)){e.next=10;break}return o.sort((function(e,t){return e.created>t.created})),a=o.filter((function(e){return i>s.stateQuota&&(i-=e.size,!0)})).map((function(e){return s._stateStorage.remove(e.key)})),e.abrupt("return",a.length&&Promise.all(a));case 10:return e.abrupt("return",void 0);case 11:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"getState",value:(i=np(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._stateStorage.get(this.stateKeyPrefix+t);case 3:return n=e.sent,e.next=6,this.cleanStates(t);case 6:return e.abrupt("return",n);case 9:return e.prev=9,e.t0=e.catch(0),e.next=13,this.cleanStates(t);case 13:throw e.t0;case 14:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return i.apply(this,arguments)})},{key:"saveToken",value:function(e){return this._tokenStorage.set(this.tokenKey,e)}},{key:"getToken",value:function(){return this._tokenStorage.get(this.tokenKey)}},{key:"wipeToken",value:function(){return this._tokenStorage.remove(this.tokenKey)}},{key:"getCachedUser",value:(o=np(regeneratorRuntime.mark((function e(t){var n,r,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._currentUserStorage.get(this.userKey);case 2:if(n=e.sent,r=function(){return t().then((function(e){return o._currentUserStorage.set(o.userKey,e),e}))},!n||!n.id){e.next=9;break}return setTimeout(r,1e3),e.abrupt("return",n);case 9:return e.abrupt("return",r());case 10:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"wipeCachedCurrentUser",value:function(){return this._currentUserStorage.remove(this.userKey)}},{key:"onUserChanged",value:function(){this.wipeCachedCurrentUser()}}])&&rp(t.prototype,n),r&&rp(t,r),e}(),ap=n(697),sp=n.n(ap);function lp(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function cp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var up=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=t,this.storage=n}var t,n,r,o,i;return t=e,(n=[{key:"prepareAuthRequest",value:(o=regeneratorRuntime.mark((function t(n,r){var o,i,a,s,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e._uuid(),i=this.config.scopes.map((function(e){return encodeURIComponent(e)})),a=Object.assign({response_type:"token",state:o,redirect_uri:this.config.redirectUri,request_credentials:this.config.requestCredentials,client_id:this.config.clientId,scope:i.join(" ")},n||{}),s=Nu(this.config.authorization,a),l=Object.assign({restoreLocation:window.location.href,scopes:this.config.scopes},r||{}),t.next=7,this._saveState(o,l);case 7:return t.abrupt("return",{url:s,stateId:o});case 8:case"end":return t.stop()}}),t,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){lp(i,n,r,a,s,"next",e)}function s(e){lp(i,n,r,a,s,"throw",e)}a(void 0)}))},function(e,t){return i.apply(this,arguments)})},{key:"_saveState",value:function(e,t){return this.storage.saveState(e,t)}}])&&cp(t.prototype,n),r&&cp(t,r),e}();function fp(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function dp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(up,"_uuid",sp.a.generate);var pp=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._requestBuilder=t,this._storage=n,this._timeout=r}var t,n,r,o,i;return t=e,(n=[{key:"_createHiddenFrame",value:function(){var e=document.createElement("iframe");return e.style.border=e.style.width=e.style.height="0px",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",window.document.body.appendChild(e),e}},{key:"_redirectFrame",value:function(e,t){e.src="".concat(t,"&rnd=").concat(Math.random())}},{key:"_load",value:(o=regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._requestBuilder.prepareAuthRequest({request_credentials:"silent"},{nonRedirect:!0});case 2:return t=e.sent,e.abrupt("return",new Promise((function(e,r){function o(e){"HUB_AUTH_PAGE_OPENED"===e.data&&(r(new Error("Failed to obtain/refresh token in background")),u())}window.addEventListener("message",o);var i,a=n._createHiddenFrame(),s=setTimeout((function(){r(new Error("Failed to refresh authorization")),u()}),n._timeout),l=n._storage.onTokenChange((function(t){t&&(u(),e(t.accessToken))})),c=n._storage.onStateChange(t.stateId,(function(e){e&&e.error&&(u(),r(new Ku.AuthError(e)))}));function u(){i||(i=!0,clearTimeout(s),c(),l(),window.removeEventListener("message",o),window.document.body.removeChild(a))}n._redirectFrame(a,t.url)})));case 4:case"end":return e.stop()}}),e,this)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){fp(i,n,r,a,s,"next",e)}function s(e){fp(i,n,r,a,s,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"authorize",value:function(){var e=this;if(this._promise)return this._promise;var t=function(){e._promise=null};return this._promise=this._load(),this._promise.then(t,t),this._promise}}])&&dp(t.prototype,n),r&&dp(t,r),e}();function hp(e){return(hp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mp(e,t){return(mp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function gp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=yp(e);if(t){var o=yp(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return vp(this,n)}}function vp(e,t){return!t||"object"!==hp(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function yp(e){return(yp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function bp(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function _p(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){bp(i,r,o,a,s,"next",e)}function s(e){bp(i,r,o,a,s,"throw",e)}a(void 0)}))}}function wp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mp=function(){function e(t,n,r){wp(this,e),this._getUser=n,this._config=t,this._storage=r}var t,n,r,o,i,a,s,l;return t=e,n=[{key:"validateTokenLocally",value:function(){return this._getValidatedToken([e._validateExistence,e._validateExpiration,this._validateScopes.bind(this)])}},{key:"validateToken",value:function(){return this._getValidatedToken([e._validateExistence,e._validateExpiration,this._validateScopes.bind(this),this._validateAgainstUser.bind(this)])}},{key:"_validateScopes",value:(l=_p(regeneratorRuntime.mark((function t(n){var r,o,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=this._config,o=r.scope,((i=r.optionalScopes)?o.filter((function(e){return!i.includes(e)})):o).every((function(e){return n.scopes.includes(e)}))){t.next=5;break}throw new e.TokenValidationError("Token doesn't match required scopes");case 5:case"end":return t.stop()}}),t,this)}))),function(e){return l.apply(this,arguments)})},{key:"_validateAgainstUser",value:(s=_p(regeneratorRuntime.mark((function t(n){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._getUser(n.accessToken);case 3:return t.abrupt("return",t.sent);case 6:return t.prev=6,t.t0=t.catch(0),r={},t.prev=9,t.next=12,t.t0.response.json();case 12:r=t.sent,t.next=17;break;case 15:t.prev=15,t.t1=t.catch(9);case 17:if(t.t0.status!==$d&&!e.shouldRefreshToken(r.error)){t.next=19;break}throw new e.TokenValidationError(r.error||t.t0.message);case 19:throw t.t0;case 20:case"end":return t.stop()}}),t,this,[[0,6],[9,15]])}))),function(e){return s.apply(this,arguments)})},{key:"_getValidatedToken",value:(a=_p(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._storage.getToken();case 2:n=e.sent,r=0;case 4:if(!(r<t.length)){e.next=10;break}return e.next=7,t[r](n);case 7:r++,e.next=4;break;case 10:return e.abrupt("return",n.accessToken);case 11:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})}],r=[{key:"_epoch",value:function(){return Math.round(Date.now()/1e3)}},{key:"_validateExistence",value:(i=_p(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n&&n.accessToken){t.next=2;break}throw new e.TokenValidationError("Token not found");case 2:case"end":return t.stop()}}),t)}))),function(e){return i.apply(this,arguments)})},{key:"_validateExpiration",value:(o=_p(regeneratorRuntime.mark((function t(n){var r,o,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=n.expires,o=n.lifeTime,i=o?Math.ceil(o/6):e.DEFAULT_REFRESH_BEFORE,!(r&&r<e._epoch()+i)){t.next=5;break}throw new e.TokenValidationError("Token expired");case 5:case"end":return t.stop()}}),t)}))),function(e){return o.apply(this,arguments)})},{key:"shouldRefreshToken",value:function(e){return"invalid_grant"===e||"invalid_request"===e||"invalid_token"===e}}],n&&xp(t.prototype,n),r&&xp(t,r),e}();function Sp(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function Op(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Sp(i,r,o,a,s,"next",e)}function s(e){Sp(i,r,o,a,s,"throw",e)}a(void 0)}))}}function Ep(e){return function(e){if(Array.isArray(e))return Lp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Lp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Lp(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Tp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tp(Object(n),!0).forEach((function(t){Pp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Cp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}kp(Mp,"DEFAULT_REFRESH_BEFORE",600),kp(Mp,"TokenValidationError",function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}(n,e);var t=gp(n);function n(e,r){var o;return wp(this,n),(o=t.call(this,e)).cause=r,o.authRedirect=!0,o}return n}(Iu));function jp(){}var Yp,Ap,Ip={cacheCurrentUser:!1,reloadOnUserChange:!0,embeddedLogin:!1,EmbeddedLoginFlow:null,clientId:"0-0-0-0-0",redirectUri:(Yp=$u(),Ap="".concat(window.location.protocol,"//").concat(window.location.host),Yp?Ru.test(Yp)?Yp:Ap+Yp:Ap),redirect:!1,requestCredentials:"default",backgroundRefreshTimeout:null,scope:[],userFields:["guest","id","name","login","profile/avatar/url"],cleanHash:!0,onLogout:jp,onPostponeChangedUser:function(){},onPostponeLogout:function(){},enableBackendStatusCheck:!0,backendCheckTimeout:1e4,checkBackendIsUp:function(){return Promise.resolve(null)},onBackendDown:function(){},defaultExpiresIn:2400,translations:{login:"Log in",loginTo:"Log in to %serviceName%",cancel:"Cancel",postpone:"Postpone",youHaveLoggedInAs:"You have logged in as another user: %userName%",applyChange:"Apply change",backendIsNotAvailable:"Connection lost",checkAgain:"try again",nothingHappensLink:"Click here if nothing happens",errorMessage:"There may be a problem with your network connection. Make sure that you are online and"}},Rp=function(){function e(t){var n=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Pp(this,"config",{}),Pp(this,"listeners",new Xf),Pp(this,"http",null),Pp(this,"_service",{}),Pp(this,"_storage",null),Pp(this,"_responseParser",new Ku),Pp(this,"_requestBuilder",null),Pp(this,"_backgroundFlow",null),Pp(this,"_embeddedFlow",null),Pp(this,"_tokenValidator",null),Pp(this,"_postponed",!1),Pp(this,"_backendCheckPromise",null),Pp(this,"_authDialogService",void 0),!t)throw new Error("Config is required");if(null==t.serverUri)throw new Error('"serverUri" property is required');var r=["redirect_uri","request_credentials","client_id"].filter((function(e){return t.hasOwnProperty(e)}));if(0!==r.length)throw new Error("The following parameters are no longer supported: ".concat(r.join(", "),". Please change them from snake_case to camelCase."));t.userFields=t.userFields||[],this.config=Dp(Dp({},e.DEFAULT_CONFIG),t);var o=this.config,i=o.clientId,a=o.redirect,s=o.redirectUri,l=o.requestCredentials,c=o.scope,u=this.config.serverUri.length;u>0&&"/"!==this.config.serverUri.charAt(u-1)&&(this.config.serverUri+="/"),this.config.userParams={query:{fields:Ep(new Set(e.DEFAULT_CONFIG.userFields.concat(t.userFields))).join()}},c.includes(e.DEFAULT_CONFIG.clientId)||c.push(e.DEFAULT_CONFIG.clientId),this._storage=new ip({messagePrefix:"".concat(i,"-message-"),stateKeyPrefix:"".concat(i,"-states-"),tokenKey:"".concat(i,"-token"),userKey:"".concat(i,"-user-")}),this._domainStorage=new ip({messagePrefix:"domain-message-"}),this._requestBuilder=new up({authorization:this.config.serverUri+e.API_PATH+e.API_AUTH_PATH,clientId:i,redirect:a,redirectUri:s,requestCredentials:l,scopes:c},this._storage);var f=this.config.backgroundRefreshTimeout;f||(f=this.config.embeddedLogin?1e4:2e4),this._backgroundFlow=new pp(this._requestBuilder,this._storage,f),this.config.EmbeddedLoginFlow&&(this._embeddedFlow=new this.config.EmbeddedLoginFlow(this._requestBuilder,this._storage,this.config.translations));var d=this.config.serverUri+e.API_PATH,p=t.fetchCredentials?{credentials:t.fetchCredentials}:void 0;this.http=new Hd(this,d,p);var h=function(){var e=Op(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.getUser(t);case 2:return r=e.sent,n.user=r,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();this._tokenValidator=new Mp(this.config,h,this._storage),this.config.onLogout&&this.addListener("logout",this.config.onLogout),!0===this.config.reloadOnUserChange&&this.addListener("userChange",(function(){return n._reloadCurrentPage()})),this.addListener("logoutPostponed",(function(){return n._setPostponed(!0)})),this.addListener("changePostponed",(function(){return n._setPostponed(!0)})),this.addListener("userChange",(function(){return n._setPostponed(!1)})),this.addListener("userChange",(function(e){return e&&n._updateDomainUser(e.id)})),this.config.cacheCurrentUser&&(this.addListener("logout",(function(){return n._storage.wipeCachedCurrentUser()})),this.addListener("userChange",(function(){return n._storage.onUserChanged()}))),this._createInitDeferred(),this.setUpPreconnect(t.serverUri)}var t,n,r,o,i,a,s,l,c,u,f,d,p,h,m,g,v,y,b,_,w,x,k,M;return t=e,(n=[{key:"_setPostponed",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._postponed=e}},{key:"_updateDomainUser",value:function(e){this._domainStorage.sendMessage("domainUser",{userID:e,serviceID:this.config.clientId})}},{key:"addListener",value:function(e,t){this.listeners.add(e,t)}},{key:"removeListener",value:function(e,t){this.listeners.remove(e,t)}},{key:"setAuthDialogService",value:function(e){this._authDialogService=e}},{key:"setCurrentService",value:function(e){this._service=e}},{key:"_createInitDeferred",value:function(){var e=this;this._initDeferred={},this._initDeferred.promise=new Promise((function(t,n){e._initDeferred.resolve=t,e._initDeferred.reject=n}))}},{key:"init",value:(M=Op(regeneratorRuntime.mark((function t(){var n,r,o,i,a=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._storage.onTokenChange((function(e){a.user&&a.user.guest&&!e||(e?a._detectUserChange(e.accessToken):a.logout())})),this._domainStorage.onMessage("domainUser",(function(e){var t=e.userID;e.serviceID!==a.config.clientId&&(a.user&&t===a.user.id||a.forceTokenUpdate())})),t.prev=2,t.next=5,this._checkForAuthResponse();case 5:n=t.sent,t.next=11;break;case 8:return t.prev=8,t.t0=t.catch(2),t.abrupt("return",this.handleInitError(t.t0));case 11:if(!n||!n.nonRedirect){t.next=13;break}return t.abrupt("return",new Promise(jp));case 13:return t.prev=13,t.next=16,this._tokenValidator.validateToken();case 16:return t.next=18,this._domainStorage._messagesStorage.get("domain-message-".concat("domainUser"));case 18:if((o=t.sent)&&(i=o.userID,o.serviceID===this.config.clientId||i&&this.user.id===i||this.forceTokenUpdate()),n){t.next=24;break}return t.next=23,this._checkForStateRestoration();case 23:n=t.sent;case 24:return this._initDeferred.resolve(n&&n.restoreLocation),t.abrupt("return",null===(r=n)||void 0===r?void 0:r.restoreLocation);case 28:if(t.prev=28,t.t1=t.catch(13),!e.storageIsUnavailable){t.next=35;break}return this._initDeferred.resolve(),t.next=34,this.requestUser();case 34:return t.abrupt("return",null);case 35:return t.abrupt("return",this.handleInitValidationError(t.t1));case 36:case"end":return t.stop()}}),t,this,[[2,8],[13,28]])}))),function(){return M.apply(this,arguments)})},{key:"sendRedirect",value:(k=Op(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._requestBuilder.prepareAuthRequest();case 2:throw n=e.sent,this._redirectCurrentPage(n.url),t;case 5:case"end":return e.stop()}}),e,this)}))),function(e){return k.apply(this,arguments)})},{key:"handleInitError",value:(x=Op(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.stateId){e.next=13;break}return e.prev=1,e.next=4,this._storage.getState(t.stateId);case 4:if(!(n=e.sent)||!n.nonRedirect){e.next=9;break}return n.error=t,this._storage.saveState(t.stateId,n),e.abrupt("return",new Promise(jp));case 9:e.next=13;break;case 11:e.prev=11,e.t0=e.catch(1);case 13:throw t;case 14:case"end":return e.stop()}}),e,this,[[1,11]])}))),function(e){return x.apply(this,arguments)})},{key:"handleInitValidationError",value:(w=Op(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.authRedirect||!this.config.redirect){e.next=2;break}return e.abrupt("return",this.sendRedirect(t));case 2:if(!t.authRedirect||this.config.redirect){e.next=15;break}return e.prev=3,e.next=6,this._backgroundFlow.authorize();case 6:return e.next=8,this._tokenValidator.validateToken();case 8:return this._initDeferred.resolve(),e.abrupt("return",void 0);case 12:return e.prev=12,e.t0=e.catch(3),e.abrupt("return",this.sendRedirect(e.t0));case 15:throw this._initDeferred.reject(t),t;case 17:case"end":return e.stop()}}),e,this,[[3,12]])}))),function(e){return w.apply(this,arguments)})},{key:"requestToken",value:(_=Op(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._postponed){t.next=2;break}throw new Error("You should log in to be able to make requests");case 2:return t.prev=2,t.next=5,this._initDeferred.promise;case 5:if(!e.storageIsUnavailable){t.next=7;break}return t.abrupt("return",null);case 7:return t.next=9,this._tokenValidator.validateTokenLocally();case 9:return t.abrupt("return",t.sent);case 12:return t.prev=12,t.t0=t.catch(2),t.abrupt("return",this.forceTokenUpdate());case 15:case"end":return t.stop()}}),t,this,[[2,12]])}))),function(){return _.apply(this,arguments)})},{key:"forceTokenUpdate",value:(b=Op(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this._backendCheckPromise||(this._backendCheckPromise=this._checkBackendsStatusesIfEnabled()),e.next=4,this._backendCheckPromise;case 4:e.next=9;break;case 6:throw e.prev=6,e.t0=e.catch(0),new Error("Cannot refresh token: backend is not available. Postponed by user.");case 9:return e.prev=9,this._backendCheckPromise=null,e.finish(9);case 12:return e.prev=12,e.next=15,this._backgroundFlow.authorize();case 15:return e.abrupt("return",e.sent);case 18:if(e.prev=18,e.t1=e.catch(12),!this._canShowDialogs()){e.next=24;break}return e.abrupt("return",this._showAuthDialog({nonInteractive:!0,error:e.t1}));case 24:return e.next=26,this._requestBuilder.prepareAuthRequest();case 26:t=e.sent,this._redirectCurrentPage(t.url);case 28:throw new Mp.TokenValidationError(e.t1.message);case 29:case"end":return e.stop()}}),e,this,[[0,6,9,12],[12,18]])}))),function(){return b.apply(this,arguments)})},{key:"loadCurrentService",value:(y=Op(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._service.serviceName){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,this.http.get("oauth2/interactive/login/settings?client_id=".concat(this.config.clientId));case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0={};case 8:t=e.t0,n=t.serviceName,r=t.iconUrl,this.setCurrentService({serviceImage:r,serviceName:n}),e.next=16;break;case 14:e.prev=14,e.t1=e.catch(2);case 16:case"end":return e.stop()}}),e,this,[[2,14]])}))),function(){return y.apply(this,arguments)})},{key:"getAPIPath",value:function(){return this.config.serverUri+e.API_PATH}},{key:"getUser",value:function(t){var n=this;return this.config.cacheCurrentUser?this._storage.getCachedUser((function(){return n.http.authorizedFetch(e.API_PROFILE_PATH,t,n.config.userParams)})):this.http.authorizedFetch(e.API_PROFILE_PATH,t,this.config.userParams)}},{key:"requestUser",value:(v=Op(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.user){e.next=2;break}return e.abrupt("return",this.user);case 2:return e.next=4,this.requestToken();case 4:if(t=e.sent,!this.user){e.next=7;break}return e.abrupt("return",this.user);case 7:return e.next=9,this.getUser(t);case 9:return n=e.sent,this.user=n,e.abrupt("return",n);case 12:case"end":return e.stop()}}),e,this)}))),function(){return v.apply(this,arguments)})},{key:"updateUser",value:(g=Op(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._setPostponed(!1),e.next=3,this.requestToken();case 3:return t=e.sent,this._storage.wipeCachedCurrentUser(),e.next=7,this.getUser(t);case 7:n=e.sent,this.user=n,this.listeners.trigger("userChange",n);case 10:case"end":return e.stop()}}),e,this)}))),function(){return g.apply(this,arguments)})},{key:"_detectUserChange",value:(m=Op(regeneratorRuntime.mark((function e(t){var n,r,o,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this._isLoginWindowOpen,e.prev=1,e.next=4,this.getUser(t);case 4:if(r=e.sent,o=function(){i.user=r,i.listeners.trigger("userChange",r)},!r||!this.user||this.user.id===r.id){e.next=15;break}if(this._canShowDialogs()&&!this.user.guest&&!n){e.next=10;break}return o(),e.abrupt("return");case 10:if(!r.guest){e.next=13;break}return this._showAuthDialog({nonInteractive:!0}),e.abrupt("return");case 13:return e.next=15,this._showUserChangedDialog({newUser:r,onApply:o,onPostpone:function(){i.listeners.trigger("changePostponed"),i.config.onPostponeChangedUser(i.user,r)}});case 15:e.next=19;break;case 17:e.prev=17,e.t0=e.catch(1);case 19:case"end":return e.stop()}}),e,this,[[1,17]])}))),function(e){return m.apply(this,arguments)})},{key:"_beforeLogout",value:function(e){this._canShowDialogs()?this._showAuthDialog(e):this.logout()}},{key:"_showAuthDialog",value:(h=Op(regeneratorRuntime.mark((function t(){var n,r,o,i,a,s,l,c,u,f,d,p,h,m,g,v=this,y=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=y.length>0&&void 0!==y[0]?y[0]:{},r=n.nonInteractive,o=n.error,i=n.canCancel,a=this.config,s=a.embeddedLogin,l=a.onPostponeLogout,c=a.translations,u=this.user.guest||i,this._createInitDeferred(),f=function(){m(),g(),h()},d=function(){if(!0!==s)return f(),void v.logout();v._runEmbeddedLogin()},p=function(){if(v._embeddedFlow.stop(),v._storage.sendMessage(e.CLOSE_WINDOW_MESSAGE,Date.now()),f(),!u)return v._initDeferred.resolve(),v.listeners.trigger("logoutPostponed"),void l();v.user.guest&&r?v.forceTokenUpdate():v._initDeferred.resolve()},h=this._authDialogService(Dp(Dp({},this._service),{},{loginCaption:c.login,loginToCaption:c.loginTo,confirmLabel:c.login,cancelLabel:u?c.cancel:c.postpone,errorMessage:o&&o.toString?o.toString():null,onConfirm:d,onCancel:p})),m=this._storage.onTokenChange((function(e){e&&(f(),v._initDeferred.resolve())})),g=this._storage.onMessage(e.CLOSE_WINDOW_MESSAGE,(function(){return v._embeddedFlow.stop()}));case 10:case"end":return t.stop()}}),t,this)}))),function(){return h.apply(this,arguments)})},{key:"_showUserChangedDialog",value:(p=Op(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a,s,l=this,c=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.newUser,r=t.onApply,o=t.onPostpone,i=this.config.translations,this._createInitDeferred(),a=function(){l._initDeferred.resolve(),s()},s=this._authDialogService(Dp(Dp({},this._service),{},{title:i.youHaveLoggedInAs.replace("%userName%",n.name),loginCaption:i.login,loginToCaption:i.loginTo,confirmLabel:i.applyChange,cancelLabel:i.postpone,onConfirm:function(){a(),r()},onCancel:function(){a(),o()}}));case 5:case"end":return e.stop()}}),e,this)}))),function(){return p.apply(this,arguments)})},{key:"_showBackendDownDialog",value:(d=Op(regeneratorRuntime.mark((function t(n){var r,o,i,a,s=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=this.config,o=r.onBackendDown,i=r.translations,a=null,t.abrupt("return",new Promise((function(t,r){var l=function(){f(),window.removeEventListener("online",u),c(),s._storage.sendMessage(e.CLOSE_BACKEND_DOWN_MESSAGE,Date.now()),s._awaitingForBackendPromise=null,clearTimeout(a)},c=s._storage.onMessage(e.CLOSE_BACKEND_DOWN_MESSAGE,(function(){c(),l(),t()})),u=function(){var e=Op(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s._checkBackendsAreUp();case 2:l(),t();case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),f=o({onCheckAgain:u,onPostpone:function(){l(),r(new Error("Auth(@jetbrains/ring-ui): postponed by user"))},backendError:n,translations:i});window.addEventListener("online",u),a=setTimeout((function e(){navigator&&navigator.onLine&&u(),a=setTimeout(e,5e3)}),5e3)})));case 4:case"end":return t.stop()}}),t,this)}))),function(e){return d.apply(this,arguments)})},{key:"logout",value:(f=Op(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Dp({request_credentials:"required"},t),e.next=3,this._checkBackendsStatusesIfEnabled();case 3:return e.next=5,this.listeners.trigger("logout");case 5:return this._updateDomainUser(null),e.next=8,this._storage.wipeToken();case 8:return e.next=10,this._requestBuilder.prepareAuthRequest(n);case 10:r=e.sent,this._redirectCurrentPage(r.url);case 12:case"end":return e.stop()}}),e,this)}))),function(e){return f.apply(this,arguments)})},{key:"_runEmbeddedLogin",value:(u=Op(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this._storage.sendMessage(e.CLOSE_WINDOW_MESSAGE,Date.now()),t.prev=1,this._isLoginWindowOpen=!0,t.next=5,this._embeddedFlow.authorize();case 5:return t.abrupt("return",t.sent);case 8:throw t.prev=8,t.t0=t.catch(1),t.t0;case 11:return t.prev=11,this._isLoginWindowOpen=!1,t.finish(11);case 14:case"end":return t.stop()}}),t,this,[[1,8,11,14]])}))),function(){return u.apply(this,arguments)})},{key:"login",value:(c=Op(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.config.embeddedLogin){e.next=4;break}return e.next=3,this._runEmbeddedLogin();case 3:return e.abrupt("return");case 4:return e.next=6,this._checkBackendsStatusesIfEnabled();case 6:return e.prev=6,e.next=9,this._backgroundFlow.authorize();case 9:return t=e.sent,e.next=12,this.getUser(t);case 12:(n=e.sent).guest?this._beforeLogout():(this.user=n,this.listeners.trigger("userChange",n)),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(6),this._beforeLogout();case 19:case"end":return e.stop()}}),e,this,[[6,16]])}))),function(){return c.apply(this,arguments)})},{key:"switchUser",value:(l=Op(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.config.embeddedLogin){e.next=3;break}return e.next=3,this._runEmbeddedLogin();case 3:throw new Error('Auth: switchUser only supported for "embeddedLogin" mode');case 4:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"_checkForAuthResponse",value:(s=Op(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a,s,l,c,u,f,d,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this._responseParser.getAuthResponseFromURL(),n=this.config,r=n.scope,o=n.defaultExpiresIn,i=n.cleanHash,t&&i&&this.setHash(""),t){e.next=5;break}return e.abrupt("return",void 0);case 5:return a=t.state,s=t.scope,l=t.expiresIn,c=t.accessToken,e.next=8,a&&this._storage.getState(a);case 8:if(e.t0=e.sent,e.t0){e.next=11;break}e.t0={};case 11:return u=e.t0,f=s?s.split(" "):u.scopes||r||[],d=l?parseInt(l,10):o,p=Mp._epoch()+d,e.next=17,this._storage.saveToken({accessToken:c,scopes:f,expires:p,lifeTime:d});case 17:return e.abrupt("return",u);case 18:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"_checkForStateRestoration",value:(a=Op(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(t=this._responseParser.getAuthResponseFromURL())&&this.config.cleanHash&&this.setHash(""),n=null==t?void 0:t.restoreAuthState,e.next=5,n&&this._storage.getState(n);case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0={};case 8:return e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"_checkBackendsAreUp",value:function(){var e,t,n,r,o=this.config.backendCheckTimeout;return Promise.all([(e=this.http.fetch("settings/public?fields=id"),t=o,n={error:new Error("The authorization server is taking too long to respond. Please try again later.")},r=n.error,new Promise((function(n,o){setTimeout((function(){return o(r||new Error("Timeout"))}),t),e.then(n,o)}))),this.config.checkBackendIsUp()]).catch((function(e){if(e instanceof TypeError)throw new TypeError("Could not connect to the server due to network error. Please check your connection and try again.");throw e}))}},{key:"_checkBackendsStatusesIfEnabled",value:(i=Op(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.config.enableBackendStatusCheck){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,this._checkBackendsAreUp();case 5:e.next=11;break;case 7:return e.prev=7,e.t0=e.catch(2),e.next=11,this._showBackendDownDialog(e.t0);case 11:case"end":return e.stop()}}),e,this,[[2,7]])}))),function(){return i.apply(this,arguments)})},{key:"setUpPreconnect",value:(o=Op(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(n=document.createElement("link")).rel="preconnect",n.href=t,n.pr="1.0",document.head.appendChild(n);case 5:case"end":return e.stop()}}),e)}))),function(e){return o.apply(this,arguments)})},{key:"_redirectCurrentPage",value:function(e){window.location=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$u;if(-1===e.indexOf("http://")&&-1===e.indexOf("https://")&&0!==e.indexOf("/")){var n=t();if(n)return n+e}return e}(e)}},{key:"_reloadCurrentPage",value:function(){this._redirectCurrentPage(window.location.href)}},{key:"_canShowDialogs",value:function(){return this.config.embeddedLogin&&this._authDialogService}},{key:"setHash",value:function(e){if(history.replaceState){var t=[window.location.pathname,window.location.search].join(""),n=e?"#".concat(e):"";history.replaceState(void 0,void 0,"".concat(t).concat(n))}else window.location.hash=e}}])&&Cp(t.prototype,n),r&&Cp(t,r),e}();function $p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$p(Object(n),!0).forEach((function(t){Np(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Np(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Pp(Rp,"DEFAULT_CONFIG",Ip),Pp(Rp,"API_PATH","api/rest/"),Pp(Rp,"API_AUTH_PATH","oauth2/auth"),Pp(Rp,"API_PROFILE_PATH","users/me"),Pp(Rp,"CLOSE_BACKEND_DOWN_MESSAGE","backend-check-succeeded"),Pp(Rp,"CLOSE_WINDOW_MESSAGE","close-login-window"),Pp(Rp,"shouldRefreshToken",Mp.shouldRefreshToken),Pp(Rp,"storageIsUnavailable",!navigator.cookieEnabled),Rp.DEFAULT_CONFIG=Hp(Hp({},Rp.DEFAULT_CONFIG),{},{EmbeddedLoginFlow:ef,onBackendDown:function(e){var t=e.onCheckAgain,n=e.translations;function r(e){return i.apply(this,arguments)}function i(){return(i=Vf(regeneratorRuntime.mark((function e(i){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i.stopPropagation(),e.prev=1,Gf("Connecting...",pu.Type.LOADING),e.next=5,t();case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),Gf(o.a.createElement(Kf,{translations:n,onCheckAgain:r}));case 10:case"end":return e.stop()}}),e,null,[[1,7]])})))).apply(this,arguments)}return Gf(o.a.createElement(Kf,{translations:n,onCheckAgain:r})),function(){return xu.remove(qf)}}});var zp=Rp;function Fp(e,t,n){return{y:function(r){return+t+(r-e)*n},x:function(r){return+e+(r-t)/n}}}function Bp(e,t,n){return Fp(e,e,n).y(t)}function Up(e){return(Up="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qp(e,t){return(qp=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gp(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qp(e);if(t){var o=Qp(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Kp(this,n)}}function Kp(e,t){return!t||"object"!==Up(t)&&"function"!=typeof t?Jp(e):t}function Jp(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qp(e){return(Qp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Zp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xp=Object(r.createContext)(),eh=Object(r.createContext)();var th=n(36),nh=n.n(th);function rh(e){return(rh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oh(){return(oh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ih(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ah(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lh(e,t){return(lh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ch(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=fh(e);if(t){var o=fh(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return uh(this,n)}}function uh(e,t){return!t||"object"!==rh(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function fh(e){return(fh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function dh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ph={FONT_SIZE:24,LINE_HEIGHT:28,PADDING:16},hh={FONT_SIZE:13,LINE_HEIGHT:28,X:.4,Y:.1,SPACING:1.09},mh=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}(a,e);var t,n,r,i=ch(a);function a(){return ah(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"style",value:function(e){return Bp(ph[e]||0,hh[e]||0,this.props.phase)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.wrapWithTitle,i=e.border,a=e.phase,l=ih(e,["children","className","wrapWithTitle","border","phase"]),c=s()(nh.a.header,n,dh({},nh.a.withBottomBorder,i||a>=.5)),u=null!=a?{lineHeight:"".concat(this.style("LINE_HEIGHT"),"px"),paddingTop:this.style("PADDING")}:null,f=null!=a&&this.style("FONT_SIZE")/ph.FONT_SIZE,d=null!=a&&a<1?{fontSize:ph.FONT_SIZE,transform:"translate(".concat(this.style("X"),"px, ").concat(this.style("Y"),"px) scale(").concat(f,")"),letterSpacing:this.style("SPACING")}:null;return o.a.createElement("div",oh({},l,{"data-test":"ring-island-header",className:c,style:u}),r&&o.a.createElement("div",{className:nh.a.title,style:d},t),!r&&t)}}])&&sh(t.prototype,n),r&&sh(t,r),a}(r.Component);dh(mh,"propTypes",{children:c.a.node,className:c.a.string,border:c.a.bool,wrapWithTitle:c.a.bool,phase:c.a.number}),dh(mh,"defaultProps",{wrapWithTitle:!0});var gh=function(e){return o.a.createElement(Xp.Consumer,null,(function(t){var n=null!=t?{phase:t}:{};return o.a.createElement(mh,oh({},e,n))}))},vh=n(198),yh=n.n(vh);function bh(e){var t,n,r=!1;return function(o){t=o,n?e&&(r=!0):function e(){n=window.requestAnimationFrame((function(){t(),r?(r=!1,e()):(n=null,t=null)}))}()}}function _h(e){return(_h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wh(){return(wh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function xh(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function kh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sh(e,t){return(Sh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oh(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Th(e);if(t){var o=Th(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Eh(this,n)}}function Eh(e,t){return!t||"object"!==_h(t)&&"function"!=typeof t?Lh(e):t}function Lh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Th(e){return(Th=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Dh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ch=bh(),Ph=function(){},jh=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}(a,e);var t,n,r,i=Oh(a);function a(){var e;kh(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Dh(Lh(e=i.call.apply(i,[this].concat(n))),"state",{scrolledToTop:!0,scrolledToBottom:!1}),Dh(Lh(e),"resizeDetector",yh()({strategy:"scroll"})),Dh(Lh(e),"setWrapper",(function(t){t&&(e.wrapperNode=t,e.resizeDetector.listenTo(t,e.calculateScrollPosition))})),Dh(Lh(e),"calculateScrollPosition",(function(){return Ch((function(){var t=Lh(e).scrollableNode;if(t){var n=t.scrollTop,r=t.scrollHeight,o=0===n,i=t.offsetHeight+n>=r-16;i&&e.props.onScrollToBottom(),e.setState({scrolledToTop:o,scrolledToBottom:i})}}))})),Dh(Lh(e),"onScroll",(function(){e.props.onScroll(e.scrollableNode),e.calculateScrollPosition()})),Dh(Lh(e),"setScrollableNodeAndCalculatePosition",(function(t){t&&(e.scrollableNode=t,e.calculateScrollPosition())})),e}return t=a,(n=[{key:"componentWillUnmount",value:function(){this.scrollableNode=null,this.wrapperNode&&this.resizeDetector.removeAllListeners(this.wrapperNode)}},{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.className,i=t.bottomBorder,a=t.scrollableWrapperClassName,l=(t.onScroll,t.onScrollToBottom,t.fade),c=xh(t,["children","className","bottomBorder","scrollableWrapperClassName","onScroll","onScrollToBottom","fade"]),u=this.state,f=u.scrolledToTop,d=u.scrolledToBottom,p=s()(nh.a.content,r,(Dh(e={},nh.a.contentWithTopFade,l&&!f),Dh(e,nh.a.contentWithBottomFade,l&&!d),Dh(e,nh.a.withTransparentBottomBorder,i),Dh(e,nh.a.withBottomBorder,i&&!d),e)),h=s()(nh.a.scrollableWrapper,a);return o.a.createElement("div",wh({},c,{"data-test":"ring-island-content",className:p}),o.a.createElement("div",{tabIndex:0,"data-scrollable-container":!0,className:h,ref:this.setScrollableNodeAndCalculatePosition,onScroll:l?this.onScroll:Ph},l&&o.a.createElement("div",{ref:this.setWrapper},n),!l&&n))}}])&&Mh(t.prototype,n),r&&Mh(t,r),a}(r.Component);Dh(jh,"propTypes",{children:c.a.node,className:c.a.string,scrollableWrapperClassName:c.a.string,fade:c.a.bool,bottomBorder:c.a.bool,onScroll:c.a.func,onScrollToBottom:c.a.func}),Dh(jh,"defaultProps",{fade:!0,bottomBorder:!1,onScroll:Ph,onScrollToBottom:Ph});var Yh=function(e){return o.a.createElement(eh.Consumer,null,(function(t){var n=null!=t?{onScroll:t,bottomBorder:!0}:{};return o.a.createElement(jh,wh({},e,n))}))};function Ah(e){return(Ah="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ih(){return(Ih=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Rh(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function $h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Nh(e,t){return(Nh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function zh(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Bh(e);if(t){var o=Bh(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Fh(this,n)}}function Fh(e,t){return!t||"object"!==Ah(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Bh(e){return(Bh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Uh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wh=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}(a,e);var t,n,r,i=zh(a);function a(){return $h(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.className,i=t.narrow,a=t.withoutPaddings,l=t["data-test"],c=Rh(t,["children","className","narrow","withoutPaddings","data-test"]),u=s()(nh.a.island,r,(Uh(e={},nh.a.narrowIsland,i),Uh(e,nh.a.withoutPaddings,a),e));return o.a.createElement("div",Ih({},c,{className:u,"data-test":ql("ring-island",l)}),n)}}])&&Hh(t.prototype,n),r&&Hh(t,r),a}(r.Component);Uh(Wh,"propTypes",{children:c.a.node,className:c.a.string,narrow:c.a.bool,withoutPaddings:c.a.bool,"data-test":c.a.string});var Vh,qh,Gh,Kh=(Vh=Wh,Gh=qh=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}(a,e);var t,n,r,i=Gp(a);function a(){var e;Wp(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Zp(Jp(e=i.call.apply(i,[this].concat(n))),"state",{phase:0}),Zp(Jp(e),"onContentScroll",(function(t){var n=t.scrollTop;if(t.scrollHeight-t.clientHeight>=Bp(36,20,e.state.phase)){var r=Math.min(1,n/20);e.setState({phase:r})}})),e}return t=a,(n=[{key:"render",value:function(){return o.a.createElement(Xp.Provider,{value:this.state.phase},o.a.createElement(eh.Provider,{value:this.onContentScroll},o.a.createElement(Vh,this.props)))}}])&&Vp(t.prototype,n),r&&Vp(t,r),a}(r.Component),Zp(qh,"propTypes",Vh.propTypes),Gh),Jh=(n(310),n(698)),Qh=n.n(Jh);function Zh(e){return(Zh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xh(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function em(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tm=new(function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),em(this,"ALLOW_SHORTCUTS_SELECTOR",".ring-js-shortcuts"),em(this,"ROOT_SCOPE",{scopeId:"ROOT",options:{}}),em(this,"_scopes",{}),em(this,"combokeys",new Qh.a(document.documentElement)),em(this,"trigger",(function(e){return t.combokeys.trigger(e)})),em(this,"_dispatcher",(function(e,n){for(var r,o=t._scopeChain.length-1;o>=0;o--){var i=t._scopeChain[o];if((r=t._scopes[i.scopeId])&&r[n]){var a=r[n](e,n,i.scopeId);if(!0!==a)return a}if(i.options.modal)return!0}})),em(this,"_defaultFilter",(function(e,n){return n!==document&&!n.matches(t.ALLOW_SHORTCUTS_SELECTOR)&&!n.closest(t.ALLOW_SHORTCUTS_SELECTOR)&&(n.matches("input,select,textarea")||n.contentEditable&&"true"===n.contentEditable)})),this.setFilter(),this.setScope()}var t,n,r;return t=e,(n=[{key:"bind",value:function(e){if(!(e instanceof Object)||"function"!=typeof e.handler)throw new Error("Shortcut handler should exist");if(e.scope||(e.scope=this.ROOT_SCOPE.scopeId),Array.isArray(e.key))for(var t=0;t<e.key.length;t++)this.bind(Object.assign({},e,{key:e.key[t]}));else{if("string"!=typeof e.key)throw new Error("Shortcut key should exist");this._scopes[e.scope]||(this._scopes[e.scope]={}),this._scopes[e.scope][e.key]=e.handler,this.combokeys.bind(e.key,this._dispatcher,this._getKeyboardEventType(e))}}},{key:"bindMap",value:function(e,t){if(!(e instanceof Object))throw new Error("Shortcuts map shouldn't be empty");for(var n in e)e.hasOwnProperty(n)&&this.bind(Object.assign({},t||{},{key:n,handler:e[n]}))}},{key:"unbindScope",value:function(e){this._scopes[e]=null}},{key:"getScope",value:function(){return this._scopeChain.slice(1)}},{key:"hasScope",value:function(e){return-1!==this.indexOfScope(e)}},{key:"pushScope",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e){var n=this.indexOfScope(e);-1!==n&&this._scopeChain.splice(n,1),this._scopeChain.push(this.wrapScope(e,t))}}},{key:"popScope",value:function(e){if(e){var t=this.indexOfScope(e);if(-1!==t)return this._scopeChain.splice(t,this._scopeChain.length-1)}}},{key:"spliceScope",value:function(e){if(e){var t=this.indexOfScope(e);-1!==t&&this._scopeChain.splice(t,1)}}},{key:"setScope",value:function(e){var t=this;if(e){var n;if(n="string"==typeof e||!Array.isArray(e)&&"object"===Zh(e)&&null!==e?[e]:e,!Array.isArray(n))return;n=n.map((function(e){return"string"==typeof e?t.wrapScope(e):e})),this._scopeChain=[this.ROOT_SCOPE].concat(n)}else this._scopeChain=[this.ROOT_SCOPE]}},{key:"wrapScope",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{scopeId:e,options:t}}},{key:"hasKey",value:function(e,t){return!(!this._scopes[t]||!this._scopes[t][e])}},{key:"_getKeyboardEventType",value:function(e){return!e.type&&"windows"===U.os.name&&e.key.match(/ctrl/i)&&e.key.match(/shift/i)&&e.key.match(/[0-9]/)?"keyup":e.type}},{key:"setFilter",value:function(e){this.combokeys.stopCallback="function"==typeof e?e:this._defaultFilter}},{key:"indexOfScope",value:function(e){return this._scopeChain.findIndex((function(t){return t.scopeId===e}))}},{key:"reset",value:function(){this._scopes={},this.setScope(),this.combokeys.reset()}}])&&Xh(t.prototype,n),r&&Xh(t,r),e}());function nm(e){return(nm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function rm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function om(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function im(e,t){return(im=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function am(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=lm(e);if(t){var o=lm(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return sm(this,n)}}function sm(e,t){return!t||"object"!==nm(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function lm(e){return(lm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function cm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var um=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&im(e,t)}(i,e);var t,n,r,o=am(i);function i(){return rm(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"componentDidMount",value:function(){this.props.disabled||this.turnShorcutsOn()}},{key:"componentDidUpdate",value:function(e){var t=this.props.disabled;!e.disabled&&t&&this.turnShorcutsOff(),e.disabled&&!t&&this.turnShorcutsOn()}},{key:"componentWillUnmount",value:function(){this.props.disabled||this.turnShorcutsOff()}},{key:"turnShorcutsOn",value:function(){var e=this.props,t=e.map,n=e.scope,r=e.options;tm.bindMap(t,this.props),tm.pushScope(n,r)}},{key:"turnShorcutsOff",value:function(){var e=this.props.scope;tm.unbindScope(e),tm.spliceScope(e)}},{key:"render",value:function(){return this.props.children||null}}])&&om(t.prototype,n),r&&om(t,r),i}(r.PureComponent);cm(um,"propTypes",{map:c.a.object.isRequired,scope:c.a.string.isRequired,options:c.a.object,disabled:c.a.bool,children:c.a.node}),cm(um,"defaultProps",{options:{}});var fm=n(699),dm=n.n(fm);function pm(e){return(pm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function hm(){return(hm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function mm(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function gm(e){return function(e){if(Array.isArray(e))return vm(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return vm(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vm(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ym(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _m(e,t){return(_m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function wm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Mm(e);if(t){var o=Mm(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return xm(this,n)}}function xm(e,t){return!t||"object"!==pm(t)&&"function"!=typeof t?km(e):t}function km(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mm(e){return(Mm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Sm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Om="input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])",Em=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_m(e,t)}(a,e);var t,n,r,i=wm(a);function a(){var e;ym(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Sm(km(e=i.call.apply(i,[this].concat(n))),"containerRef",(function(t){t&&(e.node=t)})),Sm(km(e),"focusElement",(function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=km(e),r=n.node;if(r){var o=gm(r.querySelectorAll(Om)).filter((function(e){return e.tabIndex>=0})),i=t?o[0]:o[o.length-1];i&&i.focus()}})),Sm(km(e),"focusFirst",(function(){return e.focusElement(!0)})),Sm(km(e),"focusLast",(function(){return e.focusElement(!1)})),Sm(km(e),"focusLastIfEnabled",(function(){e.trapWithoutFocus||e.focusLast()})),Sm(km(e),"handleBlurIfWithoutFocus",(function(t){if(e.trapWithoutFocus){e.trapWithoutFocus=!1;var n=t.nativeEvent.relatedTarget;n&&(e.node.contains(n)||e.focusLast())}})),Sm(km(e),"trapButtonRef",(function(t){t&&(e.trapButtonNode=t)})),e}return t=a,(n=[{key:"componentDidMount",value:function(){this.previousFocusedNode=document.activeElement,this.props.autoFocusFirst?this.focusFirst():this.props.trapDisabled||this.node&&this.node.contains(this.previousFocusedNode)||(this.trapWithoutFocus=!0,this.trapButtonNode.focus())}},{key:"componentWillUnmount",value:function(){this.restoreFocus()}},{key:"restoreFocus",value:function(){if(this.props.focusBackOnClose){var e=this.previousFocusedNode;e&&e.focus&&e.focus()}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.trapDisabled,r=(e.autoFocusFirst,e.focusBackOnClose,mm(e,["children","trapDisabled","autoFocusFirst","focusBackOnClose"]));return n?o.a.createElement("div",hm({ref:this.containerRef},r),t):o.a.createElement("div",hm({ref:this.containerRef},r),o.a.createElement("div",{tabIndex:0,ref:this.trapButtonRef,className:dm.a.trapButton,onFocus:this.focusLastIfEnabled,onBlur:this.handleBlurIfWithoutFocus,"data-trap-button":!0}),t,o.a.createElement("div",{tabIndex:0,onFocus:this.focusFirst,"data-trap-button":!0}))}}])&&bm(t.prototype,n),r&&bm(t,r),a}(r.Component);Sm(Em,"propTypes",{children:c.a.node.isRequired,trapDisabled:c.a.bool,autoFocusFirst:c.a.bool,focusBackOnClose:c.a.bool}),Sm(Em,"defaultProps",{trapDisabled:!1,autoFocusFirst:!0,focusBackOnClose:!0});n(868);var Lm=n(24),Tm=n.n(Lm);function Dm(e){return(Dm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Cm(){return(Cm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Pm(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function jm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ym(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Am(e,t){return(Am=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Im(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$m(e);if(t){var o=$m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Rm(this,n)}}function Rm(e,t){return!t||"object"!==Dm(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function $m(e){return($m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Nm=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Am(e,t)}(a,e);var t,n,r,i=Im(a);function a(){return jm(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t=this.props,n=t.theme,r=t.active,i=t.blue,a=t.danger,l=t.delayed,c=t.loader,u=t.primary,f=t.short,d=t.text,p=t.inline,h=t.dropdown,m=t.icon,g=t.iconSize,v=t.iconClassName,y=t.iconSuppressSizeWarning,b=t.className,_=t.children,w=Pm(t,["theme","active","blue","danger","delayed","loader","primary","short","text","inline","dropdown","icon","iconSize","iconClassName","iconSuppressSizeWarning","className","children"]),x=m&&!r&&!a&&!u&&!w.disabled,k=s()(Tm.a.button,b,Tm.a[n],(Hm(e={},Tm.a.active,r),Hm(e,Tm.a.danger,a),Hm(e,Tm.a.delayed,l),Hm(e,Tm.a.withIcon,m),Hm(e,Tm.a.onlyIcon,m&&!_),Hm(e,Tm.a.withNormalIconLight,x&&n===Nl.LIGHT),Hm(e,Tm.a.withNormalIconDark,x&&n===Nl.DARK),Hm(e,Tm.a.withDangerIconLight,m&&a&&n===Nl.LIGHT),Hm(e,Tm.a.withDangerIconDark,m&&a&&n===Nl.DARK),Hm(e,Tm.a.loader,c&&!m),Hm(e,Tm.a.primary,u||i),Hm(e,Tm.a.short,f),Hm(e,Tm.a.text,d),Hm(e,Tm.a.inline,p),e)),M=o.a.createElement("span",{className:Tm.a.content},m&&o.a.createElement("span",{className:s()(Tm.a.icon,v)},o.a.createElement(de,{glyph:m,size:g,loading:c,suppressSizeWarning:y})),_&&o.a.createElement("span",null,_),h&&o.a.createElement(de,{glyph:Ht.a,className:Tm.a.dropdownIcon})),S=!!w.href,O=S?hf:"button";return o.a.createElement(O,Cm({tabIndex:c?-1:0,type:S?null:"button"},w,{className:k}),c&&!d&&!m&&o.a.createElement("div",{className:Tm.a.loaderBackground}),M)}}])&&Ym(t.prototype,n),r&&Ym(t,r),a}(r.PureComponent);Hm(Nm,"propTypes",{theme:c.a.string,active:c.a.bool,danger:c.a.bool,delayed:c.a.bool,loader:c.a.bool,primary:c.a.bool,blue:function(e,t){if(t in e)return new Error('"'.concat(t,'" prop is deprecated. Use "primary" instead'))},short:c.a.bool,text:c.a.bool,inline:c.a.bool,dropdown:c.a.bool,href:c.a.string,icon:c.a.oneOfType([c.a.string,c.a.elementType]),iconSize:c.a.number,iconClassName:c.a.string,iconSuppressSizeWarning:c.a.bool,className:c.a.string,children:c.a.node}),Hm(Nm,"IconSize",w),Hm(Nm,"Theme",Nl);var zm=Hl()(Nm);n(234);function Fm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bm={BOTTOM_RIGHT:"BOTTOM_RIGHT",BOTTOM_LEFT:"BOTTOM_LEFT",BOTTOM_CENTER:"BOTTOM_CENTER",TOP_LEFT:"TOP_LEFT",TOP_RIGHT:"TOP_RIGHT",TOP_CENTER:"TOP_CENTER",RIGHT_TOP:"RIGHT_TOP",RIGHT_BOTTOM:"RIGHT_BOTTOM",RIGHT_CENTER:"RIGHT_CENTER",LEFT_TOP:"LEFT_TOP",LEFT_BOTTOM:"LEFT_BOTTOM",LEFT_CENTER:"LEFT_CENTER"},Um=[Bm.BOTTOM_RIGHT,Bm.BOTTOM_LEFT,Bm.TOP_LEFT,Bm.TOP_RIGHT,Bm.RIGHT_TOP,Bm.RIGHT_BOTTOM,Bm.LEFT_TOP,Bm.LEFT_BOTTOM],Wm={MARGIN:16,BORDER_WIDTH:1},Vm={TARGET:-1},qm={SCREEN:-1},Gm=1,Km=2;function Jm(e,t,n){var r=null!==n.container?n.container.clientHeight:Pc(),o=t.top+n.sidePadding,i=t.top+r-n.sidePadding,a=Math.max(o-e.top,0),s=n.popup.clientHeight,l=e.top+s-i;return a+Math.max(l,0)}function Qm(e,t,n){var r=null!==n.container?n.container.clientWidth:window.innerWidth,o=t.left+n.sidePadding,i=t.left+r-n.sidePadding,a=Math.max(o-e.left,0),s=n.popup.clientWidth,l=e.left+s-i;return a+Math.max(l,0)}var Zm=["directions","autoPositioning","autoCorrectTopOverflow","sidePadding","top","left","offset","maxHeight","minWidth"],Xm={top:0,left:0};function eg(e,t,n){var r=n||document.documentElement,o=t.getBoundingClientRect(),i=r.getBoundingClientRect(),a=Math.max(o.top-i.top,0),s=Math.max(i.height,r===document.documentElement?r.clientHeight:0),l=Math.max(s-(a+o.height),0);switch(e){case Bm.TOP_LEFT:case Bm.TOP_CENTER:case Bm.TOP_RIGHT:return a;case Bm.BOTTOM_LEFT:case Bm.BOTTOM_CENTER:case Bm.BOTTOM_RIGHT:return l;case Bm.LEFT_BOTTOM:case Bm.RIGHT_BOTTOM:return o.height+l;case Bm.LEFT_TOP:case Bm.RIGHT_TOP:return o.height+a;case Bm.RIGHT_CENTER:case Bm.LEFT_CENTER:return o.height/2+Math.min(l/2,a/2);default:return null}}function tg(e){var t=e.popup,n=e.anchor,r=e.container,o=e.directions,i=e.autoPositioning,a=e.sidePadding,s=e.top,l=e.left,c=e.offset,u=e.maxHeight,f=e.minWidth,d=e.autoCorrectTopOverflow,p=void 0===d||d,h={top:0,left:0},m=null,g=null!==r?Dc(r):Xm,v=null!==r?r:document.body,y=Dc(Lc(n)?n:v),b=function(e){return null!==e?{top:e.scrollTop,left:e.scrollLeft}:{top:jc(),left:document.documentElement&&document.documentElement.scrollLeft||document.body.scrollLeft}}(r),_=y.left+b.left+l-g.left,w=y.top+b.top+s-g.top;if(t){var x=function(e,t,n,r,o){var i,a=e.clientWidth,s=e.clientHeight,l=r+t.height,c=n+t.width,u=n-a,f=r-s,d=c-a,p=n+t.width/2-a/2,h=r+t.height/2-s/2,m=l-s;return Fm(i={},Bm.BOTTOM_RIGHT,{left:n,top:l+o}),Fm(i,Bm.BOTTOM_LEFT,{left:d,top:l+o}),Fm(i,Bm.BOTTOM_CENTER,{left:p,top:l+o}),Fm(i,Bm.TOP_RIGHT,{left:n,top:f-o}),Fm(i,Bm.TOP_LEFT,{left:d,top:f-o}),Fm(i,Bm.TOP_CENTER,{left:p,top:f-o}),Fm(i,Bm.LEFT_BOTTOM,{left:u-o,top:r}),Fm(i,Bm.LEFT_TOP,{left:u-o,top:m}),Fm(i,Bm.LEFT_CENTER,{left:u-o,top:h}),Fm(i,Bm.RIGHT_BOTTOM,{left:c+o,top:r}),Fm(i,Bm.RIGHT_TOP,{left:c+o,top:m}),Fm(i,Bm.RIGHT_CENTER,{left:c+o,top:h}),i}(t,y,_,w,c);if(i&&1!==o.length){var k=o.concat(o[0]).filter((function(e){return x[e]})).map((function(e){return{styles:x[e],direction:e}})).sort((function(t,n){var r=t.styles,o=n.styles;return Jm(r,b,e)+Qm(r,b,e)-(Jm(o,b,e)+Qm(o,b,e))}));h=k[0].styles,m=k[0].direction}else h=x[o[0]],m=o[0];["left","top"].forEach((function(e){h[e]<0&&(h[e]=0)}))}return u===qm.SCREEN||"screen"===u?h.maxHeight=window.innerHeight+b.top-h.top-Wm.MARGIN:u&&(h.maxHeight=u),p&&(h=function(e){var t=e.sidePadding,n=e.styles,r=e.anchorRect,o=e.maxHeight,i=e.popupScrollHeight,a=e.direction,s=Bm.TOP_LEFT,l=Bm.TOP_RIGHT,c=Bm.TOP_CENTER;if(![s,l,c,Bm.RIGHT_TOP,Bm.LEFT_TOP].includes(a))return n;var u=[s,c,l].includes(a)?r.top:r.bottom;return u-(o?Math.min(i,o):i)<=t&&(n.top=t,n.maxHeight=u-t+1),n}({sidePadding:a,styles:h,anchorRect:y,maxHeight:u,direction:m,popupScrollHeight:t.scrollHeight})),f===Vm.TARGET||"target"===f?h.minWidth=y.width:f&&(h.minWidth=y.width<f?f:y.width),{styles:h,direction:m}}var ng=n(160),rg=n.n(ng);function og(e){return(og="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ig(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ag(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ig(Object(n),!0).forEach((function(t){hg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ig(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cg(e,t){return(cg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ug(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pg(e);if(t){var o=pg(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fg(this,n)}}function fg(e,t){return!t||"object"!==og(t)&&"function"!=typeof t?dg(e):t}function dg(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pg(e){return(pg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function hg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mg(){return(mg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function gg(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var vg=function(e){return e.stopPropagation()},yg=Object(r.createContext)(),bg=Object(r.forwardRef)((function(e,t){var n=e.id,r=e.children,i=gg(e,["id","children"]),a="function"==typeof r,s=o.a.createElement("div",mg({},i,{"data-portaltarget":n,ref:t}),!a&&r);return o.a.createElement(yg.Provider,{value:n},a?r(s):s)}));bg.propTypes={id:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.func])};var _g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cg(e,t)}(l,e);var t,n,r,a=ug(l);function l(){var e;sg(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hg(dg(e=a.call.apply(a,[this].concat(n))),"state",{display:Gm}),hg(dg(e),"listeners",new Rc),hg(dg(e),"redrawScheduler",bh(!0)),hg(dg(e),"uid",lc("popup-")),hg(dg(e),"calculateDisplay",(function(t){return ag(ag({},t),{},{display:e.props.hidden?Gm:Km})})),hg(dg(e),"portalRef",(function(t){e.node=t,e.parent=t&&t.parentElement,t&&e.getContainer()&&e._redraw()})),hg(dg(e),"popupRef",(function(t){e.popup=t,e._redraw()})),hg(dg(e),"containerRef",(function(t){e.container=t})),hg(dg(e),"_updateDirection",(function(t){e.state.direction!==t&&(e.setState({direction:t}),e.props.onDirectionChange&&e.props.onDirectionChange(t))})),hg(dg(e),"_updatePosition",(function(){if(e.popup){if(e.popup.style.position="absolute",e.isVisible()){var t=e.position(),n=t.styles,r=t.direction;Object.keys(n).forEach((function(t){var r=n[t];e.popup.style[t]="number"==typeof r?"".concat(r,"px"):r.toString()})),e._updateDirection(r)}e.setState(e.calculateDisplay)}})),hg(dg(e),"_redraw",(function(){e.isVisible()&&e.redrawScheduler(e._updatePosition)})),hg(dg(e),"_onEscPress",(function(t){e.props.onEscPress(t),e._onCloseAttempt(t,!0)})),hg(dg(e),"_onDocumentClick",(function(t){e.container&&e.container.contains(t.target)||!e._listenersEnabled||e.props.dontCloseOnAnchorClick&&e._getAnchor()&&e._getAnchor().contains(t.target)||(e.props.onOutsideClick(t),e._onCloseAttempt(t,!1))})),hg(dg(e),"shortcutsScope",e.uid),hg(dg(e),"shortcutsMap",{esc:e._onEscPress}),e}return t=l,(n=[{key:"componentDidMount",value:function(){this.props.client||this.setState({client:!0}),this.props.hidden||this._setListenersEnabled(!0)}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.hidden;this.props!==e&&(e.hidden!==n&&this._setListenersEnabled(!n),this._redraw()),!this.props.onShow||n||this.state.display!==Km||!e.hidden&&t.display===Km||this.props.onShow()}},{key:"componentWillUnmount",value:function(){this._setListenersEnabled(!1),this.popup=null}},{key:"shouldUseShortcuts",value:function(){var e=this.props,t=e.shortcuts,n=e.hidden;return t&&!n}},{key:"getContainer",value:function(){var e=this.props.target||this.ringPopupTarget;return e&&document.querySelector("[data-portaltarget=".concat(e,"]"))}},{key:"position",value:function(){var e=this,t=Zm.reduce((function(t,n){return t[n]=e.props[n],t}),{}),n=this.getContainer();return tg(ag({popup:this.popup,container:n&&"static"!==Ec(n).position?n:null,anchor:this._getAnchor()},t))}},{key:"_getAnchor",value:function(){return this.props.anchorElement||this.parent}},{key:"_setListenersEnabled",value:function(e){var t=this;!e||this._listenersEnabled?!e&&this._listenersEnabled&&(this.listeners.removeAll(),this._listenersEnabled=!1):setTimeout((function(){t._listenersEnabled=!0,t.listeners.add(window,"resize",t._redraw),t.listeners.add(window,"scroll",t._redraw),t.listeners.add(document,"click",t._onDocumentClick);for(var e=t._getAnchor();e;)t.listeners.add(e,"scroll",t._redraw),e=e.parentElement}),0)}},{key:"isVisible",value:function(){return!this.props.hidden}},{key:"_onCloseAttempt",value:function(e,t){this.props.onCloseAttempt(e,t)}},{key:"getInternalContent",value:function(){return this.props.children}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.className,a=n.style,l=n.hidden,c=n.attached,u=n.keepMounted,f=n.client,d=n.onMouseDown,p=n.onMouseUp,h=n.onMouseOver,m=n.onMouseOut,g=n.onContextMenu,v=n["data-test"],y=this.state.display===Gm,b=s()(r,rg.a.popup,(hg(e={},rg.a.attached,c),hg(e,rg.a.hidden,l),hg(e,rg.a.showing,y),e)),_=(this.state.direction||"").toLowerCase().replace(/[_]/g,"-");return o.a.createElement(yg.Consumer,null,(function(e){return t.ringPopupTarget=e,o.a.createElement("span",{onClick:vg,role:"presentation",ref:t.portalRef},t.shouldUseShortcuts()&&o.a.createElement(um,{map:t.shortcutsMap,scope:t.shortcutsScope}),(f||t.state.client)&&(u||!l)&&Object(i.createPortal)(o.a.createElement(bg,{id:t.uid,ref:t.containerRef,onMouseOver:h,onFocus:h,onMouseOut:m,onBlur:m,onContextMenu:g},o.a.createElement("div",{"data-test":ql("ring-popup",v),"data-test-shown":!l&&!y,"data-test-direction":_,ref:t.popupRef,className:b,style:a,onMouseDown:d,onMouseUp:p,role:"presentation"},t.getInternalContent())),t.getContainer()||document.body))}))}}])&&lg(t.prototype,n),r&&lg(t,r),l}(r.PureComponent);hg(_g,"propTypes",{anchorElement:c.a.instanceOf(Node),target:c.a.string,className:c.a.string,style:c.a.object,hidden:c.a.bool.isRequired,onOutsideClick:c.a.func,onEscPress:c.a.func,onCloseAttempt:c.a.func,children:c.a.oneOfType([c.a.arrayOf(c.a.node),c.a.node]),dontCloseOnAnchorClick:c.a.bool,shortcuts:c.a.bool,keepMounted:c.a.bool,"data-test":c.a.string,client:c.a.bool,directions:c.a.arrayOf(c.a.string),autoPositioning:c.a.bool,autoCorrectTopOverflow:c.a.bool,left:c.a.number,top:c.a.number,maxHeight:c.a.number,minWidth:c.a.number,sidePadding:c.a.number,attached:c.a.bool,onMouseDown:c.a.func,onMouseUp:c.a.func,onMouseOver:c.a.func,onMouseOut:c.a.func,onContextMenu:c.a.func,onDirectionChange:c.a.func,onShow:c.a.func}),hg(_g,"defaultProps",{shortcuts:!0,hidden:!1,onOutsideClick:function(){},onEscPress:function(){},onCloseAttempt:function(){},dontCloseOnAnchorClick:!1,keepMounted:!1,directions:Um,autoPositioning:!0,autoCorrectTopOverflow:!0,left:0,top:0,offset:0,sidePadding:8,attached:!1,legacy:!1}),hg(_g,"PopupProps",{Directions:Bm,Dimension:Wm,MinWidth:Vm,MaxHeight:qm});var wg=n(700),xg=n.n(wg),kg=n(66),Mg=n.n(kg),Sg=!1,Og=null,Eg=function(){if(!Sg){Sg=!0,document.documentElement.classList.add(kg.bodyWithoutScroll);var e=xg()();document.documentElement.scrollHeight>window.innerHeight&&e>0&&(Og=document.documentElement.style.width,document.documentElement.style.width="calc(100% - ".concat(e,"px)"))}},Lg=function(){Sg&&(Sg=!1,document.documentElement.classList.remove(kg.bodyWithoutScroll),null!==Og&&(document.documentElement.style.width=Og,Og=null))};function Tg(e){return(Tg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Dg(){return(Dg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Cg(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Pg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yg(e,t){return(Yg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ag(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$g(e);if(t){var o=$g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ig(this,n)}}function Ig(e,t){return!t||"object"!==Tg(t)&&"function"!=typeof t?Rg(e):t}function Rg(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $g(e){return($g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ng(){}var zg=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yg(e,t)}(l,e);var t,n,r,a=Ag(l);function l(){var e;Pg(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Hg(Rg(e=a.call.apply(a,[this].concat(n))),"state",{shortcutsScope:lc("ring-dialog-")}),Hg(Rg(e),"uid",lc("dialog-")),Hg(Rg(e),"handleClick",(function(t){e.props.onOverlayClick(t),e.props.onCloseAttempt(t)})),Hg(Rg(e),"onCloseClick",(function(t){e.props.onCloseClick(t),e.props.onCloseAttempt(t)})),Hg(Rg(e),"getShortcutsMap",(function(){return{esc:function(t){e.props.show&&(e.props.onEscPress(t),e.props.onCloseAttempt(t))}}})),Hg(Rg(e),"dialogRef",(function(t){e.dialog=t&&t.node})),e}return t=l,(n=[{key:"componentDidMount",value:function(){this.toggleScrollPreventer()}},{key:"componentDidUpdate",value:function(e){e.show!==this.props.show&&this.toggleScrollPreventer()}},{key:"componentWillUnmount",value:function(){Lg()}},{key:"toggleScrollPreventer",value:function(){this.props.show?Eg():Lg()}},{key:"render",value:function(){var e=this,t=this.props,n=t.show,r=t.showCloseButton,a=t.onOverlayClick,l=t.onCloseAttempt,c=(t.onEscPress,t.onCloseClick,t.children),u=t.className,f=t.contentClassName,d=t.trapFocus,p=Cg(t,["show","showCloseButton","onOverlayClick","onCloseAttempt","onEscPress","onCloseClick","children","className","contentClassName","trapFocus"]),h=s()(Mg.a.container,u),m=this.getShortcutsMap();return n&&Object(i.createPortal)(o.a.createElement(bg,{id:this.uid,className:Mg.a.popupTarget},(function(t){return o.a.createElement(Em,Dg({trapDisabled:!d,"data-test":"ring-dialog-container",ref:e.dialogRef,className:h,role:"presentation"},p),o.a.createElement(um,{map:m,scope:e.state.shortcutsScope}),(a!==Ng||l!==Ng)&&o.a.createElement("div",{role:"presentation",className:Mg.a.clickableOverlay,onClick:e.handleClick}),o.a.createElement("div",{className:Mg.a.innerContainer},o.a.createElement(Kh,{className:s()(Mg.a.content,f),"data-test":"ring-dialog",role:"dialog"},c,r&&o.a.createElement(zm,{icon:v.a,"data-test":"ring-dialog-close-button",className:Mg.a.closeButton,iconClassName:Mg.a.closeIcon,onClick:e.onCloseClick,"aria-label":"close dialog"}))),t)})),document.body)}}])&&jg(t.prototype,n),r&&jg(t,r),l}(r.PureComponent);Hg(zg,"propTypes",{className:c.a.string,contentClassName:c.a.string,children:c.a.oneOfType([c.a.arrayOf(c.a.node),c.a.node]),show:c.a.bool.isRequired,showCloseButton:c.a.bool,onOverlayClick:c.a.func,onEscPress:c.a.func,onCloseClick:c.a.func,onCloseAttempt:c.a.func,trapFocus:c.a.bool,autoFocusFirst:c.a.bool}),Hg(zg,"defaultProps",{onOverlayClick:Ng,onEscPress:Ng,onCloseClick:Ng,onCloseAttempt:Ng,showCloseButton:!1,trapFocus:!1,autoFocusFirst:!0});var Fg=n(110),Bg=n.n(Fg);function Ug(e){return(Ug="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qg(e,t){return(qg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qg(e);if(t){var o=Qg(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Kg(this,n)}}function Kg(e,t){return!t||"object"!==Ug(t)&&"function"!=typeof t?Jg(e):t}function Jg(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qg(e){return(Qg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Zg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xg=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qg(e,t)}(a,e);var t,n,r,i=Gg(a);function a(){var e;Wg(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Zg(Jg(e=i.call.apply(i,[this].concat(n))),"onEscPress",(function(){e.props.cancelOnEsc&&e.props.onCancel()})),e}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.show,n=e.className,r=e.errorMessage,i=e.serviceImage,a=e.serviceName,l=e.loginCaption,c=e.loginToCaption,u=e.confirmLabel,f=e.cancelLabel,d=e.onConfirm,p=e.onCancel,h=a?c:l,m=(this.props.title||h).replace("%serviceName%",a);return o.a.createElement(zg,{"data-test":"ring-auth-dialog",className:n,contentClassName:s()(n,Bg.a.dialog),onEscPress:this.onEscPress,show:t,trapFocus:!0},o.a.createElement("div",{className:Bg.a.content},i&&o.a.createElement("img",{alt:"".concat(a," logo"),className:Bg.a.logo,src:i}),o.a.createElement("div",{className:Bg.a.title},m),r&&o.a.createElement("div",{className:Bg.a.error},r),o.a.createElement(zm,{primary:!0,className:Bg.a.firstButton,"data-test":"auth-dialog-confirm-button",onClick:d},u),o.a.createElement(zm,{className:Bg.a.button,"data-test":"auth-dialog-cancel-button",onClick:p},f)))}}])&&Vg(t.prototype,n),r&&Vg(t,r),a}(r.Component);Zg(Xg,"propTypes",{className:c.a.string,title:c.a.string,errorMessage:c.a.string,serviceImage:c.a.string,serviceName:c.a.string,loginCaption:c.a.string,loginToCaption:c.a.string,show:c.a.bool,cancelOnEsc:c.a.bool,confirmLabel:c.a.string,cancelLabel:c.a.string,onConfirm:c.a.func,onCancel:c.a.func}),Zg(Xg,"defaultProps",{loginCaption:"Log in",loginToCaption:"Log in to %serviceName%",show:!1,cancelOnEsc:!0,confirmLabel:"Log in",cancelLabel:"Remain a guest",onConfirm:function(){},onCancel:function(){}});document.createElement("div");var ev=Ou.a.module("Ring.auth",[]);ev.provider("auth",["$httpProvider",function(e){var t,n={cleanHash:!1};this.init=function(e){t=e},this.config=function(e){var r=Ou.a.extend({},n,e);t=new zp(r)},e.interceptors.push(["$q","$injector","auth",function(e,t,n){function r(e,t){return e&&e.url&&e.url.indexOf(t)===e.url.length-t.length}return{request:function(e){return!n||r(e,".html")||e&&e.noAuthorization?e:n.promise.then((function(){return n.auth.requestToken()})).then((function(t){return t&&(e.headers.Authorization="Bearer ".concat(t)),e}))},responseError:function(o){if(n&&!r(o.config,".html")&&null!=o.data&&zp.shouldRefreshToken(o.data.error)){var i=t.get("$http"),a=o.config,s=a.data,l=a.method,c=a.params,u=a.url;return n.auth.forceTokenUpdate().then((function(){return i({data:s,method:l,params:c,url:u})}))}return e.reject(o)}}}]),this.$get=["$injector","$log","$sniffer",function(e,n,r){if(!t)return n.warn("Auth wasn't initialized"),null;!1===t.config.reloadOnUserChange&&t.addListener("userChange",(function(){e.get("$route").reload()}));var o=t.init();return o.then((function(n){if(n){var o=document.getElementsByTagName("base"),i=t.config.redirectUri;if(o.length>0&&(i=o[0].href),0===n.indexOf(i)){var a=e.get("$location"),s=n.substr(i.length);a.$$html5&&!r.history&&(s=s.replace(/^#\//,"")),a.url(s).replace()}}}),(function(e){e.authRedirect||n.error(e)})),{auth:t,requestUser:t.requestUser.bind(t),clientId:t.config.clientId,logout:t.logout.bind(t),promise:o}}]}]);ev.name;var tv=Ou.a.module("Ring.autofocus",[]);tv.directive("rgAutofocus",(function(){return function(e,t,n){var r=t[0];e.$watch(n.rgAutofocus,(function(t){t&&e.$evalAsync((function(){return function e(t){if(t)if(t.hasAttribute("rg-select")||"rg-select"===t.tagName.toLowerCase())e(t.querySelector("[data-test=ring-select__focus]"));else if(t.matches(Om)&&t.focus)t.focus();else{var n=t.querySelector(Om);n&&n.focus&&n.focus()}}(r)}))}))}}));tv.name;var nv=n(135),rv=n.n(nv);function ov(e){return(ov="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function iv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return av(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return av(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function av(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sv(){return(sv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function lv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lv(Object(n),!0).forEach((function(t){yv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function uv(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pv(e,t){return(pv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function hv(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vv(e);if(t){var o=vv(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return mv(this,n)}}function mv(e,t){return!t||"object"!==ov(t)&&"function"!=typeof t?gv(e):t}function gv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vv(e){return(vv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function yv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bv={Size18:18,Size20:20,Size24:24,Size32:32,Size40:40,Size48:48,Size56:56},_v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}(a,e);var t,n,r,i=hv(a);function a(){var e;fv(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return yv(gv(e=i.call.apply(i,[this].concat(n))),"state",{errorUrl:""}),yv(gv(e),"handleError",(function(){e.setState({errorUrl:e.props.url})})),yv(gv(e),"handleSuccess",(function(){e.setState({errorUrl:""})})),e}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.size,n=e.url,r=e.dpr,i=e.style,a=e.round,l=e.subavatar,c=e.subavatarSize,u=uv(e,["size","url","dpr","style","round","subavatar","subavatarSize"]),f="".concat(t,"px"),d="".concat(c,"px"),p=cv({borderRadius:a?"50%":t<=bv.Size18?"var(--ring-border-radius-small)":"var(--ring-border-radius)",height:f,width:f},i),h=cv({borderRadius:"2px",height:d,width:d},i);if(!n||this.state.errorUrl===n)return o.a.createElement("span",sv({},u,{className:s()(rv.a.avatar,rv.a.empty,this.props.className),style:p}));var m=n;if(!zu(n)){var g=iv(n.split("?"),2);m=Nu(g[0],cv(cv({},Hu(g[1])),{},{dpr:r,size:t}))}var v=null;if(l&&!zu(l)){var y=iv(l.split("?"),2);return v=Nu(y[0],cv(cv({},Hu(y[1])),{},{dpr:r,subavatarSizeString:d})),o.a.createElement("div",null,o.a.createElement("img",sv({},u,{onError:this.handleError,onLoad:this.handleSuccess,className:s()(rv.a.avatar,this.props.className),style:p,src:m,alt:"User avatar"})),o.a.createElement("img",sv({},u,{onError:this.handleError,onLoad:this.handleSuccess,className:s()(rv.a.subavatar),style:h,src:v,alt:"Subavatar"})))}return o.a.createElement("img",sv({},u,{onError:this.handleError,onLoad:this.handleSuccess,className:s()(rv.a.avatar,this.props.className),style:p,src:m,alt:"User avatar"}))}}])&&dv(t.prototype,n),r&&dv(t,r),a}(r.PureComponent);yv(_v,"propTypes",{dpr:c.a.number,className:c.a.string,size:c.a.number,style:c.a.object,url:c.a.string,round:c.a.bool,subavatar:c.a.string,subavatarSize:c.a.number}),yv(_v,"defaultProps",{dpr:Cc(),size:bv.Size20,subavatarSize:bv.Size20/2,style:{}});var wv=Ou.a.module("Ring.message-bundle",[]);wv.factory("ringI18n",(function(){return function(e){return e}})),wv.service("RingMessageBundle",["ringI18n",function(e){var t=e;this.form_required=function(){return t("Value is required")},this.form_invalid=function(){return t("Value is invalid")},this.form_url=function(){return t("Should be a valid URL")},this.form_email=function(){return t("Should be a valid email")},this.form_number=function(){return t("Should be a number")},this.form_maxlength=function(){return t("Is too long")},this.form_minlength=function(){return t("Is too short")},this.form_pattern=function(){return t("Doesn't match the pattern")},this.form_equalvalue=function(){return t("Is not the same")},this.form_unique=function(){return t("Is not unique")},this.form_max=function(){return t("Is out of range")},this.form_min=function(){return t("Is out of range")},this.form_save=function(){return t("Save")},this.form_saved=function(){return t("Saved")},this.form_cancel=function(){return t("Cancel")},this.avatareditor_nosupport=function(){return t("Sorry, your browser doesn't support File API")},this.avatareditor_noselected=function(){return t("No image file was selected")},this.avatareditor_delete=function(){return t("Delete Image")},this.avatareditor_add=function(){return t("Add Image")},this.errorpage_seriouslywrong=function(){return t("Oh-oh... Something went seriously wrong.")},this.errorpage_offline=function(){return t("There's nothing we can do: The server seems to be offline.")},this.errorpage_disconnected=function(){return t("Disconnected")},this.errorpage_disconnectedmsg=function(){return t("No, no one's there.")},this.errorpage_401=function(){return t("Authorization required")},this.errorpage_401msg=function(){return t("You have requested access to a page that requires authorization, but the request is missing valid authentication credentials. It can also mean that your account has been banned.")},this.errorpage_403=function(){return t("Woah, you can't touch this!")},this.errorpage_403msg=function(){return t("Unfortunately, you are not allowed to access the page you've requested. It seems you don't have sufficient permissions.")},this.errorpage_404=function(){return t("Nope, can't find it!")},this.errorpage_404msg=function(){return t("Despite our best efforts, there's nothing here to show you with the URL you requested. Most likely the URL is invalid or you don't have permissions to access the page.")},this.errorpage_500=function(){return t("Oh-oh... Something went seriously wrong")},this.errorpage_500msg=function(){return t("Despite our best efforts, the server is not working properly.")},this.select_options_not_found=function(){return t("No options found")},this.select_loading=function(){return t("Loading...")},this.select_label=function(){return t("Select an option")},this.previous_page=function(){return t("previous")},this.next_page=function(){return t("next page")},this.first_page=function(){return t("First page")},this.last_page=function(){return t("Last page")},this.items_per_page=function(){return t("per page")},this.confirmation_ok=function(){return t("Ok")},this.confirmation_cancel=function(){return t("Cancel")}}]);var xv=wv.name;function kv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ov=function(){var e,t,n;function r(){for(var e=this,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];kv(this,r),Sv(this,"$inject",{}),this.constructor.$inject.forEach((function(t,r){e.$inject[t]=n[r]}))}return e=r,n=[{key:"controller",get:function(){return this}}],(t=null)&&Mv(e.prototype,t),n&&Mv(e,n),r}();function Ev(e){return(Ev="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Lv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dv(e,t){return(Dv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Cv(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Yv(e);if(t){var o=Yv(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Pv(this,n)}}function Pv(e,t){return!t||"object"!==Ev(t)&&"function"!=typeof t?jv(e):t}function jv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yv(e){return(Yv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Av(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Sv(Ov,"$inject",[]);var Iv=Ou.a.module("Ring.template",[]),Rv=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}(i,e);var t,n,r,o=Cv(i);function i(){var e;Lv(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Av(jv(e=o.call.apply(o,[this].concat(n))),"currentScope",null),Av(jv(e),"render",(function(t){var n=e.$inject,r=n.$scope,o=n.$element,i=n.$compile;e.cleanup(),e.currentScope=r.$new(),e.currentScope.$evalAsync((function(){o.html(t),e.addInnerClass(),i(o.contents())(e.currentScope)}))})),Av(jv(e),"addInnerClass",(function(){var t=e.$inject.$attrs.rgTemplateClass;t&&e.$inject.$element.contents().addClass(t)}));var a=e.$inject,s=a.$scope,l=a.$attrs;return s.$watch(l.rgTemplate||l.template,e.render),e}return t=i,(n=[{key:"cleanup",value:function(){this.currentScope&&(this.currentScope.$destroy(),this.currentScope=null)}}])&&Tv(t.prototype,n),r&&Tv(t,r),i}(Ov);Av(Rv,"$inject",["$scope","$element","$attrs","$compile"]),Iv.directive("rgTemplate",(function(){return{controller:Rv}}));var $v=Iv.name;function Hv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Nv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nv(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var zv=Ou.a.module("Ring.icon",[$v]);zv.directive("rgIcon",(function(){return{restrict:"E",scope:{glyph:"@",loading:"=?",color:"@?",size:"@?",height:"@?",width:"@?"},template:'<span class="'.concat(k.a.icon,'" rg-template="normalizedGlyph" rg-template-class="').concat(k.a.glyph,'"></span>'),controller:["$scope",function(e){e.$watch("glyph",(function(t){var n;t&&(e.normalizedGlyph=0===(n=t).indexOf("data:image/svg+xml;base64,")?window.atob(n.replace("data:image/svg+xml;base64,","")):n)}))}],link:function(e,t,n){n.$addClass("ring-icon"),e.$watch("loading",(function(e){e?n.$addClass(k.a.loading):n.$removeClass(k.a.loading)})),e.$watch((function(){return e.color&&_[e.color]&&k.a[_[e.color]]}),(function(e,t){e&&(n.$addClass(e),t&&t!==e&&n.$removeClass(t))})),e.$watchGroup(["size","width","height"],(function(e){var n=Hv(e,3),r=n[0],o=n[1],i=n[2],a=t[0].querySelector("svg");if(!r||o||i)o&&a.setAttribute("style","width: ".concat(o,"px;")),i&&a.setAttribute("style","height: ".concat(i,"px;"));else{var s="".concat(r,"px"),l="width: ".concat(s,"; height: ").concat(s,";");a.setAttribute("style",l)}}))}}}));var Fv=zv.name,Bv=(n(873),Ou.a.module("Ring.avatar-editor",[xv,Fv]));Bv.directive("rgAvatarEditor",(function(){return{restrict:"E",scope:{model:"=ngModel",onSelect:"&",default:"@",ngDisabled:"=",showDeleteButton:"=?",showAddButton:"=?",deleteLabel:"@",addMessage:"@"},template:n(875),transclude:!0,controller:["$scope","$attrs","RingMessageBundle",function(e,t,n){var r;function o(t){return function(n){var r=n.target.result,o=e.onSelect({name:t.name,data:r});o&&o.then?o.then((function(){e.model=r})):!1!==o&&e.$apply((function(){e.model=r}))}}function i(e){e.stopPropagation()}e.editIcon=Ei.a,e.showAddButton=!("showAddButton"in e)||e.showAddButton,e.showDeleteButton=!("showDeleteButton"in e)||e.showDeleteButton,"controls"in t&&(e.controlled=!0),this.registerFileInput=function(e){(r=e).addEventListener("change",(function(e){for(var t=!1,r=0;r<e.target.files.length;r++){var i=e.target.files[r];if(0===i.type.indexOf("image/")){t=!0;var a=new FileReader;a.onload=o(i),a.readAsDataURL(i);break}}e.target.files.length&&!t&&xu.error(n.avatareditor_noselected())}))},e.controls={},e.controls.select=function(){FileReader?(r.addEventListener("click",i),r.dispatchEvent(new MouseEvent("click")),r.removeEventListener("click",i)):xu.error(n.avatareditor_nosupport())},e.controls.remove=function(){var t=e.onSelect({name:"",data:""});t&&t.then?t.then((function(){e.model=""})):!1!==t&&(e.model="")},e.getDeleteLabel=function(){return e.deleteLabel||n.avatareditor_delete()},e.getAddMessage=function(){return e.addMessage||n.avatareditor_add()}}]}})),Bv.directive("rgAvatarEditorFileInput",(function(){return{restrict:"A",require:"^rgAvatarEditor",link:function(e,t,n,r){r.registerFileInput(t[0])}}}));Bv.name;function Uv(e){return(Uv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qv(e,t){return(qv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gv(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qv(e);if(t){var o=Qv(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Kv(this,n)}}function Kv(e,t){return!t||"object"!==Uv(t)&&"function"!=typeof t?Jv(e):t}function Jv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qv(e){return(Qv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Zv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xv=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}(a,e);var t,n,r,i=Gv(a);function a(){var e;Wv(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Zv(Jv(e=i.call.apply(i,[this].concat(n))),"nodeRef",(function(t){e.node=t})),e}return t=a,(n=[{key:"componentDidMount",value:function(){var e=this.props.nodes;if(this.node&&e&&e.length){var t=document.createDocumentFragment();e.forEach((function(e){return t.appendChild(e)})),this.node.appendChild(t)}}},{key:"render",value:function(){var e=this.props.className;return o.a.createElement("div",{className:e,ref:this.nodeRef})}}])&&Vv(t.prototype,n),r&&Vv(t,r),a}(r.Component);function ey(e){return(ey="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ty(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ny(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ry(e,t){return(ry=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oy(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ay(e);if(t){var o=ay(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return iy(this,n)}}function iy(e,t){return!t||"object"!==ey(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ay(e){return(ay=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function sy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ly(e){var t,n,r=Object.keys(e.propTypes),a={};return r.forEach((function(e){a[e]="<"})),n=t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}(c,t);var n,a,s,l=oy(c);function c(){return ty(this,c),l.apply(this,arguments)}return n=c,(a=[{key:"$postLink",value:function(){var e=this;(0,this.$inject.$transclude)((function(t){e.innerNodes=Array.from(t),e.render()}))}},{key:"$onChanges",value:function(){this.innerNodes&&this.render()}},{key:"$onDestroy",value:function(){Object(i.unmountComponentAtNode)(this.$inject.$element[0])}},{key:"render",value:function(){var t=this,n=this.$inject,a=n.$scope,s=n.$element[0],l={};r.forEach((function(e){void 0!==t[e]&&("function"==typeof t[e]?l[e]=function(){var n=t[e].apply(t,arguments);return a.$applyAsync(),n}:l[e]=t[e])}));var c=this.innerNodes&&this.innerNodes.length;Object(i.render)(o.a.createElement(e,l,c?o.a.createElement(Xv,{nodes:this.innerNodes}):null),s)}}])&&ny(n.prototype,a),s&&ny(n,s),c}(Ov),sy(t,"$inject",["$scope","$element","$transclude"]),sy(t,"bindings",a),sy(t,"transclude",!0),n}Zv(Xv,"propTypes",{className:c.a.string,nodes:c.a.array});var cy=function(e,t){var n="Ring.".concat(t[0].toLowerCase()+t.slice(1));return Ou.a.module(n,[]).component(function(e){return"rg".concat(e)}(t),ly(e))},uy=(cy(_v,"Avatar").name,n(136)),fy=n.n(uy);function dy(e){return(dy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function py(){return(py=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function hy(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function my(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vy(e,t){return(vy=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yy(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_y(e);if(t){var o=_y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return by(this,n)}}function by(e,t){return!t||"object"!==dy(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _y(e){return(_y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function wy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xy=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}(a,e);var t,n,r,i=yy(a);function a(){return my(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t=this.props,n=t.gray,r=t.valid,i=t.invalid,a=t.disabled,l=t.className,c=t.children,u=t["data-test"],f=hy(t,["gray","valid","invalid","disabled","className","children","data-test"]),d=s()(fy.a.badge,l,(wy(e={},fy.a.gray,n),wy(e,fy.a.valid,r),wy(e,fy.a.invalid,i),wy(e,fy.a.disabled,a),e));return o.a.createElement("span",py({},f,{"data-test":ql("ring-badge",u),className:d}),c)}}])&&gy(t.prototype,n),r&&gy(t,r),a}(r.PureComponent);wy(xy,"propTypes",{gray:c.a.bool,valid:c.a.bool,invalid:c.a.bool,disabled:c.a.bool,className:c.a.string,children:c.a.node,"data-test":c.a.string});cy(xy,"Badge").name,n(877);var ky=Ou.a.module("Ring.link",[]);ky.directive("rgLink",(function(){return{restrict:"E",transclude:!0,replace:!0,template:'\n<a class="'.concat(gf.a.link," ").concat(gf.a.compatibilityUnderlineMode,'"\n><span class="').concat(gf.a.inner,'" ng-transclude></span></a>\n ')}}));var My=ky.name,Sy=Ou.a.module("Ring.breadcrumb",[My,Fv]);Sy.filter("breadcrumbNgChevronIcon",(function(){return function(){return Wt.a}})),Sy.directive("rgBreadcrumb",(function(){return{template:n(879),replace:!0,transclude:!0,restrict:"E",scope:{label:"@",link:"@",onClick:"&"}}}));Sy.name;var Oy=n(121),Ey=n.n(Oy);function Ly(e){return(Ly="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ty(){return(Ty=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Py(e,t){return(Py=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function jy(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ay(e);if(t){var o=Ay(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Yy(this,n)}}function Yy(e,t){return!t||"object"!==Ly(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ay(e){return(Ay=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Iy(e){return(Iy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ry(){return(Ry=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function $y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hy(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ny(e,t){return(Ny=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function zy(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=By(e);if(t){var o=By(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Fy(this,n)}}function Fy(e,t){return!t||"object"!==Iy(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function By(e){return(By=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Py(e,t)}(a,e);var t,n,r,i=jy(a);function a(){return Dy(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.className,t=s()(Ey.a.caption,e);return o.a.createElement("span",Ty({},this.props,{className:t}))}}])&&Cy(t.prototype,n),r&&Cy(t,r),a}(r.PureComponent),"propTypes",{className:c.a.node});var Uy=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}(a,e);var t,n,r,i=zy(a);function a(){return $y(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.className,t=s()(Ey.a.buttonGroup,e);return o.a.createElement("div",Ry({},this.props,{className:t}))}}])&&Hy(t.prototype,n),r&&Hy(t,r),a}(r.PureComponent);!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(Uy,"propTypes",{children:c.a.node,className:c.a.string});var Wy=n(701);function Vy(e){return function(e){if(Array.isArray(e))return qy(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return qy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qy(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Gy=Ou.a.module("Ring.button-group",[]),Ky=s()(Ey.a.buttonGroup,Wy.buttonGroup);Gy.directive("rgButtonGroup",(function(){return{restrict:"A",link:function(e,t){var n;(n=t[0].classList).add.apply(n,Vy(Ky.split(" ")))}}})),Gy.directive("rgButtonGroupCaption",(function(){return{restrict:"A",link:function(e,t){var n;(n=t[0].classList).add.apply(n,Vy(Ey.a.caption.split(" ")))}}}));Gy.name,n(182);var Jy=n(204),Qy=n.n(Jy);function Zy(e){return(Zy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tb(e,t){return(tb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function nb(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ib(e);if(t){var o=ib(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rb(this,n)}}function rb(e,t){return!t||"object"!==Zy(t)&&"function"!=typeof t?ob(e):t}function ob(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ib(e){return(ib=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ab(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sb=Qy.a.ringIconDefaultColor,lb=Qy.a.iconMarginFix,cb=Qy.a.transcludeSpacer,ub=Ou.a.module("Ring.button",[Fv]),fb=s()(Tm.a.button,Tm.a.buttonWithoutIcon,Tm.a.light),db=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}(i,e);var t,n,r,o=nb(i);function i(){var e;Xy(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];ab(ob(e=o.call.apply(o,[this].concat(n))),"updateTheme",(function(t){pb(t)&&hb(e.element,{currentTheme:t})})),ab(ob(e),"findTranscludeNode",(function(){return e.element.query("ng-transclude")})),ab(ob(e),"updateMode",(function(t){var n=e.element.classList;"primary"===t||"blue"===t?("blue"===t&&e.$inject.$log.warn('Ring UI ButtonNG doesn\'t have "blue" mode anymore. Use "primary" mode instead.',e.element),Ac(n,Tm.a.primary)):Ic(n,Tm.a.primary)})),ab(ob(e),"updateIcon",(function(){var t=e.$inject,n=t.$attrs,r=t.$compile,o=t.$scope,i=e.element.query("rg-icon"),a=e.findTranscludeNode(),s=n.icon,l=n.iconSize,c=e.element.classList;s?(Ic(c,Tm.a.buttonWithoutIcon),Ac(c,Tm.a.withIcon),Ac(a.classList,cb),i.setAttribute("glyph",s),l&&i.setAttribute("size",l)):(Ic(c,Tm.a.withIcon),Ac(c,Tm.a.buttonWithoutIcon),Ic(a.classList,cb),i.removeAttribute("glyph"),i.removeAttribute("size")),s&&!a.textContent?Ac(c,Tm.a.onlyIcon):Ic(c,Tm.a.onlyIcon),r(i)(o)}));var a=e.$inject,s=a.$element,l=a.$attrs,c=a.$scope;c.styles=Tm.a,e.element=s[0];var u=["delayed","loader","danger","short","active","text","inline","narrowRight"],f=e.element.classList;u.forEach((function(t){c.$watch((function(){return c.$eval(l[t])}),(function(n){var r="data-test-".concat(t);n?(Ac(f,Tm.a[t]),e.element.setAttribute(r,!0)):(Ic(f,Tm.a[t]),e.element.removeAttribute(r)),"loader"===t&&Yc(n?"add":"remove")(e.element.querySelector(".js-button-loader").classList,Tm.a.loaderBackground)}))}));var d=l.tabindex||"-1";return"-1"!==d&&e.element.setAttribute("tabindex",d),c.$watch((function(){return c.$eval(l.loader)}),(function(t){t?e.element.setAttribute("tabindex","-1"):"-1"!==d?e.element.setAttribute("tabindex",d):e.element.removeAttribute("tabindex")})),e}return t=i,(n=[{key:"$postLink",value:function(){var e=this.$inject.$attrs;e.hasOwnProperty("mode")||Ac(this.findTranscludeNode().classList,sb),e.$observe("mode",this.updateMode),e.$observe("icon",this.updateIcon),e.$observe("iconSize",this.updateIcon),e.$observe("theme",this.updateTheme)}}])&&eb(t.prototype,n),r&&eb(t,r),i}(Ov);function pb(e){return e&&Object.values(Nl).some((function(t){return t===e}))}function hb(e,t){var n;(n={element:e,prevTheme:t.prevTheme&&Tm.a[t.prevTheme]||Tm.a.light,currentTheme:Tm.a[t.currentTheme]})&&n.element&&n.currentTheme&&(n.prevTheme&&n.element.classList.remove(n.prevTheme),n.element.classList.add(n.currentTheme))}function mb(e){return function(){return{restrict:"E",transclude:!0,replace:!0,require:{rgThemeCtrl:"?^^rgTheme"},template:"\n <".concat(e,' class="').concat(fb,'">\n <span class="').concat(Tm.a.content,'"\n ><rg-icon class="').concat(s()(Tm.a.icon,lb),'"></rg-icon\n ><ng-transclude></ng-transclude\n ></span\n ><div class="js-button-loader"></div>\n </').concat(e,">\n "),controller:db,link:function(e,t,n,r){var o=r.rgThemeCtrl;o&&(hb(t[0],{currentTheme:o.theme}),o.on("change",(function(e,n){return hb(t[0],n)})))}}}}ab(db,"$inject",["$element","$attrs","$scope","$compile","$log"]),ub.directive("rgButton",mb("button")),ub.directive("rgButtonLink",mb("a"));var gb=ub.name,vb=n(702),yb=n.n(vb);function bb(e){return(bb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _b(){return(_b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function wb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kb(e,t){return(kb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mb(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ob(e);if(t){var o=Ob(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Sb(this,n)}}function Sb(e,t){return!t||"object"!==bb(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ob(e){return(Ob=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}(a,e);var t,n,r,i=Mb(a);function a(){return wb(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=s()(yb.a.buttonSet,this.props.className);return o.a.createElement("div",_b({},this.props,{className:e}),this.props.children)}}])&&xb(t.prototype,n),r&&xb(t,r),a}(r.PureComponent),"propTypes",{children:c.a.node,className:c.a.string});var Eb=Ou.a.module("Ring.button-set",[]);Eb.directive("rgButtonSet",(function(){return{restrict:"E",replace:!0,scope:!1,transclude:!0,template:n(882)}}));var Lb=Eb.name,Tb=n(703),Db=n.n(Tb);function Cb(e){return(Cb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Pb(){return(Pb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function jb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ab(e,t){return(Ab=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ib(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$b(e);if(t){var o=$b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Rb(this,n)}}function Rb(e,t){return!t||"object"!==Cb(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function $b(e){return($b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Hb=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ab(e,t)}(a,e);var t,n,r,i=Ib(a);function a(){return jb(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props.className,t=s()(Db.a.buttonToolbar,e);return o.a.createElement("div",Pb({},this.props,{className:t}))}}])&&Yb(t.prototype,n),r&&Yb(t,r),a}(r.PureComponent);function Nb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zb(e,t,n){return t&&Nb(e.prototype,t),n&&Nb(e,n),e}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(Hb,"propTypes",{children:c.a.node,className:c.a.string});var Fb=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.target=t}return zb(e,null,[{key:"normalizeNewlines",value:function(e){return"string"==typeof e?e.replace(this.returnRE,""):e}}]),zb(e,[{key:"isContentEditable",value:function(){return"true"===this.target.contentEditable}},{key:"focus",value:function(){document.activeElement&&document.activeElement===this.target||this.target.focus()}},{key:"getPosition",value:function(){if(this.isContentEditable()){this.focus();var e=window.getSelection();if(!e.rangeCount)return 0;var t=e.getRangeAt(0),n=t.cloneRange();return n.selectNodeContents(this.target),n.setEnd(t.endContainer,t.endOffset),t.startOffset!==t.endOffset?{startOffset:t.startOffset,endOffset:t.endOffset,position:n.toString().length}:n.toString().length}return this.target.selectionStart}},{key:"getRelativePosition",value:function(e,t){var n=0,r=e;if(!r)return{_curNode:this.target,_correctedPosition:t};if(0===t){for(;3!==r.nodeType;)r=r.childNodes[0];return{_curNode:r,_correctedPosition:t}}var o=-1;if(r&&void 0!==r.nodeType)for(;n<t&&3!==r.nodeType&&(o++,null!==r.childNodes[o]&&r.childNodes[o]);)(n+=r.childNodes[o].textContent.length)>=t&&(n-=(r=r.childNodes[o]).textContent.length,o=-1);return{_curNode:r,_correctedPosition:t-n}}},{key:"setPosition",value:function(e){var t,n=this.isContentEditable(),r=this.target&&this.target.childNodes[0];if(void 0!==e)if(void 0!==e.startOffset){var o=new Range,i=this.getRelativePosition(r,e.startOffset);o.setStart(i._curNode,i._correctedPosition);var a=this.getRelativePosition(r,e.endOffset);o.setEnd(a._curNode,a._correctedPosition),t=o}else if(-1===e){t=(n?this.target.textContent:this.constructor.normalizeNewlines(this.target.value)).length}else{var s=this.getRelativePosition(r,e);r=s._curNode,t=s._correctedPosition}if(n){this.focus();try{t instanceof Range?(window.getSelection().removeAllRanges(),window.getSelection().addRange(t)):window.getSelection().collapse(r||this.target,t)}catch(e){}}else this.target.setSelectionRange(t,t);return t}},{key:"getOffset",value:function(){var e,t=0;try{(e=window.getSelection().getRangeAt(0).cloneRange()).setStart(e.startContainer,e.startOffset-1)}catch(e){return t}return e&&0!==e.endOffset&&""!==e.toString()&&(t=Dc(e).right-Dc(this.target).left-(e.startContainer.offsetLeft||0)),t}}]),e}();!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(Fb,"returnRE",/\r/g);var Bb=n(72),Ub=n.n(Bb);function Wb(e){return(Wb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Vb(){return(Vb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qb(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Gb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jb(e,t){return(Jb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Qb(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=e_(e);if(t){var o=e_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Zb(this,n)}}function Zb(e,t){return!t||"object"!==Wb(t)&&"function"!=typeof t?Xb(e):t}function Xb(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e_(e){return(e_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function t_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var n_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jb(e,t)}(a,e);var t,n,r,i=Qb(a);function a(){var e;Gb(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return t_(Xb(e=i.call.apply(i,[this].concat(n))),"inputRef",(function(t){e.input=t})),e}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.label,r=qb(e,["children","label"]),i=s()(Ub.a.input,this.props.className);return o.a.createElement("label",{className:Ub.a.checkbox,"data-test":"ring-checkbox"},o.a.createElement("input",Vb({},r,{ref:this.inputRef,type:"checkbox",className:i})),o.a.createElement("span",{className:Ub.a.cell},o.a.createElement(de,{glyph:p.a,className:Ub.a.icon})),o.a.createElement("span",{className:Ub.a.label},n||t))}}])&&Kb(t.prototype,n),r&&Kb(t,r),a}(r.PureComponent);t_(n_,"propTypes",{name:c.a.string,label:c.a.string,className:c.a.string,defaultChecked:c.a.bool,checked:c.a.bool,disabled:c.a.bool,onChange:c.a.func,children:c.a.node});n(884);var r_=function(e,t){return function(n,r){var o=t||Object.keys(r.$attr),i=e;return o.forEach((function(e){if(void 0!==r[e]){var t=r.$attr[e],n=r[e],o="".concat("data-proxy-").concat(t).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),a="".concat(t,'="').concat(n,'"');i=i.replace(RegExp("".concat(o,'(="")*'),"g"),a)}})),i}},o_=Ou.a.module("Ring.checkbox",[Fv]),i_=0;o_.directive("rgCheckbox",(function(){return{restrict:"E",transclude:!0,replace:!0,template:r_('\n<label class="'.concat(Ub.a.checkbox,'">\n <input\n data-proxy-ng-disabled\n data-proxy-ng-model\n data-proxy-ng-change\n data-proxy-ng-true-value\n data-proxy-ng-false-value\n data-proxy-name\n data-proxy-title\n data-proxy-aria-label\n data-test="ring-checkbox"\n type="checkbox"\n class="').concat(Ub.a.input,'"\n />\n <span class="').concat(Ub.a.cell,'">\n <rg-icon class="').concat(Ub.a.icon,'" glyph="{{:: checkmarkIcon}}" />\n </span><span class="').concat(Ub.a.label,'" ng-transclude></span>\n</label>\n ')),link:function(e,t){e.checkmarkIcon=p.a;var n=t[0].query('input[type="checkbox"]'),r="rg-checkbox-"+i_++;t[0].setAttribute("for",r),n.setAttribute("id",r)}}}));var a_=o_.name;function s_(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=c_(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function l_(e){return function(e){if(Array.isArray(e))return u_(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||c_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c_(e,t){if(e){if("string"==typeof e)return u_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u_(e,t):void 0}}function u_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f_(e){var t,n=/\S/,r=/^\s*/,o=e.split(/\n/g),i=l_(o),a=s_(i);try{for(a.s();!(t=a.n()).done;){var s=t.value;if(n.test(s))break;o.shift()}}catch(e){a.e(e)}finally{a.f()}var l,c=s_(i.reverse());try{for(c.s();!(l=c.n()).done;){var u=l.value;if(n.test(u))break;o.pop()}}catch(e){c.e(e)}finally{c.f()}var f=o.filter((function(e){return n.test(e)})).map((function(e){return e.match(r)[0].length})),d=Math.min.apply(Math,l_(f));return o.map((function(e){return e.slice(d)})).join("\n")}function d_(e){return function(e){if(Array.isArray(e))return p_(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return p_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p_(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h_(e){return function(t){for(var n=d_(t),r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return o.forEach((function(e,t){return n.splice(2*t+1,0,e)})),e(n.join(""))}}var m_=n(28),g_=n.n(m_),v_=n(254),y_=n.n(v_),b_=n(704),__=n.n(b_),w_=n(705),x_=n.n(w_),k_=n(706),M_=n.n(k_),S_=n(707),O_=n.n(S_),E_=n(708),L_=n.n(E_),T_=n(709),D_=n.n(T_),C_=n(710),P_=n.n(C_),j_=n(711),Y_=n.n(j_),A_=n(712),I_=n.n(A_),R_=n(713),$_=n.n(R_),H_=n(714),N_=n.n(H_),z_=n(715),F_=n.n(z_),B_=n(716),U_=n.n(B_),W_=n(717),V_=n.n(W_),q_=n(718),G_=n.n(q_),K_=n(719),J_=n.n(K_),Q_=n(720),Z_=n.n(Q_),X_=n(721),ew=n.n(X_),tw=n(722),nw=n.n(tw),rw=n(723),ow=n.n(rw),iw=n(724),aw=n.n(iw),sw=n(725),lw=n.n(sw),cw=n(726),uw=n.n(cw),fw=n(727),dw=n.n(fw),pw=n(728),hw=n.n(pw),mw=n(729),gw=n.n(mw),vw=n(730),yw=n.n(vw),bw=n(731),_w=n.n(bw),ww=n(732),xw=n.n(ww),kw=n(733),Mw=n.n(kw),Sw=n(734),Ow=n.n(Sw),Ew=n(735),Lw=n.n(Ew),Tw=n(736),Dw=n.n(Tw),Cw=n(737),Pw=n.n(Cw),jw=n(738),Yw=n.n(jw),Aw=n(739),Iw=n.n(Aw),Rw=n(740),$w=n.n(Rw),Hw=n(741),Nw=n.n(Hw),zw=n(742),Fw=n.n(zw),Bw=n(743),Uw=n.n(Bw),Ww=n(744),Vw=n.n(Ww);g_.a.registerLanguage("cpp",__.a),g_.a.registerLanguage("xml",x_.a),g_.a.registerLanguage("bash",M_.a),g_.a.registerLanguage("clojure",O_.a),g_.a.registerLanguage("coffeescript",L_.a),g_.a.registerLanguage("cs",D_.a),g_.a.registerLanguage("css",P_.a),g_.a.registerLanguage("markdown",Y_.a),g_.a.registerLanguage("dockerfile",I_.a),g_.a.registerLanguage("elixir",$_.a),g_.a.registerLanguage("elm",N_.a),g_.a.registerLanguage("ruby",F_.a),g_.a.registerLanguage("erlang",U_.a),g_.a.registerLanguage("glsl",V_.a),g_.a.registerLanguage("go",G_.a),g_.a.registerLanguage("gradle",J_.a),g_.a.registerLanguage("groovy",Z_.a),g_.a.registerLanguage("handlebars",ew.a),g_.a.registerLanguage("haskell",nw.a),g_.a.registerLanguage("java",ow.a),g_.a.registerLanguage("javascript",aw.a),g_.a.registerLanguage("json",lw.a),g_.a.registerLanguage("kotlin",uw.a),g_.a.registerLanguage("less",dw.a),g_.a.registerLanguage("livescript",hw.a),g_.a.registerLanguage("lua",gw.a),g_.a.registerLanguage("makefile",yw.a),g_.a.registerLanguage("perl",_w.a),g_.a.registerLanguage("php",xw.a),g_.a.registerLanguage("powershell",Mw.a),g_.a.registerLanguage("python",Ow.a),g_.a.registerLanguage("r",Lw.a),g_.a.registerLanguage("rust",Dw.a),g_.a.registerLanguage("scala",Pw.a),g_.a.registerLanguage("scss",Yw.a),g_.a.registerLanguage("shell",Iw.a),g_.a.registerLanguage("sql",$w.a),g_.a.registerLanguage("swift",Nw.a),g_.a.registerLanguage("yaml",Fw.a),g_.a.registerLanguage("twig",Uw.a),g_.a.registerLanguage("typescript",Vw.a);var qw=g_.a,Gw=n(205),Kw=n.n(Gw);function Jw(e){return(Jw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xw(e,t){return(Xw=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ex(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=nx(e);if(t){var o=nx(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return tx(this,n)}}function tx(e,t){return!t||"object"!==Jw(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function nx(e){return(nx=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function rx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ox=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xw(e,t)}(a,e);var t,n,r,i=ex(a);function a(){return Qw(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"componentDidMount",value:function(){this.highlight()}},{key:"componentDidUpdate",value:function(){this.highlight()}},{key:"highlight",value:function(){this.props.inline||qw.highlightBlock(this.codeRef),this.props.replacer(this.codeRef)}},{key:"render",value:function(){var e,t=this.props,n=t.code,r=t.className,i=t.inline,a=t.softWrap,l=t.language,c=i?"span":"pre",u=s()(Kw.a.code,r,l,(rx(e={},Kw.a.inline,i),rx(e,Kw.a.softWrap,a),e));return o.a.createElement(c,{className:u},o.a.createElement("code",{tabIndex:i?-1:0,ref:this.initCodeRef,className:y_.a.highlightContainer},f_(n)))}},{key:"codeRef",get:function(){var e=this.props.codeRef;return!e||this.isFunctionCodeRef?this.code:e.current}},{key:"isFunctionCodeRef",get:function(){return"function"==typeof this.props.codeRef}},{key:"initCodeRef",get:function(){var e=this,t=this.props.codeRef;return t&&!this.isFunctionCodeRef?t:function(n){e.code=n,e.isFunctionCodeRef&&t(e.code)}}}])&&Zw(t.prototype,n),r&&Zw(t,r),a}(r.PureComponent);rx(ox,"propTypes",{className:c.a.string,code:c.a.string.isRequired,inline:c.a.bool,softWrap:c.a.bool,language:c.a.string,replacer:c.a.func,codeRef:c.a.oneOfType([c.a.shape({current:c.a.instanceOf(Element)}),c.a.func])}),rx(ox,"defaultProps",{inline:!1,softWrap:!1,replacer:function(){}});h_((function(e){return o.a.createElement(ox,{code:e})})),n(148);var ix=Ou.a.module("Ring.compiler",[]).factory("rgCompiler",["$q","$controller","$injector","$compile",function(e,t,n,r){return function(o){var i=o.template,a=o.controller,s=o.controllerAs,l=Ou.a.extend({},o.resolve),c=o.bindToController;return Ou.a.forEach(l,(function(e,t){Ou.a.isString(e)?l[t]=n.get(e):l[t]=n.invoke(e)})),Ou.a.extend(l,o.locals),e.all(l).then((function(e){var n=o.element||Ou.a.element("<div>").html(i.trim()).contents(),l=r(n,e.$transclude);return e.$element=n,{locals:e,element:n,link:function(r){if(e.$scope=r,a){var o=t(a,e,!0);c&&Ou.a.extend(o.instance,e);var i=o();n.data("$ngControllerController",i),s&&(r[s]=i)}return l(r)}}}))}}]).name,ax=n(745),sx=n.n(ax);function lx(e){return(lx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function cx(){return(cx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ux(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function px(e,t){return(px=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function hx(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gx(e);if(t){var o=gx(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return mx(this,n)}}function mx(e,t){return!t||"object"!==lx(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function gx(e){return(gx=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vx=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&px(e,t)}(a,e);var t,n,r,i=hx(a);function a(){return fx(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=ux(e,["className","children"]),i=s()(sx.a.panel,t);return o.a.createElement("div",cx({},r,{className:i}),n)}}])&&dx(t.prototype,n),r&&dx(t,r),a}(r.PureComponent);!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(vx,"propTypes",{className:c.a.string,children:c.a.node});var yx=n(746),bx=n.n(yx);function _x(e){return(_x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kx(e,t){return(kx=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mx(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ex(e);if(t){var o=Ex(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Sx(this,n)}}function Sx(e,t){return!t||"object"!==_x(t)&&"function"!=typeof t?Ox(e):t}function Ox(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ex(e){return(Ex=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Lx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tx=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kx(e,t)}(a,e);var t,n,r,i=Mx(a);function a(){var e;wx(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Lx(Ox(e=i.call.apply(i,[this].concat(n))),"onEscPress",(function(){e.props.rejectOnEsc&&e.props.onReject()})),e}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.show,n=e.className,r=e.inProgress,i=e.cancelIsDefault,a=e.text,s=e.description,l=e.confirmLabel,c=e.rejectLabel,u=e.onConfirm,f=e.onReject;return o.a.createElement(zg,{className:n,onEscPress:this.onEscPress,show:t,trapFocus:!0},a&&o.a.createElement(gh,null,a),o.a.createElement(Yh,null,s&&o.a.createElement("div",{className:bx.a.description},s)),o.a.createElement(vx,null,o.a.createElement(zm,{"data-test":"confirm-ok-button",primary:!i,loader:r,disabled:r,onClick:u},l),o.a.createElement(zm,{"data-test":"confirm-reject-button",onClick:f,disabled:r,primary:i},c)))}}])&&xx(t.prototype,n),r&&xx(t,r),a}(r.PureComponent);function Dx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dx(Object(n),!0).forEach((function(t){Px(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Px(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Lx(Tx,"propTypes",{className:c.a.string,text:c.a.string,description:c.a.node,show:c.a.bool,rejectOnEsc:c.a.bool,inProgress:c.a.bool,cancelIsDefault:c.a.bool,confirmLabel:c.a.string,rejectLabel:c.a.string,onConfirm:c.a.func,onReject:c.a.func}),Lx(Tx,"defaultProps",{text:null,description:null,show:!1,rejectOnEsc:!0,inProgress:!1,cancelIsDefault:!1,confirmLabel:"OK",rejectLabel:"Cancel",onConfirm:function(){},onReject:function(){}});var jx=document.createElement("div");function Yx(e){Object(i.render)(o.a.createElement(Tx,e),jx)}var Ax=Ou.a.module("Ring.confirm",[xv]);Ax.service("confirm",["$q","RingMessageBundle",function(e,t){return function(n,r,o,i,a,s){return e.when(function(e){var t=e.text,n=e.description,r=e.confirmLabel,o=void 0===r?"OK":r,i=e.rejectLabel,a=void 0===i?"Cancel":i,s=e.cancelIsDefault,l=e.onBeforeConfirm;return new Promise((function(e,r){var i={text:t,description:n,confirmLabel:o,rejectLabel:a,cancelIsDefault:s,show:!0,onConfirm:function(){return l?(Yx(Cx(Cx({},i),{},{inProgress:!0})),Promise.resolve(l()).then((function(){Yx({show:!1}),e()})).catch((function(e){Yx({show:!1}),r(e)}))):(Yx({show:!1}),e())},onReject:function(){Yx({show:!1}),r(new Error("Confirm(@jetbrains/ring-ui): null exception"))}};Yx(i)}))}({text:n,description:r,confirmLabel:o||t.confirmation_ok(),rejectLabel:i||t.confirmation_cancel(),cancelIsDefault:a,onBeforeConfirm:s}))}}]);Ax.name;var Ix=n(157),Rx=n(73),$x=n.n(Rx);function Hx(e){return(Hx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Nx(){return(Nx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function zx(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Fx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bx(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ux(e,t){return(Ux=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Wx(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Gx(e);if(t){var o=Gx(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Vx(this,n)}}function Vx(e,t){return!t||"object"!==Hx(t)&&"function"!=typeof t?qx(e):t}function qx(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gx(e){return(Gx=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Kx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Jx=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ux(e,t)}(a,e);var t,n,r,i=Wx(a);function a(){var e;Fx(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Kx(qx(e=i.call.apply(i,[this].concat(n))),"state",{topIsOutside:!0,bottomIsOutside:!0}),Kx(qx(e),"handleTopWaypoint",(function(t){var n=t.currentPosition;e.setState({topIsOutside:"above"===n})})),Kx(qx(e),"handleBottomWaypoint",(function(t){var n=t.currentPosition,r=t.waypointTop;e.setState({sidebarVisibleHeight:r,bottomIsOutside:"inside"!==n})})),Kx(qx(e),"sidebarRef",(function(t){e.sidebarNode=t})),e}return t=a,(n=[{key:"shouldUseFixation",value:function(){var e=this.props.contentNode,t=this.sidebarNode;return!(!e||!t)&&e.offsetHeight>=t.offsetHeight}},{key:"shouldFixateBottom",value:function(){var e=this.state,t=e.topIsOutside;return!e.bottomIsOutside&&t&&this.shouldUseFixation()}},{key:"render",value:function(){var e,t=this.props,n=t.right,r=t.children,i=t.className,a=t.containerClassName,l=t.fixedClassName,c=(t.contentNode,zx(t,["right","children","className","containerClassName","fixedClassName","contentNode"])),u=this.state,f=u.topIsOutside,d=u.bottomIsOutside,p=u.sidebarVisibleHeight,h=d&&f&&this.shouldUseFixation(),m=this.shouldFixateBottom(),g=s()($x.a.sidebarContainer,a,Kx({},$x.a.sidebarContainerRight,n)),v=s()($x.a.sidebar,i,(Kx(e={},$x.a.sidebarRight,n),Kx(e,$x.a.sidebarFixedTop,h),Kx(e,$x.a.sidebarFixedBottom,m),Kx(e,l,h||m),e)),y={maxHeight:m&&p?"".concat(p,"px"):null};return o.a.createElement("div",{className:g,ref:this.sidebarRef},o.a.createElement(Ix.a,{onEnter:this.handleTopWaypoint,onLeave:this.handleTopWaypoint}),o.a.createElement("div",Nx({},c,{style:y,className:v}),r),o.a.createElement("div",{className:$x.a.bottomMarker},o.a.createElement(Ix.a,{onEnter:this.handleBottomWaypoint,onLeave:this.handleBottomWaypoint})))}}])&&Bx(t.prototype,n),r&&Bx(t,r),a}(r.Component);function Qx(e){return(Qx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zx(){return(Zx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Xx(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ek(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nk(e,t){return(nk=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rk(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ak(e);if(t){var o=ak(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ok(this,n)}}function ok(e,t){return!t||"object"!==Qx(t)&&"function"!=typeof t?ik(e):t}function ik(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ak(e){return(ak=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function sk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Kx(Jx,"propTypes",{right:c.a.bool,children:c.a.node,className:c.a.string,containerClassName:c.a.string,fixedClassName:c.a.string,contentNode:c.a.object});var lk=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nk(e,t)}(l,e);var t,n,i,a=rk(l);function l(){var e;ek(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return sk(ik(e=a.call.apply(a,[this].concat(n))),"state",{}),sk(ik(e),"saveContentNode",(function(t){e.setState({contentNode:t})})),e}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,i=e.contentClassName,a=e.responsive,l=Xx(e,["children","className","contentClassName","responsive"]),c=s()($x.a.contentLayout,n,sk({},$x.a.contentLayoutResponsive,a)),u=s()($x.a.contentLayoutContent,i),f=o.a.Children.toArray(t),d=f.filter((function(e){return e&&e.type===Jx}))[0],p=d&&Object(r.cloneElement)(d,{contentNode:this.state.contentNode}),h=f.filter((function(e){return e!==d}));return o.a.createElement("div",Zx({},l,{className:c}),p,o.a.createElement("div",{className:u,ref:this.saveContentNode},h))}}])&&tk(t.prototype,n),i&&tk(t,i),l}(r.Component);sk(lk,"propTypes",{children:c.a.node,className:c.a.string,contentClassName:c.a.string,responsive:c.a.bool}),sk(lk,"defaultProps",{responsive:!0});var ck=n(256);function uk(e){return(uk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fk(){return(fk=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function dk(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function pk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mk(e,t){return(mk=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function gk(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=bk(e);if(t){var o=bk(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return vk(this,n)}}function vk(e,t){return!t||"object"!==uk(t)&&"function"!=typeof t?yk(e):t}function yk(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bk(e){return(bk=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wk(){}var xk=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mk(e,t)}(a,e);var t,n,r,i=gk(a);function a(){var e;pk(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _k(yk(e=i.call.apply(i,[this].concat(n))),"state",{__html:""}),e}return t=a,(n=[{key:"shouldComponentUpdate",value:function(e,t){return e.disabled!==this.props.disabled||t.__html!==this.state.__html}},{key:"componentDidUpdate",value:function(e,t){this.props.onComponentUpdate(e,t)}},{key:"render",value:function(){var e=this.props,t=(e.children,e.onComponentUpdate,e.disabled),n=e.tabIndex,r=dk(e,["children","onComponentUpdate","disabled","tabIndex"]);return o.a.createElement("div",fk({},r,{disabled:t,role:"textbox",tabIndex:t?null:n,contentEditable:!this.props.disabled,dangerouslySetInnerHTML:this.state}))}}])&&hk(t.prototype,n),r&&hk(t,r),a}(r.Component);function kk(e){return(kk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Mk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mk(Object(n),!0).forEach((function(t){Yk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ok(){return(Ok=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ek(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tk(e,t){return(Tk=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Dk(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=jk(e);if(t){var o=jk(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ck(this,n)}}function Ck(e,t){return!t||"object"!==kk(t)&&"function"!=typeof t?Pk(e):t}function Pk(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jk(e){return(jk=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Yk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ak(e){var t,n;return n=t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tk(e,t)}(s,t);var n,r,i,a=Dk(s);function s(){var e;Ek(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Yk(Pk(e=a.call.apply(a,[this].concat(n))),"state",{focused:e.props.focused}),Yk(Pk(e),"_skipNextCapture",!1),Yk(Pk(e),"onRefUpdate",(function(t){t&&(e.node=t)})),Yk(Pk(e),"onFocusCapture",(function(t){var n=t.target;e._skipNextCapture?e._skipNextCapture=!1:e.node.contains(n)&&!e.state.focused&&(e.setState({focused:!0}),e.props.onFocus())})),Yk(Pk(e),"onBlurCapture",(function(t){var n=t.target,r=Pk(e),o=r.state.focused,i=r.node;o&&setTimeout((function(){i.contains(n)&&!i.contains(document.activeElement)&&(e.setState({focused:!1}),e.props.onBlur())}),1)})),Yk(Pk(e),"onFocusRestore",(function(){e._skipNextCapture=!0,e.node.focus()})),Yk(Pk(e),"onFocusReset",(function(){e.node.blur()})),e}return n=s,(r=[{key:"componentDidMount",value:function(){var e=this.props.autofocus,t=this.node;t.setAttribute("tabindex","0"),t.style.outline="none",document.addEventListener("focus",this.onFocusCapture,!0),document.addEventListener("blur",this.onBlurCapture,!0),e&&t.focus()}},{key:"componentDidUpdate",value:function(e){var t=this.props.focused;t&&!e.focused?this.onFocusRestore():!t&&e.focused&&this.onFocusReset()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("focus",this.onFocusCapture,!0),document.removeEventListener("blur",this.onBlurCapture,!0)}},{key:"render",value:function(){return o.a.createElement(e,Ok({},this.props,{innerRef:this.onRefUpdate,focused:this.state.focused,onFocusReset:this.onFocusReset,onFocusRestore:this.onFocusRestore}))}}])&&Lk(n.prototype,r),i&&Lk(n,i),s}(r.Component),Yk(t,"propTypes",Sk(Sk({},e.propTypes),{},{focused:c.a.bool,autofocus:c.a.bool,onFocus:c.a.func,onBlur:c.a.func})),Yk(t,"defaultProps",Sk(Sk({},e.defaultProps),{},{focused:!1,autofocus:!1,onFocus:function(){},onBlur:function(){}})),n}function Ik(e){return function(e){if(Array.isArray(e))return Rk(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Rk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rk(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}_k(xk,"propTypes",{disabled:c.a.bool,tabIndex:c.a.number,componentDidUpdate:c.a.func,onComponentUpdate:c.a.func,className:c.a.string,children:c.a.node}),_k(xk,"defaultProps",{disabled:!1,tabIndex:0,onInput:wk,onComponentUpdate:wk}),_k(xk,"getDerivedStateFromProps",(function(e){var t=e.children;return{__html:t?Object(ck.renderToStaticMarkup)(t):""}}));var Nk=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.data,r=void 0===n?[]:n,o=t.selected,i=void 0===o?new Set:o,a=t.focused,s=void 0===a?null:a,l=t.getKey,c=void 0===l?function(e){return e.id}:l,u=t.getChildren,f=void 0===u?function(){return[]}:u,d=t.isItemSelectable,p=void 0===d?function(){return!0}:d;$k(this,e),this._rawData=r,this._getChildren=f,this._data=this._buildData(r),this._selected=i,this._focused=s,this._getKey=c,this._isItemSelectable=p}var t,n,r;return t=e,(n=[{key:"_buildData",value:function(e){return new Set(e)}},{key:"_buildSelected",value:function(e,t){return new Set(t)}},{key:"cloneWith",value:function(e){var t,n=this,r=e.data,o=e.selected,i=e.focused,a=r||this._rawData;r&&!o?(t=new Set(Ik(this._buildData(a)).filter((function(e){return Ik(n._selected).some((function(t){return n._getKey(e)===n._getKey(t)}))}))),t=this._buildSelected(this._buildData(a),t)):t=o||this._selected,t=new Set(Ik(t).filter((function(e){return n._isItemSelectable(e)})));var s=void 0===i?this._focused:i;return new this.constructor({data:a,selected:t,focused:r&&!i?Ik(n._buildData(r)).filter((function(e){return n._focused&&n._getKey(e)===n._getKey(n._focused)}))[0]:s,getKey:this._getKey,getChildren:this._getChildren,isItemSelectable:this._isItemSelectable})}},{key:"focus",value:function(e){return this.cloneWith({focused:e})}},{key:"moveUp",value:function(){var e=this._focused,t=Ik(this._data);if(!e)return this.cloneWith({focused:t[t.length-1]});var n=t[t.indexOf(e)-1];return n?this.cloneWith({focused:n}):void 0}},{key:"moveDown",value:function(){var e=this._focused,t=Ik(this._data);if(!e)return this.cloneWith({focused:t[0]});var n=t[t.indexOf(e)+1];return n?this.cloneWith({focused:n}):void 0}},{key:"moveStart",value:function(){var e=Ik(this._data);if(e.length)return this.cloneWith({focused:e[0]})}},{key:"moveEnd",value:function(){var e=Ik(this._data);if(e.length)return this.cloneWith({focused:e.pop()})}},{key:"select",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._focused;if(!e||!this._isItemSelectable(e))return this;var t=new Set(this._selected);return t.add(e),this.cloneWith({selected:t})}},{key:"deselect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._focused;if(!e||!this._isItemSelectable(e))return this;var t=new Set(this._selected);return t.delete(e),this.cloneWith({selected:t})}},{key:"toggleSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._focused;return this.isSelected(e)?this.deselect(e):this.select(e)}},{key:"selectAll",value:function(){return this.cloneWith({selected:Ik(this._data)})}},{key:"resetFocus",value:function(){return this.cloneWith({focused:null})}},{key:"resetSelection",value:function(){return this.cloneWith({selected:new Set})}},{key:"reset",value:function(){return this.resetFocus().resetSelection()}},{key:"isFocused",value:function(e){return this._focused===e}},{key:"isSelected",value:function(e){return this._selected.has(e)}},{key:"getFocused",value:function(){return this._focused}},{key:"getSelected",value:function(){return new Set(this._selected)}},{key:"getActive",value:function(){return this._selected.size?new Set(this._selected):this._focused?new Set([this._focused]):new Set}}])&&Hk(t.prototype,n),r&&Hk(t,r),e}();function zk(e){return(zk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fk(){return(Fk=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Bk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Uk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bk(Object(n),!0).forEach((function(t){Zk(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bk(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qk(e,t){return(qk=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gk(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qk(e);if(t){var o=Qk(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Kk(this,n)}}function Kk(e,t){return!t||"object"!==zk(t)&&"function"!=typeof t?Jk(e):t}function Jk(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qk(e){return(Qk=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Zk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xk(e){var t,n;return n=t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qk(e,t)}(s,t);var n,r,i,a=Gk(s);function s(){var e;Wk(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Zk(Jk(e=a.call.apply(a,[this].concat(n))),"onUpPress",(function(){var t=e.props,n=t.selection,r=t.onSelect,o=n.moveUp();return o&&r(o),!1})),Zk(Jk(e),"onDownPress",(function(){var t=e.props,n=t.selection,r=t.onSelect,o=n.moveDown();return o&&r(o),!1})),Zk(Jk(e),"onShiftKeyDown",(function(){var t=e.props.selection;t.isSelected(t.getFocused())?e.shiftSelectionMode="deletion":e.shiftSelectionMode="addition"})),Zk(Jk(e),"shiftSelect",(function(t){return"addition"===e.shiftSelectionMode?t.select():t.deselect()})),Zk(Jk(e),"onShiftUpPress",(function(t){t.preventDefault();var n=e.props,r=n.selectable,o=n.selection,i=n.onSelect;if(r){var a=e.shiftSelect(o),s=a.moveUp();i(s||a)}})),Zk(Jk(e),"onShiftDownPress",(function(t){t.preventDefault();var n=e.props,r=n.selectable,o=n.selection,i=n.onSelect;if(r){var a=e.shiftSelect(o),s=a.moveDown();i(s||a)}})),Zk(Jk(e),"onHomePress",(function(){var t=e.props,n=t.selection,r=t.onSelect,o=n.moveStart();return o&&r(o),!1})),Zk(Jk(e),"onEndPress",(function(){var t=e.props,n=t.selection,r=t.onSelect,o=n.moveEnd();return o&&r(o),!1})),Zk(Jk(e),"onSpacePress",(function(){var t=e.props,n=t.selectable,r=t.selection,o=t.onSelect;return!n||(o(r.toggleSelection()),!1)})),Zk(Jk(e),"onEscPress",(function(){var t=e.props,n=t.selection;(0,t.onSelect)(n.reset())})),Zk(Jk(e),"onCmdAPress",(function(){var t=e.props,n=t.selectable,r=t.selection,o=t.onSelect;return!n||(o(r.selectAll()),!1)})),Zk(Jk(e),"shortcutsMap",{up:e.onUpPress,down:e.onDownPress,shift:e.onShiftKeyDown,"shift+up":e.onShiftUpPress,"shift+down":e.onShiftDownPress,home:e.onHomePress,end:e.onEndPress,space:e.onSpacePress,esc:e.onEscPress,"command+a":e.onCmdAPress,"ctrl+a":e.onCmdAPress}),e}return n=s,(r=[{key:"render",value:function(){var t=this.props,n=t.selection,r=t.selectable,i=t.onSelect;return o.a.createElement(e,Fk({},this.props,{selection:n,selectable:r,onSelect:i,shortcutsMap:Uk(Uk({},this.shortcutsMap),this.props.shortcuts)}))}}])&&Vk(n.prototype,r),i&&Vk(n,i),s}(r.PureComponent),Zk(t,"propTypes",Uk(Uk({},e.propTypes),{},{selection:c.a.instanceOf(Nk).isRequired,selectable:c.a.bool,onSelect:c.a.func,shortcuts:c.a.object})),Zk(t,"defaultProps",Uk(Uk({},e.defaultProps),{},{selectable:!0,onSelect:function(){},shortcuts:{}})),n}function eM(e){return(eM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tM(){return(tM=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function nM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oM(e,t){return(oM=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function iM(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=lM(e);if(t){var o=lM(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return aM(this,n)}}function aM(e,t){return!t||"object"!==eM(t)&&"function"!=typeof t?sM(e):t}function sM(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lM(e){return(lM=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function cM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uM(e){var t,n;return n=t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oM(e,t)}(s,t);var n,r,i,a=iM(s);function s(){var e;nM(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return cM(sM(e=a.call.apply(a,[this].concat(n))),"state",{disabledHover:!1}),cM(sM(e),"onMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),cM(sM(e),"onKeyDown",(function(t){e.state.disabledHover||[16,17,18,19,20,91].includes(t.keyCode)||e.setState({disabledHover:!0})})),e}return n=s,(r=[{key:"componentDidMount",value:function(){document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("keydown",this.onKeyDown,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("keydown",this.onKeyDown,!0)}},{key:"render",value:function(){return o.a.createElement(e,tM({},this.props,{disabledHover:this.state.disabledHover}))}}])&&rM(n.prototype,r),i&&rM(n,i),s}(r.PureComponent),cM(t,"propTypes",e.propTypes),cM(t,"defaultProps",e.defaultProps),n}n(893);var fM=n(161),dM=n.n(fM);function pM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mM(e,t,n){return t&&hM(e.prototype,t),n&&hM(e,n),e}var gM=function(){function e(t){var n=t.x,r=t.y,o=t.radius,i=t.color;pM(this,e),this.radius=o,this.x=n,this.y=r,this.color=i,this.decay=.01,this.life=1}return mM(e,[{key:"step",value:function(){this.life-=this.decay}},{key:"isAlive",value:function(){return this.life>=0}},{key:"draw",value:function(e){var t=this.life>=0?this.life:0;e.fillStyle="rgba(".concat(this.color.r,", ").concat(this.color.g,", ").concat(this.color.b,", ").concat(t,")"),e.beginPath(),e.arc(this.x+this.radius,this.y+this.radius,this.radius,0,2*Math.PI),e.fill()}}]),e}(),vM=function(){function e(t,n){pM(this,e),this.props=Object.assign({},e.defaultProps,n),this.renderInNode(t),this.initializeLoader(),this.isRunning=!this.props.stop,this.isRunning?this.startAnimation():this.draw()}return mM(e,null,[{key:"calculateGradient",value:function(e,t,n){var r=function(e,t){return e+Math.round((t-e)*n)};return{r:r(e.r,t.r),g:r(e.g,t.g),b:r(e.b,t.b)}}}]),mM(e,[{key:"setCanvasSize",value:function(){var t=e.getPixelRatio(),n=this.props.size*t;this.canvas.width=n,this.canvas.height=n,this.canvas.style.width="".concat(this.props.size,"px"),this.canvas.style.height="".concat(this.props.size,"px"),this.ctx=this.canvas.getContext("2d"),this.ctx.scale(t,t)}},{key:"initializeLoader",value:function(){this.setCanvasSize(),this.height=this.props.size,this.width=this.props.size,this.particles=[],this.baseSpeed=1,this.colorIndex=0,this.maxRadius=10,this.minRadius=6,this.colorChangeTick=40,this.x=0,this.y=0,this.radius=8,this.hSpeed=1.5,this.vSpeed=.5,this.radiusSpeed=.05,this.tick=0,this.prepareInitialState(100)}},{key:"prepareInitialState",value:function(e){for(var t=0;t<e;t++)this.step()}},{key:"handleLimits",value:function(e,t,n,r){var o=Math.random(this.baseSpeed)-this.baseSpeed/2;return e+2*t+this.baseSpeed>=r?-(this.baseSpeed+o):e<=this.baseSpeed?this.baseSpeed+o:n}},{key:"calculateNextCoordinates",value:function(){this.x+=this.hSpeed,this.y+=this.vSpeed,this.hSpeed=this.handleLimits(this.x,this.radius,this.hSpeed,this.width),this.vSpeed=this.handleLimits(this.y,this.radius,this.vSpeed,this.height)}},{key:"calculateNextRadius",value:function(){this.radius+=this.radiusSpeed,(this.radius>this.maxRadius||this.radius<this.minRadius)&&(this.radiusSpeed=-this.radiusSpeed)}},{key:"getNextColor",value:function(){var t=this.props.colors,n=t[this.colorIndex],r=t[this.colorIndex+1]||t[0];return e.calculateGradient(n,r,this.tick/this.colorChangeTick)}},{key:"nextTick",value:function(){this.tick++,this.tick>this.colorChangeTick&&(this.tick=0,this.colorIndex++,this.colorIndex>this.props.colors.length-1&&(this.colorIndex=0))}},{key:"step",value:function(){this.nextTick(),this.calculateNextCoordinates(),this.calculateNextRadius(),this.particles.forEach((function(e){return e.step()})),this.particles.push(new gM({x:this.x,y:this.y,radius:this.radius,color:this.getNextColor()}))}},{key:"removeDeadParticles",value:function(){this.particles=this.particles.filter((function(e){return e.isAlive()}))}},{key:"draw",value:function(){var e=this;this.ctx.clearRect(0,0,this.width,this.height),this.removeDeadParticles(),this.particles.forEach((function(t){return t.draw(e.ctx)}))}},{key:"loop",value:function(){var e=this;this.step(),this.draw(),this.isRunning&&window.requestAnimationFrame((function(){return e.loop()}))}},{key:"updateMessage",value:function(e){this.textNode.textContent=e||""}},{key:"stopAnimation",value:function(){this.isRunning=!1,this.canvas.classList.remove(dM.a.animate)}},{key:"startAnimation",value:function(){this.isRunning=!0,this.canvas.classList.add(dM.a.animate),this.loop()}},{key:"destroy",value:function(){this.isRunning=!1}},{key:"renderInNode",value:function(e){return this.canvas=document.createElement("canvas"),this.canvas.dataset.test="ring-loader",this.canvas.classList.add(dM.a.canvas),this.textNode=document.createElement("div"),this.textNode.dataset.test="ring-loader-text",this.textNode.classList.add(dM.a.text),this.textNode.textContent=this.props.message?this.props.message:"",e.appendChild(this.canvas),e.appendChild(this.textNode),e}}],[{key:"getPixelRatio",value:function(){return Cc()}}]),e}();function yM(e){return(yM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function bM(){return(bM=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function _M(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function wM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kM(e,t){return(kM=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function MM(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=EM(e);if(t){var o=EM(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return SM(this,n)}}function SM(e,t){return!t||"object"!==yM(t)&&"function"!=typeof t?OM(e):t}function OM(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EM(e){return(EM=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function LM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(vM,"defaultProps",{size:64,stop:!1,colors:[{r:215,g:60,b:234},{r:145,g:53,b:224},{r:88,g:72,b:224},{r:37,g:183,b:255},{r:89,g:189,b:0},{r:251,g:172,b:2},{r:227,g:37,b:129}]});var TM=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kM(e,t)}(a,e);var t,n,r,i=MM(a);function a(){var e;wM(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return LM(OM(e=i.call.apply(i,[this].concat(n))),"initLoader",(function(t){t&&(e.loader=new vM(t,e.props))})),e}return t=a,(n=[{key:"componentDidUpdate",value:function(e){this.loader&&(!e.stop&&this.props.stop?this.loader.stopAnimation():e.stop&&!this.props.stop&&this.loader.startAnimation())}},{key:"componentWillUnmount",value:function(){this.loader.destroy()}},{key:"render",value:function(){var e=this.props,t=(e.message,e.size,e.colors,e["data-test"]),n=(e.stop,_M(e,["message","size","colors","data-test","stop"]));return o.a.createElement("div",bM({"data-test":ql("ring-loader",t)},n,{ref:this.initLoader}))}}])&&xM(t.prototype,n),r&&xM(t,r),a}(r.PureComponent);LM(TM,"propTypes",{className:c.a.string,size:c.a.number,colors:c.a.array,message:c.a.string,"data-test":c.a.string,stop:c.a.bool});var DM=n(261),CM=n.n(DM);function PM(e){return(PM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jM(){return(jM=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function YM(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function AM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RM(e,t){return(RM=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $M(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=NM(e);if(t){var o=NM(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return HM(this,n)}}function HM(e,t){return!t||"object"!==PM(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function NM(e){return(NM=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function zM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var FM=b()((function(){}),"<Text comment> is deprecated, use <Text info> instead"),BM=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RM(e,t)}(a,e);var t,n,r,i=$M(a);function a(){return AM(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.comment,i=e.info,a=YM(e,["children","className","comment","info"]);r&&FM();var l=s()(CM.a.text,n,zM({},CM.a.info,i||r));return o.a.createElement("span",jM({className:l},a),t)}}])&&IM(t.prototype,n),r&&IM(t,r),a}(r.Component);zM(BM,"propTypes",{children:c.a.node,comment:c.a.bool,info:c.a.bool,className:c.a.string});var UM=n(50),WM=n.n(UM);function VM(e){return(VM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function KM(e,t){return(KM=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function JM(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=XM(e);if(t){var o=XM(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return QM(this,n)}}function QM(e,t){return!t||"object"!==VM(t)&&"function"!=typeof t?ZM(e):t}function ZM(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XM(e){return(XM=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tS=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&KM(e,t)}(a,e);var t,n,r,i=JM(a);function a(){var e;qM(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return eS(ZM(e=i.call.apply(i,[this].concat(n))),"id",lc("data-list-title")),eS(ZM(e),"onCheckboxFocus",(function(){e.props.onFocusRestore()})),eS(ZM(e),"onCheckboxChange",(function(){e.toggleSelection()})),e}return t=a,(n=[{key:"toggleSelection",value:function(){var e=this.props,t=e.selectable,n=e.selected,r=e.onSelect;t&&r(!n)}},{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.title,i=t.offset,a=t.showFocus,l=t.innerRef,c=t.selectable,u=t.selected,f=t.collapserExpander,d=s()(n,(eS(e={},WM.a.title,!0),eS(e,WM.a.titleFocused,a),eS(e,WM.a.titleSelected,u),e));return o.a.createElement("div",{id:this.id,className:d,style:{paddingLeft:i},ref:l},o.a.createElement("div",{className:WM.a.boxes},c&&o.a.createElement("div",{className:WM.a.checkboxBox},o.a.createElement(n_,{"aria-labelledby":this.id,className:a?"ring-checkbox_focus":"",checked:u,onFocus:this.onCheckboxFocus,onChange:this.onCheckboxChange,tabIndex:"-1"})),f),r)}}])&&GM(t.prototype,n),r&&GM(t,r),a}(r.PureComponent);eS(tS,"propTypes",{className:c.a.string,title:c.a.node,offset:c.a.number,selectable:c.a.bool,selected:c.a.bool,onSelect:c.a.func,showFocus:c.a.bool,collapserExpander:c.a.node,innerRef:c.a.oneOfType([c.a.object,c.a.string,c.a.func]),onFocusRestore:c.a.func}),eS(tS,"defaultProps",{selectable:!1,selected:!1,showFocus:!1});var nS=Ak(tS);function rS(e){return(rS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function aS(e,t){return(aS=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function sS(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=uS(e);if(t){var o=uS(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return lS(this,n)}}function lS(e,t){return!t||"object"!==rS(t)&&"function"!=typeof t?cS(e):t}function cS(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uS(e){return(uS=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dS=0,pS=1,hS=2,mS=3,gS=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aS(e,t)}(a,e);var t,n,r,i=sS(a);function a(){var e;oS(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return fS(cS(e=i.call.apply(i,[this].concat(n))),"onShowMore",(function(){var t=e.props;(0,t.onItemMoreLess)(t.item,!0)})),fS(cS(e),"onShowLess",(function(){var t=e.props;(0,t.onItemMoreLess)(t.item,!1)})),fS(cS(e),"onFocus",(function(){var t=e.props;(0,t.onFocus)(t.item)})),fS(cS(e),"onSelect",(function(t){var n=e.props;(0,n.onSelect)(n.item,t)})),fS(cS(e),"renderItem",(function(t,n){var r=e.props,i=r.onFocus,s=r.onSelect,l=r.selection,c=r.level,u=r.itemFormatter,f=u(t);return o.a.createElement(a,{key:f.key||f.id,item:t,title:f.title,items:f.items,level:c+1,parentShift:n,itemFormatter:u,collapsible:f.collapsible,collapsed:f.collapsed,onCollapse:f.onCollapse,onExpand:f.onExpand,focused:l.isFocused(t),showFocus:l.isFocused(t),onFocus:i,selection:l,selectable:f.selectable,selected:l.isSelected(t),onSelect:s})})),e}return t=a,(n=[{key:"render",value:function(){var e,t=this,n=this.props,r=n.title,i=n.items,a=n.showMoreLessButton,s=n.level,l=n.parentShift,c=n.showFocus,u=n.selectable,f=n.selected,d=n.collapsible,p=n.collapsed,h=n.onCollapse,m=n.onExpand;a===pS||a===hS?e=o.a.createElement(BM,{comment:!0},o.a.createElement(Df,{inherit:!0,pseudo:!0,onClick:this.onShowMore},"Show more"),a===hS&&o.a.createElement(Sc,{className:WM.a.showMoreLoader})):a===mS&&(e=o.a.createElement(BM,{comment:!0},o.a.createElement(Df,{inherit:!0,pseudo:!0,onClick:this.onShowLess},"Show less")));var g=null;d&&(g=p?o.a.createElement(zm,{title:"Expand",onClick:m,icon:Wt.a,className:WM.a.collapseButton,iconClassName:WM.a.collapseIcon,"data-test":"ring-data-list-expand"}):o.a.createElement(zm,{title:"Collapse",onClick:h,icon:zt.a,className:WM.a.collapseButton,iconClassName:WM.a.collapseIcon,"data-test":"ring-data-list-collapse"}));var v=!i.length||d&&p,y=24*s+32+l;return o.a.createElement("li",null,o.a.createElement(nS,{title:r,focused:c,showFocus:c,selectable:u,selected:f,collapserExpander:g,onFocus:this.onFocus,onSelect:this.onSelect,offset:y}),v?null:o.a.createElement("ul",{className:WM.a.itemContent},i.map((function(e){return t.renderItem(e,l)})),a!==dS?o.a.createElement("li",{className:WM.a.showMore},e):null))}}])&&iS(t.prototype,n),r&&iS(t,r),a}(r.PureComponent);function vS(e){return(vS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yS(Object(n),!0).forEach((function(t){ES(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xS(e,t){return(xS=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kS(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=OS(e);if(t){var o=OS(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return MS(this,n)}}function MS(e,t){return!t||"object"!==vS(t)&&"function"!=typeof t?SS(e):t}function SS(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OS(e){return(OS=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ES(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}fS(gS,"propTypes",{item:c.a.object,title:c.a.node,items:c.a.array,className:c.a.string,level:c.a.number,parentShift:c.a.number,itemFormatter:c.a.func,collapsible:c.a.bool,collapsed:c.a.bool,onCollapse:c.a.func,onExpand:c.a.func,showFocus:c.a.bool,onFocus:c.a.func,selection:c.a.object,selectable:c.a.bool,selected:c.a.bool,onSelect:c.a.func,showMoreLessButton:c.a.number,onItemMoreLess:c.a.func}),fS(gS,"defaultProps",{items:[],level:0,parentShift:0,showMoreLessButton:dS,onItemMoreLess:function(){}});var LS=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xS(e,t)}(a,e);var t,n,r,i=kS(a);function a(){var e;_S(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ES(SS(e=i.call.apply(i,[this].concat(n))),"shortcutsScope",lc("ring-data-list-")),ES(SS(e),"onItemFocus",(function(t){var n=e.props,r=n.selection;(0,n.onSelect)(r.focus(t))})),ES(SS(e),"onItemSelect",(function(t,n){var r=e.props,o=r.selection,i=r.onSelect;i(n?o.select(t):o.deselect(t))})),ES(SS(e),"onEqualPress",(function(){var t=e.props,n=t.selection,r=(0,t.itemFormatter)(n.getFocused());r.collapsed?r.onExpand():r.onCollapse()})),ES(SS(e),"shortcutsMap",{"=":e.onEqualPress}),e}return t=a,(n=[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.data,r=t.selection,o=t.onSelect,i=t.selectable;n===e.data||e.remoteSelection||o(r.cloneWith({data:n})),!i&&e.selectable&&o(r.resetSelection())}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.data,i=n.className,a=n.loading,l=n.selection,c=n.disabledHover,u=n.itemFormatter,f=n.focused,d=n.innerRef,p=bS(bS({},this.shortcutsMap),this.props.shortcutsMap),h=s()(i,(ES(e={},WM.a.dataList,!0),ES(e,WM.a.disabledHover,c),ES(e,WM.a.multiSelection,l.getSelected().size>0),e));return o.a.createElement("div",{className:WM.a.dataListWrapper,"data-test":"ring-data-list",ref:d},f&&o.a.createElement(um,{map:p,scope:this.shortcutsScope}),o.a.createElement("ul",{className:h},r.map((function(e){var n=u(e),r=n.id,i=n.key,a=n.title,s=n.items,c=t.props.itemMoreLessState(n);return o.a.createElement(gS,{key:i||r,item:e,title:a,items:s,itemFormatter:u,collapsible:n.collapsible,collapsed:n.collapsed,onCollapse:n.onCollapse,onExpand:n.onExpand,focused:l.isFocused(e),showFocus:l.isFocused(e),onFocus:t.onItemFocus,selection:l,selectable:n.selectable,selected:l.isSelected(e),onSelect:t.onItemSelect,showMoreLessButton:c,onItemMoreLess:t.props.onItemMoreLess})}))),a&&o.a.createElement("div",{className:r.length>0?WM.a.loadingOverlay:null},o.a.createElement(TM,null)))}}])&&wS(t.prototype,n),r&&wS(t,r),a}(r.PureComponent);ES(LS,"propTypes",{className:c.a.string,data:c.a.array.isRequired,loading:c.a.bool,focused:c.a.bool,disabledHover:c.a.bool,selection:c.a.object,selectable:c.a.bool,shortcutsMap:c.a.object,innerRef:c.a.oneOfType([c.a.object,c.a.string,c.a.func]),itemFormatter:c.a.func.isRequired,onItemMoreLess:c.a.func,itemMoreLessState:c.a.func,onSelect:c.a.func,remoteSelection:c.a.bool}),ES(LS,"defaultProps",{loading:!1,onItemMoreLess:function(){},itemMoreLessState:function(){return dS},remoteSelection:!1});cy(uM(Xk(Ak(LS))),"DataList").name,n(898);function TS(e){return(TS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function DS(){return(DS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function CS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jS(e,t,n){return t&&PS(e.prototype,t),n&&PS(e,n),e}function YS(e,t,n){return(YS="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=NS(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function AS(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&IS(e,t)}function IS(e,t){return(IS=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function RS(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=NS(e);if(t){var o=NS(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $S(this,n)}}function $S(e,t){return!t||"object"!==TS(t)&&"function"!=typeof t?HS(e):t}function HS(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NS(e){return(NS=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function zS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FS(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{captureNode:!0},n=t.captureNode;return function(t){AS(s,t);var a=RS(s);function s(){var e;CS(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return zS(HS(e=a.call.apply(a,[this].concat(n))),"_propsCache",{}),zS(HS(e),"onRefUpdate",(function(t){e.node=Object(i.findDOMNode)(t)})),e}return jS(s,[{key:"rerender",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;try{e=this.node.parentNode}finally{if(!e)throw new Error("".concat(this.constructor.name," component isn't mounted"))}return this._propsCache=Object.assign({},this.props,this._propsCache,t),Object(i.render)(Object(r.createElement)(this.constructor,this._propsCache),e,n)}},{key:"render",value:function(){return n?o.a.createElement(e,DS({ref:this.onRefUpdate},this.props)):YS(NS(s.prototype),"render",this).call(this)}}]),s}(e)}var BS=n(158),US=n.n(BS);function WS(){return(WS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function VS(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function qS(e){var t=e.children,n=e.className,r=VS(e,["children","className"]);return o.a.createElement(zm,WS({text:!0,className:s()(US.a.anchor,n)},r),t,o.a.createElement(de,{glyph:Ht.a,className:US.a.chevron}))}function GS(){return(GS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function KS(e){return(KS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function JS(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function QS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function XS(e,t){return(XS=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function eO(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=rO(e);if(t){var o=rO(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return tO(this,n)}}function tO(e,t){return!t||"object"!==KS(t)&&"function"!=typeof t?nO(e):t}function nO(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rO(e){return(rO=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function oO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}qS.propTypes={children:c.a.node,className:c.a.string};var iO=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&XS(e,t)}(l,e);var t,n,i,a=eO(l);function l(){var e;QS(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return oO(nO(e=a.call.apply(a,[this].concat(n))),"state",{show:e.props.initShown,pinned:!1}),oO(nO(e),"onClick",(function(){var t=e.state,n=t.show,r=t.pinned,o=r;if(e.props.hoverMode)if(r)o=!1;else if(o=!0,n)return void e.setState({pinned:!0});e._toggle(!n,o)})),oO(nO(e),"onChildCloseAttempt",(function(){var t=e.state.pinned;e.props.hoverMode&&(t=!1),e._toggle(!1,t)})),oO(nO(e),"onMouseEnter",(function(t){e._clearTimer(),e.props.onMouseEnter(t),e.hoverTimer=setTimeout((function(){e.state.show||e._toggle(!0)}),e.props.hoverShowTimeOut)})),oO(nO(e),"onMouseLeave",(function(t){e.props.onMouseLeave(t),e.state.pinned||(e._clearTimer(),e.hoverTimer=setTimeout((function(){e.state.show&&e._toggle(!1)}),e.props.hoverHideTimeOut))})),oO(nO(e),"handlePopupInteraction",(function(){e.setState((function(e){return e.pinned?null:{pinned:!0}}))})),e}return t=l,(n=[{key:"toggle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.state.show;this._toggle(e)}},{key:"_toggle",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.pinned;this.setState({show:e,pinned:n},(function(){return e?t.props.onShow():t.props.onHide()}))}},{key:"_clearTimer",value:function(){this.hoverTimer&&(clearTimeout(this.hoverTimer),this.hoverTimer=null)}},{key:"render",value:function(){var e,t=this.state,n=t.show,i=t.pinned,a=this.props,l=(a.initShown,a.onShow,a.onHide,a.hoverShowTimeOut,a.hoverHideTimeOut,a.children),c=a.anchor,u=a.className,f=a.activeClassName,d=a.hoverMode,p=a.clickMode,h=a["data-test"],m=JS(a,["initShown","onShow","onHide","hoverShowTimeOut","hoverHideTimeOut","children","anchor","className","activeClassName","hoverMode","clickMode","data-test"]),g=s()(US.a.dropdown,u,oO({},f,null!=f&&n));switch(KS(c)){case"string":e=o.a.createElement(qS,null,c);break;case"function":e=c({active:n,pinned:i});break;default:e=c}return o.a.createElement("div",GS({"data-test":ql("ring-dropdown",h)},m,{onClick:p?this.onClick:void 0,role:"presentation",onMouseEnter:d?this.onMouseEnter:void 0,onMouseLeave:d?this.onMouseLeave:void 0,className:g}),e,Object(r.cloneElement)(l,{hidden:!n,onCloseAttempt:this.onChildCloseAttempt,onMouseDown:d?this.handlePopupInteraction:void 0,onContextMenu:d?this.handlePopupInteraction:void 0,dontCloseOnAnchorClick:!0}))}}])&&ZS(t.prototype,n),i&&ZS(t,i),l}(r.Component);oO(iO,"propTypes",{anchor:c.a.oneOfType([c.a.node,c.a.func]).isRequired,children:c.a.element.isRequired,initShown:c.a.bool,className:c.a.string,activeClassName:c.a.string,clickMode:c.a.bool,hoverMode:c.a.bool,hoverShowTimeOut:c.a.number,hoverHideTimeOut:c.a.number,onShow:c.a.func,onHide:c.a.func,onMouseEnter:c.a.func,onMouseLeave:c.a.func,"data-test":c.a.string}),oO(iO,"defaultProps",{initShown:!1,clickMode:!0,hoverMode:!1,hoverShowTimeOut:300,hoverHideTimeOut:600,onShow:function(){},onHide:function(){},onMouseEnter:function(){},onMouseLeave:function(){}});var aO=n(3),sO=n.n(aO);function lO(e){return(lO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function cO(){return(cO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function uO(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pO(e,t){return(pO=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function hO(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gO(e);if(t){var o=gO(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return mO(this,n)}}function mO(e,t){return!t||"object"!==lO(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function gO(e){return(gO=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function vO(){}var yO="ie"===U.browser.name&&"11.0"===U.browser.versionString;var bO=n(34),_O=n.n(bO);function wO(e){return(wO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xO(){return(xO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function kO(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function MO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function OO(e,t){return(OO=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function EO(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=DO(e);if(t){var o=DO(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return LO(this,n)}}function LO(e,t){return!t||"object"!==wO(t)&&"function"!=typeof t?TO(e):t}function TO(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DO(e){return(DO=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function CO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PO(){}var jO={AUTO:"Auto",S:"S",M:"M",L:"L",FULL:"FULL"},YO=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OO(e,t)}(a,e);var t,n,r,i=EO(a);function a(){var e;MO(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return CO(TO(e=i.call.apply(i,[this].concat(n))),"state",{empty:!0}),CO(TO(e),"id",lc("ring-input-")),CO(TO(e),"errorRef",(function(t){e.error=t})),CO(TO(e),"inputRef",(function(t){var n=e.props.inputRef;e.input=t,"function"==typeof n?n(t):n.current=t})),CO(TO(e),"clear",(function(t){e.props.onClear&&e.props.onClear(t)})),CO(TO(e),"handleChange",(function(t){e.props.onChange(t),e.checkValue(t.target)})),e}return t=a,(n=[{key:"componentDidMount",value:function(){this.adapt()}},{key:"componentDidUpdate",value:function(){this.adapt()}},{key:"getId",value:function(){return this.props.id||this.id}},{key:"checkValue",value:function(){this.setState({empty:!this.input.value}),this.props.multiline&&this.input.scrollHeight>this.input.clientHeight&&this.stretch(this.input)}},{key:"stretch",value:function(e){e&&(e.style.height="".concat(e.scrollHeight,"px"))}},{key:"adapt",value:function(){this.checkValue(),this.stretch(this.error)}},{key:"render",value:function(){var e,t=this.props,n=t.theme,r=t.size,i=t.active,a=t.multiline,l=t.borderless,c=t.compact,u=t.label,f=t.error,d=t.className,p=t.inputClassName,h=t.children,m=t.value,g=t.onClear,y=t.disabled,b=(t.inputRef,t.onChange,t.enableShortcuts),_=(t.id,t.placeholder),w=t.icon,x=kO(t,["theme","size","active","multiline","borderless","compact","label","error","className","inputClassName","children","value","onClear","disabled","inputRef","onChange","enableShortcuts","id","placeholder","icon"]),k=c||l,M=this.state.empty,S=!!g,O=s()(_O.a.container,d,_O.a[n],[_O.a["size".concat(r)]],(CO(e={"ring-js-shortcuts":b},_O.a.active,i),CO(e,_O.a.error,null!=f),CO(e,_O.a.empty,M),CO(e,_O.a.noLabel,!this.props.label),CO(e,_O.a.withIcon,null!=w),CO(e,_O.a.clearable,S),CO(e,_O.a.compact,k),e)),E=s()(_O.a.input,p),L=a?"textarea":"input",T=null!=m?m:h;return o.a.createElement("div",{className:O,"data-test":"ring-input"},w&&o.a.createElement(de,{glyph:w,className:_O.a.icon}),o.a.createElement(L,xO({ref:this.inputRef,onChange:this.handleChange,className:E,value:T,rows:a?1:null,disabled:y,id:this.getId(),placeholder:_,"aria-label":u||_},x)),S&&!y&&o.a.createElement(zm,{title:"Clear input","data-test":"ring-input-clear",className:_O.a.clear,icon:v.a,onClick:this.clear}),!k&&o.a.createElement("label",{htmlFor:this.getId(),className:_O.a.label},u),!l&&o.a.createElement("div",{className:_O.a.underline}),!l&&o.a.createElement("div",{className:_O.a.focusUnderline}),!k&&o.a.createElement("div",{className:_O.a.errorUnderline}),!k&&o.a.createElement("div",{className:_O.a.errorText,ref:this.errorRef},f))}}])&&SO(t.prototype,n),r&&SO(t,r),a}(r.PureComponent);CO(YO,"propTypes",{value:c.a.string,theme:c.a.string,className:c.a.string,inputClassName:c.a.string,size:c.a.string,label:c.a.string,active:c.a.bool,error:c.a.string,multiline:c.a.bool,borderless:c.a.bool,compact:c.a.bool,onChange:c.a.func,onClear:c.a.func,inputRef:c.a.oneOfType([c.a.func,c.a.shape({current:c.a.instanceOf(HTMLInputElement)})]),children:c.a.string,enableShortcuts:c.a.bool,disabled:c.a.bool,id:c.a.string,placeholder:c.a.string,icon:c.a.oneOfType([c.a.string,c.a.elementType])}),CO(YO,"defaultProps",{size:jO.M,onChange:PO,inputRef:PO,enableShortcuts:!1});var AO=H((function(e){var t,n;return n=t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pO(e,t)}(s,t);var n,r,i,a=hO(s);function s(){return fO(this,s),a.apply(this,arguments)}return n=s,(r=[{key:"render",value:function(){var t=this.props,n=t.onChange,r=t.multiple,i=uO(t,["onChange","multiple"]),a=yO&&!r?{onInput:n,onChange:vO}:{onChange:n};return o.a.createElement(e,cO({multiple:r},a,i))}}])&&dO(n.prototype,r),i&&dO(n,i),s}(r.PureComponent),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(t,"propTypes",e.propTypes),n}),Hl())(YO),IO=["D M","DD M","DD MM","D-M","DD-M","DD-MM","D.M","DD.M","DD.MM","D\\M","DD\\M","DD\\MM","D/M","DD/M","DD/MM","D M YY","DD M YY","DD MM YY","D M YYYY","DD M YYYY","DD MM YYYY","D-M-YY","DD-M-YY","DD-MM-YY","D-M-YYYY","DD-M-YYYY","DD-MM-YYYY","D.M.YY","DD.M.YY","DD.MM.YY","D.M.YYYY","DD.M.YYYY","DD.MM.YYYY","D\\M\\YY","DD\\M\\YY","DD\\MM\\YY","D\\M\\YYYY","DD\\M\\YYYY","DD\\MM\\YYYY","D/M/YY","DD/M/YY","DD/MM/YY","D/M/YYYY","DD/M/YYYY","DD/MM/YYYY","D M YY","DD M YY","DD MM YY","D M YYYY","DD M YYYY","DD MM YYYY","D-M-YY","DD-M-YY","DD-MM-YY","D-M-YYYY","DD-M-YYYY","DD-MM-YYYY","D.M.YY","DD.M.YY","DD.MM.YY","D.M.YYYY","DD.M.YYYY","DD.MM.YYYY","D\\M\\YY","DD\\M\\YY","DD\\MM\\YY","D\\M\\YYYY","DD\\M\\YYYY","DD\\MM\\YYYY","D/M/YY","DD/M/YY","DD/MM/YY","D/M/YYYY","DD/M/YYYY","DD/MM/YYYY","YY M D","YY M DD","YY MM DD","YYYY M D","YYYY M DD","YYYY MM DD","YY-M-D","YY-M-DD","YY-MM-DD","YYYY-M-D","YYYY-M-DD","YYYY-MM-DD","YY.M.D","YY.M.DD","YY.MM.DD","YYYY.M.D","YYYY.M.DD","YYYY.MM.DD","YY\\M\\D","YY\\M\\DD","YY\\MM\\DD","YYYY\\M\\D","YYYY\\M\\DD","YYYY\\MM\\DD","YY/M/D","YY/M/DD","YY/MM/DD","YYYY/M/D","YYYY/M/DD","YYYY/MM/DD","YY D M","YY DD M","YY DD MM","YYYY D M","YYYY DD MM","YYYY DD MM","YY-D-M","YY-DD-M","YY-DD-MM","YYYY-D-M","YYYY-DD-MM","YYYY-DD-MM","YY.D.M","YY.DD.M","YY.DD.MM","YYYY.D.M","YYYY.DD.MM","YYYY.DD.MM","YY\\D\\M","YY\\DD\\M","YY\\DD\\MM","YYYY\\D\\M","YYYY\\DD\\MM","YYYY\\DD\\MM","YY/D/M","YY/DD/M","YY/DD/MM","YYYY/D/M","YYYY/DD/MM","YYYY/DD/MM","D MMM","DD MMM","D M HH:mm","DD M HH:mm","DD MM HH:mm","D-M HH:mm","DD-M HH:mm","DD-MM HH:mm","D.M HH:mm","DD.M HH:mm","DD.MM HH:mm","D\\M HH:mm","DD\\M HH:mm","DD\\MM HH:mm","D/M HH:mm","DD/M HH:mm","DD/MM HH:mm","D M YY HH:mm","DD M YY HH:mm","DD MM YY HH:mm","D M YYYY HH:mm","DD M YYYY HH:mm","DD MM YYYY HH:mm","D-M-YY HH:mm","DD-M-YY HH:mm","DD-MM-YY HH:mm","D-M-YYYY HH:mm","DD-M-YYYY HH:mm","DD-MM-YYYY HH:mm","D.M.YY HH:mm","DD.M.YY HH:mm","DD.MM.YY HH:mm","D.M.YYYY HH:mm","DD.M.YYYY HH:mm","DD.MM.YYYY HH:mm","D\\M\\YY HH:mm","DD\\M\\YY HH:mm","DD\\MM\\YY HH:mm","D\\M\\YYYY HH:mm","DD\\M\\YYYY HH:mm","DD\\MM\\YYYY HH:mm","D/M/YY HH:mm","DD/M/YY HH:mm","DD/MM/YY HH:mm","D/M/YYYY HH:mm","DD/M/YYYY HH:mm","DD/MM/YYYY HH:mm","D M YY HH:mm","DD M YY HH:mm","DD MM YY HH:mm","D M YYYY HH:mm","DD M YYYY HH:mm","DD MM YYYY HH:mm","D-M-YY HH:mm","DD-M-YY HH:mm","DD-MM-YY HH:mm","D-M-YYYY HH:mm","DD-M-YYYY HH:mm","DD-MM-YYYY HH:mm","D.M.YY HH:mm","DD.M.YY HH:mm","DD.MM.YY HH:mm","D.M.YYYY HH:mm","DD.M.YYYY HH:mm","DD.MM.YYYY HH:mm","D\\M\\YY HH:mm","DD\\M\\YY HH:mm","DD\\MM\\YY HH:mm","D\\M\\YYYY HH:mm","DD\\M\\YYYY HH:mm","DD\\MM\\YYYY HH:mm","D/M/YY HH:mm","DD/M/YY HH:mm","DD/MM/YY HH:mm","D/M/YYYY HH:mm","DD/M/YYYY HH:mm","DD/MM/YYYY HH:mm","YY M D HH:mm","YY M DD HH:mm","YY MM DD HH:mm","YYYY M D HH:mm","YYYY M DD HH:mm","YYYY MM DD HH:mm","YY-M-D HH:mm","YY-M-DD HH:mm","YY-MM-DD HH:mm","YYYY-M-D HH:mm","YYYY-M-DD HH:mm","YYYY-MM-DD HH:mm","YY.M.D HH:mm","YY.M.DD HH:mm","YY.MM.DD HH:mm","YYYY.M.D HH:mm","YYYY.M.DD HH:mm","YYYY.MM.DD HH:mm","YY\\M\\D HH:mm","YY\\M\\DD HH:mm","YY\\MM\\DD HH:mm","YYYY\\M\\D HH:mm","YYYY\\M\\DD HH:mm","YYYY\\MM\\DD HH:mm","YY/M/D HH:mm","YY/M/DD HH:mm","YY/MM/DD HH:mm","YYYY/M/D HH:mm","YYYY/M/DD HH:mm","YYYY/MM/DD HH:mm","YY D M HH:mm","YY DD M HH:mm","YY DD MM HH:mm","YYYY D M HH:mm","YYYY DD MM HH:mm","YYYY DD MM HH:mm","YY-D-M HH:mm","YY-DD-M HH:mm","YY-DD-MM HH:mm","YYYY-D-M HH:mm","YYYY-DD-MM HH:mm","YYYY-DD-MM HH:mm","YY.D.M HH:mm","YY.DD.M HH:mm","YY.DD.MM HH:mm","YYYY.D.M HH:mm","YYYY.DD.MM HH:mm","YYYY.DD.MM HH:mm","YY\\D\\M HH:mm","YY\\DD\\M HH:mm","YY\\DD\\MM HH:mm","YYYY\\D\\M HH:mm","YYYY\\DD\\MM HH:mm","YYYY\\DD\\MM HH:mm","YY/D/M HH:mm","YY/DD/M HH:mm","YY/DD/MM HH:mm","YYYY/D/M HH:mm","YYYY/DD/MM HH:mm","YYYY/DD/MM HH:mm","D MMM HH:mm","DD MMM HH:mm","YYYY MMM D","YYYY MMM DD","YYYY D MMM","YYYY DD MMM","D MMM YY","DD MMM YY","D MMM YYYY","DD MMM YYYY","D MMM YY","DD MMM YY","D MMM YYYY","DD MMM YYYY","MMM D YYYY","MMM DD YYYY","YY MMM D","YY MMM DD","YY D MMM","YY DD MMM","D MMM","DD MMM","YYYY MMM D HH:mm","YYYY MMM DD HH:mm","YYYY D MMM HH:mm","YYYY DD MMM HH:mm","D MMM YY HH:mm","DD MMM YY HH:mm","D MMM YYYY HH:mm","DD MMM YYYY HH:mm","D MMM YY HH:mm","DD MMM YY HH:mm","D MMM YYYY HH:mm","DD MMM YYYY HH:mm","MMM D YYYY HH:mm","MMM DD YYYY HH:mm","YY MMM D HH:mm","YY MMM DD HH:mm","YY D MMM HH:mm","YY DD MMM HH:mm","D MMM HH:mm","DD MMM HH:mm","YYYY MMM D","YYYY MMM DD","YYYY D MMM","YYYY DD MMM","D MMM YY","DD MMM YY","D MMM YYYY","DD MMM YYYY","D MMM YY","DD MMM YY","D MMM YYYY","DD MMM YYYY","MMM D YYYY","MMM DD YYYY","YY MMM D","YY MMM DD","YY D MMM","YY DD MMM","YYYY MMM D HH:mm","YYYY MMM DD HH:mm","YYYY D MMM HH:mm","YYYY DD MMM HH:mm","D MMM YY HH:mm","DD MMM YY HH:mm","D MMM YYYY HH:mm","DD MMM YYYY HH:mm","D MMM YY HH:mm","DD MMM YY HH:mm","D MMM YYYY HH:mm","DD MMM YYYY HH:mm","MMM D YYYY HH:mm","MMM DD YYYY HH:mm","YY MMM D HH:mm","YY MMM DD HH:mm","YY D MMM HH:mm","YY DD MMM HH:mm"];function RO(e){return function(e){if(Array.isArray(e))return $O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return $O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $O(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var HO={unit:8,cellSize:24,calHeight:288,yearHeight:32},NO=HO,zO={MO:1,TU:2,WE:3,TH:4,FR:5,SA:6,SU:0},FO=+sO.a.duration(1,"year"),BO=FO/(12*HO.cellSize);var UO=c.a.oneOfType([function(e,t){if(!sO.a.isMoment(e[t]))return new Error("".concat(t," should be a string, number, Date object or Moment object"))},c.a.instanceOf(Date),c.a.string,c.a.number]),WO=Object.create(null);function VO(e){var t;if("string"!=typeof e)t=sO()(e);else{for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i="".concat(e,"__").concat(r.join("__"));if(!(i in WO)){var a=[].concat(r,RO(IO));WO[i]=sO()(e,a)}t=WO[i]}return t.isValid()?t:null}function qO(e){var t=null;return/^([01][0-9]|2[0-3]):[0-5][0-9]$/.test(e)?t=e:/^([0-9]|2[0-3]):[0-5][0-9]$/.test(e)&&(t="0".concat(e)),t}var GO=n(23),KO=n.n(GO);function JO(e){return(JO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function QO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function XO(e,t){return(XO=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function eE(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=rE(e);if(t){var o=rE(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return tE(this,n)}}function tE(e,t){return!t||"object"!==JO(t)&&"function"!=typeof t?nE(e):t}function nE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rE(e){return(rE=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function oE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iE,aE=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&XO(e,t)}(a,e);var t,n,r,i=eE(a);function a(){var e;QO(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return oE(nE(e=i.call.apply(i,[this].concat(n))),"inputRef",(function(t){e.input=t,e.updateInput(e.props)})),oE(nE(e),"handleChange",(function(t){return e.props.onInput(t.target.value,t.target.dataset.name)})),oE(nE(e),"handleKeyDown",(function(t){return"Enter"===t.key&&e.props.onConfirm()})),e}return t=a,(n=[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hidden,r=t.text,o=t.active;(!n&&e.hidden||r!==e.text||o!==e.active)&&this.updateInput({text:r,active:o})}},{key:"updateInput",value:function(e){var t=e.text,n=e.active,r=this.input;r&&(n?(r.focus(),t||r.select()):r.blur())}},{key:"render",value:function(){var e=this.props,t=e.active,n=e.divider,r=e.text,i=e.time,a=e.name,l=e.hoverDate,c=e.date,u=e.inputFormat,f=e.onActivate,d=e.onClear,p="";t&&l?p=l.format(u):t&&null!=r?p=r:c?p=c.format(u):"time"===a&&(p=i||"");var h=function(){switch(a){case"from":return"Add first date";case"to":return"Add second date";case"time":return"Add time";default:return"Select ".concat(a)}}(),m=s()(KO.a.filter,KO.a["".concat(a,"Input")],n&&KO.a["".concat(a,"InputWithDivider")],"ring-js-shortcuts");return o.a.createElement(AO,{borderless:!0,"data-name":a,inputRef:this.inputRef,className:m,value:p,onChange:this.handleChange,onFocus:f,onKeyDown:this.handleKeyDown,onClear:d,placeholder:h})}}])&&ZO(t.prototype,n),r&&ZO(t,r),a}(o.a.PureComponent);function sE(e){return(sE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function lE(e){return function(e){if(Array.isArray(e))return cE(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return cE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cE(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function uE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dE(e,t){return(dE=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pE(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=gE(e);if(t){var o=gE(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return hE(this,n)}}function hE(e,t){return!t||"object"!==sE(t)&&"function"!=typeof t?mE(e):t}function mE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gE(e){return(gE=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function vE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}oE(aE,"propTypes",{active:c.a.bool,divider:c.a.bool,name:c.a.string,text:c.a.string,hoverDate:UO,date:UO,time:c.a.string,inputFormat:c.a.string,hidden:c.a.bool,onInput:c.a.func,onActivate:c.a.func,onConfirm:c.a.func,onClear:c.a.func});var yE=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dE(e,t)}(a,e);var t,n,r,i=pE(a);function a(){var e;uE(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return vE(mE(e=i.call.apply(i,[this].concat(n))),"handleClick",(function(){return e.props.onSelect(e.props.day)})),vE(mE(e),"handleMouseOver",(function(){iE&&(window.clearTimeout(iE),iE=null),e.props.onHover(e.props.day)})),vE(mE(e),"handleMouseOut",(function(){iE=window.setTimeout(e.props.onHover,0)})),vE(mE(e),"isDay",(function(t){return e.props.day.isSame(t,"day")})),vE(mE(e),"is",(function(t){return e.props[t]&&e.isDay(e.props[t])})),vE(mE(e),"inRange",(function(t){var n;return t&&(n=e.props.day).isBetween.apply(n,lE(t).concat(["days"]))})),vE(mE(e),"isDisabled",(function(t){return e.props.minDate&&t.isBefore(e.props.minDate,"day")||e.props.maxDate&&t.isAfter(e.props.maxDate,"day")})),e}return t=a,(n=[{key:"render",value:function(){var e,t=this.props,n=t.day,r=t.from,i=t.currentRange,a=t.activeRange,l=t.empty,c=a&&a[1]===r;function u(e){return e&&[e[0],e[1].clone().add(1,"days")]}var f=u(i),d=this.isDisabled(n),p=u(a);return o.a.createElement("button",{type:"button",className:s()(KO.a.day,KO.a[n.format("dddd")],(e={},vE(e,KO.a.current,["date","from","to"].some(this.is)),vE(e,KO.a.active,!d&&this.is("activeDate")),vE(e,KO.a.weekend,[zO.SA,zO.SU].includes(n.day())),vE(e,KO.a.empty,l),vE(e,KO.a.from,i&&this.isDay(i[0])&&!c||a&&this.isDay(a[0])),vE(e,KO.a.to,i&&this.isDay(i[1])||a&&this.isDay(a[1])),vE(e,KO.a.between,this.inRange(i)),vE(e,KO.a.activeBetween,!d&&this.inRange(a)),vE(e,KO.a.first,1===n.date()),vE(e,KO.a.spread,this.inRange(f)),vE(e,KO.a.activeSpread,!d&&this.inRange(p)),vE(e,KO.a.disabled,d),e)),onClick:this.handleClick,onMouseOver:this.handleMouseOver,onFocus:this.handleMouseOver,onMouseOut:this.handleMouseOut,onBlur:this.handleMouseOut,disabled:d},l||o.a.createElement("span",{className:s()(vE({},KO.a.today,n.isSame(sO()(),"day")))},n.format("D")))}}])&&fE(t.prototype,n),r&&fE(t,r),a}(r.Component);function bE(){return(bE=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function _E(e){for(var t=e.month,n=t.clone().endOf("month"),r=t.day(),i=t.clone().weekday(r>=zO.FR?zO.FR:zO.FR-7),a=[];i<n;)a.push(i),i=i.clone().add(1,"day");return o.a.createElement("div",{className:KO.a.month},o.a.createElement("span",{className:KO.a.monthTitle},e.month.format("MMMM")),a.map((function(n){return o.a.createElement(yE,bE({},e,{day:n,empty:n<t,key:+n}))})))}function wE(e){return(wE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ME(e,t){return(ME=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function SE(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=LE(e);if(t){var o=LE(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return OE(this,n)}}function OE(e,t){return!t||"object"!==wE(t)&&"function"!=typeof t?EE(e):t}function EE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LE(e){return(LE=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function TE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}yE.propTypes={day:UO,from:UO,currentRange:c.a.arrayOf(UO),activeRange:c.a.arrayOf(UO),empty:c.a.bool,onSelect:c.a.func,onHover:c.a.func,minDate:UO,maxDate:UO},_E.propTypes={month:UO};var DE=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ME(e,t)}(a,e);var t,n,r,i=SE(a);function a(){var e;xE(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return TE(EE(e=i.call.apply(i,[this].concat(n))),"state",{dragging:!1}),TE(EE(e),"onMouseDown",(function(){e.setState({dragging:!0})})),TE(EE(e),"onMouseUp",(function(){e.setState({dragging:!1})})),TE(EE(e),"onMouseMove",(function(t){e.props.onScroll(Fp(0,e.props.scrollDate,BO).y(t.movementY))})),e}return t=a,(n=[{key:"componentDidUpdate",value:function(e,t){this.state.dragging&&!t.dragging?(window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onMouseUp)):!this.state.dragging&&t.dragging&&(window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp))}},{key:"render",value:function(){for(var e=this,t=sO()(this.props.scrollDate).startOf("day").subtract(1,"year"),n=[t],r=0;r<=3;r++)t=t.clone().add(1,"year"),n.push(t);var i=s()(KO.a.monthSlider,TE({},KO.a.dragging,this.state.dragging));return o.a.createElement("div",null,n.map((function(t){return o.a.createElement("button",{type:"button",key:+t,className:i,style:{top:Math.floor(e.props.pxToDate.x(t)-NO.cellSize)},onMouseDown:e.onMouseDown})})))}}])&&kE(t.prototype,n),r&&kE(t,r),a}(r.PureComponent);function CE(){return(CE=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function PE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return jE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jE(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function YE(e){return(YE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function AE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RE(e,t){return(RE=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=zE(e);if(t){var o=zE(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return HE(this,n)}}function HE(e,t){return!t||"object"!==YE(t)&&"function"!=typeof t?NE(e):t}function NE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zE(e){return(zE=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function FE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}TE(DE,"propTypes",{scrollDate:UO,onScroll:c.a.func,pxToDate:c.a.shape({x:c.a.func,y:c.a.func})});var BE=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RE(e,t)}(a,e);var t,n,r,i=$E(a);function a(){var e;AE(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return FE(NE(e=i.call.apply(i,[this].concat(n))),"handleClick",(function(){var t=e.props.month.clone().endOf("month");e.props.onScrollChange(.5*(e.props.month+t))})),e}return t=a,(n=[{key:"render",value:function(){var e=this.props.month;return o.a.createElement("button",{type:"button",className:s()(KO.a.monthName,FE({},KO.a.today,e.isSame(sO()(),"month"))),onClick:this.handleClick},e.format("MMM"))}}])&&IE(t.prototype,n),r&&IE(t,r),a}(r.PureComponent);function UE(e){for(var t=sO()(e.scrollDate),n=[],r=0;r<12;r++)n.push(t.clone().month(r).date(15).startOf("day"));var i=Fp(0,sO()(e.scrollDate).startOf("year"),BO),a=0,s=0;if(e.currentRange){var l=PE(e.currentRange.map((function(e){return Math.floor(i.x(e))})),2);a=l[0],s=l[1]}return o.a.createElement("div",{className:KO.a.monthNames},n.map((function(t){return o.a.createElement(BE,{key:+t,month:t,onScrollChange:e.onScrollChange})})),e.currentRange&&o.a.createElement("div",{className:KO.a.range,style:{top:a-1,height:s+1-(a-1)}}),o.a.createElement(DE,CE({},e,{pxToDate:i})))}function WE(){return(WE=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}BE.propTypes={month:UO,onScrollChange:c.a.func},UE.propTypes={scrollDate:UO,onScrollChange:c.a.func,currentRange:c.a.arrayOf(UO)};var VE=NO.unit,qE=NO.cellSize,GE=NO.calHeight,KE=7+zO.SU-zO.FR;function JE(e){var t=sO()(e).startOf("month");return((t.day()+KE)%7+t.daysInMonth()>31?6:5)*qE+2*VE}function QE(e){var t=sO()(e).startOf("month");return(sO()(e).endOf("month")-t)/JE(t)}var ZE=bh(),XE=0;function eL(e){for(var t=sO()(e.scrollDate),n=t.clone().date(1).hours(1).startOf("hour"),r=n.clone().subtract(2,"months"),i=[r],a=0;a<4;a++)r=r.clone().add(1,"month"),i.push(r);var s=Fp(0,t,QE(t)),l=s.x(n),c=JE(t)+l;return o.a.createElement("div",{className:KO.a.months,onWheel:function(t){t.preventDefault(),XE+=t.deltaY,ZE((function(){var t;t=XE<l?s.y(l)+(XE-l)*QE(i[1]):XE>c?s.y(c)+(XE-c)*QE(i[3]):s.y(XE),e.onScroll(t),XE=0}))}},o.a.createElement("div",{style:{top:Math.floor(.5*GE-JE(i[0])-JE(i[1])+l)},className:KO.a.days},i.map((function(t){return o.a.createElement(_E,WE({},e,{month:t,key:+t}))}))),o.a.createElement(UE,e))}function tL(e){return(tL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oL(e,t){return(oL=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function iL(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=lL(e);if(t){var o=lL(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return aL(this,n)}}function aL(e,t){return!t||"object"!==tL(t)&&"function"!=typeof t?sL(e):t}function sL(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lL(e){return(lL=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function cL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}eL.propTypes={onScroll:c.a.func,scrollDate:UO};var uL,fL=NO.yearHeight,dL=NO.calHeight,pL=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oL(e,t)}(a,e);var t,n,r,i=iL(a);function a(){var e;nL(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return cL(sL(e=i.call.apply(i,[this].concat(n))),"state",{scrollDate:null}),e}return t=a,(n=[{key:"componentDidUpdate",value:function(e,t){this.stoppedScrolling=t.scrollDate&&!this.state.scrollDate}},{key:"setYear",value:function(e){uL&&(window.clearTimeout(uL),uL=null),this.setState({scrollDate:null}),this.props.onScroll(sO()(this.props.scrollDate).year(sO()(e).year()))}},{key:"render",value:function(){for(var e=this,t=this.props,n=t.onScrollChange,r=t.scrollDate,i=sO()(this.state.scrollDate||r),a=i.clone().startOf("year").clone().subtract(5,"years"),l=[a],c=0;c<10;c++)a=a.clone().add(1,"year"),l.push(a);var u=Fp(0,l[0],FO/fL);return o.a.createElement("div",{className:KO.a.years,onWheel:function(t){t.preventDefault();var n=Fp(0,i,FO/fL).y(t.deltaY);e.setState({scrollDate:n}),uL&&window.clearTimeout(uL),uL=window.setTimeout((function(){return e.setYear(n)}),100)},style:{transition:this.stoppedScrolling?"top .2s ease-out 0s":"none",top:Math.floor(.5*dL-u.x(i))}},l.map((function(e){var t;return o.a.createElement("button",{type:"button",key:+e,className:s()(KO.a.year,(t={},cL(t,KO.a.currentYear,e.isSame(i,"year")),cL(t,KO.a.today,e.isSame(sO()(),"year")),t)),onClick:function(){n(sO()(r).year(sO()(e).year()))}},e.format("YYYY"))})))}}])&&rL(t.prototype,n),r&&rL(t,r),a}(r.PureComponent);function hL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mL(){var e=Object.keys(zO).map((function(e){return sO()().day(zO[e]).startOf("day")}));return o.a.createElement("div",{className:KO.a.weekdays},e.map((function(e){return o.a.createElement("span",{className:s()(KO.a.weekday,hL({},KO.a.weekend,[zO.SA,zO.SU].includes(e.day()))),key:+e},e.format("dd"))})))}function gL(e){return(gL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vL(){return(vL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function yL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yL(Object(n),!0).forEach((function(t){EL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wL(e,t,n){return t&&_L(e.prototype,t),n&&_L(e,n),e}function xL(e,t){return(xL=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kL(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=OL(e);if(t){var o=OL(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ML(this,n)}}function ML(e,t){return!t||"object"!==gL(t)&&"function"!=typeof t?SL(e):t}function SL(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OL(e){return(OL=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function EL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}cL(pL,"propTypes",{scrollDate:UO,onScroll:c.a.func,onScrollChange:c.a.func});var LL=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xL(e,t)}(n,e);var t=kL(n);function n(e){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),EL(SL(r=t.call(this,e)),"isInTimeMode",(function(){return!r.props.range&&r.props.withTime||!1})),EL(SL(r),"componentRef",o.a.createRef()),EL(SL(r),"handleWheel",(function(e){e.preventDefault()})),EL(SL(r),"isValidDate",(function(e){var t=r.parse(r.props.minDate,"date"),n=r.parse(r.props.maxDate,"date");return!!e&&!(t&&e.isBefore(t)||n&&e.isAfter(n))})),EL(SL(r),"scheduleScroll",(function(){var e=r.state.scrollDate||r.parse(r.props[r.state.active],"date")||sO()(),t=r._scrollDate;if(!e||!t||n.sameDay(t,e,r.props.inputFormat,r.props.displayFormat))return r._scrollDate=null,void(r._scrollTS=null);if(r._scrollTS){var o=t-e,i=sO()()-r._scrollTS,a=t-o*Math.pow(Math.E,-i/10);r.setState({scrollDate:a})}r._scrollTS=sO()(),window.requestAnimationFrame(r.scheduleScroll)})),EL(SL(r),"scrollTo",(function(e){r._scrollDate=e,r._scrollTS||r.scheduleScroll()})),EL(SL(r),"hoverHandler",(function(e){return r.setState({hoverDate:e})})),EL(SL(r),"handleActivate",W((function(e){return function(){return r.setState({active:e})}}))),EL(SL(r),"handleInput",(function(e,t){var n=r.parse(e,t);"time"!==t&&r.isValidDate(n)&&r.scrollTo(n),r.setState({text:e,hoverDate:null})})),EL(SL(r),"handleConfirm",W((function(e){return function(){return r.confirm(e)}}))),EL(SL(r),"selectHandler",(function(e){r.isInTimeMode()?r.setState({active:"time"},(function(){return r.select({date:e})})):r.select(EL({},r.state.active,e))})),EL(SL(r),"handleScroll",(function(e){return r.setState({scrollDate:e})}));var i={text:null,hoverDate:null,scrollDate:null},a=e.range,s=e.from,l=e.to,c=e.date,u=e.time,f=e.withTime;if(a)r.state=bL(bL({},i),{},s&&!l?{active:"to"}:{active:"from"});else{var d=r.parse(u,"time"),p=r.parse(c,"date"),h=f&&p&&!d?"time":"date";r.state=bL(bL({},i),{},{active:h})}return r}return wL(n,null,[{key:"sameDay",value:function(e,t,n,r){var o=VO(e,n,r),i=VO(t,n,r);return o&&i?o.isSame(i,"day"):e===t}}]),wL(n,[{key:"componentDidMount",value:function(){this.componentRef.current&&this.componentRef.current.addEventListener("wheel",this.handleWheel)}},{key:"componentDidUpdate",value:function(e,t){this.state.active!==t.active&&(this.state.text&&t.active&&this.confirm(t.active),this.setState({text:null}))}},{key:"componentWillUnmount",value:function(){this.componentRef.current&&this.componentRef.current.removeEventListener("wheel",this.handleWheel)}},{key:"parse",value:function(e,t){return"time"===t?qO(e):VO(e,this.props.inputFormat,this.props.displayFormat)}},{key:"select",value:function(e){var t=this.props,n=t.range,r=t.withTime,o=this.state.active,i=this.parse(this.props.date,"date"),a=this.parse(this.props.time,"time");if(n||r)if(!n&&r){var s={date:e.date||i,time:e.time||a};this.setState({active:e.date?"time":"date",text:null,scrollDate:null}),this.props.onChange(s),!e.date&&"time"===o&&s.date&&s.time&&this.props.onComplete()}else{var l=bL(bL({},this.props),e),c=l.from,u=l.to;c=this.parse(c,"from"),u=this.parse(u,"to");var f="to",d=!1;c&&u&&c.isAfter(u,"days")?e.from?u=null:e.to&&(u=c,c=e.to):e.to&&(f="from",d=!!c),this.setState({active:f,hoverDate:null,text:null}),this.props.onChange({from:c,to:u}),d&&this.props.onComplete()}else this.setState({text:null,scrollDate:null}),this.props.onChange(e.date),this.props.onComplete()}},{key:"confirm",value:function(e){var t=this.state.text,n=this.parse(t,e);if("time"===e){var r=this.parse(this.props.time,"time"),o="time"===this.state.active?"00:00":null;n=n||r||o}else this.isValidDate(n)||(n=this.parse(this.props[e],e));this.select(EL({},e,n))}},{key:"render",value:function(){var e=this,t=this.props,n=t.range,r=t.hidden,i=t.withTime,a=this.parse(this.props.time,"time"),s=this.parse(this.props.date,"date"),l=this.parse(this.props.to,"to"),c=n?["from","to"]:["date"],u=c.reduce((function(t,n){var r=e.props[n];return bL(bL({},t),{},EL({},n,e.parse(r,n)))}),{}),f="time"!==this.state.active?this.state.hoverDate||this.state.text&&this.parse(this.state.text,"date"):this.state.hoverDate||null,d=n&&u.from&&u.to&&[u.from,u.to]||null,p=null;if(n&&f)switch(this.state.active){case"from":u.to&&!f.isAfter(u.to,"days")&&(p=[f,u.to]);break;case"to":if(!u.from)break;p=f.isBefore(u.from,"days")?[f,u.from]:[u.from,f]}var h=i&&!n?this.state.scrollDate||u.date||sO()():this.state.scrollDate||u[this.state.active]||sO()(),m=bL(bL(bL(bL({},this.props),this.state),u),{},{scrollDate:h,activeDate:f,currentRange:d,activeRange:p,onScroll:this.handleScroll,onScrollChange:this.scrollTo});return o.a.createElement("div",{className:KO.a.datePopup,"data-test":"ring-date-popup",ref:this.componentRef},o.a.createElement("div",{className:KO.a.filterWrapper},o.a.createElement(de,{glyph:Et.a,className:KO.a.filterIcon}),c.map((function(t){return o.a.createElement(aE,vL({},e.props,e.state,{divider:"from"===t&&(u[t]||l),name:t,key:t,date:u[t],active:e.state.active===t,hidden:r,onActivate:e.handleActivate(t),onInput:e.handleInput,onConfirm:e.handleConfirm(t),onClear:"from"===t||e.isInTimeMode()?null:e.props.onClear}))})),this.isInTimeMode()?o.a.createElement(aE,vL({},this.props,this.state,{divider:!!s,hoverDate:null,name:"time",key:"time",date:null,time:a,active:"time"===this.state.active,hidden:r,onActivate:this.handleActivate("time"),onInput:this.handleInput,onConfirm:this.handleConfirm("time"),onClear:this.props.onClear})):""),o.a.createElement(mL,null),o.a.createElement("div",{className:KO.a.calendar},o.a.createElement(eL,vL({},m,{onHover:this.hoverHandler,onSelect:this.selectHandler})),o.a.createElement(pL,m)))}}]),n}(r.Component);function TL(e){return(TL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function DL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function PL(e,t){return(PL=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function jL(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=IL(e);if(t){var o=IL(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return YL(this,n)}}function YL(e,t){return!t||"object"!==TL(t)&&"function"!=typeof t?AL(e):t}function AL(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IL(e){return(IL=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function RL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $L(){return($L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function HL(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}EL(LL,"propTypes",{className:c.a.string,date:UO,range:c.a.bool,withTime:c.a.bool,time:c.a.string,from:UO,to:UO,displayFormat:c.a.string,inputFormat:c.a.string,onChange:c.a.func,onComplete:c.a.func,onClear:c.a.func,minDate:UO,maxDate:UO,hidden:c.a.bool}),EL(LL,"defaultProps",{onChange:function(){}});var NL=function(e){var t=e.hidden,n=e.className,r=e.popupRef,i=e.onClear,a=e.datePopupProps,s=e.onComplete,l=HL(e,["hidden","className","popupRef","onClear","datePopupProps","onComplete"]);return o.a.createElement(_g,$L({hidden:t,keepMounted:!0,className:n,ref:r,directions:[_g.PopupProps.Directions.BOTTOM_RIGHT,_g.PopupProps.Directions.BOTTOM_LEFT,_g.PopupProps.Directions.TOP_LEFT,_g.PopupProps.Directions.TOP_RIGHT]},l),o.a.createElement(LL,$L({onClear:i},a,{onComplete:s,hidden:t})))};NL.propTypes={hidden:c.a.bool,className:c.a.string,popupRef:c.a.func,onClear:c.a.func,datePopupProps:c.a.shape(LL.propTypes),onComplete:c.a.func};var zL=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PL(e,t)}(a,e);var t,n,r,i=jL(a);function a(){var e;DL(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return RL(AL(e=i.call.apply(i,[this].concat(n))),"clear",(function(){var t=null;e.props.range?t={from:null,to:null}:e.props.withTime&&(t={date:null,time:null}),e.props.onChange(t)})),RL(AL(e),"popupRef",(function(t){e.popup=t})),RL(AL(e),"closePopup",(function(){e.popup._onCloseAttempt()})),RL(AL(e),"getAnchorText",(function(){var t=e.props,n=t.range,r=t.displayFormat,o=t.inputFormat,i=t.displayMonthFormat,a=t.displayDayFormat,s=t.datePlaceholder,l=t.dateTimePlaceholder,c=t.rangePlaceholder,u=t.withTime,f=function(e){return VO(e,o,r)},d=f(e.props.date),p=f(e.props.from),h=f(e.props.to),m=u?qO(e.props.time):null;return n||u?!n&&u?d||m?"".concat(d&&d.format(r)||"—",", ").concat(m||"—"):l:p||h?h?p?p.isSame(h,"year")?p.isSame(h,"month")?p.isSame(h,"day")?"".concat(h.format(r)):"".concat(p.format(a)," — ").concat(h.format(r)):"".concat(p.format(i)," — ").concat(h.format(r)):"".concat(p.format(r)," — ").concat(h.format(r)):"— ".concat(h.format(r)):"".concat(p.format(r)," —"):c:d?d.format(r):s})),e}return t=a,(n=[{key:"render",value:function(){var e=this.getAnchorText();if(this.props.disabled)return o.a.createElement(qS,{disabled:!0},e);var t=this.props,n=t.className,r=t.popupClassName,i=t.clear,a=t.dropdownProps,l=HL(t,["className","popupClassName","clear","dropdownProps"]),c=s()(KO.a.datePicker,n);return o.a.createElement(iO,$L({className:c,anchor:e},a),o.a.createElement(NL,{className:r,popupRef:this.popupRef,onClear:i?this.clear:null,datePopupProps:l,onComplete:this.closePopup}))}}])&&CL(t.prototype,n),r&&CL(t,r),a}(r.PureComponent);RL(zL,"propTypes",{className:c.a.string,popupClassName:c.a.string,date:UO,time:c.a.string,withTime:c.a.bool,range:c.a.bool,from:UO,to:UO,clear:c.a.bool,displayFormat:c.a.string,displayMonthFormat:c.a.string,displayDayFormat:c.a.string,inputFormat:c.a.string,datePlaceholder:c.a.string,dateTimePlaceholder:c.a.string,rangePlaceholder:c.a.string,onChange:c.a.func,dropdownProps:c.a.object,disabled:c.a.bool,minDate:UO,maxDate:UO}),RL(zL,"defaultProps",{className:"",date:null,time:null,withTime:!1,range:!1,from:null,to:null,clear:!1,displayFormat:"D MMM YYYY",displayMonthFormat:"D MMM",displayDayFormat:"D",inputFormat:"D MMM YYYY",datePlaceholder:"Set a date",dateTimePlaceholder:"Set date and time",rangePlaceholder:"Set a period",minDate:null,maxDate:null,onChange:function(){}});FS(zL),n(904);var FL=n(747),BL=n.n(FL),UL=n(748),WL=n.n(UL);function VL(e){return(VL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function KL(e,t){return(KL=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function JL(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ZL(e);if(t){var o=ZL(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return QL(this,n)}}function QL(e,t){return!t||"object"!==VL(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ZL(e){return(ZL=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var XL=Ou.a.module("Ring.promised-click",[]),eT=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&KL(e,t)}(i,e);var t,n,r,o=JL(i);function i(){var e;qL(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=(e=o.call.apply(o,[this].concat(n))).$inject,s=a.$scope,l=a.$element,c=a.$attrs,u=a.$parse;e.element=l[0],e.active=!1,c.rgPromisedClick&&e.onClick((function(e){return u(c.rgPromisedClick)(s,{event:e})}));var f=null;e.toggleActive=function(t){"loader"===f?(Yc(t?"add":"remove")(e.element.classList,Tm.a.loader),e.element.querySelector(".js-button-loader")&&Yc(t?"add":"remove")(e.element.querySelector(".js-button-loader").classList,Tm.a.loaderBackground)):"active"===f&&Yc(t?"add":"remove")(e.element.classList,Tm.a.active)};var d=function(e){f=e};return d(c.promisedMode||"active"),c.promisedMode&&-1!==c.promisedMode.indexOf("{{")&&c.$observe("promisedMode",(function(t){t!==f&&(e.toggleActive(!1),d(t))})),e}return t=i,(n=[{key:"onClick",value:function(e){var t=this;this.element.addEventListener("click",(function(n){t.active?n.preventDefault():t.process(e,n)}))}},{key:"process",value:function(e,t){var n=this.$inject.$scope;this.promise=e(t),this.promise&&this.activate(),n.$root.$$phase||n.$apply()}},{key:"activate",value:function(){var e=this;this.active=!0,this.toggleActive(!0);var t=function(){e.active=!1,e.toggleActive(!1)};this.promise.then(t,t)}}])&&GL(t.prototype,n),r&&GL(t,r),i}(Ov);!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(eT,"$inject",["$scope","$element","$attrs","$parse"]),XL.directive("rgPromisedClick",(function(){return{controller:eT}}));var tT=XL.name,nT=(n(452),n(749)),rT=n.n(nT);function oT(e){return(oT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function iT(e,t){if(e){if("string"==typeof e)return aT(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?aT(e,t):void 0}}function aT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cT(e,t,n){return t&&lT(e.prototype,t),n&&lT(e,n),e}function uT(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fT(e,t)}function fT(e,t){return(fT=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function dT(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mT(e);if(t){var o=mT(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return pT(this,n)}}function pT(e,t){return!t||"object"!==oT(t)&&"function"!=typeof t?hT(e):t}function hT(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mT(e){return(mT=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function gT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}kT.$inject=["$compile","$q"],xT.$inject=["$timeout"];var vT=Ou.a.module("Ring.dialog",[BL.a,gb,tT,ix]),yT=function(e){uT(n,e);var t=dT(n);function n(){var e;sT(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return gT(hT(e=t.call.apply(t,[this].concat(o))),"hide",(function(){e.inSidebar||Lg(),e.active=!1,e.content="",e.focusTrap.deactivate(),Reflect.deleteProperty(hT(e),"DIALOG_NAMESPACE"),tm.indexOfScope(e.dialogService.DIALOG_NAMESPACE)>-1&&tm.setScope(e.currentShortcutsScope),e._resetFormState(),e.$inject.$scope.$broadcast("dialog.hide")})),gT(hT(e),"serverErrorFields",[]),e.styles=rT.a,e.dialogStyles=Mg.a,e.islandStyles=nh.a,e.$inject.$q((function(t,n){e.resolve=t,e.reject=n})),e}return cT(n,[{key:"$onInit",value:function(){var e=this,t=this.$inject,n=t.dialog,r=t.dialogInSidebar,o=t.$scope,i=this.inSidebar?r:n;this.focusTrap=WL()(this.$inject.$element[0],{fallbackFocus:'[data-anchor="focus-trap-fallback"]',escapeDeactivates:!1}),this.dialogService=i,this.previousBodyWidth=null,o.$on("$routeChangeSuccess",this.hide),o.$on("$routeUpdate",this.hide),o.$on("$destroy",i.unregister),o.$watch((function(){return e.active}),(function(){e.active?tm.bindMap(e.getShortcuts(),{scope:e.DIALOG_NAMESPACE}):e.reset()})),i.register(this)}},{key:"getShortcuts",value:function(){var e=function(){this.active=!1,this.focusTrap.deactivate(),this.$inject.$scope.$apply()}.bind(this),t={esc:e,enter:this.applyDefaultHandler(!1),"mod+enter":this.applyDefaultHandler(!0)};if(Ou.a.extend(t,this.shortcuts),this.shortcuts&&this.shortcuts.esc){var n=t.esc;t.esc=function(){var t=n();return e(),t}}return t}},{key:"handleClick",value:function(e){var t=e.target===e.currentTarget;!this.inSidebar&&this.closeOnClick&&t&&this.hide()}},{key:"setTitle",value:function(e){this.title=e}},{key:"compileTemplate",value:function(){var e=this;if(this.config.data){var t=Ou.a.element(this.template);return{element:t,link:this.$inject.$compile(t)}}return this.$inject.rgCompiler(this.config).catch((function(t){return e.reject(t),e.$inject.$q.reject(t)}))}},{key:"show",value:function(e){var t=this,n=this.$inject,r=n.$q,o=n.$scope;return this.inSidebar||(Eg(),e&&!0===e.trapFocus&&this.focusTrap.activate()),this.active&&this.reset(),this.error=null,this.dialogForm&&this.dialogForm.$setPristine(),e&&(this.title=e.title,this.buttons=e.buttons,this.data=e.data||{},this.wideDialog=e.wideDialog,this.autoWidth=e.autoWidth,this.scrollableWrapperClassName=e.scrollableWrapperClassName,this.cssClass=e.cssClass||"",this.shortcuts=e.shortcuts,this.content=e.content,this.template=e.template,this.config=e,this.description=e.description&&e.description.split("\n")||[],this.closeOnClick=e.closeOnClick,o.data=this.data),this.currentShortcutsScope=tm.getScope(),this.DIALOG_NAMESPACE=this.dialogService.DIALOG_NAMESPACE,tm.setScope(this.dialogService.DIALOG_NAMESPACE),this.active=!0,o.$broadcast("dialog.show"),r((function(e,n){t.resolve=e,t.reject=n}))}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.assign(this.data,e.data),Object.assign(this.buttons,e.buttons)}},{key:"_resetFormState",value:function(){var e=this.dialogForm;e&&(e.$setPristine(),e.$setUntouched(),e.$valid=!0,e.$invalid=!1,e.$error={})}},{key:"done",value:function(e){this.resetPosition(),this.resolve(e),this.hide()}},{key:"reset",value:function(e){this.done(e)}},{key:"getErrorMessage",value:function(e){var t,n;return(null==e||null===(t=e.data)||void 0===t?void 0:t.error_description)?e.data.error_description:(null==e||null===(n=e.data)||void 0===n?void 0:n.error)?e.data.error:e}},{key:"getFieldErrorMessage",value:function(e){return e&&e.data&&e.data.error?e.data.error:null}},{key:"action",value:function(e){var t=this;if(!e.inProgress){var n=function(e){var n=e&&e.data&&e.data.error_field;n&&t.dialogForm[n]?(t.dialogForm[n].$invalid=!0,t.dialogForm[n].$error[n]=[{message:t.getFieldErrorMessage(e)}],t.serverErrorFields.push(n)):t.error=t.getErrorMessage(e)};if(e.action){e.keepServerErrors||(this.serverErrorFields.forEach((function(e){t.dialogForm[e].$invalid=!1,t.dialogForm[e].$error={}})),this.serverErrorFields=[]);var r=e.action(this.data,e,n,this.dialogForm,this.buttons);return e.inProgress=!0,this.$inject.$q.resolve(r).then((function(n){!1===n||!1===e.close||t.done(n)})).catch(n).finally((function(){e.inProgress=!1}))}!1!==e.close&&this.reset(!1)}}},{key:"applyDefaultHandler",value:function(e){var t=this;return function(n){if(n.target.matches("textarea")===e&&!n.target.matches("button")&&(n.stopPropagation(),n.preventDefault(),t.dialogForm.$valid&&t.buttons)){var r,o=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=iT(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(t.buttons);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(i.default&&!i.hidden&&!i.disabled)return t.action(i),void t.$inject.$scope.$apply()}}catch(e){o.e(e)}finally{o.f()}}}}}]),n}(Ov);gT(yT,"$inject",["$scope","$q","dialog","$element","dialogInSidebar","$compile","$injector","$controller","rgCompiler"]);var bT=function(e){uT(n,e);var t=dT(n);function n(){var e;sT(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return gT(hT(e=t.call.apply(t,[this].concat(o))),"DIALOG_NAMESPACE","ring-dialog"),gT(hT(e),"fallbackDialog",null),gT(hT(e),"unregister",(function(){Reflect.deleteProperty(hT(e),"ctrl")})),["show","hide","update","done","reset"].forEach((function(t){e[t]=function(){var e,n;return this.ctrl?(e=this.ctrl)[t].apply(e,arguments):this.fallbackDialog?(n=this.fallbackDialog)[t].apply(n,arguments):void this.$inject.$log.error("No dialog directive is found")}.bind(hT(e))})),e}return cT(n,[{key:"register",value:function(e){this.ctrl=e}}]),n}(Ov);gT(bT,"$inject",["$log"]);var _T,wT=function(e){uT(n,e);var t=dT(n);function n(){var e;sT(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return gT(hT(e=t.call.apply(t,[this].concat(o))),"DIALOG_NAMESPACE","ring-dialog-in-sidebar"),e.fallbackDialog=e.$inject.dialog,e}return n}(bT);function xT(e){return{scope:{},controller:yT,bindToController:{inSidebar:"@?",active:"=?"},replace:!0,template:n(909),controllerAs:"dialog",link:function(t,n,r,o){var i=n[0],a=i.querySelector("*[data-anchor=dialog-container]"),s=i.querySelector("*[data-anchor=dialog-header]"),l=i.querySelector("*[data-anchor=dialog-custom-footer-container]");function c(e,t){Object.assign(a.style,{top:"".concat(e,"px"),left:"".concat(t,"px")})}function u(){var e=i.queryAll("input,select,button,textarea,*[contentEditable=true]").filter((function(e){return"none"!==Ec(e).display}));e.length&&e[0].focus()}function f(e){e.preventDefault();var t=window.innerHeight-10,n=window.innerWidth-10,r=Dc(s).top+e.movementY,o=Dc(s).left+e.movementX;if(!(r>t||r<10||o>n||o<10)){var i=parseFloat(a.style.top)||0,l=parseFloat(a.style.left)||0;c(i+e.movementY,l+e.movementX)}}function d(){document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",d)}function p(){o.inSidebar||(i.dispatchEvent(new CustomEvent("ring.popup-close")),document.addEventListener("mousemove",f),document.addEventListener("mouseup",d))}function h(e){!i.contains(e.target)&&e.target.classList.contains("ring-popup")&&(e.preventDefault(),u())}t.dialogForm=o.dialogForm,o.resetPosition=function(){return a.removeAttribute("style")},o.setCustomFooter=function(e){var t=Ou.a.element(l),n=Ou.a.element('<div class="'.concat(this.styles.footer,'"></div>')).append(e);t.empty(),t.append(n)},s.addEventListener("mousedown",p),document.addEventListener("focusin",h),t.$on("rgDialogContentLoaded",(function(){return e(u)})),t.$on("$includeContentLoaded",(function(){return e(u)})),t.$on("dialog.hide",(function(){Ou.a.element(l).empty()})),t.$on("$destroy",(function(){s.removeEventListener("mousedown",p),document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",d),document.removeEventListener("focusin",h),window.removeEventListener("resize",c)}))}}}function kT(e,t){return{link:function(n,r){var o,i=r[0];function a(){if(o=n.$new(),Ou.a.isDefined(n.dialog.content)){var r=Ou.a.element(((a=document.createElement("ng-include")).setAttribute("src","dialog.content"),a));return i.appendChild(r[0]),e(r)(o)[0]}var a;return t.when(n.dialog.compileTemplate()).then((function(e){var t=n.dialog.config.data?o:n.dialog.config.scope||o;Ou.a.element(i).append(e.element),e.link(t),n.$broadcast("rgDialogContentLoaded")})).catch(Ou.a.noop)}function s(){o&&(o.$destroy(),function(e){for(;e.childNodes.length;)Ou.a.element(e.childNodes[0]).remove()}(i))}n.$on("dialog.hide",s),n.$on("dialog.show",(function(){s(),a()}))}}}gT(wT,"$inject",[].concat(function(e){if(Array.isArray(e))return aT(e)}(_T=bT.$inject)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(_T)||iT(_T)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),["dialog"])),vT.directive("rgDialog",xT),vT.directive("rgDialogTitle",(function(){return{scope:{title:"@rgDialogTitle"},require:"^rgDialog",link:function(e,t,n,r){r.setTitle(e.title)}}})),vT.directive("rgDialogFooter",(function(){return{require:"^rgDialog",transclude:!0,link:function(e,t,n,r,o){e.$on("rgDialogContentLoaded",(function(){o(e,(function(e){r.setCustomFooter(e)}))}))}}})),vT.directive("rgDialogContent",kT),vT.service("dialog",bT),vT.service("dialogInSidebar",wT);var MT=vT.name,ST=(n(910),bh()),OT=Ou.a.module("Ring.docked-panel",[]);OT.directive("rgDockedPanel",["$parse",function(e){return{link:function(t,n,r){var o,i,a,s,l=r.rgDockedPanelClass||"",c=r.rgDockedPanelConfig?e(r.rgDockedPanelConfig)(t):null,u=n[0];function f(e){var t=e.getBoundingClientRect();return t.top+t.height+d()}function d(){return c&&c.scrollContainer?c.scrollContainer.scrollTop:jc()}function p(){c&&(c.beforeDock&&t.$eval(c.beforeDock(n)),c.className&&u.classList.add(c.className)),u.classList.add("ring-docked-panel_fixed"),l&&u.classList.add(l),i=!0}function h(){c&&(c.beforeUndock&&t.$eval(c.beforeUndock(n)),c.className&&u.classList.remove(c.className)),u.classList.remove("ring-docked-panel_fixed"),l&&u.classList.remove(l),i=!1}function m(){var e=u.getBoundingClientRect();e.top+e.height>(c&&c.scrollContainer?c.scrollContainer.getBoundingClientRect().height:Pc())&&!i?p():i&&e.top+e.height+d()>=((c||{}).container?f(c.container):o)+8&&h()}u.classList.add("ring-docked-panel"),a=function(){m(),c&&c&&c.onResize&&t.$eval(c.onResize(n,i))},s=function(){return ST(m)},t.$applyAsync((function(){var e=(c||{}).scrollContainer||window;e.addEventListener("scroll",s),window.addEventListener("resize",a),t.$on("$destroy",(function(){e.removeEventListener("scroll",s),window.removeEventListener("resize",a)})),ST((function(){o=f(u),m()}))}))}}}]);OT.name;var ET=n(206),LT=n.n(ET);function TT(e){return(TT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function DT(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function CT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jT(e,t){return(jT=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function YT(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=IT(e);if(t){var o=IT(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return AT(this,n)}}function AT(e,t){return!t||"object"!==TT(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function IT(e){return(IT=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jT(e,t)}(l,e);var t,n,i,a=YT(l);function l(){return CT(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,i=DT(e,["children","className"]),a=s()(LT.a.errorBubble,n);return o.a.createElement("div",{className:LT.a.errorBubbleWrapper},r.Children.map(t,(function(e){return Object(r.cloneElement)(e,i)})),i.error&&o.a.createElement(_g,{className:LT.a.errorBubblePopup,hidden:!1,attached:!1,directions:[Bm.RIGHT_CENTER,Bm.RIGHT_BOTTOM,Bm.RIGHT_TOP]},o.a.createElement("div",{className:a,"data-test":"ring-error-bubble"},i.error)))}}])&&PT(t.prototype,n),i&&PT(t,i),l}(r.PureComponent),"propTypes",{error:c.a.string,className:c.a.string,children:c.a.node});var RT=n(74),$T=n.n(RT);function HT(e){return(HT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function NT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function FT(e,t){return(FT=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function BT(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=WT(e);if(t){var o=WT(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return UT(this,n)}}function UT(e,t){return!t||"object"!==HT(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function WT(e){return(WT=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FT(e,t)}(a,e);var t,n,r,i=BT(a);function a(){return NT(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.className,n=e.icon,r=e.code,i=e.message,a=e.description,l=e.children,c=s()($T.a.errorMessage,t);return o.a.createElement("div",{className:c},n&&o.a.createElement(de,{className:$T.a.icon,glyph:n,size:w.Size64,suppressSizeWarning:!0}),o.a.createElement("div",{className:$T.a.content},o.a.createElement("div",{className:$T.a.title},r&&"".concat(r,":")," ",i),a&&o.a.createElement("div",{className:$T.a.description},a),l))}}])&&zT(t.prototype,n),r&&zT(t,r),a}(r.Component),"propTypes",{icon:c.a.oneOfType([c.a.string,c.a.elementType]),code:c.a.string,message:c.a.string,description:c.a.string,children:c.a.node,className:c.a.string});var VT=Ou.a.module("Ring.error-message",[Fv,My]);VT.directive("rgErrorMessage",(function(){return{replace:!0,transclude:!0,template:'\n<div class="'.concat($T.a.errorMessage,'" data-test="ring-error-message">\n\n <rg-icon class="').concat($T.a.icon,'" glyph="{{icon}}" color="gray" size="64"></rg-icon>\n \n <div class="').concat($T.a.content,'">\n <div class="').concat($T.a.title,'" data-test="ring-error-message-title"\n ><span ng-if="code">{{ code }}:</span> {{ message }}</div>\n \n <div class="').concat($T.a.description,'" ng-transclude></div>\n \n \n <div ng-if="links">\n <span ng-repeat="link in links">\n <rg-link ng-if="link.target" ng-href="{{link.href}}" target="{{link.target}}">{{link.text}}</rg-link><rg-link\n ng-if="!link.target" ng-href="{{link.href}}">{{link.text}}</rg-link>{{$last ? \'\' : \',\'}}\n </span>\n </div>\n </div>\n</div>\n '),restrict:"E",scope:{code:"@",message:"@",links:"=",icon:"@"}}}));var qT=VT.name;n(914);function GT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function KT(e,t,n){return t&&GT(e.prototype,t),n&&GT(e,n),e}var JT=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.namesConverter=n||function(e){return e},this.set(t)}return KT(e,null,[{key:"_toProjectIdSet",value:function(e){var t=null;if(e){t={};for(var n=0;n<e.length;n++)t[e[n].id]=!0}return t}}]),KT(e,[{key:"set",value:function(e){var t=this,n=(e||[]).reduce((function(e,n){var r=t.namesConverter(n.permission.key);return r&&(e[r]={global:n.global,projectIdSet:t.constructor._toProjectIdSet(n.projects)}),e}),{});return this._permissions=e,this.permissionCache=n,this}},{key:"get",value:function(){return this._permissions}},{key:"has",value:function(e,t){var n=this.lex(e);if(0===n.length)return!0;try{return this.or(n,t)}catch(e){return!1}}},{key:"lex",value:function(e){var t=[];if(e){for(var n="",r=0;r<e.length;r++)switch(e.charAt(r)){case" ":case"\t":case"\n":case"\r":n&&(t.push(n),n="");break;case"(":case")":case"&":case"|":case"!":n&&(t.push(n),n=""),t.push(e.charAt(r));break;default:n+=e.charAt(r)}n&&t.push(n)}return t}},{key:"or",value:function(e,t){for(var n=this.and(e,t);e.length>0&&")"!==e[0];){if("|"!==e.shift())throw new Error("Operator '|' was expected");n=this.and(e,t)||n}return n}},{key:"and",value:function(e,t){for(var n=this.not(e,t);e.length>0&&")"!==e[0]&&"|"!==e[0];)"&"===e[0]&&e.shift(),n=this.not(e,t)&&n;return n}},{key:"not",value:function(e,t){for(var n=0;e.length>0&&"!"===e[0];)++n,e.shift();var r=this.term(e,t);return n%2==0?r:!r}},{key:"term",value:function(e,t){if(0===e.length)throw new Error("Operand was expected");var n,r=e.shift();if("("===r){if(n=this.or(e,t),")"!==e.shift())throw new Error("Operator ')' was expected")}else n=this.testPermission(r,t);return n}},{key:"testPermission",value:function(e,t){var n=this.permissionCache,r=n[e]||n[this.namesConverter(e)];return!!r&&(!!r.global||(!t||r.projectIdSet&&t in r.projectIdSet))}}]),e}();function QT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function XT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(JT,"GLOBAL_PROJECT_ID","global");var eD=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(QT(this,e),XT(this,"_defaultDatasource",(function(t){return n._auth.http.get(e.API_PERMISSION_CACHE_PATH,{query:{fields:"permission/key,global,projects(id)",query:t}})})),this.query=e.getPermissionQuery(r.services),this.namesConverter=r.prefix?e.getDefaultNamesConverter(r.prefix):r.namesConverter,!t)throw new Error("Parameter auth is required");this._auth=t,this._datasource=r.datasource||this._defaultDatasource,this._promise=null,this._subscribed=!1,this._permissionCache=new JT(null,this.namesConverter)}var t,n,r;return t=e,r=[{key:"getDefaultNamesConverter",value:function(e){return function(t){return 0!==t.indexOf(e)?t:t.substr(e.length)}}},{key:"getPermissionQuery",value:function(e){if(e&&e.length)return e.map((function(e){return"service:{".concat(e,"}")})).join(" or ")}}],(n=[{key:"set",value:function(e){return this._permissionCache.set(e),this._setCache(Promise.resolve(this._permissionCache)),this._permissionCache}},{key:"get",value:function(){return this._permissionCache.get()}},{key:"_setCache",value:function(e){return this._promise=e,e}},{key:"_getCache",value:function(){return this._promise}},{key:"_resetCache",value:function(){this._setCache(null)}},{key:"load",value:function(e){var t=this;return!1===this._subscribed&&(this._auth.addListener("userChange",(function(){t.reload()})),this._subscribed=!0),!n("NO_CACHE",e)&&this._getCache()?this._getCache():n("NO_STORE",e)?this._loadPermissions().then((function(e){return new JT(e,t.namesConverter)})):this._setCache(this._loadPermissions().then((function(e){return t.set(e)})));function n(e,t){return!(!t||!t.cacheControl)&&t.cacheControl[e]}}},{key:"_loadPermissions",value:function(){return this._datasource(this.query)}},{key:"reload",value:function(){return this._resetCache(),this.load()}},{key:"check",value:function(e,t){return this.load().then((function(n){return n.has(e,t)}))}},{key:"bindVariable",value:function(e,t,n,r){return e[t]=!1,this.check(n,r).then((function(n){return e[t]=n,n}))}}])&&ZT(t.prototype,n),r&&ZT(t,r),e}();XT(eD,"API_PERMISSION_CACHE_PATH","permissions/cache");n(918);function tD(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function nD(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){tD(i,r,o,a,s,"next",e)}function s(e){tD(i,r,o,a,s,"throw",e)}a(void 0)}))}}function rD(e){var t=e.controller("rgSomePermissions");return t&&t.registerPermission()||Ou.a.noop}var oD=Ou.a.module("Ring.permissions",["Ring.auth"]);oD.provider("userPermissions",(function(){var e={};this.config=function(t){e=t},this.$get=["auth","$q","$http",function(t,n,r){var o=t.auth.getAPIPath()+eD.API_PERMISSION_CACHE_PATH;function i(){return(i=nD(regeneratorRuntime.mark((function e(t){var n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.get(o,{params:{fields:"permission/key,global,projects(id)",query:t}});case 2:return n=e.sent,i=n.data,e.abrupt("return",i);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}e.datasource=e.datasource||function(e){return i.apply(this,arguments)};var a=new eD(t.auth,e);return a.load=function(){return n.when(eD.prototype.load.call(this))},a}]})),oD.directive("rgPermission",["userPermissions","$interpolate",function(e,t){return{controller:["$scope","$element","$attrs",function(n,r,o){var i=this,a=r[0];this.permitted=!1,a.classList.add("ring-permission-hide");var s=t(o.rgPermission)(n),l=o.hasOwnProperty("inGlobal")?JT.GLOBAL_PROJECT_ID:n.$eval(o.inProject);e.check(s,l).then((function(e){return i.permitted=e,e&&a.classList.remove("ring-permission-hide"),e})).then(rD(r))}]}}]),oD.directive("rgPermissionIf",["$animate","userPermissions","$interpolate",function(e,t,n){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,require:"^?rgSomePermissions",link:function(r,o,i,a,s){var l,c,u=i.hasOwnProperty("inGlobal")?JT.GLOBAL_PROJECT_ID:r.$eval(i.inProject),f=n(i.rgPermissionIf)(r);t.check(f,u).then((function(t){t?c||(c=r.$new(),s(c,(function(t){l={startNode:t[0],endNode:t[t.length++]=document.createComment(" end rgPermissionIf: ".concat(i.rgPermissionIf," "))},e.enter(t,o.parent(),o)}))):(c&&(c.$destroy(),c=null),l&&(e.leave(getBlockElements(l)),l=null))})).then(rD(o))}}}]),oD.directive("rgSomePermissions",(function(){return{scope:{rgSomePermissions:"="},controller:["$scope",function(e){var t=[];e.rgSomePermissions=!1,this.registerPermission=function(){var n={permitted:!1};return t.push(n),function(r){n.permitted=r,function(){for(var n=t.length-1;n>=0;n--)if(t[n].permitted)return void(e.rgSomePermissions=!0);e.rgSomePermissions=!1}()}}}]}}));var iD=oD.name,aD=n(750),sD=n.n(aD),lD=Ou.a.module("Ring.error-page",["ngRoute",qT,iD,xv]);lD.provider("errorPageConfiguration",(function(){var e={};this.config=function(t){e=t},this.$get=["$injector","$log",function(t,n){function r(e){try{return t.get(e)}catch(t){return void n.debug("errorPageConfiguration: unable to load ".concat(e))}}var o,i;return e.responseToMessageConverter&&(o=r(e.responseToMessageConverter)),e.links&&(i=r(e.links)),{responseToMessageConverter:o||Ou.a.noop,links:i||[]}}]})),lD.factory("getErrorPagePresentation",["RingMessageBundle",function(e){return function(t){var n={401:{status:401,title:e.errorpage_401(),description:e.errorpage_401msg(),icon:Yl},404:{status:404,title:e.errorpage_404(),description:e.errorpage_404msg(),icon:jl},403:{status:403,title:e.errorpage_403(),description:e.errorpage_403msg(),icon:Yl},500:{status:500,title:e.errorpage_500(),description:e.errorpage_500msg(),icon:jl},0:{status:e.errorpage_disconnected(),title:e.errorpage_disconnectedmsg(),description:e.errorpage_offline(),icon:jl},default:{title:e.errorpage_seriouslywrong(),icon:jl}};return t.status in n?n[t.status]:Ou.a.extend({status:t.status,description:t.message},n.default)}}]),lD.directive("rgErrorPageBackground",(function(){return{restrict:"A",controller:["$scope",function(e){this.setApplicationError=function(t){e.applicationError=t}}],link:function(e,t){var n=t[0];n.classList.add("error-page"),e.$watch("applicationError",(function(e){e?n.classList.add("error-page_enabled"):n.classList.remove("error-page_enabled")}))}}})),lD.directive("rgErrorPage",["errorPageConfiguration","$route","userPermissions","$log","getErrorPagePresentation","$q","$compile",function(e,t,n,r,o,i,a){return{replace:!0,transclude:!0,template:"<div></div>",require:"?^rgErrorPageBackground",link:function(s,l,c,u,f){function d(t){f(s,(function(n){var r=document.createElement("div");r.className="ng-hide",Ou.a.element(r).append(n),l.append(r),s.error=o(t),s.links=e.links;var i='\n <div class="'.concat(sD.a.errorPageNg,'">\n <rg-error-message \n code="{{ error.status }}" \n message="{{ error.title }}" \n links="links"\n icon="{{ error.icon }}"\n >\n <span>{{ error.description }}</span>\n </rg-error-message>\n </div>\n '),c=a(Ou.a.element(i))(s);if(l.append(c),u&&u.setApplicationError(!0),u){var f=s===s.$root?"$routeChangeStart":"$destroy";s.$on(f,(function(){u.setApplicationError(!1)}))}}))}function p(){f(s,(function(e){l.append(e)}))}(function(){if(t.current&&t.current.$$route&&t.current.$$route.permission){var e,o,a=t.current.$$route.permission;return n.load().then((function(t){t.has(a)?e():(r.debug("Navigation: no page".concat(a," permission, status 403")),o({status:403}))})),i((function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e=n[0],o=n[1]}))}return i.resolve()})().then((function(){var t=s.$eval(c.rgErrorPage);t&&t.error?(d(t.error),r.debug("Navigation: errorSource ".concat(c.rgErrorPage," not permitted, status: ").concat(status))):function(t,n){var o=t&&(t.$promise||t.promise);return o?i((function(t,i){o.then((function(e){return t(),e})).catch((function(t){return r.debug("Navigation: errorSource ".concat(n," not permitted, status: ").concat(status)),i({status:t&&t.status,message:e.responseToMessageConverter(t)}),t}))})):i.resolve()}(t,c.rgErrorPage).then(p).catch(d)}),d)}}}]);lD.name;var cD=n(77),uD=n.n(cD);function fD(e){return(fD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hD(e,t,n){return t&&pD(e.prototype,t),n&&pD(e,n),e}function mD(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gD(e,t)}function gD(e,t){return(gD=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vD(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=bD(e);if(t){var o=bD(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return yD(this,n)}}function yD(e,t){return!t||"object"!==fD(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function bD(e){return(bD=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wD=function(e){mD(n,e);var t=vD(n);function n(){return dD(this,n),t.apply(this,arguments)}return hD(n,[{key:"render",value:function(){var e,t=this.props,n=t.position,r=t.children,i=s()((_D(e={},uD.a.columnLeft,"left"===n),_D(e,uD.a.columnCenter,"center"===n),_D(e,uD.a.columnRight,"right"===n),e));return o.a.createElement("div",{className:i},o.a.createElement("ul",{className:uD.a.columnItem},r))}}]),n}(r.PureComponent);function xD(e){var t=(new Date).getUTCFullYear(),n="Copyright © ";return n+=e>=t?e:e+"–"+t}_D(wD,"propTypes",{position:c.a.string,children:c.a.node});var kD=function(e){mD(n,e);var t=vD(n);function n(){return dD(this,n),t.apply(this,arguments)}return hD(n,[{key:"render",value:function(){var e=Array.isArray(this.props.item)?this.props.item:[this.props.item];return o.a.createElement("li",{className:uD.a.line},e.map((function(e){if(Object(r.isValidElement)(e))return e;var t=(e.copyright?xD(e.copyright):"")+(e.label||e);return e.url?o.a.createElement(Df,{href:e.url,target:e.target,key:e.url+e.title,title:e.title},t):t})))}}]),n}(r.PureComponent);_D(kD,"propTypes",{item:c.a.oneOfType([c.a.object,c.a.array,c.a.string])});var MD=function(e){mD(n,e);var t=vD(n);function n(){return dD(this,n),t.apply(this,arguments)}return hD(n,[{key:"render",value:function(){var e=this.props.floating;function t(e,t){return!!e&&o.a.createElement(wD,{key:t,position:t},e.map((function(e,t){return o.a.createElement(kD,{key:t,item:e})})))}var n=s()(uD.a.footer,this.props.className,_D({},uD.a.footerFloating,e));return o.a.createElement("div",{className:n,"data-test":"ring-footer"},[t(this.props.left,"left"),t(this.props.center,"center"),t(this.props.right,"right")])}}]),n}(r.PureComponent);function SD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function OD(e){return(OD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ED(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LD(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TD(e,t)}function TD(e,t){return(TD=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function DD(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=jD(e);if(t){var o=jD(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return CD(this,n)}}function CD(e,t){return!t||"object"!==OD(t)&&"function"!=typeof t?PD(e):t}function PD(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jD(e){return(jD=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function YD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}_D(MD,"propTypes",{className:c.a.string,floating:c.a.bool,left:c.a.array,center:c.a.array,right:c.a.array});var AD=Ou.a.module("Ring.footer",[]),ID=function(e){LD(n,e);var t=DD(n);function n(){var e;ED(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return YD(PD(e=t.call.apply(t,[this].concat(o))),"styles",uD.a),e}return n}(Ov);YD(ID,"transclude",{left:"?rgFooterLeft",center:"?rgFooterCenter",right:"?rgFooterRight"}),YD(ID,"template",n(922));var RD=function(e){LD(n,e);var t=DD(n);function n(){return ED(this,n),t.apply(this,arguments)}return n}(Ov);YD(RD,"transclude",!0),YD(RD,"template",'<div class="'.concat(uD.a.line,'" ng-transclude></div>'));var $D=function(e){LD(i,e);var t,n,r,o=DD(i);function i(){return ED(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"$onInit",value:function(){this.copyrightYears=xD(this.year)}}])&&SD(t.prototype,n),r&&SD(t,r),i}(Ov);YD($D,"template","<span>{{:: $ctrl.copyrightYears}} {{:: $ctrl.companyName}}</span>"),YD($D,"bindings",{year:"@",companyName:"@"}),AD.component("rgFooter",ID),AD.component("rgFooterLine",RD),AD.component("rgFooterCopyright",$D);AD.name,n(129);var HD=n(751),ND=n.n(HD),zD=(n(923),n(925),Ou.a.module("Ring.form",[xv,ND.a]));zD.factory("getFormErrorMessages",["RingMessageBundle",function(e){function t(t,n){var r="form_".concat(t);if(e.hasOwnProperty(r))return e[r]();for(var o=n&&n[t]||[],i=0;i<o.length;++i)if(o[i]&&o[i].message)return o[i].message}return function(e){var n=[];for(var r in e)e.hasOwnProperty(r)&&e[r]&&n.push(t(r,e));return n}}]),zD.directive("rgErrorBubble",["getFormErrorMessages",function(e){return{scope:{errorBubble:"&rgErrorBubble"},replace:!0,template:n(927),link:function(t,n,r){t.style={};for(var o,i,a=Array.from(n[0].parentNode.children),s=0;s<a.length;s++)if("input"===(i=a[s].tagName.toLowerCase())||"textarea"===i){o=a[s];break}t.material=void 0!==r.material,t.$watch((function(){var e=t.errorBubble();return e.$invalid&&e.$dirty}),(function(e){t.active=e,e&&o&&(t.style.left=o.offsetWidth+2)})),t.getFormErrorMessages=e}}}]),zD.directive("rgEqualValue",(function(){return{require:"ngModel",link:function(e,t,n,r){var o=t[0];function i(e,t){r.$setValidity("equalvalue",e===t)}e.$watch(n.rgEqualValue,(function(e){i(o.value,e)})),o.addEventListener("keyup",(function(){var t=e.$eval(n.rgEqualValue);e.$apply((function(){i(o.value,t)}))}))}}})),zD.filter("rgInputClass",(function(){return function(e,t){return{"ring-input":!0,"ring-input_error":e.$invalid&&(e.$dirty||t),"ring-input_correct":!e.$invalid&&(e.$dirty||t)}}})),zD.directive("rgFormAutofillFix",["$timeout",function(e){return{require:"?form",priority:10,link:function(t,n,r,o){if(o){var i,a=0;!function t(){var r;Ou.a.forEach(n.find("input"),(function(e){var t=Ou.a.element(e),n=t.controller("ngModel"),o=t.val(),i=t.attr("type");n&&o&&"checkbox"!==i&&"radio"!==i&&(n.$setViewValue(o),r=!0)})),(!r||a<5)&&(i=e(t,150),a++)}(),n.on("$destroy",(function(){e.cancel(i)}))}}}}]);var FD=zD.name;var BD=n(86),UD=n.n(BD);function WD(e){return(WD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function VD(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function qD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function KD(e,t){return(KD=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function JD(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ZD(e);if(t){var o=ZD(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return QD(this,n)}}function QD(e,t){return!t||"object"!==WD(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ZD(e){return(ZD=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function XD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eC=c.a.oneOf(["xs","sm","md","lg"]),tC=["start","center","end","around","between","top","middle","baseline","bottom","first","last"];var nC=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&KD(e,t)}(a,e);var t,n,r,i=JD(a);function a(){return qD(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.className,i=t.reverse,a=VD(t,["children","className","reverse"]),l=s()(r,UD.a.row,(e=a,tC.reduce((function(t,n){return e[n]?t.concat(UD.a["".concat(n,"-").concat(e[n])]):t}),[])),XD({},UD.a.reverse,i));return o.a.createElement("div",{className:l},n)}}])&&GD(t.prototype,n),r&&GD(t,r),a}(r.Component);XD(nC,"propTypes",{reverse:c.a.bool,start:eC,center:eC,end:eC,top:eC,middle:eC,baseline:eC,bottom:eC,around:eC,between:eC,first:eC,last:eC,className:c.a.string,children:c.a.node});n(183),n(453);function rC(e){return(rC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oC(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function iC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sC(e,t){return(sC=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function lC(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=uC(e);if(t){var o=uC(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return cC(this,n)}}function cC(e,t){return!t||"object"!==rC(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function uC(e){return(uC=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dC=c.a.oneOfType([c.a.number,c.a.bool]),pC={xs:"col-xs",sm:"col-sm",md:"col-md",lg:"col-lg",xsOffset:"col-xs-offset",smOffset:"col-sm-offset",mdOffset:"col-md-offset",lgOffset:"col-lg-offset"};var hC=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sC(e,t)}(a,e);var t,n,r,i=lC(a);function a(){return iC(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.className,i=t.reverse,a=oC(t,["children","className","reverse"]),l=s()(UD.a.col,r,(e=a,Object.keys(e).filter((function(e){return pC[e]})).map((function(t){return UD.a[Number.isInteger(e[t])?"".concat(pC[t],"-").concat(e[t]):pC[t]]}))),fC({},UD.a.reverse,i));return o.a.createElement("div",{className:l},n)}}])&&aC(t.prototype,n),r&&aC(t,r),a}(r.Component);function mC(e){return(mC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gC(){return(gC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function vC(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function yC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _C(e,t){return(_C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function wC(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=kC(e);if(t){var o=kC(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return xC(this,n)}}function xC(e,t){return!t||"object"!==mC(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function kC(e){return(kC=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}fC(hC,"propTypes",{xs:dC,sm:dC,md:dC,lg:dC,xsOffset:c.a.number,smOffset:c.a.number,mdOffset:c.a.number,lgOffset:c.a.number,reverse:c.a.bool,className:c.a.string,children:c.a.node}),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_C(e,t)}(a,e);var t,n,r,i=wC(a);function a(){return yC(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=vC(e,["children","className"]),i=s()(UD.a["container-fluid"],n);return o.a.createElement("div",gC({},r,{className:i}),t)}}])&&bC(t.prototype,n),r&&bC(t,r),a}(r.Component),"propTypes",{className:c.a.string,children:c.a.node});var MC=Ou.a.module("Ring.group",[]);MC.component("rgGroup",{transclude:!0,template:'<span ng-transclude class="'.concat(Pf.a.group,'"></span>')});MC.name;var SC=n(41),OC=n.n(SC);function EC(e){return(EC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function LC(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function TC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function CC(e,t){return(CC=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function PC(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=YC(e);if(t){var o=YC(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return jC(this,n)}}function jC(e,t){return!t||"object"!==EC(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function YC(e){return(YC=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function AC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var IC=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&CC(e,t)}(a,e);var t,n,r,i=PC(a);function a(){return TC(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.className,n=LC(e,["className"]),r=s()(OC.a.logo,t);return o.a.createElement("div",{className:r},o.a.createElement(de,n))}}])&&DC(t.prototype,n),r&&DC(t,r),a}(r.PureComponent);function RC(e){return(RC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $C(){return($C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function HC(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function NC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function FC(e,t){return(FC=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function BC(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=WC(e);if(t){var o=WC(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return UC(this,n)}}function UC(e,t){return!t||"object"!==RC(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function WC(e){return(WC=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}AC(IC,"propTypes",{className:c.a.string}),AC(IC,"defaultProps",{size:w.Size48}),AC(IC,"Size",w);var VC=function(e){return e&&o.a.createElement("div",{className:OC.a.trayItem},e)};function qC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function GC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qC(Object(n),!0).forEach((function(t){oP(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function KC(e){return(KC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function JC(){return(JC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function QC(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ZC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eP(e,t){return(eP=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tP(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=rP(e);if(t){var o=rP(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return nP(this,n)}}function nP(e,t){return!t||"object"!==KC(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function rP(e){return(rP=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function oP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FC(e,t)}(l,e);var t,n,i,a=BC(l);function l(){return NC(this,l),a.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,i=HC(e,["children","className"]),a=s()(OC.a.tray,n);return o.a.createElement("div",$C({},i,{className:a}),r.Children.map(t,VC))}}])&&zC(t.prototype,n),i&&zC(t,i),l}(r.Component),"propTypes",{className:c.a.string,children:c.a.node});var iP=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eP(e,t)}(a,e);var t,n,r,i=tP(a);function a(){return ZC(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.rotatable,i=QC(t,["className","rotatable"]),a=s()(OC.a.icon,n,(oP(e={},OC.a.rotatable,r),oP(e,OC.a.rotated,r&&i.active),e));return o.a.createElement(zm,JC({},i,{className:a}))}}])&&XC(t.prototype,n),r&&XC(t,r),a}(r.Component);oP(iP,"propTypes",GC(GC({},zm.propTypes),{},{icon:c.a.oneOfType([c.a.string,c.a.elementType]).isRequired,rotatable:c.a.bool})),oP(iP,"defaultProps",GC({},zm.defaultProps));var aP=n(57),sP=n.n(aP),lP=n(752),cP=n.n(lP),uP=n(107),fP=n.n(uP),dP=n(70),pP=n.n(dP),hP=n(71),mP=n.n(hP),gP=n(75),vP=n.n(gP),yP=n(108),bP=n.n(yP),_P=n(199),wP=n.n(_P);function xP(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=xP(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var kP=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=xP(e))&&(r&&(r+=" "),r+=t);return r};function MP(e){var t=e.cellCount,n=e.cellSize,r=e.computeMetadataCallback,o=e.computeMetadataCallbackProps,i=e.nextCellsCount,a=e.nextCellSize,s=e.nextScrollToIndex,l=e.scrollToIndex,c=e.updateScrollOffsetForScrollToIndex;t===i&&("number"!=typeof n&&"number"!=typeof a||n===a)||(r(o),l>=0&&l===s&&c())}var SP=n(753),OP=n.n(SP),EP=function(){function e(t){var n=t.cellCount,r=t.cellSizeGetter,o=t.estimatedCellSize;pP()(this,e),this._cellSizeAndPositionData={},this._lastMeasuredIndex=-1,this._lastBatchedIndex=-1,this._cellSizeGetter=r,this._cellCount=n,this._estimatedCellSize=o}return mP()(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,n=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=n,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index "+e+" is outside of range 0.."+this._cellCount);if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),n=t.offset+t.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell "+r+" of value "+o);null===o?(this._cellSizeAndPositionData[r]={offset:n,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:n,size:o},n+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a=this.getSizeAndPositionOfCell(i),s=a.offset,l=s-r+a.size,c=void 0;switch(n){case"start":c=s;break;case"end":c=l;break;case"center":c=s-(r-a.size)/2;break;default:c=Math.max(l,Math.min(s,o))}var u=this.getTotalSize();return Math.max(0,Math.min(u-r,c))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;if(0===this.getTotalSize())return{};var r=n+t,o=this._findNearestCell(n),i=this.getSizeAndPositionOfCell(o);n=i.offset+i.size;for(var a=o;n<r&&a<this._cellCount-1;)a++,n+=this.getSizeAndPositionOfCell(a).size;return{start:o,stop:a}}},{key:"resetCell",value:function(e){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,e-1)}},{key:"_binarySearch",value:function(e,t,n){for(;t<=e;){var r=t+Math.floor((e-t)/2),o=this.getSizeAndPositionOfCell(r).offset;if(o===n)return r;o<n?t=r+1:o>n&&(e=r-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var n=1;e<this._cellCount&&this.getSizeAndPositionOfCell(e).offset<t;)e+=n,n*=2;return this._binarySearch(Math.min(e,this._cellCount-1),Math.floor(e/2),t)}},{key:"_findNearestCell",value:function(e){if(isNaN(e))throw Error("Invalid offset "+e+" specified");e=Math.max(0,e);var t=this.getSizeAndPositionOfLastMeasuredCell(),n=Math.max(0,this._lastMeasuredIndex);return t.offset>=e?this._binarySearch(n,0,e):this._exponentialSearch(n,e)}}]),e}(),LP=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},TP=function(){function e(t){var n=t.maxScrollSize,r=void 0===n?LP():n,o=OP()(t,["maxScrollSize"]);pP()(this,e),this._cellSizeAndPositionManager=new EP(o),this._maxScrollSize=r}return mP()(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;return n=this._safeOffsetToOffset({containerSize:t,offset:n}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:n})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,n=e.offset,r=e.totalSize;return r<=t?0:n/(r-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:r});return Math.round(i*(o-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(i*(r-t))}}]),e}(),DP=n(262),CP=n.n(DP);function PP(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(n){var r=n.callback,o=n.indices,i=CP()(o),a=!e||i.every((function(e){var t=o[e];return Array.isArray(t)?t.length>0:t>=0})),s=i.length!==CP()(t).length||i.some((function(e){var n=t[e],r=o[e];return Array.isArray(r)?n.join(",")!==r.join(","):n!==r}));t=o,a&&s&&r(o)}}function jP(e){var t=e.cellSize,n=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,s=e.previousSize,l=e.scrollOffset,c=e.scrollToAlignment,u=e.scrollToIndex,f=e.size,d=e.sizeJustIncreasedFromZero,p=e.updateScrollIndexCallback,h=n.getCellCount(),m=u>=0&&u<h;m&&(f!==s||d||!o||"number"==typeof t&&t!==o||c!==i||u!==a)?p(u):!m&&h>0&&(f<s||h<r)&&l>n.getTotalSize()-f&&p(h-1)}var YP,AP=!("undefined"==typeof window||!window.document||!window.document.createElement);var IP=n(754),RP=n.n(IP),$P=void 0,HP=($P="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||$P.webkitRequestAnimationFrame||$P.mozRequestAnimationFrame||$P.oRequestAnimationFrame||$P.msRequestAnimationFrame||function(e){return $P.setTimeout(e,1e3/60)},NP=$P.cancelAnimationFrame||$P.webkitCancelAnimationFrame||$P.mozCancelAnimationFrame||$P.oCancelAnimationFrame||$P.msCancelAnimationFrame||function(e){$P.clearTimeout(e)},zP=HP,FP=NP,BP=function(e){return FP(e.id)},UP=function(e,t){var n=void 0;RP.a.resolve().then((function(){n=Date.now()}));var r={id:zP((function o(){Date.now()-n>=t?e.call():r.id=zP(o)}))};return r},WP="observed",VP="requested",qP=function(e){function t(e){pP()(this,t);var n=vP()(this,(t.__proto__||fP()(t)).call(this,e));n._onGridRenderedMemoizer=PP(),n._onScrollMemoizer=PP(!1),n._deferredInvalidateColumnIndex=null,n._deferredInvalidateRowIndex=null,n._recomputeScrollLeftFlag=!1,n._recomputeScrollTopFlag=!1,n._horizontalScrollBarSize=0,n._verticalScrollBarSize=0,n._scrollbarPresenceChanged=!1,n._renderedColumnStartIndex=0,n._renderedColumnStopIndex=0,n._renderedRowStartIndex=0,n._renderedRowStopIndex=0,n._styleCache={},n._cellCache={},n._debounceScrollEndedCallback=function(){n._disablePointerEventsTimeoutId=null,n.setState({isScrolling:!1,needToResetStyleCache:!1})},n._invokeOnGridRenderedHelper=function(){var e=n.props.onSectionRendered;n._onGridRenderedMemoizer({callback:e,indices:{columnOverscanStartIndex:n._columnStartIndex,columnOverscanStopIndex:n._columnStopIndex,columnStartIndex:n._renderedColumnStartIndex,columnStopIndex:n._renderedColumnStopIndex,rowOverscanStartIndex:n._rowStartIndex,rowOverscanStopIndex:n._rowStopIndex,rowStartIndex:n._renderedRowStartIndex,rowStopIndex:n._renderedRowStopIndex}})},n._setScrollingContainerRef=function(e){n._scrollingContainer=e},n._onScroll=function(e){e.target===n._scrollingContainer&&n.handleScrollEvent(e.target)};var r=new TP({cellCount:e.columnCount,cellSizeGetter:function(n){return t._wrapSizeGetter(e.columnWidth)(n)},estimatedCellSize:t._getEstimatedColumnSize(e)}),o=new TP({cellCount:e.rowCount,cellSizeGetter:function(n){return t._wrapSizeGetter(e.rowHeight)(n)},estimatedCellSize:t._getEstimatedRowSize(e)});return n.state={instanceProps:{columnSizeAndPositionManager:r,rowSizeAndPositionManager:o,prevColumnWidth:e.columnWidth,prevRowHeight:e.rowHeight,prevColumnCount:e.columnCount,prevRowCount:e.rowCount,prevIsScrolling:!0===e.isScrolling,prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:!1},isScrolling:!1,scrollDirectionHorizontal:1,scrollDirectionVertical:1,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:!1},e.scrollToRow>0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return bP()(t,e),mP()(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?this.props.scrollToAlignment:t,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,s=sP()({},this.props,{scrollToAlignment:n,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(s),scrollTop:this._getCalculatedScrollTop(s)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,n=void 0===t?0:t,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,s=i.autoWidth,l=i.height,c=i.width,u=this.state.instanceProps,f=u.scrollbarSize,d=u.rowSizeAndPositionManager.getTotalSize(),p=u.columnSizeAndPositionManager.getTotalSize(),h=Math.min(Math.max(0,p-c+f),n),m=Math.min(Math.max(0,d-l+f),o);if(this.state.scrollLeft!==h||this.state.scrollTop!==m){var g={isScrolling:!0,scrollDirectionHorizontal:h!==this.state.scrollLeft?h>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:m!==this.state.scrollTop?m>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:WP};a||(g.scrollTop=m),s||(g.scrollLeft=h),g.needToResetStyleCache=!1,this.setState(g)}this._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:m,totalColumnsWidth:p,totalRowsHeight:d})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,n):n}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,n=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(n-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,s=i.scrollToRow,l=this.state.instanceProps;l.columnSizeAndPositionManager.resetCell(n),l.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?n<=a:n>=a),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?o<=s:o>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,n=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(sP()({},o,{scrollToColumn:t})),void 0!==n&&this._updateScrollTopForScrollToRow(sP()({},o,{scrollToRow:n}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,s=e.scrollToRow,l=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState((function(e){var t=sP()({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var u=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});u&&(u.needToResetStyleCache=!1,this.setState(u))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&l>0;i>=0&&f&&this._updateScrollLeftForScrollToColumn(),s>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var n=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,s=r.height,l=r.rowCount,c=r.scrollToAlignment,u=r.scrollToColumn,f=r.scrollToRow,d=r.width,p=this.state,h=p.scrollLeft,m=p.scrollPositionChangeReason,g=p.scrollTop,v=p.instanceProps;this._handleInvalidatedGridSize();var y=a>0&&0===e.columnCount||l>0&&0===e.rowCount;m===VP&&(!i&&h>=0&&(h!==this._scrollingContainer.scrollLeft||y)&&(this._scrollingContainer.scrollLeft=h),!o&&g>=0&&(g!==this._scrollingContainer.scrollTop||y)&&(this._scrollingContainer.scrollTop=g));var b=(0===e.width||0===e.height)&&s>0&&d>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):jP({cellSizeAndPositionManager:v.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:h,scrollToAlignment:c,scrollToIndex:u,size:d,sizeJustIncreasedFromZero:b,updateScrollIndexCallback:function(){return n._updateScrollLeftForScrollToColumn(n.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):jP({cellSizeAndPositionManager:v.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:g,scrollToAlignment:c,scrollToIndex:f,size:s,sizeJustIncreasedFromZero:b,updateScrollIndexCallback:function(){return n._updateScrollTopForScrollToRow(n.props)}}),this._invokeOnGridRenderedHelper(),h!==t.scrollLeft||g!==t.scrollTop){var _=v.rowSizeAndPositionManager.getTotalSize(),w=v.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:g,totalColumnsWidth:w,totalRowsHeight:_})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&BP(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,n=e.autoHeight,o=e.autoWidth,i=e.className,a=e.containerProps,s=e.containerRole,l=e.containerStyle,c=e.height,u=e.id,f=e.noContentRenderer,d=e.role,p=e.style,h=e.tabIndex,m=e.width,g=this.state,v=g.instanceProps,y=g.needToResetStyleCache,b=this._isScrolling(),_={boxSizing:"border-box",direction:"ltr",height:n?"auto":c,position:"relative",width:o?"auto":m,WebkitOverflowScrolling:"touch",willChange:"transform"};y&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=v.columnSizeAndPositionManager.getTotalSize(),x=v.rowSizeAndPositionManager.getTotalSize(),k=x>c?v.scrollbarSize:0,M=w>m?v.scrollbarSize:0;M===this._horizontalScrollBarSize&&k===this._verticalScrollBarSize||(this._horizontalScrollBarSize=M,this._verticalScrollBarSize=k,this._scrollbarPresenceChanged=!0),_.overflowX=w+k<=m?"hidden":"auto",_.overflowY=x+M<=c?"hidden":"auto";var S=this._childrenToDisplay,O=0===S.length&&c>0&&m>0;return r.createElement("div",sP()({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:kP("ReactVirtualized__Grid",i),id:u,onScroll:this._onScroll,role:d,style:sP()({},_,p),tabIndex:h}),S.length>0&&r.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:s,style:sP()({width:t?"auto":w,height:x,maxWidth:w,maxHeight:x,overflow:"hidden",pointerEvents:b?"none":"",position:"relative"},l)},S),O&&f())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,s=e.overscanColumnCount,l=e.overscanIndicesGetter,c=e.overscanRowCount,u=e.rowCount,f=e.width,d=e.isScrollingOptOut,p=t.scrollDirectionHorizontal,h=t.scrollDirectionVertical,m=t.instanceProps,g=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,v=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,y=this._isScrolling(e,t);if(this._childrenToDisplay=[],a>0&&f>0){var b=m.columnSizeAndPositionManager.getVisibleCellRange({containerSize:f,offset:v}),_=m.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:g}),w=m.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:f,offset:v}),x=m.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:g});this._renderedColumnStartIndex=b.start,this._renderedColumnStopIndex=b.stop,this._renderedRowStartIndex=_.start,this._renderedRowStopIndex=_.stop;var k=l({direction:"horizontal",cellCount:o,overscanCellsCount:s,scrollDirection:p,startIndex:"number"==typeof b.start?b.start:0,stopIndex:"number"==typeof b.stop?b.stop:-1}),M=l({direction:"vertical",cellCount:u,overscanCellsCount:c,scrollDirection:h,startIndex:"number"==typeof _.start?_.start:0,stopIndex:"number"==typeof _.stop?_.stop:-1}),S=k.overscanStartIndex,O=k.overscanStopIndex,E=M.overscanStartIndex,L=M.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var T=E;T<=L;T++)if(!i.has(T,0)){S=0,O=o-1;break}if(!i.hasFixedWidth())for(var D=S;D<=O;D++)if(!i.has(0,D)){E=0,L=u-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:n,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:S,columnStopIndex:O,deferredMeasurementCache:i,horizontalOffsetAdjustment:w,isScrolling:y,isScrollingOptOut:d,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:E,rowStopIndex:L,scrollLeft:v,scrollTop:g,styleCache:this._styleCache,verticalOffsetAdjustment:x,visibleColumnIndices:b,visibleRowIndices:_}),this._columnStartIndex=S,this._columnStopIndex=O,this._rowStartIndex=E,this._rowStopIndex=L}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&BP(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=UP(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,r=e.scrollTop,a=t.props,s=a.height;(0,a.onScroll)({clientHeight:s,clientWidth:a.width,scrollHeight:i,scrollLeft:n,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:n,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(t.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,n=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i=r+"-"+o;this._styleCache[i]=e[i],n&&(this._cellCache[i]=t[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&wP()(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o=n.instanceProps;r.needToResetStyleCache=!1,e.columnWidth===o.prevColumnWidth&&e.rowHeight===o.prevRowHeight||(r.needToResetStyleCache=!0),o.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),o.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==o.prevColumnCount&&0!==o.prevRowCount||(o.prevColumnCount=0,o.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===o.prevIsScrolling&&wP()(r,{isScrolling:!1});var i=void 0,a=void 0;return MP({cellCount:o.prevColumnCount,cellSize:"number"==typeof o.prevColumnWidth?o.prevColumnWidth:null,computeMetadataCallback:function(){return o.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:o.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),MP({cellCount:o.prevRowCount,cellSize:"number"==typeof o.prevRowHeight?o.prevRowHeight:null,computeMetadataCallback:function(){return o.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:o.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){a=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),o.prevColumnCount=e.columnCount,o.prevColumnWidth=e.columnWidth,o.prevIsScrolling=!0===e.isScrolling,o.prevRowCount=e.rowCount,o.prevRowHeight=e.rowHeight,o.prevScrollToColumn=e.scrollToColumn,o.prevScrollToRow=e.scrollToRow,o.scrollbarSize=e.getScrollbarSize(),void 0===o.scrollbarSize?(o.scrollbarSizeMeasured=!1,o.scrollbarSize=0):o.scrollbarSizeMeasured=!0,r.instanceProps=o,sP()({},r,i,a)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,n=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:VP};return"number"==typeof n&&n>=0&&(o.scrollDirectionHorizontal=n>t.scrollLeft?1:-1,o.scrollLeft=n),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>t.scrollTop?1:-1,o.scrollTop=r),"number"==typeof n&&n>=0&&n!==t.scrollLeft||"number"==typeof r&&r>=0&&r!==t.scrollTop?o:null}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var n=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,s=t.scrollLeft,l=t.instanceProps;if(n>0){var c=n-1,u=i<0?c:Math.min(c,i),f=l.rowSizeAndPositionManager.getTotalSize(),d=l.scrollbarSizeMeasured&&f>r?l.scrollbarSize:0;return l.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-d,currentOffset:s,targetIndex:u})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):null}},{key:"_getCalculatedScrollTop",value:function(e,t){var n=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,s=t.scrollTop,l=t.instanceProps;if(r>0){var c=r-1,u=i<0?c:Math.min(c,i),f=l.columnSizeAndPositionManager.getTotalSize(),d=l.scrollbarSizeMeasured&&f>a?l.scrollbarSize:0;return l.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:n-d,currentOffset:s,targetIndex:u})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):null}}]),t}(r.PureComponent);qP.defaultProps={"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,n=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,l=e.isScrolling,c=e.isScrollingOptOut,u=e.parent,f=e.rowSizeAndPositionManager,d=e.rowStartIndex,p=e.rowStopIndex,h=e.styleCache,m=e.verticalOffsetAdjustment,g=e.visibleColumnIndices,v=e.visibleRowIndices,y=[],b=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),_=!l&&!b,w=d;w<=p;w++)for(var x=f.getSizeAndPositionOfCell(w),k=o;k<=i;k++){var M=r.getSizeAndPositionOfCell(k),S=k>=g.start&&k<=g.stop&&w>=v.start&&w<=v.stop,O=w+"-"+k,E=void 0;_&&h[O]?E=h[O]:a&&!a.has(w,k)?E={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(E={height:x.size,left:M.offset+s,position:"absolute",top:x.offset+m,width:M.size},h[O]=E);var L={columnIndex:k,isScrolling:l,isVisible:S,key:O,parent:u,rowIndex:w,style:E},T=void 0;!c&&!l||s||m?T=n(L):(t[O]||(t[O]=n(L)),T=t[O]),null!=T&&!1!==T&&y.push(T)}return y},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!YP&&0!==YP||e)&&AP){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),YP=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return YP},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,n=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(t-1,i+n)}:{overscanStartIndex:Math.max(0,o-n),overscanStopIndex:Math.min(t-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1},qP.propTypes=null,C(qP);var GP=qP;var KP=function(e){function t(){var e,n,r,o;pP()(this,t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=r=vP()(this,(e=t.__proto__||fP()(t)).call.apply(e,[this].concat(a))),r._cellRenderer=function(e){var t=e.parent,n=e.rowIndex,o=e.style,i=e.isScrolling,a=e.isVisible,s=e.key,l=r.props.rowRenderer;return cP()(o,"width").writable&&(o.width="100%"),l({index:n,style:o,isScrolling:i,isVisible:a,key:s,parent:t})},r._setRef=function(e){r.Grid=e},r._onScroll=function(e){var t=e.clientHeight,n=e.scrollHeight,o=e.scrollTop;(0,r.props.onScroll)({clientHeight:t,scrollHeight:n,scrollTop:o})},r._onSectionRendered=function(e){var t=e.rowOverscanStartIndex,n=e.rowOverscanStopIndex,o=e.rowStartIndex,i=e.rowStopIndex;(0,r.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:n,startIndex:o,stopIndex:i})},o=n,vP()(r,o)}return bP()(t,e),mP()(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,n=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:n,columnIndex:0}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:n,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.noRowsRenderer,o=e.scrollToIndex,i=e.width,a=kP("ReactVirtualized__List",t);return r.createElement(GP,sP()({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:a,columnWidth:i,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:o}))}}]),t}(r.PureComponent);KP.defaultProps={autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:function(e){var t=e.cellCount,n=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return n=Math.max(1,n),1===r?{overscanStartIndex:Math.max(0,o-1),overscanStopIndex:Math.min(t-1,i+n)}:{overscanStartIndex:Math.max(0,o-n),overscanStopIndex:Math.min(t-1,i+1)}},overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}},KP.propTypes=null;var JP=KP,QP=n(200),ZP=function(e){function t(){var e,n,r,o;pP()(this,t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=r=vP()(this,(e=t.__proto__||fP()(t)).call.apply(e,[this].concat(a))),r.state={height:r.props.defaultHeight||0,width:r.props.defaultWidth||0},r._onResize=function(){var e=r.props,t=e.disableHeight,n=e.disableWidth,o=e.onResize;if(r._parentNode){var i=r._parentNode.offsetHeight||0,a=r._parentNode.offsetWidth||0,s=(r._window||window).getComputedStyle(r._parentNode)||{},l=parseInt(s.paddingLeft,10)||0,c=parseInt(s.paddingRight,10)||0,u=parseInt(s.paddingTop,10)||0,f=parseInt(s.paddingBottom,10)||0,d=i-u-f,p=a-l-c;(!t&&r.state.height!==d||!n&&r.state.width!==p)&&(r.setState({height:i-u-f,width:a-l-c}),o({height:i,width:a}))}},r._setRef=function(e){r._autoSizer=e},o=n,vP()(r,o)}return bP()(t,e),mP()(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._window=this._autoSizer.parentNode.ownerDocument.defaultView,this._detectElementResize=Object(QP.a)(e,this._window),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,o=e.disableHeight,i=e.disableWidth,a=e.style,s=this.state,l=s.height,c=s.width,u={overflow:"visible"},f={};return o||(u.height=0,f.height=l),i||(u.width=0,f.width=c),r.createElement("div",{className:n,ref:this._setRef,style:sP()({},u,a)},t(f))}}]),t}(r.PureComponent);ZP.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}},ZP.propTypes=null;var XP=ZP,ej=[],tj=null,nj=null;function rj(){nj&&(nj=null,document.body&&null!=tj&&(document.body.style.pointerEvents=tj),tj=null)}function oj(){rj(),ej.forEach((function(e){return e.__resetIsScrolling()}))}function ij(e){e.currentTarget===window&&null==tj&&document.body&&(tj=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){nj&&BP(nj);var e=0;ej.forEach((function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)})),nj=UP(oj,e)}(),ej.forEach((function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()}))}function aj(e,t){ej.some((function(e){return e.props.scrollElement===t}))||t.addEventListener("scroll",ij),ej.push(e)}function sj(e,t){(ej=ej.filter((function(t){return t!==e}))).length||(t.removeEventListener("scroll",ij),nj&&(BP(nj),rj()))}var lj=function(e){return e===window},cj=function(e){return e.getBoundingClientRect()};function uj(e,t){if(e){if(lj(e)){var n=window,r=n.innerHeight,o=n.innerWidth;return{height:"number"==typeof r?r:0,width:"number"==typeof o?o:0}}return cj(e)}return{height:t.serverHeight,width:t.serverWidth}}function fj(e,t){if(lj(t)&&document.documentElement){var n=document.documentElement,r=cj(e),o=cj(n);return{top:r.top-o.top,left:r.left-o.left}}var i=dj(t),a=cj(e),s=cj(t);return{top:a.top+i.top-s.top,left:a.left+i.left-s.left}}function dj(e){return lj(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}var pj=function(){return"undefined"!=typeof window?window:void 0},hj=function(e){function t(){var e,n,r,o;pP()(this,t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=r=vP()(this,(e=t.__proto__||fP()(t)).call.apply(e,[this].concat(a))),r._window=pj(),r._isMounted=!1,r._positionFromTop=0,r._positionFromLeft=0,r.state=sP()({},uj(r.props.scrollElement,r.props),{isScrolling:!1,scrollLeft:0,scrollTop:0}),r._registerChild=function(e){!e||e instanceof Element||console.warn("WindowScroller registerChild expects to be passed Element or null"),r._child=e,r.updatePosition()},r._onChildScroll=function(e){var t=e.scrollTop;if(r.state.scrollTop!==t){var n=r.props.scrollElement;n&&("function"==typeof n.scrollTo?n.scrollTo(0,t+r._positionFromTop):n.scrollTop=t+r._positionFromTop)}},r._registerResizeListener=function(e){e===window?window.addEventListener("resize",r._onResize,!1):r._detectElementResize.addResizeListener(e,r._onResize)},r._unregisterResizeListener=function(e){e===window?window.removeEventListener("resize",r._onResize,!1):e&&r._detectElementResize.removeResizeListener(e,r._onResize)},r._onResize=function(){r.updatePosition()},r.__handleWindowScrollEvent=function(){if(r._isMounted){var e=r.props.onScroll,t=r.props.scrollElement;if(t){var n=dj(t),o=Math.max(0,n.left-r._positionFromLeft),i=Math.max(0,n.top-r._positionFromTop);r.setState({isScrolling:!0,scrollLeft:o,scrollTop:i}),e({scrollLeft:o,scrollTop:i})}}},r.__resetIsScrolling=function(){r.setState({isScrolling:!1})},o=n,vP()(r,o)}return bP()(t,e),mP()(t,[{key:"updatePosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,n=this.state,r=n.height,o=n.width,a=this._child||i.findDOMNode(this);if(a instanceof Element&&e){var s=fj(a,e);this._positionFromTop=s.top,this._positionFromLeft=s.left}var l=uj(e,this.props);r===l.height&&o===l.width||(this.setState({height:l.height,width:l.width}),t({height:l.height,width:l.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=Object(QP.a)(),this.updatePosition(e),e&&(aj(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.scrollElement,r=e.scrollElement;r!==n&&null!=r&&null!=n&&(this.updatePosition(n),sj(this,r),aj(this,n),this._unregisterResizeListener(r),this._registerResizeListener(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(sj(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.isScrolling,r=t.scrollTop,o=t.scrollLeft,i=t.height,a=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:n,scrollLeft:o,scrollTop:r,width:a})}}]),t}(r.PureComponent);hj.defaultProps={onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:pj(),serverHeight:0,serverWidth:0},hj.propTypes=null;var mj,gj,vj=hj,yj=n(201),bj=n.n(yj),_j=n(202),wj=n.n(_j),xj=n(755),kj=n.n(xj),Mj=n(756),Sj=n.n(Mj),Oj=n(159),Ej=n.n(Oj),Lj=n(757),Tj=n.n(Lj),Dj=n(42),Cj=n.n(Dj),Pj=(gj=mj=function(e){function t(){var e,n;bj()(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n=kj()(this,(e=Sj()(t)).call.apply(e,[this].concat(o))),Cj()(Ej()(n),"_child",void 0),Cj()(Ej()(n),"_measure",(function(){var e=n.props,t=e.cache,r=e.columnIndex,o=void 0===r?0:r,i=e.parent,a=e.rowIndex,s=void 0===a?n.props.index||0:a,l=n._getCellMeasurements(),c=l.height,u=l.width;c===t.getHeight(s,o)&&u===t.getWidth(s,o)||(t.set(s,o,u,c),i&&"function"==typeof i.recomputeGridSize&&i.recomputeGridSize({columnIndex:o,rowIndex:s}))})),Cj()(Ej()(n),"_registerChild",(function(e){!e||e instanceof Element||console.warn("CellMeasurer registerChild expects to be passed Element or null"),n._child=e,e&&n._maybeMeasureCell()})),n}return Tj()(t,e),wj()(t,[{key:"componentDidMount",value:function(){this._maybeMeasureCell()}},{key:"componentDidUpdate",value:function(){this._maybeMeasureCell()}},{key:"render",value:function(){var e=this.props.children;return"function"==typeof e?e({measure:this._measure,registerChild:this._registerChild}):e}},{key:"_getCellMeasurements",value:function(){var e=this.props.cache,t=this._child||Object(i.findDOMNode)(this);if(t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){var n=t.style.width,r=t.style.height;e.hasFixedWidth()||(t.style.width="auto"),e.hasFixedHeight()||(t.style.height="auto");var o=Math.ceil(t.offsetHeight),a=Math.ceil(t.offsetWidth);return n&&(t.style.width=n),r&&(t.style.height=r),{height:o,width:a}}return{height:0,width:0}}},{key:"_maybeMeasureCell",value:function(){var e=this.props,t=e.cache,n=e.columnIndex,r=void 0===n?0:n,o=e.parent,i=e.rowIndex,a=void 0===i?this.props.index||0:i;if(!t.has(a,r)){var s=this._getCellMeasurements(),l=s.height,c=s.width;t.set(a,r,c,l),o&&"function"==typeof o.invalidateCellSizeAfterRender&&o.invalidateCellSizeAfterRender({columnIndex:r,rowIndex:a})}}}]),t}(r.PureComponent),Cj()(mj,"propTypes",null),gj);Cj()(Pj,"__internalCellMeasurerFlag",!1);var jj=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};bj()(this,e),Cj()(this,"_cellHeightCache",{}),Cj()(this,"_cellWidthCache",{}),Cj()(this,"_columnWidthCache",{}),Cj()(this,"_rowHeightCache",{}),Cj()(this,"_defaultHeight",void 0),Cj()(this,"_defaultWidth",void 0),Cj()(this,"_minHeight",void 0),Cj()(this,"_minWidth",void 0),Cj()(this,"_keyMapper",void 0),Cj()(this,"_hasFixedHeight",void 0),Cj()(this,"_hasFixedWidth",void 0),Cj()(this,"_columnCount",0),Cj()(this,"_rowCount",0),Cj()(this,"columnWidth",(function(e){var n=e.index,r=t._keyMapper(0,n);return void 0!==t._columnWidthCache[r]?t._columnWidthCache[r]:t._defaultWidth})),Cj()(this,"rowHeight",(function(e){var n=e.index,r=t._keyMapper(n,0);return void 0!==t._rowHeightCache[r]?t._rowHeightCache[r]:t._defaultHeight}));var r=n.defaultHeight,o=n.defaultWidth,i=n.fixedHeight,a=n.fixedWidth,s=n.keyMapper,l=n.minHeight,c=n.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===a,this._minHeight=l||0,this._minWidth=c||0,this._keyMapper=s||Yj,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof o?o:100)}return wj()(e,[{key:"clear",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(e,t);delete this._cellHeightCache[n],delete this._cellWidthCache[n],this._updateCachedColumnAndRowSizes(e,t)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var n=this._keyMapper(e,t);return void 0!==this._cellHeightCache[n]?Math.max(this._minHeight,this._cellHeightCache[n]):this._defaultHeight}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var n=this._keyMapper(e,t);return void 0!==this._cellWidthCache[n]?Math.max(this._minWidth,this._cellWidthCache[n]):this._defaultWidth}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(e,t);return void 0!==this._cellHeightCache[n]}},{key:"set",value:function(e,t,n,r){var o=this._keyMapper(e,t);t>=this._columnCount&&(this._columnCount=t+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=n,this._updateCachedColumnAndRowSizes(e,t)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,t){if(!this._hasFixedWidth){for(var n=0,r=0;r<this._rowCount;r++)n=Math.max(n,this.getWidth(r,t));var o=this._keyMapper(0,t);this._columnWidthCache[o]=n}if(!this._hasFixedHeight){for(var i=0,a=0;a<this._columnCount;a++)i=Math.max(i,this.getHeight(e,a));var s=this._keyMapper(e,0);this._rowHeightCache[s]=i}}},{key:"defaultHeight",get:function(){return this._defaultHeight}},{key:"defaultWidth",get:function(){return this._defaultWidth}}]),e}();function Yj(e,t){return"".concat(e,"-").concat(t)}function Aj(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var Ij=function(e,t){var n;void 0===t&&(t=Aj);var r,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}},Rj=n(26),$j=n.n(Rj),Hj=n(758),Nj=n.n(Hj);function zj(e){return(zj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Fj(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Bj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uj(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wj(e,t){return(Wj=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Vj(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Kj(e);if(t){var o=Kj(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return qj(this,n)}}function qj(e,t){return!t||"object"!==zj(t)&&"function"!=typeof t?Gj(e):t}function Gj(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kj(e){return(Kj=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Jj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qj=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wj(e,t)}(a,e);var t,n,r,i=Vj(a);function a(){var e;Bj(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Jj(Gj(e=i.call.apply(i,[this].concat(n))),"id",lc("list-item-")),Jj(Gj(e),"stopBubbling",(function(e){return e.stopPropagation()})),Jj(Gj(e),"_isString",(function(e){return"string"==typeof e||e instanceof String})),e}return t=a,(n=[{key:"render",value:function(){var e,t,n=this.props,r=n.scrolling,i=n.className,a=n.disabled,l=n.checkbox,c=n.avatar,u=n.subavatar,f=n.glyph,d=n.icon,p=n.rightGlyph,h=n.description,m=n.label,g=n.title,v=n.details,y=n.hover,b=(n.rgItemType,n.level),_=n.tabIndex,w=n.compact,x=n.onClick,k=n.onCheckboxChange,M=n.onMouseOver,S=n.onMouseUp,O=n.rightNodes,E=n.leftNodes,L=Fj(n,["scrolling","className","disabled","checkbox","avatar","subavatar","glyph","icon","rightGlyph","description","label","title","details","hover","rgItemType","level","tabIndex","compact","onClick","onCheckboxChange","onMouseOver","onMouseUp","rightNodes","leftNodes"]),T=void 0!==l&&(l||!(E||f||c)||y&&!a),D=s()($j.a.item,Nj.a.resetButton,i,(Jj(e={},$j.a.action,!a),Jj(e,$j.a.hover,y&&!a),Jj(e,$j.a.compact,w),Jj(e,$j.a.scrolling,r),Jj(e,$j.a.disabled,a),e)),C=s()((Jj(t={},$j.a.details,v),Jj(t,$j.a.padded,void 0!==d||void 0!==l||void 0!==f),t)),P={paddingLeft:"".concat(8*(+b||0)+16+(T?28:0),"px")},j=null;j=this._isString(g)?g:this._isString(m)?m:"";var Y=ql({"ring-list-item":-1===(L["data-test"]||"").indexOf("ring-list-item"),"ring-list-item-action":!a,"ring-list-item-selected":l},L["data-test"]);return o.a.createElement("div",{className:$j.a.itemContainer,"data-test":Y},T&&o.a.createElement("div",{className:$j.a.checkboxContainer},o.a.createElement(n_,{"aria-labelledby":this.id,onClick:this.stopBubbling,checked:l,onChange:k})),o.a.createElement("button",{id:this.id,type:"button",tabIndex:_,onClick:x,onMouseOver:M,onFocus:M,onMouseUp:S,className:D,style:P},o.a.createElement("div",{className:$j.a.top,onMouseOut:this.stopBubbling,onBlur:this.stopBubbling},!T&&o.a.createElement("div",{className:$j.a.left},E,f&&o.a.createElement(de,{className:$j.a.glyph,glyph:f,size:this.props.iconSize}),c&&o.a.createElement(_v,{className:$j.a.avatar,url:c,size:bv.Size20,subavatar:u})),o.a.createElement("span",{className:$j.a.label,title:j,"data-test":"ring-list-item-label"},m),h&&o.a.createElement("span",{className:$j.a.description,"data-test":"ring-list-item-description"},h),o.a.createElement("div",{className:$j.a.right},p&&o.a.createElement(de,{className:$j.a.rightGlyph,glyph:p,size:this.props.iconSize}),d&&o.a.createElement("div",{className:$j.a.icon,style:{backgroundImage:'url("'.concat(d,'")')}}),O)),v&&o.a.createElement("div",{className:C},v)))}}])&&Uj(t.prototype,n),r&&Uj(t,r),a}(r.PureComponent);Jj(Qj,"propTypes",{scrolling:c.a.bool,hover:c.a.bool,details:c.a.string,disabled:c.a.bool,className:c.a.string,tabIndex:c.a.number,checkbox:c.a.bool,description:c.a.oneOfType([c.a.string,c.a.element,c.a.array]),avatar:c.a.string,subavatar:c.a.string,glyph:c.a.oneOfType([c.a.string,c.a.elementType]),icon:c.a.string,iconSize:c.a.number,rightNodes:c.a.oneOfType([c.a.string,c.a.element,c.a.array]),leftNodes:c.a.oneOfType([c.a.string,c.a.element,c.a.array]),label:c.a.oneOfType([c.a.string,c.a.element]),title:c.a.string,level:c.a.number,rgItemType:c.a.number,rightGlyph:c.a.oneOfType([c.a.string,c.a.elementType]),compact:c.a.bool,onClick:c.a.func,onCheckboxChange:c.a.func,onMouseOver:c.a.func,onMouseUp:c.a.func,"data-test":c.a.string});var Zj={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xj={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function eY(e){if(e.key){var t=Zj[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=function(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}(e);return 32===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?Xj[e.keyCode]||"Unidentified":""}function tY(e){return(tY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nY(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function rY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oY(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iY(e,t){return(iY=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function aY(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=cY(e);if(t){var o=cY(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return sY(this,n)}}function sY(e,t){return!t||"object"!==tY(t)&&"function"!=typeof t?lY(e):t}function lY(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cY(e){return(cY=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function uY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fY=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iY(e,t)}(a,e);var t,n,r,i=aY(a);function a(){var e;rY(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return uY(lY(e=i.call.apply(i,[this].concat(n))),"handleKeyPress",(function(t){var n=eY(t);"Enter"!==n&&" "!==n||e.props.onClick(t)})),e}return t=a,(n=[{key:"render",value:function(){var e,t=this.props,n=t.scrolling,r=t.hover,i=t.className,a=t.disabled,l=t.template,c=(t.rgItemType,t.tabIndex),u=t.onClick,f=(t.onCheckboxChange,t.onMouseOver),d=t.onMouseUp,p=nY(t,["scrolling","hover","className","disabled","template","rgItemType","tabIndex","onClick","onCheckboxChange","onMouseOver","onMouseUp"]),h=s()($j.a.item,i,(uY(e={},$j.a.action,!a),uY(e,$j.a.hover,r&&!a),uY(e,$j.a.scrolling,n),e)),m=ql("ring-list-item-custom",{"ring-list-item-action":!a},p["data-test"]),g="function"==typeof l?l(this.props):l;return o.a.createElement("span",{role:"button",tabIndex:c,onClick:u,onKeyPress:this.handleKeyPress,onMouseOver:f,onFocus:f,onMouseUp:d,className:h,"data-test":m},g)}}])&&oY(t.prototype,n),r&&oY(t,r),a}(r.PureComponent);function dY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dY(Object(n),!0).forEach((function(t){kY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hY(e){return(hY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mY(){return(mY=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function gY(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function vY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yY(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bY(e,t){return(bY=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=xY(e);if(t){var o=xY(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wY(this,n)}}function wY(e,t){return!t||"object"!==hY(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function xY(e){return(xY=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function kY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}uY(fY,"propTypes",{scrolling:c.a.bool,hover:c.a.bool,className:c.a.string,disabled:c.a.bool,rgItemType:c.a.number,tabIndex:c.a.number,template:c.a.oneOfType([c.a.func,c.a.element,c.a.string]),onClick:c.a.func,onMouseOver:c.a.func,onMouseUp:c.a.func,onCheckboxChange:c.a.func,"data-test":c.a.string}),uY(fY,"defaultProps",{hover:!1});var MY=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bY(e,t)}(a,e);var t,n,r,i=_Y(a);function a(){return vY(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t=this.props,n=t.scrolling,r=t["data-test"],i=t.className,a=t.label,l=t.hover,c=(t.description,t.rgItemType,t.url,t.onCheckboxChange,t.disabled),u=t.LinkComponent,f=t.compact,d=(t.hoverClassName,gY(t,["scrolling","data-test","className","label","hover","description","rgItemType","url","onCheckboxChange","disabled","LinkComponent","compact","hoverClassName"])),p=s()($j.a.item,i,(kY(e={},$j.a.actionLink,!c),kY(e,$j.a.compact,f),kY(e,$j.a.scrolling,n),e)),h=u?Tf(u):Df;return o.a.createElement(h,mY({pseudo:!this.props.href},d,{hover:l&&!c,className:p,"data-test":ql("ring-list-link",r)}),a)}}])&&yY(t.prototype,n),r&&yY(t,r),a}(r.PureComponent);function SY(e){return(SY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function OY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EY(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function LY(e,t){return(LY=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function TY(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=CY(e);if(t){var o=CY(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return DY(this,n)}}function DY(e,t){return!t||"object"!==SY(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function CY(e){return(CY=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function PY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}kY(MY,"propTypes",pY(pY({},Df.propTypes),{},{description:c.a.string,label:c.a.oneOfType([c.a.element,c.a.string]),rgItemType:c.a.number,scrolling:c.a.bool,url:c.a.string,LinkComponent:c.a.oneOfType([c.a.instanceOf(r.Component),c.a.func,c.a.string]),onCheckboxChange:c.a.func,compact:c.a.bool}));var jY=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LY(e,t)}(a,e);var t,n,r,i=TY(a);function a(){return OY(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.className,n=e.description,r=e.label,i=e.isFirst,a=s()($j.a.title,t,PY({},$j.a.title_first,i));return o.a.createElement("span",{className:a,"data-test":"ring-list-title"},o.a.createElement("span",{className:s()($j.a.label,$j.a.text),"data-test":"ring-list-title-label"},r),o.a.createElement("div",{className:$j.a.description,"data-test":"ring-list-title-description"},n))}}])&&EY(t.prototype,n),r&&EY(t,r),a}(r.PureComponent);function YY(e){return(YY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function AY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IY(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RY(e,t){return(RY=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=NY(e);if(t){var o=NY(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return HY(this,n)}}function HY(e,t){return!t||"object"!==YY(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function NY(e){return(NY=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function zY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}PY(jY,"propTypes",{className:c.a.string,description:c.a.oneOfType([c.a.element,c.a.string]),label:c.a.oneOfType([c.a.element,c.a.string]),isFirst:c.a.bool});var FY=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RY(e,t)}(a,e);var t,n,r,i=$Y(a);function a(){return AY(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.description,n=e.isFirst,r=e.className,i=s()($j.a.separator,r,zY({},$j.a.separator_first,n));return o.a.createElement("span",{className:i},t)}}])&&IY(t.prototype,n),r&&IY(t,r),a}(r.PureComponent);function BY(e){return(BY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function UY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WY(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function VY(e,t){return(VY=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qY(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=KY(e);if(t){var o=KY(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return GY(this,n)}}function GY(e,t){return!t||"object"!==BY(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function KY(e){return(KY=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}zY(FY,"propTypes",{className:c.a.string,description:c.a.oneOfType([c.a.element,c.a.string]),isFirst:c.a.bool});var JY=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&VY(e,t)}(a,e);var t,n,r,i=qY(a);function a(){return UY(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){return o.a.createElement("span",{className:s()($j.a.item,$j.a.hint),"data-test":"ring-list-hint"},this.props.label)}}])&&WY(t.prototype,n),r&&WY(t,r),a}(r.PureComponent);function QY(e){return(QY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ZY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function XY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ZY(Object(n),!0).forEach((function(t){lA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eA(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function tA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rA(e,t){return(rA=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oA(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=sA(e);if(t){var o=sA(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return iA(this,n)}}function iA(e,t){return!t||"object"!==QY(t)&&"function"!=typeof t?aA(e):t}function aA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sA(e){return(sA=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function lA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(JY,"propTypes",{label:c.a.oneOfType([c.a.element,c.a.string])});var cA=bh(),uA=bh(),fA={SEPARATOR:0,LINK:1,ITEM:2,HINT:3,CUSTOM:4,TITLE:5,MARGIN:6},dA={ITEM_PADDING:16,ITEM_HEIGHT:32,COMPACT_ITEM_HEIGHT:24,SEPARATOR_HEIGHT:25,SEPARATOR_FIRST_HEIGHT:16,SEPARATOR_TEXT_HEIGHT:18,TITLE_HEIGHT:42,INNER_PADDING:8,MARGIN:8},pA=fA.ITEM;function hA(){}var mA=b()((function(){}),"No key passed for list item with non-string label. It is considered as a bad practice and has been deprecated, please provide a key.");var gA=[fA.SEPARATOR,fA.TITLE,fA.MARGIN];function vA(e){return!gA.includes(e.rgItemType)&&!e.disabled}var yA=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rA(e,t)}(l,e);var t,n,i,a=oA(l);function l(){var e;tA(this,l);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return lA(aA(e=a.call.apply(a,[this].concat(n))),"state",{activeIndex:null,prevActiveIndex:null,prevData:[],activeItem:null,needScrollToActive:!1,scrolling:!1,hasOverflow:!1,disabledHover:!1,scrolledToBottom:!1}),lA(aA(e),"hoverHandler",W((function(t){return function(){return uA((function(){e.state.disabledHover||e.container&&e.setState({activeIndex:t,activeItem:e.props.data[t],needScrollToActive:!1})}))}}))),lA(aA(e),"_activatableItems",!1),lA(aA(e),"_bufferSize",10),lA(aA(e),"sizeCacheKey",(function(t){if(0===t||t===e.props.data.length+1)return fA.MARGIN;var n=e.props.data[t-1],r=1===t;switch(n.rgItemType){case fA.SEPARATOR:case fA.TITLE:return"".concat(n.rgItemType).concat(r?"_first":"").concat(n.description?"_desc":"");case fA.MARGIN:return fA.MARGIN;case fA.CUSTOM:return"".concat(fA.CUSTOM,"_").concat(n.key);case fA.ITEM:case fA.LINK:default:return n.details?"".concat(fA.ITEM,"_").concat(n.details):fA.ITEM}})),lA(aA(e),"_cache",new jj({defaultHeight:e.defaultItemHeight(),fixedWidth:!0,keyMapper:e.sizeCacheKey})),lA(aA(e),"_hasActivatableItems",Ij((function(e){return e.some(vA)}))),lA(aA(e),"selectHandler",W((function(t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.props.data[t];!e.props.useMouseUp&&o.onClick?o.onClick(o,n):e.props.useMouseUp&&o.onMouseUp&&o.onMouseUp(o,n),e.props.onSelect&&e.props.onSelect(o,n,{tryKeepOpen:r})}}))),lA(aA(e),"upHandler",(function(t){var n,r=e.props,o=r.data,i=r.disableMoveOverflow,a=e.state.activeIndex;if(null===a||0===a){if(i)return;n=o.length-1}else n=a-1;e.moveHandler(n,e.upHandler,t)})),lA(aA(e),"downHandler",(function(t){var n,r=e.props,o=r.data,i=r.disableMoveOverflow,a=r.disableMoveDownOverflow,s=e.state.activeIndex;if(null===s)n=0;else if(s+1===o.length){if(i||a)return;n=0}else n=s+1;e.moveHandler(n,e.downHandler,t)})),lA(aA(e),"homeHandler",(function(t){e.moveHandler(0,e.downHandler,t)})),lA(aA(e),"endHandler",(function(t){e.moveHandler(e.props.data.length-1,e.upHandler,t)})),lA(aA(e),"onDocumentMouseMove",(function(){e.state.disabledHover&&e.setState({disabledHover:!1})})),lA(aA(e),"onDocumentKeyDown",(function(t){e.state.disabledHover||[16,17,18,19,20,91].includes(t.keyCode)||e.setState({disabledHover:!0})})),lA(aA(e),"mouseHandler",(function(){e.setState({scrolling:!1})})),lA(aA(e),"scrollHandler",(function(){e.setState({scrolling:!0},e.scrollEndHandler)})),lA(aA(e),"enterHandler",(function(t,n){if(null!==e.state.activeIndex){var r=e.props.data[e.state.activeIndex];return e.selectHandler(e.state.activeIndex)(t),r.href&&!t.defaultPrevented&&(["command+enter","ctrl+enter"].includes(n)?window.open(r.href,"_blank"):"shift+enter"===n?window.open(r.href):window.location.href=r.href),!1}return!0})),lA(aA(e),"clearSelected",(function(){e.setState({activeIndex:null,needScrollToActive:!1})})),lA(aA(e),"scrollEndHandler",(function(){return cA((function(){var t=e.inner;if(t){var n=t.scrollHeight,r=e.defaultItemHeight()/2,o=t.scrollTop+t.clientHeight+r,i=n>0&&o>=n;e.unmounted||e.setState({scrolledToBottom:i}),i&&e.props.onScrollToBottom()}}))})),lA(aA(e),"checkOverflow",(function(){e.inner&&e.setState({hasOverflow:e.inner.scrollHeight-e.inner.clientHeight>1})})),lA(aA(e),"renderItem",(function(t){var n,i,a=t.index,l=t.style,c=t.isScrolling,u=t.parent,f=t.key,d=a-1,p=e.props.data[d];if(0===a||a===e.props.data.length+1||p.rgItemType===fA.MARGIN)n=f||"".concat(fA.MARGIN,"_").concat(a),i=o.a.createElement("div",{style:{height:dA.MARGIN}});else{p.selectedLabel,p.originalModel;var h=eA(p,["selectedLabel","originalModel"]),m=Object.assign({rgItemType:pA},h);m.url&&(m.href=m.url),m.href&&(m.rgItemType=fA.LINK),n=f||m.key||e._deprecatedGenerateKeyFromContent(m),m.hover=d===e.state.activeIndex,null!=m.hoverClassName&&m.hover&&(m.className=s()(m.className,m.hoverClassName)),m.onMouseOver=e.hoverHandler(d),m.tabIndex=-1,m.scrolling=c;var g,v=e.selectHandler(d);e.props.useMouseUp?m.onMouseUp=v:m.onClick=v,m.onCheckboxChange=function(e){return v(e,!0)},null==m.compact&&(m.compact=e.props.compact);var y=1===a;switch(m.rgItemType){case fA.SEPARATOR:g=FY,m.isFirst=y;break;case fA.LINK:g=MY,e.addItemDataTestToProp(m);break;case fA.ITEM:g=Qj,e.addItemDataTestToProp(m);break;case fA.CUSTOM:g=fY,e.addItemDataTestToProp(m);break;case fA.TITLE:m.isFirst=y,g=jY;break;default:throw new Error("Unknown menu element type: ".concat(m.rgItemType))}i=o.a.createElement(g,m)}return u?o.a.createElement(Pj,{cache:e._cache,key:n,parent:u,rowIndex:a,columnIndex:0},(function(e){var t=e.registerChild;return o.a.createElement("div",{ref:t,style:l,role:"row"},o.a.createElement("div",{role:"cell"},i))})):Object(r.cloneElement)(i,{key:n})})),lA(aA(e),"addItemDataTestToProp",(function(e){return e["data-test"]=ql("ring-list-item",e["data-test"]),e})),lA(aA(e),"virtualizedListRef",(function(t){e.virtualizedList=t})),lA(aA(e),"containerRef",(function(t){e.container=t})),lA(aA(e),"shortcutsScope",lc("list-")),lA(aA(e),"shortcutsMap",{up:e.upHandler,down:e.downHandler,home:e.homeHandler,end:e.endHandler,enter:e.enterHandler,"meta+enter":e.enterHandler,"ctrl+enter":e.enterHandler,"command+enter":e.enterHandler,"shift+enter":e.enterHandler}),e}return t=l,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n,r=t.prevActiveIndex,o=t.prevData,i=t.activeItem,a=e.data,s=e.activeIndex,l=e.restoreActiveIndex,c={prevActiveIndex:s,prevData:a};if(a!==o&&Object.assign(c,{activeIndex:null,activeItem:null}),null!=s&&s!==r&&null!=a[s])Object.assign(c,{activeIndex:s,activeItem:a[s],needScrollToActive:!0});else if(a!==o&&l&&null!=i&&null!=i.key){var u=a.findIndex((function(e){return e.key===i.key}));u>=0&&Object.assign(c,{activeIndex:u,activeItem:a[u]})}if(null==s&&null==t.activeIndex&&((n=e).activateFirstItem||n.activateSingleItem&&1===n.data.length)){var f=a.findIndex(vA);f>=0&&Object.assign(c,{activeIndex:f,activeItem:a[f],needScrollToActive:!0})}return c}}],(n=[{key:"componentDidMount",value:function(){document.addEventListener("mousemove",this.onDocumentMouseMove),document.addEventListener("keydown",this.onDocumentKeyDown,!0)}},{key:"shouldComponentUpdate",value:function(e,t){var n=this;return e!==this.props||Object.keys(t).some((function(e){return t[e]!==n.state[e]}))}},{key:"componentDidUpdate",value:function(e){this.virtualizedList&&e.data!==this.props.data&&this.virtualizedList.recomputeRowHeights(),this.checkOverflow()}},{key:"componentWillUnmount",value:function(){this.unmounted=!0,document.removeEventListener("mousemove",this.onDocumentMouseMove),document.removeEventListener("keydown",this.onDocumentKeyDown,!0)}},{key:"hasActivatableItems",value:function(){return this._hasActivatableItems(this.props.data)}},{key:"moveHandler",value:function(e,t,n){var r;if(0!==this.props.data.length&&this.hasActivatableItems()){r=this.props.data.length<e?0:e;var o=this.props.data[r];this.setState({activeIndex:r,activeItem:o,needScrollToActive:!0},(function(){vA(o)?"Home"!==n.key&&"End"!==n.key&&$c(n):t(n)}))}}},{key:"getFirst",value:function(){return this.props.data.find((function(e){return e.rgItemType===fA.ITEM||e.rgItemType===fA.CUSTOM}))}},{key:"getSelected",value:function(){return this.props.data[this.state.activeIndex]}},{key:"defaultItemHeight",value:function(){return this.props.compact?dA.COMPACT_ITEM_HEIGHT:dA.ITEM_HEIGHT}},{key:"getVisibleListHeight",value:function(e){return e.maxHeight-this.defaultItemHeight()-dA.INNER_PADDING}},{key:"_deprecatedGenerateKeyFromContent",value:function(e){var t=e.label||e.description;return t&&!("string"==typeof t||t instanceof String)&&(mA(),"".concat(e.rgItemType,"_").concat(JSON.stringify(t))),"".concat(e.rgItemType,"_").concat(t)}},{key:"renderVirtualizedInner",value:function(e){var t=this,n=e.height,r=e.maxHeight,i=e.autoHeight,a=void 0!==i&&i,s=e.rowCount,l=e.isScrolling,c=e.onChildScroll,u=void 0===c?hA:c,f=e.scrollTop,d=e.registerChild,p={direction:"auto"};return o.a.createElement(XP,{disableHeight:!0,onResize:this.props.onResize},(function(e){var i=e.width;return o.a.createElement("div",{ref:d},o.a.createElement(JP,{ref:t.virtualizedListRef,className:"ring-list__i",autoHeight:a,style:r?XY({maxHeight:r,height:"auto"},p):p,autoContainerWidth:!0,height:n,width:i,isScrolling:l,onScroll:function(e){u(e),t.scrollEndHandler(e)},scrollTop:f,rowCount:s,estimatedRowSize:t.defaultItemHeight(),rowHeight:t._cache.rowHeight,rowRenderer:t.renderItem,overscanRowCount:t._bufferSize,noop:function(){},scrollToIndex:!t.props.disableScrollToActive&&t.state.needScrollToActive&&null!=t.state.activeIndex?t.state.activeIndex+1:void 0,scrollToAlignment:"center",deferredMeasurementCache:t._cache,onRowsRendered:t.checkOverflow}))}))}},{key:"renderVirtualized",value:function(e,t){var n=this;return e?this.renderVirtualizedInner({height:e,maxHeight:e,rowCount:t}):o.a.createElement(vj,null,(function(e){return n.renderVirtualizedInner(XY(XY({},e),{},{rowCount:t,autoHeight:!0}))}))}},{key:"renderSimple",value:function(e,t){for(var n=[],r=0;r<t;r++)n.push(this.renderItem({index:r,isScrolling:this.state.scrolling}));return o.a.createElement("div",{className:s()("ring-list__i",$j.a.simpleInner),onScroll:this.scrollHandler,onMouseMove:this.mouseHandler},o.a.createElement("div",{style:e?{maxHeight:this.getVisibleListHeight(this.props)}:null},n))}},{key:"render",value:function(){var e=this.getSelected()&&this.props.hintOnSelection||this.props.hint,t=e?{bottom:dA.ITEM_HEIGHT}:null,n=this.props.data.length+2,r=this.props.maxHeight&&this.getVisibleListHeight(this.props),i=s()($j.a.list,this.props.className);return o.a.createElement("div",{ref:this.containerRef,className:i,onMouseOut:this.props.onMouseOut,onBlur:this.props.onMouseOut,onMouseLeave:this.clearSelected,"data-test":"ring-list"},this.props.shortcuts&&o.a.createElement(um,{map:this.shortcutsMap,scope:this.shortcutsScope}),this.props.renderOptimization?this.renderVirtualized(r,n):this.renderSimple(r,n),this.state.hasOverflow&&!this.state.scrolledToBottom&&o.a.createElement("div",{className:$j.a.fade,style:t}),e&&o.a.createElement(JY,{label:e}))}},{key:"inner",get:function(){return this._inner||(this._inner=this.container&&this.container.query(".ring-list__i")),this._inner}}])&&nA(t.prototype,n),i&&nA(t,i),l}(r.Component);function bA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bA(Object(n),!0).forEach((function(t){CA(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bA(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wA(e){return(wA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xA(){return(xA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function kA(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function MA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function OA(e,t){return(OA=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function EA(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=DA(e);if(t){var o=DA(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return LA(this,n)}}function LA(e,t){return!t||"object"!==wA(t)&&"function"!=typeof t?TA(e):t}function TA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DA(e){return(DA=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function CA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}lA(yA,"propTypes",{className:c.a.string,hint:c.a.string,hintOnSelection:c.a.string,data:c.a.array,maxHeight:c.a.oneOfType([c.a.string,c.a.number]),activeIndex:c.a.number,restoreActiveIndex:c.a.bool,activateSingleItem:c.a.bool,activateFirstItem:c.a.bool,shortcuts:c.a.bool,onMouseOut:c.a.func,onSelect:c.a.func,onScrollToBottom:c.a.func,onResize:c.a.func,useMouseUp:c.a.bool,visible:c.a.bool,renderOptimization:c.a.bool,disableMoveOverflow:c.a.bool,disableMoveDownOverflow:c.a.bool,compact:c.a.bool,disableScrollToActive:c.a.bool}),lA(yA,"defaultProps",{data:[],restoreActiveIndex:!1,activateSingleItem:!1,activateFirstItem:!1,onMouseOut:hA,onSelect:hA,onScrollToBottom:hA,onResize:hA,shortcuts:!1,renderOptimization:!0,disableMoveDownOverflow:!1}),lA(yA,"isItemType",(function(e,t){var n=t.rgItemType;return null==n&&(n=pA),n===e})),lA(yA,"ListHint",JY),lA(yA,"ListProps",{Type:fA,Dimension:dA});var PA=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OA(e,t)}(a,e);var t,n,r,i=EA(a);function a(){var e;MA(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return CA(TA(e=i.call.apply(i,[this].concat(n))),"onSelect",(function(t,n){e.props.closeOnSelect&&e._onCloseAttempt(n),e.props.onSelect(t,n)})),CA(TA(e),"listRef",(function(t){e.list=t})),e}return t=a,(n=[{key:"getInternalContent",value:function(){var e=this.props,t=(e.className,kA(e,["className"]));return o.a.createElement("div",null,o.a.createElement(yA,xA({ref:this.listRef},t,{maxHeight:this.popup&&this.popup.style.maxHeight,shortcuts:this.shouldUseShortcuts(),onSelect:this.onSelect})))}}])&&SA(t.prototype,n),r&&SA(t,r),a}(_g);CA(PA,"isItemType",yA.isItemType),CA(PA,"ListProps",yA.ListProps),CA(PA,"propTypes",_A(_A(_A({},_g.propTypes),yA.propTypes),{},{closeOnSelect:c.a.bool})),CA(PA,"defaultProps",_A(_A(_A({},yA.defaultProps),_g.defaultProps),{},{renderOptimization:!1,closeOnSelect:!1}));yA.ListProps;function jA(e){return(jA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function YA(){return(YA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function AA(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function IA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $A(e,t){return($A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function HA(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=zA(e);if(t){var o=zA(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return NA(this,n)}}function NA(e,t){return!t||"object"!==jA(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function zA(e){return(zA=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function FA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var BA=PA.ListProps.Type.LINK,UA=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$A(e,t)}(a,e);var t,n,r,i=HA(a);function a(){return IA(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.className,n=e.closeOnSelect,r=e.hasUpdates,i=e.onLogout,a=e.user,l=e.profileUrl,c=e.LinkComponent,u=e.onSwitchUser,f=e.renderPopupItems,d=e.onRevertPostponement,p=e.showApplyChangedUser,h=e.showLogIn,m=e.showLogOut,g=e.showSwitchUser,v=e.renderGuest,y=e.translations,b=e.size,_=e.round,w=(e.loading,e.onLogin,AA(e,["className","closeOnSelect","hasUpdates","onLogout","user","profileUrl","LinkComponent","onSwitchUser","renderPopupItems","onRevertPostponement","showApplyChangedUser","showLogIn","showLogOut","showSwitchUser","renderGuest","translations","size","round","loading","onLogin"]));if(!a)return o.a.createElement("div",YA({},w,{className:s()(OC.a.profileEmpty,t)}),o.a.createElement(_v,{size:b,round:_}));if(a.guest)return v(this.props);var x=s()(OC.a.avatarWrapper,FA({},OC.a.hasUpdates,r)),k=o.a.createElement("button",{type:"button",className:x},o.a.createElement(_v,{url:a.profile&&a.profile.avatar&&a.profile.avatar.url,size:b,round:_})),M=[p&&{rgItemType:BA,label:y.applyChangedUser||"Apply changed user",className:OC.a.profileMenuItem,onClick:d},h&&{rgItemType:BA,label:y.login||"Log in",className:OC.a.profileMenuItem,onClick:d},{rgItemType:PA.ListProps.Type.LINK,label:y.profile||"Profile",target:"_self",href:l,LinkComponent:c},g&&{rgItemType:BA,label:y.switchUser||"Switch user",className:OC.a.profileMenuItem,onClick:u},m&&{rgItemType:BA,label:y.logout||"Log out",onClick:i}].filter((function(e){return!!e}));return o.a.createElement(iO,YA({},w,{title:a.name,anchor:k,"data-test":"ring-profile",className:s()(OC.a.profile,t)}),o.a.createElement(PA,{closeOnSelect:n,data:f(M),left:-2,top:-8,sidePadding:32}))}}])&&RA(t.prototype,n),r&&RA(t,r),a}(r.PureComponent);function WA(e){return(WA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function VA(){return(VA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qA(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function GA(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function KA(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){GA(i,r,o,a,s,"next",e)}function s(e){GA(i,r,o,a,s,"throw",e)}a(void 0)}))}}function JA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ZA(e,t){return(ZA=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function XA(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=nI(e);if(t){var o=nI(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return eI(this,n)}}function eI(e,t){return!t||"object"!==WA(t)&&"function"!=typeof t?tI(e):t}function tI(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nI(e){return(nI=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function rI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}FA(UA,"propTypes",{className:c.a.string,closeOnSelect:c.a.bool,hasUpdates:c.a.bool,loading:c.a.bool,onLogin:c.a.func,onLogout:c.a.func,onSwitchUser:c.a.func,profileUrl:c.a.string,renderPopupItems:c.a.func,LinkComponent:c.a.oneOfType([c.a.instanceOf(r.Component),c.a.func,c.a.string]),translations:c.a.shape({profile:c.a.string,login:c.a.string,logout:c.a.string,applyChangedUser:c.a.string,switchUser:c.a.string}),user:c.a.shape({guest:c.a.bool,profile:c.a.object,name:c.a.string}),size:c.a.number,round:c.a.bool,showLogIn:c.a.bool,showLogOut:c.a.bool,showSwitchUser:c.a.bool,showApplyChangedUser:c.a.bool,onRevertPostponement:c.a.func,renderGuest:c.a.func}),FA(UA,"defaultProps",{closeOnSelect:!0,renderPopupItems:function(e){return e},translations:{},size:bv.Size32,renderGuest:function(e){var t=e.loading,n=e.onLogin,r=e.className,i=e.translations;return o.a.createElement("div",{className:s()(OC.a.profileEmpty,r)},o.a.createElement(zm,{primary:!0,"data-test":"ring-header-login-button",disabled:t,loader:t,onClick:n},i.login||"Log in..."))}}),FA(UA,"Size",bv);var oI=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZA(e,t)}(s,e);var t,n,r,i,a=XA(s);function s(){var e;JA(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return rI(tI(e=a.call.apply(a,[this].concat(n))),"state",{user:null,size:UA.defaultProps.size,isLogoutPostponed:!1,isUserChangePostponed:!1}),rI(tI(e),"login",KA(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.setState({loading:!0}),t.prev=1,t.next=4,e.props.auth.login();case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:return t.prev=8,e.setState({loading:!1}),t.finish(8);case 11:case"end":return t.stop()}}),t,null,[[1,6,8,11]])})))),rI(tI(e),"logout",(function(){return e.props.auth.logout()})),rI(tI(e),"switchUser",(function(){return e.props.auth.switchUser()})),rI(tI(e),"onRevertPostponement",(function(){e.state.isLogoutPostponed&&e.props.auth.login(),e.state.isUserChangePostponed&&e.props.auth.updateUser()})),e}return t=s,(n=[{key:"componentDidMount",value:function(){this.requestUser()}},{key:"requestUser",value:(i=KA(regeneratorRuntime.mark((function e(){var t,n,r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=this.props.auth,e.next=4,t.requestUser();case 4:n=e.sent,this.checkUserCertificateMismatch(n),this.setState({user:n}),t.addListener("userChange",(function(e){r.setState({user:e,isLogoutPostponed:!1,isUserChangePostponed:!1})})),t.addListener("logoutPostponed",(function(){r.setState({isLogoutPostponed:!0})})),t.addListener("changePostponed",(function(){r.setState({isUserChangePostponed:!0})})),e.next=14;break;case 12:e.prev=12,e.t0=e.catch(0);case 14:case"end":return e.stop()}}),e,this,[[0,12]])}))),function(){return i.apply(this,arguments)})},{key:"checkUserCertificateMismatch",value:function(e){var t,n=this.props,r=n.auth,o=n.translations,i=r.http.getMetaForResponse(e);if(null==i||null===(t=i.headers)||void 0===t?void 0:t.has("x-client-certificate-token-mismatch")){var a=(null==o?void 0:o.certificateMismatch)||"You are authenticated as ".concat(e.login||e.name,'. To authenticate with the client certificate for your account, log out, then click the "Log in with certificate" option on the login page.');xu.warning(a,0)}}},{key:"render",value:function(){var e=this.state,t=e.user,n=e.loading,r=e.isLogoutPostponed,i=e.isUserChangePostponed,a=this.props,s=a.auth,l=a.profileUrl,c=qA(a,["auth","profileUrl"]),u=l||(t?"".concat(s.config.serverUri,"users/").concat(t.id):"");return o.a.createElement(UA,VA({onLogin:this.login,onLogout:this.logout,onSwitchUser:this.switchUser,loading:n,user:t,profileUrl:u,showApplyChangedUser:i,showLogIn:r,showLogOut:!r,showSwitchUser:s._canShowDialogs()&&!r&&!i,onRevertPostponement:this.onRevertPostponement},c))}}])&&QA(t.prototype,n),r&&QA(t,r),s}(r.PureComponent);rI(oI,"propTypes",{auth:c.a.instanceOf(zp).isRequired,className:c.a.string,translations:c.a.object,profileUrl:c.a.string,size:UA.propTypes.size,round:UA.propTypes.round}),rI(oI,"Size",UA.Size);var iI=n(91),aI=n.n(iI);function sI(e){return(sI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function lI(){return(lI=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function cI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function uI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dI(e,t){return(dI=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pI(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mI(e);if(t){var o=mI(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return hI(this,n)}}function hI(e,t){return!t||"object"!==sI(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function mI(e){return(mI=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var gI=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dI(e,t)}(a,e);var t,n,r,i=pI(a);function a(){return uI(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.service,n=cI(e,["service"]);return o.a.createElement(Df,lI({target:"_self",href:t.homeUrl},n),(function(e){return t.iconUrl?[o.a.createElement("span",{key:"icon",className:aI.a.itemLogo,style:{backgroundImage:"url(".concat(t.iconUrl,")")}}),o.a.createElement("div",{key:"text"},o.a.createElement(e,null,t.name))]:o.a.createElement(e,null,t.name)}))}}])&&fI(t.prototype,n),r&&fI(t,r),a}(r.PureComponent);function vI(e){return(vI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yI(){return(yI=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function bI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function _I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xI(e,t){return(xI=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kI(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=OI(e);if(t){var o=OI(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return MI(this,n)}}function MI(e,t){return!t||"object"!==vI(t)&&"function"!=typeof t?SI(e):t}function SI(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OI(e){return(OI=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function EI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(gI,"propTypes",{isActive:c.a.bool,service:c.a.shape({applicationName:c.a.string,iconUrl:c.a.string,homeUrl:c.a.string,name:c.a.string})});var LI=function(e){var t=function(t){var n=t.active;return o.a.createElement(iP,{loader:e,active:n,icon:Pa.a,"aria-label":"Services"})};return t.propTypes={active:c.a.bool},t},TI=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xI(e,t)}(a,e);var t,n,r,i=kI(a);function a(){var e;_I(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return EI(SI(e=i.call.apply(i,[this].concat(n))),"serviceIsActive",(function(t){return t.id===e.props.clientId})),e}return t=a,(n=[{key:"render",value:function(){var e=this,t=this.props,n=(t.clientId,t.loading),r=t.services,i=t.initShown,s=bI(t,["clientId","loading","services","initShown"]);if(!r)return o.a.createElement(iP,yI({},s,{loader:n,active:n,icon:Pa.a,"aria-label":"Services"}));var l=r.sort(a.sort),c=l.filter((function(e){return e.iconUrl})),u=l.filter((function(e){return!e.iconUrl})),f=0!==c.length&&0!==u.length;return o.a.createElement(iO,yI({},s,{anchor:LI(n),initShown:i}),o.a.createElement(_g,{className:aI.a.services,top:-3},c.map((function(t){var n=e.serviceIsActive(t);return o.a.createElement(a.Link,{active:n,className:n?aI.a.activeItem:aI.a.item,key:t.id,service:t})})),f&&o.a.createElement("div",{className:aI.a.line,key:"separator"}),u.map((function(t){var n=e.serviceIsActive(t);return o.a.createElement(a.Link,{active:n,className:n?aI.a.activeItemStacked:aI.a.itemStacked,key:t.id,service:t})}))))}}])&&wI(t.prototype,n),r&&wI(t,r),a}(r.PureComponent);function DI(e){return(DI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function CI(){return(CI=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function PI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function jI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function AI(e,t){return(AI=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function II(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=HI(e);if(t){var o=HI(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return RI(this,n)}}function RI(e,t){return!t||"object"!==DI(t)&&"function"!=typeof t?$I(e):t}function $I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HI(e){return(HI=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function NI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zI(){}EI(TI,"sort",(function(e,t){var n=e.applicationName||"",r=t.applicationName||"";return n.localeCompare(r)||e.name.localeCompare(t.name)})),EI(TI,"propTypes",{className:c.a.string,clientId:c.a.string,initShown:c.a.bool,loading:c.a.bool,onClick:c.a.func,services:c.a.arrayOf(gI.propTypes.service)}),EI(TI,"Link",gI);var FI=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AI(e,t)}(a,e);var t,n,r,i=II(a);function a(){var e;jI(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return NI($I(e=i.call.apply(i,[this].concat(n))),"state",{visible:!0,loading:!1,services:null}),NI($I(e),"stopLoading",(function(){e.setState({loading:!1})})),NI($I(e),"getServicesContent",(function(){e.setState({loading:!0}),e.getServices(a.allFields).then((function(t){e.setState({services:t}),e.stopLoading()})).catch(e.stopLoading)})),e}return t=a,(n=[{key:"componentDidMount",value:function(){var e=this,t=this.props.auth;this.http=new Hd(t,t.getAPIPath()),this.getServices(a.countFields).then((function(t){t.length||e.setState({visible:!1})})).catch(zI)}},{key:"getServices",value:function(e){return this.http.get("services/header?fields=".concat(e))}},{key:"render",value:function(){var e=this.state,t=e.services,n=e.visible,r=e.loading,i=this.props,a=i.auth,s=PI(i,["auth"]);return n?o.a.createElement(TI,CI({},s,{clientId:a.config.clientId,initShown:!0,loading:r,onClick:this.getServicesContent,services:t})):null}}])&&YI(t.prototype,n),r&&YI(t,r),a}(r.Component);function BI(e){return(BI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function UI(){return(UI=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function WI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function VI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function GI(e,t){return(GI=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function KI(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=QI(e);if(t){var o=QI(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return JI(this,n)}}function JI(e,t){return!t||"object"!==BI(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function QI(e){return(QI=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ZI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}NI(FI,"propTypes",{auth:c.a.instanceOf(zp).isRequired}),NI(FI,"allFields","id,name,applicationName,homeUrl,iconUrl"),NI(FI,"countFields","key");var XI=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&GI(e,t)}(a,e);var t,n,r,i=KI(a);function a(){return VI(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.spaced,i=e.theme,a=WI(e,["children","className","spaced","theme"]),l=s()(OC.a.header,OC.a[i],n,ZI({},OC.a.headerSpaced,r));return o.a.createElement("div",UI({},a,{className:l}),t)}}])&&qI(t.prototype,n),r&&qI(t,r),a}(r.Component);ZI(XI,"propTypes",{className:c.a.string,children:c.a.node,spaced:c.a.bool,theme:c.a.string}),ZI(XI,"defaultProps",{spaced:!0});Hl(Nl.DARK)(XI),H(Hl(Nl.DARK),FS)(XI);var eR=n(263),tR=n.n(eR);function nR(e){return(nR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function rR(){return(rR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function oR(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function iR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sR(e,t,n){return t&&aR(e.prototype,t),n&&aR(e,n),e}function lR(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cR(e,t)}function cR(e,t){return(cR=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function uR(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=dR(e);if(t){var o=dR(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fR(this,n)}}function fR(e,t){return!t||"object"!==nR(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function dR(e){return(dR=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function pR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hR={H1:1,H2:2,H3:3,H4:4},mR=b()((function(){return"h3"}),"Headings of level 5 and higher are replaced with h3"),gR=function(e){lR(n,e);var t=uR(n);function n(){return iR(this,n),t.apply(this,arguments)}return sR(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.level,i=oR(e,["children","className","level"]),a=s()(tR.a.heading,n),l=r<=hR.H4?"h".concat(r):mR();return o.a.createElement(l,rR({},i,{className:a}),t)}}]),n}(r.PureComponent);function vR(e,t){var n,i;return i=n=function(n){lR(i,n);var r=uR(i);function i(){return iR(this,i),r.apply(this,arguments)}return sR(i,[{key:"render",value:function(){var n=this.props,r=n.className,i=n.caps,a=oR(n,["className","caps"]),l=s()(r,pR({},tR.a.caps,t&&i));return o.a.createElement(gR,rR({},a,{level:e,className:l}))}}]),i}(r.PureComponent),pR(n,"propTypes",{children:c.a.node,className:c.a.string,caps:c.a.bool}),i}pR(gR,"propTypes",{children:c.a.node,className:c.a.string,level:c.a.number}),pR(gR,"defaultProps",{level:hR.H1}),pR(gR,"Levels",hR);vR(hR.H1,!0),vR(hR.H2),vR(hR.H3),vR(hR.H4);function yR(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function bR(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){yR(i,r,o,a,s,"next",e)}function s(e){yR(i,r,o,a,s,"throw",e)}a(void 0)}))}}function _R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var wR={searchMax:20,searchSideThreshold:100,queryFormatter:function(e){return"".concat(e," or ").concat(e,"*")}};function xR(e,t){t.ngClass&&(t.ngClass=t.ngClass.replace(/}\s*{/g,", "))}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.http=t.http,this.relativeUrl=n,this.options=Object.assign({},wR,r),this.storedData=null,this.isClientSideSearch=null,this.filterFn=null}var t,n,r,o,i,a;return t=e,n=[{key:"makeRequest",value:(a=bR(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.http.get(this.relativeUrl,{query:t}));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"makeCachedRequest",value:(i=bR(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.storedData){e.next=2;break}return e.abrupt("return",this.storedData);case 2:return e.next=4,this.makeRequest(t);case 4:return n=e.sent,this.storedData=n,e.abrupt("return",n);case 7:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"checkIsClientSideSearch",value:function(e){return e.total<=this.options.searchSideThreshold}},{key:"getDefaultFilterFn",value:function(e){return e?function(t){return-1!==t.name.toLowerCase().indexOf(e.toLowerCase())}:function(){return!0}}},{key:"formatQuery",value:function(e){return e?this.options.queryFormatter(e):""}},{key:"processResults",value:function(e){var t=this,n=e[this.relativeUrl]||[];return this.isClientSideSearch?n.filter((function(e){return t.filterFn(e)})).slice(0,this.options.searchMax):n}},{key:"sideDetectionRequest",value:(o=bR(regeneratorRuntime.mark((function t(n,r){var o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.makeCachedRequest(e.mergeParams(n,{$top:this.options.searchSideThreshold}));case 2:if(o=t.sent,this.isClientSideSearch=this.checkIsClientSideSearch(o),this.isClientSideSearch){t.next=6;break}return t.abrupt("return",this.doServerSideSearch(n,r));case 6:return t.abrupt("return",o);case 7:case"end":return t.stop()}}),t,this)}))),function(e,t){return o.apply(this,arguments)})},{key:"doClientSideSearch",value:function(t){return this.makeCachedRequest(e.mergeParams(t,{$top:this.constructor.TOP_ALL}))}},{key:"doServerSideSearch",value:function(t,n){return this.makeRequest(e.mergeParams(t,{query:this.formatQuery(n),$top:this.options.searchMax}))}},{key:"getValueFromSuitableSource",value:function(e,t){return null===this.isClientSideSearch?this.sideDetectionRequest(t,e):this.isClientSideSearch?this.doClientSideSearch(t):this.doServerSideSearch(t,e)}},{key:"get",value:function(){var t=bR(regeneratorRuntime.mark((function t(n,r,o){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.validateInputParams(r),this.filterFn=o||this.getDefaultFilterFn(n),t.next=4,this.getValueFromSuitableSource(n,r);case 4:return i=t.sent,t.abrupt("return",this.processResults(i));case 6:case"end":return t.stop()}}),t,this)})));return function(e,n,r){return t.apply(this,arguments)}}()}],r=[{key:"mergeParams",value:function(e,t){return Object.assign({},e,t)}},{key:"validateInputParams",value:function(e){if(e.top)throw new Error('HubSource: params.top should not be filled, configure "options.searchMax" instead');if(e.query)throw new Error('HubSource: params.query should not be filled, configure "options.queryFormatter" instead')}}],n&&_R(t.prototype,n),r&&_R(t,r),e}(),"TOP_ALL",-1);var kR=Ou.a.module("Ring.island-ng.content",[]);kR.directive("rgIslandHeader",(function(){return{transclude:!0,replace:!0,bindToController:{border:"=?"},compile:xR,template:'\n<div\n data-test="ring-island-header"\n class="'.concat(nh.a.header,'"\n ng-class="{\'').concat(nh.a.withBottomBorder,"': headerCtrl.border}\" \n ng-transclude\n></div>\n"),controllerAs:"headerCtrl",controller:function(){var e=this;this.$onInit=function(){e.wrapWithTitle=void 0===e.wrapWithTitle||e.wrapWithTitle}}}}));var MR=kR.name,SR=bh(),OR=Ou.a.module("Ring.island-ng.header",[]);OR.directive("rgIslandContent",(function(){return{transclude:!0,replace:!0,bindToController:{fade:"=?",onScroll:"&?"},compile:xR,template:'\n<div\n data-test="ring-island-content"\n class='.concat(nh.a.content,"\n ng-class=\"{\n '").concat(nh.a.contentWithTopFade,"': contentCtrl.fade,\n '").concat(nh.a.contentWithBottomFade,'\': contentCtrl.fade\n }"\n>\n <div\n tabindex="0"\n class="').concat(nh.a.scrollableWrapper,' js-scrollable-wrapper"\n ng-transclude\n ></div>\n</div>\n'),controllerAs:"contentCtrl",controller:["$scope","$element",function(e,t){var n=this,r=t[0];if(this.onScroll){var o=r.querySelector(".js-scrollable-wrapper"),i=function(t){var r=o.scrollTop;n.onScroll({$event:t,$scrollTop:r}),e.$apply()};o.addEventListener("scroll",(function(){return SR(i)}))}}]}}));var ER=OR.name,LR=Ou.a.module("Ring.island-ng",[MR,ER]);LR.directive("rgIsland",(function(){return{transclude:!0,replace:!0,bindToController:{narrow:"="},compile:xR,template:'\n<div \n data-test="ring-island"\n class="'.concat(nh.a.island,'" \n ng-class="{\'').concat(nh.a.narrowIsland,"': islandCtrl.narrow}\" \n ng-transclude\n></div>\n"),controllerAs:"islandCtrl",controller:Ou.a.noop}}));LR.name;function TR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var DR=Ou.a.module("Ring.loader-inline",[]),CR=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"getThemeClass",(function(){return"".concat(Kl.a.loader,"_").concat(t.theme)}))}var t,n,r;return t=e,(n=[{key:"$onInit",value:function(){pc(),this.theme=this.theme||Nl.LIGHT}}])&&TR(t.prototype,n),r&&TR(t,r),e}();DR.component("rgLoaderInline",{bindings:{theme:"@?"},template:'<div data-test="ring-loader-inline-ng" class="'.concat(Kl.a.loader,'" ng-class="$ctrl.getThemeClass()"></div>'),controller:CR});DR.name;function PR(e){return(PR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function AR(e,t){return(AR=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function IR(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$R(e);if(t){var o=$R(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return RR(this,n)}}function RR(e,t){return!t||"object"!==PR(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function $R(e){return($R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function HR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var NR=Ou.a.module("Ring.loader",[]),zR=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AR(e,t)}(i,e);var t,n,r,o=IR(i);function i(){var e;jR(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=(e=o.call.apply(o,[this].concat(n))).$inject.$element;return e.loader=new vM(a[0],{message:e.message}),e}return t=i,(n=[{key:"$onDestroy",value:function(){this.loader.destroy()}},{key:"$onChanges",value:function(e){this.loader.updateMessage(e.message.currentValue)}}])&&YR(t.prototype,n),r&&YR(t,r),i}(Ov);HR(zR,"$inject",["$element"]),HR(zR,"bindings",{message:"@"}),NR.component("rgLoader",zR);var FR=NR.name,BR=n(122),UR=n.n(BR);function WR(e){return(WR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function VR(){return(VR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qR(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function GR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function JR(e,t){return(JR=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function QR(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=XR(e);if(t){var o=XR(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ZR(this,n)}}function ZR(e,t){return!t||"object"!==WR(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function XR(e){return(XR=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function e$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var t$=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JR(e,t)}(a,e);var t,n,r,i=QR(a);function a(){return GR(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.message,n=e.className,r=e.containerClassName,i=qR(e,["message","className","containerClassName"]),a=s()(r,UR.a.loaderScreen),l=s()(n,UR.a.loader,e$({},UR.a.loaderWithoutSpacing,!t));return o.a.createElement("div",{className:a},o.a.createElement(TM,VR({},i,{message:t,className:l})))}}])&&KR(t.prototype,n),r&&KR(t,r),a}(r.PureComponent);e$(t$,"propTypes",{className:c.a.string,containerClassName:c.a.string,message:c.a.string});var n$=Ou.a.module("Ring.loader-screen",[FR]);n$.service("loaderScreen",["$timeout","$rootScope",function(e,t){var n,r,o=this,i=!1,a=!1;this.startLoading=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;r||(r=e((function(){o.setVisible(!0)}),t))},this.stopLoading=function(){r&&(e.cancel(r),r=null),o.setVisible(!1)},this.startInitialLoading=function(){i=!0,o.setVisible(!0)},this.stopInitialLoading=function(){i=!1,o.setVisible(!1)},t.isInitialLoading=function(){return i},t.isLoaderVisible=function(){return n},t.isLoadingFailed=function(){return a},this.failInitialLoading=function(e){o.stopInitialLoading(),a=!0,t.error=e},this.setVisible=function(e){n=e},t.$on("$routeChangeSuccess",(function(){o.stopInitialLoading()})),t.$on("$routeChangeError",(function(e,t,n,r){r&&(r.silent||r.authRedirect)||o.failInitialLoading(r)}))}]),n$.directive("rgLoaderScreen",(function(){return{restrict:"A",scope:{message:"@rgLoaderScreen"},template:'\n<div class="'.concat(UR.a.loaderScreen,'" ng-if="$root.isLoaderVisible()">\n <rg-loader class="').concat(UR.a.loader,'"\n message="{{$root.isInitialLoading() ? message : \'\'}}"></rg-loader>\n</div>\n ')}}));n$.name;var r$=n(759),o$=n.n(r$),i$=n(760),a$=n.n(i$),s$=function(e){var t=e.value,n=e.language,r=e.inline;return o.a.createElement(ox,{language:n,code:t||"",inline:r})};s$.propTypes={language:c.a.string,value:c.a.string,inline:c.a.bool};var l$=s$,c$=function(e){var t=e.href,n=e.title,r=e.children;return o.a.createElement(Df,{href:t,title:n},r)};c$.propTypes={href:c.a.string,title:c.a.string,children:c.a.node};var u$=c$,f$=function(e){var t=e.level,n=e.children;return o.a.createElement(gR,{level:t},n)};f$.propTypes={level:c.a.number,children:c.a.node};var d$=f$,p$=n(264),h$=n.n(p$);function m$(e){return(m$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g$(){return(g$=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function v$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y$(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v$(Object(n),!0).forEach((function(t){O$(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b$(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function _$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x$(e,t){return(x$=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k$(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S$(e);if(t){var o=S$(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return M$(this,n)}}function M$(e,t){return!t||"object"!==m$(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S$(e){return(S$=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E$=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x$(e,t)}(a,e);var t,n,r,i=k$(a);function a(){return _$(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.renderers,i=t.inline,a=t.source,l=b$(t,["className","renderers","inline","source"]),c=s()(n,(O$(e={},h$.a.markdown,!i),O$(e,h$.a.inline,i),e));return o.a.createElement(o$.a,g$({className:c,source:f_(a),plugins:[a$.a],renderers:y$({link:u$,linkReference:u$,code:l$,inlineCode:l$,heading:d$},r)},l))}}])&&w$(t.prototype,n),r&&w$(t,r),a}(r.PureComponent);O$(E$,"propTypes",{inline:c.a.bool,source:c.a.string,className:c.a.string,renderers:c.a.object});h_((function(e){return o.a.createElement(E$,{source:e})}));function L$(e){return(L$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T$(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function D$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P$(e,t){return(P$=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j$(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=I$(e);if(t){var o=I$(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Y$(this,n)}}function Y$(e,t){return!t||"object"!==L$(t)&&"function"!=typeof t?A$(e):t}function A$(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I$(e){return(I$=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function R$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $$=n(62),H$=n.n($$);function N$(e){return(N$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B$(e,t){return(B$=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function U$(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q$(e);if(t){var o=q$(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return W$(this,n)}}function W$(e,t){return!t||"object"!==N$(t)&&"function"!=typeof t?V$(e):t}function V$(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q$(e){return(q$=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function G$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var K$=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B$(e,t)}(a,e);var t,n,r,i=U$(a);function a(){var e;z$(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return G$(V$(e=i.call.apply(i,[this].concat(n))),"state",{focused:!1}),G$(V$(e),"onDocumentClick",(function(t){e.tagNode&&e.setState({focused:e.tagNode===t.target})})),G$(V$(e),"tagRef",(function(t){e.tagNode=t})),e}return t=a,(n=[{key:"componentDidUpdate",value:function(e){this.props.focused!==e.focused&&this.setState({focused:this.props.focused}),this.state.focused&&this.tagNode.focus(),this.setDocumentClickListener(this.state.focused)}},{key:"componentWillUnmount",value:function(){this.setDocumentClickListener(!1),this.setState({focused:!1})}},{key:"setDocumentClickListener",value:function(e){e?document.addEventListener("click",this.onDocumentClick):document.removeEventListener("click",this.onDocumentClick)}},{key:"renderCustomIcon",value:function(){return this.props.rgTagIcon?o.a.createElement(de,{className:H$.a.icon,title:this.props.rgTagTitle,glyph:this.props.rgTagIcon}):null}},{key:"_renderImageElement",value:function(e){var t,n=s()((G$(t={},H$.a.customIcon,this.props.icon),G$(t,H$.a.avatarIcon,e),t));return o.a.createElement("img",{alt:e?"Avatar":"Icon",className:n,src:e||this.props.icon})}},{key:"renderImage",value:function(){return this.props.icon&&!this.props.avatar?this._renderImageElement():null}},{key:"renderAvatar",value:function(){return this.props.avatar?o.a.createElement("span",{className:H$.a.avatarContainer},this._renderImageElement(this.props.avatar)):null}},{key:"renderRemoveIcon",value:function(){return this.props.readOnly?null:o.a.createElement(zm,{title:"Remove",icon:v.a,"data-test":"ring-tag-remove",className:H$.a.remove,iconClassName:H$.a.removeIcon,onClick:this.props.onRemove})}},{key:"render",value:function(){var e,t=s()("ring-js-shortcuts",H$.a.tag,(G$(e={},H$.a.focused,this.state.focused),G$(e,H$.a.disabled,this.props.disabled),G$(e,H$.a.tagAngled,this.props.angled),G$(e,H$.a.withRemove,!this.props.readOnly),e),this.props.className);return o.a.createElement("span",{className:H$.a.container},o.a.createElement("button",{type:"button","data-test":"ring-tag",className:t,ref:this.tagRef,onClick:this.props.onClick},this.renderAvatar(),this.renderCustomIcon(),this.renderImage(),o.a.createElement("span",{className:H$.a.content},this.props.children)),this.renderRemoveIcon())}}])&&F$(t.prototype,n),r&&F$(t,r),a}(r.PureComponent);function J$(e){return(J$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Q$(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Z$(){return(Z$=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function X$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eH(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tH(e,t){return(tH=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function nH(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=oH(e);if(t){var o=oH(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rH(this,n)}}function rH(e,t){return!t||"object"!==J$(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function oH(e){return(oH=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function iH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aH(){}G$(K$,"propTypes",{onRemove:c.a.func,onClick:c.a.func,rgTagIcon:c.a.oneOfType([c.a.string,c.a.elementType]),icon:c.a.string,avatar:c.a.string,rgTagTitle:c.a.string,readOnly:c.a.bool,disabled:c.a.bool,focused:c.a.bool,angled:c.a.bool,children:c.a.node,className:c.a.string}),G$(K$,"defaultProps",{onRemove:function(){},onClick:function(){},readOnly:!1,disabled:!1,focused:!1});var sH=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tH(e,t)}(a,e);var t,n,r,i=nH(a);function a(){return X$(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"renderTag",value:function(e,t){var n=this.props.customTagComponent||K$,r=this.props.disabled||e.readOnly||this.props.canNotBeEmpty&&1===this.props.tags.length,i=this.props.tagClassName;return o.a.createElement(n,Z$({},e,{readOnly:r,disabled:this.props.disabled||e.disabled,focused:t,onClick:this.props.handleClick(e),onRemove:this.props.handleRemove(e),className:i}),e.label)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className,i=(t.customTagComponent,t.canNotBeEmpty,t.handleClick,t.tagClassName,t.handleRemove,t.tags,t.activeIndex,Q$(t,["children","className","customTagComponent","canNotBeEmpty","handleClick","tagClassName","handleRemove","tags","activeIndex"])),a=s()("ring-js-shortcuts",r),l=(this.props.tags||[]).map((function(t,n){return e.renderTag(t,e.props.activeIndex===n)}));return o.a.createElement("div",Z$({"data-test":"ring-tags-list",className:a},i),l,n)}}])&&eH(t.prototype,n),r&&eH(t,r),a}(r.Component);iH(sH,"propTypes",{children:c.a.node,tags:c.a.array,customTagComponent:function(e,t,n){return e[t]&&!e[t].prototype instanceof r.Component?new Error("Invalid prop ".concat(t," supplied to ").concat(n,". Validation failed.")):null},activeIndex:c.a.number,canNotBeEmpty:c.a.bool,disabled:c.a.bool,handleClick:c.a.func,handleRemove:c.a.func,className:c.a.string,tagClassName:c.a.string}),iH(sH,"defaultProps",{customTagComponent:null,canNotBeEmpty:!1,disabled:!1,handleClick:aH,handleRemove:aH});var lH=n(78),cH=n.n(lH);function uH(e){return(uH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fH(){return(fH=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function dH(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function pH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hH(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mH(e,t){return(mH=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function gH(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=bH(e);if(t){var o=bH(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return vH(this,n)}}function vH(e,t){return!t||"object"!==uH(t)&&"function"!=typeof t?yH(e):t}function yH(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bH(e){return(bH=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wH=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mH(e,t)}(a,e);var t,n,r,i=gH(a);function a(){var e;pH(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _H(yH(e=i.call.apply(i,[this].concat(n))),"inputRef",(function(t){e.input=t,e.props.inputRef(t)})),e}return t=a,(n=[{key:"componentWillUnmount",value:function(){this.blur()}},{key:"focus",value:function(){var e=this.input;e&&e!==document.activeElement&&("firefox"===U.browser.name?e.select():e.focus())}},{key:"blur",value:function(){this.input&&this.input===document.activeElement&&this.input.blur()}},{key:"render",value:function(){var e=this.props,t=e.className,n=dH(e,["className"]),r=s()(cH.a.filter,t);return o.a.createElement(AO,fH({},n,{autoComplete:"off",autoFocus:!0,borderless:!0,inputRef:this.inputRef,className:r}))}}])&&hH(t.prototype,n),r&&hH(t,r),a}(r.Component);function xH(e){return(xH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function kH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MH(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function SH(e,t){return(SH=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function OH(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=TH(e);if(t){var o=TH(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return EH(this,n)}}function EH(e,t){return!t||"object"!==xH(t)&&"function"!=typeof t?LH(e):t}function LH(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TH(e){return(TH=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function DH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}_H(wH,"propTypes",{placeholder:c.a.string,className:c.a.string,inputRef:c.a.func}),_H(wH,"defaultProps",{placeholder:"Filter items",inputRef:function(){}});function CH(){}var PH=function(e){var t,n;return n=t=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P$(e,t)}(s,t);var n,r,i,a=j$(s);function s(){var e;D$(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return R$(A$(e=a.call.apply(a,[this].concat(n))),"_shortcutsScopeUid",lc("rg-shortcuts-")),e}return n=s,(r=[{key:"render",value:function(){var t=this.props,n=t.rgShortcutsOptions,r=t.rgShortcutsMap,i=T$(t,["rgShortcutsOptions","rgShortcutsMap"]);return o.a.createElement(um,{scope:this._shortcutsScopeUid,map:r,options:n,disabled:n.disabled},o.a.createElement(e,i))}}])&&C$(n.prototype,r),i&&C$(n,i),s}(o.a.Component),R$(t,"propTypes",{rgShortcutsOptions:c.a.object,rgShortcutsMap:c.a.object}),n}(wH),jH=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&SH(e,t)}(a,e);var t,n,r,i=OH(a);function a(){var e;kH(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return DH(LH(e=i.call.apply(i,[this].concat(n))),"state",{popupFilterShortcutsOptions:{modal:!0,disabled:!0},tagsActiveIndex:null}),DH(LH(e),"isClickingPopup",!1),DH(LH(e),"onFilterFocus",(function(){e._togglePopupFilterShortcuts(!1),e.setState({tagsActiveIndex:null})})),DH(LH(e),"popupFilterOnBlur",(function(){null===e.state.tagsActiveIndex&&e._togglePopupFilterShortcuts(!0)})),DH(LH(e),"mouseDownHandler",(function(){e.isClickingPopup=!0})),DH(LH(e),"mouseUpHandler",(function(){e.isClickingPopup=!1})),DH(LH(e),"onListSelect",(function(t,n,r){var o;e.props.onSelect(t,(document.createEvent&&(o=document.createEvent("Event")).initEvent("select",!0,!1),n&&n.persist&&n.persist(),o.originalEvent=n,o),r)})),DH(LH(e),"tabPress",(function(t){e.props.onCloseAttempt(t,!0)})),DH(LH(e),"onClickHandler",(function(){return e.filter.focus()})),DH(LH(e),"handleRemoveTag",W((function(t){return function(n){return e.removeTag(t,n)}}))),DH(LH(e),"handleTagClick",W((function(t){return function(){e.setState({tagsActiveIndex:e.props.selected.indexOf(t)})}}))),DH(LH(e),"handleListResize",(function(){e.forceUpdate()})),DH(LH(e),"handleSelectAll",(function(){return e.props.onSelectAll(e.props.data.filter((function(e){return!e.disabled})).length!==e.props.selected.length)})),DH(LH(e),"getSelectAll",(function(){return o.a.createElement("div",{className:cH.a.selectAll},o.a.createElement(zm,{text:!0,inline:!0,onClick:e.handleSelectAll},e.props.data.filter((function(e){return!e.disabled})).length!==e.props.selected.length?"Select all":"Deselect all"),o.a.createElement(BM,{info:!0},"".concat(e.props.selected.length," selected")))})),DH(LH(e),"_adjustListMaxHeight",Ij((function(t,n){if(t)return n;var r=e.props.directions||Um,o=e.props.anchorElement,i=document.documentElement;return Math.min(r.reduce((function(e,t){return Math.max(e,eg(t,o,i))}),100),n)}))),DH(LH(e),"popupRef",(function(t){e.popup=t})),DH(LH(e),"listRef",(function(t){e.list=t})),DH(LH(e),"filterRef",(function(t){e.filter=t,e.caret=new Fb(e.filter)})),DH(LH(e),"shortcutsScope",lc("select-popup-")),DH(LH(e),"shortcutsMap",{tab:e.tabPress}),DH(LH(e),"popupFilterShortcuts",{map:{up:function(t){return e.list&&e.list.upHandler(t)},down:function(t){return e.list&&e.list.downHandler(t)},home:function(t){return e.list&&e.list.homeHandler(t)},end:function(t){return e.list&&e.list.endHandler(t)},enter:function(t){return e.list?e.list.enterHandler(t):e.props.onEmptyPopupEnter(t)},esc:function(t){return e.props.onCloseAttempt(t,!0)},tab:function(t){return e.tabPress(t)},backspace:function(t){return e.handleBackspace(t)},del:function(){return e.removeSelectedTag()},left:function(){return e.handleNavigation(!0)},right:function(){return e.handleNavigation()}}}),e}return t=a,(n=[{key:"componentDidMount",value:function(){window.document.addEventListener("mouseup",this.mouseUpHandler)}},{key:"componentWillUnmount",value:function(){window.document.removeEventListener("mouseup",this.mouseUpHandler)}},{key:"focusFilter",value:function(){var e=this;setTimeout((function(){return e.filter.focus()}))}},{key:"isEventTargetFilter",value:function(e){return e.target&&e.target.matches("input,textarea")}},{key:"handleNavigation",value:function(e){if(!(this.isEventTargetFilter(event)&&this.caret.getPosition()>0)){var t=null;e?t=null===this.state.tagsActiveIndex?this.props.selected.length-1:this.state.tagsActiveIndex-1:null!==this.state.tagsActiveIndex&&(t=this.state.tagsActiveIndex+1),null!==t&&(t>=this.props.selected.length||t<0)&&(t=null,this.focusFilter()),this.setState({tagsActiveIndex:t})}}},{key:"removeTag",value:function(e,t){var n=e||this.props.selected.slice(0)[this.props.selected.length-1];n&&(this.onListSelect(n,t,{tryKeepOpen:!0}),this.setState({tagsActiveIndex:null}),this.focusFilter())}},{key:"removeSelectedTag",value:function(){return null==this.state.tagsActiveIndex||(this.removeTag(this.props.selected[this.state.tagsActiveIndex]),!1)}},{key:"handleBackspace",value:function(e){return!(this.props.tags&&(this.isEventTargetFilter(e)?!e.target.value&&(this.removeTag(),1):(this.removeSelectedTag(),1)))}},{key:"_togglePopupFilterShortcuts",value:function(e){this.setState({popupFilterShortcutsOptions:{modal:!0,disabled:e}})}},{key:"isVisible",value:function(){return this.popup&&this.popup.isVisible()}},{key:"getFilter",value:function(){return this.props.filter||this.props.tags?o.a.createElement("div",{className:cH.a.filterWrapper,"data-test":"ring-select-popup-filter"},o.a.createElement(de,{glyph:Da.a,className:cH.a.filterIcon,"data-test-custom":"ring-select-popup-filter-icon"}),o.a.createElement(PH,{rgShortcutsOptions:this.state.popupFilterShortcutsOptions,rgShortcutsMap:this.popupFilterShortcuts.map,value:this.props.filterValue,inputRef:this.filterRef,onBlur:this.popupFilterOnBlur,onFocus:this.onFilterFocus,className:"ring-js-shortcuts",placeholder:this.props.filter.placeholder,onChange:this.props.onFilter,onClick:this.onClickHandler,onClear:this.props.onClear,"data-test-custom":"ring-select-popup-filter-input"})):null}},{key:"getTags",value:function(){return o.a.createElement("div",null,o.a.createElement(sH,{tags:this.props.selected,activeIndex:this.state.tagsActiveIndex,handleRemove:this.handleRemoveTag,handleClick:this.handleTagClick,disabled:this.props.disabled}))}},{key:"getFilterWithTags",value:function(){if(this.props.tags){var e=s()([cH.a.filterWithTags,DH({},cH.a.filterWithTagsFocused,!this.state.popupFilterShortcutsOptions.disabled)]);return o.a.createElement("div",{className:e},this.getTags(),this.getFilter())}return this.getFilter()}},{key:"getBottomLine",value:function(){return o.a.createElement("div",{className:cH.a.bottomLine},this.props.loading&&o.a.createElement(Sc,null),this.props.message&&o.a.createElement("div",{className:cH.a.message},this.props.message))}},{key:"getList",value:function(){if(this.props.data.length){var e=this.props.maxHeight;return this.props.anchorElement&&(e=this._adjustListMaxHeight(this.props.hidden,e)),this.props.filter&&(e-=35),o.a.createElement(yA,{maxHeight:e,data:this.props.data,activeIndex:this.props.activeIndex,ref:this.listRef,restoreActiveIndex:!0,activateFirstItem:!0,onSelect:this.onListSelect,onResize:this.handleListResize,onScrollToBottom:this.props.onLoadMore,shortcuts:!this.props.hidden,disableMoveOverflow:this.props.disableMoveOverflow,disableMoveDownOverflow:this.props.loading,disableScrollToActive:this.props.disableScrollToActive,compact:this.props.compact,renderOptimization:this.props.renderOptimization})}return null}},{key:"render",value:function(){var e=s()(cH.a.popup,this.props.className);return o.a.createElement(_g,{ref:this.popupRef,hidden:this.props.hidden,attached:this.props.isInputMode,className:e,dontCloseOnAnchorClick:!0,keepMounted:!0,anchorElement:this.props.anchorElement,minWidth:this.props.minWidth,onCloseAttempt:this.props.onCloseAttempt,directions:this.props.directions,top:this.props.top||(this.props.isInputMode?-14:null),left:this.props.left,onMouseDown:this.mouseDownHandler,target:this.props.ringPopupTarget,autoCorrectTopOverflow:!1,style:this.props.style},o.a.createElement("div",{dir:this.props.dir},!this.props.hidden&&this.props.filter&&o.a.createElement(um,{map:this.shortcutsMap,scope:this.shortcutsScope}),this.props.hidden?o.a.createElement("div",null):this.getFilterWithTags(),this.props.multiple&&!this.props.multiple.limit&&this.props.multiple.selectAll&&this.getSelectAll(),this.getList(),this.getBottomLine(),this.props.toolbar))}}])&&MH(t.prototype,n),r&&MH(t,r),a}(r.Component);DH(jH,"defaultProps",{data:[],activeIndex:null,toolbar:null,filter:!1,multiple:!1,message:null,anchorElement:null,maxHeight:600,minWidth:240,loading:!1,onSelect:CH,onCloseAttempt:CH,onFilter:CH,onClear:CH,onLoadMore:CH,selected:[],tags:null,ringPopupTarget:null,onSelectAll:CH,onEmptyPopupEnter:CH});var YH=n(47),AH=n.n(YH);function IH(e){return(IH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function RH(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function $H(e){var t=function(e,t){if("object"!==IH(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==IH(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===IH(t)?t:String(t)}function HH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NH(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zH(e,t){return(zH=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function FH(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=WH(e);if(t){var o=WH(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return BH(this,n)}}function BH(e,t){return!t||"object"!==IH(t)&&"function"!=typeof t?UH(e):t}function UH(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WH(e){return(WH=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function VH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qH(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VH(Object(n),!0).forEach((function(t){GH(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VH(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function GH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KH(){}var JH={BUTTON:"BUTTON",INPUT:"INPUT",CUSTOM:"CUSTOM",INLINE:"INLINE",MATERIAL:"MATERIAL",INPUT_WITHOUT_CONTROLS:"INPUT_WITHOUT_CONTROLS"},QH=W((function(e){return{paddingRight:20*e}})),ZH=function(e){return e===JH.INPUT||e===JH.INPUT_WITHOUT_CONTROLS};function XH(e){return yA.isItemType(yA.ListProps.Type.SEPARATOR,e)||yA.isItemType(yA.ListProps.Type.HINT,e)||null==e.label?null:e.label.toLowerCase()}function eN(e,t){var n=XH(e);return null==n||t(n)}function tN(e){return e.fn?e.fn:e.fuzzy?function(e,t){return eN(e,(function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=n?e:e.toLowerCase(),o=n?t:t.toLowerCase(),i=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return{matched:e,highlight:n}},a=o.length,s=r.length;if(s>a)return i(!1);if(s===a){var l=r===o;return i(l,l?"".concat("**").concat(t).concat("**"):t)}var c="",u=!1,f=0;e:for(var d=0;d<s;d++){for(var p=r[d];f<a;){var h=o[f],m=h===p,g=m&&/\S/.test(h);if(g!==u&&(c+="**"),c+=t[f++],u=g,m)continue e}return i(!1)}return u&&(c+="**"),i(!0,c+=t.slice(f))}(t,e).matched}))}:function(e,t){return eN(e,(function(e){return e.indexOf(t)>=0}))}}var nN=function(e){return Object.fromEntries(e.map((function(e){return[e.key,!0]})))};function rN(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.data,o=n.trim();ZH(e.type)&&t.selected&&o===t.selected.label&&(o="");for(var i=o.toLowerCase(),a=[],s=!1,l=tN(e.filter),c=function(n){var c=qH({},r[n]);l(c,i,r)&&(s=c.label===o,e.multiple&&!e.multiple.removeSelectedItems&&(c.checkbox=!!t.multipleMap[c.key]),e.multiple&&e.multiple.limit&&(c.disabled=e.multiple.limit===t.selected.length&&!t.selected.find((function(e){return e.key===c.key}))),e.multiple&&e.multiple.removeSelectedItems&&t.multipleMap[c.key]||a.push(c))},u=0;u<r.length;u++)c(u);var f=null,d=e.add;return(d&&o&&!s||d&&d.alwaysVisible)&&((d.regexp&&!d.regexp.test(o)||d.minlength&&o.length<+d.minlength)&&!d.alwaysVisible||(f={prefix:d.prefix,label:d.label||o,delayed:!d.hasOwnProperty("delayed")||d.delayed})),{filteredData:a,addButton:f}}function oN(e,t,n){var r=n?e[0]:e;if(null==r)return null;for(var o=0;o<t.length;o++){var i=t[o];if(void 0!==i.key&&i.key===r.key)return o}return null}var iN=function(e){var t=e.selectedLabel,n=e.label;return null!=t?t:n},aN=function(e,t,n){return e&&ZH(t)?iN(e):n};var sN=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zH(e,t)}(l,e);var t,n,i,a=FH(l);function l(){var e;HH(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return GH(UH(e=a.call.apply(a,[this].concat(n))),"state",{data:[],shownData:[],selected:e.props.multiple?[]:null,selectedIndex:null,filterValue:e.props.filter&&e.props.filter.value||"",shortcutsEnabled:!1,popupShortcuts:!1,showPopup:!1,prevData:e.props.data,prevSelected:null,prevMultiple:e.props.multiple,multipleMap:{},addButton:null}),GH(UH(e),"shortcutsScope",lc("select-")),GH(UH(e),"_focusHandler",(function(){e.props.onFocus(),e.setState({shortcutsEnabled:!0,focused:!0})})),GH(UH(e),"_blurHandler",(function(){e.props.onBlur(),e._popup&&e._popup.isVisible()&&!e._popup.isClickingPopup&&window.setTimeout((function(){e.setState({showPopup:!1})})),e._popup.isClickingPopup||e.setState({shortcutsEnabled:!1,focused:!1})})),GH(UH(e),"nodeRef",(function(t){e.node=t})),GH(UH(e),"_popup",null),GH(UH(e),"onEmptyPopupEnter",(function(){e.state.addButton&&e.addHandler()})),GH(UH(e),"_onEnter",(function(){if(e.state.addButton&&0===e.state.shownData.length&&e.addHandler(),e.props.onDone(),!e._popup.isVisible()&&e.props.allowAny)return!0})),GH(UH(e),"_onEsc",(function(t){if(!e._popup.isVisible())return!0;if(e.props.multiple||!e.props.getInitial)return!1;var n={key:Math.random(),label:e.props.getInitial()};e.setState({selected:n,filterValue:e.getValueForFilter(n)},(function(){e.props.onChange(n,t),e.props.onReset()}))})),GH(UH(e),"_inputShortcutHandler",(function(){e.state.focused&&e._popup&&!e._popup.isVisible()&&e._clickHandler()})),GH(UH(e),"popupRef",(function(t){e._popup=t})),GH(UH(e),"addHandler",(function(){var t=e.filterValue();e._hidePopup(),e.props.onAdd(t)})),GH(UH(e),"getLowerCaseLabel",XH),GH(UH(e),"doesLabelMatch",eN),GH(UH(e),"_clickHandler",(function(){e.props.disabled||(e.state.showPopup?e._hidePopup():(e.props.onBeforeOpen(),e._showPopup()))})),GH(UH(e),"_selectButtonKeyboardHack",(function(t){var n=eY(t);"Enter"!==n&&" "!==n||e._clickHandler()})),GH(UH(e),"_filterChangeHandler",(function(t){e._setFilter(t.target.value,t)})),GH(UH(e),"_setFilter",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((!e.isInputMode()||e.state.focused)&&t!==e.state.filterValue){var r=t.replace(/^\s+/g,"");if(e.props.onFilter(r),e.props.allowAny){var o={key:Math.random(),label:r};e.setState({selected:""===r?null:o,selectedIndex:null},(function(){e.props.onSelect(o,n),e.props.onChange(o,n)}))}!e._popup.isVisible()&&e.props.onBeforeOpen(),e.setState({filterValue:r},(function(){e._showPopup()}))}})),GH(UH(e),"_redrawPopup",(function(){e.props.multiple&&setTimeout((function(){e.isInputMode()&&e.clearFilter(),e._showPopup()}),0)})),GH(UH(e),"_listSelectHandler",(function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=yA.isItemType.bind(null,yA.ListProps.Type.ITEM),i=yA.isItemType.bind(null,yA.ListProps.Type.CUSTOM),a=n&&("select"===n.type||"keydown"===n.type);if(a&&n.preventDefault(),(o(t)||i(t))&&!t.disabled&&!t.isResetItem)if(e.props.multiple){var s=r.tryKeepOpen;if(s||e._hidePopup(a),null==t.key)throw new Error('Multiple selection requires each item to have the "key" property');e.setState((function(r){var o,i=r.selected;r.multipleMap[t.key]?(o=i.filter((function(e){return e.key!==t.key})),e.props.onDeselect&&e.props.onDeselect(t)):(o=i.concat(t),e.props.onSelect&&e.props.onSelect(t,n)),e.props.onChange(o,n);var a={filterValue:"",selected:o,selectedIndex:e._getSelectedIndex(t,e.props.data)};if(e.props.multiple.limit&&o.length===e.props.multiple.limit&&(a.shownData=r.shownData.map((function(e){return o.find((function(t){return t.key===e.key}))?e:qH(qH({},e),{},{disabled:!0})}))),r.multipleMap[t.key]){var s=r.multipleMap,l=t.key,c=(s[l],RH(s,[l].map($H)));a.multipleMap=c}else a.multipleMap=qH(qH({},r.multipleMap),{},GH({},t.key,!0));return a}),(function(){s&&e._redrawPopup()}))}else e._hidePopup(a),e.setState({filterValue:"",selected:t,selectedIndex:e._getSelectedIndex(t,e.props.data)},(function(){var r=e.isInputMode()&&!e.props.hideSelected?iN(t):"";e.filterValue(r),e.props.onFilter(r),e.props.onSelect(t,n),e.props.onChange(t,n)}))})),GH(UH(e),"_listSelectAllHandler",(function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=yA.isItemType.bind(null,yA.ListProps.Type.ITEM),r=yA.isItemType.bind(null,yA.ListProps.Type.CUSTOM);e.setState((function(o){var i,a=o.selected;return t?(i=e.props.data.filter((function(e){return(n(e)||r(e))&&!e.disabled}))).filter((function(t){return!e.props.selected.find((function(e){return t.key===e.key}))})).forEach((function(t){e.props.onSelect&&e.props.onSelect(t)})):(i=[],a.forEach((function(t){e.props.onDeselect&&e.props.onDeselect(t)}))),e.props.onChange(i,event),{filterValue:"",selected:i,selectedIndex:t?e._getSelectedIndex(i,e.props.data):null,shownData:o.shownData.map((function(e){return qH(qH({},e),{},{checkbox:t})})),multipleMap:t?nN(e.props.data.filter((function(e){return!e.disabled}))):{}}}),e._redrawPopup)})),GH(UH(e),"_onCloseAttempt",(function(t,n){e.isInputMode()&&(e.props.allowAny||(e.props.hideSelected||!e.state.selected||e.props.multiple?e.clearFilter():e.state.selected&&e.filterValue(iN(e.state.selected)))),e.props.tags&&t&&t.target&&t.target.matches('[data-test="ring-tag-remove"]')||e._hidePopup(n)})),GH(UH(e),"clearFilter",(function(t){e._setFilter("",t)})),GH(UH(e),"clear",(function(t){t&&t.stopPropagation();var n=l._getEmptyValue(e.props.multiple);return e.setState({selected:n,selectedIndex:null,filterValue:""},(function(){e.props.onChange&&e.props.onChange(n,t)})),!1})),GH(UH(e),"popupRef",(function(t){e._popup=t})),GH(UH(e),"buttonRef",(function(t){e.button=t})),GH(UH(e),"filterRef",(function(t){e.filter=t})),e}return t=l,i=[{key:"_getEmptyValue",value:function(e){return e?[]:null}},{key:"getDerivedStateFromProps",value:function(e,t){var n=e.multiple,r=e.data,o=e.type,i=t.prevSelected,a=t.prevData,s=t.prevMultiple,c=t.filterValue,u={prevData:r,prevSelected:e.selected,prevMultiple:n};if("data"in e&&r!==a){var f=rN(e,t,c,r),d=f.filteredData,p=f.addButton;Object.assign(u,{shownData:d,addButton:p}),t.selected&&Object.assign(u,{selectedIndex:oN(t.selected,r,n),prevFilterValue:aN(t.selected,o,c)})}if("selected"in e&&e.selected!==i){var h=e.selected||l._getEmptyValue(n),m=oN(h,r||a,n);Object.assign(u,{selected:h,prevFilterValue:aN(h,o,c)}),n&&function(e,t){if(!e||!t||e.length!==t.length)return!1;var n=t.reduce((function(e,t){return e[t.key]=!0,e}),{});return e.every((function(e){return n[e.key]}))}(i,h)||Object.assign(u,{selectedIndex:m})}s!==n&&(u.selected=l._getEmptyValue(n));var g=qH(qH({},t),u).selected;return g&&n&&(u.multipleMap=nN(g)),u}}],(n=[{key:"componentDidUpdate",value:function(e,t){var n=this.state,r=n.showPopup,o=n.selected,i=this.props,a=i.onClose,s=i.onOpen,l=i.onChange,c=i.multiple;t.showPopup&&!r?a(o):!t.showPopup&&r&&s(),c!==e.multiple&&l(o)}},{key:"getValueForFilter",value:function(e){return aN(e,this.props.type,this.state.filterValue)}},{key:"_getSelectedIndex",value:function(e,t){return oN(e,t,this.props.multiple)}},{key:"_getResetOption",value:function(){var e=this,t=this.state.selected&&this.state.selected.length,n=this.props.tags&&this.props.tags.reset;if(!t||!n)return null;var r=this.props.tags.reset;return{isResetItem:!0,separator:r.separator,key:r.label,rgItemType:yA.ListProps.Type.ITEM,label:r.label,glyph:r.glyph,className:"ring-select__clear-tags",onClick:function(t,n){e.clear(n),e.clearFilter(),e.props.onFilter(""),e.setState((function(e){return{shownData:e.shownData.slice(r.separator?2:1),multipleMap:{}}})),e._redrawPopup()}}}},{key:"_prependResetOption",value:function(e){var t=this._getResetOption(),n={rgItemType:yA.ListProps.Type.MARGIN};if(t){var r=[n,t,n];return t.separator&&r.push({rgItemType:yA.ListProps.Type.SEPARATOR}),r.concat(e)}return e}},{key:"_renderPopup",value:function(){var e=this.props.targetElement||this.node,t=this.state,n=t.showPopup,r=t.shownData,i=this._prependResetOption(r),a=null;return this.props.loading?a=this.props.loadingMessage:r.length||(a=this.props.notFoundMessage),o.a.createElement(jH,{data:i,message:a,toolbar:n&&this.getToolbar(),loading:this.props.loading,activeIndex:this.state.selectedIndex,hidden:!n,ref:this.popupRef,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,directions:this.props.directions,className:this.props.popupClassName,style:this.props.popupStyle,top:this.props.top,left:this.props.left,filter:!this.isInputMode()&&this.props.filter,multiple:this.props.multiple,filterValue:this.state.filterValue,anchorElement:e,onCloseAttempt:this._onCloseAttempt,onSelect:this._listSelectHandler,onSelectAll:this._listSelectAllHandler,onFilter:this._filterChangeHandler,onClear:this.clearFilter,onLoadMore:this.props.onLoadMore,isInputMode:this.isInputMode(),selected:this.state.selected,tags:this.props.tags,compact:this.props.compact,renderOptimization:this.props.renderOptimization,ringPopupTarget:this.props.ringPopupTarget,disableMoveOverflow:this.props.disableMoveOverflow,disableScrollToActive:this.props.disableScrollToActive,dir:this.props.dir,onEmptyPopupEnter:this.onEmptyPopupEnter})}},{key:"_showPopup",value:function(){if(this.node){var e=this.getListItems(this.filterValue());this.setState({showPopup:!!e.length||!this.props.allowAny,shownData:e})}}},{key:"_hidePopup",value:function(e){if(this.node&&this.state.showPopup&&(this.setState({showPopup:!1,filterValue:""}),e)){var t=this.props.targetElement||this.node.query("[data-test~=ring-select__focus]");t&&t.focus()}}},{key:"getToolbar",value:function(){var e=this.props.hint,t=this.state.addButton||{},n=t.prefix,r=t.label,i=t.delayed;return this.state.addButton||e?o.a.createElement("div",{className:s()(GH({},AH.a.toolbar,!!this.state.addButton)),"data-test":"ring-select-toolbar"},this.state.addButton&&o.a.createElement(zm,{text:!0,delayed:i,className:AH.a.button,onClick:this.addHandler,"data-test":"ring-select-toolbar-button"},n?"".concat(n," ").concat(r):r),e&&o.a.createElement(yA.ListHint,{label:e,"data-test":"ring-select-toolbar-hint"})):null}},{key:"getFilterFn",value:function(){return tN(this.props.filter)}},{key:"getListItems",value:function(e,t){var n=rN(this.props,this.state,e,t),r=n.filteredData,o=n.addButton;return this.setState({addButton:o}),r}},{key:"filterValue",value:function(e){if("string"!=typeof e&&"number"!=typeof e)return this.state.filterValue;this.setState({filterValue:e})}},{key:"isInputMode",value:function(){return ZH(this.props.type)}},{key:"_rebuildMultipleMap",value:function(e,t){e&&t&&this.setState({multipleMap:nN(e)})}},{key:"_selectionIsEmpty",value:function(){return this.props.multiple&&!this.state.selected.length||!this.state.selected}},{key:"_getLabel",value:function(){return this.props.label||this.props.selectedLabel||"Select an option"}},{key:"_getSelectedString",value:function(){if(this.props.multiple){for(var e=[],t=0;t<this.state.selected.length;t++)e.push(iN(this.state.selected[t]));return e.filter(Boolean).join(", ")}return iN(this.state.selected)}},{key:"_getIcons",value:function(){var e=[];return this.state.selected&&this.state.selected.icon&&e.push(o.a.createElement("button",{title:"Toggle options popup",type:"button",className:AH.a.selectedIcon,key:"selected",onClick:this._clickHandler,style:{backgroundImage:"url(".concat(this.state.selected.icon,")")}})),this.props.clear&&!this.props.disabled&&this.state.selected&&e.push(o.a.createElement(zm,{title:"Clear selection",className:AH.a.clearIcon,key:"close",onClick:this.clear,icon:v.a})),this.props.hideArrow||e.push(o.a.createElement(zm,{title:"Toggle options popup",className:AH.a.chevron,iconClassName:AH.a.chevronIcon,icon:Ht.a,key:"hide",onClick:this._clickHandler})),e}},{key:"_getAvatar",value:function(){return this.state.selected&&this.state.selected.avatar&&o.a.createElement(_v,{className:AH.a.avatar,url:this.state.selected.avatar,size:bv.Size20})}},{key:"getShortcutsMap",value:function(){return{enter:this._onEnter,esc:this._onEsc,up:this._inputShortcutHandler,down:this._inputShortcutHandler,right:KH,left:KH,"shift+up":KH,"shift+down":KH,space:KH}}},{key:"render",value:function(){var e,t,n=this,i=this.state.shortcutsEnabled,a=s()(AH.a.select,"ring-js-shortcuts",this.props.className,(GH(e={},AH.a["size".concat(this.props.size)],this.props.type!==JH.INLINE),GH(e,AH.a.disabled,this.props.disabled),e)),l=this._getIcons(),c=QH(l.length),u=o.a.createElement("span",{className:AH.a.icons},l);switch(this.props.type){case JH.INPUT_WITHOUT_CONTROLS:case JH.INPUT:return o.a.createElement("div",{ref:this.nodeRef,className:s()(a,AH.a.inputMode),"data-test":"ring-select"},i&&o.a.createElement(um,{map:this.getShortcutsMap(),scope:this.shortcutsScope}),o.a.createElement(AO,{autoComplete:"off",id:this.props.id,onClick:this._clickHandler,inputRef:this.filterRef,disabled:this.props.disabled,value:this.state.filterValue,borderless:this.props.type===JH.INPUT_WITHOUT_CONTROLS,style:c,size:jO.FULL,onChange:this._filterChangeHandler,onFocus:this._focusHandler,onBlur:this._blurHandler,label:this.props.type===JH.INPUT?this._getLabel():null,placeholder:this.props.inputPlaceholder,onKeyDown:this.props.onKeyDown,"data-test":"ring-select__focus"}),this.props.type===JH.INPUT&&u,this._renderPopup());case JH.BUTTON:return o.a.createElement("div",{ref:this.nodeRef,className:s()(a,AH.a.buttonMode),"data-test":"ring-select"},i&&o.a.createElement(um,{map:this.getShortcutsMap(),scope:this.shortcutsScope}),o.a.createElement($l.Consumer,null,(function(e){return o.a.createElement("div",{id:n.props.id,onClick:n._clickHandler,onKeyPress:n._selectButtonKeyboardHack,className:s()(Tm.a.button,Tm.a[n.props.theme||e||Nl.LIGHT],AH.a.buttonValue,GH({},AH.a.buttonValueOpen,n.state.showPopup)),role:"button",tabIndex:0,disabled:n.props.disabled,style:c,"data-test":"ring-select__button ring-select__focus"},n._getAvatar(),n._selectionIsEmpty()?n._getLabel():n._getSelectedString(),u)})),this._renderPopup());case JH.MATERIAL:return o.a.createElement("div",{ref:this.nodeRef,className:s()(a,AH.a.materialMode),"data-test":"ring-select"},i&&o.a.createElement(um,{map:this.getShortcutsMap(),scope:this.shortcutsScope}),!this._selectionIsEmpty()&&this.props.selectedLabel&&o.a.createElement("span",{className:AH.a.selectedLabel},this.props.selectedLabel),o.a.createElement("button",{id:this.props.id,onClick:this._clickHandler,type:"button",disabled:this.props.disabled,className:s()(AH.a.value,(t={},GH(t,AH.a.open,this.state.showPopup),GH(t,AH.a.label,this._selectionIsEmpty()),t)),"aria-label":this._getLabel(),style:c,"data-test":"ring-select__focus",ref:this.buttonRef},this._getAvatar(),this._selectionIsEmpty()?this._getLabel():this._getSelectedString()),u,this._renderPopup());case JH.INLINE:return o.a.createElement("div",{className:a,ref:this.nodeRef,"data-test":"ring-select"},i&&o.a.createElement(um,{map:this.getShortcutsMap(),scope:this.shortcutsScope}),o.a.createElement(qS,{id:this.props.id,onClick:this._clickHandler,"data-test":"ring-select__focus",disabled:this.props.disabled},this._selectionIsEmpty()?this._getLabel():this._getSelectedString()),this._renderPopup());default:return this.props.customAnchor?o.a.createElement(r.Fragment,null,i&&o.a.createElement(um,{map:this.getShortcutsMap(),scope:this.shortcutsScope}),this.props.customAnchor({wrapperProps:{ref:this.nodeRef,"data-test":"ring-select"},buttonProps:{id:this.props.id,onClick:this._clickHandler,disabled:this.props.disabled,children:this._selectionIsEmpty()?this._getLabel():this._getSelectedString(),"data-test":"ring-select_focus"},popup:this._renderPopup()})):o.a.createElement("span",{id:this.props.id,ref:this.nodeRef,"data-test":"ring-select"},this._renderPopup())}}}])&&NH(t.prototype,n),i&&NH(t,i),l}(r.Component);GH(sN,"propTypes",{className:c.a.string,id:c.a.string,multiple:c.a.oneOfType([c.a.bool,c.a.object]),allowAny:c.a.bool,filter:c.a.oneOfType([c.a.bool,c.a.object]),getInitial:c.a.func,onClose:c.a.func,onOpen:c.a.func,onDone:c.a.func,onFilter:c.a.func,onChange:c.a.func,onReset:c.a.func,onLoadMore:c.a.func,onAdd:c.a.func,onBeforeOpen:c.a.func,onSelect:c.a.func,onDeselect:c.a.func,onFocus:c.a.func,onBlur:c.a.func,onKeyDown:c.a.func,selected:c.a.oneOfType([c.a.object,c.a.array]),data:c.a.array,tags:c.a.object,targetElement:c.a.object,loading:c.a.bool,loadingMessage:c.a.string,notFoundMessage:c.a.string,maxHeight:c.a.number,minWidth:c.a.number,directions:c.a.array,popupClassName:c.a.string,popupStyle:c.a.object,top:c.a.number,left:c.a.number,renderOptimization:c.a.bool,ringPopupTarget:c.a.string,hint:yA.ListHint.propTypes.label,add:c.a.object,type:c.a.oneOf(Object.values(JH)),disabled:c.a.bool,hideSelected:c.a.bool,label:c.a.string,selectedLabel:c.a.oneOfType([c.a.string,c.a.arrayOf(c.a.node),c.a.node]),inputPlaceholder:c.a.string,clear:c.a.bool,hideArrow:c.a.bool,compact:c.a.bool,size:c.a.oneOf(Object.values(jO)),theme:c.a.string,customAnchor:c.a.func,disableMoveOverflow:c.a.bool,disableScrollToActive:c.a.bool,dir:c.a.oneOf(["ltr","rtl"])}),GH(sN,"defaultProps",{data:[],filter:!1,multiple:!1,clear:!1,loading:!1,disabled:!1,loadingMessage:"Loading...",notFoundMessage:"No options found",type:JH.MATERIAL,size:jO.M,targetElement:null,hideSelected:!1,allowAny:!1,hideArrow:!1,maxHeight:600,directions:[_g.PopupProps.Directions.BOTTOM_RIGHT,_g.PopupProps.Directions.BOTTOM_LEFT,_g.PopupProps.Directions.TOP_LEFT,_g.PopupProps.Directions.TOP_RIGHT],selected:null,label:"",selectedLabel:"",inputPlaceholder:"",hint:null,shortcutsEnabled:!1,onBeforeOpen:KH,onLoadMore:KH,onOpen:KH,onClose:KH,onFilter:KH,onFocus:KH,onBlur:KH,onKeyDown:KH,onSelect:KH,onDeselect:KH,onChange:KH,onAdd:KH,onDone:KH,onReset:KH,tags:null,onRemoveTag:KH,ringPopupTarget:null,dir:"ltr"}),GH(sN,"Type",JH),GH(sN,"Size",jO),GH(sN,"Theme",Nl);var lN=FS(sN,{captureNode:!1}),cN=n(123),uN=n.n(cN);function fN(e){return(fN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dN(){return(dN=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function pN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mN(e,t){return(mN=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function gN(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=bN(e);if(t){var o=bN(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return vN(this,n)}}function vN(e,t){return!t||"object"!==fN(t)&&"function"!=typeof t?yN(e):t}function yN(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bN(e){return(bN=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wN=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mN(e,t)}(a,e);var t,n,r,i=gN(a);function a(){var e;pN(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _N(yN(e=i.call.apply(i,[this].concat(n))),"handlePageSizeChange",(function(t){e.props.onPageSizeChange(t.key)})),_N(yN(e),"handlePrevClick",(function(){var t=e.props.currentPage;if(1!==t){var n=t-1;e.props.onPageChange(n)}})),_N(yN(e),"handleNextClick",(function(){var t=e.props,n=t.currentPage,r=t.onLoadPage,o=n+1;n!==e.getTotal()?e.props.onPageChange(o):e.props.openTotal&&r(o)})),_N(yN(e),"handlePageChange",W((function(t){return function(n){e.props.onPageChange(t,n)}}))),_N(yN(e),"handleLoadMore",W((function(t){return function(){e.props.onLoadPage(t)}}))),e}return t=a,(n=[{key:"getSelectOptions",value:function(){var e=this,t=this.props,n=t.pageSize,r=t.pageSizes.map((function(t){return{key:t,label:"".concat(t," ").concat(e.props.translations.perPage)}}));return{selected:r.find((function(e){return e.key===n})),data:r}}},{key:"getTotal",value:function(){var e=this.props,t=e.total,n=e.pageSize;return Math.ceil(t/n)}},{key:"getButton",value:function(e,t,n,r){return o.a.createElement(zm,dN({href:this.generateHref(e),key:n,active:r,disabled:this.props.loader&&!r,loader:this.props.loader&&r},this.getClickProps(this.handlePageChange(e))),t)}},{key:"getClickProps",value:function(e){var t=this.props,n=t.hrefFunc;return t.onPageChange?n?{onPlainLeftClick:e}:{onClick:e}:{}}},{key:"getPageSizeSelector",value:function(){var e=this.getSelectOptions();return!this.props.disablePageSizeSelector&&o.a.createElement("div",{"data-test":"ring-pager-page-size-selector",style:{float:"right"}},o.a.createElement(sN,{data:e.data,selected:e.selected,onSelect:this.handlePageSizeChange,type:sN.Type.INLINE,disabled:this.props.loader}))}},{key:"getPagerLinks",value:function(){var e,t=1!==this.props.currentPage,n=this.props.openTotal||this.props.currentPage!==this.getTotal(),r=o.a.createElement(de,{glyph:Wt.a,key:"icon"}),i=o.a.createElement(de,{glyph:Bt.a,key:"icon"}),a=this.props.translations.previousPage,l=this.props.translations.nextPage,c=function(e){return[o.a.createElement("span",{key:"text"},o.a.createElement(e,null,l)),r]},u=function(e){return[i,o.a.createElement("span",{key:"text"},o.a.createElement(e,null,a))]},f=this.generateHref(this.props.currentPage-1),d=this.generateHref(this.props.currentPage+1),p=s()((_N(e={},uN.a.link,!0),_N(e,uN.a.linkDisabled,!0),e));return o.a.createElement("div",{className:uN.a.links},t&&!this.props.loader?o.a.createElement(Df,dN({href:f,className:uN.a.link},this.getClickProps(this.handlePrevClick)),u):o.a.createElement("span",{className:p},i,o.a.createElement("span",{key:"text"},a)),n&&!this.props.loader?o.a.createElement(Df,dN({href:d,className:uN.a.link},this.getClickProps(this.handleNextClick)),c):o.a.createElement("span",{className:p},o.a.createElement("span",{key:"text"},l),r))}},{key:"generateHref",value:function(e){if(void 0!==this.props.hrefFunc){var t=this.props.disablePageSizeSelector?void 0:this.props.pageSize;return this.props.hrefFunc(e,t)}}},{key:"getPagerContent",value:function(){var e=this.props,t=e.currentPage,n=e.visiblePagesLimit,r=this.getTotal();if(r<2&&!this.props.openTotal)return null;var i=1,a=r;if(r>=n+6){var s=Math.ceil(n/2)-1;if(a=t+(n-s-1),(i=t-s)<1){var l=1-i;i+=l,a+=l}if(a>r){var c=a-r;i-=c,a-=c}i<1&&(i+=1-i)}for(var u=[],f=i;f<=a;f++)u.push(this.getButton(f,f,f,f===t));var d=a<r&&!this.props.openTotal||this.props.openTotal&&this.props.canLoadLastPageWithOpenTotal;return o.a.createElement("div",null,this.getPagerLinks(),o.a.createElement(Hb,null,i>1&&o.a.createElement(Uy,null,this.getButton(1,this.props.translations.firstPage)),o.a.createElement(Uy,null,i>1&&this.getButton(i-1,"..."),u,a<r&&this.getButton(a+1,"..."),a===r&&this.props.openTotal&&o.a.createElement(zm,dN({href:this.generateHref(a+1),disabled:this.props.loader},this.getClickProps(this.handleLoadMore(a+1))),"...")),d&&o.a.createElement(Uy,null,this.getButton(this.props.openTotal?-1:r,this.props.translations.lastPage))),this.getPageSizeSelector())}},{key:"render",value:function(){var e=s()(uN.a.pager,this.props.className);return o.a.createElement("div",{"data-test":"ring-pager",className:e},this.props.total>1?this.getPagerContent():this.getPageSizeSelector())}}])&&hN(t.prototype,n),r&&hN(t,r),a}(r.PureComponent);_N(wN,"propTypes",{total:c.a.number.isRequired,currentPage:c.a.number,pageSize:c.a.number,pageSizes:c.a.arrayOf(c.a.number),visiblePagesLimit:c.a.number,disablePageSizeSelector:c.a.bool,openTotal:c.a.bool,canLoadLastPageWithOpenTotal:c.a.bool,onPageChange:c.a.func,onPageSizeChange:c.a.func,onLoadPage:c.a.func,className:c.a.string,translations:c.a.object,loader:c.a.bool,hrefFunc:c.a.func}),_N(wN,"defaultProps",{currentPage:1,pageSize:50,pageSizes:[20,50,100],visiblePagesLimit:7,disablePageSizeSelector:!1,openTotal:!1,canLoadLastPageWithOpenTotal:!1,translations:{perPage:"per page",firstPage:"First page",lastPage:"Last page",nextPage:"Next page",previousPage:"Previous"},loader:!1,onPageSizeChange:function(){},onLoadPage:function(){}});var xN=cy(wN,"Pager").name,kN=n(109),MN=n.n(kN),SN=yh()(),ON=Ou.a.module("Ring.place-under",[]);ON.directive("rgPlaceUnder",["$window","getClosestElementWithCommonParent","rgPlaceUnderHelper",function(e,t,n){return{restrict:"A",link:function(e,r,o){var i=r[0],a=n.createPositionSynchronizer(i,o,e);o.$observe("rgPlaceUnder",(function(n){n&&e.$evalAsync((function(){var e=t(i,n);if(!e)throw new Error("rgPlaceUnder cannot find element to sync with.");a.syncPositionWith(e)}))}))}}}]),ON.factory("getClosestElementWithCommonParent",(function(){return function e(t,n){var r=t.parentNode;return r?r.query(n)||e(r,n):null}})),ON.factory("rgPlaceUnderHelper",["$window",function(e){return{DEBOUNCE_INTERVAL:10,AFTER_SCROLL_RECHECK_INTERVAL:50,HEIGHT_CHECK_INTERVAL:50,createPositionSynchronizer:function(t,n,r){var o=parseInt(n.placeTopOffset,10)||0,i=n.syncHeight,a=[],s=[];function l(){s.map((function(e){return e()})),s=[]}return n.syncBottom&&(a=n.syncBottom.split(",")),r.$on("$destroy",l),{waitForNonZeroHeight:function(t){return new Promise((function(n){!function r(){0===t.offsetHeight?e.setTimeout(r,50):n()}()}))},onScroll:function(n){var r=jc(),s=e.document.documentElement&&e.document.documentElement.offsetHeight||e.document.body.offsetHeight,l=n.offsetHeight,c=n.getBoundingClientRect().top+r+l,u=Math.max(c-r,l);if(t.style.marginTop="".concat(u+o,"px"),i){var f=0;if(a.length)for(var d=0;d<a.length;d++){var p=a[d].split(";"),h=e.document.querySelector(p[0]),m=p[1]?parseInt(p[1],10):0;if(h){var g=h.getBoundingClientRect();if(0===g.top)continue;var v=parseInt(e.getComputedStyle(h).getPropertyValue("margin-top"),10);(f=s-g.top+v+m)<0&&(f=0);break}}t.style.height="calc(100% - ".concat(parseInt(t.style.marginTop,10)+f,"px)")}},syncPositionWith:function(t){var o=this;l();var i=MN()((function(){return o.onScroll(t)}),50),a=MN()((function(){o.onScroll(t),i()}),10);this.waitForNonZeroHeight(t).then(a),e.addEventListener("scroll",a),s.push((function(){e.removeEventListener("scroll",a)})),s.push(r.$watch("show",a)),s.push(r.$on("rgPlaceUnder:sync",a));var c=n.listenToHeightChange?e.document.querySelector(n.listenToHeightChange):e.document.body;SN.listenTo(c,a),s.push((function(){return SN.removeAllListeners(c)}))}}}}}]);var EN=ON.name,LN=n(137),TN=n.n(LN);function DN(e){return(DN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function CN(){return(CN=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function PN(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function jN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function AN(e,t){return(AN=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function IN(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=HN(e);if(t){var o=HN(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return RN(this,n)}}function RN(e,t){return!t||"object"!==DN(t)&&"function"!=typeof t?$N(e):t}function $N(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HN(e){return(HN=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function NN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zN=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AN(e,t)}(a,e);var t,n,r,i=IN(a);function a(){var e;jN(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return NN($N(e=i.call.apply(i,[this].concat(n))),"progressbarWrapperRef",(function(t){e.progressbarWrapper=t})),NN($N(e),"progressbarRef",(function(t){e.progressbar=t})),e}return t=a,r=[{key:"toPercent",value:function(e,t){var n=100*e/t;return n>100?100:n}}],(n=[{key:"componentDidMount",value:function(){"boolean"==typeof this.props.light&&console.warn('Ring UI Progress component doesn\'t have "light" prop anymore. Please use "theme" instead')}},{key:"render",value:function(){var e,t=this.props,n=t.theme,r=t.light,i=t.className,l=t.global,c=t.max,u=t.value,f=PN(t,["theme","light","className","global","max","value"]),d=r?Nl.DARK:n,p=u?"".concat(a.toPercent(u,c),"%"):null,h=s()(TN.a.progressBar,i,(NN(e={},TN.a.light,d===Nl.LIGHT),NN(e,TN.a.dark,d===Nl.DARK),NN(e,TN.a.globalMode,l),e));return o.a.createElement("div",CN({},f,{className:h,ref:this.progressbarWrapperRef}),o.a.createElement("div",{className:TN.a.line,ref:this.progressbarRef,role:"progressbar","aria-valuenow":u,"aria-valuemin":0,"aria-valuemax":c,style:{width:p}}))}}])&&YN(t.prototype,n),r&&YN(t,r),a}(r.PureComponent);NN(zN,"propTypes",{light:c.a.bool,theme:c.a.string,global:c.a.bool,className:c.a.string,max:c.a.number,value:c.a.number}),NN(zN,"defaultProps",{max:1,value:0,theme:Nl.LIGHT});cy(zN,"ProgressBar").name,n(1074);var FN=n(38),BN=n.n(FN);function UN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var WN=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,r=[{key:"createKey",value:function(e){var t=e.description,n=e.group,r=e.icon,o=e.option,i=e.prefix,a=void 0===i?"":i,s=e.suffix;return a+o+(void 0===s?"":s)+n+t+(r?r.substring(r.length-44):"")}},{key:"renderLabel",value:function(e){var t,n=e.className,r=e.matchingStart,i=e.matchingEnd,a=e.option,s=e.prefix,l=void 0===s?"":s,c=e.suffix,u=void 0===c?"":c,f="",d="";r!==i?(f=a.substring(0,r),t=o.a.createElement("span",{className:BN.a.highlight},a.substring(r,i)),d=a.substring(i)):t=a;var p=l&&o.a.createElement("span",{className:BN.a.service},l),h=u&&o.a.createElement("span",{className:BN.a.service},u);return o.a.createElement("span",{className:n},p,f,t,d,h)}},{key:"renderGroupSeparator",value:function(e,t){var n=e.group,r=e.option,o=yA.ListProps.Type.SEPARATOR;return t!==n?{key:r+n+o,description:n,rgItemType:o}:null}},{key:"renderList",value:function(t,n){var r=[];return t.forEach((function(t,o,i){var a=i[o-1]&&i[o-1].group,s=e.renderGroupSeparator(t,a);s&&r.push(s),r.push(n(t))})),r}}],(n=null)&&UN(t.prototype,n),r&&UN(t,r),e}();function VN(e){return(VN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qN(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function GN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function JN(e,t){return(JN=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function QN(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ez(e);if(t){var o=ez(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ZN(this,n)}}function ZN(e,t){return!t||"object"!==VN(t)&&"function"!=typeof t?XN(e):t}function XN(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ez(e){return(ez=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nz=PA.ListProps.Dimension.ITEM_PADDING+PA.PopupProps.Dimension.BORDER_WIDTH;function rz(){}function oz(e){return e.trim().replace(/([\n\r])+/g," ")}var iz=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JN(e,t)}(l,e);var t,n,r,a=QN(l);function l(){var e;GN(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tz(XN(e=a.call.apply(a,[this].concat(n))),"state",{dirty:!e.props.query,query:e.props.query,placeholderEnabled:!e.props.query,shortcuts:!0,suggestions:[],showPopup:!1}),tz(XN(e),"ngModelStateField","query"),tz(XN(e),"handleBlur",(function(t){t.relatedTarget&&e.handleFocusChange(t)})),tz(XN(e),"handleFocusChange",(function(t){var n="focus"===t.type;e.immediateState.focus=n,!e.node||!n&&e.mouseIsDownOnInput||(n?e.setCaretPosition():(e.blurInput(),e.mouseIsDownOnPopup||e.closePopup()),e.mouseIsDownOnPopup||e.props.onFocusChange({focus:n}),e.setState({shortcuts:!!n}))})),tz(XN(e),"nodeRef",(function(t){e.node=t})),tz(XN(e),"setCaretPosition",(function(){var t=null!=e.immediateState.query&&e.immediateState.query.length,n=e.immediateState.caret<t?e.immediateState.caret:t;e.immediateState.focus&&!e.props.disabled&&(Number.isInteger(e.immediateState.selection)?(e.caret.setPosition(n>=0?n:-1),e.scrollInput()):e.immediateState.selection&&void 0!==e.immediateState.selection.startOffset?e.caret.setPosition(e.immediateState.selection):e.caret.setPosition(-1))})),tz(XN(e),"togglePlaceholder",(function(){var t=""===e.getQuery();t!==(""===e.immediateState.query)&&e.setState({placeholderEnabled:t})})),tz(XN(e),"handleInput",(function(t){e.togglePlaceholder();var n={dirty:!0,query:e.getQuery(),caret:Number.isInteger(e.caret.getPosition())?e.caret.getPosition():e.caret.getPosition().position,focus:!0};e.immediateState.query!==n.query||e.isComposing?e.isComposing||(e.immediateState=n,e.props.onChange(n),e.requestData()):e.handleCaretMove(t)})),tz(XN(e),"handleEnter",(function(e){"Enter"===e.key&&$c(e)})),tz(XN(e),"handleTab",(function(t){var n=e._popup&&e._popup.list,r=n&&(n.getSelected()||n.getFirst());return r&&e.state.showPopup?($c(t),e.getQuery()===e.immediateState.suggestionsQuery&&e.handleComplete(r,!0)):!e.state.loading||($c(t),!1)})),tz(XN(e),"handlePaste",(function(t){if(t.clipboardData&&document.queryCommandSupported("insertText")){$c(t);var n=oz(t.clipboardData.getData("text/plain"));document.execCommand("insertText",!1,n),e.handleInput(t)}})),tz(XN(e),"handleCaretMove",(function(t){if(!e.isComposing){var n=Number.isInteger(e.caret.getPosition())?e.caret.getPosition():e.caret.getPosition().position,r=!e.state.showPopup&&"click"===t.type;e.props.disabled||n===e.immediateState.caret&&!r||(e.immediateState.caret=n,e.scrollInput(),e.requestData())}})),tz(XN(e),"handleStyleRangesResponse",(function(t){t.suggestions;var n=qN(t,["suggestions"]);return e.handleResponse(n)})),tz(XN(e),"handleResponse",(function(t){var n=t.query,r=void 0===n?"":n,o=t.caret,i=void 0===o?0:o,a=t.styleRanges,s=t.suggestions,l=void 0===s?[]:s;return new Promise((function(t,n){if(r!==e.getQuery()||i!==e.immediateState.caret&&void 0!==e.immediateState.caret)n(new Error("Current and response queries mismatch"));else{if(!e.node)return;var o={dirty:e.immediateState.dirty,loading:!1,placeholderEnabled:!r,query:r,suggestions:l,showPopup:!!l.length};e.immediateState.suggestionsQuery=r,Vd()(e.state.styleRanges,a)||(o.styleRanges=a),e.immediateState.selection=e.caret.getPosition(),e.setState(o,t)}}))})),tz(XN(e),"handleApply",(function(){return e.closePopup(),e.immediateState.dirty=!1,e.immediateState.query===e.state.query&&e.setState({dirty:!1}),e.props.onApply(e.immediateState)})),tz(XN(e),"handleComplete",(function(t,n){if(t&&t.data){var r=e.getQuery(),o=e.immediateState.caret,i=t.data,a=i.prefix||"",s=i.suffix||"",l={caret:i.caret,query:r.substr(0,i.completionStart)+a+i.option+s};l.query+="boolean"==typeof n&&n?e.immediateState.query.substr(i.completionEnd):e.immediateState.query.substr(e.immediateState.caret),e.props.onChange(l);var c={focus:!0};e.props.onFocusChange(c),l.query!==e.immediateState.query&&e.setState({placeholderEnabled:!l.query,query:l.query}),e.immediateState=Object.assign(l,c),e.immediateState.caret!==o&&e.setCaretPosition(),e.closePopup(),e.requestData()}else e.handleApply()})),tz(XN(e),"requestStyleRanges",(function(){var t=e.immediateState,n=t.query,r=t.caret;return n?e.sendRequest({query:n,caret:r,omitSuggestions:!0}).then(e.handleStyleRangesResponse).catch(rz):Promise.reject(new Error("Query is empty"))})),tz(XN(e),"requestHandler",(function(){if(e.props.disabled)return Promise.reject(new Error("QueryAssist(@jetbrains/ring-ui): null exception"));var t=e.immediateState,n=t.query,r=t.caret;return e.sendRequest({query:n,caret:r}).then(e.handleResponse).catch(rz)})),tz(XN(e),"handleCtrlSpace",(function(t){$c(t),e.state.showPopup||e.requestData()})),tz(XN(e),"trackPopupMouseState",(function(t){e.mouseIsDownOnPopup="mousedown"===t.type})),tz(XN(e),"trackInputMouseState",(function(t){e.mouseIsDownOnInput="mousedown"===t.type})),tz(XN(e),"trackCompositionState",(function(t){e.isComposing="compositionend"!==t.type})),tz(XN(e),"closePopup",(function(){e.node&&e.setState({showPopup:!1})})),tz(XN(e),"clearQuery",(function(){var t={dirty:!1,caret:0,query:"",focus:!0};e.props.onChange(t),e.props.onClear(),e.immediateState=t,e.setState({dirty:!1,query:"",placeholderEnabled:!0,loading:!1})})),tz(XN(e),"inputRef",(function(t){t&&(e.input=Object(i.findDOMNode)(t),e.caret=new Fb(e.input))})),tz(XN(e),"popupRef",(function(t){e._popup=t})),tz(XN(e),"placeholderRef",(function(t){e.placeholder=t})),tz(XN(e),"glassRef",(function(t){e.glass=t})),tz(XN(e),"loaderRef",(function(t){e.loader=t})),tz(XN(e),"clearRef",(function(t){e.clear=t})),tz(XN(e),"shortcutsScope",lc("ring-query-assist-")),tz(XN(e),"shortcutsMap",{del:rz,enter:e.handleComplete,"command+enter":e.handleComplete,"ctrl+enter":e.handleComplete,"ctrl+space":e.handleCtrlSpace,tab:e.handleTab,right:rz,left:rz,space:rz,home:rz,end:rz}),e}return t=l,(n=[{key:"UNSAFE_componentWillMount",value:function(){this.setState({shortcuts:!!this.props.focus})}},{key:"componentDidMount",value:function(){var e=this.props.query||"";this.immediateState={query:e,caret:Number.isFinite(this.props.caret)?this.props.caret:e.length,focus:Boolean(this.props.autoOpen||this.props.focus)},this.setupRequestHandler(this.props.delay),this.props.autoOpen?this.requestHandler().catch(rz):this.requestStyleRanges().catch(rz),this.setCaretPosition()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.caret,n=e.delay,r=e.query;if(this.setupRequestHandler(n),"number"==typeof t&&(this.immediateState.caret=t),"string"==typeof r&&r!==this.immediateState.query){this.immediateState.query=r;var o=rz;r&&this.props.autoOpen?o=this.requestData:r&&(o=this.requestStyleRanges),this.setState({query:r,placeholderEnabled:!r},o)}}},{key:"shouldComponentUpdate",value:function(e,t){return t.query!==this.state.query||t.dirty!==this.state.dirty||t.loading!==this.state.loading||t.showPopup!==this.state.showPopup||t.suggestions!==this.state.suggestions||t.styleRanges!==this.state.styleRanges||t.placeholderEnabled!==this.state.placeholderEnabled||e.placeholder!==this.props.placeholder||e.disabled!==this.props.disabled||e.clear!==this.props.clear||e.focus!==this.props.focus||e.actions!==this.props.actions||e.loader!==this.props.loader||e.glass!==this.props.glass}},{key:"componentDidUpdate",value:function(e){this.updateFocus(e)}},{key:"updateFocus",value:function(e){var t=e.focus,n=e.caret!==this.props.caret,r=t!==this.props.focus;if(r||n){var o=!r||this.props.focus;this.setFocus(o)}}},{key:"scrollInput",value:function(){var e=this.caret.getOffset();this.input.clientWidth!==this.input.scrollWidth&&e>this.input.clientWidth&&(this.input.scrollLeft+=e)}},{key:"getQuery",value:function(){return this.input.textContent.replace(/\s/g," ")}},{key:"isRenderingGlassOrLoader",value:function(){var e=!1!==this.props.loader&&this.state.loading;return this.props.glass||e}},{key:"sendRequest",value:function(e){var t=this,n=this.props.dataSource(e),r=Promise.resolve(n),o=window.setTimeout((function(){t.node&&t.setState({loading:!0}),e.query===t.immediateState.query&&t.closePopup()}),500);return r.then((function(){return window.clearTimeout(o)})),r}},{key:"getPopupOffset",value:function(e){var t=this.isRenderingGlassOrLoader()?12:0;if(!this.input)return t;var n=e&&e[0],r=n&&n.completionStart!==n.completionEnd&&n.completionStart,o=this.input.firstChild&&this.input.firstChild.children,i=o&&Number.isInteger(r)&&o[Math.min(r,o.length-1)],a=i&&Dc(i).right-Dc(this.input).left;if(!a){var s=this.caret.getOffset();if(0===s)return t;a=s}var l=a-nz;return l<t?t:l}},{key:"blurInput",value:function(){this.caret.target.blur()}},{key:"setupRequestHandler",value:function(e){var t="number"==typeof e,n=this.requestData!==this.requestHandler;this.requestData&&n===t||(this.requestData=t?MN()(this.requestHandler,e):this.requestHandler)}},{key:"_renderSuggestion",value:function(e){var t=PA.ListProps.Type.ITEM,n=e.description,r=e.icon,o=e.group;return{key:WN.createKey(e),icon:r,label:WN.renderLabel(e),description:n,group:o,rgItemType:t,data:e}}},{key:"renderSuggestions",value:function(){var e=this.state.suggestions;return e&&e.length?WN.renderList(e,this._renderSuggestion):[]}},{key:"renderQuery",value:function(){var e=this.state,t=e.dirty,n=e.styleRanges,r=e.query,i=[],a=BN.a.letterDefault;return n&&n.length&&n.forEach((function(e,r){if(!t||r!==n.length-1||"text"!==e.style)for(var o="".concat("letter","-").concat(e.style.replace("_","-")),a=e.start;a<e.start+e.length;a++)i[a]=BN.a[o]})),Array.from(r).map((function(e,t,n){var r=s()(BN.a.letter,i[t]||a),l=n.length-1===t?"ring-query-assist-last-letter":null;return o.a.createElement("span",{key:t+e,className:r,"data-test":l}," "===e?" ":e)}))}},{key:"setFocus",value:function(e){this.setState({shortcuts:!!e});var t=Boolean(this.immediateState.focus);!1===e&&t?(this.immediateState.focus=e,this.blurInput()):!0!==e||t||(this.immediateState.focus=e,this.setCaretPosition())}},{key:"renderActions",value:function(){var e=[].concat(this.props.actions||[]);return this.props.clear&&!!this.state.query&&e.push(o.a.createElement(zm,{icon:v.a,key:"clearAction",className:BN.a.icon,iconClassName:BN.a.iconInner,title:this.props.translations.clearTitle,ref:this.clearRef,onClick:this.clearQuery,"data-test":"query-assist-clear-icon"})),e}},{key:"render",value:function(){var e,t=this.props,n=t.theme,r=t.glass,i=t["data-test"],a=t.useCustomItemRender,l=!!this.props.placeholder&&this.state.placeholderEnabled,c=!1!==this.props.loader&&this.state.loading,u=r&&!c,f=n===Nl.DARK,d=this.renderActions(),p=s()((tz(e={},"".concat(BN.a.input," ring-js-shortcuts"),!0),tz(e,BN.a.inputGap,d.length),tz(e,BN.a.inputGap2,2===d.length),tz(e,BN.a.inputLeftGap,this.isRenderingGlassOrLoader()),tz(e,BN.a.inputDisabled,this.props.disabled),e));return o.a.createElement("div",{"data-test":ql("ring-query-assist",i),className:s()(BN.a.queryAssist,BN.a[n]),onMouseDown:this.trackInputMouseState,onMouseUp:this.trackInputMouseState,role:"presentation",ref:this.nodeRef},this.state.shortcuts&&o.a.createElement(um,{map:this.shortcutsMap,scope:this.shortcutsScope}),u&&o.a.createElement(zm,{icon:Da.a,className:BN.a.icon,iconClassName:BN.a.iconInner,title:this.props.translations.searchTitle,ref:this.glassRef,onClick:this.handleApply,"data-test":"query-assist-search-icon"}),c&&o.a.createElement("div",{className:s()(BN.a.icon,BN.a.loader,tz({},BN.a.loaderOnTheRight,!r)),ref:this.loaderRef},o.a.createElement(Sc,{theme:n})),o.a.createElement(xk,{"aria-label":this.props.translations.searchTitle,className:p,"data-test":"ring-query-assist-input",ref:this.inputRef,disabled:this.props.disabled,onComponentUpdate:this.setCaretPosition,onBlur:this.handleBlur,onClick:this.handleCaretMove,onCompositionStart:this.trackCompositionState,onCompositionEnd:this.trackCompositionState,onFocus:this.handleFocusChange,onInput:this.handleInput,onKeyUp:this.handleInput,onKeyDown:this.handleEnter,onPaste:this.handlePaste,spellCheck:"false"},this.state.query&&o.a.createElement("span",null,this.renderQuery())),l&&o.a.createElement("button",{type:"button",className:s()(BN.a.placeholder,tz({},BN.a.placeholderSpaced,r)),ref:this.placeholderRef,onClick:this.handleCaretMove,"data-test":"query-assist-placeholder"},this.props.placeholder),f&&o.a.createElement("div",{className:BN.a.focusUnderline}),d&&o.a.createElement("div",{"data-test":"ring-query-assist-actions",className:BN.a.actions},d),o.a.createElement(PA,{hidden:!this.state.showPopup,onCloseAttempt:this.closePopup,ref:this.popupRef,anchorElement:this.node,keepMounted:!0,attached:!0,className:s()(BN.a[n],this.props.popupClassName),directions:[PA.PopupProps.Directions.BOTTOM_RIGHT],data:a?this.state.suggestions:this.renderSuggestions(),"data-test":"ring-query-assist-popup",hint:this.props.hint,hintOnSelection:this.props.hintOnSelection,left:this.getPopupOffset(this.state.suggestions),maxHeight:PA.PopupProps.MaxHeight.SCREEN,onMouseDown:this.trackPopupMouseState,onMouseUp:this.trackPopupMouseState,onSelect:this.handleComplete}))}}])&&KN(t.prototype,n),r&&KN(t,r),l}(r.Component);tz(iz,"propTypes",{theme:c.a.string,autoOpen:c.a.bool,caret:c.a.number,clear:c.a.bool,className:c.a.string,popupClassName:c.a.string,dataSource:c.a.func.isRequired,delay:c.a.number,disabled:c.a.bool,focus:c.a.bool,hint:c.a.string,hintOnSelection:c.a.string,glass:c.a.bool,loader:c.a.bool,placeholder:c.a.string,onApply:c.a.func,onChange:c.a.func,onClear:c.a.func,onFocusChange:c.a.func,query:c.a.string,useCustomItemRender:c.a.bool,translations:c.a.object,actions:c.a.array,"data-test":c.a.string}),tz(iz,"defaultProps",{theme:Nl.LIGHT,onApply:rz,onChange:rz,onClear:rz,onFocusChange:rz,translations:{searchTitle:"Search",clearTitle:"Clear search input"}}),tz(iz,"ngModelStateField","query"),tz(iz,"Theme",Nl);FS(iz,{captureNode:!1}),cy(iz,"QueryAssist").name;var az=n(162),sz=n.n(az);function lz(e){return(lz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function cz(){return(cz=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function uz(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dz(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pz(e,t){return(pz=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function hz(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vz(e);if(t){var o=vz(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return mz(this,n)}}function mz(e,t){return!t||"object"!==lz(t)&&"function"!=typeof t?gz(e):t}function gz(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vz(e){return(vz=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function yz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bz=Object(r.createContext)({}),_z=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pz(e,t)}(a,e);var t,n,r,i=hz(a);function a(){var e;fz(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return yz(gz(e=i.call.apply(i,[this].concat(n))),"uid",lc("ring-radio-item-")),yz(gz(e),"inputRef",(function(t){e.input=t})),yz(gz(e),"labelRef",(function(t){e.label=t})),e}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=uz(e,["className","children"]),i=s()(sz.a.radio,t);return o.a.createElement("label",{ref:this.labelRef,className:i,htmlFor:this.uid},o.a.createElement("input",cz({name:name,id:this.uid},r,{ref:this.inputRef,className:sz.a.input,type:"radio"})),o.a.createElement("span",{className:sz.a.circle}),o.a.createElement("span",{className:sz.a.label},n))}}])&&dz(t.prototype,n),r&&dz(t,r),a}(r.Component);yz(_z,"propTypes",{className:c.a.string,children:c.a.node,value:c.a.string,name:c.a.string,checked:c.a.bool,onChange:c.a.func});var wz=Object(r.forwardRef)((function(e,t){return o.a.createElement(bz.Consumer,null,(function(n){var r=n.value,i=n.onChange,a=uz(n,["value","onChange"]);return o.a.createElement(_z,cz({ref:t},a,{checked:null!=r?r===e.value:void 0,onChange:i&&function(){return i(e.value)}},e))}))}));wz.propTypes=_z.propTypes;var xz=wz;function kz(e){return(kz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Mz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mz(Object(n),!0).forEach((function(t){jz(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mz(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Oz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ez(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lz(e,t){return(Lz=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Tz(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Pz(e);if(t){var o=Pz(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Dz(this,n)}}function Dz(e,t){return!t||"object"!==kz(t)&&"function"!=typeof t?Cz(e):t}function Cz(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pz(e){return(Pz=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function jz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Yz=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lz(e,t)}(a,e);var t,n,r,i=Tz(a);function a(){var e;Oz(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return jz(Cz(e=i.call.apply(i,[this].concat(n))),"uid",lc("ring-radio-")),e}return t=a,(n=[{key:"render",value:function(){return o.a.createElement(bz.Provider,{value:Sz({name:this.uid},this.props)},this.props.children)}}])&&Ez(t.prototype,n),r&&Ez(t,r),a}(r.Component);jz(Yz,"propTypes",{name:c.a.string,disabled:c.a.bool,value:c.a.oneOfType([c.a.string,c.a.number,c.a.bool]),onChange:c.a.func,children:c.a.node.isRequired}),jz(Yz,"Item",xz);n(1077);function Az(e){return(Az="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Iz=Ou.a.module("Ring.shortcuts",[]);Iz.provider("shortcuts",(function(){var e={},t={},n=[];function r(r){return e[r.id]=r.shortcuts,t[r.id]=!!r.main,r.hasOwnProperty("title")&&n.push(r),this}this.mode=r,this.$get=["$rootScope",function(o){return{addMode:r,bind:function(t,n,r){var i=e[t];if("object"===Az(n)){if(!i)throw new Error("Shortcut mode ".concat(t," is not declared"));i.forEach((function(e){Ou.a.isFunction(n[e.action])&&tm.bind({key:e.key,scope:r||t,handler:function(){var t=n[e.action].apply(n,arguments);return o.$$phase||o.$apply(),t}})}))}},triggerAction:function(t,n){for(var r=e[t],o=r.length-1;o>=0;o--)if(r[o].action===n)return tm.trigger(r[o].key[0]||r[o].key)},isMainMode:function(e){return t[e]},getRegisteredShortcuts:function(){return n},shortcuts:tm}}]})),Iz.directive("rgShortcutsApp",(function(){return{restrict:"A",controller:["$scope","$rootScope","$attrs","shortcuts",function(e,t,n,r){var o=this;e.zones=[],e.loop="shortcutsLoop"in n,this.deselect=function(){e.current.onBlur(),e.current=null},this.getCurrent=function(){return e.current},this.select=function(t){e.current!==t&&(e.current&&(tm.spliceScope(e.current.scope),o.deselect()),t&&(tm.pushScope(t.scope),e.current=t))},this.route=function(t,n,i,a){var s;return!!e.zones.length&&(e.current&&e.current.scope!==tm.getScope().pop().scopeId&&o.deselect(),"main"===t?e.zones.forEach((function(t,n){r.isMainMode(t.name)&&(s=e.zones[n])})):s=function t(n,r){var o,i=n&&e.zones.indexOf(n);return i>=0&&(o=r?e.zones[i-1]:e.zones[i+1]),o||!e.loop&&n||(o=r?e.zones[e.zones.length-1]:e.zones[0]),o||(o=e.zones[0]),!o||document.documentElement.contains(o.element)&&"none"!==Ec(o.element).display||(o=t(o,r)),o}(e.current,"prev"===t),s?(o.select(s),tm.hasKey(i,s.scope)&&tm.trigger(i)):r.triggerAction(a,"next"===t?"prev":"next"),!1)},this.sort=function(){var t=document.queryAll("[rg-shortcuts]");e.zones.forEach((function(e){e.order=t.indexOf(e.element)})),e.zones.sort((function(e,t){return e.order-t.order}))},this.setup=function(t,n){r.bind(t.name,n,t.scope),e.zones.push(t),o.sort()},this.destroy=function(t){tm.spliceScope(t.scope),tm.unbindScope(t.scope);var n=e.zones.indexOf(t);-1!==n&&e.zones.splice(n,1)};var i={next:this.route.bind(this,"next"),prev:this.route.bind(this,"prev"),main:this.route.bind(this,"main")};r.bind("ring-shortcuts",i),tm.pushScope("ring-shortcuts")}]}})),Iz.directive("rgShortcuts",["$parse",function(e){return{restrict:"A",require:["^rgShortcutsApp"],link:function(t,n,r,o){var i=o[o.length-1],a=r.rgShortcuts,s=e(r.shortcutsFocus),l=e(r.shortcutsBlur),c={name:a,scope:"".concat(a,"-").concat(t.$id),element:n[0],onBlur:l(t)||Ou.a.noop};t.$evalAsync((function(){i.setup(c,t.$eval(r.shortcutsMap))})),t.$watch((function(){return s(t)}),(function(e){e&&i.select(c)})),t.$on("$destroy",(function(){i.destroy(c)}))}}}]),Iz.directive("rgShortcutsGlobal",["shortcuts",function(e){return{restrict:"A",link:function(t,n,r){var o=r.rgShortcutsGlobal,i="".concat(o,"-").concat(t.$id);t.$evalAsync((function(){e.bind(o,t.$eval(r.shortcutsMap),i),tm.pushScope(i)})),t.$on("$destroy",(function(){tm.spliceScope(i),tm.unbindScope(i)}))}}}]);var Rz=Iz.name;function $z(e){return($z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Hz=Ou.a.module("Ring.save-field",[xv,FD,Rz,gb,Lb,tT]);Hz.constant("rgSaveFieldShortcutsMode",{id:"ring-save-field",shortcuts:[{key:"ctrl+enter",action:"comboSubmit"},{key:"enter",action:"submit"},{key:"esc",action:"cancel"},{key:"up",action:"noop"},{key:"down",action:"noop"}]}),Hz.directive("rgSaveField",["RingMessageBundle","$timeout","$q","$compile","$parse",function(e,t,r,o,i){var a=/(\r\n|\n|\r)/gm;return{require:"rgSaveField",transclude:!0,template:n(1079),scope:{api:"=?",value:"=",workingValue:"=",onSave:"&",afterSave:"&?",validate:"&?",parseElement:"&?",formatElement:"&?",multiline:"@"},link:function(n,s,l,c){var u=Ou.a.element(s[0].querySelector(".ring-save-field__transclude-placeholder"));o(Ou.a.element('<div rg-error-bubble="saveFieldForm"></div>'))(n,(function(e){u.append(e)}));var f={message:""},d=null,p=!1,h=l.workingValue,m=h?"workingValue":"value";function g(){if(!n.saveFieldForm.$valid||n.loading||Ou.a.equals(n.initial,n[m]))return!1;function e(){return r.when(n.afterSave({value:n[m]}))}n.cancelBlur(),n.loading=!0;var o=c.getSave();return(o=o?r.when(o(n[m])):r.when(n.onSave({value:n[m]}))).then((function(){if(n.initial=Ou.a.copy(n[m]),n.saveFieldForm.$setPristine(),n.done=!0,h&&(n.value=n.workingValue),t((function(){n.done=!1}),1e3),n.afterSave)return h?t(e):e()}),(function(e){var t;if("string"==typeof e)t=e;else if("object"===$z(e)){var r=e.data||e;t=r.error_description||r.error_developer_message}f.message=t,n.saveFieldForm.$setValidity("customError",!1,f)})).then((function(){n.loading=!1}))}function v(){n.loading||n.$evalAsync((function(){n[m]=n.initial?n.initial:"",n.saveFieldForm.$setValidity("customError",!0,f),n.saveFieldForm.$setPristine()}))}n.cancelBlur=function(){t((function(){d&&(t.cancel(d),d=null)}),10)},h&&n.$watch("value",(function(e){n.workingValue=Ou.a.copy(e),n.initial=e})),n.$watch(m,(function(e){var t=null;n.saveFieldForm.$pristine?n.initial=e:n.initial&&Ou.a.equals(n.initial,e)?v():n.validate&&(t=n.validate({value:e})),r.when(t).then((function(e){return e?r.reject(e):(f.message="",void n.saveFieldForm.$setValidity("customError",!0,f))})).catch((function(e){f.message=e,n.saveFieldForm.$setValidity("customError",!1,f)}))}));var y,b,_=s[0].querySelector("input, .ring-save-field__input");_||(_=s[0].querySelector("textarea"),p=!!_),_&&(_.classList.add("ring-js-shortcuts"),_.addEventListener("focus",(function(){n.$evalAsync((function(){n.focus=!0}))})),_.addEventListener("blur",(function(){n.$evalAsync((function(){n.focus=!1}))})),p&&"list"===n.multiline&&(y=_.name,b=n.$watch("saveFieldForm.".concat(y),(function(e){e&&e.$formatters&&e.$parsers&&(e.$formatters.push((function(e){return e?(l.formatElement?e.map((function(e){return n.formatElement({element:e})})):e).join("\n"):e})),e.$parsers.push((function(e){var t=e&&e.split(a)||[];return t=t.filter((function(e){return e&&e.trim()&&"\n"!==e})),l.parseElement&&(t=t.map((function(e){return n.parseElement({element:e.trim()})}))),t})),b())})))),n.wording={save:e.form_save(),saved:e.form_saved(),cancel:e.form_cancel()},n.keyMap={comboSubmit:function(e){p&&(e.preventDefault(),g())},submit:function(e){p||(e.preventDefault(),g())},cancel:v,noop:Ou.a.noop},n.api={save:g,cancel:v},n.submitChanges=c.submitChanges=g,n.cancelChanges=c.cancelChanges=v,n.focus=!1,n.$on("$destroy",(function(){l.value&&i(l.value).assign(n.$parent,n.initial)}))},controller:function(){var e=null;this.setSave=function(t){e=t},this.getSave=function(){return e}}}}]);Hz.name;function Nz(e){return(Nz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function zz(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bz=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scope=t;var r,o=this.constructor.$parse,i=this.constructor.MATCHES;if(!(r=n.match(this.constructor.OPTIONS_REGEXP)))throw new Error("Bad rgSelect expression format. Expected: [{item}] [[as] item.text] [select as item.selectLabel]"+" [describe as {item.description}] [for] {item} in {items|dataSource(query)} [track by item.id], Received: ".concat(n));this.hasItemGetter=Boolean(r[i.ITEM]&&r[i.LABEL]),this.itemGetter=o(r[i.ITEM]),this.labelGetter=r[i.LABEL]&&o(r[i.LABEL])||this.itemGetter,this.selectedLabelGetter=r[i.SELECTED_LABEL]&&o(r[i.SELECTED_LABEL]),this.descriptionGetter=r[i.DESCRIPTION]&&o(r[i.DESCRIPTION]),this.optionVariableName=r[i.OPTION],this.datasourceGetter=o(r[i.ITEMS]),this.trackByGetter=r[i.TRACK]&&o(r[i.TRACK]),this.datasourceIsFunction=r[i.ITEMS].indexOf("(")>0}var t,n,r;return t=e,(n=[{key:"getProperty",value:function(e,t){if(t){var n={};return n[this.optionVariableName]=e,t.call(this,this.scope,n)}}},{key:"getValue",value:function(e){if(!this.hasItemGetter)return e;var t=this.getProperty(e,this.itemGetter);return void 0===t?e:t}},{key:"getOptionByValue",value:function(e,t){var n=this;if(!this.hasItemGetter)return e;var r,o=t.filter((function(t){var r=n.getValue(t);return"object"===Nz(e)?Vd()(r,e):r===e}));if(o.length>1)throw new Error("Error(rg-select): You can not have two options with same value(".concat("object"===Nz(r=e)?JSON.stringify(r):String(r),")"));return o[0]}},{key:"getKey",value:function(e){return this.getProperty(e,this.trackByGetter)||e[this.constructor.defaultKeyField]||e}},{key:"getLabel",value:function(e){var t="string"==typeof e?e:null;return this.getProperty(e,this.labelGetter)||e[this.constructor.defaultLabelField]||t}},{key:"getSelectedLabel",value:function(e){return this.getProperty(e,this.selectedLabelGetter)||e[this.constructor.defaultSelectedLabelField]}},{key:"getDescription",value:function(e){return this.getProperty(e,this.descriptionGetter)||e[this.constructor.defaultDescriptionField]}},{key:"getOptions",value:function(e,t){return this.datasourceGetter(this.scope,{query:e,skip:t})}}])&&zz(t.prototype,n),r&&zz(t,r),e}();Fz(Bz,"OPTIONS_REGEXP",/^\s*(.*?)(?:\s+as\s+(.*?))?(?:\s+select\s+as\s+(.*?))?(?:\s+describe\sas\s+(.*?))?(?:\s+for\s+)?([$\w]+)\s+in\s+(.*?)(?:\s+track\sby\s+(.*?))?$/),Fz(Bz,"MATCHES",{ITEM:1,LABEL:2,SELECTED_LABEL:3,DESCRIPTION:4,OPTION:5,ITEMS:6,TRACK:7}),Fz(Bz,"defaultKeyField","key"),Fz(Bz,"defaultLabelField","label"),Fz(Bz,"defaultSelectedLabelField","selectedLabel"),Fz(Bz,"defaultDescriptionField","description");var Uz=Ou.a.module("Ring.select.options",[]);Uz.factory("SelectOptions",["$parse",function(e){return Bz.$parse=e,Bz}]);var Wz=Uz.name;function Vz(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var qz=function(){function e(t,n,r,o){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,"onClick",(function(){i._clickHandler()})),this.container=t,this.ctrl=r,this.props=n||{},this.type=o,this.node=t,this._popup={isVisible:Ou.a.noop},this.attachEvents(),this.render()}var t,r,a;return t=e,(r=[{key:"rerender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t in e)if(e.hasOwnProperty(t)){if(e[t]==this.props[t])break;return void this.render(e)}}},{key:"attachEvents",value:function(){this.container.addEventListener("click",this.onClick)}},{key:"detachEvents",value:function(){this.container.removeEventListener("click",this.onClick)}},{key:"render",value:function(e){if(this.reactSelect=o.a.createElement(lN,Object.assign({},this.props,e||{})),this.props=this.reactSelect.props,"dropdown"!==this.type){var t=n(256);this.container.innerHTML=t.renderToString(this.reactSelect)}}},{key:"_clickHandler",value:function(){this.detachEvents(),"dropdown"===this.type?(this.ctrl.selectInstance=Object(i.render)(this.reactSelect,this.container),this.ctrl.selectInstance._clickHandler()):this.ctrl.selectInstance=Object(i.hydrate)(this.reactSelect,this.container)}}])&&Vz(t.prototype,r),a&&Vz(t,a),e}();function Gz(e){return(Gz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Kz=Ou.a.module("Ring.select",[Wz,xv]);Kz.directive("rgSelect",(function(){var e={input:sN.Type.INPUT,button:sN.Type.BUTTON,material:sN.Type.MATERIAL,dropdown:sN.Type.CUSTOM,suggest:sN.Type.INPUT},t={FULL:sN.Size.FULL,S:sN.Size.S,M:sN.Size.M,L:sN.Size.L};return{scope:{ngModel:"=",selectType:"@",lazy:"=?",withInfiniteScroll:"=?",infiniteScrollPackSize:"@",options:"@",optionsScope:"=",label:"@",selectedLabel:"@",externalFilter:"=?",filter:"=?",tags:"=?",multiple:"=?",clear:"=?",onSelect:"&",onDeselect:"&",onOpen:"&",onClose:"&",onChange:"&",notFoundMessage:"@",loadingMessage:"@",config:"=?",configAutoUpdate:"=",selectInstance:"=?",size:"@",dir:"@"},bindToController:!0,controllerAs:"selectCtrl",require:["?ngModel","rgSelect"],link:function(e,t,n,r){var o=r[0];r[1].setNgModelCtrl(o)},controller:["$q","$scope","$element","$attrs","$timeout","SelectOptions","RingMessageBundle",function(n,r,a,s,l,c,u){var f=this,d=a[0],p=document.createElement("span"),h=Number(f.infiniteScrollPackSize)||(f.withInfiniteScroll?50:0);f.selectInstance=null,f.ngModelCtrl=null,f.query=null,f.dataReceived=!1,f.skipNextModelSync=!1;var m=f.optionsScope?f.optionsScope:r.$parent;function g(e,t){return f.loadedOptions&&t>0?(f.loadedOptions=f.loadedOptions.concat(e),f.stopLoadingNewOptions=0===e.length&&h):f.loadedOptions=e,f.lastSkip=t,f.loadedOptions}function v(){return f.selectType||s.type}f.setNgModelCtrl=function(e){f.ngModelCtrl=e},f.syncSelectToNgModel=function(e){function t(e){return e&&e.originalModel?f.optionsParser.getValue(e.originalModel):f.optionsParser.getValue(e)}f.ngModelCtrl&&(f.skipNextModelSync=!0,"suggest"===v()?f.ngModelCtrl.$setViewValue(e.label):Array.isArray(e)?f.ngModelCtrl.$setViewValue(e.map(t)):f.ngModelCtrl.$setViewValue(t(e)))},f.convertNgModelToSelect=function(e){function t(e){var t=f.optionsParser.getOptionByValue(e,f.loadedOptions||[]);return void 0===t&&(t=e),Ou.a.extend({key:f.optionsParser.getKey(t),label:f.optionsParser.getLabel(t),selectedLabel:f.optionsParser.getSelectedLabel(t),description:f.optionsParser.getDescription(t),originalModel:t},"object"===Gz(t)?t:null)}if(null!=e)return Array.isArray(e)?e.map(t):t(e)};var y=null,b=0;f.getOptions=function(e,t){return n.when(f.optionsParser.getOptions(e,t))};var _=null;function w(e){f.skipNextModelSync?f.skipNextModelSync=!1:f.ngModelCtrl&&k({selected:f.convertNgModelToSelect(e)})}function x(){return f.selectInstance._popup.isVisible()}function k(e){f.selectInstance.node&&f.selectInstance.rerender(e)}function M(e,t){g(e,0),e!==t&&f.ngModelCtrl&&w(f.ngModelCtrl.$modelValue)}function S(){var n,o={label:f.label||u.select_label(),selectedLabel:f.selectedLabel,allowAny:"suggest"===v(),hideArrow:"suggest"===v(),filter:f.filter,tags:f.tags,dir:f.dir,multiple:f.multiple,popupClassName:s.popupClass,clear:f.clear,ringPopupTarget:(n=document.querySelector("[data-anchor=dialog-container][data-in-sidebar=false]"),n&&n.contains(d)?"dialog-ng-popup-container":null),renderOptimization:"dropdown"!==v(),type:e[v()]||e.material,loadingMessage:f.loadingMessage||u.select_loading(),notFoundMessage:f.notFoundMessage||u.select_options_not_found(),targetElement:"dropdown"===v()?d:null,size:t[f.size]||t.FULL,onBeforeOpen:function(){f.lastSkip=-1,f.loadedOptions=[],f.stopLoadingNewOptions=!1,f.loadOptionsToSelect(f.query),r.$evalAsync((function(){}))},onOpen:function(){r.$evalAsync((function(){f.onOpen()}))},onClose:function(){f.query=null,r.$evalAsync((function(){f.onClose()}))},onSelect:function(e,t){r.$evalAsync((function(){f.onSelect({selected:e,event:t})}))},onDeselect:function(e,t){r.$evalAsync((function(){f.onDeselect({deselected:e,event:t})}))},onChange:function(e,t){f.syncSelectToNgModel(e),r.$evalAsync((function(){f.onChange({selected:e,event:t})}))},onFilter:function(e){r.$evalAsync((function(){f.query=e,f.externalFilter&&f.loadOptionsToSelect(e),f.onFilter&&f.onFilter(e)}))},reloadOptions:function(e){r.$evalAsync((function(){f.loadOptionsToSelect(e||f.query)}))},getLoadedOptions:function(){return f.loadedOptions}};return h&&(o.onLoadMore=function(){0===b&&r.$evalAsync((function(){f.loadOptionsToSelect(f.query)}))}),o}f.showLoader=function(){"suggest"!==v()&&k({loading:!0})},f.loadOptionsToSelect=function(e){if(f.stopLoadingNewOptions&&e===y)return n.resolve();f.stopLoadingNewOptions=!1;var t=function(e,t){return h&&e===t&&f.loadedOptions?f.lastSkip<0?0:f.lastSkip+h:0}(e,y);return y=e,l.cancel(_),f.dataReceived?_=l(f.showLoader,150):f.showLoader(),b++,f.getOptions(e,t).then((function(n){if(b--,!(e!==y||t&&-1!==f.lastSkip&&t!==f.lastSkip+h&&f.infiniteScrollPackSize)){var r=g(n.data||n,t).map(f.convertNgModelToSelect);l.cancel(_),f.dataReceived=!0,k({data:r,loading:!1})}})).catch((function(e){return b--,l.cancel(_),k({loading:!1}),n.reject(e)}))},f.$onDestroy=function(){Object(i.unmountComponentAtNode)(p),f.defaultConfig&&f.config&&Object.keys(f.defaultConfig).filter((function(e){return f.config[e]===f.defaultConfig[e]})).forEach((function(e){delete f.config[e]}))},f.$onInit=function(){f.optionsParser=new c(m,f.options),f.lazy=!f.hasOwnProperty("lazy")||f.lazy,f.externalFilter&&(f.filter=f.filter||{},f.filter.fn=function(){return!0}),f.defaultConfig=S(),f.config=Ou.a.extend({},f.defaultConfig,f.config||{}),"suggest"===v()||"input"===v()?f.selectInstance=Object(i.render)(o.a.createElement(lN,f.config),p):f.selectInstance=new qz(p,f.config,f,v()),d.appendChild(p),f.lazy||(f.optionsParser.datasourceIsFunction?f.loadOptionsToSelect(f.query):r.$watch((function(){return f.optionsParser.getOptions(f.query,0)}),M,!0)),r.$watch((function(){return f.ngModelCtrl&&f.ngModelCtrl.$modelValue}),w,!0),s.$observe("disabled",(function(e){k({disabled:e})})),r.$watch((function(){return f.multiple}),(function(){Ou.a.isDefined(f.multiple)&&k({multiple:f.multiple})})),f.configAutoUpdate&&r.$watchCollection((function(){return f.config}),(function(e,t){e!==t&&k(e)})),function(){if("dropdown"===v()){var e=function(){f.selectInstance._clickHandler()};d.addEventListener("click",e),d.addEventListener("keydown",(function(t){var n=eY(t),r=t.ctrlKey||t.altKey||t.metaKey||t.shiftKey;("Enter"===n&&!r||" "===n)&&(x()||(e(),t.preventDefault(),t.stopPropagation()))}))}}(),r.$on("$locationChangeSuccess",(function(){x()&&f.selectInstance._hidePopup()}))}}]}}));Kz.name;var Jz=n(265),Qz=n.n(Jz);function Zz(e){return(Zz="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tF(e,t){return(tF=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function nF(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=oF(e);if(t){var o=oF(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rF(this,n)}}function rF(e,t){return!t||"object"!==Zz(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function oF(e){return(oF=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function iF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var aF=Ou.a.module("Ring.input",[gb]),sF=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tF(e,t)}(i,e);var t,n,r,o=nF(i);function i(){return Xz(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"$onInit",value:function(){var e=this;this.closeIcon=v.a,this.ngModelCtrl&&(this.ngModelCtrl.$render=function(){e.value=e.ngModelCtrl.$viewValue})}},{key:"onInputChange",value:function(){this.ngModelCtrl&&this.ngModelCtrl.$setViewValue(this.value)}},{key:"stretch",value:function(e){e&&(e.style.height="".concat(e.scrollHeight,"px"))}},{key:"onKeyUp",value:function(){this.inputNode||(this.inputNode=this.$inject.$element[0].querySelector('[data-test="ring-input"]')),this.multiline&&this.inputNode.scrollHeight>this.inputNode.clientHeight&&this.stretch(this.inputNode)}},{key:"onClear",value:function(){this.value=""}},{key:"getContainerClasses",value:function(){var e;return s()(_O.a.container,_O.a[this.theme||Nl.LIGHT],this.size?[_O.a["size".concat(this.size)]]:null,(iF(e={},_O.a.active,this.active),iF(e,_O.a.error,null!=this.error),iF(e,_O.a.empty,!this.value),iF(e,_O.a.noLabel,!this.label),iF(e,_O.a.clearable,this.clearable),iF(e,_O.a.borderless,this.borderless),e))}}])&&eF(t.prototype,n),r&&eF(t,r),i}(Ov);iF(sF,"$inject",["$element"]),iF(sF,"require",{ngModelCtrl:"?ngModel"}),iF(sF,"bindings",{name:"@",required:"@",ngMinlength:"@",ngMaxlength:"@",placeholder:"@",ngModel:"<",onChange:"&",label:"@",hint:"@",size:"@",theme:"@",disabled:"@",active:"<",error:"@",empty:"<",clearable:"<",borderless:"<",multiline:"<"}),iF(sF,"template",'\n<div\n data-test="ring-input-container"\n ng-class="$ctrl.getContainerClasses()"\n>\n <input\n aria-label="{{$ctrl.label || $ctrl.placeholder}}"\n type="text"\n data-test="ring-input"\n class="'.concat(_O.a.input,'"\n name="{{$ctrl.name}}"\n ng-if="!$ctrl.multiline"\n placeholder="{{$ctrl.placeholder}}"\n ng-model="$ctrl.value"\n ng-required="$ctrl.required"\n ng-disabled="$ctrl.disabled"\n ng-minlength="$ctrl.ngMinlength"\n ng-maxlength="$ctrl.ngMaxlength"\n ng-change="$ctrl.onInputChange()"\n ng-keyup="$ctrl.onKeyUp()"\n />\n\n <textarea\n aria-label="{{$ctrl.label || $ctrl.placeholder}}"\n data-test="ring-input"\n ng-if="$ctrl.multiline"\n class="').concat(_O.a.input,'"\n rows="1"\n name="{{$ctrl.name}}"\n placeholder="{{$ctrl.placeholder}}"\n ng-model="$ctrl.value"\n ng-required="$ctrl.required"\n ng-disabled="$ctrl.disabled"\n ng-minlength="$ctrl.ngMinlength"\n ng-maxlength="$ctrl.ngMaxlength"\n ng-change="$ctrl.onInputChange()"\n ng-keyup="$ctrl.onKeyUp()"\n ></textarea>\n\n <rg-button\n ng-if="$ctrl.clearable"\n data-test="ring-input-clear"\n class="').concat(_O.a.clear," ").concat(Qz.a.clear,'"\n icon="{{:: $ctrl.closeIcon}}"\n ng-click="$ctrl.onClear()"\n ></rg-button>\n\n <label\n ng-if="!$ctrl.borderless"\n class="').concat(_O.a.label,'"\n >{{$ctrl.label}}</label>\n\n <div ng-if="!$ctrl.borderless" class="').concat(_O.a.underline,'"></div>\n <div ng-if="!$ctrl.borderless" class="').concat(_O.a.focusUnderline,'"></div>\n <div ng-if="!$ctrl.borderless" class="').concat(_O.a.errorUnderline,'"></div>\n <div ng-if="!$ctrl.borderless && $ctrl.error" class="').concat(_O.a.errorText," ").concat(Qz.a.errorText,'">{{$ctrl.error}}</div>\n</div>\n ')),aF.component("rgInput",sF);var lF=aF.name,cF={enter:"⏎",shift:"⇧",meta:"⌘",alt:"⌥",ctrl:"⌃",backspace:"⌫",esc:"Esc",tab:"Tab",del:"Del",home:"Home",end:"End",space:"Space",ins:"Insert",left:"←",up:"↑",right:"→",down:"↓"},uF={enter:"Enter",shift:"Shift",meta:"Ctrl",alt:"Alt",ctrl:"Ctrl",backspace:"Backspace",esc:"Esc",tab:"Tab",del:"Delete",home:"Home",end:"End",space:"Space",ins:"Insert",left:"←",up:"↑",right:"→",down:"↓"};var fF=n(761),dF=n.n(fF);n(1081);function pF(e){return(pF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function hF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gF(e,t){return(gF=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vF(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=bF(e);if(t){var o=bF(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return yF(this,n)}}function yF(e,t){return!t||"object"!==pF(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function bF(e){return(bF=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _F=Ou.a.module("Ring.shortcuts.hint-popup",[MT,Rz,Fv,lF,$v]),wF=function(e){return"function"==typeof e?e():e},xF=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gF(e,t)}(i,e);var t,n,r,o=vF(i);function i(){return hF(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Got it",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Search",o=this.$inject,i=o.dialog,a=o.shortcuts,s=t||a.getRegisteredShortcuts();return s.forEach((function(e){e.shortcuts.forEach((function(e){e.titles=e.titles||[],e.title&&!e.titles.includes(e.title)&&e.titles.push(e.title)}))})),i.show(Object.assign({template:dF.a,closeOnClick:!0,autoWidth:!0,cssClass:"shortcuts-hint__dialog",controllerAs:"hintPopupCtrl",buttons:[{label:n,default:!0}],controller:function(){this.searchIcon=Da.a,this.modes=s,this.tailTemplate=e.tailTemplate,this.isArray=function(e){return Array.isArray(e)},this.searchText="",this.searchPlaceholder=r,this.getTitle=wF}},e))}}])&&mF(t.prototype,n),r&&mF(t,r),i}(Ov);function kF(e){return function(e){var t="macos"===U.os.name,n=t?"":"+",r=t?cF:uF;return e.split(/\+/g).map((function(e){return r[e]||e.toUpperCase()})).join(n)}(e)}function MF(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(e||[]).filter((function(e){var n=e.key.join?e.key.join(" "):e.key,r=kF(n);if(e.titles.length){var o=-1!==n.toLowerCase().indexOf(t.toLowerCase()),i=-1!==e.titles.map(wF).join(" ").toLowerCase().indexOf(t.toLowerCase()),a=-1!==r.toLowerCase().indexOf(t.toLowerCase());return o||i||a}return!1}))}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(xF,"$inject",["dialog","shortcuts"]),_F.service("rgShortcutsHintPopup",xF),_F.filter("shortcutKeySymbol",(function(){return kF})),_F.filter("shortcutSearch",(function(){return MF}));_F.name,n(1083);function SF(e){return(SF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function OF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EF(e,t){return(EF=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function LF(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=DF(e);if(t){var o=DF(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return TF(this,n)}}function TF(e,t){return!t||"object"!==SF(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function DF(e){return(DF=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var CF=Ou.a.module("Ring.sidebar",[EN,Fv,gb]),PF=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&EF(e,t)}(n,e);var t=LF(n);function n(){var e;OF(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).$onInit=function(){var t=e.$inject.$scope;e.dialogIsActive=!1,e.showed=e.show,t.$watch((function(){return e.dialogIsActive}),(function(){e.dialogIsActive?e.show=!0:e.showed||(e.show=!1)})),t.$watch((function(){return e.show}),(function(){e.dialogIsActive||(e.showed=e.show)}))},e}return n}(Ov);!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(PF,"$inject",["$scope"]),CF.directive("rgSidebar",(function(){return{restrict:"E",transclude:!0,replace:!0,scope:{},controller:PF,bindToController:{show:"=",placeUnderSibling:"@",topOffset:"=?",dialogIsActive:"=?"},template:n(1085),controllerAs:"sidebar"}})),CF.directive("rgSidebarToggleButton",(function(){return{restrict:"E",transclude:!0,replace:!0,scope:{},controller:function(){this.chevronRight=Wt.a,this.chevronLeft=Bt.a},bindToController:{model:"=",dialogIsActive:"=?"},template:n(1086),controllerAs:"button"}}));CF.name;function jF(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function YF(e,t){if(e){if("string"==typeof e)return jF(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jF(e,t):void 0}}function AF(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||YF(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function IF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){IF(e,t,n[t])}))}return e}function $F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function NF(e,t,n){return t&&HF(e.prototype,t),n&&HF(e,n),e}function zF(e){return(zF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function FF(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BF(e,t){return!t||"object"!==zF(t)&&"function"!=typeof t?FF(e):t}function UF(e){return(UF=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function WF(e,t){return(WF=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function VF(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&WF(e,t)}var qF=n(111),GF=n.n(qF);function KF(e){return function(e){if(Array.isArray(e))return jF(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||YF(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var JF=function(){function e(){$F(this,e),IF(this,"refs",{})}return NF(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find((function(t){return t.node.sortableInfo.index==e.active.index}))}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(QF)}}]),e}();function QF(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function ZF(e,t,n){return(e=e.slice()).splice(n<0?e.length+n:n,0,e.splice(t,1)[0]),e}function XF(e,t){return Object.keys(e).reduce((function(n,r){return-1===t.indexOf(r)&&(n[r]=e[r]),n}),{})}var eB={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},tB=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];switch(t){case"ms":return"ms";default:return t&&t.length?t[0].toUpperCase()+t.substr(1):""}}();function nB(e,t){Object.keys(t).forEach((function(n){e.style[n]=t[n]}))}function rB(e,t){e.style["".concat(tB,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function oB(e,t){e.style["".concat(tB,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function iB(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function aB(e,t,n){return Math.max(e,Math.min(n,t))}function sB(e){return"px"===e.substr(-2)?parseFloat(e):0}function lB(e){var t=window.getComputedStyle(e);return{bottom:sB(t.marginBottom),left:sB(t.marginLeft),right:sB(t.marginRight),top:sB(t.marginTop)}}function cB(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function uB(e,t){var n=e.getBoundingClientRect();return{top:n.top+t.top,left:n.left+t.left}}function fB(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function dB(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}function pB(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var r={left:n.left+e.offsetLeft,top:n.top+e.offsetTop};return e.parentNode===t?r:pB(e.parentNode,t,r)}}function hB(e,t,n){return e<n&&e>t?e-1:e>n&&e<t?e+1:e}function mB(e){var t=e.lockOffset,n=e.width,r=e.height,o=t,i=t,a="px";if("string"==typeof t){var s=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);GF()(null!==s,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),o=parseFloat(t),i=parseFloat(t),a=s[1]}return GF()(isFinite(o)&&isFinite(i),"lockOffset value should be a finite. Given %s",t),"%"===a&&(o=o*n/100,i=i*r/100),{x:o,y:i}}function gB(e){var t=e.height,n=e.width,r=e.lockOffset,o=Array.isArray(r)?r:[r,r];GF()(2===o.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var i=AF(o,2),a=i[0],s=i[1];return[mB({height:t,lockOffset:a,width:n}),mB({height:t,lockOffset:s,width:n})]}function vB(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),n=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find((function(e){return n.test(t[e])}))}(e)?e:vB(e.parentNode):null}function yB(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:sB(t.gridColumnGap),y:sB(t.gridRowGap)}:{x:0,y:0}}var bB=27,_B=32,wB=37,xB=38,kB=39,MB=40,SB="A",OB="BUTTON",EB="CANVAS",LB="INPUT",TB="OPTION",DB="TEXTAREA",CB="SELECT";function PB(e){var t="input, textarea, select, canvas, [contenteditable]",n=e.querySelectorAll(t),r=e.cloneNode(!0);return KF(r.querySelectorAll(t)).forEach((function(e,t){("file"!==e.type&&(e.value=n[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),e.tagName===EB&&n[t].width>0&&n[t].height>0)&&e.getContext("2d").drawImage(n[t],0,0)})),r}function jB(e){return null!=e.sortableHandle}var YB=function(){function e(t,n){$F(this,e),this.container=t,this.onScrollCallback=n}return NF(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,n=e.translate,r=e.minTranslate,o=e.maxTranslate,i=e.width,a=e.height,s={x:0,y:0},l={x:1,y:1},c=10,u=10,f=this.container,d=f.scrollTop,p=f.scrollLeft,h=f.scrollHeight,m=f.scrollWidth,g=0===d,v=h-d-f.clientHeight==0,y=0===p,b=m-p-f.clientWidth==0;n.y>=o.y-a/2&&!v?(s.y=1,l.y=u*Math.abs((o.y-a/2-n.y)/a)):n.x>=o.x-i/2&&!b?(s.x=1,l.x=c*Math.abs((o.x-i/2-n.x)/i)):n.y<=r.y+a/2&&!g?(s.y=-1,l.y=u*Math.abs((n.y-a/2-r.y)/a)):n.x<=r.x+i/2&&!y&&(s.x=-1,l.x=c*Math.abs((n.x-i/2-r.x)/i)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===s.x&&0===s.y||(this.interval=setInterval((function(){t.isAutoScrolling=!0;var e={left:l.x*s.x,top:l.y*s.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)}),5))}}]),e}();var AB={axis:c.a.oneOf(["x","y","xy"]),contentWindow:c.a.any,disableAutoscroll:c.a.bool,distance:c.a.number,getContainer:c.a.func,getHelperDimensions:c.a.func,helperClass:c.a.string,helperContainer:c.a.oneOfType([c.a.func,"undefined"==typeof HTMLElement?c.a.any:c.a.instanceOf(HTMLElement)]),hideSortableGhost:c.a.bool,keyboardSortingTransitionDuration:c.a.number,lockAxis:c.a.string,lockOffset:c.a.oneOfType([c.a.number,c.a.string,c.a.arrayOf(c.a.oneOfType([c.a.number,c.a.string]))]),lockToContainerEdges:c.a.bool,onSortEnd:c.a.func,onSortMove:c.a.func,onSortOver:c.a.func,onSortStart:c.a.func,pressDelay:c.a.number,pressThreshold:c.a.number,keyCodes:c.a.shape({lift:c.a.arrayOf(c.a.number),drop:c.a.arrayOf(c.a.number),cancel:c.a.arrayOf(c.a.number),up:c.a.arrayOf(c.a.number),down:c.a.arrayOf(c.a.number)}),shouldCancelStart:c.a.func,transitionDuration:c.a.number,updateBeforeSortStart:c.a.func,useDragHandle:c.a.bool,useWindowAsScrollContainer:c.a.bool},IB={lift:[_B],drop:[_B],cancel:[bB],up:[xB,wB],down:[MB,kB]},RB={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:IB,shouldCancelStart:function(e){return-1!==[LB,DB,CB,TB,OB].indexOf(e.target.tagName)||!!iB(e.target,(function(e){return"true"===e.contentEditable}))},transitionDuration:300,useWindowAsScrollContainer:!1},$B=Object.keys(AB);function HB(e){GF()(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function NB(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}var zB={index:c.a.number.isRequired,collection:c.a.oneOfType([c.a.number,c.a.string]),disabled:c.a.bool},FB=Object.keys(zB);n(1087);var BB=n(33),UB=n.n(BB);function WB(e){return(WB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function VB(){return(VB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qB(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function GB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function JB(e,t){return(JB=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function QB(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=eU(e);if(t){var o=eU(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ZB(this,n)}}function ZB(e,t){return!t||"object"!==WB(t)&&"function"!=typeof t?XB(e):t}function XB(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eU(e){return(eU=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nU=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JB(e,t)}(a,e);var t,n,r,i=QB(a);function a(){var e;GB(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return tU(XB(e=i.call.apply(i,[this].concat(n))),"onClick",(function(){if(e.sortable){var t=e.props,n=t.column,r=t.onSort,o=t.sortOrder;r({column:n,order:!(e.sorted&&o)})}})),e}return t=a,(n=[{key:"onChildrenClick",value:function(e){e.stopPropagation()}},{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.column,i=(t.onSort,t.sortKey),a=t.sortOrder,l=qB(t,["className","column","onSort","sortKey","sortOrder"]);this.sortable=!0===r.sortable,this.sorted=i===r.id;var c=this.sorted?Ht.a:Is.a,u=s()(n,r.headerClassName,(tU(e={},UB.a.headerCell,!0),tU(e,UB.a.headerCellSortable,this.sortable),tU(e,UB.a.headerCellSorted,this.sorted),tU(e,UB.a.sortedUp,a&&this.sorted),tU(e,UB.a.cellRight,r.rightAlign),e));return o.a.createElement("th",VB({},l,{className:u,onClick:this.onClick,"data-test":"ring-table-header-cell"}),o.a.createElement("span",{onClick:this.onChildrenClick,role:"presentation"},this.props.children),r.getHeaderValue?r.getHeaderValue():r.title,this.sortable&&o.a.createElement("span",{className:UB.a.sorter},o.a.createElement(de,{glyph:c,className:UB.a.icon})))}}])&&KB(t.prototype,n),r&&KB(t,r),a}(r.PureComponent);function rU(e){return(rU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oU(){return(oU=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function iU(e){return function(e){if(Array.isArray(e))return aU(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return aU(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aU(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aU(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cU(e,t){return(cU=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function uU(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pU(e);if(t){var o=pU(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fU(this,n)}}function fU(e,t){return!t||"object"!==rU(t)&&"function"!=typeof t?dU(e):t}function dU(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pU(e){return(pU=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function hU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}tU(nU,"propTypes",{children:c.a.any,className:c.a.string,column:c.a.object.isRequired,onSort:c.a.func,sortKey:c.a.string,sortOrder:c.a.bool}),tU(nU,"defaultProps",{onSort:function(){}});var mU=o.a.createElement("tr",{"data-test":"ring-table-header-row"}),gU=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cU(e,t)}(a,e);var t,n,r,i=uU(a);function a(){var e;sU(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hU(dU(e=i.call.apply(i,[this].concat(n))),"state",{fixed:!1,headerWidth:null,widths:[]}),hU(dU(e),"id",lc("table-header-")),hU(dU(e),"onCheckboxFocus",(function(e){e.target.blur()})),hU(dU(e),"storeColumnsRowNode",(function(t){t&&(e._columnsRowNode=t,e.calculateColumnsWidths(t))})),hU(dU(e),"onScrollIn",(function(){e.calculateColumnsWidths(e._columnsRowNode),e.setState({fixed:!1})})),hU(dU(e),"onScrollOut",(function(t){"above"===t.currentPosition&&(e.calculateColumnsWidths(e._columnsRowNode),e.setState({fixed:!0}))})),e}return t=a,(n=[{key:"calculateColumnsWidths",value:function(e){this.setState({headerWidth:e.clientWidth,widths:iU(e.childNodes).map((function(e){return e.clientWidth}))})}},{key:"createCells",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.props,n=t.selectable,r=t.draggable,i=t.columns,a=t.checked,l=t.checkboxDisabled,c=t.onCheckboxChange,u=t.onSort,f=t.sortKey,d=t.sortOrder,p=s()(UB.a.metaColumn,UB.a.headerMetaColumn),h=o.a.createElement("div",{className:p},n&&o.a.createElement(n_,{"aria-labelledby":this.id,disabled:l,checked:a,onChange:c,onFocus:this.onCheckboxFocus}));return i.map((function(t,i){var a=e[i]?{width:e[i]}:null,s={column:t,onSort:u,sortKey:f,sortOrder:d,style:a};return o.a.createElement(nU,oU({key:t.id},s),0===i&&(r||n)&&h)}))}},{key:"render",value:function(){var e=this.props,t=e.caption,n=e.sticky,r=e.topStickOffset,i=this.state,a=i.fixed,l=i.widths,c=i.headerWidth,u=this.createCells();return o.a.createElement("thead",{id:this.id,"data-test":"ring-table-header",className:UB.a.tableHead},t&&o.a.createElement("tr",{"data-test":"ring-table-header-row"},o.a.createElement("th",{className:s()(UB.a.headerCell,UB.a.caption),colSpan:u.length+1,"data-test":"ring-table-header-cell"},t)),n&&o.a.createElement(Ix.a,{topOffset:r,onEnter:this.onScrollIn,onLeave:this.onScrollOut},mU),o.a.createElement("tr",{className:UB.a.subHeader,ref:this.storeColumnsRowNode,"data-test":"ring-table-header-row"},u),a&&n&&o.a.createElement("tr",{className:UB.a.subHeaderFixed,style:{width:c,top:r},"data-test":"ring-table-header-row"},this.createCells(l)))}}])&&lU(t.prototype,n),r&&lU(t,r),a}(r.PureComponent);hU(gU,"propTypes",{caption:c.a.string,selectable:c.a.bool,draggable:c.a.bool,checked:c.a.bool,checkboxDisabled:c.a.bool,sticky:c.a.bool,topStickOffset:c.a.string,onCheckboxChange:c.a.func,columns:c.a.array.isRequired,onSort:c.a.func,sortKey:c.a.string,sortOrder:c.a.bool}),hU(gU,"defaultProps",{selectable:!0,draggable:!1,checked:!0,sticky:!0,topStickOffset:"0px",onSort:function(){},onCheckboxChange:function(){},sortKey:"id",sortOrder:!0});var vU=n(762),yU=n.n(vU);function bU(e){return(bU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _U(){return(_U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function wU(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function xU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function MU(e,t){return(MU=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function SU(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=LU(e);if(t){var o=LU(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return OU(this,n)}}function OU(e,t){return!t||"object"!==bU(t)&&"function"!=typeof t?EU(e):t}function EU(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LU(e){return(LU=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function TU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var DU=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MU(e,t)}(a,e);var t,n,r,i=SU(a);function a(){var e;xU(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return TU(EU(e=i.call.apply(i,[this].concat(n))),"state",{showPopup:!1}),TU(EU(e),"listeners",new Rc),TU(EU(e),"containerRef",(function(t){e.containerNode=t})),TU(EU(e),"showPopup",(function(){var t=e.props,n=t.delay,r=t.title,o=t.selfOverflowOnly;if(r){var i=function(){if(o){var t=EU(e).containerNode;if(!t)return;if(0===t.clientWidth&&0===t.clientHeight)return;if(t.scrollWidth<=t.clientWidth&&t.scrollHeight<=t.clientHeight)return}e.setState({showPopup:!0})};n?e.timeout=setTimeout(i,n):i()}})),TU(EU(e),"hidePopup",(function(){clearTimeout(e.timeout),e.setState({showPopup:!1})})),TU(EU(e),"popupRef",(function(t){e.popup=t})),e}return t=a,(n=[{key:"componentDidMount",value:function(){this.props.title&&this.addListeners()}},{key:"componentDidUpdate",value:function(e){!e.title&&this.props.title?this.addListeners():e.title&&!this.props.title&&this.listeners.removeAll()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),this.listeners.removeAll()}},{key:"addListeners",value:function(){this.listeners.add(this.containerNode,"mouseover",this.showPopup),this.listeners.add(this.containerNode,"mouseout",this.hidePopup),this.listeners.add(document,"scroll",this.hidePopup)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e["data-test"],r=e.title,i=(e.delay,e.selfOverflowOnly,e.popupProps),a=wU(e,["children","data-test","title","delay","selfOverflowOnly","popupProps"]);return o.a.createElement("span",_U({},a,{ref:this.containerRef,"data-test":ql("ring-tooltip",n)}),t,o.a.createElement(_g,_U({hidden:!this.state.showPopup,onCloseAttempt:this.hidePopup,maxHeight:400,className:yU.a.tooltip,attached:!1,top:4,dontCloseOnAnchorClick:!0,ref:this.popupRef},i),r))}}])&&kU(t.prototype,n),r&&kU(t,r),a}(r.Component);function CU(e){return(CU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function PU(){return(PU=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function jU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function AU(e,t){return(AU=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function IU(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=$U(e);if(t){var o=$U(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return RU(this,n)}}function RU(e,t){return!t||"object"!==CU(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function $U(e){return($U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}TU(DU,"propTypes",{delay:c.a.number,selfOverflowOnly:c.a.bool,popupProps:c.a.object,title:c.a.oneOfType([c.a.string,c.a.element]),children:c.a.node,"data-test":c.a.string}),TU(DU,"defaultProps",{title:"",selfOverflowOnly:!1,popupProps:{}}),TU(DU,"PopupProps",_g.PopupProps);var HU=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AU(e,t)}(a,e);var t,n,r,i=IU(a);function a(){return jU(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=s()(UB.a.cell,this.props.className);return o.a.createElement("td",PU({},this.props,{className:e,"data-test":"ring-table-cell"}),this.props.children)}}])&&YU(t.prototype,n),r&&YU(t,r),a}(r.PureComponent);function NU(e){return(NU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function zU(){return(zU=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function FU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BU(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function UU(e,t){return(UU=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function WU(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=GU(e);if(t){var o=GU(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return VU(this,n)}}function VU(e,t){return!t||"object"!==NU(t)&&"function"!=typeof t?qU(e):t}function qU(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GU(e){return(GU=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function KU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(HU,"propTypes",{children:c.a.any,className:c.a.string});var JU=function(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return $F(this,n),BF(this,UF(n).apply(this,arguments))}return VF(n,t),NF(n,[{key:"componentDidMount",value:function(){Object(i.findDOMNode)(this).sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return GF()(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=o.withRef?"wrappedInstance":null;return Object(r.createElement)(e,M({ref:t},this.props))}}]),n}(r.Component),IF(t,"displayName",cB("sortableHandle",e)),n}((function(e){var t=e.alwaysShowDragHandle,n=s()(UB.a.dragHandle,KU({},UB.a.visibleDragHandle,t));return o.a.createElement(zm,{title:"Drag",className:n,icon:Mn.a})})),QU=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UU(e,t)}(a,e);var t,n,r,i=WU(a);function a(){var e;FU(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return KU(qU(e=i.call.apply(i,[this].concat(n))),"id",lc("table-row-")),KU(qU(e),"onMouseEnter",(function(){var t=e.props,n=t.item;(0,t.onHover)(n)})),KU(qU(e),"onClick",(function(t){t.shiftKey&&e.toggleSelection()})),KU(qU(e),"onCheckboxFocus",(function(){e.props.onFocusRestore()})),KU(qU(e),"onCheckboxChange",(function(){e.toggleSelection()})),KU(qU(e),"rowRef",(function(t){e.row=t,e.props.innerRef&&e.props.innerRef(t)})),e}return t=a,(n=[{key:"toggleSelection",value:function(){var e=this.props,t=e.selectable,n=e.selected,r=e.onSelect;t&&r(!n)}},{key:"render",value:function(){var e,t=this.props,n=t.item,r=t.columns,i=t.selectable,a=t.selected,l=t.showFocus,c=t.draggable,u=t.alwaysShowDragHandle,f=t.level,d=t.collapsible,p=t.parentCollapsible,h=t.collapsed,m=t.onCollapse,g=t.onExpand,v=t.showDisabledSelection,y=t.checkboxTooltip,b=s()(this.props.className,(KU(e={},UB.a.row,!0),KU(e,UB.a.rowFocused,l),KU(e,UB.a.rowSelected,a),e)),_={"data-test-focused":l||void 0,"data-test-selected":a||void 0},w=UB.a.metaColumn,x={paddingLeft:"".concat(30*f+(p?20:0),"px")},k=o.a.createElement("div",{className:w,style:x},c&&o.a.createElement(JU,{alwaysShowDragHandle:u}),i&&o.a.createElement(DU,{title:y},o.a.createElement(n_,{"aria-labelledby":this.id,className:l?"ring-checkbox_focus":"",checked:a,onFocus:this.onCheckboxFocus,onChange:this.onCheckboxChange,tabIndex:"-1"})),!i&&v&&o.a.createElement(DU,{title:y},o.a.createElement(n_,{"aria-labelledby":this.id,checked:a,disabled:!0})),d&&h&&o.a.createElement(zm,{className:UB.a.rowCollapseExpandButton,icon:Wt.a,onClick:g}),d&&!h&&o.a.createElement(zm,{className:UB.a.rowCollapseExpandButton,icon:zt.a,onClick:m})),M=r.map((function(e,t){var r=(e.getValue||function(){return n[e.id]})(n,e),a=s()(KU({},UB.a.cellRight,e.rightAlign),e.className);return o.a.createElement(HU,{key:e.id,className:a},0===t&&(c||i||v)&&k,r)}));return o.a.createElement("tr",zU({id:this.id,ref:this.rowRef,className:b,tabIndex:"0",onMouseMove:this.onMouseEnter,onClick:this.onClick,"data-test":"ring-table-row"},_),M)}}])&&BU(t.prototype,n),r&&BU(t,r),a}(r.PureComponent);KU(QU,"propTypes",{className:c.a.string,item:c.a.object.isRequired,columns:c.a.array.isRequired,selectable:c.a.bool,showFocus:c.a.bool,draggable:c.a.bool,alwaysShowDragHandle:c.a.bool,selected:c.a.bool,onHover:c.a.func,onSelect:c.a.func,onFocusRestore:c.a.func,level:c.a.number,collapsible:c.a.bool,parentCollapsible:c.a.bool,collapsed:c.a.bool,onCollapse:c.a.func,onExpand:c.a.func,showDisabledSelection:c.a.bool,checkboxTooltip:c.a.string,innerRef:c.a.func}),KU(QU,"defaultProps",{selectable:!0,showFocus:!1,draggable:!1,alwaysShowDragHandle:!1,selected:!1,onHover:function(){},onSelect:function(){},onFocusRestore:function(){},level:0,collapsible:!1,parentCollapsible:!1,collapsed:!1,onCollapse:function(){},onExpand:function(){}});var ZU=Ak(QU);function XU(e){return(XU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eW(){return(eW=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function tW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rW(e,t){return(rW=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oW(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=sW(e);if(t){var o=sW(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return iW(this,n)}}function iW(e,t){return!t||"object"!==XU(t)&&"function"!=typeof t?aW(e):t}function aW(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sW(e){return(sW=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function lW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cW=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rW(e,t)}(a,e);var t,n,r,i=oW(a);function a(){var e;tW(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return lW(aW(e=i.call.apply(i,[this].concat(n))),"onFocus",(function(){e.props.onFocus(e.props.item)})),lW(aW(e),"onSelect",(function(t){e.props.onSelect(e.props.item,t)})),lW(aW(e),"onCollapse",(function(){e.props.onCollapse(e.props.item)})),lW(aW(e),"onExpand",(function(){e.props.onExpand(e.props.item)})),e}return t=a,(n=[{key:"render",value:function(){return o.a.createElement(ZU,eW({},this.props,{onFocus:this.onFocus,onSelect:this.onSelect,onCollapse:this.onCollapse,onExpand:this.onExpand}))}}])&&nW(t.prototype,n),r&&nW(t,r),a}(r.PureComponent);lW(cW,"propTypes",ZU.propTypes);var uW=function(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return $F(this,n),BF(this,UF(n).apply(this,arguments))}return VF(n,t),NF(n,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,n=e.disabled,r=e.index,o=Object(i.findDOMNode)(this);o.sortableInfo={collection:t,disabled:n,index:r,manager:this.context.manager},this.node=o,this.ref={node:o},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return GF()(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=o.withRef?"wrappedInstance":null;return Object(r.createElement)(e,M({ref:t},XF(this.props,FB)))}}]),n}(r.Component),IF(t,"displayName",cB("sortableElement",e)),IF(t,"contextTypes",{manager:c.a.object.isRequired}),IF(t,"propTypes",zB),IF(t,"defaultProps",{collection:0}),n}(cW);function fW(e){return(fW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hW(e,t){return(hW=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mW(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=yW(e);if(t){var o=yW(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return gW(this,n)}}function gW(e,t){return!t||"object"!==fW(t)&&"function"!=typeof t?vW(e):t}function vW(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yW(e){return(yW=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function bW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _W(){return(_W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function wW(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var xW=function(){return!1},kW=function(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(e){var t;return $F(this,n),IF(FF(FF(t=BF(this,UF(n).call(this,e)))),"state",{}),IF(FF(FF(t)),"handleStart",(function(e){var n=t.props,r=n.distance,o=n.shouldCancelStart;if(2!==e.button&&!o(e)){t.touched=!0,t.position=fB(e);var i=iB(e.target,(function(e){return null!=e.sortableInfo}));if(i&&i.sortableInfo&&t.nodeIsChild(i)&&!t.state.sorting){var a=t.props.useDragHandle,s=i.sortableInfo,l=s.index,c=s.collection;if(s.disabled)return;if(a&&!iB(e.target,jB))return;t.manager.active={collection:c,index:l},dB(e)||e.target.tagName!==SB||e.preventDefault(),r||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout((function(){return t.handlePress(e)}),t.props.pressDelay))}}})),IF(FF(FF(t)),"nodeIsChild",(function(e){return e.sortableInfo.manager===t.manager})),IF(FF(FF(t)),"handleMove",(function(e){var n=t.props,r=n.distance,o=n.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var i=fB(e),a={x:t.position.x-i.x,y:t.position.y-i.y},s=Math.abs(a.x)+Math.abs(a.y);t.delta=a,r||o&&!(s>=o)?r&&s>=r&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}})),IF(FF(FF(t)),"handleEnd",(function(){t.touched=!1,t.cancel()})),IF(FF(FF(t)),"cancel",(function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)})),IF(FF(FF(t)),"handlePress",(function(e){try{var n=t.manager.getActive(),r=function(){if(n){var r=function(){var n=d.sortableInfo.index,r=lB(d),o=yB(t.container),c=t.scrollContainer.getBoundingClientRect(),m=a({index:n,node:d,collection:p});if(t.node=d,t.margin=r,t.gridGap=o,t.width=m.width,t.height=m.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=d.getBoundingClientRect(),t.containerBoundingRect=c,t.index=n,t.newIndex=n,t.axis={x:i.indexOf("x")>=0,y:i.indexOf("y")>=0},t.offsetEdge=pB(d,t.container),t.initialOffset=fB(h?RF({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top}):e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild(PB(d)),nB(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boundingClientRect.left-r.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-r.top,"px"),width:"".concat(t.width,"px")}),h&&t.helper.focus(),l&&(t.sortableGhost=d,nB(d,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},h){var g=f?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,v=g.top,y=g.left,b=g.width,_=v+g.height,w=y+b;t.axis.x&&(t.minTranslate.x=y-t.boundingClientRect.left,t.maxTranslate.x=w-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=v-t.boundingClientRect.top,t.maxTranslate.y=_-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(f?0:c.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(f?t.contentWindow.innerWidth:c.left+c.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(f?0:c.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(f?t.contentWindow.innerHeight:c.top+c.height)-t.boundingClientRect.top-t.height/2);s&&s.split(" ").forEach((function(e){return t.helper.classList.add(e)})),t.listenerNode=e.touches?d:t.contentWindow,h?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(eB.move.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)})),eB.end.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}))),t.setState({sorting:!0,sortingIndex:n}),u&&u({node:d,index:n,collection:p,isKeySorting:h,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),h&&t.keyMove(0)},o=t.props,i=o.axis,a=o.getHelperDimensions,s=o.helperClass,l=o.hideSortableGhost,c=o.updateBeforeSortStart,u=o.onSortStart,f=o.useWindowAsScrollContainer,d=n.node,p=n.collection,h=t.manager.isKeySorting,m=function(){if("function"==typeof c){t._awaitingUpdateBeforeSortStart=!0;var n=NB((function(){var t=d.sortableInfo.index;return Promise.resolve(c({collection:p,index:t,node:d,isKeySorting:h},e)).then((function(){}))}),(function(e,n){if(t._awaitingUpdateBeforeSortStart=!1,e)throw n;return n}));if(n&&n.then)return n.then((function(){}))}}();return m&&m.then?m.then(r):r()}}();return Promise.resolve(r&&r.then?r.then((function(){})):void 0)}catch(e){return Promise.reject(e)}})),IF(FF(FF(t)),"handleSortMove",(function(e){var n=t.props.onSortMove;"function"==typeof e.preventDefault&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)})),IF(FF(FF(t)),"handleSortEnd",(function(e){var n=t.props,r=n.hideSortableGhost,o=n.onSortEnd,i=t.manager,a=i.active.collection,s=i.isKeySorting,l=t.manager.getOrderedRefs();t.listenerNode&&(s?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(eB.move.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)})),eB.end.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})))),t.helper.parentNode.removeChild(t.helper),r&&t.sortableGhost&&nB(t.sortableGhost,{opacity:"",visibility:""});for(var c=0,u=l.length;c<u;c++){var f=l[c],d=f.node;f.edgeOffset=null,f.boundingClientRect=null,rB(d,null),oB(d,null),f.translate=null}t.autoScroller.clear(),t.manager.active=null,t.manager.isKeySorting=!1,t.setState({sorting:!1,sortingIndex:null}),"function"==typeof o&&o({collection:a,newIndex:t.newIndex,oldIndex:t.index,isKeySorting:s,nodes:l},e),t.touched=!1})),IF(FF(FF(t)),"autoscroll",(function(){var e=t.props.disableAutoscroll,n=t.manager.isKeySorting;if(e)t.autoScroller.clear();else{if(n){var r=RF({},t.translate),o=0,i=0;return t.axis.x&&(r.x=Math.min(t.maxTranslate.x,Math.max(t.minTranslate.x,t.translate.x)),o=t.translate.x-r.x),t.axis.y&&(r.y=Math.min(t.maxTranslate.y,Math.max(t.minTranslate.y,t.translate.y)),i=t.translate.y-r.y),t.translate=r,rB(t.helper,t.translate),t.scrollContainer.scrollLeft+=o,void(t.scrollContainer.scrollTop+=i)}t.autoScroller.update({height:t.height,maxTranslate:t.maxTranslate,minTranslate:t.minTranslate,translate:t.translate,width:t.width})}})),IF(FF(FF(t)),"onAutoScroll",(function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()})),IF(FF(FF(t)),"handleKeyDown",(function(e){var n=e.keyCode,r=t.props,o=r.shouldCancelStart,i=r.keyCodes,a=RF({},IB,void 0===i?{}:i);t.manager.active&&!t.manager.isKeySorting||!(t.manager.active||a.lift.includes(n)&&!o(e)&&t.isValidSortingTarget(e))||(e.stopPropagation(),e.preventDefault(),a.lift.includes(n)&&!t.manager.active?t.keyLift(e):a.drop.includes(n)&&t.manager.active?t.keyDrop(e):a.cancel.includes(n)?(t.newIndex=t.manager.active.index,t.keyDrop(e)):a.up.includes(n)?t.keyMove(-1):a.down.includes(n)&&t.keyMove(1))})),IF(FF(FF(t)),"keyLift",(function(e){var n=e.target,r=iB(n,(function(e){return null!=e.sortableInfo})).sortableInfo,o=r.index,i=r.collection;t.initialFocusedNode=n,t.manager.isKeySorting=!0,t.manager.active={index:o,collection:i},t.handlePress(e)})),IF(FF(FF(t)),"keyMove",(function(e){var n=t.manager.getOrderedRefs(),r=n[n.length-1].node.sortableInfo.index,o=t.newIndex+e,i=t.newIndex;if(!(o<0||o>r)){t.prevIndex=i,t.newIndex=o;var a=hB(t.newIndex,t.prevIndex,t.index),s=n.find((function(e){return e.node.sortableInfo.index===a})),l=s.node,c=t.containerScrollDelta,u=s.boundingClientRect||uB(l,c),f=s.translate||{x:0,y:0},d=u.top+f.y-c.top,p=u.left+f.x-c.left,h=i<o,m=h&&t.axis.x?l.offsetWidth-t.width:0,g=h&&t.axis.y?l.offsetHeight-t.height:0;t.handleSortMove({pageX:p+m,pageY:d+g,ignoreTransition:0===e})}})),IF(FF(FF(t)),"keyDrop",(function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()})),IF(FF(FF(t)),"handleKeyEnd",(function(e){t.manager.active&&t.keyDrop(e)})),IF(FF(FF(t)),"isValidSortingTarget",(function(e){var n=t.props.useDragHandle,r=e.target,o=iB(r,(function(e){return null!=e.sortableInfo}));return o&&o.sortableInfo&&!o.sortableInfo.disabled&&(n?jB(r):r.sortableInfo)})),HB(e),t.manager=new JF,t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return VF(n,t),NF(n,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var e=this,t=this.props.useWindowAsScrollContainer,n=this.getContainer();Promise.resolve(n).then((function(n){e.container=n,e.document=e.container.ownerDocument||document;var r=e.props.contentWindow||e.document.defaultView||window;e.contentWindow="function"==typeof r?r():r,e.scrollContainer=t?e.document.scrollingElement||e.document.documentElement:vB(e.container)||e.container,e.autoScroller=new YB(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach((function(t){return eB[t].forEach((function(n){return e.container.addEventListener(n,e.events[t],!1)}))})),e.container.addEventListener("keydown",e.handleKeyDown)}))}},{key:"componentWillUnmount",value:function(){var e=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach((function(t){return eB[t].forEach((function(n){return e.container.removeEventListener(n,e.events[t])}))})),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(e){var t=this.props,n=t.lockAxis,r=t.lockOffset,o=t.lockToContainerEdges,i=t.transitionDuration,a=t.keyboardSortingTransitionDuration,s=void 0===a?i:a,l=this.manager.isKeySorting,c=e.ignoreTransition,u=fB(e),f={x:u.x-this.initialOffset.x,y:u.y-this.initialOffset.y};if(f.y-=window.pageYOffset-this.initialWindowScroll.top,f.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=f,o){var d=AF(gB({height:this.height,lockOffset:r,width:this.width}),2),p=d[0],h=d[1],m={x:this.width/2-p.x,y:this.height/2-p.y},g={x:this.width/2-h.x,y:this.height/2-h.y};f.x=aB(this.minTranslate.x+m.x,this.maxTranslate.x-g.x,f.x),f.y=aB(this.minTranslate.y+m.y,this.maxTranslate.y-g.y,f.y)}"x"===n?f.y=0:"y"===n&&(f.x=0),l&&s&&!c&&oB(this.helper,s),rB(this.helper,f)}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,r=e.onSortOver,o=this.containerScrollDelta,i=this.windowScrollDelta,a=this.manager.getOrderedRefs(),s=this.offsetEdge.left+this.translate.x+o.left,l=this.offsetEdge.top+this.translate.y+o.top,c=this.manager.isKeySorting,u=this.newIndex;this.newIndex=null;for(var f=0,d=a.length;f<d;f++){var p=a[f].node,h=p.sortableInfo.index,m=p.offsetWidth,g=p.offsetHeight,v={height:this.height>g?g/2:this.height/2,width:this.width>m?m/2:this.width/2},y=c&&h>this.index&&h<=u,b=c&&h<this.index&&h>=u,_={x:0,y:0},w=a[f].edgeOffset;w||(w=pB(p,this.container),a[f].edgeOffset=w,c&&(a[f].boundingClientRect=uB(p,o)));var x=f<a.length-1&&a[f+1],k=f>0&&a[f-1];x&&!x.edgeOffset&&(x.edgeOffset=pB(x.node,this.container),c&&(x.boundingClientRect=uB(x.node,o))),h!==this.index?(t&&oB(p,t),this.axis.x?this.axis.y?b||h<this.index&&(s+i.left-v.width<=w.left&&l+i.top<=w.top+v.height||l+i.top+v.height<=w.top)?(_.x=this.width+this.marginOffset.x,w.left+_.x>this.containerBoundingRect.width-v.width&&x&&(_.x=x.edgeOffset.left-w.left,_.y=x.edgeOffset.top-w.top),null===this.newIndex&&(this.newIndex=h)):(y||h>this.index&&(s+i.left+v.width>=w.left&&l+i.top+v.height>=w.top||l+i.top+v.height>=w.top+g))&&(_.x=-(this.width+this.marginOffset.x),w.left+_.x<this.containerBoundingRect.left+v.width&&k&&(_.x=k.edgeOffset.left-w.left,_.y=k.edgeOffset.top-w.top),this.newIndex=h):y||h>this.index&&s+i.left+v.width>=w.left?(_.x=-(this.width+this.marginOffset.x),this.newIndex=h):(b||h<this.index&&s+i.left<=w.left+v.width)&&(_.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=h)):this.axis.y&&(y||h>this.index&&l+i.top+v.height>=w.top?(_.y=-(this.height+this.marginOffset.y),this.newIndex=h):(b||h<this.index&&l+i.top<=w.top+v.height)&&(_.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=h))),rB(p,_),a[f].translate=_):n&&(this.sortableGhost=p,nB(p,{opacity:0,visibility:"hidden"}))}null==this.newIndex&&(this.newIndex=this.index),c&&(this.newIndex=u);var M=c?this.prevIndex:u;r&&this.newIndex!==M&&r({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:M,isKeySorting:c,nodes:a,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return GF()(o.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var e=this.props.getContainer;return"function"!=typeof e?Object(i.findDOMNode)(this):e(o.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=o.withRef?"wrappedInstance":null;return Object(r.createElement)(e,M({ref:t},XF(this.props,$B)))}},{key:"helperContainer",get:function(){var e=this.props.helperContainer;return"function"==typeof e?e():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){return this.props.useWindowAsScrollContainer?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),n}(r.Component),IF(t,"displayName",cB("sortableList",e)),IF(t,"defaultProps",RB),IF(t,"propTypes",AB),IF(t,"childContextTypes",{manager:c.a.object.isRequired}),n}((function(e){var t=e.data,n=e.getItemKey,r=e.selection,i=e.selectable,a=e.isItemSelectable,s=e.onRowFocus,l=e.onRowSelect,c=e.getItemLevel,u=e.isItemCollapsible,f=e.isParentCollapsible,d=e.isItemCollapsed,p=e.onItemCollapse,h=e.onItemExpand,m=e.isDisabledSelectionVisible,g=e.getCheckboxTooltip,v=wW(e,["data","getItemKey","selection","selectable","isItemSelectable","onRowFocus","onRowSelect","getItemLevel","isItemCollapsible","isParentCollapsible","isItemCollapsed","onItemCollapse","onItemExpand","isDisabledSelectionVisible","getCheckboxTooltip"]);return o.a.createElement("tbody",{"data-test":"ring-table-body"},t.map((function(e,t){return o.a.createElement(uW,_W({key:n(e),level:c(e),index:t,item:e,showFocus:r.isFocused(e),focused:r.isFocused(e),selectable:i&&a(e),selected:i&&r.isSelected(e),onFocus:s,onSelect:l,collapsible:u(e),parentCollapsible:f(e),collapsed:d(e),onCollapse:p,onExpand:h,showDisabledSelection:m(e),checkboxTooltip:g(e)},v))})))})),MW=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hW(e,t)}(a,e);var t,n,r,i=mW(a);function a(){var e;dW(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return bW(vW(e=i.call.apply(i,[this].concat(n))),"state",{shortcutsEnabled:e.props.selectable&&e.props.focused,shortcutsScope:lc("ring-table-"),userSelectNone:!1}),bW(vW(e),"onMouseDown",(function(t){t.shiftKey&&e.setState({userSelectNone:!0})})),bW(vW(e),"onMouseUp",(function(){e.state.userSelectNone&&e.setState({userSelectNone:!1})})),bW(vW(e),"onRowFocus",(function(t){var n=e.props,r=n.selection;(0,n.onSelect)(r.focus(t))})),bW(vW(e),"onRowSelect",(function(t,n){var r=e.props,o=r.selection,i=r.onSelect;i(n?o.select(t):o.deselect(t))})),bW(vW(e),"onSortEnd",(function(t){var n=t.oldIndex,r=t.newIndex,o=ZF(e.props.data,n,r);e.props.onReorder({data:o,oldIndex:n,newIndex:r})})),bW(vW(e),"onCheckboxChange",(function(t){var n=t.target.checked,r=e.props,o=r.selection,i=r.onSelect;i(n?o.selectAll():o.reset()),e.restoreFocusWithoutScroll()})),bW(vW(e),"restoreFocusWithoutScroll",(function(){var t=window,n=t.scrollX,r=t.scrollY;e.props.onFocusRestore(),window.scrollTo(n,r)})),e}return t=a,(n=[{key:"componentDidMount",value:function(){document.addEventListener("mouseup",this.onMouseUp)}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props,n=t.data,r=t.selection,o=t.onSelect,i=t.selectable;n===e.data||this.props.remoteSelection||o(r.cloneWith({data:e.data})),e.selectable||e.selectable===i||o(r.resetSelection());var a=e.focused;a!==this.state.shortcutsEnabled&&this.setState({shortcutsEnabled:a})}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mouseup",this.onMouseUp)}},{key:"render",value:function(){var e,t,n=this.props,r=n.data,i=n.selection,a=n.columns,l=n.caption,c=n.getItemKey,u=n.selectable,f=n.isItemSelectable,d=n.getItemLevel,p=n.draggable,h=n.alwaysShowDragHandle,m=n.loading,g=n.onSort,v=n.sortKey,y=n.sortOrder,b=n.loaderClassName,_=n.stickyHeader,w=n.stickyHeaderOffset,x=n.isItemCollapsible,k=n.isParentCollapsible,M=n.isItemCollapsed,S=n.onItemCollapse,O=n.onItemExpand,E=n.isDisabledSelectionVisible,L=n.getCheckboxTooltip,T={caption:l,selectable:u,draggable:p,columns:a,onSort:g,sortKey:v,sortOrder:y,sticky:_,topStickOffset:w},D=i.getSelected().size,C=i.selectAll().getSelected().size;T.checked=D>0&&D===C,T.onCheckboxChange=this.onCheckboxChange,T.checkboxDisabled=0===this.props.data.length;var P=s()((bW(e={},UB.a.tableWrapper,!0),bW(e,UB.a.loading,m),e)),j=s()(this.props.className,(bW(t={},UB.a.table,!0),bW(t,UB.a.multiSelection,i.getSelected().size>0),bW(t,UB.a.userSelectNone,this.state.userSelectNone),bW(t,UB.a.disabledHover,this.props.disabledHover),t));return o.a.createElement("div",{className:P,"data-test":"ring-table-wrapper",ref:this.props.innerRef},this.state.shortcutsEnabled&&o.a.createElement(um,{map:this.props.shortcutsMap,scope:this.state.shortcutsScope}),o.a.createElement("div",{role:"presentation",onMouseDown:this.onMouseDown},o.a.createElement("table",{className:j,"data-test":"ring-table"},o.a.createElement(gU,T),o.a.createElement(kW,{useDragHandle:!0,disabled:!p,helperClass:UB.a.draggingRow,onSortEnd:this.onSortEnd,getItemKey:c,shouldCancelStart:xW,draggable:p,alwaysShowDragHandle:h,data:r,columns:a,selectable:u,isItemSelectable:f,selection:i,onRowFocus:this.onRowFocus,onRowSelect:this.onRowSelect,getItemLevel:d,isItemCollapsible:x,isParentCollapsible:k,isItemCollapsed:M,onItemCollapse:S,onItemExpand:O,isDisabledSelectionVisible:E,getCheckboxTooltip:L}))),m&&o.a.createElement("div",{className:UB.a.loadingOverlay},o.a.createElement(TM,{className:b})))}}])&&pW(t.prototype,n),r&&pW(t,r),a}(r.PureComponent);bW(MW,"propTypes",{className:c.a.string,loaderClassName:c.a.string,data:c.a.array.isRequired,columns:c.a.array.isRequired,caption:c.a.string,isItemSelectable:c.a.func,stickyHeader:c.a.bool,stickyHeaderOffset:c.a.string,loading:c.a.bool,getItemKey:c.a.func,onSort:c.a.func,onReorder:c.a.func,sortKey:c.a.string,sortOrder:c.a.bool,draggable:c.a.bool,alwaysShowDragHandle:c.a.bool,getItemLevel:c.a.func,isItemCollapsible:c.a.func,isParentCollapsible:c.a.func,isItemCollapsed:c.a.func,onItemCollapse:c.a.func,onItemExpand:c.a.func,isDisabledSelectionVisible:c.a.func,getCheckboxTooltip:c.a.func,innerRef:c.a.oneOfType([c.a.object,c.a.string,c.a.func]),focused:c.a.bool,onFocusRestore:c.a.func,selection:c.a.instanceOf(Nk).isRequired,selectable:c.a.bool,onSelect:c.a.func,shortcutsMap:c.a.object,disabledHover:c.a.bool,remoteSelection:c.a.bool}),bW(MW,"defaultProps",{isItemSelectable:function(){return!0},loading:!1,onSort:function(){},onReorder:function(){},getItemKey:function(e){return e.id},sortKey:"id",sortOrder:!0,draggable:!1,alwaysShowDragHandle:!1,stickyHeader:!0,getItemLevel:function(){return 0},isItemCollapsible:function(){return!1},isParentCollapsible:function(){return!1},isItemCollapsed:function(){return!1},onItemCollapse:function(){},onItemExpand:function(){},remoteSelection:!1,isDisabledSelectionVisible:function(){},getCheckboxTooltip:function(){}});var SW=uM(Xk(Ak(MW)));function OW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function LW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var TW=function(){function e(t,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];OW(this,e),LW(this,"suggestedItem",null),this.items=t,this.emitEvent=n,this.singleActiveElementAsSelection=r}var t,n,r;return t=e,(n=[{key:"setItems",value:function(e){this.items=e,this.suggestedItem=null,this.emitEvent("rgLegacyTable:itemsChanged",e)}},{key:"activateItem",value:function(e){e&&!e.unselectable&&(this.clearActivity(),e.active=!0,this.emitEvent("rgLegacyTable:activateItem",e,this.items.indexOf(e)))}},{key:"getActiveItem",value:function(){if(this.items)return this.items.find((function(e){return e.active}))}},{key:"getActiveItemIndex",value:function(){return this.items.indexOf(this.getActiveItem())}},{key:"setActiveItemIndex",value:function(e){var t=this.items[e];this.activateItem(t)}},{key:"findNextActiveItem",value:function(e,t){var n=this.items.length-1;if(t){for(var r=e+1;r<=n;r++)if(!this.items[r].unselectable)return this.items[r]}else for(var o=e-1;o>=0;o--)if(!this.items[o].unselectable)return this.items[o]}},{key:"activateNextItem",value:function(){var e=this.items.indexOf(this.getActiveItem());if(-1===e&&this.suggestedItem)return this.activateItem(this.suggestedItem),this.suggestedItem;if(e>=0&&e<this.items.length-1){var t=this.findNextActiveItem(e,1);return this.activateItem(t),t}this.clearActivity()}},{key:"activatePreviousItem",value:function(){var e=this.items.indexOf(this.getActiveItem());if(-1===e&&this.suggestedItem)return this.activateItem(this.suggestedItem),this.suggestedItem;if(e>0&&e<=this.items.length-1){var t=this.findNextActiveItem(e,0);return this.activateItem(t),t}this.clearActivity()}},{key:"clearSelection",value:function(){this.clearCheckedItems(),this.singleActiveElementAsSelection&&this.clearActivity()}},{key:"clearCheckedItems",value:function(){this.items.forEach((function(e){e.checked=!1}))}},{key:"clearActivity",value:function(){var e=this.getActiveItem();e&&(e.active=!1),this.emitEvent("rgLegacyTable:activateItem",null)}},{key:"checkItem",value:function(e){!e||e.uncheckable||e.unselectable||(e.checked=!0,this.triggerSelectionChanged(e))}},{key:"uncheckItem",value:function(e){e&&(e.checked=!1,this.triggerSelectionChanged(e))}},{key:"toggleCheck",value:function(e){!e||e.uncheckable||e.unselectable||(e.checked=!e.checked,this.triggerSelectionChanged(e))}},{key:"triggerSelectionChanged",value:function(e){this.emitEvent("rgLegacyTable:selectionChanged",e)}},{key:"getCheckedItems",value:function(){return this.items?this.items.filter((function(e){return e.checked})):[]}},{key:"getSelectedItems",value:function(){var e=this.getCheckedItems();if(e.length)return e;var t=this.getActiveItem();return t&&this.singleActiveElementAsSelection?[t]:[]}},{key:"setSuggestedItem",value:function(e){this.suggestedItem=e}}])&&EW(t.prototype,n),r&&EW(t,r),e}();function DW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var CW=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._selection=t,this._addSelectionMode=null}var t,n,r;return t=e,(n=[{key:"setSelection",value:function(e){this._selection=e}},{key:"moveUp",value:function(){if(!this._selection)return!1;var e=this._selection.activatePreviousItem();return e&&e.unselectable?this.moveUp():!e}},{key:"moveDown",value:function(){if(this._selection){var e=this._selection.activateNextItem();if(e){if(e.unselectable)return this.moveDown()}else this._selection.setActiveItemIndex(0)}return!1}},{key:"reset",value:function(){return this._addSelectionMode=null,!!this._selection}},{key:"selectUp",value:function(){return!!this._selection&&(this._changeCheckedItemsArray(),this.moveUp())}},{key:"selectDown",value:function(){return!!this._selection&&(this._changeCheckedItemsArray(),this.moveDown())}},{key:"selectCurrent",value:function(){if(!this._selection)return!1;var e=this._selection.getActiveItem();return!e||(this._selection.toggleCheck(e),!1)}},{key:"clearSelection",value:function(){if(!this._selection)return!1;if(this._selection.getActiveItem()){if(this._selection.getCheckedItems().length>0)return this._selection.clearSelection(),!1;this._selection.clearActivity()}return!0}},{key:"_changeCheckedItemsArray",value:function(){if(!this._selection)return!1;var e=this._selection.getActiveItem();e&&!this._addSelectionMode&&(this._addSelectionMode=e.checked?"uncheckItem":"checkItem"),this._selection[this._addSelectionMode](e)}}])&&DW(t.prototype,n),r&&DW(t,r),e}(),PW=(n(1089),Ou.a.module("Ring.table-legacy.toolbar",[]));PW.directive("rgLegacyTableToolbar",(function(){var e=bh();return{restrict:"E",replace:!0,transclude:!0,template:'<div class="ring-table__toolbar"><div class="ring-table__toolbar-controls ring-popup-container-mark" ng-transclude></div></div>',scope:{toolbarIsReady:"=?"},link:function(t,n,r){var o,i=n[0],a=i.query(".ring-table__toolbar-controls"),s=function(){return e((function(){var e=jc(),t=i.getBoundingClientRect().top+e,n=o||t;e>n&&!o?(i.style.height="".concat(i.offsetHeight,"px"),o=n,a.classList.add("ring-table__toolbar-controls_fixed")):e<=n&&o>=0&&(o=null,i.style.height=null,a.classList.remove("ring-table__toolbar-controls_fixed"))}))};void 0!==r.stick&&(window.addEventListener("scroll",s),t.$on("$destroy",(function(){window.removeEventListener("scroll",s)}))),t.toolbarIsReady=!0}}}));var jW=PW.name,YW=Ou.a.module("Ring.table-legacy.pager",[xv,xN]);YW.directive("rgLegacyTablePager",(function(){return{restrict:"E",template:n(1091),scope:{},bindToController:{skip:"=",top:"=",total:"=",onPageChange:"&"},controllerAs:"pagerCtrl",controller:function(){var e=this;this.getPage=function(){return e.top/e.skip}}}}));var AW=YW.name,IW=(n(1092),Ou.a.module("Ring.table-legacy",[jW,AW,a_,EN]));IW.directive("rgLegacyTable",(function(){return{restrict:"E",transclude:!0,template:n(1094),controllerAs:"ctrl",scope:{items:"=",selection:"=?",disableSelection:"@"},bindToController:!0,controller:["$scope",function(e){var t=this;this.$onInit=function(){t.disableSelection||(t.selection=new TW(t.items,(function(t,n,r){e.$emit(t,n,r),e.$broadcast(t,n,r)})),e.$watch((function(){return t.items}),(function(e){e&&t.selection.setItems(e)})))}}]}})),IW.directive("rgLegacyTableHeader",["getClosestElementWithCommonParent",function(e){return{restrict:"E",template:n(1095),transclude:!0,replace:!0,link:function(t,n,r){var o=n[0],i=null;t.stickToSelector=r.stickTo,void 0!==r.stickToToolbar&&(t.stickToSelector=".ring-table__toolbar");var a=o.query(".ring-table__header:not(.ring-table__header_sticky)"),s=o.query(".ring-table__header_sticky"),l=MN()((function(){s.style.width="".concat(a.offsetWidth,"px"),s.queryAll(".ring-table__title").forEach((function(e,t){var n=a.queryAll(".ring-table__title")[t];e.style.width=Ec(n).width}))}),50,!0),c=MN()((function(){null!==i.query(".".concat("ring-table__toolbar-controls_fixed"))?(s.style.display="block",a.style.visibility="hidden"):(s.style.display="none",a.style.visibility="visible"),l()}),10);t.stickToSelector&&(i=e(o,t.stickToSelector),t.$evalAsync((function(){window.addEventListener("resize",l),window.addEventListener("scroll",c),t.$on("rgLegacyTable:itemsChanged",c)})))}}}]),IW.directive("rgLegacyTableBody",(function(){return{restrict:"E",template:"<tbody ng-transclude></tbody>",transclude:!0,replace:!0}})),IW.directive("rgLegacyTableRow",(function(){return{template:n(1096),restrict:"E",transclude:!0,replace:!0,require:["^rgLegacyTable","rgLegacyTableRow"],scope:{rowItem:"="},link:function(e,t,n,r){var o=r[0];r[1].setSelection(o.selection)},controllerAs:"rowCtrl",bindToController:!0,controller:["$scope","$element",function(e,t){var n,r=this,o=t[0];this.setSelection=function(t){t&&(r.selection=t,n||(n=e.$watch("rowCtrl.rowItem.checked",(function(e){void 0!==e&&r.selection.triggerSelectionChanged(r.rowItem)}))))},this.setActiveItem=function(e){e&&!e.unselectable&&r.selection&&r.selection.activateItem(e)},this.onMouseOver=function(e){e&&!e.unselectable&&r.selection&&r.selection.setSuggestedItem(e)},this.onMouseOut=function(e){e&&r.selection&&e===r.selection.suggestedItem&&r.selection.setSuggestedItem(null)},this.hasCheckedItems=function(){if(!r.selection)return!1;var e=r.selection.getCheckedItems();return e&&e.length>0},e.$on("rgLegacyTable:activateItem",(function(e,t){if(t===r.rowItem){var n=(i=2,a=Dc(o),s=a.height*i,l=a.top<s,c=a.bottom>Pc()-s,{offset:s,isOutOfView:c||l,isGoneUp:l,isGoneDown:c});n.isOutOfView&&(o.scrollIntoView(n.isGoneUp),function(e){window.scrollY&&window.scrollBy(0,e)}(n.isGoneDown?n.offset:-n.offset))}var i,a,s,l,c}))}]}})),IW.directive("rgLegacyTableHeaderCheckbox",(function(){return{restrict:"E",require:"^rgLegacyTable",replace:!0,template:'<span class="ring-table__header-checkbox"><rg-checkbox ng-click="onClickChange()" ng-model="allChecked"/></span>',link:function(e,t,n,r){function o(){r.items&&r.items.length?e.allChecked=r.items.every((function(e){return e.checked})):e.allChecked=!1}function i(e){r.items.forEach((function(t){t.checked=e}))}e.allChecked=!1,e.$on("rgLegacyTable:itemsChanged",(function(){e.allChecked&&i(!0),o()})),e.$on("rgLegacyTable:selectionChanged",o),e.onClickChange=function(){i(e.allChecked)}}}})),IW.directive("rgLegacyTableCheckboxCell",(function(){return{restrict:"E",transclude:!0,require:"^rgLegacyTableRow",replace:!0,template:'\n<td class="ring-table__selector ring-table__column_selector" ng-class="{\'ring-table__column\': !isEmbedded}">\n <rg-checkbox ng-model="getRowItem().checked" title="{{getTitle()}}" aria-label="{{geAriaLabel()}}"/>\n</td>\n '.trim(),link:function(e,t,n,r){e.getRowItem=function(){return r.rowItem},e.getTitle=function(){return n.title||r.rowItem.name},e.geAriaLabel=function(){return n.ariaLabel},e.isEmbedded=Ou.a.isDefined(n.embedded)}}})),IW.directive("rgLegacyTableTitle",(function(){return{restrict:"E",transclude:!0,replace:!0,scope:!0,template:n(1097),link:function(e,t,n){e.isBorder=Ou.a.isDefined(n.border),e.isActive=Ou.a.isDefined(n.active),e.isPullRight=Ou.a.isDefined(n.pullRight),e.isAlignRight=Ou.a.isDefined(n.alignRight),e.isPullLeft=Ou.a.isDefined(n.pullLeft)}}})),IW.directive("rgLegacyTableColumn",(function(){return{restrict:"E",transclude:!0,replace:!0,scope:!0,template:n(1098),link:function(e,t,n){var r,o=t[0];e.isLimited=Ou.a.isDefined(n.limited),e.isUnlimited=Ou.a.isDefined(n.unlimited),e.isAvatar=Ou.a.isDefined(n.avatar),e.isWide=Ou.a.isDefined(n.wide),e.isAlignRight=Ou.a.isDefined(n.alignRight),e.isGray=Ou.a.isDefined(n.gray),e.isPullRight=Ou.a.isDefined(n.pullRight),e.isPullLeft=Ou.a.isDefined(n.pullLeft),e.isUnlimited&&(r=o.parentNode.queryAll(".ring-table__column[unlimited]").length)>1&&(o.style.width="".concat((100/r).toFixed(),"%"))}}})),IW.constant("SelectionNavigateActions",CW);IW.name,cy(SW,"Table").name;var RW=n(207),$W=n.n(RW);var HW=Ou.a.module("Ring.tabs",[]);HW.directive("rgTabs",["$location","$rootScope",function(e,t){return{restrict:"E",transclude:!0,template:n(1100),replace:!0,scope:{tabParameter:"@",tabsClass:"=",control:"=?",disableLocationChanging:"=",theme:"@?"},controller:["$scope",function(n){function r(){return e.search()[n.tabParameter]}function o(t,r){if(t!==n.current&&!t.ngDisabled)for(var o=0;o<n.panes.length;o++){var i=n.panes[o];i===t||i.tabId===t?(n.current=t,i.selected=!0,r||e.search(n.tabParameter,t.tabId)):i.selected=!1}}function i(e){var t=n.panes.indexOf(n.current),r=t;do{r+=e?-1:1}while(r>-1&&r<n.panes.length&&n.panes[r].ngDisabled);return r>=n.panes.length?r=n.panes.length-1:r<0&&(r=0),n.panes[r].ngDisabled?t:r}function a(){n.panes.length&&o(function(){var e=r();if(e){var t=n.panes.find((function(t){return t.tabId===e}));return t&&!t.ngDisabled?t:n.panes[i()]}return n.panes[0]}(),!0)}n.panes=[],n.current=null,n.styles=$W.a,n.theme=n.theme||Nl.LIGHT,this.addTab=function(e){n.panes.push(e),1!==n.panes.length&&e.tabId!==r()||o(e,!0)},this.removeTab=function(e){var t=n.panes.indexOf(e);n.panes.splice(t,1),a()},this.checkPane=a,n.$on("$destroy",t.$on("$routeUpdate",a)),n.control={},n.control.isLast=function(){return n.panes.indexOf(n.current)===n.panes.length-1},n.control.isFirst=function(){return 0===n.panes.indexOf(n.current)},n.control.select=function(e){o(e,n.disableLocationChanging)},n.control.next=function(){var e=i();o(n.panes[e],n.disableLocationChanging)},n.control.prev=function(){var e=i(!0);o(n.panes[e],n.disableLocationChanging)},n.keyMap={next:n.control.next,prev:n.control.prev,focus:function(){return n.focus=!n.focus,!n.focus}},n.tabClass=function(e){return s()($W.a.title,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},$W.a.selected,e.selected))},this.$onInit=function(){n.tabParameter||(n.tabParameter="tab")}}]}}]),HW.directive("rgTabsPane",(function(){return{require:"^rgTabs",restrict:"E",transclude:!0,scope:{title:"@",counter:"@",tabId:"@?",tabIndex:"@?",selected:"=?",ngDisabled:"=?"},link:function(e,t,n,r){e.tabId=e.tabId||e.title.toLowerCase().replace(" ","-"),e.tabIndex=e.tabIndex?+e.tabIndex:0,r.addTab(e),e.$on("$destroy",(function(){r.removeTab(e)}))},template:'<div class="ring-tabs__content" ng-class="{\'ring-tabs__content_active\':selected}" ng-if="selected" ng-transclude></div>'}}));HW.name;var NW=n(87),zW=n.n(NW);function FW(e){return(FW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function BW(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function UW(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){BW(i,r,o,a,s,"next",e)}function s(e){BW(i,r,o,a,s,"throw",e)}a(void 0)}))}}function WW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VW(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qW(e,t){return(qW=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function GW(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=QW(e);if(t){var o=QW(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return KW(this,n)}}function KW(e,t){return!t||"object"!==FW(t)&&"function"!=typeof t?JW(e):t}function JW(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QW(e){return(QW=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ZW(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XW(){}var eV=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qW(e,t)}(a,e);var t,n,r,i=GW(a);function a(){var e;WW(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ZW(JW(e=i.call.apply(i,[this].concat(n))),"state",{tags:[],prevTags:null,suggestions:[],loading:!0,focused:!1,query:"",activeIndex:0}),ZW(JW(e),"nodeRef",(function(t){e.node=t})),ZW(JW(e),"ngModelStateField",a.ngModelStateField),ZW(JW(e),"focusInput",(function(){e.getInputNode().focus()})),ZW(JW(e),"addTag",(function(t){var n=0===e.state.tags.filter((function(e){return t.key===e.key})).length;e.select.clear(),e.select.filterValue(""),n&&(e.setState((function(e){return{tags:e.tags.concat([t])}})),e.props.onAddTag({tag:t}),e.setActiveIndex())})),ZW(JW(e),"clickHandler",(function(t){t.target===e.node&&(e.loadSuggestions(e.getInputNode().value),e.focusInput())})),ZW(JW(e),"filterExistingTags",(function(t){var n=new Map(e.state.tags.map((function(e){return[e.key,e]})));return t.filter((function(e){return!n.has(e.key)}))})),ZW(JW(e),"loadSuggestions",UW(regeneratorRuntime.mark((function t(){var n,r,o,i=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=i.length>0&&void 0!==i[0]?i[0]:"",e.setState({loading:!0,query:n}),t.prev=2,"function"!=typeof(r=e.props.dataSource({query:n})).then){t.next=8;break}return t.next=7,r;case 7:r=t.sent;case 8:o=e.filterExistingTags(r),e.node&&n===e.state.query&&e.setState({suggestions:o,loading:!1}),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(2),e.setState({loading:!1});case 15:case"end":return t.stop()}}),t,null,[[2,12]])})))),ZW(JW(e),"_focusHandler",(function(){e.setActiveIndex(null),e.setState({focused:!0})})),ZW(JW(e),"_blurHandler",(function(){e.setState({focused:!1})})),ZW(JW(e),"selectTag",(function(t){var n=("number"==typeof e.state.activeIndex?e.state.activeIndex:e.state.tags.length+1)+(t?1:-1);n>=e.state.tags.length?n=e.state.tags.length-1:n<0&&(n=0),e.state.activeIndex!==n&&e.setActiveIndex(n)})),ZW(JW(e),"handleKeyDown",(function(t){var n=eY(t);if(" "===n&&e.props.allowAddNewTags){t.stopPropagation();var r=e.getInputNode().value;return""!==r&&e.handleTagCreation(r),!0}if(e.select._popup.isVisible())return!0;if("ArrowLeft"===n)return!!(e.getInputNode()&&e.caret.getPosition()>0)||(e.selectTag(),!1);if("ArrowRight"===n&&!t.target.matches(e.getInputNode().tagName))return e.state.activeIndex===e.state.tags.length-1?e.props.disabled||(e.getInputNode().focus(),e.setActiveIndex()):e.selectTag(!0),!1;if(!e.props.disabled){if("Backspace"===n&&!e.getInputNode().value){t.preventDefault();var o=e.state.tags.length;return e.select._hidePopup(!0),e.onRemoveTag(e.state.tags[o-1]),!1}if(("Delete"===n||"Backspace"===n)&&e.state.tags[e.state.activeIndex])return e.onRemoveTag(e.state.tags[e.state.activeIndex]).then((function(){return e.selectTag(!0)})),!1}return!0})),ZW(JW(e),"handleClick",W((function(t){return function(){e.setActiveIndex(e.state.tags.indexOf(t))}}))),ZW(JW(e),"handleRemove",W((function(t){return function(){return e.onRemoveTag(t)}}))),ZW(JW(e),"handleTagCreation",(function(t){e.addTag({key:t,label:t})})),ZW(JW(e),"selectRef",(function(t){e.select=t})),e}return t=a,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.tags,r=t.prevTags,o={prevTags:n};return null!=n&&n!==r&&Object.assign(o,{tags:n,activeIndex:n.length}),o}}],(n=[{key:"componentDidMount",value:function(){this.props.autoOpen&&!this.props.disabled&&(this.focusInput(),this.loadSuggestions(),this.select._showPopup())}},{key:"getInputNode",value:function(){return this.input||(this.input=this.select.filter,this.caret=new Fb(this.input)),this.input}},{key:"setActiveIndex",value:function(e){this.setState({activeIndex:e})}},{key:"onRemoveTag",value:function(e){var t=this;return Promise.resolve(this.props.onRemoveTag({tag:e})).then((function(){var n=t.state.tags.filter((function(t){return t!==e}));return t.node&&(t.setState({tags:n}),t.focusInput()),n}),this.focusInput)}},{key:"render",value:function(){var e,t=this.state,n=t.focused,r=t.tags,i=t.activeIndex,a=this.props,l=a.legacyMode,c=a.disabled,u=a.canNotBeEmpty,f=a.allowAddNewTags,d=a.filter,p=s()(zW.a.tagsInput,(ZW(e={},zW.a.tagsInputDisabled,c),ZW(e,zW.a.tagsInputFocused,n),ZW(e,zW.a.tagsInputLegacyMode,l),e),this.props.className);return o.a.createElement("div",{role:"presentation",className:p,onKeyDown:this.handleKeyDown,onClick:this.clickHandler,ref:this.nodeRef},o.a.createElement(sH,{tags:r,activeIndex:i,disabled:c,canNotBeEmpty:u,handleRemove:this.handleRemove,className:zW.a.tagsList,tagClassName:zW.a.tag,handleClick:this.handleClick},o.a.createElement(sN,{ref:this.selectRef,size:sN.Size.AUTO,type:sN.Type.INPUT_WITHOUT_CONTROLS,inputPlaceholder:this.props.placeholder,data:this.state.suggestions,className:s()(zW.a.tagsSelect),onSelect:this.addTag,onFocus:this._focusHandler,onBlur:this._blurHandler,renderOptimization:this.props.renderOptimization,add:f?{prefix:"Add new tag"}:void 0,onAdd:f?this.handleTagCreation:void 0,filter:d,maxHeight:this.props.maxPopupHeight,minWidth:this.props.minPopupWidth,top:2,loading:this.state.loading,onFilter:this.loadSuggestions,onBeforeOpen:this.loadSuggestions,onKeyDown:this.handleKeyDown,disabled:this.props.disabled,loadingMessage:this.props.loadingMessage,notFoundMessage:this.props.notFoundMessage})),!l&&o.a.createElement("div",{className:zW.a.underline}),!l&&o.a.createElement("div",{className:zW.a.focusUnderline}))}}])&&VW(t.prototype,n),r&&VW(t,r),a}(r.PureComponent);ZW(eV,"propTypes",{className:c.a.string,tags:c.a.array,dataSource:c.a.func,onAddTag:c.a.func,onRemoveTag:c.a.func,customTagComponent:function(e,t,n){return e[t]&&!e[t].prototype instanceof r.Component?new Error("Invalid prop ".concat(t," supplied to ").concat(n,". Validation failed.")):null},maxPopupHeight:c.a.number,minPopupWidth:c.a.number,placeholder:c.a.string,canNotBeEmpty:c.a.bool,disabled:c.a.bool,autoOpen:c.a.bool,renderOptimization:c.a.bool,legacyMode:c.a.bool,filter:c.a.oneOfType([c.a.bool,c.a.shape({fn:c.a.func})]),loadingMessage:c.a.string,notFoundMessage:c.a.string,allowAddNewTags:c.a.bool}),ZW(eV,"defaultProps",{dataSource:XW,onAddTag:XW,onRemoveTag:XW,customTagComponent:null,maxPopupHeight:500,minPopupWidth:360,canNotBeEmpty:!1,disabled:!1,autoOpen:!1,renderOptimization:!0,legacyMode:!1,allowAddNewTags:!1,filter:{fn:function(){return!0}},placeholder:"Select an option"}),ZW(eV,"ngModelStateField","tags");FS(eV,{captureNode:!1}),cy(eV,"TagsInput").name;var tV=Ou.a.module("Ring.title",[]);tV.directive("rgPageTitle",(function(){return{scope:{rgPageTitle:"@?",noTitle:"@?",delimiter:"@"},controller:["$rootScope","$scope","$element","$attrs","pageTitle","$injector",function(e,t,n,r,o,i){var a=n[0].textContent,s=Ou.a.noop,l=e.$on("$routeChangeSuccess",(function(e,n){if(!n.$$route||!n.$$route.redirectTo){var r=n.$$route&&n.$$route.title;o.setCurrent(t.rgPageTitle||a),!1!==r&&((Ou.a.isArray(r)||Ou.a.isFunction(r))&&(r=i.invoke(r)),o.addElement(r||t.noTitle))}}));t.$on("$destroy",(function(){l(),s()})),this.$onInit=function(){o.setDelimiter(t.delimiter),r.rgPageTitle&&(s=t.$watch("rgPageTitle",(function(e){o.setRootElement(e)})))}}]}})),tV.service("pageTitle",["$interpolate","$document",function(e,t){var n=this,r=" | ",o=t[0].title;function i(t){a(o=t&&e(t)())}function a(e){t[0].title=e}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=o.split(r);n[-1===t?n.length-1:t]=e,i(n.join(r))}this.setDelimiter=function(e){r=e||r},this.setCurrent=function(e){o=e},this.setText=function(e){return a(e)},this.addElement=function(e,t){e.$promise?e.$promise.then((function(e){n.addElement(e[t||"name"])})):function(e){i(o?e+r+o:e)}(t?e[t]:e)},this.updateElement=function(e,t){e.$promise?e.$promise.then((function(e){n.updateElement(e[t||"name"])})):s(t?e[t]:e)},this.setRootElement=function(e){s(e,-1)}}]);tV.name;var nV=n(88),rV=n.n(nV);function oV(e){return(oV="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function iV(){return(iV=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function aV(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function sV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lV(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cV(e,t){return(cV=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function uV(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=dV(e);if(t){var o=dV(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fV(this,n)}}function fV(e,t){return!t||"object"!==oV(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function dV(e){return(dV=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var pV=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cV(e,t)}(a,e);var t,n,r,i=uV(a);function a(){return sV(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=e.disabled,i=e.pale,a=e.title,l=e.leftLabel,c=e.theme,u=e["data-test"],f=e.onTransitionEnd,d=aV(e,["className","children","disabled","pale","title","leftLabel","theme","data-test","onTransitionEnd"]),p=s()(t,rV.a.toggle,rV.a[c],r&&rV.a.disabled);return o.a.createElement("label",{className:p,title:a,"data-test":ql("ring-toggle",u)},l&&o.a.createElement("span",{className:rV.a.leftLabel},l),o.a.createElement("span",{className:rV.a.switchWrapper},o.a.createElement("input",iV({"data-test":"ring-toggle-input"},d,{type:"checkbox",disabled:r,className:rV.a.input})),o.a.createElement("span",{className:s()(rV.a.switch,i&&rV.a.paleSwitch),onTransitionEnd:f})),n&&o.a.createElement("span",{className:rV.a.label},n))}}])&&lV(t.prototype,n),r&&lV(t,r),a}(r.PureComponent);!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(pV,"propTypes",{children:c.a.node,name:c.a.string,className:c.a.string,title:c.a.string,leftLabel:c.a.node,defaultChecked:c.a.bool,checked:c.a.bool,disabled:c.a.bool,pale:c.a.bool,onChange:c.a.func,onTransitionEnd:c.a.func,theme:c.a.string,"data-test":c.a.string});Hl()(pV),n(1103);function hV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mV(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hV(Object(n),!0).forEach((function(t){gV(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hV(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vV=Ou.a.module("Ring.tooltip",[]);vV.directive("rgTooltip",["RgTooltipPopup",function(e){return{restrict:"A",link:function(t,n,r){var o=n[0],i=new e(o,(function(){try{return t.$eval(r.rgTooltip)}catch(e){return r.rgTooltip}}));o.addEventListener("mouseover",(function(){i.displayTooltip(r.rgTooltipClass),o.classList.add("ring-tooltip-ng_open")})),o.addEventListener("mouseout",(function(){i.hideTooltip(),o.classList.remove("ring-tooltip-ng_open")}))}}}]),vV.factory("RgTooltipPopup",(function(){return function(e,t){var n=this;this.wrapperElement=document.createElement("span"),this.defaultProps={anchorElement:e,maxHeight:400,attached:!1,dontCloseOnAnchorClick:!0},this.renderPopup=function(e){n.popup=Object(i.render)(Object(r.createElement)(_g,mV(mV({},n.defaultProps),e),n.text),n.wrapperElement)},this.displayTooltip=function(e){var r=t();if(r){n.text=r;var o=s()({"ring-tooltip-ng":!0},e);n.renderPopup({hidden:!1,className:o})}},this.hideTooltip=function(){n.renderPopup({hidden:!0})}}}));vV.name,n(1105);var yV=function(){return(yV=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},bV=function(e){var t=e.data,n=Object(r.useState)(t[0]),i=n[0],a=n[1],s=Object(r.useCallback)((function(e){window.location.replace(""+window.pathToRoot+e.location+"?query="+e.name),a(e)}),[t]);return o.a.createElement("div",{className:"search-container"},o.a.createElement("div",{className:"search"},o.a.createElement(sN,{selectedLabel:"Search",label:"Please type page name",filter:{fuzzy:!0},clear:!0,selected:i,data:t,onSelect:s})))},_V=function(){var e=[],t=window.pages;return t&&(e=t.map((function(e,t){return yV(yV({},e),{label:e.name,key:t+1,type:e.kind})}))),o.a.createElement(bV,{data:e})};n(479);var wV=function(){var e=function(e){var t=Object(r.useState)(e),n=t[0],o=t[1],i=Object(r.useRef)(null),a=function(e){"Escape"===e.key&&o(!1)},s=function(e){i.current&&!i.current.contains(e.target)&&o(!1)};return Object(r.useEffect)((function(){return document.addEventListener("keydown",a,!1),document.addEventListener("click",s,!1),function(){document.removeEventListener("keydown",a,!1),document.removeEventListener("click",s,!1)}})),{ref:i,isComponentVisible:n,setIsComponentVisible:o}}(!1),t=e.ref,n=e.isComponentVisible,i=e.setIsComponentVisible;return o.a.createElement("div",{ref:t,className:"search-content"},n&&o.a.createElement(_V,null),!n&&o.a.createElement("span",{onClick:function(){return i(!0)}},o.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},o.a.createElement("path",{d:"M19.64 18.36l-6.24-6.24a7.52 7.52 0 1 0-1.28 1.28l6.24 6.24zM7.5 13.4a5.9 5.9 0 1 1 5.9-5.9 5.91 5.91 0 0 1-5.9 5.9z"}))))},xV=document.getElementById("searchBar"),kV=document.createElement("div");Object(i.render)(o.a.createElement(wV,null),kV),xV.appendChild(kV)}]);
-//# sourceMappingURL=main.js.map \ No newline at end of file
diff --git a/plugins/base/src/main/resources/dokka/scripts/main.js.map b/plugins/base/src/main/resources/dokka/scripts/main.js.map
deleted file mode 100644
index 0f8afb88..00000000
--- a/plugins/base/src/main/resources/dokka/scripts/main.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/prop-types/index.js","webpack:///./node_modules/react/index.js","webpack:///./node_modules/classnames/index.js","webpack:///./node_modules/moment/moment.js","webpack:///./node_modules/core-js/modules/es6.object.to-string.js","webpack:///./node_modules/angular/index.js","webpack:///./node_modules/core-js/modules/es6.object.define-property.js","webpack:///./node_modules/core-js/modules/es6.symbol.js","webpack:///./node_modules/core-js/modules/es7.symbol.async-iterator.js","webpack:///./node_modules/core-js/modules/es6.regexp.to-string.js","webpack:///./node_modules/core-js/modules/es6.date.to-string.js","webpack:///./node_modules/core-js/modules/es6.object.create.js","webpack:///./node_modules/core-js/modules/es6.reflect.construct.js","webpack:///./node_modules/core-js/modules/es6.object.set-prototype-of.js","webpack:///./node_modules/core-js/modules/web.dom.iterable.js","webpack:///./node_modules/core-js/modules/es6.array.iterator.js","webpack:///./node_modules/core-js/modules/es6.function.name.js","webpack:///./node_modules/core-js/modules/es6.array.index-of.js","webpack:///./node_modules/core-js/modules/es6.object.assign.js","webpack:///./node_modules/core-js/modules/es6.object.keys.js","webpack:///./node_modules/css-loader/dist/runtime/api.js","webpack:///./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/variables.css?507d","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/date-picker.css?e6d3","webpack:///./node_modules/@jetbrains/ring-ui/components/button/button.css?c9eb","webpack:///./node_modules/core-js/modules/es6.array.filter.js","webpack:///./node_modules/@jetbrains/ring-ui/components/list/list.css?540c","webpack:///./node_modules/@jetbrains/ring-ui/components/global/global.css","webpack:///./node_modules/highlight.js/lib/highlight.js","webpack:///./node_modules/core-js/modules/es6.array.for-each.js","webpack:///./node_modules/core-js/modules/es6.array.map.js","webpack:///./node_modules/core-js/modules/_export.js","webpack:///./node_modules/react-dom/index.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table/table.css?5f71","webpack:///./node_modules/@jetbrains/ring-ui/components/input/input.css?ae42","webpack:///./node_modules/core-js/modules/es6.string.iterator.js","webpack:///./node_modules/@jetbrains/ring-ui/components/island/island.css?c11c","webpack:///./node_modules/core-js/modules/es6.array.is-array.js","webpack:///./node_modules/@jetbrains/ring-ui/components/query-assist/query-assist.css?5a9e","webpack:///./node_modules/core-js/modules/es6.array.from.js","webpack:///./node_modules/core-js/modules/_global.js","webpack:///./node_modules/@jetbrains/ring-ui/components/header/header.css?01e9","webpack:///./node_modules/@babel/runtime/helpers/defineProperty.js","webpack:///./node_modules/dom4/build/dom4.max.js","webpack:///./node_modules/core-js/modules/es6.object.define-properties.js","webpack:///./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js","webpack:///./node_modules/core-js/modules/es6.promise.js","webpack:///./node_modules/@jetbrains/ring-ui/components/select/select.css?d42c","webpack:///./node_modules/core-js/modules/_wks.js","webpack:///./node_modules/core-js/modules/_an-object.js","webpack:///./node_modules/@jetbrains/ring-ui/components/data-list/data-list.css?9644","webpack:///./node_modules/core-js/modules/_is-object.js","webpack:///./node_modules/core-js/modules/es6.regexp.replace.js","webpack:///./node_modules/core-js/modules/_descriptors.js","webpack:///./node_modules/core-js/modules/_fails.js","webpack:///./node_modules/core-js/library/modules/_core.js","webpack:///./node_modules/@jetbrains/icons/close.svg","webpack:///./node_modules/babel-runtime/helpers/extends.js","webpack:///./node_modules/core-js/modules/_object-dp.js","webpack:///./node_modules/core-js/modules/es6.regexp.split.js","webpack:///./node_modules/core-js/library/modules/_global.js","webpack:///./node_modules/@jetbrains/ring-ui/components/icon/icon.css?4710","webpack:///./node_modules/@jetbrains/ring-ui/components/tag/tag.css?b177","webpack:///./node_modules/core-js/modules/_redefine.js","webpack:///./node_modules/regenerator-runtime/runtime.js","webpack:///./node_modules/core-js/library/modules/_wks.js","webpack:///./node_modules/@jetbrains/ring-ui/components/dialog/dialog.css?fd5c","webpack:///./node_modules/@jetbrains/ring-ui/components/link/link.css?1ec0","webpack:///./node_modules/is-whitespace-character/index.js","webpack:///./node_modules/@jetbrains/icons/chevron-right.svg","webpack:///./node_modules/babel-runtime/helpers/classCallCheck.js","webpack:///./node_modules/babel-runtime/helpers/createClass.js","webpack:///./node_modules/@jetbrains/ring-ui/components/checkbox/checkbox.css?e6cd","webpack:///./node_modules/@jetbrains/ring-ui/components/content-layout/content-layout.css?932c","webpack:///./node_modules/@jetbrains/ring-ui/components/error-message/error-message.css?5694","webpack:///./node_modules/babel-runtime/helpers/possibleConstructorReturn.js","webpack:///./node_modules/@jetbrains/ring-ui/components/loader-inline/loader-inline.css?fb3a","webpack:///./node_modules/@jetbrains/ring-ui/components/footer/footer.css?a24f","webpack:///./node_modules/@jetbrains/ring-ui/components/select/select-popup.css?4a3c","webpack:///./node_modules/@jetbrains/ring-ui/components/alert/alert.css?ec4c","webpack:///./node_modules/core-js/modules/_has.js","webpack:///./node_modules/core-js/modules/_to-length.js","webpack:///./node_modules/core-js/modules/_to-object.js","webpack:///./node_modules/xtend/immutable.js","webpack:///./node_modules/core-js/library/modules/_export.js","webpack:///./node_modules/@jetbrains/icons/chevron-10px.svg","webpack:///./node_modules/@jetbrains/ring-ui/components/grid/grid.css?daf1","webpack:///./node_modules/@jetbrains/ring-ui/components/tags-input/tags-input.css?db0a","webpack:///./node_modules/@jetbrains/ring-ui/components/toggle/toggle.css?3f56","webpack:///./node_modules/core-js/library/modules/_an-object.js","webpack:///./node_modules/core-js/library/modules/_descriptors.js","webpack:///./node_modules/@jetbrains/ring-ui/components/header/services.css?b16b","webpack:///./node_modules/core-js/modules/_core.js","webpack:///./node_modules/core-js/modules/_hide.js","webpack:///./node_modules/core-js/modules/_to-iobject.js","webpack:///./node_modules/core-js/modules/_ctx.js","webpack:///./node_modules/core-js/modules/_a-function.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./node_modules/core-js/modules/es6.array.reduce.js","webpack:///./node_modules/core-js/modules/es6.function.bind.js","webpack:///./node_modules/core-js/modules/es7.array.includes.js","webpack:///./node_modules/core-js/library/modules/_object-dp.js","webpack:///./node_modules/core-js/library/modules/_is-object.js","webpack:///./node_modules/@jetbrains/icons/checkmark.svg","webpack:///./node_modules/util-deprecate/browser.js","webpack:///./node_modules/@jetbrains/icons/search.svg","webpack:///./node_modules/babel-runtime/core-js/object/get-prototype-of.js","webpack:///./node_modules/babel-runtime/helpers/inherits.js","webpack:///./node_modules/just-debounce-it/index.js","webpack:///./node_modules/@jetbrains/ring-ui/components/auth-dialog/auth-dialog.css?cef7","webpack:///./node_modules/invariant/browser.js","webpack:///./node_modules/core-js/modules/_cof.js","webpack:///./node_modules/core-js/modules/_defined.js","webpack:///./node_modules/core-js/modules/_object-keys.js","webpack:///./node_modules/core-js/modules/_strict-method.js","webpack:///./node_modules/core-js/modules/es6.string.includes.js","webpack:///./node_modules/define-properties/index.js","webpack:///./node_modules/core-js/library/modules/_hide.js","webpack:///./node_modules/core-js/library/modules/_has.js","webpack:///./node_modules/core-js/library/modules/_to-iobject.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button-group/button-group.css?ce74","webpack:///./node_modules/@jetbrains/ring-ui/components/loader-screen/loader-screen.css?8d42","webpack:///./node_modules/@jetbrains/ring-ui/components/pager/pager.css?2ad6","webpack:///./node_modules/core-js/modules/_object-create.js","webpack:///./node_modules/core-js/modules/_object-gopd.js","webpack:///./node_modules/core-js/modules/_validate-collection.js","webpack:///./node_modules/es-abstract/GetIntrinsic.js","webpack:///./node_modules/has-symbols/index.js","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./node_modules/core-js/library/modules/_fails.js","webpack:///./node_modules/trim/index.js","webpack:///./node_modules/@jetbrains/icons/chevron-down.svg","webpack:///./node_modules/@jetbrains/icons/chevron-left.svg","webpack:///./node_modules/deep-equal/index.js","webpack:///./node_modules/@jetbrains/ring-ui/components/avatar/avatar.css?81bd","webpack:///./node_modules/@jetbrains/ring-ui/components/badge/badge.css?c939","webpack:///./node_modules/@jetbrains/ring-ui/components/progress-bar/progress-bar.css?4f0f","webpack:///./node_modules/core-js/modules/_add-to-unscopables.js","webpack:///./node_modules/core-js/modules/_library.js","webpack:///./node_modules/core-js/modules/_uid.js","webpack:///./node_modules/core-js/modules/_property-desc.js","webpack:///./node_modules/core-js/modules/_iterators.js","webpack:///./node_modules/core-js/modules/_set-to-string-tag.js","webpack:///./node_modules/core-js/modules/_object-pie.js","webpack:///./node_modules/core-js/modules/_meta.js","webpack:///./node_modules/core-js/modules/_object-gopn.js","webpack:///./node_modules/es-abstract/helpers/callBound.js","webpack:///./node_modules/core-js/modules/es6.string.trim.js","webpack:///./node_modules/core-js/library/modules/_ctx.js","webpack:///./node_modules/core-js/library/modules/_object-keys.js","webpack:///./node_modules/core-js/library/modules/_cof.js","webpack:///./node_modules/core-js/library/modules/_library.js","webpack:///./node_modules/core-js/library/modules/_to-object.js","webpack:///./node_modules/core-js/library/modules/_iterators.js","webpack:///./node_modules/fbjs/lib/shallowEqual.js","webpack:///./node_modules/@jetbrains/icons/services-20px.svg","webpack:///./node_modules/react-waypoint/es/index.js","webpack:///./node_modules/@jetbrains/ring-ui/components/dropdown/dropdown.css?83f2","webpack:///./node_modules/@babel/runtime/helpers/assertThisInitialized.js","webpack:///./node_modules/@jetbrains/ring-ui/components/popup/popup.css?c1c1","webpack:///./node_modules/@jetbrains/ring-ui/components/loader/loader.css?6bae","webpack:///./node_modules/@jetbrains/ring-ui/components/radio/radio.css?f7cf","webpack:///./node_modules/object-assign/index.js","webpack:///./node_modules/core-js/modules/_shared.js","webpack:///./node_modules/core-js/modules/_to-primitive.js","webpack:///./node_modules/core-js/modules/_iobject.js","webpack:///./node_modules/core-js/modules/_to-integer.js","webpack:///./node_modules/core-js/modules/es7.object.values.js","webpack:///./node_modules/core-js/modules/_object-gops.js","webpack:///./node_modules/core-js/modules/_flags.js","webpack:///./node_modules/core-js/modules/_classof.js","webpack:///./node_modules/core-js/modules/_regexp-exec-abstract.js","webpack:///./node_modules/core-js/modules/_fix-re-wks.js","webpack:///./node_modules/core-js/modules/_redefine-all.js","webpack:///./node_modules/core-js/modules/_an-instance.js","webpack:///./node_modules/core-js/modules/_for-of.js","webpack:///./node_modules/core-js/modules/es7.object.entries.js","webpack:///./node_modules/core-js/modules/es6.set.js","webpack:///./node_modules/core-js/modules/es6.regexp.match.js","webpack:///./node_modules/core-js/modules/es6.string.link.js","webpack:///./node_modules/core-js/modules/es6.array.sort.js","webpack:///./node_modules/core-js/modules/es6.array.some.js","webpack:///./node_modules/core-js/modules/es6.number.constructor.js","webpack:///./node_modules/core-js/library/modules/_a-function.js","webpack:///./node_modules/core-js/library/modules/_property-desc.js","webpack:///./node_modules/core-js/library/modules/_uid.js","webpack:///./node_modules/core-js/library/modules/_object-pie.js","webpack:///./node_modules/core-js/library/modules/_set-to-string-tag.js","webpack:///./node_modules/is-decimal/index.js","webpack:///./node_modules/unist-util-visit/index.js","webpack:///./node_modules/@jetbrains/icons/exception.svg","webpack:///./node_modules/@jetbrains/icons/warning.svg","webpack:///./node_modules/@jetbrains/icons/calendar.svg","webpack:///./node_modules/@jetbrains/icons/drag.svg","webpack:///./node_modules/@jetbrains/icons/pencil.svg","webpack:///./node_modules/@jetbrains/icons/unsorted-10px.svg","webpack:///./node_modules/@jetbrains/ring-ui/components/group/group.css?0ab0","webpack:///./node_modules/element-resize-detector/src/element-resize-detector.js","webpack:///./node_modules/babel-runtime/core-js/object/assign.js","webpack:///./node_modules/react-virtualized/dist/es/vendor/detectElementResize.js","webpack:///./node_modules/@babel/runtime/helpers/classCallCheck.js","webpack:///./node_modules/@babel/runtime/helpers/createClass.js","webpack:///./node_modules/symbol-observable/es/index.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button-ng/button-ng.css?8558","webpack:///./node_modules/@jetbrains/ring-ui/components/code/code.css?971c","webpack:///./node_modules/@jetbrains/ring-ui/components/error-bubble/error-bubble.css?89eb","webpack:///./node_modules/@jetbrains/ring-ui/components/tabs/tabs.css?904a","webpack:///./node_modules/core-js/modules/_dom-create.js","webpack:///./node_modules/core-js/modules/_iter-define.js","webpack:///./node_modules/core-js/modules/_array-includes.js","webpack:///./node_modules/core-js/modules/_shared-key.js","webpack:///./node_modules/core-js/modules/_enum-bug-keys.js","webpack:///./node_modules/core-js/modules/_is-array.js","webpack:///./node_modules/core-js/modules/_iter-detect.js","webpack:///./node_modules/core-js/modules/_is-regexp.js","webpack:///./node_modules/core-js/modules/_advance-string-index.js","webpack:///./node_modules/core-js/modules/_regexp-exec.js","webpack:///./node_modules/core-js/modules/_collection.js","webpack:///./node_modules/core-js/modules/_inherit-if-required.js","webpack:///./node_modules/core-js/modules/es6.map.js","webpack:///./node_modules/core-js/modules/_set-species.js","webpack:///./node_modules/core-js/modules/_species-constructor.js","webpack:///./node_modules/@jetbrains/ring-ui/components/alert/alert.css","webpack:///./node_modules/core-js/modules/_string-html.js","webpack:///./node_modules/core-js/modules/es6.date.now.js","webpack:///./node_modules/core-js/modules/es6.reflect.delete-property.js","webpack:///./node_modules/object-keys/index.js","webpack:///./node_modules/es-abstract/helpers/callBind.js","webpack:///./node_modules/function-bind/index.js","webpack:///./node_modules/has-symbols/shams.js","webpack:///./node_modules/process/browser.js","webpack:///./node_modules/combokeys/helpers/isModifier.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button-toolbar/button-toolbar.css","webpack:///./node_modules/core-js/modules/es6.string.anchor.js","webpack:///./node_modules/core-js/library/modules/_dom-create.js","webpack:///./node_modules/core-js/library/modules/_to-primitive.js","webpack:///./node_modules/core-js/library/modules/_defined.js","webpack:///./node_modules/core-js/library/modules/_to-integer.js","webpack:///./node_modules/core-js/library/modules/_shared-key.js","webpack:///./node_modules/core-js/library/modules/_shared.js","webpack:///./node_modules/core-js/library/modules/_enum-bug-keys.js","webpack:///./node_modules/core-js/library/modules/_object-gops.js","webpack:///./node_modules/core-js/library/modules/_object-gopd.js","webpack:///./node_modules/core-js/library/modules/_object-sap.js","webpack:///./node_modules/core-js/library/modules/_object-create.js","webpack:///./node_modules/core-js/library/modules/_wks-ext.js","webpack:///./node_modules/core-js/library/modules/_wks-define.js","webpack:///./node_modules/core-js/library/modules/_new-promise-capability.js","webpack:///./node_modules/parse-entities/index.js","webpack:///./node_modules/repeat-string/index.js","webpack:///./node_modules/trim-trailing-lines/index.js","webpack:///./node_modules/remark-parse/lib/util/interrupt.js","webpack:///./node_modules/remark-parse/lib/util/normalize.js","webpack:///./node_modules/@jetbrains/ring-ui/components/code/highlight.css?30bd","webpack:///./node_modules/react-is/index.js","webpack:///./node_modules/react-dom/server.browser.js","webpack:///./node_modules/change-emitter/lib/index.js","webpack:///./node_modules/@jetbrains/ring-ui/components/alert/container.css?664c","webpack:///./node_modules/@jetbrains/ring-ui/components/auth/down-notification.css?5fea","webpack:///./node_modules/consolidated-events/lib/index.esm.js","webpack:///./node_modules/@jetbrains/ring-ui/components/text/text.css?ef45","webpack:///./node_modules/babel-runtime/core-js/object/keys.js","webpack:///./node_modules/@jetbrains/ring-ui/components/heading/heading.css?95e3","webpack:///./node_modules/@jetbrains/ring-ui/components/markdown/markdown.css?de15","webpack:///./node_modules/@jetbrains/ring-ui/components/input-ng/input-ng.css?fd0a","webpack:///./node_modules/core-js/modules/_ie8-dom-define.js","webpack:///./node_modules/core-js/modules/_iter-step.js","webpack:///./node_modules/core-js/modules/_object-dps.js","webpack:///./node_modules/core-js/modules/_object-keys-internal.js","webpack:///./node_modules/core-js/modules/_to-absolute-index.js","webpack:///./node_modules/core-js/modules/_html.js","webpack:///./node_modules/core-js/modules/_object-gpo.js","webpack:///./node_modules/core-js/modules/_object-to-array.js","webpack:///./node_modules/core-js/modules/_wks-define.js","webpack:///./node_modules/core-js/modules/_wks-ext.js","webpack:///./node_modules/core-js/modules/_bind.js","webpack:///./node_modules/core-js/modules/_invoke.js","webpack:///./node_modules/core-js/modules/_set-proto.js","webpack:///./node_modules/core-js/modules/_object-assign.js","webpack:///./node_modules/core-js/modules/_string-at.js","webpack:///./node_modules/core-js/modules/_iter-call.js","webpack:///./node_modules/core-js/modules/_is-array-iter.js","webpack:///./node_modules/core-js/modules/_create-property.js","webpack:///./node_modules/core-js/modules/core.get-iterator-method.js","webpack:///./node_modules/core-js/modules/_string-context.js","webpack:///./node_modules/core-js/modules/_fails-is-regexp.js","webpack:///./node_modules/core-js/modules/es6.weak-map.js","webpack:///./node_modules/core-js/modules/_collection-strong.js","webpack:///./node_modules/core-js/modules/_task.js","webpack:///./node_modules/core-js/modules/_new-promise-capability.js","webpack:///./node_modules/core-js/modules/_promise-resolve.js","webpack:///./node_modules/core-js/modules/es6.regexp.search.js","webpack:///./node_modules/object-keys/isArguments.js","webpack:///./node_modules/is-arguments/index.js","webpack:///./node_modules/object-is/implementation.js","webpack:///./node_modules/object-is/polyfill.js","webpack:///./node_modules/regexp.prototype.flags/implementation.js","webpack:///./node_modules/regexp.prototype.flags/polyfill.js","webpack:///./node_modules/isarray/index.js","webpack:///./node_modules/is-string/index.js","webpack:///./node_modules/is-map/index.js","webpack:///./node_modules/is-set/index.js","webpack:///./node_modules/foreach/index.js","webpack:///./node_modules/available-typed-arrays/index.js","webpack:///./node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js","webpack:///./node_modules/object.assign/implementation.js","webpack:///./node_modules/object.assign/polyfill.js","webpack:///./node_modules/element-resize-detector/src/collection-utils.js","webpack:///./node_modules/element-resize-detector/src/browser-detector.js","webpack:///./node_modules/core-js/modules/es6.array.find-index.js","webpack:///./node_modules/combokeys/Combokeys/prototype/dom-event.js","webpack:///./node_modules/combokeys/helpers/characterFromEvent.js","webpack:///./node_modules/combokeys/helpers/special-keys-map.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button-group/button-group.css","webpack:///./node_modules/@jetbrains/ring-ui/components/button-set/button-set.css","webpack:///./node_modules/@jetbrains/ring-ui/components/dialog/dialog.css","webpack:///./node_modules/core-js/modules/_string-trim.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table/table.css","webpack:///./node_modules/moment/locale/af.js","webpack:///./node_modules/moment/locale/ar.js","webpack:///./node_modules/moment/locale/ar-dz.js","webpack:///./node_modules/moment/locale/ar-kw.js","webpack:///./node_modules/moment/locale/ar-ly.js","webpack:///./node_modules/moment/locale/ar-ma.js","webpack:///./node_modules/moment/locale/ar-sa.js","webpack:///./node_modules/moment/locale/ar-tn.js","webpack:///./node_modules/moment/locale/az.js","webpack:///./node_modules/moment/locale/be.js","webpack:///./node_modules/moment/locale/bg.js","webpack:///./node_modules/moment/locale/bm.js","webpack:///./node_modules/moment/locale/bn.js","webpack:///./node_modules/moment/locale/bo.js","webpack:///./node_modules/moment/locale/br.js","webpack:///./node_modules/moment/locale/bs.js","webpack:///./node_modules/moment/locale/ca.js","webpack:///./node_modules/moment/locale/cs.js","webpack:///./node_modules/moment/locale/cv.js","webpack:///./node_modules/moment/locale/cy.js","webpack:///./node_modules/moment/locale/da.js","webpack:///./node_modules/moment/locale/de.js","webpack:///./node_modules/moment/locale/de-at.js","webpack:///./node_modules/moment/locale/de-ch.js","webpack:///./node_modules/moment/locale/dv.js","webpack:///./node_modules/moment/locale/el.js","webpack:///./node_modules/moment/locale/en-au.js","webpack:///./node_modules/moment/locale/en-ca.js","webpack:///./node_modules/moment/locale/en-gb.js","webpack:///./node_modules/moment/locale/en-ie.js","webpack:///./node_modules/moment/locale/en-il.js","webpack:///./node_modules/moment/locale/en-in.js","webpack:///./node_modules/moment/locale/en-nz.js","webpack:///./node_modules/moment/locale/en-sg.js","webpack:///./node_modules/moment/locale/eo.js","webpack:///./node_modules/moment/locale/es.js","webpack:///./node_modules/moment/locale/es-do.js","webpack:///./node_modules/moment/locale/es-us.js","webpack:///./node_modules/moment/locale/et.js","webpack:///./node_modules/moment/locale/eu.js","webpack:///./node_modules/moment/locale/fa.js","webpack:///./node_modules/moment/locale/fi.js","webpack:///./node_modules/moment/locale/fil.js","webpack:///./node_modules/moment/locale/fo.js","webpack:///./node_modules/moment/locale/fr.js","webpack:///./node_modules/moment/locale/fr-ca.js","webpack:///./node_modules/moment/locale/fr-ch.js","webpack:///./node_modules/moment/locale/fy.js","webpack:///./node_modules/moment/locale/ga.js","webpack:///./node_modules/moment/locale/gd.js","webpack:///./node_modules/moment/locale/gl.js","webpack:///./node_modules/moment/locale/gom-deva.js","webpack:///./node_modules/moment/locale/gom-latn.js","webpack:///./node_modules/moment/locale/gu.js","webpack:///./node_modules/moment/locale/he.js","webpack:///./node_modules/moment/locale/hi.js","webpack:///./node_modules/moment/locale/hr.js","webpack:///./node_modules/moment/locale/hu.js","webpack:///./node_modules/moment/locale/hy-am.js","webpack:///./node_modules/moment/locale/id.js","webpack:///./node_modules/moment/locale/is.js","webpack:///./node_modules/moment/locale/it.js","webpack:///./node_modules/moment/locale/it-ch.js","webpack:///./node_modules/moment/locale/ja.js","webpack:///./node_modules/moment/locale/jv.js","webpack:///./node_modules/moment/locale/ka.js","webpack:///./node_modules/moment/locale/kk.js","webpack:///./node_modules/moment/locale/km.js","webpack:///./node_modules/moment/locale/kn.js","webpack:///./node_modules/moment/locale/ko.js","webpack:///./node_modules/moment/locale/ku.js","webpack:///./node_modules/moment/locale/ky.js","webpack:///./node_modules/moment/locale/lb.js","webpack:///./node_modules/moment/locale/lo.js","webpack:///./node_modules/moment/locale/lt.js","webpack:///./node_modules/moment/locale/lv.js","webpack:///./node_modules/moment/locale/me.js","webpack:///./node_modules/moment/locale/mi.js","webpack:///./node_modules/moment/locale/mk.js","webpack:///./node_modules/moment/locale/ml.js","webpack:///./node_modules/moment/locale/mn.js","webpack:///./node_modules/moment/locale/mr.js","webpack:///./node_modules/moment/locale/ms.js","webpack:///./node_modules/moment/locale/ms-my.js","webpack:///./node_modules/moment/locale/mt.js","webpack:///./node_modules/moment/locale/my.js","webpack:///./node_modules/moment/locale/nb.js","webpack:///./node_modules/moment/locale/ne.js","webpack:///./node_modules/moment/locale/nl.js","webpack:///./node_modules/moment/locale/nl-be.js","webpack:///./node_modules/moment/locale/nn.js","webpack:///./node_modules/moment/locale/oc-lnc.js","webpack:///./node_modules/moment/locale/pa-in.js","webpack:///./node_modules/moment/locale/pl.js","webpack:///./node_modules/moment/locale/pt.js","webpack:///./node_modules/moment/locale/pt-br.js","webpack:///./node_modules/moment/locale/ro.js","webpack:///./node_modules/moment/locale/ru.js","webpack:///./node_modules/moment/locale/sd.js","webpack:///./node_modules/moment/locale/se.js","webpack:///./node_modules/moment/locale/si.js","webpack:///./node_modules/moment/locale/sk.js","webpack:///./node_modules/moment/locale/sl.js","webpack:///./node_modules/moment/locale/sq.js","webpack:///./node_modules/moment/locale/sr.js","webpack:///./node_modules/moment/locale/sr-cyrl.js","webpack:///./node_modules/moment/locale/ss.js","webpack:///./node_modules/moment/locale/sv.js","webpack:///./node_modules/moment/locale/sw.js","webpack:///./node_modules/moment/locale/ta.js","webpack:///./node_modules/moment/locale/te.js","webpack:///./node_modules/moment/locale/tet.js","webpack:///./node_modules/moment/locale/tg.js","webpack:///./node_modules/moment/locale/th.js","webpack:///./node_modules/moment/locale/tl-ph.js","webpack:///./node_modules/moment/locale/tlh.js","webpack:///./node_modules/moment/locale/tr.js","webpack:///./node_modules/moment/locale/tzl.js","webpack:///./node_modules/moment/locale/tzm.js","webpack:///./node_modules/moment/locale/tzm-latn.js","webpack:///./node_modules/moment/locale/ug-cn.js","webpack:///./node_modules/moment/locale/uk.js","webpack:///./node_modules/moment/locale/ur.js","webpack:///./node_modules/moment/locale/uz.js","webpack:///./node_modules/moment/locale/uz-latn.js","webpack:///./node_modules/moment/locale/vi.js","webpack:///./node_modules/moment/locale/x-pseudo.js","webpack:///./node_modules/moment/locale/yo.js","webpack:///./node_modules/moment/locale/zh-cn.js","webpack:///./node_modules/moment/locale/zh-hk.js","webpack:///./node_modules/moment/locale/zh-mo.js","webpack:///./node_modules/moment/locale/zh-tw.js","webpack:///./node_modules/@jetbrains/ring-ui/components/select/select-popup.css","webpack:///./node_modules/@jetbrains/ring-ui/components/form/form.scss?18e5","webpack:///./node_modules/core-js/modules/es6.number.is-integer.js","webpack:///./node_modules/core-js/library/modules/_ie8-dom-define.js","webpack:///./node_modules/core-js/library/modules/_object-keys-internal.js","webpack:///./node_modules/core-js/library/modules/_iobject.js","webpack:///./node_modules/core-js/library/modules/_to-length.js","webpack:///./node_modules/core-js/library/modules/_object-gpo.js","webpack:///./node_modules/babel-runtime/helpers/typeof.js","webpack:///./node_modules/core-js/library/modules/es6.string.iterator.js","webpack:///./node_modules/core-js/library/modules/_iter-define.js","webpack:///./node_modules/core-js/library/modules/_redefine.js","webpack:///./node_modules/core-js/library/modules/_html.js","webpack:///./node_modules/core-js/library/modules/web.dom.iterable.js","webpack:///./node_modules/core-js/library/modules/_object-gopn.js","webpack:///./node_modules/core-js/library/modules/_classof.js","webpack:///./node_modules/core-js/library/modules/_species-constructor.js","webpack:///./node_modules/core-js/library/modules/_task.js","webpack:///./node_modules/core-js/library/modules/_perform.js","webpack:///./node_modules/core-js/library/modules/_promise-resolve.js","webpack:///./node_modules/path-browserify/index.js","webpack:///./node_modules/is-alphabetical/index.js","webpack:///./node_modules/remark-parse/lib/defaults.js","webpack:///./node_modules/remark-parse/lib/util/get-indentation.js","webpack:///./node_modules/remark-parse/lib/util/html.js","webpack:///./node_modules/remark-parse/lib/locate/tag.js","webpack:///./node_modules/remark-parse/lib/locate/link.js","webpack:///./src/main/components/app/index.scss?ea1b","webpack:///./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack:///./node_modules/symbol-observable/es/ponyfill.js","webpack:///./node_modules/sniffr/src/sniffr.js","webpack:///./node_modules/@jetbrains/icons/activity.svg","webpack:///./node_modules/@jetbrains/icons/add-10px.svg","webpack:///./node_modules/@jetbrains/icons/add-20px.svg","webpack:///./node_modules/@jetbrains/icons/add.svg","webpack:///./node_modules/@jetbrains/icons/analytics.svg","webpack:///./node_modules/@jetbrains/icons/archive.svg","webpack:///./node_modules/@jetbrains/icons/arrow-up.svg","webpack:///./node_modules/@jetbrains/icons/artifacts.svg","webpack:///./node_modules/@jetbrains/icons/asterisk-10px.svg","webpack:///./node_modules/@jetbrains/icons/asterisk.svg","webpack:///./node_modules/@jetbrains/icons/attachment.svg","webpack:///./node_modules/@jetbrains/icons/average.svg","webpack:///./node_modules/@jetbrains/icons/bars.svg","webpack:///./node_modules/@jetbrains/icons/bell.svg","webpack:///./node_modules/@jetbrains/icons/branches.svg","webpack:///./node_modules/@jetbrains/icons/bug.svg","webpack:///./node_modules/@jetbrains/icons/buildType-14px-arrow.svg","webpack:///./node_modules/@jetbrains/icons/buildType-14px-fill-arrow.svg","webpack:///./node_modules/@jetbrains/icons/buildType-14px-fill.svg","webpack:///./node_modules/@jetbrains/icons/buildType-14px.svg","webpack:///./node_modules/@jetbrains/icons/buildType-20px-arrow.svg","webpack:///./node_modules/@jetbrains/icons/buildType-20px-fill-arrow.svg","webpack:///./node_modules/@jetbrains/icons/buildType-20px-fill.svg","webpack:///./node_modules/@jetbrains/icons/buildType-20px.svg","webpack:///./node_modules/@jetbrains/icons/buildType-composite-14px-arrow.svg","webpack:///./node_modules/@jetbrains/icons/buildType-composite-14px-fill-arrow.svg","webpack:///./node_modules/@jetbrains/icons/buildType-composite-14px-fill.svg","webpack:///./node_modules/@jetbrains/icons/buildType-composite-14px.svg","webpack:///./node_modules/@jetbrains/icons/buildType-composite-20px-arrow.svg","webpack:///./node_modules/@jetbrains/icons/buildType-composite-20px-fill-arrow.svg","webpack:///./node_modules/@jetbrains/icons/buildType-composite-20px-fill.svg","webpack:///./node_modules/@jetbrains/icons/buildType-composite-20px.svg","webpack:///./node_modules/@jetbrains/icons/burndown.svg","webpack:///./node_modules/@jetbrains/icons/cancel-20px.svg","webpack:///./node_modules/@jetbrains/icons/cancel.svg","webpack:///./node_modules/@jetbrains/icons/caret-down-10px.svg","webpack:///./node_modules/@jetbrains/icons/caret-right-10px.svg","webpack:///./node_modules/@jetbrains/icons/change.svg","webpack:///./node_modules/@jetbrains/icons/chevron-up.svg","webpack:///./node_modules/@jetbrains/icons/cloud.svg","webpack:///./node_modules/@jetbrains/icons/code.svg","webpack:///./node_modules/@jetbrains/icons/collapse.svg","webpack:///./node_modules/@jetbrains/icons/comment.svg","webpack:///./node_modules/@jetbrains/icons/compare.svg","webpack:///./node_modules/@jetbrains/icons/copy.svg","webpack:///./node_modules/@jetbrains/icons/crop.svg","webpack:///./node_modules/@jetbrains/icons/data.svg","webpack:///./node_modules/@jetbrains/icons/dice.svg","webpack:///./node_modules/@jetbrains/icons/disconnected.svg","webpack:///./node_modules/@jetbrains/icons/distribution.svg","webpack:///./node_modules/@jetbrains/icons/double-chevron-left.svg","webpack:///./node_modules/@jetbrains/icons/double-chevron-right.svg","webpack:///./node_modules/@jetbrains/icons/download.svg","webpack:///./node_modules/@jetbrains/icons/drop.svg","webpack:///./node_modules/@jetbrains/icons/e-mail.svg","webpack:///./node_modules/@jetbrains/icons/earth.svg","webpack:///./node_modules/@jetbrains/icons/emoji.svg","webpack:///./node_modules/@jetbrains/icons/entry.svg","webpack:///./node_modules/@jetbrains/icons/exception-20px.svg","webpack:///./node_modules/@jetbrains/icons/expand.svg","webpack:///./node_modules/@jetbrains/icons/experiment-20px.svg","webpack:///./node_modules/@jetbrains/icons/eye.svg","webpack:///./node_modules/@jetbrains/icons/fields.svg","webpack:///./node_modules/@jetbrains/icons/file-add-any.svg","webpack:///./node_modules/@jetbrains/icons/file-archive.svg","webpack:///./node_modules/@jetbrains/icons/file-as.svg","webpack:///./node_modules/@jetbrains/icons/file-aspectj.svg","webpack:///./node_modules/@jetbrains/icons/file-config.svg","webpack:///./node_modules/@jetbrains/icons/file-css.svg","webpack:///./node_modules/@jetbrains/icons/file-custom.svg","webpack:///./node_modules/@jetbrains/icons/file-diagram.svg","webpack:///./node_modules/@jetbrains/icons/file-dtd.svg","webpack:///./node_modules/@jetbrains/icons/file-htaccess.svg","webpack:///./node_modules/@jetbrains/icons/file-html.svg","webpack:///./node_modules/@jetbrains/icons/file-idl.svg","webpack:///./node_modules/@jetbrains/icons/file-java-class.svg","webpack:///./node_modules/@jetbrains/icons/file-java-outside-source.svg","webpack:///./node_modules/@jetbrains/icons/file-java.svg","webpack:///./node_modules/@jetbrains/icons/file-js.svg","webpack:///./node_modules/@jetbrains/icons/file-json-dark.svg","webpack:///./node_modules/@jetbrains/icons/file-json-schema-dark.svg","webpack:///./node_modules/@jetbrains/icons/file-json-schema.svg","webpack:///./node_modules/@jetbrains/icons/file-json.svg","webpack:///./node_modules/@jetbrains/icons/file-jsp.svg","webpack:///./node_modules/@jetbrains/icons/file-jspx.svg","webpack:///./node_modules/@jetbrains/icons/file-manifest.svg","webpack:///./node_modules/@jetbrains/icons/file-properties.svg","webpack:///./node_modules/@jetbrains/icons/file-regexp.svg","webpack:///./node_modules/@jetbrains/icons/file-text.svg","webpack:///./node_modules/@jetbrains/icons/file-ui-form.svg","webpack:///./node_modules/@jetbrains/icons/file-unknown.svg","webpack:///./node_modules/@jetbrains/icons/file-wsdl.svg","webpack:///./node_modules/@jetbrains/icons/file-xhtml.svg","webpack:///./node_modules/@jetbrains/icons/file-xml.svg","webpack:///./node_modules/@jetbrains/icons/file-xsd.svg","webpack:///./node_modules/@jetbrains/icons/file-yaml.svg","webpack:///./node_modules/@jetbrains/icons/file.svg","webpack:///./node_modules/@jetbrains/icons/filters.svg","webpack:///./node_modules/@jetbrains/icons/flag.svg","webpack:///./node_modules/@jetbrains/icons/folder.svg","webpack:///./node_modules/@jetbrains/icons/frown.svg","webpack:///./node_modules/@jetbrains/icons/gift-20px.svg","webpack:///./node_modules/@jetbrains/icons/gift.svg","webpack:///./node_modules/@jetbrains/icons/git.svg","webpack:///./node_modules/@jetbrains/icons/group.svg","webpack:///./node_modules/@jetbrains/icons/help-20px.svg","webpack:///./node_modules/@jetbrains/icons/help.svg","webpack:///./node_modules/@jetbrains/icons/history.svg","webpack:///./node_modules/@jetbrains/icons/hourglass-20px.svg","webpack:///./node_modules/@jetbrains/icons/hourglass.svg","webpack:///./node_modules/@jetbrains/icons/ignored.svg","webpack:///./node_modules/@jetbrains/icons/info.svg","webpack:///./node_modules/@jetbrains/icons/investigation-14px.svg","webpack:///./node_modules/@jetbrains/icons/investigation.svg","webpack:///./node_modules/@jetbrains/icons/lamp.svg","webpack:///./node_modules/@jetbrains/icons/link.svg","webpack:///./node_modules/@jetbrains/icons/lock.svg","webpack:///./node_modules/@jetbrains/icons/magic-wand.svg","webpack:///./node_modules/@jetbrains/icons/mammoth-20px.svg","webpack:///./node_modules/@jetbrains/icons/marker.svg","webpack:///./node_modules/@jetbrains/icons/meta.svg","webpack:///./node_modules/@jetbrains/icons/modified-10px.svg","webpack:///./node_modules/@jetbrains/icons/more-options.svg","webpack:///./node_modules/@jetbrains/icons/move-to-top.svg","webpack:///./node_modules/@jetbrains/icons/move.svg","webpack:///./node_modules/@jetbrains/icons/mute.svg","webpack:///./node_modules/@jetbrains/icons/muted.svg","webpack:///./node_modules/@jetbrains/icons/new-window.svg","webpack:///./node_modules/@jetbrains/icons/no-artifacts.svg","webpack:///./node_modules/@jetbrains/icons/ok-20px.svg","webpack:///./node_modules/@jetbrains/icons/ok.svg","webpack:///./node_modules/@jetbrains/icons/overtime.svg","webpack:///./node_modules/@jetbrains/icons/paused-14px.svg","webpack:///./node_modules/@jetbrains/icons/paused.svg","webpack:///./node_modules/@jetbrains/icons/pennant.svg","webpack:///./node_modules/@jetbrains/icons/permission.svg","webpack:///./node_modules/@jetbrains/icons/pin-empty.svg","webpack:///./node_modules/@jetbrains/icons/pin-filled.svg","webpack:///./node_modules/@jetbrains/icons/play.svg","webpack:///./node_modules/@jetbrains/icons/pr-close.svg","webpack:///./node_modules/@jetbrains/icons/pr-merged.svg","webpack:///./node_modules/@jetbrains/icons/pr-open.svg","webpack:///./node_modules/@jetbrains/icons/pr-unknown.svg","webpack:///./node_modules/@jetbrains/icons/printer.svg","webpack:///./node_modules/@jetbrains/icons/project-14px-arrow.svg","webpack:///./node_modules/@jetbrains/icons/project-14px-fill-arrow.svg","webpack:///./node_modules/@jetbrains/icons/project-14px-fill.svg","webpack:///./node_modules/@jetbrains/icons/project-14px.svg","webpack:///./node_modules/@jetbrains/icons/project-20px-arrow.svg","webpack:///./node_modules/@jetbrains/icons/project-20px-fill-arrow.svg","webpack:///./node_modules/@jetbrains/icons/project-20px-fill.svg","webpack:///./node_modules/@jetbrains/icons/project-20px.svg","webpack:///./node_modules/@jetbrains/icons/puzzle.svg","webpack:///./node_modules/@jetbrains/icons/rate.svg","webpack:///./node_modules/@jetbrains/icons/redo.svg","webpack:///./node_modules/@jetbrains/icons/remove-10px.svg","webpack:///./node_modules/@jetbrains/icons/renamed-10px.svg","webpack:///./node_modules/@jetbrains/icons/reviewers-graph.svg","webpack:///./node_modules/@jetbrains/icons/search-20px.svg","webpack:///./node_modules/@jetbrains/icons/search-empty.svg","webpack:///./node_modules/@jetbrains/icons/search-error.svg","webpack:///./node_modules/@jetbrains/icons/services.svg","webpack:///./node_modules/@jetbrains/icons/settings-20px.svg","webpack:///./node_modules/@jetbrains/icons/settings.svg","webpack:///./node_modules/@jetbrains/icons/shield.svg","webpack:///./node_modules/@jetbrains/icons/spinner-20px.svg","webpack:///./node_modules/@jetbrains/icons/spinner-static.svg","webpack:///./node_modules/@jetbrains/icons/spinner.svg","webpack:///./node_modules/@jetbrains/icons/stamp.svg","webpack:///./node_modules/@jetbrains/icons/star-empty-14px.svg","webpack:///./node_modules/@jetbrains/icons/star-empty.svg","webpack:///./node_modules/@jetbrains/icons/star-filled-14px.svg","webpack:///./node_modules/@jetbrains/icons/star-filled.svg","webpack:///./node_modules/@jetbrains/icons/stop.svg","webpack:///./node_modules/@jetbrains/icons/table.svg","webpack:///./node_modules/@jetbrains/icons/tag.svg","webpack:///./node_modules/@jetbrains/icons/task.svg","webpack:///./node_modules/@jetbrains/icons/template-14px-arrow.svg","webpack:///./node_modules/@jetbrains/icons/template-14px.svg","webpack:///./node_modules/@jetbrains/icons/template-20px-arrow.svg","webpack:///./node_modules/@jetbrains/icons/template-20px.svg","webpack:///./node_modules/@jetbrains/icons/time.svg","webpack:///./node_modules/@jetbrains/icons/torrent.svg","webpack:///./node_modules/@jetbrains/icons/trash.svg","webpack:///./node_modules/@jetbrains/icons/treemap.svg","webpack:///./node_modules/@jetbrains/icons/umbrella.svg","webpack:///./node_modules/@jetbrains/icons/unauthorized.svg","webpack:///./node_modules/@jetbrains/icons/undo.svg","webpack:///./node_modules/@jetbrains/icons/unknown-os.svg","webpack:///./node_modules/@jetbrains/icons/update.svg","webpack:///./node_modules/@jetbrains/icons/user-20px.svg","webpack:///./node_modules/@jetbrains/icons/user-cancel-20px.svg","webpack:///./node_modules/@jetbrains/icons/user-cancel.svg","webpack:///./node_modules/@jetbrains/icons/user-exception-20px.svg","webpack:///./node_modules/@jetbrains/icons/user-exception.svg","webpack:///./node_modules/@jetbrains/icons/user-gear.svg","webpack:///./node_modules/@jetbrains/icons/user-hourglass-20px.svg","webpack:///./node_modules/@jetbrains/icons/user-hourglass.svg","webpack:///./node_modules/@jetbrains/icons/user-ok-20px.svg","webpack:///./node_modules/@jetbrains/icons/user-ok.svg","webpack:///./node_modules/@jetbrains/icons/user-spinner-20px.svg","webpack:///./node_modules/@jetbrains/icons/user-spinner.svg","webpack:///./node_modules/@jetbrains/icons/user-warning-20px.svg","webpack:///./node_modules/@jetbrains/icons/user-warning.svg","webpack:///./node_modules/@jetbrains/icons/user.svg","webpack:///./node_modules/@jetbrains/icons/vcs-root-14px-arrow.svg","webpack:///./node_modules/@jetbrains/icons/vcs-root-14px.svg","webpack:///./node_modules/@jetbrains/icons/vcs-root-20px-arrow.svg","webpack:///./node_modules/@jetbrains/icons/vcs-root-20px.svg","webpack:///./node_modules/@jetbrains/icons/vote-empty.svg","webpack:///./node_modules/@jetbrains/icons/vote-filled.svg","webpack:///./node_modules/@jetbrains/icons/warning-14px.svg","webpack:///./node_modules/@jetbrains/icons/warning-20px.svg","webpack:///./node_modules/@jetbrains/icons/wrap.svg","webpack:///./node_modules/simply-uuid/index.js","webpack:///./node_modules/combokeys/Combokeys/index.js","webpack:///./node_modules/@jetbrains/ring-ui/components/tab-trap/tab-trap.css?f880","webpack:///./node_modules/scrollbar-width/scrollbar-width.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button-group-ng/button-group-ng.css?75d2","webpack:///./node_modules/@jetbrains/ring-ui/components/button-set/button-set.css?b1af","webpack:///./node_modules/@jetbrains/ring-ui/components/button-toolbar/button-toolbar.css?cca1","webpack:///./node_modules/highlight.js/lib/languages/cpp.js","webpack:///./node_modules/highlight.js/lib/languages/xml.js","webpack:///./node_modules/highlight.js/lib/languages/bash.js","webpack:///./node_modules/highlight.js/lib/languages/clojure.js","webpack:///./node_modules/highlight.js/lib/languages/coffeescript.js","webpack:///./node_modules/highlight.js/lib/languages/cs.js","webpack:///./node_modules/highlight.js/lib/languages/css.js","webpack:///./node_modules/highlight.js/lib/languages/markdown.js","webpack:///./node_modules/highlight.js/lib/languages/dockerfile.js","webpack:///./node_modules/highlight.js/lib/languages/elixir.js","webpack:///./node_modules/highlight.js/lib/languages/elm.js","webpack:///./node_modules/highlight.js/lib/languages/ruby.js","webpack:///./node_modules/highlight.js/lib/languages/erlang.js","webpack:///./node_modules/highlight.js/lib/languages/glsl.js","webpack:///./node_modules/highlight.js/lib/languages/go.js","webpack:///./node_modules/highlight.js/lib/languages/gradle.js","webpack:///./node_modules/highlight.js/lib/languages/groovy.js","webpack:///./node_modules/highlight.js/lib/languages/handlebars.js","webpack:///./node_modules/highlight.js/lib/languages/haskell.js","webpack:///./node_modules/highlight.js/lib/languages/java.js","webpack:///./node_modules/highlight.js/lib/languages/javascript.js","webpack:///./node_modules/highlight.js/lib/languages/json.js","webpack:///./node_modules/highlight.js/lib/languages/kotlin.js","webpack:///./node_modules/highlight.js/lib/languages/less.js","webpack:///./node_modules/highlight.js/lib/languages/livescript.js","webpack:///./node_modules/highlight.js/lib/languages/lua.js","webpack:///./node_modules/highlight.js/lib/languages/makefile.js","webpack:///./node_modules/highlight.js/lib/languages/perl.js","webpack:///./node_modules/highlight.js/lib/languages/php.js","webpack:///./node_modules/highlight.js/lib/languages/powershell.js","webpack:///./node_modules/highlight.js/lib/languages/python.js","webpack:///./node_modules/highlight.js/lib/languages/r.js","webpack:///./node_modules/highlight.js/lib/languages/rust.js","webpack:///./node_modules/highlight.js/lib/languages/scala.js","webpack:///./node_modules/highlight.js/lib/languages/scss.js","webpack:///./node_modules/highlight.js/lib/languages/shell.js","webpack:///./node_modules/highlight.js/lib/languages/sql.js","webpack:///./node_modules/highlight.js/lib/languages/swift.js","webpack:///./node_modules/highlight.js/lib/languages/yaml.js","webpack:///./node_modules/highlight.js/lib/languages/twig.js","webpack:///./node_modules/highlight.js/lib/languages/typescript.js","webpack:///./node_modules/@jetbrains/ring-ui/components/panel/panel.css?f29a","webpack:///./node_modules/@jetbrains/ring-ui/components/confirm/confirm.css?8a5e","webpack:///./node_modules/angular-sanitize/index.js","webpack:///./node_modules/focus-trap/index.js","webpack:///./node_modules/@jetbrains/ring-ui/components/dialog-ng/dialog-ng.css?c203","webpack:///./node_modules/@jetbrains/ring-ui/components/error-page-ng/error-page-ng.css?6b92","webpack:///./node_modules/@jetbrains/angular-elastic/elastic.js","webpack:///./node_modules/babel-runtime/core-js/object/get-own-property-descriptor.js","webpack:///./node_modules/babel-runtime/helpers/objectWithoutProperties.js","webpack:///./node_modules/babel-runtime/core-js/promise.js","webpack:///./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","webpack:///./node_modules/@babel/runtime/helpers/getPrototypeOf.js","webpack:///./node_modules/@babel/runtime/helpers/inherits.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/global.css?cb20","webpack:///./node_modules/react-markdown/lib/react-markdown.js","webpack:///./node_modules/remark-breaks/index.js","webpack:///./node_modules/@jetbrains/ring-ui/components/shortcuts-hint-ng/shortcuts-hint-ng.html","webpack:///./node_modules/@jetbrains/ring-ui/components/tooltip/tooltip.css?2fcf","webpack:///./node_modules/react/cjs/react.production.min.js","webpack:///./node_modules/react-dom/cjs/react-dom.production.min.js","webpack:///./node_modules/scheduler/index.js","webpack:///./node_modules/scheduler/cjs/scheduler.production.min.js","webpack:///./node_modules/redbox-react/lib/index.js","webpack:///./node_modules/prop-types/factoryWithThrowingShims.js","webpack:///./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///./node_modules/redbox-react/lib/style.js","webpack:///./node_modules/error-stack-parser/error-stack-parser.js","webpack:///./node_modules/stackframe/stackframe.js","webpack:///./node_modules/redbox-react/lib/lib.js","webpack:///./node_modules/sourcemapped-stacktrace/dist/sourcemapped-stacktrace.js","webpack:///./node_modules/core-js/modules/_function-to-string.js","webpack:///./node_modules/core-js/modules/_iter-create.js","webpack:///./node_modules/core-js/modules/_enum-keys.js","webpack:///./node_modules/core-js/modules/_object-gopn-ext.js","webpack:///./node_modules/core-js/modules/es6.regexp.flags.js","webpack:///./node_modules/core-js/modules/_object-sap.js","webpack:///./node_modules/@jetbrains/ring-ui/components/icon/icon.css","webpack:///./node_modules/core-js/modules/_array-species-create.js","webpack:///./node_modules/core-js/modules/_array-species-constructor.js","webpack:///./node_modules/core-js/modules/es6.string.starts-with.js","webpack:///./node_modules/core-js/modules/es6.regexp.exec.js","webpack:///(webpack)/buildin/harmony-module.js","webpack:///./node_modules/core-js/modules/_collection-weak.js","webpack:///./node_modules/core-js/modules/_array-reduce.js","webpack:///./node_modules/@jetbrains/ring-ui/components/loader-inline/loader-inline.css","webpack:///./node_modules/core-js/modules/_own-keys.js","webpack:///./node_modules/conic-gradient/conic-gradient.js","webpack:///./node_modules/@jetbrains/ring-ui/components/alert/container.css","webpack:///./node_modules/angular/angular.js","webpack:///./node_modules/core-js/modules/es6.math.log2.js","webpack:///./node_modules/core-js/modules/_microtask.js","webpack:///./node_modules/core-js/modules/_perform.js","webpack:///./node_modules/core-js/modules/_user-agent.js","webpack:///./node_modules/@jetbrains/ring-ui/components/link/link.css","webpack:///./node_modules/@jetbrains/ring-ui/components/group/group.css","webpack:///./node_modules/@jetbrains/ring-ui/components/auth/down-notification.css","webpack:///./node_modules/core-js/modules/_same-value.js","webpack:///./node_modules/object-keys/implementation.js","webpack:///./node_modules/object-is/index.js","webpack:///./node_modules/function-bind/implementation.js","webpack:///./node_modules/object-is/shim.js","webpack:///./node_modules/is-regex/index.js","webpack:///./node_modules/regexp.prototype.flags/index.js","webpack:///./node_modules/regexp.prototype.flags/shim.js","webpack:///./node_modules/is-date-object/index.js","webpack:///./node_modules/which-boxed-primitive/index.js","webpack:///./node_modules/is-number-object/index.js","webpack:///./node_modules/is-boolean-object/index.js","webpack:///./node_modules/is-symbol/index.js","webpack:///./node_modules/is-bigint/index.js","webpack:///./node_modules/which-collection/index.js","webpack:///./node_modules/is-weakmap/index.js","webpack:///./node_modules/is-weakset/index.js","webpack:///./node_modules/es-get-iterator/index.js","webpack:///./node_modules/side-channel/index.js","webpack:///./node_modules/object-inspect/index.js","webpack:///./node_modules/which-typed-array/index.js","webpack:///./node_modules/array-filter/index.js","webpack:///./node_modules/is-typed-array/index.js","webpack:///./node_modules/object.assign/index.js","webpack:///./node_modules/object.assign/shim.js","webpack:///./node_modules/simply-uuid/lib/uuid-node.js","webpack:///./node_modules/@jetbrains/ring-ui/components/island/island.css","webpack:///./node_modules/element-resize-detector/src/element-utils.js","webpack:///./node_modules/element-resize-detector/src/listener-handler.js","webpack:///./node_modules/element-resize-detector/src/id-generator.js","webpack:///./node_modules/element-resize-detector/src/id-handler.js","webpack:///./node_modules/element-resize-detector/src/reporter.js","webpack:///./node_modules/batch-processor/src/batch-processor.js","webpack:///./node_modules/batch-processor/src/utils.js","webpack:///./node_modules/element-resize-detector/src/state-handler.js","webpack:///./node_modules/element-resize-detector/src/detection-strategy/object.js","webpack:///./node_modules/element-resize-detector/src/detection-strategy/scroll.js","webpack:///./node_modules/combokeys/Combokeys/prototype/bind.js","webpack:///./node_modules/combokeys/Combokeys/prototype/bindMultiple.js","webpack:///./node_modules/combokeys/Combokeys/prototype/unbind.js","webpack:///./node_modules/combokeys/Combokeys/prototype/trigger.js","webpack:///./node_modules/combokeys/Combokeys/prototype/reset.js","webpack:///./node_modules/combokeys/Combokeys/prototype/stopCallback.js","webpack:///./node_modules/combokeys/Combokeys/prototype/handleKey.js","webpack:///./node_modules/combokeys/Combokeys/prototype/addEvents.js","webpack:///./node_modules/combokeys/Combokeys/prototype/handleKeyEvent.js","webpack:///./node_modules/combokeys/helpers/special-characters-map.js","webpack:///./node_modules/combokeys/helpers/eventModifiers.js","webpack:///./node_modules/combokeys/Combokeys/prototype/bindSingle.js","webpack:///./node_modules/combokeys/Combokeys/prototype/getKeyInfo.js","webpack:///./node_modules/combokeys/helpers/keysFromString.js","webpack:///./node_modules/combokeys/helpers/special-aliases.js","webpack:///./node_modules/combokeys/helpers/shift-map.js","webpack:///./node_modules/combokeys/Combokeys/prototype/pickBestAction.js","webpack:///./node_modules/combokeys/Combokeys/prototype/getReverseMap.js","webpack:///./node_modules/combokeys/Combokeys/prototype/getMatches.js","webpack:///./node_modules/combokeys/Combokeys/prototype/modifiersMatch.js","webpack:///./node_modules/combokeys/Combokeys/prototype/resetSequences.js","webpack:///./node_modules/combokeys/Combokeys/prototype/fireCallback.js","webpack:///./node_modules/combokeys/helpers/preventDefault.js","webpack:///./node_modules/combokeys/helpers/stopPropagation.js","webpack:///./node_modules/combokeys/Combokeys/prototype/bindSequence.js","webpack:///./node_modules/combokeys/Combokeys/prototype/resetSequenceTimer.js","webpack:///./node_modules/combokeys/Combokeys/prototype/detach.js","webpack:///./node_modules/combokeys/Combokeys/reset.js","webpack:///./node_modules/@jetbrains/ring-ui/components/tab-trap/tab-trap.css","webpack:///./node_modules/focus-visible/dist/focus-visible.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button/button.css","webpack:///./node_modules/@jetbrains/ring-ui/components/popup/popup.css","webpack:///./node_modules/@jetbrains/ring-ui/components/auth-dialog/auth-dialog.css","webpack:///./node_modules/@jetbrains/ring-ui/components/avatar/avatar.css","webpack:///./node_modules/@jetbrains/ring-ui/components/avatar-editor/avatar-editor.scss?7839","webpack:///./node_modules/@jetbrains/ring-ui/components/avatar-editor/avatar-editor.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/avatar-editor-ng/avatar-editor-ng.html","webpack:///./node_modules/@jetbrains/ring-ui/components/badge/badge.css","webpack:///./node_modules/@jetbrains/ring-ui/components/breadcrumb/breadcrumb.scss?45d4","webpack:///./node_modules/@jetbrains/ring-ui/components/breadcrumb/breadcrumb.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/breadcrumb-ng/breadcrumb-ng.html","webpack:///./node_modules/@jetbrains/ring-ui/components/button-group-ng/button-group-ng.css","webpack:///./node_modules/@jetbrains/ring-ui/components/button-ng/button-ng.css","webpack:///./node_modules/@jetbrains/ring-ui/components/button-set-ng/button-set-ng.html","webpack:///./node_modules/@jetbrains/ring-ui/components/checkbox/checkbox.css","webpack:///./node_modules/core-js/modules/es6.regexp.constructor.js","webpack:///./node_modules/@jetbrains/ring-ui/components/code/highlight.css","webpack:///./node_modules/@jetbrains/ring-ui/components/code/code.css","webpack:///./node_modules/core-js/modules/_string-ws.js","webpack:///./node_modules/@jetbrains/ring-ui/components/panel/panel.css","webpack:///./node_modules/@jetbrains/ring-ui/components/confirm/confirm.css","webpack:///./node_modules/react-is/cjs/react-is.production.min.js","webpack:///./node_modules/@jetbrains/ring-ui/components/content-layout/content-layout.css","webpack:///./node_modules/react-dom/cjs/react-dom-server.browser.production.min.js","webpack:///./node_modules/core-js/modules/es6.array.fill.js","webpack:///./node_modules/core-js/modules/_array-fill.js","webpack:///./node_modules/@jetbrains/ring-ui/components/loader/loader.css","webpack:///./node_modules/@jetbrains/ring-ui/components/text/text.css","webpack:///./node_modules/@jetbrains/ring-ui/components/data-list/data-list.css","webpack:///./node_modules/core-js/modules/es6.reflect.get.js","webpack:///./node_modules/@jetbrains/ring-ui/components/dropdown/dropdown.css","webpack:///(webpack)/buildin/module.js","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./node_modules/@jetbrains/ring-ui/components/input/input.css","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/date-picker.css","webpack:///./node_modules/core-js/modules/es7.promise.finally.js","webpack:///./node_modules/angular-sanitize/angular-sanitize.js","webpack:///./node_modules/tabbable/index.js","webpack:///./node_modules/@jetbrains/ring-ui/components/form/form.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/dialog-ng/dialog-ng.css","webpack:///./node_modules/@jetbrains/ring-ui/components/dialog-ng/dialog-ng.html","webpack:///./node_modules/@jetbrains/ring-ui/components/docked-panel-ng/docked-panel-ng.scss?0984","webpack:///./node_modules/@jetbrains/ring-ui/components/docked-panel-ng/docked-panel-ng.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/error-bubble/error-bubble.css","webpack:///./node_modules/@jetbrains/ring-ui/components/error-message/error-message.css","webpack:///./node_modules/@jetbrains/ring-ui/components/error-page/error-page.scss?d773","webpack:///./node_modules/@jetbrains/ring-ui/components/error-page/error-page.scss","webpack:///./node_modules/css-loader/dist/runtime/getUrl.js","webpack:///./node_modules/@jetbrains/ring-ui/components/error-page/error-page.gif","webpack:///./node_modules/@jetbrains/ring-ui/components/permissions-ng/permissions-ng.scss?f78c","webpack:///./node_modules/@jetbrains/ring-ui/components/permissions-ng/permissions-ng.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/error-page-ng/error-page-ng.css","webpack:///./node_modules/@jetbrains/ring-ui/components/footer/footer.css","webpack:///./node_modules/@jetbrains/ring-ui/components/footer-ng/footer-ng.html","webpack:///./node_modules/@jetbrains/ring-ui/components/input/input.scss?86bb","webpack:///./node_modules/@jetbrains/ring-ui/components/input/input.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/error-bubble/error-bubble.scss?e3cd","webpack:///./node_modules/@jetbrains/ring-ui/components/error-bubble/error-bubble.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/form-ng/form-ng__error-bubble.html","webpack:///./node_modules/@jetbrains/ring-ui/components/grid/grid.css","webpack:///./node_modules/core-js/modules/_is-integer.js","webpack:///./node_modules/@jetbrains/ring-ui/components/header/header.css","webpack:///./node_modules/core-js/library/fn/object/assign.js","webpack:///./node_modules/core-js/library/modules/es6.object.assign.js","webpack:///./node_modules/core-js/library/modules/_object-assign.js","webpack:///./node_modules/core-js/library/modules/_array-includes.js","webpack:///./node_modules/core-js/library/modules/_to-absolute-index.js","webpack:///./node_modules/core-js/library/fn/object/get-own-property-descriptor.js","webpack:///./node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js","webpack:///./node_modules/core-js/library/fn/object/get-prototype-of.js","webpack:///./node_modules/core-js/library/modules/es6.object.get-prototype-of.js","webpack:///./node_modules/babel-runtime/core-js/object/define-property.js","webpack:///./node_modules/core-js/library/fn/object/define-property.js","webpack:///./node_modules/core-js/library/modules/es6.object.define-property.js","webpack:///./node_modules/babel-runtime/core-js/symbol/iterator.js","webpack:///./node_modules/core-js/library/fn/symbol/iterator.js","webpack:///./node_modules/core-js/library/modules/_string-at.js","webpack:///./node_modules/core-js/library/modules/_iter-create.js","webpack:///./node_modules/core-js/library/modules/_object-dps.js","webpack:///./node_modules/core-js/library/modules/es6.array.iterator.js","webpack:///./node_modules/core-js/library/modules/_add-to-unscopables.js","webpack:///./node_modules/core-js/library/modules/_iter-step.js","webpack:///./node_modules/babel-runtime/core-js/symbol.js","webpack:///./node_modules/core-js/library/fn/symbol/index.js","webpack:///./node_modules/core-js/library/modules/es6.symbol.js","webpack:///./node_modules/core-js/library/modules/_meta.js","webpack:///./node_modules/core-js/library/modules/_enum-keys.js","webpack:///./node_modules/core-js/library/modules/_is-array.js","webpack:///./node_modules/core-js/library/modules/_object-gopn-ext.js","webpack:///./node_modules/core-js/library/modules/es7.symbol.async-iterator.js","webpack:///./node_modules/core-js/library/modules/es7.symbol.observable.js","webpack:///./node_modules/babel-runtime/core-js/object/set-prototype-of.js","webpack:///./node_modules/core-js/library/fn/object/set-prototype-of.js","webpack:///./node_modules/core-js/library/modules/es6.object.set-prototype-of.js","webpack:///./node_modules/core-js/library/modules/_set-proto.js","webpack:///./node_modules/babel-runtime/core-js/object/create.js","webpack:///./node_modules/core-js/library/fn/object/create.js","webpack:///./node_modules/core-js/library/modules/es6.object.create.js","webpack:///./node_modules/core-js/library/fn/object/keys.js","webpack:///./node_modules/core-js/library/modules/es6.object.keys.js","webpack:///./node_modules/core-js/library/fn/promise.js","webpack:///./node_modules/core-js/library/modules/es6.promise.js","webpack:///./node_modules/core-js/library/modules/_an-instance.js","webpack:///./node_modules/core-js/library/modules/_for-of.js","webpack:///./node_modules/core-js/library/modules/_iter-call.js","webpack:///./node_modules/core-js/library/modules/_is-array-iter.js","webpack:///./node_modules/core-js/library/modules/core.get-iterator-method.js","webpack:///./node_modules/core-js/library/modules/_invoke.js","webpack:///./node_modules/core-js/library/modules/_microtask.js","webpack:///./node_modules/core-js/library/modules/_user-agent.js","webpack:///./node_modules/core-js/library/modules/_redefine-all.js","webpack:///./node_modules/core-js/library/modules/_set-species.js","webpack:///./node_modules/core-js/library/modules/_iter-detect.js","webpack:///./node_modules/core-js/library/modules/es7.promise.finally.js","webpack:///./node_modules/core-js/library/modules/es7.promise.try.js","webpack:///./node_modules/@babel/runtime/helpers/typeof.js","webpack:///./node_modules/@babel/runtime/helpers/setPrototypeOf.js","webpack:///./node_modules/@jetbrains/ring-ui/components/list/list.css","webpack:///./node_modules/@jetbrains/ring-ui/components/header/services.css","webpack:///./node_modules/@jetbrains/ring-ui/components/heading/heading.css","webpack:///./node_modules/@jetbrains/ring-ui/components/loader-screen/loader-screen.css","webpack:///./node_modules/unified/index.js","webpack:///./node_modules/extend/index.js","webpack:///./node_modules/bail/index.js","webpack:///./node_modules/vfile/index.js","webpack:///./node_modules/vfile-message/index.js","webpack:///./node_modules/unist-util-stringify-position/index.js","webpack:///./node_modules/vfile/core.js","webpack:///./node_modules/replace-ext/index.js","webpack:///./node_modules/is-buffer/index.js","webpack:///./node_modules/trough/index.js","webpack:///./node_modules/trough/wrap.js","webpack:///./node_modules/x-is-string/index.js","webpack:///./node_modules/is-plain-obj/index.js","webpack:///./node_modules/remark-parse/index.js","webpack:///./node_modules/unherit/index.js","webpack:///./node_modules/inherits/inherits_browser.js","webpack:///./node_modules/remark-parse/lib/parser.js","webpack:///./node_modules/state-toggle/index.js","webpack:///./node_modules/vfile-location/index.js","webpack:///./node_modules/remark-parse/lib/unescape.js","webpack:///./node_modules/remark-parse/lib/decode.js","webpack:///./node_modules/is-hexadecimal/index.js","webpack:///./node_modules/is-alphanumerical/index.js","webpack:///./node_modules/parse-entities/decode-entity.browser.js","webpack:///./node_modules/remark-parse/lib/tokenizer.js","webpack:///./node_modules/remark-parse/lib/set-options.js","webpack:///./node_modules/markdown-escapes/index.js","webpack:///./node_modules/remark-parse/lib/parse.js","webpack:///./node_modules/unist-util-remove-position/index.js","webpack:///./node_modules/unist-util-visit/node_modules/unist-util-visit-parents/index.js","webpack:///./node_modules/unist-util-is/convert.js","webpack:///./node_modules/remark-parse/lib/tokenize/newline.js","webpack:///./node_modules/remark-parse/lib/tokenize/code-indented.js","webpack:///./node_modules/remark-parse/lib/tokenize/code-fenced.js","webpack:///./node_modules/remark-parse/lib/tokenize/blockquote.js","webpack:///./node_modules/remark-parse/lib/tokenize/heading-atx.js","webpack:///./node_modules/remark-parse/lib/tokenize/thematic-break.js","webpack:///./node_modules/remark-parse/lib/tokenize/list.js","webpack:///./node_modules/remark-parse/lib/util/remove-indentation.js","webpack:///./node_modules/remark-parse/lib/tokenize/heading-setext.js","webpack:///./node_modules/remark-parse/lib/tokenize/html-block.js","webpack:///./node_modules/remark-parse/lib/tokenize/footnote-definition.js","webpack:///./node_modules/collapse-white-space/index.js","webpack:///./node_modules/remark-parse/lib/tokenize/definition.js","webpack:///./node_modules/remark-parse/lib/tokenize/table.js","webpack:///./node_modules/remark-parse/lib/tokenize/paragraph.js","webpack:///./node_modules/remark-parse/lib/tokenize/escape.js","webpack:///./node_modules/remark-parse/lib/locate/escape.js","webpack:///./node_modules/remark-parse/lib/tokenize/auto-link.js","webpack:///./node_modules/remark-parse/lib/tokenize/url.js","webpack:///./node_modules/remark-parse/lib/locate/url.js","webpack:///./node_modules/remark-parse/lib/tokenize/html-inline.js","webpack:///./node_modules/remark-parse/lib/tokenize/link.js","webpack:///./node_modules/remark-parse/lib/tokenize/reference.js","webpack:///./node_modules/remark-parse/lib/tokenize/strong.js","webpack:///./node_modules/remark-parse/lib/locate/strong.js","webpack:///./node_modules/remark-parse/lib/tokenize/emphasis.js","webpack:///./node_modules/is-word-character/index.js","webpack:///./node_modules/remark-parse/lib/locate/emphasis.js","webpack:///./node_modules/remark-parse/lib/tokenize/delete.js","webpack:///./node_modules/remark-parse/lib/locate/delete.js","webpack:///./node_modules/remark-parse/lib/tokenize/code-inline.js","webpack:///./node_modules/remark-parse/lib/locate/code-inline.js","webpack:///./node_modules/remark-parse/lib/tokenize/break.js","webpack:///./node_modules/remark-parse/lib/locate/break.js","webpack:///./node_modules/remark-parse/lib/tokenize/text.js","webpack:///./node_modules/mdast-add-list-metadata/index.js","webpack:///./node_modules/unist-util-visit-parents/index.js","webpack:///./node_modules/react-markdown/lib/plugins/naive-html.js","webpack:///./node_modules/react-markdown/lib/plugins/disallow-node.js","webpack:///./node_modules/react-markdown/lib/ast-to-react.js","webpack:///./node_modules/react-markdown/lib/wrap-table-rows.js","webpack:///./node_modules/react-markdown/lib/get-definitions.js","webpack:///./node_modules/react-markdown/lib/uri-transformer.js","webpack:///./node_modules/react-markdown/lib/renderers.js","webpack:///./node_modules/react-markdown/lib/symbols.js","webpack:///./node_modules/@jetbrains/ring-ui/components/markdown/markdown.css","webpack:///./node_modules/@jetbrains/ring-ui/components/tag/tag.css","webpack:///./node_modules/@jetbrains/ring-ui/components/select/select.css","webpack:///./node_modules/@jetbrains/ring-ui/components/pager/pager.css","webpack:///./node_modules/@jetbrains/ring-ui/components/progress-bar/progress-bar.css","webpack:///./node_modules/core-js/modules/es6.number.is-finite.js","webpack:///./node_modules/@jetbrains/ring-ui/components/query-assist/query-assist.css","webpack:///./node_modules/@jetbrains/ring-ui/components/radio/radio.css","webpack:///./node_modules/@jetbrains/ring-ui/components/save-field-ng/save-field-ng.scss?efd2","webpack:///./node_modules/@jetbrains/ring-ui/components/save-field-ng/save-field-ng.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/save-field-ng/save-field-ng.html","webpack:///./node_modules/@jetbrains/ring-ui/components/input-ng/input-ng.css","webpack:///./node_modules/@jetbrains/ring-ui/components/shortcuts-hint-ng/shortcuts-hint-ng.scss?128a","webpack:///./node_modules/@jetbrains/ring-ui/components/shortcuts-hint-ng/shortcuts-hint-ng.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/sidebar/sidebar.scss?44ce","webpack:///./node_modules/@jetbrains/ring-ui/components/sidebar/sidebar.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/sidebar-ng/sidebar-ng.html","webpack:///./node_modules/@jetbrains/ring-ui/components/sidebar-ng/sidebar-ng__button.html","webpack:///./node_modules/core-js/modules/es6.string.fixed.js","webpack:///./node_modules/@jetbrains/ring-ui/components/tooltip/tooltip.css","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy/table-legacy__toolbar.scss?a7bb","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy/table-legacy__toolbar.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy-ng/table-legacy-ng__pager.html","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy/table-legacy.scss?5b5a","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy/table-legacy.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy-ng/table-legacy-ng.html","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy-ng/table-legacy-ng__header.html","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy-ng/table-legacy-ng__row.html","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy-ng/table-legacy-ng__title.html","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy-ng/table-legacy-ng__column.html","webpack:///./node_modules/@jetbrains/ring-ui/components/tabs/tabs.css","webpack:///./node_modules/@jetbrains/ring-ui/components/tabs-ng/tabs-ng.html","webpack:///./node_modules/@jetbrains/ring-ui/components/tags-input/tags-input.css","webpack:///./node_modules/@jetbrains/ring-ui/components/toggle/toggle.css","webpack:///./node_modules/@jetbrains/ring-ui/components/tooltip-ng/tooltip-ng.scss?91c7","webpack:///./node_modules/@jetbrains/ring-ui/components/tooltip-ng/tooltip-ng.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/input-size/input-size.scss?d1b7","webpack:///./node_modules/@jetbrains/ring-ui/components/input-size/input-size.scss","webpack:///./src/main/components/app/index.scss","webpack:///./node_modules/@jetbrains/ring-ui/components/global/variables.css","webpack:///./node_modules/@jetbrains/ring-ui/components/icon/icon__constants.js","webpack:///./node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack:///./node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js","webpack:///./node_modules/recompose/dist/Recompose.esm.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/sniffer.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/memoize.js","webpack:///./node_modules/@jetbrains/ring-ui/components/icon/icon__svg.js","webpack:///./node_modules/@jetbrains/ring-ui/components/icon/icon.js","webpack:///./node_modules/@jetbrains/ring-ui/components/icon/icons.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/theme.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/data-tests.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/supports-css.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/conic-gradient.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/inject-styles.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/get-uid.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/radial-gradient-mask.js","webpack:///./node_modules/@jetbrains/ring-ui/components/loader-inline/inject-styles.js","webpack:///./node_modules/@jetbrains/ring-ui/components/loader-inline/loader-inline.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/dom.js","webpack:///./node_modules/@jetbrains/ring-ui/components/alert/container.js","webpack:///./node_modules/@jetbrains/ring-ui/components/alert/alert.js","webpack:///./node_modules/@jetbrains/ring-ui/components/alert-service/alert-service.js","webpack:///./node_modules/@jetbrains/ring-ui/components/analytics/analytics.js","webpack:///./node_modules/@jetbrains/ring-ui/components/analytics/analytics__ga-plugin.js","webpack:///./node_modules/@jetbrains/ring-ui/components/analytics/analytics__custom-plugin-utils.js","webpack:///./node_modules/@jetbrains/ring-ui/components/analytics/analytics__custom-plugin.js","webpack:///./node_modules/@jetbrains/ring-ui/components/analytics-ng/analytics-ng.js","webpack:///./node_modules/es6-error/es6/index.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/url.js","webpack:///./node_modules/@jetbrains/ring-ui/components/auth/response-parser.js","webpack:///./node_modules/@jetbrains/ring-ui/components/auth/window-flow.js","webpack:///./node_modules/@jetbrains/ring-ui/components/link/clickableLink.js","webpack:///./node_modules/@jetbrains/ring-ui/components/link/link.js","webpack:///./node_modules/@jetbrains/ring-ui/components/group/group.js","webpack:///./node_modules/@jetbrains/ring-ui/components/auth/down-notification.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/listeners.js","webpack:///./node_modules/whatwg-fetch/fetch.js","webpack:///./node_modules/@jetbrains/ring-ui/components/http/http.js","webpack:///./node_modules/@jetbrains/ring-ui/components/storage/storage__local.js","webpack:///./node_modules/@jetbrains/ring-ui/components/storage/storage__fallback.js","webpack:///./node_modules/@jetbrains/ring-ui/components/storage/storage.js","webpack:///./node_modules/@jetbrains/ring-ui/components/auth/storage.js","webpack:///./node_modules/@jetbrains/ring-ui/components/auth/request-builder.js","webpack:///./node_modules/@jetbrains/ring-ui/components/auth/background-flow.js","webpack:///./node_modules/@jetbrains/ring-ui/components/auth/token-validator.js","webpack:///./node_modules/@jetbrains/ring-ui/components/auth/auth__core.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/promise-with-timeout.js","webpack:///./node_modules/@jetbrains/ring-ui/components/auth/auth.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/linear-function.js","webpack:///./node_modules/@jetbrains/ring-ui/components/island/adaptive-island-hoc.js","webpack:///./node_modules/@jetbrains/ring-ui/components/island/header.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/schedule-raf.js","webpack:///./node_modules/@jetbrains/ring-ui/components/island/content.js","webpack:///./node_modules/@jetbrains/ring-ui/components/island/island.js","webpack:///./node_modules/@jetbrains/ring-ui/components/shortcuts/core.js","webpack:///./node_modules/@jetbrains/ring-ui/components/shortcuts/shortcuts.js","webpack:///./node_modules/@jetbrains/ring-ui/components/tab-trap/tab-trap.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button/button.js","webpack:///./node_modules/@jetbrains/ring-ui/components/popup/position.js","webpack:///./node_modules/@jetbrains/ring-ui/components/popup/popup.js","webpack:///./node_modules/@jetbrains/ring-ui/components/dialog/dialog__body-scroll-preventer.js","webpack:///./node_modules/@jetbrains/ring-ui/components/dialog/dialog.js","webpack:///./node_modules/@jetbrains/ring-ui/components/auth-dialog/auth-dialog.js","webpack:///./node_modules/@jetbrains/ring-ui/components/auth-dialog-service/auth-dialog-service.js","webpack:///./node_modules/@jetbrains/ring-ui/components/auth-ng/auth-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/autofocus-ng/autofocus-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/avatar/avatar.js","webpack:///./node_modules/@jetbrains/ring-ui/components/message-bundle-ng/message-bundle-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/ring-angular-component.js","webpack:///./node_modules/@jetbrains/ring-ui/components/template-ng/template-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/icon-ng/icon-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/avatar-editor-ng/avatar-editor-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/react-dom-renderer.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/angular-component-factory.js","webpack:///./node_modules/@jetbrains/ring-ui/components/avatar-ng/avatar-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/badge/badge.js","webpack:///./node_modules/@jetbrains/ring-ui/components/badge-ng/badge-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/link-ng/link-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/breadcrumb-ng/breadcrumb-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button-group/caption.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button-group/button-group.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button-group-ng/button-group-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button-ng/button-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button-set/button-set.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button-set-ng/button-set-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/button-toolbar/button-toolbar.js","webpack:///./node_modules/@jetbrains/ring-ui/components/caret/caret.js","webpack:///./node_modules/@jetbrains/ring-ui/components/checkbox/checkbox.js","webpack:///./node_modules/@jetbrains/ring-ui/components/proxy-attrs/proxy-attrs.js","webpack:///./node_modules/@jetbrains/ring-ui/components/checkbox-ng/checkbox-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/normalize-indent.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/trivial-template-tag.js","webpack:///./node_modules/@jetbrains/ring-ui/components/code/highlight.js","webpack:///./node_modules/@jetbrains/ring-ui/components/code/code.js","webpack:///./node_modules/@jetbrains/ring-ui/components/compiler-ng/compiler-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/panel/panel.js","webpack:///./node_modules/@jetbrains/ring-ui/components/confirm/confirm.js","webpack:///./node_modules/@jetbrains/ring-ui/components/confirm-service/confirm-service.js","webpack:///./node_modules/@jetbrains/ring-ui/components/confirm-ng/confirm-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/content-layout/sidebar.js","webpack:///./node_modules/@jetbrains/ring-ui/components/content-layout/content-layout.js","webpack:///./node_modules/@jetbrains/ring-ui/components/contenteditable/contenteditable.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/focus-sensor-hoc.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table/selection.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table/selection-shortcuts-hoc.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table/disable-hover-hoc.js","webpack:///./node_modules/@jetbrains/ring-ui/components/loader/loader__core.js","webpack:///./node_modules/@jetbrains/ring-ui/components/loader/loader.js","webpack:///./node_modules/@jetbrains/ring-ui/components/text/text.js","webpack:///./node_modules/@jetbrains/ring-ui/components/data-list/title.js","webpack:///./node_modules/@jetbrains/ring-ui/components/data-list/item.js","webpack:///./node_modules/@jetbrains/ring-ui/components/data-list/data-list.js","webpack:///./node_modules/@jetbrains/ring-ui/components/data-list-ng/data-list-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/rerender-hoc.js","webpack:///./node_modules/@jetbrains/ring-ui/components/dropdown/anchor.js","webpack:///./node_modules/@jetbrains/ring-ui/components/dropdown/dropdown.js","webpack:///./node_modules/@jetbrains/ring-ui/components/input/ie-compatible-hoc.js","webpack:///./node_modules/@jetbrains/ring-ui/components/input/input.js","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/formats.js","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/consts.js","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/day.js","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/date-input.js","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/month.js","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/month-slider.js","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/month-names.js","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/months.js","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/years.js","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/weekdays.js","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/date-popup.js","webpack:///./node_modules/@jetbrains/ring-ui/components/date-picker/date-picker.js","webpack:///./node_modules/@jetbrains/ring-ui/components/promised-click-ng/promised-click-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/dialog-ng/dialog-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/docked-panel-ng/docked-panel-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/error-bubble/error-bubble.js","webpack:///./node_modules/@jetbrains/ring-ui/components/error-message/error-message.js","webpack:///./node_modules/@jetbrains/ring-ui/components/error-message-ng/error-message-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/permissions/permissions__cache.js","webpack:///./node_modules/@jetbrains/ring-ui/components/permissions/permissions.js","webpack:///./node_modules/@jetbrains/ring-ui/components/permissions-ng/permissions-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/error-page-ng/error-page-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/footer/footer.js","webpack:///./node_modules/@jetbrains/ring-ui/components/footer-ng/footer-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/form-ng/form-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/grid/row.js","webpack:///./node_modules/@jetbrains/ring-ui/components/grid/col.js","webpack:///./node_modules/@jetbrains/ring-ui/components/grid/grid.js","webpack:///./node_modules/@jetbrains/ring-ui/components/group-ng/group-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/header/logo.js","webpack:///./node_modules/@jetbrains/ring-ui/components/header/tray.js","webpack:///./node_modules/@jetbrains/ring-ui/components/header/tray-icon.js","webpack:///./node_modules/clsx/dist/clsx.m.js","webpack:///./node_modules/react-virtualized/dist/es/Grid/utils/calculateSizeAndPositionDataAndUpdateScrollOffset.js","webpack:///./node_modules/react-virtualized/dist/es/Grid/utils/CellSizeAndPositionManager.js","webpack:///./node_modules/react-virtualized/dist/es/Grid/utils/maxElementSize.js","webpack:///./node_modules/react-virtualized/dist/es/Grid/utils/ScalingCellSizeAndPositionManager.js","webpack:///./node_modules/react-virtualized/dist/es/utils/createCallbackMemoizer.js","webpack:///./node_modules/react-virtualized/dist/es/Grid/utils/updateScrollIndexHelper.js","webpack:///./node_modules/dom-helpers/esm/canUseDOM.js","webpack:///./node_modules/dom-helpers/esm/scrollbarSize.js","webpack:///./node_modules/react-virtualized/dist/es/utils/animationFrame.js","webpack:///./node_modules/react-virtualized/dist/es/utils/requestAnimationTimeout.js","webpack:///./node_modules/react-virtualized/dist/es/Grid/Grid.js","webpack:///./node_modules/react-virtualized/dist/es/Grid/defaultOverscanIndicesGetter.js","webpack:///./node_modules/react-virtualized/dist/es/Grid/defaultCellRangeRenderer.js","webpack:///./node_modules/react-virtualized/dist/es/List/types.js","webpack:///./node_modules/react-virtualized/dist/es/List/List.js","webpack:///./node_modules/react-virtualized/dist/es/Grid/accessibilityOverscanIndicesGetter.js","webpack:///./node_modules/react-virtualized/dist/es/AutoSizer/AutoSizer.js","webpack:///./node_modules/react-virtualized/dist/es/WindowScroller/utils/onScroll.js","webpack:///./node_modules/react-virtualized/dist/es/WindowScroller/utils/dimensions.js","webpack:///./node_modules/react-virtualized/dist/es/WindowScroller/WindowScroller.js","webpack:///./node_modules/@hypnosphi/react-virtualized/dist/es/CellMeasurer/CellMeasurer.js","webpack:///./node_modules/react-virtualized/dist/es/WindowScroller/index.js","webpack:///./node_modules/@hypnosphi/react-virtualized/dist/es/CellMeasurer/CellMeasurerCache.js","webpack:///./node_modules/memoize-one/dist/memoize-one.esm.js","webpack:///./node_modules/@jetbrains/ring-ui/components/list/list__item.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/get-event-key.js","webpack:///./node_modules/@jetbrains/ring-ui/components/list/list__custom.js","webpack:///./node_modules/@jetbrains/ring-ui/components/list/list__link.js","webpack:///./node_modules/@jetbrains/ring-ui/components/list/list__title.js","webpack:///./node_modules/@jetbrains/ring-ui/components/list/list__separator.js","webpack:///./node_modules/@jetbrains/ring-ui/components/list/list__hint.js","webpack:///./node_modules/@jetbrains/ring-ui/components/list/list.js","webpack:///./node_modules/@jetbrains/ring-ui/components/popup-menu/popup-menu.js","webpack:///./node_modules/@jetbrains/ring-ui/components/header/profile.js","webpack:///./node_modules/@jetbrains/ring-ui/components/header/smart-profile.js","webpack:///./node_modules/@jetbrains/ring-ui/components/header/services-link.js","webpack:///./node_modules/@jetbrains/ring-ui/components/header/services.js","webpack:///./node_modules/@jetbrains/ring-ui/components/header/smart-services.js","webpack:///./node_modules/@jetbrains/ring-ui/components/header/header.js","webpack:///./node_modules/@jetbrains/ring-ui/components/heading/heading.js","webpack:///./node_modules/@jetbrains/ring-ui/components/hub-source/hub-source.js","webpack:///./node_modules/@jetbrains/ring-ui/components/island-ng/island-ng-class-fixer.js","webpack:///./node_modules/@jetbrains/ring-ui/components/island-ng/island-header-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/island-ng/island-content-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/island-ng/island-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/loader-inline-ng/loader-inline-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/loader-ng/loader-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/loader-screen/loader-screen.js","webpack:///./node_modules/@jetbrains/ring-ui/components/loader-screen-ng/loader-screen-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/markdown/code.js","webpack:///./node_modules/@jetbrains/ring-ui/components/markdown/link.js","webpack:///./node_modules/@jetbrains/ring-ui/components/markdown/heading.js","webpack:///./node_modules/@jetbrains/ring-ui/components/markdown/markdown.js","webpack:///./node_modules/@jetbrains/ring-ui/components/tag/tag.js","webpack:///./node_modules/@jetbrains/ring-ui/components/tags-list/tags-list.js","webpack:///./node_modules/@jetbrains/ring-ui/components/select/select__filter.js","webpack:///./node_modules/@jetbrains/ring-ui/components/select/select__popup.js","webpack:///./node_modules/@jetbrains/ring-ui/components/shortcuts/shortcuts-hoc.js","webpack:///./node_modules/@jetbrains/ring-ui/components/select/select.js","webpack:///./node_modules/@jetbrains/ring-ui/components/global/fuzzy-highlight.js","webpack:///./node_modules/@jetbrains/ring-ui/components/pager/pager.js","webpack:///./node_modules/@jetbrains/ring-ui/components/pager-ng/pager-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/place-under-ng/place-under-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/progress-bar/progress-bar.js","webpack:///./node_modules/@jetbrains/ring-ui/components/progress-bar-ng/progress-bar-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/query-assist/query-assist__suggestions.js","webpack:///./node_modules/@jetbrains/ring-ui/components/query-assist/query-assist.js","webpack:///./node_modules/@jetbrains/ring-ui/components/query-assist-ng/query-assist-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/radio/radio__item.js","webpack:///./node_modules/@jetbrains/ring-ui/components/radio/radio.js","webpack:///./node_modules/@jetbrains/ring-ui/components/shortcuts-ng/shortcuts-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/save-field-ng/save-field-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/select-ng/select-ng__options.js","webpack:///./node_modules/@jetbrains/ring-ui/components/select-ng/select-ng__lazy.js","webpack:///./node_modules/@jetbrains/ring-ui/components/select-ng/select-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/input-ng/input-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/shortcuts/shortcut-title.js","webpack:///./node_modules/@jetbrains/ring-ui/components/shortcuts-hint-ng/shortcuts-hint-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/sidebar-ng/sidebar-ng.js","webpack:///./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack:///./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack:///./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack:///./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack:///./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack:///./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack:///./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///./node_modules/@babel/runtime/helpers/esm/objectSpread.js","webpack:///./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack:///./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack:///./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack:///./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack:///./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","webpack:///./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack:///./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack:///./node_modules/@babel/runtime/helpers/esm/inherits.js","webpack:///./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack:///./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack:///./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack:///./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack:///./node_modules/react-sortable-hoc/dist/react-sortable-hoc.esm.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table/header-cell.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table/header.js","webpack:///./node_modules/@jetbrains/ring-ui/components/tooltip/tooltip.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table/cell.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table/row.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table/draggable-row.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table/table.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy-ng/table-legacy-ng__selection.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy-ng/table-legacy-ng__selection-navigate-actions.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy-ng/table-legacy-ng__toolbar.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy-ng/table-legacy-ng__pager.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table-legacy-ng/table-legacy-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/table-ng/table-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/tabs-ng/tabs-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/tags-input/tags-input.js","webpack:///./node_modules/@jetbrains/ring-ui/components/tags-input-ng/tags-input-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/title-ng/title-ng.js","webpack:///./node_modules/@jetbrains/ring-ui/components/toggle/toggle.js","webpack:///./node_modules/@jetbrains/ring-ui/components/tooltip-ng/tooltip-ng.js","webpack:///./src/main/components/search/search.tsx","webpack:///./src/main/components/app/index.tsx","webpack:///./src/main/components/root.tsx"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","hasOwn","classNames","classes","arguments","length","arg","argType","push","Array","isArray","inner","apply","join","default","hookCallback","some","hooks","input","toString","isObject","hasOwnProp","a","b","isObjectEmpty","obj","getOwnPropertyNames","k","isUndefined","isNumber","isDate","Date","map","arr","fn","res","extend","valueOf","createUTC","format","locale","strict","createLocalOrUTC","utc","getParsingFlags","_pf","empty","unusedTokens","unusedInput","overflow","charsLeftOver","nullInput","invalidEra","invalidMonth","invalidFormat","userInvalidated","iso","parsedDateParts","era","meridiem","rfc2822","weekdayMismatch","isValid","_isValid","flags","parsedParts","isNowValid","isNaN","_d","getTime","invalidWeekday","_strict","undefined","bigHour","isFrozen","createInvalid","NaN","fun","this","len","momentProperties","updateInProgress","copyConfig","to","from","prop","val","_isAMomentObject","_i","_f","_l","_tzm","_isUTC","_offset","_locale","Moment","config","updateOffset","isMoment","warn","msg","suppressDeprecationWarnings","console","deprecate","firstTime","deprecationHandler","args","slice","Error","stack","keys","deprecations","deprecateSimple","isFunction","Function","mergeConfigs","parentConfig","childConfig","Locale","set","zeroFill","number","targetLength","forceSign","absNumber","Math","abs","zerosToFill","pow","max","substr","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","token","padded","ordinal","callback","func","localeData","formatMoment","expandFormat","array","match","replace","mom","output","makeFormatFunction","invalidDate","replaceLongDateFormatTokens","longDateFormat","lastIndex","test","aliases","addUnitAlias","unit","shorthand","lowerCase","toLowerCase","normalizeUnits","units","normalizeObjectUnits","inputObject","normalizedProp","normalizedInput","priorities","addUnitPriority","priority","isLeapYear","year","absFloor","ceil","floor","toInt","argumentForCoercion","coercedNumber","isFinite","makeGetSet","keepTime","set$1","month","date","daysInMonth","regexes","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchWord","addRegexToken","regex","strictRegex","isStrict","getParseRegexForToken","RegExp","regexEscape","matched","p1","p2","p3","p4","indexOf","tokens","addParseToken","addWeekParseToken","_w","addTimeToArrayFromToken","_a","x","modMonth","monthsShort","months","monthsShortRegex","monthsRegex","monthsParse","defaultLocaleMonths","split","defaultLocaleMonthsShort","MONTHS_IN_FORMAT","defaultMonthsShortRegex","defaultMonthsRegex","handleStrictParse","monthName","ii","llc","toLocaleLowerCase","_monthsParse","_longMonthsParse","_shortMonthsParse","setMonth","dayOfMonth","min","getSetMonth","computeMonthsParse","cmpLenRev","shortPieces","longPieces","mixedPieces","sort","_monthsRegex","_monthsShortRegex","_monthsStrictRegex","_monthsShortStrictRegex","daysInYear","y","parseTwoDigitYear","parseInt","getSetYear","createDate","h","M","ms","getFullYear","setFullYear","createUTCDate","UTC","getUTCFullYear","setUTCFullYear","firstWeekOffset","dow","doy","fwd","getUTCDay","dayOfYearFromWeeks","week","weekday","resYear","resDayOfYear","dayOfYear","weekOfYear","resWeek","weekOffset","weeksInYear","weekOffsetNext","shiftWeekdays","ws","concat","weekdaysMin","weekdaysShort","weekdays","weekdaysMinRegex","weekdaysShortRegex","weekdaysRegex","weekdaysParse","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","handleStrictParse$1","weekdayName","_weekdaysParse","_shortWeekdaysParse","_minWeekdaysParse","day","computeWeekdaysParse","minp","shortp","longp","minPieces","_weekdaysRegex","_weekdaysShortRegex","_weekdaysMinRegex","_weekdaysStrictRegex","_weekdaysShortStrictRegex","_weekdaysMinStrictRegex","hFormat","hours","lowercase","minutes","matchMeridiem","_meridiemParse","seconds","kInput","_isPm","isPM","_meridiem","pos","pos1","pos2","globalLocale","getSetHour","baseConfig","calendar","sameDay","nextDay","nextWeek","lastDay","lastWeek","sameElse","LTS","LT","L","LL","LLL","LLLL","dayOfMonthOrdinalParse","relativeTime","future","past","ss","mm","hh","dd","w","ww","MM","yy","meridiemParse","locales","localeFamilies","commonPrefix","arr1","arr2","minl","normalizeLocale","loadLocale","oldLocale","_abbr","getSetGlobalLocale","e","values","data","getLocale","defineLocale","abbr","_config","parentLocale","forEach","names","j","next","chooseLocale","checkOverflow","_overflowDayOfYear","_overflowWeeks","_overflowWeekday","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","obsOffsets","UT","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","configFromISO","allowTime","dateFormat","timeFormat","tzFormat","string","exec","configFromStringAndFormat","untruncateYear","yearStr","configFromRFC2822","parsedArray","monthStr","dayStr","hourStr","minuteStr","secondStr","result","weekdayStr","parsedInput","getDay","checkWeekday","obsOffset","militaryOffset","numOffset","hm","calculateOffset","setUTCMinutes","getUTCMinutes","defaults","configFromArray","currentDate","expectedWeekday","yearToUse","nowValue","now","_useUTC","getUTCMonth","getUTCDate","getMonth","getDate","currentDateArray","weekYear","temp","weekdayOverflow","curWeek","GG","W","E","createLocal","_week","gg","_dayOfYear","dayOfYearFromWeekInfo","_nextDay","ISO_8601","RFC_2822","skipped","stringLength","totalParsedInputLength","hour","isPm","meridiemHour","meridiemFixWrap","erasConvertYear","prepareConfig","preparse","tempConfig","bestMoment","scoreToBeat","currentScore","validFormatFound","bestFormatIsValid","score","configFromStringAndArray","createFromInputFallback","configFromString","dayOrDate","minute","second","millisecond","configFromObject","configFromInput","isUTC","add","prototypeMin","other","prototypeMax","pickBy","moments","ordering","Duration","duration","years","quarters","quarter","weeks","isoWeek","days","milliseconds","unitHasDecimal","parseFloat","isDurationValid","_milliseconds","_days","_months","_data","_bubble","isDuration","absRound","round","offset","separator","utcOffset","sign","offsetFromString","chunkOffset","matcher","parts","matches","cloneWithOffset","model","diff","clone","setTime","local","getDateOffset","getTimezoneOffset","isUtc","aspNetRegex","isoRegex","createDuration","ret","diffRes","base","parseIso","isBefore","positiveMomentsDifference","inp","isAfter","createAdder","direction","period","tmp","addSubtract","isAdding","invalid","subtract","isString","String","isMomentInput","arrayTest","dataTypeTest","filter","item","isNumberOrStringArray","objectTest","propertyTest","properties","isMomentInputObject","isCalendarSpec","monthDiff","wholeMonthDiff","anchor","newLocaleData","defaultFormat","defaultFormatUtc","lang","mod$1","dividend","divisor","localStartOfDate","utcStartOfDate","matchEraAbbr","erasAbbrRegex","computeErasParse","abbrPieces","namePieces","narrowPieces","eras","narrow","_erasRegex","_erasNameRegex","_erasAbbrRegex","_erasNarrowRegex","addWeekYearFormatToken","getSetWeekYearHelper","weeksTarget","setWeekAll","dayOfYearData","erasNameRegex","erasNarrowRegex","erasParse","_eraYearOrdinalRegex","eraYearOrdinalParse","isoWeekYear","_dayOfMonthOrdinalParse","_ordinalParse","_dayOfMonthOrdinalParseLenient","getSetDayOfMonth","getSetMinute","getSetMillisecond","getSetSecond","parseMs","proto","preParsePostFormat","time","formats","sod","startOf","calendarFormat","asFloat","that","zoneDelta","endOf","startOfDate","isoWeekday","inputString","postformat","withoutSuffix","humanize","fromNow","toNow","invalidAt","localInput","isBetween","inclusivity","localFrom","localTo","isSame","inputMs","isSameOrAfter","isSameOrBefore","parsingFlags","prioritized","unitsObj","u","getPrioritizedUnits","toArray","toObject","toDate","toISOString","keepOffset","inspect","prefix","suffix","zone","isLocal","for","toJSON","unix","creationData","eraName","since","until","eraNarrow","eraAbbr","eraYear","dir","isoWeeks","weekInfo","weeksInWeekYear","isoWeeksInYear","isoWeeksInISOWeekYear","parseWeekday","parseIsoWeekday","keepLocalTime","keepMinutes","localAdjust","_changeInProgress","parseZone","tZone","hasAlignedHourOffset","isDST","isUtcOffset","zoneAbbr","zoneName","dates","isDSTShifted","_isDSTShifted","array1","array2","dontConvert","lengthDiff","diffs","compareArrays","proto$1","get$1","index","field","setter","listMonthsImpl","out","listWeekdaysImpl","localeSorted","shift","_calendar","_longDateFormat","formatUpper","toUpperCase","tok","_invalidDate","_ordinal","isFuture","_relativeTime","pastFuture","source","_eras","isFormat","_monthsShort","_monthsParseExact","firstDayOfYear","firstDayOfWeek","_weekdays","_weekdaysMin","_weekdaysShort","_weekdaysParseExact","_fullWeekdaysParse","charAt","isLower","langData","mathAbs","addSubtract$1","absCeil","daysToMonths","monthsToDays","makeAs","alias","as","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","makeGetter","thresholds","substituteTimeAgo","abs$1","toISOString$1","totalSign","ymSign","daysSign","hmsSign","total","toFixed","proto$2","monthsFromDays","argWithSuffix","argThresholds","withSuffix","th","assign","posNegDuration","relativeTime$1","toIsoString","version","updateLocale","tmpLocale","relativeTimeRounding","roundingFunction","relativeTimeThreshold","threshold","limit","myMoment","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","DATE","TIME","TIME_SECONDS","TIME_MS","WEEK","MONTH","factory","classof","angular","$export","S","F","f","global","has","DESCRIPTORS","redefine","META","KEY","$fails","shared","setToStringTag","uid","wks","wksExt","wksDefine","enumKeys","anObject","toIObject","toPrimitive","createDesc","_create","gOPNExt","$GOPD","$GOPS","$DP","$keys","gOPD","dP","gOPN","$Symbol","$JSON","JSON","_stringify","stringify","HIDDEN","TO_PRIMITIVE","isEnum","propertyIsEnumerable","SymbolRegistry","AllSymbols","OPSymbols","ObjectProto","USE_NATIVE","QObject","findChild","setSymbolDesc","it","D","protoDesc","wrap","tag","sym","_k","isSymbol","iterator","$defineProperty","$defineProperties","P","$propertyIsEnumerable","$getOwnPropertyDescriptor","$getOwnPropertyNames","$getOwnPropertySymbols","IS_OP","TypeError","$set","configurable","G","es6Symbols","wellKnownSymbols","store","keyFor","useSetter","useSimple","defineProperties","getOwnPropertyDescriptor","getOwnPropertySymbols","FAILS_ON_PRIMITIVES","replacer","$replacer","$flags","$toString","define","R","DateProto","aFunction","fails","rConstruct","Reflect","construct","NEW_TARGET_BUG","ARGS_BUG","Target","newTarget","$args","instance","setPrototypeOf","$iterators","getKeys","hide","Iterators","ITERATOR","TO_STRING_TAG","ArrayValues","DOMIterables","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","collections","NAME","explicit","Collection","addToUnscopables","step","iterated","kind","_t","O","Arguments","FProto","nameRE","$indexOf","$native","NEGATIVE_ZERO","searchElement","useSourceMap","list","content","cssMapping","btoa","sourceMapping","sourceMap","base64","unescape","encodeURIComponent","sourceURLs","sources","sourceRoot","cssWithMappingToString","mediaQuery","dedupe","alreadyImportedModules","id","memo","stylesInDom","isOldIE","Boolean","window","document","all","atob","getTarget","target","styleTarget","querySelector","HTMLIFrameElement","contentDocument","head","listToStyles","options","styles","newStyles","part","css","media","addStylesToDom","domStyle","refs","addStyle","insertStyleElement","style","createElement","attributes","nonce","setAttribute","insert","appendChild","textStore","replaceText","replacement","applyToSingletonTag","remove","styleSheet","cssText","cssNode","createTextNode","childNodes","removeChild","insertBefore","applyToTag","firstChild","singleton","singletonCounter","update","styleIndex","parentNode","removeStyleElement","newObj","newList","mayRemove","_domStyle","___CSS_LOADER_API_IMPORT___","locals","$filter","callbackfn","globalObject","hljs","ArrayProto","objectKeys","languages","SAFE_MODE","noHighlightRe","languagePrefixRe","fixMarkupRe","LANGUAGE_NOT_FOUND","classPrefix","tabReplace","useBR","COMMON_KEYWORDS","escape","node","nodeName","isNotHighlighted","language","inherit","parent","objects","nodeStream","_nodeStream","child","nextSibling","nodeType","nodeValue","event","expand_or_clone_mode","variants","cached_variants","variant","dependencyOnParent","endsWithParent","starts","scoreForKeyword","keyword","providedScore","Number","word","compileLanguage","reStr","re","langRe","case_insensitive","buildModeRegex","matcherRe","term","matchIndexes","matchAt","addRule","rule","reCountMatchGroups","contains","beginKeywords","begin","terminator_end","illegal","terminators","el","regexps","backreferenceRe","numCaptures","substring","joinRe","type","extra","compileMode","compiled","keywords","rawKeywords","compiled_keywords","splitAndCompile","className","str","pair","compileKeywords","lexemesRe","lexemes","beginRe","endSameAsBegin","end","endRe","illegalRe","relevance","highlight","languageName","code","ignore_illegals","continuation","codeToHighlight","keywordMatch","match_str","buildSpan","insideSpan","leaveOpen","noPrefix","openSpan","processBuffer","top","subLanguage","mode_buffer","continuations","highlightAuto","processSubLanguage","keyword_match","last_index","processKeywords","startNewMode","doBeginMatch","lexeme","new_mode","escapeRe","skip","excludeBegin","returnBegin","doEndMatch","matchPlusRemainder","end_mode","endOfMode","testRe","endsParent","origin","returnEnd","excludeEnd","lastMatch","processLexeme","text_before_match","processed","getLanguage","error","current","count","err","message","errorRaised","languageSubset","second_best","autoDetection","fixMarkup","highlightBlock","block","originalStream","resultNode","text","_class","blockLanguage","innerHTML","textContent","original","highlighted","nodeStack","selectStream","open","close","render","stream","reverse","splice","pop","mergeStreams","prevClassName","currentLang","resultLang","trim","buildClassName","initHighlighting","called","blocks","querySelectorAll","PLAINTEXT_LANGUAGE","disableAutodetect","configure","user_options","initHighlightingOnLoad","addEventListener","registerLanguage","rawDefinition","listLanguages","requireLanguage","debugMode","IDENT_RE","UNDERSCORE_IDENT_RE","NUMBER_RE","C_NUMBER_RE","BINARY_NUMBER_RE","RE_STARTERS_RE","BACKSLASH_ESCAPE","APOS_STRING_MODE","QUOTE_STRING_MODE","PHRASAL_WORDS_MODE","COMMENT","inherits","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","HASH_COMMENT_MODE","NUMBER_MODE","C_NUMBER_MODE","BINARY_NUMBER_MODE","CSS_NUMBER_MODE","REGEXP_MODE","TITLE_MODE","UNDERSCORE_TITLE_MODE","METHOD_GUARD","deepFreeze","freeze","objIsFunction","self","$forEach","STRICT","$map","core","ctx","own","exp","IS_FORCED","IS_GLOBAL","IS_STATIC","IS_PROTO","IS_BIND","B","expProto","U","checkDCE","__REACT_DEVTOOLS_GLOBAL_HOOK__","$at","point","done","isArrayIter","toLength","createProperty","getIterFn","iter","arrayLike","C","aLen","mapfn","mapping","iterFn","__g","writable","createDocumentFragment","enoughArguments","mutationMacro","nodes","textNodeIfString","fragment","TemporaryPrototype","TemporaryTokenList","wrapVerifyToken","hOP","descriptor","__defineGetter__","__defineSetter__","noClassName","getAttribute","isSVG","baseVal","spaces","_isSVG","_","classListDescriptor","random","toggle","force","DocumentFragmentPrototype","DocumentFragment","Node","NodePrototype","Element","CharacterData","CharacterDataPrototype","DocumentType","DocumentTypePrototype","ElementPrototype","HTMLElement","constructor","selectRemove","ShadowRoot","SVGElement","idSpaceFinder","createQueryMethod","methodName","createArray","query","nl","selectors","removeAttribute","addQueryAndAll","where","queryAll","matchesSelector","webkitMatchesSelector","khtmlMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","selector","replaceWith","replaceChild","o_O","verifyToken","documentElement","getElementsByTagName","raf","rAF","requestAnimationFrame","cAF","cancelAnimationFrame","prefixes","goOn","setTimeout","clearTimeout","CustomEvent","eventName","defaultInitDict","initCustomEvent","bubbles","cancelable","detail","initEvent","eventInitDict","createEvent","Event","$Event","init","KeyboardEvent","$KeyboardEvent","eventType","initType","char","location","ctrlKey","shiftKey","altKey","metaKey","altGraphKey","repeat","navigator","keyCode","charCode","which","initKeyboardEvent","keyIdentifier","keyLocation","getModifier","withDefaults","withInitValues","modifiers","chr","charCodeAt","view","initKeyEvent","MouseEvent","$MouseEvent","initMouseEvent","screenX","screenY","clientX","clientY","button","relatedTarget","DOMMap","WeakMap","counter","dispatched","drop","dispatch","ce","shouldDrop","dispatchEvent","Handler","__ce__","handleEvent","currentTarget","removeEventListener","v","Dict","createEventListener","eventListener","once","removed","passive","preventDefault","capture","augment","dm","dE","aEL","rEL","increment","getListenerKey","Constructor","handler","info","createAEL","createREL","EventTarget","Text","HTMLDocument","Window","XMLHttpRequest","ownKeys","getOwnPropertyDescriptors","desc","getDesc","Internal","newGenericPromiseCapability","OwnPromiseCapability","Wrapper","LIBRARY","anInstance","forOf","speciesConstructor","task","microtask","newPromiseCapabilityModule","perform","userAgent","promiseResolve","process","versions","v8","$Promise","isNode","newPromiseCapability","promise","resolve","FakePromise","PromiseRejectionEvent","then","isThenable","notify","isReject","_n","chain","_c","_v","ok","_s","run","reaction","exited","fail","reject","domain","_h","onHandleUnhandled","enter","exit","onUnhandled","unhandled","isUnhandled","emit","onunhandledrejection","reason","onrejectionhandled","$reject","$resolve","wrapper","executor","onFulfilled","onRejected","Promise","capability","$$reject","iterable","remaining","$index","alreadyCalled","race","USE_SYMBOL","toInteger","advanceStringIndex","regExpExec","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","defined","REPLACE","$replace","maybeCallNative","searchValue","replaceValue","regexp","rx","functionalReplace","fullUnicode","unicode","results","accumulatedResult","nextSourcePosition","position","captures","namedCaptures","groups","replacerArgs","getSubstitution","tailPos","symbols","ch","__e","_assign","_assign2","IE8_DOM_DEFINE","Attributes","isRegExp","callRegExpExec","regexpExec","$min","$push","LENGTH","SUPPORTS_Y","SPLIT","$split","internalSplit","lastLength","ignoreCase","multiline","sticky","lastLastIndex","splitLimit","separatorCopy","splitter","unicodeMatching","lim","q","A","z","SRC","TPL","inspectSource","safe","runtime","Op","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","context","Context","_invoke","state","method","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","makeInvokeMethod","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","Gp","defineIteratorMethods","AsyncIterator","PromiseImpl","previousPromise","callInvokeWithMethodAndArg","invoke","__await","unwrapped","resultName","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iteratorMethod","displayName","isGeneratorFunction","genFun","ctor","mark","__proto__","awrap","async","skipTempReset","prev","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","character","fromCode","fromCharCode","_defineProperty","_defineProperty2","props","protoProps","staticProps","_typeof2","_typeof3","ReferenceError","IS_WRAP","virtual","IObject","g","asc","TYPE","$create","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","NO_HOLES","$this","$reduce","reduce","$includes","includes","localStorage","warned","trace","_setPrototypeOf2","_interopRequireDefault","_create2","subClass","superClass","wait","callFirst","timeout","callNow","condition","argIndex","framesToPop","enumBugKeys","searchString","hasSymbols","toStr","origDefineProperty","supportsDescriptors","arePropertyDescriptorsSupported","predicate","predicates","dPs","IE_PROTO","Empty","createDict","iframeDocument","iframe","display","src","contentWindow","write","lt","Properties","pIE","$TypeError","$gOPD","throwTypeError","ThrowTypeError","calleeThrows","gOPDthrows","asyncGenIterator","TypedArray","Uint8Array","INTRINSICS","ArrayBuffer","entries","Atomics","DataView","decodeURI","decodeURIComponent","encodeURI","eval","EvalError","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","parse","Map","Proxy","RangeError","Set","SharedArrayBuffer","SyntaxError","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakSet","rePropName","reEscapeChar","stringToPath","quote","subString","getBaseIntrinsic","allowMissing","origSymbol","hasSymbolSham","$find","forced","find","left","right","isArguments","is","isRegex","whichBoxedPrimitive","GetIntrinsic","callBound","whichCollection","getIterator","getSideChannel","whichTypedArray","$getTime","gPO","$objToString","$Set","$mapHas","$mapGet","$mapSize","$setAdd","$setDelete","$setHas","$setSize","setHasEqualElement","val1","opts","channel","internalDeepEqual","findLooseMatchingPrimitives","prim","mapMightHaveLoosePrim","altValue","curB","looseOpts","setMightHaveLoosePrim","mapHasEqualEntry","key1","item1","key2","actual","expected","sentinel","hasActual","hasExpected","aIsArray","bIsArray","aIsError","bIsError","aIsRegex","bIsRegex","aIsDate","bIsDate","aIsBuffer","isBuffer","bIsBuffer","ka","kb","aCollection","bCollection","resultA","resultB","iA","iB","setEquiv","item2","mapEquiv","objEquiv","copy","UNSCOPABLES","px","bitmap","def","TAG","stat","setDesc","isExtensible","FREEZE","preventExtensions","setMeta","meta","NEED","fastKey","getWeak","onFreeze","hiddenKeys","callBind","intrinsic","$trim","objA","objB","keysA","keysB","_defineProperties","_getPrototypeOf","_setPrototypeOf","_possibleConstructorReturn","_assertThisInitialized","computeOffsetPixels","contextHeight","pixelOffset","percentOffset","parseOffsetAsPercentage","isDOMElement","Component","timeoutQueue","onNextTick","cb","isSubscribed","defaultProps","debug","scrollableAncestor","children","topOffset","bottomOffset","horizontal","onEnter","onLeave","onPositionChange","fireOnRapidScroll","Waypoint","_React$PureComponent","_this","_classCallCheck","refElement","_ref","_inherits","_this2","getWindow","cancelOnNextTick","_this2$props","ref","ensureRefIsProvidedByChild","_handleScroll","_findScrollableAncestor","scrollEventListenerUnsubscribe","resizeEventListenerUnsubscribe","_this3","_this$props","resolveScrollableAncestorProp","body","getComputedStyle","getPropertyValue","bounds","_getBounds","currentPosition","viewportBottom","viewportTop","waypointTop","waypointBottom","getCurrentPosition","previousPosition","_previousPosition","_this$props2","callbackArg","contextScrollTop","_this$props3","_this$_ref$getBoundin","getBoundingClientRect","bottom","innerWidth","innerHeight","offsetWidth","offsetHeight","_this$props4","_this4","cloneElement","innerRef","fontSize","PureComponent","above","below","inside","invisible","propIsEnumerable","test1","test2","test3","letter","shouldUseNative","copyright","cof","$values","ARG","T","tryGet","callee","builtinExec","SPECIES","REPLACE_SUPPORTS_NAMED_GROUPS","SPLIT_WORKS_WITH_OVERWRITTEN_EXEC","originalExec","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","nativeRegExpMethod","fns","nativeMethod","arg2","forceStringMethod","strfn","rxfn","forbiddenField","BREAK","RETURN","$entries","strong","validate","MATCH","$match","matchStr","createHTML","url","$sort","comparefn","$some","inheritIfRequired","$Number","Base","BROKEN_COF","TRIM","toNumber","argument","third","radix","maxCode","first","digits","visit","visitParents","CONTINUE","SKIP","EXIT","tree","visitor","parents","elementUtilsMaker","listenerHandlerMaker","idGeneratorMaker","idHandlerMaker","reporterMaker","browserDetector","batchProcessorMaker","stateHandler","objectStrategyMaker","scrollStrategyMaker","isCollection","collection","isElement","getOption","defaultValue","idHandler","element","idGenerator","defaultIdHandler","reporter","batchProcessor","globalOptions","callOnAdd","detectionStrategy","eventListenerHandler","elementUtils","desiredStrategy","importantCssRules","strategyOptions","important","isLegacyOpera","isIE","onReadyCallbacks","listenTo","elements","listener","onResizeCallback","listeners","addListener","elementsReady","onReadyCallback","getState","initState","log","isDetectable","isBusy","markBusy","makeDetectable","markAsDetectable","startSize","width","height","removeListener","removeAllListeners","uninstall","cleanState","initDocument","targetDocument","createDetectElementResize","hostWindow","_window","cancel","attachEvent","requestFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","cancelFrame","mozCancelAnimationFrame","webkitCancelAnimationFrame","resetTriggers","triggers","__resizeTriggers__","expand","firstElementChild","contract","lastElementChild","expandChild","scrollLeft","scrollWidth","scrollTop","scrollHeight","scrollListener","__resizeRAF__","__resizeLast__","checkTriggers","__resizeListeners__","animation","keyframeprefix","animationstartevent","domPrefixes","startEvents","elm","animationName","animationKeyframes","animationStyle","addResizeListener","doc","ownerDocument","elementStyle","getElementById","createStyles","__animationListener__","removeResizeListener","detachEvent","root","$iterCreate","BUGGY","returnThis","DEFAULT","IS_SET","FORCED","methods","getMethod","DEF_VALUES","VALUES_BUG","$default","$anyNative","toAbsoluteIndex","IS_INCLUDES","fromIndex","SAFE_CLOSING","riter","skipClosing","at","re1","re2","regexpFlags","nativeExec","nativeReplace","patchedExec","UPDATES_LAST_INDEX_WRONG","NPCG_INCLUDED","reCopy","redefineAll","$iterDetect","common","IS_WEAK","ADDER","fixMethod","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","clear","getConstructor","setStrong","getEntry","___CSS_LOADER_ICSS_IMPORT_0___","___CSS_LOADER_AT_RULE_IMPORT_0___","quot","attribute","deleteProperty","propertyKey","isArgs","origKeys","keysShim","originalKeys","shim","$Function","$apply","$call","implementation","symObj","syms","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","marker","runClearTimeout","Item","noop","nextTick","title","browser","env","argv","on","off","prependListener","prependOnceListener","binding","cwd","chdir","umask","PromiseCapability","$$resolve","legacy","decimal","hexadecimal","alphanumerical","decodeEntity","option","settings","indent","start","entityCharacters","namedEntity","terminated","characters","reference","following","warning","entity","additional","nonTerminated","handleText","handleReference","handleWarning","textContext","referenceContext","warningContext","lines","column","line","messages","hexa","tests","bases","disallowed","flush","cache","num","interruptors","tokenizers","params","interruptor","bool","ignore","bools","collapseWhiteSpace","createChangeEmitter","currentListeners","nextListeners","ensureCanMutateNextListeners","listen","CAN_USE_DOM","memoized","canUsePassiveEventListeners","supportsPassiveOption","testPassiveEventListeners","ensureCanMutateNextEventHandlers","eventHandlers","handlers","nextHandlers","TargetEventHandlers","events","getEventHandlers","normalizedEventOptions","eventOptions","normalizeEventOptions","arrayIndexOf","isEntries","arraySlice","factories","partArgs","bound","un","check","buggy","gOPS","$assign","K","getSymbols","TO_STRING","getIteratorMethod","InternalMap","each","weak","NATIVE_WEAK_MAP","IS_IE11","ActiveXObject","uncaughtFrozenStore","ufstore","$WeakMap","$iterDefine","setSpecies","SIZE","defer","port","html","cel","setTask","setImmediate","clearTask","clearImmediate","MessageChannel","Dispatch","port2","port1","onmessage","postMessage","importScripts","promiseCapability","sameValue","SEARCH","$search","previousLastIndex","hasToStringTag","isStandardArguments","isLegacyArguments","supportsStandardArguments","numberIsNaN","$Object","dotAll","strValue","tryStringObject","exported","$Map","typedArray","canBeObject","originalGetSymbols","source1","objTarget","letters","lacksProperEnumerationOrder","thrower","1","assignHasPendingExceptions","detector","agent","div","undef","opera","findIndex","SPECIAL_KEYS_MAP","SPECIAL_CHARACTERS_MAP","8","9","13","16","17","18","20","27","32","33","34","35","36","37","38","39","40","45","46","91","93","173","187","189","224","___CSS_LOADER_ICSS_IMPORT_1___","space","ltrim","rtrim","exporter","ALIAS","FORCE","moment","symbolMap","numberMap","pluralForm","plurals","pluralize","weekdaysParseExact","suffixes","5","70","80","2","7","50","3","4","100","6","10","30","60","90","relativeTimeWithPlural","forms","standalone","lastDigit","last2Digits","monthsParseExact","relativeTimeWithMutation","mutationTable","softMutation","mutation","minWeekdaysParse","fullWeekdaysParse","shortWeekdaysParse","monthsStrictRegex","monthsShortStrictRegex","longMonthsParse","shortMonthsParse","lastNumber","translate","ll","lll","llll","plural","processRelativeTime","monthsNominativeEl","monthsGenitiveEl","momentToFormat","_monthsGenitiveEl","_monthsNominativeEl","calendarEl","_calendarEl","monthsShortDot","numbersPast","numbersFuture","verbalNumber","monthsShortWithDots","monthsShortWithoutDots","weekEndings","eraYearOrdinalRegex","$0","$1","$2","0","isUpper","eifelerRegelAppliesToNumber","translateSingular","special","relativeTimeWithSingular","translator","words","correctGrammaticalCase","wordKey","relativeTimeMr","monthsNominative","monthsSubjective","12","numbersNouns","numberNoun","hundred","ten","one","numberAsNoun","processHoursFunction","nominative","accusative","genitive","isInteger","_iterator2","_symbol2","_typeof","normalizeArray","allowAboveRoot","up","last","unshift","xs","resolvedPath","resolvedAbsolute","path","normalize","isAbsolute","trailingSlash","paths","relative","fromParts","toParts","samePartsLength","outputParts","sep","delimiter","dirname","hasRoot","matchedSlash","basename","ext","extname","startDot","startPart","preDotState","gfm","commonmark","footnotes","pedantic","size","stops","openTag","closeTag","openCloseTag","link","image","REACT_STATICS","childContextTypes","contextTypes","getDefaultProps","getDerivedStateFromProps","mixins","propTypes","KNOWN_STATICS","caller","arity","objectPrototype","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","inheritedComponent","symbolObservablePonyfill","observable","host","os","device","propertyNames","Sniffr","propertyName","versionString","determineProperty","propertyMatcher","propertyRegex","propertyValue","versionPart","sniff","userAgentString","fallbackUserAgent","Combokeys","storeInstancesGlobally","callbacks","directMap","sequenceLevels","resetTimer","ignoreNextKeyup","ignoreNextKeypress","nextExpectedAction","addEvents","instances","bindMultiple","unbind","trigger","stopCallback","handleKey","bindSingle","getKeyInfo","pickBestAction","getReverseMap","getMatches","resetSequences","fireCallback","bindSequence","resetSequenceTimer","detach","REVERSE_MAP","getScrollbarWidth","scrollbarWidth","recalculate","div1","div2","readyState","optional","FUNCTION_TYPE_RE","CPP_PRIMITIVE_TYPES","STRINGS","NUMBERS","PREPROCESSOR","FUNCTION_TITLE","CPP_KEYWORDS","built_in","literal","EXPRESSION_CONTAINS","EXPRESSION_CONTEXT","FUNCTION_DECLARATION","preprocessor","strings","XML_ENTITIES","XML_META_KEYWORDS","XML_META_PAR_KEYWORDS","APOS_META_STRING_MODE","QUOTE_META_STRING_MODE","TAG_INTERNALS","VAR","QUOTE_STRING","SYMBOL_RE","NUMBER","STRING","LITERAL","COLLECTION","HINT","HINT_COL","LIST","BODY","DEFAULT_CONTAINS","KEYWORDS","JS_IDENT_RE","SUBST","EXPRESSIONS","TITLE","PARAMS","VERBATIM_STRING","VERBATIM_STRING_NO_LF","SUBST_NO_LF","INTERPOLATED_STRING","INTERPOLATED_VERBATIM_STRING","INTERPOLATED_VERBATIM_STRING_NO_LF","TYPE_IDENT_RE","RULE","ELIXIR_IDENT_RE","ELIXIR_KEYWORDS","LOWERCASE_SIGIL","UPCASE_SIGIL","FUNCTION","CLASS","ELIXIR_DEFAULT_CONTAINS","CONSTRUCTOR","RUBY_METHOD_RE","RUBY_KEYWORDS","YARDOCTAG","IRB_OBJECT","COMMENT_MODES","RUBY_DEFAULT_CONTAINS","IRB_DEFAULT","BASIC_ATOM_RE","FUNCTION_NAME_RE","ERLANG_RESERVED","NAMED_FUN","FUNCTION_CALL","TUPLE","VAR1","VAR2","RECORD_ACCESS","BLOCK_STATEMENTS","BASIC_MODES","GO_KEYWORDS","BUILT_INS","IDENTIFIER_PLAIN_OR_QUOTED","EXPRESSION_OR_HELPER_CALL","BLOCK_MUSTACHE_CONTENTS","BASIC_MUSTACHE_CONTENTS","PRAGMA","JAVA_NUMBER_MODE","FRAGMENT","XML_TAG","HTML_TEMPLATE","CSS_TEMPLATE","TEMPLATE_STRING","PARAMS_CONTAINS","LITERALS","ALLOWED_COMMENTS","TYPES","VALUE_CONTAINER","OBJECT","ARRAY","LABEL","VARIABLE","ANNOTATION_USE_SITE","ANNOTATION","KOTLIN_NUMBER_MODE","KOTLIN_NESTED_COMMENT","KOTLIN_PAREN_TYPE","KOTLIN_PAREN_TYPE2","RULES","VALUE","STRING_MODE","IDENT_MODE","PARENS_MODE","VALUE_WITH_RULESETS","MIXIN_GUARD_MODE","RULE_MODE","INTERP_IDENT_RE","AT_RULE_MODE","VAR_RULE_MODE","SELECTOR_MODE","SUBST_SIMPLE","LONG_BRACKETS","COMMENTS","FUNC","ASSIGNMENT","TARGET","PERL_KEYWORDS","METHOD","STRING_CONTAINS","PERL_DEFAULT_CONTAINS","BACKTICK_ESCAPE","APOS_STRING","PS_COMMENT","CMDLETS","PS_CLASS","PS_FUNCTION","PS_USING","PS_ARGUMENTS","PS_METHODS","GENTLEMANS_SET","PS_TYPE","PROMPT","LITERAL_BRACKET","NUM_SUFFIX","BUILTINS","HEXCOLOR","COMMENT_MODE","SWIFT_KEYWORDS","BLOCK_COMMENT","FUNCTION_NAMES","FUNCTIONS","FILTER","TAGS","DECORATOR","ARGS","activeFocusDelay","trapQueue","tabbable","xtend","activeFocusTraps","activateTrap","trap","activeTrap","pause","trapIndex","deactivateTrap","unpause","delay","userOptions","container","returnFocusOnDeactivate","escapeDeactivates","firstTabbableNode","lastTabbableNode","nodeFocusedBeforeActivation","mostRecentlyFocusedNode","active","paused","activate","activateOptions","updateTabbableNodes","activeElement","onActivate","addListeners","deactivate","removeListeners","deactivateOptions","onDeactivate","returnFocus","previousActiveElement","tryFocus","getNodeForOption","getInitialFocusNode","checkFocusIn","checkPointerDown","checkClick","checkKey","optionName","optionValue","clickOutsideDeactivates","isFocusable","allowOutsideClick","Document","stopImmediatePropagation","isEscapeEvent","isTabEvent","checkTab","tabbableNodes","focus","tagName","select","isSelectableInput","constant","append","directive","$timeout","$window","require","restrict","scope","attrs","ngModel","ta","$ta","mirrored","msdElastic","$win","mirrorInitStyle","$mirror","mirror","taStyle","resize","boxOuter","minHeightValue","heightValue","minHeight","maxHeight","copyStyle","onkeyup","adjust","forceAdjust","$watch","$modelValue","newValue","$on","initMirror","mirrorStyle","taHeight","taComputedStyleWidth","mirrorHeight","overflowY","$emit","assertThisInitialized","_toConsumableArray","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","unified","PropTypes","addListMetadata","naiveHtml","disallowNode","astToReact","wrapTableRows","getDefinitions","uriTransformer","defaultRenderers","allTypes","ReactMarkdown","parserOptions","allowedTypes","disallowedTypes","renderers","parser","plugins","applyParserPlugin","rawAst","renderProps","definitions","astPlugins","removalMethod","unwrapDisallowed","ofType","allowNode","ifNotMatch","renderHtml","escapeHtml","skipHtml","hasHtmlParser","identity","HtmlParser","determineAstPlugins","transformedAst","runSync","ast","plugin","use","sourcePos","rawSourcePos","transformLinkUri","arrayOf","oneOf","oneOfType","linkTarget","transformImageUri","types","Parser","inlineTokenizers","break","locator","isRemarkParser","tokenizeBreak","eat","silent","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","updater","H","isReactComponent","setState","forceUpdate","I","isPureReactComponent","J","__self","__source","$$typeof","_owner","Q","keyPrefix","V","aa","X","N","Y","Z","ba","ReactCurrentDispatcher","ReactCurrentBatchConfig","suspense","ReactCurrentOwner","IsSomeRendererActing","Children","only","Fragment","Profiler","StrictMode","Suspense","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","createContext","_calculateChangedBits","_currentValue","_currentValue2","_threadCount","Provider","Consumer","_context","createFactory","createRef","forwardRef","isValidElement","lazy","_ctor","_status","_result","compare","useCallback","useContext","useDebugValue","useEffect","useImperativeHandle","useLayoutEffect","useMemo","useReducer","useRef","useState","onError","da","ea","fa","ha","ia","ja","la","ma","na","oa","pa","qa","ra","sa","extractEvents","eventTypes","phasedRegistrationNames","ua","registrationName","va","wa","dependencies","xa","ya","za","Aa","Ba","Ca","stateNode","Da","Ea","Fa","Ga","Ha","Ia","Ja","Ka","La","Ma","Na","Oa","Pa","Qa","acceptsBooleans","attributeName","attributeNamespace","mustUseProperty","sanitizeURL","Ua","Va","xlinkHref","Wa","Xa","Sa","Ta","Ra","setAttributeNS","Ya","Za","$a","ab","bb","db","eb","fb","gb","hb","ib","jb","lb","mb","nb","pb","qb","_debugOwner","_debugSource","fileName","lineNumber","return","rb","sb","xb","_valueTracker","getValue","setValue","stopTracking","tb","yb","checked","zb","defaultChecked","_wrapperState","initialChecked","Ab","initialValue","controlled","Bb","Cb","Db","Eb","Gb","Fb","Hb","selected","defaultSelected","disabled","Ib","dangerouslySetInnerHTML","Jb","Kb","Lb","Mb","Nb","Ob","Pb","Qb","MSApp","execUnsafeLocalFunction","namespaceURI","Rb","lastChild","Sb","Tb","animationend","animationiteration","animationstart","transitionend","Ub","Vb","Wb","transition","Xb","Yb","Zb","$b","ac","bc","cc","dc","alternate","effectTag","ec","memoizedState","dehydrated","fc","hc","sibling","gc","ic","jc","kc","lc","_dispatchListeners","_dispatchInstances","isPropagationStopped","isPersistent","release","mc","nc","srcElement","correspondingUseElement","oc","pc","qc","topLevelType","nativeEvent","targetInst","ancestors","rc","eventSystemFlags","sc","containerInfo","tc","uc","vc","wc","xc","yc","zc","Ac","Bc","Cc","Dc","Ec","Fc","Gc","Hc","Ic","Kc","blockedOn","Lc","delete","pointerId","Mc","Nc","Pc","unstable_runWithPriority","hydrate","Qc","Rc","Sc","Tc","Uc","unstable_scheduleCallback","unstable_NormalPriority","Vc","Wc","Yc","Zc","$c","ad","bubbled","captured","eventPriority","bd","cd","unstable_UserBlockingPriority","ed","fd","gd","hd","Oc","jd","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridArea","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","fontWeight","lineClamp","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","kd","ld","md","setProperty","nd","menuitem","area","br","col","embed","hr","img","keygen","param","track","wbr","od","pd","qd","rd","sd","td","ud","vd","xd","href","yd","contentEditable","Dd","Ed","Fd","autoFocus","Gd","__html","Hd","Id","Jd","Kd","previousSibling","Ld","Md","Nd","Od","Pd","Qd","Rd","Sd","Td","dispatchConfig","Ud","_targetInst","Vd","Wd","Xd","Yd","Zd","$d","ae","be","Interface","isDefaultPrevented","defaultPrevented","returnValue","ee","eventPool","fe","destructor","de","getPooled","stopPropagation","cancelBubble","persist","eventPhase","timeStamp","isTrusted","ge","he","ie","je","ke","documentMode","le","me","ne","oe","beforeInput","compositionEnd","compositionStart","compositionUpdate","pe","qe","se","ve","te","ue","we","color","datetime","email","password","range","search","tel","xe","ye","change","ze","Ae","Be","Ce","De","Ee","Fe","Ge","He","Ie","Je","Ke","Le","Me","_isInputEventSupported","Ne","Oe","Alt","Control","Meta","Shift","Pe","getModifierState","Qe","Re","Se","Te","Ue","Ve","pageX","pageY","buttons","fromElement","toElement","movementX","movementY","We","pressure","tangentialPressure","tiltX","tiltY","twist","pointerType","isPrimary","Xe","mouseEnter","mouseLeave","pointerEnter","pointerLeave","Ye","defaultView","parentWindow","$e","af","bf","cf","df","ef","ff","gf","hf","jf","selectionStart","selectionEnd","anchorNode","getSelection","anchorOffset","focusNode","focusOffset","kf","onSelect","lf","elapsedTime","pseudoElement","mf","clipboardData","nf","of","pf","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Menu","Apps","Scroll","MozPrintableKey","qf","19","112","113","114","115","116","117","118","119","120","121","122","123","144","145","rf","sf","dataTransfer","tf","touches","targetTouches","changedTouches","uf","vf","deltaX","wheelDeltaX","deltaY","wheelDeltaY","wheelDelta","deltaZ","deltaMode","wf","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin","yf","zf","Af","Bf","Cf","__reactInternalMemoizedUnmaskedChildContext","__reactInternalMemoizedMaskedChildContext","Df","Ef","Ff","getChildContext","Gf","__reactInternalMemoizedMergedChildContext","Hf","If","Jf","Kf","unstable_cancelCallback","Lf","unstable_requestPaint","Mf","unstable_now","Nf","unstable_getCurrentPriorityLevel","Of","unstable_ImmediatePriority","Pf","Qf","Rf","unstable_LowPriority","Sf","unstable_IdlePriority","Tf","Uf","unstable_shouldYield","Vf","Wf","Xf","Yf","Zf","$f","ag","bg","cg","dg","eg","fg","hg","ig","jg","kg","lg","mg","ng","og","pg","childExpirationTime","qg","firstContext","expirationTime","rg","sg","observedBits","responders","tg","ug","updateQueue","baseState","baseQueue","pending","effects","vg","wg","suspenseConfig","payload","xg","yg","zg","ca","Ag","Bg","Cg","Dg","Eg","Fg","Jg","_reactInternalFiber","Gg","Hg","Ig","Kg","shouldComponentUpdate","Lg","contextType","Mg","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","Ng","getSnapshotBeforeUpdate","UNSAFE_componentWillMount","componentWillMount","componentDidMount","Og","Pg","_stringRef","Qg","Rg","lastEffect","nextEffect","firstEffect","Sg","Tg","elementType","Ug","Vg","Wg","Xg","Yg","Zg","$g","ah","bh","dh","eh","fh","gh","memoizedProps","revealOrder","ih","responder","jh","kh","lh","mh","nh","oh","ph","qh","rh","sh","uh","vh","wh","lastRenderedReducer","action","eagerReducer","eagerState","lastRenderedState","xh","yh","zh","Ah","destroy","deps","Bh","Ch","Dh","Eh","Fh","Gh","Hh","Ih","Jh","Kh","Lh","Mh","Nh","readContext","useResponder","useDeferredValue","useTransition","Oh","Ph","Qh","Rh","Sh","Th","pendingProps","Uh","Vh","Wh","Xh","Yh","Zh","$h","ai","bi","ci","di","ei","fi","UNSAFE_componentWillUpdate","componentWillUpdate","componentDidUpdate","gi","getDerivedStateFromError","hi","pendingContext","ni","pi","qi","retryTime","ji","fallback","unstable_avoidThisFallback","ki","li","isBackwards","rendering","renderingStartTime","tail","tailExpiration","tailMode","mi","ri","si","wasMultiple","multiple","onClick","onclick","createElementNS","ti","ui","vi","wi","xi","yi","zi","Ai","Bi","Ci","Fi","Ei","Gi","__reactInternalSnapshotBeforeUpdate","Hi","Ii","Ji","Ki","Li","componentWillUnmount","Di","Mi","Ni","Oi","Pi","Qi","_reactRootContainer","Ri","Si","Ti","Ui","Vi","Wi","Xi","Yi","Zi","$i","componentDidCatch","aj","componentStack","Rj","bj","cj","dj","kj","lj","mj","nj","oj","qj","rj","sj","tj","uj","vj","wj","timeoutMs","xj","yj","zj","lastExpiredTime","Aj","firstPendingTime","lastPingedTime","nextKnownPendingLevel","callbackExpirationTime","callbackPriority","callbackNode","Bj","Cj","Dj","Ej","Fj","Gj","Hj","finishedWork","finishedExpirationTime","lastSuspendedTime","Ij","timeoutHandle","Jj","busyMinDurationMs","busyDelayMs","Kj","Mj","Nj","pingCache","Oj","ub","Pj","Xc","Qj","Sj","firstSuspendedTime","rangeCount","wb","activeElementDetached","focusedElem","selectionRange","Tj","wd","compareDocumentPosition","createRange","setStart","removeAllRanges","addRange","setEnd","vb","Uj","Vj","Wj","hidden","ob","Xj","unstable_observedBits","Zj","pendingChildren","ak","bk","ck","dk","ek","fk","Jc","_internalRoot","gk","ik","hasAttribute","hk","jk","kk","unmount","form","Lj","lk","Events","findFiberByHostInstance","bundleType","rendererPackageName","isDisabled","supportsFiber","inject","onCommitFiberRoot","onCommitFiberUnmount","Yj","overrideHookState","overrideProps","setSuspenseHandler","scheduleUpdate","currentDispatcherRef","findHostInstanceByFiber","findHostInstancesForRefresh","scheduleRefresh","scheduleRoot","setRefreshHandler","getCurrentFiber","createPortal","findDOMNode","flushSync","unmountComponentAtNode","unstable_batchedUpdates","unstable_createPortal","unstable_renderSubtreeIntoContainer","unstable_forceFrameRate","performance","sortIndex","startTime","priorityLevel","unstable_Profiling","unstable_continueExecution","unstable_getFirstCallbackNode","unstable_next","unstable_pauseExecution","unstable_wrapCallback","__RewireAPI__","__ResetDependency__","__set__","__Rewire__","__GetDependency__","__get__","RedBoxError","_slicedToArray","_arr","_e","sliceIterator","_createClass","_propTypes2","_react","_react2","_reactDom2","_style2","_errorStackParser2","_objectAssign2","_lib","_sourcemappedStacktrace","_get__2","mapped","mapOnConstruction","mapError","stackLines","fixedLines","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","stackLine","evalStackLine","_evalStackLine","atSomething","file","rowColumn","_get__","mappedStack","frames","_props","filename","editorScheme","useLines","useColumns","_get__3","frame","linkToFile","columnNumber","functionName","_get__4","redbox","parseError","renderFrames","instanceOf","isRequired","RedBox","_get__5","renderRedBoxError","_RewiredData__","_RewireAPI__","variableName","mapStackTrace","isFilenameAbsolute","makeUrl","makeLinkText","_get_original__","_set__","_reset__","_with__","rewiredVariableNames","previousValues","catch","addPropertyToAPIObject","_typeOfOriginalExport","addNonEnumerableProperty","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","propName","componentName","propFullName","secret","getShim","ReactPropTypes","symbol","any","objectOf","shape","exact","checkPropTypes","boxSizing","fontFamily","padding","background","textAlign","marginTop","textDecoration","StackFrame","FIREFOX_SAFARI_STACK_REGEXP","CHROME_IE_STACK_REGEXP","SAFARI_NATIVE_CODE_REGEXP","_map","thisArg","_filter","stacktrace","parseOpera","parseV8OrIE","parseFFOrSafari","extractLocation","urlLike","locationParts","_indexOf","parseOpera9","parseOpera11","parseOpera10","lineRE","argsRaw","functionCall","_isNumber","setFunctionName","setArgs","setFileName","setLineNumber","setColumnNumber","setSource","getFunctionName","getArgs","getFileName","getLineNumber","getColumnNumber","getSource","filenameWithoutLoaders","lastIndexOf","filenameHasSchema","filenameHasLoaders","scheme","actualFilename","loaded","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","source_map_consumer","global_mapForUri","isChromeOrEdge","isFirefox","isSafari","isIE11Plus","Semaphore","incr","decr","whenReady","Fetcher","sem","sync","mapForUri","cacheGlobally","ajax","uri","xhr","xmlhttp","XMLHttpFactories","createXMLHTTPObject","onreadystatechange","send","fetchScript","onScriptLoad","absUrlRegex","status","responseText","mapUri","embeddedSourceMap","SourceMapConsumer","lastSlash","processSourceMaps","rows","traceFormat","origName","origNameChrome","origNameFirefox","row","origPos","originalPositionFor","formatOriginalPosition","origLine","fields","expected_fields","skip_lines","fetcher","util","binarySearch","ArraySet","base64VLQ","quickSort","aSourceMap","sections","IndexedSourceMapConsumer","BasicSourceMapConsumer","getArg","sourcesContent","mappings","_version","_names","fromArray","_sources","_mappings","Mapping","generatedLine","generatedColumn","originalLine","originalColumn","lastOffset","_sections","offsetLine","offsetColumn","generatedOffset","consumer","fromSourceMap","__generatedMappings","_parseMappings","__originalMappings","_charIsMappingSeparator","aStr","aSourceRoot","GENERATED_ORDER","ORIGINAL_ORDER","GREATEST_LOWER_BOUND","LEAST_UPPER_BOUND","eachMapping","aCallback","aContext","aOrder","_generatedMappings","_originalMappings","allGeneratedPositionsFor","aArgs","needle","_findMapping","compareByOriginalPositions","lastColumn","smc","_sourceRoot","_generateSourcesContent","_file","generatedMappings","destGeneratedMappings","destOriginalMappings","srcMapping","destMapping","segment","previousGeneratedColumn","previousOriginalLine","previousOriginalColumn","previousSource","previousName","cachedSegments","originalMappings","decode","rest","compareByGeneratedPositionsDeflated","aNeedle","aMappings","aLineName","aColumnName","aComparator","aBias","computeColumnSpans","nextMapping","lastGeneratedColumn","Infinity","hasContentsOfAllSources","sourceContentFor","aSource","nullOnMissing","urlParse","fileUriAbsPath","generatedPositionFor","sectionIndex","section","cmp","bias","every","generatedPosition","sectionMappings","adjustedMapping","aName","aDefaultValue","urlRegexp","dataUrlRegexp","aUrl","auth","urlGenerate","aParsedUrl","aPath","aRoot","aPathUrl","aRootUrl","joined","level","supportsNullProto","isProtoString","strcmp","aStr1","aStr2","toSetString","fromSetString","mappingA","mappingB","onlyCompareOriginal","onlyCompareGenerated","compareByGeneratedPositionsInflated","aHaystack","aCompare","recursiveSearch","aLow","aHigh","mid","_array","_set","aArray","aAllowDuplicates","sStr","isDuplicate","idx","aIdx","encode","aValue","digit","encoded","vlq","toVLQSigned","VLQ_BASE","aIndex","aOutParam","shifted","strLen","intToCharMap","swap","ary","doQuickSort","comparator","low","high","pivot","windowNames","getWindowNames","$startsWith","startsWith","originalModule","webpackPolyfill","createArrayMethod","$has","arrayFind","arrayFindIndex","UncaughtFrozenStore","findUncaughtFrozen","isRight","dummy","π","PI","τ","deg","ConicGradient","canvas","getContext","repeating","ColorStop","difference","paint","dataURL","svg","URL","createObjectURL","Blob","png","toDataURL","sqrt","prevStop","radius","stopIndex","rotate","sameColor","interpolated","fillStyle","beginPath","moveTo","θ","beginArg","endArg","arc","closePath","fill","gradient","colorToRGBA","rgba","StyleFix","backgroundImage","PrefixFree","register","raw","minErrConfig","objectMaxDepth","urlErrorParamsEnabled","errorHandlingConfig","isDefined","isValidObjectMaxDepth","isBoolean","maxDepth","minErr","ErrorConstructor","errRegExp","paramPrefix","template","templateArgs","sliceArgs","toDebugString","msie","jqLite","jQuery","angularModule","REGEX_STRING_REGEXP","uppercase","ngMinErr","isArrayLike","isWindow","isPrimitive","isBlankObject","forEachSorted","reverseParams","iteratorFn","nextUid","setHashKey","$$hashKey","baseExtend","dst","objs","deep","jj","cloneNode","merge","isNumberNaN","$","valueFn","hasCustomToString","isError","isScope","$evalAsync","isPromiseLike","$inject","TYPED_ARRAY_REGEXP","escapeForRegexp","attr","nodeName_","arrayRemove","destination","stackSource","stackDest","isTypedArray","copyRecurse","copyElement","needsRecurse","buffer","byteOffset","copied","byteLength","copyType","simpleCompare","equals","o1","o2","keySet","t1","createMap","csp","rules","ngCspElement","ngCspAttribute","noUnsafeEval","noInlineStyle","jq","name_","ngAttrPrefixes","startIndex","curryArgs","toJsonReplacer","toJson","pretty","fromJson","json","ALL_COLONS","timezoneToOffset","timezone","requestedTimezoneOffset","addDateMinutes","setMinutes","getMinutes","convertTimezoneToLocal","dateTimezoneOffset","startingTag","elemHtml","NODE_TYPE_TEXT","tryDecodeURIComponent","parseKeyValue","keyValue","splitPoint","encodeUriSegment","encodeUriQuery","pctEncodeSpaces","isAutoBootstrapAllowed","script","currentScript","HTMLScriptElement","SVGScriptElement","getNamedItem","protocol","allowAutoBootstrap","angularInit","bootstrap","appElement","candidate","strictDi","ngAttr","getNgAttribute","doBootstrap","injector","$provide","debugInfoEnabled","$compileProvider","createInjector","compile","NG_ENABLE_DEBUG_INFO","NG_DEFER_BOOTSTRAP","resumeBootstrap","extraModules","resumeDeferredBootstrap","reloadWithDebugInfo","reload","getTestability","rootElement","SNAKE_CASE_REGEXP","snake_case","bindJQueryFired","UNSAFE_restoreLegacyJqLiteXHTMLReplacement","JQLite","legacyXHTMLReplacement","assertArg","assertArgFn","acceptArrayAnnotation","assertNotHasOwnProperty","getBlockNodes","blockNodes","endNode","shallowCopy","seen","serializeObject","full","major","minor","dot","codeName","expando","jqCache","jqId","DASH_LOWERCASE_REGEXP","MS_HACK_REGEXP","MOUSE_EVENT_MAP","mouseleave","mouseenter","jqLiteMinErr","fnCamelCaseReplace","kebabToCamel","SINGLE_TAG_REGEXP","HTML_REGEXP","TAG_NAME_REGEXP","XHTML_TAG_REGEXP","wrapMap","thead","tr","tbody","tfoot","colgroup","caption","wrapMapIE9","_default","wrapMapValueClosing","wrapMapValue","jqLiteIsTextNode","jqLiteAcceptsData","jqLiteBuildFragment","finalHtml","optgroup","jqLiteContains","argIsString","parsed","jqLiteAddNodes","jqLiteReady","jqLiteClone","jqLiteDealoc","onlyDescendants","cleanData","isEmptyObject","removeIfEmptyData","expandoId","ng339","expandoStore","jqLiteOff","unsupported","jqLiteExpandoStore","removeHandler","listenerFns","jqLiteRemoveData","createIfNecessary","jqLiteData","isSimpleSetter","isSimpleGetter","massGetter","jqLiteHasClass","jqLiteRemoveClass","cssClasses","existingClasses","newClasses","cssClass","jqLiteAddClass","jqLiteController","jqLiteInheritedData","jqLiteEmpty","jqLiteRemove","keepData","JQLitePrototype","ready","eq","BOOLEAN_ATTR","BOOLEAN_ELEMENTS","ALIASED_ATTR","getBooleanAttrName","booleanAttr","defaultHandlerWrapper","specialMouseHandlerWrapper","related","$$jqLiteProvider","$get","hasClass","addClass","removeClass","hashKey","nextUidFn","objType","removeData","hasData","inheritedData","isolateScope","controller","removeAttr","cssKebabToCamel","lowercasedName","isBooleanAttr","getText","$dv","arg1","nodeCount","eventHandler","eventFns","eventFnsLength","immediatePropagationStopped","originalStopImmediatePropagation","isImmediatePropagationStopped","handlerWrapper","specialHandlerWrapper","elem","createEventHandler","addHandler","noEventListener","onFn","replaceNode","contents","prepend","wrapNode","after","newElement","toggleClass","classCondition","nextElementSibling","triggerHandler","extraParameters","dummyEvent","eventFnsCopy","handlerArgs","arg3","nanKey","NgMapShim","_keys","_values","_lastKey","_lastIndex","_idx","_transformKey","NgMap","$$MapProvider","ARROW_ARG","FN_ARGS","FN_ARG_SPLIT","FN_ARG","STRIP_COMMENTS","$injectorMinErr","stringifyFn","extractArgs","fnText","modulesToLoad","INSTANTIATING","loadedModules","providerCache","provider","supportObject","service","$injector","instantiate","instanceCache","decorator","serviceName","decorFn","origProvider","providerInjector","orig$get","origInstance","instanceInjector","$delegate","createInternalInjector","protoInstanceInjector","runBlocks","loadModules","loadNewModules","mods","provider_","enforceReturnValue","factoryFn","enforce","moduleFn","requires","_runBlocks","runInvokeQueue","_invokeQueue","_configBlocks","invokeArgs","getService","injectionArgs","$$annotate","$$ngIsClass","isClass","Type","annotate","$AnchorScrollProvider","autoScrollingEnabled","disableAutoScrolling","$location","$rootScope","scrollTo","scrollIntoView","scroll","yOffset","getYOffset","elemTop","scrollBy","hash","getElementsByName","newVal","oldVal","win","anonFn","underscore","$animateMinErr","mergeClasses","prepareAnimateOptions","$$CoreAnimateJsProvider","$$CoreAnimateQueueProvider","postDigestQueue","postDigestElements","$$AnimateRunner","enabled","pin","domOperation","classesAdded","updateData","classesRemoved","$$postDigest","handleCSSClassChanges","addRemoveClassesPostDigest","runner","changed","existing","klass","splitClasses","toAdd","toRemove","$AnimateProvider","classNameFilter","customFilter","$$registeredAnimations","filterFn","expression","reservedRegex","$$animateQueue","domInsert","parentElement","afterElement","afterNode","extractElementNode","previousElementSibling","move","leave","addclass","setClass","animate","tempClasses","$$AnimateAsyncRunFactoryProvider","$$rAF","waitQueue","waitForTick","passed","$$AnimateRunnerFactoryProvider","$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","AnimateRunner","setHost","rafTick","_doneCallbacks","_tick","timeoutTick","_state","response","runners","onProgress","progress","getPromise","resolveHandler","rejectHandler","resume","_resolve","$CoreAnimateCssProvider","initialOptions","$$prepared","cleanupStyles","closed","applyAnimationContents","Browser","$log","$$taskTrackerFactory","history","pendingDeferIds","taskTracker","isMock","$$completeOutstandingRequest","completeTask","$$incOutstandingRequestCount","incTaskCount","notifyWhenNoOutstandingRequests","notifyWhenNoPendingTasks","cachedState","lastHistoryState","lastBrowserUrl","baseElement","pendingLocation","getCurrentState","cacheState","sameState","urlResolve","sameBase","stripHash","getHash","trimEmptyHash","urlChangeListeners","urlChangeInit","cacheStateAndFireUrlChange","fireStateOrUrlChange","lastCachedState","prevLastHistoryState","onUrlChange","$$applicationDestroyed","$$checkUrlChange","baseHref","taskType","timeoutId","DEFAULT_TASK_TYPE","deferId","$BrowserProvider","$document","$CacheFactoryProvider","caches","cacheFactory","cacheId","stats","capacity","MAX_VALUE","lruHash","freshEnd","staleEnd","put","refresh","lruEntry","removeAll","nextEntry","prevEntry","$TemplateCacheProvider","$cacheFactory","$compileMinErr","_UNINITIALIZED_VALUE","$CompileProvider","$$sanitizeUriProvider","hasDirectives","COMMENT_DIRECTIVE_REGEXP","CLASS_DIRECTIVE_REGEXP","ALL_OR_NOTHING_ATTRS","items","makeMap","REQUIRE_PREFIX_REGEXP","EVENT_HANDLER_ATTR_REGEXP","bindingCache","parseIsolateBindings","directiveName","isController","LOCAL_REGEXP","bindings","definition","scopeName","attrName","parseDirectiveBindings","bindToController","registerDirective","directiveFactory","assertValidDirectiveName","$exceptionHandler","directives","getDirectiveRequire","getDirectiveRestrict","$$moduleName","component","registerComponent","makeInjectable","tElement","tAttrs","$element","$attrs","templateUrl","ddo","controllerAs","identifierForController","transclude","aHrefSanitizationWhitelist","imgSrcSanitizationWhitelist","strictComponentBindingsEnabled","TTL","onChangesTtl","commentDirectivesEnabledConfig","commentDirectivesEnabled","cssClassDirectivesEnabledConfig","cssClassDirectivesEnabled","PROP_CONTEXTS","addPropertySecurityContext","elementName","registerContext","SCE_CONTEXTS","HTML","CSS","MEDIA_URL","RESOURCE_URL","$interpolate","$templateRequest","$parse","$controller","$sce","$animate","onChangesQueue","SIMPLE_ATTR_NAME","specialAttrHolder","flushOnChangesQueue","sanitizeSrcset","invokeType","trimmedSrcset","pattern","rawUris","nbrUrisWith2parts","innerIdx","getTrustedMediaUrl","lastTuple","attributesToCopy","$attr","$$element","safeAddClass","$normalize","directiveNormalize","$addClass","classVal","$removeClass","$updateClass","oldClasses","tokenDifference","writeAttr","booleanKey","aliasedKey","getAliasedAttrName","observer","removeNamedItem","setNamedItem","setSpecialAttr","$$observers","$observe","$$inter","startSymbol","endSymbol","denormalizeTemplate","NG_PREFIX_BINDING","MULTI_ELEMENT_DIR_RE","$$addBindingInfo","$$addBindingClass","$$addScopeInfo","isolated","noTemplate","dataName","$$addScopeClass","$$createComment","comment","createComment","$compileNodes","transcludeFn","maxPriority","ignoreDirective","previousCompileContext","compositeLinkFn","compileNodes","namespace","cloneConnectFn","needsNewScope","$parent","$new","$linkNode","parentBoundTranscludeFn","transcludeControllers","futureParentElement","$$boundTransclude","wrapTemplate","controllerName","nodeList","$rootElement","nodeLinkFn","childLinkFn","linkFnFound","nodeLinkFnFound","linkFns","notLiveList","mergeConsecutiveTextNodes","collectDirectives","applyDirectivesToNode","terminal","transcludeOnThisElement","templateOnThisElement","childScope","childBoundTranscludeFn","stableNodeList","nodeListLength","createBoundTranscludeFn","previousBoundTranscludeFn","boundTranscludeFn","transcludedScope","cloneFn","controllers","containingScope","$$transcluded","boundSlots","$$slots","slotName","attrsMap","addDirective","nName","ngPrefixMatch","nAttrs","multiElementMatch","attrStartName","attrEndName","isNgAttr","isNgProp","isNgEvent","PREFIX_REGEXP","directiveIsMultiElement","addPropertyDirective","addEventDirective","addAttrInterpolateDirective","animVal","interpolateFn","templateNode","templateNodeParent","hasCompileParent","expressions","addTextInterpolateDirective","collectCommentDirectives","byPriority","groupScan","attrStart","attrEnd","depth","groupElementsLinkFnWrapper","linkFn","compilationGenerator","eager","compileNode","templateAttrs","jqCollection","originalReplaceDirective","preLinkFns","postLinkFns","$template","directiveValue","terminalPriority","newScopeDirective","controllerDirectives","newIsolateScopeDirective","templateDirective","nonTlbTranscludeDirective","hasTranscludeDirective","hasTemplate","hasElementTranscludeDirective","$compileNode","replaceDirective","childTranscludeFn","didScanForMultipleTransclusion","mightHaveMultipleTransclusionError","$$start","$$end","assertNoDuplicate","$$tlb","candidateDirective","scanningIndex","slots","slotMap","filledSlots","elementSelector","filled","slotCompileNodes","$$isolateScope","$$newScope","removeComments","templateNamespace","newTemplateAttrs","templateDirectives","unprocessedDirectives","markDirectiveScope","mergeTemplateAttributes","compileTemplateUrl","$$originalDirective","addLinkFns","pre","post","cloneAndAnnotateFn","linkNode","controllerScope","elementControllers","scopeBindingInfo","cloneAttachFn","scopeToChild","slotTranscludeFn","isSlotFilled","controllerKey","$scope","$transclude","controllerInstance","setupControllers","$$isolateBindings","initializeDirectiveBindings","removeWatches","controllerDirective","$$bindings","bindingInfo","getControllers","$onChanges","initialChanges","$onInit","$doCheck","$onDestroy","invokeLinkFn","$postLink","inheritType","newScope","tDirectives","startAttrName","endAttrName","multiElement","srcAttr","dstAttr","afterTemplateNodeLinkFn","afterTemplateChildLinkFn","linkQueue","beforeTemplateCompileNode","origAsyncDirective","derivedSyncDirective","tempTemplateAttrs","beforeTemplateLinkNode","linkRootElement","$$destroyed","ignoreChildLinkFn","what","previousDirective","wrapModuleNameIfDefined","moduleName","sanitizeSrcsetPropertyValue","trustedContext","propNormalizedName","getTrustedPropContext","sanitizer","getTrusted","ngPropGetter","ngPropWatch","applyPropValue","propValue","createEventDirective","attrNormalizedName","getTrustedAttrContext","mustHaveExpression","allOrNothing","$$scope","oldValue","elementsToRemove","newNode","firstElementToRemove","removeCount","j2","annotation","strictBindingsCheck","changes","removeWatchCollection","recordChanges","currentValue","previousValue","triggerOnChangesHook","SimpleChange","lastValue","parentGet","parentSet","removeWatch","parentValueWatch","parentValue","$stateful","$watchCollection","isLiteral","previous","isFirstChange","SPECIAL_CHARS_REGEXP","str1","str2","tokens1","tokens2","outer","jqNodes","$controllerMinErr","CNTRL_REG","ident","$ControllerProvider","later","identifier","bindFnToScope","lastInstance","controllerPrototype","addIdentifier","$DocumentProvider","$$IsDocumentHiddenProvider","changeListener","$ExceptionHandlerProvider","cause","$$ForceReflowProvider","domNode","CONTENT_TYPE_APPLICATION_JSON","APPLICATION_JSON","JSON_START","JSON_ENDS","JSON_PROTECTION_PREFIX","$httpMinErr","serializeValue","$HttpParamSerializerProvider","$HttpParamSerializerJQLikeProvider","serialize","toSerialize","topLevel","defaultHttpResponseTransform","headers","tempData","contentType","hasJsonContentType","jsonStart","parseHeaders","fillInParsed","headerVal","headerKey","headersGetter","headersObj","transformData","isSuccess","$HttpProvider","transformResponse","transformRequest","isBlob","isFormData","patch","xsrfCookieName","xsrfHeaderName","paramSerializer","jsonpCallbackParam","useApplyAsync","interceptorFactories","interceptors","xsrfWhitelistedOrigins","$browser","$httpBackend","$$cookieReader","defaultCache","reversedInterceptors","interceptorFactory","parsedAllowedOriginUrls","urlIsAllowedOrigin","originUrl","requestUrl","parsedUrl","urlsAreSameOrigin","$http","requestConfig","defHeaderName","lowercaseDefHeaderName","reqHeaderName","defHeaders","reqHeaders","defaultHeadersIteration","headerContent","processedHeaders","headerFn","header","executeHeaderFns","mergeHeaders","requestInterceptors","responseInterceptors","interceptor","request","requestError","responseError","chainInterceptors","reqData","withCredentials","cachedResp","deferred","isJsonp","getTrustedResourceUrl","serializedParams","buildUrl","cbKey","sanitizeJsonpCallbackParam","pendingRequests","removePendingReq","resolvePromiseWithResult","resolvePromise","xsrfValue","headersString","statusText","xhrStatus","resolveHttpPromise","$applyAsync","$$phase","responseType","createApplyHandlers","uploadEventHandlers","applyHandlers","callEventHandler","sendReq","finally","thenFn","rejectFn","resp","createShortMethods","createShortMethodsWithData","$xhrFactoryProvider","$HttpBackendProvider","$jsonpCallbacks","$xhrFactory","createXhr","$browserDefer","rawDocument","callbackPath","createCallback","jsonpDone","wasCalled","jsonpReq","getResponse","completeRequest","removeCallback","abortedByTimeout","setRequestHeader","onload","getAllResponseHeaders","onerror","ontimeout","onabort","upload","timeoutRequest","$$timeoutId","abort","createHttpBackend","$interpolateMinErr","$InterpolateProvider","startSymbolLength","endSymbolLength","escapedStartRegexp","escapedEndRegexp","unescapeText","constantWatchDelegate","objectEquality","constantInterp","unwatch","contextAllowsConcatenation","unescapedText","$$watchDelegate","endIndex","parseFns","singleExpression","textLength","expressionPositions","interr","compute","throwNoconcat","$watchGroup","oldValues","currValue","$intervalMinErr","$IntervalProvider","$$intervalFactory","intervals","clearIntervalFn","clearInterval","interval","tick","setInterval","$$intervalId","markQExceptionHandled","$$IntervalFactoryProvider","$$q","setIntervalFn","invokeApply","hasParams","iteration","skipApply","$jsonpCallbacksProvider","callbackMap","callbackId","$$counter","PATH_MATCH","DEFAULT_PORTS","$locationMinErr","normalizePath","pathValue","hashValue","arrayValue","segments","encodePath","parseAbsoluteUrl","absoluteUrl","locationObj","$$protocol","$$host","hostname","$$port","DOUBLE_SLASH_REGEX","parseAppUrl","html5Mode","prefixed","pathname","$$path","decodePath","$$search","$$hash","stripBaseUrl","LocationHtml5Url","appBase","appBaseNoFile","basePrefix","$$html5","$$parse","pathUrl","$$compose","$$normalizeUrl","$$parseLinkUrl","relHref","appUrl","prevAppUrl","rewrittenUrl","LocationHashbangUrl","hashPrefix","withoutHashUrl","withoutBaseUrl","firstPathSegmentMatch","windowsFilePathExp","removeWindowsDriveName","LocationHashbangInHtml5Url","locationPrototype","$$absUrl","$$replace","$$url","$$urlUpdatedByLocation","absUrl","locationGetter","locationGetterSetter","paramValue","preprocess","$LocationProvider","requireBase","rewriteLinks","LocationMode","initialUrl","stripFile","$$state","IGNORE_URI_REGEXP","setBrowserUrlWithFallback","oldUrl","oldState","absHref","initializing","newUrl","newState","$broadcast","afterLocationChange","$digest","currentReplace","urlOrStateChanged","$LogProvider","debugEnabled","flag","formatStackTrace","consoleLog","formatError","sourceURL","logFn","Location","$parseMinErr","objectValueOf","getStringValue","OPERATORS","operator","ESCAPE","'","Lexer","lex","readString","peek","readNumber","isIdentifierStart","peekMultichar","readIdent","isWhitespace","ch2","ch3","op1","op2","op3","throwError","chars","codePointAt","isValidIdentifierStart","isIdentifierContinue","isValidIdentifierContinue","cp","cp1","cp2","isExpOperator","colStr","peekCh","rawString","hex","AST","lexer","ifDefined","plusFn","Program","ExpressionStatement","AssignmentExpression","ConditionalExpression","LogicalExpression","BinaryExpression","UnaryExpression","CallExpression","MemberExpression","Identifier","Literal","ArrayExpression","Property","ObjectExpression","ThisExpression","LocalsExpression","NGValueParameter","program","expressionStatement","expect","filterChain","assignment","ternary","isAssignable","consequent","logicalOR","consume","logicalAND","equality","relational","additive","multiplicative","unary","primary","arrayDeclaration","selfReferential","literals","parseArguments","computed","baseExpression","peekToken","e1","e2","e3","e4","peekAhead","findConstantAndWatchExpressions","parentIsPure","allConstants","argsToWatch","isStatelessFilter","astIsPure","isPure","expr","toWatch","filterName","isStateless","getInputs","lastExpression","assignableAST","ASTCompiler","ASTInterpreter","astCompiler","getValueOf","$ParseProvider","identStart","identContinue","addLiteral","literalName","literalValue","setIdentifierFns","identifierStart","identifierContinue","$parseOptions","$$getAst","getAst","interceptorFn","parsedExpression","cacheKey","addWatchDelegate","addInterceptor","expressionInputDirtyCheck","oldValueOfValue","compareObjectIdentity","inputsWatchDelegate","prettyPrintExpression","lastResult","inputExpressions","inputs","oldInputValueOf","newInputValue","oldInputValueOfValues","oldInputValues","oneTimeWatchDelegate","isDone","isAllDefined","$$intercepted","$$interceptor","useInputs","oneTimeWatch","unwatchIfDone","allDefined","oneTime","chainedInterceptor","$$pure","$QProvider","errorOnUnhandledRejections","qFactory","$$QProvider","exceptionHandler","$qMinErr","queueSize","checkQueue","Deferred","rejectPromise","notifyPromise","processChecks","toCheck","isStateExceptionHandled","markQStateExceptionHandled","errorMessage","scheduleProcessQueue","processScheduled","$$passToExceptionHandler","processQueue","doResolve","doReject","handleCallback","resolver","callbackOutput","when","errback","progressBack","$Q","promises","pur","$$RAFProvider","webkitCancelRequestAnimationFrame","rafSupported","timer","supported","$RootScopeProvider","$rootScopeMinErr","lastDirtyWatch","applyAsyncId","digestTtl","destroyChildScope","$event","currentScope","Scope","$id","$$watchers","$$nextSibling","$$prevSibling","$$childHead","$$childTail","$root","$$suspended","$$listeners","$$listenerCount","$$watchersCount","isolate","$$ChildScope","ChildScope","createChildScopeClass","watchExp","watcher","initWatchVal","$$digestWatchIndex","incrementWatchersCount","watchExpressions","newValues","deregisterFns","changeReactionScheduled","firstRun","shouldCall","watchGroupAction","unwatchFn","$watchCollectionInterceptor","veryOldValue","trackVeryOldValue","changeDetected","changeDetector","internalArray","internalObject","initRun","oldLength","_value","newLength","newItem","oldItem","watch","watchers","dirty","logIdx","asyncTask","ttl","asyncQueue","watchLog","beginPhase","flushApplyAsync","asyncQueuePosition","traverseScopesLoop","clearPhase","postDigestQueuePosition","$suspend","$isSuspended","$resume","$destroy","decrementListenerCount","cleanUpScope","$eval","applyAsyncQueue","namedListeners","indexOfListener","targetScope","listenerArgs","$$asyncQueue","$$postDigestQueue","$$applyAsyncQueue","phase","$$SanitizeUriProvider","isMediaUrl","normalizedVal","nextId","filters","vars","assignable","stage","computing","recurse","return_","generateFunction","fnKey","intoId","watchId","fnString","USE","filterPrefix","watchFns","varsPrefix","nameId","recursionFn","skipWatchIdCheck","if_","lazyAssign","computedMember","lazyRecurse","plus","not","getHasOwnProperty","isNull","nonComputedMember","notNull","member","stringEscapeFn","stringEscapeRegex","rhs","lhs","isConstant","$sceMinErr","JS","UNDERSCORE_LOWERCASE_REGEXP","snakeToCamel","adjustMatchers","matchers","adjustedMatchers","adjustMatcher","$SceDelegateProvider","resourceUrlWhitelist","resourceUrlBlacklist","$$sanitizeUri","htmlSanitizer","matchUrl","baseURI","baseUrlParsingNode","getBaseUrl","urlIsSameOriginAsBaseUrl","generateHolderType","holderType","trustedValue","$$unwrapTrustedValue","trustedValueHolderBase","byType","trustAs","maybeTrusted","allowed","isResourceUrlAllowedByPolicy","$SceProvider","$sceDelegate","sce","isEnabled","parseAs","enumValue","lName","$SnifferProvider","eventSupport","hasHistoryPushState","nw","chrome","app","pushState","android","boxee","bodyStyle","transitions","animations","hasEvent","divElm","$$TaskTrackerFactoryProvider","TaskTracker","taskCounts","taskCallbacks","ALL_TASKS_TYPE","getLastCallback","cbInfo","getLastCallbackForType","decTaskCount","countForType","countForAll","nextCb","getNextCallback","$templateRequestMinErr","$TemplateRequestProvider","httpOptions","$templateCache","handleRequestFn","tpl","ignoreRequestError","totalPendingRequests","transformer","$$TestabilityProvider","testability","opt_exactMatch","getElementsByClassName","dataBinding","bindingName","$timeoutMinErr","$TimeoutProvider","deferreds","urlParsingNode","ipv6InBrackets","url1","url2","$WindowProvider","$$CookieReader","lastCookies","lastCookieString","safeDecodeURIComponent","cookieArray","cookie","currentCookieString","safeGetCookie","$$CookieReaderProvider","$FilterProvider","currencyFilter","dateFilter","filterFilter","jsonFilter","limitToFilter","lowercaseFilter","numberFilter","orderByFilter","uppercaseFilter","anyPropertyKey","predicateFn","matchAgainstAnyProp","getTypeForFilter","shouldMatchPrimitives","deepCompare","createPredicateFn","dontMatchWholeObject","actualType","expectedType","expectedVal","matchAnyProperty","$locale","NUMBER_FORMATS","amount","currencySymbol","fractionSize","CURRENCY_SYM","PATTERNS","maxFrac","currencySymbolRe","formatNumber","GROUP_SEP","DECIMAL_SEP","groupSep","decimalSep","parsedNumber","isInfinity","isZero","numStr","formattedText","minFrac","fractionLen","roundAt","carry","reduceRight","roundNumber","numberOfIntegerDigits","zeros","exponent","MAX_DIGITS","integerLen","decimals","lgSize","gSize","negPre","negSuf","posPre","posSuf","padNumber","negWrap","neg","dateGetter","dateStrGetter","shortForm","standAlone","getFirstThursdayOfYear","dayOfWeekOnFirst","weekGetter","firstThurs","eraGetter","ERAS","DATE_FORMATS","yyyy","MMMM","MMM","HH","sss","EEEE","EEE","getHours","AMPMS","paddedZone","GGG","GGGG","ERANAMES","DATE_FORMATS_SPLIT","NUMBER_STRING","R_ISO8601_STR","DATETIME_FORMATS","tzHour","tzMin","dateSetter","timeSetter","setUTCHours","setHours","jsonStringToDate","spacing","sliceFn","sortPredicate","reverseOrder","compareFn","descending","defaultCompare","compareValues","tieBreaker","predicateValues","objectValue","getPredicateValue","v1","v2","type1","type2","value1","value2","ngDirective","htmlAnchorDirective","ngAttributeAliasDirectives","normalized","defaultLinkFn","htmlAttr","ngPattern","nullFormCtrl","$addControl","$getControls","$$renameControl","control","$name","$removeControl","$setValidity","$setDirty","$setPristine","$setSubmitted","$$setSubmitted","FormController","$$controls","$error","$$success","$pending","ngForm","$dirty","$pristine","$valid","$invalid","$submitted","$$parentForm","$$animate","setupValidity","$rollbackViewValue","$commitViewValue","newName","oldName","PRISTINE_CLASS","DIRTY_CLASS","$setUntouched","rootForm","addSetValidityMethod","clazz","unset","formDirectiveFactory","isNgForm","formElement","VALID_CLASS","nameAttr","ctrls","handleFormSubmission","getSetter","formDirective","ngFormDirective","$$classCache","INVALID_CLASS","cachedToggleClass","ctrl","switchValue","toggleValidationCss","validationErrorKey","combinedState","createAndSet","unsetAndCleanup","ISO_DATE_REGEXP","URL_REGEXP","EMAIL_REGEXP","NUMBER_REGEXP","DATE_REGEXP","DATETIMELOCAL_REGEXP","WEEK_REGEXP","MONTH_REGEXP","TIME_REGEXP","PARTIAL_VALIDATION_TYPES","inputType","baseInputType","stringBasedInputType","createDateInputType","createDateParser","existingDate","addDays","getSeconds","getMilliseconds","parsedMinVal","badInputChecker","numberFormatterParser","ngMin","minVal","parseNumberAttrVal","$validators","modelValue","viewValue","$isEmpty","$validate","ngMax","maxVal","parsedMaxVal","ngStep","stepVal","parsedStepVal","isValidForStep","doTrim","ngTrim","ev","$setViewValue","$render","$viewValue","supportsRange","$$hasNativeValidators","validity","hasMinAttr","hasMaxAttr","hasStepAttr","originalRender","rangeUnderflow","rangeOverflow","setInitialValueAndObserver","elVal","stepMismatch","htmlAttrName","changeFn","trueValue","parseConstantExpr","ngTrueValue","falseValue","ngFalseValue","$formatters","$parsers","composing","deferListener","origValue","origBadInput","badInput","origTypeMismatch","typeMismatch","previousDate","parseDate","previousTimezone","isTimeType","parseDateAndConvertTimeZoneToLocal","$$parserName","ngModelMinErr","isValidDate","$options","targetFormat","formatted","formatter","parseObservedDateValue","parsedDate","parserName","isNumberInteger","countDecimals","numString","decimalSymbolIndex","stepBase","isNonIntegerValue","isNonIntegerStepBase","isNonIntegerStep","valueDecimals","stepBaseDecimals","stepDecimals","decimalCount","multiplier","parseFn","inputDirective","hiddenInputBrowserCacheDirective","valueProperty","CONSTANT_VALUE_REGEXP","ngValueDirective","updateElementValue","tplAttr","ngValue","ngBindDirective","$compile","templateElement","ngBind","ngBindTemplateDirective","ngBindTemplate","ngBindHtmlDirective","ngBindHtmlGetter","ngBindHtml","ngBindHtmlWatch","getTrustedHtml","ngChangeDirective","$viewChangeListeners","ngChange","classDirective","indexWatchExpression","oldClassString","classCounts","oldModulo","digestClassCounts","classArray","classesToUpdate","newModulo","classString","removeClasses","toClassString","newClassString","oldClassArray","newClassArray","toRemoveArray","arrayDifference","toAddArray","toRemoveString","toAddString","updateClasses","classValue","ngClassDirective","ngClassOddDirective","ngClassEvenDirective","ngCloakDirective","ngControllerDirective","ngEventDirectives","forceAsyncEvents","forceAsync","ngIfDirective","previousElements","ngIf","ngIncludeDirective","$anchorScroll","srcExp","ngInclude","onloadExp","autoScrollExp","autoscroll","previousElement","currentElement","changeCounter","cleanupLastIncludeContent","afterAnimation","thisChangeId","ngIncludeFillContentDirective","ngInitDirective","ngInit","ngListDirective","ngList","trimValues","NgModelController","$$rawModelValue","$asyncValidators","$untouched","$touched","defaultModelOptions","$$updateEvents","$$updateEventHandler","$$parsedNgModel","$$parsedNgModelAssign","$$ngModelGet","$$ngModelSet","$$pendingDebounce","$$parserValid","$$currentValidationRunId","$$rootScope","$$attr","$$timeout","$$exceptionHandler","$$setModelValue","$$initGetterSetters","invokeModelGetter","invokeModelSetter","$$$p","$$updateEmptyClasses","$setTouched","$$lastCommittedViewValue","prevValid","prevModelValue","allowInvalid","$$runValidators","allValid","$$writeModelToScope","doneCallback","validatorPromises","localValidationRunId","errorKey","setValidity","processParseErrors","syncValidatorsValid","validator","processSyncValidators","validationDone","$$parseAndValidate","writeToModelIfNeeded","$$debounceViewValueCommit","debounceDelay","$overrideModelOptions","createChild","$$setUpdateOnEvents","$processModelValue","$$format","formatters","ngModelDirective","modelCtrl","formCtrl","optionsCtrl","setTouched","DEFAULT_REGEXP","ModelOptions","$$options","inheritAll","updateOnDefault","updateOn","debounce","getterSetter","ngModelOptionsDirective","NgModelOptionsController","$$attrs","parentOptions","parentCtrl","modelOptionsDefinition","ngModelOptions","ngNonBindableDirective","ngOptionsMinErr","NG_OPTIONS_REGEXP","ngOptionsDirective","optionTemplate","optGroupTemplate","selectElement","registerOption","selectCtrl","ngModelCtrl","hasEmptyOption","emptyOption","providedEmptyOption","ngOptions","optionsExp","valueName","keyName","selectAs","trackBy","viewValueFn","trackByFn","getTrackByValueFn","getTrackByValue","getLocals","displayFn","groupByFn","disableWhenFn","valuesFn","Option","selectValue","label","group","getOptionValuesKeys","optionValues","optionValuesKeys","itemKey","getWatchables","watchedArray","optionValuesLength","disableWhen","getOptions","optionItems","selectValueMap","optionItem","getOptionFromViewValue","getViewValueFromOption","parseOptionsExpression","listFragment","addOptionElement","optionElement","updateOptionElement","getAndUpdateSelectedOption","generateUnknownOptionValue","writeValue","selectedOptions","readValue","selectedValues","selections","selectedOption","selectedIndex","removeUnknownOption","selectUnknownOrEmptyOption","unselectEmptyOption","optionScope","optionEl","needsRerender","$isEmptyOptionSelected","groupElementMap","groupElement","nextValue","ngPluralizeDirective","BRACE","IS_WHEN","lastCount","numberExp","whenExp","whens","whensExpFns","braceReplacement","watchRemover","updateElementText","newText","tmpMatch","whenKey","countIsNaN","pluralCat","whenExpFn","ngRefMinErr","ngRefDirective","ngRef","refValue","ngRefRead","ngRepeatDirective","ngRepeatMinErr","updateScope","valueIdentifier","arrayLength","$first","$last","$middle","$odd","$even","getBlockStart","getBlockEnd","trackByIdArrayFn","trackByIdObjFn","ngRepeat","ngRepeatEndComment","aliasAs","trackByExp","trackByIdExpFn","hashFnLocals","trackByExpGetter","lastBlockMap","nextNode","collectionLength","trackById","trackByIdFn","collectionKeys","nextBlockOrder","previousNode","nextBlockMap","blockKey","ngShowDirective","ngShow","ngHideDirective","ngHide","ngStyleDirective","ngStyle","oldStyles","ngSwitchDirective","cases","ngSwitchController","watchExpr","ngSwitch","selectedTranscludes","selectedElements","previousLeaveAnimations","selectedScopes","spliceFactory","selectedTransclude","caseElement","selectedScope","ngSwitchWhenDirective","ngSwitchWhen","ngSwitchWhenSeparator","whenCase","ngSwitchDefaultDirective","ngTranscludeMinErr","ngTranscludeDirective","fallbackLinkFn","ngTransclude","ngTranscludeSlot","useFallbackContent","notWhitespace","scriptDirective","noopNgModelController","setOptionSelectedStatus","SelectController","optionsMap","unknownOption","renderUnknownOption","unknownVal","updateUnknownOption","selectEmptyOption","realVal","hasOption","currentlySelectedOption","hashedVal","addOption","scheduleRender","removeOption","$hasEmptyOption","$isUnknownOptionSelected","renderScheduled","updateScheduled","scheduleViewValueUpdate","renderAfter","optionAttrs","interpolateValueFn","interpolateTextFn","removal","previouslySelected","removeValue","selectDirective","shouldBeSelected","lastView","lastViewRef","optionDirective","requiredDirective","ngRequired","required","patternDirective","tElm","tAttr","patternExp","attrVal","parsePatternAttr","oldRegexp","maxlengthDirective","maxlength","ngMaxlength","maxlengthParsed","parseLength","minlengthDirective","minlength","ngMinlength","minlengthParsed","intVal","originalCleanData","jqName","elems","bindJQuery","ensure","$$minErr","configFn","invokeQueue","configBlocks","invokeLater","moduleInstance","invokeLaterAndSetModuleName","insertMethod","recipeName","factoryFunction","setupModuleLoader","textarea","ngClass","ngClassEven","ngClassOdd","ngCloak","ngController","ngNonBindable","ngPluralize","ngSwitchDefault","$animateCss","$$animateJs","$$forceReflow","$interval","$httpParamSerializer","$httpParamSerializerJQLike","$$testability","$$jqLite","$$Map","angularVersion","publishExternalAPI","PLURAL_CATEGORY","opt_precision","getDecimals","getVF","$$csp","log2","LN2","macrotask","Observer","MutationObserver","WebKitMutationObserver","observe","characterData","isEnumerable","hasDontEnumBug","hasProtoEnumBug","dontEnums","equalsConstructorPrototype","excludedKeys","$applicationCache","$console","$external","$frame","$frameElement","$frames","$innerHeight","$innerWidth","$onmozfullscreenchange","$onmozfullscreenerror","$outerHeight","$outerWidth","$pageXOffset","$pageYOffset","$scrollLeft","$scrollTop","$scrollX","$scrollY","$self","$webkitIndexedDB","$webkitStorageInfo","hasAutomationEqualityBug","theKeys","skipProto","skipConstructor","equalsConstructorPrototypeIfNotBuggy","getPolyfill","polyfill","ERROR_MESSAGE","binder","boundLength","boundArgs","regexExec","isRegexMarker","badStringifier","throwRegexMarker","flagsBound","TypeErr","tryDateObject","isBigInt","numToStr","tryNumberObject","boolToStr","tryBooleanObject","symToStr","symStringRegex","isSymbolObject","BigInt","bigIntValueOf","tryBigInt","isMap","isSet","isWeakMap","isWeakSet","$WeakSet","$iterator","$arrayPush","$charCodeAt","$stringSlice","getArrayIterator","arraylike","getNonCollectionIterator","nextIndex","$mapForEach","$setForEach","$mapIterator","$setIterator","getStopIterationIterator","$mapAtAtIterator","$setAtAtIterator","getCollectionIterator","$weakMapGet","$weakMapSet","$weakMapHas","$mapSet","$wm","$m","$o","assert","objectGet","objectHas","objectSet","hasMap","mapSizeDescriptor","mapSize","mapForEach","hasSet","setSizeDescriptor","setSize","setForEach","weakMapHas","weakSetHas","booleanValueOf","objectToString","inspectCustom","custom","inspectSymbol","wrapQuotes","defaultStyle","quoteChar","quoteStyle","inspect_","lowbyte","inspectString","nameOf","symString","markBoxed","arrObjKeys","mapParts","collectionOf","setParts","weakCollectionOf","isArr","availableTypedArrays","typedArrays","$slice","toStrTags","superProto","foundName","tryTypedArrays","anyTrue","generate","lut","d0","d1","d2","d3","busy","eventListeners","getListeners","idCount","quiet","attachFunction","utils","Batch","batch","bottomLevel","asyncProcess","autoProcess","asyncFrameHandler","isProcessing","processBatch","processingBatch","processBatchAsync","localAsyncProcess","buildCssTextString","seperator","getObject","OBJECT_STYLE","positionCheckPerformed","mutateDom","alterPositionStyles","removeRelativeStyles","getNumericalValue","tabIndex","getDocument","checkForObjectDocumentTimeoutId","objectDocument","injectObject","listenerProxy","proxy","hasState","scrollbarSizes","widthSize","clientWidth","heightSize","clientHeight","getScrollbarSizes","styleId","containerClass","containerAnimationClass","containerAnimationActiveClass","styleElement","injectStyle","injectScrollStyle","addEvent","removeEvent","getExpandElement","getShrinkElement","isUnrendered","getStyle","widthCSS","heightCSS","storeStyle","storeCurrentSize","lastWidth","lastHeight","getWidthOffset","getHeightOffset","getExpandWidth","getExpandHeight","positionScrollbars","shrink","expandWidth","expandHeight","shrinkWidth","getShrinkWidth","shrinkHeight","getShrinkHeight","injectContainerElement","addAnimationClass","onAnimationStart","onRendered","injectScrollElements","rootContainer","scrollbarHeight","containerContainerStyle","containerStyle","expandStyle","shrinkStyle","expandChildStyle","shrinkChildStyle","containerContainer","shrinkChild","onExpandScroll","onShrinkScroll","onExpand","onShrink","registerListenersAndPositionElements","updateChildSizes","getExpandChildElement","updateDetectorElements","sizeChanged","areElementsInjected","notifyListenersIfNeeded","lastNotifiedWidth","lastNotifiedHeight","handleScroll","finalizeDomMutation","install","isInDocument","isDetached","combinations","isContentEditable","isModifier","ignoreThisKeypress","doNotReset","maxLevel","processedSequenceCallback","seq","combo","eventModifiers","characterFromEvent","106","107","109","110","111","186","188","190","191","192","219","220","221","222","combination","sequenceName","sequence","SPECIAL_ALIASES","SHIFT_MAP","keysFromString","platform","modifiersMatch","deleteCombo","deleteSequence","modifiers1","modifiers2","activeSequences","increaseSequence","nextAction","callbackAndReset","wrappedCallback","combokeys","applyFocusVisiblePolyfill","hadKeyboardEvent","hadFocusVisibleRecently","hadFocusVisibleRecentlyTimeout","inputTypesWhitelist","isValidFocusTarget","classList","addFocusVisibleClass","onPointerDown","addInitialPointerMoveListeners","onInitialPointerMove","visibilityState","readOnly","DOCUMENT_FRAGMENT_NODE","DOCUMENT_NODE","___CSS_LOADER_ICSS_IMPORT_2___","___CSS_LOADER_ICSS_IMPORT_3___","$RegExp","CORRECT_NEW","tiRE","piRE","fiU","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","ForwardRef","Lazy","Memo","Portal","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","listing","suppressContentEditableWarning","suppressHydrationWarning","domNamespace","childIndex","footer","threadID","exhausted","currentSelectValue","previousWasTextNode","makeStaticMarkup","suspenseDepth","contextIndex","contextStack","contextValueStack","clearProviders","pushProvider","popProvider","read","fallbackFrame","renderDOM","renderToString","renderToStaticMarkup","renderToNodeStream","renderToStaticNodeStream","endPos","receiver","webpackContext","req","webpackContextResolve","onFinally","nodeContains","htmlParser","htmlSanitizeWriter","$sanitizeMinErr","hasBeenInstantiated","svgEnabled","validElements","svgElements","buf","isImage","enableSvg","addValidElements","htmlElements","addElementsTo","voidElements","htmlVoidElements","addValidAttrs","validAttrs","arrayToMap","$$lowercase","inertBodyElement","getInertBodyElement","mXSSAttempts","attrToMap","getNonDescendant","uriValidator","ignoreCurrentElement","blockedElements","lkey","uriAttrs","encodeEntities","SURROGATE_PAIR_REGEXP","NON_ALPHANUMERIC_REGEXP","stringToMap","optionalEndTagBlockElements","optionalEndTagInlineElements","optionalEndTagElements","blockElements","inlineElements","htmlAttrs","svgAttrs","lowercaseKeys","elementsMap","newElements","inertDocument","createHTMLDocument","getDocumentElement","DOMParser","parseFromString","stripCustomNsAttrs","ELEMENT_NODE","attrNode","removeAttributeNode","outerHTML","outerText","$sanitize","LINKY_URL_REGEXP","MAILTO_REGEXP","linkyMinErr","attributesFn","addText","addLink","linkAttributes","candidateSelectors","candidateSelector","candidateTabindex","regularTabbables","orderedTabbables","candidates","includeContainer","isNodeMatchingSelectorTabbable","getTabindex","documentOrder","sortOrderedTabbables","isNodeMatchingSelectorFocusable","isInput","isRadio","getCheckedRadio","isTabbableRadio","isNonTabbableRadio","isHiddenInput","offsetParent","visibility","isHidden","isTabbable","focusableCandidateSelector","tabindexAttr","___CSS_LOADER_GET_URL_IMPORT___","___CSS_LOADER_URL_IMPORT_0___","___CSS_LOADER_URL_REPLACEMENT_0___","needQuotes","$getPrototypeOf","bail","vfile","trough","plain","attachers","transformers","frozen","freezeIndex","processor","assertUnfrozen","addPlugin","addList","addPreset","assertParser","newable","Compiler","assertCompiler","assertNode","assertDone","processSync","pipeline","asyncName","isPlainObject","hasOwnConstructor","hasIsPrototypeOf","getProperty","copyIsArray","VMessage","VFile","filePath","fatal","VMessagePrototype","parseOrigin","ruleId","encoding","assertPart","assertNonEmpty","assertPath","stem","npath","nFileName","readFloatLE","isSlowBuffer","_isBuffer","middleware","invoked","unherit","Local","Super","From","parameters","superCtor","super_","TempCtor","vfileLocation","tokenizer","setOptions","inList","inBlock","inLink","atStart","toOffset","exitStart","enterList","enterLink","enterBlock","interruptParagraph","interruptList","interruptBlockquote","blockTokenizers","newline","indentedCode","fencedCode","blockquote","atxHeading","thematicBreak","setextHeading","footnote","table","paragraph","autoLink","emphasis","deletion","blockMethods","inlineMethods","tokenizeBlock","tokenizeInline","tokenizeFactory","offsetToPositionFactory","indices","positionToOffsetFactory","toPosition","entities","decoder","offsets","alphabetical","valueLength","updatePosition","onlyAtStart","notInList","notInBlock","notInLink","eof","subvalue","Position","before","indentation","getOffset","combined","validateEat","MERGEABLE_NODES","mergeable","escapes","removePosition","EXPRESSION_LINE_BREAKS","hard","soft","convert","subresult","toResult","typeFactory","anyFactory","matchesFactory","checks","convertAll","whitespace","blankQueue","subvalueQueue","contentQueue","CODE_INDENT","fenceCount","exdentedContent","closing","exdentedClosing","interrupt","currentLine","indents","markerCount","getIndent","removeIndent","markers","ordered","currentMarker","prevEmpty","allLines","emptyLines","enterTop","exitBlockquote","isLoose","indented","interuptors","LIST_ORDERED_COMMONMARK_MARKERS","LIST_ORDERED_MARKERS","LIST_UNORDERED_MARKERS","TAB_SIZE","trail","loose","listItem","EXPRESSION_LOOSE_LIST_ITEM","EXPRESSION_TASK_ITEM","EXPRESSION_BULLET","EXPRESSION_PEDANTIC_BULLET","EXPRESSION_INITIAL_INDENT","pedanticListItem","normalListItem","bullet","trimmedLines","$3","$4","maximum","minIndent","matrix","SETEXT_MARKERS","sequences","footnoteDefinition","EXPRESSION_INITIAL_TAB","subqueue","C_BRACKET_OPEN","beforeURL","beforeTitle","isEnclosedURLCharacter","isUnclosedURLCharacter","alignments","alignment","hasDash","align","cell","preamble","opening","lineCount","lineIndex","pipeIndex","trimTrailingLines","locate","MAILTO_LENGTH","hasAtCharacter","PROTOCOLS","PROTOCOLS_LENGTH","parenCount","nextCharacter","inlineHTML","EXPRESSION_HTML_LINK_OPEN","EXPRESSION_HTML_LINK_CLOSE","LINK_MARKERS","COMMONMARK_LINK_MARKERS","hasMarker","alt","bracketed","intro","referenceType","asterisk","strikethrough","preceding","inlineCode","openingCount","found","tickQueue","hardBreak","visitWithParents","listNode","selfClosingRe","simpleTagRe","currentParent","selfClosing","getSelfClosing","getSimpleTag","matching","matchingTag","findAndPull","fromNode","toNode","toIndex","untangle","disallow","React","ReactIs","defaultNodePosition","renderer","nodeProps","getNodeProps","resolveChildren","childNode","isTagRenderer","sourcePosition","includeNodeIndex","parentChildCount","assignDefined","nodeKey","tight","unwrapParagraphs","getListItemChildren","inline","columnAlignment","isHeader","isBlock","parsedChildren","mergeNodeChildren","defs","protocols","colon","supportsStringRender","SimpleRenderer","getCoreProps","linkReference","imageReference","tableHead","tableBody","tableRow","tableCell","coreProps","useFragment","checkbox","heading","comp","virtualHtml","parsedHtml","_isFinite","Color","BLUE","GRAY","GREEN","MAGENTA","RED","WHITE","Size","Size12","Size14","Size16","Size18","Size20","Size24","Size32","Size40","Size48","Size64","Size96","Size128","_extends","_inheritsLoose","nextProps","prevState","nextState","prevProps","__reactInternalSnapshotFlag","__reactInternalSnapshot","foundWillMountName","foundWillReceivePropsName","foundWillUpdateName","newApiName","maybeSnapshot","snapshot","__suppressDeprecationWarning","getDisplayName","Component$$1","wrapDisplayName","BaseComponent","hocName","_Component","ShouldUpdate","_proto","hoc","config$$1","compose","_len","funcs","_key","fromESObservable","toESObservable","sniffr","memoize","primitiveCache","objectCache","sniffer","getSVGInnerHTML","svgNode","serializer","XMLSerializer","serializeToString","getSVGFromSource","svgContainer","serializeAttrs","IconSVG","iconSrc","hasWidth","hasHeight","glyphClasses","glyph","compatibilityMode","pure","warnSize","Icon","suppressSizeWarning","isRingIcon","loading","restProps","IconSrc","getIconSource","icon","iconHOC","iconRef","FrownIcon","activity","add10px","add20px","analytics","archive","arrowUp","artifacts","asterisk10px","attachment","average","bars","bell","branches","bug","buildType14pxArrow","buildType14pxFillArrow","buildType14pxFill","buildType14px","buildType20pxArrow","buildType20pxFillArrow","buildType20pxFill","buildType20px","buildTypeComposite14pxArrow","buildTypeComposite14pxFillArrow","buildTypeComposite14pxFill","buildTypeComposite14px","buildTypeComposite20pxArrow","buildTypeComposite20pxFillArrow","buildTypeComposite20pxFill","buildTypeComposite20px","burndown","cancel20px","caretDown10px","caretRight10px","checkmark","chevron10px","chevronDown","chevronLeft","chevronRight","chevronUp","cloud","collapse","crop","dice","disconnected","distribution","doubleChevronLeft","doubleChevronRight","download","drag","eMail","earth","emoji","exception20px","experiment20px","eye","fileAddAny","fileArchive","fileAs","fileAspectj","fileConfig","fileCss","fileCustom","fileDiagram","fileDtd","fileHtaccess","fileHtml","fileIdl","fileJavaClass","fileJavaOutsideSource","fileJava","fileJs","fileJsonDark","fileJsonSchemaDark","fileJsonSchema","fileJson","fileJsp","fileJspx","fileManifest","fileProperties","fileRegexp","fileText","fileUiForm","fileUnknown","fileWsdl","fileXhtml","fileXml","fileXsd","fileYaml","folder","frown","PermissionIcon","gift20px","gift","git","help20px","help","hourglass20px","hourglass","ignored","investigation14px","investigation","lamp","lock","magicWand","mammoth20px","modified10px","moreOptions","moveToTop","mute","muted","newWindow","noArtifacts","ok20px","overtime","paused14px","pencil","pennant","permission","pinEmpty","pinFilled","play","prClose","prMerged","prOpen","prUnknown","printer","project14pxArrow","project14pxFillArrow","project14pxFill","project14px","project20pxArrow","project20pxFillArrow","project20pxFill","project20px","puzzle","rate","redo","remove10px","renamed10px","reviewersGraph","search20px","searchEmpty","searchError","services20px","services","settings20px","shield","spinner20px","spinnerStatic","spinner","stamp","starEmpty14px","starEmpty","starFilled14px","starFilled","template14pxArrow","template14px","template20pxArrow","template20px","torrent","trash","treemap","umbrella","unauthorized","undo","unknownOs","unsorted10px","user20px","userCancel20px","userCancel","userException20px","userException","userGear","userHourglass20px","userHourglass","userOk20px","userOk","userSpinner20px","userSpinner","userWarning20px","userWarning","user","vcsRoot14pxArrow","vcsRoot14px","vcsRoot20pxArrow","vcsRoot20px","voteEmpty","voteFilled","warning14px","warning20px","Theme","LIGHT","DARK","ThemeContext","withTheme","defaultTheme","ComposedComponent","WithTheme","theme","contextTheme","usedTheme","expandMap","joinDataTestAttributes","declaration","camelCaseProperty","conicGradient","supportsCss","conicGradientWithMask","mask","supports","svgDefs","maskId","injectRuleSet","declarations","styleTag","idCounters","getUID","radialGradient","gradientId","radialGradientMask","transparent","white","loader","LoaderInline","injectStyles","dataTest","data-test","dataTests","getStyles","rectStub","getRect","Range","getPixelRatio","devicePixelRatio","getWindowHeight","getDocumentScrollTop","applyMethodToClasses","addClasses","Listeners","useCapture","dispatchFn","_all","Alerts","alertContainer","aria-live","alertClassNames","alertInContainer","ERROR","MESSAGE","SUCCESS","WARNING","LOADING","TypeToIcon","exceptionIcon","checkmarkIcon","warningIcon","TypeToIconColor","Alert","onCloseRequest","evt","closeRequest","hideTimeout","isClosing","_close","onClose","captionClassName","_handleCaptionsLinksClick","role","Loader","isShaking","showWithAnimation","alert","animationOpen","alertInline","animationClosing","animationShaking","marginBottom","data-test-type","storeAlertRef","_getIcon","_getCaption","closeable","aria-label","closeIcon","alertService","showingAlerts","alerts","renderAlertContainer","containerElement","renderAlerts","alertToClose","startAlertClosing","shakingAlert","defaultTimeout","restOptions","sameAlert","findSameAlert","stopShakingWhenAnimationDone","removeWithoutAnimation","addAlert","_plugins","rawTrackingData","additionalData","splitIdx","category","subcategory","trackEvent","trackPageView","subaction","_buildSuffix","entityName","propertiesNames","resultAction","AnalyticsGAPlugin","gaId","isDevelopment","GoogleAnalyticsObject","ga","cookieDomain","eventCategory","eventAction","AnalyticsCustomPluginUtils","reformatString","isCategory","getPageViewDurationPresentation","durationMs","roundedDuration","getScreenWidthPresentation","sizes","npeSaveLowerCase","getUserAgentPresentation","getDevicePixelRatioPresentation","AnalyticsCustomPlugin","flushInterval","flushingAllowedChecker","checkFlushingAllowed","_flush","_isDevelopment","_flushInterval","_flushMaxPackSize","flushMaxPackSize","_processEvent","_lastPagePath","_trackPageViewAdditionalInfo","_hasSendSchedule","rawCategory","rawAction","_initSendSchedule","_addDataToFlushingPack","newPagePath","currentTime","_lastPageViewTime","sendingData","configPlugins","loadedPlugins","analyticsInstance","$$route","originalPath","_extendableBuiltin2","ExtendableError","captureStackTrace","cls","ExtendableBuiltin","_extendableBuiltin","ABSOLUTE_URL_PATTERN","getBaseURI","parseQueryString","queryString","matchedQueryPair","queryParameterPairRE","urlParams","encodeURL","firstSeparator","isDataURI","AuthResponseParser","_authResponse","readAuthResponseFromURL","validateAuthResponse","authResponse","AuthError","accessToken","rawAuthResponse","convertKey","getLocation","errorDescription","errorUri","stateId","isEdge","WindowFlow","requestBuilder","storage","_loginWindow","_timeoutId","checkIsClosed","_promise","_requestBuilder","_storage","_reset","screen","loginWindow","prepareAuthRequest","request_credentials","auth_mode","nonRedirect","authRequest","cleanRun","cleanUp","removeStateListener","removeTokenListener","onTokenChange","onStateChange","_openWindow","_load","isPlainLeftClick","ClickableLink","onConditionalClick","onPlainLeftClick","isPlainLeft","activeClassName","isCompatibilityMode","makeWrapText","innerClassName","WrapText","linkHOC","isCustom","pseudo","hover","useButton","compatibilityUnderlineMode","getChildren","Group","renderAlert","existingAlert","Message","translations","onCheckAgain","backendIsNotAvailable","checkAgain","support","viewClasses","isArrayBufferView","isView","normalizeName","normalizeValue","iteratorFor","Headers","consumed","bodyUsed","fileReaderReady","reader","readBlobAsArrayBuffer","blob","FileReader","readAsArrayBuffer","bufferClone","Body","_initBody","_bodyInit","_bodyText","isPrototypeOf","_bodyBlob","FormData","_bodyFormData","URLSearchParams","_bodyArrayBuffer","rejected","arrayBuffer","readAsText","readArrayBufferAsText","formData","Request","upcased","credentials","signal","referrer","bytes","Response","bodyInit","redirectStatuses","redirect","DOMException","aborted","abortXhr","rawHeaders","responseURL","fetch","defaultFetchConfig","Accept","HTTPError","CODE","HTTP","baseUrl","fetchConfig","requestToken","shouldRefreshToken","forceTokenUpdate","_fetch","_makeRequestUrl","_processResponse","_performRequest","_requestsMeta","setAuth","setBaseUrl","defaultConfig","queryObject","urlWithQuery","sendRawBody","combinedHeaders","Authorization","parsedResponse","rawResponse","redirected","isJson","_isErrorStatus","resJson","_storeRequestMeta","LocalStorage","storageType","safePromise","getItem","setItem","removeItem","handleStorage","FallbackStorage","session","cookieName","DEFAULT_SESSION_COOKIE_NAME","DEFAULT_COOKIE_NAME","checkDelay","DEFAULT_CHECK_DELAY","expires","COOKIE_EXPIRES","toGMTString","nameEQ","cookies","rawData","_readCookie","stringData","_createCookie","_read","_write","checkForChange","deepEqual","Storage","ActualStorage","isIE11","AuthStorage","messagePrefix","stateKeyPrefix","tokenKey","userKey","stateTTL","_lastMessage","StorageConstructor","stateQuota","QUOTA","_stateStorage","_tokenStorage","_messagesStorage","_currentUserStorage","stateKey","dontCleanAndRetryOnFail","created","cleanStates","saveState","removeStateId","removalResult","currentStates","stateStorageSize","overallSize","removalPromises","loadUser","loadAndCache","wipeCachedCurrentUser","AuthRequestBuilder","extraParams","extraState","_uuid","scopes","response_type","redirect_uri","redirectUri","requestCredentials","client_id","clientId","authURL","authorization","restoreLocation","_saveState","storedState","uuid","BackgroundFlow","_timeout","border","onMessage","_createHiddenFrame","_redirectFrame","resetPromise","TokenValidator","getUser","_getUser","_getValidatedToken","_validateExistence","_validateExpiration","_validateScopes","_validateAgainstUser","storedToken","optionalScopes","scopeId","TokenValidationError","validators","getToken","lifeTime","refreshBefore","DEFAULT_REFRESH_BEFORE","_epoch","authRedirect","DEFAULT_CONFIG","cacheCurrentUser","reloadOnUserChange","embeddedLogin","EmbeddedLoginFlow","backgroundRefreshTimeout","userFields","cleanHash","onLogout","onPostponeChangedUser","onPostponeLogout","enableBackendStatusCheck","backendCheckTimeout","checkBackendIsUp","onBackendDown","defaultExpiresIn","login","loginTo","postpone","youHaveLoggedInAs","applyChange","nothingHappensLink","Auth","serverUri","unsupportedParams","serverUriLength","userParams","_domainStorage","API_PATH","API_AUTH_PATH","_backgroundFlow","_embeddedFlow","API_BASE","fetchCredentials","http","_tokenValidator","_reloadCurrentPage","_setPostponed","_updateDomainUser","onUserChanged","_createInitDeferred","setUpPreconnect","postponed","_postponed","userID","sendMessage","serviceID","authDialogService","_authDialogService","_service","_initDeferred","guest","_detectUserChange","logout","_checkForAuthResponse","handleInitError","validateToken","_checkForStateRestoration","storageIsUnavailable","requestUser","handleInitValidationError","_redirectCurrentPage","sendRedirect","authorize","validateTokenLocally","_backendCheckPromise","_checkBackendsStatusesIfEnabled","_canShowDialogs","_showAuthDialog","nonInteractive","serviceImage","iconUrl","setCurrentService","getCachedUser","authorizedFetch","API_PROFILE_PATH","windowWasOpen","_isLoginWindowOpen","onApply","_showUserChangedDialog","newUser","onPostpone","canCancel","closeDialog","stopTokenListening","stopMessageListening","onConfirm","_runEmbeddedLogin","onCancel","CLOSE_WINDOW_MESSAGE","loginCaption","loginToCaption","confirmLabel","cancelLabel","backendError","timerId","stopListeningCloseMessage","CLOSE_BACKEND_DOWN_MESSAGE","_awaitingForBackendPromise","_checkBackendsAreUp","networkWatchdog","onLine","requestParams","wipeToken","_beforeLogout","_responseParser","getAuthResponseFromURL","defaultScope","setHash","expiresIn","effectiveExpiresIn","saveToken","restoreAuthState","_showBackendDownDialog","rel","pr","baseURIGetter","fixUrl","replaceState","cleanedUrl","hashIfExist","cookieEnabled","checkAgainWithoutClosing","linearFunction","x0","y0","interpolateLinear","x1","PhaseContext","ScrollHandlerContext","Start","FONT_SIZE","LINE_HEIGHT","PADDING","End","SPACING","Header","wrapWithTitle","withBottomBorder","headerStyle","paddingTop","scaleFont","titleStyle","transform","letterSpacing","HeaderWrapper","addProps","scheduleRAF","trailingCall","scheduledCb","RAF","trailingCallScheduled","doSchedule","scheduleScrollAction","Content","scrolledToTop","scrolledToBottom","createResizeDetector","strategy","wrapperNode","resizeDetector","calculateScrollPosition","scrollableNode","onScrollToBottom","onScroll","bottomBorder","scrollableWrapperClassName","fade","contentWithTopFade","contentWithBottomFade","withTransparentBottomBorder","scrollableWrapperClasses","scrollableWrapper","data-scrollable-container","setScrollableNodeAndCalculatePosition","setWrapper","ContentWrapper","Island","withoutPaddings","island","narrowIsland","AdaptiveIsland","onContentScroll","_scopeChain","scopeInChain","_scopes","modal","ALLOW_SHORTCUTS_SELECTOR","closest","setFilter","setScope","ROOT_SCOPE","_dispatcher","_getKeyboardEventType","indexOfScope","wrapScope","scopeChain","scopeItem","_defaultFilter","Shortcuts","turnShorcutsOn","turnShorcutsOff","shortcuts","bindMap","pushScope","unbindScope","spliceScope","FOCUSABLE_ELEMENTS","TabTrap","tabables","toBeFocused","focusElement","trapWithoutFocus","focusLast","newFocused","trapButtonNode","previousFocusedNode","autoFocusFirst","focusFirst","trapDisabled","restoreFocus","focusBackOnClose","containerRef","trapButtonRef","trapButton","onFocus","focusLastIfEnabled","onBlur","handleBlurIfWithoutFocus","data-trap-button","Button","blue","danger","delayed","short","dropdown","iconSize","iconClassName","iconSuppressSizeWarning","withNormalIcon","withIcon","onlyIcon","withNormalIconLight","withNormalIconDark","withDangerIconLight","withDangerIconDark","dropdownIcon","isLink","Tag","loaderBackground","Directions","BOTTOM_RIGHT","BOTTOM_LEFT","BOTTOM_CENTER","TOP_LEFT","TOP_RIGHT","TOP_CENTER","RIGHT_TOP","RIGHT_BOTTOM","RIGHT_CENTER","LEFT_TOP","LEFT_BOTTOM","LEFT_CENTER","DEFAULT_DIRECTIONS","Dimension","MARGIN","BORDER_WIDTH","MinWidth","MaxHeight","SCREEN","Display","verticalOverflow","scrollingCoordinates","containerHeight","viewportMinX","sidePadding","viewportMaxX","topOverflow","popupHeight","popup","verticalDiff","horizontalOverflow","containerWidth","viewportMinY","viewportMaxY","leftOverflow","popupWidth","horizontalDiff","positionPropKeys","defaultcontainerRect","maxHeightForDirection","containerNode","domRect","containerRect","topMaxHeight","bottomMaxHeight","directions","autoPositioning","minWidth","autoCorrectTopOverflow","chosenDirection","defaultAnchor","anchorRect","getScrollingCoordinates","anchorLeft","anchorTop","directionsMatrix","anchorBottom","anchorRight","popupLeft","popupTop","popupRightToLeft","popupHorizontalCenter","popupVerticalCenter","popupBottomToTop","getPositionStyles","sortedByIncreasingOverflow","stylesA","stylesB","popupScrollHeight","attachingPointY","handleTopOffScreen","PopupTargetContext","PopupTarget","isFunctionChild","data-portaltarget","Popup","getContainer","_redraw","newDirection","onDirectionChange","isVisible","_updateDirection","calculateDisplay","redrawScheduler","_updatePosition","onEscPress","_onCloseAttempt","_listenersEnabled","dontCloseOnAnchorClick","_getAnchor","onOutsideClick","esc","_onEscPress","client","_setListenersEnabled","onShow","ringPopupTarget","positionProps","acc","anchorElement","enable","_onDocumentClick","isEsc","onCloseAttempt","attached","keepMounted","onMouseDown","onMouseUp","onMouseOver","onMouseOut","onContextMenu","showing","portalRef","shouldUseShortcuts","shortcutsMap","shortcutsScope","data-test-shown","data-test-direction","popupRef","getInternalContent","isPrevented","previousBodyWidth","bodyWithoutScroll","Dialog","onOverlayClick","onCloseClick","show","tabTrap","dialog","toggleScrollPreventer","ScrollPreventer","showCloseButton","contentClassName","trapFocus","getShortcutsMap","popupTarget","dialogRef","clickableOverlay","handleClick","innerContainer","closeButton","AuthDialog","cancelOnEsc","defaultTitle","logo","firstButton","$httpProvider","authInstance","configCopy","urlEndsWith","noAuthorization","rejection","authInitPromise","restoreLocationURL","relativeURI","iElement","iAttrs","rgAutofocus","focusOnElement","focusableChild","Size56","Avatar","errorUrl","dpr","subavatar","subavatarSize","sizeString","subavatarSizeString","styleObj","borderRadius","styleObjGroup","avatar","subavatarSrc","handleError","onLoad","handleSuccess","ringI18n","i18n","form_required","form_invalid","form_url","form_email","form_number","form_maxlength","form_minlength","form_pattern","form_equalvalue","form_unique","form_max","form_min","form_save","form_saved","form_cancel","avatareditor_nosupport","avatareditor_noselected","avatareditor_delete","avatareditor_add","errorpage_seriouslywrong","errorpage_offline","errorpage_disconnected","errorpage_disconnectedmsg","errorpage_401","errorpage_401msg","errorpage_403","errorpage_403msg","errorpage_404","errorpage_404msg","errorpage_500","errorpage_500msg","select_options_not_found","select_loading","select_label","previous_page","next_page","first_page","last_page","items_per_page","confirmation_ok","confirmation_cancel","RingAngularComponent","injectName","RgTemplateController","cleanup","addInnerClass","rgTemplateClass","rgTemplate","TemplateNg","normalizedGlyph","colorClass","prevColorClass","messageBundleNg","IconNG","ngDisabled","showDeleteButton","showAddButton","deleteLabel","addMessage","RingMessageBundle","fileInput","createFileLoadListener","readEvent","editIcon","pencilIcon","registerFileInput","imageFileSelected","files","readAsDataURL","controls","getDeleteLabel","getAddMessage","avatarEditorCtrl","Renderer","nodeToRender","nodeRef","createAngularComponent","propKeys","innerNodes","hasInnerContent","angularComponentFactory","angularModuleName","getAngularComponentName","Badge","gray","valid","badge","BadgeNg","LinkModule","IconModule","ButtonGroup","buttonGroup","buttonGroupClasses","ringIconDefaultColor","overrides","iconMarginFix","transcludeSpacer","buttonClasses","buttonWithoutIcon","light","ButtonController","themeName","isValidTheme","changeTheme","currentTheme","cl","transcludeNode","findTranscludeNode","mod","tabindex","updateMode","updateIcon","updateTheme","prevTheme","createButtonDirective","rgThemeCtrl","buttonSet","ButtonToolbar","buttonToolbar","Caret","returnRE","selection","range1","getRangeAt","range2","cloneRange","selectNodeContents","endContainer","endOffset","startOffset","curNode","curPos","_curNode","_correctedPosition","correctedPosition","getRelativePosition","normalizeNewlines","setSelectionRange","startContainer","offsetLeft","Checkbox","inputRef","onChange","proxyAttrs","attrsWhitelist","attrsList","resultTemplate","attrLower","attrValue","attrFind","attrReplace","idCounter","normalizeIndent","nonemptyRE","indentRE","linesCopy","trivialTemplateTag","chunks","interpolations","cpp","xml","bash","clojure","coffeescript","cs","markdown","dockerfile","elixir","ruby","erlang","glsl","go","gradle","groovy","handlebars","haskell","java","javascript","kotlin","less","livescript","lua","makefile","perl","php","powershell","python","rust","scala","scss","shell","sql","swift","yaml","twig","typescript","Code","codeRef","softWrap","initCodeRef","highlightStyles","highlightContainer","isFunctionCodeRef","invokeCtrl","Panel","panel","Confirm","rejectOnEsc","onReject","inProgress","cancelIsDefault","description","rejectLabel","renderConfirm","MessageBundle","actionTitle","cancelTitle","actionFn","onBeforeConfirm","confirm","Sidebar","topIsOutside","bottomIsOutside","sidebarVisibleHeight","sidebarNode","contentNode","shouldUseFixation","containerClassName","fixedClassName","shouldFixateTop","shouldFixateBottom","containerClasses","sidebarContainer","sidebarContainerRight","sidebar","sidebarRight","sidebarFixedTop","sidebarFixedBottom","sidebarRef","handleTopWaypoint","bottomMarker","handleBottomWaypoint","ContentLayout","responsive","contentLayout","contentLayoutResponsive","contentClasses","contentLayoutContent","childrenArray","sidebarChild","contentChildren","saveContentNode","ContentEditable","onComponentUpdate","focusSensorHOC","focused","_skipNextCapture","blur","autofocus","outline","onFocusCapture","onBlurCapture","onFocusRestore","onFocusReset","onRefUpdate","onInput","Selection","getKey","isItemSelectable","_rawData","_getChildren","_buildData","_selected","_focused","_getKey","_isItemSelectable","newSelected","newData","_buildSelected","cloneWith","nextItem","isSelected","deselect","resetFocus","resetSelection","selectionShortcutsHOC","newSelection","moveUp","moveDown","getFocused","shiftSelectionMode","selectable","shiftSelect","newMovedSelection","moveStart","moveEnd","toggleSelection","selectAll","onUpPress","down","onDownPress","onShiftKeyDown","onShiftUpPress","onShiftDownPress","home","onHomePress","onEndPress","onSpacePress","onCmdAPress","disableHoverHOC","disabledHover","onMouseMove","onKeyDown","Particle","decay","life","alpha","LoaderCore","renderInNode","initializeLoader","isRunning","startAnimation","draw","startColor","stopColor","calculateChannelValue","pixelRatio","canvasSize","scale","setCanvasSize","particles","baseSpeed","colorIndex","maxRadius","minRadius","colorChangeTick","hSpeed","vSpeed","radiusSpeed","prepareInitialState","ticks","coord","speed","randomizedSpeedChange","handleLimits","colors","currentColor","nextColor","calculateGradient","calculateNextCoordinates","calculateNextRadius","particle","getNextColor","isAlive","clearRect","removeDeadParticles","loop","textNode","dataset","stopAnimation","initLoader","deprecateComment","Title","showFocus","collapserExpander","titleFocused","titleSelected","paddingLeft","boxes","checkboxBox","aria-labelledby","onCheckboxFocus","onCheckboxChange","moreLessButtonStates","onItemMoreLess","parentShift","itemFormatter","collapsible","collapsed","onCollapse","isFocused","moreLessButton","showMoreLessButton","onShowMore","showMoreLoader","onShowLess","chevronRightIcon","collapseButton","collapseIcon","chevronDownIcon","itemIsEmpty","itemContent","renderItem","showMore","DataList","onEqualPress","remoteSelection","dataList","multiSelection","getSelected","dataListWrapper","itemMoreLessState","onItemFocus","onItemSelect","loadingOverlay","rerenderHOC","captureNode","_propsCache","Anchor","chevron","Dropdown","initShown","pinned","nextPinned","hoverMode","_toggle","_clearTimer","onMouseEnter","hoverTimer","hoverShowTimeOut","onMouseLeave","hoverHideTimeOut","onHide","clickMode","onChildCloseAttempt","handlePopupInteraction","AUTO","FULL","Input","onClear","checkValue","adapt","stretch","borderless","compact","inputClassName","enableShortcuts","placeholder","minimizeMargins","clearable","noLabel","inputClasses","TagName","handleChange","getId","htmlFor","underline","focusUnderline","errorUnderline","errorText","errorRef","HTMLInputElement","changeListenProps","cellSize","calHeight","yearHeight","MO","TU","WE","TH","FR","SA","SU","yearDuration","yearScrollSpeed","dateType","addFormats","extendedFormats","parseTime","hoverTO","DateInput","updateInput","divider","hoverDate","inputFormat","displayText","data-name","handleKeyDown","Day","onHover","isDay","minDate","maxDate","currentRange","activeRange","makeSpreadRange","spreadRange","activeSpreadRange","weekend","between","inRange","activeBetween","spread","activeSpread","handleMouseOver","handleMouseOut","today","Month","monthTitle","MonthSlider","dragging","scrollDate","monthSlider","pxToDate","MonthName","onScrollChange","MonthNames","monthNames","FridayToSunday","monthHeight","monthStart","scrollSpeed","scrollSchedule","dy","Months","MONTHSBACK","onWheel","scrollTO","Years","stoppedScrolling","YEARSBACK","newScrollDate","setYear","currentYear","Weekdays","DatePopup","withTime","parsedText","goal","_scrollDate","displayFormat","_scrollTS","dt","scheduleScroll","isInTimeMode","defaultState","parsedTime","nextMoment","prevMoment","componentRef","handleWheel","prevActive","changeToSubmit","onComplete","emptyCase","parsedTo","activeDate","calendarProps","datePopup","filterWrapper","calendarIcon","filterIcon","handleActivate","handleInput","handleConfirm","hoverHandler","selectHandler","PopupComponent","datePopupProps","PopupProps","DatePicker","displayMonthFormat","displayDayFormat","datePlaceholder","dateTimePlaceholder","rangePlaceholder","getAnchorText","popupClassName","dropdownProps","datePicker","closePopup","PromisedClickController","rgPromisedClick","currentMode","toggleActive","buttonStyles","setModeParams","promisedMode","newMode","angularSanitize","RingButton","PromisedClickNg","rgCompilerModuleName","DialogController","inSidebar","focusTrap","dialogService","DIALOG_NAMESPACE","currentShortcutsScope","_resetFormState","dialogStyles","islandStyles","dialogInSidebar","createFocusTrap","fallbackFocus","unregister","getShortcuts","defaultEscHandler","dialogShortcuts","applyDefaultHandler","customHandler","isOverlayClicked","closeOnClick","rgCompiler","dialogForm","wideDialog","autoWidth","getScope","resetPosition","errorResponse","error_description","errorReporter","errorField","error_field","getFieldErrorMessage","serverErrorFields","getErrorMessage","keepServerErrors","actionResult","isTextAreaShortcut","DialogService","constrArgs","fallbackDialog","DialogInSidebarService","rgDialogDirective","dialogCtrl","dialogContainer","dialogHeader","dialogCustomFooter","setPosition","inputNode","onMousemove","maxTop","maxLeft","newTop","newLeft","offsetY","offsetX","onMouseup","onMousedown","onFocusin","setCustomFooter","customFooterElem","rgDialogContentDirective","contentScope","compileContent","compileTemplate","compiledData","templateScope","_element","cleanupElement","setTitle","scheduleAction","initialPanelPos","isDocked","_onResize","dockedPanelClass","rgDockedPanelClass","rgDockedPanelConfig","getYPosition","clientRect","getScrollContainerScrollTop","scrollContainer","dock","beforeDock","undock","beforeUndock","checkPanelPosition","currentPanelRect","onResize","errorBubbleClasses","errorBubble","errorBubbleWrapper","errorBubblePopup","LinkNG","links","PermissionCache","permissions","namesConverter","projects","projectIdSet","permissionCache","_permissionCache","_toProjectIdSet","_permissions","projectId","lexems","or","currentIdentifier","and","notCounter","testPermission","permissionName","cachedPermission","Permissions","_auth","API_PERMISSION_CACHE_PATH","getPermissionQuery","getDefaultNamesConverter","_datasource","datasource","_defaultDatasource","_subscribed","storedName","cachedPermissions","_setCache","hasCacheControl","_getCache","_loadPermissions","_options","cacheControl","_resetCache","load","permitted","registerPermission","somePermissionsCtrl","apiUri","getAPIPath","userPermissions","rgPermission","GLOBAL_PROJECT_ID","inProject","somePermittedCtrl","rgPermissionIf","startNode","getBlockElements","rgSomePermissions","checkPermissions","ErrorMessage","pageConfiguration","loadFactory","factoryName","responseToMessageConverter","presentationModels","401","404","403","500","setApplicationError","applicationError","errorPageConfiguration","$route","getErrorPagePresentation","errorPageBackgroundCtrl","cloneWrapper","errorPageNg","destroyEvent","pagePermission","getRoutingPermissionPromise","errorSource","rgErrorPage","errorPageParameterPresentation","$promise","getArgumentPromise","FooterColumn","columnLeft","columnCenter","columnRight","columnItem","FooterLine","Footer","floating","footerFloating","center","rgFooterComponent","rgFooterLineComponent","rgFooterCopyrightComponent","copyrightYears","companyName","AngularElastic","formError","messageBundleId","formErrors","errorMessages","getFormErrorMessages","siblings","material","assertEqual","thisValue","thatValue","rgEqualValue","submitted","poll","$elem","ModifierType","modifierKeys","Row","middle","baseline","around","classMap","sm","xsOffset","smOffset","mdOffset","lgOffset","Col","Logo","wrapChild","trayItem","tray","TrayIcon","rotatable","rotated","toVal","mix","calculateSizeAndPositionDataAndUpdateScrollOffset","cellCount","computeMetadataCallback","computeMetadataCallbackProps","nextCellsCount","nextCellSize","nextScrollToIndex","scrollToIndex","updateScrollOffsetForScrollToIndex","CellSizeAndPositionManager","cellSizeGetter","estimatedCellSize","_cellSizeAndPositionData","_lastMeasuredIndex","_lastBatchedIndex","_cellSizeGetter","_cellCount","_estimatedCellSize","_ref2","lastMeasuredCellSizeAndPosition","getSizeAndPositionOfLastMeasuredCell","_size","_ref3","_ref3$align","containerSize","currentOffset","targetIndex","datum","getSizeAndPositionOfCell","maxOffset","minOffset","idealOffset","totalSize","getTotalSize","_findNearestCell","_currentOffset","_binarySearch","lastMeasuredIndex","_exponentialSearch","getMaxElementSize","ScalingCellSizeAndPositionManager","_ref$maxScrollSize","maxScrollSize","_cellSizeAndPositionManager","_maxScrollSize","getCellCount","getEstimatedCellSize","getLastMeasuredIndex","safeTotalSize","offsetPercentage","_getOffsetPercentage","_safeOffsetToOffset","getUpdatedOffsetForIndex","_offsetToSafeOffset","_ref4","getVisibleCellRange","resetCell","_ref5","_ref6","_ref7","createCallbackMemoizer","requireAllKeys","cachedIndices","allInitialized","indexChanged","cachedValue","updateScrollIndexHelper","cellSizeAndPositionManager","previousCellsCount","previousCellSize","previousScrollToAlignment","previousScrollToIndex","previousSize","scrollOffset","scrollToAlignment","sizeJustIncreasedFromZero","updateScrollIndexCallback","hasScrollToIndex","oRequestAnimationFrame","msRequestAnimationFrame","oCancelAnimationFrame","msCancelAnimationFrame","caf","SCROLL_POSITION_CHANGE_REASONS","Grid","_onGridRenderedMemoizer","_onScrollMemoizer","_deferredInvalidateColumnIndex","_deferredInvalidateRowIndex","_recomputeScrollLeftFlag","_recomputeScrollTopFlag","_horizontalScrollBarSize","_verticalScrollBarSize","_scrollbarPresenceChanged","_renderedColumnStartIndex","_renderedColumnStopIndex","_renderedRowStartIndex","_renderedRowStopIndex","_styleCache","_cellCache","_debounceScrollEndedCallback","_disablePointerEventsTimeoutId","isScrolling","needToResetStyleCache","_invokeOnGridRenderedHelper","onSectionRendered","columnOverscanStartIndex","_columnStartIndex","columnOverscanStopIndex","_columnStopIndex","columnStartIndex","columnStopIndex","rowOverscanStartIndex","_rowStartIndex","rowOverscanStopIndex","_rowStopIndex","rowStartIndex","rowStopIndex","_setScrollingContainerRef","_scrollingContainer","_onScroll","handleScrollEvent","columnSizeAndPositionManager","_wrapSizeGetter","columnWidth","_getEstimatedColumnSize","rowSizeAndPositionManager","rowCount","rowHeight","_getEstimatedRowSize","instanceProps","prevColumnWidth","prevRowHeight","prevColumnCount","prevRowCount","prevIsScrolling","prevScrollToColumn","scrollToColumn","prevScrollToRow","scrollToRow","scrollbarSize","scrollbarSizeMeasured","scrollDirectionHorizontal","scrollDirectionVertical","scrollPositionChangeReason","_initialScrollTop","_getCalculatedScrollTop","_initialScrollLeft","_getCalculatedScrollLeft","_ref$alignment","_ref$columnIndex","columnIndex","_ref$rowIndex","rowIndex","offsetProps","_ref2$scrollLeft","scrollLeftParam","_ref2$scrollTop","scrollTopParam","_debounceScrollEnded","autoHeight","totalRowsHeight","totalColumnsWidth","_invokeOnScrollMemoizer","_props2","_ref4$columnIndex","_ref4$rowIndex","_props3","_updateScrollLeftForScrollToColumn","_updateScrollTopForScrollToRow","_props4","getScrollbarSize","_handleInvalidatedGridSize","stateUpdate","_getScrollToPositionStateUpdate","sizeIsBiggerThanZero","_maybeCallOnScrollbarPresenceChange","_props5","columnOrRowCountJustIncreasedFromZero","_props6","autoContainerWidth","containerProps","containerRole","noContentRenderer","_state2","_isScrolling","gridStyle","WebkitOverflowScrolling","willChange","_resetStyleCache","_calculateChildrenToRender","verticalScrollBarSize","horizontalScrollBarSize","overflowX","childrenToDisplay","_childrenToDisplay","showNoContentRenderer","maxWidth","pointerEvents","cellRenderer","cellRangeRenderer","deferredMeasurementCache","overscanColumnCount","overscanIndicesGetter","overscanRowCount","isScrollingOptOut","visibleColumnIndices","visibleRowIndices","horizontalOffsetAdjustment","getOffsetAdjustment","verticalOffsetAdjustment","overscanColumnIndices","overscanCellsCount","scrollDirection","overscanRowIndices","overscanStartIndex","overscanStopIndex","hasFixedHeight","hasFixedWidth","cellCache","styleCache","scrollingResetTimeInterval","recomputeGridSize","_props7","_onScrollbarPresenceChange","onScrollbarPresenceChange","vertical","_ref8","_getScrollLeftForScrollToColumnStateUpdate","_getScrollTopForScrollToRowStateUpdate","maybeStateA","maybeStateB","estimatedColumnSize","estimatedRowSize","_ref9","finalColumn","scrollBarSize","calculatedScrollLeft","finalRow","calculatedScrollTop","renderedCells","areOffsetsAdjusted","canCacheStyle","rowDatum","columnDatum","cellRendererParams","renderedCell","recalc","canUseDOM","scrollDiv","List","_temp","_ret","_cellRenderer","rowRenderer","_setRef","_onSectionRendered","onRowsRendered","getOffsetForCell","invalidateCellSizeAfterRender","measureAllCells","_ref7$columnIndex","_ref7$rowIndex","scrollToPosition","scrollToCell","noRowsRenderer","AutoSizer","defaultHeight","defaultWidth","disableHeight","disableWidth","_parentNode","_height","_width","_style","paddingRight","paddingBottom","newHeight","newWidth","autoSizer","_autoSizer","_detectElementResize","outerStyle","childParams","mountedInstances","originalBodyPointerEvents","disablePointerEventsTimeoutId","enablePointerEventsIfDisabled","enablePointerEventsAfterDelayCallback","__resetIsScrolling","onScrollWindow","maximumTimeout","enablePointerEventsAfterDelay","scrollElement","__handleWindowScrollEvent","registerScrollListener","unregisterScrollListener","getBoundingBox","getDimensions","serverHeight","serverWidth","getPositionOffset","elementRect","getScrollOffset","_elementRect","_containerRect","scrollY","scrollX","WindowScroller","_isMounted","_positionFromTop","_positionFromLeft","_registerChild","_child","_onChildScroll","_registerResizeListener","_unregisterResizeListener","_scrollLeft","_scrollTop","thisNode","dimensions","prevScrollElement","onChildScroll","registerChild","CellMeasurer","_getPrototypeOf2","_this$props$columnInd","_this$props$rowIndex","_this$_getCellMeasure","_getCellMeasurements","getHeight","getWidth","_maybeMeasureCell","measure","_measure","styleWidth","styleHeight","_this$props2$columnIn","_this$props2$rowIndex","_this$_getCellMeasure2","CellMeasurerCache","_keyMapper","_columnWidthCache","_defaultWidth","_rowHeightCache","_defaultHeight","fixedHeight","fixedWidth","keyMapper","_hasFixedHeight","_hasFixedWidth","_minHeight","_minWidth","defaultKeyMapper","_cellHeightCache","_cellWidthCache","_updateCachedColumnAndRowSizes","_rowCount","_columnCount","_key2","columnKey","rowKey","areInputsEqual","newInputs","lastInputs","resultFn","isEqual","lastThis","lastArgs","calledOnce","newArgs","ListItem","scrolling","rightGlyph","details","rgItemType","rightNodes","leftNodes","showCheckbox","globalStyles","resetButton","detailsClasses","computedTitle","_isString","itemContainer","checkboxContainer","stopBubbling","AvatarSize","normalizeKey","translateToKey","getEventKey","getEventCharCode","ListCustom","onKeyPress","handleKeyPress","ListLink","LinkComponent","hoverClassName","actionLink","Comp","Link","ListTitle","isFirst","classnames","title_first","ListSeparator","separator_first","ListHint","hint","scheduleScrollListener","scheduleHoverListener","SEPARATOR","LINK","ITEM","CUSTOM","ITEM_PADDING","ITEM_HEIGHT","COMPACT_ITEM_HEIGHT","SEPARATOR_HEIGHT","SEPARATOR_FIRST_HEIGHT","SEPARATOR_TEXT_HEIGHT","TITLE_HEIGHT","INNER_PADDING","DEFAULT_ITEM_TYPE","warnEmptyKey","nonActivatableTypes","isActivatable","activeIndex","prevActiveIndex","prevData","activeItem","needScrollToActive","hasOverflow","defaultItemHeight","sizeCacheKey","memoizeOne","tryKeepOpen","useMouseUp","newIndex","disableMoveOverflow","moveHandler","upHandler","disableMoveDownOverflow","downHandler","scrollEndHandler","shortcut","maxScrollingPosition","sensitivity","currentScrollingPosition","unmounted","realIndex","selectedLabel","originalModel","cleanedProps","itemProps","_deprecatedGenerateKeyFromContent","ItemComponent","addItemDataTestToProp","_cache","virtualizedList","homeHandler","endHandler","enterHandler","restoreActiveIndex","activateFirstItem","activateSingleItem","firstActivatableIndex","onDocumentMouseMove","onDocumentKeyDown","recomputeRowHeights","_hasActivatableItems","retryCallback","correctedIndex","hasActivatableItems","identificator","dirOverride","virtualizedListRef","_bufferSize","disableScrollToActive","renderVirtualizedInner","simpleInner","scrollHandler","mouseHandler","getVisibleListHeight","hintOnSelection","fadeStyles","clearSelected","renderOptimization","renderVirtualized","renderSimple","_inner","visible","listItemType","PopupMenu","closeOnSelect","listRef","isItemType","ListProps","Profile","hasUpdates","profileUrl","onSwitchUser","renderPopupItems","onRevertPostponement","showApplyChangedUser","showLogIn","showLogOut","showSwitchUser","renderGuest","onLogin","profileEmpty","anchorClassName","avatarWrapper","profile","applyChangedUser","profileMenuItem","switchUser","SmartProfile","isLogoutPostponed","isUserChangePostponed","updateUser","checkUserCertificateMismatch","userMeta","getMetaForResponse","certificateMismatch","ServicesLink","homeUrl","itemLogo","isActive","applicationName","makeAnchor","servicesIcon","Services","sortedServices","servicesWithIcons","servicesWithOutIcons","separatorIsRequired","serviceIsActive","activeItemStacked","itemStacked","aApplicationName","bApplicationName","localeCompare","SmartServices","getServices","allFields","stopLoading","countFields","getServicesContent","spaced","headerSpaced","Levels","H1","H2","H3","H4","fallbackHeading","Heading","makeHeading","useCaps","caps","defaultOptions","searchMax","searchSideThreshold","queryFormatter","relativeUrl","storedData","isClientSideSearch","queryParams","makeRequest","makeCachedRequest","HubSource","mergeParams","$top","checkIsClientSideSearch","doServerSideSearch","TOP_ALL","formatQuery","sideDetectionRequest","doClientSideSearch","validateInputParams","getDefaultFilterFn","getValueFromSuitableSource","processResults","toMerge","scrollable","scrollCallback","IslandHeader","IslandContent","LoaderController","RgLoaderComponent","updateMessage","LoaderScreen","loaderScreen","loaderClasses","loaderWithoutSpacing","loaderNg","showLoader","showLoaderPromise","initialLoading","loadingFailed","startLoading","setVisible","startInitialLoading","stopInitialLoading","isInitialLoading","isLoaderVisible","isLoadingFailed","failInitialLoading","MarkdownCode","MarkdownLink","MarkdownHeading","Markdown","RemarkBreaks","tagNode","setDocumentClickListener","setListener","onDocumentClick","rgTagIcon","rgTagTitle","avatarSrc","customIcon","avatarIcon","_renderImageElement","avatarContainer","removeIcon","onRemove","tagAngled","angled","withRemove","tagRef","renderAvatar","renderCustomIcon","renderImage","renderRemoveIcon","TagsList","focusTag","TagComponent","customTagComponent","canNotBeEmpty","tags","tagClassName","handleRemove","tagsList","renderTag","SelectFilter","autoComplete","FilterWithShortcuts","rgShortcutsOptions","rgShortcutsMap","_shortcutsScopeUid","shortcutsHOC","SelectPopup","popupFilterShortcutsOptions","tagsActiveIndex","_togglePopupFilterShortcuts","isClickingPopup","customEvent","originalEvent","removeTag","onSelectAll","handleSelectAll","userDefinedMaxHeight","caret","tab","tabPress","onEmptyPopupEnter","backspace","handleBackspace","del","removeSelectedTag","handleNavigation","mouseUpHandler","navigateLeft","isEventTargetFilter","getPosition","focusFilter","_tag","onListSelect","shortcutsDisabled","searchIcon","data-test-custom","popupFilterShortcuts","filterValue","filterRef","popupFilterOnBlur","onFilterFocus","onFilter","onClickHandler","handleRemoveTag","handleTagClick","filterWithTags","filterWithTagsFocused","getTags","getFilter","bottomLine","_adjustListMaxHeight","handleListResize","onLoadMore","isInputMode","mouseDownHandler","getFilterWithTags","getSelectAll","getList","getBottomLine","toolbar","BUTTON","INPUT","INLINE","MATERIAL","INPUT_WITHOUT_CONTROLS","iconsLength","getLowerCaseLabel","doesLabelMatch","itemToCheck","lowerCaseLabel","getFilterFn","fuzzy","checkString","haystack","caseSensitive","ndl","hstck","hlen","nlen","nch","hch","nextOn","fuzzyHighlight","buildMultipleMap","fromEntries","getListItems","rawFilterString","filterString","lowerCaseString","filteredData","exactMatch","removeSelectedItems","multipleMap","selectedItem","addButton","alwaysVisible","getSelectedIndex","firstSelected","getItemLabel","getValueForFilter","Select","shownData","shortcutsEnabled","popupShortcuts","showPopup","prevSelected","prevMultiple","_popup","onDone","allowAny","getInitial","onReset","_clickHandler","_hidePopup","onAdd","onBeforeOpen","_showPopup","_setFilter","fakeSelected","clearFilter","isItem","isCustomItem","isSelectItemEvent","isResetItem","nextSelection","currentSelection","onDeselect","_getSelectedIndex","restMultipleMap","_redrawPopup","newFilterValue","hideSelected","isSelectAll","_getEmptyValue","prevFilterValue","keysMap","isSameSelected","onOpen","isOptionsSelected","hasTagsResetProp","resetOption","_getResetOption","margin","resetItems","targetElement","_shownData","_prependResetOption","loadingMessage","notFoundMessage","getToolbar","popupStyle","_listSelectHandler","_listSelectAllHandler","_filterChangeHandler","tryFocusAnchor","restoreFocusNode","labels","icons","selectedIcon","clearIcon","hideArrow","chevronIcon","_onEnter","_onEsc","_inputShortcutHandler","_getIcons","iconsNode","inputMode","_focusHandler","_blurHandler","_getLabel","inputPlaceholder","_renderPopup","buttonMode","_selectButtonKeyboardHack","buttonValue","buttonValueOpen","_getAvatar","_selectionIsEmpty","_getSelectedString","materialMode","buttonRef","customAnchor","wrapperProps","buttonProps","onRemoveTag","RerenderableSelect","Pager","onPageSizeChange","currentPage","prevPage","onPageChange","onLoadPage","nextPage","getTotal","openTotal","pageSize","pageSizes","perPage","page","generateHref","getClickProps","handlePageChange","hrefFunc","selectOptions","getSelectOptions","disablePageSizeSelector","float","handlePageSizeChange","prevLinkAvailable","nextLinkAvailable","nextIcon","prevIcon","chevronLeftIcon","prevText","previousPage","nextText","nextLinkContent","prevLinkContent","prevLinkHref","nextLinkHref","disabledLinkClasses","linkDisabled","handlePrevClick","handleNextClick","visiblePagesLimit","totalPages","leftHalfFrameSize","getButton","lastPageButtonAvailable","canLoadLastPageWithOpenTotal","getPagerLinks","firstPage","handleLoadMore","lastPage","getPageSizeSelector","pager","getPagerContent","getClosestElementWithCommonParent","rgPlaceUnderHelper","synchronizer","createPositionSynchronizer","placeUnderSelector","syncWith","syncPositionWith","DEBOUNCE_INTERVAL","AFTER_SCROLL_RECHECK_INTERVAL","HEIGHT_CHECK_INTERVAL","placeTopOffset","syncHeight","syncBottom","removeScrollListener","removeScrollListeners","waitForNonZeroHeight","elementToCheck","checkElementHeight","syncElement","documentScrollTop","documentOffsetHeight","syncedElementHeight","syncBottomParams","extraMargin","boundingRect","afterScrollFinishRecheck","sidebarScrollListener","elementToHeightListening","listenToHeightChange","ProgressBar","progressbarWrapper","progressbar","percents","otherProps","themeFallback","toPercent","progressBar","dark","globalMode","progressbarWrapperRef","progressbarRef","aria-valuenow","aria-valuemin","aria-valuemax","QueryAssistSuggestions","suggestion","wrappedOption","matchingStart","matchingEnd","wrappedPrefix","wrappedSuffix","prevSuggestion","suggestions","suggestionRenderer","renderedSuggestions","prevSuggestionGroup","groupSeparator","renderGroupSeparator","POPUP_COMPENSATION","cleanText","QueryAssist","placeholderEnabled","handleFocusChange","immediateState","mouseIsDownOnInput","setCaretPosition","blurInput","mouseIsDownOnPopup","onFocusChange","queryLength","newCaretPosition","scrollInput","newQueryIsEmpty","getQuery","togglePlaceholder","isComposing","requestData","handleCaretMove","getFirst","suggestionsQuery","handleComplete","queryCommandSupported","getData","execCommand","popupHidden","handleResponse","styleRanges","currentCaret","completionStart","completionEnd","focusState","handleApply","sendRequest","omitSuggestions","handleStyleRangesResponse","glass","handleCtrlSpace","handleTab","autoOpen","setupRequestHandler","requestHandler","requestStyleRanges","actions","updateFocus","isCaretChanged","isFocusChanged","focusValue","setFocus","caretOffset","renderLoader","dataSource","dataPromise","isRenderingGlassOrLoader","inputChildren","completionStartNode","needDelay","hasDelay","createKey","renderLabel","renderList","_renderSuggestion","LETTER_DEFAULT_CLASS","letterDefault","styleName","isComponentFocused","iconInner","clearTitle","clearRef","clearQuery","useCustomItemRender","renderPlaceholder","renderGlass","renderUnderline","renderActions","inputGap","inputGap2","inputLeftGap","inputDisabled","queryAssist","trackInputMouseState","searchTitle","glassRef","loaderOnTheRight","loaderRef","handleBlur","onCompositionStart","trackCompositionState","onCompositionEnd","onKeyUp","handleEnter","onPaste","handlePaste","spellCheck","renderQuery","placeholderSpaced","placeholderRef","renderSuggestions","getPopupOffset","trackPopupMouseState","RadioContext","Radio","radio","labelRef","circle","RadioItem","restContext","modes","mainModes","addMode","main","shortcutsInstance","triggerAction","isMainMode","getRegisteredShortcuts","zones","getCurrent","route","getNext","back","hasKey","orderedElements","setup","keyMap","shortcutsCtrl","shortcutsApp","rgShortcuts","focusGetter","shortcutsFocus","blurGetter","shortcutsBlur","rgShortcutsGlobal","Form","ButtonSet","PromisedClick","MULTI_LINE_SPLIT_PATTERN","api","workingValue","onSave","afterSave","parseElement","formatElement","iElem","customError","blurTimeout","isTextarea","draftMode","valueField","submitChanges","saveFieldForm","initial","afterSaveCall","cancelBlur","onsave","getSave","errorData","resetValue","controlName","stopWatch","wording","save","saved","comboSubmit","submit","cancelChanges","setSave","Options","optionsString","MATCHES","OPTIONS_REGEXP","hasItemGetter","itemGetter","labelGetter","selectedLabelGetter","SELECTED_LABEL","descriptionGetter","DESCRIPTION","optionVariableName","OPTION","datasourceGetter","ITEMS","trackByGetter","TRACK","datasourceIsFunction","matchedOptions","defaultKeyField","optionStringValue","defaultLabelField","defaultSelectedLabelField","defaultDescriptionField","SelectLazy","attachEvents","reactSelect","ReactDOMServer","detachEvents","selectInstance","SelectNgOptions","suggest","selectType","withInfiniteScroll","infiniteScrollPackSize","optionsScope","externalFilter","configAutoUpdate","setNgModelCtrl","SelectOptions","dataReceived","skipNextModelSync","memorizeOptions","loadedOptions","stopLoadingNewOptions","lastSkip","getType","syncSelectToNgModel","selectedValue","optionsParser","convertNgModelToSelect","convertItem","getOptionByValue","getLabel","getSelectedLabel","getDescription","lastQuery","inProcessQueries","loaderDelayTimeout","setSelectModel","reRenderSelect","isSelectPopupOpen","rerender","optionsWatcher","createDefaultConfig","popupClass","loadOptionsToSelect","deselected","reloadOptions","getLoadedOptions","prevQuery","getCurrentSkipParameter","old","modifier","attachDropdownIfNeeded","ButtonNg","RingInputComponent","styleOverrides","macSymbolsMap","ins","winSymbolsMap","DialogNg","ShortcutsNg","IconNg","InputNg","RingTemplateNg","getTitle","HintPopupService","popupConfig","shortcutModes","okButtonLabel","searchPlaceholder","titles","HintPopupTpl","tailTemplate","searchText","shortcutKeySymbolFilter","MAC_OS","KEY_SEPARATOR","symbolsMap","getShortcutTitle","shortcutSearchFilter","keysPresentation","keyMatches","titleMatches","presentationMatches","PlaceUnder","ButtonNG","SidebarController","dialogIsActive","showed","placeUnderSibling","minLen","Manager","getIndex","sortableInfo","sortByIndex","arrayMove","keysToOmit","vendorPrefix","OLink","setInlineStyles","setTranslate3d","setTransitionDuration","getPixelValue","stringValue","getElementMargin","marginLeft","marginRight","provideDisplayName","getScrollAdjustedBoundingClientRect","scrollDelta","boundingClientRect","isTouchEvent","getEdgeOffset","nodeOffset","offsetTop","getTargetIndex","prevIndex","oldIndex","getLockPixelOffset","lockOffset","getLockPixelOffsets","_offsets","minLockOffset","maxLockOffset","getScrollingParent","computedStyle","overflowRegex","isScrollable","getContainerGridGap","gridColumnGap","gridRowGap","KEYCODE","NodeType","clonedNode","drawImage","isSortableHandle","sortableHandle","AutoScroller","onScrollCallback","minTranslate","maxTranslate","acceleration","_this$container","isTop","isBottom","isLeft","isAutoScrolling","axis","disableAutoscroll","distance","getHelperDimensions","helperClass","helperContainer","hideSortableGhost","keyboardSortingTransitionDuration","lockAxis","lockToContainerEdges","onSortEnd","onSortMove","onSortOver","onSortStart","pressDelay","pressThreshold","keyCodes","lift","shouldCancelStart","transitionDuration","updateBeforeSortStart","useDragHandle","useWindowAsScrollContainer","defaultKeyCodes","omittedProps","validateProps","_finallyRethrows","finalizer","propTypes$1","omittedProps$1","HeaderCell","sortable","onSort","sortOrder","sorted","sortKey","sortedIcon","sortableIcon","headerClassName","headerCell","headerCellSortable","headerCellSorted","sortedUp","cellRight","rightAlign","onChildrenClick","getHeaderValue","sorter","waypointChild","fixed","headerWidth","widths","_columnsRowNode","calculateColumnsWidths","columnsRowNode","draggable","checkboxDisabled","metaColumnClasses","metaColumn","headerMetaColumn","columnStyle","topStickOffset","regularCells","createCells","colSpan","onScrollIn","onScrollOut","subHeader","storeColumnsRowNode","subHeaderFixed","Tooltip","selfOverflowOnly","hidePopup","popupProps","tooltip","Cell","DragHandle","WrappedComponent","withRef","_React$Component","WithSortableHandle","wrappedInstance","alwaysShowDragHandle","dragHandle","visibleDragHandle","dragIcon","parentCollapsible","showDisabledSelection","checkboxTooltip","rowFocused","rowSelected","testAttrs","metaColumnStyle","rowCollapseExpandButton","cells","cellClasses","rowRef","DraggableRow","sortableElement","WithSortableElement","manager","alwaysFalse","DraggableRows","WithSortableContainer","touched","nodeIsChild","sorting","_node$sortableInfo","handlePress","pressTimer","_awaitingUpdateBeforeSortStart","delta","combinedDelta","cancelTimer","getActive","_temp6","_temp7","_node","gridGap","containerBoundingRect","_getHelperDimensions","_collection","marginOffset","_axis","offsetEdge","initialOffset","_isKeySorting","initialScroll","initialWindowScroll","pageXOffset","pageYOffset","helper","_hideSortableGhost","sortableGhost","_useWindowAsScrollContainer","containerTop","containerLeft","containerBottom","containerRight","_helperClass","listenerNode","handleKeyEnd","handleSortMove","handleSortEnd","sortingIndex","_onSortStart","isKeySorting","getOrderedRefs","keyMove","_temp8","_temp9","_wasThrown","updateHelperPosition","animateNodes","_this$manager","_node2","edgeOffset","autoScroller","_this$props5","_this$props5$keyCodes","isValidSortingTarget","keyLift","keyDrop","_node$sortableInfo2","initialFocusedNode","targetNode","containerScrollDelta","targetBoundingClientRect","targetTranslate","targetPosition","shouldAdjustForSize","sizeAdjustment","ignoreTransition","handleEnd","handleMove","handleStart","scrollingElement","onAutoScroll","_this$props6","_this$props6$keyboard","_getLockPixelOffsets2","_this$props7","windowScrollDelta","sortingOffset","_node3","mustShiftBackward","mustShiftForward","prevNode","getWrappedInstance","sortableContainer","getItemKey","onRowFocus","onRowSelect","getItemLevel","isItemCollapsible","isParentCollapsible","isItemCollapsed","onItemCollapse","onItemExpand","isDisabledSelectionVisible","getCheckboxTooltip","Table","userSelectNone","onReorder","restoreFocusWithoutScroll","loaderClassName","stickyHeader","stickyHeaderOffset","headerProps","selectedSize","allSelectedSize","wrapperClasses","tableWrapper","draggingRow","emitEvent","singleActiveElementAsSelection","suggestedItem","unselectable","clearActivity","getActiveItem","activateItem","maxIndex","activeItemIndex","newActiveItem","findNextActiveItem","clearCheckedItems","uncheckable","triggerSelectionChanged","getCheckedItems","SelectionNavigateActions","tableSelection","_selection","_addSelectionMode","activatePreviousItem","activateNextItem","setActiveItemIndex","_changeCheckedItemsArray","toggleCheck","clearSelection","toolbarIsReady","savedToolbarTop","controlsContainer","toolbarScrollListener","scrolledTop","elementTop","toolbarTop","stick","getPage","TableToolbar","TablePager","disableSelection","newItems","setItems","stickToElement","stickToSelector","stickTo","stickToToolbar","scrollableHeader","fixedHeader","resizeFixedHeader","titleElement","targetHeaderTitle","rowItem","rgLegacyTableCtrl","setSelection","watchRowCheckFlag","setActiveItem","setSuggestedItem","hasCheckedItems","checkedItems","scrollInfo","offsetInRows","rect","isGoneUp","isGoneDown","isOutOfView","addSpacingAfterScroll","tableCtrl","recheckSelection","allChecked","markAllItemsAs","onClickChange","rowCtrl","getRowItem","geAriaLabel","ariaLabel","isEmbedded","embedded","isBorder","isPullRight","pullRight","isAlignRight","alignRight","isPullLeft","pullLeft","unlimitedColumnsCount","isLimited","limited","isUnlimited","unlimited","isAvatar","isWide","wide","isGray","tabParameter","tabsClass","disableLocationChanging","getTabIdFromUrl","doSelect","newPane","skipUrlUpdate","panes","pane","tabId","getNextPaneIndex","currentTabIndex","checkCurrentTab","currentTabId","currentTab","getCurrentTab","addTab","removeTab","checkPane","isLast","tabClass","tabsCtrl","TagsInput","prevTags","ngModelStateField","getInputNode","isUniqueTag","onAddTag","setActiveIndex","loadSuggestions","focusInput","tagsMap","allSuggestions","filterExistingTags","moveForward","newActiveIndex","allowAddNewTags","handleTagCreation","selectTag","tagsLength","addTag","tagToRemove","legacyMode","tagsInput","tagsInputDisabled","tagsInputFocused","tagsInputLegacyMode","clickHandler","selectRef","tagsSelect","maxPopupHeight","minPopupWidth","rgPageTitle","noTitle","pageTitle","elementText","offScopeWatch","offRouteWatch","redirectTo","routeTitle","setCurrent","addElement","setDelimiter","newBaseTitle","setRootElement","updateDocumentTitle","replacePart","replaceIndex","titleElements","newDelimiter","newBase","setText","fieldName","Data","updateElement","Toggle","pale","leftLabel","onTransitionEnd","switchWrapper","paleSwitch","RgTooltipPopup","popupWrapper","rgTooltip","displayTooltip","rgTooltipClass","hideTooltip","textGetter","wrapperElement","renderPopup","customClass","WithFuzzySearchFilterComponent","onSelected","onChangeSelected","pathToRoot","WithFuzzySearchFilter","pages","initialIsVisible","isComponentVisible","setIsComponentVisible","handleHideDropdown","handleClickOutside","useComponentVisible","xmlns","viewBox","appEl","rootEl"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAE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,GACbE,gBAAiBoE,GACjBprB,UAAWkvB,GACXrpB,KAAMyqB,GACN/iB,OAAQ+pB,GACRr3B,WAAYk8B,GACZj4B,GAAI61B,GACJjP,IAAKoP,GACLzsB,KAAM63B,GACNC,aAAcrB,GACd//B,SAAU0hC,GACV//B,qBAAsB6gC,GACtBgB,eAAgBr+B,GAChBgE,iBAAkBm6B,GAClByrB,cAAejrB,GACft5F,SAAU65F,GACV55F,QAASk6F,GACTjlC,MAAOi4B,GACPq3B,SAAUr6D,GACVs6D,MAAO52D,GACPsmB,eAAgBymB,QAIrB7uI,KAAK,CAAE24J,eAAgB,UA+khC1BC,CAAmBlgL,GAEnBA,EAAQpzB,OAAO,WAAY,GAAI,CAAC,WAAY,SAAS4xI,GACrD,IAAI2hE,EAAsC,MAAtCA,EAA0F,QAmB9F3hE,EAAS1wI,MAAM,UAAW,CACxB,iBAAoB,CAClB,MAAS,CACP,KACA,MAEF,IAAO,CACL,SACA,SACA,UACA,YACA,WACA,SACA,YAEF,SAAY,CACV,gBACA,eAEF,KAAQ,CACN,KACA,MAEF,eAAkB,EAClB,MAAS,CACP,UACA,WACA,QACA,QACA,MACA,OACA,OACA,SACA,YACA,UACA,WACA,YAEF,SAAY,CACV,MACA,MACA,MACA,MACA,MACA,MACA,OAEF,WAAc,CACZ,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OAEF,gBAAmB,CACjB,UACA,WACA,QACA,QACA,MACA,OACA,OACA,SACA,YACA,UACA,WACA,YAEF,aAAgB,CACd,EACA,GAEF,SAAY,kBACZ,SAAY,YACZ,OAAU,qBACV,WAAc,WACd,WAAc,YACd,MAAS,gBACT,UAAa,SACb,UAAa,UAEf,eAAkB,CAChB,aAAgB,IAChB,YAAe,IACf,UAAa,IACb,SAAY,CACV,CACE,MAAS,EACT,OAAU,EACV,QAAW,EACX,QAAW,EACX,OAAU,EACV,OAAU,IACV,OAAU,GACV,OAAU,GACV,OAAU,IAEZ,CACE,MAAS,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Z,kBAAC8mT,GAA8B,CAAC3pU,KAAMA,K,OCVjD,IAgBe,GAhBO,WACZ,MA9BV,SAA6BiqU,GACnB,MAA8C,mBAASA,GAAtDC,EAAkB,KAAEC,EAAqB,KAC1C/rR,EAAM,iBAAO,MAEbgsR,EAAqB,SAACjgT,GACN,WAAdA,EAAMniC,KACNmiV,GAAsB,IAIxBE,EAAqB,SAAClgT,GAEpBi0B,EAAIztB,UAAYytB,EAAIztB,QAAQ9E,SAAS1B,EAAMjF,SAC3CilT,GAAsB,IAa9B,OATA,qBAAU,WAGN,OAFArlT,SAASyO,iBAAiB,UAAW62S,GAAoB,GACzDtlT,SAASyO,iBAAiB,QAAS82S,GAAoB,GAChD,WACHvlT,SAASib,oBAAoB,UAAWqqS,GAAoB,GAC5DtlT,SAASib,oBAAoB,QAASsqS,GAAoB,OAI3D,CAAEjsR,IAAG,EAAE8rR,mBAAkB,EAAEC,sBAAqB,GAQnDG,EAAoB,GAHpBlsR,EAAG,MACH8rR,EAAkB,qBAClBC,EAAqB,wBAGzB,OAAO,yBAAK/rR,IAAKA,EAAKnxB,UAAU,kBAC3Bi9S,GAAuB,kBAACH,GAAqB,OAC5CG,GACE,0BAAM79N,QAAS,WAAM,OAAA89N,GAAsB,KACvC,yBAAKI,MAAM,6BAA6BviR,MAAM,KAAKC,OAAO,KAAKuiR,QAAQ,aAAY,0BAAMzjV,EAAE,6HCrCrG0jV,GAAQ3lT,SAASmmC,eAAe,aAChCy/Q,GAAS5lT,SAASuB,cAAc,OAGpC,iBACI,kBAAC,GAAG,MACJqkT,IA6BND,GAAO/jT,YAAYgkT","file":"main.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1109);\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","//! moment.js\n//! version : 2.26.0\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n global.moment = factory()\n}(this, (function () { 'use strict';\n\n var hookCallback;\n\n function hooks() {\n return hookCallback.apply(null, arguments);\n }\n\n // This is done to register the method called with moment()\n // without creating circular dependencies.\n function setHookCallback(callback) {\n hookCallback = callback;\n }\n\n function isArray(input) {\n return (\n input instanceof Array ||\n Object.prototype.toString.call(input) === '[object Array]'\n );\n }\n\n function isObject(input) {\n // IE8 will treat undefined and null as object if it wasn't for\n // input != null\n return (\n input != null &&\n Object.prototype.toString.call(input) === '[object Object]'\n );\n }\n\n function hasOwnProp(a, b) {\n return Object.prototype.hasOwnProperty.call(a, b);\n }\n\n function isObjectEmpty(obj) {\n if (Object.getOwnPropertyNames) {\n return Object.getOwnPropertyNames(obj).length === 0;\n } else {\n var k;\n for (k in obj) {\n if (hasOwnProp(obj, k)) {\n return false;\n }\n }\n return true;\n }\n }\n\n function isUndefined(input) {\n return input === void 0;\n }\n\n function isNumber(input) {\n return (\n typeof input === 'number' ||\n Object.prototype.toString.call(input) === '[object Number]'\n );\n }\n\n function isDate(input) {\n return (\n input instanceof Date ||\n Object.prototype.toString.call(input) === '[object Date]'\n );\n }\n\n function map(arr, fn) {\n var res = [],\n i;\n for (i = 0; i < arr.length; ++i) {\n res.push(fn(arr[i], i));\n }\n return res;\n }\n\n function extend(a, b) {\n for (var i in b) {\n if (hasOwnProp(b, i)) {\n a[i] = b[i];\n }\n }\n\n if (hasOwnProp(b, 'toString')) {\n a.toString = b.toString;\n }\n\n if (hasOwnProp(b, 'valueOf')) {\n a.valueOf = b.valueOf;\n }\n\n return a;\n }\n\n function createUTC(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, true).utc();\n }\n\n function defaultParsingFlags() {\n // We need to deep clone this object.\n return {\n empty: false,\n unusedTokens: [],\n unusedInput: [],\n overflow: -2,\n charsLeftOver: 0,\n nullInput: false,\n invalidEra: null,\n invalidMonth: null,\n invalidFormat: false,\n userInvalidated: false,\n iso: false,\n parsedDateParts: [],\n era: null,\n meridiem: null,\n rfc2822: false,\n weekdayMismatch: false,\n };\n }\n\n function getParsingFlags(m) {\n if (m._pf == null) {\n m._pf = defaultParsingFlags();\n }\n return m._pf;\n }\n\n var some;\n if (Array.prototype.some) {\n some = Array.prototype.some;\n } else {\n some = function (fun) {\n var t = Object(this),\n len = t.length >>> 0,\n i;\n\n for (i = 0; i < len; i++) {\n if (i in t && fun.call(this, t[i], i, t)) {\n return true;\n }\n }\n\n return false;\n };\n }\n\n function isValid(m) {\n if (m._isValid == null) {\n var flags = getParsingFlags(m),\n parsedParts = some.call(flags.parsedDateParts, function (i) {\n return i != null;\n }),\n isNowValid =\n !isNaN(m._d.getTime()) &&\n flags.overflow < 0 &&\n !flags.empty &&\n !flags.invalidEra &&\n !flags.invalidMonth &&\n !flags.invalidWeekday &&\n !flags.weekdayMismatch &&\n !flags.nullInput &&\n !flags.invalidFormat &&\n !flags.userInvalidated &&\n (!flags.meridiem || (flags.meridiem && parsedParts));\n\n if (m._strict) {\n isNowValid =\n isNowValid &&\n flags.charsLeftOver === 0 &&\n flags.unusedTokens.length === 0 &&\n flags.bigHour === undefined;\n }\n\n if (Object.isFrozen == null || !Object.isFrozen(m)) {\n m._isValid = isNowValid;\n } else {\n return isNowValid;\n }\n }\n return m._isValid;\n }\n\n function createInvalid(flags) {\n var m = createUTC(NaN);\n if (flags != null) {\n extend(getParsingFlags(m), flags);\n } else {\n getParsingFlags(m).userInvalidated = true;\n }\n\n return m;\n }\n\n // Plugins that add properties should also add the key here (null value),\n // so we can properly clone ourselves.\n var momentProperties = (hooks.momentProperties = []),\n updateInProgress = false;\n\n function copyConfig(to, from) {\n var i, prop, val;\n\n if (!isUndefined(from._isAMomentObject)) {\n to._isAMomentObject = from._isAMomentObject;\n }\n if (!isUndefined(from._i)) {\n to._i = from._i;\n }\n if (!isUndefined(from._f)) {\n to._f = from._f;\n }\n if (!isUndefined(from._l)) {\n to._l = from._l;\n }\n if (!isUndefined(from._strict)) {\n to._strict = from._strict;\n }\n if (!isUndefined(from._tzm)) {\n to._tzm = from._tzm;\n }\n if (!isUndefined(from._isUTC)) {\n to._isUTC = from._isUTC;\n }\n if (!isUndefined(from._offset)) {\n to._offset = from._offset;\n }\n if (!isUndefined(from._pf)) {\n to._pf = getParsingFlags(from);\n }\n if (!isUndefined(from._locale)) {\n to._locale = from._locale;\n }\n\n if (momentProperties.length > 0) {\n for (i = 0; i < momentProperties.length; i++) {\n prop = momentProperties[i];\n val = from[prop];\n if (!isUndefined(val)) {\n to[prop] = val;\n }\n }\n }\n\n return to;\n }\n\n // Moment prototype object\n function Moment(config) {\n copyConfig(this, config);\n this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n if (!this.isValid()) {\n this._d = new Date(NaN);\n }\n // Prevent infinite loop in case updateOffset creates new moment\n // objects.\n if (updateInProgress === false) {\n updateInProgress = true;\n hooks.updateOffset(this);\n updateInProgress = false;\n }\n }\n\n function isMoment(obj) {\n return (\n obj instanceof Moment || (obj != null && obj._isAMomentObject != null)\n );\n }\n\n function warn(msg) {\n if (\n hooks.suppressDeprecationWarnings === false &&\n typeof console !== 'undefined' &&\n console.warn\n ) {\n console.warn('Deprecation warning: ' + msg);\n }\n }\n\n function deprecate(msg, fn) {\n var firstTime = true;\n\n return extend(function () {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(null, msg);\n }\n if (firstTime) {\n var args = [],\n arg,\n i,\n key;\n for (i = 0; i < arguments.length; i++) {\n arg = '';\n if (typeof arguments[i] === 'object') {\n arg += '\\n[' + i + '] ';\n for (key in arguments[0]) {\n if (hasOwnProp(arguments[0], key)) {\n arg += key + ': ' + arguments[0][key] + ', ';\n }\n }\n arg = arg.slice(0, -2); // Remove trailing comma and space\n } else {\n arg = arguments[i];\n }\n args.push(arg);\n }\n warn(\n msg +\n '\\nArguments: ' +\n Array.prototype.slice.call(args).join('') +\n '\\n' +\n new Error().stack\n );\n firstTime = false;\n }\n return fn.apply(this, arguments);\n }, fn);\n }\n\n var deprecations = {};\n\n function deprecateSimple(name, msg) {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(name, msg);\n }\n if (!deprecations[name]) {\n warn(msg);\n deprecations[name] = true;\n }\n }\n\n hooks.suppressDeprecationWarnings = false;\n hooks.deprecationHandler = null;\n\n function isFunction(input) {\n return (\n (typeof Function !== 'undefined' && input instanceof Function) ||\n Object.prototype.toString.call(input) === '[object Function]'\n );\n }\n\n function set(config) {\n var prop, i;\n for (i in config) {\n if (hasOwnProp(config, i)) {\n prop = config[i];\n if (isFunction(prop)) {\n this[i] = prop;\n } else {\n this['_' + i] = prop;\n }\n }\n }\n this._config = config;\n // Lenient ordinal parsing accepts just a number in addition to\n // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n this._dayOfMonthOrdinalParseLenient = new RegExp(\n (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +\n '|' +\n /\\d{1,2}/.source\n );\n }\n\n function mergeConfigs(parentConfig, childConfig) {\n var res = extend({}, parentConfig),\n prop;\n for (prop in childConfig) {\n if (hasOwnProp(childConfig, prop)) {\n if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n res[prop] = {};\n extend(res[prop], parentConfig[prop]);\n extend(res[prop], childConfig[prop]);\n } else if (childConfig[prop] != null) {\n res[prop] = childConfig[prop];\n } else {\n delete res[prop];\n }\n }\n }\n for (prop in parentConfig) {\n if (\n hasOwnProp(parentConfig, prop) &&\n !hasOwnProp(childConfig, prop) &&\n isObject(parentConfig[prop])\n ) {\n // make sure changes to properties don't modify parent config\n res[prop] = extend({}, res[prop]);\n }\n }\n return res;\n }\n\n function Locale(config) {\n if (config != null) {\n this.set(config);\n }\n }\n\n var keys;\n\n if (Object.keys) {\n keys = Object.keys;\n } else {\n keys = function (obj) {\n var i,\n res = [];\n for (i in obj) {\n if (hasOwnProp(obj, i)) {\n res.push(i);\n }\n }\n return res;\n };\n }\n\n var defaultCalendar = {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n };\n\n function calendar(key, mom, now) {\n var output = this._calendar[key] || this._calendar['sameElse'];\n return isFunction(output) ? output.call(mom, now) : output;\n }\n\n function zeroFill(number, targetLength, forceSign) {\n var absNumber = '' + Math.abs(number),\n zerosToFill = targetLength - absNumber.length,\n sign = number >= 0;\n return (\n (sign ? (forceSign ? '+' : '') : '-') +\n Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +\n absNumber\n );\n }\n\n var formattingTokens = /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,\n localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,\n formatFunctions = {},\n formatTokenFunctions = {};\n\n // token: 'M'\n // padded: ['MM', 2]\n // ordinal: 'Mo'\n // callback: function () { this.month() + 1 }\n function addFormatToken(token, padded, ordinal, callback) {\n var func = callback;\n if (typeof callback === 'string') {\n func = function () {\n return this[callback]();\n };\n }\n if (token) {\n formatTokenFunctions[token] = func;\n }\n if (padded) {\n formatTokenFunctions[padded[0]] = function () {\n return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n };\n }\n if (ordinal) {\n formatTokenFunctions[ordinal] = function () {\n return this.localeData().ordinal(\n func.apply(this, arguments),\n token\n );\n };\n }\n }\n\n function removeFormattingTokens(input) {\n if (input.match(/\\[[\\s\\S]/)) {\n return input.replace(/^\\[|\\]$/g, '');\n }\n return input.replace(/\\\\/g, '');\n }\n\n function makeFormatFunction(format) {\n var array = format.match(formattingTokens),\n i,\n length;\n\n for (i = 0, length = array.length; i < length; i++) {\n if (formatTokenFunctions[array[i]]) {\n array[i] = formatTokenFunctions[array[i]];\n } else {\n array[i] = removeFormattingTokens(array[i]);\n }\n }\n\n return function (mom) {\n var output = '',\n i;\n for (i = 0; i < length; i++) {\n output += isFunction(array[i])\n ? array[i].call(mom, format)\n : array[i];\n }\n return output;\n };\n }\n\n // format date using native date object\n function formatMoment(m, format) {\n if (!m.isValid()) {\n return m.localeData().invalidDate();\n }\n\n format = expandFormat(format, m.localeData());\n formatFunctions[format] =\n formatFunctions[format] || makeFormatFunction(format);\n\n return formatFunctions[format](m);\n }\n\n function expandFormat(format, locale) {\n var i = 5;\n\n function replaceLongDateFormatTokens(input) {\n return locale.longDateFormat(input) || input;\n }\n\n localFormattingTokens.lastIndex = 0;\n while (i >= 0 && localFormattingTokens.test(format)) {\n format = format.replace(\n localFormattingTokens,\n replaceLongDateFormatTokens\n );\n localFormattingTokens.lastIndex = 0;\n i -= 1;\n }\n\n return format;\n }\n\n var defaultLongDateFormat = {\n LTS: 'h:mm:ss A',\n LT: 'h:mm A',\n L: 'MM/DD/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY h:mm A',\n LLLL: 'dddd, MMMM D, YYYY h:mm A',\n };\n\n function longDateFormat(key) {\n var format = this._longDateFormat[key],\n formatUpper = this._longDateFormat[key.toUpperCase()];\n\n if (format || !formatUpper) {\n return format;\n }\n\n this._longDateFormat[key] = formatUpper\n .match(formattingTokens)\n .map(function (tok) {\n if (\n tok === 'MMMM' ||\n tok === 'MM' ||\n tok === 'DD' ||\n tok === 'dddd'\n ) {\n return tok.slice(1);\n }\n return tok;\n })\n .join('');\n\n return this._longDateFormat[key];\n }\n\n var defaultInvalidDate = 'Invalid date';\n\n function invalidDate() {\n return this._invalidDate;\n }\n\n var defaultOrdinal = '%d',\n defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n\n function ordinal(number) {\n return this._ordinal.replace('%d', number);\n }\n\n var defaultRelativeTime = {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n w: 'a week',\n ww: '%d weeks',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n };\n\n function relativeTime(number, withoutSuffix, string, isFuture) {\n var output = this._relativeTime[string];\n return isFunction(output)\n ? output(number, withoutSuffix, string, isFuture)\n : output.replace(/%d/i, number);\n }\n\n function pastFuture(diff, output) {\n var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n }\n\n var aliases = {};\n\n function addUnitAlias(unit, shorthand) {\n var lowerCase = unit.toLowerCase();\n aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit;\n }\n\n function normalizeUnits(units) {\n return typeof units === 'string'\n ? aliases[units] || aliases[units.toLowerCase()]\n : undefined;\n }\n\n function normalizeObjectUnits(inputObject) {\n var normalizedInput = {},\n normalizedProp,\n prop;\n\n for (prop in inputObject) {\n if (hasOwnProp(inputObject, prop)) {\n normalizedProp = normalizeUnits(prop);\n if (normalizedProp) {\n normalizedInput[normalizedProp] = inputObject[prop];\n }\n }\n }\n\n return normalizedInput;\n }\n\n var priorities = {};\n\n function addUnitPriority(unit, priority) {\n priorities[unit] = priority;\n }\n\n function getPrioritizedUnits(unitsObj) {\n var units = [],\n u;\n for (u in unitsObj) {\n if (hasOwnProp(unitsObj, u)) {\n units.push({ unit: u, priority: priorities[u] });\n }\n }\n units.sort(function (a, b) {\n return a.priority - b.priority;\n });\n return units;\n }\n\n function isLeapYear(year) {\n return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;\n }\n\n function absFloor(number) {\n if (number < 0) {\n // -0 -> 0\n return Math.ceil(number) || 0;\n } else {\n return Math.floor(number);\n }\n }\n\n function toInt(argumentForCoercion) {\n var coercedNumber = +argumentForCoercion,\n value = 0;\n\n if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n value = absFloor(coercedNumber);\n }\n\n return value;\n }\n\n function makeGetSet(unit, keepTime) {\n return function (value) {\n if (value != null) {\n set$1(this, unit, value);\n hooks.updateOffset(this, keepTime);\n return this;\n } else {\n return get(this, unit);\n }\n };\n }\n\n function get(mom, unit) {\n return mom.isValid()\n ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]()\n : NaN;\n }\n\n function set$1(mom, unit, value) {\n if (mom.isValid() && !isNaN(value)) {\n if (\n unit === 'FullYear' &&\n isLeapYear(mom.year()) &&\n mom.month() === 1 &&\n mom.date() === 29\n ) {\n value = toInt(value);\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](\n value,\n mom.month(),\n daysInMonth(value, mom.month())\n );\n } else {\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);\n }\n }\n }\n\n // MOMENTS\n\n function stringGet(units) {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units]();\n }\n return this;\n }\n\n function stringSet(units, value) {\n if (typeof units === 'object') {\n units = normalizeObjectUnits(units);\n var prioritized = getPrioritizedUnits(units),\n i;\n for (i = 0; i < prioritized.length; i++) {\n this[prioritized[i].unit](units[prioritized[i].unit]);\n }\n } else {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units](value);\n }\n }\n return this;\n }\n\n var match1 = /\\d/, // 0 - 9\n match2 = /\\d\\d/, // 00 - 99\n match3 = /\\d{3}/, // 000 - 999\n match4 = /\\d{4}/, // 0000 - 9999\n match6 = /[+-]?\\d{6}/, // -999999 - 999999\n match1to2 = /\\d\\d?/, // 0 - 99\n match3to4 = /\\d\\d\\d\\d?/, // 999 - 9999\n match5to6 = /\\d\\d\\d\\d\\d\\d?/, // 99999 - 999999\n match1to3 = /\\d{1,3}/, // 0 - 999\n match1to4 = /\\d{1,4}/, // 0 - 9999\n match1to6 = /[+-]?\\d{1,6}/, // -999999 - 999999\n matchUnsigned = /\\d+/, // 0 - inf\n matchSigned = /[+-]?\\d+/, // -inf - inf\n matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi, // +00:00 -00:00 +0000 -0000 or Z\n matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/, // 123456789 123456789.123\n // any word (or two) characters or numbers including two/three word month in arabic.\n // includes scottish gaelic two word and hyphenated months\n matchWord = /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,\n regexes;\n\n regexes = {};\n\n function addRegexToken(token, regex, strictRegex) {\n regexes[token] = isFunction(regex)\n ? regex\n : function (isStrict, localeData) {\n return isStrict && strictRegex ? strictRegex : regex;\n };\n }\n\n function getParseRegexForToken(token, config) {\n if (!hasOwnProp(regexes, token)) {\n return new RegExp(unescapeFormat(token));\n }\n\n return regexes[token](config._strict, config._locale);\n }\n\n // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\n function unescapeFormat(s) {\n return regexEscape(\n s\n .replace('\\\\', '')\n .replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g, function (\n matched,\n p1,\n p2,\n p3,\n p4\n ) {\n return p1 || p2 || p3 || p4;\n })\n );\n }\n\n function regexEscape(s) {\n return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n }\n\n var tokens = {};\n\n function addParseToken(token, callback) {\n var i,\n func = callback;\n if (typeof token === 'string') {\n token = [token];\n }\n if (isNumber(callback)) {\n func = function (input, array) {\n array[callback] = toInt(input);\n };\n }\n for (i = 0; i < token.length; i++) {\n tokens[token[i]] = func;\n }\n }\n\n function addWeekParseToken(token, callback) {\n addParseToken(token, function (input, array, config, token) {\n config._w = config._w || {};\n callback(input, config._w, config, token);\n });\n }\n\n function addTimeToArrayFromToken(token, input, config) {\n if (input != null && hasOwnProp(tokens, token)) {\n tokens[token](input, config._a, config, token);\n }\n }\n\n var YEAR = 0,\n MONTH = 1,\n DATE = 2,\n HOUR = 3,\n MINUTE = 4,\n SECOND = 5,\n MILLISECOND = 6,\n WEEK = 7,\n WEEKDAY = 8;\n\n function mod(n, x) {\n return ((n % x) + x) % x;\n }\n\n var indexOf;\n\n if (Array.prototype.indexOf) {\n indexOf = Array.prototype.indexOf;\n } else {\n indexOf = function (o) {\n // I know\n var i;\n for (i = 0; i < this.length; ++i) {\n if (this[i] === o) {\n return i;\n }\n }\n return -1;\n };\n }\n\n function daysInMonth(year, month) {\n if (isNaN(year) || isNaN(month)) {\n return NaN;\n }\n var modMonth = mod(month, 12);\n year += (month - modMonth) / 12;\n return modMonth === 1\n ? isLeapYear(year)\n ? 29\n : 28\n : 31 - ((modMonth % 7) % 2);\n }\n\n // FORMATTING\n\n addFormatToken('M', ['MM', 2], 'Mo', function () {\n return this.month() + 1;\n });\n\n addFormatToken('MMM', 0, 0, function (format) {\n return this.localeData().monthsShort(this, format);\n });\n\n addFormatToken('MMMM', 0, 0, function (format) {\n return this.localeData().months(this, format);\n });\n\n // ALIASES\n\n addUnitAlias('month', 'M');\n\n // PRIORITY\n\n addUnitPriority('month', 8);\n\n // PARSING\n\n addRegexToken('M', match1to2);\n addRegexToken('MM', match1to2, match2);\n addRegexToken('MMM', function (isStrict, locale) {\n return locale.monthsShortRegex(isStrict);\n });\n addRegexToken('MMMM', function (isStrict, locale) {\n return locale.monthsRegex(isStrict);\n });\n\n addParseToken(['M', 'MM'], function (input, array) {\n array[MONTH] = toInt(input) - 1;\n });\n\n addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n var month = config._locale.monthsParse(input, token, config._strict);\n // if we didn't find a month name, mark the date as invalid.\n if (month != null) {\n array[MONTH] = month;\n } else {\n getParsingFlags(config).invalidMonth = input;\n }\n });\n\n // LOCALES\n\n var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split(\n '_'\n ),\n MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,\n defaultMonthsShortRegex = matchWord,\n defaultMonthsRegex = matchWord;\n\n function localeMonths(m, format) {\n if (!m) {\n return isArray(this._months)\n ? this._months\n : this._months['standalone'];\n }\n return isArray(this._months)\n ? this._months[m.month()]\n : this._months[\n (this._months.isFormat || MONTHS_IN_FORMAT).test(format)\n ? 'format'\n : 'standalone'\n ][m.month()];\n }\n\n function localeMonthsShort(m, format) {\n if (!m) {\n return isArray(this._monthsShort)\n ? this._monthsShort\n : this._monthsShort['standalone'];\n }\n return isArray(this._monthsShort)\n ? this._monthsShort[m.month()]\n : this._monthsShort[\n MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'\n ][m.month()];\n }\n\n function handleStrictParse(monthName, format, strict) {\n var i,\n ii,\n mom,\n llc = monthName.toLocaleLowerCase();\n if (!this._monthsParse) {\n // this is not used\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n for (i = 0; i < 12; ++i) {\n mom = createUTC([2000, i]);\n this._shortMonthsParse[i] = this.monthsShort(\n mom,\n ''\n ).toLocaleLowerCase();\n this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n }\n }\n\n if (strict) {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n\n function localeMonthsParse(monthName, format, strict) {\n var i, mom, regex;\n\n if (this._monthsParseExact) {\n return handleStrictParse.call(this, monthName, format, strict);\n }\n\n if (!this._monthsParse) {\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n }\n\n // TODO: add sorting\n // Sorting makes sure if one month (or abbr) is a prefix of another\n // see sorting in computeMonthsParse\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n if (strict && !this._longMonthsParse[i]) {\n this._longMonthsParse[i] = new RegExp(\n '^' + this.months(mom, '').replace('.', '') + '$',\n 'i'\n );\n this._shortMonthsParse[i] = new RegExp(\n '^' + this.monthsShort(mom, '').replace('.', '') + '$',\n 'i'\n );\n }\n if (!strict && !this._monthsParse[i]) {\n regex =\n '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (\n strict &&\n format === 'MMMM' &&\n this._longMonthsParse[i].test(monthName)\n ) {\n return i;\n } else if (\n strict &&\n format === 'MMM' &&\n this._shortMonthsParse[i].test(monthName)\n ) {\n return i;\n } else if (!strict && this._monthsParse[i].test(monthName)) {\n return i;\n }\n }\n }\n\n // MOMENTS\n\n function setMonth(mom, value) {\n var dayOfMonth;\n\n if (!mom.isValid()) {\n // No op\n return mom;\n }\n\n if (typeof value === 'string') {\n if (/^\\d+$/.test(value)) {\n value = toInt(value);\n } else {\n value = mom.localeData().monthsParse(value);\n // TODO: Another silent failure?\n if (!isNumber(value)) {\n return mom;\n }\n }\n }\n\n dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));\n mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);\n return mom;\n }\n\n function getSetMonth(value) {\n if (value != null) {\n setMonth(this, value);\n hooks.updateOffset(this, true);\n return this;\n } else {\n return get(this, 'Month');\n }\n }\n\n function getDaysInMonth() {\n return daysInMonth(this.year(), this.month());\n }\n\n function monthsShortRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsShortStrictRegex;\n } else {\n return this._monthsShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsShortRegex')) {\n this._monthsShortRegex = defaultMonthsShortRegex;\n }\n return this._monthsShortStrictRegex && isStrict\n ? this._monthsShortStrictRegex\n : this._monthsShortRegex;\n }\n }\n\n function monthsRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsStrictRegex;\n } else {\n return this._monthsRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsRegex')) {\n this._monthsRegex = defaultMonthsRegex;\n }\n return this._monthsStrictRegex && isStrict\n ? this._monthsStrictRegex\n : this._monthsRegex;\n }\n }\n\n function computeMonthsParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n\n var shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom;\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n shortPieces.push(this.monthsShort(mom, ''));\n longPieces.push(this.months(mom, ''));\n mixedPieces.push(this.months(mom, ''));\n mixedPieces.push(this.monthsShort(mom, ''));\n }\n // Sorting makes sure if one month (or abbr) is a prefix of another it\n // will match the longer piece.\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n for (i = 0; i < 12; i++) {\n shortPieces[i] = regexEscape(shortPieces[i]);\n longPieces[i] = regexEscape(longPieces[i]);\n }\n for (i = 0; i < 24; i++) {\n mixedPieces[i] = regexEscape(mixedPieces[i]);\n }\n\n this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._monthsShortRegex = this._monthsRegex;\n this._monthsStrictRegex = new RegExp(\n '^(' + longPieces.join('|') + ')',\n 'i'\n );\n this._monthsShortStrictRegex = new RegExp(\n '^(' + shortPieces.join('|') + ')',\n 'i'\n );\n }\n\n // FORMATTING\n\n addFormatToken('Y', 0, 0, function () {\n var y = this.year();\n return y <= 9999 ? zeroFill(y, 4) : '+' + y;\n });\n\n addFormatToken(0, ['YY', 2], 0, function () {\n return this.year() % 100;\n });\n\n addFormatToken(0, ['YYYY', 4], 0, 'year');\n addFormatToken(0, ['YYYYY', 5], 0, 'year');\n addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');\n\n // ALIASES\n\n addUnitAlias('year', 'y');\n\n // PRIORITIES\n\n addUnitPriority('year', 1);\n\n // PARSING\n\n addRegexToken('Y', matchSigned);\n addRegexToken('YY', match1to2, match2);\n addRegexToken('YYYY', match1to4, match4);\n addRegexToken('YYYYY', match1to6, match6);\n addRegexToken('YYYYYY', match1to6, match6);\n\n addParseToken(['YYYYY', 'YYYYYY'], YEAR);\n addParseToken('YYYY', function (input, array) {\n array[YEAR] =\n input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n });\n addParseToken('YY', function (input, array) {\n array[YEAR] = hooks.parseTwoDigitYear(input);\n });\n addParseToken('Y', function (input, array) {\n array[YEAR] = parseInt(input, 10);\n });\n\n // HELPERS\n\n function daysInYear(year) {\n return isLeapYear(year) ? 366 : 365;\n }\n\n // HOOKS\n\n hooks.parseTwoDigitYear = function (input) {\n return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n };\n\n // MOMENTS\n\n var getSetYear = makeGetSet('FullYear', true);\n\n function getIsLeapYear() {\n return isLeapYear(this.year());\n }\n\n function createDate(y, m, d, h, M, s, ms) {\n // can't just apply() to create a date:\n // https://stackoverflow.com/q/181348\n var date;\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n date = new Date(y + 400, m, d, h, M, s, ms);\n if (isFinite(date.getFullYear())) {\n date.setFullYear(y);\n }\n } else {\n date = new Date(y, m, d, h, M, s, ms);\n }\n\n return date;\n }\n\n function createUTCDate(y) {\n var date, args;\n // the Date.UTC function remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n args = Array.prototype.slice.call(arguments);\n // preserve leap years using a full 400 year cycle, then reset\n args[0] = y + 400;\n date = new Date(Date.UTC.apply(null, args));\n if (isFinite(date.getUTCFullYear())) {\n date.setUTCFullYear(y);\n }\n } else {\n date = new Date(Date.UTC.apply(null, arguments));\n }\n\n return date;\n }\n\n // start-of-first-week - start-of-year\n function firstWeekOffset(year, dow, doy) {\n var // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n fwd = 7 + dow - doy,\n // first-week day local weekday -- which local weekday is fwd\n fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n\n return -fwdlw + fwd - 1;\n }\n\n // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\n function dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n var localWeekday = (7 + weekday - dow) % 7,\n weekOffset = firstWeekOffset(year, dow, doy),\n dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n resYear,\n resDayOfYear;\n\n if (dayOfYear <= 0) {\n resYear = year - 1;\n resDayOfYear = daysInYear(resYear) + dayOfYear;\n } else if (dayOfYear > daysInYear(year)) {\n resYear = year + 1;\n resDayOfYear = dayOfYear - daysInYear(year);\n } else {\n resYear = year;\n resDayOfYear = dayOfYear;\n }\n\n return {\n year: resYear,\n dayOfYear: resDayOfYear,\n };\n }\n\n function weekOfYear(mom, dow, doy) {\n var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n resWeek,\n resYear;\n\n if (week < 1) {\n resYear = mom.year() - 1;\n resWeek = week + weeksInYear(resYear, dow, doy);\n } else if (week > weeksInYear(mom.year(), dow, doy)) {\n resWeek = week - weeksInYear(mom.year(), dow, doy);\n resYear = mom.year() + 1;\n } else {\n resYear = mom.year();\n resWeek = week;\n }\n\n return {\n week: resWeek,\n year: resYear,\n };\n }\n\n function weeksInYear(year, dow, doy) {\n var weekOffset = firstWeekOffset(year, dow, doy),\n weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n }\n\n // FORMATTING\n\n addFormatToken('w', ['ww', 2], 'wo', 'week');\n addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');\n\n // ALIASES\n\n addUnitAlias('week', 'w');\n addUnitAlias('isoWeek', 'W');\n\n // PRIORITIES\n\n addUnitPriority('week', 5);\n addUnitPriority('isoWeek', 5);\n\n // PARSING\n\n addRegexToken('w', match1to2);\n addRegexToken('ww', match1to2, match2);\n addRegexToken('W', match1to2);\n addRegexToken('WW', match1to2, match2);\n\n addWeekParseToken(['w', 'ww', 'W', 'WW'], function (\n input,\n week,\n config,\n token\n ) {\n week[token.substr(0, 1)] = toInt(input);\n });\n\n // HELPERS\n\n // LOCALES\n\n function localeWeek(mom) {\n return weekOfYear(mom, this._week.dow, this._week.doy).week;\n }\n\n var defaultLocaleWeek = {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n };\n\n function localeFirstDayOfWeek() {\n return this._week.dow;\n }\n\n function localeFirstDayOfYear() {\n return this._week.doy;\n }\n\n // MOMENTS\n\n function getSetWeek(input) {\n var week = this.localeData().week(this);\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n\n function getSetISOWeek(input) {\n var week = weekOfYear(this, 1, 4).week;\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n\n // FORMATTING\n\n addFormatToken('d', 0, 'do', 'day');\n\n addFormatToken('dd', 0, 0, function (format) {\n return this.localeData().weekdaysMin(this, format);\n });\n\n addFormatToken('ddd', 0, 0, function (format) {\n return this.localeData().weekdaysShort(this, format);\n });\n\n addFormatToken('dddd', 0, 0, function (format) {\n return this.localeData().weekdays(this, format);\n });\n\n addFormatToken('e', 0, 0, 'weekday');\n addFormatToken('E', 0, 0, 'isoWeekday');\n\n // ALIASES\n\n addUnitAlias('day', 'd');\n addUnitAlias('weekday', 'e');\n addUnitAlias('isoWeekday', 'E');\n\n // PRIORITY\n addUnitPriority('day', 11);\n addUnitPriority('weekday', 11);\n addUnitPriority('isoWeekday', 11);\n\n // PARSING\n\n addRegexToken('d', match1to2);\n addRegexToken('e', match1to2);\n addRegexToken('E', match1to2);\n addRegexToken('dd', function (isStrict, locale) {\n return locale.weekdaysMinRegex(isStrict);\n });\n addRegexToken('ddd', function (isStrict, locale) {\n return locale.weekdaysShortRegex(isStrict);\n });\n addRegexToken('dddd', function (isStrict, locale) {\n return locale.weekdaysRegex(isStrict);\n });\n\n addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n var weekday = config._locale.weekdaysParse(input, token, config._strict);\n // if we didn't get a weekday name, mark the date as invalid\n if (weekday != null) {\n week.d = weekday;\n } else {\n getParsingFlags(config).invalidWeekday = input;\n }\n });\n\n addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n week[token] = toInt(input);\n });\n\n // HELPERS\n\n function parseWeekday(input, locale) {\n if (typeof input !== 'string') {\n return input;\n }\n\n if (!isNaN(input)) {\n return parseInt(input, 10);\n }\n\n input = locale.weekdaysParse(input);\n if (typeof input === 'number') {\n return input;\n }\n\n return null;\n }\n\n function parseIsoWeekday(input, locale) {\n if (typeof input === 'string') {\n return locale.weekdaysParse(input) % 7 || 7;\n }\n return isNaN(input) ? null : input;\n }\n\n // LOCALES\n function shiftWeekdays(ws, n) {\n return ws.slice(n, 7).concat(ws.slice(0, n));\n }\n\n var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n defaultWeekdaysRegex = matchWord,\n defaultWeekdaysShortRegex = matchWord,\n defaultWeekdaysMinRegex = matchWord;\n\n function localeWeekdays(m, format) {\n var weekdays = isArray(this._weekdays)\n ? this._weekdays\n : this._weekdays[\n m && m !== true && this._weekdays.isFormat.test(format)\n ? 'format'\n : 'standalone'\n ];\n return m === true\n ? shiftWeekdays(weekdays, this._week.dow)\n : m\n ? weekdays[m.day()]\n : weekdays;\n }\n\n function localeWeekdaysShort(m) {\n return m === true\n ? shiftWeekdays(this._weekdaysShort, this._week.dow)\n : m\n ? this._weekdaysShort[m.day()]\n : this._weekdaysShort;\n }\n\n function localeWeekdaysMin(m) {\n return m === true\n ? shiftWeekdays(this._weekdaysMin, this._week.dow)\n : m\n ? this._weekdaysMin[m.day()]\n : this._weekdaysMin;\n }\n\n function handleStrictParse$1(weekdayName, format, strict) {\n var i,\n ii,\n mom,\n llc = weekdayName.toLocaleLowerCase();\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._minWeekdaysParse = [];\n\n for (i = 0; i < 7; ++i) {\n mom = createUTC([2000, 1]).day(i);\n this._minWeekdaysParse[i] = this.weekdaysMin(\n mom,\n ''\n ).toLocaleLowerCase();\n this._shortWeekdaysParse[i] = this.weekdaysShort(\n mom,\n ''\n ).toLocaleLowerCase();\n this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n }\n }\n\n if (strict) {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n\n function localeWeekdaysParse(weekdayName, format, strict) {\n var i, mom, regex;\n\n if (this._weekdaysParseExact) {\n return handleStrictParse$1.call(this, weekdayName, format, strict);\n }\n\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._minWeekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._fullWeekdaysParse = [];\n }\n\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n\n mom = createUTC([2000, 1]).day(i);\n if (strict && !this._fullWeekdaysParse[i]) {\n this._fullWeekdaysParse[i] = new RegExp(\n '^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$',\n 'i'\n );\n this._shortWeekdaysParse[i] = new RegExp(\n '^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$',\n 'i'\n );\n this._minWeekdaysParse[i] = new RegExp(\n '^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$',\n 'i'\n );\n }\n if (!this._weekdaysParse[i]) {\n regex =\n '^' +\n this.weekdays(mom, '') +\n '|^' +\n this.weekdaysShort(mom, '') +\n '|^' +\n this.weekdaysMin(mom, '');\n this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (\n strict &&\n format === 'dddd' &&\n this._fullWeekdaysParse[i].test(weekdayName)\n ) {\n return i;\n } else if (\n strict &&\n format === 'ddd' &&\n this._shortWeekdaysParse[i].test(weekdayName)\n ) {\n return i;\n } else if (\n strict &&\n format === 'dd' &&\n this._minWeekdaysParse[i].test(weekdayName)\n ) {\n return i;\n } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n return i;\n }\n }\n }\n\n // MOMENTS\n\n function getSetDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();\n if (input != null) {\n input = parseWeekday(input, this.localeData());\n return this.add(input - day, 'd');\n } else {\n return day;\n }\n }\n\n function getSetLocaleDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n return input == null ? weekday : this.add(input - weekday, 'd');\n }\n\n function getSetISODayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n // behaves the same as moment#day except\n // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n // as a setter, sunday should belong to the previous week.\n\n if (input != null) {\n var weekday = parseIsoWeekday(input, this.localeData());\n return this.day(this.day() % 7 ? weekday : weekday - 7);\n } else {\n return this.day() || 7;\n }\n }\n\n function weekdaysRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysStrictRegex;\n } else {\n return this._weekdaysRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n this._weekdaysRegex = defaultWeekdaysRegex;\n }\n return this._weekdaysStrictRegex && isStrict\n ? this._weekdaysStrictRegex\n : this._weekdaysRegex;\n }\n }\n\n function weekdaysShortRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysShortStrictRegex;\n } else {\n return this._weekdaysShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n }\n return this._weekdaysShortStrictRegex && isStrict\n ? this._weekdaysShortStrictRegex\n : this._weekdaysShortRegex;\n }\n }\n\n function weekdaysMinRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysMinStrictRegex;\n } else {\n return this._weekdaysMinRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n }\n return this._weekdaysMinStrictRegex && isStrict\n ? this._weekdaysMinStrictRegex\n : this._weekdaysMinRegex;\n }\n }\n\n function computeWeekdaysParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n\n var minPieces = [],\n shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom,\n minp,\n shortp,\n longp;\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, 1]).day(i);\n minp = regexEscape(this.weekdaysMin(mom, ''));\n shortp = regexEscape(this.weekdaysShort(mom, ''));\n longp = regexEscape(this.weekdays(mom, ''));\n minPieces.push(minp);\n shortPieces.push(shortp);\n longPieces.push(longp);\n mixedPieces.push(minp);\n mixedPieces.push(shortp);\n mixedPieces.push(longp);\n }\n // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n // will match the longer piece.\n minPieces.sort(cmpLenRev);\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n\n this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._weekdaysShortRegex = this._weekdaysRegex;\n this._weekdaysMinRegex = this._weekdaysRegex;\n\n this._weekdaysStrictRegex = new RegExp(\n '^(' + longPieces.join('|') + ')',\n 'i'\n );\n this._weekdaysShortStrictRegex = new RegExp(\n '^(' + shortPieces.join('|') + ')',\n 'i'\n );\n this._weekdaysMinStrictRegex = new RegExp(\n '^(' + minPieces.join('|') + ')',\n 'i'\n );\n }\n\n // FORMATTING\n\n function hFormat() {\n return this.hours() % 12 || 12;\n }\n\n function kFormat() {\n return this.hours() || 24;\n }\n\n addFormatToken('H', ['HH', 2], 0, 'hour');\n addFormatToken('h', ['hh', 2], 0, hFormat);\n addFormatToken('k', ['kk', 2], 0, kFormat);\n\n addFormatToken('hmm', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n });\n\n addFormatToken('hmmss', 0, 0, function () {\n return (\n '' +\n hFormat.apply(this) +\n zeroFill(this.minutes(), 2) +\n zeroFill(this.seconds(), 2)\n );\n });\n\n addFormatToken('Hmm', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2);\n });\n\n addFormatToken('Hmmss', 0, 0, function () {\n return (\n '' +\n this.hours() +\n zeroFill(this.minutes(), 2) +\n zeroFill(this.seconds(), 2)\n );\n });\n\n function meridiem(token, lowercase) {\n addFormatToken(token, 0, 0, function () {\n return this.localeData().meridiem(\n this.hours(),\n this.minutes(),\n lowercase\n );\n });\n }\n\n meridiem('a', true);\n meridiem('A', false);\n\n // ALIASES\n\n addUnitAlias('hour', 'h');\n\n // PRIORITY\n addUnitPriority('hour', 13);\n\n // PARSING\n\n function matchMeridiem(isStrict, locale) {\n return locale._meridiemParse;\n }\n\n addRegexToken('a', matchMeridiem);\n addRegexToken('A', matchMeridiem);\n addRegexToken('H', match1to2);\n addRegexToken('h', match1to2);\n addRegexToken('k', match1to2);\n addRegexToken('HH', match1to2, match2);\n addRegexToken('hh', match1to2, match2);\n addRegexToken('kk', match1to2, match2);\n\n addRegexToken('hmm', match3to4);\n addRegexToken('hmmss', match5to6);\n addRegexToken('Hmm', match3to4);\n addRegexToken('Hmmss', match5to6);\n\n addParseToken(['H', 'HH'], HOUR);\n addParseToken(['k', 'kk'], function (input, array, config) {\n var kInput = toInt(input);\n array[HOUR] = kInput === 24 ? 0 : kInput;\n });\n addParseToken(['a', 'A'], function (input, array, config) {\n config._isPm = config._locale.isPM(input);\n config._meridiem = input;\n });\n addParseToken(['h', 'hh'], function (input, array, config) {\n array[HOUR] = toInt(input);\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('Hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n });\n addParseToken('Hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n });\n\n // LOCALES\n\n function localeIsPM(input) {\n // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n // Using charAt should be more compatible.\n return (input + '').toLowerCase().charAt(0) === 'p';\n }\n\n var defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i,\n // Setting the hour should keep the time, because the user explicitly\n // specified which hour they want. So trying to maintain the same hour (in\n // a new timezone) makes sense. Adding/subtracting hours does not follow\n // this rule.\n getSetHour = makeGetSet('Hours', true);\n\n function localeMeridiem(hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'pm' : 'PM';\n } else {\n return isLower ? 'am' : 'AM';\n }\n }\n\n var baseConfig = {\n calendar: defaultCalendar,\n longDateFormat: defaultLongDateFormat,\n invalidDate: defaultInvalidDate,\n ordinal: defaultOrdinal,\n dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n relativeTime: defaultRelativeTime,\n\n months: defaultLocaleMonths,\n monthsShort: defaultLocaleMonthsShort,\n\n week: defaultLocaleWeek,\n\n weekdays: defaultLocaleWeekdays,\n weekdaysMin: defaultLocaleWeekdaysMin,\n weekdaysShort: defaultLocaleWeekdaysShort,\n\n meridiemParse: defaultLocaleMeridiemParse,\n };\n\n // internal storage for locale config files\n var locales = {},\n localeFamilies = {},\n globalLocale;\n\n function commonPrefix(arr1, arr2) {\n var i,\n minl = Math.min(arr1.length, arr2.length);\n for (i = 0; i < minl; i += 1) {\n if (arr1[i] !== arr2[i]) {\n return i;\n }\n }\n return minl;\n }\n\n function normalizeLocale(key) {\n return key ? key.toLowerCase().replace('_', '-') : key;\n }\n\n // pick the locale from the array\n // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\n function chooseLocale(names) {\n var i = 0,\n j,\n next,\n locale,\n split;\n\n while (i < names.length) {\n split = normalizeLocale(names[i]).split('-');\n j = split.length;\n next = normalizeLocale(names[i + 1]);\n next = next ? next.split('-') : null;\n while (j > 0) {\n locale = loadLocale(split.slice(0, j).join('-'));\n if (locale) {\n return locale;\n }\n if (\n next &&\n next.length >= j &&\n commonPrefix(split, next) >= j - 1\n ) {\n //the next array item is better than a shallower substring of this one\n break;\n }\n j--;\n }\n i++;\n }\n return globalLocale;\n }\n\n function loadLocale(name) {\n var oldLocale = null,\n aliasedRequire;\n // TODO: Find a better way to register and load all the locales in Node\n if (\n locales[name] === undefined &&\n typeof module !== 'undefined' &&\n module &&\n module.exports\n ) {\n try {\n oldLocale = globalLocale._abbr;\n aliasedRequire = require;\n aliasedRequire('./locale/' + name);\n getSetGlobalLocale(oldLocale);\n } catch (e) {\n // mark as not found to avoid repeating expensive file require call causing high CPU\n // when trying to find en-US, en_US, en-us for every format call\n locales[name] = null; // null means not found\n }\n }\n return locales[name];\n }\n\n // This function will load locale and then set the global locale. If\n // no arguments are passed in, it will simply return the current global\n // locale key.\n function getSetGlobalLocale(key, values) {\n var data;\n if (key) {\n if (isUndefined(values)) {\n data = getLocale(key);\n } else {\n data = defineLocale(key, values);\n }\n\n if (data) {\n // moment.duration._locale = moment._locale = data;\n globalLocale = data;\n } else {\n if (typeof console !== 'undefined' && console.warn) {\n //warn user if arguments are passed but the locale could not be set\n console.warn(\n 'Locale ' + key + ' not found. Did you forget to load it?'\n );\n }\n }\n }\n\n return globalLocale._abbr;\n }\n\n function defineLocale(name, config) {\n if (config !== null) {\n var locale,\n parentConfig = baseConfig;\n config.abbr = name;\n if (locales[name] != null) {\n deprecateSimple(\n 'defineLocaleOverride',\n 'use moment.updateLocale(localeName, config) to change ' +\n 'an existing locale. moment.defineLocale(localeName, ' +\n 'config) should only be used for creating a new locale ' +\n 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'\n );\n parentConfig = locales[name]._config;\n } else if (config.parentLocale != null) {\n if (locales[config.parentLocale] != null) {\n parentConfig = locales[config.parentLocale]._config;\n } else {\n locale = loadLocale(config.parentLocale);\n if (locale != null) {\n parentConfig = locale._config;\n } else {\n if (!localeFamilies[config.parentLocale]) {\n localeFamilies[config.parentLocale] = [];\n }\n localeFamilies[config.parentLocale].push({\n name: name,\n config: config,\n });\n return null;\n }\n }\n }\n locales[name] = new Locale(mergeConfigs(parentConfig, config));\n\n if (localeFamilies[name]) {\n localeFamilies[name].forEach(function (x) {\n defineLocale(x.name, x.config);\n });\n }\n\n // backwards compat for now: also set the locale\n // make sure we set the locale AFTER all child locales have been\n // created, so we won't end up with the child locale set.\n getSetGlobalLocale(name);\n\n return locales[name];\n } else {\n // useful for testing\n delete locales[name];\n return null;\n }\n }\n\n function updateLocale(name, config) {\n if (config != null) {\n var locale,\n tmpLocale,\n parentConfig = baseConfig;\n\n if (locales[name] != null && locales[name].parentLocale != null) {\n // Update existing child locale in-place to avoid memory-leaks\n locales[name].set(mergeConfigs(locales[name]._config, config));\n } else {\n // MERGE\n tmpLocale = loadLocale(name);\n if (tmpLocale != null) {\n parentConfig = tmpLocale._config;\n }\n config = mergeConfigs(parentConfig, config);\n if (tmpLocale == null) {\n // updateLocale is called for creating a new locale\n // Set abbr so it will have a name (getters return\n // undefined otherwise).\n config.abbr = name;\n }\n locale = new Locale(config);\n locale.parentLocale = locales[name];\n locales[name] = locale;\n }\n\n // backwards compat for now: also set the locale\n getSetGlobalLocale(name);\n } else {\n // pass null for config to unupdate, useful for tests\n if (locales[name] != null) {\n if (locales[name].parentLocale != null) {\n locales[name] = locales[name].parentLocale;\n if (name === getSetGlobalLocale()) {\n getSetGlobalLocale(name);\n }\n } else if (locales[name] != null) {\n delete locales[name];\n }\n }\n }\n return locales[name];\n }\n\n // returns locale data\n function getLocale(key) {\n var locale;\n\n if (key && key._locale && key._locale._abbr) {\n key = key._locale._abbr;\n }\n\n if (!key) {\n return globalLocale;\n }\n\n if (!isArray(key)) {\n //short-circuit everything else\n locale = loadLocale(key);\n if (locale) {\n return locale;\n }\n key = [key];\n }\n\n return chooseLocale(key);\n }\n\n function listLocales() {\n return keys(locales);\n }\n\n function checkOverflow(m) {\n var overflow,\n a = m._a;\n\n if (a && getParsingFlags(m).overflow === -2) {\n overflow =\n a[MONTH] < 0 || a[MONTH] > 11\n ? MONTH\n : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH])\n ? DATE\n : a[HOUR] < 0 ||\n a[HOUR] > 24 ||\n (a[HOUR] === 24 &&\n (a[MINUTE] !== 0 ||\n a[SECOND] !== 0 ||\n a[MILLISECOND] !== 0))\n ? HOUR\n : a[MINUTE] < 0 || a[MINUTE] > 59\n ? MINUTE\n : a[SECOND] < 0 || a[SECOND] > 59\n ? SECOND\n : a[MILLISECOND] < 0 || a[MILLISECOND] > 999\n ? MILLISECOND\n : -1;\n\n if (\n getParsingFlags(m)._overflowDayOfYear &&\n (overflow < YEAR || overflow > DATE)\n ) {\n overflow = DATE;\n }\n if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n overflow = WEEK;\n }\n if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n overflow = WEEKDAY;\n }\n\n getParsingFlags(m).overflow = overflow;\n }\n\n return m;\n }\n\n // iso 8601 regex\n // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\n var extendedIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n basicIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/,\n isoDates = [\n ['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/],\n ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/],\n ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/],\n ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false],\n ['YYYY-DDD', /\\d{4}-\\d{3}/],\n ['YYYY-MM', /\\d{4}-\\d\\d/, false],\n ['YYYYYYMMDD', /[+-]\\d{10}/],\n ['YYYYMMDD', /\\d{8}/],\n ['GGGG[W]WWE', /\\d{4}W\\d{3}/],\n ['GGGG[W]WW', /\\d{4}W\\d{2}/, false],\n ['YYYYDDD', /\\d{7}/],\n ['YYYYMM', /\\d{6}/, false],\n ['YYYY', /\\d{4}/, false],\n ],\n // iso time formats and regexes\n isoTimes = [\n ['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/],\n ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/],\n ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/],\n ['HH:mm', /\\d\\d:\\d\\d/],\n ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/],\n ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/],\n ['HHmmss', /\\d\\d\\d\\d\\d\\d/],\n ['HHmm', /\\d\\d\\d\\d/],\n ['HH', /\\d\\d/],\n ],\n aspNetJsonRegex = /^\\/?Date\\((-?\\d+)/i,\n // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,\n obsOffsets = {\n UT: 0,\n GMT: 0,\n EDT: -4 * 60,\n EST: -5 * 60,\n CDT: -5 * 60,\n CST: -6 * 60,\n MDT: -6 * 60,\n MST: -7 * 60,\n PDT: -7 * 60,\n PST: -8 * 60,\n };\n\n // date from iso format\n function configFromISO(config) {\n var i,\n l,\n string = config._i,\n match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n allowTime,\n dateFormat,\n timeFormat,\n tzFormat;\n\n if (match) {\n getParsingFlags(config).iso = true;\n\n for (i = 0, l = isoDates.length; i < l; i++) {\n if (isoDates[i][1].exec(match[1])) {\n dateFormat = isoDates[i][0];\n allowTime = isoDates[i][2] !== false;\n break;\n }\n }\n if (dateFormat == null) {\n config._isValid = false;\n return;\n }\n if (match[3]) {\n for (i = 0, l = isoTimes.length; i < l; i++) {\n if (isoTimes[i][1].exec(match[3])) {\n // match[2] should be 'T' or space\n timeFormat = (match[2] || ' ') + isoTimes[i][0];\n break;\n }\n }\n if (timeFormat == null) {\n config._isValid = false;\n return;\n }\n }\n if (!allowTime && timeFormat != null) {\n config._isValid = false;\n return;\n }\n if (match[4]) {\n if (tzRegex.exec(match[4])) {\n tzFormat = 'Z';\n } else {\n config._isValid = false;\n return;\n }\n }\n config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n configFromStringAndFormat(config);\n } else {\n config._isValid = false;\n }\n }\n\n function extractFromRFC2822Strings(\n yearStr,\n monthStr,\n dayStr,\n hourStr,\n minuteStr,\n secondStr\n ) {\n var result = [\n untruncateYear(yearStr),\n defaultLocaleMonthsShort.indexOf(monthStr),\n parseInt(dayStr, 10),\n parseInt(hourStr, 10),\n parseInt(minuteStr, 10),\n ];\n\n if (secondStr) {\n result.push(parseInt(secondStr, 10));\n }\n\n return result;\n }\n\n function untruncateYear(yearStr) {\n var year = parseInt(yearStr, 10);\n if (year <= 49) {\n return 2000 + year;\n } else if (year <= 999) {\n return 1900 + year;\n }\n return year;\n }\n\n function preprocessRFC2822(s) {\n // Remove comments and folding whitespace and replace multiple-spaces with a single space\n return s\n .replace(/\\([^)]*\\)|[\\n\\t]/g, ' ')\n .replace(/(\\s\\s+)/g, ' ')\n .replace(/^\\s\\s*/, '')\n .replace(/\\s\\s*$/, '');\n }\n\n function checkWeekday(weekdayStr, parsedInput, config) {\n if (weekdayStr) {\n // TODO: Replace the vanilla JS Date object with an independent day-of-week check.\n var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n weekdayActual = new Date(\n parsedInput[0],\n parsedInput[1],\n parsedInput[2]\n ).getDay();\n if (weekdayProvided !== weekdayActual) {\n getParsingFlags(config).weekdayMismatch = true;\n config._isValid = false;\n return false;\n }\n }\n return true;\n }\n\n function calculateOffset(obsOffset, militaryOffset, numOffset) {\n if (obsOffset) {\n return obsOffsets[obsOffset];\n } else if (militaryOffset) {\n // the only allowed military tz is Z\n return 0;\n } else {\n var hm = parseInt(numOffset, 10),\n m = hm % 100,\n h = (hm - m) / 100;\n return h * 60 + m;\n }\n }\n\n // date and time from ref 2822 format\n function configFromRFC2822(config) {\n var match = rfc2822.exec(preprocessRFC2822(config._i)),\n parsedArray;\n if (match) {\n parsedArray = extractFromRFC2822Strings(\n match[4],\n match[3],\n match[2],\n match[5],\n match[6],\n match[7]\n );\n if (!checkWeekday(match[1], parsedArray, config)) {\n return;\n }\n\n config._a = parsedArray;\n config._tzm = calculateOffset(match[8], match[9], match[10]);\n\n config._d = createUTCDate.apply(null, config._a);\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n\n getParsingFlags(config).rfc2822 = true;\n } else {\n config._isValid = false;\n }\n }\n\n // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict\n function configFromString(config) {\n var matched = aspNetJsonRegex.exec(config._i);\n if (matched !== null) {\n config._d = new Date(+matched[1]);\n return;\n }\n\n configFromISO(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n\n configFromRFC2822(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n\n if (config._strict) {\n config._isValid = false;\n } else {\n // Final attempt, use Input Fallback\n hooks.createFromInputFallback(config);\n }\n }\n\n hooks.createFromInputFallback = deprecate(\n 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +\n 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +\n 'discouraged and will be removed in an upcoming major release. Please refer to ' +\n 'http://momentjs.com/guides/#/warnings/js-date/ for more info.',\n function (config) {\n config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n }\n );\n\n // Pick the first defined of two or three arguments.\n function defaults(a, b, c) {\n if (a != null) {\n return a;\n }\n if (b != null) {\n return b;\n }\n return c;\n }\n\n function currentDateArray(config) {\n // hooks is actually the exported moment object\n var nowValue = new Date(hooks.now());\n if (config._useUTC) {\n return [\n nowValue.getUTCFullYear(),\n nowValue.getUTCMonth(),\n nowValue.getUTCDate(),\n ];\n }\n return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n }\n\n // convert an array to a date.\n // the array should mirror the parameters below\n // note: all values past the year are optional and will default to the lowest possible value.\n // [year, month, day , hour, minute, second, millisecond]\n function configFromArray(config) {\n var i,\n date,\n input = [],\n currentDate,\n expectedWeekday,\n yearToUse;\n\n if (config._d) {\n return;\n }\n\n currentDate = currentDateArray(config);\n\n //compute day of the year from weeks and weekdays\n if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n dayOfYearFromWeekInfo(config);\n }\n\n //if the day of the year is set, figure out what it is\n if (config._dayOfYear != null) {\n yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n\n if (\n config._dayOfYear > daysInYear(yearToUse) ||\n config._dayOfYear === 0\n ) {\n getParsingFlags(config)._overflowDayOfYear = true;\n }\n\n date = createUTCDate(yearToUse, 0, config._dayOfYear);\n config._a[MONTH] = date.getUTCMonth();\n config._a[DATE] = date.getUTCDate();\n }\n\n // Default to current date.\n // * if no year, month, day of month are given, default to today\n // * if day of month is given, default month and year\n // * if month is given, default only year\n // * if year is given, don't default anything\n for (i = 0; i < 3 && config._a[i] == null; ++i) {\n config._a[i] = input[i] = currentDate[i];\n }\n\n // Zero out whatever was not defaulted, including time\n for (; i < 7; i++) {\n config._a[i] = input[i] =\n config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i];\n }\n\n // Check for 24:00:00.000\n if (\n config._a[HOUR] === 24 &&\n config._a[MINUTE] === 0 &&\n config._a[SECOND] === 0 &&\n config._a[MILLISECOND] === 0\n ) {\n config._nextDay = true;\n config._a[HOUR] = 0;\n }\n\n config._d = (config._useUTC ? createUTCDate : createDate).apply(\n null,\n input\n );\n expectedWeekday = config._useUTC\n ? config._d.getUTCDay()\n : config._d.getDay();\n\n // Apply timezone offset from input. The actual utcOffset can be changed\n // with parseZone.\n if (config._tzm != null) {\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n }\n\n if (config._nextDay) {\n config._a[HOUR] = 24;\n }\n\n // check for mismatching day of week\n if (\n config._w &&\n typeof config._w.d !== 'undefined' &&\n config._w.d !== expectedWeekday\n ) {\n getParsingFlags(config).weekdayMismatch = true;\n }\n }\n\n function dayOfYearFromWeekInfo(config) {\n var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;\n\n w = config._w;\n if (w.GG != null || w.W != null || w.E != null) {\n dow = 1;\n doy = 4;\n\n // TODO: We need to take the current isoWeekYear, but that depends on\n // how we interpret now (local, utc, fixed offset). So create\n // a now version of current config (take local/utc/offset flags, and\n // create now).\n weekYear = defaults(\n w.GG,\n config._a[YEAR],\n weekOfYear(createLocal(), 1, 4).year\n );\n week = defaults(w.W, 1);\n weekday = defaults(w.E, 1);\n if (weekday < 1 || weekday > 7) {\n weekdayOverflow = true;\n }\n } else {\n dow = config._locale._week.dow;\n doy = config._locale._week.doy;\n\n curWeek = weekOfYear(createLocal(), dow, doy);\n\n weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);\n\n // Default to current week.\n week = defaults(w.w, curWeek.week);\n\n if (w.d != null) {\n // weekday -- low day numbers are considered next week\n weekday = w.d;\n if (weekday < 0 || weekday > 6) {\n weekdayOverflow = true;\n }\n } else if (w.e != null) {\n // local weekday -- counting starts from beginning of week\n weekday = w.e + dow;\n if (w.e < 0 || w.e > 6) {\n weekdayOverflow = true;\n }\n } else {\n // default to beginning of week\n weekday = dow;\n }\n }\n if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n getParsingFlags(config)._overflowWeeks = true;\n } else if (weekdayOverflow != null) {\n getParsingFlags(config)._overflowWeekday = true;\n } else {\n temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n config._a[YEAR] = temp.year;\n config._dayOfYear = temp.dayOfYear;\n }\n }\n\n // constant that refers to the ISO standard\n hooks.ISO_8601 = function () {};\n\n // constant that refers to the RFC 2822 form\n hooks.RFC_2822 = function () {};\n\n // date from string and format string\n function configFromStringAndFormat(config) {\n // TODO: Move this to another part of the creation flow to prevent circular deps\n if (config._f === hooks.ISO_8601) {\n configFromISO(config);\n return;\n }\n if (config._f === hooks.RFC_2822) {\n configFromRFC2822(config);\n return;\n }\n config._a = [];\n getParsingFlags(config).empty = true;\n\n // This array is used to make a Date, either with `new Date` or `Date.UTC`\n var string = '' + config._i,\n i,\n parsedInput,\n tokens,\n token,\n skipped,\n stringLength = string.length,\n totalParsedInputLength = 0,\n era;\n\n tokens =\n expandFormat(config._f, config._locale).match(formattingTokens) || [];\n\n for (i = 0; i < tokens.length; i++) {\n token = tokens[i];\n parsedInput = (string.match(getParseRegexForToken(token, config)) ||\n [])[0];\n if (parsedInput) {\n skipped = string.substr(0, string.indexOf(parsedInput));\n if (skipped.length > 0) {\n getParsingFlags(config).unusedInput.push(skipped);\n }\n string = string.slice(\n string.indexOf(parsedInput) + parsedInput.length\n );\n totalParsedInputLength += parsedInput.length;\n }\n // don't parse if it's not a known token\n if (formatTokenFunctions[token]) {\n if (parsedInput) {\n getParsingFlags(config).empty = false;\n } else {\n getParsingFlags(config).unusedTokens.push(token);\n }\n addTimeToArrayFromToken(token, parsedInput, config);\n } else if (config._strict && !parsedInput) {\n getParsingFlags(config).unusedTokens.push(token);\n }\n }\n\n // add remaining unparsed input length to the string\n getParsingFlags(config).charsLeftOver =\n stringLength - totalParsedInputLength;\n if (string.length > 0) {\n getParsingFlags(config).unusedInput.push(string);\n }\n\n // clear _12h flag if hour is <= 12\n if (\n config._a[HOUR] <= 12 &&\n getParsingFlags(config).bigHour === true &&\n config._a[HOUR] > 0\n ) {\n getParsingFlags(config).bigHour = undefined;\n }\n\n getParsingFlags(config).parsedDateParts = config._a.slice(0);\n getParsingFlags(config).meridiem = config._meridiem;\n // handle meridiem\n config._a[HOUR] = meridiemFixWrap(\n config._locale,\n config._a[HOUR],\n config._meridiem\n );\n\n // handle era\n era = getParsingFlags(config).era;\n if (era !== null) {\n config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);\n }\n\n configFromArray(config);\n checkOverflow(config);\n }\n\n function meridiemFixWrap(locale, hour, meridiem) {\n var isPm;\n\n if (meridiem == null) {\n // nothing to do\n return hour;\n }\n if (locale.meridiemHour != null) {\n return locale.meridiemHour(hour, meridiem);\n } else if (locale.isPM != null) {\n // Fallback\n isPm = locale.isPM(meridiem);\n if (isPm && hour < 12) {\n hour += 12;\n }\n if (!isPm && hour === 12) {\n hour = 0;\n }\n return hour;\n } else {\n // this is not supposed to happen\n return hour;\n }\n }\n\n // date from string and array of format strings\n function configFromStringAndArray(config) {\n var tempConfig,\n bestMoment,\n scoreToBeat,\n i,\n currentScore,\n validFormatFound,\n bestFormatIsValid = false;\n\n if (config._f.length === 0) {\n getParsingFlags(config).invalidFormat = true;\n config._d = new Date(NaN);\n return;\n }\n\n for (i = 0; i < config._f.length; i++) {\n currentScore = 0;\n validFormatFound = false;\n tempConfig = copyConfig({}, config);\n if (config._useUTC != null) {\n tempConfig._useUTC = config._useUTC;\n }\n tempConfig._f = config._f[i];\n configFromStringAndFormat(tempConfig);\n\n if (isValid(tempConfig)) {\n validFormatFound = true;\n }\n\n // if there is any input that was not parsed add a penalty for that format\n currentScore += getParsingFlags(tempConfig).charsLeftOver;\n\n //or tokens\n currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n\n getParsingFlags(tempConfig).score = currentScore;\n\n if (!bestFormatIsValid) {\n if (\n scoreToBeat == null ||\n currentScore < scoreToBeat ||\n validFormatFound\n ) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n if (validFormatFound) {\n bestFormatIsValid = true;\n }\n }\n } else {\n if (currentScore < scoreToBeat) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n }\n }\n }\n\n extend(config, bestMoment || tempConfig);\n }\n\n function configFromObject(config) {\n if (config._d) {\n return;\n }\n\n var i = normalizeObjectUnits(config._i),\n dayOrDate = i.day === undefined ? i.date : i.day;\n config._a = map(\n [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],\n function (obj) {\n return obj && parseInt(obj, 10);\n }\n );\n\n configFromArray(config);\n }\n\n function createFromConfig(config) {\n var res = new Moment(checkOverflow(prepareConfig(config)));\n if (res._nextDay) {\n // Adding is smart enough around DST\n res.add(1, 'd');\n res._nextDay = undefined;\n }\n\n return res;\n }\n\n function prepareConfig(config) {\n var input = config._i,\n format = config._f;\n\n config._locale = config._locale || getLocale(config._l);\n\n if (input === null || (format === undefined && input === '')) {\n return createInvalid({ nullInput: true });\n }\n\n if (typeof input === 'string') {\n config._i = input = config._locale.preparse(input);\n }\n\n if (isMoment(input)) {\n return new Moment(checkOverflow(input));\n } else if (isDate(input)) {\n config._d = input;\n } else if (isArray(format)) {\n configFromStringAndArray(config);\n } else if (format) {\n configFromStringAndFormat(config);\n } else {\n configFromInput(config);\n }\n\n if (!isValid(config)) {\n config._d = null;\n }\n\n return config;\n }\n\n function configFromInput(config) {\n var input = config._i;\n if (isUndefined(input)) {\n config._d = new Date(hooks.now());\n } else if (isDate(input)) {\n config._d = new Date(input.valueOf());\n } else if (typeof input === 'string') {\n configFromString(config);\n } else if (isArray(input)) {\n config._a = map(input.slice(0), function (obj) {\n return parseInt(obj, 10);\n });\n configFromArray(config);\n } else if (isObject(input)) {\n configFromObject(config);\n } else if (isNumber(input)) {\n // from milliseconds\n config._d = new Date(input);\n } else {\n hooks.createFromInputFallback(config);\n }\n }\n\n function createLocalOrUTC(input, format, locale, strict, isUTC) {\n var c = {};\n\n if (format === true || format === false) {\n strict = format;\n format = undefined;\n }\n\n if (locale === true || locale === false) {\n strict = locale;\n locale = undefined;\n }\n\n if (\n (isObject(input) && isObjectEmpty(input)) ||\n (isArray(input) && input.length === 0)\n ) {\n input = undefined;\n }\n // object construction must be done this way.\n // https://github.com/moment/moment/issues/1423\n c._isAMomentObject = true;\n c._useUTC = c._isUTC = isUTC;\n c._l = locale;\n c._i = input;\n c._f = format;\n c._strict = strict;\n\n return createFromConfig(c);\n }\n\n function createLocal(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, false);\n }\n\n var prototypeMin = deprecate(\n 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',\n function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other < this ? this : other;\n } else {\n return createInvalid();\n }\n }\n ),\n prototypeMax = deprecate(\n 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',\n function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other > this ? this : other;\n } else {\n return createInvalid();\n }\n }\n );\n\n // Pick a moment m from moments so that m[fn](other) is true for all\n // other. This relies on the function fn to be transitive.\n //\n // moments should either be an array of moment objects or an array, whose\n // first element is an array of moment objects.\n function pickBy(fn, moments) {\n var res, i;\n if (moments.length === 1 && isArray(moments[0])) {\n moments = moments[0];\n }\n if (!moments.length) {\n return createLocal();\n }\n res = moments[0];\n for (i = 1; i < moments.length; ++i) {\n if (!moments[i].isValid() || moments[i][fn](res)) {\n res = moments[i];\n }\n }\n return res;\n }\n\n // TODO: Use [].sort instead?\n function min() {\n var args = [].slice.call(arguments, 0);\n\n return pickBy('isBefore', args);\n }\n\n function max() {\n var args = [].slice.call(arguments, 0);\n\n return pickBy('isAfter', args);\n }\n\n var now = function () {\n return Date.now ? Date.now() : +new Date();\n };\n\n var ordering = [\n 'year',\n 'quarter',\n 'month',\n 'week',\n 'day',\n 'hour',\n 'minute',\n 'second',\n 'millisecond',\n ];\n\n function isDurationValid(m) {\n var key,\n unitHasDecimal = false,\n i;\n for (key in m) {\n if (\n hasOwnProp(m, key) &&\n !(\n indexOf.call(ordering, key) !== -1 &&\n (m[key] == null || !isNaN(m[key]))\n )\n ) {\n return false;\n }\n }\n\n for (i = 0; i < ordering.length; ++i) {\n if (m[ordering[i]]) {\n if (unitHasDecimal) {\n return false; // only allow non-integers for smallest unit\n }\n if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n unitHasDecimal = true;\n }\n }\n }\n\n return true;\n }\n\n function isValid$1() {\n return this._isValid;\n }\n\n function createInvalid$1() {\n return createDuration(NaN);\n }\n\n function Duration(duration) {\n var normalizedInput = normalizeObjectUnits(duration),\n years = normalizedInput.year || 0,\n quarters = normalizedInput.quarter || 0,\n months = normalizedInput.month || 0,\n weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n days = normalizedInput.day || 0,\n hours = normalizedInput.hour || 0,\n minutes = normalizedInput.minute || 0,\n seconds = normalizedInput.second || 0,\n milliseconds = normalizedInput.millisecond || 0;\n\n this._isValid = isDurationValid(normalizedInput);\n\n // representation for dateAddRemove\n this._milliseconds =\n +milliseconds +\n seconds * 1e3 + // 1000\n minutes * 6e4 + // 1000 * 60\n hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n // Because of dateAddRemove treats 24 hours as different from a\n // day when working around DST, we need to store them separately\n this._days = +days + weeks * 7;\n // It is impossible to translate months into days without knowing\n // which months you are are talking about, so we have to store\n // it separately.\n this._months = +months + quarters * 3 + years * 12;\n\n this._data = {};\n\n this._locale = getLocale();\n\n this._bubble();\n }\n\n function isDuration(obj) {\n return obj instanceof Duration;\n }\n\n function absRound(number) {\n if (number < 0) {\n return Math.round(-1 * number) * -1;\n } else {\n return Math.round(number);\n }\n }\n\n // compare two arrays, return the number of differences\n function compareArrays(array1, array2, dontConvert) {\n var len = Math.min(array1.length, array2.length),\n lengthDiff = Math.abs(array1.length - array2.length),\n diffs = 0,\n i;\n for (i = 0; i < len; i++) {\n if (\n (dontConvert && array1[i] !== array2[i]) ||\n (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))\n ) {\n diffs++;\n }\n }\n return diffs + lengthDiff;\n }\n\n // FORMATTING\n\n function offset(token, separator) {\n addFormatToken(token, 0, 0, function () {\n var offset = this.utcOffset(),\n sign = '+';\n if (offset < 0) {\n offset = -offset;\n sign = '-';\n }\n return (\n sign +\n zeroFill(~~(offset / 60), 2) +\n separator +\n zeroFill(~~offset % 60, 2)\n );\n });\n }\n\n offset('Z', ':');\n offset('ZZ', '');\n\n // PARSING\n\n addRegexToken('Z', matchShortOffset);\n addRegexToken('ZZ', matchShortOffset);\n addParseToken(['Z', 'ZZ'], function (input, array, config) {\n config._useUTC = true;\n config._tzm = offsetFromString(matchShortOffset, input);\n });\n\n // HELPERS\n\n // timezone chunker\n // '+10:00' > ['10', '00']\n // '-1530' > ['-15', '30']\n var chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n\n function offsetFromString(matcher, string) {\n var matches = (string || '').match(matcher),\n chunk,\n parts,\n minutes;\n\n if (matches === null) {\n return null;\n }\n\n chunk = matches[matches.length - 1] || [];\n parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n minutes = +(parts[1] * 60) + toInt(parts[2]);\n\n return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n }\n\n // Return a moment from input, that is local/utc/zone equivalent to model.\n function cloneWithOffset(input, model) {\n var res, diff;\n if (model._isUTC) {\n res = model.clone();\n diff =\n (isMoment(input) || isDate(input)\n ? input.valueOf()\n : createLocal(input).valueOf()) - res.valueOf();\n // Use low-level api, because this fn is low-level api.\n res._d.setTime(res._d.valueOf() + diff);\n hooks.updateOffset(res, false);\n return res;\n } else {\n return createLocal(input).local();\n }\n }\n\n function getDateOffset(m) {\n // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n // https://github.com/moment/moment/pull/1871\n return -Math.round(m._d.getTimezoneOffset());\n }\n\n // HOOKS\n\n // This function will be called whenever a moment is mutated.\n // It is intended to keep the offset in sync with the timezone.\n hooks.updateOffset = function () {};\n\n // MOMENTS\n\n // keepLocalTime = true means only change the timezone, without\n // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n // +0200, so we adjust the time as needed, to be valid.\n //\n // Keeping the time actually adds/subtracts (one hour)\n // from the actual represented time. That is why we call updateOffset\n // a second time. In case it wants us to change the offset again\n // _changeInProgress == true case, then we have to adjust, because\n // there is no such time in the given timezone.\n function getSetOffset(input, keepLocalTime, keepMinutes) {\n var offset = this._offset || 0,\n localAdjust;\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n if (input != null) {\n if (typeof input === 'string') {\n input = offsetFromString(matchShortOffset, input);\n if (input === null) {\n return this;\n }\n } else if (Math.abs(input) < 16 && !keepMinutes) {\n input = input * 60;\n }\n if (!this._isUTC && keepLocalTime) {\n localAdjust = getDateOffset(this);\n }\n this._offset = input;\n this._isUTC = true;\n if (localAdjust != null) {\n this.add(localAdjust, 'm');\n }\n if (offset !== input) {\n if (!keepLocalTime || this._changeInProgress) {\n addSubtract(\n this,\n createDuration(input - offset, 'm'),\n 1,\n false\n );\n } else if (!this._changeInProgress) {\n this._changeInProgress = true;\n hooks.updateOffset(this, true);\n this._changeInProgress = null;\n }\n }\n return this;\n } else {\n return this._isUTC ? offset : getDateOffset(this);\n }\n }\n\n function getSetZone(input, keepLocalTime) {\n if (input != null) {\n if (typeof input !== 'string') {\n input = -input;\n }\n\n this.utcOffset(input, keepLocalTime);\n\n return this;\n } else {\n return -this.utcOffset();\n }\n }\n\n function setOffsetToUTC(keepLocalTime) {\n return this.utcOffset(0, keepLocalTime);\n }\n\n function setOffsetToLocal(keepLocalTime) {\n if (this._isUTC) {\n this.utcOffset(0, keepLocalTime);\n this._isUTC = false;\n\n if (keepLocalTime) {\n this.subtract(getDateOffset(this), 'm');\n }\n }\n return this;\n }\n\n function setOffsetToParsedOffset() {\n if (this._tzm != null) {\n this.utcOffset(this._tzm, false, true);\n } else if (typeof this._i === 'string') {\n var tZone = offsetFromString(matchOffset, this._i);\n if (tZone != null) {\n this.utcOffset(tZone);\n } else {\n this.utcOffset(0, true);\n }\n }\n return this;\n }\n\n function hasAlignedHourOffset(input) {\n if (!this.isValid()) {\n return false;\n }\n input = input ? createLocal(input).utcOffset() : 0;\n\n return (this.utcOffset() - input) % 60 === 0;\n }\n\n function isDaylightSavingTime() {\n return (\n this.utcOffset() > this.clone().month(0).utcOffset() ||\n this.utcOffset() > this.clone().month(5).utcOffset()\n );\n }\n\n function isDaylightSavingTimeShifted() {\n if (!isUndefined(this._isDSTShifted)) {\n return this._isDSTShifted;\n }\n\n var c = {},\n other;\n\n copyConfig(c, this);\n c = prepareConfig(c);\n\n if (c._a) {\n other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n this._isDSTShifted =\n this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n } else {\n this._isDSTShifted = false;\n }\n\n return this._isDSTShifted;\n }\n\n function isLocal() {\n return this.isValid() ? !this._isUTC : false;\n }\n\n function isUtcOffset() {\n return this.isValid() ? this._isUTC : false;\n }\n\n function isUtc() {\n return this.isValid() ? this._isUTC && this._offset === 0 : false;\n }\n\n // ASP.NET json date format regex\n var aspNetRegex = /^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,\n // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n // and further modified to allow for strings containing both week and day\n isoRegex = /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n\n function createDuration(input, key) {\n var duration = input,\n // matching against regexp is expensive, do it on demand\n match = null,\n sign,\n ret,\n diffRes;\n\n if (isDuration(input)) {\n duration = {\n ms: input._milliseconds,\n d: input._days,\n M: input._months,\n };\n } else if (isNumber(input) || !isNaN(+input)) {\n duration = {};\n if (key) {\n duration[key] = +input;\n } else {\n duration.milliseconds = +input;\n }\n } else if ((match = aspNetRegex.exec(input))) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: 0,\n d: toInt(match[DATE]) * sign,\n h: toInt(match[HOUR]) * sign,\n m: toInt(match[MINUTE]) * sign,\n s: toInt(match[SECOND]) * sign,\n ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match\n };\n } else if ((match = isoRegex.exec(input))) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: parseIso(match[2], sign),\n M: parseIso(match[3], sign),\n w: parseIso(match[4], sign),\n d: parseIso(match[5], sign),\n h: parseIso(match[6], sign),\n m: parseIso(match[7], sign),\n s: parseIso(match[8], sign),\n };\n } else if (duration == null) {\n // checks for null or undefined\n duration = {};\n } else if (\n typeof duration === 'object' &&\n ('from' in duration || 'to' in duration)\n ) {\n diffRes = momentsDifference(\n createLocal(duration.from),\n createLocal(duration.to)\n );\n\n duration = {};\n duration.ms = diffRes.milliseconds;\n duration.M = diffRes.months;\n }\n\n ret = new Duration(duration);\n\n if (isDuration(input) && hasOwnProp(input, '_locale')) {\n ret._locale = input._locale;\n }\n\n if (isDuration(input) && hasOwnProp(input, '_isValid')) {\n ret._isValid = input._isValid;\n }\n\n return ret;\n }\n\n createDuration.fn = Duration.prototype;\n createDuration.invalid = createInvalid$1;\n\n function parseIso(inp, sign) {\n // We'd normally use ~~inp for this, but unfortunately it also\n // converts floats to ints.\n // inp may be undefined, so careful calling replace on it.\n var res = inp && parseFloat(inp.replace(',', '.'));\n // apply sign while we're at it\n return (isNaN(res) ? 0 : res) * sign;\n }\n\n function positiveMomentsDifference(base, other) {\n var res = {};\n\n res.months =\n other.month() - base.month() + (other.year() - base.year()) * 12;\n if (base.clone().add(res.months, 'M').isAfter(other)) {\n --res.months;\n }\n\n res.milliseconds = +other - +base.clone().add(res.months, 'M');\n\n return res;\n }\n\n function momentsDifference(base, other) {\n var res;\n if (!(base.isValid() && other.isValid())) {\n return { milliseconds: 0, months: 0 };\n }\n\n other = cloneWithOffset(other, base);\n if (base.isBefore(other)) {\n res = positiveMomentsDifference(base, other);\n } else {\n res = positiveMomentsDifference(other, base);\n res.milliseconds = -res.milliseconds;\n res.months = -res.months;\n }\n\n return res;\n }\n\n // TODO: remove 'name' arg after deprecation is removed\n function createAdder(direction, name) {\n return function (val, period) {\n var dur, tmp;\n //invert the arguments, but complain about it\n if (period !== null && !isNaN(+period)) {\n deprecateSimple(\n name,\n 'moment().' +\n name +\n '(period, number) is deprecated. Please use moment().' +\n name +\n '(number, period). ' +\n 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'\n );\n tmp = val;\n val = period;\n period = tmp;\n }\n\n dur = createDuration(val, period);\n addSubtract(this, dur, direction);\n return this;\n };\n }\n\n function addSubtract(mom, duration, isAdding, updateOffset) {\n var milliseconds = duration._milliseconds,\n days = absRound(duration._days),\n months = absRound(duration._months);\n\n if (!mom.isValid()) {\n // No op\n return;\n }\n\n updateOffset = updateOffset == null ? true : updateOffset;\n\n if (months) {\n setMonth(mom, get(mom, 'Month') + months * isAdding);\n }\n if (days) {\n set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n }\n if (milliseconds) {\n mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n }\n if (updateOffset) {\n hooks.updateOffset(mom, days || months);\n }\n }\n\n var add = createAdder(1, 'add'),\n subtract = createAdder(-1, 'subtract');\n\n function isString(input) {\n return typeof input === 'string' || input instanceof String;\n }\n\n // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined\n function isMomentInput(input) {\n return (\n isMoment(input) ||\n isDate(input) ||\n isString(input) ||\n isNumber(input) ||\n isNumberOrStringArray(input) ||\n isMomentInputObject(input) ||\n input === null ||\n input === undefined\n );\n }\n\n function isMomentInputObject(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = [\n 'years',\n 'year',\n 'y',\n 'months',\n 'month',\n 'M',\n 'days',\n 'day',\n 'd',\n 'dates',\n 'date',\n 'D',\n 'hours',\n 'hour',\n 'h',\n 'minutes',\n 'minute',\n 'm',\n 'seconds',\n 'second',\n 's',\n 'milliseconds',\n 'millisecond',\n 'ms',\n ],\n i,\n property;\n\n for (i = 0; i < properties.length; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n\n return objectTest && propertyTest;\n }\n\n function isNumberOrStringArray(input) {\n var arrayTest = isArray(input),\n dataTypeTest = false;\n if (arrayTest) {\n dataTypeTest =\n input.filter(function (item) {\n return !isNumber(item) && isString(input);\n }).length === 0;\n }\n return arrayTest && dataTypeTest;\n }\n\n function isCalendarSpec(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = [\n 'sameDay',\n 'nextDay',\n 'lastDay',\n 'nextWeek',\n 'lastWeek',\n 'sameElse',\n ],\n i,\n property;\n\n for (i = 0; i < properties.length; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n\n return objectTest && propertyTest;\n }\n\n function getCalendarFormat(myMoment, now) {\n var diff = myMoment.diff(now, 'days', true);\n return diff < -6\n ? 'sameElse'\n : diff < -1\n ? 'lastWeek'\n : diff < 0\n ? 'lastDay'\n : diff < 1\n ? 'sameDay'\n : diff < 2\n ? 'nextDay'\n : diff < 7\n ? 'nextWeek'\n : 'sameElse';\n }\n\n function calendar$1(time, formats) {\n // Support for single parameter, formats only overload to the calendar function\n if (arguments.length === 1) {\n if (isMomentInput(arguments[0])) {\n time = arguments[0];\n formats = undefined;\n } else if (isCalendarSpec(arguments[0])) {\n formats = arguments[0];\n time = undefined;\n }\n }\n // We want to compare the start of today, vs this.\n // Getting start-of-today depends on whether we're local/utc/offset or not.\n var now = time || createLocal(),\n sod = cloneWithOffset(now, this).startOf('day'),\n format = hooks.calendarFormat(this, sod) || 'sameElse',\n output =\n formats &&\n (isFunction(formats[format])\n ? formats[format].call(this, now)\n : formats[format]);\n\n return this.format(\n output || this.localeData().calendar(format, this, createLocal(now))\n );\n }\n\n function clone() {\n return new Moment(this);\n }\n\n function isAfter(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() > localInput.valueOf();\n } else {\n return localInput.valueOf() < this.clone().startOf(units).valueOf();\n }\n }\n\n function isBefore(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() < localInput.valueOf();\n } else {\n return this.clone().endOf(units).valueOf() < localInput.valueOf();\n }\n }\n\n function isBetween(from, to, units, inclusivity) {\n var localFrom = isMoment(from) ? from : createLocal(from),\n localTo = isMoment(to) ? to : createLocal(to);\n if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n return false;\n }\n inclusivity = inclusivity || '()';\n return (\n (inclusivity[0] === '('\n ? this.isAfter(localFrom, units)\n : !this.isBefore(localFrom, units)) &&\n (inclusivity[1] === ')'\n ? this.isBefore(localTo, units)\n : !this.isAfter(localTo, units))\n );\n }\n\n function isSame(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input),\n inputMs;\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() === localInput.valueOf();\n } else {\n inputMs = localInput.valueOf();\n return (\n this.clone().startOf(units).valueOf() <= inputMs &&\n inputMs <= this.clone().endOf(units).valueOf()\n );\n }\n }\n\n function isSameOrAfter(input, units) {\n return this.isSame(input, units) || this.isAfter(input, units);\n }\n\n function isSameOrBefore(input, units) {\n return this.isSame(input, units) || this.isBefore(input, units);\n }\n\n function diff(input, units, asFloat) {\n var that, zoneDelta, output;\n\n if (!this.isValid()) {\n return NaN;\n }\n\n that = cloneWithOffset(input, this);\n\n if (!that.isValid()) {\n return NaN;\n }\n\n zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n\n units = normalizeUnits(units);\n\n switch (units) {\n case 'year':\n output = monthDiff(this, that) / 12;\n break;\n case 'month':\n output = monthDiff(this, that);\n break;\n case 'quarter':\n output = monthDiff(this, that) / 3;\n break;\n case 'second':\n output = (this - that) / 1e3;\n break; // 1000\n case 'minute':\n output = (this - that) / 6e4;\n break; // 1000 * 60\n case 'hour':\n output = (this - that) / 36e5;\n break; // 1000 * 60 * 60\n case 'day':\n output = (this - that - zoneDelta) / 864e5;\n break; // 1000 * 60 * 60 * 24, negate dst\n case 'week':\n output = (this - that - zoneDelta) / 6048e5;\n break; // 1000 * 60 * 60 * 24 * 7, negate dst\n default:\n output = this - that;\n }\n\n return asFloat ? output : absFloor(output);\n }\n\n function monthDiff(a, b) {\n if (a.date() < b.date()) {\n // end-of-month calculations work correct when the start month has more\n // days than the end month.\n return -monthDiff(b, a);\n }\n // difference in months\n var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n // b is in (anchor - 1 month, anchor + 1 month)\n anchor = a.clone().add(wholeMonthDiff, 'months'),\n anchor2,\n adjust;\n\n if (b - anchor < 0) {\n anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor - anchor2);\n } else {\n anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor2 - anchor);\n }\n\n //check for negative zero, return zero if negative zero\n return -(wholeMonthDiff + adjust) || 0;\n }\n\n hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\n hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n\n function toString() {\n return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n }\n\n function toISOString(keepOffset) {\n if (!this.isValid()) {\n return null;\n }\n var utc = keepOffset !== true,\n m = utc ? this.clone().utc() : this;\n if (m.year() < 0 || m.year() > 9999) {\n return formatMoment(\n m,\n utc\n ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'\n : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'\n );\n }\n if (isFunction(Date.prototype.toISOString)) {\n // native implementation is ~50x faster, use it when we can\n if (utc) {\n return this.toDate().toISOString();\n } else {\n return new Date(this.valueOf() + this.utcOffset() * 60 * 1000)\n .toISOString()\n .replace('Z', formatMoment(m, 'Z'));\n }\n }\n return formatMoment(\n m,\n utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ'\n );\n }\n\n /**\n * Return a human readable representation of a moment that can\n * also be evaluated to get a new moment which is the same\n *\n * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n */\n function inspect() {\n if (!this.isValid()) {\n return 'moment.invalid(/* ' + this._i + ' */)';\n }\n var func = 'moment',\n zone = '',\n prefix,\n year,\n datetime,\n suffix;\n if (!this.isLocal()) {\n func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n zone = 'Z';\n }\n prefix = '[' + func + '(\"]';\n year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n datetime = '-MM-DD[T]HH:mm:ss.SSS';\n suffix = zone + '[\")]';\n\n return this.format(prefix + year + datetime + suffix);\n }\n\n function format(inputString) {\n if (!inputString) {\n inputString = this.isUtc()\n ? hooks.defaultFormatUtc\n : hooks.defaultFormat;\n }\n var output = formatMoment(this, inputString);\n return this.localeData().postformat(output);\n }\n\n function from(time, withoutSuffix) {\n if (\n this.isValid() &&\n ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n ) {\n return createDuration({ to: this, from: time })\n .locale(this.locale())\n .humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n\n function fromNow(withoutSuffix) {\n return this.from(createLocal(), withoutSuffix);\n }\n\n function to(time, withoutSuffix) {\n if (\n this.isValid() &&\n ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n ) {\n return createDuration({ from: this, to: time })\n .locale(this.locale())\n .humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n\n function toNow(withoutSuffix) {\n return this.to(createLocal(), withoutSuffix);\n }\n\n // If passed a locale key, it will set the locale for this\n // instance. Otherwise, it will return the locale configuration\n // variables for this instance.\n function locale(key) {\n var newLocaleData;\n\n if (key === undefined) {\n return this._locale._abbr;\n } else {\n newLocaleData = getLocale(key);\n if (newLocaleData != null) {\n this._locale = newLocaleData;\n }\n return this;\n }\n }\n\n var lang = deprecate(\n 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',\n function (key) {\n if (key === undefined) {\n return this.localeData();\n } else {\n return this.locale(key);\n }\n }\n );\n\n function localeData() {\n return this._locale;\n }\n\n var MS_PER_SECOND = 1000,\n MS_PER_MINUTE = 60 * MS_PER_SECOND,\n MS_PER_HOUR = 60 * MS_PER_MINUTE,\n MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;\n\n // actual modulo - handles negative numbers (for dates before 1970):\n function mod$1(dividend, divisor) {\n return ((dividend % divisor) + divisor) % divisor;\n }\n\n function localStartOfDate(y, m, d) {\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return new Date(y, m, d).valueOf();\n }\n }\n\n function utcStartOfDate(y, m, d) {\n // Date.UTC remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return Date.UTC(y, m, d);\n }\n }\n\n function startOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n switch (units) {\n case 'year':\n time = startOfDate(this.year(), 0, 1);\n break;\n case 'quarter':\n time = startOfDate(\n this.year(),\n this.month() - (this.month() % 3),\n 1\n );\n break;\n case 'month':\n time = startOfDate(this.year(), this.month(), 1);\n break;\n case 'week':\n time = startOfDate(\n this.year(),\n this.month(),\n this.date() - this.weekday()\n );\n break;\n case 'isoWeek':\n time = startOfDate(\n this.year(),\n this.month(),\n this.date() - (this.isoWeekday() - 1)\n );\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date());\n break;\n case 'hour':\n time = this._d.valueOf();\n time -= mod$1(\n time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n MS_PER_HOUR\n );\n break;\n case 'minute':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_MINUTE);\n break;\n case 'second':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_SECOND);\n break;\n }\n\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n }\n\n function endOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n switch (units) {\n case 'year':\n time = startOfDate(this.year() + 1, 0, 1) - 1;\n break;\n case 'quarter':\n time =\n startOfDate(\n this.year(),\n this.month() - (this.month() % 3) + 3,\n 1\n ) - 1;\n break;\n case 'month':\n time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n break;\n case 'week':\n time =\n startOfDate(\n this.year(),\n this.month(),\n this.date() - this.weekday() + 7\n ) - 1;\n break;\n case 'isoWeek':\n time =\n startOfDate(\n this.year(),\n this.month(),\n this.date() - (this.isoWeekday() - 1) + 7\n ) - 1;\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n break;\n case 'hour':\n time = this._d.valueOf();\n time +=\n MS_PER_HOUR -\n mod$1(\n time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n MS_PER_HOUR\n ) -\n 1;\n break;\n case 'minute':\n time = this._d.valueOf();\n time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;\n break;\n case 'second':\n time = this._d.valueOf();\n time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;\n break;\n }\n\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n }\n\n function valueOf() {\n return this._d.valueOf() - (this._offset || 0) * 60000;\n }\n\n function unix() {\n return Math.floor(this.valueOf() / 1000);\n }\n\n function toDate() {\n return new Date(this.valueOf());\n }\n\n function toArray() {\n var m = this;\n return [\n m.year(),\n m.month(),\n m.date(),\n m.hour(),\n m.minute(),\n m.second(),\n m.millisecond(),\n ];\n }\n\n function toObject() {\n var m = this;\n return {\n years: m.year(),\n months: m.month(),\n date: m.date(),\n hours: m.hours(),\n minutes: m.minutes(),\n seconds: m.seconds(),\n milliseconds: m.milliseconds(),\n };\n }\n\n function toJSON() {\n // new Date(NaN).toJSON() === null\n return this.isValid() ? this.toISOString() : null;\n }\n\n function isValid$2() {\n return isValid(this);\n }\n\n function parsingFlags() {\n return extend({}, getParsingFlags(this));\n }\n\n function invalidAt() {\n return getParsingFlags(this).overflow;\n }\n\n function creationData() {\n return {\n input: this._i,\n format: this._f,\n locale: this._locale,\n isUTC: this._isUTC,\n strict: this._strict,\n };\n }\n\n addFormatToken('N', 0, 0, 'eraAbbr');\n addFormatToken('NN', 0, 0, 'eraAbbr');\n addFormatToken('NNN', 0, 0, 'eraAbbr');\n addFormatToken('NNNN', 0, 0, 'eraName');\n addFormatToken('NNNNN', 0, 0, 'eraNarrow');\n\n addFormatToken('y', ['y', 1], 'yo', 'eraYear');\n addFormatToken('y', ['yy', 2], 0, 'eraYear');\n addFormatToken('y', ['yyy', 3], 0, 'eraYear');\n addFormatToken('y', ['yyyy', 4], 0, 'eraYear');\n\n addRegexToken('N', matchEraAbbr);\n addRegexToken('NN', matchEraAbbr);\n addRegexToken('NNN', matchEraAbbr);\n addRegexToken('NNNN', matchEraName);\n addRegexToken('NNNNN', matchEraNarrow);\n\n addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (\n input,\n array,\n config,\n token\n ) {\n var era = config._locale.erasParse(input, token, config._strict);\n if (era) {\n getParsingFlags(config).era = era;\n } else {\n getParsingFlags(config).invalidEra = input;\n }\n });\n\n addRegexToken('y', matchUnsigned);\n addRegexToken('yy', matchUnsigned);\n addRegexToken('yyy', matchUnsigned);\n addRegexToken('yyyy', matchUnsigned);\n addRegexToken('yo', matchEraYearOrdinal);\n\n addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);\n addParseToken(['yo'], function (input, array, config, token) {\n var match;\n if (config._locale._eraYearOrdinalRegex) {\n match = input.match(config._locale._eraYearOrdinalRegex);\n }\n\n if (config._locale.eraYearOrdinalParse) {\n array[YEAR] = config._locale.eraYearOrdinalParse(input, match);\n } else {\n array[YEAR] = parseInt(input, 10);\n }\n });\n\n function localeEras(m, format) {\n var i,\n l,\n date,\n eras = this._eras || getLocale('en')._eras;\n for (i = 0, l = eras.length; i < l; ++i) {\n switch (typeof eras[i].since) {\n case 'string':\n // truncate time\n date = hooks(eras[i].since).startOf('day');\n eras[i].since = date.valueOf();\n break;\n }\n\n switch (typeof eras[i].until) {\n case 'undefined':\n eras[i].until = +Infinity;\n break;\n case 'string':\n // truncate time\n date = hooks(eras[i].until).startOf('day').valueOf();\n eras[i].until = date.valueOf();\n break;\n }\n }\n return eras;\n }\n\n function localeErasParse(eraName, format, strict) {\n var i,\n l,\n eras = this.eras(),\n name,\n abbr,\n narrow;\n eraName = eraName.toUpperCase();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n name = eras[i].name.toUpperCase();\n abbr = eras[i].abbr.toUpperCase();\n narrow = eras[i].narrow.toUpperCase();\n\n if (strict) {\n switch (format) {\n case 'N':\n case 'NN':\n case 'NNN':\n if (abbr === eraName) {\n return eras[i];\n }\n break;\n\n case 'NNNN':\n if (name === eraName) {\n return eras[i];\n }\n break;\n\n case 'NNNNN':\n if (narrow === eraName) {\n return eras[i];\n }\n break;\n }\n } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {\n return eras[i];\n }\n }\n }\n\n function localeErasConvertYear(era, year) {\n var dir = era.since <= era.until ? +1 : -1;\n if (year === undefined) {\n return hooks(era.since).year();\n } else {\n return hooks(era.since).year() + (year - era.offset) * dir;\n }\n }\n\n function getEraName() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].name;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].name;\n }\n }\n\n return '';\n }\n\n function getEraNarrow() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].narrow;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].narrow;\n }\n }\n\n return '';\n }\n\n function getEraAbbr() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.startOf('day').valueOf();\n\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].abbr;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].abbr;\n }\n }\n\n return '';\n }\n\n function getEraYear() {\n var i,\n l,\n dir,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n dir = eras[i].since <= eras[i].until ? +1 : -1;\n\n // truncate time\n val = this.startOf('day').valueOf();\n\n if (\n (eras[i].since <= val && val <= eras[i].until) ||\n (eras[i].until <= val && val <= eras[i].since)\n ) {\n return (\n (this.year() - hooks(eras[i].since).year()) * dir +\n eras[i].offset\n );\n }\n }\n\n return this.year();\n }\n\n function erasNameRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNameRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNameRegex : this._erasRegex;\n }\n\n function erasAbbrRegex(isStrict) {\n if (!hasOwnProp(this, '_erasAbbrRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasAbbrRegex : this._erasRegex;\n }\n\n function erasNarrowRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNarrowRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNarrowRegex : this._erasRegex;\n }\n\n function matchEraAbbr(isStrict, locale) {\n return locale.erasAbbrRegex(isStrict);\n }\n\n function matchEraName(isStrict, locale) {\n return locale.erasNameRegex(isStrict);\n }\n\n function matchEraNarrow(isStrict, locale) {\n return locale.erasNarrowRegex(isStrict);\n }\n\n function matchEraYearOrdinal(isStrict, locale) {\n return locale._eraYearOrdinalRegex || matchUnsigned;\n }\n\n function computeErasParse() {\n var abbrPieces = [],\n namePieces = [],\n narrowPieces = [],\n mixedPieces = [],\n i,\n l,\n eras = this.eras();\n\n for (i = 0, l = eras.length; i < l; ++i) {\n namePieces.push(regexEscape(eras[i].name));\n abbrPieces.push(regexEscape(eras[i].abbr));\n narrowPieces.push(regexEscape(eras[i].narrow));\n\n mixedPieces.push(regexEscape(eras[i].name));\n mixedPieces.push(regexEscape(eras[i].abbr));\n mixedPieces.push(regexEscape(eras[i].narrow));\n }\n\n this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');\n this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');\n this._erasNarrowRegex = new RegExp(\n '^(' + narrowPieces.join('|') + ')',\n 'i'\n );\n }\n\n // FORMATTING\n\n addFormatToken(0, ['gg', 2], 0, function () {\n return this.weekYear() % 100;\n });\n\n addFormatToken(0, ['GG', 2], 0, function () {\n return this.isoWeekYear() % 100;\n });\n\n function addWeekYearFormatToken(token, getter) {\n addFormatToken(0, [token, token.length], 0, getter);\n }\n\n addWeekYearFormatToken('gggg', 'weekYear');\n addWeekYearFormatToken('ggggg', 'weekYear');\n addWeekYearFormatToken('GGGG', 'isoWeekYear');\n addWeekYearFormatToken('GGGGG', 'isoWeekYear');\n\n // ALIASES\n\n addUnitAlias('weekYear', 'gg');\n addUnitAlias('isoWeekYear', 'GG');\n\n // PRIORITY\n\n addUnitPriority('weekYear', 1);\n addUnitPriority('isoWeekYear', 1);\n\n // PARSING\n\n addRegexToken('G', matchSigned);\n addRegexToken('g', matchSigned);\n addRegexToken('GG', match1to2, match2);\n addRegexToken('gg', match1to2, match2);\n addRegexToken('GGGG', match1to4, match4);\n addRegexToken('gggg', match1to4, match4);\n addRegexToken('GGGGG', match1to6, match6);\n addRegexToken('ggggg', match1to6, match6);\n\n addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (\n input,\n week,\n config,\n token\n ) {\n week[token.substr(0, 2)] = toInt(input);\n });\n\n addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n week[token] = hooks.parseTwoDigitYear(input);\n });\n\n // MOMENTS\n\n function getSetWeekYear(input) {\n return getSetWeekYearHelper.call(\n this,\n input,\n this.week(),\n this.weekday(),\n this.localeData()._week.dow,\n this.localeData()._week.doy\n );\n }\n\n function getSetISOWeekYear(input) {\n return getSetWeekYearHelper.call(\n this,\n input,\n this.isoWeek(),\n this.isoWeekday(),\n 1,\n 4\n );\n }\n\n function getISOWeeksInYear() {\n return weeksInYear(this.year(), 1, 4);\n }\n\n function getISOWeeksInISOWeekYear() {\n return weeksInYear(this.isoWeekYear(), 1, 4);\n }\n\n function getWeeksInYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n }\n\n function getWeeksInWeekYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);\n }\n\n function getSetWeekYearHelper(input, week, weekday, dow, doy) {\n var weeksTarget;\n if (input == null) {\n return weekOfYear(this, dow, doy).year;\n } else {\n weeksTarget = weeksInYear(input, dow, doy);\n if (week > weeksTarget) {\n week = weeksTarget;\n }\n return setWeekAll.call(this, input, week, weekday, dow, doy);\n }\n }\n\n function setWeekAll(weekYear, week, weekday, dow, doy) {\n var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n\n this.year(date.getUTCFullYear());\n this.month(date.getUTCMonth());\n this.date(date.getUTCDate());\n return this;\n }\n\n // FORMATTING\n\n addFormatToken('Q', 0, 'Qo', 'quarter');\n\n // ALIASES\n\n addUnitAlias('quarter', 'Q');\n\n // PRIORITY\n\n addUnitPriority('quarter', 7);\n\n // PARSING\n\n addRegexToken('Q', match1);\n addParseToken('Q', function (input, array) {\n array[MONTH] = (toInt(input) - 1) * 3;\n });\n\n // MOMENTS\n\n function getSetQuarter(input) {\n return input == null\n ? Math.ceil((this.month() + 1) / 3)\n : this.month((input - 1) * 3 + (this.month() % 3));\n }\n\n // FORMATTING\n\n addFormatToken('D', ['DD', 2], 'Do', 'date');\n\n // ALIASES\n\n addUnitAlias('date', 'D');\n\n // PRIORITY\n addUnitPriority('date', 9);\n\n // PARSING\n\n addRegexToken('D', match1to2);\n addRegexToken('DD', match1to2, match2);\n addRegexToken('Do', function (isStrict, locale) {\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n return isStrict\n ? locale._dayOfMonthOrdinalParse || locale._ordinalParse\n : locale._dayOfMonthOrdinalParseLenient;\n });\n\n addParseToken(['D', 'DD'], DATE);\n addParseToken('Do', function (input, array) {\n array[DATE] = toInt(input.match(match1to2)[0]);\n });\n\n // MOMENTS\n\n var getSetDayOfMonth = makeGetSet('Date', true);\n\n // FORMATTING\n\n addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');\n\n // ALIASES\n\n addUnitAlias('dayOfYear', 'DDD');\n\n // PRIORITY\n addUnitPriority('dayOfYear', 4);\n\n // PARSING\n\n addRegexToken('DDD', match1to3);\n addRegexToken('DDDD', match3);\n addParseToken(['DDD', 'DDDD'], function (input, array, config) {\n config._dayOfYear = toInt(input);\n });\n\n // HELPERS\n\n // MOMENTS\n\n function getSetDayOfYear(input) {\n var dayOfYear =\n Math.round(\n (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5\n ) + 1;\n return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n }\n\n // FORMATTING\n\n addFormatToken('m', ['mm', 2], 0, 'minute');\n\n // ALIASES\n\n addUnitAlias('minute', 'm');\n\n // PRIORITY\n\n addUnitPriority('minute', 14);\n\n // PARSING\n\n addRegexToken('m', match1to2);\n addRegexToken('mm', match1to2, match2);\n addParseToken(['m', 'mm'], MINUTE);\n\n // MOMENTS\n\n var getSetMinute = makeGetSet('Minutes', false);\n\n // FORMATTING\n\n addFormatToken('s', ['ss', 2], 0, 'second');\n\n // ALIASES\n\n addUnitAlias('second', 's');\n\n // PRIORITY\n\n addUnitPriority('second', 15);\n\n // PARSING\n\n addRegexToken('s', match1to2);\n addRegexToken('ss', match1to2, match2);\n addParseToken(['s', 'ss'], SECOND);\n\n // MOMENTS\n\n var getSetSecond = makeGetSet('Seconds', false);\n\n // FORMATTING\n\n addFormatToken('S', 0, 0, function () {\n return ~~(this.millisecond() / 100);\n });\n\n addFormatToken(0, ['SS', 2], 0, function () {\n return ~~(this.millisecond() / 10);\n });\n\n addFormatToken(0, ['SSS', 3], 0, 'millisecond');\n addFormatToken(0, ['SSSS', 4], 0, function () {\n return this.millisecond() * 10;\n });\n addFormatToken(0, ['SSSSS', 5], 0, function () {\n return this.millisecond() * 100;\n });\n addFormatToken(0, ['SSSSSS', 6], 0, function () {\n return this.millisecond() * 1000;\n });\n addFormatToken(0, ['SSSSSSS', 7], 0, function () {\n return this.millisecond() * 10000;\n });\n addFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n return this.millisecond() * 100000;\n });\n addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n return this.millisecond() * 1000000;\n });\n\n // ALIASES\n\n addUnitAlias('millisecond', 'ms');\n\n // PRIORITY\n\n addUnitPriority('millisecond', 16);\n\n // PARSING\n\n addRegexToken('S', match1to3, match1);\n addRegexToken('SS', match1to3, match2);\n addRegexToken('SSS', match1to3, match3);\n\n var token, getSetMillisecond;\n for (token = 'SSSS'; token.length <= 9; token += 'S') {\n addRegexToken(token, matchUnsigned);\n }\n\n function parseMs(input, array) {\n array[MILLISECOND] = toInt(('0.' + input) * 1000);\n }\n\n for (token = 'S'; token.length <= 9; token += 'S') {\n addParseToken(token, parseMs);\n }\n\n getSetMillisecond = makeGetSet('Milliseconds', false);\n\n // FORMATTING\n\n addFormatToken('z', 0, 0, 'zoneAbbr');\n addFormatToken('zz', 0, 0, 'zoneName');\n\n // MOMENTS\n\n function getZoneAbbr() {\n return this._isUTC ? 'UTC' : '';\n }\n\n function getZoneName() {\n return this._isUTC ? 'Coordinated Universal Time' : '';\n }\n\n var proto = Moment.prototype;\n\n proto.add = add;\n proto.calendar = calendar$1;\n proto.clone = clone;\n proto.diff = diff;\n proto.endOf = endOf;\n proto.format = format;\n proto.from = from;\n proto.fromNow = fromNow;\n proto.to = to;\n proto.toNow = toNow;\n proto.get = stringGet;\n proto.invalidAt = invalidAt;\n proto.isAfter = isAfter;\n proto.isBefore = isBefore;\n proto.isBetween = isBetween;\n proto.isSame = isSame;\n proto.isSameOrAfter = isSameOrAfter;\n proto.isSameOrBefore = isSameOrBefore;\n proto.isValid = isValid$2;\n proto.lang = lang;\n proto.locale = locale;\n proto.localeData = localeData;\n proto.max = prototypeMax;\n proto.min = prototypeMin;\n proto.parsingFlags = parsingFlags;\n proto.set = stringSet;\n proto.startOf = startOf;\n proto.subtract = subtract;\n proto.toArray = toArray;\n proto.toObject = toObject;\n proto.toDate = toDate;\n proto.toISOString = toISOString;\n proto.inspect = inspect;\n if (typeof Symbol !== 'undefined' && Symbol.for != null) {\n proto[Symbol.for('nodejs.util.inspect.custom')] = function () {\n return 'Moment<' + this.format() + '>';\n };\n }\n proto.toJSON = toJSON;\n proto.toString = toString;\n proto.unix = unix;\n proto.valueOf = valueOf;\n proto.creationData = creationData;\n proto.eraName = getEraName;\n proto.eraNarrow = getEraNarrow;\n proto.eraAbbr = getEraAbbr;\n proto.eraYear = getEraYear;\n proto.year = getSetYear;\n proto.isLeapYear = getIsLeapYear;\n proto.weekYear = getSetWeekYear;\n proto.isoWeekYear = getSetISOWeekYear;\n proto.quarter = proto.quarters = getSetQuarter;\n proto.month = getSetMonth;\n proto.daysInMonth = getDaysInMonth;\n proto.week = proto.weeks = getSetWeek;\n proto.isoWeek = proto.isoWeeks = getSetISOWeek;\n proto.weeksInYear = getWeeksInYear;\n proto.weeksInWeekYear = getWeeksInWeekYear;\n proto.isoWeeksInYear = getISOWeeksInYear;\n proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;\n proto.date = getSetDayOfMonth;\n proto.day = proto.days = getSetDayOfWeek;\n proto.weekday = getSetLocaleDayOfWeek;\n proto.isoWeekday = getSetISODayOfWeek;\n proto.dayOfYear = getSetDayOfYear;\n proto.hour = proto.hours = getSetHour;\n proto.minute = proto.minutes = getSetMinute;\n proto.second = proto.seconds = getSetSecond;\n proto.millisecond = proto.milliseconds = getSetMillisecond;\n proto.utcOffset = getSetOffset;\n proto.utc = setOffsetToUTC;\n proto.local = setOffsetToLocal;\n proto.parseZone = setOffsetToParsedOffset;\n proto.hasAlignedHourOffset = hasAlignedHourOffset;\n proto.isDST = isDaylightSavingTime;\n proto.isLocal = isLocal;\n proto.isUtcOffset = isUtcOffset;\n proto.isUtc = isUtc;\n proto.isUTC = isUtc;\n proto.zoneAbbr = getZoneAbbr;\n proto.zoneName = getZoneName;\n proto.dates = deprecate(\n 'dates accessor is deprecated. Use date instead.',\n getSetDayOfMonth\n );\n proto.months = deprecate(\n 'months accessor is deprecated. Use month instead',\n getSetMonth\n );\n proto.years = deprecate(\n 'years accessor is deprecated. Use year instead',\n getSetYear\n );\n proto.zone = deprecate(\n 'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',\n getSetZone\n );\n proto.isDSTShifted = deprecate(\n 'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',\n isDaylightSavingTimeShifted\n );\n\n function createUnix(input) {\n return createLocal(input * 1000);\n }\n\n function createInZone() {\n return createLocal.apply(null, arguments).parseZone();\n }\n\n function preParsePostFormat(string) {\n return string;\n }\n\n var proto$1 = Locale.prototype;\n\n proto$1.calendar = calendar;\n proto$1.longDateFormat = longDateFormat;\n proto$1.invalidDate = invalidDate;\n proto$1.ordinal = ordinal;\n proto$1.preparse = preParsePostFormat;\n proto$1.postformat = preParsePostFormat;\n proto$1.relativeTime = relativeTime;\n proto$1.pastFuture = pastFuture;\n proto$1.set = set;\n proto$1.eras = localeEras;\n proto$1.erasParse = localeErasParse;\n proto$1.erasConvertYear = localeErasConvertYear;\n proto$1.erasAbbrRegex = erasAbbrRegex;\n proto$1.erasNameRegex = erasNameRegex;\n proto$1.erasNarrowRegex = erasNarrowRegex;\n\n proto$1.months = localeMonths;\n proto$1.monthsShort = localeMonthsShort;\n proto$1.monthsParse = localeMonthsParse;\n proto$1.monthsRegex = monthsRegex;\n proto$1.monthsShortRegex = monthsShortRegex;\n proto$1.week = localeWeek;\n proto$1.firstDayOfYear = localeFirstDayOfYear;\n proto$1.firstDayOfWeek = localeFirstDayOfWeek;\n\n proto$1.weekdays = localeWeekdays;\n proto$1.weekdaysMin = localeWeekdaysMin;\n proto$1.weekdaysShort = localeWeekdaysShort;\n proto$1.weekdaysParse = localeWeekdaysParse;\n\n proto$1.weekdaysRegex = weekdaysRegex;\n proto$1.weekdaysShortRegex = weekdaysShortRegex;\n proto$1.weekdaysMinRegex = weekdaysMinRegex;\n\n proto$1.isPM = localeIsPM;\n proto$1.meridiem = localeMeridiem;\n\n function get$1(format, index, field, setter) {\n var locale = getLocale(),\n utc = createUTC().set(setter, index);\n return locale[field](utc, format);\n }\n\n function listMonthsImpl(format, index, field) {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n\n if (index != null) {\n return get$1(format, index, field, 'month');\n }\n\n var i,\n out = [];\n for (i = 0; i < 12; i++) {\n out[i] = get$1(format, i, field, 'month');\n }\n return out;\n }\n\n // ()\n // (5)\n // (fmt, 5)\n // (fmt)\n // (true)\n // (true, 5)\n // (true, fmt, 5)\n // (true, fmt)\n function listWeekdaysImpl(localeSorted, format, index, field) {\n if (typeof localeSorted === 'boolean') {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n } else {\n format = localeSorted;\n index = format;\n localeSorted = false;\n\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n\n format = format || '';\n }\n\n var locale = getLocale(),\n shift = localeSorted ? locale._week.dow : 0,\n i,\n out = [];\n\n if (index != null) {\n return get$1(format, (index + shift) % 7, field, 'day');\n }\n\n for (i = 0; i < 7; i++) {\n out[i] = get$1(format, (i + shift) % 7, field, 'day');\n }\n return out;\n }\n\n function listMonths(format, index) {\n return listMonthsImpl(format, index, 'months');\n }\n\n function listMonthsShort(format, index) {\n return listMonthsImpl(format, index, 'monthsShort');\n }\n\n function listWeekdays(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n }\n\n function listWeekdaysShort(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n }\n\n function listWeekdaysMin(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n }\n\n getSetGlobalLocale('en', {\n eras: [\n {\n since: '0001-01-01',\n until: +Infinity,\n offset: 1,\n name: 'Anno Domini',\n narrow: 'AD',\n abbr: 'AD',\n },\n {\n since: '0000-12-31',\n until: -Infinity,\n offset: 1,\n name: 'Before Christ',\n narrow: 'BC',\n abbr: 'BC',\n },\n ],\n dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n toInt((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n });\n\n // Side effect imports\n\n hooks.lang = deprecate(\n 'moment.lang is deprecated. Use moment.locale instead.',\n getSetGlobalLocale\n );\n hooks.langData = deprecate(\n 'moment.langData is deprecated. Use moment.localeData instead.',\n getLocale\n );\n\n var mathAbs = Math.abs;\n\n function abs() {\n var data = this._data;\n\n this._milliseconds = mathAbs(this._milliseconds);\n this._days = mathAbs(this._days);\n this._months = mathAbs(this._months);\n\n data.milliseconds = mathAbs(data.milliseconds);\n data.seconds = mathAbs(data.seconds);\n data.minutes = mathAbs(data.minutes);\n data.hours = mathAbs(data.hours);\n data.months = mathAbs(data.months);\n data.years = mathAbs(data.years);\n\n return this;\n }\n\n function addSubtract$1(duration, input, value, direction) {\n var other = createDuration(input, value);\n\n duration._milliseconds += direction * other._milliseconds;\n duration._days += direction * other._days;\n duration._months += direction * other._months;\n\n return duration._bubble();\n }\n\n // supports only 2.0-style add(1, 's') or add(duration)\n function add$1(input, value) {\n return addSubtract$1(this, input, value, 1);\n }\n\n // supports only 2.0-style subtract(1, 's') or subtract(duration)\n function subtract$1(input, value) {\n return addSubtract$1(this, input, value, -1);\n }\n\n function absCeil(number) {\n if (number < 0) {\n return Math.floor(number);\n } else {\n return Math.ceil(number);\n }\n }\n\n function bubble() {\n var milliseconds = this._milliseconds,\n days = this._days,\n months = this._months,\n data = this._data,\n seconds,\n minutes,\n hours,\n years,\n monthsFromDays;\n\n // if we have a mix of positive and negative values, bubble down first\n // check: https://github.com/moment/moment/issues/2166\n if (\n !(\n (milliseconds >= 0 && days >= 0 && months >= 0) ||\n (milliseconds <= 0 && days <= 0 && months <= 0)\n )\n ) {\n milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n days = 0;\n months = 0;\n }\n\n // The following code bubbles up values, see the tests for\n // examples of what that means.\n data.milliseconds = milliseconds % 1000;\n\n seconds = absFloor(milliseconds / 1000);\n data.seconds = seconds % 60;\n\n minutes = absFloor(seconds / 60);\n data.minutes = minutes % 60;\n\n hours = absFloor(minutes / 60);\n data.hours = hours % 24;\n\n days += absFloor(hours / 24);\n\n // convert days to months\n monthsFromDays = absFloor(daysToMonths(days));\n months += monthsFromDays;\n days -= absCeil(monthsToDays(monthsFromDays));\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n\n data.days = days;\n data.months = months;\n data.years = years;\n\n return this;\n }\n\n function daysToMonths(days) {\n // 400 years have 146097 days (taking into account leap year rules)\n // 400 years have 12 months === 4800\n return (days * 4800) / 146097;\n }\n\n function monthsToDays(months) {\n // the reverse of daysToMonths\n return (months * 146097) / 4800;\n }\n\n function as(units) {\n if (!this.isValid()) {\n return NaN;\n }\n var days,\n months,\n milliseconds = this._milliseconds;\n\n units = normalizeUnits(units);\n\n if (units === 'month' || units === 'quarter' || units === 'year') {\n days = this._days + milliseconds / 864e5;\n months = this._months + daysToMonths(days);\n switch (units) {\n case 'month':\n return months;\n case 'quarter':\n return months / 3;\n case 'year':\n return months / 12;\n }\n } else {\n // handle milliseconds separately because of floating point math errors (issue #1867)\n days = this._days + Math.round(monthsToDays(this._months));\n switch (units) {\n case 'week':\n return days / 7 + milliseconds / 6048e5;\n case 'day':\n return days + milliseconds / 864e5;\n case 'hour':\n return days * 24 + milliseconds / 36e5;\n case 'minute':\n return days * 1440 + milliseconds / 6e4;\n case 'second':\n return days * 86400 + milliseconds / 1000;\n // Math.floor prevents floating point math errors here\n case 'millisecond':\n return Math.floor(days * 864e5) + milliseconds;\n default:\n throw new Error('Unknown unit ' + units);\n }\n }\n }\n\n // TODO: Use this.as('ms')?\n function valueOf$1() {\n if (!this.isValid()) {\n return NaN;\n }\n return (\n this._milliseconds +\n this._days * 864e5 +\n (this._months % 12) * 2592e6 +\n toInt(this._months / 12) * 31536e6\n );\n }\n\n function makeAs(alias) {\n return function () {\n return this.as(alias);\n };\n }\n\n var asMilliseconds = makeAs('ms'),\n asSeconds = makeAs('s'),\n asMinutes = makeAs('m'),\n asHours = makeAs('h'),\n asDays = makeAs('d'),\n asWeeks = makeAs('w'),\n asMonths = makeAs('M'),\n asQuarters = makeAs('Q'),\n asYears = makeAs('y');\n\n function clone$1() {\n return createDuration(this);\n }\n\n function get$2(units) {\n units = normalizeUnits(units);\n return this.isValid() ? this[units + 's']() : NaN;\n }\n\n function makeGetter(name) {\n return function () {\n return this.isValid() ? this._data[name] : NaN;\n };\n }\n\n var milliseconds = makeGetter('milliseconds'),\n seconds = makeGetter('seconds'),\n minutes = makeGetter('minutes'),\n hours = makeGetter('hours'),\n days = makeGetter('days'),\n months = makeGetter('months'),\n years = makeGetter('years');\n\n function weeks() {\n return absFloor(this.days() / 7);\n }\n\n var round = Math.round,\n thresholds = {\n ss: 44, // a few seconds to seconds\n s: 45, // seconds to minute\n m: 45, // minutes to hour\n h: 22, // hours to day\n d: 26, // days to month/week\n w: null, // weeks to month\n M: 11, // months to year\n };\n\n // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\n function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n }\n\n function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {\n var duration = createDuration(posNegDuration).abs(),\n seconds = round(duration.as('s')),\n minutes = round(duration.as('m')),\n hours = round(duration.as('h')),\n days = round(duration.as('d')),\n months = round(duration.as('M')),\n weeks = round(duration.as('w')),\n years = round(duration.as('y')),\n a =\n (seconds <= thresholds.ss && ['s', seconds]) ||\n (seconds < thresholds.s && ['ss', seconds]) ||\n (minutes <= 1 && ['m']) ||\n (minutes < thresholds.m && ['mm', minutes]) ||\n (hours <= 1 && ['h']) ||\n (hours < thresholds.h && ['hh', hours]) ||\n (days <= 1 && ['d']) ||\n (days < thresholds.d && ['dd', days]);\n\n if (thresholds.w != null) {\n a =\n a ||\n (weeks <= 1 && ['w']) ||\n (weeks < thresholds.w && ['ww', weeks]);\n }\n a = a ||\n (months <= 1 && ['M']) ||\n (months < thresholds.M && ['MM', months]) ||\n (years <= 1 && ['y']) || ['yy', years];\n\n a[2] = withoutSuffix;\n a[3] = +posNegDuration > 0;\n a[4] = locale;\n return substituteTimeAgo.apply(null, a);\n }\n\n // This function allows you to set the rounding function for relative time strings\n function getSetRelativeTimeRounding(roundingFunction) {\n if (roundingFunction === undefined) {\n return round;\n }\n if (typeof roundingFunction === 'function') {\n round = roundingFunction;\n return true;\n }\n return false;\n }\n\n // This function allows you to set a threshold for relative time strings\n function getSetRelativeTimeThreshold(threshold, limit) {\n if (thresholds[threshold] === undefined) {\n return false;\n }\n if (limit === undefined) {\n return thresholds[threshold];\n }\n thresholds[threshold] = limit;\n if (threshold === 's') {\n thresholds.ss = limit - 1;\n }\n return true;\n }\n\n function humanize(argWithSuffix, argThresholds) {\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n\n var withSuffix = false,\n th = thresholds,\n locale,\n output;\n\n if (typeof argWithSuffix === 'object') {\n argThresholds = argWithSuffix;\n argWithSuffix = false;\n }\n if (typeof argWithSuffix === 'boolean') {\n withSuffix = argWithSuffix;\n }\n if (typeof argThresholds === 'object') {\n th = Object.assign({}, thresholds, argThresholds);\n if (argThresholds.s != null && argThresholds.ss == null) {\n th.ss = argThresholds.s - 1;\n }\n }\n\n locale = this.localeData();\n output = relativeTime$1(this, !withSuffix, th, locale);\n\n if (withSuffix) {\n output = locale.pastFuture(+this, output);\n }\n\n return locale.postformat(output);\n }\n\n var abs$1 = Math.abs;\n\n function sign(x) {\n return (x > 0) - (x < 0) || +x;\n }\n\n function toISOString$1() {\n // for ISO strings we do not use the normal bubbling rules:\n // * milliseconds bubble up until they become hours\n // * days do not bubble at all\n // * months bubble up until they become years\n // This is because there is no context-free conversion between hours and days\n // (think of clock changes)\n // and also not between days and months (28-31 days per month)\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n\n var seconds = abs$1(this._milliseconds) / 1000,\n days = abs$1(this._days),\n months = abs$1(this._months),\n minutes,\n hours,\n years,\n s,\n total = this.asSeconds(),\n totalSign,\n ymSign,\n daysSign,\n hmsSign;\n\n if (!total) {\n // this is the same as C#'s (Noda) and python (isodate)...\n // but not other JS (goog.date)\n return 'P0D';\n }\n\n // 3600 seconds -> 60 minutes -> 1 hour\n minutes = absFloor(seconds / 60);\n hours = absFloor(minutes / 60);\n seconds %= 60;\n minutes %= 60;\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n\n // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n\n totalSign = total < 0 ? '-' : '';\n ymSign = sign(this._months) !== sign(total) ? '-' : '';\n daysSign = sign(this._days) !== sign(total) ? '-' : '';\n hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n\n return (\n totalSign +\n 'P' +\n (years ? ymSign + years + 'Y' : '') +\n (months ? ymSign + months + 'M' : '') +\n (days ? daysSign + days + 'D' : '') +\n (hours || minutes || seconds ? 'T' : '') +\n (hours ? hmsSign + hours + 'H' : '') +\n (minutes ? hmsSign + minutes + 'M' : '') +\n (seconds ? hmsSign + s + 'S' : '')\n );\n }\n\n var proto$2 = Duration.prototype;\n\n proto$2.isValid = isValid$1;\n proto$2.abs = abs;\n proto$2.add = add$1;\n proto$2.subtract = subtract$1;\n proto$2.as = as;\n proto$2.asMilliseconds = asMilliseconds;\n proto$2.asSeconds = asSeconds;\n proto$2.asMinutes = asMinutes;\n proto$2.asHours = asHours;\n proto$2.asDays = asDays;\n proto$2.asWeeks = asWeeks;\n proto$2.asMonths = asMonths;\n proto$2.asQuarters = asQuarters;\n proto$2.asYears = asYears;\n proto$2.valueOf = valueOf$1;\n proto$2._bubble = bubble;\n proto$2.clone = clone$1;\n proto$2.get = get$2;\n proto$2.milliseconds = milliseconds;\n proto$2.seconds = seconds;\n proto$2.minutes = minutes;\n proto$2.hours = hours;\n proto$2.days = days;\n proto$2.weeks = weeks;\n proto$2.months = months;\n proto$2.years = years;\n proto$2.humanize = humanize;\n proto$2.toISOString = toISOString$1;\n proto$2.toString = toISOString$1;\n proto$2.toJSON = toISOString$1;\n proto$2.locale = locale;\n proto$2.localeData = localeData;\n\n proto$2.toIsoString = deprecate(\n 'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',\n toISOString$1\n );\n proto$2.lang = lang;\n\n // FORMATTING\n\n addFormatToken('X', 0, 0, 'unix');\n addFormatToken('x', 0, 0, 'valueOf');\n\n // PARSING\n\n addRegexToken('x', matchSigned);\n addRegexToken('X', matchTimestamp);\n addParseToken('X', function (input, array, config) {\n config._d = new Date(parseFloat(input) * 1000);\n });\n addParseToken('x', function (input, array, config) {\n config._d = new Date(toInt(input));\n });\n\n //! moment.js\n\n hooks.version = '2.26.0';\n\n setHookCallback(createLocal);\n\n hooks.fn = proto;\n hooks.min = min;\n hooks.max = max;\n hooks.now = now;\n hooks.utc = createUTC;\n hooks.unix = createUnix;\n hooks.months = listMonths;\n hooks.isDate = isDate;\n hooks.locale = getSetGlobalLocale;\n hooks.invalid = createInvalid;\n hooks.duration = createDuration;\n hooks.isMoment = isMoment;\n hooks.weekdays = listWeekdays;\n hooks.parseZone = createInZone;\n hooks.localeData = getLocale;\n hooks.isDuration = isDuration;\n hooks.monthsShort = listMonthsShort;\n hooks.weekdaysMin = listWeekdaysMin;\n hooks.defineLocale = defineLocale;\n hooks.updateLocale = updateLocale;\n hooks.locales = listLocales;\n hooks.weekdaysShort = listWeekdaysShort;\n hooks.normalizeUnits = normalizeUnits;\n hooks.relativeTimeRounding = getSetRelativeTimeRounding;\n hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\n hooks.calendarFormat = getCalendarFormat;\n hooks.prototype = proto;\n\n // currently HTML5 input type only supports 24-hour formats\n hooks.HTML5_FMT = {\n DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // <input type=\"datetime-local\" />\n DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // <input type=\"datetime-local\" step=\"1\" />\n DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // <input type=\"datetime-local\" step=\"0.001\" />\n DATE: 'YYYY-MM-DD', // <input type=\"date\" />\n TIME: 'HH:mm', // <input type=\"time\" />\n TIME_SECONDS: 'HH:mm:ss', // <input type=\"time\" step=\"1\" />\n TIME_MS: 'HH:mm:ss.SSS', // <input type=\"time\" step=\"0.001\" />\n WEEK: 'GGGG-[W]WW', // <input type=\"week\" />\n MONTH: 'YYYY-MM', // <input type=\"month\" />\n };\n\n return hooks;\n\n})));\n","'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = require('./_classof');\nvar test = {};\ntest[require('./_wks')('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n require('./_redefine')(Object.prototype, 'toString', function toString() {\n return '[object ' + classof(this) + ']';\n }, true);\n}\n","require('./angular');\nmodule.exports = angular;\n","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n","require('./_wks-define')('asyncIterator');\n","'use strict';\nrequire('./es6.regexp.flags');\nvar anObject = require('./_an-object');\nvar $flags = require('./_flags');\nvar DESCRIPTORS = require('./_descriptors');\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (require('./_fails')(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n","var DateProto = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar $toString = DateProto[TO_STRING];\nvar getTime = DateProto.getTime;\nif (new Date(NaN) + '' != INVALID_DATE) {\n require('./_redefine')(DateProto, TO_STRING, function toString() {\n var value = getTime.call(this);\n // eslint-disable-next-line no-self-compare\n return value === value ? $toString.call(this) : INVALID_DATE;\n });\n}\n","var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n","// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = require('./_export');\nvar create = require('./_object-create');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar bind = require('./_bind');\nvar rConstruct = (require('./_global').Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set });\n","var $iterators = require('./es6.array.iterator');\nvar getKeys = require('./_object-keys');\nvar redefine = require('./_redefine');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar wks = require('./_wks');\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n CSSRuleList: true, // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true, // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true, // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n}\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $indexOf = require('./_array-includes')(false);\nvar $native = [].indexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? $native.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments[1]);\n }\n});\n","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') });\n","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join('');\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === 'string') {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring\n\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || '').concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n return \"/*# \".concat(data, \" */\");\n}","\"use strict\";\n\nvar stylesInDom = {};\n\nvar isOldIE = function isOldIE() {\n var memo;\n return function memorize() {\n if (typeof memo === 'undefined') {\n // Test for IE <= 9 as proposed by Browserhacks\n // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n // Tests for existence of standard globals is to allow style-loader\n // to operate correctly into non-standard environments\n // @see https://github.com/webpack-contrib/style-loader/issues/177\n memo = Boolean(window && document && document.all && !window.atob);\n }\n\n return memo;\n };\n}();\n\nvar getTarget = function getTarget() {\n var memo = {};\n return function memorize(target) {\n if (typeof memo[target] === 'undefined') {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n };\n}();\n\nfunction listToStyles(list, options) {\n var styles = [];\n var newStyles = {};\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var css = item[1];\n var media = item[2];\n var sourceMap = item[3];\n var part = {\n css: css,\n media: media,\n sourceMap: sourceMap\n };\n\n if (!newStyles[id]) {\n styles.push(newStyles[id] = {\n id: id,\n parts: [part]\n });\n } else {\n newStyles[id].parts.push(part);\n }\n }\n\n return styles;\n}\n\nfunction addStylesToDom(styles, options) {\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i];\n var domStyle = stylesInDom[item.id];\n var j = 0;\n\n if (domStyle) {\n domStyle.refs++;\n\n for (; j < domStyle.parts.length; j++) {\n domStyle.parts[j](item.parts[j]);\n }\n\n for (; j < item.parts.length; j++) {\n domStyle.parts.push(addStyle(item.parts[j], options));\n }\n } else {\n var parts = [];\n\n for (; j < item.parts.length; j++) {\n parts.push(addStyle(item.parts[j], options));\n }\n\n stylesInDom[item.id] = {\n id: item.id,\n refs: 1,\n parts: parts\n };\n }\n }\n}\n\nfunction insertStyleElement(options) {\n var style = document.createElement('style');\n\n if (typeof options.attributes.nonce === 'undefined') {\n var nonce = typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;\n\n if (nonce) {\n options.attributes.nonce = nonce;\n }\n }\n\n Object.keys(options.attributes).forEach(function (key) {\n style.setAttribute(key, options.attributes[key]);\n });\n\n if (typeof options.insert === 'function') {\n options.insert(style);\n } else {\n var target = getTarget(options.insert || 'head');\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n }\n\n return style;\n}\n\nfunction removeStyleElement(style) {\n // istanbul ignore if\n if (style.parentNode === null) {\n return false;\n }\n\n style.parentNode.removeChild(style);\n}\n/* istanbul ignore next */\n\n\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join('\\n');\n };\n}();\n\nfunction applyToSingletonTag(style, index, remove, obj) {\n var css = remove ? '' : obj.css; // For old IE\n\n /* istanbul ignore if */\n\n if (style.styleSheet) {\n style.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = style.childNodes;\n\n if (childNodes[index]) {\n style.removeChild(childNodes[index]);\n }\n\n if (childNodes.length) {\n style.insertBefore(cssNode, childNodes[index]);\n } else {\n style.appendChild(cssNode);\n }\n }\n}\n\nfunction applyToTag(style, options, obj) {\n var css = obj.css;\n var media = obj.media;\n var sourceMap = obj.sourceMap;\n\n if (media) {\n style.setAttribute('media', media);\n }\n\n if (sourceMap && btoa) {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n } // For old IE\n\n /* istanbul ignore if */\n\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n while (style.firstChild) {\n style.removeChild(style.firstChild);\n }\n\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar singleton = null;\nvar singletonCounter = 0;\n\nfunction addStyle(obj, options) {\n var style;\n var update;\n var remove;\n\n if (options.singleton) {\n var styleIndex = singletonCounter++;\n style = singleton || (singleton = insertStyleElement(options));\n update = applyToSingletonTag.bind(null, style, styleIndex, false);\n remove = applyToSingletonTag.bind(null, style, styleIndex, true);\n } else {\n style = insertStyleElement(options);\n update = applyToTag.bind(null, style, options);\n\n remove = function remove() {\n removeStyleElement(style);\n };\n }\n\n update(obj);\n return function updateStyle(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {\n return;\n }\n\n update(obj = newObj);\n } else {\n remove();\n }\n };\n}\n\nmodule.exports = function (list, options) {\n options = options || {};\n options.attributes = typeof options.attributes === 'object' ? options.attributes : {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n // tags it will allow on a page\n\n if (!options.singleton && typeof options.singleton !== 'boolean') {\n options.singleton = isOldIE();\n }\n\n var styles = listToStyles(list, options);\n addStylesToDom(styles, options);\n return function update(newList) {\n var mayRemove = [];\n\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i];\n var domStyle = stylesInDom[item.id];\n\n if (domStyle) {\n domStyle.refs--;\n mayRemove.push(domStyle);\n }\n }\n\n if (newList) {\n var newStyles = listToStyles(newList, options);\n addStylesToDom(newStyles, options);\n }\n\n for (var _i = 0; _i < mayRemove.length; _i++) {\n var _domStyle = mayRemove[_i];\n\n if (_domStyle.refs === 0) {\n for (var j = 0; j < _domStyle.parts.length; j++) {\n _domStyle.parts[j]();\n }\n\n delete stylesInDom[_domStyle.id];\n }\n }\n };\n};","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"/* stylelint-disable color-no-hex */\\n\\n:root {\\n --ring-unit: 8px;\\n\\n /* Element */\\n --ring-line-color: #dfe5eb;\\n --ring-dark-line-color: #475159;\\n --ring-borders-color: #b8d1e5;\\n --ring-dark-borders-color: #406380;\\n --ring-icon-color: var(--ring-borders-color);\\n --ring-icon-secondary-color: #999;\\n --ring-border-disabled-color: #dbdbdb;\\n --ring-icon-disabled-color: #bbb;\\n --ring-border-hover-color: #80c6ff;\\n --ring-dark-border-hover-color: #70b1e6;\\n --ring-icon-hover-color: var(--ring-border-hover-color);\\n --ring-main-color: #008eff;\\n --ring-main-hover-color: #007ee5;\\n --ring-icon-error-color: #db5860;\\n --ring-icon-warning-color: #eda200;\\n --ring-icon-success-color: #59a869;\\n --ring-pale-control-color: #cfdbe5;\\n --ring-popup-border-components: 0, 42, 76;\\n --ring-popup-border-color: rgba(var(--ring-popup-border-components), 0.1);\\n --ring-popup-shadow-color: rgba(var(--ring-popup-border-components), 0.15);\\n --ring-message-shadow-color: rgba(var(--ring-popup-border-components), 0.3);\\n\\n /* Text */\\n --ring-search-color: #669ecc;\\n --ring-hint-color: #406380;\\n --ring-link-color: #0f5b99;\\n --ring-link-hover-color: #ff008c;\\n --ring-error-color: #c22731;\\n --ring-warning-color: #cc8b00;\\n --ring-success-color: #1b8833;\\n --ring-text-color: #1f2326;\\n --ring-dark-text-color: #fff;\\n --ring-heading-color: var(--ring-text-color);\\n --ring-secondary-color: #737577;\\n --ring-dark-secondary-color: #888;\\n --ring-disabled-color: #999;\\n --ring-dark-disabled-color: #444;\\n --ring-dark-active-color: #ccc;\\n\\n /* Background */\\n --ring-content-background-color: #fff;\\n --ring-popup-background-color: #fff;\\n --ring-sidebar-background-color: #f7f9fa;\\n --ring-selected-background-color: #d4edff;\\n --ring-hover-background-color: #ebf6ff;\\n --ring-dark-selected-background-color: #002a4d;\\n --ring-message-background-color: #111314;\\n --ring-navigation-background-color: #000;\\n --ring-tag-background-color: #e6ecf2;\\n --ring-removed-background-color: #ffd5cb;\\n --ring-warning-background-color: #faeccd;\\n --ring-added-background-color: #bce8bb;\\n\\n /* Code */\\n --ring-code-background-color: var(--ring-content-background-color);\\n --ring-code-color: #000;\\n --ring-code-comment-color: #707070;\\n --ring-code-meta-color: #707070;\\n --ring-code-keyword-color: #000080;\\n --ring-code-tag-background-color: #efefef;\\n --ring-code-tag-color: var(--ring-code-keyword-color);\\n --ring-code-tag-font-weight: bold;\\n --ring-code-field-color: #660e7a;\\n --ring-code-attribute-color: #00f;\\n --ring-code-number-color: var(--ring-code-attribute-color);\\n --ring-code-string-color: #007a00;\\n --ring-code-addition-color: #aadeaa;\\n --ring-code-deletion-color: #c8c8c8;\\n\\n /* Metrics */\\n --ring-border-radius: 3px;\\n --ring-border-radius-small: 2px;\\n --ring-font-size-larger: 14px;\\n --ring-font-size: 13px;\\n --ring-font-size-smaller: 12px;\\n --ring-line-height-taller: 21px;\\n --ring-line-height: 20px;\\n --ring-line-height-lower: 18px;\\n --ring-line-height-lowest: 16px;\\n --ring-ease: 0.3s ease-out;\\n --ring-fast-ease: 0.15s ease-out;\\n --ring-font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;\\n --ring-font-family-monospace: Menlo, \\\"Bitstream Vera Sans Mono\\\", \\\"Ubuntu Mono\\\", Consolas, \\\"Courier New\\\", Courier, monospace;\\n\\n /* Common z-index-values */\\n\\n /* Invisible element is an absolutely positioned element which should be below */\\n /* all other elements on the page */\\n --ring-invisible-element-z-index: -1;\\n\\n /* z-index for position: fixed elements */\\n --ring-fixed-z-index: 1;\\n\\n /* Elements that should overlay all other elements on the page */\\n --ring-overlay-z-index: 5;\\n\\n /* Alerts should de displayed above overlays */\\n --ring-alert-z-index: 6;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./date-picker.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./button.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","'use strict';\nvar $export = require('./_export');\nvar $filter = require('./_array-methods')(2);\n\n$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', {\n // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments[1]);\n }\n});\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./list.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"/* https://readymag.com/artemtiunov/RingUILanguage/colours/ */\\n\\n/*\\nUnit shouldn't be CSS custom property because it is not intended to change\\nAlso it won't form in FF47 https://bugzilla.mozilla.org/show_bug.cgi?id=594933\\n*/\\n\\n.clearfix_ca0::after {\\n display: block;\\n clear: both;\\n\\n content: '';\\n }\\n\\n.font_8a3 {\\n font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;\\n font-family: var(--ring-font-family);\\n font-size: 13px;\\n font-size: var(--ring-font-size);\\n line-height: 20px;\\n line-height: var(--ring-line-height);\\n}\\n\\n.font-lower_8cc {\\n\\n line-height: 18px;\\n\\n line-height: var(--ring-line-height-lower);\\n}\\n\\n.font-smaller_9e5 {\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n}\\n\\n.font-smaller-lower_eb4 {\\n\\n line-height: 16px;\\n\\n line-height: var(--ring-line-height-lowest);\\n}\\n\\n.font-larger-lower_0bc {\\n\\n font-size: 14px;\\n\\n font-size: var(--ring-font-size-larger);\\n}\\n\\n.font-larger_a84 {\\n\\n line-height: 21px;\\n\\n line-height: var(--ring-line-height-taller);\\n}\\n\\n/* To be used at large sizes */\\n/* As close as possible to Helvetica Neue Thin (to replace Gotham) */\\n.thin-font_7d4 {\\n font-family: \\\"Segoe UI\\\", \\\"Helvetica Neue\\\", Helvetica, Arial, sans-serif;\\n font-size: 13px;\\n font-size: var(--ring-font-size);\\n font-weight: 100; /* Renders Helvetica Neue UltraLight on OS X */\\n}\\n\\n.monospace-font_e80 {\\n font-family: Menlo, \\\"Bitstream Vera Sans Mono\\\", \\\"Ubuntu Mono\\\", Consolas, \\\"Courier New\\\", Courier, monospace;\\n font-family: var(--ring-font-family-monospace);\\n font-size: 12px;\\n font-size: var(--ring-font-size-smaller);\\n}\\n\\n.ellipsis_e1d {\\n overflow: hidden;\\n\\n white-space: nowrap;\\n text-overflow: ellipsis;\\n}\\n\\n.resetButton_d1a {\\n overflow: visible;\\n\\n padding: 0;\\n\\n text-align: left;\\n\\n color: inherit;\\n border: 0;\\n\\n background: transparent;\\n\\n font: inherit\\n}\\n\\n.resetButton_d1a::-moz-focus-inner {\\n padding: 0;\\n\\n border: 0;\\n }\\n\\n/* Note: footer also has top margin which isn't taken into account here */\\n\\n/* Media breakpoints (minimal values) */\\n\\n/* Media queries */\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"8px\",\n\t\"footer-height\": \"64px\",\n\t\"breakpoint-small\": \"640px\",\n\t\"breakpoint-middle\": \"960px\",\n\t\"breakpoint-large\": \"1200px\",\n\t\"extra-small-screen-media\": \"(max-width: 639px)\",\n\t\"small-screen-media\": \"(min-width: 640px) and (max-width: 959px)\",\n\t\"middle-screen-media\": \"(min-width: 960px) and (max-width: 1199px)\",\n\t\"large-screen-media\": \"(min-width: 1200px)\",\n\t\"clearfix\": \"clearfix_ca0\",\n\t\"font\": \"font_8a3\",\n\t\"font-lower\": \"font-lower_8cc font_8a3\",\n\t\"font-smaller\": \"font-smaller_9e5 font-lower_8cc font_8a3\",\n\t\"font-smaller-lower\": \"font-smaller-lower_eb4 font-smaller_9e5 font-lower_8cc font_8a3\",\n\t\"font-larger-lower\": \"font-larger-lower_0bc font-lower_8cc font_8a3\",\n\t\"font-larger\": \"font-larger_a84 font-larger-lower_0bc font-lower_8cc font_8a3\",\n\t\"thin-font\": \"thin-font_7d4\",\n\t\"monospace-font\": \"monospace-font_e80\",\n\t\"ellipsis\": \"ellipsis_e1d\",\n\t\"resetButton\": \"resetButton_d1a\"\n};\nmodule.exports = exports;\n","/*\nSyntax highlighting with language autodetection.\nhttps://highlightjs.org/\n*/\n\n(function(factory) {\n\n // Find the global object for export to both the browser and web workers.\n var globalObject = typeof window === 'object' && window ||\n typeof self === 'object' && self;\n\n // Setup highlight.js for different environments. First is Node.js or\n // CommonJS.\n // `nodeType` is checked to ensure that `exports` is not a HTML element.\n if(typeof exports !== 'undefined' && !exports.nodeType) {\n factory(exports);\n } else if(globalObject) {\n // Export hljs globally even when using AMD for cases when this script\n // is loaded with others that may still expect a global hljs.\n globalObject.hljs = factory({});\n\n // Finally register the global hljs with AMD.\n if(typeof define === 'function' && define.amd) {\n define([], function() {\n return globalObject.hljs;\n });\n }\n }\n\n}(function(hljs) {\n // Convenience variables for build-in objects\n var ArrayProto = [],\n objectKeys = Object.keys;\n\n // Global internal variables used within the highlight.js library.\n var languages = {},\n aliases = {};\n\n // safe/production mode - swallows more errors, tries to keep running\n // even if a single syntax or parse hits a fatal error\n var SAFE_MODE = true;\n\n // Regular expressions used throughout the highlight.js library.\n var noHighlightRe = /^(no-?highlight|plain|text)$/i,\n languagePrefixRe = /\\blang(?:uage)?-([\\w-]+)\\b/i,\n fixMarkupRe = /((^(<[^>]+>|\\t|)+|(?:\\n)))/gm;\n\n // The object will be assigned by the build tool. It used to synchronize API\n // of external language files with minified version of the highlight.js library.\n var API_REPLACES;\n\n var spanEndTag = '</span>';\n var LANGUAGE_NOT_FOUND = \"Could not find the language '{}', did you forget to load/include a language module?\";\n\n // Global options used when within external APIs. This is modified when\n // calling the `hljs.configure` function.\n var options = {\n classPrefix: 'hljs-',\n tabReplace: null,\n useBR: false,\n languages: undefined\n };\n\n // keywords that should have no default relevance value\n var COMMON_KEYWORDS = 'of and for in not or if then'.split(' ');\n\n\n /* Utility functions */\n\n function escape(value) {\n return value.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');\n }\n\n function tag(node) {\n return node.nodeName.toLowerCase();\n }\n\n function testRe(re, lexeme) {\n var match = re && re.exec(lexeme);\n return match && match.index === 0;\n }\n\n function isNotHighlighted(language) {\n return noHighlightRe.test(language);\n }\n\n function blockLanguage(block) {\n var i, match, length, _class;\n var classes = block.className + ' ';\n\n classes += block.parentNode ? block.parentNode.className : '';\n\n // language-* takes precedence over non-prefixed class names.\n match = languagePrefixRe.exec(classes);\n if (match) {\n var language = getLanguage(match[1]);\n if (!language) {\n console.warn(LANGUAGE_NOT_FOUND.replace(\"{}\", match[1]));\n console.warn(\"Falling back to no-highlight mode for this block.\", block);\n }\n return language ? match[1] : 'no-highlight';\n }\n\n classes = classes.split(/\\s+/);\n\n for (i = 0, length = classes.length; i < length; i++) {\n _class = classes[i];\n\n if (isNotHighlighted(_class) || getLanguage(_class)) {\n return _class;\n }\n }\n }\n\n /**\n * performs a shallow merge of multiple objects into one\n *\n * @arguments list of objects with properties to merge\n * @returns a single new object\n */\n function inherit(parent) { // inherit(parent, override_obj, override_obj, ...)\n var key;\n var result = {};\n var objects = Array.prototype.slice.call(arguments, 1);\n\n for (key in parent)\n result[key] = parent[key];\n objects.forEach(function(obj) {\n for (key in obj)\n result[key] = obj[key];\n });\n return result;\n }\n\n /* Stream merging */\n\n function nodeStream(node) {\n var result = [];\n (function _nodeStream(node, offset) {\n for (var child = node.firstChild; child; child = child.nextSibling) {\n if (child.nodeType === 3)\n offset += child.nodeValue.length;\n else if (child.nodeType === 1) {\n result.push({\n event: 'start',\n offset: offset,\n node: child\n });\n offset = _nodeStream(child, offset);\n // Prevent void elements from having an end tag that would actually\n // double them in the output. There are more void elements in HTML\n // but we list only those realistically expected in code display.\n if (!tag(child).match(/br|hr|img|input/)) {\n result.push({\n event: 'stop',\n offset: offset,\n node: child\n });\n }\n }\n }\n return offset;\n })(node, 0);\n return result;\n }\n\n function mergeStreams(original, highlighted, value) {\n var processed = 0;\n var result = '';\n var nodeStack = [];\n\n function selectStream() {\n if (!original.length || !highlighted.length) {\n return original.length ? original : highlighted;\n }\n if (original[0].offset !== highlighted[0].offset) {\n return (original[0].offset < highlighted[0].offset) ? original : highlighted;\n }\n\n /*\n To avoid starting the stream just before it should stop the order is\n ensured that original always starts first and closes last:\n\n if (event1 == 'start' && event2 == 'start')\n return original;\n if (event1 == 'start' && event2 == 'stop')\n return highlighted;\n if (event1 == 'stop' && event2 == 'start')\n return original;\n if (event1 == 'stop' && event2 == 'stop')\n return highlighted;\n\n ... which is collapsed to:\n */\n return highlighted[0].event === 'start' ? original : highlighted;\n }\n\n function open(node) {\n function attr_str(a) {\n return ' ' + a.nodeName + '=\"' + escape(a.value).replace(/\"/g, '&quot;') + '\"';\n }\n result += '<' + tag(node) + ArrayProto.map.call(node.attributes, attr_str).join('') + '>';\n }\n\n function close(node) {\n result += '</' + tag(node) + '>';\n }\n\n function render(event) {\n (event.event === 'start' ? open : close)(event.node);\n }\n\n while (original.length || highlighted.length) {\n var stream = selectStream();\n result += escape(value.substring(processed, stream[0].offset));\n processed = stream[0].offset;\n if (stream === original) {\n /*\n On any opening or closing tag of the original markup we first close\n the entire highlighted node stack, then render the original tag along\n with all the following original tags at the same offset and then\n reopen all the tags on the highlighted stack.\n */\n nodeStack.reverse().forEach(close);\n do {\n render(stream.splice(0, 1)[0]);\n stream = selectStream();\n } while (stream === original && stream.length && stream[0].offset === processed);\n nodeStack.reverse().forEach(open);\n } else {\n if (stream[0].event === 'start') {\n nodeStack.push(stream[0].node);\n } else {\n nodeStack.pop();\n }\n render(stream.splice(0, 1)[0]);\n }\n }\n return result + escape(value.substr(processed));\n }\n\n /* Initialization */\n\n function dependencyOnParent(mode) {\n if (!mode) return false;\n\n return mode.endsWithParent || dependencyOnParent(mode.starts);\n }\n\n function expand_or_clone_mode(mode) {\n if (mode.variants && !mode.cached_variants) {\n mode.cached_variants = mode.variants.map(function(variant) {\n return inherit(mode, {variants: null}, variant);\n });\n }\n\n // EXPAND\n // if we have variants then essentially \"replace\" the mode with the variants\n // this happens in compileMode, where this function is called from\n if (mode.cached_variants)\n return mode.cached_variants;\n\n // CLONE\n // if we have dependencies on parents then we need a unique\n // instance of ourselves, so we can be reused with many\n // different parents without issue\n if (dependencyOnParent(mode))\n return [inherit(mode, { starts: mode.starts ? inherit(mode.starts) : null })];\n\n if (Object.isFrozen(mode))\n return [inherit(mode)];\n\n // no special dependency issues, just return ourselves\n return [mode];\n }\n\n function restoreLanguageApi(obj) {\n if(API_REPLACES && !obj.langApiRestored) {\n obj.langApiRestored = true;\n for(var key in API_REPLACES) {\n if (obj[key]) {\n obj[API_REPLACES[key]] = obj[key];\n }\n }\n (obj.contains || []).concat(obj.variants || []).forEach(restoreLanguageApi);\n }\n }\n\n function compileKeywords(rawKeywords, case_insensitive) {\n var compiled_keywords = {};\n\n if (typeof rawKeywords === 'string') { // string\n splitAndCompile('keyword', rawKeywords);\n } else {\n objectKeys(rawKeywords).forEach(function (className) {\n splitAndCompile(className, rawKeywords[className]);\n });\n }\n return compiled_keywords;\n\n // ---\n\n function splitAndCompile(className, str) {\n if (case_insensitive) {\n str = str.toLowerCase();\n }\n str.split(' ').forEach(function(keyword) {\n var pair = keyword.split('|');\n compiled_keywords[pair[0]] = [className, scoreForKeyword(pair[0], pair[1])];\n });\n }\n }\n\n function scoreForKeyword(keyword, providedScore) {\n // manual scores always win over common keywords\n // so you can force a score of 1 if you really insist\n if (providedScore)\n return Number(providedScore);\n\n return commonKeyword(keyword) ? 0 : 1;\n }\n\n function commonKeyword(word) {\n return COMMON_KEYWORDS.indexOf(word.toLowerCase()) != -1;\n }\n\n function compileLanguage(language) {\n\n function reStr(re) {\n return (re && re.source) || re;\n }\n\n function langRe(value, global) {\n return new RegExp(\n reStr(value),\n 'm' + (language.case_insensitive ? 'i' : '') + (global ? 'g' : '')\n );\n }\n\n function reCountMatchGroups(re) {\n return (new RegExp(re.toString() + '|')).exec('').length - 1;\n }\n\n // joinRe logically computes regexps.join(separator), but fixes the\n // backreferences so they continue to match.\n // it also places each individual regular expression into it's own\n // match group, keeping track of the sequencing of those match groups\n // is currently an exercise for the caller. :-)\n function joinRe(regexps, separator) {\n // backreferenceRe matches an open parenthesis or backreference. To avoid\n // an incorrect parse, it additionally matches the following:\n // - [...] elements, where the meaning of parentheses and escapes change\n // - other escape sequences, so we do not misparse escape sequences as\n // interesting elements\n // - non-matching or lookahead parentheses, which do not capture. These\n // follow the '(' with a '?'.\n var backreferenceRe = /\\[(?:[^\\\\\\]]|\\\\.)*\\]|\\(\\??|\\\\([1-9][0-9]*)|\\\\./;\n var numCaptures = 0;\n var ret = '';\n for (var i = 0; i < regexps.length; i++) {\n numCaptures += 1;\n var offset = numCaptures;\n var re = reStr(regexps[i]);\n if (i > 0) {\n ret += separator;\n }\n ret += \"(\";\n while (re.length > 0) {\n var match = backreferenceRe.exec(re);\n if (match == null) {\n ret += re;\n break;\n }\n ret += re.substring(0, match.index);\n re = re.substring(match.index + match[0].length);\n if (match[0][0] == '\\\\' && match[1]) {\n // Adjust the backreference.\n ret += '\\\\' + String(Number(match[1]) + offset);\n } else {\n ret += match[0];\n if (match[0] == '(') {\n numCaptures++;\n }\n }\n }\n ret += \")\";\n }\n return ret;\n }\n\n function buildModeRegex(mode) {\n\n var matchIndexes = {};\n var matcherRe;\n var regexes = [];\n var matcher = {};\n var matchAt = 1;\n\n function addRule(rule, regex) {\n matchIndexes[matchAt] = rule;\n regexes.push([rule, regex]);\n matchAt += reCountMatchGroups(regex) + 1;\n }\n\n var term;\n for (var i=0; i < mode.contains.length; i++) {\n var re;\n term = mode.contains[i];\n if (term.beginKeywords) {\n re = '\\\\.?(?:' + term.begin + ')\\\\.?';\n } else {\n re = term.begin;\n }\n addRule(term, re);\n }\n if (mode.terminator_end)\n addRule(\"end\", mode.terminator_end);\n if (mode.illegal)\n addRule(\"illegal\", mode.illegal);\n\n var terminators = regexes.map(function(el) { return el[1]; });\n matcherRe = langRe(joinRe(terminators, '|'), true);\n\n matcher.lastIndex = 0;\n matcher.exec = function(s) {\n var rule;\n\n if( regexes.length === 0) return null;\n\n matcherRe.lastIndex = matcher.lastIndex;\n var match = matcherRe.exec(s);\n if (!match) { return null; }\n\n for(var i = 0; i<match.length; i++) {\n if (match[i] != undefined && matchIndexes[\"\" +i] != undefined ) {\n rule = matchIndexes[\"\"+i];\n break;\n }\n }\n\n // illegal or end match\n if (typeof rule === \"string\") {\n match.type = rule;\n match.extra = [mode.illegal, mode.terminator_end];\n } else {\n match.type = \"begin\";\n match.rule = rule;\n }\n return match;\n };\n\n return matcher;\n }\n\n function compileMode(mode, parent) {\n if (mode.compiled)\n return;\n mode.compiled = true;\n\n mode.keywords = mode.keywords || mode.beginKeywords;\n if (mode.keywords)\n mode.keywords = compileKeywords(mode.keywords, language.case_insensitive);\n\n mode.lexemesRe = langRe(mode.lexemes || /\\w+/, true);\n\n if (parent) {\n if (mode.beginKeywords) {\n mode.begin = '\\\\b(' + mode.beginKeywords.split(' ').join('|') + ')\\\\b';\n }\n if (!mode.begin)\n mode.begin = /\\B|\\b/;\n mode.beginRe = langRe(mode.begin);\n if (mode.endSameAsBegin)\n mode.end = mode.begin;\n if (!mode.end && !mode.endsWithParent)\n mode.end = /\\B|\\b/;\n if (mode.end)\n mode.endRe = langRe(mode.end);\n mode.terminator_end = reStr(mode.end) || '';\n if (mode.endsWithParent && parent.terminator_end)\n mode.terminator_end += (mode.end ? '|' : '') + parent.terminator_end;\n }\n if (mode.illegal)\n mode.illegalRe = langRe(mode.illegal);\n if (mode.relevance == null)\n mode.relevance = 1;\n if (!mode.contains) {\n mode.contains = [];\n }\n mode.contains = Array.prototype.concat.apply([], mode.contains.map(function(c) {\n return expand_or_clone_mode(c === 'self' ? mode : c);\n }));\n mode.contains.forEach(function(c) {compileMode(c, mode);});\n\n if (mode.starts) {\n compileMode(mode.starts, parent);\n }\n\n mode.terminators = buildModeRegex(mode);\n }\n\n // self is not valid at the top-level\n if (language.contains && language.contains.indexOf('self') != -1) {\n if (!SAFE_MODE) {\n throw new Error(\"ERR: contains `self` is not supported at the top-level of a language. See documentation.\")\n } else {\n // silently remove the broken rule (effectively ignoring it), this has historically\n // been the behavior in the past, so this removal preserves compatibility with broken\n // grammars when running in Safe Mode\n language.contains = language.contains.filter(function(mode) { return mode != 'self'; });\n }\n }\n compileMode(language);\n }\n\n\n /**\n * Core highlighting function.\n *\n * @param {string} languageName - the language to use for highlighting\n * @param {string} code - the code to highlight\n * @param {boolean} ignore_illegals - whether to ignore illegal matches, default is to bail\n * @param {array<mode>} continuation - array of continuation modes\n *\n * @returns an object that represents the result\n * @property {string} language - the language name\n * @property {number} relevance - the relevance score\n * @property {string} value - the highlighted HTML code\n * @property {mode} top - top of the current mode stack\n * @property {boolean} illegal - indicates whether any illegal matches were found\n */\n function highlight(languageName, code, ignore_illegals, continuation) {\n var codeToHighlight = code;\n\n function escapeRe(value) {\n return new RegExp(value.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&'), 'm');\n }\n\n function endOfMode(mode, lexeme) {\n if (testRe(mode.endRe, lexeme)) {\n while (mode.endsParent && mode.parent) {\n mode = mode.parent;\n }\n return mode;\n }\n if (mode.endsWithParent) {\n return endOfMode(mode.parent, lexeme);\n }\n }\n\n function keywordMatch(mode, match) {\n var match_str = language.case_insensitive ? match[0].toLowerCase() : match[0];\n return mode.keywords.hasOwnProperty(match_str) && mode.keywords[match_str];\n }\n\n function buildSpan(className, insideSpan, leaveOpen, noPrefix) {\n if (!leaveOpen && insideSpan === '') return '';\n if (!className) return insideSpan;\n\n var classPrefix = noPrefix ? '' : options.classPrefix,\n openSpan = '<span class=\"' + classPrefix,\n closeSpan = leaveOpen ? '' : spanEndTag;\n\n openSpan += className + '\">';\n\n return openSpan + insideSpan + closeSpan;\n }\n\n function processKeywords() {\n var keyword_match, last_index, match, result;\n\n if (!top.keywords)\n return escape(mode_buffer);\n\n result = '';\n last_index = 0;\n top.lexemesRe.lastIndex = 0;\n match = top.lexemesRe.exec(mode_buffer);\n\n while (match) {\n result += escape(mode_buffer.substring(last_index, match.index));\n keyword_match = keywordMatch(top, match);\n if (keyword_match) {\n relevance += keyword_match[1];\n result += buildSpan(keyword_match[0], escape(match[0]));\n } else {\n result += escape(match[0]);\n }\n last_index = top.lexemesRe.lastIndex;\n match = top.lexemesRe.exec(mode_buffer);\n }\n return result + escape(mode_buffer.substr(last_index));\n }\n\n function processSubLanguage() {\n var explicit = typeof top.subLanguage === 'string';\n if (explicit && !languages[top.subLanguage]) {\n return escape(mode_buffer);\n }\n\n var result = explicit ?\n highlight(top.subLanguage, mode_buffer, true, continuations[top.subLanguage]) :\n highlightAuto(mode_buffer, top.subLanguage.length ? top.subLanguage : undefined);\n\n // Counting embedded language score towards the host language may be disabled\n // with zeroing the containing mode relevance. Use case in point is Markdown that\n // allows XML everywhere and makes every XML snippet to have a much larger Markdown\n // score.\n if (top.relevance > 0) {\n relevance += result.relevance;\n }\n if (explicit) {\n continuations[top.subLanguage] = result.top;\n }\n return buildSpan(result.language, result.value, false, true);\n }\n\n function processBuffer() {\n result += (top.subLanguage != null ? processSubLanguage() : processKeywords());\n mode_buffer = '';\n }\n\n function startNewMode(mode) {\n result += mode.className? buildSpan(mode.className, '', true): '';\n top = Object.create(mode, {parent: {value: top}});\n }\n\n\n function doBeginMatch(match) {\n var lexeme = match[0];\n var new_mode = match.rule;\n\n if (new_mode && new_mode.endSameAsBegin) {\n new_mode.endRe = escapeRe( lexeme );\n }\n\n if (new_mode.skip) {\n mode_buffer += lexeme;\n } else {\n if (new_mode.excludeBegin) {\n mode_buffer += lexeme;\n }\n processBuffer();\n if (!new_mode.returnBegin && !new_mode.excludeBegin) {\n mode_buffer = lexeme;\n }\n }\n startNewMode(new_mode);\n return new_mode.returnBegin ? 0 : lexeme.length;\n }\n\n function doEndMatch(match) {\n var lexeme = match[0];\n var matchPlusRemainder = codeToHighlight.substr(match.index);\n var end_mode = endOfMode(top, matchPlusRemainder);\n if (!end_mode) { return; }\n\n var origin = top;\n if (origin.skip) {\n mode_buffer += lexeme;\n } else {\n if (!(origin.returnEnd || origin.excludeEnd)) {\n mode_buffer += lexeme;\n }\n processBuffer();\n if (origin.excludeEnd) {\n mode_buffer = lexeme;\n }\n }\n do {\n if (top.className) {\n result += spanEndTag;\n }\n if (!top.skip && !top.subLanguage) {\n relevance += top.relevance;\n }\n top = top.parent;\n } while (top !== end_mode.parent);\n if (end_mode.starts) {\n if (end_mode.endSameAsBegin) {\n end_mode.starts.endRe = end_mode.endRe;\n }\n startNewMode(end_mode.starts);\n }\n return origin.returnEnd ? 0 : lexeme.length;\n }\n\n var lastMatch = {};\n function processLexeme(text_before_match, match) {\n\n var lexeme = match && match[0];\n\n // add non-matched text to the current mode buffer\n mode_buffer += text_before_match;\n\n if (lexeme == null) {\n processBuffer();\n return 0;\n }\n\n // we've found a 0 width match and we're stuck, so we need to advance\n // this happens when we have badly behaved rules that have optional matchers to the degree that\n // sometimes they can end up matching nothing at all\n // Ref: https://github.com/highlightjs/highlight.js/issues/2140\n if (lastMatch.type==\"begin\" && match.type==\"end\" && lastMatch.index == match.index && lexeme === \"\") {\n // spit the \"skipped\" character that our regex choked on back into the output sequence\n mode_buffer += codeToHighlight.slice(match.index, match.index + 1);\n return 1;\n }\n lastMatch = match;\n\n if (match.type===\"begin\") {\n return doBeginMatch(match);\n } else if (match.type===\"illegal\" && !ignore_illegals) {\n // illegal match, we do not continue processing\n throw new Error('Illegal lexeme \"' + lexeme + '\" for mode \"' + (top.className || '<unnamed>') + '\"');\n } else if (match.type===\"end\") {\n var processed = doEndMatch(match);\n if (processed != undefined)\n return processed;\n }\n\n /*\n Why might be find ourselves here? Only one occasion now. An end match that was\n triggered but could not be completed. When might this happen? When an `endSameasBegin`\n rule sets the end rule to a specific match. Since the overall mode termination rule that's\n being used to scan the text isn't recompiled that means that any match that LOOKS like\n the end (but is not, because it is not an exact match to the beginning) will\n end up here. A definite end match, but when `doEndMatch` tries to \"reapply\"\n the end rule and fails to match, we wind up here, and just silently ignore the end.\n\n This causes no real harm other than stopping a few times too many.\n */\n\n mode_buffer += lexeme;\n return lexeme.length;\n }\n\n var language = getLanguage(languageName);\n if (!language) {\n console.error(LANGUAGE_NOT_FOUND.replace(\"{}\", languageName));\n throw new Error('Unknown language: \"' + languageName + '\"');\n }\n\n compileLanguage(language);\n var top = continuation || language;\n var continuations = {}; // keep continuations for sub-languages\n var result = '', current;\n for(current = top; current !== language; current = current.parent) {\n if (current.className) {\n result = buildSpan(current.className, '', true) + result;\n }\n }\n var mode_buffer = '';\n var relevance = 0;\n try {\n var match, count, index = 0;\n while (true) {\n top.terminators.lastIndex = index;\n match = top.terminators.exec(codeToHighlight);\n if (!match)\n break;\n count = processLexeme(codeToHighlight.substring(index, match.index), match);\n index = match.index + count;\n }\n processLexeme(codeToHighlight.substr(index));\n for(current = top; current.parent; current = current.parent) { // close dangling modes\n if (current.className) {\n result += spanEndTag;\n }\n }\n return {\n relevance: relevance,\n value: result,\n illegal:false,\n language: languageName,\n top: top\n };\n } catch (err) {\n if (err.message && err.message.indexOf('Illegal') !== -1) {\n return {\n illegal: true,\n relevance: 0,\n value: escape(codeToHighlight)\n };\n } else if (SAFE_MODE) {\n return {\n relevance: 0,\n value: escape(codeToHighlight),\n language: languageName,\n top: top,\n errorRaised: err\n };\n } else {\n throw err;\n }\n }\n }\n\n /*\n Highlighting with language detection. Accepts a string with the code to\n highlight. Returns an object with the following properties:\n\n - language (detected language)\n - relevance (int)\n - value (an HTML string with highlighting markup)\n - second_best (object with the same structure for second-best heuristically\n detected language, may be absent)\n\n */\n function highlightAuto(code, languageSubset) {\n languageSubset = languageSubset || options.languages || objectKeys(languages);\n var result = {\n relevance: 0,\n value: escape(code)\n };\n var second_best = result;\n languageSubset.filter(getLanguage).filter(autoDetection).forEach(function(name) {\n var current = highlight(name, code, false);\n current.language = name;\n if (current.relevance > second_best.relevance) {\n second_best = current;\n }\n if (current.relevance > result.relevance) {\n second_best = result;\n result = current;\n }\n });\n if (second_best.language) {\n result.second_best = second_best;\n }\n return result;\n }\n\n /*\n Post-processing of the highlighted markup:\n\n - replace TABs with something more useful\n - replace real line-breaks with '<br>' for non-pre containers\n\n */\n function fixMarkup(value) {\n if (!(options.tabReplace || options.useBR)) {\n return value;\n }\n\n return value.replace(fixMarkupRe, function(match, p1) {\n if (options.useBR && match === '\\n') {\n return '<br>';\n } else if (options.tabReplace) {\n return p1.replace(/\\t/g, options.tabReplace);\n }\n return '';\n });\n }\n\n function buildClassName(prevClassName, currentLang, resultLang) {\n var language = currentLang ? aliases[currentLang] : resultLang,\n result = [prevClassName.trim()];\n\n if (!prevClassName.match(/\\bhljs\\b/)) {\n result.push('hljs');\n }\n\n if (prevClassName.indexOf(language) === -1) {\n result.push(language);\n }\n\n return result.join(' ').trim();\n }\n\n /*\n Applies highlighting to a DOM node containing code. Accepts a DOM node and\n two optional parameters for fixMarkup.\n */\n function highlightBlock(block) {\n var node, originalStream, result, resultNode, text;\n var language = blockLanguage(block);\n\n if (isNotHighlighted(language))\n return;\n\n if (options.useBR) {\n node = document.createElement('div');\n node.innerHTML = block.innerHTML.replace(/\\n/g, '').replace(/<br[ \\/]*>/g, '\\n');\n } else {\n node = block;\n }\n text = node.textContent;\n result = language ? highlight(language, text, true) : highlightAuto(text);\n\n originalStream = nodeStream(node);\n if (originalStream.length) {\n resultNode = document.createElement('div');\n resultNode.innerHTML = result.value;\n result.value = mergeStreams(originalStream, nodeStream(resultNode), text);\n }\n result.value = fixMarkup(result.value);\n\n block.innerHTML = result.value;\n block.className = buildClassName(block.className, language, result.language);\n block.result = {\n language: result.language,\n re: result.relevance\n };\n if (result.second_best) {\n block.second_best = {\n language: result.second_best.language,\n re: result.second_best.relevance\n };\n }\n }\n\n /*\n Updates highlight.js global options with values passed in the form of an object.\n */\n function configure(user_options) {\n options = inherit(options, user_options);\n }\n\n /*\n Applies highlighting to all <pre><code>..</code></pre> blocks on a page.\n */\n function initHighlighting() {\n if (initHighlighting.called)\n return;\n initHighlighting.called = true;\n\n var blocks = document.querySelectorAll('pre code');\n ArrayProto.forEach.call(blocks, highlightBlock);\n }\n\n /*\n Attaches highlighting to the page load event.\n */\n function initHighlightingOnLoad() {\n window.addEventListener('DOMContentLoaded', initHighlighting, false);\n window.addEventListener('load', initHighlighting, false);\n }\n\n var PLAINTEXT_LANGUAGE = { disableAutodetect: true };\n\n function registerLanguage(name, language) {\n var lang;\n try { lang = language(hljs); }\n catch (error) {\n console.error(\"Language definition for '{}' could not be registered.\".replace(\"{}\", name));\n // hard or soft error\n if (!SAFE_MODE) { throw error; } else { console.error(error); }\n // languages that have serious errors are replaced with essentially a\n // \"plaintext\" stand-in so that the code blocks will still get normal\n // css classes applied to them - and one bad language won't break the\n // entire highlighter\n lang = PLAINTEXT_LANGUAGE;\n }\n languages[name] = lang;\n restoreLanguageApi(lang);\n lang.rawDefinition = language.bind(null,hljs);\n\n if (lang.aliases) {\n lang.aliases.forEach(function(alias) {aliases[alias] = name;});\n }\n }\n\n function listLanguages() {\n return objectKeys(languages);\n }\n\n /*\n intended usage: When one language truly requires another\n\n Unlike `getLanguage`, this will throw when the requested language\n is not available.\n */\n function requireLanguage(name) {\n var lang = getLanguage(name);\n if (lang) { return lang; }\n\n var err = new Error('The \\'{}\\' language is required, but not loaded.'.replace('{}',name));\n throw err;\n }\n\n function getLanguage(name) {\n name = (name || '').toLowerCase();\n return languages[name] || languages[aliases[name]];\n }\n\n function autoDetection(name) {\n var lang = getLanguage(name);\n return lang && !lang.disableAutodetect;\n }\n\n /* Interface definition */\n\n hljs.highlight = highlight;\n hljs.highlightAuto = highlightAuto;\n hljs.fixMarkup = fixMarkup;\n hljs.highlightBlock = highlightBlock;\n hljs.configure = configure;\n hljs.initHighlighting = initHighlighting;\n hljs.initHighlightingOnLoad = initHighlightingOnLoad;\n hljs.registerLanguage = registerLanguage;\n hljs.listLanguages = listLanguages;\n hljs.getLanguage = getLanguage;\n hljs.requireLanguage = requireLanguage;\n hljs.autoDetection = autoDetection;\n hljs.inherit = inherit;\n hljs.debugMode = function() { SAFE_MODE = false; }\n\n // Common regexps\n hljs.IDENT_RE = '[a-zA-Z]\\\\w*';\n hljs.UNDERSCORE_IDENT_RE = '[a-zA-Z_]\\\\w*';\n hljs.NUMBER_RE = '\\\\b\\\\d+(\\\\.\\\\d+)?';\n hljs.C_NUMBER_RE = '(-?)(\\\\b0[xX][a-fA-F0-9]+|(\\\\b\\\\d+(\\\\.\\\\d*)?|\\\\.\\\\d+)([eE][-+]?\\\\d+)?)'; // 0x..., 0..., decimal, float\n hljs.BINARY_NUMBER_RE = '\\\\b(0b[01]+)'; // 0b...\n hljs.RE_STARTERS_RE = '!|!=|!==|%|%=|&|&&|&=|\\\\*|\\\\*=|\\\\+|\\\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\\\?|\\\\[|\\\\{|\\\\(|\\\\^|\\\\^=|\\\\||\\\\|=|\\\\|\\\\||~';\n\n // Common modes\n hljs.BACKSLASH_ESCAPE = {\n begin: '\\\\\\\\[\\\\s\\\\S]', relevance: 0\n };\n hljs.APOS_STRING_MODE = {\n className: 'string',\n begin: '\\'', end: '\\'',\n illegal: '\\\\n',\n contains: [hljs.BACKSLASH_ESCAPE]\n };\n hljs.QUOTE_STRING_MODE = {\n className: 'string',\n begin: '\"', end: '\"',\n illegal: '\\\\n',\n contains: [hljs.BACKSLASH_ESCAPE]\n };\n hljs.PHRASAL_WORDS_MODE = {\n begin: /\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b/\n };\n hljs.COMMENT = function (begin, end, inherits) {\n var mode = hljs.inherit(\n {\n className: 'comment',\n begin: begin, end: end,\n contains: []\n },\n inherits || {}\n );\n mode.contains.push(hljs.PHRASAL_WORDS_MODE);\n mode.contains.push({\n className: 'doctag',\n begin: '(?:TODO|FIXME|NOTE|BUG|XXX):',\n relevance: 0\n });\n return mode;\n };\n hljs.C_LINE_COMMENT_MODE = hljs.COMMENT('//', '$');\n hljs.C_BLOCK_COMMENT_MODE = hljs.COMMENT('/\\\\*', '\\\\*/');\n hljs.HASH_COMMENT_MODE = hljs.COMMENT('#', '$');\n hljs.NUMBER_MODE = {\n className: 'number',\n begin: hljs.NUMBER_RE,\n relevance: 0\n };\n hljs.C_NUMBER_MODE = {\n className: 'number',\n begin: hljs.C_NUMBER_RE,\n relevance: 0\n };\n hljs.BINARY_NUMBER_MODE = {\n className: 'number',\n begin: hljs.BINARY_NUMBER_RE,\n relevance: 0\n };\n hljs.CSS_NUMBER_MODE = {\n className: 'number',\n begin: hljs.NUMBER_RE + '(' +\n '%|em|ex|ch|rem' +\n '|vw|vh|vmin|vmax' +\n '|cm|mm|in|pt|pc|px' +\n '|deg|grad|rad|turn' +\n '|s|ms' +\n '|Hz|kHz' +\n '|dpi|dpcm|dppx' +\n ')?',\n relevance: 0\n };\n hljs.REGEXP_MODE = {\n className: 'regexp',\n begin: /\\//, end: /\\/[gimuy]*/,\n illegal: /\\n/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n {\n begin: /\\[/, end: /\\]/,\n relevance: 0,\n contains: [hljs.BACKSLASH_ESCAPE]\n }\n ]\n };\n hljs.TITLE_MODE = {\n className: 'title',\n begin: hljs.IDENT_RE,\n relevance: 0\n };\n hljs.UNDERSCORE_TITLE_MODE = {\n className: 'title',\n begin: hljs.UNDERSCORE_IDENT_RE,\n relevance: 0\n };\n hljs.METHOD_GUARD = {\n // excludes method names from keyword processing\n begin: '\\\\.\\\\s*' + hljs.UNDERSCORE_IDENT_RE,\n relevance: 0\n };\n\n var constants = [\n hljs.BACKSLASH_ESCAPE,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.PHRASAL_WORDS_MODE,\n hljs.COMMENT,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.HASH_COMMENT_MODE,\n hljs.NUMBER_MODE,\n hljs.C_NUMBER_MODE,\n hljs.BINARY_NUMBER_MODE,\n hljs.CSS_NUMBER_MODE,\n hljs.REGEXP_MODE,\n hljs.TITLE_MODE,\n hljs.UNDERSCORE_TITLE_MODE,\n hljs.METHOD_GUARD\n ]\n constants.forEach(function(obj) { deepFreeze(obj); });\n\n // https://github.com/substack/deep-freeze/blob/master/index.js\n function deepFreeze (o) {\n Object.freeze(o);\n\n var objIsFunction = typeof o === 'function';\n\n Object.getOwnPropertyNames(o).forEach(function (prop) {\n if (o.hasOwnProperty(prop)\n && o[prop] !== null\n && (typeof o[prop] === \"object\" || typeof o[prop] === \"function\")\n // IE11 fix: https://github.com/highlightjs/highlight.js/issues/2318\n // TODO: remove in the future\n && (objIsFunction ? prop !== 'caller' && prop !== 'callee' && prop !== 'arguments' : true)\n && !Object.isFrozen(o[prop])) {\n deepFreeze(o[prop]);\n }\n });\n\n return o;\n };\n\n\n return hljs;\n}));\n","'use strict';\nvar $export = require('./_export');\nvar $forEach = require('./_array-methods')(0);\nvar STRICT = require('./_strict-method')([].forEach, true);\n\n$export($export.P + $export.F * !STRICT, 'Array', {\n // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n forEach: function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $map = require('./_array-methods')(1);\n\n$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {\n // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments[1]);\n }\n});\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n ) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom.production.min.js');\n} else {\n module.exports = require('./cjs/react-dom.development.js');\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./table.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./input.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./island.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\nvar $export = require('./_export');\n\n$export($export.S, 'Array', { isArray: require('./_is-array') });\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./query-assist.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","'use strict';\nvar ctx = require('./_ctx');\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar toLength = require('./_to-length');\nvar createProperty = require('./_create-property');\nvar getIterFn = require('./core.get-iterator-method');\n\n$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var index = 0;\n var iterFn = getIterFn(O);\n var length, result, step, iterator;\n if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for (result = new C(length); length > index; index++) {\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./header.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty;","/*!\nCopyright (C) 2013-2015 by Andrea Giammarchi - @WebReflection\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n*/\n(function(window){'use strict';\n /* jshint loopfunc: true, noempty: false*/\n // http://www.w3.org/TR/dom/#element\n\n function createDocumentFragment() {\n return document.createDocumentFragment();\n }\n\n function createElement(nodeName) {\n return document.createElement(nodeName);\n }\n\n function enoughArguments(length, name) {\n if (!length) throw new Error(\n 'Failed to construct ' +\n name +\n ': 1 argument required, but only 0 present.'\n );\n }\n\n function mutationMacro(nodes) {\n if (nodes.length === 1) {\n return textNodeIfString(nodes[0]);\n }\n for (var\n fragment = createDocumentFragment(),\n list = slice.call(nodes),\n i = 0; i < nodes.length; i++\n ) {\n fragment.appendChild(textNodeIfString(list[i]));\n }\n return fragment;\n }\n\n function textNodeIfString(node) {\n return typeof node === 'string' ? document.createTextNode(node) : node;\n }\n\n for(var\n head,\n property,\n TemporaryPrototype,\n TemporaryTokenList,\n wrapVerifyToken,\n document = window.document,\n hOP = Object.prototype.hasOwnProperty,\n defineProperty = Object.defineProperty || function (object, property, descriptor) {\n if (hOP.call(descriptor, 'value')) {\n object[property] = descriptor.value;\n } else {\n if (hOP.call(descriptor, 'get'))\n object.__defineGetter__(property, descriptor.get);\n if (hOP.call(descriptor, 'set'))\n object.__defineSetter__(property, descriptor.set);\n }\n return object;\n },\n indexOf = [].indexOf || function indexOf(value){\n var length = this.length;\n while(length--) {\n if (this[length] === value) {\n break;\n }\n }\n return length;\n },\n // http://www.w3.org/TR/domcore/#domtokenlist\n verifyToken = function (token) {\n if (!token) {\n throw 'SyntaxError';\n } else if (spaces.test(token)) {\n throw 'InvalidCharacterError';\n }\n return token;\n },\n DOMTokenList = function (node) {\n var\n noClassName = typeof node.className === 'undefined',\n className = noClassName ?\n (node.getAttribute('class') || '') : node.className,\n isSVG = noClassName || typeof className === 'object',\n value = (isSVG ?\n (noClassName ? className : className.baseVal) :\n className\n ).replace(trim, '')\n ;\n if (value.length) {\n properties.push.apply(\n this,\n value.split(spaces)\n );\n }\n this._isSVG = isSVG;\n this._ = node;\n },\n classListDescriptor = {\n get: function get() {\n return new DOMTokenList(this);\n },\n set: function(){}\n },\n uid = 'dom4-tmp-'.concat(Math.random() * +new Date()).replace('.','-'),\n trim = /^\\s+|\\s+$/g,\n spaces = /\\s+/,\n SPACE = '\\x20',\n CLASS_LIST = 'classList',\n toggle = function toggle(token, force) {\n if (this.contains(token)) {\n if (!force) {\n // force is not true (either false or omitted)\n this.remove(token);\n }\n } else if(force === undefined || force) {\n force = true;\n this.add(token);\n }\n return !!force;\n },\n DocumentFragmentPrototype = window.DocumentFragment && DocumentFragment.prototype,\n Node = window.Node,\n NodePrototype = (Node || Element).prototype,\n CharacterData = window.CharacterData || Node,\n CharacterDataPrototype = CharacterData && CharacterData.prototype,\n DocumentType = window.DocumentType,\n DocumentTypePrototype = DocumentType && DocumentType.prototype,\n ElementPrototype = (window.Element || Node || window.HTMLElement).prototype,\n HTMLSelectElement = window.HTMLSelectElement || createElement('select').constructor,\n selectRemove = HTMLSelectElement.prototype.remove,\n ShadowRoot = window.ShadowRoot,\n SVGElement = window.SVGElement,\n // normalizes multiple ids as CSS query\n idSpaceFinder = / /g,\n idSpaceReplacer = '\\\\ ',\n createQueryMethod = function (methodName) {\n var createArray = methodName === 'querySelectorAll';\n return function (css) {\n var a, i, id, query, nl, selectors, node = this.parentNode;\n if (node) {\n for (\n id = this.getAttribute('id') || uid,\n query = id === uid ? id : id.replace(idSpaceFinder, idSpaceReplacer),\n selectors = css.split(','),\n i = 0; i < selectors.length; i++\n ) {\n selectors[i] = '#' + query + ' ' + selectors[i];\n }\n css = selectors.join(',');\n }\n if (id === uid) this.setAttribute('id', id);\n nl = (node || this)[methodName](css);\n if (id === uid) this.removeAttribute('id');\n // return a list\n if (createArray) {\n i = nl.length;\n a = new Array(i);\n while (i--) a[i] = nl[i];\n }\n // return node or null\n else {\n a = nl;\n }\n return a;\n };\n },\n addQueryAndAll = function (where) {\n if (!('query' in where)) {\n where.query = ElementPrototype.query;\n }\n if (!('queryAll' in where)) {\n where.queryAll = ElementPrototype.queryAll;\n }\n },\n properties = [\n 'matches', (\n ElementPrototype.matchesSelector ||\n ElementPrototype.webkitMatchesSelector ||\n ElementPrototype.khtmlMatchesSelector ||\n ElementPrototype.mozMatchesSelector ||\n ElementPrototype.msMatchesSelector ||\n ElementPrototype.oMatchesSelector ||\n function matches(selector) {\n var parentNode = this.parentNode;\n return !!parentNode && -1 < indexOf.call(\n parentNode.querySelectorAll(selector),\n this\n );\n }\n ),\n 'closest', function closest(selector) {\n var parentNode = this, matches;\n while (\n // document has no .matches\n (matches = parentNode && parentNode.matches) &&\n !parentNode.matches(selector)\n ) {\n parentNode = parentNode.parentNode;\n }\n return matches ? parentNode : null;\n },\n 'prepend', function prepend() {\n var firstChild = this.firstChild,\n node = mutationMacro(arguments);\n if (firstChild) {\n this.insertBefore(node, firstChild);\n } else {\n this.appendChild(node);\n }\n },\n 'append', function append() {\n this.appendChild(mutationMacro(arguments));\n },\n 'before', function before() {\n var parentNode = this.parentNode;\n if (parentNode) {\n parentNode.insertBefore(\n mutationMacro(arguments), this\n );\n }\n },\n 'after', function after() {\n var parentNode = this.parentNode,\n nextSibling = this.nextSibling,\n node = mutationMacro(arguments);\n if (parentNode) {\n if (nextSibling) {\n parentNode.insertBefore(node, nextSibling);\n } else {\n parentNode.appendChild(node);\n }\n }\n },\n // WARNING - DEPRECATED - use .replaceWith() instead\n 'replace', function replace() {\n this.replaceWith.apply(this, arguments);\n },\n 'replaceWith', function replaceWith() {\n var parentNode = this.parentNode;\n if (parentNode) {\n parentNode.replaceChild(\n mutationMacro(arguments),\n this\n );\n }\n },\n 'remove', function remove() {\n var parentNode = this.parentNode;\n if (parentNode) {\n parentNode.removeChild(this);\n }\n },\n 'query', createQueryMethod('querySelector'),\n 'queryAll', createQueryMethod('querySelectorAll')\n ],\n slice = properties.slice,\n i = properties.length; i; i -= 2\n ) {\n property = properties[i - 2];\n if (!(property in ElementPrototype)) {\n ElementPrototype[property] = properties[i - 1];\n }\n if (property === 'remove') {\n // see https://github.com/WebReflection/dom4/issues/19\n HTMLSelectElement.prototype[property] = function () {\n return 0 < arguments.length ?\n selectRemove.apply(this, arguments) :\n ElementPrototype.remove.call(this);\n };\n }\n // see https://github.com/WebReflection/dom4/issues/18\n if (/^(?:before|after|replace|replaceWith|remove)$/.test(property)) {\n if (CharacterData && !(property in CharacterDataPrototype)) {\n CharacterDataPrototype[property] = properties[i - 1];\n }\n if (DocumentType && !(property in DocumentTypePrototype)) {\n DocumentTypePrototype[property] = properties[i - 1];\n }\n }\n // see https://github.com/WebReflection/dom4/pull/26\n if (/^(?:append|prepend)$/.test(property)) {\n if (DocumentFragmentPrototype) {\n if (!(property in DocumentFragmentPrototype)) {\n DocumentFragmentPrototype[property] = properties[i - 1];\n }\n } else {\n try {\n createDocumentFragment().constructor.prototype[property] = properties[i - 1];\n } catch(o_O) {}\n }\n }\n }\n\n // bring query and queryAll to the document too\n addQueryAndAll(document);\n\n // brings query and queryAll to fragments as well\n if (DocumentFragmentPrototype) {\n addQueryAndAll(DocumentFragmentPrototype);\n } else {\n try {\n addQueryAndAll(createDocumentFragment().constructor.prototype);\n } catch(o_O) {}\n }\n\n // bring query and queryAll to the ShadowRoot too\n if (ShadowRoot) {\n addQueryAndAll(ShadowRoot.prototype);\n }\n\n // most likely an IE9 only issue\n // see https://github.com/WebReflection/dom4/issues/6\n if (!createElement('a').matches('a')) {\n ElementPrototype[property] = function(matches){\n return function (selector) {\n return matches.call(\n this.parentNode ?\n this :\n createDocumentFragment().appendChild(this),\n selector\n );\n };\n }(ElementPrototype[property]);\n }\n\n // used to fix both old webkit and SVG\n DOMTokenList.prototype = {\n length: 0,\n add: function add() {\n for(var j = 0, token; j < arguments.length; j++) {\n token = arguments[j];\n if(!this.contains(token)) {\n properties.push.call(this, property);\n }\n }\n if (this._isSVG) {\n this._.setAttribute('class', '' + this);\n } else {\n this._.className = '' + this;\n }\n },\n contains: (function(indexOf){\n return function contains(token) {\n i = indexOf.call(this, property = verifyToken(token));\n return -1 < i;\n };\n }([].indexOf || function (token) {\n i = this.length;\n while(i-- && this[i] !== token){}\n return i;\n })),\n item: function item(i) {\n return this[i] || null;\n },\n remove: function remove() {\n for(var j = 0, token; j < arguments.length; j++) {\n token = arguments[j];\n if(this.contains(token)) {\n properties.splice.call(this, i, 1);\n }\n }\n if (this._isSVG) {\n this._.setAttribute('class', '' + this);\n } else {\n this._.className = '' + this;\n }\n },\n toggle: toggle,\n toString: function toString() {\n return properties.join.call(this, SPACE);\n }\n };\n\n if (SVGElement && !(CLASS_LIST in SVGElement.prototype)) {\n defineProperty(SVGElement.prototype, CLASS_LIST, classListDescriptor);\n }\n\n // http://www.w3.org/TR/dom/#domtokenlist\n // iOS 5.1 has completely screwed this property\n // classList in ElementPrototype is false\n // but it's actually there as getter\n if (!(CLASS_LIST in document.documentElement)) {\n defineProperty(ElementPrototype, CLASS_LIST, classListDescriptor);\n } else {\n // iOS 5.1 and Nokia ASHA do not support multiple add or remove\n // trying to detect and fix that in here\n TemporaryTokenList = createElement('div')[CLASS_LIST];\n TemporaryTokenList.add('a', 'b', 'a');\n if ('a\\x20b' != TemporaryTokenList) {\n // no other way to reach original methods in iOS 5.1\n TemporaryPrototype = TemporaryTokenList.constructor.prototype;\n if (!('add' in TemporaryPrototype)) {\n // ASHA double fails in here\n TemporaryPrototype = window.TemporaryTokenList.prototype;\n }\n wrapVerifyToken = function (original) {\n return function () {\n var i = 0;\n while (i < arguments.length) {\n original.call(this, arguments[i++]);\n }\n };\n };\n TemporaryPrototype.add = wrapVerifyToken(TemporaryPrototype.add);\n TemporaryPrototype.remove = wrapVerifyToken(TemporaryPrototype.remove);\n // toggle is broken too ^_^ ... let's fix it\n TemporaryPrototype.toggle = toggle;\n }\n }\n\n if (!('contains' in NodePrototype)) {\n defineProperty(NodePrototype, 'contains', {\n value: function (el) {\n while (el && el !== this) el = el.parentNode;\n return this === el;\n }\n });\n }\n\n if (!('head' in document)) {\n defineProperty(document, 'head', {\n get: function () {\n return head || (\n head = document.getElementsByTagName('head')[0]\n );\n }\n });\n }\n\n // requestAnimationFrame partial polyfill\n (function () {\n for (var\n raf,\n rAF = window.requestAnimationFrame,\n cAF = window.cancelAnimationFrame,\n prefixes = ['o', 'ms', 'moz', 'webkit'],\n i = prefixes.length;\n !cAF && i--;\n ) {\n rAF = rAF || window[prefixes[i] + 'RequestAnimationFrame'];\n cAF = window[prefixes[i] + 'CancelAnimationFrame'] ||\n window[prefixes[i] + 'CancelRequestAnimationFrame'];\n }\n if (!cAF) {\n // some FF apparently implemented rAF but no cAF \n if (rAF) {\n raf = rAF;\n rAF = function (callback) {\n var goOn = true;\n raf(function () {\n if (goOn) callback.apply(this, arguments);\n });\n return function () {\n goOn = false;\n };\n };\n cAF = function (id) {\n id();\n };\n } else {\n rAF = function (callback) {\n return setTimeout(callback, 15, 15);\n };\n cAF = function (id) {\n clearTimeout(id);\n };\n }\n }\n window.requestAnimationFrame = rAF;\n window.cancelAnimationFrame = cAF;\n }());\n\n // http://www.w3.org/TR/dom/#customevent\n try{new window.CustomEvent('?');}catch(o_O){\n window.CustomEvent = function(\n eventName,\n defaultInitDict\n ){\n\n // the infamous substitute\n function CustomEvent(type, eventInitDict) {\n /*jshint eqnull:true */\n var event = document.createEvent(eventName);\n if (typeof type != 'string') {\n throw new Error('An event name must be provided');\n }\n if (eventName == 'Event') {\n event.initCustomEvent = initCustomEvent;\n }\n if (eventInitDict == null) {\n eventInitDict = defaultInitDict;\n }\n event.initCustomEvent(\n type,\n eventInitDict.bubbles,\n eventInitDict.cancelable,\n eventInitDict.detail\n );\n return event;\n }\n\n // attached at runtime\n function initCustomEvent(\n type, bubbles, cancelable, detail\n ) {\n /*jshint validthis:true*/\n this.initEvent(type, bubbles, cancelable);\n this.detail = detail;\n }\n\n // that's it\n return CustomEvent;\n }(\n // is this IE9 or IE10 ?\n // where CustomEvent is there\n // but not usable as construtor ?\n window.CustomEvent ?\n // use the CustomEvent interface in such case\n 'CustomEvent' : 'Event',\n // otherwise the common compatible one\n {\n bubbles: false,\n cancelable: false,\n detail: null\n }\n );\n }\n\n // window.Event as constructor\n try { new Event('_'); } catch (o_O) {\n /* jshint -W022 */\n o_O = (function ($Event) {\n function Event(type, init) {\n enoughArguments(arguments.length, 'Event');\n var out = document.createEvent('Event');\n if (!init) init = {};\n out.initEvent(\n type,\n !!init.bubbles,\n !!init.cancelable\n );\n return out;\n }\n Event.prototype = $Event.prototype;\n return Event;\n }(window.Event || function Event() {}));\n defineProperty(window, 'Event', {value: o_O});\n // Android 4 gotcha\n if (Event !== o_O) Event = o_O;\n }\n\n // window.KeyboardEvent as constructor\n try { new KeyboardEvent('_', {}); } catch (o_O) {\n /* jshint -W022 */\n o_O = (function ($KeyboardEvent) {\n // code inspired by https://gist.github.com/termi/4654819\n var\n initType = 0,\n defaults = {\n char: '',\n key: '',\n location: 0,\n ctrlKey: false,\n shiftKey: false,\n altKey: false,\n metaKey: false,\n altGraphKey: false,\n repeat: false,\n locale: navigator.language,\n detail: 0,\n bubbles: false,\n cancelable: false,\n keyCode: 0,\n charCode: 0,\n which: 0\n },\n eventType\n ;\n try {\n var e = document.createEvent('KeyboardEvent');\n e.initKeyboardEvent(\n 'keyup', false, false, window, '+', 3,\n true, false, true, false, false\n );\n initType = (\n (e.keyIdentifier || e.key) == '+' &&\n (e.keyLocation || e.location) == 3\n ) && (\n e.ctrlKey ? e.altKey ? 1 : 3 : e.shiftKey ? 2 : 4\n ) || 9;\n } catch(o_O) {}\n eventType = 0 < initType ? 'KeyboardEvent' : 'Event';\n\n function getModifier(init) {\n for (var\n out = [],\n keys = [\n 'ctrlKey',\n 'Control',\n 'shiftKey',\n 'Shift',\n 'altKey',\n 'Alt',\n 'metaKey',\n 'Meta',\n 'altGraphKey',\n 'AltGraph'\n ],\n i = 0; i < keys.length; i += 2\n ) {\n if (init[keys[i]])\n out.push(keys[i + 1]);\n }\n return out.join(' ');\n }\n\n function withDefaults(target, source) {\n for (var key in source) {\n if (\n source.hasOwnProperty(key) &&\n !source.hasOwnProperty.call(target, key)\n ) target[key] = source[key];\n }\n return target;\n }\n\n function withInitValues(key, out, init) {\n try {\n out[key] = init[key];\n } catch(o_O) {}\n }\n\n function KeyboardEvent(type, init) {\n enoughArguments(arguments.length, 'KeyboardEvent');\n init = withDefaults(init || {}, defaults);\n var\n out = document.createEvent(eventType),\n ctrlKey = init.ctrlKey,\n shiftKey = init.shiftKey,\n altKey = init.altKey,\n metaKey = init.metaKey,\n altGraphKey = init.altGraphKey,\n modifiers = initType > 3 ? getModifier(init) : null,\n key = String(init.key),\n chr = String(init.char),\n location = init.location,\n keyCode = init.keyCode || (\n (init.keyCode = key) &&\n key.charCodeAt(0)\n ) || 0,\n charCode = init.charCode || (\n (init.charCode = chr) &&\n chr.charCodeAt(0)\n ) || 0,\n bubbles = init.bubbles,\n cancelable = init.cancelable,\n repeat = init.repeat,\n locale = init.locale,\n view = init.view || window,\n args\n ;\n if (!init.which) init.which = init.keyCode;\n if ('initKeyEvent' in out) {\n out.initKeyEvent(\n type, bubbles, cancelable, view,\n ctrlKey, altKey, shiftKey, metaKey, keyCode, charCode\n );\n } else if (0 < initType && 'initKeyboardEvent' in out) {\n args = [type, bubbles, cancelable, view];\n switch (initType) {\n case 1:\n args.push(key, location, ctrlKey, shiftKey, altKey, metaKey, altGraphKey);\n break;\n case 2:\n args.push(ctrlKey, altKey, shiftKey, metaKey, keyCode, charCode);\n break;\n case 3:\n args.push(key, location, ctrlKey, altKey, shiftKey, metaKey, altGraphKey);\n break;\n case 4:\n args.push(key, location, modifiers, repeat, locale);\n break;\n default:\n args.push(char, key, location, modifiers, repeat, locale);\n }\n out.initKeyboardEvent.apply(out, args);\n } else {\n out.initEvent(type, bubbles, cancelable);\n }\n for (key in out) {\n if (defaults.hasOwnProperty(key) && out[key] !== init[key]) {\n withInitValues(key, out, init);\n }\n }\n return out;\n }\n KeyboardEvent.prototype = $KeyboardEvent.prototype;\n return KeyboardEvent;\n }(window.KeyboardEvent || function KeyboardEvent() {}));\n defineProperty(window, 'KeyboardEvent', {value: o_O});\n // Android 4 gotcha\n if (KeyboardEvent !== o_O) KeyboardEvent = o_O;\n }\n\n // window.MouseEvent as constructor\n try { new MouseEvent('_', {}); } catch (o_O) {\n /* jshint -W022 */\n o_O = (function ($MouseEvent) {\n function MouseEvent(type, init) {\n enoughArguments(arguments.length, 'MouseEvent');\n var out = document.createEvent('MouseEvent');\n if (!init) init = {};\n out.initMouseEvent(\n type,\n !!init.bubbles,\n !!init.cancelable,\n init.view || window,\n init.detail || 1,\n init.screenX || 0,\n init.screenY || 0,\n init.clientX || 0,\n init.clientY || 0,\n !!init.ctrlKey,\n !!init.altKey,\n !!init.shiftKey,\n !!init.metaKey,\n init.button || 0,\n init.relatedTarget || null\n );\n return out;\n }\n MouseEvent.prototype = $MouseEvent.prototype;\n return MouseEvent;\n }(window.MouseEvent || function MouseEvent() {}));\n defineProperty(window, 'MouseEvent', {value: o_O});\n // Android 4 gotcha\n if (MouseEvent !== o_O) MouseEvent = o_O;\n }\n\n}(window));(function (global){'use strict';\n\n // a WeakMap fallback for DOM nodes only used as key\n var DOMMap = global.WeakMap || (function () {\n\n var\n counter = 0,\n dispatched = false,\n drop = false,\n value\n ;\n\n function dispatch(key, ce, shouldDrop) {\n drop = shouldDrop;\n dispatched = false;\n value = undefined;\n key.dispatchEvent(ce);\n }\n\n function Handler(value) {\n this.value = value;\n }\n\n Handler.prototype.handleEvent = function handleEvent(e) {\n dispatched = true;\n if (drop) {\n e.currentTarget.removeEventListener(e.type, this, false);\n } else {\n value = this.value;\n }\n };\n\n function DOMMap() {\n counter++; // make id clashing highly improbable\n this.__ce__ = new Event(('@DOMMap:' + counter) + Math.random());\n }\n\n DOMMap.prototype = {\n 'constructor': DOMMap,\n 'delete': function del(key) {\n return dispatch(key, this.__ce__, true), dispatched;\n },\n 'get': function get(key) {\n dispatch(key, this.__ce__, false);\n var v = value;\n value = undefined;\n return v;\n },\n 'has': function has(key) {\n return dispatch(key, this.__ce__, false), dispatched;\n },\n 'set': function set(key, value) {\n dispatch(key, this.__ce__, true);\n key.addEventListener(this.__ce__.type, new Handler(value), false);\n return this;\n },\n };\n\n return DOMMap;\n\n }());\n\n function Dict() {}\n Dict.prototype = (Object.create || Object)(null);\n\n // https://dom.spec.whatwg.org/#interface-eventtarget\n\n function createEventListener(type, callback, options) {\n function eventListener(e) {\n if (eventListener.once) {\n e.currentTarget.removeEventListener(\n e.type,\n callback,\n eventListener\n );\n eventListener.removed = true;\n }\n if (eventListener.passive) {\n e.preventDefault = createEventListener.preventDefault;\n }\n if (typeof eventListener.callback === 'function') {\n /* jshint validthis: true */\n eventListener.callback.call(this, e);\n } else if (eventListener.callback) {\n eventListener.callback.handleEvent(e);\n }\n if (eventListener.passive) {\n delete e.preventDefault;\n }\n }\n eventListener.type = type;\n eventListener.callback = callback;\n eventListener.capture = !!options.capture;\n eventListener.passive = !!options.passive;\n eventListener.once = !!options.once;\n // currently pointless but specs say to use it, so ...\n eventListener.removed = false;\n return eventListener;\n }\n\n createEventListener.preventDefault = function preventDefault() {};\n\n var\n Event = global.CustomEvent,\n hOP = Object.prototype.hasOwnProperty,\n dE = global.dispatchEvent,\n aEL = global.addEventListener,\n rEL = global.removeEventListener,\n counter = 0,\n increment = function () { counter++; },\n indexOf = [].indexOf || function indexOf(value){\n var length = this.length;\n while(length--) {\n if (this[length] === value) {\n break;\n }\n }\n return length;\n },\n getListenerKey = function (options) {\n return ''.concat(\n options.capture ? '1' : '0',\n options.passive ? '1' : '0',\n options.once ? '1' : '0'\n );\n },\n augment, proto\n ;\n\n try {\n aEL('_', increment, {once: true});\n dE(new Event('_'));\n dE(new Event('_'));\n rEL('_', increment, {once: true});\n } catch(o_O) {}\n\n if (counter !== 1) {\n (function () {\n var dm = new DOMMap();\n function createAEL(aEL) {\n return function addEventListener(type, handler, options) {\n if (options && typeof options !== 'boolean') {\n var\n info = dm.get(this),\n key = getListenerKey(options),\n i, tmp, wrap\n ;\n if (!info) dm.set(this, (info = new Dict()));\n if (!(type in info)) info[type] = {\n handler: [],\n wrap: []\n };\n tmp = info[type];\n i = indexOf.call(tmp.handler, handler);\n if (i < 0) {\n i = tmp.handler.push(handler) - 1;\n tmp.wrap[i] = (wrap = new Dict());\n } else {\n wrap = tmp.wrap[i];\n }\n if (!(key in wrap)) {\n wrap[key] = createEventListener(type, handler, options);\n aEL.call(this, type, wrap[key], wrap[key].capture);\n }\n } else {\n aEL.call(this, type, handler, options);\n }\n };\n }\n function createREL(rEL) {\n return function removeEventListener(type, handler, options) {\n if (options && typeof options !== 'boolean') {\n var\n info = dm.get(this),\n key, i, tmp, wrap\n ;\n if (info && (type in info)) {\n tmp = info[type];\n i = indexOf.call(tmp.handler, handler);\n if (-1 < i) {\n key = getListenerKey(options);\n wrap = tmp.wrap[i];\n if (key in wrap) {\n rEL.call(this, type, wrap[key], wrap[key].capture);\n delete wrap[key];\n // return if there are other wraps\n for (key in wrap) return;\n // otherwise remove all the things\n tmp.handler.splice(i, 1);\n tmp.wrap.splice(i, 1);\n // if there are no other handlers\n if (tmp.handler.length === 0)\n // drop the info[type] entirely\n delete info[type];\n }\n }\n }\n } else {\n rEL.call(this, type, handler, options);\n }\n };\n }\n\n augment = function (Constructor) {\n if (!Constructor) return;\n var proto = Constructor.prototype;\n proto.addEventListener = createAEL(proto.addEventListener);\n proto.removeEventListener = createREL(proto.removeEventListener);\n };\n\n if (global.EventTarget) {\n augment(EventTarget);\n } else {\n augment(global.Text);\n augment(global.Element || global.HTMLElement);\n augment(global.HTMLDocument);\n augment(global.Window || {prototype:global});\n augment(global.XMLHttpRequest);\n }\n\n }());\n }\n\n}(self));","var $export = require('./_export');\n// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperties: require('./_object-dps') });\n","// https://github.com/tc39/proposal-object-getownpropertydescriptors\nvar $export = require('./_export');\nvar ownKeys = require('./_own-keys');\nvar toIObject = require('./_to-iobject');\nvar gOPD = require('./_object-gopd');\nvar createProperty = require('./_create-property');\n\n$export($export.S, 'Object', {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIObject(object);\n var getDesc = gOPD.f;\n var keys = ownKeys(O);\n var result = {};\n var i = 0;\n var key, desc;\n while (keys.length > i) {\n desc = getDesc(O, key = keys[i++]);\n if (desc !== undefined) createProperty(result, key, desc);\n }\n return result;\n }\n});\n","'use strict';\nvar LIBRARY = require('./_library');\nvar global = require('./_global');\nvar ctx = require('./_ctx');\nvar classof = require('./_classof');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar aFunction = require('./_a-function');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar speciesConstructor = require('./_species-constructor');\nvar task = require('./_task').set;\nvar microtask = require('./_microtask')();\nvar newPromiseCapabilityModule = require('./_new-promise-capability');\nvar perform = require('./_perform');\nvar userAgent = require('./_user-agent');\nvar promiseResolve = require('./_promise-resolve');\nvar PROMISE = 'Promise';\nvar TypeError = global.TypeError;\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8 || '';\nvar $Promise = global[PROMISE];\nvar isNode = classof(process) == 'process';\nvar empty = function () { /* empty */ };\nvar Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;\nvar newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;\n\nvar USE_NATIVE = !!function () {\n try {\n // correct subclassing with @@species support\n var promise = $Promise.resolve(1);\n var FakePromise = (promise.constructor = {})[require('./_wks')('species')] = function (exec) {\n exec(empty, empty);\n };\n // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return (isNode || typeof PromiseRejectionEvent == 'function')\n && promise.then(empty) instanceof FakePromise\n // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // we can't detect it synchronously, so just check versions\n && v8.indexOf('6.6') !== 0\n && userAgent.indexOf('Chrome/66') === -1;\n } catch (e) { /* empty */ }\n}();\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar notify = function (promise, isReject) {\n if (promise._n) return;\n promise._n = true;\n var chain = promise._c;\n microtask(function () {\n var value = promise._v;\n var ok = promise._s == 1;\n var i = 0;\n var run = function (reaction) {\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (promise._h == 2) onHandleUnhandled(promise);\n promise._h = 1;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // may throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (e) {\n if (domain && !exited) domain.exit();\n reject(e);\n }\n };\n while (chain.length > i) run(chain[i++]); // variable length - can't use forEach\n promise._c = [];\n promise._n = false;\n if (isReject && !promise._h) onUnhandled(promise);\n });\n};\nvar onUnhandled = function (promise) {\n task.call(global, function () {\n var value = promise._v;\n var unhandled = isUnhandled(promise);\n var result, handler, console;\n if (unhandled) {\n result = perform(function () {\n if (isNode) {\n process.emit('unhandledRejection', value, promise);\n } else if (handler = global.onunhandledrejection) {\n handler({ promise: promise, reason: value });\n } else if ((console = global.console) && console.error) {\n console.error('Unhandled promise rejection', value);\n }\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n } promise._a = undefined;\n if (unhandled && result.e) throw result.v;\n });\n};\nvar isUnhandled = function (promise) {\n return promise._h !== 1 && (promise._a || promise._c).length === 0;\n};\nvar onHandleUnhandled = function (promise) {\n task.call(global, function () {\n var handler;\n if (isNode) {\n process.emit('rejectionHandled', promise);\n } else if (handler = global.onrejectionhandled) {\n handler({ promise: promise, reason: promise._v });\n }\n });\n};\nvar $reject = function (value) {\n var promise = this;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n promise._v = value;\n promise._s = 2;\n if (!promise._a) promise._a = promise._c.slice();\n notify(promise, true);\n};\nvar $resolve = function (value) {\n var promise = this;\n var then;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n try {\n if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n if (then = isThenable(value)) {\n microtask(function () {\n var wrapper = { _w: promise, _d: false }; // wrap\n try {\n then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n } catch (e) {\n $reject.call(wrapper, e);\n }\n });\n } else {\n promise._v = value;\n promise._s = 1;\n notify(promise, false);\n }\n } catch (e) {\n $reject.call({ _w: promise, _d: false }, e); // wrap\n }\n};\n\n// constructor polyfill\nif (!USE_NATIVE) {\n // 25.4.3.1 Promise(executor)\n $Promise = function Promise(executor) {\n anInstance(this, $Promise, PROMISE, '_h');\n aFunction(executor);\n Internal.call(this);\n try {\n executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n } catch (err) {\n $reject.call(this, err);\n }\n };\n // eslint-disable-next-line no-unused-vars\n Internal = function Promise(executor) {\n this._c = []; // <- awaiting reactions\n this._a = undefined; // <- checked in isUnhandled reactions\n this._s = 0; // <- state\n this._d = false; // <- done\n this._v = undefined; // <- value\n this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n this._n = false; // <- notify\n };\n Internal.prototype = require('./_redefine-all')($Promise.prototype, {\n // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n then: function then(onFulfilled, onRejected) {\n var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = isNode ? process.domain : undefined;\n this._c.push(reaction);\n if (this._a) this._a.push(reaction);\n if (this._s) notify(this, false);\n return reaction.promise;\n },\n // 25.4.5.1 Promise.prototype.catch(onRejected)\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n this.promise = promise;\n this.resolve = ctx($resolve, promise, 1);\n this.reject = ctx($reject, promise, 1);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === $Promise || C === Wrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });\nrequire('./_set-to-string-tag')($Promise, PROMISE);\nrequire('./_set-species')(PROMISE);\nWrapper = require('./_core')[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n // 25.4.4.5 Promise.reject(r)\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n var $$reject = capability.reject;\n $$reject(r);\n return capability.promise;\n }\n});\n$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n // 25.4.4.6 Promise.resolve(x)\n resolve: function resolve(x) {\n return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);\n }\n});\n$export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(function (iter) {\n $Promise.all(iter)['catch'](empty);\n})), PROMISE, {\n // 25.4.4.1 Promise.all(iterable)\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var values = [];\n var index = 0;\n var remaining = 1;\n forOf(iterable, false, function (promise) {\n var $index = index++;\n var alreadyCalled = false;\n values.push(undefined);\n remaining++;\n C.resolve(promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[$index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.e) reject(result.v);\n return capability.promise;\n },\n // 25.4.4.4 Promise.race(iterable)\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n forOf(iterable, false, function (promise) {\n C.resolve(promise).then(capability.resolve, reject);\n });\n });\n if (result.e) reject(result.v);\n return capability.promise;\n }\n});\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./select.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./data-list.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar toInteger = require('./_to-integer');\nvar advanceStringIndex = require('./_advance-string-index');\nvar regExpExec = require('./_regexp-exec-abstract');\nvar max = Math.max;\nvar min = Math.min;\nvar floor = Math.floor;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {\n return [\n // `String.prototype.replace` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n var res = maybeCallNative($replace, regexp, this, replaceValue);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n results.push(result);\n if (!global) break;\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n\n // https://tc39.github.io/ecma262/#sec-getsubstitution\n function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return $replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n }\n});\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","var core = module.exports = { version: '2.6.11' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13.63 3.65l-1.28-1.27L8 6.73 3.64 2.38 2.37 3.65l4.35 4.36-4.34 4.34 1.27 1.28L8 9.28l4.35 4.36 1.28-1.28-4.36-4.35 4.36-4.36z\\\"></path></svg>\"","\"use strict\";\n\nexports.__esModule = true;\n\nvar _assign = require(\"../core-js/object/assign\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _assign2.default || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\n\nvar isRegExp = require('./_is-regexp');\nvar anObject = require('./_an-object');\nvar speciesConstructor = require('./_species-constructor');\nvar advanceStringIndex = require('./_advance-string-index');\nvar toLength = require('./_to-length');\nvar callRegExpExec = require('./_regexp-exec-abstract');\nvar regexpExec = require('./_regexp-exec');\nvar fails = require('./_fails');\nvar $min = Math.min;\nvar $push = [].push;\nvar $SPLIT = 'split';\nvar LENGTH = 'length';\nvar LAST_INDEX = 'lastIndex';\nvar MAX_UINT32 = 0xffffffff;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nrequire('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n ''[$SPLIT](/.?/)[LENGTH]\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(this);\n if (separator === undefined && limit === 0) return [];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) return $split.call(string, separator, limit);\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy[LAST_INDEX];\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n lastLength = match[0][LENGTH];\n lastLastIndex = lastIndex;\n if (output[LENGTH] >= splitLimit) break;\n }\n if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n }\n if (lastLastIndex === string[LENGTH]) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n };\n // Chakra, V8\n } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);\n };\n } else {\n internalSplit = $split;\n }\n\n return [\n // `String.prototype.split` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = defined(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n});\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./icon.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./tag.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar $toString = require('./_function-to-string');\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n IteratorPrototype[iteratorSymbol] = function () {\n return this;\n };\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunctionPrototype[toStringTagSymbol] =\n GeneratorFunction.displayName = \"GeneratorFunction\";\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n prototype[method] = function(arg) {\n return this._invoke(method, arg);\n };\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n if (!(toStringTagSymbol in genFun)) {\n genFun[toStringTagSymbol] = \"GeneratorFunction\";\n }\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n return this;\n };\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n Gp[toStringTagSymbol] = \"Generator\";\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n Gp[iteratorSymbol] = function() {\n return this;\n };\n\n Gp.toString = function() {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./dialog.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./link.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","'use strict'\n\nmodule.exports = whitespace\n\nvar fromCode = String.fromCharCode\nvar re = /\\s/\n\n// Check if the given character code, or the character code at the first\n// character, is a whitespace character.\nfunction whitespace(character) {\n return re.test(\n typeof character === 'number' ? fromCode(character) : character.charAt(0)\n )\n}\n","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6.5 12.49l-1-.98L9.01 8 5.5 4.5l1-1L10.99 8 6.5 12.49z\\\"></path></svg>\"","\"use strict\";\n\nexports.__esModule = true;\n\nexports.default = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};","\"use strict\";\n\nexports.__esModule = true;\n\nvar _defineProperty = require(\"../core-js/object/define-property\");\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n (0, _defineProperty2.default)(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./checkbox.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./content-layout.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./error-message.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","\"use strict\";\n\nexports.__esModule = true;\n\nvar _typeof2 = require(\"../helpers/typeof\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && ((typeof call === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(call)) === \"object\" || typeof call === \"function\") ? call : self;\n};","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./loader-inline.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./footer.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./select-popup.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./alert.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","module.exports = extend\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction extend() {\n var target = {}\n\n for (var i = 0; i < arguments.length; i++) {\n var source = arguments[i]\n\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n target[key] = source[key]\n }\n }\n }\n\n return target\n}\n","var global = require('./_global');\nvar core = require('./_core');\nvar ctx = require('./_ctx');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"10\\\" height=\\\"10\\\" viewBox=\\\"0 0 10 10\\\"><path d=\\\"M5 7.99L1.5 4.5l1-1L5 6.01 7.5 3.5l.99 1L5 7.99z\\\"></path></svg>\"","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./grid.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./tags-input.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./toggle.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./services.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var core = module.exports = { version: '2.6.11' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","'use strict';\nvar $export = require('./_export');\nvar $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', {\n // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n reduce: function reduce(callbackfn /* , initialValue */) {\n return $reduce(this, callbackfn, arguments.length, arguments[1], false);\n }\n});\n","// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\nvar $export = require('./_export');\n\n$export($export.P, 'Function', { bind: require('./_bind') });\n","'use strict';\n// https://github.com/tc39/Array.prototype.includes\nvar $export = require('./_export');\nvar $includes = require('./_array-includes')(true);\n\n$export($export.P, 'Array', {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\nrequire('./_add-to-unscopables')('includes');\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6.16 14.41L1.37 9.66l1.26-1.28 3.24 3.21L13.23.5l1.5 1-8.57 12.91z\\\"></path></svg>\"","\n/**\n * Module exports.\n */\n\nmodule.exports = deprecate;\n\n/**\n * Mark that a method should not be used.\n * Returns a modified function which warns once by default.\n *\n * If `localStorage.noDeprecation = true` is set, then it is a no-op.\n *\n * If `localStorage.throwDeprecation = true` is set, then deprecated functions\n * will throw an Error when invoked.\n *\n * If `localStorage.traceDeprecation = true` is set, then deprecated functions\n * will invoke `console.trace()` instead of `console.error()`.\n *\n * @param {Function} fn - the function to deprecate\n * @param {String} msg - the string to print to the console when `fn` is invoked\n * @returns {Function} a new \"deprecated\" version of `fn`\n * @api public\n */\n\nfunction deprecate (fn, msg) {\n if (config('noDeprecation')) {\n return fn;\n }\n\n var warned = false;\n function deprecated() {\n if (!warned) {\n if (config('throwDeprecation')) {\n throw new Error(msg);\n } else if (config('traceDeprecation')) {\n console.trace(msg);\n } else {\n console.warn(msg);\n }\n warned = true;\n }\n return fn.apply(this, arguments);\n }\n\n return deprecated;\n}\n\n/**\n * Checks `localStorage` for boolean values for the given `name`.\n *\n * @param {String} name\n * @returns {Boolean}\n * @api private\n */\n\nfunction config (name) {\n // accessing global.localStorage can trigger a DOMException in sandboxed iframes\n try {\n if (!global.localStorage) return false;\n } catch (_) {\n return false;\n }\n var val = global.localStorage[name];\n if (null == val) return false;\n return String(val).toLowerCase() === 'true';\n}\n","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14.64 13.36l-4.51-4.51A4.94 4.94 0 0 0 11 6a5 5 0 1 0-2.17 4.12l4.51 4.51zM2.42 6A3.6 3.6 0 1 1 6 9.61 3.6 3.6 0 0 1 2.42 6z\\\"></path></svg>\"","module.exports = { \"default\": require(\"core-js/library/fn/object/get-prototype-of\"), __esModule: true };","\"use strict\";\n\nexports.__esModule = true;\n\nvar _setPrototypeOf = require(\"../core-js/object/set-prototype-of\");\n\nvar _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);\n\nvar _create = require(\"../core-js/object/create\");\n\nvar _create2 = _interopRequireDefault(_create);\n\nvar _typeof2 = require(\"../helpers/typeof\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(superClass)));\n }\n\n subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;\n};","module.exports = debounce;\n\nfunction debounce(fn, wait, callFirst) {\n var timeout;\n return function() {\n if (!wait) {\n return fn.apply(this, arguments);\n }\n var context = this;\n var args = arguments;\n var callNow = callFirst && !timeout;\n clearTimeout(timeout);\n timeout = setTimeout(function() {\n timeout = null;\n if (!callNow) {\n return fn.apply(context, args);\n }\n }, wait);\n\n if (callNow) {\n return fn.apply(this, arguments);\n }\n };\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./auth-dialog.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","'use strict';\nvar fails = require('./_fails');\n\nmodule.exports = function (method, arg) {\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call\n arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n });\n};\n","// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = require('./_export');\nvar context = require('./_string-context');\nvar INCLUDES = 'includes';\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~context(this, searchString, INCLUDES)\n .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\n\nvar keys = require('object-keys');\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';\n\nvar toStr = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar origDefineProperty = Object.defineProperty;\n\nvar isFunction = function (fn) {\n\treturn typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar arePropertyDescriptorsSupported = function () {\n\tvar obj = {};\n\ttry {\n\t\torigDefineProperty(obj, 'x', { enumerable: false, value: obj });\n\t\t// eslint-disable-next-line no-unused-vars, no-restricted-syntax\n\t\tfor (var _ in obj) { // jscs:ignore disallowUnusedVariables\n\t\t\treturn false;\n\t\t}\n\t\treturn obj.x === obj;\n\t} catch (e) { /* this is IE 8. */\n\t\treturn false;\n\t}\n};\nvar supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported();\n\nvar defineProperty = function (object, name, value, predicate) {\n\tif (name in object && (!isFunction(predicate) || !predicate())) {\n\t\treturn;\n\t}\n\tif (supportsDescriptors) {\n\t\torigDefineProperty(object, name, {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tvalue: value,\n\t\t\twritable: true\n\t\t});\n\t} else {\n\t\tobject[name] = value;\n\t}\n};\n\nvar defineProperties = function (object, map) {\n\tvar predicates = arguments.length > 2 ? arguments[2] : {};\n\tvar props = keys(map);\n\tif (hasSymbols) {\n\t\tprops = concat.call(props, Object.getOwnPropertySymbols(map));\n\t}\n\tfor (var i = 0; i < props.length; i += 1) {\n\t\tdefineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n\t}\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\n\nmodule.exports = defineProperties;\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./button-group.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./loader-screen.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./pager.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it, TYPE) {\n if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n return it;\n};\n","'use strict';\n\n/* globals\n\tAtomics,\n\tSharedArrayBuffer,\n*/\n\nvar undefined;\n\nvar $TypeError = TypeError;\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () { throw new $TypeError(); };\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\n\nvar getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto\n\nvar generator; // = function * () {};\nvar generatorFunction = generator ? getProto(generator) : undefined;\nvar asyncFn; // async function() {};\nvar asyncFunction = asyncFn ? asyncFn.constructor : undefined;\nvar asyncGen; // async function * () {};\nvar asyncGenFunction = asyncGen ? getProto(asyncGen) : undefined;\nvar asyncGenIterator = asyncGen ? asyncGen() : undefined;\n\nvar TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer.prototype,\n\t'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,\n\t'%ArrayPrototype%': Array.prototype,\n\t'%ArrayProto_entries%': Array.prototype.entries,\n\t'%ArrayProto_forEach%': Array.prototype.forEach,\n\t'%ArrayProto_keys%': Array.prototype.keys,\n\t'%ArrayProto_values%': Array.prototype.values,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': asyncFunction,\n\t'%AsyncFunctionPrototype%': asyncFunction ? asyncFunction.prototype : undefined,\n\t'%AsyncGenerator%': asyncGen ? getProto(asyncGenIterator) : undefined,\n\t'%AsyncGeneratorFunction%': asyncGenFunction,\n\t'%AsyncGeneratorPrototype%': asyncGenFunction ? asyncGenFunction.prototype : undefined,\n\t'%AsyncIteratorPrototype%': asyncGenIterator && hasSymbols && Symbol.asyncIterator ? asyncGenIterator[Symbol.asyncIterator]() : undefined,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%Boolean%': Boolean,\n\t'%BooleanPrototype%': Boolean.prototype,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%DataViewPrototype%': typeof DataView === 'undefined' ? undefined : DataView.prototype,\n\t'%Date%': Date,\n\t'%DatePrototype%': Date.prototype,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': Error,\n\t'%ErrorPrototype%': Error.prototype,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': EvalError,\n\t'%EvalErrorPrototype%': EvalError.prototype,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined : Float32Array.prototype,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined : Float64Array.prototype,\n\t'%Function%': Function,\n\t'%FunctionPrototype%': Function.prototype,\n\t'%Generator%': generator ? getProto(generator()) : undefined,\n\t'%GeneratorFunction%': generatorFunction,\n\t'%GeneratorPrototype%': generatorFunction ? generatorFunction.prototype : undefined,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined : Int8Array.prototype,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined : Int8Array.prototype,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined : Int32Array.prototype,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%MapPrototype%': typeof Map === 'undefined' ? undefined : Map.prototype,\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%NumberPrototype%': Number.prototype,\n\t'%Object%': Object,\n\t'%ObjectPrototype%': Object.prototype,\n\t'%ObjProto_toString%': Object.prototype.toString,\n\t'%ObjProto_valueOf%': Object.prototype.valueOf,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%PromisePrototype%': typeof Promise === 'undefined' ? undefined : Promise.prototype,\n\t'%PromiseProto_then%': typeof Promise === 'undefined' ? undefined : Promise.prototype.then,\n\t'%Promise_all%': typeof Promise === 'undefined' ? undefined : Promise.all,\n\t'%Promise_reject%': typeof Promise === 'undefined' ? undefined : Promise.reject,\n\t'%Promise_resolve%': typeof Promise === 'undefined' ? undefined : Promise.resolve,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': RangeError,\n\t'%RangeErrorPrototype%': RangeError.prototype,\n\t'%ReferenceError%': ReferenceError,\n\t'%ReferenceErrorPrototype%': ReferenceError.prototype,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%RegExpPrototype%': RegExp.prototype,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SetPrototype%': typeof Set === 'undefined' ? undefined : Set.prototype,\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer.prototype,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%StringPrototype%': String.prototype,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SymbolPrototype%': hasSymbols ? Symbol.prototype : undefined,\n\t'%SyntaxError%': SyntaxError,\n\t'%SyntaxErrorPrototype%': SyntaxError.prototype,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined,\n\t'%TypeError%': $TypeError,\n\t'%TypeErrorPrototype%': $TypeError.prototype,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array.prototype,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray.prototype,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array.prototype,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array.prototype,\n\t'%URIError%': URIError,\n\t'%URIErrorPrototype%': URIError.prototype,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined : WeakMap.prototype,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,\n\t'%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined : WeakSet.prototype\n};\n\nvar bind = require('function-bind');\nvar $replace = bind.call(Function.call, String.prototype.replace);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tif (!(name in INTRINSICS)) {\n\t\tthrow new SyntaxError('intrinsic ' + name + ' does not exist!');\n\t}\n\n\t// istanbul ignore if // hopefully this is impossible to test :-)\n\tif (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {\n\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t}\n\n\treturn INTRINSICS[name];\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tvar parts = stringToPath(name);\n\n\tvar value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);\n\tfor (var i = 1; i < parts.length; i += 1) {\n\t\tif (value != null) {\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, parts[i]);\n\t\t\t\tif (!allowMissing && !(parts[i] in value)) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\tvalue = desc ? (desc.get || desc.value) : value[parts[i]];\n\t\t\t} else {\n\t\t\t\tvalue = value[parts[i]];\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar origSymbol = global.Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","\nexports = module.exports = trim;\n\nfunction trim(str){\n return str.replace(/^\\s*|\\s*$/g, '');\n}\n\nexports.left = function(str){\n return str.replace(/^\\s*/, '');\n};\n\nexports.right = function(str){\n return str.replace(/\\s*$/, '');\n};\n","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 10.99L3.5 6.5l1-1L8 9.01l3.51-3.51.98 1L8 10.99z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M9.51 12.49L5.01 8l4.5-4.5.98 1L6.99 8l3.5 3.51-.98.98z\\\"></path></svg>\"","'use strict';\n\nvar objectKeys = require('object-keys');\nvar isArguments = require('is-arguments');\nvar is = require('object-is');\nvar isRegex = require('is-regex');\nvar flags = require('regexp.prototype.flags');\nvar isArray = require('isarray');\nvar isDate = require('is-date-object');\nvar whichBoxedPrimitive = require('which-boxed-primitive');\nvar GetIntrinsic = require('es-abstract/GetIntrinsic');\nvar callBound = require('es-abstract/helpers/callBound');\nvar whichCollection = require('which-collection');\nvar getIterator = require('es-get-iterator');\nvar getSideChannel = require('side-channel');\nvar whichTypedArray = require('which-typed-array');\nvar assign = require('object.assign');\n\nvar $getTime = callBound('Date.prototype.getTime');\nvar gPO = Object.getPrototypeOf;\nvar $objToString = callBound('Object.prototype.toString');\n\nvar $Set = GetIntrinsic('%Set%', true);\nvar $mapHas = callBound('Map.prototype.has', true);\nvar $mapGet = callBound('Map.prototype.get', true);\nvar $mapSize = callBound('Map.prototype.size', true);\nvar $setAdd = callBound('Set.prototype.add', true);\nvar $setDelete = callBound('Set.prototype.delete', true);\nvar $setHas = callBound('Set.prototype.has', true);\nvar $setSize = callBound('Set.prototype.size', true);\n\n// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L401-L414\nfunction setHasEqualElement(set, val1, opts, channel) {\n var i = getIterator(set);\n var result;\n while ((result = i.next()) && !result.done) {\n if (internalDeepEqual(val1, result.value, opts, channel)) { // eslint-disable-line no-use-before-define\n // Remove the matching element to make sure we do not check that again.\n $setDelete(set, result.value);\n return true;\n }\n }\n\n return false;\n}\n\n// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L416-L439\nfunction findLooseMatchingPrimitives(prim) {\n if (typeof prim === 'undefined') {\n return null;\n }\n if (typeof prim === 'object') { // Only pass in null as object!\n return void 0;\n }\n if (typeof prim === 'symbol') {\n return false;\n }\n if (typeof prim === 'string' || typeof prim === 'number') {\n // Loose equal entries exist only if the string is possible to convert to a regular number and not NaN.\n return +prim === +prim; // eslint-disable-line no-implicit-coercion\n }\n return true;\n}\n\n// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L449-L460\nfunction mapMightHaveLoosePrim(a, b, prim, item, opts, channel) {\n var altValue = findLooseMatchingPrimitives(prim);\n if (altValue != null) {\n return altValue;\n }\n var curB = $mapGet(b, altValue);\n var looseOpts = assign({}, opts, { strict: false });\n if (\n (typeof curB === 'undefined' && !$mapHas(b, altValue))\n // eslint-disable-next-line no-use-before-define\n || !internalDeepEqual(item, curB, looseOpts, channel)\n ) {\n return false;\n }\n // eslint-disable-next-line no-use-before-define\n return !$mapHas(a, altValue) && internalDeepEqual(item, curB, looseOpts, channel);\n}\n\n// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L441-L447\nfunction setMightHaveLoosePrim(a, b, prim) {\n var altValue = findLooseMatchingPrimitives(prim);\n if (altValue != null) {\n return altValue;\n }\n\n return $setHas(b, altValue) && !$setHas(a, altValue);\n}\n\n// taken from https://github.com/browserify/commonjs-assert/blob/bba838e9ba9e28edf3127ce6974624208502f6bc/internal/util/comparisons.js#L518-L533\nfunction mapHasEqualEntry(set, map, key1, item1, opts, channel) {\n var i = getIterator(set);\n var result;\n var key2;\n while ((result = i.next()) && !result.done) {\n key2 = result.value;\n if (\n // eslint-disable-next-line no-use-before-define\n internalDeepEqual(key1, key2, opts, channel)\n // eslint-disable-next-line no-use-before-define\n && internalDeepEqual(item1, $mapGet(map, key2), opts, channel)\n ) {\n $setDelete(set, key2);\n return true;\n }\n }\n\n return false;\n}\n\nfunction internalDeepEqual(actual, expected, options, channel) {\n var opts = options || {};\n\n // 7.1. All identical values are equivalent, as determined by ===.\n if (opts.strict ? is(actual, expected) : actual === expected) {\n return true;\n }\n\n var actualBoxed = whichBoxedPrimitive(actual);\n var expectedBoxed = whichBoxedPrimitive(expected);\n if (actualBoxed !== expectedBoxed) {\n return false;\n }\n\n // 7.3. Other pairs that do not both pass typeof value == 'object', equivalence is determined by ==.\n if (!actual || !expected || (typeof actual !== 'object' && typeof expected !== 'object')) {\n return opts.strict ? is(actual, expected) : actual == expected; // eslint-disable-line eqeqeq\n }\n\n /*\n * 7.4. For all other Object pairs, including Array objects, equivalence is\n * determined by having the same number of owned properties (as verified\n * with Object.prototype.hasOwnProperty.call), the same set of keys\n * (although not necessarily the same order), equivalent values for every\n * corresponding key, and an identical 'prototype' property. Note: this\n * accounts for both named and indexed properties on Arrays.\n */\n // see https://github.com/nodejs/node/commit/d3aafd02efd3a403d646a3044adcf14e63a88d32 for memos/channel inspiration\n\n var hasActual = channel.has(actual);\n var hasExpected = channel.has(expected);\n var sentinel;\n if (hasActual && hasExpected) {\n if (channel.get(actual) === channel.get(expected)) {\n return true;\n }\n } else {\n sentinel = {};\n }\n if (!hasActual) { channel.set(actual, sentinel); }\n if (!hasExpected) { channel.set(expected, sentinel); }\n\n // eslint-disable-next-line no-use-before-define\n return objEquiv(actual, expected, opts, channel);\n}\n\nfunction isBuffer(x) {\n if (!x || typeof x !== 'object' || typeof x.length !== 'number') {\n return false;\n }\n if (typeof x.copy !== 'function' || typeof x.slice !== 'function') {\n return false;\n }\n if (x.length > 0 && typeof x[0] !== 'number') {\n return false;\n }\n\n return !!(x.constructor && x.constructor.isBuffer && x.constructor.isBuffer(x));\n}\n\nfunction setEquiv(a, b, opts, channel) {\n if ($setSize(a) !== $setSize(b)) {\n return false;\n }\n var iA = getIterator(a);\n var iB = getIterator(b);\n var resultA;\n var resultB;\n var set;\n while ((resultA = iA.next()) && !resultA.done) {\n if (resultA.value && typeof resultA.value === 'object') {\n if (!set) { set = new $Set(); }\n $setAdd(set, resultA.value);\n } else if (!$setHas(b, resultA.value)) {\n if (opts.strict) { return false; }\n if (!setMightHaveLoosePrim(a, b, resultA.value)) {\n return false;\n }\n if (!set) { set = new $Set(); }\n $setAdd(set, resultA.value);\n }\n }\n if (set) {\n while ((resultB = iB.next()) && !resultB.done) {\n // We have to check if a primitive value is already matching and only if it's not, go hunting for it.\n if (resultB.value && typeof resultB.value === 'object') {\n if (!setHasEqualElement(set, resultB.value, opts.strict, channel)) {\n return false;\n }\n } else if (\n !opts.strict\n && !$setHas(a, resultB.value)\n && !setHasEqualElement(set, resultB.value, opts.strict, channel)\n ) {\n return false;\n }\n }\n return $setSize(set) === 0;\n }\n return true;\n}\n\nfunction mapEquiv(a, b, opts, channel) {\n if ($mapSize(a) !== $mapSize(b)) {\n return false;\n }\n var iA = getIterator(a);\n var iB = getIterator(b);\n var resultA;\n var resultB;\n var set;\n var key;\n var item1;\n var item2;\n while ((resultA = iA.next()) && !resultA.done) {\n key = resultA.value[0];\n item1 = resultA.value[1];\n if (key && typeof key === 'object') {\n if (!set) { set = new $Set(); }\n $setAdd(set, key);\n } else {\n item2 = $mapGet(b, key);\n if ((typeof item2 === 'undefined' && !$mapHas(b, key)) || !internalDeepEqual(item1, item2, opts, channel)) {\n if (opts.strict) {\n return false;\n }\n if (!mapMightHaveLoosePrim(a, b, key, item1, opts, channel)) {\n return false;\n }\n if (!set) { set = new $Set(); }\n $setAdd(set, key);\n }\n }\n }\n\n if (set) {\n while ((resultB = iB.next()) && !resultB.done) {\n key = resultB.value[0];\n item2 = resultB.value[1];\n if (key && typeof key === 'object') {\n if (!mapHasEqualEntry(set, a, key, item2, opts, channel)) {\n return false;\n }\n } else if (\n !opts.strict\n && (!a.has(key) || !internalDeepEqual($mapGet(a, key), item2, opts, channel))\n && !mapHasEqualEntry(set, a, key, item2, assign({}, opts, { strict: false }), channel)\n ) {\n return false;\n }\n }\n return $setSize(set) === 0;\n }\n return true;\n}\n\nfunction objEquiv(a, b, opts, channel) {\n /* eslint max-statements: [2, 100], max-lines-per-function: [2, 120], max-depth: [2, 5] */\n var i, key;\n\n if (typeof a !== typeof b) { return false; }\n if (a == null || b == null) { return false; }\n\n if ($objToString(a) !== $objToString(b)) { return false; }\n\n if (isArguments(a) !== isArguments(b)) { return false; }\n\n var aIsArray = isArray(a);\n var bIsArray = isArray(b);\n if (aIsArray !== bIsArray) { return false; }\n\n // TODO: replace when a cross-realm brand check is available\n var aIsError = a instanceof Error;\n var bIsError = b instanceof Error;\n if (aIsError !== bIsError) { return false; }\n if (aIsError || bIsError) {\n if (a.name !== b.name || a.message !== b.message) { return false; }\n }\n\n var aIsRegex = isRegex(a);\n var bIsRegex = isRegex(b);\n if (aIsRegex !== bIsRegex) { return false; }\n if ((aIsRegex || bIsRegex) && (a.source !== b.source || flags(a) !== flags(b))) {\n return false;\n }\n\n var aIsDate = isDate(a);\n var bIsDate = isDate(b);\n if (aIsDate !== bIsDate) { return false; }\n if (aIsDate || bIsDate) { // && would work too, because both are true or both false here\n if ($getTime(a) !== $getTime(b)) { return false; }\n }\n if (opts.strict && gPO && gPO(a) !== gPO(b)) { return false; }\n\n if (whichTypedArray(a) !== whichTypedArray(b)) {\n return false;\n }\n\n var aIsBuffer = isBuffer(a);\n var bIsBuffer = isBuffer(b);\n if (aIsBuffer !== bIsBuffer) { return false; }\n if (aIsBuffer || bIsBuffer) { // && would work too, because both are true or both false here\n if (a.length !== b.length) { return false; }\n for (i = 0; i < a.length; i++) {\n if (a[i] !== b[i]) { return false; }\n }\n return true;\n }\n\n if (typeof a !== typeof b) { return false; }\n\n var ka = objectKeys(a);\n var kb = objectKeys(b);\n // having the same number of owned properties (keys incorporates hasOwnProperty)\n if (ka.length !== kb.length) { return false; }\n\n // the same set of keys (although not necessarily the same order),\n ka.sort();\n kb.sort();\n // ~~~cheap key test\n for (i = ka.length - 1; i >= 0; i--) {\n if (ka[i] != kb[i]) { return false; } // eslint-disable-line eqeqeq\n }\n\n // equivalent values for every corresponding key, and ~~~possibly expensive deep test\n for (i = ka.length - 1; i >= 0; i--) {\n key = ka[i];\n if (!internalDeepEqual(a[key], b[key], opts, channel)) { return false; }\n }\n\n var aCollection = whichCollection(a);\n var bCollection = whichCollection(b);\n if (aCollection !== bCollection) {\n return false;\n }\n if (aCollection === 'Set' || bCollection === 'Set') { // aCollection === bCollection\n return setEquiv(a, b, opts, channel);\n }\n if (aCollection === 'Map') { // aCollection === bCollection\n return mapEquiv(a, b, opts, channel);\n }\n\n return true;\n}\n\nmodule.exports = function deepEqual(a, b, opts) {\n return internalDeepEqual(a, b, opts, getSideChannel());\n};\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./avatar.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./badge.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./progress-bar.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n","module.exports = false;\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","module.exports = {};\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","exports.f = {}.propertyIsEnumerable;\n","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","'use strict';\n\nvar GetIntrinsic = require('../GetIntrinsic');\n\nvar callBind = require('./callBind');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n// 21.1.3.25 String.prototype.trim()\nrequire('./_string-trim')('trim', function ($trim) {\n return function trim() {\n return $trim(this, 3);\n };\n});\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","module.exports = true;\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","module.exports = {};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n * \n */\n\n/*eslint-disable no-self-compare */\n\n'use strict';\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n // Added the nonzero y check to make Flow happy, but it is redundant\n return x !== 0 || y !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n}\n\n/**\n * Performs equality by iterating through keys on an object and returning false\n * when any key has values which are not strictly equal between the arguments.\n * Returns true when the values of all keys are strictly equal.\n */\nfunction shallowEqual(objA, objB) {\n if (is(objA, objB)) {\n return true;\n }\n\n if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n // Test for A's keys different from B.\n for (var i = 0; i < keysA.length; i++) {\n if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = shallowEqual;","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M1 19h4v-4H1zm7 0h4v-4H8zm7 0h4v-4h-4zM1 12h4V8H1zm7 0h4V8H8zm7 0h4V8h-4zM1 5h4V1H1zm7 0h4V1H8zm7-4v4h4V1z\\\"></path></svg>\"","import { addEventListener } from 'consolidated-events';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { isForwardRef } from 'react-is';\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (typeof call === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return _assertThisInitialized(self);\n}\n\n/**\n * Attempts to parse the offset provided as a prop as a percentage. For\n * instance, if the component has been provided with the string \"20%\" as\n * a value of one of the offset props. If the value matches, then it returns\n * a numeric version of the prop. For instance, \"20%\" would become `0.2`.\n * If `str` isn't a percentage, then `undefined` will be returned.\n *\n * @param {string} str The value of an offset prop to be converted to a\n * number.\n * @return {number|undefined} The numeric version of `str`. Undefined if `str`\n * was not a percentage.\n */\nfunction parseOffsetAsPercentage(str) {\n if (str.slice(-1) === '%') {\n return parseFloat(str.slice(0, -1)) / 100;\n }\n\n return undefined;\n}\n\n/**\n * Attempts to parse the offset provided as a prop as a pixel value. If\n * parsing fails, then `undefined` is returned. Three examples of values that\n * will be successfully parsed are:\n * `20`\n * \"20px\"\n * \"20\"\n *\n * @param {string|number} str A string of the form \"{number}\" or \"{number}px\",\n * or just a number.\n * @return {number|undefined} The numeric version of `str`. Undefined if `str`\n * was neither a number nor string ending in \"px\".\n */\nfunction parseOffsetAsPixels(str) {\n if (!isNaN(parseFloat(str)) && isFinite(str)) {\n return parseFloat(str);\n }\n\n if (str.slice(-2) === 'px') {\n return parseFloat(str.slice(0, -2));\n }\n\n return undefined;\n}\n\n/**\n * @param {string|number} offset\n * @param {number} contextHeight\n * @return {number} A number representing `offset` converted into pixels.\n */\n\nfunction computeOffsetPixels(offset, contextHeight) {\n var pixelOffset = parseOffsetAsPixels(offset);\n\n if (typeof pixelOffset === 'number') {\n return pixelOffset;\n }\n\n var percentOffset = parseOffsetAsPercentage(offset);\n\n if (typeof percentOffset === 'number') {\n return percentOffset * contextHeight;\n }\n\n return undefined;\n}\n\nvar ABOVE = 'above';\nvar INSIDE = 'inside';\nvar BELOW = 'below';\nvar INVISIBLE = 'invisible';\n\nfunction debugLog() {\n if (process.env.NODE_ENV !== 'production') {\n var _console;\n\n (_console = console).log.apply(_console, arguments); // eslint-disable-line no-console\n\n }\n}\n\n/**\n * When an element's type is a string, it represents a DOM node with that tag name\n * https://facebook.github.io/react/blog/2015/12/18/react-components-elements-and-instances.html#dom-elements\n *\n * @param {React.element} Component\n * @return {bool} Whether the component is a DOM Element\n */\nfunction isDOMElement(Component) {\n return typeof Component.type === 'string';\n}\n\nvar errorMessage = '<Waypoint> needs a DOM element to compute boundaries. The child you passed is neither a ' + 'DOM element (e.g. <div>) nor does it use the innerRef prop.\\n\\n' + 'See https://goo.gl/LrBNgw for more info.';\n/**\n * Raise an error if \"children\" is not a DOM Element and there is no ref provided to Waypoint\n *\n * @param {?React.element} children\n * @param {?HTMLElement} ref\n * @return {undefined}\n */\n\nfunction ensureRefIsProvidedByChild(children, ref) {\n if (children && !isDOMElement(children) && !ref) {\n throw new Error(errorMessage);\n }\n}\n\n/**\n * @param {object} bounds An object with bounds data for the waypoint and\n * scrollable parent\n * @return {string} The current position of the waypoint in relation to the\n * visible portion of the scrollable parent. One of the constants `ABOVE`,\n * `BELOW`, `INSIDE` or `INVISIBLE`.\n */\n\nfunction getCurrentPosition(bounds) {\n if (bounds.viewportBottom - bounds.viewportTop === 0) {\n return INVISIBLE;\n } // top is within the viewport\n\n\n if (bounds.viewportTop <= bounds.waypointTop && bounds.waypointTop <= bounds.viewportBottom) {\n return INSIDE;\n } // bottom is within the viewport\n\n\n if (bounds.viewportTop <= bounds.waypointBottom && bounds.waypointBottom <= bounds.viewportBottom) {\n return INSIDE;\n } // top is above the viewport and bottom is below the viewport\n\n\n if (bounds.waypointTop <= bounds.viewportTop && bounds.viewportBottom <= bounds.waypointBottom) {\n return INSIDE;\n }\n\n if (bounds.viewportBottom < bounds.waypointTop) {\n return BELOW;\n }\n\n if (bounds.waypointTop < bounds.viewportTop) {\n return ABOVE;\n }\n\n return INVISIBLE;\n}\n\nvar timeout;\nvar timeoutQueue = [];\nfunction onNextTick(cb) {\n timeoutQueue.push(cb);\n\n if (!timeout) {\n timeout = setTimeout(function () {\n timeout = null; // Drain the timeoutQueue\n\n var item; // eslint-disable-next-line no-cond-assign\n\n while (item = timeoutQueue.shift()) {\n item();\n }\n }, 0);\n }\n\n var isSubscribed = true;\n return function unsubscribe() {\n if (!isSubscribed) {\n return;\n }\n\n isSubscribed = false;\n var index = timeoutQueue.indexOf(cb);\n\n if (index === -1) {\n return;\n }\n\n timeoutQueue.splice(index, 1);\n\n if (!timeoutQueue.length && timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n };\n}\n\nfunction resolveScrollableAncestorProp(scrollableAncestor) {\n // When Waypoint is rendered on the server, `window` is not available.\n // To make Waypoint easier to work with, we allow this to be specified in\n // string form and safely convert to `window` here.\n if (scrollableAncestor === 'window') {\n return global.window;\n }\n\n return scrollableAncestor;\n}\n\nvar defaultProps = {\n debug: false,\n scrollableAncestor: undefined,\n children: undefined,\n topOffset: '0px',\n bottomOffset: '0px',\n horizontal: false,\n onEnter: function onEnter() {},\n onLeave: function onLeave() {},\n onPositionChange: function onPositionChange() {},\n fireOnRapidScroll: true\n}; // Calls a function when you scroll to the element.\n\nvar Waypoint =\n/*#__PURE__*/\nfunction (_React$PureComponent) {\n _inherits(Waypoint, _React$PureComponent);\n\n function Waypoint(props) {\n var _this;\n\n _classCallCheck(this, Waypoint);\n\n _this = _possibleConstructorReturn(this, _getPrototypeOf(Waypoint).call(this, props));\n\n _this.refElement = function (e) {\n _this._ref = e;\n };\n\n return _this;\n }\n\n _createClass(Waypoint, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this2 = this;\n\n if (!Waypoint.getWindow()) {\n return;\n } // this._ref may occasionally not be set at this time. To help ensure that\n // this works smoothly and to avoid layout thrashing, we want to delay the\n // initial execution until the next tick.\n\n\n this.cancelOnNextTick = onNextTick(function () {\n _this2.cancelOnNextTick = null;\n var _this2$props = _this2.props,\n children = _this2$props.children,\n debug = _this2$props.debug; // Berofe doing anything, we want to check that this._ref is avaliable in Waypoint\n\n ensureRefIsProvidedByChild(children, _this2._ref);\n _this2._handleScroll = _this2._handleScroll.bind(_this2);\n _this2.scrollableAncestor = _this2._findScrollableAncestor();\n\n if (process.env.NODE_ENV !== 'production' && debug) {\n debugLog('scrollableAncestor', _this2.scrollableAncestor);\n }\n\n _this2.scrollEventListenerUnsubscribe = addEventListener(_this2.scrollableAncestor, 'scroll', _this2._handleScroll, {\n passive: true\n });\n _this2.resizeEventListenerUnsubscribe = addEventListener(window, 'resize', _this2._handleScroll, {\n passive: true\n });\n\n _this2._handleScroll(null);\n });\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n var _this3 = this;\n\n if (!Waypoint.getWindow()) {\n return;\n }\n\n if (!this.scrollableAncestor) {\n // The Waypoint has not yet initialized.\n return;\n } // The element may have moved, so we need to recompute its position on the\n // page. This happens via handleScroll in a way that forces layout to be\n // computed.\n //\n // We want this to be deferred to avoid forcing layout during render, which\n // causes layout thrashing. And, if we already have this work enqueued, we\n // can just wait for that to happen instead of enqueueing again.\n\n\n if (this.cancelOnNextTick) {\n return;\n }\n\n this.cancelOnNextTick = onNextTick(function () {\n _this3.cancelOnNextTick = null;\n\n _this3._handleScroll(null);\n });\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (!Waypoint.getWindow()) {\n return;\n }\n\n if (this.scrollEventListenerUnsubscribe) {\n this.scrollEventListenerUnsubscribe();\n }\n\n if (this.resizeEventListenerUnsubscribe) {\n this.resizeEventListenerUnsubscribe();\n }\n\n if (this.cancelOnNextTick) {\n this.cancelOnNextTick();\n }\n }\n /**\n * Traverses up the DOM to find an ancestor container which has an overflow\n * style that allows for scrolling.\n *\n * @return {Object} the closest ancestor element with an overflow style that\n * allows for scrolling. If none is found, the `window` object is returned\n * as a fallback.\n */\n\n }, {\n key: \"_findScrollableAncestor\",\n value: function _findScrollableAncestor() {\n var _this$props = this.props,\n horizontal = _this$props.horizontal,\n scrollableAncestor = _this$props.scrollableAncestor;\n\n if (scrollableAncestor) {\n return resolveScrollableAncestorProp(scrollableAncestor);\n }\n\n var node = this._ref;\n\n while (node.parentNode) {\n node = node.parentNode;\n\n if (node === document.body) {\n // We've reached all the way to the root node.\n return window;\n }\n\n var style = window.getComputedStyle(node);\n var overflowDirec = horizontal ? style.getPropertyValue('overflow-x') : style.getPropertyValue('overflow-y');\n var overflow = overflowDirec || style.getPropertyValue('overflow');\n\n if (overflow === 'auto' || overflow === 'scroll') {\n return node;\n }\n } // A scrollable ancestor element was not found, which means that we need to\n // do stuff on window.\n\n\n return window;\n }\n /**\n * @param {Object} event the native scroll event coming from the scrollable\n * ancestor, or resize event coming from the window. Will be undefined if\n * called by a React lifecyle method\n */\n\n }, {\n key: \"_handleScroll\",\n value: function _handleScroll(event) {\n if (!this._ref) {\n // There's a chance we end up here after the component has been unmounted.\n return;\n }\n\n var bounds = this._getBounds();\n\n var currentPosition = getCurrentPosition(bounds);\n var previousPosition = this._previousPosition;\n var _this$props2 = this.props,\n debug = _this$props2.debug,\n onPositionChange = _this$props2.onPositionChange,\n onEnter = _this$props2.onEnter,\n onLeave = _this$props2.onLeave,\n fireOnRapidScroll = _this$props2.fireOnRapidScroll;\n\n if (process.env.NODE_ENV !== 'production' && debug) {\n debugLog('currentPosition', currentPosition);\n debugLog('previousPosition', previousPosition);\n } // Save previous position as early as possible to prevent cycles\n\n\n this._previousPosition = currentPosition;\n\n if (previousPosition === currentPosition) {\n // No change since last trigger\n return;\n }\n\n var callbackArg = {\n currentPosition: currentPosition,\n previousPosition: previousPosition,\n event: event,\n waypointTop: bounds.waypointTop,\n waypointBottom: bounds.waypointBottom,\n viewportTop: bounds.viewportTop,\n viewportBottom: bounds.viewportBottom\n };\n onPositionChange.call(this, callbackArg);\n\n if (currentPosition === INSIDE) {\n onEnter.call(this, callbackArg);\n } else if (previousPosition === INSIDE) {\n onLeave.call(this, callbackArg);\n }\n\n var isRapidScrollDown = previousPosition === BELOW && currentPosition === ABOVE;\n var isRapidScrollUp = previousPosition === ABOVE && currentPosition === BELOW;\n\n if (fireOnRapidScroll && (isRapidScrollDown || isRapidScrollUp)) {\n // If the scroll event isn't fired often enough to occur while the\n // waypoint was visible, we trigger both callbacks anyway.\n onEnter.call(this, {\n currentPosition: INSIDE,\n previousPosition: previousPosition,\n event: event,\n waypointTop: bounds.waypointTop,\n waypointBottom: bounds.waypointBottom,\n viewportTop: bounds.viewportTop,\n viewportBottom: bounds.viewportBottom\n });\n onLeave.call(this, {\n currentPosition: currentPosition,\n previousPosition: INSIDE,\n event: event,\n waypointTop: bounds.waypointTop,\n waypointBottom: bounds.waypointBottom,\n viewportTop: bounds.viewportTop,\n viewportBottom: bounds.viewportBottom\n });\n }\n }\n }, {\n key: \"_getBounds\",\n value: function _getBounds() {\n var _this$props3 = this.props,\n horizontal = _this$props3.horizontal,\n debug = _this$props3.debug;\n\n var _this$_ref$getBoundin = this._ref.getBoundingClientRect(),\n left = _this$_ref$getBoundin.left,\n top = _this$_ref$getBoundin.top,\n right = _this$_ref$getBoundin.right,\n bottom = _this$_ref$getBoundin.bottom;\n\n var waypointTop = horizontal ? left : top;\n var waypointBottom = horizontal ? right : bottom;\n var contextHeight;\n var contextScrollTop;\n\n if (this.scrollableAncestor === window) {\n contextHeight = horizontal ? window.innerWidth : window.innerHeight;\n contextScrollTop = 0;\n } else {\n contextHeight = horizontal ? this.scrollableAncestor.offsetWidth : this.scrollableAncestor.offsetHeight;\n contextScrollTop = horizontal ? this.scrollableAncestor.getBoundingClientRect().left : this.scrollableAncestor.getBoundingClientRect().top;\n }\n\n if (process.env.NODE_ENV !== 'production' && debug) {\n debugLog('waypoint top', waypointTop);\n debugLog('waypoint bottom', waypointBottom);\n debugLog('scrollableAncestor height', contextHeight);\n debugLog('scrollableAncestor scrollTop', contextScrollTop);\n }\n\n var _this$props4 = this.props,\n bottomOffset = _this$props4.bottomOffset,\n topOffset = _this$props4.topOffset;\n var topOffsetPx = computeOffsetPixels(topOffset, contextHeight);\n var bottomOffsetPx = computeOffsetPixels(bottomOffset, contextHeight);\n var contextBottom = contextScrollTop + contextHeight;\n return {\n waypointTop: waypointTop,\n waypointBottom: waypointBottom,\n viewportTop: contextScrollTop + topOffsetPx,\n viewportBottom: contextBottom - bottomOffsetPx\n };\n }\n /**\n * @return {Object}\n */\n\n }, {\n key: \"render\",\n value: function render() {\n var _this4 = this;\n\n var children = this.props.children;\n\n if (!children) {\n // We need an element that we can locate in the DOM to determine where it is\n // rendered relative to the top of its context.\n return React.createElement(\"span\", {\n ref: this.refElement,\n style: {\n fontSize: 0\n }\n });\n }\n\n if (isDOMElement(children) || isForwardRef(children)) {\n var ref = function ref(node) {\n _this4.refElement(node);\n\n if (children.ref) {\n if (typeof children.ref === 'function') {\n children.ref(node);\n } else {\n children.ref.current = node;\n }\n }\n };\n\n return React.cloneElement(children, {\n ref: ref\n });\n }\n\n return React.cloneElement(children, {\n innerRef: this.refElement\n });\n }\n }]);\n\n return Waypoint;\n}(React.PureComponent);\n\nif (process.env.NODE_ENV !== 'production') {\n Waypoint.propTypes = {\n children: PropTypes.element,\n debug: PropTypes.bool,\n onEnter: PropTypes.func,\n onLeave: PropTypes.func,\n onPositionChange: PropTypes.func,\n fireOnRapidScroll: PropTypes.bool,\n // eslint-disable-next-line react/forbid-prop-types\n scrollableAncestor: PropTypes.any,\n horizontal: PropTypes.bool,\n // `topOffset` can either be a number, in which case its a distance from the\n // top of the container in pixels, or a string value. Valid string values are\n // of the form \"20px\", which is parsed as pixels, or \"20%\", which is parsed\n // as a percentage of the height of the containing element.\n // For instance, if you pass \"-20%\", and the containing element is 100px tall,\n // then the waypoint will be triggered when it has been scrolled 20px beyond\n // the top of the containing element.\n topOffset: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n // `bottomOffset` is like `topOffset`, but for the bottom of the container.\n bottomOffset: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n };\n}\n\nWaypoint.above = ABOVE;\nWaypoint.below = BELOW;\nWaypoint.inside = INSIDE;\nWaypoint.invisible = INVISIBLE;\n\nWaypoint.getWindow = function () {\n if (typeof window !== 'undefined') {\n return window;\n }\n\n return undefined;\n};\n\nWaypoint.defaultProps = defaultProps;\nWaypoint.displayName = 'Waypoint';\n\nexport { Waypoint };\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./dropdown.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nmodule.exports = _assertThisInitialized;","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./popup.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./loader.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./radio.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $values = require('./_object-to-array')(false);\n\n$export($export.S, 'Object', {\n values: function values(it) {\n return $values(it);\n }\n});\n","exports.f = Object.getOwnPropertySymbols;\n","'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = require('./_an-object');\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","'use strict';\n\nvar classof = require('./_classof');\nvar builtinExec = RegExp.prototype.exec;\n\n // `RegExpExec` abstract operation\n// https://tc39.github.io/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw new TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n if (classof(R) !== 'RegExp') {\n throw new TypeError('RegExp#exec called on incompatible receiver');\n }\n return builtinExec.call(R, S);\n};\n","'use strict';\nrequire('./es6.regexp.exec');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\nvar regexpExec = require('./_regexp-exec');\n\nvar SPECIES = wks('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$<a>') !== '7';\n});\n\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {\n // Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length === 2 && result[0] === 'a' && result[1] === 'b';\n})();\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n re.exec = function () { execCalled = true; return null; };\n if (KEY === 'split') {\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n }\n re[SYMBOL]('');\n return !execCalled;\n }) : undefined;\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var fns = exec(\n defined,\n SYMBOL,\n ''[KEY],\n function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }\n );\n var strfn = fns[0];\n var rxfn = fns[1];\n\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","var redefine = require('./_redefine');\nmodule.exports = function (target, src, safe) {\n for (var key in src) redefine(target, key, src[key], safe);\n return target;\n};\n","module.exports = function (it, Constructor, name, forbiddenField) {\n if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n throw TypeError(name + ': incorrect invocation!');\n } return it;\n};\n","var ctx = require('./_ctx');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar getIterFn = require('./core.get-iterator-method');\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n var f = ctx(fn, that, entries ? 2 : 1);\n var index = 0;\n var length, step, iterator, result;\n if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if (result === BREAK || result === RETURN) return result;\n } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n result = call(iterator, f, step.value, entries);\n if (result === BREAK || result === RETURN) return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $entries = require('./_object-to-array')(true);\n\n$export($export.S, 'Object', {\n entries: function entries(it) {\n return $entries(it);\n }\n});\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = require('./_collection')(SET, function (get) {\n return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value) {\n return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n }\n}, strong);\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar advanceStringIndex = require('./_advance-string-index');\nvar regExpExec = require('./_regexp-exec-abstract');\n\n// @@match logic\nrequire('./_fix-re-wks')('match', 1, function (defined, MATCH, $match, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[MATCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match\n function (regexp) {\n var res = maybeCallNative($match, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n if (!rx.global) return regExpExec(rx, S);\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = String(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\n// B.2.3.10 String.prototype.link(url)\nrequire('./_string-html')('link', function (createHTML) {\n return function link(url) {\n return createHTML(this, 'a', 'href', url);\n };\n});\n","'use strict';\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar fails = require('./_fails');\nvar $sort = [].sort;\nvar test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function () {\n // IE8-\n test.sort(undefined);\n}) || !fails(function () {\n // V8 bug\n test.sort(null);\n // Old WebKit\n}) || !require('./_strict-method')($sort)), 'Array', {\n // 22.1.3.25 Array.prototype.sort(comparefn)\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? $sort.call(toObject(this))\n : $sort.call(toObject(this), aFunction(comparefn));\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $some = require('./_array-methods')(3);\n\n$export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', {\n // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments[1]);\n }\n});\n","'use strict';\nvar global = require('./_global');\nvar has = require('./_has');\nvar cof = require('./_cof');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar toPrimitive = require('./_to-primitive');\nvar fails = require('./_fails');\nvar gOPN = require('./_object-gopn').f;\nvar gOPD = require('./_object-gopd').f;\nvar dP = require('./_object-dp').f;\nvar $trim = require('./_string-trim').trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n if (typeof it == 'string' && it.length > 2) {\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0);\n var third, radix, maxCode;\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default: return +it;\n }\n for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n $Number = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n };\n for (var keys = require('./_descriptors') ? gOPN(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(Base, key = keys[j]) && !has($Number, key)) {\n dP($Number, key, gOPD(Base, key));\n }\n }\n $Number.prototype = proto;\n proto.constructor = $Number;\n require('./_redefine')(global, NUMBER, $Number);\n}\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","exports.f = {}.propertyIsEnumerable;\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","'use strict'\n\nmodule.exports = decimal\n\n// Check if the given character code, or the character code at the first\n// character, is decimal.\nfunction decimal(character) {\n var code = typeof character === 'string' ? character.charCodeAt(0) : character\n\n return code >= 48 && code <= 57 /* 0-9 */\n}\n","'use strict'\n\nmodule.exports = visit\n\nvar visitParents = require('unist-util-visit-parents')\n\nvar CONTINUE = visitParents.CONTINUE\nvar SKIP = visitParents.SKIP\nvar EXIT = visitParents.EXIT\n\nvisit.CONTINUE = CONTINUE\nvisit.SKIP = SKIP\nvisit.EXIT = EXIT\n\nfunction visit(tree, test, visitor, reverse) {\n if (typeof test === 'function' && typeof visitor !== 'function') {\n reverse = visitor\n visitor = test\n test = null\n }\n\n visitParents(tree, test, overload, reverse)\n\n function overload(node, parents) {\n var parent = parents[parents.length - 1]\n var index = parent ? parent.children.indexOf(node) : null\n return visitor(node, index, parent)\n }\n}\n","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 3.05A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM8.85 12.8h-1.7v-1.71h1.7zm0-3.56H7.17L7 3.2h2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M15.83 13.23l-7-11.76a1 1 0 0 0-1.66 0L.16 13.3c-.38.64-.07 1.7.68 1.7H15.2c.74 0 1.01-1.13.63-1.77zm-7 .37H7.14v-1.71h1.7zm0-3.57H7.16L7 4h2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M3.65 1.82v3.65H0v8.71h12.36v-3.65H16V1.82zm5 1.4H11v2.25H8.7zM11 9.13H8.7V6.87H11zM5.05 6.87H7.3v2.26H5.05zm0-3.65H7.3v2.25H5.05zM1.39 6.87h2.26v2.26H1.39zm2.26 5.91H1.39v-2.25h2.26zm3.65 0H5.05v-2.25H7.3zm3.66 0H8.7v-2.25H11zm3.65-3.65h-2.25V6.87h2.25zm-2.25-3.66V3.22h2.25v2.25z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 6.5A1.5 1.5 0 1 0 9.5 8 1.5 1.5 0 0 0 8 6.5zm0 5A1.5 1.5 0 1 0 9.5 13 1.5 1.5 0 0 0 8 11.47zm0-6.97A1.5 1.5 0 1 0 6.5 3 1.5 1.5 0 0 0 8 4.53z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14.55 4.6l-3.18-3.19a1.29 1.29 0 0 0-.88-.35 1.33 1.33 0 0 0-.94.39L2.28 8.72a1.29 1.29 0 0 0-.37.72L1 15l5.58-.93a1.29 1.29 0 0 0 .72-.37l7.26-7.26a1.31 1.31 0 0 0-.01-1.84zM10.2 2.78l3 3-6.26 6.32-3-3zM2.92 11.9l.26-1.59 2.5 2.5-1.57.26z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"10\\\" height=\\\"10\\\" viewBox=\\\"0 0 10 10\\\"><path d=\\\"M5 8L3 6 2 7l3 3 3-3-1-1zm0-6l2 2 1-1-3-3-3 3 1 1z\\\"></path></svg>\"","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./group.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","\"use strict\";\n\nvar forEach = require(\"./collection-utils\").forEach;\nvar elementUtilsMaker = require(\"./element-utils\");\nvar listenerHandlerMaker = require(\"./listener-handler\");\nvar idGeneratorMaker = require(\"./id-generator\");\nvar idHandlerMaker = require(\"./id-handler\");\nvar reporterMaker = require(\"./reporter\");\nvar browserDetector = require(\"./browser-detector\");\nvar batchProcessorMaker = require(\"batch-processor\");\nvar stateHandler = require(\"./state-handler\");\n\n//Detection strategies.\nvar objectStrategyMaker = require(\"./detection-strategy/object.js\");\nvar scrollStrategyMaker = require(\"./detection-strategy/scroll.js\");\n\nfunction isCollection(obj) {\n return Array.isArray(obj) || obj.length !== undefined;\n}\n\nfunction toArray(collection) {\n if (!Array.isArray(collection)) {\n var array = [];\n forEach(collection, function (obj) {\n array.push(obj);\n });\n return array;\n } else {\n return collection;\n }\n}\n\nfunction isElement(obj) {\n return obj && obj.nodeType === 1;\n}\n\n/**\n * @typedef idHandler\n * @type {object}\n * @property {function} get Gets the resize detector id of the element.\n * @property {function} set Generate and sets the resize detector id of the element.\n */\n\n/**\n * @typedef Options\n * @type {object}\n * @property {boolean} callOnAdd Determines if listeners should be called when they are getting added.\n Default is true. If true, the listener is guaranteed to be called when it has been added.\n If false, the listener will not be guarenteed to be called when it has been added (does not prevent it from being called).\n * @property {idHandler} idHandler A custom id handler that is responsible for generating, setting and retrieving id's for elements.\n If not provided, a default id handler will be used.\n * @property {reporter} reporter A custom reporter that handles reporting logs, warnings and errors.\n If not provided, a default id handler will be used.\n If set to false, then nothing will be reported.\n * @property {boolean} debug If set to true, the the system will report debug messages as default for the listenTo method.\n */\n\n/**\n * Creates an element resize detector instance.\n * @public\n * @param {Options?} options Optional global options object that will decide how this instance will work.\n */\nmodule.exports = function(options) {\n options = options || {};\n\n //idHandler is currently not an option to the listenTo function, so it should not be added to globalOptions.\n var idHandler;\n\n if (options.idHandler) {\n // To maintain compatability with idHandler.get(element, readonly), make sure to wrap the given idHandler\n // so that readonly flag always is true when it's used here. This may be removed next major version bump.\n idHandler = {\n get: function (element) { return options.idHandler.get(element, true); },\n set: options.idHandler.set\n };\n } else {\n var idGenerator = idGeneratorMaker();\n var defaultIdHandler = idHandlerMaker({\n idGenerator: idGenerator,\n stateHandler: stateHandler\n });\n idHandler = defaultIdHandler;\n }\n\n //reporter is currently not an option to the listenTo function, so it should not be added to globalOptions.\n var reporter = options.reporter;\n\n if(!reporter) {\n //If options.reporter is false, then the reporter should be quiet.\n var quiet = reporter === false;\n reporter = reporterMaker(quiet);\n }\n\n //batchProcessor is currently not an option to the listenTo function, so it should not be added to globalOptions.\n var batchProcessor = getOption(options, \"batchProcessor\", batchProcessorMaker({ reporter: reporter }));\n\n //Options to be used as default for the listenTo function.\n var globalOptions = {};\n globalOptions.callOnAdd = !!getOption(options, \"callOnAdd\", true);\n globalOptions.debug = !!getOption(options, \"debug\", false);\n\n var eventListenerHandler = listenerHandlerMaker(idHandler);\n var elementUtils = elementUtilsMaker({\n stateHandler: stateHandler\n });\n\n //The detection strategy to be used.\n var detectionStrategy;\n var desiredStrategy = getOption(options, \"strategy\", \"object\");\n var importantCssRules = getOption(options, \"important\", false);\n var strategyOptions = {\n reporter: reporter,\n batchProcessor: batchProcessor,\n stateHandler: stateHandler,\n idHandler: idHandler,\n important: importantCssRules\n };\n\n if(desiredStrategy === \"scroll\") {\n if (browserDetector.isLegacyOpera()) {\n reporter.warn(\"Scroll strategy is not supported on legacy Opera. Changing to object strategy.\");\n desiredStrategy = \"object\";\n } else if (browserDetector.isIE(9)) {\n reporter.warn(\"Scroll strategy is not supported on IE9. Changing to object strategy.\");\n desiredStrategy = \"object\";\n }\n }\n\n if(desiredStrategy === \"scroll\") {\n detectionStrategy = scrollStrategyMaker(strategyOptions);\n } else if(desiredStrategy === \"object\") {\n detectionStrategy = objectStrategyMaker(strategyOptions);\n } else {\n throw new Error(\"Invalid strategy name: \" + desiredStrategy);\n }\n\n //Calls can be made to listenTo with elements that are still being installed.\n //Also, same elements can occur in the elements list in the listenTo function.\n //With this map, the ready callbacks can be synchronized between the calls\n //so that the ready callback can always be called when an element is ready - even if\n //it wasn't installed from the function itself.\n var onReadyCallbacks = {};\n\n /**\n * Makes the given elements resize-detectable and starts listening to resize events on the elements. Calls the event callback for each event for each element.\n * @public\n * @param {Options?} options Optional options object. These options will override the global options. Some options may not be overriden, such as idHandler.\n * @param {element[]|element} elements The given array of elements to detect resize events of. Single element is also valid.\n * @param {function} listener The callback to be executed for each resize event for each element.\n */\n function listenTo(options, elements, listener) {\n function onResizeCallback(element) {\n var listeners = eventListenerHandler.get(element);\n forEach(listeners, function callListenerProxy(listener) {\n listener(element);\n });\n }\n\n function addListener(callOnAdd, element, listener) {\n eventListenerHandler.add(element, listener);\n\n if(callOnAdd) {\n listener(element);\n }\n }\n\n //Options object may be omitted.\n if(!listener) {\n listener = elements;\n elements = options;\n options = {};\n }\n\n if(!elements) {\n throw new Error(\"At least one element required.\");\n }\n\n if(!listener) {\n throw new Error(\"Listener required.\");\n }\n\n if (isElement(elements)) {\n // A single element has been passed in.\n elements = [elements];\n } else if (isCollection(elements)) {\n // Convert collection to array for plugins.\n // TODO: May want to check so that all the elements in the collection are valid elements.\n elements = toArray(elements);\n } else {\n return reporter.error(\"Invalid arguments. Must be a DOM element or a collection of DOM elements.\");\n }\n\n var elementsReady = 0;\n\n var callOnAdd = getOption(options, \"callOnAdd\", globalOptions.callOnAdd);\n var onReadyCallback = getOption(options, \"onReady\", function noop() {});\n var debug = getOption(options, \"debug\", globalOptions.debug);\n\n forEach(elements, function attachListenerToElement(element) {\n if (!stateHandler.getState(element)) {\n stateHandler.initState(element);\n idHandler.set(element);\n }\n\n var id = idHandler.get(element);\n\n debug && reporter.log(\"Attaching listener to element\", id, element);\n\n if(!elementUtils.isDetectable(element)) {\n debug && reporter.log(id, \"Not detectable.\");\n if(elementUtils.isBusy(element)) {\n debug && reporter.log(id, \"System busy making it detectable\");\n\n //The element is being prepared to be detectable. Do not make it detectable.\n //Just add the listener, because the element will soon be detectable.\n addListener(callOnAdd, element, listener);\n onReadyCallbacks[id] = onReadyCallbacks[id] || [];\n onReadyCallbacks[id].push(function onReady() {\n elementsReady++;\n\n if(elementsReady === elements.length) {\n onReadyCallback();\n }\n });\n return;\n }\n\n debug && reporter.log(id, \"Making detectable...\");\n //The element is not prepared to be detectable, so do prepare it and add a listener to it.\n elementUtils.markBusy(element, true);\n return detectionStrategy.makeDetectable({ debug: debug, important: importantCssRules }, element, function onElementDetectable(element) {\n debug && reporter.log(id, \"onElementDetectable\");\n\n if (stateHandler.getState(element)) {\n elementUtils.markAsDetectable(element);\n elementUtils.markBusy(element, false);\n detectionStrategy.addListener(element, onResizeCallback);\n addListener(callOnAdd, element, listener);\n\n // Since the element size might have changed since the call to \"listenTo\", we need to check for this change,\n // so that a resize event may be emitted.\n // Having the startSize object is optional (since it does not make sense in some cases such as unrendered elements), so check for its existance before.\n // Also, check the state existance before since the element may have been uninstalled in the installation process.\n var state = stateHandler.getState(element);\n if (state && state.startSize) {\n var width = element.offsetWidth;\n var height = element.offsetHeight;\n if (state.startSize.width !== width || state.startSize.height !== height) {\n onResizeCallback(element);\n }\n }\n\n if(onReadyCallbacks[id]) {\n forEach(onReadyCallbacks[id], function(callback) {\n callback();\n });\n }\n } else {\n // The element has been unisntalled before being detectable.\n debug && reporter.log(id, \"Element uninstalled before being detectable.\");\n }\n\n delete onReadyCallbacks[id];\n\n elementsReady++;\n if(elementsReady === elements.length) {\n onReadyCallback();\n }\n });\n }\n\n debug && reporter.log(id, \"Already detecable, adding listener.\");\n\n //The element has been prepared to be detectable and is ready to be listened to.\n addListener(callOnAdd, element, listener);\n elementsReady++;\n });\n\n if(elementsReady === elements.length) {\n onReadyCallback();\n }\n }\n\n function uninstall(elements) {\n if(!elements) {\n return reporter.error(\"At least one element is required.\");\n }\n\n if (isElement(elements)) {\n // A single element has been passed in.\n elements = [elements];\n } else if (isCollection(elements)) {\n // Convert collection to array for plugins.\n // TODO: May want to check so that all the elements in the collection are valid elements.\n elements = toArray(elements);\n } else {\n return reporter.error(\"Invalid arguments. Must be a DOM element or a collection of DOM elements.\");\n }\n\n forEach(elements, function (element) {\n eventListenerHandler.removeAllListeners(element);\n detectionStrategy.uninstall(element);\n stateHandler.cleanState(element);\n });\n }\n\n function initDocument(targetDocument) {\n detectionStrategy.initDocument && detectionStrategy.initDocument(targetDocument);\n }\n\n return {\n listenTo: listenTo,\n removeListener: eventListenerHandler.removeListener,\n removeAllListeners: eventListenerHandler.removeAllListeners,\n uninstall: uninstall,\n initDocument: initDocument\n };\n};\n\nfunction getOption(options, name, defaultValue) {\n var value = options[name];\n\n if((value === undefined || value === null) && defaultValue !== undefined) {\n return defaultValue;\n }\n\n return value;\n}\n","module.exports = { \"default\": require(\"core-js/library/fn/object/assign\"), __esModule: true };","/**\n * Detect Element Resize.\n * https://github.com/sdecima/javascript-detect-element-resize\n * Sebastian Decima\n *\n * Forked from version 0.5.3; includes the following modifications:\n * 1) Guard against unsafe 'window' and 'document' references (to support SSR).\n * 2) Defer initialization code via a top-level function wrapper (to support SSR).\n * 3) Avoid unnecessary reflows by not measuring size for scroll events bubbling from children.\n * 4) Add nonce for style element.\n * 5) Added support for injecting custom window object\n **/\n\nexport default function createDetectElementResize(nonce, hostWindow) {\n // Check `document` and `window` in case of server-side rendering\n var _window;\n if (typeof hostWindow !== 'undefined') {\n _window = hostWindow;\n } else if (typeof window !== 'undefined') {\n _window = window;\n } else if (typeof self !== 'undefined') {\n _window = self;\n } else {\n _window = global;\n }\n\n var attachEvent = typeof _window.document !== 'undefined' && _window.document.attachEvent;\n\n if (!attachEvent) {\n var requestFrame = function () {\n var raf = _window.requestAnimationFrame || _window.mozRequestAnimationFrame || _window.webkitRequestAnimationFrame || function (fn) {\n return _window.setTimeout(fn, 20);\n };\n return function (fn) {\n return raf(fn);\n };\n }();\n\n var cancelFrame = function () {\n var cancel = _window.cancelAnimationFrame || _window.mozCancelAnimationFrame || _window.webkitCancelAnimationFrame || _window.clearTimeout;\n return function (id) {\n return cancel(id);\n };\n }();\n\n var resetTriggers = function resetTriggers(element) {\n var triggers = element.__resizeTriggers__,\n expand = triggers.firstElementChild,\n contract = triggers.lastElementChild,\n expandChild = expand.firstElementChild;\n contract.scrollLeft = contract.scrollWidth;\n contract.scrollTop = contract.scrollHeight;\n expandChild.style.width = expand.offsetWidth + 1 + 'px';\n expandChild.style.height = expand.offsetHeight + 1 + 'px';\n expand.scrollLeft = expand.scrollWidth;\n expand.scrollTop = expand.scrollHeight;\n };\n\n var checkTriggers = function checkTriggers(element) {\n return element.offsetWidth != element.__resizeLast__.width || element.offsetHeight != element.__resizeLast__.height;\n };\n\n var scrollListener = function scrollListener(e) {\n // Don't measure (which forces) reflow for scrolls that happen inside of children!\n if (e.target.className && typeof e.target.className.indexOf === 'function' && e.target.className.indexOf('contract-trigger') < 0 && e.target.className.indexOf('expand-trigger') < 0) {\n return;\n }\n\n var element = this;\n resetTriggers(this);\n if (this.__resizeRAF__) {\n cancelFrame(this.__resizeRAF__);\n }\n this.__resizeRAF__ = requestFrame(function () {\n if (checkTriggers(element)) {\n element.__resizeLast__.width = element.offsetWidth;\n element.__resizeLast__.height = element.offsetHeight;\n element.__resizeListeners__.forEach(function (fn) {\n fn.call(element, e);\n });\n }\n });\n };\n\n /* Detect CSS Animations support to detect element display/re-attach */\n var animation = false,\n keyframeprefix = '',\n animationstartevent = 'animationstart',\n domPrefixes = 'Webkit Moz O ms'.split(' '),\n startEvents = 'webkitAnimationStart animationstart oAnimationStart MSAnimationStart'.split(' '),\n pfx = '';\n {\n var elm = _window.document.createElement('fakeelement');\n if (elm.style.animationName !== undefined) {\n animation = true;\n }\n\n if (animation === false) {\n for (var i = 0; i < domPrefixes.length; i++) {\n if (elm.style[domPrefixes[i] + 'AnimationName'] !== undefined) {\n pfx = domPrefixes[i];\n keyframeprefix = '-' + pfx.toLowerCase() + '-';\n animationstartevent = startEvents[i];\n animation = true;\n break;\n }\n }\n }\n }\n\n var animationName = 'resizeanim';\n var animationKeyframes = '@' + keyframeprefix + 'keyframes ' + animationName + ' { from { opacity: 0; } to { opacity: 0; } } ';\n var animationStyle = keyframeprefix + 'animation: 1ms ' + animationName + '; ';\n }\n\n var createStyles = function createStyles(doc) {\n if (!doc.getElementById('detectElementResize')) {\n //opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360\n var css = (animationKeyframes ? animationKeyframes : '') + '.resize-triggers { ' + (animationStyle ? animationStyle : '') + 'visibility: hidden; opacity: 0; } ' + '.resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \" \"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',\n head = doc.head || doc.getElementsByTagName('head')[0],\n style = doc.createElement('style');\n\n style.id = 'detectElementResize';\n style.type = 'text/css';\n\n if (nonce != null) {\n style.setAttribute('nonce', nonce);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(doc.createTextNode(css));\n }\n\n head.appendChild(style);\n }\n };\n\n var addResizeListener = function addResizeListener(element, fn) {\n if (attachEvent) {\n element.attachEvent('onresize', fn);\n } else {\n if (!element.__resizeTriggers__) {\n var doc = element.ownerDocument;\n var elementStyle = _window.getComputedStyle(element);\n if (elementStyle && elementStyle.position == 'static') {\n element.style.position = 'relative';\n }\n createStyles(doc);\n element.__resizeLast__ = {};\n element.__resizeListeners__ = [];\n (element.__resizeTriggers__ = doc.createElement('div')).className = 'resize-triggers';\n element.__resizeTriggers__.innerHTML = '<div class=\"expand-trigger\"><div></div></div>' + '<div class=\"contract-trigger\"></div>';\n element.appendChild(element.__resizeTriggers__);\n resetTriggers(element);\n element.addEventListener('scroll', scrollListener, true);\n\n /* Listen for a css animation to detect element display/re-attach */\n if (animationstartevent) {\n element.__resizeTriggers__.__animationListener__ = function animationListener(e) {\n if (e.animationName == animationName) {\n resetTriggers(element);\n }\n };\n element.__resizeTriggers__.addEventListener(animationstartevent, element.__resizeTriggers__.__animationListener__);\n }\n }\n element.__resizeListeners__.push(fn);\n }\n };\n\n var removeResizeListener = function removeResizeListener(element, fn) {\n if (attachEvent) {\n element.detachEvent('onresize', fn);\n } else {\n element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);\n if (!element.__resizeListeners__.length) {\n element.removeEventListener('scroll', scrollListener, true);\n if (element.__resizeTriggers__.__animationListener__) {\n element.__resizeTriggers__.removeEventListener(animationstartevent, element.__resizeTriggers__.__animationListener__);\n element.__resizeTriggers__.__animationListener__ = null;\n }\n try {\n element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__);\n } catch (e) {\n // Preact compat; see developit/preact-compat/issues/228\n }\n }\n }\n };\n\n return {\n addResizeListener: addResizeListener,\n removeResizeListener: removeResizeListener\n };\n}","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nmodule.exports = _classCallCheck;","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nmodule.exports = _createClass;","/* global window */\nimport ponyfill from './ponyfill.js';\n\nvar root;\n\nif (typeof self !== 'undefined') {\n root = self;\n} else if (typeof window !== 'undefined') {\n root = window;\n} else if (typeof global !== 'undefined') {\n root = global;\n} else if (typeof module !== 'undefined') {\n root = module;\n} else {\n root = Function('return this')();\n}\n\nvar result = ponyfill(root);\nexport default result;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./button-ng.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./code.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./error-bubble.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./tabs.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","var ITERATOR = require('./_wks')('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n","// 7.2.8 IsRegExp(argument)\nvar isObject = require('./_is-object');\nvar cof = require('./_cof');\nvar MATCH = require('./_wks')('match');\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n","'use strict';\nvar at = require('./_string-at')(true);\n\n // `AdvanceStringIndex` abstract operation\n// https://tc39.github.io/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? at(S, index).length : 1);\n};\n","'use strict';\n\nvar regexpFlags = require('./_flags');\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar LAST_INDEX = 'lastIndex';\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/,\n re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;\n})();\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;\n\nif (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];\n\n match = nativeExec.call(re, str);\n\n if (UPDATES_LAST_INDEX_WRONG && match) {\n re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n // eslint-disable-next-line no-loop-func\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar global = require('./_global');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar redefineAll = require('./_redefine-all');\nvar meta = require('./_meta');\nvar forOf = require('./_for-of');\nvar anInstance = require('./_an-instance');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar $iterDetect = require('./_iter-detect');\nvar setToStringTag = require('./_set-to-string-tag');\nvar inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME];\n var C = Base;\n var ADDER = IS_MAP ? 'set' : 'add';\n var proto = C && C.prototype;\n var O = {};\n var fixMethod = function (KEY) {\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function (a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a) {\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a) {\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n new C().entries().next();\n }))) {\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if (!ACCEPT_ITERABLES) {\n C = wrapper(function (target, iterable) {\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base(), target, C);\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n // weak collections should not contains .clear method\n if (IS_WEAK && proto.clear) delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n","'use strict';\nvar strong = require('./_collection-strong');\nvar validate = require('./_validate-collection');\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = require('./_collection')(MAP, function (get) {\n return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key) {\n var entry = strong.getEntry(validate(this, MAP), key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value) {\n return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n }\n}, strong, true);\n","'use strict';\nvar global = require('./_global');\nvar dP = require('./_object-dp');\nvar DESCRIPTORS = require('./_descriptors');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (KEY) {\n var C = global[KEY];\n if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n};\n","// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = require('./_an-object');\nvar aFunction = require('./_a-function');\nvar SPECIES = require('./_wks')('species');\nmodule.exports = function (O, D) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.close_ab8:hover {\\n color: #ff008c;\\n color: var(--ring-link-hover-color);\\n }}\\n\\n.alert_84a {\\n position: relative;\\n\\n display: flex;\\n align-items: baseline;\\n\\n box-sizing: border-box;\\n min-height: 40px;\\n margin: 8px auto;\\n padding: 0 16px;\\n\\n transition:\\n transform 300ms ease-out,\\n margin-bottom 300ms ease-out,\\n opacity 300ms ease-out;\\n white-space: nowrap;\\n pointer-events: auto;\\n\\n border-radius: 3px;\\n\\n border-radius: var(--ring-border-radius);\\n background-color: #111314;\\n background-color: var(--ring-message-background-color);\\n box-shadow: 0 2px 16px rgba(0, 42, 76, 0.15);\\n box-shadow: 0 2px 16px var(--ring-popup-shadow-color);\\n\\n font-size: 13px;\\n\\n font-size: var(--ring-font-size);\\n line-height: 40px;\\n}\\n\\n.alertInline_b5a {\\n margin: 8px;\\n}\\n\\n.error_4c9 {\\n word-wrap: break-word;\\n\\n color: #c22731;\\n\\n color: var(--ring-error-color);\\n}\\n\\n.icon_1a3 {\\n margin-right: 8px;\\n}\\n\\n.caption_b0a {\\n overflow: hidden;\\n\\n max-width: calc(100% - 40px);\\n\\n margin: 12px 40px 12px 0;\\n\\n white-space: normal;\\n\\n color: #fff;\\n\\n color: var(--ring-dark-text-color);\\n\\n line-height: 20px\\n}\\n\\n.caption_b0a .ring-link,\\n \\n .caption_b0a .link_66c {\\n color: #008eff;\\n color: var(--ring-main-color);\\n }\\n\\n.badge_2a3 {\\n margin-left: 8px;\\n\\n vertical-align: baseline;\\n}\\n\\n.loader_a6d {\\n top: 2px;\\n\\n margin-right: 8px;\\n}\\n\\n.close_ab8 {\\n position: absolute;\\n top: 2px;\\n right: 0;\\n\\n margin: 4px;\\n padding: 8px;\\n\\n cursor: pointer;\\n\\n color: #888;\\n\\n color: var(--ring-dark-secondary-color);\\n border: none;\\n background: transparent;\\n\\n font-size: 0;\\n line-height: 0\\n}\\n\\n.close_ab8:focus {\\n color: #ff008c;\\n color: var(--ring-link-hover-color);\\n }\\n\\n@-webkit-keyframes show_a16 {\\n from {\\n transform: translateY(100%);\\n\\n opacity: 0;\\n }\\n\\n to {\\n transform: translateY(0);\\n\\n opacity: 1;\\n }\\n}\\n\\n@keyframes show_a16 {\\n from {\\n transform: translateY(100%);\\n\\n opacity: 0;\\n }\\n\\n to {\\n transform: translateY(0);\\n\\n opacity: 1;\\n }\\n}\\n\\n@-webkit-keyframes shaking_5d8 {\\n 10%,\\n 90% {\\n transform: translateX(-1px);\\n }\\n\\n 20%,\\n 80% {\\n transform: translateX(2px);\\n }\\n\\n 30%,\\n 50%,\\n 70% {\\n transform: translateX(-4px);\\n }\\n\\n 40%,\\n 60% {\\n transform: translateX(4px);\\n }\\n}\\n\\n@keyframes shaking_5d8 {\\n 10%,\\n 90% {\\n transform: translateX(-1px);\\n }\\n\\n 20%,\\n 80% {\\n transform: translateX(2px);\\n }\\n\\n 30%,\\n 50%,\\n 70% {\\n transform: translateX(-4px);\\n }\\n\\n 40%,\\n 60% {\\n transform: translateX(4px);\\n }\\n}\\n\\n.animationOpen_93d {\\n -webkit-animation-name: show_a16;\\n animation-name: show_a16;\\n -webkit-animation-duration: 300ms;\\n animation-duration: 300ms;\\n}\\n\\n.animationClosing_fdb {\\n z-index: -1;\\n z-index: var(--ring-invisible-element-z-index);\\n\\n opacity: 0;\\n}\\n\\n.animationShaking_6b8 {\\n -webkit-animation-name: shaking_5d8;\\n animation-name: shaking_5d8;\\n -webkit-animation-duration: 500ms;\\n animation-duration: 500ms;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"animation-duration\": \"300ms\",\n\t\"animation-easing\": \"ease-out\",\n\t\"close\": \"close_ab8\",\n\t\"alert\": \"alert_84a\",\n\t\"alertInline\": \"alertInline_b5a\",\n\t\"error\": \"error_4c9\",\n\t\"icon\": \"icon_1a3\",\n\t\"caption\": \"caption_b0a\",\n\t\"link\": \"link_66c\",\n\t\"badge\": \"badge_2a3\",\n\t\"loader\": \"loader_a6d\",\n\t\"animationOpen\": \"animationOpen_93d\",\n\t\"show\": \"show_a16\",\n\t\"animationClosing\": \"animationClosing_fdb\",\n\t\"animationShaking\": \"animationShaking_6b8\",\n\t\"shaking\": \"shaking_5d8\"\n};\nmodule.exports = exports;\n","var $export = require('./_export');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n var S = String(defined(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '&quot;') + '\"';\n return p1 + '>' + S + '</' + tag + '>';\n};\nmodule.exports = function (NAME, exec) {\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function () {\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n","// 20.3.3.1 / 15.9.4.4 Date.now()\nvar $export = require('./_export');\n\n$export($export.S, 'Date', { now: function () { return new Date().getTime(); } });\n","// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = require('./_export');\nvar gOPD = require('./_object-gopd').f;\nvar anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var desc = gOPD(anObject(target), propertyKey);\n return desc && !desc.configurable ? false : delete target[propertyKey];\n }\n});\n","'use strict';\n\nvar slice = Array.prototype.slice;\nvar isArgs = require('./isArguments');\n\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) { return origKeys(o); } : require('./implementation');\n\nvar originalKeys = Object.keys;\n\nkeysShim.shim = function shimObjectKeys() {\n\tif (Object.keys) {\n\t\tvar keysWorksWithArguments = (function () {\n\t\t\t// Safari 5.0 bug\n\t\t\tvar args = Object.keys(arguments);\n\t\t\treturn args && args.length === arguments.length;\n\t\t}(1, 2));\n\t\tif (!keysWorksWithArguments) {\n\t\t\tObject.keys = function keys(object) { // eslint-disable-line func-name-matching\n\t\t\t\tif (isArgs(object)) {\n\t\t\t\t\treturn originalKeys(slice.call(object));\n\t\t\t\t}\n\t\t\t\treturn originalKeys(object);\n\t\t\t};\n\t\t}\n\t} else {\n\t\tObject.keys = keysShim;\n\t}\n\treturn Object.keys || keysShim;\n};\n\nmodule.exports = keysShim;\n","'use strict';\n\nvar bind = require('function-bind');\n\nvar GetIntrinsic = require('../GetIntrinsic');\n\nvar $Function = GetIntrinsic('%Function%');\nvar $apply = $Function.apply;\nvar $call = $Function.call;\n\nmodule.exports = function callBind() {\n\treturn bind.apply($call, arguments);\n};\n\nmodule.exports.apply = function applyBind() {\n\treturn bind.apply($apply, arguments);\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * determines if the keycode specified is a modifier key or not\n *\n * @param {string} key\n * @returns {boolean}\n */\nmodule.exports = function (key) {\n return key === 'shift' || key === 'ctrl' || key === 'alt' || key === 'meta'\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".buttonToolbar_956 {\\n display: inline-block;\\n\\n white-space: nowrap;\\n\\n font-size: 0;\\n}\\n\\n.buttonToolbar_956 > button,\\n.buttonToolbar_956 > .ring-button-group,\\n.buttonToolbar_956 > .button_850,\\n.buttonToolbar_956 > .buttonGroup_506,\\n.buttonToolbar_956 > .buttonToolbar_956 {\\n margin-right: 8px;\\n}\\n\\n.buttonToolbar_956 > :last-child {\\n margin-right: 0;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"buttonToolbar\": \"buttonToolbar_956\",\n\t\"button\": \"button_850\",\n\t\"buttonGroup\": \"buttonGroup_506\"\n};\nmodule.exports = exports;\n","'use strict';\n// B.2.3.2 String.prototype.anchor(name)\nrequire('./_string-html')('anchor', function (createHTML) {\n return function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n };\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","exports.f = Object.getOwnPropertySymbols;\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","exports.f = require('./_wks');\n","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n","'use strict';\n// 25.4.1.5 NewPromiseCapability(C)\nvar aFunction = require('./_a-function');\n\nfunction PromiseCapability(C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve);\n this.reject = aFunction(reject);\n}\n\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict'\n\nvar legacy = require('character-entities-legacy')\nvar invalid = require('character-reference-invalid')\nvar decimal = require('is-decimal')\nvar hexadecimal = require('is-hexadecimal')\nvar alphanumerical = require('is-alphanumerical')\nvar decodeEntity = require('./decode-entity')\n\nmodule.exports = parseEntities\n\nvar own = {}.hasOwnProperty\nvar fromCharCode = String.fromCharCode\nvar noop = Function.prototype\n\n// Default settings.\nvar defaults = {\n warning: null,\n reference: null,\n text: null,\n warningContext: null,\n referenceContext: null,\n textContext: null,\n position: {},\n additional: null,\n attribute: false,\n nonTerminated: true\n}\n\n// Characters.\nvar tab = 9 // '\\t'\nvar lineFeed = 10 // '\\n'\nvar formFeed = 12 // '\\f'\nvar space = 32 // ' '\nvar ampersand = 38 // '&'\nvar semicolon = 59 // ';'\nvar lessThan = 60 // '<'\nvar equalsTo = 61 // '='\nvar numberSign = 35 // '#'\nvar uppercaseX = 88 // 'X'\nvar lowercaseX = 120 // 'x'\nvar replacementCharacter = 65533 // '�'\n\n// Reference types.\nvar name = 'named'\nvar hexa = 'hexadecimal'\nvar deci = 'decimal'\n\n// Map of bases.\nvar bases = {}\n\nbases[hexa] = 16\nbases[deci] = 10\n\n// Map of types to tests.\n// Each type of character reference accepts different characters.\n// This test is used to detect whether a reference has ended (as the semicolon\n// is not strictly needed).\nvar tests = {}\n\ntests[name] = alphanumerical\ntests[deci] = decimal\ntests[hexa] = hexadecimal\n\n// Warning types.\nvar namedNotTerminated = 1\nvar numericNotTerminated = 2\nvar namedEmpty = 3\nvar numericEmpty = 4\nvar namedUnknown = 5\nvar numericDisallowed = 6\nvar numericProhibited = 7\n\n// Warning messages.\nvar messages = {}\n\nmessages[namedNotTerminated] =\n 'Named character references must be terminated by a semicolon'\nmessages[numericNotTerminated] =\n 'Numeric character references must be terminated by a semicolon'\nmessages[namedEmpty] = 'Named character references cannot be empty'\nmessages[numericEmpty] = 'Numeric character references cannot be empty'\nmessages[namedUnknown] = 'Named character references must be known'\nmessages[numericDisallowed] =\n 'Numeric character references cannot be disallowed'\nmessages[numericProhibited] =\n 'Numeric character references cannot be outside the permissible Unicode range'\n\n// Wrap to ensure clean parameters are given to `parse`.\nfunction parseEntities(value, options) {\n var settings = {}\n var option\n var key\n\n if (!options) {\n options = {}\n }\n\n for (key in defaults) {\n option = options[key]\n settings[key] =\n option === null || option === undefined ? defaults[key] : option\n }\n\n if (settings.position.indent || settings.position.start) {\n settings.indent = settings.position.indent || []\n settings.position = settings.position.start\n }\n\n return parse(value, settings)\n}\n\n// Parse entities.\n// eslint-disable-next-line complexity\nfunction parse(value, settings) {\n var additional = settings.additional\n var nonTerminated = settings.nonTerminated\n var handleText = settings.text\n var handleReference = settings.reference\n var handleWarning = settings.warning\n var textContext = settings.textContext\n var referenceContext = settings.referenceContext\n var warningContext = settings.warningContext\n var pos = settings.position\n var indent = settings.indent || []\n var length = value.length\n var index = 0\n var lines = -1\n var column = pos.column || 1\n var line = pos.line || 1\n var queue = ''\n var result = []\n var entityCharacters\n var namedEntity\n var terminated\n var characters\n var character\n var reference\n var following\n var warning\n var reason\n var output\n var entity\n var begin\n var start\n var type\n var test\n var prev\n var next\n var diff\n var end\n\n if (typeof additional === 'string') {\n additional = additional.charCodeAt(0)\n }\n\n // Cache the current point.\n prev = now()\n\n // Wrap `handleWarning`.\n warning = handleWarning ? parseError : noop\n\n // Ensure the algorithm walks over the first character and the end (inclusive).\n index--\n length++\n\n while (++index < length) {\n // If the previous character was a newline.\n if (character === lineFeed) {\n column = indent[lines] || 1\n }\n\n character = value.charCodeAt(index)\n\n if (character === ampersand) {\n following = value.charCodeAt(index + 1)\n\n // The behaviour depends on the identity of the next character.\n if (\n following === tab ||\n following === lineFeed ||\n following === formFeed ||\n following === space ||\n following === ampersand ||\n following === lessThan ||\n following !== following ||\n (additional && following === additional)\n ) {\n // Not a character reference.\n // No characters are consumed, and nothing is returned.\n // This is not an error, either.\n queue += fromCharCode(character)\n column++\n\n continue\n }\n\n start = index + 1\n begin = start\n end = start\n\n if (following === numberSign) {\n // Numerical entity.\n end = ++begin\n\n // The behaviour further depends on the next character.\n following = value.charCodeAt(end)\n\n if (following === uppercaseX || following === lowercaseX) {\n // ASCII hex digits.\n type = hexa\n end = ++begin\n } else {\n // ASCII digits.\n type = deci\n }\n } else {\n // Named entity.\n type = name\n }\n\n entityCharacters = ''\n entity = ''\n characters = ''\n test = tests[type]\n end--\n\n while (++end < length) {\n following = value.charCodeAt(end)\n\n if (!test(following)) {\n break\n }\n\n characters += fromCharCode(following)\n\n // Check if we can match a legacy named reference.\n // If so, we cache that as the last viable named reference.\n // This ensures we do not need to walk backwards later.\n if (type === name && own.call(legacy, characters)) {\n entityCharacters = characters\n entity = legacy[characters]\n }\n }\n\n terminated = value.charCodeAt(end) === semicolon\n\n if (terminated) {\n end++\n\n namedEntity = type === name ? decodeEntity(characters) : false\n\n if (namedEntity) {\n entityCharacters = characters\n entity = namedEntity\n }\n }\n\n diff = 1 + end - start\n\n if (!terminated && !nonTerminated) {\n // Empty.\n } else if (!characters) {\n // An empty (possible) entity is valid, unless it’s numeric (thus an\n // ampersand followed by an octothorp).\n if (type !== name) {\n warning(numericEmpty, diff)\n }\n } else if (type === name) {\n // An ampersand followed by anything unknown, and not terminated, is\n // invalid.\n if (terminated && !entity) {\n warning(namedUnknown, 1)\n } else {\n // If theres something after an entity name which is not known, cap\n // the reference.\n if (entityCharacters !== characters) {\n end = begin + entityCharacters.length\n diff = 1 + end - begin\n terminated = false\n }\n\n // If the reference is not terminated, warn.\n if (!terminated) {\n reason = entityCharacters ? namedNotTerminated : namedEmpty\n\n if (settings.attribute) {\n following = value.charCodeAt(end)\n\n if (following === equalsTo) {\n warning(reason, diff)\n entity = null\n } else if (alphanumerical(following)) {\n entity = null\n } else {\n warning(reason, diff)\n }\n } else {\n warning(reason, diff)\n }\n }\n }\n\n reference = entity\n } else {\n if (!terminated) {\n // All non-terminated numeric entities are not rendered, and trigger a\n // warning.\n warning(numericNotTerminated, diff)\n }\n\n // When terminated and number, parse as either hexadecimal or decimal.\n reference = parseInt(characters, bases[type])\n\n // Trigger a warning when the parsed number is prohibited, and replace\n // with replacement character.\n if (prohibited(reference)) {\n warning(numericProhibited, diff)\n reference = fromCharCode(replacementCharacter)\n } else if (reference in invalid) {\n // Trigger a warning when the parsed number is disallowed, and replace\n // by an alternative.\n warning(numericDisallowed, diff)\n reference = invalid[reference]\n } else {\n // Parse the number.\n output = ''\n\n // Trigger a warning when the parsed number should not be used.\n if (disallowed(reference)) {\n warning(numericDisallowed, diff)\n }\n\n // Stringify the number.\n if (reference > 0xffff) {\n reference -= 0x10000\n output += fromCharCode((reference >>> (10 & 0x3ff)) | 0xd800)\n reference = 0xdc00 | (reference & 0x3ff)\n }\n\n reference = output + fromCharCode(reference)\n }\n }\n\n // Found it!\n // First eat the queued characters as normal text, then eat an entity.\n if (reference) {\n flush()\n\n prev = now()\n index = end - 1\n column += end - start + 1\n result.push(reference)\n next = now()\n next.offset++\n\n if (handleReference) {\n handleReference.call(\n referenceContext,\n reference,\n {start: prev, end: next},\n value.slice(start - 1, end)\n )\n }\n\n prev = next\n } else {\n // If we could not find a reference, queue the checked characters (as\n // normal characters), and move the pointer to their end.\n // This is possible because we can be certain neither newlines nor\n // ampersands are included.\n characters = value.slice(start - 1, end)\n queue += characters\n column += characters.length\n index = end - 1\n }\n } else {\n // Handle anything other than an ampersand, including newlines and EOF.\n if (\n character === 10 // Line feed\n ) {\n line++\n lines++\n column = 0\n }\n\n if (character === character) {\n queue += fromCharCode(character)\n column++\n } else {\n flush()\n }\n }\n }\n\n // Return the reduced nodes, and any possible warnings.\n return result.join('')\n\n // Get current position.\n function now() {\n return {\n line: line,\n column: column,\n offset: index + (pos.offset || 0)\n }\n }\n\n // “Throw” a parse-error: a warning.\n function parseError(code, offset) {\n var position = now()\n\n position.column += offset\n position.offset += offset\n\n handleWarning.call(warningContext, messages[code], position, code)\n }\n\n // Flush `queue` (normal text).\n // Macro invoked before each entity and at the end of `value`.\n // Does nothing when `queue` is empty.\n function flush() {\n if (queue) {\n result.push(queue)\n\n if (handleText) {\n handleText.call(textContext, queue, {start: prev, end: now()})\n }\n\n queue = ''\n }\n }\n}\n\n// Check if `character` is outside the permissible unicode range.\nfunction prohibited(code) {\n return (code >= 0xd800 && code <= 0xdfff) || code > 0x10ffff\n}\n\n// Check if `character` is disallowed.\nfunction disallowed(code) {\n return (\n (code >= 0x0001 && code <= 0x0008) ||\n code === 0x000b ||\n (code >= 0x000d && code <= 0x001f) ||\n (code >= 0x007f && code <= 0x009f) ||\n (code >= 0xfdd0 && code <= 0xfdef) ||\n (code & 0xffff) === 0xffff ||\n (code & 0xffff) === 0xfffe\n )\n}\n","/*!\n * repeat-string <https://github.com/jonschlinkert/repeat-string>\n *\n * Copyright (c) 2014-2015, Jon Schlinkert.\n * Licensed under the MIT License.\n */\n\n'use strict';\n\n/**\n * Results cache\n */\n\nvar res = '';\nvar cache;\n\n/**\n * Expose `repeat`\n */\n\nmodule.exports = repeat;\n\n/**\n * Repeat the given `string` the specified `number`\n * of times.\n *\n * **Example:**\n *\n * ```js\n * var repeat = require('repeat-string');\n * repeat('A', 5);\n * //=> AAAAA\n * ```\n *\n * @param {String} `string` The string to repeat\n * @param {Number} `number` The number of times to repeat the string\n * @return {String} Repeated string\n * @api public\n */\n\nfunction repeat(str, num) {\n if (typeof str !== 'string') {\n throw new TypeError('expected a string');\n }\n\n // cover common, quick use cases\n if (num === 1) return str;\n if (num === 2) return str + str;\n\n var max = str.length * num;\n if (cache !== str || typeof cache === 'undefined') {\n cache = str;\n res = '';\n } else if (res.length >= max) {\n return res.substr(0, max);\n }\n\n while (max > res.length && num > 1) {\n if (num & 1) {\n res += str;\n }\n\n num >>= 1;\n str += str;\n }\n\n res += str;\n res = res.substr(0, max);\n return res;\n}\n","'use strict'\n\nmodule.exports = trimTrailingLines\n\nvar line = '\\n'\n\n// Remove final newline characters from `value`.\nfunction trimTrailingLines(value) {\n var val = String(value)\n var index = val.length\n\n while (val.charAt(--index) === line) {\n // Empty\n }\n\n return val.slice(0, index + 1)\n}\n","'use strict';\n\nmodule.exports = interrupt;\n\nfunction interrupt(interruptors, tokenizers, ctx, params) {\n var bools = ['pedantic', 'commonmark'];\n var count = bools.length;\n var length = interruptors.length;\n var index = -1;\n var interruptor;\n var config;\n var fn;\n var offset;\n var bool;\n var ignore;\n\n while (++index < length) {\n interruptor = interruptors[index];\n config = interruptor[1] || {};\n fn = interruptor[0];\n offset = -1;\n ignore = false;\n\n while (++offset < count) {\n bool = bools[offset];\n\n if (config[bool] !== undefined && config[bool] !== ctx.options[bool]) {\n ignore = true;\n break;\n }\n }\n\n if (ignore) {\n continue;\n }\n\n if (tokenizers[fn].apply(ctx, params)) {\n return true;\n }\n }\n\n return false;\n}\n","'use strict';\n\nvar collapseWhiteSpace = require('collapse-white-space');\n\nmodule.exports = normalize;\n\n/* Normalize an identifier. Collapses multiple white space\n * characters into a single space, and removes casing. */\nfunction normalize(value) {\n return collapseWhiteSpace(value).toLowerCase();\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./highlight.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-dom-server.browser.production.min.js');\n} else {\n module.exports = require('./cjs/react-dom-server.browser.development.js');\n}\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar createChangeEmitter = exports.createChangeEmitter = function createChangeEmitter() {\n var currentListeners = [];\n var nextListeners = currentListeners;\n\n function ensureCanMutateNextListeners() {\n if (nextListeners === currentListeners) {\n nextListeners = currentListeners.slice();\n }\n }\n\n function listen(listener) {\n if (typeof listener !== 'function') {\n throw new Error('Expected listener to be a function.');\n }\n\n var isSubscribed = true;\n\n ensureCanMutateNextListeners();\n nextListeners.push(listener);\n\n return function () {\n if (!isSubscribed) {\n return;\n }\n\n isSubscribed = false;\n\n ensureCanMutateNextListeners();\n var index = nextListeners.indexOf(listener);\n nextListeners.splice(index, 1);\n };\n }\n\n function emit() {\n currentListeners = nextListeners;\n var listeners = currentListeners;\n for (var i = 0; i < listeners.length; i++) {\n listeners[i].apply(listeners, arguments);\n }\n }\n\n return {\n listen: listen,\n emit: emit\n };\n};","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./container.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./down-notification.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var CAN_USE_DOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n// Adapted from Modernizr\n// https://github.com/Modernizr/Modernizr/blob/acb3f0d9/feature-detects/dom/passiveeventlisteners.js#L26-L37\nfunction testPassiveEventListeners() {\n if (!CAN_USE_DOM) {\n return false;\n }\n\n if (!window.addEventListener || !window.removeEventListener || !Object.defineProperty) {\n return false;\n }\n\n var supportsPassiveOption = false;\n try {\n var opts = Object.defineProperty({}, 'passive', {\n // eslint-disable-next-line getter-return\n get: function () {\n function get() {\n supportsPassiveOption = true;\n }\n\n return get;\n }()\n });\n var noop = function noop() {};\n window.addEventListener('testPassiveEventSupport', noop, opts);\n window.removeEventListener('testPassiveEventSupport', noop, opts);\n } catch (e) {\n // do nothing\n }\n\n return supportsPassiveOption;\n}\n\nvar memoized = void 0;\n\nfunction canUsePassiveEventListeners() {\n if (memoized === undefined) {\n memoized = testPassiveEventListeners();\n }\n return memoized;\n}\n\nfunction normalizeEventOptions(eventOptions) {\n if (!eventOptions) {\n return undefined;\n }\n\n if (!canUsePassiveEventListeners()) {\n // If the browser does not support the passive option, then it is expecting\n // a boolean for the options argument to specify whether it should use\n // capture or not. In more modern browsers, this is passed via the `capture`\n // option, so let's just hoist that value up.\n return !!eventOptions.capture;\n }\n\n return eventOptions;\n}\n\n/* eslint-disable no-bitwise */\n\n/**\n * Generate a unique key for any set of event options\n */\nfunction eventOptionsKey(normalizedEventOptions) {\n if (!normalizedEventOptions) {\n return 0;\n }\n\n // If the browser does not support passive event listeners, the normalized\n // event options will be a boolean.\n if (normalizedEventOptions === true) {\n return 100;\n }\n\n // At this point, the browser supports passive event listeners, so we expect\n // the event options to be an object with possible properties of capture,\n // passive, and once.\n //\n // We want to consistently return the same value, regardless of the order of\n // these properties, so let's use binary maths to assign each property to a\n // bit, and then add those together (with an offset to account for the\n // booleans at the beginning of this function).\n var capture = normalizedEventOptions.capture << 0;\n var passive = normalizedEventOptions.passive << 1;\n var once = normalizedEventOptions.once << 2;\n return capture + passive + once;\n}\n\nfunction ensureCanMutateNextEventHandlers(eventHandlers) {\n if (eventHandlers.handlers === eventHandlers.nextHandlers) {\n // eslint-disable-next-line no-param-reassign\n eventHandlers.nextHandlers = eventHandlers.handlers.slice();\n }\n}\n\nfunction TargetEventHandlers(target) {\n this.target = target;\n this.events = {};\n}\n\nTargetEventHandlers.prototype.getEventHandlers = function () {\n function getEventHandlers(eventName, options) {\n var key = String(eventName) + ' ' + String(eventOptionsKey(options));\n\n if (!this.events[key]) {\n this.events[key] = {\n handlers: [],\n handleEvent: undefined\n };\n this.events[key].nextHandlers = this.events[key].handlers;\n }\n\n return this.events[key];\n }\n\n return getEventHandlers;\n}();\n\nTargetEventHandlers.prototype.handleEvent = function () {\n function handleEvent(eventName, options, event) {\n var eventHandlers = this.getEventHandlers(eventName, options);\n eventHandlers.handlers = eventHandlers.nextHandlers;\n eventHandlers.handlers.forEach(function (handler) {\n if (handler) {\n // We need to check for presence here because a handler function may\n // cause later handlers to get removed. This can happen if you for\n // instance have a waypoint that unmounts another waypoint as part of an\n // onEnter/onLeave handler.\n handler(event);\n }\n });\n }\n\n return handleEvent;\n}();\n\nTargetEventHandlers.prototype.add = function () {\n function add(eventName, listener, options) {\n var _this = this;\n\n // options has already been normalized at this point.\n var eventHandlers = this.getEventHandlers(eventName, options);\n\n ensureCanMutateNextEventHandlers(eventHandlers);\n\n if (eventHandlers.nextHandlers.length === 0) {\n eventHandlers.handleEvent = this.handleEvent.bind(this, eventName, options);\n\n this.target.addEventListener(eventName, eventHandlers.handleEvent, options);\n }\n\n eventHandlers.nextHandlers.push(listener);\n\n var isSubscribed = true;\n var unsubscribe = function () {\n function unsubscribe() {\n if (!isSubscribed) {\n return;\n }\n\n isSubscribed = false;\n\n ensureCanMutateNextEventHandlers(eventHandlers);\n var index = eventHandlers.nextHandlers.indexOf(listener);\n eventHandlers.nextHandlers.splice(index, 1);\n\n if (eventHandlers.nextHandlers.length === 0) {\n // All event handlers have been removed, so we want to remove the event\n // listener from the target node.\n\n if (_this.target) {\n // There can be a race condition where the target may no longer exist\n // when this function is called, e.g. when a React component is\n // unmounting. Guarding against this prevents the following error:\n //\n // Cannot read property 'removeEventListener' of undefined\n _this.target.removeEventListener(eventName, eventHandlers.handleEvent, options);\n }\n\n eventHandlers.handleEvent = undefined;\n }\n }\n\n return unsubscribe;\n }();\n return unsubscribe;\n }\n\n return add;\n}();\n\nvar EVENT_HANDLERS_KEY = '__consolidated_events_handlers__';\n\n// eslint-disable-next-line import/prefer-default-export\nfunction addEventListener(target, eventName, listener, options) {\n if (!target[EVENT_HANDLERS_KEY]) {\n // eslint-disable-next-line no-param-reassign\n target[EVENT_HANDLERS_KEY] = new TargetEventHandlers(target);\n }\n var normalizedEventOptions = normalizeEventOptions(options);\n return target[EVENT_HANDLERS_KEY].add(eventName, listener, normalizedEventOptions);\n}\n\nexport { addEventListener };\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./text.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","module.exports = { \"default\": require(\"core-js/library/fn/object/keys\"), __esModule: true };","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./heading.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./markdown.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./input-ng.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar toIObject = require('./_to-iobject');\nvar isEnum = require('./_object-pie').f;\nmodule.exports = function (isEntries) {\n return function (it) {\n var O = toIObject(it);\n var keys = getKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || isEnum.call(O, key)) {\n result.push(isEntries ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n","exports.f = require('./_wks');\n","'use strict';\nvar aFunction = require('./_a-function');\nvar isObject = require('./_is-object');\nvar invoke = require('./_invoke');\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (F, len, args) {\n if (!(len in factories)) {\n for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func\n factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = arraySlice.call(arguments, 1);\n var bound = function (/* args... */) {\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n };\n if (isObject(fn.prototype)) bound.prototype = fn.prototype;\n return bound;\n};\n","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n var un = that === undefined;\n switch (args.length) {\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n","// check on default Array iterator\nvar Iterators = require('./_iterators');\nvar ITERATOR = require('./_wks')('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n","'use strict';\nvar $defineProperty = require('./_object-dp');\nvar createDesc = require('./_property-desc');\n\nmodule.exports = function (object, index, value) {\n if (index in object) $defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = require('./_is-regexp');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, searchString, NAME) {\n if (isRegExp(searchString)) throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n return String(defined(that));\n};\n","var MATCH = require('./_wks')('match');\nmodule.exports = function (KEY) {\n var re = /./;\n try {\n '/./'[KEY](re);\n } catch (e) {\n try {\n re[MATCH] = false;\n return !'/./'[KEY](re);\n } catch (f) { /* empty */ }\n } return true;\n};\n","'use strict';\nvar global = require('./_global');\nvar each = require('./_array-methods')(0);\nvar redefine = require('./_redefine');\nvar meta = require('./_meta');\nvar assign = require('./_object-assign');\nvar weak = require('./_collection-weak');\nvar isObject = require('./_is-object');\nvar validate = require('./_validate-collection');\nvar NATIVE_WEAK_MAP = require('./_validate-collection');\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar WEAK_MAP = 'WeakMap';\nvar getWeak = meta.getWeak;\nvar isExtensible = Object.isExtensible;\nvar uncaughtFrozenStore = weak.ufstore;\nvar InternalMap;\n\nvar wrapper = function (get) {\n return function WeakMap() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n};\n\nvar methods = {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key) {\n if (isObject(key)) {\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);\n return data ? data[this._i] : undefined;\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value) {\n return weak.def(validate(this, WEAK_MAP), key, value);\n }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = require('./_collection')(WEAK_MAP, wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif (NATIVE_WEAK_MAP && IS_IE11) {\n InternalMap = weak.getConstructor(wrapper, WEAK_MAP);\n assign(InternalMap.prototype, methods);\n meta.NEED = true;\n each(['delete', 'has', 'get', 'set'], function (key) {\n var proto = $WeakMap.prototype;\n var method = proto[key];\n redefine(proto, key, function (a, b) {\n // store frozen objects on internal weakmap shim\n if (isObject(a) && !isExtensible(a)) {\n if (!this._f) this._f = new InternalMap();\n var result = this._f[key](a, b);\n return key == 'set' ? this : result;\n // store all the rest on native weakmap\n } return method.call(this, a, b);\n });\n });\n}\n","'use strict';\nvar dP = require('./_object-dp').f;\nvar create = require('./_object-create');\nvar redefineAll = require('./_redefine-all');\nvar ctx = require('./_ctx');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar $iterDefine = require('./_iter-define');\nvar step = require('./_iter-step');\nvar setSpecies = require('./_set-species');\nvar DESCRIPTORS = require('./_descriptors');\nvar fastKey = require('./_meta').fastKey;\nvar validate = require('./_validate-collection');\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return that._i[index];\n // frozen object case\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key) return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear() {\n for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p) entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function (key) {\n var that = validate(this, NAME);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.n;\n var prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev) prev.n = next;\n if (next) next.p = prev;\n if (that._f == entry) that._f = next;\n if (that._l == entry) that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /* , that = undefined */) {\n validate(this, NAME);\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n var entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key) {\n return !!getEntry(validate(this, NAME), key);\n }\n });\n if (DESCRIPTORS) dP(C.prototype, 'size', {\n get: function () {\n return validate(this, NAME)[SIZE];\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var entry = getEntry(that, key);\n var prev, index;\n // change existing entry\n if (entry) {\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if (!that._f) that._f = entry;\n if (prev) prev.n = entry;\n that[SIZE]++;\n // add to index\n if (index !== 'F') that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function (C, NAME, IS_MAP) {\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function (iterated, kind) {\n this._t = validate(iterated, NAME); // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function () {\n var that = this;\n var kind = that._k;\n var entry = that._l;\n // revert to the last existing entry\n while (entry && entry.r) entry = entry.p;\n // get next entry\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if (kind == 'keys') return step(0, entry.k);\n if (kind == 'values') return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n","var ctx = require('./_ctx');\nvar invoke = require('./_invoke');\nvar html = require('./_html');\nvar cel = require('./_dom-create');\nvar global = require('./_global');\nvar process = global.process;\nvar setTask = global.setImmediate;\nvar clearTask = global.clearImmediate;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\nvar run = function () {\n var id = +this;\n // eslint-disable-next-line no-prototype-builtins\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\nvar listener = function (event) {\n run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!setTask || !clearTask) {\n setTask = function setImmediate(fn) {\n var args = [];\n var i = 1;\n while (arguments.length > i) args.push(arguments[i++]);\n queue[++counter] = function () {\n // eslint-disable-next-line no-new-func\n invoke(typeof fn == 'function' ? fn : Function(fn), args);\n };\n defer(counter);\n return counter;\n };\n clearTask = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (require('./_cof')(process) == 'process') {\n defer = function (id) {\n process.nextTick(ctx(run, id, 1));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(ctx(run, id, 1));\n };\n // Browsers with MessageChannel, includes WebWorkers\n } else if (MessageChannel) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = ctx(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n defer = function (id) {\n global.postMessage(id + '', '*');\n };\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in cel('script')) {\n defer = function (id) {\n html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run.call(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(ctx(run, id, 1), 0);\n };\n }\n}\nmodule.exports = {\n set: setTask,\n clear: clearTask\n};\n","'use strict';\n// 25.4.1.5 NewPromiseCapability(C)\nvar aFunction = require('./_a-function');\n\nfunction PromiseCapability(C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve);\n this.reject = aFunction(reject);\n}\n\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","var anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar newPromiseCapability = require('./_new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","'use strict';\n\nvar anObject = require('./_an-object');\nvar sameValue = require('./_same-value');\nvar regExpExec = require('./_regexp-exec-abstract');\n\n// @@search logic\nrequire('./_fix-re-wks')('search', 1, function (defined, SEARCH, $search, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[SEARCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search\n function (regexp) {\n var res = maybeCallNative($search, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","'use strict';\n\nvar toStr = Object.prototype.toString;\n\nmodule.exports = function isArguments(value) {\n\tvar str = toStr.call(value);\n\tvar isArgs = str === '[object Arguments]';\n\tif (!isArgs) {\n\t\tisArgs = str !== '[object Array]' &&\n\t\t\tvalue !== null &&\n\t\t\ttypeof value === 'object' &&\n\t\t\ttypeof value.length === 'number' &&\n\t\t\tvalue.length >= 0 &&\n\t\t\ttoStr.call(value.callee) === '[object Function]';\n\t}\n\treturn isArgs;\n};\n","'use strict';\n\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\nvar toStr = Object.prototype.toString;\n\nvar isStandardArguments = function isArguments(value) {\n\tif (hasToStringTag && value && typeof value === 'object' && Symbol.toStringTag in value) {\n\t\treturn false;\n\t}\n\treturn toStr.call(value) === '[object Arguments]';\n};\n\nvar isLegacyArguments = function isArguments(value) {\n\tif (isStandardArguments(value)) {\n\t\treturn true;\n\t}\n\treturn value !== null &&\n\t\ttypeof value === 'object' &&\n\t\ttypeof value.length === 'number' &&\n\t\tvalue.length >= 0 &&\n\t\ttoStr.call(value) !== '[object Array]' &&\n\t\ttoStr.call(value.callee) === '[object Function]';\n};\n\nvar supportsStandardArguments = (function () {\n\treturn isStandardArguments(arguments);\n}());\n\nisStandardArguments.isLegacyArguments = isLegacyArguments; // for tests\n\nmodule.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;\n","'use strict';\n\nvar numberIsNaN = function (value) {\n\treturn value !== value;\n};\n\nmodule.exports = function is(a, b) {\n\tif (a === 0 && b === 0) {\n\t\treturn 1 / a === 1 / b;\n\t}\n\tif (a === b) {\n\t\treturn true;\n\t}\n\tif (numberIsNaN(a) && numberIsNaN(b)) {\n\t\treturn true;\n\t}\n\treturn false;\n};\n\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n\treturn typeof Object.is === 'function' ? Object.is : implementation;\n};\n","'use strict';\n\nvar $Object = Object;\nvar $TypeError = TypeError;\n\nmodule.exports = function flags() {\n\tif (this != null && this !== $Object(this)) {\n\t\tthrow new $TypeError('RegExp.prototype.flags getter called on non-object');\n\t}\n\tvar result = '';\n\tif (this.global) {\n\t\tresult += 'g';\n\t}\n\tif (this.ignoreCase) {\n\t\tresult += 'i';\n\t}\n\tif (this.multiline) {\n\t\tresult += 'm';\n\t}\n\tif (this.dotAll) {\n\t\tresult += 's';\n\t}\n\tif (this.unicode) {\n\t\tresult += 'u';\n\t}\n\tif (this.sticky) {\n\t\tresult += 'y';\n\t}\n\treturn result;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nvar supportsDescriptors = require('define-properties').supportsDescriptors;\nvar $gOPD = Object.getOwnPropertyDescriptor;\nvar $TypeError = TypeError;\n\nmodule.exports = function getPolyfill() {\n\tif (!supportsDescriptors) {\n\t\tthrow new $TypeError('RegExp.prototype.flags requires a true ES5 environment that supports property descriptors');\n\t}\n\tif ((/a/mig).flags === 'gim') {\n\t\tvar descriptor = $gOPD(RegExp.prototype, 'flags');\n\t\tif (descriptor && typeof descriptor.get === 'function' && typeof (/a/).dotAll === 'boolean') {\n\t\t\treturn descriptor.get;\n\t\t}\n\t}\n\treturn implementation;\n};\n","var toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n","'use strict';\n\nvar strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n\ttry {\n\t\tstrValue.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isString(value) {\n\tif (typeof value === 'string') {\n\t\treturn true;\n\t}\n\tif (typeof value !== 'object') {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n","'use strict';\n\nvar $Map = typeof Map === 'function' && Map.prototype ? Map : null;\nvar $Set = typeof Set === 'function' && Set.prototype ? Set : null;\n\nvar exported;\n\nif (!$Map) {\n\t// eslint-disable-next-line no-unused-vars\n\texported = function isMap(x) {\n\t\t// `Map` is not present in this environment.\n\t\treturn false;\n\t};\n}\n\nvar $mapHas = $Map ? Map.prototype.has : null;\nvar $setHas = $Set ? Set.prototype.has : null;\nif (!exported && !$mapHas) {\n\t// eslint-disable-next-line no-unused-vars\n\texported = function isMap(x) {\n\t\t// `Map` does not have a `has` method\n\t\treturn false;\n\t};\n}\n\nmodule.exports = exported || function isMap(x) {\n\tif (!x || typeof x !== 'object') {\n\t\treturn false;\n\t}\n\ttry {\n\t\t$mapHas.call(x);\n\t\tif ($setHas) {\n\t\t\ttry {\n\t\t\t\t$setHas.call(x);\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn x instanceof $Map; // core-js workaround, pre-v2.5.0\n\t} catch (e) {}\n\treturn false;\n};\n","'use strict';\n\nvar $Map = typeof Map === 'function' && Map.prototype ? Map : null;\nvar $Set = typeof Set === 'function' && Set.prototype ? Set : null;\n\nvar exported;\n\nif (!$Set) {\n\t// eslint-disable-next-line no-unused-vars\n\texported = function isSet(x) {\n\t\t// `Set` is not present in this environment.\n\t\treturn false;\n\t};\n}\n\nvar $mapHas = $Map ? Map.prototype.has : null;\nvar $setHas = $Set ? Set.prototype.has : null;\nif (!exported && !$setHas) {\n\t// eslint-disable-next-line no-unused-vars\n\texported = function isSet(x) {\n\t\t// `Set` does not have a `has` method\n\t\treturn false;\n\t};\n}\n\nmodule.exports = exported || function isSet(x) {\n\tif (!x || typeof x !== 'object') {\n\t\treturn false;\n\t}\n\ttry {\n\t\t$setHas.call(x);\n\t\tif ($mapHas) {\n\t\t\ttry {\n\t\t\t\t$mapHas.call(x);\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn x instanceof $Set; // core-js workaround, pre-v2.5.0\n\t} catch (e) {}\n\treturn false;\n};\n","\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar toString = Object.prototype.toString;\n\nmodule.exports = function forEach (obj, fn, ctx) {\n if (toString.call(fn) !== '[object Function]') {\n throw new TypeError('iterator must be a function');\n }\n var l = obj.length;\n if (l === +l) {\n for (var i = 0; i < l; i++) {\n fn.call(ctx, obj[i], i, obj);\n }\n } else {\n for (var k in obj) {\n if (hasOwn.call(obj, k)) {\n fn.call(ctx, obj[k], k, obj);\n }\n }\n }\n};\n\n","'use strict';\n\nvar filter = require('array-filter');\n\nmodule.exports = function availableTypedArrays() {\n\treturn filter([\n\t\t'BigInt64Array',\n\t\t'BigUint64Array',\n\t\t'Float32Array',\n\t\t'Float64Array',\n\t\t'Int16Array',\n\t\t'Int32Array',\n\t\t'Int8Array',\n\t\t'Uint16Array',\n\t\t'Uint32Array',\n\t\t'Uint8Array',\n\t\t'Uint8ClampedArray'\n\t], function (typedArray) {\n\t\treturn typeof global[typedArray] === 'function';\n\t});\n};\n","'use strict';\n\nvar GetIntrinsic = require('../GetIntrinsic');\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%');\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n","'use strict';\n\n// modified from https://github.com/es-shims/es6-shim\nvar keys = require('object-keys');\nvar bind = require('function-bind');\nvar canBeObject = function (obj) {\n\treturn typeof obj !== 'undefined' && obj !== null;\n};\nvar hasSymbols = require('has-symbols/shams')();\nvar toObject = Object;\nvar push = bind.call(Function.call, Array.prototype.push);\nvar propIsEnumerable = bind.call(Function.call, Object.prototype.propertyIsEnumerable);\nvar originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;\n\nmodule.exports = function assign(target, source1) {\n\tif (!canBeObject(target)) { throw new TypeError('target must be an object'); }\n\tvar objTarget = toObject(target);\n\tvar s, source, i, props, syms, value, key;\n\tfor (s = 1; s < arguments.length; ++s) {\n\t\tsource = toObject(arguments[s]);\n\t\tprops = keys(source);\n\t\tvar getSymbols = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols);\n\t\tif (getSymbols) {\n\t\t\tsyms = getSymbols(source);\n\t\t\tfor (i = 0; i < syms.length; ++i) {\n\t\t\t\tkey = syms[i];\n\t\t\t\tif (propIsEnumerable(source, key)) {\n\t\t\t\t\tpush(props, key);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (i = 0; i < props.length; ++i) {\n\t\t\tkey = props[i];\n\t\t\tvalue = source[key];\n\t\t\tif (propIsEnumerable(source, key)) {\n\t\t\t\tobjTarget[key] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn objTarget;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nvar lacksProperEnumerationOrder = function () {\n\tif (!Object.assign) {\n\t\treturn false;\n\t}\n\t// v8, specifically in node 4.x, has a bug with incorrect property enumeration order\n\t// note: this does not detect the bug unless there's 20 characters\n\tvar str = 'abcdefghijklmnopqrst';\n\tvar letters = str.split('');\n\tvar map = {};\n\tfor (var i = 0; i < letters.length; ++i) {\n\t\tmap[letters[i]] = letters[i];\n\t}\n\tvar obj = Object.assign({}, map);\n\tvar actual = '';\n\tfor (var k in obj) {\n\t\tactual += k;\n\t}\n\treturn str !== actual;\n};\n\nvar assignHasPendingExceptions = function () {\n\tif (!Object.assign || !Object.preventExtensions) {\n\t\treturn false;\n\t}\n\t// Firefox 37 still has \"pending exception\" logic in its Object.assign implementation,\n\t// which is 72% slower than our shim, and Firefox 40's native implementation.\n\tvar thrower = Object.preventExtensions({ 1: 2 });\n\ttry {\n\t\tObject.assign(thrower, 'xy');\n\t} catch (e) {\n\t\treturn thrower[1] === 'y';\n\t}\n\treturn false;\n};\n\nmodule.exports = function getPolyfill() {\n\tif (!Object.assign) {\n\t\treturn implementation;\n\t}\n\tif (lacksProperEnumerationOrder()) {\n\t\treturn implementation;\n\t}\n\tif (assignHasPendingExceptions()) {\n\t\treturn implementation;\n\t}\n\treturn Object.assign;\n};\n","\"use strict\";\n\nvar utils = module.exports = {};\n\n/**\n * Loops through the collection and calls the callback for each element. if the callback returns truthy, the loop is broken and returns the same value.\n * @public\n * @param {*} collection The collection to loop through. Needs to have a length property set and have indices set from 0 to length - 1.\n * @param {function} callback The callback to be called for each element. The element will be given as a parameter to the callback. If this callback returns truthy, the loop is broken and the same value is returned.\n * @returns {*} The value that a callback has returned (if truthy). Otherwise nothing.\n */\nutils.forEach = function(collection, callback) {\n for(var i = 0; i < collection.length; i++) {\n var result = callback(collection[i]);\n if(result) {\n return result;\n }\n }\n};\n","\"use strict\";\n\nvar detector = module.exports = {};\n\ndetector.isIE = function(version) {\n function isAnyIeVersion() {\n var agent = navigator.userAgent.toLowerCase();\n return agent.indexOf(\"msie\") !== -1 || agent.indexOf(\"trident\") !== -1 || agent.indexOf(\" edge/\") !== -1;\n }\n\n if(!isAnyIeVersion()) {\n return false;\n }\n\n if(!version) {\n return true;\n }\n\n //Shamelessly stolen from https://gist.github.com/padolsey/527683\n var ieVersion = (function(){\n var undef,\n v = 3,\n div = document.createElement(\"div\"),\n all = div.getElementsByTagName(\"i\");\n\n do {\n div.innerHTML = \"<!--[if gt IE \" + (++v) + \"]><i></i><![endif]-->\";\n }\n while (all[0]);\n\n return v > 4 ? v : undef;\n }());\n\n return version === ieVersion;\n};\n\ndetector.isLegacyOpera = function() {\n return !!window.opera;\n};\n","'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(6);\nvar KEY = 'findIndex';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","module.exports = on\nmodule.exports.on = on\nmodule.exports.off = off\n\nfunction on (element, event, callback, capture) {\n !element.addEventListener && (event = 'on' + event)\n ;(element.addEventListener || element.attachEvent).call(element, event, callback, capture)\n return callback\n}\n\nfunction off (element, event, callback, capture) {\n !element.removeEventListener && (event = 'on' + event)\n ;(element.removeEventListener || element.detachEvent).call(element, event, callback, capture)\n return callback\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * takes the event and returns the key character\n *\n * @param {Event} e\n * @return {string}\n */\nmodule.exports = function (e) {\n var SPECIAL_KEYS_MAP,\n SPECIAL_CHARACTERS_MAP\n SPECIAL_KEYS_MAP = require('./special-keys-map')\n SPECIAL_CHARACTERS_MAP = require('./special-characters-map')\n\n // for keypress events we should return the character as is\n if (e.type === 'keypress') {\n var character = String.fromCharCode(e.which)\n\n // if the shift key is not pressed then it is safe to assume\n // that we want the character to be lowercase. this means if\n // you accidentally have caps lock on then your key bindings\n // will continue to work\n //\n // the only side effect that might not be desired is if you\n // bind something like 'A' cause you want to trigger an\n // event when capital A is pressed caps lock will no longer\n // trigger the event. shift+a will though.\n if (!e.shiftKey) {\n character = character.toLowerCase()\n }\n\n return character\n }\n\n // for non keypress events the special maps are needed\n if (SPECIAL_KEYS_MAP[e.which] !== undefined) {\n return SPECIAL_KEYS_MAP[e.which]\n }\n\n if (SPECIAL_CHARACTERS_MAP[e.which] !== undefined) {\n return SPECIAL_CHARACTERS_MAP[e.which]\n }\n\n // if it is not in the special map\n\n // with keydown and keyup events the character seems to always\n // come in as an uppercase character whether you are pressing shift\n // or not. we should make sure it is always lowercase for comparisons\n return String.fromCharCode(e.which).toLowerCase()\n}\n","/* eslint-env node, browser */\n'use strict'\n/**\n * mapping of special keycodes to their corresponding keys\n *\n * everything in this dictionary cannot use keypress events\n * so it has to be here to map to the correct keycodes for\n * keyup/keydown events\n *\n * @type {Object}\n */\nmodule.exports = {\n 8: 'backspace',\n 9: 'tab',\n 13: 'enter',\n 16: 'shift',\n 17: 'ctrl',\n 18: 'alt',\n 20: 'capslock',\n 27: 'esc',\n 32: 'space',\n 33: 'pageup',\n 34: 'pagedown',\n 35: 'end',\n 36: 'home',\n 37: 'left',\n 38: 'up',\n 39: 'right',\n 40: 'down',\n 45: 'ins',\n 46: 'del',\n 91: 'meta',\n 93: 'meta',\n 173: 'minus',\n 187: 'plus',\n 189: 'minus',\n 224: 'meta'\n}\n\n/**\n * loop through the f keys, f1 to f19 and add them to the map\n * programatically\n */\nfor (var i = 1; i < 20; ++i) {\n module.exports[111 + i] = 'f' + i\n}\n\n/**\n * loop through to map numbers on the numeric keypad\n */\nfor (i = 0; i <= 9; ++i) {\n module.exports[i + 96] = i\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_ICSS_IMPORT_1___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../button-toolbar/button-toolbar.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_ICSS_IMPORT_1___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \":root {\\n --ring-button-group-default-z-index: 0;\\n --ring-button-group-disabled-z-index: -1;\\n --ring-button-group-active-z-index: 1;\\n --ring-button-group-hover-z-index: 2;\\n --ring-button-group-focus-z-index: 3;\\n}\\n\\n.buttonGroup_951 {\\n\\n position: relative;\\n z-index: 0;\\n\\n display: inline-block;\\n\\n white-space: nowrap;\\n}\\n\\n.buttonGroup_951 button,\\n.buttonGroup_951 .button_ebb {\\n margin: 0 0 0 -1px;\\n\\n border-radius: 0;\\n}\\n\\n.caption_847 {\\n\\n margin-right: 8px;\\n\\n font-size: 13px;\\n\\n font-size: var(--ring-font-size)\\n}\\n\\n.caption_847:empty {\\n margin-right: 0;\\n }\\n\\n.buttonGroup_951 > .caption_847 + .button_ebb,\\n.buttonGroup_951 > button:first-child,\\n.buttonGroup_951 > .button_ebb:first-child,\\n.buttonGroup_951 > :first-child .button_ebb {\\n margin: 0;\\n\\n border-top-left-radius: 3px;\\n\\n border-top-left-radius: var(--ring-border-radius);\\n border-bottom-left-radius: 3px;\\n border-bottom-left-radius: var(--ring-border-radius);\\n}\\n\\n.buttonGroup_951 > .button_ebb:last-child,\\n.buttonGroup_951 > button:last-child,\\n.buttonGroup_951 > :last-child .button_ebb {\\n border-top-right-radius: 3px;\\n border-top-right-radius: var(--ring-border-radius);\\n border-bottom-right-radius: 3px;\\n border-bottom-right-radius: var(--ring-border-radius);\\n}\\n\\n.buttonGroup_951 .button_ebb {\\n position: relative;\\n z-index: 0;\\n z-index: var(--ring-button-group-default-z-index)\\n }\\n\\n.buttonGroup_951 .button_ebb[disabled] {\\n z-index: -1;\\n z-index: var(--ring-button-group-disabled-z-index);\\n }\\n\\n.buttonGroup_951 .button_ebb:active {\\n z-index: 1;\\n z-index: var(--ring-button-group-active-z-index);\\n }\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.buttonGroup_951 .button_ebb:hover {\\n z-index: 2;\\n z-index: var(--ring-button-group-hover-z-index);\\n }}\\n\\n.buttonGroup_951 .button_ebb:focus {\\n z-index: 3;\\n z-index: var(--ring-button-group-focus-z-index);\\n }\\n\\n.buttonGroup_951 .active_4b1 {\\n z-index: 1;\\n z-index: var(--ring-button-group-active-z-index);\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"buttonGroup\": \"buttonGroup_951 \" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\"buttonGroup\"] + \"\",\n\t\"button\": \"button_ebb\",\n\t\"caption\": \"caption_847 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"font\"] + \"\",\n\t\"active\": \"active_4b1\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".buttonSet_1a8 {\\n position: relative;\\n\\n display: inline-block;\\n\\n white-space: nowrap;\\n\\n font-size: 0\\n}\\n\\n.buttonSet_1a8 .button_97b {\\n margin: 0 8px 0 0;\\n }\\n\\n.buttonSet_1a8 > .button_97b:last-child {\\n margin-right: 0;\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"buttonSet\": \"buttonSet_1a8\",\n\t\"button\": \"button_97b\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".container_35a {\\n position: fixed;\\n z-index: 5;\\n z-index: var(--ring-overlay-z-index);\\n top: 0;\\n right: 0;\\n bottom: 0;\\n left: 0;\\n\\n display: flex;\\n overflow: auto;\\n align-items: center;\\n justify-content: center;\\n\\n padding: 32px 8px;\\n\\n background-color: rgba(255, 255, 255, 0.4);\\n}\\n\\n.innerContainer_257 {\\n display: flex;\\n flex-direction: column;\\n\\n max-height: 100%;\\n}\\n\\n.content_4b4 {\\n position: relative;\\n\\n width: 464px;\\n min-height: 120px;\\n margin: auto;\\n\\n cursor: default;\\n overflow-wrap: break-word\\n}\\n\\n.content_4b4 .panel_b97 {\\n margin-top: 0;\\n padding-right: 32px;\\n padding-left: 32px;\\n\\n border-top: none;\\n\\n background-color: transparent;\\n }\\n\\n.content_4b4 {\\n\\n /* stylelint-disable-next-line selector-max-specificity */\\n}\\n\\n.content_4b4 .panel_b97 button {\\n margin-right: 8px;\\n }\\n\\n.content_4b4.content_4b4 {\\n box-shadow: 0 2px 16px rgba(0, 42, 76, 0.15);\\n box-shadow: 0 2px 16px var(--ring-popup-shadow-color);\\n}\\n\\n.clickableOverlay_ba2 {\\n position: fixed;\\n top: 0;\\n right: 0;\\n bottom: 0;\\n left: 0;\\n\\n cursor: pointer;\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.clickableOverlay_ba2:hover + * .closeIcon_433 {\\n color: #80c6ff;\\n color: var(--ring-border-hover-color);\\n}}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.closeButton_28d:hover .closeIcon_433 {\\n color: #80c6ff;\\n color: var(--ring-border-hover-color);\\n}}\\n\\n.clickableOverlay_ba2:active + * .closeIcon_433 {\\n color: #008eff;\\n color: var(--ring-main-color);\\n}\\n\\n.closeButton_28d:active .closeIcon_433 {\\n color: #008eff;\\n color: var(--ring-main-color);\\n}\\n\\n.closeButton_28d {\\n position: absolute;\\n top: 0;\\n right: -32px;\\n}\\n\\n.bodyWithoutScroll_979 {\\n overflow: hidden;\\n\\n height: 100%;\\n}\\n\\n.popupTarget_244 {\\n position: fixed;\\n z-index: 5;\\n z-index: var(--ring-overlay-z-index);\\n top: 0;\\n right: 0;\\n bottom: 0;\\n left: 0;\\n\\n pointer-events: none\\n}\\n\\n.popupTarget_244 > :not(.popupTarget_244) {\\n pointer-events: initial;\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"container\": \"container_35a\",\n\t\"innerContainer\": \"innerContainer_257\",\n\t\"content\": \"content_4b4\",\n\t\"panel\": \"panel_b97\",\n\t\"clickableOverlay\": \"clickableOverlay_ba2\",\n\t\"closeIcon\": \"closeIcon_433\",\n\t\"closeButton\": \"closeButton_28d\",\n\t\"bodyWithoutScroll\": \"bodyWithoutScroll_979\",\n\t\"popupTarget\": \"popupTarget_244\"\n};\nmodule.exports = exports;\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.row_b65:hover .dragHandle_2d4 {\\n opacity: 1;\\n}}\\n\\n.tableWrapper_3a8 {\\n position: relative;\\n}\\n\\n.table_71e {\\n width: 100%;\\n\\n border-spacing: 0;\\n}\\n\\n.userSelectNone_c11 {\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none;\\n}\\n\\n.headerCell_728 {\\n\\n box-sizing: border-box;\\n height: 24px;\\n padding-right: 40px;\\n\\n text-align: left;\\n white-space: nowrap;\\n\\n color: #737577;\\n\\n color: var(--ring-secondary-color);\\n\\n font-weight: 200;\\n }\\n\\n.headerCell_728:first-child {\\n padding-left: 32px;\\n }\\n\\n.headerCell_728:last-child {\\n width: 100%;\\n padding-right: 32px;\\n }\\n\\n.headerCell_728:first-child:only-child {\\n width: auto;\\n width: initial;\\n max-width: none;\\n }\\n\\n.headerCell_728.headerCellSorted_5b9 {\\n font-weight: 500;\\n }\\n\\n.headerCell_728.headerCellSortable_7a8 {\\n cursor: pointer;\\n }\\n\\n.headerCell_728 .sorter_940 {\\n position: absolute;\\n\\n display: none;\\n\\n margin-left: 6px;\\n\\n -webkit-user-select: none;\\n\\n -moz-user-select: none;\\n\\n -ms-user-select: none;\\n\\n user-select: none;\\n }\\n\\n.headerCell_728.headerCellSortable_7a8 .sorter_940 {\\n display: inline-block;\\n }\\n\\n.sortedUp_a3e .icon_dc0 {\\n transform: rotate(180deg);\\n transform-origin: center 53%;\\n}\\n\\n.caption_1a6 {\\n padding-top: 8px;\\n padding-bottom: 6px;\\n\\n text-transform: capitalize;\\n\\n color: #1f2326;\\n\\n color: var(--ring-text-color);\\n border-bottom: none;\\n\\n font-size: 13px;\\n\\n font-size: var(--ring-font-size);\\n font-weight: bold;\\n line-height: 18px;\\n line-height: var(--ring-line-height-lower);\\n}\\n\\n.tableHead_634::after {\\n position: absolute;\\n\\n width: 100%;\\n\\n height: 1px;\\n\\n content: \\\"\\\";\\n\\n background-color: #dfe5eb;\\n\\n background-color: var(--ring-line-color);\\n }\\n\\n.subHeaderFixed_3c1::after {\\n position: absolute;\\n top: 24px;\\n\\n height: 1px;\\n\\n content: \\\"\\\";\\n\\n background-color: #dfe5eb;\\n\\n background-color: var(--ring-line-color);\\n }\\n\\n.subHeader_7fb::after {\\n right: 32px;\\n left: 32px;\\n }\\n\\n.subHeaderFixed_3c1 {\\n position: fixed;\\n z-index: 1;\\n z-index: var(--ring-fixed-z-index);\\n top: 0;\\n\\n opacity: 0.9;\\n background-color: #fff;\\n background-color: var(--ring-content-background-color)\\n}\\n\\n.subHeaderFixed_3c1::after {\\n right: 0;\\n left: 0;\\n }\\n\\n.row_b65 {\\n outline: none;\\n\\n line-height: 30px;\\n }\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.table_71e:not(.disabledHover_1ba) .row_b65:hover {\\n background-color: #ebf6ff;\\n background-color: var(--ring-hover-background-color);\\n }}\\n\\n.rowSelected_84f {\\n background-color: #d4edff;\\n background-color: var(--ring-selected-background-color);\\n}\\n\\n.rowFocused_91b {\\n background-color: #ebf6ff;\\n background-color: var(--ring-hover-background-color)\\n\\n /* stylelint-disable-next-line selector-max-specificity */\\n}\\n\\n.rowFocused_91b .cell_a14:nth-child(1) {\\n box-shadow: inset 2px 0 #008eff;\\n box-shadow: inset 2px 0 var(--ring-main-color);\\n }\\n\\n.loadingOverlay_a34 {\\n position: absolute;\\n top: 0;\\n right: 0;\\n bottom: 0;\\n left: 0;\\n\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n\\n background-color: rgba(255, 255, 255, 0.5);\\n}\\n\\n.cell_a14 {\\n\\n box-sizing: content-box;\\n\\n min-width: 0;\\n\\n height: 32px;\\n padding: 0;\\n padding-right: 40px;\\n\\n color: #1f2326;\\n\\n color: var(--ring-text-color);\\n }\\n\\n.cell_a14:first-child {\\n padding-left: 32px;\\n }\\n\\n.cell_a14:last-child {\\n width: 100%;\\n\\n /* Markup hack, allows cell to have content which is wider than cell and collapses it */\\n\\n max-width: 0;\\n padding-right: 32px;\\n }\\n\\n.cell_a14:first-child {\\n min-width: 296px;\\n max-width: 616px;\\n }\\n\\n.cell_a14:first-child:only-child {\\n width: auto;\\n width: initial;\\n max-width: none;\\n }\\n\\n.cellUnlimited_aff {\\n width: 100%;\\n}\\n\\n.cellRight_cb5 {\\n text-align: right;\\n}\\n\\n.metaColumn_456 {\\n position: relative;\\n\\n float: left;\\n\\n height: 16px;\\n padding-right: 2px\\n}\\n\\n.metaColumn_456.headerMetaColumn_144 {\\n padding-top: 1px;\\n }\\n\\n.dragHandle_2d4 {\\n top: -3px;\\n left: -16px;\\n\\n cursor: -webkit-grab;\\n\\n cursor: grab;\\n\\n opacity: 0;\\n}\\n\\n/* override button */\\n.dragHandle_2d4.dragHandle_2d4 {\\n position: absolute;\\n\\n height: 35px;\\n padding: 0;\\n}\\n\\n.dragHandle_2d4.visibleDragHandle_19d {\\n opacity: 1;\\n}\\n\\n.rowCollapseExpandButton_940 {\\n padding-right: 4px;\\n padding-left: 7px;\\n}\\n\\n.draggingRow_801 {\\n z-index: 5;\\n z-index: var(--ring-overlay-z-index);\\n\\n background-color: #ebf6ff;\\n\\n background-color: var(--ring-hover-background-color)\\n}\\n\\n.draggingRow_801 .dragHandle_2d4 {\\n cursor: -webkit-grabbing;\\n cursor: grabbing;\\n\\n opacity: 1\\n }\\n\\n.draggingRow_801 .dragHandle_2d4 svg {\\n color: #008eff;\\n color: var(--ring-main-color);\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"height\": \"32px\",\n\t\"compensate\": \"2px\",\n\t\"compensated\": \"30px\",\n\t\"top\": \"-3px\",\n\t\"row\": \"row_b65\",\n\t\"dragHandle\": \"dragHandle_2d4\",\n\t\"tableWrapper\": \"tableWrapper_3a8\",\n\t\"table\": \"table_71e\",\n\t\"userSelectNone\": \"userSelectNone_c11\",\n\t\"headerCell\": \"headerCell_728 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"font-smaller-lower\"] + \"\",\n\t\"headerCellSorted\": \"headerCellSorted_5b9\",\n\t\"headerCellSortable\": \"headerCellSortable_7a8\",\n\t\"sorter\": \"sorter_940\",\n\t\"sortedUp\": \"sortedUp_a3e\",\n\t\"icon\": \"icon_dc0\",\n\t\"caption\": \"caption_1a6\",\n\t\"tableHead\": \"tableHead_634\",\n\t\"subHeaderFixed\": \"subHeaderFixed_3c1\",\n\t\"subHeader\": \"subHeader_7fb\",\n\t\"disabledHover\": \"disabledHover_1ba\",\n\t\"rowSelected\": \"rowSelected_84f\",\n\t\"rowFocused\": \"rowFocused_91b\",\n\t\"cell\": \"cell_a14 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"ellipsis\"] + \"\",\n\t\"loadingOverlay\": \"loadingOverlay_a34\",\n\t\"cellUnlimited\": \"cellUnlimited_aff\",\n\t\"cellRight\": \"cellRight_cb5\",\n\t\"metaColumn\": \"metaColumn_456\",\n\t\"headerMetaColumn\": \"headerMetaColumn_144\",\n\t\"visibleDragHandle\": \"visibleDragHandle_19d\",\n\t\"rowCollapseExpandButton\": \"rowCollapseExpandButton_940\",\n\t\"draggingRow\": \"draggingRow_801\"\n};\nmodule.exports = exports;\n","//! moment.js locale configuration\n//! locale : Afrikaans [af]\n//! author : Werner Mollentze : https://github.com/wernerm\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var af = moment.defineLocale('af', {\n months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),\n weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split(\n '_'\n ),\n weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),\n weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),\n meridiemParse: /vm|nm/i,\n isPM: function (input) {\n return /^nm$/i.test(input);\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 12) {\n return isLower ? 'vm' : 'VM';\n } else {\n return isLower ? 'nm' : 'NM';\n }\n },\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Vandag om] LT',\n nextDay: '[Môre om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[Gister om] LT',\n lastWeek: '[Laas] dddd [om] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'oor %s',\n past: '%s gelede',\n s: \"'n paar sekondes\",\n ss: '%d sekondes',\n m: \"'n minuut\",\n mm: '%d minute',\n h: \"'n uur\",\n hh: '%d ure',\n d: \"'n dag\",\n dd: '%d dae',\n M: \"'n maand\",\n MM: '%d maande',\n y: \"'n jaar\",\n yy: '%d jaar',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal: function (number) {\n return (\n number +\n (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n ); // Thanks to Joris Röling : https://github.com/jjupiter\n },\n week: {\n dow: 1, // Maandag is die eerste dag van die week.\n doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar.\n },\n });\n\n return af;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic [ar]\n//! author : Abdel Said: https://github.com/abdelsaid\n//! author : Ahmed Elkhatib\n//! author : forabi https://github.com/forabi\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '١',\n '2': '٢',\n '3': '٣',\n '4': '٤',\n '5': '٥',\n '6': '٦',\n '7': '٧',\n '8': '٨',\n '9': '٩',\n '0': '٠',\n },\n numberMap = {\n '١': '1',\n '٢': '2',\n '٣': '3',\n '٤': '4',\n '٥': '5',\n '٦': '6',\n '٧': '7',\n '٨': '8',\n '٩': '9',\n '٠': '0',\n },\n pluralForm = function (n) {\n return n === 0\n ? 0\n : n === 1\n ? 1\n : n === 2\n ? 2\n : n % 100 >= 3 && n % 100 <= 10\n ? 3\n : n % 100 >= 11\n ? 4\n : 5;\n },\n plurals = {\n s: [\n 'أقل من ثانية',\n 'ثانية واحدة',\n ['ثانيتان', 'ثانيتين'],\n '%d ثوان',\n '%d ثانية',\n '%d ثانية',\n ],\n m: [\n 'أقل من دقيقة',\n 'دقيقة واحدة',\n ['دقيقتان', 'دقيقتين'],\n '%d دقائق',\n '%d دقيقة',\n '%d دقيقة',\n ],\n h: [\n 'أقل من ساعة',\n 'ساعة واحدة',\n ['ساعتان', 'ساعتين'],\n '%d ساعات',\n '%d ساعة',\n '%d ساعة',\n ],\n d: [\n 'أقل من يوم',\n 'يوم واحد',\n ['يومان', 'يومين'],\n '%d أيام',\n '%d يومًا',\n '%d يوم',\n ],\n M: [\n 'أقل من شهر',\n 'شهر واحد',\n ['شهران', 'شهرين'],\n '%d أشهر',\n '%d شهرا',\n '%d شهر',\n ],\n y: [\n 'أقل من عام',\n 'عام واحد',\n ['عامان', 'عامين'],\n '%d أعوام',\n '%d عامًا',\n '%d عام',\n ],\n },\n pluralize = function (u) {\n return function (number, withoutSuffix, string, isFuture) {\n var f = pluralForm(number),\n str = plurals[u][pluralForm(number)];\n if (f === 2) {\n str = str[withoutSuffix ? 0 : 1];\n }\n return str.replace(/%d/i, number);\n };\n },\n months = [\n 'يناير',\n 'فبراير',\n 'مارس',\n 'أبريل',\n 'مايو',\n 'يونيو',\n 'يوليو',\n 'أغسطس',\n 'سبتمبر',\n 'أكتوبر',\n 'نوفمبر',\n 'ديسمبر',\n ];\n\n var ar = moment.defineLocale('ar', {\n months: months,\n monthsShort: months,\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'D/\\u200FM/\\u200FYYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n meridiemParse: /ص|م/,\n isPM: function (input) {\n return 'م' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ص';\n } else {\n return 'م';\n }\n },\n calendar: {\n sameDay: '[اليوم عند الساعة] LT',\n nextDay: '[غدًا عند الساعة] LT',\n nextWeek: 'dddd [عند الساعة] LT',\n lastDay: '[أمس عند الساعة] LT',\n lastWeek: 'dddd [عند الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'بعد %s',\n past: 'منذ %s',\n s: pluralize('s'),\n ss: pluralize('s'),\n m: pluralize('m'),\n mm: pluralize('m'),\n h: pluralize('h'),\n hh: pluralize('h'),\n d: pluralize('d'),\n dd: pluralize('d'),\n M: pluralize('M'),\n MM: pluralize('M'),\n y: pluralize('y'),\n yy: pluralize('y'),\n },\n preparse: function (string) {\n return string\n .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n return numberMap[match];\n })\n .replace(/،/g, ',');\n },\n postformat: function (string) {\n return string\n .replace(/\\d/g, function (match) {\n return symbolMap[match];\n })\n .replace(/,/g, '،');\n },\n week: {\n dow: 6, // Saturday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return ar;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Algeria) [ar-dz]\n//! author : Amine Roukh: https://github.com/Amine27\n//! author : Abdel Said: https://github.com/abdelsaid\n//! author : Ahmed Elkhatib\n//! author : forabi https://github.com/forabi\n//! author : Noureddine LOUAHEDJ : https://github.com/noureddinem\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var pluralForm = function (n) {\n return n === 0\n ? 0\n : n === 1\n ? 1\n : n === 2\n ? 2\n : n % 100 >= 3 && n % 100 <= 10\n ? 3\n : n % 100 >= 11\n ? 4\n : 5;\n },\n plurals = {\n s: [\n 'أقل من ثانية',\n 'ثانية واحدة',\n ['ثانيتان', 'ثانيتين'],\n '%d ثوان',\n '%d ثانية',\n '%d ثانية',\n ],\n m: [\n 'أقل من دقيقة',\n 'دقيقة واحدة',\n ['دقيقتان', 'دقيقتين'],\n '%d دقائق',\n '%d دقيقة',\n '%d دقيقة',\n ],\n h: [\n 'أقل من ساعة',\n 'ساعة واحدة',\n ['ساعتان', 'ساعتين'],\n '%d ساعات',\n '%d ساعة',\n '%d ساعة',\n ],\n d: [\n 'أقل من يوم',\n 'يوم واحد',\n ['يومان', 'يومين'],\n '%d أيام',\n '%d يومًا',\n '%d يوم',\n ],\n M: [\n 'أقل من شهر',\n 'شهر واحد',\n ['شهران', 'شهرين'],\n '%d أشهر',\n '%d شهرا',\n '%d شهر',\n ],\n y: [\n 'أقل من عام',\n 'عام واحد',\n ['عامان', 'عامين'],\n '%d أعوام',\n '%d عامًا',\n '%d عام',\n ],\n },\n pluralize = function (u) {\n return function (number, withoutSuffix, string, isFuture) {\n var f = pluralForm(number),\n str = plurals[u][pluralForm(number)];\n if (f === 2) {\n str = str[withoutSuffix ? 0 : 1];\n }\n return str.replace(/%d/i, number);\n };\n },\n months = [\n 'جانفي',\n 'فيفري',\n 'مارس',\n 'أفريل',\n 'ماي',\n 'جوان',\n 'جويلية',\n 'أوت',\n 'سبتمبر',\n 'أكتوبر',\n 'نوفمبر',\n 'ديسمبر',\n ];\n\n var arDz = moment.defineLocale('ar-dz', {\n months: months,\n monthsShort: months,\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'D/\\u200FM/\\u200FYYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n meridiemParse: /ص|م/,\n isPM: function (input) {\n return 'م' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ص';\n } else {\n return 'م';\n }\n },\n calendar: {\n sameDay: '[اليوم عند الساعة] LT',\n nextDay: '[غدًا عند الساعة] LT',\n nextWeek: 'dddd [عند الساعة] LT',\n lastDay: '[أمس عند الساعة] LT',\n lastWeek: 'dddd [عند الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'بعد %s',\n past: 'منذ %s',\n s: pluralize('s'),\n ss: pluralize('s'),\n m: pluralize('m'),\n mm: pluralize('m'),\n h: pluralize('h'),\n hh: pluralize('h'),\n d: pluralize('d'),\n dd: pluralize('d'),\n M: pluralize('M'),\n MM: pluralize('M'),\n y: pluralize('y'),\n yy: pluralize('y'),\n },\n postformat: function (string) {\n return string.replace(/,/g, '،');\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return arDz;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Kuwait) [ar-kw]\n//! author : Nusret Parlak: https://github.com/nusretparlak\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var arKw = moment.defineLocale('ar-kw', {\n months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n '_'\n ),\n monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n '_'\n ),\n weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'في %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات',\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return arKw;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Lybia) [ar-ly]\n//! author : Ali Hmer: https://github.com/kikoanis\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '1',\n '2': '2',\n '3': '3',\n '4': '4',\n '5': '5',\n '6': '6',\n '7': '7',\n '8': '8',\n '9': '9',\n '0': '0',\n },\n pluralForm = function (n) {\n return n === 0\n ? 0\n : n === 1\n ? 1\n : n === 2\n ? 2\n : n % 100 >= 3 && n % 100 <= 10\n ? 3\n : n % 100 >= 11\n ? 4\n : 5;\n },\n plurals = {\n s: [\n 'أقل من ثانية',\n 'ثانية واحدة',\n ['ثانيتان', 'ثانيتين'],\n '%d ثوان',\n '%d ثانية',\n '%d ثانية',\n ],\n m: [\n 'أقل من دقيقة',\n 'دقيقة واحدة',\n ['دقيقتان', 'دقيقتين'],\n '%d دقائق',\n '%d دقيقة',\n '%d دقيقة',\n ],\n h: [\n 'أقل من ساعة',\n 'ساعة واحدة',\n ['ساعتان', 'ساعتين'],\n '%d ساعات',\n '%d ساعة',\n '%d ساعة',\n ],\n d: [\n 'أقل من يوم',\n 'يوم واحد',\n ['يومان', 'يومين'],\n '%d أيام',\n '%d يومًا',\n '%d يوم',\n ],\n M: [\n 'أقل من شهر',\n 'شهر واحد',\n ['شهران', 'شهرين'],\n '%d أشهر',\n '%d شهرا',\n '%d شهر',\n ],\n y: [\n 'أقل من عام',\n 'عام واحد',\n ['عامان', 'عامين'],\n '%d أعوام',\n '%d عامًا',\n '%d عام',\n ],\n },\n pluralize = function (u) {\n return function (number, withoutSuffix, string, isFuture) {\n var f = pluralForm(number),\n str = plurals[u][pluralForm(number)];\n if (f === 2) {\n str = str[withoutSuffix ? 0 : 1];\n }\n return str.replace(/%d/i, number);\n };\n },\n months = [\n 'يناير',\n 'فبراير',\n 'مارس',\n 'أبريل',\n 'مايو',\n 'يونيو',\n 'يوليو',\n 'أغسطس',\n 'سبتمبر',\n 'أكتوبر',\n 'نوفمبر',\n 'ديسمبر',\n ];\n\n var arLy = moment.defineLocale('ar-ly', {\n months: months,\n monthsShort: months,\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'D/\\u200FM/\\u200FYYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n meridiemParse: /ص|م/,\n isPM: function (input) {\n return 'م' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ص';\n } else {\n return 'م';\n }\n },\n calendar: {\n sameDay: '[اليوم عند الساعة] LT',\n nextDay: '[غدًا عند الساعة] LT',\n nextWeek: 'dddd [عند الساعة] LT',\n lastDay: '[أمس عند الساعة] LT',\n lastWeek: 'dddd [عند الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'بعد %s',\n past: 'منذ %s',\n s: pluralize('s'),\n ss: pluralize('s'),\n m: pluralize('m'),\n mm: pluralize('m'),\n h: pluralize('h'),\n hh: pluralize('h'),\n d: pluralize('d'),\n dd: pluralize('d'),\n M: pluralize('M'),\n MM: pluralize('M'),\n y: pluralize('y'),\n yy: pluralize('y'),\n },\n preparse: function (string) {\n return string.replace(/،/g, ',');\n },\n postformat: function (string) {\n return string\n .replace(/\\d/g, function (match) {\n return symbolMap[match];\n })\n .replace(/,/g, '،');\n },\n week: {\n dow: 6, // Saturday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return arLy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Morocco) [ar-ma]\n//! author : ElFadili Yassine : https://github.com/ElFadiliY\n//! author : Abdel Said : https://github.com/abdelsaid\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var arMa = moment.defineLocale('ar-ma', {\n months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n '_'\n ),\n monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n '_'\n ),\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'في %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات',\n },\n week: {\n dow: 6, // Saturday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return arMa;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Saudi Arabia) [ar-sa]\n//! author : Suhail Alkowaileet : https://github.com/xsoh\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '١',\n '2': '٢',\n '3': '٣',\n '4': '٤',\n '5': '٥',\n '6': '٦',\n '7': '٧',\n '8': '٨',\n '9': '٩',\n '0': '٠',\n },\n numberMap = {\n '١': '1',\n '٢': '2',\n '٣': '3',\n '٤': '4',\n '٥': '5',\n '٦': '6',\n '٧': '7',\n '٨': '8',\n '٩': '9',\n '٠': '0',\n };\n\n var arSa = moment.defineLocale('ar-sa', {\n months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n '_'\n ),\n monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n '_'\n ),\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n meridiemParse: /ص|م/,\n isPM: function (input) {\n return 'م' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ص';\n } else {\n return 'م';\n }\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'في %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات',\n },\n preparse: function (string) {\n return string\n .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n return numberMap[match];\n })\n .replace(/،/g, ',');\n },\n postformat: function (string) {\n return string\n .replace(/\\d/g, function (match) {\n return symbolMap[match];\n })\n .replace(/,/g, '،');\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return arSa;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Tunisia) [ar-tn]\n//! author : Nader Toukabri : https://github.com/naderio\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var arTn = moment.defineLocale('ar-tn', {\n months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n '_'\n ),\n monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n '_'\n ),\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[اليوم على الساعة] LT',\n nextDay: '[غدا على الساعة] LT',\n nextWeek: 'dddd [على الساعة] LT',\n lastDay: '[أمس على الساعة] LT',\n lastWeek: 'dddd [على الساعة] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'في %s',\n past: 'منذ %s',\n s: 'ثوان',\n ss: '%d ثانية',\n m: 'دقيقة',\n mm: '%d دقائق',\n h: 'ساعة',\n hh: '%d ساعات',\n d: 'يوم',\n dd: '%d أيام',\n M: 'شهر',\n MM: '%d أشهر',\n y: 'سنة',\n yy: '%d سنوات',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return arTn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Azerbaijani [az]\n//! author : topchiyev : https://github.com/topchiyev\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var suffixes = {\n 1: '-inci',\n 5: '-inci',\n 8: '-inci',\n 70: '-inci',\n 80: '-inci',\n 2: '-nci',\n 7: '-nci',\n 20: '-nci',\n 50: '-nci',\n 3: '-üncü',\n 4: '-üncü',\n 100: '-üncü',\n 6: '-ncı',\n 9: '-uncu',\n 10: '-uncu',\n 30: '-uncu',\n 60: '-ıncı',\n 90: '-ıncı',\n };\n\n var az = moment.defineLocale('az', {\n months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split(\n '_'\n ),\n monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),\n weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split(\n '_'\n ),\n weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),\n weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[bugün saat] LT',\n nextDay: '[sabah saat] LT',\n nextWeek: '[gələn həftə] dddd [saat] LT',\n lastDay: '[dünən] LT',\n lastWeek: '[keçən həftə] dddd [saat] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s sonra',\n past: '%s əvvəl',\n s: 'birneçə saniyə',\n ss: '%d saniyə',\n m: 'bir dəqiqə',\n mm: '%d dəqiqə',\n h: 'bir saat',\n hh: '%d saat',\n d: 'bir gün',\n dd: '%d gün',\n M: 'bir ay',\n MM: '%d ay',\n y: 'bir il',\n yy: '%d il',\n },\n meridiemParse: /gecə|səhər|gündüz|axşam/,\n isPM: function (input) {\n return /^(gündüz|axşam)$/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'gecə';\n } else if (hour < 12) {\n return 'səhər';\n } else if (hour < 17) {\n return 'gündüz';\n } else {\n return 'axşam';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,\n ordinal: function (number) {\n if (number === 0) {\n // special case for zero\n return number + '-ıncı';\n }\n var a = number % 10,\n b = (number % 100) - a,\n c = number >= 100 ? 100 : null;\n return number + (suffixes[a] || suffixes[b] || suffixes[c]);\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return az;\n\n})));\n","//! moment.js locale configuration\n//! locale : Belarusian [be]\n//! author : Dmitry Demidov : https://github.com/demidov91\n//! author: Praleska: http://praleska.pro/\n//! Author : Menelion Elensúle : https://github.com/Oire\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function plural(word, num) {\n var forms = word.split('_');\n return num % 10 === 1 && num % 100 !== 11\n ? forms[0]\n : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)\n ? forms[1]\n : forms[2];\n }\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',\n mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',\n hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',\n dd: 'дзень_дні_дзён',\n MM: 'месяц_месяцы_месяцаў',\n yy: 'год_гады_гадоў',\n };\n if (key === 'm') {\n return withoutSuffix ? 'хвіліна' : 'хвіліну';\n } else if (key === 'h') {\n return withoutSuffix ? 'гадзіна' : 'гадзіну';\n } else {\n return number + ' ' + plural(format[key], +number);\n }\n }\n\n var be = moment.defineLocale('be', {\n months: {\n format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(\n '_'\n ),\n standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(\n '_'\n ),\n },\n monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split(\n '_'\n ),\n weekdays: {\n format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(\n '_'\n ),\n standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(\n '_'\n ),\n isFormat: /\\[ ?[Ууў] ?(?:мінулую|наступную)? ?\\] ?dddd/,\n },\n weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),\n weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY г.',\n LLL: 'D MMMM YYYY г., HH:mm',\n LLLL: 'dddd, D MMMM YYYY г., HH:mm',\n },\n calendar: {\n sameDay: '[Сёння ў] LT',\n nextDay: '[Заўтра ў] LT',\n lastDay: '[Учора ў] LT',\n nextWeek: function () {\n return '[У] dddd [ў] LT';\n },\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n case 3:\n case 5:\n case 6:\n return '[У мінулую] dddd [ў] LT';\n case 1:\n case 2:\n case 4:\n return '[У мінулы] dddd [ў] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'праз %s',\n past: '%s таму',\n s: 'некалькі секунд',\n m: relativeTimeWithPlural,\n mm: relativeTimeWithPlural,\n h: relativeTimeWithPlural,\n hh: relativeTimeWithPlural,\n d: 'дзень',\n dd: relativeTimeWithPlural,\n M: 'месяц',\n MM: relativeTimeWithPlural,\n y: 'год',\n yy: relativeTimeWithPlural,\n },\n meridiemParse: /ночы|раніцы|дня|вечара/,\n isPM: function (input) {\n return /^(дня|вечара)$/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'ночы';\n } else if (hour < 12) {\n return 'раніцы';\n } else if (hour < 17) {\n return 'дня';\n } else {\n return 'вечара';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(і|ы|га)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'M':\n case 'd':\n case 'DDD':\n case 'w':\n case 'W':\n return (number % 10 === 2 || number % 10 === 3) &&\n number % 100 !== 12 &&\n number % 100 !== 13\n ? number + '-і'\n : number + '-ы';\n case 'D':\n return number + '-га';\n default:\n return number;\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return be;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bulgarian [bg]\n//! author : Krasen Borisov : https://github.com/kraz\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var bg = moment.defineLocale('bg', {\n months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(\n '_'\n ),\n monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),\n weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(\n '_'\n ),\n weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),\n weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'D.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY H:mm',\n LLLL: 'dddd, D MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[Днес в] LT',\n nextDay: '[Утре в] LT',\n nextWeek: 'dddd [в] LT',\n lastDay: '[Вчера в] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n case 3:\n case 6:\n return '[Миналата] dddd [в] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[Миналия] dddd [в] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'след %s',\n past: 'преди %s',\n s: 'няколко секунди',\n ss: '%d секунди',\n m: 'минута',\n mm: '%d минути',\n h: 'час',\n hh: '%d часа',\n d: 'ден',\n dd: '%d дена',\n M: 'месец',\n MM: '%d месеца',\n y: 'година',\n yy: '%d години',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,\n ordinal: function (number) {\n var lastDigit = number % 10,\n last2Digits = number % 100;\n if (number === 0) {\n return number + '-ев';\n } else if (last2Digits === 0) {\n return number + '-ен';\n } else if (last2Digits > 10 && last2Digits < 20) {\n return number + '-ти';\n } else if (lastDigit === 1) {\n return number + '-ви';\n } else if (lastDigit === 2) {\n return number + '-ри';\n } else if (lastDigit === 7 || lastDigit === 8) {\n return number + '-ми';\n } else {\n return number + '-ти';\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return bg;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bambara [bm]\n//! author : Estelle Comment : https://github.com/estellecomment\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var bm = moment.defineLocale('bm', {\n months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(\n '_'\n ),\n monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),\n weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),\n weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),\n weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'MMMM [tile] D [san] YYYY',\n LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',\n LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',\n },\n calendar: {\n sameDay: '[Bi lɛrɛ] LT',\n nextDay: '[Sini lɛrɛ] LT',\n nextWeek: 'dddd [don lɛrɛ] LT',\n lastDay: '[Kunu lɛrɛ] LT',\n lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s kɔnɔ',\n past: 'a bɛ %s bɔ',\n s: 'sanga dama dama',\n ss: 'sekondi %d',\n m: 'miniti kelen',\n mm: 'miniti %d',\n h: 'lɛrɛ kelen',\n hh: 'lɛrɛ %d',\n d: 'tile kelen',\n dd: 'tile %d',\n M: 'kalo kelen',\n MM: 'kalo %d',\n y: 'san kelen',\n yy: 'san %d',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return bm;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bengali [bn]\n//! author : Kaushik Gandhi : https://github.com/kaushikgandhi\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '১',\n '2': '২',\n '3': '৩',\n '4': '৪',\n '5': '৫',\n '6': '৬',\n '7': '৭',\n '8': '৮',\n '9': '৯',\n '0': '০',\n },\n numberMap = {\n '১': '1',\n '২': '2',\n '৩': '3',\n '৪': '4',\n '৫': '5',\n '৬': '6',\n '৭': '7',\n '৮': '8',\n '৯': '9',\n '০': '0',\n };\n\n var bn = moment.defineLocale('bn', {\n months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(\n '_'\n ),\n monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(\n '_'\n ),\n weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(\n '_'\n ),\n weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),\n weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),\n longDateFormat: {\n LT: 'A h:mm সময়',\n LTS: 'A h:mm:ss সময়',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm সময়',\n LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',\n },\n calendar: {\n sameDay: '[আজ] LT',\n nextDay: '[আগামীকাল] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[গতকাল] LT',\n lastWeek: '[গত] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s পরে',\n past: '%s আগে',\n s: 'কয়েক সেকেন্ড',\n ss: '%d সেকেন্ড',\n m: 'এক মিনিট',\n mm: '%d মিনিট',\n h: 'এক ঘন্টা',\n hh: '%d ঘন্টা',\n d: 'এক দিন',\n dd: '%d দিন',\n M: 'এক মাস',\n MM: '%d মাস',\n y: 'এক বছর',\n yy: '%d বছর',\n },\n preparse: function (string) {\n return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (\n (meridiem === 'রাত' && hour >= 4) ||\n (meridiem === 'দুপুর' && hour < 5) ||\n meridiem === 'বিকাল'\n ) {\n return hour + 12;\n } else {\n return hour;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'রাত';\n } else if (hour < 10) {\n return 'সকাল';\n } else if (hour < 17) {\n return 'দুপুর';\n } else if (hour < 20) {\n return 'বিকাল';\n } else {\n return 'রাত';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return bn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tibetan [bo]\n//! author : Thupten N. Chakrishar : https://github.com/vajradog\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '༡',\n '2': '༢',\n '3': '༣',\n '4': '༤',\n '5': '༥',\n '6': '༦',\n '7': '༧',\n '8': '༨',\n '9': '༩',\n '0': '༠',\n },\n numberMap = {\n '༡': '1',\n '༢': '2',\n '༣': '3',\n '༤': '4',\n '༥': '5',\n '༦': '6',\n '༧': '7',\n '༨': '8',\n '༩': '9',\n '༠': '0',\n };\n\n var bo = moment.defineLocale('bo', {\n months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split(\n '_'\n ),\n monthsShort: 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split(\n '_'\n ),\n monthsShortRegex: /^(ཟླ་\\d{1,2})/,\n monthsParseExact: true,\n weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split(\n '_'\n ),\n weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split(\n '_'\n ),\n weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'),\n longDateFormat: {\n LT: 'A h:mm',\n LTS: 'A h:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm',\n LLLL: 'dddd, D MMMM YYYY, A h:mm',\n },\n calendar: {\n sameDay: '[དི་རིང] LT',\n nextDay: '[སང་ཉིན] LT',\n nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',\n lastDay: '[ཁ་སང] LT',\n lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s ལ་',\n past: '%s སྔན་ལ',\n s: 'ལམ་སང',\n ss: '%d སྐར་ཆ།',\n m: 'སྐར་མ་གཅིག',\n mm: '%d སྐར་མ',\n h: 'ཆུ་ཚོད་གཅིག',\n hh: '%d ཆུ་ཚོད',\n d: 'ཉིན་གཅིག',\n dd: '%d ཉིན་',\n M: 'ཟླ་བ་གཅིག',\n MM: '%d ཟླ་བ',\n y: 'ལོ་གཅིག',\n yy: '%d ལོ',\n },\n preparse: function (string) {\n return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (\n (meridiem === 'མཚན་མོ' && hour >= 4) ||\n (meridiem === 'ཉིན་གུང' && hour < 5) ||\n meridiem === 'དགོང་དག'\n ) {\n return hour + 12;\n } else {\n return hour;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'མཚན་མོ';\n } else if (hour < 10) {\n return 'ཞོགས་ཀས';\n } else if (hour < 17) {\n return 'ཉིན་གུང';\n } else if (hour < 20) {\n return 'དགོང་དག';\n } else {\n return 'མཚན་མོ';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return bo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Breton [br]\n//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function relativeTimeWithMutation(number, withoutSuffix, key) {\n var format = {\n mm: 'munutenn',\n MM: 'miz',\n dd: 'devezh',\n };\n return number + ' ' + mutation(format[key], number);\n }\n function specialMutationForYears(number) {\n switch (lastNumber(number)) {\n case 1:\n case 3:\n case 4:\n case 5:\n case 9:\n return number + ' bloaz';\n default:\n return number + ' vloaz';\n }\n }\n function lastNumber(number) {\n if (number > 9) {\n return lastNumber(number % 10);\n }\n return number;\n }\n function mutation(text, number) {\n if (number === 2) {\n return softMutation(text);\n }\n return text;\n }\n function softMutation(text) {\n var mutationTable = {\n m: 'v',\n b: 'v',\n d: 'z',\n };\n if (mutationTable[text.charAt(0)] === undefined) {\n return text;\n }\n return mutationTable[text.charAt(0)] + text.substring(1);\n }\n\n var monthsParse = [\n /^gen/i,\n /^c[ʼ\\']hwe/i,\n /^meu/i,\n /^ebr/i,\n /^mae/i,\n /^(mez|eve)/i,\n /^gou/i,\n /^eos/i,\n /^gwe/i,\n /^her/i,\n /^du/i,\n /^ker/i,\n ],\n monthsRegex = /^(genver|c[ʼ\\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,\n monthsStrictRegex = /^(genver|c[ʼ\\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,\n monthsShortStrictRegex = /^(gen|c[ʼ\\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,\n fullWeekdaysParse = [\n /^sul/i,\n /^lun/i,\n /^meurzh/i,\n /^merc[ʼ\\']her/i,\n /^yaou/i,\n /^gwener/i,\n /^sadorn/i,\n ],\n shortWeekdaysParse = [\n /^Sul/i,\n /^Lun/i,\n /^Meu/i,\n /^Mer/i,\n /^Yao/i,\n /^Gwe/i,\n /^Sad/i,\n ],\n minWeekdaysParse = [\n /^Su/i,\n /^Lu/i,\n /^Me([^r]|$)/i,\n /^Mer/i,\n /^Ya/i,\n /^Gw/i,\n /^Sa/i,\n ];\n\n var br = moment.defineLocale('br', {\n months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split(\n '_'\n ),\n monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),\n weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'),\n weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),\n weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),\n weekdaysParse: minWeekdaysParse,\n fullWeekdaysParse: fullWeekdaysParse,\n shortWeekdaysParse: shortWeekdaysParse,\n minWeekdaysParse: minWeekdaysParse,\n\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: monthsStrictRegex,\n monthsShortStrictRegex: monthsShortStrictRegex,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [a viz] MMMM YYYY',\n LLL: 'D [a viz] MMMM YYYY HH:mm',\n LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Hiziv da] LT',\n nextDay: '[Warcʼhoazh da] LT',\n nextWeek: 'dddd [da] LT',\n lastDay: '[Decʼh da] LT',\n lastWeek: 'dddd [paset da] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'a-benn %s',\n past: '%s ʼzo',\n s: 'un nebeud segondennoù',\n ss: '%d eilenn',\n m: 'ur vunutenn',\n mm: relativeTimeWithMutation,\n h: 'un eur',\n hh: '%d eur',\n d: 'un devezh',\n dd: relativeTimeWithMutation,\n M: 'ur miz',\n MM: relativeTimeWithMutation,\n y: 'ur bloaz',\n yy: specialMutationForYears,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(añ|vet)/,\n ordinal: function (number) {\n var output = number === 1 ? 'añ' : 'vet';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn\n isPM: function (token) {\n return token === 'g.m.';\n },\n meridiem: function (hour, minute, isLower) {\n return hour < 12 ? 'a.m.' : 'g.m.';\n },\n });\n\n return br;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bosnian [bs]\n//! author : Nedim Cholich : https://github.com/frontyard\n//! based on (hr) translation by Bojan Marković\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function translate(number, withoutSuffix, key) {\n var result = number + ' ';\n switch (key) {\n case 'ss':\n if (number === 1) {\n result += 'sekunda';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sekunde';\n } else {\n result += 'sekundi';\n }\n return result;\n case 'm':\n return withoutSuffix ? 'jedna minuta' : 'jedne minute';\n case 'mm':\n if (number === 1) {\n result += 'minuta';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'minute';\n } else {\n result += 'minuta';\n }\n return result;\n case 'h':\n return withoutSuffix ? 'jedan sat' : 'jednog sata';\n case 'hh':\n if (number === 1) {\n result += 'sat';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sata';\n } else {\n result += 'sati';\n }\n return result;\n case 'dd':\n if (number === 1) {\n result += 'dan';\n } else {\n result += 'dana';\n }\n return result;\n case 'MM':\n if (number === 1) {\n result += 'mjesec';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'mjeseca';\n } else {\n result += 'mjeseci';\n }\n return result;\n case 'yy':\n if (number === 1) {\n result += 'godina';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'godine';\n } else {\n result += 'godina';\n }\n return result;\n }\n }\n\n var bs = moment.defineLocale('bs', {\n months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split(\n '_'\n ),\n monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(\n '_'\n ),\n weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[danas u] LT',\n nextDay: '[sutra u] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[u] [nedjelju] [u] LT';\n case 3:\n return '[u] [srijedu] [u] LT';\n case 6:\n return '[u] [subotu] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay: '[jučer u] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n case 3:\n return '[prošlu] dddd [u] LT';\n case 6:\n return '[prošle] [subote] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[prošli] dddd [u] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: 'prije %s',\n s: 'par sekundi',\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: 'dan',\n dd: translate,\n M: 'mjesec',\n MM: translate,\n y: 'godinu',\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return bs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Catalan [ca]\n//! author : Juan G. Hurtado : https://github.com/juanghurtado\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ca = moment.defineLocale('ca', {\n months: {\n standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split(\n '_'\n ),\n format: \"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre\".split(\n '_'\n ),\n isFormat: /D[oD]?(\\s)+MMMM/,\n },\n monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split(\n '_'\n ),\n weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),\n weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM [de] YYYY',\n ll: 'D MMM YYYY',\n LLL: 'D MMMM [de] YYYY [a les] H:mm',\n lll: 'D MMM YYYY, H:mm',\n LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',\n llll: 'ddd D MMM YYYY, H:mm',\n },\n calendar: {\n sameDay: function () {\n return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n },\n nextDay: function () {\n return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n },\n nextWeek: function () {\n return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n },\n lastDay: function () {\n return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n },\n lastWeek: function () {\n return (\n '[el] dddd [passat a ' +\n (this.hours() !== 1 ? 'les' : 'la') +\n '] LT'\n );\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: \"d'aquí %s\",\n past: 'fa %s',\n s: 'uns segons',\n ss: '%d segons',\n m: 'un minut',\n mm: '%d minuts',\n h: 'una hora',\n hh: '%d hores',\n d: 'un dia',\n dd: '%d dies',\n M: 'un mes',\n MM: '%d mesos',\n y: 'un any',\n yy: '%d anys',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(r|n|t|è|a)/,\n ordinal: function (number, period) {\n var output =\n number === 1\n ? 'r'\n : number === 2\n ? 'n'\n : number === 3\n ? 'r'\n : number === 4\n ? 't'\n : 'è';\n if (period === 'w' || period === 'W') {\n output = 'a';\n }\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return ca;\n\n})));\n","//! moment.js locale configuration\n//! locale : Czech [cs]\n//! author : petrbela : https://github.com/petrbela\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(\n '_'\n ),\n monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),\n monthsParse = [\n /^led/i,\n /^úno/i,\n /^bře/i,\n /^dub/i,\n /^kvě/i,\n /^(čvn|červen$|června)/i,\n /^(čvc|červenec|července)/i,\n /^srp/i,\n /^zář/i,\n /^říj/i,\n /^lis/i,\n /^pro/i,\n ],\n // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.\n // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.\n monthsRegex = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;\n\n function plural(n) {\n return n > 1 && n < 5 && ~~(n / 10) !== 1;\n }\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n switch (key) {\n case 's': // a few seconds / in a few seconds / a few seconds ago\n return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';\n case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'sekundy' : 'sekund');\n } else {\n return result + 'sekundami';\n }\n case 'm': // a minute / in a minute / a minute ago\n return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';\n case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'minuty' : 'minut');\n } else {\n return result + 'minutami';\n }\n case 'h': // an hour / in an hour / an hour ago\n return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';\n case 'hh': // 9 hours / in 9 hours / 9 hours ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'hodiny' : 'hodin');\n } else {\n return result + 'hodinami';\n }\n case 'd': // a day / in a day / a day ago\n return withoutSuffix || isFuture ? 'den' : 'dnem';\n case 'dd': // 9 days / in 9 days / 9 days ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'dny' : 'dní');\n } else {\n return result + 'dny';\n }\n case 'M': // a month / in a month / a month ago\n return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';\n case 'MM': // 9 months / in 9 months / 9 months ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'měsíce' : 'měsíců');\n } else {\n return result + 'měsíci';\n }\n case 'y': // a year / in a year / a year ago\n return withoutSuffix || isFuture ? 'rok' : 'rokem';\n case 'yy': // 9 years / in 9 years / 9 years ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'roky' : 'let');\n } else {\n return result + 'lety';\n }\n }\n }\n\n var cs = moment.defineLocale('cs', {\n months: months,\n monthsShort: monthsShort,\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.\n // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.\n monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,\n monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),\n weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),\n weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd D. MMMM YYYY H:mm',\n l: 'D. M. YYYY',\n },\n calendar: {\n sameDay: '[dnes v] LT',\n nextDay: '[zítra v] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[v neděli v] LT';\n case 1:\n case 2:\n return '[v] dddd [v] LT';\n case 3:\n return '[ve středu v] LT';\n case 4:\n return '[ve čtvrtek v] LT';\n case 5:\n return '[v pátek v] LT';\n case 6:\n return '[v sobotu v] LT';\n }\n },\n lastDay: '[včera v] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[minulou neděli v] LT';\n case 1:\n case 2:\n return '[minulé] dddd [v] LT';\n case 3:\n return '[minulou středu v] LT';\n case 4:\n case 5:\n return '[minulý] dddd [v] LT';\n case 6:\n return '[minulou sobotu v] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: 'před %s',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return cs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chuvash [cv]\n//! author : Anatoly Mironov : https://github.com/mirontoli\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var cv = moment.defineLocale('cv', {\n months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(\n '_'\n ),\n monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),\n weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(\n '_'\n ),\n weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),\n weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD-MM-YYYY',\n LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',\n LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',\n LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',\n },\n calendar: {\n sameDay: '[Паян] LT [сехетре]',\n nextDay: '[Ыран] LT [сехетре]',\n lastDay: '[Ӗнер] LT [сехетре]',\n nextWeek: '[Ҫитес] dddd LT [сехетре]',\n lastWeek: '[Иртнӗ] dddd LT [сехетре]',\n sameElse: 'L',\n },\n relativeTime: {\n future: function (output) {\n var affix = /сехет$/i.exec(output)\n ? 'рен'\n : /ҫул$/i.exec(output)\n ? 'тан'\n : 'ран';\n return output + affix;\n },\n past: '%s каялла',\n s: 'пӗр-ик ҫеккунт',\n ss: '%d ҫеккунт',\n m: 'пӗр минут',\n mm: '%d минут',\n h: 'пӗр сехет',\n hh: '%d сехет',\n d: 'пӗр кун',\n dd: '%d кун',\n M: 'пӗр уйӑх',\n MM: '%d уйӑх',\n y: 'пӗр ҫул',\n yy: '%d ҫул',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-мӗш/,\n ordinal: '%d-мӗш',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return cv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Welsh [cy]\n//! author : Robert Allen : https://github.com/robgallen\n//! author : https://github.com/ryangreaves\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var cy = moment.defineLocale('cy', {\n months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(\n '_'\n ),\n monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split(\n '_'\n ),\n weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split(\n '_'\n ),\n weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),\n weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),\n weekdaysParseExact: true,\n // time formats are the same as en-gb\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Heddiw am] LT',\n nextDay: '[Yfory am] LT',\n nextWeek: 'dddd [am] LT',\n lastDay: '[Ddoe am] LT',\n lastWeek: 'dddd [diwethaf am] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'mewn %s',\n past: '%s yn ôl',\n s: 'ychydig eiliadau',\n ss: '%d eiliad',\n m: 'munud',\n mm: '%d munud',\n h: 'awr',\n hh: '%d awr',\n d: 'diwrnod',\n dd: '%d diwrnod',\n M: 'mis',\n MM: '%d mis',\n y: 'blwyddyn',\n yy: '%d flynedd',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,\n // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh\n ordinal: function (number) {\n var b = number,\n output = '',\n lookup = [\n '',\n 'af',\n 'il',\n 'ydd',\n 'ydd',\n 'ed',\n 'ed',\n 'ed',\n 'fed',\n 'fed',\n 'fed', // 1af to 10fed\n 'eg',\n 'fed',\n 'eg',\n 'eg',\n 'fed',\n 'eg',\n 'eg',\n 'fed',\n 'eg',\n 'fed', // 11eg to 20fed\n ];\n if (b > 20) {\n if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {\n output = 'fed'; // not 30ain, 70ain or 90ain\n } else {\n output = 'ain';\n }\n } else if (b > 0) {\n output = lookup[b];\n }\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return cy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Danish [da]\n//! author : Ulrik Nielsen : https://github.com/mrbase\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var da = moment.defineLocale('da', {\n months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(\n '_'\n ),\n monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),\n weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),\n weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY HH:mm',\n LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',\n },\n calendar: {\n sameDay: '[i dag kl.] LT',\n nextDay: '[i morgen kl.] LT',\n nextWeek: 'på dddd [kl.] LT',\n lastDay: '[i går kl.] LT',\n lastWeek: '[i] dddd[s kl.] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'om %s',\n past: '%s siden',\n s: 'få sekunder',\n ss: '%d sekunder',\n m: 'et minut',\n mm: '%d minutter',\n h: 'en time',\n hh: '%d timer',\n d: 'en dag',\n dd: '%d dage',\n M: 'en måned',\n MM: '%d måneder',\n y: 'et år',\n yy: '%d år',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return da;\n\n})));\n","//! moment.js locale configuration\n//! locale : German [de]\n//! author : lluchs : https://github.com/lluchs\n//! author: Menelion Elensúle: https://github.com/Oire\n//! author : Mikolaj Dadela : https://github.com/mik01aj\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n m: ['eine Minute', 'einer Minute'],\n h: ['eine Stunde', 'einer Stunde'],\n d: ['ein Tag', 'einem Tag'],\n dd: [number + ' Tage', number + ' Tagen'],\n M: ['ein Monat', 'einem Monat'],\n MM: [number + ' Monate', number + ' Monaten'],\n y: ['ein Jahr', 'einem Jahr'],\n yy: [number + ' Jahre', number + ' Jahren'],\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var de = moment.defineLocale('de', {\n months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n '_'\n ),\n monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(\n '_'\n ),\n weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),\n weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY HH:mm',\n LLLL: 'dddd, D. MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[heute um] LT [Uhr]',\n sameElse: 'L',\n nextDay: '[morgen um] LT [Uhr]',\n nextWeek: 'dddd [um] LT [Uhr]',\n lastDay: '[gestern um] LT [Uhr]',\n lastWeek: '[letzten] dddd [um] LT [Uhr]',\n },\n relativeTime: {\n future: 'in %s',\n past: 'vor %s',\n s: 'ein paar Sekunden',\n ss: '%d Sekunden',\n m: processRelativeTime,\n mm: '%d Minuten',\n h: processRelativeTime,\n hh: '%d Stunden',\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return de;\n\n})));\n","//! moment.js locale configuration\n//! locale : German (Austria) [de-at]\n//! author : lluchs : https://github.com/lluchs\n//! author: Menelion Elensúle: https://github.com/Oire\n//! author : Martin Groller : https://github.com/MadMG\n//! author : Mikolaj Dadela : https://github.com/mik01aj\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n m: ['eine Minute', 'einer Minute'],\n h: ['eine Stunde', 'einer Stunde'],\n d: ['ein Tag', 'einem Tag'],\n dd: [number + ' Tage', number + ' Tagen'],\n M: ['ein Monat', 'einem Monat'],\n MM: [number + ' Monate', number + ' Monaten'],\n y: ['ein Jahr', 'einem Jahr'],\n yy: [number + ' Jahre', number + ' Jahren'],\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var deAt = moment.defineLocale('de-at', {\n months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n '_'\n ),\n monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(\n '_'\n ),\n weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),\n weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY HH:mm',\n LLLL: 'dddd, D. MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[heute um] LT [Uhr]',\n sameElse: 'L',\n nextDay: '[morgen um] LT [Uhr]',\n nextWeek: 'dddd [um] LT [Uhr]',\n lastDay: '[gestern um] LT [Uhr]',\n lastWeek: '[letzten] dddd [um] LT [Uhr]',\n },\n relativeTime: {\n future: 'in %s',\n past: 'vor %s',\n s: 'ein paar Sekunden',\n ss: '%d Sekunden',\n m: processRelativeTime,\n mm: '%d Minuten',\n h: processRelativeTime,\n hh: '%d Stunden',\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return deAt;\n\n})));\n","//! moment.js locale configuration\n//! locale : German (Switzerland) [de-ch]\n//! author : sschueller : https://github.com/sschueller\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n m: ['eine Minute', 'einer Minute'],\n h: ['eine Stunde', 'einer Stunde'],\n d: ['ein Tag', 'einem Tag'],\n dd: [number + ' Tage', number + ' Tagen'],\n M: ['ein Monat', 'einem Monat'],\n MM: [number + ' Monate', number + ' Monaten'],\n y: ['ein Jahr', 'einem Jahr'],\n yy: [number + ' Jahre', number + ' Jahren'],\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n\n var deCh = moment.defineLocale('de-ch', {\n months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n '_'\n ),\n monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(\n '_'\n ),\n weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY HH:mm',\n LLLL: 'dddd, D. MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[heute um] LT [Uhr]',\n sameElse: 'L',\n nextDay: '[morgen um] LT [Uhr]',\n nextWeek: 'dddd [um] LT [Uhr]',\n lastDay: '[gestern um] LT [Uhr]',\n lastWeek: '[letzten] dddd [um] LT [Uhr]',\n },\n relativeTime: {\n future: 'in %s',\n past: 'vor %s',\n s: 'ein paar Sekunden',\n ss: '%d Sekunden',\n m: processRelativeTime,\n mm: '%d Minuten',\n h: processRelativeTime,\n hh: '%d Stunden',\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return deCh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Maldivian [dv]\n//! author : Jawish Hameed : https://github.com/jawish\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months = [\n 'ޖެނުއަރީ',\n 'ފެބްރުއަރީ',\n 'މާރިޗު',\n 'އޭޕްރީލު',\n 'މޭ',\n 'ޖޫން',\n 'ޖުލައި',\n 'އޯގަސްޓު',\n 'ސެޕްޓެމްބަރު',\n 'އޮކްޓޯބަރު',\n 'ނޮވެމްބަރު',\n 'ޑިސެމްބަރު',\n ],\n weekdays = [\n 'އާދިއްތަ',\n 'ހޯމަ',\n 'އަންގާރަ',\n 'ބުދަ',\n 'ބުރާސްފަތި',\n 'ހުކުރު',\n 'ހޮނިހިރު',\n ];\n\n var dv = moment.defineLocale('dv', {\n months: months,\n monthsShort: months,\n weekdays: weekdays,\n weekdaysShort: weekdays,\n weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'D/M/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n meridiemParse: /މކ|މފ/,\n isPM: function (input) {\n return 'މފ' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'މކ';\n } else {\n return 'މފ';\n }\n },\n calendar: {\n sameDay: '[މިއަދު] LT',\n nextDay: '[މާދަމާ] LT',\n nextWeek: 'dddd LT',\n lastDay: '[އިއްޔެ] LT',\n lastWeek: '[ފާއިތުވި] dddd LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'ތެރޭގައި %s',\n past: 'ކުރިން %s',\n s: 'ސިކުންތުކޮޅެއް',\n ss: 'd% ސިކުންތު',\n m: 'މިނިޓެއް',\n mm: 'މިނިޓު %d',\n h: 'ގަޑިއިރެއް',\n hh: 'ގަޑިއިރު %d',\n d: 'ދުވަހެއް',\n dd: 'ދުވަސް %d',\n M: 'މަހެއް',\n MM: 'މަސް %d',\n y: 'އަހަރެއް',\n yy: 'އަހަރު %d',\n },\n preparse: function (string) {\n return string.replace(/،/g, ',');\n },\n postformat: function (string) {\n return string.replace(/,/g, '،');\n },\n week: {\n dow: 7, // Sunday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return dv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Greek [el]\n//! author : Aggelos Karalias : https://github.com/mehiel\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function isFunction(input) {\n return (\n (typeof Function !== 'undefined' && input instanceof Function) ||\n Object.prototype.toString.call(input) === '[object Function]'\n );\n }\n\n var el = moment.defineLocale('el', {\n monthsNominativeEl: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split(\n '_'\n ),\n monthsGenitiveEl: 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split(\n '_'\n ),\n months: function (momentToFormat, format) {\n if (!momentToFormat) {\n return this._monthsNominativeEl;\n } else if (\n typeof format === 'string' &&\n /D/.test(format.substring(0, format.indexOf('MMMM')))\n ) {\n // if there is a day number before 'MMMM'\n return this._monthsGenitiveEl[momentToFormat.month()];\n } else {\n return this._monthsNominativeEl[momentToFormat.month()];\n }\n },\n monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),\n weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split(\n '_'\n ),\n weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),\n weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),\n meridiem: function (hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'μμ' : 'ΜΜ';\n } else {\n return isLower ? 'πμ' : 'ΠΜ';\n }\n },\n isPM: function (input) {\n return (input + '').toLowerCase()[0] === 'μ';\n },\n meridiemParse: /[ΠΜ]\\.?Μ?\\.?/i,\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A',\n },\n calendarEl: {\n sameDay: '[Σήμερα {}] LT',\n nextDay: '[Αύριο {}] LT',\n nextWeek: 'dddd [{}] LT',\n lastDay: '[Χθες {}] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 6:\n return '[το προηγούμενο] dddd [{}] LT';\n default:\n return '[την προηγούμενη] dddd [{}] LT';\n }\n },\n sameElse: 'L',\n },\n calendar: function (key, mom) {\n var output = this._calendarEl[key],\n hours = mom && mom.hours();\n if (isFunction(output)) {\n output = output.apply(mom);\n }\n return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');\n },\n relativeTime: {\n future: 'σε %s',\n past: '%s πριν',\n s: 'λίγα δευτερόλεπτα',\n ss: '%d δευτερόλεπτα',\n m: 'ένα λεπτό',\n mm: '%d λεπτά',\n h: 'μία ώρα',\n hh: '%d ώρες',\n d: 'μία μέρα',\n dd: '%d μέρες',\n M: 'ένας μήνας',\n MM: '%d μήνες',\n y: 'ένας χρόνος',\n yy: '%d χρόνια',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}η/,\n ordinal: '%dη',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4st is the first week of the year.\n },\n });\n\n return el;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Australia) [en-au]\n//! author : Jared Morse : https://github.com/jarcoal\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enAu = moment.defineLocale('en-au', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return enAu;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Canada) [en-ca]\n//! author : Jonathan Abourbih : https://github.com/jonbca\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enCa = moment.defineLocale('en-ca', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'YYYY-MM-DD',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY h:mm A',\n LLLL: 'dddd, MMMM D, YYYY h:mm A',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n });\n\n return enCa;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (United Kingdom) [en-gb]\n//! author : Chris Gedrim : https://github.com/chrisgedrim\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enGb = moment.defineLocale('en-gb', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return enGb;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Ireland) [en-ie]\n//! author : Chris Cartlidge : https://github.com/chriscartlidge\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enIe = moment.defineLocale('en-ie', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return enIe;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Israel) [en-il]\n//! author : Chris Gedrim : https://github.com/chrisgedrim\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enIl = moment.defineLocale('en-il', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n });\n\n return enIl;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (India) [en-in]\n//! author : Jatin Agrawal : https://github.com/jatinag22\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enIn = moment.defineLocale('en-in', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 1st is the first week of the year.\n },\n });\n\n return enIn;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (New Zealand) [en-nz]\n//! author : Luke McGregor : https://github.com/lukemcgregor\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enNz = moment.defineLocale('en-nz', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return enNz;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Singapore) [en-sg]\n//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var enSg = moment.defineLocale('en-sg', {\n months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n '_'\n ),\n weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return enSg;\n\n})));\n","//! moment.js locale configuration\n//! locale : Esperanto [eo]\n//! author : Colin Dean : https://github.com/colindean\n//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia\n//! comment : miestasmia corrected the translation by colindean\n//! comment : Vivakvo corrected the translation by colindean and miestasmia\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var eo = moment.defineLocale('eo', {\n months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(\n '_'\n ),\n monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),\n weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),\n weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),\n weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: '[la] D[-an de] MMMM, YYYY',\n LLL: '[la] D[-an de] MMMM, YYYY HH:mm',\n LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',\n llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',\n },\n meridiemParse: /[ap]\\.t\\.m/i,\n isPM: function (input) {\n return input.charAt(0).toLowerCase() === 'p';\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'p.t.m.' : 'P.T.M.';\n } else {\n return isLower ? 'a.t.m.' : 'A.T.M.';\n }\n },\n calendar: {\n sameDay: '[Hodiaŭ je] LT',\n nextDay: '[Morgaŭ je] LT',\n nextWeek: 'dddd[n je] LT',\n lastDay: '[Hieraŭ je] LT',\n lastWeek: '[pasintan] dddd[n je] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'post %s',\n past: 'antaŭ %s',\n s: 'kelkaj sekundoj',\n ss: '%d sekundoj',\n m: 'unu minuto',\n mm: '%d minutoj',\n h: 'unu horo',\n hh: '%d horoj',\n d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo\n dd: '%d tagoj',\n M: 'unu monato',\n MM: '%d monatoj',\n y: 'unu jaro',\n yy: '%d jaroj',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}a/,\n ordinal: '%da',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return eo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish [es]\n//! author : Julio Napurí : https://github.com/julionc\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n '_'\n ),\n monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n monthsParse = [\n /^ene/i,\n /^feb/i,\n /^mar/i,\n /^abr/i,\n /^may/i,\n /^jun/i,\n /^jul/i,\n /^ago/i,\n /^sep/i,\n /^oct/i,\n /^nov/i,\n /^dic/i,\n ],\n monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n var es = moment.defineLocale('es', {\n months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortDot;\n } else if (/-MMM-/.test(format)) {\n return monthsShort[m.month()];\n } else {\n return monthsShortDot[m.month()];\n }\n },\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n monthsShortStrictRegex: /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY H:mm',\n LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',\n },\n calendar: {\n sameDay: function () {\n return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextDay: function () {\n return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextWeek: function () {\n return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastDay: function () {\n return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastWeek: function () {\n return (\n '[el] dddd [pasado a la' +\n (this.hours() !== 1 ? 's' : '') +\n '] LT'\n );\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'en %s',\n past: 'hace %s',\n s: 'unos segundos',\n ss: '%d segundos',\n m: 'un minuto',\n mm: '%d minutos',\n h: 'una hora',\n hh: '%d horas',\n d: 'un día',\n dd: '%d días',\n M: 'un mes',\n MM: '%d meses',\n y: 'un año',\n yy: '%d años',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n invalidDate: 'Fecha invalida',\n });\n\n return es;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish (Dominican Republic) [es-do]\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n '_'\n ),\n monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n monthsParse = [\n /^ene/i,\n /^feb/i,\n /^mar/i,\n /^abr/i,\n /^may/i,\n /^jun/i,\n /^jul/i,\n /^ago/i,\n /^sep/i,\n /^oct/i,\n /^nov/i,\n /^dic/i,\n ],\n monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n var esDo = moment.defineLocale('es-do', {\n months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortDot;\n } else if (/-MMM-/.test(format)) {\n return monthsShort[m.month()];\n } else {\n return monthsShortDot[m.month()];\n }\n },\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n monthsShortStrictRegex: /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY h:mm A',\n LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',\n },\n calendar: {\n sameDay: function () {\n return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextDay: function () {\n return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextWeek: function () {\n return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastDay: function () {\n return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastWeek: function () {\n return (\n '[el] dddd [pasado a la' +\n (this.hours() !== 1 ? 's' : '') +\n '] LT'\n );\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'en %s',\n past: 'hace %s',\n s: 'unos segundos',\n ss: '%d segundos',\n m: 'un minuto',\n mm: '%d minutos',\n h: 'una hora',\n hh: '%d horas',\n d: 'un día',\n dd: '%d días',\n M: 'un mes',\n MM: '%d meses',\n y: 'un año',\n yy: '%d años',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return esDo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish (United States) [es-us]\n//! author : bustta : https://github.com/bustta\n//! author : chrisrodz : https://github.com/chrisrodz\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n '_'\n ),\n monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n monthsParse = [\n /^ene/i,\n /^feb/i,\n /^mar/i,\n /^abr/i,\n /^may/i,\n /^jun/i,\n /^jul/i,\n /^ago/i,\n /^sep/i,\n /^oct/i,\n /^nov/i,\n /^dic/i,\n ],\n monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n var esUs = moment.defineLocale('es-us', {\n months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortDot;\n } else if (/-MMM-/.test(format)) {\n return monthsShort[m.month()];\n } else {\n return monthsShortDot[m.month()];\n }\n },\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n monthsShortStrictRegex: /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'MM/DD/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY h:mm A',\n LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',\n },\n calendar: {\n sameDay: function () {\n return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextDay: function () {\n return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n nextWeek: function () {\n return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastDay: function () {\n return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n },\n lastWeek: function () {\n return (\n '[el] dddd [pasado a la' +\n (this.hours() !== 1 ? 's' : '') +\n '] LT'\n );\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'en %s',\n past: 'hace %s',\n s: 'unos segundos',\n ss: '%d segundos',\n m: 'un minuto',\n mm: '%d minutos',\n h: 'una hora',\n hh: '%d horas',\n d: 'un día',\n dd: '%d días',\n M: 'un mes',\n MM: '%d meses',\n y: 'un año',\n yy: '%d años',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return esUs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Estonian [et]\n//! author : Henry Kehlmann : https://github.com/madhenry\n//! improvements : Illimar Tambek : https://github.com/ragulka\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],\n ss: [number + 'sekundi', number + 'sekundit'],\n m: ['ühe minuti', 'üks minut'],\n mm: [number + ' minuti', number + ' minutit'],\n h: ['ühe tunni', 'tund aega', 'üks tund'],\n hh: [number + ' tunni', number + ' tundi'],\n d: ['ühe päeva', 'üks päev'],\n M: ['kuu aja', 'kuu aega', 'üks kuu'],\n MM: [number + ' kuu', number + ' kuud'],\n y: ['ühe aasta', 'aasta', 'üks aasta'],\n yy: [number + ' aasta', number + ' aastat'],\n };\n if (withoutSuffix) {\n return format[key][2] ? format[key][2] : format[key][1];\n }\n return isFuture ? format[key][0] : format[key][1];\n }\n\n var et = moment.defineLocale('et', {\n months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split(\n '_'\n ),\n monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split(\n '_'\n ),\n weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split(\n '_'\n ),\n weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),\n weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[Täna,] LT',\n nextDay: '[Homme,] LT',\n nextWeek: '[Järgmine] dddd LT',\n lastDay: '[Eile,] LT',\n lastWeek: '[Eelmine] dddd LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s pärast',\n past: '%s tagasi',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: '%d päeva',\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return et;\n\n})));\n","//! moment.js locale configuration\n//! locale : Basque [eu]\n//! author : Eneko Illarramendi : https://github.com/eillarra\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var eu = moment.defineLocale('eu', {\n months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(\n '_'\n ),\n monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split(\n '_'\n ),\n weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),\n weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY[ko] MMMM[ren] D[a]',\n LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',\n LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',\n l: 'YYYY-M-D',\n ll: 'YYYY[ko] MMM D[a]',\n lll: 'YYYY[ko] MMM D[a] HH:mm',\n llll: 'ddd, YYYY[ko] MMM D[a] HH:mm',\n },\n calendar: {\n sameDay: '[gaur] LT[etan]',\n nextDay: '[bihar] LT[etan]',\n nextWeek: 'dddd LT[etan]',\n lastDay: '[atzo] LT[etan]',\n lastWeek: '[aurreko] dddd LT[etan]',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s barru',\n past: 'duela %s',\n s: 'segundo batzuk',\n ss: '%d segundo',\n m: 'minutu bat',\n mm: '%d minutu',\n h: 'ordu bat',\n hh: '%d ordu',\n d: 'egun bat',\n dd: '%d egun',\n M: 'hilabete bat',\n MM: '%d hilabete',\n y: 'urte bat',\n yy: '%d urte',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return eu;\n\n})));\n","//! moment.js locale configuration\n//! locale : Persian [fa]\n//! author : Ebrahim Byagowi : https://github.com/ebraminio\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '۱',\n '2': '۲',\n '3': '۳',\n '4': '۴',\n '5': '۵',\n '6': '۶',\n '7': '۷',\n '8': '۸',\n '9': '۹',\n '0': '۰',\n },\n numberMap = {\n '۱': '1',\n '۲': '2',\n '۳': '3',\n '۴': '4',\n '۵': '5',\n '۶': '6',\n '۷': '7',\n '۸': '8',\n '۹': '9',\n '۰': '0',\n };\n\n var fa = moment.defineLocale('fa', {\n months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(\n '_'\n ),\n monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(\n '_'\n ),\n weekdays: 'یک\\u200cشنبه_دوشنبه_سه\\u200cشنبه_چهارشنبه_پنج\\u200cشنبه_جمعه_شنبه'.split(\n '_'\n ),\n weekdaysShort: 'یک\\u200cشنبه_دوشنبه_سه\\u200cشنبه_چهارشنبه_پنج\\u200cشنبه_جمعه_شنبه'.split(\n '_'\n ),\n weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n meridiemParse: /قبل از ظهر|بعد از ظهر/,\n isPM: function (input) {\n return /بعد از ظهر/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'قبل از ظهر';\n } else {\n return 'بعد از ظهر';\n }\n },\n calendar: {\n sameDay: '[امروز ساعت] LT',\n nextDay: '[فردا ساعت] LT',\n nextWeek: 'dddd [ساعت] LT',\n lastDay: '[دیروز ساعت] LT',\n lastWeek: 'dddd [پیش] [ساعت] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'در %s',\n past: '%s پیش',\n s: 'چند ثانیه',\n ss: '%d ثانیه',\n m: 'یک دقیقه',\n mm: '%d دقیقه',\n h: 'یک ساعت',\n hh: '%d ساعت',\n d: 'یک روز',\n dd: '%d روز',\n M: 'یک ماه',\n MM: '%d ماه',\n y: 'یک سال',\n yy: '%d سال',\n },\n preparse: function (string) {\n return string\n .replace(/[۰-۹]/g, function (match) {\n return numberMap[match];\n })\n .replace(/،/g, ',');\n },\n postformat: function (string) {\n return string\n .replace(/\\d/g, function (match) {\n return symbolMap[match];\n })\n .replace(/,/g, '،');\n },\n dayOfMonthOrdinalParse: /\\d{1,2}م/,\n ordinal: '%dم',\n week: {\n dow: 6, // Saturday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return fa;\n\n})));\n","//! moment.js locale configuration\n//! locale : Finnish [fi]\n//! author : Tarmo Aidantausta : https://github.com/bleadof\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(\n ' '\n ),\n numbersFuture = [\n 'nolla',\n 'yhden',\n 'kahden',\n 'kolmen',\n 'neljän',\n 'viiden',\n 'kuuden',\n numbersPast[7],\n numbersPast[8],\n numbersPast[9],\n ];\n function translate(number, withoutSuffix, key, isFuture) {\n var result = '';\n switch (key) {\n case 's':\n return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';\n case 'ss':\n return isFuture ? 'sekunnin' : 'sekuntia';\n case 'm':\n return isFuture ? 'minuutin' : 'minuutti';\n case 'mm':\n result = isFuture ? 'minuutin' : 'minuuttia';\n break;\n case 'h':\n return isFuture ? 'tunnin' : 'tunti';\n case 'hh':\n result = isFuture ? 'tunnin' : 'tuntia';\n break;\n case 'd':\n return isFuture ? 'päivän' : 'päivä';\n case 'dd':\n result = isFuture ? 'päivän' : 'päivää';\n break;\n case 'M':\n return isFuture ? 'kuukauden' : 'kuukausi';\n case 'MM':\n result = isFuture ? 'kuukauden' : 'kuukautta';\n break;\n case 'y':\n return isFuture ? 'vuoden' : 'vuosi';\n case 'yy':\n result = isFuture ? 'vuoden' : 'vuotta';\n break;\n }\n result = verbalNumber(number, isFuture) + ' ' + result;\n return result;\n }\n function verbalNumber(number, isFuture) {\n return number < 10\n ? isFuture\n ? numbersFuture[number]\n : numbersPast[number]\n : number;\n }\n\n var fi = moment.defineLocale('fi', {\n months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split(\n '_'\n ),\n monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split(\n '_'\n ),\n weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split(\n '_'\n ),\n weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),\n weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD.MM.YYYY',\n LL: 'Do MMMM[ta] YYYY',\n LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',\n LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',\n l: 'D.M.YYYY',\n ll: 'Do MMM YYYY',\n lll: 'Do MMM YYYY, [klo] HH.mm',\n llll: 'ddd, Do MMM YYYY, [klo] HH.mm',\n },\n calendar: {\n sameDay: '[tänään] [klo] LT',\n nextDay: '[huomenna] [klo] LT',\n nextWeek: 'dddd [klo] LT',\n lastDay: '[eilen] [klo] LT',\n lastWeek: '[viime] dddd[na] [klo] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s päästä',\n past: '%s sitten',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return fi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Filipino [fil]\n//! author : Dan Hagman : https://github.com/hagmandan\n//! author : Matthew Co : https://github.com/matthewdeeco\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var fil = moment.defineLocale('fil', {\n months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(\n '_'\n ),\n monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),\n weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(\n '_'\n ),\n weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),\n weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'MM/D/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY HH:mm',\n LLLL: 'dddd, MMMM DD, YYYY HH:mm',\n },\n calendar: {\n sameDay: 'LT [ngayong araw]',\n nextDay: '[Bukas ng] LT',\n nextWeek: 'LT [sa susunod na] dddd',\n lastDay: 'LT [kahapon]',\n lastWeek: 'LT [noong nakaraang] dddd',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'sa loob ng %s',\n past: '%s ang nakalipas',\n s: 'ilang segundo',\n ss: '%d segundo',\n m: 'isang minuto',\n mm: '%d minuto',\n h: 'isang oras',\n hh: '%d oras',\n d: 'isang araw',\n dd: '%d araw',\n M: 'isang buwan',\n MM: '%d buwan',\n y: 'isang taon',\n yy: '%d taon',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}/,\n ordinal: function (number) {\n return number;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return fil;\n\n})));\n","//! moment.js locale configuration\n//! locale : Faroese [fo]\n//! author : Ragnar Johannesen : https://github.com/ragnar123\n//! author : Kristian Sakarisson : https://github.com/sakarisson\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var fo = moment.defineLocale('fo', {\n months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(\n '_'\n ),\n monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),\n weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split(\n '_'\n ),\n weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),\n weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D. MMMM, YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Í dag kl.] LT',\n nextDay: '[Í morgin kl.] LT',\n nextWeek: 'dddd [kl.] LT',\n lastDay: '[Í gjár kl.] LT',\n lastWeek: '[síðstu] dddd [kl] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'um %s',\n past: '%s síðani',\n s: 'fá sekund',\n ss: '%d sekundir',\n m: 'ein minuttur',\n mm: '%d minuttir',\n h: 'ein tími',\n hh: '%d tímar',\n d: 'ein dagur',\n dd: '%d dagar',\n M: 'ein mánaður',\n MM: '%d mánaðir',\n y: 'eitt ár',\n yy: '%d ár',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return fo;\n\n})));\n","//! moment.js locale configuration\n//! locale : French [fr]\n//! author : John Fischer : https://github.com/jfroffice\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var fr = moment.defineLocale('fr', {\n months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(\n '_'\n ),\n monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Aujourd’hui à] LT',\n nextDay: '[Demain à] LT',\n nextWeek: 'dddd [à] LT',\n lastDay: '[Hier à] LT',\n lastWeek: 'dddd [dernier à] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dans %s',\n past: 'il y a %s',\n s: 'quelques secondes',\n ss: '%d secondes',\n m: 'une minute',\n mm: '%d minutes',\n h: 'une heure',\n hh: '%d heures',\n d: 'un jour',\n dd: '%d jours',\n M: 'un mois',\n MM: '%d mois',\n y: 'un an',\n yy: '%d ans',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(er|)/,\n ordinal: function (number, period) {\n switch (period) {\n // TODO: Return 'e' when day of month > 1. Move this case inside\n // block for masculine words below.\n // See https://github.com/moment/moment/issues/3375\n case 'D':\n return number + (number === 1 ? 'er' : '');\n\n // Words with masculine grammatical gender: mois, trimestre, jour\n default:\n case 'M':\n case 'Q':\n case 'DDD':\n case 'd':\n return number + (number === 1 ? 'er' : 'e');\n\n // Words with feminine grammatical gender: semaine\n case 'w':\n case 'W':\n return number + (number === 1 ? 're' : 'e');\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return fr;\n\n})));\n","//! moment.js locale configuration\n//! locale : French (Canada) [fr-ca]\n//! author : Jonathan Abourbih : https://github.com/jonbca\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var frCa = moment.defineLocale('fr-ca', {\n months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(\n '_'\n ),\n monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Aujourd’hui à] LT',\n nextDay: '[Demain à] LT',\n nextWeek: 'dddd [à] LT',\n lastDay: '[Hier à] LT',\n lastWeek: 'dddd [dernier à] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dans %s',\n past: 'il y a %s',\n s: 'quelques secondes',\n ss: '%d secondes',\n m: 'une minute',\n mm: '%d minutes',\n h: 'une heure',\n hh: '%d heures',\n d: 'un jour',\n dd: '%d jours',\n M: 'un mois',\n MM: '%d mois',\n y: 'un an',\n yy: '%d ans',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(er|e)/,\n ordinal: function (number, period) {\n switch (period) {\n // Words with masculine grammatical gender: mois, trimestre, jour\n default:\n case 'M':\n case 'Q':\n case 'D':\n case 'DDD':\n case 'd':\n return number + (number === 1 ? 'er' : 'e');\n\n // Words with feminine grammatical gender: semaine\n case 'w':\n case 'W':\n return number + (number === 1 ? 're' : 'e');\n }\n },\n });\n\n return frCa;\n\n})));\n","//! moment.js locale configuration\n//! locale : French (Switzerland) [fr-ch]\n//! author : Gaspard Bucher : https://github.com/gaspard\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var frCh = moment.defineLocale('fr-ch', {\n months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(\n '_'\n ),\n monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Aujourd’hui à] LT',\n nextDay: '[Demain à] LT',\n nextWeek: 'dddd [à] LT',\n lastDay: '[Hier à] LT',\n lastWeek: 'dddd [dernier à] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dans %s',\n past: 'il y a %s',\n s: 'quelques secondes',\n ss: '%d secondes',\n m: 'une minute',\n mm: '%d minutes',\n h: 'une heure',\n hh: '%d heures',\n d: 'un jour',\n dd: '%d jours',\n M: 'un mois',\n MM: '%d mois',\n y: 'un an',\n yy: '%d ans',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(er|e)/,\n ordinal: function (number, period) {\n switch (period) {\n // Words with masculine grammatical gender: mois, trimestre, jour\n default:\n case 'M':\n case 'Q':\n case 'D':\n case 'DDD':\n case 'd':\n return number + (number === 1 ? 'er' : 'e');\n\n // Words with feminine grammatical gender: semaine\n case 'w':\n case 'W':\n return number + (number === 1 ? 're' : 'e');\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return frCh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Frisian [fy]\n//! author : Robin van der Vliet : https://github.com/robin0van0der0v\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split(\n '_'\n ),\n monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split(\n '_'\n );\n\n var fy = moment.defineLocale('fy', {\n months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n monthsParseExact: true,\n weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(\n '_'\n ),\n weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),\n weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD-MM-YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[hjoed om] LT',\n nextDay: '[moarn om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[juster om] LT',\n lastWeek: '[ôfrûne] dddd [om] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'oer %s',\n past: '%s lyn',\n s: 'in pear sekonden',\n ss: '%d sekonden',\n m: 'ien minút',\n mm: '%d minuten',\n h: 'ien oere',\n hh: '%d oeren',\n d: 'ien dei',\n dd: '%d dagen',\n M: 'ien moanne',\n MM: '%d moannen',\n y: 'ien jier',\n yy: '%d jierren',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal: function (number) {\n return (\n number +\n (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n );\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return fy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Irish or Irish Gaelic [ga]\n//! author : André Silva : https://github.com/askpt\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months = [\n 'Eanáir',\n 'Feabhra',\n 'Márta',\n 'Aibreán',\n 'Bealtaine',\n 'Meitheamh',\n 'Iúil',\n 'Lúnasa',\n 'Meán Fómhair',\n 'Deireadh Fómhair',\n 'Samhain',\n 'Nollaig',\n ],\n monthsShort = [\n 'Ean',\n 'Feabh',\n 'Márt',\n 'Aib',\n 'Beal',\n 'Meith',\n 'Iúil',\n 'Lún',\n 'M.F.',\n 'D.F.',\n 'Samh',\n 'Noll',\n ],\n weekdays = [\n 'Dé Domhnaigh',\n 'Dé Luain',\n 'Dé Máirt',\n 'Dé Céadaoin',\n 'Déardaoin',\n 'Dé hAoine',\n 'Dé Sathairn',\n ],\n weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],\n weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];\n\n var ga = moment.defineLocale('ga', {\n months: months,\n monthsShort: monthsShort,\n monthsParseExact: true,\n weekdays: weekdays,\n weekdaysShort: weekdaysShort,\n weekdaysMin: weekdaysMin,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Inniu ag] LT',\n nextDay: '[Amárach ag] LT',\n nextWeek: 'dddd [ag] LT',\n lastDay: '[Inné ag] LT',\n lastWeek: 'dddd [seo caite] [ag] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'i %s',\n past: '%s ó shin',\n s: 'cúpla soicind',\n ss: '%d soicind',\n m: 'nóiméad',\n mm: '%d nóiméad',\n h: 'uair an chloig',\n hh: '%d uair an chloig',\n d: 'lá',\n dd: '%d lá',\n M: 'mí',\n MM: '%d míonna',\n y: 'bliain',\n yy: '%d bliain',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(d|na|mh)/,\n ordinal: function (number) {\n var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return ga;\n\n})));\n","//! moment.js locale configuration\n//! locale : Scottish Gaelic [gd]\n//! author : Jon Ashdown : https://github.com/jonashdown\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months = [\n 'Am Faoilleach',\n 'An Gearran',\n 'Am Màrt',\n 'An Giblean',\n 'An Cèitean',\n 'An t-Ògmhios',\n 'An t-Iuchar',\n 'An Lùnastal',\n 'An t-Sultain',\n 'An Dàmhair',\n 'An t-Samhain',\n 'An Dùbhlachd',\n ],\n monthsShort = [\n 'Faoi',\n 'Gear',\n 'Màrt',\n 'Gibl',\n 'Cèit',\n 'Ògmh',\n 'Iuch',\n 'Lùn',\n 'Sult',\n 'Dàmh',\n 'Samh',\n 'Dùbh',\n ],\n weekdays = [\n 'Didòmhnaich',\n 'Diluain',\n 'Dimàirt',\n 'Diciadain',\n 'Diardaoin',\n 'Dihaoine',\n 'Disathairne',\n ],\n weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],\n weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];\n\n var gd = moment.defineLocale('gd', {\n months: months,\n monthsShort: monthsShort,\n monthsParseExact: true,\n weekdays: weekdays,\n weekdaysShort: weekdaysShort,\n weekdaysMin: weekdaysMin,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[An-diugh aig] LT',\n nextDay: '[A-màireach aig] LT',\n nextWeek: 'dddd [aig] LT',\n lastDay: '[An-dè aig] LT',\n lastWeek: 'dddd [seo chaidh] [aig] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'ann an %s',\n past: 'bho chionn %s',\n s: 'beagan diogan',\n ss: '%d diogan',\n m: 'mionaid',\n mm: '%d mionaidean',\n h: 'uair',\n hh: '%d uairean',\n d: 'latha',\n dd: '%d latha',\n M: 'mìos',\n MM: '%d mìosan',\n y: 'bliadhna',\n yy: '%d bliadhna',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(d|na|mh)/,\n ordinal: function (number) {\n var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return gd;\n\n})));\n","//! moment.js locale configuration\n//! locale : Galician [gl]\n//! author : Juan G. Hurtado : https://github.com/juanghurtado\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var gl = moment.defineLocale('gl', {\n months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(\n '_'\n ),\n monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),\n weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),\n weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY H:mm',\n LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',\n },\n calendar: {\n sameDay: function () {\n return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';\n },\n nextDay: function () {\n return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';\n },\n nextWeek: function () {\n return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';\n },\n lastDay: function () {\n return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';\n },\n lastWeek: function () {\n return (\n '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'\n );\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: function (str) {\n if (str.indexOf('un') === 0) {\n return 'n' + str;\n }\n return 'en ' + str;\n },\n past: 'hai %s',\n s: 'uns segundos',\n ss: '%d segundos',\n m: 'un minuto',\n mm: '%d minutos',\n h: 'unha hora',\n hh: '%d horas',\n d: 'un día',\n dd: '%d días',\n M: 'un mes',\n MM: '%d meses',\n y: 'un ano',\n yy: '%d anos',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return gl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Konkani Devanagari script [gom-deva]\n//! author : The Discoverer : https://github.com/WikiDiscoverer\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'],\n ss: [number + ' सॅकंडांनी', number + ' सॅकंड'],\n m: ['एका मिणटान', 'एक मिनूट'],\n mm: [number + ' मिणटांनी', number + ' मिणटां'],\n h: ['एका वरान', 'एक वर'],\n hh: [number + ' वरांनी', number + ' वरां'],\n d: ['एका दिसान', 'एक दीस'],\n dd: [number + ' दिसांनी', number + ' दीस'],\n M: ['एका म्हयन्यान', 'एक म्हयनो'],\n MM: [number + ' म्हयन्यानी', number + ' म्हयने'],\n y: ['एका वर्सान', 'एक वर्स'],\n yy: [number + ' वर्सांनी', number + ' वर्सां'],\n };\n return isFuture ? format[key][0] : format[key][1];\n }\n\n var gomDeva = moment.defineLocale('gom-deva', {\n months: {\n standalone: 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(\n '_'\n ),\n format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split(\n '_'\n ),\n isFormat: /MMMM(\\s)+D[oD]?/,\n },\n monthsShort: 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'),\n weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'),\n weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'A h:mm [वाजतां]',\n LTS: 'A h:mm:ss [वाजतां]',\n L: 'DD-MM-YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY A h:mm [वाजतां]',\n LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]',\n llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]',\n },\n calendar: {\n sameDay: '[आयज] LT',\n nextDay: '[फाल्यां] LT',\n nextWeek: '[फुडलो] dddd[,] LT',\n lastDay: '[काल] LT',\n lastWeek: '[फाटलो] dddd[,] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s',\n past: '%s आदीं',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(वेर)/,\n ordinal: function (number, period) {\n switch (period) {\n // the ordinal 'वेर' only applies to day of the month\n case 'D':\n return number + 'वेर';\n default:\n case 'M':\n case 'Q':\n case 'DDD':\n case 'd':\n case 'w':\n case 'W':\n return number;\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'राती') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'सकाळीं') {\n return hour;\n } else if (meridiem === 'दनपारां') {\n return hour > 12 ? hour : hour + 12;\n } else if (meridiem === 'सांजे') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'राती';\n } else if (hour < 12) {\n return 'सकाळीं';\n } else if (hour < 16) {\n return 'दनपारां';\n } else if (hour < 20) {\n return 'सांजे';\n } else {\n return 'राती';\n }\n },\n });\n\n return gomDeva;\n\n})));\n","//! moment.js locale configuration\n//! locale : Konkani Latin script [gom-latn]\n//! author : The Discoverer : https://github.com/WikiDiscoverer\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n s: ['thoddea sekondamni', 'thodde sekond'],\n ss: [number + ' sekondamni', number + ' sekond'],\n m: ['eka mintan', 'ek minut'],\n mm: [number + ' mintamni', number + ' mintam'],\n h: ['eka voran', 'ek vor'],\n hh: [number + ' voramni', number + ' voram'],\n d: ['eka disan', 'ek dis'],\n dd: [number + ' disamni', number + ' dis'],\n M: ['eka mhoinean', 'ek mhoino'],\n MM: [number + ' mhoineamni', number + ' mhoine'],\n y: ['eka vorsan', 'ek voros'],\n yy: [number + ' vorsamni', number + ' vorsam'],\n };\n return isFuture ? format[key][0] : format[key][1];\n }\n\n var gomLatn = moment.defineLocale('gom-latn', {\n months: {\n standalone: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split(\n '_'\n ),\n format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split(\n '_'\n ),\n isFormat: /MMMM(\\s)+D[oD]?/,\n },\n monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: \"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var\".split('_'),\n weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),\n weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'A h:mm [vazta]',\n LTS: 'A h:mm:ss [vazta]',\n L: 'DD-MM-YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY A h:mm [vazta]',\n LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]',\n llll: 'ddd, D MMM YYYY, A h:mm [vazta]',\n },\n calendar: {\n sameDay: '[Aiz] LT',\n nextDay: '[Faleam] LT',\n nextWeek: '[Fuddlo] dddd[,] LT',\n lastDay: '[Kal] LT',\n lastWeek: '[Fattlo] dddd[,] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s',\n past: '%s adim',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(er)/,\n ordinal: function (number, period) {\n switch (period) {\n // the ordinal 'er' only applies to day of the month\n case 'D':\n return number + 'er';\n default:\n case 'M':\n case 'Q':\n case 'DDD':\n case 'd':\n case 'w':\n case 'W':\n return number;\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n meridiemParse: /rati|sokallim|donparam|sanje/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'rati') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'sokallim') {\n return hour;\n } else if (meridiem === 'donparam') {\n return hour > 12 ? hour : hour + 12;\n } else if (meridiem === 'sanje') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'rati';\n } else if (hour < 12) {\n return 'sokallim';\n } else if (hour < 16) {\n return 'donparam';\n } else if (hour < 20) {\n return 'sanje';\n } else {\n return 'rati';\n }\n },\n });\n\n return gomLatn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Gujarati [gu]\n//! author : Kaushik Thanki : https://github.com/Kaushik1987\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '૧',\n '2': '૨',\n '3': '૩',\n '4': '૪',\n '5': '૫',\n '6': '૬',\n '7': '૭',\n '8': '૮',\n '9': '૯',\n '0': '૦',\n },\n numberMap = {\n '૧': '1',\n '૨': '2',\n '૩': '3',\n '૪': '4',\n '૫': '5',\n '૬': '6',\n '૭': '7',\n '૮': '8',\n '૯': '9',\n '૦': '0',\n };\n\n var gu = moment.defineLocale('gu', {\n months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split(\n '_'\n ),\n monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split(\n '_'\n ),\n weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),\n weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm વાગ્યે',\n LTS: 'A h:mm:ss વાગ્યે',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm વાગ્યે',\n LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે',\n },\n calendar: {\n sameDay: '[આજ] LT',\n nextDay: '[કાલે] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[ગઇકાલે] LT',\n lastWeek: '[પાછલા] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s મા',\n past: '%s પેહલા',\n s: 'અમુક પળો',\n ss: '%d સેકંડ',\n m: 'એક મિનિટ',\n mm: '%d મિનિટ',\n h: 'એક કલાક',\n hh: '%d કલાક',\n d: 'એક દિવસ',\n dd: '%d દિવસ',\n M: 'એક મહિનો',\n MM: '%d મહિનો',\n y: 'એક વર્ષ',\n yy: '%d વર્ષ',\n },\n preparse: function (string) {\n return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Gujarati notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.\n meridiemParse: /રાત|બપોર|સવાર|સાંજ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'રાત') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'સવાર') {\n return hour;\n } else if (meridiem === 'બપોર') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'સાંજ') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'રાત';\n } else if (hour < 10) {\n return 'સવાર';\n } else if (hour < 17) {\n return 'બપોર';\n } else if (hour < 20) {\n return 'સાંજ';\n } else {\n return 'રાત';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return gu;\n\n})));\n","//! moment.js locale configuration\n//! locale : Hebrew [he]\n//! author : Tomer Cohen : https://github.com/tomer\n//! author : Moshe Simantov : https://github.com/DevelopmentIL\n//! author : Tal Ater : https://github.com/TalAter\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var he = moment.defineLocale('he', {\n months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(\n '_'\n ),\n monthsShort: 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split(\n '_'\n ),\n weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),\n weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),\n weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [ב]MMMM YYYY',\n LLL: 'D [ב]MMMM YYYY HH:mm',\n LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',\n l: 'D/M/YYYY',\n ll: 'D MMM YYYY',\n lll: 'D MMM YYYY HH:mm',\n llll: 'ddd, D MMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[היום ב־]LT',\n nextDay: '[מחר ב־]LT',\n nextWeek: 'dddd [בשעה] LT',\n lastDay: '[אתמול ב־]LT',\n lastWeek: '[ביום] dddd [האחרון בשעה] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'בעוד %s',\n past: 'לפני %s',\n s: 'מספר שניות',\n ss: '%d שניות',\n m: 'דקה',\n mm: '%d דקות',\n h: 'שעה',\n hh: function (number) {\n if (number === 2) {\n return 'שעתיים';\n }\n return number + ' שעות';\n },\n d: 'יום',\n dd: function (number) {\n if (number === 2) {\n return 'יומיים';\n }\n return number + ' ימים';\n },\n M: 'חודש',\n MM: function (number) {\n if (number === 2) {\n return 'חודשיים';\n }\n return number + ' חודשים';\n },\n y: 'שנה',\n yy: function (number) {\n if (number === 2) {\n return 'שנתיים';\n } else if (number % 10 === 0 && number !== 10) {\n return number + ' שנה';\n }\n return number + ' שנים';\n },\n },\n meridiemParse: /אחה\"צ|לפנה\"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,\n isPM: function (input) {\n return /^(אחה\"צ|אחרי הצהריים|בערב)$/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 5) {\n return 'לפנות בוקר';\n } else if (hour < 10) {\n return 'בבוקר';\n } else if (hour < 12) {\n return isLower ? 'לפנה\"צ' : 'לפני הצהריים';\n } else if (hour < 18) {\n return isLower ? 'אחה\"צ' : 'אחרי הצהריים';\n } else {\n return 'בערב';\n }\n },\n });\n\n return he;\n\n})));\n","//! moment.js locale configuration\n//! locale : Hindi [hi]\n//! author : Mayank Singhal : https://github.com/mayanksinghal\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': '७',\n '8': '८',\n '9': '९',\n '0': '०',\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0',\n };\n\n var hi = moment.defineLocale('hi', {\n months: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split(\n '_'\n ),\n monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),\n weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),\n weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),\n longDateFormat: {\n LT: 'A h:mm बजे',\n LTS: 'A h:mm:ss बजे',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm बजे',\n LLLL: 'dddd, D MMMM YYYY, A h:mm बजे',\n },\n calendar: {\n sameDay: '[आज] LT',\n nextDay: '[कल] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[कल] LT',\n lastWeek: '[पिछले] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s में',\n past: '%s पहले',\n s: 'कुछ ही क्षण',\n ss: '%d सेकंड',\n m: 'एक मिनट',\n mm: '%d मिनट',\n h: 'एक घंटा',\n hh: '%d घंटे',\n d: 'एक दिन',\n dd: '%d दिन',\n M: 'एक महीने',\n MM: '%d महीने',\n y: 'एक वर्ष',\n yy: '%d वर्ष',\n },\n preparse: function (string) {\n return string.replace(/[१२३४५६७८९०]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Hindi notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.\n meridiemParse: /रात|सुबह|दोपहर|शाम/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'रात') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'सुबह') {\n return hour;\n } else if (meridiem === 'दोपहर') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'शाम') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'रात';\n } else if (hour < 10) {\n return 'सुबह';\n } else if (hour < 17) {\n return 'दोपहर';\n } else if (hour < 20) {\n return 'शाम';\n } else {\n return 'रात';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return hi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Croatian [hr]\n//! author : Bojan Marković : https://github.com/bmarkovic\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function translate(number, withoutSuffix, key) {\n var result = number + ' ';\n switch (key) {\n case 'ss':\n if (number === 1) {\n result += 'sekunda';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sekunde';\n } else {\n result += 'sekundi';\n }\n return result;\n case 'm':\n return withoutSuffix ? 'jedna minuta' : 'jedne minute';\n case 'mm':\n if (number === 1) {\n result += 'minuta';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'minute';\n } else {\n result += 'minuta';\n }\n return result;\n case 'h':\n return withoutSuffix ? 'jedan sat' : 'jednog sata';\n case 'hh':\n if (number === 1) {\n result += 'sat';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'sata';\n } else {\n result += 'sati';\n }\n return result;\n case 'dd':\n if (number === 1) {\n result += 'dan';\n } else {\n result += 'dana';\n }\n return result;\n case 'MM':\n if (number === 1) {\n result += 'mjesec';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'mjeseca';\n } else {\n result += 'mjeseci';\n }\n return result;\n case 'yy':\n if (number === 1) {\n result += 'godina';\n } else if (number === 2 || number === 3 || number === 4) {\n result += 'godine';\n } else {\n result += 'godina';\n }\n return result;\n }\n }\n\n var hr = moment.defineLocale('hr', {\n months: {\n format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split(\n '_'\n ),\n standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split(\n '_'\n ),\n },\n monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(\n '_'\n ),\n weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'Do MMMM YYYY',\n LLL: 'Do MMMM YYYY H:mm',\n LLLL: 'dddd, Do MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[danas u] LT',\n nextDay: '[sutra u] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[u] [nedjelju] [u] LT';\n case 3:\n return '[u] [srijedu] [u] LT';\n case 6:\n return '[u] [subotu] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay: '[jučer u] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[prošlu] [nedjelju] [u] LT';\n case 3:\n return '[prošlu] [srijedu] [u] LT';\n case 6:\n return '[prošle] [subote] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[prošli] dddd [u] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: 'prije %s',\n s: 'par sekundi',\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: 'dan',\n dd: translate,\n M: 'mjesec',\n MM: translate,\n y: 'godinu',\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return hr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Hungarian [hu]\n//! author : Adam Brunner : https://github.com/adambrunner\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(\n ' '\n );\n function translate(number, withoutSuffix, key, isFuture) {\n var num = number;\n switch (key) {\n case 's':\n return isFuture || withoutSuffix\n ? 'néhány másodperc'\n : 'néhány másodperce';\n case 'ss':\n return num + (isFuture || withoutSuffix)\n ? ' másodperc'\n : ' másodperce';\n case 'm':\n return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');\n case 'mm':\n return num + (isFuture || withoutSuffix ? ' perc' : ' perce');\n case 'h':\n return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');\n case 'hh':\n return num + (isFuture || withoutSuffix ? ' óra' : ' órája');\n case 'd':\n return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');\n case 'dd':\n return num + (isFuture || withoutSuffix ? ' nap' : ' napja');\n case 'M':\n return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');\n case 'MM':\n return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');\n case 'y':\n return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');\n case 'yy':\n return num + (isFuture || withoutSuffix ? ' év' : ' éve');\n }\n return '';\n }\n function week(isFuture) {\n return (\n (isFuture ? '' : '[múlt] ') +\n '[' +\n weekEndings[this.day()] +\n '] LT[-kor]'\n );\n }\n\n var hu = moment.defineLocale('hu', {\n months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split(\n '_'\n ),\n monthsShort: 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split(\n '_'\n ),\n weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),\n weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),\n weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'YYYY.MM.DD.',\n LL: 'YYYY. MMMM D.',\n LLL: 'YYYY. MMMM D. H:mm',\n LLLL: 'YYYY. MMMM D., dddd H:mm',\n },\n meridiemParse: /de|du/i,\n isPM: function (input) {\n return input.charAt(1).toLowerCase() === 'u';\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 12) {\n return isLower === true ? 'de' : 'DE';\n } else {\n return isLower === true ? 'du' : 'DU';\n }\n },\n calendar: {\n sameDay: '[ma] LT[-kor]',\n nextDay: '[holnap] LT[-kor]',\n nextWeek: function () {\n return week.call(this, true);\n },\n lastDay: '[tegnap] LT[-kor]',\n lastWeek: function () {\n return week.call(this, false);\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s múlva',\n past: '%s',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return hu;\n\n})));\n","//! moment.js locale configuration\n//! locale : Armenian [hy-am]\n//! author : Armendarabyan : https://github.com/armendarabyan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var hyAm = moment.defineLocale('hy-am', {\n months: {\n format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split(\n '_'\n ),\n standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split(\n '_'\n ),\n },\n monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),\n weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split(\n '_'\n ),\n weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),\n weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY թ.',\n LLL: 'D MMMM YYYY թ., HH:mm',\n LLLL: 'dddd, D MMMM YYYY թ., HH:mm',\n },\n calendar: {\n sameDay: '[այսօր] LT',\n nextDay: '[վաղը] LT',\n lastDay: '[երեկ] LT',\n nextWeek: function () {\n return 'dddd [օրը ժամը] LT';\n },\n lastWeek: function () {\n return '[անցած] dddd [օրը ժամը] LT';\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s հետո',\n past: '%s առաջ',\n s: 'մի քանի վայրկյան',\n ss: '%d վայրկյան',\n m: 'րոպե',\n mm: '%d րոպե',\n h: 'ժամ',\n hh: '%d ժամ',\n d: 'օր',\n dd: '%d օր',\n M: 'ամիս',\n MM: '%d ամիս',\n y: 'տարի',\n yy: '%d տարի',\n },\n meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,\n isPM: function (input) {\n return /^(ցերեկվա|երեկոյան)$/.test(input);\n },\n meridiem: function (hour) {\n if (hour < 4) {\n return 'գիշերվա';\n } else if (hour < 12) {\n return 'առավոտվա';\n } else if (hour < 17) {\n return 'ցերեկվա';\n } else {\n return 'երեկոյան';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}|\\d{1,2}-(ին|րդ)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'DDD':\n case 'w':\n case 'W':\n case 'DDDo':\n if (number === 1) {\n return number + '-ին';\n }\n return number + '-րդ';\n default:\n return number;\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return hyAm;\n\n})));\n","//! moment.js locale configuration\n//! locale : Indonesian [id]\n//! author : Mohammad Satrio Utomo : https://github.com/tyok\n//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var id = moment.defineLocale('id', {\n months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),\n weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),\n weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),\n weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [pukul] HH.mm',\n LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n },\n meridiemParse: /pagi|siang|sore|malam/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'pagi') {\n return hour;\n } else if (meridiem === 'siang') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'sore' || meridiem === 'malam') {\n return hour + 12;\n }\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'pagi';\n } else if (hours < 15) {\n return 'siang';\n } else if (hours < 19) {\n return 'sore';\n } else {\n return 'malam';\n }\n },\n calendar: {\n sameDay: '[Hari ini pukul] LT',\n nextDay: '[Besok pukul] LT',\n nextWeek: 'dddd [pukul] LT',\n lastDay: '[Kemarin pukul] LT',\n lastWeek: 'dddd [lalu pukul] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dalam %s',\n past: '%s yang lalu',\n s: 'beberapa detik',\n ss: '%d detik',\n m: 'semenit',\n mm: '%d menit',\n h: 'sejam',\n hh: '%d jam',\n d: 'sehari',\n dd: '%d hari',\n M: 'sebulan',\n MM: '%d bulan',\n y: 'setahun',\n yy: '%d tahun',\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return id;\n\n})));\n","//! moment.js locale configuration\n//! locale : Icelandic [is]\n//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function plural(n) {\n if (n % 100 === 11) {\n return true;\n } else if (n % 10 === 1) {\n return false;\n }\n return true;\n }\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n switch (key) {\n case 's':\n return withoutSuffix || isFuture\n ? 'nokkrar sekúndur'\n : 'nokkrum sekúndum';\n case 'ss':\n if (plural(number)) {\n return (\n result +\n (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum')\n );\n }\n return result + 'sekúnda';\n case 'm':\n return withoutSuffix ? 'mínúta' : 'mínútu';\n case 'mm':\n if (plural(number)) {\n return (\n result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum')\n );\n } else if (withoutSuffix) {\n return result + 'mínúta';\n }\n return result + 'mínútu';\n case 'hh':\n if (plural(number)) {\n return (\n result +\n (withoutSuffix || isFuture\n ? 'klukkustundir'\n : 'klukkustundum')\n );\n }\n return result + 'klukkustund';\n case 'd':\n if (withoutSuffix) {\n return 'dagur';\n }\n return isFuture ? 'dag' : 'degi';\n case 'dd':\n if (plural(number)) {\n if (withoutSuffix) {\n return result + 'dagar';\n }\n return result + (isFuture ? 'daga' : 'dögum');\n } else if (withoutSuffix) {\n return result + 'dagur';\n }\n return result + (isFuture ? 'dag' : 'degi');\n case 'M':\n if (withoutSuffix) {\n return 'mánuður';\n }\n return isFuture ? 'mánuð' : 'mánuði';\n case 'MM':\n if (plural(number)) {\n if (withoutSuffix) {\n return result + 'mánuðir';\n }\n return result + (isFuture ? 'mánuði' : 'mánuðum');\n } else if (withoutSuffix) {\n return result + 'mánuður';\n }\n return result + (isFuture ? 'mánuð' : 'mánuði');\n case 'y':\n return withoutSuffix || isFuture ? 'ár' : 'ári';\n case 'yy':\n if (plural(number)) {\n return result + (withoutSuffix || isFuture ? 'ár' : 'árum');\n }\n return result + (withoutSuffix || isFuture ? 'ár' : 'ári');\n }\n }\n\n var is = moment.defineLocale('is', {\n months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split(\n '_'\n ),\n monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),\n weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split(\n '_'\n ),\n weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),\n weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY [kl.] H:mm',\n LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm',\n },\n calendar: {\n sameDay: '[í dag kl.] LT',\n nextDay: '[á morgun kl.] LT',\n nextWeek: 'dddd [kl.] LT',\n lastDay: '[í gær kl.] LT',\n lastWeek: '[síðasta] dddd [kl.] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'eftir %s',\n past: 'fyrir %s síðan',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: 'klukkustund',\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return is;\n\n})));\n","//! moment.js locale configuration\n//! locale : Italian [it]\n//! author : Lorenzo : https://github.com/aliem\n//! author: Mattia Larentis: https://github.com/nostalgiaz\n//! author: Marco : https://github.com/Manfre98\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var it = moment.defineLocale('it', {\n months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(\n '_'\n ),\n monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),\n weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(\n '_'\n ),\n weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),\n weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: function () {\n return (\n '[Oggi a' +\n (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n ']LT'\n );\n },\n nextDay: function () {\n return (\n '[Domani a' +\n (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n ']LT'\n );\n },\n nextWeek: function () {\n return (\n 'dddd [a' +\n (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n ']LT'\n );\n },\n lastDay: function () {\n return (\n '[Ieri a' +\n (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n ']LT'\n );\n },\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return (\n '[La scorsa] dddd [a' +\n (this.hours() > 1\n ? 'lle '\n : this.hours() === 0\n ? ' '\n : \"ll'\") +\n ']LT'\n );\n default:\n return (\n '[Lo scorso] dddd [a' +\n (this.hours() > 1\n ? 'lle '\n : this.hours() === 0\n ? ' '\n : \"ll'\") +\n ']LT'\n );\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: function (s) {\n return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;\n },\n past: '%s fa',\n s: 'alcuni secondi',\n ss: '%d secondi',\n m: 'un minuto',\n mm: '%d minuti',\n h: \"un'ora\",\n hh: '%d ore',\n d: 'un giorno',\n dd: '%d giorni',\n M: 'un mese',\n MM: '%d mesi',\n y: 'un anno',\n yy: '%d anni',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return it;\n\n})));\n","//! moment.js locale configuration\n//! locale : Italian (Switzerland) [it-ch]\n//! author : xfh : https://github.com/xfh\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var itCh = moment.defineLocale('it-ch', {\n months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(\n '_'\n ),\n monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),\n weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(\n '_'\n ),\n weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),\n weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Oggi alle] LT',\n nextDay: '[Domani alle] LT',\n nextWeek: 'dddd [alle] LT',\n lastDay: '[Ieri alle] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[la scorsa] dddd [alle] LT';\n default:\n return '[lo scorso] dddd [alle] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: function (s) {\n return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;\n },\n past: '%s fa',\n s: 'alcuni secondi',\n ss: '%d secondi',\n m: 'un minuto',\n mm: '%d minuti',\n h: \"un'ora\",\n hh: '%d ore',\n d: 'un giorno',\n dd: '%d giorni',\n M: 'un mese',\n MM: '%d mesi',\n y: 'un anno',\n yy: '%d anni',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return itCh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Japanese [ja]\n//! author : LI Long : https://github.com/baryon\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ja = moment.defineLocale('ja', {\n eras: [\n {\n since: '2019-05-01',\n offset: 1,\n name: '令和',\n narrow: '㋿',\n abbr: 'R',\n },\n {\n since: '1989-01-08',\n until: '2019-04-30',\n offset: 1,\n name: '平成',\n narrow: '㍻',\n abbr: 'H',\n },\n {\n since: '1926-12-25',\n until: '1989-01-07',\n offset: 1,\n name: '昭和',\n narrow: '㍼',\n abbr: 'S',\n },\n {\n since: '1912-07-30',\n until: '1926-12-24',\n offset: 1,\n name: '大正',\n narrow: '㍽',\n abbr: 'T',\n },\n {\n since: '1873-01-01',\n until: '1912-07-29',\n offset: 6,\n name: '明治',\n narrow: '㍾',\n abbr: 'M',\n },\n {\n since: '0001-01-01',\n until: '1873-12-31',\n offset: 1,\n name: '西暦',\n narrow: 'AD',\n abbr: 'AD',\n },\n {\n since: '0000-12-31',\n until: -Infinity,\n offset: 1,\n name: '紀元前',\n narrow: 'BC',\n abbr: 'BC',\n },\n ],\n eraYearOrdinalRegex: /(元|\\d+)年/,\n eraYearOrdinalParse: function (input, match) {\n return match[1] === '元' ? 1 : parseInt(match[1] || input, 10);\n },\n months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n '_'\n ),\n weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),\n weekdaysShort: '日_月_火_水_木_金_土'.split('_'),\n weekdaysMin: '日_月_火_水_木_金_土'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYY年M月D日',\n LLL: 'YYYY年M月D日 HH:mm',\n LLLL: 'YYYY年M月D日 dddd HH:mm',\n l: 'YYYY/MM/DD',\n ll: 'YYYY年M月D日',\n lll: 'YYYY年M月D日 HH:mm',\n llll: 'YYYY年M月D日(ddd) HH:mm',\n },\n meridiemParse: /午前|午後/i,\n isPM: function (input) {\n return input === '午後';\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return '午前';\n } else {\n return '午後';\n }\n },\n calendar: {\n sameDay: '[今日] LT',\n nextDay: '[明日] LT',\n nextWeek: function (now) {\n if (now.week() !== this.week()) {\n return '[来週]dddd LT';\n } else {\n return 'dddd LT';\n }\n },\n lastDay: '[昨日] LT',\n lastWeek: function (now) {\n if (this.week() !== now.week()) {\n return '[先週]dddd LT';\n } else {\n return 'dddd LT';\n }\n },\n sameElse: 'L',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}日/,\n ordinal: function (number, period) {\n switch (period) {\n case 'y':\n return number === 1 ? '元年' : number + '年';\n case 'd':\n case 'D':\n case 'DDD':\n return number + '日';\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s後',\n past: '%s前',\n s: '数秒',\n ss: '%d秒',\n m: '1分',\n mm: '%d分',\n h: '1時間',\n hh: '%d時間',\n d: '1日',\n dd: '%d日',\n M: '1ヶ月',\n MM: '%dヶ月',\n y: '1年',\n yy: '%d年',\n },\n });\n\n return ja;\n\n})));\n","//! moment.js locale configuration\n//! locale : Javanese [jv]\n//! author : Rony Lantip : https://github.com/lantip\n//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var jv = moment.defineLocale('jv', {\n months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),\n weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),\n weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),\n weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [pukul] HH.mm',\n LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n },\n meridiemParse: /enjing|siyang|sonten|ndalu/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'enjing') {\n return hour;\n } else if (meridiem === 'siyang') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'sonten' || meridiem === 'ndalu') {\n return hour + 12;\n }\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'enjing';\n } else if (hours < 15) {\n return 'siyang';\n } else if (hours < 19) {\n return 'sonten';\n } else {\n return 'ndalu';\n }\n },\n calendar: {\n sameDay: '[Dinten puniko pukul] LT',\n nextDay: '[Mbenjang pukul] LT',\n nextWeek: 'dddd [pukul] LT',\n lastDay: '[Kala wingi pukul] LT',\n lastWeek: 'dddd [kepengker pukul] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'wonten ing %s',\n past: '%s ingkang kepengker',\n s: 'sawetawis detik',\n ss: '%d detik',\n m: 'setunggal menit',\n mm: '%d menit',\n h: 'setunggal jam',\n hh: '%d jam',\n d: 'sedinten',\n dd: '%d dinten',\n M: 'sewulan',\n MM: '%d wulan',\n y: 'setaun',\n yy: '%d taun',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return jv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Georgian [ka]\n//! author : Irakli Janiashvili : https://github.com/IrakliJani\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ka = moment.defineLocale('ka', {\n months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split(\n '_'\n ),\n monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),\n weekdays: {\n standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split(\n '_'\n ),\n format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split(\n '_'\n ),\n isFormat: /(წინა|შემდეგ)/,\n },\n weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),\n weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[დღეს] LT[-ზე]',\n nextDay: '[ხვალ] LT[-ზე]',\n lastDay: '[გუშინ] LT[-ზე]',\n nextWeek: '[შემდეგ] dddd LT[-ზე]',\n lastWeek: '[წინა] dddd LT-ზე',\n sameElse: 'L',\n },\n relativeTime: {\n future: function (s) {\n return s.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/, function (\n $0,\n $1,\n $2\n ) {\n return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში';\n });\n },\n past: function (s) {\n if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) {\n return s.replace(/(ი|ე)$/, 'ის წინ');\n }\n if (/წელი/.test(s)) {\n return s.replace(/წელი$/, 'წლის წინ');\n }\n return s;\n },\n s: 'რამდენიმე წამი',\n ss: '%d წამი',\n m: 'წუთი',\n mm: '%d წუთი',\n h: 'საათი',\n hh: '%d საათი',\n d: 'დღე',\n dd: '%d დღე',\n M: 'თვე',\n MM: '%d თვე',\n y: 'წელი',\n yy: '%d წელი',\n },\n dayOfMonthOrdinalParse: /0|1-ლი|მე-\\d{1,2}|\\d{1,2}-ე/,\n ordinal: function (number) {\n if (number === 0) {\n return number;\n }\n if (number === 1) {\n return number + '-ლი';\n }\n if (\n number < 20 ||\n (number <= 100 && number % 20 === 0) ||\n number % 100 === 0\n ) {\n return 'მე-' + number;\n }\n return number + '-ე';\n },\n week: {\n dow: 1,\n doy: 7,\n },\n });\n\n return ka;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kazakh [kk]\n//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var suffixes = {\n 0: '-ші',\n 1: '-ші',\n 2: '-ші',\n 3: '-ші',\n 4: '-ші',\n 5: '-ші',\n 6: '-шы',\n 7: '-ші',\n 8: '-ші',\n 9: '-шы',\n 10: '-шы',\n 20: '-шы',\n 30: '-шы',\n 40: '-шы',\n 50: '-ші',\n 60: '-шы',\n 70: '-ші',\n 80: '-ші',\n 90: '-шы',\n 100: '-ші',\n };\n\n var kk = moment.defineLocale('kk', {\n months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split(\n '_'\n ),\n monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),\n weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split(\n '_'\n ),\n weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),\n weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Бүгін сағат] LT',\n nextDay: '[Ертең сағат] LT',\n nextWeek: 'dddd [сағат] LT',\n lastDay: '[Кеше сағат] LT',\n lastWeek: '[Өткен аптаның] dddd [сағат] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s ішінде',\n past: '%s бұрын',\n s: 'бірнеше секунд',\n ss: '%d секунд',\n m: 'бір минут',\n mm: '%d минут',\n h: 'бір сағат',\n hh: '%d сағат',\n d: 'бір күн',\n dd: '%d күн',\n M: 'бір ай',\n MM: '%d ай',\n y: 'бір жыл',\n yy: '%d жыл',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ші|шы)/,\n ordinal: function (number) {\n var a = number % 10,\n b = number >= 100 ? 100 : null;\n return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return kk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Cambodian [km]\n//! author : Kruy Vanna : https://github.com/kruyvanna\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '១',\n '2': '២',\n '3': '៣',\n '4': '៤',\n '5': '៥',\n '6': '៦',\n '7': '៧',\n '8': '៨',\n '9': '៩',\n '0': '០',\n },\n numberMap = {\n '១': '1',\n '២': '2',\n '៣': '3',\n '៤': '4',\n '៥': '5',\n '៦': '6',\n '៧': '7',\n '៨': '8',\n '៩': '9',\n '០': '0',\n };\n\n var km = moment.defineLocale('km', {\n months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(\n '_'\n ),\n monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(\n '_'\n ),\n weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),\n weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),\n weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n meridiemParse: /ព្រឹក|ល្ងាច/,\n isPM: function (input) {\n return input === 'ល្ងាច';\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ព្រឹក';\n } else {\n return 'ល្ងាច';\n }\n },\n calendar: {\n sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',\n nextDay: '[ស្អែក ម៉ោង] LT',\n nextWeek: 'dddd [ម៉ោង] LT',\n lastDay: '[ម្សិលមិញ ម៉ោង] LT',\n lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%sទៀត',\n past: '%sមុន',\n s: 'ប៉ុន្មានវិនាទី',\n ss: '%d វិនាទី',\n m: 'មួយនាទី',\n mm: '%d នាទី',\n h: 'មួយម៉ោង',\n hh: '%d ម៉ោង',\n d: 'មួយថ្ងៃ',\n dd: '%d ថ្ងៃ',\n M: 'មួយខែ',\n MM: '%d ខែ',\n y: 'មួយឆ្នាំ',\n yy: '%d ឆ្នាំ',\n },\n dayOfMonthOrdinalParse: /ទី\\d{1,2}/,\n ordinal: 'ទី%d',\n preparse: function (string) {\n return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return km;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kannada [kn]\n//! author : Rajeev Naik : https://github.com/rajeevnaikte\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '೧',\n '2': '೨',\n '3': '೩',\n '4': '೪',\n '5': '೫',\n '6': '೬',\n '7': '೭',\n '8': '೮',\n '9': '೯',\n '0': '೦',\n },\n numberMap = {\n '೧': '1',\n '೨': '2',\n '೩': '3',\n '೪': '4',\n '೫': '5',\n '೬': '6',\n '೭': '7',\n '೮': '8',\n '೯': '9',\n '೦': '0',\n };\n\n var kn = moment.defineLocale('kn', {\n months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split(\n '_'\n ),\n monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split(\n '_'\n ),\n weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),\n weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm',\n LTS: 'A h:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm',\n LLLL: 'dddd, D MMMM YYYY, A h:mm',\n },\n calendar: {\n sameDay: '[ಇಂದು] LT',\n nextDay: '[ನಾಳೆ] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[ನಿನ್ನೆ] LT',\n lastWeek: '[ಕೊನೆಯ] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s ನಂತರ',\n past: '%s ಹಿಂದೆ',\n s: 'ಕೆಲವು ಕ್ಷಣಗಳು',\n ss: '%d ಸೆಕೆಂಡುಗಳು',\n m: 'ಒಂದು ನಿಮಿಷ',\n mm: '%d ನಿಮಿಷ',\n h: 'ಒಂದು ಗಂಟೆ',\n hh: '%d ಗಂಟೆ',\n d: 'ಒಂದು ದಿನ',\n dd: '%d ದಿನ',\n M: 'ಒಂದು ತಿಂಗಳು',\n MM: '%d ತಿಂಗಳು',\n y: 'ಒಂದು ವರ್ಷ',\n yy: '%d ವರ್ಷ',\n },\n preparse: function (string) {\n return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'ರಾತ್ರಿ') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {\n return hour;\n } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'ಸಂಜೆ') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'ರಾತ್ರಿ';\n } else if (hour < 10) {\n return 'ಬೆಳಿಗ್ಗೆ';\n } else if (hour < 17) {\n return 'ಮಧ್ಯಾಹ್ನ';\n } else if (hour < 20) {\n return 'ಸಂಜೆ';\n } else {\n return 'ರಾತ್ರಿ';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ನೇ)/,\n ordinal: function (number) {\n return number + 'ನೇ';\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return kn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Korean [ko]\n//! author : Kyungwook, Park : https://github.com/kyungw00k\n//! author : Jeeeyul Lee <jeeeyul@gmail.com>\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ko = moment.defineLocale('ko', {\n months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),\n monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(\n '_'\n ),\n weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),\n weekdaysShort: '일_월_화_수_목_금_토'.split('_'),\n weekdaysMin: '일_월_화_수_목_금_토'.split('_'),\n longDateFormat: {\n LT: 'A h:mm',\n LTS: 'A h:mm:ss',\n L: 'YYYY.MM.DD.',\n LL: 'YYYY년 MMMM D일',\n LLL: 'YYYY년 MMMM D일 A h:mm',\n LLLL: 'YYYY년 MMMM D일 dddd A h:mm',\n l: 'YYYY.MM.DD.',\n ll: 'YYYY년 MMMM D일',\n lll: 'YYYY년 MMMM D일 A h:mm',\n llll: 'YYYY년 MMMM D일 dddd A h:mm',\n },\n calendar: {\n sameDay: '오늘 LT',\n nextDay: '내일 LT',\n nextWeek: 'dddd LT',\n lastDay: '어제 LT',\n lastWeek: '지난주 dddd LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s 후',\n past: '%s 전',\n s: '몇 초',\n ss: '%d초',\n m: '1분',\n mm: '%d분',\n h: '한 시간',\n hh: '%d시간',\n d: '하루',\n dd: '%d일',\n M: '한 달',\n MM: '%d달',\n y: '일 년',\n yy: '%d년',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(일|월|주)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '일';\n case 'M':\n return number + '월';\n case 'w':\n case 'W':\n return number + '주';\n default:\n return number;\n }\n },\n meridiemParse: /오전|오후/,\n isPM: function (token) {\n return token === '오후';\n },\n meridiem: function (hour, minute, isUpper) {\n return hour < 12 ? '오전' : '오후';\n },\n });\n\n return ko;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kurdish [ku]\n//! author : Shahram Mebashar : https://github.com/ShahramMebashar\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '١',\n '2': '٢',\n '3': '٣',\n '4': '٤',\n '5': '٥',\n '6': '٦',\n '7': '٧',\n '8': '٨',\n '9': '٩',\n '0': '٠',\n },\n numberMap = {\n '١': '1',\n '٢': '2',\n '٣': '3',\n '٤': '4',\n '٥': '5',\n '٦': '6',\n '٧': '7',\n '٨': '8',\n '٩': '9',\n '٠': '0',\n },\n months = [\n 'کانونی دووەم',\n 'شوبات',\n 'ئازار',\n 'نیسان',\n 'ئایار',\n 'حوزەیران',\n 'تەمموز',\n 'ئاب',\n 'ئەیلوول',\n 'تشرینی یەكەم',\n 'تشرینی دووەم',\n 'كانونی یەکەم',\n ];\n\n var ku = moment.defineLocale('ku', {\n months: months,\n monthsShort: months,\n weekdays: 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split(\n '_'\n ),\n weekdaysShort: 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split(\n '_'\n ),\n weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n meridiemParse: /ئێواره‌|به‌یانی/,\n isPM: function (input) {\n return /ئێواره‌/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'به‌یانی';\n } else {\n return 'ئێواره‌';\n }\n },\n calendar: {\n sameDay: '[ئه‌مرۆ كاتژمێر] LT',\n nextDay: '[به‌یانی كاتژمێر] LT',\n nextWeek: 'dddd [كاتژمێر] LT',\n lastDay: '[دوێنێ كاتژمێر] LT',\n lastWeek: 'dddd [كاتژمێر] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'له‌ %s',\n past: '%s',\n s: 'چه‌ند چركه‌یه‌ك',\n ss: 'چركه‌ %d',\n m: 'یه‌ك خوله‌ك',\n mm: '%d خوله‌ك',\n h: 'یه‌ك كاتژمێر',\n hh: '%d كاتژمێر',\n d: 'یه‌ك ڕۆژ',\n dd: '%d ڕۆژ',\n M: 'یه‌ك مانگ',\n MM: '%d مانگ',\n y: 'یه‌ك ساڵ',\n yy: '%d ساڵ',\n },\n preparse: function (string) {\n return string\n .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n return numberMap[match];\n })\n .replace(/،/g, ',');\n },\n postformat: function (string) {\n return string\n .replace(/\\d/g, function (match) {\n return symbolMap[match];\n })\n .replace(/,/g, '،');\n },\n week: {\n dow: 6, // Saturday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return ku;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kyrgyz [ky]\n//! author : Chyngyz Arystan uulu : https://github.com/chyngyz\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var suffixes = {\n 0: '-чү',\n 1: '-чи',\n 2: '-чи',\n 3: '-чү',\n 4: '-чү',\n 5: '-чи',\n 6: '-чы',\n 7: '-чи',\n 8: '-чи',\n 9: '-чу',\n 10: '-чу',\n 20: '-чы',\n 30: '-чу',\n 40: '-чы',\n 50: '-чү',\n 60: '-чы',\n 70: '-чи',\n 80: '-чи',\n 90: '-чу',\n 100: '-чү',\n };\n\n var ky = moment.defineLocale('ky', {\n months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(\n '_'\n ),\n monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split(\n '_'\n ),\n weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split(\n '_'\n ),\n weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),\n weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Бүгүн саат] LT',\n nextDay: '[Эртең саат] LT',\n nextWeek: 'dddd [саат] LT',\n lastDay: '[Кечээ саат] LT',\n lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s ичинде',\n past: '%s мурун',\n s: 'бирнече секунд',\n ss: '%d секунд',\n m: 'бир мүнөт',\n mm: '%d мүнөт',\n h: 'бир саат',\n hh: '%d саат',\n d: 'бир күн',\n dd: '%d күн',\n M: 'бир ай',\n MM: '%d ай',\n y: 'бир жыл',\n yy: '%d жыл',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(чи|чы|чү|чу)/,\n ordinal: function (number) {\n var a = number % 10,\n b = number >= 100 ? 100 : null;\n return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return ky;\n\n})));\n","//! moment.js locale configuration\n//! locale : Luxembourgish [lb]\n//! author : mweimerskirch : https://github.com/mweimerskirch\n//! author : David Raison : https://github.com/kwisatz\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n m: ['eng Minutt', 'enger Minutt'],\n h: ['eng Stonn', 'enger Stonn'],\n d: ['een Dag', 'engem Dag'],\n M: ['ee Mount', 'engem Mount'],\n y: ['ee Joer', 'engem Joer'],\n };\n return withoutSuffix ? format[key][0] : format[key][1];\n }\n function processFutureTime(string) {\n var number = string.substr(0, string.indexOf(' '));\n if (eifelerRegelAppliesToNumber(number)) {\n return 'a ' + string;\n }\n return 'an ' + string;\n }\n function processPastTime(string) {\n var number = string.substr(0, string.indexOf(' '));\n if (eifelerRegelAppliesToNumber(number)) {\n return 'viru ' + string;\n }\n return 'virun ' + string;\n }\n /**\n * Returns true if the word before the given number loses the '-n' ending.\n * e.g. 'an 10 Deeg' but 'a 5 Deeg'\n *\n * @param number {integer}\n * @returns {boolean}\n */\n function eifelerRegelAppliesToNumber(number) {\n number = parseInt(number, 10);\n if (isNaN(number)) {\n return false;\n }\n if (number < 0) {\n // Negative Number --> always true\n return true;\n } else if (number < 10) {\n // Only 1 digit\n if (4 <= number && number <= 7) {\n return true;\n }\n return false;\n } else if (number < 100) {\n // 2 digits\n var lastDigit = number % 10,\n firstDigit = number / 10;\n if (lastDigit === 0) {\n return eifelerRegelAppliesToNumber(firstDigit);\n }\n return eifelerRegelAppliesToNumber(lastDigit);\n } else if (number < 10000) {\n // 3 or 4 digits --> recursively check first digit\n while (number >= 10) {\n number = number / 10;\n }\n return eifelerRegelAppliesToNumber(number);\n } else {\n // Anything larger than 4 digits: recursively check first n-3 digits\n number = number / 1000;\n return eifelerRegelAppliesToNumber(number);\n }\n }\n\n var lb = moment.defineLocale('lb', {\n months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n '_'\n ),\n monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split(\n '_'\n ),\n weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),\n weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm [Auer]',\n LTS: 'H:mm:ss [Auer]',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm [Auer]',\n LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]',\n },\n calendar: {\n sameDay: '[Haut um] LT',\n sameElse: 'L',\n nextDay: '[Muer um] LT',\n nextWeek: 'dddd [um] LT',\n lastDay: '[Gëschter um] LT',\n lastWeek: function () {\n // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule\n switch (this.day()) {\n case 2:\n case 4:\n return '[Leschten] dddd [um] LT';\n default:\n return '[Leschte] dddd [um] LT';\n }\n },\n },\n relativeTime: {\n future: processFutureTime,\n past: processPastTime,\n s: 'e puer Sekonnen',\n ss: '%d Sekonnen',\n m: processRelativeTime,\n mm: '%d Minutten',\n h: processRelativeTime,\n hh: '%d Stonnen',\n d: processRelativeTime,\n dd: '%d Deeg',\n M: processRelativeTime,\n MM: '%d Méint',\n y: processRelativeTime,\n yy: '%d Joer',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return lb;\n\n})));\n","//! moment.js locale configuration\n//! locale : Lao [lo]\n//! author : Ryan Hart : https://github.com/ryanhart2\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var lo = moment.defineLocale('lo', {\n months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(\n '_'\n ),\n monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(\n '_'\n ),\n weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),\n weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),\n weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'ວັນdddd D MMMM YYYY HH:mm',\n },\n meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,\n isPM: function (input) {\n return input === 'ຕອນແລງ';\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ຕອນເຊົ້າ';\n } else {\n return 'ຕອນແລງ';\n }\n },\n calendar: {\n sameDay: '[ມື້ນີ້ເວລາ] LT',\n nextDay: '[ມື້ອື່ນເວລາ] LT',\n nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',\n lastDay: '[ມື້ວານນີ້ເວລາ] LT',\n lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'ອີກ %s',\n past: '%sຜ່ານມາ',\n s: 'ບໍ່ເທົ່າໃດວິນາທີ',\n ss: '%d ວິນາທີ',\n m: '1 ນາທີ',\n mm: '%d ນາທີ',\n h: '1 ຊົ່ວໂມງ',\n hh: '%d ຊົ່ວໂມງ',\n d: '1 ມື້',\n dd: '%d ມື້',\n M: '1 ເດືອນ',\n MM: '%d ເດືອນ',\n y: '1 ປີ',\n yy: '%d ປີ',\n },\n dayOfMonthOrdinalParse: /(ທີ່)\\d{1,2}/,\n ordinal: function (number) {\n return 'ທີ່' + number;\n },\n });\n\n return lo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Lithuanian [lt]\n//! author : Mindaugas Mozūras : https://github.com/mmozuras\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var units = {\n ss: 'sekundė_sekundžių_sekundes',\n m: 'minutė_minutės_minutę',\n mm: 'minutės_minučių_minutes',\n h: 'valanda_valandos_valandą',\n hh: 'valandos_valandų_valandas',\n d: 'diena_dienos_dieną',\n dd: 'dienos_dienų_dienas',\n M: 'mėnuo_mėnesio_mėnesį',\n MM: 'mėnesiai_mėnesių_mėnesius',\n y: 'metai_metų_metus',\n yy: 'metai_metų_metus',\n };\n function translateSeconds(number, withoutSuffix, key, isFuture) {\n if (withoutSuffix) {\n return 'kelios sekundės';\n } else {\n return isFuture ? 'kelių sekundžių' : 'kelias sekundes';\n }\n }\n function translateSingular(number, withoutSuffix, key, isFuture) {\n return withoutSuffix\n ? forms(key)[0]\n : isFuture\n ? forms(key)[1]\n : forms(key)[2];\n }\n function special(number) {\n return number % 10 === 0 || (number > 10 && number < 20);\n }\n function forms(key) {\n return units[key].split('_');\n }\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n if (number === 1) {\n return (\n result + translateSingular(number, withoutSuffix, key[0], isFuture)\n );\n } else if (withoutSuffix) {\n return result + (special(number) ? forms(key)[1] : forms(key)[0]);\n } else {\n if (isFuture) {\n return result + forms(key)[1];\n } else {\n return result + (special(number) ? forms(key)[1] : forms(key)[2]);\n }\n }\n }\n var lt = moment.defineLocale('lt', {\n months: {\n format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split(\n '_'\n ),\n standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split(\n '_'\n ),\n isFormat: /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?|MMMM?(\\[[^\\[\\]]*\\]|\\s)+D[oD]?/,\n },\n monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),\n weekdays: {\n format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split(\n '_'\n ),\n standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split(\n '_'\n ),\n isFormat: /dddd HH:mm/,\n },\n weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),\n weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY [m.] MMMM D [d.]',\n LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',\n l: 'YYYY-MM-DD',\n ll: 'YYYY [m.] MMMM D [d.]',\n lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]',\n },\n calendar: {\n sameDay: '[Šiandien] LT',\n nextDay: '[Rytoj] LT',\n nextWeek: 'dddd LT',\n lastDay: '[Vakar] LT',\n lastWeek: '[Praėjusį] dddd LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'po %s',\n past: 'prieš %s',\n s: translateSeconds,\n ss: translate,\n m: translateSingular,\n mm: translate,\n h: translateSingular,\n hh: translate,\n d: translateSingular,\n dd: translate,\n M: translateSingular,\n MM: translate,\n y: translateSingular,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-oji/,\n ordinal: function (number) {\n return number + '-oji';\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return lt;\n\n})));\n","//! moment.js locale configuration\n//! locale : Latvian [lv]\n//! author : Kristaps Karlsons : https://github.com/skakri\n//! author : Jānis Elmeris : https://github.com/JanisE\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var units = {\n ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'),\n m: 'minūtes_minūtēm_minūte_minūtes'.split('_'),\n mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'),\n h: 'stundas_stundām_stunda_stundas'.split('_'),\n hh: 'stundas_stundām_stunda_stundas'.split('_'),\n d: 'dienas_dienām_diena_dienas'.split('_'),\n dd: 'dienas_dienām_diena_dienas'.split('_'),\n M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),\n MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),\n y: 'gada_gadiem_gads_gadi'.split('_'),\n yy: 'gada_gadiem_gads_gadi'.split('_'),\n };\n /**\n * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.\n */\n function format(forms, number, withoutSuffix) {\n if (withoutSuffix) {\n // E.g. \"21 minūte\", \"3 minūtes\".\n return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];\n } else {\n // E.g. \"21 minūtes\" as in \"pēc 21 minūtes\".\n // E.g. \"3 minūtēm\" as in \"pēc 3 minūtēm\".\n return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];\n }\n }\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n return number + ' ' + format(units[key], number, withoutSuffix);\n }\n function relativeTimeWithSingular(number, withoutSuffix, key) {\n return format(units[key], number, withoutSuffix);\n }\n function relativeSeconds(number, withoutSuffix) {\n return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';\n }\n\n var lv = moment.defineLocale('lv', {\n months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split(\n '_'\n ),\n monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),\n weekdays: 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split(\n '_'\n ),\n weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),\n weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY.',\n LL: 'YYYY. [gada] D. MMMM',\n LLL: 'YYYY. [gada] D. MMMM, HH:mm',\n LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm',\n },\n calendar: {\n sameDay: '[Šodien pulksten] LT',\n nextDay: '[Rīt pulksten] LT',\n nextWeek: 'dddd [pulksten] LT',\n lastDay: '[Vakar pulksten] LT',\n lastWeek: '[Pagājušā] dddd [pulksten] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'pēc %s',\n past: 'pirms %s',\n s: relativeSeconds,\n ss: relativeTimeWithPlural,\n m: relativeTimeWithSingular,\n mm: relativeTimeWithPlural,\n h: relativeTimeWithSingular,\n hh: relativeTimeWithPlural,\n d: relativeTimeWithSingular,\n dd: relativeTimeWithPlural,\n M: relativeTimeWithSingular,\n MM: relativeTimeWithPlural,\n y: relativeTimeWithSingular,\n yy: relativeTimeWithPlural,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return lv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Montenegrin [me]\n//! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var translator = {\n words: {\n //Different grammatical cases\n ss: ['sekund', 'sekunda', 'sekundi'],\n m: ['jedan minut', 'jednog minuta'],\n mm: ['minut', 'minuta', 'minuta'],\n h: ['jedan sat', 'jednog sata'],\n hh: ['sat', 'sata', 'sati'],\n dd: ['dan', 'dana', 'dana'],\n MM: ['mjesec', 'mjeseca', 'mjeseci'],\n yy: ['godina', 'godine', 'godina'],\n },\n correctGrammaticalCase: function (number, wordKey) {\n return number === 1\n ? wordKey[0]\n : number >= 2 && number <= 4\n ? wordKey[1]\n : wordKey[2];\n },\n translate: function (number, withoutSuffix, key) {\n var wordKey = translator.words[key];\n if (key.length === 1) {\n return withoutSuffix ? wordKey[0] : wordKey[1];\n } else {\n return (\n number +\n ' ' +\n translator.correctGrammaticalCase(number, wordKey)\n );\n }\n },\n };\n\n var me = moment.defineLocale('me', {\n months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(\n '_'\n ),\n monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(\n '_'\n ),\n weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[danas u] LT',\n nextDay: '[sjutra u] LT',\n\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[u] [nedjelju] [u] LT';\n case 3:\n return '[u] [srijedu] [u] LT';\n case 6:\n return '[u] [subotu] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay: '[juče u] LT',\n lastWeek: function () {\n var lastWeekDays = [\n '[prošle] [nedjelje] [u] LT',\n '[prošlog] [ponedjeljka] [u] LT',\n '[prošlog] [utorka] [u] LT',\n '[prošle] [srijede] [u] LT',\n '[prošlog] [četvrtka] [u] LT',\n '[prošlog] [petka] [u] LT',\n '[prošle] [subote] [u] LT',\n ];\n return lastWeekDays[this.day()];\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: 'prije %s',\n s: 'nekoliko sekundi',\n ss: translator.translate,\n m: translator.translate,\n mm: translator.translate,\n h: translator.translate,\n hh: translator.translate,\n d: 'dan',\n dd: translator.translate,\n M: 'mjesec',\n MM: translator.translate,\n y: 'godinu',\n yy: translator.translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return me;\n\n})));\n","//! moment.js locale configuration\n//! locale : Maori [mi]\n//! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var mi = moment.defineLocale('mi', {\n months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split(\n '_'\n ),\n monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split(\n '_'\n ),\n monthsRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n monthsStrictRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n monthsShortRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n monthsShortStrictRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,2}/i,\n weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),\n weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),\n weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [i] HH:mm',\n LLLL: 'dddd, D MMMM YYYY [i] HH:mm',\n },\n calendar: {\n sameDay: '[i teie mahana, i] LT',\n nextDay: '[apopo i] LT',\n nextWeek: 'dddd [i] LT',\n lastDay: '[inanahi i] LT',\n lastWeek: 'dddd [whakamutunga i] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'i roto i %s',\n past: '%s i mua',\n s: 'te hēkona ruarua',\n ss: '%d hēkona',\n m: 'he meneti',\n mm: '%d meneti',\n h: 'te haora',\n hh: '%d haora',\n d: 'he ra',\n dd: '%d ra',\n M: 'he marama',\n MM: '%d marama',\n y: 'he tau',\n yy: '%d tau',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return mi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Macedonian [mk]\n//! author : Borislav Mickov : https://github.com/B0k0\n//! author : Sashko Todorov : https://github.com/bkyceh\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var mk = moment.defineLocale('mk', {\n months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split(\n '_'\n ),\n monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),\n weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split(\n '_'\n ),\n weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'),\n weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'D.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY H:mm',\n LLLL: 'dddd, D MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[Денес во] LT',\n nextDay: '[Утре во] LT',\n nextWeek: '[Во] dddd [во] LT',\n lastDay: '[Вчера во] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n case 3:\n case 6:\n return '[Изминатата] dddd [во] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[Изминатиот] dddd [во] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'за %s',\n past: 'пред %s',\n s: 'неколку секунди',\n ss: '%d секунди',\n m: 'една минута',\n mm: '%d минути',\n h: 'еден час',\n hh: '%d часа',\n d: 'еден ден',\n dd: '%d дена',\n M: 'еден месец',\n MM: '%d месеци',\n y: 'една година',\n yy: '%d години',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,\n ordinal: function (number) {\n var lastDigit = number % 10,\n last2Digits = number % 100;\n if (number === 0) {\n return number + '-ев';\n } else if (last2Digits === 0) {\n return number + '-ен';\n } else if (last2Digits > 10 && last2Digits < 20) {\n return number + '-ти';\n } else if (lastDigit === 1) {\n return number + '-ви';\n } else if (lastDigit === 2) {\n return number + '-ри';\n } else if (lastDigit === 7 || lastDigit === 8) {\n return number + '-ми';\n } else {\n return number + '-ти';\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return mk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Malayalam [ml]\n//! author : Floyd Pink : https://github.com/floydpink\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ml = moment.defineLocale('ml', {\n months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split(\n '_'\n ),\n monthsShort: 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split(\n '_'\n ),\n weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),\n weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm -നു',\n LTS: 'A h:mm:ss -നു',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm -നു',\n LLLL: 'dddd, D MMMM YYYY, A h:mm -നു',\n },\n calendar: {\n sameDay: '[ഇന്ന്] LT',\n nextDay: '[നാളെ] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[ഇന്നലെ] LT',\n lastWeek: '[കഴിഞ്ഞ] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s കഴിഞ്ഞ്',\n past: '%s മുൻപ്',\n s: 'അൽപ നിമിഷങ്ങൾ',\n ss: '%d സെക്കൻഡ്',\n m: 'ഒരു മിനിറ്റ്',\n mm: '%d മിനിറ്റ്',\n h: 'ഒരു മണിക്കൂർ',\n hh: '%d മണിക്കൂർ',\n d: 'ഒരു ദിവസം',\n dd: '%d ദിവസം',\n M: 'ഒരു മാസം',\n MM: '%d മാസം',\n y: 'ഒരു വർഷം',\n yy: '%d വർഷം',\n },\n meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (\n (meridiem === 'രാത്രി' && hour >= 4) ||\n meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||\n meridiem === 'വൈകുന്നേരം'\n ) {\n return hour + 12;\n } else {\n return hour;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'രാത്രി';\n } else if (hour < 12) {\n return 'രാവിലെ';\n } else if (hour < 17) {\n return 'ഉച്ച കഴിഞ്ഞ്';\n } else if (hour < 20) {\n return 'വൈകുന്നേരം';\n } else {\n return 'രാത്രി';\n }\n },\n });\n\n return ml;\n\n})));\n","//! moment.js locale configuration\n//! locale : Mongolian [mn]\n//! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function translate(number, withoutSuffix, key, isFuture) {\n switch (key) {\n case 's':\n return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';\n case 'ss':\n return number + (withoutSuffix ? ' секунд' : ' секундын');\n case 'm':\n case 'mm':\n return number + (withoutSuffix ? ' минут' : ' минутын');\n case 'h':\n case 'hh':\n return number + (withoutSuffix ? ' цаг' : ' цагийн');\n case 'd':\n case 'dd':\n return number + (withoutSuffix ? ' өдөр' : ' өдрийн');\n case 'M':\n case 'MM':\n return number + (withoutSuffix ? ' сар' : ' сарын');\n case 'y':\n case 'yy':\n return number + (withoutSuffix ? ' жил' : ' жилийн');\n default:\n return number;\n }\n }\n\n var mn = moment.defineLocale('mn', {\n months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split(\n '_'\n ),\n monthsShort: '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'),\n weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'),\n weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY оны MMMMын D',\n LLL: 'YYYY оны MMMMын D HH:mm',\n LLLL: 'dddd, YYYY оны MMMMын D HH:mm',\n },\n meridiemParse: /ҮӨ|ҮХ/i,\n isPM: function (input) {\n return input === 'ҮХ';\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ҮӨ';\n } else {\n return 'ҮХ';\n }\n },\n calendar: {\n sameDay: '[Өнөөдөр] LT',\n nextDay: '[Маргааш] LT',\n nextWeek: '[Ирэх] dddd LT',\n lastDay: '[Өчигдөр] LT',\n lastWeek: '[Өнгөрсөн] dddd LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s дараа',\n past: '%s өмнө',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2} өдөр/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + ' өдөр';\n default:\n return number;\n }\n },\n });\n\n return mn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Marathi [mr]\n//! author : Harshad Kale : https://github.com/kalehv\n//! author : Vivek Athalye : https://github.com/vnathalye\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': '७',\n '8': '८',\n '9': '९',\n '0': '०',\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0',\n };\n\n function relativeTimeMr(number, withoutSuffix, string, isFuture) {\n var output = '';\n if (withoutSuffix) {\n switch (string) {\n case 's':\n output = 'काही सेकंद';\n break;\n case 'ss':\n output = '%d सेकंद';\n break;\n case 'm':\n output = 'एक मिनिट';\n break;\n case 'mm':\n output = '%d मिनिटे';\n break;\n case 'h':\n output = 'एक तास';\n break;\n case 'hh':\n output = '%d तास';\n break;\n case 'd':\n output = 'एक दिवस';\n break;\n case 'dd':\n output = '%d दिवस';\n break;\n case 'M':\n output = 'एक महिना';\n break;\n case 'MM':\n output = '%d महिने';\n break;\n case 'y':\n output = 'एक वर्ष';\n break;\n case 'yy':\n output = '%d वर्षे';\n break;\n }\n } else {\n switch (string) {\n case 's':\n output = 'काही सेकंदां';\n break;\n case 'ss':\n output = '%d सेकंदां';\n break;\n case 'm':\n output = 'एका मिनिटा';\n break;\n case 'mm':\n output = '%d मिनिटां';\n break;\n case 'h':\n output = 'एका तासा';\n break;\n case 'hh':\n output = '%d तासां';\n break;\n case 'd':\n output = 'एका दिवसा';\n break;\n case 'dd':\n output = '%d दिवसां';\n break;\n case 'M':\n output = 'एका महिन्या';\n break;\n case 'MM':\n output = '%d महिन्यां';\n break;\n case 'y':\n output = 'एका वर्षा';\n break;\n case 'yy':\n output = '%d वर्षां';\n break;\n }\n }\n return output.replace(/%d/i, number);\n }\n\n var mr = moment.defineLocale('mr', {\n months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(\n '_'\n ),\n monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),\n weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),\n weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),\n longDateFormat: {\n LT: 'A h:mm वाजता',\n LTS: 'A h:mm:ss वाजता',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm वाजता',\n LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता',\n },\n calendar: {\n sameDay: '[आज] LT',\n nextDay: '[उद्या] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[काल] LT',\n lastWeek: '[मागील] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%sमध्ये',\n past: '%sपूर्वी',\n s: relativeTimeMr,\n ss: relativeTimeMr,\n m: relativeTimeMr,\n mm: relativeTimeMr,\n h: relativeTimeMr,\n hh: relativeTimeMr,\n d: relativeTimeMr,\n dd: relativeTimeMr,\n M: relativeTimeMr,\n MM: relativeTimeMr,\n y: relativeTimeMr,\n yy: relativeTimeMr,\n },\n preparse: function (string) {\n return string.replace(/[१२३४५६७८९०]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'पहाटे' || meridiem === 'सकाळी') {\n return hour;\n } else if (\n meridiem === 'दुपारी' ||\n meridiem === 'सायंकाळी' ||\n meridiem === 'रात्री'\n ) {\n return hour >= 12 ? hour : hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour >= 0 && hour < 6) {\n return 'पहाटे';\n } else if (hour < 12) {\n return 'सकाळी';\n } else if (hour < 17) {\n return 'दुपारी';\n } else if (hour < 20) {\n return 'सायंकाळी';\n } else {\n return 'रात्री';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return mr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Malay [ms]\n//! author : Weldan Jamili : https://github.com/weldan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ms = moment.defineLocale('ms', {\n months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),\n weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),\n weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),\n weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [pukul] HH.mm',\n LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n },\n meridiemParse: /pagi|tengahari|petang|malam/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'pagi') {\n return hour;\n } else if (meridiem === 'tengahari') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'petang' || meridiem === 'malam') {\n return hour + 12;\n }\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'pagi';\n } else if (hours < 15) {\n return 'tengahari';\n } else if (hours < 19) {\n return 'petang';\n } else {\n return 'malam';\n }\n },\n calendar: {\n sameDay: '[Hari ini pukul] LT',\n nextDay: '[Esok pukul] LT',\n nextWeek: 'dddd [pukul] LT',\n lastDay: '[Kelmarin pukul] LT',\n lastWeek: 'dddd [lepas pukul] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dalam %s',\n past: '%s yang lepas',\n s: 'beberapa saat',\n ss: '%d saat',\n m: 'seminit',\n mm: '%d minit',\n h: 'sejam',\n hh: '%d jam',\n d: 'sehari',\n dd: '%d hari',\n M: 'sebulan',\n MM: '%d bulan',\n y: 'setahun',\n yy: '%d tahun',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return ms;\n\n})));\n","//! moment.js locale configuration\n//! locale : Malay [ms-my]\n//! note : DEPRECATED, the correct one is [ms]\n//! author : Weldan Jamili : https://github.com/weldan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var msMy = moment.defineLocale('ms-my', {\n months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),\n weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),\n weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),\n weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [pukul] HH.mm',\n LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n },\n meridiemParse: /pagi|tengahari|petang|malam/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'pagi') {\n return hour;\n } else if (meridiem === 'tengahari') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'petang' || meridiem === 'malam') {\n return hour + 12;\n }\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'pagi';\n } else if (hours < 15) {\n return 'tengahari';\n } else if (hours < 19) {\n return 'petang';\n } else {\n return 'malam';\n }\n },\n calendar: {\n sameDay: '[Hari ini pukul] LT',\n nextDay: '[Esok pukul] LT',\n nextWeek: 'dddd [pukul] LT',\n lastDay: '[Kelmarin pukul] LT',\n lastWeek: 'dddd [lepas pukul] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dalam %s',\n past: '%s yang lepas',\n s: 'beberapa saat',\n ss: '%d saat',\n m: 'seminit',\n mm: '%d minit',\n h: 'sejam',\n hh: '%d jam',\n d: 'sehari',\n dd: '%d hari',\n M: 'sebulan',\n MM: '%d bulan',\n y: 'setahun',\n yy: '%d tahun',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return msMy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Maltese (Malta) [mt]\n//! author : Alessandro Maruccia : https://github.com/alesma\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var mt = moment.defineLocale('mt', {\n months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(\n '_'\n ),\n monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),\n weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(\n '_'\n ),\n weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),\n weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Illum fil-]LT',\n nextDay: '[Għada fil-]LT',\n nextWeek: 'dddd [fil-]LT',\n lastDay: '[Il-bieraħ fil-]LT',\n lastWeek: 'dddd [li għadda] [fil-]LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'f’ %s',\n past: '%s ilu',\n s: 'ftit sekondi',\n ss: '%d sekondi',\n m: 'minuta',\n mm: '%d minuti',\n h: 'siegħa',\n hh: '%d siegħat',\n d: 'ġurnata',\n dd: '%d ġranet',\n M: 'xahar',\n MM: '%d xhur',\n y: 'sena',\n yy: '%d sni',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return mt;\n\n})));\n","//! moment.js locale configuration\n//! locale : Burmese [my]\n//! author : Squar team, mysquar.com\n//! author : David Rossellat : https://github.com/gholadr\n//! author : Tin Aung Lin : https://github.com/thanyawzinmin\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '၁',\n '2': '၂',\n '3': '၃',\n '4': '၄',\n '5': '၅',\n '6': '၆',\n '7': '၇',\n '8': '၈',\n '9': '၉',\n '0': '၀',\n },\n numberMap = {\n '၁': '1',\n '၂': '2',\n '၃': '3',\n '၄': '4',\n '၅': '5',\n '၆': '6',\n '၇': '7',\n '၈': '8',\n '၉': '9',\n '၀': '0',\n };\n\n var my = moment.defineLocale('my', {\n months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split(\n '_'\n ),\n monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),\n weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split(\n '_'\n ),\n weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),\n weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),\n\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[ယနေ.] LT [မှာ]',\n nextDay: '[မနက်ဖြန်] LT [မှာ]',\n nextWeek: 'dddd LT [မှာ]',\n lastDay: '[မနေ.က] LT [မှာ]',\n lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'လာမည့် %s မှာ',\n past: 'လွန်ခဲ့သော %s က',\n s: 'စက္ကန်.အနည်းငယ်',\n ss: '%d စက္ကန့်',\n m: 'တစ်မိနစ်',\n mm: '%d မိနစ်',\n h: 'တစ်နာရီ',\n hh: '%d နာရီ',\n d: 'တစ်ရက်',\n dd: '%d ရက်',\n M: 'တစ်လ',\n MM: '%d လ',\n y: 'တစ်နှစ်',\n yy: '%d နှစ်',\n },\n preparse: function (string) {\n return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return my;\n\n})));\n","//! moment.js locale configuration\n//! locale : Norwegian Bokmål [nb]\n//! authors : Espen Hovlandsdal : https://github.com/rexxars\n//! Sigurd Gartmann : https://github.com/sigurdga\n//! Stephen Ramthun : https://github.com/stephenramthun\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var nb = moment.defineLocale('nb', {\n months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(\n '_'\n ),\n monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),\n weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),\n weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY [kl.] HH:mm',\n LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',\n },\n calendar: {\n sameDay: '[i dag kl.] LT',\n nextDay: '[i morgen kl.] LT',\n nextWeek: 'dddd [kl.] LT',\n lastDay: '[i går kl.] LT',\n lastWeek: '[forrige] dddd [kl.] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'om %s',\n past: '%s siden',\n s: 'noen sekunder',\n ss: '%d sekunder',\n m: 'ett minutt',\n mm: '%d minutter',\n h: 'en time',\n hh: '%d timer',\n d: 'en dag',\n dd: '%d dager',\n M: 'en måned',\n MM: '%d måneder',\n y: 'ett år',\n yy: '%d år',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return nb;\n\n})));\n","//! moment.js locale configuration\n//! locale : Nepalese [ne]\n//! author : suvash : https://github.com/suvash\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '१',\n '2': '२',\n '3': '३',\n '4': '४',\n '5': '५',\n '6': '६',\n '7': '७',\n '8': '८',\n '9': '९',\n '0': '०',\n },\n numberMap = {\n '१': '1',\n '२': '2',\n '३': '3',\n '४': '4',\n '५': '5',\n '६': '6',\n '७': '7',\n '८': '8',\n '९': '9',\n '०': '0',\n };\n\n var ne = moment.defineLocale('ne', {\n months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split(\n '_'\n ),\n monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split(\n '_'\n ),\n weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),\n weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'Aको h:mm बजे',\n LTS: 'Aको h:mm:ss बजे',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, Aको h:mm बजे',\n LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे',\n },\n preparse: function (string) {\n return string.replace(/[१२३४५६७८९०]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n meridiemParse: /राति|बिहान|दिउँसो|साँझ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'राति') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'बिहान') {\n return hour;\n } else if (meridiem === 'दिउँसो') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'साँझ') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 3) {\n return 'राति';\n } else if (hour < 12) {\n return 'बिहान';\n } else if (hour < 16) {\n return 'दिउँसो';\n } else if (hour < 20) {\n return 'साँझ';\n } else {\n return 'राति';\n }\n },\n calendar: {\n sameDay: '[आज] LT',\n nextDay: '[भोलि] LT',\n nextWeek: '[आउँदो] dddd[,] LT',\n lastDay: '[हिजो] LT',\n lastWeek: '[गएको] dddd[,] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%sमा',\n past: '%s अगाडि',\n s: 'केही क्षण',\n ss: '%d सेकेण्ड',\n m: 'एक मिनेट',\n mm: '%d मिनेट',\n h: 'एक घण्टा',\n hh: '%d घण्टा',\n d: 'एक दिन',\n dd: '%d दिन',\n M: 'एक महिना',\n MM: '%d महिना',\n y: 'एक बर्ष',\n yy: '%d बर्ष',\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return ne;\n\n})));\n","//! moment.js locale configuration\n//! locale : Dutch [nl]\n//! author : Joris Röling : https://github.com/jorisroling\n//! author : Jacob Middag : https://github.com/middagj\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split(\n '_'\n ),\n monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split(\n '_'\n ),\n monthsParse = [\n /^jan/i,\n /^feb/i,\n /^maart|mrt.?$/i,\n /^apr/i,\n /^mei$/i,\n /^jun[i.]?$/i,\n /^jul[i.]?$/i,\n /^aug/i,\n /^sep/i,\n /^okt/i,\n /^nov/i,\n /^dec/i,\n ],\n monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n\n var nl = moment.defineLocale('nl', {\n months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n monthsShortStrictRegex: /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n\n weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split(\n '_'\n ),\n weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),\n weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD-MM-YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[vandaag om] LT',\n nextDay: '[morgen om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[gisteren om] LT',\n lastWeek: '[afgelopen] dddd [om] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'over %s',\n past: '%s geleden',\n s: 'een paar seconden',\n ss: '%d seconden',\n m: 'één minuut',\n mm: '%d minuten',\n h: 'één uur',\n hh: '%d uur',\n d: 'één dag',\n dd: '%d dagen',\n M: 'één maand',\n MM: '%d maanden',\n y: 'één jaar',\n yy: '%d jaar',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal: function (number) {\n return (\n number +\n (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n );\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return nl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Dutch (Belgium) [nl-be]\n//! author : Joris Röling : https://github.com/jorisroling\n//! author : Jacob Middag : https://github.com/middagj\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split(\n '_'\n ),\n monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split(\n '_'\n ),\n monthsParse = [\n /^jan/i,\n /^feb/i,\n /^maart|mrt.?$/i,\n /^apr/i,\n /^mei$/i,\n /^jun[i.]?$/i,\n /^jul[i.]?$/i,\n /^aug/i,\n /^sep/i,\n /^okt/i,\n /^nov/i,\n /^dec/i,\n ],\n monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n\n var nlBe = moment.defineLocale('nl-be', {\n months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(\n '_'\n ),\n monthsShort: function (m, format) {\n if (!m) {\n return monthsShortWithDots;\n } else if (/-MMM-/.test(format)) {\n return monthsShortWithoutDots[m.month()];\n } else {\n return monthsShortWithDots[m.month()];\n }\n },\n\n monthsRegex: monthsRegex,\n monthsShortRegex: monthsRegex,\n monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n monthsShortStrictRegex: /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n\n weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split(\n '_'\n ),\n weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),\n weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[vandaag om] LT',\n nextDay: '[morgen om] LT',\n nextWeek: 'dddd [om] LT',\n lastDay: '[gisteren om] LT',\n lastWeek: '[afgelopen] dddd [om] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'over %s',\n past: '%s geleden',\n s: 'een paar seconden',\n ss: '%d seconden',\n m: 'één minuut',\n mm: '%d minuten',\n h: 'één uur',\n hh: '%d uur',\n d: 'één dag',\n dd: '%d dagen',\n M: 'één maand',\n MM: '%d maanden',\n y: 'één jaar',\n yy: '%d jaar',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n ordinal: function (number) {\n return (\n number +\n (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n );\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return nlBe;\n\n})));\n","//! moment.js locale configuration\n//! locale : Nynorsk [nn]\n//! authors : https://github.com/mechuwind\n//! Stephen Ramthun : https://github.com/stephenramthun\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var nn = moment.defineLocale('nn', {\n months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(\n '_'\n ),\n monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),\n weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),\n weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY [kl.] H:mm',\n LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',\n },\n calendar: {\n sameDay: '[I dag klokka] LT',\n nextDay: '[I morgon klokka] LT',\n nextWeek: 'dddd [klokka] LT',\n lastDay: '[I går klokka] LT',\n lastWeek: '[Føregåande] dddd [klokka] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'om %s',\n past: '%s sidan',\n s: 'nokre sekund',\n ss: '%d sekund',\n m: 'eit minutt',\n mm: '%d minutt',\n h: 'ein time',\n hh: '%d timar',\n d: 'ein dag',\n dd: '%d dagar',\n M: 'ein månad',\n MM: '%d månader',\n y: 'eit år',\n yy: '%d år',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return nn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Occitan, lengadocian dialecte [oc-lnc]\n//! author : Quentin PAGÈS : https://github.com/Quenty31\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ocLnc = moment.defineLocale('oc-lnc', {\n months: {\n standalone: 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split(\n '_'\n ),\n format: \"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre\".split(\n '_'\n ),\n isFormat: /D[oD]?(\\s)+MMMM/,\n },\n monthsShort: 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split(\n '_'\n ),\n weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),\n weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM [de] YYYY',\n ll: 'D MMM YYYY',\n LLL: 'D MMMM [de] YYYY [a] H:mm',\n lll: 'D MMM YYYY, H:mm',\n LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',\n llll: 'ddd D MMM YYYY, H:mm',\n },\n calendar: {\n sameDay: '[uèi a] LT',\n nextDay: '[deman a] LT',\n nextWeek: 'dddd [a] LT',\n lastDay: '[ièr a] LT',\n lastWeek: 'dddd [passat a] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: \"d'aquí %s\",\n past: 'fa %s',\n s: 'unas segondas',\n ss: '%d segondas',\n m: 'una minuta',\n mm: '%d minutas',\n h: 'una ora',\n hh: '%d oras',\n d: 'un jorn',\n dd: '%d jorns',\n M: 'un mes',\n MM: '%d meses',\n y: 'un an',\n yy: '%d ans',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(r|n|t|è|a)/,\n ordinal: function (number, period) {\n var output =\n number === 1\n ? 'r'\n : number === 2\n ? 'n'\n : number === 3\n ? 'r'\n : number === 4\n ? 't'\n : 'è';\n if (period === 'w' || period === 'W') {\n output = 'a';\n }\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4,\n },\n });\n\n return ocLnc;\n\n})));\n","//! moment.js locale configuration\n//! locale : Punjabi (India) [pa-in]\n//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '੧',\n '2': '੨',\n '3': '੩',\n '4': '੪',\n '5': '੫',\n '6': '੬',\n '7': '੭',\n '8': '੮',\n '9': '੯',\n '0': '੦',\n },\n numberMap = {\n '੧': '1',\n '੨': '2',\n '੩': '3',\n '੪': '4',\n '੫': '5',\n '੬': '6',\n '੭': '7',\n '੮': '8',\n '੯': '9',\n '੦': '0',\n };\n\n var paIn = moment.defineLocale('pa-in', {\n // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.\n months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(\n '_'\n ),\n monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(\n '_'\n ),\n weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split(\n '_'\n ),\n weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),\n weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm ਵਜੇ',\n LTS: 'A h:mm:ss ਵਜੇ',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',\n LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ',\n },\n calendar: {\n sameDay: '[ਅਜ] LT',\n nextDay: '[ਕਲ] LT',\n nextWeek: '[ਅਗਲਾ] dddd, LT',\n lastDay: '[ਕਲ] LT',\n lastWeek: '[ਪਿਛਲੇ] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s ਵਿੱਚ',\n past: '%s ਪਿਛਲੇ',\n s: 'ਕੁਝ ਸਕਿੰਟ',\n ss: '%d ਸਕਿੰਟ',\n m: 'ਇਕ ਮਿੰਟ',\n mm: '%d ਮਿੰਟ',\n h: 'ਇੱਕ ਘੰਟਾ',\n hh: '%d ਘੰਟੇ',\n d: 'ਇੱਕ ਦਿਨ',\n dd: '%d ਦਿਨ',\n M: 'ਇੱਕ ਮਹੀਨਾ',\n MM: '%d ਮਹੀਨੇ',\n y: 'ਇੱਕ ਸਾਲ',\n yy: '%d ਸਾਲ',\n },\n preparse: function (string) {\n return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // Punjabi notation for meridiems are quite fuzzy in practice. While there exists\n // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.\n meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'ਰਾਤ') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'ਸਵੇਰ') {\n return hour;\n } else if (meridiem === 'ਦੁਪਹਿਰ') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'ਸ਼ਾਮ') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'ਰਾਤ';\n } else if (hour < 10) {\n return 'ਸਵੇਰ';\n } else if (hour < 17) {\n return 'ਦੁਪਹਿਰ';\n } else if (hour < 20) {\n return 'ਸ਼ਾਮ';\n } else {\n return 'ਰਾਤ';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return paIn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Polish [pl]\n//! author : Rafal Hirsz : https://github.com/evoL\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(\n '_'\n ),\n monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split(\n '_'\n );\n function plural(n) {\n return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;\n }\n function translate(number, withoutSuffix, key) {\n var result = number + ' ';\n switch (key) {\n case 'ss':\n return result + (plural(number) ? 'sekundy' : 'sekund');\n case 'm':\n return withoutSuffix ? 'minuta' : 'minutę';\n case 'mm':\n return result + (plural(number) ? 'minuty' : 'minut');\n case 'h':\n return withoutSuffix ? 'godzina' : 'godzinę';\n case 'hh':\n return result + (plural(number) ? 'godziny' : 'godzin');\n case 'MM':\n return result + (plural(number) ? 'miesiące' : 'miesięcy');\n case 'yy':\n return result + (plural(number) ? 'lata' : 'lat');\n }\n }\n\n var pl = moment.defineLocale('pl', {\n months: function (momentToFormat, format) {\n if (!momentToFormat) {\n return monthsNominative;\n } else if (format === '') {\n // Hack: if format empty we know this is used to generate\n // RegExp by moment. Give then back both valid forms of months\n // in RegExp ready format.\n return (\n '(' +\n monthsSubjective[momentToFormat.month()] +\n '|' +\n monthsNominative[momentToFormat.month()] +\n ')'\n );\n } else if (/D MMMM/.test(format)) {\n return monthsSubjective[momentToFormat.month()];\n } else {\n return monthsNominative[momentToFormat.month()];\n }\n },\n monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),\n weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split(\n '_'\n ),\n weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),\n weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Dziś o] LT',\n nextDay: '[Jutro o] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[W niedzielę o] LT';\n\n case 2:\n return '[We wtorek o] LT';\n\n case 3:\n return '[W środę o] LT';\n\n case 6:\n return '[W sobotę o] LT';\n\n default:\n return '[W] dddd [o] LT';\n }\n },\n lastDay: '[Wczoraj o] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[W zeszłą niedzielę o] LT';\n case 3:\n return '[W zeszłą środę o] LT';\n case 6:\n return '[W zeszłą sobotę o] LT';\n default:\n return '[W zeszły] dddd [o] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: '%s temu',\n s: 'kilka sekund',\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: '1 dzień',\n dd: '%d dni',\n M: 'miesiąc',\n MM: translate,\n y: 'rok',\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return pl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Portuguese [pt]\n//! author : Jefferson : https://github.com/jalex79\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var pt = moment.defineLocale('pt', {\n months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(\n '_'\n ),\n monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),\n weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(\n '_'\n ),\n weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),\n weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY HH:mm',\n LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Hoje às] LT',\n nextDay: '[Amanhã às] LT',\n nextWeek: 'dddd [às] LT',\n lastDay: '[Ontem às] LT',\n lastWeek: function () {\n return this.day() === 0 || this.day() === 6\n ? '[Último] dddd [às] LT' // Saturday + Sunday\n : '[Última] dddd [às] LT'; // Monday - Friday\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'em %s',\n past: 'há %s',\n s: 'segundos',\n ss: '%d segundos',\n m: 'um minuto',\n mm: '%d minutos',\n h: 'uma hora',\n hh: '%d horas',\n d: 'um dia',\n dd: '%d dias',\n M: 'um mês',\n MM: '%d meses',\n y: 'um ano',\n yy: '%d anos',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return pt;\n\n})));\n","//! moment.js locale configuration\n//! locale : Portuguese (Brazil) [pt-br]\n//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ptBr = moment.defineLocale('pt-br', {\n months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(\n '_'\n ),\n monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),\n weekdays: 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split(\n '_'\n ),\n weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),\n weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D [de] MMMM [de] YYYY',\n LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',\n LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm',\n },\n calendar: {\n sameDay: '[Hoje às] LT',\n nextDay: '[Amanhã às] LT',\n nextWeek: 'dddd [às] LT',\n lastDay: '[Ontem às] LT',\n lastWeek: function () {\n return this.day() === 0 || this.day() === 6\n ? '[Último] dddd [às] LT' // Saturday + Sunday\n : '[Última] dddd [às] LT'; // Monday - Friday\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'em %s',\n past: 'há %s',\n s: 'poucos segundos',\n ss: '%d segundos',\n m: 'um minuto',\n mm: '%d minutos',\n h: 'uma hora',\n hh: '%d horas',\n d: 'um dia',\n dd: '%d dias',\n M: 'um mês',\n MM: '%d meses',\n y: 'um ano',\n yy: '%d anos',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}º/,\n ordinal: '%dº',\n });\n\n return ptBr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Romanian [ro]\n//! author : Vlad Gurdiga : https://github.com/gurdiga\n//! author : Valentin Agachi : https://github.com/avaly\n//! author : Emanuel Cepoi : https://github.com/cepem\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n ss: 'secunde',\n mm: 'minute',\n hh: 'ore',\n dd: 'zile',\n MM: 'luni',\n yy: 'ani',\n },\n separator = ' ';\n if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {\n separator = ' de ';\n }\n return number + separator + format[key];\n }\n\n var ro = moment.defineLocale('ro', {\n months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split(\n '_'\n ),\n monthsShort: 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),\n weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),\n weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY H:mm',\n LLLL: 'dddd, D MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[azi la] LT',\n nextDay: '[mâine la] LT',\n nextWeek: 'dddd [la] LT',\n lastDay: '[ieri la] LT',\n lastWeek: '[fosta] dddd [la] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'peste %s',\n past: '%s în urmă',\n s: 'câteva secunde',\n ss: relativeTimeWithPlural,\n m: 'un minut',\n mm: relativeTimeWithPlural,\n h: 'o oră',\n hh: relativeTimeWithPlural,\n d: 'o zi',\n dd: relativeTimeWithPlural,\n M: 'o lună',\n MM: relativeTimeWithPlural,\n y: 'un an',\n yy: relativeTimeWithPlural,\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return ro;\n\n})));\n","//! moment.js locale configuration\n//! locale : Russian [ru]\n//! author : Viktorminator : https://github.com/Viktorminator\n//! author : Menelion Elensúle : https://github.com/Oire\n//! author : Коренберг Марк : https://github.com/socketpair\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function plural(word, num) {\n var forms = word.split('_');\n return num % 10 === 1 && num % 100 !== 11\n ? forms[0]\n : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)\n ? forms[1]\n : forms[2];\n }\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',\n mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',\n hh: 'час_часа_часов',\n dd: 'день_дня_дней',\n MM: 'месяц_месяца_месяцев',\n yy: 'год_года_лет',\n };\n if (key === 'm') {\n return withoutSuffix ? 'минута' : 'минуту';\n } else {\n return number + ' ' + plural(format[key], +number);\n }\n }\n var monthsParse = [\n /^янв/i,\n /^фев/i,\n /^мар/i,\n /^апр/i,\n /^ма[йя]/i,\n /^июн/i,\n /^июл/i,\n /^авг/i,\n /^сен/i,\n /^окт/i,\n /^ноя/i,\n /^дек/i,\n ];\n\n // http://new.gramota.ru/spravka/rules/139-prop : § 103\n // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637\n // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753\n var ru = moment.defineLocale('ru', {\n months: {\n format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split(\n '_'\n ),\n standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(\n '_'\n ),\n },\n monthsShort: {\n // по CLDR именно \"июл.\" и \"июн.\", но какой смысл менять букву на точку?\n format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split(\n '_'\n ),\n standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split(\n '_'\n ),\n },\n weekdays: {\n standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split(\n '_'\n ),\n format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split(\n '_'\n ),\n isFormat: /\\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/,\n },\n weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),\n weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),\n monthsParse: monthsParse,\n longMonthsParse: monthsParse,\n shortMonthsParse: monthsParse,\n\n // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки\n monthsRegex: /^(январ[ья]|янв\\.?|феврал[ья]|февр?\\.?|марта?|мар\\.?|апрел[ья]|апр\\.?|ма[йя]|июн[ья]|июн\\.?|июл[ья]|июл\\.?|августа?|авг\\.?|сентябр[ья]|сент?\\.?|октябр[ья]|окт\\.?|ноябр[ья]|нояб?\\.?|декабр[ья]|дек\\.?)/i,\n\n // копия предыдущего\n monthsShortRegex: /^(январ[ья]|янв\\.?|феврал[ья]|февр?\\.?|марта?|мар\\.?|апрел[ья]|апр\\.?|ма[йя]|июн[ья]|июн\\.?|июл[ья]|июл\\.?|августа?|авг\\.?|сентябр[ья]|сент?\\.?|октябр[ья]|окт\\.?|ноябр[ья]|нояб?\\.?|декабр[ья]|дек\\.?)/i,\n\n // полные названия с падежами\n monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,\n\n // Выражение, которое соответствует только сокращённым формам\n monthsShortStrictRegex: /^(янв\\.|февр?\\.|мар[т.]|апр\\.|ма[яй]|июн[ья.]|июл[ья.]|авг\\.|сент?\\.|окт\\.|нояб?\\.|дек\\.)/i,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY г.',\n LLL: 'D MMMM YYYY г., H:mm',\n LLLL: 'dddd, D MMMM YYYY г., H:mm',\n },\n calendar: {\n sameDay: '[Сегодня, в] LT',\n nextDay: '[Завтра, в] LT',\n lastDay: '[Вчера, в] LT',\n nextWeek: function (now) {\n if (now.week() !== this.week()) {\n switch (this.day()) {\n case 0:\n return '[В следующее] dddd, [в] LT';\n case 1:\n case 2:\n case 4:\n return '[В следующий] dddd, [в] LT';\n case 3:\n case 5:\n case 6:\n return '[В следующую] dddd, [в] LT';\n }\n } else {\n if (this.day() === 2) {\n return '[Во] dddd, [в] LT';\n } else {\n return '[В] dddd, [в] LT';\n }\n }\n },\n lastWeek: function (now) {\n if (now.week() !== this.week()) {\n switch (this.day()) {\n case 0:\n return '[В прошлое] dddd, [в] LT';\n case 1:\n case 2:\n case 4:\n return '[В прошлый] dddd, [в] LT';\n case 3:\n case 5:\n case 6:\n return '[В прошлую] dddd, [в] LT';\n }\n } else {\n if (this.day() === 2) {\n return '[Во] dddd, [в] LT';\n } else {\n return '[В] dddd, [в] LT';\n }\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'через %s',\n past: '%s назад',\n s: 'несколько секунд',\n ss: relativeTimeWithPlural,\n m: relativeTimeWithPlural,\n mm: relativeTimeWithPlural,\n h: 'час',\n hh: relativeTimeWithPlural,\n d: 'день',\n dd: relativeTimeWithPlural,\n M: 'месяц',\n MM: relativeTimeWithPlural,\n y: 'год',\n yy: relativeTimeWithPlural,\n },\n meridiemParse: /ночи|утра|дня|вечера/i,\n isPM: function (input) {\n return /^(дня|вечера)$/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'ночи';\n } else if (hour < 12) {\n return 'утра';\n } else if (hour < 17) {\n return 'дня';\n } else {\n return 'вечера';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(й|го|я)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'M':\n case 'd':\n case 'DDD':\n return number + '-й';\n case 'D':\n return number + '-го';\n case 'w':\n case 'W':\n return number + '-я';\n default:\n return number;\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return ru;\n\n})));\n","//! moment.js locale configuration\n//! locale : Sindhi [sd]\n//! author : Narain Sagar : https://github.com/narainsagar\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months = [\n 'جنوري',\n 'فيبروري',\n 'مارچ',\n 'اپريل',\n 'مئي',\n 'جون',\n 'جولاءِ',\n 'آگسٽ',\n 'سيپٽمبر',\n 'آڪٽوبر',\n 'نومبر',\n 'ڊسمبر',\n ],\n days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];\n\n var sd = moment.defineLocale('sd', {\n months: months,\n monthsShort: months,\n weekdays: days,\n weekdaysShort: days,\n weekdaysMin: days,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd، D MMMM YYYY HH:mm',\n },\n meridiemParse: /صبح|شام/,\n isPM: function (input) {\n return 'شام' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'صبح';\n }\n return 'شام';\n },\n calendar: {\n sameDay: '[اڄ] LT',\n nextDay: '[سڀاڻي] LT',\n nextWeek: 'dddd [اڳين هفتي تي] LT',\n lastDay: '[ڪالهه] LT',\n lastWeek: '[گزريل هفتي] dddd [تي] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s پوء',\n past: '%s اڳ',\n s: 'چند سيڪنڊ',\n ss: '%d سيڪنڊ',\n m: 'هڪ منٽ',\n mm: '%d منٽ',\n h: 'هڪ ڪلاڪ',\n hh: '%d ڪلاڪ',\n d: 'هڪ ڏينهن',\n dd: '%d ڏينهن',\n M: 'هڪ مهينو',\n MM: '%d مهينا',\n y: 'هڪ سال',\n yy: '%d سال',\n },\n preparse: function (string) {\n return string.replace(/،/g, ',');\n },\n postformat: function (string) {\n return string.replace(/,/g, '،');\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return sd;\n\n})));\n","//! moment.js locale configuration\n//! locale : Northern Sami [se]\n//! authors : Bård Rolstad Henriksen : https://github.com/karamell\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var se = moment.defineLocale('se', {\n months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split(\n '_'\n ),\n monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split(\n '_'\n ),\n weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split(\n '_'\n ),\n weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),\n weekdaysMin: 's_v_m_g_d_b_L'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'MMMM D. [b.] YYYY',\n LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',\n LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm',\n },\n calendar: {\n sameDay: '[otne ti] LT',\n nextDay: '[ihttin ti] LT',\n nextWeek: 'dddd [ti] LT',\n lastDay: '[ikte ti] LT',\n lastWeek: '[ovddit] dddd [ti] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s geažes',\n past: 'maŋit %s',\n s: 'moadde sekunddat',\n ss: '%d sekunddat',\n m: 'okta minuhta',\n mm: '%d minuhtat',\n h: 'okta diimmu',\n hh: '%d diimmut',\n d: 'okta beaivi',\n dd: '%d beaivvit',\n M: 'okta mánnu',\n MM: '%d mánut',\n y: 'okta jahki',\n yy: '%d jagit',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return se;\n\n})));\n","//! moment.js locale configuration\n//! locale : Sinhalese [si]\n//! author : Sampath Sitinamaluwa : https://github.com/sampathsris\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n /*jshint -W100*/\n var si = moment.defineLocale('si', {\n months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split(\n '_'\n ),\n monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split(\n '_'\n ),\n weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split(\n '_'\n ),\n weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'),\n weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'a h:mm',\n LTS: 'a h:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYY MMMM D',\n LLL: 'YYYY MMMM D, a h:mm',\n LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss',\n },\n calendar: {\n sameDay: '[අද] LT[ට]',\n nextDay: '[හෙට] LT[ට]',\n nextWeek: 'dddd LT[ට]',\n lastDay: '[ඊයේ] LT[ට]',\n lastWeek: '[පසුගිය] dddd LT[ට]',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%sකින්',\n past: '%sකට පෙර',\n s: 'තත්පර කිහිපය',\n ss: 'තත්පර %d',\n m: 'මිනිත්තුව',\n mm: 'මිනිත්තු %d',\n h: 'පැය',\n hh: 'පැය %d',\n d: 'දිනය',\n dd: 'දින %d',\n M: 'මාසය',\n MM: 'මාස %d',\n y: 'වසර',\n yy: 'වසර %d',\n },\n dayOfMonthOrdinalParse: /\\d{1,2} වැනි/,\n ordinal: function (number) {\n return number + ' වැනි';\n },\n meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,\n isPM: function (input) {\n return input === 'ප.ව.' || input === 'පස් වරු';\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'ප.ව.' : 'පස් වරු';\n } else {\n return isLower ? 'පෙ.ව.' : 'පෙර වරු';\n }\n },\n });\n\n return si;\n\n})));\n","//! moment.js locale configuration\n//! locale : Slovak [sk]\n//! author : Martin Minka : https://github.com/k2s\n//! based on work of petrbela : https://github.com/petrbela\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split(\n '_'\n ),\n monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');\n function plural(n) {\n return n > 1 && n < 5;\n }\n function translate(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n switch (key) {\n case 's': // a few seconds / in a few seconds / a few seconds ago\n return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';\n case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'sekundy' : 'sekúnd');\n } else {\n return result + 'sekundami';\n }\n case 'm': // a minute / in a minute / a minute ago\n return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';\n case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'minúty' : 'minút');\n } else {\n return result + 'minútami';\n }\n case 'h': // an hour / in an hour / an hour ago\n return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';\n case 'hh': // 9 hours / in 9 hours / 9 hours ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'hodiny' : 'hodín');\n } else {\n return result + 'hodinami';\n }\n case 'd': // a day / in a day / a day ago\n return withoutSuffix || isFuture ? 'deň' : 'dňom';\n case 'dd': // 9 days / in 9 days / 9 days ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'dni' : 'dní');\n } else {\n return result + 'dňami';\n }\n case 'M': // a month / in a month / a month ago\n return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';\n case 'MM': // 9 months / in 9 months / 9 months ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'mesiace' : 'mesiacov');\n } else {\n return result + 'mesiacmi';\n }\n case 'y': // a year / in a year / a year ago\n return withoutSuffix || isFuture ? 'rok' : 'rokom';\n case 'yy': // 9 years / in 9 years / 9 years ago\n if (withoutSuffix || isFuture) {\n return result + (plural(number) ? 'roky' : 'rokov');\n } else {\n return result + 'rokmi';\n }\n }\n }\n\n var sk = moment.defineLocale('sk', {\n months: months,\n monthsShort: monthsShort,\n weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),\n weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),\n weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd D. MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[dnes o] LT',\n nextDay: '[zajtra o] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[v nedeľu o] LT';\n case 1:\n case 2:\n return '[v] dddd [o] LT';\n case 3:\n return '[v stredu o] LT';\n case 4:\n return '[vo štvrtok o] LT';\n case 5:\n return '[v piatok o] LT';\n case 6:\n return '[v sobotu o] LT';\n }\n },\n lastDay: '[včera o] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[minulú nedeľu o] LT';\n case 1:\n case 2:\n return '[minulý] dddd [o] LT';\n case 3:\n return '[minulú stredu o] LT';\n case 4:\n case 5:\n return '[minulý] dddd [o] LT';\n case 6:\n return '[minulú sobotu o] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: 'pred %s',\n s: translate,\n ss: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return sk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Slovenian [sl]\n//! author : Robert Sedovšek : https://github.com/sedovsek\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var result = number + ' ';\n switch (key) {\n case 's':\n return withoutSuffix || isFuture\n ? 'nekaj sekund'\n : 'nekaj sekundami';\n case 'ss':\n if (number === 1) {\n result += withoutSuffix ? 'sekundo' : 'sekundi';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';\n } else {\n result += 'sekund';\n }\n return result;\n case 'm':\n return withoutSuffix ? 'ena minuta' : 'eno minuto';\n case 'mm':\n if (number === 1) {\n result += withoutSuffix ? 'minuta' : 'minuto';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'minuti' : 'minutama';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'minute' : 'minutami';\n } else {\n result += withoutSuffix || isFuture ? 'minut' : 'minutami';\n }\n return result;\n case 'h':\n return withoutSuffix ? 'ena ura' : 'eno uro';\n case 'hh':\n if (number === 1) {\n result += withoutSuffix ? 'ura' : 'uro';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'uri' : 'urama';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'ure' : 'urami';\n } else {\n result += withoutSuffix || isFuture ? 'ur' : 'urami';\n }\n return result;\n case 'd':\n return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';\n case 'dd':\n if (number === 1) {\n result += withoutSuffix || isFuture ? 'dan' : 'dnem';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';\n } else {\n result += withoutSuffix || isFuture ? 'dni' : 'dnevi';\n }\n return result;\n case 'M':\n return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';\n case 'MM':\n if (number === 1) {\n result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'mesece' : 'meseci';\n } else {\n result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';\n }\n return result;\n case 'y':\n return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';\n case 'yy':\n if (number === 1) {\n result += withoutSuffix || isFuture ? 'leto' : 'letom';\n } else if (number === 2) {\n result += withoutSuffix || isFuture ? 'leti' : 'letoma';\n } else if (number < 5) {\n result += withoutSuffix || isFuture ? 'leta' : 'leti';\n } else {\n result += withoutSuffix || isFuture ? 'let' : 'leti';\n }\n return result;\n }\n }\n\n var sl = moment.defineLocale('sl', {\n months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split(\n '_'\n ),\n monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),\n weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),\n weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD. MM. YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[danes ob] LT',\n nextDay: '[jutri ob] LT',\n\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[v] [nedeljo] [ob] LT';\n case 3:\n return '[v] [sredo] [ob] LT';\n case 6:\n return '[v] [soboto] [ob] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[v] dddd [ob] LT';\n }\n },\n lastDay: '[včeraj ob] LT',\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n return '[prejšnjo] [nedeljo] [ob] LT';\n case 3:\n return '[prejšnjo] [sredo] [ob] LT';\n case 6:\n return '[prejšnjo] [soboto] [ob] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[prejšnji] dddd [ob] LT';\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'čez %s',\n past: 'pred %s',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return sl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Albanian [sq]\n//! author : Flakërim Ismani : https://github.com/flakerimi\n//! author : Menelion Elensúle : https://github.com/Oire\n//! author : Oerd Cukalla : https://github.com/oerd\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var sq = moment.defineLocale('sq', {\n months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split(\n '_'\n ),\n monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),\n weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split(\n '_'\n ),\n weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),\n weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),\n weekdaysParseExact: true,\n meridiemParse: /PD|MD/,\n isPM: function (input) {\n return input.charAt(0) === 'M';\n },\n meridiem: function (hours, minutes, isLower) {\n return hours < 12 ? 'PD' : 'MD';\n },\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Sot në] LT',\n nextDay: '[Nesër në] LT',\n nextWeek: 'dddd [në] LT',\n lastDay: '[Dje në] LT',\n lastWeek: 'dddd [e kaluar në] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'në %s',\n past: '%s më parë',\n s: 'disa sekonda',\n ss: '%d sekonda',\n m: 'një minutë',\n mm: '%d minuta',\n h: 'një orë',\n hh: '%d orë',\n d: 'një ditë',\n dd: '%d ditë',\n M: 'një muaj',\n MM: '%d muaj',\n y: 'një vit',\n yy: '%d vite',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return sq;\n\n})));\n","//! moment.js locale configuration\n//! locale : Serbian [sr]\n//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var translator = {\n words: {\n //Different grammatical cases\n ss: ['sekunda', 'sekunde', 'sekundi'],\n m: ['jedan minut', 'jedne minute'],\n mm: ['minut', 'minute', 'minuta'],\n h: ['jedan sat', 'jednog sata'],\n hh: ['sat', 'sata', 'sati'],\n dd: ['dan', 'dana', 'dana'],\n MM: ['mesec', 'meseca', 'meseci'],\n yy: ['godina', 'godine', 'godina'],\n },\n correctGrammaticalCase: function (number, wordKey) {\n return number === 1\n ? wordKey[0]\n : number >= 2 && number <= 4\n ? wordKey[1]\n : wordKey[2];\n },\n translate: function (number, withoutSuffix, key) {\n var wordKey = translator.words[key];\n if (key.length === 1) {\n return withoutSuffix ? wordKey[0] : wordKey[1];\n } else {\n return (\n number +\n ' ' +\n translator.correctGrammaticalCase(number, wordKey)\n );\n }\n },\n };\n\n var sr = moment.defineLocale('sr', {\n months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(\n '_'\n ),\n monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split(\n '_'\n ),\n weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),\n weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[danas u] LT',\n nextDay: '[sutra u] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[u] [nedelju] [u] LT';\n case 3:\n return '[u] [sredu] [u] LT';\n case 6:\n return '[u] [subotu] [u] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[u] dddd [u] LT';\n }\n },\n lastDay: '[juče u] LT',\n lastWeek: function () {\n var lastWeekDays = [\n '[prošle] [nedelje] [u] LT',\n '[prošlog] [ponedeljka] [u] LT',\n '[prošlog] [utorka] [u] LT',\n '[prošle] [srede] [u] LT',\n '[prošlog] [četvrtka] [u] LT',\n '[prošlog] [petka] [u] LT',\n '[prošle] [subote] [u] LT',\n ];\n return lastWeekDays[this.day()];\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'za %s',\n past: 'pre %s',\n s: 'nekoliko sekundi',\n ss: translator.translate,\n m: translator.translate,\n mm: translator.translate,\n h: translator.translate,\n hh: translator.translate,\n d: 'dan',\n dd: translator.translate,\n M: 'mesec',\n MM: translator.translate,\n y: 'godinu',\n yy: translator.translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return sr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Serbian Cyrillic [sr-cyrl]\n//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var translator = {\n words: {\n //Different grammatical cases\n ss: ['секунда', 'секунде', 'секунди'],\n m: ['један минут', 'једне минуте'],\n mm: ['минут', 'минуте', 'минута'],\n h: ['један сат', 'једног сата'],\n hh: ['сат', 'сата', 'сати'],\n dd: ['дан', 'дана', 'дана'],\n MM: ['месец', 'месеца', 'месеци'],\n yy: ['година', 'године', 'година'],\n },\n correctGrammaticalCase: function (number, wordKey) {\n return number === 1\n ? wordKey[0]\n : number >= 2 && number <= 4\n ? wordKey[1]\n : wordKey[2];\n },\n translate: function (number, withoutSuffix, key) {\n var wordKey = translator.words[key];\n if (key.length === 1) {\n return withoutSuffix ? wordKey[0] : wordKey[1];\n } else {\n return (\n number +\n ' ' +\n translator.correctGrammaticalCase(number, wordKey)\n );\n }\n },\n };\n\n var srCyrl = moment.defineLocale('sr-cyrl', {\n months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split(\n '_'\n ),\n monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),\n weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),\n weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm',\n },\n calendar: {\n sameDay: '[данас у] LT',\n nextDay: '[сутра у] LT',\n nextWeek: function () {\n switch (this.day()) {\n case 0:\n return '[у] [недељу] [у] LT';\n case 3:\n return '[у] [среду] [у] LT';\n case 6:\n return '[у] [суботу] [у] LT';\n case 1:\n case 2:\n case 4:\n case 5:\n return '[у] dddd [у] LT';\n }\n },\n lastDay: '[јуче у] LT',\n lastWeek: function () {\n var lastWeekDays = [\n '[прошле] [недеље] [у] LT',\n '[прошлог] [понедељка] [у] LT',\n '[прошлог] [уторка] [у] LT',\n '[прошле] [среде] [у] LT',\n '[прошлог] [четвртка] [у] LT',\n '[прошлог] [петка] [у] LT',\n '[прошле] [суботе] [у] LT',\n ];\n return lastWeekDays[this.day()];\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'за %s',\n past: 'пре %s',\n s: 'неколико секунди',\n ss: translator.translate,\n m: translator.translate,\n mm: translator.translate,\n h: translator.translate,\n hh: translator.translate,\n d: 'дан',\n dd: translator.translate,\n M: 'месец',\n MM: translator.translate,\n y: 'годину',\n yy: translator.translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return srCyrl;\n\n})));\n","//! moment.js locale configuration\n//! locale : siSwati [ss]\n//! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var ss = moment.defineLocale('ss', {\n months: \"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni\".split(\n '_'\n ),\n monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),\n weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split(\n '_'\n ),\n weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),\n weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A',\n },\n calendar: {\n sameDay: '[Namuhla nga] LT',\n nextDay: '[Kusasa nga] LT',\n nextWeek: 'dddd [nga] LT',\n lastDay: '[Itolo nga] LT',\n lastWeek: 'dddd [leliphelile] [nga] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'nga %s',\n past: 'wenteka nga %s',\n s: 'emizuzwana lomcane',\n ss: '%d mzuzwana',\n m: 'umzuzu',\n mm: '%d emizuzu',\n h: 'lihora',\n hh: '%d emahora',\n d: 'lilanga',\n dd: '%d emalanga',\n M: 'inyanga',\n MM: '%d tinyanga',\n y: 'umnyaka',\n yy: '%d iminyaka',\n },\n meridiemParse: /ekuseni|emini|entsambama|ebusuku/,\n meridiem: function (hours, minutes, isLower) {\n if (hours < 11) {\n return 'ekuseni';\n } else if (hours < 15) {\n return 'emini';\n } else if (hours < 19) {\n return 'entsambama';\n } else {\n return 'ebusuku';\n }\n },\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'ekuseni') {\n return hour;\n } else if (meridiem === 'emini') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {\n if (hour === 0) {\n return 0;\n }\n return hour + 12;\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}/,\n ordinal: '%d',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return ss;\n\n})));\n","//! moment.js locale configuration\n//! locale : Swedish [sv]\n//! author : Jens Alm : https://github.com/ulmus\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var sv = moment.defineLocale('sv', {\n months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(\n '_'\n ),\n monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),\n weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),\n weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY [kl.] HH:mm',\n LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',\n lll: 'D MMM YYYY HH:mm',\n llll: 'ddd D MMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Idag] LT',\n nextDay: '[Imorgon] LT',\n lastDay: '[Igår] LT',\n nextWeek: '[På] dddd LT',\n lastWeek: '[I] dddd[s] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'om %s',\n past: 'för %s sedan',\n s: 'några sekunder',\n ss: '%d sekunder',\n m: 'en minut',\n mm: '%d minuter',\n h: 'en timme',\n hh: '%d timmar',\n d: 'en dag',\n dd: '%d dagar',\n M: 'en månad',\n MM: '%d månader',\n y: 'ett år',\n yy: '%d år',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(\\:e|\\:a)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? ':e'\n : b === 1\n ? ':a'\n : b === 2\n ? ':a'\n : b === 3\n ? ':e'\n : ':e';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return sv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Swahili [sw]\n//! author : Fahad Kassim : https://github.com/fadsel\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var sw = moment.defineLocale('sw', {\n months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(\n '_'\n ),\n monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),\n weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(\n '_'\n ),\n weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),\n weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[leo saa] LT',\n nextDay: '[kesho saa] LT',\n nextWeek: '[wiki ijayo] dddd [saat] LT',\n lastDay: '[jana] LT',\n lastWeek: '[wiki iliyopita] dddd [saat] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s baadaye',\n past: 'tokea %s',\n s: 'hivi punde',\n ss: 'sekunde %d',\n m: 'dakika moja',\n mm: 'dakika %d',\n h: 'saa limoja',\n hh: 'masaa %d',\n d: 'siku moja',\n dd: 'siku %d',\n M: 'mwezi mmoja',\n MM: 'miezi %d',\n y: 'mwaka mmoja',\n yy: 'miaka %d',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return sw;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tamil [ta]\n//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var symbolMap = {\n '1': '௧',\n '2': '௨',\n '3': '௩',\n '4': '௪',\n '5': '௫',\n '6': '௬',\n '7': '௭',\n '8': '௮',\n '9': '௯',\n '0': '௦',\n },\n numberMap = {\n '௧': '1',\n '௨': '2',\n '௩': '3',\n '௪': '4',\n '௫': '5',\n '௬': '6',\n '௭': '7',\n '௮': '8',\n '௯': '9',\n '௦': '0',\n };\n\n var ta = moment.defineLocale('ta', {\n months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(\n '_'\n ),\n monthsShort: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(\n '_'\n ),\n weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split(\n '_'\n ),\n weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split(\n '_'\n ),\n weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, HH:mm',\n LLLL: 'dddd, D MMMM YYYY, HH:mm',\n },\n calendar: {\n sameDay: '[இன்று] LT',\n nextDay: '[நாளை] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[நேற்று] LT',\n lastWeek: '[கடந்த வாரம்] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s இல்',\n past: '%s முன்',\n s: 'ஒரு சில விநாடிகள்',\n ss: '%d விநாடிகள்',\n m: 'ஒரு நிமிடம்',\n mm: '%d நிமிடங்கள்',\n h: 'ஒரு மணி நேரம்',\n hh: '%d மணி நேரம்',\n d: 'ஒரு நாள்',\n dd: '%d நாட்கள்',\n M: 'ஒரு மாதம்',\n MM: '%d மாதங்கள்',\n y: 'ஒரு வருடம்',\n yy: '%d ஆண்டுகள்',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}வது/,\n ordinal: function (number) {\n return number + 'வது';\n },\n preparse: function (string) {\n return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {\n return numberMap[match];\n });\n },\n postformat: function (string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n });\n },\n // refer http://ta.wikipedia.org/s/1er1\n meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,\n meridiem: function (hour, minute, isLower) {\n if (hour < 2) {\n return ' யாமம்';\n } else if (hour < 6) {\n return ' வைகறை'; // வைகறை\n } else if (hour < 10) {\n return ' காலை'; // காலை\n } else if (hour < 14) {\n return ' நண்பகல்'; // நண்பகல்\n } else if (hour < 18) {\n return ' எற்பாடு'; // எற்பாடு\n } else if (hour < 22) {\n return ' மாலை'; // மாலை\n } else {\n return ' யாமம்';\n }\n },\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'யாமம்') {\n return hour < 2 ? hour : hour + 12;\n } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {\n return hour;\n } else if (meridiem === 'நண்பகல்') {\n return hour >= 10 ? hour : hour + 12;\n } else {\n return hour + 12;\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return ta;\n\n})));\n","//! moment.js locale configuration\n//! locale : Telugu [te]\n//! author : Krishna Chaitanya Thota : https://github.com/kcthota\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var te = moment.defineLocale('te', {\n months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split(\n '_'\n ),\n monthsShort: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split(\n '_'\n ),\n weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),\n weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),\n longDateFormat: {\n LT: 'A h:mm',\n LTS: 'A h:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY, A h:mm',\n LLLL: 'dddd, D MMMM YYYY, A h:mm',\n },\n calendar: {\n sameDay: '[నేడు] LT',\n nextDay: '[రేపు] LT',\n nextWeek: 'dddd, LT',\n lastDay: '[నిన్న] LT',\n lastWeek: '[గత] dddd, LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s లో',\n past: '%s క్రితం',\n s: 'కొన్ని క్షణాలు',\n ss: '%d సెకన్లు',\n m: 'ఒక నిమిషం',\n mm: '%d నిమిషాలు',\n h: 'ఒక గంట',\n hh: '%d గంటలు',\n d: 'ఒక రోజు',\n dd: '%d రోజులు',\n M: 'ఒక నెల',\n MM: '%d నెలలు',\n y: 'ఒక సంవత్సరం',\n yy: '%d సంవత్సరాలు',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}వ/,\n ordinal: '%dవ',\n meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'రాత్రి') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'ఉదయం') {\n return hour;\n } else if (meridiem === 'మధ్యాహ్నం') {\n return hour >= 10 ? hour : hour + 12;\n } else if (meridiem === 'సాయంత్రం') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'రాత్రి';\n } else if (hour < 10) {\n return 'ఉదయం';\n } else if (hour < 17) {\n return 'మధ్యాహ్నం';\n } else if (hour < 20) {\n return 'సాయంత్రం';\n } else {\n return 'రాత్రి';\n }\n },\n week: {\n dow: 0, // Sunday is the first day of the week.\n doy: 6, // The week that contains Jan 6th is the first week of the year.\n },\n });\n\n return te;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tetun Dili (East Timor) [tet]\n//! author : Joshua Brooks : https://github.com/joshbrooks\n//! author : Onorio De J. Afonso : https://github.com/marobo\n//! author : Sonia Simoes : https://github.com/soniasimoes\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var tet = moment.defineLocale('tet', {\n months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(\n '_'\n ),\n monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),\n weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),\n weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),\n weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Ohin iha] LT',\n nextDay: '[Aban iha] LT',\n nextWeek: 'dddd [iha] LT',\n lastDay: '[Horiseik iha] LT',\n lastWeek: 'dddd [semana kotuk] [iha] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'iha %s',\n past: '%s liuba',\n s: 'segundu balun',\n ss: 'segundu %d',\n m: 'minutu ida',\n mm: 'minutu %d',\n h: 'oras ida',\n hh: 'oras %d',\n d: 'loron ida',\n dd: 'loron %d',\n M: 'fulan ida',\n MM: 'fulan %d',\n y: 'tinan ida',\n yy: 'tinan %d',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return tet;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tajik [tg]\n//! author : Orif N. Jr. : https://github.com/orif-jr\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var suffixes = {\n 0: '-ум',\n 1: '-ум',\n 2: '-юм',\n 3: '-юм',\n 4: '-ум',\n 5: '-ум',\n 6: '-ум',\n 7: '-ум',\n 8: '-ум',\n 9: '-ум',\n 10: '-ум',\n 12: '-ум',\n 13: '-ум',\n 20: '-ум',\n 30: '-юм',\n 40: '-ум',\n 50: '-ум',\n 60: '-ум',\n 70: '-ум',\n 80: '-ум',\n 90: '-ум',\n 100: '-ум',\n };\n\n var tg = moment.defineLocale('tg', {\n months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(\n '_'\n ),\n monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),\n weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split(\n '_'\n ),\n weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),\n weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Имрӯз соати] LT',\n nextDay: '[Пагоҳ соати] LT',\n lastDay: '[Дирӯз соати] LT',\n nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',\n lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'баъди %s',\n past: '%s пеш',\n s: 'якчанд сония',\n m: 'як дақиқа',\n mm: '%d дақиқа',\n h: 'як соат',\n hh: '%d соат',\n d: 'як рӯз',\n dd: '%d рӯз',\n M: 'як моҳ',\n MM: '%d моҳ',\n y: 'як сол',\n yy: '%d сол',\n },\n meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === 'шаб') {\n return hour < 4 ? hour : hour + 12;\n } else if (meridiem === 'субҳ') {\n return hour;\n } else if (meridiem === 'рӯз') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === 'бегоҳ') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'шаб';\n } else if (hour < 11) {\n return 'субҳ';\n } else if (hour < 16) {\n return 'рӯз';\n } else if (hour < 19) {\n return 'бегоҳ';\n } else {\n return 'шаб';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(ум|юм)/,\n ordinal: function (number) {\n var a = number % 10,\n b = number >= 100 ? 100 : null;\n return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 1th is the first week of the year.\n },\n });\n\n return tg;\n\n})));\n","//! moment.js locale configuration\n//! locale : Thai [th]\n//! author : Kridsada Thanabulpong : https://github.com/sirn\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var th = moment.defineLocale('th', {\n months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split(\n '_'\n ),\n monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),\n weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference\n weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY เวลา H:mm',\n LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm',\n },\n meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,\n isPM: function (input) {\n return input === 'หลังเที่ยง';\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'ก่อนเที่ยง';\n } else {\n return 'หลังเที่ยง';\n }\n },\n calendar: {\n sameDay: '[วันนี้ เวลา] LT',\n nextDay: '[พรุ่งนี้ เวลา] LT',\n nextWeek: 'dddd[หน้า เวลา] LT',\n lastDay: '[เมื่อวานนี้ เวลา] LT',\n lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'อีก %s',\n past: '%sที่แล้ว',\n s: 'ไม่กี่วินาที',\n ss: '%d วินาที',\n m: '1 นาที',\n mm: '%d นาที',\n h: '1 ชั่วโมง',\n hh: '%d ชั่วโมง',\n d: '1 วัน',\n dd: '%d วัน',\n M: '1 เดือน',\n MM: '%d เดือน',\n y: '1 ปี',\n yy: '%d ปี',\n },\n });\n\n return th;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tagalog (Philippines) [tl-ph]\n//! author : Dan Hagman : https://github.com/hagmandan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var tlPh = moment.defineLocale('tl-ph', {\n months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(\n '_'\n ),\n monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),\n weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(\n '_'\n ),\n weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),\n weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'MM/D/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY HH:mm',\n LLLL: 'dddd, MMMM DD, YYYY HH:mm',\n },\n calendar: {\n sameDay: 'LT [ngayong araw]',\n nextDay: '[Bukas ng] LT',\n nextWeek: 'LT [sa susunod na] dddd',\n lastDay: 'LT [kahapon]',\n lastWeek: 'LT [noong nakaraang] dddd',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'sa loob ng %s',\n past: '%s ang nakalipas',\n s: 'ilang segundo',\n ss: '%d segundo',\n m: 'isang minuto',\n mm: '%d minuto',\n h: 'isang oras',\n hh: '%d oras',\n d: 'isang araw',\n dd: '%d araw',\n M: 'isang buwan',\n MM: '%d buwan',\n y: 'isang taon',\n yy: '%d taon',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}/,\n ordinal: function (number) {\n return number;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return tlPh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Klingon [tlh]\n//! author : Dominika Kruk : https://github.com/amaranthrose\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');\n\n function translateFuture(output) {\n var time = output;\n time =\n output.indexOf('jaj') !== -1\n ? time.slice(0, -3) + 'leS'\n : output.indexOf('jar') !== -1\n ? time.slice(0, -3) + 'waQ'\n : output.indexOf('DIS') !== -1\n ? time.slice(0, -3) + 'nem'\n : time + ' pIq';\n return time;\n }\n\n function translatePast(output) {\n var time = output;\n time =\n output.indexOf('jaj') !== -1\n ? time.slice(0, -3) + 'Hu’'\n : output.indexOf('jar') !== -1\n ? time.slice(0, -3) + 'wen'\n : output.indexOf('DIS') !== -1\n ? time.slice(0, -3) + 'ben'\n : time + ' ret';\n return time;\n }\n\n function translate(number, withoutSuffix, string, isFuture) {\n var numberNoun = numberAsNoun(number);\n switch (string) {\n case 'ss':\n return numberNoun + ' lup';\n case 'mm':\n return numberNoun + ' tup';\n case 'hh':\n return numberNoun + ' rep';\n case 'dd':\n return numberNoun + ' jaj';\n case 'MM':\n return numberNoun + ' jar';\n case 'yy':\n return numberNoun + ' DIS';\n }\n }\n\n function numberAsNoun(number) {\n var hundred = Math.floor((number % 1000) / 100),\n ten = Math.floor((number % 100) / 10),\n one = number % 10,\n word = '';\n if (hundred > 0) {\n word += numbersNouns[hundred] + 'vatlh';\n }\n if (ten > 0) {\n word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';\n }\n if (one > 0) {\n word += (word !== '' ? ' ' : '') + numbersNouns[one];\n }\n return word === '' ? 'pagh' : word;\n }\n\n var tlh = moment.defineLocale('tlh', {\n months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split(\n '_'\n ),\n monthsShort: 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(\n '_'\n ),\n weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(\n '_'\n ),\n weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(\n '_'\n ),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[DaHjaj] LT',\n nextDay: '[wa’leS] LT',\n nextWeek: 'LLL',\n lastDay: '[wa’Hu’] LT',\n lastWeek: 'LLL',\n sameElse: 'L',\n },\n relativeTime: {\n future: translateFuture,\n past: translatePast,\n s: 'puS lup',\n ss: translate,\n m: 'wa’ tup',\n mm: translate,\n h: 'wa’ rep',\n hh: translate,\n d: 'wa’ jaj',\n dd: translate,\n M: 'wa’ jar',\n MM: translate,\n y: 'wa’ DIS',\n yy: translate,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return tlh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Turkish [tr]\n//! authors : Erhan Gundogan : https://github.com/erhangundogan,\n//! Burak Yiğit Kaya: https://github.com/BYK\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var suffixes = {\n 1: \"'inci\",\n 5: \"'inci\",\n 8: \"'inci\",\n 70: \"'inci\",\n 80: \"'inci\",\n 2: \"'nci\",\n 7: \"'nci\",\n 20: \"'nci\",\n 50: \"'nci\",\n 3: \"'üncü\",\n 4: \"'üncü\",\n 100: \"'üncü\",\n 6: \"'ncı\",\n 9: \"'uncu\",\n 10: \"'uncu\",\n 30: \"'uncu\",\n 60: \"'ıncı\",\n 90: \"'ıncı\",\n };\n\n var tr = moment.defineLocale('tr', {\n months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split(\n '_'\n ),\n monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),\n weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split(\n '_'\n ),\n weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),\n weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),\n meridiem: function (hours, minutes, isLower) {\n if (hours < 12) {\n return isLower ? 'öö' : 'ÖÖ';\n } else {\n return isLower ? 'ös' : 'ÖS';\n }\n },\n meridiemParse: /öö|ÖÖ|ös|ÖS/,\n isPM: function (input) {\n return input === 'ös' || input === 'ÖS';\n },\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[bugün saat] LT',\n nextDay: '[yarın saat] LT',\n nextWeek: '[gelecek] dddd [saat] LT',\n lastDay: '[dün] LT',\n lastWeek: '[geçen] dddd [saat] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s sonra',\n past: '%s önce',\n s: 'birkaç saniye',\n ss: '%d saniye',\n m: 'bir dakika',\n mm: '%d dakika',\n h: 'bir saat',\n hh: '%d saat',\n d: 'bir gün',\n dd: '%d gün',\n M: 'bir ay',\n MM: '%d ay',\n y: 'bir yıl',\n yy: '%d yıl',\n },\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'Do':\n case 'DD':\n return number;\n default:\n if (number === 0) {\n // special case for zero\n return number + \"'ıncı\";\n }\n var a = number % 10,\n b = (number % 100) - a,\n c = number >= 100 ? 100 : null;\n return number + (suffixes[a] || suffixes[b] || suffixes[c]);\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return tr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Talossan [tzl]\n//! author : Robin van der Vliet : https://github.com/robin0van0der0v\n//! author : Iustì Canun\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.\n // This is currently too difficult (maybe even impossible) to add.\n var tzl = moment.defineLocale('tzl', {\n months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(\n '_'\n ),\n monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),\n weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),\n weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),\n weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),\n longDateFormat: {\n LT: 'HH.mm',\n LTS: 'HH.mm.ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM [dallas] YYYY',\n LLL: 'D. MMMM [dallas] YYYY HH.mm',\n LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',\n },\n meridiemParse: /d\\'o|d\\'a/i,\n isPM: function (input) {\n return \"d'o\" === input.toLowerCase();\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? \"d'o\" : \"D'O\";\n } else {\n return isLower ? \"d'a\" : \"D'A\";\n }\n },\n calendar: {\n sameDay: '[oxhi à] LT',\n nextDay: '[demà à] LT',\n nextWeek: 'dddd [à] LT',\n lastDay: '[ieiri à] LT',\n lastWeek: '[sür el] dddd [lasteu à] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'osprei %s',\n past: 'ja%s',\n s: processRelativeTime,\n ss: processRelativeTime,\n m: processRelativeTime,\n mm: processRelativeTime,\n h: processRelativeTime,\n hh: processRelativeTime,\n d: processRelativeTime,\n dd: processRelativeTime,\n M: processRelativeTime,\n MM: processRelativeTime,\n y: processRelativeTime,\n yy: processRelativeTime,\n },\n dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n ordinal: '%d.',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n function processRelativeTime(number, withoutSuffix, key, isFuture) {\n var format = {\n s: ['viensas secunds', \"'iensas secunds\"],\n ss: [number + ' secunds', '' + number + ' secunds'],\n m: [\"'n míut\", \"'iens míut\"],\n mm: [number + ' míuts', '' + number + ' míuts'],\n h: [\"'n þora\", \"'iensa þora\"],\n hh: [number + ' þoras', '' + number + ' þoras'],\n d: [\"'n ziua\", \"'iensa ziua\"],\n dd: [number + ' ziuas', '' + number + ' ziuas'],\n M: [\"'n mes\", \"'iens mes\"],\n MM: [number + ' mesen', '' + number + ' mesen'],\n y: [\"'n ar\", \"'iens ar\"],\n yy: [number + ' ars', '' + number + ' ars'],\n };\n return isFuture\n ? format[key][0]\n : withoutSuffix\n ? format[key][0]\n : format[key][1];\n }\n\n return tzl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Central Atlas Tamazight [tzm]\n//! author : Abdel Said : https://github.com/abdelsaid\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var tzm = moment.defineLocale('tzm', {\n months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(\n '_'\n ),\n monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(\n '_'\n ),\n weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',\n nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',\n nextWeek: 'dddd [ⴴ] LT',\n lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',\n lastWeek: 'dddd [ⴴ] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',\n past: 'ⵢⴰⵏ %s',\n s: 'ⵉⵎⵉⴽ',\n ss: '%d ⵉⵎⵉⴽ',\n m: 'ⵎⵉⵏⵓⴺ',\n mm: '%d ⵎⵉⵏⵓⴺ',\n h: 'ⵙⴰⵄⴰ',\n hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',\n d: 'ⴰⵙⵙ',\n dd: '%d oⵙⵙⴰⵏ',\n M: 'ⴰⵢoⵓⵔ',\n MM: '%d ⵉⵢⵢⵉⵔⵏ',\n y: 'ⴰⵙⴳⴰⵙ',\n yy: '%d ⵉⵙⴳⴰⵙⵏ',\n },\n week: {\n dow: 6, // Saturday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return tzm;\n\n})));\n","//! moment.js locale configuration\n//! locale : Central Atlas Tamazight Latin [tzm-latn]\n//! author : Abdel Said : https://github.com/abdelsaid\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var tzmLatn = moment.defineLocale('tzm-latn', {\n months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(\n '_'\n ),\n monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(\n '_'\n ),\n weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),\n weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),\n weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[asdkh g] LT',\n nextDay: '[aska g] LT',\n nextWeek: 'dddd [g] LT',\n lastDay: '[assant g] LT',\n lastWeek: 'dddd [g] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'dadkh s yan %s',\n past: 'yan %s',\n s: 'imik',\n ss: '%d imik',\n m: 'minuḍ',\n mm: '%d minuḍ',\n h: 'saɛa',\n hh: '%d tassaɛin',\n d: 'ass',\n dd: '%d ossan',\n M: 'ayowr',\n MM: '%d iyyirn',\n y: 'asgas',\n yy: '%d isgasn',\n },\n week: {\n dow: 6, // Saturday is the first day of the week.\n doy: 12, // The week that contains Jan 12th is the first week of the year.\n },\n });\n\n return tzmLatn;\n\n})));\n","//! moment.js language configuration\n//! locale : Uyghur (China) [ug-cn]\n//! author: boyaq : https://github.com/boyaq\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js language configuration\n\n var ugCn = moment.defineLocale('ug-cn', {\n months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(\n '_'\n ),\n monthsShort: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(\n '_'\n ),\n weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(\n '_'\n ),\n weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),\n weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',\n LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',\n LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',\n },\n meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (\n meridiem === 'يېرىم كېچە' ||\n meridiem === 'سەھەر' ||\n meridiem === 'چۈشتىن بۇرۇن'\n ) {\n return hour;\n } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {\n return hour + 12;\n } else {\n return hour >= 11 ? hour : hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n var hm = hour * 100 + minute;\n if (hm < 600) {\n return 'يېرىم كېچە';\n } else if (hm < 900) {\n return 'سەھەر';\n } else if (hm < 1130) {\n return 'چۈشتىن بۇرۇن';\n } else if (hm < 1230) {\n return 'چۈش';\n } else if (hm < 1800) {\n return 'چۈشتىن كېيىن';\n } else {\n return 'كەچ';\n }\n },\n calendar: {\n sameDay: '[بۈگۈن سائەت] LT',\n nextDay: '[ئەتە سائەت] LT',\n nextWeek: '[كېلەركى] dddd [سائەت] LT',\n lastDay: '[تۆنۈگۈن] LT',\n lastWeek: '[ئالدىنقى] dddd [سائەت] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s كېيىن',\n past: '%s بۇرۇن',\n s: 'نەچچە سېكونت',\n ss: '%d سېكونت',\n m: 'بىر مىنۇت',\n mm: '%d مىنۇت',\n h: 'بىر سائەت',\n hh: '%d سائەت',\n d: 'بىر كۈن',\n dd: '%d كۈن',\n M: 'بىر ئاي',\n MM: '%d ئاي',\n y: 'بىر يىل',\n yy: '%d يىل',\n },\n\n dayOfMonthOrdinalParse: /\\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '-كۈنى';\n case 'w':\n case 'W':\n return number + '-ھەپتە';\n default:\n return number;\n }\n },\n preparse: function (string) {\n return string.replace(/،/g, ',');\n },\n postformat: function (string) {\n return string.replace(/,/g, '،');\n },\n week: {\n // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 1st is the first week of the year.\n },\n });\n\n return ugCn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Ukrainian [uk]\n//! author : zemlanin : https://github.com/zemlanin\n//! Author : Menelion Elensúle : https://github.com/Oire\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n function plural(word, num) {\n var forms = word.split('_');\n return num % 10 === 1 && num % 100 !== 11\n ? forms[0]\n : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)\n ? forms[1]\n : forms[2];\n }\n function relativeTimeWithPlural(number, withoutSuffix, key) {\n var format = {\n ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',\n mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',\n hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин',\n dd: 'день_дні_днів',\n MM: 'місяць_місяці_місяців',\n yy: 'рік_роки_років',\n };\n if (key === 'm') {\n return withoutSuffix ? 'хвилина' : 'хвилину';\n } else if (key === 'h') {\n return withoutSuffix ? 'година' : 'годину';\n } else {\n return number + ' ' + plural(format[key], +number);\n }\n }\n function weekdaysCaseReplace(m, format) {\n var weekdays = {\n nominative: 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split(\n '_'\n ),\n accusative: 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split(\n '_'\n ),\n genitive: 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split(\n '_'\n ),\n },\n nounCase;\n\n if (m === true) {\n return weekdays['nominative']\n .slice(1, 7)\n .concat(weekdays['nominative'].slice(0, 1));\n }\n if (!m) {\n return weekdays['nominative'];\n }\n\n nounCase = /(\\[[ВвУу]\\]) ?dddd/.test(format)\n ? 'accusative'\n : /\\[?(?:минулої|наступної)? ?\\] ?dddd/.test(format)\n ? 'genitive'\n : 'nominative';\n return weekdays[nounCase][m.day()];\n }\n function processHoursFunction(str) {\n return function () {\n return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';\n };\n }\n\n var uk = moment.defineLocale('uk', {\n months: {\n format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split(\n '_'\n ),\n standalone: 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split(\n '_'\n ),\n },\n monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split(\n '_'\n ),\n weekdays: weekdaysCaseReplace,\n weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D MMMM YYYY р.',\n LLL: 'D MMMM YYYY р., HH:mm',\n LLLL: 'dddd, D MMMM YYYY р., HH:mm',\n },\n calendar: {\n sameDay: processHoursFunction('[Сьогодні '),\n nextDay: processHoursFunction('[Завтра '),\n lastDay: processHoursFunction('[Вчора '),\n nextWeek: processHoursFunction('[У] dddd ['),\n lastWeek: function () {\n switch (this.day()) {\n case 0:\n case 3:\n case 5:\n case 6:\n return processHoursFunction('[Минулої] dddd [').call(this);\n case 1:\n case 2:\n case 4:\n return processHoursFunction('[Минулого] dddd [').call(this);\n }\n },\n sameElse: 'L',\n },\n relativeTime: {\n future: 'за %s',\n past: '%s тому',\n s: 'декілька секунд',\n ss: relativeTimeWithPlural,\n m: relativeTimeWithPlural,\n mm: relativeTimeWithPlural,\n h: 'годину',\n hh: relativeTimeWithPlural,\n d: 'день',\n dd: relativeTimeWithPlural,\n M: 'місяць',\n MM: relativeTimeWithPlural,\n y: 'рік',\n yy: relativeTimeWithPlural,\n },\n // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason\n meridiemParse: /ночі|ранку|дня|вечора/,\n isPM: function (input) {\n return /^(дня|вечора)$/.test(input);\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 4) {\n return 'ночі';\n } else if (hour < 12) {\n return 'ранку';\n } else if (hour < 17) {\n return 'дня';\n } else {\n return 'вечора';\n }\n },\n dayOfMonthOrdinalParse: /\\d{1,2}-(й|го)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'M':\n case 'd':\n case 'DDD':\n case 'w':\n case 'W':\n return number + '-й';\n case 'D':\n return number + '-го';\n default:\n return number;\n }\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return uk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Urdu [ur]\n//! author : Sawood Alam : https://github.com/ibnesayeed\n//! author : Zack : https://github.com/ZackVision\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var months = [\n 'جنوری',\n 'فروری',\n 'مارچ',\n 'اپریل',\n 'مئی',\n 'جون',\n 'جولائی',\n 'اگست',\n 'ستمبر',\n 'اکتوبر',\n 'نومبر',\n 'دسمبر',\n ],\n days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];\n\n var ur = moment.defineLocale('ur', {\n months: months,\n monthsShort: months,\n weekdays: days,\n weekdaysShort: days,\n weekdaysMin: days,\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd، D MMMM YYYY HH:mm',\n },\n meridiemParse: /صبح|شام/,\n isPM: function (input) {\n return 'شام' === input;\n },\n meridiem: function (hour, minute, isLower) {\n if (hour < 12) {\n return 'صبح';\n }\n return 'شام';\n },\n calendar: {\n sameDay: '[آج بوقت] LT',\n nextDay: '[کل بوقت] LT',\n nextWeek: 'dddd [بوقت] LT',\n lastDay: '[گذشتہ روز بوقت] LT',\n lastWeek: '[گذشتہ] dddd [بوقت] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s بعد',\n past: '%s قبل',\n s: 'چند سیکنڈ',\n ss: '%d سیکنڈ',\n m: 'ایک منٹ',\n mm: '%d منٹ',\n h: 'ایک گھنٹہ',\n hh: '%d گھنٹے',\n d: 'ایک دن',\n dd: '%d دن',\n M: 'ایک ماہ',\n MM: '%d ماہ',\n y: 'ایک سال',\n yy: '%d سال',\n },\n preparse: function (string) {\n return string.replace(/،/g, ',');\n },\n postformat: function (string) {\n return string.replace(/,/g, '،');\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return ur;\n\n})));\n","//! moment.js locale configuration\n//! locale : Uzbek [uz]\n//! author : Sardor Muminov : https://github.com/muminoff\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var uz = moment.defineLocale('uz', {\n months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(\n '_'\n ),\n monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),\n weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),\n weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),\n weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'D MMMM YYYY, dddd HH:mm',\n },\n calendar: {\n sameDay: '[Бугун соат] LT [да]',\n nextDay: '[Эртага] LT [да]',\n nextWeek: 'dddd [куни соат] LT [да]',\n lastDay: '[Кеча соат] LT [да]',\n lastWeek: '[Утган] dddd [куни соат] LT [да]',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'Якин %s ичида',\n past: 'Бир неча %s олдин',\n s: 'фурсат',\n ss: '%d фурсат',\n m: 'бир дакика',\n mm: '%d дакика',\n h: 'бир соат',\n hh: '%d соат',\n d: 'бир кун',\n dd: '%d кун',\n M: 'бир ой',\n MM: '%d ой',\n y: 'бир йил',\n yy: '%d йил',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return uz;\n\n})));\n","//! moment.js locale configuration\n//! locale : Uzbek Latin [uz-latn]\n//! author : Rasulbek Mirzayev : github.com/Rasulbeeek\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var uzLatn = moment.defineLocale('uz-latn', {\n months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(\n '_'\n ),\n monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),\n weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(\n '_'\n ),\n weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),\n weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'D MMMM YYYY, dddd HH:mm',\n },\n calendar: {\n sameDay: '[Bugun soat] LT [da]',\n nextDay: '[Ertaga] LT [da]',\n nextWeek: 'dddd [kuni soat] LT [da]',\n lastDay: '[Kecha soat] LT [da]',\n lastWeek: \"[O'tgan] dddd [kuni soat] LT [da]\",\n sameElse: 'L',\n },\n relativeTime: {\n future: 'Yaqin %s ichida',\n past: 'Bir necha %s oldin',\n s: 'soniya',\n ss: '%d soniya',\n m: 'bir daqiqa',\n mm: '%d daqiqa',\n h: 'bir soat',\n hh: '%d soat',\n d: 'bir kun',\n dd: '%d kun',\n M: 'bir oy',\n MM: '%d oy',\n y: 'bir yil',\n yy: '%d yil',\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 7, // The week that contains Jan 7th is the first week of the year.\n },\n });\n\n return uzLatn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Vietnamese [vi]\n//! author : Bang Nguyen : https://github.com/bangnk\n//! author : Chien Kira : https://github.com/chienkira\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var vi = moment.defineLocale('vi', {\n months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split(\n '_'\n ),\n monthsShort: 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split(\n '_'\n ),\n weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),\n weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),\n weekdaysParseExact: true,\n meridiemParse: /sa|ch/i,\n isPM: function (input) {\n return /^ch$/i.test(input);\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 12) {\n return isLower ? 'sa' : 'SA';\n } else {\n return isLower ? 'ch' : 'CH';\n }\n },\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM [năm] YYYY',\n LLL: 'D MMMM [năm] YYYY HH:mm',\n LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',\n l: 'DD/M/YYYY',\n ll: 'D MMM YYYY',\n lll: 'D MMM YYYY HH:mm',\n llll: 'ddd, D MMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[Hôm nay lúc] LT',\n nextDay: '[Ngày mai lúc] LT',\n nextWeek: 'dddd [tuần tới lúc] LT',\n lastDay: '[Hôm qua lúc] LT',\n lastWeek: 'dddd [tuần trước lúc] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: '%s tới',\n past: '%s trước',\n s: 'vài giây',\n ss: '%d giây',\n m: 'một phút',\n mm: '%d phút',\n h: 'một giờ',\n hh: '%d giờ',\n d: 'một ngày',\n dd: '%d ngày',\n M: 'một tháng',\n MM: '%d tháng',\n y: 'một năm',\n yy: '%d năm',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}/,\n ordinal: function (number) {\n return number;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return vi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Pseudo [x-pseudo]\n//! author : Andrew Hood : https://github.com/andrewhood125\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var xPseudo = moment.defineLocale('x-pseudo', {\n months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(\n '_'\n ),\n monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(\n '_'\n ),\n monthsParseExact: true,\n weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(\n '_'\n ),\n weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),\n weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),\n weekdaysParseExact: true,\n longDateFormat: {\n LT: 'HH:mm',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd, D MMMM YYYY HH:mm',\n },\n calendar: {\n sameDay: '[T~ódá~ý át] LT',\n nextDay: '[T~ómó~rró~w át] LT',\n nextWeek: 'dddd [át] LT',\n lastDay: '[Ý~ést~érdá~ý át] LT',\n lastWeek: '[L~ást] dddd [át] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'í~ñ %s',\n past: '%s á~gó',\n s: 'á ~féw ~sécó~ñds',\n ss: '%d s~écóñ~ds',\n m: 'á ~míñ~úté',\n mm: '%d m~íñú~tés',\n h: 'á~ñ hó~úr',\n hh: '%d h~óúrs',\n d: 'á ~dáý',\n dd: '%d d~áýs',\n M: 'á ~móñ~th',\n MM: '%d m~óñt~hs',\n y: 'á ~ýéár',\n yy: '%d ý~éárs',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n ordinal: function (number) {\n var b = number % 10,\n output =\n ~~((number % 100) / 10) === 1\n ? 'th'\n : b === 1\n ? 'st'\n : b === 2\n ? 'nd'\n : b === 3\n ? 'rd'\n : 'th';\n return number + output;\n },\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return xPseudo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Yoruba Nigeria [yo]\n//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var yo = moment.defineLocale('yo', {\n months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(\n '_'\n ),\n monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),\n weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),\n weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),\n weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),\n longDateFormat: {\n LT: 'h:mm A',\n LTS: 'h:mm:ss A',\n L: 'DD/MM/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY h:mm A',\n LLLL: 'dddd, D MMMM YYYY h:mm A',\n },\n calendar: {\n sameDay: '[Ònì ni] LT',\n nextDay: '[Ọ̀la ni] LT',\n nextWeek: \"dddd [Ọsẹ̀ tón'bọ] [ni] LT\",\n lastDay: '[Àna ni] LT',\n lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',\n sameElse: 'L',\n },\n relativeTime: {\n future: 'ní %s',\n past: '%s kọjá',\n s: 'ìsẹjú aayá die',\n ss: 'aayá %d',\n m: 'ìsẹjú kan',\n mm: 'ìsẹjú %d',\n h: 'wákati kan',\n hh: 'wákati %d',\n d: 'ọjọ́ kan',\n dd: 'ọjọ́ %d',\n M: 'osù kan',\n MM: 'osù %d',\n y: 'ọdún kan',\n yy: 'ọdún %d',\n },\n dayOfMonthOrdinalParse: /ọjọ́\\s\\d{1,2}/,\n ordinal: 'ọjọ́ %d',\n week: {\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return yo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (China) [zh-cn]\n//! author : suupic : https://github.com/suupic\n//! author : Zeno Zeng : https://github.com/zenozeng\n//! author : uu109 : https://github.com/uu109\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var zhCn = moment.defineLocale('zh-cn', {\n months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n '_'\n ),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n '_'\n ),\n weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),\n weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYY年M月D日',\n LLL: 'YYYY年M月D日Ah点mm分',\n LLLL: 'YYYY年M月D日ddddAh点mm分',\n l: 'YYYY/M/D',\n ll: 'YYYY年M月D日',\n lll: 'YYYY年M月D日 HH:mm',\n llll: 'YYYY年M月D日dddd HH:mm',\n },\n meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n return hour;\n } else if (meridiem === '下午' || meridiem === '晚上') {\n return hour + 12;\n } else {\n // '中午'\n return hour >= 11 ? hour : hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n var hm = hour * 100 + minute;\n if (hm < 600) {\n return '凌晨';\n } else if (hm < 900) {\n return '早上';\n } else if (hm < 1130) {\n return '上午';\n } else if (hm < 1230) {\n return '中午';\n } else if (hm < 1800) {\n return '下午';\n } else {\n return '晚上';\n }\n },\n calendar: {\n sameDay: '[今天]LT',\n nextDay: '[明天]LT',\n nextWeek: function (now) {\n if (now.week() !== this.week()) {\n return '[下]dddLT';\n } else {\n return '[本]dddLT';\n }\n },\n lastDay: '[昨天]LT',\n lastWeek: function (now) {\n if (this.week() !== now.week()) {\n return '[上]dddLT';\n } else {\n return '[本]dddLT';\n }\n },\n sameElse: 'L',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(日|月|周)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '日';\n case 'M':\n return number + '月';\n case 'w':\n case 'W':\n return number + '周';\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s后',\n past: '%s前',\n s: '几秒',\n ss: '%d 秒',\n m: '1 分钟',\n mm: '%d 分钟',\n h: '1 小时',\n hh: '%d 小时',\n d: '1 天',\n dd: '%d 天',\n M: '1 个月',\n MM: '%d 个月',\n y: '1 年',\n yy: '%d 年',\n },\n week: {\n // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效\n dow: 1, // Monday is the first day of the week.\n doy: 4, // The week that contains Jan 4th is the first week of the year.\n },\n });\n\n return zhCn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (Hong Kong) [zh-hk]\n//! author : Ben : https://github.com/ben-lin\n//! author : Chris Lam : https://github.com/hehachris\n//! author : Konstantin : https://github.com/skfd\n//! author : Anthony : https://github.com/anthonylau\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var zhHk = moment.defineLocale('zh-hk', {\n months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n '_'\n ),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n '_'\n ),\n weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),\n weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYY年M月D日',\n LLL: 'YYYY年M月D日 HH:mm',\n LLLL: 'YYYY年M月D日dddd HH:mm',\n l: 'YYYY/M/D',\n ll: 'YYYY年M月D日',\n lll: 'YYYY年M月D日 HH:mm',\n llll: 'YYYY年M月D日dddd HH:mm',\n },\n meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n return hour;\n } else if (meridiem === '中午') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === '下午' || meridiem === '晚上') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n var hm = hour * 100 + minute;\n if (hm < 600) {\n return '凌晨';\n } else if (hm < 900) {\n return '早上';\n } else if (hm < 1200) {\n return '上午';\n } else if (hm === 1200) {\n return '中午';\n } else if (hm < 1800) {\n return '下午';\n } else {\n return '晚上';\n }\n },\n calendar: {\n sameDay: '[今天]LT',\n nextDay: '[明天]LT',\n nextWeek: '[下]ddddLT',\n lastDay: '[昨天]LT',\n lastWeek: '[上]ddddLT',\n sameElse: 'L',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(日|月|週)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '日';\n case 'M':\n return number + '月';\n case 'w':\n case 'W':\n return number + '週';\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s後',\n past: '%s前',\n s: '幾秒',\n ss: '%d 秒',\n m: '1 分鐘',\n mm: '%d 分鐘',\n h: '1 小時',\n hh: '%d 小時',\n d: '1 天',\n dd: '%d 天',\n M: '1 個月',\n MM: '%d 個月',\n y: '1 年',\n yy: '%d 年',\n },\n });\n\n return zhHk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (Macau) [zh-mo]\n//! author : Ben : https://github.com/ben-lin\n//! author : Chris Lam : https://github.com/hehachris\n//! author : Tan Yuanhong : https://github.com/le0tan\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var zhMo = moment.defineLocale('zh-mo', {\n months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n '_'\n ),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n '_'\n ),\n weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),\n weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'DD/MM/YYYY',\n LL: 'YYYY年M月D日',\n LLL: 'YYYY年M月D日 HH:mm',\n LLLL: 'YYYY年M月D日dddd HH:mm',\n l: 'D/M/YYYY',\n ll: 'YYYY年M月D日',\n lll: 'YYYY年M月D日 HH:mm',\n llll: 'YYYY年M月D日dddd HH:mm',\n },\n meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n return hour;\n } else if (meridiem === '中午') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === '下午' || meridiem === '晚上') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n var hm = hour * 100 + minute;\n if (hm < 600) {\n return '凌晨';\n } else if (hm < 900) {\n return '早上';\n } else if (hm < 1130) {\n return '上午';\n } else if (hm < 1230) {\n return '中午';\n } else if (hm < 1800) {\n return '下午';\n } else {\n return '晚上';\n }\n },\n calendar: {\n sameDay: '[今天] LT',\n nextDay: '[明天] LT',\n nextWeek: '[下]dddd LT',\n lastDay: '[昨天] LT',\n lastWeek: '[上]dddd LT',\n sameElse: 'L',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(日|月|週)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '日';\n case 'M':\n return number + '月';\n case 'w':\n case 'W':\n return number + '週';\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s內',\n past: '%s前',\n s: '幾秒',\n ss: '%d 秒',\n m: '1 分鐘',\n mm: '%d 分鐘',\n h: '1 小時',\n hh: '%d 小時',\n d: '1 天',\n dd: '%d 天',\n M: '1 個月',\n MM: '%d 個月',\n y: '1 年',\n yy: '%d 年',\n },\n });\n\n return zhMo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (Taiwan) [zh-tw]\n//! author : Ben : https://github.com/ben-lin\n//! author : Chris Lam : https://github.com/hehachris\n\n;(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined'\n && typeof require === 'function' ? factory(require('../moment')) :\n typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n //! moment.js locale configuration\n\n var zhTw = moment.defineLocale('zh-tw', {\n months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n '_'\n ),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n '_'\n ),\n weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),\n weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY/MM/DD',\n LL: 'YYYY年M月D日',\n LLL: 'YYYY年M月D日 HH:mm',\n LLLL: 'YYYY年M月D日dddd HH:mm',\n l: 'YYYY/M/D',\n ll: 'YYYY年M月D日',\n lll: 'YYYY年M月D日 HH:mm',\n llll: 'YYYY年M月D日dddd HH:mm',\n },\n meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n return hour;\n } else if (meridiem === '中午') {\n return hour >= 11 ? hour : hour + 12;\n } else if (meridiem === '下午' || meridiem === '晚上') {\n return hour + 12;\n }\n },\n meridiem: function (hour, minute, isLower) {\n var hm = hour * 100 + minute;\n if (hm < 600) {\n return '凌晨';\n } else if (hm < 900) {\n return '早上';\n } else if (hm < 1130) {\n return '上午';\n } else if (hm < 1230) {\n return '中午';\n } else if (hm < 1800) {\n return '下午';\n } else {\n return '晚上';\n }\n },\n calendar: {\n sameDay: '[今天] LT',\n nextDay: '[明天] LT',\n nextWeek: '[下]dddd LT',\n lastDay: '[昨天] LT',\n lastWeek: '[上]dddd LT',\n sameElse: 'L',\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(日|月|週)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '日';\n case 'M':\n return number + '月';\n case 'w':\n case 'W':\n return number + '週';\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s後',\n past: '%s前',\n s: '幾秒',\n ss: '%d 秒',\n m: '1 分鐘',\n mm: '%d 分鐘',\n h: '1 小時',\n hh: '%d 小時',\n d: '1 天',\n dd: '%d 天',\n M: '1 個月',\n MM: '%d 個月',\n y: '1 年',\n yy: '%d 年',\n },\n });\n\n return zhTw;\n\n})));\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".filterWithTags_8f4 {\\n overflow: hidden;\\n\\n margin: 16px 8px 0;\\n padding: 1px;\\n\\n text-align: left;\\n\\n border: 1px solid #b8d1e5;\\n\\n border: 1px solid var(--ring-borders-color)\\n}\\n\\n.filterWithTags_8f4 .filterWrapper_668 {\\n border-bottom: none;\\n }\\n\\n.filterWithTagsFocused_d60 {\\n border: 1px solid #80c6ff;\\n border: 1px solid var(--ring-border-hover-color);\\n}\\n\\n.filter_cd5 {\\n width: 100%\\n}\\n\\n.filter_cd5 input {\\n font-weight: 200;\\n }\\n\\n.filterWrapper_668 {\\n position: relative;\\n\\n margin: 0;\\n padding-right: 8px;\\n padding-left: 44px;\\n\\n border-bottom: 1px solid #b8d1e5;\\n\\n border-bottom: 1px solid var(--ring-borders-color)\\n}\\n\\n[dir=rtl] .filterWrapper_668 {\\n padding-right: 44px;\\n padding-left: 8px\\n}\\n\\n.filterIcon_aa4 {\\n position: absolute;\\n top: 7px;\\n left: 16px;\\n\\n color: #b8d1e5;\\n\\n color: var(--ring-icon-color)\\n}\\n\\n[dir=rtl] .filterIcon_aa4 {\\n right: 16px;\\n left: auto\\n}\\n\\n.bottomLine_2b6 {\\n text-align: center;\\n}\\n\\n.message_bf0 {\\n display: inline-block;\\n\\n margin: 8px 0;\\n padding: 0 16px;\\n}\\n\\n.selectAll_2d3 {\\n display: flex;\\n justify-content: space-between;\\n\\n padding: 8px 16px 0;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"filterWithTags\": \"filterWithTags_8f4\",\n\t\"filterWrapper\": \"filterWrapper_668\",\n\t\"filterWithTagsFocused\": \"filterWithTagsFocused_d60\",\n\t\"filter\": \"filter_cd5\",\n\t\"filterIcon\": \"filterIcon_aa4\",\n\t\"bottomLine\": \"bottomLine_2b6\",\n\t\"message\": \"message_bf0\",\n\t\"selectAll\": \"selectAll_2d3\"\n};\nmodule.exports = exports;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./form.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// 20.1.2.3 Number.isInteger(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', { isInteger: require('./_is-integer') });\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","\"use strict\";\n\nexports.__esModule = true;\n\nvar _iterator = require(\"../core-js/symbol/iterator\");\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = require(\"../core-js/symbol\");\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","module.exports = require('./_hide');\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","require('./es6.array.iterator');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar TO_STRING_TAG = require('./_wks')('toStringTag');\n\nvar DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +\n 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +\n 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +\n 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +\n 'TextTrackList,TouchList').split(',');\n\nfor (var i = 0; i < DOMIterables.length; i++) {\n var NAME = DOMIterables[i];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = require('./_an-object');\nvar aFunction = require('./_a-function');\nvar SPECIES = require('./_wks')('species');\nmodule.exports = function (O, D) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n","var ctx = require('./_ctx');\nvar invoke = require('./_invoke');\nvar html = require('./_html');\nvar cel = require('./_dom-create');\nvar global = require('./_global');\nvar process = global.process;\nvar setTask = global.setImmediate;\nvar clearTask = global.clearImmediate;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\nvar run = function () {\n var id = +this;\n // eslint-disable-next-line no-prototype-builtins\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\nvar listener = function (event) {\n run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!setTask || !clearTask) {\n setTask = function setImmediate(fn) {\n var args = [];\n var i = 1;\n while (arguments.length > i) args.push(arguments[i++]);\n queue[++counter] = function () {\n // eslint-disable-next-line no-new-func\n invoke(typeof fn == 'function' ? fn : Function(fn), args);\n };\n defer(counter);\n return counter;\n };\n clearTask = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (require('./_cof')(process) == 'process') {\n defer = function (id) {\n process.nextTick(ctx(run, id, 1));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(ctx(run, id, 1));\n };\n // Browsers with MessageChannel, includes WebWorkers\n } else if (MessageChannel) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = ctx(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n defer = function (id) {\n global.postMessage(id + '', '*');\n };\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in cel('script')) {\n defer = function (id) {\n html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run.call(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(ctx(run, id, 1), 0);\n };\n }\n}\nmodule.exports = {\n set: setTask,\n clear: clearTask\n};\n","module.exports = function (exec) {\n try {\n return { e: false, v: exec() };\n } catch (e) {\n return { e: true, v: e };\n }\n};\n","var anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar newPromiseCapability = require('./_new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,\n// backported and transplited with Babel, with backwards-compat fixes\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// resolves . and .. elements in a path array with directory names there\n// must be no slashes, empty elements, or device names (c:\\) in the array\n// (so also no leading and trailing slashes - it does not distinguish\n// relative and absolute paths)\nfunction normalizeArray(parts, allowAboveRoot) {\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = parts.length - 1; i >= 0; i--) {\n var last = parts[i];\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n up++;\n } else if (up) {\n parts.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (allowAboveRoot) {\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n}\n\n// path.resolve([from ...], to)\n// posix version\nexports.resolve = function() {\n var resolvedPath = '',\n resolvedAbsolute = false;\n\n for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n var path = (i >= 0) ? arguments[i] : process.cwd();\n\n // Skip empty and invalid entries\n if (typeof path !== 'string') {\n throw new TypeError('Arguments to path.resolve must be strings');\n } else if (!path) {\n continue;\n }\n\n resolvedPath = path + '/' + resolvedPath;\n resolvedAbsolute = path.charAt(0) === '/';\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {\n return !!p;\n }), !resolvedAbsolute).join('/');\n\n return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';\n};\n\n// path.normalize(path)\n// posix version\nexports.normalize = function(path) {\n var isAbsolute = exports.isAbsolute(path),\n trailingSlash = substr(path, -1) === '/';\n\n // Normalize the path\n path = normalizeArray(filter(path.split('/'), function(p) {\n return !!p;\n }), !isAbsolute).join('/');\n\n if (!path && !isAbsolute) {\n path = '.';\n }\n if (path && trailingSlash) {\n path += '/';\n }\n\n return (isAbsolute ? '/' : '') + path;\n};\n\n// posix version\nexports.isAbsolute = function(path) {\n return path.charAt(0) === '/';\n};\n\n// posix version\nexports.join = function() {\n var paths = Array.prototype.slice.call(arguments, 0);\n return exports.normalize(filter(paths, function(p, index) {\n if (typeof p !== 'string') {\n throw new TypeError('Arguments to path.join must be strings');\n }\n return p;\n }).join('/'));\n};\n\n\n// path.relative(from, to)\n// posix version\nexports.relative = function(from, to) {\n from = exports.resolve(from).substr(1);\n to = exports.resolve(to).substr(1);\n\n function trim(arr) {\n var start = 0;\n for (; start < arr.length; start++) {\n if (arr[start] !== '') break;\n }\n\n var end = arr.length - 1;\n for (; end >= 0; end--) {\n if (arr[end] !== '') break;\n }\n\n if (start > end) return [];\n return arr.slice(start, end - start + 1);\n }\n\n var fromParts = trim(from.split('/'));\n var toParts = trim(to.split('/'));\n\n var length = Math.min(fromParts.length, toParts.length);\n var samePartsLength = length;\n for (var i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n var outputParts = [];\n for (var i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n return outputParts.join('/');\n};\n\nexports.sep = '/';\nexports.delimiter = ':';\n\nexports.dirname = function (path) {\n if (typeof path !== 'string') path = path + '';\n if (path.length === 0) return '.';\n var code = path.charCodeAt(0);\n var hasRoot = code === 47 /*/*/;\n var end = -1;\n var matchedSlash = true;\n for (var i = path.length - 1; i >= 1; --i) {\n code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n if (!matchedSlash) {\n end = i;\n break;\n }\n } else {\n // We saw the first non-path separator\n matchedSlash = false;\n }\n }\n\n if (end === -1) return hasRoot ? '/' : '.';\n if (hasRoot && end === 1) {\n // return '//';\n // Backwards-compat fix:\n return '/';\n }\n return path.slice(0, end);\n};\n\nfunction basename(path) {\n if (typeof path !== 'string') path = path + '';\n\n var start = 0;\n var end = -1;\n var matchedSlash = true;\n var i;\n\n for (i = path.length - 1; i >= 0; --i) {\n if (path.charCodeAt(i) === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n start = i + 1;\n break;\n }\n } else if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // path component\n matchedSlash = false;\n end = i + 1;\n }\n }\n\n if (end === -1) return '';\n return path.slice(start, end);\n}\n\n// Uses a mixed approach for backwards-compatibility, as ext behavior changed\n// in new Node.js versions, so only basename() above is backported here\nexports.basename = function (path, ext) {\n var f = basename(path);\n if (ext && f.substr(-1 * ext.length) === ext) {\n f = f.substr(0, f.length - ext.length);\n }\n return f;\n};\n\nexports.extname = function (path) {\n if (typeof path !== 'string') path = path + '';\n var startDot = -1;\n var startPart = 0;\n var end = -1;\n var matchedSlash = true;\n // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find\n var preDotState = 0;\n for (var i = path.length - 1; i >= 0; --i) {\n var code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n startPart = i + 1;\n break;\n }\n continue;\n }\n if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // extension\n matchedSlash = false;\n end = i + 1;\n }\n if (code === 46 /*.*/) {\n // If this is our first dot, mark it as the start of our extension\n if (startDot === -1)\n startDot = i;\n else if (preDotState !== 1)\n preDotState = 1;\n } else if (startDot !== -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension\n preDotState = -1;\n }\n }\n\n if (startDot === -1 || end === -1 ||\n // We saw a non-dot character immediately before the dot\n preDotState === 0 ||\n // The (right-most) trimmed path component is exactly '..'\n preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n return '';\n }\n return path.slice(startDot, end);\n};\n\nfunction filter (xs, f) {\n if (xs.filter) return xs.filter(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n if (f(xs[i], i, xs)) res.push(xs[i]);\n }\n return res;\n}\n\n// String.prototype.substr - negative index don't work in IE8\nvar substr = 'ab'.substr(-1) === 'b'\n ? function (str, start, len) { return str.substr(start, len) }\n : function (str, start, len) {\n if (start < 0) start = str.length + start;\n return str.substr(start, len);\n }\n;\n","'use strict'\n\nmodule.exports = alphabetical\n\n// Check if the given character code, or the character code at the first\n// character, is alphabetical.\nfunction alphabetical(character) {\n var code = typeof character === 'string' ? character.charCodeAt(0) : character\n\n return (\n (code >= 97 && code <= 122) /* a-z */ ||\n (code >= 65 && code <= 90) /* A-Z */\n )\n}\n","'use strict';\n\nmodule.exports = {\n position: true,\n gfm: true,\n commonmark: false,\n footnotes: false,\n pedantic: false,\n blocks: require('./block-elements.json')\n};\n","'use strict';\n\nmodule.exports = indentation;\n\n/* Map of characters, and their column length,\n * which can be used as indentation. */\nvar characters = {' ': 1, '\\t': 4};\n\n/* Gets indentation information for a line. */\nfunction indentation(value) {\n var index = 0;\n var indent = 0;\n var character = value.charAt(index);\n var stops = {};\n var size;\n\n while (character in characters) {\n size = characters[character];\n\n indent += size;\n\n if (size > 1) {\n indent = Math.floor(indent / size) * size;\n }\n\n stops[indent] = index;\n\n character = value.charAt(++index);\n }\n\n return {indent: indent, stops: stops};\n}\n","'use strict';\n\nvar attributeName = '[a-zA-Z_:][a-zA-Z0-9:._-]*';\nvar unquoted = '[^\"\\'=<>`\\\\u0000-\\\\u0020]+';\nvar singleQuoted = '\\'[^\\']*\\'';\nvar doubleQuoted = '\"[^\"]*\"';\nvar attributeValue = '(?:' + unquoted + '|' + singleQuoted + '|' + doubleQuoted + ')';\nvar attribute = '(?:\\\\s+' + attributeName + '(?:\\\\s*=\\\\s*' + attributeValue + ')?)';\nvar openTag = '<[A-Za-z][A-Za-z0-9\\\\-]*' + attribute + '*\\\\s*\\\\/?>';\nvar closeTag = '<\\\\/[A-Za-z][A-Za-z0-9\\\\-]*\\\\s*>';\nvar comment = '<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->';\nvar processing = '<[?].*?[?]>';\nvar declaration = '<![A-Za-z]+\\\\s+[^>]*>';\nvar cdata = '<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>';\n\nexports.openCloseTag = new RegExp('^(?:' + openTag + '|' + closeTag + ')');\n\nexports.tag = new RegExp('^(?:' +\n openTag + '|' +\n closeTag + '|' +\n comment + '|' +\n processing + '|' +\n declaration + '|' +\n cdata +\n')');\n","'use strict';\n\nmodule.exports = locate;\n\nfunction locate(value, fromIndex) {\n return value.indexOf('<', fromIndex);\n}\n","'use strict';\n\nmodule.exports = locate;\n\nfunction locate(value, fromIndex) {\n var link = value.indexOf('[', fromIndex);\n var image = value.indexOf('![', fromIndex);\n\n if (image === -1) {\n return link;\n }\n\n /* Link can never be `-1` if an image is found, so we don’t need\n * to check for that :) */\n return link < image ? link : image;\n}\n","var content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","'use strict';\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = getPrototypeOf && getPrototypeOf(Object);\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') { // don't hoist over string (html) components\n\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n try { // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","export default function symbolObservablePonyfill(root) {\n\tvar result;\n\tvar Symbol = root.Symbol;\n\n\tif (typeof Symbol === 'function') {\n\t\tif (Symbol.observable) {\n\t\t\tresult = Symbol.observable;\n\t\t} else {\n\t\t\tresult = Symbol('observable');\n\t\t\tSymbol.observable = result;\n\t\t}\n\t} else {\n\t\tresult = '@@observable';\n\t}\n\n\treturn result;\n};\n","(function(host) {\n\n var properties = {\n browser: [\n [/msie ([\\.\\_\\d]+)/, 'ie'],\n [/trident\\/.*?rv:([\\.\\_\\d]+)/, 'ie'],\n [/firefox\\/([\\.\\_\\d]+)/, 'firefox'],\n [/chrome\\/([\\.\\_\\d]+)/, 'chrome'],\n [/version\\/([\\.\\_\\d]+).*?safari/, 'safari'],\n [/mobile safari ([\\.\\_\\d]+)/, 'safari'],\n [/android.*?version\\/([\\.\\_\\d]+).*?safari/, 'com.android.browser'],\n [/crios\\/([\\.\\_\\d]+).*?safari/, 'chrome'],\n [/opera/, 'opera'],\n [/opera\\/([\\.\\_\\d]+)/, 'opera'],\n [/opera ([\\.\\_\\d]+)/, 'opera'],\n [/opera mini.*?version\\/([\\.\\_\\d]+)/, 'opera.mini'],\n [/opios\\/([a-z\\.\\_\\d]+)/, 'opera'],\n [/blackberry/, 'blackberry'],\n [/blackberry.*?version\\/([\\.\\_\\d]+)/, 'blackberry'],\n [/bb\\d+.*?version\\/([\\.\\_\\d]+)/, 'blackberry'],\n [/rim.*?version\\/([\\.\\_\\d]+)/, 'blackberry'],\n [/iceweasel\\/([\\.\\_\\d]+)/, 'iceweasel'],\n [/edge\\/([\\.\\d]+)/, 'edge']\n ],\n os: [\n [/linux ()([a-z\\.\\_\\d]+)/, 'linux'],\n [/mac os x/, 'macos'],\n [/mac os x.*?([\\.\\_\\d]+)/, 'macos'],\n [/os ([\\.\\_\\d]+) like mac os/, 'ios'],\n [/openbsd ()([a-z\\.\\_\\d]+)/, 'openbsd'],\n [/android/, 'android'],\n [/android ([a-z\\.\\_\\d]+);/, 'android'],\n [/mozilla\\/[a-z\\.\\_\\d]+ \\((?:mobile)|(?:tablet)/, 'firefoxos'],\n [/windows\\s*(?:nt)?\\s*([\\.\\_\\d]+)/, 'windows'],\n [/windows phone.*?([\\.\\_\\d]+)/, 'windows.phone'],\n [/windows mobile/, 'windows.mobile'],\n [/blackberry/, 'blackberryos'],\n [/bb\\d+/, 'blackberryos'],\n [/rim.*?os\\s*([\\.\\_\\d]+)/, 'blackberryos']\n ],\n device: [\n [/ipad/, 'ipad'],\n [/iphone/, 'iphone'],\n [/lumia/, 'lumia'],\n [/htc/, 'htc'],\n [/nexus/, 'nexus'],\n [/galaxy nexus/, 'galaxy.nexus'],\n [/nokia/, 'nokia'],\n [/ gt\\-/, 'galaxy'],\n [/ sm\\-/, 'galaxy'],\n [/xbox/, 'xbox'],\n [/(?:bb\\d+)|(?:blackberry)|(?: rim )/, 'blackberry']\n ]\n };\n\n var UNKNOWN = 'Unknown';\n\n var propertyNames = Object.keys(properties);\n\n function Sniffr() {\n var self = this;\n\n propertyNames.forEach(function(propertyName) {\n self[propertyName] = {\n name: UNKNOWN,\n version: [],\n versionString: UNKNOWN\n };\n });\n }\n\n function determineProperty(self, propertyName, userAgent) {\n properties[propertyName].forEach(function(propertyMatcher) {\n var propertyRegex = propertyMatcher[0];\n var propertyValue = propertyMatcher[1];\n\n var match = userAgent.match(propertyRegex);\n\n if (match) {\n self[propertyName].name = propertyValue;\n\n if (match[2]) {\n self[propertyName].versionString = match[2];\n self[propertyName].version = [];\n } else if (match[1]) {\n self[propertyName].versionString = match[1].replace(/_/g, '.');\n self[propertyName].version = parseVersion(match[1]);\n } else {\n self[propertyName].versionString = UNKNOWN;\n self[propertyName].version = [];\n }\n }\n });\n }\n\n function parseVersion(versionString) {\n return versionString.split(/[\\._]/).map(function(versionPart) {\n return parseInt(versionPart);\n });\n }\n\n Sniffr.prototype.sniff = function(userAgentString) {\n var self = this;\n var isBrowser = typeof window !== 'undefined';\n var fallbackUserAgent = isBrowser ? navigator.userAgent : '';\n var userAgent = (userAgentString || fallbackUserAgent).toLowerCase();\n\n propertyNames.forEach(function(propertyName) {\n determineProperty(self, propertyName, userAgent);\n });\n return this;\n };\n\n\n if (typeof module !== 'undefined' && module.exports) {\n module.exports = Sniffr;\n } else {\n host.Sniffr = new Sniffr();\n host.Sniffr.sniff(navigator.userAgent);\n }\n})(this);\n","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7 15.74a.71.71 0 0 1-.68-.53L4.27 6.87l-.59 2.3A.71.71 0 0 1 3 9.7H0V8.3h2.46l1.15-4.47a.74.74 0 0 1 .69-.53.69.69 0 0 1 .7.53l2 8.3L9.82.83a.71.71 0 0 1 .66-.53.65.65 0 0 1 .69.49l2.34 7.51H16v1.4h-3a.7.7 0 0 1-.67-.49l-1.75-5.62-2.9 11.62a.71.71 0 0 1-.68.53z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"10\\\" height=\\\"10\\\" viewBox=\\\"0 0 10 10\\\"><path d=\\\"M9 4.1H5.9V1H4.1v3.1H1v1.8h3.1V9h1.8V5.9H9V4.1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M19 9h-8V1H9v8H1v2h8v8h2v-8h8V9z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14 7.11H8.9v-5.1H7.1v5.1H2v1.8h5.1v5.08h1.8V8.91H14v-1.8z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6 9l-3 3-3-3v6h16V5l-7 7zm3-1L6 5 3 8 0 5v2l3 3 3-3 3 3 7-7V1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M12 11v-1l-1-.5V11h-1v-1l-1-.5V11H8v-1l-1-.5V11H6v-1l-1-.5V11H4v-1l-1-.5V11H2v-1l-1-.5V14h14v-3h-1v-1l-1-.5V11zm3-1.5V5H9a2.51 2.51 0 0 0-2.5-2H1v5h1v1l1 .5V8h1v1l1 .5V8h1v1l1 .5V8h1v1l1 .5V8h1v1l1 .5V8h1v1l1 .5V8h1v1z\\\"></path></svg>\"","module.exports = \"<svg height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M2.702 6.313l1 1L7.295 3.7V15h1.4V3.7l3.603 3.603 1-1L7.995 1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1 10.65v1.69L7.72 15a.8.8 0 0 0 .57 0L15 12.35v-1.69l-7 2.71zm0-3.49v1.69l6.73 2.61a.8.8 0 0 0 .57 0l6.7-2.6V7.17L8 9.88zM8.22 1a.54.54 0 0 0-.43 0L1 3.74v1.69L7.72 8a.8.8 0 0 0 .57 0L15 5.43V3.74zM8 6.45l-5.3-2L8 2.24l5.31 2.15z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"10\\\" height=\\\"10\\\" viewBox=\\\"0 0 10 10\\\"><path d=\\\"M8 5.19a1 1 0 0 0 1-1 .94.94 0 0 0-.23-.68 1 1 0 0 0-1.39-.06 7.75 7.75 0 0 1-1.18.86 4.52 4.52 0 0 1-.8.38 4.71 4.71 0 0 1 .11-.84 7.83 7.83 0 0 1 .42-1.43 1 1 0 0 0-1.29-1.3 1 1 0 0 0-.51 1.3 6.54 6.54 0 0 1 .43 1.43 5.16 5.16 0 0 1 .11.88 5 5 0 0 1-.81-.38 7.83 7.83 0 0 1-1.18-.9 1 1 0 0 0-.75-.26 1 1 0 0 0 .17 2 7 7 0 0 1 1.45 0 5 5 0 0 1 .87.19 4 4 0 0 1-.63.62 6.28 6.28 0 0 1-1.19.85 1 1 0 0 0-.49.62 1 1 0 0 0 .51 1.32 1 1 0 0 0 1.32-.51A.89.89 0 0 0 4 8a6.58 6.58 0 0 1 .52-1.36A4.79 4.79 0 0 1 5 5.89a3.59 3.59 0 0 1 .49.79A6.22 6.22 0 0 1 6 8a1 1 0 0 0 .49.62 1 1 0 0 0 .94-1.73 7.53 7.53 0 0 1-1.19-.84 7.36 7.36 0 0 1-.63-.62 5.42 5.42 0 0 1 .87-.19A7 7 0 0 1 8 5.19z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 9.41a10.46 10.46 0 0 1-2.53-.65A15.4 15.4 0 0 1 8.83 8a15.3 15.3 0 0 1 1.65-.76A9.61 9.61 0 0 1 13 6.6a1.45 1.45 0 0 0 1-.6 1.43 1.43 0 0 0-2.34-1.66 9 9 0 0 1-1.81 1.9 15.24 15.24 0 0 1-1.48 1 15.65 15.65 0 0 1 .17-1.8A10.5 10.5 0 0 1 9.25 3a1.41 1.41 0 0 0 0-1.17 1.41 1.41 0 0 0-1.82-.69A1.41 1.41 0 0 0 6.78 3a9.55 9.55 0 0 1 .71 2.52 15.53 15.53 0 0 1 .11 1.8 15.24 15.24 0 0 1-1.48-1 9.82 9.82 0 0 1-1.83-1.95 1.45 1.45 0 0 0-1-.57A1.41 1.41 0 0 0 3 6.6a9.64 9.64 0 0 1 2.52.65A14.61 14.61 0 0 1 7.18 8a15.4 15.4 0 0 1-1.65.75A10.5 10.5 0 0 1 3 9.41 1.39 1.39 0 0 0 2 10a1.41 1.41 0 0 0 2.21 1.74l.06-.09a10.39 10.39 0 0 1 1.85-1.88 15.11 15.11 0 0 1 1.47-1 13.54 13.54 0 0 1-.17 1.8A10 10 0 0 1 6.78 13a1.41 1.41 0 0 0 2.58 1.12 1.45 1.45 0 0 0 0-1.12 9.27 9.27 0 0 1-.7-2.52 13.43 13.43 0 0 1-.24-1.8 15.11 15.11 0 0 1 1.47 1 10.39 10.39 0 0 1 1.83 1.86 1.48 1.48 0 0 0 1 .58 1.41 1.41 0 0 0 .3-2.8z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13.62 8.07L6.48 1l-1 1 7.13 7.07a3.19 3.19 0 0 1 1 2 2.37 2.37 0 0 1-.68 1.93 2.43 2.43 0 0 1-1.87.65 3.21 3.21 0 0 1-2.06-1l-1-.94-5.3-5.29a1 1 0 0 1 0-1.36 1 1 0 0 1 1.38 0l6.76 6.7 1-1L5 4.1a2.41 2.41 0 0 0-3.36 0 2.35 2.35 0 0 0 0 3.33l.63.57L8 13.63A4.63 4.63 0 0 0 11 15h.26A3.68 3.68 0 0 0 15 11a4.54 4.54 0 0 0-1.38-2.93z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M4 8.39l2 2.09 2.39-2.72 2.69 2.75 4.7-5.89-1.56-1.24-3.3 4.11-2.63-2.68L6 7.52l-1.91-2-3.8 3.77 1.42 1.42zM0 12.3v1.4h16v-1.4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\" height=\\\"16\\\"><path d=\\\"M4 3v2h11V3zm0 6h7V7H4zm0 4h4v-2H4zm-3 2h1.4V1H1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 12.6V7.92a5 5 0 0 0-4.3-4.85V0H7.3v3.07A5 5 0 0 0 3 7.92v4.68H1V14h5a2 2 0 0 0 4 0h5v-1.4zM4.4 7.92a3.6 3.6 0 0 1 7.2 0v4.68H4.4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14.47 4a2 2 0 1 0-2.73 1.86 7 7 0 0 1-5.9 6.35 2 2 0 0 0-1.14-1.08V5.87a2 2 0 1 0-1.4 0v5.26a2 2 0 1 0 2.59 2.48 8.41 8.41 0 0 0 7.25-7.73A2 2 0 0 0 14.47 4zM3.4 13a.6.6 0 1 1 .6.6.6.6 0 0 1-.6-.6zm9.67-9a.6.6 0 1 1-.6-.6.6.6 0 0 1 .6.6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14.5 10.8h-1.85V8.2h1.85a.7.7 0 0 0 .61-.36L16 6.23l-1.22-.68-.7 1.25h-1.4V5.32a.7.7 0 0 0-.7-.7H11a2.66 2.66 0 0 0-.18-.94l2.31-2.32-1-1L10 2.53A2.58 2.58 0 0 0 8.4 2h-.8a2.62 2.62 0 0 0-1.41.42L4.12.35l-1 1 2.15 2.12A2.58 2.58 0 0 0 5 4.6H4a.7.7 0 0 0-.7.7v1.5H1.91l-.7-1.25L0 6.23l.88 1.61a.71.71 0 0 0 .61.36H3.3v2.12a3.71 3.71 0 0 0 .05.48H1.49a.71.71 0 0 0-.61.36L0 12.77l1.22.68.7-1.25H3.7a4.69 4.69 0 0 0 8.6 0h1.79l.7 1.25 1.21-.68-.9-1.61a.7.7 0 0 0-.6-.36zm-3.21-.48a3.3 3.3 0 1 1-6.59 0V6h6.59z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M6.29 7l2.11 3.27.47.73 1.27 2L14 7zM3 9V3h6v3h2V1H1v10h6.68L6.32 9z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M6.3 7l3.85 6L14 7zM4.47 6H11V1H1v10h6.69L5.46 7.54z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M1 1h10v10H1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M9 9H3V3h6m2-2H1v10h10V1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M10 11l3.13 5 1.26 2 .61 1 .61-1L18 14.19 20 11zm-6 5V4h12v6h2V2H2v16h11.21L12 16z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M10 11l4.39 7 .61 1 .61-1L18 14.19 20 11zm-1.81-1H18V2H2v16h11.21l-4.06-6.47z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M15 2H2v16h16V2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M16 4v12H4V4h12m2-2H2v16h16V2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M11 1H1v2h10zM3 9V6h8V4H1v7h6.69L6.33 9zm3.3-2l2.11 3.27.47.73 1.27 2L14 7z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M6.3 7l3.85 6L14 7zM4.47 6H11V4H1v7h6.69L5.46 7.54zM11 1H1v2h10z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M1 11h10V4H1zM1 1v2h10V1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M1 11h10V4H1zm2-5h6v3H3zM1 1v2h10V1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M10 11l3.13 5 1.26 2 .61 1 .61-1L18 14.19 20 11zm-6 5V8h12v2h2V6H2v12h11.21L12 16zM18 2H2v2h16z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M18 2H2v2h16zm-8 9l4.39 7 .61 1 .61-1L18 14.19 20 11zm-1.81-1H18V6H2v12h11.21l-4.06-6.47z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M2 2v2h16V2zm0 16h16V6H2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M2 18h16V6H2zM4 8h12v8H4zM2 2v2h16V2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M11 11h4V7zM2.7 5.69l3.8 3.8 3-3 3 3 1-1-4-4-3 3-3.8-3.78V2H1.3v12.7H15v-1.4H2.7z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M10 1a9 9 0 1 0 9 9 9 9 0 0 0-9-9zm0 16.4a7.4 7.4 0 1 1 7.4-7.4 7.41 7.41 0 0 1-7.4 7.4zm3.29-12.11L10 8.59l-3.29-3.3-1.42 1.42L8.59 10l-3.3 3.29 1.42 1.42 3.29-3.3 3.29 3.3 1.42-1.42-3.3-3.29 3.3-3.29z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 3.05A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM12 12a5.6 5.6 0 0 1-8 0 5.61 5.61 0 0 1 0-8 5.6 5.6 0 0 1 8 0 5.61 5.61 0 0 1 0 8zm-1.35-7.92L8 6.73 5.35 4.08 4.08 5.35 6.73 8l-2.65 2.65 1.27 1.27L8 9.27l2.65 2.65 1.27-1.27L9.27 8l2.65-2.65z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"10\\\" height=\\\"10\\\" viewBox=\\\"0 0 10 10\\\"><path d=\\\"M8 3L5 7 2 3h6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"10\\\" height=\\\"10\\\" viewBox=\\\"0 0 10 10\\\"><path d=\\\"M3 2l4 3-4 3V2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 0l-3 3h2.3v9h1.4V3H16zM5 5.7h6V4.3H5zm0 3h6V7.3H5zm0 3h6v-1.4H5zM3.7 4H2.3v9H0l3 3 3-3H3.7z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M11.51 10.49L8 6.99l-3.5 3.5-1-.98L8 5.01l4.49 4.5-.98.98z\\\"></path></svg>\"","module.exports = \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M6.32 5.04c1.01 0 2.04.63 2.16 1.96.32-.4.78-.57 1.25-.57 1.2 0 2.46 1.14 1.74 2.57h.14c2.46 0 2.61 2.97-.14 3h-7c-2.69 0-2.56-3.98 0-4-.73-1.92.54-2.96 1.85-2.96m0-1.4c-1.19 0-2.28.54-2.9 1.45-.39.55-.57 1.21-.56 1.91-1.07.57-1.76 1.7-1.76 3.06.01 1.66 1.17 3.34 3.37 3.34h7c2.26-.02 3.43-1.49 3.42-2.93-.01-1.03-.64-2.11-1.83-2.6-.04-.44-.19-.86-.43-1.25-.6-.97-1.74-1.59-2.91-1.59-.17 0-.35.01-.51.04-.62-.89-1.66-1.43-2.89-1.43z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M5.15 5L3.88 3.76.29 7.34a.91.91 0 0 0 0 1.28l3.64 3.64L5.2 11l-3-3zm10.6 2.31l-3.59-3.55L10.89 5l2.95 3-3 3 1.27 1.28 3.64-3.64a.91.91 0 0 0 0-1.3zM5.63 13.78l1.74.44 3-12-1.76-.44z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M12.36 1H3.64A2.64 2.64 0 0 0 1 3.64v8.72A2.64 2.64 0 0 0 3.64 15h8.72A2.64 2.64 0 0 0 15 12.36V3.64A2.64 2.64 0 0 0 12.36 1zm1.24 11.36a1.25 1.25 0 0 1-1.24 1.24H3.64a1.25 1.25 0 0 1-1.24-1.24V3.64A1.25 1.25 0 0 1 3.64 2.4h8.72a1.25 1.25 0 0 1 1.24 1.24zM4 8.71h8v-1.4H4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13.23 2H2.77A1.77 1.77 0 0 0 1 3.77v7.44A1.77 1.77 0 0 0 2.77 13H3v3l4.16-3h6.06A1.77 1.77 0 0 0 15 11.21V3.77A1.77 1.77 0 0 0 13.23 2zm.37 9.21a.38.38 0 0 1-.37.37H2.77a.38.38 0 0 1-.37-.37V3.77a.38.38 0 0 1 .37-.37h10.46a.38.38 0 0 1 .37.37z\\\" fill-rule=\\\"evenodd\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.08 7l1 1 3.44-3.45L11 1l-1 1 1.8 1.8H2v1.4h9.82zM5.86 9l-1-1-3.44 3.5L4.91 15l1-1-1.81-1.8H14v-1.4H4.1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M11 5V1H1v10h4v4h10V5zM2.4 9.6V2.4h7.2v7.2zm11.2 4H6.4V11H11V6.4h2.6z\\\"></path></svg>\"","module.exports = \"<svg viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\"><path d=\\\"M13 4l2-2-1-1-2 2H4.6V1H3v2H1v1.6h2V13h8.4v2H13v-2h2v-1.6h-2zm-2.6.6l-5.8 5.8V4.6zm-4.8 6.8l5.8-5.8v5.8z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M5 1H3v11h2zm4 5H7v6h2zm4-3h-2v9h2zM1 13.6V15h14v-1.4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M5 4a1 1 0 1 0 1 1 1 1 0 0 0-1-1zm6 6a1 1 0 1 0 1 1 1 1 0 0 0-1-1zM8 7a1 1 0 1 0 1 1 1 1 0 0 0-1-1zm4.36-6H3.64A2.64 2.64 0 0 0 1 3.64v8.72A2.64 2.64 0 0 0 3.64 15h8.72A2.64 2.64 0 0 0 15 12.36V3.64A2.64 2.64 0 0 0 12.36 1zm1.24 11.36a1.25 1.25 0 0 1-1.24 1.24H3.64a1.25 1.25 0 0 1-1.24-1.24V3.64A1.25 1.25 0 0 1 3.64 2.4h8.72a1.25 1.25 0 0 1 1.24 1.24z\\\"></path></svg>\"","module.exports = \"<svg viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path class=\\\"disconnected-path\\\" d=\\\"M10.01 7.99L7.5 10.5l-2-2L8 6 7 5 4.5 7.5l-.57-.57c-.24-.24-.65-.21-.93.07s-.31.69-.07.93L3 8l-2 2c-.48.48-.48 1.52 0 2l1 1-2 2v1h1l2-2 1 1c.48.48 1.52.48 2 0l2-2 .07.07c.24.24.65.21.93-.07s.31-.69.07-.93l-.57-.57 2.51-2.51zM16 0h-1l-2 2-1-1c-.48-.48-1.52-.48-2 0l-.99.99-.08-.07c-.23-.23-.65-.2-.92.07-.28.28-.31.7-.08.93l.07.07-.01.02L13 8l.01-.01.07.07c.24.24.65.2.93-.07.28-.28.31-.69.07-.93l-.07-.07L15 6c.48-.48.48-1.52 0-2l-1-1 2-2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7.3 2.68V7h1.4V2.68l.93.93 1-1L8 0 5.38 2.62l1 1 .92-.94zm1.4 10.63V9H7.3v4.3l-.93-.92-1 1L8 16l2.62-2.61-1-1-.92.92zm4.68-7.93l-1 1 .93.93H9V8.7h4.3l-.92.92 1 1L16 8l-2.62-2.62zM7 8.7V7.3H2.68l.93-.93-1-1L0 8l2.61 2.61 1-1-.92-.91H7z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 3.909L7.077 3 2 8.001 7.075 13l.923-.909-4.152-4.09zM14 3.909L13.077 3 8 8.001 13.075 13l.923-.909-4.152-4.09z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 3.909L8.923 3 14 8.001 8.925 13l-.923-.909 4.152-4.09zM2 3.909L2.923 3 8 8.001 2.925 13l-.923-.909 4.152-4.09z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M2 13.1v1.8h12v-1.8zm10.51-5.63l-1-1L8.7 9.3V1H7.3v8.3L4.48 6.48l-1 1L8 12z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 11.09a1.41 1.41 0 0 0-.2-.71 1.74 1.74 0 0 1-.16-.23l-.26-.38c-.08-.12-.16-.27-.26-.45a4 4 0 0 1-.21-.52.2.2 0 0 0-.21-.16.2.2 0 0 0-.22.16 4 4 0 0 1-.21.52 5 5 0 0 1-.27.45l-.26.38c-.09.15-.15.23-.15.23a1.33 1.33 0 0 0-.21.71 1.28 1.28 0 0 0 .38.92 1.3 1.3 0 0 0 .93.38A1.3 1.3 0 0 0 8 11.09zm5.22-1.31a5 5 0 0 1-1.53 3.69A5 5 0 0 1 8 15a5 5 0 0 1-3.69-1.53 5 5 0 0 1-1.53-3.69A5.22 5.22 0 0 1 3.61 7l.63-.92C4.63 5.5 5 5 5.27 4.52a20.27 20.27 0 0 0 1-1.82A12.7 12.7 0 0 0 7.13.65a.89.89 0 0 1 .35-.48.88.88 0 0 1 1 0 .84.84 0 0 1 .35.48 13.16 13.16 0 0 0 .84 2.06 18.94 18.94 0 0 0 1 1.81c.3.47.64 1 1 1.54l.63.92a5.12 5.12 0 0 1 .83 2.8z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M0 2v12h16V2zm13.24 1.4L8 7.14 2.76 3.4zM1.4 12.6V4.15L8 8.86l6.6-4.71v8.45z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 3.05A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM4 4a5.55 5.55 0 0 1 4-1.6 5.2 5.2 0 0 1 .69.07v1.42a1.63 1.63 0 0 1-1.63 1.64h-.82a1.64 1.64 0 1 0 0 3.27h3.27a2 2 0 0 1 1.64.82 18.77 18.77 0 0 0 1.49 1.5A4.91 4.91 0 0 1 12 12a5.52 5.52 0 0 1-2.69 1.48l-2.25-2.42a2.45 2.45 0 0 0-1.64-.62H3A5.6 5.6 0 0 1 4 4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M12.36 1H3.64A2.64 2.64 0 0 0 1 3.64v8.72A2.64 2.64 0 0 0 3.64 15h8.72A2.64 2.64 0 0 0 15 12.36V3.64A2.64 2.64 0 0 0 12.36 1zm1.24 11.36a1.25 1.25 0 0 1-1.24 1.24H3.64a1.25 1.25 0 0 1-1.24-1.24V3.64A1.25 1.25 0 0 1 3.64 2.4h8.72a1.25 1.25 0 0 1 1.24 1.24zM8 10.3A2.3 2.3 0 0 1 5.7 8H4.3a3.7 3.7 0 0 0 7.4 0h-1.4A2.3 2.3 0 0 1 8 10.3zM6 5a1 1 0 1 0-1 1 1 1 0 0 0 1-1zm5-1a1 1 0 1 0 1 1 1 1 0 0 0-1-1z\\\"></path></svg>\"","module.exports = \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path clip-rule=\\\"evenodd\\\" d=\\\"M11.98.3H7.04C5.53.3 4.3 1.53 4.3 3.04V5h1.4V3.04c0-.74.6-1.34 1.34-1.34h4.94c.74 0 1.34.6 1.34 1.34v9.91c0 .74-.6 1.34-1.34 1.34H7.04c-.74 0-1.34-.6-1.34-1.34V11H4.3v1.96c0 1.51 1.23 2.74 2.74 2.74h4.94c1.51 0 2.74-1.23 2.74-2.74V3.04c0-1.51-1.23-2.74-2.74-2.74zM8 12l4-4-4-4v3.3H1v1.4h7z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M10 1a9 9 0 1 0 9 9 9 9 0 0 0-9-9zm1 15H9v-2h2zm0-4H9l-.24-8h2.45z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M12.36 1H3.64A2.64 2.64 0 0 0 1 3.64v8.72A2.64 2.64 0 0 0 3.64 15h8.72A2.64 2.64 0 0 0 15 12.36V3.64A2.64 2.64 0 0 0 12.36 1zm1.24 11.36a1.25 1.25 0 0 1-1.24 1.24H3.64a1.25 1.25 0 0 1-1.24-1.24V3.64A1.25 1.25 0 0 1 3.64 2.4h8.72a1.25 1.25 0 0 1 1.24 1.24zM8.7 4H7.3v3.31H4v1.4h3.3V12h1.4V8.71H12v-1.4H8.7z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M17 7.94l1-1-.71-.71-3.53-3.52-.71-.71-1 1 .71.71-3.69 3.68L3.54 8.5 2 8.81 11.19 18l1.42-7.07 3.69-3.7zm-4 .56H9.94l3.82-3.81 1.55 1.55zm1 7.5a2 2 0 0 0 4 0c0-1.1-2-3.6-2-3.6s-2 2.5-2 3.6z\\\"></path></svg>\"","module.exports = \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M15.71 7.77A8.187 8.187 0 0 0 8 2.51 8.031 8.031 0 0 0 .28 7.78c-.04.15-.04.3 0 .44A8.077 8.077 0 0 0 8 13.49a8.2 8.2 0 0 0 7.72-5.26c.04-.15.04-.31-.01-.46zM8 12.01c-2.7.1-5.18-1.51-6.2-4.01A6.419 6.419 0 0 1 8 3.99 6.554 6.554 0 0 1 14.19 8 6.564 6.564 0 0 1 8 12.01zm0-6.66c-.18 0-.36.02-.53.06.26.35.4.77.4 1.21a2.251 2.251 0 0 1-2.35 2.16H5.41c.42 1.41 1.9 2.21 3.31 1.79s2.21-1.9 1.79-3.31A2.64 2.64 0 0 0 8 5.35z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M4 3v4h11V3zm0 10h7V9H4zm1-3h5v2H5zm-4 5h1.4V1H1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"#9AA7B0\\\" fill-rule=\\\"evenodd\\\"><path fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill-opacity=\\\".8\\\" d=\\\"M10 14v1H3V6h5V1h5v6h-3v3H7v4h3z\\\"></path><path d=\\\"M13 11h3v2h-3v3h-2v-3H8v-2h3V8h2v3z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M6 1H3v14h3zM10 15h3V1h-3z\\\"></path><path fill=\\\"#40B6E0\\\" d=\\\"M7.6 2H6l.8 1h1.601zM7.6 8H6l.8 1h1.601zM7.6 10H6l.8 1h1.601zM7.6 12H6l.8 1h1.601zM7.6 14H6l.8 1h1.601zM7.6 4H6l.8 1h1.601zM7.6 6H6l.8 1h1.601zM8.4 3H10l-.8 1H7.599zM8.4 1H10l-.8 1H7.599zM8.4 9H10l-.8 1H7.599zM8.4 11H10l-.8 1H7.599zM8.4 13H10l-.8 1H7.599zM8.4 5H10l-.8 1H7.599zM8.4 7H10l-.8 1H7.599z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#F26522\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M5.15 13l-.654-1.6L3.85 13h1.3zm-1.041-3h.781L7 15H5.9l-.5-1H3.6l-.5 1H2l2.109-5zM8.973 11.502c0-.369.311-.502.872-.502H11v-1H9.86C8.778 10 8 10.46 8 11.45c0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H8.3v1h1.171c2.029 0 2.029-1 2.029-1.452 0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#F26522\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M5.15 13l-.654-1.6L3.85 13h1.3zm-1.041-3h.781L7 15H5.9l-.5-1H3.6l-.5 1H2l2.109-5zM8.395 13.588c.23.25.443.412.892.412.526 0 .713-.412.713-.702V10h1v3.588C11 14.32 10.327 15 9.45 15c-.821 0-1.3-.237-1.65-.68l.595-.732z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 15H3V6h5V1h5v6.1A5 5 0 0 0 8 15z\\\"></path><path fill=\\\"#40B6E0\\\" d=\\\"M14.904 12.579l.91.653a3.996 3.996 0 0 1-.835 1.445l-1.02-.46a2.95 2.95 0 0 1-1.006.582l-.111 1.114a4.016 4.016 0 0 1-1.67 0l-.111-1.114a2.95 2.95 0 0 1-1.006-.582l-1.02.46a3.996 3.996 0 0 1-.835-1.445l.91-.653a2.968 2.968 0 0 1 0-1.158l-.91-.653a3.996 3.996 0 0 1 .835-1.445l1.02.46a2.95 2.95 0 0 1 1.006-.582l.11-1.114a4.016 4.016 0 0 1 1.67 0l.112 1.114a2.95 2.95 0 0 1 1.006.582l1.02-.46c.372.413.66.904.835 1.445l-.91.653a2.968 2.968 0 0 1 0 1.158zm-2.897.837a1.415 1.415 0 1 0 0-2.831 1.415 1.415 0 0 0 0 2.83z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#40B6E0\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M2 12.501C2 11 2.931 10 4.256 10c.946 0 1.294.311 1.713.753l-.542.674C5.077 11.068 4.75 11 4.25 11 3.418 11 3 11.738 3 12.487 3 13.237 3.412 14 4.25 14c.537 0 .802-.107 1.177-.494l.573.638c-.456.525-.803.856-1.775.856C2.949 15 2 14.002 2 12.501zM7.973 11.502c0-.369.311-.502.872-.502H10v-1H8.86C7.778 10 7 10.46 7 11.45c0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H7.3v1h1.171c2.029 0 2.029-1 2.029-1.452 0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645zM11.973 11.502c0-.369.311-.502.872-.502H14v-1h-1.14c-1.082 0-1.86.46-1.86 1.45 0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H11.3v1h1.171c2.029 0 2.029-1 2.029-1.452 0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M6 15H3V6h5V1h5v5.366a3.25 3.25 0 0 0-3.423 5.504C7.85 12.273 6 13.165 6 14.543V15z\\\"></path><path fill=\\\"#9AA7B0\\\" d=\\\"M11.5 11.5a2.25 2.25 0 1 0 .001-4.499A2.25 2.25 0 0 0 11.5 11.5z\\\"></path><path fill=\\\"#40B6E0\\\" d=\\\"M11.5 12.625c-1.502 0-4.5.754-4.5 2.25V16h9v-1.125c0-1.496-2.998-2.25-4.5-2.25z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M1 15h14v-3H1zM1 4h14V1H1z\\\"></path><path fill=\\\"#40B6E0\\\" d=\\\"M4.5 4.379L2 7h2v5h1V7h2zM11.5 4.379L9 7h2v1h1V7h2zM11 10h1V9h-1zM11 12h1v-1h-1z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#F26522\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M3 11v3h.649C4.578 14 5 13.493 5 12.515V12.5c0-.978-.422-1.5-1.351-1.5H3zm-1-1h1.649C5.04 10 6 11.093 6 12.5c0 1.421-.96 2.5-2.351 2.5H2v-5zM12 11v3h.649c.929 0 1.351-.507 1.351-1.485V12.5c0-.978-.422-1.5-1.351-1.5H12zm-1-1h1.649C14.04 10 15 11.093 15 12.5c0 1.421-.96 2.5-2.351 2.5H11v-5zM8 11H6.5v-1h4v1H9v4H8z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><defs><linearGradient id=\\\"a\\\" x1=\\\"16.835%\\\" x2=\\\"159.599%\\\" y1=\\\"63.497%\\\" y2=\\\"19.863%\\\"><stop offset=\\\"0%\\\" stop-color=\\\"#F69923\\\"></stop><stop offset=\\\"31.23%\\\" stop-color=\\\"#F79A23\\\"></stop><stop offset=\\\"83.83%\\\" stop-color=\\\"#E97826\\\"></stop></linearGradient><linearGradient id=\\\"b\\\" x1=\\\"-217.367%\\\" x2=\\\"74.968%\\\" y1=\\\"394.12%\\\" y2=\\\"13.671%\\\"><stop offset=\\\"32.33%\\\" stop-color=\\\"#9E2064\\\"></stop><stop offset=\\\"63.02%\\\" stop-color=\\\"#C92037\\\"></stop><stop offset=\\\"75.14%\\\" stop-color=\\\"#CD2335\\\"></stop><stop offset=\\\"100%\\\" stop-color=\\\"#E97826\\\"></stop></linearGradient><linearGradient id=\\\"c\\\" x1=\\\"-20.305%\\\" x2=\\\"125.697%\\\" y1=\\\"192.631%\\\" y2=\\\"-136.581%\\\"><stop offset=\\\"0%\\\" stop-color=\\\"#282662\\\"></stop><stop offset=\\\"9.548%\\\" stop-color=\\\"#662E8D\\\"></stop><stop offset=\\\"78.82%\\\" stop-color=\\\"#9F2064\\\"></stop><stop offset=\\\"94.87%\\\" stop-color=\\\"#CD2032\\\"></stop></linearGradient><linearGradient id=\\\"d\\\" x1=\\\"-79.867%\\\" x2=\\\"146.442%\\\" y1=\\\"170.503%\\\" y2=\\\"-44.384%\\\"><stop offset=\\\"32.33%\\\" stop-color=\\\"#9E2064\\\"></stop><stop offset=\\\"63.02%\\\" stop-color=\\\"#C92037\\\"></stop><stop offset=\\\"75.14%\\\" stop-color=\\\"#CD2335\\\"></stop><stop offset=\\\"100%\\\" stop-color=\\\"#E97826\\\"></stop></linearGradient><linearGradient id=\\\"e\\\" x1=\\\"-18.376%\\\" x2=\\\"164.728%\\\" y1=\\\"77.298%\\\" y2=\\\"-41.36%\\\"><stop offset=\\\"0%\\\" stop-color=\\\"#282662\\\"></stop><stop offset=\\\"9.548%\\\" stop-color=\\\"#662E8D\\\"></stop><stop offset=\\\"78.82%\\\" stop-color=\\\"#9F2064\\\"></stop><stop offset=\\\"94.87%\\\" stop-color=\\\"#CD2032\\\"></stop></linearGradient><linearGradient id=\\\"f\\\" x1=\\\"-34.831%\\\" x2=\\\"110.897%\\\" y1=\\\"187.637%\\\" y2=\\\"-51.127%\\\"><stop offset=\\\"32.33%\\\" stop-color=\\\"#9E2064\\\"></stop><stop offset=\\\"63.02%\\\" stop-color=\\\"#C92037\\\"></stop><stop offset=\\\"75.14%\\\" stop-color=\\\"#CD2335\\\"></stop><stop offset=\\\"100%\\\" stop-color=\\\"#E97826\\\"></stop></linearGradient><linearGradient id=\\\"g\\\" x1=\\\"-129.474%\\\" x2=\\\"66.599%\\\" y1=\\\"465.394%\\\" y2=\\\"17.067%\\\"><stop offset=\\\"32.33%\\\" stop-color=\\\"#9E2064\\\"></stop><stop offset=\\\"63.02%\\\" stop-color=\\\"#C92037\\\"></stop><stop offset=\\\"75.14%\\\" stop-color=\\\"#CD2335\\\"></stop><stop offset=\\\"100%\\\" stop-color=\\\"#E97826\\\"></stop></linearGradient></defs><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M5.645 15H3V6h5V1h5v1.023c-1.246.962-2.725 2.502-4.364 4.426-2.83 3.323-3.472 7.109-2.901 8.375l-.09.176zM13 10.134V15H8.789c1.42-.836 3.047-2.55 4.211-4.866z\\\"></path><path fill=\\\"url(#a)\\\" fill-rule=\\\"nonzero\\\" d=\\\"M8.05.106c-.298.154-.784.582-1.374 1.207l.54.884c.376-.471.762-.894 1.147-1.255C8.391.913 8.408.9 8.408.9c-.017.014-.028.029-.045.043-.126.12-.507.505-1.075 1.274.552-.024 1.4-.12 2.09-.226C9.582.986 9.174.524 9.174.524s-.518-.73-1.125-.418z\\\" transform=\\\"rotate(5 -20.357 67.846)\\\"></path><path d=\\\"M12.957 7.83l.076.006-.544.06c-.038-.004-.081.046-.081.046.162-.093.353-.076.549-.113zm-.666 1.533a2.795 2.795 0 0 1-.63.16c.208-.035.422-.124.63-.16zm-4.502 3.173a.306.306 0 0 1 .02-.037c.14-.263.283-.516.42-.76.157-.275.308-.547.458-.804.157-.276.313-.537.468-.794.162-.266.318-.527.472-.774.128-.201.25-.398.372-.585.039-.065.083-.123.122-.188.077-.123.16-.241.236-.36.07-.11.14-.215.21-.315l.07-.105c.006-.004.007-.009.013-.018h-.066l-.042-.096c-.006.009-.013.018-.019.022-.107.155-.215.31-.323.47-.063.09-.12.182-.184.273a40.963 40.963 0 0 0-1.467 2.343c-.156.26-.305.518-.45.776-.15.266-.301.533-.446.8l-.099.18c-.118.211-.23.424-.343.631l.07.15.072.002c0-.004.007-.014.007-.018.145-.268.285-.535.429-.793z\\\"></path><path fill=\\\"#BE202E\\\" fill-rule=\\\"nonzero\\\" d=\\\"M11.799 10.121c-.203.09-.421.179-.645.32.118-.043.219-.088.336-.132.106-.098.207-.143.309-.188z\\\"></path><path fill=\\\"#BE202E\\\" fill-rule=\\\"nonzero\\\" d=\\\"M11.799 10.121c-.203.09-.421.179-.645.32.118-.043.219-.088.336-.132.106-.098.207-.143.309-.188z\\\" opacity=\\\".35\\\"></path><path fill=\\\"#BE202E\\\" fill-rule=\\\"nonzero\\\" d=\\\"M11.623 9.574c.041.003.082.007.127-.043.168-.039.34-.131.508-.17-.208.035-.422.124-.635.213z\\\"></path><path fill=\\\"#BE202E\\\" fill-rule=\\\"nonzero\\\" d=\\\"M11.623 9.574c.041.003.082.007.127-.043.168-.039.34-.131.508-.17-.208.035-.422.124-.635.213z\\\" opacity=\\\".35\\\"></path><path fill=\\\"url(#b)\\\" fill-rule=\\\"nonzero\\\" d=\\\"M5.629 4.48c.165-.264.33-.528.496-.778.177-.264.347-.52.53-.764l.032-.044c.177-.24.353-.476.53-.697l-.54-.884c-.04.043-.083.086-.122.13A27.173 27.173 0 0 0 4.493 4.02c-.005.009-.01.014-.016.023l.7 1.207c.149-.264.298-.52.452-.77z\\\" transform=\\\"rotate(5 -20.357 67.846)\\\"></path><path fill=\\\"url(#c)\\\" fill-rule=\\\"nonzero\\\" d=\\\"M2.442 11.27c-.093.22-.187.447-.28.677 0 .005 0 .005-.006.01-.011.034-.028.067-.039.096l-.243.615c.204.082 2.057-.317 2.509-.966.039-.058.077-.12.11-.183-.204.226-.463.323-.943.303.706-.274 1.059-.538 1.373-.98.072-.106.15-.217.22-.342-.617.553-1.333.712-2.089.592l-.568.052c-.005.044-.027.087-.044.125z\\\" transform=\\\"rotate(5 -20.357 67.846)\\\"></path><path fill=\\\"url(#d)\\\" fill-rule=\\\"nonzero\\\" d=\\\"M2.707 10.168c.121-.274.248-.552.375-.836.121-.27.248-.539.38-.813.133-.274.265-.543.397-.817a40.963 40.963 0 0 1 .86-1.644c.055-.096.105-.193.16-.289.094-.168.188-.331.281-.495a.104.104 0 0 1 .017-.024l-.7-1.211c-.011.014-.022.033-.033.048-.166.23-.326.47-.486.711-.16.245-.32.495-.474.745-.132.212-.259.428-.38.645-.028.043-.05.086-.072.13-.154.273-.292.538-.413.793a14.999 14.999 0 0 0-.574 1.317c-.05.135-.093.274-.137.409-.105.317-.193.64-.27.956l.7 1.217c.093-.217.187-.438.286-.659.028-.058.055-.12.083-.183z\\\" transform=\\\"rotate(5 -20.357 67.846)\\\"></path><path fill=\\\"url(#e)\\\" fill-rule=\\\"nonzero\\\" d=\\\"M1.626 9.842c-.088.389-.148.774-.182 1.158 0 .015-.053 1.31.05 1.543-.119.294-.297.751-.536 1.371l.26-.123c.28-.714.502-1.272.668-1.675.027-.063.05-.125.077-.188.005-.02.016-.034.022-.053.093-.226.193-.461.292-.697.022-.053.044-.106.072-.163l-.7-1.217c-.017.02-.017.034-.023.044z\\\" transform=\\\"rotate(5 -20.357 67.846)\\\"></path><path fill=\\\"url(#f)\\\" fill-rule=\\\"nonzero\\\" d=\\\"M5.287 5.346c-.022.034-.038.072-.06.11l-.182.333c-.067.125-.133.25-.204.38-.034.062-.072.13-.105.196-.105.198-.21.404-.32.616-.132.26-.265.529-.402.812-.133.27-.265.544-.397.832-.127.274-.254.553-.386.842-.116.26-.232.524-.353.793l-.017.038c-.115.27-.237.548-.353.832 0 .005-.005.014-.005.02l.568-.054c-.011 0-.022-.004-.033-.004.678-.073 1.577-.515 2.155-1.058.27-.25.513-.548.734-.894.165-.26.325-.544.474-.861C6.533 8 7.989 4.914 8 4.875c-.015.01-.917.159-2.707.447 0 .015-.006.02-.006.024z\\\" transform=\\\"rotate(5 -20.357 67.846)\\\"></path><path fill=\\\"url(#g)\\\" fill-rule=\\\"nonzero\\\" d=\\\"M7.283 2.212c-.16.211-.33.452-.518.726-.011.014-.022.028-.028.043-.16.235-.33.495-.507.779-.154.245-.314.505-.485.788-.144.245-.298.505-.452.784C7.082 5.04 7.984 4.889 8 4.879c.015-.01.59-1.143.75-1.413a7.99 7.99 0 0 0 .396-.76c.067-.148.122-.288.155-.408.033-.106.055-.211.077-.308-.695.101-1.544.198-2.095.222z\\\" transform=\\\"rotate(5 -20.357 67.846)\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#62B543\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M3 10h1v2h2v-2h1v5H6v-2H4v2H3z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#B99BF8\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M3 15h1v-5H3zM6 11v3h.649C7.578 14 8 13.493 8 12.515V12.5c0-.978-.422-1.5-1.351-1.5H6zm-1-1h1.649C8.04 10 9 11.093 9 12.5c0 1.421-.96 2.5-2.351 2.5H5v-5zM10 10h1v4h2.5v1H10z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#40B6E0\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M5 11c-.708 0-1 .54-1 1.5S4.285 14 5 14c.715 0 1-.554 1-1.5S5.708 11 5 11zm0-1c1.207 0 2 1.118 2 2.5S6.206 15 5 15s-2-1.119-2-2.5c0-1.541.793-2.5 2-2.5zM9.1 10l-1.1.443.157.782L9 11v4h1v-5z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2.033c.164-.019.33-.033.5-.033C5.981 8 8 10.019 8 12.5c0 .931-.293 1.786-.783 2.5H13V1H8z\\\"></path><path fill=\\\"#F26522\\\" fill-opacity=\\\".7\\\" d=\\\"M7 12.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M2.395 13.588c.23.25.443.412.892.412.526 0 .713-.412.713-.702V10h1v3.588C5 14.32 4.327 15 3.45 15c-.821 0-1.3-.237-1.65-.68l.595-.732z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#40B6E0\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M3.395 13.588c.23.25.443.412.892.412.526 0 .713-.412.713-.702V10h1v3.588C6 14.32 5.327 15 4.45 15c-.821 0-1.3-.237-1.65-.68l.595-.732z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#F4AF3D\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M2.395 13.588c.23.25.443.412.892.412.526 0 .713-.412.713-.702V10h1v3.588C5 14.32 4.327 15 3.45 15c-.821 0-1.3-.237-1.65-.68l.595-.732zM6.973 11.502c0-.369.311-.502.872-.502H9v-1H7.86C6.778 10 6 10.46 6 11.45c0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H6.3v1h1.171C9.5 15 9.5 14 9.5 13.548c0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"#9AA7B0\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M8.416 13.896c0-.157.021-.578.021-.757 0-.82-.31-1.155-1.168-1.155H7v-.969h.269c.858 0 1.168-.347 1.168-1.167 0-.179-.021-.598-.021-.757 0-1.071.466-1.744 2.349-2.09l.216.84c-1.241.347-1.406.673-1.406 1.44 0 .211.021.557.021.778 0 .82-.393 1.22-1.076 1.442.693.23 1.076.62 1.076 1.44 0 .22-.021.566-.021.777 0 .768.165 1.094 1.406 1.44l-.216.842c-1.883-.348-2.349-1.02-2.349-2.104m3.603 1.262c1.24-.347 1.406-.673 1.406-1.439 0-.21-.02-.558-.02-.779 0-.82.392-1.22 1.075-1.44-.692-.232-1.075-.62-1.075-1.44 0-.22.02-.568.02-.779 0-.768-.165-1.093-1.406-1.44l.217-.84c1.883.345 2.348 1.018 2.348 2.091 0 .158-.021.578-.021.756 0 .821.31 1.167 1.169 1.167H16v.968h-.268c-.86 0-1.17.336-1.17 1.156 0 .18.022.6.022.757 0 1.083-.465 1.756-2.348 2.104l-.217-.842z\\\"></path><path fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4zM10.596 12.94c0 .122-.011 1.01-.005 1.035l.002-.002c.03 0 .907.292.907.292s.872-.289.925-.325c-.007-.013-.02-.878-.02-1 0-.449.089-.975.404-1.437-.27-.39-.404-.873-.404-1.444 0-.122.01-1.01.004-1.035l-.001.001c-.031 0-.908-.29-.908-.29s-.872.288-.925.323c.007.014.02.88.02 1.001 0 .45-.09.974-.403 1.437.268.39.404.872.404 1.444\\\"></path><path fill-opacity=\\\".8\\\" d=\\\"M7.416 13.896c0-.084.019-.868.016-.905-.04-.005-1.432-.008-1.432-.008v-2.968s1.391-.003 1.431-.008c.004-.038-.015-.83-.015-.915 0-2.21 1.692-2.804 3.168-3.076l.916-.168.916.168c.192.035.389.077.584.127V1H8v5H3v9h4.609a3.214 3.214 0 0 1-.193-1.104\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"#9AA7B0\\\" fill-rule=\\\"evenodd\\\"><path fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill-opacity=\\\".8\\\" d=\\\"M6.416 13.896c0-.084.019-.868.016-.905-.04-.005-1.432-.008-1.432-.008v-2.968s1.391-.003 1.431-.008c.004-.038-.015-.83-.015-.915 0-2.21 1.692-2.804 3.168-3.076l.916-.168.694 2.692s-1.566.484-1.619.519c.007.014.015 1.11.012 1.166l1.528-1.55 1.676 2.184.209-.366V1.001H8v5H3v9h3.609a3.214 3.214 0 0 1-.193-1.104\\\"></path><path d=\\\"M11.754 15l-2.262-2.854c.069.242.104.506.104.794 0 .123-.011 1.01-.005 1.036l.002-.002c.03 0 1.6.485 1.6.485l-.138.541h.699z\\\" opacity=\\\".5\\\"></path><path d=\\\"M7.416 13.896c0-.157.021-.578.021-.757 0-.82-.31-1.155-1.168-1.155H6v-.969h.269c.858 0 1.168-.347 1.168-1.167 0-.179-.021-.598-.021-.757 0-1.071.466-1.744 2.349-2.09l.216.84c-1.241.347-1.406.673-1.406 1.44 0 .211.021.557.021.778 0 .82-.393 1.22-1.076 1.442.693.23 1.076.62 1.076 1.44 0 .22-.021.566-.021.777 0 .768.165 1.094 1.406 1.44L9.765 16c-1.883-.348-2.349-1.02-2.349-2.104M12.914 12.662l-1.894-2.467-.997 1.011 2.988 3.769 2.987-4.964L15.004 9z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M6.416 13.896c0-.084.019-.868.016-.905-.04-.005-1.432-.008-1.432-.008v-2.968s1.391-.003 1.431-.008c.004-.038-.015-.83-.015-.915 0-2.21 1.692-2.804 3.168-3.076l.916-.168.694 2.692s-1.566.484-1.619.519c.007.014.015 1.11.012 1.166l1.528-1.55 1.676 2.184.209-.366V1.001H8v5H3v9h3.609a3.214 3.214 0 0 1-.193-1.104\\\"></path><path fill=\\\"#9AA7B0\\\" d=\\\"M11.754 15l-2.262-2.854c.069.242.104.506.104.794 0 .123-.011 1.01-.005 1.036l.002-.002c.03 0 1.6.485 1.6.485l-.138.541h.699z\\\" opacity=\\\".5\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M7.416 13.896c0-.157.021-.578.021-.757 0-.82-.31-1.155-1.168-1.155H6v-.969h.269c.858 0 1.168-.347 1.168-1.167 0-.179-.021-.598-.021-.757 0-1.071.466-1.744 2.349-2.09l.216.84c-1.241.347-1.406.673-1.406 1.44 0 .211.021.557.021.778 0 .82-.393 1.22-1.076 1.442.693.23 1.076.62 1.076 1.44 0 .22-.021.566-.021.777 0 .768.165 1.094 1.406 1.44L9.765 16c-1.883-.348-2.349-1.02-2.349-2.104M12.914 12.662l-1.894-2.467-.997 1.011 2.988 3.769 2.987-4.964L15.004 9z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M8.416 13.896c0-.157.021-.578.021-.757 0-.82-.31-1.155-1.168-1.155H7v-.969h.269c.858 0 1.168-.347 1.168-1.167 0-.179-.021-.598-.021-.757 0-1.071.466-1.744 2.349-2.09l.216.84c-1.241.347-1.406.673-1.406 1.44 0 .211.021.557.021.778 0 .82-.393 1.22-1.076 1.442.693.23 1.076.62 1.076 1.44 0 .22-.021.566-.021.777 0 .768.165 1.094 1.406 1.44l-.216.842c-1.883-.348-2.349-1.02-2.349-2.104m3.603 1.262c1.24-.347 1.406-.673 1.406-1.439 0-.21-.02-.558-.02-.779 0-.82.392-1.22 1.075-1.44-.692-.232-1.075-.62-1.075-1.44 0-.22.02-.568.02-.779 0-.768-.165-1.093-1.406-1.44l.217-.84c1.883.345 2.348 1.018 2.348 2.091 0 .158-.021.578-.021.756 0 .821.31 1.167 1.169 1.167H16v.968h-.268c-.86 0-1.17.336-1.17 1.156 0 .18.022.6.022.757 0 1.083-.465 1.756-2.348 2.104l-.217-.842z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4zM10.596 12.94c0 .122-.011 1.01-.005 1.035l.002-.002c.03 0 .907.292.907.292s.872-.289.925-.325c-.007-.013-.02-.878-.02-1 0-.449.089-.975.404-1.437-.27-.39-.404-.873-.404-1.444 0-.122.01-1.01.004-1.035l-.001.001c-.031 0-.908-.29-.908-.29s-.872.288-.925.323c.007.014.02.88.02 1.001 0 .45-.09.974-.403 1.437.268.39.404.872.404 1.444\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7.416 13.896c0-.084.019-.868.016-.905-.04-.005-1.432-.008-1.432-.008v-2.968s1.391-.003 1.431-.008c.004-.038-.015-.83-.015-.915 0-2.21 1.692-2.804 3.168-3.076l.916-.168.916.168c.192.035.389.077.584.127V1H8v5H3v9h4.609a3.214 3.214 0 0 1-.193-1.104\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#F26522\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M2.395 13.588c.23.25.443.412.892.412.526 0 .713-.412.713-.702V10h1v3.588C5 14.32 4.327 15 3.45 15c-.821 0-1.3-.237-1.65-.68l.595-.732zM11.9 12.5c.664 0 1.1-.116 1.1-.75s-.443-.75-1.1-.75H11v1.5h.9zM10 10h1.971c1.171 0 2.029.642 2.029 1.65 0 1.636-1.029 1.85-2.128 1.85H11V15h-1v-5zM6.973 11.502c0-.369.311-.502.872-.502H9v-1H7.86C6.778 10 6 10.46 6 11.45c0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H6.3v1h1.171C9.5 15 9.5 14 9.5 13.548c0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#F26522\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M2.395 13.588c.23.25.443.412.892.412.526 0 .713-.412.713-.702V10h1v3.588C5 14.32 4.327 15 3.45 15c-.821 0-1.3-.237-1.65-.68l.595-.732zM14.5 10l-1.6 2.45L14.5 15h-1.2l-1.05-1.907L11.2 15H10l1.6-2.55L10 10h1.2l1.05 1.814L13.3 10zM6.973 11.502c0-.369.311-.502.872-.502H9v-1H7.86C6.778 10 6 10.46 6 11.45c0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H6.3v1h1.171C9.5 15 9.5 14 9.5 13.548c0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#B99BF8\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M3 10h.936L5.5 12l1.479-2H8v5H7v-3.3l-1.5 1.8L4 11.7V15H3zM10 11.001h2V10H9v5h1v-2h1.8v-1H10z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 10h3V8h3V1H8v5H3v9h4z\\\"></path><path fill=\\\"#62B543\\\" d=\\\"M14 16h2V7h-2z\\\"></path><path fill=\\\"#F4AF3D\\\" d=\\\"M11 16h2V9h-2z\\\"></path><path fill=\\\"#F26522\\\" d=\\\"M8 16h2v-5H8z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M13 8.073A4.5 4.5 0 0 0 8.92 15H3V6h5V1h5v7.073z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M5 12h3v-1H5v1zm0-2h4V9H5v1zm0-2h6V7H5v1z\\\"></path><path fill=\\\"#40B6E0\\\" d=\\\"M13.333 11.286l1.981-1.143.7 1.212-1.981 1.144 1.981 1.144-.7 1.212-1.981-1.144V16h-1.4V13.71l-1.981 1.144-.7-1.212 1.981-1.144-1.981-1.144.7-1.212 1.981 1.143V9h1.4v2.287z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v9h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M5 12h4v-1H5v1zm0-2h6V9H5v1zm0-2h6V7H5v1z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M7 1L3 5h4z\\\"></path><path d=\\\"M5 9h6V7H5v2zm0 4h6v-3H5v3zM8 1v5H3v9h10V1H8z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M11 15H3V6h5V1h5l-.023 5A4 4 0 0 0 9 10c0 .232.042.567.127 1.006H11V15z\\\"></path><path fill=\\\"#40B6E0\\\" d=\\\"M12.25 16h1.5v-1.5h-1.5V16zM13 7a3 3 0 0 0-3 3h1.5c0-.825.675-1.5 1.5-1.5s1.5.675 1.5 1.5c0 1.5-2.25 1.313-2.25 3.75h1.5c0-1.688 2.25-1.875 2.25-3.75a3 3 0 0 0-3-3z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#40B6E0\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M4 11v3h.649C5.578 14 6 13.493 6 12.515V12.5c0-.978-.422-1.5-1.351-1.5H4zm-1-1h1.649C6.04 10 7 11.093 7 12.5c0 1.421-.96 2.5-2.351 2.5H3v-5zM8 10h1v4h2.5v1H8z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#F26522\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M3 10h1v2h2v-2h1v5H6v-2H4v2H3z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#F26522\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M3 13v-1l3-2v1l-2.2 1.5L6 14v1zM8 14l2.2-1.5L8 11v-1l3 2v1l-3 2z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#F4AF3D\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M6.5 10l-1.6 2.45L6.5 15H5.3l-1.05-1.907L3.2 15H2l1.6-2.55L2 10h1.2l1.05 1.814L5.3 10zM7.973 11.502c0-.369.311-.502.872-.502H10v-1H8.86C7.778 10 7 10.46 7 11.45c0 .865.42 1.24 1.471 1.466.77.165 1.025.313 1.025.632 0 .32-.358.452-1.025.452H7.3v1h1.171c2.029 0 2.029-1 2.029-1.452 0-.632-.48-1.127-1.341-1.401-.862-.274-1.186-.277-1.186-.645z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#F98B9E\\\" fill-opacity=\\\".7\\\" d=\\\"M1 16h15V9H1z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M7 1L3 5h4z\\\"></path><path fill=\\\"#9AA7B0\\\" fill-opacity=\\\".8\\\" d=\\\"M8 1v5H3v2h10V1z\\\"></path><path fill=\\\"#231F20\\\" fill-opacity=\\\".7\\\" d=\\\"M2.996 15v-1.971L1 10h1.05l1.446 2.207L4.95 10H6l-2 3.007V15zM6 10h.936L8.5 12l1.479-2H11v5h-1v-3.3l-1.5 1.8L7 11.7V15H6zM12 10h1v4h2.5v1H12z\\\"></path></g></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 1v5H3v9h10V1zM7 1L3 5h4z\\\" fill-rule=\\\"evenodd\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1 5.7h11V4.3H1v1.4zM14 2a1 1 0 0 0-1 1v4a1 1 0 0 0 2 0V3a1 1 0 0 0-1-1zm-6 8.3V9a1 1 0 1 0-2 0v4a1 1 0 0 0 2 0v-1.3h7v-1.4H8zm-7 1.4h4v-1.4H1v1.4z\\\"></path></svg>\"","module.exports = \"<svg height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M1 1v15h2v-4h13V1zm14 7h-3v3H9V8H6v3H3V8h3V5H3V2h3v3h3V2h3v3h3zM9 5v3h3V5z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M9 5a2.51 2.51 0 0 0-2.5-2H1v11h14V5z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 0a8 8 0 1 0 8 8 8 8 0 0 0-8-8zM3.09 7.58l2.49-2.49a2 2 0 1 1-2.49 2.49zm6.56 5.27a2.35 2.35 0 0 0-3.3 0l-.7-.7a3.39 3.39 0 0 1 4.7 0zM11 9a2 2 0 0 1-.54-3.92l2.46 2.46A2 2 0 0 1 11 9z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M2 19h7v-9H2zm9 0h7v-9h-7zm2-13a3 3 0 1 0-3-3 3 3 0 1 0-3 3H1v3h8V6h2v3h8V6zM8.5 4.5H7A1.5 1.5 0 1 1 8.5 3zm3-1.5A1.5 1.5 0 1 1 13 4.5h-1.5z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M3 15h4.3V9H3zM9.79 5a2.5 2.5 0 0 0 0-5A2.48 2.48 0 0 0 8 .76 2.48 2.48 0 0 0 6.21 0a2.5 2.5 0 0 0 0 5H2v3h5.3V5h1.4v3H14V5zm-2.5-2.5v1.1H6.21A1.1 1.1 0 1 1 7.3 2.46s-.01.03-.01.04zm1.41 0a1.1 1.1 0 1 1 1.09 1.1H8.71V2.5s-.01-.03-.01-.04zm0 12.5H13V9H8.7z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M15 5.6L10.4 1A3.4 3.4 0 0 0 5.78.86l1.88 1.88a1.25 1.25 0 0 1 1.67 1.2V4a1.23 1.23 0 0 1-.08.38l2.45 2.4a1.17 1.17 0 0 1 .37-.08 1.3 1.3 0 1 1-1.3 1.3 1.17 1.17 0 0 1 .08-.37L8.6 5.38v5.23a1.28 1.28 0 0 1 .73 1.15 1.3 1.3 0 0 1-2.6 0 1.27 1.27 0 0 1 .67-1.11V5.07A1.27 1.27 0 0 1 6.73 4a1.17 1.17 0 0 1 .08-.37l-1.9-1.9L1 5.6a3.38 3.38 0 0 0 0 4.79L5.6 15a3.38 3.38 0 0 0 4.79 0L15 10.4a3.38 3.38 0 0 0 0-4.79z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M12.74 9H3.26A3.16 3.16 0 0 0 2 9.26a3.28 3.28 0 0 0-2 3V16h16v-3.74A3.27 3.27 0 0 0 12.74 9zm1.86 5.6H5.4v-2.34a1.87 1.87 0 0 1 1.86-1.86h5.48a1.87 1.87 0 0 1 1.86 1.86zM5.67 8A3.46 3.46 0 0 0 8 7.09a3.46 3.46 0 0 0 2.33.91 3.5 3.5 0 0 0 0-7A3.46 3.46 0 0 0 8 1.91 3.46 3.46 0 0 0 5.67 1a3.5 3.5 0 0 0 0 7zm4.66-5.6a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M12.83 4.86a5 5 0 0 0-3-.86 4.15 4.15 0 0 0-2.29.6A3.62 3.62 0 0 0 6 7.63h2.07a2.57 2.57 0 0 1 .41-1.24A1.61 1.61 0 0 1 10 5.7a1.66 1.66 0 0 1 1.44.57 2 2 0 0 1 .39 1.21 1.8 1.8 0 0 1-.36 1.08 2.18 2.18 0 0 1-.5.51l-.59.46a3.28 3.28 0 0 0-1.05 1.16 5.94 5.94 0 0 0-.33 1.7h2a3.47 3.47 0 0 1 .11-.86 1.89 1.89 0 0 1 .68-.93l.57-.45a6 6 0 0 0 1.16-1.09A2.8 2.8 0 0 0 14 7.35a2.85 2.85 0 0 0-1.17-2.49zM9 15.88h2.16V13.8H9zM10 0a10 10 0 1 0 10 10A10 10 0 0 0 10 0zm0 18.2a8.2 8.2 0 1 1 8.2-8.2 8.21 8.21 0 0 1-8.2 8.2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7.27 12h1.51v-1.45H7.27zm2.65-7.42A3.36 3.36 0 0 0 7.9 4a2.82 2.82 0 0 0-1.55.41 2.49 2.49 0 0 0-1.07 2.17h1.55a1.55 1.55 0 0 1 .26-.86.93.93 0 0 1 .91-.41 1 1 0 0 1 .87.33 1.26 1.26 0 0 1 .24.75 1.17 1.17 0 0 1-.24.61 1.34 1.34 0 0 1-.32.31l-.39.31a2.19 2.19 0 0 0-.71.8 4.39 4.39 0 0 0-.18 1.25h1.46a2.22 2.22 0 0 1 .07-.63 1.18 1.18 0 0 1 .41-.57l.38-.29a3.66 3.66 0 0 0 .78-.74 1.93 1.93 0 0 0 .35-1.18 2 2 0 0 0-.8-1.68zm3-1.53A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM12 12a5.6 5.6 0 0 1-8 0 5.61 5.61 0 0 1 0-8 5.6 5.6 0 0 1 8 0 5.61 5.61 0 0 1 0 8z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M15 0H7.3v7.42a.8.8 0 0 0 .51.75.81.81 0 0 0 .31.06A.85.85 0 0 0 8.7 8l2-2-1-1-1 1V2.45a5.6 5.6 0 1 1-2.4.22V1.22a7 7 0 1 0 4 .18H15z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M3 17v2h14v-2a7 7 0 0 0-14 0zm7-5.4a5.4 5.4 0 0 1 5.4 5.4v.4H4.6V17a5.4 5.4 0 0 1 5.4-5.4zm1.24-1.72a7.48 7.48 0 0 0 1-.24l.16-.06a8.64 8.64 0 0 0 .88-.38 6.79 6.79 0 0 0 .85-.54l.13-.1a6.59 6.59 0 0 0 .74-.69l.06-.06a6.91 6.91 0 0 0 .65-.81 8.16 8.16 0 0 0 .53-.9l.08-.1a6.42 6.42 0 0 0 .38-1 7 7 0 0 0 .3-2V1H3v2a7 7 0 0 0 .3 2 6.42 6.42 0 0 0 .38 1v.11a8.16 8.16 0 0 0 .53.9 6.91 6.91 0 0 0 .64.79l.15.07a6.59 6.59 0 0 0 .74.66l.13.1a6.79 6.79 0 0 0 .85.54 8.64 8.64 0 0 0 .88.38l.16.06a7.48 7.48 0 0 0 1 .24h.2A7.18 7.18 0 0 0 10 10a7.18 7.18 0 0 0 1-.09zM5 5a5.32 5.32 0 0 1-.4-2v-.4h10.8V3a5.32 5.32 0 0 1-.4 2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 3.07v-2H3v2A5 5 0 0 0 7.65 8 5 5 0 0 0 3 13v2h10v-2a5 5 0 0 0-4.65-5A5 5 0 0 0 13 3.07zm-8.6-.6h7.2v.6a3.67 3.67 0 0 1-.14.93H4.54a3.67 3.67 0 0 1-.14-.93zM11.6 13v.6H4.4V13a3.6 3.6 0 0 1 7.2 0z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1.23 6.24l8.53 8.53a7 7 0 0 0 2.67-1.35L2.58 3.57a7 7 0 0 0-1.35 2.67zm2.34-3.66l9.85 9.85a7 7 0 0 0 1.36-2.7L6.27 1.22a7 7 0 0 0-2.7 1.36zM1 8a7 7 0 0 0 7 7L1 8zm7-7l7 7a7 7 0 0 0-7-7z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7.92 5.32A.92.92 0 1 0 7 4.37a.92.92 0 0 0 .92.95zm.93.68h-2.3a4.58 4.58 0 0 1-.1.63 3 3 0 0 1-.2.67h1.3v3.53h-1.3v1.3h3.32v-1.3h-.72zM13 3.05A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM12 12a5.6 5.6 0 0 1-8 0 5.61 5.61 0 0 1 0-8 5.6 5.6 0 0 1 8 0 5.61 5.61 0 0 1 0 8z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M8.4 9.6H3.6A2.41 2.41 0 0 0 1.2 12h9.6a2.41 2.41 0 0 0-2.4-2.4zm1.8-4.2a4 4 0 0 0-.15-1L12 2.46 6 0 0 2.45l1.94 1.9A4.58 4.58 0 0 0 1.8 5.4a4.2 4.2 0 0 0 8.4 0zM6 2.4a.6.6 0 1 1-.6.6.6.6 0 0 1 .6-.6zm0 5.52A2.52 2.52 0 0 1 3.48 5.4a2.35 2.35 0 0 1 .08-.6h4.88a2.89 2.89 0 0 1 .08.6A2.52 2.52 0 0 1 6 7.92z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M9.68 11.31h-.5a4.75 4.75 0 0 0 3.58-4.6v-.2L15 2.86 8 0 1 2.86l2.25 3.66a1.37 1.37 0 0 0 0 .19 4.75 4.75 0 0 0 3.58 4.6h-.54A4.08 4.08 0 0 0 2 15.11V16h12v-.87a4.08 4.08 0 0 0-4.32-3.82zM8 3.4a.6.6 0 1 1-.6.6.6.6 0 0 1 .6-.6zm-.9 11.18H3.47a2.89 2.89 0 0 1 2.82-1.87h.81zM4.63 6.71a.28.28 0 0 1 0-.09h6.71v.09a3.37 3.37 0 1 1-6.73 0zm4.27 7.87v-1.87h.78a2.89 2.89 0 0 1 2.82 1.87z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 5a5 5 0 0 0-5-5 5.74 5.74 0 0 0-1.08.11A5 5 0 0 0 4.6 8.64a3.5 3.5 0 0 1 1.1 2.16.7.7 0 0 0-.49 1.2.7.7 0 0 0 0 1 .7.7 0 0 0 .49 1.2H6a2 2 0 0 0 4 0h.32a.7.7 0 0 0 .49-1.2.7.7 0 0 0 0-1 .7.7 0 0 0-.49-1.2 3.5 3.5 0 0 1 1.1-2.16A5 5 0 0 0 13 5zm-4.1 5.8H7.1a4.9 4.9 0 0 0-1.55-3.19 3.54 3.54 0 0 1-1.09-3.3A3.58 3.58 0 0 1 7.2 1.48 4.43 4.43 0 0 1 8 1.4 3.6 3.6 0 0 1 11.6 5a3.51 3.51 0 0 1-1.15 2.61A4.9 4.9 0 0 0 8.9 10.8zM8 2.5v1A1.5 1.5 0 0 1 9.5 5h1A2.5 2.5 0 0 0 8 2.5z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13.83 8.29L11.34 5.8a3.74 3.74 0 0 0-.62-.51 4 4 0 0 0-3.63-.35 4 4 0 0 0-2.15 2.15l1.15 1.14a2.45 2.45 0 0 1 2.14-2.14 1.86 1.86 0 0 1 .34 0 2.49 2.49 0 0 1 1.11.27 2.39 2.39 0 0 1 .67.47l1 1 1.52 1.52a2.52 2.52 0 1 1-3.56 3.56l-.65-.65a4.74 4.74 0 0 1-1.19.16 4.05 4.05 0 0 1-.7-.07l1.55 1.55a3.92 3.92 0 0 0 5.54-5.54zm-6.07 3a3.89 3.89 0 0 0 1.16-.25 4 4 0 0 0 1.29-.86 4 4 0 0 0 .86-1.29L9.92 7.77a2.44 2.44 0 0 1-2.15 2.15h-.33a2.53 2.53 0 0 1-1.12-.27 2.31 2.31 0 0 1-.66-.46l-2.5-2.5a2.49 2.49 0 0 1-.73-1.78 2.52 2.52 0 0 1 3.91-2.06 1.91 1.91 0 0 1 .38.31l.66.66a4.68 4.68 0 0 1 1.19-.17 5.38 5.38 0 0 1 .69.07L7.71 2.17a3.92 3.92 0 0 0-5.54 5.54l2.5 2.5a3.61 3.61 0 0 0 .61.5 4.76 4.76 0 0 0 .67.35 4 4 0 0 0 1.48.28c.12.01.22-.01.33-.02z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M12 6V3.74A3.75 3.75 0 0 0 8.26 0h-.52A3.75 3.75 0 0 0 4 3.74V6H2v9h12V6zm-3.3 6a.7.7 0 1 1-1.4 0V8h1.4zm1.9-6H5.4V3.74A2.34 2.34 0 0 1 7.74 1.4h.52a2.34 2.34 0 0 1 2.34 2.34z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M12.52.55l-5 5-6.97 6.96 3 3 12-12zm-4 6l4-4 1 1-4 4.05zM2.77 3.18a3.85 3.85 0 0 1 2.55 2.55 3.85 3.85 0 0 1 2.55-2.55A3.82 3.82 0 0 1 5.32.64a3.82 3.82 0 0 1-2.55 2.54zm5.73-.63a2 2 0 0 1 1.28-1.28A1.92 1.92 0 0 1 8.5 0a1.88 1.88 0 0 1-1.27 1.27A1.92 1.92 0 0 1 8.5 2.55zm-6.36 0a1.92 1.92 0 0 1 1.27-1.28A1.88 1.88 0 0 1 2.14 0 1.92 1.92 0 0 1 .86 1.27a2 2 0 0 1 1.28 1.28zm12.59 3.67a1.94 1.94 0 0 1-1.28 1.27 1.94 1.94 0 0 1 1.28 1.27A1.9 1.9 0 0 1 16 7.49a1.9 1.9 0 0 1-1.27-1.27z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M6.2 13.5a1.7 1.7 0 0 1-3.4 0H1a3.5 3.5 0 0 0 7 0v-5H6.2zM6.7 6a.7.7 0 1 0-.7-.7.7.7 0 0 0 .7.7zM10 17h1.4v-3H10zm6.91-13h-3a3.23 3.23 0 0 0-3-2H7a3.19 3.19 0 0 0-3.2 3.15v7.17a.7.7 0 0 0 1.4 0V5.15A1.79 1.79 0 0 1 7 3.4h3.84a1.79 1.79 0 0 1 1.86 1.75 1.8 1.8 0 0 1-1.83 1.75.7.7 0 0 0 0 1.4 3.19 3.19 0 0 0 3.2-2.9h2.84a.69.69 0 0 1 .69.69V14h-2v3H19V6.09A2.1 2.1 0 0 0 16.91 4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M12.5.5L3 10l.59.59-1.95 1.95.5.5L.17 15H2l1.05-1.05.5.5L5.5 12.5l.5.5 9.5-9.5-3-3z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6 .3v1.4h7.3v11.6H6v1.4h8.7V.3zM11 3H7v4h4zm-4 9h4V8H7zM6 3H2v4h4zm0 5H2v4h4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"10\\\" height=\\\"10\\\" viewBox=\\\"0 0 10 10\\\"><path d=\\\"M8.41 2.55L6 3.33 5.59 1a4.66 4.66 0 0 0-1.18 0L4 3.33l-2.41-.78a3.82 3.82 0 0 0-.59.94L2.92 5 1 6.51a3.82 3.82 0 0 0 .59.94L4 6.67 4.41 9a4.66 4.66 0 0 0 1.18 0L6 6.67l2.37.78A3.69 3.69 0 0 0 9 6.51L7.08 5 9 3.49a3.82 3.82 0 0 0-.59-.94z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 6.5A1.5 1.5 0 1 0 9.5 8 1.5 1.5 0 0 0 8 6.5zm5 0A1.5 1.5 0 1 0 14.47 8 1.5 1.5 0 0 0 13 6.5zm-10 0A1.5 1.5 0 1 0 4.53 8 1.5 1.5 0 0 0 3 6.5z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M2.69 8.47a4.83 4.83 0 0 1 4.83-4.83H12V6l3-3-3-3v2.24H7.52a6.23 6.23 0 0 0 0 12.46H8v-1.4h-.48a4.84 4.84 0 0 1-4.83-4.83zM9 9.7h6V8.3H9zm0 5h6v-1.4H9z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M16 8l-3-3v2.3H8.7V3H11L8 0 5 3h2.3v4.3H3V5L0 8l3 3V8.7h4.3V13H5l3 3 3-3H8.7V8.7H13V11l3-3z\\\"></path></svg>\"","module.exports = \"<svg height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path clip-rule=\\\"evenodd\\\" d=\\\"M2 7.5v3c0 .8.6 1.5 1.4 1.5h2.3l3.2 2.8c.1.1.3.2.4.2s.2 0 .3-.1c.2-.1.4-.4.4-.7v-.9L2.8 6.1c-.5.2-.8.8-.8 1.4zm8 2V3.7c0-.3-.1-.5-.4-.7h-.3c-.1 0-.3 0-.4.2L6.1 5.7 2 1.6l-1 1L4.4 6l5.6 5.6 3.6 3.6 1-1z\\\" fill-rule=\\\"evenodd\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 1a7 7 0 1 0 7 7 7 7 0 0 0-7-7zm5.6 7a5.6 5.6 0 0 1-1.06 3.27L4.73 3.46A5.59 5.59 0 0 1 13.6 8zM2.4 8a5.6 5.6 0 0 1 1.06-3.27l7.81 7.81A5.59 5.59 0 0 1 2.4 8z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M4 0v3H1v12h12v-3h3V0zm7.2 13.2H2.8V4.8H4V12h7.2zm3.4-2.6H6.39l5.11-5.1L13 7V3H9l1.5 1.5-5.1 5.11V1.4h9.2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7.82 8.07L5.1 5.36l-2.4-.93 1-.43-1-1-1.7.77v1.69l6.72 2.59zM8 11.52a.87.87 0 0 0 .28 0l2.12-.82-1.22-1.26L8 9.89l-7-2.7v1.68l6.73 2.6a.87.87 0 0 0 .28 0zm5.22-1.95L15 8.88V7.19l-3 1.16-1.25-1.25L15 5.46V3.77L8.21 1a.61.61 0 0 0-.42 0l-2.22.89L4.65 1H2.59L15 13.42v-2.07zm-6.71-6.7L8 2.27l5.32 2.15-3.79 1.46zM8 13.37l-7-2.7v1.68L7.72 15a.77.77 0 0 0 .56 0l4.64-1.79-1.22-1.27z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M10 1a9 9 0 1 0 9 9 9 9 0 0 0-9-9zm0 16.4a7.4 7.4 0 1 1 5.52-12.31L9 11.59l-3.32-3.3-1.4 1.42L9 14.41l7.61-7.63A7.29 7.29 0 0 1 17.4 10a7.41 7.41 0 0 1-7.4 7.4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 3.05A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM12 12a5.6 5.6 0 0 1-8 0 5.61 5.61 0 0 1 0-8 5.6 5.6 0 0 1 8 0c.1.1.18.22.27.33L7.6 9 5 6.19 3.69 7.4l3.85 4.21 5.66-5.67A5.62 5.62 0 0 1 12 12z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10 2.33V.18A8.5 8.5 0 0 0 8.52 0h-.1A7.52 7.52 0 0 0 3 12.56a6.48 6.48 0 1 0 7-10.23zM8 13.57a5.09 5.09 0 1 1 5.09-5.08A5.1 5.1 0 0 1 8 13.57zm-.7-4.86l-1.47 1.47 1 1L8.7 9.29V4.76H7.3z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M10.24 1.76a6 6 0 1 0 0 8.48 6 6 0 0 0 0-8.48zM5 8.4H3.6V3.6H5zm3.36 0H7V3.6h1.4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 3.05A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM7 11H5.6V5H7zm3.4 0H9V5h1.4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1 1.3v1.4h1.3v9.7L8 15.82l5.7-3.42V2.7H15V1.3zm11.3 10.3L8 14.18 3.7 11.6V2.7h8.6zm-1.3-.66V4H5v6.94l3 1.7z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M14.43 4.57l1-1L12.78.94l-1 1-.87.88-1 1-2.07 2.07a5 5 0 1 0 1.27 1.27l2.09-2.09 1.36 1.37 1-1-1.37-1.36.88-.87zM5 13.6A3.6 3.6 0 1 1 8.6 10 3.6 3.6 0 0 1 5 13.6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10 3.72L12.28 6l-.43.43-2.12 2.1-.41.41v2.83l-2.05-2-1-1-2-2h2.79l.41-.41 2.12-2.21.41-.43M9.31 1L7.89 2.45l.71.71-2.12 2.12H3.65L2.24 6.69l3 3L1 14l1 1 4.24-4.25 3 3 1.41-1.41V9.52l2.19-2.12.71.71L15 6.69 9.31 1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 8l-2-2V3h1V1H4v2h1v3L3 8v2h4.3v6h1.4v-6H13V8z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M3 2.04v11.93L13 8 3 2.04z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6 4a2 2 0 1 0-2.7 1.87v5.26a2 2 0 1 0 1.4 0V5.87A2 2 0 0 0 6 4zm-2 9.6a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zm0-9a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zM14 6l1-.93-1.6-1.57L15 1.93 14 1l-1.53 1.57L10.9 1l-.9.93 1.53 1.57L10 5.07l.9.93.87-.87v6a2 2 0 1 0 1.4 0v-6zm-1.56 7.6a.6.6 0 1 1 .6-.6.6.6 0 0 1-.57.6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13.14 11.12a8.41 8.41 0 0 0-7.25-7.73A2 2 0 0 0 4 2a2 2 0 0 0-.7 3.87v5.26a2 2 0 1 0 1.4 0V5.87a2 2 0 0 0 1.14-1.08 7 7 0 0 1 5.9 6.35 2 2 0 1 0 1.4 0zM4 3.4a.6.6 0 1 1-.6.6.6.6 0 0 1 .6-.6zm0 10.2a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zm8.47 0a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6 4a2 2 0 1 0-2.7 1.87v5.26a2 2 0 1 0 1.4 0V5.87A2 2 0 0 0 6 4zm-2 9.6a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zm0-9a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zm9.17 6.53V5.67A2.37 2.37 0 0 0 10.8 3.3H10V1L7 4l3 3V4.7h.8a1 1 0 0 1 1 1v5.46a2 2 0 1 0 1.4 0zm-.7 2.47a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M11.77 5.67V7h1.4V5.67A2.37 2.37 0 0 0 10.8 3.3H10v1.4h.8a1 1 0 0 1 .97.97zM4 2a2 2 0 0 0-.7 3.87v5.26a2 2 0 1 0 1.4 0V5.87A2 2 0 0 0 5.87 4.7H8V3.3H5.87A2 2 0 0 0 4 2zm0 11.6a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zm0-9a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6zm9.17 6.53V9h-1.4v2.13a2 2 0 1 0 1.4 0zm-.7 2.47a.6.6 0 1 1 .6-.6.6.6 0 0 1-.6.6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M13 8V5L9 1H3v7H0v6h3v1h10v-1h3V8zM9 2.4V5h2.6v4H4.4V2.4zM4.4 13.6V12h7.2v1.6zm9.2-3a.6.6 0 0 1-.6-.6.6.6 0 1 1 .6.6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M6.3 7l3.85 6L14 7zM7 1v4h4V1zm3 3H8V2h2zM1 1v4h4V1zm3 3H2V2h2zM1 7v4h4V7zm3 3H2V8h2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M11 1H7v4h4zM1 11h4V7H1zm0-6h4V1H1zm5.3 2l3.85 6L14 7z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M1 5h4V1H1zm0 6h4V7H1zm6 0h4V7H7zM7 1v4h4V1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M7 1v4h4V1zm3 3H8V2h2zM7 7v4h4V7zm3 3H8V8h2zM1 1v4h4V1zm3 3H2V2h2zM1 7v4h4V7zm3 3H2V8h2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M2 9h7V2H2zm2-5h3v3H4zm6 7l5 8 5-8zm8-9h-7v7h7zm-2 5h-3V4h3zM2 18h7v-7H2zm2-5h3v3H4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M2 9h7V2H2zm0 9h7v-7H2zM18 2h-7v7h7zm-8 9l5 8 5-8z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M2 9h7V2H2zm9-7v7h7V2zM2 18h7v-7H2zm9 0h7v-7h-7z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M2 9h7V2H2zm2-5h3v3H4zm7-2v7h7V2zm5 5h-3V4h3zM2 18h7v-7H2zm2-5h3v3H4zm7 5h7v-7h-7zm2-5h3v3h-3z\\\"></path></svg>\"","module.exports = \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8.62 15.66c-.15 0-.31-.06-.42-.18L5.42 12.7c-.11.17-.16.39-.23.71-.09.44-.2.98-.65 1.43-.88.88-2.54.88-3.42 0s-.88-2.54 0-3.42c.45-.45 1-.56 1.43-.65.31-.06.54-.11.71-.23L.48 7.76C.36 7.65.3 7.5.3 7.34s.06-.31.18-.42l2.58-2.57a.61.61 0 0 1 .85 0l.32.32c.45.45.56 1 .65 1.43.07.38.12.63.31.81.41.41 1.32.41 1.73 0s.41-1.31 0-1.73c-.19-.18-.44-.23-.83-.31-.44-.09-.98-.2-1.43-.65l-.32-.32c-.11-.11-.18-.27-.18-.43s.06-.31.18-.42L6.92.48a.61.61 0 0 1 .85 0l2.78 2.78c.11-.17.16-.39.23-.71.09-.44.2-.98.65-1.43.88-.88 2.54-.88 3.42 0s.88 2.54 0 3.42c-.45.45-1 .56-1.43.65-.31.06-.54.11-.71.23l2.78 2.78c.11.11.18.27.18.42s-.06.31-.18.42l-2.58 2.57a.61.61 0 0 1-.85 0l-.32-.32c-.45-.45-.56-1-.65-1.43-.08-.39-.13-.64-.32-.82-.41-.41-1.32-.41-1.73 0s-.41 1.31 0 1.73c.18.18.43.24.82.32.44.09.98.2 1.43.65l.32.32c.11.11.18.27.18.42 0 .16-.06.31-.18.43l-2.58 2.57c-.1.12-.25.18-.41.18zM1.75 7.34l2.79 2.79c.23.23.23.61 0 .85l-.32.32c-.45.45-1 .56-1.43.65-.39.08-.64.13-.82.32-.19.19-.31.51-.31.86s.11.67.31.86c.41.41 1.32.41 1.73 0 .18-.18.24-.43.32-.82.09-.44.2-.98.65-1.43l.32-.32a.61.61 0 0 1 .85 0l2.79 2.79 1.72-1.72c-.17-.11-.39-.16-.71-.23-.44-.09-.98-.2-1.43-.65-.42-.42-.66-1.04-.66-1.71s.24-1.29.66-1.71c.88-.88 2.54-.88 3.42 0 .45.45.56 1 .65 1.43.06.31.11.54.23.71l1.72-1.72-2.79-2.79a.61.61 0 0 1 0-.85l.32-.32c.45-.45 1-.56 1.43-.65.39-.08.64-.13.82-.32.19-.19.31-.52.31-.86s-.11-.67-.31-.86c-.38-.39-1.34-.39-1.73 0-.18.18-.24.43-.32.82-.09.44-.2.98-.65 1.43l-.32.32a.61.61 0 0 1-.85 0l-2.8-2.78-1.72 1.71c.17.11.39.16.71.23.44.09.98.2 1.43.65.42.42.66 1.04.66 1.71s-.24 1.29-.66 1.71c-.84.84-2.59.84-3.42 0-.45-.45-.56-1-.65-1.43-.06-.32-.11-.54-.22-.71z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6 1H3v6h3zm8 2h-3v4h3zm-4 1H7v3h3zM0 8.3v1.4h3V15h3V9.7h1V12h3V9.7h1V13h3V9.7h2V8.3z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path class=\\\"cls-1\\\" d=\\\"M16 6l-6-6v3.6s-11.08-.74-8.41 10.18a.27.27 0 0 0 .53 0c.35-2 1.9-6 7.88-5.77v4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"10\\\" height=\\\"10\\\" viewBox=\\\"0 0 10 10\\\"><path d=\\\"M1 4.1h8v1.8H1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"10\\\" height=\\\"10\\\" viewBox=\\\"0 0 10 10\\\"><path d=\\\"M9 1H4l1.86 1.86-4.5 4.5 1.28 1.28 4.5-4.5L9 6V1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.55 6.44a2.93 2.93 0 0 0-1-1 2.93 2.93 0 0 0-3.12 0 2.93 2.93 0 0 0-1 1A3 3 0 0 0 5 8a2.58 2.58 0 0 0 0 .39 3 3 0 0 0 5.92 0A2.58 2.58 0 0 0 11 8a3 3 0 0 0-.45-1.56zM5.72 4.73L2.93 1.94A1.62 1.62 0 0 0 3 1.5 1.5 1.5 0 1 0 1.5 3a1.62 1.62 0 0 0 .44-.07l2.79 2.79a3.59 3.59 0 0 1 .99-.99zM2.48 9.37A1.47 1.47 0 0 0 1.5 9 1.5 1.5 0 1 0 3 10.68l1.61-.62a4 4 0 0 1-.51-1.3zM13.5 4A1.5 1.5 0 1 0 12 2.5a1.62 1.62 0 0 0 .07.44l-1.79 1.79a3.59 3.59 0 0 1 1 1l1.79-1.79a1.62 1.62 0 0 0 .43.06zm-4.8 9.18v-1.25A4.05 4.05 0 0 1 8 12a4.05 4.05 0 0 1-.7-.07v1.25a1.5 1.5 0 1 0 1.4 0zM14.5 9a1.47 1.47 0 0 0-1 .37l-1.6-.61a3.88 3.88 0 0 1-.51 1.3l1.61.62A1.5 1.5 0 1 0 14.5 9z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M19.64 18.36l-6.24-6.24a7.52 7.52 0 1 0-1.28 1.28l6.24 6.24zM7.5 13.4a5.9 5.9 0 1 1 5.9-5.9 5.91 5.91 0 0 1-5.9 5.9z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M6.41 8.44h1.11l.49-4H6zm.02 2h1.05v-1.1H6.43zm5.33.63A5.927 5.927 0 0 0 13 7.43c0-3.31-2.69-6-6-6s-6 2.69-6 6 2.69 6 6 6c1.37 0 2.62-.46 3.63-1.23l2.8 2.8 1.13-1.13zm-4.86.75c-2.48 0-4.49-2.02-4.49-4.5S4.42 2.83 6.9 2.83s4.5 2.02 4.5 4.49-2.03 4.5-4.5 4.5z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M9 4.45l-2 2-2-2-1 1 2 2-2 2 1 1 2-2 2 2 1-1-2-2 2-2zm2.77 6.63A5.975 5.975 0 0 0 13 7.45c0-3.31-2.69-6-6-6s-6 2.69-6 6 2.69 6 6 6c1.37 0 2.63-.46 3.64-1.24L13.43 15l1.13-1.13zm-4.87.76c-2.48 0-4.49-2.02-4.49-4.5s2.02-4.5 4.49-4.5 4.5 2.02 4.5 4.5-2.03 4.5-4.5 4.5z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M2 14h3v-3H2zm9 0h3v-3h-3zM2 5h3V2H2zm9-3v3h3V2zM6.5 5h3V2h-3zm0 9h3v-3h-3zM11 9.5h3v-3h-3zm-4.5 0h3v-3h-3zM2 9.5h3v-3H2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M15 1.11H5L0 10l5 8.89h10L20 10zm-5 12.75A3.86 3.86 0 1 1 13.86 10 3.86 3.86 0 0 1 10 13.86z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M11.5 1.78h-7L1 8l3.5 6.22h7L15 8zM8 10.7A2.7 2.7 0 1 1 10.7 8 2.7 2.7 0 0 1 8 10.7z\\\"></path></svg>\"","module.exports = \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 13.11c2.34-1.41 3.6-2.48 3.6-4.11V3.8c-.93-.21-2.17-.4-3.6-.4zM8 1C4.57 1 2 2 2 2v7c0 4.29 4.84 5.92 6 7 1.16-1.06 6-2.76 6-7V2s-2.47-1-6-1zm4.6 8c0 2.31-1.93 3.67-4.08 4.97-.18.11-.36.21-.52.31l-.57-.35C5.73 12.91 3.4 11.51 3.4 9V3.02c.96-.26 2.62-.62 4.6-.62 2.01 0 3.65.35 4.6.62z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M10 1v2a7 7 0 1 1-7 7H1a9 9 0 1 0 9-9z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M2.39 8.13a5.47 5.47 0 0 1 .18-1.39l.16-.66-1.31-.34-.17.66a7 7 0 0 0 .08 3.73l.19.65 1.3-.39-.19-.65a5.46 5.46 0 0 1-.24-1.61zm2.18 4.39l-.57-.4-.83 1.07.55.42a6.76 6.76 0 0 0 3.48 1.32l.67.07.13-1.36-.67-.06a5.56 5.56 0 0 1-2.76-1.06zm9.83-7.15a7.05 7.05 0 0 0-9.24-3.74 6.92 6.92 0 0 0-2.39 1.65L4 4.48A5.32 5.32 0 1 1 10 13l.68 1.6a7.06 7.06 0 0 0 3.72-9.23z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 1v1.8A5.2 5.2 0 1 1 2.8 8H1a7 7 0 1 0 7-7z\\\"></path></svg>\"","module.exports = \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M14.56 15H1.44c-.3 0-.57-.2-.67-.49-.4-1.25-.57-2.18-.41-2.99.04-.18.15-.35.3-.45.16-.1.35-.14.53-.1l.19.04c2.07.45 3.29.64 4.37-.87.23-.32.3-1.24.17-2.25-.05-.32-.22-.68-.4-1.05-.21-.46-.46-.97-.53-1.56-.09-.84.14-1.6.67-2.2.56-.65 1.39-1.04 2.29-1.08h.11c.9.04 1.73.43 2.29 1.08.52.61.75 1.37.66 2.2-.06.59-.31 1.11-.53 1.56-.18.37-.35.73-.39 1.06-.13 1-.06 1.93.17 2.25 1.07 1.51 2.3 1.32 4.37.87l.19-.04c.18-.04.38 0 .53.1.16.1.27.26.3.45.16.8-.01 1.74-.41 2.99-.1.28-.37.48-.68.48zM1.95 13.6h12.09c.11-.38.18-.82.22-1.07-1.77.36-3.68.51-5.16-1.57-.61-.86-.52-2.4-.41-3.24.08-.56.31-1.05.52-1.49.19-.39.36-.75.4-1.11.05-.44-.06-.82-.33-1.13-.3-.35-.78-.57-1.28-.59-.5.02-.98.24-1.28.59-.27.31-.38.69-.33 1.14.04.35.21.72.4 1.11.21.43.44.92.52 1.48.11.84.2 2.38-.41 3.24-1.48 2.08-3.39 1.92-5.16 1.57.03.25.1.69.21 1.07z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M6 3l.61 1.37.29.63h.7l1.45.13L8 6.08l-.55.47.16.71.32 1.4L6.6 7.9 6 7.55l-.6.35-1.31.76.32-1.4.16-.71L4 6.08l-1-.91L4.4 5h.7l.29-.65L6 3m0-3L4.29 3.84 0 4.23 3.24 7l-1 4.09L6 8.94l3.71 2.14L8.76 7 12 4.23l-4.29-.39L6 0z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 4.31l.75 1.77.31.72.79.06 1.88.14-1.41 1.19-.62.52.19.78.44 1.81-1.67-1L8 9.91l-.66.4-1.67 1 .44-1.81.19-.78-.62-.52L4.27 7l1.88-.15.79-.06.31-.72L8 4.31M8 1L6.05 5.57 1 6l3.85 3.19L3.67 14 8 11.43 12.33 14l-1.18-4.81L15 6l-5-.43L8 1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M6 8.94l-3.71 2.14.95-4.09L0 4.23l4.29-.39L6 0l1.71 3.84 4.29.39-3.24 2.76.95 4.09L6 8.94z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 11.43L3.67 14l1.17-4.81L1 5.97l5.05-.4L8 1l1.95 4.57 5.05.4-3.85 3.22L12.33 14 8 11.43z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M5 11h6V5H5zm8-7.95A7 7 0 1 0 13 13a7 7 0 0 0 0-9.95zM12 12a5.6 5.6 0 0 1-8 0 5.61 5.61 0 0 1 0-8 5.6 5.6 0 0 1 8 0 5.61 5.61 0 0 1 0 8z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M0 2v13h16V2zm6 9V9h4v2zm4 1v1.6H6V12zM5 9v2H1.4V9zM1.4 8V6H5v2zM6 8V6h4v2zm0-3V3.4h4V5zM5 3.4V5H1.4V3.4zM1.4 12H5v1.6H1.4zm13.2 1.6H11V12h3.6zm0-2.6H11V9h3.6zm0-3H11V6h3.6zM11 5V3.4h3.6V5z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8 1H1v7l8 8 7-7zM2.4 7.42v-5h5L14 9l-5 5zM5 4a1.11 1.11 0 1 0 1.14 1.06A1.11 1.11 0 0 0 5 4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7.93 8.24L5.26 5.58 4 6.85l3.94 3.94L16 2.7l-1.26-1.27L13 3.17 11.2 5zm3.27 4H2.8V3.8H11L12.75 2H1v12h12V7.13l-1.8 1.8z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M6.3 7l3.85 6L14 7zM3 9V3h6v3h2V1H1v10h6.69L6.4 9zm3.6-4H8V4H4v1h1.42v1H6.6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M5.41 8h1.18V5H8V4H4v1h1.41zM1 1v10h10V1zm8 8H3V3h6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M10 11l1 1.58L13.13 16l1.26 2 .61 1 .61-1L18 14.19 20 11zm-6 5V4h12v6h2V2H2v16h11.21L12 16zm7-6V7.77h2V6H7v1.77h2V10z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M9 14h2V7.77h2V6H7v1.77h2zM2 2v16h16V2zm14 14H4V4h12z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M9.72 1.22v1.45a5.6 5.6 0 0 1 3.82 4.63H12v1.4h1.55a5.6 5.6 0 0 1-4.85 4.85V12H7.3v1.55A5.6 5.6 0 0 1 2.45 8.7H4V7.3H2.45a5.6 5.6 0 0 1 4.87-4.85V8h1.4V0H1v1.4h4.68a7 7 0 1 0 4-.18z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><defs><style>.icon-torrent{fill-rule:evenodd}</style></defs><path class=\\\"icon-torrent\\\" d=\\\"M3 5l4-4v4H3z\\\"></path><path class=\\\"icon-torrent\\\" d=\\\"M7 1L3 5h4zm1 0v5h-.88v2.7a.88.88 0 0 0 .88.88 1 1 0 0 0 .88-1V6h1.38v5.2a1.81 1.81 0 0 1-1.19-.82 2 2 0 0 1-1.95.13V13H5.73V6H3v9h10V1z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.86 13.27a.4.4 0 0 1-.39.33H5.53a.4.4 0 0 1-.39-.29L3.87 5H2.46l1.3 8.53A1.8 1.8 0 0 0 5.53 15h4.94a1.8 1.8 0 0 0 1.77-1.47L13.54 5h-1.41zM13.1 2.2H11A1.39 1.39 0 0 0 9.61 1H6.39A1.39 1.39 0 0 0 5 2.2H2.9a.9.9 0 0 0-.9.9V4h12v-.9a.9.9 0 0 0-.9-.9z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1 4v11h14V4zm12.6 9.6H2.4V5.4h11.2zM14 1.3H2v1.4h12zm-4.81 9.86L10 12l2.14-2.14a.61.61 0 0 0 0-.85L10 6.89l-.85.84 1.75 1.72zM6 12l.85-.85-1.75-1.7 1.71-1.72L6 6.89 3.82 9a.61.61 0 0 0 0 .85z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10 8l4-4-1.15-1.13a6.39 6.39 0 0 0-8.5-.44L3 1.08l-1 1 1.37 1.35a6.38 6.38 0 0 0 .49 8.43L5 13l4-4 3.08 3.08a.87.87 0 0 1 .25.62.9.9 0 0 1-.25.62.88.88 0 0 1-1.24 0l-1 1a2.28 2.28 0 0 0 3.16-3.2zM5.13 4.14A4.6 4.6 0 0 1 11.44 4L5 10.45a4.56 4.56 0 0 1 .13-6.31z\\\"></path></svg>\"","module.exports = \"<svg viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\" height=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M10.04 11.96c-.23 0-1.15-.53-1.48-.79-.11-.08-.37-.4-.5-.44-.1-.02-.31.24-.41.24-.09 0-.51-.27-.61-.24-.13.04-1.72 1.26-1.95 1.26-1.05 0-2.08-1.27-2.08-1.27-.06 2.87 2.6 4.51 3.06 4.86.38.28 2.77.28 3.15 0 .47-.35 2.67-2.85 2.82-4.93-.42.91-.96 1.31-2 1.31zM6.58 7.04c2.94-.02 5.66-.49 5.69-1.93.03-1.15-.64-2.5-1.24-3.41-.4-.62-.95-1.28-1.69-1.11-.7.16-1.19.87-1.91.99-.62.12-.88-.35-1.38-.61-.44-.22-.89-.16-1.24.22-.52.54-.83 1.3-1.07 2.04-.22.66-.67 1.53-.59 2.26.11.94 2.41 1.56 3.43 1.55zm6.34-2.39c1.62 2.98-3.85 3.62-6.34 3.57-1.8-.04-5.35-1.73-4.14-2.57-.99-.05-1.8.28-1.96 1.13C.27 7.9.88 8.56 2.1 9.12c1.51.72 3.39.7 5.11.75 2.11.07 4.34-.05 6.19-.91 1.05-.48 2.08-1.3 2.04-2.33-.04-1.01-1.27-1.98-2.52-1.98z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path class=\\\"cls-1\\\" d=\\\"M6 3.6V0L0 6l6 6V8c6-.27 7.53 3.76 7.88 5.77a.27.27 0 0 0 .53 0C17.08 2.86 6 3.6 6 3.6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7.35 9.8h1.28V8.56H7.35zM9.6 3.49A2.9 2.9 0 0 0 7.88 3a2.38 2.38 0 0 0-1.32.35 2.13 2.13 0 0 0-.91 1.84H7a1.36 1.36 0 0 1 .22-.73.83.83 0 0 1 .75-.35.85.85 0 0 1 .74.28 1.06 1.06 0 0 1 .2.64.91.91 0 0 1-.18.55 1.33 1.33 0 0 1-.26.27l-.34.26a1.91 1.91 0 0 0-.61.68 3.43 3.43 0 0 0-.14 1.06h1.21a1.66 1.66 0 0 1 .06-.54.93.93 0 0 1 .35-.48l.32-.25A3.29 3.29 0 0 0 10 6a1.62 1.62 0 0 0 .3-1 1.67 1.67 0 0 0-.7-1.51zM15 12V1H1v11h6.3v1.1H4v1.8h8v-1.8H8.7V12zM2.4 10.6V2.4h11.2v8.2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M15 6V1.76l-1.7 1.7A7 7 0 1 0 14.92 9h-1.41a5.63 5.63 0 1 1-1.2-4.55L10.76 6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M13.14 12H6.87A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h18a2.38 2.38 0 0 0 0-.46A5.72 5.72 0 0 0 13.14 12zM10 10a5 5 0 1 0-5-5 5 5 0 0 0 5 5z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M7.29 12h-.42A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h7.26A7 7 0 0 1 7 14a7.27 7.27 0 0 1 .29-2zm1.17-2.27A7 7 0 0 1 14 7a5.12 5.12 0 0 1 .56 0A4.93 4.93 0 0 0 15 5a5 5 0 1 0-6.54 4.73z\\\"></path><path class=\\\"secondary\\\" d=\\\"M14 8a6 6 0 1 0 6 6 6 6 0 0 0-6-6zm0 10.8a4.8 4.8 0 1 1 4.8-4.8 4.8 4.8 0 0 1-4.8 4.8zm3-6.8l-1-1-2 2-2-2-1 1 2 2-2 2 1 1 2-2 2 2 1-1-2-2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7 0a3.93 3.93 0 0 0-1 7.72A6 6 0 0 1 10.77 5a3.8 3.8 0 0 0 .17-1.07A3.93 3.93 0 0 0 7 0zM5.3 9.12h-.8a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 0 14h5.81A6 6 0 0 1 5 11a6.17 6.17 0 0 1 .3-1.88z\\\"></path><path class=\\\"secondary\\\" d=\\\"M14.54 7.46a5 5 0 1 0 0 7.08 5 5 0 0 0 0-7.08zm-.71 6.37a4 4 0 1 1 0-5.66 4 4 0 0 1 0 5.66zm-.94-5.63L11 10.09 9.11 8.2l-.91.91L10.09 11 8.2 12.89l.91.91L11 11.91l1.89 1.89.91-.91L11.91 11l1.89-1.89z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M7.29 12h-.42A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h7.26A7 7 0 0 1 7 14a7.27 7.27 0 0 1 .29-2zm1.17-2.27A7 7 0 0 1 14 7a5.12 5.12 0 0 1 .56 0A4.93 4.93 0 0 0 15 5a5 5 0 1 0-6.54 4.73z\\\"></path><path class=\\\"secondary\\\" d=\\\"M18.24 9.77a6 6 0 1 0 0 8.48 6 6 0 0 0 0-8.48zm-3.51 8.35h-1.46v-1.46h1.46zm0-3.05h-1.44l-.13-5.17h1.68z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7 0a3.93 3.93 0 0 0-1 7.72A6 6 0 0 1 10.77 5a3.8 3.8 0 0 0 .17-1.07A3.93 3.93 0 0 0 7 0zM5.3 9.12h-.8a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 0 14h5.81A6 6 0 0 1 5 11a6.17 6.17 0 0 1 .3-1.88z\\\"></path><path class=\\\"secondary\\\" d=\\\"M11 6a5 5 0 1 0 5 5 5 5 0 0 0-5-5zm.59 8.3h-1.18v-1.17h1.18zm0-2.45h-1.16l-.1-4.15h1.34z\\\"></path></svg>\"","module.exports = \"<svg width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7 7.88c2.18 0 3.94-1.76 3.94-3.94S9.18 0 7 0C4.83 0 3.06 1.76 3.06 3.94c0 2.17 1.77 3.94 3.94 3.94zm1.09 3.24a1.39 1.39 0 0 1 .26-1.6l.28-.27c.05-.05.12-.08.18-.12H4.5c-2.48.01-4.5 2.02-4.5 4.5 0 .12.01.25.03.38h7.95a1.36 1.36 0 0 1-.74-1.21v-.4c0-.57.35-1.07.85-1.28zm6.76.7h-.98c-.06-.19-.14-.36-.24-.53l.65-.65c.15-.15.15-.4 0-.55l-.27-.27a.392.392 0 0 0-.55 0l-.66.66c-.18-.1-.37-.18-.58-.23v-.86a.39.39 0 0 0-.39-.39h-.39a.39.39 0 0 0-.39.39v.85c-.22.06-.43.15-.63.26l-.54-.54a.392.392 0 0 0-.55 0l-.28.27c-.15.15-.15.4 0 .55l.56.56c-.12.21-.21.43-.26.67h-.72c-.22 0-.39.17-.39.39v.39c0 .21.17.39.39.39h.78c.07.23.18.45.31.65l-.53.53c-.15.15-.15.4 0 .55l.27.27c.15.15.4.15.55 0l.59-.59c.2.1.41.17.64.21v.81c0 .21.17.39.39.39h.39c.21 0 .39-.17.39-.39v-.91c.2-.07.38-.16.55-.28l.63.63c.15.15.4.15.55 0l.27-.27c.15-.15.15-.4 0-.55l-.69-.69c.08-.17.15-.35.19-.55h.93c.22 0 .39-.17.39-.39v-.39a.376.376 0 0 0-.38-.39zm-3.21 1.65a.97.97 0 1 1 .002-1.938.97.97 0 0 1-.002 1.938z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path class=\\\"secondary\\\" d=\\\"M12 7.52V10a4 4 0 0 0 .75 2.1 4.78 4.78 0 0 0 .47.54l.09.07a3.48 3.48 0 0 0 .48.38 2.39 2.39 0 0 0 .22.12 3.55 3.55 0 0 0 .43.23 3.1 3.1 0 0 0 .4.13l.33.1a4.07 4.07 0 0 0 .79.08 4 4 0 0 0 .78-.08l.33-.1a3.1 3.1 0 0 0 .4-.13 3.55 3.55 0 0 0 .43-.23 2.39 2.39 0 0 0 .22-.12 4.3 4.3 0 0 0 .49-.38l.08-.07a4 4 0 0 0 .47-.54A4 4 0 0 0 20 10V7.52zm6.72 2.25V10H13.3V8.77h5.47zm-2.73 4a4 4 0 0 0-4 4V20h8v-2.25A4 4 0 0 0 16 13.77zm2.73 5h-5.44v-1a2.74 2.74 0 0 1 5.47 0z\\\"></path><path d=\\\"M12.59 13.37a4.76 4.76 0 0 1-.55-.62v-.05a4.89 4.89 0 0 1-.42-.69H6.87A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h10v-.25a5 5 0 0 1 2-4 4.26 4.26 0 0 1-.35-.28zM10 0a5 5 0 0 0 0 10 5.1 5.1 0 0 0 1-.11V6.52h3.71A5.1 5.1 0 0 0 15 5a5 5 0 0 0-5-5z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M8.87 9.12H4.5a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 0 14h8.65a4.13 4.13 0 0 1 1.48-3 4.21 4.21 0 0 1-1.26-1.88zM7 7.88a4 4 0 0 0 1.62-.36V5h2.16a4.12 4.12 0 0 0 .16-1.06A3.94 3.94 0 1 0 7 7.88z\\\"></path><path class=\\\"secondary\\\" d=\\\"M12.81 11a3.21 3.21 0 0 0-3.19 3.2V16H16v-1.8a3.2 3.2 0 0 0-3.19-3.2zM15 15h-4.38v-.8a2.19 2.19 0 0 1 4.38 0zM9.62 6v1.98a3.16 3.16 0 0 0 .6 1.68 3 3 0 0 0 .37.43l.07.06a2.88 2.88 0 0 0 .39.3l.18.1a3.65 3.65 0 0 0 .34.18l.32.1.26.08a3.36 3.36 0 0 0 .63.06 3.21 3.21 0 0 0 .63-.06l.26-.08.32-.1a3.84 3.84 0 0 0 .35-.18 1 1 0 0 0 .17-.1 2.88 2.88 0 0 0 .39-.3l.07-.06a3.08 3.08 0 0 0 .38-.43A3.16 3.16 0 0 0 16 8V6zM15 7.82A1.1 1.1 0 0 1 15 8h-4.36V7H15z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M7.29 12h-.42A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h7.26A7 7 0 0 1 7 14a7.27 7.27 0 0 1 .29-2zm1.17-2.27A7 7 0 0 1 14 7a5.12 5.12 0 0 1 .56 0A4.93 4.93 0 0 0 15 5a5 5 0 1 0-6.54 4.73z\\\"></path><path class=\\\"secondary\\\" d=\\\"M14 8a6 6 0 1 0 6 6 6 6 0 0 0-6-6zm0 10.8a4.8 4.8 0 1 1 3.67-7.86l-4 4.05-2-2.21-1 .94 3 3.29 4.81-4.85A4.72 4.72 0 0 1 18.8 14a4.8 4.8 0 0 1-4.8 4.8z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M5.3 9.12h-.8a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 0 14h5.81A6 6 0 0 1 5 11a6.17 6.17 0 0 1 .3-1.88zM7 0a3.93 3.93 0 0 0-1 7.72A6 6 0 0 1 10.77 5a3.8 3.8 0 0 0 .17-1.07A3.93 3.93 0 0 0 7 0z\\\"></path><path class=\\\"secondary\\\" d=\\\"M15.62 12.91a4.32 4.32 0 0 0 .16-.51c0-.14.09-.27.12-.42a4.59 4.59 0 0 0 .1-1 4.59 4.59 0 0 0-.1-1c0-.15-.08-.28-.12-.42a4.32 4.32 0 0 0-.16-.51 3.5 3.5 0 0 0-.25-.47c-.07-.13-.13-.27-.21-.39a4.57 4.57 0 0 0-.62-.76 5 5 0 0 0-.76-.62c-.12-.08-.26-.14-.39-.21a3.5 3.5 0 0 0-.47-.25 4.32 4.32 0 0 0-.51-.16c-.14 0-.27-.09-.42-.12a4.85 4.85 0 0 0-2 0c-.15 0-.28.08-.42.12a4.32 4.32 0 0 0-.51.16 3.5 3.5 0 0 0-.47.25c-.13.07-.27.13-.39.21a5 5 0 0 0-.76.62 4.57 4.57 0 0 0-.62.76c-.08.12-.14.26-.21.39a5.19 5.19 0 0 0-.25.47 2.88 2.88 0 0 0-.15.5 3.52 3.52 0 0 0-.11.45 4.59 4.59 0 0 0-.1 1 4.59 4.59 0 0 0 .1 1 3.52 3.52 0 0 0 .13.43 4.13 4.13 0 0 0 .15.5c.07.17.17.32.25.48s.13.26.21.38a5.11 5.11 0 0 0 1.39 1.39c.12.08.26.14.38.21s.31.18.48.25a4.13 4.13 0 0 0 .5.15 3.52 3.52 0 0 0 .43.13 4.85 4.85 0 0 0 2 0 3.52 3.52 0 0 0 .43-.13 4.13 4.13 0 0 0 .5-.15c.17-.07.32-.17.48-.25s.26-.13.38-.21a5.11 5.11 0 0 0 1.39-1.39c.08-.12.14-.26.21-.39a5.19 5.19 0 0 0 .21-.49zm-.69-1.18a1.94 1.94 0 0 0 0 .2 3.27 3.27 0 0 1-.17.53 1 1 0 0 1-.09.21 2.94 2.94 0 0 1-.25.46l-.09.15a4 4 0 0 1-1.66 1.37h-.07a5.44 5.44 0 0 1-.61.19h-.14A4 4 0 0 1 11 15a4 4 0 0 1-.78-.08h-.14a5.44 5.44 0 0 1-.61-.19H9.4A4 4 0 0 1 8 13.56c-.09-.11-.19-.22-.27-.34s-.13-.24-.2-.36a2.59 2.59 0 0 1-.17-.33c0-.12-.08-.24-.12-.36a2.85 2.85 0 0 1-.11-.39v-.44-.67-.45a2.85 2.85 0 0 1 .11-.39c0-.12.07-.24.12-.36a2.59 2.59 0 0 1 .17-.33 2.53 2.53 0 0 1 .2-.36A3 3 0 0 1 8 8.45a4 4 0 0 1 1.4-1.11 4.44 4.44 0 0 1 .62-.19h.13a4 4 0 0 1 1.6 0h.13a4.44 4.44 0 0 1 .62.19A4 4 0 0 1 14 8.41l-3.31 3.31-1.42-1.6-.93.88 2.33 2.59 4-4.05a3.09 3.09 0 0 1 .18.59v.27a3.27 3.27 0 0 1 0 .44 2.81 2.81 0 0 1 0 .29 6 6 0 0 1 .08.6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M7.29 12h-.42A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h7.26A7 7 0 0 1 7 14a7.27 7.27 0 0 1 .29-2zm1.17-2.27A7 7 0 0 1 14 7a5.12 5.12 0 0 1 .56 0A4.93 4.93 0 0 0 15 5a5 5 0 1 0-6.54 4.73z\\\"></path><path class=\\\"secondary\\\" d=\\\"M14 18.2a4.2 4.2 0 0 1 0-8.4V8a6 6 0 1 0 6 6h-1.8a4.2 4.2 0 0 1-4.2 4.2z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M7 0a3.93 3.93 0 0 0-1 7.72A6 6 0 0 1 10.77 5a3.8 3.8 0 0 0 .17-1.07A3.93 3.93 0 0 0 7 0zM5.3 9.12h-.8a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 0 14h5.81A6 6 0 0 1 5 11a6.17 6.17 0 0 1 .3-1.88z\\\"></path><path class=\\\"secondary\\\" d=\\\"M14.6 11a3.6 3.6 0 1 1-3.66-3.59V6A5 5 0 1 0 16 11h-1.4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path class=\\\"secondary\\\" d=\\\"M19.85 18.48L13.74 8.41a.84.84 0 0 0-1.45 0L6.14 18.54c-.33.55-.06 1.46.59 1.46H19.3c.7 0 .88-1 .55-1.52zm-6.11.32h-1.49v-1.46h1.49zm0-3.06h-1.47l-.13-5.17h1.71z\\\"></path><path d=\\\"M10 10h.16l1.27-2.09a1.85 1.85 0 0 1 2.87-.37A5 5 0 1 0 10 10zm-3.13 2A5.73 5.73 0 0 0 1 17.54 2.38 2.38 0 0 0 1 18h4.3l3.64-6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path class=\\\"secondary\\\" d=\\\"M15.88 14.78l-4.8-8.08a.66.66 0 0 0-1.14 0l-4.83 8.13c-.26.44-.05 1.17.46 1.17h9.88c.55 0 .69-.78.43-1.22zm-4.8.25H9.91v-1.17h1.17zm0-2.44H9.92l-.1-4.15h1.35z\\\"></path><path d=\\\"M4.5 9.12a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 0 14h4.44l2.9-4.88zM7 7.88a4 4 0 0 0 1.2-.21l.88-1.48a1.64 1.64 0 0 1 1.43-.81h.14a3.93 3.93 0 1 0-7.59-1.44A4 4 0 0 0 7 7.88z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M10.31 9.12H5.5a4.52 4.52 0 0 0-4.5 4.5A2.34 2.34 0 0 0 1 14h13.78a2.34 2.34 0 0 0 0-.38 4.51 4.51 0 0 0-4.47-4.5zM8 7.88a3.94 3.94 0 1 0-3.94-3.94A3.94 3.94 0 0 0 8 7.88z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M6.3 7l3.85 6L14 7zM3 9V3h6v3h2V1H1v10h6.67L6.38 9zm5-3V4H7v2zM4 4v2.24l1.7 1.7.6-.94L5 5.77V4z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M8 6.22V4H7v1.75l-1 1-1-1V4H4v2.22l2 2zM1 1v10h10V1zm8 8H3V3h6z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M4 16V4h12v6h2V2H2v16h11.21L12 16zm6-5l3.13 5 1.26 2 .61 1 .61-1L18 14.19 20 11zM8 6H6v4l3 4h2l-3-4V6zm3.45 4H14V6h-2v3.21z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M14 10V6h-2v3.21L10 12 8 9.21V6H6v4l3 4h2zM2 2v16h16V2zm14 14H4V4h12z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1 15h1.8V6H1zm12.6-9.38H10L10.64 4a3.31 3.31 0 0 0 .21-1.76 2.72 2.72 0 0 0-.64-1.37 2.77 2.77 0 0 0-.67-.56A1.17 1.17 0 0 0 8.65 0 1 1 0 0 0 8 .66c-.11.29-.22.59-.34.88l-.57 1.4L4 6v9h7.11a1.82 1.82 0 0 0 1.61-1l1.94-3.68A3 3 0 0 0 15 8.94V7.07a1.42 1.42 0 0 0-1.39-1.45zm0 3.32a1.58 1.58 0 0 1-.18.73l-1.93 3.68a.46.46 0 0 1-.38.25H5.4v-7l2.67-2.67a1.37 1.37 0 0 0 .3-.45c.13-.29.44-1 .72-1.76a1.46 1.46 0 0 1 .26 1.7L8 7l5.6.05z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M1 15h1.8V6H1zm12.6-9.38H10L10.64 4a3.31 3.31 0 0 0 .21-1.76 2.72 2.72 0 0 0-.64-1.37 2.77 2.77 0 0 0-.67-.56A1.17 1.17 0 0 0 8.65 0 1 1 0 0 0 8 .66c-.11.29-.22.59-.34.88l-.57 1.4L4 6v9h7.11a1.82 1.82 0 0 0 1.61-1l1.94-3.68A3 3 0 0 0 15 8.94V7.07a1.42 1.42 0 0 0-1.39-1.45z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"14\\\" height=\\\"14\\\" viewBox=\\\"0 0 14 14\\\"><path d=\\\"M11.87 9.61L6.64.37a.72.72 0 0 0-1.25 0L.12 9.66c-.28.51 0 1.34.51 1.34H11.4c.6 0 .76-.89.47-1.39zm-5.24.29H5.35V8.56h1.28zm0-2.8H5.37l-.11-4.74h1.47z\\\"></path></svg>\"","module.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"20\\\" height=\\\"20\\\" viewBox=\\\"0 0 20 20\\\"><path d=\\\"M19.79 16.72L11.06 1.61a1.19 1.19 0 0 0-2.06 0L.2 16.81c-.47.83-.08 2.19.85 2.19H19c.92 0 1.26-1.45.79-2.28zM11 17H9v-2h2zm0-4H9l-.24-8h2.45z\\\"></path></svg>\"","module.exports = \"<svg height=\\\"16\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M2 2v2h12V2zm0 12h2v-2H2zm8.5-7H2v2h8.5a1.5 1.5 0 0 1 0 3H8v-1.65L5 13l3 2.68V14h2.5a3.5 3.5 0 0 0 0-7z\\\"></path></svg>\"","module.exports = require('./lib/uuid-node');","/* eslint-env node, browser */\n'use strict'\n\nmodule.exports = function (element, options) {\n var self = this\n var Combokeys = self.constructor\n\n /**\n * an object of passed options\n *\n * @type { storeInstancesGlobally?: true }\n */\n\n self.options = Object.assign({ storeInstancesGlobally: true }, options || {})\n\n /**\n * a list of all the callbacks setup via Combokeys.bind()\n *\n * @type {Object}\n */\n self.callbacks = {}\n\n /**\n * direct map of string combinations to callbacks used for trigger()\n *\n * @type {Object}\n */\n self.directMap = {}\n\n /**\n * keeps track of what level each sequence is at since multiple\n * sequences can start out with the same sequence\n *\n * @type {Object}\n */\n self.sequenceLevels = {}\n\n /**\n * variable to store the setTimeout call\n *\n * @type {null|number}\n */\n self.resetTimer = null\n\n /**\n * temporary state where we will ignore the next keyup\n *\n * @type {boolean|string}\n */\n self.ignoreNextKeyup = false\n\n /**\n * temporary state where we will ignore the next keypress\n *\n * @type {boolean}\n */\n self.ignoreNextKeypress = false\n\n /**\n * are we currently inside of a sequence?\n * type of action (\"keyup\" or \"keydown\" or \"keypress\") or false\n *\n * @type {boolean|string}\n */\n self.nextExpectedAction = false\n\n self.element = element\n\n self.addEvents()\n\n if (self.options.storeInstancesGlobally) {\n Combokeys.instances.push(self)\n }\n\n return self\n}\n\nmodule.exports.prototype.bind = require('./prototype/bind')\nmodule.exports.prototype.bindMultiple = require('./prototype/bindMultiple')\nmodule.exports.prototype.unbind = require('./prototype/unbind')\nmodule.exports.prototype.trigger = require('./prototype/trigger')\nmodule.exports.prototype.reset = require('./prototype/reset.js')\nmodule.exports.prototype.stopCallback = require('./prototype/stopCallback')\nmodule.exports.prototype.handleKey = require('./prototype/handleKey')\nmodule.exports.prototype.addEvents = require('./prototype/addEvents')\nmodule.exports.prototype.bindSingle = require('./prototype/bindSingle')\nmodule.exports.prototype.getKeyInfo = require('./prototype/getKeyInfo')\nmodule.exports.prototype.pickBestAction = require('./prototype/pickBestAction')\nmodule.exports.prototype.getReverseMap = require('./prototype/getReverseMap')\nmodule.exports.prototype.getMatches = require('./prototype/getMatches')\nmodule.exports.prototype.resetSequences = require('./prototype/resetSequences')\nmodule.exports.prototype.fireCallback = require('./prototype/fireCallback')\nmodule.exports.prototype.bindSequence = require('./prototype/bindSequence')\nmodule.exports.prototype.resetSequenceTimer = require('./prototype/resetSequenceTimer')\nmodule.exports.prototype.detach = require('./prototype/detach')\n\nmodule.exports.instances = []\nmodule.exports.reset = require('./reset')\n\n/**\n * variable to store the flipped version of MAP from above\n * needed to check if we should use keypress or not when no action\n * is specified\n *\n * @type {Object|undefined}\n */\nmodule.exports.REVERSE_MAP = null\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./tab-trap.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Generated by CoffeeScript 1.9.1\n(function() {\n 'use strict';\n var getScrollbarWidth, scrollbarWidth;\n\n scrollbarWidth = null;\n\n getScrollbarWidth = function(recalculate) {\n var div1, div2;\n if (recalculate == null) {\n recalculate = false;\n }\n if ((scrollbarWidth != null) && !recalculate) {\n return scrollbarWidth;\n }\n if (document.readyState === 'loading') {\n return null;\n }\n div1 = document.createElement('div');\n div2 = document.createElement('div');\n div1.style.width = div2.style.width = div1.style.height = div2.style.height = '100px';\n div1.style.overflow = 'scroll';\n div2.style.overflow = 'hidden';\n document.body.appendChild(div1);\n document.body.appendChild(div2);\n scrollbarWidth = Math.abs(div1.scrollHeight - div2.scrollHeight);\n document.body.removeChild(div1);\n document.body.removeChild(div2);\n return scrollbarWidth;\n };\n\n if (typeof define === 'function' && define.amd) {\n define([], function() {\n return getScrollbarWidth;\n });\n } else if (typeof exports !== 'undefined') {\n module.exports = getScrollbarWidth;\n } else {\n this.getScrollbarWidth = getScrollbarWidth;\n }\n\n}).call(this);\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./button-group-ng.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./button-set.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./button-toolbar.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","module.exports = function(hljs) {\n function optional(s) {\n return '(?:' + s + ')?';\n }\n var DECLTYPE_AUTO_RE = 'decltype\\\\(auto\\\\)'\n var NAMESPACE_RE = '[a-zA-Z_]\\\\w*::'\n var TEMPLATE_ARGUMENT_RE = '<.*?>';\n var FUNCTION_TYPE_RE = '(' +\n DECLTYPE_AUTO_RE + '|' +\n optional(NAMESPACE_RE) +'[a-zA-Z_]\\\\w*' + optional(TEMPLATE_ARGUMENT_RE) +\n ')';\n var CPP_PRIMITIVE_TYPES = {\n className: 'keyword',\n begin: '\\\\b[a-z\\\\d_]*_t\\\\b'\n };\n\n // https://en.cppreference.com/w/cpp/language/escape\n // \\\\ \\x \\xFF \\u2837 \\u00323747 \\374\n var CHARACTER_ESCAPES = '\\\\\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\\\S)'\n var STRINGS = {\n className: 'string',\n variants: [\n {\n begin: '(u8?|U|L)?\"', end: '\"',\n illegal: '\\\\n',\n contains: [hljs.BACKSLASH_ESCAPE]\n },\n {\n begin: '(u8?|U|L)?\\'(' + CHARACTER_ESCAPES + \"|.)\", end: '\\'',\n illegal: '.'\n },\n { begin: /(?:u8?|U|L)?R\"([^()\\\\ ]{0,16})\\((?:.|\\n)*?\\)\\1\"/ }\n ]\n };\n\n var NUMBERS = {\n className: 'number',\n variants: [\n { begin: '\\\\b(0b[01\\']+)' },\n { begin: '(-?)\\\\b([\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)(u|U|l|L|ul|UL|f|F|b|B)' },\n { begin: '(-?)(\\\\b0[xX][a-fA-F0-9\\']+|(\\\\b[\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)([eE][-+]?[\\\\d\\']+)?)' }\n ],\n relevance: 0\n };\n\n var PREPROCESSOR = {\n className: 'meta',\n begin: /#\\s*[a-z]+\\b/, end: /$/,\n keywords: {\n 'meta-keyword':\n 'if else elif endif define undef warning error line ' +\n 'pragma _Pragma ifdef ifndef include'\n },\n contains: [\n {\n begin: /\\\\\\n/, relevance: 0\n },\n hljs.inherit(STRINGS, {className: 'meta-string'}),\n {\n className: 'meta-string',\n begin: /<.*?>/, end: /$/,\n illegal: '\\\\n',\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n };\n\n var TITLE_MODE = {\n className: 'title',\n begin: optional(NAMESPACE_RE) + hljs.IDENT_RE,\n relevance: 0\n };\n\n var FUNCTION_TITLE = optional(NAMESPACE_RE) + hljs.IDENT_RE + '\\\\s*\\\\(';\n\n var CPP_KEYWORDS = {\n keyword: 'int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof ' +\n 'dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace ' +\n 'unsigned long volatile static protected bool template mutable if public friend ' +\n 'do goto auto void enum else break extern using asm case typeid wchar_t' +\n 'short reinterpret_cast|10 default double register explicit signed typename try this ' +\n 'switch continue inline delete alignas alignof constexpr consteval constinit decltype ' +\n 'concept co_await co_return co_yield requires ' +\n 'noexcept static_assert thread_local restrict final override ' +\n 'atomic_bool atomic_char atomic_schar ' +\n 'atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong ' +\n 'atomic_ullong new throw return ' +\n 'and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq',\n built_in: 'std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream ' +\n 'auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set ' +\n 'unordered_map unordered_multiset unordered_multimap array shared_ptr abort terminate abs acos ' +\n 'asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp ' +\n 'fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper ' +\n 'isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow ' +\n 'printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp ' +\n 'strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan ' +\n 'vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary',\n literal: 'true false nullptr NULL'\n };\n\n var EXPRESSION_CONTAINS = [\n CPP_PRIMITIVE_TYPES,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n NUMBERS,\n STRINGS\n ];\n\n var EXPRESSION_CONTEXT = {\n // This mode covers expression context where we can't expect a function\n // definition and shouldn't highlight anything that looks like one:\n // `return some()`, `else if()`, `(x*sum(1, 2))`\n variants: [\n {begin: /=/, end: /;/},\n {begin: /\\(/, end: /\\)/},\n {beginKeywords: 'new throw return else', end: /;/}\n ],\n keywords: CPP_KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat([\n {\n begin: /\\(/, end: /\\)/,\n keywords: CPP_KEYWORDS,\n contains: EXPRESSION_CONTAINS.concat(['self']),\n relevance: 0\n }\n ]),\n relevance: 0\n };\n\n var FUNCTION_DECLARATION = {\n className: 'function',\n begin: '(' + FUNCTION_TYPE_RE + '[\\\\*&\\\\s]+)+' + FUNCTION_TITLE,\n returnBegin: true, end: /[{;=]/,\n excludeEnd: true,\n keywords: CPP_KEYWORDS,\n illegal: /[^\\w\\s\\*&:<>]/,\n contains: [\n\n { // to prevent it from being confused as the function title\n begin: DECLTYPE_AUTO_RE,\n keywords: CPP_KEYWORDS,\n relevance: 0,\n },\n {\n begin: FUNCTION_TITLE, returnBegin: true,\n contains: [TITLE_MODE],\n relevance: 0\n },\n {\n className: 'params',\n begin: /\\(/, end: /\\)/,\n keywords: CPP_KEYWORDS,\n relevance: 0,\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n CPP_PRIMITIVE_TYPES,\n // Count matching parentheses.\n {\n begin: /\\(/, end: /\\)/,\n keywords: CPP_KEYWORDS,\n relevance: 0,\n contains: [\n 'self',\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRINGS,\n NUMBERS,\n CPP_PRIMITIVE_TYPES\n ]\n }\n ]\n },\n CPP_PRIMITIVE_TYPES,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n PREPROCESSOR\n ]\n };\n\n return {\n aliases: ['c', 'cc', 'h', 'c++', 'h++', 'hpp', 'hh', 'hxx', 'cxx'],\n keywords: CPP_KEYWORDS,\n illegal: '</',\n contains: [].concat(\n EXPRESSION_CONTEXT,\n FUNCTION_DECLARATION,\n EXPRESSION_CONTAINS,\n [\n PREPROCESSOR,\n {\n begin: '\\\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\\\s*<', end: '>',\n keywords: CPP_KEYWORDS,\n contains: ['self', CPP_PRIMITIVE_TYPES]\n },\n {\n begin: hljs.IDENT_RE + '::',\n keywords: CPP_KEYWORDS\n },\n {\n className: 'class',\n beginKeywords: 'class struct', end: /[{;:]/,\n contains: [\n {begin: /</, end: />/, contains: ['self']}, // skip generic stuff\n hljs.TITLE_MODE\n ]\n }\n ]),\n exports: {\n preprocessor: PREPROCESSOR,\n strings: STRINGS,\n keywords: CPP_KEYWORDS\n }\n };\n};","module.exports = function(hljs) {\n var XML_IDENT_RE = '[A-Za-z0-9\\\\._:-]+';\n var XML_ENTITIES = {\n className: 'symbol',\n begin: '&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;'\n };\n var XML_META_KEYWORDS = {\n\t begin: '\\\\s',\n\t contains:[\n\t {\n\t className: 'meta-keyword',\n\t begin: '#?[a-z_][a-z1-9_-]+',\n\t illegal: '\\\\n',\n }\n\t ]\n };\n var XML_META_PAR_KEYWORDS = hljs.inherit(XML_META_KEYWORDS, {begin: '\\\\(', end: '\\\\)'});\n var APOS_META_STRING_MODE = hljs.inherit(hljs.APOS_STRING_MODE, {className: 'meta-string'});\n var QUOTE_META_STRING_MODE = hljs.inherit(hljs.QUOTE_STRING_MODE, {className: 'meta-string'});\n var TAG_INTERNALS = {\n endsWithParent: true,\n illegal: /</,\n relevance: 0,\n contains: [\n {\n className: 'attr',\n begin: XML_IDENT_RE,\n relevance: 0\n },\n {\n begin: /=\\s*/,\n relevance: 0,\n contains: [\n {\n className: 'string',\n endsParent: true,\n variants: [\n {begin: /\"/, end: /\"/, contains: [XML_ENTITIES]},\n {begin: /'/, end: /'/, contains: [XML_ENTITIES]},\n {begin: /[^\\s\"'=<>`]+/}\n ]\n }\n ]\n }\n ]\n };\n return {\n aliases: ['html', 'xhtml', 'rss', 'atom', 'xjb', 'xsd', 'xsl', 'plist', 'wsf', 'svg'],\n case_insensitive: true,\n contains: [\n {\n className: 'meta',\n begin: '<![a-z]', end: '>',\n relevance: 10,\n contains: [\n\t\t\t\t XML_META_KEYWORDS,\n\t\t\t\t QUOTE_META_STRING_MODE,\n\t\t\t\t APOS_META_STRING_MODE,\n\t\t\t\t\tXML_META_PAR_KEYWORDS,\n\t\t\t\t\t{\n\t\t\t\t\t begin: '\\\\[', end: '\\\\]',\n\t\t\t\t\t contains:[\n\t\t\t\t\t\t {\n\t\t\t\t\t className: 'meta',\n\t\t\t\t\t begin: '<![a-z]', end: '>',\n\t\t\t\t\t contains: [\n\t\t\t\t\t XML_META_KEYWORDS,\n\t\t\t\t\t XML_META_PAR_KEYWORDS,\n\t\t\t\t\t QUOTE_META_STRING_MODE,\n\t\t\t\t\t APOS_META_STRING_MODE\n\t\t\t\t\t\t ]\n\t\t\t }\n\t\t\t\t\t ]\n\t\t\t\t }\n\t\t\t\t]\n },\n hljs.COMMENT(\n '<!--',\n '-->',\n {\n relevance: 10\n }\n ),\n {\n begin: '<\\\\!\\\\[CDATA\\\\[', end: '\\\\]\\\\]>',\n relevance: 10\n },\n XML_ENTITIES,\n {\n className: 'meta',\n begin: /<\\?xml/, end: /\\?>/, relevance: 10\n },\n {\n begin: /<\\?(php)?/, end: /\\?>/,\n subLanguage: 'php',\n contains: [\n // We don't want the php closing tag ?> to close the PHP block when\n // inside any of the following blocks:\n {begin: '/\\\\*', end: '\\\\*/', skip: true},\n {begin: 'b\"', end: '\"', skip: true},\n {begin: 'b\\'', end: '\\'', skip: true},\n hljs.inherit(hljs.APOS_STRING_MODE, {illegal: null, className: null, contains: null, skip: true}),\n hljs.inherit(hljs.QUOTE_STRING_MODE, {illegal: null, className: null, contains: null, skip: true})\n ]\n },\n {\n className: 'tag',\n /*\n The lookahead pattern (?=...) ensures that 'begin' only matches\n '<style' as a single word, followed by a whitespace or an\n ending braket. The '$' is needed for the lexeme to be recognized\n by hljs.subMode() that tests lexemes outside the stream.\n */\n begin: '<style(?=\\\\s|>)', end: '>',\n keywords: {name: 'style'},\n contains: [TAG_INTERNALS],\n starts: {\n end: '</style>', returnEnd: true,\n subLanguage: ['css', 'xml']\n }\n },\n {\n className: 'tag',\n // See the comment in the <style tag about the lookahead pattern\n begin: '<script(?=\\\\s|>)', end: '>',\n keywords: {name: 'script'},\n contains: [TAG_INTERNALS],\n starts: {\n end: '\\<\\/script\\>', returnEnd: true,\n subLanguage: ['actionscript', 'javascript', 'handlebars', 'xml']\n }\n },\n {\n className: 'tag',\n begin: '</?', end: '/?>',\n contains: [\n {\n className: 'name', begin: /[^\\/><\\s]+/, relevance: 0\n },\n TAG_INTERNALS\n ]\n }\n ]\n };\n};","module.exports = function(hljs) {\n var VAR = {\n className: 'variable',\n variants: [\n {begin: /\\$[\\w\\d#@][\\w\\d_]*/},\n {begin: /\\$\\{(.*?)}/}\n ]\n };\n var QUOTE_STRING = {\n className: 'string',\n begin: /\"/, end: /\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VAR,\n {\n className: 'variable',\n begin: /\\$\\(/, end: /\\)/,\n contains: [hljs.BACKSLASH_ESCAPE]\n }\n ]\n };\n var ESCAPED_QUOTE = {\n className: '',\n begin: /\\\\\"/\n\n };\n var APOS_STRING = {\n className: 'string',\n begin: /'/, end: /'/\n };\n\n return {\n aliases: ['sh', 'zsh'],\n lexemes: /\\b-?[a-z\\._]+\\b/,\n keywords: {\n keyword:\n 'if then else elif fi for while in do done case esac function',\n literal:\n 'true false',\n built_in:\n // Shell built-ins\n // http://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html\n 'break cd continue eval exec exit export getopts hash pwd readonly return shift test times ' +\n 'trap umask unset ' +\n // Bash built-ins\n 'alias bind builtin caller command declare echo enable help let local logout mapfile printf ' +\n 'read readarray source type typeset ulimit unalias ' +\n // Shell modifiers\n 'set shopt ' +\n // Zsh built-ins\n 'autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles ' +\n 'compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate ' +\n 'fc fg float functions getcap getln history integer jobs kill limit log noglob popd print ' +\n 'pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit ' +\n 'unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof ' +\n 'zpty zregexparse zsocket zstyle ztcp',\n _:\n '-ne -eq -lt -gt -f -d -e -s -l -a' // relevance booster\n },\n contains: [\n {\n className: 'meta',\n begin: /^#![^\\n]+sh\\s*$/,\n relevance: 10\n },\n {\n className: 'function',\n begin: /\\w[\\w\\d_]*\\s*\\(\\s*\\)\\s*\\{/,\n returnBegin: true,\n contains: [hljs.inherit(hljs.TITLE_MODE, {begin: /\\w[\\w\\d_]*/})],\n relevance: 0\n },\n hljs.HASH_COMMENT_MODE,\n QUOTE_STRING,\n ESCAPED_QUOTE,\n APOS_STRING,\n VAR\n ]\n };\n};","module.exports = function(hljs) {\n var keywords = {\n 'builtin-name':\n // Clojure keywords\n 'def defonce cond apply if-not if-let if not not= = < > <= >= == + / * - rem '+\n 'quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? '+\n 'set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? '+\n 'class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? '+\n 'string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . '+\n 'inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last '+\n 'drop-while while intern condp case reduced cycle split-at split-with repeat replicate '+\n 'iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext '+\n 'nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends '+\n 'add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler '+\n 'set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter '+\n 'monitor-exit defmacro defn defn- macroexpand macroexpand-1 for dosync and or '+\n 'when when-not when-let comp juxt partial sequence memoize constantly complement identity assert '+\n 'peek pop doto proxy defstruct first rest cons defprotocol cast coll deftype defrecord last butlast '+\n 'sigs reify second ffirst fnext nfirst nnext defmulti defmethod meta with-meta ns in-ns create-ns import '+\n 'refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! '+\n 'assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger '+\n 'bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline '+\n 'flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking '+\n 'assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! '+\n 'reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! '+\n 'new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty '+\n 'hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list '+\n 'disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer '+\n 'chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate '+\n 'unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta '+\n 'lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize'\n };\n\n var SYMBOLSTART = 'a-zA-Z_\\\\-!.?+*=<>&#\\'';\n var SYMBOL_RE = '[' + SYMBOLSTART + '][' + SYMBOLSTART + '0-9/;:]*';\n var SIMPLE_NUMBER_RE = '[-+]?\\\\d+(\\\\.\\\\d+)?';\n\n var SYMBOL = {\n begin: SYMBOL_RE,\n relevance: 0\n };\n var NUMBER = {\n className: 'number', begin: SIMPLE_NUMBER_RE,\n relevance: 0\n };\n var STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, {illegal: null});\n var COMMENT = hljs.COMMENT(\n ';',\n '$',\n {\n relevance: 0\n }\n );\n var LITERAL = {\n className: 'literal',\n begin: /\\b(true|false|nil)\\b/\n };\n var COLLECTION = {\n begin: '[\\\\[\\\\{]', end: '[\\\\]\\\\}]'\n };\n var HINT = {\n className: 'comment',\n begin: '\\\\^' + SYMBOL_RE\n };\n var HINT_COL = hljs.COMMENT('\\\\^\\\\{', '\\\\}');\n var KEY = {\n className: 'symbol',\n begin: '[:]{1,2}' + SYMBOL_RE\n };\n var LIST = {\n begin: '\\\\(', end: '\\\\)'\n };\n var BODY = {\n endsWithParent: true,\n relevance: 0\n };\n var NAME = {\n keywords: keywords,\n lexemes: SYMBOL_RE,\n className: 'name', begin: SYMBOL_RE,\n starts: BODY\n };\n var DEFAULT_CONTAINS = [LIST, STRING, HINT, HINT_COL, COMMENT, KEY, COLLECTION, NUMBER, LITERAL, SYMBOL];\n\n LIST.contains = [hljs.COMMENT('comment', ''), NAME, BODY];\n BODY.contains = DEFAULT_CONTAINS;\n COLLECTION.contains = DEFAULT_CONTAINS;\n HINT_COL.contains = [COLLECTION];\n\n return {\n aliases: ['clj'],\n illegal: /\\S/,\n contains: [LIST, STRING, HINT, HINT_COL, COMMENT, KEY, COLLECTION, NUMBER, LITERAL]\n }\n};","module.exports = function(hljs) {\n var KEYWORDS = {\n keyword:\n // JS keywords\n 'in if for while finally new do return else break catch instanceof throw try this ' +\n 'switch continue typeof delete debugger super yield import export from as default await ' +\n // Coffee keywords\n 'then unless until loop of by when and or is isnt not',\n literal:\n // JS literals\n 'true false null undefined ' +\n // Coffee literals\n 'yes no on off',\n built_in:\n 'npm require console print module global window document'\n };\n var JS_IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';\n var SUBST = {\n className: 'subst',\n begin: /#\\{/, end: /}/,\n keywords: KEYWORDS\n };\n var EXPRESSIONS = [\n hljs.BINARY_NUMBER_MODE,\n hljs.inherit(hljs.C_NUMBER_MODE, {starts: {end: '(\\\\s*/)?', relevance: 0}}), // a number tries to eat the following slash to prevent treating it as a regexp\n {\n className: 'string',\n variants: [\n {\n begin: /'''/, end: /'''/,\n contains: [hljs.BACKSLASH_ESCAPE]\n },\n {\n begin: /'/, end: /'/,\n contains: [hljs.BACKSLASH_ESCAPE]\n },\n {\n begin: /\"\"\"/, end: /\"\"\"/,\n contains: [hljs.BACKSLASH_ESCAPE, SUBST]\n },\n {\n begin: /\"/, end: /\"/,\n contains: [hljs.BACKSLASH_ESCAPE, SUBST]\n }\n ]\n },\n {\n className: 'regexp',\n variants: [\n {\n begin: '///', end: '///',\n contains: [SUBST, hljs.HASH_COMMENT_MODE]\n },\n {\n begin: '//[gim]{0,3}(?=\\\\W)',\n relevance: 0\n },\n {\n // regex can't start with space to parse x / 2 / 3 as two divisions\n // regex can't start with *, and it supports an \"illegal\" in the main mode\n begin: /\\/(?![ *]).*?(?![\\\\]).\\/[gim]{0,3}(?=\\W)/\n }\n ]\n },\n {\n begin: '@' + JS_IDENT_RE // relevance booster\n },\n {\n subLanguage: 'javascript',\n excludeBegin: true, excludeEnd: true,\n variants: [\n {\n begin: '```', end: '```',\n },\n {\n begin: '`', end: '`',\n }\n ]\n }\n ];\n SUBST.contains = EXPRESSIONS;\n\n var TITLE = hljs.inherit(hljs.TITLE_MODE, {begin: JS_IDENT_RE});\n var PARAMS_RE = '(\\\\(.*\\\\))?\\\\s*\\\\B[-=]>';\n var PARAMS = {\n className: 'params',\n begin: '\\\\([^\\\\(]', returnBegin: true,\n /* We need another contained nameless mode to not have every nested\n pair of parens to be called \"params\" */\n contains: [{\n begin: /\\(/, end: /\\)/,\n keywords: KEYWORDS,\n contains: ['self'].concat(EXPRESSIONS)\n }]\n };\n\n return {\n aliases: ['coffee', 'cson', 'iced'],\n keywords: KEYWORDS,\n illegal: /\\/\\*/,\n contains: EXPRESSIONS.concat([\n hljs.COMMENT('###', '###'),\n hljs.HASH_COMMENT_MODE,\n {\n className: 'function',\n begin: '^\\\\s*' + JS_IDENT_RE + '\\\\s*=\\\\s*' + PARAMS_RE, end: '[-=]>',\n returnBegin: true,\n contains: [TITLE, PARAMS]\n },\n {\n // anonymous function start\n begin: /[:\\(,=]\\s*/,\n relevance: 0,\n contains: [\n {\n className: 'function',\n begin: PARAMS_RE, end: '[-=]>',\n returnBegin: true,\n contains: [PARAMS]\n }\n ]\n },\n {\n className: 'class',\n beginKeywords: 'class',\n end: '$',\n illegal: /[:=\"\\[\\]]/,\n contains: [\n {\n beginKeywords: 'extends',\n endsWithParent: true,\n illegal: /[:=\"\\[\\]]/,\n contains: [TITLE]\n },\n TITLE\n ]\n },\n {\n begin: JS_IDENT_RE + ':', end: ':',\n returnBegin: true, returnEnd: true,\n relevance: 0\n }\n ])\n };\n};","module.exports = function(hljs) {\n var KEYWORDS = {\n keyword:\n // Normal keywords.\n 'abstract as base bool break byte case catch char checked const continue decimal ' +\n 'default delegate do double enum event explicit extern finally fixed float ' +\n 'for foreach goto if implicit in int interface internal is lock long ' +\n 'object operator out override params private protected public readonly ref sbyte ' +\n 'sealed short sizeof stackalloc static string struct switch this try typeof ' +\n 'uint ulong unchecked unsafe ushort using virtual void volatile while ' +\n // Contextual keywords.\n 'add alias ascending async await by descending dynamic equals from get global group into join ' +\n 'let nameof on orderby partial remove select set value var when where yield',\n literal:\n 'null false true'\n };\n var NUMBERS = {\n className: 'number',\n variants: [\n { begin: '\\\\b(0b[01\\']+)' },\n { begin: '(-?)\\\\b([\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)(u|U|l|L|ul|UL|f|F|b|B)' },\n { begin: '(-?)(\\\\b0[xX][a-fA-F0-9\\']+|(\\\\b[\\\\d\\']+(\\\\.[\\\\d\\']*)?|\\\\.[\\\\d\\']+)([eE][-+]?[\\\\d\\']+)?)' }\n ],\n relevance: 0\n };\n var VERBATIM_STRING = {\n className: 'string',\n begin: '@\"', end: '\"',\n contains: [{begin: '\"\"'}]\n };\n var VERBATIM_STRING_NO_LF = hljs.inherit(VERBATIM_STRING, {illegal: /\\n/});\n var SUBST = {\n className: 'subst',\n begin: '{', end: '}',\n keywords: KEYWORDS\n };\n var SUBST_NO_LF = hljs.inherit(SUBST, {illegal: /\\n/});\n var INTERPOLATED_STRING = {\n className: 'string',\n begin: /\\$\"/, end: '\"',\n illegal: /\\n/,\n contains: [{begin: '{{'}, {begin: '}}'}, hljs.BACKSLASH_ESCAPE, SUBST_NO_LF]\n };\n var INTERPOLATED_VERBATIM_STRING = {\n className: 'string',\n begin: /\\$@\"/, end: '\"',\n contains: [{begin: '{{'}, {begin: '}}'}, {begin: '\"\"'}, SUBST]\n };\n var INTERPOLATED_VERBATIM_STRING_NO_LF = hljs.inherit(INTERPOLATED_VERBATIM_STRING, {\n illegal: /\\n/,\n contains: [{begin: '{{'}, {begin: '}}'}, {begin: '\"\"'}, SUBST_NO_LF]\n });\n SUBST.contains = [\n INTERPOLATED_VERBATIM_STRING,\n INTERPOLATED_STRING,\n VERBATIM_STRING,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n NUMBERS,\n hljs.C_BLOCK_COMMENT_MODE\n ];\n SUBST_NO_LF.contains = [\n INTERPOLATED_VERBATIM_STRING_NO_LF,\n INTERPOLATED_STRING,\n VERBATIM_STRING_NO_LF,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n NUMBERS,\n hljs.inherit(hljs.C_BLOCK_COMMENT_MODE, {illegal: /\\n/})\n ];\n var STRING = {\n variants: [\n INTERPOLATED_VERBATIM_STRING,\n INTERPOLATED_STRING,\n VERBATIM_STRING,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ]\n };\n\n var TYPE_IDENT_RE = hljs.IDENT_RE + '(<' + hljs.IDENT_RE + '(\\\\s*,\\\\s*' + hljs.IDENT_RE + ')*>)?(\\\\[\\\\])?';\n\n return {\n aliases: ['csharp', 'c#'],\n keywords: KEYWORDS,\n illegal: /::/,\n contains: [\n hljs.COMMENT(\n '///',\n '$',\n {\n returnBegin: true,\n contains: [\n {\n className: 'doctag',\n variants: [\n {\n begin: '///', relevance: 0\n },\n {\n begin: '<!--|-->'\n },\n {\n begin: '</?', end: '>'\n }\n ]\n }\n ]\n }\n ),\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'meta',\n begin: '#', end: '$',\n keywords: {\n 'meta-keyword': 'if else elif endif define undef warning error line region endregion pragma checksum'\n }\n },\n STRING,\n NUMBERS,\n {\n beginKeywords: 'class interface', end: /[{;=]/,\n illegal: /[^\\s:,]/,\n contains: [\n hljs.TITLE_MODE,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n {\n beginKeywords: 'namespace', end: /[{;=]/,\n illegal: /[^\\s:]/,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {begin: '[a-zA-Z](\\\\.?\\\\w)*'}),\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n {\n // [Attributes(\"\")]\n className: 'meta',\n begin: '^\\\\s*\\\\[', excludeBegin: true, end: '\\\\]', excludeEnd: true,\n contains: [\n {className: 'meta-string', begin: /\"/, end: /\"/}\n ]\n },\n {\n // Expression keywords prevent 'keyword Name(...)' from being\n // recognized as a function definition\n beginKeywords: 'new return throw await else',\n relevance: 0\n },\n {\n className: 'function',\n begin: '(' + TYPE_IDENT_RE + '\\\\s+)+' + hljs.IDENT_RE + '\\\\s*\\\\(', returnBegin: true,\n end: /\\s*[{;=]/, excludeEnd: true,\n keywords: KEYWORDS,\n contains: [\n {\n begin: hljs.IDENT_RE + '\\\\s*\\\\(', returnBegin: true,\n contains: [hljs.TITLE_MODE],\n relevance: 0\n },\n {\n className: 'params',\n begin: /\\(/, end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n STRING,\n NUMBERS,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n }\n ]\n };\n};","module.exports = function(hljs) {\n var FUNCTION_LIKE = {\n begin: /[\\w-]+\\(/, returnBegin: true,\n contains: [\n {\n className: 'built_in',\n begin: /[\\w-]+/\n },\n {\n begin: /\\(/, end: /\\)/,\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.CSS_NUMBER_MODE,\n ]\n }\n ]\n }\n var ATTRIBUTE = {\n className: 'attribute',\n begin: /\\S/, end: ':', excludeEnd: true,\n starts: {\n endsWithParent: true, excludeEnd: true,\n contains: [\n FUNCTION_LIKE,\n hljs.CSS_NUMBER_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'number', begin: '#[0-9A-Fa-f]+'\n },\n {\n className: 'meta', begin: '!important'\n }\n ]\n }\n }\n var AT_IDENTIFIER = '@[a-z-]+' // @font-face\n var AT_MODIFIERS = \"and or not only\"\n var MEDIA_TYPES = \"all print screen speech\"\n var AT_PROPERTY_RE = /@\\-?\\w[\\w]*(\\-\\w+)*/ // @-webkit-keyframes\n var IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*';\n var RULE = {\n begin: /(?:[A-Z\\_\\.\\-]+|--[a-zA-Z0-9_-]+)\\s*:/, returnBegin: true, end: ';', endsWithParent: true,\n contains: [\n ATTRIBUTE\n ]\n };\n\n return {\n case_insensitive: true,\n illegal: /[=\\/|'\\$]/,\n contains: [\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'selector-id', begin: /#[A-Za-z0-9_-]+/\n },\n {\n className: 'selector-class', begin: /\\.[A-Za-z0-9_-]+/\n },\n {\n className: 'selector-attr',\n begin: /\\[/, end: /\\]/,\n illegal: '$',\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n ]\n },\n {\n className: 'selector-pseudo',\n begin: /:(:)?[a-zA-Z0-9\\_\\-\\+\\(\\)\"'.]+/\n },\n // matching these here allows us to treat them more like regular CSS\n // rules so everything between the {} gets regular rule highlighting,\n // which is what we want for page and font-face\n {\n begin: '@(page|font-face)',\n lexemes: AT_IDENTIFIER,\n keywords: '@page @font-face'\n },\n {\n begin: '@', end: '[{;]', // at_rule eating first \"{\" is a good thing\n // because it doesn’t let it to be parsed as\n // a rule set but instead drops parser into\n // the default mode which is how it should be.\n illegal: /:/, // break on Less variables @var: ...\n returnBegin: true,\n contains: [\n {\n className: 'keyword',\n begin: AT_PROPERTY_RE\n },\n {\n begin: /\\s/, endsWithParent: true, excludeEnd: true,\n relevance: 0,\n keywords: AT_MODIFIERS,\n contains: [\n {\n begin: /[a-z-]+:/,\n className:\"attribute\"\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.CSS_NUMBER_MODE\n ]\n }\n ]\n },\n {\n className: 'selector-tag', begin: IDENT_RE,\n relevance: 0\n },\n {\n begin: '{', end: '}',\n illegal: /\\S/,\n contains: [\n hljs.C_BLOCK_COMMENT_MODE,\n RULE,\n ]\n }\n ]\n };\n};","module.exports = function(hljs) {\n return {\n aliases: ['md', 'mkdown', 'mkd'],\n contains: [\n // highlight headers\n {\n className: 'section',\n variants: [\n { begin: '^#{1,6}', end: '$' },\n { begin: '^.+?\\\\n[=-]{2,}$' }\n ]\n },\n // inline html\n {\n begin: '<', end: '>',\n subLanguage: 'xml',\n relevance: 0\n },\n // lists (indicators only)\n {\n className: 'bullet',\n begin: '^\\\\s*([*+-]|(\\\\d+\\\\.))\\\\s+'\n },\n // strong segments\n {\n className: 'strong',\n begin: '[*_]{2}.+?[*_]{2}'\n },\n // emphasis segments\n {\n className: 'emphasis',\n variants: [\n { begin: '\\\\*.+?\\\\*' },\n { begin: '_.+?_'\n , relevance: 0\n }\n ]\n },\n // blockquotes\n {\n className: 'quote',\n begin: '^>\\\\s+', end: '$'\n },\n // code snippets\n {\n className: 'code',\n variants: [\n {\n begin: '^```\\\\w*\\\\s*$', end: '^```[ ]*$'\n },\n {\n begin: '`.+?`'\n },\n {\n begin: '^( {4}|\\\\t)', end: '$',\n relevance: 0\n }\n ]\n },\n // horizontal rules\n {\n begin: '^[-\\\\*]{3,}', end: '$'\n },\n // using links - title and link\n {\n begin: '\\\\[.+?\\\\][\\\\(\\\\[].*?[\\\\)\\\\]]',\n returnBegin: true,\n contains: [\n {\n className: 'string',\n begin: '\\\\[', end: '\\\\]',\n excludeBegin: true,\n returnEnd: true,\n relevance: 0\n },\n {\n className: 'link',\n begin: '\\\\]\\\\(', end: '\\\\)',\n excludeBegin: true, excludeEnd: true\n },\n {\n className: 'symbol',\n begin: '\\\\]\\\\[', end: '\\\\]',\n excludeBegin: true, excludeEnd: true\n }\n ],\n relevance: 10\n },\n {\n begin: /^\\[[^\\n]+\\]:/,\n returnBegin: true,\n contains: [\n {\n className: 'symbol',\n begin: /\\[/, end: /\\]/,\n excludeBegin: true, excludeEnd: true\n },\n {\n className: 'link',\n begin: /:\\s*/, end: /$/,\n excludeBegin: true\n }\n ]\n }\n ]\n };\n};","module.exports = function(hljs) {\n return {\n aliases: ['docker'],\n case_insensitive: true,\n keywords: 'from maintainer expose env arg user onbuild stopsignal',\n contains: [\n hljs.HASH_COMMENT_MODE,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.NUMBER_MODE,\n {\n beginKeywords: 'run cmd entrypoint volume add copy workdir label healthcheck shell',\n starts: {\n end: /[^\\\\]$/,\n subLanguage: 'bash'\n }\n }\n ],\n illegal: '</'\n }\n};","module.exports = function(hljs) {\n var ELIXIR_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_.]*(\\\\!|\\\\?)?';\n var ELIXIR_METHOD_RE = '[a-zA-Z_]\\\\w*[!?=]?|[-+~]\\\\@|<<|>>|=~|===?|<=>|[<>]=?|\\\\*\\\\*|[-/+%^&*~`|]|\\\\[\\\\]=?';\n var ELIXIR_KEYWORDS =\n 'and false then defined module in return redo retry end for true self when ' +\n 'next until do begin unless nil break not case cond alias while ensure or ' +\n 'include use alias fn quote require import with|0';\n var SUBST = {\n className: 'subst',\n begin: '#\\\\{', end: '}',\n lexemes: ELIXIR_IDENT_RE,\n keywords: ELIXIR_KEYWORDS\n };\n\n var SIGIL_DELIMITERS = '[/|([{<\"\\']'\n var LOWERCASE_SIGIL = {\n className: 'string',\n begin: '~[a-z]' + '(?=' + SIGIL_DELIMITERS + ')',\n contains: [\n {\n endsParent:true,\n contains: [{\n contains: [hljs.BACKSLASH_ESCAPE, SUBST],\n variants: [\n { begin: /\"/, end: /\"/ },\n { begin: /'/, end: /'/ },\n { begin: /\\//, end: /\\// },\n { begin: /\\|/, end: /\\|/ },\n { begin: /\\(/, end: /\\)/ },\n { begin: /\\[/, end: /\\]/ },\n { begin: /\\{/, end: /\\}/ },\n { begin: /</, end: />/ }\n ]\n }]\n },\n ],\n };\n\n var UPCASE_SIGIL = {\n className: 'string',\n begin: '~[A-Z]' + '(?=' + SIGIL_DELIMITERS + ')',\n contains: [\n { begin: /\"/, end: /\"/ },\n { begin: /'/, end: /'/ },\n { begin: /\\//, end: /\\// },\n { begin: /\\|/, end: /\\|/ },\n { begin: /\\(/, end: /\\)/ },\n { begin: /\\[/, end: /\\]/ },\n { begin: /\\{/, end: /\\}/ },\n { begin: /\\</, end: /\\>/ }\n ]\n };\n\n var STRING = {\n className: 'string',\n contains: [hljs.BACKSLASH_ESCAPE, SUBST],\n variants: [\n {\n begin: /\"\"\"/, end: /\"\"\"/,\n },\n {\n begin: /'''/, end: /'''/,\n },\n {\n begin: /~S\"\"\"/, end: /\"\"\"/,\n contains: []\n },\n {\n begin: /~S\"/, end: /\"/,\n contains: []\n },\n {\n begin: /~S'''/, end: /'''/,\n contains: []\n },\n {\n begin: /~S'/, end: /'/,\n contains: []\n },\n {\n begin: /'/, end: /'/\n },\n {\n begin: /\"/, end: /\"/\n },\n ]\n };\n var FUNCTION = {\n className: 'function',\n beginKeywords: 'def defp defmacro', end: /\\B\\b/, // the mode is ended by the title\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {\n begin: ELIXIR_IDENT_RE,\n endsParent: true\n })\n ]\n };\n var CLASS = hljs.inherit(FUNCTION, {\n className: 'class',\n beginKeywords: 'defimpl defmodule defprotocol defrecord', end: /\\bdo\\b|$|;/\n });\n var ELIXIR_DEFAULT_CONTAINS = [\n STRING,\n UPCASE_SIGIL,\n LOWERCASE_SIGIL,\n hljs.HASH_COMMENT_MODE,\n CLASS,\n FUNCTION,\n {\n begin: '::'\n },\n {\n className: 'symbol',\n begin: ':(?![\\\\s:])',\n contains: [STRING, {begin: ELIXIR_METHOD_RE}],\n relevance: 0\n },\n {\n className: 'symbol',\n begin: ELIXIR_IDENT_RE + ':(?!:)',\n relevance: 0\n },\n {\n className: 'number',\n begin: '(\\\\b0o[0-7_]+)|(\\\\b0b[01_]+)|(\\\\b0x[0-9a-fA-F_]+)|(-?\\\\b[1-9][0-9_]*(.[0-9_]+([eE][-+]?[0-9]+)?)?)',\n relevance: 0\n },\n {\n className: 'variable',\n begin: '(\\\\$\\\\W)|((\\\\$|\\\\@\\\\@?)(\\\\w+))'\n },\n {\n begin: '->'\n },\n { // regexp container\n begin: '(' + hljs.RE_STARTERS_RE + ')\\\\s*',\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n className: 'regexp',\n illegal: '\\\\n',\n contains: [hljs.BACKSLASH_ESCAPE, SUBST],\n variants: [\n {\n begin: '/', end: '/[a-z]*'\n },\n {\n begin: '%r\\\\[', end: '\\\\][a-z]*'\n }\n ]\n }\n ],\n relevance: 0\n }\n ];\n SUBST.contains = ELIXIR_DEFAULT_CONTAINS;\n\n return {\n lexemes: ELIXIR_IDENT_RE,\n keywords: ELIXIR_KEYWORDS,\n contains: ELIXIR_DEFAULT_CONTAINS\n };\n};","module.exports = function(hljs) {\n var COMMENT = {\n variants: [\n hljs.COMMENT('--', '$'),\n hljs.COMMENT(\n '{-',\n '-}',\n {\n contains: ['self']\n }\n )\n ]\n };\n\n var CONSTRUCTOR = {\n className: 'type',\n begin: '\\\\b[A-Z][\\\\w\\']*', // TODO: other constructors (built-in, infix).\n relevance: 0\n };\n\n var LIST = {\n begin: '\\\\(', end: '\\\\)',\n illegal: '\"',\n contains: [\n {className: 'type', begin: '\\\\b[A-Z][\\\\w]*(\\\\((\\\\.\\\\.|,|\\\\w+)\\\\))?'},\n COMMENT\n ]\n };\n\n var RECORD = {\n begin: '{', end: '}',\n contains: LIST.contains\n };\n\n var CHARACTER = {\n className: 'string',\n begin: '\\'\\\\\\\\?.', end: '\\'',\n illegal: '.'\n };\n\n return {\n keywords:\n 'let in if then else case of where module import exposing ' +\n 'type alias as infix infixl infixr port effect command subscription',\n contains: [\n\n // Top-level constructions.\n\n {\n beginKeywords: 'port effect module', end: 'exposing',\n keywords: 'port effect module where command subscription exposing',\n contains: [LIST, COMMENT],\n illegal: '\\\\W\\\\.|;'\n },\n {\n begin: 'import', end: '$',\n keywords: 'import as exposing',\n contains: [LIST, COMMENT],\n illegal: '\\\\W\\\\.|;'\n },\n {\n begin: 'type', end: '$',\n keywords: 'type alias',\n contains: [CONSTRUCTOR, LIST, RECORD, COMMENT]\n },\n {\n beginKeywords: 'infix infixl infixr', end: '$',\n contains: [hljs.C_NUMBER_MODE, COMMENT]\n },\n {\n begin: 'port', end: '$',\n keywords: 'port',\n contains: [COMMENT]\n },\n\n // Literals and names.\n\n CHARACTER,\n hljs.QUOTE_STRING_MODE,\n hljs.C_NUMBER_MODE,\n CONSTRUCTOR,\n hljs.inherit(hljs.TITLE_MODE, {begin: '^[_a-z][\\\\w\\']*'}),\n COMMENT,\n\n {begin: '->|<-'} // No markup, relevance booster\n ],\n illegal: /;/\n };\n};","module.exports = function(hljs) {\n var RUBY_METHOD_RE = '[a-zA-Z_]\\\\w*[!?=]?|[-+~]\\\\@|<<|>>|=~|===?|<=>|[<>]=?|\\\\*\\\\*|[-/+%^&*~`|]|\\\\[\\\\]=?';\n var RUBY_KEYWORDS = {\n keyword:\n 'and then defined module in return redo if BEGIN retry end for self when ' +\n 'next until do begin unless END rescue else break undef not super class case ' +\n 'require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor',\n literal:\n 'true false nil'\n };\n var YARDOCTAG = {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n };\n var IRB_OBJECT = {\n begin: '#<', end: '>'\n };\n var COMMENT_MODES = [\n hljs.COMMENT(\n '#',\n '$',\n {\n contains: [YARDOCTAG]\n }\n ),\n hljs.COMMENT(\n '^\\\\=begin',\n '^\\\\=end',\n {\n contains: [YARDOCTAG],\n relevance: 10\n }\n ),\n hljs.COMMENT('^__END__', '\\\\n$')\n ];\n var SUBST = {\n className: 'subst',\n begin: '#\\\\{', end: '}',\n keywords: RUBY_KEYWORDS\n };\n var STRING = {\n className: 'string',\n contains: [hljs.BACKSLASH_ESCAPE, SUBST],\n variants: [\n {begin: /'/, end: /'/},\n {begin: /\"/, end: /\"/},\n {begin: /`/, end: /`/},\n {begin: '%[qQwWx]?\\\\(', end: '\\\\)'},\n {begin: '%[qQwWx]?\\\\[', end: '\\\\]'},\n {begin: '%[qQwWx]?{', end: '}'},\n {begin: '%[qQwWx]?<', end: '>'},\n {begin: '%[qQwWx]?/', end: '/'},\n {begin: '%[qQwWx]?%', end: '%'},\n {begin: '%[qQwWx]?-', end: '-'},\n {begin: '%[qQwWx]?\\\\|', end: '\\\\|'},\n {\n // \\B in the beginning suppresses recognition of ?-sequences where ?\n // is the last character of a preceding identifier, as in: `func?4`\n begin: /\\B\\?(\\\\\\d{1,3}|\\\\x[A-Fa-f0-9]{1,2}|\\\\u[A-Fa-f0-9]{4}|\\\\?\\S)\\b/\n },\n { // heredocs\n begin: /<<[-~]?'?(\\w+)(?:.|\\n)*?\\n\\s*\\1\\b/,\n returnBegin: true,\n contains: [\n { begin: /<<[-~]?'?/ },\n { begin: /\\w+/,\n endSameAsBegin: true,\n contains: [hljs.BACKSLASH_ESCAPE, SUBST],\n }\n ]\n }\n ]\n };\n var PARAMS = {\n className: 'params',\n begin: '\\\\(', end: '\\\\)', endsParent: true,\n keywords: RUBY_KEYWORDS\n };\n\n var RUBY_DEFAULT_CONTAINS = [\n STRING,\n IRB_OBJECT,\n {\n className: 'class',\n beginKeywords: 'class module', end: '$|;',\n illegal: /=/,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {begin: '[A-Za-z_]\\\\w*(::\\\\w+)*(\\\\?|\\\\!)?'}),\n {\n begin: '<\\\\s*',\n contains: [{\n begin: '(' + hljs.IDENT_RE + '::)?' + hljs.IDENT_RE\n }]\n }\n ].concat(COMMENT_MODES)\n },\n {\n className: 'function',\n beginKeywords: 'def', end: '$|;',\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {begin: RUBY_METHOD_RE}),\n PARAMS\n ].concat(COMMENT_MODES)\n },\n {\n // swallow namespace qualifiers before symbols\n begin: hljs.IDENT_RE + '::'\n },\n {\n className: 'symbol',\n begin: hljs.UNDERSCORE_IDENT_RE + '(\\\\!|\\\\?)?:',\n relevance: 0\n },\n {\n className: 'symbol',\n begin: ':(?!\\\\s)',\n contains: [STRING, {begin: RUBY_METHOD_RE}],\n relevance: 0\n },\n {\n className: 'number',\n begin: '(\\\\b0[0-7_]+)|(\\\\b0x[0-9a-fA-F_]+)|(\\\\b[1-9][0-9_]*(\\\\.[0-9_]+)?)|[0_]\\\\b',\n relevance: 0\n },\n {\n begin: '(\\\\$\\\\W)|((\\\\$|\\\\@\\\\@?)(\\\\w+))' // variables\n },\n {\n className: 'params',\n begin: /\\|/, end: /\\|/,\n keywords: RUBY_KEYWORDS\n },\n { // regexp container\n begin: '(' + hljs.RE_STARTERS_RE + '|unless)\\\\s*',\n keywords: 'unless',\n contains: [\n IRB_OBJECT,\n {\n className: 'regexp',\n contains: [hljs.BACKSLASH_ESCAPE, SUBST],\n illegal: /\\n/,\n variants: [\n {begin: '/', end: '/[a-z]*'},\n {begin: '%r{', end: '}[a-z]*'},\n {begin: '%r\\\\(', end: '\\\\)[a-z]*'},\n {begin: '%r!', end: '![a-z]*'},\n {begin: '%r\\\\[', end: '\\\\][a-z]*'}\n ]\n }\n ].concat(COMMENT_MODES),\n relevance: 0\n }\n ].concat(COMMENT_MODES);\n\n SUBST.contains = RUBY_DEFAULT_CONTAINS;\n PARAMS.contains = RUBY_DEFAULT_CONTAINS;\n\n var SIMPLE_PROMPT = \"[>?]>\";\n var DEFAULT_PROMPT = \"[\\\\w#]+\\\\(\\\\w+\\\\):\\\\d+:\\\\d+>\";\n var RVM_PROMPT = \"(\\\\w+-)?\\\\d+\\\\.\\\\d+\\\\.\\\\d(p\\\\d+)?[^>]+>\";\n\n var IRB_DEFAULT = [\n {\n begin: /^\\s*=>/,\n starts: {\n end: '$', contains: RUBY_DEFAULT_CONTAINS\n }\n },\n {\n className: 'meta',\n begin: '^('+SIMPLE_PROMPT+\"|\"+DEFAULT_PROMPT+'|'+RVM_PROMPT+')',\n starts: {\n end: '$', contains: RUBY_DEFAULT_CONTAINS\n }\n }\n ];\n\n return {\n aliases: ['rb', 'gemspec', 'podspec', 'thor', 'irb'],\n keywords: RUBY_KEYWORDS,\n illegal: /\\/\\*/,\n contains: COMMENT_MODES.concat(IRB_DEFAULT).concat(RUBY_DEFAULT_CONTAINS)\n };\n};","module.exports = function(hljs) {\n var BASIC_ATOM_RE = '[a-z\\'][a-zA-Z0-9_\\']*';\n var FUNCTION_NAME_RE = '(' + BASIC_ATOM_RE + ':' + BASIC_ATOM_RE + '|' + BASIC_ATOM_RE + ')';\n var ERLANG_RESERVED = {\n keyword:\n 'after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if ' +\n 'let not of orelse|10 query receive rem try when xor',\n literal:\n 'false true'\n };\n\n var COMMENT = hljs.COMMENT('%', '$');\n var NUMBER = {\n className: 'number',\n begin: '\\\\b(\\\\d+#[a-fA-F0-9]+|\\\\d+(\\\\.\\\\d+)?([eE][-+]?\\\\d+)?)',\n relevance: 0\n };\n var NAMED_FUN = {\n begin: 'fun\\\\s+' + BASIC_ATOM_RE + '/\\\\d+'\n };\n var FUNCTION_CALL = {\n begin: FUNCTION_NAME_RE + '\\\\(', end: '\\\\)',\n returnBegin: true,\n relevance: 0,\n contains: [\n {\n begin: FUNCTION_NAME_RE, relevance: 0\n },\n {\n begin: '\\\\(', end: '\\\\)', endsWithParent: true,\n returnEnd: true,\n relevance: 0\n // \"contains\" defined later\n }\n ]\n };\n var TUPLE = {\n begin: '{', end: '}',\n relevance: 0\n // \"contains\" defined later\n };\n var VAR1 = {\n begin: '\\\\b_([A-Z][A-Za-z0-9_]*)?',\n relevance: 0\n };\n var VAR2 = {\n begin: '[A-Z][a-zA-Z0-9_]*',\n relevance: 0\n };\n var RECORD_ACCESS = {\n begin: '#' + hljs.UNDERSCORE_IDENT_RE,\n relevance: 0,\n returnBegin: true,\n contains: [\n {\n begin: '#' + hljs.UNDERSCORE_IDENT_RE,\n relevance: 0\n },\n {\n begin: '{', end: '}',\n relevance: 0\n // \"contains\" defined later\n }\n ]\n };\n\n var BLOCK_STATEMENTS = {\n beginKeywords: 'fun receive if try case', end: 'end',\n keywords: ERLANG_RESERVED\n };\n BLOCK_STATEMENTS.contains = [\n COMMENT,\n NAMED_FUN,\n hljs.inherit(hljs.APOS_STRING_MODE, {className: ''}),\n BLOCK_STATEMENTS,\n FUNCTION_CALL,\n hljs.QUOTE_STRING_MODE,\n NUMBER,\n TUPLE,\n VAR1, VAR2,\n RECORD_ACCESS\n ];\n\n var BASIC_MODES = [\n COMMENT,\n NAMED_FUN,\n BLOCK_STATEMENTS,\n FUNCTION_CALL,\n hljs.QUOTE_STRING_MODE,\n NUMBER,\n TUPLE,\n VAR1, VAR2,\n RECORD_ACCESS\n ];\n FUNCTION_CALL.contains[1].contains = BASIC_MODES;\n TUPLE.contains = BASIC_MODES;\n RECORD_ACCESS.contains[1].contains = BASIC_MODES;\n\n var PARAMS = {\n className: 'params',\n begin: '\\\\(', end: '\\\\)',\n contains: BASIC_MODES\n };\n return {\n aliases: ['erl'],\n keywords: ERLANG_RESERVED,\n illegal: '(</|\\\\*=|\\\\+=|-=|/\\\\*|\\\\*/|\\\\(\\\\*|\\\\*\\\\))',\n contains: [\n {\n className: 'function',\n begin: '^' + BASIC_ATOM_RE + '\\\\s*\\\\(', end: '->',\n returnBegin: true,\n illegal: '\\\\(|#|//|/\\\\*|\\\\\\\\|:|;',\n contains: [\n PARAMS,\n hljs.inherit(hljs.TITLE_MODE, {begin: BASIC_ATOM_RE})\n ],\n starts: {\n end: ';|\\\\.',\n keywords: ERLANG_RESERVED,\n contains: BASIC_MODES\n }\n },\n COMMENT,\n {\n begin: '^-', end: '\\\\.',\n relevance: 0,\n excludeEnd: true,\n returnBegin: true,\n lexemes: '-' + hljs.IDENT_RE,\n keywords:\n '-module -record -undef -export -ifdef -ifndef -author -copyright -doc -vsn ' +\n '-import -include -include_lib -compile -define -else -endif -file -behaviour ' +\n '-behavior -spec',\n contains: [PARAMS]\n },\n NUMBER,\n hljs.QUOTE_STRING_MODE,\n RECORD_ACCESS,\n VAR1, VAR2,\n TUPLE,\n {begin: /\\.$/} // relevance booster\n ]\n };\n};","module.exports = function(hljs) {\n return {\n keywords: {\n keyword:\n // Statements\n 'break continue discard do else for if return while switch case default ' +\n // Qualifiers\n 'attribute binding buffer ccw centroid centroid varying coherent column_major const cw ' +\n 'depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing ' +\n 'flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant ' +\n 'invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y ' +\n 'local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left ' +\n 'out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f '+\n 'r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict ' +\n 'rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 ' +\n 'rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 ' +\n 'rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip ' +\n 'triangles triangles_adjacency uniform varying vertices volatile writeonly',\n type:\n 'atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 ' +\n 'dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray ' +\n 'iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer' +\n 'iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray ' +\n 'image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray ' +\n 'isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D ' +\n 'isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 ' +\n 'mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray ' +\n 'sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow ' +\n 'sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D ' +\n 'samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow ' +\n 'image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect ' +\n 'uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray ' +\n 'usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D ' +\n 'samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void',\n built_in:\n // Constants\n 'gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes ' +\n 'gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms ' +\n 'gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers ' +\n 'gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits ' +\n 'gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize ' +\n 'gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters ' +\n 'gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors ' +\n 'gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers ' +\n 'gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents ' +\n 'gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits ' +\n 'gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents ' +\n 'gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset ' +\n 'gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms ' +\n 'gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits ' +\n 'gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents ' +\n 'gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters ' +\n 'gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents ' +\n 'gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents ' +\n 'gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits ' +\n 'gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors ' +\n 'gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms ' +\n 'gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits ' +\n 'gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset ' +\n // Variables\n 'gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial ' +\n 'gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color ' +\n 'gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord ' +\n 'gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor ' +\n 'gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial ' +\n 'gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel ' +\n 'gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix ' +\n 'gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose ' +\n 'gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose ' +\n 'gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 ' +\n 'gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 ' +\n 'gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ ' +\n 'gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord ' +\n 'gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse ' +\n 'gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask ' +\n 'gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter ' +\n 'gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose ' +\n 'gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out ' +\n // Functions\n 'EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin ' +\n 'asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement ' +\n 'atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier ' +\n 'bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross ' +\n 'dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB ' +\n 'floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan ' +\n 'greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap ' +\n 'imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad ' +\n 'imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset ' +\n 'interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log ' +\n 'log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer ' +\n 'memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 ' +\n 'normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 ' +\n 'packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod ' +\n 'shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh ' +\n 'smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod ' +\n 'texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod ' +\n 'texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod ' +\n 'textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset ' +\n 'textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset ' +\n 'textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod ' +\n 'textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 ' +\n 'unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow',\n literal: 'true false'\n },\n illegal: '\"',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.C_NUMBER_MODE,\n {\n className: 'meta',\n begin: '#', end: '$'\n }\n ]\n };\n};","module.exports = function(hljs) {\n var GO_KEYWORDS = {\n keyword:\n 'break default func interface select case map struct chan else goto package switch ' +\n 'const fallthrough if range type continue for import return var go defer ' +\n 'bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 ' +\n 'uint16 uint32 uint64 int uint uintptr rune',\n literal:\n 'true false iota nil',\n built_in:\n 'append cap close complex copy imag len make new panic print println real recover delete'\n };\n return {\n aliases: ['golang'],\n keywords: GO_KEYWORDS,\n illegal: '</',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'string',\n variants: [\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n {begin: '`', end: '`'},\n ]\n },\n {\n className: 'number',\n variants: [\n {begin: hljs.C_NUMBER_RE + '[i]', relevance: 1},\n hljs.C_NUMBER_MODE\n ]\n },\n {\n begin: /:=/ // relevance booster\n },\n {\n className: 'function',\n beginKeywords: 'func', end: '\\\\s*(\\\\{|$)', excludeEnd: true,\n contains: [\n hljs.TITLE_MODE,\n {\n className: 'params',\n begin: /\\(/, end: /\\)/,\n keywords: GO_KEYWORDS,\n illegal: /[\"']/\n }\n ]\n }\n ]\n };\n};","module.exports = function(hljs) {\n return {\n case_insensitive: true,\n keywords: {\n keyword:\n 'task project allprojects subprojects artifacts buildscript configurations ' +\n 'dependencies repositories sourceSets description delete from into include ' +\n 'exclude source classpath destinationDir includes options sourceCompatibility ' +\n 'targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant ' +\n 'def abstract break case catch continue default do else extends final finally ' +\n 'for if implements instanceof native new private protected public return static ' +\n 'switch synchronized throw throws transient try volatile while strictfp package ' +\n 'import false null super this true antlrtask checkstyle codenarc copy boolean ' +\n 'byte char class double float int interface long short void compile runTime ' +\n 'file fileTree abs any append asList asWritable call collect compareTo count ' +\n 'div dump each eachByte eachFile eachLine every find findAll flatten getAt ' +\n 'getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods ' +\n 'isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter ' +\n 'newReader newWriter next plus pop power previous print println push putAt read ' +\n 'readBytes readLines reverse reverseEach round size sort splitEachLine step subMap ' +\n 'times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader ' +\n 'withStream withWriter withWriterAppend write writeLine'\n },\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.NUMBER_MODE,\n hljs.REGEXP_MODE\n\n ]\n }\n};","module.exports = function(hljs) {\n return {\n keywords: {\n literal : 'true false null',\n keyword:\n 'byte short char int long boolean float double void ' +\n // groovy specific keywords\n 'def as in assert trait ' +\n // common keywords with Java\n 'super this abstract static volatile transient public private protected synchronized final ' +\n 'class interface enum if else for while switch case break default continue ' +\n 'throw throws try catch finally implements extends new import package return instanceof'\n },\n\n contains: [\n hljs.COMMENT(\n '/\\\\*\\\\*',\n '\\\\*/',\n {\n relevance : 0,\n contains : [\n {\n // eat up @'s in emails to prevent them to be recognized as doctags\n begin: /\\w+@/, relevance: 0\n },\n {\n className : 'doctag',\n begin : '@[A-Za-z]+'\n }\n ]\n }\n ),\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'string',\n begin: '\"\"\"', end: '\"\"\"'\n },\n {\n className: 'string',\n begin: \"'''\", end: \"'''\"\n },\n {\n className: 'string',\n begin: \"\\\\$/\", end: \"/\\\\$\",\n relevance: 10\n },\n hljs.APOS_STRING_MODE,\n {\n className: 'regexp',\n begin: /~?\\/[^\\/\\n]+\\//,\n contains: [\n hljs.BACKSLASH_ESCAPE\n ]\n },\n hljs.QUOTE_STRING_MODE,\n {\n className: 'meta',\n begin: \"^#!/usr/bin/env\", end: '$',\n illegal: '\\n'\n },\n hljs.BINARY_NUMBER_MODE,\n {\n className: 'class',\n beginKeywords: 'class interface trait enum', end: '{',\n illegal: ':',\n contains: [\n {beginKeywords: 'extends implements'},\n hljs.UNDERSCORE_TITLE_MODE\n ]\n },\n hljs.C_NUMBER_MODE,\n {\n className: 'meta', begin: '@[A-Za-z]+'\n },\n {\n // highlight map keys and named parameters as strings\n className: 'string', begin: /[^\\?]{0}[A-Za-z0-9_$]+ *:/\n },\n {\n // catch middle element of the ternary operator\n // to avoid highlight it as a label, named parameter, or map key\n begin: /\\?/, end: /\\:/\n },\n {\n // highlight labeled statements\n className: 'symbol', begin: '^\\\\s*[A-Za-z0-9_$]+:',\n relevance: 0\n }\n ],\n illegal: /#|<\\//\n }\n};","module.exports = function (hljs) {\n var BUILT_INS = {'builtin-name': 'each in with if else unless bindattr action collection debugger log outlet template unbound view yield lookup'};\n\n var IDENTIFIER_PLAIN_OR_QUOTED = {\n begin: /\".*?\"|'.*?'|\\[.*?\\]|\\w+/\n };\n\n var EXPRESSION_OR_HELPER_CALL = hljs.inherit(IDENTIFIER_PLAIN_OR_QUOTED, {\n keywords: BUILT_INS,\n starts: {\n // helper params\n endsWithParent: true,\n relevance: 0,\n contains: [hljs.inherit(IDENTIFIER_PLAIN_OR_QUOTED, {relevance: 0})]\n }\n });\n\n var BLOCK_MUSTACHE_CONTENTS = hljs.inherit(EXPRESSION_OR_HELPER_CALL, {\n className: 'name'\n });\n\n var BASIC_MUSTACHE_CONTENTS = hljs.inherit(EXPRESSION_OR_HELPER_CALL, {\n // relevance 0 for backward compatibility concerning auto-detection\n relevance: 0\n });\n\n var ESCAPE_MUSTACHE_WITH_PRECEEDING_BACKSLASH = {begin: /\\\\\\{\\{/, skip: true};\n var PREVENT_ESCAPE_WITH_ANOTHER_PRECEEDING_BACKSLASH = {begin: /\\\\\\\\(?=\\{\\{)/, skip: true};\n\n return {\n aliases: ['hbs', 'html.hbs', 'html.handlebars'],\n case_insensitive: true,\n subLanguage: 'xml',\n contains: [\n ESCAPE_MUSTACHE_WITH_PRECEEDING_BACKSLASH,\n PREVENT_ESCAPE_WITH_ANOTHER_PRECEEDING_BACKSLASH,\n hljs.COMMENT(/\\{\\{!--/, /--\\}\\}/),\n hljs.COMMENT(/\\{\\{!/, /\\}\\}/),\n {\n // open raw block \"{{{{raw}}}} content not evaluated {{{{/raw}}}}\"\n className: 'template-tag',\n begin: /\\{\\{\\{\\{(?!\\/)/, end: /\\}\\}\\}\\}/,\n contains: [BLOCK_MUSTACHE_CONTENTS],\n starts: {end: /\\{\\{\\{\\{\\//, returnEnd: true, subLanguage: 'xml'}\n },\n {\n // close raw block\n className: 'template-tag',\n begin: /\\{\\{\\{\\{\\//, end: /\\}\\}\\}\\}/,\n contains: [BLOCK_MUSTACHE_CONTENTS]\n },\n {\n // open block statement\n className: 'template-tag',\n begin: /\\{\\{[#\\/]/, end: /\\}\\}/,\n contains: [BLOCK_MUSTACHE_CONTENTS],\n },\n {\n // template variable or helper-call that is NOT html-escaped\n className: 'template-variable',\n begin: /\\{\\{\\{/, end: /\\}\\}\\}/,\n keywords: BUILT_INS,\n contains: [BASIC_MUSTACHE_CONTENTS]\n },\n {\n // template variable or helper-call that is html-escaped\n className: 'template-variable',\n begin: /\\{\\{/, end: /\\}\\}/,\n keywords: BUILT_INS,\n contains: [BASIC_MUSTACHE_CONTENTS]\n }\n ]\n };\n};","module.exports = function(hljs) {\n var COMMENT = {\n variants: [\n hljs.COMMENT('--', '$'),\n hljs.COMMENT(\n '{-',\n '-}',\n {\n contains: ['self']\n }\n )\n ]\n };\n\n var PRAGMA = {\n className: 'meta',\n begin: '{-#', end: '#-}'\n };\n\n var PREPROCESSOR = {\n className: 'meta',\n begin: '^#', end: '$'\n };\n\n var CONSTRUCTOR = {\n className: 'type',\n begin: '\\\\b[A-Z][\\\\w\\']*', // TODO: other constructors (build-in, infix).\n relevance: 0\n };\n\n var LIST = {\n begin: '\\\\(', end: '\\\\)',\n illegal: '\"',\n contains: [\n PRAGMA,\n PREPROCESSOR,\n {className: 'type', begin: '\\\\b[A-Z][\\\\w]*(\\\\((\\\\.\\\\.|,|\\\\w+)\\\\))?'},\n hljs.inherit(hljs.TITLE_MODE, {begin: '[_a-z][\\\\w\\']*'}),\n COMMENT\n ]\n };\n\n var RECORD = {\n begin: '{', end: '}',\n contains: LIST.contains\n };\n\n return {\n aliases: ['hs'],\n keywords:\n 'let in if then else case of where do module import hiding ' +\n 'qualified type data newtype deriving class instance as default ' +\n 'infix infixl infixr foreign export ccall stdcall cplusplus ' +\n 'jvm dotnet safe unsafe family forall mdo proc rec',\n contains: [\n\n // Top-level constructions.\n\n {\n beginKeywords: 'module', end: 'where',\n keywords: 'module where',\n contains: [LIST, COMMENT],\n illegal: '\\\\W\\\\.|;'\n },\n {\n begin: '\\\\bimport\\\\b', end: '$',\n keywords: 'import qualified as hiding',\n contains: [LIST, COMMENT],\n illegal: '\\\\W\\\\.|;'\n },\n\n {\n className: 'class',\n begin: '^(\\\\s*)?(class|instance)\\\\b', end: 'where',\n keywords: 'class family instance where',\n contains: [CONSTRUCTOR, LIST, COMMENT]\n },\n {\n className: 'class',\n begin: '\\\\b(data|(new)?type)\\\\b', end: '$',\n keywords: 'data family type newtype deriving',\n contains: [PRAGMA, CONSTRUCTOR, LIST, RECORD, COMMENT]\n },\n {\n beginKeywords: 'default', end: '$',\n contains: [CONSTRUCTOR, LIST, COMMENT]\n },\n {\n beginKeywords: 'infix infixl infixr', end: '$',\n contains: [hljs.C_NUMBER_MODE, COMMENT]\n },\n {\n begin: '\\\\bforeign\\\\b', end: '$',\n keywords: 'foreign import export ccall stdcall cplusplus jvm ' +\n 'dotnet safe unsafe',\n contains: [CONSTRUCTOR, hljs.QUOTE_STRING_MODE, COMMENT]\n },\n {\n className: 'meta',\n begin: '#!\\\\/usr\\\\/bin\\\\/env\\ runhaskell', end: '$'\n },\n\n // \"Whitespaces\".\n\n PRAGMA,\n PREPROCESSOR,\n\n // Literals and names.\n\n // TODO: characters.\n hljs.QUOTE_STRING_MODE,\n hljs.C_NUMBER_MODE,\n CONSTRUCTOR,\n hljs.inherit(hljs.TITLE_MODE, {begin: '^[_a-z][\\\\w\\']*'}),\n\n COMMENT,\n\n {begin: '->|<-'} // No markup, relevance booster\n ]\n };\n};","module.exports = function(hljs) {\n var JAVA_IDENT_RE = '[\\u00C0-\\u02B8a-zA-Z_$][\\u00C0-\\u02B8a-zA-Z_$0-9]*';\n var GENERIC_IDENT_RE = JAVA_IDENT_RE + '(<' + JAVA_IDENT_RE + '(\\\\s*,\\\\s*' + JAVA_IDENT_RE + ')*>)?';\n var KEYWORDS =\n 'false synchronized int abstract float private char boolean var static null if const ' +\n 'for true while long strictfp finally protected import native final void ' +\n 'enum else break transient catch instanceof byte super volatile case assert short ' +\n 'package default double public try this switch continue throws protected public private ' +\n 'module requires exports do';\n\n // https://docs.oracle.com/javase/7/docs/technotes/guides/language/underscores-literals.html\n var JAVA_NUMBER_RE = '\\\\b' +\n '(' +\n '0[bB]([01]+[01_]+[01]+|[01]+)' + // 0b...\n '|' +\n '0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)' + // 0x...\n '|' +\n '(' +\n '([\\\\d]+[\\\\d_]+[\\\\d]+|[\\\\d]+)(\\\\.([\\\\d]+[\\\\d_]+[\\\\d]+|[\\\\d]+))?' +\n '|' +\n '\\\\.([\\\\d]+[\\\\d_]+[\\\\d]+|[\\\\d]+)' +\n ')' +\n '([eE][-+]?\\\\d+)?' + // octal, decimal, float\n ')' +\n '[lLfF]?';\n var JAVA_NUMBER_MODE = {\n className: 'number',\n begin: JAVA_NUMBER_RE,\n relevance: 0\n };\n\n return {\n aliases: ['jsp'],\n keywords: KEYWORDS,\n illegal: /<\\/|#/,\n contains: [\n hljs.COMMENT(\n '/\\\\*\\\\*',\n '\\\\*/',\n {\n relevance : 0,\n contains : [\n {\n // eat up @'s in emails to prevent them to be recognized as doctags\n begin: /\\w+@/, relevance: 0\n },\n {\n className : 'doctag',\n begin : '@[A-Za-z]+'\n }\n ]\n }\n ),\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n {\n className: 'class',\n beginKeywords: 'class interface', end: /[{;=]/, excludeEnd: true,\n keywords: 'class interface',\n illegal: /[:\"\\[\\]]/,\n contains: [\n {beginKeywords: 'extends implements'},\n hljs.UNDERSCORE_TITLE_MODE\n ]\n },\n {\n // Expression keywords prevent 'keyword Name(...)' from being\n // recognized as a function definition\n beginKeywords: 'new throw return else',\n relevance: 0\n },\n {\n className: 'function',\n begin: '(' + GENERIC_IDENT_RE + '\\\\s+)+' + hljs.UNDERSCORE_IDENT_RE + '\\\\s*\\\\(', returnBegin: true, end: /[{;=]/,\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: [\n {\n begin: hljs.UNDERSCORE_IDENT_RE + '\\\\s*\\\\(', returnBegin: true,\n relevance: 0,\n contains: [hljs.UNDERSCORE_TITLE_MODE]\n },\n {\n className: 'params',\n begin: /\\(/, end: /\\)/,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.C_NUMBER_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n },\n JAVA_NUMBER_MODE,\n {\n className: 'meta', begin: '@[A-Za-z]+'\n }\n ]\n };\n};","module.exports = function(hljs) {\n var FRAGMENT = {\n begin: '<>',\n end: '</>'\n };\n var XML_TAG = {\n begin: /<[A-Za-z0-9\\\\._:-]+/,\n end: /\\/[A-Za-z0-9\\\\._:-]+>|\\/>/\n };\n var IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';\n var KEYWORDS = {\n keyword:\n 'in of if for while finally var new function do return void else break catch ' +\n 'instanceof with throw case default try this switch continue typeof delete ' +\n 'let yield const export super debugger as async await static ' +\n // ECMAScript 6 modules import\n 'import from as'\n ,\n literal:\n 'true false null undefined NaN Infinity',\n built_in:\n 'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent ' +\n 'encodeURI encodeURIComponent escape unescape Object Function Boolean Error ' +\n 'EvalError InternalError RangeError ReferenceError StopIteration SyntaxError ' +\n 'TypeError URIError Number Math Date String RegExp Array Float32Array ' +\n 'Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array ' +\n 'Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require ' +\n 'module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect ' +\n 'Promise'\n };\n var NUMBER = {\n className: 'number',\n variants: [\n { begin: '\\\\b(0[bB][01]+)n?' },\n { begin: '\\\\b(0[oO][0-7]+)n?' },\n { begin: hljs.C_NUMBER_RE + 'n?' }\n ],\n relevance: 0\n };\n var SUBST = {\n className: 'subst',\n begin: '\\\\$\\\\{', end: '\\\\}',\n keywords: KEYWORDS,\n contains: [] // defined later\n };\n var HTML_TEMPLATE = {\n begin: 'html`', end: '',\n starts: {\n end: '`', returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'xml',\n }\n };\n var CSS_TEMPLATE = {\n begin: 'css`', end: '',\n starts: {\n end: '`', returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'css',\n }\n };\n var TEMPLATE_STRING = {\n className: 'string',\n begin: '`', end: '`',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n };\n SUBST.contains = [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n TEMPLATE_STRING,\n NUMBER,\n hljs.REGEXP_MODE\n ];\n var PARAMS_CONTAINS = SUBST.contains.concat([\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.C_LINE_COMMENT_MODE\n ]);\n\n return {\n aliases: ['js', 'jsx', 'mjs', 'cjs'],\n keywords: KEYWORDS,\n contains: [\n {\n className: 'meta',\n relevance: 10,\n begin: /^\\s*['\"]use (strict|asm)['\"]/\n },\n {\n className: 'meta',\n begin: /^#!/, end: /$/\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n TEMPLATE_STRING,\n hljs.C_LINE_COMMENT_MODE,\n hljs.COMMENT(\n '/\\\\*\\\\*',\n '\\\\*/',\n {\n relevance : 0,\n contains : [\n {\n className : 'doctag',\n begin : '@[A-Za-z]+',\n contains : [\n {\n className: 'type',\n begin: '\\\\{',\n end: '\\\\}',\n relevance: 0\n },\n {\n className: 'variable',\n begin: IDENT_RE + '(?=\\\\s*(-)|$)',\n endsParent: true,\n relevance: 0\n },\n // eat spaces (not newlines) so we can find\n // types or variables\n {\n begin: /(?=[^\\n])\\s/,\n relevance: 0\n },\n ]\n }\n ]\n }\n ),\n hljs.C_BLOCK_COMMENT_MODE,\n NUMBER,\n { // object attr container\n begin: /[{,\\n]\\s*/, relevance: 0,\n contains: [\n {\n begin: IDENT_RE + '\\\\s*:', returnBegin: true,\n relevance: 0,\n contains: [{className: 'attr', begin: IDENT_RE, relevance: 0}]\n }\n ]\n },\n { // \"value\" container\n begin: '(' + hljs.RE_STARTERS_RE + '|\\\\b(case|return|throw)\\\\b)\\\\s*',\n keywords: 'return throw case',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.REGEXP_MODE,\n {\n className: 'function',\n begin: '(\\\\(.*?\\\\)|' + IDENT_RE + ')\\\\s*=>', returnBegin: true,\n end: '\\\\s*=>',\n contains: [\n {\n className: 'params',\n variants: [\n {\n begin: IDENT_RE\n },\n {\n begin: /\\(\\s*\\)/,\n },\n {\n begin: /\\(/, end: /\\)/,\n excludeBegin: true, excludeEnd: true,\n keywords: KEYWORDS,\n contains: PARAMS_CONTAINS\n }\n ]\n }\n ]\n },\n {\n className: '',\n begin: /\\s/,\n end: /\\s*/,\n skip: true,\n },\n { // JSX\n variants: [\n { begin: FRAGMENT.begin, end: FRAGMENT.end },\n { begin: XML_TAG.begin, end: XML_TAG.end }\n ],\n subLanguage: 'xml',\n contains: [\n {\n begin: XML_TAG.begin, end: XML_TAG.end, skip: true,\n contains: ['self']\n }\n ]\n },\n ],\n relevance: 0\n },\n {\n className: 'function',\n beginKeywords: 'function', end: /\\{/, excludeEnd: true,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {begin: IDENT_RE}),\n {\n className: 'params',\n begin: /\\(/, end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n contains: PARAMS_CONTAINS\n }\n ],\n illegal: /\\[|%/\n },\n {\n begin: /\\$[(.]/ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`\n },\n hljs.METHOD_GUARD,\n { // ES6 class\n className: 'class',\n beginKeywords: 'class', end: /[{;=]/, excludeEnd: true,\n illegal: /[:\"\\[\\]]/,\n contains: [\n {beginKeywords: 'extends'},\n hljs.UNDERSCORE_TITLE_MODE\n ]\n },\n {\n beginKeywords: 'constructor get set', end: /\\{/, excludeEnd: true\n }\n ],\n illegal: /#(?!!)/\n };\n};","module.exports = function(hljs) {\n var LITERALS = {literal: 'true false null'};\n var ALLOWED_COMMENTS = [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n var TYPES = [\n hljs.QUOTE_STRING_MODE,\n hljs.C_NUMBER_MODE\n ];\n var VALUE_CONTAINER = {\n end: ',', endsWithParent: true, excludeEnd: true,\n contains: TYPES,\n keywords: LITERALS\n };\n var OBJECT = {\n begin: '{', end: '}',\n contains: [\n {\n className: 'attr',\n begin: /\"/, end: /\"/,\n contains: [hljs.BACKSLASH_ESCAPE],\n illegal: '\\\\n',\n },\n hljs.inherit(VALUE_CONTAINER, {begin: /:/})\n ].concat(ALLOWED_COMMENTS),\n illegal: '\\\\S'\n };\n var ARRAY = {\n begin: '\\\\[', end: '\\\\]',\n contains: [hljs.inherit(VALUE_CONTAINER)], // inherit is a workaround for a bug that makes shared modes with endsWithParent compile only the ending of one of the parents\n illegal: '\\\\S'\n };\n TYPES.push(OBJECT, ARRAY);\n ALLOWED_COMMENTS.forEach(function(rule) {\n TYPES.push(rule)\n })\n return {\n contains: TYPES,\n keywords: LITERALS,\n illegal: '\\\\S'\n };\n};","module.exports = function(hljs) {\n var KEYWORDS = {\n keyword:\n 'abstract as val var vararg get set class object open private protected public noinline ' +\n 'crossinline dynamic final enum if else do while for when throw try catch finally ' +\n 'import package is in fun override companion reified inline lateinit init ' +\n 'interface annotation data sealed internal infix operator out by constructor super ' +\n 'tailrec where const inner suspend typealias external expect actual ' +\n // to be deleted soon\n 'trait volatile transient native default',\n built_in:\n 'Byte Short Char Int Long Boolean Float Double Void Unit Nothing',\n literal:\n 'true false null'\n };\n var KEYWORDS_WITH_LABEL = {\n className: 'keyword',\n begin: /\\b(break|continue|return|this)\\b/,\n starts: {\n contains: [\n {\n className: 'symbol',\n begin: /@\\w+/\n }\n ]\n }\n };\n var LABEL = {\n className: 'symbol', begin: hljs.UNDERSCORE_IDENT_RE + '@'\n };\n\n // for string templates\n var SUBST = {\n className: 'subst',\n begin: '\\\\${', end: '}', contains: [hljs.C_NUMBER_MODE]\n };\n var VARIABLE = {\n className: 'variable', begin: '\\\\$' + hljs.UNDERSCORE_IDENT_RE\n };\n var STRING = {\n className: 'string',\n variants: [\n {\n begin: '\"\"\"', end: '\"\"\"(?=[^\"])',\n contains: [VARIABLE, SUBST]\n },\n // Can't use built-in modes easily, as we want to use STRING in the meta\n // context as 'meta-string' and there's no syntax to remove explicitly set\n // classNames in built-in modes.\n {\n begin: '\\'', end: '\\'',\n illegal: /\\n/,\n contains: [hljs.BACKSLASH_ESCAPE]\n },\n {\n begin: '\"', end: '\"',\n illegal: /\\n/,\n contains: [hljs.BACKSLASH_ESCAPE, VARIABLE, SUBST]\n }\n ]\n };\n SUBST.contains.push(STRING)\n\n var ANNOTATION_USE_SITE = {\n className: 'meta', begin: '@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\\\s*:(?:\\\\s*' + hljs.UNDERSCORE_IDENT_RE + ')?'\n };\n var ANNOTATION = {\n className: 'meta', begin: '@' + hljs.UNDERSCORE_IDENT_RE,\n contains: [\n {\n begin: /\\(/, end: /\\)/,\n contains: [\n hljs.inherit(STRING, {className: 'meta-string'})\n ]\n }\n ]\n };\n\n // https://kotlinlang.org/docs/reference/whatsnew11.html#underscores-in-numeric-literals\n // According to the doc above, the number mode of kotlin is the same as java 8,\n // so the code below is copied from java.js\n var KOTLIN_NUMBER_RE = '\\\\b' +\n '(' +\n '0[bB]([01]+[01_]+[01]+|[01]+)' + // 0b...\n '|' +\n '0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)' + // 0x...\n '|' +\n '(' +\n '([\\\\d]+[\\\\d_]+[\\\\d]+|[\\\\d]+)(\\\\.([\\\\d]+[\\\\d_]+[\\\\d]+|[\\\\d]+))?' +\n '|' +\n '\\\\.([\\\\d]+[\\\\d_]+[\\\\d]+|[\\\\d]+)' +\n ')' +\n '([eE][-+]?\\\\d+)?' + // octal, decimal, float\n ')' +\n '[lLfF]?';\n var KOTLIN_NUMBER_MODE = {\n className: 'number',\n begin: KOTLIN_NUMBER_RE,\n relevance: 0\n };\n var KOTLIN_NESTED_COMMENT = hljs.COMMENT(\n '/\\\\*', '\\\\*/',\n { contains: [ hljs.C_BLOCK_COMMENT_MODE ] }\n );\n var KOTLIN_PAREN_TYPE = {\n variants: [\n\t { className: 'type',\n\t begin: hljs.UNDERSCORE_IDENT_RE\n\t },\n\t { begin: /\\(/, end: /\\)/,\n\t contains: [] //defined later\n\t }\n\t]\n };\n var KOTLIN_PAREN_TYPE2 = KOTLIN_PAREN_TYPE;\n KOTLIN_PAREN_TYPE2.variants[1].contains = [ KOTLIN_PAREN_TYPE ];\n KOTLIN_PAREN_TYPE.variants[1].contains = [ KOTLIN_PAREN_TYPE2 ];\n\n return {\n aliases: ['kt'],\n keywords: KEYWORDS,\n contains : [\n hljs.COMMENT(\n '/\\\\*\\\\*',\n '\\\\*/',\n {\n relevance : 0,\n contains : [{\n className : 'doctag',\n begin : '@[A-Za-z]+'\n }]\n }\n ),\n hljs.C_LINE_COMMENT_MODE,\n KOTLIN_NESTED_COMMENT,\n KEYWORDS_WITH_LABEL,\n LABEL,\n ANNOTATION_USE_SITE,\n ANNOTATION,\n {\n className: 'function',\n beginKeywords: 'fun', end: '[(]|$',\n returnBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n illegal: /fun\\s+(<.*>)?[^\\s\\(]+(\\s+[^\\s\\(]+)\\s*=/,\n relevance: 5,\n contains: [\n {\n begin: hljs.UNDERSCORE_IDENT_RE + '\\\\s*\\\\(', returnBegin: true,\n relevance: 0,\n contains: [hljs.UNDERSCORE_TITLE_MODE]\n },\n {\n className: 'type',\n begin: /</, end: />/, keywords: 'reified',\n relevance: 0\n },\n {\n className: 'params',\n begin: /\\(/, end: /\\)/,\n endsParent: true,\n keywords: KEYWORDS,\n relevance: 0,\n contains: [\n {\n begin: /:/, end: /[=,\\/]/, endsWithParent: true,\n contains: [\n KOTLIN_PAREN_TYPE,\n hljs.C_LINE_COMMENT_MODE,\n KOTLIN_NESTED_COMMENT\n ],\n relevance: 0\n },\n hljs.C_LINE_COMMENT_MODE,\n KOTLIN_NESTED_COMMENT,\n ANNOTATION_USE_SITE,\n ANNOTATION,\n STRING,\n hljs.C_NUMBER_MODE\n ]\n },\n KOTLIN_NESTED_COMMENT\n ]\n },\n {\n className: 'class',\n beginKeywords: 'class interface trait', end: /[:\\{(]|$/, // remove 'trait' when removed from KEYWORDS\n excludeEnd: true,\n illegal: 'extends implements',\n contains: [\n {beginKeywords: 'public protected internal private constructor'},\n hljs.UNDERSCORE_TITLE_MODE,\n {\n className: 'type',\n begin: /</, end: />/, excludeBegin: true, excludeEnd: true,\n relevance: 0\n },\n {\n className: 'type',\n begin: /[,:]\\s*/, end: /[<\\(,]|$/, excludeBegin: true, returnEnd: true\n },\n ANNOTATION_USE_SITE,\n ANNOTATION\n ]\n },\n STRING,\n {\n className: 'meta',\n begin: \"^#!/usr/bin/env\", end: '$',\n illegal: '\\n'\n },\n KOTLIN_NUMBER_MODE\n ]\n };\n};","module.exports = function(hljs) {\n var IDENT_RE = '[\\\\w-]+'; // yes, Less identifiers may begin with a digit\n var INTERP_IDENT_RE = '(' + IDENT_RE + '|@{' + IDENT_RE + '})';\n\n /* Generic Modes */\n\n var RULES = [], VALUE = []; // forward def. for recursive modes\n\n var STRING_MODE = function(c) { return {\n // Less strings are not multiline (also include '~' for more consistent coloring of \"escaped\" strings)\n className: 'string', begin: '~?' + c + '.*?' + c\n };};\n\n var IDENT_MODE = function(name, begin, relevance) { return {\n className: name, begin: begin, relevance: relevance\n };};\n\n var PARENS_MODE = {\n // used only to properly balance nested parens inside mixin call, def. arg list\n begin: '\\\\(', end: '\\\\)', contains: VALUE, relevance: 0\n };\n\n // generic Less highlighter (used almost everywhere except selectors):\n VALUE.push(\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRING_MODE(\"'\"),\n STRING_MODE('\"'),\n hljs.CSS_NUMBER_MODE, // fixme: it does not include dot for numbers like .5em :(\n {\n begin: '(url|data-uri)\\\\(',\n starts: {className: 'string', end: '[\\\\)\\\\n]', excludeEnd: true}\n },\n IDENT_MODE('number', '#[0-9A-Fa-f]+\\\\b'),\n PARENS_MODE,\n IDENT_MODE('variable', '@@?' + IDENT_RE, 10),\n IDENT_MODE('variable', '@{' + IDENT_RE + '}'),\n IDENT_MODE('built_in', '~?`[^`]*?`'), // inline javascript (or whatever host language) *multiline* string\n { // @media features (it’s here to not duplicate things in AT_RULE_MODE with extra PARENS_MODE overriding):\n className: 'attribute', begin: IDENT_RE + '\\\\s*:', end: ':', returnBegin: true, excludeEnd: true\n },\n {\n className: 'meta',\n begin: '!important'\n }\n );\n\n var VALUE_WITH_RULESETS = VALUE.concat({\n begin: '{', end: '}', contains: RULES\n });\n\n var MIXIN_GUARD_MODE = {\n beginKeywords: 'when', endsWithParent: true,\n contains: [{beginKeywords: 'and not'}].concat(VALUE) // using this form to override VALUE’s 'function' match\n };\n\n /* Rule-Level Modes */\n\n var RULE_MODE = {\n begin: INTERP_IDENT_RE + '\\\\s*:', returnBegin: true, end: '[;}]',\n relevance: 0,\n contains: [\n {\n className: 'attribute',\n begin: INTERP_IDENT_RE, end: ':', excludeEnd: true,\n starts: {\n endsWithParent: true, illegal: '[<=$]',\n relevance: 0,\n contains: VALUE\n }\n }\n ]\n };\n\n var AT_RULE_MODE = {\n className: 'keyword',\n begin: '@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\\\b',\n starts: {end: '[;{}]', returnEnd: true, contains: VALUE, relevance: 0}\n };\n\n // variable definitions and calls\n var VAR_RULE_MODE = {\n className: 'variable',\n variants: [\n // using more strict pattern for higher relevance to increase chances of Less detection.\n // this is *the only* Less specific statement used in most of the sources, so...\n // (we’ll still often loose to the css-parser unless there's '//' comment,\n // simply because 1 variable just can't beat 99 properties :)\n {begin: '@' + IDENT_RE + '\\\\s*:', relevance: 15},\n {begin: '@' + IDENT_RE}\n ],\n starts: {end: '[;}]', returnEnd: true, contains: VALUE_WITH_RULESETS}\n };\n\n var SELECTOR_MODE = {\n // first parse unambiguous selectors (i.e. those not starting with tag)\n // then fall into the scary lookahead-discriminator variant.\n // this mode also handles mixin definitions and calls\n variants: [{\n begin: '[\\\\.#:&\\\\[>]', end: '[;{}]' // mixin calls end with ';'\n }, {\n begin: INTERP_IDENT_RE, end: '{'\n }],\n returnBegin: true,\n returnEnd: true,\n illegal: '[<=\\'$\"]',\n relevance: 0,\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n MIXIN_GUARD_MODE,\n IDENT_MODE('keyword', 'all\\\\b'),\n IDENT_MODE('variable', '@{' + IDENT_RE + '}'), // otherwise it’s identified as tag\n IDENT_MODE('selector-tag', INTERP_IDENT_RE + '%?', 0), // '%' for more consistent coloring of @keyframes \"tags\"\n IDENT_MODE('selector-id', '#' + INTERP_IDENT_RE),\n IDENT_MODE('selector-class', '\\\\.' + INTERP_IDENT_RE, 0),\n IDENT_MODE('selector-tag', '&', 0),\n {className: 'selector-attr', begin: '\\\\[', end: '\\\\]'},\n {className: 'selector-pseudo', begin: /:(:)?[a-zA-Z0-9\\_\\-\\+\\(\\)\"'.]+/},\n {begin: '\\\\(', end: '\\\\)', contains: VALUE_WITH_RULESETS}, // argument list of parametric mixins\n {begin: '!important'} // eat !important after mixin call or it will be colored as tag\n ]\n };\n\n RULES.push(\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n AT_RULE_MODE,\n VAR_RULE_MODE,\n RULE_MODE,\n SELECTOR_MODE\n );\n\n return {\n case_insensitive: true,\n illegal: '[=>\\'/<($\"]',\n contains: RULES\n };\n};","module.exports = function(hljs) {\n var KEYWORDS = {\n keyword:\n // JS keywords\n 'in if for while finally new do return else break catch instanceof throw try this ' +\n 'switch continue typeof delete debugger case default function var with ' +\n // LiveScript keywords\n 'then unless until loop of by when and or is isnt not it that otherwise from to til fallthrough super ' +\n 'case default function var void const let enum export import native list map ' +\n '__hasProp __extends __slice __bind __indexOf',\n literal:\n // JS literals\n 'true false null undefined ' +\n // LiveScript literals\n 'yes no on off it that void',\n built_in:\n 'npm require console print module global window document'\n };\n var JS_IDENT_RE = '[A-Za-z$_](?:\\-[0-9A-Za-z$_]|[0-9A-Za-z$_])*';\n var TITLE = hljs.inherit(hljs.TITLE_MODE, {begin: JS_IDENT_RE});\n var SUBST = {\n className: 'subst',\n begin: /#\\{/, end: /}/,\n keywords: KEYWORDS\n };\n var SUBST_SIMPLE = {\n className: 'subst',\n begin: /#[A-Za-z$_]/, end: /(?:\\-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,\n keywords: KEYWORDS\n };\n var EXPRESSIONS = [\n hljs.BINARY_NUMBER_MODE,\n {\n className: 'number',\n begin: '(\\\\b0[xX][a-fA-F0-9_]+)|(\\\\b\\\\d(\\\\d|_\\\\d)*(\\\\.(\\\\d(\\\\d|_\\\\d)*)?)?(_*[eE]([-+]\\\\d(_\\\\d|\\\\d)*)?)?[_a-z]*)',\n relevance: 0,\n starts: {end: '(\\\\s*/)?', relevance: 0} // a number tries to eat the following slash to prevent treating it as a regexp\n },\n {\n className: 'string',\n variants: [\n {\n begin: /'''/, end: /'''/,\n contains: [hljs.BACKSLASH_ESCAPE]\n },\n {\n begin: /'/, end: /'/,\n contains: [hljs.BACKSLASH_ESCAPE]\n },\n {\n begin: /\"\"\"/, end: /\"\"\"/,\n contains: [hljs.BACKSLASH_ESCAPE, SUBST, SUBST_SIMPLE]\n },\n {\n begin: /\"/, end: /\"/,\n contains: [hljs.BACKSLASH_ESCAPE, SUBST, SUBST_SIMPLE]\n },\n {\n begin: /\\\\/, end: /(\\s|$)/,\n excludeEnd: true\n }\n ]\n },\n {\n className: 'regexp',\n variants: [\n {\n begin: '//', end: '//[gim]*',\n contains: [SUBST, hljs.HASH_COMMENT_MODE]\n },\n {\n // regex can't start with space to parse x / 2 / 3 as two divisions\n // regex can't start with *, and it supports an \"illegal\" in the main mode\n begin: /\\/(?![ *])(\\\\\\/|.)*?\\/[gim]*(?=\\W)/\n }\n ]\n },\n {\n begin: '@' + JS_IDENT_RE\n },\n {\n begin: '``', end: '``',\n excludeBegin: true, excludeEnd: true,\n subLanguage: 'javascript'\n }\n ];\n SUBST.contains = EXPRESSIONS;\n\n var PARAMS = {\n className: 'params',\n begin: '\\\\(', returnBegin: true,\n /* We need another contained nameless mode to not have every nested\n pair of parens to be called \"params\" */\n contains: [\n {\n begin: /\\(/, end: /\\)/,\n keywords: KEYWORDS,\n contains: ['self'].concat(EXPRESSIONS)\n }\n ]\n };\n\n var SYMBOLS = {\n begin: '(#=>|=>|\\\\|>>|-?->|\\\\!->)'\n };\n\n return {\n aliases: ['ls'],\n keywords: KEYWORDS,\n illegal: /\\/\\*/,\n contains: EXPRESSIONS.concat([\n hljs.COMMENT('\\\\/\\\\*', '\\\\*\\\\/'),\n hljs.HASH_COMMENT_MODE,\n SYMBOLS, // relevance booster\n {\n className: 'function',\n contains: [TITLE, PARAMS],\n returnBegin: true,\n variants: [\n {\n begin: '(' + JS_IDENT_RE + '\\\\s*(?:=|:=)\\\\s*)?(\\\\(.*\\\\))?\\\\s*\\\\B\\\\->\\\\*?', end: '\\\\->\\\\*?'\n },\n {\n begin: '(' + JS_IDENT_RE + '\\\\s*(?:=|:=)\\\\s*)?!?(\\\\(.*\\\\))?\\\\s*\\\\B[-~]{1,2}>\\\\*?', end: '[-~]{1,2}>\\\\*?'\n },\n {\n begin: '(' + JS_IDENT_RE + '\\\\s*(?:=|:=)\\\\s*)?(\\\\(.*\\\\))?\\\\s*\\\\B!?[-~]{1,2}>\\\\*?', end: '!?[-~]{1,2}>\\\\*?'\n }\n ]\n },\n {\n className: 'class',\n beginKeywords: 'class',\n end: '$',\n illegal: /[:=\"\\[\\]]/,\n contains: [\n {\n beginKeywords: 'extends',\n endsWithParent: true,\n illegal: /[:=\"\\[\\]]/,\n contains: [TITLE]\n },\n TITLE\n ]\n },\n {\n begin: JS_IDENT_RE + ':', end: ':',\n returnBegin: true, returnEnd: true,\n relevance: 0\n }\n ])\n };\n};","module.exports = function(hljs) {\n var OPENING_LONG_BRACKET = '\\\\[=*\\\\[';\n var CLOSING_LONG_BRACKET = '\\\\]=*\\\\]';\n var LONG_BRACKETS = {\n begin: OPENING_LONG_BRACKET, end: CLOSING_LONG_BRACKET,\n contains: ['self']\n };\n var COMMENTS = [\n hljs.COMMENT('--(?!' + OPENING_LONG_BRACKET + ')', '$'),\n hljs.COMMENT(\n '--' + OPENING_LONG_BRACKET,\n CLOSING_LONG_BRACKET,\n {\n contains: [LONG_BRACKETS],\n relevance: 10\n }\n )\n ];\n return {\n lexemes: hljs.UNDERSCORE_IDENT_RE,\n keywords: {\n literal: \"true false nil\",\n keyword: \"and break do else elseif end for goto if in local not or repeat return then until while\",\n built_in:\n //Metatags and globals:\n '_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len ' +\n '__gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert ' +\n //Standard methods and properties:\n 'collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring' +\n 'module next pairs pcall print rawequal rawget rawset require select setfenv' +\n 'setmetatable tonumber tostring type unpack xpcall arg self' +\n //Library methods and properties (one line per library):\n 'coroutine resume yield status wrap create running debug getupvalue ' +\n 'debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv ' +\n 'io lines write close flush open output type read stderr stdin input stdout popen tmpfile ' +\n 'math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan ' +\n 'os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall ' +\n 'string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower ' +\n 'table setn insert getn foreachi maxn foreach concat sort remove'\n },\n contains: COMMENTS.concat([\n {\n className: 'function',\n beginKeywords: 'function', end: '\\\\)',\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {begin: '([_a-zA-Z]\\\\w*\\\\.)*([_a-zA-Z]\\\\w*:)?[_a-zA-Z]\\\\w*'}),\n {\n className: 'params',\n begin: '\\\\(', endsWithParent: true,\n contains: COMMENTS\n }\n ].concat(COMMENTS)\n },\n hljs.C_NUMBER_MODE,\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n {\n className: 'string',\n begin: OPENING_LONG_BRACKET, end: CLOSING_LONG_BRACKET,\n contains: [LONG_BRACKETS],\n relevance: 5\n }\n ])\n };\n};","module.exports = function(hljs) {\n /* Variables: simple (eg $(var)) and special (eg $@) */\n var VARIABLE = {\n className: 'variable',\n variants: [\n {\n begin: '\\\\$\\\\(' + hljs.UNDERSCORE_IDENT_RE + '\\\\)',\n contains: [hljs.BACKSLASH_ESCAPE],\n },\n {\n begin: /\\$[@%<?\\^\\+\\*]/\n },\n ]\n };\n /* Quoted string with variables inside */\n var QUOTE_STRING = {\n className: 'string',\n begin: /\"/, end: /\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VARIABLE,\n ]\n };\n /* Function: $(func arg,...) */\n var FUNC = {\n className: 'variable',\n begin: /\\$\\([\\w-]+\\s/, end: /\\)/,\n keywords: {\n built_in:\n 'subst patsubst strip findstring filter filter-out sort ' +\n 'word wordlist firstword lastword dir notdir suffix basename ' +\n 'addsuffix addprefix join wildcard realpath abspath error warning ' +\n 'shell origin flavor foreach if or and call eval file value',\n },\n contains: [\n VARIABLE,\n ]\n };\n /* Variable assignment */\n var ASSIGNMENT = {\n begin: '^' + hljs.UNDERSCORE_IDENT_RE + '\\\\s*(?=[:+?]?=)'\n };\n /* Meta targets (.PHONY) */\n var META = {\n className: 'meta',\n begin: /^\\.PHONY:/, end: /$/,\n keywords: {'meta-keyword': '.PHONY'},\n lexemes: /[\\.\\w]+/\n };\n /* Targets */\n var TARGET = {\n className: 'section',\n begin: /^[^\\s]+:/, end: /$/,\n contains: [VARIABLE,]\n };\n return {\n aliases: ['mk', 'mak'],\n keywords:\n 'define endef undefine ifdef ifndef ifeq ifneq else endif ' +\n 'include -include sinclude override export unexport private vpath',\n lexemes: /[\\w-]+/,\n contains: [\n hljs.HASH_COMMENT_MODE,\n VARIABLE,\n QUOTE_STRING,\n FUNC,\n ASSIGNMENT,\n META,\n TARGET,\n ]\n };\n};","module.exports = function(hljs) {\n var PERL_KEYWORDS = 'getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ' +\n 'ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime ' +\n 'readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qq' +\n 'fileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent ' +\n 'shutdown dump chomp connect getsockname die socketpair close flock exists index shmget' +\n 'sub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr ' +\n 'unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 ' +\n 'getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline ' +\n 'endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand ' +\n 'mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink ' +\n 'getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr ' +\n 'untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link ' +\n 'getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller ' +\n 'lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and ' +\n 'sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 ' +\n 'chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach ' +\n 'tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedir' +\n 'ioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe ' +\n 'atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when';\n var SUBST = {\n className: 'subst',\n begin: '[$@]\\\\{', end: '\\\\}',\n keywords: PERL_KEYWORDS\n };\n var METHOD = {\n begin: '->{', end: '}'\n // contains defined later\n };\n var VAR = {\n variants: [\n {begin: /\\$\\d/},\n {begin: /[\\$%@](\\^\\w\\b|#\\w+(::\\w+)*|{\\w+}|\\w+(::\\w*)*)/},\n {begin: /[\\$%@][^\\s\\w{]/, relevance: 0}\n ]\n };\n var STRING_CONTAINS = [hljs.BACKSLASH_ESCAPE, SUBST, VAR];\n var PERL_DEFAULT_CONTAINS = [\n VAR,\n hljs.HASH_COMMENT_MODE,\n hljs.COMMENT(\n '^\\\\=\\\\w',\n '\\\\=cut',\n {\n endsWithParent: true\n }\n ),\n METHOD,\n {\n className: 'string',\n contains: STRING_CONTAINS,\n variants: [\n {\n begin: 'q[qwxr]?\\\\s*\\\\(', end: '\\\\)',\n relevance: 5\n },\n {\n begin: 'q[qwxr]?\\\\s*\\\\[', end: '\\\\]',\n relevance: 5\n },\n {\n begin: 'q[qwxr]?\\\\s*\\\\{', end: '\\\\}',\n relevance: 5\n },\n {\n begin: 'q[qwxr]?\\\\s*\\\\|', end: '\\\\|',\n relevance: 5\n },\n {\n begin: 'q[qwxr]?\\\\s*\\\\<', end: '\\\\>',\n relevance: 5\n },\n {\n begin: 'qw\\\\s+q', end: 'q',\n relevance: 5\n },\n {\n begin: '\\'', end: '\\'',\n contains: [hljs.BACKSLASH_ESCAPE]\n },\n {\n begin: '\"', end: '\"'\n },\n {\n begin: '`', end: '`',\n contains: [hljs.BACKSLASH_ESCAPE]\n },\n {\n begin: '{\\\\w+}',\n contains: [],\n relevance: 0\n },\n {\n begin: '\\-?\\\\w+\\\\s*\\\\=\\\\>',\n contains: [],\n relevance: 0\n }\n ]\n },\n {\n className: 'number',\n begin: '(\\\\b0[0-7_]+)|(\\\\b0x[0-9a-fA-F_]+)|(\\\\b[1-9][0-9_]*(\\\\.[0-9_]+)?)|[0_]\\\\b',\n relevance: 0\n },\n { // regexp container\n begin: '(\\\\/\\\\/|' + hljs.RE_STARTERS_RE + '|\\\\b(split|return|print|reverse|grep)\\\\b)\\\\s*',\n keywords: 'split return print reverse grep',\n relevance: 0,\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n className: 'regexp',\n begin: '(s|tr|y)/(\\\\\\\\.|[^/])*/(\\\\\\\\.|[^/])*/[a-z]*',\n relevance: 10\n },\n {\n className: 'regexp',\n begin: '(m|qr)?/', end: '/[a-z]*',\n contains: [hljs.BACKSLASH_ESCAPE],\n relevance: 0 // allows empty \"//\" which is a common comment delimiter in other languages\n }\n ]\n },\n {\n className: 'function',\n beginKeywords: 'sub', end: '(\\\\s*\\\\(.*?\\\\))?[;{]', excludeEnd: true,\n relevance: 5,\n contains: [hljs.TITLE_MODE]\n },\n {\n begin: '-\\\\w\\\\b',\n relevance: 0\n },\n {\n begin: \"^__DATA__$\",\n end: \"^__END__$\",\n subLanguage: 'mojolicious',\n contains: [\n {\n begin: \"^@@.*\",\n end: \"$\",\n className: \"comment\"\n }\n ]\n }\n ];\n SUBST.contains = PERL_DEFAULT_CONTAINS;\n METHOD.contains = PERL_DEFAULT_CONTAINS;\n\n return {\n aliases: ['pl', 'pm'],\n lexemes: /[\\w\\.]+/,\n keywords: PERL_KEYWORDS,\n contains: PERL_DEFAULT_CONTAINS\n };\n};","module.exports = function(hljs) {\n var VARIABLE = {\n begin: '\\\\$+[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*'\n };\n var PREPROCESSOR = {\n className: 'meta', begin: /<\\?(php)?|\\?>/\n };\n var STRING = {\n className: 'string',\n contains: [hljs.BACKSLASH_ESCAPE, PREPROCESSOR],\n variants: [\n {\n begin: 'b\"', end: '\"'\n },\n {\n begin: 'b\\'', end: '\\''\n },\n hljs.inherit(hljs.APOS_STRING_MODE, {illegal: null}),\n hljs.inherit(hljs.QUOTE_STRING_MODE, {illegal: null})\n ]\n };\n var NUMBER = {variants: [hljs.BINARY_NUMBER_MODE, hljs.C_NUMBER_MODE]};\n return {\n aliases: ['php', 'php3', 'php4', 'php5', 'php6', 'php7'],\n case_insensitive: true,\n keywords:\n 'and include_once list abstract global private echo interface as static endswitch ' +\n 'array null if endwhile or const for endforeach self var while isset public ' +\n 'protected exit foreach throw elseif include __FILE__ empty require_once do xor ' +\n 'return parent clone use __CLASS__ __LINE__ else break print eval new ' +\n 'catch __METHOD__ case exception default die require __FUNCTION__ ' +\n 'enddeclare final try switch continue endfor endif declare unset true false ' +\n 'trait goto instanceof insteadof __DIR__ __NAMESPACE__ ' +\n 'yield finally',\n contains: [\n hljs.HASH_COMMENT_MODE,\n hljs.COMMENT('//', '$', {contains: [PREPROCESSOR]}),\n hljs.COMMENT(\n '/\\\\*',\n '\\\\*/',\n {\n contains: [\n {\n className: 'doctag',\n begin: '@[A-Za-z]+'\n }\n ]\n }\n ),\n hljs.COMMENT(\n '__halt_compiler.+?;',\n false,\n {\n endsWithParent: true,\n keywords: '__halt_compiler',\n lexemes: hljs.UNDERSCORE_IDENT_RE\n }\n ),\n {\n className: 'string',\n begin: /<<<['\"]?\\w+['\"]?$/, end: /^\\w+;?$/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n {\n className: 'subst',\n variants: [\n {begin: /\\$\\w+/},\n {begin: /\\{\\$/, end: /\\}/}\n ]\n }\n ]\n },\n PREPROCESSOR,\n {\n className: 'keyword', begin: /\\$this\\b/\n },\n VARIABLE,\n {\n // swallow composed identifiers to avoid parsing them as keywords\n begin: /(::|->)+[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*/\n },\n {\n className: 'function',\n beginKeywords: 'function', end: /[;{]/, excludeEnd: true,\n illegal: '\\\\$|\\\\[|%',\n contains: [\n hljs.UNDERSCORE_TITLE_MODE,\n {\n className: 'params',\n begin: '\\\\(', end: '\\\\)',\n contains: [\n 'self',\n VARIABLE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRING,\n NUMBER\n ]\n }\n ]\n },\n {\n className: 'class',\n beginKeywords: 'class interface', end: '{', excludeEnd: true,\n illegal: /[:\\(\\$\"]/,\n contains: [\n {beginKeywords: 'extends implements'},\n hljs.UNDERSCORE_TITLE_MODE\n ]\n },\n {\n beginKeywords: 'namespace', end: ';',\n illegal: /[\\.']/,\n contains: [hljs.UNDERSCORE_TITLE_MODE]\n },\n {\n beginKeywords: 'use', end: ';',\n contains: [hljs.UNDERSCORE_TITLE_MODE]\n },\n {\n begin: '=>' // No markup, just a relevance booster\n },\n STRING,\n NUMBER\n ]\n };\n};","module.exports = function(hljs){\n\n var TYPES =\n [\"string\", \"char\", \"byte\", \"int\", \"long\", \"bool\", \"decimal\", \"single\",\n \"double\", \"DateTime\", \"xml\", \"array\", \"hashtable\", \"void\"];\n\n // https://msdn.microsoft.com/en-us/library/ms714428(v=vs.85).aspx\n var VALID_VERBS =\n 'Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|' +\n 'Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|' +\n 'Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|' +\n 'Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|' +\n 'ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|' +\n 'Limit|Merge|New|Out|Publish|Restore|Save|Sync|Unpublish|Update|' +\n 'Approve|Assert|Complete|Confirm|Deny|Disable|Enable|Install|Invoke|Register|' +\n 'Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|' +\n 'Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|' +\n 'Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|' +\n 'Unprotect|Use|ForEach|Sort|Tee|Where';\n\n var COMPARISON_OPERATORS =\n '-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|' +\n '-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|' +\n '-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|' +\n '-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|' +\n '-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|' +\n '-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|' +\n '-split|-wildcard|-xor';\n\n var KEYWORDS = {\n keyword: 'if else foreach return do while until elseif begin for trap data dynamicparam ' +\n 'end break throw param continue finally in switch exit filter try process catch ' +\n 'hidden static parameter'\n // TODO: 'validate[A-Z]+' can't work in keywords\n };\n\n var TITLE_NAME_RE = /\\w[\\w\\d]*((-)[\\w\\d]+)*/;\n\n var BACKTICK_ESCAPE = {\n begin: '`[\\\\s\\\\S]',\n relevance: 0\n };\n\n var VAR = {\n className: 'variable',\n variants: [\n { begin: /\\$\\B/ },\n { className: 'keyword', begin: /\\$this/ },\n { begin: /\\$[\\w\\d][\\w\\d_:]*/ }\n ]\n };\n\n var LITERAL = {\n className: 'literal',\n begin: /\\$(null|true|false)\\b/\n };\n\n var QUOTE_STRING = {\n className: \"string\",\n variants: [{ begin: /\"/, end: /\"/ }, { begin: /@\"/, end: /^\"@/ }],\n contains: [\n BACKTICK_ESCAPE,\n VAR,\n {\n className: 'variable',\n begin: /\\$[A-z]/, end: /[^A-z]/\n }\n ]\n };\n\n var APOS_STRING = {\n className: 'string',\n variants: [\n { begin: /'/, end: /'/ },\n { begin: /@'/, end: /^'@/ }\n ]\n };\n\n var PS_HELPTAGS = {\n className: \"doctag\",\n variants: [\n /* no paramater help tags */\n {\n begin: /\\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/\n },\n /* one parameter help tags */\n { begin: /\\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\\s+\\S+/ }\n ]\n };\n\n var PS_COMMENT = hljs.inherit(\n hljs.COMMENT(null, null),\n {\n variants: [\n /* single-line comment */\n { begin: /#/, end: /$/ },\n /* multi-line comment */\n { begin: /<#/, end: /#>/ }\n ],\n contains: [PS_HELPTAGS]\n }\n );\n\n var CMDLETS = {\n className: 'built_in',\n variants: [\n { begin: '('.concat(VALID_VERBS, ')+(-)[\\\\w\\\\d]+') }\n ]\n };\n\n var PS_CLASS = {\n className: 'class',\n beginKeywords: 'class enum', end: /\\s*[{]/, excludeEnd: true,\n relevance: 0,\n contains: [hljs.TITLE_MODE]\n };\n\n var PS_FUNCTION = {\n className: 'function',\n begin: /function\\s+/, end: /\\s*\\{|$/,\n excludeEnd: true,\n returnBegin: true,\n relevance: 0,\n contains: [\n { begin: \"function\", relevance: 0, className: \"keyword\" },\n { className: \"title\",\n begin: TITLE_NAME_RE, relevance:0 },\n { begin: /\\(/, end: /\\)/, className: \"params\",\n relevance: 0,\n contains: [VAR] }\n // CMDLETS\n ]\n };\n\n // Using statment, plus type, plus assembly name.\n var PS_USING = {\n begin: /using\\s/, end: /$/,\n returnBegin: true,\n contains: [\n QUOTE_STRING,\n APOS_STRING,\n { className: 'keyword', begin: /(using|assembly|command|module|namespace|type)/ }\n ]\n };\n\n // Comperison operators & function named parameters.\n var PS_ARGUMENTS = {\n variants: [\n // PS literals are pretty verbose so it's a good idea to accent them a bit.\n { className: 'operator', begin: '('.concat(COMPARISON_OPERATORS, ')\\\\b') },\n { className: 'literal', begin: /(-)[\\w\\d]+/, relevance:0 }\n ]\n };\n\n var STATIC_MEMBER = {\n className: 'selector-tag',\n begin: /::\\w+\\b/, end: /$/,\n returnBegin: true,\n contains: [\n { className: 'attribute', begin: /\\w+/, endsParent: true }\n ]\n };\n\n var HASH_SIGNS = {\n className: 'selector-tag',\n begin: /\\@\\B/,\n relevance: 0\n };\n\n var PS_NEW_OBJECT_TYPE = {\n className: 'built_in',\n begin: /New-Object\\s+\\w/, end: /$/,\n returnBegin: true,\n contains: [\n { begin: /New-Object\\s+/, relevance: 0 },\n { className: 'meta', begin: /([\\w\\.])+/, endsParent: true }\n ]\n };\n\n // It's a very general rule so I'll narrow it a bit with some strict boundaries\n // to avoid any possible false-positive collisions!\n var PS_METHODS = {\n className: 'function',\n begin: /\\[.*\\]\\s*[\\w]+[ ]??\\(/, end: /$/,\n returnBegin: true,\n relevance: 0,\n contains: [\n {\n className: 'keyword', begin: '('.concat(\n KEYWORDS.keyword.toString().replace(/\\s/g, '|'\n ), ')\\\\b'),\n endsParent: true,\n relevance: 0\n },\n hljs.inherit(hljs.TITLE_MODE, { endsParent: true })\n ]\n };\n\n var GENTLEMANS_SET = [\n // STATIC_MEMBER,\n PS_METHODS,\n PS_COMMENT,\n BACKTICK_ESCAPE,\n hljs.NUMBER_MODE,\n QUOTE_STRING,\n APOS_STRING,\n // PS_NEW_OBJECT_TYPE,\n CMDLETS,\n VAR,\n LITERAL,\n HASH_SIGNS\n ];\n\n var PS_TYPE = {\n begin: /\\[/, end: /\\]/,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0,\n contains: [].concat(\n 'self',\n GENTLEMANS_SET,\n { begin: \"(\" + TYPES.join(\"|\") + \")\", className: \"built_in\", relevance:0 },\n { className: 'type', begin: /[\\.\\w\\d]+/, relevance: 0 }\n )\n };\n\n PS_METHODS.contains.unshift(PS_TYPE)\n\n return {\n aliases: [\"ps\", \"ps1\"],\n lexemes: /-?[A-z\\.\\-]+/,\n case_insensitive: true,\n keywords: KEYWORDS,\n contains: GENTLEMANS_SET.concat(\n PS_CLASS,\n PS_FUNCTION,\n PS_USING,\n PS_ARGUMENTS,\n PS_TYPE\n )\n };\n};","module.exports = function(hljs) {\n var KEYWORDS = {\n keyword:\n 'and elif is global as in if from raise for except finally print import pass return ' +\n 'exec else break not with class assert yield try while continue del or def lambda ' +\n 'async await nonlocal|10',\n built_in:\n 'Ellipsis NotImplemented',\n literal: 'False None True'\n };\n var PROMPT = {\n className: 'meta', begin: /^(>>>|\\.\\.\\.) /\n };\n var SUBST = {\n className: 'subst',\n begin: /\\{/, end: /\\}/,\n keywords: KEYWORDS,\n illegal: /#/\n };\n var LITERAL_BRACKET = {\n begin: /\\{\\{/,\n relevance: 0\n };\n var STRING = {\n className: 'string',\n contains: [hljs.BACKSLASH_ESCAPE],\n variants: [\n {\n begin: /(u|b)?r?'''/, end: /'''/,\n contains: [hljs.BACKSLASH_ESCAPE, PROMPT],\n relevance: 10\n },\n {\n begin: /(u|b)?r?\"\"\"/, end: /\"\"\"/,\n contains: [hljs.BACKSLASH_ESCAPE, PROMPT],\n relevance: 10\n },\n {\n begin: /(fr|rf|f)'''/, end: /'''/,\n contains: [hljs.BACKSLASH_ESCAPE, PROMPT, LITERAL_BRACKET, SUBST]\n },\n {\n begin: /(fr|rf|f)\"\"\"/, end: /\"\"\"/,\n contains: [hljs.BACKSLASH_ESCAPE, PROMPT, LITERAL_BRACKET, SUBST]\n },\n {\n begin: /(u|r|ur)'/, end: /'/,\n relevance: 10\n },\n {\n begin: /(u|r|ur)\"/, end: /\"/,\n relevance: 10\n },\n {\n begin: /(b|br)'/, end: /'/\n },\n {\n begin: /(b|br)\"/, end: /\"/\n },\n {\n begin: /(fr|rf|f)'/, end: /'/,\n contains: [hljs.BACKSLASH_ESCAPE, LITERAL_BRACKET, SUBST]\n },\n {\n begin: /(fr|rf|f)\"/, end: /\"/,\n contains: [hljs.BACKSLASH_ESCAPE, LITERAL_BRACKET, SUBST]\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE\n ]\n };\n var NUMBER = {\n className: 'number', relevance: 0,\n variants: [\n {begin: hljs.BINARY_NUMBER_RE + '[lLjJ]?'},\n {begin: '\\\\b(0o[0-7]+)[lLjJ]?'},\n {begin: hljs.C_NUMBER_RE + '[lLjJ]?'}\n ]\n };\n var PARAMS = {\n className: 'params',\n begin: /\\(/, end: /\\)/,\n contains: ['self', PROMPT, NUMBER, STRING, hljs.HASH_COMMENT_MODE]\n };\n SUBST.contains = [STRING, NUMBER, PROMPT];\n return {\n aliases: ['py', 'gyp', 'ipython'],\n keywords: KEYWORDS,\n illegal: /(<\\/|->|\\?)|=>/,\n contains: [\n PROMPT,\n NUMBER,\n // eat \"if\" prior to string so that it won't accidentally be\n // labeled as an f-string as in:\n { beginKeywords: \"if\", relevance: 0 },\n STRING,\n hljs.HASH_COMMENT_MODE,\n {\n variants: [\n {className: 'function', beginKeywords: 'def'},\n {className: 'class', beginKeywords: 'class'}\n ],\n end: /:/,\n illegal: /[${=;\\n,]/,\n contains: [\n hljs.UNDERSCORE_TITLE_MODE,\n PARAMS,\n {\n begin: /->/, endsWithParent: true,\n keywords: 'None'\n }\n ]\n },\n {\n className: 'meta',\n begin: /^[\\t ]*@/, end: /$/\n },\n {\n begin: /\\b(print|exec)\\(/ // don’t highlight keywords-turned-functions in Python 3\n }\n ]\n };\n};","module.exports = function(hljs) {\n var IDENT_RE = '([a-zA-Z]|\\\\.[a-zA-Z.])[a-zA-Z0-9._]*';\n\n return {\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n begin: IDENT_RE,\n lexemes: IDENT_RE,\n keywords: {\n keyword:\n 'function if in break next repeat else for return switch while try tryCatch ' +\n 'stop warning require library attach detach source setMethod setGeneric ' +\n 'setGroupGeneric setClass ...',\n literal:\n 'NULL NA TRUE FALSE T F Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 ' +\n 'NA_complex_|10'\n },\n relevance: 0\n },\n {\n // hex value\n className: 'number',\n begin: \"0[xX][0-9a-fA-F]+[Li]?\\\\b\",\n relevance: 0\n },\n {\n // explicit integer\n className: 'number',\n begin: \"\\\\d+(?:[eE][+\\\\-]?\\\\d*)?L\\\\b\",\n relevance: 0\n },\n {\n // number with trailing decimal\n className: 'number',\n begin: \"\\\\d+\\\\.(?!\\\\d)(?:i\\\\b)?\",\n relevance: 0\n },\n {\n // number\n className: 'number',\n begin: \"\\\\d+(?:\\\\.\\\\d*)?(?:[eE][+\\\\-]?\\\\d*)?i?\\\\b\",\n relevance: 0\n },\n {\n // number with leading decimal\n className: 'number',\n begin: \"\\\\.\\\\d+(?:[eE][+\\\\-]?\\\\d*)?i?\\\\b\",\n relevance: 0\n },\n\n {\n // escaped identifier\n begin: '`',\n end: '`',\n relevance: 0\n },\n\n {\n className: 'string',\n contains: [hljs.BACKSLASH_ESCAPE],\n variants: [\n {begin: '\"', end: '\"'},\n {begin: \"'\", end: \"'\"}\n ]\n }\n ]\n };\n};","module.exports = function(hljs) {\n var NUM_SUFFIX = '([ui](8|16|32|64|128|size)|f(32|64))\\?';\n var KEYWORDS =\n 'abstract as async await become box break const continue crate do dyn ' +\n 'else enum extern false final fn for if impl in let loop macro match mod ' +\n 'move mut override priv pub ref return self Self static struct super ' +\n 'trait true try type typeof unsafe unsized use virtual where while yield';\n var BUILTINS =\n // functions\n 'drop ' +\n // types\n 'i8 i16 i32 i64 i128 isize ' +\n 'u8 u16 u32 u64 u128 usize ' +\n 'f32 f64 ' +\n 'str char bool ' +\n 'Box Option Result String Vec ' +\n // traits\n 'Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug ' +\n 'PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator ' +\n 'Extend IntoIterator DoubleEndedIterator ExactSizeIterator ' +\n 'SliceConcatExt ToString ' +\n // macros\n 'assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! ' +\n 'debug_assert! debug_assert_eq! env! panic! file! format! format_args! ' +\n 'include_bin! include_str! line! local_data_key! module_path! ' +\n 'option_env! print! println! select! stringify! try! unimplemented! ' +\n 'unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!';\n return {\n aliases: ['rs'],\n keywords: {\n keyword:\n KEYWORDS,\n literal:\n 'true false Some None Ok Err',\n built_in:\n BUILTINS\n },\n lexemes: hljs.IDENT_RE + '!?',\n illegal: '</',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.COMMENT('/\\\\*', '\\\\*/', {contains: ['self']}),\n hljs.inherit(hljs.QUOTE_STRING_MODE, {begin: /b?\"/, illegal: null}),\n {\n className: 'string',\n variants: [\n { begin: /r(#*)\"(.|\\n)*?\"\\1(?!#)/ },\n { begin: /b?'\\\\?(x\\w{2}|u\\w{4}|U\\w{8}|.)'/ }\n ]\n },\n {\n className: 'symbol',\n begin: /'[a-zA-Z_][a-zA-Z0-9_]*/\n },\n {\n className: 'number',\n variants: [\n { begin: '\\\\b0b([01_]+)' + NUM_SUFFIX },\n { begin: '\\\\b0o([0-7_]+)' + NUM_SUFFIX },\n { begin: '\\\\b0x([A-Fa-f0-9_]+)' + NUM_SUFFIX },\n { begin: '\\\\b(\\\\d[\\\\d_]*(\\\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)' +\n NUM_SUFFIX\n }\n ],\n relevance: 0\n },\n {\n className: 'function',\n beginKeywords: 'fn', end: '(\\\\(|<)', excludeEnd: true,\n contains: [hljs.UNDERSCORE_TITLE_MODE]\n },\n {\n className: 'meta',\n begin: '#\\\\!?\\\\[', end: '\\\\]',\n contains: [\n {\n className: 'meta-string',\n begin: /\"/, end: /\"/\n }\n ]\n },\n {\n className: 'class',\n beginKeywords: 'type', end: ';',\n contains: [\n hljs.inherit(hljs.UNDERSCORE_TITLE_MODE, {endsParent: true})\n ],\n illegal: '\\\\S'\n },\n {\n className: 'class',\n beginKeywords: 'trait enum struct union', end: '{',\n contains: [\n hljs.inherit(hljs.UNDERSCORE_TITLE_MODE, {endsParent: true})\n ],\n illegal: '[\\\\w\\\\d]'\n },\n {\n begin: hljs.IDENT_RE + '::',\n keywords: {built_in: BUILTINS}\n },\n {\n begin: '->'\n }\n ]\n };\n};","module.exports = function(hljs) {\n\n var ANNOTATION = { className: 'meta', begin: '@[A-Za-z]+' };\n\n // used in strings for escaping/interpolation/substitution\n var SUBST = {\n className: 'subst',\n variants: [\n {begin: '\\\\$[A-Za-z0-9_]+'},\n {begin: '\\\\${', end: '}'}\n ]\n };\n\n var STRING = {\n className: 'string',\n variants: [\n {\n begin: '\"', end: '\"',\n illegal: '\\\\n',\n contains: [hljs.BACKSLASH_ESCAPE]\n },\n {\n begin: '\"\"\"', end: '\"\"\"',\n relevance: 10\n },\n {\n begin: '[a-z]+\"', end: '\"',\n illegal: '\\\\n',\n contains: [hljs.BACKSLASH_ESCAPE, SUBST]\n },\n {\n className: 'string',\n begin: '[a-z]+\"\"\"', end: '\"\"\"',\n contains: [SUBST],\n relevance: 10\n }\n ]\n\n };\n\n var SYMBOL = {\n className: 'symbol',\n begin: '\\'\\\\w[\\\\w\\\\d_]*(?!\\')'\n };\n\n var TYPE = {\n className: 'type',\n begin: '\\\\b[A-Z][A-Za-z0-9_]*',\n relevance: 0\n };\n\n var NAME = {\n className: 'title',\n begin: /[^0-9\\n\\t \"'(),.`{}\\[\\]:;][^\\n\\t \"'(),.`{}\\[\\]:;]+|[^0-9\\n\\t \"'(),.`{}\\[\\]:;=]/,\n relevance: 0\n };\n\n var CLASS = {\n className: 'class',\n beginKeywords: 'class object trait type',\n end: /[:={\\[\\n;]/,\n excludeEnd: true,\n contains: [\n {\n beginKeywords: 'extends with',\n relevance: 10\n },\n {\n begin: /\\[/,\n end: /\\]/,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0,\n contains: [TYPE]\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0,\n contains: [TYPE]\n },\n NAME\n ]\n };\n\n var METHOD = {\n className: 'function',\n beginKeywords: 'def',\n end: /[:={\\[(\\n;]/,\n excludeEnd: true,\n contains: [NAME]\n };\n\n return {\n keywords: {\n literal: 'true false null',\n keyword: 'type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit'\n },\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRING,\n SYMBOL,\n TYPE,\n METHOD,\n CLASS,\n hljs.C_NUMBER_MODE,\n ANNOTATION\n ]\n };\n};","module.exports = function(hljs) {\n var AT_IDENTIFIER = '@[a-z-]+' // @font-face\n var AT_MODIFIERS = \"and or not only\"\n var IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*';\n var VARIABLE = {\n className: 'variable',\n begin: '(\\\\$' + IDENT_RE + ')\\\\b'\n };\n var HEXCOLOR = {\n className: 'number', begin: '#[0-9A-Fa-f]+'\n };\n var DEF_INTERNALS = {\n className: 'attribute',\n begin: '[A-Z\\\\_\\\\.\\\\-]+', end: ':',\n excludeEnd: true,\n illegal: '[^\\\\s]',\n starts: {\n endsWithParent: true, excludeEnd: true,\n contains: [\n HEXCOLOR,\n hljs.CSS_NUMBER_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'meta', begin: '!important'\n }\n ]\n }\n };\n return {\n case_insensitive: true,\n illegal: '[=/|\\']',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'selector-id', begin: '\\\\#[A-Za-z0-9_-]+',\n relevance: 0\n },\n {\n className: 'selector-class', begin: '\\\\.[A-Za-z0-9_-]+',\n relevance: 0\n },\n {\n className: 'selector-attr', begin: '\\\\[', end: '\\\\]',\n illegal: '$'\n },\n {\n className: 'selector-tag', // begin: IDENT_RE, end: '[,|\\\\s]'\n begin: '\\\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\\\b',\n relevance: 0\n },\n {\n className: 'selector-pseudo',\n begin: ':(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)'\n },\n {\n className: 'selector-pseudo',\n begin: '::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)'\n },\n VARIABLE,\n {\n className: 'attribute',\n begin: '\\\\b(src|z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\\\b',\n illegal: '[^\\\\s]'\n },\n {\n begin: '\\\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\\\b'\n },\n {\n begin: ':', end: ';',\n contains: [\n VARIABLE,\n HEXCOLOR,\n hljs.CSS_NUMBER_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n {\n className: 'meta', begin: '!important'\n }\n ]\n },\n // matching these here allows us to treat them more like regular CSS\n // rules so everything between the {} gets regular rule highlighting,\n // which is what we want for page and font-face\n {\n begin: '@(page|font-face)',\n lexemes: AT_IDENTIFIER,\n keywords: '@page @font-face'\n },\n {\n begin: '@', end: '[{;]',\n returnBegin: true,\n keywords: AT_MODIFIERS,\n contains: [\n {\n begin: AT_IDENTIFIER,\n className: \"keyword\"\n },\n VARIABLE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n HEXCOLOR,\n hljs.CSS_NUMBER_MODE,\n // {\n // begin: '\\\\s[A-Za-z0-9_.-]+',\n // relevance: 0\n // }\n ]\n }\n ]\n };\n};","module.exports = function(hljs) {\n return {\n aliases: ['console'],\n contains: [\n {\n className: 'meta',\n begin: '^\\\\s{0,3}[/\\\\w\\\\d\\\\[\\\\]()@-]*[>%$#]',\n starts: {\n end: '$', subLanguage: 'bash'\n }\n }\n ]\n }\n};","module.exports = function(hljs) {\n var COMMENT_MODE = hljs.COMMENT('--', '$');\n return {\n case_insensitive: true,\n illegal: /[<>{}*]/,\n contains: [\n {\n beginKeywords:\n 'begin end start commit rollback savepoint lock alter create drop rename call ' +\n 'delete do handler insert load replace select truncate update set show pragma grant ' +\n 'merge describe use explain help declare prepare execute deallocate release ' +\n 'unlock purge reset change stop analyze cache flush optimize repair kill ' +\n 'install uninstall checksum restore check backup revoke comment values with',\n end: /;/, endsWithParent: true,\n lexemes: /[\\w\\.]+/,\n keywords: {\n keyword:\n 'as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add ' +\n 'addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias ' +\n 'all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply ' +\n 'archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan ' +\n 'atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid ' +\n 'authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile ' +\n 'before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float ' +\n 'binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound ' +\n 'bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel ' +\n 'capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base ' +\n 'char_length character_length characters characterset charindex charset charsetform charsetid check ' +\n 'checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close ' +\n 'cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation ' +\n 'collect colu colum column column_value columns columns_updated comment commit compact compatibility ' +\n 'compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn ' +\n 'connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection ' +\n 'consider consistent constant constraint constraints constructor container content contents context ' +\n 'contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost ' +\n 'count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation ' +\n 'critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user ' +\n 'cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add ' +\n 'date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts ' +\n 'day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate ' +\n 'declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults ' +\n 'deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank ' +\n 'depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor ' +\n 'deterministic diagnostics difference dimension direct_load directory disable disable_all ' +\n 'disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div ' +\n 'do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable ' +\n 'editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt ' +\n 'end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors ' +\n 'escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding ' +\n 'execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external ' +\n 'external_1 external_2 externally extract failed failed_login_attempts failover failure far fast ' +\n 'feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final ' +\n 'finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign ' +\n 'form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ' +\n 'ftp full function general generated get get_format get_lock getdate getutcdate global global_name ' +\n 'globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups ' +\n 'gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex ' +\n 'hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified ' +\n 'identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment ' +\n 'index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile ' +\n 'initial initialized initially initrans inmemory inner innodb input insert install instance instantiable ' +\n 'instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat ' +\n 'is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists ' +\n 'keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase ' +\n 'lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit ' +\n 'lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate ' +\n 'locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call ' +\n 'logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime ' +\n 'managed management manual map mapping mask master master_pos_wait match matched materialized max ' +\n 'maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans ' +\n 'md5 measures median medium member memcompress memory merge microsecond mid migration min minextents ' +\n 'minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month ' +\n 'months mount move movement multiset mutex name name_const names nan national native natural nav nchar ' +\n 'nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile ' +\n 'nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile ' +\n 'nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder ' +\n 'nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck ' +\n 'noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe ' +\n 'nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ' +\n 'ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old ' +\n 'on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date ' +\n 'oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary ' +\n 'out outer outfile outline output over overflow overriding package pad parallel parallel_enable ' +\n 'parameters parent parse partial partition partitions pascal passing password password_grace_time ' +\n 'password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex ' +\n 'pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc ' +\n 'performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin ' +\n 'policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction ' +\n 'prediction_cost prediction_details prediction_probability prediction_set prepare present preserve ' +\n 'prior priority private private_sga privileges procedural procedure procedure_analyze processlist ' +\n 'profiles project prompt protection public publishingservername purge quarter query quick quiesce quota ' +\n 'quotename radians raise rand range rank raw read reads readsize rebuild record records ' +\n 'recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh ' +\n 'regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy ' +\n 'reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename ' +\n 'repair repeat replace replicate replication required reset resetlogs resize resource respect restore ' +\n 'restricted result result_cache resumable resume retention return returning returns reuse reverse revoke ' +\n 'right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows ' +\n 'rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll ' +\n 'sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select ' +\n 'self semi sequence sequential serializable server servererror session session_user sessions_per_user set ' +\n 'sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor ' +\n 'si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin ' +\n 'size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex ' +\n 'source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows ' +\n 'sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone ' +\n 'standby start starting startup statement static statistics stats_binomial_test stats_crosstab ' +\n 'stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep ' +\n 'stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev ' +\n 'stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate ' +\n 'subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum ' +\n 'suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate ' +\n 'sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo ' +\n 'template temporary terminated tertiary_weights test than then thread through tier ties time time_format ' +\n 'time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr ' +\n 'timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking ' +\n 'transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate ' +\n 'try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress ' +\n 'under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot ' +\n 'unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert ' +\n 'url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date ' +\n 'utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var ' +\n 'var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray ' +\n 'verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear ' +\n 'wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped ' +\n 'xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces ' +\n 'xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek',\n literal:\n 'true false null unknown',\n built_in:\n 'array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number ' +\n 'numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void'\n },\n contains: [\n {\n className: 'string',\n begin: '\\'', end: '\\'',\n contains: [{begin: '\\'\\''}]\n },\n {\n className: 'string',\n begin: '\"', end: '\"',\n contains: [{begin: '\"\"'}]\n },\n {\n className: 'string',\n begin: '`', end: '`'\n },\n hljs.C_NUMBER_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n COMMENT_MODE,\n hljs.HASH_COMMENT_MODE\n ]\n },\n hljs.C_BLOCK_COMMENT_MODE,\n COMMENT_MODE,\n hljs.HASH_COMMENT_MODE\n ]\n };\n};","module.exports = function(hljs) {\n var SWIFT_KEYWORDS = {\n keyword: '#available #colorLiteral #column #else #elseif #endif #file ' +\n '#fileLiteral #function #if #imageLiteral #line #selector #sourceLocation ' +\n '_ __COLUMN__ __FILE__ __FUNCTION__ __LINE__ Any as as! as? associatedtype ' +\n 'associativity break case catch class continue convenience default defer deinit didSet do ' +\n 'dynamic dynamicType else enum extension fallthrough false fileprivate final for func ' +\n 'get guard if import in indirect infix init inout internal is lazy left let ' +\n 'mutating nil none nonmutating open operator optional override postfix precedence ' +\n 'prefix private protocol Protocol public repeat required rethrows return ' +\n 'right self Self set static struct subscript super switch throw throws true ' +\n 'try try! try? Type typealias unowned var weak where while willSet',\n literal: 'true false nil',\n built_in: 'abs advance alignof alignofValue anyGenerator assert assertionFailure ' +\n 'bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC ' +\n 'bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros ' +\n 'debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords ' +\n 'enumerate equal fatalError filter find getBridgedObjectiveCType getVaList ' +\n 'indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC ' +\n 'isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare ' +\n 'map max maxElement min minElement numericCast overlaps partition posix ' +\n 'precondition preconditionFailure print println quickSort readLine reduce reflect ' +\n 'reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split ' +\n 'startsWith stride strideof strideofValue swap toString transcode ' +\n 'underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap ' +\n 'unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer ' +\n 'withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers ' +\n 'withUnsafePointer withUnsafePointers withVaList zip'\n };\n\n var TYPE = {\n className: 'type',\n begin: '\\\\b[A-Z][\\\\w\\u00C0-\\u02B8\\']*',\n relevance: 0\n };\n // slightly more special to swift\n var OPTIONAL_USING_TYPE = {\n className: 'type',\n begin: '\\\\b[A-Z][\\\\w\\u00C0-\\u02B8\\']*[!?]'\n }\n var BLOCK_COMMENT = hljs.COMMENT(\n '/\\\\*',\n '\\\\*/',\n {\n contains: ['self']\n }\n );\n var SUBST = {\n className: 'subst',\n begin: /\\\\\\(/, end: '\\\\)',\n keywords: SWIFT_KEYWORDS,\n contains: [] // assigned later\n };\n var STRING = {\n className: 'string',\n contains: [hljs.BACKSLASH_ESCAPE, SUBST],\n variants: [\n {begin: /\"\"\"/, end: /\"\"\"/},\n {begin: /\"/, end: /\"/},\n ]\n };\n var NUMBERS = {\n className: 'number',\n begin: '\\\\b([\\\\d_]+(\\\\.[\\\\deE_]+)?|0x[a-fA-F0-9_]+(\\\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\\\b',\n relevance: 0\n };\n SUBST.contains = [NUMBERS];\n\n return {\n keywords: SWIFT_KEYWORDS,\n contains: [\n STRING,\n hljs.C_LINE_COMMENT_MODE,\n BLOCK_COMMENT,\n OPTIONAL_USING_TYPE,\n TYPE,\n NUMBERS,\n {\n className: 'function',\n beginKeywords: 'func', end: '{', excludeEnd: true,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {\n begin: /[A-Za-z$_][0-9A-Za-z$_]*/\n }),\n {\n begin: /</, end: />/\n },\n {\n className: 'params',\n begin: /\\(/, end: /\\)/, endsParent: true,\n keywords: SWIFT_KEYWORDS,\n contains: [\n 'self',\n NUMBERS,\n STRING,\n hljs.C_BLOCK_COMMENT_MODE,\n {begin: ':'} // relevance booster\n ],\n illegal: /[\"']/\n }\n ],\n illegal: /\\[|%/\n },\n {\n className: 'class',\n beginKeywords: 'struct protocol class extension enum',\n keywords: SWIFT_KEYWORDS,\n end: '\\\\{',\n excludeEnd: true,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {begin: /[A-Za-z$_][\\u00C0-\\u02B80-9A-Za-z$_]*/})\n ]\n },\n {\n className: 'meta', // @attributes\n begin: '(@discardableResult|@warn_unused_result|@exported|@lazy|@noescape|' +\n '@NSCopying|@NSManaged|@objc|@objcMembers|@convention|@required|' +\n '@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|' +\n '@infix|@prefix|@postfix|@autoclosure|@testable|@available|' +\n '@nonobjc|@NSApplicationMain|@UIApplicationMain|@dynamicMemberLookup|' +\n '@propertyWrapper)'\n\n },\n {\n beginKeywords: 'import', end: /$/,\n contains: [hljs.C_LINE_COMMENT_MODE, BLOCK_COMMENT]\n }\n ]\n };\n};","module.exports = function(hljs) {\n var LITERALS = 'true false yes no null';\n\n // Define keys as starting with a word character\n // ...containing word chars, spaces, colons, forward-slashes, hyphens and periods\n // ...and ending with a colon followed immediately by a space, tab or newline.\n // The YAML spec allows for much more than this, but this covers most use-cases.\n var KEY = {\n className: 'attr',\n variants: [\n { begin: '\\\\w[\\\\w :\\\\/.-]*:(?=[ \\t]|$)' },\n { begin: '\"\\\\w[\\\\w :\\\\/.-]*\":(?=[ \\t]|$)' }, //double quoted keys\n { begin: '\\'\\\\w[\\\\w :\\\\/.-]*\\':(?=[ \\t]|$)' } //single quoted keys\n ]\n };\n\n var TEMPLATE_VARIABLES = {\n className: 'template-variable',\n variants: [\n { begin: '\\{\\{', end: '\\}\\}' }, // jinja templates Ansible\n { begin: '%\\{', end: '\\}' } // Ruby i18n\n ]\n };\n var STRING = {\n className: 'string',\n relevance: 0,\n variants: [\n {begin: /'/, end: /'/},\n {begin: /\"/, end: /\"/},\n {begin: /\\S+/}\n ],\n contains: [\n hljs.BACKSLASH_ESCAPE,\n TEMPLATE_VARIABLES\n ]\n };\n\n return {\n case_insensitive: true,\n aliases: ['yml', 'YAML', 'yaml'],\n contains: [\n KEY,\n {\n className: 'meta',\n begin: '^---\\s*$',\n relevance: 10\n },\n { // multi line string\n // Blocks start with a | or > followed by a newline\n //\n // Indentation of subsequent lines must be the same to\n // be considered part of the block\n className: 'string',\n begin: '[\\\\|>]([0-9]?[+-])?[ ]*\\\\n( *)[\\\\S ]+\\\\n(\\\\2[\\\\S ]+\\\\n?)*',\n },\n { // Ruby/Rails erb\n begin: '<%[%=-]?', end: '[%-]?%>',\n subLanguage: 'ruby',\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0\n },\n { // local tags\n className: 'type',\n begin: '!' + hljs.UNDERSCORE_IDENT_RE,\n },\n { // data type\n className: 'type',\n begin: '!!' + hljs.UNDERSCORE_IDENT_RE,\n },\n { // fragment id &ref\n className: 'meta',\n begin: '&' + hljs.UNDERSCORE_IDENT_RE + '$',\n },\n { // fragment reference *ref\n className: 'meta',\n begin: '\\\\*' + hljs.UNDERSCORE_IDENT_RE + '$'\n },\n { // array listing\n className: 'bullet',\n // TODO: remove |$ hack when we have proper look-ahead support\n begin: '\\\\-(?=[ ]|$)',\n relevance: 0\n },\n hljs.HASH_COMMENT_MODE,\n {\n beginKeywords: LITERALS,\n keywords: {literal: LITERALS}\n },\n // numbers are any valid C-style number that\n // sit isolated from other words\n {\n className: 'number',\n begin: hljs.C_NUMBER_RE + '\\\\b'\n },\n STRING\n ]\n };\n};","module.exports = function(hljs) {\n var PARAMS = {\n className: 'params',\n begin: '\\\\(', end: '\\\\)'\n };\n\n var FUNCTION_NAMES = 'attribute block constant cycle date dump include ' +\n 'max min parent random range source template_from_string';\n\n var FUNCTIONS = {\n beginKeywords: FUNCTION_NAMES,\n keywords: {name: FUNCTION_NAMES},\n relevance: 0,\n contains: [\n PARAMS\n ]\n };\n\n var FILTER = {\n begin: /\\|[A-Za-z_]+:?/,\n keywords:\n 'abs batch capitalize column convert_encoding date date_modify default ' +\n 'escape filter first format inky_to_html inline_css join json_encode keys last ' +\n 'length lower map markdown merge nl2br number_format raw reduce replace ' +\n 'reverse round slice sort spaceless split striptags title trim upper url_encode',\n contains: [\n FUNCTIONS\n ]\n };\n\n var TAGS = 'apply autoescape block deprecated do embed extends filter flush for from ' +\n 'if import include macro sandbox set use verbatim with';\n\n TAGS = TAGS + ' ' + TAGS.split(' ').map(function(t){return 'end' + t}).join(' ');\n\n return {\n aliases: ['craftcms'],\n case_insensitive: true,\n subLanguage: 'xml',\n contains: [\n hljs.COMMENT(/\\{#/, /#}/),\n {\n className: 'template-tag',\n begin: /\\{%/, end: /%}/,\n contains: [\n {\n className: 'name',\n begin: /\\w+/,\n keywords: TAGS,\n starts: {\n endsWithParent: true,\n contains: [FILTER, FUNCTIONS],\n relevance: 0\n }\n }\n ]\n },\n {\n className: 'template-variable',\n begin: /\\{\\{/, end: /}}/,\n contains: ['self', FILTER, FUNCTIONS]\n }\n ]\n };\n};","module.exports = function(hljs) {\n var JS_IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';\n var KEYWORDS = {\n keyword:\n 'in if for while finally var new function do return void else break catch ' +\n 'instanceof with throw case default try this switch continue typeof delete ' +\n 'let yield const class public private protected get set super ' +\n 'static implements enum export import declare type namespace abstract ' +\n 'as from extends async await',\n literal:\n 'true false null undefined NaN Infinity',\n built_in:\n 'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent ' +\n 'encodeURI encodeURIComponent escape unescape Object Function Boolean Error ' +\n 'EvalError InternalError RangeError ReferenceError StopIteration SyntaxError ' +\n 'TypeError URIError Number Math Date String RegExp Array Float32Array ' +\n 'Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array ' +\n 'Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require ' +\n 'module console window document any number boolean string void Promise'\n };\n\n var DECORATOR = {\n className: 'meta',\n begin: '@' + JS_IDENT_RE,\n };\n\n var ARGS =\n {\n begin: '\\\\(',\n end: /\\)/,\n keywords: KEYWORDS,\n contains: [\n 'self',\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n hljs.NUMBER_MODE\n ]\n };\n\n var PARAMS = {\n className: 'params',\n begin: /\\(/, end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n DECORATOR,\n ARGS\n ]\n };\n var NUMBER = {\n className: 'number',\n variants: [\n { begin: '\\\\b(0[bB][01]+)n?' },\n { begin: '\\\\b(0[oO][0-7]+)n?' },\n { begin: hljs.C_NUMBER_RE + 'n?' }\n ],\n relevance: 0\n };\n var SUBST = {\n className: 'subst',\n begin: '\\\\$\\\\{', end: '\\\\}',\n keywords: KEYWORDS,\n contains: [] // defined later\n };\n var HTML_TEMPLATE = {\n begin: 'html`', end: '',\n starts: {\n end: '`', returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'xml',\n }\n };\n var CSS_TEMPLATE = {\n begin: 'css`', end: '',\n starts: {\n end: '`', returnEnd: false,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ],\n subLanguage: 'css',\n }\n };\n var TEMPLATE_STRING = {\n className: 'string',\n begin: '`', end: '`',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n };\n SUBST.contains = [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n TEMPLATE_STRING,\n NUMBER,\n hljs.REGEXP_MODE\n ];\n\n\n\n return {\n aliases: ['ts'],\n keywords: KEYWORDS,\n contains: [\n {\n className: 'meta',\n begin: /^\\s*['\"]use strict['\"]/\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n HTML_TEMPLATE,\n CSS_TEMPLATE,\n TEMPLATE_STRING,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n NUMBER,\n { // \"value\" container\n begin: '(' + hljs.RE_STARTERS_RE + '|\\\\b(case|return|throw)\\\\b)\\\\s*',\n keywords: 'return throw case',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.REGEXP_MODE,\n {\n className: 'function',\n begin: '(\\\\(.*?\\\\)|' + hljs.IDENT_RE + ')\\\\s*=>', returnBegin: true,\n end: '\\\\s*=>',\n contains: [\n {\n className: 'params',\n variants: [\n {\n begin: hljs.IDENT_RE\n },\n {\n begin: /\\(\\s*\\)/,\n },\n {\n begin: /\\(/, end: /\\)/,\n excludeBegin: true, excludeEnd: true,\n keywords: KEYWORDS,\n contains: [\n 'self',\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n }\n ]\n }\n ]\n }\n ],\n relevance: 0\n },\n {\n className: 'function',\n beginKeywords: 'function', end: /[\\{;]/, excludeEnd: true,\n keywords: KEYWORDS,\n contains: [\n 'self',\n hljs.inherit(hljs.TITLE_MODE, { begin: JS_IDENT_RE }),\n PARAMS\n ],\n illegal: /%/,\n relevance: 0 // () => {} is more typical in TypeScript\n },\n {\n beginKeywords: 'constructor', end: /[\\{;]/, excludeEnd: true,\n contains: [\n 'self',\n PARAMS\n ]\n },\n { // prevent references like module.id from being higlighted as module definitions\n begin: /module\\./,\n keywords: { built_in: 'module' },\n relevance: 0\n },\n {\n beginKeywords: 'module', end: /\\{/, excludeEnd: true\n },\n {\n beginKeywords: 'interface', end: /\\{/, excludeEnd: true,\n keywords: 'interface extends'\n },\n {\n begin: /\\$[(.]/ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`\n },\n {\n begin: '\\\\.' + hljs.IDENT_RE, relevance: 0 // hack: prevents detection of keywords after dots\n },\n DECORATOR,\n ARGS\n ]\n };\n};","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./panel.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./confirm.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","require('./angular-sanitize');\nmodule.exports = 'ngSanitize';\n","var tabbable = require('tabbable');\nvar xtend = require('xtend');\n\nvar activeFocusDelay;\n\nvar activeFocusTraps = (function() {\n var trapQueue = [];\n return {\n activateTrap: function(trap) {\n if (trapQueue.length > 0) {\n var activeTrap = trapQueue[trapQueue.length - 1];\n if (activeTrap !== trap) {\n activeTrap.pause();\n }\n }\n\n var trapIndex = trapQueue.indexOf(trap);\n if (trapIndex === -1) {\n trapQueue.push(trap);\n } else {\n // move this existing trap to the front of the queue\n trapQueue.splice(trapIndex, 1);\n trapQueue.push(trap);\n }\n },\n\n deactivateTrap: function(trap) {\n var trapIndex = trapQueue.indexOf(trap);\n if (trapIndex !== -1) {\n trapQueue.splice(trapIndex, 1);\n }\n\n if (trapQueue.length > 0) {\n trapQueue[trapQueue.length - 1].unpause();\n }\n }\n };\n})();\n\nfunction focusTrap(element, userOptions) {\n var doc = document;\n var container =\n typeof element === 'string' ? doc.querySelector(element) : element;\n\n var config = xtend(\n {\n returnFocusOnDeactivate: true,\n escapeDeactivates: true\n },\n userOptions\n );\n\n var state = {\n firstTabbableNode: null,\n lastTabbableNode: null,\n nodeFocusedBeforeActivation: null,\n mostRecentlyFocusedNode: null,\n active: false,\n paused: false\n };\n\n var trap = {\n activate: activate,\n deactivate: deactivate,\n pause: pause,\n unpause: unpause\n };\n\n return trap;\n\n function activate(activateOptions) {\n if (state.active) return;\n\n updateTabbableNodes();\n\n state.active = true;\n state.paused = false;\n state.nodeFocusedBeforeActivation = doc.activeElement;\n\n var onActivate =\n activateOptions && activateOptions.onActivate\n ? activateOptions.onActivate\n : config.onActivate;\n if (onActivate) {\n onActivate();\n }\n\n addListeners();\n return trap;\n }\n\n function deactivate(deactivateOptions) {\n if (!state.active) return;\n\n clearTimeout(activeFocusDelay);\n\n removeListeners();\n state.active = false;\n state.paused = false;\n\n activeFocusTraps.deactivateTrap(trap);\n\n var onDeactivate =\n deactivateOptions && deactivateOptions.onDeactivate !== undefined\n ? deactivateOptions.onDeactivate\n : config.onDeactivate;\n if (onDeactivate) {\n onDeactivate();\n }\n\n var returnFocus =\n deactivateOptions && deactivateOptions.returnFocus !== undefined\n ? deactivateOptions.returnFocus\n : config.returnFocusOnDeactivate;\n if (returnFocus) {\n delay(function() {\n tryFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation));\n });\n }\n\n return trap;\n }\n\n function pause() {\n if (state.paused || !state.active) return;\n state.paused = true;\n removeListeners();\n }\n\n function unpause() {\n if (!state.paused || !state.active) return;\n state.paused = false;\n updateTabbableNodes();\n addListeners();\n }\n\n function addListeners() {\n if (!state.active) return;\n\n // There can be only one listening focus trap at a time\n activeFocusTraps.activateTrap(trap);\n\n // Delay ensures that the focused element doesn't capture the event\n // that caused the focus trap activation.\n activeFocusDelay = delay(function() {\n tryFocus(getInitialFocusNode());\n });\n\n doc.addEventListener('focusin', checkFocusIn, true);\n doc.addEventListener('mousedown', checkPointerDown, {\n capture: true,\n passive: false\n });\n doc.addEventListener('touchstart', checkPointerDown, {\n capture: true,\n passive: false\n });\n doc.addEventListener('click', checkClick, {\n capture: true,\n passive: false\n });\n doc.addEventListener('keydown', checkKey, {\n capture: true,\n passive: false\n });\n\n return trap;\n }\n\n function removeListeners() {\n if (!state.active) return;\n\n doc.removeEventListener('focusin', checkFocusIn, true);\n doc.removeEventListener('mousedown', checkPointerDown, true);\n doc.removeEventListener('touchstart', checkPointerDown, true);\n doc.removeEventListener('click', checkClick, true);\n doc.removeEventListener('keydown', checkKey, true);\n\n return trap;\n }\n\n function getNodeForOption(optionName) {\n var optionValue = config[optionName];\n var node = optionValue;\n if (!optionValue) {\n return null;\n }\n if (typeof optionValue === 'string') {\n node = doc.querySelector(optionValue);\n if (!node) {\n throw new Error('`' + optionName + '` refers to no known node');\n }\n }\n if (typeof optionValue === 'function') {\n node = optionValue();\n if (!node) {\n throw new Error('`' + optionName + '` did not return a node');\n }\n }\n return node;\n }\n\n function getInitialFocusNode() {\n var node;\n if (getNodeForOption('initialFocus') !== null) {\n node = getNodeForOption('initialFocus');\n } else if (container.contains(doc.activeElement)) {\n node = doc.activeElement;\n } else {\n node = state.firstTabbableNode || getNodeForOption('fallbackFocus');\n }\n\n if (!node) {\n throw new Error(\n 'Your focus-trap needs to have at least one focusable element'\n );\n }\n\n return node;\n }\n\n function getReturnFocusNode(previousActiveElement) {\n var node = getNodeForOption('setReturnFocus');\n return node ? node : previousActiveElement;\n }\n\n // This needs to be done on mousedown and touchstart instead of click\n // so that it precedes the focus event.\n function checkPointerDown(e) {\n if (container.contains(e.target)) return;\n if (config.clickOutsideDeactivates) {\n deactivate({\n returnFocus: !tabbable.isFocusable(e.target)\n });\n return;\n }\n // This is needed for mobile devices.\n // (If we'll only let `click` events through,\n // then on mobile they will be blocked anyways if `touchstart` is blocked.)\n if (config.allowOutsideClick && config.allowOutsideClick(e)) {\n return;\n }\n e.preventDefault();\n }\n\n // In case focus escapes the trap for some strange reason, pull it back in.\n function checkFocusIn(e) {\n // In Firefox when you Tab out of an iframe the Document is briefly focused.\n if (container.contains(e.target) || e.target instanceof Document) {\n return;\n }\n e.stopImmediatePropagation();\n tryFocus(state.mostRecentlyFocusedNode || getInitialFocusNode());\n }\n\n function checkKey(e) {\n if (config.escapeDeactivates !== false && isEscapeEvent(e)) {\n e.preventDefault();\n deactivate();\n return;\n }\n if (isTabEvent(e)) {\n checkTab(e);\n return;\n }\n }\n\n // Hijack Tab events on the first and last focusable nodes of the trap,\n // in order to prevent focus from escaping. If it escapes for even a\n // moment it can end up scrolling the page and causing confusion so we\n // kind of need to capture the action at the keydown phase.\n function checkTab(e) {\n updateTabbableNodes();\n if (e.shiftKey && e.target === state.firstTabbableNode) {\n e.preventDefault();\n tryFocus(state.lastTabbableNode);\n return;\n }\n if (!e.shiftKey && e.target === state.lastTabbableNode) {\n e.preventDefault();\n tryFocus(state.firstTabbableNode);\n return;\n }\n }\n\n function checkClick(e) {\n if (config.clickOutsideDeactivates) return;\n if (container.contains(e.target)) return;\n if (config.allowOutsideClick && config.allowOutsideClick(e)) {\n return;\n }\n e.preventDefault();\n e.stopImmediatePropagation();\n }\n\n function updateTabbableNodes() {\n var tabbableNodes = tabbable(container);\n state.firstTabbableNode = tabbableNodes[0] || getInitialFocusNode();\n state.lastTabbableNode =\n tabbableNodes[tabbableNodes.length - 1] || getInitialFocusNode();\n }\n\n function tryFocus(node) {\n if (node === doc.activeElement) return;\n if (!node || !node.focus) {\n tryFocus(getInitialFocusNode());\n return;\n }\n node.focus();\n state.mostRecentlyFocusedNode = node;\n if (isSelectableInput(node)) {\n node.select();\n }\n }\n}\n\nfunction isSelectableInput(node) {\n return (\n node.tagName &&\n node.tagName.toLowerCase() === 'input' &&\n typeof node.select === 'function'\n );\n}\n\nfunction isEscapeEvent(e) {\n return e.key === 'Escape' || e.key === 'Esc' || e.keyCode === 27;\n}\n\nfunction isTabEvent(e) {\n return e.key === 'Tab' || e.keyCode === 9;\n}\n\nfunction delay(fn) {\n return setTimeout(fn, 0);\n}\n\nmodule.exports = focusTrap;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./dialog-ng.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./error-page-ng.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","/*\n * angular-elastic v2.5.1\n * (c) 2014 Monospaced http://monospaced.com\n * License: MIT\n */\n\nif (typeof module !== 'undefined' &&\n typeof exports !== 'undefined' &&\n module.exports === exports){\n module.exports = 'monospaced.elastic';\n}\n\nangular.module('monospaced.elastic', [])\n\n .constant('msdElasticConfig', {\n append: ''\n })\n\n .directive('msdElastic', [\n '$timeout', '$window', 'msdElasticConfig',\n function($timeout, $window, config) {\n 'use strict';\n\n return {\n require: 'ngModel',\n restrict: 'A, C',\n link: function(scope, element, attrs, ngModel) {\n\n // cache a reference to the DOM element\n var ta = element[0],\n $ta = element;\n\n // ensure the element is a textarea, and browser is capable\n if (ta.nodeName !== 'TEXTAREA' || !$window.getComputedStyle) {\n return;\n }\n\n // set these properties before measuring dimensions\n $ta.css({\n 'overflow': 'auto',\n 'overflow-y': 'hidden',\n 'word-wrap': 'break-word'\n });\n\n // force text reflow\n var text = ta.value;\n ta.value = '';\n ta.value = text;\n\n var append = attrs.msdElastic ? attrs.msdElastic.replace(/\\\\n/g, '\\n') : config.append,\n $win = angular.element($window),\n mirrorInitStyle = 'position: absolute; top: -999px; right: auto; bottom: auto;' +\n 'left: 0; overflow: hidden; -webkit-box-sizing: content-box;' +\n '-moz-box-sizing: content-box; box-sizing: content-box;' +\n 'min-height: 0 !important; height: 0 !important; padding: 0;' +\n 'word-wrap: break-word; border: 0;',\n $mirror = angular.element('<textarea aria-hidden=\"true\" tabindex=\"-1\" ' +\n 'style=\"' + mirrorInitStyle + '\"/>').data('elastic', true),\n mirror = $mirror[0],\n taStyle = getComputedStyle(ta),\n resize = taStyle.getPropertyValue('resize'),\n borderBox = taStyle.getPropertyValue('box-sizing') === 'border-box' ||\n taStyle.getPropertyValue('-moz-box-sizing') === 'border-box' ||\n taStyle.getPropertyValue('-webkit-box-sizing') === 'border-box',\n boxOuter = !borderBox ? {width: 0, height: 0} : {\n width: parseInt(taStyle.getPropertyValue('border-right-width'), 10) +\n parseInt(taStyle.getPropertyValue('padding-right'), 10) +\n parseInt(taStyle.getPropertyValue('padding-left'), 10) +\n parseInt(taStyle.getPropertyValue('border-left-width'), 10),\n height: parseInt(taStyle.getPropertyValue('border-top-width'), 10) +\n parseInt(taStyle.getPropertyValue('padding-top'), 10) +\n parseInt(taStyle.getPropertyValue('padding-bottom'), 10) +\n parseInt(taStyle.getPropertyValue('border-bottom-width'), 10)\n },\n minHeightValue = parseInt(taStyle.getPropertyValue('min-height'), 10),\n heightValue = parseInt(taStyle.getPropertyValue('height'), 10),\n minHeight = Math.max(minHeightValue, heightValue) - boxOuter.height,\n maxHeight = parseInt(taStyle.getPropertyValue('max-height'), 10),\n mirrored,\n active,\n copyStyle = ['font-family',\n 'font-size',\n 'font-weight',\n 'font-style',\n 'letter-spacing',\n 'line-height',\n 'text-transform',\n 'word-spacing',\n 'text-indent',\n 'white-space'];\n\n // exit if elastic already applied (or is the mirror element)\n if ($ta.data('elastic')) {\n return;\n }\n\n // Opera returns max-height of -1 if not set\n maxHeight = maxHeight && maxHeight > 0 ? maxHeight : 9e4;\n\n // append mirror to the DOM\n if (mirror.parentNode !== document.body) {\n angular.element(document.body).append(mirror);\n }\n\n // set resize and apply elastic\n $ta.css({\n 'resize': (resize === 'none' || resize === 'vertical') ? 'none' : 'horizontal'\n }).data('elastic', true);\n\n /*\n * methods\n */\n\n function initMirror() {\n var mirrorStyle = mirrorInitStyle;\n\n mirrored = ta;\n // copy the essential styles from the textarea to the mirror\n taStyle = getComputedStyle(ta);\n angular.forEach(copyStyle, function(val) {\n mirrorStyle += val + ':' + taStyle.getPropertyValue(val) + ';';\n });\n mirror.setAttribute('style', mirrorStyle);\n }\n\n function adjust() {\n var taHeight,\n taComputedStyleWidth,\n mirrorHeight,\n width,\n overflow;\n\n if (mirrored !== ta) {\n initMirror();\n }\n\n // active flag prevents actions in function from calling adjust again\n if (!active) {\n active = true;\n\n mirror.value = ta.value + append; // optional whitespace to improve animation\n mirror.style.overflowY = ta.style.overflowY;\n\n taHeight = ta.style.height === '' ? 'auto' : parseInt(ta.style.height, 10);\n\n taComputedStyleWidth = getComputedStyle(ta).getPropertyValue('width');\n\n // ensure getComputedStyle has returned a readable 'used value' pixel width\n if (taComputedStyleWidth.substr(taComputedStyleWidth.length - 2, 2) === 'px') {\n // update mirror width in case the textarea width has changed\n width = parseInt(taComputedStyleWidth, 10) - boxOuter.width;\n mirror.style.width = width + 'px';\n }\n\n mirrorHeight = mirror.scrollHeight;\n\n if (mirrorHeight > maxHeight) {\n mirrorHeight = maxHeight;\n overflow = 'scroll';\n } else if (mirrorHeight < minHeight) {\n mirrorHeight = minHeight;\n }\n mirrorHeight += boxOuter.height;\n ta.style.overflowY = overflow || 'hidden';\n\n if (taHeight !== mirrorHeight) {\n scope.$emit('elastic:resize', $ta, taHeight, mirrorHeight);\n ta.style.height = mirrorHeight + 'px';\n }\n\n // small delay to prevent an infinite loop\n $timeout(function() {\n active = false;\n }, 1, false);\n\n }\n }\n\n function forceAdjust() {\n active = false;\n adjust();\n }\n\n /*\n * initialise\n */\n\n // listen\n if ('onpropertychange' in ta && 'oninput' in ta) {\n // IE9\n ta['oninput'] = ta.onkeyup = adjust;\n } else {\n ta['oninput'] = adjust;\n }\n\n $win.bind('resize', forceAdjust);\n\n scope.$watch(function() {\n return ngModel.$modelValue;\n }, function(newValue) {\n forceAdjust();\n });\n\n scope.$on('elastic:adjust', function() {\n initMirror();\n forceAdjust();\n });\n\n $timeout(adjust, 0, false);\n\n /*\n * destroy\n */\n\n scope.$on('$destroy', function() {\n $mirror.remove();\n $win.unbind('resize', forceAdjust);\n });\n }\n };\n }\n ]);\n","module.exports = { \"default\": require(\"core-js/library/fn/object/get-own-property-descriptor\"), __esModule: true };","\"use strict\";\n\nexports.__esModule = true;\n\nexports.default = function (obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};","module.exports = { \"default\": require(\"core-js/library/fn/promise\"), __esModule: true };","var _typeof = require(\"../helpers/typeof\");\n\nvar assertThisInitialized = require(\"./assertThisInitialized\");\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return assertThisInitialized(self);\n}\n\nmodule.exports = _possibleConstructorReturn;","function _getPrototypeOf(o) {\n module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nmodule.exports = _getPrototypeOf;","var setPrototypeOf = require(\"./setPrototypeOf\");\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\n\nmodule.exports = _inherits;","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./global.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","'use strict';\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nvar xtend = require('xtend');\n\nvar unified = require('unified');\n\nvar parse = require('remark-parse');\n\nvar PropTypes = require('prop-types');\n\nvar addListMetadata = require('mdast-add-list-metadata');\n\nvar naiveHtml = require('./plugins/naive-html');\n\nvar disallowNode = require('./plugins/disallow-node');\n\nvar astToReact = require('./ast-to-react');\n\nvar wrapTableRows = require('./wrap-table-rows');\n\nvar getDefinitions = require('./get-definitions');\n\nvar uriTransformer = require('./uri-transformer');\n\nvar defaultRenderers = require('./renderers');\n\nvar symbols = require('./symbols');\n\nvar allTypes = Object.keys(defaultRenderers);\n\nvar ReactMarkdown = function ReactMarkdown(props) {\n var src = props.source || props.children || '';\n var parserOptions = props.parserOptions;\n\n if (props.allowedTypes && props.disallowedTypes) {\n throw new Error('Only one of `allowedTypes` and `disallowedTypes` should be defined');\n }\n\n var renderers = xtend(defaultRenderers, props.renderers);\n var plugins = [[parse, parserOptions]].concat(props.plugins || []);\n var parser = plugins.reduce(applyParserPlugin, unified());\n var rawAst = parser.parse(src);\n var renderProps = xtend(props, {\n renderers: renderers,\n definitions: getDefinitions(rawAst)\n });\n var astPlugins = determineAstPlugins(props); // eslint-disable-next-line no-sync\n\n var transformedAst = parser.runSync(rawAst);\n var ast = astPlugins.reduce(function (node, plugin) {\n return plugin(node, renderProps);\n }, transformedAst);\n return astToReact(ast, renderProps);\n};\n\nfunction applyParserPlugin(parser, plugin) {\n return Array.isArray(plugin) ? parser.use.apply(parser, _toConsumableArray(plugin)) : parser.use(plugin);\n}\n\nfunction determineAstPlugins(props) {\n var plugins = [wrapTableRows, addListMetadata()];\n var disallowedTypes = props.disallowedTypes;\n\n if (props.allowedTypes) {\n disallowedTypes = allTypes.filter(function (type) {\n return type !== 'root' && props.allowedTypes.indexOf(type) === -1;\n });\n }\n\n var removalMethod = props.unwrapDisallowed ? 'unwrap' : 'remove';\n\n if (disallowedTypes && disallowedTypes.length > 0) {\n plugins.push(disallowNode.ofType(disallowedTypes, removalMethod));\n }\n\n if (props.allowNode) {\n plugins.push(disallowNode.ifNotMatch(props.allowNode, removalMethod));\n }\n\n var renderHtml = !props.escapeHtml && !props.skipHtml;\n var hasHtmlParser = (props.astPlugins || []).some(function (item) {\n var plugin = Array.isArray(item) ? item[0] : item;\n return plugin.identity === symbols.HtmlParser;\n });\n\n if (renderHtml && !hasHtmlParser) {\n plugins.push(naiveHtml);\n }\n\n return props.astPlugins ? plugins.concat(props.astPlugins) : plugins;\n}\n\nReactMarkdown.defaultProps = {\n renderers: {},\n escapeHtml: true,\n skipHtml: false,\n sourcePos: false,\n rawSourcePos: false,\n transformLinkUri: uriTransformer,\n astPlugins: [],\n plugins: [],\n parserOptions: {}\n};\nReactMarkdown.propTypes = {\n className: PropTypes.string,\n source: PropTypes.string,\n children: PropTypes.string,\n sourcePos: PropTypes.bool,\n rawSourcePos: PropTypes.bool,\n escapeHtml: PropTypes.bool,\n skipHtml: PropTypes.bool,\n allowNode: PropTypes.func,\n allowedTypes: PropTypes.arrayOf(PropTypes.oneOf(allTypes)),\n disallowedTypes: PropTypes.arrayOf(PropTypes.oneOf(allTypes)),\n transformLinkUri: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),\n linkTarget: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n transformImageUri: PropTypes.func,\n astPlugins: PropTypes.arrayOf(PropTypes.func),\n unwrapDisallowed: PropTypes.bool,\n renderers: PropTypes.object,\n plugins: PropTypes.array,\n parserOptions: PropTypes.object\n};\nReactMarkdown.types = allTypes;\nReactMarkdown.renderers = defaultRenderers;\nReactMarkdown.uriTransformer = uriTransformer;\nmodule.exports = ReactMarkdown;","'use strict'\n\nmodule.exports = breaks\n\nvar lineFeed = 10\nvar space = 32\n\nfunction breaks() {\n var parser = this.Parser\n var tokenizers\n\n if (!isRemarkParser(parser)) {\n throw new Error('Missing parser to attach `remark-breaks` to')\n }\n\n tokenizers = parser.prototype.inlineTokenizers\n\n tokenizeBreak.locator = tokenizers.break.locator\n\n tokenizers.break = tokenizeBreak\n\n function tokenizeBreak(eat, value, silent) {\n var length = value.length\n var index = -1\n var code\n\n while (++index < length) {\n code = value.charCodeAt(index)\n\n if (code === lineFeed) {\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true\n }\n\n return eat(value.slice(0, index + 1))({type: 'break'})\n }\n\n if (code !== space) {\n return\n }\n }\n }\n}\n\nfunction isRemarkParser(parser) {\n return Boolean(\n parser &&\n parser.prototype &&\n parser.prototype.inlineTokenizers &&\n parser.prototype.inlineTokenizers.break &&\n parser.prototype.inlineTokenizers.break.locator\n )\n}\n","module.exports = \"<div class=\\\"shortcuts-hint\\\">\\n\\n <div class=\\\"shortcuts-hint__search-input-wrapper\\\">\\n <rg-input\\n ng-attr-placeholder=\\\"{{hintPopupCtrl.searchPlaceholder}}\\\"\\n ng-model=\\\"hintPopupCtrl.searchText\\\"\\n ></rg-input>\\n <rg-icon\\n class=\\\"shortcuts-hint__search-icon\\\"\\n glyph=\\\"{{hintPopupCtrl.searchIcon}}\\\"\\n ></rg-icon>\\n </div>\\n\\n <div class=\\\"shortcuts-hint__columns\\\">\\n <div class=\\\"shortcuts-hint__table\\\">\\n <div ng-repeat=\\\"mode in hintPopupCtrl.modes\\\"\\n class=\\\"shortcuts-hint__shortcut-block\\\">\\n\\n <div class=\\\"shortcuts-hint__table-title\\\" ng-if=\\\"mode.title\\\">\\n <div></div>\\n <div class=\\\"shortcuts-hint__shortcuts-title\\\">{{hintPopupCtrl.getTitle(mode.title)}}</div>\\n </div>\\n\\n <div ng-repeat=\\\"shortcut in mode.shortcuts | shortcutSearch:hintPopupCtrl.searchText\\\"\\n class=\\\"shortcuts-hint__table-row\\\">\\n <div class=\\\"shortcuts-hint__shortcut-cell\\\">\\n <div class=\\\"shortcuts-hint__shortcut\\\"\\n ng-if=\\\"hintPopupCtrl.isArray(shortcut.key)\\\"\\n ng-repeat=\\\"key in shortcut.key track by $index\\\">\\n {{key | shortcutKeySymbol}}\\n </div>\\n <span class=\\\"shortcuts-hint__shortcut\\\"\\n ng-if=\\\"!hintPopupCtrl.isArray(shortcut.key)\\\">{{shortcut.key | shortcutKeySymbol}}</span>\\n </div>\\n <div class=\\\"shortcuts-hint__hint\\\">\\n <span ng-repeat=\\\"title in shortcut.titles\\\">\\n {{hintPopupCtrl.getTitle(title)}}\\n <br ng-if=\\\"!$last\\\">\\n </span>\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n\\n <div rg-template=\\\"hintPopupCtrl.tailTemplate\\\"></div>\\n\\n</div>\\n\";","var content = require(\"!!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./tooltip.css\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","/** @license React v16.13.1\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var l=require(\"object-assign\"),n=\"function\"===typeof Symbol&&Symbol.for,p=n?Symbol.for(\"react.element\"):60103,q=n?Symbol.for(\"react.portal\"):60106,r=n?Symbol.for(\"react.fragment\"):60107,t=n?Symbol.for(\"react.strict_mode\"):60108,u=n?Symbol.for(\"react.profiler\"):60114,v=n?Symbol.for(\"react.provider\"):60109,w=n?Symbol.for(\"react.context\"):60110,x=n?Symbol.for(\"react.forward_ref\"):60112,y=n?Symbol.for(\"react.suspense\"):60113,z=n?Symbol.for(\"react.memo\"):60115,A=n?Symbol.for(\"react.lazy\"):\n60116,B=\"function\"===typeof Symbol&&Symbol.iterator;function C(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}\nvar D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E={};function F(a,b,c){this.props=a;this.context=b;this.refs=E;this.updater=c||D}F.prototype.isReactComponent={};F.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(C(85));this.updater.enqueueSetState(this,a,b,\"setState\")};F.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};\nfunction G(){}G.prototype=F.prototype;function H(a,b,c){this.props=a;this.context=b;this.refs=E;this.updater=c||D}var I=H.prototype=new G;I.constructor=H;l(I,F.prototype);I.isPureReactComponent=!0;var J={current:null},K=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,c){var e,d={},g=null,k=null;if(null!=b)for(e in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(g=\"\"+b.key),b)K.call(b,e)&&!L.hasOwnProperty(e)&&(d[e]=b[e]);var f=arguments.length-2;if(1===f)d.children=c;else if(1<f){for(var h=Array(f),m=0;m<f;m++)h[m]=arguments[m+2];d.children=h}if(a&&a.defaultProps)for(e in f=a.defaultProps,f)void 0===d[e]&&(d[e]=f[e]);return{$$typeof:p,type:a,key:g,ref:k,props:d,_owner:J.current}}\nfunction N(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+(\"\"+a).replace(/[=:]/g,function(a){return b[a]})}var P=/\\/+/g,Q=[];function R(a,b,c,e){if(Q.length){var d=Q.pop();d.result=a;d.keyPrefix=b;d.func=c;d.context=e;d.count=0;return d}return{result:a,keyPrefix:b,func:c,context:e,count:0}}\nfunction S(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q.length&&Q.push(a)}\nfunction T(a,b,c,e){var d=typeof a;if(\"undefined\"===d||\"boolean\"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case \"string\":case \"number\":g=!0;break;case \"object\":switch(a.$$typeof){case p:case q:g=!0}}if(g)return c(e,a,\"\"===b?\".\"+U(a,0):b),1;g=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var k=0;k<a.length;k++){d=a[k];var f=b+U(d,k);g+=T(d,f,c,e)}else if(null===a||\"object\"!==typeof a?f=null:(f=B&&a[B]||a[\"@@iterator\"],f=\"function\"===typeof f?f:null),\"function\"===typeof f)for(a=f.call(a),k=\n0;!(d=a.next()).done;)d=d.value,f=b+U(d,k++),g+=T(d,f,c,e);else if(\"object\"===d)throw c=\"\"+a,Error(C(31,\"[object Object]\"===c?\"object with keys {\"+Object.keys(a).join(\", \")+\"}\":c,\"\"));return g}function V(a,b,c){return null==a?0:T(a,\"\",b,c)}function U(a,b){return\"object\"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function W(a,b){a.func.call(a.context,b,a.count++)}\nfunction aa(a,b,c){var e=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?X(a,e,c,function(a){return a}):null!=a&&(O(a)&&(a=N(a,d+(!a.key||b&&b.key===a.key?\"\":(\"\"+a.key).replace(P,\"$&/\")+\"/\")+c)),e.push(a))}function X(a,b,c,e,d){var g=\"\";null!=c&&(g=(\"\"+c).replace(P,\"$&/\")+\"/\");b=R(b,g,e,d);V(a,aa,b);S(b)}var Y={current:null};function Z(){var a=Y.current;if(null===a)throw Error(C(321));return a}\nvar ba={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:J,IsSomeRendererActing:{current:!1},assign:l};exports.Children={map:function(a,b,c){if(null==a)return a;var e=[];X(a,e,null,b,c);return e},forEach:function(a,b,c){if(null==a)return a;b=R(null,null,b,c);V(a,W,b);S(b)},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];X(a,b,null,function(a){return a});return b},only:function(a){if(!O(a))throw Error(C(143));return a}};\nexports.Component=F;exports.Fragment=r;exports.Profiler=u;exports.PureComponent=H;exports.StrictMode=t;exports.Suspense=y;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ba;\nexports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(C(267,a));var e=l({},a.props),d=a.key,g=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,k=J.current);void 0!==b.key&&(d=\"\"+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(h in b)K.call(b,h)&&!L.hasOwnProperty(h)&&(e[h]=void 0===b[h]&&void 0!==f?f[h]:b[h])}var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){f=Array(h);for(var m=0;m<h;m++)f[m]=arguments[m+2];e.children=f}return{$$typeof:p,type:a.type,\nkey:d,ref:g,props:e,_owner:k}};exports.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a};exports.createElement=M;exports.createFactory=function(a){var b=M.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};exports.forwardRef=function(a){return{$$typeof:x,render:a}};exports.isValidElement=O;\nexports.lazy=function(a){return{$$typeof:A,_ctor:a,_status:-1,_result:null}};exports.memo=function(a,b){return{$$typeof:z,type:a,compare:void 0===b?null:b}};exports.useCallback=function(a,b){return Z().useCallback(a,b)};exports.useContext=function(a,b){return Z().useContext(a,b)};exports.useDebugValue=function(){};exports.useEffect=function(a,b){return Z().useEffect(a,b)};exports.useImperativeHandle=function(a,b,c){return Z().useImperativeHandle(a,b,c)};\nexports.useLayoutEffect=function(a,b){return Z().useLayoutEffect(a,b)};exports.useMemo=function(a,b){return Z().useMemo(a,b)};exports.useReducer=function(a,b,c){return Z().useReducer(a,b,c)};exports.useRef=function(a){return Z().useRef(a)};exports.useState=function(a){return Z().useState(a)};exports.version=\"16.13.1\";\n","/** @license React v16.13.1\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';var aa=require(\"react\"),n=require(\"object-assign\"),r=require(\"scheduler\");function u(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}if(!aa)throw Error(u(227));\nfunction ba(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l)}catch(m){this.onError(m)}}var da=!1,ea=null,fa=!1,ha=null,ia={onError:function(a){da=!0;ea=a}};function ja(a,b,c,d,e,f,g,h,k){da=!1;ea=null;ba.apply(ia,arguments)}function ka(a,b,c,d,e,f,g,h,k){ja.apply(this,arguments);if(da){if(da){var l=ea;da=!1;ea=null}else throw Error(u(198));fa||(fa=!0,ha=l)}}var la=null,ma=null,na=null;\nfunction oa(a,b,c){var d=a.type||\"unknown-event\";a.currentTarget=na(c);ka(d,b,void 0,a);a.currentTarget=null}var pa=null,qa={};\nfunction ra(){if(pa)for(var a in qa){var b=qa[a],c=pa.indexOf(a);if(!(-1<c))throw Error(u(96,a));if(!sa[c]){if(!b.extractEvents)throw Error(u(97,a));sa[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;if(ta.hasOwnProperty(h))throw Error(u(99,h));ta[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&ua(k[e],g,h);e=!0}else f.registrationName?(ua(f.registrationName,g,h),e=!0):e=!1;if(!e)throw Error(u(98,d,a));}}}}\nfunction ua(a,b,c){if(va[a])throw Error(u(100,a));va[a]=b;wa[a]=b.eventTypes[c].dependencies}var sa=[],ta={},va={},wa={};function xa(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(!qa.hasOwnProperty(c)||qa[c]!==d){if(qa[c])throw Error(u(102,c));qa[c]=d;b=!0}}b&&ra()}var ya=!(\"undefined\"===typeof window||\"undefined\"===typeof window.document||\"undefined\"===typeof window.document.createElement),za=null,Aa=null,Ba=null;\nfunction Ca(a){if(a=ma(a)){if(\"function\"!==typeof za)throw Error(u(280));var b=a.stateNode;b&&(b=la(b),za(a.stateNode,a.type,b))}}function Da(a){Aa?Ba?Ba.push(a):Ba=[a]:Aa=a}function Ea(){if(Aa){var a=Aa,b=Ba;Ba=Aa=null;Ca(a);if(b)for(a=0;a<b.length;a++)Ca(b[a])}}function Fa(a,b){return a(b)}function Ga(a,b,c,d,e){return a(b,c,d,e)}function Ha(){}var Ia=Fa,Ja=!1,Ka=!1;function La(){if(null!==Aa||null!==Ba)Ha(),Ea()}\nfunction Ma(a,b,c){if(Ka)return a(b,c);Ka=!0;try{return Ia(a,b,c)}finally{Ka=!1,La()}}var Na=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,Oa=Object.prototype.hasOwnProperty,Pa={},Qa={};\nfunction Ra(a){if(Oa.call(Qa,a))return!0;if(Oa.call(Pa,a))return!1;if(Na.test(a))return Qa[a]=!0;Pa[a]=!0;return!1}function Sa(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case \"function\":case \"symbol\":return!0;case \"boolean\":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return\"data-\"!==a&&\"aria-\"!==a;default:return!1}}\nfunction Ta(a,b,c,d){if(null===b||\"undefined\"===typeof b||Sa(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function v(a,b,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f}var C={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){C[a]=new v(a,0,!1,a,null,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];C[b]=new v(b,1,!1,a[1],null,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){C[a]=new v(a,2,!1,a.toLowerCase(),null,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){C[a]=new v(a,2,!1,a,null,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){C[a]=new v(a,3,!1,a.toLowerCase(),null,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){C[a]=new v(a,3,!0,a,null,!1)});[\"capture\",\"download\"].forEach(function(a){C[a]=new v(a,4,!1,a,null,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){C[a]=new v(a,6,!1,a,null,!1)});[\"rowSpan\",\"start\"].forEach(function(a){C[a]=new v(a,5,!1,a.toLowerCase(),null,!1)});var Ua=/[\\-:]([a-z])/g;function Va(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(Ua,\nVa);C[b]=new v(b,1,!1,a,null,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!1)});\nC.xlinkHref=new v(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!0)});var Wa=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Wa.hasOwnProperty(\"ReactCurrentDispatcher\")||(Wa.ReactCurrentDispatcher={current:null});Wa.hasOwnProperty(\"ReactCurrentBatchConfig\")||(Wa.ReactCurrentBatchConfig={suspense:null});\nfunction Xa(a,b,c,d){var e=C.hasOwnProperty(b)?C[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||\"o\"!==b[0]&&\"O\"!==b[0]||\"n\"!==b[1]&&\"N\"!==b[1]?!1:!0;f||(Ta(b,c,e,d)&&(c=null),d||null===e?Ra(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,\"\"+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:\"\":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?\"\":\"\"+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}\nvar Ya=/^(.*)[\\\\\\/]/,E=\"function\"===typeof Symbol&&Symbol.for,Za=E?Symbol.for(\"react.element\"):60103,$a=E?Symbol.for(\"react.portal\"):60106,ab=E?Symbol.for(\"react.fragment\"):60107,bb=E?Symbol.for(\"react.strict_mode\"):60108,cb=E?Symbol.for(\"react.profiler\"):60114,db=E?Symbol.for(\"react.provider\"):60109,eb=E?Symbol.for(\"react.context\"):60110,fb=E?Symbol.for(\"react.concurrent_mode\"):60111,gb=E?Symbol.for(\"react.forward_ref\"):60112,hb=E?Symbol.for(\"react.suspense\"):60113,ib=E?Symbol.for(\"react.suspense_list\"):\n60120,jb=E?Symbol.for(\"react.memo\"):60115,kb=E?Symbol.for(\"react.lazy\"):60116,lb=E?Symbol.for(\"react.block\"):60121,mb=\"function\"===typeof Symbol&&Symbol.iterator;function nb(a){if(null===a||\"object\"!==typeof a)return null;a=mb&&a[mb]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}function ob(a){if(-1===a._status){a._status=0;var b=a._ctor;b=b();a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}}\nfunction pb(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case ab:return\"Fragment\";case $a:return\"Portal\";case cb:return\"Profiler\";case bb:return\"StrictMode\";case hb:return\"Suspense\";case ib:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case eb:return\"Context.Consumer\";case db:return\"Context.Provider\";case gb:var b=a.render;b=b.displayName||b.name||\"\";return a.displayName||(\"\"!==b?\"ForwardRef(\"+b+\")\":\n\"ForwardRef\");case jb:return pb(a.type);case lb:return pb(a.render);case kb:if(a=1===a._status?a._result:null)return pb(a)}return null}function qb(a){var b=\"\";do{a:switch(a.tag){case 3:case 4:case 6:case 7:case 10:case 9:var c=\"\";break a;default:var d=a._debugOwner,e=a._debugSource,f=pb(a.type);c=null;d&&(c=pb(d.type));d=f;f=\"\";e?f=\" (at \"+e.fileName.replace(Ya,\"\")+\":\"+e.lineNumber+\")\":c&&(f=\" (created by \"+c+\")\");c=\"\\n in \"+(d||\"Unknown\")+f}b+=c;a=a.return}while(a);return b}\nfunction rb(a){switch(typeof a){case \"boolean\":case \"number\":case \"object\":case \"string\":case \"undefined\":return a;default:return\"\"}}function sb(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}\nfunction tb(a){var b=sb(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=\nnull;delete a[b]}}}}function xb(a){a._valueTracker||(a._valueTracker=tb(a))}function yb(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=sb(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function zb(a,b){var c=b.checked;return n({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}\nfunction Ab(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=rb(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function Bb(a,b){b=b.checked;null!=b&&Xa(a,\"checked\",b,!1)}\nfunction Cb(a,b){Bb(a,b);var c=rb(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?Db(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&Db(a,b.type,rb(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}\nfunction Eb(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}\nfunction Db(a,b,c){if(\"number\"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}function Fb(a){var b=\"\";aa.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function Gb(a,b){a=n({children:void 0},b);if(b=Fb(b.children))a.children=b;return a}\nfunction Hb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b[\"$\"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty(\"$\"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=\"\"+rb(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}\nfunction Ib(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(u(91));return n({},b,{value:void 0,defaultValue:void 0,children:\"\"+a._wrapperState.initialValue})}function Jb(a,b){var c=b.value;if(null==c){c=b.children;b=b.defaultValue;if(null!=c){if(null!=b)throw Error(u(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(u(93));c=c[0]}b=c}null==b&&(b=\"\");c=b}a._wrapperState={initialValue:rb(c)}}\nfunction Kb(a,b){var c=rb(b.value),d=rb(b.defaultValue);null!=c&&(c=\"\"+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=\"\"+d)}function Lb(a){var b=a.textContent;b===a._wrapperState.initialValue&&\"\"!==b&&null!==b&&(a.value=b)}var Mb={html:\"http://www.w3.org/1999/xhtml\",mathml:\"http://www.w3.org/1998/Math/MathML\",svg:\"http://www.w3.org/2000/svg\"};\nfunction Nb(a){switch(a){case \"svg\":return\"http://www.w3.org/2000/svg\";case \"math\":return\"http://www.w3.org/1998/Math/MathML\";default:return\"http://www.w3.org/1999/xhtml\"}}function Ob(a,b){return null==a||\"http://www.w3.org/1999/xhtml\"===a?Nb(b):\"http://www.w3.org/2000/svg\"===a&&\"foreignObject\"===b?\"http://www.w3.org/1999/xhtml\":a}\nvar Pb,Qb=function(a){return\"undefined\"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(a.namespaceURI!==Mb.svg||\"innerHTML\"in a)a.innerHTML=b;else{Pb=Pb||document.createElement(\"div\");Pb.innerHTML=\"<svg>\"+b.valueOf().toString()+\"</svg>\";for(b=Pb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction Rb(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}function Sb(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c[\"Webkit\"+a]=\"webkit\"+b;c[\"Moz\"+a]=\"moz\"+b;return c}var Tb={animationend:Sb(\"Animation\",\"AnimationEnd\"),animationiteration:Sb(\"Animation\",\"AnimationIteration\"),animationstart:Sb(\"Animation\",\"AnimationStart\"),transitionend:Sb(\"Transition\",\"TransitionEnd\")},Ub={},Vb={};\nya&&(Vb=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete Tb.animationend.animation,delete Tb.animationiteration.animation,delete Tb.animationstart.animation),\"TransitionEvent\"in window||delete Tb.transitionend.transition);function Wb(a){if(Ub[a])return Ub[a];if(!Tb[a])return a;var b=Tb[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Vb)return Ub[a]=b[c];return a}\nvar Xb=Wb(\"animationend\"),Yb=Wb(\"animationiteration\"),Zb=Wb(\"animationstart\"),$b=Wb(\"transitionend\"),ac=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),bc=new (\"function\"===typeof WeakMap?WeakMap:Map);function cc(a){var b=bc.get(a);void 0===b&&(b=new Map,bc.set(a,b));return b}\nfunction dc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function ec(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function fc(a){if(dc(a)!==a)throw Error(u(188));}\nfunction gc(a){var b=a.alternate;if(!b){b=dc(a);if(null===b)throw Error(u(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return fc(e),a;if(f===d)return fc(e),b;f=f.sibling}throw Error(u(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===\nc){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(u(189));}}if(c.alternate!==d)throw Error(u(190));}if(3!==c.tag)throw Error(u(188));return c.stateNode.current===c?a:b}function hc(a){a=gc(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}\nfunction ic(a,b){if(null==b)throw Error(u(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function jc(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}var kc=null;\nfunction lc(a){if(a){var b=a._dispatchListeners,c=a._dispatchInstances;if(Array.isArray(b))for(var d=0;d<b.length&&!a.isPropagationStopped();d++)oa(a,b[d],c[d]);else b&&oa(a,b,c);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}}function mc(a){null!==a&&(kc=ic(kc,a));a=kc;kc=null;if(a){jc(a,lc);if(kc)throw Error(u(95));if(fa)throw a=ha,fa=!1,ha=null,a;}}\nfunction nc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function oc(a){if(!ya)return!1;a=\"on\"+a;var b=a in document;b||(b=document.createElement(\"div\"),b.setAttribute(a,\"return;\"),b=\"function\"===typeof b[a]);return b}var pc=[];function qc(a){a.topLevelType=null;a.nativeEvent=null;a.targetInst=null;a.ancestors.length=0;10>pc.length&&pc.push(a)}\nfunction rc(a,b,c,d){if(pc.length){var e=pc.pop();e.topLevelType=a;e.eventSystemFlags=d;e.nativeEvent=b;e.targetInst=c;return e}return{topLevelType:a,eventSystemFlags:d,nativeEvent:b,targetInst:c,ancestors:[]}}\nfunction sc(a){var b=a.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d=c;if(3===d.tag)d=d.stateNode.containerInfo;else{for(;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo}if(!d)break;b=c.tag;5!==b&&6!==b||a.ancestors.push(c);c=tc(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=nc(a.nativeEvent);d=a.topLevelType;var f=a.nativeEvent,g=a.eventSystemFlags;0===c&&(g|=64);for(var h=null,k=0;k<sa.length;k++){var l=sa[k];l&&(l=l.extractEvents(d,b,f,e,g))&&(h=\nic(h,l))}mc(h)}}function uc(a,b,c){if(!c.has(a)){switch(a){case \"scroll\":vc(b,\"scroll\",!0);break;case \"focus\":case \"blur\":vc(b,\"focus\",!0);vc(b,\"blur\",!0);c.set(\"blur\",null);c.set(\"focus\",null);break;case \"cancel\":case \"close\":oc(a)&&vc(b,a,!0);break;case \"invalid\":case \"submit\":case \"reset\":break;default:-1===ac.indexOf(a)&&F(a,b)}c.set(a,null)}}\nvar wc,xc,yc,zc=!1,Ac=[],Bc=null,Cc=null,Dc=null,Ec=new Map,Fc=new Map,Gc=[],Hc=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit\".split(\" \"),Ic=\"focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture\".split(\" \");\nfunction Jc(a,b){var c=cc(b);Hc.forEach(function(a){uc(a,b,c)});Ic.forEach(function(a){uc(a,b,c)})}function Kc(a,b,c,d,e){return{blockedOn:a,topLevelType:b,eventSystemFlags:c|32,nativeEvent:e,container:d}}\nfunction Lc(a,b){switch(a){case \"focus\":case \"blur\":Bc=null;break;case \"dragenter\":case \"dragleave\":Cc=null;break;case \"mouseover\":case \"mouseout\":Dc=null;break;case \"pointerover\":case \"pointerout\":Ec.delete(b.pointerId);break;case \"gotpointercapture\":case \"lostpointercapture\":Fc.delete(b.pointerId)}}function Mc(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a=Kc(b,c,d,e,f),null!==b&&(b=Nc(b),null!==b&&xc(b)),a;a.eventSystemFlags|=d;return a}\nfunction Oc(a,b,c,d,e){switch(b){case \"focus\":return Bc=Mc(Bc,a,b,c,d,e),!0;case \"dragenter\":return Cc=Mc(Cc,a,b,c,d,e),!0;case \"mouseover\":return Dc=Mc(Dc,a,b,c,d,e),!0;case \"pointerover\":var f=e.pointerId;Ec.set(f,Mc(Ec.get(f)||null,a,b,c,d,e));return!0;case \"gotpointercapture\":return f=e.pointerId,Fc.set(f,Mc(Fc.get(f)||null,a,b,c,d,e)),!0}return!1}\nfunction Pc(a){var b=tc(a.target);if(null!==b){var c=dc(b);if(null!==c)if(b=c.tag,13===b){if(b=ec(c),null!==b){a.blockedOn=b;r.unstable_runWithPriority(a.priority,function(){yc(c)});return}}else if(3===b&&c.stateNode.hydrate){a.blockedOn=3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null}function Qc(a){if(null!==a.blockedOn)return!1;var b=Rc(a.topLevelType,a.eventSystemFlags,a.container,a.nativeEvent);if(null!==b){var c=Nc(b);null!==c&&xc(c);a.blockedOn=b;return!1}return!0}\nfunction Sc(a,b,c){Qc(a)&&c.delete(b)}function Tc(){for(zc=!1;0<Ac.length;){var a=Ac[0];if(null!==a.blockedOn){a=Nc(a.blockedOn);null!==a&&wc(a);break}var b=Rc(a.topLevelType,a.eventSystemFlags,a.container,a.nativeEvent);null!==b?a.blockedOn=b:Ac.shift()}null!==Bc&&Qc(Bc)&&(Bc=null);null!==Cc&&Qc(Cc)&&(Cc=null);null!==Dc&&Qc(Dc)&&(Dc=null);Ec.forEach(Sc);Fc.forEach(Sc)}function Uc(a,b){a.blockedOn===b&&(a.blockedOn=null,zc||(zc=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Tc)))}\nfunction Vc(a){function b(b){return Uc(b,a)}if(0<Ac.length){Uc(Ac[0],a);for(var c=1;c<Ac.length;c++){var d=Ac[c];d.blockedOn===a&&(d.blockedOn=null)}}null!==Bc&&Uc(Bc,a);null!==Cc&&Uc(Cc,a);null!==Dc&&Uc(Dc,a);Ec.forEach(b);Fc.forEach(b);for(c=0;c<Gc.length;c++)d=Gc[c],d.blockedOn===a&&(d.blockedOn=null);for(;0<Gc.length&&(c=Gc[0],null===c.blockedOn);)Pc(c),null===c.blockedOn&&Gc.shift()}\nvar Wc={},Yc=new Map,Zc=new Map,$c=[\"abort\",\"abort\",Xb,\"animationEnd\",Yb,\"animationIteration\",Zb,\"animationStart\",\"canplay\",\"canPlay\",\"canplaythrough\",\"canPlayThrough\",\"durationchange\",\"durationChange\",\"emptied\",\"emptied\",\"encrypted\",\"encrypted\",\"ended\",\"ended\",\"error\",\"error\",\"gotpointercapture\",\"gotPointerCapture\",\"load\",\"load\",\"loadeddata\",\"loadedData\",\"loadedmetadata\",\"loadedMetadata\",\"loadstart\",\"loadStart\",\"lostpointercapture\",\"lostPointerCapture\",\"playing\",\"playing\",\"progress\",\"progress\",\"seeking\",\n\"seeking\",\"stalled\",\"stalled\",\"suspend\",\"suspend\",\"timeupdate\",\"timeUpdate\",$b,\"transitionEnd\",\"waiting\",\"waiting\"];function ad(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1],f=\"on\"+(e[0].toUpperCase()+e.slice(1));f={phasedRegistrationNames:{bubbled:f,captured:f+\"Capture\"},dependencies:[d],eventPriority:b};Zc.set(d,b);Yc.set(d,f);Wc[e]=f}}\nad(\"blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange\".split(\" \"),0);\nad(\"drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel\".split(\" \"),1);ad($c,2);for(var bd=\"change selectionchange textInput compositionstart compositionend compositionupdate\".split(\" \"),cd=0;cd<bd.length;cd++)Zc.set(bd[cd],0);\nvar dd=r.unstable_UserBlockingPriority,ed=r.unstable_runWithPriority,fd=!0;function F(a,b){vc(b,a,!1)}function vc(a,b,c){var d=Zc.get(b);switch(void 0===d?2:d){case 0:d=gd.bind(null,b,1,a);break;case 1:d=hd.bind(null,b,1,a);break;default:d=id.bind(null,b,1,a)}c?a.addEventListener(b,d,!0):a.addEventListener(b,d,!1)}function gd(a,b,c,d){Ja||Ha();var e=id,f=Ja;Ja=!0;try{Ga(e,a,b,c,d)}finally{(Ja=f)||La()}}function hd(a,b,c,d){ed(dd,id.bind(null,a,b,c,d))}\nfunction id(a,b,c,d){if(fd)if(0<Ac.length&&-1<Hc.indexOf(a))a=Kc(null,a,b,c,d),Ac.push(a);else{var e=Rc(a,b,c,d);if(null===e)Lc(a,d);else if(-1<Hc.indexOf(a))a=Kc(e,a,b,c,d),Ac.push(a);else if(!Oc(e,a,b,c,d)){Lc(a,d);a=rc(a,d,null,b);try{Ma(sc,a)}finally{qc(a)}}}}\nfunction Rc(a,b,c,d){c=nc(d);c=tc(c);if(null!==c){var e=dc(c);if(null===e)c=null;else{var f=e.tag;if(13===f){c=ec(e);if(null!==c)return c;c=null}else if(3===f){if(e.stateNode.hydrate)return 3===e.tag?e.stateNode.containerInfo:null;c=null}else e!==c&&(c=null)}}a=rc(a,d,c,b);try{Ma(sc,a)}finally{qc(a)}return null}\nvar jd={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,\nfloodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},kd=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(jd).forEach(function(a){kd.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);jd[b]=jd[a]})});function ld(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||jd.hasOwnProperty(a)&&jd[a]?(\"\"+b).trim():b+\"px\"}\nfunction md(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=ld(c,b[c],d);\"float\"===c&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}var nd=n({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});\nfunction od(a,b){if(b){if(nd[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(u(137,a,\"\"));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(u(60));if(!(\"object\"===typeof b.dangerouslySetInnerHTML&&\"__html\"in b.dangerouslySetInnerHTML))throw Error(u(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(u(62,\"\"));}}\nfunction pd(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){case \"annotation-xml\":case \"color-profile\":case \"font-face\":case \"font-face-src\":case \"font-face-uri\":case \"font-face-format\":case \"font-face-name\":case \"missing-glyph\":return!1;default:return!0}}var qd=Mb.html;function rd(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=cc(a);b=wa[b];for(var d=0;d<b.length;d++)uc(b[d],a,c)}function sd(){}\nfunction td(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function ud(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function vd(a,b){var c=ud(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=ud(c)}}\nfunction wd(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?wd(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function xd(){for(var a=window,b=td();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=td(a.document)}return b}\nfunction yd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}var zd=\"$\",Ad=\"/$\",Bd=\"$?\",Cd=\"$!\",Dd=null,Ed=null;function Fd(a,b){switch(a){case \"button\":case \"input\":case \"select\":case \"textarea\":return!!b.autoFocus}return!1}\nfunction Gd(a,b){return\"textarea\"===a||\"option\"===a||\"noscript\"===a||\"string\"===typeof b.children||\"number\"===typeof b.children||\"object\"===typeof b.dangerouslySetInnerHTML&&null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}var Hd=\"function\"===typeof setTimeout?setTimeout:void 0,Id=\"function\"===typeof clearTimeout?clearTimeout:void 0;function Jd(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}\nfunction Kd(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===zd||c===Cd||c===Bd){if(0===b)return a;b--}else c===Ad&&b++}a=a.previousSibling}return null}var Ld=Math.random().toString(36).slice(2),Md=\"__reactInternalInstance$\"+Ld,Nd=\"__reactEventHandlers$\"+Ld,Od=\"__reactContainere$\"+Ld;\nfunction tc(a){var b=a[Md];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Od]||c[Md]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Kd(a);null!==a;){if(c=a[Md])return c;a=Kd(a)}return b}a=c;c=a.parentNode}return null}function Nc(a){a=a[Md]||a[Od];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function Pd(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(u(33));}function Qd(a){return a[Nd]||null}\nfunction Rd(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}\nfunction Sd(a,b){var c=a.stateNode;if(!c)return null;var d=la(c);if(!d)return null;c=d[b];a:switch(b){case \"onClick\":case \"onClickCapture\":case \"onDoubleClick\":case \"onDoubleClickCapture\":case \"onMouseDown\":case \"onMouseDownCapture\":case \"onMouseMove\":case \"onMouseMoveCapture\":case \"onMouseUp\":case \"onMouseUpCapture\":case \"onMouseEnter\":(d=!d.disabled)||(a=a.type,d=!(\"button\"===a||\"input\"===a||\"select\"===a||\"textarea\"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&\"function\"!==typeof c)throw Error(u(231,\nb,typeof c));return c}function Td(a,b,c){if(b=Sd(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=ic(c._dispatchListeners,b),c._dispatchInstances=ic(c._dispatchInstances,a)}function Ud(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=Rd(b);for(b=c.length;0<b--;)Td(c[b],\"captured\",a);for(b=0;b<c.length;b++)Td(c[b],\"bubbled\",a)}}\nfunction Vd(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=Sd(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=ic(c._dispatchListeners,b),c._dispatchInstances=ic(c._dispatchInstances,a))}function Wd(a){a&&a.dispatchConfig.registrationName&&Vd(a._targetInst,null,a)}function Xd(a){jc(a,Ud)}var Yd=null,Zd=null,$d=null;\nfunction ae(){if($d)return $d;var a,b=Zd,c=b.length,d,e=\"value\"in Yd?Yd.value:Yd.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return $d=e.slice(a,1<d?1-d:void 0)}function be(){return!0}function ce(){return!1}\nfunction G(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):\"target\"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?be:ce;this.isPropagationStopped=ce;return this}\nn(G.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():\"unknown\"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=be)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():\"unknown\"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=be)},persist:function(){this.isPersistent=be},isPersistent:ce,destructor:function(){var a=this.constructor.Interface,\nb;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=ce;this._dispatchInstances=this._dispatchListeners=null}});G.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};\nG.extend=function(a){function b(){}function c(){return d.apply(this,arguments)}var d=this;b.prototype=d.prototype;var e=new b;n(e,c.prototype);c.prototype=e;c.prototype.constructor=c;c.Interface=n({},d.Interface,a);c.extend=d.extend;de(c);return c};de(G);function ee(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);return e}return new this(a,b,c,d)}\nfunction fe(a){if(!(a instanceof this))throw Error(u(279));a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function de(a){a.eventPool=[];a.getPooled=ee;a.release=fe}var ge=G.extend({data:null}),he=G.extend({data:null}),ie=[9,13,27,32],je=ya&&\"CompositionEvent\"in window,ke=null;ya&&\"documentMode\"in document&&(ke=document.documentMode);\nvar le=ya&&\"TextEvent\"in window&&!ke,me=ya&&(!je||ke&&8<ke&&11>=ke),ne=String.fromCharCode(32),oe={beforeInput:{phasedRegistrationNames:{bubbled:\"onBeforeInput\",captured:\"onBeforeInputCapture\"},dependencies:[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]},compositionEnd:{phasedRegistrationNames:{bubbled:\"onCompositionEnd\",captured:\"onCompositionEndCapture\"},dependencies:\"blur compositionend keydown keypress keyup mousedown\".split(\" \")},compositionStart:{phasedRegistrationNames:{bubbled:\"onCompositionStart\",\ncaptured:\"onCompositionStartCapture\"},dependencies:\"blur compositionstart keydown keypress keyup mousedown\".split(\" \")},compositionUpdate:{phasedRegistrationNames:{bubbled:\"onCompositionUpdate\",captured:\"onCompositionUpdateCapture\"},dependencies:\"blur compositionupdate keydown keypress keyup mousedown\".split(\" \")}},pe=!1;\nfunction qe(a,b){switch(a){case \"keyup\":return-1!==ie.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"blur\":return!0;default:return!1}}function re(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var se=!1;function te(a,b){switch(a){case \"compositionend\":return re(b);case \"keypress\":if(32!==b.which)return null;pe=!0;return ne;case \"textInput\":return a=b.data,a===ne&&pe?null:a;default:return null}}\nfunction ue(a,b){if(se)return\"compositionend\"===a||!je&&qe(a,b)?(a=ae(),$d=Zd=Yd=null,se=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case \"compositionend\":return me&&\"ko\"!==b.locale?null:b.data;default:return null}}\nvar ve={eventTypes:oe,extractEvents:function(a,b,c,d){var e;if(je)b:{switch(a){case \"compositionstart\":var f=oe.compositionStart;break b;case \"compositionend\":f=oe.compositionEnd;break b;case \"compositionupdate\":f=oe.compositionUpdate;break b}f=void 0}else se?qe(a,c)&&(f=oe.compositionEnd):\"keydown\"===a&&229===c.keyCode&&(f=oe.compositionStart);f?(me&&\"ko\"!==c.locale&&(se||f!==oe.compositionStart?f===oe.compositionEnd&&se&&(e=ae()):(Yd=d,Zd=\"value\"in Yd?Yd.value:Yd.textContent,se=!0)),f=ge.getPooled(f,\nb,c,d),e?f.data=e:(e=re(c),null!==e&&(f.data=e)),Xd(f),e=f):e=null;(a=le?te(a,c):ue(a,c))?(b=he.getPooled(oe.beforeInput,b,c,d),b.data=a,Xd(b)):b=null;return null===e?b:null===b?e:[e,b]}},we={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function xe(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return\"input\"===b?!!we[a.type]:\"textarea\"===b?!0:!1}\nvar ye={change:{phasedRegistrationNames:{bubbled:\"onChange\",captured:\"onChangeCapture\"},dependencies:\"blur change click focus input keydown keyup selectionchange\".split(\" \")}};function ze(a,b,c){a=G.getPooled(ye.change,a,b,c);a.type=\"change\";Da(c);Xd(a);return a}var Ae=null,Be=null;function Ce(a){mc(a)}function De(a){var b=Pd(a);if(yb(b))return a}function Ee(a,b){if(\"change\"===a)return b}var Fe=!1;ya&&(Fe=oc(\"input\")&&(!document.documentMode||9<document.documentMode));\nfunction Ge(){Ae&&(Ae.detachEvent(\"onpropertychange\",He),Be=Ae=null)}function He(a){if(\"value\"===a.propertyName&&De(Be))if(a=ze(Be,a,nc(a)),Ja)mc(a);else{Ja=!0;try{Fa(Ce,a)}finally{Ja=!1,La()}}}function Ie(a,b,c){\"focus\"===a?(Ge(),Ae=b,Be=c,Ae.attachEvent(\"onpropertychange\",He)):\"blur\"===a&&Ge()}function Je(a){if(\"selectionchange\"===a||\"keyup\"===a||\"keydown\"===a)return De(Be)}function Ke(a,b){if(\"click\"===a)return De(b)}function Le(a,b){if(\"input\"===a||\"change\"===a)return De(b)}\nvar Me={eventTypes:ye,_isInputEventSupported:Fe,extractEvents:function(a,b,c,d){var e=b?Pd(b):window,f=e.nodeName&&e.nodeName.toLowerCase();if(\"select\"===f||\"input\"===f&&\"file\"===e.type)var g=Ee;else if(xe(e))if(Fe)g=Le;else{g=Je;var h=Ie}else(f=e.nodeName)&&\"input\"===f.toLowerCase()&&(\"checkbox\"===e.type||\"radio\"===e.type)&&(g=Ke);if(g&&(g=g(a,b)))return ze(g,c,d);h&&h(a,e,b);\"blur\"===a&&(a=e._wrapperState)&&a.controlled&&\"number\"===e.type&&Db(e,\"number\",e.value)}},Ne=G.extend({view:null,detail:null}),\nOe={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function Pe(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Oe[a])?!!b[a]:!1}function Qe(){return Pe}\nvar Re=0,Se=0,Te=!1,Ue=!1,Ve=Ne.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Qe,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if(\"movementX\"in a)return a.movementX;var b=Re;Re=a.screenX;return Te?\"mousemove\"===a.type?a.screenX-b:0:(Te=!0,0)},movementY:function(a){if(\"movementY\"in a)return a.movementY;\nvar b=Se;Se=a.screenY;return Ue?\"mousemove\"===a.type?a.screenY-b:0:(Ue=!0,0)}}),We=Ve.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Xe={mouseEnter:{registrationName:\"onMouseEnter\",dependencies:[\"mouseout\",\"mouseover\"]},mouseLeave:{registrationName:\"onMouseLeave\",dependencies:[\"mouseout\",\"mouseover\"]},pointerEnter:{registrationName:\"onPointerEnter\",dependencies:[\"pointerout\",\"pointerover\"]},pointerLeave:{registrationName:\"onPointerLeave\",\ndependencies:[\"pointerout\",\"pointerover\"]}},Ye={eventTypes:Xe,extractEvents:function(a,b,c,d,e){var f=\"mouseover\"===a||\"pointerover\"===a,g=\"mouseout\"===a||\"pointerout\"===a;if(f&&0===(e&32)&&(c.relatedTarget||c.fromElement)||!g&&!f)return null;f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window;if(g){if(g=b,b=(b=c.relatedTarget||c.toElement)?tc(b):null,null!==b){var h=dc(b);if(b!==h||5!==b.tag&&6!==b.tag)b=null}}else g=null;if(g===b)return null;if(\"mouseout\"===a||\"mouseover\"===\na){var k=Ve;var l=Xe.mouseLeave;var m=Xe.mouseEnter;var p=\"mouse\"}else if(\"pointerout\"===a||\"pointerover\"===a)k=We,l=Xe.pointerLeave,m=Xe.pointerEnter,p=\"pointer\";a=null==g?f:Pd(g);f=null==b?f:Pd(b);l=k.getPooled(l,g,c,d);l.type=p+\"leave\";l.target=a;l.relatedTarget=f;c=k.getPooled(m,b,c,d);c.type=p+\"enter\";c.target=f;c.relatedTarget=a;d=g;p=b;if(d&&p)a:{k=d;m=p;g=0;for(a=k;a;a=Rd(a))g++;a=0;for(b=m;b;b=Rd(b))a++;for(;0<g-a;)k=Rd(k),g--;for(;0<a-g;)m=Rd(m),a--;for(;g--;){if(k===m||k===m.alternate)break a;\nk=Rd(k);m=Rd(m)}k=null}else k=null;m=k;for(k=[];d&&d!==m;){g=d.alternate;if(null!==g&&g===m)break;k.push(d);d=Rd(d)}for(d=[];p&&p!==m;){g=p.alternate;if(null!==g&&g===m)break;d.push(p);p=Rd(p)}for(p=0;p<k.length;p++)Vd(k[p],\"bubbled\",l);for(p=d.length;0<p--;)Vd(d[p],\"captured\",c);return 0===(e&64)?[l]:[l,c]}};function Ze(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var $e=\"function\"===typeof Object.is?Object.is:Ze,af=Object.prototype.hasOwnProperty;\nfunction bf(a,b){if($e(a,b))return!0;if(\"object\"!==typeof a||null===a||\"object\"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!af.call(b,c[d])||!$e(a[c[d]],b[c[d]]))return!1;return!0}\nvar cf=ya&&\"documentMode\"in document&&11>=document.documentMode,df={select:{phasedRegistrationNames:{bubbled:\"onSelect\",captured:\"onSelectCapture\"},dependencies:\"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")}},ef=null,ff=null,gf=null,hf=!1;\nfunction jf(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(hf||null==ef||ef!==td(c))return null;c=ef;\"selectionStart\"in c&&yd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return gf&&bf(gf,c)?null:(gf=c,a=G.getPooled(df.select,ff,a,b),a.type=\"select\",a.target=ef,Xd(a),a)}\nvar kf={eventTypes:df,extractEvents:function(a,b,c,d,e,f){e=f||(d.window===d?d.document:9===d.nodeType?d:d.ownerDocument);if(!(f=!e)){a:{e=cc(e);f=wa.onSelect;for(var g=0;g<f.length;g++)if(!e.has(f[g])){e=!1;break a}e=!0}f=!e}if(f)return null;e=b?Pd(b):window;switch(a){case \"focus\":if(xe(e)||\"true\"===e.contentEditable)ef=e,ff=b,gf=null;break;case \"blur\":gf=ff=ef=null;break;case \"mousedown\":hf=!0;break;case \"contextmenu\":case \"mouseup\":case \"dragend\":return hf=!1,jf(c,d);case \"selectionchange\":if(cf)break;\ncase \"keydown\":case \"keyup\":return jf(c,d)}return null}},lf=G.extend({animationName:null,elapsedTime:null,pseudoElement:null}),mf=G.extend({clipboardData:function(a){return\"clipboardData\"in a?a.clipboardData:window.clipboardData}}),nf=Ne.extend({relatedTarget:null});function of(a){var b=a.keyCode;\"charCode\"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}\nvar pf={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},qf={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",\n116:\"F5\",117:\"F6\",118:\"F7\",119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",224:\"Meta\"},rf=Ne.extend({key:function(a){if(a.key){var b=pf[a.key]||a.key;if(\"Unidentified\"!==b)return b}return\"keypress\"===a.type?(a=of(a),13===a?\"Enter\":String.fromCharCode(a)):\"keydown\"===a.type||\"keyup\"===a.type?qf[a.keyCode]||\"Unidentified\":\"\"},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Qe,charCode:function(a){return\"keypress\"===\na.type?of(a):0},keyCode:function(a){return\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0},which:function(a){return\"keypress\"===a.type?of(a):\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0}}),sf=Ve.extend({dataTransfer:null}),tf=Ne.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Qe}),uf=G.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),vf=Ve.extend({deltaX:function(a){return\"deltaX\"in a?a.deltaX:\"wheelDeltaX\"in\na?-a.wheelDeltaX:0},deltaY:function(a){return\"deltaY\"in a?a.deltaY:\"wheelDeltaY\"in a?-a.wheelDeltaY:\"wheelDelta\"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null}),wf={eventTypes:Wc,extractEvents:function(a,b,c,d){var e=Yc.get(a);if(!e)return null;switch(a){case \"keypress\":if(0===of(c))return null;case \"keydown\":case \"keyup\":a=rf;break;case \"blur\":case \"focus\":a=nf;break;case \"click\":if(2===c.button)return null;case \"auxclick\":case \"dblclick\":case \"mousedown\":case \"mousemove\":case \"mouseup\":case \"mouseout\":case \"mouseover\":case \"contextmenu\":a=\nVe;break;case \"drag\":case \"dragend\":case \"dragenter\":case \"dragexit\":case \"dragleave\":case \"dragover\":case \"dragstart\":case \"drop\":a=sf;break;case \"touchcancel\":case \"touchend\":case \"touchmove\":case \"touchstart\":a=tf;break;case Xb:case Yb:case Zb:a=lf;break;case $b:a=uf;break;case \"scroll\":a=Ne;break;case \"wheel\":a=vf;break;case \"copy\":case \"cut\":case \"paste\":a=mf;break;case \"gotpointercapture\":case \"lostpointercapture\":case \"pointercancel\":case \"pointerdown\":case \"pointermove\":case \"pointerout\":case \"pointerover\":case \"pointerup\":a=\nWe;break;default:a=G}b=a.getPooled(e,b,c,d);Xd(b);return b}};if(pa)throw Error(u(101));pa=Array.prototype.slice.call(\"ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin\".split(\" \"));ra();var xf=Nc;la=Qd;ma=xf;na=Pd;xa({SimpleEventPlugin:wf,EnterLeaveEventPlugin:Ye,ChangeEventPlugin:Me,SelectEventPlugin:kf,BeforeInputEventPlugin:ve});var yf=[],zf=-1;function H(a){0>zf||(a.current=yf[zf],yf[zf]=null,zf--)}\nfunction I(a,b){zf++;yf[zf]=a.current;a.current=b}var Af={},J={current:Af},K={current:!1},Bf=Af;function Cf(a,b){var c=a.type.contextTypes;if(!c)return Af;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function L(a){a=a.childContextTypes;return null!==a&&void 0!==a}\nfunction Df(){H(K);H(J)}function Ef(a,b,c){if(J.current!==Af)throw Error(u(168));I(J,b);I(K,c)}function Ff(a,b,c){var d=a.stateNode;a=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(u(108,pb(b)||\"Unknown\",e));return n({},c,{},d)}function Gf(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Af;Bf=J.current;I(J,a);I(K,K.current);return!0}\nfunction Hf(a,b,c){var d=a.stateNode;if(!d)throw Error(u(169));c?(a=Ff(a,b,Bf),d.__reactInternalMemoizedMergedChildContext=a,H(K),H(J),I(J,a)):H(K);I(K,c)}\nvar If=r.unstable_runWithPriority,Jf=r.unstable_scheduleCallback,Kf=r.unstable_cancelCallback,Lf=r.unstable_requestPaint,Mf=r.unstable_now,Nf=r.unstable_getCurrentPriorityLevel,Of=r.unstable_ImmediatePriority,Pf=r.unstable_UserBlockingPriority,Qf=r.unstable_NormalPriority,Rf=r.unstable_LowPriority,Sf=r.unstable_IdlePriority,Tf={},Uf=r.unstable_shouldYield,Vf=void 0!==Lf?Lf:function(){},Wf=null,Xf=null,Yf=!1,Zf=Mf(),$f=1E4>Zf?Mf:function(){return Mf()-Zf};\nfunction ag(){switch(Nf()){case Of:return 99;case Pf:return 98;case Qf:return 97;case Rf:return 96;case Sf:return 95;default:throw Error(u(332));}}function bg(a){switch(a){case 99:return Of;case 98:return Pf;case 97:return Qf;case 96:return Rf;case 95:return Sf;default:throw Error(u(332));}}function cg(a,b){a=bg(a);return If(a,b)}function dg(a,b,c){a=bg(a);return Jf(a,b,c)}function eg(a){null===Wf?(Wf=[a],Xf=Jf(Of,fg)):Wf.push(a);return Tf}function gg(){if(null!==Xf){var a=Xf;Xf=null;Kf(a)}fg()}\nfunction fg(){if(!Yf&&null!==Wf){Yf=!0;var a=0;try{var b=Wf;cg(99,function(){for(;a<b.length;a++){var c=b[a];do c=c(!0);while(null!==c)}});Wf=null}catch(c){throw null!==Wf&&(Wf=Wf.slice(a+1)),Jf(Of,gg),c;}finally{Yf=!1}}}function hg(a,b,c){c/=10;return 1073741821-(((1073741821-a+b/10)/c|0)+1)*c}function ig(a,b){if(a&&a.defaultProps){b=n({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b}var jg={current:null},kg=null,lg=null,mg=null;function ng(){mg=lg=kg=null}\nfunction og(a){var b=jg.current;H(jg);a.type._context._currentValue=b}function pg(a,b){for(;null!==a;){var c=a.alternate;if(a.childExpirationTime<b)a.childExpirationTime=b,null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);else if(null!==c&&c.childExpirationTime<b)c.childExpirationTime=b;else break;a=a.return}}function qg(a,b){kg=a;mg=lg=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(a.expirationTime>=b&&(rg=!0),a.firstContext=null)}\nfunction sg(a,b){if(mg!==a&&!1!==b&&0!==b){if(\"number\"!==typeof b||1073741823===b)mg=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===lg){if(null===kg)throw Error(u(308));lg=b;kg.dependencies={expirationTime:0,firstContext:b,responders:null}}else lg=lg.next=b}return a._currentValue}var tg=!1;function ug(a){a.updateQueue={baseState:a.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}\nfunction vg(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,baseQueue:a.baseQueue,shared:a.shared,effects:a.effects})}function wg(a,b){a={expirationTime:a,suspenseConfig:b,tag:0,payload:null,callback:null,next:null};return a.next=a}function xg(a,b){a=a.updateQueue;if(null!==a){a=a.shared;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}}\nfunction yg(a,b){var c=a.alternate;null!==c&&vg(c,a);a=a.updateQueue;c=a.baseQueue;null===c?(a.baseQueue=b.next=b,b.next=b):(b.next=c.next,c.next=b)}\nfunction zg(a,b,c,d){var e=a.updateQueue;tg=!1;var f=e.baseQueue,g=e.shared.pending;if(null!==g){if(null!==f){var h=f.next;f.next=g.next;g.next=h}f=g;e.shared.pending=null;h=a.alternate;null!==h&&(h=h.updateQueue,null!==h&&(h.baseQueue=g))}if(null!==f){h=f.next;var k=e.baseState,l=0,m=null,p=null,x=null;if(null!==h){var z=h;do{g=z.expirationTime;if(g<d){var ca={expirationTime:z.expirationTime,suspenseConfig:z.suspenseConfig,tag:z.tag,payload:z.payload,callback:z.callback,next:null};null===x?(p=x=\nca,m=k):x=x.next=ca;g>l&&(l=g)}else{null!==x&&(x=x.next={expirationTime:1073741823,suspenseConfig:z.suspenseConfig,tag:z.tag,payload:z.payload,callback:z.callback,next:null});Ag(g,z.suspenseConfig);a:{var D=a,t=z;g=b;ca=c;switch(t.tag){case 1:D=t.payload;if(\"function\"===typeof D){k=D.call(ca,k,g);break a}k=D;break a;case 3:D.effectTag=D.effectTag&-4097|64;case 0:D=t.payload;g=\"function\"===typeof D?D.call(ca,k,g):D;if(null===g||void 0===g)break a;k=n({},k,g);break a;case 2:tg=!0}}null!==z.callback&&\n(a.effectTag|=32,g=e.effects,null===g?e.effects=[z]:g.push(z))}z=z.next;if(null===z||z===h)if(g=e.shared.pending,null===g)break;else z=f.next=g.next,g.next=h,e.baseQueue=f=g,e.shared.pending=null}while(1)}null===x?m=k:x.next=p;e.baseState=m;e.baseQueue=x;Bg(l);a.expirationTime=l;a.memoizedState=k}}\nfunction Cg(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;b<a.length;b++){var d=a[b],e=d.callback;if(null!==e){d.callback=null;d=e;e=c;if(\"function\"!==typeof d)throw Error(u(191,d));d.call(e)}}}var Dg=Wa.ReactCurrentBatchConfig,Eg=(new aa.Component).refs;function Fg(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:n({},b,c);a.memoizedState=c;0===a.expirationTime&&(a.updateQueue.baseState=c)}\nvar Jg={isMounted:function(a){return(a=a._reactInternalFiber)?dc(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=Gg(),e=Dg.suspense;d=Hg(d,a,e);e=wg(d,e);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);xg(a,e);Ig(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=Gg(),e=Dg.suspense;d=Hg(d,a,e);e=wg(d,e);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);xg(a,e);Ig(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=Gg(),d=Dg.suspense;\nc=Hg(c,a,d);d=wg(c,d);d.tag=2;void 0!==b&&null!==b&&(d.callback=b);xg(a,d);Ig(a,c)}};function Kg(a,b,c,d,e,f,g){a=a.stateNode;return\"function\"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,f,g):b.prototype&&b.prototype.isPureReactComponent?!bf(c,d)||!bf(e,f):!0}\nfunction Lg(a,b,c){var d=!1,e=Af;var f=b.contextType;\"object\"===typeof f&&null!==f?f=sg(f):(e=L(b)?Bf:J.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?Cf(a,e):Af);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Jg;a.stateNode=b;b._reactInternalFiber=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}\nfunction Mg(a,b,c,d){a=b.state;\"function\"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);\"function\"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Jg.enqueueReplaceState(b,b.state,null)}\nfunction Ng(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=Eg;ug(a);var f=b.contextType;\"object\"===typeof f&&null!==f?e.context=sg(f):(f=L(b)?Bf:J.current,e.context=Cf(a,f));zg(a,c,e,d);e.state=a.memoizedState;f=b.getDerivedStateFromProps;\"function\"===typeof f&&(Fg(a,b,f,c),e.state=a.memoizedState);\"function\"===typeof b.getDerivedStateFromProps||\"function\"===typeof e.getSnapshotBeforeUpdate||\"function\"!==typeof e.UNSAFE_componentWillMount&&\"function\"!==typeof e.componentWillMount||\n(b=e.state,\"function\"===typeof e.componentWillMount&&e.componentWillMount(),\"function\"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Jg.enqueueReplaceState(e,e.state,null),zg(a,c,e,d),e.state=a.memoizedState);\"function\"===typeof e.componentDidMount&&(a.effectTag|=4)}var Og=Array.isArray;\nfunction Pg(a,b,c){a=c.ref;if(null!==a&&\"function\"!==typeof a&&\"object\"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(u(309));var d=c.stateNode}if(!d)throw Error(u(147,a));var e=\"\"+a;if(null!==b&&null!==b.ref&&\"function\"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===Eg&&(b=d.refs={});null===a?delete b[e]:b[e]=a};b._stringRef=e;return b}if(\"string\"!==typeof a)throw Error(u(284));if(!c._owner)throw Error(u(290,a));}return a}\nfunction Qg(a,b){if(\"textarea\"!==a.type)throw Error(u(31,\"[object Object]\"===Object.prototype.toString.call(b)?\"object with keys {\"+Object.keys(b).join(\", \")+\"}\":b,\"\"));}\nfunction Rg(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b){a=Sg(a,b);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=\n2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=Tg(c,a.mode,d),b.return=a,b;b=e(b,c);b.return=a;return b}function k(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props),d.ref=Pg(a,b,c),d.return=a,d;d=Ug(c.type,c.key,c.props,null,a.mode,d);d.ref=Pg(a,b,c);d.return=a;return d}function l(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==\nc.implementation)return b=Vg(c,a.mode,d),b.return=a,b;b=e(b,c.children||[]);b.return=a;return b}function m(a,b,c,d,f){if(null===b||7!==b.tag)return b=Wg(c,a.mode,d,f),b.return=a,b;b=e(b,c);b.return=a;return b}function p(a,b,c){if(\"string\"===typeof b||\"number\"===typeof b)return b=Tg(\"\"+b,a.mode,c),b.return=a,b;if(\"object\"===typeof b&&null!==b){switch(b.$$typeof){case Za:return c=Ug(b.type,b.key,b.props,null,a.mode,c),c.ref=Pg(a,null,b),c.return=a,c;case $a:return b=Vg(b,a.mode,c),b.return=a,b}if(Og(b)||\nnb(b))return b=Wg(b,a.mode,c,null),b.return=a,b;Qg(a,b)}return null}function x(a,b,c,d){var e=null!==b?b.key:null;if(\"string\"===typeof c||\"number\"===typeof c)return null!==e?null:h(a,b,\"\"+c,d);if(\"object\"===typeof c&&null!==c){switch(c.$$typeof){case Za:return c.key===e?c.type===ab?m(a,b,c.props.children,d,e):k(a,b,c,d):null;case $a:return c.key===e?l(a,b,c,d):null}if(Og(c)||nb(c))return null!==e?null:m(a,b,c,d,null);Qg(a,c)}return null}function z(a,b,c,d,e){if(\"string\"===typeof d||\"number\"===typeof d)return a=\na.get(c)||null,h(b,a,\"\"+d,e);if(\"object\"===typeof d&&null!==d){switch(d.$$typeof){case Za:return a=a.get(null===d.key?c:d.key)||null,d.type===ab?m(b,a,d.props.children,e,d.key):k(b,a,d,e);case $a:return a=a.get(null===d.key?c:d.key)||null,l(b,a,d,e)}if(Og(d)||nb(d))return a=a.get(c)||null,m(b,a,d,e,null);Qg(b,d)}return null}function ca(e,g,h,k){for(var l=null,t=null,m=g,y=g=0,A=null;null!==m&&y<h.length;y++){m.index>y?(A=m,m=null):A=m.sibling;var q=x(e,m,h[y],k);if(null===q){null===m&&(m=A);break}a&&\nm&&null===q.alternate&&b(e,m);g=f(q,g,y);null===t?l=q:t.sibling=q;t=q;m=A}if(y===h.length)return c(e,m),l;if(null===m){for(;y<h.length;y++)m=p(e,h[y],k),null!==m&&(g=f(m,g,y),null===t?l=m:t.sibling=m,t=m);return l}for(m=d(e,m);y<h.length;y++)A=z(m,e,y,h[y],k),null!==A&&(a&&null!==A.alternate&&m.delete(null===A.key?y:A.key),g=f(A,g,y),null===t?l=A:t.sibling=A,t=A);a&&m.forEach(function(a){return b(e,a)});return l}function D(e,g,h,l){var k=nb(h);if(\"function\"!==typeof k)throw Error(u(150));h=k.call(h);\nif(null==h)throw Error(u(151));for(var m=k=null,t=g,y=g=0,A=null,q=h.next();null!==t&&!q.done;y++,q=h.next()){t.index>y?(A=t,t=null):A=t.sibling;var D=x(e,t,q.value,l);if(null===D){null===t&&(t=A);break}a&&t&&null===D.alternate&&b(e,t);g=f(D,g,y);null===m?k=D:m.sibling=D;m=D;t=A}if(q.done)return c(e,t),k;if(null===t){for(;!q.done;y++,q=h.next())q=p(e,q.value,l),null!==q&&(g=f(q,g,y),null===m?k=q:m.sibling=q,m=q);return k}for(t=d(e,t);!q.done;y++,q=h.next())q=z(t,e,y,q.value,l),null!==q&&(a&&null!==\nq.alternate&&t.delete(null===q.key?y:q.key),g=f(q,g,y),null===m?k=q:m.sibling=q,m=q);a&&t.forEach(function(a){return b(e,a)});return k}return function(a,d,f,h){var k=\"object\"===typeof f&&null!==f&&f.type===ab&&null===f.key;k&&(f=f.props.children);var l=\"object\"===typeof f&&null!==f;if(l)switch(f.$$typeof){case Za:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){switch(k.tag){case 7:if(f.type===ab){c(a,k.sibling);d=e(k,f.props.children);d.return=a;a=d;break a}break;default:if(k.elementType===f.type){c(a,\nk.sibling);d=e(k,f.props);d.ref=Pg(a,k,f);d.return=a;a=d;break a}}c(a,k);break}else b(a,k);k=k.sibling}f.type===ab?(d=Wg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Ug(f.type,f.key,f.props,null,a.mode,h),h.ref=Pg(a,d,f),h.return=a,a=h)}return g(a);case $a:a:{for(k=f.key;null!==d;){if(d.key===k)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=\nd.sibling}d=Vg(f,a.mode,h);d.return=a;a=d}return g(a)}if(\"string\"===typeof f||\"number\"===typeof f)return f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=Tg(f,a.mode,h),d.return=a,a=d),g(a);if(Og(f))return ca(a,d,f,h);if(nb(f))return D(a,d,f,h);l&&Qg(a,f);if(\"undefined\"===typeof f&&!k)switch(a.tag){case 1:case 0:throw a=a.type,Error(u(152,a.displayName||a.name||\"Component\"));}return c(a,d)}}var Xg=Rg(!0),Yg=Rg(!1),Zg={},$g={current:Zg},ah={current:Zg},bh={current:Zg};\nfunction ch(a){if(a===Zg)throw Error(u(174));return a}function dh(a,b){I(bh,b);I(ah,a);I($g,Zg);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Ob(null,\"\");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=Ob(b,a)}H($g);I($g,b)}function eh(){H($g);H(ah);H(bh)}function fh(a){ch(bh.current);var b=ch($g.current);var c=Ob(b,a.type);b!==c&&(I(ah,a),I($g,c))}function gh(a){ah.current===a&&(H($g),H(ah))}var M={current:0};\nfunction hh(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||c.data===Bd||c.data===Cd))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function ih(a,b){return{responder:a,props:b}}\nvar jh=Wa.ReactCurrentDispatcher,kh=Wa.ReactCurrentBatchConfig,lh=0,N=null,O=null,P=null,mh=!1;function Q(){throw Error(u(321));}function nh(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!$e(a[c],b[c]))return!1;return!0}\nfunction oh(a,b,c,d,e,f){lh=f;N=b;b.memoizedState=null;b.updateQueue=null;b.expirationTime=0;jh.current=null===a||null===a.memoizedState?ph:qh;a=c(d,e);if(b.expirationTime===lh){f=0;do{b.expirationTime=0;if(!(25>f))throw Error(u(301));f+=1;P=O=null;b.updateQueue=null;jh.current=rh;a=c(d,e)}while(b.expirationTime===lh)}jh.current=sh;b=null!==O&&null!==O.next;lh=0;P=O=N=null;mh=!1;if(b)throw Error(u(300));return a}\nfunction th(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===P?N.memoizedState=P=a:P=P.next=a;return P}function uh(){if(null===O){var a=N.alternate;a=null!==a?a.memoizedState:null}else a=O.next;var b=null===P?N.memoizedState:P.next;if(null!==b)P=b,O=a;else{if(null===a)throw Error(u(310));O=a;a={memoizedState:O.memoizedState,baseState:O.baseState,baseQueue:O.baseQueue,queue:O.queue,next:null};null===P?N.memoizedState=P=a:P=P.next=a}return P}\nfunction vh(a,b){return\"function\"===typeof b?b(a):b}\nfunction wh(a){var b=uh(),c=b.queue;if(null===c)throw Error(u(311));c.lastRenderedReducer=a;var d=O,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){e=e.next;d=d.baseState;var h=g=f=null,k=e;do{var l=k.expirationTime;if(l<lh){var m={expirationTime:k.expirationTime,suspenseConfig:k.suspenseConfig,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null};null===h?(g=h=m,f=d):h=h.next=m;l>N.expirationTime&&\n(N.expirationTime=l,Bg(l))}else null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:k.suspenseConfig,action:k.action,eagerReducer:k.eagerReducer,eagerState:k.eagerState,next:null}),Ag(l,k.suspenseConfig),d=k.eagerReducer===a?k.eagerState:a(d,k.action);k=k.next}while(null!==k&&k!==e);null===h?f=d:h.next=g;$e(d,b.memoizedState)||(rg=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState=d}return[b.memoizedState,c.dispatch]}\nfunction xh(a){var b=uh(),c=b.queue;if(null===c)throw Error(u(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);$e(f,b.memoizedState)||(rg=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}\nfunction yh(a){var b=th();\"function\"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={pending:null,dispatch:null,lastRenderedReducer:vh,lastRenderedState:a};a=a.dispatch=zh.bind(null,N,a);return[b.memoizedState,a]}function Ah(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=N.updateQueue;null===b?(b={lastEffect:null},N.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}\nfunction Bh(){return uh().memoizedState}function Ch(a,b,c,d){var e=th();N.effectTag|=a;e.memoizedState=Ah(1|b,c,void 0,void 0===d?null:d)}function Dh(a,b,c,d){var e=uh();d=void 0===d?null:d;var f=void 0;if(null!==O){var g=O.memoizedState;f=g.destroy;if(null!==d&&nh(d,g.deps)){Ah(b,c,f,d);return}}N.effectTag|=a;e.memoizedState=Ah(1|b,c,f,d)}function Eh(a,b){return Ch(516,4,a,b)}function Fh(a,b){return Dh(516,4,a,b)}function Gh(a,b){return Dh(4,2,a,b)}\nfunction Hh(a,b){if(\"function\"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function Ih(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Dh(4,2,Hh.bind(null,b,a),c)}function Jh(){}function Kh(a,b){th().memoizedState=[a,void 0===b?null:b];return a}function Lh(a,b){var c=uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&nh(b,d[1]))return d[0];c.memoizedState=[a,b];return a}\nfunction Mh(a,b){var c=uh();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&nh(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function Nh(a,b,c){var d=ag();cg(98>d?98:d,function(){a(!0)});cg(97<d?97:d,function(){var d=kh.suspense;kh.suspense=void 0===b?null:b;try{a(!1),c()}finally{kh.suspense=d}})}\nfunction zh(a,b,c){var d=Gg(),e=Dg.suspense;d=Hg(d,a,e);e={expirationTime:d,suspenseConfig:e,action:c,eagerReducer:null,eagerState:null,next:null};var f=b.pending;null===f?e.next=e:(e.next=f.next,f.next=e);b.pending=e;f=a.alternate;if(a===N||null!==f&&f===N)mh=!0,e.expirationTime=lh,N.expirationTime=lh;else{if(0===a.expirationTime&&(null===f||0===f.expirationTime)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.eagerReducer=f;e.eagerState=h;if($e(h,g))return}catch(k){}finally{}Ig(a,\nd)}}\nvar sh={readContext:sg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useResponder:Q,useDeferredValue:Q,useTransition:Q},ph={readContext:sg,useCallback:Kh,useContext:sg,useEffect:Eh,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return Ch(4,2,Hh.bind(null,b,a),c)},useLayoutEffect:function(a,b){return Ch(4,2,a,b)},useMemo:function(a,b){var c=th();b=void 0===b?null:b;a=a();c.memoizedState=[a,\nb];return a},useReducer:function(a,b,c){var d=th();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a=d.queue={pending:null,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};a=a.dispatch=zh.bind(null,N,a);return[d.memoizedState,a]},useRef:function(a){var b=th();a={current:a};return b.memoizedState=a},useState:yh,useDebugValue:Jh,useResponder:ih,useDeferredValue:function(a,b){var c=yh(a),d=c[0],e=c[1];Eh(function(){var c=kh.suspense;kh.suspense=void 0===b?null:b;try{e(a)}finally{kh.suspense=\nc}},[a,b]);return d},useTransition:function(a){var b=yh(!1),c=b[0];b=b[1];return[Kh(Nh.bind(null,b,a),[b,a]),c]}},qh={readContext:sg,useCallback:Lh,useContext:sg,useEffect:Fh,useImperativeHandle:Ih,useLayoutEffect:Gh,useMemo:Mh,useReducer:wh,useRef:Bh,useState:function(){return wh(vh)},useDebugValue:Jh,useResponder:ih,useDeferredValue:function(a,b){var c=wh(vh),d=c[0],e=c[1];Fh(function(){var c=kh.suspense;kh.suspense=void 0===b?null:b;try{e(a)}finally{kh.suspense=c}},[a,b]);return d},useTransition:function(a){var b=\nwh(vh),c=b[0];b=b[1];return[Lh(Nh.bind(null,b,a),[b,a]),c]}},rh={readContext:sg,useCallback:Lh,useContext:sg,useEffect:Fh,useImperativeHandle:Ih,useLayoutEffect:Gh,useMemo:Mh,useReducer:xh,useRef:Bh,useState:function(){return xh(vh)},useDebugValue:Jh,useResponder:ih,useDeferredValue:function(a,b){var c=xh(vh),d=c[0],e=c[1];Fh(function(){var c=kh.suspense;kh.suspense=void 0===b?null:b;try{e(a)}finally{kh.suspense=c}},[a,b]);return d},useTransition:function(a){var b=xh(vh),c=b[0];b=b[1];return[Lh(Nh.bind(null,\nb,a),[b,a]),c]}},Oh=null,Ph=null,Qh=!1;function Rh(a,b){var c=Sh(5,null,null,0);c.elementType=\"DELETED\";c.type=\"DELETED\";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}\nfunction Th(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=\"\"===a.pendingProps||3!==b.nodeType?null:b,null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}\nfunction Uh(a){if(Qh){var b=Ph;if(b){var c=b;if(!Th(a,b)){b=Jd(c.nextSibling);if(!b||!Th(a,b)){a.effectTag=a.effectTag&-1025|2;Qh=!1;Oh=a;return}Rh(Oh,c)}Oh=a;Ph=Jd(b.firstChild)}else a.effectTag=a.effectTag&-1025|2,Qh=!1,Oh=a}}function Vh(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;Oh=a}\nfunction Wh(a){if(a!==Oh)return!1;if(!Qh)return Vh(a),Qh=!0,!1;var b=a.type;if(5!==a.tag||\"head\"!==b&&\"body\"!==b&&!Gd(b,a.memoizedProps))for(b=Ph;b;)Rh(a,b),b=Jd(b.nextSibling);Vh(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(u(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if(c===Ad){if(0===b){Ph=Jd(a.nextSibling);break a}b--}else c!==zd&&c!==Cd&&c!==Bd||b++}a=a.nextSibling}Ph=null}}else Ph=Oh?Jd(a.stateNode.nextSibling):null;return!0}\nfunction Xh(){Ph=Oh=null;Qh=!1}var Yh=Wa.ReactCurrentOwner,rg=!1;function R(a,b,c,d){b.child=null===a?Yg(b,null,c,d):Xg(b,a.child,c,d)}function Zh(a,b,c,d,e){c=c.render;var f=b.ref;qg(b,e);d=oh(a,b,c,d,f,e);if(null!==a&&!rg)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),$h(a,b,e);b.effectTag|=1;R(a,b,d,e);return b.child}\nfunction ai(a,b,c,d,e,f){if(null===a){var g=c.type;if(\"function\"===typeof g&&!bi(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,ci(a,b,g,d,e,f);a=Ug(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(e<f&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:bf,c(e,d)&&a.ref===b.ref))return $h(a,b,f);b.effectTag|=1;a=Sg(g,d);a.ref=b.ref;a.return=b;return b.child=a}\nfunction ci(a,b,c,d,e,f){return null!==a&&bf(a.memoizedProps,d)&&a.ref===b.ref&&(rg=!1,e<f)?(b.expirationTime=a.expirationTime,$h(a,b,f)):di(a,b,c,d,f)}function ei(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.effectTag|=128}function di(a,b,c,d,e){var f=L(c)?Bf:J.current;f=Cf(b,f);qg(b,e);c=oh(a,b,c,d,f,e);if(null!==a&&!rg)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),$h(a,b,e);b.effectTag|=1;R(a,b,c,e);return b.child}\nfunction fi(a,b,c,d,e){if(L(c)){var f=!0;Gf(b)}else f=!1;qg(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),Lg(b,c,d),Ng(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var k=g.context,l=c.contextType;\"object\"===typeof l&&null!==l?l=sg(l):(l=L(c)?Bf:J.current,l=Cf(b,l));var m=c.getDerivedStateFromProps,p=\"function\"===typeof m||\"function\"===typeof g.getSnapshotBeforeUpdate;p||\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\n\"function\"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Mg(b,g,d,l);tg=!1;var x=b.memoizedState;g.state=x;zg(b,d,g,e);k=b.memoizedState;h!==d||x!==k||K.current||tg?(\"function\"===typeof m&&(Fg(b,c,m,d),k=b.memoizedState),(h=tg||Kg(b,c,h,d,x,k,l))?(p||\"function\"!==typeof g.UNSAFE_componentWillMount&&\"function\"!==typeof g.componentWillMount||(\"function\"===typeof g.componentWillMount&&g.componentWillMount(),\"function\"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),\"function\"===\ntypeof g.componentDidMount&&(b.effectTag|=4)):(\"function\"===typeof g.componentDidMount&&(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=k),g.props=d,g.state=k,g.context=l,d=h):(\"function\"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1)}else g=b.stateNode,vg(a,b),h=b.memoizedProps,g.props=b.type===b.elementType?h:ig(b.type,h),k=g.context,l=c.contextType,\"object\"===typeof l&&null!==l?l=sg(l):(l=L(c)?Bf:J.current,l=Cf(b,l)),m=c.getDerivedStateFromProps,(p=\"function\"===typeof m||\"function\"===\ntypeof g.getSnapshotBeforeUpdate)||\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\"function\"!==typeof g.componentWillReceiveProps||(h!==d||k!==l)&&Mg(b,g,d,l),tg=!1,k=b.memoizedState,g.state=k,zg(b,d,g,e),x=b.memoizedState,h!==d||k!==x||K.current||tg?(\"function\"===typeof m&&(Fg(b,c,m,d),x=b.memoizedState),(m=tg||Kg(b,c,h,d,k,x,l))?(p||\"function\"!==typeof g.UNSAFE_componentWillUpdate&&\"function\"!==typeof g.componentWillUpdate||(\"function\"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,\nx,l),\"function\"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,x,l)),\"function\"===typeof g.componentDidUpdate&&(b.effectTag|=4),\"function\"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):(\"function\"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),b.memoizedProps=d,b.memoizedState=x),g.props=d,g.state=x,g.context=l,d=m):\n(\"function\"!==typeof g.componentDidUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&k===a.memoizedState||(b.effectTag|=256),d=!1);return gi(a,b,c,d,f,e)}\nfunction gi(a,b,c,d,e,f){ei(a,b);var g=0!==(b.effectTag&64);if(!d&&!g)return e&&Hf(b,c,!1),$h(a,b,f);d=b.stateNode;Yh.current=b;var h=g&&\"function\"!==typeof c.getDerivedStateFromError?null:d.render();b.effectTag|=1;null!==a&&g?(b.child=Xg(b,a.child,null,f),b.child=Xg(b,null,h,f)):R(a,b,h,f);b.memoizedState=d.state;e&&Hf(b,c,!0);return b.child}function hi(a){var b=a.stateNode;b.pendingContext?Ef(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Ef(a,b.context,!1);dh(a,b.containerInfo)}\nvar ii={dehydrated:null,retryTime:0};\nfunction ji(a,b,c){var d=b.mode,e=b.pendingProps,f=M.current,g=!1,h;(h=0!==(b.effectTag&64))||(h=0!==(f&2)&&(null===a||null!==a.memoizedState));h?(g=!0,b.effectTag&=-65):null!==a&&null===a.memoizedState||void 0===e.fallback||!0===e.unstable_avoidThisFallback||(f|=1);I(M,f&1);if(null===a){void 0!==e.fallback&&Uh(b);if(g){g=e.fallback;e=Wg(null,d,0,null);e.return=b;if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==a;)a.return=e,a=a.sibling;c=Wg(g,d,c,null);c.return=\nb;e.sibling=c;b.memoizedState=ii;b.child=e;return c}d=e.children;b.memoizedState=null;return b.child=Yg(b,null,d,c)}if(null!==a.memoizedState){a=a.child;d=a.sibling;if(g){e=e.fallback;c=Sg(a,a.pendingProps);c.return=b;if(0===(b.mode&2)&&(g=null!==b.memoizedState?b.child.child:b.child,g!==a.child))for(c.child=g;null!==g;)g.return=c,g=g.sibling;d=Sg(d,e);d.return=b;c.sibling=d;c.childExpirationTime=0;b.memoizedState=ii;b.child=c;return d}c=Xg(b,a.child,e.children,c);b.memoizedState=null;return b.child=\nc}a=a.child;if(g){g=e.fallback;e=Wg(null,d,0,null);e.return=b;e.child=a;null!==a&&(a.return=e);if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==a;)a.return=e,a=a.sibling;c=Wg(g,d,c,null);c.return=b;e.sibling=c;c.effectTag|=2;e.childExpirationTime=0;b.memoizedState=ii;b.child=e;return c}b.memoizedState=null;return b.child=Xg(b,a,e.children,c)}\nfunction ki(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);pg(a.return,b)}function li(a,b,c,d,e,f){var g=a.memoizedState;null===g?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailExpiration:0,tailMode:e,lastEffect:f}:(g.isBackwards=b,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=c,g.tailExpiration=0,g.tailMode=e,g.lastEffect=f)}\nfunction mi(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;R(a,b,d.children,c);d=M.current;if(0!==(d&2))d=d&1|2,b.effectTag|=64;else{if(null!==a&&0!==(a.effectTag&64))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&ki(a,c);else if(19===a.tag)ki(a,c);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===a.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}I(M,d);if(0===(b.mode&2))b.memoizedState=\nnull;else switch(e){case \"forwards\":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===hh(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);li(b,!1,e,c,f,b.lastEffect);break;case \"backwards\":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===hh(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}li(b,!0,c,null,f,b.lastEffect);break;case \"together\":li(b,!1,null,null,void 0,b.lastEffect);break;default:b.memoizedState=null}return b.child}\nfunction $h(a,b,c){null!==a&&(b.dependencies=a.dependencies);var d=b.expirationTime;0!==d&&Bg(d);if(b.childExpirationTime<c)return null;if(null!==a&&b.child!==a.child)throw Error(u(153));if(null!==b.child){a=b.child;c=Sg(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Sg(a,a.pendingProps),c.return=b;c.sibling=null}return b.child}var ni,oi,pi,qi;\nni=function(a,b){for(var c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};oi=function(){};\npi=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;ch($g.current);a=null;switch(c){case \"input\":f=zb(g,f);d=zb(g,d);a=[];break;case \"option\":f=Gb(g,f);d=Gb(g,d);a=[];break;case \"select\":f=n({},f,{value:void 0});d=n({},d,{value:void 0});a=[];break;case \"textarea\":f=Ib(g,f);d=Ib(g,d);a=[];break;default:\"function\"!==typeof f.onClick&&\"function\"===typeof d.onClick&&(g.onclick=sd)}od(c,d);var h,k;c=null;for(h in f)if(!d.hasOwnProperty(h)&&f.hasOwnProperty(h)&&null!=f[h])if(\"style\"===\nh)for(k in g=f[h],g)g.hasOwnProperty(k)&&(c||(c={}),c[k]=\"\");else\"dangerouslySetInnerHTML\"!==h&&\"children\"!==h&&\"suppressContentEditableWarning\"!==h&&\"suppressHydrationWarning\"!==h&&\"autoFocus\"!==h&&(va.hasOwnProperty(h)?a||(a=[]):(a=a||[]).push(h,null));for(h in d){var l=d[h];g=null!=f?f[h]:void 0;if(d.hasOwnProperty(h)&&l!==g&&(null!=l||null!=g))if(\"style\"===h)if(g){for(k in g)!g.hasOwnProperty(k)||l&&l.hasOwnProperty(k)||(c||(c={}),c[k]=\"\");for(k in l)l.hasOwnProperty(k)&&g[k]!==l[k]&&(c||(c={}),\nc[k]=l[k])}else c||(a||(a=[]),a.push(h,c)),c=l;else\"dangerouslySetInnerHTML\"===h?(l=l?l.__html:void 0,g=g?g.__html:void 0,null!=l&&g!==l&&(a=a||[]).push(h,l)):\"children\"===h?g===l||\"string\"!==typeof l&&\"number\"!==typeof l||(a=a||[]).push(h,\"\"+l):\"suppressContentEditableWarning\"!==h&&\"suppressHydrationWarning\"!==h&&(va.hasOwnProperty(h)?(null!=l&&rd(e,h),a||g===l||(a=[])):(a=a||[]).push(h,l))}c&&(a=a||[]).push(\"style\",c);e=a;if(b.updateQueue=e)b.effectTag|=4}};\nqi=function(a,b,c,d){c!==d&&(b.effectTag|=4)};function ri(a,b){switch(a.tailMode){case \"hidden\":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case \"collapsed\":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}}\nfunction si(a,b,c){var d=b.pendingProps;switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return L(b.type)&&Df(),null;case 3:return eh(),H(K),H(J),c=b.stateNode,c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),null!==a&&null!==a.child||!Wh(b)||(b.effectTag|=4),oi(b),null;case 5:gh(b);c=ch(bh.current);var e=b.type;if(null!==a&&null!=b.stateNode)pi(a,b,e,d,c),a.ref!==b.ref&&(b.effectTag|=128);else{if(!d){if(null===b.stateNode)throw Error(u(166));\nreturn null}a=ch($g.current);if(Wh(b)){d=b.stateNode;e=b.type;var f=b.memoizedProps;d[Md]=b;d[Nd]=f;switch(e){case \"iframe\":case \"object\":case \"embed\":F(\"load\",d);break;case \"video\":case \"audio\":for(a=0;a<ac.length;a++)F(ac[a],d);break;case \"source\":F(\"error\",d);break;case \"img\":case \"image\":case \"link\":F(\"error\",d);F(\"load\",d);break;case \"form\":F(\"reset\",d);F(\"submit\",d);break;case \"details\":F(\"toggle\",d);break;case \"input\":Ab(d,f);F(\"invalid\",d);rd(c,\"onChange\");break;case \"select\":d._wrapperState=\n{wasMultiple:!!f.multiple};F(\"invalid\",d);rd(c,\"onChange\");break;case \"textarea\":Jb(d,f),F(\"invalid\",d),rd(c,\"onChange\")}od(e,f);a=null;for(var g in f)if(f.hasOwnProperty(g)){var h=f[g];\"children\"===g?\"string\"===typeof h?d.textContent!==h&&(a=[\"children\",h]):\"number\"===typeof h&&d.textContent!==\"\"+h&&(a=[\"children\",\"\"+h]):va.hasOwnProperty(g)&&null!=h&&rd(c,g)}switch(e){case \"input\":xb(d);Eb(d,f,!0);break;case \"textarea\":xb(d);Lb(d);break;case \"select\":case \"option\":break;default:\"function\"===typeof f.onClick&&\n(d.onclick=sd)}c=a;b.updateQueue=c;null!==c&&(b.effectTag|=4)}else{g=9===c.nodeType?c:c.ownerDocument;a===qd&&(a=Nb(e));a===qd?\"script\"===e?(a=g.createElement(\"div\"),a.innerHTML=\"<script>\\x3c/script>\",a=a.removeChild(a.firstChild)):\"string\"===typeof d.is?a=g.createElement(e,{is:d.is}):(a=g.createElement(e),\"select\"===e&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,e);a[Md]=b;a[Nd]=d;ni(a,b,!1,!1);b.stateNode=a;g=pd(e,d);switch(e){case \"iframe\":case \"object\":case \"embed\":F(\"load\",\na);h=d;break;case \"video\":case \"audio\":for(h=0;h<ac.length;h++)F(ac[h],a);h=d;break;case \"source\":F(\"error\",a);h=d;break;case \"img\":case \"image\":case \"link\":F(\"error\",a);F(\"load\",a);h=d;break;case \"form\":F(\"reset\",a);F(\"submit\",a);h=d;break;case \"details\":F(\"toggle\",a);h=d;break;case \"input\":Ab(a,d);h=zb(a,d);F(\"invalid\",a);rd(c,\"onChange\");break;case \"option\":h=Gb(a,d);break;case \"select\":a._wrapperState={wasMultiple:!!d.multiple};h=n({},d,{value:void 0});F(\"invalid\",a);rd(c,\"onChange\");break;case \"textarea\":Jb(a,\nd);h=Ib(a,d);F(\"invalid\",a);rd(c,\"onChange\");break;default:h=d}od(e,h);var k=h;for(f in k)if(k.hasOwnProperty(f)){var l=k[f];\"style\"===f?md(a,l):\"dangerouslySetInnerHTML\"===f?(l=l?l.__html:void 0,null!=l&&Qb(a,l)):\"children\"===f?\"string\"===typeof l?(\"textarea\"!==e||\"\"!==l)&&Rb(a,l):\"number\"===typeof l&&Rb(a,\"\"+l):\"suppressContentEditableWarning\"!==f&&\"suppressHydrationWarning\"!==f&&\"autoFocus\"!==f&&(va.hasOwnProperty(f)?null!=l&&rd(c,f):null!=l&&Xa(a,f,l,g))}switch(e){case \"input\":xb(a);Eb(a,d,!1);\nbreak;case \"textarea\":xb(a);Lb(a);break;case \"option\":null!=d.value&&a.setAttribute(\"value\",\"\"+rb(d.value));break;case \"select\":a.multiple=!!d.multiple;c=d.value;null!=c?Hb(a,!!d.multiple,c,!1):null!=d.defaultValue&&Hb(a,!!d.multiple,d.defaultValue,!0);break;default:\"function\"===typeof h.onClick&&(a.onclick=sd)}Fd(e,d)&&(b.effectTag|=4)}null!==b.ref&&(b.effectTag|=128)}return null;case 6:if(a&&null!=b.stateNode)qi(a,b,a.memoizedProps,d);else{if(\"string\"!==typeof d&&null===b.stateNode)throw Error(u(166));\nc=ch(bh.current);ch($g.current);Wh(b)?(c=b.stateNode,d=b.memoizedProps,c[Md]=b,c.nodeValue!==d&&(b.effectTag|=4)):(c=(9===c.nodeType?c:c.ownerDocument).createTextNode(d),c[Md]=b,b.stateNode=c)}return null;case 13:H(M);d=b.memoizedState;if(0!==(b.effectTag&64))return b.expirationTime=c,b;c=null!==d;d=!1;null===a?void 0!==b.memoizedProps.fallback&&Wh(b):(e=a.memoizedState,d=null!==e,c||null===e||(e=a.child.sibling,null!==e&&(f=b.firstEffect,null!==f?(b.firstEffect=e,e.nextEffect=f):(b.firstEffect=b.lastEffect=\ne,e.nextEffect=null),e.effectTag=8)));if(c&&!d&&0!==(b.mode&2))if(null===a&&!0!==b.memoizedProps.unstable_avoidThisFallback||0!==(M.current&1))S===ti&&(S=ui);else{if(S===ti||S===ui)S=vi;0!==wi&&null!==T&&(xi(T,U),yi(T,wi))}if(c||d)b.effectTag|=4;return null;case 4:return eh(),oi(b),null;case 10:return og(b),null;case 17:return L(b.type)&&Df(),null;case 19:H(M);d=b.memoizedState;if(null===d)return null;e=0!==(b.effectTag&64);f=d.rendering;if(null===f)if(e)ri(d,!1);else{if(S!==ti||null!==a&&0!==(a.effectTag&\n64))for(f=b.child;null!==f;){a=hh(f);if(null!==a){b.effectTag|=64;ri(d,!1);e=a.updateQueue;null!==e&&(b.updateQueue=e,b.effectTag|=4);null===d.lastEffect&&(b.firstEffect=null);b.lastEffect=d.lastEffect;for(d=b.child;null!==d;)e=d,f=c,e.effectTag&=2,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null,a=e.alternate,null===a?(e.childExpirationTime=0,e.expirationTime=f,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null):(e.childExpirationTime=a.childExpirationTime,\ne.expirationTime=a.expirationTime,e.child=a.child,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,f=a.dependencies,e.dependencies=null===f?null:{expirationTime:f.expirationTime,firstContext:f.firstContext,responders:f.responders}),d=d.sibling;I(M,M.current&1|2);return b.child}f=f.sibling}}else{if(!e)if(a=hh(f),null!==a){if(b.effectTag|=64,e=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.effectTag|=4),ri(d,!0),null===d.tail&&\"hidden\"===d.tailMode&&!f.alternate)return b=\nb.lastEffect=d.lastEffect,null!==b&&(b.nextEffect=null),null}else 2*$f()-d.renderingStartTime>d.tailExpiration&&1<c&&(b.effectTag|=64,e=!0,ri(d,!1),b.expirationTime=b.childExpirationTime=c-1);d.isBackwards?(f.sibling=b.child,b.child=f):(c=d.last,null!==c?c.sibling=f:b.child=f,d.last=f)}return null!==d.tail?(0===d.tailExpiration&&(d.tailExpiration=$f()+500),c=d.tail,d.rendering=c,d.tail=c.sibling,d.lastEffect=b.lastEffect,d.renderingStartTime=$f(),c.sibling=null,b=M.current,I(M,e?b&1|2:b&1),c):null}throw Error(u(156,\nb.tag));}function zi(a){switch(a.tag){case 1:L(a.type)&&Df();var b=a.effectTag;return b&4096?(a.effectTag=b&-4097|64,a):null;case 3:eh();H(K);H(J);b=a.effectTag;if(0!==(b&64))throw Error(u(285));a.effectTag=b&-4097|64;return a;case 5:return gh(a),null;case 13:return H(M),b=a.effectTag,b&4096?(a.effectTag=b&-4097|64,a):null;case 19:return H(M),null;case 4:return eh(),null;case 10:return og(a),null;default:return null}}function Ai(a,b){return{value:a,source:b,stack:qb(b)}}\nvar Bi=\"function\"===typeof WeakSet?WeakSet:Set;function Ci(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=qb(c));null!==c&&pb(c.type);b=b.value;null!==a&&1===a.tag&&pb(a.type);try{console.error(b)}catch(e){setTimeout(function(){throw e;})}}function Di(a,b){try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount()}catch(c){Ei(a,c)}}function Fi(a){var b=a.ref;if(null!==b)if(\"function\"===typeof b)try{b(null)}catch(c){Ei(a,c)}else b.current=null}\nfunction Gi(a,b){switch(b.tag){case 0:case 11:case 15:case 22:return;case 1:if(b.effectTag&256&&null!==a){var c=a.memoizedProps,d=a.memoizedState;a=b.stateNode;b=a.getSnapshotBeforeUpdate(b.elementType===b.type?c:ig(b.type,c),d);a.__reactInternalSnapshotBeforeUpdate=b}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(u(163));}\nfunction Hi(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.destroy;c.destroy=void 0;void 0!==d&&d()}c=c.next}while(c!==b)}}function Ii(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}\nfunction Ji(a,b,c){switch(c.tag){case 0:case 11:case 15:case 22:Ii(3,c);return;case 1:a=c.stateNode;if(c.effectTag&4)if(null===b)a.componentDidMount();else{var d=c.elementType===c.type?b.memoizedProps:ig(c.type,b.memoizedProps);a.componentDidUpdate(d,b.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}b=c.updateQueue;null!==b&&Cg(c,b,a);return;case 3:b=c.updateQueue;if(null!==b){a=null;if(null!==c.child)switch(c.child.tag){case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}Cg(c,b,a)}return;\ncase 5:a=c.stateNode;null===b&&c.effectTag&4&&Fd(c.type,c.memoizedProps)&&a.focus();return;case 6:return;case 4:return;case 12:return;case 13:null===c.memoizedState&&(c=c.alternate,null!==c&&(c=c.memoizedState,null!==c&&(c=c.dehydrated,null!==c&&Vc(c))));return;case 19:case 17:case 20:case 21:return}throw Error(u(163));}\nfunction Ki(a,b,c){\"function\"===typeof Li&&Li(b);switch(b.tag){case 0:case 11:case 14:case 15:case 22:a=b.updateQueue;if(null!==a&&(a=a.lastEffect,null!==a)){var d=a.next;cg(97<c?97:c,function(){var a=d;do{var c=a.destroy;if(void 0!==c){var g=b;try{c()}catch(h){Ei(g,h)}}a=a.next}while(a!==d)})}break;case 1:Fi(b);c=b.stateNode;\"function\"===typeof c.componentWillUnmount&&Di(b,c);break;case 5:Fi(b);break;case 4:Mi(a,b,c)}}\nfunction Ni(a){var b=a.alternate;a.return=null;a.child=null;a.memoizedState=null;a.updateQueue=null;a.dependencies=null;a.alternate=null;a.firstEffect=null;a.lastEffect=null;a.pendingProps=null;a.memoizedProps=null;a.stateNode=null;null!==b&&Ni(b)}function Oi(a){return 5===a.tag||3===a.tag||4===a.tag}\nfunction Pi(a){a:{for(var b=a.return;null!==b;){if(Oi(b)){var c=b;break a}b=b.return}throw Error(u(160));}b=c.stateNode;switch(c.tag){case 5:var d=!1;break;case 3:b=b.containerInfo;d=!0;break;case 4:b=b.containerInfo;d=!0;break;default:throw Error(u(161));}c.effectTag&16&&(Rb(b,\"\"),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Oi(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(c.effectTag&2)continue b;\nif(null===c.child||4===c.tag)continue b;else c.child.return=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}d?Qi(a,c,b):Ri(a,c,b)}\nfunction Qi(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=sd));else if(4!==d&&(a=a.child,null!==a))for(Qi(a,b,c),a=a.sibling;null!==a;)Qi(a,b,c),a=a.sibling}\nfunction Ri(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Ri(a,b,c),a=a.sibling;null!==a;)Ri(a,b,c),a=a.sibling}\nfunction Mi(a,b,c){for(var d=b,e=!1,f,g;;){if(!e){e=d.return;a:for(;;){if(null===e)throw Error(u(160));f=e.stateNode;switch(e.tag){case 5:g=!1;break a;case 3:f=f.containerInfo;g=!0;break a;case 4:f=f.containerInfo;g=!0;break a}e=e.return}e=!0}if(5===d.tag||6===d.tag){a:for(var h=a,k=d,l=c,m=k;;)if(Ki(h,m,l),null!==m.child&&4!==m.tag)m.child.return=m,m=m.child;else{if(m===k)break a;for(;null===m.sibling;){if(null===m.return||m.return===k)break a;m=m.return}m.sibling.return=m.return;m=m.sibling}g?(h=\nf,k=d.stateNode,8===h.nodeType?h.parentNode.removeChild(k):h.removeChild(k)):f.removeChild(d.stateNode)}else if(4===d.tag){if(null!==d.child){f=d.stateNode.containerInfo;g=!0;d.child.return=d;d=d.child;continue}}else if(Ki(a,d,c),null!==d.child){d.child.return=d;d=d.child;continue}if(d===b)break;for(;null===d.sibling;){if(null===d.return||d.return===b)return;d=d.return;4===d.tag&&(e=!1)}d.sibling.return=d.return;d=d.sibling}}\nfunction Si(a,b){switch(b.tag){case 0:case 11:case 14:case 15:case 22:Hi(3,b);return;case 1:return;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[Nd]=d;\"input\"===a&&\"radio\"===d.type&&null!=d.name&&Bb(c,d);pd(a,e);b=pd(a,d);for(e=0;e<f.length;e+=2){var g=f[e],h=f[e+1];\"style\"===g?md(c,h):\"dangerouslySetInnerHTML\"===g?Qb(c,h):\"children\"===g?Rb(c,h):Xa(c,g,h,b)}switch(a){case \"input\":Cb(c,d);break;\ncase \"textarea\":Kb(c,d);break;case \"select\":b=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,a=d.value,null!=a?Hb(c,!!d.multiple,a,!1):b!==!!d.multiple&&(null!=d.defaultValue?Hb(c,!!d.multiple,d.defaultValue,!0):Hb(c,!!d.multiple,d.multiple?[]:\"\",!1))}}}return;case 6:if(null===b.stateNode)throw Error(u(162));b.stateNode.nodeValue=b.memoizedProps;return;case 3:b=b.stateNode;b.hydrate&&(b.hydrate=!1,Vc(b.containerInfo));return;case 12:return;case 13:c=b;null===b.memoizedState?\nd=!1:(d=!0,c=b.child,Ti=$f());if(null!==c)a:for(a=c;;){if(5===a.tag)f=a.stateNode,d?(f=f.style,\"function\"===typeof f.setProperty?f.setProperty(\"display\",\"none\",\"important\"):f.display=\"none\"):(f=a.stateNode,e=a.memoizedProps.style,e=void 0!==e&&null!==e&&e.hasOwnProperty(\"display\")?e.display:null,f.style.display=ld(\"display\",e));else if(6===a.tag)a.stateNode.nodeValue=d?\"\":a.memoizedProps;else if(13===a.tag&&null!==a.memoizedState&&null===a.memoizedState.dehydrated){f=a.child.sibling;f.return=a;a=\nf;continue}else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===c)break;for(;null===a.sibling;){if(null===a.return||a.return===c)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}Ui(b);return;case 19:Ui(b);return;case 17:return}throw Error(u(163));}function Ui(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Bi);b.forEach(function(b){var d=Vi.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}\nvar Wi=\"function\"===typeof WeakMap?WeakMap:Map;function Xi(a,b,c){c=wg(c,null);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){Yi||(Yi=!0,Zi=d);Ci(a,b)};return c}\nfunction $i(a,b,c){c=wg(c,null);c.tag=3;var d=a.type.getDerivedStateFromError;if(\"function\"===typeof d){var e=b.value;c.payload=function(){Ci(a,b);return d(e)}}var f=a.stateNode;null!==f&&\"function\"===typeof f.componentDidCatch&&(c.callback=function(){\"function\"!==typeof d&&(null===aj?aj=new Set([this]):aj.add(this),Ci(a,b));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:\"\"})});return c}\nvar bj=Math.ceil,cj=Wa.ReactCurrentDispatcher,dj=Wa.ReactCurrentOwner,V=0,ej=8,fj=16,gj=32,ti=0,hj=1,ij=2,ui=3,vi=4,jj=5,W=V,T=null,X=null,U=0,S=ti,kj=null,lj=1073741823,mj=1073741823,nj=null,wi=0,oj=!1,Ti=0,pj=500,Y=null,Yi=!1,Zi=null,aj=null,qj=!1,rj=null,sj=90,tj=null,uj=0,vj=null,wj=0;function Gg(){return(W&(fj|gj))!==V?1073741821-($f()/10|0):0!==wj?wj:wj=1073741821-($f()/10|0)}\nfunction Hg(a,b,c){b=b.mode;if(0===(b&2))return 1073741823;var d=ag();if(0===(b&4))return 99===d?1073741823:1073741822;if((W&fj)!==V)return U;if(null!==c)a=hg(a,c.timeoutMs|0||5E3,250);else switch(d){case 99:a=1073741823;break;case 98:a=hg(a,150,100);break;case 97:case 96:a=hg(a,5E3,250);break;case 95:a=2;break;default:throw Error(u(326));}null!==T&&a===U&&--a;return a}\nfunction Ig(a,b){if(50<uj)throw uj=0,vj=null,Error(u(185));a=xj(a,b);if(null!==a){var c=ag();1073741823===b?(W&ej)!==V&&(W&(fj|gj))===V?yj(a):(Z(a),W===V&&gg()):Z(a);(W&4)===V||98!==c&&99!==c||(null===tj?tj=new Map([[a,b]]):(c=tj.get(a),(void 0===c||c>b)&&tj.set(a,b)))}}\nfunction xj(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);var d=a.return,e=null;if(null===d&&3===a.tag)e=a.stateNode;else for(;null!==d;){c=d.alternate;d.childExpirationTime<b&&(d.childExpirationTime=b);null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}null!==e&&(T===e&&(Bg(b),S===vi&&xi(e,U)),yi(e,b));return e}\nfunction zj(a){var b=a.lastExpiredTime;if(0!==b)return b;b=a.firstPendingTime;if(!Aj(a,b))return b;var c=a.lastPingedTime;a=a.nextKnownPendingLevel;a=c>a?c:a;return 2>=a&&b!==a?0:a}\nfunction Z(a){if(0!==a.lastExpiredTime)a.callbackExpirationTime=1073741823,a.callbackPriority=99,a.callbackNode=eg(yj.bind(null,a));else{var b=zj(a),c=a.callbackNode;if(0===b)null!==c&&(a.callbackNode=null,a.callbackExpirationTime=0,a.callbackPriority=90);else{var d=Gg();1073741823===b?d=99:1===b||2===b?d=95:(d=10*(1073741821-b)-10*(1073741821-d),d=0>=d?99:250>=d?98:5250>=d?97:95);if(null!==c){var e=a.callbackPriority;if(a.callbackExpirationTime===b&&e>=d)return;c!==Tf&&Kf(c)}a.callbackExpirationTime=\nb;a.callbackPriority=d;b=1073741823===b?eg(yj.bind(null,a)):dg(d,Bj.bind(null,a),{timeout:10*(1073741821-b)-$f()});a.callbackNode=b}}}\nfunction Bj(a,b){wj=0;if(b)return b=Gg(),Cj(a,b),Z(a),null;var c=zj(a);if(0!==c){b=a.callbackNode;if((W&(fj|gj))!==V)throw Error(u(327));Dj();a===T&&c===U||Ej(a,c);if(null!==X){var d=W;W|=fj;var e=Fj();do try{Gj();break}catch(h){Hj(a,h)}while(1);ng();W=d;cj.current=e;if(S===hj)throw b=kj,Ej(a,c),xi(a,c),Z(a),b;if(null===X)switch(e=a.finishedWork=a.current.alternate,a.finishedExpirationTime=c,d=S,T=null,d){case ti:case hj:throw Error(u(345));case ij:Cj(a,2<c?2:c);break;case ui:xi(a,c);d=a.lastSuspendedTime;\nc===d&&(a.nextKnownPendingLevel=Ij(e));if(1073741823===lj&&(e=Ti+pj-$f(),10<e)){if(oj){var f=a.lastPingedTime;if(0===f||f>=c){a.lastPingedTime=c;Ej(a,c);break}}f=zj(a);if(0!==f&&f!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}a.timeoutHandle=Hd(Jj.bind(null,a),e);break}Jj(a);break;case vi:xi(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Ij(e));if(oj&&(e=a.lastPingedTime,0===e||e>=c)){a.lastPingedTime=c;Ej(a,c);break}e=zj(a);if(0!==e&&e!==c)break;if(0!==d&&d!==c){a.lastPingedTime=\nd;break}1073741823!==mj?d=10*(1073741821-mj)-$f():1073741823===lj?d=0:(d=10*(1073741821-lj)-5E3,e=$f(),c=10*(1073741821-c)-e,d=e-d,0>d&&(d=0),d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*bj(d/1960))-d,c<d&&(d=c));if(10<d){a.timeoutHandle=Hd(Jj.bind(null,a),d);break}Jj(a);break;case jj:if(1073741823!==lj&&null!==nj){f=lj;var g=nj;d=g.busyMinDurationMs|0;0>=d?d=0:(e=g.busyDelayMs|0,f=$f()-(10*(1073741821-f)-(g.timeoutMs|0||5E3)),d=f<=e?0:e+d-f);if(10<d){xi(a,c);a.timeoutHandle=\nHd(Jj.bind(null,a),d);break}}Jj(a);break;default:throw Error(u(329));}Z(a);if(a.callbackNode===b)return Bj.bind(null,a)}}return null}\nfunction yj(a){var b=a.lastExpiredTime;b=0!==b?b:1073741823;if((W&(fj|gj))!==V)throw Error(u(327));Dj();a===T&&b===U||Ej(a,b);if(null!==X){var c=W;W|=fj;var d=Fj();do try{Kj();break}catch(e){Hj(a,e)}while(1);ng();W=c;cj.current=d;if(S===hj)throw c=kj,Ej(a,b),xi(a,b),Z(a),c;if(null!==X)throw Error(u(261));a.finishedWork=a.current.alternate;a.finishedExpirationTime=b;T=null;Jj(a);Z(a)}return null}function Lj(){if(null!==tj){var a=tj;tj=null;a.forEach(function(a,c){Cj(c,a);Z(c)});gg()}}\nfunction Mj(a,b){var c=W;W|=1;try{return a(b)}finally{W=c,W===V&&gg()}}function Nj(a,b){var c=W;W&=-2;W|=ej;try{return a(b)}finally{W=c,W===V&&gg()}}\nfunction Ej(a,b){a.finishedWork=null;a.finishedExpirationTime=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,Id(c));if(null!==X)for(c=X.return;null!==c;){var d=c;switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&Df();break;case 3:eh();H(K);H(J);break;case 5:gh(d);break;case 4:eh();break;case 13:H(M);break;case 19:H(M);break;case 10:og(d)}c=c.return}T=a;X=Sg(a.current,null);U=b;S=ti;kj=null;mj=lj=1073741823;nj=null;wi=0;oj=!1}\nfunction Hj(a,b){do{try{ng();jh.current=sh;if(mh)for(var c=N.memoizedState;null!==c;){var d=c.queue;null!==d&&(d.pending=null);c=c.next}lh=0;P=O=N=null;mh=!1;if(null===X||null===X.return)return S=hj,kj=b,X=null;a:{var e=a,f=X.return,g=X,h=b;b=U;g.effectTag|=2048;g.firstEffect=g.lastEffect=null;if(null!==h&&\"object\"===typeof h&&\"function\"===typeof h.then){var k=h;if(0===(g.mode&2)){var l=g.alternate;l?(g.updateQueue=l.updateQueue,g.memoizedState=l.memoizedState,g.expirationTime=l.expirationTime):(g.updateQueue=\nnull,g.memoizedState=null)}var m=0!==(M.current&1),p=f;do{var x;if(x=13===p.tag){var z=p.memoizedState;if(null!==z)x=null!==z.dehydrated?!0:!1;else{var ca=p.memoizedProps;x=void 0===ca.fallback?!1:!0!==ca.unstable_avoidThisFallback?!0:m?!1:!0}}if(x){var D=p.updateQueue;if(null===D){var t=new Set;t.add(k);p.updateQueue=t}else D.add(k);if(0===(p.mode&2)){p.effectTag|=64;g.effectTag&=-2981;if(1===g.tag)if(null===g.alternate)g.tag=17;else{var y=wg(1073741823,null);y.tag=2;xg(g,y)}g.expirationTime=1073741823;\nbreak a}h=void 0;g=b;var A=e.pingCache;null===A?(A=e.pingCache=new Wi,h=new Set,A.set(k,h)):(h=A.get(k),void 0===h&&(h=new Set,A.set(k,h)));if(!h.has(g)){h.add(g);var q=Oj.bind(null,e,k,g);k.then(q,q)}p.effectTag|=4096;p.expirationTime=b;break a}p=p.return}while(null!==p);h=Error((pb(g.type)||\"A React component\")+\" suspended while rendering, but no fallback UI was specified.\\n\\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.\"+qb(g))}S!==\njj&&(S=ij);h=Ai(h,g);p=f;do{switch(p.tag){case 3:k=h;p.effectTag|=4096;p.expirationTime=b;var B=Xi(p,k,b);yg(p,B);break a;case 1:k=h;var w=p.type,ub=p.stateNode;if(0===(p.effectTag&64)&&(\"function\"===typeof w.getDerivedStateFromError||null!==ub&&\"function\"===typeof ub.componentDidCatch&&(null===aj||!aj.has(ub)))){p.effectTag|=4096;p.expirationTime=b;var vb=$i(p,k,b);yg(p,vb);break a}}p=p.return}while(null!==p)}X=Pj(X)}catch(Xc){b=Xc;continue}break}while(1)}\nfunction Fj(){var a=cj.current;cj.current=sh;return null===a?sh:a}function Ag(a,b){a<lj&&2<a&&(lj=a);null!==b&&a<mj&&2<a&&(mj=a,nj=b)}function Bg(a){a>wi&&(wi=a)}function Kj(){for(;null!==X;)X=Qj(X)}function Gj(){for(;null!==X&&!Uf();)X=Qj(X)}function Qj(a){var b=Rj(a.alternate,a,U);a.memoizedProps=a.pendingProps;null===b&&(b=Pj(a));dj.current=null;return b}\nfunction Pj(a){X=a;do{var b=X.alternate;a=X.return;if(0===(X.effectTag&2048)){b=si(b,X,U);if(1===U||1!==X.childExpirationTime){for(var c=0,d=X.child;null!==d;){var e=d.expirationTime,f=d.childExpirationTime;e>c&&(c=e);f>c&&(c=f);d=d.sibling}X.childExpirationTime=c}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=X.firstEffect),null!==X.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=X.firstEffect),a.lastEffect=X.lastEffect),1<X.effectTag&&(null!==\na.lastEffect?a.lastEffect.nextEffect=X:a.firstEffect=X,a.lastEffect=X))}else{b=zi(X);if(null!==b)return b.effectTag&=2047,b;null!==a&&(a.firstEffect=a.lastEffect=null,a.effectTag|=2048)}b=X.sibling;if(null!==b)return b;X=a}while(null!==X);S===ti&&(S=jj);return null}function Ij(a){var b=a.expirationTime;a=a.childExpirationTime;return b>a?b:a}function Jj(a){var b=ag();cg(99,Sj.bind(null,a,b));return null}\nfunction Sj(a,b){do Dj();while(null!==rj);if((W&(fj|gj))!==V)throw Error(u(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(u(177));a.callbackNode=null;a.callbackExpirationTime=0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=Ij(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=\nd-1);d<=a.lastPingedTime&&(a.lastPingedTime=0);d<=a.lastExpiredTime&&(a.lastExpiredTime=0);a===T&&(X=T=null,U=0);1<c.effectTag?null!==c.lastEffect?(c.lastEffect.nextEffect=c,e=c.firstEffect):e=c:e=c.firstEffect;if(null!==e){var f=W;W|=gj;dj.current=null;Dd=fd;var g=xd();if(yd(g)){if(\"selectionStart\"in g)var h={start:g.selectionStart,end:g.selectionEnd};else a:{h=(h=g.ownerDocument)&&h.defaultView||window;var k=h.getSelection&&h.getSelection();if(k&&0!==k.rangeCount){h=k.anchorNode;var l=k.anchorOffset,\nm=k.focusNode;k=k.focusOffset;try{h.nodeType,m.nodeType}catch(wb){h=null;break a}var p=0,x=-1,z=-1,ca=0,D=0,t=g,y=null;b:for(;;){for(var A;;){t!==h||0!==l&&3!==t.nodeType||(x=p+l);t!==m||0!==k&&3!==t.nodeType||(z=p+k);3===t.nodeType&&(p+=t.nodeValue.length);if(null===(A=t.firstChild))break;y=t;t=A}for(;;){if(t===g)break b;y===h&&++ca===l&&(x=p);y===m&&++D===k&&(z=p);if(null!==(A=t.nextSibling))break;t=y;y=t.parentNode}t=A}h=-1===x||-1===z?null:{start:x,end:z}}else h=null}h=h||{start:0,end:0}}else h=\nnull;Ed={activeElementDetached:null,focusedElem:g,selectionRange:h};fd=!1;Y=e;do try{Tj()}catch(wb){if(null===Y)throw Error(u(330));Ei(Y,wb);Y=Y.nextEffect}while(null!==Y);Y=e;do try{for(g=a,h=b;null!==Y;){var q=Y.effectTag;q&16&&Rb(Y.stateNode,\"\");if(q&128){var B=Y.alternate;if(null!==B){var w=B.ref;null!==w&&(\"function\"===typeof w?w(null):w.current=null)}}switch(q&1038){case 2:Pi(Y);Y.effectTag&=-3;break;case 6:Pi(Y);Y.effectTag&=-3;Si(Y.alternate,Y);break;case 1024:Y.effectTag&=-1025;break;case 1028:Y.effectTag&=\n-1025;Si(Y.alternate,Y);break;case 4:Si(Y.alternate,Y);break;case 8:l=Y,Mi(g,l,h),Ni(l)}Y=Y.nextEffect}}catch(wb){if(null===Y)throw Error(u(330));Ei(Y,wb);Y=Y.nextEffect}while(null!==Y);w=Ed;B=xd();q=w.focusedElem;h=w.selectionRange;if(B!==q&&q&&q.ownerDocument&&wd(q.ownerDocument.documentElement,q)){null!==h&&yd(q)&&(B=h.start,w=h.end,void 0===w&&(w=B),\"selectionStart\"in q?(q.selectionStart=B,q.selectionEnd=Math.min(w,q.value.length)):(w=(B=q.ownerDocument||document)&&B.defaultView||window,w.getSelection&&\n(w=w.getSelection(),l=q.textContent.length,g=Math.min(h.start,l),h=void 0===h.end?g:Math.min(h.end,l),!w.extend&&g>h&&(l=h,h=g,g=l),l=vd(q,g),m=vd(q,h),l&&m&&(1!==w.rangeCount||w.anchorNode!==l.node||w.anchorOffset!==l.offset||w.focusNode!==m.node||w.focusOffset!==m.offset)&&(B=B.createRange(),B.setStart(l.node,l.offset),w.removeAllRanges(),g>h?(w.addRange(B),w.extend(m.node,m.offset)):(B.setEnd(m.node,m.offset),w.addRange(B))))));B=[];for(w=q;w=w.parentNode;)1===w.nodeType&&B.push({element:w,left:w.scrollLeft,\ntop:w.scrollTop});\"function\"===typeof q.focus&&q.focus();for(q=0;q<B.length;q++)w=B[q],w.element.scrollLeft=w.left,w.element.scrollTop=w.top}fd=!!Dd;Ed=Dd=null;a.current=c;Y=e;do try{for(q=a;null!==Y;){var ub=Y.effectTag;ub&36&&Ji(q,Y.alternate,Y);if(ub&128){B=void 0;var vb=Y.ref;if(null!==vb){var Xc=Y.stateNode;switch(Y.tag){case 5:B=Xc;break;default:B=Xc}\"function\"===typeof vb?vb(B):vb.current=B}}Y=Y.nextEffect}}catch(wb){if(null===Y)throw Error(u(330));Ei(Y,wb);Y=Y.nextEffect}while(null!==Y);Y=\nnull;Vf();W=f}else a.current=c;if(qj)qj=!1,rj=a,sj=b;else for(Y=e;null!==Y;)b=Y.nextEffect,Y.nextEffect=null,Y=b;b=a.firstPendingTime;0===b&&(aj=null);1073741823===b?a===vj?uj++:(uj=0,vj=a):uj=0;\"function\"===typeof Uj&&Uj(c.stateNode,d);Z(a);if(Yi)throw Yi=!1,a=Zi,Zi=null,a;if((W&ej)!==V)return null;gg();return null}function Tj(){for(;null!==Y;){var a=Y.effectTag;0!==(a&256)&&Gi(Y.alternate,Y);0===(a&512)||qj||(qj=!0,dg(97,function(){Dj();return null}));Y=Y.nextEffect}}\nfunction Dj(){if(90!==sj){var a=97<sj?97:sj;sj=90;return cg(a,Vj)}}function Vj(){if(null===rj)return!1;var a=rj;rj=null;if((W&(fj|gj))!==V)throw Error(u(331));var b=W;W|=gj;for(a=a.current.firstEffect;null!==a;){try{var c=a;if(0!==(c.effectTag&512))switch(c.tag){case 0:case 11:case 15:case 22:Hi(5,c),Ii(5,c)}}catch(d){if(null===a)throw Error(u(330));Ei(a,d)}c=a.nextEffect;a.nextEffect=null;a=c}W=b;gg();return!0}\nfunction Wj(a,b,c){b=Ai(c,b);b=Xi(a,b,1073741823);xg(a,b);a=xj(a,1073741823);null!==a&&Z(a)}function Ei(a,b){if(3===a.tag)Wj(a,a,b);else for(var c=a.return;null!==c;){if(3===c.tag){Wj(c,a,b);break}else if(1===c.tag){var d=c.stateNode;if(\"function\"===typeof c.type.getDerivedStateFromError||\"function\"===typeof d.componentDidCatch&&(null===aj||!aj.has(d))){a=Ai(b,a);a=$i(c,a,1073741823);xg(c,a);c=xj(c,1073741823);null!==c&&Z(c);break}}c=c.return}}\nfunction Oj(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);T===a&&U===c?S===vi||S===ui&&1073741823===lj&&$f()-Ti<pj?Ej(a,U):oj=!0:Aj(a,c)&&(b=a.lastPingedTime,0!==b&&b<c||(a.lastPingedTime=c,Z(a)))}function Vi(a,b){var c=a.stateNode;null!==c&&c.delete(b);b=0;0===b&&(b=Gg(),b=Hg(b,a,null));a=xj(a,b);null!==a&&Z(a)}var Rj;\nRj=function(a,b,c){var d=b.expirationTime;if(null!==a){var e=b.pendingProps;if(a.memoizedProps!==e||K.current)rg=!0;else{if(d<c){rg=!1;switch(b.tag){case 3:hi(b);Xh();break;case 5:fh(b);if(b.mode&4&&1!==c&&e.hidden)return b.expirationTime=b.childExpirationTime=1,null;break;case 1:L(b.type)&&Gf(b);break;case 4:dh(b,b.stateNode.containerInfo);break;case 10:d=b.memoizedProps.value;e=b.type._context;I(jg,e._currentValue);e._currentValue=d;break;case 13:if(null!==b.memoizedState){d=b.child.childExpirationTime;\nif(0!==d&&d>=c)return ji(a,b,c);I(M,M.current&1);b=$h(a,b,c);return null!==b?b.sibling:null}I(M,M.current&1);break;case 19:d=b.childExpirationTime>=c;if(0!==(a.effectTag&64)){if(d)return mi(a,b,c);b.effectTag|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null);I(M,M.current);if(!d)return null}return $h(a,b,c)}rg=!1}}else rg=!1;b.expirationTime=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;e=Cf(b,J.current);qg(b,c);e=oh(null,\nb,d,a,e,c);b.effectTag|=1;if(\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof){b.tag=1;b.memoizedState=null;b.updateQueue=null;if(L(d)){var f=!0;Gf(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;ug(b);var g=d.getDerivedStateFromProps;\"function\"===typeof g&&Fg(b,d,g,a);e.updater=Jg;b.stateNode=e;e._reactInternalFiber=b;Ng(b,d,a,c);b=gi(null,b,d,!0,f,c)}else b.tag=0,R(null,b,e,c),b=b.child;return b;case 16:a:{e=b.elementType;null!==a&&(a.alternate=\nnull,b.alternate=null,b.effectTag|=2);a=b.pendingProps;ob(e);if(1!==e._status)throw e._result;e=e._result;b.type=e;f=b.tag=Xj(e);a=ig(e,a);switch(f){case 0:b=di(null,b,e,a,c);break a;case 1:b=fi(null,b,e,a,c);break a;case 11:b=Zh(null,b,e,a,c);break a;case 14:b=ai(null,b,e,ig(e.type,a),d,c);break a}throw Error(u(306,e,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),di(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),fi(a,b,d,e,c);\ncase 3:hi(b);d=b.updateQueue;if(null===a||null===d)throw Error(u(282));d=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;vg(a,b);zg(b,d,null,c);d=b.memoizedState.element;if(d===e)Xh(),b=$h(a,b,c);else{if(e=b.stateNode.hydrate)Ph=Jd(b.stateNode.containerInfo.firstChild),Oh=b,e=Qh=!0;if(e)for(c=Yg(b,null,d,c),b.child=c;c;)c.effectTag=c.effectTag&-3|1024,c=c.sibling;else R(a,b,d,c),Xh();b=b.child}return b;case 5:return fh(b),null===a&&Uh(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:\nnull,g=e.children,Gd(d,e)?g=null:null!==f&&Gd(d,f)&&(b.effectTag|=16),ei(a,b),b.mode&4&&1!==c&&e.hidden?(b.expirationTime=b.childExpirationTime=1,b=null):(R(a,b,g,c),b=b.child),b;case 6:return null===a&&Uh(b),null;case 13:return ji(a,b,c);case 4:return dh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Xg(b,null,d,c):R(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),Zh(a,b,d,e,c);case 7:return R(a,b,b.pendingProps,c),b.child;case 8:return R(a,\nb,b.pendingProps.children,c),b.child;case 12:return R(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;var h=b.type._context;I(jg,h._currentValue);h._currentValue=f;if(null!==g)if(h=g.value,f=$e(h,f)?0:(\"function\"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0,0===f){if(g.children===e.children&&!K.current){b=$h(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var k=h.dependencies;if(null!==\nk){g=h.child;for(var l=k.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=wg(c,null),l.tag=2,xg(h,l));h.expirationTime<c&&(h.expirationTime=c);l=h.alternate;null!==l&&l.expirationTime<c&&(l.expirationTime=c);pg(h.return,c);k.expirationTime<c&&(k.expirationTime=c);break}l=l.next}}else g=10===h.tag?h.type===b.type?null:h.child:h.child;if(null!==g)g.return=h;else for(g=h;null!==g;){if(g===b){g=null;break}h=g.sibling;if(null!==h){h.return=g.return;g=h;break}g=g.return}h=\ng}R(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,qg(b,c),e=sg(e,f.unstable_observedBits),d=d(e),b.effectTag|=1,R(a,b,d,c),b.child;case 14:return e=b.type,f=ig(e,b.pendingProps),f=ig(e.type,f),ai(a,b,e,f,d,c);case 15:return ci(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:ig(d,e),null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),b.tag=1,L(d)?(a=!0,Gf(b)):a=!1,qg(b,c),Lg(b,d,e),Ng(b,d,e,c),gi(null,\nb,d,!0,a,c);case 19:return mi(a,b,c)}throw Error(u(156,b.tag));};var Uj=null,Li=null;function Yj(a){if(\"undefined\"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var c=b.inject(a);Uj=function(a){try{b.onCommitFiberRoot(c,a,void 0,64===(a.current.effectTag&64))}catch(e){}};Li=function(a){try{b.onCommitFiberUnmount(c,a)}catch(e){}}}catch(d){}return!0}\nfunction Zj(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function Sh(a,b,c,d){return new Zj(a,b,c,d)}\nfunction bi(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Xj(a){if(\"function\"===typeof a)return bi(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===gb)return 11;if(a===jb)return 14}return 2}\nfunction Sg(a,b){var c=a.alternate;null===c?(c=Sh(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{expirationTime:b.expirationTime,\nfirstContext:b.firstContext,responders:b.responders};c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}\nfunction Ug(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)bi(a)&&(g=1);else if(\"string\"===typeof a)g=5;else a:switch(a){case ab:return Wg(c.children,e,f,b);case fb:g=8;e|=7;break;case bb:g=8;e|=1;break;case cb:return a=Sh(12,c,b,e|8),a.elementType=cb,a.type=cb,a.expirationTime=f,a;case hb:return a=Sh(13,c,b,e),a.type=hb,a.elementType=hb,a.expirationTime=f,a;case ib:return a=Sh(19,c,b,e),a.elementType=ib,a.expirationTime=f,a;default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case db:g=\n10;break a;case eb:g=9;break a;case gb:g=11;break a;case jb:g=14;break a;case kb:g=16;d=null;break a;case lb:g=22;break a}throw Error(u(130,null==a?a:typeof a,\"\"));}b=Sh(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function Wg(a,b,c,d){a=Sh(7,a,d,b);a.expirationTime=c;return a}function Tg(a,b,c){a=Sh(6,a,null,b);a.expirationTime=c;return a}\nfunction Vg(a,b,c){b=Sh(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}\nfunction ak(a,b,c){this.tag=b;this.current=null;this.containerInfo=a;this.pingCache=this.pendingChildren=null;this.finishedExpirationTime=0;this.finishedWork=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=null;this.callbackPriority=90;this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}\nfunction Aj(a,b){var c=a.firstSuspendedTime;a=a.lastSuspendedTime;return 0!==c&&c>=b&&a<=b}function xi(a,b){var c=a.firstSuspendedTime,d=a.lastSuspendedTime;c<b&&(a.firstSuspendedTime=b);if(d>b||0===c)a.lastSuspendedTime=b;b<=a.lastPingedTime&&(a.lastPingedTime=0);b<=a.lastExpiredTime&&(a.lastExpiredTime=0)}\nfunction yi(a,b){b>a.firstPendingTime&&(a.firstPendingTime=b);var c=a.firstSuspendedTime;0!==c&&(b>=c?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:b>=a.lastSuspendedTime&&(a.lastSuspendedTime=b+1),b>a.nextKnownPendingLevel&&(a.nextKnownPendingLevel=b))}function Cj(a,b){var c=a.lastExpiredTime;if(0===c||c>b)a.lastExpiredTime=b}\nfunction bk(a,b,c,d){var e=b.current,f=Gg(),g=Dg.suspense;f=Hg(f,e,g);a:if(c){c=c._reactInternalFiber;b:{if(dc(c)!==c||1!==c.tag)throw Error(u(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(L(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw Error(u(171));}if(1===c.tag){var k=c.type;if(L(k)){c=Ff(c,k,h);break a}}c=h}else c=Af;null===b.context?b.context=c:b.pendingContext=c;b=wg(f,g);b.payload={element:a};d=void 0===\nd?null:d;null!==d&&(b.callback=d);xg(e,b);Ig(e,f);return f}function ck(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function dk(a,b){a=a.memoizedState;null!==a&&null!==a.dehydrated&&a.retryTime<b&&(a.retryTime=b)}function ek(a,b){dk(a,b);(a=a.alternate)&&dk(a,b)}\nfunction fk(a,b,c){c=null!=c&&!0===c.hydrate;var d=new ak(a,b,c),e=Sh(3,null,null,2===b?7:1===b?3:0);d.current=e;e.stateNode=d;ug(e);a[Od]=d.current;c&&0!==b&&Jc(a,9===a.nodeType?a:a.ownerDocument);this._internalRoot=d}fk.prototype.render=function(a){bk(a,this._internalRoot,null,null)};fk.prototype.unmount=function(){var a=this._internalRoot,b=a.containerInfo;bk(null,a,null,function(){b[Od]=null})};\nfunction gk(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||\" react-mount-point-unstable \"!==a.nodeValue))}function hk(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute(\"data-reactroot\")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new fk(a,0,b?{hydrate:!0}:void 0)}\nfunction ik(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f._internalRoot;if(\"function\"===typeof e){var h=e;e=function(){var a=ck(g);h.call(a)}}bk(b,g,a,e)}else{f=c._reactRootContainer=hk(c,d);g=f._internalRoot;if(\"function\"===typeof e){var k=e;e=function(){var a=ck(g);k.call(a)}}Nj(function(){bk(b,g,a,e)})}return ck(g)}function jk(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:$a,key:null==d?null:\"\"+d,children:a,containerInfo:b,implementation:c}}\nwc=function(a){if(13===a.tag){var b=hg(Gg(),150,100);Ig(a,b);ek(a,b)}};xc=function(a){13===a.tag&&(Ig(a,3),ek(a,3))};yc=function(a){if(13===a.tag){var b=Gg();b=Hg(b,a,null);Ig(a,b);ek(a,b)}};\nza=function(a,b,c){switch(b){case \"input\":Cb(a,c);b=c.name;if(\"radio\"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+b)+'][type=\"radio\"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Qd(d);if(!e)throw Error(u(90));yb(d);Cb(d,e)}}}break;case \"textarea\":Kb(a,c);break;case \"select\":b=c.value,null!=b&&Hb(a,!!c.multiple,b,!1)}};Fa=Mj;\nGa=function(a,b,c,d,e){var f=W;W|=4;try{return cg(98,a.bind(null,b,c,d,e))}finally{W=f,W===V&&gg()}};Ha=function(){(W&(1|fj|gj))===V&&(Lj(),Dj())};Ia=function(a,b){var c=W;W|=2;try{return a(b)}finally{W=c,W===V&&gg()}};function kk(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!gk(b))throw Error(u(200));return jk(a,b,null,c)}var lk={Events:[Nc,Pd,Qd,xa,ta,Xd,function(a){jc(a,Wd)},Da,Ea,id,mc,Dj,{current:!1}]};\n(function(a){var b=a.findFiberByHostInstance;return Yj(n({},a,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Wa.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=hc(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:tc,bundleType:0,version:\"16.13.1\",\nrendererPackageName:\"react-dom\"});exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lk;exports.createPortal=kk;exports.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;if(void 0===b){if(\"function\"===typeof a.render)throw Error(u(188));throw Error(u(268,Object.keys(a)));}a=hc(b);a=null===a?null:a.stateNode;return a};\nexports.flushSync=function(a,b){if((W&(fj|gj))!==V)throw Error(u(187));var c=W;W|=1;try{return cg(99,a.bind(null,b))}finally{W=c,gg()}};exports.hydrate=function(a,b,c){if(!gk(b))throw Error(u(200));return ik(null,a,b,!0,c)};exports.render=function(a,b,c){if(!gk(b))throw Error(u(200));return ik(null,a,b,!1,c)};\nexports.unmountComponentAtNode=function(a){if(!gk(a))throw Error(u(40));return a._reactRootContainer?(Nj(function(){ik(null,null,a,!1,function(){a._reactRootContainer=null;a[Od]=null})}),!0):!1};exports.unstable_batchedUpdates=Mj;exports.unstable_createPortal=function(a,b){return kk(a,b,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)};\nexports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!gk(c))throw Error(u(200));if(null==a||void 0===a._reactInternalFiber)throw Error(u(38));return ik(a,b,c,!1,d)};exports.version=\"16.13.1\";\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","/** @license React v0.19.1\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var f,g,h,k,l;\nif(\"undefined\"===typeof window||\"function\"!==typeof MessageChannel){var p=null,q=null,t=function(){if(null!==p)try{var a=exports.unstable_now();p(!0,a);p=null}catch(b){throw setTimeout(t,0),b;}},u=Date.now();exports.unstable_now=function(){return Date.now()-u};f=function(a){null!==p?setTimeout(f,0,a):(p=a,setTimeout(t,0))};g=function(a,b){q=setTimeout(a,b)};h=function(){clearTimeout(q)};k=function(){return!1};l=exports.unstable_forceFrameRate=function(){}}else{var w=window.performance,x=window.Date,\ny=window.setTimeout,z=window.clearTimeout;if(\"undefined\"!==typeof console){var A=window.cancelAnimationFrame;\"function\"!==typeof window.requestAnimationFrame&&console.error(\"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\");\"function\"!==typeof A&&console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\")}if(\"object\"===\ntypeof w&&\"function\"===typeof w.now)exports.unstable_now=function(){return w.now()};else{var B=x.now();exports.unstable_now=function(){return x.now()-B}}var C=!1,D=null,E=-1,F=5,G=0;k=function(){return exports.unstable_now()>=G};l=function(){};exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported\"):F=0<a?Math.floor(1E3/a):5};var H=new MessageChannel,I=H.port2;H.port1.onmessage=\nfunction(){if(null!==D){var a=exports.unstable_now();G=a+F;try{D(!0,a)?I.postMessage(null):(C=!1,D=null)}catch(b){throw I.postMessage(null),b;}}else C=!1};f=function(a){D=a;C||(C=!0,I.postMessage(null))};g=function(a,b){E=y(function(){a(exports.unstable_now())},b)};h=function(){z(E);E=-1}}function J(a,b){var c=a.length;a.push(b);a:for(;;){var d=c-1>>>1,e=a[d];if(void 0!==e&&0<K(e,b))a[d]=b,a[c]=e,c=d;else break a}}function L(a){a=a[0];return void 0===a?null:a}\nfunction M(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var m=2*(d+1)-1,n=a[m],v=m+1,r=a[v];if(void 0!==n&&0>K(n,c))void 0!==r&&0>K(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>K(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function K(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var N=[],O=[],P=1,Q=null,R=3,S=!1,T=!1,U=!1;\nfunction V(a){for(var b=L(O);null!==b;){if(null===b.callback)M(O);else if(b.startTime<=a)M(O),b.sortIndex=b.expirationTime,J(N,b);else break;b=L(O)}}function W(a){U=!1;V(a);if(!T)if(null!==L(N))T=!0,f(X);else{var b=L(O);null!==b&&g(W,b.startTime-a)}}\nfunction X(a,b){T=!1;U&&(U=!1,h());S=!0;var c=R;try{V(b);for(Q=L(N);null!==Q&&(!(Q.expirationTime>b)||a&&!k());){var d=Q.callback;if(null!==d){Q.callback=null;R=Q.priorityLevel;var e=d(Q.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?Q.callback=e:Q===L(N)&&M(N);V(b)}else M(N);Q=L(N)}if(null!==Q)var m=!0;else{var n=L(O);null!==n&&g(W,n.startTime-b);m=!1}return m}finally{Q=null,R=c,S=!1}}\nfunction Y(a){switch(a){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var Z=l;exports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null};exports.unstable_continueExecution=function(){T||S||(T=!0,f(X))};\nexports.unstable_getCurrentPriorityLevel=function(){return R};exports.unstable_getFirstCallbackNode=function(){return L(N)};exports.unstable_next=function(a){switch(R){case 1:case 2:case 3:var b=3;break;default:b=R}var c=R;R=b;try{return a()}finally{R=c}};exports.unstable_pauseExecution=function(){};exports.unstable_requestPaint=Z;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=R;R=a;try{return b()}finally{R=c}};\nexports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();if(\"object\"===typeof c&&null!==c){var e=c.delay;e=\"number\"===typeof e&&0<e?d+e:d;c=\"number\"===typeof c.timeout?c.timeout:Y(a)}else c=Y(a),e=d;c=e+c;a={id:P++,callback:b,priorityLevel:a,startTime:e,expirationTime:c,sortIndex:-1};e>d?(a.sortIndex=e,J(O,a),null===L(N)&&a===L(O)&&(U?h():U=!0,g(W,e-d))):(a.sortIndex=c,J(N,a),T||S||(T=!0,f(X)));return a};\nexports.unstable_shouldYield=function(){var a=exports.unstable_now();V(a);var b=L(N);return b!==Q&&null!==Q&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime<Q.expirationTime||k()};exports.unstable_wrapCallback=function(a){var b=R;return function(){var c=R;R=b;try{return a.apply(this,arguments)}finally{R=c}}};\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.__RewireAPI__ = exports.__ResetDependency__ = exports.__set__ = exports.__Rewire__ = exports.__GetDependency__ = exports.__get__ = exports.RedBoxError = undefined;\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nvar _style = require('./style.js');\n\nvar _style2 = _interopRequireDefault(_style);\n\nvar _errorStackParser = require('error-stack-parser');\n\nvar _errorStackParser2 = _interopRequireDefault(_errorStackParser);\n\nvar _objectAssign = require('object-assign');\n\nvar _objectAssign2 = _interopRequireDefault(_objectAssign);\n\nvar _lib = require('./lib');\n\nvar _sourcemappedStacktrace = require('sourcemapped-stacktrace');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar RedBoxError = exports.RedBoxError = function (_get__2) {\n _inherits(RedBoxError, _get__2);\n\n function RedBoxError(props) {\n _classCallCheck(this, RedBoxError);\n\n var _this = _possibleConstructorReturn(this, (RedBoxError.__proto__ || Object.getPrototypeOf(RedBoxError)).call(this, props));\n\n _this.state = {\n error: null,\n mapped: false\n };\n\n _this.mapOnConstruction(props.error);\n return _this;\n }\n\n // State is used to store the error mapped to the source map.\n\n\n _createClass(RedBoxError, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (!this.state.mapped) this.mapError(this.props.error);\n }\n\n // Try to map the error when the component gets constructed, this is possible\n // in some cases like evals.\n\n }, {\n key: 'mapOnConstruction',\n value: function mapOnConstruction(error) {\n var stackLines = error.stack.split('\\n');\n\n // There's no stack, only the error message.\n if (stackLines.length < 2) {\n this.state = { error: error, mapped: true };\n return;\n }\n\n // Using the “eval” setting on webpack already gives the correct location.\n var isWebpackEval = stackLines[1].search(/\\(webpack:\\/{3}/) !== -1;\n if (isWebpackEval) {\n // No changes are needed here.\n this.state = { error: error, mapped: true };\n return;\n }\n\n // Other eval follow a specific pattern and can be easily parsed.\n var isEval = stackLines[1].search(/\\(eval at/) !== -1;\n if (!isEval) {\n // mapping will be deferred until `componentDidMount`\n this.state = { error: error, mapped: false };\n return;\n }\n\n // The first line is the error message.\n var fixedLines = [stackLines.shift()];\n // The rest needs to be fixed.\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = stackLines[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var stackLine = _step.value;\n\n var evalStackLine = stackLine.match(/(.+)\\(eval at (.+) \\(.+?\\), .+(\\:[0-9]+\\:[0-9]+)\\)/);\n if (evalStackLine) {\n var _evalStackLine = _slicedToArray(evalStackLine, 4),\n atSomething = _evalStackLine[1],\n file = _evalStackLine[2],\n rowColumn = _evalStackLine[3];\n\n fixedLines.push(atSomething + ' (' + file + rowColumn + ')');\n } else {\n // TODO: When stack frames of different types are detected, try to load the additional source maps\n fixedLines.push(stackLine);\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n error.stack = fixedLines.join('\\n');\n this.state = { error: error, mapped: true };\n }\n }, {\n key: 'mapError',\n value: function mapError(error) {\n var _this2 = this;\n\n _get__('mapStackTrace')(error.stack, function (mappedStack) {\n error.stack = mappedStack.join('\\n');\n _this2.setState({ error: error, mapped: true });\n });\n }\n }, {\n key: 'renderFrames',\n value: function renderFrames(frames) {\n var _props = this.props,\n filename = _props.filename,\n editorScheme = _props.editorScheme,\n useLines = _props.useLines,\n useColumns = _props.useColumns;\n\n var _get__3 = _get__('assign')({}, _get__('style'), this.props.style),\n frame = _get__3.frame,\n file = _get__3.file,\n linkToFile = _get__3.linkToFile;\n\n return frames.map(function (f, index) {\n var text = void 0;\n var url = void 0;\n\n if (index === 0 && filename && !_get__('isFilenameAbsolute')(f.fileName)) {\n url = _get__('makeUrl')(filename, editorScheme);\n text = _get__('makeLinkText')(filename);\n } else {\n var lines = useLines ? f.lineNumber : null;\n var columns = useColumns ? f.columnNumber : null;\n url = _get__('makeUrl')(f.fileName, editorScheme, lines, columns);\n text = _get__('makeLinkText')(f.fileName, lines, columns);\n }\n\n return _get__('React').createElement(\n 'div',\n { style: frame, key: index },\n _get__('React').createElement(\n 'div',\n null,\n f.functionName\n ),\n _get__('React').createElement(\n 'div',\n { style: file },\n _get__('React').createElement(\n 'a',\n { href: url, style: linkToFile },\n text\n )\n )\n );\n });\n }\n }, {\n key: 'render',\n value: function render() {\n // The error is received as a property to initialize state.error, which may\n // be updated when it is mapped to the source map.\n var error = this.state.error;\n var className = this.props.className;\n\n var _get__4 = _get__('assign')({}, _get__('style'), this.props.style),\n redbox = _get__4.redbox,\n message = _get__4.message,\n stack = _get__4.stack,\n frame = _get__4.frame;\n\n var frames = void 0;\n var parseError = void 0;\n try {\n frames = _get__('ErrorStackParser').parse(error);\n } catch (e) {\n parseError = new Error('Failed to parse stack trace. Stack trace information unavailable.');\n }\n\n if (parseError) {\n frames = _get__('React').createElement(\n 'div',\n { style: frame, key: 0 },\n _get__('React').createElement(\n 'div',\n null,\n parseError.message\n )\n );\n } else {\n frames = this.renderFrames(frames);\n }\n\n return _get__('React').createElement(\n 'div',\n { style: redbox, className: className },\n _get__('React').createElement(\n 'div',\n { style: message },\n error.name,\n ': ',\n error.message\n ),\n _get__('React').createElement(\n 'div',\n { style: stack },\n frames\n )\n );\n }\n }]);\n\n return RedBoxError;\n}(_get__('Component'));\n\n// \"Portal\" component for actual RedBoxError component to\n// render to (directly under body). Prevents bugs as in #27.\n\n\nRedBoxError.propTypes = {\n error: _get__('PropTypes').instanceOf(Error).isRequired,\n filename: _get__('PropTypes').string,\n editorScheme: _get__('PropTypes').string,\n useLines: _get__('PropTypes').bool,\n useColumns: _get__('PropTypes').bool,\n style: _get__('PropTypes').object,\n className: _get__('PropTypes').string\n};\nRedBoxError.displayName = 'RedBoxError';\nRedBoxError.defaultProps = {\n useLines: true,\n useColumns: true };\n\nvar RedBox = function (_get__5) {\n _inherits(RedBox, _get__5);\n\n function RedBox() {\n _classCallCheck(this, RedBox);\n\n return _possibleConstructorReturn(this, (RedBox.__proto__ || Object.getPrototypeOf(RedBox)).apply(this, arguments));\n }\n\n _createClass(RedBox, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.el = document.createElement('div');\n document.body.appendChild(this.el);\n this.renderRedBoxError();\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate() {\n this.renderRedBoxError();\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n _get__('ReactDOM').unmountComponentAtNode(this.el);\n document.body.removeChild(this.el);\n this.el = null;\n }\n }, {\n key: 'renderRedBoxError',\n value: function renderRedBoxError() {\n _get__('ReactDOM').render(_get__('React').createElement(_get__('RedBoxError'), this.props), this.el);\n }\n }, {\n key: 'render',\n value: function render() {\n return null;\n }\n }]);\n\n return RedBox;\n}(_get__('Component'));\n\nRedBox.propTypes = {\n error: _get__('PropTypes').instanceOf(Error).isRequired\n};\nRedBox.displayName = 'RedBox';\nexports.default = RedBox;\n\nvar _RewiredData__ = Object.create(null);\n\nvar INTENTIONAL_UNDEFINED = '__INTENTIONAL_UNDEFINED__';\nvar _RewireAPI__ = {};\n\n(function () {\n function addPropertyToAPIObject(name, value) {\n Object.defineProperty(_RewireAPI__, name, {\n value: value,\n enumerable: false,\n configurable: true\n });\n }\n\n addPropertyToAPIObject('__get__', _get__);\n addPropertyToAPIObject('__GetDependency__', _get__);\n addPropertyToAPIObject('__Rewire__', _set__);\n addPropertyToAPIObject('__set__', _set__);\n addPropertyToAPIObject('__reset__', _reset__);\n addPropertyToAPIObject('__ResetDependency__', _reset__);\n addPropertyToAPIObject('__with__', _with__);\n})();\n\nfunction _get__(variableName) {\n if (_RewiredData__ === undefined || _RewiredData__[variableName] === undefined) {\n return _get_original__(variableName);\n } else {\n var value = _RewiredData__[variableName];\n\n if (value === INTENTIONAL_UNDEFINED) {\n return undefined;\n } else {\n return value;\n }\n }\n}\n\nfunction _get_original__(variableName) {\n switch (variableName) {\n case 'PropTypes':\n return _propTypes2.default;\n\n case 'mapStackTrace':\n return _sourcemappedStacktrace.mapStackTrace;\n\n case 'assign':\n return _objectAssign2.default;\n\n case 'style':\n return _style2.default;\n\n case 'isFilenameAbsolute':\n return _lib.isFilenameAbsolute;\n\n case 'makeUrl':\n return _lib.makeUrl;\n\n case 'makeLinkText':\n return _lib.makeLinkText;\n\n case 'ErrorStackParser':\n return _errorStackParser2.default;\n\n case 'Component':\n return _react.Component;\n\n case 'ReactDOM':\n return _reactDom2.default;\n\n case 'React':\n return _react2.default;\n\n case 'RedBoxError':\n return RedBoxError;\n }\n\n return undefined;\n}\n\nfunction _assign__(variableName, value) {\n if (_RewiredData__ === undefined || _RewiredData__[variableName] === undefined) {\n return _set_original__(variableName, value);\n } else {\n return _RewiredData__[variableName] = value;\n }\n}\n\nfunction _set_original__(variableName, _value) {\n switch (variableName) {}\n\n return undefined;\n}\n\nfunction _update_operation__(operation, variableName, prefix) {\n var oldValue = _get__(variableName);\n\n var newValue = operation === '++' ? oldValue + 1 : oldValue - 1;\n\n _assign__(variableName, newValue);\n\n return prefix ? newValue : oldValue;\n}\n\nfunction _set__(variableName, value) {\n if ((typeof variableName === 'undefined' ? 'undefined' : _typeof(variableName)) === 'object') {\n Object.keys(variableName).forEach(function (name) {\n _RewiredData__[name] = variableName[name];\n });\n } else {\n if (value === undefined) {\n _RewiredData__[variableName] = INTENTIONAL_UNDEFINED;\n } else {\n _RewiredData__[variableName] = value;\n }\n\n return function () {\n _reset__(variableName);\n };\n }\n}\n\nfunction _reset__(variableName) {\n delete _RewiredData__[variableName];\n}\n\nfunction _with__(object) {\n var rewiredVariableNames = Object.keys(object);\n var previousValues = {};\n\n function reset() {\n rewiredVariableNames.forEach(function (variableName) {\n _RewiredData__[variableName] = previousValues[variableName];\n });\n }\n\n return function (callback) {\n rewiredVariableNames.forEach(function (variableName) {\n previousValues[variableName] = _RewiredData__[variableName];\n _RewiredData__[variableName] = object[variableName];\n });\n var result = callback();\n\n if (!!result && typeof result.then == 'function') {\n result.then(reset).catch(reset);\n } else {\n reset();\n }\n\n return result;\n };\n}\n\nvar _typeOfOriginalExport = typeof RedBox === 'undefined' ? 'undefined' : _typeof(RedBox);\n\nfunction addNonEnumerableProperty(name, value) {\n Object.defineProperty(RedBox, name, {\n value: value,\n enumerable: false,\n configurable: true\n });\n}\n\nif ((_typeOfOriginalExport === 'object' || _typeOfOriginalExport === 'function') && Object.isExtensible(RedBox)) {\n addNonEnumerableProperty('__get__', _get__);\n addNonEnumerableProperty('__GetDependency__', _get__);\n addNonEnumerableProperty('__Rewire__', _set__);\n addNonEnumerableProperty('__set__', _set__);\n addNonEnumerableProperty('__reset__', _reset__);\n addNonEnumerableProperty('__ResetDependency__', _reset__);\n addNonEnumerableProperty('__with__', _with__);\n addNonEnumerableProperty('__RewireAPI__', _RewireAPI__);\n}\n\nexports.__get__ = _get__;\nexports.__GetDependency__ = _get__;\nexports.__Rewire__ = _set__;\nexports.__set__ = _set__;\nexports.__ResetDependency__ = _reset__;\nexports.__RewireAPI__ = _RewireAPI__;","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _DefaultExportValue = {\n redbox: {\n boxSizing: 'border-box',\n fontFamily: 'sans-serif',\n position: 'fixed',\n padding: 10,\n top: '0px',\n left: '0px',\n bottom: '0px',\n right: '0px',\n width: '100%',\n background: 'rgb(204, 0, 0)',\n color: 'white',\n zIndex: 2147483647,\n textAlign: 'left',\n fontSize: '16px',\n lineHeight: 1.2,\n overflow: 'auto'\n },\n message: {\n fontWeight: 'bold'\n },\n stack: {\n fontFamily: 'monospace',\n marginTop: '2em'\n },\n frame: {\n marginTop: '1em'\n },\n file: {\n fontSize: '0.8em',\n color: 'rgba(255, 255, 255, 0.7)'\n },\n linkToFile: {\n textDecoration: 'none',\n color: 'rgba(255, 255, 255, 0.7)'\n }\n};\nexports.default = _DefaultExportValue;","(function(root, factory) {\n 'use strict';\n // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js, Rhino, and browsers.\n\n /* istanbul ignore next */\n if (typeof define === 'function' && define.amd) {\n define('error-stack-parser', ['stackframe'], factory);\n } else if (typeof exports === 'object') {\n module.exports = factory(require('stackframe'));\n } else {\n root.ErrorStackParser = factory(root.StackFrame);\n }\n}(this, function ErrorStackParser(StackFrame) {\n 'use strict';\n\n var FIREFOX_SAFARI_STACK_REGEXP = /(^|@)\\S+\\:\\d+/;\n var CHROME_IE_STACK_REGEXP = /^\\s*at .*(\\S+\\:\\d+|\\(native\\))/m;\n var SAFARI_NATIVE_CODE_REGEXP = /^(eval@)?(\\[native code\\])?$/;\n\n function _map(array, fn, thisArg) {\n if (typeof Array.prototype.map === 'function') {\n return array.map(fn, thisArg);\n } else {\n var output = new Array(array.length);\n for (var i = 0; i < array.length; i++) {\n output[i] = fn.call(thisArg, array[i]);\n }\n return output;\n }\n }\n\n function _filter(array, fn, thisArg) {\n if (typeof Array.prototype.filter === 'function') {\n return array.filter(fn, thisArg);\n } else {\n var output = [];\n for (var i = 0; i < array.length; i++) {\n if (fn.call(thisArg, array[i])) {\n output.push(array[i]);\n }\n }\n return output;\n }\n }\n\n function _indexOf(array, target) {\n if (typeof Array.prototype.indexOf === 'function') {\n return array.indexOf(target);\n } else {\n for (var i = 0; i < array.length; i++) {\n if (array[i] === target) {\n return i;\n }\n }\n return -1;\n }\n }\n\n return {\n /**\n * Given an Error object, extract the most information from it.\n *\n * @param {Error} error object\n * @return {Array} of StackFrames\n */\n parse: function ErrorStackParser$$parse(error) {\n if (typeof error.stacktrace !== 'undefined' || typeof error['opera#sourceloc'] !== 'undefined') {\n return this.parseOpera(error);\n } else if (error.stack && error.stack.match(CHROME_IE_STACK_REGEXP)) {\n return this.parseV8OrIE(error);\n } else if (error.stack) {\n return this.parseFFOrSafari(error);\n } else {\n throw new Error('Cannot parse given Error object');\n }\n },\n\n // Separate line and column numbers from a string of the form: (URI:Line:Column)\n extractLocation: function ErrorStackParser$$extractLocation(urlLike) {\n // Fail-fast but return locations like \"(native)\"\n if (urlLike.indexOf(':') === -1) {\n return [urlLike];\n }\n\n var regExp = /(.+?)(?:\\:(\\d+))?(?:\\:(\\d+))?$/;\n var parts = regExp.exec(urlLike.replace(/[\\(\\)]/g, ''));\n return [parts[1], parts[2] || undefined, parts[3] || undefined];\n },\n\n parseV8OrIE: function ErrorStackParser$$parseV8OrIE(error) {\n var filtered = _filter(error.stack.split('\\n'), function(line) {\n return !!line.match(CHROME_IE_STACK_REGEXP);\n }, this);\n\n return _map(filtered, function(line) {\n if (line.indexOf('(eval ') > -1) {\n // Throw away eval information until we implement stacktrace.js/stackframe#8\n line = line.replace(/eval code/g, 'eval').replace(/(\\(eval at [^\\()]*)|(\\)\\,.*$)/g, '');\n }\n var tokens = line.replace(/^\\s+/, '').replace(/\\(eval code/g, '(').split(/\\s+/).slice(1);\n var locationParts = this.extractLocation(tokens.pop());\n var functionName = tokens.join(' ') || undefined;\n var fileName = _indexOf(['eval', '<anonymous>'], locationParts[0]) > -1 ? undefined : locationParts[0];\n\n return new StackFrame(functionName, undefined, fileName, locationParts[1], locationParts[2], line);\n }, this);\n },\n\n parseFFOrSafari: function ErrorStackParser$$parseFFOrSafari(error) {\n var filtered = _filter(error.stack.split('\\n'), function(line) {\n return !line.match(SAFARI_NATIVE_CODE_REGEXP);\n }, this);\n\n return _map(filtered, function(line) {\n // Throw away eval information until we implement stacktrace.js/stackframe#8\n if (line.indexOf(' > eval') > -1) {\n line = line.replace(/ line (\\d+)(?: > eval line \\d+)* > eval\\:\\d+\\:\\d+/g, ':$1');\n }\n\n if (line.indexOf('@') === -1 && line.indexOf(':') === -1) {\n // Safari eval frames only have function names and nothing else\n return new StackFrame(line);\n } else {\n var tokens = line.split('@');\n var locationParts = this.extractLocation(tokens.pop());\n var functionName = tokens.join('@') || undefined;\n return new StackFrame(functionName,\n undefined,\n locationParts[0],\n locationParts[1],\n locationParts[2],\n line);\n }\n }, this);\n },\n\n parseOpera: function ErrorStackParser$$parseOpera(e) {\n if (!e.stacktrace || (e.message.indexOf('\\n') > -1 &&\n e.message.split('\\n').length > e.stacktrace.split('\\n').length)) {\n return this.parseOpera9(e);\n } else if (!e.stack) {\n return this.parseOpera10(e);\n } else {\n return this.parseOpera11(e);\n }\n },\n\n parseOpera9: function ErrorStackParser$$parseOpera9(e) {\n var lineRE = /Line (\\d+).*script (?:in )?(\\S+)/i;\n var lines = e.message.split('\\n');\n var result = [];\n\n for (var i = 2, len = lines.length; i < len; i += 2) {\n var match = lineRE.exec(lines[i]);\n if (match) {\n result.push(new StackFrame(undefined, undefined, match[2], match[1], undefined, lines[i]));\n }\n }\n\n return result;\n },\n\n parseOpera10: function ErrorStackParser$$parseOpera10(e) {\n var lineRE = /Line (\\d+).*script (?:in )?(\\S+)(?:: In function (\\S+))?$/i;\n var lines = e.stacktrace.split('\\n');\n var result = [];\n\n for (var i = 0, len = lines.length; i < len; i += 2) {\n var match = lineRE.exec(lines[i]);\n if (match) {\n result.push(\n new StackFrame(\n match[3] || undefined,\n undefined,\n match[2],\n match[1],\n undefined,\n lines[i]\n )\n );\n }\n }\n\n return result;\n },\n\n // Opera 10.65+ Error.stack very similar to FF/Safari\n parseOpera11: function ErrorStackParser$$parseOpera11(error) {\n var filtered = _filter(error.stack.split('\\n'), function(line) {\n return !!line.match(FIREFOX_SAFARI_STACK_REGEXP) && !line.match(/^Error created at/);\n }, this);\n\n return _map(filtered, function(line) {\n var tokens = line.split('@');\n var locationParts = this.extractLocation(tokens.pop());\n var functionCall = (tokens.shift() || '');\n var functionName = functionCall\n .replace(/<anonymous function(: (\\w+))?>/, '$2')\n .replace(/\\([^\\)]*\\)/g, '') || undefined;\n var argsRaw;\n if (functionCall.match(/\\(([^\\)]*)\\)/)) {\n argsRaw = functionCall.replace(/^[^\\(]+\\(([^\\)]*)\\)$/, '$1');\n }\n var args = (argsRaw === undefined || argsRaw === '[arguments not available]') ?\n undefined : argsRaw.split(',');\n return new StackFrame(\n functionName,\n args,\n locationParts[0],\n locationParts[1],\n locationParts[2],\n line);\n }, this);\n }\n };\n}));\n\n","(function (root, factory) {\n 'use strict';\n // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js, Rhino, and browsers.\n\n /* istanbul ignore next */\n if (typeof define === 'function' && define.amd) {\n define('stackframe', [], factory);\n } else if (typeof exports === 'object') {\n module.exports = factory();\n } else {\n root.StackFrame = factory();\n }\n}(this, function () {\n 'use strict';\n function _isNumber(n) {\n return !isNaN(parseFloat(n)) && isFinite(n);\n }\n\n function StackFrame(functionName, args, fileName, lineNumber, columnNumber, source) {\n if (functionName !== undefined) {\n this.setFunctionName(functionName);\n }\n if (args !== undefined) {\n this.setArgs(args);\n }\n if (fileName !== undefined) {\n this.setFileName(fileName);\n }\n if (lineNumber !== undefined) {\n this.setLineNumber(lineNumber);\n }\n if (columnNumber !== undefined) {\n this.setColumnNumber(columnNumber);\n }\n if (source !== undefined) {\n this.setSource(source);\n }\n }\n\n StackFrame.prototype = {\n getFunctionName: function () {\n return this.functionName;\n },\n setFunctionName: function (v) {\n this.functionName = String(v);\n },\n\n getArgs: function () {\n return this.args;\n },\n setArgs: function (v) {\n if (Object.prototype.toString.call(v) !== '[object Array]') {\n throw new TypeError('Args must be an Array');\n }\n this.args = v;\n },\n\n // NOTE: Property name may be misleading as it includes the path,\n // but it somewhat mirrors V8's JavaScriptStackTraceApi\n // https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi and Gecko's\n // http://mxr.mozilla.org/mozilla-central/source/xpcom/base/nsIException.idl#14\n getFileName: function () {\n return this.fileName;\n },\n setFileName: function (v) {\n this.fileName = String(v);\n },\n\n getLineNumber: function () {\n return this.lineNumber;\n },\n setLineNumber: function (v) {\n if (!_isNumber(v)) {\n throw new TypeError('Line Number must be a Number');\n }\n this.lineNumber = Number(v);\n },\n\n getColumnNumber: function () {\n return this.columnNumber;\n },\n setColumnNumber: function (v) {\n if (!_isNumber(v)) {\n throw new TypeError('Column Number must be a Number');\n }\n this.columnNumber = Number(v);\n },\n\n getSource: function () {\n return this.source;\n },\n setSource: function (v) {\n this.source = String(v);\n },\n\n toString: function() {\n var functionName = this.getFunctionName() || '{anonymous}';\n var args = '(' + (this.getArgs() || []).join(',') + ')';\n var fileName = this.getFileName() ? ('@' + this.getFileName()) : '';\n var lineNumber = _isNumber(this.getLineNumber()) ? (':' + this.getLineNumber()) : '';\n var columnNumber = _isNumber(this.getColumnNumber()) ? (':' + this.getColumnNumber()) : '';\n return functionName + args + fileName + lineNumber + columnNumber;\n }\n };\n\n return StackFrame;\n}));\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar filenameWithoutLoaders = exports.filenameWithoutLoaders = function filenameWithoutLoaders() {\n var filename = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\n var index = filename.lastIndexOf('!');\n\n return index < 0 ? filename : filename.substr(index + 1);\n};\n\nvar filenameHasLoaders = exports.filenameHasLoaders = function filenameHasLoaders(filename) {\n var actualFilename = _get__('filenameWithoutLoaders')(filename);\n\n return actualFilename !== filename;\n};\n\nvar filenameHasSchema = exports.filenameHasSchema = function filenameHasSchema(filename) {\n return (/^[\\w]+\\:/.test(filename)\n );\n};\n\nvar isFilenameAbsolute = exports.isFilenameAbsolute = function isFilenameAbsolute(filename) {\n var actualFilename = _get__('filenameWithoutLoaders')(filename);\n\n if (actualFilename.indexOf('/') === 0) {\n return true;\n }\n\n return false;\n};\n\nvar makeUrl = exports.makeUrl = function makeUrl(filename, scheme, line, column) {\n var actualFilename = _get__('filenameWithoutLoaders')(filename);\n\n if (_get__('filenameHasSchema')(filename)) {\n return actualFilename;\n }\n\n var url = 'file://' + actualFilename;\n\n if (scheme === 'vscode') {\n url = scheme + '://file/' + url;\n url = url.replace(/file:\\/\\/\\//, ''); // visual studio code does not need file:/// in its scheme\n if (line && actualFilename === filename) {\n url = url + ':' + line;\n\n if (column) {\n url = url + ':' + column;\n }\n }\n } else if (scheme) {\n url = scheme + '://open?url=' + url;\n\n if (line && actualFilename === filename) {\n url = url + '&line=' + line;\n\n if (column) {\n url = url + '&column=' + column;\n }\n }\n }\n\n return url;\n};\n\nvar makeLinkText = exports.makeLinkText = function makeLinkText(filename, line, column) {\n var text = _get__('filenameWithoutLoaders')(filename);\n\n if (line && text === filename) {\n text = text + ':' + line;\n\n if (column) {\n text = text + ':' + column;\n }\n }\n\n return text;\n};\n\nvar _RewiredData__ = Object.create(null);\n\nvar INTENTIONAL_UNDEFINED = '__INTENTIONAL_UNDEFINED__';\nvar _RewireAPI__ = {};\n\n(function () {\n function addPropertyToAPIObject(name, value) {\n Object.defineProperty(_RewireAPI__, name, {\n value: value,\n enumerable: false,\n configurable: true\n });\n }\n\n addPropertyToAPIObject('__get__', _get__);\n addPropertyToAPIObject('__GetDependency__', _get__);\n addPropertyToAPIObject('__Rewire__', _set__);\n addPropertyToAPIObject('__set__', _set__);\n addPropertyToAPIObject('__reset__', _reset__);\n addPropertyToAPIObject('__ResetDependency__', _reset__);\n addPropertyToAPIObject('__with__', _with__);\n})();\n\nfunction _get__(variableName) {\n if (_RewiredData__ === undefined || _RewiredData__[variableName] === undefined) {\n return _get_original__(variableName);\n } else {\n var value = _RewiredData__[variableName];\n\n if (value === INTENTIONAL_UNDEFINED) {\n return undefined;\n } else {\n return value;\n }\n }\n}\n\nfunction _get_original__(variableName) {\n switch (variableName) {\n case 'filenameWithoutLoaders':\n return filenameWithoutLoaders;\n\n case 'filenameHasSchema':\n return filenameHasSchema;\n }\n\n return undefined;\n}\n\nfunction _assign__(variableName, value) {\n if (_RewiredData__ === undefined || _RewiredData__[variableName] === undefined) {\n return _set_original__(variableName, value);\n } else {\n return _RewiredData__[variableName] = value;\n }\n}\n\nfunction _set_original__(variableName, _value) {\n switch (variableName) {}\n\n return undefined;\n}\n\nfunction _update_operation__(operation, variableName, prefix) {\n var oldValue = _get__(variableName);\n\n var newValue = operation === '++' ? oldValue + 1 : oldValue - 1;\n\n _assign__(variableName, newValue);\n\n return prefix ? newValue : oldValue;\n}\n\nfunction _set__(variableName, value) {\n if ((typeof variableName === 'undefined' ? 'undefined' : _typeof(variableName)) === 'object') {\n Object.keys(variableName).forEach(function (name) {\n _RewiredData__[name] = variableName[name];\n });\n } else {\n if (value === undefined) {\n _RewiredData__[variableName] = INTENTIONAL_UNDEFINED;\n } else {\n _RewiredData__[variableName] = value;\n }\n\n return function () {\n _reset__(variableName);\n };\n }\n}\n\nfunction _reset__(variableName) {\n delete _RewiredData__[variableName];\n}\n\nfunction _with__(object) {\n var rewiredVariableNames = Object.keys(object);\n var previousValues = {};\n\n function reset() {\n rewiredVariableNames.forEach(function (variableName) {\n _RewiredData__[variableName] = previousValues[variableName];\n });\n }\n\n return function (callback) {\n rewiredVariableNames.forEach(function (variableName) {\n previousValues[variableName] = _RewiredData__[variableName];\n _RewiredData__[variableName] = object[variableName];\n });\n var result = callback();\n\n if (!!result && typeof result.then == 'function') {\n result.then(reset).catch(reset);\n } else {\n reset();\n }\n\n return result;\n };\n}\n\nexports.__get__ = _get__;\nexports.__GetDependency__ = _get__;\nexports.__Rewire__ = _set__;\nexports.__set__ = _set__;\nexports.__ResetDependency__ = _reset__;\nexports.__RewireAPI__ = _RewireAPI__;\nexports.default = _RewireAPI__;","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"sourceMappedStackTrace\"] = factory();\n\telse\n\t\troot[\"sourceMappedStackTrace\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n\n\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*\n\t * sourcemapped-stacktrace.js\n\t * created by James Salter <iteration@gmail.com> (2014)\n\t *\n\t * https://github.com/novocaine/sourcemapped-stacktrace\n\t *\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\n\t/*global define */\n\n\t// note we only include source-map-consumer, not the whole source-map library,\n\t// which includes gear for generating source maps that we don't need\n\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(1)], __WEBPACK_AMD_DEFINE_RESULT__ = function(source_map_consumer) {\n\n\t var global_mapForUri = {};\n\n\t /**\n\t * Re-map entries in a stacktrace using sourcemaps if available.\n\t *\n\t * @param {str} stack - The stacktrace from the browser.\n\t * @param {function} done - Callback invoked with the transformed stacktrace\n\t * (an Array of Strings) passed as the first\n\t * argument\n\t * @param {Object} [opts] - Optional options object.\n\t * @param {Function} [opts.filter] - Filter function applied to each stackTrace line.\n\t * Lines which do not pass the filter won't be processesd.\n\t * @param {boolean} [opts.cacheGlobally] - Whether to cache sourcemaps globally across multiple calls.\n\t * @param {boolean} [opts.sync] - Whether to use synchronous ajax to load the sourcemaps.\n\t * @param {string} [opts.traceFormat] - If `error.stack` is formatted according to chrome or\n\t * Firefox's style. Can be either `\"chrome\"`, `\"firefox\"`\n\t * or `undefined` (default). If `undefined`, this library\n\t * will guess based on `navigator.userAgent`.\n\t */\n\t var mapStackTrace = function(stack, done, opts) {\n\t var lines;\n\t var line;\n\t var mapForUri = {};\n\t var rows = {};\n\t var fields;\n\t var uri;\n\t var expected_fields;\n\t var regex;\n\t var skip_lines;\n\n\t var fetcher = new Fetcher(opts);\n\n\t var traceFormat = opts && opts.traceFormat;\n\t if (traceFormat !== \"chrome\" && traceFormat !== \"firefox\") {\n\t if (traceFormat) {\n\t throw new Error(\"unknown traceFormat \\\"\" + traceFormat + \"\\\" :(\");\n\t } else if (isChromeOrEdge() || isIE11Plus()) {\n\t traceFormat = \"chrome\";\n\t } else if (isFirefox() || isSafari()) {\n\t traceFormat = \"firefox\";\n\t } else {\n\t throw new Error(\"unknown browser :(\");\n\t }\n\t }\n\n\t if (traceFormat === \"chrome\") {\n\t regex = /^ +at.+\\((.*):([0-9]+):([0-9]+)/;\n\t expected_fields = 4;\n\t // (skip first line containing exception message)\n\t skip_lines = 1;\n\t } else {\n\t regex = /@(.*):([0-9]+):([0-9]+)/;\n\t expected_fields = 4;\n\t skip_lines = 0;\n\t }\n\n\t lines = stack.split(\"\\n\").slice(skip_lines);\n\n\t for (var i=0; i < lines.length; i++) {\n\t line = lines[i];\n\t if ( opts && opts.filter && !opts.filter(line) ) continue;\n\t \n\t fields = line.match(regex);\n\t if (fields && fields.length === expected_fields) {\n\t rows[i] = fields;\n\t uri = fields[1];\n\t if (!uri.match(/<anonymous>/)) {\n\t fetcher.fetchScript(uri);\n\t }\n\t }\n\t }\n\n\t fetcher.sem.whenReady(function() {\n\t var result = processSourceMaps(lines, rows, fetcher.mapForUri, traceFormat);\n\t done(result);\n\t });\n\t };\n\n\t var isChromeOrEdge = function() {\n\t return navigator.userAgent.toLowerCase().indexOf('chrome') > -1;\n\t };\n\n\t var isFirefox = function() {\n\t return navigator.userAgent.toLowerCase().indexOf('firefox') > -1;\n\t }; \n\n\t var isSafari = function() {\n\t return navigator.userAgent.toLowerCase().indexOf('safari') > -1;\n\t };\n\t\t\t\n\t var isIE11Plus = function() {\n\t \treturn document.documentMode && document.documentMode >= 11;\n\t };\n\n\n\t var Semaphore = function() {\n\t this.count = 0;\n\t this.pending = [];\n\t };\n\n\t Semaphore.prototype.incr = function() {\n\t this.count++;\n\t };\n\n\t Semaphore.prototype.decr = function() {\n\t this.count--;\n\t this.flush();\n\t };\n\n\t Semaphore.prototype.whenReady = function(fn) {\n\t this.pending.push(fn);\n\t this.flush();\n\t };\n\n\t Semaphore.prototype.flush = function() {\n\t if (this.count === 0) {\n\t this.pending.forEach(function(fn) { fn(); });\n\t this.pending = [];\n\t }\n\t };\n\n\n\t var Fetcher = function(opts) {\n\t this.sem = new Semaphore();\n\t this.sync = opts && opts.sync;\n\t this.mapForUri = opts && opts.cacheGlobally ? global_mapForUri : {};\n\t };\n\n\t Fetcher.prototype.ajax = function(uri, callback) {\n\t var xhr = createXMLHTTPObject();\n\t var that = this;\n\t xhr.onreadystatechange = function() {\n\t if (xhr.readyState == 4) {\n\t callback.call(that, xhr, uri);\n\t }\n\t };\n\t xhr.open(\"GET\", uri, !this.sync);\n\t xhr.send();\n\t }\n\n\t Fetcher.prototype.fetchScript = function(uri) {\n\t if (!(uri in this.mapForUri)) {\n\t this.sem.incr();\n\t this.mapForUri[uri] = null;\n\t } else {\n\t return;\n\t }\n\n\t this.ajax(uri, this.onScriptLoad);\n\t };\n\n\t var absUrlRegex = new RegExp('^(?:[a-z]+:)?//', 'i');\n\n\t Fetcher.prototype.onScriptLoad = function(xhr, uri) {\n\t if (xhr.status === 200 || (uri.slice(0, 7) === \"file://\" && xhr.status === 0)) {\n\t // find .map in file.\n\t //\n\t // attempt to find it at the very end of the file, but tolerate trailing\n\t // whitespace inserted by some packers.\n\t var match = xhr.responseText.match(\"//# [s]ourceMappingURL=(.*)[\\\\s]*$\", \"m\");\n\t if (match && match.length === 2) {\n\t // get the map\n\t var mapUri = match[1];\n\n\t var embeddedSourceMap = mapUri.match(\"data:application/json;(charset=[^;]+;)?base64,(.*)\");\n\n\t if (embeddedSourceMap && embeddedSourceMap[2]) {\n\t this.mapForUri[uri] = new source_map_consumer.SourceMapConsumer(atob(embeddedSourceMap[2]));\n\t this.sem.decr();\n\t } else {\n\t if (!absUrlRegex.test(mapUri)) {\n\t // relative url; according to sourcemaps spec is 'source origin'\n\t var origin;\n\t var lastSlash = uri.lastIndexOf('/');\n\t if (lastSlash !== -1) {\n\t origin = uri.slice(0, lastSlash + 1);\n\t mapUri = origin + mapUri;\n\t // note if lastSlash === -1, actual script uri has no slash\n\t // somehow, so no way to use it as a prefix... we give up and try\n\t // as absolute\n\t }\n\t }\n\n\t this.ajax(mapUri, function(xhr) {\n\t if (xhr.status === 200 || (mapUri.slice(0, 7) === \"file://\" && xhr.status === 0)) {\n\t this.mapForUri[uri] = new source_map_consumer.SourceMapConsumer(xhr.responseText);\n\t }\n\t this.sem.decr();\n\t });\n\t }\n\t } else {\n\t // no map\n\t this.sem.decr();\n\t }\n\t } else {\n\t // HTTP error fetching uri of the script\n\t this.sem.decr();\n\t }\n\t };\n\n\t var processSourceMaps = function(lines, rows, mapForUri, traceFormat) {\n\t var result = [];\n\t var map;\n\t var origName = traceFormat === \"chrome\" ? origNameChrome : origNameFirefox;\n\t for (var i=0; i < lines.length; i++) {\n\t var row = rows[i];\n\t if (row) {\n\t var uri = row[1];\n\t var line = parseInt(row[2], 10);\n\t var column = parseInt(row[3], 10);\n\t map = mapForUri[uri];\n\n\t if (map) {\n\t // we think we have a map for that uri. call source-map library\n\t var origPos = map.originalPositionFor(\n\t { line: line, column: column });\n\t result.push(formatOriginalPosition(origPos.source,\n\t origPos.line, origPos.column, origPos.name || origName(lines[i])));\n\t } else {\n\t // we can't find a map for that url, but we parsed the row.\n\t // reformat unchanged line for consistency with the sourcemapped\n\t // lines.\n\t result.push(formatOriginalPosition(uri, line, column, origName(lines[i])));\n\t }\n\t } else {\n\t // we weren't able to parse the row, push back what we were given\n\t result.push(lines[i]);\n\t }\n\t }\n\n\t return result;\n\t };\n\n\t function origNameChrome(origLine) {\n\t var match = / +at +([^ ]*).*/.exec(origLine);\n\t return match && match[1];\n\t }\n\n\t function origNameFirefox(origLine) {\n\t var match = /([^@]*)@.*/.exec(origLine);\n\t return match && match[1];\n\t }\n\n\t var formatOriginalPosition = function(source, line, column, name) {\n\t // mimic chrome's format\n\t return \" at \" + (name ? name : \"(unknown)\") +\n\t \" (\" + source + \":\" + line + \":\" + column + \")\";\n\t };\n\n\t // xmlhttprequest boilerplate\n\t var XMLHttpFactories = [\n\t\tfunction () {return new XMLHttpRequest();},\n\t\tfunction () {return new ActiveXObject(\"Msxml2.XMLHTTP\");},\n\t\tfunction () {return new ActiveXObject(\"Msxml3.XMLHTTP\");},\n\t\tfunction () {return new ActiveXObject(\"Microsoft.XMLHTTP\");}\n\t ];\n\n\t function createXMLHTTPObject() {\n\t var xmlhttp = false;\n\t for (var i=0;i<XMLHttpFactories.length;i++) {\n\t try {\n\t xmlhttp = XMLHttpFactories[i]();\n\t }\n\t catch (e) {\n\t continue;\n\t }\n\t break;\n\t }\n\t return xmlhttp;\n\t }\n\n\t return {\n\t mapStackTrace: mapStackTrace\n\t }\n\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\n\tvar util = __webpack_require__(2);\n\tvar binarySearch = __webpack_require__(3);\n\tvar ArraySet = __webpack_require__(4).ArraySet;\n\tvar base64VLQ = __webpack_require__(5);\n\tvar quickSort = __webpack_require__(7).quickSort;\n\n\tfunction SourceMapConsumer(aSourceMap) {\n\t var sourceMap = aSourceMap;\n\t if (typeof aSourceMap === 'string') {\n\t sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n\t }\n\n\t return sourceMap.sections != null\n\t ? new IndexedSourceMapConsumer(sourceMap)\n\t : new BasicSourceMapConsumer(sourceMap);\n\t}\n\n\tSourceMapConsumer.fromSourceMap = function(aSourceMap) {\n\t return BasicSourceMapConsumer.fromSourceMap(aSourceMap);\n\t}\n\n\t/**\n\t * The version of the source mapping spec that we are consuming.\n\t */\n\tSourceMapConsumer.prototype._version = 3;\n\n\t// `__generatedMappings` and `__originalMappings` are arrays that hold the\n\t// parsed mapping coordinates from the source map's \"mappings\" attribute. They\n\t// are lazily instantiated, accessed via the `_generatedMappings` and\n\t// `_originalMappings` getters respectively, and we only parse the mappings\n\t// and create these arrays once queried for a source location. We jump through\n\t// these hoops because there can be many thousands of mappings, and parsing\n\t// them is expensive, so we only want to do it if we must.\n\t//\n\t// Each object in the arrays is of the form:\n\t//\n\t// {\n\t// generatedLine: The line number in the generated code,\n\t// generatedColumn: The column number in the generated code,\n\t// source: The path to the original source file that generated this\n\t// chunk of code,\n\t// originalLine: The line number in the original source that\n\t// corresponds to this chunk of generated code,\n\t// originalColumn: The column number in the original source that\n\t// corresponds to this chunk of generated code,\n\t// name: The name of the original symbol which generated this chunk of\n\t// code.\n\t// }\n\t//\n\t// All properties except for `generatedLine` and `generatedColumn` can be\n\t// `null`.\n\t//\n\t// `_generatedMappings` is ordered by the generated positions.\n\t//\n\t// `_originalMappings` is ordered by the original positions.\n\n\tSourceMapConsumer.prototype.__generatedMappings = null;\n\tObject.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {\n\t get: function () {\n\t if (!this.__generatedMappings) {\n\t this._parseMappings(this._mappings, this.sourceRoot);\n\t }\n\n\t return this.__generatedMappings;\n\t }\n\t});\n\n\tSourceMapConsumer.prototype.__originalMappings = null;\n\tObject.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {\n\t get: function () {\n\t if (!this.__originalMappings) {\n\t this._parseMappings(this._mappings, this.sourceRoot);\n\t }\n\n\t return this.__originalMappings;\n\t }\n\t});\n\n\tSourceMapConsumer.prototype._charIsMappingSeparator =\n\t function SourceMapConsumer_charIsMappingSeparator(aStr, index) {\n\t var c = aStr.charAt(index);\n\t return c === \";\" || c === \",\";\n\t };\n\n\t/**\n\t * Parse the mappings in a string in to a data structure which we can easily\n\t * query (the ordered arrays in the `this.__generatedMappings` and\n\t * `this.__originalMappings` properties).\n\t */\n\tSourceMapConsumer.prototype._parseMappings =\n\t function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n\t throw new Error(\"Subclasses must implement _parseMappings\");\n\t };\n\n\tSourceMapConsumer.GENERATED_ORDER = 1;\n\tSourceMapConsumer.ORIGINAL_ORDER = 2;\n\n\tSourceMapConsumer.GREATEST_LOWER_BOUND = 1;\n\tSourceMapConsumer.LEAST_UPPER_BOUND = 2;\n\n\t/**\n\t * Iterate over each mapping between an original source/line/column and a\n\t * generated line/column in this source map.\n\t *\n\t * @param Function aCallback\n\t * The function that is called with each mapping.\n\t * @param Object aContext\n\t * Optional. If specified, this object will be the value of `this` every\n\t * time that `aCallback` is called.\n\t * @param aOrder\n\t * Either `SourceMapConsumer.GENERATED_ORDER` or\n\t * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to\n\t * iterate over the mappings sorted by the generated file's line/column\n\t * order or the original's source/line/column order, respectively. Defaults to\n\t * `SourceMapConsumer.GENERATED_ORDER`.\n\t */\n\tSourceMapConsumer.prototype.eachMapping =\n\t function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {\n\t var context = aContext || null;\n\t var order = aOrder || SourceMapConsumer.GENERATED_ORDER;\n\n\t var mappings;\n\t switch (order) {\n\t case SourceMapConsumer.GENERATED_ORDER:\n\t mappings = this._generatedMappings;\n\t break;\n\t case SourceMapConsumer.ORIGINAL_ORDER:\n\t mappings = this._originalMappings;\n\t break;\n\t default:\n\t throw new Error(\"Unknown order of iteration.\");\n\t }\n\n\t var sourceRoot = this.sourceRoot;\n\t mappings.map(function (mapping) {\n\t var source = mapping.source === null ? null : this._sources.at(mapping.source);\n\t if (source != null && sourceRoot != null) {\n\t source = util.join(sourceRoot, source);\n\t }\n\t return {\n\t source: source,\n\t generatedLine: mapping.generatedLine,\n\t generatedColumn: mapping.generatedColumn,\n\t originalLine: mapping.originalLine,\n\t originalColumn: mapping.originalColumn,\n\t name: mapping.name === null ? null : this._names.at(mapping.name)\n\t };\n\t }, this).forEach(aCallback, context);\n\t };\n\n\t/**\n\t * Returns all generated line and column information for the original source,\n\t * line, and column provided. If no column is provided, returns all mappings\n\t * corresponding to a either the line we are searching for or the next\n\t * closest line that has any mappings. Otherwise, returns all mappings\n\t * corresponding to the given line and either the column we are searching for\n\t * or the next closest column that has any offsets.\n\t *\n\t * The only argument is an object with the following properties:\n\t *\n\t * - source: The filename of the original source.\n\t * - line: The line number in the original source.\n\t * - column: Optional. the column number in the original source.\n\t *\n\t * and an array of objects is returned, each with the following properties:\n\t *\n\t * - line: The line number in the generated source, or null.\n\t * - column: The column number in the generated source, or null.\n\t */\n\tSourceMapConsumer.prototype.allGeneratedPositionsFor =\n\t function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {\n\t var line = util.getArg(aArgs, 'line');\n\n\t // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping\n\t // returns the index of the closest mapping less than the needle. By\n\t // setting needle.originalColumn to 0, we thus find the last mapping for\n\t // the given line, provided such a mapping exists.\n\t var needle = {\n\t source: util.getArg(aArgs, 'source'),\n\t originalLine: line,\n\t originalColumn: util.getArg(aArgs, 'column', 0)\n\t };\n\n\t if (this.sourceRoot != null) {\n\t needle.source = util.relative(this.sourceRoot, needle.source);\n\t }\n\t if (!this._sources.has(needle.source)) {\n\t return [];\n\t }\n\t needle.source = this._sources.indexOf(needle.source);\n\n\t var mappings = [];\n\n\t var index = this._findMapping(needle,\n\t this._originalMappings,\n\t \"originalLine\",\n\t \"originalColumn\",\n\t util.compareByOriginalPositions,\n\t binarySearch.LEAST_UPPER_BOUND);\n\t if (index >= 0) {\n\t var mapping = this._originalMappings[index];\n\n\t if (aArgs.column === undefined) {\n\t var originalLine = mapping.originalLine;\n\n\t // Iterate until either we run out of mappings, or we run into\n\t // a mapping for a different line than the one we found. Since\n\t // mappings are sorted, this is guaranteed to find all mappings for\n\t // the line we found.\n\t while (mapping && mapping.originalLine === originalLine) {\n\t mappings.push({\n\t line: util.getArg(mapping, 'generatedLine', null),\n\t column: util.getArg(mapping, 'generatedColumn', null),\n\t lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n\t });\n\n\t mapping = this._originalMappings[++index];\n\t }\n\t } else {\n\t var originalColumn = mapping.originalColumn;\n\n\t // Iterate until either we run out of mappings, or we run into\n\t // a mapping for a different line than the one we were searching for.\n\t // Since mappings are sorted, this is guaranteed to find all mappings for\n\t // the line we are searching for.\n\t while (mapping &&\n\t mapping.originalLine === line &&\n\t mapping.originalColumn == originalColumn) {\n\t mappings.push({\n\t line: util.getArg(mapping, 'generatedLine', null),\n\t column: util.getArg(mapping, 'generatedColumn', null),\n\t lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n\t });\n\n\t mapping = this._originalMappings[++index];\n\t }\n\t }\n\t }\n\n\t return mappings;\n\t };\n\n\texports.SourceMapConsumer = SourceMapConsumer;\n\n\t/**\n\t * A BasicSourceMapConsumer instance represents a parsed source map which we can\n\t * query for information about the original file positions by giving it a file\n\t * position in the generated source.\n\t *\n\t * The only parameter is the raw source map (either as a JSON string, or\n\t * already parsed to an object). According to the spec, source maps have the\n\t * following attributes:\n\t *\n\t * - version: Which version of the source map spec this map is following.\n\t * - sources: An array of URLs to the original source files.\n\t * - names: An array of identifiers which can be referrenced by individual mappings.\n\t * - sourceRoot: Optional. The URL root from which all sources are relative.\n\t * - sourcesContent: Optional. An array of contents of the original source files.\n\t * - mappings: A string of base64 VLQs which contain the actual mappings.\n\t * - file: Optional. The generated file this source map is associated with.\n\t *\n\t * Here is an example source map, taken from the source map spec[0]:\n\t *\n\t * {\n\t * version : 3,\n\t * file: \"out.js\",\n\t * sourceRoot : \"\",\n\t * sources: [\"foo.js\", \"bar.js\"],\n\t * names: [\"src\", \"maps\", \"are\", \"fun\"],\n\t * mappings: \"AA,AB;;ABCDE;\"\n\t * }\n\t *\n\t * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#\n\t */\n\tfunction BasicSourceMapConsumer(aSourceMap) {\n\t var sourceMap = aSourceMap;\n\t if (typeof aSourceMap === 'string') {\n\t sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n\t }\n\n\t var version = util.getArg(sourceMap, 'version');\n\t var sources = util.getArg(sourceMap, 'sources');\n\t // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which\n\t // requires the array) to play nice here.\n\t var names = util.getArg(sourceMap, 'names', []);\n\t var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);\n\t var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);\n\t var mappings = util.getArg(sourceMap, 'mappings');\n\t var file = util.getArg(sourceMap, 'file', null);\n\n\t // Once again, Sass deviates from the spec and supplies the version as a\n\t // string rather than a number, so we use loose equality checking here.\n\t if (version != this._version) {\n\t throw new Error('Unsupported version: ' + version);\n\t }\n\n\t sources = sources\n\t .map(String)\n\t // Some source maps produce relative source paths like \"./foo.js\" instead of\n\t // \"foo.js\". Normalize these first so that future comparisons will succeed.\n\t // See bugzil.la/1090768.\n\t .map(util.normalize)\n\t // Always ensure that absolute sources are internally stored relative to\n\t // the source root, if the source root is absolute. Not doing this would\n\t // be particularly problematic when the source root is a prefix of the\n\t // source (valid, but why??). See github issue #199 and bugzil.la/1188982.\n\t .map(function (source) {\n\t return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)\n\t ? util.relative(sourceRoot, source)\n\t : source;\n\t });\n\n\t // Pass `true` below to allow duplicate names and sources. While source maps\n\t // are intended to be compressed and deduplicated, the TypeScript compiler\n\t // sometimes generates source maps with duplicates in them. See Github issue\n\t // #72 and bugzil.la/889492.\n\t this._names = ArraySet.fromArray(names.map(String), true);\n\t this._sources = ArraySet.fromArray(sources, true);\n\n\t this.sourceRoot = sourceRoot;\n\t this.sourcesContent = sourcesContent;\n\t this._mappings = mappings;\n\t this.file = file;\n\t}\n\n\tBasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\n\tBasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;\n\n\t/**\n\t * Create a BasicSourceMapConsumer from a SourceMapGenerator.\n\t *\n\t * @param SourceMapGenerator aSourceMap\n\t * The source map that will be consumed.\n\t * @returns BasicSourceMapConsumer\n\t */\n\tBasicSourceMapConsumer.fromSourceMap =\n\t function SourceMapConsumer_fromSourceMap(aSourceMap) {\n\t var smc = Object.create(BasicSourceMapConsumer.prototype);\n\n\t var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);\n\t var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);\n\t smc.sourceRoot = aSourceMap._sourceRoot;\n\t smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),\n\t smc.sourceRoot);\n\t smc.file = aSourceMap._file;\n\n\t // Because we are modifying the entries (by converting string sources and\n\t // names to indices into the sources and names ArraySets), we have to make\n\t // a copy of the entry or else bad things happen. Shared mutable state\n\t // strikes again! See github issue #191.\n\n\t var generatedMappings = aSourceMap._mappings.toArray().slice();\n\t var destGeneratedMappings = smc.__generatedMappings = [];\n\t var destOriginalMappings = smc.__originalMappings = [];\n\n\t for (var i = 0, length = generatedMappings.length; i < length; i++) {\n\t var srcMapping = generatedMappings[i];\n\t var destMapping = new Mapping;\n\t destMapping.generatedLine = srcMapping.generatedLine;\n\t destMapping.generatedColumn = srcMapping.generatedColumn;\n\n\t if (srcMapping.source) {\n\t destMapping.source = sources.indexOf(srcMapping.source);\n\t destMapping.originalLine = srcMapping.originalLine;\n\t destMapping.originalColumn = srcMapping.originalColumn;\n\n\t if (srcMapping.name) {\n\t destMapping.name = names.indexOf(srcMapping.name);\n\t }\n\n\t destOriginalMappings.push(destMapping);\n\t }\n\n\t destGeneratedMappings.push(destMapping);\n\t }\n\n\t quickSort(smc.__originalMappings, util.compareByOriginalPositions);\n\n\t return smc;\n\t };\n\n\t/**\n\t * The version of the source mapping spec that we are consuming.\n\t */\n\tBasicSourceMapConsumer.prototype._version = 3;\n\n\t/**\n\t * The list of original sources.\n\t */\n\tObject.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {\n\t get: function () {\n\t return this._sources.toArray().map(function (s) {\n\t return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s;\n\t }, this);\n\t }\n\t});\n\n\t/**\n\t * Provide the JIT with a nice shape / hidden class.\n\t */\n\tfunction Mapping() {\n\t this.generatedLine = 0;\n\t this.generatedColumn = 0;\n\t this.source = null;\n\t this.originalLine = null;\n\t this.originalColumn = null;\n\t this.name = null;\n\t}\n\n\t/**\n\t * Parse the mappings in a string in to a data structure which we can easily\n\t * query (the ordered arrays in the `this.__generatedMappings` and\n\t * `this.__originalMappings` properties).\n\t */\n\tBasicSourceMapConsumer.prototype._parseMappings =\n\t function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n\t var generatedLine = 1;\n\t var previousGeneratedColumn = 0;\n\t var previousOriginalLine = 0;\n\t var previousOriginalColumn = 0;\n\t var previousSource = 0;\n\t var previousName = 0;\n\t var length = aStr.length;\n\t var index = 0;\n\t var cachedSegments = {};\n\t var temp = {};\n\t var originalMappings = [];\n\t var generatedMappings = [];\n\t var mapping, str, segment, end, value;\n\n\t while (index < length) {\n\t if (aStr.charAt(index) === ';') {\n\t generatedLine++;\n\t index++;\n\t previousGeneratedColumn = 0;\n\t }\n\t else if (aStr.charAt(index) === ',') {\n\t index++;\n\t }\n\t else {\n\t mapping = new Mapping();\n\t mapping.generatedLine = generatedLine;\n\n\t // Because each offset is encoded relative to the previous one,\n\t // many segments often have the same encoding. We can exploit this\n\t // fact by caching the parsed variable length fields of each segment,\n\t // allowing us to avoid a second parse if we encounter the same\n\t // segment again.\n\t for (end = index; end < length; end++) {\n\t if (this._charIsMappingSeparator(aStr, end)) {\n\t break;\n\t }\n\t }\n\t str = aStr.slice(index, end);\n\n\t segment = cachedSegments[str];\n\t if (segment) {\n\t index += str.length;\n\t } else {\n\t segment = [];\n\t while (index < end) {\n\t base64VLQ.decode(aStr, index, temp);\n\t value = temp.value;\n\t index = temp.rest;\n\t segment.push(value);\n\t }\n\n\t if (segment.length === 2) {\n\t throw new Error('Found a source, but no line and column');\n\t }\n\n\t if (segment.length === 3) {\n\t throw new Error('Found a source and line, but no column');\n\t }\n\n\t cachedSegments[str] = segment;\n\t }\n\n\t // Generated column.\n\t mapping.generatedColumn = previousGeneratedColumn + segment[0];\n\t previousGeneratedColumn = mapping.generatedColumn;\n\n\t if (segment.length > 1) {\n\t // Original source.\n\t mapping.source = previousSource + segment[1];\n\t previousSource += segment[1];\n\n\t // Original line.\n\t mapping.originalLine = previousOriginalLine + segment[2];\n\t previousOriginalLine = mapping.originalLine;\n\t // Lines are stored 0-based\n\t mapping.originalLine += 1;\n\n\t // Original column.\n\t mapping.originalColumn = previousOriginalColumn + segment[3];\n\t previousOriginalColumn = mapping.originalColumn;\n\n\t if (segment.length > 4) {\n\t // Original name.\n\t mapping.name = previousName + segment[4];\n\t previousName += segment[4];\n\t }\n\t }\n\n\t generatedMappings.push(mapping);\n\t if (typeof mapping.originalLine === 'number') {\n\t originalMappings.push(mapping);\n\t }\n\t }\n\t }\n\n\t quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated);\n\t this.__generatedMappings = generatedMappings;\n\n\t quickSort(originalMappings, util.compareByOriginalPositions);\n\t this.__originalMappings = originalMappings;\n\t };\n\n\t/**\n\t * Find the mapping that best matches the hypothetical \"needle\" mapping that\n\t * we are searching for in the given \"haystack\" of mappings.\n\t */\n\tBasicSourceMapConsumer.prototype._findMapping =\n\t function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,\n\t aColumnName, aComparator, aBias) {\n\t // To return the position we are searching for, we must first find the\n\t // mapping for the given position and then return the opposite position it\n\t // points to. Because the mappings are sorted, we can use binary search to\n\t // find the best mapping.\n\n\t if (aNeedle[aLineName] <= 0) {\n\t throw new TypeError('Line must be greater than or equal to 1, got '\n\t + aNeedle[aLineName]);\n\t }\n\t if (aNeedle[aColumnName] < 0) {\n\t throw new TypeError('Column must be greater than or equal to 0, got '\n\t + aNeedle[aColumnName]);\n\t }\n\n\t return binarySearch.search(aNeedle, aMappings, aComparator, aBias);\n\t };\n\n\t/**\n\t * Compute the last column for each generated mapping. The last column is\n\t * inclusive.\n\t */\n\tBasicSourceMapConsumer.prototype.computeColumnSpans =\n\t function SourceMapConsumer_computeColumnSpans() {\n\t for (var index = 0; index < this._generatedMappings.length; ++index) {\n\t var mapping = this._generatedMappings[index];\n\n\t // Mappings do not contain a field for the last generated columnt. We\n\t // can come up with an optimistic estimate, however, by assuming that\n\t // mappings are contiguous (i.e. given two consecutive mappings, the\n\t // first mapping ends where the second one starts).\n\t if (index + 1 < this._generatedMappings.length) {\n\t var nextMapping = this._generatedMappings[index + 1];\n\n\t if (mapping.generatedLine === nextMapping.generatedLine) {\n\t mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;\n\t continue;\n\t }\n\t }\n\n\t // The last mapping for each line spans the entire line.\n\t mapping.lastGeneratedColumn = Infinity;\n\t }\n\t };\n\n\t/**\n\t * Returns the original source, line, and column information for the generated\n\t * source's line and column positions provided. The only argument is an object\n\t * with the following properties:\n\t *\n\t * - line: The line number in the generated source.\n\t * - column: The column number in the generated source.\n\t * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n\t * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - source: The original source file, or null.\n\t * - line: The line number in the original source, or null.\n\t * - column: The column number in the original source, or null.\n\t * - name: The original identifier, or null.\n\t */\n\tBasicSourceMapConsumer.prototype.originalPositionFor =\n\t function SourceMapConsumer_originalPositionFor(aArgs) {\n\t var needle = {\n\t generatedLine: util.getArg(aArgs, 'line'),\n\t generatedColumn: util.getArg(aArgs, 'column')\n\t };\n\n\t var index = this._findMapping(\n\t needle,\n\t this._generatedMappings,\n\t \"generatedLine\",\n\t \"generatedColumn\",\n\t util.compareByGeneratedPositionsDeflated,\n\t util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n\t );\n\n\t if (index >= 0) {\n\t var mapping = this._generatedMappings[index];\n\n\t if (mapping.generatedLine === needle.generatedLine) {\n\t var source = util.getArg(mapping, 'source', null);\n\t if (source !== null) {\n\t source = this._sources.at(source);\n\t if (this.sourceRoot != null) {\n\t source = util.join(this.sourceRoot, source);\n\t }\n\t }\n\t var name = util.getArg(mapping, 'name', null);\n\t if (name !== null) {\n\t name = this._names.at(name);\n\t }\n\t return {\n\t source: source,\n\t line: util.getArg(mapping, 'originalLine', null),\n\t column: util.getArg(mapping, 'originalColumn', null),\n\t name: name\n\t };\n\t }\n\t }\n\n\t return {\n\t source: null,\n\t line: null,\n\t column: null,\n\t name: null\n\t };\n\t };\n\n\t/**\n\t * Return true if we have the source content for every source in the source\n\t * map, false otherwise.\n\t */\n\tBasicSourceMapConsumer.prototype.hasContentsOfAllSources =\n\t function BasicSourceMapConsumer_hasContentsOfAllSources() {\n\t if (!this.sourcesContent) {\n\t return false;\n\t }\n\t return this.sourcesContent.length >= this._sources.size() &&\n\t !this.sourcesContent.some(function (sc) { return sc == null; });\n\t };\n\n\t/**\n\t * Returns the original source content. The only argument is the url of the\n\t * original source file. Returns null if no original source content is\n\t * available.\n\t */\n\tBasicSourceMapConsumer.prototype.sourceContentFor =\n\t function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n\t if (!this.sourcesContent) {\n\t return null;\n\t }\n\n\t if (this.sourceRoot != null) {\n\t aSource = util.relative(this.sourceRoot, aSource);\n\t }\n\n\t if (this._sources.has(aSource)) {\n\t return this.sourcesContent[this._sources.indexOf(aSource)];\n\t }\n\n\t var url;\n\t if (this.sourceRoot != null\n\t && (url = util.urlParse(this.sourceRoot))) {\n\t // XXX: file:// URIs and absolute paths lead to unexpected behavior for\n\t // many users. We can help them out when they expect file:// URIs to\n\t // behave like it would if they were running a local HTTP server. See\n\t // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.\n\t var fileUriAbsPath = aSource.replace(/^file:\\/\\//, \"\");\n\t if (url.scheme == \"file\"\n\t && this._sources.has(fileUriAbsPath)) {\n\t return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]\n\t }\n\n\t if ((!url.path || url.path == \"/\")\n\t && this._sources.has(\"/\" + aSource)) {\n\t return this.sourcesContent[this._sources.indexOf(\"/\" + aSource)];\n\t }\n\t }\n\n\t // This function is used recursively from\n\t // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we\n\t // don't want to throw if we can't find the source - we just want to\n\t // return null, so we provide a flag to exit gracefully.\n\t if (nullOnMissing) {\n\t return null;\n\t }\n\t else {\n\t throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n\t }\n\t };\n\n\t/**\n\t * Returns the generated line and column information for the original source,\n\t * line, and column positions provided. The only argument is an object with\n\t * the following properties:\n\t *\n\t * - source: The filename of the original source.\n\t * - line: The line number in the original source.\n\t * - column: The column number in the original source.\n\t * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n\t * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - line: The line number in the generated source, or null.\n\t * - column: The column number in the generated source, or null.\n\t */\n\tBasicSourceMapConsumer.prototype.generatedPositionFor =\n\t function SourceMapConsumer_generatedPositionFor(aArgs) {\n\t var source = util.getArg(aArgs, 'source');\n\t if (this.sourceRoot != null) {\n\t source = util.relative(this.sourceRoot, source);\n\t }\n\t if (!this._sources.has(source)) {\n\t return {\n\t line: null,\n\t column: null,\n\t lastColumn: null\n\t };\n\t }\n\t source = this._sources.indexOf(source);\n\n\t var needle = {\n\t source: source,\n\t originalLine: util.getArg(aArgs, 'line'),\n\t originalColumn: util.getArg(aArgs, 'column')\n\t };\n\n\t var index = this._findMapping(\n\t needle,\n\t this._originalMappings,\n\t \"originalLine\",\n\t \"originalColumn\",\n\t util.compareByOriginalPositions,\n\t util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n\t );\n\n\t if (index >= 0) {\n\t var mapping = this._originalMappings[index];\n\n\t if (mapping.source === needle.source) {\n\t return {\n\t line: util.getArg(mapping, 'generatedLine', null),\n\t column: util.getArg(mapping, 'generatedColumn', null),\n\t lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n\t };\n\t }\n\t }\n\n\t return {\n\t line: null,\n\t column: null,\n\t lastColumn: null\n\t };\n\t };\n\n\texports.BasicSourceMapConsumer = BasicSourceMapConsumer;\n\n\t/**\n\t * An IndexedSourceMapConsumer instance represents a parsed source map which\n\t * we can query for information. It differs from BasicSourceMapConsumer in\n\t * that it takes \"indexed\" source maps (i.e. ones with a \"sections\" field) as\n\t * input.\n\t *\n\t * The only parameter is a raw source map (either as a JSON string, or already\n\t * parsed to an object). According to the spec for indexed source maps, they\n\t * have the following attributes:\n\t *\n\t * - version: Which version of the source map spec this map is following.\n\t * - file: Optional. The generated file this source map is associated with.\n\t * - sections: A list of section definitions.\n\t *\n\t * Each value under the \"sections\" field has two fields:\n\t * - offset: The offset into the original specified at which this section\n\t * begins to apply, defined as an object with a \"line\" and \"column\"\n\t * field.\n\t * - map: A source map definition. This source map could also be indexed,\n\t * but doesn't have to be.\n\t *\n\t * Instead of the \"map\" field, it's also possible to have a \"url\" field\n\t * specifying a URL to retrieve a source map from, but that's currently\n\t * unsupported.\n\t *\n\t * Here's an example source map, taken from the source map spec[0], but\n\t * modified to omit a section which uses the \"url\" field.\n\t *\n\t * {\n\t * version : 3,\n\t * file: \"app.js\",\n\t * sections: [{\n\t * offset: {line:100, column:10},\n\t * map: {\n\t * version : 3,\n\t * file: \"section.js\",\n\t * sources: [\"foo.js\", \"bar.js\"],\n\t * names: [\"src\", \"maps\", \"are\", \"fun\"],\n\t * mappings: \"AAAA,E;;ABCDE;\"\n\t * }\n\t * }],\n\t * }\n\t *\n\t * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt\n\t */\n\tfunction IndexedSourceMapConsumer(aSourceMap) {\n\t var sourceMap = aSourceMap;\n\t if (typeof aSourceMap === 'string') {\n\t sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n\t }\n\n\t var version = util.getArg(sourceMap, 'version');\n\t var sections = util.getArg(sourceMap, 'sections');\n\n\t if (version != this._version) {\n\t throw new Error('Unsupported version: ' + version);\n\t }\n\n\t this._sources = new ArraySet();\n\t this._names = new ArraySet();\n\n\t var lastOffset = {\n\t line: -1,\n\t column: 0\n\t };\n\t this._sections = sections.map(function (s) {\n\t if (s.url) {\n\t // The url field will require support for asynchronicity.\n\t // See https://github.com/mozilla/source-map/issues/16\n\t throw new Error('Support for url field in sections not implemented.');\n\t }\n\t var offset = util.getArg(s, 'offset');\n\t var offsetLine = util.getArg(offset, 'line');\n\t var offsetColumn = util.getArg(offset, 'column');\n\n\t if (offsetLine < lastOffset.line ||\n\t (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {\n\t throw new Error('Section offsets must be ordered and non-overlapping.');\n\t }\n\t lastOffset = offset;\n\n\t return {\n\t generatedOffset: {\n\t // The offset fields are 0-based, but we use 1-based indices when\n\t // encoding/decoding from VLQ.\n\t generatedLine: offsetLine + 1,\n\t generatedColumn: offsetColumn + 1\n\t },\n\t consumer: new SourceMapConsumer(util.getArg(s, 'map'))\n\t }\n\t });\n\t}\n\n\tIndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\n\tIndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;\n\n\t/**\n\t * The version of the source mapping spec that we are consuming.\n\t */\n\tIndexedSourceMapConsumer.prototype._version = 3;\n\n\t/**\n\t * The list of original sources.\n\t */\n\tObject.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {\n\t get: function () {\n\t var sources = [];\n\t for (var i = 0; i < this._sections.length; i++) {\n\t for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {\n\t sources.push(this._sections[i].consumer.sources[j]);\n\t }\n\t }\n\t return sources;\n\t }\n\t});\n\n\t/**\n\t * Returns the original source, line, and column information for the generated\n\t * source's line and column positions provided. The only argument is an object\n\t * with the following properties:\n\t *\n\t * - line: The line number in the generated source.\n\t * - column: The column number in the generated source.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - source: The original source file, or null.\n\t * - line: The line number in the original source, or null.\n\t * - column: The column number in the original source, or null.\n\t * - name: The original identifier, or null.\n\t */\n\tIndexedSourceMapConsumer.prototype.originalPositionFor =\n\t function IndexedSourceMapConsumer_originalPositionFor(aArgs) {\n\t var needle = {\n\t generatedLine: util.getArg(aArgs, 'line'),\n\t generatedColumn: util.getArg(aArgs, 'column')\n\t };\n\n\t // Find the section containing the generated position we're trying to map\n\t // to an original position.\n\t var sectionIndex = binarySearch.search(needle, this._sections,\n\t function(needle, section) {\n\t var cmp = needle.generatedLine - section.generatedOffset.generatedLine;\n\t if (cmp) {\n\t return cmp;\n\t }\n\n\t return (needle.generatedColumn -\n\t section.generatedOffset.generatedColumn);\n\t });\n\t var section = this._sections[sectionIndex];\n\n\t if (!section) {\n\t return {\n\t source: null,\n\t line: null,\n\t column: null,\n\t name: null\n\t };\n\t }\n\n\t return section.consumer.originalPositionFor({\n\t line: needle.generatedLine -\n\t (section.generatedOffset.generatedLine - 1),\n\t column: needle.generatedColumn -\n\t (section.generatedOffset.generatedLine === needle.generatedLine\n\t ? section.generatedOffset.generatedColumn - 1\n\t : 0),\n\t bias: aArgs.bias\n\t });\n\t };\n\n\t/**\n\t * Return true if we have the source content for every source in the source\n\t * map, false otherwise.\n\t */\n\tIndexedSourceMapConsumer.prototype.hasContentsOfAllSources =\n\t function IndexedSourceMapConsumer_hasContentsOfAllSources() {\n\t return this._sections.every(function (s) {\n\t return s.consumer.hasContentsOfAllSources();\n\t });\n\t };\n\n\t/**\n\t * Returns the original source content. The only argument is the url of the\n\t * original source file. Returns null if no original source content is\n\t * available.\n\t */\n\tIndexedSourceMapConsumer.prototype.sourceContentFor =\n\t function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n\t for (var i = 0; i < this._sections.length; i++) {\n\t var section = this._sections[i];\n\n\t var content = section.consumer.sourceContentFor(aSource, true);\n\t if (content) {\n\t return content;\n\t }\n\t }\n\t if (nullOnMissing) {\n\t return null;\n\t }\n\t else {\n\t throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n\t }\n\t };\n\n\t/**\n\t * Returns the generated line and column information for the original source,\n\t * line, and column positions provided. The only argument is an object with\n\t * the following properties:\n\t *\n\t * - source: The filename of the original source.\n\t * - line: The line number in the original source.\n\t * - column: The column number in the original source.\n\t *\n\t * and an object is returned with the following properties:\n\t *\n\t * - line: The line number in the generated source, or null.\n\t * - column: The column number in the generated source, or null.\n\t */\n\tIndexedSourceMapConsumer.prototype.generatedPositionFor =\n\t function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {\n\t for (var i = 0; i < this._sections.length; i++) {\n\t var section = this._sections[i];\n\n\t // Only consider this section if the requested source is in the list of\n\t // sources of the consumer.\n\t if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) {\n\t continue;\n\t }\n\t var generatedPosition = section.consumer.generatedPositionFor(aArgs);\n\t if (generatedPosition) {\n\t var ret = {\n\t line: generatedPosition.line +\n\t (section.generatedOffset.generatedLine - 1),\n\t column: generatedPosition.column +\n\t (section.generatedOffset.generatedLine === generatedPosition.line\n\t ? section.generatedOffset.generatedColumn - 1\n\t : 0)\n\t };\n\t return ret;\n\t }\n\t }\n\n\t return {\n\t line: null,\n\t column: null\n\t };\n\t };\n\n\t/**\n\t * Parse the mappings in a string in to a data structure which we can easily\n\t * query (the ordered arrays in the `this.__generatedMappings` and\n\t * `this.__originalMappings` properties).\n\t */\n\tIndexedSourceMapConsumer.prototype._parseMappings =\n\t function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n\t this.__generatedMappings = [];\n\t this.__originalMappings = [];\n\t for (var i = 0; i < this._sections.length; i++) {\n\t var section = this._sections[i];\n\t var sectionMappings = section.consumer._generatedMappings;\n\t for (var j = 0; j < sectionMappings.length; j++) {\n\t var mapping = sectionMappings[j];\n\n\t var source = section.consumer._sources.at(mapping.source);\n\t if (section.consumer.sourceRoot !== null) {\n\t source = util.join(section.consumer.sourceRoot, source);\n\t }\n\t this._sources.add(source);\n\t source = this._sources.indexOf(source);\n\n\t var name = section.consumer._names.at(mapping.name);\n\t this._names.add(name);\n\t name = this._names.indexOf(name);\n\n\t // The mappings coming from the consumer for the section have\n\t // generated positions relative to the start of the section, so we\n\t // need to offset them to be relative to the start of the concatenated\n\t // generated file.\n\t var adjustedMapping = {\n\t source: source,\n\t generatedLine: mapping.generatedLine +\n\t (section.generatedOffset.generatedLine - 1),\n\t generatedColumn: mapping.generatedColumn +\n\t (section.generatedOffset.generatedLine === mapping.generatedLine\n\t ? section.generatedOffset.generatedColumn - 1\n\t : 0),\n\t originalLine: mapping.originalLine,\n\t originalColumn: mapping.originalColumn,\n\t name: name\n\t };\n\n\t this.__generatedMappings.push(adjustedMapping);\n\t if (typeof adjustedMapping.originalLine === 'number') {\n\t this.__originalMappings.push(adjustedMapping);\n\t }\n\t }\n\t }\n\n\t quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);\n\t quickSort(this.__originalMappings, util.compareByOriginalPositions);\n\t };\n\n\texports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\n\t/**\n\t * This is a helper function for getting values from parameter/options\n\t * objects.\n\t *\n\t * @param args The object we are extracting values from\n\t * @param name The name of the property we are getting.\n\t * @param defaultValue An optional value to return if the property is missing\n\t * from the object. If this is not specified and the property is missing, an\n\t * error will be thrown.\n\t */\n\tfunction getArg(aArgs, aName, aDefaultValue) {\n\t if (aName in aArgs) {\n\t return aArgs[aName];\n\t } else if (arguments.length === 3) {\n\t return aDefaultValue;\n\t } else {\n\t throw new Error('\"' + aName + '\" is a required argument.');\n\t }\n\t}\n\texports.getArg = getArg;\n\n\tvar urlRegexp = /^(?:([\\w+\\-.]+):)?\\/\\/(?:(\\w+:\\w+)@)?([\\w.]*)(?::(\\d+))?(\\S*)$/;\n\tvar dataUrlRegexp = /^data:.+\\,.+$/;\n\n\tfunction urlParse(aUrl) {\n\t var match = aUrl.match(urlRegexp);\n\t if (!match) {\n\t return null;\n\t }\n\t return {\n\t scheme: match[1],\n\t auth: match[2],\n\t host: match[3],\n\t port: match[4],\n\t path: match[5]\n\t };\n\t}\n\texports.urlParse = urlParse;\n\n\tfunction urlGenerate(aParsedUrl) {\n\t var url = '';\n\t if (aParsedUrl.scheme) {\n\t url += aParsedUrl.scheme + ':';\n\t }\n\t url += '//';\n\t if (aParsedUrl.auth) {\n\t url += aParsedUrl.auth + '@';\n\t }\n\t if (aParsedUrl.host) {\n\t url += aParsedUrl.host;\n\t }\n\t if (aParsedUrl.port) {\n\t url += \":\" + aParsedUrl.port\n\t }\n\t if (aParsedUrl.path) {\n\t url += aParsedUrl.path;\n\t }\n\t return url;\n\t}\n\texports.urlGenerate = urlGenerate;\n\n\t/**\n\t * Normalizes a path, or the path portion of a URL:\n\t *\n\t * - Replaces consecutive slashes with one slash.\n\t * - Removes unnecessary '.' parts.\n\t * - Removes unnecessary '<dir>/..' parts.\n\t *\n\t * Based on code in the Node.js 'path' core module.\n\t *\n\t * @param aPath The path or url to normalize.\n\t */\n\tfunction normalize(aPath) {\n\t var path = aPath;\n\t var url = urlParse(aPath);\n\t if (url) {\n\t if (!url.path) {\n\t return aPath;\n\t }\n\t path = url.path;\n\t }\n\t var isAbsolute = exports.isAbsolute(path);\n\n\t var parts = path.split(/\\/+/);\n\t for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {\n\t part = parts[i];\n\t if (part === '.') {\n\t parts.splice(i, 1);\n\t } else if (part === '..') {\n\t up++;\n\t } else if (up > 0) {\n\t if (part === '') {\n\t // The first part is blank if the path is absolute. Trying to go\n\t // above the root is a no-op. Therefore we can remove all '..' parts\n\t // directly after the root.\n\t parts.splice(i + 1, up);\n\t up = 0;\n\t } else {\n\t parts.splice(i, 2);\n\t up--;\n\t }\n\t }\n\t }\n\t path = parts.join('/');\n\n\t if (path === '') {\n\t path = isAbsolute ? '/' : '.';\n\t }\n\n\t if (url) {\n\t url.path = path;\n\t return urlGenerate(url);\n\t }\n\t return path;\n\t}\n\texports.normalize = normalize;\n\n\t/**\n\t * Joins two paths/URLs.\n\t *\n\t * @param aRoot The root path or URL.\n\t * @param aPath The path or URL to be joined with the root.\n\t *\n\t * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a\n\t * scheme-relative URL: Then the scheme of aRoot, if any, is prepended\n\t * first.\n\t * - Otherwise aPath is a path. If aRoot is a URL, then its path portion\n\t * is updated with the result and aRoot is returned. Otherwise the result\n\t * is returned.\n\t * - If aPath is absolute, the result is aPath.\n\t * - Otherwise the two paths are joined with a slash.\n\t * - Joining for example 'http://' and 'www.example.com' is also supported.\n\t */\n\tfunction join(aRoot, aPath) {\n\t if (aRoot === \"\") {\n\t aRoot = \".\";\n\t }\n\t if (aPath === \"\") {\n\t aPath = \".\";\n\t }\n\t var aPathUrl = urlParse(aPath);\n\t var aRootUrl = urlParse(aRoot);\n\t if (aRootUrl) {\n\t aRoot = aRootUrl.path || '/';\n\t }\n\n\t // `join(foo, '//www.example.org')`\n\t if (aPathUrl && !aPathUrl.scheme) {\n\t if (aRootUrl) {\n\t aPathUrl.scheme = aRootUrl.scheme;\n\t }\n\t return urlGenerate(aPathUrl);\n\t }\n\n\t if (aPathUrl || aPath.match(dataUrlRegexp)) {\n\t return aPath;\n\t }\n\n\t // `join('http://', 'www.example.com')`\n\t if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {\n\t aRootUrl.host = aPath;\n\t return urlGenerate(aRootUrl);\n\t }\n\n\t var joined = aPath.charAt(0) === '/'\n\t ? aPath\n\t : normalize(aRoot.replace(/\\/+$/, '') + '/' + aPath);\n\n\t if (aRootUrl) {\n\t aRootUrl.path = joined;\n\t return urlGenerate(aRootUrl);\n\t }\n\t return joined;\n\t}\n\texports.join = join;\n\n\texports.isAbsolute = function (aPath) {\n\t return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp);\n\t};\n\n\t/**\n\t * Make a path relative to a URL or another path.\n\t *\n\t * @param aRoot The root path or URL.\n\t * @param aPath The path or URL to be made relative to aRoot.\n\t */\n\tfunction relative(aRoot, aPath) {\n\t if (aRoot === \"\") {\n\t aRoot = \".\";\n\t }\n\n\t aRoot = aRoot.replace(/\\/$/, '');\n\n\t // It is possible for the path to be above the root. In this case, simply\n\t // checking whether the root is a prefix of the path won't work. Instead, we\n\t // need to remove components from the root one by one, until either we find\n\t // a prefix that fits, or we run out of components to remove.\n\t var level = 0;\n\t while (aPath.indexOf(aRoot + '/') !== 0) {\n\t var index = aRoot.lastIndexOf(\"/\");\n\t if (index < 0) {\n\t return aPath;\n\t }\n\n\t // If the only part of the root that is left is the scheme (i.e. http://,\n\t // file:///, etc.), one or more slashes (/), or simply nothing at all, we\n\t // have exhausted all components, so the path is not relative to the root.\n\t aRoot = aRoot.slice(0, index);\n\t if (aRoot.match(/^([^\\/]+:\\/)?\\/*$/)) {\n\t return aPath;\n\t }\n\n\t ++level;\n\t }\n\n\t // Make sure we add a \"../\" for each component we removed from the root.\n\t return Array(level + 1).join(\"../\") + aPath.substr(aRoot.length + 1);\n\t}\n\texports.relative = relative;\n\n\tvar supportsNullProto = (function () {\n\t var obj = Object.create(null);\n\t return !('__proto__' in obj);\n\t}());\n\n\tfunction identity (s) {\n\t return s;\n\t}\n\n\t/**\n\t * Because behavior goes wacky when you set `__proto__` on objects, we\n\t * have to prefix all the strings in our set with an arbitrary character.\n\t *\n\t * See https://github.com/mozilla/source-map/pull/31 and\n\t * https://github.com/mozilla/source-map/issues/30\n\t *\n\t * @param String aStr\n\t */\n\tfunction toSetString(aStr) {\n\t if (isProtoString(aStr)) {\n\t return '$' + aStr;\n\t }\n\n\t return aStr;\n\t}\n\texports.toSetString = supportsNullProto ? identity : toSetString;\n\n\tfunction fromSetString(aStr) {\n\t if (isProtoString(aStr)) {\n\t return aStr.slice(1);\n\t }\n\n\t return aStr;\n\t}\n\texports.fromSetString = supportsNullProto ? identity : fromSetString;\n\n\tfunction isProtoString(s) {\n\t if (!s) {\n\t return false;\n\t }\n\n\t var length = s.length;\n\n\t if (length < 9 /* \"__proto__\".length */) {\n\t return false;\n\t }\n\n\t if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||\n\t s.charCodeAt(length - 2) !== 95 /* '_' */ ||\n\t s.charCodeAt(length - 3) !== 111 /* 'o' */ ||\n\t s.charCodeAt(length - 4) !== 116 /* 't' */ ||\n\t s.charCodeAt(length - 5) !== 111 /* 'o' */ ||\n\t s.charCodeAt(length - 6) !== 114 /* 'r' */ ||\n\t s.charCodeAt(length - 7) !== 112 /* 'p' */ ||\n\t s.charCodeAt(length - 8) !== 95 /* '_' */ ||\n\t s.charCodeAt(length - 9) !== 95 /* '_' */) {\n\t return false;\n\t }\n\n\t for (var i = length - 10; i >= 0; i--) {\n\t if (s.charCodeAt(i) !== 36 /* '$' */) {\n\t return false;\n\t }\n\t }\n\n\t return true;\n\t}\n\n\t/**\n\t * Comparator between two mappings where the original positions are compared.\n\t *\n\t * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n\t * mappings with the same original source/line/column, but different generated\n\t * line and column the same. Useful when searching for a mapping with a\n\t * stubbed out mapping.\n\t */\n\tfunction compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {\n\t var cmp = mappingA.source - mappingB.source;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\n\t cmp = mappingA.originalLine - mappingB.originalLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\n\t cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t if (cmp !== 0 || onlyCompareOriginal) {\n\t return cmp;\n\t }\n\n\t cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\n\t cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\n\t return mappingA.name - mappingB.name;\n\t}\n\texports.compareByOriginalPositions = compareByOriginalPositions;\n\n\t/**\n\t * Comparator between two mappings with deflated source and name indices where\n\t * the generated positions are compared.\n\t *\n\t * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n\t * mappings with the same generated line and column, but different\n\t * source/name/original line and column the same. Useful when searching for a\n\t * mapping with a stubbed out mapping.\n\t */\n\tfunction compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {\n\t var cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\n\t cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n\t if (cmp !== 0 || onlyCompareGenerated) {\n\t return cmp;\n\t }\n\n\t cmp = mappingA.source - mappingB.source;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\n\t cmp = mappingA.originalLine - mappingB.originalLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\n\t cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\n\t return mappingA.name - mappingB.name;\n\t}\n\texports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;\n\n\tfunction strcmp(aStr1, aStr2) {\n\t if (aStr1 === aStr2) {\n\t return 0;\n\t }\n\n\t if (aStr1 > aStr2) {\n\t return 1;\n\t }\n\n\t return -1;\n\t}\n\n\t/**\n\t * Comparator between two mappings with inflated source and name strings where\n\t * the generated positions are compared.\n\t */\n\tfunction compareByGeneratedPositionsInflated(mappingA, mappingB) {\n\t var cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\n\t cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\n\t cmp = strcmp(mappingA.source, mappingB.source);\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\n\t cmp = mappingA.originalLine - mappingB.originalLine;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\n\t cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t if (cmp !== 0) {\n\t return cmp;\n\t }\n\n\t return strcmp(mappingA.name, mappingB.name);\n\t}\n\texports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\n\texports.GREATEST_LOWER_BOUND = 1;\n\texports.LEAST_UPPER_BOUND = 2;\n\n\t/**\n\t * Recursive implementation of binary search.\n\t *\n\t * @param aLow Indices here and lower do not contain the needle.\n\t * @param aHigh Indices here and higher do not contain the needle.\n\t * @param aNeedle The element being searched for.\n\t * @param aHaystack The non-empty array being searched.\n\t * @param aCompare Function which takes two elements and returns -1, 0, or 1.\n\t * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n\t * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t */\n\tfunction recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {\n\t // This function terminates when one of the following is true:\n\t //\n\t // 1. We find the exact element we are looking for.\n\t //\n\t // 2. We did not find the exact element, but we can return the index of\n\t // the next-closest element.\n\t //\n\t // 3. We did not find the exact element, and there is no next-closest\n\t // element than the one we are searching for, so we return -1.\n\t var mid = Math.floor((aHigh - aLow) / 2) + aLow;\n\t var cmp = aCompare(aNeedle, aHaystack[mid], true);\n\t if (cmp === 0) {\n\t // Found the element we are looking for.\n\t return mid;\n\t }\n\t else if (cmp > 0) {\n\t // Our needle is greater than aHaystack[mid].\n\t if (aHigh - mid > 1) {\n\t // The element is in the upper half.\n\t return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);\n\t }\n\n\t // The exact needle element was not found in this haystack. Determine if\n\t // we are in termination case (3) or (2) and return the appropriate thing.\n\t if (aBias == exports.LEAST_UPPER_BOUND) {\n\t return aHigh < aHaystack.length ? aHigh : -1;\n\t } else {\n\t return mid;\n\t }\n\t }\n\t else {\n\t // Our needle is less than aHaystack[mid].\n\t if (mid - aLow > 1) {\n\t // The element is in the lower half.\n\t return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);\n\t }\n\n\t // we are in termination case (3) or (2) and return the appropriate thing.\n\t if (aBias == exports.LEAST_UPPER_BOUND) {\n\t return mid;\n\t } else {\n\t return aLow < 0 ? -1 : aLow;\n\t }\n\t }\n\t}\n\n\t/**\n\t * This is an implementation of binary search which will always try and return\n\t * the index of the closest element if there is no exact hit. This is because\n\t * mappings between original and generated line/col pairs are single points,\n\t * and there is an implicit region between each of them, so a miss just means\n\t * that you aren't on the very start of a region.\n\t *\n\t * @param aNeedle The element you are looking for.\n\t * @param aHaystack The array that is being searched.\n\t * @param aCompare A function which takes the needle and an element in the\n\t * array and returns -1, 0, or 1 depending on whether the needle is less\n\t * than, equal to, or greater than the element, respectively.\n\t * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n\t * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n\t * closest element that is smaller than or greater than the one we are\n\t * searching for, respectively, if the exact element cannot be found.\n\t * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.\n\t */\n\texports.search = function search(aNeedle, aHaystack, aCompare, aBias) {\n\t if (aHaystack.length === 0) {\n\t return -1;\n\t }\n\n\t var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,\n\t aCompare, aBias || exports.GREATEST_LOWER_BOUND);\n\t if (index < 0) {\n\t return -1;\n\t }\n\n\t // We have found either the exact element, or the next-closest element than\n\t // the one we are searching for. However, there may be more than one such\n\t // element. Make sure we always return the smallest of these.\n\t while (index - 1 >= 0) {\n\t if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {\n\t break;\n\t }\n\t --index;\n\t }\n\n\t return index;\n\t};\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\n\tvar util = __webpack_require__(2);\n\tvar has = Object.prototype.hasOwnProperty;\n\n\t/**\n\t * A data structure which is a combination of an array and a set. Adding a new\n\t * member is O(1), testing for membership is O(1), and finding the index of an\n\t * element is O(1). Removing elements from the set is not supported. Only\n\t * strings are supported for membership.\n\t */\n\tfunction ArraySet() {\n\t this._array = [];\n\t this._set = Object.create(null);\n\t}\n\n\t/**\n\t * Static method for creating ArraySet instances from an existing array.\n\t */\n\tArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {\n\t var set = new ArraySet();\n\t for (var i = 0, len = aArray.length; i < len; i++) {\n\t set.add(aArray[i], aAllowDuplicates);\n\t }\n\t return set;\n\t};\n\n\t/**\n\t * Return how many unique items are in this ArraySet. If duplicates have been\n\t * added, than those do not count towards the size.\n\t *\n\t * @returns Number\n\t */\n\tArraySet.prototype.size = function ArraySet_size() {\n\t return Object.getOwnPropertyNames(this._set).length;\n\t};\n\n\t/**\n\t * Add the given string to this set.\n\t *\n\t * @param String aStr\n\t */\n\tArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {\n\t var sStr = util.toSetString(aStr);\n\t var isDuplicate = has.call(this._set, sStr);\n\t var idx = this._array.length;\n\t if (!isDuplicate || aAllowDuplicates) {\n\t this._array.push(aStr);\n\t }\n\t if (!isDuplicate) {\n\t this._set[sStr] = idx;\n\t }\n\t};\n\n\t/**\n\t * Is the given string a member of this set?\n\t *\n\t * @param String aStr\n\t */\n\tArraySet.prototype.has = function ArraySet_has(aStr) {\n\t var sStr = util.toSetString(aStr);\n\t return has.call(this._set, sStr);\n\t};\n\n\t/**\n\t * What is the index of the given string in the array?\n\t *\n\t * @param String aStr\n\t */\n\tArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {\n\t var sStr = util.toSetString(aStr);\n\t if (has.call(this._set, sStr)) {\n\t return this._set[sStr];\n\t }\n\t throw new Error('\"' + aStr + '\" is not in the set.');\n\t};\n\n\t/**\n\t * What is the element at the given index?\n\t *\n\t * @param Number aIdx\n\t */\n\tArraySet.prototype.at = function ArraySet_at(aIdx) {\n\t if (aIdx >= 0 && aIdx < this._array.length) {\n\t return this._array[aIdx];\n\t }\n\t throw new Error('No element indexed by ' + aIdx);\n\t};\n\n\t/**\n\t * Returns the array representation of this set (which has the proper indices\n\t * indicated by indexOf). Note that this is a copy of the internal array used\n\t * for storing the members so that no one can mess with internal state.\n\t */\n\tArraySet.prototype.toArray = function ArraySet_toArray() {\n\t return this._array.slice();\n\t};\n\n\texports.ArraySet = ArraySet;\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t *\n\t * Based on the Base 64 VLQ implementation in Closure Compiler:\n\t * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java\n\t *\n\t * Copyright 2011 The Closure Compiler Authors. All rights reserved.\n\t * Redistribution and use in source and binary forms, with or without\n\t * modification, are permitted provided that the following conditions are\n\t * met:\n\t *\n\t * * Redistributions of source code must retain the above copyright\n\t * notice, this list of conditions and the following disclaimer.\n\t * * Redistributions in binary form must reproduce the above\n\t * copyright notice, this list of conditions and the following\n\t * disclaimer in the documentation and/or other materials provided\n\t * with the distribution.\n\t * * Neither the name of Google Inc. nor the names of its\n\t * contributors may be used to endorse or promote products derived\n\t * from this software without specific prior written permission.\n\t *\n\t * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\t * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\t * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\t * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\t * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\t * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\t * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\t * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\t * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\t * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\t * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\t */\n\n\tvar base64 = __webpack_require__(6);\n\n\t// A single base 64 digit can contain 6 bits of data. For the base 64 variable\n\t// length quantities we use in the source map spec, the first bit is the sign,\n\t// the next four bits are the actual value, and the 6th bit is the\n\t// continuation bit. The continuation bit tells us whether there are more\n\t// digits in this value following this digit.\n\t//\n\t// Continuation\n\t// | Sign\n\t// | |\n\t// V V\n\t// 101011\n\n\tvar VLQ_BASE_SHIFT = 5;\n\n\t// binary: 100000\n\tvar VLQ_BASE = 1 << VLQ_BASE_SHIFT;\n\n\t// binary: 011111\n\tvar VLQ_BASE_MASK = VLQ_BASE - 1;\n\n\t// binary: 100000\n\tvar VLQ_CONTINUATION_BIT = VLQ_BASE;\n\n\t/**\n\t * Converts from a two-complement value to a value where the sign bit is\n\t * placed in the least significant bit. For example, as decimals:\n\t * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary)\n\t * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)\n\t */\n\tfunction toVLQSigned(aValue) {\n\t return aValue < 0\n\t ? ((-aValue) << 1) + 1\n\t : (aValue << 1) + 0;\n\t}\n\n\t/**\n\t * Converts to a two-complement value from a value where the sign bit is\n\t * placed in the least significant bit. For example, as decimals:\n\t * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1\n\t * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2\n\t */\n\tfunction fromVLQSigned(aValue) {\n\t var isNegative = (aValue & 1) === 1;\n\t var shifted = aValue >> 1;\n\t return isNegative\n\t ? -shifted\n\t : shifted;\n\t}\n\n\t/**\n\t * Returns the base 64 VLQ encoded value.\n\t */\n\texports.encode = function base64VLQ_encode(aValue) {\n\t var encoded = \"\";\n\t var digit;\n\n\t var vlq = toVLQSigned(aValue);\n\n\t do {\n\t digit = vlq & VLQ_BASE_MASK;\n\t vlq >>>= VLQ_BASE_SHIFT;\n\t if (vlq > 0) {\n\t // There are still more digits in this value, so we must make sure the\n\t // continuation bit is marked.\n\t digit |= VLQ_CONTINUATION_BIT;\n\t }\n\t encoded += base64.encode(digit);\n\t } while (vlq > 0);\n\n\t return encoded;\n\t};\n\n\t/**\n\t * Decodes the next base 64 VLQ value from the given string and returns the\n\t * value and the rest of the string via the out parameter.\n\t */\n\texports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {\n\t var strLen = aStr.length;\n\t var result = 0;\n\t var shift = 0;\n\t var continuation, digit;\n\n\t do {\n\t if (aIndex >= strLen) {\n\t throw new Error(\"Expected more digits in base 64 VLQ value.\");\n\t }\n\n\t digit = base64.decode(aStr.charCodeAt(aIndex++));\n\t if (digit === -1) {\n\t throw new Error(\"Invalid base64 digit: \" + aStr.charAt(aIndex - 1));\n\t }\n\n\t continuation = !!(digit & VLQ_CONTINUATION_BIT);\n\t digit &= VLQ_BASE_MASK;\n\t result = result + (digit << shift);\n\t shift += VLQ_BASE_SHIFT;\n\t } while (continuation);\n\n\t aOutParam.value = fromVLQSigned(result);\n\t aOutParam.rest = aIndex;\n\t};\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\n\tvar intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');\n\n\t/**\n\t * Encode an integer in the range of 0 to 63 to a single base 64 digit.\n\t */\n\texports.encode = function (number) {\n\t if (0 <= number && number < intToCharMap.length) {\n\t return intToCharMap[number];\n\t }\n\t throw new TypeError(\"Must be between 0 and 63: \" + number);\n\t};\n\n\t/**\n\t * Decode a single base 64 character code digit to an integer. Returns -1 on\n\t * failure.\n\t */\n\texports.decode = function (charCode) {\n\t var bigA = 65; // 'A'\n\t var bigZ = 90; // 'Z'\n\n\t var littleA = 97; // 'a'\n\t var littleZ = 122; // 'z'\n\n\t var zero = 48; // '0'\n\t var nine = 57; // '9'\n\n\t var plus = 43; // '+'\n\t var slash = 47; // '/'\n\n\t var littleOffset = 26;\n\t var numberOffset = 52;\n\n\t // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ\n\t if (bigA <= charCode && charCode <= bigZ) {\n\t return (charCode - bigA);\n\t }\n\n\t // 26 - 51: abcdefghijklmnopqrstuvwxyz\n\t if (littleA <= charCode && charCode <= littleZ) {\n\t return (charCode - littleA + littleOffset);\n\t }\n\n\t // 52 - 61: 0123456789\n\t if (zero <= charCode && charCode <= nine) {\n\t return (charCode - zero + numberOffset);\n\t }\n\n\t // 62: +\n\t if (charCode == plus) {\n\t return 62;\n\t }\n\n\t // 63: /\n\t if (charCode == slash) {\n\t return 63;\n\t }\n\n\t // Invalid base64 digit.\n\t return -1;\n\t};\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports) {\n\n\t/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\n\t// It turns out that some (most?) JavaScript engines don't self-host\n\t// `Array.prototype.sort`. This makes sense because C++ will likely remain\n\t// faster than JS when doing raw CPU-intensive sorting. However, when using a\n\t// custom comparator function, calling back and forth between the VM's C++ and\n\t// JIT'd JS is rather slow *and* loses JIT type information, resulting in\n\t// worse generated code for the comparator function than would be optimal. In\n\t// fact, when sorting with a comparator, these costs outweigh the benefits of\n\t// sorting in C++. By using our own JS-implemented Quick Sort (below), we get\n\t// a ~3500ms mean speed-up in `bench/bench.html`.\n\n\t/**\n\t * Swap the elements indexed by `x` and `y` in the array `ary`.\n\t *\n\t * @param {Array} ary\n\t * The array.\n\t * @param {Number} x\n\t * The index of the first item.\n\t * @param {Number} y\n\t * The index of the second item.\n\t */\n\tfunction swap(ary, x, y) {\n\t var temp = ary[x];\n\t ary[x] = ary[y];\n\t ary[y] = temp;\n\t}\n\n\t/**\n\t * Returns a random integer within the range `low .. high` inclusive.\n\t *\n\t * @param {Number} low\n\t * The lower bound on the range.\n\t * @param {Number} high\n\t * The upper bound on the range.\n\t */\n\tfunction randomIntInRange(low, high) {\n\t return Math.round(low + (Math.random() * (high - low)));\n\t}\n\n\t/**\n\t * The Quick Sort algorithm.\n\t *\n\t * @param {Array} ary\n\t * An array to sort.\n\t * @param {function} comparator\n\t * Function to use to compare two items.\n\t * @param {Number} p\n\t * Start index of the array\n\t * @param {Number} r\n\t * End index of the array\n\t */\n\tfunction doQuickSort(ary, comparator, p, r) {\n\t // If our lower bound is less than our upper bound, we (1) partition the\n\t // array into two pieces and (2) recurse on each half. If it is not, this is\n\t // the empty array and our base case.\n\n\t if (p < r) {\n\t // (1) Partitioning.\n\t //\n\t // The partitioning chooses a pivot between `p` and `r` and moves all\n\t // elements that are less than or equal to the pivot to the before it, and\n\t // all the elements that are greater than it after it. The effect is that\n\t // once partition is done, the pivot is in the exact place it will be when\n\t // the array is put in sorted order, and it will not need to be moved\n\t // again. This runs in O(n) time.\n\n\t // Always choose a random pivot so that an input array which is reverse\n\t // sorted does not cause O(n^2) running time.\n\t var pivotIndex = randomIntInRange(p, r);\n\t var i = p - 1;\n\n\t swap(ary, pivotIndex, r);\n\t var pivot = ary[r];\n\n\t // Immediately after `j` is incremented in this loop, the following hold\n\t // true:\n\t //\n\t // * Every element in `ary[p .. i]` is less than or equal to the pivot.\n\t //\n\t // * Every element in `ary[i+1 .. j-1]` is greater than the pivot.\n\t for (var j = p; j < r; j++) {\n\t if (comparator(ary[j], pivot) <= 0) {\n\t i += 1;\n\t swap(ary, i, j);\n\t }\n\t }\n\n\t swap(ary, i + 1, j);\n\t var q = i + 1;\n\n\t // (2) Recurse on each half.\n\n\t doQuickSort(ary, comparator, p, q - 1);\n\t doQuickSort(ary, comparator, q + 1, r);\n\t }\n\t}\n\n\t/**\n\t * Sort the given array in-place with the given comparator function.\n\t *\n\t * @param {Array} ary\n\t * An array to sort.\n\t * @param {function} comparator\n\t * Function to use to compare two items.\n\t */\n\texports.quickSort = function (ary, comparator) {\n\t doQuickSort(ary, comparator, 0, ary.length - 1);\n\t};\n\n\n/***/ })\n/******/ ])\n});\n;","module.exports = require('./_shared')('native-function-to-string', Function.toString);\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n","// 21.2.5.3 get RegExp.prototype.flags()\nif (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', {\n configurable: true,\n get: require('./_flags')\n});\n","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export');\nvar core = require('./_core');\nvar fails = require('./_fails');\nmodule.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".icon_c95 {\\n display: inline-block;\\n\\n fill: currentColor;\\n}\\n\\n.glyph_54e {\\n display: inline-flex;\\n\\n margin-right: -1px;\\n margin-left: -1px;\\n\\n pointer-events: none\\n}\\n\\n.glyph_54e[width='10'] {\\n vertical-align: -1px;\\n }\\n\\n.glyph_54e[width='14'] {\\n margin-right: -2px;\\n margin-left: 0;\\n\\n vertical-align: -3px;\\n }\\n\\n.glyph_54e[width='16'] {\\n vertical-align: -3px;\\n }\\n\\n.glyph_54e[width='20'] {\\n vertical-align: -2px;\\n }\\n\\n.glyph_54e.compatibilityMode_228 {\\n width: 16px;\\n height: 16px;\\n margin-right: 0;\\n margin-left: 0;\\n }\\n\\n/* HACK: This media query hack makes styles applied for WebKit browsers only */\\n@media screen and (-webkit-min-device-pixel-ratio: 0) {\\n .glyph_54e {\\n width: auto; /* Safari size bug workaround, see https://youtrack.jetbrains.com/issue/RG-1983 */\\n }\\n}\\n\\n.gray_f7e {\\n color: #999;\\n color: var(--ring-icon-secondary-color);\\n}\\n\\n.hover_366 {\\n color: #80c6ff;\\n color: var(--ring-icon-hover-color);\\n}\\n\\n.green_08f {\\n color: #59a869;\\n color: var(--ring-icon-success-color);\\n}\\n\\n.magenta_e9b {\\n color: #ff008c;\\n color: var(--ring-link-hover-color);\\n}\\n\\n.red_9ec {\\n color: #db5860;\\n color: var(--ring-icon-error-color);\\n}\\n\\n.blue_ab2 {\\n color: #008eff;\\n color: var(--ring-main-color);\\n}\\n\\n.white_666 {\\n color: #fff;\\n color: var(--ring-dark-text-color);\\n}\\n\\n.loading_89d {\\n -webkit-animation-name: icon-loading_55b;\\n animation-name: icon-loading_55b;\\n -webkit-animation-duration: 1200ms;\\n animation-duration: 1200ms;\\n -webkit-animation-iteration-count: infinite;\\n animation-iteration-count: infinite;\\n}\\n\\n@-webkit-keyframes icon-loading_55b {\\n 0% {\\n transform: scale(1);\\n }\\n\\n 50% {\\n transform: scale(0.9);\\n\\n opacity: 0.5;\\n }\\n\\n 100% {\\n transform: scale(1);\\n }\\n}\\n\\n@keyframes icon-loading_55b {\\n 0% {\\n transform: scale(1);\\n }\\n\\n 50% {\\n transform: scale(0.9);\\n\\n opacity: 0.5;\\n }\\n\\n 100% {\\n transform: scale(1);\\n }\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"icon\": \"icon_c95\",\n\t\"glyph\": \"glyph_54e\",\n\t\"compatibilityMode\": \"compatibilityMode_228\",\n\t\"gray\": \"gray_f7e\",\n\t\"hover\": \"hover_366\",\n\t\"green\": \"green_08f\",\n\t\"magenta\": \"magenta_e9b\",\n\t\"red\": \"red_9ec\",\n\t\"blue\": \"blue_ab2\",\n\t\"white\": \"white_666\",\n\t\"loading\": \"loading_89d\",\n\t\"icon-loading\": \"icon-loading_55b\"\n};\nmodule.exports = exports;\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar STARTS_WITH = 'startsWith';\nvar $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'String', {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = context(this, searchString, STARTS_WITH);\n var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n","'use strict';\nvar regexpExec = require('./_regexp-exec');\nrequire('./_export')({\n target: 'RegExp',\n proto: true,\n forced: regexpExec !== /./.exec\n}, {\n exec: regexpExec\n});\n","module.exports = function(originalModule) {\n\tif (!originalModule.webpackPolyfill) {\n\t\tvar module = Object.create(originalModule);\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"exports\", {\n\t\t\tenumerable: true\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","'use strict';\nvar redefineAll = require('./_redefine-all');\nvar getWeak = require('./_meta').getWeak;\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar createArrayMethod = require('./_array-methods');\nvar $has = require('./_has');\nvar validate = require('./_validate-collection');\nvar arrayFind = createArrayMethod(5);\nvar arrayFindIndex = createArrayMethod(6);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (that) {\n return that._l || (that._l = new UncaughtFrozenStore());\n};\nvar UncaughtFrozenStore = function () {\n this.a = [];\n};\nvar findUncaughtFrozen = function (store, key) {\n return arrayFind(store.a, function (it) {\n return it[0] === key;\n });\n};\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.a.push([key, value]);\n },\n 'delete': function (key) {\n var index = arrayFindIndex(this.a, function (it) {\n return it[0] === key;\n });\n if (~index) this.a.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function (that, iterable) {\n anInstance(that, C, NAME, '_i');\n that._t = NAME; // collection type\n that._i = id++; // collection id\n that._l = undefined; // leak store for uncaught frozen objects\n if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function (key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);\n return data && $has(data, this._i) && delete data[this._i];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key) {\n if (!isObject(key)) return false;\n var data = getWeak(key);\n if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);\n return data && $has(data, this._i);\n }\n });\n return C;\n },\n def: function (that, key, value) {\n var data = getWeak(anObject(key), true);\n if (data === true) uncaughtFrozenStore(that).set(key, value);\n else data[that._i] = value;\n return that;\n },\n ufstore: uncaughtFrozenStore\n};\n","var aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar toLength = require('./_to-length');\n\nmodule.exports = function (that, callbackfn, aLen, memo, isRight) {\n aFunction(callbackfn);\n var O = toObject(that);\n var self = IObject(O);\n var length = toLength(O.length);\n var index = isRight ? length - 1 : 0;\n var i = isRight ? -1 : 1;\n if (aLen < 2) for (;;) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (isRight ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n};\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \"@-webkit-keyframes spin_d9f {\\n 0% {\\n transform: rotate(0);\\n }\\n\\n 100% {\\n transform: rotate(360deg);\\n }\\n}\\n\\n@keyframes spin_d9f {\\n 0% {\\n transform: rotate(0);\\n }\\n\\n 100% {\\n transform: rotate(360deg);\\n }\\n}\\n\\n@-webkit-keyframes pulse_757 {\\n 0% {\\n transform: scale(1);\\n }\\n\\n 100% {\\n transform: scale(1.41667);\\n }\\n}\\n\\n@keyframes pulse_757 {\\n 0% {\\n transform: scale(1);\\n }\\n\\n 100% {\\n transform: scale(1.41667);\\n }\\n}\\n\\n.loader_d44,\\n.ring-loader-inline {\\n /* needed for better backward-compatibility */\\n\\n position: relative;\\n\\n display: inline-block;\\n\\n overflow: hidden;\\n\\n transform: rotate(0);\\n -webkit-animation: spin_d9f 1s linear infinite;\\n animation: spin_d9f 1s linear infinite;\\n vertical-align: -3px;\\n\\n border-radius: 8px\\n}\\n\\n.loader_d44,\\n .loader_d44::after,\\n .ring-loader-inline,\\n .ring-loader-inline::after {\\n transform-origin: 50% 50%;\\n }\\n\\n.loader_d44::after, .ring-loader-inline::after {\\n display: block;\\n\\n width: 16px;\\n height: 16px;\\n\\n content: '';\\n -webkit-animation: pulse_757 0.85s cubic-bezier(0.68, 0, 0.74, 0.74) infinite alternate;\\n animation: pulse_757 0.85s cubic-bezier(0.68, 0, 0.74, 0.74) infinite alternate;\\n }\\n\\n.children_144 {\\n margin-left: 4px;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"loader\": \"loader_d44\",\n\t\"spin\": \"spin_d9f\",\n\t\"pulse\": \"pulse_757\",\n\t\"children\": \"children_144\"\n};\nmodule.exports = exports;\n","// all object keys, includes non-enumerable and symbols\nvar gOPN = require('./_object-gopn');\nvar gOPS = require('./_object-gops');\nvar anObject = require('./_an-object');\nvar Reflect = require('./_global').Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n var keys = gOPN.f(anObject(it));\n var getSymbols = gOPS.f;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n","/**\n * CSS conic-gradient() polyfill\n * By Lea Verou — http://lea.verou.me\n * MIT license\n */\n\n(function(){\n\nvar π = Math.PI;\nvar τ = 2 * π;\nvar ε = .00001;\nvar deg = π/180;\n\nvar dummy = document.createElement(\"div\");\ndocument.head.appendChild(dummy);\n\nvar _ = self.ConicGradient = function(o) {\n\tvar me = this;\n\t_.all.push(this);\n\n\to = o || {};\n\n\tthis.canvas = document.createElement(\"canvas\");\n\tthis.context = this.canvas.getContext(\"2d\");\n\n\tthis.repeating = !!o.repeating;\n\n\tthis.size = o.size || Math.max(innerWidth, innerHeight);\n\n\tthis.canvas.width = this.canvas.height = this.size;\n\n\tvar stops = o.stops;\n\n\tthis.stops = (stops || \"\").split(/\\s*,(?![^(]*\\))\\s*/); // commas that are not followed by a ) without a ( first\n\n\tthis.from = 0;\n\n\tfor (var i=0; i<this.stops.length; i++) {\n\t\tif (this.stops[i]) {\n\t\t\tvar stop = this.stops[i] = new _.ColorStop(this, this.stops[i]);\n\n\t\t\tif (stop.next) {\n\t\t\t\tthis.stops.splice(i+1, 0, stop.next);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tthis.stops.splice(i, 1);\n\t\t\ti--;\n\t\t}\n\t}\n\n\tif (this.stops[0].color.indexOf('from') == 0) {\n\t\tthis.from = this.stops[0].pos*360;\n\t\tthis.stops.shift();\n\t}\n\t// Normalize stops\n\n\t// Add dummy first stop or set first stop’s position to 0 if it doesn’t have one\n\tif (this.stops[0].pos === undefined) {\n\t\t\tthis.stops[0].pos = 0;\n\t\t}\n\telse if (this.stops[0].pos > 0) {\n\t\tvar first = this.stops[0].clone();\n\t\tfirst.pos = 0;\n\t\tthis.stops.unshift(first);\n\t}\n\n\t// Add dummy last stop or set first stop’s position to 100% if it doesn’t have one\n\tif (this.stops[this.stops.length - 1].pos === undefined) {\n\t\tthis.stops[this.stops.length - 1].pos = 1;\n\t}\n\telse if (!this.repeating && this.stops[this.stops.length - 1].pos < 1) {\n\t\tvar last = this.stops[this.stops.length - 1].clone();\n\t\tlast.pos = 1;\n\t\tthis.stops.push(last);\n\t}\n\n\tthis.stops.forEach(function(stop, i){\n\t\tif (stop.pos === undefined) {\n\t\t\t// Evenly space color stops with no position\n\t\t\tfor (var j=i+1; this[j]; j++) {\n\t\t\t\tif (this[j].pos !== undefined) {\n\t\t\t\t\tstop.pos = this[i-1].pos + (this[j].pos - this[i-1].pos)/(j-i+1);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse if (i > 0) {\n\t\t\t// Normalize color stops whose position is smaller than the position of the stop before them\n\t\t\tstop.pos = Math.max(stop.pos, this[i-1].pos);\n\t\t}\n\t}, this.stops);\n\n\tif (this.repeating) {\n\t\t// Repeat color stops until >= 1\n\t\tvar stops = this.stops.slice();\n\t\tvar lastStop = stops[stops.length-1];\n\t\tvar difference = lastStop.pos - stops[0].pos;\n\n\t\tfor (var i=0; this.stops[this.stops.length-1].pos < 1 && i<10000; i++) {\n\t\t\tfor (var j=0; j<stops.length; j++) {\n\t\t\t\tvar s = stops[j].clone();\n\t\t\t\ts.pos += (i+1)*difference;\n\n\t\t\t\tthis.stops.push(s);\n\t\t\t}\n\t\t}\n\t}\n\n\tthis.paint();\n};\n\n_.all = [];\n\n_.prototype = {\n\ttoString: function() {\n\t\treturn \"url('\" + this.dataURL + \"')\";\n\t},\n\n\tget dataURL() {\n\t\t// IE/Edge only render data-URI based background-image when the image data\n\t\t// is escaped.\n\t\t// Ref: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7157459/#comment-3\n\t\treturn \"data:image/svg+xml,\" + encodeURIComponent(this.svg);\n\t},\n\n\tget blobURL() {\n\t\t// Warning: Flicker when updating due to slow blob: URL resolution :(\n\t\t// TODO cache this and only update it when color stops change\n\t\treturn URL.createObjectURL(new Blob([this.svg], {type: \"image/svg+xml\"}));\n\t},\n\n\tget svg() {\n\t\treturn '<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" preserveAspectRatio=\"none\">' +\n\t\t\t'<svg viewBox=\"0 0 100 100\" preserveAspectRatio=\"xMidYMid slice\">' +\n\t\t\t'<image width=\"100\" height=\"100%\" xlink:href=\"' + this.png + '\" /></svg></svg>';\n\t},\n\n\tget png() {\n\t\treturn this.canvas.toDataURL();\n\t},\n\n\tget r() {\n\t\treturn Math.sqrt(2) * this.size / 2;\n\t},\n\n\t// Paint the conical gradient on the canvas\n\t// Algorithm inspired from http://jsdo.it/akm2/yr9B\n\tpaint: function() {\n\t\tvar c = this.context;\n\n\t\tvar radius = this.r;\n\t\tvar x = this.size / 2;\n\n\t\tvar stopIndex = 0; // The index of the current color\n\t\tvar stop = this.stops[stopIndex], prevStop;\n\n\t\tvar diff, t;\n\n\t\t// Transform coordinate system so that angles start from the top left, like in CSS\n\t\tc.translate(this.size/2, this.size/2);\n\t\tc.rotate(-90*deg);\n\t\tc.rotate(this.from*deg);\n\t\tc.translate(-this.size/2, -this.size/2);\n\n\t\tfor (var i = 0; i < 360;) {\n\t\t\tif (i/360 + ε >= stop.pos) {\n\t\t\t\t// Switch color stop\n\t\t\t\tdo {\n\t\t\t\t\tprevStop = stop;\n\n\t\t\t\t\tstopIndex++;\n\t\t\t\t\tstop = this.stops[stopIndex];\n\t\t\t\t} while(stop && stop != prevStop && stop.pos === prevStop.pos);\n\n\t\t\t\tif (!stop) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tvar sameColor = prevStop.color + \"\" === stop.color + \"\" && prevStop != stop;\n\n\t\t\t\tdiff = prevStop.color.map(function(c, i){\n\t\t\t\t\treturn stop.color[i] - c;\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tt = (i/360 - prevStop.pos) / (stop.pos - prevStop.pos);\n\n\t\t\tvar interpolated = sameColor? stop.color : diff.map(function(d,i){\n\t\t\t\tvar ret = d * t + prevStop.color[i];\n\n\t\t\t\treturn i < 3? ret & 255 : ret;\n\t\t\t});\n\n\t\t\t// Draw a series of arcs, 1deg each\n\t\t\tc.fillStyle = 'rgba(' + interpolated.join(\",\") + ')';\n\t\t\tc.beginPath();\n\t\t\tc.moveTo(x, x);\n\n\t\t\tif (sameColor) {\n\t\t\t\tvar θ = 360 * (stop.pos - prevStop.pos);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tvar θ = .5;\n\t\t\t}\n\n\t\t\tvar beginArg = i*deg;\n\t\t\tbeginArg = Math.min(360*deg, beginArg);\n\n\t\t\t// .02: To prevent empty blank line and corresponding moire\n\t\t\t// only non-alpha colors are cared now\n\t\t\tvar endArg = beginArg + θ*deg;\n\t\t\tendArg = Math.min(360*deg, endArg + .02);\n\n\t\t\tc.arc(x, x, radius, beginArg, endArg);\n\n\t\t\tc.closePath();\n\t\t\tc.fill();\n\n\t\t\ti += θ;\n\t\t}\n\t}\n};\n\n_.ColorStop = function(gradient, stop) {\n\tthis.gradient = gradient;\n\n\tif (stop) {\n\t\tvar parts = stop.match(/^(.+?)(?:\\s+([\\d.]+)(%|deg|turn|grad|rad)?)?(?:\\s+([\\d.]+)(%|deg|turn|grad|rad)?)?\\s*$/);\n\n\t\tthis.color = _.ColorStop.colorToRGBA(parts[1]);\n\n\t\tif (parts[2]) {\n\t\t\tvar unit = parts[3];\n\n\t\t\tif (unit == \"%\" || parts[2] === \"0\" && !unit) {\n\t\t\t\tthis.pos = parts[2]/100;\n\t\t\t}\n\t\t\telse if (unit == \"turn\") {\n\t\t\t\tthis.pos = +parts[2];\n\t\t\t}\n\t\t\telse if (unit == \"deg\") {\n\t\t\t\tthis.pos = parts[2] / 360;\n\t\t\t}\n\t\t\telse if (unit == \"grad\") {\n\t\t\t\tthis.pos = parts[2] / 400;\n\t\t\t}\n\t\t\telse if (unit == \"rad\") {\n\t\t\t\tthis.pos = parts[2] / τ;\n\t\t\t}\n\t\t}\n\n\t\tif (parts[4]) {\n\t\t\tthis.next = new _.ColorStop(gradient, parts[1] + \" \" + parts[4] + parts[5]);\n\t\t}\n\t}\n}\n\n_.ColorStop.prototype = {\n\tclone: function() {\n\t\tvar ret = new _.ColorStop(this.gradient);\n\t\tret.color = this.color;\n\t\tret.pos = this.pos;\n\n\t\treturn ret;\n\t},\n\n\ttoString: function() {\n\t\treturn \"rgba(\" + this.color.join(\", \") + \") \" + this.pos * 100 + \"%\";\n\t}\n};\n\n_.ColorStop.colorToRGBA = function(color) {\n\tif (!Array.isArray(color) && color.indexOf(\"from\") == -1) {\n\t\tdummy.style.color = color;\n\n\t\tvar rgba = getComputedStyle(dummy).color.match(/rgba?\\(([\\d.]+), ([\\d.]+), ([\\d.]+)(?:, ([\\d.]+))?\\)/);\n\n\t\tif (rgba) {\n\t\t\trgba.shift();\n\t\t\trgba = rgba.map(function(a) { return +a });\n\t\t\trgba[3] = isNaN(rgba[3])? 1 : rgba[3];\n\t\t}\n\n\t\treturn rgba || [0,0,0,0];\n\t}\n\n\treturn color;\n};\n\n})();\n\nif (self.StyleFix) {\n\t// Test if conic gradients are supported first:\n\t(function(){\n\t\tvar dummy = document.createElement(\"p\");\n\t\tdummy.style.backgroundImage = \"conic-gradient(white, black)\";\n\t\tdummy.style.backgroundImage = PrefixFree.prefix + \"conic-gradient(white, black)\";\n\n\t\tif (!dummy.style.backgroundImage) {\n\t\t\t// Not supported, use polyfill\n\t\t\tStyleFix.register(function(css, raw) {\n\t\t\t\tif (css.indexOf(\"conic-gradient\") > -1) {\n\t\t\t\t\tcss = css.replace(/(?:repeating-)?conic-gradient\\(\\s*((?:\\([^()]+\\)|[^;()}])+?)\\)/g, function(gradient, stops) {\n\t\t\t\t\t\treturn new ConicGradient({\n\t\t\t\t\t\t\tstops: stops,\n\t\t\t\t\t\t\trepeating: gradient.indexOf(\"repeating-\") > -1\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\treturn css;\n\t\t\t});\n\t\t}\n\t})();\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_ICSS_IMPORT_1___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!./alert.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_ICSS_IMPORT_1___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".alertContainer_ebe {\\n position: fixed;\\n z-index: 6;\\n z-index: var(--ring-alert-z-index);\\n right: 16px;\\n bottom: 8px;\\n\\n display: flex;\\n overflow: visible;\\n align-items: flex-end;\\n flex-direction: column;\\n\\n pointer-events: none;\\n}\\n\\n.alertInContainer_4dc {\\n\\n min-width: 240px;\\n max-width: 400px;\\n margin-top: 0;\\n\\n box-shadow: 0 2px 8px rgba(0, 42, 76, 0.3);\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"alert\": \"\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\"alert\"] + \"\",\n\t\"alertContainer\": \"alertContainer_ebe\",\n\t\"alertInContainer\": \"alertInContainer_4dc \" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\"alert\"] + \"\"\n};\nmodule.exports = exports;\n","/**\n * @license AngularJS v1.8.0\n * (c) 2010-2020 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window) {'use strict';\n\n/* exported\n minErrConfig,\n errorHandlingConfig,\n isValidObjectMaxDepth\n*/\n\nvar minErrConfig = {\n objectMaxDepth: 5,\n urlErrorParamsEnabled: true\n};\n\n/**\n * @ngdoc function\n * @name angular.errorHandlingConfig\n * @module ng\n * @kind function\n *\n * @description\n * Configure several aspects of error handling in AngularJS if used as a setter or return the\n * current configuration if used as a getter. The following options are supported:\n *\n * - **objectMaxDepth**: The maximum depth to which objects are traversed when stringified for error messages.\n *\n * Omitted or undefined options will leave the corresponding configuration values unchanged.\n *\n * @param {Object=} config - The configuration object. May only contain the options that need to be\n * updated. Supported keys:\n *\n * * `objectMaxDepth` **{Number}** - The max depth for stringifying objects. Setting to a\n * non-positive or non-numeric value, removes the max depth limit.\n * Default: 5\n *\n * * `urlErrorParamsEnabled` **{Boolean}** - Specifies whether the generated error url will\n * contain the parameters of the thrown error. Disabling the parameters can be useful if the\n * generated error url is very long.\n *\n * Default: true. When used without argument, it returns the current value.\n */\nfunction errorHandlingConfig(config) {\n if (isObject(config)) {\n if (isDefined(config.objectMaxDepth)) {\n minErrConfig.objectMaxDepth = isValidObjectMaxDepth(config.objectMaxDepth) ? config.objectMaxDepth : NaN;\n }\n if (isDefined(config.urlErrorParamsEnabled) && isBoolean(config.urlErrorParamsEnabled)) {\n minErrConfig.urlErrorParamsEnabled = config.urlErrorParamsEnabled;\n }\n } else {\n return minErrConfig;\n }\n}\n\n/**\n * @private\n * @param {Number} maxDepth\n * @return {boolean}\n */\nfunction isValidObjectMaxDepth(maxDepth) {\n return isNumber(maxDepth) && maxDepth > 0;\n}\n\n\n/**\n * @description\n *\n * This object provides a utility for producing rich Error messages within\n * AngularJS. It can be called as follows:\n *\n * var exampleMinErr = minErr('example');\n * throw exampleMinErr('one', 'This {0} is {1}', foo, bar);\n *\n * The above creates an instance of minErr in the example namespace. The\n * resulting error will have a namespaced error code of example.one. The\n * resulting error will replace {0} with the value of foo, and {1} with the\n * value of bar. The object is not restricted in the number of arguments it can\n * take.\n *\n * If fewer arguments are specified than necessary for interpolation, the extra\n * interpolation markers will be preserved in the final string.\n *\n * Since data will be parsed statically during a build step, some restrictions\n * are applied with respect to how minErr instances are created and called.\n * Instances should have names of the form namespaceMinErr for a minErr created\n * using minErr('namespace'). Error codes, namespaces and template strings\n * should all be static strings, not variables or general expressions.\n *\n * @param {string} module The namespace to use for the new minErr instance.\n * @param {function} ErrorConstructor Custom error constructor to be instantiated when returning\n * error from returned function, for cases when a particular type of error is useful.\n * @returns {function(code:string, template:string, ...templateArgs): Error} minErr instance\n */\n\nfunction minErr(module, ErrorConstructor) {\n ErrorConstructor = ErrorConstructor || Error;\n\n var url = 'https://errors.angularjs.org/1.8.0/';\n var regex = url.replace('.', '\\\\.') + '[\\\\s\\\\S]*';\n var errRegExp = new RegExp(regex, 'g');\n\n return function() {\n var code = arguments[0],\n template = arguments[1],\n message = '[' + (module ? module + ':' : '') + code + '] ',\n templateArgs = sliceArgs(arguments, 2).map(function(arg) {\n return toDebugString(arg, minErrConfig.objectMaxDepth);\n }),\n paramPrefix, i;\n\n // A minErr message has two parts: the message itself and the url that contains the\n // encoded message.\n // The message's parameters can contain other error messages which also include error urls.\n // To prevent the messages from getting too long, we strip the error urls from the parameters.\n\n message += template.replace(/\\{\\d+\\}/g, function(match) {\n var index = +match.slice(1, -1);\n\n if (index < templateArgs.length) {\n return templateArgs[index].replace(errRegExp, '');\n }\n\n return match;\n });\n\n message += '\\n' + url + (module ? module + '/' : '') + code;\n\n if (minErrConfig.urlErrorParamsEnabled) {\n for (i = 0, paramPrefix = '?'; i < templateArgs.length; i++, paramPrefix = '&') {\n message += paramPrefix + 'p' + i + '=' + encodeURIComponent(templateArgs[i]);\n }\n }\n\n return new ErrorConstructor(message);\n };\n}\n\n/* We need to tell ESLint what variables are being exported */\n/* exported\n angular,\n msie,\n jqLite,\n jQuery,\n slice,\n splice,\n push,\n toString,\n minErrConfig,\n errorHandlingConfig,\n isValidObjectMaxDepth,\n ngMinErr,\n angularModule,\n uid,\n REGEX_STRING_REGEXP,\n VALIDITY_STATE_PROPERTY,\n\n lowercase,\n uppercase,\n nodeName_,\n isArrayLike,\n forEach,\n forEachSorted,\n reverseParams,\n nextUid,\n setHashKey,\n extend,\n toInt,\n inherit,\n merge,\n noop,\n identity,\n valueFn,\n isUndefined,\n isDefined,\n isObject,\n isBlankObject,\n isString,\n isNumber,\n isNumberNaN,\n isDate,\n isError,\n isArray,\n isFunction,\n isRegExp,\n isWindow,\n isScope,\n isFile,\n isFormData,\n isBlob,\n isBoolean,\n isPromiseLike,\n trim,\n escapeForRegexp,\n isElement,\n makeMap,\n includes,\n arrayRemove,\n copy,\n simpleCompare,\n equals,\n csp,\n jq,\n concat,\n sliceArgs,\n bind,\n toJsonReplacer,\n toJson,\n fromJson,\n convertTimezoneToLocal,\n timezoneToOffset,\n addDateMinutes,\n startingTag,\n tryDecodeURIComponent,\n parseKeyValue,\n toKeyValue,\n encodeUriSegment,\n encodeUriQuery,\n angularInit,\n bootstrap,\n getTestability,\n snake_case,\n bindJQuery,\n assertArg,\n assertArgFn,\n assertNotHasOwnProperty,\n getter,\n getBlockNodes,\n hasOwnProperty,\n createMap,\n stringify,\n UNSAFE_restoreLegacyJqLiteXHTMLReplacement,\n\n NODE_TYPE_ELEMENT,\n NODE_TYPE_ATTRIBUTE,\n NODE_TYPE_TEXT,\n NODE_TYPE_COMMENT,\n NODE_TYPE_DOCUMENT,\n NODE_TYPE_DOCUMENT_FRAGMENT\n*/\n\n////////////////////////////////////\n\n/**\n * @ngdoc module\n * @name ng\n * @module ng\n * @installation\n * @description\n *\n * The ng module is loaded by default when an AngularJS application is started. The module itself\n * contains the essential components for an AngularJS application to function. The table below\n * lists a high level breakdown of each of the services/factories, filters, directives and testing\n * components available within this core module.\n *\n */\n\nvar REGEX_STRING_REGEXP = /^\\/(.+)\\/([a-z]*)$/;\n\n// The name of a form control's ValidityState property.\n// This is used so that it's possible for internal tests to create mock ValidityStates.\nvar VALIDITY_STATE_PROPERTY = 'validity';\n\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\n/**\n * @private\n *\n * @description Converts the specified string to lowercase.\n * @param {string} string String to be converted to lowercase.\n * @returns {string} Lowercased string.\n */\nvar lowercase = function(string) {return isString(string) ? string.toLowerCase() : string;};\n\n/**\n * @private\n *\n * @description Converts the specified string to uppercase.\n * @param {string} string String to be converted to uppercase.\n * @returns {string} Uppercased string.\n */\nvar uppercase = function(string) {return isString(string) ? string.toUpperCase() : string;};\n\n\nvar\n msie, // holds major version number for IE, or NaN if UA is not IE.\n jqLite, // delay binding since jQuery could be loaded after us.\n jQuery, // delay binding\n slice = [].slice,\n splice = [].splice,\n push = [].push,\n toString = Object.prototype.toString,\n getPrototypeOf = Object.getPrototypeOf,\n ngMinErr = minErr('ng'),\n\n /** @name angular */\n angular = window.angular || (window.angular = {}),\n angularModule,\n uid = 0;\n\n// Support: IE 9-11 only\n/**\n * documentMode is an IE-only property\n * http://msdn.microsoft.com/en-us/library/ie/cc196988(v=vs.85).aspx\n */\nmsie = window.document.documentMode;\n\n\n/**\n * @private\n * @param {*} obj\n * @return {boolean} Returns true if `obj` is an array or array-like object (NodeList, Arguments,\n * String ...)\n */\nfunction isArrayLike(obj) {\n\n // `null`, `undefined` and `window` are not array-like\n if (obj == null || isWindow(obj)) return false;\n\n // arrays, strings and jQuery/jqLite objects are array like\n // * jqLite is either the jQuery or jqLite constructor function\n // * we have to check the existence of jqLite first as this method is called\n // via the forEach method when constructing the jqLite object in the first place\n if (isArray(obj) || isString(obj) || (jqLite && obj instanceof jqLite)) return true;\n\n // Support: iOS 8.2 (not reproducible in simulator)\n // \"length\" in obj used to prevent JIT error (gh-11508)\n var length = 'length' in Object(obj) && obj.length;\n\n // NodeList objects (with `item` method) and\n // other objects with suitable length characteristics are array-like\n return isNumber(length) && (length >= 0 && (length - 1) in obj || typeof obj.item === 'function');\n\n}\n\n/**\n * @ngdoc function\n * @name angular.forEach\n * @module ng\n * @kind function\n *\n * @description\n * Invokes the `iterator` function once for each item in `obj` collection, which can be either an\n * object or an array. The `iterator` function is invoked with `iterator(value, key, obj)`, where `value`\n * is the value of an object property or an array element, `key` is the object property key or\n * array element index and obj is the `obj` itself. Specifying a `context` for the function is optional.\n *\n * It is worth noting that `.forEach` does not iterate over inherited properties because it filters\n * using the `hasOwnProperty` method.\n *\n * Unlike ES262's\n * [Array.prototype.forEach](http://www.ecma-international.org/ecma-262/5.1/#sec-15.4.4.18),\n * providing 'undefined' or 'null' values for `obj` will not throw a TypeError, but rather just\n * return the value provided.\n *\n ```js\n var values = {name: 'misko', gender: 'male'};\n var log = [];\n angular.forEach(values, function(value, key) {\n this.push(key + ': ' + value);\n }, log);\n expect(log).toEqual(['name: misko', 'gender: male']);\n ```\n *\n * @param {Object|Array} obj Object to iterate over.\n * @param {Function} iterator Iterator function.\n * @param {Object=} context Object to become context (`this`) for the iterator function.\n * @returns {Object|Array} Reference to `obj`.\n */\n\nfunction forEach(obj, iterator, context) {\n var key, length;\n if (obj) {\n if (isFunction(obj)) {\n for (key in obj) {\n if (key !== 'prototype' && key !== 'length' && key !== 'name' && obj.hasOwnProperty(key)) {\n iterator.call(context, obj[key], key, obj);\n }\n }\n } else if (isArray(obj) || isArrayLike(obj)) {\n var isPrimitive = typeof obj !== 'object';\n for (key = 0, length = obj.length; key < length; key++) {\n if (isPrimitive || key in obj) {\n iterator.call(context, obj[key], key, obj);\n }\n }\n } else if (obj.forEach && obj.forEach !== forEach) {\n obj.forEach(iterator, context, obj);\n } else if (isBlankObject(obj)) {\n // createMap() fast path --- Safe to avoid hasOwnProperty check because prototype chain is empty\n for (key in obj) {\n iterator.call(context, obj[key], key, obj);\n }\n } else if (typeof obj.hasOwnProperty === 'function') {\n // Slow path for objects inheriting Object.prototype, hasOwnProperty check needed\n for (key in obj) {\n if (obj.hasOwnProperty(key)) {\n iterator.call(context, obj[key], key, obj);\n }\n }\n } else {\n // Slow path for objects which do not have a method `hasOwnProperty`\n for (key in obj) {\n if (hasOwnProperty.call(obj, key)) {\n iterator.call(context, obj[key], key, obj);\n }\n }\n }\n }\n return obj;\n}\n\nfunction forEachSorted(obj, iterator, context) {\n var keys = Object.keys(obj).sort();\n for (var i = 0; i < keys.length; i++) {\n iterator.call(context, obj[keys[i]], keys[i]);\n }\n return keys;\n}\n\n\n/**\n * when using forEach the params are value, key, but it is often useful to have key, value.\n * @param {function(string, *)} iteratorFn\n * @returns {function(*, string)}\n */\nfunction reverseParams(iteratorFn) {\n return function(value, key) {iteratorFn(key, value);};\n}\n\n/**\n * A consistent way of creating unique IDs in angular.\n *\n * Using simple numbers allows us to generate 28.6 million unique ids per second for 10 years before\n * we hit number precision issues in JavaScript.\n *\n * Math.pow(2,53) / 60 / 60 / 24 / 365 / 10 = 28.6M\n *\n * @returns {number} an unique alpha-numeric string\n */\nfunction nextUid() {\n return ++uid;\n}\n\n\n/**\n * Set or clear the hashkey for an object.\n * @param obj object\n * @param h the hashkey (!truthy to delete the hashkey)\n */\nfunction setHashKey(obj, h) {\n if (h) {\n obj.$$hashKey = h;\n } else {\n delete obj.$$hashKey;\n }\n}\n\n\nfunction baseExtend(dst, objs, deep) {\n var h = dst.$$hashKey;\n\n for (var i = 0, ii = objs.length; i < ii; ++i) {\n var obj = objs[i];\n if (!isObject(obj) && !isFunction(obj)) continue;\n var keys = Object.keys(obj);\n for (var j = 0, jj = keys.length; j < jj; j++) {\n var key = keys[j];\n var src = obj[key];\n\n if (deep && isObject(src)) {\n if (isDate(src)) {\n dst[key] = new Date(src.valueOf());\n } else if (isRegExp(src)) {\n dst[key] = new RegExp(src);\n } else if (src.nodeName) {\n dst[key] = src.cloneNode(true);\n } else if (isElement(src)) {\n dst[key] = src.clone();\n } else {\n if (key !== '__proto__') {\n if (!isObject(dst[key])) dst[key] = isArray(src) ? [] : {};\n baseExtend(dst[key], [src], true);\n }\n }\n } else {\n dst[key] = src;\n }\n }\n }\n\n setHashKey(dst, h);\n return dst;\n}\n\n/**\n * @ngdoc function\n * @name angular.extend\n * @module ng\n * @kind function\n *\n * @description\n * Extends the destination object `dst` by copying own enumerable properties from the `src` object(s)\n * to `dst`. You can specify multiple `src` objects. If you want to preserve original objects, you can do so\n * by passing an empty object as the target: `var object = angular.extend({}, object1, object2)`.\n *\n * **Note:** Keep in mind that `angular.extend` does not support recursive merge (deep copy). Use\n * {@link angular.merge} for this.\n *\n * @param {Object} dst Destination object.\n * @param {...Object} src Source object(s).\n * @returns {Object} Reference to `dst`.\n */\nfunction extend(dst) {\n return baseExtend(dst, slice.call(arguments, 1), false);\n}\n\n\n/**\n* @ngdoc function\n* @name angular.merge\n* @module ng\n* @kind function\n*\n* @description\n* Deeply extends the destination object `dst` by copying own enumerable properties from the `src` object(s)\n* to `dst`. You can specify multiple `src` objects. If you want to preserve original objects, you can do so\n* by passing an empty object as the target: `var object = angular.merge({}, object1, object2)`.\n*\n* Unlike {@link angular.extend extend()}, `merge()` recursively descends into object properties of source\n* objects, performing a deep copy.\n*\n* @deprecated\n* sinceVersion=\"1.6.5\"\n* This function is deprecated, but will not be removed in the 1.x lifecycle.\n* There are edge cases (see {@link angular.merge#known-issues known issues}) that are not\n* supported by this function. We suggest using another, similar library for all-purpose merging,\n* such as [lodash's merge()](https://lodash.com/docs/4.17.4#merge).\n*\n* @knownIssue\n* This is a list of (known) object types that are not handled correctly by this function:\n* - [`Blob`](https://developer.mozilla.org/docs/Web/API/Blob)\n* - [`MediaStream`](https://developer.mozilla.org/docs/Web/API/MediaStream)\n* - [`CanvasGradient`](https://developer.mozilla.org/docs/Web/API/CanvasGradient)\n* - AngularJS {@link $rootScope.Scope scopes};\n*\n* `angular.merge` also does not support merging objects with circular references.\n*\n* @param {Object} dst Destination object.\n* @param {...Object} src Source object(s).\n* @returns {Object} Reference to `dst`.\n*/\nfunction merge(dst) {\n return baseExtend(dst, slice.call(arguments, 1), true);\n}\n\n\n\nfunction toInt(str) {\n return parseInt(str, 10);\n}\n\nvar isNumberNaN = Number.isNaN || function isNumberNaN(num) {\n // eslint-disable-next-line no-self-compare\n return num !== num;\n};\n\n\nfunction inherit(parent, extra) {\n return extend(Object.create(parent), extra);\n}\n\n/**\n * @ngdoc function\n * @name angular.noop\n * @module ng\n * @kind function\n *\n * @description\n * A function that performs no operations. This function can be useful when writing code in the\n * functional style.\n ```js\n function foo(callback) {\n var result = calculateResult();\n (callback || angular.noop)(result);\n }\n ```\n */\nfunction noop() {}\nnoop.$inject = [];\n\n\n/**\n * @ngdoc function\n * @name angular.identity\n * @module ng\n * @kind function\n *\n * @description\n * A function that returns its first argument. This function is useful when writing code in the\n * functional style.\n *\n ```js\n function transformer(transformationFn, value) {\n return (transformationFn || angular.identity)(value);\n };\n\n // E.g.\n function getResult(fn, input) {\n return (fn || angular.identity)(input);\n };\n\n getResult(function(n) { return n * 2; }, 21); // returns 42\n getResult(null, 21); // returns 21\n getResult(undefined, 21); // returns 21\n ```\n *\n * @param {*} value to be returned.\n * @returns {*} the value passed in.\n */\nfunction identity($) {return $;}\nidentity.$inject = [];\n\n\nfunction valueFn(value) {return function valueRef() {return value;};}\n\nfunction hasCustomToString(obj) {\n return isFunction(obj.toString) && obj.toString !== toString;\n}\n\n\n/**\n * @ngdoc function\n * @name angular.isUndefined\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is undefined.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is undefined.\n */\nfunction isUndefined(value) {return typeof value === 'undefined';}\n\n\n/**\n * @ngdoc function\n * @name angular.isDefined\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is defined.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is defined.\n */\nfunction isDefined(value) {return typeof value !== 'undefined';}\n\n\n/**\n * @ngdoc function\n * @name angular.isObject\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is an `Object`. Unlike `typeof` in JavaScript, `null`s are not\n * considered to be objects. Note that JavaScript arrays are objects.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is an `Object` but not `null`.\n */\nfunction isObject(value) {\n // http://jsperf.com/isobject4\n return value !== null && typeof value === 'object';\n}\n\n\n/**\n * Determine if a value is an object with a null prototype\n *\n * @returns {boolean} True if `value` is an `Object` with a null prototype\n */\nfunction isBlankObject(value) {\n return value !== null && typeof value === 'object' && !getPrototypeOf(value);\n}\n\n\n/**\n * @ngdoc function\n * @name angular.isString\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is a `String`.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `String`.\n */\nfunction isString(value) {return typeof value === 'string';}\n\n\n/**\n * @ngdoc function\n * @name angular.isNumber\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is a `Number`.\n *\n * This includes the \"special\" numbers `NaN`, `+Infinity` and `-Infinity`.\n *\n * If you wish to exclude these then you can use the native\n * [`isFinite'](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/isFinite)\n * method.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `Number`.\n */\nfunction isNumber(value) {return typeof value === 'number';}\n\n\n/**\n * @ngdoc function\n * @name angular.isDate\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a value is a date.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `Date`.\n */\nfunction isDate(value) {\n return toString.call(value) === '[object Date]';\n}\n\n\n/**\n * @ngdoc function\n * @name angular.isArray\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is an `Array`.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is an `Array`.\n */\nfunction isArray(arr) {\n return Array.isArray(arr) || arr instanceof Array;\n}\n\n/**\n * @description\n * Determines if a reference is an `Error`.\n * Loosely based on https://www.npmjs.com/package/iserror\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is an `Error`.\n */\nfunction isError(value) {\n var tag = toString.call(value);\n switch (tag) {\n case '[object Error]': return true;\n case '[object Exception]': return true;\n case '[object DOMException]': return true;\n default: return value instanceof Error;\n }\n}\n\n/**\n * @ngdoc function\n * @name angular.isFunction\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is a `Function`.\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `Function`.\n */\nfunction isFunction(value) {return typeof value === 'function';}\n\n\n/**\n * Determines if a value is a regular expression object.\n *\n * @private\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a `RegExp`.\n */\nfunction isRegExp(value) {\n return toString.call(value) === '[object RegExp]';\n}\n\n\n/**\n * Checks if `obj` is a window object.\n *\n * @private\n * @param {*} obj Object to check\n * @returns {boolean} True if `obj` is a window obj.\n */\nfunction isWindow(obj) {\n return obj && obj.window === obj;\n}\n\n\nfunction isScope(obj) {\n return obj && obj.$evalAsync && obj.$watch;\n}\n\n\nfunction isFile(obj) {\n return toString.call(obj) === '[object File]';\n}\n\n\nfunction isFormData(obj) {\n return toString.call(obj) === '[object FormData]';\n}\n\n\nfunction isBlob(obj) {\n return toString.call(obj) === '[object Blob]';\n}\n\n\nfunction isBoolean(value) {\n return typeof value === 'boolean';\n}\n\n\nfunction isPromiseLike(obj) {\n return obj && isFunction(obj.then);\n}\n\n\nvar TYPED_ARRAY_REGEXP = /^\\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;\nfunction isTypedArray(value) {\n return value && isNumber(value.length) && TYPED_ARRAY_REGEXP.test(toString.call(value));\n}\n\nfunction isArrayBuffer(obj) {\n return toString.call(obj) === '[object ArrayBuffer]';\n}\n\n\nvar trim = function(value) {\n return isString(value) ? value.trim() : value;\n};\n\n// Copied from:\n// http://docs.closure-library.googlecode.com/git/local_closure_goog_string_string.js.source.html#line1021\n// Prereq: s is a string.\nvar escapeForRegexp = function(s) {\n return s\n .replace(/([-()[\\]{}+?*.$^|,:#<!\\\\])/g, '\\\\$1')\n // eslint-disable-next-line no-control-regex\n .replace(/\\x08/g, '\\\\x08');\n};\n\n\n/**\n * @ngdoc function\n * @name angular.isElement\n * @module ng\n * @kind function\n *\n * @description\n * Determines if a reference is a DOM element (or wrapped jQuery element).\n *\n * @param {*} value Reference to check.\n * @returns {boolean} True if `value` is a DOM element (or wrapped jQuery element).\n */\nfunction isElement(node) {\n return !!(node &&\n (node.nodeName // We are a direct element.\n || (node.prop && node.attr && node.find))); // We have an on and find method part of jQuery API.\n}\n\n/**\n * @param str 'key1,key2,...'\n * @returns {object} in the form of {key1:true, key2:true, ...}\n */\nfunction makeMap(str) {\n var obj = {}, items = str.split(','), i;\n for (i = 0; i < items.length; i++) {\n obj[items[i]] = true;\n }\n return obj;\n}\n\n\nfunction nodeName_(element) {\n return lowercase(element.nodeName || (element[0] && element[0].nodeName));\n}\n\nfunction includes(array, obj) {\n return Array.prototype.indexOf.call(array, obj) !== -1;\n}\n\nfunction arrayRemove(array, value) {\n var index = array.indexOf(value);\n if (index >= 0) {\n array.splice(index, 1);\n }\n return index;\n}\n\n/**\n * @ngdoc function\n * @name angular.copy\n * @module ng\n * @kind function\n *\n * @description\n * Creates a deep copy of `source`, which should be an object or an array. This functions is used\n * internally, mostly in the change-detection code. It is not intended as an all-purpose copy\n * function, and has several limitations (see below).\n *\n * * If no destination is supplied, a copy of the object or array is created.\n * * If a destination is provided, all of its elements (for arrays) or properties (for objects)\n * are deleted and then all elements/properties from the source are copied to it.\n * * If `source` is not an object or array (inc. `null` and `undefined`), `source` is returned.\n * * If `source` is identical to `destination` an exception will be thrown.\n *\n * <br />\n *\n * <div class=\"alert alert-warning\">\n * Only enumerable properties are taken into account. Non-enumerable properties (both on `source`\n * and on `destination`) will be ignored.\n * </div>\n *\n * <div class=\"alert alert-warning\">\n * `angular.copy` does not check if destination and source are of the same type. It's the\n * developer's responsibility to make sure they are compatible.\n * </div>\n *\n * @knownIssue\n * This is a non-exhaustive list of object types / features that are not handled correctly by\n * `angular.copy`. Note that since this functions is used by the change detection code, this\n * means binding or watching objects of these types (or that include these types) might not work\n * correctly.\n * - [`File`](https://developer.mozilla.org/docs/Web/API/File)\n * - [`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)\n * - [`ImageData`](https://developer.mozilla.org/docs/Web/API/ImageData)\n * - [`MediaStream`](https://developer.mozilla.org/docs/Web/API/MediaStream)\n * - [`Set`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)\n * - [`WeakMap`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WeakMap)\n * - [`getter`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get)/\n * [`setter`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/set)\n *\n * @param {*} source The source that will be used to make a copy. Can be any type, including\n * primitives, `null`, and `undefined`.\n * @param {(Object|Array)=} destination Destination into which the source is copied. If provided,\n * must be of the same type as `source`.\n * @returns {*} The copy or updated `destination`, if `destination` was specified.\n *\n * @example\n <example module=\"copyExample\" name=\"angular-copy\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n <form novalidate class=\"simple-form\">\n <label>Name: <input type=\"text\" ng-model=\"user.name\" /></label><br />\n <label>Age: <input type=\"number\" ng-model=\"user.age\" /></label><br />\n Gender: <label><input type=\"radio\" ng-model=\"user.gender\" value=\"male\" />male</label>\n <label><input type=\"radio\" ng-model=\"user.gender\" value=\"female\" />female</label><br />\n <button ng-click=\"reset()\">RESET</button>\n <button ng-click=\"update(user)\">SAVE</button>\n </form>\n <pre>form = {{user | json}}</pre>\n <pre>leader = {{leader | json}}</pre>\n </div>\n </file>\n <file name=\"script.js\">\n // Module: copyExample\n angular.\n module('copyExample', []).\n controller('ExampleController', ['$scope', function($scope) {\n $scope.leader = {};\n\n $scope.reset = function() {\n // Example with 1 argument\n $scope.user = angular.copy($scope.leader);\n };\n\n $scope.update = function(user) {\n // Example with 2 arguments\n angular.copy(user, $scope.leader);\n };\n\n $scope.reset();\n }]);\n </file>\n </example>\n */\nfunction copy(source, destination, maxDepth) {\n var stackSource = [];\n var stackDest = [];\n maxDepth = isValidObjectMaxDepth(maxDepth) ? maxDepth : NaN;\n\n if (destination) {\n if (isTypedArray(destination) || isArrayBuffer(destination)) {\n throw ngMinErr('cpta', 'Can\\'t copy! TypedArray destination cannot be mutated.');\n }\n if (source === destination) {\n throw ngMinErr('cpi', 'Can\\'t copy! Source and destination are identical.');\n }\n\n // Empty the destination object\n if (isArray(destination)) {\n destination.length = 0;\n } else {\n forEach(destination, function(value, key) {\n if (key !== '$$hashKey') {\n delete destination[key];\n }\n });\n }\n\n stackSource.push(source);\n stackDest.push(destination);\n return copyRecurse(source, destination, maxDepth);\n }\n\n return copyElement(source, maxDepth);\n\n function copyRecurse(source, destination, maxDepth) {\n maxDepth--;\n if (maxDepth < 0) {\n return '...';\n }\n var h = destination.$$hashKey;\n var key;\n if (isArray(source)) {\n for (var i = 0, ii = source.length; i < ii; i++) {\n destination.push(copyElement(source[i], maxDepth));\n }\n } else if (isBlankObject(source)) {\n // createMap() fast path --- Safe to avoid hasOwnProperty check because prototype chain is empty\n for (key in source) {\n destination[key] = copyElement(source[key], maxDepth);\n }\n } else if (source && typeof source.hasOwnProperty === 'function') {\n // Slow path, which must rely on hasOwnProperty\n for (key in source) {\n if (source.hasOwnProperty(key)) {\n destination[key] = copyElement(source[key], maxDepth);\n }\n }\n } else {\n // Slowest path --- hasOwnProperty can't be called as a method\n for (key in source) {\n if (hasOwnProperty.call(source, key)) {\n destination[key] = copyElement(source[key], maxDepth);\n }\n }\n }\n setHashKey(destination, h);\n return destination;\n }\n\n function copyElement(source, maxDepth) {\n // Simple values\n if (!isObject(source)) {\n return source;\n }\n\n // Already copied values\n var index = stackSource.indexOf(source);\n if (index !== -1) {\n return stackDest[index];\n }\n\n if (isWindow(source) || isScope(source)) {\n throw ngMinErr('cpws',\n 'Can\\'t copy! Making copies of Window or Scope instances is not supported.');\n }\n\n var needsRecurse = false;\n var destination = copyType(source);\n\n if (destination === undefined) {\n destination = isArray(source) ? [] : Object.create(getPrototypeOf(source));\n needsRecurse = true;\n }\n\n stackSource.push(source);\n stackDest.push(destination);\n\n return needsRecurse\n ? copyRecurse(source, destination, maxDepth)\n : destination;\n }\n\n function copyType(source) {\n switch (toString.call(source)) {\n case '[object Int8Array]':\n case '[object Int16Array]':\n case '[object Int32Array]':\n case '[object Float32Array]':\n case '[object Float64Array]':\n case '[object Uint8Array]':\n case '[object Uint8ClampedArray]':\n case '[object Uint16Array]':\n case '[object Uint32Array]':\n return new source.constructor(copyElement(source.buffer), source.byteOffset, source.length);\n\n case '[object ArrayBuffer]':\n // Support: IE10\n if (!source.slice) {\n // If we're in this case we know the environment supports ArrayBuffer\n /* eslint-disable no-undef */\n var copied = new ArrayBuffer(source.byteLength);\n new Uint8Array(copied).set(new Uint8Array(source));\n /* eslint-enable */\n return copied;\n }\n return source.slice(0);\n\n case '[object Boolean]':\n case '[object Number]':\n case '[object String]':\n case '[object Date]':\n return new source.constructor(source.valueOf());\n\n case '[object RegExp]':\n var re = new RegExp(source.source, source.toString().match(/[^/]*$/)[0]);\n re.lastIndex = source.lastIndex;\n return re;\n\n case '[object Blob]':\n return new source.constructor([source], {type: source.type});\n }\n\n if (isFunction(source.cloneNode)) {\n return source.cloneNode(true);\n }\n }\n}\n\n\n// eslint-disable-next-line no-self-compare\nfunction simpleCompare(a, b) { return a === b || (a !== a && b !== b); }\n\n\n/**\n * @ngdoc function\n * @name angular.equals\n * @module ng\n * @kind function\n *\n * @description\n * Determines if two objects or two values are equivalent. Supports value types, regular\n * expressions, arrays and objects.\n *\n * Two objects or values are considered equivalent if at least one of the following is true:\n *\n * * Both objects or values pass `===` comparison.\n * * Both objects or values are of the same type and all of their properties are equal by\n * comparing them with `angular.equals`.\n * * Both values are NaN. (In JavaScript, NaN == NaN => false. But we consider two NaN as equal)\n * * Both values represent the same regular expression (In JavaScript,\n * /abc/ == /abc/ => false. But we consider two regular expressions as equal when their textual\n * representation matches).\n *\n * During a property comparison, properties of `function` type and properties with names\n * that begin with `$` are ignored.\n *\n * Scope and DOMWindow objects are being compared only by identify (`===`).\n *\n * @param {*} o1 Object or value to compare.\n * @param {*} o2 Object or value to compare.\n * @returns {boolean} True if arguments are equal.\n *\n * @example\n <example module=\"equalsExample\" name=\"equalsExample\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n <form novalidate>\n <h3>User 1</h3>\n Name: <input type=\"text\" ng-model=\"user1.name\">\n Age: <input type=\"number\" ng-model=\"user1.age\">\n\n <h3>User 2</h3>\n Name: <input type=\"text\" ng-model=\"user2.name\">\n Age: <input type=\"number\" ng-model=\"user2.age\">\n\n <div>\n <br/>\n <input type=\"button\" value=\"Compare\" ng-click=\"compare()\">\n </div>\n User 1: <pre>{{user1 | json}}</pre>\n User 2: <pre>{{user2 | json}}</pre>\n Equal: <pre>{{result}}</pre>\n </form>\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('equalsExample', []).controller('ExampleController', ['$scope', function($scope) {\n $scope.user1 = {};\n $scope.user2 = {};\n $scope.compare = function() {\n $scope.result = angular.equals($scope.user1, $scope.user2);\n };\n }]);\n </file>\n </example>\n */\nfunction equals(o1, o2) {\n if (o1 === o2) return true;\n if (o1 === null || o2 === null) return false;\n // eslint-disable-next-line no-self-compare\n if (o1 !== o1 && o2 !== o2) return true; // NaN === NaN\n var t1 = typeof o1, t2 = typeof o2, length, key, keySet;\n if (t1 === t2 && t1 === 'object') {\n if (isArray(o1)) {\n if (!isArray(o2)) return false;\n if ((length = o1.length) === o2.length) {\n for (key = 0; key < length; key++) {\n if (!equals(o1[key], o2[key])) return false;\n }\n return true;\n }\n } else if (isDate(o1)) {\n if (!isDate(o2)) return false;\n return simpleCompare(o1.getTime(), o2.getTime());\n } else if (isRegExp(o1)) {\n if (!isRegExp(o2)) return false;\n return o1.toString() === o2.toString();\n } else {\n if (isScope(o1) || isScope(o2) || isWindow(o1) || isWindow(o2) ||\n isArray(o2) || isDate(o2) || isRegExp(o2)) return false;\n keySet = createMap();\n for (key in o1) {\n if (key.charAt(0) === '$' || isFunction(o1[key])) continue;\n if (!equals(o1[key], o2[key])) return false;\n keySet[key] = true;\n }\n for (key in o2) {\n if (!(key in keySet) &&\n key.charAt(0) !== '$' &&\n isDefined(o2[key]) &&\n !isFunction(o2[key])) return false;\n }\n return true;\n }\n }\n return false;\n}\n\nvar csp = function() {\n if (!isDefined(csp.rules)) {\n\n\n var ngCspElement = (window.document.querySelector('[ng-csp]') ||\n window.document.querySelector('[data-ng-csp]'));\n\n if (ngCspElement) {\n var ngCspAttribute = ngCspElement.getAttribute('ng-csp') ||\n ngCspElement.getAttribute('data-ng-csp');\n csp.rules = {\n noUnsafeEval: !ngCspAttribute || (ngCspAttribute.indexOf('no-unsafe-eval') !== -1),\n noInlineStyle: !ngCspAttribute || (ngCspAttribute.indexOf('no-inline-style') !== -1)\n };\n } else {\n csp.rules = {\n noUnsafeEval: noUnsafeEval(),\n noInlineStyle: false\n };\n }\n }\n\n return csp.rules;\n\n function noUnsafeEval() {\n try {\n // eslint-disable-next-line no-new, no-new-func\n new Function('');\n return false;\n } catch (e) {\n return true;\n }\n }\n};\n\n/**\n * @ngdoc directive\n * @module ng\n * @name ngJq\n *\n * @element ANY\n * @param {string=} ngJq the name of the library available under `window`\n * to be used for angular.element\n * @description\n * Use this directive to force the angular.element library. This should be\n * used to force either jqLite by leaving ng-jq blank or setting the name of\n * the jquery variable under window (eg. jQuery).\n *\n * Since AngularJS looks for this directive when it is loaded (doesn't wait for the\n * DOMContentLoaded event), it must be placed on an element that comes before the script\n * which loads angular. Also, only the first instance of `ng-jq` will be used and all\n * others ignored.\n *\n * @example\n * This example shows how to force jqLite using the `ngJq` directive to the `html` tag.\n ```html\n <!doctype html>\n <html ng-app ng-jq>\n ...\n ...\n </html>\n ```\n * @example\n * This example shows how to use a jQuery based library of a different name.\n * The library name must be available at the top most 'window'.\n ```html\n <!doctype html>\n <html ng-app ng-jq=\"jQueryLib\">\n ...\n ...\n </html>\n ```\n */\nvar jq = function() {\n if (isDefined(jq.name_)) return jq.name_;\n var el;\n var i, ii = ngAttrPrefixes.length, prefix, name;\n for (i = 0; i < ii; ++i) {\n prefix = ngAttrPrefixes[i];\n el = window.document.querySelector('[' + prefix.replace(':', '\\\\:') + 'jq]');\n if (el) {\n name = el.getAttribute(prefix + 'jq');\n break;\n }\n }\n\n return (jq.name_ = name);\n};\n\nfunction concat(array1, array2, index) {\n return array1.concat(slice.call(array2, index));\n}\n\nfunction sliceArgs(args, startIndex) {\n return slice.call(args, startIndex || 0);\n}\n\n\n/**\n * @ngdoc function\n * @name angular.bind\n * @module ng\n * @kind function\n *\n * @description\n * Returns a function which calls function `fn` bound to `self` (`self` becomes the `this` for\n * `fn`). You can supply optional `args` that are prebound to the function. This feature is also\n * known as [partial application](http://en.wikipedia.org/wiki/Partial_application), as\n * distinguished from [function currying](http://en.wikipedia.org/wiki/Currying#Contrast_with_partial_function_application).\n *\n * @param {Object} self Context which `fn` should be evaluated in.\n * @param {function()} fn Function to be bound.\n * @param {...*} args Optional arguments to be prebound to the `fn` function call.\n * @returns {function()} Function that wraps the `fn` with all the specified bindings.\n */\nfunction bind(self, fn) {\n var curryArgs = arguments.length > 2 ? sliceArgs(arguments, 2) : [];\n if (isFunction(fn) && !(fn instanceof RegExp)) {\n return curryArgs.length\n ? function() {\n return arguments.length\n ? fn.apply(self, concat(curryArgs, arguments, 0))\n : fn.apply(self, curryArgs);\n }\n : function() {\n return arguments.length\n ? fn.apply(self, arguments)\n : fn.call(self);\n };\n } else {\n // In IE, native methods are not functions so they cannot be bound (note: they don't need to be).\n return fn;\n }\n}\n\n\nfunction toJsonReplacer(key, value) {\n var val = value;\n\n if (typeof key === 'string' && key.charAt(0) === '$' && key.charAt(1) === '$') {\n val = undefined;\n } else if (isWindow(value)) {\n val = '$WINDOW';\n } else if (value && window.document === value) {\n val = '$DOCUMENT';\n } else if (isScope(value)) {\n val = '$SCOPE';\n }\n\n return val;\n}\n\n\n/**\n * @ngdoc function\n * @name angular.toJson\n * @module ng\n * @kind function\n *\n * @description\n * Serializes input into a JSON-formatted string. Properties with leading $$ characters will be\n * stripped since AngularJS uses this notation internally.\n *\n * @param {Object|Array|Date|string|number|boolean} obj Input to be serialized into JSON.\n * @param {boolean|number} [pretty=2] If set to true, the JSON output will contain newlines and whitespace.\n * If set to an integer, the JSON output will contain that many spaces per indentation.\n * @returns {string|undefined} JSON-ified string representing `obj`.\n * @knownIssue\n *\n * The Safari browser throws a `RangeError` instead of returning `null` when it tries to stringify a `Date`\n * object with an invalid date value. The only reliable way to prevent this is to monkeypatch the\n * `Date.prototype.toJSON` method as follows:\n *\n * ```\n * var _DatetoJSON = Date.prototype.toJSON;\n * Date.prototype.toJSON = function() {\n * try {\n * return _DatetoJSON.call(this);\n * } catch(e) {\n * if (e instanceof RangeError) {\n * return null;\n * }\n * throw e;\n * }\n * };\n * ```\n *\n * See https://github.com/angular/angular.js/pull/14221 for more information.\n */\nfunction toJson(obj, pretty) {\n if (isUndefined(obj)) return undefined;\n if (!isNumber(pretty)) {\n pretty = pretty ? 2 : null;\n }\n return JSON.stringify(obj, toJsonReplacer, pretty);\n}\n\n\n/**\n * @ngdoc function\n * @name angular.fromJson\n * @module ng\n * @kind function\n *\n * @description\n * Deserializes a JSON string.\n *\n * @param {string} json JSON string to deserialize.\n * @returns {Object|Array|string|number} Deserialized JSON string.\n */\nfunction fromJson(json) {\n return isString(json)\n ? JSON.parse(json)\n : json;\n}\n\n\nvar ALL_COLONS = /:/g;\nfunction timezoneToOffset(timezone, fallback) {\n // Support: IE 9-11 only, Edge 13-15+\n // IE/Edge do not \"understand\" colon (`:`) in timezone\n timezone = timezone.replace(ALL_COLONS, '');\n var requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000;\n return isNumberNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset;\n}\n\n\nfunction addDateMinutes(date, minutes) {\n date = new Date(date.getTime());\n date.setMinutes(date.getMinutes() + minutes);\n return date;\n}\n\n\nfunction convertTimezoneToLocal(date, timezone, reverse) {\n reverse = reverse ? -1 : 1;\n var dateTimezoneOffset = date.getTimezoneOffset();\n var timezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n return addDateMinutes(date, reverse * (timezoneOffset - dateTimezoneOffset));\n}\n\n\n/**\n * @returns {string} Returns the string representation of the element.\n */\nfunction startingTag(element) {\n element = jqLite(element).clone().empty();\n var elemHtml = jqLite('<div></div>').append(element).html();\n try {\n return element[0].nodeType === NODE_TYPE_TEXT ? lowercase(elemHtml) :\n elemHtml.\n match(/^(<[^>]+>)/)[1].\n replace(/^<([\\w-]+)/, function(match, nodeName) {return '<' + lowercase(nodeName);});\n } catch (e) {\n return lowercase(elemHtml);\n }\n\n}\n\n\n/////////////////////////////////////////////////\n\n/**\n * Tries to decode the URI component without throwing an exception.\n *\n * @private\n * @param str value potential URI component to check.\n * @returns {boolean} True if `value` can be decoded\n * with the decodeURIComponent function.\n */\nfunction tryDecodeURIComponent(value) {\n try {\n return decodeURIComponent(value);\n } catch (e) {\n // Ignore any invalid uri component.\n }\n}\n\n\n/**\n * Parses an escaped url query string into key-value pairs.\n * @returns {Object.<string,boolean|Array>}\n */\nfunction parseKeyValue(/**string*/keyValue) {\n var obj = {};\n forEach((keyValue || '').split('&'), function(keyValue) {\n var splitPoint, key, val;\n if (keyValue) {\n key = keyValue = keyValue.replace(/\\+/g,'%20');\n splitPoint = keyValue.indexOf('=');\n if (splitPoint !== -1) {\n key = keyValue.substring(0, splitPoint);\n val = keyValue.substring(splitPoint + 1);\n }\n key = tryDecodeURIComponent(key);\n if (isDefined(key)) {\n val = isDefined(val) ? tryDecodeURIComponent(val) : true;\n if (!hasOwnProperty.call(obj, key)) {\n obj[key] = val;\n } else if (isArray(obj[key])) {\n obj[key].push(val);\n } else {\n obj[key] = [obj[key],val];\n }\n }\n }\n });\n return obj;\n}\n\nfunction toKeyValue(obj) {\n var parts = [];\n forEach(obj, function(value, key) {\n if (isArray(value)) {\n forEach(value, function(arrayValue) {\n parts.push(encodeUriQuery(key, true) +\n (arrayValue === true ? '' : '=' + encodeUriQuery(arrayValue, true)));\n });\n } else {\n parts.push(encodeUriQuery(key, true) +\n (value === true ? '' : '=' + encodeUriQuery(value, true)));\n }\n });\n return parts.length ? parts.join('&') : '';\n}\n\n\n/**\n * We need our custom method because encodeURIComponent is too aggressive and doesn't follow\n * http://www.ietf.org/rfc/rfc3986.txt with regards to the character set (pchar) allowed in path\n * segments:\n * segment = *pchar\n * pchar = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n * pct-encoded = \"%\" HEXDIG HEXDIG\n * unreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n * sub-delims = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n * / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n */\nfunction encodeUriSegment(val) {\n return encodeUriQuery(val, true).\n replace(/%26/gi, '&').\n replace(/%3D/gi, '=').\n replace(/%2B/gi, '+');\n}\n\n\n/**\n * This method is intended for encoding *key* or *value* parts of query component. We need a custom\n * method because encodeURIComponent is too aggressive and encodes stuff that doesn't have to be\n * encoded per http://tools.ietf.org/html/rfc3986:\n * query = *( pchar / \"/\" / \"?\" )\n * pchar = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n * unreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n * pct-encoded = \"%\" HEXDIG HEXDIG\n * sub-delims = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n * / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n */\nfunction encodeUriQuery(val, pctEncodeSpaces) {\n return encodeURIComponent(val).\n replace(/%40/gi, '@').\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%3B/gi, ';').\n replace(/%20/g, (pctEncodeSpaces ? '%20' : '+'));\n}\n\nvar ngAttrPrefixes = ['ng-', 'data-ng-', 'ng:', 'x-ng-'];\n\nfunction getNgAttribute(element, ngAttr) {\n var attr, i, ii = ngAttrPrefixes.length;\n for (i = 0; i < ii; ++i) {\n attr = ngAttrPrefixes[i] + ngAttr;\n if (isString(attr = element.getAttribute(attr))) {\n return attr;\n }\n }\n return null;\n}\n\nfunction allowAutoBootstrap(document) {\n var script = document.currentScript;\n\n if (!script) {\n // Support: IE 9-11 only\n // IE does not have `document.currentScript`\n return true;\n }\n\n // If the `currentScript` property has been clobbered just return false, since this indicates a probable attack\n if (!(script instanceof window.HTMLScriptElement || script instanceof window.SVGScriptElement)) {\n return false;\n }\n\n var attributes = script.attributes;\n var srcs = [attributes.getNamedItem('src'), attributes.getNamedItem('href'), attributes.getNamedItem('xlink:href')];\n\n return srcs.every(function(src) {\n if (!src) {\n return true;\n }\n if (!src.value) {\n return false;\n }\n\n var link = document.createElement('a');\n link.href = src.value;\n\n if (document.location.origin === link.origin) {\n // Same-origin resources are always allowed, even for non-whitelisted schemes.\n return true;\n }\n // Disabled bootstrapping unless angular.js was loaded from a known scheme used on the web.\n // This is to prevent angular.js bundled with browser extensions from being used to bypass the\n // content security policy in web pages and other browser extensions.\n switch (link.protocol) {\n case 'http:':\n case 'https:':\n case 'ftp:':\n case 'blob:':\n case 'file:':\n case 'data:':\n return true;\n default:\n return false;\n }\n });\n}\n\n// Cached as it has to run during loading so that document.currentScript is available.\nvar isAutoBootstrapAllowed = allowAutoBootstrap(window.document);\n\n/**\n * @ngdoc directive\n * @name ngApp\n * @module ng\n *\n * @element ANY\n * @param {angular.Module} ngApp an optional application\n * {@link angular.module module} name to load.\n * @param {boolean=} ngStrictDi if this attribute is present on the app element, the injector will be\n * created in \"strict-di\" mode. This means that the application will fail to invoke functions which\n * do not use explicit function annotation (and are thus unsuitable for minification), as described\n * in {@link guide/di the Dependency Injection guide}, and useful debugging info will assist in\n * tracking down the root of these bugs.\n *\n * @description\n *\n * Use this directive to **auto-bootstrap** an AngularJS application. The `ngApp` directive\n * designates the **root element** of the application and is typically placed near the root element\n * of the page - e.g. on the `<body>` or `<html>` tags.\n *\n * There are a few things to keep in mind when using `ngApp`:\n * - only one AngularJS application can be auto-bootstrapped per HTML document. The first `ngApp`\n * found in the document will be used to define the root element to auto-bootstrap as an\n * application. To run multiple applications in an HTML document you must manually bootstrap them using\n * {@link angular.bootstrap} instead.\n * - AngularJS applications cannot be nested within each other.\n * - Do not use a directive that uses {@link ng.$compile#transclusion transclusion} on the same element as `ngApp`.\n * This includes directives such as {@link ng.ngIf `ngIf`}, {@link ng.ngInclude `ngInclude`} and\n * {@link ngRoute.ngView `ngView`}.\n * Doing this misplaces the app {@link ng.$rootElement `$rootElement`} and the app's {@link auto.$injector injector},\n * causing animations to stop working and making the injector inaccessible from outside the app.\n *\n * You can specify an **AngularJS module** to be used as the root module for the application. This\n * module will be loaded into the {@link auto.$injector} when the application is bootstrapped. It\n * should contain the application code needed or have dependencies on other modules that will\n * contain the code. See {@link angular.module} for more information.\n *\n * In the example below if the `ngApp` directive were not placed on the `html` element then the\n * document would not be compiled, the `AppController` would not be instantiated and the `{{ a+b }}`\n * would not be resolved to `3`.\n *\n * @example\n *\n * ### Simple Usage\n *\n * `ngApp` is the easiest, and most common way to bootstrap an application.\n *\n <example module=\"ngAppDemo\" name=\"ng-app\">\n <file name=\"index.html\">\n <div ng-controller=\"ngAppDemoController\">\n I can add: {{a}} + {{b}} = {{ a+b }}\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('ngAppDemo', []).controller('ngAppDemoController', function($scope) {\n $scope.a = 1;\n $scope.b = 2;\n });\n </file>\n </example>\n *\n * @example\n *\n * ### With `ngStrictDi`\n *\n * Using `ngStrictDi`, you would see something like this:\n *\n <example ng-app-included=\"true\" name=\"strict-di\">\n <file name=\"index.html\">\n <div ng-app=\"ngAppStrictDemo\" ng-strict-di>\n <div ng-controller=\"GoodController1\">\n I can add: {{a}} + {{b}} = {{ a+b }}\n\n <p>This renders because the controller does not fail to\n instantiate, by using explicit annotation style (see\n script.js for details)\n </p>\n </div>\n\n <div ng-controller=\"GoodController2\">\n Name: <input ng-model=\"name\"><br />\n Hello, {{name}}!\n\n <p>This renders because the controller does not fail to\n instantiate, by using explicit annotation style\n (see script.js for details)\n </p>\n </div>\n\n <div ng-controller=\"BadController\">\n I can add: {{a}} + {{b}} = {{ a+b }}\n\n <p>The controller could not be instantiated, due to relying\n on automatic function annotations (which are disabled in\n strict mode). As such, the content of this section is not\n interpolated, and there should be an error in your web console.\n </p>\n </div>\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('ngAppStrictDemo', [])\n // BadController will fail to instantiate, due to relying on automatic function annotation,\n // rather than an explicit annotation\n .controller('BadController', function($scope) {\n $scope.a = 1;\n $scope.b = 2;\n })\n // Unlike BadController, GoodController1 and GoodController2 will not fail to be instantiated,\n // due to using explicit annotations using the array style and $inject property, respectively.\n .controller('GoodController1', ['$scope', function($scope) {\n $scope.a = 1;\n $scope.b = 2;\n }])\n .controller('GoodController2', GoodController2);\n function GoodController2($scope) {\n $scope.name = 'World';\n }\n GoodController2.$inject = ['$scope'];\n </file>\n <file name=\"style.css\">\n div[ng-controller] {\n margin-bottom: 1em;\n -webkit-border-radius: 4px;\n border-radius: 4px;\n border: 1px solid;\n padding: .5em;\n }\n div[ng-controller^=Good] {\n border-color: #d6e9c6;\n background-color: #dff0d8;\n color: #3c763d;\n }\n div[ng-controller^=Bad] {\n border-color: #ebccd1;\n background-color: #f2dede;\n color: #a94442;\n margin-bottom: 0;\n }\n </file>\n </example>\n */\nfunction angularInit(element, bootstrap) {\n var appElement,\n module,\n config = {};\n\n // The element `element` has priority over any other element.\n forEach(ngAttrPrefixes, function(prefix) {\n var name = prefix + 'app';\n\n if (!appElement && element.hasAttribute && element.hasAttribute(name)) {\n appElement = element;\n module = element.getAttribute(name);\n }\n });\n forEach(ngAttrPrefixes, function(prefix) {\n var name = prefix + 'app';\n var candidate;\n\n if (!appElement && (candidate = element.querySelector('[' + name.replace(':', '\\\\:') + ']'))) {\n appElement = candidate;\n module = candidate.getAttribute(name);\n }\n });\n if (appElement) {\n if (!isAutoBootstrapAllowed) {\n window.console.error('AngularJS: disabling automatic bootstrap. <script> protocol indicates ' +\n 'an extension, document.location.href does not match.');\n return;\n }\n config.strictDi = getNgAttribute(appElement, 'strict-di') !== null;\n bootstrap(appElement, module ? [module] : [], config);\n }\n}\n\n/**\n * @ngdoc function\n * @name angular.bootstrap\n * @module ng\n * @description\n * Use this function to manually start up AngularJS application.\n *\n * For more information, see the {@link guide/bootstrap Bootstrap guide}.\n *\n * AngularJS will detect if it has been loaded into the browser more than once and only allow the\n * first loaded script to be bootstrapped and will report a warning to the browser console for\n * each of the subsequent scripts. This prevents strange results in applications, where otherwise\n * multiple instances of AngularJS try to work on the DOM.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** Protractor based end-to-end tests cannot use this function to bootstrap manually.\n * They must use {@link ng.directive:ngApp ngApp}.\n * </div>\n *\n * <div class=\"alert alert-warning\">\n * **Note:** Do not bootstrap the app on an element with a directive that uses {@link ng.$compile#transclusion transclusion},\n * such as {@link ng.ngIf `ngIf`}, {@link ng.ngInclude `ngInclude`} and {@link ngRoute.ngView `ngView`}.\n * Doing this misplaces the app {@link ng.$rootElement `$rootElement`} and the app's {@link auto.$injector injector},\n * causing animations to stop working and making the injector inaccessible from outside the app.\n * </div>\n *\n * ```html\n * <!doctype html>\n * <html>\n * <body>\n * <div ng-controller=\"WelcomeController\">\n * {{greeting}}\n * </div>\n *\n * <script src=\"angular.js\"></script>\n * <script>\n * var app = angular.module('demo', [])\n * .controller('WelcomeController', function($scope) {\n * $scope.greeting = 'Welcome!';\n * });\n * angular.bootstrap(document, ['demo']);\n * </script>\n * </body>\n * </html>\n * ```\n *\n * @param {DOMElement} element DOM element which is the root of AngularJS application.\n * @param {Array<String|Function|Array>=} modules an array of modules to load into the application.\n * Each item in the array should be the name of a predefined module or a (DI annotated)\n * function that will be invoked by the injector as a `config` block.\n * See: {@link angular.module modules}\n * @param {Object=} config an object for defining configuration options for the application. The\n * following keys are supported:\n *\n * * `strictDi` - disable automatic function annotation for the application. This is meant to\n * assist in finding bugs which break minified code. Defaults to `false`.\n *\n * @returns {auto.$injector} Returns the newly created injector for this app.\n */\nfunction bootstrap(element, modules, config) {\n if (!isObject(config)) config = {};\n var defaultConfig = {\n strictDi: false\n };\n config = extend(defaultConfig, config);\n var doBootstrap = function() {\n element = jqLite(element);\n\n if (element.injector()) {\n var tag = (element[0] === window.document) ? 'document' : startingTag(element);\n // Encode angle brackets to prevent input from being sanitized to empty string #8683.\n throw ngMinErr(\n 'btstrpd',\n 'App already bootstrapped with this element \\'{0}\\'',\n tag.replace(/</,'&lt;').replace(/>/,'&gt;'));\n }\n\n modules = modules || [];\n modules.unshift(['$provide', function($provide) {\n $provide.value('$rootElement', element);\n }]);\n\n if (config.debugInfoEnabled) {\n // Pushing so that this overrides `debugInfoEnabled` setting defined in user's `modules`.\n modules.push(['$compileProvider', function($compileProvider) {\n $compileProvider.debugInfoEnabled(true);\n }]);\n }\n\n modules.unshift('ng');\n var injector = createInjector(modules, config.strictDi);\n injector.invoke(['$rootScope', '$rootElement', '$compile', '$injector',\n function bootstrapApply(scope, element, compile, injector) {\n scope.$apply(function() {\n element.data('$injector', injector);\n compile(element)(scope);\n });\n }]\n );\n return injector;\n };\n\n var NG_ENABLE_DEBUG_INFO = /^NG_ENABLE_DEBUG_INFO!/;\n var NG_DEFER_BOOTSTRAP = /^NG_DEFER_BOOTSTRAP!/;\n\n if (window && NG_ENABLE_DEBUG_INFO.test(window.name)) {\n config.debugInfoEnabled = true;\n window.name = window.name.replace(NG_ENABLE_DEBUG_INFO, '');\n }\n\n if (window && !NG_DEFER_BOOTSTRAP.test(window.name)) {\n return doBootstrap();\n }\n\n window.name = window.name.replace(NG_DEFER_BOOTSTRAP, '');\n angular.resumeBootstrap = function(extraModules) {\n forEach(extraModules, function(module) {\n modules.push(module);\n });\n return doBootstrap();\n };\n\n if (isFunction(angular.resumeDeferredBootstrap)) {\n angular.resumeDeferredBootstrap();\n }\n}\n\n/**\n * @ngdoc function\n * @name angular.reloadWithDebugInfo\n * @module ng\n * @description\n * Use this function to reload the current application with debug information turned on.\n * This takes precedence over a call to `$compileProvider.debugInfoEnabled(false)`.\n *\n * See {@link ng.$compileProvider#debugInfoEnabled} for more.\n */\nfunction reloadWithDebugInfo() {\n window.name = 'NG_ENABLE_DEBUG_INFO!' + window.name;\n window.location.reload();\n}\n\n/**\n * @name angular.getTestability\n * @module ng\n * @description\n * Get the testability service for the instance of AngularJS on the given\n * element.\n * @param {DOMElement} element DOM element which is the root of AngularJS application.\n */\nfunction getTestability(rootElement) {\n var injector = angular.element(rootElement).injector();\n if (!injector) {\n throw ngMinErr('test',\n 'no injector found for element argument to getTestability');\n }\n return injector.get('$$testability');\n}\n\nvar SNAKE_CASE_REGEXP = /[A-Z]/g;\nfunction snake_case(name, separator) {\n separator = separator || '_';\n return name.replace(SNAKE_CASE_REGEXP, function(letter, pos) {\n return (pos ? separator : '') + letter.toLowerCase();\n });\n}\n\nvar bindJQueryFired = false;\nfunction bindJQuery() {\n var originalCleanData;\n\n if (bindJQueryFired) {\n return;\n }\n\n // bind to jQuery if present;\n var jqName = jq();\n jQuery = isUndefined(jqName) ? window.jQuery : // use jQuery (if present)\n !jqName ? undefined : // use jqLite\n window[jqName]; // use jQuery specified by `ngJq`\n\n // Use jQuery if it exists with proper functionality, otherwise default to us.\n // AngularJS 1.2+ requires jQuery 1.7+ for on()/off() support.\n // AngularJS 1.3+ technically requires at least jQuery 2.1+ but it may work with older\n // versions. It will not work for sure with jQuery <1.7, though.\n if (jQuery && jQuery.fn.on) {\n jqLite = jQuery;\n extend(jQuery.fn, {\n scope: JQLitePrototype.scope,\n isolateScope: JQLitePrototype.isolateScope,\n controller: /** @type {?} */ (JQLitePrototype).controller,\n injector: JQLitePrototype.injector,\n inheritedData: JQLitePrototype.inheritedData\n });\n } else {\n jqLite = JQLite;\n }\n\n // All nodes removed from the DOM via various jqLite/jQuery APIs like .remove()\n // are passed through jqLite/jQuery.cleanData. Monkey-patch this method to fire\n // the $destroy event on all removed nodes.\n originalCleanData = jqLite.cleanData;\n jqLite.cleanData = function(elems) {\n var events;\n for (var i = 0, elem; (elem = elems[i]) != null; i++) {\n events = (jqLite._data(elem) || {}).events;\n if (events && events.$destroy) {\n jqLite(elem).triggerHandler('$destroy');\n }\n }\n originalCleanData(elems);\n };\n\n angular.element = jqLite;\n\n // Prevent double-proxying.\n bindJQueryFired = true;\n}\n\n/**\n * @ngdoc function\n * @name angular.UNSAFE_restoreLegacyJqLiteXHTMLReplacement\n * @module ng\n * @kind function\n *\n * @description\n * Restores the pre-1.8 behavior of jqLite that turns XHTML-like strings like\n * `<div /><span />` to `<div></div><span></span>` instead of `<div><span></span></div>`.\n * The new behavior is a security fix. Thus, if you need to call this function, please try to adjust\n * your code for this change and remove your use of this function as soon as possible.\n\n * Note that this only patches jqLite. If you use jQuery 3.5.0 or newer, please read the\n * [jQuery 3.5 upgrade guide](https://jquery.com/upgrade-guide/3.5/) for more details\n * about the workarounds.\n */\nfunction UNSAFE_restoreLegacyJqLiteXHTMLReplacement() {\n JQLite.legacyXHTMLReplacement = true;\n}\n\n/**\n * throw error if the argument is falsy.\n */\nfunction assertArg(arg, name, reason) {\n if (!arg) {\n throw ngMinErr('areq', 'Argument \\'{0}\\' is {1}', (name || '?'), (reason || 'required'));\n }\n return arg;\n}\n\nfunction assertArgFn(arg, name, acceptArrayAnnotation) {\n if (acceptArrayAnnotation && isArray(arg)) {\n arg = arg[arg.length - 1];\n }\n\n assertArg(isFunction(arg), name, 'not a function, got ' +\n (arg && typeof arg === 'object' ? arg.constructor.name || 'Object' : typeof arg));\n return arg;\n}\n\n/**\n * throw error if the name given is hasOwnProperty\n * @param {String} name the name to test\n * @param {String} context the context in which the name is used, such as module or directive\n */\nfunction assertNotHasOwnProperty(name, context) {\n if (name === 'hasOwnProperty') {\n throw ngMinErr('badname', 'hasOwnProperty is not a valid {0} name', context);\n }\n}\n\n/**\n * Return the value accessible from the object by path. Any undefined traversals are ignored\n * @param {Object} obj starting object\n * @param {String} path path to traverse\n * @param {boolean} [bindFnToScope=true]\n * @returns {Object} value as accessible by path\n */\n//TODO(misko): this function needs to be removed\nfunction getter(obj, path, bindFnToScope) {\n if (!path) return obj;\n var keys = path.split('.');\n var key;\n var lastInstance = obj;\n var len = keys.length;\n\n for (var i = 0; i < len; i++) {\n key = keys[i];\n if (obj) {\n obj = (lastInstance = obj)[key];\n }\n }\n if (!bindFnToScope && isFunction(obj)) {\n return bind(lastInstance, obj);\n }\n return obj;\n}\n\n/**\n * Return the DOM siblings between the first and last node in the given array.\n * @param {Array} array like object\n * @returns {Array} the inputted object or a jqLite collection containing the nodes\n */\nfunction getBlockNodes(nodes) {\n // TODO(perf): update `nodes` instead of creating a new object?\n var node = nodes[0];\n var endNode = nodes[nodes.length - 1];\n var blockNodes;\n\n for (var i = 1; node !== endNode && (node = node.nextSibling); i++) {\n if (blockNodes || nodes[i] !== node) {\n if (!blockNodes) {\n blockNodes = jqLite(slice.call(nodes, 0, i));\n }\n blockNodes.push(node);\n }\n }\n\n return blockNodes || nodes;\n}\n\n\n/**\n * Creates a new object without a prototype. This object is useful for lookup without having to\n * guard against prototypically inherited properties via hasOwnProperty.\n *\n * Related micro-benchmarks:\n * - http://jsperf.com/object-create2\n * - http://jsperf.com/proto-map-lookup/2\n * - http://jsperf.com/for-in-vs-object-keys2\n *\n * @returns {Object}\n */\nfunction createMap() {\n return Object.create(null);\n}\n\nfunction stringify(value) {\n if (value == null) { // null || undefined\n return '';\n }\n switch (typeof value) {\n case 'string':\n break;\n case 'number':\n value = '' + value;\n break;\n default:\n if (hasCustomToString(value) && !isArray(value) && !isDate(value)) {\n value = value.toString();\n } else {\n value = toJson(value);\n }\n }\n\n return value;\n}\n\nvar NODE_TYPE_ELEMENT = 1;\nvar NODE_TYPE_ATTRIBUTE = 2;\nvar NODE_TYPE_TEXT = 3;\nvar NODE_TYPE_COMMENT = 8;\nvar NODE_TYPE_DOCUMENT = 9;\nvar NODE_TYPE_DOCUMENT_FRAGMENT = 11;\n\n/**\n * @ngdoc type\n * @name angular.Module\n * @module ng\n * @description\n *\n * Interface for configuring AngularJS {@link angular.module modules}.\n */\n\nfunction setupModuleLoader(window) {\n\n var $injectorMinErr = minErr('$injector');\n var ngMinErr = minErr('ng');\n\n function ensure(obj, name, factory) {\n return obj[name] || (obj[name] = factory());\n }\n\n var angular = ensure(window, 'angular', Object);\n\n // We need to expose `angular.$$minErr` to modules such as `ngResource` that reference it during bootstrap\n angular.$$minErr = angular.$$minErr || minErr;\n\n return ensure(angular, 'module', function() {\n /** @type {Object.<string, angular.Module>} */\n var modules = {};\n\n /**\n * @ngdoc function\n * @name angular.module\n * @module ng\n * @description\n *\n * The `angular.module` is a global place for creating, registering and retrieving AngularJS\n * modules.\n * All modules (AngularJS core or 3rd party) that should be available to an application must be\n * registered using this mechanism.\n *\n * Passing one argument retrieves an existing {@link angular.Module},\n * whereas passing more than one argument creates a new {@link angular.Module}\n *\n *\n * # Module\n *\n * A module is a collection of services, directives, controllers, filters, and configuration information.\n * `angular.module` is used to configure the {@link auto.$injector $injector}.\n *\n * ```js\n * // Create a new module\n * var myModule = angular.module('myModule', []);\n *\n * // register a new service\n * myModule.value('appName', 'MyCoolApp');\n *\n * // configure existing services inside initialization blocks.\n * myModule.config(['$locationProvider', function($locationProvider) {\n * // Configure existing providers\n * $locationProvider.hashPrefix('!');\n * }]);\n * ```\n *\n * Then you can create an injector and load your modules like this:\n *\n * ```js\n * var injector = angular.injector(['ng', 'myModule'])\n * ```\n *\n * However it's more likely that you'll just use\n * {@link ng.directive:ngApp ngApp} or\n * {@link angular.bootstrap} to simplify this process for you.\n *\n * @param {!string} name The name of the module to create or retrieve.\n * @param {!Array.<string>=} requires If specified then new module is being created. If\n * unspecified then the module is being retrieved for further configuration.\n * @param {Function=} configFn Optional configuration function for the module. Same as\n * {@link angular.Module#config Module#config()}.\n * @returns {angular.Module} new module with the {@link angular.Module} api.\n */\n return function module(name, requires, configFn) {\n\n var info = {};\n\n var assertNotHasOwnProperty = function(name, context) {\n if (name === 'hasOwnProperty') {\n throw ngMinErr('badname', 'hasOwnProperty is not a valid {0} name', context);\n }\n };\n\n assertNotHasOwnProperty(name, 'module');\n if (requires && modules.hasOwnProperty(name)) {\n modules[name] = null;\n }\n return ensure(modules, name, function() {\n if (!requires) {\n throw $injectorMinErr('nomod', 'Module \\'{0}\\' is not available! You either misspelled ' +\n 'the module name or forgot to load it. If registering a module ensure that you ' +\n 'specify the dependencies as the second argument.', name);\n }\n\n /** @type {!Array.<Array.<*>>} */\n var invokeQueue = [];\n\n /** @type {!Array.<Function>} */\n var configBlocks = [];\n\n /** @type {!Array.<Function>} */\n var runBlocks = [];\n\n var config = invokeLater('$injector', 'invoke', 'push', configBlocks);\n\n /** @type {angular.Module} */\n var moduleInstance = {\n // Private state\n _invokeQueue: invokeQueue,\n _configBlocks: configBlocks,\n _runBlocks: runBlocks,\n\n /**\n * @ngdoc method\n * @name angular.Module#info\n * @module ng\n *\n * @param {Object=} info Information about the module\n * @returns {Object|Module} The current info object for this module if called as a getter,\n * or `this` if called as a setter.\n *\n * @description\n * Read and write custom information about this module.\n * For example you could put the version of the module in here.\n *\n * ```js\n * angular.module('myModule', []).info({ version: '1.0.0' });\n * ```\n *\n * The version could then be read back out by accessing the module elsewhere:\n *\n * ```\n * var version = angular.module('myModule').info().version;\n * ```\n *\n * You can also retrieve this information during runtime via the\n * {@link $injector#modules `$injector.modules`} property:\n *\n * ```js\n * var version = $injector.modules['myModule'].info().version;\n * ```\n */\n info: function(value) {\n if (isDefined(value)) {\n if (!isObject(value)) throw ngMinErr('aobj', 'Argument \\'{0}\\' must be an object', 'value');\n info = value;\n return this;\n }\n return info;\n },\n\n /**\n * @ngdoc property\n * @name angular.Module#requires\n * @module ng\n *\n * @description\n * Holds the list of modules which the injector will load before the current module is\n * loaded.\n */\n requires: requires,\n\n /**\n * @ngdoc property\n * @name angular.Module#name\n * @module ng\n *\n * @description\n * Name of the module.\n */\n name: name,\n\n\n /**\n * @ngdoc method\n * @name angular.Module#provider\n * @module ng\n * @param {string} name service name\n * @param {Function} providerType Construction function for creating new instance of the\n * service.\n * @description\n * See {@link auto.$provide#provider $provide.provider()}.\n */\n provider: invokeLaterAndSetModuleName('$provide', 'provider'),\n\n /**\n * @ngdoc method\n * @name angular.Module#factory\n * @module ng\n * @param {string} name service name\n * @param {Function} providerFunction Function for creating new instance of the service.\n * @description\n * See {@link auto.$provide#factory $provide.factory()}.\n */\n factory: invokeLaterAndSetModuleName('$provide', 'factory'),\n\n /**\n * @ngdoc method\n * @name angular.Module#service\n * @module ng\n * @param {string} name service name\n * @param {Function} constructor A constructor function that will be instantiated.\n * @description\n * See {@link auto.$provide#service $provide.service()}.\n */\n service: invokeLaterAndSetModuleName('$provide', 'service'),\n\n /**\n * @ngdoc method\n * @name angular.Module#value\n * @module ng\n * @param {string} name service name\n * @param {*} object Service instance object.\n * @description\n * See {@link auto.$provide#value $provide.value()}.\n */\n value: invokeLater('$provide', 'value'),\n\n /**\n * @ngdoc method\n * @name angular.Module#constant\n * @module ng\n * @param {string} name constant name\n * @param {*} object Constant value.\n * @description\n * Because the constants are fixed, they get applied before other provide methods.\n * See {@link auto.$provide#constant $provide.constant()}.\n */\n constant: invokeLater('$provide', 'constant', 'unshift'),\n\n /**\n * @ngdoc method\n * @name angular.Module#decorator\n * @module ng\n * @param {string} name The name of the service to decorate.\n * @param {Function} decorFn This function will be invoked when the service needs to be\n * instantiated and should return the decorated service instance.\n * @description\n * See {@link auto.$provide#decorator $provide.decorator()}.\n */\n decorator: invokeLaterAndSetModuleName('$provide', 'decorator', configBlocks),\n\n /**\n * @ngdoc method\n * @name angular.Module#animation\n * @module ng\n * @param {string} name animation name\n * @param {Function} animationFactory Factory function for creating new instance of an\n * animation.\n * @description\n *\n * **NOTE**: animations take effect only if the **ngAnimate** module is loaded.\n *\n *\n * Defines an animation hook that can be later used with\n * {@link $animate $animate} service and directives that use this service.\n *\n * ```js\n * module.animation('.animation-name', function($inject1, $inject2) {\n * return {\n * eventName : function(element, done) {\n * //code to run the animation\n * //once complete, then run done()\n * return function cancellationFunction(element) {\n * //code to cancel the animation\n * }\n * }\n * }\n * })\n * ```\n *\n * See {@link ng.$animateProvider#register $animateProvider.register()} and\n * {@link ngAnimate ngAnimate module} for more information.\n */\n animation: invokeLaterAndSetModuleName('$animateProvider', 'register'),\n\n /**\n * @ngdoc method\n * @name angular.Module#filter\n * @module ng\n * @param {string} name Filter name - this must be a valid AngularJS expression identifier\n * @param {Function} filterFactory Factory function for creating new instance of filter.\n * @description\n * See {@link ng.$filterProvider#register $filterProvider.register()}.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** Filter names must be valid AngularJS {@link expression} identifiers, such as `uppercase` or `orderBy`.\n * Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace\n * your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores\n * (`myapp_subsection_filterx`).\n * </div>\n */\n filter: invokeLaterAndSetModuleName('$filterProvider', 'register'),\n\n /**\n * @ngdoc method\n * @name angular.Module#controller\n * @module ng\n * @param {string|Object} name Controller name, or an object map of controllers where the\n * keys are the names and the values are the constructors.\n * @param {Function} constructor Controller constructor function.\n * @description\n * See {@link ng.$controllerProvider#register $controllerProvider.register()}.\n */\n controller: invokeLaterAndSetModuleName('$controllerProvider', 'register'),\n\n /**\n * @ngdoc method\n * @name angular.Module#directive\n * @module ng\n * @param {string|Object} name Directive name, or an object map of directives where the\n * keys are the names and the values are the factories.\n * @param {Function} directiveFactory Factory function for creating new instance of\n * directives.\n * @description\n * See {@link ng.$compileProvider#directive $compileProvider.directive()}.\n */\n directive: invokeLaterAndSetModuleName('$compileProvider', 'directive'),\n\n /**\n * @ngdoc method\n * @name angular.Module#component\n * @module ng\n * @param {string|Object} name Name of the component in camelCase (i.e. `myComp` which will match `<my-comp>`),\n * or an object map of components where the keys are the names and the values are the component definition objects.\n * @param {Object} options Component definition object (a simplified\n * {@link ng.$compile#directive-definition-object directive definition object})\n *\n * @description\n * See {@link ng.$compileProvider#component $compileProvider.component()}.\n */\n component: invokeLaterAndSetModuleName('$compileProvider', 'component'),\n\n /**\n * @ngdoc method\n * @name angular.Module#config\n * @module ng\n * @param {Function} configFn Execute this function on module load. Useful for service\n * configuration.\n * @description\n * Use this method to configure services by injecting their\n * {@link angular.Module#provider `providers`}, e.g. for adding routes to the\n * {@link ngRoute.$routeProvider $routeProvider}.\n *\n * Note that you can only inject {@link angular.Module#provider `providers`} and\n * {@link angular.Module#constant `constants`} into this function.\n *\n * For more about how to configure services, see\n * {@link providers#provider-recipe Provider Recipe}.\n */\n config: config,\n\n /**\n * @ngdoc method\n * @name angular.Module#run\n * @module ng\n * @param {Function} initializationFn Execute this function after injector creation.\n * Useful for application initialization.\n * @description\n * Use this method to register work which should be performed when the injector is done\n * loading all modules.\n */\n run: function(block) {\n runBlocks.push(block);\n return this;\n }\n };\n\n if (configFn) {\n config(configFn);\n }\n\n return moduleInstance;\n\n /**\n * @param {string} provider\n * @param {string} method\n * @param {String=} insertMethod\n * @returns {angular.Module}\n */\n function invokeLater(provider, method, insertMethod, queue) {\n if (!queue) queue = invokeQueue;\n return function() {\n queue[insertMethod || 'push']([provider, method, arguments]);\n return moduleInstance;\n };\n }\n\n /**\n * @param {string} provider\n * @param {string} method\n * @returns {angular.Module}\n */\n function invokeLaterAndSetModuleName(provider, method, queue) {\n if (!queue) queue = invokeQueue;\n return function(recipeName, factoryFunction) {\n if (factoryFunction && isFunction(factoryFunction)) factoryFunction.$$moduleName = name;\n queue.push([provider, method, arguments]);\n return moduleInstance;\n };\n }\n });\n };\n });\n\n}\n\n/* global shallowCopy: true */\n\n/**\n * Creates a shallow copy of an object, an array or a primitive.\n *\n * Assumes that there are no proto properties for objects.\n */\nfunction shallowCopy(src, dst) {\n if (isArray(src)) {\n dst = dst || [];\n\n for (var i = 0, ii = src.length; i < ii; i++) {\n dst[i] = src[i];\n }\n } else if (isObject(src)) {\n dst = dst || {};\n\n for (var key in src) {\n if (!(key.charAt(0) === '$' && key.charAt(1) === '$')) {\n dst[key] = src[key];\n }\n }\n }\n\n return dst || src;\n}\n\n/* exported toDebugString */\n\nfunction serializeObject(obj, maxDepth) {\n var seen = [];\n\n // There is no direct way to stringify object until reaching a specific depth\n // and a very deep object can cause a performance issue, so we copy the object\n // based on this specific depth and then stringify it.\n if (isValidObjectMaxDepth(maxDepth)) {\n // This file is also included in `angular-loader`, so `copy()` might not always be available in\n // the closure. Therefore, it is lazily retrieved as `angular.copy()` when needed.\n obj = angular.copy(obj, null, maxDepth);\n }\n return JSON.stringify(obj, function(key, val) {\n val = toJsonReplacer(key, val);\n if (isObject(val)) {\n\n if (seen.indexOf(val) >= 0) return '...';\n\n seen.push(val);\n }\n return val;\n });\n}\n\nfunction toDebugString(obj, maxDepth) {\n if (typeof obj === 'function') {\n return obj.toString().replace(/ \\{[\\s\\S]*$/, '');\n } else if (isUndefined(obj)) {\n return 'undefined';\n } else if (typeof obj !== 'string') {\n return serializeObject(obj, maxDepth);\n }\n return obj;\n}\n\n/* global angularModule: true,\n version: true,\n\n $CompileProvider,\n\n htmlAnchorDirective,\n inputDirective,\n hiddenInputBrowserCacheDirective,\n formDirective,\n scriptDirective,\n selectDirective,\n optionDirective,\n ngBindDirective,\n ngBindHtmlDirective,\n ngBindTemplateDirective,\n ngClassDirective,\n ngClassEvenDirective,\n ngClassOddDirective,\n ngCloakDirective,\n ngControllerDirective,\n ngFormDirective,\n ngHideDirective,\n ngIfDirective,\n ngIncludeDirective,\n ngIncludeFillContentDirective,\n ngInitDirective,\n ngNonBindableDirective,\n ngPluralizeDirective,\n ngRefDirective,\n ngRepeatDirective,\n ngShowDirective,\n ngStyleDirective,\n ngSwitchDirective,\n ngSwitchWhenDirective,\n ngSwitchDefaultDirective,\n ngOptionsDirective,\n ngTranscludeDirective,\n ngModelDirective,\n ngListDirective,\n ngChangeDirective,\n patternDirective,\n patternDirective,\n requiredDirective,\n requiredDirective,\n minlengthDirective,\n minlengthDirective,\n maxlengthDirective,\n maxlengthDirective,\n ngValueDirective,\n ngModelOptionsDirective,\n ngAttributeAliasDirectives,\n ngEventDirectives,\n\n $AnchorScrollProvider,\n $AnimateProvider,\n $CoreAnimateCssProvider,\n $$CoreAnimateJsProvider,\n $$CoreAnimateQueueProvider,\n $$AnimateRunnerFactoryProvider,\n $$AnimateAsyncRunFactoryProvider,\n $BrowserProvider,\n $CacheFactoryProvider,\n $ControllerProvider,\n $DateProvider,\n $DocumentProvider,\n $$IsDocumentHiddenProvider,\n $ExceptionHandlerProvider,\n $FilterProvider,\n $$ForceReflowProvider,\n $InterpolateProvider,\n $$IntervalFactoryProvider,\n $IntervalProvider,\n $HttpProvider,\n $HttpParamSerializerProvider,\n $HttpParamSerializerJQLikeProvider,\n $HttpBackendProvider,\n $xhrFactoryProvider,\n $jsonpCallbacksProvider,\n $LocationProvider,\n $LogProvider,\n $$MapProvider,\n $ParseProvider,\n $RootScopeProvider,\n $QProvider,\n $$QProvider,\n $$SanitizeUriProvider,\n $SceProvider,\n $SceDelegateProvider,\n $SnifferProvider,\n $$TaskTrackerFactoryProvider,\n $TemplateCacheProvider,\n $TemplateRequestProvider,\n $$TestabilityProvider,\n $TimeoutProvider,\n $$RAFProvider,\n $WindowProvider,\n $$jqLiteProvider,\n $$CookieReaderProvider\n*/\n\n\n/**\n * @ngdoc object\n * @name angular.version\n * @module ng\n * @description\n * An object that contains information about the current AngularJS version.\n *\n * This object has the following properties:\n *\n * - `full` – `{string}` – Full version string, such as \"0.9.18\".\n * - `major` – `{number}` – Major version number, such as \"0\".\n * - `minor` – `{number}` – Minor version number, such as \"9\".\n * - `dot` – `{number}` – Dot version number, such as \"18\".\n * - `codeName` – `{string}` – Code name of the release, such as \"jiggling-armfat\".\n */\nvar version = {\n // These placeholder strings will be replaced by grunt's `build` task.\n // They need to be double- or single-quoted.\n full: '1.8.0',\n major: 1,\n minor: 8,\n dot: 0,\n codeName: 'nested-vaccination'\n};\n\n\nfunction publishExternalAPI(angular) {\n extend(angular, {\n 'errorHandlingConfig': errorHandlingConfig,\n 'bootstrap': bootstrap,\n 'copy': copy,\n 'extend': extend,\n 'merge': merge,\n 'equals': equals,\n 'element': jqLite,\n 'forEach': forEach,\n 'injector': createInjector,\n 'noop': noop,\n 'bind': bind,\n 'toJson': toJson,\n 'fromJson': fromJson,\n 'identity': identity,\n 'isUndefined': isUndefined,\n 'isDefined': isDefined,\n 'isString': isString,\n 'isFunction': isFunction,\n 'isObject': isObject,\n 'isNumber': isNumber,\n 'isElement': isElement,\n 'isArray': isArray,\n 'version': version,\n 'isDate': isDate,\n 'callbacks': {$$counter: 0},\n 'getTestability': getTestability,\n 'reloadWithDebugInfo': reloadWithDebugInfo,\n 'UNSAFE_restoreLegacyJqLiteXHTMLReplacement': UNSAFE_restoreLegacyJqLiteXHTMLReplacement,\n '$$minErr': minErr,\n '$$csp': csp,\n '$$encodeUriSegment': encodeUriSegment,\n '$$encodeUriQuery': encodeUriQuery,\n '$$lowercase': lowercase,\n '$$stringify': stringify,\n '$$uppercase': uppercase\n });\n\n angularModule = setupModuleLoader(window);\n\n angularModule('ng', ['ngLocale'], ['$provide',\n function ngModule($provide) {\n // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it.\n $provide.provider({\n $$sanitizeUri: $$SanitizeUriProvider\n });\n $provide.provider('$compile', $CompileProvider).\n directive({\n a: htmlAnchorDirective,\n input: inputDirective,\n textarea: inputDirective,\n form: formDirective,\n script: scriptDirective,\n select: selectDirective,\n option: optionDirective,\n ngBind: ngBindDirective,\n ngBindHtml: ngBindHtmlDirective,\n ngBindTemplate: ngBindTemplateDirective,\n ngClass: ngClassDirective,\n ngClassEven: ngClassEvenDirective,\n ngClassOdd: ngClassOddDirective,\n ngCloak: ngCloakDirective,\n ngController: ngControllerDirective,\n ngForm: ngFormDirective,\n ngHide: ngHideDirective,\n ngIf: ngIfDirective,\n ngInclude: ngIncludeDirective,\n ngInit: ngInitDirective,\n ngNonBindable: ngNonBindableDirective,\n ngPluralize: ngPluralizeDirective,\n ngRef: ngRefDirective,\n ngRepeat: ngRepeatDirective,\n ngShow: ngShowDirective,\n ngStyle: ngStyleDirective,\n ngSwitch: ngSwitchDirective,\n ngSwitchWhen: ngSwitchWhenDirective,\n ngSwitchDefault: ngSwitchDefaultDirective,\n ngOptions: ngOptionsDirective,\n ngTransclude: ngTranscludeDirective,\n ngModel: ngModelDirective,\n ngList: ngListDirective,\n ngChange: ngChangeDirective,\n pattern: patternDirective,\n ngPattern: patternDirective,\n required: requiredDirective,\n ngRequired: requiredDirective,\n minlength: minlengthDirective,\n ngMinlength: minlengthDirective,\n maxlength: maxlengthDirective,\n ngMaxlength: maxlengthDirective,\n ngValue: ngValueDirective,\n ngModelOptions: ngModelOptionsDirective\n }).\n directive({\n ngInclude: ngIncludeFillContentDirective,\n input: hiddenInputBrowserCacheDirective\n }).\n directive(ngAttributeAliasDirectives).\n directive(ngEventDirectives);\n $provide.provider({\n $anchorScroll: $AnchorScrollProvider,\n $animate: $AnimateProvider,\n $animateCss: $CoreAnimateCssProvider,\n $$animateJs: $$CoreAnimateJsProvider,\n $$animateQueue: $$CoreAnimateQueueProvider,\n $$AnimateRunner: $$AnimateRunnerFactoryProvider,\n $$animateAsyncRun: $$AnimateAsyncRunFactoryProvider,\n $browser: $BrowserProvider,\n $cacheFactory: $CacheFactoryProvider,\n $controller: $ControllerProvider,\n $document: $DocumentProvider,\n $$isDocumentHidden: $$IsDocumentHiddenProvider,\n $exceptionHandler: $ExceptionHandlerProvider,\n $filter: $FilterProvider,\n $$forceReflow: $$ForceReflowProvider,\n $interpolate: $InterpolateProvider,\n $interval: $IntervalProvider,\n $$intervalFactory: $$IntervalFactoryProvider,\n $http: $HttpProvider,\n $httpParamSerializer: $HttpParamSerializerProvider,\n $httpParamSerializerJQLike: $HttpParamSerializerJQLikeProvider,\n $httpBackend: $HttpBackendProvider,\n $xhrFactory: $xhrFactoryProvider,\n $jsonpCallbacks: $jsonpCallbacksProvider,\n $location: $LocationProvider,\n $log: $LogProvider,\n $parse: $ParseProvider,\n $rootScope: $RootScopeProvider,\n $q: $QProvider,\n $$q: $$QProvider,\n $sce: $SceProvider,\n $sceDelegate: $SceDelegateProvider,\n $sniffer: $SnifferProvider,\n $$taskTrackerFactory: $$TaskTrackerFactoryProvider,\n $templateCache: $TemplateCacheProvider,\n $templateRequest: $TemplateRequestProvider,\n $$testability: $$TestabilityProvider,\n $timeout: $TimeoutProvider,\n $window: $WindowProvider,\n $$rAF: $$RAFProvider,\n $$jqLite: $$jqLiteProvider,\n $$Map: $$MapProvider,\n $$cookieReader: $$CookieReaderProvider\n });\n }\n ])\n .info({ angularVersion: '1.8.0' });\n}\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * Any commits to this file should be reviewed with security in mind. *\n * Changes to this file can potentially create security vulnerabilities. *\n * An approval from 2 Core members with history of modifying *\n * this file is required. *\n * *\n * Does the change somehow allow for arbitrary javascript to be executed? *\n * Or allows for someone to change the prototype of built-in objects? *\n * Or gives undesired access to variables likes document or window? *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\n/* global\n JQLitePrototype: true,\n BOOLEAN_ATTR: true,\n ALIASED_ATTR: true\n*/\n\n//////////////////////////////////\n//JQLite\n//////////////////////////////////\n\n/**\n * @ngdoc function\n * @name angular.element\n * @module ng\n * @kind function\n *\n * @description\n * Wraps a raw DOM element or HTML string as a [jQuery](http://jquery.com) element.\n *\n * If jQuery is available, `angular.element` is an alias for the\n * [jQuery](http://api.jquery.com/jQuery/) function. If jQuery is not available, `angular.element`\n * delegates to AngularJS's built-in subset of jQuery, called \"jQuery lite\" or **jqLite**.\n *\n * jqLite is a tiny, API-compatible subset of jQuery that allows\n * AngularJS to manipulate the DOM in a cross-browser compatible way. jqLite implements only the most\n * commonly needed functionality with the goal of having a very small footprint.\n *\n * To use `jQuery`, simply ensure it is loaded before the `angular.js` file. You can also use the\n * {@link ngJq `ngJq`} directive to specify that jqlite should be used over jQuery, or to use a\n * specific version of jQuery if multiple versions exist on the page.\n *\n * <div class=\"alert alert-info\">**Note:** All element references in AngularJS are always wrapped with jQuery or\n * jqLite (such as the element argument in a directive's compile / link function). They are never raw DOM references.</div>\n *\n * <div class=\"alert alert-warning\">**Note:** Keep in mind that this function will not find elements\n * by tag name / CSS selector. For lookups by tag name, try instead `angular.element(document).find(...)`\n * or `$document.find()`, or use the standard DOM APIs, e.g. `document.querySelectorAll()`.</div>\n *\n * ## AngularJS's jqLite\n * jqLite provides only the following jQuery methods:\n *\n * - [`addClass()`](http://api.jquery.com/addClass/) - Does not support a function as first argument\n * - [`after()`](http://api.jquery.com/after/)\n * - [`append()`](http://api.jquery.com/append/) - Contrary to jQuery, this doesn't clone elements\n * so will not work correctly when invoked on a jqLite object containing more than one DOM node\n * - [`attr()`](http://api.jquery.com/attr/) - Does not support functions as parameters\n * - [`bind()`](http://api.jquery.com/bind/) (_deprecated_, use [`on()`](http://api.jquery.com/on/)) - Does not support namespaces, selectors or eventData\n * - [`children()`](http://api.jquery.com/children/) - Does not support selectors\n * - [`clone()`](http://api.jquery.com/clone/)\n * - [`contents()`](http://api.jquery.com/contents/)\n * - [`css()`](http://api.jquery.com/css/) - Only retrieves inline-styles, does not call `getComputedStyle()`.\n * As a setter, does not convert numbers to strings or append 'px', and also does not have automatic property prefixing.\n * - [`data()`](http://api.jquery.com/data/)\n * - [`detach()`](http://api.jquery.com/detach/)\n * - [`empty()`](http://api.jquery.com/empty/)\n * - [`eq()`](http://api.jquery.com/eq/)\n * - [`find()`](http://api.jquery.com/find/) - Limited to lookups by tag name\n * - [`hasClass()`](http://api.jquery.com/hasClass/)\n * - [`html()`](http://api.jquery.com/html/)\n * - [`next()`](http://api.jquery.com/next/) - Does not support selectors\n * - [`on()`](http://api.jquery.com/on/) - Does not support namespaces, selectors or eventData\n * - [`off()`](http://api.jquery.com/off/) - Does not support namespaces, selectors or event object as parameter\n * - [`one()`](http://api.jquery.com/one/) - Does not support namespaces or selectors\n * - [`parent()`](http://api.jquery.com/parent/) - Does not support selectors\n * - [`prepend()`](http://api.jquery.com/prepend/)\n * - [`prop()`](http://api.jquery.com/prop/)\n * - [`ready()`](http://api.jquery.com/ready/) (_deprecated_, use `angular.element(callback)` instead of `angular.element(document).ready(callback)`)\n * - [`remove()`](http://api.jquery.com/remove/)\n * - [`removeAttr()`](http://api.jquery.com/removeAttr/) - Does not support multiple attributes\n * - [`removeClass()`](http://api.jquery.com/removeClass/) - Does not support a function as first argument\n * - [`removeData()`](http://api.jquery.com/removeData/)\n * - [`replaceWith()`](http://api.jquery.com/replaceWith/)\n * - [`text()`](http://api.jquery.com/text/)\n * - [`toggleClass()`](http://api.jquery.com/toggleClass/) - Does not support a function as first argument\n * - [`triggerHandler()`](http://api.jquery.com/triggerHandler/) - Passes a dummy event object to handlers\n * - [`unbind()`](http://api.jquery.com/unbind/) (_deprecated_, use [`off()`](http://api.jquery.com/off/)) - Does not support namespaces or event object as parameter\n * - [`val()`](http://api.jquery.com/val/)\n * - [`wrap()`](http://api.jquery.com/wrap/)\n *\n * jqLite also provides a method restoring pre-1.8 insecure treatment of XHTML-like tags.\n * This legacy behavior turns input like `<div /><span />` to `<div></div><span></span>`\n * instead of `<div><span></span></div>` like version 1.8 & newer do. To restore it, invoke:\n * ```js\n * angular.UNSAFE_restoreLegacyJqLiteXHTMLReplacement();\n * ```\n * Note that this only patches jqLite. If you use jQuery 3.5.0 or newer, please read the\n * [jQuery 3.5 upgrade guide](https://jquery.com/upgrade-guide/3.5/) for more details\n * about the workarounds.\n *\n * ## jQuery/jqLite Extras\n * AngularJS also provides the following additional methods and events to both jQuery and jqLite:\n *\n * ### Events\n * - `$destroy` - AngularJS intercepts all jqLite/jQuery's DOM destruction apis and fires this event\n * on all DOM nodes being removed. This can be used to clean up any 3rd party bindings to the DOM\n * element before it is removed.\n *\n * ### Methods\n * - `controller(name)` - retrieves the controller of the current element or its parent. By default\n * retrieves controller associated with the `ngController` directive. If `name` is provided as\n * camelCase directive name, then the controller for this directive will be retrieved (e.g.\n * `'ngModel'`).\n * - `injector()` - retrieves the injector of the current element or its parent.\n * - `scope()` - retrieves the {@link ng.$rootScope.Scope scope} of the current\n * element or its parent. Requires {@link guide/production#disabling-debug-data Debug Data} to\n * be enabled.\n * - `isolateScope()` - retrieves an isolate {@link ng.$rootScope.Scope scope} if one is attached directly to the\n * current element. This getter should be used only on elements that contain a directive which starts a new isolate\n * scope. Calling `scope()` on this element always returns the original non-isolate scope.\n * Requires {@link guide/production#disabling-debug-data Debug Data} to be enabled.\n * - `inheritedData()` - same as `data()`, but walks up the DOM until a value is found or the top\n * parent element is reached.\n *\n * @knownIssue You cannot spy on `angular.element` if you are using Jasmine version 1.x. See\n * https://github.com/angular/angular.js/issues/14251 for more information.\n *\n * @param {string|DOMElement} element HTML string or DOMElement to be wrapped into jQuery.\n * @returns {Object} jQuery object.\n */\n\nJQLite.expando = 'ng339';\n\nvar jqCache = JQLite.cache = {},\n jqId = 1;\n\n/*\n * !!! This is an undocumented \"private\" function !!!\n */\nJQLite._data = function(node) {\n //jQuery always returns an object on cache miss\n return this.cache[node[this.expando]] || {};\n};\n\nfunction jqNextId() { return ++jqId; }\n\n\nvar DASH_LOWERCASE_REGEXP = /-([a-z])/g;\nvar MS_HACK_REGEXP = /^-ms-/;\nvar MOUSE_EVENT_MAP = { mouseleave: 'mouseout', mouseenter: 'mouseover' };\nvar jqLiteMinErr = minErr('jqLite');\n\n/**\n * Converts kebab-case to camelCase.\n * There is also a special case for the ms prefix starting with a lowercase letter.\n * @param name Name to normalize\n */\nfunction cssKebabToCamel(name) {\n return kebabToCamel(name.replace(MS_HACK_REGEXP, 'ms-'));\n}\n\nfunction fnCamelCaseReplace(all, letter) {\n return letter.toUpperCase();\n}\n\n/**\n * Converts kebab-case to camelCase.\n * @param name Name to normalize\n */\nfunction kebabToCamel(name) {\n return name\n .replace(DASH_LOWERCASE_REGEXP, fnCamelCaseReplace);\n}\n\nvar SINGLE_TAG_REGEXP = /^<([\\w-]+)\\s*\\/?>(?:<\\/\\1>|)$/;\nvar HTML_REGEXP = /<|&#?\\w+;/;\nvar TAG_NAME_REGEXP = /<([\\w:-]+)/;\nvar XHTML_TAG_REGEXP = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:-]+)[^>]*)\\/>/gi;\n\n// Table parts need to be wrapped with `<table>` or they're\n// stripped to their contents when put in a div.\n// XHTML parsers do not magically insert elements in the\n// same way that tag soup parsers do, so we cannot shorten\n// this by omitting <tbody> or other required elements.\nvar wrapMap = {\n thead: ['table'],\n col: ['colgroup', 'table'],\n tr: ['tbody', 'table'],\n td: ['tr', 'tbody', 'table']\n};\n\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n// Support: IE <10 only\n// IE 9 requires an option wrapper & it needs to have the whole table structure\n// set up in advance; assigning `\"<td></td>\"` to `tr.innerHTML` doesn't work, etc.\nvar wrapMapIE9 = {\n option: [1, '<select multiple=\"multiple\">', '</select>'],\n _default: [0, '', '']\n};\n\nfor (var key in wrapMap) {\n var wrapMapValueClosing = wrapMap[key];\n var wrapMapValue = wrapMapValueClosing.slice().reverse();\n wrapMapIE9[key] = [wrapMapValue.length, '<' + wrapMapValue.join('><') + '>', '</' + wrapMapValueClosing.join('></') + '>'];\n}\n\nwrapMapIE9.optgroup = wrapMapIE9.option;\n\nfunction jqLiteIsTextNode(html) {\n return !HTML_REGEXP.test(html);\n}\n\nfunction jqLiteAcceptsData(node) {\n // The window object can accept data but has no nodeType\n // Otherwise we are only interested in elements (1) and documents (9)\n var nodeType = node.nodeType;\n return nodeType === NODE_TYPE_ELEMENT || !nodeType || nodeType === NODE_TYPE_DOCUMENT;\n}\n\nfunction jqLiteHasData(node) {\n for (var key in jqCache[node.ng339]) {\n return true;\n }\n return false;\n}\n\nfunction jqLiteBuildFragment(html, context) {\n var tmp, tag, wrap, finalHtml,\n fragment = context.createDocumentFragment(),\n nodes = [], i;\n\n if (jqLiteIsTextNode(html)) {\n // Convert non-html into a text node\n nodes.push(context.createTextNode(html));\n } else {\n // Convert html into DOM nodes\n tmp = fragment.appendChild(context.createElement('div'));\n tag = (TAG_NAME_REGEXP.exec(html) || ['', ''])[1].toLowerCase();\n finalHtml = JQLite.legacyXHTMLReplacement ?\n html.replace(XHTML_TAG_REGEXP, '<$1></$2>') :\n html;\n\n if (msie < 10) {\n wrap = wrapMapIE9[tag] || wrapMapIE9._default;\n tmp.innerHTML = wrap[1] + finalHtml + wrap[2];\n\n // Descend through wrappers to the right content\n i = wrap[0];\n while (i--) {\n tmp = tmp.firstChild;\n }\n } else {\n wrap = wrapMap[tag] || [];\n\n // Create wrappers & descend into them\n i = wrap.length;\n while (--i > -1) {\n tmp.appendChild(window.document.createElement(wrap[i]));\n tmp = tmp.firstChild;\n }\n\n tmp.innerHTML = finalHtml;\n }\n\n nodes = concat(nodes, tmp.childNodes);\n\n tmp = fragment.firstChild;\n tmp.textContent = '';\n }\n\n // Remove wrapper from fragment\n fragment.textContent = '';\n fragment.innerHTML = ''; // Clear inner HTML\n forEach(nodes, function(node) {\n fragment.appendChild(node);\n });\n\n return fragment;\n}\n\nfunction jqLiteParseHTML(html, context) {\n context = context || window.document;\n var parsed;\n\n if ((parsed = SINGLE_TAG_REGEXP.exec(html))) {\n return [context.createElement(parsed[1])];\n }\n\n if ((parsed = jqLiteBuildFragment(html, context))) {\n return parsed.childNodes;\n }\n\n return [];\n}\n\nfunction jqLiteWrapNode(node, wrapper) {\n var parent = node.parentNode;\n\n if (parent) {\n parent.replaceChild(wrapper, node);\n }\n\n wrapper.appendChild(node);\n}\n\n\n// IE9-11 has no method \"contains\" in SVG element and in Node.prototype. Bug #10259.\nvar jqLiteContains = window.Node.prototype.contains || /** @this */ function(arg) {\n // eslint-disable-next-line no-bitwise\n return !!(this.compareDocumentPosition(arg) & 16);\n};\n\n/////////////////////////////////////////////\nfunction JQLite(element) {\n if (element instanceof JQLite) {\n return element;\n }\n\n var argIsString;\n\n if (isString(element)) {\n element = trim(element);\n argIsString = true;\n }\n if (!(this instanceof JQLite)) {\n if (argIsString && element.charAt(0) !== '<') {\n throw jqLiteMinErr('nosel', 'Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element');\n }\n return new JQLite(element);\n }\n\n if (argIsString) {\n jqLiteAddNodes(this, jqLiteParseHTML(element));\n } else if (isFunction(element)) {\n jqLiteReady(element);\n } else {\n jqLiteAddNodes(this, element);\n }\n}\n\nfunction jqLiteClone(element) {\n return element.cloneNode(true);\n}\n\nfunction jqLiteDealoc(element, onlyDescendants) {\n if (!onlyDescendants && jqLiteAcceptsData(element)) jqLite.cleanData([element]);\n\n if (element.querySelectorAll) {\n jqLite.cleanData(element.querySelectorAll('*'));\n }\n}\n\nfunction isEmptyObject(obj) {\n var name;\n\n for (name in obj) {\n return false;\n }\n return true;\n}\n\nfunction removeIfEmptyData(element) {\n var expandoId = element.ng339;\n var expandoStore = expandoId && jqCache[expandoId];\n\n var events = expandoStore && expandoStore.events;\n var data = expandoStore && expandoStore.data;\n\n if ((!data || isEmptyObject(data)) && (!events || isEmptyObject(events))) {\n delete jqCache[expandoId];\n element.ng339 = undefined; // don't delete DOM expandos. IE and Chrome don't like it\n }\n}\n\nfunction jqLiteOff(element, type, fn, unsupported) {\n if (isDefined(unsupported)) throw jqLiteMinErr('offargs', 'jqLite#off() does not support the `selector` argument');\n\n var expandoStore = jqLiteExpandoStore(element);\n var events = expandoStore && expandoStore.events;\n var handle = expandoStore && expandoStore.handle;\n\n if (!handle) return; //no listeners registered\n\n if (!type) {\n for (type in events) {\n if (type !== '$destroy') {\n element.removeEventListener(type, handle);\n }\n delete events[type];\n }\n } else {\n\n var removeHandler = function(type) {\n var listenerFns = events[type];\n if (isDefined(fn)) {\n arrayRemove(listenerFns || [], fn);\n }\n if (!(isDefined(fn) && listenerFns && listenerFns.length > 0)) {\n element.removeEventListener(type, handle);\n delete events[type];\n }\n };\n\n forEach(type.split(' '), function(type) {\n removeHandler(type);\n if (MOUSE_EVENT_MAP[type]) {\n removeHandler(MOUSE_EVENT_MAP[type]);\n }\n });\n }\n\n removeIfEmptyData(element);\n}\n\nfunction jqLiteRemoveData(element, name) {\n var expandoId = element.ng339;\n var expandoStore = expandoId && jqCache[expandoId];\n\n if (expandoStore) {\n if (name) {\n delete expandoStore.data[name];\n } else {\n expandoStore.data = {};\n }\n\n removeIfEmptyData(element);\n }\n}\n\n\nfunction jqLiteExpandoStore(element, createIfNecessary) {\n var expandoId = element.ng339,\n expandoStore = expandoId && jqCache[expandoId];\n\n if (createIfNecessary && !expandoStore) {\n element.ng339 = expandoId = jqNextId();\n expandoStore = jqCache[expandoId] = {events: {}, data: {}, handle: undefined};\n }\n\n return expandoStore;\n}\n\n\nfunction jqLiteData(element, key, value) {\n if (jqLiteAcceptsData(element)) {\n var prop;\n\n var isSimpleSetter = isDefined(value);\n var isSimpleGetter = !isSimpleSetter && key && !isObject(key);\n var massGetter = !key;\n var expandoStore = jqLiteExpandoStore(element, !isSimpleGetter);\n var data = expandoStore && expandoStore.data;\n\n if (isSimpleSetter) { // data('key', value)\n data[kebabToCamel(key)] = value;\n } else {\n if (massGetter) { // data()\n return data;\n } else {\n if (isSimpleGetter) { // data('key')\n // don't force creation of expandoStore if it doesn't exist yet\n return data && data[kebabToCamel(key)];\n } else { // mass-setter: data({key1: val1, key2: val2})\n for (prop in key) {\n data[kebabToCamel(prop)] = key[prop];\n }\n }\n }\n }\n }\n}\n\nfunction jqLiteHasClass(element, selector) {\n if (!element.getAttribute) return false;\n return ((' ' + (element.getAttribute('class') || '') + ' ').replace(/[\\n\\t]/g, ' ').\n indexOf(' ' + selector + ' ') > -1);\n}\n\nfunction jqLiteRemoveClass(element, cssClasses) {\n if (cssClasses && element.setAttribute) {\n var existingClasses = (' ' + (element.getAttribute('class') || '') + ' ')\n .replace(/[\\n\\t]/g, ' ');\n var newClasses = existingClasses;\n\n forEach(cssClasses.split(' '), function(cssClass) {\n cssClass = trim(cssClass);\n newClasses = newClasses.replace(' ' + cssClass + ' ', ' ');\n });\n\n if (newClasses !== existingClasses) {\n element.setAttribute('class', trim(newClasses));\n }\n }\n}\n\nfunction jqLiteAddClass(element, cssClasses) {\n if (cssClasses && element.setAttribute) {\n var existingClasses = (' ' + (element.getAttribute('class') || '') + ' ')\n .replace(/[\\n\\t]/g, ' ');\n var newClasses = existingClasses;\n\n forEach(cssClasses.split(' '), function(cssClass) {\n cssClass = trim(cssClass);\n if (newClasses.indexOf(' ' + cssClass + ' ') === -1) {\n newClasses += cssClass + ' ';\n }\n });\n\n if (newClasses !== existingClasses) {\n element.setAttribute('class', trim(newClasses));\n }\n }\n}\n\n\nfunction jqLiteAddNodes(root, elements) {\n // THIS CODE IS VERY HOT. Don't make changes without benchmarking.\n\n if (elements) {\n\n // if a Node (the most common case)\n if (elements.nodeType) {\n root[root.length++] = elements;\n } else {\n var length = elements.length;\n\n // if an Array or NodeList and not a Window\n if (typeof length === 'number' && elements.window !== elements) {\n if (length) {\n for (var i = 0; i < length; i++) {\n root[root.length++] = elements[i];\n }\n }\n } else {\n root[root.length++] = elements;\n }\n }\n }\n}\n\n\nfunction jqLiteController(element, name) {\n return jqLiteInheritedData(element, '$' + (name || 'ngController') + 'Controller');\n}\n\nfunction jqLiteInheritedData(element, name, value) {\n // if element is the document object work with the html element instead\n // this makes $(document).scope() possible\n if (element.nodeType === NODE_TYPE_DOCUMENT) {\n element = element.documentElement;\n }\n var names = isArray(name) ? name : [name];\n\n while (element) {\n for (var i = 0, ii = names.length; i < ii; i++) {\n if (isDefined(value = jqLite.data(element, names[i]))) return value;\n }\n\n // If dealing with a document fragment node with a host element, and no parent, use the host\n // element as the parent. This enables directives within a Shadow DOM or polyfilled Shadow DOM\n // to lookup parent controllers.\n element = element.parentNode || (element.nodeType === NODE_TYPE_DOCUMENT_FRAGMENT && element.host);\n }\n}\n\nfunction jqLiteEmpty(element) {\n jqLiteDealoc(element, true);\n while (element.firstChild) {\n element.removeChild(element.firstChild);\n }\n}\n\nfunction jqLiteRemove(element, keepData) {\n if (!keepData) jqLiteDealoc(element);\n var parent = element.parentNode;\n if (parent) parent.removeChild(element);\n}\n\n\nfunction jqLiteDocumentLoaded(action, win) {\n win = win || window;\n if (win.document.readyState === 'complete') {\n // Force the action to be run async for consistent behavior\n // from the action's point of view\n // i.e. it will definitely not be in a $apply\n win.setTimeout(action);\n } else {\n // No need to unbind this handler as load is only ever called once\n jqLite(win).on('load', action);\n }\n}\n\nfunction jqLiteReady(fn) {\n function trigger() {\n window.document.removeEventListener('DOMContentLoaded', trigger);\n window.removeEventListener('load', trigger);\n fn();\n }\n\n // check if document is already loaded\n if (window.document.readyState === 'complete') {\n window.setTimeout(fn);\n } else {\n // We can not use jqLite since we are not done loading and jQuery could be loaded later.\n\n // Works for modern browsers and IE9\n window.document.addEventListener('DOMContentLoaded', trigger);\n\n // Fallback to window.onload for others\n window.addEventListener('load', trigger);\n }\n}\n\n//////////////////////////////////////////\n// Functions which are declared directly.\n//////////////////////////////////////////\nvar JQLitePrototype = JQLite.prototype = {\n ready: jqLiteReady,\n toString: function() {\n var value = [];\n forEach(this, function(e) { value.push('' + e);});\n return '[' + value.join(', ') + ']';\n },\n\n eq: function(index) {\n return (index >= 0) ? jqLite(this[index]) : jqLite(this[this.length + index]);\n },\n\n length: 0,\n push: push,\n sort: [].sort,\n splice: [].splice\n};\n\n//////////////////////////////////////////\n// Functions iterating getter/setters.\n// these functions return self on setter and\n// value on get.\n//////////////////////////////////////////\nvar BOOLEAN_ATTR = {};\nforEach('multiple,selected,checked,disabled,readOnly,required,open'.split(','), function(value) {\n BOOLEAN_ATTR[lowercase(value)] = value;\n});\nvar BOOLEAN_ELEMENTS = {};\nforEach('input,select,option,textarea,button,form,details'.split(','), function(value) {\n BOOLEAN_ELEMENTS[value] = true;\n});\nvar ALIASED_ATTR = {\n 'ngMinlength': 'minlength',\n 'ngMaxlength': 'maxlength',\n 'ngMin': 'min',\n 'ngMax': 'max',\n 'ngPattern': 'pattern',\n 'ngStep': 'step'\n};\n\nfunction getBooleanAttrName(element, name) {\n // check dom last since we will most likely fail on name\n var booleanAttr = BOOLEAN_ATTR[name.toLowerCase()];\n\n // booleanAttr is here twice to minimize DOM access\n return booleanAttr && BOOLEAN_ELEMENTS[nodeName_(element)] && booleanAttr;\n}\n\nfunction getAliasedAttrName(name) {\n return ALIASED_ATTR[name];\n}\n\nforEach({\n data: jqLiteData,\n removeData: jqLiteRemoveData,\n hasData: jqLiteHasData,\n cleanData: function jqLiteCleanData(nodes) {\n for (var i = 0, ii = nodes.length; i < ii; i++) {\n jqLiteRemoveData(nodes[i]);\n jqLiteOff(nodes[i]);\n }\n }\n}, function(fn, name) {\n JQLite[name] = fn;\n});\n\nforEach({\n data: jqLiteData,\n inheritedData: jqLiteInheritedData,\n\n scope: function(element) {\n // Can't use jqLiteData here directly so we stay compatible with jQuery!\n return jqLite.data(element, '$scope') || jqLiteInheritedData(element.parentNode || element, ['$isolateScope', '$scope']);\n },\n\n isolateScope: function(element) {\n // Can't use jqLiteData here directly so we stay compatible with jQuery!\n return jqLite.data(element, '$isolateScope') || jqLite.data(element, '$isolateScopeNoTemplate');\n },\n\n controller: jqLiteController,\n\n injector: function(element) {\n return jqLiteInheritedData(element, '$injector');\n },\n\n removeAttr: function(element, name) {\n element.removeAttribute(name);\n },\n\n hasClass: jqLiteHasClass,\n\n css: function(element, name, value) {\n name = cssKebabToCamel(name);\n\n if (isDefined(value)) {\n element.style[name] = value;\n } else {\n return element.style[name];\n }\n },\n\n attr: function(element, name, value) {\n var ret;\n var nodeType = element.nodeType;\n if (nodeType === NODE_TYPE_TEXT || nodeType === NODE_TYPE_ATTRIBUTE || nodeType === NODE_TYPE_COMMENT ||\n !element.getAttribute) {\n return;\n }\n\n var lowercasedName = lowercase(name);\n var isBooleanAttr = BOOLEAN_ATTR[lowercasedName];\n\n if (isDefined(value)) {\n // setter\n\n if (value === null || (value === false && isBooleanAttr)) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, isBooleanAttr ? lowercasedName : value);\n }\n } else {\n // getter\n\n ret = element.getAttribute(name);\n\n if (isBooleanAttr && ret !== null) {\n ret = lowercasedName;\n }\n // Normalize non-existing attributes to undefined (as jQuery).\n return ret === null ? undefined : ret;\n }\n },\n\n prop: function(element, name, value) {\n if (isDefined(value)) {\n element[name] = value;\n } else {\n return element[name];\n }\n },\n\n text: (function() {\n getText.$dv = '';\n return getText;\n\n function getText(element, value) {\n if (isUndefined(value)) {\n var nodeType = element.nodeType;\n return (nodeType === NODE_TYPE_ELEMENT || nodeType === NODE_TYPE_TEXT) ? element.textContent : '';\n }\n element.textContent = value;\n }\n })(),\n\n val: function(element, value) {\n if (isUndefined(value)) {\n if (element.multiple && nodeName_(element) === 'select') {\n var result = [];\n forEach(element.options, function(option) {\n if (option.selected) {\n result.push(option.value || option.text);\n }\n });\n return result;\n }\n return element.value;\n }\n element.value = value;\n },\n\n html: function(element, value) {\n if (isUndefined(value)) {\n return element.innerHTML;\n }\n jqLiteDealoc(element, true);\n element.innerHTML = value;\n },\n\n empty: jqLiteEmpty\n}, function(fn, name) {\n /**\n * Properties: writes return selection, reads return first value\n */\n JQLite.prototype[name] = function(arg1, arg2) {\n var i, key;\n var nodeCount = this.length;\n\n // jqLiteHasClass has only two arguments, but is a getter-only fn, so we need to special-case it\n // in a way that survives minification.\n // jqLiteEmpty takes no arguments but is a setter.\n if (fn !== jqLiteEmpty &&\n (isUndefined((fn.length === 2 && (fn !== jqLiteHasClass && fn !== jqLiteController)) ? arg1 : arg2))) {\n if (isObject(arg1)) {\n\n // we are a write, but the object properties are the key/values\n for (i = 0; i < nodeCount; i++) {\n if (fn === jqLiteData) {\n // data() takes the whole object in jQuery\n fn(this[i], arg1);\n } else {\n for (key in arg1) {\n fn(this[i], key, arg1[key]);\n }\n }\n }\n // return self for chaining\n return this;\n } else {\n // we are a read, so read the first child.\n // TODO: do we still need this?\n var value = fn.$dv;\n // Only if we have $dv do we iterate over all, otherwise it is just the first element.\n var jj = (isUndefined(value)) ? Math.min(nodeCount, 1) : nodeCount;\n for (var j = 0; j < jj; j++) {\n var nodeValue = fn(this[j], arg1, arg2);\n value = value ? value + nodeValue : nodeValue;\n }\n return value;\n }\n } else {\n // we are a write, so apply to all children\n for (i = 0; i < nodeCount; i++) {\n fn(this[i], arg1, arg2);\n }\n // return self for chaining\n return this;\n }\n };\n});\n\nfunction createEventHandler(element, events) {\n var eventHandler = function(event, type) {\n // jQuery specific api\n event.isDefaultPrevented = function() {\n return event.defaultPrevented;\n };\n\n var eventFns = events[type || event.type];\n var eventFnsLength = eventFns ? eventFns.length : 0;\n\n if (!eventFnsLength) return;\n\n if (isUndefined(event.immediatePropagationStopped)) {\n var originalStopImmediatePropagation = event.stopImmediatePropagation;\n event.stopImmediatePropagation = function() {\n event.immediatePropagationStopped = true;\n\n if (event.stopPropagation) {\n event.stopPropagation();\n }\n\n if (originalStopImmediatePropagation) {\n originalStopImmediatePropagation.call(event);\n }\n };\n }\n\n event.isImmediatePropagationStopped = function() {\n return event.immediatePropagationStopped === true;\n };\n\n // Some events have special handlers that wrap the real handler\n var handlerWrapper = eventFns.specialHandlerWrapper || defaultHandlerWrapper;\n\n // Copy event handlers in case event handlers array is modified during execution.\n if ((eventFnsLength > 1)) {\n eventFns = shallowCopy(eventFns);\n }\n\n for (var i = 0; i < eventFnsLength; i++) {\n if (!event.isImmediatePropagationStopped()) {\n handlerWrapper(element, event, eventFns[i]);\n }\n }\n };\n\n // TODO: this is a hack for angularMocks/clearDataCache that makes it possible to deregister all\n // events on `element`\n eventHandler.elem = element;\n return eventHandler;\n}\n\nfunction defaultHandlerWrapper(element, event, handler) {\n handler.call(element, event);\n}\n\nfunction specialMouseHandlerWrapper(target, event, handler) {\n // Refer to jQuery's implementation of mouseenter & mouseleave\n // Read about mouseenter and mouseleave:\n // http://www.quirksmode.org/js/events_mouse.html#link8\n var related = event.relatedTarget;\n // For mousenter/leave call the handler if related is outside the target.\n // NB: No relatedTarget if the mouse left/entered the browser window\n if (!related || (related !== target && !jqLiteContains.call(target, related))) {\n handler.call(target, event);\n }\n}\n\n//////////////////////////////////////////\n// Functions iterating traversal.\n// These functions chain results into a single\n// selector.\n//////////////////////////////////////////\nforEach({\n removeData: jqLiteRemoveData,\n\n on: function jqLiteOn(element, type, fn, unsupported) {\n if (isDefined(unsupported)) throw jqLiteMinErr('onargs', 'jqLite#on() does not support the `selector` or `eventData` parameters');\n\n // Do not add event handlers to non-elements because they will not be cleaned up.\n if (!jqLiteAcceptsData(element)) {\n return;\n }\n\n var expandoStore = jqLiteExpandoStore(element, true);\n var events = expandoStore.events;\n var handle = expandoStore.handle;\n\n if (!handle) {\n handle = expandoStore.handle = createEventHandler(element, events);\n }\n\n // http://jsperf.com/string-indexof-vs-split\n var types = type.indexOf(' ') >= 0 ? type.split(' ') : [type];\n var i = types.length;\n\n var addHandler = function(type, specialHandlerWrapper, noEventListener) {\n var eventFns = events[type];\n\n if (!eventFns) {\n eventFns = events[type] = [];\n eventFns.specialHandlerWrapper = specialHandlerWrapper;\n if (type !== '$destroy' && !noEventListener) {\n element.addEventListener(type, handle);\n }\n }\n\n eventFns.push(fn);\n };\n\n while (i--) {\n type = types[i];\n if (MOUSE_EVENT_MAP[type]) {\n addHandler(MOUSE_EVENT_MAP[type], specialMouseHandlerWrapper);\n addHandler(type, undefined, true);\n } else {\n addHandler(type);\n }\n }\n },\n\n off: jqLiteOff,\n\n one: function(element, type, fn) {\n element = jqLite(element);\n\n //add the listener twice so that when it is called\n //you can remove the original function and still be\n //able to call element.off(ev, fn) normally\n element.on(type, function onFn() {\n element.off(type, fn);\n element.off(type, onFn);\n });\n element.on(type, fn);\n },\n\n replaceWith: function(element, replaceNode) {\n var index, parent = element.parentNode;\n jqLiteDealoc(element);\n forEach(new JQLite(replaceNode), function(node) {\n if (index) {\n parent.insertBefore(node, index.nextSibling);\n } else {\n parent.replaceChild(node, element);\n }\n index = node;\n });\n },\n\n children: function(element) {\n var children = [];\n forEach(element.childNodes, function(element) {\n if (element.nodeType === NODE_TYPE_ELEMENT) {\n children.push(element);\n }\n });\n return children;\n },\n\n contents: function(element) {\n return element.contentDocument || element.childNodes || [];\n },\n\n append: function(element, node) {\n var nodeType = element.nodeType;\n if (nodeType !== NODE_TYPE_ELEMENT && nodeType !== NODE_TYPE_DOCUMENT_FRAGMENT) return;\n\n node = new JQLite(node);\n\n for (var i = 0, ii = node.length; i < ii; i++) {\n var child = node[i];\n element.appendChild(child);\n }\n },\n\n prepend: function(element, node) {\n if (element.nodeType === NODE_TYPE_ELEMENT) {\n var index = element.firstChild;\n forEach(new JQLite(node), function(child) {\n element.insertBefore(child, index);\n });\n }\n },\n\n wrap: function(element, wrapNode) {\n jqLiteWrapNode(element, jqLite(wrapNode).eq(0).clone()[0]);\n },\n\n remove: jqLiteRemove,\n\n detach: function(element) {\n jqLiteRemove(element, true);\n },\n\n after: function(element, newElement) {\n var index = element, parent = element.parentNode;\n\n if (parent) {\n newElement = new JQLite(newElement);\n\n for (var i = 0, ii = newElement.length; i < ii; i++) {\n var node = newElement[i];\n parent.insertBefore(node, index.nextSibling);\n index = node;\n }\n }\n },\n\n addClass: jqLiteAddClass,\n removeClass: jqLiteRemoveClass,\n\n toggleClass: function(element, selector, condition) {\n if (selector) {\n forEach(selector.split(' '), function(className) {\n var classCondition = condition;\n if (isUndefined(classCondition)) {\n classCondition = !jqLiteHasClass(element, className);\n }\n (classCondition ? jqLiteAddClass : jqLiteRemoveClass)(element, className);\n });\n }\n },\n\n parent: function(element) {\n var parent = element.parentNode;\n return parent && parent.nodeType !== NODE_TYPE_DOCUMENT_FRAGMENT ? parent : null;\n },\n\n next: function(element) {\n return element.nextElementSibling;\n },\n\n find: function(element, selector) {\n if (element.getElementsByTagName) {\n return element.getElementsByTagName(selector);\n } else {\n return [];\n }\n },\n\n clone: jqLiteClone,\n\n triggerHandler: function(element, event, extraParameters) {\n\n var dummyEvent, eventFnsCopy, handlerArgs;\n var eventName = event.type || event;\n var expandoStore = jqLiteExpandoStore(element);\n var events = expandoStore && expandoStore.events;\n var eventFns = events && events[eventName];\n\n if (eventFns) {\n // Create a dummy event to pass to the handlers\n dummyEvent = {\n preventDefault: function() { this.defaultPrevented = true; },\n isDefaultPrevented: function() { return this.defaultPrevented === true; },\n stopImmediatePropagation: function() { this.immediatePropagationStopped = true; },\n isImmediatePropagationStopped: function() { return this.immediatePropagationStopped === true; },\n stopPropagation: noop,\n type: eventName,\n target: element\n };\n\n // If a custom event was provided then extend our dummy event with it\n if (event.type) {\n dummyEvent = extend(dummyEvent, event);\n }\n\n // Copy event handlers in case event handlers array is modified during execution.\n eventFnsCopy = shallowCopy(eventFns);\n handlerArgs = extraParameters ? [dummyEvent].concat(extraParameters) : [dummyEvent];\n\n forEach(eventFnsCopy, function(fn) {\n if (!dummyEvent.isImmediatePropagationStopped()) {\n fn.apply(element, handlerArgs);\n }\n });\n }\n }\n}, function(fn, name) {\n /**\n * chaining functions\n */\n JQLite.prototype[name] = function(arg1, arg2, arg3) {\n var value;\n\n for (var i = 0, ii = this.length; i < ii; i++) {\n if (isUndefined(value)) {\n value = fn(this[i], arg1, arg2, arg3);\n if (isDefined(value)) {\n // any function which returns a value needs to be wrapped\n value = jqLite(value);\n }\n } else {\n jqLiteAddNodes(value, fn(this[i], arg1, arg2, arg3));\n }\n }\n return isDefined(value) ? value : this;\n };\n});\n\n// bind legacy bind/unbind to on/off\nJQLite.prototype.bind = JQLite.prototype.on;\nJQLite.prototype.unbind = JQLite.prototype.off;\n\n\n// Provider for private $$jqLite service\n/** @this */\nfunction $$jqLiteProvider() {\n this.$get = function $$jqLite() {\n return extend(JQLite, {\n hasClass: function(node, classes) {\n if (node.attr) node = node[0];\n return jqLiteHasClass(node, classes);\n },\n addClass: function(node, classes) {\n if (node.attr) node = node[0];\n return jqLiteAddClass(node, classes);\n },\n removeClass: function(node, classes) {\n if (node.attr) node = node[0];\n return jqLiteRemoveClass(node, classes);\n }\n });\n };\n}\n\n/**\n * Computes a hash of an 'obj'.\n * Hash of a:\n * string is string\n * number is number as string\n * object is either result of calling $$hashKey function on the object or uniquely generated id,\n * that is also assigned to the $$hashKey property of the object.\n *\n * @param obj\n * @returns {string} hash string such that the same input will have the same hash string.\n * The resulting string key is in 'type:hashKey' format.\n */\nfunction hashKey(obj, nextUidFn) {\n var key = obj && obj.$$hashKey;\n\n if (key) {\n if (typeof key === 'function') {\n key = obj.$$hashKey();\n }\n return key;\n }\n\n var objType = typeof obj;\n if (objType === 'function' || (objType === 'object' && obj !== null)) {\n key = obj.$$hashKey = objType + ':' + (nextUidFn || nextUid)();\n } else {\n key = objType + ':' + obj;\n }\n\n return key;\n}\n\n// A minimal ES2015 Map implementation.\n// Should be bug/feature equivalent to the native implementations of supported browsers\n// (for the features required in Angular).\n// See https://kangax.github.io/compat-table/es6/#test-Map\nvar nanKey = Object.create(null);\nfunction NgMapShim() {\n this._keys = [];\n this._values = [];\n this._lastKey = NaN;\n this._lastIndex = -1;\n}\nNgMapShim.prototype = {\n _idx: function(key) {\n if (key !== this._lastKey) {\n this._lastKey = key;\n this._lastIndex = this._keys.indexOf(key);\n }\n return this._lastIndex;\n },\n _transformKey: function(key) {\n return isNumberNaN(key) ? nanKey : key;\n },\n get: function(key) {\n key = this._transformKey(key);\n var idx = this._idx(key);\n if (idx !== -1) {\n return this._values[idx];\n }\n },\n has: function(key) {\n key = this._transformKey(key);\n var idx = this._idx(key);\n return idx !== -1;\n },\n set: function(key, value) {\n key = this._transformKey(key);\n var idx = this._idx(key);\n if (idx === -1) {\n idx = this._lastIndex = this._keys.length;\n }\n this._keys[idx] = key;\n this._values[idx] = value;\n\n // Support: IE11\n // Do not `return this` to simulate the partial IE11 implementation\n },\n delete: function(key) {\n key = this._transformKey(key);\n var idx = this._idx(key);\n if (idx === -1) {\n return false;\n }\n this._keys.splice(idx, 1);\n this._values.splice(idx, 1);\n this._lastKey = NaN;\n this._lastIndex = -1;\n return true;\n }\n};\n\n// For now, always use `NgMapShim`, even if `window.Map` is available. Some native implementations\n// are still buggy (often in subtle ways) and can cause hard-to-debug failures. When native `Map`\n// implementations get more stable, we can reconsider switching to `window.Map` (when available).\nvar NgMap = NgMapShim;\n\nvar $$MapProvider = [/** @this */function() {\n this.$get = [function() {\n return NgMap;\n }];\n}];\n\n/**\n * @ngdoc function\n * @module ng\n * @name angular.injector\n * @kind function\n *\n * @description\n * Creates an injector object that can be used for retrieving services as well as for\n * dependency injection (see {@link guide/di dependency injection}).\n *\n * @param {Array.<string|Function>} modules A list of module functions or their aliases. See\n * {@link angular.module}. The `ng` module must be explicitly added.\n * @param {boolean=} [strictDi=false] Whether the injector should be in strict mode, which\n * disallows argument name annotation inference.\n * @returns {injector} Injector object. See {@link auto.$injector $injector}.\n *\n * @example\n * Typical usage\n * ```js\n * // create an injector\n * var $injector = angular.injector(['ng']);\n *\n * // use the injector to kick off your application\n * // use the type inference to auto inject arguments, or use implicit injection\n * $injector.invoke(function($rootScope, $compile, $document) {\n * $compile($document)($rootScope);\n * $rootScope.$digest();\n * });\n * ```\n *\n * Sometimes you want to get access to the injector of a currently running AngularJS app\n * from outside AngularJS. Perhaps, you want to inject and compile some markup after the\n * application has been bootstrapped. You can do this using the extra `injector()` added\n * to JQuery/jqLite elements. See {@link angular.element}.\n *\n * *This is fairly rare but could be the case if a third party library is injecting the\n * markup.*\n *\n * In the following example a new block of HTML containing a `ng-controller`\n * directive is added to the end of the document body by JQuery. We then compile and link\n * it into the current AngularJS scope.\n *\n * ```js\n * var $div = $('<div ng-controller=\"MyCtrl\">{{content.label}}</div>');\n * $(document.body).append($div);\n *\n * angular.element(document).injector().invoke(function($compile) {\n * var scope = angular.element($div).scope();\n * $compile($div)(scope);\n * });\n * ```\n */\n\n\n/**\n * @ngdoc module\n * @name auto\n * @installation\n * @description\n *\n * Implicit module which gets automatically added to each {@link auto.$injector $injector}.\n */\n\nvar ARROW_ARG = /^([^(]+?)=>/;\nvar FN_ARGS = /^[^(]*\\(\\s*([^)]*)\\)/m;\nvar FN_ARG_SPLIT = /,/;\nvar FN_ARG = /^\\s*(_?)(\\S+?)\\1\\s*$/;\nvar STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/mg;\nvar $injectorMinErr = minErr('$injector');\n\nfunction stringifyFn(fn) {\n return Function.prototype.toString.call(fn);\n}\n\nfunction extractArgs(fn) {\n var fnText = stringifyFn(fn).replace(STRIP_COMMENTS, ''),\n args = fnText.match(ARROW_ARG) || fnText.match(FN_ARGS);\n return args;\n}\n\nfunction anonFn(fn) {\n // For anonymous functions, showing at the very least the function signature can help in\n // debugging.\n var args = extractArgs(fn);\n if (args) {\n return 'function(' + (args[1] || '').replace(/[\\s\\r\\n]+/, ' ') + ')';\n }\n return 'fn';\n}\n\nfunction annotate(fn, strictDi, name) {\n var $inject,\n argDecl,\n last;\n\n if (typeof fn === 'function') {\n if (!($inject = fn.$inject)) {\n $inject = [];\n if (fn.length) {\n if (strictDi) {\n if (!isString(name) || !name) {\n name = fn.name || anonFn(fn);\n }\n throw $injectorMinErr('strictdi',\n '{0} is not using explicit annotation and cannot be invoked in strict mode', name);\n }\n argDecl = extractArgs(fn);\n forEach(argDecl[1].split(FN_ARG_SPLIT), function(arg) {\n arg.replace(FN_ARG, function(all, underscore, name) {\n $inject.push(name);\n });\n });\n }\n fn.$inject = $inject;\n }\n } else if (isArray(fn)) {\n last = fn.length - 1;\n assertArgFn(fn[last], 'fn');\n $inject = fn.slice(0, last);\n } else {\n assertArgFn(fn, 'fn', true);\n }\n return $inject;\n}\n\n///////////////////////////////////////\n\n/**\n * @ngdoc service\n * @name $injector\n *\n * @description\n *\n * `$injector` is used to retrieve object instances as defined by\n * {@link auto.$provide provider}, instantiate types, invoke methods,\n * and load modules.\n *\n * The following always holds true:\n *\n * ```js\n * var $injector = angular.injector();\n * expect($injector.get('$injector')).toBe($injector);\n * expect($injector.invoke(function($injector) {\n * return $injector;\n * })).toBe($injector);\n * ```\n *\n * ## Injection Function Annotation\n *\n * JavaScript does not have annotations, and annotations are needed for dependency injection. The\n * following are all valid ways of annotating function with injection arguments and are equivalent.\n *\n * ```js\n * // inferred (only works if code not minified/obfuscated)\n * $injector.invoke(function(serviceA){});\n *\n * // annotated\n * function explicit(serviceA) {};\n * explicit.$inject = ['serviceA'];\n * $injector.invoke(explicit);\n *\n * // inline\n * $injector.invoke(['serviceA', function(serviceA){}]);\n * ```\n *\n * ### Inference\n *\n * In JavaScript calling `toString()` on a function returns the function definition. The definition\n * can then be parsed and the function arguments can be extracted. This method of discovering\n * annotations is disallowed when the injector is in strict mode.\n * *NOTE:* This does not work with minification, and obfuscation tools since these tools change the\n * argument names.\n *\n * ### `$inject` Annotation\n * By adding an `$inject` property onto a function the injection parameters can be specified.\n *\n * ### Inline\n * As an array of injection names, where the last item in the array is the function to call.\n */\n\n/**\n * @ngdoc property\n * @name $injector#modules\n * @type {Object}\n * @description\n * A hash containing all the modules that have been loaded into the\n * $injector.\n *\n * You can use this property to find out information about a module via the\n * {@link angular.Module#info `myModule.info(...)`} method.\n *\n * For example:\n *\n * ```\n * var info = $injector.modules['ngAnimate'].info();\n * ```\n *\n * **Do not use this property to attempt to modify the modules after the application\n * has been bootstrapped.**\n */\n\n\n/**\n * @ngdoc method\n * @name $injector#get\n *\n * @description\n * Return an instance of the service.\n *\n * @param {string} name The name of the instance to retrieve.\n * @param {string=} caller An optional string to provide the origin of the function call for error messages.\n * @return {*} The instance.\n */\n\n/**\n * @ngdoc method\n * @name $injector#invoke\n *\n * @description\n * Invoke the method and supply the method arguments from the `$injector`.\n *\n * @param {Function|Array.<string|Function>} fn The injectable function to invoke. Function parameters are\n * injected according to the {@link guide/di $inject Annotation} rules.\n * @param {Object=} self The `this` for the invoked method.\n * @param {Object=} locals Optional object. If preset then any argument names are read from this\n * object first, before the `$injector` is consulted.\n * @returns {*} the value returned by the invoked `fn` function.\n */\n\n/**\n * @ngdoc method\n * @name $injector#has\n *\n * @description\n * Allows the user to query if the particular service exists.\n *\n * @param {string} name Name of the service to query.\n * @returns {boolean} `true` if injector has given service.\n */\n\n/**\n * @ngdoc method\n * @name $injector#instantiate\n * @description\n * Create a new instance of JS type. The method takes a constructor function, invokes the new\n * operator, and supplies all of the arguments to the constructor function as specified by the\n * constructor annotation.\n *\n * @param {Function} Type Annotated constructor function.\n * @param {Object=} locals Optional object. If preset then any argument names are read from this\n * object first, before the `$injector` is consulted.\n * @returns {Object} new instance of `Type`.\n */\n\n/**\n * @ngdoc method\n * @name $injector#annotate\n *\n * @description\n * Returns an array of service names which the function is requesting for injection. This API is\n * used by the injector to determine which services need to be injected into the function when the\n * function is invoked. There are three ways in which the function can be annotated with the needed\n * dependencies.\n *\n * #### Argument names\n *\n * The simplest form is to extract the dependencies from the arguments of the function. This is done\n * by converting the function into a string using `toString()` method and extracting the argument\n * names.\n * ```js\n * // Given\n * function MyController($scope, $route) {\n * // ...\n * }\n *\n * // Then\n * expect(injector.annotate(MyController)).toEqual(['$scope', '$route']);\n * ```\n *\n * You can disallow this method by using strict injection mode.\n *\n * This method does not work with code minification / obfuscation. For this reason the following\n * annotation strategies are supported.\n *\n * #### The `$inject` property\n *\n * If a function has an `$inject` property and its value is an array of strings, then the strings\n * represent names of services to be injected into the function.\n * ```js\n * // Given\n * var MyController = function(obfuscatedScope, obfuscatedRoute) {\n * // ...\n * }\n * // Define function dependencies\n * MyController['$inject'] = ['$scope', '$route'];\n *\n * // Then\n * expect(injector.annotate(MyController)).toEqual(['$scope', '$route']);\n * ```\n *\n * #### The array notation\n *\n * It is often desirable to inline Injected functions and that's when setting the `$inject` property\n * is very inconvenient. In these situations using the array notation to specify the dependencies in\n * a way that survives minification is a better choice:\n *\n * ```js\n * // We wish to write this (not minification / obfuscation safe)\n * injector.invoke(function($compile, $rootScope) {\n * // ...\n * });\n *\n * // We are forced to write break inlining\n * var tmpFn = function(obfuscatedCompile, obfuscatedRootScope) {\n * // ...\n * };\n * tmpFn.$inject = ['$compile', '$rootScope'];\n * injector.invoke(tmpFn);\n *\n * // To better support inline function the inline annotation is supported\n * injector.invoke(['$compile', '$rootScope', function(obfCompile, obfRootScope) {\n * // ...\n * }]);\n *\n * // Therefore\n * expect(injector.annotate(\n * ['$compile', '$rootScope', function(obfus_$compile, obfus_$rootScope) {}])\n * ).toEqual(['$compile', '$rootScope']);\n * ```\n *\n * @param {Function|Array.<string|Function>} fn Function for which dependent service names need to\n * be retrieved as described above.\n *\n * @param {boolean=} [strictDi=false] Disallow argument name annotation inference.\n *\n * @returns {Array.<string>} The names of the services which the function requires.\n */\n/**\n * @ngdoc method\n * @name $injector#loadNewModules\n *\n * @description\n *\n * **This is a dangerous API, which you use at your own risk!**\n *\n * Add the specified modules to the current injector.\n *\n * This method will add each of the injectables to the injector and execute all of the config and run\n * blocks for each module passed to the method.\n *\n * If a module has already been loaded into the injector then it will not be loaded again.\n *\n * * The application developer is responsible for loading the code containing the modules; and for\n * ensuring that lazy scripts are not downloaded and executed more often that desired.\n * * Previously compiled HTML will not be affected by newly loaded directives, filters and components.\n * * Modules cannot be unloaded.\n *\n * You can use {@link $injector#modules `$injector.modules`} to check whether a module has been loaded\n * into the injector, which may indicate whether the script has been executed already.\n *\n * @example\n * Here is an example of loading a bundle of modules, with a utility method called `getScript`:\n *\n * ```javascript\n * app.factory('loadModule', function($injector) {\n * return function loadModule(moduleName, bundleUrl) {\n * return getScript(bundleUrl).then(function() { $injector.loadNewModules([moduleName]); });\n * };\n * })\n * ```\n *\n * @param {Array<String|Function|Array>=} mods an array of modules to load into the application.\n * Each item in the array should be the name of a predefined module or a (DI annotated)\n * function that will be invoked by the injector as a `config` block.\n * See: {@link angular.module modules}\n */\n\n\n/**\n * @ngdoc service\n * @name $provide\n *\n * @description\n *\n * The {@link auto.$provide $provide} service has a number of methods for registering components\n * with the {@link auto.$injector $injector}. Many of these functions are also exposed on\n * {@link angular.Module}.\n *\n * An AngularJS **service** is a singleton object created by a **service factory**. These **service\n * factories** are functions which, in turn, are created by a **service provider**.\n * The **service providers** are constructor functions. When instantiated they must contain a\n * property called `$get`, which holds the **service factory** function.\n *\n * When you request a service, the {@link auto.$injector $injector} is responsible for finding the\n * correct **service provider**, instantiating it and then calling its `$get` **service factory**\n * function to get the instance of the **service**.\n *\n * Often services have no configuration options and there is no need to add methods to the service\n * provider. The provider will be no more than a constructor function with a `$get` property. For\n * these cases the {@link auto.$provide $provide} service has additional helper methods to register\n * services without specifying a provider.\n *\n * * {@link auto.$provide#provider provider(name, provider)} - registers a **service provider** with the\n * {@link auto.$injector $injector}\n * * {@link auto.$provide#constant constant(name, obj)} - registers a value/object that can be accessed by\n * providers and services.\n * * {@link auto.$provide#value value(name, obj)} - registers a value/object that can only be accessed by\n * services, not providers.\n * * {@link auto.$provide#factory factory(name, fn)} - registers a service **factory function**\n * that will be wrapped in a **service provider** object, whose `$get` property will contain the\n * given factory function.\n * * {@link auto.$provide#service service(name, Fn)} - registers a **constructor function**\n * that will be wrapped in a **service provider** object, whose `$get` property will instantiate\n * a new object using the given constructor function.\n * * {@link auto.$provide#decorator decorator(name, decorFn)} - registers a **decorator function** that\n * will be able to modify or replace the implementation of another service.\n *\n * See the individual methods for more information and examples.\n */\n\n/**\n * @ngdoc method\n * @name $provide#provider\n * @description\n *\n * Register a **provider function** with the {@link auto.$injector $injector}. Provider functions\n * are constructor functions, whose instances are responsible for \"providing\" a factory for a\n * service.\n *\n * Service provider names start with the name of the service they provide followed by `Provider`.\n * For example, the {@link ng.$log $log} service has a provider called\n * {@link ng.$logProvider $logProvider}.\n *\n * Service provider objects can have additional methods which allow configuration of the provider\n * and its service. Importantly, you can configure what kind of service is created by the `$get`\n * method, or how that service will act. For example, the {@link ng.$logProvider $logProvider} has a\n * method {@link ng.$logProvider#debugEnabled debugEnabled}\n * which lets you specify whether the {@link ng.$log $log} service will log debug messages to the\n * console or not.\n *\n * It is possible to inject other providers into the provider function,\n * but the injected provider must have been defined before the one that requires it.\n *\n * @param {string} name The name of the instance. NOTE: the provider will be available under `name +\n 'Provider'` key.\n * @param {(Object|function())} provider If the provider is:\n *\n * - `Object`: then it should have a `$get` method. The `$get` method will be invoked using\n * {@link auto.$injector#invoke $injector.invoke()} when an instance needs to be created.\n * - `Constructor`: a new instance of the provider will be created using\n * {@link auto.$injector#instantiate $injector.instantiate()}, then treated as `object`.\n *\n * @returns {Object} registered provider instance\n\n * @example\n *\n * The following example shows how to create a simple event tracking service and register it using\n * {@link auto.$provide#provider $provide.provider()}.\n *\n * ```js\n * // Define the eventTracker provider\n * function EventTrackerProvider() {\n * var trackingUrl = '/track';\n *\n * // A provider method for configuring where the tracked events should been saved\n * this.setTrackingUrl = function(url) {\n * trackingUrl = url;\n * };\n *\n * // The service factory function\n * this.$get = ['$http', function($http) {\n * var trackedEvents = {};\n * return {\n * // Call this to track an event\n * event: function(event) {\n * var count = trackedEvents[event] || 0;\n * count += 1;\n * trackedEvents[event] = count;\n * return count;\n * },\n * // Call this to save the tracked events to the trackingUrl\n * save: function() {\n * $http.post(trackingUrl, trackedEvents);\n * }\n * };\n * }];\n * }\n *\n * describe('eventTracker', function() {\n * var postSpy;\n *\n * beforeEach(module(function($provide) {\n * // Register the eventTracker provider\n * $provide.provider('eventTracker', EventTrackerProvider);\n * }));\n *\n * beforeEach(module(function(eventTrackerProvider) {\n * // Configure eventTracker provider\n * eventTrackerProvider.setTrackingUrl('/custom-track');\n * }));\n *\n * it('tracks events', inject(function(eventTracker) {\n * expect(eventTracker.event('login')).toEqual(1);\n * expect(eventTracker.event('login')).toEqual(2);\n * }));\n *\n * it('saves to the tracking url', inject(function(eventTracker, $http) {\n * postSpy = spyOn($http, 'post');\n * eventTracker.event('login');\n * eventTracker.save();\n * expect(postSpy).toHaveBeenCalled();\n * expect(postSpy.mostRecentCall.args[0]).not.toEqual('/track');\n * expect(postSpy.mostRecentCall.args[0]).toEqual('/custom-track');\n * expect(postSpy.mostRecentCall.args[1]).toEqual({ 'login': 1 });\n * }));\n * });\n * ```\n */\n\n/**\n * @ngdoc method\n * @name $provide#factory\n * @description\n *\n * Register a **service factory**, which will be called to return the service instance.\n * This is short for registering a service where its provider consists of only a `$get` property,\n * which is the given service factory function.\n * You should use {@link auto.$provide#factory $provide.factory(getFn)} if you do not need to\n * configure your service in a provider.\n *\n * @param {string} name The name of the instance.\n * @param {Function|Array.<string|Function>} $getFn The injectable $getFn for the instance creation.\n * Internally this is a short hand for `$provide.provider(name, {$get: $getFn})`.\n * @returns {Object} registered provider instance\n *\n * @example\n * Here is an example of registering a service\n * ```js\n * $provide.factory('ping', ['$http', function($http) {\n * return function ping() {\n * return $http.send('/ping');\n * };\n * }]);\n * ```\n * You would then inject and use this service like this:\n * ```js\n * someModule.controller('Ctrl', ['ping', function(ping) {\n * ping();\n * }]);\n * ```\n */\n\n\n/**\n * @ngdoc method\n * @name $provide#service\n * @description\n *\n * Register a **service constructor**, which will be invoked with `new` to create the service\n * instance.\n * This is short for registering a service where its provider's `$get` property is a factory\n * function that returns an instance instantiated by the injector from the service constructor\n * function.\n *\n * Internally it looks a bit like this:\n *\n * ```\n * {\n * $get: function() {\n * return $injector.instantiate(constructor);\n * }\n * }\n * ```\n *\n *\n * You should use {@link auto.$provide#service $provide.service(class)} if you define your service\n * as a type/class.\n *\n * @param {string} name The name of the instance.\n * @param {Function|Array.<string|Function>} constructor An injectable class (constructor function)\n * that will be instantiated.\n * @returns {Object} registered provider instance\n *\n * @example\n * Here is an example of registering a service using\n * {@link auto.$provide#service $provide.service(class)}.\n * ```js\n * var Ping = function($http) {\n * this.$http = $http;\n * };\n *\n * Ping.$inject = ['$http'];\n *\n * Ping.prototype.send = function() {\n * return this.$http.get('/ping');\n * };\n * $provide.service('ping', Ping);\n * ```\n * You would then inject and use this service like this:\n * ```js\n * someModule.controller('Ctrl', ['ping', function(ping) {\n * ping.send();\n * }]);\n * ```\n */\n\n\n/**\n * @ngdoc method\n * @name $provide#value\n * @description\n *\n * Register a **value service** with the {@link auto.$injector $injector}, such as a string, a\n * number, an array, an object or a function. This is short for registering a service where its\n * provider's `$get` property is a factory function that takes no arguments and returns the **value\n * service**. That also means it is not possible to inject other services into a value service.\n *\n * Value services are similar to constant services, except that they cannot be injected into a\n * module configuration function (see {@link angular.Module#config}) but they can be overridden by\n * an AngularJS {@link auto.$provide#decorator decorator}.\n *\n * @param {string} name The name of the instance.\n * @param {*} value The value.\n * @returns {Object} registered provider instance\n *\n * @example\n * Here are some examples of creating value services.\n * ```js\n * $provide.value('ADMIN_USER', 'admin');\n *\n * $provide.value('RoleLookup', { admin: 0, writer: 1, reader: 2 });\n *\n * $provide.value('halfOf', function(value) {\n * return value / 2;\n * });\n * ```\n */\n\n\n/**\n * @ngdoc method\n * @name $provide#constant\n * @description\n *\n * Register a **constant service** with the {@link auto.$injector $injector}, such as a string,\n * a number, an array, an object or a function. Like the {@link auto.$provide#value value}, it is not\n * possible to inject other services into a constant.\n *\n * But unlike {@link auto.$provide#value value}, a constant can be\n * injected into a module configuration function (see {@link angular.Module#config}) and it cannot\n * be overridden by an AngularJS {@link auto.$provide#decorator decorator}.\n *\n * @param {string} name The name of the constant.\n * @param {*} value The constant value.\n * @returns {Object} registered instance\n *\n * @example\n * Here a some examples of creating constants:\n * ```js\n * $provide.constant('SHARD_HEIGHT', 306);\n *\n * $provide.constant('MY_COLOURS', ['red', 'blue', 'grey']);\n *\n * $provide.constant('double', function(value) {\n * return value * 2;\n * });\n * ```\n */\n\n\n/**\n * @ngdoc method\n * @name $provide#decorator\n * @description\n *\n * Register a **decorator function** with the {@link auto.$injector $injector}. A decorator function\n * intercepts the creation of a service, allowing it to override or modify the behavior of the\n * service. The return value of the decorator function may be the original service, or a new service\n * that replaces (or wraps and delegates to) the original service.\n *\n * You can find out more about using decorators in the {@link guide/decorators} guide.\n *\n * @param {string} name The name of the service to decorate.\n * @param {Function|Array.<string|Function>} decorator This function will be invoked when the service needs to be\n * provided and should return the decorated service instance. The function is called using\n * the {@link auto.$injector#invoke injector.invoke} method and is therefore fully injectable.\n * Local injection arguments:\n *\n * * `$delegate` - The original service instance, which can be replaced, monkey patched, configured,\n * decorated or delegated to.\n *\n * @example\n * Here we decorate the {@link ng.$log $log} service to convert warnings to errors by intercepting\n * calls to {@link ng.$log#error $log.warn()}.\n * ```js\n * $provide.decorator('$log', ['$delegate', function($delegate) {\n * $delegate.warn = $delegate.error;\n * return $delegate;\n * }]);\n * ```\n */\n\n\nfunction createInjector(modulesToLoad, strictDi) {\n strictDi = (strictDi === true);\n var INSTANTIATING = {},\n providerSuffix = 'Provider',\n path = [],\n loadedModules = new NgMap(),\n providerCache = {\n $provide: {\n provider: supportObject(provider),\n factory: supportObject(factory),\n service: supportObject(service),\n value: supportObject(value),\n constant: supportObject(constant),\n decorator: decorator\n }\n },\n providerInjector = (providerCache.$injector =\n createInternalInjector(providerCache, function(serviceName, caller) {\n if (angular.isString(caller)) {\n path.push(caller);\n }\n throw $injectorMinErr('unpr', 'Unknown provider: {0}', path.join(' <- '));\n })),\n instanceCache = {},\n protoInstanceInjector =\n createInternalInjector(instanceCache, function(serviceName, caller) {\n var provider = providerInjector.get(serviceName + providerSuffix, caller);\n return instanceInjector.invoke(\n provider.$get, provider, undefined, serviceName);\n }),\n instanceInjector = protoInstanceInjector;\n\n providerCache['$injector' + providerSuffix] = { $get: valueFn(protoInstanceInjector) };\n instanceInjector.modules = providerInjector.modules = createMap();\n var runBlocks = loadModules(modulesToLoad);\n instanceInjector = protoInstanceInjector.get('$injector');\n instanceInjector.strictDi = strictDi;\n forEach(runBlocks, function(fn) { if (fn) instanceInjector.invoke(fn); });\n\n instanceInjector.loadNewModules = function(mods) {\n forEach(loadModules(mods), function(fn) { if (fn) instanceInjector.invoke(fn); });\n };\n\n\n return instanceInjector;\n\n ////////////////////////////////////\n // $provider\n ////////////////////////////////////\n\n function supportObject(delegate) {\n return function(key, value) {\n if (isObject(key)) {\n forEach(key, reverseParams(delegate));\n } else {\n return delegate(key, value);\n }\n };\n }\n\n function provider(name, provider_) {\n assertNotHasOwnProperty(name, 'service');\n if (isFunction(provider_) || isArray(provider_)) {\n provider_ = providerInjector.instantiate(provider_);\n }\n if (!provider_.$get) {\n throw $injectorMinErr('pget', 'Provider \\'{0}\\' must define $get factory method.', name);\n }\n return (providerCache[name + providerSuffix] = provider_);\n }\n\n function enforceReturnValue(name, factory) {\n return /** @this */ function enforcedReturnValue() {\n var result = instanceInjector.invoke(factory, this);\n if (isUndefined(result)) {\n throw $injectorMinErr('undef', 'Provider \\'{0}\\' must return a value from $get factory method.', name);\n }\n return result;\n };\n }\n\n function factory(name, factoryFn, enforce) {\n return provider(name, {\n $get: enforce !== false ? enforceReturnValue(name, factoryFn) : factoryFn\n });\n }\n\n function service(name, constructor) {\n return factory(name, ['$injector', function($injector) {\n return $injector.instantiate(constructor);\n }]);\n }\n\n function value(name, val) { return factory(name, valueFn(val), false); }\n\n function constant(name, value) {\n assertNotHasOwnProperty(name, 'constant');\n providerCache[name] = value;\n instanceCache[name] = value;\n }\n\n function decorator(serviceName, decorFn) {\n var origProvider = providerInjector.get(serviceName + providerSuffix),\n orig$get = origProvider.$get;\n\n origProvider.$get = function() {\n var origInstance = instanceInjector.invoke(orig$get, origProvider);\n return instanceInjector.invoke(decorFn, null, {$delegate: origInstance});\n };\n }\n\n ////////////////////////////////////\n // Module Loading\n ////////////////////////////////////\n function loadModules(modulesToLoad) {\n assertArg(isUndefined(modulesToLoad) || isArray(modulesToLoad), 'modulesToLoad', 'not an array');\n var runBlocks = [], moduleFn;\n forEach(modulesToLoad, function(module) {\n if (loadedModules.get(module)) return;\n loadedModules.set(module, true);\n\n function runInvokeQueue(queue) {\n var i, ii;\n for (i = 0, ii = queue.length; i < ii; i++) {\n var invokeArgs = queue[i],\n provider = providerInjector.get(invokeArgs[0]);\n\n provider[invokeArgs[1]].apply(provider, invokeArgs[2]);\n }\n }\n\n try {\n if (isString(module)) {\n moduleFn = angularModule(module);\n instanceInjector.modules[module] = moduleFn;\n runBlocks = runBlocks.concat(loadModules(moduleFn.requires)).concat(moduleFn._runBlocks);\n runInvokeQueue(moduleFn._invokeQueue);\n runInvokeQueue(moduleFn._configBlocks);\n } else if (isFunction(module)) {\n runBlocks.push(providerInjector.invoke(module));\n } else if (isArray(module)) {\n runBlocks.push(providerInjector.invoke(module));\n } else {\n assertArgFn(module, 'module');\n }\n } catch (e) {\n if (isArray(module)) {\n module = module[module.length - 1];\n }\n if (e.message && e.stack && e.stack.indexOf(e.message) === -1) {\n // Safari & FF's stack traces don't contain error.message content\n // unlike those of Chrome and IE\n // So if stack doesn't contain message, we create a new string that contains both.\n // Since error.stack is read-only in Safari, I'm overriding e and not e.stack here.\n // eslint-disable-next-line no-ex-assign\n e = e.message + '\\n' + e.stack;\n }\n throw $injectorMinErr('modulerr', 'Failed to instantiate module {0} due to:\\n{1}',\n module, e.stack || e.message || e);\n }\n });\n return runBlocks;\n }\n\n ////////////////////////////////////\n // internal Injector\n ////////////////////////////////////\n\n function createInternalInjector(cache, factory) {\n\n function getService(serviceName, caller) {\n if (cache.hasOwnProperty(serviceName)) {\n if (cache[serviceName] === INSTANTIATING) {\n throw $injectorMinErr('cdep', 'Circular dependency found: {0}',\n serviceName + ' <- ' + path.join(' <- '));\n }\n return cache[serviceName];\n } else {\n try {\n path.unshift(serviceName);\n cache[serviceName] = INSTANTIATING;\n cache[serviceName] = factory(serviceName, caller);\n return cache[serviceName];\n } catch (err) {\n if (cache[serviceName] === INSTANTIATING) {\n delete cache[serviceName];\n }\n throw err;\n } finally {\n path.shift();\n }\n }\n }\n\n\n function injectionArgs(fn, locals, serviceName) {\n var args = [],\n $inject = createInjector.$$annotate(fn, strictDi, serviceName);\n\n for (var i = 0, length = $inject.length; i < length; i++) {\n var key = $inject[i];\n if (typeof key !== 'string') {\n throw $injectorMinErr('itkn',\n 'Incorrect injection token! Expected service name as string, got {0}', key);\n }\n args.push(locals && locals.hasOwnProperty(key) ? locals[key] :\n getService(key, serviceName));\n }\n return args;\n }\n\n function isClass(func) {\n // Support: IE 9-11 only\n // IE 9-11 do not support classes and IE9 leaks with the code below.\n if (msie || typeof func !== 'function') {\n return false;\n }\n var result = func.$$ngIsClass;\n if (!isBoolean(result)) {\n result = func.$$ngIsClass = /^class\\b/.test(stringifyFn(func));\n }\n return result;\n }\n\n function invoke(fn, self, locals, serviceName) {\n if (typeof locals === 'string') {\n serviceName = locals;\n locals = null;\n }\n\n var args = injectionArgs(fn, locals, serviceName);\n if (isArray(fn)) {\n fn = fn[fn.length - 1];\n }\n\n if (!isClass(fn)) {\n // http://jsperf.com/angularjs-invoke-apply-vs-switch\n // #5388\n return fn.apply(self, args);\n } else {\n args.unshift(null);\n return new (Function.prototype.bind.apply(fn, args))();\n }\n }\n\n\n function instantiate(Type, locals, serviceName) {\n // Check if Type is annotated and use just the given function at n-1 as parameter\n // e.g. someModule.factory('greeter', ['$window', function(renamed$window) {}]);\n var ctor = (isArray(Type) ? Type[Type.length - 1] : Type);\n var args = injectionArgs(Type, locals, serviceName);\n // Empty object at position 0 is ignored for invocation with `new`, but required.\n args.unshift(null);\n return new (Function.prototype.bind.apply(ctor, args))();\n }\n\n\n return {\n invoke: invoke,\n instantiate: instantiate,\n get: getService,\n annotate: createInjector.$$annotate,\n has: function(name) {\n return providerCache.hasOwnProperty(name + providerSuffix) || cache.hasOwnProperty(name);\n }\n };\n }\n}\n\ncreateInjector.$$annotate = annotate;\n\n/**\n * @ngdoc provider\n * @name $anchorScrollProvider\n * @this\n *\n * @description\n * Use `$anchorScrollProvider` to disable automatic scrolling whenever\n * {@link ng.$location#hash $location.hash()} changes.\n */\nfunction $AnchorScrollProvider() {\n\n var autoScrollingEnabled = true;\n\n /**\n * @ngdoc method\n * @name $anchorScrollProvider#disableAutoScrolling\n *\n * @description\n * By default, {@link ng.$anchorScroll $anchorScroll()} will automatically detect changes to\n * {@link ng.$location#hash $location.hash()} and scroll to the element matching the new hash.<br />\n * Use this method to disable automatic scrolling.\n *\n * If automatic scrolling is disabled, one must explicitly call\n * {@link ng.$anchorScroll $anchorScroll()} in order to scroll to the element related to the\n * current hash.\n */\n this.disableAutoScrolling = function() {\n autoScrollingEnabled = false;\n };\n\n /**\n * @ngdoc service\n * @name $anchorScroll\n * @kind function\n * @requires $window\n * @requires $location\n * @requires $rootScope\n *\n * @description\n * When called, it scrolls to the element related to the specified `hash` or (if omitted) to the\n * current value of {@link ng.$location#hash $location.hash()}, according to the rules specified\n * in the\n * [HTML5 spec](http://www.w3.org/html/wg/drafts/html/master/browsers.html#an-indicated-part-of-the-document).\n *\n * It also watches the {@link ng.$location#hash $location.hash()} and automatically scrolls to\n * match any anchor whenever it changes. This can be disabled by calling\n * {@link ng.$anchorScrollProvider#disableAutoScrolling $anchorScrollProvider.disableAutoScrolling()}.\n *\n * Additionally, you can use its {@link ng.$anchorScroll#yOffset yOffset} property to specify a\n * vertical scroll-offset (either fixed or dynamic).\n *\n * @param {string=} hash The hash specifying the element to scroll to. If omitted, the value of\n * {@link ng.$location#hash $location.hash()} will be used.\n *\n * @property {(number|function|jqLite)} yOffset\n * If set, specifies a vertical scroll-offset. This is often useful when there are fixed\n * positioned elements at the top of the page, such as navbars, headers etc.\n *\n * `yOffset` can be specified in various ways:\n * - **number**: A fixed number of pixels to be used as offset.<br /><br />\n * - **function**: A getter function called everytime `$anchorScroll()` is executed. Must return\n * a number representing the offset (in pixels).<br /><br />\n * - **jqLite**: A jqLite/jQuery element to be used for specifying the offset. The distance from\n * the top of the page to the element's bottom will be used as offset.<br />\n * **Note**: The element will be taken into account only as long as its `position` is set to\n * `fixed`. This option is useful, when dealing with responsive navbars/headers that adjust\n * their height and/or positioning according to the viewport's size.\n *\n * <br />\n * <div class=\"alert alert-warning\">\n * In order for `yOffset` to work properly, scrolling should take place on the document's root and\n * not some child element.\n * </div>\n *\n * @example\n <example module=\"anchorScrollExample\" name=\"anchor-scroll\">\n <file name=\"index.html\">\n <div id=\"scrollArea\" ng-controller=\"ScrollController\">\n <a ng-click=\"gotoBottom()\">Go to bottom</a>\n <a id=\"bottom\"></a> You're at the bottom!\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('anchorScrollExample', [])\n .controller('ScrollController', ['$scope', '$location', '$anchorScroll',\n function($scope, $location, $anchorScroll) {\n $scope.gotoBottom = function() {\n // set the location.hash to the id of\n // the element you wish to scroll to.\n $location.hash('bottom');\n\n // call $anchorScroll()\n $anchorScroll();\n };\n }]);\n </file>\n <file name=\"style.css\">\n #scrollArea {\n height: 280px;\n overflow: auto;\n }\n\n #bottom {\n display: block;\n margin-top: 2000px;\n }\n </file>\n </example>\n *\n * <hr />\n * The example below illustrates the use of a vertical scroll-offset (specified as a fixed value).\n * See {@link ng.$anchorScroll#yOffset $anchorScroll.yOffset} for more details.\n *\n * @example\n <example module=\"anchorScrollOffsetExample\" name=\"anchor-scroll-offset\">\n <file name=\"index.html\">\n <div class=\"fixed-header\" ng-controller=\"headerCtrl\">\n <a href=\"\" ng-click=\"gotoAnchor(x)\" ng-repeat=\"x in [1,2,3,4,5]\">\n Go to anchor {{x}}\n </a>\n </div>\n <div id=\"anchor{{x}}\" class=\"anchor\" ng-repeat=\"x in [1,2,3,4,5]\">\n Anchor {{x}} of 5\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('anchorScrollOffsetExample', [])\n .run(['$anchorScroll', function($anchorScroll) {\n $anchorScroll.yOffset = 50; // always scroll by 50 extra pixels\n }])\n .controller('headerCtrl', ['$anchorScroll', '$location', '$scope',\n function($anchorScroll, $location, $scope) {\n $scope.gotoAnchor = function(x) {\n var newHash = 'anchor' + x;\n if ($location.hash() !== newHash) {\n // set the $location.hash to `newHash` and\n // $anchorScroll will automatically scroll to it\n $location.hash('anchor' + x);\n } else {\n // call $anchorScroll() explicitly,\n // since $location.hash hasn't changed\n $anchorScroll();\n }\n };\n }\n ]);\n </file>\n <file name=\"style.css\">\n body {\n padding-top: 50px;\n }\n\n .anchor {\n border: 2px dashed DarkOrchid;\n padding: 10px 10px 200px 10px;\n }\n\n .fixed-header {\n background-color: rgba(0, 0, 0, 0.2);\n height: 50px;\n position: fixed;\n top: 0; left: 0; right: 0;\n }\n\n .fixed-header > a {\n display: inline-block;\n margin: 5px 15px;\n }\n </file>\n </example>\n */\n this.$get = ['$window', '$location', '$rootScope', function($window, $location, $rootScope) {\n var document = $window.document;\n\n // Helper function to get first anchor from a NodeList\n // (using `Array#some()` instead of `angular#forEach()` since it's more performant\n // and working in all supported browsers.)\n function getFirstAnchor(list) {\n var result = null;\n Array.prototype.some.call(list, function(element) {\n if (nodeName_(element) === 'a') {\n result = element;\n return true;\n }\n });\n return result;\n }\n\n function getYOffset() {\n\n var offset = scroll.yOffset;\n\n if (isFunction(offset)) {\n offset = offset();\n } else if (isElement(offset)) {\n var elem = offset[0];\n var style = $window.getComputedStyle(elem);\n if (style.position !== 'fixed') {\n offset = 0;\n } else {\n offset = elem.getBoundingClientRect().bottom;\n }\n } else if (!isNumber(offset)) {\n offset = 0;\n }\n\n return offset;\n }\n\n function scrollTo(elem) {\n if (elem) {\n elem.scrollIntoView();\n\n var offset = getYOffset();\n\n if (offset) {\n // `offset` is the number of pixels we should scroll UP in order to align `elem` properly.\n // This is true ONLY if the call to `elem.scrollIntoView()` initially aligns `elem` at the\n // top of the viewport.\n //\n // IF the number of pixels from the top of `elem` to the end of the page's content is less\n // than the height of the viewport, then `elem.scrollIntoView()` will align the `elem` some\n // way down the page.\n //\n // This is often the case for elements near the bottom of the page.\n //\n // In such cases we do not need to scroll the whole `offset` up, just the difference between\n // the top of the element and the offset, which is enough to align the top of `elem` at the\n // desired position.\n var elemTop = elem.getBoundingClientRect().top;\n $window.scrollBy(0, elemTop - offset);\n }\n } else {\n $window.scrollTo(0, 0);\n }\n }\n\n function scroll(hash) {\n // Allow numeric hashes\n hash = isString(hash) ? hash : isNumber(hash) ? hash.toString() : $location.hash();\n var elm;\n\n // empty hash, scroll to the top of the page\n if (!hash) scrollTo(null);\n\n // element with given id\n else if ((elm = document.getElementById(hash))) scrollTo(elm);\n\n // first anchor with given name :-D\n else if ((elm = getFirstAnchor(document.getElementsByName(hash)))) scrollTo(elm);\n\n // no element and hash === 'top', scroll to the top of the page\n else if (hash === 'top') scrollTo(null);\n }\n\n // does not scroll when user clicks on anchor link that is currently on\n // (no url change, no $location.hash() change), browser native does scroll\n if (autoScrollingEnabled) {\n $rootScope.$watch(function autoScrollWatch() {return $location.hash();},\n function autoScrollWatchAction(newVal, oldVal) {\n // skip the initial scroll if $location.hash is empty\n if (newVal === oldVal && newVal === '') return;\n\n jqLiteDocumentLoaded(function() {\n $rootScope.$evalAsync(scroll);\n });\n });\n }\n\n return scroll;\n }];\n}\n\nvar $animateMinErr = minErr('$animate');\nvar ELEMENT_NODE = 1;\nvar NG_ANIMATE_CLASSNAME = 'ng-animate';\n\nfunction mergeClasses(a,b) {\n if (!a && !b) return '';\n if (!a) return b;\n if (!b) return a;\n if (isArray(a)) a = a.join(' ');\n if (isArray(b)) b = b.join(' ');\n return a + ' ' + b;\n}\n\nfunction extractElementNode(element) {\n for (var i = 0; i < element.length; i++) {\n var elm = element[i];\n if (elm.nodeType === ELEMENT_NODE) {\n return elm;\n }\n }\n}\n\nfunction splitClasses(classes) {\n if (isString(classes)) {\n classes = classes.split(' ');\n }\n\n // Use createMap() to prevent class assumptions involving property names in\n // Object.prototype\n var obj = createMap();\n forEach(classes, function(klass) {\n // sometimes the split leaves empty string values\n // incase extra spaces were applied to the options\n if (klass.length) {\n obj[klass] = true;\n }\n });\n return obj;\n}\n\n// if any other type of options value besides an Object value is\n// passed into the $animate.method() animation then this helper code\n// will be run which will ignore it. While this patch is not the\n// greatest solution to this, a lot of existing plugins depend on\n// $animate to either call the callback (< 1.2) or return a promise\n// that can be changed. This helper function ensures that the options\n// are wiped clean incase a callback function is provided.\nfunction prepareAnimateOptions(options) {\n return isObject(options)\n ? options\n : {};\n}\n\nvar $$CoreAnimateJsProvider = /** @this */ function() {\n this.$get = noop;\n};\n\n// this is prefixed with Core since it conflicts with\n// the animateQueueProvider defined in ngAnimate/animateQueue.js\nvar $$CoreAnimateQueueProvider = /** @this */ function() {\n var postDigestQueue = new NgMap();\n var postDigestElements = [];\n\n this.$get = ['$$AnimateRunner', '$rootScope',\n function($$AnimateRunner, $rootScope) {\n return {\n enabled: noop,\n on: noop,\n off: noop,\n pin: noop,\n\n push: function(element, event, options, domOperation) {\n if (domOperation) {\n domOperation();\n }\n\n options = options || {};\n if (options.from) {\n element.css(options.from);\n }\n if (options.to) {\n element.css(options.to);\n }\n\n if (options.addClass || options.removeClass) {\n addRemoveClassesPostDigest(element, options.addClass, options.removeClass);\n }\n\n var runner = new $$AnimateRunner();\n\n // since there are no animations to run the runner needs to be\n // notified that the animation call is complete.\n runner.complete();\n return runner;\n }\n };\n\n\n function updateData(data, classes, value) {\n var changed = false;\n if (classes) {\n classes = isString(classes) ? classes.split(' ') :\n isArray(classes) ? classes : [];\n forEach(classes, function(className) {\n if (className) {\n changed = true;\n data[className] = value;\n }\n });\n }\n return changed;\n }\n\n function handleCSSClassChanges() {\n forEach(postDigestElements, function(element) {\n var data = postDigestQueue.get(element);\n if (data) {\n var existing = splitClasses(element.attr('class'));\n var toAdd = '';\n var toRemove = '';\n forEach(data, function(status, className) {\n var hasClass = !!existing[className];\n if (status !== hasClass) {\n if (status) {\n toAdd += (toAdd.length ? ' ' : '') + className;\n } else {\n toRemove += (toRemove.length ? ' ' : '') + className;\n }\n }\n });\n\n forEach(element, function(elm) {\n if (toAdd) {\n jqLiteAddClass(elm, toAdd);\n }\n if (toRemove) {\n jqLiteRemoveClass(elm, toRemove);\n }\n });\n postDigestQueue.delete(element);\n }\n });\n postDigestElements.length = 0;\n }\n\n\n function addRemoveClassesPostDigest(element, add, remove) {\n var data = postDigestQueue.get(element) || {};\n\n var classesAdded = updateData(data, add, true);\n var classesRemoved = updateData(data, remove, false);\n\n if (classesAdded || classesRemoved) {\n\n postDigestQueue.set(element, data);\n postDigestElements.push(element);\n\n if (postDigestElements.length === 1) {\n $rootScope.$$postDigest(handleCSSClassChanges);\n }\n }\n }\n }];\n};\n\n/**\n * @ngdoc provider\n * @name $animateProvider\n *\n * @description\n * Default implementation of $animate that doesn't perform any animations, instead just\n * synchronously performs DOM updates and resolves the returned runner promise.\n *\n * In order to enable animations the `ngAnimate` module has to be loaded.\n *\n * To see the functional implementation check out `src/ngAnimate/animate.js`.\n */\nvar $AnimateProvider = ['$provide', /** @this */ function($provide) {\n var provider = this;\n var classNameFilter = null;\n var customFilter = null;\n\n this.$$registeredAnimations = Object.create(null);\n\n /**\n * @ngdoc method\n * @name $animateProvider#register\n *\n * @description\n * Registers a new injectable animation factory function. The factory function produces the\n * animation object which contains callback functions for each event that is expected to be\n * animated.\n *\n * * `eventFn`: `function(element, ... , doneFunction, options)`\n * The element to animate, the `doneFunction` and the options fed into the animation. Depending\n * on the type of animation additional arguments will be injected into the animation function. The\n * list below explains the function signatures for the different animation methods:\n *\n * - setClass: function(element, addedClasses, removedClasses, doneFunction, options)\n * - addClass: function(element, addedClasses, doneFunction, options)\n * - removeClass: function(element, removedClasses, doneFunction, options)\n * - enter, leave, move: function(element, doneFunction, options)\n * - animate: function(element, fromStyles, toStyles, doneFunction, options)\n *\n * Make sure to trigger the `doneFunction` once the animation is fully complete.\n *\n * ```js\n * return {\n * //enter, leave, move signature\n * eventFn : function(element, done, options) {\n * //code to run the animation\n * //once complete, then run done()\n * return function endFunction(wasCancelled) {\n * //code to cancel the animation\n * }\n * }\n * }\n * ```\n *\n * @param {string} name The name of the animation (this is what the class-based CSS value will be compared to).\n * @param {Function} factory The factory function that will be executed to return the animation\n * object.\n */\n this.register = function(name, factory) {\n if (name && name.charAt(0) !== '.') {\n throw $animateMinErr('notcsel', 'Expecting class selector starting with \\'.\\' got \\'{0}\\'.', name);\n }\n\n var key = name + '-animation';\n provider.$$registeredAnimations[name.substr(1)] = key;\n $provide.factory(key, factory);\n };\n\n /**\n * @ngdoc method\n * @name $animateProvider#customFilter\n *\n * @description\n * Sets and/or returns the custom filter function that is used to \"filter\" animations, i.e.\n * determine if an animation is allowed or not. When no filter is specified (the default), no\n * animation will be blocked. Setting the `customFilter` value will only allow animations for\n * which the filter function's return value is truthy.\n *\n * This allows to easily create arbitrarily complex rules for filtering animations, such as\n * allowing specific events only, or enabling animations on specific subtrees of the DOM, etc.\n * Filtering animations can also boost performance for low-powered devices, as well as\n * applications containing a lot of structural operations.\n *\n * <div class=\"alert alert-success\">\n * **Best Practice:**\n * Keep the filtering function as lean as possible, because it will be called for each DOM\n * action (e.g. insertion, removal, class change) performed by \"animation-aware\" directives.\n * See {@link guide/animations#which-directives-support-animations- here} for a list of built-in\n * directives that support animations.\n * Performing computationally expensive or time-consuming operations on each call of the\n * filtering function can make your animations sluggish.\n * </div>\n *\n * **Note:** If present, `customFilter` will be checked before\n * {@link $animateProvider#classNameFilter classNameFilter}.\n *\n * @param {Function=} filterFn - The filter function which will be used to filter all animations.\n * If a falsy value is returned, no animation will be performed. The function will be called\n * with the following arguments:\n * - **node** `{DOMElement}` - The DOM element to be animated.\n * - **event** `{String}` - The name of the animation event (e.g. `enter`, `leave`, `addClass`\n * etc).\n * - **options** `{Object}` - A collection of options/styles used for the animation.\n * @return {Function} The current filter function or `null` if there is none set.\n */\n this.customFilter = function(filterFn) {\n if (arguments.length === 1) {\n customFilter = isFunction(filterFn) ? filterFn : null;\n }\n\n return customFilter;\n };\n\n /**\n * @ngdoc method\n * @name $animateProvider#classNameFilter\n *\n * @description\n * Sets and/or returns the CSS class regular expression that is checked when performing\n * an animation. Upon bootstrap the classNameFilter value is not set at all and will\n * therefore enable $animate to attempt to perform an animation on any element that is triggered.\n * When setting the `classNameFilter` value, animations will only be performed on elements\n * that successfully match the filter expression. This in turn can boost performance\n * for low-powered devices as well as applications containing a lot of structural operations.\n *\n * **Note:** If present, `classNameFilter` will be checked after\n * {@link $animateProvider#customFilter customFilter}. If `customFilter` is present and returns\n * false, `classNameFilter` will not be checked.\n *\n * @param {RegExp=} expression The className expression which will be checked against all animations\n * @return {RegExp} The current CSS className expression value. If null then there is no expression value\n */\n this.classNameFilter = function(expression) {\n if (arguments.length === 1) {\n classNameFilter = (expression instanceof RegExp) ? expression : null;\n if (classNameFilter) {\n var reservedRegex = new RegExp('[(\\\\s|\\\\/)]' + NG_ANIMATE_CLASSNAME + '[(\\\\s|\\\\/)]');\n if (reservedRegex.test(classNameFilter.toString())) {\n classNameFilter = null;\n throw $animateMinErr('nongcls', '$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the \"{0}\" CSS class.', NG_ANIMATE_CLASSNAME);\n }\n }\n }\n return classNameFilter;\n };\n\n this.$get = ['$$animateQueue', function($$animateQueue) {\n function domInsert(element, parentElement, afterElement) {\n // if for some reason the previous element was removed\n // from the dom sometime before this code runs then let's\n // just stick to using the parent element as the anchor\n if (afterElement) {\n var afterNode = extractElementNode(afterElement);\n if (afterNode && !afterNode.parentNode && !afterNode.previousElementSibling) {\n afterElement = null;\n }\n }\n if (afterElement) {\n afterElement.after(element);\n } else {\n parentElement.prepend(element);\n }\n }\n\n /**\n * @ngdoc service\n * @name $animate\n * @description The $animate service exposes a series of DOM utility methods that provide support\n * for animation hooks. The default behavior is the application of DOM operations, however,\n * when an animation is detected (and animations are enabled), $animate will do the heavy lifting\n * to ensure that animation runs with the triggered DOM operation.\n *\n * By default $animate doesn't trigger any animations. This is because the `ngAnimate` module isn't\n * included and only when it is active then the animation hooks that `$animate` triggers will be\n * functional. Once active then all structural `ng-` directives will trigger animations as they perform\n * their DOM-related operations (enter, leave and move). Other directives such as `ngClass`,\n * `ngShow`, `ngHide` and `ngMessages` also provide support for animations.\n *\n * It is recommended that the`$animate` service is always used when executing DOM-related procedures within directives.\n *\n * To learn more about enabling animation support, click here to visit the\n * {@link ngAnimate ngAnimate module page}.\n */\n return {\n // we don't call it directly since non-existant arguments may\n // be interpreted as null within the sub enabled function\n\n /**\n *\n * @ngdoc method\n * @name $animate#on\n * @kind function\n * @description Sets up an event listener to fire whenever the animation event (enter, leave, move, etc...)\n * has fired on the given element or among any of its children. Once the listener is fired, the provided callback\n * is fired with the following params:\n *\n * ```js\n * $animate.on('enter', container,\n * function callback(element, phase) {\n * // cool we detected an enter animation within the container\n * }\n * );\n * ```\n *\n * <div class=\"alert alert-warning\">\n * **Note**: Generally, the events that are fired correspond 1:1 to `$animate` method names,\n * e.g. {@link ng.$animate#addClass addClass()} will fire `addClass`, and {@link ng.ngClass}\n * will fire `addClass` if classes are added, and `removeClass` if classes are removed.\n * However, there are two exceptions:\n *\n * <ul>\n * <li>if both an {@link ng.$animate#addClass addClass()} and a\n * {@link ng.$animate#removeClass removeClass()} action are performed during the same\n * animation, the event fired will be `setClass`. This is true even for `ngClass`.</li>\n * <li>an {@link ng.$animate#animate animate()} call that adds and removes classes will fire\n * the `setClass` event, but if it either removes or adds classes,\n * it will fire `animate` instead.</li>\n * </ul>\n *\n * </div>\n *\n * @param {string} event the animation event that will be captured (e.g. enter, leave, move, addClass, removeClass, etc...)\n * @param {DOMElement} container the container element that will capture each of the animation events that are fired on itself\n * as well as among its children\n * @param {Function} callback the callback function that will be fired when the listener is triggered.\n *\n * The arguments present in the callback function are:\n * * `element` - The captured DOM element that the animation was fired on.\n * * `phase` - The phase of the animation. The two possible phases are **start** (when the animation starts) and **close** (when it ends).\n * * `data` - an object with these properties:\n * * addClass - `{string|null}` - space-separated CSS classes to add to the element\n * * removeClass - `{string|null}` - space-separated CSS classes to remove from the element\n * * from - `{Object|null}` - CSS properties & values at the beginning of the animation\n * * to - `{Object|null}` - CSS properties & values at the end of the animation\n *\n * Note that the callback does not trigger a scope digest. Wrap your call into a\n * {@link $rootScope.Scope#$apply scope.$apply} to propagate changes to the scope.\n */\n on: $$animateQueue.on,\n\n /**\n *\n * @ngdoc method\n * @name $animate#off\n * @kind function\n * @description Deregisters an event listener based on the event which has been associated with the provided element. This method\n * can be used in three different ways depending on the arguments:\n *\n * ```js\n * // remove all the animation event listeners listening for `enter`\n * $animate.off('enter');\n *\n * // remove listeners for all animation events from the container element\n * $animate.off(container);\n *\n * // remove all the animation event listeners listening for `enter` on the given element and its children\n * $animate.off('enter', container);\n *\n * // remove the event listener function provided by `callback` that is set\n * // to listen for `enter` on the given `container` as well as its children\n * $animate.off('enter', container, callback);\n * ```\n *\n * @param {string|DOMElement} event|container the animation event (e.g. enter, leave, move,\n * addClass, removeClass, etc...), or the container element. If it is the element, all other\n * arguments are ignored.\n * @param {DOMElement=} container the container element the event listener was placed on\n * @param {Function=} callback the callback function that was registered as the listener\n */\n off: $$animateQueue.off,\n\n /**\n * @ngdoc method\n * @name $animate#pin\n * @kind function\n * @description Associates the provided element with a host parent element to allow the element to be animated even if it exists\n * outside of the DOM structure of the AngularJS application. By doing so, any animation triggered via `$animate` can be issued on the\n * element despite being outside the realm of the application or within another application. Say for example if the application\n * was bootstrapped on an element that is somewhere inside of the `<body>` tag, but we wanted to allow for an element to be situated\n * as a direct child of `document.body`, then this can be achieved by pinning the element via `$animate.pin(element)`. Keep in mind\n * that calling `$animate.pin(element, parentElement)` will not actually insert into the DOM anywhere; it will just create the association.\n *\n * Note that this feature is only active when the `ngAnimate` module is used.\n *\n * @param {DOMElement} element the external element that will be pinned\n * @param {DOMElement} parentElement the host parent element that will be associated with the external element\n */\n pin: $$animateQueue.pin,\n\n /**\n *\n * @ngdoc method\n * @name $animate#enabled\n * @kind function\n * @description Used to get and set whether animations are enabled or not on the entire application or on an element and its children. This\n * function can be called in four ways:\n *\n * ```js\n * // returns true or false\n * $animate.enabled();\n *\n * // changes the enabled state for all animations\n * $animate.enabled(false);\n * $animate.enabled(true);\n *\n * // returns true or false if animations are enabled for an element\n * $animate.enabled(element);\n *\n * // changes the enabled state for an element and its children\n * $animate.enabled(element, true);\n * $animate.enabled(element, false);\n * ```\n *\n * @param {DOMElement=} element the element that will be considered for checking/setting the enabled state\n * @param {boolean=} enabled whether or not the animations will be enabled for the element\n *\n * @return {boolean} whether or not animations are enabled\n */\n enabled: $$animateQueue.enabled,\n\n /**\n * @ngdoc method\n * @name $animate#cancel\n * @kind function\n * @description Cancels the provided animation and applies the end state of the animation.\n * Note that this does not cancel the underlying operation, e.g. the setting of classes or\n * adding the element to the DOM.\n *\n * @param {animationRunner} animationRunner An animation runner returned by an $animate function.\n *\n * @example\n <example module=\"animationExample\" deps=\"angular-animate.js\" animations=\"true\" name=\"animate-cancel\">\n <file name=\"app.js\">\n angular.module('animationExample', ['ngAnimate']).component('cancelExample', {\n templateUrl: 'template.html',\n controller: function($element, $animate) {\n this.runner = null;\n\n this.addClass = function() {\n this.runner = $animate.addClass($element.find('div'), 'red');\n var ctrl = this;\n this.runner.finally(function() {\n ctrl.runner = null;\n });\n };\n\n this.removeClass = function() {\n this.runner = $animate.removeClass($element.find('div'), 'red');\n var ctrl = this;\n this.runner.finally(function() {\n ctrl.runner = null;\n });\n };\n\n this.cancel = function() {\n $animate.cancel(this.runner);\n };\n }\n });\n </file>\n <file name=\"template.html\">\n <p>\n <button id=\"add\" ng-click=\"$ctrl.addClass()\">Add</button>\n <button ng-click=\"$ctrl.removeClass()\">Remove</button>\n <br>\n <button id=\"cancel\" ng-click=\"$ctrl.cancel()\" ng-disabled=\"!$ctrl.runner\">Cancel</button>\n <br>\n <div id=\"target\">CSS-Animated Text</div>\n </p>\n </file>\n <file name=\"index.html\">\n <cancel-example></cancel-example>\n </file>\n <file name=\"style.css\">\n .red-add, .red-remove {\n transition: all 4s cubic-bezier(0.250, 0.460, 0.450, 0.940);\n }\n\n .red,\n .red-add.red-add-active {\n color: #FF0000;\n font-size: 40px;\n }\n\n .red-remove.red-remove-active {\n font-size: 10px;\n color: black;\n }\n\n </file>\n </example>\n */\n cancel: function(runner) {\n if (runner.cancel) {\n runner.cancel();\n }\n },\n\n /**\n *\n * @ngdoc method\n * @name $animate#enter\n * @kind function\n * @description Inserts the element into the DOM either after the `after` element (if provided) or\n * as the first child within the `parent` element and then triggers an animation.\n * A promise is returned that will be resolved during the next digest once the animation\n * has completed.\n *\n * @param {DOMElement} element the element which will be inserted into the DOM\n * @param {DOMElement} parent the parent element which will append the element as\n * a child (so long as the after element is not present)\n * @param {DOMElement=} after the sibling element after which the element will be appended\n * @param {object=} options an optional collection of options/styles that will be applied to the element.\n * The object can have the following properties:\n *\n * - **addClass** - `{string}` - space-separated CSS classes to add to element\n * - **from** - `{Object}` - CSS properties & values at the beginning of animation. Must have matching `to`\n * - **removeClass** - `{string}` - space-separated CSS classes to remove from element\n * - **to** - `{Object}` - CSS properties & values at end of animation. Must have matching `from`\n *\n * @return {Runner} the animation runner\n */\n enter: function(element, parent, after, options) {\n parent = parent && jqLite(parent);\n after = after && jqLite(after);\n parent = parent || after.parent();\n domInsert(element, parent, after);\n return $$animateQueue.push(element, 'enter', prepareAnimateOptions(options));\n },\n\n /**\n *\n * @ngdoc method\n * @name $animate#move\n * @kind function\n * @description Inserts (moves) the element into its new position in the DOM either after\n * the `after` element (if provided) or as the first child within the `parent` element\n * and then triggers an animation. A promise is returned that will be resolved\n * during the next digest once the animation has completed.\n *\n * @param {DOMElement} element the element which will be moved into the new DOM position\n * @param {DOMElement} parent the parent element which will append the element as\n * a child (so long as the after element is not present)\n * @param {DOMElement=} after the sibling element after which the element will be appended\n * @param {object=} options an optional collection of options/styles that will be applied to the element.\n * The object can have the following properties:\n *\n * - **addClass** - `{string}` - space-separated CSS classes to add to element\n * - **from** - `{Object}` - CSS properties & values at the beginning of animation. Must have matching `to`\n * - **removeClass** - `{string}` - space-separated CSS classes to remove from element\n * - **to** - `{Object}` - CSS properties & values at end of animation. Must have matching `from`\n *\n * @return {Runner} the animation runner\n */\n move: function(element, parent, after, options) {\n parent = parent && jqLite(parent);\n after = after && jqLite(after);\n parent = parent || after.parent();\n domInsert(element, parent, after);\n return $$animateQueue.push(element, 'move', prepareAnimateOptions(options));\n },\n\n /**\n * @ngdoc method\n * @name $animate#leave\n * @kind function\n * @description Triggers an animation and then removes the element from the DOM.\n * When the function is called a promise is returned that will be resolved during the next\n * digest once the animation has completed.\n *\n * @param {DOMElement} element the element which will be removed from the DOM\n * @param {object=} options an optional collection of options/styles that will be applied to the element.\n * The object can have the following properties:\n *\n * - **addClass** - `{string}` - space-separated CSS classes to add to element\n * - **from** - `{Object}` - CSS properties & values at the beginning of animation. Must have matching `to`\n * - **removeClass** - `{string}` - space-separated CSS classes to remove from element\n * - **to** - `{Object}` - CSS properties & values at end of animation. Must have matching `from`\n *\n * @return {Runner} the animation runner\n */\n leave: function(element, options) {\n return $$animateQueue.push(element, 'leave', prepareAnimateOptions(options), function() {\n element.remove();\n });\n },\n\n /**\n * @ngdoc method\n * @name $animate#addClass\n * @kind function\n *\n * @description Triggers an addClass animation surrounding the addition of the provided CSS class(es). Upon\n * execution, the addClass operation will only be handled after the next digest and it will not trigger an\n * animation if element already contains the CSS class or if the class is removed at a later step.\n * Note that class-based animations are treated differently compared to structural animations\n * (like enter, move and leave) since the CSS classes may be added/removed at different points\n * depending if CSS or JavaScript animations are used.\n *\n * @param {DOMElement} element the element which the CSS classes will be applied to\n * @param {string} className the CSS class(es) that will be added (multiple classes are separated via spaces)\n * @param {object=} options an optional collection of options/styles that will be applied to the element.\n * The object can have the following properties:\n *\n * - **removeClass** - `{string}` - space-separated CSS classes to remove from element\n * - **from** - `{Object}` - CSS properties & values at the beginning of animation. Must have matching `to`\n * - **to** - `{Object}` - CSS properties & values at end of animation. Must have matching `from`\n *\n * @return {Runner} animationRunner the animation runner\n */\n addClass: function(element, className, options) {\n options = prepareAnimateOptions(options);\n options.addClass = mergeClasses(options.addclass, className);\n return $$animateQueue.push(element, 'addClass', options);\n },\n\n /**\n * @ngdoc method\n * @name $animate#removeClass\n * @kind function\n *\n * @description Triggers a removeClass animation surrounding the removal of the provided CSS class(es). Upon\n * execution, the removeClass operation will only be handled after the next digest and it will not trigger an\n * animation if element does not contain the CSS class or if the class is added at a later step.\n * Note that class-based animations are treated differently compared to structural animations\n * (like enter, move and leave) since the CSS classes may be added/removed at different points\n * depending if CSS or JavaScript animations are used.\n *\n * @param {DOMElement} element the element which the CSS classes will be applied to\n * @param {string} className the CSS class(es) that will be removed (multiple classes are separated via spaces)\n * @param {object=} options an optional collection of options/styles that will be applied to the element.\n * The object can have the following properties:\n *\n * - **addClass** - `{string}` - space-separated CSS classes to add to element\n * - **from** - `{Object}` - CSS properties & values at the beginning of animation. Must have matching `to`\n * - **to** - `{Object}` - CSS properties & values at end of animation. Must have matching `from`\n *\n * @return {Runner} the animation runner\n */\n removeClass: function(element, className, options) {\n options = prepareAnimateOptions(options);\n options.removeClass = mergeClasses(options.removeClass, className);\n return $$animateQueue.push(element, 'removeClass', options);\n },\n\n /**\n * @ngdoc method\n * @name $animate#setClass\n * @kind function\n *\n * @description Performs both the addition and removal of a CSS classes on an element and (during the process)\n * triggers an animation surrounding the class addition/removal. Much like `$animate.addClass` and\n * `$animate.removeClass`, `setClass` will only evaluate the classes being added/removed once a digest has\n * passed. Note that class-based animations are treated differently compared to structural animations\n * (like enter, move and leave) since the CSS classes may be added/removed at different points\n * depending if CSS or JavaScript animations are used.\n *\n * @param {DOMElement} element the element which the CSS classes will be applied to\n * @param {string} add the CSS class(es) that will be added (multiple classes are separated via spaces)\n * @param {string} remove the CSS class(es) that will be removed (multiple classes are separated via spaces)\n * @param {object=} options an optional collection of options/styles that will be applied to the element.\n * The object can have the following properties:\n *\n * - **addClass** - `{string}` - space-separated CSS classes to add to element\n * - **removeClass** - `{string}` - space-separated CSS classes to remove from element\n * - **from** - `{Object}` - CSS properties & values at the beginning of animation. Must have matching `to`\n * - **to** - `{Object}` - CSS properties & values at end of animation. Must have matching `from`\n *\n * @return {Runner} the animation runner\n */\n setClass: function(element, add, remove, options) {\n options = prepareAnimateOptions(options);\n options.addClass = mergeClasses(options.addClass, add);\n options.removeClass = mergeClasses(options.removeClass, remove);\n return $$animateQueue.push(element, 'setClass', options);\n },\n\n /**\n * @ngdoc method\n * @name $animate#animate\n * @kind function\n *\n * @description Performs an inline animation on the element which applies the provided to and from CSS styles to the element.\n * If any detected CSS transition, keyframe or JavaScript matches the provided className value, then the animation will take\n * on the provided styles. For example, if a transition animation is set for the given className, then the provided `from` and\n * `to` styles will be applied alongside the given transition. If the CSS style provided in `from` does not have a corresponding\n * style in `to`, the style in `from` is applied immediately, and no animation is run.\n * If a JavaScript animation is detected then the provided styles will be given in as function parameters into the `animate`\n * method (or as part of the `options` parameter):\n *\n * ```js\n * ngModule.animation('.my-inline-animation', function() {\n * return {\n * animate : function(element, from, to, done, options) {\n * //animation\n * done();\n * }\n * }\n * });\n * ```\n *\n * @param {DOMElement} element the element which the CSS styles will be applied to\n * @param {object} from the from (starting) CSS styles that will be applied to the element and across the animation.\n * @param {object} to the to (destination) CSS styles that will be applied to the element and across the animation.\n * @param {string=} className an optional CSS class that will be applied to the element for the duration of the animation. If\n * this value is left as empty then a CSS class of `ng-inline-animate` will be applied to the element.\n * (Note that if no animation is detected then this value will not be applied to the element.)\n * @param {object=} options an optional collection of options/styles that will be applied to the element.\n * The object can have the following properties:\n *\n * - **addClass** - `{string}` - space-separated CSS classes to add to element\n * - **from** - `{Object}` - CSS properties & values at the beginning of animation. Must have matching `to`\n * - **removeClass** - `{string}` - space-separated CSS classes to remove from element\n * - **to** - `{Object}` - CSS properties & values at end of animation. Must have matching `from`\n *\n * @return {Runner} the animation runner\n */\n animate: function(element, from, to, className, options) {\n options = prepareAnimateOptions(options);\n options.from = options.from ? extend(options.from, from) : from;\n options.to = options.to ? extend(options.to, to) : to;\n\n className = className || 'ng-inline-animate';\n options.tempClasses = mergeClasses(options.tempClasses, className);\n return $$animateQueue.push(element, 'animate', options);\n }\n };\n }];\n}];\n\nvar $$AnimateAsyncRunFactoryProvider = /** @this */ function() {\n this.$get = ['$$rAF', function($$rAF) {\n var waitQueue = [];\n\n function waitForTick(fn) {\n waitQueue.push(fn);\n if (waitQueue.length > 1) return;\n $$rAF(function() {\n for (var i = 0; i < waitQueue.length; i++) {\n waitQueue[i]();\n }\n waitQueue = [];\n });\n }\n\n return function() {\n var passed = false;\n waitForTick(function() {\n passed = true;\n });\n return function(callback) {\n if (passed) {\n callback();\n } else {\n waitForTick(callback);\n }\n };\n };\n }];\n};\n\nvar $$AnimateRunnerFactoryProvider = /** @this */ function() {\n this.$get = ['$q', '$sniffer', '$$animateAsyncRun', '$$isDocumentHidden', '$timeout',\n function($q, $sniffer, $$animateAsyncRun, $$isDocumentHidden, $timeout) {\n\n var INITIAL_STATE = 0;\n var DONE_PENDING_STATE = 1;\n var DONE_COMPLETE_STATE = 2;\n\n AnimateRunner.chain = function(chain, callback) {\n var index = 0;\n\n next();\n function next() {\n if (index === chain.length) {\n callback(true);\n return;\n }\n\n chain[index](function(response) {\n if (response === false) {\n callback(false);\n return;\n }\n index++;\n next();\n });\n }\n };\n\n AnimateRunner.all = function(runners, callback) {\n var count = 0;\n var status = true;\n forEach(runners, function(runner) {\n runner.done(onProgress);\n });\n\n function onProgress(response) {\n status = status && response;\n if (++count === runners.length) {\n callback(status);\n }\n }\n };\n\n function AnimateRunner(host) {\n this.setHost(host);\n\n var rafTick = $$animateAsyncRun();\n var timeoutTick = function(fn) {\n $timeout(fn, 0, false);\n };\n\n this._doneCallbacks = [];\n this._tick = function(fn) {\n if ($$isDocumentHidden()) {\n timeoutTick(fn);\n } else {\n rafTick(fn);\n }\n };\n this._state = 0;\n }\n\n AnimateRunner.prototype = {\n setHost: function(host) {\n this.host = host || {};\n },\n\n done: function(fn) {\n if (this._state === DONE_COMPLETE_STATE) {\n fn();\n } else {\n this._doneCallbacks.push(fn);\n }\n },\n\n progress: noop,\n\n getPromise: function() {\n if (!this.promise) {\n var self = this;\n this.promise = $q(function(resolve, reject) {\n self.done(function(status) {\n if (status === false) {\n reject();\n } else {\n resolve();\n }\n });\n });\n }\n return this.promise;\n },\n\n then: function(resolveHandler, rejectHandler) {\n return this.getPromise().then(resolveHandler, rejectHandler);\n },\n\n 'catch': function(handler) {\n return this.getPromise()['catch'](handler);\n },\n\n 'finally': function(handler) {\n return this.getPromise()['finally'](handler);\n },\n\n pause: function() {\n if (this.host.pause) {\n this.host.pause();\n }\n },\n\n resume: function() {\n if (this.host.resume) {\n this.host.resume();\n }\n },\n\n end: function() {\n if (this.host.end) {\n this.host.end();\n }\n this._resolve(true);\n },\n\n cancel: function() {\n if (this.host.cancel) {\n this.host.cancel();\n }\n this._resolve(false);\n },\n\n complete: function(response) {\n var self = this;\n if (self._state === INITIAL_STATE) {\n self._state = DONE_PENDING_STATE;\n self._tick(function() {\n self._resolve(response);\n });\n }\n },\n\n _resolve: function(response) {\n if (this._state !== DONE_COMPLETE_STATE) {\n forEach(this._doneCallbacks, function(fn) {\n fn(response);\n });\n this._doneCallbacks.length = 0;\n this._state = DONE_COMPLETE_STATE;\n }\n }\n };\n\n return AnimateRunner;\n }];\n};\n\n/* exported $CoreAnimateCssProvider */\n\n/**\n * @ngdoc service\n * @name $animateCss\n * @kind object\n * @this\n *\n * @description\n * This is the core version of `$animateCss`. By default, only when the `ngAnimate` is included,\n * then the `$animateCss` service will actually perform animations.\n *\n * Click here {@link ngAnimate.$animateCss to read the documentation for $animateCss}.\n */\nvar $CoreAnimateCssProvider = function() {\n this.$get = ['$$rAF', '$q', '$$AnimateRunner', function($$rAF, $q, $$AnimateRunner) {\n\n return function(element, initialOptions) {\n // all of the animation functions should create\n // a copy of the options data, however, if a\n // parent service has already created a copy then\n // we should stick to using that\n var options = initialOptions || {};\n if (!options.$$prepared) {\n options = copy(options);\n }\n\n // there is no point in applying the styles since\n // there is no animation that goes on at all in\n // this version of $animateCss.\n if (options.cleanupStyles) {\n options.from = options.to = null;\n }\n\n if (options.from) {\n element.css(options.from);\n options.from = null;\n }\n\n var closed, runner = new $$AnimateRunner();\n return {\n start: run,\n end: run\n };\n\n function run() {\n $$rAF(function() {\n applyAnimationContents();\n if (!closed) {\n runner.complete();\n }\n closed = true;\n });\n return runner;\n }\n\n function applyAnimationContents() {\n if (options.addClass) {\n element.addClass(options.addClass);\n options.addClass = null;\n }\n if (options.removeClass) {\n element.removeClass(options.removeClass);\n options.removeClass = null;\n }\n if (options.to) {\n element.css(options.to);\n options.to = null;\n }\n }\n };\n }];\n};\n\n/* global getHash: true, stripHash: false */\n\nfunction getHash(url) {\n var index = url.indexOf('#');\n return index === -1 ? '' : url.substr(index);\n}\n\nfunction trimEmptyHash(url) {\n return url.replace(/#$/, '');\n}\n\n/**\n * ! This is a private undocumented service !\n *\n * @name $browser\n * @requires $log\n * @description\n * This object has two goals:\n *\n * - hide all the global state in the browser caused by the window object\n * - abstract away all the browser specific features and inconsistencies\n *\n * For tests we provide {@link ngMock.$browser mock implementation} of the `$browser`\n * service, which can be used for convenient testing of the application without the interaction with\n * the real browser apis.\n */\n/**\n * @param {object} window The global window object.\n * @param {object} document jQuery wrapped document.\n * @param {object} $log window.console or an object with the same interface.\n * @param {object} $sniffer $sniffer service\n */\nfunction Browser(window, document, $log, $sniffer, $$taskTrackerFactory) {\n var self = this,\n location = window.location,\n history = window.history,\n setTimeout = window.setTimeout,\n clearTimeout = window.clearTimeout,\n pendingDeferIds = {},\n taskTracker = $$taskTrackerFactory($log);\n\n self.isMock = false;\n\n //////////////////////////////////////////////////////////////\n // Task-tracking API\n //////////////////////////////////////////////////////////////\n\n // TODO(vojta): remove this temporary api\n self.$$completeOutstandingRequest = taskTracker.completeTask;\n self.$$incOutstandingRequestCount = taskTracker.incTaskCount;\n\n // TODO(vojta): prefix this method with $$ ?\n self.notifyWhenNoOutstandingRequests = taskTracker.notifyWhenNoPendingTasks;\n\n //////////////////////////////////////////////////////////////\n // URL API\n //////////////////////////////////////////////////////////////\n\n var cachedState, lastHistoryState,\n lastBrowserUrl = location.href,\n baseElement = document.find('base'),\n pendingLocation = null,\n getCurrentState = !$sniffer.history ? noop : function getCurrentState() {\n try {\n return history.state;\n } catch (e) {\n // MSIE can reportedly throw when there is no state (UNCONFIRMED).\n }\n };\n\n cacheState();\n\n /**\n * @name $browser#url\n *\n * @description\n * GETTER:\n * Without any argument, this method just returns current value of `location.href` (with a\n * trailing `#` stripped of if the hash is empty).\n *\n * SETTER:\n * With at least one argument, this method sets url to new value.\n * If html5 history api supported, `pushState`/`replaceState` is used, otherwise\n * `location.href`/`location.replace` is used.\n * Returns its own instance to allow chaining.\n *\n * NOTE: this api is intended for use only by the `$location` service. Please use the\n * {@link ng.$location $location service} to change url.\n *\n * @param {string} url New url (when used as setter)\n * @param {boolean=} replace Should new url replace current history record?\n * @param {object=} state State object to use with `pushState`/`replaceState`\n */\n self.url = function(url, replace, state) {\n // In modern browsers `history.state` is `null` by default; treating it separately\n // from `undefined` would cause `$browser.url('/foo')` to change `history.state`\n // to undefined via `pushState`. Instead, let's change `undefined` to `null` here.\n if (isUndefined(state)) {\n state = null;\n }\n\n // Android Browser BFCache causes location, history reference to become stale.\n if (location !== window.location) location = window.location;\n if (history !== window.history) history = window.history;\n\n // setter\n if (url) {\n var sameState = lastHistoryState === state;\n\n // Normalize the inputted URL\n url = urlResolve(url).href;\n\n // Don't change anything if previous and current URLs and states match. This also prevents\n // IE<10 from getting into redirect loop when in LocationHashbangInHtml5Url mode.\n // See https://github.com/angular/angular.js/commit/ffb2701\n if (lastBrowserUrl === url && (!$sniffer.history || sameState)) {\n return self;\n }\n var sameBase = lastBrowserUrl && stripHash(lastBrowserUrl) === stripHash(url);\n lastBrowserUrl = url;\n lastHistoryState = state;\n // Don't use history API if only the hash changed\n // due to a bug in IE10/IE11 which leads\n // to not firing a `hashchange` nor `popstate` event\n // in some cases (see #9143).\n if ($sniffer.history && (!sameBase || !sameState)) {\n history[replace ? 'replaceState' : 'pushState'](state, '', url);\n cacheState();\n } else {\n if (!sameBase) {\n pendingLocation = url;\n }\n if (replace) {\n location.replace(url);\n } else if (!sameBase) {\n location.href = url;\n } else {\n location.hash = getHash(url);\n }\n if (location.href !== url) {\n pendingLocation = url;\n }\n }\n if (pendingLocation) {\n pendingLocation = url;\n }\n return self;\n // getter\n } else {\n // - pendingLocation is needed as browsers don't allow to read out\n // the new location.href if a reload happened or if there is a bug like in iOS 9 (see\n // https://openradar.appspot.com/22186109).\n return trimEmptyHash(pendingLocation || location.href);\n }\n };\n\n /**\n * @name $browser#state\n *\n * @description\n * This method is a getter.\n *\n * Return history.state or null if history.state is undefined.\n *\n * @returns {object} state\n */\n self.state = function() {\n return cachedState;\n };\n\n var urlChangeListeners = [],\n urlChangeInit = false;\n\n function cacheStateAndFireUrlChange() {\n pendingLocation = null;\n fireStateOrUrlChange();\n }\n\n // This variable should be used *only* inside the cacheState function.\n var lastCachedState = null;\n function cacheState() {\n // This should be the only place in $browser where `history.state` is read.\n cachedState = getCurrentState();\n cachedState = isUndefined(cachedState) ? null : cachedState;\n\n // Prevent callbacks fo fire twice if both hashchange & popstate were fired.\n if (equals(cachedState, lastCachedState)) {\n cachedState = lastCachedState;\n }\n\n lastCachedState = cachedState;\n lastHistoryState = cachedState;\n }\n\n function fireStateOrUrlChange() {\n var prevLastHistoryState = lastHistoryState;\n cacheState();\n\n if (lastBrowserUrl === self.url() && prevLastHistoryState === cachedState) {\n return;\n }\n\n lastBrowserUrl = self.url();\n lastHistoryState = cachedState;\n forEach(urlChangeListeners, function(listener) {\n listener(self.url(), cachedState);\n });\n }\n\n /**\n * @name $browser#onUrlChange\n *\n * @description\n * Register callback function that will be called, when url changes.\n *\n * It's only called when the url is changed from outside of AngularJS:\n * - user types different url into address bar\n * - user clicks on history (forward/back) button\n * - user clicks on a link\n *\n * It's not called when url is changed by $browser.url() method\n *\n * The listener gets called with new url as parameter.\n *\n * NOTE: this api is intended for use only by the $location service. Please use the\n * {@link ng.$location $location service} to monitor url changes in AngularJS apps.\n *\n * @param {function(string)} listener Listener function to be called when url changes.\n * @return {function(string)} Returns the registered listener fn - handy if the fn is anonymous.\n */\n self.onUrlChange = function(callback) {\n // TODO(vojta): refactor to use node's syntax for events\n if (!urlChangeInit) {\n // We listen on both (hashchange/popstate) when available, as some browsers don't\n // fire popstate when user changes the address bar and don't fire hashchange when url\n // changed by push/replaceState\n\n // html5 history api - popstate event\n if ($sniffer.history) jqLite(window).on('popstate', cacheStateAndFireUrlChange);\n // hashchange event\n jqLite(window).on('hashchange', cacheStateAndFireUrlChange);\n\n urlChangeInit = true;\n }\n\n urlChangeListeners.push(callback);\n return callback;\n };\n\n /**\n * @private\n * Remove popstate and hashchange handler from window.\n *\n * NOTE: this api is intended for use only by $rootScope.\n */\n self.$$applicationDestroyed = function() {\n jqLite(window).off('hashchange popstate', cacheStateAndFireUrlChange);\n };\n\n /**\n * Checks whether the url has changed outside of AngularJS.\n * Needs to be exported to be able to check for changes that have been done in sync,\n * as hashchange/popstate events fire in async.\n */\n self.$$checkUrlChange = fireStateOrUrlChange;\n\n //////////////////////////////////////////////////////////////\n // Misc API\n //////////////////////////////////////////////////////////////\n\n /**\n * @name $browser#baseHref\n *\n * @description\n * Returns current <base href>\n * (always relative - without domain)\n *\n * @returns {string} The current base href\n */\n self.baseHref = function() {\n var href = baseElement.attr('href');\n return href ? href.replace(/^(https?:)?\\/\\/[^/]*/, '') : '';\n };\n\n /**\n * @name $browser#defer\n * @param {function()} fn A function, who's execution should be deferred.\n * @param {number=} [delay=0] Number of milliseconds to defer the function execution.\n * @param {string=} [taskType=DEFAULT_TASK_TYPE] The type of task that is deferred.\n * @returns {*} DeferId that can be used to cancel the task via `$browser.defer.cancel()`.\n *\n * @description\n * Executes a fn asynchronously via `setTimeout(fn, delay)`.\n *\n * Unlike when calling `setTimeout` directly, in test this function is mocked and instead of using\n * `setTimeout` in tests, the fns are queued in an array, which can be programmatically flushed\n * via `$browser.defer.flush()`.\n *\n */\n self.defer = function(fn, delay, taskType) {\n var timeoutId;\n\n delay = delay || 0;\n taskType = taskType || taskTracker.DEFAULT_TASK_TYPE;\n\n taskTracker.incTaskCount(taskType);\n timeoutId = setTimeout(function() {\n delete pendingDeferIds[timeoutId];\n taskTracker.completeTask(fn, taskType);\n }, delay);\n pendingDeferIds[timeoutId] = taskType;\n\n return timeoutId;\n };\n\n\n /**\n * @name $browser#defer.cancel\n *\n * @description\n * Cancels a deferred task identified with `deferId`.\n *\n * @param {*} deferId Token returned by the `$browser.defer` function.\n * @returns {boolean} Returns `true` if the task hasn't executed yet and was successfully\n * canceled.\n */\n self.defer.cancel = function(deferId) {\n if (pendingDeferIds.hasOwnProperty(deferId)) {\n var taskType = pendingDeferIds[deferId];\n delete pendingDeferIds[deferId];\n clearTimeout(deferId);\n taskTracker.completeTask(noop, taskType);\n return true;\n }\n return false;\n };\n\n}\n\n/** @this */\nfunction $BrowserProvider() {\n this.$get = ['$window', '$log', '$sniffer', '$document', '$$taskTrackerFactory',\n function($window, $log, $sniffer, $document, $$taskTrackerFactory) {\n return new Browser($window, $document, $log, $sniffer, $$taskTrackerFactory);\n }];\n}\n\n/**\n * @ngdoc service\n * @name $cacheFactory\n * @this\n *\n * @description\n * Factory that constructs {@link $cacheFactory.Cache Cache} objects and gives access to\n * them.\n *\n * ```js\n *\n * var cache = $cacheFactory('cacheId');\n * expect($cacheFactory.get('cacheId')).toBe(cache);\n * expect($cacheFactory.get('noSuchCacheId')).not.toBeDefined();\n *\n * cache.put(\"key\", \"value\");\n * cache.put(\"another key\", \"another value\");\n *\n * // We've specified no options on creation\n * expect(cache.info()).toEqual({id: 'cacheId', size: 2});\n *\n * ```\n *\n *\n * @param {string} cacheId Name or id of the newly created cache.\n * @param {object=} options Options object that specifies the cache behavior. Properties:\n *\n * - `{number=}` `capacity` — turns the cache into LRU cache.\n *\n * @returns {object} Newly created cache object with the following set of methods:\n *\n * - `{object}` `info()` — Returns id, size, and options of cache.\n * - `{{*}}` `put({string} key, {*} value)` — Puts a new key-value pair into the cache and returns\n * it.\n * - `{{*}}` `get({string} key)` — Returns cached value for `key` or undefined for cache miss.\n * - `{void}` `remove({string} key)` — Removes a key-value pair from the cache.\n * - `{void}` `removeAll()` — Removes all cached values.\n * - `{void}` `destroy()` — Removes references to this cache from $cacheFactory.\n *\n * @example\n <example module=\"cacheExampleApp\" name=\"cache-factory\">\n <file name=\"index.html\">\n <div ng-controller=\"CacheController\">\n <input ng-model=\"newCacheKey\" placeholder=\"Key\">\n <input ng-model=\"newCacheValue\" placeholder=\"Value\">\n <button ng-click=\"put(newCacheKey, newCacheValue)\">Cache</button>\n\n <p ng-if=\"keys.length\">Cached Values</p>\n <div ng-repeat=\"key in keys\">\n <span ng-bind=\"key\"></span>\n <span>: </span>\n <b ng-bind=\"cache.get(key)\"></b>\n </div>\n\n <p>Cache Info</p>\n <div ng-repeat=\"(key, value) in cache.info()\">\n <span ng-bind=\"key\"></span>\n <span>: </span>\n <b ng-bind=\"value\"></b>\n </div>\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('cacheExampleApp', []).\n controller('CacheController', ['$scope', '$cacheFactory', function($scope, $cacheFactory) {\n $scope.keys = [];\n $scope.cache = $cacheFactory('cacheId');\n $scope.put = function(key, value) {\n if (angular.isUndefined($scope.cache.get(key))) {\n $scope.keys.push(key);\n }\n $scope.cache.put(key, angular.isUndefined(value) ? null : value);\n };\n }]);\n </file>\n <file name=\"style.css\">\n p {\n margin: 10px 0 3px;\n }\n </file>\n </example>\n */\nfunction $CacheFactoryProvider() {\n\n this.$get = function() {\n var caches = {};\n\n function cacheFactory(cacheId, options) {\n if (cacheId in caches) {\n throw minErr('$cacheFactory')('iid', 'CacheId \\'{0}\\' is already taken!', cacheId);\n }\n\n var size = 0,\n stats = extend({}, options, {id: cacheId}),\n data = createMap(),\n capacity = (options && options.capacity) || Number.MAX_VALUE,\n lruHash = createMap(),\n freshEnd = null,\n staleEnd = null;\n\n /**\n * @ngdoc type\n * @name $cacheFactory.Cache\n *\n * @description\n * A cache object used to store and retrieve data, primarily used by\n * {@link $templateRequest $templateRequest} and the {@link ng.directive:script script}\n * directive to cache templates and other data.\n *\n * ```js\n * angular.module('superCache')\n * .factory('superCache', ['$cacheFactory', function($cacheFactory) {\n * return $cacheFactory('super-cache');\n * }]);\n * ```\n *\n * Example test:\n *\n * ```js\n * it('should behave like a cache', inject(function(superCache) {\n * superCache.put('key', 'value');\n * superCache.put('another key', 'another value');\n *\n * expect(superCache.info()).toEqual({\n * id: 'super-cache',\n * size: 2\n * });\n *\n * superCache.remove('another key');\n * expect(superCache.get('another key')).toBeUndefined();\n *\n * superCache.removeAll();\n * expect(superCache.info()).toEqual({\n * id: 'super-cache',\n * size: 0\n * });\n * }));\n * ```\n */\n return (caches[cacheId] = {\n\n /**\n * @ngdoc method\n * @name $cacheFactory.Cache#put\n * @kind function\n *\n * @description\n * Inserts a named entry into the {@link $cacheFactory.Cache Cache} object to be\n * retrieved later, and incrementing the size of the cache if the key was not already\n * present in the cache. If behaving like an LRU cache, it will also remove stale\n * entries from the set.\n *\n * It will not insert undefined values into the cache.\n *\n * @param {string} key the key under which the cached data is stored.\n * @param {*} value the value to store alongside the key. If it is undefined, the key\n * will not be stored.\n * @returns {*} the value stored.\n */\n put: function(key, value) {\n if (isUndefined(value)) return;\n if (capacity < Number.MAX_VALUE) {\n var lruEntry = lruHash[key] || (lruHash[key] = {key: key});\n\n refresh(lruEntry);\n }\n\n if (!(key in data)) size++;\n data[key] = value;\n\n if (size > capacity) {\n this.remove(staleEnd.key);\n }\n\n return value;\n },\n\n /**\n * @ngdoc method\n * @name $cacheFactory.Cache#get\n * @kind function\n *\n * @description\n * Retrieves named data stored in the {@link $cacheFactory.Cache Cache} object.\n *\n * @param {string} key the key of the data to be retrieved\n * @returns {*} the value stored.\n */\n get: function(key) {\n if (capacity < Number.MAX_VALUE) {\n var lruEntry = lruHash[key];\n\n if (!lruEntry) return;\n\n refresh(lruEntry);\n }\n\n return data[key];\n },\n\n\n /**\n * @ngdoc method\n * @name $cacheFactory.Cache#remove\n * @kind function\n *\n * @description\n * Removes an entry from the {@link $cacheFactory.Cache Cache} object.\n *\n * @param {string} key the key of the entry to be removed\n */\n remove: function(key) {\n if (capacity < Number.MAX_VALUE) {\n var lruEntry = lruHash[key];\n\n if (!lruEntry) return;\n\n if (lruEntry === freshEnd) freshEnd = lruEntry.p;\n if (lruEntry === staleEnd) staleEnd = lruEntry.n;\n link(lruEntry.n,lruEntry.p);\n\n delete lruHash[key];\n }\n\n if (!(key in data)) return;\n\n delete data[key];\n size--;\n },\n\n\n /**\n * @ngdoc method\n * @name $cacheFactory.Cache#removeAll\n * @kind function\n *\n * @description\n * Clears the cache object of any entries.\n */\n removeAll: function() {\n data = createMap();\n size = 0;\n lruHash = createMap();\n freshEnd = staleEnd = null;\n },\n\n\n /**\n * @ngdoc method\n * @name $cacheFactory.Cache#destroy\n * @kind function\n *\n * @description\n * Destroys the {@link $cacheFactory.Cache Cache} object entirely,\n * removing it from the {@link $cacheFactory $cacheFactory} set.\n */\n destroy: function() {\n data = null;\n stats = null;\n lruHash = null;\n delete caches[cacheId];\n },\n\n\n /**\n * @ngdoc method\n * @name $cacheFactory.Cache#info\n * @kind function\n *\n * @description\n * Retrieve information regarding a particular {@link $cacheFactory.Cache Cache}.\n *\n * @returns {object} an object with the following properties:\n * <ul>\n * <li>**id**: the id of the cache instance</li>\n * <li>**size**: the number of entries kept in the cache instance</li>\n * <li>**...**: any additional properties from the options object when creating the\n * cache.</li>\n * </ul>\n */\n info: function() {\n return extend({}, stats, {size: size});\n }\n });\n\n\n /**\n * makes the `entry` the freshEnd of the LRU linked list\n */\n function refresh(entry) {\n if (entry !== freshEnd) {\n if (!staleEnd) {\n staleEnd = entry;\n } else if (staleEnd === entry) {\n staleEnd = entry.n;\n }\n\n link(entry.n, entry.p);\n link(entry, freshEnd);\n freshEnd = entry;\n freshEnd.n = null;\n }\n }\n\n\n /**\n * bidirectionally links two entries of the LRU linked list\n */\n function link(nextEntry, prevEntry) {\n if (nextEntry !== prevEntry) {\n if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify\n if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify\n }\n }\n }\n\n\n /**\n * @ngdoc method\n * @name $cacheFactory#info\n *\n * @description\n * Get information about all the caches that have been created\n *\n * @returns {Object} - key-value map of `cacheId` to the result of calling `cache#info`\n */\n cacheFactory.info = function() {\n var info = {};\n forEach(caches, function(cache, cacheId) {\n info[cacheId] = cache.info();\n });\n return info;\n };\n\n\n /**\n * @ngdoc method\n * @name $cacheFactory#get\n *\n * @description\n * Get access to a cache object by the `cacheId` used when it was created.\n *\n * @param {string} cacheId Name or id of a cache to access.\n * @returns {object} Cache object identified by the cacheId or undefined if no such cache.\n */\n cacheFactory.get = function(cacheId) {\n return caches[cacheId];\n };\n\n\n return cacheFactory;\n };\n}\n\n/**\n * @ngdoc service\n * @name $templateCache\n * @this\n *\n * @description\n * `$templateCache` is a {@link $cacheFactory.Cache Cache object} created by the\n * {@link ng.$cacheFactory $cacheFactory}.\n *\n * The first time a template is used, it is loaded in the template cache for quick retrieval. You\n * can load templates directly into the cache in a `script` tag, by using {@link $templateRequest},\n * or by consuming the `$templateCache` service directly.\n *\n * Adding via the `script` tag:\n *\n * ```html\n * <script type=\"text/ng-template\" id=\"templateId.html\">\n * <p>This is the content of the template</p>\n * </script>\n * ```\n *\n * **Note:** the `script` tag containing the template does not need to be included in the `head` of\n * the document, but it must be a descendent of the {@link ng.$rootElement $rootElement} (e.g.\n * element with {@link ngApp} attribute), otherwise the template will be ignored.\n *\n * Adding via the `$templateCache` service:\n *\n * ```js\n * var myApp = angular.module('myApp', []);\n * myApp.run(function($templateCache) {\n * $templateCache.put('templateId.html', 'This is the content of the template');\n * });\n * ```\n *\n * To retrieve the template later, simply use it in your component:\n * ```js\n * myApp.component('myComponent', {\n * templateUrl: 'templateId.html'\n * });\n * ```\n *\n * or get it via the `$templateCache` service:\n * ```js\n * $templateCache.get('templateId.html')\n * ```\n *\n */\nfunction $TemplateCacheProvider() {\n this.$get = ['$cacheFactory', function($cacheFactory) {\n return $cacheFactory('templates');\n }];\n}\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * Any commits to this file should be reviewed with security in mind. *\n * Changes to this file can potentially create security vulnerabilities. *\n * An approval from 2 Core members with history of modifying *\n * this file is required. *\n * *\n * Does the change somehow allow for arbitrary javascript to be executed? *\n * Or allows for someone to change the prototype of built-in objects? *\n * Or gives undesired access to variables like document or window? *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\n/* ! VARIABLE/FUNCTION NAMING CONVENTIONS THAT APPLY TO THIS FILE!\n *\n * DOM-related variables:\n *\n * - \"node\" - DOM Node\n * - \"element\" - DOM Element or Node\n * - \"$node\" or \"$element\" - jqLite-wrapped node or element\n *\n *\n * Compiler related stuff:\n *\n * - \"linkFn\" - linking fn of a single directive\n * - \"nodeLinkFn\" - function that aggregates all linking fns for a particular node\n * - \"childLinkFn\" - function that aggregates all linking fns for child nodes of a particular node\n * - \"compositeLinkFn\" - function that aggregates all linking fns for a compilation root (nodeList)\n */\n\n\n/**\n * @ngdoc service\n * @name $compile\n * @kind function\n *\n * @description\n * Compiles an HTML string or DOM into a template and produces a template function, which\n * can then be used to link {@link ng.$rootScope.Scope `scope`} and the template together.\n *\n * The compilation is a process of walking the DOM tree and matching DOM elements to\n * {@link ng.$compileProvider#directive directives}.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** This document is an in-depth reference of all directive options.\n * For a gentle introduction to directives with examples of common use cases,\n * see the {@link guide/directive directive guide}.\n * </div>\n *\n * ## Comprehensive Directive API\n *\n * There are many different options for a directive.\n *\n * The difference resides in the return value of the factory function.\n * You can either return a {@link $compile#directive-definition-object Directive Definition Object (see below)}\n * that defines the directive properties, or just the `postLink` function (all other properties will have\n * the default values).\n *\n * <div class=\"alert alert-success\">\n * **Best Practice:** It's recommended to use the \"directive definition object\" form.\n * </div>\n *\n * Here's an example directive declared with a Directive Definition Object:\n *\n * ```js\n * var myModule = angular.module(...);\n *\n * myModule.directive('directiveName', function factory(injectables) {\n * var directiveDefinitionObject = {\n * {@link $compile#-priority- priority}: 0,\n * {@link $compile#-template- template}: '<div></div>', // or // function(tElement, tAttrs) { ... },\n * // or\n * // {@link $compile#-templateurl- templateUrl}: 'directive.html', // or // function(tElement, tAttrs) { ... },\n * {@link $compile#-transclude- transclude}: false,\n * {@link $compile#-restrict- restrict}: 'A',\n * {@link $compile#-templatenamespace- templateNamespace}: 'html',\n * {@link $compile#-scope- scope}: false,\n * {@link $compile#-controller- controller}: function($scope, $element, $attrs, $transclude, otherInjectables) { ... },\n * {@link $compile#-controlleras- controllerAs}: 'stringIdentifier',\n * {@link $compile#-bindtocontroller- bindToController}: false,\n * {@link $compile#-require- require}: 'siblingDirectiveName', // or // ['^parentDirectiveName', '?optionalDirectiveName', '?^optionalParent'],\n * {@link $compile#-multielement- multiElement}: false,\n * {@link $compile#-compile- compile}: function compile(tElement, tAttrs, transclude) {\n * return {\n * {@link $compile#pre-linking-function pre}: function preLink(scope, iElement, iAttrs, controller) { ... },\n * {@link $compile#post-linking-function post}: function postLink(scope, iElement, iAttrs, controller) { ... }\n * }\n * // or\n * // return function postLink( ... ) { ... }\n * },\n * // or\n * // {@link $compile#-link- link}: {\n * // {@link $compile#pre-linking-function pre}: function preLink(scope, iElement, iAttrs, controller) { ... },\n * // {@link $compile#post-linking-function post}: function postLink(scope, iElement, iAttrs, controller) { ... }\n * // }\n * // or\n * // {@link $compile#-link- link}: function postLink( ... ) { ... }\n * };\n * return directiveDefinitionObject;\n * });\n * ```\n *\n * <div class=\"alert alert-warning\">\n * **Note:** Any unspecified options will use the default value. You can see the default values below.\n * </div>\n *\n * Therefore the above can be simplified as:\n *\n * ```js\n * var myModule = angular.module(...);\n *\n * myModule.directive('directiveName', function factory(injectables) {\n * var directiveDefinitionObject = {\n * link: function postLink(scope, iElement, iAttrs) { ... }\n * };\n * return directiveDefinitionObject;\n * // or\n * // return function postLink(scope, iElement, iAttrs) { ... }\n * });\n * ```\n *\n * ### Life-cycle hooks\n * Directive controllers can provide the following methods that are called by AngularJS at points in the life-cycle of the\n * directive:\n * * `$onInit()` - Called on each controller after all the controllers on an element have been constructed and\n * had their bindings initialized (and before the pre &amp; post linking functions for the directives on\n * this element). This is a good place to put initialization code for your controller.\n * * `$onChanges(changesObj)` - Called whenever one-way (`<`) or interpolation (`@`) bindings are updated. The\n * `changesObj` is a hash whose keys are the names of the bound properties that have changed, and the values are an\n * object of the form `{ currentValue, previousValue, isFirstChange() }`. Use this hook to trigger updates within a\n * component such as cloning the bound value to prevent accidental mutation of the outer value. Note that this will\n * also be called when your bindings are initialized.\n * * `$doCheck()` - Called on each turn of the digest cycle. Provides an opportunity to detect and act on\n * changes. Any actions that you wish to take in response to the changes that you detect must be\n * invoked from this hook; implementing this has no effect on when `$onChanges` is called. For example, this hook\n * could be useful if you wish to perform a deep equality check, or to check a Date object, changes to which would not\n * be detected by AngularJS's change detector and thus not trigger `$onChanges`. This hook is invoked with no arguments;\n * if detecting changes, you must store the previous value(s) for comparison to the current values.\n * * `$onDestroy()` - Called on a controller when its containing scope is destroyed. Use this hook for releasing\n * external resources, watches and event handlers. Note that components have their `$onDestroy()` hooks called in\n * the same order as the `$scope.$broadcast` events are triggered, which is top down. This means that parent\n * components will have their `$onDestroy()` hook called before child components.\n * * `$postLink()` - Called after this controller's element and its children have been linked. Similar to the post-link\n * function this hook can be used to set up DOM event handlers and do direct DOM manipulation.\n * Note that child elements that contain `templateUrl` directives will not have been compiled and linked since\n * they are waiting for their template to load asynchronously and their own compilation and linking has been\n * suspended until that occurs.\n *\n * #### Comparison with life-cycle hooks in the new Angular\n * The new Angular also uses life-cycle hooks for its components. While the AngularJS life-cycle hooks are similar there are\n * some differences that you should be aware of, especially when it comes to moving your code from AngularJS to Angular:\n *\n * * AngularJS hooks are prefixed with `$`, such as `$onInit`. Angular hooks are prefixed with `ng`, such as `ngOnInit`.\n * * AngularJS hooks can be defined on the controller prototype or added to the controller inside its constructor.\n * In Angular you can only define hooks on the prototype of the Component class.\n * * Due to the differences in change-detection, you may get many more calls to `$doCheck` in AngularJS than you would to\n * `ngDoCheck` in Angular.\n * * Changes to the model inside `$doCheck` will trigger new turns of the digest loop, which will cause the changes to be\n * propagated throughout the application.\n * Angular does not allow the `ngDoCheck` hook to trigger a change outside of the component. It will either throw an\n * error or do nothing depending upon the state of `enableProdMode()`.\n *\n * #### Life-cycle hook examples\n *\n * This example shows how you can check for mutations to a Date object even though the identity of the object\n * has not changed.\n *\n * <example name=\"doCheckDateExample\" module=\"do-check-module\">\n * <file name=\"app.js\">\n * angular.module('do-check-module', [])\n * .component('app', {\n * template:\n * 'Month: <input ng-model=\"$ctrl.month\" ng-change=\"$ctrl.updateDate()\">' +\n * 'Date: {{ $ctrl.date }}' +\n * '<test date=\"$ctrl.date\"></test>',\n * controller: function() {\n * this.date = new Date();\n * this.month = this.date.getMonth();\n * this.updateDate = function() {\n * this.date.setMonth(this.month);\n * };\n * }\n * })\n * .component('test', {\n * bindings: { date: '<' },\n * template:\n * '<pre>{{ $ctrl.log | json }}</pre>',\n * controller: function() {\n * var previousValue;\n * this.log = [];\n * this.$doCheck = function() {\n * var currentValue = this.date && this.date.valueOf();\n * if (previousValue !== currentValue) {\n * this.log.push('doCheck: date mutated: ' + this.date);\n * previousValue = currentValue;\n * }\n * };\n * }\n * });\n * </file>\n * <file name=\"index.html\">\n * <app></app>\n * </file>\n * </example>\n *\n * This example show how you might use `$doCheck` to trigger changes in your component's inputs even if the\n * actual identity of the component doesn't change. (Be aware that cloning and deep equality checks on large\n * arrays or objects can have a negative impact on your application performance.)\n *\n * <example name=\"doCheckArrayExample\" module=\"do-check-module\">\n * <file name=\"index.html\">\n * <div ng-init=\"items = []\">\n * <button ng-click=\"items.push(items.length)\">Add Item</button>\n * <button ng-click=\"items = []\">Reset Items</button>\n * <pre>{{ items }}</pre>\n * <test items=\"items\"></test>\n * </div>\n * </file>\n * <file name=\"app.js\">\n * angular.module('do-check-module', [])\n * .component('test', {\n * bindings: { items: '<' },\n * template:\n * '<pre>{{ $ctrl.log | json }}</pre>',\n * controller: function() {\n * this.log = [];\n *\n * this.$doCheck = function() {\n * if (this.items_ref !== this.items) {\n * this.log.push('doCheck: items changed');\n * this.items_ref = this.items;\n * }\n * if (!angular.equals(this.items_clone, this.items)) {\n * this.log.push('doCheck: items mutated');\n * this.items_clone = angular.copy(this.items);\n * }\n * };\n * }\n * });\n * </file>\n * </example>\n *\n *\n * ### Directive Definition Object\n *\n * The directive definition object provides instructions to the {@link ng.$compile\n * compiler}. The attributes are:\n *\n * #### `multiElement`\n * When this property is set to true (default is `false`), the HTML compiler will collect DOM nodes between\n * nodes with the attributes `directive-name-start` and `directive-name-end`, and group them\n * together as the directive elements. It is recommended that this feature be used on directives\n * which are not strictly behavioral (such as {@link ngClick}), and which\n * do not manipulate or replace child nodes (such as {@link ngInclude}).\n *\n * #### `priority`\n * When there are multiple directives defined on a single DOM element, sometimes it\n * is necessary to specify the order in which the directives are applied. The `priority` is used\n * to sort the directives before their `compile` functions get called. Priority is defined as a\n * number. Directives with greater numerical `priority` are compiled first. Pre-link functions\n * are also run in priority order, but post-link functions are run in reverse order. The order\n * of directives with the same priority is undefined. The default priority is `0`.\n *\n * #### `terminal`\n * If set to true then the current `priority` will be the last set of directives\n * which will execute (any directives at the current priority will still execute\n * as the order of execution on same `priority` is undefined). Note that expressions\n * and other directives used in the directive's template will also be excluded from execution.\n *\n * #### `scope`\n * The scope property can be `false`, `true`, or an object:\n *\n * * **`false` (default):** No scope will be created for the directive. The directive will use its\n * parent's scope.\n *\n * * **`true`:** A new child scope that prototypically inherits from its parent will be created for\n * the directive's element. If multiple directives on the same element request a new scope,\n * only one new scope is created.\n *\n * * **`{...}` (an object hash):** A new \"isolate\" scope is created for the directive's template.\n * The 'isolate' scope differs from normal scope in that it does not prototypically\n * inherit from its parent scope. This is useful when creating reusable components, which should not\n * accidentally read or modify data in the parent scope. Note that an isolate scope\n * directive without a `template` or `templateUrl` will not apply the isolate scope\n * to its children elements.\n *\n * The 'isolate' scope object hash defines a set of local scope properties derived from attributes on the\n * directive's element. These local properties are useful for aliasing values for templates. The keys in\n * the object hash map to the name of the property on the isolate scope; the values define how the property\n * is bound to the parent scope, via matching attributes on the directive's element:\n *\n * * `@` or `@attr` - bind a local scope property to the value of DOM attribute. The result is\n * always a string since DOM attributes are strings. If no `attr` name is specified then the\n * attribute name is assumed to be the same as the local name. Given `<my-component\n * my-attr=\"hello {{name}}\">` and the isolate scope definition `scope: { localName:'@myAttr' }`,\n * the directive's scope property `localName` will reflect the interpolated value of `hello\n * {{name}}`. As the `name` attribute changes so will the `localName` property on the directive's\n * scope. The `name` is read from the parent scope (not the directive's scope).\n *\n * * `=` or `=attr` - set up a bidirectional binding between a local scope property and an expression\n * passed via the attribute `attr`. The expression is evaluated in the context of the parent scope.\n * If no `attr` name is specified then the attribute name is assumed to be the same as the local\n * name. Given `<my-component my-attr=\"parentModel\">` and the isolate scope definition `scope: {\n * localModel: '=myAttr' }`, the property `localModel` on the directive's scope will reflect the\n * value of `parentModel` on the parent scope. Changes to `parentModel` will be reflected in\n * `localModel` and vice versa. If the binding expression is non-assignable, or if the attribute\n * isn't optional and doesn't exist, an exception\n * ({@link error/$compile/nonassign `$compile:nonassign`}) will be thrown upon discovering changes\n * to the local value, since it will be impossible to sync them back to the parent scope.\n *\n * By default, the {@link ng.$rootScope.Scope#$watch `$watch`}\n * method is used for tracking changes, and the equality check is based on object identity.\n * However, if an object literal or an array literal is passed as the binding expression, the\n * equality check is done by value (using the {@link angular.equals} function). It's also possible\n * to watch the evaluated value shallowly with {@link ng.$rootScope.Scope#$watchCollection\n * `$watchCollection`}: use `=*` or `=*attr`\n *\n * * `<` or `<attr` - set up a one-way (one-directional) binding between a local scope property and an\n * expression passed via the attribute `attr`. The expression is evaluated in the context of the\n * parent scope. If no `attr` name is specified then the attribute name is assumed to be the same as the\n * local name.\n *\n * For example, given `<my-component my-attr=\"parentModel\">` and directive definition of\n * `scope: { localModel:'<myAttr' }`, then the isolated scope property `localModel` will reflect the\n * value of `parentModel` on the parent scope. Any changes to `parentModel` will be reflected\n * in `localModel`, but changes in `localModel` will not reflect in `parentModel`. There are however\n * two caveats:\n * 1. one-way binding does not copy the value from the parent to the isolate scope, it simply\n * sets the same value. That means if your bound value is an object, changes to its properties\n * in the isolated scope will be reflected in the parent scope (because both reference the same object).\n * 2. one-way binding watches changes to the **identity** of the parent value. That means the\n * {@link ng.$rootScope.Scope#$watch `$watch`} on the parent value only fires if the reference\n * to the value has changed. In most cases, this should not be of concern, but can be important\n * to know if you one-way bind to an object, and then replace that object in the isolated scope.\n * If you now change a property of the object in your parent scope, the change will not be\n * propagated to the isolated scope, because the identity of the object on the parent scope\n * has not changed. Instead you must assign a new object.\n *\n * One-way binding is useful if you do not plan to propagate changes to your isolated scope bindings\n * back to the parent. However, it does not make this completely impossible.\n *\n * By default, the {@link ng.$rootScope.Scope#$watch `$watch`}\n * method is used for tracking changes, and the equality check is based on object identity.\n * It's also possible to watch the evaluated value shallowly with\n * {@link ng.$rootScope.Scope#$watchCollection `$watchCollection`}: use `<*` or `<*attr`\n *\n * * `&` or `&attr` - provides a way to execute an expression in the context of the parent scope. If\n * no `attr` name is specified then the attribute name is assumed to be the same as the local name.\n * Given `<my-component my-attr=\"count = count + value\">` and the isolate scope definition `scope: {\n * localFn:'&myAttr' }`, the isolate scope property `localFn` will point to a function wrapper for\n * the `count = count + value` expression. Often it's desirable to pass data from the isolated scope\n * via an expression to the parent scope. This can be done by passing a map of local variable names\n * and values into the expression wrapper fn. For example, if the expression is `increment(amount)`\n * then we can specify the amount value by calling the `localFn` as `localFn({amount: 22})`.\n *\n * All 4 kinds of bindings (`@`, `=`, `<`, and `&`) can be made optional by adding `?` to the expression.\n * The marker must come after the mode and before the attribute name.\n * See the {@link error/$compile/iscp Invalid Isolate Scope Definition error} for definition examples.\n * This is useful to refine the interface directives provide.\n * One subtle difference between optional and non-optional happens **when the binding attribute is not\n * set**:\n * - the binding is optional: the property will not be defined\n * - the binding is not optional: the property is defined\n *\n * ```js\n *app.directive('testDir', function() {\n return {\n scope: {\n notoptional: '=',\n optional: '=?',\n },\n bindToController: true,\n controller: function() {\n this.$onInit = function() {\n console.log(this.hasOwnProperty('notoptional')) // true\n console.log(this.hasOwnProperty('optional')) // false\n }\n }\n }\n })\n *```\n *\n *\n * ##### Combining directives with different scope defintions\n *\n * In general it's possible to apply more than one directive to one element, but there might be limitations\n * depending on the type of scope required by the directives. The following points will help explain these limitations.\n * For simplicity only two directives are taken into account, but it is also applicable for several directives:\n *\n * * **no scope** + **no scope** => Two directives which don't require their own scope will use their parent's scope\n * * **child scope** + **no scope** => Both directives will share one single child scope\n * * **child scope** + **child scope** => Both directives will share one single child scope\n * * **isolated scope** + **no scope** => The isolated directive will use it's own created isolated scope. The other directive will use\n * its parent's scope\n * * **isolated scope** + **child scope** => **Won't work!** Only one scope can be related to one element. Therefore these directives cannot\n * be applied to the same element.\n * * **isolated scope** + **isolated scope** => **Won't work!** Only one scope can be related to one element. Therefore these directives\n * cannot be applied to the same element.\n *\n *\n * #### `bindToController`\n * This property is used to bind scope properties directly to the controller. It can be either\n * `true` or an object hash with the same format as the `scope` property.\n *\n * When an isolate scope is used for a directive (see above), `bindToController: true` will\n * allow a component to have its properties bound to the controller, rather than to scope.\n *\n * After the controller is instantiated, the initial values of the isolate scope bindings will be bound to the controller\n * properties. You can access these bindings once they have been initialized by providing a controller method called\n * `$onInit`, which is called after all the controllers on an element have been constructed and had their bindings\n * initialized.\n *\n * It is also possible to set `bindToController` to an object hash with the same format as the `scope` property.\n * This will set up the scope bindings to the controller directly. Note that `scope` can still be used\n * to define which kind of scope is created. By default, no scope is created. Use `scope: {}` to create an isolate\n * scope (useful for component directives).\n *\n * If both `bindToController` and `scope` are defined and have object hashes, `bindToController` overrides `scope`.\n *\n *\n * #### `controller`\n * Controller constructor function. The controller is instantiated before the\n * pre-linking phase and can be accessed by other directives (see\n * `require` attribute). This allows the directives to communicate with each other and augment\n * each other's behavior. The controller is injectable (and supports bracket notation) with the following locals:\n *\n * * `$scope` - Current scope associated with the element\n * * `$element` - Current element\n * * `$attrs` - Current attributes object for the element\n * * `$transclude` - A transclude linking function pre-bound to the correct transclusion scope:\n * `function([scope], cloneLinkingFn, futureParentElement, slotName)`:\n * * `scope`: (optional) override the scope.\n * * `cloneLinkingFn`: (optional) argument to create clones of the original transcluded content.\n * * `futureParentElement` (optional):\n * * defines the parent to which the `cloneLinkingFn` will add the cloned elements.\n * * default: `$element.parent()` resp. `$element` for `transclude:'element'` resp. `transclude:true`.\n * * only needed for transcludes that are allowed to contain non html elements (e.g. SVG elements)\n * and when the `cloneLinkingFn` is passed,\n * as those elements need to created and cloned in a special way when they are defined outside their\n * usual containers (e.g. like `<svg>`).\n * * See also the `directive.templateNamespace` property.\n * * `slotName`: (optional) the name of the slot to transclude. If falsy (e.g. `null`, `undefined` or `''`)\n * then the default transclusion is provided.\n * The `$transclude` function also has a method on it, `$transclude.isSlotFilled(slotName)`, which returns\n * `true` if the specified slot contains content (i.e. one or more DOM nodes).\n *\n * #### `require`\n * Require another directive and inject its controller as the fourth argument to the linking function. The\n * `require` property can be a string, an array or an object:\n * * a **string** containing the name of the directive to pass to the linking function\n * * an **array** containing the names of directives to pass to the linking function. The argument passed to the\n * linking function will be an array of controllers in the same order as the names in the `require` property\n * * an **object** whose property values are the names of the directives to pass to the linking function. The argument\n * passed to the linking function will also be an object with matching keys, whose values will hold the corresponding\n * controllers.\n *\n * If the `require` property is an object and `bindToController` is truthy, then the required controllers are\n * bound to the controller using the keys of the `require` property. This binding occurs after all the controllers\n * have been constructed but before `$onInit` is called.\n * If the name of the required controller is the same as the local name (the key), the name can be\n * omitted. For example, `{parentDir: '^^'}` is equivalent to `{parentDir: '^^parentDir'}`.\n * See the {@link $compileProvider#component} helper for an example of how this can be used.\n * If no such required directive(s) can be found, or if the directive does not have a controller, then an error is\n * raised (unless no link function is specified and the required controllers are not being bound to the directive\n * controller, in which case error checking is skipped). The name can be prefixed with:\n *\n * * (no prefix) - Locate the required controller on the current element. Throw an error if not found.\n * * `?` - Attempt to locate the required controller or pass `null` to the `link` fn if not found.\n * * `^` - Locate the required controller by searching the element and its parents. Throw an error if not found.\n * * `^^` - Locate the required controller by searching the element's parents. Throw an error if not found.\n * * `?^` - Attempt to locate the required controller by searching the element and its parents or pass\n * `null` to the `link` fn if not found.\n * * `?^^` - Attempt to locate the required controller by searching the element's parents, or pass\n * `null` to the `link` fn if not found.\n *\n *\n * #### `controllerAs`\n * Identifier name for a reference to the controller in the directive's scope.\n * This allows the controller to be referenced from the directive template. This is especially\n * useful when a directive is used as component, i.e. with an `isolate` scope. It's also possible\n * to use it in a directive without an `isolate` / `new` scope, but you need to be aware that the\n * `controllerAs` reference might overwrite a property that already exists on the parent scope.\n *\n *\n * #### `restrict`\n * String of subset of `EACM` which restricts the directive to a specific directive\n * declaration style. If omitted, the defaults (elements and attributes) are used.\n *\n * * `E` - Element name (default): `<my-directive></my-directive>`\n * * `A` - Attribute (default): `<div my-directive=\"exp\"></div>`\n * * `C` - Class: `<div class=\"my-directive: exp;\"></div>`\n * * `M` - Comment: `<!-- directive: my-directive exp -->`\n *\n *\n * #### `templateNamespace`\n * String representing the document type used by the markup in the template.\n * AngularJS needs this information as those elements need to be created and cloned\n * in a special way when they are defined outside their usual containers like `<svg>` and `<math>`.\n *\n * * `html` - All root nodes in the template are HTML. Root nodes may also be\n * top-level elements such as `<svg>` or `<math>`.\n * * `svg` - The root nodes in the template are SVG elements (excluding `<math>`).\n * * `math` - The root nodes in the template are MathML elements (excluding `<svg>`).\n *\n * If no `templateNamespace` is specified, then the namespace is considered to be `html`.\n *\n * #### `template`\n * HTML markup that may:\n * * Replace the contents of the directive's element (default).\n * * Replace the directive's element itself (if `replace` is true - DEPRECATED).\n * * Wrap the contents of the directive's element (if `transclude` is true).\n *\n * Value may be:\n *\n * * A string. For example `<div red-on-hover>{{delete_str}}</div>`.\n * * A function which takes two arguments `tElement` and `tAttrs` (described in the `compile`\n * function api below) and returns a string value.\n *\n *\n * #### `templateUrl`\n * This is similar to `template` but the template is loaded from the specified URL, asynchronously.\n *\n * Because template loading is asynchronous the compiler will suspend compilation of directives on that element\n * for later when the template has been resolved. In the meantime it will continue to compile and link\n * sibling and parent elements as though this element had not contained any directives.\n *\n * The compiler does not suspend the entire compilation to wait for templates to be loaded because this\n * would result in the whole app \"stalling\" until all templates are loaded asynchronously - even in the\n * case when only one deeply nested directive has `templateUrl`.\n *\n * Template loading is asynchronous even if the template has been preloaded into the {@link $templateCache}.\n *\n * You can specify `templateUrl` as a string representing the URL or as a function which takes two\n * arguments `tElement` and `tAttrs` (described in the `compile` function api below) and returns\n * a string value representing the url. In either case, the template URL is passed through {@link\n * $sce#getTrustedResourceUrl $sce.getTrustedResourceUrl}.\n *\n *\n * #### `replace`\n * <div class=\"alert alert-danger\">\n * **Note:** `replace` is deprecated in AngularJS and has been removed in the new Angular (v2+).\n * </div>\n *\n * Specifies what the template should replace. Defaults to `false`.\n *\n * * `true` - the template will replace the directive's element.\n * * `false` - the template will replace the contents of the directive's element.\n *\n * The replacement process migrates all of the attributes / classes from the old element to the new\n * one. See the {@link guide/directive#template-expanding-directive\n * Directives Guide} for an example.\n *\n * There are very few scenarios where element replacement is required for the application function,\n * the main one being reusable custom components that are used within SVG contexts\n * (because SVG doesn't work with custom elements in the DOM tree).\n *\n * #### `transclude`\n * Extract the contents of the element where the directive appears and make it available to the directive.\n * The contents are compiled and provided to the directive as a **transclusion function**. See the\n * {@link $compile#transclusion Transclusion} section below.\n *\n *\n * #### `compile`\n *\n * ```js\n * function compile(tElement, tAttrs, transclude) { ... }\n * ```\n *\n * The compile function deals with transforming the template DOM. Since most directives do not do\n * template transformation, it is not used often. The compile function takes the following arguments:\n *\n * * `tElement` - template element - The element where the directive has been declared. It is\n * safe to do template transformation on the element and child elements only.\n *\n * * `tAttrs` - template attributes - Normalized list of attributes declared on this element shared\n * between all directive compile functions.\n *\n * * `transclude` - [*DEPRECATED*!] A transclude linking function: `function(scope, cloneLinkingFn)`\n *\n * <div class=\"alert alert-warning\">\n * **Note:** The template instance and the link instance may be different objects if the template has\n * been cloned. For this reason it is **not** safe to do anything other than DOM transformations that\n * apply to all cloned DOM nodes within the compile function. Specifically, DOM listener registration\n * should be done in a linking function rather than in a compile function.\n * </div>\n\n * <div class=\"alert alert-warning\">\n * **Note:** The compile function cannot handle directives that recursively use themselves in their\n * own templates or compile functions. Compiling these directives results in an infinite loop and\n * stack overflow errors.\n *\n * This can be avoided by manually using `$compile` in the postLink function to imperatively compile\n * a directive's template instead of relying on automatic template compilation via `template` or\n * `templateUrl` declaration or manual compilation inside the compile function.\n * </div>\n *\n * <div class=\"alert alert-danger\">\n * **Note:** The `transclude` function that is passed to the compile function is deprecated, as it\n * e.g. does not know about the right outer scope. Please use the transclude function that is passed\n * to the link function instead.\n * </div>\n\n * A compile function can have a return value which can be either a function or an object.\n *\n * * returning a (post-link) function - is equivalent to registering the linking function via the\n * `link` property of the config object when the compile function is empty.\n *\n * * returning an object with function(s) registered via `pre` and `post` properties - allows you to\n * control when a linking function should be called during the linking phase. See info about\n * pre-linking and post-linking functions below.\n *\n *\n * #### `link`\n * This property is used only if the `compile` property is not defined.\n *\n * ```js\n * function link(scope, iElement, iAttrs, controller, transcludeFn) { ... }\n * ```\n *\n * The link function is responsible for registering DOM listeners as well as updating the DOM. It is\n * executed after the template has been cloned. This is where most of the directive logic will be\n * put.\n *\n * * `scope` - {@link ng.$rootScope.Scope Scope} - The scope to be used by the\n * directive for registering {@link ng.$rootScope.Scope#$watch watches}.\n *\n * * `iElement` - instance element - The element where the directive is to be used. It is safe to\n * manipulate the children of the element only in `postLink` function since the children have\n * already been linked.\n *\n * * `iAttrs` - instance attributes - Normalized list of attributes declared on this element shared\n * between all directive linking functions.\n *\n * * `controller` - the directive's required controller instance(s) - Instances are shared\n * among all directives, which allows the directives to use the controllers as a communication\n * channel. The exact value depends on the directive's `require` property:\n * * no controller(s) required: the directive's own controller, or `undefined` if it doesn't have one\n * * `string`: the controller instance\n * * `array`: array of controller instances\n *\n * If a required controller cannot be found, and it is optional, the instance is `null`,\n * otherwise the {@link error:$compile:ctreq Missing Required Controller} error is thrown.\n *\n * Note that you can also require the directive's own controller - it will be made available like\n * any other controller.\n *\n * * `transcludeFn` - A transclude linking function pre-bound to the correct transclusion scope.\n * This is the same as the `$transclude` parameter of directive controllers,\n * see {@link ng.$compile#-controller- the controller section for details}.\n * `function([scope], cloneLinkingFn, futureParentElement)`.\n *\n * #### Pre-linking function\n *\n * Executed before the child elements are linked. Not safe to do DOM transformation since the\n * compiler linking function will fail to locate the correct elements for linking.\n *\n * #### Post-linking function\n *\n * Executed after the child elements are linked.\n *\n * Note that child elements that contain `templateUrl` directives will not have been compiled\n * and linked since they are waiting for their template to load asynchronously and their own\n * compilation and linking has been suspended until that occurs.\n *\n * It is safe to do DOM transformation in the post-linking function on elements that are not waiting\n * for their async templates to be resolved.\n *\n *\n * ### Transclusion\n *\n * Transclusion is the process of extracting a collection of DOM elements from one part of the DOM and\n * copying them to another part of the DOM, while maintaining their connection to the original AngularJS\n * scope from where they were taken.\n *\n * Transclusion is used (often with {@link ngTransclude}) to insert the\n * original contents of a directive's element into a specified place in the template of the directive.\n * The benefit of transclusion, over simply moving the DOM elements manually, is that the transcluded\n * content has access to the properties on the scope from which it was taken, even if the directive\n * has isolated scope.\n * See the {@link guide/directive#creating-a-directive-that-wraps-other-elements Directives Guide}.\n *\n * This makes it possible for the widget to have private state for its template, while the transcluded\n * content has access to its originating scope.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** When testing an element transclude directive you must not place the directive at the root of the\n * DOM fragment that is being compiled. See {@link guide/unit-testing#testing-transclusion-directives\n * Testing Transclusion Directives}.\n * </div>\n *\n * There are three kinds of transclusion depending upon whether you want to transclude just the contents of the\n * directive's element, the entire element or multiple parts of the element contents:\n *\n * * `true` - transclude the content (i.e. the child nodes) of the directive's element.\n * * `'element'` - transclude the whole of the directive's element including any directives on this\n * element that are defined at a lower priority than this directive. When used, the `template`\n * property is ignored.\n * * **`{...}` (an object hash):** - map elements of the content onto transclusion \"slots\" in the template.\n *\n * **Multi-slot transclusion** is declared by providing an object for the `transclude` property.\n *\n * This object is a map where the keys are the name of the slot to fill and the value is an element selector\n * used to match the HTML to the slot. The element selector should be in normalized form (e.g. `myElement`)\n * and will match the standard element variants (e.g. `my-element`, `my:element`, `data-my-element`, etc).\n *\n * For further information check out the guide on {@link guide/directive#matching-directives Matching Directives}.\n *\n * If the element selector is prefixed with a `?` then that slot is optional.\n *\n * For example, the transclude object `{ slotA: '?myCustomElement' }` maps `<my-custom-element>` elements to\n * the `slotA` slot, which can be accessed via the `$transclude` function or via the {@link ngTransclude} directive.\n *\n * Slots that are not marked as optional (`?`) will trigger a compile time error if there are no matching elements\n * in the transclude content. If you wish to know if an optional slot was filled with content, then you can call\n * `$transclude.isSlotFilled(slotName)` on the transclude function passed to the directive's link function and\n * injectable into the directive's controller.\n *\n *\n * #### Transclusion Functions\n *\n * When a directive requests transclusion, the compiler extracts its contents and provides a **transclusion\n * function** to the directive's `link` function and `controller`. This transclusion function is a special\n * **linking function** that will return the compiled contents linked to a new transclusion scope.\n *\n * <div class=\"alert alert-info\">\n * If you are just using {@link ngTransclude} then you don't need to worry about this function, since\n * ngTransclude will deal with it for us.\n * </div>\n *\n * If you want to manually control the insertion and removal of the transcluded content in your directive\n * then you must use this transclude function. When you call a transclude function it returns a jqLite/JQuery\n * object that contains the compiled DOM, which is linked to the correct transclusion scope.\n *\n * When you call a transclusion function you can pass in a **clone attach function**. This function accepts\n * two parameters, `function(clone, scope) { ... }`, where the `clone` is a fresh compiled copy of your transcluded\n * content and the `scope` is the newly created transclusion scope, which the clone will be linked to.\n *\n * <div class=\"alert alert-info\">\n * **Best Practice**: Always provide a `cloneFn` (clone attach function) when you call a transclude function\n * since you then get a fresh clone of the original DOM and also have access to the new transclusion scope.\n * </div>\n *\n * It is normal practice to attach your transcluded content (`clone`) to the DOM inside your **clone\n * attach function**:\n *\n * ```js\n * var transcludedContent, transclusionScope;\n *\n * $transclude(function(clone, scope) {\n * element.append(clone);\n * transcludedContent = clone;\n * transclusionScope = scope;\n * });\n * ```\n *\n * Later, if you want to remove the transcluded content from your DOM then you should also destroy the\n * associated transclusion scope:\n *\n * ```js\n * transcludedContent.remove();\n * transclusionScope.$destroy();\n * ```\n *\n * <div class=\"alert alert-info\">\n * **Best Practice**: if you intend to add and remove transcluded content manually in your directive\n * (by calling the transclude function to get the DOM and calling `element.remove()` to remove it),\n * then you are also responsible for calling `$destroy` on the transclusion scope.\n * </div>\n *\n * The built-in DOM manipulation directives, such as {@link ngIf}, {@link ngSwitch} and {@link ngRepeat}\n * automatically destroy their transcluded clones as necessary so you do not need to worry about this if\n * you are simply using {@link ngTransclude} to inject the transclusion into your directive.\n *\n *\n * #### Transclusion Scopes\n *\n * When you call a transclude function it returns a DOM fragment that is pre-bound to a **transclusion\n * scope**. This scope is special, in that it is a child of the directive's scope (and so gets destroyed\n * when the directive's scope gets destroyed) but it inherits the properties of the scope from which it\n * was taken.\n *\n * For example consider a directive that uses transclusion and isolated scope. The DOM hierarchy might look\n * like this:\n *\n * ```html\n * <div ng-app>\n * <div isolate>\n * <div transclusion>\n * </div>\n * </div>\n * </div>\n * ```\n *\n * The `$parent` scope hierarchy will look like this:\n *\n ```\n - $rootScope\n - isolate\n - transclusion\n ```\n *\n * but the scopes will inherit prototypically from different scopes to their `$parent`.\n *\n ```\n - $rootScope\n - transclusion\n - isolate\n ```\n *\n *\n * ### Attributes\n *\n * The {@link ng.$compile.directive.Attributes Attributes} object - passed as a parameter in the\n * `link()` or `compile()` functions. It has a variety of uses.\n *\n * * *Accessing normalized attribute names:* Directives like `ngBind` can be expressed in many ways:\n * `ng:bind`, `data-ng-bind`, or `x-ng-bind`. The attributes object allows for normalized access\n * to the attributes.\n *\n * * *Directive inter-communication:* All directives share the same instance of the attributes\n * object which allows the directives to use the attributes object as inter directive\n * communication.\n *\n * * *Supports interpolation:* Interpolation attributes are assigned to the attribute object\n * allowing other directives to read the interpolated value.\n *\n * * *Observing interpolated attributes:* Use `$observe` to observe the value changes of attributes\n * that contain interpolation (e.g. `src=\"{{bar}}\"`). Not only is this very efficient but it's also\n * the only way to easily get the actual value because during the linking phase the interpolation\n * hasn't been evaluated yet and so the value is at this time set to `undefined`.\n *\n * ```js\n * function linkingFn(scope, elm, attrs, ctrl) {\n * // get the attribute value\n * console.log(attrs.ngModel);\n *\n * // change the attribute\n * attrs.$set('ngModel', 'new value');\n *\n * // observe changes to interpolated attribute\n * attrs.$observe('ngModel', function(value) {\n * console.log('ngModel has changed value to ' + value);\n * });\n * }\n * ```\n *\n * ## Example\n *\n * <div class=\"alert alert-warning\">\n * **Note**: Typically directives are registered with `module.directive`. The example below is\n * to illustrate how `$compile` works.\n * </div>\n *\n <example module=\"compileExample\" name=\"compile\">\n <file name=\"index.html\">\n <script>\n angular.module('compileExample', [], function($compileProvider) {\n // Configure new 'compile' directive by passing a directive\n // factory function. The factory function injects '$compile'.\n $compileProvider.directive('compile', function($compile) {\n // The directive factory creates a link function.\n return function(scope, element, attrs) {\n scope.$watch(\n function(scope) {\n // Watch the 'compile' expression for changes.\n return scope.$eval(attrs.compile);\n },\n function(value) {\n // When the 'compile' expression changes\n // assign it into the current DOM.\n element.html(value);\n\n // Compile the new DOM and link it to the current scope.\n // NOTE: we only compile '.childNodes' so that we\n // don't get into an infinite loop compiling ourselves.\n $compile(element.contents())(scope);\n }\n );\n };\n });\n })\n .controller('GreeterController', ['$scope', function($scope) {\n $scope.name = 'AngularJS';\n $scope.html = 'Hello {{name}}';\n }]);\n </script>\n <div ng-controller=\"GreeterController\">\n <input ng-model=\"name\"> <br/>\n <textarea ng-model=\"html\"></textarea> <br/>\n <div compile=\"html\"></div>\n </div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should auto compile', function() {\n var textarea = $('textarea');\n var output = $('div[compile]');\n // The initial state reads 'Hello AngularJS'.\n expect(output.getText()).toBe('Hello AngularJS');\n textarea.clear();\n textarea.sendKeys('{{name}}!');\n expect(output.getText()).toBe('AngularJS!');\n });\n </file>\n </example>\n\n *\n *\n * @param {string|DOMElement} element Element or HTML string to compile into a template function.\n * @param {function(angular.Scope, cloneAttachFn=)} transclude function available to directives - DEPRECATED.\n *\n * <div class=\"alert alert-danger\">\n * **Note:** Passing a `transclude` function to the $compile function is deprecated, as it\n * e.g. will not use the right outer scope. Please pass the transclude function as a\n * `parentBoundTranscludeFn` to the link function instead.\n * </div>\n *\n * @param {number} maxPriority only apply directives lower than given priority (Only effects the\n * root element(s), not their children)\n * @returns {function(scope, cloneAttachFn=, options=)} a link function which is used to bind template\n * (a DOM element/tree) to a scope. Where:\n *\n * * `scope` - A {@link ng.$rootScope.Scope Scope} to bind to.\n * * `cloneAttachFn` - If `cloneAttachFn` is provided, then the link function will clone the\n * `template` and call the `cloneAttachFn` function allowing the caller to attach the\n * cloned elements to the DOM document at the appropriate place. The `cloneAttachFn` is\n * called as: <br/> `cloneAttachFn(clonedElement, scope)` where:\n *\n * * `clonedElement` - is a clone of the original `element` passed into the compiler.\n * * `scope` - is the current scope with which the linking function is working with.\n *\n * * `options` - An optional object hash with linking options. If `options` is provided, then the following\n * keys may be used to control linking behavior:\n *\n * * `parentBoundTranscludeFn` - the transclude function made available to\n * directives; if given, it will be passed through to the link functions of\n * directives found in `element` during compilation.\n * * `transcludeControllers` - an object hash with keys that map controller names\n * to a hash with the key `instance`, which maps to the controller instance;\n * if given, it will make the controllers available to directives on the compileNode:\n * ```\n * {\n * parent: {\n * instance: parentControllerInstance\n * }\n * }\n * ```\n * * `futureParentElement` - defines the parent to which the `cloneAttachFn` will add\n * the cloned elements; only needed for transcludes that are allowed to contain non HTML\n * elements (e.g. SVG elements). See also the `directive.controller` property.\n *\n * Calling the linking function returns the element of the template. It is either the original\n * element passed in, or the clone of the element if the `cloneAttachFn` is provided.\n *\n * After linking the view is not updated until after a call to `$digest`, which typically is done by\n * AngularJS automatically.\n *\n * If you need access to the bound view, there are two ways to do it:\n *\n * - If you are not asking the linking function to clone the template, create the DOM element(s)\n * before you send them to the compiler and keep this reference around.\n * ```js\n * var element = angular.element('<p>{{total}}</p>');\n * $compile(element)(scope);\n * ```\n *\n * - if on the other hand, you need the element to be cloned, the view reference from the original\n * example would not point to the clone, but rather to the original template that was cloned. In\n * this case, you can access the clone either via the `cloneAttachFn` or the value returned by the\n * linking function:\n * ```js\n * var templateElement = angular.element('<p>{{total}}</p>');\n * var clonedElement = $compile(templateElement)(scope, function(clonedElement, scope) {\n * // Attach the clone to DOM document at the right place.\n * });\n *\n * // Now we have reference to the cloned DOM via `clonedElement`.\n * // NOTE: The `clonedElement` returned by the linking function is the same as the\n * // `clonedElement` passed to `cloneAttachFn`.\n * ```\n *\n *\n * For information on how the compiler works, see the\n * {@link guide/compiler AngularJS HTML Compiler} section of the Developer Guide.\n *\n * @knownIssue\n *\n * ### Double Compilation\n *\n Double compilation occurs when an already compiled part of the DOM gets\n compiled again. This is an undesired effect and can lead to misbehaving directives, performance issues,\n and memory leaks. Refer to the Compiler Guide {@link guide/compiler#double-compilation-and-how-to-avoid-it\n section on double compilation} for an in-depth explanation and ways to avoid it.\n\n * @knownIssue\n\n ### Issues with `replace: true`\n *\n * <div class=\"alert alert-danger\">\n * **Note**: {@link $compile#-replace- `replace: true`} is deprecated and not recommended to use,\n * mainly due to the issues listed here. It has been completely removed in the new Angular.\n * </div>\n *\n * #### Attribute values are not merged\n *\n * When a `replace` directive encounters the same attribute on the original and the replace node,\n * it will simply deduplicate the attribute and join the values with a space or with a `;` in case of\n * the `style` attribute.\n * ```html\n * Original Node: <span class=\"original\" style=\"color: red;\"></span>\n * Replace Template: <span class=\"replaced\" style=\"background: blue;\"></span>\n * Result: <span class=\"original replaced\" style=\"color: red; background: blue;\"></span>\n * ```\n *\n * That means attributes that contain AngularJS expressions will not be merged correctly, e.g.\n * {@link ngShow} or {@link ngClass} will cause a {@link $parse} error:\n *\n * ```html\n * Original Node: <span ng-class=\"{'something': something}\" ng-show=\"!condition\"></span>\n * Replace Template: <span ng-class=\"{'else': else}\" ng-show=\"otherCondition\"></span>\n * Result: <span ng-class=\"{'something': something} {'else': else}\" ng-show=\"!condition otherCondition\"></span>\n * ```\n *\n * See issue [#5695](https://github.com/angular/angular.js/issues/5695).\n *\n * #### Directives are not deduplicated before compilation\n *\n * When the original node and the replace template declare the same directive(s), they will be\n * {@link guide/compiler#double-compilation-and-how-to-avoid-it compiled twice} because the compiler\n * does not deduplicate them. In many cases, this is not noticeable, but e.g. {@link ngModel} will\n * attach `$formatters` and `$parsers` twice.\n *\n * See issue [#2573](https://github.com/angular/angular.js/issues/2573).\n *\n * #### `transclude: element` in the replace template root can have unexpected effects\n *\n * When the replace template has a directive at the root node that uses\n * {@link $compile#-transclude- `transclude: element`}, e.g.\n * {@link ngIf} or {@link ngRepeat}, the DOM structure or scope inheritance can be incorrect.\n * See the following issues:\n *\n * - Incorrect scope on replaced element:\n * [#9837](https://github.com/angular/angular.js/issues/9837)\n * - Different DOM between `template` and `templateUrl`:\n * [#10612](https://github.com/angular/angular.js/issues/14326)\n *\n */\n\n/**\n * @ngdoc directive\n * @name ngProp\n * @restrict A\n * @element ANY\n *\n * @usage\n *\n * ```html\n * <ANY ng-prop-propname=\"expression\">\n * </ANY>\n * ```\n *\n * or with uppercase letters in property (e.g. \"propName\"):\n *\n *\n * ```html\n * <ANY ng-prop-prop_name=\"expression\">\n * </ANY>\n * ```\n *\n *\n * @description\n * The `ngProp` directive binds an expression to a DOM element property.\n * `ngProp` allows writing to arbitrary properties by including\n * the property name in the attribute, e.g. `ng-prop-value=\"'my value'\"` binds 'my value' to\n * the `value` property.\n *\n * Usually, it's not necessary to write to properties in AngularJS, as the built-in directives\n * handle the most common use cases (instead of the above example, you would use {@link ngValue}).\n *\n * However, [custom elements](https://developer.mozilla.org/docs/Web/Web_Components/Using_custom_elements)\n * often use custom properties to hold data, and `ngProp` can be used to provide input to these\n * custom elements.\n *\n * ## Binding to camelCase properties\n *\n * Since HTML attributes are case-insensitive, camelCase properties like `innerHTML` must be escaped.\n * AngularJS uses the underscore (_) in front of a character to indicate that it is uppercase, so\n * `innerHTML` must be written as `ng-prop-inner_h_t_m_l=\"expression\"` (Note that this is just an\n * example, and for binding HTML {@link ngBindHtml} should be used.\n *\n * ## Security\n *\n * Binding expressions to arbitrary properties poses a security risk, as properties like `innerHTML`\n * can insert potentially dangerous HTML into the application, e.g. script tags that execute\n * malicious code.\n * For this reason, `ngProp` applies Strict Contextual Escaping with the {@link ng.$sce $sce service}.\n * This means vulnerable properties require their content to be \"trusted\", based on the\n * context of the property. For example, the `innerHTML` is in the `HTML` context, and the\n * `iframe.src` property is in the `RESOURCE_URL` context, which requires that values written to\n * this property are trusted as a `RESOURCE_URL`.\n *\n * This can be set explicitly by calling $sce.trustAs(type, value) on the value that is\n * trusted before passing it to the `ng-prop-*` directive. There are exist shorthand methods for\n * each context type in the form of {@link ng.$sce#trustAsResourceUrl $sce.trustAsResourceUrl()} et al.\n *\n * In some cases you can also rely upon automatic sanitization of untrusted values - see below.\n *\n * Based on the context, other options may exist to mark a value as trusted / configure the behavior\n * of {@link ng.$sce}. For example, to restrict the `RESOURCE_URL` context to specific origins, use\n * the {@link $sceDelegateProvider#resourceUrlWhitelist resourceUrlWhitelist()}\n * and {@link $sceDelegateProvider#resourceUrlBlacklist resourceUrlBlacklist()}.\n *\n * {@link ng.$sce#what-trusted-context-types-are-supported- Find out more about the different context types}.\n *\n * ### HTML Sanitization\n *\n * By default, `$sce` will throw an error if it detects untrusted HTML content, and will not bind the\n * content.\n * However, if you include the {@link ngSanitize ngSanitize module}, it will try to sanitize the\n * potentially dangerous HTML, e.g. strip non-whitelisted tags and attributes when binding to\n * `innerHTML`.\n *\n * @example\n * ### Binding to different contexts\n *\n * <example name=\"ngProp\" module=\"exampleNgProp\">\n * <file name=\"app.js\">\n * angular.module('exampleNgProp', [])\n * .component('main', {\n * templateUrl: 'main.html',\n * controller: function($sce) {\n * this.safeContent = '<strong>Safe content</strong>';\n * this.unsafeContent = '<button onclick=\"alert(\\'Hello XSS!\\')\">Click for XSS</button>';\n * this.trustedUnsafeContent = $sce.trustAsHtml(this.unsafeContent);\n * }\n * });\n * </file>\n * <file name=\"main.html\">\n * <div>\n * <div class=\"prop-unit\">\n * Binding to a property without security context:\n * <div class=\"prop-binding\" ng-prop-inner_text=\"$ctrl.safeContent\"></div>\n * <span class=\"prop-note\">innerText</span> (safeContent)\n * </div>\n *\n * <div class=\"prop-unit\">\n * \"Safe\" content that requires a security context will throw because the contents could potentially be dangerous ...\n * <div class=\"prop-binding\" ng-prop-inner_h_t_m_l=\"$ctrl.safeContent\"></div>\n * <span class=\"prop-note\">innerHTML</span> (safeContent)\n * </div>\n *\n * <div class=\"prop-unit\">\n * ... so that actually dangerous content cannot be executed:\n * <div class=\"prop-binding\" ng-prop-inner_h_t_m_l=\"$ctrl.unsafeContent\"></div>\n * <span class=\"prop-note\">innerHTML</span> (unsafeContent)\n * </div>\n *\n * <div class=\"prop-unit\">\n * ... but unsafe Content that has been trusted explicitly works - only do this if you are 100% sure!\n * <div class=\"prop-binding\" ng-prop-inner_h_t_m_l=\"$ctrl.trustedUnsafeContent\"></div>\n * <span class=\"prop-note\">innerHTML</span> (trustedUnsafeContent)\n * </div>\n * </div>\n * </file>\n * <file name=\"index.html\">\n * <main></main>\n * </file>\n * <file name=\"styles.css\">\n * .prop-unit {\n * margin-bottom: 10px;\n * }\n *\n * .prop-binding {\n * min-height: 30px;\n * border: 1px solid blue;\n * }\n *\n * .prop-note {\n * font-family: Monospace;\n * }\n * </file>\n * </example>\n *\n *\n * @example\n * ### Binding to innerHTML with ngSanitize\n *\n * <example name=\"ngProp\" module=\"exampleNgProp\" deps=\"angular-sanitize.js\">\n * <file name=\"app.js\">\n * angular.module('exampleNgProp', ['ngSanitize'])\n * .component('main', {\n * templateUrl: 'main.html',\n * controller: function($sce) {\n * this.safeContent = '<strong>Safe content</strong>';\n * this.unsafeContent = '<button onclick=\"alert(\\'Hello XSS!\\')\">Click for XSS</button>';\n * this.trustedUnsafeContent = $sce.trustAsHtml(this.unsafeContent);\n * }\n * });\n * </file>\n * <file name=\"main.html\">\n * <div>\n * <div class=\"prop-unit\">\n * \"Safe\" content will be sanitized ...\n * <div class=\"prop-binding\" ng-prop-inner_h_t_m_l=\"$ctrl.safeContent\"></div>\n * <span class=\"prop-note\">innerHTML</span> (safeContent)\n * </div>\n *\n * <div class=\"prop-unit\">\n * ... as will dangerous content:\n * <div class=\"prop-binding\" ng-prop-inner_h_t_m_l=\"$ctrl.unsafeContent\"></div>\n * <span class=\"prop-note\">innerHTML</span> (unsafeContent)\n * </div>\n *\n * <div class=\"prop-unit\">\n * ... and content that has been trusted explicitly works the same as without ngSanitize:\n * <div class=\"prop-binding\" ng-prop-inner_h_t_m_l=\"$ctrl.trustedUnsafeContent\"></div>\n * <span class=\"prop-note\">innerHTML</span> (trustedUnsafeContent)\n * </div>\n * </div>\n * </file>\n * <file name=\"index.html\">\n * <main></main>\n * </file>\n * <file name=\"styles.css\">\n * .prop-unit {\n * margin-bottom: 10px;\n * }\n *\n * .prop-binding {\n * min-height: 30px;\n * border: 1px solid blue;\n * }\n *\n * .prop-note {\n * font-family: Monospace;\n * }\n * </file>\n * </example>\n *\n */\n\n/** @ngdoc directive\n * @name ngOn\n * @restrict A\n * @element ANY\n *\n * @usage\n *\n * ```html\n * <ANY ng-on-eventname=\"expression\">\n * </ANY>\n * ```\n *\n * or with uppercase letters in property (e.g. \"eventName\"):\n *\n *\n * ```html\n * <ANY ng-on-event_name=\"expression\">\n * </ANY>\n * ```\n *\n * @description\n * The `ngOn` directive adds an event listener to a DOM element via\n * {@link angular.element angular.element().on()}, and evaluates an expression when the event is\n * fired.\n * `ngOn` allows adding listeners for arbitrary events by including\n * the event name in the attribute, e.g. `ng-on-drop=\"onDrop()\"` executes the 'onDrop()' expression\n * when the `drop` event is fired.\n *\n * AngularJS provides specific directives for many events, such as {@link ngClick}, so in most\n * cases it is not necessary to use `ngOn`. However, AngularJS does not support all events\n * (e.g. the `drop` event in the example above), and new events might be introduced in later DOM\n * standards.\n *\n * Another use-case for `ngOn` is listening to\n * [custom events](https://developer.mozilla.org/docs/Web/Guide/Events/Creating_and_triggering_events)\n * fired by\n * [custom elements](https://developer.mozilla.org/docs/Web/Web_Components/Using_custom_elements).\n *\n * ## Binding to camelCase properties\n *\n * Since HTML attributes are case-insensitive, camelCase properties like `myEvent` must be escaped.\n * AngularJS uses the underscore (_) in front of a character to indicate that it is uppercase, so\n * `myEvent` must be written as `ng-on-my_event=\"expression\"`.\n *\n * @example\n * ### Bind to built-in DOM events\n *\n * <example name=\"ngOn\" module=\"exampleNgOn\">\n * <file name=\"app.js\">\n * angular.module('exampleNgOn', [])\n * .component('main', {\n * templateUrl: 'main.html',\n * controller: function() {\n * this.clickCount = 0;\n * this.mouseoverCount = 0;\n *\n * this.loadingState = 0;\n * }\n * });\n * </file>\n * <file name=\"main.html\">\n * <div>\n * This is equivalent to `ngClick` and `ngMouseover`:<br>\n * <button\n * ng-on-click=\"$ctrl.clickCount = $ctrl.clickCount + 1\"\n * ng-on-mouseover=\"$ctrl.mouseoverCount = $ctrl.mouseoverCount + 1\">Click or mouseover</button><br>\n * clickCount: {{$ctrl.clickCount}}<br>\n * mouseover: {{$ctrl.mouseoverCount}}\n *\n * <hr>\n *\n * For the `error` and `load` event on images no built-in AngularJS directives exist:<br>\n * <img src=\"thisimagedoesnotexist.png\" ng-on-error=\"$ctrl.loadingState = -1\" ng-on-load=\"$ctrl.loadingState = 1\"><br>\n * <div ng-switch=\"$ctrl.loadingState\">\n * <span ng-switch-when=\"0\">Image is loading</span>\n * <span ng-switch-when=\"-1\">Image load error</span>\n * <span ng-switch-when=\"1\">Image loaded successfully</span>\n * </div>\n * </div>\n * </file>\n * <file name=\"index.html\">\n * <main></main>\n * </file>\n * </example>\n *\n *\n * @example\n * ### Bind to custom DOM events\n *\n * <example name=\"ngOnCustom\" module=\"exampleNgOn\">\n * <file name=\"app.js\">\n * angular.module('exampleNgOn', [])\n * .component('main', {\n * templateUrl: 'main.html',\n * controller: function() {\n * this.eventLog = '';\n *\n * this.listener = function($event) {\n * this.eventLog = 'Event with type \"' + $event.type + '\" fired at ' + $event.detail;\n * };\n * }\n * })\n * .component('childComponent', {\n * templateUrl: 'child.html',\n * controller: function($element) {\n * this.fireEvent = function() {\n * var event = new CustomEvent('customtype', { detail: new Date()});\n *\n * $element[0].dispatchEvent(event);\n * };\n * }\n * });\n * </file>\n * <file name=\"main.html\">\n * <child-component ng-on-customtype=\"$ctrl.listener($event)\"></child-component><br>\n * <span>Event log: {{$ctrl.eventLog}}</span>\n * </file>\n * <file name=\"child.html\">\n <button ng-click=\"$ctrl.fireEvent()\">Fire custom event</button>\n * </file>\n * <file name=\"index.html\">\n * <main></main>\n * </file>\n * </example>\n */\n\nvar $compileMinErr = minErr('$compile');\n\nfunction UNINITIALIZED_VALUE() {}\nvar _UNINITIALIZED_VALUE = new UNINITIALIZED_VALUE();\n\n/**\n * @ngdoc provider\n * @name $compileProvider\n *\n * @description\n */\n$CompileProvider.$inject = ['$provide', '$$sanitizeUriProvider'];\n/** @this */\nfunction $CompileProvider($provide, $$sanitizeUriProvider) {\n var hasDirectives = {},\n Suffix = 'Directive',\n COMMENT_DIRECTIVE_REGEXP = /^\\s*directive:\\s*([\\w-]+)\\s+(.*)$/,\n CLASS_DIRECTIVE_REGEXP = /(([\\w-]+)(?::([^;]+))?;?)/,\n ALL_OR_NOTHING_ATTRS = makeMap('ngSrc,ngSrcset,src,srcset'),\n REQUIRE_PREFIX_REGEXP = /^(?:(\\^\\^?)?(\\?)?(\\^\\^?)?)?/;\n\n // Ref: http://developers.whatwg.org/webappapis.html#event-handler-idl-attributes\n // The assumption is that future DOM event attribute names will begin with\n // 'on' and be composed of only English letters.\n var EVENT_HANDLER_ATTR_REGEXP = /^(on[a-z]+|formaction)$/;\n var bindingCache = createMap();\n\n function parseIsolateBindings(scope, directiveName, isController) {\n var LOCAL_REGEXP = /^([@&]|[=<](\\*?))(\\??)\\s*([\\w$]*)$/;\n\n var bindings = createMap();\n\n forEach(scope, function(definition, scopeName) {\n definition = definition.trim();\n\n if (definition in bindingCache) {\n bindings[scopeName] = bindingCache[definition];\n return;\n }\n var match = definition.match(LOCAL_REGEXP);\n\n if (!match) {\n throw $compileMinErr('iscp',\n 'Invalid {3} for directive \\'{0}\\'.' +\n ' Definition: {... {1}: \\'{2}\\' ...}',\n directiveName, scopeName, definition,\n (isController ? 'controller bindings definition' :\n 'isolate scope definition'));\n }\n\n bindings[scopeName] = {\n mode: match[1][0],\n collection: match[2] === '*',\n optional: match[3] === '?',\n attrName: match[4] || scopeName\n };\n if (match[4]) {\n bindingCache[definition] = bindings[scopeName];\n }\n });\n\n return bindings;\n }\n\n function parseDirectiveBindings(directive, directiveName) {\n var bindings = {\n isolateScope: null,\n bindToController: null\n };\n if (isObject(directive.scope)) {\n if (directive.bindToController === true) {\n bindings.bindToController = parseIsolateBindings(directive.scope,\n directiveName, true);\n bindings.isolateScope = {};\n } else {\n bindings.isolateScope = parseIsolateBindings(directive.scope,\n directiveName, false);\n }\n }\n if (isObject(directive.bindToController)) {\n bindings.bindToController =\n parseIsolateBindings(directive.bindToController, directiveName, true);\n }\n if (bindings.bindToController && !directive.controller) {\n // There is no controller\n throw $compileMinErr('noctrl',\n 'Cannot bind to controller without directive \\'{0}\\'s controller.',\n directiveName);\n }\n return bindings;\n }\n\n function assertValidDirectiveName(name) {\n var letter = name.charAt(0);\n if (!letter || letter !== lowercase(letter)) {\n throw $compileMinErr('baddir', 'Directive/Component name \\'{0}\\' is invalid. The first character must be a lowercase letter', name);\n }\n if (name !== name.trim()) {\n throw $compileMinErr('baddir',\n 'Directive/Component name \\'{0}\\' is invalid. The name should not contain leading or trailing whitespaces',\n name);\n }\n }\n\n function getDirectiveRequire(directive) {\n var require = directive.require || (directive.controller && directive.name);\n\n if (!isArray(require) && isObject(require)) {\n forEach(require, function(value, key) {\n var match = value.match(REQUIRE_PREFIX_REGEXP);\n var name = value.substring(match[0].length);\n if (!name) require[key] = match[0] + key;\n });\n }\n\n return require;\n }\n\n function getDirectiveRestrict(restrict, name) {\n if (restrict && !(isString(restrict) && /[EACM]/.test(restrict))) {\n throw $compileMinErr('badrestrict',\n 'Restrict property \\'{0}\\' of directive \\'{1}\\' is invalid',\n restrict,\n name);\n }\n\n return restrict || 'EA';\n }\n\n /**\n * @ngdoc method\n * @name $compileProvider#directive\n * @kind function\n *\n * @description\n * Register a new directive with the compiler.\n *\n * @param {string|Object} name Name of the directive in camel-case (i.e. `ngBind` which will match\n * as `ng-bind`), or an object map of directives where the keys are the names and the values\n * are the factories.\n * @param {Function|Array} directiveFactory An injectable directive factory function. See the\n * {@link guide/directive directive guide} and the {@link $compile compile API} for more info.\n * @returns {ng.$compileProvider} Self for chaining.\n */\n this.directive = function registerDirective(name, directiveFactory) {\n assertArg(name, 'name');\n assertNotHasOwnProperty(name, 'directive');\n if (isString(name)) {\n assertValidDirectiveName(name);\n assertArg(directiveFactory, 'directiveFactory');\n if (!hasDirectives.hasOwnProperty(name)) {\n hasDirectives[name] = [];\n $provide.factory(name + Suffix, ['$injector', '$exceptionHandler',\n function($injector, $exceptionHandler) {\n var directives = [];\n forEach(hasDirectives[name], function(directiveFactory, index) {\n try {\n var directive = $injector.invoke(directiveFactory);\n if (isFunction(directive)) {\n directive = { compile: valueFn(directive) };\n } else if (!directive.compile && directive.link) {\n directive.compile = valueFn(directive.link);\n }\n directive.priority = directive.priority || 0;\n directive.index = index;\n directive.name = directive.name || name;\n directive.require = getDirectiveRequire(directive);\n directive.restrict = getDirectiveRestrict(directive.restrict, name);\n directive.$$moduleName = directiveFactory.$$moduleName;\n directives.push(directive);\n } catch (e) {\n $exceptionHandler(e);\n }\n });\n return directives;\n }]);\n }\n hasDirectives[name].push(directiveFactory);\n } else {\n forEach(name, reverseParams(registerDirective));\n }\n return this;\n };\n\n /**\n * @ngdoc method\n * @name $compileProvider#component\n * @module ng\n * @param {string|Object} name Name of the component in camelCase (i.e. `myComp` which will match `<my-comp>`),\n * or an object map of components where the keys are the names and the values are the component definition objects.\n * @param {Object} options Component definition object (a simplified\n * {@link ng.$compile#directive-definition-object directive definition object}),\n * with the following properties (all optional):\n *\n * - `controller` – `{(string|function()=}` – controller constructor function that should be\n * associated with newly created scope or the name of a {@link ng.$compile#-controller-\n * registered controller} if passed as a string. An empty `noop` function by default.\n * - `controllerAs` – `{string=}` – identifier name for to reference the controller in the component's scope.\n * If present, the controller will be published to scope under the `controllerAs` name.\n * If not present, this will default to be `$ctrl`.\n * - `template` – `{string=|function()=}` – html template as a string or a function that\n * returns an html template as a string which should be used as the contents of this component.\n * Empty string by default.\n *\n * If `template` is a function, then it is {@link auto.$injector#invoke injected} with\n * the following locals:\n *\n * - `$element` - Current element\n * - `$attrs` - Current attributes object for the element\n *\n * - `templateUrl` – `{string=|function()=}` – path or function that returns a path to an html\n * template that should be used as the contents of this component.\n *\n * If `templateUrl` is a function, then it is {@link auto.$injector#invoke injected} with\n * the following locals:\n *\n * - `$element` - Current element\n * - `$attrs` - Current attributes object for the element\n *\n * - `bindings` – `{object=}` – defines bindings between DOM attributes and component properties.\n * Component properties are always bound to the component controller and not to the scope.\n * See {@link ng.$compile#-bindtocontroller- `bindToController`}.\n * - `transclude` – `{boolean=}` – whether {@link $compile#transclusion content transclusion} is enabled.\n * Disabled by default.\n * - `require` - `{Object<string, string>=}` - requires the controllers of other directives and binds them to\n * this component's controller. The object keys specify the property names under which the required\n * controllers (object values) will be bound. See {@link ng.$compile#-require- `require`}.\n * - `$...` – additional properties to attach to the directive factory function and the controller\n * constructor function. (This is used by the component router to annotate)\n *\n * @returns {ng.$compileProvider} the compile provider itself, for chaining of function calls.\n * @description\n * Register a **component definition** with the compiler. This is a shorthand for registering a special\n * type of directive, which represents a self-contained UI component in your application. Such components\n * are always isolated (i.e. `scope: {}`) and are always restricted to elements (i.e. `restrict: 'E'`).\n *\n * Component definitions are very simple and do not require as much configuration as defining general\n * directives. Component definitions usually consist only of a template and a controller backing it.\n *\n * In order to make the definition easier, components enforce best practices like use of `controllerAs`,\n * `bindToController`. They always have **isolate scope** and are restricted to elements.\n *\n * Here are a few examples of how you would usually define components:\n *\n * ```js\n * var myMod = angular.module(...);\n * myMod.component('myComp', {\n * template: '<div>My name is {{$ctrl.name}}</div>',\n * controller: function() {\n * this.name = 'shahar';\n * }\n * });\n *\n * myMod.component('myComp', {\n * template: '<div>My name is {{$ctrl.name}}</div>',\n * bindings: {name: '@'}\n * });\n *\n * myMod.component('myComp', {\n * templateUrl: 'views/my-comp.html',\n * controller: 'MyCtrl',\n * controllerAs: 'ctrl',\n * bindings: {name: '@'}\n * });\n *\n * ```\n * For more examples, and an in-depth guide, see the {@link guide/component component guide}.\n *\n * <br />\n * See also {@link ng.$compileProvider#directive $compileProvider.directive()}.\n */\n this.component = function registerComponent(name, options) {\n if (!isString(name)) {\n forEach(name, reverseParams(bind(this, registerComponent)));\n return this;\n }\n\n var controller = options.controller || function() {};\n\n function factory($injector) {\n function makeInjectable(fn) {\n if (isFunction(fn) || isArray(fn)) {\n return /** @this */ function(tElement, tAttrs) {\n return $injector.invoke(fn, this, {$element: tElement, $attrs: tAttrs});\n };\n } else {\n return fn;\n }\n }\n\n var template = (!options.template && !options.templateUrl ? '' : options.template);\n var ddo = {\n controller: controller,\n controllerAs: identifierForController(options.controller) || options.controllerAs || '$ctrl',\n template: makeInjectable(template),\n templateUrl: makeInjectable(options.templateUrl),\n transclude: options.transclude,\n scope: {},\n bindToController: options.bindings || {},\n restrict: 'E',\n require: options.require\n };\n\n // Copy annotations (starting with $) over to the DDO\n forEach(options, function(val, key) {\n if (key.charAt(0) === '$') ddo[key] = val;\n });\n\n return ddo;\n }\n\n // TODO(pete) remove the following `forEach` before we release 1.6.0\n // The component-router@0.2.0 looks for the annotations on the controller constructor\n // Nothing in AngularJS looks for annotations on the factory function but we can't remove\n // it from 1.5.x yet.\n\n // Copy any annotation properties (starting with $) over to the factory and controller constructor functions\n // These could be used by libraries such as the new component router\n forEach(options, function(val, key) {\n if (key.charAt(0) === '$') {\n factory[key] = val;\n // Don't try to copy over annotations to named controller\n if (isFunction(controller)) controller[key] = val;\n }\n });\n\n factory.$inject = ['$injector'];\n\n return this.directive(name, factory);\n };\n\n\n /**\n * @ngdoc method\n * @name $compileProvider#aHrefSanitizationWhitelist\n * @kind function\n *\n * @description\n * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n * urls during a[href] sanitization.\n *\n * The sanitization is a security measure aimed at preventing XSS attacks via html links.\n *\n * Any url about to be assigned to a[href] via data-binding is first normalized and turned into\n * an absolute url. Afterwards, the url is matched against the `aHrefSanitizationWhitelist`\n * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n *\n * @param {RegExp=} regexp New regexp to whitelist urls with.\n * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n * chaining otherwise.\n */\n this.aHrefSanitizationWhitelist = function(regexp) {\n if (isDefined(regexp)) {\n $$sanitizeUriProvider.aHrefSanitizationWhitelist(regexp);\n return this;\n } else {\n return $$sanitizeUriProvider.aHrefSanitizationWhitelist();\n }\n };\n\n\n /**\n * @ngdoc method\n * @name $compileProvider#imgSrcSanitizationWhitelist\n * @kind function\n *\n * @description\n * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n * urls during img[src] sanitization.\n *\n * The sanitization is a security measure aimed at prevent XSS attacks via html links.\n *\n * Any url about to be assigned to img[src] via data-binding is first normalized and turned into\n * an absolute url. Afterwards, the url is matched against the `imgSrcSanitizationWhitelist`\n * regular expression. If a match is found, the original url is written into the dom. Otherwise,\n * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.\n *\n * @param {RegExp=} regexp New regexp to whitelist urls with.\n * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n * chaining otherwise.\n */\n this.imgSrcSanitizationWhitelist = function(regexp) {\n if (isDefined(regexp)) {\n $$sanitizeUriProvider.imgSrcSanitizationWhitelist(regexp);\n return this;\n } else {\n return $$sanitizeUriProvider.imgSrcSanitizationWhitelist();\n }\n };\n\n /**\n * @ngdoc method\n * @name $compileProvider#debugInfoEnabled\n *\n * @param {boolean=} enabled update the debugInfoEnabled state if provided, otherwise just return the\n * current debugInfoEnabled state\n * @returns {*} current value if used as getter or itself (chaining) if used as setter\n *\n * @kind function\n *\n * @description\n * Call this method to enable/disable various debug runtime information in the compiler such as adding\n * binding information and a reference to the current scope on to DOM elements.\n * If enabled, the compiler will add the following to DOM elements that have been bound to the scope\n * * `ng-binding` CSS class\n * * `ng-scope` and `ng-isolated-scope` CSS classes\n * * `$binding` data property containing an array of the binding expressions\n * * Data properties used by the {@link angular.element#methods `scope()`/`isolateScope()` methods} to return\n * the element's scope.\n * * Placeholder comments will contain information about what directive and binding caused the placeholder.\n * E.g. `<!-- ngIf: shouldShow() -->`.\n *\n * You may want to disable this in production for a significant performance boost. See\n * {@link guide/production#disabling-debug-data Disabling Debug Data} for more.\n *\n * The default value is true.\n */\n var debugInfoEnabled = true;\n this.debugInfoEnabled = function(enabled) {\n if (isDefined(enabled)) {\n debugInfoEnabled = enabled;\n return this;\n }\n return debugInfoEnabled;\n };\n\n /**\n * @ngdoc method\n * @name $compileProvider#strictComponentBindingsEnabled\n *\n * @param {boolean=} enabled update the strictComponentBindingsEnabled state if provided,\n * otherwise return the current strictComponentBindingsEnabled state.\n * @returns {*} current value if used as getter or itself (chaining) if used as setter\n *\n * @kind function\n *\n * @description\n * Call this method to enable / disable the strict component bindings check. If enabled, the\n * compiler will enforce that all scope / controller bindings of a\n * {@link $compileProvider#directive directive} / {@link $compileProvider#component component}\n * that are not set as optional with `?`, must be provided when the directive is instantiated.\n * If not provided, the compiler will throw the\n * {@link error/$compile/missingattr $compile:missingattr error}.\n *\n * The default value is false.\n */\n var strictComponentBindingsEnabled = false;\n this.strictComponentBindingsEnabled = function(enabled) {\n if (isDefined(enabled)) {\n strictComponentBindingsEnabled = enabled;\n return this;\n }\n return strictComponentBindingsEnabled;\n };\n\n var TTL = 10;\n /**\n * @ngdoc method\n * @name $compileProvider#onChangesTtl\n * @description\n *\n * Sets the number of times `$onChanges` hooks can trigger new changes before giving up and\n * assuming that the model is unstable.\n *\n * The current default is 10 iterations.\n *\n * In complex applications it's possible that dependencies between `$onChanges` hooks and bindings will result\n * in several iterations of calls to these hooks. However if an application needs more than the default 10\n * iterations to stabilize then you should investigate what is causing the model to continuously change during\n * the `$onChanges` hook execution.\n *\n * Increasing the TTL could have performance implications, so you should not change it without proper justification.\n *\n * @param {number} limit The number of `$onChanges` hook iterations.\n * @returns {number|object} the current limit (or `this` if called as a setter for chaining)\n */\n this.onChangesTtl = function(value) {\n if (arguments.length) {\n TTL = value;\n return this;\n }\n return TTL;\n };\n\n var commentDirectivesEnabledConfig = true;\n /**\n * @ngdoc method\n * @name $compileProvider#commentDirectivesEnabled\n * @description\n *\n * It indicates to the compiler\n * whether or not directives on comments should be compiled.\n * Defaults to `true`.\n *\n * Calling this function with false disables the compilation of directives\n * on comments for the whole application.\n * This results in a compilation performance gain,\n * as the compiler doesn't have to check comments when looking for directives.\n * This should however only be used if you are sure that no comment directives are used in\n * the application (including any 3rd party directives).\n *\n * @param {boolean} enabled `false` if the compiler may ignore directives on comments\n * @returns {boolean|object} the current value (or `this` if called as a setter for chaining)\n */\n this.commentDirectivesEnabled = function(value) {\n if (arguments.length) {\n commentDirectivesEnabledConfig = value;\n return this;\n }\n return commentDirectivesEnabledConfig;\n };\n\n\n var cssClassDirectivesEnabledConfig = true;\n /**\n * @ngdoc method\n * @name $compileProvider#cssClassDirectivesEnabled\n * @description\n *\n * It indicates to the compiler\n * whether or not directives on element classes should be compiled.\n * Defaults to `true`.\n *\n * Calling this function with false disables the compilation of directives\n * on element classes for the whole application.\n * This results in a compilation performance gain,\n * as the compiler doesn't have to check element classes when looking for directives.\n * This should however only be used if you are sure that no class directives are used in\n * the application (including any 3rd party directives).\n *\n * @param {boolean} enabled `false` if the compiler may ignore directives on element classes\n * @returns {boolean|object} the current value (or `this` if called as a setter for chaining)\n */\n this.cssClassDirectivesEnabled = function(value) {\n if (arguments.length) {\n cssClassDirectivesEnabledConfig = value;\n return this;\n }\n return cssClassDirectivesEnabledConfig;\n };\n\n\n /**\n * The security context of DOM Properties.\n * @private\n */\n var PROP_CONTEXTS = createMap();\n\n /**\n * @ngdoc method\n * @name $compileProvider#addPropertySecurityContext\n * @description\n *\n * Defines the security context for DOM properties bound by ng-prop-*.\n *\n * @param {string} elementName The element name or '*' to match any element.\n * @param {string} propertyName The DOM property name.\n * @param {string} ctx The {@link $sce} security context in which this value is safe for use, e.g. `$sce.URL`\n * @returns {object} `this` for chaining\n */\n this.addPropertySecurityContext = function(elementName, propertyName, ctx) {\n var key = (elementName.toLowerCase() + '|' + propertyName.toLowerCase());\n\n if (key in PROP_CONTEXTS && PROP_CONTEXTS[key] !== ctx) {\n throw $compileMinErr('ctxoverride', 'Property context \\'{0}.{1}\\' already set to \\'{2}\\', cannot override to \\'{3}\\'.', elementName, propertyName, PROP_CONTEXTS[key], ctx);\n }\n\n PROP_CONTEXTS[key] = ctx;\n return this;\n };\n\n /* Default property contexts.\n *\n * Copy of https://github.com/angular/angular/blob/6.0.6/packages/compiler/src/schema/dom_security_schema.ts#L31-L58\n * Changing:\n * - SecurityContext.* => SCE_CONTEXTS/$sce.*\n * - STYLE => CSS\n * - various URL => MEDIA_URL\n * - *|formAction, form|action URL => RESOURCE_URL (like the attribute)\n */\n (function registerNativePropertyContexts() {\n function registerContext(ctx, values) {\n forEach(values, function(v) { PROP_CONTEXTS[v.toLowerCase()] = ctx; });\n }\n\n registerContext(SCE_CONTEXTS.HTML, [\n 'iframe|srcdoc',\n '*|innerHTML',\n '*|outerHTML'\n ]);\n registerContext(SCE_CONTEXTS.CSS, ['*|style']);\n registerContext(SCE_CONTEXTS.URL, [\n 'area|href', 'area|ping',\n 'a|href', 'a|ping',\n 'blockquote|cite',\n 'body|background',\n 'del|cite',\n 'input|src',\n 'ins|cite',\n 'q|cite'\n ]);\n registerContext(SCE_CONTEXTS.MEDIA_URL, [\n 'audio|src',\n 'img|src', 'img|srcset',\n 'source|src', 'source|srcset',\n 'track|src',\n 'video|src', 'video|poster'\n ]);\n registerContext(SCE_CONTEXTS.RESOURCE_URL, [\n '*|formAction',\n 'applet|code', 'applet|codebase',\n 'base|href',\n 'embed|src',\n 'frame|src',\n 'form|action',\n 'head|profile',\n 'html|manifest',\n 'iframe|src',\n 'link|href',\n 'media|src',\n 'object|codebase', 'object|data',\n 'script|src'\n ]);\n })();\n\n\n this.$get = [\n '$injector', '$interpolate', '$exceptionHandler', '$templateRequest', '$parse',\n '$controller', '$rootScope', '$sce', '$animate',\n function($injector, $interpolate, $exceptionHandler, $templateRequest, $parse,\n $controller, $rootScope, $sce, $animate) {\n\n var SIMPLE_ATTR_NAME = /^\\w/;\n var specialAttrHolder = window.document.createElement('div');\n\n\n var commentDirectivesEnabled = commentDirectivesEnabledConfig;\n var cssClassDirectivesEnabled = cssClassDirectivesEnabledConfig;\n\n\n var onChangesTtl = TTL;\n // The onChanges hooks should all be run together in a single digest\n // When changes occur, the call to trigger their hooks will be added to this queue\n var onChangesQueue;\n\n // This function is called in a $$postDigest to trigger all the onChanges hooks in a single digest\n function flushOnChangesQueue() {\n try {\n if (!(--onChangesTtl)) {\n // We have hit the TTL limit so reset everything\n onChangesQueue = undefined;\n throw $compileMinErr('infchng', '{0} $onChanges() iterations reached. Aborting!\\n', TTL);\n }\n // We must run this hook in an apply since the $$postDigest runs outside apply\n $rootScope.$apply(function() {\n for (var i = 0, ii = onChangesQueue.length; i < ii; ++i) {\n try {\n onChangesQueue[i]();\n } catch (e) {\n $exceptionHandler(e);\n }\n }\n // Reset the queue to trigger a new schedule next time there is a change\n onChangesQueue = undefined;\n });\n } finally {\n onChangesTtl++;\n }\n }\n\n\n function sanitizeSrcset(value, invokeType) {\n if (!value) {\n return value;\n }\n if (!isString(value)) {\n throw $compileMinErr('srcset', 'Can\\'t pass trusted values to `{0}`: \"{1}\"', invokeType, value.toString());\n }\n\n // Such values are a bit too complex to handle automatically inside $sce.\n // Instead, we sanitize each of the URIs individually, which works, even dynamically.\n\n // It's not possible to work around this using `$sce.trustAsMediaUrl`.\n // If you want to programmatically set explicitly trusted unsafe URLs, you should use\n // `$sce.trustAsHtml` on the whole `img` tag and inject it into the DOM using the\n // `ng-bind-html` directive.\n\n var result = '';\n\n // first check if there are spaces because it's not the same pattern\n var trimmedSrcset = trim(value);\n // ( 999x ,| 999w ,| ,|, )\n var srcPattern = /(\\s+\\d+x\\s*,|\\s+\\d+w\\s*,|\\s+,|,\\s+)/;\n var pattern = /\\s/.test(trimmedSrcset) ? srcPattern : /(,)/;\n\n // split srcset into tuple of uri and descriptor except for the last item\n var rawUris = trimmedSrcset.split(pattern);\n\n // for each tuples\n var nbrUrisWith2parts = Math.floor(rawUris.length / 2);\n for (var i = 0; i < nbrUrisWith2parts; i++) {\n var innerIdx = i * 2;\n // sanitize the uri\n result += $sce.getTrustedMediaUrl(trim(rawUris[innerIdx]));\n // add the descriptor\n result += ' ' + trim(rawUris[innerIdx + 1]);\n }\n\n // split the last item into uri and descriptor\n var lastTuple = trim(rawUris[i * 2]).split(/\\s/);\n\n // sanitize the last uri\n result += $sce.getTrustedMediaUrl(trim(lastTuple[0]));\n\n // and add the last descriptor if any\n if (lastTuple.length === 2) {\n result += (' ' + trim(lastTuple[1]));\n }\n return result;\n }\n\n\n function Attributes(element, attributesToCopy) {\n if (attributesToCopy) {\n var keys = Object.keys(attributesToCopy);\n var i, l, key;\n\n for (i = 0, l = keys.length; i < l; i++) {\n key = keys[i];\n this[key] = attributesToCopy[key];\n }\n } else {\n this.$attr = {};\n }\n\n this.$$element = element;\n }\n\n Attributes.prototype = {\n /**\n * @ngdoc method\n * @name $compile.directive.Attributes#$normalize\n * @kind function\n *\n * @description\n * Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with `x-` or\n * `data-`) to its normalized, camelCase form.\n *\n * Also there is special case for Moz prefix starting with upper case letter.\n *\n * For further information check out the guide on {@link guide/directive#matching-directives Matching Directives}\n *\n * @param {string} name Name to normalize\n */\n $normalize: directiveNormalize,\n\n\n /**\n * @ngdoc method\n * @name $compile.directive.Attributes#$addClass\n * @kind function\n *\n * @description\n * Adds the CSS class value specified by the classVal parameter to the element. If animations\n * are enabled then an animation will be triggered for the class addition.\n *\n * @param {string} classVal The className value that will be added to the element\n */\n $addClass: function(classVal) {\n if (classVal && classVal.length > 0) {\n $animate.addClass(this.$$element, classVal);\n }\n },\n\n /**\n * @ngdoc method\n * @name $compile.directive.Attributes#$removeClass\n * @kind function\n *\n * @description\n * Removes the CSS class value specified by the classVal parameter from the element. If\n * animations are enabled then an animation will be triggered for the class removal.\n *\n * @param {string} classVal The className value that will be removed from the element\n */\n $removeClass: function(classVal) {\n if (classVal && classVal.length > 0) {\n $animate.removeClass(this.$$element, classVal);\n }\n },\n\n /**\n * @ngdoc method\n * @name $compile.directive.Attributes#$updateClass\n * @kind function\n *\n * @description\n * Adds and removes the appropriate CSS class values to the element based on the difference\n * between the new and old CSS class values (specified as newClasses and oldClasses).\n *\n * @param {string} newClasses The current CSS className value\n * @param {string} oldClasses The former CSS className value\n */\n $updateClass: function(newClasses, oldClasses) {\n var toAdd = tokenDifference(newClasses, oldClasses);\n if (toAdd && toAdd.length) {\n $animate.addClass(this.$$element, toAdd);\n }\n\n var toRemove = tokenDifference(oldClasses, newClasses);\n if (toRemove && toRemove.length) {\n $animate.removeClass(this.$$element, toRemove);\n }\n },\n\n /**\n * Set a normalized attribute on the element in a way such that all directives\n * can share the attribute. This function properly handles boolean attributes.\n * @param {string} key Normalized key. (ie ngAttribute)\n * @param {string|boolean} value The value to set. If `null` attribute will be deleted.\n * @param {boolean=} writeAttr If false, does not write the value to DOM element attribute.\n * Defaults to true.\n * @param {string=} attrName Optional none normalized name. Defaults to key.\n */\n $set: function(key, value, writeAttr, attrName) {\n // TODO: decide whether or not to throw an error if \"class\"\n // is set through this function since it may cause $updateClass to\n // become unstable.\n\n var node = this.$$element[0],\n booleanKey = getBooleanAttrName(node, key),\n aliasedKey = getAliasedAttrName(key),\n observer = key,\n nodeName;\n\n if (booleanKey) {\n this.$$element.prop(key, value);\n attrName = booleanKey;\n } else if (aliasedKey) {\n this[aliasedKey] = value;\n observer = aliasedKey;\n }\n\n this[key] = value;\n\n // translate normalized key to actual key\n if (attrName) {\n this.$attr[key] = attrName;\n } else {\n attrName = this.$attr[key];\n if (!attrName) {\n this.$attr[key] = attrName = snake_case(key, '-');\n }\n }\n\n nodeName = nodeName_(this.$$element);\n\n // Sanitize img[srcset] values.\n if (nodeName === 'img' && key === 'srcset') {\n this[key] = value = sanitizeSrcset(value, '$set(\\'srcset\\', value)');\n }\n\n if (writeAttr !== false) {\n if (value === null || isUndefined(value)) {\n this.$$element.removeAttr(attrName);\n } else {\n if (SIMPLE_ATTR_NAME.test(attrName)) {\n // jQuery skips special boolean attrs treatment in XML nodes for\n // historical reasons and hence AngularJS cannot freely call\n // `.attr(attrName, false) with such attributes. To avoid issues\n // in XHTML, call `removeAttr` in such cases instead.\n // See https://github.com/jquery/jquery/issues/4249\n if (booleanKey && value === false) {\n this.$$element.removeAttr(attrName);\n } else {\n this.$$element.attr(attrName, value);\n }\n } else {\n setSpecialAttr(this.$$element[0], attrName, value);\n }\n }\n }\n\n // fire observers\n var $$observers = this.$$observers;\n if ($$observers) {\n forEach($$observers[observer], function(fn) {\n try {\n fn(value);\n } catch (e) {\n $exceptionHandler(e);\n }\n });\n }\n },\n\n\n /**\n * @ngdoc method\n * @name $compile.directive.Attributes#$observe\n * @kind function\n *\n * @description\n * Observes an interpolated attribute.\n *\n * The observer function will be invoked once during the next `$digest` following\n * compilation. The observer is then invoked whenever the interpolated value\n * changes.\n *\n * @param {string} key Normalized key. (ie ngAttribute) .\n * @param {function(interpolatedValue)} fn Function that will be called whenever\n the interpolated value of the attribute changes.\n * See the {@link guide/interpolation#how-text-and-attribute-bindings-work Interpolation\n * guide} for more info.\n * @returns {function()} Returns a deregistration function for this observer.\n */\n $observe: function(key, fn) {\n var attrs = this,\n $$observers = (attrs.$$observers || (attrs.$$observers = createMap())),\n listeners = ($$observers[key] || ($$observers[key] = []));\n\n listeners.push(fn);\n $rootScope.$evalAsync(function() {\n if (!listeners.$$inter && attrs.hasOwnProperty(key) && !isUndefined(attrs[key])) {\n // no one registered attribute interpolation function, so lets call it manually\n fn(attrs[key]);\n }\n });\n\n return function() {\n arrayRemove(listeners, fn);\n };\n }\n };\n\n function setSpecialAttr(element, attrName, value) {\n // Attributes names that do not start with letters (such as `(click)`) cannot be set using `setAttribute`\n // so we have to jump through some hoops to get such an attribute\n // https://github.com/angular/angular.js/pull/13318\n specialAttrHolder.innerHTML = '<span ' + attrName + '>';\n var attributes = specialAttrHolder.firstChild.attributes;\n var attribute = attributes[0];\n // We have to remove the attribute from its container element before we can add it to the destination element\n attributes.removeNamedItem(attribute.name);\n attribute.value = value;\n element.attributes.setNamedItem(attribute);\n }\n\n function safeAddClass($element, className) {\n try {\n $element.addClass(className);\n } catch (e) {\n // ignore, since it means that we are trying to set class on\n // SVG element, where class name is read-only.\n }\n }\n\n\n var startSymbol = $interpolate.startSymbol(),\n endSymbol = $interpolate.endSymbol(),\n denormalizeTemplate = (startSymbol === '{{' && endSymbol === '}}')\n ? identity\n : function denormalizeTemplate(template) {\n return template.replace(/\\{\\{/g, startSymbol).replace(/}}/g, endSymbol);\n },\n NG_PREFIX_BINDING = /^ng(Attr|Prop|On)([A-Z].*)$/;\n var MULTI_ELEMENT_DIR_RE = /^(.+)Start$/;\n\n compile.$$addBindingInfo = debugInfoEnabled ? function $$addBindingInfo($element, binding) {\n var bindings = $element.data('$binding') || [];\n\n if (isArray(binding)) {\n bindings = bindings.concat(binding);\n } else {\n bindings.push(binding);\n }\n\n $element.data('$binding', bindings);\n } : noop;\n\n compile.$$addBindingClass = debugInfoEnabled ? function $$addBindingClass($element) {\n safeAddClass($element, 'ng-binding');\n } : noop;\n\n compile.$$addScopeInfo = debugInfoEnabled ? function $$addScopeInfo($element, scope, isolated, noTemplate) {\n var dataName = isolated ? (noTemplate ? '$isolateScopeNoTemplate' : '$isolateScope') : '$scope';\n $element.data(dataName, scope);\n } : noop;\n\n compile.$$addScopeClass = debugInfoEnabled ? function $$addScopeClass($element, isolated) {\n safeAddClass($element, isolated ? 'ng-isolate-scope' : 'ng-scope');\n } : noop;\n\n compile.$$createComment = function(directiveName, comment) {\n var content = '';\n if (debugInfoEnabled) {\n content = ' ' + (directiveName || '') + ': ';\n if (comment) content += comment + ' ';\n }\n return window.document.createComment(content);\n };\n\n return compile;\n\n //================================\n\n function compile($compileNodes, transcludeFn, maxPriority, ignoreDirective,\n previousCompileContext) {\n if (!($compileNodes instanceof jqLite)) {\n // jquery always rewraps, whereas we need to preserve the original selector so that we can\n // modify it.\n $compileNodes = jqLite($compileNodes);\n }\n var compositeLinkFn =\n compileNodes($compileNodes, transcludeFn, $compileNodes,\n maxPriority, ignoreDirective, previousCompileContext);\n compile.$$addScopeClass($compileNodes);\n var namespace = null;\n return function publicLinkFn(scope, cloneConnectFn, options) {\n if (!$compileNodes) {\n throw $compileMinErr('multilink', 'This element has already been linked.');\n }\n assertArg(scope, 'scope');\n\n if (previousCompileContext && previousCompileContext.needsNewScope) {\n // A parent directive did a replace and a directive on this element asked\n // for transclusion, which caused us to lose a layer of element on which\n // we could hold the new transclusion scope, so we will create it manually\n // here.\n scope = scope.$parent.$new();\n }\n\n options = options || {};\n var parentBoundTranscludeFn = options.parentBoundTranscludeFn,\n transcludeControllers = options.transcludeControllers,\n futureParentElement = options.futureParentElement;\n\n // When `parentBoundTranscludeFn` is passed, it is a\n // `controllersBoundTransclude` function (it was previously passed\n // as `transclude` to directive.link) so we must unwrap it to get\n // its `boundTranscludeFn`\n if (parentBoundTranscludeFn && parentBoundTranscludeFn.$$boundTransclude) {\n parentBoundTranscludeFn = parentBoundTranscludeFn.$$boundTransclude;\n }\n\n if (!namespace) {\n namespace = detectNamespaceForChildElements(futureParentElement);\n }\n var $linkNode;\n if (namespace !== 'html') {\n // When using a directive with replace:true and templateUrl the $compileNodes\n // (or a child element inside of them)\n // might change, so we need to recreate the namespace adapted compileNodes\n // for call to the link function.\n // Note: This will already clone the nodes...\n $linkNode = jqLite(\n wrapTemplate(namespace, jqLite('<div></div>').append($compileNodes).html())\n );\n } else if (cloneConnectFn) {\n // important!!: we must call our jqLite.clone() since the jQuery one is trying to be smart\n // and sometimes changes the structure of the DOM.\n $linkNode = JQLitePrototype.clone.call($compileNodes);\n } else {\n $linkNode = $compileNodes;\n }\n\n if (transcludeControllers) {\n for (var controllerName in transcludeControllers) {\n $linkNode.data('$' + controllerName + 'Controller', transcludeControllers[controllerName].instance);\n }\n }\n\n compile.$$addScopeInfo($linkNode, scope);\n\n if (cloneConnectFn) cloneConnectFn($linkNode, scope);\n if (compositeLinkFn) compositeLinkFn(scope, $linkNode, $linkNode, parentBoundTranscludeFn);\n\n if (!cloneConnectFn) {\n $compileNodes = compositeLinkFn = null;\n }\n return $linkNode;\n };\n }\n\n function detectNamespaceForChildElements(parentElement) {\n // TODO: Make this detect MathML as well...\n var node = parentElement && parentElement[0];\n if (!node) {\n return 'html';\n } else {\n return nodeName_(node) !== 'foreignobject' && toString.call(node).match(/SVG/) ? 'svg' : 'html';\n }\n }\n\n /**\n * Compile function matches each node in nodeList against the directives. Once all directives\n * for a particular node are collected their compile functions are executed. The compile\n * functions return values - the linking functions - are combined into a composite linking\n * function, which is the a linking function for the node.\n *\n * @param {NodeList} nodeList an array of nodes or NodeList to compile\n * @param {function(angular.Scope, cloneAttachFn=)} transcludeFn A linking function, where the\n * scope argument is auto-generated to the new child of the transcluded parent scope.\n * @param {DOMElement=} $rootElement If the nodeList is the root of the compilation tree then\n * the rootElement must be set the jqLite collection of the compile root. This is\n * needed so that the jqLite collection items can be replaced with widgets.\n * @param {number=} maxPriority Max directive priority.\n * @returns {Function} A composite linking function of all of the matched directives or null.\n */\n function compileNodes(nodeList, transcludeFn, $rootElement, maxPriority, ignoreDirective,\n previousCompileContext) {\n var linkFns = [],\n // `nodeList` can be either an element's `.childNodes` (live NodeList)\n // or a jqLite/jQuery collection or an array\n notLiveList = isArray(nodeList) || (nodeList instanceof jqLite),\n attrs, directives, nodeLinkFn, childNodes, childLinkFn, linkFnFound, nodeLinkFnFound;\n\n\n for (var i = 0; i < nodeList.length; i++) {\n attrs = new Attributes();\n\n // Support: IE 11 only\n // Workaround for #11781 and #14924\n if (msie === 11) {\n mergeConsecutiveTextNodes(nodeList, i, notLiveList);\n }\n\n // We must always refer to `nodeList[i]` hereafter,\n // since the nodes can be replaced underneath us.\n directives = collectDirectives(nodeList[i], [], attrs, i === 0 ? maxPriority : undefined,\n ignoreDirective);\n\n nodeLinkFn = (directives.length)\n ? applyDirectivesToNode(directives, nodeList[i], attrs, transcludeFn, $rootElement,\n null, [], [], previousCompileContext)\n : null;\n\n if (nodeLinkFn && nodeLinkFn.scope) {\n compile.$$addScopeClass(attrs.$$element);\n }\n\n childLinkFn = (nodeLinkFn && nodeLinkFn.terminal ||\n !(childNodes = nodeList[i].childNodes) ||\n !childNodes.length)\n ? null\n : compileNodes(childNodes,\n nodeLinkFn ? (\n (nodeLinkFn.transcludeOnThisElement || !nodeLinkFn.templateOnThisElement)\n && nodeLinkFn.transclude) : transcludeFn);\n\n if (nodeLinkFn || childLinkFn) {\n linkFns.push(i, nodeLinkFn, childLinkFn);\n linkFnFound = true;\n nodeLinkFnFound = nodeLinkFnFound || nodeLinkFn;\n }\n\n //use the previous context only for the first element in the virtual group\n previousCompileContext = null;\n }\n\n // return a linking function if we have found anything, null otherwise\n return linkFnFound ? compositeLinkFn : null;\n\n function compositeLinkFn(scope, nodeList, $rootElement, parentBoundTranscludeFn) {\n var nodeLinkFn, childLinkFn, node, childScope, i, ii, idx, childBoundTranscludeFn;\n var stableNodeList;\n\n\n if (nodeLinkFnFound) {\n // copy nodeList so that if a nodeLinkFn removes or adds an element at this DOM level our\n // offsets don't get screwed up\n var nodeListLength = nodeList.length;\n stableNodeList = new Array(nodeListLength);\n\n // create a sparse array by only copying the elements which have a linkFn\n for (i = 0; i < linkFns.length; i += 3) {\n idx = linkFns[i];\n stableNodeList[idx] = nodeList[idx];\n }\n } else {\n stableNodeList = nodeList;\n }\n\n for (i = 0, ii = linkFns.length; i < ii;) {\n node = stableNodeList[linkFns[i++]];\n nodeLinkFn = linkFns[i++];\n childLinkFn = linkFns[i++];\n\n if (nodeLinkFn) {\n if (nodeLinkFn.scope) {\n childScope = scope.$new();\n compile.$$addScopeInfo(jqLite(node), childScope);\n } else {\n childScope = scope;\n }\n\n if (nodeLinkFn.transcludeOnThisElement) {\n childBoundTranscludeFn = createBoundTranscludeFn(\n scope, nodeLinkFn.transclude, parentBoundTranscludeFn);\n\n } else if (!nodeLinkFn.templateOnThisElement && parentBoundTranscludeFn) {\n childBoundTranscludeFn = parentBoundTranscludeFn;\n\n } else if (!parentBoundTranscludeFn && transcludeFn) {\n childBoundTranscludeFn = createBoundTranscludeFn(scope, transcludeFn);\n\n } else {\n childBoundTranscludeFn = null;\n }\n\n nodeLinkFn(childLinkFn, childScope, node, $rootElement, childBoundTranscludeFn);\n\n } else if (childLinkFn) {\n childLinkFn(scope, node.childNodes, undefined, parentBoundTranscludeFn);\n }\n }\n }\n }\n\n function mergeConsecutiveTextNodes(nodeList, idx, notLiveList) {\n var node = nodeList[idx];\n var parent = node.parentNode;\n var sibling;\n\n if (node.nodeType !== NODE_TYPE_TEXT) {\n return;\n }\n\n while (true) {\n sibling = parent ? node.nextSibling : nodeList[idx + 1];\n if (!sibling || sibling.nodeType !== NODE_TYPE_TEXT) {\n break;\n }\n\n node.nodeValue = node.nodeValue + sibling.nodeValue;\n\n if (sibling.parentNode) {\n sibling.parentNode.removeChild(sibling);\n }\n if (notLiveList && sibling === nodeList[idx + 1]) {\n nodeList.splice(idx + 1, 1);\n }\n }\n }\n\n function createBoundTranscludeFn(scope, transcludeFn, previousBoundTranscludeFn) {\n function boundTranscludeFn(transcludedScope, cloneFn, controllers, futureParentElement, containingScope) {\n\n if (!transcludedScope) {\n transcludedScope = scope.$new(false, containingScope);\n transcludedScope.$$transcluded = true;\n }\n\n return transcludeFn(transcludedScope, cloneFn, {\n parentBoundTranscludeFn: previousBoundTranscludeFn,\n transcludeControllers: controllers,\n futureParentElement: futureParentElement\n });\n }\n\n // We need to attach the transclusion slots onto the `boundTranscludeFn`\n // so that they are available inside the `controllersBoundTransclude` function\n var boundSlots = boundTranscludeFn.$$slots = createMap();\n for (var slotName in transcludeFn.$$slots) {\n if (transcludeFn.$$slots[slotName]) {\n boundSlots[slotName] = createBoundTranscludeFn(scope, transcludeFn.$$slots[slotName], previousBoundTranscludeFn);\n } else {\n boundSlots[slotName] = null;\n }\n }\n\n return boundTranscludeFn;\n }\n\n /**\n * Looks for directives on the given node and adds them to the directive collection which is\n * sorted.\n *\n * @param node Node to search.\n * @param directives An array to which the directives are added to. This array is sorted before\n * the function returns.\n * @param attrs The shared attrs object which is used to populate the normalized attributes.\n * @param {number=} maxPriority Max directive priority.\n */\n function collectDirectives(node, directives, attrs, maxPriority, ignoreDirective) {\n var nodeType = node.nodeType,\n attrsMap = attrs.$attr,\n match,\n nodeName,\n className;\n\n switch (nodeType) {\n case NODE_TYPE_ELEMENT: /* Element */\n\n nodeName = nodeName_(node);\n\n // use the node name: <directive>\n addDirective(directives,\n directiveNormalize(nodeName), 'E', maxPriority, ignoreDirective);\n\n // iterate over the attributes\n for (var attr, name, nName, value, ngPrefixMatch, nAttrs = node.attributes,\n j = 0, jj = nAttrs && nAttrs.length; j < jj; j++) {\n var attrStartName = false;\n var attrEndName = false;\n\n var isNgAttr = false, isNgProp = false, isNgEvent = false;\n var multiElementMatch;\n\n attr = nAttrs[j];\n name = attr.name;\n value = attr.value;\n\n nName = directiveNormalize(name.toLowerCase());\n\n // Support ng-attr-*, ng-prop-* and ng-on-*\n if ((ngPrefixMatch = nName.match(NG_PREFIX_BINDING))) {\n isNgAttr = ngPrefixMatch[1] === 'Attr';\n isNgProp = ngPrefixMatch[1] === 'Prop';\n isNgEvent = ngPrefixMatch[1] === 'On';\n\n // Normalize the non-prefixed name\n name = name.replace(PREFIX_REGEXP, '')\n .toLowerCase()\n .substr(4 + ngPrefixMatch[1].length).replace(/_(.)/g, function(match, letter) {\n return letter.toUpperCase();\n });\n\n // Support *-start / *-end multi element directives\n } else if ((multiElementMatch = nName.match(MULTI_ELEMENT_DIR_RE)) && directiveIsMultiElement(multiElementMatch[1])) {\n attrStartName = name;\n attrEndName = name.substr(0, name.length - 5) + 'end';\n name = name.substr(0, name.length - 6);\n }\n\n if (isNgProp || isNgEvent) {\n attrs[nName] = value;\n attrsMap[nName] = attr.name;\n\n if (isNgProp) {\n addPropertyDirective(node, directives, nName, name);\n } else {\n addEventDirective(directives, nName, name);\n }\n } else {\n // Update nName for cases where a prefix was removed\n // NOTE: the .toLowerCase() is unnecessary and causes https://github.com/angular/angular.js/issues/16624 for ng-attr-*\n nName = directiveNormalize(name.toLowerCase());\n attrsMap[nName] = name;\n\n if (isNgAttr || !attrs.hasOwnProperty(nName)) {\n attrs[nName] = value;\n if (getBooleanAttrName(node, nName)) {\n attrs[nName] = true; // presence means true\n }\n }\n\n addAttrInterpolateDirective(node, directives, value, nName, isNgAttr);\n addDirective(directives, nName, 'A', maxPriority, ignoreDirective, attrStartName,\n attrEndName);\n }\n }\n\n if (nodeName === 'input' && node.getAttribute('type') === 'hidden') {\n // Hidden input elements can have strange behaviour when navigating back to the page\n // This tells the browser not to try to cache and reinstate previous values\n node.setAttribute('autocomplete', 'off');\n }\n\n // use class as directive\n if (!cssClassDirectivesEnabled) break;\n className = node.className;\n if (isObject(className)) {\n // Maybe SVGAnimatedString\n className = className.animVal;\n }\n if (isString(className) && className !== '') {\n while ((match = CLASS_DIRECTIVE_REGEXP.exec(className))) {\n nName = directiveNormalize(match[2]);\n if (addDirective(directives, nName, 'C', maxPriority, ignoreDirective)) {\n attrs[nName] = trim(match[3]);\n }\n className = className.substr(match.index + match[0].length);\n }\n }\n break;\n case NODE_TYPE_TEXT: /* Text Node */\n addTextInterpolateDirective(directives, node.nodeValue);\n break;\n case NODE_TYPE_COMMENT: /* Comment */\n if (!commentDirectivesEnabled) break;\n collectCommentDirectives(node, directives, attrs, maxPriority, ignoreDirective);\n break;\n }\n\n directives.sort(byPriority);\n return directives;\n }\n\n function collectCommentDirectives(node, directives, attrs, maxPriority, ignoreDirective) {\n // function created because of performance, try/catch disables\n // the optimization of the whole function #14848\n try {\n var match = COMMENT_DIRECTIVE_REGEXP.exec(node.nodeValue);\n if (match) {\n var nName = directiveNormalize(match[1]);\n if (addDirective(directives, nName, 'M', maxPriority, ignoreDirective)) {\n attrs[nName] = trim(match[2]);\n }\n }\n } catch (e) {\n // turns out that under some circumstances IE9 throws errors when one attempts to read\n // comment's node value.\n // Just ignore it and continue. (Can't seem to reproduce in test case.)\n }\n }\n\n /**\n * Given a node with a directive-start it collects all of the siblings until it finds\n * directive-end.\n * @param node\n * @param attrStart\n * @param attrEnd\n * @returns {*}\n */\n function groupScan(node, attrStart, attrEnd) {\n var nodes = [];\n var depth = 0;\n if (attrStart && node.hasAttribute && node.hasAttribute(attrStart)) {\n do {\n if (!node) {\n throw $compileMinErr('uterdir',\n 'Unterminated attribute, found \\'{0}\\' but no matching \\'{1}\\' found.',\n attrStart, attrEnd);\n }\n if (node.nodeType === NODE_TYPE_ELEMENT) {\n if (node.hasAttribute(attrStart)) depth++;\n if (node.hasAttribute(attrEnd)) depth--;\n }\n nodes.push(node);\n node = node.nextSibling;\n } while (depth > 0);\n } else {\n nodes.push(node);\n }\n\n return jqLite(nodes);\n }\n\n /**\n * Wrapper for linking function which converts normal linking function into a grouped\n * linking function.\n * @param linkFn\n * @param attrStart\n * @param attrEnd\n * @returns {Function}\n */\n function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {\n return function groupedElementsLink(scope, element, attrs, controllers, transcludeFn) {\n element = groupScan(element[0], attrStart, attrEnd);\n return linkFn(scope, element, attrs, controllers, transcludeFn);\n };\n }\n\n /**\n * A function generator that is used to support both eager and lazy compilation\n * linking function.\n * @param eager\n * @param $compileNodes\n * @param transcludeFn\n * @param maxPriority\n * @param ignoreDirective\n * @param previousCompileContext\n * @returns {Function}\n */\n function compilationGenerator(eager, $compileNodes, transcludeFn, maxPriority, ignoreDirective, previousCompileContext) {\n var compiled;\n\n if (eager) {\n return compile($compileNodes, transcludeFn, maxPriority, ignoreDirective, previousCompileContext);\n }\n return /** @this */ function lazyCompilation() {\n if (!compiled) {\n compiled = compile($compileNodes, transcludeFn, maxPriority, ignoreDirective, previousCompileContext);\n\n // Null out all of these references in order to make them eligible for garbage collection\n // since this is a potentially long lived closure\n $compileNodes = transcludeFn = previousCompileContext = null;\n }\n return compiled.apply(this, arguments);\n };\n }\n\n /**\n * Once the directives have been collected, their compile functions are executed. This method\n * is responsible for inlining directive templates as well as terminating the application\n * of the directives if the terminal directive has been reached.\n *\n * @param {Array} directives Array of collected directives to execute their compile function.\n * this needs to be pre-sorted by priority order.\n * @param {Node} compileNode The raw DOM node to apply the compile functions to\n * @param {Object} templateAttrs The shared attribute function\n * @param {function(angular.Scope, cloneAttachFn=)} transcludeFn A linking function, where the\n * scope argument is auto-generated to the new\n * child of the transcluded parent scope.\n * @param {JQLite} jqCollection If we are working on the root of the compile tree then this\n * argument has the root jqLite array so that we can replace nodes\n * on it.\n * @param {Object=} originalReplaceDirective An optional directive that will be ignored when\n * compiling the transclusion.\n * @param {Array.<Function>} preLinkFns\n * @param {Array.<Function>} postLinkFns\n * @param {Object} previousCompileContext Context used for previous compilation of the current\n * node\n * @returns {Function} linkFn\n */\n function applyDirectivesToNode(directives, compileNode, templateAttrs, transcludeFn,\n jqCollection, originalReplaceDirective, preLinkFns, postLinkFns,\n previousCompileContext) {\n previousCompileContext = previousCompileContext || {};\n\n var terminalPriority = -Number.MAX_VALUE,\n newScopeDirective = previousCompileContext.newScopeDirective,\n controllerDirectives = previousCompileContext.controllerDirectives,\n newIsolateScopeDirective = previousCompileContext.newIsolateScopeDirective,\n templateDirective = previousCompileContext.templateDirective,\n nonTlbTranscludeDirective = previousCompileContext.nonTlbTranscludeDirective,\n hasTranscludeDirective = false,\n hasTemplate = false,\n hasElementTranscludeDirective = previousCompileContext.hasElementTranscludeDirective,\n $compileNode = templateAttrs.$$element = jqLite(compileNode),\n directive,\n directiveName,\n $template,\n replaceDirective = originalReplaceDirective,\n childTranscludeFn = transcludeFn,\n linkFn,\n didScanForMultipleTransclusion = false,\n mightHaveMultipleTransclusionError = false,\n directiveValue;\n\n // executes all directives on the current element\n for (var i = 0, ii = directives.length; i < ii; i++) {\n directive = directives[i];\n var attrStart = directive.$$start;\n var attrEnd = directive.$$end;\n\n // collect multiblock sections\n if (attrStart) {\n $compileNode = groupScan(compileNode, attrStart, attrEnd);\n }\n $template = undefined;\n\n if (terminalPriority > directive.priority) {\n break; // prevent further processing of directives\n }\n\n directiveValue = directive.scope;\n\n if (directiveValue) {\n\n // skip the check for directives with async templates, we'll check the derived sync\n // directive when the template arrives\n if (!directive.templateUrl) {\n if (isObject(directiveValue)) {\n // This directive is trying to add an isolated scope.\n // Check that there is no scope of any kind already\n assertNoDuplicate('new/isolated scope', newIsolateScopeDirective || newScopeDirective,\n directive, $compileNode);\n newIsolateScopeDirective = directive;\n } else {\n // This directive is trying to add a child scope.\n // Check that there is no isolated scope already\n assertNoDuplicate('new/isolated scope', newIsolateScopeDirective, directive,\n $compileNode);\n }\n }\n\n newScopeDirective = newScopeDirective || directive;\n }\n\n directiveName = directive.name;\n\n // If we encounter a condition that can result in transclusion on the directive,\n // then scan ahead in the remaining directives for others that may cause a multiple\n // transclusion error to be thrown during the compilation process. If a matching directive\n // is found, then we know that when we encounter a transcluded directive, we need to eagerly\n // compile the `transclude` function rather than doing it lazily in order to throw\n // exceptions at the correct time\n if (!didScanForMultipleTransclusion && ((directive.replace && (directive.templateUrl || directive.template))\n || (directive.transclude && !directive.$$tlb))) {\n var candidateDirective;\n\n for (var scanningIndex = i + 1; (candidateDirective = directives[scanningIndex++]);) {\n if ((candidateDirective.transclude && !candidateDirective.$$tlb)\n || (candidateDirective.replace && (candidateDirective.templateUrl || candidateDirective.template))) {\n mightHaveMultipleTransclusionError = true;\n break;\n }\n }\n\n didScanForMultipleTransclusion = true;\n }\n\n if (!directive.templateUrl && directive.controller) {\n controllerDirectives = controllerDirectives || createMap();\n assertNoDuplicate('\\'' + directiveName + '\\' controller',\n controllerDirectives[directiveName], directive, $compileNode);\n controllerDirectives[directiveName] = directive;\n }\n\n directiveValue = directive.transclude;\n\n if (directiveValue) {\n hasTranscludeDirective = true;\n\n // Special case ngIf and ngRepeat so that we don't complain about duplicate transclusion.\n // This option should only be used by directives that know how to safely handle element transclusion,\n // where the transcluded nodes are added or replaced after linking.\n if (!directive.$$tlb) {\n assertNoDuplicate('transclusion', nonTlbTranscludeDirective, directive, $compileNode);\n nonTlbTranscludeDirective = directive;\n }\n\n if (directiveValue === 'element') {\n hasElementTranscludeDirective = true;\n terminalPriority = directive.priority;\n $template = $compileNode;\n $compileNode = templateAttrs.$$element =\n jqLite(compile.$$createComment(directiveName, templateAttrs[directiveName]));\n compileNode = $compileNode[0];\n replaceWith(jqCollection, sliceArgs($template), compileNode);\n\n childTranscludeFn = compilationGenerator(mightHaveMultipleTransclusionError, $template, transcludeFn, terminalPriority,\n replaceDirective && replaceDirective.name, {\n // Don't pass in:\n // - controllerDirectives - otherwise we'll create duplicates controllers\n // - newIsolateScopeDirective or templateDirective - combining templates with\n // element transclusion doesn't make sense.\n //\n // We need only nonTlbTranscludeDirective so that we prevent putting transclusion\n // on the same element more than once.\n nonTlbTranscludeDirective: nonTlbTranscludeDirective\n });\n } else {\n\n var slots = createMap();\n\n if (!isObject(directiveValue)) {\n $template = jqLite(jqLiteClone(compileNode)).contents();\n } else {\n\n // We have transclusion slots,\n // collect them up, compile them and store their transclusion functions\n $template = window.document.createDocumentFragment();\n\n var slotMap = createMap();\n var filledSlots = createMap();\n\n // Parse the element selectors\n forEach(directiveValue, function(elementSelector, slotName) {\n // If an element selector starts with a ? then it is optional\n var optional = (elementSelector.charAt(0) === '?');\n elementSelector = optional ? elementSelector.substring(1) : elementSelector;\n\n slotMap[elementSelector] = slotName;\n\n // We explicitly assign `null` since this implies that a slot was defined but not filled.\n // Later when calling boundTransclusion functions with a slot name we only error if the\n // slot is `undefined`\n slots[slotName] = null;\n\n // filledSlots contains `true` for all slots that are either optional or have been\n // filled. This is used to check that we have not missed any required slots\n filledSlots[slotName] = optional;\n });\n\n // Add the matching elements into their slot\n forEach($compileNode.contents(), function(node) {\n var slotName = slotMap[directiveNormalize(nodeName_(node))];\n if (slotName) {\n filledSlots[slotName] = true;\n slots[slotName] = slots[slotName] || window.document.createDocumentFragment();\n slots[slotName].appendChild(node);\n } else {\n $template.appendChild(node);\n }\n });\n\n // Check for required slots that were not filled\n forEach(filledSlots, function(filled, slotName) {\n if (!filled) {\n throw $compileMinErr('reqslot', 'Required transclusion slot `{0}` was not filled.', slotName);\n }\n });\n\n for (var slotName in slots) {\n if (slots[slotName]) {\n // Only define a transclusion function if the slot was filled\n var slotCompileNodes = jqLite(slots[slotName].childNodes);\n slots[slotName] = compilationGenerator(mightHaveMultipleTransclusionError, slotCompileNodes, transcludeFn);\n }\n }\n\n $template = jqLite($template.childNodes);\n }\n\n $compileNode.empty(); // clear contents\n childTranscludeFn = compilationGenerator(mightHaveMultipleTransclusionError, $template, transcludeFn, undefined,\n undefined, { needsNewScope: directive.$$isolateScope || directive.$$newScope});\n childTranscludeFn.$$slots = slots;\n }\n }\n\n if (directive.template) {\n hasTemplate = true;\n assertNoDuplicate('template', templateDirective, directive, $compileNode);\n templateDirective = directive;\n\n directiveValue = (isFunction(directive.template))\n ? directive.template($compileNode, templateAttrs)\n : directive.template;\n\n directiveValue = denormalizeTemplate(directiveValue);\n\n if (directive.replace) {\n replaceDirective = directive;\n if (jqLiteIsTextNode(directiveValue)) {\n $template = [];\n } else {\n $template = removeComments(wrapTemplate(directive.templateNamespace, trim(directiveValue)));\n }\n compileNode = $template[0];\n\n if ($template.length !== 1 || compileNode.nodeType !== NODE_TYPE_ELEMENT) {\n throw $compileMinErr('tplrt',\n 'Template for directive \\'{0}\\' must have exactly one root element. {1}',\n directiveName, '');\n }\n\n replaceWith(jqCollection, $compileNode, compileNode);\n\n var newTemplateAttrs = {$attr: {}};\n\n // combine directives from the original node and from the template:\n // - take the array of directives for this element\n // - split it into two parts, those that already applied (processed) and those that weren't (unprocessed)\n // - collect directives from the template and sort them by priority\n // - combine directives as: processed + template + unprocessed\n var templateDirectives = collectDirectives(compileNode, [], newTemplateAttrs);\n var unprocessedDirectives = directives.splice(i + 1, directives.length - (i + 1));\n\n if (newIsolateScopeDirective || newScopeDirective) {\n // The original directive caused the current element to be replaced but this element\n // also needs to have a new scope, so we need to tell the template directives\n // that they would need to get their scope from further up, if they require transclusion\n markDirectiveScope(templateDirectives, newIsolateScopeDirective, newScopeDirective);\n }\n directives = directives.concat(templateDirectives).concat(unprocessedDirectives);\n mergeTemplateAttributes(templateAttrs, newTemplateAttrs);\n\n ii = directives.length;\n } else {\n $compileNode.html(directiveValue);\n }\n }\n\n if (directive.templateUrl) {\n hasTemplate = true;\n assertNoDuplicate('template', templateDirective, directive, $compileNode);\n templateDirective = directive;\n\n if (directive.replace) {\n replaceDirective = directive;\n }\n\n // eslint-disable-next-line no-func-assign\n nodeLinkFn = compileTemplateUrl(directives.splice(i, directives.length - i), $compileNode,\n templateAttrs, jqCollection, hasTranscludeDirective && childTranscludeFn, preLinkFns, postLinkFns, {\n controllerDirectives: controllerDirectives,\n newScopeDirective: (newScopeDirective !== directive) && newScopeDirective,\n newIsolateScopeDirective: newIsolateScopeDirective,\n templateDirective: templateDirective,\n nonTlbTranscludeDirective: nonTlbTranscludeDirective\n });\n ii = directives.length;\n } else if (directive.compile) {\n try {\n linkFn = directive.compile($compileNode, templateAttrs, childTranscludeFn);\n var context = directive.$$originalDirective || directive;\n if (isFunction(linkFn)) {\n addLinkFns(null, bind(context, linkFn), attrStart, attrEnd);\n } else if (linkFn) {\n addLinkFns(bind(context, linkFn.pre), bind(context, linkFn.post), attrStart, attrEnd);\n }\n } catch (e) {\n $exceptionHandler(e, startingTag($compileNode));\n }\n }\n\n if (directive.terminal) {\n nodeLinkFn.terminal = true;\n terminalPriority = Math.max(terminalPriority, directive.priority);\n }\n\n }\n\n nodeLinkFn.scope = newScopeDirective && newScopeDirective.scope === true;\n nodeLinkFn.transcludeOnThisElement = hasTranscludeDirective;\n nodeLinkFn.templateOnThisElement = hasTemplate;\n nodeLinkFn.transclude = childTranscludeFn;\n\n previousCompileContext.hasElementTranscludeDirective = hasElementTranscludeDirective;\n\n // might be normal or delayed nodeLinkFn depending on if templateUrl is present\n return nodeLinkFn;\n\n ////////////////////\n\n function addLinkFns(pre, post, attrStart, attrEnd) {\n if (pre) {\n if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd);\n pre.require = directive.require;\n pre.directiveName = directiveName;\n if (newIsolateScopeDirective === directive || directive.$$isolateScope) {\n pre = cloneAndAnnotateFn(pre, {isolateScope: true});\n }\n preLinkFns.push(pre);\n }\n if (post) {\n if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd);\n post.require = directive.require;\n post.directiveName = directiveName;\n if (newIsolateScopeDirective === directive || directive.$$isolateScope) {\n post = cloneAndAnnotateFn(post, {isolateScope: true});\n }\n postLinkFns.push(post);\n }\n }\n\n function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) {\n var i, ii, linkFn, isolateScope, controllerScope, elementControllers, transcludeFn, $element,\n attrs, scopeBindingInfo;\n\n if (compileNode === linkNode) {\n attrs = templateAttrs;\n $element = templateAttrs.$$element;\n } else {\n $element = jqLite(linkNode);\n attrs = new Attributes($element, templateAttrs);\n }\n\n controllerScope = scope;\n if (newIsolateScopeDirective) {\n isolateScope = scope.$new(true);\n } else if (newScopeDirective) {\n controllerScope = scope.$parent;\n }\n\n if (boundTranscludeFn) {\n // track `boundTranscludeFn` so it can be unwrapped if `transcludeFn`\n // is later passed as `parentBoundTranscludeFn` to `publicLinkFn`\n transcludeFn = controllersBoundTransclude;\n transcludeFn.$$boundTransclude = boundTranscludeFn;\n // expose the slots on the `$transclude` function\n transcludeFn.isSlotFilled = function(slotName) {\n return !!boundTranscludeFn.$$slots[slotName];\n };\n }\n\n if (controllerDirectives) {\n elementControllers = setupControllers($element, attrs, transcludeFn, controllerDirectives, isolateScope, scope, newIsolateScopeDirective);\n }\n\n if (newIsolateScopeDirective) {\n // Initialize isolate scope bindings for new isolate scope directive.\n compile.$$addScopeInfo($element, isolateScope, true, !(templateDirective && (templateDirective === newIsolateScopeDirective ||\n templateDirective === newIsolateScopeDirective.$$originalDirective)));\n compile.$$addScopeClass($element, true);\n isolateScope.$$isolateBindings =\n newIsolateScopeDirective.$$isolateBindings;\n scopeBindingInfo = initializeDirectiveBindings(scope, attrs, isolateScope,\n isolateScope.$$isolateBindings,\n newIsolateScopeDirective);\n if (scopeBindingInfo.removeWatches) {\n isolateScope.$on('$destroy', scopeBindingInfo.removeWatches);\n }\n }\n\n // Initialize bindToController bindings\n for (var name in elementControllers) {\n var controllerDirective = controllerDirectives[name];\n var controller = elementControllers[name];\n var bindings = controllerDirective.$$bindings.bindToController;\n\n controller.instance = controller();\n $element.data('$' + controllerDirective.name + 'Controller', controller.instance);\n controller.bindingInfo =\n initializeDirectiveBindings(controllerScope, attrs, controller.instance, bindings, controllerDirective);\n }\n\n // Bind the required controllers to the controller, if `require` is an object and `bindToController` is truthy\n forEach(controllerDirectives, function(controllerDirective, name) {\n var require = controllerDirective.require;\n if (controllerDirective.bindToController && !isArray(require) && isObject(require)) {\n extend(elementControllers[name].instance, getControllers(name, require, $element, elementControllers));\n }\n });\n\n // Handle the init and destroy lifecycle hooks on all controllers that have them\n forEach(elementControllers, function(controller) {\n var controllerInstance = controller.instance;\n if (isFunction(controllerInstance.$onChanges)) {\n try {\n controllerInstance.$onChanges(controller.bindingInfo.initialChanges);\n } catch (e) {\n $exceptionHandler(e);\n }\n }\n if (isFunction(controllerInstance.$onInit)) {\n try {\n controllerInstance.$onInit();\n } catch (e) {\n $exceptionHandler(e);\n }\n }\n if (isFunction(controllerInstance.$doCheck)) {\n controllerScope.$watch(function() { controllerInstance.$doCheck(); });\n controllerInstance.$doCheck();\n }\n if (isFunction(controllerInstance.$onDestroy)) {\n controllerScope.$on('$destroy', function callOnDestroyHook() {\n controllerInstance.$onDestroy();\n });\n }\n });\n\n // PRELINKING\n for (i = 0, ii = preLinkFns.length; i < ii; i++) {\n linkFn = preLinkFns[i];\n invokeLinkFn(linkFn,\n linkFn.isolateScope ? isolateScope : scope,\n $element,\n attrs,\n linkFn.require && getControllers(linkFn.directiveName, linkFn.require, $element, elementControllers),\n transcludeFn\n );\n }\n\n // RECURSION\n // We only pass the isolate scope, if the isolate directive has a template,\n // otherwise the child elements do not belong to the isolate directive.\n var scopeToChild = scope;\n if (newIsolateScopeDirective && (newIsolateScopeDirective.template || newIsolateScopeDirective.templateUrl === null)) {\n scopeToChild = isolateScope;\n }\n if (childLinkFn) {\n childLinkFn(scopeToChild, linkNode.childNodes, undefined, boundTranscludeFn);\n }\n\n // POSTLINKING\n for (i = postLinkFns.length - 1; i >= 0; i--) {\n linkFn = postLinkFns[i];\n invokeLinkFn(linkFn,\n linkFn.isolateScope ? isolateScope : scope,\n $element,\n attrs,\n linkFn.require && getControllers(linkFn.directiveName, linkFn.require, $element, elementControllers),\n transcludeFn\n );\n }\n\n // Trigger $postLink lifecycle hooks\n forEach(elementControllers, function(controller) {\n var controllerInstance = controller.instance;\n if (isFunction(controllerInstance.$postLink)) {\n controllerInstance.$postLink();\n }\n });\n\n // This is the function that is injected as `$transclude`.\n // Note: all arguments are optional!\n function controllersBoundTransclude(scope, cloneAttachFn, futureParentElement, slotName) {\n var transcludeControllers;\n // No scope passed in:\n if (!isScope(scope)) {\n slotName = futureParentElement;\n futureParentElement = cloneAttachFn;\n cloneAttachFn = scope;\n scope = undefined;\n }\n\n if (hasElementTranscludeDirective) {\n transcludeControllers = elementControllers;\n }\n if (!futureParentElement) {\n futureParentElement = hasElementTranscludeDirective ? $element.parent() : $element;\n }\n if (slotName) {\n // slotTranscludeFn can be one of three things:\n // * a transclude function - a filled slot\n // * `null` - an optional slot that was not filled\n // * `undefined` - a slot that was not declared (i.e. invalid)\n var slotTranscludeFn = boundTranscludeFn.$$slots[slotName];\n if (slotTranscludeFn) {\n return slotTranscludeFn(scope, cloneAttachFn, transcludeControllers, futureParentElement, scopeToChild);\n } else if (isUndefined(slotTranscludeFn)) {\n throw $compileMinErr('noslot',\n 'No parent directive that requires a transclusion with slot name \"{0}\". ' +\n 'Element: {1}',\n slotName, startingTag($element));\n }\n } else {\n return boundTranscludeFn(scope, cloneAttachFn, transcludeControllers, futureParentElement, scopeToChild);\n }\n }\n }\n }\n\n function getControllers(directiveName, require, $element, elementControllers) {\n var value;\n\n if (isString(require)) {\n var match = require.match(REQUIRE_PREFIX_REGEXP);\n var name = require.substring(match[0].length);\n var inheritType = match[1] || match[3];\n var optional = match[2] === '?';\n\n //If only parents then start at the parent element\n if (inheritType === '^^') {\n $element = $element.parent();\n //Otherwise attempt getting the controller from elementControllers in case\n //the element is transcluded (and has no data) and to avoid .data if possible\n } else {\n value = elementControllers && elementControllers[name];\n value = value && value.instance;\n }\n\n if (!value) {\n var dataName = '$' + name + 'Controller';\n\n if (inheritType === '^^' && $element[0] && $element[0].nodeType === NODE_TYPE_DOCUMENT) {\n // inheritedData() uses the documentElement when it finds the document, so we would\n // require from the element itself.\n value = null;\n } else {\n value = inheritType ? $element.inheritedData(dataName) : $element.data(dataName);\n }\n }\n\n if (!value && !optional) {\n throw $compileMinErr('ctreq',\n 'Controller \\'{0}\\', required by directive \\'{1}\\', can\\'t be found!',\n name, directiveName);\n }\n } else if (isArray(require)) {\n value = [];\n for (var i = 0, ii = require.length; i < ii; i++) {\n value[i] = getControllers(directiveName, require[i], $element, elementControllers);\n }\n } else if (isObject(require)) {\n value = {};\n forEach(require, function(controller, property) {\n value[property] = getControllers(directiveName, controller, $element, elementControllers);\n });\n }\n\n return value || null;\n }\n\n function setupControllers($element, attrs, transcludeFn, controllerDirectives, isolateScope, scope, newIsolateScopeDirective) {\n var elementControllers = createMap();\n for (var controllerKey in controllerDirectives) {\n var directive = controllerDirectives[controllerKey];\n var locals = {\n $scope: directive === newIsolateScopeDirective || directive.$$isolateScope ? isolateScope : scope,\n $element: $element,\n $attrs: attrs,\n $transclude: transcludeFn\n };\n\n var controller = directive.controller;\n if (controller === '@') {\n controller = attrs[directive.name];\n }\n\n var controllerInstance = $controller(controller, locals, true, directive.controllerAs);\n\n // For directives with element transclusion the element is a comment.\n // In this case .data will not attach any data.\n // Instead, we save the controllers for the element in a local hash and attach to .data\n // later, once we have the actual element.\n elementControllers[directive.name] = controllerInstance;\n $element.data('$' + directive.name + 'Controller', controllerInstance.instance);\n }\n return elementControllers;\n }\n\n // Depending upon the context in which a directive finds itself it might need to have a new isolated\n // or child scope created. For instance:\n // * if the directive has been pulled into a template because another directive with a higher priority\n // asked for element transclusion\n // * if the directive itself asks for transclusion but it is at the root of a template and the original\n // element was replaced. See https://github.com/angular/angular.js/issues/12936\n function markDirectiveScope(directives, isolateScope, newScope) {\n for (var j = 0, jj = directives.length; j < jj; j++) {\n directives[j] = inherit(directives[j], {$$isolateScope: isolateScope, $$newScope: newScope});\n }\n }\n\n /**\n * looks up the directive and decorates it with exception handling and proper parameters. We\n * call this the boundDirective.\n *\n * @param {string} name name of the directive to look up.\n * @param {string} location The directive must be found in specific format.\n * String containing any of theses characters:\n *\n * * `E`: element name\n * * `A': attribute\n * * `C`: class\n * * `M`: comment\n * @returns {boolean} true if directive was added.\n */\n function addDirective(tDirectives, name, location, maxPriority, ignoreDirective, startAttrName,\n endAttrName) {\n if (name === ignoreDirective) return null;\n var match = null;\n if (hasDirectives.hasOwnProperty(name)) {\n for (var directive, directives = $injector.get(name + Suffix),\n i = 0, ii = directives.length; i < ii; i++) {\n directive = directives[i];\n if ((isUndefined(maxPriority) || maxPriority > directive.priority) &&\n directive.restrict.indexOf(location) !== -1) {\n if (startAttrName) {\n directive = inherit(directive, {$$start: startAttrName, $$end: endAttrName});\n }\n if (!directive.$$bindings) {\n var bindings = directive.$$bindings =\n parseDirectiveBindings(directive, directive.name);\n if (isObject(bindings.isolateScope)) {\n directive.$$isolateBindings = bindings.isolateScope;\n }\n }\n tDirectives.push(directive);\n match = directive;\n }\n }\n }\n return match;\n }\n\n\n /**\n * looks up the directive and returns true if it is a multi-element directive,\n * and therefore requires DOM nodes between -start and -end markers to be grouped\n * together.\n *\n * @param {string} name name of the directive to look up.\n * @returns true if directive was registered as multi-element.\n */\n function directiveIsMultiElement(name) {\n if (hasDirectives.hasOwnProperty(name)) {\n for (var directive, directives = $injector.get(name + Suffix),\n i = 0, ii = directives.length; i < ii; i++) {\n directive = directives[i];\n if (directive.multiElement) {\n return true;\n }\n }\n }\n return false;\n }\n\n /**\n * When the element is replaced with HTML template then the new attributes\n * on the template need to be merged with the existing attributes in the DOM.\n * The desired effect is to have both of the attributes present.\n *\n * @param {object} dst destination attributes (original DOM)\n * @param {object} src source attributes (from the directive template)\n */\n function mergeTemplateAttributes(dst, src) {\n var srcAttr = src.$attr,\n dstAttr = dst.$attr;\n\n // reapply the old attributes to the new element\n forEach(dst, function(value, key) {\n if (key.charAt(0) !== '$') {\n if (src[key] && src[key] !== value) {\n if (value.length) {\n value += (key === 'style' ? ';' : ' ') + src[key];\n } else {\n value = src[key];\n }\n }\n dst.$set(key, value, true, srcAttr[key]);\n }\n });\n\n // copy the new attributes on the old attrs object\n forEach(src, function(value, key) {\n // Check if we already set this attribute in the loop above.\n // `dst` will never contain hasOwnProperty as DOM parser won't let it.\n // You will get an \"InvalidCharacterError: DOM Exception 5\" error if you\n // have an attribute like \"has-own-property\" or \"data-has-own-property\", etc.\n if (!dst.hasOwnProperty(key) && key.charAt(0) !== '$') {\n dst[key] = value;\n\n if (key !== 'class' && key !== 'style') {\n dstAttr[key] = srcAttr[key];\n }\n }\n });\n }\n\n\n function compileTemplateUrl(directives, $compileNode, tAttrs,\n $rootElement, childTranscludeFn, preLinkFns, postLinkFns, previousCompileContext) {\n var linkQueue = [],\n afterTemplateNodeLinkFn,\n afterTemplateChildLinkFn,\n beforeTemplateCompileNode = $compileNode[0],\n origAsyncDirective = directives.shift(),\n derivedSyncDirective = inherit(origAsyncDirective, {\n templateUrl: null, transclude: null, replace: null, $$originalDirective: origAsyncDirective\n }),\n templateUrl = (isFunction(origAsyncDirective.templateUrl))\n ? origAsyncDirective.templateUrl($compileNode, tAttrs)\n : origAsyncDirective.templateUrl,\n templateNamespace = origAsyncDirective.templateNamespace;\n\n $compileNode.empty();\n\n $templateRequest(templateUrl)\n .then(function(content) {\n var compileNode, tempTemplateAttrs, $template, childBoundTranscludeFn;\n\n content = denormalizeTemplate(content);\n\n if (origAsyncDirective.replace) {\n if (jqLiteIsTextNode(content)) {\n $template = [];\n } else {\n $template = removeComments(wrapTemplate(templateNamespace, trim(content)));\n }\n compileNode = $template[0];\n\n if ($template.length !== 1 || compileNode.nodeType !== NODE_TYPE_ELEMENT) {\n throw $compileMinErr('tplrt',\n 'Template for directive \\'{0}\\' must have exactly one root element. {1}',\n origAsyncDirective.name, templateUrl);\n }\n\n tempTemplateAttrs = {$attr: {}};\n replaceWith($rootElement, $compileNode, compileNode);\n var templateDirectives = collectDirectives(compileNode, [], tempTemplateAttrs);\n\n if (isObject(origAsyncDirective.scope)) {\n // the original directive that caused the template to be loaded async required\n // an isolate scope\n markDirectiveScope(templateDirectives, true);\n }\n directives = templateDirectives.concat(directives);\n mergeTemplateAttributes(tAttrs, tempTemplateAttrs);\n } else {\n compileNode = beforeTemplateCompileNode;\n $compileNode.html(content);\n }\n\n directives.unshift(derivedSyncDirective);\n\n afterTemplateNodeLinkFn = applyDirectivesToNode(directives, compileNode, tAttrs,\n childTranscludeFn, $compileNode, origAsyncDirective, preLinkFns, postLinkFns,\n previousCompileContext);\n forEach($rootElement, function(node, i) {\n if (node === compileNode) {\n $rootElement[i] = $compileNode[0];\n }\n });\n afterTemplateChildLinkFn = compileNodes($compileNode[0].childNodes, childTranscludeFn);\n\n while (linkQueue.length) {\n var scope = linkQueue.shift(),\n beforeTemplateLinkNode = linkQueue.shift(),\n linkRootElement = linkQueue.shift(),\n boundTranscludeFn = linkQueue.shift(),\n linkNode = $compileNode[0];\n\n if (scope.$$destroyed) continue;\n\n if (beforeTemplateLinkNode !== beforeTemplateCompileNode) {\n var oldClasses = beforeTemplateLinkNode.className;\n\n if (!(previousCompileContext.hasElementTranscludeDirective &&\n origAsyncDirective.replace)) {\n // it was cloned therefore we have to clone as well.\n linkNode = jqLiteClone(compileNode);\n }\n replaceWith(linkRootElement, jqLite(beforeTemplateLinkNode), linkNode);\n\n // Copy in CSS classes from original node\n safeAddClass(jqLite(linkNode), oldClasses);\n }\n if (afterTemplateNodeLinkFn.transcludeOnThisElement) {\n childBoundTranscludeFn = createBoundTranscludeFn(scope, afterTemplateNodeLinkFn.transclude, boundTranscludeFn);\n } else {\n childBoundTranscludeFn = boundTranscludeFn;\n }\n afterTemplateNodeLinkFn(afterTemplateChildLinkFn, scope, linkNode, $rootElement,\n childBoundTranscludeFn);\n }\n linkQueue = null;\n }).catch(function(error) {\n if (isError(error)) {\n $exceptionHandler(error);\n }\n });\n\n return function delayedNodeLinkFn(ignoreChildLinkFn, scope, node, rootElement, boundTranscludeFn) {\n var childBoundTranscludeFn = boundTranscludeFn;\n if (scope.$$destroyed) return;\n if (linkQueue) {\n linkQueue.push(scope,\n node,\n rootElement,\n childBoundTranscludeFn);\n } else {\n if (afterTemplateNodeLinkFn.transcludeOnThisElement) {\n childBoundTranscludeFn = createBoundTranscludeFn(scope, afterTemplateNodeLinkFn.transclude, boundTranscludeFn);\n }\n afterTemplateNodeLinkFn(afterTemplateChildLinkFn, scope, node, rootElement, childBoundTranscludeFn);\n }\n };\n }\n\n\n /**\n * Sorting function for bound directives.\n */\n function byPriority(a, b) {\n var diff = b.priority - a.priority;\n if (diff !== 0) return diff;\n if (a.name !== b.name) return (a.name < b.name) ? -1 : 1;\n return a.index - b.index;\n }\n\n function assertNoDuplicate(what, previousDirective, directive, element) {\n\n function wrapModuleNameIfDefined(moduleName) {\n return moduleName ?\n (' (module: ' + moduleName + ')') :\n '';\n }\n\n if (previousDirective) {\n throw $compileMinErr('multidir', 'Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}',\n previousDirective.name, wrapModuleNameIfDefined(previousDirective.$$moduleName),\n directive.name, wrapModuleNameIfDefined(directive.$$moduleName), what, startingTag(element));\n }\n }\n\n\n function addTextInterpolateDirective(directives, text) {\n var interpolateFn = $interpolate(text, true);\n if (interpolateFn) {\n directives.push({\n priority: 0,\n compile: function textInterpolateCompileFn(templateNode) {\n var templateNodeParent = templateNode.parent(),\n hasCompileParent = !!templateNodeParent.length;\n\n // When transcluding a template that has bindings in the root\n // we don't have a parent and thus need to add the class during linking fn.\n if (hasCompileParent) compile.$$addBindingClass(templateNodeParent);\n\n return function textInterpolateLinkFn(scope, node) {\n var parent = node.parent();\n if (!hasCompileParent) compile.$$addBindingClass(parent);\n compile.$$addBindingInfo(parent, interpolateFn.expressions);\n scope.$watch(interpolateFn, function interpolateFnWatchAction(value) {\n node[0].nodeValue = value;\n });\n };\n }\n });\n }\n }\n\n\n function wrapTemplate(type, template) {\n type = lowercase(type || 'html');\n switch (type) {\n case 'svg':\n case 'math':\n var wrapper = window.document.createElement('div');\n wrapper.innerHTML = '<' + type + '>' + template + '</' + type + '>';\n return wrapper.childNodes[0].childNodes;\n default:\n return template;\n }\n }\n\n\n function getTrustedAttrContext(nodeName, attrNormalizedName) {\n if (attrNormalizedName === 'srcdoc') {\n return $sce.HTML;\n }\n // All nodes with src attributes require a RESOURCE_URL value, except for\n // img and various html5 media nodes, which require the MEDIA_URL context.\n if (attrNormalizedName === 'src' || attrNormalizedName === 'ngSrc') {\n if (['img', 'video', 'audio', 'source', 'track'].indexOf(nodeName) === -1) {\n return $sce.RESOURCE_URL;\n }\n return $sce.MEDIA_URL;\n } else if (attrNormalizedName === 'xlinkHref') {\n // Some xlink:href are okay, most aren't\n if (nodeName === 'image') return $sce.MEDIA_URL;\n if (nodeName === 'a') return $sce.URL;\n return $sce.RESOURCE_URL;\n } else if (\n // Formaction\n (nodeName === 'form' && attrNormalizedName === 'action') ||\n // If relative URLs can go where they are not expected to, then\n // all sorts of trust issues can arise.\n (nodeName === 'base' && attrNormalizedName === 'href') ||\n // links can be stylesheets or imports, which can run script in the current origin\n (nodeName === 'link' && attrNormalizedName === 'href')\n ) {\n return $sce.RESOURCE_URL;\n } else if (nodeName === 'a' && (attrNormalizedName === 'href' ||\n attrNormalizedName === 'ngHref')) {\n return $sce.URL;\n }\n }\n\n function getTrustedPropContext(nodeName, propNormalizedName) {\n var prop = propNormalizedName.toLowerCase();\n return PROP_CONTEXTS[nodeName + '|' + prop] || PROP_CONTEXTS['*|' + prop];\n }\n\n function sanitizeSrcsetPropertyValue(value) {\n return sanitizeSrcset($sce.valueOf(value), 'ng-prop-srcset');\n }\n function addPropertyDirective(node, directives, attrName, propName) {\n if (EVENT_HANDLER_ATTR_REGEXP.test(propName)) {\n throw $compileMinErr('nodomevents', 'Property bindings for HTML DOM event properties are disallowed');\n }\n\n var nodeName = nodeName_(node);\n var trustedContext = getTrustedPropContext(nodeName, propName);\n\n var sanitizer = identity;\n // Sanitize img[srcset] + source[srcset] values.\n if (propName === 'srcset' && (nodeName === 'img' || nodeName === 'source')) {\n sanitizer = sanitizeSrcsetPropertyValue;\n } else if (trustedContext) {\n sanitizer = $sce.getTrusted.bind($sce, trustedContext);\n }\n\n directives.push({\n priority: 100,\n compile: function ngPropCompileFn(_, attr) {\n var ngPropGetter = $parse(attr[attrName]);\n var ngPropWatch = $parse(attr[attrName], function sceValueOf(val) {\n // Unwrap the value to compare the actual inner safe value, not the wrapper object.\n return $sce.valueOf(val);\n });\n\n return {\n pre: function ngPropPreLinkFn(scope, $element) {\n function applyPropValue() {\n var propValue = ngPropGetter(scope);\n $element[0][propName] = sanitizer(propValue);\n }\n\n applyPropValue();\n scope.$watch(ngPropWatch, applyPropValue);\n }\n };\n }\n });\n }\n\n function addEventDirective(directives, attrName, eventName) {\n directives.push(\n createEventDirective($parse, $rootScope, $exceptionHandler, attrName, eventName, /*forceAsync=*/false)\n );\n }\n\n function addAttrInterpolateDirective(node, directives, value, name, isNgAttr) {\n var nodeName = nodeName_(node);\n var trustedContext = getTrustedAttrContext(nodeName, name);\n var mustHaveExpression = !isNgAttr;\n var allOrNothing = ALL_OR_NOTHING_ATTRS[name] || isNgAttr;\n\n var interpolateFn = $interpolate(value, mustHaveExpression, trustedContext, allOrNothing);\n\n // no interpolation found -> ignore\n if (!interpolateFn) return;\n\n if (name === 'multiple' && nodeName === 'select') {\n throw $compileMinErr('selmulti',\n 'Binding to the \\'multiple\\' attribute is not supported. Element: {0}',\n startingTag(node));\n }\n\n if (EVENT_HANDLER_ATTR_REGEXP.test(name)) {\n throw $compileMinErr('nodomevents', 'Interpolations for HTML DOM event attributes are disallowed');\n }\n\n directives.push({\n priority: 100,\n compile: function() {\n return {\n pre: function attrInterpolatePreLinkFn(scope, element, attr) {\n var $$observers = (attr.$$observers || (attr.$$observers = createMap()));\n\n // If the attribute has changed since last $interpolate()ed\n var newValue = attr[name];\n if (newValue !== value) {\n // we need to interpolate again since the attribute value has been updated\n // (e.g. by another directive's compile function)\n // ensure unset/empty values make interpolateFn falsy\n interpolateFn = newValue && $interpolate(newValue, true, trustedContext, allOrNothing);\n value = newValue;\n }\n\n // if attribute was updated so that there is no interpolation going on we don't want to\n // register any observers\n if (!interpolateFn) return;\n\n // initialize attr object so that it's ready in case we need the value for isolate\n // scope initialization, otherwise the value would not be available from isolate\n // directive's linking fn during linking phase\n attr[name] = interpolateFn(scope);\n\n ($$observers[name] || ($$observers[name] = [])).$$inter = true;\n (attr.$$observers && attr.$$observers[name].$$scope || scope).\n $watch(interpolateFn, function interpolateFnWatchAction(newValue, oldValue) {\n //special case for class attribute addition + removal\n //so that class changes can tap into the animation\n //hooks provided by the $animate service. Be sure to\n //skip animations when the first digest occurs (when\n //both the new and the old values are the same) since\n //the CSS classes are the non-interpolated values\n if (name === 'class' && newValue !== oldValue) {\n attr.$updateClass(newValue, oldValue);\n } else {\n attr.$set(name, newValue);\n }\n });\n }\n };\n }\n });\n }\n\n\n /**\n * This is a special jqLite.replaceWith, which can replace items which\n * have no parents, provided that the containing jqLite collection is provided.\n *\n * @param {JqLite=} $rootElement The root of the compile tree. Used so that we can replace nodes\n * in the root of the tree.\n * @param {JqLite} elementsToRemove The jqLite element which we are going to replace. We keep\n * the shell, but replace its DOM node reference.\n * @param {Node} newNode The new DOM node.\n */\n function replaceWith($rootElement, elementsToRemove, newNode) {\n var firstElementToRemove = elementsToRemove[0],\n removeCount = elementsToRemove.length,\n parent = firstElementToRemove.parentNode,\n i, ii;\n\n if ($rootElement) {\n for (i = 0, ii = $rootElement.length; i < ii; i++) {\n if ($rootElement[i] === firstElementToRemove) {\n $rootElement[i++] = newNode;\n for (var j = i, j2 = j + removeCount - 1,\n jj = $rootElement.length;\n j < jj; j++, j2++) {\n if (j2 < jj) {\n $rootElement[j] = $rootElement[j2];\n } else {\n delete $rootElement[j];\n }\n }\n $rootElement.length -= removeCount - 1;\n\n // If the replaced element is also the jQuery .context then replace it\n // .context is a deprecated jQuery api, so we should set it only when jQuery set it\n // http://api.jquery.com/context/\n if ($rootElement.context === firstElementToRemove) {\n $rootElement.context = newNode;\n }\n break;\n }\n }\n }\n\n if (parent) {\n parent.replaceChild(newNode, firstElementToRemove);\n }\n\n // Append all the `elementsToRemove` to a fragment. This will...\n // - remove them from the DOM\n // - allow them to still be traversed with .nextSibling\n // - allow a single fragment.qSA to fetch all elements being removed\n var fragment = window.document.createDocumentFragment();\n for (i = 0; i < removeCount; i++) {\n fragment.appendChild(elementsToRemove[i]);\n }\n\n if (jqLite.hasData(firstElementToRemove)) {\n // Copy over user data (that includes AngularJS's $scope etc.). Don't copy private\n // data here because there's no public interface in jQuery to do that and copying over\n // event listeners (which is the main use of private data) wouldn't work anyway.\n jqLite.data(newNode, jqLite.data(firstElementToRemove));\n\n // Remove $destroy event listeners from `firstElementToRemove`\n jqLite(firstElementToRemove).off('$destroy');\n }\n\n // Cleanup any data/listeners on the elements and children.\n // This includes invoking the $destroy event on any elements with listeners.\n jqLite.cleanData(fragment.querySelectorAll('*'));\n\n // Update the jqLite collection to only contain the `newNode`\n for (i = 1; i < removeCount; i++) {\n delete elementsToRemove[i];\n }\n elementsToRemove[0] = newNode;\n elementsToRemove.length = 1;\n }\n\n\n function cloneAndAnnotateFn(fn, annotation) {\n return extend(function() { return fn.apply(null, arguments); }, fn, annotation);\n }\n\n\n function invokeLinkFn(linkFn, scope, $element, attrs, controllers, transcludeFn) {\n try {\n linkFn(scope, $element, attrs, controllers, transcludeFn);\n } catch (e) {\n $exceptionHandler(e, startingTag($element));\n }\n }\n\n function strictBindingsCheck(attrName, directiveName) {\n if (strictComponentBindingsEnabled) {\n throw $compileMinErr('missingattr',\n 'Attribute \\'{0}\\' of \\'{1}\\' is non-optional and must be set!',\n attrName, directiveName);\n }\n }\n\n // Set up $watches for isolate scope and controller bindings.\n function initializeDirectiveBindings(scope, attrs, destination, bindings, directive) {\n var removeWatchCollection = [];\n var initialChanges = {};\n var changes;\n\n forEach(bindings, function initializeBinding(definition, scopeName) {\n var attrName = definition.attrName,\n optional = definition.optional,\n mode = definition.mode, // @, =, <, or &\n lastValue,\n parentGet, parentSet, compare, removeWatch;\n\n switch (mode) {\n\n case '@':\n if (!optional && !hasOwnProperty.call(attrs, attrName)) {\n strictBindingsCheck(attrName, directive.name);\n destination[scopeName] = attrs[attrName] = undefined;\n\n }\n removeWatch = attrs.$observe(attrName, function(value) {\n if (isString(value) || isBoolean(value)) {\n var oldValue = destination[scopeName];\n recordChanges(scopeName, value, oldValue);\n destination[scopeName] = value;\n }\n });\n attrs.$$observers[attrName].$$scope = scope;\n lastValue = attrs[attrName];\n if (isString(lastValue)) {\n // If the attribute has been provided then we trigger an interpolation to ensure\n // the value is there for use in the link fn\n destination[scopeName] = $interpolate(lastValue)(scope);\n } else if (isBoolean(lastValue)) {\n // If the attributes is one of the BOOLEAN_ATTR then AngularJS will have converted\n // the value to boolean rather than a string, so we special case this situation\n destination[scopeName] = lastValue;\n }\n initialChanges[scopeName] = new SimpleChange(_UNINITIALIZED_VALUE, destination[scopeName]);\n removeWatchCollection.push(removeWatch);\n break;\n\n case '=':\n if (!hasOwnProperty.call(attrs, attrName)) {\n if (optional) break;\n strictBindingsCheck(attrName, directive.name);\n attrs[attrName] = undefined;\n }\n if (optional && !attrs[attrName]) break;\n\n parentGet = $parse(attrs[attrName]);\n if (parentGet.literal) {\n compare = equals;\n } else {\n compare = simpleCompare;\n }\n parentSet = parentGet.assign || function() {\n // reset the change, or we will throw this exception on every $digest\n lastValue = destination[scopeName] = parentGet(scope);\n throw $compileMinErr('nonassign',\n 'Expression \\'{0}\\' in attribute \\'{1}\\' used with directive \\'{2}\\' is non-assignable!',\n attrs[attrName], attrName, directive.name);\n };\n lastValue = destination[scopeName] = parentGet(scope);\n var parentValueWatch = function parentValueWatch(parentValue) {\n if (!compare(parentValue, destination[scopeName])) {\n // we are out of sync and need to copy\n if (!compare(parentValue, lastValue)) {\n // parent changed and it has precedence\n destination[scopeName] = parentValue;\n } else {\n // if the parent can be assigned then do so\n parentSet(scope, parentValue = destination[scopeName]);\n }\n }\n lastValue = parentValue;\n return lastValue;\n };\n parentValueWatch.$stateful = true;\n if (definition.collection) {\n removeWatch = scope.$watchCollection(attrs[attrName], parentValueWatch);\n } else {\n removeWatch = scope.$watch($parse(attrs[attrName], parentValueWatch), null, parentGet.literal);\n }\n removeWatchCollection.push(removeWatch);\n break;\n\n case '<':\n if (!hasOwnProperty.call(attrs, attrName)) {\n if (optional) break;\n strictBindingsCheck(attrName, directive.name);\n attrs[attrName] = undefined;\n }\n if (optional && !attrs[attrName]) break;\n\n parentGet = $parse(attrs[attrName]);\n var isLiteral = parentGet.literal;\n\n var initialValue = destination[scopeName] = parentGet(scope);\n initialChanges[scopeName] = new SimpleChange(_UNINITIALIZED_VALUE, destination[scopeName]);\n\n removeWatch = scope[definition.collection ? '$watchCollection' : '$watch'](parentGet, function parentValueWatchAction(newValue, oldValue) {\n if (oldValue === newValue) {\n if (oldValue === initialValue || (isLiteral && equals(oldValue, initialValue))) {\n return;\n }\n oldValue = initialValue;\n }\n recordChanges(scopeName, newValue, oldValue);\n destination[scopeName] = newValue;\n });\n\n removeWatchCollection.push(removeWatch);\n break;\n\n case '&':\n if (!optional && !hasOwnProperty.call(attrs, attrName)) {\n strictBindingsCheck(attrName, directive.name);\n }\n // Don't assign Object.prototype method to scope\n parentGet = attrs.hasOwnProperty(attrName) ? $parse(attrs[attrName]) : noop;\n\n // Don't assign noop to destination if expression is not valid\n if (parentGet === noop && optional) break;\n\n destination[scopeName] = function(locals) {\n return parentGet(scope, locals);\n };\n break;\n }\n });\n\n function recordChanges(key, currentValue, previousValue) {\n if (isFunction(destination.$onChanges) && !simpleCompare(currentValue, previousValue)) {\n // If we have not already scheduled the top level onChangesQueue handler then do so now\n if (!onChangesQueue) {\n scope.$$postDigest(flushOnChangesQueue);\n onChangesQueue = [];\n }\n // If we have not already queued a trigger of onChanges for this controller then do so now\n if (!changes) {\n changes = {};\n onChangesQueue.push(triggerOnChangesHook);\n }\n // If the has been a change on this property already then we need to reuse the previous value\n if (changes[key]) {\n previousValue = changes[key].previousValue;\n }\n // Store this change\n changes[key] = new SimpleChange(previousValue, currentValue);\n }\n }\n\n function triggerOnChangesHook() {\n destination.$onChanges(changes);\n // Now clear the changes so that we schedule onChanges when more changes arrive\n changes = undefined;\n }\n\n return {\n initialChanges: initialChanges,\n removeWatches: removeWatchCollection.length && function removeWatches() {\n for (var i = 0, ii = removeWatchCollection.length; i < ii; ++i) {\n removeWatchCollection[i]();\n }\n }\n };\n }\n }];\n}\n\nfunction SimpleChange(previous, current) {\n this.previousValue = previous;\n this.currentValue = current;\n}\nSimpleChange.prototype.isFirstChange = function() { return this.previousValue === _UNINITIALIZED_VALUE; };\n\n\nvar PREFIX_REGEXP = /^((?:x|data)[:\\-_])/i;\nvar SPECIAL_CHARS_REGEXP = /[:\\-_]+(.)/g;\n\n/**\n * Converts all accepted directives format into proper directive name.\n * @param name Name to normalize\n */\nfunction directiveNormalize(name) {\n return name\n .replace(PREFIX_REGEXP, '')\n .replace(SPECIAL_CHARS_REGEXP, function(_, letter, offset) {\n return offset ? letter.toUpperCase() : letter;\n });\n}\n\n/**\n * @ngdoc type\n * @name $compile.directive.Attributes\n *\n * @description\n * A shared object between directive compile / linking functions which contains normalized DOM\n * element attributes. The values reflect current binding state `{{ }}`. The normalization is\n * needed since all of these are treated as equivalent in AngularJS:\n *\n * ```\n * <span ng:bind=\"a\" ng-bind=\"a\" data-ng-bind=\"a\" x-ng-bind=\"a\">\n * ```\n */\n\n/**\n * @ngdoc property\n * @name $compile.directive.Attributes#$attr\n *\n * @description\n * A map of DOM element attribute names to the normalized name. This is\n * needed to do reverse lookup from normalized name back to actual name.\n */\n\n\n/**\n * @ngdoc method\n * @name $compile.directive.Attributes#$set\n * @kind function\n *\n * @description\n * Set DOM element attribute value.\n *\n *\n * @param {string} name Normalized element attribute name of the property to modify. The name is\n * reverse-translated using the {@link ng.$compile.directive.Attributes#$attr $attr}\n * property to the original name.\n * @param {string} value Value to set the attribute to. The value can be an interpolated string.\n */\n\n\n\n/**\n * Closure compiler type information\n */\n\nfunction nodesetLinkingFn(\n /* angular.Scope */ scope,\n /* NodeList */ nodeList,\n /* Element */ rootElement,\n /* function(Function) */ boundTranscludeFn\n) {}\n\nfunction directiveLinkingFn(\n /* nodesetLinkingFn */ nodesetLinkingFn,\n /* angular.Scope */ scope,\n /* Node */ node,\n /* Element */ rootElement,\n /* function(Function) */ boundTranscludeFn\n) {}\n\nfunction tokenDifference(str1, str2) {\n var values = '',\n tokens1 = str1.split(/\\s+/),\n tokens2 = str2.split(/\\s+/);\n\n outer:\n for (var i = 0; i < tokens1.length; i++) {\n var token = tokens1[i];\n for (var j = 0; j < tokens2.length; j++) {\n if (token === tokens2[j]) continue outer;\n }\n values += (values.length > 0 ? ' ' : '') + token;\n }\n return values;\n}\n\nfunction removeComments(jqNodes) {\n jqNodes = jqLite(jqNodes);\n var i = jqNodes.length;\n\n if (i <= 1) {\n return jqNodes;\n }\n\n while (i--) {\n var node = jqNodes[i];\n if (node.nodeType === NODE_TYPE_COMMENT ||\n (node.nodeType === NODE_TYPE_TEXT && node.nodeValue.trim() === '')) {\n splice.call(jqNodes, i, 1);\n }\n }\n return jqNodes;\n}\n\nvar $controllerMinErr = minErr('$controller');\n\n\nvar CNTRL_REG = /^(\\S+)(\\s+as\\s+([\\w$]+))?$/;\nfunction identifierForController(controller, ident) {\n if (ident && isString(ident)) return ident;\n if (isString(controller)) {\n var match = CNTRL_REG.exec(controller);\n if (match) return match[3];\n }\n}\n\n\n/**\n * @ngdoc provider\n * @name $controllerProvider\n * @this\n *\n * @description\n * The {@link ng.$controller $controller service} is used by AngularJS to create new\n * controllers.\n *\n * This provider allows controller registration via the\n * {@link ng.$controllerProvider#register register} method.\n */\nfunction $ControllerProvider() {\n var controllers = {};\n\n /**\n * @ngdoc method\n * @name $controllerProvider#has\n * @param {string} name Controller name to check.\n */\n this.has = function(name) {\n return controllers.hasOwnProperty(name);\n };\n\n /**\n * @ngdoc method\n * @name $controllerProvider#register\n * @param {string|Object} name Controller name, or an object map of controllers where the keys are\n * the names and the values are the constructors.\n * @param {Function|Array} constructor Controller constructor fn (optionally decorated with DI\n * annotations in the array notation).\n */\n this.register = function(name, constructor) {\n assertNotHasOwnProperty(name, 'controller');\n if (isObject(name)) {\n extend(controllers, name);\n } else {\n controllers[name] = constructor;\n }\n };\n\n this.$get = ['$injector', function($injector) {\n\n /**\n * @ngdoc service\n * @name $controller\n * @requires $injector\n *\n * @param {Function|string} constructor If called with a function then it's considered to be the\n * controller constructor function. Otherwise it's considered to be a string which is used\n * to retrieve the controller constructor using the following steps:\n *\n * * check if a controller with given name is registered via `$controllerProvider`\n * * check if evaluating the string on the current scope returns a constructor\n *\n * The string can use the `controller as property` syntax, where the controller instance is published\n * as the specified property on the `scope`; the `scope` must be injected into `locals` param for this\n * to work correctly.\n *\n * @param {Object} locals Injection locals for Controller.\n * @return {Object} Instance of given controller.\n *\n * @description\n * `$controller` service is responsible for instantiating controllers.\n *\n * It's just a simple call to {@link auto.$injector $injector}, but extracted into\n * a service, so that one can override this service with [BC version](https://gist.github.com/1649788).\n */\n return function $controller(expression, locals, later, ident) {\n // PRIVATE API:\n // param `later` --- indicates that the controller's constructor is invoked at a later time.\n // If true, $controller will allocate the object with the correct\n // prototype chain, but will not invoke the controller until a returned\n // callback is invoked.\n // param `ident` --- An optional label which overrides the label parsed from the controller\n // expression, if any.\n var instance, match, constructor, identifier;\n later = later === true;\n if (ident && isString(ident)) {\n identifier = ident;\n }\n\n if (isString(expression)) {\n match = expression.match(CNTRL_REG);\n if (!match) {\n throw $controllerMinErr('ctrlfmt',\n 'Badly formed controller string \\'{0}\\'. ' +\n 'Must match `__name__ as __id__` or `__name__`.', expression);\n }\n constructor = match[1];\n identifier = identifier || match[3];\n expression = controllers.hasOwnProperty(constructor)\n ? controllers[constructor]\n : getter(locals.$scope, constructor, true);\n\n if (!expression) {\n throw $controllerMinErr('ctrlreg',\n 'The controller with the name \\'{0}\\' is not registered.', constructor);\n }\n\n assertArgFn(expression, constructor, true);\n }\n\n if (later) {\n // Instantiate controller later:\n // This machinery is used to create an instance of the object before calling the\n // controller's constructor itself.\n //\n // This allows properties to be added to the controller before the constructor is\n // invoked. Primarily, this is used for isolate scope bindings in $compile.\n //\n // This feature is not intended for use by applications, and is thus not documented\n // publicly.\n // Object creation: http://jsperf.com/create-constructor/2\n var controllerPrototype = (isArray(expression) ?\n expression[expression.length - 1] : expression).prototype;\n instance = Object.create(controllerPrototype || null);\n\n if (identifier) {\n addIdentifier(locals, identifier, instance, constructor || expression.name);\n }\n\n return extend(function $controllerInit() {\n var result = $injector.invoke(expression, instance, locals, constructor);\n if (result !== instance && (isObject(result) || isFunction(result))) {\n instance = result;\n if (identifier) {\n // If result changed, re-assign controllerAs value to scope.\n addIdentifier(locals, identifier, instance, constructor || expression.name);\n }\n }\n return instance;\n }, {\n instance: instance,\n identifier: identifier\n });\n }\n\n instance = $injector.instantiate(expression, locals, constructor);\n\n if (identifier) {\n addIdentifier(locals, identifier, instance, constructor || expression.name);\n }\n\n return instance;\n };\n\n function addIdentifier(locals, identifier, instance, name) {\n if (!(locals && isObject(locals.$scope))) {\n throw minErr('$controller')('noscp',\n 'Cannot export controller \\'{0}\\' as \\'{1}\\'! No $scope object provided via `locals`.',\n name, identifier);\n }\n\n locals.$scope[identifier] = instance;\n }\n }];\n}\n\n/**\n * @ngdoc service\n * @name $document\n * @requires $window\n * @this\n *\n * @description\n * A {@link angular.element jQuery or jqLite} wrapper for the browser's `window.document` object.\n *\n * @example\n <example module=\"documentExample\" name=\"document\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n <p>$document title: <b ng-bind=\"title\"></b></p>\n <p>window.document title: <b ng-bind=\"windowTitle\"></b></p>\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('documentExample', [])\n .controller('ExampleController', ['$scope', '$document', function($scope, $document) {\n $scope.title = $document[0].title;\n $scope.windowTitle = angular.element(window.document)[0].title;\n }]);\n </file>\n </example>\n */\nfunction $DocumentProvider() {\n this.$get = ['$window', function(window) {\n return jqLite(window.document);\n }];\n}\n\n\n/**\n * @private\n * @this\n * Listens for document visibility change and makes the current status accessible.\n */\nfunction $$IsDocumentHiddenProvider() {\n this.$get = ['$document', '$rootScope', function($document, $rootScope) {\n var doc = $document[0];\n var hidden = doc && doc.hidden;\n\n $document.on('visibilitychange', changeListener);\n\n $rootScope.$on('$destroy', function() {\n $document.off('visibilitychange', changeListener);\n });\n\n function changeListener() {\n hidden = doc.hidden;\n }\n\n return function() {\n return hidden;\n };\n }];\n}\n\n/**\n * @ngdoc service\n * @name $exceptionHandler\n * @requires ng.$log\n * @this\n *\n * @description\n * Any uncaught exception in AngularJS expressions is delegated to this service.\n * The default implementation simply delegates to `$log.error` which logs it into\n * the browser console.\n *\n * In unit tests, if `angular-mocks.js` is loaded, this service is overridden by\n * {@link ngMock.$exceptionHandler mock $exceptionHandler} which aids in testing.\n *\n * ## Example:\n *\n * The example below will overwrite the default `$exceptionHandler` in order to (a) log uncaught\n * errors to the backend for later inspection by the developers and (b) to use `$log.warn()` instead\n * of `$log.error()`.\n *\n * ```js\n * angular.\n * module('exceptionOverwrite', []).\n * factory('$exceptionHandler', ['$log', 'logErrorsToBackend', function($log, logErrorsToBackend) {\n * return function myExceptionHandler(exception, cause) {\n * logErrorsToBackend(exception, cause);\n * $log.warn(exception, cause);\n * };\n * }]);\n * ```\n *\n * <hr />\n * Note, that code executed in event-listeners (even those registered using jqLite's `on`/`bind`\n * methods) does not delegate exceptions to the {@link ng.$exceptionHandler $exceptionHandler}\n * (unless executed during a digest).\n *\n * If you wish, you can manually delegate exceptions, e.g.\n * `try { ... } catch(e) { $exceptionHandler(e); }`\n *\n * @param {Error} exception Exception associated with the error.\n * @param {string=} cause Optional information about the context in which\n * the error was thrown.\n *\n */\nfunction $ExceptionHandlerProvider() {\n this.$get = ['$log', function($log) {\n return function(exception, cause) {\n $log.error.apply($log, arguments);\n };\n }];\n}\n\nvar $$ForceReflowProvider = /** @this */ function() {\n this.$get = ['$document', function($document) {\n return function(domNode) {\n //the line below will force the browser to perform a repaint so\n //that all the animated elements within the animation frame will\n //be properly updated and drawn on screen. This is required to\n //ensure that the preparation animation is properly flushed so that\n //the active state picks up from there. DO NOT REMOVE THIS LINE.\n //DO NOT OPTIMIZE THIS LINE. THE MINIFIER WILL REMOVE IT OTHERWISE WHICH\n //WILL RESULT IN AN UNPREDICTABLE BUG THAT IS VERY HARD TO TRACK DOWN AND\n //WILL TAKE YEARS AWAY FROM YOUR LIFE.\n if (domNode) {\n if (!domNode.nodeType && domNode instanceof jqLite) {\n domNode = domNode[0];\n }\n } else {\n domNode = $document[0].body;\n }\n return domNode.offsetWidth + 1;\n };\n }];\n};\n\nvar APPLICATION_JSON = 'application/json';\nvar CONTENT_TYPE_APPLICATION_JSON = {'Content-Type': APPLICATION_JSON + ';charset=utf-8'};\nvar JSON_START = /^\\[|^\\{(?!\\{)/;\nvar JSON_ENDS = {\n '[': /]$/,\n '{': /}$/\n};\nvar JSON_PROTECTION_PREFIX = /^\\)]\\}',?\\n/;\nvar $httpMinErr = minErr('$http');\n\nfunction serializeValue(v) {\n if (isObject(v)) {\n return isDate(v) ? v.toISOString() : toJson(v);\n }\n return v;\n}\n\n\n/** @this */\nfunction $HttpParamSerializerProvider() {\n /**\n * @ngdoc service\n * @name $httpParamSerializer\n * @description\n *\n * Default {@link $http `$http`} params serializer that converts objects to strings\n * according to the following rules:\n *\n * * `{'foo': 'bar'}` results in `foo=bar`\n * * `{'foo': Date.now()}` results in `foo=2015-04-01T09%3A50%3A49.262Z` (`toISOString()` and encoded representation of a Date object)\n * * `{'foo': ['bar', 'baz']}` results in `foo=bar&foo=baz` (repeated key for each array element)\n * * `{'foo': {'bar':'baz'}}` results in `foo=%7B%22bar%22%3A%22baz%22%7D` (stringified and encoded representation of an object)\n *\n * Note that serializer will sort the request parameters alphabetically.\n */\n\n this.$get = function() {\n return function ngParamSerializer(params) {\n if (!params) return '';\n var parts = [];\n forEachSorted(params, function(value, key) {\n if (value === null || isUndefined(value) || isFunction(value)) return;\n if (isArray(value)) {\n forEach(value, function(v) {\n parts.push(encodeUriQuery(key) + '=' + encodeUriQuery(serializeValue(v)));\n });\n } else {\n parts.push(encodeUriQuery(key) + '=' + encodeUriQuery(serializeValue(value)));\n }\n });\n\n return parts.join('&');\n };\n };\n}\n\n/** @this */\nfunction $HttpParamSerializerJQLikeProvider() {\n /**\n * @ngdoc service\n * @name $httpParamSerializerJQLike\n *\n * @description\n *\n * Alternative {@link $http `$http`} params serializer that follows\n * jQuery's [`param()`](http://api.jquery.com/jquery.param/) method logic.\n * The serializer will also sort the params alphabetically.\n *\n * To use it for serializing `$http` request parameters, set it as the `paramSerializer` property:\n *\n * ```js\n * $http({\n * url: myUrl,\n * method: 'GET',\n * params: myParams,\n * paramSerializer: '$httpParamSerializerJQLike'\n * });\n * ```\n *\n * It is also possible to set it as the default `paramSerializer` in the\n * {@link $httpProvider#defaults `$httpProvider`}.\n *\n * Additionally, you can inject the serializer and use it explicitly, for example to serialize\n * form data for submission:\n *\n * ```js\n * .controller(function($http, $httpParamSerializerJQLike) {\n * //...\n *\n * $http({\n * url: myUrl,\n * method: 'POST',\n * data: $httpParamSerializerJQLike(myData),\n * headers: {\n * 'Content-Type': 'application/x-www-form-urlencoded'\n * }\n * });\n *\n * });\n * ```\n *\n */\n this.$get = function() {\n return function jQueryLikeParamSerializer(params) {\n if (!params) return '';\n var parts = [];\n serialize(params, '', true);\n return parts.join('&');\n\n function serialize(toSerialize, prefix, topLevel) {\n if (isArray(toSerialize)) {\n forEach(toSerialize, function(value, index) {\n serialize(value, prefix + '[' + (isObject(value) ? index : '') + ']');\n });\n } else if (isObject(toSerialize) && !isDate(toSerialize)) {\n forEachSorted(toSerialize, function(value, key) {\n serialize(value, prefix +\n (topLevel ? '' : '[') +\n key +\n (topLevel ? '' : ']'));\n });\n } else {\n if (isFunction(toSerialize)) {\n toSerialize = toSerialize();\n }\n parts.push(encodeUriQuery(prefix) + '=' +\n (toSerialize == null ? '' : encodeUriQuery(serializeValue(toSerialize))));\n }\n }\n };\n };\n}\n\nfunction defaultHttpResponseTransform(data, headers) {\n if (isString(data)) {\n // Strip json vulnerability protection prefix and trim whitespace\n var tempData = data.replace(JSON_PROTECTION_PREFIX, '').trim();\n\n if (tempData) {\n var contentType = headers('Content-Type');\n var hasJsonContentType = contentType && (contentType.indexOf(APPLICATION_JSON) === 0);\n\n if (hasJsonContentType || isJsonLike(tempData)) {\n try {\n data = fromJson(tempData);\n } catch (e) {\n if (!hasJsonContentType) {\n return data;\n }\n throw $httpMinErr('baddata', 'Data must be a valid JSON object. Received: \"{0}\". ' +\n 'Parse error: \"{1}\"', data, e);\n }\n }\n }\n }\n\n return data;\n}\n\nfunction isJsonLike(str) {\n var jsonStart = str.match(JSON_START);\n return jsonStart && JSON_ENDS[jsonStart[0]].test(str);\n}\n\n/**\n * Parse headers into key value object\n *\n * @param {string} headers Raw headers as a string\n * @returns {Object} Parsed headers as key value object\n */\nfunction parseHeaders(headers) {\n var parsed = createMap(), i;\n\n function fillInParsed(key, val) {\n if (key) {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n\n if (isString(headers)) {\n forEach(headers.split('\\n'), function(line) {\n i = line.indexOf(':');\n fillInParsed(lowercase(trim(line.substr(0, i))), trim(line.substr(i + 1)));\n });\n } else if (isObject(headers)) {\n forEach(headers, function(headerVal, headerKey) {\n fillInParsed(lowercase(headerKey), trim(headerVal));\n });\n }\n\n return parsed;\n}\n\n\n/**\n * Returns a function that provides access to parsed headers.\n *\n * Headers are lazy parsed when first requested.\n * @see parseHeaders\n *\n * @param {(string|Object)} headers Headers to provide access to.\n * @returns {function(string=)} Returns a getter function which if called with:\n *\n * - if called with an argument returns a single header value or null\n * - if called with no arguments returns an object containing all headers.\n */\nfunction headersGetter(headers) {\n var headersObj;\n\n return function(name) {\n if (!headersObj) headersObj = parseHeaders(headers);\n\n if (name) {\n var value = headersObj[lowercase(name)];\n if (value === undefined) {\n value = null;\n }\n return value;\n }\n\n return headersObj;\n };\n}\n\n\n/**\n * Chain all given functions\n *\n * This function is used for both request and response transforming\n *\n * @param {*} data Data to transform.\n * @param {function(string=)} headers HTTP headers getter fn.\n * @param {number} status HTTP status code of the response.\n * @param {(Function|Array.<Function>)} fns Function or an array of functions.\n * @returns {*} Transformed data.\n */\nfunction transformData(data, headers, status, fns) {\n if (isFunction(fns)) {\n return fns(data, headers, status);\n }\n\n forEach(fns, function(fn) {\n data = fn(data, headers, status);\n });\n\n return data;\n}\n\n\nfunction isSuccess(status) {\n return 200 <= status && status < 300;\n}\n\n\n/**\n * @ngdoc provider\n * @name $httpProvider\n * @this\n *\n * @description\n * Use `$httpProvider` to change the default behavior of the {@link ng.$http $http} service.\n */\nfunction $HttpProvider() {\n /**\n * @ngdoc property\n * @name $httpProvider#defaults\n * @description\n *\n * Object containing default values for all {@link ng.$http $http} requests.\n *\n * - **`defaults.cache`** - {boolean|Object} - A boolean value or object created with\n * {@link ng.$cacheFactory `$cacheFactory`} to enable or disable caching of HTTP responses\n * by default. See {@link $http#caching $http Caching} for more information.\n *\n * - **`defaults.headers`** - {Object} - Default headers for all $http requests.\n * Refer to {@link ng.$http#setting-http-headers $http} for documentation on\n * setting default headers.\n * - **`defaults.headers.common`**\n * - **`defaults.headers.post`**\n * - **`defaults.headers.put`**\n * - **`defaults.headers.patch`**\n *\n * - **`defaults.jsonpCallbackParam`** - `{string}` - the name of the query parameter that passes the name of the\n * callback in a JSONP request. The value of this parameter will be replaced with the expression generated by the\n * {@link $jsonpCallbacks} service. Defaults to `'callback'`.\n *\n * - **`defaults.paramSerializer`** - `{string|function(Object<string,string>):string}` - A function\n * used to the prepare string representation of request parameters (specified as an object).\n * If specified as string, it is interpreted as a function registered with the {@link auto.$injector $injector}.\n * Defaults to {@link ng.$httpParamSerializer $httpParamSerializer}.\n *\n * - **`defaults.transformRequest`** -\n * `{Array<function(data, headersGetter)>|function(data, headersGetter)}` -\n * An array of functions (or a single function) which are applied to the request data.\n * By default, this is an array with one request transformation function:\n *\n * - If the `data` property of the request configuration object contains an object, serialize it\n * into JSON format.\n *\n * - **`defaults.transformResponse`** -\n * `{Array<function(data, headersGetter, status)>|function(data, headersGetter, status)}` -\n * An array of functions (or a single function) which are applied to the response data. By default,\n * this is an array which applies one response transformation function that does two things:\n *\n * - If XSRF prefix is detected, strip it\n * (see {@link ng.$http#security-considerations Security Considerations in the $http docs}).\n * - If the `Content-Type` is `application/json` or the response looks like JSON,\n * deserialize it using a JSON parser.\n *\n * - **`defaults.xsrfCookieName`** - {string} - Name of cookie containing the XSRF token.\n * Defaults value is `'XSRF-TOKEN'`.\n *\n * - **`defaults.xsrfHeaderName`** - {string} - Name of HTTP header to populate with the\n * XSRF token. Defaults value is `'X-XSRF-TOKEN'`.\n *\n */\n var defaults = this.defaults = {\n // transform incoming response data\n transformResponse: [defaultHttpResponseTransform],\n\n // transform outgoing request data\n transformRequest: [function(d) {\n return isObject(d) && !isFile(d) && !isBlob(d) && !isFormData(d) ? toJson(d) : d;\n }],\n\n // default headers\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n },\n post: shallowCopy(CONTENT_TYPE_APPLICATION_JSON),\n put: shallowCopy(CONTENT_TYPE_APPLICATION_JSON),\n patch: shallowCopy(CONTENT_TYPE_APPLICATION_JSON)\n },\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n paramSerializer: '$httpParamSerializer',\n\n jsonpCallbackParam: 'callback'\n };\n\n var useApplyAsync = false;\n /**\n * @ngdoc method\n * @name $httpProvider#useApplyAsync\n * @description\n *\n * Configure $http service to combine processing of multiple http responses received at around\n * the same time via {@link ng.$rootScope.Scope#$applyAsync $rootScope.$applyAsync}. This can result in\n * significant performance improvement for bigger applications that make many HTTP requests\n * concurrently (common during application bootstrap).\n *\n * Defaults to false. If no value is specified, returns the current configured value.\n *\n * @param {boolean=} value If true, when requests are loaded, they will schedule a deferred\n * \"apply\" on the next tick, giving time for subsequent requests in a roughly ~10ms window\n * to load and share the same digest cycle.\n *\n * @returns {boolean|Object} If a value is specified, returns the $httpProvider for chaining.\n * otherwise, returns the current configured value.\n */\n this.useApplyAsync = function(value) {\n if (isDefined(value)) {\n useApplyAsync = !!value;\n return this;\n }\n return useApplyAsync;\n };\n\n /**\n * @ngdoc property\n * @name $httpProvider#interceptors\n * @description\n *\n * Array containing service factories for all synchronous or asynchronous {@link ng.$http $http}\n * pre-processing of request or postprocessing of responses.\n *\n * These service factories are ordered by request, i.e. they are applied in the same order as the\n * array, on request, but reverse order, on response.\n *\n * {@link ng.$http#interceptors Interceptors detailed info}\n */\n var interceptorFactories = this.interceptors = [];\n\n /**\n * @ngdoc property\n * @name $httpProvider#xsrfWhitelistedOrigins\n * @description\n *\n * Array containing URLs whose origins are trusted to receive the XSRF token. See the\n * {@link ng.$http#security-considerations Security Considerations} sections for more details on\n * XSRF.\n *\n * **Note:** An \"origin\" consists of the [URI scheme](https://en.wikipedia.org/wiki/URI_scheme),\n * the [hostname](https://en.wikipedia.org/wiki/Hostname) and the\n * [port number](https://en.wikipedia.org/wiki/Port_(computer_networking). For `http:` and\n * `https:`, the port number can be omitted if using th default ports (80 and 443 respectively).\n * Examples: `http://example.com`, `https://api.example.com:9876`\n *\n * <div class=\"alert alert-warning\">\n * It is not possible to whitelist specific URLs/paths. The `path`, `query` and `fragment` parts\n * of a URL will be ignored. For example, `https://foo.com/path/bar?query=baz#fragment` will be\n * treated as `https://foo.com`, meaning that **all** requests to URLs starting with\n * `https://foo.com/` will include the XSRF token.\n * </div>\n *\n * @example\n *\n * ```js\n * // App served from `https://example.com/`.\n * angular.\n * module('xsrfWhitelistedOriginsExample', []).\n * config(['$httpProvider', function($httpProvider) {\n * $httpProvider.xsrfWhitelistedOrigins.push('https://api.example.com');\n * }]).\n * run(['$http', function($http) {\n * // The XSRF token will be sent.\n * $http.get('https://api.example.com/preferences').then(...);\n *\n * // The XSRF token will NOT be sent.\n * $http.get('https://stats.example.com/activity').then(...);\n * }]);\n * ```\n */\n var xsrfWhitelistedOrigins = this.xsrfWhitelistedOrigins = [];\n\n this.$get = ['$browser', '$httpBackend', '$$cookieReader', '$cacheFactory', '$rootScope', '$q', '$injector', '$sce',\n function($browser, $httpBackend, $$cookieReader, $cacheFactory, $rootScope, $q, $injector, $sce) {\n\n var defaultCache = $cacheFactory('$http');\n\n /**\n * Make sure that default param serializer is exposed as a function\n */\n defaults.paramSerializer = isString(defaults.paramSerializer) ?\n $injector.get(defaults.paramSerializer) : defaults.paramSerializer;\n\n /**\n * Interceptors stored in reverse order. Inner interceptors before outer interceptors.\n * The reversal is needed so that we can build up the interception chain around the\n * server request.\n */\n var reversedInterceptors = [];\n\n forEach(interceptorFactories, function(interceptorFactory) {\n reversedInterceptors.unshift(isString(interceptorFactory)\n ? $injector.get(interceptorFactory) : $injector.invoke(interceptorFactory));\n });\n\n /**\n * A function to check request URLs against a list of allowed origins.\n */\n var urlIsAllowedOrigin = urlIsAllowedOriginFactory(xsrfWhitelistedOrigins);\n\n /**\n * @ngdoc service\n * @kind function\n * @name $http\n * @requires ng.$httpBackend\n * @requires $cacheFactory\n * @requires $rootScope\n * @requires $q\n * @requires $injector\n *\n * @description\n * The `$http` service is a core AngularJS service that facilitates communication with the remote\n * HTTP servers via the browser's [XMLHttpRequest](https://developer.mozilla.org/en/xmlhttprequest)\n * object or via [JSONP](http://en.wikipedia.org/wiki/JSONP).\n *\n * For unit testing applications that use `$http` service, see\n * {@link ngMock.$httpBackend $httpBackend mock}.\n *\n * For a higher level of abstraction, please check out the {@link ngResource.$resource\n * $resource} service.\n *\n * The $http API is based on the {@link ng.$q deferred/promise APIs} exposed by\n * the $q service. While for simple usage patterns this doesn't matter much, for advanced usage\n * it is important to familiarize yourself with these APIs and the guarantees they provide.\n *\n *\n * ## General usage\n * The `$http` service is a function which takes a single argument — a {@link $http#usage configuration object} —\n * that is used to generate an HTTP request and returns a {@link ng.$q promise} that is\n * resolved (request success) or rejected (request failure) with a\n * {@link ng.$http#$http-returns response} object.\n *\n * ```js\n * // Simple GET request example:\n * $http({\n * method: 'GET',\n * url: '/someUrl'\n * }).then(function successCallback(response) {\n * // this callback will be called asynchronously\n * // when the response is available\n * }, function errorCallback(response) {\n * // called asynchronously if an error occurs\n * // or server returns response with an error status.\n * });\n * ```\n *\n *\n * ## Shortcut methods\n *\n * Shortcut methods are also available. All shortcut methods require passing in the URL, and\n * request data must be passed in for POST/PUT requests. An optional config can be passed as the\n * last argument.\n *\n * ```js\n * $http.get('/someUrl', config).then(successCallback, errorCallback);\n * $http.post('/someUrl', data, config).then(successCallback, errorCallback);\n * ```\n *\n * Complete list of shortcut methods:\n *\n * - {@link ng.$http#get $http.get}\n * - {@link ng.$http#head $http.head}\n * - {@link ng.$http#post $http.post}\n * - {@link ng.$http#put $http.put}\n * - {@link ng.$http#delete $http.delete}\n * - {@link ng.$http#jsonp $http.jsonp}\n * - {@link ng.$http#patch $http.patch}\n *\n *\n * ## Writing Unit Tests that use $http\n * When unit testing (using {@link ngMock ngMock}), it is necessary to call\n * {@link ngMock.$httpBackend#flush $httpBackend.flush()} to flush each pending\n * request using trained responses.\n *\n * ```\n * $httpBackend.expectGET(...);\n * $http.get(...);\n * $httpBackend.flush();\n * ```\n *\n * ## Setting HTTP Headers\n *\n * The $http service will automatically add certain HTTP headers to all requests. These defaults\n * can be fully configured by accessing the `$httpProvider.defaults.headers` configuration\n * object, which currently contains this default configuration:\n *\n * - `$httpProvider.defaults.headers.common` (headers that are common for all requests):\n * - <code>Accept: application/json, text/plain, \\*&#65279;/&#65279;\\*</code>\n * - `$httpProvider.defaults.headers.post`: (header defaults for POST requests)\n * - `Content-Type: application/json`\n * - `$httpProvider.defaults.headers.put` (header defaults for PUT requests)\n * - `Content-Type: application/json`\n *\n * To add or overwrite these defaults, simply add or remove a property from these configuration\n * objects. To add headers for an HTTP method other than POST or PUT, simply add a new object\n * with the lowercased HTTP method name as the key, e.g.\n * `$httpProvider.defaults.headers.get = { 'My-Header' : 'value' }`.\n *\n * The defaults can also be set at runtime via the `$http.defaults` object in the same\n * fashion. For example:\n *\n * ```\n * module.run(function($http) {\n * $http.defaults.headers.common.Authorization = 'Basic YmVlcDpib29w';\n * });\n * ```\n *\n * In addition, you can supply a `headers` property in the config object passed when\n * calling `$http(config)`, which overrides the defaults without changing them globally.\n *\n * To explicitly remove a header automatically added via $httpProvider.defaults.headers on a per request basis,\n * Use the `headers` property, setting the desired header to `undefined`. For example:\n *\n * ```js\n * var req = {\n * method: 'POST',\n * url: 'http://example.com',\n * headers: {\n * 'Content-Type': undefined\n * },\n * data: { test: 'test' }\n * }\n *\n * $http(req).then(function(){...}, function(){...});\n * ```\n *\n * ## Transforming Requests and Responses\n *\n * Both requests and responses can be transformed using transformation functions: `transformRequest`\n * and `transformResponse`. These properties can be a single function that returns\n * the transformed value (`function(data, headersGetter, status)`) or an array of such transformation functions,\n * which allows you to `push` or `unshift` a new transformation function into the transformation chain.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** AngularJS does not make a copy of the `data` parameter before it is passed into the `transformRequest` pipeline.\n * That means changes to the properties of `data` are not local to the transform function (since Javascript passes objects by reference).\n * For example, when calling `$http.get(url, $scope.myObject)`, modifications to the object's properties in a transformRequest\n * function will be reflected on the scope and in any templates where the object is data-bound.\n * To prevent this, transform functions should have no side-effects.\n * If you need to modify properties, it is recommended to make a copy of the data, or create new object to return.\n * </div>\n *\n * ### Default Transformations\n *\n * The `$httpProvider` provider and `$http` service expose `defaults.transformRequest` and\n * `defaults.transformResponse` properties. If a request does not provide its own transformations\n * then these will be applied.\n *\n * You can augment or replace the default transformations by modifying these properties by adding to or\n * replacing the array.\n *\n * AngularJS provides the following default transformations:\n *\n * Request transformations (`$httpProvider.defaults.transformRequest` and `$http.defaults.transformRequest`) is\n * an array with one function that does the following:\n *\n * - If the `data` property of the request configuration object contains an object, serialize it\n * into JSON format.\n *\n * Response transformations (`$httpProvider.defaults.transformResponse` and `$http.defaults.transformResponse`) is\n * an array with one function that does the following:\n *\n * - If XSRF prefix is detected, strip it (see Security Considerations section below).\n * - If the `Content-Type` is `application/json` or the response looks like JSON,\n * deserialize it using a JSON parser.\n *\n *\n * ### Overriding the Default Transformations Per Request\n *\n * If you wish to override the request/response transformations only for a single request then provide\n * `transformRequest` and/or `transformResponse` properties on the configuration object passed\n * into `$http`.\n *\n * Note that if you provide these properties on the config object the default transformations will be\n * overwritten. If you wish to augment the default transformations then you must include them in your\n * local transformation array.\n *\n * The following code demonstrates adding a new response transformation to be run after the default response\n * transformations have been run.\n *\n * ```js\n * function appendTransform(defaults, transform) {\n *\n * // We can't guarantee that the default transformation is an array\n * defaults = angular.isArray(defaults) ? defaults : [defaults];\n *\n * // Append the new transformation to the defaults\n * return defaults.concat(transform);\n * }\n *\n * $http({\n * url: '...',\n * method: 'GET',\n * transformResponse: appendTransform($http.defaults.transformResponse, function(value) {\n * return doTransform(value);\n * })\n * });\n * ```\n *\n *\n * ## Caching\n *\n * {@link ng.$http `$http`} responses are not cached by default. To enable caching, you must\n * set the config.cache value or the default cache value to TRUE or to a cache object (created\n * with {@link ng.$cacheFactory `$cacheFactory`}). If defined, the value of config.cache takes\n * precedence over the default cache value.\n *\n * In order to:\n * * cache all responses - set the default cache value to TRUE or to a cache object\n * * cache a specific response - set config.cache value to TRUE or to a cache object\n *\n * If caching is enabled, but neither the default cache nor config.cache are set to a cache object,\n * then the default `$cacheFactory(\"$http\")` object is used.\n *\n * The default cache value can be set by updating the\n * {@link ng.$http#defaults `$http.defaults.cache`} property or the\n * {@link $httpProvider#defaults `$httpProvider.defaults.cache`} property.\n *\n * When caching is enabled, {@link ng.$http `$http`} stores the response from the server using\n * the relevant cache object. The next time the same request is made, the response is returned\n * from the cache without sending a request to the server.\n *\n * Take note that:\n *\n * * Only GET and JSONP requests are cached.\n * * The cache key is the request URL including search parameters; headers are not considered.\n * * Cached responses are returned asynchronously, in the same way as responses from the server.\n * * If multiple identical requests are made using the same cache, which is not yet populated,\n * one request will be made to the server and remaining requests will return the same response.\n * * A cache-control header on the response does not affect if or how responses are cached.\n *\n *\n * ## Interceptors\n *\n * Before you start creating interceptors, be sure to understand the\n * {@link ng.$q $q and deferred/promise APIs}.\n *\n * For purposes of global error handling, authentication, or any kind of synchronous or\n * asynchronous pre-processing of request or postprocessing of responses, it is desirable to be\n * able to intercept requests before they are handed to the server and\n * responses before they are handed over to the application code that\n * initiated these requests. The interceptors leverage the {@link ng.$q\n * promise APIs} to fulfill this need for both synchronous and asynchronous pre-processing.\n *\n * The interceptors are service factories that are registered with the `$httpProvider` by\n * adding them to the `$httpProvider.interceptors` array. The factory is called and\n * injected with dependencies (if specified) and returns the interceptor.\n *\n * There are two kinds of interceptors (and two kinds of rejection interceptors):\n *\n * * `request`: interceptors get called with a http {@link $http#usage config} object. The function is free to\n * modify the `config` object or create a new one. The function needs to return the `config`\n * object directly, or a promise containing the `config` or a new `config` object.\n * * `requestError`: interceptor gets called when a previous interceptor threw an error or\n * resolved with a rejection.\n * * `response`: interceptors get called with http `response` object. The function is free to\n * modify the `response` object or create a new one. The function needs to return the `response`\n * object directly, or as a promise containing the `response` or a new `response` object.\n * * `responseError`: interceptor gets called when a previous interceptor threw an error or\n * resolved with a rejection.\n *\n *\n * ```js\n * // register the interceptor as a service\n * $provide.factory('myHttpInterceptor', function($q, dependency1, dependency2) {\n * return {\n * // optional method\n * 'request': function(config) {\n * // do something on success\n * return config;\n * },\n *\n * // optional method\n * 'requestError': function(rejection) {\n * // do something on error\n * if (canRecover(rejection)) {\n * return responseOrNewPromise\n * }\n * return $q.reject(rejection);\n * },\n *\n *\n *\n * // optional method\n * 'response': function(response) {\n * // do something on success\n * return response;\n * },\n *\n * // optional method\n * 'responseError': function(rejection) {\n * // do something on error\n * if (canRecover(rejection)) {\n * return responseOrNewPromise\n * }\n * return $q.reject(rejection);\n * }\n * };\n * });\n *\n * $httpProvider.interceptors.push('myHttpInterceptor');\n *\n *\n * // alternatively, register the interceptor via an anonymous factory\n * $httpProvider.interceptors.push(function($q, dependency1, dependency2) {\n * return {\n * 'request': function(config) {\n * // same as above\n * },\n *\n * 'response': function(response) {\n * // same as above\n * }\n * };\n * });\n * ```\n *\n * ## Security Considerations\n *\n * When designing web applications, consider security threats from:\n *\n * - [JSON vulnerability](http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx)\n * - [XSRF](http://en.wikipedia.org/wiki/Cross-site_request_forgery)\n *\n * Both server and the client must cooperate in order to eliminate these threats. AngularJS comes\n * pre-configured with strategies that address these issues, but for this to work backend server\n * cooperation is required.\n *\n * ### JSON Vulnerability Protection\n *\n * A [JSON vulnerability](http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx)\n * allows third party website to turn your JSON resource URL into\n * [JSONP](http://en.wikipedia.org/wiki/JSONP) request under some conditions. To\n * counter this your server can prefix all JSON requests with following string `\")]}',\\n\"`.\n * AngularJS will automatically strip the prefix before processing it as JSON.\n *\n * For example if your server needs to return:\n * ```js\n * ['one','two']\n * ```\n *\n * which is vulnerable to attack, your server can return:\n * ```js\n * )]}',\n * ['one','two']\n * ```\n *\n * AngularJS will strip the prefix, before processing the JSON.\n *\n *\n * ### Cross Site Request Forgery (XSRF) Protection\n *\n * [XSRF](http://en.wikipedia.org/wiki/Cross-site_request_forgery) is an attack technique by\n * which the attacker can trick an authenticated user into unknowingly executing actions on your\n * website. AngularJS provides a mechanism to counter XSRF. When performing XHR requests, the\n * $http service reads a token from a cookie (by default, `XSRF-TOKEN`) and sets it as an HTTP\n * header (by default `X-XSRF-TOKEN`). Since only JavaScript that runs on your domain could read\n * the cookie, your server can be assured that the XHR came from JavaScript running on your\n * domain.\n *\n * To take advantage of this, your server needs to set a token in a JavaScript readable session\n * cookie called `XSRF-TOKEN` on the first HTTP GET request. On subsequent XHR requests the\n * server can verify that the cookie matches the `X-XSRF-TOKEN` HTTP header, and therefore be\n * sure that only JavaScript running on your domain could have sent the request. The token must\n * be unique for each user and must be verifiable by the server (to prevent the JavaScript from\n * making up its own tokens). We recommend that the token is a digest of your site's\n * authentication cookie with a [salt](https://en.wikipedia.org/wiki/Salt_(cryptography&#41;)\n * for added security.\n *\n * The header will &mdash; by default &mdash; **not** be set for cross-domain requests. This\n * prevents unauthorized servers (e.g. malicious or compromised 3rd-party APIs) from gaining\n * access to your users' XSRF tokens and exposing them to Cross Site Request Forgery. If you\n * want to, you can whitelist additional origins to also receive the XSRF token, by adding them\n * to {@link ng.$httpProvider#xsrfWhitelistedOrigins xsrfWhitelistedOrigins}. This might be\n * useful, for example, if your application, served from `example.com`, needs to access your API\n * at `api.example.com`.\n * See {@link ng.$httpProvider#xsrfWhitelistedOrigins $httpProvider.xsrfWhitelistedOrigins} for\n * more details.\n *\n * <div class=\"alert alert-danger\">\n * **Warning**<br />\n * Only whitelist origins that you have control over and make sure you understand the\n * implications of doing so.\n * </div>\n *\n * The name of the cookie and the header can be specified using the `xsrfCookieName` and\n * `xsrfHeaderName` properties of either `$httpProvider.defaults` at config-time,\n * `$http.defaults` at run-time, or the per-request config object.\n *\n * In order to prevent collisions in environments where multiple AngularJS apps share the\n * same domain or subdomain, we recommend that each application uses a unique cookie name.\n *\n *\n * @param {object} config Object describing the request to be made and how it should be\n * processed. The object has following properties:\n *\n * - **method** – `{string}` – HTTP method (e.g. 'GET', 'POST', etc)\n * - **url** – `{string|TrustedObject}` – Absolute or relative URL of the resource that is being requested;\n * or an object created by a call to `$sce.trustAsResourceUrl(url)`.\n * - **params** – `{Object.<string|Object>}` – Map of strings or objects which will be serialized\n * with the `paramSerializer` and appended as GET parameters.\n * - **data** – `{string|Object}` – Data to be sent as the request message data.\n * - **headers** – `{Object}` – Map of strings or functions which return strings representing\n * HTTP headers to send to the server. If the return value of a function is null, the\n * header will not be sent. Functions accept a config object as an argument.\n * - **eventHandlers** - `{Object}` - Event listeners to be bound to the XMLHttpRequest object.\n * To bind events to the XMLHttpRequest upload object, use `uploadEventHandlers`.\n * The handler will be called in the context of a `$apply` block.\n * - **uploadEventHandlers** - `{Object}` - Event listeners to be bound to the XMLHttpRequest upload\n * object. To bind events to the XMLHttpRequest object, use `eventHandlers`.\n * The handler will be called in the context of a `$apply` block.\n * - **xsrfHeaderName** – `{string}` – Name of HTTP header to populate with the XSRF token.\n * - **xsrfCookieName** – `{string}` – Name of cookie containing the XSRF token.\n * - **transformRequest** –\n * `{function(data, headersGetter)|Array.<function(data, headersGetter)>}` –\n * transform function or an array of such functions. The transform function takes the http\n * request body and headers and returns its transformed (typically serialized) version.\n * See {@link ng.$http#overriding-the-default-transformations-per-request\n * Overriding the Default Transformations}\n * - **transformResponse** –\n * `{function(data, headersGetter, status)|Array.<function(data, headersGetter, status)>}` –\n * transform function or an array of such functions. The transform function takes the http\n * response body, headers and status and returns its transformed (typically deserialized) version.\n * See {@link ng.$http#overriding-the-default-transformations-per-request\n * Overriding the Default Transformations}\n * - **paramSerializer** - `{string|function(Object<string,string>):string}` - A function used to\n * prepare the string representation of request parameters (specified as an object).\n * If specified as string, it is interpreted as function registered with the\n * {@link $injector $injector}, which means you can create your own serializer\n * by registering it as a {@link auto.$provide#service service}.\n * The default serializer is the {@link $httpParamSerializer $httpParamSerializer};\n * alternatively, you can use the {@link $httpParamSerializerJQLike $httpParamSerializerJQLike}\n * - **cache** – `{boolean|Object}` – A boolean value or object created with\n * {@link ng.$cacheFactory `$cacheFactory`} to enable or disable caching of the HTTP response.\n * See {@link $http#caching $http Caching} for more information.\n * - **timeout** – `{number|Promise}` – timeout in milliseconds, or {@link ng.$q promise}\n * that should abort the request when resolved.\n *\n * A numerical timeout or a promise returned from {@link ng.$timeout $timeout}, will set\n * the `xhrStatus` in the {@link $http#$http-returns response} to \"timeout\", and any other\n * resolved promise will set it to \"abort\", following standard XMLHttpRequest behavior.\n *\n * - **withCredentials** - `{boolean}` - whether to set the `withCredentials` flag on the\n * XHR object. See [requests with credentials](https://developer.mozilla.org/docs/Web/HTTP/Access_control_CORS#Requests_with_credentials)\n * for more information.\n * - **responseType** - `{string}` - see\n * [XMLHttpRequest.responseType](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#xmlhttprequest-responsetype).\n *\n * @returns {HttpPromise} A {@link ng.$q `Promise}` that will be resolved (request success)\n * or rejected (request failure) with a response object.\n *\n * The response object has these properties:\n *\n * - **data** – `{string|Object}` – The response body transformed with\n * the transform functions.\n * - **status** – `{number}` – HTTP status code of the response.\n * - **headers** – `{function([headerName])}` – Header getter function.\n * - **config** – `{Object}` – The configuration object that was used\n * to generate the request.\n * - **statusText** – `{string}` – HTTP status text of the response.\n * - **xhrStatus** – `{string}` – Status of the XMLHttpRequest\n * (`complete`, `error`, `timeout` or `abort`).\n *\n *\n * A response status code between 200 and 299 is considered a success status\n * and will result in the success callback being called. Any response status\n * code outside of that range is considered an error status and will result\n * in the error callback being called.\n * Also, status codes less than -1 are normalized to zero. -1 usually means\n * the request was aborted, e.g. using a `config.timeout`. More information\n * about the status might be available in the `xhrStatus` property.\n *\n * Note that if the response is a redirect, XMLHttpRequest will transparently\n * follow it, meaning that the outcome (success or error) will be determined\n * by the final response status code.\n *\n *\n * @property {Array.<Object>} pendingRequests Array of config objects for currently pending\n * requests. This is primarily meant to be used for debugging purposes.\n *\n *\n * @example\n<example module=\"httpExample\" name=\"http-service\">\n<file name=\"index.html\">\n <div ng-controller=\"FetchController\">\n <select ng-model=\"method\" aria-label=\"Request method\">\n <option>GET</option>\n <option>JSONP</option>\n </select>\n <input type=\"text\" ng-model=\"url\" size=\"80\" aria-label=\"URL\" />\n <button id=\"fetchbtn\" ng-click=\"fetch()\">fetch</button><br>\n <button id=\"samplegetbtn\" ng-click=\"updateModel('GET', 'http-hello.html')\">Sample GET</button>\n <button id=\"samplejsonpbtn\"\n ng-click=\"updateModel('JSONP',\n 'https://angularjs.org/greet.php?name=Super%20Hero')\">\n Sample JSONP\n </button>\n <button id=\"invalidjsonpbtn\"\n ng-click=\"updateModel('JSONP', 'https://angularjs.org/doesntexist')\">\n Invalid JSONP\n </button>\n <pre>http status code: {{status}}</pre>\n <pre>http response data: {{data}}</pre>\n </div>\n</file>\n<file name=\"script.js\">\n angular.module('httpExample', [])\n .config(['$sceDelegateProvider', function($sceDelegateProvider) {\n // We must whitelist the JSONP endpoint that we are using to show that we trust it\n $sceDelegateProvider.resourceUrlWhitelist([\n 'self',\n 'https://angularjs.org/**'\n ]);\n }])\n .controller('FetchController', ['$scope', '$http', '$templateCache',\n function($scope, $http, $templateCache) {\n $scope.method = 'GET';\n $scope.url = 'http-hello.html';\n\n $scope.fetch = function() {\n $scope.code = null;\n $scope.response = null;\n\n $http({method: $scope.method, url: $scope.url, cache: $templateCache}).\n then(function(response) {\n $scope.status = response.status;\n $scope.data = response.data;\n }, function(response) {\n $scope.data = response.data || 'Request failed';\n $scope.status = response.status;\n });\n };\n\n $scope.updateModel = function(method, url) {\n $scope.method = method;\n $scope.url = url;\n };\n }]);\n</file>\n<file name=\"http-hello.html\">\n Hello, $http!\n</file>\n<file name=\"protractor.js\" type=\"protractor\">\n var status = element(by.binding('status'));\n var data = element(by.binding('data'));\n var fetchBtn = element(by.id('fetchbtn'));\n var sampleGetBtn = element(by.id('samplegetbtn'));\n var invalidJsonpBtn = element(by.id('invalidjsonpbtn'));\n\n it('should make an xhr GET request', function() {\n sampleGetBtn.click();\n fetchBtn.click();\n expect(status.getText()).toMatch('200');\n expect(data.getText()).toMatch(/Hello, \\$http!/);\n });\n\n// Commented out due to flakes. See https://github.com/angular/angular.js/issues/9185\n// it('should make a JSONP request to angularjs.org', function() {\n// var sampleJsonpBtn = element(by.id('samplejsonpbtn'));\n// sampleJsonpBtn.click();\n// fetchBtn.click();\n// expect(status.getText()).toMatch('200');\n// expect(data.getText()).toMatch(/Super Hero!/);\n// });\n\n it('should make JSONP request to invalid URL and invoke the error handler',\n function() {\n invalidJsonpBtn.click();\n fetchBtn.click();\n expect(status.getText()).toMatch('0');\n expect(data.getText()).toMatch('Request failed');\n });\n</file>\n</example>\n */\n function $http(requestConfig) {\n\n if (!isObject(requestConfig)) {\n throw minErr('$http')('badreq', 'Http request configuration must be an object. Received: {0}', requestConfig);\n }\n\n if (!isString($sce.valueOf(requestConfig.url))) {\n throw minErr('$http')('badreq', 'Http request configuration url must be a string or a $sce trusted object. Received: {0}', requestConfig.url);\n }\n\n var config = extend({\n method: 'get',\n transformRequest: defaults.transformRequest,\n transformResponse: defaults.transformResponse,\n paramSerializer: defaults.paramSerializer,\n jsonpCallbackParam: defaults.jsonpCallbackParam\n }, requestConfig);\n\n config.headers = mergeHeaders(requestConfig);\n config.method = uppercase(config.method);\n config.paramSerializer = isString(config.paramSerializer) ?\n $injector.get(config.paramSerializer) : config.paramSerializer;\n\n $browser.$$incOutstandingRequestCount('$http');\n\n var requestInterceptors = [];\n var responseInterceptors = [];\n var promise = $q.resolve(config);\n\n // apply interceptors\n forEach(reversedInterceptors, function(interceptor) {\n if (interceptor.request || interceptor.requestError) {\n requestInterceptors.unshift(interceptor.request, interceptor.requestError);\n }\n if (interceptor.response || interceptor.responseError) {\n responseInterceptors.push(interceptor.response, interceptor.responseError);\n }\n });\n\n promise = chainInterceptors(promise, requestInterceptors);\n promise = promise.then(serverRequest);\n promise = chainInterceptors(promise, responseInterceptors);\n promise = promise.finally(completeOutstandingRequest);\n\n return promise;\n\n\n function chainInterceptors(promise, interceptors) {\n for (var i = 0, ii = interceptors.length; i < ii;) {\n var thenFn = interceptors[i++];\n var rejectFn = interceptors[i++];\n\n promise = promise.then(thenFn, rejectFn);\n }\n\n interceptors.length = 0;\n\n return promise;\n }\n\n function completeOutstandingRequest() {\n $browser.$$completeOutstandingRequest(noop, '$http');\n }\n\n function executeHeaderFns(headers, config) {\n var headerContent, processedHeaders = {};\n\n forEach(headers, function(headerFn, header) {\n if (isFunction(headerFn)) {\n headerContent = headerFn(config);\n if (headerContent != null) {\n processedHeaders[header] = headerContent;\n }\n } else {\n processedHeaders[header] = headerFn;\n }\n });\n\n return processedHeaders;\n }\n\n function mergeHeaders(config) {\n var defHeaders = defaults.headers,\n reqHeaders = extend({}, config.headers),\n defHeaderName, lowercaseDefHeaderName, reqHeaderName;\n\n defHeaders = extend({}, defHeaders.common, defHeaders[lowercase(config.method)]);\n\n // using for-in instead of forEach to avoid unnecessary iteration after header has been found\n defaultHeadersIteration:\n for (defHeaderName in defHeaders) {\n lowercaseDefHeaderName = lowercase(defHeaderName);\n\n for (reqHeaderName in reqHeaders) {\n if (lowercase(reqHeaderName) === lowercaseDefHeaderName) {\n continue defaultHeadersIteration;\n }\n }\n\n reqHeaders[defHeaderName] = defHeaders[defHeaderName];\n }\n\n // execute if header value is a function for merged headers\n return executeHeaderFns(reqHeaders, shallowCopy(config));\n }\n\n function serverRequest(config) {\n var headers = config.headers;\n var reqData = transformData(config.data, headersGetter(headers), undefined, config.transformRequest);\n\n // strip content-type if data is undefined\n if (isUndefined(reqData)) {\n forEach(headers, function(value, header) {\n if (lowercase(header) === 'content-type') {\n delete headers[header];\n }\n });\n }\n\n if (isUndefined(config.withCredentials) && !isUndefined(defaults.withCredentials)) {\n config.withCredentials = defaults.withCredentials;\n }\n\n // send request\n return sendReq(config, reqData).then(transformResponse, transformResponse);\n }\n\n function transformResponse(response) {\n // make a copy since the response must be cacheable\n var resp = extend({}, response);\n resp.data = transformData(response.data, response.headers, response.status,\n config.transformResponse);\n return (isSuccess(response.status))\n ? resp\n : $q.reject(resp);\n }\n }\n\n $http.pendingRequests = [];\n\n /**\n * @ngdoc method\n * @name $http#get\n *\n * @description\n * Shortcut method to perform `GET` request.\n *\n * @param {string|TrustedObject} url Absolute or relative URL of the resource that is being requested;\n * or an object created by a call to `$sce.trustAsResourceUrl(url)`.\n * @param {Object=} config Optional configuration object. See {@link ng.$http#$http-arguments `$http()` arguments}.\n * @returns {HttpPromise} A Promise that will be resolved or rejected with a response object.\n * See {@link ng.$http#$http-returns `$http()` return value}.\n */\n\n /**\n * @ngdoc method\n * @name $http#delete\n *\n * @description\n * Shortcut method to perform `DELETE` request.\n *\n * @param {string|TrustedObject} url Absolute or relative URL of the resource that is being requested;\n * or an object created by a call to `$sce.trustAsResourceUrl(url)`.\n * @param {Object=} config Optional configuration object. See {@link ng.$http#$http-arguments `$http()` arguments}.\n * @returns {HttpPromise} A Promise that will be resolved or rejected with a response object.\n * See {@link ng.$http#$http-returns `$http()` return value}.\n */\n\n /**\n * @ngdoc method\n * @name $http#head\n *\n * @description\n * Shortcut method to perform `HEAD` request.\n *\n * @param {string|TrustedObject} url Absolute or relative URL of the resource that is being requested;\n * or an object created by a call to `$sce.trustAsResourceUrl(url)`.\n * @param {Object=} config Optional configuration object. See {@link ng.$http#$http-arguments `$http()` arguments}.\n * @returns {HttpPromise} A Promise that will be resolved or rejected with a response object.\n * See {@link ng.$http#$http-returns `$http()` return value}.\n */\n\n /**\n * @ngdoc method\n * @name $http#jsonp\n *\n * @description\n * Shortcut method to perform `JSONP` request.\n *\n * Note that, since JSONP requests are sensitive because the response is given full access to the browser,\n * the url must be declared, via {@link $sce} as a trusted resource URL.\n * You can trust a URL by adding it to the whitelist via\n * {@link $sceDelegateProvider#resourceUrlWhitelist `$sceDelegateProvider.resourceUrlWhitelist`} or\n * by explicitly trusting the URL via {@link $sce#trustAsResourceUrl `$sce.trustAsResourceUrl(url)`}.\n *\n * You should avoid generating the URL for the JSONP request from user provided data.\n * Provide additional query parameters via `params` property of the `config` parameter, rather than\n * modifying the URL itself.\n *\n * JSONP requests must specify a callback to be used in the response from the server. This callback\n * is passed as a query parameter in the request. You must specify the name of this parameter by\n * setting the `jsonpCallbackParam` property on the request config object.\n *\n * ```\n * $http.jsonp('some/trusted/url', {jsonpCallbackParam: 'callback'})\n * ```\n *\n * You can also specify a default callback parameter name in `$http.defaults.jsonpCallbackParam`.\n * Initially this is set to `'callback'`.\n *\n * <div class=\"alert alert-danger\">\n * You can no longer use the `JSON_CALLBACK` string as a placeholder for specifying where the callback\n * parameter value should go.\n * </div>\n *\n * If you would like to customise where and how the callbacks are stored then try overriding\n * or decorating the {@link $jsonpCallbacks} service.\n *\n * @param {string|TrustedObject} url Absolute or relative URL of the resource that is being requested;\n * or an object created by a call to `$sce.trustAsResourceUrl(url)`.\n * @param {Object=} config Optional configuration object. See {@link ng.$http#$http-arguments `$http()` arguments}.\n * @returns {HttpPromise} A Promise that will be resolved or rejected with a response object.\n * See {@link ng.$http#$http-returns `$http()` return value}.\n */\n createShortMethods('get', 'delete', 'head', 'jsonp');\n\n /**\n * @ngdoc method\n * @name $http#post\n *\n * @description\n * Shortcut method to perform `POST` request.\n *\n * @param {string} url Relative or absolute URL specifying the destination of the request\n * @param {*} data Request content\n * @param {Object=} config Optional configuration object. See {@link ng.$http#$http-arguments `$http()` arguments}.\n * @returns {HttpPromise} A Promise that will be resolved or rejected with a response object.\n * See {@link ng.$http#$http-returns `$http()` return value}.\n */\n\n /**\n * @ngdoc method\n * @name $http#put\n *\n * @description\n * Shortcut method to perform `PUT` request.\n *\n * @param {string} url Relative or absolute URL specifying the destination of the request\n * @param {*} data Request content\n * @param {Object=} config Optional configuration object. See {@link ng.$http#$http-arguments `$http()` arguments}.\n * @returns {HttpPromise} A Promise that will be resolved or rejected with a response object.\n * See {@link ng.$http#$http-returns `$http()` return value}.\n */\n\n /**\n * @ngdoc method\n * @name $http#patch\n *\n * @description\n * Shortcut method to perform `PATCH` request.\n *\n * @param {string} url Relative or absolute URL specifying the destination of the request\n * @param {*} data Request content\n * @param {Object=} config Optional configuration object. See {@link ng.$http#$http-arguments `$http()` arguments}.\n * @returns {HttpPromise} A Promise that will be resolved or rejected with a response object.\n * See {@link ng.$http#$http-returns `$http()` return value}.\n */\n createShortMethodsWithData('post', 'put', 'patch');\n\n /**\n * @ngdoc property\n * @name $http#defaults\n *\n * @description\n * Runtime equivalent of the `$httpProvider.defaults` property. Allows configuration of\n * default headers, withCredentials as well as request and response transformations.\n *\n * See \"Setting HTTP Headers\" and \"Transforming Requests and Responses\" sections above.\n */\n $http.defaults = defaults;\n\n\n return $http;\n\n\n function createShortMethods(names) {\n forEach(arguments, function(name) {\n $http[name] = function(url, config) {\n return $http(extend({}, config || {}, {\n method: name,\n url: url\n }));\n };\n });\n }\n\n\n function createShortMethodsWithData(name) {\n forEach(arguments, function(name) {\n $http[name] = function(url, data, config) {\n return $http(extend({}, config || {}, {\n method: name,\n url: url,\n data: data\n }));\n };\n });\n }\n\n\n /**\n * Makes the request.\n *\n * !!! ACCESSES CLOSURE VARS:\n * $httpBackend, defaults, $log, $rootScope, defaultCache, $http.pendingRequests\n */\n function sendReq(config, reqData) {\n var deferred = $q.defer(),\n promise = deferred.promise,\n cache,\n cachedResp,\n reqHeaders = config.headers,\n isJsonp = lowercase(config.method) === 'jsonp',\n url = config.url;\n\n if (isJsonp) {\n // JSONP is a pretty sensitive operation where we're allowing a script to have full access to\n // our DOM and JS space. So we require that the URL satisfies SCE.RESOURCE_URL.\n url = $sce.getTrustedResourceUrl(url);\n } else if (!isString(url)) {\n // If it is not a string then the URL must be a $sce trusted object\n url = $sce.valueOf(url);\n }\n\n url = buildUrl(url, config.paramSerializer(config.params));\n\n if (isJsonp) {\n // Check the url and add the JSONP callback placeholder\n url = sanitizeJsonpCallbackParam(url, config.jsonpCallbackParam);\n }\n\n $http.pendingRequests.push(config);\n promise.then(removePendingReq, removePendingReq);\n\n if ((config.cache || defaults.cache) && config.cache !== false &&\n (config.method === 'GET' || config.method === 'JSONP')) {\n cache = isObject(config.cache) ? config.cache\n : isObject(/** @type {?} */ (defaults).cache)\n ? /** @type {?} */ (defaults).cache\n : defaultCache;\n }\n\n if (cache) {\n cachedResp = cache.get(url);\n if (isDefined(cachedResp)) {\n if (isPromiseLike(cachedResp)) {\n // cached request has already been sent, but there is no response yet\n cachedResp.then(resolvePromiseWithResult, resolvePromiseWithResult);\n } else {\n // serving from cache\n if (isArray(cachedResp)) {\n resolvePromise(cachedResp[1], cachedResp[0], shallowCopy(cachedResp[2]), cachedResp[3], cachedResp[4]);\n } else {\n resolvePromise(cachedResp, 200, {}, 'OK', 'complete');\n }\n }\n } else {\n // put the promise for the non-transformed response into cache as a placeholder\n cache.put(url, promise);\n }\n }\n\n\n // if we won't have the response in cache, set the xsrf headers and\n // send the request to the backend\n if (isUndefined(cachedResp)) {\n var xsrfValue = urlIsAllowedOrigin(config.url)\n ? $$cookieReader()[config.xsrfCookieName || defaults.xsrfCookieName]\n : undefined;\n if (xsrfValue) {\n reqHeaders[(config.xsrfHeaderName || defaults.xsrfHeaderName)] = xsrfValue;\n }\n\n $httpBackend(config.method, url, reqData, done, reqHeaders, config.timeout,\n config.withCredentials, config.responseType,\n createApplyHandlers(config.eventHandlers),\n createApplyHandlers(config.uploadEventHandlers));\n }\n\n return promise;\n\n function createApplyHandlers(eventHandlers) {\n if (eventHandlers) {\n var applyHandlers = {};\n forEach(eventHandlers, function(eventHandler, key) {\n applyHandlers[key] = function(event) {\n if (useApplyAsync) {\n $rootScope.$applyAsync(callEventHandler);\n } else if ($rootScope.$$phase) {\n callEventHandler();\n } else {\n $rootScope.$apply(callEventHandler);\n }\n\n function callEventHandler() {\n eventHandler(event);\n }\n };\n });\n return applyHandlers;\n }\n }\n\n\n /**\n * Callback registered to $httpBackend():\n * - caches the response if desired\n * - resolves the raw $http promise\n * - calls $apply\n */\n function done(status, response, headersString, statusText, xhrStatus) {\n if (cache) {\n if (isSuccess(status)) {\n cache.put(url, [status, response, parseHeaders(headersString), statusText, xhrStatus]);\n } else {\n // remove promise from the cache\n cache.remove(url);\n }\n }\n\n function resolveHttpPromise() {\n resolvePromise(response, status, headersString, statusText, xhrStatus);\n }\n\n if (useApplyAsync) {\n $rootScope.$applyAsync(resolveHttpPromise);\n } else {\n resolveHttpPromise();\n if (!$rootScope.$$phase) $rootScope.$apply();\n }\n }\n\n\n /**\n * Resolves the raw $http promise.\n */\n function resolvePromise(response, status, headers, statusText, xhrStatus) {\n //status: HTTP response status code, 0, -1 (aborted by timeout / promise)\n status = status >= -1 ? status : 0;\n\n (isSuccess(status) ? deferred.resolve : deferred.reject)({\n data: response,\n status: status,\n headers: headersGetter(headers),\n config: config,\n statusText: statusText,\n xhrStatus: xhrStatus\n });\n }\n\n function resolvePromiseWithResult(result) {\n resolvePromise(result.data, result.status, shallowCopy(result.headers()), result.statusText, result.xhrStatus);\n }\n\n function removePendingReq() {\n var idx = $http.pendingRequests.indexOf(config);\n if (idx !== -1) $http.pendingRequests.splice(idx, 1);\n }\n }\n\n\n function buildUrl(url, serializedParams) {\n if (serializedParams.length > 0) {\n url += ((url.indexOf('?') === -1) ? '?' : '&') + serializedParams;\n }\n return url;\n }\n\n function sanitizeJsonpCallbackParam(url, cbKey) {\n var parts = url.split('?');\n if (parts.length > 2) {\n // Throw if the url contains more than one `?` query indicator\n throw $httpMinErr('badjsonp', 'Illegal use more than one \"?\", in url, \"{1}\"', url);\n }\n var params = parseKeyValue(parts[1]);\n forEach(params, function(value, key) {\n if (value === 'JSON_CALLBACK') {\n // Throw if the url already contains a reference to JSON_CALLBACK\n throw $httpMinErr('badjsonp', 'Illegal use of JSON_CALLBACK in url, \"{0}\"', url);\n }\n if (key === cbKey) {\n // Throw if the callback param was already provided\n throw $httpMinErr('badjsonp', 'Illegal use of callback param, \"{0}\", in url, \"{1}\"', cbKey, url);\n }\n });\n\n // Add in the JSON_CALLBACK callback param value\n url += ((url.indexOf('?') === -1) ? '?' : '&') + cbKey + '=JSON_CALLBACK';\n\n return url;\n }\n }];\n}\n\n/**\n * @ngdoc service\n * @name $xhrFactory\n * @this\n *\n * @description\n * Factory function used to create XMLHttpRequest objects.\n *\n * Replace or decorate this service to create your own custom XMLHttpRequest objects.\n *\n * ```\n * angular.module('myApp', [])\n * .factory('$xhrFactory', function() {\n * return function createXhr(method, url) {\n * return new window.XMLHttpRequest({mozSystem: true});\n * };\n * });\n * ```\n *\n * @param {string} method HTTP method of the request (GET, POST, PUT, ..)\n * @param {string} url URL of the request.\n */\nfunction $xhrFactoryProvider() {\n this.$get = function() {\n return function createXhr() {\n return new window.XMLHttpRequest();\n };\n };\n}\n\n/**\n * @ngdoc service\n * @name $httpBackend\n * @requires $jsonpCallbacks\n * @requires $document\n * @requires $xhrFactory\n * @this\n *\n * @description\n * HTTP backend used by the {@link ng.$http service} that delegates to\n * XMLHttpRequest object or JSONP and deals with browser incompatibilities.\n *\n * You should never need to use this service directly, instead use the higher-level abstractions:\n * {@link ng.$http $http} or {@link ngResource.$resource $resource}.\n *\n * During testing this implementation is swapped with {@link ngMock.$httpBackend mock\n * $httpBackend} which can be trained with responses.\n */\nfunction $HttpBackendProvider() {\n this.$get = ['$browser', '$jsonpCallbacks', '$document', '$xhrFactory', function($browser, $jsonpCallbacks, $document, $xhrFactory) {\n return createHttpBackend($browser, $xhrFactory, $browser.defer, $jsonpCallbacks, $document[0]);\n }];\n}\n\nfunction createHttpBackend($browser, createXhr, $browserDefer, callbacks, rawDocument) {\n // TODO(vojta): fix the signature\n return function(method, url, post, callback, headers, timeout, withCredentials, responseType, eventHandlers, uploadEventHandlers) {\n url = url || $browser.url();\n\n if (lowercase(method) === 'jsonp') {\n var callbackPath = callbacks.createCallback(url);\n var jsonpDone = jsonpReq(url, callbackPath, function(status, text) {\n // jsonpReq only ever sets status to 200 (OK), 404 (ERROR) or -1 (WAITING)\n var response = (status === 200) && callbacks.getResponse(callbackPath);\n completeRequest(callback, status, response, '', text, 'complete');\n callbacks.removeCallback(callbackPath);\n });\n } else {\n\n var xhr = createXhr(method, url);\n var abortedByTimeout = false;\n\n xhr.open(method, url, true);\n forEach(headers, function(value, key) {\n if (isDefined(value)) {\n xhr.setRequestHeader(key, value);\n }\n });\n\n xhr.onload = function requestLoaded() {\n var statusText = xhr.statusText || '';\n\n // responseText is the old-school way of retrieving response (supported by IE9)\n // response/responseType properties were introduced in XHR Level2 spec (supported by IE10)\n var response = ('response' in xhr) ? xhr.response : xhr.responseText;\n\n // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n var status = xhr.status === 1223 ? 204 : xhr.status;\n\n // fix status code when it is 0 (0 status is undocumented).\n // Occurs when accessing file resources or on Android 4.1 stock browser\n // while retrieving files from application cache.\n if (status === 0) {\n status = response ? 200 : urlResolve(url).protocol === 'file' ? 404 : 0;\n }\n\n completeRequest(callback,\n status,\n response,\n xhr.getAllResponseHeaders(),\n statusText,\n 'complete');\n };\n\n var requestError = function() {\n // The response is always empty\n // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error\n completeRequest(callback, -1, null, null, '', 'error');\n };\n\n var requestAborted = function() {\n completeRequest(callback, -1, null, null, '', abortedByTimeout ? 'timeout' : 'abort');\n };\n\n var requestTimeout = function() {\n // The response is always empty\n // See https://xhr.spec.whatwg.org/#request-error-steps and https://fetch.spec.whatwg.org/#concept-network-error\n completeRequest(callback, -1, null, null, '', 'timeout');\n };\n\n xhr.onerror = requestError;\n xhr.ontimeout = requestTimeout;\n xhr.onabort = requestAborted;\n\n forEach(eventHandlers, function(value, key) {\n xhr.addEventListener(key, value);\n });\n\n forEach(uploadEventHandlers, function(value, key) {\n xhr.upload.addEventListener(key, value);\n });\n\n if (withCredentials) {\n xhr.withCredentials = true;\n }\n\n if (responseType) {\n try {\n xhr.responseType = responseType;\n } catch (e) {\n // WebKit added support for the json responseType value on 09/03/2013\n // https://bugs.webkit.org/show_bug.cgi?id=73648. Versions of Safari prior to 7 are\n // known to throw when setting the value \"json\" as the response type. Other older\n // browsers implementing the responseType\n //\n // The json response type can be ignored if not supported, because JSON payloads are\n // parsed on the client-side regardless.\n if (responseType !== 'json') {\n throw e;\n }\n }\n }\n\n xhr.send(isUndefined(post) ? null : post);\n }\n\n // Since we are using xhr.abort() when a request times out, we have to set a flag that\n // indicates to requestAborted if the request timed out or was aborted.\n //\n // http.timeout = numerical timeout timeout\n // http.timeout = $timeout timeout\n // http.timeout = promise abort\n // xhr.abort() abort (The xhr object is normally inaccessible, but\n // can be exposed with the xhrFactory)\n if (timeout > 0) {\n var timeoutId = $browserDefer(function() {\n timeoutRequest('timeout');\n }, timeout);\n } else if (isPromiseLike(timeout)) {\n timeout.then(function() {\n timeoutRequest(isDefined(timeout.$$timeoutId) ? 'timeout' : 'abort');\n });\n }\n\n function timeoutRequest(reason) {\n abortedByTimeout = reason === 'timeout';\n if (jsonpDone) {\n jsonpDone();\n }\n if (xhr) {\n xhr.abort();\n }\n }\n\n function completeRequest(callback, status, response, headersString, statusText, xhrStatus) {\n // cancel timeout and subsequent timeout promise resolution\n if (isDefined(timeoutId)) {\n $browserDefer.cancel(timeoutId);\n }\n jsonpDone = xhr = null;\n\n callback(status, response, headersString, statusText, xhrStatus);\n }\n };\n\n function jsonpReq(url, callbackPath, done) {\n url = url.replace('JSON_CALLBACK', callbackPath);\n // we can't use jQuery/jqLite here because jQuery does crazy stuff with script elements, e.g.:\n // - fetches local scripts via XHR and evals them\n // - adds and immediately removes script elements from the document\n var script = rawDocument.createElement('script'), callback = null;\n script.type = 'text/javascript';\n script.src = url;\n script.async = true;\n\n callback = function(event) {\n script.removeEventListener('load', callback);\n script.removeEventListener('error', callback);\n rawDocument.body.removeChild(script);\n script = null;\n var status = -1;\n var text = 'unknown';\n\n if (event) {\n if (event.type === 'load' && !callbacks.wasCalled(callbackPath)) {\n event = { type: 'error' };\n }\n text = event.type;\n status = event.type === 'error' ? 404 : 200;\n }\n\n if (done) {\n done(status, text);\n }\n };\n\n script.addEventListener('load', callback);\n script.addEventListener('error', callback);\n rawDocument.body.appendChild(script);\n return callback;\n }\n}\n\nvar $interpolateMinErr = angular.$interpolateMinErr = minErr('$interpolate');\n$interpolateMinErr.throwNoconcat = function(text) {\n throw $interpolateMinErr('noconcat',\n 'Error while interpolating: {0}\\nStrict Contextual Escaping disallows ' +\n 'interpolations that concatenate multiple expressions when a trusted value is ' +\n 'required. See http://docs.angularjs.org/api/ng.$sce', text);\n};\n\n$interpolateMinErr.interr = function(text, err) {\n return $interpolateMinErr('interr', 'Can\\'t interpolate: {0}\\n{1}', text, err.toString());\n};\n\n/**\n * @ngdoc provider\n * @name $interpolateProvider\n * @this\n *\n * @description\n *\n * Used for configuring the interpolation markup. Defaults to `{{` and `}}`.\n *\n * <div class=\"alert alert-danger\">\n * This feature is sometimes used to mix different markup languages, e.g. to wrap an AngularJS\n * template within a Python Jinja template (or any other template language). Mixing templating\n * languages is **very dangerous**. The embedding template language will not safely escape AngularJS\n * expressions, so any user-controlled values in the template will cause Cross Site Scripting (XSS)\n * security bugs!\n * </div>\n *\n * @example\n<example name=\"custom-interpolation-markup\" module=\"customInterpolationApp\">\n<file name=\"index.html\">\n<script>\n var customInterpolationApp = angular.module('customInterpolationApp', []);\n\n customInterpolationApp.config(function($interpolateProvider) {\n $interpolateProvider.startSymbol('//');\n $interpolateProvider.endSymbol('//');\n });\n\n\n customInterpolationApp.controller('DemoController', function() {\n this.label = \"This binding is brought you by // interpolation symbols.\";\n });\n</script>\n<div ng-controller=\"DemoController as demo\">\n //demo.label//\n</div>\n</file>\n<file name=\"protractor.js\" type=\"protractor\">\n it('should interpolate binding with custom symbols', function() {\n expect(element(by.binding('demo.label')).getText()).toBe('This binding is brought you by // interpolation symbols.');\n });\n</file>\n</example>\n */\nfunction $InterpolateProvider() {\n var startSymbol = '{{';\n var endSymbol = '}}';\n\n /**\n * @ngdoc method\n * @name $interpolateProvider#startSymbol\n * @description\n * Symbol to denote start of expression in the interpolated string. Defaults to `{{`.\n *\n * @param {string=} value new value to set the starting symbol to.\n * @returns {string|self} Returns the symbol when used as getter and self if used as setter.\n */\n this.startSymbol = function(value) {\n if (value) {\n startSymbol = value;\n return this;\n }\n return startSymbol;\n };\n\n /**\n * @ngdoc method\n * @name $interpolateProvider#endSymbol\n * @description\n * Symbol to denote the end of expression in the interpolated string. Defaults to `}}`.\n *\n * @param {string=} value new value to set the ending symbol to.\n * @returns {string|self} Returns the symbol when used as getter and self if used as setter.\n */\n this.endSymbol = function(value) {\n if (value) {\n endSymbol = value;\n return this;\n }\n return endSymbol;\n };\n\n\n this.$get = ['$parse', '$exceptionHandler', '$sce', function($parse, $exceptionHandler, $sce) {\n var startSymbolLength = startSymbol.length,\n endSymbolLength = endSymbol.length,\n escapedStartRegexp = new RegExp(startSymbol.replace(/./g, escape), 'g'),\n escapedEndRegexp = new RegExp(endSymbol.replace(/./g, escape), 'g');\n\n function escape(ch) {\n return '\\\\\\\\\\\\' + ch;\n }\n\n function unescapeText(text) {\n return text.replace(escapedStartRegexp, startSymbol).\n replace(escapedEndRegexp, endSymbol);\n }\n\n // TODO: this is the same as the constantWatchDelegate in parse.js\n function constantWatchDelegate(scope, listener, objectEquality, constantInterp) {\n var unwatch = scope.$watch(function constantInterpolateWatch(scope) {\n unwatch();\n return constantInterp(scope);\n }, listener, objectEquality);\n return unwatch;\n }\n\n /**\n * @ngdoc service\n * @name $interpolate\n * @kind function\n *\n * @requires $parse\n * @requires $sce\n *\n * @description\n *\n * Compiles a string with markup into an interpolation function. This service is used by the\n * HTML {@link ng.$compile $compile} service for data binding. See\n * {@link ng.$interpolateProvider $interpolateProvider} for configuring the\n * interpolation markup.\n *\n *\n * ```js\n * var $interpolate = ...; // injected\n * var exp = $interpolate('Hello {{name | uppercase}}!');\n * expect(exp({name:'AngularJS'})).toEqual('Hello ANGULARJS!');\n * ```\n *\n * `$interpolate` takes an optional fourth argument, `allOrNothing`. If `allOrNothing` is\n * `true`, the interpolation function will return `undefined` unless all embedded expressions\n * evaluate to a value other than `undefined`.\n *\n * ```js\n * var $interpolate = ...; // injected\n * var context = {greeting: 'Hello', name: undefined };\n *\n * // default \"forgiving\" mode\n * var exp = $interpolate('{{greeting}} {{name}}!');\n * expect(exp(context)).toEqual('Hello !');\n *\n * // \"allOrNothing\" mode\n * exp = $interpolate('{{greeting}} {{name}}!', false, null, true);\n * expect(exp(context)).toBeUndefined();\n * context.name = 'AngularJS';\n * expect(exp(context)).toEqual('Hello AngularJS!');\n * ```\n *\n * `allOrNothing` is useful for interpolating URLs. `ngSrc` and `ngSrcset` use this behavior.\n *\n * #### Escaped Interpolation\n * $interpolate provides a mechanism for escaping interpolation markers. Start and end markers\n * can be escaped by preceding each of their characters with a REVERSE SOLIDUS U+005C (backslash).\n * It will be rendered as a regular start/end marker, and will not be interpreted as an expression\n * or binding.\n *\n * This enables web-servers to prevent script injection attacks and defacing attacks, to some\n * degree, while also enabling code examples to work without relying on the\n * {@link ng.directive:ngNonBindable ngNonBindable} directive.\n *\n * **For security purposes, it is strongly encouraged that web servers escape user-supplied data,\n * replacing angle brackets (&lt;, &gt;) with &amp;lt; and &amp;gt; respectively, and replacing all\n * interpolation start/end markers with their escaped counterparts.**\n *\n * Escaped interpolation markers are only replaced with the actual interpolation markers in rendered\n * output when the $interpolate service processes the text. So, for HTML elements interpolated\n * by {@link ng.$compile $compile}, or otherwise interpolated with the `mustHaveExpression` parameter\n * set to `true`, the interpolated text must contain an unescaped interpolation expression. As such,\n * this is typically useful only when user-data is used in rendering a template from the server, or\n * when otherwise untrusted data is used by a directive.\n *\n * <example name=\"interpolation\">\n * <file name=\"index.html\">\n * <div ng-init=\"username='A user'\">\n * <p ng-init=\"apptitle='Escaping demo'\">{{apptitle}}: \\{\\{ username = \"defaced value\"; \\}\\}\n * </p>\n * <p><strong>{{username}}</strong> attempts to inject code which will deface the\n * application, but fails to accomplish their task, because the server has correctly\n * escaped the interpolation start/end markers with REVERSE SOLIDUS U+005C (backslash)\n * characters.</p>\n * <p>Instead, the result of the attempted script injection is visible, and can be removed\n * from the database by an administrator.</p>\n * </div>\n * </file>\n * </example>\n *\n * @knownIssue\n * It is currently not possible for an interpolated expression to contain the interpolation end\n * symbol. For example, `{{ '}}' }}` will be incorrectly interpreted as `{{ ' }}` + `' }}`, i.e.\n * an interpolated expression consisting of a single-quote (`'`) and the `' }}` string.\n *\n * @knownIssue\n * All directives and components must use the standard `{{` `}}` interpolation symbols\n * in their templates. If you change the application interpolation symbols the {@link $compile}\n * service will attempt to denormalize the standard symbols to the custom symbols.\n * The denormalization process is not clever enough to know not to replace instances of the standard\n * symbols where they would not normally be treated as interpolation symbols. For example in the following\n * code snippet the closing braces of the literal object will get incorrectly denormalized:\n *\n * ```\n * <div data-context='{\"context\":{\"id\":3,\"type\":\"page\"}}\">\n * ```\n *\n * The workaround is to ensure that such instances are separated by whitespace:\n * ```\n * <div data-context='{\"context\":{\"id\":3,\"type\":\"page\"} }\">\n * ```\n *\n * See https://github.com/angular/angular.js/pull/14610#issuecomment-219401099 for more information.\n *\n * @param {string} text The text with markup to interpolate.\n * @param {boolean=} mustHaveExpression if set to true then the interpolation string must have\n * embedded expression in order to return an interpolation function. Strings with no\n * embedded expression will return null for the interpolation function.\n * @param {string=} trustedContext when provided, the returned function passes the interpolated\n * result through {@link ng.$sce#getTrusted $sce.getTrusted(interpolatedResult,\n * trustedContext)} before returning it. Refer to the {@link ng.$sce $sce} service that\n * provides Strict Contextual Escaping for details.\n * @param {boolean=} allOrNothing if `true`, then the returned function returns undefined\n * unless all embedded expressions evaluate to a value other than `undefined`.\n * @returns {function(context)} an interpolation function which is used to compute the\n * interpolated string. The function has these parameters:\n *\n * - `context`: evaluation context for all expressions embedded in the interpolated text\n */\n function $interpolate(text, mustHaveExpression, trustedContext, allOrNothing) {\n var contextAllowsConcatenation = trustedContext === $sce.URL || trustedContext === $sce.MEDIA_URL;\n\n // Provide a quick exit and simplified result function for text with no interpolation\n if (!text.length || text.indexOf(startSymbol) === -1) {\n if (mustHaveExpression) return;\n\n var unescapedText = unescapeText(text);\n if (contextAllowsConcatenation) {\n unescapedText = $sce.getTrusted(trustedContext, unescapedText);\n }\n var constantInterp = valueFn(unescapedText);\n constantInterp.exp = text;\n constantInterp.expressions = [];\n constantInterp.$$watchDelegate = constantWatchDelegate;\n\n return constantInterp;\n }\n\n allOrNothing = !!allOrNothing;\n var startIndex,\n endIndex,\n index = 0,\n expressions = [],\n parseFns,\n textLength = text.length,\n exp,\n concat = [],\n expressionPositions = [],\n singleExpression;\n\n\n while (index < textLength) {\n if (((startIndex = text.indexOf(startSymbol, index)) !== -1) &&\n ((endIndex = text.indexOf(endSymbol, startIndex + startSymbolLength)) !== -1)) {\n if (index !== startIndex) {\n concat.push(unescapeText(text.substring(index, startIndex)));\n }\n exp = text.substring(startIndex + startSymbolLength, endIndex);\n expressions.push(exp);\n index = endIndex + endSymbolLength;\n expressionPositions.push(concat.length);\n concat.push(''); // Placeholder that will get replaced with the evaluated expression.\n } else {\n // we did not find an interpolation, so we have to add the remainder to the separators array\n if (index !== textLength) {\n concat.push(unescapeText(text.substring(index)));\n }\n break;\n }\n }\n\n singleExpression = concat.length === 1 && expressionPositions.length === 1;\n // Intercept expression if we need to stringify concatenated inputs, which may be SCE trusted\n // objects rather than simple strings\n // (we don't modify the expression if the input consists of only a single trusted input)\n var interceptor = contextAllowsConcatenation && singleExpression ? undefined : parseStringifyInterceptor;\n parseFns = expressions.map(function(exp) { return $parse(exp, interceptor); });\n\n // Concatenating expressions makes it hard to reason about whether some combination of\n // concatenated values are unsafe to use and could easily lead to XSS. By requiring that a\n // single expression be used for some $sce-managed secure contexts (RESOURCE_URLs mostly),\n // we ensure that the value that's used is assigned or constructed by some JS code somewhere\n // that is more testable or make it obvious that you bound the value to some user controlled\n // value. This helps reduce the load when auditing for XSS issues.\n\n // Note that URL and MEDIA_URL $sce contexts do not need this, since `$sce` can sanitize the values\n // passed to it. In that case, `$sce.getTrusted` will be called on either the single expression\n // or on the overall concatenated string (losing trusted types used in the mix, by design).\n // Both these methods will sanitize plain strings. Also, HTML could be included, but since it's\n // only used in srcdoc attributes, this would not be very useful.\n\n if (!mustHaveExpression || expressions.length) {\n var compute = function(values) {\n for (var i = 0, ii = expressions.length; i < ii; i++) {\n if (allOrNothing && isUndefined(values[i])) return;\n concat[expressionPositions[i]] = values[i];\n }\n\n if (contextAllowsConcatenation) {\n // If `singleExpression` then `concat[0]` might be a \"trusted\" value or `null`, rather than a string\n return $sce.getTrusted(trustedContext, singleExpression ? concat[0] : concat.join(''));\n } else if (trustedContext && concat.length > 1) {\n // This context does not allow more than one part, e.g. expr + string or exp + exp.\n $interpolateMinErr.throwNoconcat(text);\n }\n // In an unprivileged context or only one part: just concatenate and return.\n return concat.join('');\n };\n\n return extend(function interpolationFn(context) {\n var i = 0;\n var ii = expressions.length;\n var values = new Array(ii);\n\n try {\n for (; i < ii; i++) {\n values[i] = parseFns[i](context);\n }\n\n return compute(values);\n } catch (err) {\n $exceptionHandler($interpolateMinErr.interr(text, err));\n }\n\n }, {\n // all of these properties are undocumented for now\n exp: text, //just for compatibility with regular watchers created via $watch\n expressions: expressions,\n $$watchDelegate: function(scope, listener) {\n var lastValue;\n return scope.$watchGroup(parseFns, /** @this */ function interpolateFnWatcher(values, oldValues) {\n var currValue = compute(values);\n listener.call(this, currValue, values !== oldValues ? lastValue : currValue, scope);\n lastValue = currValue;\n });\n }\n });\n }\n\n function parseStringifyInterceptor(value) {\n try {\n // In concatenable contexts, getTrusted comes at the end, to avoid sanitizing individual\n // parts of a full URL. We don't care about losing the trustedness here.\n // In non-concatenable contexts, where there is only one expression, this interceptor is\n // not applied to the expression.\n value = (trustedContext && !contextAllowsConcatenation) ?\n $sce.getTrusted(trustedContext, value) :\n $sce.valueOf(value);\n return allOrNothing && !isDefined(value) ? value : stringify(value);\n } catch (err) {\n $exceptionHandler($interpolateMinErr.interr(text, err));\n }\n }\n }\n\n\n /**\n * @ngdoc method\n * @name $interpolate#startSymbol\n * @description\n * Symbol to denote the start of expression in the interpolated string. Defaults to `{{`.\n *\n * Use {@link ng.$interpolateProvider#startSymbol `$interpolateProvider.startSymbol`} to change\n * the symbol.\n *\n * @returns {string} start symbol.\n */\n $interpolate.startSymbol = function() {\n return startSymbol;\n };\n\n\n /**\n * @ngdoc method\n * @name $interpolate#endSymbol\n * @description\n * Symbol to denote the end of expression in the interpolated string. Defaults to `}}`.\n *\n * Use {@link ng.$interpolateProvider#endSymbol `$interpolateProvider.endSymbol`} to change\n * the symbol.\n *\n * @returns {string} end symbol.\n */\n $interpolate.endSymbol = function() {\n return endSymbol;\n };\n\n return $interpolate;\n }];\n}\n\nvar $intervalMinErr = minErr('$interval');\n\n/** @this */\nfunction $IntervalProvider() {\n this.$get = ['$$intervalFactory', '$window',\n function($$intervalFactory, $window) {\n var intervals = {};\n var setIntervalFn = function(tick, delay, deferred) {\n var id = $window.setInterval(tick, delay);\n intervals[id] = deferred;\n return id;\n };\n var clearIntervalFn = function(id) {\n $window.clearInterval(id);\n delete intervals[id];\n };\n\n /**\n * @ngdoc service\n * @name $interval\n *\n * @description\n * AngularJS's wrapper for `window.setInterval`. The `fn` function is executed every `delay`\n * milliseconds.\n *\n * The return value of registering an interval function is a promise. This promise will be\n * notified upon each tick of the interval, and will be resolved after `count` iterations, or\n * run indefinitely if `count` is not defined. The value of the notification will be the\n * number of iterations that have run.\n * To cancel an interval, call `$interval.cancel(promise)`.\n *\n * In tests you can use {@link ngMock.$interval#flush `$interval.flush(millis)`} to\n * move forward by `millis` milliseconds and trigger any functions scheduled to run in that\n * time.\n *\n * <div class=\"alert alert-warning\">\n * **Note**: Intervals created by this service must be explicitly destroyed when you are finished\n * with them. In particular they are not automatically destroyed when a controller's scope or a\n * directive's element are destroyed.\n * You should take this into consideration and make sure to always cancel the interval at the\n * appropriate moment. See the example below for more details on how and when to do this.\n * </div>\n *\n * @param {function()} fn A function that should be called repeatedly. If no additional arguments\n * are passed (see below), the function is called with the current iteration count.\n * @param {number} delay Number of milliseconds between each function call.\n * @param {number=} [count=0] Number of times to repeat. If not set, or 0, will repeat\n * indefinitely.\n * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise\n * will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block.\n * @param {...*=} Pass additional parameters to the executed function.\n * @returns {promise} A promise which will be notified on each iteration. It will resolve once all iterations of the interval complete.\n *\n * @example\n * <example module=\"intervalExample\" name=\"interval-service\">\n * <file name=\"index.html\">\n * <script>\n * angular.module('intervalExample', [])\n * .controller('ExampleController', ['$scope', '$interval',\n * function($scope, $interval) {\n * $scope.format = 'M/d/yy h:mm:ss a';\n * $scope.blood_1 = 100;\n * $scope.blood_2 = 120;\n *\n * var stop;\n * $scope.fight = function() {\n * // Don't start a new fight if we are already fighting\n * if ( angular.isDefined(stop) ) return;\n *\n * stop = $interval(function() {\n * if ($scope.blood_1 > 0 && $scope.blood_2 > 0) {\n * $scope.blood_1 = $scope.blood_1 - 3;\n * $scope.blood_2 = $scope.blood_2 - 4;\n * } else {\n * $scope.stopFight();\n * }\n * }, 100);\n * };\n *\n * $scope.stopFight = function() {\n * if (angular.isDefined(stop)) {\n * $interval.cancel(stop);\n * stop = undefined;\n * }\n * };\n *\n * $scope.resetFight = function() {\n * $scope.blood_1 = 100;\n * $scope.blood_2 = 120;\n * };\n *\n * $scope.$on('$destroy', function() {\n * // Make sure that the interval is destroyed too\n * $scope.stopFight();\n * });\n * }])\n * // Register the 'myCurrentTime' directive factory method.\n * // We inject $interval and dateFilter service since the factory method is DI.\n * .directive('myCurrentTime', ['$interval', 'dateFilter',\n * function($interval, dateFilter) {\n * // return the directive link function. (compile function not needed)\n * return function(scope, element, attrs) {\n * var format, // date format\n * stopTime; // so that we can cancel the time updates\n *\n * // used to update the UI\n * function updateTime() {\n * element.text(dateFilter(new Date(), format));\n * }\n *\n * // watch the expression, and update the UI on change.\n * scope.$watch(attrs.myCurrentTime, function(value) {\n * format = value;\n * updateTime();\n * });\n *\n * stopTime = $interval(updateTime, 1000);\n *\n * // listen on DOM destroy (removal) event, and cancel the next UI update\n * // to prevent updating time after the DOM element was removed.\n * element.on('$destroy', function() {\n * $interval.cancel(stopTime);\n * });\n * }\n * }]);\n * </script>\n *\n * <div>\n * <div ng-controller=\"ExampleController\">\n * <label>Date format: <input ng-model=\"format\"></label> <hr/>\n * Current time is: <span my-current-time=\"format\"></span>\n * <hr/>\n * Blood 1 : <font color='red'>{{blood_1}}</font>\n * Blood 2 : <font color='red'>{{blood_2}}</font>\n * <button type=\"button\" data-ng-click=\"fight()\">Fight</button>\n * <button type=\"button\" data-ng-click=\"stopFight()\">StopFight</button>\n * <button type=\"button\" data-ng-click=\"resetFight()\">resetFight</button>\n * </div>\n * </div>\n *\n * </file>\n * </example>\n */\n var interval = $$intervalFactory(setIntervalFn, clearIntervalFn);\n\n /**\n * @ngdoc method\n * @name $interval#cancel\n *\n * @description\n * Cancels a task associated with the `promise`.\n *\n * @param {Promise=} promise returned by the `$interval` function.\n * @returns {boolean} Returns `true` if the task was successfully canceled.\n */\n interval.cancel = function(promise) {\n if (!promise) return false;\n\n if (!promise.hasOwnProperty('$$intervalId')) {\n throw $intervalMinErr('badprom',\n '`$interval.cancel()` called with a promise that was not generated by `$interval()`.');\n }\n\n if (!intervals.hasOwnProperty(promise.$$intervalId)) return false;\n\n var id = promise.$$intervalId;\n var deferred = intervals[id];\n\n // Interval cancels should not report an unhandled promise.\n markQExceptionHandled(deferred.promise);\n deferred.reject('canceled');\n clearIntervalFn(id);\n\n return true;\n };\n\n return interval;\n }];\n}\n\n/** @this */\nfunction $$IntervalFactoryProvider() {\n this.$get = ['$browser', '$q', '$$q', '$rootScope',\n function($browser, $q, $$q, $rootScope) {\n return function intervalFactory(setIntervalFn, clearIntervalFn) {\n return function intervalFn(fn, delay, count, invokeApply) {\n var hasParams = arguments.length > 4,\n args = hasParams ? sliceArgs(arguments, 4) : [],\n iteration = 0,\n skipApply = isDefined(invokeApply) && !invokeApply,\n deferred = (skipApply ? $$q : $q).defer(),\n promise = deferred.promise;\n\n count = isDefined(count) ? count : 0;\n\n function callback() {\n if (!hasParams) {\n fn(iteration);\n } else {\n fn.apply(null, args);\n }\n }\n\n function tick() {\n if (skipApply) {\n $browser.defer(callback);\n } else {\n $rootScope.$evalAsync(callback);\n }\n deferred.notify(iteration++);\n\n if (count > 0 && iteration >= count) {\n deferred.resolve(iteration);\n clearIntervalFn(promise.$$intervalId);\n }\n\n if (!skipApply) $rootScope.$apply();\n }\n\n promise.$$intervalId = setIntervalFn(tick, delay, deferred, skipApply);\n\n return promise;\n };\n };\n }];\n}\n\n/**\n * @ngdoc service\n * @name $jsonpCallbacks\n * @requires $window\n * @description\n * This service handles the lifecycle of callbacks to handle JSONP requests.\n * Override this service if you wish to customise where the callbacks are stored and\n * how they vary compared to the requested url.\n */\nvar $jsonpCallbacksProvider = /** @this */ function() {\n this.$get = function() {\n var callbacks = angular.callbacks;\n var callbackMap = {};\n\n function createCallback(callbackId) {\n var callback = function(data) {\n callback.data = data;\n callback.called = true;\n };\n callback.id = callbackId;\n return callback;\n }\n\n return {\n /**\n * @ngdoc method\n * @name $jsonpCallbacks#createCallback\n * @param {string} url the url of the JSONP request\n * @returns {string} the callback path to send to the server as part of the JSONP request\n * @description\n * {@link $httpBackend} calls this method to create a callback and get hold of the path to the callback\n * to pass to the server, which will be used to call the callback with its payload in the JSONP response.\n */\n createCallback: function(url) {\n var callbackId = '_' + (callbacks.$$counter++).toString(36);\n var callbackPath = 'angular.callbacks.' + callbackId;\n var callback = createCallback(callbackId);\n callbackMap[callbackPath] = callbacks[callbackId] = callback;\n return callbackPath;\n },\n /**\n * @ngdoc method\n * @name $jsonpCallbacks#wasCalled\n * @param {string} callbackPath the path to the callback that was sent in the JSONP request\n * @returns {boolean} whether the callback has been called, as a result of the JSONP response\n * @description\n * {@link $httpBackend} calls this method to find out whether the JSONP response actually called the\n * callback that was passed in the request.\n */\n wasCalled: function(callbackPath) {\n return callbackMap[callbackPath].called;\n },\n /**\n * @ngdoc method\n * @name $jsonpCallbacks#getResponse\n * @param {string} callbackPath the path to the callback that was sent in the JSONP request\n * @returns {*} the data received from the response via the registered callback\n * @description\n * {@link $httpBackend} calls this method to get hold of the data that was provided to the callback\n * in the JSONP response.\n */\n getResponse: function(callbackPath) {\n return callbackMap[callbackPath].data;\n },\n /**\n * @ngdoc method\n * @name $jsonpCallbacks#removeCallback\n * @param {string} callbackPath the path to the callback that was sent in the JSONP request\n * @description\n * {@link $httpBackend} calls this method to remove the callback after the JSONP request has\n * completed or timed-out.\n */\n removeCallback: function(callbackPath) {\n var callback = callbackMap[callbackPath];\n delete callbacks[callback.id];\n delete callbackMap[callbackPath];\n }\n };\n };\n};\n\n/**\n * @ngdoc service\n * @name $locale\n *\n * @description\n * $locale service provides localization rules for various AngularJS components. As of right now the\n * only public api is:\n *\n * * `id` – `{string}` – locale id formatted as `languageId-countryId` (e.g. `en-us`)\n */\n\n/* global stripHash: true */\n\nvar PATH_MATCH = /^([^?#]*)(\\?([^#]*))?(#(.*))?$/,\n DEFAULT_PORTS = {'http': 80, 'https': 443, 'ftp': 21};\nvar $locationMinErr = minErr('$location');\n\n\n/**\n * Encode path using encodeUriSegment, ignoring forward slashes\n *\n * @param {string} path Path to encode\n * @returns {string}\n */\nfunction encodePath(path) {\n var segments = path.split('/'),\n i = segments.length;\n\n while (i--) {\n // decode forward slashes to prevent them from being double encoded\n segments[i] = encodeUriSegment(segments[i].replace(/%2F/g, '/'));\n }\n\n return segments.join('/');\n}\n\nfunction decodePath(path, html5Mode) {\n var segments = path.split('/'),\n i = segments.length;\n\n while (i--) {\n segments[i] = decodeURIComponent(segments[i]);\n if (html5Mode) {\n // encode forward slashes to prevent them from being mistaken for path separators\n segments[i] = segments[i].replace(/\\//g, '%2F');\n }\n }\n\n return segments.join('/');\n}\n\nfunction normalizePath(pathValue, searchValue, hashValue) {\n var search = toKeyValue(searchValue),\n hash = hashValue ? '#' + encodeUriSegment(hashValue) : '',\n path = encodePath(pathValue);\n\n return path + (search ? '?' + search : '') + hash;\n}\n\nfunction parseAbsoluteUrl(absoluteUrl, locationObj) {\n var parsedUrl = urlResolve(absoluteUrl);\n\n locationObj.$$protocol = parsedUrl.protocol;\n locationObj.$$host = parsedUrl.hostname;\n locationObj.$$port = toInt(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null;\n}\n\nvar DOUBLE_SLASH_REGEX = /^\\s*[\\\\/]{2,}/;\nfunction parseAppUrl(url, locationObj, html5Mode) {\n\n if (DOUBLE_SLASH_REGEX.test(url)) {\n throw $locationMinErr('badpath', 'Invalid url \"{0}\".', url);\n }\n\n var prefixed = (url.charAt(0) !== '/');\n if (prefixed) {\n url = '/' + url;\n }\n var match = urlResolve(url);\n var path = prefixed && match.pathname.charAt(0) === '/' ? match.pathname.substring(1) : match.pathname;\n locationObj.$$path = decodePath(path, html5Mode);\n locationObj.$$search = parseKeyValue(match.search);\n locationObj.$$hash = decodeURIComponent(match.hash);\n\n // make sure path starts with '/';\n if (locationObj.$$path && locationObj.$$path.charAt(0) !== '/') {\n locationObj.$$path = '/' + locationObj.$$path;\n }\n}\n\nfunction startsWith(str, search) {\n return str.slice(0, search.length) === search;\n}\n\n/**\n *\n * @param {string} base\n * @param {string} url\n * @returns {string} returns text from `url` after `base` or `undefined` if it does not begin with\n * the expected string.\n */\nfunction stripBaseUrl(base, url) {\n if (startsWith(url, base)) {\n return url.substr(base.length);\n }\n}\n\nfunction stripHash(url) {\n var index = url.indexOf('#');\n return index === -1 ? url : url.substr(0, index);\n}\n\nfunction stripFile(url) {\n return url.substr(0, stripHash(url).lastIndexOf('/') + 1);\n}\n\n/* return the server only (scheme://host:port) */\nfunction serverBase(url) {\n return url.substring(0, url.indexOf('/', url.indexOf('//') + 2));\n}\n\n\n/**\n * LocationHtml5Url represents a URL\n * This object is exposed as $location service when HTML5 mode is enabled and supported\n *\n * @constructor\n * @param {string} appBase application base URL\n * @param {string} appBaseNoFile application base URL stripped of any filename\n * @param {string} basePrefix URL path prefix\n */\nfunction LocationHtml5Url(appBase, appBaseNoFile, basePrefix) {\n this.$$html5 = true;\n basePrefix = basePrefix || '';\n parseAbsoluteUrl(appBase, this);\n\n\n /**\n * Parse given HTML5 (regular) URL string into properties\n * @param {string} url HTML5 URL\n * @private\n */\n this.$$parse = function(url) {\n var pathUrl = stripBaseUrl(appBaseNoFile, url);\n if (!isString(pathUrl)) {\n throw $locationMinErr('ipthprfx', 'Invalid url \"{0}\", missing path prefix \"{1}\".', url,\n appBaseNoFile);\n }\n\n parseAppUrl(pathUrl, this, true);\n\n if (!this.$$path) {\n this.$$path = '/';\n }\n\n this.$$compose();\n };\n\n this.$$normalizeUrl = function(url) {\n return appBaseNoFile + url.substr(1); // first char is always '/'\n };\n\n this.$$parseLinkUrl = function(url, relHref) {\n if (relHref && relHref[0] === '#') {\n // special case for links to hash fragments:\n // keep the old url and only replace the hash fragment\n this.hash(relHref.slice(1));\n return true;\n }\n var appUrl, prevAppUrl;\n var rewrittenUrl;\n\n\n if (isDefined(appUrl = stripBaseUrl(appBase, url))) {\n prevAppUrl = appUrl;\n if (basePrefix && isDefined(appUrl = stripBaseUrl(basePrefix, appUrl))) {\n rewrittenUrl = appBaseNoFile + (stripBaseUrl('/', appUrl) || appUrl);\n } else {\n rewrittenUrl = appBase + prevAppUrl;\n }\n } else if (isDefined(appUrl = stripBaseUrl(appBaseNoFile, url))) {\n rewrittenUrl = appBaseNoFile + appUrl;\n } else if (appBaseNoFile === url + '/') {\n rewrittenUrl = appBaseNoFile;\n }\n if (rewrittenUrl) {\n this.$$parse(rewrittenUrl);\n }\n return !!rewrittenUrl;\n };\n}\n\n\n/**\n * LocationHashbangUrl represents URL\n * This object is exposed as $location service when developer doesn't opt into html5 mode.\n * It also serves as the base class for html5 mode fallback on legacy browsers.\n *\n * @constructor\n * @param {string} appBase application base URL\n * @param {string} appBaseNoFile application base URL stripped of any filename\n * @param {string} hashPrefix hashbang prefix\n */\nfunction LocationHashbangUrl(appBase, appBaseNoFile, hashPrefix) {\n\n parseAbsoluteUrl(appBase, this);\n\n\n /**\n * Parse given hashbang URL into properties\n * @param {string} url Hashbang URL\n * @private\n */\n this.$$parse = function(url) {\n var withoutBaseUrl = stripBaseUrl(appBase, url) || stripBaseUrl(appBaseNoFile, url);\n var withoutHashUrl;\n\n if (!isUndefined(withoutBaseUrl) && withoutBaseUrl.charAt(0) === '#') {\n\n // The rest of the URL starts with a hash so we have\n // got either a hashbang path or a plain hash fragment\n withoutHashUrl = stripBaseUrl(hashPrefix, withoutBaseUrl);\n if (isUndefined(withoutHashUrl)) {\n // There was no hashbang prefix so we just have a hash fragment\n withoutHashUrl = withoutBaseUrl;\n }\n\n } else {\n // There was no hashbang path nor hash fragment:\n // If we are in HTML5 mode we use what is left as the path;\n // Otherwise we ignore what is left\n if (this.$$html5) {\n withoutHashUrl = withoutBaseUrl;\n } else {\n withoutHashUrl = '';\n if (isUndefined(withoutBaseUrl)) {\n appBase = url;\n /** @type {?} */ (this).replace();\n }\n }\n }\n\n parseAppUrl(withoutHashUrl, this, false);\n\n this.$$path = removeWindowsDriveName(this.$$path, withoutHashUrl, appBase);\n\n this.$$compose();\n\n /*\n * In Windows, on an anchor node on documents loaded from\n * the filesystem, the browser will return a pathname\n * prefixed with the drive name ('/C:/path') when a\n * pathname without a drive is set:\n * * a.setAttribute('href', '/foo')\n * * a.pathname === '/C:/foo' //true\n *\n * Inside of AngularJS, we're always using pathnames that\n * do not include drive names for routing.\n */\n function removeWindowsDriveName(path, url, base) {\n /*\n Matches paths for file protocol on windows,\n such as /C:/foo/bar, and captures only /foo/bar.\n */\n var windowsFilePathExp = /^\\/[A-Z]:(\\/.*)/;\n\n var firstPathSegmentMatch;\n\n //Get the relative path from the input URL.\n if (startsWith(url, base)) {\n url = url.replace(base, '');\n }\n\n // The input URL intentionally contains a first path segment that ends with a colon.\n if (windowsFilePathExp.exec(url)) {\n return path;\n }\n\n firstPathSegmentMatch = windowsFilePathExp.exec(path);\n return firstPathSegmentMatch ? firstPathSegmentMatch[1] : path;\n }\n };\n\n this.$$normalizeUrl = function(url) {\n return appBase + (url ? hashPrefix + url : '');\n };\n\n this.$$parseLinkUrl = function(url, relHref) {\n if (stripHash(appBase) === stripHash(url)) {\n this.$$parse(url);\n return true;\n }\n return false;\n };\n}\n\n\n/**\n * LocationHashbangUrl represents URL\n * This object is exposed as $location service when html5 history api is enabled but the browser\n * does not support it.\n *\n * @constructor\n * @param {string} appBase application base URL\n * @param {string} appBaseNoFile application base URL stripped of any filename\n * @param {string} hashPrefix hashbang prefix\n */\nfunction LocationHashbangInHtml5Url(appBase, appBaseNoFile, hashPrefix) {\n this.$$html5 = true;\n LocationHashbangUrl.apply(this, arguments);\n\n this.$$parseLinkUrl = function(url, relHref) {\n if (relHref && relHref[0] === '#') {\n // special case for links to hash fragments:\n // keep the old url and only replace the hash fragment\n this.hash(relHref.slice(1));\n return true;\n }\n\n var rewrittenUrl;\n var appUrl;\n\n if (appBase === stripHash(url)) {\n rewrittenUrl = url;\n } else if ((appUrl = stripBaseUrl(appBaseNoFile, url))) {\n rewrittenUrl = appBase + hashPrefix + appUrl;\n } else if (appBaseNoFile === url + '/') {\n rewrittenUrl = appBaseNoFile;\n }\n if (rewrittenUrl) {\n this.$$parse(rewrittenUrl);\n }\n return !!rewrittenUrl;\n };\n\n this.$$normalizeUrl = function(url) {\n // include hashPrefix in $$absUrl when $$url is empty so IE9 does not reload page because of removal of '#'\n return appBase + hashPrefix + url;\n };\n}\n\n\nvar locationPrototype = {\n\n /**\n * Ensure absolute URL is initialized.\n * @private\n */\n $$absUrl:'',\n\n /**\n * Are we in html5 mode?\n * @private\n */\n $$html5: false,\n\n /**\n * Has any change been replacing?\n * @private\n */\n $$replace: false,\n\n /**\n * Compose url and update `url` and `absUrl` property\n * @private\n */\n $$compose: function() {\n this.$$url = normalizePath(this.$$path, this.$$search, this.$$hash);\n this.$$absUrl = this.$$normalizeUrl(this.$$url);\n this.$$urlUpdatedByLocation = true;\n },\n\n /**\n * @ngdoc method\n * @name $location#absUrl\n *\n * @description\n * This method is getter only.\n *\n * Return full URL representation with all segments encoded according to rules specified in\n * [RFC 3986](http://www.ietf.org/rfc/rfc3986.txt).\n *\n *\n * ```js\n * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo\n * var absUrl = $location.absUrl();\n * // => \"http://example.com/#/some/path?foo=bar&baz=xoxo\"\n * ```\n *\n * @return {string} full URL\n */\n absUrl: locationGetter('$$absUrl'),\n\n /**\n * @ngdoc method\n * @name $location#url\n *\n * @description\n * This method is getter / setter.\n *\n * Return URL (e.g. `/path?a=b#hash`) when called without any parameter.\n *\n * Change path, search and hash, when called with parameter and return `$location`.\n *\n *\n * ```js\n * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo\n * var url = $location.url();\n * // => \"/some/path?foo=bar&baz=xoxo\"\n * ```\n *\n * @param {string=} url New URL without base prefix (e.g. `/path?a=b#hash`)\n * @return {string} url\n */\n url: function(url) {\n if (isUndefined(url)) {\n return this.$$url;\n }\n\n var match = PATH_MATCH.exec(url);\n if (match[1] || url === '') this.path(decodeURIComponent(match[1]));\n if (match[2] || match[1] || url === '') this.search(match[3] || '');\n this.hash(match[5] || '');\n\n return this;\n },\n\n /**\n * @ngdoc method\n * @name $location#protocol\n *\n * @description\n * This method is getter only.\n *\n * Return protocol of current URL.\n *\n *\n * ```js\n * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo\n * var protocol = $location.protocol();\n * // => \"http\"\n * ```\n *\n * @return {string} protocol of current URL\n */\n protocol: locationGetter('$$protocol'),\n\n /**\n * @ngdoc method\n * @name $location#host\n *\n * @description\n * This method is getter only.\n *\n * Return host of current URL.\n *\n * Note: compared to the non-AngularJS version `location.host` which returns `hostname:port`, this returns the `hostname` portion only.\n *\n *\n * ```js\n * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo\n * var host = $location.host();\n * // => \"example.com\"\n *\n * // given URL http://user:password@example.com:8080/#/some/path?foo=bar&baz=xoxo\n * host = $location.host();\n * // => \"example.com\"\n * host = location.host;\n * // => \"example.com:8080\"\n * ```\n *\n * @return {string} host of current URL.\n */\n host: locationGetter('$$host'),\n\n /**\n * @ngdoc method\n * @name $location#port\n *\n * @description\n * This method is getter only.\n *\n * Return port of current URL.\n *\n *\n * ```js\n * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo\n * var port = $location.port();\n * // => 80\n * ```\n *\n * @return {Number} port\n */\n port: locationGetter('$$port'),\n\n /**\n * @ngdoc method\n * @name $location#path\n *\n * @description\n * This method is getter / setter.\n *\n * Return path of current URL when called without any parameter.\n *\n * Change path when called with parameter and return `$location`.\n *\n * Note: Path should always begin with forward slash (/), this method will add the forward slash\n * if it is missing.\n *\n *\n * ```js\n * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo\n * var path = $location.path();\n * // => \"/some/path\"\n * ```\n *\n * @param {(string|number)=} path New path\n * @return {(string|object)} path if called with no parameters, or `$location` if called with a parameter\n */\n path: locationGetterSetter('$$path', function(path) {\n path = path !== null ? path.toString() : '';\n return path.charAt(0) === '/' ? path : '/' + path;\n }),\n\n /**\n * @ngdoc method\n * @name $location#search\n *\n * @description\n * This method is getter / setter.\n *\n * Return search part (as object) of current URL when called without any parameter.\n *\n * Change search part when called with parameter and return `$location`.\n *\n *\n * ```js\n * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo\n * var searchObject = $location.search();\n * // => {foo: 'bar', baz: 'xoxo'}\n *\n * // set foo to 'yipee'\n * $location.search('foo', 'yipee');\n * // $location.search() => {foo: 'yipee', baz: 'xoxo'}\n * ```\n *\n * @param {string|Object.<string>|Object.<Array.<string>>} search New search params - string or\n * hash object.\n *\n * When called with a single argument the method acts as a setter, setting the `search` component\n * of `$location` to the specified value.\n *\n * If the argument is a hash object containing an array of values, these values will be encoded\n * as duplicate search parameters in the URL.\n *\n * @param {(string|Number|Array<string>|boolean)=} paramValue If `search` is a string or number, then `paramValue`\n * will override only a single search property.\n *\n * If `paramValue` is an array, it will override the property of the `search` component of\n * `$location` specified via the first argument.\n *\n * If `paramValue` is `null`, the property specified via the first argument will be deleted.\n *\n * If `paramValue` is `true`, the property specified via the first argument will be added with no\n * value nor trailing equal sign.\n *\n * @return {Object} If called with no arguments returns the parsed `search` object. If called with\n * one or more arguments returns `$location` object itself.\n */\n search: function(search, paramValue) {\n switch (arguments.length) {\n case 0:\n return this.$$search;\n case 1:\n if (isString(search) || isNumber(search)) {\n search = search.toString();\n this.$$search = parseKeyValue(search);\n } else if (isObject(search)) {\n search = copy(search, {});\n // remove object undefined or null properties\n forEach(search, function(value, key) {\n if (value == null) delete search[key];\n });\n\n this.$$search = search;\n } else {\n throw $locationMinErr('isrcharg',\n 'The first argument of the `$location#search()` call must be a string or an object.');\n }\n break;\n default:\n if (isUndefined(paramValue) || paramValue === null) {\n delete this.$$search[search];\n } else {\n this.$$search[search] = paramValue;\n }\n }\n\n this.$$compose();\n return this;\n },\n\n /**\n * @ngdoc method\n * @name $location#hash\n *\n * @description\n * This method is getter / setter.\n *\n * Returns the hash fragment when called without any parameters.\n *\n * Changes the hash fragment when called with a parameter and returns `$location`.\n *\n *\n * ```js\n * // given URL http://example.com/#/some/path?foo=bar&baz=xoxo#hashValue\n * var hash = $location.hash();\n * // => \"hashValue\"\n * ```\n *\n * @param {(string|number)=} hash New hash fragment\n * @return {string} hash\n */\n hash: locationGetterSetter('$$hash', function(hash) {\n return hash !== null ? hash.toString() : '';\n }),\n\n /**\n * @ngdoc method\n * @name $location#replace\n *\n * @description\n * If called, all changes to $location during the current `$digest` will replace the current history\n * record, instead of adding a new one.\n */\n replace: function() {\n this.$$replace = true;\n return this;\n }\n};\n\nforEach([LocationHashbangInHtml5Url, LocationHashbangUrl, LocationHtml5Url], function(Location) {\n Location.prototype = Object.create(locationPrototype);\n\n /**\n * @ngdoc method\n * @name $location#state\n *\n * @description\n * This method is getter / setter.\n *\n * Return the history state object when called without any parameter.\n *\n * Change the history state object when called with one parameter and return `$location`.\n * The state object is later passed to `pushState` or `replaceState`.\n *\n * NOTE: This method is supported only in HTML5 mode and only in browsers supporting\n * the HTML5 History API (i.e. methods `pushState` and `replaceState`). If you need to support\n * older browsers (like IE9 or Android < 4.0), don't use this method.\n *\n * @param {object=} state State object for pushState or replaceState\n * @return {object} state\n */\n Location.prototype.state = function(state) {\n if (!arguments.length) {\n return this.$$state;\n }\n\n if (Location !== LocationHtml5Url || !this.$$html5) {\n throw $locationMinErr('nostate', 'History API state support is available only ' +\n 'in HTML5 mode and only in browsers supporting HTML5 History API');\n }\n // The user might modify `stateObject` after invoking `$location.state(stateObject)`\n // but we're changing the $$state reference to $browser.state() during the $digest\n // so the modification window is narrow.\n this.$$state = isUndefined(state) ? null : state;\n this.$$urlUpdatedByLocation = true;\n\n return this;\n };\n});\n\n\nfunction locationGetter(property) {\n return /** @this */ function() {\n return this[property];\n };\n}\n\n\nfunction locationGetterSetter(property, preprocess) {\n return /** @this */ function(value) {\n if (isUndefined(value)) {\n return this[property];\n }\n\n this[property] = preprocess(value);\n this.$$compose();\n\n return this;\n };\n}\n\n\n/**\n * @ngdoc service\n * @name $location\n *\n * @requires $rootElement\n *\n * @description\n * The $location service parses the URL in the browser address bar (based on the\n * [window.location](https://developer.mozilla.org/en/window.location)) and makes the URL\n * available to your application. Changes to the URL in the address bar are reflected into\n * $location service and changes to $location are reflected into the browser address bar.\n *\n * **The $location service:**\n *\n * - Exposes the current URL in the browser address bar, so you can\n * - Watch and observe the URL.\n * - Change the URL.\n * - Synchronizes the URL with the browser when the user\n * - Changes the address bar.\n * - Clicks the back or forward button (or clicks a History link).\n * - Clicks on a link.\n * - Represents the URL object as a set of methods (protocol, host, port, path, search, hash).\n *\n * For more information see {@link guide/$location Developer Guide: Using $location}\n */\n\n/**\n * @ngdoc provider\n * @name $locationProvider\n * @this\n *\n * @description\n * Use the `$locationProvider` to configure how the application deep linking paths are stored.\n */\nfunction $LocationProvider() {\n var hashPrefix = '!',\n html5Mode = {\n enabled: false,\n requireBase: true,\n rewriteLinks: true\n };\n\n /**\n * @ngdoc method\n * @name $locationProvider#hashPrefix\n * @description\n * The default value for the prefix is `'!'`.\n * @param {string=} prefix Prefix for hash part (containing path and search)\n * @returns {*} current value if used as getter or itself (chaining) if used as setter\n */\n this.hashPrefix = function(prefix) {\n if (isDefined(prefix)) {\n hashPrefix = prefix;\n return this;\n } else {\n return hashPrefix;\n }\n };\n\n /**\n * @ngdoc method\n * @name $locationProvider#html5Mode\n * @description\n * @param {(boolean|Object)=} mode If boolean, sets `html5Mode.enabled` to value.\n * If object, sets `enabled`, `requireBase` and `rewriteLinks` to respective values. Supported\n * properties:\n * - **enabled** – `{boolean}` – (default: false) If true, will rely on `history.pushState` to\n * change urls where supported. Will fall back to hash-prefixed paths in browsers that do not\n * support `pushState`.\n * - **requireBase** - `{boolean}` - (default: `true`) When html5Mode is enabled, specifies\n * whether or not a <base> tag is required to be present. If `enabled` and `requireBase` are\n * true, and a base tag is not present, an error will be thrown when `$location` is injected.\n * See the {@link guide/$location $location guide for more information}\n * - **rewriteLinks** - `{boolean|string}` - (default: `true`) When html5Mode is enabled,\n * enables/disables URL rewriting for relative links. If set to a string, URL rewriting will\n * only happen on links with an attribute that matches the given string. For example, if set\n * to `'internal-link'`, then the URL will only be rewritten for `<a internal-link>` links.\n * Note that [attribute name normalization](guide/directive#normalization) does not apply\n * here, so `'internalLink'` will **not** match `'internal-link'`.\n *\n * @returns {Object} html5Mode object if used as getter or itself (chaining) if used as setter\n */\n this.html5Mode = function(mode) {\n if (isBoolean(mode)) {\n html5Mode.enabled = mode;\n return this;\n } else if (isObject(mode)) {\n\n if (isBoolean(mode.enabled)) {\n html5Mode.enabled = mode.enabled;\n }\n\n if (isBoolean(mode.requireBase)) {\n html5Mode.requireBase = mode.requireBase;\n }\n\n if (isBoolean(mode.rewriteLinks) || isString(mode.rewriteLinks)) {\n html5Mode.rewriteLinks = mode.rewriteLinks;\n }\n\n return this;\n } else {\n return html5Mode;\n }\n };\n\n /**\n * @ngdoc event\n * @name $location#$locationChangeStart\n * @eventType broadcast on root scope\n * @description\n * Broadcasted before a URL will change.\n *\n * This change can be prevented by calling\n * `preventDefault` method of the event. See {@link ng.$rootScope.Scope#$on} for more\n * details about event object. Upon successful change\n * {@link ng.$location#$locationChangeSuccess $locationChangeSuccess} is fired.\n *\n * The `newState` and `oldState` parameters may be defined only in HTML5 mode and when\n * the browser supports the HTML5 History API.\n *\n * @param {Object} angularEvent Synthetic event object.\n * @param {string} newUrl New URL\n * @param {string=} oldUrl URL that was before it was changed.\n * @param {string=} newState New history state object\n * @param {string=} oldState History state object that was before it was changed.\n */\n\n /**\n * @ngdoc event\n * @name $location#$locationChangeSuccess\n * @eventType broadcast on root scope\n * @description\n * Broadcasted after a URL was changed.\n *\n * The `newState` and `oldState` parameters may be defined only in HTML5 mode and when\n * the browser supports the HTML5 History API.\n *\n * @param {Object} angularEvent Synthetic event object.\n * @param {string} newUrl New URL\n * @param {string=} oldUrl URL that was before it was changed.\n * @param {string=} newState New history state object\n * @param {string=} oldState History state object that was before it was changed.\n */\n\n this.$get = ['$rootScope', '$browser', '$sniffer', '$rootElement', '$window',\n function($rootScope, $browser, $sniffer, $rootElement, $window) {\n var $location,\n LocationMode,\n baseHref = $browser.baseHref(), // if base[href] is undefined, it defaults to ''\n initialUrl = $browser.url(),\n appBase;\n\n if (html5Mode.enabled) {\n if (!baseHref && html5Mode.requireBase) {\n throw $locationMinErr('nobase',\n '$location in HTML5 mode requires a <base> tag to be present!');\n }\n appBase = serverBase(initialUrl) + (baseHref || '/');\n LocationMode = $sniffer.history ? LocationHtml5Url : LocationHashbangInHtml5Url;\n } else {\n appBase = stripHash(initialUrl);\n LocationMode = LocationHashbangUrl;\n }\n var appBaseNoFile = stripFile(appBase);\n\n $location = new LocationMode(appBase, appBaseNoFile, '#' + hashPrefix);\n $location.$$parseLinkUrl(initialUrl, initialUrl);\n\n $location.$$state = $browser.state();\n\n var IGNORE_URI_REGEXP = /^\\s*(javascript|mailto):/i;\n\n // Determine if two URLs are equal despite potentially having different encoding/normalizing\n // such as $location.absUrl() vs $browser.url()\n // See https://github.com/angular/angular.js/issues/16592\n function urlsEqual(a, b) {\n return a === b || urlResolve(a).href === urlResolve(b).href;\n }\n\n function setBrowserUrlWithFallback(url, replace, state) {\n var oldUrl = $location.url();\n var oldState = $location.$$state;\n try {\n $browser.url(url, replace, state);\n\n // Make sure $location.state() returns referentially identical (not just deeply equal)\n // state object; this makes possible quick checking if the state changed in the digest\n // loop. Checking deep equality would be too expensive.\n $location.$$state = $browser.state();\n } catch (e) {\n // Restore old values if pushState fails\n $location.url(oldUrl);\n $location.$$state = oldState;\n\n throw e;\n }\n }\n\n $rootElement.on('click', function(event) {\n var rewriteLinks = html5Mode.rewriteLinks;\n // TODO(vojta): rewrite link when opening in new tab/window (in legacy browser)\n // currently we open nice url link and redirect then\n\n if (!rewriteLinks || event.ctrlKey || event.metaKey || event.shiftKey || event.which === 2 || event.button === 2) return;\n\n var elm = jqLite(event.target);\n\n // traverse the DOM up to find first A tag\n while (nodeName_(elm[0]) !== 'a') {\n // ignore rewriting if no A tag (reached root element, or no parent - removed from document)\n if (elm[0] === $rootElement[0] || !(elm = elm.parent())[0]) return;\n }\n\n if (isString(rewriteLinks) && isUndefined(elm.attr(rewriteLinks))) return;\n\n var absHref = elm.prop('href');\n // get the actual href attribute - see\n // http://msdn.microsoft.com/en-us/library/ie/dd347148(v=vs.85).aspx\n var relHref = elm.attr('href') || elm.attr('xlink:href');\n\n if (isObject(absHref) && absHref.toString() === '[object SVGAnimatedString]') {\n // SVGAnimatedString.animVal should be identical to SVGAnimatedString.baseVal, unless during\n // an animation.\n absHref = urlResolve(absHref.animVal).href;\n }\n\n // Ignore when url is started with javascript: or mailto:\n if (IGNORE_URI_REGEXP.test(absHref)) return;\n\n if (absHref && !elm.attr('target') && !event.isDefaultPrevented()) {\n if ($location.$$parseLinkUrl(absHref, relHref)) {\n // We do a preventDefault for all urls that are part of the AngularJS application,\n // in html5mode and also without, so that we are able to abort navigation without\n // getting double entries in the location history.\n event.preventDefault();\n // update location manually\n if ($location.absUrl() !== $browser.url()) {\n $rootScope.$apply();\n }\n }\n }\n });\n\n\n // rewrite hashbang url <> html5 url\n if ($location.absUrl() !== initialUrl) {\n $browser.url($location.absUrl(), true);\n }\n\n var initializing = true;\n\n // update $location when $browser url changes\n $browser.onUrlChange(function(newUrl, newState) {\n\n if (!startsWith(newUrl, appBaseNoFile)) {\n // If we are navigating outside of the app then force a reload\n $window.location.href = newUrl;\n return;\n }\n\n $rootScope.$evalAsync(function() {\n var oldUrl = $location.absUrl();\n var oldState = $location.$$state;\n var defaultPrevented;\n $location.$$parse(newUrl);\n $location.$$state = newState;\n\n defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl,\n newState, oldState).defaultPrevented;\n\n // if the location was changed by a `$locationChangeStart` handler then stop\n // processing this location change\n if ($location.absUrl() !== newUrl) return;\n\n if (defaultPrevented) {\n $location.$$parse(oldUrl);\n $location.$$state = oldState;\n setBrowserUrlWithFallback(oldUrl, false, oldState);\n } else {\n initializing = false;\n afterLocationChange(oldUrl, oldState);\n }\n });\n if (!$rootScope.$$phase) $rootScope.$digest();\n });\n\n // update browser\n $rootScope.$watch(function $locationWatch() {\n if (initializing || $location.$$urlUpdatedByLocation) {\n $location.$$urlUpdatedByLocation = false;\n\n var oldUrl = $browser.url();\n var newUrl = $location.absUrl();\n var oldState = $browser.state();\n var currentReplace = $location.$$replace;\n var urlOrStateChanged = !urlsEqual(oldUrl, newUrl) ||\n ($location.$$html5 && $sniffer.history && oldState !== $location.$$state);\n\n if (initializing || urlOrStateChanged) {\n initializing = false;\n\n $rootScope.$evalAsync(function() {\n var newUrl = $location.absUrl();\n var defaultPrevented = $rootScope.$broadcast('$locationChangeStart', newUrl, oldUrl,\n $location.$$state, oldState).defaultPrevented;\n\n // if the location was changed by a `$locationChangeStart` handler then stop\n // processing this location change\n if ($location.absUrl() !== newUrl) return;\n\n if (defaultPrevented) {\n $location.$$parse(oldUrl);\n $location.$$state = oldState;\n } else {\n if (urlOrStateChanged) {\n setBrowserUrlWithFallback(newUrl, currentReplace,\n oldState === $location.$$state ? null : $location.$$state);\n }\n afterLocationChange(oldUrl, oldState);\n }\n });\n }\n }\n\n $location.$$replace = false;\n\n // we don't need to return anything because $evalAsync will make the digest loop dirty when\n // there is a change\n });\n\n return $location;\n\n function afterLocationChange(oldUrl, oldState) {\n $rootScope.$broadcast('$locationChangeSuccess', $location.absUrl(), oldUrl,\n $location.$$state, oldState);\n }\n}];\n}\n\n/**\n * @ngdoc service\n * @name $log\n * @requires $window\n *\n * @description\n * Simple service for logging. Default implementation safely writes the message\n * into the browser's console (if present).\n *\n * The main purpose of this service is to simplify debugging and troubleshooting.\n *\n * To reveal the location of the calls to `$log` in the JavaScript console,\n * you can \"blackbox\" the AngularJS source in your browser:\n *\n * [Mozilla description of blackboxing](https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Black_box_a_source).\n * [Chrome description of blackboxing](https://developer.chrome.com/devtools/docs/blackboxing).\n *\n * Note: Not all browsers support blackboxing.\n *\n * The default is to log `debug` messages. You can use\n * {@link ng.$logProvider ng.$logProvider#debugEnabled} to change this.\n *\n * @example\n <example module=\"logExample\" name=\"log-service\">\n <file name=\"script.js\">\n angular.module('logExample', [])\n .controller('LogController', ['$scope', '$log', function($scope, $log) {\n $scope.$log = $log;\n $scope.message = 'Hello World!';\n }]);\n </file>\n <file name=\"index.html\">\n <div ng-controller=\"LogController\">\n <p>Reload this page with open console, enter text and hit the log button...</p>\n <label>Message:\n <input type=\"text\" ng-model=\"message\" /></label>\n <button ng-click=\"$log.log(message)\">log</button>\n <button ng-click=\"$log.warn(message)\">warn</button>\n <button ng-click=\"$log.info(message)\">info</button>\n <button ng-click=\"$log.error(message)\">error</button>\n <button ng-click=\"$log.debug(message)\">debug</button>\n </div>\n </file>\n </example>\n */\n\n/**\n * @ngdoc provider\n * @name $logProvider\n * @this\n *\n * @description\n * Use the `$logProvider` to configure how the application logs messages\n */\nfunction $LogProvider() {\n var debug = true,\n self = this;\n\n /**\n * @ngdoc method\n * @name $logProvider#debugEnabled\n * @description\n * @param {boolean=} flag enable or disable debug level messages\n * @returns {*} current value if used as getter or itself (chaining) if used as setter\n */\n this.debugEnabled = function(flag) {\n if (isDefined(flag)) {\n debug = flag;\n return this;\n } else {\n return debug;\n }\n };\n\n this.$get = ['$window', function($window) {\n // Support: IE 9-11, Edge 12-14+\n // IE/Edge display errors in such a way that it requires the user to click in 4 places\n // to see the stack trace. There is no way to feature-detect it so there's a chance\n // of the user agent sniffing to go wrong but since it's only about logging, this shouldn't\n // break apps. Other browsers display errors in a sensible way and some of them map stack\n // traces along source maps if available so it makes sense to let browsers display it\n // as they want.\n var formatStackTrace = msie || /\\bEdge\\//.test($window.navigator && $window.navigator.userAgent);\n\n return {\n /**\n * @ngdoc method\n * @name $log#log\n *\n * @description\n * Write a log message\n */\n log: consoleLog('log'),\n\n /**\n * @ngdoc method\n * @name $log#info\n *\n * @description\n * Write an information message\n */\n info: consoleLog('info'),\n\n /**\n * @ngdoc method\n * @name $log#warn\n *\n * @description\n * Write a warning message\n */\n warn: consoleLog('warn'),\n\n /**\n * @ngdoc method\n * @name $log#error\n *\n * @description\n * Write an error message\n */\n error: consoleLog('error'),\n\n /**\n * @ngdoc method\n * @name $log#debug\n *\n * @description\n * Write a debug message\n */\n debug: (function() {\n var fn = consoleLog('debug');\n\n return function() {\n if (debug) {\n fn.apply(self, arguments);\n }\n };\n })()\n };\n\n function formatError(arg) {\n if (isError(arg)) {\n if (arg.stack && formatStackTrace) {\n arg = (arg.message && arg.stack.indexOf(arg.message) === -1)\n ? 'Error: ' + arg.message + '\\n' + arg.stack\n : arg.stack;\n } else if (arg.sourceURL) {\n arg = arg.message + '\\n' + arg.sourceURL + ':' + arg.line;\n }\n }\n return arg;\n }\n\n function consoleLog(type) {\n var console = $window.console || {},\n logFn = console[type] || console.log || noop;\n\n return function() {\n var args = [];\n forEach(arguments, function(arg) {\n args.push(formatError(arg));\n });\n // Support: IE 9 only\n // console methods don't inherit from Function.prototype in IE 9 so we can't\n // call `logFn.apply(console, args)` directly.\n return Function.prototype.apply.call(logFn, console, args);\n };\n }\n }];\n}\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * Any commits to this file should be reviewed with security in mind. *\n * Changes to this file can potentially create security vulnerabilities. *\n * An approval from 2 Core members with history of modifying *\n * this file is required. *\n * *\n * Does the change somehow allow for arbitrary javascript to be executed? *\n * Or allows for someone to change the prototype of built-in objects? *\n * Or gives undesired access to variables likes document or window? *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\nvar $parseMinErr = minErr('$parse');\n\nvar objectValueOf = {}.constructor.prototype.valueOf;\n\n// Sandboxing AngularJS Expressions\n// ------------------------------\n// AngularJS expressions are no longer sandboxed. So it is now even easier to access arbitrary JS code by\n// various means such as obtaining a reference to native JS functions like the Function constructor.\n//\n// As an example, consider the following AngularJS expression:\n//\n// {}.toString.constructor('alert(\"evil JS code\")')\n//\n// It is important to realize that if you create an expression from a string that contains user provided\n// content then it is possible that your application contains a security vulnerability to an XSS style attack.\n//\n// See https://docs.angularjs.org/guide/security\n\n\nfunction getStringValue(name) {\n // Property names must be strings. This means that non-string objects cannot be used\n // as keys in an object. Any non-string object, including a number, is typecasted\n // into a string via the toString method.\n // -- MDN, https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Operators/Property_accessors#Property_names\n //\n // So, to ensure that we are checking the same `name` that JavaScript would use, we cast it\n // to a string. It's not always possible. If `name` is an object and its `toString` method is\n // 'broken' (doesn't return a string, isn't a function, etc.), an error will be thrown:\n //\n // TypeError: Cannot convert object to primitive value\n //\n // For performance reasons, we don't catch this error here and allow it to propagate up the call\n // stack. Note that you'll get the same error in JavaScript if you try to access a property using\n // such a 'broken' object as a key.\n return name + '';\n}\n\n\nvar OPERATORS = createMap();\nforEach('+ - * / % === !== == != < > <= >= && || ! = |'.split(' '), function(operator) { OPERATORS[operator] = true; });\nvar ESCAPE = {'n':'\\n', 'f':'\\f', 'r':'\\r', 't':'\\t', 'v':'\\v', '\\'':'\\'', '\"':'\"'};\n\n\n/////////////////////////////////////////\n\n\n/**\n * @constructor\n */\nvar Lexer = function Lexer(options) {\n this.options = options;\n};\n\nLexer.prototype = {\n constructor: Lexer,\n\n lex: function(text) {\n this.text = text;\n this.index = 0;\n this.tokens = [];\n\n while (this.index < this.text.length) {\n var ch = this.text.charAt(this.index);\n if (ch === '\"' || ch === '\\'') {\n this.readString(ch);\n } else if (this.isNumber(ch) || ch === '.' && this.isNumber(this.peek())) {\n this.readNumber();\n } else if (this.isIdentifierStart(this.peekMultichar())) {\n this.readIdent();\n } else if (this.is(ch, '(){}[].,;:?')) {\n this.tokens.push({index: this.index, text: ch});\n this.index++;\n } else if (this.isWhitespace(ch)) {\n this.index++;\n } else {\n var ch2 = ch + this.peek();\n var ch3 = ch2 + this.peek(2);\n var op1 = OPERATORS[ch];\n var op2 = OPERATORS[ch2];\n var op3 = OPERATORS[ch3];\n if (op1 || op2 || op3) {\n var token = op3 ? ch3 : (op2 ? ch2 : ch);\n this.tokens.push({index: this.index, text: token, operator: true});\n this.index += token.length;\n } else {\n this.throwError('Unexpected next character ', this.index, this.index + 1);\n }\n }\n }\n return this.tokens;\n },\n\n is: function(ch, chars) {\n return chars.indexOf(ch) !== -1;\n },\n\n peek: function(i) {\n var num = i || 1;\n return (this.index + num < this.text.length) ? this.text.charAt(this.index + num) : false;\n },\n\n isNumber: function(ch) {\n return ('0' <= ch && ch <= '9') && typeof ch === 'string';\n },\n\n isWhitespace: function(ch) {\n // IE treats non-breaking space as \\u00A0\n return (ch === ' ' || ch === '\\r' || ch === '\\t' ||\n ch === '\\n' || ch === '\\v' || ch === '\\u00A0');\n },\n\n isIdentifierStart: function(ch) {\n return this.options.isIdentifierStart ?\n this.options.isIdentifierStart(ch, this.codePointAt(ch)) :\n this.isValidIdentifierStart(ch);\n },\n\n isValidIdentifierStart: function(ch) {\n return ('a' <= ch && ch <= 'z' ||\n 'A' <= ch && ch <= 'Z' ||\n '_' === ch || ch === '$');\n },\n\n isIdentifierContinue: function(ch) {\n return this.options.isIdentifierContinue ?\n this.options.isIdentifierContinue(ch, this.codePointAt(ch)) :\n this.isValidIdentifierContinue(ch);\n },\n\n isValidIdentifierContinue: function(ch, cp) {\n return this.isValidIdentifierStart(ch, cp) || this.isNumber(ch);\n },\n\n codePointAt: function(ch) {\n if (ch.length === 1) return ch.charCodeAt(0);\n // eslint-disable-next-line no-bitwise\n return (ch.charCodeAt(0) << 10) + ch.charCodeAt(1) - 0x35FDC00;\n },\n\n peekMultichar: function() {\n var ch = this.text.charAt(this.index);\n var peek = this.peek();\n if (!peek) {\n return ch;\n }\n var cp1 = ch.charCodeAt(0);\n var cp2 = peek.charCodeAt(0);\n if (cp1 >= 0xD800 && cp1 <= 0xDBFF && cp2 >= 0xDC00 && cp2 <= 0xDFFF) {\n return ch + peek;\n }\n return ch;\n },\n\n isExpOperator: function(ch) {\n return (ch === '-' || ch === '+' || this.isNumber(ch));\n },\n\n throwError: function(error, start, end) {\n end = end || this.index;\n var colStr = (isDefined(start)\n ? 's ' + start + '-' + this.index + ' [' + this.text.substring(start, end) + ']'\n : ' ' + end);\n throw $parseMinErr('lexerr', 'Lexer Error: {0} at column{1} in expression [{2}].',\n error, colStr, this.text);\n },\n\n readNumber: function() {\n var number = '';\n var start = this.index;\n while (this.index < this.text.length) {\n var ch = lowercase(this.text.charAt(this.index));\n if (ch === '.' || this.isNumber(ch)) {\n number += ch;\n } else {\n var peekCh = this.peek();\n if (ch === 'e' && this.isExpOperator(peekCh)) {\n number += ch;\n } else if (this.isExpOperator(ch) &&\n peekCh && this.isNumber(peekCh) &&\n number.charAt(number.length - 1) === 'e') {\n number += ch;\n } else if (this.isExpOperator(ch) &&\n (!peekCh || !this.isNumber(peekCh)) &&\n number.charAt(number.length - 1) === 'e') {\n this.throwError('Invalid exponent');\n } else {\n break;\n }\n }\n this.index++;\n }\n this.tokens.push({\n index: start,\n text: number,\n constant: true,\n value: Number(number)\n });\n },\n\n readIdent: function() {\n var start = this.index;\n this.index += this.peekMultichar().length;\n while (this.index < this.text.length) {\n var ch = this.peekMultichar();\n if (!this.isIdentifierContinue(ch)) {\n break;\n }\n this.index += ch.length;\n }\n this.tokens.push({\n index: start,\n text: this.text.slice(start, this.index),\n identifier: true\n });\n },\n\n readString: function(quote) {\n var start = this.index;\n this.index++;\n var string = '';\n var rawString = quote;\n var escape = false;\n while (this.index < this.text.length) {\n var ch = this.text.charAt(this.index);\n rawString += ch;\n if (escape) {\n if (ch === 'u') {\n var hex = this.text.substring(this.index + 1, this.index + 5);\n if (!hex.match(/[\\da-f]{4}/i)) {\n this.throwError('Invalid unicode escape [\\\\u' + hex + ']');\n }\n this.index += 4;\n string += String.fromCharCode(parseInt(hex, 16));\n } else {\n var rep = ESCAPE[ch];\n string = string + (rep || ch);\n }\n escape = false;\n } else if (ch === '\\\\') {\n escape = true;\n } else if (ch === quote) {\n this.index++;\n this.tokens.push({\n index: start,\n text: rawString,\n constant: true,\n value: string\n });\n return;\n } else {\n string += ch;\n }\n this.index++;\n }\n this.throwError('Unterminated quote', start);\n }\n};\n\nvar AST = function AST(lexer, options) {\n this.lexer = lexer;\n this.options = options;\n};\n\nAST.Program = 'Program';\nAST.ExpressionStatement = 'ExpressionStatement';\nAST.AssignmentExpression = 'AssignmentExpression';\nAST.ConditionalExpression = 'ConditionalExpression';\nAST.LogicalExpression = 'LogicalExpression';\nAST.BinaryExpression = 'BinaryExpression';\nAST.UnaryExpression = 'UnaryExpression';\nAST.CallExpression = 'CallExpression';\nAST.MemberExpression = 'MemberExpression';\nAST.Identifier = 'Identifier';\nAST.Literal = 'Literal';\nAST.ArrayExpression = 'ArrayExpression';\nAST.Property = 'Property';\nAST.ObjectExpression = 'ObjectExpression';\nAST.ThisExpression = 'ThisExpression';\nAST.LocalsExpression = 'LocalsExpression';\n\n// Internal use only\nAST.NGValueParameter = 'NGValueParameter';\n\nAST.prototype = {\n ast: function(text) {\n this.text = text;\n this.tokens = this.lexer.lex(text);\n\n var value = this.program();\n\n if (this.tokens.length !== 0) {\n this.throwError('is an unexpected token', this.tokens[0]);\n }\n\n return value;\n },\n\n program: function() {\n var body = [];\n while (true) {\n if (this.tokens.length > 0 && !this.peek('}', ')', ';', ']'))\n body.push(this.expressionStatement());\n if (!this.expect(';')) {\n return { type: AST.Program, body: body};\n }\n }\n },\n\n expressionStatement: function() {\n return { type: AST.ExpressionStatement, expression: this.filterChain() };\n },\n\n filterChain: function() {\n var left = this.expression();\n while (this.expect('|')) {\n left = this.filter(left);\n }\n return left;\n },\n\n expression: function() {\n return this.assignment();\n },\n\n assignment: function() {\n var result = this.ternary();\n if (this.expect('=')) {\n if (!isAssignable(result)) {\n throw $parseMinErr('lval', 'Trying to assign a value to a non l-value');\n }\n\n result = { type: AST.AssignmentExpression, left: result, right: this.assignment(), operator: '='};\n }\n return result;\n },\n\n ternary: function() {\n var test = this.logicalOR();\n var alternate;\n var consequent;\n if (this.expect('?')) {\n alternate = this.expression();\n if (this.consume(':')) {\n consequent = this.expression();\n return { type: AST.ConditionalExpression, test: test, alternate: alternate, consequent: consequent};\n }\n }\n return test;\n },\n\n logicalOR: function() {\n var left = this.logicalAND();\n while (this.expect('||')) {\n left = { type: AST.LogicalExpression, operator: '||', left: left, right: this.logicalAND() };\n }\n return left;\n },\n\n logicalAND: function() {\n var left = this.equality();\n while (this.expect('&&')) {\n left = { type: AST.LogicalExpression, operator: '&&', left: left, right: this.equality()};\n }\n return left;\n },\n\n equality: function() {\n var left = this.relational();\n var token;\n while ((token = this.expect('==','!=','===','!=='))) {\n left = { type: AST.BinaryExpression, operator: token.text, left: left, right: this.relational() };\n }\n return left;\n },\n\n relational: function() {\n var left = this.additive();\n var token;\n while ((token = this.expect('<', '>', '<=', '>='))) {\n left = { type: AST.BinaryExpression, operator: token.text, left: left, right: this.additive() };\n }\n return left;\n },\n\n additive: function() {\n var left = this.multiplicative();\n var token;\n while ((token = this.expect('+','-'))) {\n left = { type: AST.BinaryExpression, operator: token.text, left: left, right: this.multiplicative() };\n }\n return left;\n },\n\n multiplicative: function() {\n var left = this.unary();\n var token;\n while ((token = this.expect('*','/','%'))) {\n left = { type: AST.BinaryExpression, operator: token.text, left: left, right: this.unary() };\n }\n return left;\n },\n\n unary: function() {\n var token;\n if ((token = this.expect('+', '-', '!'))) {\n return { type: AST.UnaryExpression, operator: token.text, prefix: true, argument: this.unary() };\n } else {\n return this.primary();\n }\n },\n\n primary: function() {\n var primary;\n if (this.expect('(')) {\n primary = this.filterChain();\n this.consume(')');\n } else if (this.expect('[')) {\n primary = this.arrayDeclaration();\n } else if (this.expect('{')) {\n primary = this.object();\n } else if (this.selfReferential.hasOwnProperty(this.peek().text)) {\n primary = copy(this.selfReferential[this.consume().text]);\n } else if (this.options.literals.hasOwnProperty(this.peek().text)) {\n primary = { type: AST.Literal, value: this.options.literals[this.consume().text]};\n } else if (this.peek().identifier) {\n primary = this.identifier();\n } else if (this.peek().constant) {\n primary = this.constant();\n } else {\n this.throwError('not a primary expression', this.peek());\n }\n\n var next;\n while ((next = this.expect('(', '[', '.'))) {\n if (next.text === '(') {\n primary = {type: AST.CallExpression, callee: primary, arguments: this.parseArguments() };\n this.consume(')');\n } else if (next.text === '[') {\n primary = { type: AST.MemberExpression, object: primary, property: this.expression(), computed: true };\n this.consume(']');\n } else if (next.text === '.') {\n primary = { type: AST.MemberExpression, object: primary, property: this.identifier(), computed: false };\n } else {\n this.throwError('IMPOSSIBLE');\n }\n }\n return primary;\n },\n\n filter: function(baseExpression) {\n var args = [baseExpression];\n var result = {type: AST.CallExpression, callee: this.identifier(), arguments: args, filter: true};\n\n while (this.expect(':')) {\n args.push(this.expression());\n }\n\n return result;\n },\n\n parseArguments: function() {\n var args = [];\n if (this.peekToken().text !== ')') {\n do {\n args.push(this.filterChain());\n } while (this.expect(','));\n }\n return args;\n },\n\n identifier: function() {\n var token = this.consume();\n if (!token.identifier) {\n this.throwError('is not a valid identifier', token);\n }\n return { type: AST.Identifier, name: token.text };\n },\n\n constant: function() {\n // TODO check that it is a constant\n return { type: AST.Literal, value: this.consume().value };\n },\n\n arrayDeclaration: function() {\n var elements = [];\n if (this.peekToken().text !== ']') {\n do {\n if (this.peek(']')) {\n // Support trailing commas per ES5.1.\n break;\n }\n elements.push(this.expression());\n } while (this.expect(','));\n }\n this.consume(']');\n\n return { type: AST.ArrayExpression, elements: elements };\n },\n\n object: function() {\n var properties = [], property;\n if (this.peekToken().text !== '}') {\n do {\n if (this.peek('}')) {\n // Support trailing commas per ES5.1.\n break;\n }\n property = {type: AST.Property, kind: 'init'};\n if (this.peek().constant) {\n property.key = this.constant();\n property.computed = false;\n this.consume(':');\n property.value = this.expression();\n } else if (this.peek().identifier) {\n property.key = this.identifier();\n property.computed = false;\n if (this.peek(':')) {\n this.consume(':');\n property.value = this.expression();\n } else {\n property.value = property.key;\n }\n } else if (this.peek('[')) {\n this.consume('[');\n property.key = this.expression();\n this.consume(']');\n property.computed = true;\n this.consume(':');\n property.value = this.expression();\n } else {\n this.throwError('invalid key', this.peek());\n }\n properties.push(property);\n } while (this.expect(','));\n }\n this.consume('}');\n\n return {type: AST.ObjectExpression, properties: properties };\n },\n\n throwError: function(msg, token) {\n throw $parseMinErr('syntax',\n 'Syntax Error: Token \\'{0}\\' {1} at column {2} of the expression [{3}] starting at [{4}].',\n token.text, msg, (token.index + 1), this.text, this.text.substring(token.index));\n },\n\n consume: function(e1) {\n if (this.tokens.length === 0) {\n throw $parseMinErr('ueoe', 'Unexpected end of expression: {0}', this.text);\n }\n\n var token = this.expect(e1);\n if (!token) {\n this.throwError('is unexpected, expecting [' + e1 + ']', this.peek());\n }\n return token;\n },\n\n peekToken: function() {\n if (this.tokens.length === 0) {\n throw $parseMinErr('ueoe', 'Unexpected end of expression: {0}', this.text);\n }\n return this.tokens[0];\n },\n\n peek: function(e1, e2, e3, e4) {\n return this.peekAhead(0, e1, e2, e3, e4);\n },\n\n peekAhead: function(i, e1, e2, e3, e4) {\n if (this.tokens.length > i) {\n var token = this.tokens[i];\n var t = token.text;\n if (t === e1 || t === e2 || t === e3 || t === e4 ||\n (!e1 && !e2 && !e3 && !e4)) {\n return token;\n }\n }\n return false;\n },\n\n expect: function(e1, e2, e3, e4) {\n var token = this.peek(e1, e2, e3, e4);\n if (token) {\n this.tokens.shift();\n return token;\n }\n return false;\n },\n\n selfReferential: {\n 'this': {type: AST.ThisExpression },\n '$locals': {type: AST.LocalsExpression }\n }\n};\n\nfunction ifDefined(v, d) {\n return typeof v !== 'undefined' ? v : d;\n}\n\nfunction plusFn(l, r) {\n if (typeof l === 'undefined') return r;\n if (typeof r === 'undefined') return l;\n return l + r;\n}\n\nfunction isStateless($filter, filterName) {\n var fn = $filter(filterName);\n return !fn.$stateful;\n}\n\nvar PURITY_ABSOLUTE = 1;\nvar PURITY_RELATIVE = 2;\n\n// Detect nodes which could depend on non-shallow state of objects\nfunction isPure(node, parentIsPure) {\n switch (node.type) {\n // Computed members might invoke a stateful toString()\n case AST.MemberExpression:\n if (node.computed) {\n return false;\n }\n break;\n\n // Unary always convert to primative\n case AST.UnaryExpression:\n return PURITY_ABSOLUTE;\n\n // The binary + operator can invoke a stateful toString().\n case AST.BinaryExpression:\n return node.operator !== '+' ? PURITY_ABSOLUTE : false;\n\n // Functions / filters probably read state from within objects\n case AST.CallExpression:\n return false;\n }\n\n return (undefined === parentIsPure) ? PURITY_RELATIVE : parentIsPure;\n}\n\nfunction findConstantAndWatchExpressions(ast, $filter, parentIsPure) {\n var allConstants;\n var argsToWatch;\n var isStatelessFilter;\n\n var astIsPure = ast.isPure = isPure(ast, parentIsPure);\n\n switch (ast.type) {\n case AST.Program:\n allConstants = true;\n forEach(ast.body, function(expr) {\n findConstantAndWatchExpressions(expr.expression, $filter, astIsPure);\n allConstants = allConstants && expr.expression.constant;\n });\n ast.constant = allConstants;\n break;\n case AST.Literal:\n ast.constant = true;\n ast.toWatch = [];\n break;\n case AST.UnaryExpression:\n findConstantAndWatchExpressions(ast.argument, $filter, astIsPure);\n ast.constant = ast.argument.constant;\n ast.toWatch = ast.argument.toWatch;\n break;\n case AST.BinaryExpression:\n findConstantAndWatchExpressions(ast.left, $filter, astIsPure);\n findConstantAndWatchExpressions(ast.right, $filter, astIsPure);\n ast.constant = ast.left.constant && ast.right.constant;\n ast.toWatch = ast.left.toWatch.concat(ast.right.toWatch);\n break;\n case AST.LogicalExpression:\n findConstantAndWatchExpressions(ast.left, $filter, astIsPure);\n findConstantAndWatchExpressions(ast.right, $filter, astIsPure);\n ast.constant = ast.left.constant && ast.right.constant;\n ast.toWatch = ast.constant ? [] : [ast];\n break;\n case AST.ConditionalExpression:\n findConstantAndWatchExpressions(ast.test, $filter, astIsPure);\n findConstantAndWatchExpressions(ast.alternate, $filter, astIsPure);\n findConstantAndWatchExpressions(ast.consequent, $filter, astIsPure);\n ast.constant = ast.test.constant && ast.alternate.constant && ast.consequent.constant;\n ast.toWatch = ast.constant ? [] : [ast];\n break;\n case AST.Identifier:\n ast.constant = false;\n ast.toWatch = [ast];\n break;\n case AST.MemberExpression:\n findConstantAndWatchExpressions(ast.object, $filter, astIsPure);\n if (ast.computed) {\n findConstantAndWatchExpressions(ast.property, $filter, astIsPure);\n }\n ast.constant = ast.object.constant && (!ast.computed || ast.property.constant);\n ast.toWatch = ast.constant ? [] : [ast];\n break;\n case AST.CallExpression:\n isStatelessFilter = ast.filter ? isStateless($filter, ast.callee.name) : false;\n allConstants = isStatelessFilter;\n argsToWatch = [];\n forEach(ast.arguments, function(expr) {\n findConstantAndWatchExpressions(expr, $filter, astIsPure);\n allConstants = allConstants && expr.constant;\n argsToWatch.push.apply(argsToWatch, expr.toWatch);\n });\n ast.constant = allConstants;\n ast.toWatch = isStatelessFilter ? argsToWatch : [ast];\n break;\n case AST.AssignmentExpression:\n findConstantAndWatchExpressions(ast.left, $filter, astIsPure);\n findConstantAndWatchExpressions(ast.right, $filter, astIsPure);\n ast.constant = ast.left.constant && ast.right.constant;\n ast.toWatch = [ast];\n break;\n case AST.ArrayExpression:\n allConstants = true;\n argsToWatch = [];\n forEach(ast.elements, function(expr) {\n findConstantAndWatchExpressions(expr, $filter, astIsPure);\n allConstants = allConstants && expr.constant;\n argsToWatch.push.apply(argsToWatch, expr.toWatch);\n });\n ast.constant = allConstants;\n ast.toWatch = argsToWatch;\n break;\n case AST.ObjectExpression:\n allConstants = true;\n argsToWatch = [];\n forEach(ast.properties, function(property) {\n findConstantAndWatchExpressions(property.value, $filter, astIsPure);\n allConstants = allConstants && property.value.constant;\n argsToWatch.push.apply(argsToWatch, property.value.toWatch);\n if (property.computed) {\n //`{[key]: value}` implicitly does `key.toString()` which may be non-pure\n findConstantAndWatchExpressions(property.key, $filter, /*parentIsPure=*/false);\n allConstants = allConstants && property.key.constant;\n argsToWatch.push.apply(argsToWatch, property.key.toWatch);\n }\n });\n ast.constant = allConstants;\n ast.toWatch = argsToWatch;\n break;\n case AST.ThisExpression:\n ast.constant = false;\n ast.toWatch = [];\n break;\n case AST.LocalsExpression:\n ast.constant = false;\n ast.toWatch = [];\n break;\n }\n}\n\nfunction getInputs(body) {\n if (body.length !== 1) return;\n var lastExpression = body[0].expression;\n var candidate = lastExpression.toWatch;\n if (candidate.length !== 1) return candidate;\n return candidate[0] !== lastExpression ? candidate : undefined;\n}\n\nfunction isAssignable(ast) {\n return ast.type === AST.Identifier || ast.type === AST.MemberExpression;\n}\n\nfunction assignableAST(ast) {\n if (ast.body.length === 1 && isAssignable(ast.body[0].expression)) {\n return {type: AST.AssignmentExpression, left: ast.body[0].expression, right: {type: AST.NGValueParameter}, operator: '='};\n }\n}\n\nfunction isLiteral(ast) {\n return ast.body.length === 0 ||\n ast.body.length === 1 && (\n ast.body[0].expression.type === AST.Literal ||\n ast.body[0].expression.type === AST.ArrayExpression ||\n ast.body[0].expression.type === AST.ObjectExpression);\n}\n\nfunction isConstant(ast) {\n return ast.constant;\n}\n\nfunction ASTCompiler($filter) {\n this.$filter = $filter;\n}\n\nASTCompiler.prototype = {\n compile: function(ast) {\n var self = this;\n this.state = {\n nextId: 0,\n filters: {},\n fn: {vars: [], body: [], own: {}},\n assign: {vars: [], body: [], own: {}},\n inputs: []\n };\n findConstantAndWatchExpressions(ast, self.$filter);\n var extra = '';\n var assignable;\n this.stage = 'assign';\n if ((assignable = assignableAST(ast))) {\n this.state.computing = 'assign';\n var result = this.nextId();\n this.recurse(assignable, result);\n this.return_(result);\n extra = 'fn.assign=' + this.generateFunction('assign', 's,v,l');\n }\n var toWatch = getInputs(ast.body);\n self.stage = 'inputs';\n forEach(toWatch, function(watch, key) {\n var fnKey = 'fn' + key;\n self.state[fnKey] = {vars: [], body: [], own: {}};\n self.state.computing = fnKey;\n var intoId = self.nextId();\n self.recurse(watch, intoId);\n self.return_(intoId);\n self.state.inputs.push({name: fnKey, isPure: watch.isPure});\n watch.watchId = key;\n });\n this.state.computing = 'fn';\n this.stage = 'main';\n this.recurse(ast);\n var fnString =\n // The build and minification steps remove the string \"use strict\" from the code, but this is done using a regex.\n // This is a workaround for this until we do a better job at only removing the prefix only when we should.\n '\"' + this.USE + ' ' + this.STRICT + '\";\\n' +\n this.filterPrefix() +\n 'var fn=' + this.generateFunction('fn', 's,l,a,i') +\n extra +\n this.watchFns() +\n 'return fn;';\n\n // eslint-disable-next-line no-new-func\n var fn = (new Function('$filter',\n 'getStringValue',\n 'ifDefined',\n 'plus',\n fnString))(\n this.$filter,\n getStringValue,\n ifDefined,\n plusFn);\n this.state = this.stage = undefined;\n return fn;\n },\n\n USE: 'use',\n\n STRICT: 'strict',\n\n watchFns: function() {\n var result = [];\n var inputs = this.state.inputs;\n var self = this;\n forEach(inputs, function(input) {\n result.push('var ' + input.name + '=' + self.generateFunction(input.name, 's'));\n if (input.isPure) {\n result.push(input.name, '.isPure=' + JSON.stringify(input.isPure) + ';');\n }\n });\n if (inputs.length) {\n result.push('fn.inputs=[' + inputs.map(function(i) { return i.name; }).join(',') + '];');\n }\n return result.join('');\n },\n\n generateFunction: function(name, params) {\n return 'function(' + params + '){' +\n this.varsPrefix(name) +\n this.body(name) +\n '};';\n },\n\n filterPrefix: function() {\n var parts = [];\n var self = this;\n forEach(this.state.filters, function(id, filter) {\n parts.push(id + '=$filter(' + self.escape(filter) + ')');\n });\n if (parts.length) return 'var ' + parts.join(',') + ';';\n return '';\n },\n\n varsPrefix: function(section) {\n return this.state[section].vars.length ? 'var ' + this.state[section].vars.join(',') + ';' : '';\n },\n\n body: function(section) {\n return this.state[section].body.join('');\n },\n\n recurse: function(ast, intoId, nameId, recursionFn, create, skipWatchIdCheck) {\n var left, right, self = this, args, expression, computed;\n recursionFn = recursionFn || noop;\n if (!skipWatchIdCheck && isDefined(ast.watchId)) {\n intoId = intoId || this.nextId();\n this.if_('i',\n this.lazyAssign(intoId, this.computedMember('i', ast.watchId)),\n this.lazyRecurse(ast, intoId, nameId, recursionFn, create, true)\n );\n return;\n }\n switch (ast.type) {\n case AST.Program:\n forEach(ast.body, function(expression, pos) {\n self.recurse(expression.expression, undefined, undefined, function(expr) { right = expr; });\n if (pos !== ast.body.length - 1) {\n self.current().body.push(right, ';');\n } else {\n self.return_(right);\n }\n });\n break;\n case AST.Literal:\n expression = this.escape(ast.value);\n this.assign(intoId, expression);\n recursionFn(intoId || expression);\n break;\n case AST.UnaryExpression:\n this.recurse(ast.argument, undefined, undefined, function(expr) { right = expr; });\n expression = ast.operator + '(' + this.ifDefined(right, 0) + ')';\n this.assign(intoId, expression);\n recursionFn(expression);\n break;\n case AST.BinaryExpression:\n this.recurse(ast.left, undefined, undefined, function(expr) { left = expr; });\n this.recurse(ast.right, undefined, undefined, function(expr) { right = expr; });\n if (ast.operator === '+') {\n expression = this.plus(left, right);\n } else if (ast.operator === '-') {\n expression = this.ifDefined(left, 0) + ast.operator + this.ifDefined(right, 0);\n } else {\n expression = '(' + left + ')' + ast.operator + '(' + right + ')';\n }\n this.assign(intoId, expression);\n recursionFn(expression);\n break;\n case AST.LogicalExpression:\n intoId = intoId || this.nextId();\n self.recurse(ast.left, intoId);\n self.if_(ast.operator === '&&' ? intoId : self.not(intoId), self.lazyRecurse(ast.right, intoId));\n recursionFn(intoId);\n break;\n case AST.ConditionalExpression:\n intoId = intoId || this.nextId();\n self.recurse(ast.test, intoId);\n self.if_(intoId, self.lazyRecurse(ast.alternate, intoId), self.lazyRecurse(ast.consequent, intoId));\n recursionFn(intoId);\n break;\n case AST.Identifier:\n intoId = intoId || this.nextId();\n if (nameId) {\n nameId.context = self.stage === 'inputs' ? 's' : this.assign(this.nextId(), this.getHasOwnProperty('l', ast.name) + '?l:s');\n nameId.computed = false;\n nameId.name = ast.name;\n }\n self.if_(self.stage === 'inputs' || self.not(self.getHasOwnProperty('l', ast.name)),\n function() {\n self.if_(self.stage === 'inputs' || 's', function() {\n if (create && create !== 1) {\n self.if_(\n self.isNull(self.nonComputedMember('s', ast.name)),\n self.lazyAssign(self.nonComputedMember('s', ast.name), '{}'));\n }\n self.assign(intoId, self.nonComputedMember('s', ast.name));\n });\n }, intoId && self.lazyAssign(intoId, self.nonComputedMember('l', ast.name))\n );\n recursionFn(intoId);\n break;\n case AST.MemberExpression:\n left = nameId && (nameId.context = this.nextId()) || this.nextId();\n intoId = intoId || this.nextId();\n self.recurse(ast.object, left, undefined, function() {\n self.if_(self.notNull(left), function() {\n if (ast.computed) {\n right = self.nextId();\n self.recurse(ast.property, right);\n self.getStringValue(right);\n if (create && create !== 1) {\n self.if_(self.not(self.computedMember(left, right)), self.lazyAssign(self.computedMember(left, right), '{}'));\n }\n expression = self.computedMember(left, right);\n self.assign(intoId, expression);\n if (nameId) {\n nameId.computed = true;\n nameId.name = right;\n }\n } else {\n if (create && create !== 1) {\n self.if_(self.isNull(self.nonComputedMember(left, ast.property.name)), self.lazyAssign(self.nonComputedMember(left, ast.property.name), '{}'));\n }\n expression = self.nonComputedMember(left, ast.property.name);\n self.assign(intoId, expression);\n if (nameId) {\n nameId.computed = false;\n nameId.name = ast.property.name;\n }\n }\n }, function() {\n self.assign(intoId, 'undefined');\n });\n recursionFn(intoId);\n }, !!create);\n break;\n case AST.CallExpression:\n intoId = intoId || this.nextId();\n if (ast.filter) {\n right = self.filter(ast.callee.name);\n args = [];\n forEach(ast.arguments, function(expr) {\n var argument = self.nextId();\n self.recurse(expr, argument);\n args.push(argument);\n });\n expression = right + '(' + args.join(',') + ')';\n self.assign(intoId, expression);\n recursionFn(intoId);\n } else {\n right = self.nextId();\n left = {};\n args = [];\n self.recurse(ast.callee, right, left, function() {\n self.if_(self.notNull(right), function() {\n forEach(ast.arguments, function(expr) {\n self.recurse(expr, ast.constant ? undefined : self.nextId(), undefined, function(argument) {\n args.push(argument);\n });\n });\n if (left.name) {\n expression = self.member(left.context, left.name, left.computed) + '(' + args.join(',') + ')';\n } else {\n expression = right + '(' + args.join(',') + ')';\n }\n self.assign(intoId, expression);\n }, function() {\n self.assign(intoId, 'undefined');\n });\n recursionFn(intoId);\n });\n }\n break;\n case AST.AssignmentExpression:\n right = this.nextId();\n left = {};\n this.recurse(ast.left, undefined, left, function() {\n self.if_(self.notNull(left.context), function() {\n self.recurse(ast.right, right);\n expression = self.member(left.context, left.name, left.computed) + ast.operator + right;\n self.assign(intoId, expression);\n recursionFn(intoId || expression);\n });\n }, 1);\n break;\n case AST.ArrayExpression:\n args = [];\n forEach(ast.elements, function(expr) {\n self.recurse(expr, ast.constant ? undefined : self.nextId(), undefined, function(argument) {\n args.push(argument);\n });\n });\n expression = '[' + args.join(',') + ']';\n this.assign(intoId, expression);\n recursionFn(intoId || expression);\n break;\n case AST.ObjectExpression:\n args = [];\n computed = false;\n forEach(ast.properties, function(property) {\n if (property.computed) {\n computed = true;\n }\n });\n if (computed) {\n intoId = intoId || this.nextId();\n this.assign(intoId, '{}');\n forEach(ast.properties, function(property) {\n if (property.computed) {\n left = self.nextId();\n self.recurse(property.key, left);\n } else {\n left = property.key.type === AST.Identifier ?\n property.key.name :\n ('' + property.key.value);\n }\n right = self.nextId();\n self.recurse(property.value, right);\n self.assign(self.member(intoId, left, property.computed), right);\n });\n } else {\n forEach(ast.properties, function(property) {\n self.recurse(property.value, ast.constant ? undefined : self.nextId(), undefined, function(expr) {\n args.push(self.escape(\n property.key.type === AST.Identifier ? property.key.name :\n ('' + property.key.value)) +\n ':' + expr);\n });\n });\n expression = '{' + args.join(',') + '}';\n this.assign(intoId, expression);\n }\n recursionFn(intoId || expression);\n break;\n case AST.ThisExpression:\n this.assign(intoId, 's');\n recursionFn(intoId || 's');\n break;\n case AST.LocalsExpression:\n this.assign(intoId, 'l');\n recursionFn(intoId || 'l');\n break;\n case AST.NGValueParameter:\n this.assign(intoId, 'v');\n recursionFn(intoId || 'v');\n break;\n }\n },\n\n getHasOwnProperty: function(element, property) {\n var key = element + '.' + property;\n var own = this.current().own;\n if (!own.hasOwnProperty(key)) {\n own[key] = this.nextId(false, element + '&&(' + this.escape(property) + ' in ' + element + ')');\n }\n return own[key];\n },\n\n assign: function(id, value) {\n if (!id) return;\n this.current().body.push(id, '=', value, ';');\n return id;\n },\n\n filter: function(filterName) {\n if (!this.state.filters.hasOwnProperty(filterName)) {\n this.state.filters[filterName] = this.nextId(true);\n }\n return this.state.filters[filterName];\n },\n\n ifDefined: function(id, defaultValue) {\n return 'ifDefined(' + id + ',' + this.escape(defaultValue) + ')';\n },\n\n plus: function(left, right) {\n return 'plus(' + left + ',' + right + ')';\n },\n\n return_: function(id) {\n this.current().body.push('return ', id, ';');\n },\n\n if_: function(test, alternate, consequent) {\n if (test === true) {\n alternate();\n } else {\n var body = this.current().body;\n body.push('if(', test, '){');\n alternate();\n body.push('}');\n if (consequent) {\n body.push('else{');\n consequent();\n body.push('}');\n }\n }\n },\n\n not: function(expression) {\n return '!(' + expression + ')';\n },\n\n isNull: function(expression) {\n return expression + '==null';\n },\n\n notNull: function(expression) {\n return expression + '!=null';\n },\n\n nonComputedMember: function(left, right) {\n var SAFE_IDENTIFIER = /^[$_a-zA-Z][$_a-zA-Z0-9]*$/;\n var UNSAFE_CHARACTERS = /[^$_a-zA-Z0-9]/g;\n if (SAFE_IDENTIFIER.test(right)) {\n return left + '.' + right;\n } else {\n return left + '[\"' + right.replace(UNSAFE_CHARACTERS, this.stringEscapeFn) + '\"]';\n }\n },\n\n computedMember: function(left, right) {\n return left + '[' + right + ']';\n },\n\n member: function(left, right, computed) {\n if (computed) return this.computedMember(left, right);\n return this.nonComputedMember(left, right);\n },\n\n getStringValue: function(item) {\n this.assign(item, 'getStringValue(' + item + ')');\n },\n\n lazyRecurse: function(ast, intoId, nameId, recursionFn, create, skipWatchIdCheck) {\n var self = this;\n return function() {\n self.recurse(ast, intoId, nameId, recursionFn, create, skipWatchIdCheck);\n };\n },\n\n lazyAssign: function(id, value) {\n var self = this;\n return function() {\n self.assign(id, value);\n };\n },\n\n stringEscapeRegex: /[^ a-zA-Z0-9]/g,\n\n stringEscapeFn: function(c) {\n return '\\\\u' + ('0000' + c.charCodeAt(0).toString(16)).slice(-4);\n },\n\n escape: function(value) {\n if (isString(value)) return '\\'' + value.replace(this.stringEscapeRegex, this.stringEscapeFn) + '\\'';\n if (isNumber(value)) return value.toString();\n if (value === true) return 'true';\n if (value === false) return 'false';\n if (value === null) return 'null';\n if (typeof value === 'undefined') return 'undefined';\n\n throw $parseMinErr('esc', 'IMPOSSIBLE');\n },\n\n nextId: function(skip, init) {\n var id = 'v' + (this.state.nextId++);\n if (!skip) {\n this.current().vars.push(id + (init ? '=' + init : ''));\n }\n return id;\n },\n\n current: function() {\n return this.state[this.state.computing];\n }\n};\n\n\nfunction ASTInterpreter($filter) {\n this.$filter = $filter;\n}\n\nASTInterpreter.prototype = {\n compile: function(ast) {\n var self = this;\n findConstantAndWatchExpressions(ast, self.$filter);\n var assignable;\n var assign;\n if ((assignable = assignableAST(ast))) {\n assign = this.recurse(assignable);\n }\n var toWatch = getInputs(ast.body);\n var inputs;\n if (toWatch) {\n inputs = [];\n forEach(toWatch, function(watch, key) {\n var input = self.recurse(watch);\n input.isPure = watch.isPure;\n watch.input = input;\n inputs.push(input);\n watch.watchId = key;\n });\n }\n var expressions = [];\n forEach(ast.body, function(expression) {\n expressions.push(self.recurse(expression.expression));\n });\n var fn = ast.body.length === 0 ? noop :\n ast.body.length === 1 ? expressions[0] :\n function(scope, locals) {\n var lastValue;\n forEach(expressions, function(exp) {\n lastValue = exp(scope, locals);\n });\n return lastValue;\n };\n if (assign) {\n fn.assign = function(scope, value, locals) {\n return assign(scope, locals, value);\n };\n }\n if (inputs) {\n fn.inputs = inputs;\n }\n return fn;\n },\n\n recurse: function(ast, context, create) {\n var left, right, self = this, args;\n if (ast.input) {\n return this.inputs(ast.input, ast.watchId);\n }\n switch (ast.type) {\n case AST.Literal:\n return this.value(ast.value, context);\n case AST.UnaryExpression:\n right = this.recurse(ast.argument);\n return this['unary' + ast.operator](right, context);\n case AST.BinaryExpression:\n left = this.recurse(ast.left);\n right = this.recurse(ast.right);\n return this['binary' + ast.operator](left, right, context);\n case AST.LogicalExpression:\n left = this.recurse(ast.left);\n right = this.recurse(ast.right);\n return this['binary' + ast.operator](left, right, context);\n case AST.ConditionalExpression:\n return this['ternary?:'](\n this.recurse(ast.test),\n this.recurse(ast.alternate),\n this.recurse(ast.consequent),\n context\n );\n case AST.Identifier:\n return self.identifier(ast.name, context, create);\n case AST.MemberExpression:\n left = this.recurse(ast.object, false, !!create);\n if (!ast.computed) {\n right = ast.property.name;\n }\n if (ast.computed) right = this.recurse(ast.property);\n return ast.computed ?\n this.computedMember(left, right, context, create) :\n this.nonComputedMember(left, right, context, create);\n case AST.CallExpression:\n args = [];\n forEach(ast.arguments, function(expr) {\n args.push(self.recurse(expr));\n });\n if (ast.filter) right = this.$filter(ast.callee.name);\n if (!ast.filter) right = this.recurse(ast.callee, true);\n return ast.filter ?\n function(scope, locals, assign, inputs) {\n var values = [];\n for (var i = 0; i < args.length; ++i) {\n values.push(args[i](scope, locals, assign, inputs));\n }\n var value = right.apply(undefined, values, inputs);\n return context ? {context: undefined, name: undefined, value: value} : value;\n } :\n function(scope, locals, assign, inputs) {\n var rhs = right(scope, locals, assign, inputs);\n var value;\n if (rhs.value != null) {\n var values = [];\n for (var i = 0; i < args.length; ++i) {\n values.push(args[i](scope, locals, assign, inputs));\n }\n value = rhs.value.apply(rhs.context, values);\n }\n return context ? {value: value} : value;\n };\n case AST.AssignmentExpression:\n left = this.recurse(ast.left, true, 1);\n right = this.recurse(ast.right);\n return function(scope, locals, assign, inputs) {\n var lhs = left(scope, locals, assign, inputs);\n var rhs = right(scope, locals, assign, inputs);\n lhs.context[lhs.name] = rhs;\n return context ? {value: rhs} : rhs;\n };\n case AST.ArrayExpression:\n args = [];\n forEach(ast.elements, function(expr) {\n args.push(self.recurse(expr));\n });\n return function(scope, locals, assign, inputs) {\n var value = [];\n for (var i = 0; i < args.length; ++i) {\n value.push(args[i](scope, locals, assign, inputs));\n }\n return context ? {value: value} : value;\n };\n case AST.ObjectExpression:\n args = [];\n forEach(ast.properties, function(property) {\n if (property.computed) {\n args.push({key: self.recurse(property.key),\n computed: true,\n value: self.recurse(property.value)\n });\n } else {\n args.push({key: property.key.type === AST.Identifier ?\n property.key.name :\n ('' + property.key.value),\n computed: false,\n value: self.recurse(property.value)\n });\n }\n });\n return function(scope, locals, assign, inputs) {\n var value = {};\n for (var i = 0; i < args.length; ++i) {\n if (args[i].computed) {\n value[args[i].key(scope, locals, assign, inputs)] = args[i].value(scope, locals, assign, inputs);\n } else {\n value[args[i].key] = args[i].value(scope, locals, assign, inputs);\n }\n }\n return context ? {value: value} : value;\n };\n case AST.ThisExpression:\n return function(scope) {\n return context ? {value: scope} : scope;\n };\n case AST.LocalsExpression:\n return function(scope, locals) {\n return context ? {value: locals} : locals;\n };\n case AST.NGValueParameter:\n return function(scope, locals, assign) {\n return context ? {value: assign} : assign;\n };\n }\n },\n\n 'unary+': function(argument, context) {\n return function(scope, locals, assign, inputs) {\n var arg = argument(scope, locals, assign, inputs);\n if (isDefined(arg)) {\n arg = +arg;\n } else {\n arg = 0;\n }\n return context ? {value: arg} : arg;\n };\n },\n 'unary-': function(argument, context) {\n return function(scope, locals, assign, inputs) {\n var arg = argument(scope, locals, assign, inputs);\n if (isDefined(arg)) {\n arg = -arg;\n } else {\n arg = -0;\n }\n return context ? {value: arg} : arg;\n };\n },\n 'unary!': function(argument, context) {\n return function(scope, locals, assign, inputs) {\n var arg = !argument(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary+': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n var lhs = left(scope, locals, assign, inputs);\n var rhs = right(scope, locals, assign, inputs);\n var arg = plusFn(lhs, rhs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary-': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n var lhs = left(scope, locals, assign, inputs);\n var rhs = right(scope, locals, assign, inputs);\n var arg = (isDefined(lhs) ? lhs : 0) - (isDefined(rhs) ? rhs : 0);\n return context ? {value: arg} : arg;\n };\n },\n 'binary*': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n var arg = left(scope, locals, assign, inputs) * right(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary/': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n var arg = left(scope, locals, assign, inputs) / right(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary%': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n var arg = left(scope, locals, assign, inputs) % right(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary===': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n var arg = left(scope, locals, assign, inputs) === right(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary!==': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n var arg = left(scope, locals, assign, inputs) !== right(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary==': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n // eslint-disable-next-line eqeqeq\n var arg = left(scope, locals, assign, inputs) == right(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary!=': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n // eslint-disable-next-line eqeqeq\n var arg = left(scope, locals, assign, inputs) != right(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary<': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n var arg = left(scope, locals, assign, inputs) < right(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary>': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n var arg = left(scope, locals, assign, inputs) > right(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary<=': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n var arg = left(scope, locals, assign, inputs) <= right(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary>=': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n var arg = left(scope, locals, assign, inputs) >= right(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary&&': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n var arg = left(scope, locals, assign, inputs) && right(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'binary||': function(left, right, context) {\n return function(scope, locals, assign, inputs) {\n var arg = left(scope, locals, assign, inputs) || right(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n 'ternary?:': function(test, alternate, consequent, context) {\n return function(scope, locals, assign, inputs) {\n var arg = test(scope, locals, assign, inputs) ? alternate(scope, locals, assign, inputs) : consequent(scope, locals, assign, inputs);\n return context ? {value: arg} : arg;\n };\n },\n value: function(value, context) {\n return function() { return context ? {context: undefined, name: undefined, value: value} : value; };\n },\n identifier: function(name, context, create) {\n return function(scope, locals, assign, inputs) {\n var base = locals && (name in locals) ? locals : scope;\n if (create && create !== 1 && base && base[name] == null) {\n base[name] = {};\n }\n var value = base ? base[name] : undefined;\n if (context) {\n return {context: base, name: name, value: value};\n } else {\n return value;\n }\n };\n },\n computedMember: function(left, right, context, create) {\n return function(scope, locals, assign, inputs) {\n var lhs = left(scope, locals, assign, inputs);\n var rhs;\n var value;\n if (lhs != null) {\n rhs = right(scope, locals, assign, inputs);\n rhs = getStringValue(rhs);\n if (create && create !== 1) {\n if (lhs && !(lhs[rhs])) {\n lhs[rhs] = {};\n }\n }\n value = lhs[rhs];\n }\n if (context) {\n return {context: lhs, name: rhs, value: value};\n } else {\n return value;\n }\n };\n },\n nonComputedMember: function(left, right, context, create) {\n return function(scope, locals, assign, inputs) {\n var lhs = left(scope, locals, assign, inputs);\n if (create && create !== 1) {\n if (lhs && lhs[right] == null) {\n lhs[right] = {};\n }\n }\n var value = lhs != null ? lhs[right] : undefined;\n if (context) {\n return {context: lhs, name: right, value: value};\n } else {\n return value;\n }\n };\n },\n inputs: function(input, watchId) {\n return function(scope, value, locals, inputs) {\n if (inputs) return inputs[watchId];\n return input(scope, value, locals);\n };\n }\n};\n\n/**\n * @constructor\n */\nfunction Parser(lexer, $filter, options) {\n this.ast = new AST(lexer, options);\n this.astCompiler = options.csp ? new ASTInterpreter($filter) :\n new ASTCompiler($filter);\n}\n\nParser.prototype = {\n constructor: Parser,\n\n parse: function(text) {\n var ast = this.getAst(text);\n var fn = this.astCompiler.compile(ast.ast);\n fn.literal = isLiteral(ast.ast);\n fn.constant = isConstant(ast.ast);\n fn.oneTime = ast.oneTime;\n return fn;\n },\n\n getAst: function(exp) {\n var oneTime = false;\n exp = exp.trim();\n\n if (exp.charAt(0) === ':' && exp.charAt(1) === ':') {\n oneTime = true;\n exp = exp.substring(2);\n }\n return {\n ast: this.ast.ast(exp),\n oneTime: oneTime\n };\n }\n};\n\nfunction getValueOf(value) {\n return isFunction(value.valueOf) ? value.valueOf() : objectValueOf.call(value);\n}\n\n///////////////////////////////////\n\n/**\n * @ngdoc service\n * @name $parse\n * @kind function\n *\n * @description\n *\n * Converts AngularJS {@link guide/expression expression} into a function.\n *\n * ```js\n * var getter = $parse('user.name');\n * var setter = getter.assign;\n * var context = {user:{name:'AngularJS'}};\n * var locals = {user:{name:'local'}};\n *\n * expect(getter(context)).toEqual('AngularJS');\n * setter(context, 'newValue');\n * expect(context.user.name).toEqual('newValue');\n * expect(getter(context, locals)).toEqual('local');\n * ```\n *\n *\n * @param {string} expression String expression to compile.\n * @returns {function(context, locals)} a function which represents the compiled expression:\n *\n * * `context` – `{object}` – an object against which any expressions embedded in the strings\n * are evaluated against (typically a scope object).\n * * `locals` – `{object=}` – local variables context object, useful for overriding values in\n * `context`.\n *\n * The returned function also has the following properties:\n * * `literal` – `{boolean}` – whether the expression's top-level node is a JavaScript\n * literal.\n * * `constant` – `{boolean}` – whether the expression is made entirely of JavaScript\n * constant literals.\n * * `assign` – `{?function(context, value)}` – if the expression is assignable, this will be\n * set to a function to change its value on the given context.\n *\n */\n\n\n/**\n * @ngdoc provider\n * @name $parseProvider\n * @this\n *\n * @description\n * `$parseProvider` can be used for configuring the default behavior of the {@link ng.$parse $parse}\n * service.\n */\nfunction $ParseProvider() {\n var cache = createMap();\n var literals = {\n 'true': true,\n 'false': false,\n 'null': null,\n 'undefined': undefined\n };\n var identStart, identContinue;\n\n /**\n * @ngdoc method\n * @name $parseProvider#addLiteral\n * @description\n *\n * Configure $parse service to add literal values that will be present as literal at expressions.\n *\n * @param {string} literalName Token for the literal value. The literal name value must be a valid literal name.\n * @param {*} literalValue Value for this literal. All literal values must be primitives or `undefined`.\n *\n **/\n this.addLiteral = function(literalName, literalValue) {\n literals[literalName] = literalValue;\n };\n\n /**\n * @ngdoc method\n * @name $parseProvider#setIdentifierFns\n *\n * @description\n *\n * Allows defining the set of characters that are allowed in AngularJS expressions. The function\n * `identifierStart` will get called to know if a given character is a valid character to be the\n * first character for an identifier. The function `identifierContinue` will get called to know if\n * a given character is a valid character to be a follow-up identifier character. The functions\n * `identifierStart` and `identifierContinue` will receive as arguments the single character to be\n * identifier and the character code point. These arguments will be `string` and `numeric`. Keep in\n * mind that the `string` parameter can be two characters long depending on the character\n * representation. It is expected for the function to return `true` or `false`, whether that\n * character is allowed or not.\n *\n * Since this function will be called extensively, keep the implementation of these functions fast,\n * as the performance of these functions have a direct impact on the expressions parsing speed.\n *\n * @param {function=} identifierStart The function that will decide whether the given character is\n * a valid identifier start character.\n * @param {function=} identifierContinue The function that will decide whether the given character is\n * a valid identifier continue character.\n */\n this.setIdentifierFns = function(identifierStart, identifierContinue) {\n identStart = identifierStart;\n identContinue = identifierContinue;\n return this;\n };\n\n this.$get = ['$filter', function($filter) {\n var noUnsafeEval = csp().noUnsafeEval;\n var $parseOptions = {\n csp: noUnsafeEval,\n literals: copy(literals),\n isIdentifierStart: isFunction(identStart) && identStart,\n isIdentifierContinue: isFunction(identContinue) && identContinue\n };\n $parse.$$getAst = $$getAst;\n return $parse;\n\n function $parse(exp, interceptorFn) {\n var parsedExpression, cacheKey;\n\n switch (typeof exp) {\n case 'string':\n exp = exp.trim();\n cacheKey = exp;\n\n parsedExpression = cache[cacheKey];\n\n if (!parsedExpression) {\n var lexer = new Lexer($parseOptions);\n var parser = new Parser(lexer, $filter, $parseOptions);\n parsedExpression = parser.parse(exp);\n\n cache[cacheKey] = addWatchDelegate(parsedExpression);\n }\n return addInterceptor(parsedExpression, interceptorFn);\n\n case 'function':\n return addInterceptor(exp, interceptorFn);\n\n default:\n return addInterceptor(noop, interceptorFn);\n }\n }\n\n function $$getAst(exp) {\n var lexer = new Lexer($parseOptions);\n var parser = new Parser(lexer, $filter, $parseOptions);\n return parser.getAst(exp).ast;\n }\n\n function expressionInputDirtyCheck(newValue, oldValueOfValue, compareObjectIdentity) {\n\n if (newValue == null || oldValueOfValue == null) { // null/undefined\n return newValue === oldValueOfValue;\n }\n\n if (typeof newValue === 'object') {\n\n // attempt to convert the value to a primitive type\n // TODO(docs): add a note to docs that by implementing valueOf even objects and arrays can\n // be cheaply dirty-checked\n newValue = getValueOf(newValue);\n\n if (typeof newValue === 'object' && !compareObjectIdentity) {\n // objects/arrays are not supported - deep-watching them would be too expensive\n return false;\n }\n\n // fall-through to the primitive equality check\n }\n\n //Primitive or NaN\n // eslint-disable-next-line no-self-compare\n return newValue === oldValueOfValue || (newValue !== newValue && oldValueOfValue !== oldValueOfValue);\n }\n\n function inputsWatchDelegate(scope, listener, objectEquality, parsedExpression, prettyPrintExpression) {\n var inputExpressions = parsedExpression.inputs;\n var lastResult;\n\n if (inputExpressions.length === 1) {\n var oldInputValueOf = expressionInputDirtyCheck; // init to something unique so that equals check fails\n inputExpressions = inputExpressions[0];\n return scope.$watch(function expressionInputWatch(scope) {\n var newInputValue = inputExpressions(scope);\n if (!expressionInputDirtyCheck(newInputValue, oldInputValueOf, inputExpressions.isPure)) {\n lastResult = parsedExpression(scope, undefined, undefined, [newInputValue]);\n oldInputValueOf = newInputValue && getValueOf(newInputValue);\n }\n return lastResult;\n }, listener, objectEquality, prettyPrintExpression);\n }\n\n var oldInputValueOfValues = [];\n var oldInputValues = [];\n for (var i = 0, ii = inputExpressions.length; i < ii; i++) {\n oldInputValueOfValues[i] = expressionInputDirtyCheck; // init to something unique so that equals check fails\n oldInputValues[i] = null;\n }\n\n return scope.$watch(function expressionInputsWatch(scope) {\n var changed = false;\n\n for (var i = 0, ii = inputExpressions.length; i < ii; i++) {\n var newInputValue = inputExpressions[i](scope);\n if (changed || (changed = !expressionInputDirtyCheck(newInputValue, oldInputValueOfValues[i], inputExpressions[i].isPure))) {\n oldInputValues[i] = newInputValue;\n oldInputValueOfValues[i] = newInputValue && getValueOf(newInputValue);\n }\n }\n\n if (changed) {\n lastResult = parsedExpression(scope, undefined, undefined, oldInputValues);\n }\n\n return lastResult;\n }, listener, objectEquality, prettyPrintExpression);\n }\n\n function oneTimeWatchDelegate(scope, listener, objectEquality, parsedExpression, prettyPrintExpression) {\n var isDone = parsedExpression.literal ? isAllDefined : isDefined;\n var unwatch, lastValue;\n\n var exp = parsedExpression.$$intercepted || parsedExpression;\n var post = parsedExpression.$$interceptor || identity;\n\n var useInputs = parsedExpression.inputs && !exp.inputs;\n\n // Propogate the literal/inputs/constant attributes\n // ... but not oneTime since we are handling it\n oneTimeWatch.literal = parsedExpression.literal;\n oneTimeWatch.constant = parsedExpression.constant;\n oneTimeWatch.inputs = parsedExpression.inputs;\n\n // Allow other delegates to run on this wrapped expression\n addWatchDelegate(oneTimeWatch);\n\n unwatch = scope.$watch(oneTimeWatch, listener, objectEquality, prettyPrintExpression);\n\n return unwatch;\n\n function unwatchIfDone() {\n if (isDone(lastValue)) {\n unwatch();\n }\n }\n\n function oneTimeWatch(scope, locals, assign, inputs) {\n lastValue = useInputs && inputs ? inputs[0] : exp(scope, locals, assign, inputs);\n if (isDone(lastValue)) {\n scope.$$postDigest(unwatchIfDone);\n }\n return post(lastValue);\n }\n }\n\n function isAllDefined(value) {\n var allDefined = true;\n forEach(value, function(val) {\n if (!isDefined(val)) allDefined = false;\n });\n return allDefined;\n }\n\n function constantWatchDelegate(scope, listener, objectEquality, parsedExpression) {\n var unwatch = scope.$watch(function constantWatch(scope) {\n unwatch();\n return parsedExpression(scope);\n }, listener, objectEquality);\n return unwatch;\n }\n\n function addWatchDelegate(parsedExpression) {\n if (parsedExpression.constant) {\n parsedExpression.$$watchDelegate = constantWatchDelegate;\n } else if (parsedExpression.oneTime) {\n parsedExpression.$$watchDelegate = oneTimeWatchDelegate;\n } else if (parsedExpression.inputs) {\n parsedExpression.$$watchDelegate = inputsWatchDelegate;\n }\n\n return parsedExpression;\n }\n\n function chainInterceptors(first, second) {\n function chainedInterceptor(value) {\n return second(first(value));\n }\n chainedInterceptor.$stateful = first.$stateful || second.$stateful;\n chainedInterceptor.$$pure = first.$$pure && second.$$pure;\n\n return chainedInterceptor;\n }\n\n function addInterceptor(parsedExpression, interceptorFn) {\n if (!interceptorFn) return parsedExpression;\n\n // Extract any existing interceptors out of the parsedExpression\n // to ensure the original parsedExpression is always the $$intercepted\n if (parsedExpression.$$interceptor) {\n interceptorFn = chainInterceptors(parsedExpression.$$interceptor, interceptorFn);\n parsedExpression = parsedExpression.$$intercepted;\n }\n\n var useInputs = false;\n\n var fn = function interceptedExpression(scope, locals, assign, inputs) {\n var value = useInputs && inputs ? inputs[0] : parsedExpression(scope, locals, assign, inputs);\n return interceptorFn(value);\n };\n\n // Maintain references to the interceptor/intercepted\n fn.$$intercepted = parsedExpression;\n fn.$$interceptor = interceptorFn;\n\n // Propogate the literal/oneTime/constant attributes\n fn.literal = parsedExpression.literal;\n fn.oneTime = parsedExpression.oneTime;\n fn.constant = parsedExpression.constant;\n\n // Treat the interceptor like filters.\n // If it is not $stateful then only watch its inputs.\n // If the expression itself has no inputs then use the full expression as an input.\n if (!interceptorFn.$stateful) {\n useInputs = !parsedExpression.inputs;\n fn.inputs = parsedExpression.inputs ? parsedExpression.inputs : [parsedExpression];\n\n if (!interceptorFn.$$pure) {\n fn.inputs = fn.inputs.map(function(e) {\n // Remove the isPure flag of inputs when it is not absolute because they are now wrapped in a\n // non-pure interceptor function.\n if (e.isPure === PURITY_RELATIVE) {\n return function depurifier(s) { return e(s); };\n }\n return e;\n });\n }\n }\n\n return addWatchDelegate(fn);\n }\n }];\n}\n\n/**\n * @ngdoc service\n * @name $q\n * @requires $rootScope\n *\n * @description\n * A service that helps you run functions asynchronously, and use their return values (or exceptions)\n * when they are done processing.\n *\n * This is a [Promises/A+](https://promisesaplus.com/)-compliant implementation of promises/deferred\n * objects inspired by [Kris Kowal's Q](https://github.com/kriskowal/q).\n *\n * $q can be used in two fashions --- one which is more similar to Kris Kowal's Q or jQuery's Deferred\n * implementations, and the other which resembles ES6 (ES2015) promises to some degree.\n *\n * ## $q constructor\n *\n * The streamlined ES6 style promise is essentially just using $q as a constructor which takes a `resolver`\n * function as the first argument. This is similar to the native Promise implementation from ES6,\n * see [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise).\n *\n * While the constructor-style use is supported, not all of the supporting methods from ES6 promises are\n * available yet.\n *\n * It can be used like so:\n *\n * ```js\n * // for the purpose of this example let's assume that variables `$q` and `okToGreet`\n * // are available in the current lexical scope (they could have been injected or passed in).\n *\n * function asyncGreet(name) {\n * // perform some asynchronous operation, resolve or reject the promise when appropriate.\n * return $q(function(resolve, reject) {\n * setTimeout(function() {\n * if (okToGreet(name)) {\n * resolve('Hello, ' + name + '!');\n * } else {\n * reject('Greeting ' + name + ' is not allowed.');\n * }\n * }, 1000);\n * });\n * }\n *\n * var promise = asyncGreet('Robin Hood');\n * promise.then(function(greeting) {\n * alert('Success: ' + greeting);\n * }, function(reason) {\n * alert('Failed: ' + reason);\n * });\n * ```\n *\n * Note: progress/notify callbacks are not currently supported via the ES6-style interface.\n *\n * Note: unlike ES6 behavior, an exception thrown in the constructor function will NOT implicitly reject the promise.\n *\n * However, the more traditional CommonJS-style usage is still available, and documented below.\n *\n * [The CommonJS Promise proposal](http://wiki.commonjs.org/wiki/Promises) describes a promise as an\n * interface for interacting with an object that represents the result of an action that is\n * performed asynchronously, and may or may not be finished at any given point in time.\n *\n * From the perspective of dealing with error handling, deferred and promise APIs are to\n * asynchronous programming what `try`, `catch` and `throw` keywords are to synchronous programming.\n *\n * ```js\n * // for the purpose of this example let's assume that variables `$q` and `okToGreet`\n * // are available in the current lexical scope (they could have been injected or passed in).\n *\n * function asyncGreet(name) {\n * var deferred = $q.defer();\n *\n * setTimeout(function() {\n * deferred.notify('About to greet ' + name + '.');\n *\n * if (okToGreet(name)) {\n * deferred.resolve('Hello, ' + name + '!');\n * } else {\n * deferred.reject('Greeting ' + name + ' is not allowed.');\n * }\n * }, 1000);\n *\n * return deferred.promise;\n * }\n *\n * var promise = asyncGreet('Robin Hood');\n * promise.then(function(greeting) {\n * alert('Success: ' + greeting);\n * }, function(reason) {\n * alert('Failed: ' + reason);\n * }, function(update) {\n * alert('Got notification: ' + update);\n * });\n * ```\n *\n * At first it might not be obvious why this extra complexity is worth the trouble. The payoff\n * comes in the way of guarantees that promise and deferred APIs make, see\n * https://github.com/kriskowal/uncommonjs/blob/master/promises/specification.md.\n *\n * Additionally the promise api allows for composition that is very hard to do with the\n * traditional callback ([CPS](http://en.wikipedia.org/wiki/Continuation-passing_style)) approach.\n * For more on this please see the [Q documentation](https://github.com/kriskowal/q) especially the\n * section on serial or parallel joining of promises.\n *\n * ## The Deferred API\n *\n * A new instance of deferred is constructed by calling `$q.defer()`.\n *\n * The purpose of the deferred object is to expose the associated Promise instance as well as APIs\n * that can be used for signaling the successful or unsuccessful completion, as well as the status\n * of the task.\n *\n * **Methods**\n *\n * - `resolve(value)` – resolves the derived promise with the `value`. If the value is a rejection\n * constructed via `$q.reject`, the promise will be rejected instead.\n * - `reject(reason)` – rejects the derived promise with the `reason`. This is equivalent to\n * resolving it with a rejection constructed via `$q.reject`.\n * - `notify(value)` - provides updates on the status of the promise's execution. This may be called\n * multiple times before the promise is either resolved or rejected.\n *\n * **Properties**\n *\n * - promise – `{Promise}` – promise object associated with this deferred.\n *\n *\n * ## The Promise API\n *\n * A new promise instance is created when a deferred instance is created and can be retrieved by\n * calling `deferred.promise`.\n *\n * The purpose of the promise object is to allow for interested parties to get access to the result\n * of the deferred task when it completes.\n *\n * **Methods**\n *\n * - `then(successCallback, [errorCallback], [notifyCallback])` – regardless of when the promise was or\n * will be resolved or rejected, `then` calls one of the success or error callbacks asynchronously\n * as soon as the result is available. The callbacks are called with a single argument: the result\n * or rejection reason. Additionally, the notify callback may be called zero or more times to\n * provide a progress indication, before the promise is resolved or rejected.\n *\n * This method *returns a new promise* which is resolved or rejected via the return value of the\n * `successCallback`, `errorCallback` (unless that value is a promise, in which case it is resolved\n * with the value which is resolved in that promise using\n * [promise chaining](http://www.html5rocks.com/en/tutorials/es6/promises/#toc-promises-queues)).\n * It also notifies via the return value of the `notifyCallback` method. The promise cannot be\n * resolved or rejected from the notifyCallback method. The errorCallback and notifyCallback\n * arguments are optional.\n *\n * - `catch(errorCallback)` – shorthand for `promise.then(null, errorCallback)`\n *\n * - `finally(callback, notifyCallback)` – allows you to observe either the fulfillment or rejection of a promise,\n * but to do so without modifying the final value. This is useful to release resources or do some\n * clean-up that needs to be done whether the promise was rejected or resolved. See the [full\n * specification](https://github.com/kriskowal/q/wiki/API-Reference#promisefinallycallback) for\n * more information.\n *\n * ## Chaining promises\n *\n * Because calling the `then` method of a promise returns a new derived promise, it is easily\n * possible to create a chain of promises:\n *\n * ```js\n * promiseB = promiseA.then(function(result) {\n * return result + 1;\n * });\n *\n * // promiseB will be resolved immediately after promiseA is resolved and its value\n * // will be the result of promiseA incremented by 1\n * ```\n *\n * It is possible to create chains of any length and since a promise can be resolved with another\n * promise (which will defer its resolution further), it is possible to pause/defer resolution of\n * the promises at any point in the chain. This makes it possible to implement powerful APIs like\n * $http's response interceptors.\n *\n *\n * ## Differences between Kris Kowal's Q and $q\n *\n * There are two main differences:\n *\n * - $q is integrated with the {@link ng.$rootScope.Scope} Scope model observation\n * mechanism in AngularJS, which means faster propagation of resolution or rejection into your\n * models and avoiding unnecessary browser repaints, which would result in flickering UI.\n * - Q has many more features than $q, but that comes at a cost of bytes. $q is tiny, but contains\n * all the important functionality needed for common async tasks.\n *\n * ## Testing\n *\n * ```js\n * it('should simulate promise', inject(function($q, $rootScope) {\n * var deferred = $q.defer();\n * var promise = deferred.promise;\n * var resolvedValue;\n *\n * promise.then(function(value) { resolvedValue = value; });\n * expect(resolvedValue).toBeUndefined();\n *\n * // Simulate resolving of promise\n * deferred.resolve(123);\n * // Note that the 'then' function does not get called synchronously.\n * // This is because we want the promise API to always be async, whether or not\n * // it got called synchronously or asynchronously.\n * expect(resolvedValue).toBeUndefined();\n *\n * // Propagate promise resolution to 'then' functions using $apply().\n * $rootScope.$apply();\n * expect(resolvedValue).toEqual(123);\n * }));\n * ```\n *\n * @param {function(function, function)} resolver Function which is responsible for resolving or\n * rejecting the newly created promise. The first parameter is a function which resolves the\n * promise, the second parameter is a function which rejects the promise.\n *\n * @returns {Promise} The newly created promise.\n */\n/**\n * @ngdoc provider\n * @name $qProvider\n * @this\n *\n * @description\n */\nfunction $QProvider() {\n var errorOnUnhandledRejections = true;\n this.$get = ['$rootScope', '$exceptionHandler', function($rootScope, $exceptionHandler) {\n return qFactory(function(callback) {\n $rootScope.$evalAsync(callback);\n }, $exceptionHandler, errorOnUnhandledRejections);\n }];\n\n /**\n * @ngdoc method\n * @name $qProvider#errorOnUnhandledRejections\n * @kind function\n *\n * @description\n * Retrieves or overrides whether to generate an error when a rejected promise is not handled.\n * This feature is enabled by default.\n *\n * @param {boolean=} value Whether to generate an error when a rejected promise is not handled.\n * @returns {boolean|ng.$qProvider} Current value when called without a new value or self for\n * chaining otherwise.\n */\n this.errorOnUnhandledRejections = function(value) {\n if (isDefined(value)) {\n errorOnUnhandledRejections = value;\n return this;\n } else {\n return errorOnUnhandledRejections;\n }\n };\n}\n\n/** @this */\nfunction $$QProvider() {\n var errorOnUnhandledRejections = true;\n this.$get = ['$browser', '$exceptionHandler', function($browser, $exceptionHandler) {\n return qFactory(function(callback) {\n $browser.defer(callback);\n }, $exceptionHandler, errorOnUnhandledRejections);\n }];\n\n this.errorOnUnhandledRejections = function(value) {\n if (isDefined(value)) {\n errorOnUnhandledRejections = value;\n return this;\n } else {\n return errorOnUnhandledRejections;\n }\n };\n}\n\n/**\n * Constructs a promise manager.\n *\n * @param {function(function)} nextTick Function for executing functions in the next turn.\n * @param {function(...*)} exceptionHandler Function into which unexpected exceptions are passed for\n * debugging purposes.\n * @param {boolean=} errorOnUnhandledRejections Whether an error should be generated on unhandled\n * promises rejections.\n * @returns {object} Promise manager.\n */\nfunction qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {\n var $qMinErr = minErr('$q', TypeError);\n var queueSize = 0;\n var checkQueue = [];\n\n /**\n * @ngdoc method\n * @name ng.$q#defer\n * @kind function\n *\n * @description\n * Creates a `Deferred` object which represents a task which will finish in the future.\n *\n * @returns {Deferred} Returns a new instance of deferred.\n */\n function defer() {\n return new Deferred();\n }\n\n function Deferred() {\n var promise = this.promise = new Promise();\n //Non prototype methods necessary to support unbound execution :/\n this.resolve = function(val) { resolvePromise(promise, val); };\n this.reject = function(reason) { rejectPromise(promise, reason); };\n this.notify = function(progress) { notifyPromise(promise, progress); };\n }\n\n\n function Promise() {\n this.$$state = { status: 0 };\n }\n\n extend(Promise.prototype, {\n then: function(onFulfilled, onRejected, progressBack) {\n if (isUndefined(onFulfilled) && isUndefined(onRejected) && isUndefined(progressBack)) {\n return this;\n }\n var result = new Promise();\n\n this.$$state.pending = this.$$state.pending || [];\n this.$$state.pending.push([result, onFulfilled, onRejected, progressBack]);\n if (this.$$state.status > 0) scheduleProcessQueue(this.$$state);\n\n return result;\n },\n\n 'catch': function(callback) {\n return this.then(null, callback);\n },\n\n 'finally': function(callback, progressBack) {\n return this.then(function(value) {\n return handleCallback(value, resolve, callback);\n }, function(error) {\n return handleCallback(error, reject, callback);\n }, progressBack);\n }\n });\n\n function processQueue(state) {\n var fn, promise, pending;\n\n pending = state.pending;\n state.processScheduled = false;\n state.pending = undefined;\n try {\n for (var i = 0, ii = pending.length; i < ii; ++i) {\n markQStateExceptionHandled(state);\n promise = pending[i][0];\n fn = pending[i][state.status];\n try {\n if (isFunction(fn)) {\n resolvePromise(promise, fn(state.value));\n } else if (state.status === 1) {\n resolvePromise(promise, state.value);\n } else {\n rejectPromise(promise, state.value);\n }\n } catch (e) {\n rejectPromise(promise, e);\n // This error is explicitly marked for being passed to the $exceptionHandler\n if (e && e.$$passToExceptionHandler === true) {\n exceptionHandler(e);\n }\n }\n }\n } finally {\n --queueSize;\n if (errorOnUnhandledRejections && queueSize === 0) {\n nextTick(processChecks);\n }\n }\n }\n\n function processChecks() {\n // eslint-disable-next-line no-unmodified-loop-condition\n while (!queueSize && checkQueue.length) {\n var toCheck = checkQueue.shift();\n if (!isStateExceptionHandled(toCheck)) {\n markQStateExceptionHandled(toCheck);\n var errorMessage = 'Possibly unhandled rejection: ' + toDebugString(toCheck.value);\n if (isError(toCheck.value)) {\n exceptionHandler(toCheck.value, errorMessage);\n } else {\n exceptionHandler(errorMessage);\n }\n }\n }\n }\n\n function scheduleProcessQueue(state) {\n if (errorOnUnhandledRejections && !state.pending && state.status === 2 && !isStateExceptionHandled(state)) {\n if (queueSize === 0 && checkQueue.length === 0) {\n nextTick(processChecks);\n }\n checkQueue.push(state);\n }\n if (state.processScheduled || !state.pending) return;\n state.processScheduled = true;\n ++queueSize;\n nextTick(function() { processQueue(state); });\n }\n\n function resolvePromise(promise, val) {\n if (promise.$$state.status) return;\n if (val === promise) {\n $$reject(promise, $qMinErr(\n 'qcycle',\n 'Expected promise to be resolved with value other than itself \\'{0}\\'',\n val));\n } else {\n $$resolve(promise, val);\n }\n\n }\n\n function $$resolve(promise, val) {\n var then;\n var done = false;\n try {\n if (isObject(val) || isFunction(val)) then = val.then;\n if (isFunction(then)) {\n promise.$$state.status = -1;\n then.call(val, doResolve, doReject, doNotify);\n } else {\n promise.$$state.value = val;\n promise.$$state.status = 1;\n scheduleProcessQueue(promise.$$state);\n }\n } catch (e) {\n doReject(e);\n }\n\n function doResolve(val) {\n if (done) return;\n done = true;\n $$resolve(promise, val);\n }\n function doReject(val) {\n if (done) return;\n done = true;\n $$reject(promise, val);\n }\n function doNotify(progress) {\n notifyPromise(promise, progress);\n }\n }\n\n function rejectPromise(promise, reason) {\n if (promise.$$state.status) return;\n $$reject(promise, reason);\n }\n\n function $$reject(promise, reason) {\n promise.$$state.value = reason;\n promise.$$state.status = 2;\n scheduleProcessQueue(promise.$$state);\n }\n\n function notifyPromise(promise, progress) {\n var callbacks = promise.$$state.pending;\n\n if ((promise.$$state.status <= 0) && callbacks && callbacks.length) {\n nextTick(function() {\n var callback, result;\n for (var i = 0, ii = callbacks.length; i < ii; i++) {\n result = callbacks[i][0];\n callback = callbacks[i][3];\n try {\n notifyPromise(result, isFunction(callback) ? callback(progress) : progress);\n } catch (e) {\n exceptionHandler(e);\n }\n }\n });\n }\n }\n\n /**\n * @ngdoc method\n * @name $q#reject\n * @kind function\n *\n * @description\n * Creates a promise that is resolved as rejected with the specified `reason`. This api should be\n * used to forward rejection in a chain of promises. If you are dealing with the last promise in\n * a promise chain, you don't need to worry about it.\n *\n * When comparing deferreds/promises to the familiar behavior of try/catch/throw, think of\n * `reject` as the `throw` keyword in JavaScript. This also means that if you \"catch\" an error via\n * a promise error callback and you want to forward the error to the promise derived from the\n * current promise, you have to \"rethrow\" the error by returning a rejection constructed via\n * `reject`.\n *\n * ```js\n * promiseB = promiseA.then(function(result) {\n * // success: do something and resolve promiseB\n * // with the old or a new result\n * return result;\n * }, function(reason) {\n * // error: handle the error if possible and\n * // resolve promiseB with newPromiseOrValue,\n * // otherwise forward the rejection to promiseB\n * if (canHandle(reason)) {\n * // handle the error and recover\n * return newPromiseOrValue;\n * }\n * return $q.reject(reason);\n * });\n * ```\n *\n * @param {*} reason Constant, message, exception or an object representing the rejection reason.\n * @returns {Promise} Returns a promise that was already resolved as rejected with the `reason`.\n */\n function reject(reason) {\n var result = new Promise();\n rejectPromise(result, reason);\n return result;\n }\n\n function handleCallback(value, resolver, callback) {\n var callbackOutput = null;\n try {\n if (isFunction(callback)) callbackOutput = callback();\n } catch (e) {\n return reject(e);\n }\n if (isPromiseLike(callbackOutput)) {\n return callbackOutput.then(function() {\n return resolver(value);\n }, reject);\n } else {\n return resolver(value);\n }\n }\n\n /**\n * @ngdoc method\n * @name $q#when\n * @kind function\n *\n * @description\n * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.\n * This is useful when you are dealing with an object that might or might not be a promise, or if\n * the promise comes from a source that can't be trusted.\n *\n * @param {*} value Value or a promise\n * @param {Function=} successCallback\n * @param {Function=} errorCallback\n * @param {Function=} progressCallback\n * @returns {Promise} Returns a promise of the passed value or promise\n */\n\n\n function when(value, callback, errback, progressBack) {\n var result = new Promise();\n resolvePromise(result, value);\n return result.then(callback, errback, progressBack);\n }\n\n /**\n * @ngdoc method\n * @name $q#resolve\n * @kind function\n *\n * @description\n * Alias of {@link ng.$q#when when} to maintain naming consistency with ES6.\n *\n * @param {*} value Value or a promise\n * @param {Function=} successCallback\n * @param {Function=} errorCallback\n * @param {Function=} progressCallback\n * @returns {Promise} Returns a promise of the passed value or promise\n */\n var resolve = when;\n\n /**\n * @ngdoc method\n * @name $q#all\n * @kind function\n *\n * @description\n * Combines multiple promises into a single promise that is resolved when all of the input\n * promises are resolved.\n *\n * @param {Array.<Promise>|Object.<Promise>} promises An array or hash of promises.\n * @returns {Promise} Returns a single promise that will be resolved with an array/hash of values,\n * each value corresponding to the promise at the same index/key in the `promises` array/hash.\n * If any of the promises is resolved with a rejection, this resulting promise will be rejected\n * with the same rejection value.\n */\n\n function all(promises) {\n var result = new Promise(),\n counter = 0,\n results = isArray(promises) ? [] : {};\n\n forEach(promises, function(promise, key) {\n counter++;\n when(promise).then(function(value) {\n results[key] = value;\n if (!(--counter)) resolvePromise(result, results);\n }, function(reason) {\n rejectPromise(result, reason);\n });\n });\n\n if (counter === 0) {\n resolvePromise(result, results);\n }\n\n return result;\n }\n\n /**\n * @ngdoc method\n * @name $q#race\n * @kind function\n *\n * @description\n * Returns a promise that resolves or rejects as soon as one of those promises\n * resolves or rejects, with the value or reason from that promise.\n *\n * @param {Array.<Promise>|Object.<Promise>} promises An array or hash of promises.\n * @returns {Promise} a promise that resolves or rejects as soon as one of the `promises`\n * resolves or rejects, with the value or reason from that promise.\n */\n\n function race(promises) {\n var deferred = defer();\n\n forEach(promises, function(promise) {\n when(promise).then(deferred.resolve, deferred.reject);\n });\n\n return deferred.promise;\n }\n\n function $Q(resolver) {\n if (!isFunction(resolver)) {\n throw $qMinErr('norslvr', 'Expected resolverFn, got \\'{0}\\'', resolver);\n }\n\n var promise = new Promise();\n\n function resolveFn(value) {\n resolvePromise(promise, value);\n }\n\n function rejectFn(reason) {\n rejectPromise(promise, reason);\n }\n\n resolver(resolveFn, rejectFn);\n\n return promise;\n }\n\n // Let's make the instanceof operator work for promises, so that\n // `new $q(fn) instanceof $q` would evaluate to true.\n $Q.prototype = Promise.prototype;\n\n $Q.defer = defer;\n $Q.reject = reject;\n $Q.when = when;\n $Q.resolve = resolve;\n $Q.all = all;\n $Q.race = race;\n\n return $Q;\n}\n\nfunction isStateExceptionHandled(state) {\n return !!state.pur;\n}\nfunction markQStateExceptionHandled(state) {\n state.pur = true;\n}\nfunction markQExceptionHandled(q) {\n // Built-in `$q` promises will always have a `$$state` property. This check is to allow\n // overwriting `$q` with a different promise library (e.g. Bluebird + angular-bluebird-promises).\n // (Currently, this is the only method that might be called with a promise, even if it is not\n // created by the built-in `$q`.)\n if (q.$$state) {\n markQStateExceptionHandled(q.$$state);\n }\n}\n\n/** @this */\nfunction $$RAFProvider() { //rAF\n this.$get = ['$window', '$timeout', function($window, $timeout) {\n var requestAnimationFrame = $window.requestAnimationFrame ||\n $window.webkitRequestAnimationFrame;\n\n var cancelAnimationFrame = $window.cancelAnimationFrame ||\n $window.webkitCancelAnimationFrame ||\n $window.webkitCancelRequestAnimationFrame;\n\n var rafSupported = !!requestAnimationFrame;\n var raf = rafSupported\n ? function(fn) {\n var id = requestAnimationFrame(fn);\n return function() {\n cancelAnimationFrame(id);\n };\n }\n : function(fn) {\n var timer = $timeout(fn, 16.66, false); // 1000 / 60 = 16.666\n return function() {\n $timeout.cancel(timer);\n };\n };\n\n raf.supported = rafSupported;\n\n return raf;\n }];\n}\n\n/**\n * DESIGN NOTES\n *\n * The design decisions behind the scope are heavily favored for speed and memory consumption.\n *\n * The typical use of scope is to watch the expressions, which most of the time return the same\n * value as last time so we optimize the operation.\n *\n * Closures construction is expensive in terms of speed as well as memory:\n * - No closures, instead use prototypical inheritance for API\n * - Internal state needs to be stored on scope directly, which means that private state is\n * exposed as $$____ properties\n *\n * Loop operations are optimized by using while(count--) { ... }\n * - This means that in order to keep the same order of execution as addition we have to add\n * items to the array at the beginning (unshift) instead of at the end (push)\n *\n * Child scopes are created and removed often\n * - Using an array would be slow since inserts in the middle are expensive; so we use linked lists\n *\n * There are fewer watches than observers. This is why you don't want the observer to be implemented\n * in the same way as watch. Watch requires return of the initialization function which is expensive\n * to construct.\n */\n\n\n/**\n * @ngdoc provider\n * @name $rootScopeProvider\n * @description\n *\n * Provider for the $rootScope service.\n */\n\n/**\n * @ngdoc method\n * @name $rootScopeProvider#digestTtl\n * @description\n *\n * Sets the number of `$digest` iterations the scope should attempt to execute before giving up and\n * assuming that the model is unstable.\n *\n * The current default is 10 iterations.\n *\n * In complex applications it's possible that the dependencies between `$watch`s will result in\n * several digest iterations. However if an application needs more than the default 10 digest\n * iterations for its model to stabilize then you should investigate what is causing the model to\n * continuously change during the digest.\n *\n * Increasing the TTL could have performance implications, so you should not change it without\n * proper justification.\n *\n * @param {number} limit The number of digest iterations.\n */\n\n\n/**\n * @ngdoc service\n * @name $rootScope\n * @this\n *\n * @description\n *\n * Every application has a single root {@link ng.$rootScope.Scope scope}.\n * All other scopes are descendant scopes of the root scope. Scopes provide separation\n * between the model and the view, via a mechanism for watching the model for changes.\n * They also provide event emission/broadcast and subscription facility. See the\n * {@link guide/scope developer guide on scopes}.\n */\nfunction $RootScopeProvider() {\n var TTL = 10;\n var $rootScopeMinErr = minErr('$rootScope');\n var lastDirtyWatch = null;\n var applyAsyncId = null;\n\n this.digestTtl = function(value) {\n if (arguments.length) {\n TTL = value;\n }\n return TTL;\n };\n\n function createChildScopeClass(parent) {\n function ChildScope() {\n this.$$watchers = this.$$nextSibling =\n this.$$childHead = this.$$childTail = null;\n this.$$listeners = {};\n this.$$listenerCount = {};\n this.$$watchersCount = 0;\n this.$id = nextUid();\n this.$$ChildScope = null;\n this.$$suspended = false;\n }\n ChildScope.prototype = parent;\n return ChildScope;\n }\n\n this.$get = ['$exceptionHandler', '$parse', '$browser',\n function($exceptionHandler, $parse, $browser) {\n\n function destroyChildScope($event) {\n $event.currentScope.$$destroyed = true;\n }\n\n function cleanUpScope($scope) {\n\n // Support: IE 9 only\n if (msie === 9) {\n // There is a memory leak in IE9 if all child scopes are not disconnected\n // completely when a scope is destroyed. So this code will recurse up through\n // all this scopes children\n //\n // See issue https://github.com/angular/angular.js/issues/10706\n if ($scope.$$childHead) {\n cleanUpScope($scope.$$childHead);\n }\n if ($scope.$$nextSibling) {\n cleanUpScope($scope.$$nextSibling);\n }\n }\n\n // The code below works around IE9 and V8's memory leaks\n //\n // See:\n // - https://code.google.com/p/v8/issues/detail?id=2073#c26\n // - https://github.com/angular/angular.js/issues/6794#issuecomment-38648909\n // - https://github.com/angular/angular.js/issues/1313#issuecomment-10378451\n\n $scope.$parent = $scope.$$nextSibling = $scope.$$prevSibling = $scope.$$childHead =\n $scope.$$childTail = $scope.$root = $scope.$$watchers = null;\n }\n\n /**\n * @ngdoc type\n * @name $rootScope.Scope\n *\n * @description\n * A root scope can be retrieved using the {@link ng.$rootScope $rootScope} key from the\n * {@link auto.$injector $injector}. Child scopes are created using the\n * {@link ng.$rootScope.Scope#$new $new()} method. (Most scopes are created automatically when\n * compiled HTML template is executed.) See also the {@link guide/scope Scopes guide} for\n * an in-depth introduction and usage examples.\n *\n *\n * ## Inheritance\n * A scope can inherit from a parent scope, as in this example:\n * ```js\n var parent = $rootScope;\n var child = parent.$new();\n\n parent.salutation = \"Hello\";\n expect(child.salutation).toEqual('Hello');\n\n child.salutation = \"Welcome\";\n expect(child.salutation).toEqual('Welcome');\n expect(parent.salutation).toEqual('Hello');\n * ```\n *\n * When interacting with `Scope` in tests, additional helper methods are available on the\n * instances of `Scope` type. See {@link ngMock.$rootScope.Scope ngMock Scope} for additional\n * details.\n *\n *\n * @param {Object.<string, function()>=} providers Map of service factory which need to be\n * provided for the current scope. Defaults to {@link ng}.\n * @param {Object.<string, *>=} instanceCache Provides pre-instantiated services which should\n * append/override services provided by `providers`. This is handy\n * when unit-testing and having the need to override a default\n * service.\n * @returns {Object} Newly created scope.\n *\n */\n function Scope() {\n this.$id = nextUid();\n this.$$phase = this.$parent = this.$$watchers =\n this.$$nextSibling = this.$$prevSibling =\n this.$$childHead = this.$$childTail = null;\n this.$root = this;\n this.$$destroyed = false;\n this.$$suspended = false;\n this.$$listeners = {};\n this.$$listenerCount = {};\n this.$$watchersCount = 0;\n this.$$isolateBindings = null;\n }\n\n /**\n * @ngdoc property\n * @name $rootScope.Scope#$id\n *\n * @description\n * Unique scope ID (monotonically increasing) useful for debugging.\n */\n\n /**\n * @ngdoc property\n * @name $rootScope.Scope#$parent\n *\n * @description\n * Reference to the parent scope.\n */\n\n /**\n * @ngdoc property\n * @name $rootScope.Scope#$root\n *\n * @description\n * Reference to the root scope.\n */\n\n Scope.prototype = {\n constructor: Scope,\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$new\n * @kind function\n *\n * @description\n * Creates a new child {@link ng.$rootScope.Scope scope}.\n *\n * The parent scope will propagate the {@link ng.$rootScope.Scope#$digest $digest()} event.\n * The scope can be removed from the scope hierarchy using {@link ng.$rootScope.Scope#$destroy $destroy()}.\n *\n * {@link ng.$rootScope.Scope#$destroy $destroy()} must be called on a scope when it is\n * desired for the scope and its child scopes to be permanently detached from the parent and\n * thus stop participating in model change detection and listener notification by invoking.\n *\n * @param {boolean} isolate If true, then the scope does not prototypically inherit from the\n * parent scope. The scope is isolated, as it can not see parent scope properties.\n * When creating widgets, it is useful for the widget to not accidentally read parent\n * state.\n *\n * @param {Scope} [parent=this] The {@link ng.$rootScope.Scope `Scope`} that will be the `$parent`\n * of the newly created scope. Defaults to `this` scope if not provided.\n * This is used when creating a transclude scope to correctly place it\n * in the scope hierarchy while maintaining the correct prototypical\n * inheritance.\n *\n * @returns {Object} The newly created child scope.\n *\n */\n $new: function(isolate, parent) {\n var child;\n\n parent = parent || this;\n\n if (isolate) {\n child = new Scope();\n child.$root = this.$root;\n } else {\n // Only create a child scope class if somebody asks for one,\n // but cache it to allow the VM to optimize lookups.\n if (!this.$$ChildScope) {\n this.$$ChildScope = createChildScopeClass(this);\n }\n child = new this.$$ChildScope();\n }\n child.$parent = parent;\n child.$$prevSibling = parent.$$childTail;\n if (parent.$$childHead) {\n parent.$$childTail.$$nextSibling = child;\n parent.$$childTail = child;\n } else {\n parent.$$childHead = parent.$$childTail = child;\n }\n\n // When the new scope is not isolated or we inherit from `this`, and\n // the parent scope is destroyed, the property `$$destroyed` is inherited\n // prototypically. In all other cases, this property needs to be set\n // when the parent scope is destroyed.\n // The listener needs to be added after the parent is set\n if (isolate || parent !== this) child.$on('$destroy', destroyChildScope);\n\n return child;\n },\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$watch\n * @kind function\n *\n * @description\n * Registers a `listener` callback to be executed whenever the `watchExpression` changes.\n *\n * - The `watchExpression` is called on every call to {@link ng.$rootScope.Scope#$digest\n * $digest()} and should return the value that will be watched. (`watchExpression` should not change\n * its value when executed multiple times with the same input because it may be executed multiple\n * times by {@link ng.$rootScope.Scope#$digest $digest()}. That is, `watchExpression` should be\n * [idempotent](http://en.wikipedia.org/wiki/Idempotence).)\n * - The `listener` is called only when the value from the current `watchExpression` and the\n * previous call to `watchExpression` are not equal (with the exception of the initial run,\n * see below). Inequality is determined according to reference inequality,\n * [strict comparison](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators)\n * via the `!==` Javascript operator, unless `objectEquality == true`\n * (see next point)\n * - When `objectEquality == true`, inequality of the `watchExpression` is determined\n * according to the {@link angular.equals} function. To save the value of the object for\n * later comparison, the {@link angular.copy} function is used. This therefore means that\n * watching complex objects will have adverse memory and performance implications.\n * - This should not be used to watch for changes in objects that are (or contain)\n * [File](https://developer.mozilla.org/docs/Web/API/File) objects due to limitations with {@link angular.copy `angular.copy`}.\n * - The watch `listener` may change the model, which may trigger other `listener`s to fire.\n * This is achieved by rerunning the watchers until no changes are detected. The rerun\n * iteration limit is 10 to prevent an infinite loop deadlock.\n *\n *\n * If you want to be notified whenever {@link ng.$rootScope.Scope#$digest $digest} is called,\n * you can register a `watchExpression` function with no `listener`. (Be prepared for\n * multiple calls to your `watchExpression` because it will execute multiple times in a\n * single {@link ng.$rootScope.Scope#$digest $digest} cycle if a change is detected.)\n *\n * After a watcher is registered with the scope, the `listener` fn is called asynchronously\n * (via {@link ng.$rootScope.Scope#$evalAsync $evalAsync}) to initialize the\n * watcher. In rare cases, this is undesirable because the listener is called when the result\n * of `watchExpression` didn't change. To detect this scenario within the `listener` fn, you\n * can compare the `newVal` and `oldVal`. If these two values are identical (`===`) then the\n * listener was called due to initialization.\n *\n *\n *\n * @example\n * ```js\n // let's assume that scope was dependency injected as the $rootScope\n var scope = $rootScope;\n scope.name = 'misko';\n scope.counter = 0;\n\n expect(scope.counter).toEqual(0);\n scope.$watch('name', function(newValue, oldValue) {\n scope.counter = scope.counter + 1;\n });\n expect(scope.counter).toEqual(0);\n\n scope.$digest();\n // the listener is always called during the first $digest loop after it was registered\n expect(scope.counter).toEqual(1);\n\n scope.$digest();\n // but now it will not be called unless the value changes\n expect(scope.counter).toEqual(1);\n\n scope.name = 'adam';\n scope.$digest();\n expect(scope.counter).toEqual(2);\n\n\n\n // Using a function as a watchExpression\n var food;\n scope.foodCounter = 0;\n expect(scope.foodCounter).toEqual(0);\n scope.$watch(\n // This function returns the value being watched. It is called for each turn of the $digest loop\n function() { return food; },\n // This is the change listener, called when the value returned from the above function changes\n function(newValue, oldValue) {\n if ( newValue !== oldValue ) {\n // Only increment the counter if the value changed\n scope.foodCounter = scope.foodCounter + 1;\n }\n }\n );\n // No digest has been run so the counter will be zero\n expect(scope.foodCounter).toEqual(0);\n\n // Run the digest but since food has not changed count will still be zero\n scope.$digest();\n expect(scope.foodCounter).toEqual(0);\n\n // Update food and run digest. Now the counter will increment\n food = 'cheeseburger';\n scope.$digest();\n expect(scope.foodCounter).toEqual(1);\n\n * ```\n *\n *\n *\n * @param {(function()|string)} watchExpression Expression that is evaluated on each\n * {@link ng.$rootScope.Scope#$digest $digest} cycle. A change in the return value triggers\n * a call to the `listener`.\n *\n * - `string`: Evaluated as {@link guide/expression expression}\n * - `function(scope)`: called with current `scope` as a parameter.\n * @param {function(newVal, oldVal, scope)} listener Callback called whenever the value\n * of `watchExpression` changes.\n *\n * - `newVal` contains the current value of the `watchExpression`\n * - `oldVal` contains the previous value of the `watchExpression`\n * - `scope` refers to the current scope\n * @param {boolean=} [objectEquality=false] Compare for object equality using {@link angular.equals} instead of\n * comparing for reference equality.\n * @returns {function()} Returns a deregistration function for this listener.\n */\n $watch: function(watchExp, listener, objectEquality, prettyPrintExpression) {\n var get = $parse(watchExp);\n var fn = isFunction(listener) ? listener : noop;\n\n if (get.$$watchDelegate) {\n return get.$$watchDelegate(this, fn, objectEquality, get, watchExp);\n }\n var scope = this,\n array = scope.$$watchers,\n watcher = {\n fn: fn,\n last: initWatchVal,\n get: get,\n exp: prettyPrintExpression || watchExp,\n eq: !!objectEquality\n };\n\n lastDirtyWatch = null;\n\n if (!array) {\n array = scope.$$watchers = [];\n array.$$digestWatchIndex = -1;\n }\n // we use unshift since we use a while loop in $digest for speed.\n // the while loop reads in reverse order.\n array.unshift(watcher);\n array.$$digestWatchIndex++;\n incrementWatchersCount(this, 1);\n\n return function deregisterWatch() {\n var index = arrayRemove(array, watcher);\n if (index >= 0) {\n incrementWatchersCount(scope, -1);\n if (index < array.$$digestWatchIndex) {\n array.$$digestWatchIndex--;\n }\n }\n lastDirtyWatch = null;\n };\n },\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$watchGroup\n * @kind function\n *\n * @description\n * A variant of {@link ng.$rootScope.Scope#$watch $watch()} where it watches an array of `watchExpressions`.\n * If any one expression in the collection changes the `listener` is executed.\n *\n * - The items in the `watchExpressions` array are observed via the standard `$watch` operation. Their return\n * values are examined for changes on every call to `$digest`.\n * - The `listener` is called whenever any expression in the `watchExpressions` array changes.\n *\n * @param {Array.<string|Function(scope)>} watchExpressions Array of expressions that will be individually\n * watched using {@link ng.$rootScope.Scope#$watch $watch()}\n *\n * @param {function(newValues, oldValues, scope)} listener Callback called whenever the return value of any\n * expression in `watchExpressions` changes\n * The `newValues` array contains the current values of the `watchExpressions`, with the indexes matching\n * those of `watchExpression`\n * and the `oldValues` array contains the previous values of the `watchExpressions`, with the indexes matching\n * those of `watchExpression`\n * The `scope` refers to the current scope.\n * @returns {function()} Returns a de-registration function for all listeners.\n */\n $watchGroup: function(watchExpressions, listener) {\n var oldValues = new Array(watchExpressions.length);\n var newValues = new Array(watchExpressions.length);\n var deregisterFns = [];\n var self = this;\n var changeReactionScheduled = false;\n var firstRun = true;\n\n if (!watchExpressions.length) {\n // No expressions means we call the listener ASAP\n var shouldCall = true;\n self.$evalAsync(function() {\n if (shouldCall) listener(newValues, newValues, self);\n });\n return function deregisterWatchGroup() {\n shouldCall = false;\n };\n }\n\n if (watchExpressions.length === 1) {\n // Special case size of one\n return this.$watch(watchExpressions[0], function watchGroupAction(value, oldValue, scope) {\n newValues[0] = value;\n oldValues[0] = oldValue;\n listener(newValues, (value === oldValue) ? newValues : oldValues, scope);\n });\n }\n\n forEach(watchExpressions, function(expr, i) {\n var unwatchFn = self.$watch(expr, function watchGroupSubAction(value) {\n newValues[i] = value;\n if (!changeReactionScheduled) {\n changeReactionScheduled = true;\n self.$evalAsync(watchGroupAction);\n }\n });\n deregisterFns.push(unwatchFn);\n });\n\n function watchGroupAction() {\n changeReactionScheduled = false;\n\n try {\n if (firstRun) {\n firstRun = false;\n listener(newValues, newValues, self);\n } else {\n listener(newValues, oldValues, self);\n }\n } finally {\n for (var i = 0; i < watchExpressions.length; i++) {\n oldValues[i] = newValues[i];\n }\n }\n }\n\n return function deregisterWatchGroup() {\n while (deregisterFns.length) {\n deregisterFns.shift()();\n }\n };\n },\n\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$watchCollection\n * @kind function\n *\n * @description\n * Shallow watches the properties of an object and fires whenever any of the properties change\n * (for arrays, this implies watching the array items; for object maps, this implies watching\n * the properties). If a change is detected, the `listener` callback is fired.\n *\n * - The `obj` collection is observed via standard $watch operation and is examined on every\n * call to $digest() to see if any items have been added, removed, or moved.\n * - The `listener` is called whenever anything within the `obj` has changed. Examples include\n * adding, removing, and moving items belonging to an object or array.\n *\n *\n * @example\n * ```js\n $scope.names = ['igor', 'matias', 'misko', 'james'];\n $scope.dataCount = 4;\n\n $scope.$watchCollection('names', function(newNames, oldNames) {\n $scope.dataCount = newNames.length;\n });\n\n expect($scope.dataCount).toEqual(4);\n $scope.$digest();\n\n //still at 4 ... no changes\n expect($scope.dataCount).toEqual(4);\n\n $scope.names.pop();\n $scope.$digest();\n\n //now there's been a change\n expect($scope.dataCount).toEqual(3);\n * ```\n *\n *\n * @param {string|function(scope)} obj Evaluated as {@link guide/expression expression}. The\n * expression value should evaluate to an object or an array which is observed on each\n * {@link ng.$rootScope.Scope#$digest $digest} cycle. Any shallow change within the\n * collection will trigger a call to the `listener`.\n *\n * @param {function(newCollection, oldCollection, scope)} listener a callback function called\n * when a change is detected.\n * - The `newCollection` object is the newly modified data obtained from the `obj` expression\n * - The `oldCollection` object is a copy of the former collection data.\n * Due to performance considerations, the`oldCollection` value is computed only if the\n * `listener` function declares two or more arguments.\n * - The `scope` argument refers to the current scope.\n *\n * @returns {function()} Returns a de-registration function for this listener. When the\n * de-registration function is executed, the internal watch operation is terminated.\n */\n $watchCollection: function(obj, listener) {\n // Mark the interceptor as\n // ... $$pure when literal since the instance will change when any input changes\n $watchCollectionInterceptor.$$pure = $parse(obj).literal;\n // ... $stateful when non-literal since we must read the state of the collection\n $watchCollectionInterceptor.$stateful = !$watchCollectionInterceptor.$$pure;\n\n var self = this;\n // the current value, updated on each dirty-check run\n var newValue;\n // a shallow copy of the newValue from the last dirty-check run,\n // updated to match newValue during dirty-check run\n var oldValue;\n // a shallow copy of the newValue from when the last change happened\n var veryOldValue;\n // only track veryOldValue if the listener is asking for it\n var trackVeryOldValue = (listener.length > 1);\n var changeDetected = 0;\n var changeDetector = $parse(obj, $watchCollectionInterceptor);\n var internalArray = [];\n var internalObject = {};\n var initRun = true;\n var oldLength = 0;\n\n function $watchCollectionInterceptor(_value) {\n newValue = _value;\n var newLength, key, bothNaN, newItem, oldItem;\n\n // If the new value is undefined, then return undefined as the watch may be a one-time watch\n if (isUndefined(newValue)) return;\n\n if (!isObject(newValue)) { // if primitive\n if (oldValue !== newValue) {\n oldValue = newValue;\n changeDetected++;\n }\n } else if (isArrayLike(newValue)) {\n if (oldValue !== internalArray) {\n // we are transitioning from something which was not an array into array.\n oldValue = internalArray;\n oldLength = oldValue.length = 0;\n changeDetected++;\n }\n\n newLength = newValue.length;\n\n if (oldLength !== newLength) {\n // if lengths do not match we need to trigger change notification\n changeDetected++;\n oldValue.length = oldLength = newLength;\n }\n // copy the items to oldValue and look for changes.\n for (var i = 0; i < newLength; i++) {\n oldItem = oldValue[i];\n newItem = newValue[i];\n\n // eslint-disable-next-line no-self-compare\n bothNaN = (oldItem !== oldItem) && (newItem !== newItem);\n if (!bothNaN && (oldItem !== newItem)) {\n changeDetected++;\n oldValue[i] = newItem;\n }\n }\n } else {\n if (oldValue !== internalObject) {\n // we are transitioning from something which was not an object into object.\n oldValue = internalObject = {};\n oldLength = 0;\n changeDetected++;\n }\n // copy the items to oldValue and look for changes.\n newLength = 0;\n for (key in newValue) {\n if (hasOwnProperty.call(newValue, key)) {\n newLength++;\n newItem = newValue[key];\n oldItem = oldValue[key];\n\n if (key in oldValue) {\n // eslint-disable-next-line no-self-compare\n bothNaN = (oldItem !== oldItem) && (newItem !== newItem);\n if (!bothNaN && (oldItem !== newItem)) {\n changeDetected++;\n oldValue[key] = newItem;\n }\n } else {\n oldLength++;\n oldValue[key] = newItem;\n changeDetected++;\n }\n }\n }\n if (oldLength > newLength) {\n // we used to have more keys, need to find them and destroy them.\n changeDetected++;\n for (key in oldValue) {\n if (!hasOwnProperty.call(newValue, key)) {\n oldLength--;\n delete oldValue[key];\n }\n }\n }\n }\n return changeDetected;\n }\n\n function $watchCollectionAction() {\n if (initRun) {\n initRun = false;\n listener(newValue, newValue, self);\n } else {\n listener(newValue, veryOldValue, self);\n }\n\n // make a copy for the next time a collection is changed\n if (trackVeryOldValue) {\n if (!isObject(newValue)) {\n //primitive\n veryOldValue = newValue;\n } else if (isArrayLike(newValue)) {\n veryOldValue = new Array(newValue.length);\n for (var i = 0; i < newValue.length; i++) {\n veryOldValue[i] = newValue[i];\n }\n } else { // if object\n veryOldValue = {};\n for (var key in newValue) {\n if (hasOwnProperty.call(newValue, key)) {\n veryOldValue[key] = newValue[key];\n }\n }\n }\n }\n }\n\n return this.$watch(changeDetector, $watchCollectionAction);\n },\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$digest\n * @kind function\n *\n * @description\n * Processes all of the {@link ng.$rootScope.Scope#$watch watchers} of the current scope and\n * its children. Because a {@link ng.$rootScope.Scope#$watch watcher}'s listener can change\n * the model, the `$digest()` keeps calling the {@link ng.$rootScope.Scope#$watch watchers}\n * until no more listeners are firing. This means that it is possible to get into an infinite\n * loop. This function will throw `'Maximum iteration limit exceeded.'` if the number of\n * iterations exceeds 10.\n *\n * Usually, you don't call `$digest()` directly in\n * {@link ng.directive:ngController controllers} or in\n * {@link ng.$compileProvider#directive directives}.\n * Instead, you should call {@link ng.$rootScope.Scope#$apply $apply()} (typically from within\n * a {@link ng.$compileProvider#directive directive}), which will force a `$digest()`.\n *\n * If you want to be notified whenever `$digest()` is called,\n * you can register a `watchExpression` function with\n * {@link ng.$rootScope.Scope#$watch $watch()} with no `listener`.\n *\n * In unit tests, you may need to call `$digest()` to simulate the scope life cycle.\n *\n * @example\n * ```js\n var scope = ...;\n scope.name = 'misko';\n scope.counter = 0;\n\n expect(scope.counter).toEqual(0);\n scope.$watch('name', function(newValue, oldValue) {\n scope.counter = scope.counter + 1;\n });\n expect(scope.counter).toEqual(0);\n\n scope.$digest();\n // the listener is always called during the first $digest loop after it was registered\n expect(scope.counter).toEqual(1);\n\n scope.$digest();\n // but now it will not be called unless the value changes\n expect(scope.counter).toEqual(1);\n\n scope.name = 'adam';\n scope.$digest();\n expect(scope.counter).toEqual(2);\n * ```\n *\n */\n $digest: function() {\n var watch, value, last, fn, get,\n watchers,\n dirty, ttl = TTL,\n next, current, target = asyncQueue.length ? $rootScope : this,\n watchLog = [],\n logIdx, asyncTask;\n\n beginPhase('$digest');\n // Check for changes to browser url that happened in sync before the call to $digest\n $browser.$$checkUrlChange();\n\n if (this === $rootScope && applyAsyncId !== null) {\n // If this is the root scope, and $applyAsync has scheduled a deferred $apply(), then\n // cancel the scheduled $apply and flush the queue of expressions to be evaluated.\n $browser.defer.cancel(applyAsyncId);\n flushApplyAsync();\n }\n\n lastDirtyWatch = null;\n\n do { // \"while dirty\" loop\n dirty = false;\n current = target;\n\n // It's safe for asyncQueuePosition to be a local variable here because this loop can't\n // be reentered recursively. Calling $digest from a function passed to $evalAsync would\n // lead to a '$digest already in progress' error.\n for (var asyncQueuePosition = 0; asyncQueuePosition < asyncQueue.length; asyncQueuePosition++) {\n try {\n asyncTask = asyncQueue[asyncQueuePosition];\n fn = asyncTask.fn;\n fn(asyncTask.scope, asyncTask.locals);\n } catch (e) {\n $exceptionHandler(e);\n }\n lastDirtyWatch = null;\n }\n asyncQueue.length = 0;\n\n traverseScopesLoop:\n do { // \"traverse the scopes\" loop\n if ((watchers = !current.$$suspended && current.$$watchers)) {\n // process our watches\n watchers.$$digestWatchIndex = watchers.length;\n while (watchers.$$digestWatchIndex--) {\n try {\n watch = watchers[watchers.$$digestWatchIndex];\n // Most common watches are on primitives, in which case we can short\n // circuit it with === operator, only when === fails do we use .equals\n if (watch) {\n get = watch.get;\n if ((value = get(current)) !== (last = watch.last) &&\n !(watch.eq\n ? equals(value, last)\n : (isNumberNaN(value) && isNumberNaN(last)))) {\n dirty = true;\n lastDirtyWatch = watch;\n watch.last = watch.eq ? copy(value, null) : value;\n fn = watch.fn;\n fn(value, ((last === initWatchVal) ? value : last), current);\n if (ttl < 5) {\n logIdx = 4 - ttl;\n if (!watchLog[logIdx]) watchLog[logIdx] = [];\n watchLog[logIdx].push({\n msg: isFunction(watch.exp) ? 'fn: ' + (watch.exp.name || watch.exp.toString()) : watch.exp,\n newVal: value,\n oldVal: last\n });\n }\n } else if (watch === lastDirtyWatch) {\n // If the most recently dirty watcher is now clean, short circuit since the remaining watchers\n // have already been tested.\n dirty = false;\n break traverseScopesLoop;\n }\n }\n } catch (e) {\n $exceptionHandler(e);\n }\n }\n }\n\n // Insanity Warning: scope depth-first traversal\n // yes, this code is a bit crazy, but it works and we have tests to prove it!\n // this piece should be kept in sync with the traversal in $broadcast\n // (though it differs due to having the extra check for $$suspended and does not\n // check $$listenerCount)\n if (!(next = ((!current.$$suspended && current.$$watchersCount && current.$$childHead) ||\n (current !== target && current.$$nextSibling)))) {\n while (current !== target && !(next = current.$$nextSibling)) {\n current = current.$parent;\n }\n }\n } while ((current = next));\n\n // `break traverseScopesLoop;` takes us to here\n\n if ((dirty || asyncQueue.length) && !(ttl--)) {\n clearPhase();\n throw $rootScopeMinErr('infdig',\n '{0} $digest() iterations reached. Aborting!\\n' +\n 'Watchers fired in the last 5 iterations: {1}',\n TTL, watchLog);\n }\n\n } while (dirty || asyncQueue.length);\n\n clearPhase();\n\n // postDigestQueuePosition isn't local here because this loop can be reentered recursively.\n while (postDigestQueuePosition < postDigestQueue.length) {\n try {\n postDigestQueue[postDigestQueuePosition++]();\n } catch (e) {\n $exceptionHandler(e);\n }\n }\n postDigestQueue.length = postDigestQueuePosition = 0;\n\n // Check for changes to browser url that happened during the $digest\n // (for which no event is fired; e.g. via `history.pushState()`)\n $browser.$$checkUrlChange();\n },\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$suspend\n * @kind function\n *\n * @description\n * Suspend watchers of this scope subtree so that they will not be invoked during digest.\n *\n * This can be used to optimize your application when you know that running those watchers\n * is redundant.\n *\n * **Warning**\n *\n * Suspending scopes from the digest cycle can have unwanted and difficult to debug results.\n * Only use this approach if you are confident that you know what you are doing and have\n * ample tests to ensure that bindings get updated as you expect.\n *\n * Some of the things to consider are:\n *\n * * Any external event on a directive/component will not trigger a digest while the hosting\n * scope is suspended - even if the event handler calls `$apply()` or `$rootScope.$digest()`.\n * * Transcluded content exists on a scope that inherits from outside a directive but exists\n * as a child of the directive's containing scope. If the containing scope is suspended the\n * transcluded scope will also be suspended, even if the scope from which the transcluded\n * scope inherits is not suspended.\n * * Multiple directives trying to manage the suspended status of a scope can confuse each other:\n * * A call to `$suspend()` on an already suspended scope is a no-op.\n * * A call to `$resume()` on a non-suspended scope is a no-op.\n * * If two directives suspend a scope, then one of them resumes the scope, the scope will no\n * longer be suspended. This could result in the other directive believing a scope to be\n * suspended when it is not.\n * * If a parent scope is suspended then all its descendants will be also excluded from future\n * digests whether or not they have been suspended themselves. Note that this also applies to\n * isolate child scopes.\n * * Calling `$digest()` directly on a descendant of a suspended scope will still run the watchers\n * for that scope and its descendants. When digesting we only check whether the current scope is\n * locally suspended, rather than checking whether it has a suspended ancestor.\n * * Calling `$resume()` on a scope that has a suspended ancestor will not cause the scope to be\n * included in future digests until all its ancestors have been resumed.\n * * Resolved promises, e.g. from explicit `$q` deferreds and `$http` calls, trigger `$apply()`\n * against the `$rootScope` and so will still trigger a global digest even if the promise was\n * initiated by a component that lives on a suspended scope.\n */\n $suspend: function() {\n this.$$suspended = true;\n },\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$isSuspended\n * @kind function\n *\n * @description\n * Call this method to determine if this scope has been explicitly suspended. It will not\n * tell you whether an ancestor has been suspended.\n * To determine if this scope will be excluded from a digest triggered at the $rootScope,\n * for example, you must check all its ancestors:\n *\n * ```\n * function isExcludedFromDigest(scope) {\n * while(scope) {\n * if (scope.$isSuspended()) return true;\n * scope = scope.$parent;\n * }\n * return false;\n * ```\n *\n * Be aware that a scope may not be included in digests if it has a suspended ancestor,\n * even if `$isSuspended()` returns false.\n *\n * @returns true if the current scope has been suspended.\n */\n $isSuspended: function() {\n return this.$$suspended;\n },\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$resume\n * @kind function\n *\n * @description\n * Resume watchers of this scope subtree in case it was suspended.\n *\n * See {@link $rootScope.Scope#$suspend} for information about the dangers of using this approach.\n */\n $resume: function() {\n this.$$suspended = false;\n },\n\n /**\n * @ngdoc event\n * @name $rootScope.Scope#$destroy\n * @eventType broadcast on scope being destroyed\n *\n * @description\n * Broadcasted when a scope and its children are being destroyed.\n *\n * Note that, in AngularJS, there is also a `$destroy` jQuery event, which can be used to\n * clean up DOM bindings before an element is removed from the DOM.\n */\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$destroy\n * @kind function\n *\n * @description\n * Removes the current scope (and all of its children) from the parent scope. Removal implies\n * that calls to {@link ng.$rootScope.Scope#$digest $digest()} will no longer\n * propagate to the current scope and its children. Removal also implies that the current\n * scope is eligible for garbage collection.\n *\n * The `$destroy()` is usually used by directives such as\n * {@link ng.directive:ngRepeat ngRepeat} for managing the\n * unrolling of the loop.\n *\n * Just before a scope is destroyed, a `$destroy` event is broadcasted on this scope.\n * Application code can register a `$destroy` event handler that will give it a chance to\n * perform any necessary cleanup.\n *\n * Note that, in AngularJS, there is also a `$destroy` jQuery event, which can be used to\n * clean up DOM bindings before an element is removed from the DOM.\n */\n $destroy: function() {\n // We can't destroy a scope that has been already destroyed.\n if (this.$$destroyed) return;\n var parent = this.$parent;\n\n this.$broadcast('$destroy');\n this.$$destroyed = true;\n\n if (this === $rootScope) {\n //Remove handlers attached to window when $rootScope is removed\n $browser.$$applicationDestroyed();\n }\n\n incrementWatchersCount(this, -this.$$watchersCount);\n for (var eventName in this.$$listenerCount) {\n decrementListenerCount(this, this.$$listenerCount[eventName], eventName);\n }\n\n // sever all the references to parent scopes (after this cleanup, the current scope should\n // not be retained by any of our references and should be eligible for garbage collection)\n if (parent && parent.$$childHead === this) parent.$$childHead = this.$$nextSibling;\n if (parent && parent.$$childTail === this) parent.$$childTail = this.$$prevSibling;\n if (this.$$prevSibling) this.$$prevSibling.$$nextSibling = this.$$nextSibling;\n if (this.$$nextSibling) this.$$nextSibling.$$prevSibling = this.$$prevSibling;\n\n // Disable listeners, watchers and apply/digest methods\n this.$destroy = this.$digest = this.$apply = this.$evalAsync = this.$applyAsync = noop;\n this.$on = this.$watch = this.$watchGroup = function() { return noop; };\n this.$$listeners = {};\n\n // Disconnect the next sibling to prevent `cleanUpScope` destroying those too\n this.$$nextSibling = null;\n cleanUpScope(this);\n },\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$eval\n * @kind function\n *\n * @description\n * Executes the `expression` on the current scope and returns the result. Any exceptions in\n * the expression are propagated (uncaught). This is useful when evaluating AngularJS\n * expressions.\n *\n * @example\n * ```js\n var scope = ng.$rootScope.Scope();\n scope.a = 1;\n scope.b = 2;\n\n expect(scope.$eval('a+b')).toEqual(3);\n expect(scope.$eval(function(scope){ return scope.a + scope.b; })).toEqual(3);\n * ```\n *\n * @param {(string|function())=} expression An AngularJS expression to be executed.\n *\n * - `string`: execute using the rules as defined in {@link guide/expression expression}.\n * - `function(scope)`: execute the function with the current `scope` parameter.\n *\n * @param {(object)=} locals Local variables object, useful for overriding values in scope.\n * @returns {*} The result of evaluating the expression.\n */\n $eval: function(expr, locals) {\n return $parse(expr)(this, locals);\n },\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$evalAsync\n * @kind function\n *\n * @description\n * Executes the expression on the current scope at a later point in time.\n *\n * The `$evalAsync` makes no guarantees as to when the `expression` will be executed, only\n * that:\n *\n * - it will execute after the function that scheduled the evaluation (preferably before DOM\n * rendering).\n * - at least one {@link ng.$rootScope.Scope#$digest $digest cycle} will be performed after\n * `expression` execution.\n *\n * Any exceptions from the execution of the expression are forwarded to the\n * {@link ng.$exceptionHandler $exceptionHandler} service.\n *\n * __Note:__ if this function is called outside of a `$digest` cycle, a new `$digest` cycle\n * will be scheduled. However, it is encouraged to always call code that changes the model\n * from within an `$apply` call. That includes code evaluated via `$evalAsync`.\n *\n * @param {(string|function())=} expression An AngularJS expression to be executed.\n *\n * - `string`: execute using the rules as defined in {@link guide/expression expression}.\n * - `function(scope)`: execute the function with the current `scope` parameter.\n *\n * @param {(object)=} locals Local variables object, useful for overriding values in scope.\n */\n $evalAsync: function(expr, locals) {\n // if we are outside of an $digest loop and this is the first time we are scheduling async\n // task also schedule async auto-flush\n if (!$rootScope.$$phase && !asyncQueue.length) {\n $browser.defer(function() {\n if (asyncQueue.length) {\n $rootScope.$digest();\n }\n }, null, '$evalAsync');\n }\n\n asyncQueue.push({scope: this, fn: $parse(expr), locals: locals});\n },\n\n $$postDigest: function(fn) {\n postDigestQueue.push(fn);\n },\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$apply\n * @kind function\n *\n * @description\n * `$apply()` is used to execute an expression in AngularJS from outside of the AngularJS\n * framework. (For example from browser DOM events, setTimeout, XHR or third party libraries).\n * Because we are calling into the AngularJS framework we need to perform proper scope life\n * cycle of {@link ng.$exceptionHandler exception handling},\n * {@link ng.$rootScope.Scope#$digest executing watches}.\n *\n * **Life cycle: Pseudo-Code of `$apply()`**\n *\n * ```js\n function $apply(expr) {\n try {\n return $eval(expr);\n } catch (e) {\n $exceptionHandler(e);\n } finally {\n $root.$digest();\n }\n }\n * ```\n *\n *\n * Scope's `$apply()` method transitions through the following stages:\n *\n * 1. The {@link guide/expression expression} is executed using the\n * {@link ng.$rootScope.Scope#$eval $eval()} method.\n * 2. Any exceptions from the execution of the expression are forwarded to the\n * {@link ng.$exceptionHandler $exceptionHandler} service.\n * 3. The {@link ng.$rootScope.Scope#$watch watch} listeners are fired immediately after the\n * expression was executed using the {@link ng.$rootScope.Scope#$digest $digest()} method.\n *\n *\n * @param {(string|function())=} exp An AngularJS expression to be executed.\n *\n * - `string`: execute using the rules as defined in {@link guide/expression expression}.\n * - `function(scope)`: execute the function with current `scope` parameter.\n *\n * @returns {*} The result of evaluating the expression.\n */\n $apply: function(expr) {\n try {\n beginPhase('$apply');\n try {\n return this.$eval(expr);\n } finally {\n clearPhase();\n }\n } catch (e) {\n $exceptionHandler(e);\n } finally {\n try {\n $rootScope.$digest();\n } catch (e) {\n $exceptionHandler(e);\n // eslint-disable-next-line no-unsafe-finally\n throw e;\n }\n }\n },\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$applyAsync\n * @kind function\n *\n * @description\n * Schedule the invocation of $apply to occur at a later time. The actual time difference\n * varies across browsers, but is typically around ~10 milliseconds.\n *\n * This can be used to queue up multiple expressions which need to be evaluated in the same\n * digest.\n *\n * @param {(string|function())=} exp An AngularJS expression to be executed.\n *\n * - `string`: execute using the rules as defined in {@link guide/expression expression}.\n * - `function(scope)`: execute the function with current `scope` parameter.\n */\n $applyAsync: function(expr) {\n var scope = this;\n if (expr) {\n applyAsyncQueue.push($applyAsyncExpression);\n }\n expr = $parse(expr);\n scheduleApplyAsync();\n\n function $applyAsyncExpression() {\n scope.$eval(expr);\n }\n },\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$on\n * @kind function\n *\n * @description\n * Listens on events of a given type. See {@link ng.$rootScope.Scope#$emit $emit} for\n * discussion of event life cycle.\n *\n * The event listener function format is: `function(event, args...)`. The `event` object\n * passed into the listener has the following attributes:\n *\n * - `targetScope` - `{Scope}`: the scope on which the event was `$emit`-ed or\n * `$broadcast`-ed.\n * - `currentScope` - `{Scope}`: the scope that is currently handling the event. Once the\n * event propagates through the scope hierarchy, this property is set to null.\n * - `name` - `{string}`: name of the event.\n * - `stopPropagation` - `{function=}`: calling `stopPropagation` function will cancel\n * further event propagation (available only for events that were `$emit`-ed).\n * - `preventDefault` - `{function}`: calling `preventDefault` sets `defaultPrevented` flag\n * to true.\n * - `defaultPrevented` - `{boolean}`: true if `preventDefault` was called.\n *\n * @param {string} name Event name to listen on.\n * @param {function(event, ...args)} listener Function to call when the event is emitted.\n * @returns {function()} Returns a deregistration function for this listener.\n */\n $on: function(name, listener) {\n var namedListeners = this.$$listeners[name];\n if (!namedListeners) {\n this.$$listeners[name] = namedListeners = [];\n }\n namedListeners.push(listener);\n\n var current = this;\n do {\n if (!current.$$listenerCount[name]) {\n current.$$listenerCount[name] = 0;\n }\n current.$$listenerCount[name]++;\n } while ((current = current.$parent));\n\n var self = this;\n return function() {\n var indexOfListener = namedListeners.indexOf(listener);\n if (indexOfListener !== -1) {\n // Use delete in the hope of the browser deallocating the memory for the array entry,\n // while not shifting the array indexes of other listeners.\n // See issue https://github.com/angular/angular.js/issues/16135\n delete namedListeners[indexOfListener];\n decrementListenerCount(self, 1, name);\n }\n };\n },\n\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$emit\n * @kind function\n *\n * @description\n * Dispatches an event `name` upwards through the scope hierarchy notifying the\n * registered {@link ng.$rootScope.Scope#$on} listeners.\n *\n * The event life cycle starts at the scope on which `$emit` was called. All\n * {@link ng.$rootScope.Scope#$on listeners} listening for `name` event on this scope get\n * notified. Afterwards, the event traverses upwards toward the root scope and calls all\n * registered listeners along the way. The event will stop propagating if one of the listeners\n * cancels it.\n *\n * Any exception emitted from the {@link ng.$rootScope.Scope#$on listeners} will be passed\n * onto the {@link ng.$exceptionHandler $exceptionHandler} service.\n *\n * @param {string} name Event name to emit.\n * @param {...*} args Optional one or more arguments which will be passed onto the event listeners.\n * @return {Object} Event object (see {@link ng.$rootScope.Scope#$on}).\n */\n $emit: function(name, args) {\n var empty = [],\n namedListeners,\n scope = this,\n stopPropagation = false,\n event = {\n name: name,\n targetScope: scope,\n stopPropagation: function() {stopPropagation = true;},\n preventDefault: function() {\n event.defaultPrevented = true;\n },\n defaultPrevented: false\n },\n listenerArgs = concat([event], arguments, 1),\n i, length;\n\n do {\n namedListeners = scope.$$listeners[name] || empty;\n event.currentScope = scope;\n for (i = 0, length = namedListeners.length; i < length; i++) {\n\n // if listeners were deregistered, defragment the array\n if (!namedListeners[i]) {\n namedListeners.splice(i, 1);\n i--;\n length--;\n continue;\n }\n try {\n //allow all listeners attached to the current scope to run\n namedListeners[i].apply(null, listenerArgs);\n } catch (e) {\n $exceptionHandler(e);\n }\n }\n //if any listener on the current scope stops propagation, prevent bubbling\n if (stopPropagation) {\n break;\n }\n //traverse upwards\n scope = scope.$parent;\n } while (scope);\n\n event.currentScope = null;\n\n return event;\n },\n\n\n /**\n * @ngdoc method\n * @name $rootScope.Scope#$broadcast\n * @kind function\n *\n * @description\n * Dispatches an event `name` downwards to all child scopes (and their children) notifying the\n * registered {@link ng.$rootScope.Scope#$on} listeners.\n *\n * The event life cycle starts at the scope on which `$broadcast` was called. All\n * {@link ng.$rootScope.Scope#$on listeners} listening for `name` event on this scope get\n * notified. Afterwards, the event propagates to all direct and indirect scopes of the current\n * scope and calls all registered listeners along the way. The event cannot be canceled.\n *\n * Any exception emitted from the {@link ng.$rootScope.Scope#$on listeners} will be passed\n * onto the {@link ng.$exceptionHandler $exceptionHandler} service.\n *\n * @param {string} name Event name to broadcast.\n * @param {...*} args Optional one or more arguments which will be passed onto the event listeners.\n * @return {Object} Event object, see {@link ng.$rootScope.Scope#$on}\n */\n $broadcast: function(name, args) {\n var target = this,\n current = target,\n next = target,\n event = {\n name: name,\n targetScope: target,\n preventDefault: function() {\n event.defaultPrevented = true;\n },\n defaultPrevented: false\n };\n\n if (!target.$$listenerCount[name]) return event;\n\n var listenerArgs = concat([event], arguments, 1),\n listeners, i, length;\n\n //down while you can, then up and next sibling or up and next sibling until back at root\n while ((current = next)) {\n event.currentScope = current;\n listeners = current.$$listeners[name] || [];\n for (i = 0, length = listeners.length; i < length; i++) {\n // if listeners were deregistered, defragment the array\n if (!listeners[i]) {\n listeners.splice(i, 1);\n i--;\n length--;\n continue;\n }\n\n try {\n listeners[i].apply(null, listenerArgs);\n } catch (e) {\n $exceptionHandler(e);\n }\n }\n\n // Insanity Warning: scope depth-first traversal\n // yes, this code is a bit crazy, but it works and we have tests to prove it!\n // this piece should be kept in sync with the traversal in $digest\n // (though it differs due to having the extra check for $$listenerCount and\n // does not check $$suspended)\n if (!(next = ((current.$$listenerCount[name] && current.$$childHead) ||\n (current !== target && current.$$nextSibling)))) {\n while (current !== target && !(next = current.$$nextSibling)) {\n current = current.$parent;\n }\n }\n }\n\n event.currentScope = null;\n return event;\n }\n };\n\n var $rootScope = new Scope();\n\n //The internal queues. Expose them on the $rootScope for debugging/testing purposes.\n var asyncQueue = $rootScope.$$asyncQueue = [];\n var postDigestQueue = $rootScope.$$postDigestQueue = [];\n var applyAsyncQueue = $rootScope.$$applyAsyncQueue = [];\n\n var postDigestQueuePosition = 0;\n\n return $rootScope;\n\n\n function beginPhase(phase) {\n if ($rootScope.$$phase) {\n throw $rootScopeMinErr('inprog', '{0} already in progress', $rootScope.$$phase);\n }\n\n $rootScope.$$phase = phase;\n }\n\n function clearPhase() {\n $rootScope.$$phase = null;\n }\n\n function incrementWatchersCount(current, count) {\n do {\n current.$$watchersCount += count;\n } while ((current = current.$parent));\n }\n\n function decrementListenerCount(current, count, name) {\n do {\n current.$$listenerCount[name] -= count;\n\n if (current.$$listenerCount[name] === 0) {\n delete current.$$listenerCount[name];\n }\n } while ((current = current.$parent));\n }\n\n /**\n * function used as an initial value for watchers.\n * because it's unique we can easily tell it apart from other values\n */\n function initWatchVal() {}\n\n function flushApplyAsync() {\n while (applyAsyncQueue.length) {\n try {\n applyAsyncQueue.shift()();\n } catch (e) {\n $exceptionHandler(e);\n }\n }\n applyAsyncId = null;\n }\n\n function scheduleApplyAsync() {\n if (applyAsyncId === null) {\n applyAsyncId = $browser.defer(function() {\n $rootScope.$apply(flushApplyAsync);\n }, null, '$applyAsync');\n }\n }\n }];\n}\n\n/**\n * @ngdoc service\n * @name $rootElement\n *\n * @description\n * The root element of AngularJS application. This is either the element where {@link\n * ng.directive:ngApp ngApp} was declared or the element passed into\n * {@link angular.bootstrap}. The element represents the root element of application. It is also the\n * location where the application's {@link auto.$injector $injector} service gets\n * published, and can be retrieved using `$rootElement.injector()`.\n */\n\n\n// the implementation is in angular.bootstrap\n\n/**\n * @this\n * @description\n * Private service to sanitize uris for links and images. Used by $compile and $sanitize.\n */\nfunction $$SanitizeUriProvider() {\n\n var aHrefSanitizationWhitelist = /^\\s*(https?|s?ftp|mailto|tel|file):/,\n imgSrcSanitizationWhitelist = /^\\s*((https?|ftp|file|blob):|data:image\\/)/;\n\n /**\n * @description\n * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n * urls during a[href] sanitization.\n *\n * The sanitization is a security measure aimed at prevent XSS attacks via HTML anchor links.\n *\n * Any url due to be assigned to an `a[href]` attribute via interpolation is marked as requiring\n * the $sce.URL security context. When interpolation occurs a call is made to `$sce.trustAsUrl(url)`\n * which in turn may call `$$sanitizeUri(url, isMedia)` to sanitize the potentially malicious URL.\n *\n * If the URL matches the `aHrefSanitizationWhitelist` regular expression, it is returned unchanged.\n *\n * If there is no match the URL is returned prefixed with `'unsafe:'` to ensure that when it is written\n * to the DOM it is inactive and potentially malicious code will not be executed.\n *\n * @param {RegExp=} regexp New regexp to whitelist urls with.\n * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n * chaining otherwise.\n */\n this.aHrefSanitizationWhitelist = function(regexp) {\n if (isDefined(regexp)) {\n aHrefSanitizationWhitelist = regexp;\n return this;\n }\n return aHrefSanitizationWhitelist;\n };\n\n\n /**\n * @description\n * Retrieves or overrides the default regular expression that is used for whitelisting of safe\n * urls during img[src] sanitization.\n *\n * The sanitization is a security measure aimed at prevent XSS attacks via HTML image src links.\n *\n * Any URL due to be assigned to an `img[src]` attribute via interpolation is marked as requiring\n * the $sce.MEDIA_URL security context. When interpolation occurs a call is made to\n * `$sce.trustAsMediaUrl(url)` which in turn may call `$$sanitizeUri(url, isMedia)` to sanitize\n * the potentially malicious URL.\n *\n * If the URL matches the `aImgSanitizationWhitelist` regular expression, it is returned unchanged.\n *\n * If there is no match the URL is returned prefixed with `'unsafe:'` to ensure that when it is written\n * to the DOM it is inactive and potentially malicious code will not be executed.\n *\n * @param {RegExp=} regexp New regexp to whitelist urls with.\n * @returns {RegExp|ng.$compileProvider} Current RegExp if called without value or self for\n * chaining otherwise.\n */\n this.imgSrcSanitizationWhitelist = function(regexp) {\n if (isDefined(regexp)) {\n imgSrcSanitizationWhitelist = regexp;\n return this;\n }\n return imgSrcSanitizationWhitelist;\n };\n\n this.$get = function() {\n return function sanitizeUri(uri, isMediaUrl) {\n // if (!uri) return uri;\n var regex = isMediaUrl ? imgSrcSanitizationWhitelist : aHrefSanitizationWhitelist;\n var normalizedVal = urlResolve(uri && uri.trim()).href;\n if (normalizedVal !== '' && !normalizedVal.match(regex)) {\n return 'unsafe:' + normalizedVal;\n }\n return uri;\n };\n };\n}\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * Any commits to this file should be reviewed with security in mind. *\n * Changes to this file can potentially create security vulnerabilities. *\n * An approval from 2 Core members with history of modifying *\n * this file is required. *\n * *\n * Does the change somehow allow for arbitrary javascript to be executed? *\n * Or allows for someone to change the prototype of built-in objects? *\n * Or gives undesired access to variables likes document or window? *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\n/* exported $SceProvider, $SceDelegateProvider */\n\nvar $sceMinErr = minErr('$sce');\n\nvar SCE_CONTEXTS = {\n // HTML is used when there's HTML rendered (e.g. ng-bind-html, iframe srcdoc binding).\n HTML: 'html',\n\n // Style statements or stylesheets. Currently unused in AngularJS.\n CSS: 'css',\n\n // An URL used in a context where it refers to the source of media, which are not expected to be run\n // as scripts, such as an image, audio, video, etc.\n MEDIA_URL: 'mediaUrl',\n\n // An URL used in a context where it does not refer to a resource that loads code.\n // A value that can be trusted as a URL can also trusted as a MEDIA_URL.\n URL: 'url',\n\n // RESOURCE_URL is a subtype of URL used where the referred-to resource could be interpreted as\n // code. (e.g. ng-include, script src binding, templateUrl)\n // A value that can be trusted as a RESOURCE_URL, can also trusted as a URL and a MEDIA_URL.\n RESOURCE_URL: 'resourceUrl',\n\n // Script. Currently unused in AngularJS.\n JS: 'js'\n};\n\n// Helper functions follow.\n\nvar UNDERSCORE_LOWERCASE_REGEXP = /_([a-z])/g;\n\nfunction snakeToCamel(name) {\n return name\n .replace(UNDERSCORE_LOWERCASE_REGEXP, fnCamelCaseReplace);\n}\n\nfunction adjustMatcher(matcher) {\n if (matcher === 'self') {\n return matcher;\n } else if (isString(matcher)) {\n // Strings match exactly except for 2 wildcards - '*' and '**'.\n // '*' matches any character except those from the set ':/.?&'.\n // '**' matches any character (like .* in a RegExp).\n // More than 2 *'s raises an error as it's ill defined.\n if (matcher.indexOf('***') > -1) {\n throw $sceMinErr('iwcard',\n 'Illegal sequence *** in string matcher. String: {0}', matcher);\n }\n matcher = escapeForRegexp(matcher).\n replace(/\\\\\\*\\\\\\*/g, '.*').\n replace(/\\\\\\*/g, '[^:/.?&;]*');\n return new RegExp('^' + matcher + '$');\n } else if (isRegExp(matcher)) {\n // The only other type of matcher allowed is a Regexp.\n // Match entire URL / disallow partial matches.\n // Flags are reset (i.e. no global, ignoreCase or multiline)\n return new RegExp('^' + matcher.source + '$');\n } else {\n throw $sceMinErr('imatcher',\n 'Matchers may only be \"self\", string patterns or RegExp objects');\n }\n}\n\n\nfunction adjustMatchers(matchers) {\n var adjustedMatchers = [];\n if (isDefined(matchers)) {\n forEach(matchers, function(matcher) {\n adjustedMatchers.push(adjustMatcher(matcher));\n });\n }\n return adjustedMatchers;\n}\n\n\n/**\n * @ngdoc service\n * @name $sceDelegate\n * @kind function\n *\n * @description\n *\n * `$sceDelegate` is a service that is used by the `$sce` service to provide {@link ng.$sce Strict\n * Contextual Escaping (SCE)} services to AngularJS.\n *\n * For an overview of this service and the functionnality it provides in AngularJS, see the main\n * page for {@link ng.$sce SCE}. The current page is targeted for developers who need to alter how\n * SCE works in their application, which shouldn't be needed in most cases.\n *\n * <div class=\"alert alert-danger\">\n * AngularJS strongly relies on contextual escaping for the security of bindings: disabling or\n * modifying this might cause cross site scripting (XSS) vulnerabilities. For libraries owners,\n * changes to this service will also influence users, so be extra careful and document your changes.\n * </div>\n *\n * Typically, you would configure or override the {@link ng.$sceDelegate $sceDelegate} instead of\n * the `$sce` service to customize the way Strict Contextual Escaping works in AngularJS. This is\n * because, while the `$sce` provides numerous shorthand methods, etc., you really only need to\n * override 3 core functions (`trustAs`, `getTrusted` and `valueOf`) to replace the way things\n * work because `$sce` delegates to `$sceDelegate` for these operations.\n *\n * Refer {@link ng.$sceDelegateProvider $sceDelegateProvider} to configure this service.\n *\n * The default instance of `$sceDelegate` should work out of the box with little pain. While you\n * can override it completely to change the behavior of `$sce`, the common case would\n * involve configuring the {@link ng.$sceDelegateProvider $sceDelegateProvider} instead by setting\n * your own whitelists and blacklists for trusting URLs used for loading AngularJS resources such as\n * templates. Refer {@link ng.$sceDelegateProvider#resourceUrlWhitelist\n * $sceDelegateProvider.resourceUrlWhitelist} and {@link\n * ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist}\n */\n\n/**\n * @ngdoc provider\n * @name $sceDelegateProvider\n * @this\n *\n * @description\n *\n * The `$sceDelegateProvider` provider allows developers to configure the {@link ng.$sceDelegate\n * $sceDelegate service}, used as a delegate for {@link ng.$sce Strict Contextual Escaping (SCE)}.\n *\n * The `$sceDelegateProvider` allows one to get/set the whitelists and blacklists used to ensure\n * that the URLs used for sourcing AngularJS templates and other script-running URLs are safe (all\n * places that use the `$sce.RESOURCE_URL` context). See\n * {@link ng.$sceDelegateProvider#resourceUrlWhitelist $sceDelegateProvider.resourceUrlWhitelist}\n * and\n * {@link ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist},\n *\n * For the general details about this service in AngularJS, read the main page for {@link ng.$sce\n * Strict Contextual Escaping (SCE)}.\n *\n * **Example**: Consider the following case. <a name=\"example\"></a>\n *\n * - your app is hosted at url `http://myapp.example.com/`\n * - but some of your templates are hosted on other domains you control such as\n * `http://srv01.assets.example.com/`, `http://srv02.assets.example.com/`, etc.\n * - and you have an open redirect at `http://myapp.example.com/clickThru?...`.\n *\n * Here is what a secure configuration for this scenario might look like:\n *\n * ```\n * angular.module('myApp', []).config(function($sceDelegateProvider) {\n * $sceDelegateProvider.resourceUrlWhitelist([\n * // Allow same origin resource loads.\n * 'self',\n * // Allow loading from our assets domain. Notice the difference between * and **.\n * 'http://srv*.assets.example.com/**'\n * ]);\n *\n * // The blacklist overrides the whitelist so the open redirect here is blocked.\n * $sceDelegateProvider.resourceUrlBlacklist([\n * 'http://myapp.example.com/clickThru**'\n * ]);\n * });\n * ```\n * Note that an empty whitelist will block every resource URL from being loaded, and will require\n * you to manually mark each one as trusted with `$sce.trustAsResourceUrl`. However, templates\n * requested by {@link ng.$templateRequest $templateRequest} that are present in\n * {@link ng.$templateCache $templateCache} will not go through this check. If you have a mechanism\n * to populate your templates in that cache at config time, then it is a good idea to remove 'self'\n * from that whitelist. This helps to mitigate the security impact of certain types of issues, like\n * for instance attacker-controlled `ng-includes`.\n */\n\nfunction $SceDelegateProvider() {\n this.SCE_CONTEXTS = SCE_CONTEXTS;\n\n // Resource URLs can also be trusted by policy.\n var resourceUrlWhitelist = ['self'],\n resourceUrlBlacklist = [];\n\n /**\n * @ngdoc method\n * @name $sceDelegateProvider#resourceUrlWhitelist\n * @kind function\n *\n * @param {Array=} whitelist When provided, replaces the resourceUrlWhitelist with the value\n * provided. This must be an array or null. A snapshot of this array is used so further\n * changes to the array are ignored.\n * Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items\n * allowed in this array.\n *\n * @return {Array} The currently set whitelist array.\n *\n * @description\n * Sets/Gets the whitelist of trusted resource URLs.\n *\n * The **default value** when no whitelist has been explicitly set is `['self']` allowing only\n * same origin resource requests.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** the default whitelist of 'self' is not recommended if your app shares its origin\n * with other apps! It is a good idea to limit it to only your application's directory.\n * </div>\n */\n this.resourceUrlWhitelist = function(value) {\n if (arguments.length) {\n resourceUrlWhitelist = adjustMatchers(value);\n }\n return resourceUrlWhitelist;\n };\n\n /**\n * @ngdoc method\n * @name $sceDelegateProvider#resourceUrlBlacklist\n * @kind function\n *\n * @param {Array=} blacklist When provided, replaces the resourceUrlBlacklist with the value\n * provided. This must be an array or null. A snapshot of this array is used so further\n * changes to the array are ignored.</p><p>\n * Follow {@link ng.$sce#resourceUrlPatternItem this link} for a description of the items\n * allowed in this array.</p><p>\n * The typical usage for the blacklist is to **block\n * [open redirects](http://cwe.mitre.org/data/definitions/601.html)** served by your domain as\n * these would otherwise be trusted but actually return content from the redirected domain.\n * </p><p>\n * Finally, **the blacklist overrides the whitelist** and has the final say.\n *\n * @return {Array} The currently set blacklist array.\n *\n * @description\n * Sets/Gets the blacklist of trusted resource URLs.\n *\n * The **default value** when no whitelist has been explicitly set is the empty array (i.e. there\n * is no blacklist.)\n */\n\n this.resourceUrlBlacklist = function(value) {\n if (arguments.length) {\n resourceUrlBlacklist = adjustMatchers(value);\n }\n return resourceUrlBlacklist;\n };\n\n this.$get = ['$injector', '$$sanitizeUri', function($injector, $$sanitizeUri) {\n\n var htmlSanitizer = function htmlSanitizer(html) {\n throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');\n };\n\n if ($injector.has('$sanitize')) {\n htmlSanitizer = $injector.get('$sanitize');\n }\n\n\n function matchUrl(matcher, parsedUrl) {\n if (matcher === 'self') {\n return urlIsSameOrigin(parsedUrl) || urlIsSameOriginAsBaseUrl(parsedUrl);\n } else {\n // definitely a regex. See adjustMatchers()\n return !!matcher.exec(parsedUrl.href);\n }\n }\n\n function isResourceUrlAllowedByPolicy(url) {\n var parsedUrl = urlResolve(url.toString());\n var i, n, allowed = false;\n // Ensure that at least one item from the whitelist allows this url.\n for (i = 0, n = resourceUrlWhitelist.length; i < n; i++) {\n if (matchUrl(resourceUrlWhitelist[i], parsedUrl)) {\n allowed = true;\n break;\n }\n }\n if (allowed) {\n // Ensure that no item from the blacklist blocked this url.\n for (i = 0, n = resourceUrlBlacklist.length; i < n; i++) {\n if (matchUrl(resourceUrlBlacklist[i], parsedUrl)) {\n allowed = false;\n break;\n }\n }\n }\n return allowed;\n }\n\n function generateHolderType(Base) {\n var holderType = function TrustedValueHolderType(trustedValue) {\n this.$$unwrapTrustedValue = function() {\n return trustedValue;\n };\n };\n if (Base) {\n holderType.prototype = new Base();\n }\n holderType.prototype.valueOf = function sceValueOf() {\n return this.$$unwrapTrustedValue();\n };\n holderType.prototype.toString = function sceToString() {\n return this.$$unwrapTrustedValue().toString();\n };\n return holderType;\n }\n\n var trustedValueHolderBase = generateHolderType(),\n byType = {};\n\n byType[SCE_CONTEXTS.HTML] = generateHolderType(trustedValueHolderBase);\n byType[SCE_CONTEXTS.CSS] = generateHolderType(trustedValueHolderBase);\n byType[SCE_CONTEXTS.MEDIA_URL] = generateHolderType(trustedValueHolderBase);\n byType[SCE_CONTEXTS.URL] = generateHolderType(byType[SCE_CONTEXTS.MEDIA_URL]);\n byType[SCE_CONTEXTS.JS] = generateHolderType(trustedValueHolderBase);\n byType[SCE_CONTEXTS.RESOURCE_URL] = generateHolderType(byType[SCE_CONTEXTS.URL]);\n\n /**\n * @ngdoc method\n * @name $sceDelegate#trustAs\n *\n * @description\n * Returns a trusted representation of the parameter for the specified context. This trusted\n * object will later on be used as-is, without any security check, by bindings or directives\n * that require this security context.\n * For instance, marking a string as trusted for the `$sce.HTML` context will entirely bypass\n * the potential `$sanitize` call in corresponding `$sce.HTML` bindings or directives, such as\n * `ng-bind-html`. Note that in most cases you won't need to call this function: if you have the\n * sanitizer loaded, passing the value itself will render all the HTML that does not pose a\n * security risk.\n *\n * See {@link ng.$sceDelegate#getTrusted getTrusted} for the function that will consume those\n * trusted values, and {@link ng.$sce $sce} for general documentation about strict contextual\n * escaping.\n *\n * @param {string} type The context in which this value is safe for use, e.g. `$sce.URL`,\n * `$sce.RESOURCE_URL`, `$sce.HTML`, `$sce.JS` or `$sce.CSS`.\n *\n * @param {*} value The value that should be considered trusted.\n * @return {*} A trusted representation of value, that can be used in the given context.\n */\n function trustAs(type, trustedValue) {\n var Constructor = (byType.hasOwnProperty(type) ? byType[type] : null);\n if (!Constructor) {\n throw $sceMinErr('icontext',\n 'Attempted to trust a value in invalid context. Context: {0}; Value: {1}',\n type, trustedValue);\n }\n if (trustedValue === null || isUndefined(trustedValue) || trustedValue === '') {\n return trustedValue;\n }\n // All the current contexts in SCE_CONTEXTS happen to be strings. In order to avoid trusting\n // mutable objects, we ensure here that the value passed in is actually a string.\n if (typeof trustedValue !== 'string') {\n throw $sceMinErr('itype',\n 'Attempted to trust a non-string value in a content requiring a string: Context: {0}',\n type);\n }\n return new Constructor(trustedValue);\n }\n\n /**\n * @ngdoc method\n * @name $sceDelegate#valueOf\n *\n * @description\n * If the passed parameter had been returned by a prior call to {@link ng.$sceDelegate#trustAs\n * `$sceDelegate.trustAs`}, returns the value that had been passed to {@link\n * ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}.\n *\n * If the passed parameter is not a value that had been returned by {@link\n * ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}, it must be returned as-is.\n *\n * @param {*} value The result of a prior {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}\n * call or anything else.\n * @return {*} The `value` that was originally provided to {@link ng.$sceDelegate#trustAs\n * `$sceDelegate.trustAs`} if `value` is the result of such a call. Otherwise, returns\n * `value` unchanged.\n */\n function valueOf(maybeTrusted) {\n if (maybeTrusted instanceof trustedValueHolderBase) {\n return maybeTrusted.$$unwrapTrustedValue();\n } else {\n return maybeTrusted;\n }\n }\n\n /**\n * @ngdoc method\n * @name $sceDelegate#getTrusted\n *\n * @description\n * Given an object and a security context in which to assign it, returns a value that's safe to\n * use in this context, which was represented by the parameter. To do so, this function either\n * unwraps the safe type it has been given (for instance, a {@link ng.$sceDelegate#trustAs\n * `$sceDelegate.trustAs`} result), or it might try to sanitize the value given, depending on\n * the context and sanitizer availablility.\n *\n * The contexts that can be sanitized are $sce.MEDIA_URL, $sce.URL and $sce.HTML. The first two are available\n * by default, and the third one relies on the `$sanitize` service (which may be loaded through\n * the `ngSanitize` module). Furthermore, for $sce.RESOURCE_URL context, a plain string may be\n * accepted if the resource url policy defined by {@link ng.$sceDelegateProvider#resourceUrlWhitelist\n * `$sceDelegateProvider.resourceUrlWhitelist`} and {@link ng.$sceDelegateProvider#resourceUrlBlacklist\n * `$sceDelegateProvider.resourceUrlBlacklist`} accepts that resource.\n *\n * This function will throw if the safe type isn't appropriate for this context, or if the\n * value given cannot be accepted in the context (which might be caused by sanitization not\n * being available, or the value not being recognized as safe).\n *\n * <div class=\"alert alert-danger\">\n * Disabling auto-escaping is extremely dangerous, it usually creates a Cross Site Scripting\n * (XSS) vulnerability in your application.\n * </div>\n *\n * @param {string} type The context in which this value is to be used (such as `$sce.HTML`).\n * @param {*} maybeTrusted The result of a prior {@link ng.$sceDelegate#trustAs\n * `$sceDelegate.trustAs`} call, or anything else (which will not be considered trusted.)\n * @return {*} A version of the value that's safe to use in the given context, or throws an\n * exception if this is impossible.\n */\n function getTrusted(type, maybeTrusted) {\n if (maybeTrusted === null || isUndefined(maybeTrusted) || maybeTrusted === '') {\n return maybeTrusted;\n }\n var constructor = (byType.hasOwnProperty(type) ? byType[type] : null);\n // If maybeTrusted is a trusted class instance or subclass instance, then unwrap and return\n // as-is.\n if (constructor && maybeTrusted instanceof constructor) {\n return maybeTrusted.$$unwrapTrustedValue();\n }\n\n // If maybeTrusted is a trusted class instance but not of the correct trusted type\n // then unwrap it and allow it to pass through to the rest of the checks\n if (isFunction(maybeTrusted.$$unwrapTrustedValue)) {\n maybeTrusted = maybeTrusted.$$unwrapTrustedValue();\n }\n\n // If we get here, then we will either sanitize the value or throw an exception.\n if (type === SCE_CONTEXTS.MEDIA_URL || type === SCE_CONTEXTS.URL) {\n // we attempt to sanitize non-resource URLs\n return $$sanitizeUri(maybeTrusted.toString(), type === SCE_CONTEXTS.MEDIA_URL);\n } else if (type === SCE_CONTEXTS.RESOURCE_URL) {\n if (isResourceUrlAllowedByPolicy(maybeTrusted)) {\n return maybeTrusted;\n } else {\n throw $sceMinErr('insecurl',\n 'Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}',\n maybeTrusted.toString());\n }\n } else if (type === SCE_CONTEXTS.HTML) {\n // htmlSanitizer throws its own error when no sanitizer is available.\n return htmlSanitizer(maybeTrusted);\n }\n // Default error when the $sce service has no way to make the input safe.\n throw $sceMinErr('unsafe', 'Attempting to use an unsafe value in a safe context.');\n }\n\n return { trustAs: trustAs,\n getTrusted: getTrusted,\n valueOf: valueOf };\n }];\n}\n\n\n/**\n * @ngdoc provider\n * @name $sceProvider\n * @this\n *\n * @description\n *\n * The $sceProvider provider allows developers to configure the {@link ng.$sce $sce} service.\n * - enable/disable Strict Contextual Escaping (SCE) in a module\n * - override the default implementation with a custom delegate\n *\n * Read more about {@link ng.$sce Strict Contextual Escaping (SCE)}.\n */\n\n/**\n * @ngdoc service\n * @name $sce\n * @kind function\n *\n * @description\n *\n * `$sce` is a service that provides Strict Contextual Escaping services to AngularJS.\n *\n * ## Strict Contextual Escaping\n *\n * Strict Contextual Escaping (SCE) is a mode in which AngularJS constrains bindings to only render\n * trusted values. Its goal is to assist in writing code in a way that (a) is secure by default, and\n * (b) makes auditing for security vulnerabilities such as XSS, clickjacking, etc. a lot easier.\n *\n * ### Overview\n *\n * To systematically block XSS security bugs, AngularJS treats all values as untrusted by default in\n * HTML or sensitive URL bindings. When binding untrusted values, AngularJS will automatically\n * run security checks on them (sanitizations, whitelists, depending on context), or throw when it\n * cannot guarantee the security of the result. That behavior depends strongly on contexts: HTML\n * can be sanitized, but template URLs cannot, for instance.\n *\n * To illustrate this, consider the `ng-bind-html` directive. It renders its value directly as HTML:\n * we call that the *context*. When given an untrusted input, AngularJS will attempt to sanitize it\n * before rendering if a sanitizer is available, and throw otherwise. To bypass sanitization and\n * render the input as-is, you will need to mark it as trusted for that context before attempting\n * to bind it.\n *\n * As of version 1.2, AngularJS ships with SCE enabled by default.\n *\n * ### In practice\n *\n * Here's an example of a binding in a privileged context:\n *\n * ```\n * <input ng-model=\"userHtml\" aria-label=\"User input\">\n * <div ng-bind-html=\"userHtml\"></div>\n * ```\n *\n * Notice that `ng-bind-html` is bound to `userHtml` controlled by the user. With SCE\n * disabled, this application allows the user to render arbitrary HTML into the DIV, which would\n * be an XSS security bug. In a more realistic example, one may be rendering user comments, blog\n * articles, etc. via bindings. (HTML is just one example of a context where rendering user\n * controlled input creates security vulnerabilities.)\n *\n * For the case of HTML, you might use a library, either on the client side, or on the server side,\n * to sanitize unsafe HTML before binding to the value and rendering it in the document.\n *\n * How would you ensure that every place that used these types of bindings was bound to a value that\n * was sanitized by your library (or returned as safe for rendering by your server?) How can you\n * ensure that you didn't accidentally delete the line that sanitized the value, or renamed some\n * properties/fields and forgot to update the binding to the sanitized value?\n *\n * To be secure by default, AngularJS makes sure bindings go through that sanitization, or\n * any similar validation process, unless there's a good reason to trust the given value in this\n * context. That trust is formalized with a function call. This means that as a developer, you\n * can assume all untrusted bindings are safe. Then, to audit your code for binding security issues,\n * you just need to ensure the values you mark as trusted indeed are safe - because they were\n * received from your server, sanitized by your library, etc. You can organize your codebase to\n * help with this - perhaps allowing only the files in a specific directory to do this.\n * Ensuring that the internal API exposed by that code doesn't markup arbitrary values as safe then\n * becomes a more manageable task.\n *\n * In the case of AngularJS' SCE service, one uses {@link ng.$sce#trustAs $sce.trustAs}\n * (and shorthand methods such as {@link ng.$sce#trustAsHtml $sce.trustAsHtml}, etc.) to\n * build the trusted versions of your values.\n *\n * ### How does it work?\n *\n * In privileged contexts, directives and code will bind to the result of {@link ng.$sce#getTrusted\n * $sce.getTrusted(context, value)} rather than to the value directly. Think of this function as\n * a way to enforce the required security context in your data sink. Directives use {@link\n * ng.$sce#parseAs $sce.parseAs} rather than `$parse` to watch attribute bindings, which performs\n * the {@link ng.$sce#getTrusted $sce.getTrusted} behind the scenes on non-constant literals. Also,\n * when binding without directives, AngularJS will understand the context of your bindings\n * automatically.\n *\n * As an example, {@link ng.directive:ngBindHtml ngBindHtml} uses {@link\n * ng.$sce#parseAsHtml $sce.parseAsHtml(binding expression)}. Here's the actual code (slightly\n * simplified):\n *\n * ```\n * var ngBindHtmlDirective = ['$sce', function($sce) {\n * return function(scope, element, attr) {\n * scope.$watch($sce.parseAsHtml(attr.ngBindHtml), function(value) {\n * element.html(value || '');\n * });\n * };\n * }];\n * ```\n *\n * ### Impact on loading templates\n *\n * This applies both to the {@link ng.directive:ngInclude `ng-include`} directive as well as\n * `templateUrl`'s specified by {@link guide/directive directives}.\n *\n * By default, AngularJS only loads templates from the same domain and protocol as the application\n * document. This is done by calling {@link ng.$sce#getTrustedResourceUrl\n * $sce.getTrustedResourceUrl} on the template URL. To load templates from other domains and/or\n * protocols, you may either {@link ng.$sceDelegateProvider#resourceUrlWhitelist whitelist\n * them} or {@link ng.$sce#trustAsResourceUrl wrap it} into a trusted value.\n *\n * *Please note*:\n * The browser's\n * [Same Origin Policy](https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest)\n * and [Cross-Origin Resource Sharing (CORS)](http://www.w3.org/TR/cors/)\n * policy apply in addition to this and may further restrict whether the template is successfully\n * loaded. This means that without the right CORS policy, loading templates from a different domain\n * won't work on all browsers. Also, loading templates from `file://` URL does not work on some\n * browsers.\n *\n * ### This feels like too much overhead\n *\n * It's important to remember that SCE only applies to interpolation expressions.\n *\n * If your expressions are constant literals, they're automatically trusted and you don't need to\n * call `$sce.trustAs` on them (e.g.\n * `<div ng-bind-html=\"'<b>implicitly trusted</b>'\"></div>`) just works (remember to include the\n * `ngSanitize` module). The `$sceDelegate` will also use the `$sanitize` service if it is available\n * when binding untrusted values to `$sce.HTML` context.\n * AngularJS provides an implementation in `angular-sanitize.js`, and if you\n * wish to use it, you will also need to depend on the {@link ngSanitize `ngSanitize`} module in\n * your application.\n *\n * The included {@link ng.$sceDelegate $sceDelegate} comes with sane defaults to allow you to load\n * templates in `ng-include` from your application's domain without having to even know about SCE.\n * It blocks loading templates from other domains or loading templates over http from an https\n * served document. You can change these by setting your own custom {@link\n * ng.$sceDelegateProvider#resourceUrlWhitelist whitelists} and {@link\n * ng.$sceDelegateProvider#resourceUrlBlacklist blacklists} for matching such URLs.\n *\n * This significantly reduces the overhead. It is far easier to pay the small overhead and have an\n * application that's secure and can be audited to verify that with much more ease than bolting\n * security onto an application later.\n *\n * <a name=\"contexts\"></a>\n * ### What trusted context types are supported?\n *\n * | Context | Notes |\n * |---------------------|----------------|\n * | `$sce.HTML` | For HTML that's safe to source into the application. The {@link ng.directive:ngBindHtml ngBindHtml} directive uses this context for bindings. If an unsafe value is encountered and the {@link ngSanitize $sanitize} module is present this will sanitize the value instead of throwing an error. |\n * | `$sce.CSS` | For CSS that's safe to source into the application. Currently unused. Feel free to use it in your own directives. |\n * | `$sce.MEDIA_URL` | For URLs that are safe to render as media. Is automatically converted from string by sanitizing when needed. |\n * | `$sce.URL` | For URLs that are safe to follow as links. Is automatically converted from string by sanitizing when needed. Note that `$sce.URL` makes a stronger statement about the URL than `$sce.MEDIA_URL` does and therefore contexts requiring values trusted for `$sce.URL` can be used anywhere that values trusted for `$sce.MEDIA_URL` are required.|\n * | `$sce.RESOURCE_URL` | For URLs that are not only safe to follow as links, but whose contents are also safe to include in your application. Examples include `ng-include`, `src` / `ngSrc` bindings for tags other than `IMG` (e.g. `IFRAME`, `OBJECT`, etc.) <br><br>Note that `$sce.RESOURCE_URL` makes a stronger statement about the URL than `$sce.URL` or `$sce.MEDIA_URL` do and therefore contexts requiring values trusted for `$sce.RESOURCE_URL` can be used anywhere that values trusted for `$sce.URL` or `$sce.MEDIA_URL` are required. <br><br> The {@link $sceDelegateProvider#resourceUrlWhitelist $sceDelegateProvider#resourceUrlWhitelist()} and {@link $sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider#resourceUrlBlacklist()} can be used to restrict trusted origins for `RESOURCE_URL` |\n * | `$sce.JS` | For JavaScript that is safe to execute in your application's context. Currently unused. Feel free to use it in your own directives. |\n *\n *\n * <div class=\"alert alert-warning\">\n * Be aware that, before AngularJS 1.7.0, `a[href]` and `img[src]` used to sanitize their\n * interpolated values directly rather than rely upon {@link ng.$sce#getTrusted `$sce.getTrusted`}.\n *\n * **As of 1.7.0, this is no longer the case.**\n *\n * Now such interpolations are marked as requiring `$sce.URL` (for `a[href]`) or `$sce.MEDIA_URL`\n * (for `img[src]`), so that the sanitization happens (via `$sce.getTrusted...`) when the `$interpolate`\n * service evaluates the expressions.\n * </div>\n *\n * There are no CSS or JS context bindings in AngularJS currently, so their corresponding `$sce.trustAs`\n * functions aren't useful yet. This might evolve.\n *\n * ### Format of items in {@link ng.$sceDelegateProvider#resourceUrlWhitelist resourceUrlWhitelist}/{@link ng.$sceDelegateProvider#resourceUrlBlacklist Blacklist} <a name=\"resourceUrlPatternItem\"></a>\n *\n * Each element in these arrays must be one of the following:\n *\n * - **'self'**\n * - The special **string**, `'self'`, can be used to match against all URLs of the **same\n * domain** as the application document using the **same protocol**.\n * - **String** (except the special value `'self'`)\n * - The string is matched against the full *normalized / absolute URL* of the resource\n * being tested (substring matches are not good enough.)\n * - There are exactly **two wildcard sequences** - `*` and `**`. All other characters\n * match themselves.\n * - `*`: matches zero or more occurrences of any character other than one of the following 6\n * characters: '`:`', '`/`', '`.`', '`?`', '`&`' and '`;`'. It's a useful wildcard for use\n * in a whitelist.\n * - `**`: matches zero or more occurrences of *any* character. As such, it's not\n * appropriate for use in a scheme, domain, etc. as it would match too much. (e.g.\n * http://**.example.com/ would match http://evil.com/?ignore=.example.com/ and that might\n * not have been the intention.) Its usage at the very end of the path is ok. (e.g.\n * http://foo.example.com/templates/**).\n * - **RegExp** (*see caveat below*)\n * - *Caveat*: While regular expressions are powerful and offer great flexibility, their syntax\n * (and all the inevitable escaping) makes them *harder to maintain*. It's easy to\n * accidentally introduce a bug when one updates a complex expression (imho, all regexes should\n * have good test coverage). For instance, the use of `.` in the regex is correct only in a\n * small number of cases. A `.` character in the regex used when matching the scheme or a\n * subdomain could be matched against a `:` or literal `.` that was likely not intended. It\n * is highly recommended to use the string patterns and only fall back to regular expressions\n * as a last resort.\n * - The regular expression must be an instance of RegExp (i.e. not a string.) It is\n * matched against the **entire** *normalized / absolute URL* of the resource being tested\n * (even when the RegExp did not have the `^` and `$` codes.) In addition, any flags\n * present on the RegExp (such as multiline, global, ignoreCase) are ignored.\n * - If you are generating your JavaScript from some other templating engine (not\n * recommended, e.g. in issue [#4006](https://github.com/angular/angular.js/issues/4006)),\n * remember to escape your regular expression (and be aware that you might need more than\n * one level of escaping depending on your templating engine and the way you interpolated\n * the value.) Do make use of your platform's escaping mechanism as it might be good\n * enough before coding your own. E.g. Ruby has\n * [Regexp.escape(str)](http://www.ruby-doc.org/core-2.0.0/Regexp.html#method-c-escape)\n * and Python has [re.escape](http://docs.python.org/library/re.html#re.escape).\n * Javascript lacks a similar built in function for escaping. Take a look at Google\n * Closure library's [goog.string.regExpEscape(s)](\n * http://docs.closure-library.googlecode.com/git/closure_goog_string_string.js.source.html#line962).\n *\n * Refer {@link ng.$sceDelegateProvider $sceDelegateProvider} for an example.\n *\n * ### Show me an example using SCE.\n *\n * <example module=\"mySceApp\" deps=\"angular-sanitize.js\" name=\"sce-service\">\n * <file name=\"index.html\">\n * <div ng-controller=\"AppController as myCtrl\">\n * <i ng-bind-html=\"myCtrl.explicitlyTrustedHtml\" id=\"explicitlyTrustedHtml\"></i><br><br>\n * <b>User comments</b><br>\n * By default, HTML that isn't explicitly trusted (e.g. Alice's comment) is sanitized when\n * $sanitize is available. If $sanitize isn't available, this results in an error instead of an\n * exploit.\n * <div class=\"well\">\n * <div ng-repeat=\"userComment in myCtrl.userComments\">\n * <b>{{userComment.name}}</b>:\n * <span ng-bind-html=\"userComment.htmlComment\" class=\"htmlComment\"></span>\n * <br>\n * </div>\n * </div>\n * </div>\n * </file>\n *\n * <file name=\"script.js\">\n * angular.module('mySceApp', ['ngSanitize'])\n * .controller('AppController', ['$http', '$templateCache', '$sce',\n * function AppController($http, $templateCache, $sce) {\n * var self = this;\n * $http.get('test_data.json', {cache: $templateCache}).then(function(response) {\n * self.userComments = response.data;\n * });\n * self.explicitlyTrustedHtml = $sce.trustAsHtml(\n * '<span onmouseover=\"this.textContent=&quot;Explicitly trusted HTML bypasses ' +\n * 'sanitization.&quot;\">Hover over this text.</span>');\n * }]);\n * </file>\n *\n * <file name=\"test_data.json\">\n * [\n * { \"name\": \"Alice\",\n * \"htmlComment\":\n * \"<span onmouseover='this.textContent=\\\"PWN3D!\\\"'>Is <i>anyone</i> reading this?</span>\"\n * },\n * { \"name\": \"Bob\",\n * \"htmlComment\": \"<i>Yes!</i> Am I the only other one?\"\n * }\n * ]\n * </file>\n *\n * <file name=\"protractor.js\" type=\"protractor\">\n * describe('SCE doc demo', function() {\n * it('should sanitize untrusted values', function() {\n * expect(element.all(by.css('.htmlComment')).first().getAttribute('innerHTML'))\n * .toBe('<span>Is <i>anyone</i> reading this?</span>');\n * });\n *\n * it('should NOT sanitize explicitly trusted values', function() {\n * expect(element(by.id('explicitlyTrustedHtml')).getAttribute('innerHTML')).toBe(\n * '<span onmouseover=\"this.textContent=&quot;Explicitly trusted HTML bypasses ' +\n * 'sanitization.&quot;\">Hover over this text.</span>');\n * });\n * });\n * </file>\n * </example>\n *\n *\n *\n * ## Can I disable SCE completely?\n *\n * Yes, you can. However, this is strongly discouraged. SCE gives you a lot of security benefits\n * for little coding overhead. It will be much harder to take an SCE disabled application and\n * either secure it on your own or enable SCE at a later stage. It might make sense to disable SCE\n * for cases where you have a lot of existing code that was written before SCE was introduced and\n * you're migrating them a module at a time. Also do note that this is an app-wide setting, so if\n * you are writing a library, you will cause security bugs applications using it.\n *\n * That said, here's how you can completely disable SCE:\n *\n * ```\n * angular.module('myAppWithSceDisabledmyApp', []).config(function($sceProvider) {\n * // Completely disable SCE. For demonstration purposes only!\n * // Do not use in new projects or libraries.\n * $sceProvider.enabled(false);\n * });\n * ```\n *\n */\n\nfunction $SceProvider() {\n var enabled = true;\n\n /**\n * @ngdoc method\n * @name $sceProvider#enabled\n * @kind function\n *\n * @param {boolean=} value If provided, then enables/disables SCE application-wide.\n * @return {boolean} True if SCE is enabled, false otherwise.\n *\n * @description\n * Enables/disables SCE and returns the current value.\n */\n this.enabled = function(value) {\n if (arguments.length) {\n enabled = !!value;\n }\n return enabled;\n };\n\n\n /* Design notes on the default implementation for SCE.\n *\n * The API contract for the SCE delegate\n * -------------------------------------\n * The SCE delegate object must provide the following 3 methods:\n *\n * - trustAs(contextEnum, value)\n * This method is used to tell the SCE service that the provided value is OK to use in the\n * contexts specified by contextEnum. It must return an object that will be accepted by\n * getTrusted() for a compatible contextEnum and return this value.\n *\n * - valueOf(value)\n * For values that were not produced by trustAs(), return them as is. For values that were\n * produced by trustAs(), return the corresponding input value to trustAs. Basically, if\n * trustAs is wrapping the given values into some type, this operation unwraps it when given\n * such a value.\n *\n * - getTrusted(contextEnum, value)\n * This function should return the value that is safe to use in the context specified by\n * contextEnum or throw and exception otherwise.\n *\n * NOTE: This contract deliberately does NOT state that values returned by trustAs() must be\n * opaque or wrapped in some holder object. That happens to be an implementation detail. For\n * instance, an implementation could maintain a registry of all trusted objects by context. In\n * such a case, trustAs() would return the same object that was passed in. getTrusted() would\n * return the same object passed in if it was found in the registry under a compatible context or\n * throw an exception otherwise. An implementation might only wrap values some of the time based\n * on some criteria. getTrusted() might return a value and not throw an exception for special\n * constants or objects even if not wrapped. All such implementations fulfill this contract.\n *\n *\n * A note on the inheritance model for SCE contexts\n * ------------------------------------------------\n * I've used inheritance and made RESOURCE_URL wrapped types a subtype of URL wrapped types. This\n * is purely an implementation details.\n *\n * The contract is simply this:\n *\n * getTrusted($sce.RESOURCE_URL, value) succeeding implies that getTrusted($sce.URL, value)\n * will also succeed.\n *\n * Inheritance happens to capture this in a natural way. In some future, we may not use\n * inheritance anymore. That is OK because no code outside of sce.js and sceSpecs.js would need to\n * be aware of this detail.\n */\n\n this.$get = ['$parse', '$sceDelegate', function(\n $parse, $sceDelegate) {\n // Support: IE 9-11 only\n // Prereq: Ensure that we're not running in IE<11 quirks mode. In that mode, IE < 11 allow\n // the \"expression(javascript expression)\" syntax which is insecure.\n if (enabled && msie < 8) {\n throw $sceMinErr('iequirks',\n 'Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks ' +\n 'mode. You can fix this by adding the text <!doctype html> to the top of your HTML ' +\n 'document. See http://docs.angularjs.org/api/ng.$sce for more information.');\n }\n\n var sce = shallowCopy(SCE_CONTEXTS);\n\n /**\n * @ngdoc method\n * @name $sce#isEnabled\n * @kind function\n *\n * @return {Boolean} True if SCE is enabled, false otherwise. If you want to set the value, you\n * have to do it at module config time on {@link ng.$sceProvider $sceProvider}.\n *\n * @description\n * Returns a boolean indicating if SCE is enabled.\n */\n sce.isEnabled = function() {\n return enabled;\n };\n sce.trustAs = $sceDelegate.trustAs;\n sce.getTrusted = $sceDelegate.getTrusted;\n sce.valueOf = $sceDelegate.valueOf;\n\n if (!enabled) {\n sce.trustAs = sce.getTrusted = function(type, value) { return value; };\n sce.valueOf = identity;\n }\n\n /**\n * @ngdoc method\n * @name $sce#parseAs\n *\n * @description\n * Converts AngularJS {@link guide/expression expression} into a function. This is like {@link\n * ng.$parse $parse} and is identical when the expression is a literal constant. Otherwise, it\n * wraps the expression in a call to {@link ng.$sce#getTrusted $sce.getTrusted(*type*,\n * *result*)}\n *\n * @param {string} type The SCE context in which this result will be used.\n * @param {string} expression String expression to compile.\n * @return {function(context, locals)} A function which represents the compiled expression:\n *\n * * `context` – `{object}` – an object against which any expressions embedded in the\n * strings are evaluated against (typically a scope object).\n * * `locals` – `{object=}` – local variables context object, useful for overriding values\n * in `context`.\n */\n sce.parseAs = function sceParseAs(type, expr) {\n var parsed = $parse(expr);\n if (parsed.literal && parsed.constant) {\n return parsed;\n } else {\n return $parse(expr, function(value) {\n return sce.getTrusted(type, value);\n });\n }\n };\n\n /**\n * @ngdoc method\n * @name $sce#trustAs\n *\n * @description\n * Delegates to {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs`}. As such, returns a\n * wrapped object that represents your value, and the trust you have in its safety for the given\n * context. AngularJS can then use that value as-is in bindings of the specified secure context.\n * This is used in bindings for `ng-bind-html`, `ng-include`, and most `src` attribute\n * interpolations. See {@link ng.$sce $sce} for strict contextual escaping.\n *\n * @param {string} type The context in which this value is safe for use, e.g. `$sce.URL`,\n * `$sce.RESOURCE_URL`, `$sce.HTML`, `$sce.JS` or `$sce.CSS`.\n *\n * @param {*} value The value that that should be considered trusted.\n * @return {*} A wrapped version of value that can be used as a trusted variant of your `value`\n * in the context you specified.\n */\n\n /**\n * @ngdoc method\n * @name $sce#trustAsHtml\n *\n * @description\n * Shorthand method. `$sce.trustAsHtml(value)` →\n * {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.HTML, value)`}\n *\n * @param {*} value The value to mark as trusted for `$sce.HTML` context.\n * @return {*} A wrapped version of value that can be used as a trusted variant of your `value`\n * in `$sce.HTML` context (like `ng-bind-html`).\n */\n\n /**\n * @ngdoc method\n * @name $sce#trustAsCss\n *\n * @description\n * Shorthand method. `$sce.trustAsCss(value)` →\n * {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.CSS, value)`}\n *\n * @param {*} value The value to mark as trusted for `$sce.CSS` context.\n * @return {*} A wrapped version of value that can be used as a trusted variant\n * of your `value` in `$sce.CSS` context. This context is currently unused, so there are\n * almost no reasons to use this function so far.\n */\n\n /**\n * @ngdoc method\n * @name $sce#trustAsUrl\n *\n * @description\n * Shorthand method. `$sce.trustAsUrl(value)` →\n * {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.URL, value)`}\n *\n * @param {*} value The value to mark as trusted for `$sce.URL` context.\n * @return {*} A wrapped version of value that can be used as a trusted variant of your `value`\n * in `$sce.URL` context. That context is currently unused, so there are almost no reasons\n * to use this function so far.\n */\n\n /**\n * @ngdoc method\n * @name $sce#trustAsResourceUrl\n *\n * @description\n * Shorthand method. `$sce.trustAsResourceUrl(value)` →\n * {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.RESOURCE_URL, value)`}\n *\n * @param {*} value The value to mark as trusted for `$sce.RESOURCE_URL` context.\n * @return {*} A wrapped version of value that can be used as a trusted variant of your `value`\n * in `$sce.RESOURCE_URL` context (template URLs in `ng-include`, most `src` attribute\n * bindings, ...)\n */\n\n /**\n * @ngdoc method\n * @name $sce#trustAsJs\n *\n * @description\n * Shorthand method. `$sce.trustAsJs(value)` →\n * {@link ng.$sceDelegate#trustAs `$sceDelegate.trustAs($sce.JS, value)`}\n *\n * @param {*} value The value to mark as trusted for `$sce.JS` context.\n * @return {*} A wrapped version of value that can be used as a trusted variant of your `value`\n * in `$sce.JS` context. That context is currently unused, so there are almost no reasons to\n * use this function so far.\n */\n\n /**\n * @ngdoc method\n * @name $sce#getTrusted\n *\n * @description\n * Delegates to {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted`}. As such,\n * takes any input, and either returns a value that's safe to use in the specified context,\n * or throws an exception. This function is aware of trusted values created by the `trustAs`\n * function and its shorthands, and when contexts are appropriate, returns the unwrapped value\n * as-is. Finally, this function can also throw when there is no way to turn `maybeTrusted` in a\n * safe value (e.g., no sanitization is available or possible.)\n *\n * @param {string} type The context in which this value is to be used.\n * @param {*} maybeTrusted The result of a prior {@link ng.$sce#trustAs\n * `$sce.trustAs`} call, or anything else (which will not be considered trusted.)\n * @return {*} A version of the value that's safe to use in the given context, or throws an\n * exception if this is impossible.\n */\n\n /**\n * @ngdoc method\n * @name $sce#getTrustedHtml\n *\n * @description\n * Shorthand method. `$sce.getTrustedHtml(value)` →\n * {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.HTML, value)`}\n *\n * @param {*} value The value to pass to `$sce.getTrusted`.\n * @return {*} The return value of `$sce.getTrusted($sce.HTML, value)`\n */\n\n /**\n * @ngdoc method\n * @name $sce#getTrustedCss\n *\n * @description\n * Shorthand method. `$sce.getTrustedCss(value)` →\n * {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.CSS, value)`}\n *\n * @param {*} value The value to pass to `$sce.getTrusted`.\n * @return {*} The return value of `$sce.getTrusted($sce.CSS, value)`\n */\n\n /**\n * @ngdoc method\n * @name $sce#getTrustedUrl\n *\n * @description\n * Shorthand method. `$sce.getTrustedUrl(value)` →\n * {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.URL, value)`}\n *\n * @param {*} value The value to pass to `$sce.getTrusted`.\n * @return {*} The return value of `$sce.getTrusted($sce.URL, value)`\n */\n\n /**\n * @ngdoc method\n * @name $sce#getTrustedResourceUrl\n *\n * @description\n * Shorthand method. `$sce.getTrustedResourceUrl(value)` →\n * {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.RESOURCE_URL, value)`}\n *\n * @param {*} value The value to pass to `$sceDelegate.getTrusted`.\n * @return {*} The return value of `$sce.getTrusted($sce.RESOURCE_URL, value)`\n */\n\n /**\n * @ngdoc method\n * @name $sce#getTrustedJs\n *\n * @description\n * Shorthand method. `$sce.getTrustedJs(value)` →\n * {@link ng.$sceDelegate#getTrusted `$sceDelegate.getTrusted($sce.JS, value)`}\n *\n * @param {*} value The value to pass to `$sce.getTrusted`.\n * @return {*} The return value of `$sce.getTrusted($sce.JS, value)`\n */\n\n /**\n * @ngdoc method\n * @name $sce#parseAsHtml\n *\n * @description\n * Shorthand method. `$sce.parseAsHtml(expression string)` →\n * {@link ng.$sce#parseAs `$sce.parseAs($sce.HTML, value)`}\n *\n * @param {string} expression String expression to compile.\n * @return {function(context, locals)} A function which represents the compiled expression:\n *\n * * `context` – `{object}` – an object against which any expressions embedded in the\n * strings are evaluated against (typically a scope object).\n * * `locals` – `{object=}` – local variables context object, useful for overriding values\n * in `context`.\n */\n\n /**\n * @ngdoc method\n * @name $sce#parseAsCss\n *\n * @description\n * Shorthand method. `$sce.parseAsCss(value)` →\n * {@link ng.$sce#parseAs `$sce.parseAs($sce.CSS, value)`}\n *\n * @param {string} expression String expression to compile.\n * @return {function(context, locals)} A function which represents the compiled expression:\n *\n * * `context` – `{object}` – an object against which any expressions embedded in the\n * strings are evaluated against (typically a scope object).\n * * `locals` – `{object=}` – local variables context object, useful for overriding values\n * in `context`.\n */\n\n /**\n * @ngdoc method\n * @name $sce#parseAsUrl\n *\n * @description\n * Shorthand method. `$sce.parseAsUrl(value)` →\n * {@link ng.$sce#parseAs `$sce.parseAs($sce.URL, value)`}\n *\n * @param {string} expression String expression to compile.\n * @return {function(context, locals)} A function which represents the compiled expression:\n *\n * * `context` – `{object}` – an object against which any expressions embedded in the\n * strings are evaluated against (typically a scope object).\n * * `locals` – `{object=}` – local variables context object, useful for overriding values\n * in `context`.\n */\n\n /**\n * @ngdoc method\n * @name $sce#parseAsResourceUrl\n *\n * @description\n * Shorthand method. `$sce.parseAsResourceUrl(value)` →\n * {@link ng.$sce#parseAs `$sce.parseAs($sce.RESOURCE_URL, value)`}\n *\n * @param {string} expression String expression to compile.\n * @return {function(context, locals)} A function which represents the compiled expression:\n *\n * * `context` – `{object}` – an object against which any expressions embedded in the\n * strings are evaluated against (typically a scope object).\n * * `locals` – `{object=}` – local variables context object, useful for overriding values\n * in `context`.\n */\n\n /**\n * @ngdoc method\n * @name $sce#parseAsJs\n *\n * @description\n * Shorthand method. `$sce.parseAsJs(value)` →\n * {@link ng.$sce#parseAs `$sce.parseAs($sce.JS, value)`}\n *\n * @param {string} expression String expression to compile.\n * @return {function(context, locals)} A function which represents the compiled expression:\n *\n * * `context` – `{object}` – an object against which any expressions embedded in the\n * strings are evaluated against (typically a scope object).\n * * `locals` – `{object=}` – local variables context object, useful for overriding values\n * in `context`.\n */\n\n // Shorthand delegations.\n var parse = sce.parseAs,\n getTrusted = sce.getTrusted,\n trustAs = sce.trustAs;\n\n forEach(SCE_CONTEXTS, function(enumValue, name) {\n var lName = lowercase(name);\n sce[snakeToCamel('parse_as_' + lName)] = function(expr) {\n return parse(enumValue, expr);\n };\n sce[snakeToCamel('get_trusted_' + lName)] = function(value) {\n return getTrusted(enumValue, value);\n };\n sce[snakeToCamel('trust_as_' + lName)] = function(value) {\n return trustAs(enumValue, value);\n };\n });\n\n return sce;\n }];\n}\n\n/* exported $SnifferProvider */\n\n/**\n * !!! This is an undocumented \"private\" service !!!\n *\n * @name $sniffer\n * @requires $window\n * @requires $document\n * @this\n *\n * @property {boolean} history Does the browser support html5 history api ?\n * @property {boolean} transitions Does the browser support CSS transition events ?\n * @property {boolean} animations Does the browser support CSS animation events ?\n *\n * @description\n * This is very simple implementation of testing browser's features.\n */\nfunction $SnifferProvider() {\n this.$get = ['$window', '$document', function($window, $document) {\n var eventSupport = {},\n // Chrome Packaged Apps are not allowed to access `history.pushState`.\n // If not sandboxed, they can be detected by the presence of `chrome.app.runtime`\n // (see https://developer.chrome.com/apps/api_index). If sandboxed, they can be detected by\n // the presence of an extension runtime ID and the absence of other Chrome runtime APIs\n // (see https://developer.chrome.com/apps/manifest/sandbox).\n // (NW.js apps have access to Chrome APIs, but do support `history`.)\n isNw = $window.nw && $window.nw.process,\n isChromePackagedApp =\n !isNw &&\n $window.chrome &&\n ($window.chrome.app && $window.chrome.app.runtime ||\n !$window.chrome.app && $window.chrome.runtime && $window.chrome.runtime.id),\n hasHistoryPushState = !isChromePackagedApp && $window.history && $window.history.pushState,\n android =\n toInt((/android (\\d+)/.exec(lowercase(($window.navigator || {}).userAgent)) || [])[1]),\n boxee = /Boxee/i.test(($window.navigator || {}).userAgent),\n document = $document[0] || {},\n bodyStyle = document.body && document.body.style,\n transitions = false,\n animations = false;\n\n if (bodyStyle) {\n // Support: Android <5, Blackberry Browser 10, default Chrome in Android 4.4.x\n // Mentioned browsers need a -webkit- prefix for transitions & animations.\n transitions = !!('transition' in bodyStyle || 'webkitTransition' in bodyStyle);\n animations = !!('animation' in bodyStyle || 'webkitAnimation' in bodyStyle);\n }\n\n\n return {\n // Android has history.pushState, but it does not update location correctly\n // so let's not use the history API at all.\n // http://code.google.com/p/android/issues/detail?id=17471\n // https://github.com/angular/angular.js/issues/904\n\n // older webkit browser (533.9) on Boxee box has exactly the same problem as Android has\n // so let's not use the history API also\n // We are purposefully using `!(android < 4)` to cover the case when `android` is undefined\n history: !!(hasHistoryPushState && !(android < 4) && !boxee),\n hasEvent: function(event) {\n // Support: IE 9-11 only\n // IE9 implements 'input' event it's so fubared that we rather pretend that it doesn't have\n // it. In particular the event is not fired when backspace or delete key are pressed or\n // when cut operation is performed.\n // IE10+ implements 'input' event but it erroneously fires under various situations,\n // e.g. when placeholder changes, or a form is focused.\n if (event === 'input' && msie) return false;\n\n if (isUndefined(eventSupport[event])) {\n var divElm = document.createElement('div');\n eventSupport[event] = 'on' + event in divElm;\n }\n\n return eventSupport[event];\n },\n csp: csp(),\n transitions: transitions,\n animations: animations,\n android: android\n };\n }];\n}\n\n/**\n * ! This is a private undocumented service !\n *\n * @name $$taskTrackerFactory\n * @description\n * A function to create `TaskTracker` instances.\n *\n * A `TaskTracker` can keep track of pending tasks (grouped by type) and can notify interested\n * parties when all pending tasks (or tasks of a specific type) have been completed.\n *\n * @param {$log} log - A logger instance (such as `$log`). Used to log error during callback\n * execution.\n *\n * @this\n */\nfunction $$TaskTrackerFactoryProvider() {\n this.$get = valueFn(function(log) { return new TaskTracker(log); });\n}\n\nfunction TaskTracker(log) {\n var self = this;\n var taskCounts = {};\n var taskCallbacks = [];\n\n var ALL_TASKS_TYPE = self.ALL_TASKS_TYPE = '$$all$$';\n var DEFAULT_TASK_TYPE = self.DEFAULT_TASK_TYPE = '$$default$$';\n\n /**\n * Execute the specified function and decrement the appropriate `taskCounts` counter.\n * If the counter reaches 0, all corresponding `taskCallbacks` are executed.\n *\n * @param {Function} fn - The function to execute.\n * @param {string=} [taskType=DEFAULT_TASK_TYPE] - The type of task that is being completed.\n */\n self.completeTask = completeTask;\n\n /**\n * Increase the task count for the specified task type (or the default task type if non is\n * specified).\n *\n * @param {string=} [taskType=DEFAULT_TASK_TYPE] - The type of task whose count will be increased.\n */\n self.incTaskCount = incTaskCount;\n\n /**\n * Execute the specified callback when all pending tasks have been completed.\n *\n * If there are no pending tasks, the callback is executed immediately. You can optionally limit\n * the tasks that will be waited for to a specific type, by passing a `taskType`.\n *\n * @param {function} callback - The function to call when there are no pending tasks.\n * @param {string=} [taskType=ALL_TASKS_TYPE] - The type of tasks that will be waited for.\n */\n self.notifyWhenNoPendingTasks = notifyWhenNoPendingTasks;\n\n function completeTask(fn, taskType) {\n taskType = taskType || DEFAULT_TASK_TYPE;\n\n try {\n fn();\n } finally {\n decTaskCount(taskType);\n\n var countForType = taskCounts[taskType];\n var countForAll = taskCounts[ALL_TASKS_TYPE];\n\n // If at least one of the queues (`ALL_TASKS_TYPE` or `taskType`) is empty, run callbacks.\n if (!countForAll || !countForType) {\n var getNextCallback = !countForAll ? getLastCallback : getLastCallbackForType;\n var nextCb;\n\n while ((nextCb = getNextCallback(taskType))) {\n try {\n nextCb();\n } catch (e) {\n log.error(e);\n }\n }\n }\n }\n }\n\n function decTaskCount(taskType) {\n taskType = taskType || DEFAULT_TASK_TYPE;\n if (taskCounts[taskType]) {\n taskCounts[taskType]--;\n taskCounts[ALL_TASKS_TYPE]--;\n }\n }\n\n function getLastCallback() {\n var cbInfo = taskCallbacks.pop();\n return cbInfo && cbInfo.cb;\n }\n\n function getLastCallbackForType(taskType) {\n for (var i = taskCallbacks.length - 1; i >= 0; --i) {\n var cbInfo = taskCallbacks[i];\n if (cbInfo.type === taskType) {\n taskCallbacks.splice(i, 1);\n return cbInfo.cb;\n }\n }\n }\n\n function incTaskCount(taskType) {\n taskType = taskType || DEFAULT_TASK_TYPE;\n taskCounts[taskType] = (taskCounts[taskType] || 0) + 1;\n taskCounts[ALL_TASKS_TYPE] = (taskCounts[ALL_TASKS_TYPE] || 0) + 1;\n }\n\n function notifyWhenNoPendingTasks(callback, taskType) {\n taskType = taskType || ALL_TASKS_TYPE;\n if (!taskCounts[taskType]) {\n callback();\n } else {\n taskCallbacks.push({type: taskType, cb: callback});\n }\n }\n}\n\nvar $templateRequestMinErr = minErr('$templateRequest');\n\n/**\n * @ngdoc provider\n * @name $templateRequestProvider\n * @this\n *\n * @description\n * Used to configure the options passed to the {@link $http} service when making a template request.\n *\n * For example, it can be used for specifying the \"Accept\" header that is sent to the server, when\n * requesting a template.\n */\nfunction $TemplateRequestProvider() {\n\n var httpOptions;\n\n /**\n * @ngdoc method\n * @name $templateRequestProvider#httpOptions\n * @description\n * The options to be passed to the {@link $http} service when making the request.\n * You can use this to override options such as the \"Accept\" header for template requests.\n *\n * The {@link $templateRequest} will set the `cache` and the `transformResponse` properties of the\n * options if not overridden here.\n *\n * @param {string=} value new value for the {@link $http} options.\n * @returns {string|self} Returns the {@link $http} options when used as getter and self if used as setter.\n */\n this.httpOptions = function(val) {\n if (val) {\n httpOptions = val;\n return this;\n }\n return httpOptions;\n };\n\n /**\n * @ngdoc service\n * @name $templateRequest\n *\n * @description\n * The `$templateRequest` service runs security checks then downloads the provided template using\n * `$http` and, upon success, stores the contents inside of `$templateCache`. If the HTTP request\n * fails or the response data of the HTTP request is empty, a `$compile` error will be thrown (the\n * exception can be thwarted by setting the 2nd parameter of the function to true). Note that the\n * contents of `$templateCache` are trusted, so the call to `$sce.getTrustedUrl(tpl)` is omitted\n * when `tpl` is of type string and `$templateCache` has the matching entry.\n *\n * If you want to pass custom options to the `$http` service, such as setting the Accept header you\n * can configure this via {@link $templateRequestProvider#httpOptions}.\n *\n * `$templateRequest` is used internally by {@link $compile}, {@link ngRoute.$route}, and directives such\n * as {@link ngInclude} to download and cache templates.\n *\n * 3rd party modules should use `$templateRequest` if their services or directives are loading\n * templates.\n *\n * @param {string|TrustedResourceUrl} tpl The HTTP request template URL\n * @param {boolean=} ignoreRequestError Whether or not to ignore the exception when the request fails or the template is empty\n *\n * @return {Promise} a promise for the HTTP response data of the given URL.\n *\n * @property {number} totalPendingRequests total amount of pending template requests being downloaded.\n */\n this.$get = ['$exceptionHandler', '$templateCache', '$http', '$q', '$sce',\n function($exceptionHandler, $templateCache, $http, $q, $sce) {\n\n function handleRequestFn(tpl, ignoreRequestError) {\n handleRequestFn.totalPendingRequests++;\n\n // We consider the template cache holds only trusted templates, so\n // there's no need to go through whitelisting again for keys that already\n // are included in there. This also makes AngularJS accept any script\n // directive, no matter its name. However, we still need to unwrap trusted\n // types.\n if (!isString(tpl) || isUndefined($templateCache.get(tpl))) {\n tpl = $sce.getTrustedResourceUrl(tpl);\n }\n\n var transformResponse = $http.defaults && $http.defaults.transformResponse;\n\n if (isArray(transformResponse)) {\n transformResponse = transformResponse.filter(function(transformer) {\n return transformer !== defaultHttpResponseTransform;\n });\n } else if (transformResponse === defaultHttpResponseTransform) {\n transformResponse = null;\n }\n\n return $http.get(tpl, extend({\n cache: $templateCache,\n transformResponse: transformResponse\n }, httpOptions))\n .finally(function() {\n handleRequestFn.totalPendingRequests--;\n })\n .then(function(response) {\n return $templateCache.put(tpl, response.data);\n }, handleError);\n\n function handleError(resp) {\n if (!ignoreRequestError) {\n resp = $templateRequestMinErr('tpload',\n 'Failed to load template: {0} (HTTP status: {1} {2})',\n tpl, resp.status, resp.statusText);\n\n $exceptionHandler(resp);\n }\n\n return $q.reject(resp);\n }\n }\n\n handleRequestFn.totalPendingRequests = 0;\n\n return handleRequestFn;\n }\n ];\n}\n\n/** @this */\nfunction $$TestabilityProvider() {\n this.$get = ['$rootScope', '$browser', '$location',\n function($rootScope, $browser, $location) {\n\n /**\n * @name $testability\n *\n * @description\n * The private $$testability service provides a collection of methods for use when debugging\n * or by automated test and debugging tools.\n */\n var testability = {};\n\n /**\n * @name $$testability#findBindings\n *\n * @description\n * Returns an array of elements that are bound (via ng-bind or {{}})\n * to expressions matching the input.\n *\n * @param {Element} element The element root to search from.\n * @param {string} expression The binding expression to match.\n * @param {boolean} opt_exactMatch If true, only returns exact matches\n * for the expression. Filters and whitespace are ignored.\n */\n testability.findBindings = function(element, expression, opt_exactMatch) {\n var bindings = element.getElementsByClassName('ng-binding');\n var matches = [];\n forEach(bindings, function(binding) {\n var dataBinding = angular.element(binding).data('$binding');\n if (dataBinding) {\n forEach(dataBinding, function(bindingName) {\n if (opt_exactMatch) {\n var matcher = new RegExp('(^|\\\\s)' + escapeForRegexp(expression) + '(\\\\s|\\\\||$)');\n if (matcher.test(bindingName)) {\n matches.push(binding);\n }\n } else {\n if (bindingName.indexOf(expression) !== -1) {\n matches.push(binding);\n }\n }\n });\n }\n });\n return matches;\n };\n\n /**\n * @name $$testability#findModels\n *\n * @description\n * Returns an array of elements that are two-way found via ng-model to\n * expressions matching the input.\n *\n * @param {Element} element The element root to search from.\n * @param {string} expression The model expression to match.\n * @param {boolean} opt_exactMatch If true, only returns exact matches\n * for the expression.\n */\n testability.findModels = function(element, expression, opt_exactMatch) {\n var prefixes = ['ng-', 'data-ng-', 'ng\\\\:'];\n for (var p = 0; p < prefixes.length; ++p) {\n var attributeEquals = opt_exactMatch ? '=' : '*=';\n var selector = '[' + prefixes[p] + 'model' + attributeEquals + '\"' + expression + '\"]';\n var elements = element.querySelectorAll(selector);\n if (elements.length) {\n return elements;\n }\n }\n };\n\n /**\n * @name $$testability#getLocation\n *\n * @description\n * Shortcut for getting the location in a browser agnostic way. Returns\n * the path, search, and hash. (e.g. /path?a=b#hash)\n */\n testability.getLocation = function() {\n return $location.url();\n };\n\n /**\n * @name $$testability#setLocation\n *\n * @description\n * Shortcut for navigating to a location without doing a full page reload.\n *\n * @param {string} url The location url (path, search and hash,\n * e.g. /path?a=b#hash) to go to.\n */\n testability.setLocation = function(url) {\n if (url !== $location.url()) {\n $location.url(url);\n $rootScope.$digest();\n }\n };\n\n /**\n * @name $$testability#whenStable\n *\n * @description\n * Calls the callback when all pending tasks are completed.\n *\n * Types of tasks waited for include:\n * - Pending timeouts (via {@link $timeout}).\n * - Pending HTTP requests (via {@link $http}).\n * - In-progress route transitions (via {@link $route}).\n * - Pending tasks scheduled via {@link $rootScope#$applyAsync}.\n * - Pending tasks scheduled via {@link $rootScope#$evalAsync}.\n * These include tasks scheduled via `$evalAsync()` indirectly (such as {@link $q} promises).\n *\n * @param {function} callback\n */\n testability.whenStable = function(callback) {\n $browser.notifyWhenNoOutstandingRequests(callback);\n };\n\n return testability;\n }];\n}\n\nvar $timeoutMinErr = minErr('$timeout');\n\n/** @this */\nfunction $TimeoutProvider() {\n this.$get = ['$rootScope', '$browser', '$q', '$$q', '$exceptionHandler',\n function($rootScope, $browser, $q, $$q, $exceptionHandler) {\n\n var deferreds = {};\n\n\n /**\n * @ngdoc service\n * @name $timeout\n *\n * @description\n * AngularJS's wrapper for `window.setTimeout`. The `fn` function is wrapped into a try/catch\n * block and delegates any exceptions to\n * {@link ng.$exceptionHandler $exceptionHandler} service.\n *\n * The return value of calling `$timeout` is a promise, which will be resolved when\n * the delay has passed and the timeout function, if provided, is executed.\n *\n * To cancel a timeout request, call `$timeout.cancel(promise)`.\n *\n * In tests you can use {@link ngMock.$timeout `$timeout.flush()`} to\n * synchronously flush the queue of deferred functions.\n *\n * If you only want a promise that will be resolved after some specified delay\n * then you can call `$timeout` without the `fn` function.\n *\n * @param {function()=} fn A function, whose execution should be delayed.\n * @param {number=} [delay=0] Delay in milliseconds.\n * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise\n * will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block.\n * @param {...*=} Pass additional parameters to the executed function.\n * @returns {Promise} Promise that will be resolved when the timeout is reached. The promise\n * will be resolved with the return value of the `fn` function.\n *\n */\n function timeout(fn, delay, invokeApply) {\n if (!isFunction(fn)) {\n invokeApply = delay;\n delay = fn;\n fn = noop;\n }\n\n var args = sliceArgs(arguments, 3),\n skipApply = (isDefined(invokeApply) && !invokeApply),\n deferred = (skipApply ? $$q : $q).defer(),\n promise = deferred.promise,\n timeoutId;\n\n timeoutId = $browser.defer(function() {\n try {\n deferred.resolve(fn.apply(null, args));\n } catch (e) {\n deferred.reject(e);\n $exceptionHandler(e);\n } finally {\n delete deferreds[promise.$$timeoutId];\n }\n\n if (!skipApply) $rootScope.$apply();\n }, delay, '$timeout');\n\n promise.$$timeoutId = timeoutId;\n deferreds[timeoutId] = deferred;\n\n return promise;\n }\n\n\n /**\n * @ngdoc method\n * @name $timeout#cancel\n *\n * @description\n * Cancels a task associated with the `promise`. As a result of this, the promise will be\n * resolved with a rejection.\n *\n * @param {Promise=} promise Promise returned by the `$timeout` function.\n * @returns {boolean} Returns `true` if the task hasn't executed yet and was successfully\n * canceled.\n */\n timeout.cancel = function(promise) {\n if (!promise) return false;\n\n if (!promise.hasOwnProperty('$$timeoutId')) {\n throw $timeoutMinErr('badprom',\n '`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.');\n }\n\n if (!deferreds.hasOwnProperty(promise.$$timeoutId)) return false;\n\n var id = promise.$$timeoutId;\n var deferred = deferreds[id];\n\n // Timeout cancels should not report an unhandled promise.\n markQExceptionHandled(deferred.promise);\n deferred.reject('canceled');\n delete deferreds[id];\n\n return $browser.defer.cancel(id);\n };\n\n return timeout;\n }];\n}\n\n// NOTE: The usage of window and document instead of $window and $document here is\n// deliberate. This service depends on the specific behavior of anchor nodes created by the\n// browser (resolving and parsing URLs) that is unlikely to be provided by mock objects and\n// cause us to break tests. In addition, when the browser resolves a URL for XHR, it\n// doesn't know about mocked locations and resolves URLs to the real document - which is\n// exactly the behavior needed here. There is little value is mocking these out for this\n// service.\nvar urlParsingNode = window.document.createElement('a');\nvar originUrl = urlResolve(window.location.href);\nvar baseUrlParsingNode;\n\nurlParsingNode.href = 'http://[::1]';\n\n// Support: IE 9-11 only, Edge 16-17 only (fixed in 18 Preview)\n// IE/Edge don't wrap IPv6 addresses' hostnames in square brackets\n// when parsed out of an anchor element.\nvar ipv6InBrackets = urlParsingNode.hostname === '[::1]';\n\n/**\n *\n * Implementation Notes for non-IE browsers\n * ----------------------------------------\n * Assigning a URL to the href property of an anchor DOM node, even one attached to the DOM,\n * results both in the normalizing and parsing of the URL. Normalizing means that a relative\n * URL will be resolved into an absolute URL in the context of the application document.\n * Parsing means that the anchor node's host, hostname, protocol, port, pathname and related\n * properties are all populated to reflect the normalized URL. This approach has wide\n * compatibility - Safari 1+, Mozilla 1+ etc. See\n * http://www.aptana.com/reference/html/api/HTMLAnchorElement.html\n *\n * Implementation Notes for IE\n * ---------------------------\n * IE <= 10 normalizes the URL when assigned to the anchor node similar to the other\n * browsers. However, the parsed components will not be set if the URL assigned did not specify\n * them. (e.g. if you assign a.href = \"foo\", then a.protocol, a.host, etc. will be empty.) We\n * work around that by performing the parsing in a 2nd step by taking a previously normalized\n * URL (e.g. by assigning to a.href) and assigning it a.href again. This correctly populates the\n * properties such as protocol, hostname, port, etc.\n *\n * References:\n * http://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement\n * http://www.aptana.com/reference/html/api/HTMLAnchorElement.html\n * http://url.spec.whatwg.org/#urlutils\n * https://github.com/angular/angular.js/pull/2902\n * http://james.padolsey.com/javascript/parsing-urls-with-the-dom/\n *\n * @kind function\n * @param {string|object} url The URL to be parsed. If `url` is not a string, it will be returned\n * unchanged.\n * @description Normalizes and parses a URL.\n * @returns {object} Returns the normalized URL as a dictionary.\n *\n * | member name | Description |\n * |---------------|------------------------------------------------------------------------|\n * | href | A normalized version of the provided URL if it was not an absolute URL |\n * | protocol | The protocol without the trailing colon |\n * | host | The host and port (if the port is non-default) of the normalizedUrl |\n * | search | The search params, minus the question mark |\n * | hash | The hash string, minus the hash symbol |\n * | hostname | The hostname |\n * | port | The port, without \":\" |\n * | pathname | The pathname, beginning with \"/\" |\n *\n */\nfunction urlResolve(url) {\n if (!isString(url)) return url;\n\n var href = url;\n\n // Support: IE 9-11 only\n if (msie) {\n // Normalize before parse. Refer Implementation Notes on why this is\n // done in two steps on IE.\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n var hostname = urlParsingNode.hostname;\n\n if (!ipv6InBrackets && hostname.indexOf(':') > -1) {\n hostname = '[' + hostname + ']';\n }\n\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/')\n ? urlParsingNode.pathname\n : '/' + urlParsingNode.pathname\n };\n}\n\n/**\n * Parse a request URL and determine whether this is a same-origin request as the application\n * document.\n *\n * @param {string|object} requestUrl The url of the request as a string that will be resolved\n * or a parsed URL object.\n * @returns {boolean} Whether the request is for the same origin as the application document.\n */\nfunction urlIsSameOrigin(requestUrl) {\n return urlsAreSameOrigin(requestUrl, originUrl);\n}\n\n/**\n * Parse a request URL and determine whether it is same-origin as the current document base URL.\n *\n * Note: The base URL is usually the same as the document location (`location.href`) but can\n * be overriden by using the `<base>` tag.\n *\n * @param {string|object} requestUrl The url of the request as a string that will be resolved\n * or a parsed URL object.\n * @returns {boolean} Whether the URL is same-origin as the document base URL.\n */\nfunction urlIsSameOriginAsBaseUrl(requestUrl) {\n return urlsAreSameOrigin(requestUrl, getBaseUrl());\n}\n\n/**\n * Create a function that can check a URL's origin against a list of allowed/whitelisted origins.\n * The current location's origin is implicitly trusted.\n *\n * @param {string[]} whitelistedOriginUrls - A list of URLs (strings), whose origins are trusted.\n *\n * @returns {Function} - A function that receives a URL (string or parsed URL object) and returns\n * whether it is of an allowed origin.\n */\nfunction urlIsAllowedOriginFactory(whitelistedOriginUrls) {\n var parsedAllowedOriginUrls = [originUrl].concat(whitelistedOriginUrls.map(urlResolve));\n\n /**\n * Check whether the specified URL (string or parsed URL object) has an origin that is allowed\n * based on a list of whitelisted-origin URLs. The current location's origin is implicitly\n * trusted.\n *\n * @param {string|Object} requestUrl - The URL to be checked (provided as a string that will be\n * resolved or a parsed URL object).\n *\n * @returns {boolean} - Whether the specified URL is of an allowed origin.\n */\n return function urlIsAllowedOrigin(requestUrl) {\n var parsedUrl = urlResolve(requestUrl);\n return parsedAllowedOriginUrls.some(urlsAreSameOrigin.bind(null, parsedUrl));\n };\n}\n\n/**\n * Determine if two URLs share the same origin.\n *\n * @param {string|Object} url1 - First URL to compare as a string or a normalized URL in the form of\n * a dictionary object returned by `urlResolve()`.\n * @param {string|object} url2 - Second URL to compare as a string or a normalized URL in the form\n * of a dictionary object returned by `urlResolve()`.\n *\n * @returns {boolean} - True if both URLs have the same origin, and false otherwise.\n */\nfunction urlsAreSameOrigin(url1, url2) {\n url1 = urlResolve(url1);\n url2 = urlResolve(url2);\n\n return (url1.protocol === url2.protocol &&\n url1.host === url2.host);\n}\n\n/**\n * Returns the current document base URL.\n * @returns {string}\n */\nfunction getBaseUrl() {\n if (window.document.baseURI) {\n return window.document.baseURI;\n }\n\n // `document.baseURI` is available everywhere except IE\n if (!baseUrlParsingNode) {\n baseUrlParsingNode = window.document.createElement('a');\n baseUrlParsingNode.href = '.';\n\n // Work-around for IE bug described in Implementation Notes. The fix in `urlResolve()` is not\n // suitable here because we need to track changes to the base URL.\n baseUrlParsingNode = baseUrlParsingNode.cloneNode(false);\n }\n return baseUrlParsingNode.href;\n}\n\n/**\n * @ngdoc service\n * @name $window\n * @this\n *\n * @description\n * A reference to the browser's `window` object. While `window`\n * is globally available in JavaScript, it causes testability problems, because\n * it is a global variable. In AngularJS we always refer to it through the\n * `$window` service, so it may be overridden, removed or mocked for testing.\n *\n * Expressions, like the one defined for the `ngClick` directive in the example\n * below, are evaluated with respect to the current scope. Therefore, there is\n * no risk of inadvertently coding in a dependency on a global value in such an\n * expression.\n *\n * @example\n <example module=\"windowExample\" name=\"window-service\">\n <file name=\"index.html\">\n <script>\n angular.module('windowExample', [])\n .controller('ExampleController', ['$scope', '$window', function($scope, $window) {\n $scope.greeting = 'Hello, World!';\n $scope.doGreeting = function(greeting) {\n $window.alert(greeting);\n };\n }]);\n </script>\n <div ng-controller=\"ExampleController\">\n <input type=\"text\" ng-model=\"greeting\" aria-label=\"greeting\" />\n <button ng-click=\"doGreeting(greeting)\">ALERT</button>\n </div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should display the greeting in the input box', function() {\n element(by.model('greeting')).sendKeys('Hello, E2E Tests');\n // If we click the button it will block the test runner\n // element(':button').click();\n });\n </file>\n </example>\n */\nfunction $WindowProvider() {\n this.$get = valueFn(window);\n}\n\n/**\n * @name $$cookieReader\n * @requires $document\n *\n * @description\n * This is a private service for reading cookies used by $http and ngCookies\n *\n * @return {Object} a key/value map of the current cookies\n */\nfunction $$CookieReader($document) {\n var rawDocument = $document[0] || {};\n var lastCookies = {};\n var lastCookieString = '';\n\n function safeGetCookie(rawDocument) {\n try {\n return rawDocument.cookie || '';\n } catch (e) {\n return '';\n }\n }\n\n function safeDecodeURIComponent(str) {\n try {\n return decodeURIComponent(str);\n } catch (e) {\n return str;\n }\n }\n\n return function() {\n var cookieArray, cookie, i, index, name;\n var currentCookieString = safeGetCookie(rawDocument);\n\n if (currentCookieString !== lastCookieString) {\n lastCookieString = currentCookieString;\n cookieArray = lastCookieString.split('; ');\n lastCookies = {};\n\n for (i = 0; i < cookieArray.length; i++) {\n cookie = cookieArray[i];\n index = cookie.indexOf('=');\n if (index > 0) { //ignore nameless cookies\n name = safeDecodeURIComponent(cookie.substring(0, index));\n // the first value that is seen for a cookie is the most\n // specific one. values for the same cookie name that\n // follow are for less specific paths.\n if (isUndefined(lastCookies[name])) {\n lastCookies[name] = safeDecodeURIComponent(cookie.substring(index + 1));\n }\n }\n }\n }\n return lastCookies;\n };\n}\n\n$$CookieReader.$inject = ['$document'];\n\n/** @this */\nfunction $$CookieReaderProvider() {\n this.$get = $$CookieReader;\n}\n\n/* global currencyFilter: true,\n dateFilter: true,\n filterFilter: true,\n jsonFilter: true,\n limitToFilter: true,\n lowercaseFilter: true,\n numberFilter: true,\n orderByFilter: true,\n uppercaseFilter: true,\n */\n\n/**\n * @ngdoc provider\n * @name $filterProvider\n * @description\n *\n * Filters are just functions which transform input to an output. However filters need to be\n * Dependency Injected. To achieve this a filter definition consists of a factory function which is\n * annotated with dependencies and is responsible for creating a filter function.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** Filter names must be valid AngularJS {@link expression} identifiers, such as `uppercase` or `orderBy`.\n * Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace\n * your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores\n * (`myapp_subsection_filterx`).\n * </div>\n *\n * ```js\n * // Filter registration\n * function MyModule($provide, $filterProvider) {\n * // create a service to demonstrate injection (not always needed)\n * $provide.value('greet', function(name){\n * return 'Hello ' + name + '!';\n * });\n *\n * // register a filter factory which uses the\n * // greet service to demonstrate DI.\n * $filterProvider.register('greet', function(greet){\n * // return the filter function which uses the greet service\n * // to generate salutation\n * return function(text) {\n * // filters need to be forgiving so check input validity\n * return text && greet(text) || text;\n * };\n * });\n * }\n * ```\n *\n * The filter function is registered with the `$injector` under the filter name suffix with\n * `Filter`.\n *\n * ```js\n * it('should be the same instance', inject(\n * function($filterProvider) {\n * $filterProvider.register('reverse', function(){\n * return ...;\n * });\n * },\n * function($filter, reverseFilter) {\n * expect($filter('reverse')).toBe(reverseFilter);\n * });\n * ```\n *\n *\n * For more information about how AngularJS filters work, and how to create your own filters, see\n * {@link guide/filter Filters} in the AngularJS Developer Guide.\n */\n\n/**\n * @ngdoc service\n * @name $filter\n * @kind function\n * @description\n * Filters are used for formatting data displayed to the user.\n *\n * They can be used in view templates, controllers or services. AngularJS comes\n * with a collection of [built-in filters](api/ng/filter), but it is easy to\n * define your own as well.\n *\n * The general syntax in templates is as follows:\n *\n * ```html\n * {{ expression [| filter_name[:parameter_value] ... ] }}\n * ```\n *\n * @param {String} name Name of the filter function to retrieve\n * @return {Function} the filter function\n * @example\n <example name=\"$filter\" module=\"filterExample\">\n <file name=\"index.html\">\n <div ng-controller=\"MainCtrl\">\n <h3>{{ originalText }}</h3>\n <h3>{{ filteredText }}</h3>\n </div>\n </file>\n\n <file name=\"script.js\">\n angular.module('filterExample', [])\n .controller('MainCtrl', function($scope, $filter) {\n $scope.originalText = 'hello';\n $scope.filteredText = $filter('uppercase')($scope.originalText);\n });\n </file>\n </example>\n */\n$FilterProvider.$inject = ['$provide'];\n/** @this */\nfunction $FilterProvider($provide) {\n var suffix = 'Filter';\n\n /**\n * @ngdoc method\n * @name $filterProvider#register\n * @param {string|Object} name Name of the filter function, or an object map of filters where\n * the keys are the filter names and the values are the filter factories.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** Filter names must be valid AngularJS {@link expression} identifiers, such as `uppercase` or `orderBy`.\n * Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace\n * your filters, then you can use capitalization (`myappSubsectionFilterx`) or underscores\n * (`myapp_subsection_filterx`).\n * </div>\n * @param {Function} factory If the first argument was a string, a factory function for the filter to be registered.\n * @returns {Object} Registered filter instance, or if a map of filters was provided then a map\n * of the registered filter instances.\n */\n function register(name, factory) {\n if (isObject(name)) {\n var filters = {};\n forEach(name, function(filter, key) {\n filters[key] = register(key, filter);\n });\n return filters;\n } else {\n return $provide.factory(name + suffix, factory);\n }\n }\n this.register = register;\n\n this.$get = ['$injector', function($injector) {\n return function(name) {\n return $injector.get(name + suffix);\n };\n }];\n\n ////////////////////////////////////////\n\n /* global\n currencyFilter: false,\n dateFilter: false,\n filterFilter: false,\n jsonFilter: false,\n limitToFilter: false,\n lowercaseFilter: false,\n numberFilter: false,\n orderByFilter: false,\n uppercaseFilter: false\n */\n\n register('currency', currencyFilter);\n register('date', dateFilter);\n register('filter', filterFilter);\n register('json', jsonFilter);\n register('limitTo', limitToFilter);\n register('lowercase', lowercaseFilter);\n register('number', numberFilter);\n register('orderBy', orderByFilter);\n register('uppercase', uppercaseFilter);\n}\n\n/**\n * @ngdoc filter\n * @name filter\n * @kind function\n *\n * @description\n * Selects a subset of items from `array` and returns it as a new array.\n *\n * @param {Array} array The source array.\n * <div class=\"alert alert-info\">\n * **Note**: If the array contains objects that reference themselves, filtering is not possible.\n * </div>\n * @param {string|Object|function()} expression The predicate to be used for selecting items from\n * `array`.\n *\n * Can be one of:\n *\n * - `string`: The string is used for matching against the contents of the `array`. All strings or\n * objects with string properties in `array` that match this string will be returned. This also\n * applies to nested object properties.\n * The predicate can be negated by prefixing the string with `!`.\n *\n * - `Object`: A pattern object can be used to filter specific properties on objects contained\n * by `array`. For example `{name:\"M\", phone:\"1\"}` predicate will return an array of items\n * which have property `name` containing \"M\" and property `phone` containing \"1\". A special\n * property name (`$` by default) can be used (e.g. as in `{$: \"text\"}`) to accept a match\n * against any property of the object or its nested object properties. That's equivalent to the\n * simple substring match with a `string` as described above. The special property name can be\n * overwritten, using the `anyPropertyKey` parameter.\n * The predicate can be negated by prefixing the string with `!`.\n * For example `{name: \"!M\"}` predicate will return an array of items which have property `name`\n * not containing \"M\".\n *\n * Note that a named property will match properties on the same level only, while the special\n * `$` property will match properties on the same level or deeper. E.g. an array item like\n * `{name: {first: 'John', last: 'Doe'}}` will **not** be matched by `{name: 'John'}`, but\n * **will** be matched by `{$: 'John'}`.\n *\n * - `function(value, index, array)`: A predicate function can be used to write arbitrary filters.\n * The function is called for each element of the array, with the element, its index, and\n * the entire array itself as arguments.\n *\n * The final result is an array of those elements that the predicate returned true for.\n *\n * @param {function(actual, expected)|true|false} [comparator] Comparator which is used in\n * determining if values retrieved using `expression` (when it is not a function) should be\n * considered a match based on the expected value (from the filter expression) and actual\n * value (from the object in the array).\n *\n * Can be one of:\n *\n * - `function(actual, expected)`:\n * The function will be given the object value and the predicate value to compare and\n * should return true if both values should be considered equal.\n *\n * - `true`: A shorthand for `function(actual, expected) { return angular.equals(actual, expected)}`.\n * This is essentially strict comparison of expected and actual.\n *\n * - `false`: A short hand for a function which will look for a substring match in a case\n * insensitive way. Primitive values are converted to strings. Objects are not compared against\n * primitives, unless they have a custom `toString` method (e.g. `Date` objects).\n *\n *\n * Defaults to `false`.\n *\n * @param {string} [anyPropertyKey] The special property name that matches against any property.\n * By default `$`.\n *\n * @example\n <example name=\"filter-filter\">\n <file name=\"index.html\">\n <div ng-init=\"friends = [{name:'John', phone:'555-1276'},\n {name:'Mary', phone:'800-BIG-MARY'},\n {name:'Mike', phone:'555-4321'},\n {name:'Adam', phone:'555-5678'},\n {name:'Julie', phone:'555-8765'},\n {name:'Juliette', phone:'555-5678'}]\"></div>\n\n <label>Search: <input ng-model=\"searchText\"></label>\n <table id=\"searchTextResults\">\n <tr><th>Name</th><th>Phone</th></tr>\n <tr ng-repeat=\"friend in friends | filter:searchText\">\n <td>{{friend.name}}</td>\n <td>{{friend.phone}}</td>\n </tr>\n </table>\n <hr>\n <label>Any: <input ng-model=\"search.$\"></label> <br>\n <label>Name only <input ng-model=\"search.name\"></label><br>\n <label>Phone only <input ng-model=\"search.phone\"></label><br>\n <label>Equality <input type=\"checkbox\" ng-model=\"strict\"></label><br>\n <table id=\"searchObjResults\">\n <tr><th>Name</th><th>Phone</th></tr>\n <tr ng-repeat=\"friendObj in friends | filter:search:strict\">\n <td>{{friendObj.name}}</td>\n <td>{{friendObj.phone}}</td>\n </tr>\n </table>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var expectFriendNames = function(expectedNames, key) {\n element.all(by.repeater(key + ' in friends').column(key + '.name')).then(function(arr) {\n arr.forEach(function(wd, i) {\n expect(wd.getText()).toMatch(expectedNames[i]);\n });\n });\n };\n\n it('should search across all fields when filtering with a string', function() {\n var searchText = element(by.model('searchText'));\n searchText.clear();\n searchText.sendKeys('m');\n expectFriendNames(['Mary', 'Mike', 'Adam'], 'friend');\n\n searchText.clear();\n searchText.sendKeys('76');\n expectFriendNames(['John', 'Julie'], 'friend');\n });\n\n it('should search in specific fields when filtering with a predicate object', function() {\n var searchAny = element(by.model('search.$'));\n searchAny.clear();\n searchAny.sendKeys('i');\n expectFriendNames(['Mary', 'Mike', 'Julie', 'Juliette'], 'friendObj');\n });\n it('should use a equal comparison when comparator is true', function() {\n var searchName = element(by.model('search.name'));\n var strict = element(by.model('strict'));\n searchName.clear();\n searchName.sendKeys('Julie');\n strict.click();\n expectFriendNames(['Julie'], 'friendObj');\n });\n </file>\n </example>\n */\n\nfunction filterFilter() {\n return function(array, expression, comparator, anyPropertyKey) {\n if (!isArrayLike(array)) {\n if (array == null) {\n return array;\n } else {\n throw minErr('filter')('notarray', 'Expected array but received: {0}', array);\n }\n }\n\n anyPropertyKey = anyPropertyKey || '$';\n var expressionType = getTypeForFilter(expression);\n var predicateFn;\n var matchAgainstAnyProp;\n\n switch (expressionType) {\n case 'function':\n predicateFn = expression;\n break;\n case 'boolean':\n case 'null':\n case 'number':\n case 'string':\n matchAgainstAnyProp = true;\n // falls through\n case 'object':\n predicateFn = createPredicateFn(expression, comparator, anyPropertyKey, matchAgainstAnyProp);\n break;\n default:\n return array;\n }\n\n return Array.prototype.filter.call(array, predicateFn);\n };\n}\n\n// Helper functions for `filterFilter`\nfunction createPredicateFn(expression, comparator, anyPropertyKey, matchAgainstAnyProp) {\n var shouldMatchPrimitives = isObject(expression) && (anyPropertyKey in expression);\n var predicateFn;\n\n if (comparator === true) {\n comparator = equals;\n } else if (!isFunction(comparator)) {\n comparator = function(actual, expected) {\n if (isUndefined(actual)) {\n // No substring matching against `undefined`\n return false;\n }\n if ((actual === null) || (expected === null)) {\n // No substring matching against `null`; only match against `null`\n return actual === expected;\n }\n if (isObject(expected) || (isObject(actual) && !hasCustomToString(actual))) {\n // Should not compare primitives against objects, unless they have custom `toString` method\n return false;\n }\n\n actual = lowercase('' + actual);\n expected = lowercase('' + expected);\n return actual.indexOf(expected) !== -1;\n };\n }\n\n predicateFn = function(item) {\n if (shouldMatchPrimitives && !isObject(item)) {\n return deepCompare(item, expression[anyPropertyKey], comparator, anyPropertyKey, false);\n }\n return deepCompare(item, expression, comparator, anyPropertyKey, matchAgainstAnyProp);\n };\n\n return predicateFn;\n}\n\nfunction deepCompare(actual, expected, comparator, anyPropertyKey, matchAgainstAnyProp, dontMatchWholeObject) {\n var actualType = getTypeForFilter(actual);\n var expectedType = getTypeForFilter(expected);\n\n if ((expectedType === 'string') && (expected.charAt(0) === '!')) {\n return !deepCompare(actual, expected.substring(1), comparator, anyPropertyKey, matchAgainstAnyProp);\n } else if (isArray(actual)) {\n // In case `actual` is an array, consider it a match\n // if ANY of it's items matches `expected`\n return actual.some(function(item) {\n return deepCompare(item, expected, comparator, anyPropertyKey, matchAgainstAnyProp);\n });\n }\n\n switch (actualType) {\n case 'object':\n var key;\n if (matchAgainstAnyProp) {\n for (key in actual) {\n // Under certain, rare, circumstances, key may not be a string and `charAt` will be undefined\n // See: https://github.com/angular/angular.js/issues/15644\n if (key.charAt && (key.charAt(0) !== '$') &&\n deepCompare(actual[key], expected, comparator, anyPropertyKey, true)) {\n return true;\n }\n }\n return dontMatchWholeObject ? false : deepCompare(actual, expected, comparator, anyPropertyKey, false);\n } else if (expectedType === 'object') {\n for (key in expected) {\n var expectedVal = expected[key];\n if (isFunction(expectedVal) || isUndefined(expectedVal)) {\n continue;\n }\n\n var matchAnyProperty = key === anyPropertyKey;\n var actualVal = matchAnyProperty ? actual : actual[key];\n if (!deepCompare(actualVal, expectedVal, comparator, anyPropertyKey, matchAnyProperty, matchAnyProperty)) {\n return false;\n }\n }\n return true;\n } else {\n return comparator(actual, expected);\n }\n case 'function':\n return false;\n default:\n return comparator(actual, expected);\n }\n}\n\n// Used for easily differentiating between `null` and actual `object`\nfunction getTypeForFilter(val) {\n return (val === null) ? 'null' : typeof val;\n}\n\nvar MAX_DIGITS = 22;\nvar DECIMAL_SEP = '.';\nvar ZERO_CHAR = '0';\n\n/**\n * @ngdoc filter\n * @name currency\n * @kind function\n *\n * @description\n * Formats a number as a currency (ie $1,234.56). When no currency symbol is provided, default\n * symbol for current locale is used.\n *\n * @param {number} amount Input to filter.\n * @param {string=} symbol Currency symbol or identifier to be displayed.\n * @param {number=} fractionSize Number of decimal places to round the amount to, defaults to default max fraction size for current locale\n * @returns {string} Formatted number.\n *\n *\n * @example\n <example module=\"currencyExample\" name=\"currency-filter\">\n <file name=\"index.html\">\n <script>\n angular.module('currencyExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.amount = 1234.56;\n }]);\n </script>\n <div ng-controller=\"ExampleController\">\n <input type=\"number\" ng-model=\"amount\" aria-label=\"amount\"> <br>\n default currency symbol ($): <span id=\"currency-default\">{{amount | currency}}</span><br>\n custom currency identifier (USD$): <span id=\"currency-custom\">{{amount | currency:\"USD$\"}}</span><br>\n no fractions (0): <span id=\"currency-no-fractions\">{{amount | currency:\"USD$\":0}}</span>\n </div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should init with 1234.56', function() {\n expect(element(by.id('currency-default')).getText()).toBe('$1,234.56');\n expect(element(by.id('currency-custom')).getText()).toBe('USD$1,234.56');\n expect(element(by.id('currency-no-fractions')).getText()).toBe('USD$1,235');\n });\n it('should update', function() {\n if (browser.params.browser === 'safari') {\n // Safari does not understand the minus key. See\n // https://github.com/angular/protractor/issues/481\n return;\n }\n element(by.model('amount')).clear();\n element(by.model('amount')).sendKeys('-1234');\n expect(element(by.id('currency-default')).getText()).toBe('-$1,234.00');\n expect(element(by.id('currency-custom')).getText()).toBe('-USD$1,234.00');\n expect(element(by.id('currency-no-fractions')).getText()).toBe('-USD$1,234');\n });\n </file>\n </example>\n */\ncurrencyFilter.$inject = ['$locale'];\nfunction currencyFilter($locale) {\n var formats = $locale.NUMBER_FORMATS;\n return function(amount, currencySymbol, fractionSize) {\n if (isUndefined(currencySymbol)) {\n currencySymbol = formats.CURRENCY_SYM;\n }\n\n if (isUndefined(fractionSize)) {\n fractionSize = formats.PATTERNS[1].maxFrac;\n }\n\n // If the currency symbol is empty, trim whitespace around the symbol\n var currencySymbolRe = !currencySymbol ? /\\s*\\u00A4\\s*/g : /\\u00A4/g;\n\n // if null or undefined pass it through\n return (amount == null)\n ? amount\n : formatNumber(amount, formats.PATTERNS[1], formats.GROUP_SEP, formats.DECIMAL_SEP, fractionSize).\n replace(currencySymbolRe, currencySymbol);\n };\n}\n\n/**\n * @ngdoc filter\n * @name number\n * @kind function\n *\n * @description\n * Formats a number as text.\n *\n * If the input is null or undefined, it will just be returned.\n * If the input is infinite (Infinity or -Infinity), the Infinity symbol '∞' or '-∞' is returned, respectively.\n * If the input is not a number an empty string is returned.\n *\n *\n * @param {number|string} number Number to format.\n * @param {(number|string)=} fractionSize Number of decimal places to round the number to.\n * If this is not provided then the fraction size is computed from the current locale's number\n * formatting pattern. In the case of the default locale, it will be 3.\n * @returns {string} Number rounded to `fractionSize` appropriately formatted based on the current\n * locale (e.g., in the en_US locale it will have \".\" as the decimal separator and\n * include \",\" group separators after each third digit).\n *\n * @example\n <example module=\"numberFilterExample\" name=\"number-filter\">\n <file name=\"index.html\">\n <script>\n angular.module('numberFilterExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.val = 1234.56789;\n }]);\n </script>\n <div ng-controller=\"ExampleController\">\n <label>Enter number: <input ng-model='val'></label><br>\n Default formatting: <span id='number-default'>{{val | number}}</span><br>\n No fractions: <span>{{val | number:0}}</span><br>\n Negative number: <span>{{-val | number:4}}</span>\n </div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should format numbers', function() {\n expect(element(by.id('number-default')).getText()).toBe('1,234.568');\n expect(element(by.binding('val | number:0')).getText()).toBe('1,235');\n expect(element(by.binding('-val | number:4')).getText()).toBe('-1,234.5679');\n });\n\n it('should update', function() {\n element(by.model('val')).clear();\n element(by.model('val')).sendKeys('3374.333');\n expect(element(by.id('number-default')).getText()).toBe('3,374.333');\n expect(element(by.binding('val | number:0')).getText()).toBe('3,374');\n expect(element(by.binding('-val | number:4')).getText()).toBe('-3,374.3330');\n });\n </file>\n </example>\n */\nnumberFilter.$inject = ['$locale'];\nfunction numberFilter($locale) {\n var formats = $locale.NUMBER_FORMATS;\n return function(number, fractionSize) {\n\n // if null or undefined pass it through\n return (number == null)\n ? number\n : formatNumber(number, formats.PATTERNS[0], formats.GROUP_SEP, formats.DECIMAL_SEP,\n fractionSize);\n };\n}\n\n/**\n * Parse a number (as a string) into three components that can be used\n * for formatting the number.\n *\n * (Significant bits of this parse algorithm came from https://github.com/MikeMcl/big.js/)\n *\n * @param {string} numStr The number to parse\n * @return {object} An object describing this number, containing the following keys:\n * - d : an array of digits containing leading zeros as necessary\n * - i : the number of the digits in `d` that are to the left of the decimal point\n * - e : the exponent for numbers that would need more than `MAX_DIGITS` digits in `d`\n *\n */\nfunction parse(numStr) {\n var exponent = 0, digits, numberOfIntegerDigits;\n var i, j, zeros;\n\n // Decimal point?\n if ((numberOfIntegerDigits = numStr.indexOf(DECIMAL_SEP)) > -1) {\n numStr = numStr.replace(DECIMAL_SEP, '');\n }\n\n // Exponential form?\n if ((i = numStr.search(/e/i)) > 0) {\n // Work out the exponent.\n if (numberOfIntegerDigits < 0) numberOfIntegerDigits = i;\n numberOfIntegerDigits += +numStr.slice(i + 1);\n numStr = numStr.substring(0, i);\n } else if (numberOfIntegerDigits < 0) {\n // There was no decimal point or exponent so it is an integer.\n numberOfIntegerDigits = numStr.length;\n }\n\n // Count the number of leading zeros.\n for (i = 0; numStr.charAt(i) === ZERO_CHAR; i++) { /* empty */ }\n\n if (i === (zeros = numStr.length)) {\n // The digits are all zero.\n digits = [0];\n numberOfIntegerDigits = 1;\n } else {\n // Count the number of trailing zeros\n zeros--;\n while (numStr.charAt(zeros) === ZERO_CHAR) zeros--;\n\n // Trailing zeros are insignificant so ignore them\n numberOfIntegerDigits -= i;\n digits = [];\n // Convert string to array of digits without leading/trailing zeros.\n for (j = 0; i <= zeros; i++, j++) {\n digits[j] = +numStr.charAt(i);\n }\n }\n\n // If the number overflows the maximum allowed digits then use an exponent.\n if (numberOfIntegerDigits > MAX_DIGITS) {\n digits = digits.splice(0, MAX_DIGITS - 1);\n exponent = numberOfIntegerDigits - 1;\n numberOfIntegerDigits = 1;\n }\n\n return { d: digits, e: exponent, i: numberOfIntegerDigits };\n}\n\n/**\n * Round the parsed number to the specified number of decimal places\n * This function changed the parsedNumber in-place\n */\nfunction roundNumber(parsedNumber, fractionSize, minFrac, maxFrac) {\n var digits = parsedNumber.d;\n var fractionLen = digits.length - parsedNumber.i;\n\n // determine fractionSize if it is not specified; `+fractionSize` converts it to a number\n fractionSize = (isUndefined(fractionSize)) ? Math.min(Math.max(minFrac, fractionLen), maxFrac) : +fractionSize;\n\n // The index of the digit to where rounding is to occur\n var roundAt = fractionSize + parsedNumber.i;\n var digit = digits[roundAt];\n\n if (roundAt > 0) {\n // Drop fractional digits beyond `roundAt`\n digits.splice(Math.max(parsedNumber.i, roundAt));\n\n // Set non-fractional digits beyond `roundAt` to 0\n for (var j = roundAt; j < digits.length; j++) {\n digits[j] = 0;\n }\n } else {\n // We rounded to zero so reset the parsedNumber\n fractionLen = Math.max(0, fractionLen);\n parsedNumber.i = 1;\n digits.length = Math.max(1, roundAt = fractionSize + 1);\n digits[0] = 0;\n for (var i = 1; i < roundAt; i++) digits[i] = 0;\n }\n\n if (digit >= 5) {\n if (roundAt - 1 < 0) {\n for (var k = 0; k > roundAt; k--) {\n digits.unshift(0);\n parsedNumber.i++;\n }\n digits.unshift(1);\n parsedNumber.i++;\n } else {\n digits[roundAt - 1]++;\n }\n }\n\n // Pad out with zeros to get the required fraction length\n for (; fractionLen < Math.max(0, fractionSize); fractionLen++) digits.push(0);\n\n\n // Do any carrying, e.g. a digit was rounded up to 10\n var carry = digits.reduceRight(function(carry, d, i, digits) {\n d = d + carry;\n digits[i] = d % 10;\n return Math.floor(d / 10);\n }, 0);\n if (carry) {\n digits.unshift(carry);\n parsedNumber.i++;\n }\n}\n\n/**\n * Format a number into a string\n * @param {number} number The number to format\n * @param {{\n * minFrac, // the minimum number of digits required in the fraction part of the number\n * maxFrac, // the maximum number of digits required in the fraction part of the number\n * gSize, // number of digits in each group of separated digits\n * lgSize, // number of digits in the last group of digits before the decimal separator\n * negPre, // the string to go in front of a negative number (e.g. `-` or `(`))\n * posPre, // the string to go in front of a positive number\n * negSuf, // the string to go after a negative number (e.g. `)`)\n * posSuf // the string to go after a positive number\n * }} pattern\n * @param {string} groupSep The string to separate groups of number (e.g. `,`)\n * @param {string} decimalSep The string to act as the decimal separator (e.g. `.`)\n * @param {[type]} fractionSize The size of the fractional part of the number\n * @return {string} The number formatted as a string\n */\nfunction formatNumber(number, pattern, groupSep, decimalSep, fractionSize) {\n\n if (!(isString(number) || isNumber(number)) || isNaN(number)) return '';\n\n var isInfinity = !isFinite(number);\n var isZero = false;\n var numStr = Math.abs(number) + '',\n formattedText = '',\n parsedNumber;\n\n if (isInfinity) {\n formattedText = '\\u221e';\n } else {\n parsedNumber = parse(numStr);\n\n roundNumber(parsedNumber, fractionSize, pattern.minFrac, pattern.maxFrac);\n\n var digits = parsedNumber.d;\n var integerLen = parsedNumber.i;\n var exponent = parsedNumber.e;\n var decimals = [];\n isZero = digits.reduce(function(isZero, d) { return isZero && !d; }, true);\n\n // pad zeros for small numbers\n while (integerLen < 0) {\n digits.unshift(0);\n integerLen++;\n }\n\n // extract decimals digits\n if (integerLen > 0) {\n decimals = digits.splice(integerLen, digits.length);\n } else {\n decimals = digits;\n digits = [0];\n }\n\n // format the integer digits with grouping separators\n var groups = [];\n if (digits.length >= pattern.lgSize) {\n groups.unshift(digits.splice(-pattern.lgSize, digits.length).join(''));\n }\n while (digits.length > pattern.gSize) {\n groups.unshift(digits.splice(-pattern.gSize, digits.length).join(''));\n }\n if (digits.length) {\n groups.unshift(digits.join(''));\n }\n formattedText = groups.join(groupSep);\n\n // append the decimal digits\n if (decimals.length) {\n formattedText += decimalSep + decimals.join('');\n }\n\n if (exponent) {\n formattedText += 'e+' + exponent;\n }\n }\n if (number < 0 && !isZero) {\n return pattern.negPre + formattedText + pattern.negSuf;\n } else {\n return pattern.posPre + formattedText + pattern.posSuf;\n }\n}\n\nfunction padNumber(num, digits, trim, negWrap) {\n var neg = '';\n if (num < 0 || (negWrap && num <= 0)) {\n if (negWrap) {\n num = -num + 1;\n } else {\n num = -num;\n neg = '-';\n }\n }\n num = '' + num;\n while (num.length < digits) num = ZERO_CHAR + num;\n if (trim) {\n num = num.substr(num.length - digits);\n }\n return neg + num;\n}\n\n\nfunction dateGetter(name, size, offset, trim, negWrap) {\n offset = offset || 0;\n return function(date) {\n var value = date['get' + name]();\n if (offset > 0 || value > -offset) {\n value += offset;\n }\n if (value === 0 && offset === -12) value = 12;\n return padNumber(value, size, trim, negWrap);\n };\n}\n\nfunction dateStrGetter(name, shortForm, standAlone) {\n return function(date, formats) {\n var value = date['get' + name]();\n var propPrefix = (standAlone ? 'STANDALONE' : '') + (shortForm ? 'SHORT' : '');\n var get = uppercase(propPrefix + name);\n\n return formats[get][value];\n };\n}\n\nfunction timeZoneGetter(date, formats, offset) {\n var zone = -1 * offset;\n var paddedZone = (zone >= 0) ? '+' : '';\n\n paddedZone += padNumber(Math[zone > 0 ? 'floor' : 'ceil'](zone / 60), 2) +\n padNumber(Math.abs(zone % 60), 2);\n\n return paddedZone;\n}\n\nfunction getFirstThursdayOfYear(year) {\n // 0 = index of January\n var dayOfWeekOnFirst = (new Date(year, 0, 1)).getDay();\n // 4 = index of Thursday (+1 to account for 1st = 5)\n // 11 = index of *next* Thursday (+1 account for 1st = 12)\n return new Date(year, 0, ((dayOfWeekOnFirst <= 4) ? 5 : 12) - dayOfWeekOnFirst);\n}\n\nfunction getThursdayThisWeek(datetime) {\n return new Date(datetime.getFullYear(), datetime.getMonth(),\n // 4 = index of Thursday\n datetime.getDate() + (4 - datetime.getDay()));\n}\n\nfunction weekGetter(size) {\n return function(date) {\n var firstThurs = getFirstThursdayOfYear(date.getFullYear()),\n thisThurs = getThursdayThisWeek(date);\n\n var diff = +thisThurs - +firstThurs,\n result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week\n\n return padNumber(result, size);\n };\n}\n\nfunction ampmGetter(date, formats) {\n return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1];\n}\n\nfunction eraGetter(date, formats) {\n return date.getFullYear() <= 0 ? formats.ERAS[0] : formats.ERAS[1];\n}\n\nfunction longEraGetter(date, formats) {\n return date.getFullYear() <= 0 ? formats.ERANAMES[0] : formats.ERANAMES[1];\n}\n\nvar DATE_FORMATS = {\n yyyy: dateGetter('FullYear', 4, 0, false, true),\n yy: dateGetter('FullYear', 2, 0, true, true),\n y: dateGetter('FullYear', 1, 0, false, true),\n MMMM: dateStrGetter('Month'),\n MMM: dateStrGetter('Month', true),\n MM: dateGetter('Month', 2, 1),\n M: dateGetter('Month', 1, 1),\n LLLL: dateStrGetter('Month', false, true),\n dd: dateGetter('Date', 2),\n d: dateGetter('Date', 1),\n HH: dateGetter('Hours', 2),\n H: dateGetter('Hours', 1),\n hh: dateGetter('Hours', 2, -12),\n h: dateGetter('Hours', 1, -12),\n mm: dateGetter('Minutes', 2),\n m: dateGetter('Minutes', 1),\n ss: dateGetter('Seconds', 2),\n s: dateGetter('Seconds', 1),\n // while ISO 8601 requires fractions to be prefixed with `.` or `,`\n // we can be just safely rely on using `sss` since we currently don't support single or two digit fractions\n sss: dateGetter('Milliseconds', 3),\n EEEE: dateStrGetter('Day'),\n EEE: dateStrGetter('Day', true),\n a: ampmGetter,\n Z: timeZoneGetter,\n ww: weekGetter(2),\n w: weekGetter(1),\n G: eraGetter,\n GG: eraGetter,\n GGG: eraGetter,\n GGGG: longEraGetter\n};\n\nvar DATE_FORMATS_SPLIT = /((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\\s\\S]*)/,\n NUMBER_STRING = /^-?\\d+$/;\n\n/**\n * @ngdoc filter\n * @name date\n * @kind function\n *\n * @description\n * Formats `date` to a string based on the requested `format`.\n *\n * `format` string can be composed of the following elements:\n *\n * * `'yyyy'`: 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010)\n * * `'yy'`: 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)\n * * `'y'`: 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199)\n * * `'MMMM'`: Month in year (January-December)\n * * `'MMM'`: Month in year (Jan-Dec)\n * * `'MM'`: Month in year, padded (01-12)\n * * `'M'`: Month in year (1-12)\n * * `'LLLL'`: Stand-alone month in year (January-December)\n * * `'dd'`: Day in month, padded (01-31)\n * * `'d'`: Day in month (1-31)\n * * `'EEEE'`: Day in Week,(Sunday-Saturday)\n * * `'EEE'`: Day in Week, (Sun-Sat)\n * * `'HH'`: Hour in day, padded (00-23)\n * * `'H'`: Hour in day (0-23)\n * * `'hh'`: Hour in AM/PM, padded (01-12)\n * * `'h'`: Hour in AM/PM, (1-12)\n * * `'mm'`: Minute in hour, padded (00-59)\n * * `'m'`: Minute in hour (0-59)\n * * `'ss'`: Second in minute, padded (00-59)\n * * `'s'`: Second in minute (0-59)\n * * `'sss'`: Millisecond in second, padded (000-999)\n * * `'a'`: AM/PM marker\n * * `'Z'`: 4 digit (+sign) representation of the timezone offset (-1200-+1200)\n * * `'ww'`: Week of year, padded (00-53). Week 01 is the week with the first Thursday of the year\n * * `'w'`: Week of year (0-53). Week 1 is the week with the first Thursday of the year\n * * `'G'`, `'GG'`, `'GGG'`: The abbreviated form of the era string (e.g. 'AD')\n * * `'GGGG'`: The long form of the era string (e.g. 'Anno Domini')\n *\n * `format` string can also be one of the following predefined\n * {@link guide/i18n localizable formats}:\n *\n * * `'medium'`: equivalent to `'MMM d, y h:mm:ss a'` for en_US locale\n * (e.g. Sep 3, 2010 12:05:08 PM)\n * * `'short'`: equivalent to `'M/d/yy h:mm a'` for en_US locale (e.g. 9/3/10 12:05 PM)\n * * `'fullDate'`: equivalent to `'EEEE, MMMM d, y'` for en_US locale\n * (e.g. Friday, September 3, 2010)\n * * `'longDate'`: equivalent to `'MMMM d, y'` for en_US locale (e.g. September 3, 2010)\n * * `'mediumDate'`: equivalent to `'MMM d, y'` for en_US locale (e.g. Sep 3, 2010)\n * * `'shortDate'`: equivalent to `'M/d/yy'` for en_US locale (e.g. 9/3/10)\n * * `'mediumTime'`: equivalent to `'h:mm:ss a'` for en_US locale (e.g. 12:05:08 PM)\n * * `'shortTime'`: equivalent to `'h:mm a'` for en_US locale (e.g. 12:05 PM)\n *\n * `format` string can contain literal values. These need to be escaped by surrounding with single quotes (e.g.\n * `\"h 'in the morning'\"`). In order to output a single quote, escape it - i.e., two single quotes in a sequence\n * (e.g. `\"h 'o''clock'\"`).\n *\n * Any other characters in the `format` string will be output as-is.\n *\n * @param {(Date|number|string)} date Date to format either as Date object, milliseconds (string or\n * number) or various ISO 8601 datetime string formats (e.g. yyyy-MM-ddTHH:mm:ss.sssZ and its\n * shorter versions like yyyy-MM-ddTHH:mmZ, yyyy-MM-dd or yyyyMMddTHHmmssZ). If no timezone is\n * specified in the string input, the time is considered to be in the local timezone.\n * @param {string=} format Formatting rules (see Description). If not specified,\n * `mediumDate` is used.\n * @param {string=} timezone Timezone to be used for formatting. It understands UTC/GMT and the\n * continental US time zone abbreviations, but for general use, use a time zone offset, for\n * example, `'+0430'` (4 hours, 30 minutes east of the Greenwich meridian)\n * If not specified, the timezone of the browser will be used.\n * @returns {string} Formatted string or the input if input is not recognized as date/millis.\n *\n * @example\n <example name=\"filter-date\">\n <file name=\"index.html\">\n <span ng-non-bindable>{{1288323623006 | date:'medium'}}</span>:\n <span>{{1288323623006 | date:'medium'}}</span><br>\n <span ng-non-bindable>{{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}</span>:\n <span>{{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}</span><br>\n <span ng-non-bindable>{{1288323623006 | date:'MM/dd/yyyy @ h:mma'}}</span>:\n <span>{{'1288323623006' | date:'MM/dd/yyyy @ h:mma'}}</span><br>\n <span ng-non-bindable>{{1288323623006 | date:\"MM/dd/yyyy 'at' h:mma\"}}</span>:\n <span>{{'1288323623006' | date:\"MM/dd/yyyy 'at' h:mma\"}}</span><br>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should format date', function() {\n expect(element(by.binding(\"1288323623006 | date:'medium'\")).getText()).\n toMatch(/Oct 2\\d, 2010 \\d{1,2}:\\d{2}:\\d{2} (AM|PM)/);\n expect(element(by.binding(\"1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'\")).getText()).\n toMatch(/2010-10-2\\d \\d{2}:\\d{2}:\\d{2} (-|\\+)?\\d{4}/);\n expect(element(by.binding(\"'1288323623006' | date:'MM/dd/yyyy @ h:mma'\")).getText()).\n toMatch(/10\\/2\\d\\/2010 @ \\d{1,2}:\\d{2}(AM|PM)/);\n expect(element(by.binding(\"'1288323623006' | date:\\\"MM/dd/yyyy 'at' h:mma\\\"\")).getText()).\n toMatch(/10\\/2\\d\\/2010 at \\d{1,2}:\\d{2}(AM|PM)/);\n });\n </file>\n </example>\n */\ndateFilter.$inject = ['$locale'];\nfunction dateFilter($locale) {\n\n\n var R_ISO8601_STR = /^(\\d{4})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/;\n // 1 2 3 4 5 6 7 8 9 10 11\n function jsonStringToDate(string) {\n var match;\n if ((match = string.match(R_ISO8601_STR))) {\n var date = new Date(0),\n tzHour = 0,\n tzMin = 0,\n dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear,\n timeSetter = match[8] ? date.setUTCHours : date.setHours;\n\n if (match[9]) {\n tzHour = toInt(match[9] + match[10]);\n tzMin = toInt(match[9] + match[11]);\n }\n dateSetter.call(date, toInt(match[1]), toInt(match[2]) - 1, toInt(match[3]));\n var h = toInt(match[4] || 0) - tzHour;\n var m = toInt(match[5] || 0) - tzMin;\n var s = toInt(match[6] || 0);\n var ms = Math.round(parseFloat('0.' + (match[7] || 0)) * 1000);\n timeSetter.call(date, h, m, s, ms);\n return date;\n }\n return string;\n }\n\n\n return function(date, format, timezone) {\n var text = '',\n parts = [],\n fn, match;\n\n format = format || 'mediumDate';\n format = $locale.DATETIME_FORMATS[format] || format;\n if (isString(date)) {\n date = NUMBER_STRING.test(date) ? toInt(date) : jsonStringToDate(date);\n }\n\n if (isNumber(date)) {\n date = new Date(date);\n }\n\n if (!isDate(date) || !isFinite(date.getTime())) {\n return date;\n }\n\n while (format) {\n match = DATE_FORMATS_SPLIT.exec(format);\n if (match) {\n parts = concat(parts, match, 1);\n format = parts.pop();\n } else {\n parts.push(format);\n format = null;\n }\n }\n\n var dateTimezoneOffset = date.getTimezoneOffset();\n if (timezone) {\n dateTimezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n date = convertTimezoneToLocal(date, timezone, true);\n }\n forEach(parts, function(value) {\n fn = DATE_FORMATS[value];\n text += fn ? fn(date, $locale.DATETIME_FORMATS, dateTimezoneOffset)\n : value === '\\'\\'' ? '\\'' : value.replace(/(^'|'$)/g, '').replace(/''/g, '\\'');\n });\n\n return text;\n };\n}\n\n\n/**\n * @ngdoc filter\n * @name json\n * @kind function\n *\n * @description\n * Allows you to convert a JavaScript object into JSON string.\n *\n * This filter is mostly useful for debugging. When using the double curly {{value}} notation\n * the binding is automatically converted to JSON.\n *\n * @param {*} object Any JavaScript object (including arrays and primitive types) to filter.\n * @param {number=} spacing The number of spaces to use per indentation, defaults to 2.\n * @returns {string} JSON string.\n *\n *\n * @example\n <example name=\"filter-json\">\n <file name=\"index.html\">\n <pre id=\"default-spacing\">{{ {'name':'value'} | json }}</pre>\n <pre id=\"custom-spacing\">{{ {'name':'value'} | json:4 }}</pre>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should jsonify filtered objects', function() {\n expect(element(by.id('default-spacing')).getText()).toMatch(/\\{\\n {2}\"name\": ?\"value\"\\n}/);\n expect(element(by.id('custom-spacing')).getText()).toMatch(/\\{\\n {4}\"name\": ?\"value\"\\n}/);\n });\n </file>\n </example>\n *\n */\nfunction jsonFilter() {\n return function(object, spacing) {\n if (isUndefined(spacing)) {\n spacing = 2;\n }\n return toJson(object, spacing);\n };\n}\n\n\n/**\n * @ngdoc filter\n * @name lowercase\n * @kind function\n * @description\n * Converts string to lowercase.\n *\n * See the {@link ng.uppercase uppercase filter documentation} for a functionally identical example.\n *\n * @see angular.lowercase\n */\nvar lowercaseFilter = valueFn(lowercase);\n\n\n/**\n * @ngdoc filter\n * @name uppercase\n * @kind function\n * @description\n * Converts string to uppercase.\n * @example\n <example module=\"uppercaseFilterExample\" name=\"filter-uppercase\">\n <file name=\"index.html\">\n <script>\n angular.module('uppercaseFilterExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.title = 'This is a title';\n }]);\n </script>\n <div ng-controller=\"ExampleController\">\n <!-- This title should be formatted normally -->\n <h1>{{title}}</h1>\n <!-- This title should be capitalized -->\n <h1>{{title | uppercase}}</h1>\n </div>\n </file>\n </example>\n */\nvar uppercaseFilter = valueFn(uppercase);\n\n/**\n * @ngdoc filter\n * @name limitTo\n * @kind function\n *\n * @description\n * Creates a new array or string containing only a specified number of elements. The elements are\n * taken from either the beginning or the end of the source array, string or number, as specified by\n * the value and sign (positive or negative) of `limit`. Other array-like objects are also supported\n * (e.g. array subclasses, NodeLists, jqLite/jQuery collections etc). If a number is used as input,\n * it is converted to a string.\n *\n * @param {Array|ArrayLike|string|number} input - Array/array-like, string or number to be limited.\n * @param {string|number} limit - The length of the returned array or string. If the `limit` number\n * is positive, `limit` number of items from the beginning of the source array/string are copied.\n * If the number is negative, `limit` number of items from the end of the source array/string\n * are copied. The `limit` will be trimmed if it exceeds `array.length`. If `limit` is undefined,\n * the input will be returned unchanged.\n * @param {(string|number)=} begin - Index at which to begin limitation. As a negative index,\n * `begin` indicates an offset from the end of `input`. Defaults to `0`.\n * @returns {Array|string} A new sub-array or substring of length `limit` or less if the input had\n * less than `limit` elements.\n *\n * @example\n <example module=\"limitToExample\" name=\"limit-to-filter\">\n <file name=\"index.html\">\n <script>\n angular.module('limitToExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.numbers = [1,2,3,4,5,6,7,8,9];\n $scope.letters = \"abcdefghi\";\n $scope.longNumber = 2345432342;\n $scope.numLimit = 3;\n $scope.letterLimit = 3;\n $scope.longNumberLimit = 3;\n }]);\n </script>\n <div ng-controller=\"ExampleController\">\n <label>\n Limit {{numbers}} to:\n <input type=\"number\" step=\"1\" ng-model=\"numLimit\">\n </label>\n <p>Output numbers: {{ numbers | limitTo:numLimit }}</p>\n <label>\n Limit {{letters}} to:\n <input type=\"number\" step=\"1\" ng-model=\"letterLimit\">\n </label>\n <p>Output letters: {{ letters | limitTo:letterLimit }}</p>\n <label>\n Limit {{longNumber}} to:\n <input type=\"number\" step=\"1\" ng-model=\"longNumberLimit\">\n </label>\n <p>Output long number: {{ longNumber | limitTo:longNumberLimit }}</p>\n </div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var numLimitInput = element(by.model('numLimit'));\n var letterLimitInput = element(by.model('letterLimit'));\n var longNumberLimitInput = element(by.model('longNumberLimit'));\n var limitedNumbers = element(by.binding('numbers | limitTo:numLimit'));\n var limitedLetters = element(by.binding('letters | limitTo:letterLimit'));\n var limitedLongNumber = element(by.binding('longNumber | limitTo:longNumberLimit'));\n\n it('should limit the number array to first three items', function() {\n expect(numLimitInput.getAttribute('value')).toBe('3');\n expect(letterLimitInput.getAttribute('value')).toBe('3');\n expect(longNumberLimitInput.getAttribute('value')).toBe('3');\n expect(limitedNumbers.getText()).toEqual('Output numbers: [1,2,3]');\n expect(limitedLetters.getText()).toEqual('Output letters: abc');\n expect(limitedLongNumber.getText()).toEqual('Output long number: 234');\n });\n\n // There is a bug in safari and protractor that doesn't like the minus key\n // it('should update the output when -3 is entered', function() {\n // numLimitInput.clear();\n // numLimitInput.sendKeys('-3');\n // letterLimitInput.clear();\n // letterLimitInput.sendKeys('-3');\n // longNumberLimitInput.clear();\n // longNumberLimitInput.sendKeys('-3');\n // expect(limitedNumbers.getText()).toEqual('Output numbers: [7,8,9]');\n // expect(limitedLetters.getText()).toEqual('Output letters: ghi');\n // expect(limitedLongNumber.getText()).toEqual('Output long number: 342');\n // });\n\n it('should not exceed the maximum size of input array', function() {\n numLimitInput.clear();\n numLimitInput.sendKeys('100');\n letterLimitInput.clear();\n letterLimitInput.sendKeys('100');\n longNumberLimitInput.clear();\n longNumberLimitInput.sendKeys('100');\n expect(limitedNumbers.getText()).toEqual('Output numbers: [1,2,3,4,5,6,7,8,9]');\n expect(limitedLetters.getText()).toEqual('Output letters: abcdefghi');\n expect(limitedLongNumber.getText()).toEqual('Output long number: 2345432342');\n });\n </file>\n </example>\n*/\nfunction limitToFilter() {\n return function(input, limit, begin) {\n if (Math.abs(Number(limit)) === Infinity) {\n limit = Number(limit);\n } else {\n limit = toInt(limit);\n }\n if (isNumberNaN(limit)) return input;\n\n if (isNumber(input)) input = input.toString();\n if (!isArrayLike(input)) return input;\n\n begin = (!begin || isNaN(begin)) ? 0 : toInt(begin);\n begin = (begin < 0) ? Math.max(0, input.length + begin) : begin;\n\n if (limit >= 0) {\n return sliceFn(input, begin, begin + limit);\n } else {\n if (begin === 0) {\n return sliceFn(input, limit, input.length);\n } else {\n return sliceFn(input, Math.max(0, begin + limit), begin);\n }\n }\n };\n}\n\nfunction sliceFn(input, begin, end) {\n if (isString(input)) return input.slice(begin, end);\n\n return slice.call(input, begin, end);\n}\n\n/**\n * @ngdoc filter\n * @name orderBy\n * @kind function\n *\n * @description\n * Returns an array containing the items from the specified `collection`, ordered by a `comparator`\n * function based on the values computed using the `expression` predicate.\n *\n * For example, `[{id: 'foo'}, {id: 'bar'}] | orderBy:'id'` would result in\n * `[{id: 'bar'}, {id: 'foo'}]`.\n *\n * The `collection` can be an Array or array-like object (e.g. NodeList, jQuery object, TypedArray,\n * String, etc).\n *\n * The `expression` can be a single predicate, or a list of predicates each serving as a tie-breaker\n * for the preceding one. The `expression` is evaluated against each item and the output is used\n * for comparing with other items.\n *\n * You can change the sorting order by setting `reverse` to `true`. By default, items are sorted in\n * ascending order.\n *\n * The comparison is done using the `comparator` function. If none is specified, a default, built-in\n * comparator is used (see below for details - in a nutshell, it compares numbers numerically and\n * strings alphabetically).\n *\n * ### Under the hood\n *\n * Ordering the specified `collection` happens in two phases:\n *\n * 1. All items are passed through the predicate (or predicates), and the returned values are saved\n * along with their type (`string`, `number` etc). For example, an item `{label: 'foo'}`, passed\n * through a predicate that extracts the value of the `label` property, would be transformed to:\n * ```\n * {\n * value: 'foo',\n * type: 'string',\n * index: ...\n * }\n * ```\n * **Note:** `null` values use `'null'` as their type.\n * 2. The comparator function is used to sort the items, based on the derived values, types and\n * indices.\n *\n * If you use a custom comparator, it will be called with pairs of objects of the form\n * `{value: ..., type: '...', index: ...}` and is expected to return `0` if the objects are equal\n * (as far as the comparator is concerned), `-1` if the 1st one should be ranked higher than the\n * second, or `1` otherwise.\n *\n * In order to ensure that the sorting will be deterministic across platforms, if none of the\n * specified predicates can distinguish between two items, `orderBy` will automatically introduce a\n * dummy predicate that returns the item's index as `value`.\n * (If you are using a custom comparator, make sure it can handle this predicate as well.)\n *\n * If a custom comparator still can't distinguish between two items, then they will be sorted based\n * on their index using the built-in comparator.\n *\n * Finally, in an attempt to simplify things, if a predicate returns an object as the extracted\n * value for an item, `orderBy` will try to convert that object to a primitive value, before passing\n * it to the comparator. The following rules govern the conversion:\n *\n * 1. If the object has a `valueOf()` method that returns a primitive, its return value will be\n * used instead.<br />\n * (If the object has a `valueOf()` method that returns another object, then the returned object\n * will be used in subsequent steps.)\n * 2. If the object has a custom `toString()` method (i.e. not the one inherited from `Object`) that\n * returns a primitive, its return value will be used instead.<br />\n * (If the object has a `toString()` method that returns another object, then the returned object\n * will be used in subsequent steps.)\n * 3. No conversion; the object itself is used.\n *\n * ### The default comparator\n *\n * The default, built-in comparator should be sufficient for most usecases. In short, it compares\n * numbers numerically, strings alphabetically (and case-insensitively), for objects falls back to\n * using their index in the original collection, sorts values of different types by type and puts\n * `undefined` and `null` values at the end of the sorted list.\n *\n * More specifically, it follows these steps to determine the relative order of items:\n *\n * 1. If the compared values are of different types:\n * - If one of the values is undefined, consider it \"greater than\" the other.\n * - Else if one of the values is null, consider it \"greater than\" the other.\n * - Else compare the types themselves alphabetically.\n * 2. If both values are of type `string`, compare them alphabetically in a case- and\n * locale-insensitive way.\n * 3. If both values are objects, compare their indices instead.\n * 4. Otherwise, return:\n * - `0`, if the values are equal (by strict equality comparison, i.e. using `===`).\n * - `-1`, if the 1st value is \"less than\" the 2nd value (compared using the `<` operator).\n * - `1`, otherwise.\n *\n * **Note:** If you notice numbers not being sorted as expected, make sure they are actually being\n * saved as numbers and not strings.\n * **Note:** For the purpose of sorting, `null` and `undefined` are considered \"greater than\"\n * any other value (with undefined \"greater than\" null). This effectively means that `null`\n * and `undefined` values end up at the end of a list sorted in ascending order.\n * **Note:** `null` values use `'null'` as their type to be able to distinguish them from objects.\n *\n * @param {Array|ArrayLike} collection - The collection (array or array-like object) to sort.\n * @param {(Function|string|Array.<Function|string>)=} expression - A predicate (or list of\n * predicates) to be used by the comparator to determine the order of elements.\n *\n * Can be one of:\n *\n * - `Function`: A getter function. This function will be called with each item as argument and\n * the return value will be used for sorting.\n * - `string`: An AngularJS expression. This expression will be evaluated against each item and the\n * result will be used for sorting. For example, use `'label'` to sort by a property called\n * `label` or `'label.substring(0, 3)'` to sort by the first 3 characters of the `label`\n * property.<br />\n * (The result of a constant expression is interpreted as a property name to be used for\n * comparison. For example, use `'\"special name\"'` (note the extra pair of quotes) to sort by a\n * property called `special name`.)<br />\n * An expression can be optionally prefixed with `+` or `-` to control the sorting direction,\n * ascending or descending. For example, `'+label'` or `'-label'`. If no property is provided,\n * (e.g. `'+'` or `'-'`), the collection element itself is used in comparisons.\n * - `Array`: An array of function and/or string predicates. If a predicate cannot determine the\n * relative order of two items, the next predicate is used as a tie-breaker.\n *\n * **Note:** If the predicate is missing or empty then it defaults to `'+'`.\n *\n * @param {boolean=} reverse - If `true`, reverse the sorting order.\n * @param {(Function)=} comparator - The comparator function used to determine the relative order of\n * value pairs. If omitted, the built-in comparator will be used.\n *\n * @returns {Array} - The sorted array.\n *\n *\n * @example\n * ### Ordering a table with `ngRepeat`\n *\n * The example below demonstrates a simple {@link ngRepeat ngRepeat}, where the data is sorted by\n * age in descending order (expression is set to `'-age'`). The `comparator` is not set, which means\n * it defaults to the built-in comparator.\n *\n <example name=\"orderBy-static\" module=\"orderByExample1\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n <table class=\"friends\">\n <tr>\n <th>Name</th>\n <th>Phone Number</th>\n <th>Age</th>\n </tr>\n <tr ng-repeat=\"friend in friends | orderBy:'-age'\">\n <td>{{friend.name}}</td>\n <td>{{friend.phone}}</td>\n <td>{{friend.age}}</td>\n </tr>\n </table>\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('orderByExample1', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.friends = [\n {name: 'John', phone: '555-1212', age: 10},\n {name: 'Mary', phone: '555-9876', age: 19},\n {name: 'Mike', phone: '555-4321', age: 21},\n {name: 'Adam', phone: '555-5678', age: 35},\n {name: 'Julie', phone: '555-8765', age: 29}\n ];\n }]);\n </file>\n <file name=\"style.css\">\n .friends {\n border-collapse: collapse;\n }\n\n .friends th {\n border-bottom: 1px solid;\n }\n .friends td, .friends th {\n border-left: 1px solid;\n padding: 5px 10px;\n }\n .friends td:first-child, .friends th:first-child {\n border-left: none;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n // Element locators\n var names = element.all(by.repeater('friends').column('friend.name'));\n\n it('should sort friends by age in reverse order', function() {\n expect(names.get(0).getText()).toBe('Adam');\n expect(names.get(1).getText()).toBe('Julie');\n expect(names.get(2).getText()).toBe('Mike');\n expect(names.get(3).getText()).toBe('Mary');\n expect(names.get(4).getText()).toBe('John');\n });\n </file>\n </example>\n * <hr />\n *\n * @example\n * ### Changing parameters dynamically\n *\n * All parameters can be changed dynamically. The next example shows how you can make the columns of\n * a table sortable, by binding the `expression` and `reverse` parameters to scope properties.\n *\n <example name=\"orderBy-dynamic\" module=\"orderByExample2\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n <pre>Sort by = {{propertyName}}; reverse = {{reverse}}</pre>\n <hr/>\n <button ng-click=\"propertyName = null; reverse = false\">Set to unsorted</button>\n <hr/>\n <table class=\"friends\">\n <tr>\n <th>\n <button ng-click=\"sortBy('name')\">Name</button>\n <span class=\"sortorder\" ng-show=\"propertyName === 'name'\" ng-class=\"{reverse: reverse}\"></span>\n </th>\n <th>\n <button ng-click=\"sortBy('phone')\">Phone Number</button>\n <span class=\"sortorder\" ng-show=\"propertyName === 'phone'\" ng-class=\"{reverse: reverse}\"></span>\n </th>\n <th>\n <button ng-click=\"sortBy('age')\">Age</button>\n <span class=\"sortorder\" ng-show=\"propertyName === 'age'\" ng-class=\"{reverse: reverse}\"></span>\n </th>\n </tr>\n <tr ng-repeat=\"friend in friends | orderBy:propertyName:reverse\">\n <td>{{friend.name}}</td>\n <td>{{friend.phone}}</td>\n <td>{{friend.age}}</td>\n </tr>\n </table>\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('orderByExample2', [])\n .controller('ExampleController', ['$scope', function($scope) {\n var friends = [\n {name: 'John', phone: '555-1212', age: 10},\n {name: 'Mary', phone: '555-9876', age: 19},\n {name: 'Mike', phone: '555-4321', age: 21},\n {name: 'Adam', phone: '555-5678', age: 35},\n {name: 'Julie', phone: '555-8765', age: 29}\n ];\n\n $scope.propertyName = 'age';\n $scope.reverse = true;\n $scope.friends = friends;\n\n $scope.sortBy = function(propertyName) {\n $scope.reverse = ($scope.propertyName === propertyName) ? !$scope.reverse : false;\n $scope.propertyName = propertyName;\n };\n }]);\n </file>\n <file name=\"style.css\">\n .friends {\n border-collapse: collapse;\n }\n\n .friends th {\n border-bottom: 1px solid;\n }\n .friends td, .friends th {\n border-left: 1px solid;\n padding: 5px 10px;\n }\n .friends td:first-child, .friends th:first-child {\n border-left: none;\n }\n\n .sortorder:after {\n content: '\\25b2'; // BLACK UP-POINTING TRIANGLE\n }\n .sortorder.reverse:after {\n content: '\\25bc'; // BLACK DOWN-POINTING TRIANGLE\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n // Element locators\n var unsortButton = element(by.partialButtonText('unsorted'));\n var nameHeader = element(by.partialButtonText('Name'));\n var phoneHeader = element(by.partialButtonText('Phone'));\n var ageHeader = element(by.partialButtonText('Age'));\n var firstName = element(by.repeater('friends').column('friend.name').row(0));\n var lastName = element(by.repeater('friends').column('friend.name').row(4));\n\n it('should sort friends by some property, when clicking on the column header', function() {\n expect(firstName.getText()).toBe('Adam');\n expect(lastName.getText()).toBe('John');\n\n phoneHeader.click();\n expect(firstName.getText()).toBe('John');\n expect(lastName.getText()).toBe('Mary');\n\n nameHeader.click();\n expect(firstName.getText()).toBe('Adam');\n expect(lastName.getText()).toBe('Mike');\n\n ageHeader.click();\n expect(firstName.getText()).toBe('John');\n expect(lastName.getText()).toBe('Adam');\n });\n\n it('should sort friends in reverse order, when clicking on the same column', function() {\n expect(firstName.getText()).toBe('Adam');\n expect(lastName.getText()).toBe('John');\n\n ageHeader.click();\n expect(firstName.getText()).toBe('John');\n expect(lastName.getText()).toBe('Adam');\n\n ageHeader.click();\n expect(firstName.getText()).toBe('Adam');\n expect(lastName.getText()).toBe('John');\n });\n\n it('should restore the original order, when clicking \"Set to unsorted\"', function() {\n expect(firstName.getText()).toBe('Adam');\n expect(lastName.getText()).toBe('John');\n\n unsortButton.click();\n expect(firstName.getText()).toBe('John');\n expect(lastName.getText()).toBe('Julie');\n });\n </file>\n </example>\n * <hr />\n *\n * @example\n * ### Using `orderBy` inside a controller\n *\n * It is also possible to call the `orderBy` filter manually, by injecting `orderByFilter`, and\n * calling it with the desired parameters. (Alternatively, you could inject the `$filter` factory\n * and retrieve the `orderBy` filter with `$filter('orderBy')`.)\n *\n <example name=\"orderBy-call-manually\" module=\"orderByExample3\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n <pre>Sort by = {{propertyName}}; reverse = {{reverse}}</pre>\n <hr/>\n <button ng-click=\"sortBy(null)\">Set to unsorted</button>\n <hr/>\n <table class=\"friends\">\n <tr>\n <th>\n <button ng-click=\"sortBy('name')\">Name</button>\n <span class=\"sortorder\" ng-show=\"propertyName === 'name'\" ng-class=\"{reverse: reverse}\"></span>\n </th>\n <th>\n <button ng-click=\"sortBy('phone')\">Phone Number</button>\n <span class=\"sortorder\" ng-show=\"propertyName === 'phone'\" ng-class=\"{reverse: reverse}\"></span>\n </th>\n <th>\n <button ng-click=\"sortBy('age')\">Age</button>\n <span class=\"sortorder\" ng-show=\"propertyName === 'age'\" ng-class=\"{reverse: reverse}\"></span>\n </th>\n </tr>\n <tr ng-repeat=\"friend in friends\">\n <td>{{friend.name}}</td>\n <td>{{friend.phone}}</td>\n <td>{{friend.age}}</td>\n </tr>\n </table>\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('orderByExample3', [])\n .controller('ExampleController', ['$scope', 'orderByFilter', function($scope, orderBy) {\n var friends = [\n {name: 'John', phone: '555-1212', age: 10},\n {name: 'Mary', phone: '555-9876', age: 19},\n {name: 'Mike', phone: '555-4321', age: 21},\n {name: 'Adam', phone: '555-5678', age: 35},\n {name: 'Julie', phone: '555-8765', age: 29}\n ];\n\n $scope.propertyName = 'age';\n $scope.reverse = true;\n $scope.friends = orderBy(friends, $scope.propertyName, $scope.reverse);\n\n $scope.sortBy = function(propertyName) {\n $scope.reverse = (propertyName !== null && $scope.propertyName === propertyName)\n ? !$scope.reverse : false;\n $scope.propertyName = propertyName;\n $scope.friends = orderBy(friends, $scope.propertyName, $scope.reverse);\n };\n }]);\n </file>\n <file name=\"style.css\">\n .friends {\n border-collapse: collapse;\n }\n\n .friends th {\n border-bottom: 1px solid;\n }\n .friends td, .friends th {\n border-left: 1px solid;\n padding: 5px 10px;\n }\n .friends td:first-child, .friends th:first-child {\n border-left: none;\n }\n\n .sortorder:after {\n content: '\\25b2'; // BLACK UP-POINTING TRIANGLE\n }\n .sortorder.reverse:after {\n content: '\\25bc'; // BLACK DOWN-POINTING TRIANGLE\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n // Element locators\n var unsortButton = element(by.partialButtonText('unsorted'));\n var nameHeader = element(by.partialButtonText('Name'));\n var phoneHeader = element(by.partialButtonText('Phone'));\n var ageHeader = element(by.partialButtonText('Age'));\n var firstName = element(by.repeater('friends').column('friend.name').row(0));\n var lastName = element(by.repeater('friends').column('friend.name').row(4));\n\n it('should sort friends by some property, when clicking on the column header', function() {\n expect(firstName.getText()).toBe('Adam');\n expect(lastName.getText()).toBe('John');\n\n phoneHeader.click();\n expect(firstName.getText()).toBe('John');\n expect(lastName.getText()).toBe('Mary');\n\n nameHeader.click();\n expect(firstName.getText()).toBe('Adam');\n expect(lastName.getText()).toBe('Mike');\n\n ageHeader.click();\n expect(firstName.getText()).toBe('John');\n expect(lastName.getText()).toBe('Adam');\n });\n\n it('should sort friends in reverse order, when clicking on the same column', function() {\n expect(firstName.getText()).toBe('Adam');\n expect(lastName.getText()).toBe('John');\n\n ageHeader.click();\n expect(firstName.getText()).toBe('John');\n expect(lastName.getText()).toBe('Adam');\n\n ageHeader.click();\n expect(firstName.getText()).toBe('Adam');\n expect(lastName.getText()).toBe('John');\n });\n\n it('should restore the original order, when clicking \"Set to unsorted\"', function() {\n expect(firstName.getText()).toBe('Adam');\n expect(lastName.getText()).toBe('John');\n\n unsortButton.click();\n expect(firstName.getText()).toBe('John');\n expect(lastName.getText()).toBe('Julie');\n });\n </file>\n </example>\n * <hr />\n *\n * @example\n * ### Using a custom comparator\n *\n * If you have very specific requirements about the way items are sorted, you can pass your own\n * comparator function. For example, you might need to compare some strings in a locale-sensitive\n * way. (When specifying a custom comparator, you also need to pass a value for the `reverse`\n * argument - passing `false` retains the default sorting order, i.e. ascending.)\n *\n <example name=\"orderBy-custom-comparator\" module=\"orderByExample4\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n <div class=\"friends-container custom-comparator\">\n <h3>Locale-sensitive Comparator</h3>\n <table class=\"friends\">\n <tr>\n <th>Name</th>\n <th>Favorite Letter</th>\n </tr>\n <tr ng-repeat=\"friend in friends | orderBy:'favoriteLetter':false:localeSensitiveComparator\">\n <td>{{friend.name}}</td>\n <td>{{friend.favoriteLetter}}</td>\n </tr>\n </table>\n </div>\n <div class=\"friends-container default-comparator\">\n <h3>Default Comparator</h3>\n <table class=\"friends\">\n <tr>\n <th>Name</th>\n <th>Favorite Letter</th>\n </tr>\n <tr ng-repeat=\"friend in friends | orderBy:'favoriteLetter'\">\n <td>{{friend.name}}</td>\n <td>{{friend.favoriteLetter}}</td>\n </tr>\n </table>\n </div>\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('orderByExample4', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.friends = [\n {name: 'John', favoriteLetter: 'Ä'},\n {name: 'Mary', favoriteLetter: 'Ü'},\n {name: 'Mike', favoriteLetter: 'Ö'},\n {name: 'Adam', favoriteLetter: 'H'},\n {name: 'Julie', favoriteLetter: 'Z'}\n ];\n\n $scope.localeSensitiveComparator = function(v1, v2) {\n // If we don't get strings, just compare by index\n if (v1.type !== 'string' || v2.type !== 'string') {\n return (v1.index < v2.index) ? -1 : 1;\n }\n\n // Compare strings alphabetically, taking locale into account\n return v1.value.localeCompare(v2.value);\n };\n }]);\n </file>\n <file name=\"style.css\">\n .friends-container {\n display: inline-block;\n margin: 0 30px;\n }\n\n .friends {\n border-collapse: collapse;\n }\n\n .friends th {\n border-bottom: 1px solid;\n }\n .friends td, .friends th {\n border-left: 1px solid;\n padding: 5px 10px;\n }\n .friends td:first-child, .friends th:first-child {\n border-left: none;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n // Element locators\n var container = element(by.css('.custom-comparator'));\n var names = container.all(by.repeater('friends').column('friend.name'));\n\n it('should sort friends by favorite letter (in correct alphabetical order)', function() {\n expect(names.get(0).getText()).toBe('John');\n expect(names.get(1).getText()).toBe('Adam');\n expect(names.get(2).getText()).toBe('Mike');\n expect(names.get(3).getText()).toBe('Mary');\n expect(names.get(4).getText()).toBe('Julie');\n });\n </file>\n </example>\n *\n */\norderByFilter.$inject = ['$parse'];\nfunction orderByFilter($parse) {\n return function(array, sortPredicate, reverseOrder, compareFn) {\n\n if (array == null) return array;\n if (!isArrayLike(array)) {\n throw minErr('orderBy')('notarray', 'Expected array but received: {0}', array);\n }\n\n if (!isArray(sortPredicate)) { sortPredicate = [sortPredicate]; }\n if (sortPredicate.length === 0) { sortPredicate = ['+']; }\n\n var predicates = processPredicates(sortPredicate);\n\n var descending = reverseOrder ? -1 : 1;\n\n // Define the `compare()` function. Use a default comparator if none is specified.\n var compare = isFunction(compareFn) ? compareFn : defaultCompare;\n\n // The next three lines are a version of a Swartzian Transform idiom from Perl\n // (sometimes called the Decorate-Sort-Undecorate idiom)\n // See https://en.wikipedia.org/wiki/Schwartzian_transform\n var compareValues = Array.prototype.map.call(array, getComparisonObject);\n compareValues.sort(doComparison);\n array = compareValues.map(function(item) { return item.value; });\n\n return array;\n\n function getComparisonObject(value, index) {\n // NOTE: We are adding an extra `tieBreaker` value based on the element's index.\n // This will be used to keep the sort stable when none of the input predicates can\n // distinguish between two elements.\n return {\n value: value,\n tieBreaker: {value: index, type: 'number', index: index},\n predicateValues: predicates.map(function(predicate) {\n return getPredicateValue(predicate.get(value), index);\n })\n };\n }\n\n function doComparison(v1, v2) {\n for (var i = 0, ii = predicates.length; i < ii; i++) {\n var result = compare(v1.predicateValues[i], v2.predicateValues[i]);\n if (result) {\n return result * predicates[i].descending * descending;\n }\n }\n\n return (compare(v1.tieBreaker, v2.tieBreaker) || defaultCompare(v1.tieBreaker, v2.tieBreaker)) * descending;\n }\n };\n\n function processPredicates(sortPredicates) {\n return sortPredicates.map(function(predicate) {\n var descending = 1, get = identity;\n\n if (isFunction(predicate)) {\n get = predicate;\n } else if (isString(predicate)) {\n if ((predicate.charAt(0) === '+' || predicate.charAt(0) === '-')) {\n descending = predicate.charAt(0) === '-' ? -1 : 1;\n predicate = predicate.substring(1);\n }\n if (predicate !== '') {\n get = $parse(predicate);\n if (get.constant) {\n var key = get();\n get = function(value) { return value[key]; };\n }\n }\n }\n return {get: get, descending: descending};\n });\n }\n\n function isPrimitive(value) {\n switch (typeof value) {\n case 'number': /* falls through */\n case 'boolean': /* falls through */\n case 'string':\n return true;\n default:\n return false;\n }\n }\n\n function objectValue(value) {\n // If `valueOf` is a valid function use that\n if (isFunction(value.valueOf)) {\n value = value.valueOf();\n if (isPrimitive(value)) return value;\n }\n // If `toString` is a valid function and not the one from `Object.prototype` use that\n if (hasCustomToString(value)) {\n value = value.toString();\n if (isPrimitive(value)) return value;\n }\n\n return value;\n }\n\n function getPredicateValue(value, index) {\n var type = typeof value;\n if (value === null) {\n type = 'null';\n } else if (type === 'object') {\n value = objectValue(value);\n }\n return {value: value, type: type, index: index};\n }\n\n function defaultCompare(v1, v2) {\n var result = 0;\n var type1 = v1.type;\n var type2 = v2.type;\n\n if (type1 === type2) {\n var value1 = v1.value;\n var value2 = v2.value;\n\n if (type1 === 'string') {\n // Compare strings case-insensitively\n value1 = value1.toLowerCase();\n value2 = value2.toLowerCase();\n } else if (type1 === 'object') {\n // For basic objects, use the position of the object\n // in the collection instead of the value\n if (isObject(value1)) value1 = v1.index;\n if (isObject(value2)) value2 = v2.index;\n }\n\n if (value1 !== value2) {\n result = value1 < value2 ? -1 : 1;\n }\n } else {\n result = (type1 === 'undefined') ? 1 :\n (type2 === 'undefined') ? -1 :\n (type1 === 'null') ? 1 :\n (type2 === 'null') ? -1 :\n (type1 < type2) ? -1 : 1;\n }\n\n return result;\n }\n}\n\nfunction ngDirective(directive) {\n if (isFunction(directive)) {\n directive = {\n link: directive\n };\n }\n directive.restrict = directive.restrict || 'AC';\n return valueFn(directive);\n}\n\n/**\n * @ngdoc directive\n * @name a\n * @restrict E\n *\n * @description\n * Modifies the default behavior of the html a tag so that the default action is prevented when\n * the href attribute is empty.\n *\n * For dynamically creating `href` attributes for a tags, see the {@link ng.ngHref `ngHref`} directive.\n */\nvar htmlAnchorDirective = valueFn({\n restrict: 'E',\n compile: function(element, attr) {\n if (!attr.href && !attr.xlinkHref) {\n return function(scope, element) {\n // If the linked element is not an anchor tag anymore, do nothing\n if (element[0].nodeName.toLowerCase() !== 'a') return;\n\n // SVGAElement does not use the href attribute, but rather the 'xlinkHref' attribute.\n var href = toString.call(element.prop('href')) === '[object SVGAnimatedString]' ?\n 'xlink:href' : 'href';\n element.on('click', function(event) {\n // if we have no href url, then don't navigate anywhere.\n if (!element.attr(href)) {\n event.preventDefault();\n }\n });\n };\n }\n }\n});\n\n/**\n * @ngdoc directive\n * @name ngHref\n * @restrict A\n * @priority 99\n *\n * @description\n * Using AngularJS markup like `{{hash}}` in an href attribute will\n * make the link go to the wrong URL if the user clicks it before\n * AngularJS has a chance to replace the `{{hash}}` markup with its\n * value. Until AngularJS replaces the markup the link will be broken\n * and will most likely return a 404 error. The `ngHref` directive\n * solves this problem.\n *\n * The wrong way to write it:\n * ```html\n * <a href=\"http://www.gravatar.com/avatar/{{hash}}\">link1</a>\n * ```\n *\n * The correct way to write it:\n * ```html\n * <a ng-href=\"http://www.gravatar.com/avatar/{{hash}}\">link1</a>\n * ```\n *\n * @element A\n * @param {template} ngHref any string which can contain `{{}}` markup.\n *\n * @example\n * This example shows various combinations of `href`, `ng-href` and `ng-click` attributes\n * in links and their different behaviors:\n <example name=\"ng-href\">\n <file name=\"index.html\">\n <input ng-model=\"value\" /><br />\n <a id=\"link-1\" href ng-click=\"value = 1\">link 1</a> (link, don't reload)<br />\n <a id=\"link-2\" href=\"\" ng-click=\"value = 2\">link 2</a> (link, don't reload)<br />\n <a id=\"link-3\" ng-href=\"/{{'123'}}\">link 3</a> (link, reload!)<br />\n <a id=\"link-4\" href=\"\" name=\"xx\" ng-click=\"value = 4\">anchor</a> (link, don't reload)<br />\n <a id=\"link-5\" name=\"xxx\" ng-click=\"value = 5\">anchor</a> (no link)<br />\n <a id=\"link-6\" ng-href=\"{{value}}\">link</a> (link, change location)\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should execute ng-click but not reload when href without value', function() {\n element(by.id('link-1')).click();\n expect(element(by.model('value')).getAttribute('value')).toEqual('1');\n expect(element(by.id('link-1')).getAttribute('href')).toBe('');\n });\n\n it('should execute ng-click but not reload when href empty string', function() {\n element(by.id('link-2')).click();\n expect(element(by.model('value')).getAttribute('value')).toEqual('2');\n expect(element(by.id('link-2')).getAttribute('href')).toBe('');\n });\n\n it('should execute ng-click and change url when ng-href specified', function() {\n expect(element(by.id('link-3')).getAttribute('href')).toMatch(/\\/123$/);\n\n element(by.id('link-3')).click();\n\n // At this point, we navigate away from an AngularJS page, so we need\n // to use browser.driver to get the base webdriver.\n\n browser.wait(function() {\n return browser.driver.getCurrentUrl().then(function(url) {\n return url.match(/\\/123$/);\n });\n }, 5000, 'page should navigate to /123');\n });\n\n it('should execute ng-click but not reload when href empty string and name specified', function() {\n element(by.id('link-4')).click();\n expect(element(by.model('value')).getAttribute('value')).toEqual('4');\n expect(element(by.id('link-4')).getAttribute('href')).toBe('');\n });\n\n it('should execute ng-click but not reload when no href but name specified', function() {\n element(by.id('link-5')).click();\n expect(element(by.model('value')).getAttribute('value')).toEqual('5');\n expect(element(by.id('link-5')).getAttribute('href')).toBe(null);\n });\n\n it('should only change url when only ng-href', function() {\n element(by.model('value')).clear();\n element(by.model('value')).sendKeys('6');\n expect(element(by.id('link-6')).getAttribute('href')).toMatch(/\\/6$/);\n\n element(by.id('link-6')).click();\n\n // At this point, we navigate away from an AngularJS page, so we need\n // to use browser.driver to get the base webdriver.\n browser.wait(function() {\n return browser.driver.getCurrentUrl().then(function(url) {\n return url.match(/\\/6$/);\n });\n }, 5000, 'page should navigate to /6');\n });\n </file>\n </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngSrc\n * @restrict A\n * @priority 99\n *\n * @description\n * Using AngularJS markup like `{{hash}}` in a `src` attribute doesn't\n * work right: The browser will fetch from the URL with the literal\n * text `{{hash}}` until AngularJS replaces the expression inside\n * `{{hash}}`. The `ngSrc` directive solves this problem.\n *\n * The buggy way to write it:\n * ```html\n * <img src=\"http://www.gravatar.com/avatar/{{hash}}\" alt=\"Description\"/>\n * ```\n *\n * The correct way to write it:\n * ```html\n * <img ng-src=\"http://www.gravatar.com/avatar/{{hash}}\" alt=\"Description\" />\n * ```\n *\n * @element IMG\n * @param {template} ngSrc any string which can contain `{{}}` markup.\n */\n\n/**\n * @ngdoc directive\n * @name ngSrcset\n * @restrict A\n * @priority 99\n *\n * @description\n * Using AngularJS markup like `{{hash}}` in a `srcset` attribute doesn't\n * work right: The browser will fetch from the URL with the literal\n * text `{{hash}}` until AngularJS replaces the expression inside\n * `{{hash}}`. The `ngSrcset` directive solves this problem.\n *\n * The buggy way to write it:\n * ```html\n * <img srcset=\"http://www.gravatar.com/avatar/{{hash}} 2x\" alt=\"Description\"/>\n * ```\n *\n * The correct way to write it:\n * ```html\n * <img ng-srcset=\"http://www.gravatar.com/avatar/{{hash}} 2x\" alt=\"Description\" />\n * ```\n *\n * @element IMG\n * @param {template} ngSrcset any string which can contain `{{}}` markup.\n */\n\n/**\n * @ngdoc directive\n * @name ngDisabled\n * @restrict A\n * @priority 100\n *\n * @description\n *\n * This directive sets the `disabled` attribute on the element (typically a form control,\n * e.g. `input`, `button`, `select` etc.) if the\n * {@link guide/expression expression} inside `ngDisabled` evaluates to truthy.\n *\n * A special directive is necessary because we cannot use interpolation inside the `disabled`\n * attribute. See the {@link guide/interpolation interpolation guide} for more info.\n *\n * @example\n <example name=\"ng-disabled\">\n <file name=\"index.html\">\n <label>Click me to toggle: <input type=\"checkbox\" ng-model=\"checked\"></label><br/>\n <button ng-model=\"button\" ng-disabled=\"checked\">Button</button>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should toggle button', function() {\n expect(element(by.css('button')).getAttribute('disabled')).toBeFalsy();\n element(by.model('checked')).click();\n expect(element(by.css('button')).getAttribute('disabled')).toBeTruthy();\n });\n </file>\n </example>\n *\n * @param {expression} ngDisabled If the {@link guide/expression expression} is truthy,\n * then the `disabled` attribute will be set on the element\n */\n\n\n/**\n * @ngdoc directive\n * @name ngChecked\n * @restrict A\n * @priority 100\n *\n * @description\n * Sets the `checked` attribute on the element, if the expression inside `ngChecked` is truthy.\n *\n * Note that this directive should not be used together with {@link ngModel `ngModel`},\n * as this can lead to unexpected behavior.\n *\n * A special directive is necessary because we cannot use interpolation inside the `checked`\n * attribute. See the {@link guide/interpolation interpolation guide} for more info.\n *\n * @example\n <example name=\"ng-checked\">\n <file name=\"index.html\">\n <label>Check me to check both: <input type=\"checkbox\" ng-model=\"leader\"></label><br/>\n <input id=\"checkFollower\" type=\"checkbox\" ng-checked=\"leader\" aria-label=\"Follower input\">\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check both checkBoxes', function() {\n expect(element(by.id('checkFollower')).getAttribute('checked')).toBeFalsy();\n element(by.model('leader')).click();\n expect(element(by.id('checkFollower')).getAttribute('checked')).toBeTruthy();\n });\n </file>\n </example>\n *\n * @element INPUT\n * @param {expression} ngChecked If the {@link guide/expression expression} is truthy,\n * then the `checked` attribute will be set on the element\n */\n\n\n/**\n * @ngdoc directive\n * @name ngReadonly\n * @restrict A\n * @priority 100\n *\n * @description\n *\n * Sets the `readonly` attribute on the element, if the expression inside `ngReadonly` is truthy.\n * Note that `readonly` applies only to `input` elements with specific types. [See the input docs on\n * MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly) for more information.\n *\n * A special directive is necessary because we cannot use interpolation inside the `readonly`\n * attribute. See the {@link guide/interpolation interpolation guide} for more info.\n *\n * @example\n <example name=\"ng-readonly\">\n <file name=\"index.html\">\n <label>Check me to make text readonly: <input type=\"checkbox\" ng-model=\"checked\"></label><br/>\n <input type=\"text\" ng-readonly=\"checked\" value=\"I'm AngularJS\" aria-label=\"Readonly field\" />\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should toggle readonly attr', function() {\n expect(element(by.css('[type=\"text\"]')).getAttribute('readonly')).toBeFalsy();\n element(by.model('checked')).click();\n expect(element(by.css('[type=\"text\"]')).getAttribute('readonly')).toBeTruthy();\n });\n </file>\n </example>\n *\n * @element INPUT\n * @param {expression} ngReadonly If the {@link guide/expression expression} is truthy,\n * then special attribute \"readonly\" will be set on the element\n */\n\n\n/**\n * @ngdoc directive\n * @name ngSelected\n * @restrict A\n * @priority 100\n *\n * @description\n *\n * Sets the `selected` attribute on the element, if the expression inside `ngSelected` is truthy.\n *\n * A special directive is necessary because we cannot use interpolation inside the `selected`\n * attribute. See the {@link guide/interpolation interpolation guide} for more info.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** `ngSelected` does not interact with the `select` and `ngModel` directives, it only\n * sets the `selected` attribute on the element. If you are using `ngModel` on the select, you\n * should not use `ngSelected` on the options, as `ngModel` will set the select value and\n * selected options.\n * </div>\n *\n * @example\n <example name=\"ng-selected\">\n <file name=\"index.html\">\n <label>Check me to select: <input type=\"checkbox\" ng-model=\"selected\"></label><br/>\n <select aria-label=\"ngSelected demo\">\n <option>Hello!</option>\n <option id=\"greet\" ng-selected=\"selected\">Greetings!</option>\n </select>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should select Greetings!', function() {\n expect(element(by.id('greet')).getAttribute('selected')).toBeFalsy();\n element(by.model('selected')).click();\n expect(element(by.id('greet')).getAttribute('selected')).toBeTruthy();\n });\n </file>\n </example>\n *\n * @element OPTION\n * @param {expression} ngSelected If the {@link guide/expression expression} is truthy,\n * then special attribute \"selected\" will be set on the element\n */\n\n/**\n * @ngdoc directive\n * @name ngOpen\n * @restrict A\n * @priority 100\n *\n * @description\n *\n * Sets the `open` attribute on the element, if the expression inside `ngOpen` is truthy.\n *\n * A special directive is necessary because we cannot use interpolation inside the `open`\n * attribute. See the {@link guide/interpolation interpolation guide} for more info.\n *\n * ## A note about browser compatibility\n *\n * Internet Explorer and Edge do not support the `details` element, it is\n * recommended to use {@link ng.ngShow} and {@link ng.ngHide} instead.\n *\n * @example\n <example name=\"ng-open\">\n <file name=\"index.html\">\n <label>Toggle details: <input type=\"checkbox\" ng-model=\"open\"></label><br/>\n <details id=\"details\" ng-open=\"open\">\n <summary>List</summary>\n <ul>\n <li>Apple</li>\n <li>Orange</li>\n <li>Durian</li>\n </ul>\n </details>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should toggle open', function() {\n expect(element(by.id('details')).getAttribute('open')).toBeFalsy();\n element(by.model('open')).click();\n expect(element(by.id('details')).getAttribute('open')).toBeTruthy();\n });\n </file>\n </example>\n *\n * @element DETAILS\n * @param {expression} ngOpen If the {@link guide/expression expression} is truthy,\n * then special attribute \"open\" will be set on the element\n */\n\nvar ngAttributeAliasDirectives = {};\n\n// boolean attrs are evaluated\nforEach(BOOLEAN_ATTR, function(propName, attrName) {\n // binding to multiple is not supported\n if (propName === 'multiple') return;\n\n function defaultLinkFn(scope, element, attr) {\n scope.$watch(attr[normalized], function ngBooleanAttrWatchAction(value) {\n attr.$set(attrName, !!value);\n });\n }\n\n var normalized = directiveNormalize('ng-' + attrName);\n var linkFn = defaultLinkFn;\n\n if (propName === 'checked') {\n linkFn = function(scope, element, attr) {\n // ensuring ngChecked doesn't interfere with ngModel when both are set on the same input\n if (attr.ngModel !== attr[normalized]) {\n defaultLinkFn(scope, element, attr);\n }\n };\n }\n\n ngAttributeAliasDirectives[normalized] = function() {\n return {\n restrict: 'A',\n priority: 100,\n link: linkFn\n };\n };\n});\n\n// aliased input attrs are evaluated\nforEach(ALIASED_ATTR, function(htmlAttr, ngAttr) {\n ngAttributeAliasDirectives[ngAttr] = function() {\n return {\n priority: 100,\n link: function(scope, element, attr) {\n //special case ngPattern when a literal regular expression value\n //is used as the expression (this way we don't have to watch anything).\n if (ngAttr === 'ngPattern' && attr.ngPattern.charAt(0) === '/') {\n var match = attr.ngPattern.match(REGEX_STRING_REGEXP);\n if (match) {\n attr.$set('ngPattern', new RegExp(match[1], match[2]));\n return;\n }\n }\n\n scope.$watch(attr[ngAttr], function ngAttrAliasWatchAction(value) {\n attr.$set(ngAttr, value);\n });\n }\n };\n };\n});\n\n// ng-src, ng-srcset, ng-href are interpolated\nforEach(['src', 'srcset', 'href'], function(attrName) {\n var normalized = directiveNormalize('ng-' + attrName);\n ngAttributeAliasDirectives[normalized] = ['$sce', function($sce) {\n return {\n priority: 99, // it needs to run after the attributes are interpolated\n link: function(scope, element, attr) {\n var propName = attrName,\n name = attrName;\n\n if (attrName === 'href' &&\n toString.call(element.prop('href')) === '[object SVGAnimatedString]') {\n name = 'xlinkHref';\n attr.$attr[name] = 'xlink:href';\n propName = null;\n }\n\n // We need to sanitize the url at least once, in case it is a constant\n // non-interpolated attribute.\n attr.$set(normalized, $sce.getTrustedMediaUrl(attr[normalized]));\n\n attr.$observe(normalized, function(value) {\n if (!value) {\n if (attrName === 'href') {\n attr.$set(name, null);\n }\n return;\n }\n\n attr.$set(name, value);\n\n // Support: IE 9-11 only\n // On IE, if \"ng:src\" directive declaration is used and \"src\" attribute doesn't exist\n // then calling element.setAttribute('src', 'foo') doesn't do anything, so we need\n // to set the property as well to achieve the desired effect.\n // We use attr[attrName] value since $set might have sanitized the url.\n if (msie && propName) element.prop(propName, attr[name]);\n });\n }\n };\n }];\n});\n\n/* global -nullFormCtrl, -PENDING_CLASS, -SUBMITTED_CLASS\n */\nvar nullFormCtrl = {\n $addControl: noop,\n $getControls: valueFn([]),\n $$renameControl: nullFormRenameControl,\n $removeControl: noop,\n $setValidity: noop,\n $setDirty: noop,\n $setPristine: noop,\n $setSubmitted: noop,\n $$setSubmitted: noop\n},\nPENDING_CLASS = 'ng-pending',\nSUBMITTED_CLASS = 'ng-submitted';\n\nfunction nullFormRenameControl(control, name) {\n control.$name = name;\n}\n\n/**\n * @ngdoc type\n * @name form.FormController\n *\n * @property {boolean} $pristine True if user has not interacted with the form yet.\n * @property {boolean} $dirty True if user has already interacted with the form.\n * @property {boolean} $valid True if all of the containing forms and controls are valid.\n * @property {boolean} $invalid True if at least one containing control or form is invalid.\n * @property {boolean} $submitted True if user has submitted the form even if its invalid.\n *\n * @property {Object} $pending An object hash, containing references to controls or forms with\n * pending validators, where:\n *\n * - keys are validations tokens (error names).\n * - values are arrays of controls or forms that have a pending validator for the given error name.\n *\n * See {@link form.FormController#$error $error} for a list of built-in validation tokens.\n *\n * @property {Object} $error An object hash, containing references to controls or forms with failing\n * validators, where:\n *\n * - keys are validation tokens (error names),\n * - values are arrays of controls or forms that have a failing validator for the given error name.\n *\n * Built-in validation tokens:\n * - `email`\n * - `max`\n * - `maxlength`\n * - `min`\n * - `minlength`\n * - `number`\n * - `pattern`\n * - `required`\n * - `url`\n * - `date`\n * - `datetimelocal`\n * - `time`\n * - `week`\n * - `month`\n *\n * @description\n * `FormController` keeps track of all its controls and nested forms as well as the state of them,\n * such as being valid/invalid or dirty/pristine.\n *\n * Each {@link ng.directive:form form} directive creates an instance\n * of `FormController`.\n *\n */\n//asks for $scope to fool the BC controller module\nFormController.$inject = ['$element', '$attrs', '$scope', '$animate', '$interpolate'];\nfunction FormController($element, $attrs, $scope, $animate, $interpolate) {\n this.$$controls = [];\n\n // init state\n this.$error = {};\n this.$$success = {};\n this.$pending = undefined;\n this.$name = $interpolate($attrs.name || $attrs.ngForm || '')($scope);\n this.$dirty = false;\n this.$pristine = true;\n this.$valid = true;\n this.$invalid = false;\n this.$submitted = false;\n this.$$parentForm = nullFormCtrl;\n\n this.$$element = $element;\n this.$$animate = $animate;\n\n setupValidity(this);\n}\n\nFormController.prototype = {\n /**\n * @ngdoc method\n * @name form.FormController#$rollbackViewValue\n *\n * @description\n * Rollback all form controls pending updates to the `$modelValue`.\n *\n * Updates may be pending by a debounced event or because the input is waiting for a some future\n * event defined in `ng-model-options`. This method is typically needed by the reset button of\n * a form that uses `ng-model-options` to pend updates.\n */\n $rollbackViewValue: function() {\n forEach(this.$$controls, function(control) {\n control.$rollbackViewValue();\n });\n },\n\n /**\n * @ngdoc method\n * @name form.FormController#$commitViewValue\n *\n * @description\n * Commit all form controls pending updates to the `$modelValue`.\n *\n * Updates may be pending by a debounced event or because the input is waiting for a some future\n * event defined in `ng-model-options`. This method is rarely needed as `NgModelController`\n * usually handles calling this in response to input events.\n */\n $commitViewValue: function() {\n forEach(this.$$controls, function(control) {\n control.$commitViewValue();\n });\n },\n\n /**\n * @ngdoc method\n * @name form.FormController#$addControl\n * @param {object} control control object, either a {@link form.FormController} or an\n * {@link ngModel.NgModelController}\n *\n * @description\n * Register a control with the form. Input elements using ngModelController do this automatically\n * when they are linked.\n *\n * Note that the current state of the control will not be reflected on the new parent form. This\n * is not an issue with normal use, as freshly compiled and linked controls are in a `$pristine`\n * state.\n *\n * However, if the method is used programmatically, for example by adding dynamically created controls,\n * or controls that have been previously removed without destroying their corresponding DOM element,\n * it's the developers responsibility to make sure the current state propagates to the parent form.\n *\n * For example, if an input control is added that is already `$dirty` and has `$error` properties,\n * calling `$setDirty()` and `$validate()` afterwards will propagate the state to the parent form.\n */\n $addControl: function(control) {\n // Breaking change - before, inputs whose name was \"hasOwnProperty\" were quietly ignored\n // and not added to the scope. Now we throw an error.\n assertNotHasOwnProperty(control.$name, 'input');\n this.$$controls.push(control);\n\n if (control.$name) {\n this[control.$name] = control;\n }\n\n control.$$parentForm = this;\n },\n\n /**\n * @ngdoc method\n * @name form.FormController#$getControls\n * @returns {Array} the controls that are currently part of this form\n *\n * @description\n * This method returns a **shallow copy** of the controls that are currently part of this form.\n * The controls can be instances of {@link form.FormController `FormController`}\n * ({@link ngForm \"child-forms\"}) and of {@link ngModel.NgModelController `NgModelController`}.\n * If you need access to the controls of child-forms, you have to call `$getControls()`\n * recursively on them.\n * This can be used for example to iterate over all controls to validate them.\n *\n * The controls can be accessed normally, but adding to, or removing controls from the array has\n * no effect on the form. Instead, use {@link form.FormController#$addControl `$addControl()`} and\n * {@link form.FormController#$removeControl `$removeControl()`} for this use-case.\n * Likewise, adding a control to, or removing a control from the form is not reflected\n * in the shallow copy. That means you should get a fresh copy from `$getControls()` every time\n * you need access to the controls.\n */\n $getControls: function() {\n return shallowCopy(this.$$controls);\n },\n\n // Private API: rename a form control\n $$renameControl: function(control, newName) {\n var oldName = control.$name;\n\n if (this[oldName] === control) {\n delete this[oldName];\n }\n this[newName] = control;\n control.$name = newName;\n },\n\n /**\n * @ngdoc method\n * @name form.FormController#$removeControl\n * @param {object} control control object, either a {@link form.FormController} or an\n * {@link ngModel.NgModelController}\n *\n * @description\n * Deregister a control from the form.\n *\n * Input elements using ngModelController do this automatically when they are destroyed.\n *\n * Note that only the removed control's validation state (`$errors`etc.) will be removed from the\n * form. `$dirty`, `$submitted` states will not be changed, because the expected behavior can be\n * different from case to case. For example, removing the only `$dirty` control from a form may or\n * may not mean that the form is still `$dirty`.\n */\n $removeControl: function(control) {\n if (control.$name && this[control.$name] === control) {\n delete this[control.$name];\n }\n forEach(this.$pending, function(value, name) {\n // eslint-disable-next-line no-invalid-this\n this.$setValidity(name, null, control);\n }, this);\n forEach(this.$error, function(value, name) {\n // eslint-disable-next-line no-invalid-this\n this.$setValidity(name, null, control);\n }, this);\n forEach(this.$$success, function(value, name) {\n // eslint-disable-next-line no-invalid-this\n this.$setValidity(name, null, control);\n }, this);\n\n arrayRemove(this.$$controls, control);\n control.$$parentForm = nullFormCtrl;\n },\n\n /**\n * @ngdoc method\n * @name form.FormController#$setDirty\n *\n * @description\n * Sets the form to a dirty state.\n *\n * This method can be called to add the 'ng-dirty' class and set the form to a dirty\n * state (ng-dirty class). This method will also propagate to parent forms.\n */\n $setDirty: function() {\n this.$$animate.removeClass(this.$$element, PRISTINE_CLASS);\n this.$$animate.addClass(this.$$element, DIRTY_CLASS);\n this.$dirty = true;\n this.$pristine = false;\n this.$$parentForm.$setDirty();\n },\n\n /**\n * @ngdoc method\n * @name form.FormController#$setPristine\n *\n * @description\n * Sets the form to its pristine state.\n *\n * This method sets the form's `$pristine` state to true, the `$dirty` state to false, removes\n * the `ng-dirty` class and adds the `ng-pristine` class. Additionally, it sets the `$submitted`\n * state to false.\n *\n * This method will also propagate to all the controls contained in this form.\n *\n * Setting a form back to a pristine state is often useful when we want to 'reuse' a form after\n * saving or resetting it.\n */\n $setPristine: function() {\n this.$$animate.setClass(this.$$element, PRISTINE_CLASS, DIRTY_CLASS + ' ' + SUBMITTED_CLASS);\n this.$dirty = false;\n this.$pristine = true;\n this.$submitted = false;\n forEach(this.$$controls, function(control) {\n control.$setPristine();\n });\n },\n\n /**\n * @ngdoc method\n * @name form.FormController#$setUntouched\n *\n * @description\n * Sets the form to its untouched state.\n *\n * This method can be called to remove the 'ng-touched' class and set the form controls to their\n * untouched state (ng-untouched class).\n *\n * Setting a form controls back to their untouched state is often useful when setting the form\n * back to its pristine state.\n */\n $setUntouched: function() {\n forEach(this.$$controls, function(control) {\n control.$setUntouched();\n });\n },\n\n /**\n * @ngdoc method\n * @name form.FormController#$setSubmitted\n *\n * @description\n * Sets the form to its `$submitted` state. This will also set `$submitted` on all child and\n * parent forms of the form.\n */\n $setSubmitted: function() {\n var rootForm = this;\n while (rootForm.$$parentForm && (rootForm.$$parentForm !== nullFormCtrl)) {\n rootForm = rootForm.$$parentForm;\n }\n rootForm.$$setSubmitted();\n },\n\n $$setSubmitted: function() {\n this.$$animate.addClass(this.$$element, SUBMITTED_CLASS);\n this.$submitted = true;\n forEach(this.$$controls, function(control) {\n if (control.$$setSubmitted) {\n control.$$setSubmitted();\n }\n });\n }\n};\n\n/**\n * @ngdoc method\n * @name form.FormController#$setValidity\n *\n * @description\n * Change the validity state of the form, and notify the parent form (if any).\n *\n * Application developers will rarely need to call this method directly. It is used internally, by\n * {@link ngModel.NgModelController#$setValidity NgModelController.$setValidity()}, to propagate a\n * control's validity state to the parent `FormController`.\n *\n * @param {string} validationErrorKey Name of the validator. The `validationErrorKey` will be\n * assigned to either `$error[validationErrorKey]` or `$pending[validationErrorKey]` (for\n * unfulfilled `$asyncValidators`), so that it is available for data-binding. The\n * `validationErrorKey` should be in camelCase and will get converted into dash-case for\n * class name. Example: `myError` will result in `ng-valid-my-error` and\n * `ng-invalid-my-error` classes and can be bound to as `{{ someForm.$error.myError }}`.\n * @param {boolean} isValid Whether the current state is valid (true), invalid (false), pending\n * (undefined), or skipped (null). Pending is used for unfulfilled `$asyncValidators`.\n * Skipped is used by AngularJS when validators do not run because of parse errors and when\n * `$asyncValidators` do not run because any of the `$validators` failed.\n * @param {NgModelController | FormController} controller - The controller whose validity state is\n * triggering the change.\n */\naddSetValidityMethod({\n clazz: FormController,\n set: function(object, property, controller) {\n var list = object[property];\n if (!list) {\n object[property] = [controller];\n } else {\n var index = list.indexOf(controller);\n if (index === -1) {\n list.push(controller);\n }\n }\n },\n unset: function(object, property, controller) {\n var list = object[property];\n if (!list) {\n return;\n }\n arrayRemove(list, controller);\n if (list.length === 0) {\n delete object[property];\n }\n }\n});\n\n/**\n * @ngdoc directive\n * @name ngForm\n * @restrict EAC\n *\n * @description\n * Helper directive that makes it possible to create control groups inside a\n * {@link ng.directive:form `form`} directive.\n * These \"child forms\" can be used, for example, to determine the validity of a sub-group of\n * controls.\n *\n * <div class=\"alert alert-danger\">\n * **Note**: `ngForm` cannot be used as a replacement for `<form>`, because it lacks its\n * [built-in HTML functionality](https://html.spec.whatwg.org/#the-form-element).\n * Specifically, you cannot submit `ngForm` like a `<form>` tag. That means,\n * you cannot send data to the server with `ngForm`, or integrate it with\n * {@link ng.directive:ngSubmit `ngSubmit`}.\n * </div>\n *\n * @param {string=} ngForm|name Name of the form. If specified, the form controller will\n * be published into the related scope, under this name.\n *\n */\n\n /**\n * @ngdoc directive\n * @name form\n * @restrict E\n *\n * @description\n * Directive that instantiates\n * {@link form.FormController FormController}.\n *\n * If the `name` attribute is specified, the form controller is published onto the current scope under\n * this name.\n *\n * ## Alias: {@link ng.directive:ngForm `ngForm`}\n *\n * In AngularJS, forms can be nested. This means that the outer form is valid when all of the child\n * forms are valid as well. However, browsers do not allow nesting of `<form>` elements, so\n * AngularJS provides the {@link ng.directive:ngForm `ngForm`} directive, which behaves identically to\n * `form` but can be nested. Nested forms can be useful, for example, if the validity of a sub-group\n * of controls needs to be determined.\n *\n * ## CSS classes\n * - `ng-valid` is set if the form is valid.\n * - `ng-invalid` is set if the form is invalid.\n * - `ng-pending` is set if the form is pending.\n * - `ng-pristine` is set if the form is pristine.\n * - `ng-dirty` is set if the form is dirty.\n * - `ng-submitted` is set if the form was submitted.\n *\n * Keep in mind that ngAnimate can detect each of these classes when added and removed.\n *\n *\n * ## Submitting a form and preventing the default action\n *\n * Since the role of forms in client-side AngularJS applications is different than in classical\n * roundtrip apps, it is desirable for the browser not to translate the form submission into a full\n * page reload that sends the data to the server. Instead some javascript logic should be triggered\n * to handle the form submission in an application-specific way.\n *\n * For this reason, AngularJS prevents the default action (form submission to the server) unless the\n * `<form>` element has an `action` attribute specified.\n *\n * You can use one of the following two ways to specify what javascript method should be called when\n * a form is submitted:\n *\n * - {@link ng.directive:ngSubmit ngSubmit} directive on the form element\n * - {@link ng.directive:ngClick ngClick} directive on the first\n * button or input field of type submit (input[type=submit])\n *\n * To prevent double execution of the handler, use only one of the {@link ng.directive:ngSubmit ngSubmit}\n * or {@link ng.directive:ngClick ngClick} directives.\n * This is because of the following form submission rules in the HTML specification:\n *\n * - If a form has only one input field then hitting enter in this field triggers form submit\n * (`ngSubmit`)\n * - if a form has 2+ input fields and no buttons or input[type=submit] then hitting enter\n * doesn't trigger submit\n * - if a form has one or more input fields and one or more buttons or input[type=submit] then\n * hitting enter in any of the input fields will trigger the click handler on the *first* button or\n * input[type=submit] (`ngClick`) *and* a submit handler on the enclosing form (`ngSubmit`)\n *\n * Any pending `ngModelOptions` changes will take place immediately when an enclosing form is\n * submitted. Note that `ngClick` events will occur before the model is updated. Use `ngSubmit`\n * to have access to the updated model.\n *\n * @animations\n * Animations in ngForm are triggered when any of the associated CSS classes are added and removed.\n * These classes are: `.ng-pristine`, `.ng-dirty`, `.ng-invalid` and `.ng-valid` as well as any\n * other validations that are performed within the form. Animations in ngForm are similar to how\n * they work in ngClass and animations can be hooked into using CSS transitions, keyframes as well\n * as JS animations.\n *\n * The following example shows a simple way to utilize CSS transitions to style a form element\n * that has been rendered as invalid after it has been validated:\n *\n * <pre>\n * //be sure to include ngAnimate as a module to hook into more\n * //advanced animations\n * .my-form {\n * transition:0.5s linear all;\n * background: white;\n * }\n * .my-form.ng-invalid {\n * background: red;\n * color:white;\n * }\n * </pre>\n *\n * @example\n <example name=\"ng-form\" deps=\"angular-animate.js\" animations=\"true\" fixBase=\"true\" module=\"formExample\">\n <file name=\"index.html\">\n <script>\n angular.module('formExample', [])\n .controller('FormController', ['$scope', function($scope) {\n $scope.userType = 'guest';\n }]);\n </script>\n <style>\n .my-form {\n transition:all linear 0.5s;\n background: transparent;\n }\n .my-form.ng-invalid {\n background: red;\n }\n </style>\n <form name=\"myForm\" ng-controller=\"FormController\" class=\"my-form\">\n userType: <input name=\"input\" ng-model=\"userType\" required>\n <span class=\"error\" ng-show=\"myForm.input.$error.required\">Required!</span><br>\n <code>userType = {{userType}}</code><br>\n <code>myForm.input.$valid = {{myForm.input.$valid}}</code><br>\n <code>myForm.input.$error = {{myForm.input.$error}}</code><br>\n <code>myForm.$valid = {{myForm.$valid}}</code><br>\n <code>myForm.$error.required = {{!!myForm.$error.required}}</code><br>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should initialize to model', function() {\n var userType = element(by.binding('userType'));\n var valid = element(by.binding('myForm.input.$valid'));\n\n expect(userType.getText()).toContain('guest');\n expect(valid.getText()).toContain('true');\n });\n\n it('should be invalid if empty', function() {\n var userType = element(by.binding('userType'));\n var valid = element(by.binding('myForm.input.$valid'));\n var userInput = element(by.model('userType'));\n\n userInput.clear();\n userInput.sendKeys('');\n\n expect(userType.getText()).toEqual('userType =');\n expect(valid.getText()).toContain('false');\n });\n </file>\n </example>\n *\n * @param {string=} name Name of the form. If specified, the form controller will be published into\n * related scope, under this name.\n */\nvar formDirectiveFactory = function(isNgForm) {\n return ['$timeout', '$parse', function($timeout, $parse) {\n var formDirective = {\n name: 'form',\n restrict: isNgForm ? 'EAC' : 'E',\n require: ['form', '^^?form'], //first is the form's own ctrl, second is an optional parent form\n controller: FormController,\n compile: function ngFormCompile(formElement, attr) {\n // Setup initial state of the control\n formElement.addClass(PRISTINE_CLASS).addClass(VALID_CLASS);\n\n var nameAttr = attr.name ? 'name' : (isNgForm && attr.ngForm ? 'ngForm' : false);\n\n return {\n pre: function ngFormPreLink(scope, formElement, attr, ctrls) {\n var controller = ctrls[0];\n\n // if `action` attr is not present on the form, prevent the default action (submission)\n if (!('action' in attr)) {\n // we can't use jq events because if a form is destroyed during submission the default\n // action is not prevented. see #1238\n //\n // IE 9 is not affected because it doesn't fire a submit event and try to do a full\n // page reload if the form was destroyed by submission of the form via a click handler\n // on a button in the form. Looks like an IE9 specific bug.\n var handleFormSubmission = function(event) {\n scope.$apply(function() {\n controller.$commitViewValue();\n controller.$setSubmitted();\n });\n\n event.preventDefault();\n };\n\n formElement[0].addEventListener('submit', handleFormSubmission);\n\n // unregister the preventDefault listener so that we don't not leak memory but in a\n // way that will achieve the prevention of the default action.\n formElement.on('$destroy', function() {\n $timeout(function() {\n formElement[0].removeEventListener('submit', handleFormSubmission);\n }, 0, false);\n });\n }\n\n var parentFormCtrl = ctrls[1] || controller.$$parentForm;\n parentFormCtrl.$addControl(controller);\n\n var setter = nameAttr ? getSetter(controller.$name) : noop;\n\n if (nameAttr) {\n setter(scope, controller);\n attr.$observe(nameAttr, function(newValue) {\n if (controller.$name === newValue) return;\n setter(scope, undefined);\n controller.$$parentForm.$$renameControl(controller, newValue);\n setter = getSetter(controller.$name);\n setter(scope, controller);\n });\n }\n formElement.on('$destroy', function() {\n controller.$$parentForm.$removeControl(controller);\n setter(scope, undefined);\n extend(controller, nullFormCtrl); //stop propagating child destruction handlers upwards\n });\n }\n };\n }\n };\n\n return formDirective;\n\n function getSetter(expression) {\n if (expression === '') {\n //create an assignable expression, so forms with an empty name can be renamed later\n return $parse('this[\"\"]').assign;\n }\n return $parse(expression).assign || noop;\n }\n }];\n};\n\nvar formDirective = formDirectiveFactory();\nvar ngFormDirective = formDirectiveFactory(true);\n\n\n\n// helper methods\nfunction setupValidity(instance) {\n instance.$$classCache = {};\n instance.$$classCache[INVALID_CLASS] = !(instance.$$classCache[VALID_CLASS] = instance.$$element.hasClass(VALID_CLASS));\n}\nfunction addSetValidityMethod(context) {\n var clazz = context.clazz,\n set = context.set,\n unset = context.unset;\n\n clazz.prototype.$setValidity = function(validationErrorKey, state, controller) {\n if (isUndefined(state)) {\n createAndSet(this, '$pending', validationErrorKey, controller);\n } else {\n unsetAndCleanup(this, '$pending', validationErrorKey, controller);\n }\n if (!isBoolean(state)) {\n unset(this.$error, validationErrorKey, controller);\n unset(this.$$success, validationErrorKey, controller);\n } else {\n if (state) {\n unset(this.$error, validationErrorKey, controller);\n set(this.$$success, validationErrorKey, controller);\n } else {\n set(this.$error, validationErrorKey, controller);\n unset(this.$$success, validationErrorKey, controller);\n }\n }\n if (this.$pending) {\n cachedToggleClass(this, PENDING_CLASS, true);\n this.$valid = this.$invalid = undefined;\n toggleValidationCss(this, '', null);\n } else {\n cachedToggleClass(this, PENDING_CLASS, false);\n this.$valid = isObjectEmpty(this.$error);\n this.$invalid = !this.$valid;\n toggleValidationCss(this, '', this.$valid);\n }\n\n // re-read the state as the set/unset methods could have\n // combined state in this.$error[validationError] (used for forms),\n // where setting/unsetting only increments/decrements the value,\n // and does not replace it.\n var combinedState;\n if (this.$pending && this.$pending[validationErrorKey]) {\n combinedState = undefined;\n } else if (this.$error[validationErrorKey]) {\n combinedState = false;\n } else if (this.$$success[validationErrorKey]) {\n combinedState = true;\n } else {\n combinedState = null;\n }\n\n toggleValidationCss(this, validationErrorKey, combinedState);\n this.$$parentForm.$setValidity(validationErrorKey, combinedState, this);\n };\n\n function createAndSet(ctrl, name, value, controller) {\n if (!ctrl[name]) {\n ctrl[name] = {};\n }\n set(ctrl[name], value, controller);\n }\n\n function unsetAndCleanup(ctrl, name, value, controller) {\n if (ctrl[name]) {\n unset(ctrl[name], value, controller);\n }\n if (isObjectEmpty(ctrl[name])) {\n ctrl[name] = undefined;\n }\n }\n\n function cachedToggleClass(ctrl, className, switchValue) {\n if (switchValue && !ctrl.$$classCache[className]) {\n ctrl.$$animate.addClass(ctrl.$$element, className);\n ctrl.$$classCache[className] = true;\n } else if (!switchValue && ctrl.$$classCache[className]) {\n ctrl.$$animate.removeClass(ctrl.$$element, className);\n ctrl.$$classCache[className] = false;\n }\n }\n\n function toggleValidationCss(ctrl, validationErrorKey, isValid) {\n validationErrorKey = validationErrorKey ? '-' + snake_case(validationErrorKey, '-') : '';\n\n cachedToggleClass(ctrl, VALID_CLASS + validationErrorKey, isValid === true);\n cachedToggleClass(ctrl, INVALID_CLASS + validationErrorKey, isValid === false);\n }\n}\n\nfunction isObjectEmpty(obj) {\n if (obj) {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n return false;\n }\n }\n }\n return true;\n}\n\n/* global\n VALID_CLASS: false,\n INVALID_CLASS: false,\n PRISTINE_CLASS: false,\n DIRTY_CLASS: false,\n ngModelMinErr: false\n*/\n\n// Regex code was initially obtained from SO prior to modification: https://stackoverflow.com/questions/3143070/javascript-regex-iso-datetime#answer-3143231\nvar ISO_DATE_REGEXP = /^\\d{4,}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d\\.\\d+(?:[+-][0-2]\\d:[0-5]\\d|Z)$/;\n// See valid URLs in RFC3987 (http://tools.ietf.org/html/rfc3987)\n// Note: We are being more lenient, because browsers are too.\n// 1. Scheme\n// 2. Slashes\n// 3. Username\n// 4. Password\n// 5. Hostname\n// 6. Port\n// 7. Path\n// 8. Query\n// 9. Fragment\n// 1111111111111111 222 333333 44444 55555555555555555555555 666 77777777 8888888 999\nvar URL_REGEXP = /^[a-z][a-z\\d.+-]*:\\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\\s:/?#]+|\\[[a-f\\d:]+])(?::\\d+)?(?:\\/[^?#]*)?(?:\\?[^#]*)?(?:#.*)?$/i;\n// eslint-disable-next-line max-len\nvar EMAIL_REGEXP = /^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/;\nvar NUMBER_REGEXP = /^\\s*(-|\\+)?(\\d+|(\\d*(\\.\\d*)))([eE][+-]?\\d+)?\\s*$/;\nvar DATE_REGEXP = /^(\\d{4,})-(\\d{2})-(\\d{2})$/;\nvar DATETIMELOCAL_REGEXP = /^(\\d{4,})-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d)(?::(\\d\\d)(\\.\\d{1,3})?)?$/;\nvar WEEK_REGEXP = /^(\\d{4,})-W(\\d\\d)$/;\nvar MONTH_REGEXP = /^(\\d{4,})-(\\d\\d)$/;\nvar TIME_REGEXP = /^(\\d\\d):(\\d\\d)(?::(\\d\\d)(\\.\\d{1,3})?)?$/;\n\nvar PARTIAL_VALIDATION_EVENTS = 'keydown wheel mousedown';\nvar PARTIAL_VALIDATION_TYPES = createMap();\nforEach('date,datetime-local,month,time,week'.split(','), function(type) {\n PARTIAL_VALIDATION_TYPES[type] = true;\n});\n\nvar inputType = {\n\n /**\n * @ngdoc input\n * @name input[text]\n *\n * @description\n * Standard HTML text input with AngularJS data binding, inherited by most of the `input` elements.\n *\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} required Adds `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n * `required` when you want to data-bind to the `required` attribute.\n * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n * minlength.\n * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n * maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n * any length.\n * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n * that contains the regular expression body that will be converted to a regular expression\n * as in the ngPattern directive.\n * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel {@link ngModel.NgModelController#$viewValue $viewValue}\n * does not match a RegExp found by evaluating the AngularJS expression given in the attribute value.\n * If the expression evaluates to a RegExp object, then this is used directly.\n * If the expression evaluates to a string, then it will be converted to a RegExp\n * after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n * `new RegExp('^abc$')`.<br />\n * **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n * start at the index of the last search's match, thus not taking the whole input value into\n * account.\n * @param {string=} ngChange AngularJS expression to be executed when input changes due to user\n * interaction with the input element.\n * @param {boolean=} [ngTrim=true] If set to false AngularJS will not automatically trim the input.\n * This parameter is ignored for input[type=password] controls, which will never trim the\n * input.\n *\n * @example\n <example name=\"text-input-directive\" module=\"textInputExample\">\n <file name=\"index.html\">\n <script>\n angular.module('textInputExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.example = {\n text: 'guest',\n word: /^\\s*\\w*\\s*$/\n };\n }]);\n </script>\n <form name=\"myForm\" ng-controller=\"ExampleController\">\n <label>Single word:\n <input type=\"text\" name=\"input\" ng-model=\"example.text\"\n ng-pattern=\"example.word\" required ng-trim=\"false\">\n </label>\n <div role=\"alert\">\n <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n Required!</span>\n <span class=\"error\" ng-show=\"myForm.input.$error.pattern\">\n Single word only!</span>\n </div>\n <code>text = {{example.text}}</code><br/>\n <code>myForm.input.$valid = {{myForm.input.$valid}}</code><br/>\n <code>myForm.input.$error = {{myForm.input.$error}}</code><br/>\n <code>myForm.$valid = {{myForm.$valid}}</code><br/>\n <code>myForm.$error.required = {{!!myForm.$error.required}}</code><br/>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var text = element(by.binding('example.text'));\n var valid = element(by.binding('myForm.input.$valid'));\n var input = element(by.model('example.text'));\n\n it('should initialize to model', function() {\n expect(text.getText()).toContain('guest');\n expect(valid.getText()).toContain('true');\n });\n\n it('should be invalid if empty', function() {\n input.clear();\n input.sendKeys('');\n\n expect(text.getText()).toEqual('text =');\n expect(valid.getText()).toContain('false');\n });\n\n it('should be invalid if multi word', function() {\n input.clear();\n input.sendKeys('hello world');\n\n expect(valid.getText()).toContain('false');\n });\n </file>\n </example>\n */\n 'text': textInputType,\n\n /**\n * @ngdoc input\n * @name input[date]\n *\n * @description\n * Input with date validation and transformation. In browsers that do not yet support\n * the HTML5 date input, a text element will be used. In that case, text must be entered in a valid ISO-8601\n * date format (yyyy-MM-dd), for example: `2009-01-06`. Since many\n * modern browsers do not yet support this input type, it is important to provide cues to users on the\n * expected input format via a placeholder or label.\n *\n * The model must always be a Date object, otherwise AngularJS will throw an error.\n * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n *\n * The timezone to be used to read/write the `Date` instance in the model can be defined using\n * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`. This must be a\n * valid ISO date string (yyyy-MM-dd). You can also use interpolation inside this attribute\n * (e.g. `min=\"{{minDate | date:'yyyy-MM-dd'}}\"`). Note that `min` will also add native HTML5\n * constraint validation.\n * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`. This must be\n * a valid ISO date string (yyyy-MM-dd). You can also use interpolation inside this attribute\n * (e.g. `max=\"{{maxDate | date:'yyyy-MM-dd'}}\"`). Note that `max` will also add native HTML5\n * constraint validation.\n * @param {(date|string)=} ngMin Sets the `min` validation constraint to the Date / ISO date string\n * the `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n * @param {(date|string)=} ngMax Sets the `max` validation constraint to the Date / ISO date string\n * the `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n * `required` when you want to data-bind to the `required` attribute.\n * @param {string=} ngChange AngularJS expression to be executed when input changes due to user\n * interaction with the input element.\n *\n * @example\n <example name=\"date-input-directive\" module=\"dateInputExample\">\n <file name=\"index.html\">\n <script>\n angular.module('dateInputExample', [])\n .controller('DateController', ['$scope', function($scope) {\n $scope.example = {\n value: new Date(2013, 9, 22)\n };\n }]);\n </script>\n <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n <label for=\"exampleInput\">Pick a date in 2013:</label>\n <input type=\"date\" id=\"exampleInput\" name=\"input\" ng-model=\"example.value\"\n placeholder=\"yyyy-MM-dd\" min=\"2013-01-01\" max=\"2013-12-31\" required />\n <div role=\"alert\">\n <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n Required!</span>\n <span class=\"error\" ng-show=\"myForm.input.$error.date\">\n Not a valid date!</span>\n </div>\n <tt>value = {{example.value | date: \"yyyy-MM-dd\"}}</tt><br/>\n <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var value = element(by.binding('example.value | date: \"yyyy-MM-dd\"'));\n var valid = element(by.binding('myForm.input.$valid'));\n\n // currently protractor/webdriver does not support\n // sending keys to all known HTML5 input controls\n // for various browsers (see https://github.com/angular/protractor/issues/562).\n function setInput(val) {\n // set the value of the element and force validation.\n var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n \"ipt.value = '\" + val + \"';\" +\n \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n browser.executeScript(scr);\n }\n\n it('should initialize to model', function() {\n expect(value.getText()).toContain('2013-10-22');\n expect(valid.getText()).toContain('myForm.input.$valid = true');\n });\n\n it('should be invalid if empty', function() {\n setInput('');\n expect(value.getText()).toEqual('value =');\n expect(valid.getText()).toContain('myForm.input.$valid = false');\n });\n\n it('should be invalid if over max', function() {\n setInput('2015-01-01');\n expect(value.getText()).toContain('');\n expect(valid.getText()).toContain('myForm.input.$valid = false');\n });\n </file>\n </example>\n */\n 'date': createDateInputType('date', DATE_REGEXP,\n createDateParser(DATE_REGEXP, ['yyyy', 'MM', 'dd']),\n 'yyyy-MM-dd'),\n\n /**\n * @ngdoc input\n * @name input[datetime-local]\n *\n * @description\n * Input with datetime validation and transformation. In browsers that do not yet support\n * the HTML5 date input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n * local datetime format (yyyy-MM-ddTHH:mm:ss), for example: `2010-12-28T14:57:00`.\n *\n * The model must always be a Date object, otherwise AngularJS will throw an error.\n * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n *\n * The timezone to be used to read/write the `Date` instance in the model can be defined using\n * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n *\n * The format of the displayed time can be adjusted with the\n * {@link ng.directive:ngModelOptions#ngModelOptions-arguments ngModelOptions} `timeSecondsFormat`\n * and `timeStripZeroSeconds`.\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n * This must be a valid ISO datetime format (yyyy-MM-ddTHH:mm:ss). You can also use interpolation\n * inside this attribute (e.g. `min=\"{{minDatetimeLocal | date:'yyyy-MM-ddTHH:mm:ss'}}\"`).\n * Note that `min` will also add native HTML5 constraint validation.\n * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n * This must be a valid ISO datetime format (yyyy-MM-ddTHH:mm:ss). You can also use interpolation\n * inside this attribute (e.g. `max=\"{{maxDatetimeLocal | date:'yyyy-MM-ddTHH:mm:ss'}}\"`).\n * Note that `max` will also add native HTML5 constraint validation.\n * @param {(date|string)=} ngMin Sets the `min` validation error key to the Date / ISO datetime string\n * the `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n * @param {(date|string)=} ngMax Sets the `max` validation error key to the Date / ISO datetime string\n * the `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n * `required` when you want to data-bind to the `required` attribute.\n * @param {string=} ngChange AngularJS expression to be executed when input changes due to user\n * interaction with the input element.\n *\n * @example\n <example name=\"datetimelocal-input-directive\" module=\"dateExample\">\n <file name=\"index.html\">\n <script>\n angular.module('dateExample', [])\n .controller('DateController', ['$scope', function($scope) {\n $scope.example = {\n value: new Date(2010, 11, 28, 14, 57)\n };\n }]);\n </script>\n <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n <label for=\"exampleInput\">Pick a date between in 2013:</label>\n <input type=\"datetime-local\" id=\"exampleInput\" name=\"input\" ng-model=\"example.value\"\n placeholder=\"yyyy-MM-ddTHH:mm:ss\" min=\"2001-01-01T00:00:00\" max=\"2013-12-31T00:00:00\" required />\n <div role=\"alert\">\n <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n Required!</span>\n <span class=\"error\" ng-show=\"myForm.input.$error.datetimelocal\">\n Not a valid date!</span>\n </div>\n <tt>value = {{example.value | date: \"yyyy-MM-ddTHH:mm:ss\"}}</tt><br/>\n <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var value = element(by.binding('example.value | date: \"yyyy-MM-ddTHH:mm:ss\"'));\n var valid = element(by.binding('myForm.input.$valid'));\n\n // currently protractor/webdriver does not support\n // sending keys to all known HTML5 input controls\n // for various browsers (https://github.com/angular/protractor/issues/562).\n function setInput(val) {\n // set the value of the element and force validation.\n var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n \"ipt.value = '\" + val + \"';\" +\n \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n browser.executeScript(scr);\n }\n\n it('should initialize to model', function() {\n expect(value.getText()).toContain('2010-12-28T14:57:00');\n expect(valid.getText()).toContain('myForm.input.$valid = true');\n });\n\n it('should be invalid if empty', function() {\n setInput('');\n expect(value.getText()).toEqual('value =');\n expect(valid.getText()).toContain('myForm.input.$valid = false');\n });\n\n it('should be invalid if over max', function() {\n setInput('2015-01-01T23:59:00');\n expect(value.getText()).toContain('');\n expect(valid.getText()).toContain('myForm.input.$valid = false');\n });\n </file>\n </example>\n */\n 'datetime-local': createDateInputType('datetimelocal', DATETIMELOCAL_REGEXP,\n createDateParser(DATETIMELOCAL_REGEXP, ['yyyy', 'MM', 'dd', 'HH', 'mm', 'ss', 'sss']),\n 'yyyy-MM-ddTHH:mm:ss.sss'),\n\n /**\n * @ngdoc input\n * @name input[time]\n *\n * @description\n * Input with time validation and transformation. In browsers that do not yet support\n * the HTML5 time input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n * local time format (HH:mm:ss), for example: `14:57:00`. Model must be a Date object. This binding will always output a\n * Date object to the model of January 1, 1970, or local date `new Date(1970, 0, 1, HH, mm, ss)`.\n *\n * The model must always be a Date object, otherwise AngularJS will throw an error.\n * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n *\n * The timezone to be used to read/write the `Date` instance in the model can be defined using\n * {@link ng.directive:ngModelOptions#ngModelOptions-arguments ngModelOptions}. By default,\n * this is the timezone of the browser.\n *\n * The format of the displayed time can be adjusted with the\n * {@link ng.directive:ngModelOptions#ngModelOptions-arguments ngModelOptions} `timeSecondsFormat`\n * and `timeStripZeroSeconds`.\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n * This must be a valid ISO time format (HH:mm:ss). You can also use interpolation inside this\n * attribute (e.g. `min=\"{{minTime | date:'HH:mm:ss'}}\"`). Note that `min` will also add\n * native HTML5 constraint validation.\n * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n * This must be a valid ISO time format (HH:mm:ss). You can also use interpolation inside this\n * attribute (e.g. `max=\"{{maxTime | date:'HH:mm:ss'}}\"`). Note that `max` will also add\n * native HTML5 constraint validation.\n * @param {(date|string)=} ngMin Sets the `min` validation constraint to the Date / ISO time string the\n * `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n * @param {(date|string)=} ngMax Sets the `max` validation constraint to the Date / ISO time string the\n * `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n * `required` when you want to data-bind to the `required` attribute.\n * @param {string=} ngChange AngularJS expression to be executed when input changes due to user\n * interaction with the input element.\n *\n * @example\n <example name=\"time-input-directive\" module=\"timeExample\">\n <file name=\"index.html\">\n <script>\n angular.module('timeExample', [])\n .controller('DateController', ['$scope', function($scope) {\n $scope.example = {\n value: new Date(1970, 0, 1, 14, 57, 0)\n };\n }]);\n </script>\n <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n <label for=\"exampleInput\">Pick a time between 8am and 5pm:</label>\n <input type=\"time\" id=\"exampleInput\" name=\"input\" ng-model=\"example.value\"\n placeholder=\"HH:mm:ss\" min=\"08:00:00\" max=\"17:00:00\" required />\n <div role=\"alert\">\n <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n Required!</span>\n <span class=\"error\" ng-show=\"myForm.input.$error.time\">\n Not a valid date!</span>\n </div>\n <tt>value = {{example.value | date: \"HH:mm:ss\"}}</tt><br/>\n <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var value = element(by.binding('example.value | date: \"HH:mm:ss\"'));\n var valid = element(by.binding('myForm.input.$valid'));\n\n // currently protractor/webdriver does not support\n // sending keys to all known HTML5 input controls\n // for various browsers (https://github.com/angular/protractor/issues/562).\n function setInput(val) {\n // set the value of the element and force validation.\n var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n \"ipt.value = '\" + val + \"';\" +\n \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n browser.executeScript(scr);\n }\n\n it('should initialize to model', function() {\n expect(value.getText()).toContain('14:57:00');\n expect(valid.getText()).toContain('myForm.input.$valid = true');\n });\n\n it('should be invalid if empty', function() {\n setInput('');\n expect(value.getText()).toEqual('value =');\n expect(valid.getText()).toContain('myForm.input.$valid = false');\n });\n\n it('should be invalid if over max', function() {\n setInput('23:59:00');\n expect(value.getText()).toContain('');\n expect(valid.getText()).toContain('myForm.input.$valid = false');\n });\n </file>\n </example>\n */\n 'time': createDateInputType('time', TIME_REGEXP,\n createDateParser(TIME_REGEXP, ['HH', 'mm', 'ss', 'sss']),\n 'HH:mm:ss.sss'),\n\n /**\n * @ngdoc input\n * @name input[week]\n *\n * @description\n * Input with week-of-the-year validation and transformation to Date. In browsers that do not yet support\n * the HTML5 week input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n * week format (yyyy-W##), for example: `2013-W02`.\n *\n * The model must always be a Date object, otherwise AngularJS will throw an error.\n * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n *\n * The value of the resulting Date object will be set to Thursday at 00:00:00 of the requested week,\n * due to ISO-8601 week numbering standards. Information on ISO's system for numbering the weeks of the\n * year can be found at: https://en.wikipedia.org/wiki/ISO_8601#Week_dates\n *\n * The timezone to be used to read/write the `Date` instance in the model can be defined using\n * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n * This must be a valid ISO week format (yyyy-W##). You can also use interpolation inside this\n * attribute (e.g. `min=\"{{minWeek | date:'yyyy-Www'}}\"`). Note that `min` will also add\n * native HTML5 constraint validation.\n * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n * This must be a valid ISO week format (yyyy-W##). You can also use interpolation inside this\n * attribute (e.g. `max=\"{{maxWeek | date:'yyyy-Www'}}\"`). Note that `max` will also add\n * native HTML5 constraint validation.\n * @param {(date|string)=} ngMin Sets the `min` validation constraint to the Date / ISO week string\n * the `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n * @param {(date|string)=} ngMax Sets the `max` validation constraint to the Date / ISO week string\n * the `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n * `required` when you want to data-bind to the `required` attribute.\n * @param {string=} ngChange AngularJS expression to be executed when input changes due to user\n * interaction with the input element.\n *\n * @example\n <example name=\"week-input-directive\" module=\"weekExample\">\n <file name=\"index.html\">\n <script>\n angular.module('weekExample', [])\n .controller('DateController', ['$scope', function($scope) {\n $scope.example = {\n value: new Date(2013, 0, 3)\n };\n }]);\n </script>\n <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n <label>Pick a date between in 2013:\n <input id=\"exampleInput\" type=\"week\" name=\"input\" ng-model=\"example.value\"\n placeholder=\"YYYY-W##\" min=\"2012-W32\"\n max=\"2013-W52\" required />\n </label>\n <div role=\"alert\">\n <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n Required!</span>\n <span class=\"error\" ng-show=\"myForm.input.$error.week\">\n Not a valid date!</span>\n </div>\n <tt>value = {{example.value | date: \"yyyy-Www\"}}</tt><br/>\n <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var value = element(by.binding('example.value | date: \"yyyy-Www\"'));\n var valid = element(by.binding('myForm.input.$valid'));\n\n // currently protractor/webdriver does not support\n // sending keys to all known HTML5 input controls\n // for various browsers (https://github.com/angular/protractor/issues/562).\n function setInput(val) {\n // set the value of the element and force validation.\n var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n \"ipt.value = '\" + val + \"';\" +\n \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n browser.executeScript(scr);\n }\n\n it('should initialize to model', function() {\n expect(value.getText()).toContain('2013-W01');\n expect(valid.getText()).toContain('myForm.input.$valid = true');\n });\n\n it('should be invalid if empty', function() {\n setInput('');\n expect(value.getText()).toEqual('value =');\n expect(valid.getText()).toContain('myForm.input.$valid = false');\n });\n\n it('should be invalid if over max', function() {\n setInput('2015-W01');\n expect(value.getText()).toContain('');\n expect(valid.getText()).toContain('myForm.input.$valid = false');\n });\n </file>\n </example>\n */\n 'week': createDateInputType('week', WEEK_REGEXP, weekParser, 'yyyy-Www'),\n\n /**\n * @ngdoc input\n * @name input[month]\n *\n * @description\n * Input with month validation and transformation. In browsers that do not yet support\n * the HTML5 month input, a text element will be used. In that case, the text must be entered in a valid ISO-8601\n * month format (yyyy-MM), for example: `2009-01`.\n *\n * The model must always be a Date object, otherwise AngularJS will throw an error.\n * Invalid `Date` objects (dates whose `getTime()` is `NaN`) will be rendered as an empty string.\n * If the model is not set to the first of the month, the next view to model update will set it\n * to the first of the month.\n *\n * The timezone to be used to read/write the `Date` instance in the model can be defined using\n * {@link ng.directive:ngModelOptions ngModelOptions}. By default, this is the timezone of the browser.\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n * This must be a valid ISO month format (yyyy-MM). You can also use interpolation inside this\n * attribute (e.g. `min=\"{{minMonth | date:'yyyy-MM'}}\"`). Note that `min` will also add\n * native HTML5 constraint validation.\n * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n * This must be a valid ISO month format (yyyy-MM). You can also use interpolation inside this\n * attribute (e.g. `max=\"{{maxMonth | date:'yyyy-MM'}}\"`). Note that `max` will also add\n * native HTML5 constraint validation.\n * @param {(date|string)=} ngMin Sets the `min` validation constraint to the Date / ISO week string\n * the `ngMin` expression evaluates to. Note that it does not set the `min` attribute.\n * @param {(date|string)=} ngMax Sets the `max` validation constraint to the Date / ISO week string\n * the `ngMax` expression evaluates to. Note that it does not set the `max` attribute.\n\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n * `required` when you want to data-bind to the `required` attribute.\n * @param {string=} ngChange AngularJS expression to be executed when input changes due to user\n * interaction with the input element.\n *\n * @example\n <example name=\"month-input-directive\" module=\"monthExample\">\n <file name=\"index.html\">\n <script>\n angular.module('monthExample', [])\n .controller('DateController', ['$scope', function($scope) {\n $scope.example = {\n value: new Date(2013, 9, 1)\n };\n }]);\n </script>\n <form name=\"myForm\" ng-controller=\"DateController as dateCtrl\">\n <label for=\"exampleInput\">Pick a month in 2013:</label>\n <input id=\"exampleInput\" type=\"month\" name=\"input\" ng-model=\"example.value\"\n placeholder=\"yyyy-MM\" min=\"2013-01\" max=\"2013-12\" required />\n <div role=\"alert\">\n <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n Required!</span>\n <span class=\"error\" ng-show=\"myForm.input.$error.month\">\n Not a valid month!</span>\n </div>\n <tt>value = {{example.value | date: \"yyyy-MM\"}}</tt><br/>\n <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var value = element(by.binding('example.value | date: \"yyyy-MM\"'));\n var valid = element(by.binding('myForm.input.$valid'));\n\n // currently protractor/webdriver does not support\n // sending keys to all known HTML5 input controls\n // for various browsers (https://github.com/angular/protractor/issues/562).\n function setInput(val) {\n // set the value of the element and force validation.\n var scr = \"var ipt = document.getElementById('exampleInput'); \" +\n \"ipt.value = '\" + val + \"';\" +\n \"angular.element(ipt).scope().$apply(function(s) { s.myForm[ipt.name].$setViewValue('\" + val + \"'); });\";\n browser.executeScript(scr);\n }\n\n it('should initialize to model', function() {\n expect(value.getText()).toContain('2013-10');\n expect(valid.getText()).toContain('myForm.input.$valid = true');\n });\n\n it('should be invalid if empty', function() {\n setInput('');\n expect(value.getText()).toEqual('value =');\n expect(valid.getText()).toContain('myForm.input.$valid = false');\n });\n\n it('should be invalid if over max', function() {\n setInput('2015-01');\n expect(value.getText()).toContain('');\n expect(valid.getText()).toContain('myForm.input.$valid = false');\n });\n </file>\n </example>\n */\n 'month': createDateInputType('month', MONTH_REGEXP,\n createDateParser(MONTH_REGEXP, ['yyyy', 'MM']),\n 'yyyy-MM'),\n\n /**\n * @ngdoc input\n * @name input[number]\n *\n * @description\n * Text input with number validation and transformation. Sets the `number` validation\n * error if not a valid number.\n *\n * <div class=\"alert alert-warning\">\n * The model must always be of type `number` otherwise AngularJS will throw an error.\n * Be aware that a string containing a number is not enough. See the {@link ngModel:numfmt}\n * error docs for more information and an example of how to convert your model if necessary.\n * </div>\n *\n *\n *\n * @knownIssue\n *\n * ### HTML5 constraint validation and `allowInvalid`\n *\n * In browsers that follow the\n * [HTML5 specification](https://html.spec.whatwg.org/multipage/forms.html#number-state-%28type=number%29),\n * `input[number]` does not work as expected with {@link ngModelOptions `ngModelOptions.allowInvalid`}.\n * If a non-number is entered in the input, the browser will report the value as an empty string,\n * which means the view / model values in `ngModel` and subsequently the scope value\n * will also be an empty string.\n *\n * @knownIssue\n *\n * ### Large numbers and `step` validation\n *\n * The `step` validation will not work correctly for very large numbers (e.g. 9999999999) due to\n * Javascript's arithmetic limitations. If you need to handle large numbers, purpose-built\n * libraries (e.g. https://github.com/MikeMcl/big.js/), can be included into AngularJS by\n * {@link guide/forms#modifying-built-in-validators overwriting the validators}\n * for `number` and / or `step`, or by {@link guide/forms#custom-validation applying custom validators}\n * to an `input[text]` element. The source for `input[number]` type can be used as a starting\n * point for both implementations.\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} min Sets the `min` validation error key if the value entered is less than `min`.\n * Can be interpolated.\n * @param {string=} max Sets the `max` validation error key if the value entered is greater than `max`.\n * Can be interpolated.\n * @param {string=} ngMin Like `min`, sets the `min` validation error key if the value entered is less than `ngMin`,\n * but does not trigger HTML5 native validation. Takes an expression.\n * @param {string=} ngMax Like `max`, sets the `max` validation error key if the value entered is greater than `ngMax`,\n * but does not trigger HTML5 native validation. Takes an expression.\n * @param {string=} step Sets the `step` validation error key if the value entered does not fit the `step` constraint.\n * Can be interpolated.\n * @param {string=} ngStep Like `step`, sets the `step` validation error key if the value entered does not fit the `ngStep` constraint,\n * but does not trigger HTML5 native validation. Takes an expression.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n * `required` when you want to data-bind to the `required` attribute.\n * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n * minlength.\n * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n * maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n * any length.\n * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n * that contains the regular expression body that will be converted to a regular expression\n * as in the ngPattern directive.\n * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel {@link ngModel.NgModelController#$viewValue $viewValue}\n * does not match a RegExp found by evaluating the AngularJS expression given in the attribute value.\n * If the expression evaluates to a RegExp object, then this is used directly.\n * If the expression evaluates to a string, then it will be converted to a RegExp\n * after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n * `new RegExp('^abc$')`.<br />\n * **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n * start at the index of the last search's match, thus not taking the whole input value into\n * account.\n * @param {string=} ngChange AngularJS expression to be executed when input changes due to user\n * interaction with the input element.\n *\n * @example\n <example name=\"number-input-directive\" module=\"numberExample\">\n <file name=\"index.html\">\n <script>\n angular.module('numberExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.example = {\n value: 12\n };\n }]);\n </script>\n <form name=\"myForm\" ng-controller=\"ExampleController\">\n <label>Number:\n <input type=\"number\" name=\"input\" ng-model=\"example.value\"\n min=\"0\" max=\"99\" required>\n </label>\n <div role=\"alert\">\n <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n Required!</span>\n <span class=\"error\" ng-show=\"myForm.input.$error.number\">\n Not valid number!</span>\n </div>\n <tt>value = {{example.value}}</tt><br/>\n <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var value = element(by.binding('example.value'));\n var valid = element(by.binding('myForm.input.$valid'));\n var input = element(by.model('example.value'));\n\n it('should initialize to model', function() {\n expect(value.getText()).toContain('12');\n expect(valid.getText()).toContain('true');\n });\n\n it('should be invalid if empty', function() {\n input.clear();\n input.sendKeys('');\n expect(value.getText()).toEqual('value =');\n expect(valid.getText()).toContain('false');\n });\n\n it('should be invalid if over max', function() {\n input.clear();\n input.sendKeys('123');\n expect(value.getText()).toEqual('value =');\n expect(valid.getText()).toContain('false');\n });\n </file>\n </example>\n */\n 'number': numberInputType,\n\n\n /**\n * @ngdoc input\n * @name input[url]\n *\n * @description\n * Text input with URL validation. Sets the `url` validation error key if the content is not a\n * valid URL.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** `input[url]` uses a regex to validate urls that is derived from the regex\n * used in Chromium. If you need stricter validation, you can use `ng-pattern` or modify\n * the built-in validators (see the {@link guide/forms Forms guide})\n * </div>\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n * `required` when you want to data-bind to the `required` attribute.\n * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n * minlength.\n * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n * maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n * any length.\n * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n * that contains the regular expression body that will be converted to a regular expression\n * as in the ngPattern directive.\n * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel {@link ngModel.NgModelController#$viewValue $viewValue}\n * does not match a RegExp found by evaluating the AngularJS expression given in the attribute value.\n * If the expression evaluates to a RegExp object, then this is used directly.\n * If the expression evaluates to a string, then it will be converted to a RegExp\n * after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n * `new RegExp('^abc$')`.<br />\n * **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n * start at the index of the last search's match, thus not taking the whole input value into\n * account.\n * @param {string=} ngChange AngularJS expression to be executed when input changes due to user\n * interaction with the input element.\n *\n * @example\n <example name=\"url-input-directive\" module=\"urlExample\">\n <file name=\"index.html\">\n <script>\n angular.module('urlExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.url = {\n text: 'http://google.com'\n };\n }]);\n </script>\n <form name=\"myForm\" ng-controller=\"ExampleController\">\n <label>URL:\n <input type=\"url\" name=\"input\" ng-model=\"url.text\" required>\n <label>\n <div role=\"alert\">\n <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n Required!</span>\n <span class=\"error\" ng-show=\"myForm.input.$error.url\">\n Not valid url!</span>\n </div>\n <tt>text = {{url.text}}</tt><br/>\n <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n <tt>myForm.$error.url = {{!!myForm.$error.url}}</tt><br/>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var text = element(by.binding('url.text'));\n var valid = element(by.binding('myForm.input.$valid'));\n var input = element(by.model('url.text'));\n\n it('should initialize to model', function() {\n expect(text.getText()).toContain('http://google.com');\n expect(valid.getText()).toContain('true');\n });\n\n it('should be invalid if empty', function() {\n input.clear();\n input.sendKeys('');\n\n expect(text.getText()).toEqual('text =');\n expect(valid.getText()).toContain('false');\n });\n\n it('should be invalid if not url', function() {\n input.clear();\n input.sendKeys('box');\n\n expect(valid.getText()).toContain('false');\n });\n </file>\n </example>\n */\n 'url': urlInputType,\n\n\n /**\n * @ngdoc input\n * @name input[email]\n *\n * @description\n * Text input with email validation. Sets the `email` validation error key if not a valid email\n * address.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** `input[email]` uses a regex to validate email addresses that is derived from the regex\n * used in Chromium, which may not fulfill your app's requirements.\n * If you need stricter (e.g. requiring a top-level domain), or more relaxed validation\n * (e.g. allowing IPv6 address literals) you can use `ng-pattern` or\n * modify the built-in validators (see the {@link guide/forms Forms guide}).\n * </div>\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n * `required` when you want to data-bind to the `required` attribute.\n * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n * minlength.\n * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n * maxlength. Setting the attribute to a negative or non-numeric value, allows view values of\n * any length.\n * @param {string=} pattern Similar to `ngPattern` except that the attribute value is the actual string\n * that contains the regular expression body that will be converted to a regular expression\n * as in the ngPattern directive.\n * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel {@link ngModel.NgModelController#$viewValue $viewValue}\n * does not match a RegExp found by evaluating the AngularJS expression given in the attribute value.\n * If the expression evaluates to a RegExp object, then this is used directly.\n * If the expression evaluates to a string, then it will be converted to a RegExp\n * after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n * `new RegExp('^abc$')`.<br />\n * **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n * start at the index of the last search's match, thus not taking the whole input value into\n * account.\n * @param {string=} ngChange AngularJS expression to be executed when input changes due to user\n * interaction with the input element.\n *\n * @example\n <example name=\"email-input-directive\" module=\"emailExample\">\n <file name=\"index.html\">\n <script>\n angular.module('emailExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.email = {\n text: 'me@example.com'\n };\n }]);\n </script>\n <form name=\"myForm\" ng-controller=\"ExampleController\">\n <label>Email:\n <input type=\"email\" name=\"input\" ng-model=\"email.text\" required>\n </label>\n <div role=\"alert\">\n <span class=\"error\" ng-show=\"myForm.input.$error.required\">\n Required!</span>\n <span class=\"error\" ng-show=\"myForm.input.$error.email\">\n Not valid email!</span>\n </div>\n <tt>text = {{email.text}}</tt><br/>\n <tt>myForm.input.$valid = {{myForm.input.$valid}}</tt><br/>\n <tt>myForm.input.$error = {{myForm.input.$error}}</tt><br/>\n <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n <tt>myForm.$error.email = {{!!myForm.$error.email}}</tt><br/>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var text = element(by.binding('email.text'));\n var valid = element(by.binding('myForm.input.$valid'));\n var input = element(by.model('email.text'));\n\n it('should initialize to model', function() {\n expect(text.getText()).toContain('me@example.com');\n expect(valid.getText()).toContain('true');\n });\n\n it('should be invalid if empty', function() {\n input.clear();\n input.sendKeys('');\n expect(text.getText()).toEqual('text =');\n expect(valid.getText()).toContain('false');\n });\n\n it('should be invalid if not email', function() {\n input.clear();\n input.sendKeys('xxx');\n\n expect(valid.getText()).toContain('false');\n });\n </file>\n </example>\n */\n 'email': emailInputType,\n\n\n /**\n * @ngdoc input\n * @name input[radio]\n *\n * @description\n * HTML radio button.\n *\n * **Note:**<br>\n * All inputs controlled by {@link ngModel ngModel} (including those of type `radio`) will use the\n * value of their `name` attribute to determine the property under which their\n * {@link ngModel.NgModelController NgModelController} will be published on the parent\n * {@link form.FormController FormController}. Thus, if you use the same `name` for multiple\n * inputs of a form (e.g. a group of radio inputs), only _one_ `NgModelController` will be\n * published on the parent `FormController` under that name. The rest of the controllers will\n * continue to work as expected, but you won't be able to access them as properties on the parent\n * `FormController`.\n *\n * <div class=\"alert alert-info\">\n * <p>\n * In plain HTML forms, the `name` attribute is used to identify groups of radio inputs, so\n * that the browser can manage their state (checked/unchecked) based on the state of other\n * inputs in the same group.\n * </p>\n * <p>\n * In AngularJS forms, this is not necessary. The input's state will be updated based on the\n * value of the underlying model data.\n * </p>\n * </div>\n *\n * <div class=\"alert alert-success\">\n * If you omit the `name` attribute on a radio input, `ngModel` will automatically assign it a\n * unique name.\n * </div>\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string} value The value to which the `ngModel` expression should be set when selected.\n * Note that `value` only supports `string` values, i.e. the scope model needs to be a string,\n * too. Use `ngValue` if you need complex models (`number`, `object`, ...).\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} ngChange AngularJS expression to be executed when input changes due to user\n * interaction with the input element.\n * @param {string} ngValue AngularJS expression to which `ngModel` will be be set when the radio\n * is selected. Should be used instead of the `value` attribute if you need\n * a non-string `ngModel` (`boolean`, `array`, ...).\n *\n * @example\n <example name=\"radio-input-directive\" module=\"radioExample\">\n <file name=\"index.html\">\n <script>\n angular.module('radioExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.color = {\n name: 'blue'\n };\n $scope.specialValue = {\n \"id\": \"12345\",\n \"value\": \"green\"\n };\n }]);\n </script>\n <form name=\"myForm\" ng-controller=\"ExampleController\">\n <label>\n <input type=\"radio\" ng-model=\"color.name\" value=\"red\">\n Red\n </label><br/>\n <label>\n <input type=\"radio\" ng-model=\"color.name\" ng-value=\"specialValue\">\n Green\n </label><br/>\n <label>\n <input type=\"radio\" ng-model=\"color.name\" value=\"blue\">\n Blue\n </label><br/>\n <tt>color = {{color.name | json}}</tt><br/>\n </form>\n Note that `ng-value=\"specialValue\"` sets radio item's value to be the value of `$scope.specialValue`.\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should change state', function() {\n var inputs = element.all(by.model('color.name'));\n var color = element(by.binding('color.name'));\n\n expect(color.getText()).toContain('blue');\n\n inputs.get(0).click();\n expect(color.getText()).toContain('red');\n\n inputs.get(1).click();\n expect(color.getText()).toContain('green');\n });\n </file>\n </example>\n */\n 'radio': radioInputType,\n\n /**\n * @ngdoc input\n * @name input[range]\n *\n * @description\n * Native range input with validation and transformation.\n *\n * The model for the range input must always be a `Number`.\n *\n * IE9 and other browsers that do not support the `range` type fall back\n * to a text input without any default values for `min`, `max` and `step`. Model binding,\n * validation and number parsing are nevertheless supported.\n *\n * Browsers that support range (latest Chrome, Safari, Firefox, Edge) treat `input[range]`\n * in a way that never allows the input to hold an invalid value. That means:\n * - any non-numerical value is set to `(max + min) / 2`.\n * - any numerical value that is less than the current min val, or greater than the current max val\n * is set to the min / max val respectively.\n * - additionally, the current `step` is respected, so the nearest value that satisfies a step\n * is used.\n *\n * See the [HTML Spec on input[type=range]](https://www.w3.org/TR/html5/forms.html#range-state-(type=range))\n * for more info.\n *\n * This has the following consequences for AngularJS:\n *\n * Since the element value should always reflect the current model value, a range input\n * will set the bound ngModel expression to the value that the browser has set for the\n * input element. For example, in the following input `<input type=\"range\" ng-model=\"model.value\">`,\n * if the application sets `model.value = null`, the browser will set the input to `'50'`.\n * AngularJS will then set the model to `50`, to prevent input and model value being out of sync.\n *\n * That means the model for range will immediately be set to `50` after `ngModel` has been\n * initialized. It also means a range input can never have the required error.\n *\n * This does not only affect changes to the model value, but also to the values of the `min`,\n * `max`, and `step` attributes. When these change in a way that will cause the browser to modify\n * the input value, AngularJS will also update the model value.\n *\n * Automatic value adjustment also means that a range input element can never have the `required`,\n * `min`, or `max` errors.\n *\n * However, `step` is currently only fully implemented by Firefox. Other browsers have problems\n * when the step value changes dynamically - they do not adjust the element value correctly, but\n * instead may set the `stepMismatch` error. If that's the case, the AngularJS will set the `step`\n * error on the input, and set the model to `undefined`.\n *\n * Note that `input[range]` is not compatible with`ngMax`, `ngMin`, and `ngStep`, because they do\n * not set the `min` and `max` attributes, which means that the browser won't automatically adjust\n * the input value based on their values, and will always assume min = 0, max = 100, and step = 1.\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} min Sets the `min` validation to ensure that the value entered is greater\n * than `min`. Can be interpolated.\n * @param {string=} max Sets the `max` validation to ensure that the value entered is less than `max`.\n * Can be interpolated.\n * @param {string=} step Sets the `step` validation to ensure that the value entered matches the `step`\n * Can be interpolated.\n * @param {expression=} ngChange AngularJS expression to be executed when the ngModel value changes due\n * to user interaction with the input element.\n * @param {expression=} ngChecked If the expression is truthy, then the `checked` attribute will be set on the\n * element. **Note** : `ngChecked` should not be used alongside `ngModel`.\n * Checkout {@link ng.directive:ngChecked ngChecked} for usage.\n *\n * @example\n <example name=\"range-input-directive\" module=\"rangeExample\">\n <file name=\"index.html\">\n <script>\n angular.module('rangeExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.value = 75;\n $scope.min = 10;\n $scope.max = 90;\n }]);\n </script>\n <form name=\"myForm\" ng-controller=\"ExampleController\">\n\n Model as range: <input type=\"range\" name=\"range\" ng-model=\"value\" min=\"{{min}}\" max=\"{{max}}\">\n <hr>\n Model as number: <input type=\"number\" ng-model=\"value\"><br>\n Min: <input type=\"number\" ng-model=\"min\"><br>\n Max: <input type=\"number\" ng-model=\"max\"><br>\n value = <code>{{value}}</code><br/>\n myForm.range.$valid = <code>{{myForm.range.$valid}}</code><br/>\n myForm.range.$error = <code>{{myForm.range.$error}}</code>\n </form>\n </file>\n </example>\n\n * ## Range Input with ngMin & ngMax attributes\n\n * @example\n <example name=\"range-input-directive-ng\" module=\"rangeExample\">\n <file name=\"index.html\">\n <script>\n angular.module('rangeExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.value = 75;\n $scope.min = 10;\n $scope.max = 90;\n }]);\n </script>\n <form name=\"myForm\" ng-controller=\"ExampleController\">\n Model as range: <input type=\"range\" name=\"range\" ng-model=\"value\" ng-min=\"min\" ng-max=\"max\">\n <hr>\n Model as number: <input type=\"number\" ng-model=\"value\"><br>\n Min: <input type=\"number\" ng-model=\"min\"><br>\n Max: <input type=\"number\" ng-model=\"max\"><br>\n value = <code>{{value}}</code><br/>\n myForm.range.$valid = <code>{{myForm.range.$valid}}</code><br/>\n myForm.range.$error = <code>{{myForm.range.$error}}</code>\n </form>\n </file>\n </example>\n\n */\n 'range': rangeInputType,\n\n /**\n * @ngdoc input\n * @name input[checkbox]\n *\n * @description\n * HTML checkbox.\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {expression=} ngTrueValue The value to which the expression should be set when selected.\n * @param {expression=} ngFalseValue The value to which the expression should be set when not selected.\n * @param {string=} ngChange AngularJS expression to be executed when input changes due to user\n * interaction with the input element.\n *\n * @example\n <example name=\"checkbox-input-directive\" module=\"checkboxExample\">\n <file name=\"index.html\">\n <script>\n angular.module('checkboxExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.checkboxModel = {\n value1 : true,\n value2 : 'YES'\n };\n }]);\n </script>\n <form name=\"myForm\" ng-controller=\"ExampleController\">\n <label>Value1:\n <input type=\"checkbox\" ng-model=\"checkboxModel.value1\">\n </label><br/>\n <label>Value2:\n <input type=\"checkbox\" ng-model=\"checkboxModel.value2\"\n ng-true-value=\"'YES'\" ng-false-value=\"'NO'\">\n </label><br/>\n <tt>value1 = {{checkboxModel.value1}}</tt><br/>\n <tt>value2 = {{checkboxModel.value2}}</tt><br/>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should change state', function() {\n var value1 = element(by.binding('checkboxModel.value1'));\n var value2 = element(by.binding('checkboxModel.value2'));\n\n expect(value1.getText()).toContain('true');\n expect(value2.getText()).toContain('YES');\n\n element(by.model('checkboxModel.value1')).click();\n element(by.model('checkboxModel.value2')).click();\n\n expect(value1.getText()).toContain('false');\n expect(value2.getText()).toContain('NO');\n });\n </file>\n </example>\n */\n 'checkbox': checkboxInputType,\n\n 'hidden': noop,\n 'button': noop,\n 'submit': noop,\n 'reset': noop,\n 'file': noop\n};\n\nfunction stringBasedInputType(ctrl) {\n ctrl.$formatters.push(function(value) {\n return ctrl.$isEmpty(value) ? value : value.toString();\n });\n}\n\nfunction textInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n stringBasedInputType(ctrl);\n}\n\nfunction baseInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n var type = lowercase(element[0].type);\n\n // In composition mode, users are still inputting intermediate text buffer,\n // hold the listener until composition is done.\n // More about composition events: https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent\n if (!$sniffer.android) {\n var composing = false;\n\n element.on('compositionstart', function() {\n composing = true;\n });\n\n // Support: IE9+\n element.on('compositionupdate', function(ev) {\n // End composition when ev.data is empty string on 'compositionupdate' event.\n // When the input de-focusses (e.g. by clicking away), IE triggers 'compositionupdate'\n // instead of 'compositionend'.\n if (isUndefined(ev.data) || ev.data === '') {\n composing = false;\n }\n });\n\n element.on('compositionend', function() {\n composing = false;\n listener();\n });\n }\n\n var timeout;\n\n var listener = function(ev) {\n if (timeout) {\n $browser.defer.cancel(timeout);\n timeout = null;\n }\n if (composing) return;\n var value = element.val(),\n event = ev && ev.type;\n\n // By default we will trim the value\n // If the attribute ng-trim exists we will avoid trimming\n // If input type is 'password', the value is never trimmed\n if (type !== 'password' && (!attr.ngTrim || attr.ngTrim !== 'false')) {\n value = trim(value);\n }\n\n // If a control is suffering from bad input (due to native validators), browsers discard its\n // value, so it may be necessary to revalidate (by calling $setViewValue again) even if the\n // control's value is the same empty value twice in a row.\n if (ctrl.$viewValue !== value || (value === '' && ctrl.$$hasNativeValidators)) {\n ctrl.$setViewValue(value, event);\n }\n };\n\n // if the browser does support \"input\" event, we are fine - except on IE9 which doesn't fire the\n // input event on backspace, delete or cut\n if ($sniffer.hasEvent('input')) {\n element.on('input', listener);\n } else {\n var deferListener = function(ev, input, origValue) {\n if (!timeout) {\n timeout = $browser.defer(function() {\n timeout = null;\n if (!input || input.value !== origValue) {\n listener(ev);\n }\n });\n }\n };\n\n element.on('keydown', /** @this */ function(event) {\n var key = event.keyCode;\n\n // ignore\n // command modifiers arrows\n if (key === 91 || (15 < key && key < 19) || (37 <= key && key <= 40)) return;\n\n deferListener(event, this, this.value);\n });\n\n // if user modifies input value using context menu in IE, we need \"paste\", \"cut\" and \"drop\" events to catch it\n if ($sniffer.hasEvent('paste')) {\n element.on('paste cut drop', deferListener);\n }\n }\n\n // if user paste into input using mouse on older browser\n // or form autocomplete on newer browser, we need \"change\" event to catch it\n element.on('change', listener);\n\n // Some native input types (date-family) have the ability to change validity without\n // firing any input/change events.\n // For these event types, when native validators are present and the browser supports the type,\n // check for validity changes on various DOM events.\n if (PARTIAL_VALIDATION_TYPES[type] && ctrl.$$hasNativeValidators && type === attr.type) {\n element.on(PARTIAL_VALIDATION_EVENTS, /** @this */ function(ev) {\n if (!timeout) {\n var validity = this[VALIDITY_STATE_PROPERTY];\n var origBadInput = validity.badInput;\n var origTypeMismatch = validity.typeMismatch;\n timeout = $browser.defer(function() {\n timeout = null;\n if (validity.badInput !== origBadInput || validity.typeMismatch !== origTypeMismatch) {\n listener(ev);\n }\n });\n }\n });\n }\n\n ctrl.$render = function() {\n // Workaround for Firefox validation #12102.\n var value = ctrl.$isEmpty(ctrl.$viewValue) ? '' : ctrl.$viewValue;\n if (element.val() !== value) {\n element.val(value);\n }\n };\n}\n\nfunction weekParser(isoWeek, existingDate) {\n if (isDate(isoWeek)) {\n return isoWeek;\n }\n\n if (isString(isoWeek)) {\n WEEK_REGEXP.lastIndex = 0;\n var parts = WEEK_REGEXP.exec(isoWeek);\n if (parts) {\n var year = +parts[1],\n week = +parts[2],\n hours = 0,\n minutes = 0,\n seconds = 0,\n milliseconds = 0,\n firstThurs = getFirstThursdayOfYear(year),\n addDays = (week - 1) * 7;\n\n if (existingDate) {\n hours = existingDate.getHours();\n minutes = existingDate.getMinutes();\n seconds = existingDate.getSeconds();\n milliseconds = existingDate.getMilliseconds();\n }\n\n return new Date(year, 0, firstThurs.getDate() + addDays, hours, minutes, seconds, milliseconds);\n }\n }\n\n return NaN;\n}\n\nfunction createDateParser(regexp, mapping) {\n return function(iso, previousDate) {\n var parts, map;\n\n if (isDate(iso)) {\n return iso;\n }\n\n if (isString(iso)) {\n // When a date is JSON'ified to wraps itself inside of an extra\n // set of double quotes. This makes the date parsing code unable\n // to match the date string and parse it as a date.\n if (iso.charAt(0) === '\"' && iso.charAt(iso.length - 1) === '\"') {\n iso = iso.substring(1, iso.length - 1);\n }\n if (ISO_DATE_REGEXP.test(iso)) {\n return new Date(iso);\n }\n regexp.lastIndex = 0;\n parts = regexp.exec(iso);\n\n if (parts) {\n parts.shift();\n if (previousDate) {\n map = {\n yyyy: previousDate.getFullYear(),\n MM: previousDate.getMonth() + 1,\n dd: previousDate.getDate(),\n HH: previousDate.getHours(),\n mm: previousDate.getMinutes(),\n ss: previousDate.getSeconds(),\n sss: previousDate.getMilliseconds() / 1000\n };\n } else {\n map = { yyyy: 1970, MM: 1, dd: 1, HH: 0, mm: 0, ss: 0, sss: 0 };\n }\n\n forEach(parts, function(part, index) {\n if (index < mapping.length) {\n map[mapping[index]] = +part;\n }\n });\n\n var date = new Date(map.yyyy, map.MM - 1, map.dd, map.HH, map.mm, map.ss || 0, map.sss * 1000 || 0);\n if (map.yyyy < 100) {\n // In the constructor, 2-digit years map to 1900-1999.\n // Use `setFullYear()` to set the correct year.\n date.setFullYear(map.yyyy);\n }\n\n return date;\n }\n }\n\n return NaN;\n };\n}\n\nfunction createDateInputType(type, regexp, parseDate, format) {\n return function dynamicDateInputType(scope, element, attr, ctrl, $sniffer, $browser, $filter, $parse) {\n badInputChecker(scope, element, attr, ctrl, type);\n baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n\n var isTimeType = type === 'time' || type === 'datetimelocal';\n var previousDate;\n var previousTimezone;\n\n ctrl.$parsers.push(function(value) {\n if (ctrl.$isEmpty(value)) return null;\n\n if (regexp.test(value)) {\n // Note: We cannot read ctrl.$modelValue, as there might be a different\n // parser/formatter in the processing chain so that the model\n // contains some different data format!\n return parseDateAndConvertTimeZoneToLocal(value, previousDate);\n }\n ctrl.$$parserName = type;\n return undefined;\n });\n\n ctrl.$formatters.push(function(value) {\n if (value && !isDate(value)) {\n throw ngModelMinErr('datefmt', 'Expected `{0}` to be a date', value);\n }\n if (isValidDate(value)) {\n previousDate = value;\n var timezone = ctrl.$options.getOption('timezone');\n\n if (timezone) {\n previousTimezone = timezone;\n previousDate = convertTimezoneToLocal(previousDate, timezone, true);\n }\n\n return formatter(value, timezone);\n } else {\n previousDate = null;\n previousTimezone = null;\n return '';\n }\n });\n\n if (isDefined(attr.min) || attr.ngMin) {\n var minVal = attr.min || $parse(attr.ngMin)(scope);\n var parsedMinVal = parseObservedDateValue(minVal);\n\n ctrl.$validators.min = function(value) {\n return !isValidDate(value) || isUndefined(parsedMinVal) || parseDate(value) >= parsedMinVal;\n };\n attr.$observe('min', function(val) {\n if (val !== minVal) {\n parsedMinVal = parseObservedDateValue(val);\n minVal = val;\n ctrl.$validate();\n }\n });\n }\n\n if (isDefined(attr.max) || attr.ngMax) {\n var maxVal = attr.max || $parse(attr.ngMax)(scope);\n var parsedMaxVal = parseObservedDateValue(maxVal);\n\n ctrl.$validators.max = function(value) {\n return !isValidDate(value) || isUndefined(parsedMaxVal) || parseDate(value) <= parsedMaxVal;\n };\n attr.$observe('max', function(val) {\n if (val !== maxVal) {\n parsedMaxVal = parseObservedDateValue(val);\n maxVal = val;\n ctrl.$validate();\n }\n });\n }\n\n function isValidDate(value) {\n // Invalid Date: getTime() returns NaN\n return value && !(value.getTime && value.getTime() !== value.getTime());\n }\n\n function parseObservedDateValue(val) {\n return isDefined(val) && !isDate(val) ? parseDateAndConvertTimeZoneToLocal(val) || undefined : val;\n }\n\n function parseDateAndConvertTimeZoneToLocal(value, previousDate) {\n var timezone = ctrl.$options.getOption('timezone');\n\n if (previousTimezone && previousTimezone !== timezone) {\n // If the timezone has changed, adjust the previousDate to the default timezone\n // so that the new date is converted with the correct timezone offset\n previousDate = addDateMinutes(previousDate, timezoneToOffset(previousTimezone));\n }\n\n var parsedDate = parseDate(value, previousDate);\n\n if (!isNaN(parsedDate) && timezone) {\n parsedDate = convertTimezoneToLocal(parsedDate, timezone);\n }\n return parsedDate;\n }\n\n function formatter(value, timezone) {\n var targetFormat = format;\n\n if (isTimeType && isString(ctrl.$options.getOption('timeSecondsFormat'))) {\n targetFormat = format\n .replace('ss.sss', ctrl.$options.getOption('timeSecondsFormat'))\n .replace(/:$/, '');\n }\n\n var formatted = $filter('date')(value, targetFormat, timezone);\n\n if (isTimeType && ctrl.$options.getOption('timeStripZeroSeconds')) {\n formatted = formatted.replace(/(?::00)?(?:\\.000)?$/, '');\n }\n\n return formatted;\n }\n };\n}\n\nfunction badInputChecker(scope, element, attr, ctrl, parserName) {\n var node = element[0];\n var nativeValidation = ctrl.$$hasNativeValidators = isObject(node.validity);\n if (nativeValidation) {\n ctrl.$parsers.push(function(value) {\n var validity = element.prop(VALIDITY_STATE_PROPERTY) || {};\n if (validity.badInput || validity.typeMismatch) {\n ctrl.$$parserName = parserName;\n return undefined;\n }\n\n return value;\n });\n }\n}\n\nfunction numberFormatterParser(ctrl) {\n ctrl.$parsers.push(function(value) {\n if (ctrl.$isEmpty(value)) return null;\n if (NUMBER_REGEXP.test(value)) return parseFloat(value);\n\n ctrl.$$parserName = 'number';\n return undefined;\n });\n\n ctrl.$formatters.push(function(value) {\n if (!ctrl.$isEmpty(value)) {\n if (!isNumber(value)) {\n throw ngModelMinErr('numfmt', 'Expected `{0}` to be a number', value);\n }\n value = value.toString();\n }\n return value;\n });\n}\n\nfunction parseNumberAttrVal(val) {\n if (isDefined(val) && !isNumber(val)) {\n val = parseFloat(val);\n }\n return !isNumberNaN(val) ? val : undefined;\n}\n\nfunction isNumberInteger(num) {\n // See http://stackoverflow.com/questions/14636536/how-to-check-if-a-variable-is-an-integer-in-javascript#14794066\n // (minus the assumption that `num` is a number)\n\n // eslint-disable-next-line no-bitwise\n return (num | 0) === num;\n}\n\nfunction countDecimals(num) {\n var numString = num.toString();\n var decimalSymbolIndex = numString.indexOf('.');\n\n if (decimalSymbolIndex === -1) {\n if (-1 < num && num < 1) {\n // It may be in the exponential notation format (`1e-X`)\n var match = /e-(\\d+)$/.exec(numString);\n\n if (match) {\n return Number(match[1]);\n }\n }\n\n return 0;\n }\n\n return numString.length - decimalSymbolIndex - 1;\n}\n\nfunction isValidForStep(viewValue, stepBase, step) {\n // At this point `stepBase` and `step` are expected to be non-NaN values\n // and `viewValue` is expected to be a valid stringified number.\n var value = Number(viewValue);\n\n var isNonIntegerValue = !isNumberInteger(value);\n var isNonIntegerStepBase = !isNumberInteger(stepBase);\n var isNonIntegerStep = !isNumberInteger(step);\n\n // Due to limitations in Floating Point Arithmetic (e.g. `0.3 - 0.2 !== 0.1` or\n // `0.5 % 0.1 !== 0`), we need to convert all numbers to integers.\n if (isNonIntegerValue || isNonIntegerStepBase || isNonIntegerStep) {\n var valueDecimals = isNonIntegerValue ? countDecimals(value) : 0;\n var stepBaseDecimals = isNonIntegerStepBase ? countDecimals(stepBase) : 0;\n var stepDecimals = isNonIntegerStep ? countDecimals(step) : 0;\n\n var decimalCount = Math.max(valueDecimals, stepBaseDecimals, stepDecimals);\n var multiplier = Math.pow(10, decimalCount);\n\n value = value * multiplier;\n stepBase = stepBase * multiplier;\n step = step * multiplier;\n\n if (isNonIntegerValue) value = Math.round(value);\n if (isNonIntegerStepBase) stepBase = Math.round(stepBase);\n if (isNonIntegerStep) step = Math.round(step);\n }\n\n return (value - stepBase) % step === 0;\n}\n\nfunction numberInputType(scope, element, attr, ctrl, $sniffer, $browser, $filter, $parse) {\n badInputChecker(scope, element, attr, ctrl, 'number');\n numberFormatterParser(ctrl);\n baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n\n var parsedMinVal;\n\n if (isDefined(attr.min) || attr.ngMin) {\n var minVal = attr.min || $parse(attr.ngMin)(scope);\n parsedMinVal = parseNumberAttrVal(minVal);\n\n ctrl.$validators.min = function(modelValue, viewValue) {\n return ctrl.$isEmpty(viewValue) || isUndefined(parsedMinVal) || viewValue >= parsedMinVal;\n };\n\n attr.$observe('min', function(val) {\n if (val !== minVal) {\n parsedMinVal = parseNumberAttrVal(val);\n minVal = val;\n // TODO(matsko): implement validateLater to reduce number of validations\n ctrl.$validate();\n }\n });\n }\n\n if (isDefined(attr.max) || attr.ngMax) {\n var maxVal = attr.max || $parse(attr.ngMax)(scope);\n var parsedMaxVal = parseNumberAttrVal(maxVal);\n\n ctrl.$validators.max = function(modelValue, viewValue) {\n return ctrl.$isEmpty(viewValue) || isUndefined(parsedMaxVal) || viewValue <= parsedMaxVal;\n };\n\n attr.$observe('max', function(val) {\n if (val !== maxVal) {\n parsedMaxVal = parseNumberAttrVal(val);\n maxVal = val;\n // TODO(matsko): implement validateLater to reduce number of validations\n ctrl.$validate();\n }\n });\n }\n\n if (isDefined(attr.step) || attr.ngStep) {\n var stepVal = attr.step || $parse(attr.ngStep)(scope);\n var parsedStepVal = parseNumberAttrVal(stepVal);\n\n ctrl.$validators.step = function(modelValue, viewValue) {\n return ctrl.$isEmpty(viewValue) || isUndefined(parsedStepVal) ||\n isValidForStep(viewValue, parsedMinVal || 0, parsedStepVal);\n };\n\n attr.$observe('step', function(val) {\n // TODO(matsko): implement validateLater to reduce number of validations\n if (val !== stepVal) {\n parsedStepVal = parseNumberAttrVal(val);\n stepVal = val;\n ctrl.$validate();\n }\n\n });\n\n }\n}\n\nfunction rangeInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n badInputChecker(scope, element, attr, ctrl, 'range');\n numberFormatterParser(ctrl);\n baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n\n var supportsRange = ctrl.$$hasNativeValidators && element[0].type === 'range',\n minVal = supportsRange ? 0 : undefined,\n maxVal = supportsRange ? 100 : undefined,\n stepVal = supportsRange ? 1 : undefined,\n validity = element[0].validity,\n hasMinAttr = isDefined(attr.min),\n hasMaxAttr = isDefined(attr.max),\n hasStepAttr = isDefined(attr.step);\n\n var originalRender = ctrl.$render;\n\n ctrl.$render = supportsRange && isDefined(validity.rangeUnderflow) && isDefined(validity.rangeOverflow) ?\n //Browsers that implement range will set these values automatically, but reading the adjusted values after\n //$render would cause the min / max validators to be applied with the wrong value\n function rangeRender() {\n originalRender();\n ctrl.$setViewValue(element.val());\n } :\n originalRender;\n\n if (hasMinAttr) {\n minVal = parseNumberAttrVal(attr.min);\n\n ctrl.$validators.min = supportsRange ?\n // Since all browsers set the input to a valid value, we don't need to check validity\n function noopMinValidator() { return true; } :\n // non-support browsers validate the min val\n function minValidator(modelValue, viewValue) {\n return ctrl.$isEmpty(viewValue) || isUndefined(minVal) || viewValue >= minVal;\n };\n\n setInitialValueAndObserver('min', minChange);\n }\n\n if (hasMaxAttr) {\n maxVal = parseNumberAttrVal(attr.max);\n\n ctrl.$validators.max = supportsRange ?\n // Since all browsers set the input to a valid value, we don't need to check validity\n function noopMaxValidator() { return true; } :\n // non-support browsers validate the max val\n function maxValidator(modelValue, viewValue) {\n return ctrl.$isEmpty(viewValue) || isUndefined(maxVal) || viewValue <= maxVal;\n };\n\n setInitialValueAndObserver('max', maxChange);\n }\n\n if (hasStepAttr) {\n stepVal = parseNumberAttrVal(attr.step);\n\n ctrl.$validators.step = supportsRange ?\n function nativeStepValidator() {\n // Currently, only FF implements the spec on step change correctly (i.e. adjusting the\n // input element value to a valid value). It's possible that other browsers set the stepMismatch\n // validity error instead, so we can at least report an error in that case.\n return !validity.stepMismatch;\n } :\n // ngStep doesn't set the setp attr, so the browser doesn't adjust the input value as setting step would\n function stepValidator(modelValue, viewValue) {\n return ctrl.$isEmpty(viewValue) || isUndefined(stepVal) ||\n isValidForStep(viewValue, minVal || 0, stepVal);\n };\n\n setInitialValueAndObserver('step', stepChange);\n }\n\n function setInitialValueAndObserver(htmlAttrName, changeFn) {\n // interpolated attributes set the attribute value only after a digest, but we need the\n // attribute value when the input is first rendered, so that the browser can adjust the\n // input value based on the min/max value\n element.attr(htmlAttrName, attr[htmlAttrName]);\n var oldVal = attr[htmlAttrName];\n attr.$observe(htmlAttrName, function wrappedObserver(val) {\n if (val !== oldVal) {\n oldVal = val;\n changeFn(val);\n }\n });\n }\n\n function minChange(val) {\n minVal = parseNumberAttrVal(val);\n // ignore changes before model is initialized\n if (isNumberNaN(ctrl.$modelValue)) {\n return;\n }\n\n if (supportsRange) {\n var elVal = element.val();\n // IE11 doesn't set the el val correctly if the minVal is greater than the element value\n if (minVal > elVal) {\n elVal = minVal;\n element.val(elVal);\n }\n ctrl.$setViewValue(elVal);\n } else {\n // TODO(matsko): implement validateLater to reduce number of validations\n ctrl.$validate();\n }\n }\n\n function maxChange(val) {\n maxVal = parseNumberAttrVal(val);\n // ignore changes before model is initialized\n if (isNumberNaN(ctrl.$modelValue)) {\n return;\n }\n\n if (supportsRange) {\n var elVal = element.val();\n // IE11 doesn't set the el val correctly if the maxVal is less than the element value\n if (maxVal < elVal) {\n element.val(maxVal);\n // IE11 and Chrome don't set the value to the minVal when max < min\n elVal = maxVal < minVal ? minVal : maxVal;\n }\n ctrl.$setViewValue(elVal);\n } else {\n // TODO(matsko): implement validateLater to reduce number of validations\n ctrl.$validate();\n }\n }\n\n function stepChange(val) {\n stepVal = parseNumberAttrVal(val);\n // ignore changes before model is initialized\n if (isNumberNaN(ctrl.$modelValue)) {\n return;\n }\n\n // Some browsers don't adjust the input value correctly, but set the stepMismatch error\n if (!supportsRange) {\n // TODO(matsko): implement validateLater to reduce number of validations\n ctrl.$validate();\n } else if (ctrl.$viewValue !== element.val()) {\n ctrl.$setViewValue(element.val());\n }\n }\n}\n\nfunction urlInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n // Note: no badInputChecker here by purpose as `url` is only a validation\n // in browsers, i.e. we can always read out input.value even if it is not valid!\n baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n stringBasedInputType(ctrl);\n\n ctrl.$validators.url = function(modelValue, viewValue) {\n var value = modelValue || viewValue;\n return ctrl.$isEmpty(value) || URL_REGEXP.test(value);\n };\n}\n\nfunction emailInputType(scope, element, attr, ctrl, $sniffer, $browser) {\n // Note: no badInputChecker here by purpose as `url` is only a validation\n // in browsers, i.e. we can always read out input.value even if it is not valid!\n baseInputType(scope, element, attr, ctrl, $sniffer, $browser);\n stringBasedInputType(ctrl);\n\n ctrl.$validators.email = function(modelValue, viewValue) {\n var value = modelValue || viewValue;\n return ctrl.$isEmpty(value) || EMAIL_REGEXP.test(value);\n };\n}\n\nfunction radioInputType(scope, element, attr, ctrl) {\n var doTrim = !attr.ngTrim || trim(attr.ngTrim) !== 'false';\n // make the name unique, if not defined\n if (isUndefined(attr.name)) {\n element.attr('name', nextUid());\n }\n\n var listener = function(ev) {\n var value;\n if (element[0].checked) {\n value = attr.value;\n if (doTrim) {\n value = trim(value);\n }\n ctrl.$setViewValue(value, ev && ev.type);\n }\n };\n\n element.on('change', listener);\n\n ctrl.$render = function() {\n var value = attr.value;\n if (doTrim) {\n value = trim(value);\n }\n element[0].checked = (value === ctrl.$viewValue);\n };\n\n attr.$observe('value', ctrl.$render);\n}\n\nfunction parseConstantExpr($parse, context, name, expression, fallback) {\n var parseFn;\n if (isDefined(expression)) {\n parseFn = $parse(expression);\n if (!parseFn.constant) {\n throw ngModelMinErr('constexpr', 'Expected constant expression for `{0}`, but saw ' +\n '`{1}`.', name, expression);\n }\n return parseFn(context);\n }\n return fallback;\n}\n\nfunction checkboxInputType(scope, element, attr, ctrl, $sniffer, $browser, $filter, $parse) {\n var trueValue = parseConstantExpr($parse, scope, 'ngTrueValue', attr.ngTrueValue, true);\n var falseValue = parseConstantExpr($parse, scope, 'ngFalseValue', attr.ngFalseValue, false);\n\n var listener = function(ev) {\n ctrl.$setViewValue(element[0].checked, ev && ev.type);\n };\n\n element.on('change', listener);\n\n ctrl.$render = function() {\n element[0].checked = ctrl.$viewValue;\n };\n\n // Override the standard `$isEmpty` because the $viewValue of an empty checkbox is always set to `false`\n // This is because of the parser below, which compares the `$modelValue` with `trueValue` to convert\n // it to a boolean.\n ctrl.$isEmpty = function(value) {\n return value === false;\n };\n\n ctrl.$formatters.push(function(value) {\n return equals(value, trueValue);\n });\n\n ctrl.$parsers.push(function(value) {\n return value ? trueValue : falseValue;\n });\n}\n\n\n/**\n * @ngdoc directive\n * @name textarea\n * @restrict E\n *\n * @description\n * HTML textarea element control with AngularJS data-binding. The data-binding and validation\n * properties of this element are exactly the same as those of the\n * {@link ng.directive:input input element}.\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n * `required` when you want to data-bind to the `required` attribute.\n * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n * minlength.\n * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n * maxlength. Setting the attribute to a negative or non-numeric value, allows view values of any\n * length.\n * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel {@link ngModel.NgModelController#$viewValue $viewValue}\n * does not match a RegExp found by evaluating the AngularJS expression given in the attribute value.\n * If the expression evaluates to a RegExp object, then this is used directly.\n * If the expression evaluates to a string, then it will be converted to a RegExp\n * after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n * `new RegExp('^abc$')`.<br />\n * **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n * start at the index of the last search's match, thus not taking the whole input value into\n * account.\n * @param {string=} ngChange AngularJS expression to be executed when input changes due to user\n * interaction with the input element.\n * @param {boolean=} [ngTrim=true] If set to false AngularJS will not automatically trim the input.\n *\n * @knownIssue\n *\n * When specifying the `placeholder` attribute of `<textarea>`, Internet Explorer will temporarily\n * insert the placeholder value as the textarea's content. If the placeholder value contains\n * interpolation (`{{ ... }}`), an error will be logged in the console when AngularJS tries to update\n * the value of the by-then-removed text node. This doesn't affect the functionality of the\n * textarea, but can be undesirable.\n *\n * You can work around this Internet Explorer issue by using `ng-attr-placeholder` instead of\n * `placeholder` on textareas, whenever you need interpolation in the placeholder value. You can\n * find more details on `ngAttr` in the\n * [Interpolation](guide/interpolation#-ngattr-for-binding-to-arbitrary-attributes) section of the\n * Developer Guide.\n */\n\n\n/**\n * @ngdoc directive\n * @name input\n * @restrict E\n *\n * @description\n * HTML input element control. When used together with {@link ngModel `ngModel`}, it provides data-binding,\n * input state control, and validation.\n * Input control follows HTML5 input types and polyfills the HTML5 validation behavior for older browsers.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** Not every feature offered is available for all input types.\n * Specifically, data binding and event handling via `ng-model` is unsupported for `input[file]`.\n * </div>\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {boolean=} ngRequired Sets `required` attribute if set to true\n * @param {number=} ngMinlength Sets `minlength` validation error key if the value is shorter than\n * minlength.\n * @param {number=} ngMaxlength Sets `maxlength` validation error key if the value is longer than\n * maxlength. Setting the attribute to a negative or non-numeric value, allows view values of any\n * length.\n * @param {string=} ngPattern Sets `pattern` validation error key if the ngModel {@link ngModel.NgModelController#$viewValue $viewValue}\n * value does not match a RegExp found by evaluating the AngularJS expression given in the attribute value.\n * If the expression evaluates to a RegExp object, then this is used directly.\n * If the expression evaluates to a string, then it will be converted to a RegExp\n * after wrapping it in `^` and `$` characters. For instance, `\"abc\"` will be converted to\n * `new RegExp('^abc$')`.<br />\n * **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n * start at the index of the last search's match, thus not taking the whole input value into\n * account.\n * @param {string=} ngChange AngularJS expression to be executed when input changes due to user\n * interaction with the input element.\n * @param {boolean=} [ngTrim=true] If set to false AngularJS will not automatically trim the input.\n * This parameter is ignored for input[type=password] controls, which will never trim the\n * input.\n *\n * @example\n <example name=\"input-directive\" module=\"inputExample\">\n <file name=\"index.html\">\n <script>\n angular.module('inputExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.user = {name: 'guest', last: 'visitor'};\n }]);\n </script>\n <div ng-controller=\"ExampleController\">\n <form name=\"myForm\">\n <label>\n User name:\n <input type=\"text\" name=\"userName\" ng-model=\"user.name\" required>\n </label>\n <div role=\"alert\">\n <span class=\"error\" ng-show=\"myForm.userName.$error.required\">\n Required!</span>\n </div>\n <label>\n Last name:\n <input type=\"text\" name=\"lastName\" ng-model=\"user.last\"\n ng-minlength=\"3\" ng-maxlength=\"10\">\n </label>\n <div role=\"alert\">\n <span class=\"error\" ng-show=\"myForm.lastName.$error.minlength\">\n Too short!</span>\n <span class=\"error\" ng-show=\"myForm.lastName.$error.maxlength\">\n Too long!</span>\n </div>\n </form>\n <hr>\n <tt>user = {{user}}</tt><br/>\n <tt>myForm.userName.$valid = {{myForm.userName.$valid}}</tt><br/>\n <tt>myForm.userName.$error = {{myForm.userName.$error}}</tt><br/>\n <tt>myForm.lastName.$valid = {{myForm.lastName.$valid}}</tt><br/>\n <tt>myForm.lastName.$error = {{myForm.lastName.$error}}</tt><br/>\n <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n <tt>myForm.$error.minlength = {{!!myForm.$error.minlength}}</tt><br/>\n <tt>myForm.$error.maxlength = {{!!myForm.$error.maxlength}}</tt><br/>\n </div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var user = element(by.exactBinding('user'));\n var userNameValid = element(by.binding('myForm.userName.$valid'));\n var lastNameValid = element(by.binding('myForm.lastName.$valid'));\n var lastNameError = element(by.binding('myForm.lastName.$error'));\n var formValid = element(by.binding('myForm.$valid'));\n var userNameInput = element(by.model('user.name'));\n var userLastInput = element(by.model('user.last'));\n\n it('should initialize to model', function() {\n expect(user.getText()).toContain('{\"name\":\"guest\",\"last\":\"visitor\"}');\n expect(userNameValid.getText()).toContain('true');\n expect(formValid.getText()).toContain('true');\n });\n\n it('should be invalid if empty when required', function() {\n userNameInput.clear();\n userNameInput.sendKeys('');\n\n expect(user.getText()).toContain('{\"last\":\"visitor\"}');\n expect(userNameValid.getText()).toContain('false');\n expect(formValid.getText()).toContain('false');\n });\n\n it('should be valid if empty when min length is set', function() {\n userLastInput.clear();\n userLastInput.sendKeys('');\n\n expect(user.getText()).toContain('{\"name\":\"guest\",\"last\":\"\"}');\n expect(lastNameValid.getText()).toContain('true');\n expect(formValid.getText()).toContain('true');\n });\n\n it('should be invalid if less than required min length', function() {\n userLastInput.clear();\n userLastInput.sendKeys('xx');\n\n expect(user.getText()).toContain('{\"name\":\"guest\"}');\n expect(lastNameValid.getText()).toContain('false');\n expect(lastNameError.getText()).toContain('minlength');\n expect(formValid.getText()).toContain('false');\n });\n\n it('should be invalid if longer than max length', function() {\n userLastInput.clear();\n userLastInput.sendKeys('some ridiculously long name');\n\n expect(user.getText()).toContain('{\"name\":\"guest\"}');\n expect(lastNameValid.getText()).toContain('false');\n expect(lastNameError.getText()).toContain('maxlength');\n expect(formValid.getText()).toContain('false');\n });\n </file>\n </example>\n */\nvar inputDirective = ['$browser', '$sniffer', '$filter', '$parse',\n function($browser, $sniffer, $filter, $parse) {\n return {\n restrict: 'E',\n require: ['?ngModel'],\n link: {\n pre: function(scope, element, attr, ctrls) {\n if (ctrls[0]) {\n (inputType[lowercase(attr.type)] || inputType.text)(scope, element, attr, ctrls[0], $sniffer,\n $browser, $filter, $parse);\n }\n }\n }\n };\n}];\n\n\nvar hiddenInputBrowserCacheDirective = function() {\n var valueProperty = {\n configurable: true,\n enumerable: false,\n get: function() {\n return this.getAttribute('value') || '';\n },\n set: function(val) {\n this.setAttribute('value', val);\n }\n };\n\n return {\n restrict: 'E',\n priority: 200,\n compile: function(_, attr) {\n if (lowercase(attr.type) !== 'hidden') {\n return;\n }\n\n return {\n pre: function(scope, element, attr, ctrls) {\n var node = element[0];\n\n // Support: Edge\n // Moving the DOM around prevents autofillling\n if (node.parentNode) {\n node.parentNode.insertBefore(node, node.nextSibling);\n }\n\n // Support: FF, IE\n // Avoiding direct assignment to .value prevents autofillling\n if (Object.defineProperty) {\n Object.defineProperty(node, 'value', valueProperty);\n }\n }\n };\n }\n };\n};\n\n\n\nvar CONSTANT_VALUE_REGEXP = /^(true|false|\\d+)$/;\n/**\n * @ngdoc directive\n * @name ngValue\n * @restrict A\n * @priority 100\n *\n * @description\n * Binds the given expression to the value of the element.\n *\n * It is mainly used on {@link input[radio] `input[radio]`} and option elements,\n * so that when the element is selected, the {@link ngModel `ngModel`} of that element (or its\n * {@link select `select`} parent element) is set to the bound value. It is especially useful\n * for dynamically generated lists using {@link ngRepeat `ngRepeat`}, as shown below.\n *\n * It can also be used to achieve one-way binding of a given expression to an input element\n * such as an `input[text]` or a `textarea`, when that element does not use ngModel.\n *\n * @element ANY\n * @param {string=} ngValue AngularJS expression, whose value will be bound to the `value` attribute\n * and `value` property of the element.\n *\n * @example\n <example name=\"ngValue-directive\" module=\"valueExample\">\n <file name=\"index.html\">\n <script>\n angular.module('valueExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.names = ['pizza', 'unicorns', 'robots'];\n $scope.my = { favorite: 'unicorns' };\n }]);\n </script>\n <form ng-controller=\"ExampleController\">\n <h2>Which is your favorite?</h2>\n <label ng-repeat=\"name in names\" for=\"{{name}}\">\n {{name}}\n <input type=\"radio\"\n ng-model=\"my.favorite\"\n ng-value=\"name\"\n id=\"{{name}}\"\n name=\"favorite\">\n </label>\n <div>You chose {{my.favorite}}</div>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var favorite = element(by.binding('my.favorite'));\n\n it('should initialize to model', function() {\n expect(favorite.getText()).toContain('unicorns');\n });\n it('should bind the values to the inputs', function() {\n element.all(by.model('my.favorite')).get(0).click();\n expect(favorite.getText()).toContain('pizza');\n });\n </file>\n </example>\n */\nvar ngValueDirective = function() {\n /**\n * inputs use the value attribute as their default value if the value property is not set.\n * Once the value property has been set (by adding input), it will not react to changes to\n * the value attribute anymore. Setting both attribute and property fixes this behavior, and\n * makes it possible to use ngValue as a sort of one-way bind.\n */\n function updateElementValue(element, attr, value) {\n // Support: IE9 only\n // In IE9 values are converted to string (e.g. `input.value = null` results in `input.value === 'null'`).\n var propValue = isDefined(value) ? value : (msie === 9) ? '' : null;\n element.prop('value', propValue);\n attr.$set('value', value);\n }\n\n return {\n restrict: 'A',\n priority: 100,\n compile: function(tpl, tplAttr) {\n if (CONSTANT_VALUE_REGEXP.test(tplAttr.ngValue)) {\n return function ngValueConstantLink(scope, elm, attr) {\n var value = scope.$eval(attr.ngValue);\n updateElementValue(elm, attr, value);\n };\n } else {\n return function ngValueLink(scope, elm, attr) {\n scope.$watch(attr.ngValue, function valueWatchAction(value) {\n updateElementValue(elm, attr, value);\n });\n };\n }\n }\n };\n};\n\n/**\n * @ngdoc directive\n * @name ngBind\n * @restrict AC\n *\n * @description\n * The `ngBind` attribute tells AngularJS to replace the text content of the specified HTML element\n * with the value of a given expression, and to update the text content when the value of that\n * expression changes.\n *\n * Typically, you don't use `ngBind` directly, but instead you use the double curly markup like\n * `{{ expression }}` which is similar but less verbose.\n *\n * It is preferable to use `ngBind` instead of `{{ expression }}` if a template is momentarily\n * displayed by the browser in its raw state before AngularJS compiles it. Since `ngBind` is an\n * element attribute, it makes the bindings invisible to the user while the page is loading.\n *\n * An alternative solution to this problem would be using the\n * {@link ng.directive:ngCloak ngCloak} directive.\n *\n *\n * @element ANY\n * @param {expression} ngBind {@link guide/expression Expression} to evaluate.\n *\n * @example\n * Enter a name in the Live Preview text box; the greeting below the text box changes instantly.\n <example module=\"bindExample\" name=\"ng-bind\">\n <file name=\"index.html\">\n <script>\n angular.module('bindExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.name = 'Whirled';\n }]);\n </script>\n <div ng-controller=\"ExampleController\">\n <label>Enter name: <input type=\"text\" ng-model=\"name\"></label><br>\n Hello <span ng-bind=\"name\"></span>!\n </div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ng-bind', function() {\n var nameInput = element(by.model('name'));\n\n expect(element(by.binding('name')).getText()).toBe('Whirled');\n nameInput.clear();\n nameInput.sendKeys('world');\n expect(element(by.binding('name')).getText()).toBe('world');\n });\n </file>\n </example>\n */\nvar ngBindDirective = ['$compile', function($compile) {\n return {\n restrict: 'AC',\n compile: function ngBindCompile(templateElement) {\n $compile.$$addBindingClass(templateElement);\n return function ngBindLink(scope, element, attr) {\n $compile.$$addBindingInfo(element, attr.ngBind);\n element = element[0];\n scope.$watch(attr.ngBind, function ngBindWatchAction(value) {\n element.textContent = stringify(value);\n });\n };\n }\n };\n}];\n\n\n/**\n * @ngdoc directive\n * @name ngBindTemplate\n *\n * @description\n * The `ngBindTemplate` directive specifies that the element\n * text content should be replaced with the interpolation of the template\n * in the `ngBindTemplate` attribute.\n * Unlike `ngBind`, the `ngBindTemplate` can contain multiple `{{` `}}`\n * expressions. This directive is needed since some HTML elements\n * (such as TITLE and OPTION) cannot contain SPAN elements.\n *\n * @element ANY\n * @param {string} ngBindTemplate template of form\n * <tt>{{</tt> <tt>expression</tt> <tt>}}</tt> to eval.\n *\n * @example\n * Try it here: enter text in text box and watch the greeting change.\n <example module=\"bindExample\" name=\"ng-bind-template\">\n <file name=\"index.html\">\n <script>\n angular.module('bindExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.salutation = 'Hello';\n $scope.name = 'World';\n }]);\n </script>\n <div ng-controller=\"ExampleController\">\n <label>Salutation: <input type=\"text\" ng-model=\"salutation\"></label><br>\n <label>Name: <input type=\"text\" ng-model=\"name\"></label><br>\n <pre ng-bind-template=\"{{salutation}} {{name}}!\"></pre>\n </div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ng-bind', function() {\n var salutationElem = element(by.binding('salutation'));\n var salutationInput = element(by.model('salutation'));\n var nameInput = element(by.model('name'));\n\n expect(salutationElem.getText()).toBe('Hello World!');\n\n salutationInput.clear();\n salutationInput.sendKeys('Greetings');\n nameInput.clear();\n nameInput.sendKeys('user');\n\n expect(salutationElem.getText()).toBe('Greetings user!');\n });\n </file>\n </example>\n */\nvar ngBindTemplateDirective = ['$interpolate', '$compile', function($interpolate, $compile) {\n return {\n compile: function ngBindTemplateCompile(templateElement) {\n $compile.$$addBindingClass(templateElement);\n return function ngBindTemplateLink(scope, element, attr) {\n var interpolateFn = $interpolate(element.attr(attr.$attr.ngBindTemplate));\n $compile.$$addBindingInfo(element, interpolateFn.expressions);\n element = element[0];\n attr.$observe('ngBindTemplate', function(value) {\n element.textContent = isUndefined(value) ? '' : value;\n });\n };\n }\n };\n}];\n\n\n/**\n * @ngdoc directive\n * @name ngBindHtml\n *\n * @description\n * Evaluates the expression and inserts the resulting HTML into the element in a secure way. By default,\n * the resulting HTML content will be sanitized using the {@link ngSanitize.$sanitize $sanitize} service.\n * To utilize this functionality, ensure that `$sanitize` is available, for example, by including {@link\n * ngSanitize} in your module's dependencies (not in core AngularJS). In order to use {@link ngSanitize}\n * in your module's dependencies, you need to include \"angular-sanitize.js\" in your application.\n *\n * You may also bypass sanitization for values you know are safe. To do so, bind to\n * an explicitly trusted value via {@link ng.$sce#trustAsHtml $sce.trustAsHtml}. See the example\n * under {@link ng.$sce#show-me-an-example-using-sce- Strict Contextual Escaping (SCE)}.\n *\n * Note: If a `$sanitize` service is unavailable and the bound value isn't explicitly trusted, you\n * will have an exception (instead of an exploit.)\n *\n * @element ANY\n * @param {expression} ngBindHtml {@link guide/expression Expression} to evaluate.\n *\n * @example\n\n <example module=\"bindHtmlExample\" deps=\"angular-sanitize.js\" name=\"ng-bind-html\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n <p ng-bind-html=\"myHTML\"></p>\n </div>\n </file>\n\n <file name=\"script.js\">\n angular.module('bindHtmlExample', ['ngSanitize'])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.myHTML =\n 'I am an <code>HTML</code>string with ' +\n '<a href=\"#\">links!</a> and other <em>stuff</em>';\n }]);\n </file>\n\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ng-bind-html', function() {\n expect(element(by.binding('myHTML')).getText()).toBe(\n 'I am an HTMLstring with links! and other stuff');\n });\n </file>\n </example>\n */\nvar ngBindHtmlDirective = ['$sce', '$parse', '$compile', function($sce, $parse, $compile) {\n return {\n restrict: 'A',\n compile: function ngBindHtmlCompile(tElement, tAttrs) {\n var ngBindHtmlGetter = $parse(tAttrs.ngBindHtml);\n var ngBindHtmlWatch = $parse(tAttrs.ngBindHtml, function sceValueOf(val) {\n // Unwrap the value to compare the actual inner safe value, not the wrapper object.\n return $sce.valueOf(val);\n });\n $compile.$$addBindingClass(tElement);\n\n return function ngBindHtmlLink(scope, element, attr) {\n $compile.$$addBindingInfo(element, attr.ngBindHtml);\n\n scope.$watch(ngBindHtmlWatch, function ngBindHtmlWatchAction() {\n // The watched value is the unwrapped value. To avoid re-escaping, use the direct getter.\n var value = ngBindHtmlGetter(scope);\n element.html($sce.getTrustedHtml(value) || '');\n });\n };\n }\n };\n}];\n\n/**\n * @ngdoc directive\n * @name ngChange\n * @restrict A\n *\n * @description\n * Evaluate the given expression when the user changes the input.\n * The expression is evaluated immediately, unlike the JavaScript onchange event\n * which only triggers at the end of a change (usually, when the user leaves the\n * form element or presses the return key).\n *\n * The `ngChange` expression is only evaluated when a change in the input value causes\n * a new value to be committed to the model.\n *\n * It will not be evaluated:\n * * if the value returned from the `$parsers` transformation pipeline has not changed\n * * if the input has continued to be invalid since the model will stay `null`\n * * if the model is changed programmatically and not by a change to the input value\n *\n *\n * Note, this directive requires `ngModel` to be present.\n *\n * @element ANY\n * @param {expression} ngChange {@link guide/expression Expression} to evaluate upon change\n * in input value.\n *\n * @example\n * <example name=\"ngChange-directive\" module=\"changeExample\">\n * <file name=\"index.html\">\n * <script>\n * angular.module('changeExample', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.counter = 0;\n * $scope.change = function() {\n * $scope.counter++;\n * };\n * }]);\n * </script>\n * <div ng-controller=\"ExampleController\">\n * <input type=\"checkbox\" ng-model=\"confirmed\" ng-change=\"change()\" id=\"ng-change-example1\" />\n * <input type=\"checkbox\" ng-model=\"confirmed\" id=\"ng-change-example2\" />\n * <label for=\"ng-change-example2\">Confirmed</label><br />\n * <tt>debug = {{confirmed}}</tt><br/>\n * <tt>counter = {{counter}}</tt><br/>\n * </div>\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n * var counter = element(by.binding('counter'));\n * var debug = element(by.binding('confirmed'));\n *\n * it('should evaluate the expression if changing from view', function() {\n * expect(counter.getText()).toContain('0');\n *\n * element(by.id('ng-change-example1')).click();\n *\n * expect(counter.getText()).toContain('1');\n * expect(debug.getText()).toContain('true');\n * });\n *\n * it('should not evaluate the expression if changing from model', function() {\n * element(by.id('ng-change-example2')).click();\n\n * expect(counter.getText()).toContain('0');\n * expect(debug.getText()).toContain('true');\n * });\n * </file>\n * </example>\n */\nvar ngChangeDirective = valueFn({\n restrict: 'A',\n require: 'ngModel',\n link: function(scope, element, attr, ctrl) {\n ctrl.$viewChangeListeners.push(function() {\n scope.$eval(attr.ngChange);\n });\n }\n});\n\n/* exported\n ngClassDirective,\n ngClassEvenDirective,\n ngClassOddDirective\n*/\n\nfunction classDirective(name, selector) {\n name = 'ngClass' + name;\n var indexWatchExpression;\n\n return ['$parse', function($parse) {\n return {\n restrict: 'AC',\n link: function(scope, element, attr) {\n var classCounts = element.data('$classCounts');\n var oldModulo = true;\n var oldClassString;\n\n if (!classCounts) {\n // Use createMap() to prevent class assumptions involving property\n // names in Object.prototype\n classCounts = createMap();\n element.data('$classCounts', classCounts);\n }\n\n if (name !== 'ngClass') {\n if (!indexWatchExpression) {\n indexWatchExpression = $parse('$index', function moduloTwo($index) {\n // eslint-disable-next-line no-bitwise\n return $index & 1;\n });\n }\n\n scope.$watch(indexWatchExpression, ngClassIndexWatchAction);\n }\n\n scope.$watch($parse(attr[name], toClassString), ngClassWatchAction);\n\n function addClasses(classString) {\n classString = digestClassCounts(split(classString), 1);\n attr.$addClass(classString);\n }\n\n function removeClasses(classString) {\n classString = digestClassCounts(split(classString), -1);\n attr.$removeClass(classString);\n }\n\n function updateClasses(oldClassString, newClassString) {\n var oldClassArray = split(oldClassString);\n var newClassArray = split(newClassString);\n\n var toRemoveArray = arrayDifference(oldClassArray, newClassArray);\n var toAddArray = arrayDifference(newClassArray, oldClassArray);\n\n var toRemoveString = digestClassCounts(toRemoveArray, -1);\n var toAddString = digestClassCounts(toAddArray, 1);\n\n attr.$addClass(toAddString);\n attr.$removeClass(toRemoveString);\n }\n\n function digestClassCounts(classArray, count) {\n var classesToUpdate = [];\n\n forEach(classArray, function(className) {\n if (count > 0 || classCounts[className]) {\n classCounts[className] = (classCounts[className] || 0) + count;\n if (classCounts[className] === +(count > 0)) {\n classesToUpdate.push(className);\n }\n }\n });\n\n return classesToUpdate.join(' ');\n }\n\n function ngClassIndexWatchAction(newModulo) {\n // This watch-action should run before the `ngClassWatchAction()`, thus it\n // adds/removes `oldClassString`. If the `ngClass` expression has changed as well, the\n // `ngClassWatchAction()` will update the classes.\n if (newModulo === selector) {\n addClasses(oldClassString);\n } else {\n removeClasses(oldClassString);\n }\n\n oldModulo = newModulo;\n }\n\n function ngClassWatchAction(newClassString) {\n if (oldModulo === selector) {\n updateClasses(oldClassString, newClassString);\n }\n\n oldClassString = newClassString;\n }\n }\n };\n }];\n\n // Helpers\n function arrayDifference(tokens1, tokens2) {\n if (!tokens1 || !tokens1.length) return [];\n if (!tokens2 || !tokens2.length) return tokens1;\n\n var values = [];\n\n outer:\n for (var i = 0; i < tokens1.length; i++) {\n var token = tokens1[i];\n for (var j = 0; j < tokens2.length; j++) {\n if (token === tokens2[j]) continue outer;\n }\n values.push(token);\n }\n\n return values;\n }\n\n function split(classString) {\n return classString && classString.split(' ');\n }\n\n function toClassString(classValue) {\n if (!classValue) return classValue;\n\n var classString = classValue;\n\n if (isArray(classValue)) {\n classString = classValue.map(toClassString).join(' ');\n } else if (isObject(classValue)) {\n classString = Object.keys(classValue).\n filter(function(key) { return classValue[key]; }).\n join(' ');\n } else if (!isString(classValue)) {\n classString = classValue + '';\n }\n\n return classString;\n }\n}\n\n/**\n * @ngdoc directive\n * @name ngClass\n * @restrict AC\n * @element ANY\n *\n * @description\n * The `ngClass` directive allows you to dynamically set CSS classes on an HTML element by databinding\n * an expression that represents all classes to be added.\n *\n * The directive operates in three different ways, depending on which of three types the expression\n * evaluates to:\n *\n * 1. If the expression evaluates to a string, the string should be one or more space-delimited class\n * names.\n *\n * 2. If the expression evaluates to an object, then for each key-value pair of the\n * object with a truthy value the corresponding key is used as a class name.\n *\n * 3. If the expression evaluates to an array, each element of the array should either be a string as in\n * type 1 or an object as in type 2. This means that you can mix strings and objects together in an array\n * to give you more control over what CSS classes appear. See the code below for an example of this.\n *\n *\n * The directive won't add duplicate classes if a particular class was already set.\n *\n * When the expression changes, the previously added classes are removed and only then are the\n * new classes added.\n *\n * @knownIssue\n * You should not use {@link guide/interpolation interpolation} in the value of the `class`\n * attribute, when using the `ngClass` directive on the same element.\n * See {@link guide/interpolation#known-issues here} for more info.\n *\n * @animations\n * | Animation | Occurs |\n * |----------------------------------|-------------------------------------|\n * | {@link ng.$animate#addClass addClass} | just before the class is applied to the element |\n * | {@link ng.$animate#removeClass removeClass} | just before the class is removed from the element |\n * | {@link ng.$animate#setClass setClass} | just before classes are added and classes are removed from the element at the same time |\n *\n * ### ngClass and pre-existing CSS3 Transitions/Animations\n The ngClass directive still supports CSS3 Transitions/Animations even if they do not follow the ngAnimate CSS naming structure.\n Upon animation ngAnimate will apply supplementary CSS classes to track the start and end of an animation, but this will not hinder\n any pre-existing CSS transitions already on the element. To get an idea of what happens during a class-based animation, be sure\n to view the step by step details of {@link $animate#addClass $animate.addClass} and\n {@link $animate#removeClass $animate.removeClass}.\n *\n * @param {expression} ngClass {@link guide/expression Expression} to eval. The result\n * of the evaluation can be a string representing space delimited class\n * names, an array, or a map of class names to boolean values. In the case of a map, the\n * names of the properties whose values are truthy will be added as css classes to the\n * element.\n *\n * @example\n * ### Basic\n <example name=\"ng-class\">\n <file name=\"index.html\">\n <p ng-class=\"{strike: deleted, bold: important, 'has-error': error}\">Map Syntax Example</p>\n <label>\n <input type=\"checkbox\" ng-model=\"deleted\">\n deleted (apply \"strike\" class)\n </label><br>\n <label>\n <input type=\"checkbox\" ng-model=\"important\">\n important (apply \"bold\" class)\n </label><br>\n <label>\n <input type=\"checkbox\" ng-model=\"error\">\n error (apply \"has-error\" class)\n </label>\n <hr>\n <p ng-class=\"style\">Using String Syntax</p>\n <input type=\"text\" ng-model=\"style\"\n placeholder=\"Type: bold strike red\" aria-label=\"Type: bold strike red\">\n <hr>\n <p ng-class=\"[style1, style2, style3]\">Using Array Syntax</p>\n <input ng-model=\"style1\"\n placeholder=\"Type: bold, strike or red\" aria-label=\"Type: bold, strike or red\"><br>\n <input ng-model=\"style2\"\n placeholder=\"Type: bold, strike or red\" aria-label=\"Type: bold, strike or red 2\"><br>\n <input ng-model=\"style3\"\n placeholder=\"Type: bold, strike or red\" aria-label=\"Type: bold, strike or red 3\"><br>\n <hr>\n <p ng-class=\"[style4, {orange: warning}]\">Using Array and Map Syntax</p>\n <input ng-model=\"style4\" placeholder=\"Type: bold, strike\" aria-label=\"Type: bold, strike\"><br>\n <label><input type=\"checkbox\" ng-model=\"warning\"> warning (apply \"orange\" class)</label>\n </file>\n <file name=\"style.css\">\n .strike {\n text-decoration: line-through;\n }\n .bold {\n font-weight: bold;\n }\n .red {\n color: red;\n }\n .has-error {\n color: red;\n background-color: yellow;\n }\n .orange {\n color: orange;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var ps = element.all(by.css('p'));\n\n it('should let you toggle the class', function() {\n\n expect(ps.first().getAttribute('class')).not.toMatch(/bold/);\n expect(ps.first().getAttribute('class')).not.toMatch(/has-error/);\n\n element(by.model('important')).click();\n expect(ps.first().getAttribute('class')).toMatch(/bold/);\n\n element(by.model('error')).click();\n expect(ps.first().getAttribute('class')).toMatch(/has-error/);\n });\n\n it('should let you toggle string example', function() {\n expect(ps.get(1).getAttribute('class')).toBe('');\n element(by.model('style')).clear();\n element(by.model('style')).sendKeys('red');\n expect(ps.get(1).getAttribute('class')).toBe('red');\n });\n\n it('array example should have 3 classes', function() {\n expect(ps.get(2).getAttribute('class')).toBe('');\n element(by.model('style1')).sendKeys('bold');\n element(by.model('style2')).sendKeys('strike');\n element(by.model('style3')).sendKeys('red');\n expect(ps.get(2).getAttribute('class')).toBe('bold strike red');\n });\n\n it('array with map example should have 2 classes', function() {\n expect(ps.last().getAttribute('class')).toBe('');\n element(by.model('style4')).sendKeys('bold');\n element(by.model('warning')).click();\n expect(ps.last().getAttribute('class')).toBe('bold orange');\n });\n </file>\n </example>\n\n @example\n ### Animations\n\n The example below demonstrates how to perform animations using ngClass.\n\n <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\" name=\"ng-class\">\n <file name=\"index.html\">\n <input id=\"setbtn\" type=\"button\" value=\"set\" ng-click=\"myVar='my-class'\">\n <input id=\"clearbtn\" type=\"button\" value=\"clear\" ng-click=\"myVar=''\">\n <br>\n <span class=\"base-class\" ng-class=\"myVar\">Sample Text</span>\n </file>\n <file name=\"style.css\">\n .base-class {\n transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;\n }\n\n .base-class.my-class {\n color: red;\n font-size:3em;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ng-class', function() {\n expect(element(by.css('.base-class')).getAttribute('class')).not.\n toMatch(/my-class/);\n\n element(by.id('setbtn')).click();\n\n expect(element(by.css('.base-class')).getAttribute('class')).\n toMatch(/my-class/);\n\n element(by.id('clearbtn')).click();\n\n expect(element(by.css('.base-class')).getAttribute('class')).not.\n toMatch(/my-class/);\n });\n </file>\n </example>\n */\nvar ngClassDirective = classDirective('', true);\n\n/**\n * @ngdoc directive\n * @name ngClassOdd\n * @restrict AC\n *\n * @description\n * The `ngClassOdd` and `ngClassEven` directives work exactly as\n * {@link ng.directive:ngClass ngClass}, except they work in\n * conjunction with `ngRepeat` and take effect only on odd (even) rows.\n *\n * This directive can be applied only within the scope of an\n * {@link ng.directive:ngRepeat ngRepeat}.\n *\n * @animations\n * | Animation | Occurs |\n * |----------------------------------|-------------------------------------|\n * | {@link ng.$animate#addClass addClass} | just before the class is applied to the element |\n * | {@link ng.$animate#removeClass removeClass} | just before the class is removed from the element |\n *\n * @element ANY\n * @param {expression} ngClassOdd {@link guide/expression Expression} to eval. The result\n * of the evaluation can be a string representing space delimited class names or an array.\n *\n * @example\n <example name=\"ng-class-odd\">\n <file name=\"index.html\">\n <ol ng-init=\"names=['John', 'Mary', 'Cate', 'Suz']\">\n <li ng-repeat=\"name in names\">\n <span ng-class-odd=\"'odd'\" ng-class-even=\"'even'\">\n {{name}}\n </span>\n </li>\n </ol>\n </file>\n <file name=\"style.css\">\n .odd {\n color: red;\n }\n .even {\n color: blue;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ng-class-odd and ng-class-even', function() {\n expect(element(by.repeater('name in names').row(0).column('name')).getAttribute('class')).\n toMatch(/odd/);\n expect(element(by.repeater('name in names').row(1).column('name')).getAttribute('class')).\n toMatch(/even/);\n });\n </file>\n </example>\n *\n * <hr />\n * @example\n * An example on how to implement animations using `ngClassOdd`:\n *\n <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\" name=\"ng-class-odd-animate\">\n <file name=\"index.html\">\n <div ng-init=\"items=['Item 3', 'Item 2', 'Item 1', 'Item 0']\">\n <button ng-click=\"items.unshift('Item ' + items.length)\">Add item</button>\n <hr />\n <table>\n <tr ng-repeat=\"item in items\" ng-class-odd=\"'odd'\">\n <td>{{ item }}</td>\n </tr>\n </table>\n </div>\n </file>\n <file name=\"style.css\">\n .odd {\n background: rgba(255, 255, 0, 0.25);\n }\n\n .odd-add, .odd-remove {\n transition: 1.5s;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should add new entries to the beginning of the list', function() {\n var button = element(by.buttonText('Add item'));\n var rows = element.all(by.repeater('item in items'));\n\n expect(rows.count()).toBe(4);\n expect(rows.get(0).getText()).toBe('Item 3');\n expect(rows.get(1).getText()).toBe('Item 2');\n\n button.click();\n\n expect(rows.count()).toBe(5);\n expect(rows.get(0).getText()).toBe('Item 4');\n expect(rows.get(1).getText()).toBe('Item 3');\n });\n\n it('should add odd class to odd entries', function() {\n var button = element(by.buttonText('Add item'));\n var rows = element.all(by.repeater('item in items'));\n\n expect(rows.get(0).getAttribute('class')).toMatch(/odd/);\n expect(rows.get(1).getAttribute('class')).not.toMatch(/odd/);\n\n button.click();\n\n expect(rows.get(0).getAttribute('class')).toMatch(/odd/);\n expect(rows.get(1).getAttribute('class')).not.toMatch(/odd/);\n });\n </file>\n </example>\n */\nvar ngClassOddDirective = classDirective('Odd', 0);\n\n/**\n * @ngdoc directive\n * @name ngClassEven\n * @restrict AC\n *\n * @description\n * The `ngClassOdd` and `ngClassEven` directives work exactly as\n * {@link ng.directive:ngClass ngClass}, except they work in\n * conjunction with `ngRepeat` and take effect only on odd (even) rows.\n *\n * This directive can be applied only within the scope of an\n * {@link ng.directive:ngRepeat ngRepeat}.\n *\n * @animations\n * | Animation | Occurs |\n * |----------------------------------|-------------------------------------|\n * | {@link ng.$animate#addClass addClass} | just before the class is applied to the element |\n * | {@link ng.$animate#removeClass removeClass} | just before the class is removed from the element |\n *\n * @element ANY\n * @param {expression} ngClassEven {@link guide/expression Expression} to eval. The\n * result of the evaluation can be a string representing space delimited class names or an array.\n *\n * @example\n <example name=\"ng-class-even\">\n <file name=\"index.html\">\n <ol ng-init=\"names=['John', 'Mary', 'Cate', 'Suz']\">\n <li ng-repeat=\"name in names\">\n <span ng-class-odd=\"'odd'\" ng-class-even=\"'even'\">\n {{name}} &nbsp; &nbsp; &nbsp;\n </span>\n </li>\n </ol>\n </file>\n <file name=\"style.css\">\n .odd {\n color: red;\n }\n .even {\n color: blue;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ng-class-odd and ng-class-even', function() {\n expect(element(by.repeater('name in names').row(0).column('name')).getAttribute('class')).\n toMatch(/odd/);\n expect(element(by.repeater('name in names').row(1).column('name')).getAttribute('class')).\n toMatch(/even/);\n });\n </file>\n </example>\n *\n * <hr />\n * @example\n * An example on how to implement animations using `ngClassEven`:\n *\n <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\" name=\"ng-class-even-animate\">\n <file name=\"index.html\">\n <div ng-init=\"items=['Item 3', 'Item 2', 'Item 1', 'Item 0']\">\n <button ng-click=\"items.unshift('Item ' + items.length)\">Add item</button>\n <hr />\n <table>\n <tr ng-repeat=\"item in items\" ng-class-even=\"'even'\">\n <td>{{ item }}</td>\n </tr>\n </table>\n </div>\n </file>\n <file name=\"style.css\">\n .even {\n background: rgba(255, 255, 0, 0.25);\n }\n\n .even-add, .even-remove {\n transition: 1.5s;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should add new entries to the beginning of the list', function() {\n var button = element(by.buttonText('Add item'));\n var rows = element.all(by.repeater('item in items'));\n\n expect(rows.count()).toBe(4);\n expect(rows.get(0).getText()).toBe('Item 3');\n expect(rows.get(1).getText()).toBe('Item 2');\n\n button.click();\n\n expect(rows.count()).toBe(5);\n expect(rows.get(0).getText()).toBe('Item 4');\n expect(rows.get(1).getText()).toBe('Item 3');\n });\n\n it('should add even class to even entries', function() {\n var button = element(by.buttonText('Add item'));\n var rows = element.all(by.repeater('item in items'));\n\n expect(rows.get(0).getAttribute('class')).not.toMatch(/even/);\n expect(rows.get(1).getAttribute('class')).toMatch(/even/);\n\n button.click();\n\n expect(rows.get(0).getAttribute('class')).not.toMatch(/even/);\n expect(rows.get(1).getAttribute('class')).toMatch(/even/);\n });\n </file>\n </example>\n */\nvar ngClassEvenDirective = classDirective('Even', 1);\n\n/**\n * @ngdoc directive\n * @name ngCloak\n * @restrict AC\n *\n * @description\n * The `ngCloak` directive is used to prevent the AngularJS html template from being briefly\n * displayed by the browser in its raw (uncompiled) form while your application is loading. Use this\n * directive to avoid the undesirable flicker effect caused by the html template display.\n *\n * The directive can be applied to the `<body>` element, but the preferred usage is to apply\n * multiple `ngCloak` directives to small portions of the page to permit progressive rendering\n * of the browser view.\n *\n * `ngCloak` works in cooperation with the following css rule embedded within `angular.js` and\n * `angular.min.js`.\n * For CSP mode please add `angular-csp.css` to your html file (see {@link ng.directive:ngCsp ngCsp}).\n *\n * ```css\n * [ng\\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {\n * display: none !important;\n * }\n * ```\n *\n * When this css rule is loaded by the browser, all html elements (including their children) that\n * are tagged with the `ngCloak` directive are hidden. When AngularJS encounters this directive\n * during the compilation of the template it deletes the `ngCloak` element attribute, making\n * the compiled element visible.\n *\n * For the best result, the `angular.js` script must be loaded in the head section of the html\n * document; alternatively, the css rule above must be included in the external stylesheet of the\n * application.\n *\n * @element ANY\n *\n * @example\n <example name=\"ng-cloak\">\n <file name=\"index.html\">\n <div id=\"template1\" ng-cloak>{{ 'hello' }}</div>\n <div id=\"template2\" class=\"ng-cloak\">{{ 'world' }}</div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should remove the template directive and css class', function() {\n expect($('#template1').getAttribute('ng-cloak')).\n toBeNull();\n expect($('#template2').getAttribute('ng-cloak')).\n toBeNull();\n });\n </file>\n </example>\n *\n */\nvar ngCloakDirective = ngDirective({\n compile: function(element, attr) {\n attr.$set('ngCloak', undefined);\n element.removeClass('ng-cloak');\n }\n});\n\n/**\n * @ngdoc directive\n * @name ngController\n *\n * @description\n * The `ngController` directive attaches a controller class to the view. This is a key aspect of how angular\n * supports the principles behind the Model-View-Controller design pattern.\n *\n * MVC components in angular:\n *\n * * Model — Models are the properties of a scope; scopes are attached to the DOM where scope properties\n * are accessed through bindings.\n * * View — The template (HTML with data bindings) that is rendered into the View.\n * * Controller — The `ngController` directive specifies a Controller class; the class contains business\n * logic behind the application to decorate the scope with functions and values\n *\n * Note that you can also attach controllers to the DOM by declaring it in a route definition\n * via the {@link ngRoute.$route $route} service. A common mistake is to declare the controller\n * again using `ng-controller` in the template itself. This will cause the controller to be attached\n * and executed twice.\n *\n * @element ANY\n * @scope\n * @priority 500\n * @param {expression} ngController Name of a constructor function registered with the current\n * {@link ng.$controllerProvider $controllerProvider} or an {@link guide/expression expression}\n * that on the current scope evaluates to a constructor function.\n *\n * The controller instance can be published into a scope property by specifying\n * `ng-controller=\"as propertyName\"`.\n *\n * @example\n * Here is a simple form for editing user contact information. Adding, removing, clearing, and\n * greeting are methods declared on the controller (see source tab). These methods can\n * easily be called from the AngularJS markup. Any changes to the data are automatically reflected\n * in the View without the need for a manual update.\n *\n * Two different declaration styles are included below:\n *\n * * one binds methods and properties directly onto the controller using `this`:\n * `ng-controller=\"SettingsController1 as settings\"`\n * * one injects `$scope` into the controller:\n * `ng-controller=\"SettingsController2\"`\n *\n * The second option is more common in the AngularJS community, and is generally used in boilerplates\n * and in this guide. However, there are advantages to binding properties directly to the controller\n * and avoiding scope.\n *\n * * Using `controller as` makes it obvious which controller you are accessing in the template when\n * multiple controllers apply to an element.\n * * If you are writing your controllers as classes you have easier access to the properties and\n * methods, which will appear on the scope, from inside the controller code.\n * * Since there is always a `.` in the bindings, you don't have to worry about prototypal\n * inheritance masking primitives.\n *\n * This example demonstrates the `controller as` syntax.\n *\n * <example name=\"ngControllerAs\" module=\"controllerAsExample\">\n * <file name=\"index.html\">\n * <div id=\"ctrl-as-exmpl\" ng-controller=\"SettingsController1 as settings\">\n * <label>Name: <input type=\"text\" ng-model=\"settings.name\"/></label>\n * <button ng-click=\"settings.greet()\">greet</button><br/>\n * Contact:\n * <ul>\n * <li ng-repeat=\"contact in settings.contacts\">\n * <select ng-model=\"contact.type\" aria-label=\"Contact method\" id=\"select_{{$index}}\">\n * <option>phone</option>\n * <option>email</option>\n * </select>\n * <input type=\"text\" ng-model=\"contact.value\" aria-labelledby=\"select_{{$index}}\" />\n * <button ng-click=\"settings.clearContact(contact)\">clear</button>\n * <button ng-click=\"settings.removeContact(contact)\" aria-label=\"Remove\">X</button>\n * </li>\n * <li><button ng-click=\"settings.addContact()\">add</button></li>\n * </ul>\n * </div>\n * </file>\n * <file name=\"app.js\">\n * angular.module('controllerAsExample', [])\n * .controller('SettingsController1', SettingsController1);\n *\n * function SettingsController1() {\n * this.name = 'John Smith';\n * this.contacts = [\n * {type: 'phone', value: '408 555 1212'},\n * {type: 'email', value: 'john.smith@example.org'}\n * ];\n * }\n *\n * SettingsController1.prototype.greet = function() {\n * alert(this.name);\n * };\n *\n * SettingsController1.prototype.addContact = function() {\n * this.contacts.push({type: 'email', value: 'yourname@example.org'});\n * };\n *\n * SettingsController1.prototype.removeContact = function(contactToRemove) {\n * var index = this.contacts.indexOf(contactToRemove);\n * this.contacts.splice(index, 1);\n * };\n *\n * SettingsController1.prototype.clearContact = function(contact) {\n * contact.type = 'phone';\n * contact.value = '';\n * };\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n * it('should check controller as', function() {\n * var container = element(by.id('ctrl-as-exmpl'));\n * expect(container.element(by.model('settings.name'))\n * .getAttribute('value')).toBe('John Smith');\n *\n * var firstRepeat =\n * container.element(by.repeater('contact in settings.contacts').row(0));\n * var secondRepeat =\n * container.element(by.repeater('contact in settings.contacts').row(1));\n *\n * expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))\n * .toBe('408 555 1212');\n *\n * expect(secondRepeat.element(by.model('contact.value')).getAttribute('value'))\n * .toBe('john.smith@example.org');\n *\n * firstRepeat.element(by.buttonText('clear')).click();\n *\n * expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))\n * .toBe('');\n *\n * container.element(by.buttonText('add')).click();\n *\n * expect(container.element(by.repeater('contact in settings.contacts').row(2))\n * .element(by.model('contact.value'))\n * .getAttribute('value'))\n * .toBe('yourname@example.org');\n * });\n * </file>\n * </example>\n *\n * This example demonstrates the \"attach to `$scope`\" style of controller.\n *\n * <example name=\"ngController\" module=\"controllerExample\">\n * <file name=\"index.html\">\n * <div id=\"ctrl-exmpl\" ng-controller=\"SettingsController2\">\n * <label>Name: <input type=\"text\" ng-model=\"name\"/></label>\n * <button ng-click=\"greet()\">greet</button><br/>\n * Contact:\n * <ul>\n * <li ng-repeat=\"contact in contacts\">\n * <select ng-model=\"contact.type\" id=\"select_{{$index}}\">\n * <option>phone</option>\n * <option>email</option>\n * </select>\n * <input type=\"text\" ng-model=\"contact.value\" aria-labelledby=\"select_{{$index}}\" />\n * <button ng-click=\"clearContact(contact)\">clear</button>\n * <button ng-click=\"removeContact(contact)\">X</button>\n * </li>\n * <li>[ <button ng-click=\"addContact()\">add</button> ]</li>\n * </ul>\n * </div>\n * </file>\n * <file name=\"app.js\">\n * angular.module('controllerExample', [])\n * .controller('SettingsController2', ['$scope', SettingsController2]);\n *\n * function SettingsController2($scope) {\n * $scope.name = 'John Smith';\n * $scope.contacts = [\n * {type:'phone', value:'408 555 1212'},\n * {type:'email', value:'john.smith@example.org'}\n * ];\n *\n * $scope.greet = function() {\n * alert($scope.name);\n * };\n *\n * $scope.addContact = function() {\n * $scope.contacts.push({type:'email', value:'yourname@example.org'});\n * };\n *\n * $scope.removeContact = function(contactToRemove) {\n * var index = $scope.contacts.indexOf(contactToRemove);\n * $scope.contacts.splice(index, 1);\n * };\n *\n * $scope.clearContact = function(contact) {\n * contact.type = 'phone';\n * contact.value = '';\n * };\n * }\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n * it('should check controller', function() {\n * var container = element(by.id('ctrl-exmpl'));\n *\n * expect(container.element(by.model('name'))\n * .getAttribute('value')).toBe('John Smith');\n *\n * var firstRepeat =\n * container.element(by.repeater('contact in contacts').row(0));\n * var secondRepeat =\n * container.element(by.repeater('contact in contacts').row(1));\n *\n * expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))\n * .toBe('408 555 1212');\n * expect(secondRepeat.element(by.model('contact.value')).getAttribute('value'))\n * .toBe('john.smith@example.org');\n *\n * firstRepeat.element(by.buttonText('clear')).click();\n *\n * expect(firstRepeat.element(by.model('contact.value')).getAttribute('value'))\n * .toBe('');\n *\n * container.element(by.buttonText('add')).click();\n *\n * expect(container.element(by.repeater('contact in contacts').row(2))\n * .element(by.model('contact.value'))\n * .getAttribute('value'))\n * .toBe('yourname@example.org');\n * });\n * </file>\n *</example>\n\n */\nvar ngControllerDirective = [function() {\n return {\n restrict: 'A',\n scope: true,\n controller: '@',\n priority: 500\n };\n}];\n\n/**\n * @ngdoc directive\n * @name ngCsp\n *\n * @restrict A\n * @element ANY\n * @description\n *\n * AngularJS has some features that can conflict with certain restrictions that are applied when using\n * [CSP (Content Security Policy)](https://developer.mozilla.org/en/Security/CSP) rules.\n *\n * If you intend to implement CSP with these rules then you must tell AngularJS not to use these\n * features.\n *\n * This is necessary when developing things like Google Chrome Extensions or Universal Windows Apps.\n *\n *\n * The following default rules in CSP affect AngularJS:\n *\n * * The use of `eval()`, `Function(string)` and similar functions to dynamically create and execute\n * code from strings is forbidden. AngularJS makes use of this in the {@link $parse} service to\n * provide a 30% increase in the speed of evaluating AngularJS expressions. (This CSP rule can be\n * disabled with the CSP keyword `unsafe-eval`, but it is generally not recommended as it would\n * weaken the protections offered by CSP.)\n *\n * * The use of inline resources, such as inline `<script>` and `<style>` elements, are forbidden.\n * This prevents apps from injecting custom styles directly into the document. AngularJS makes use of\n * this to include some CSS rules (e.g. {@link ngCloak} and {@link ngHide}). To make these\n * directives work when a CSP rule is blocking inline styles, you must link to the `angular-csp.css`\n * in your HTML manually. (This CSP rule can be disabled with the CSP keyword `unsafe-inline`, but\n * it is generally not recommended as it would weaken the protections offered by CSP.)\n *\n * If you do not provide `ngCsp` then AngularJS tries to autodetect if CSP is blocking dynamic code\n * creation from strings (e.g., `unsafe-eval` not specified in CSP header) and automatically\n * deactivates this feature in the {@link $parse} service. This autodetection, however, triggers a\n * CSP error to be logged in the console:\n *\n * ```\n * Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of\n * script in the following Content Security Policy directive: \"default-src 'self'\". Note that\n * 'script-src' was not explicitly set, so 'default-src' is used as a fallback.\n * ```\n *\n * This error is harmless but annoying. To prevent the error from showing up, put the `ngCsp`\n * directive on an element of the HTML document that appears before the `<script>` tag that loads\n * the `angular.js` file.\n *\n * *Note: This directive is only available in the `ng-csp` and `data-ng-csp` attribute form.*\n *\n * You can specify which of the CSP related AngularJS features should be deactivated by providing\n * a value for the `ng-csp` attribute. The options are as follows:\n *\n * * no-inline-style: this stops AngularJS from injecting CSS styles into the DOM\n *\n * * no-unsafe-eval: this stops AngularJS from optimizing $parse with unsafe eval of strings\n *\n * You can use these values in the following combinations:\n *\n *\n * * No declaration means that AngularJS will assume that you can do inline styles, but it will do\n * a runtime check for unsafe-eval. E.g. `<body>`. This is backwardly compatible with previous\n * versions of AngularJS.\n *\n * * A simple `ng-csp` (or `data-ng-csp`) attribute will tell AngularJS to deactivate both inline\n * styles and unsafe eval. E.g. `<body ng-csp>`. This is backwardly compatible with previous\n * versions of AngularJS.\n *\n * * Specifying only `no-unsafe-eval` tells AngularJS that we must not use eval, but that we can\n * inject inline styles. E.g. `<body ng-csp=\"no-unsafe-eval\">`.\n *\n * * Specifying only `no-inline-style` tells AngularJS that we must not inject styles, but that we can\n * run eval - no automatic check for unsafe eval will occur. E.g. `<body ng-csp=\"no-inline-style\">`\n *\n * * Specifying both `no-unsafe-eval` and `no-inline-style` tells AngularJS that we must not inject\n * styles nor use eval, which is the same as an empty: ng-csp.\n * E.g.`<body ng-csp=\"no-inline-style;no-unsafe-eval\">`\n *\n * @example\n *\n * This example shows how to apply the `ngCsp` directive to the `html` tag.\n ```html\n <!doctype html>\n <html ng-app ng-csp>\n ...\n ...\n </html>\n ```\n\n <!-- Note: the `.csp` suffix in the example name triggers CSP mode in our http server! -->\n <example name=\"example.csp\" module=\"cspExample\" ng-csp=\"true\">\n <file name=\"index.html\">\n <div ng-controller=\"MainController as ctrl\">\n <div>\n <button ng-click=\"ctrl.inc()\" id=\"inc\">Increment</button>\n <span id=\"counter\">\n {{ctrl.counter}}\n </span>\n </div>\n\n <div>\n <button ng-click=\"ctrl.evil()\" id=\"evil\">Evil</button>\n <span id=\"evilError\">\n {{ctrl.evilError}}\n </span>\n </div>\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('cspExample', [])\n .controller('MainController', function MainController() {\n this.counter = 0;\n this.inc = function() {\n this.counter++;\n };\n this.evil = function() {\n try {\n eval('1+2'); // eslint-disable-line no-eval\n } catch (e) {\n this.evilError = e.message;\n }\n };\n });\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var util, webdriver;\n\n var incBtn = element(by.id('inc'));\n var counter = element(by.id('counter'));\n var evilBtn = element(by.id('evil'));\n var evilError = element(by.id('evilError'));\n\n function getAndClearSevereErrors() {\n return browser.manage().logs().get('browser').then(function(browserLog) {\n return browserLog.filter(function(logEntry) {\n return logEntry.level.value > webdriver.logging.Level.WARNING.value;\n });\n });\n }\n\n function clearErrors() {\n getAndClearSevereErrors();\n }\n\n function expectNoErrors() {\n getAndClearSevereErrors().then(function(filteredLog) {\n expect(filteredLog.length).toEqual(0);\n if (filteredLog.length) {\n console.log('browser console errors: ' + util.inspect(filteredLog));\n }\n });\n }\n\n function expectError(regex) {\n getAndClearSevereErrors().then(function(filteredLog) {\n var found = false;\n filteredLog.forEach(function(log) {\n if (log.message.match(regex)) {\n found = true;\n }\n });\n if (!found) {\n throw new Error('expected an error that matches ' + regex);\n }\n });\n }\n\n beforeEach(function() {\n util = require('util');\n webdriver = require('selenium-webdriver');\n });\n\n // For now, we only test on Chrome,\n // as Safari does not load the page with Protractor's injected scripts,\n // and Firefox webdriver always disables content security policy (#6358)\n if (browser.params.browser !== 'chrome') {\n return;\n }\n\n it('should not report errors when the page is loaded', function() {\n // clear errors so we are not dependent on previous tests\n clearErrors();\n // Need to reload the page as the page is already loaded when\n // we come here\n browser.driver.getCurrentUrl().then(function(url) {\n browser.get(url);\n });\n expectNoErrors();\n });\n\n it('should evaluate expressions', function() {\n expect(counter.getText()).toEqual('0');\n incBtn.click();\n expect(counter.getText()).toEqual('1');\n expectNoErrors();\n });\n\n it('should throw and report an error when using \"eval\"', function() {\n evilBtn.click();\n expect(evilError.getText()).toMatch(/Content Security Policy/);\n expectError(/Content Security Policy/);\n });\n </file>\n </example>\n */\n\n// `ngCsp` is not implemented as a proper directive any more, because we need it be processed while\n// we bootstrap the app (before `$parse` is instantiated). For this reason, we just have the `csp()`\n// fn that looks for the `ng-csp` attribute anywhere in the current doc.\n\n/**\n * @ngdoc directive\n * @name ngClick\n * @restrict A\n * @element ANY\n * @priority 0\n *\n * @description\n * The ngClick directive allows you to specify custom behavior when\n * an element is clicked.\n *\n * @param {expression} ngClick {@link guide/expression Expression} to evaluate upon\n * click. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n <example name=\"ng-click\">\n <file name=\"index.html\">\n <button ng-click=\"count = count + 1\" ng-init=\"count=0\">\n Increment\n </button>\n <span>\n count: {{count}}\n </span>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ng-click', function() {\n expect(element(by.binding('count')).getText()).toMatch('0');\n element(by.css('button')).click();\n expect(element(by.binding('count')).getText()).toMatch('1');\n });\n </file>\n </example>\n */\n/*\n * A collection of directives that allows creation of custom event handlers that are defined as\n * AngularJS expressions and are compiled and executed within the current scope.\n */\nvar ngEventDirectives = {};\n\n// For events that might fire synchronously during DOM manipulation\n// we need to execute their event handlers asynchronously using $evalAsync,\n// so that they are not executed in an inconsistent state.\nvar forceAsyncEvents = {\n 'blur': true,\n 'focus': true\n};\nforEach(\n 'click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste'.split(' '),\n function(eventName) {\n var directiveName = directiveNormalize('ng-' + eventName);\n ngEventDirectives[directiveName] = ['$parse', '$rootScope', '$exceptionHandler', function($parse, $rootScope, $exceptionHandler) {\n return createEventDirective($parse, $rootScope, $exceptionHandler, directiveName, eventName, forceAsyncEvents[eventName]);\n }];\n }\n);\n\nfunction createEventDirective($parse, $rootScope, $exceptionHandler, directiveName, eventName, forceAsync) {\n return {\n restrict: 'A',\n compile: function($element, attr) {\n // NOTE:\n // We expose the powerful `$event` object on the scope that provides access to the Window,\n // etc. This is OK, because expressions are not sandboxed any more (and the expression\n // sandbox was never meant to be a security feature anyway).\n var fn = $parse(attr[directiveName]);\n return function ngEventHandler(scope, element) {\n element.on(eventName, function(event) {\n var callback = function() {\n fn(scope, {$event: event});\n };\n\n if (!$rootScope.$$phase) {\n scope.$apply(callback);\n } else if (forceAsync) {\n scope.$evalAsync(callback);\n } else {\n try {\n callback();\n } catch (error) {\n $exceptionHandler(error);\n }\n }\n });\n };\n }\n };\n}\n\n/**\n * @ngdoc directive\n * @name ngDblclick\n * @restrict A\n * @element ANY\n * @priority 0\n *\n * @description\n * The `ngDblclick` directive allows you to specify custom behavior on a dblclick event.\n *\n * @param {expression} ngDblclick {@link guide/expression Expression} to evaluate upon\n * a dblclick. (The Event object is available as `$event`)\n *\n * @example\n <example name=\"ng-dblclick\">\n <file name=\"index.html\">\n <button ng-dblclick=\"count = count + 1\" ng-init=\"count=0\">\n Increment (on double click)\n </button>\n count: {{count}}\n </file>\n </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMousedown\n * @restrict A\n * @element ANY\n * @priority 0\n *\n * @description\n * The ngMousedown directive allows you to specify custom behavior on mousedown event.\n *\n * @param {expression} ngMousedown {@link guide/expression Expression} to evaluate upon\n * mousedown. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n <example name=\"ng-mousedown\">\n <file name=\"index.html\">\n <button ng-mousedown=\"count = count + 1\" ng-init=\"count=0\">\n Increment (on mouse down)\n </button>\n count: {{count}}\n </file>\n </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMouseup\n * @restrict A\n * @element ANY\n * @priority 0\n *\n * @description\n * Specify custom behavior on mouseup event.\n *\n * @param {expression} ngMouseup {@link guide/expression Expression} to evaluate upon\n * mouseup. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n <example name=\"ng-mouseup\">\n <file name=\"index.html\">\n <button ng-mouseup=\"count = count + 1\" ng-init=\"count=0\">\n Increment (on mouse up)\n </button>\n count: {{count}}\n </file>\n </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngMouseover\n * @restrict A\n * @element ANY\n * @priority 0\n *\n * @description\n * Specify custom behavior on mouseover event.\n *\n * @param {expression} ngMouseover {@link guide/expression Expression} to evaluate upon\n * mouseover. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n <example name=\"ng-mouseover\">\n <file name=\"index.html\">\n <button ng-mouseover=\"count = count + 1\" ng-init=\"count=0\">\n Increment (when mouse is over)\n </button>\n count: {{count}}\n </file>\n </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMouseenter\n * @restrict A\n * @element ANY\n * @priority 0\n *\n * @description\n * Specify custom behavior on mouseenter event.\n *\n * @param {expression} ngMouseenter {@link guide/expression Expression} to evaluate upon\n * mouseenter. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n <example name=\"ng-mouseenter\">\n <file name=\"index.html\">\n <button ng-mouseenter=\"count = count + 1\" ng-init=\"count=0\">\n Increment (when mouse enters)\n </button>\n count: {{count}}\n </file>\n </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMouseleave\n * @restrict A\n * @element ANY\n * @priority 0\n *\n * @description\n * Specify custom behavior on mouseleave event.\n *\n * @param {expression} ngMouseleave {@link guide/expression Expression} to evaluate upon\n * mouseleave. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n <example name=\"ng-mouseleave\">\n <file name=\"index.html\">\n <button ng-mouseleave=\"count = count + 1\" ng-init=\"count=0\">\n Increment (when mouse leaves)\n </button>\n count: {{count}}\n </file>\n </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngMousemove\n * @restrict A\n * @element ANY\n * @priority 0\n *\n * @description\n * Specify custom behavior on mousemove event.\n *\n * @param {expression} ngMousemove {@link guide/expression Expression} to evaluate upon\n * mousemove. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n <example name=\"ng-mousemove\">\n <file name=\"index.html\">\n <button ng-mousemove=\"count = count + 1\" ng-init=\"count=0\">\n Increment (when mouse moves)\n </button>\n count: {{count}}\n </file>\n </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngKeydown\n * @restrict A\n * @element ANY\n * @priority 0\n *\n * @description\n * Specify custom behavior on keydown event.\n *\n * @param {expression} ngKeydown {@link guide/expression Expression} to evaluate upon\n * keydown. (Event object is available as `$event` and can be interrogated for keyCode, altKey, etc.)\n *\n * @example\n <example name=\"ng-keydown\">\n <file name=\"index.html\">\n <input ng-keydown=\"count = count + 1\" ng-init=\"count=0\">\n key down count: {{count}}\n </file>\n </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngKeyup\n * @restrict A\n * @element ANY\n * @priority 0\n *\n * @description\n * Specify custom behavior on keyup event.\n *\n * @param {expression} ngKeyup {@link guide/expression Expression} to evaluate upon\n * keyup. (Event object is available as `$event` and can be interrogated for keyCode, altKey, etc.)\n *\n * @example\n <example name=\"ng-keyup\">\n <file name=\"index.html\">\n <p>Typing in the input box below updates the key count</p>\n <input ng-keyup=\"count = count + 1\" ng-init=\"count=0\"> key up count: {{count}}\n\n <p>Typing in the input box below updates the keycode</p>\n <input ng-keyup=\"event=$event\">\n <p>event keyCode: {{ event.keyCode }}</p>\n <p>event altKey: {{ event.altKey }}</p>\n </file>\n </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngKeypress\n * @restrict A\n * @element ANY\n *\n * @description\n * Specify custom behavior on keypress event.\n *\n * @param {expression} ngKeypress {@link guide/expression Expression} to evaluate upon\n * keypress. ({@link guide/expression#-event- Event object is available as `$event`}\n * and can be interrogated for keyCode, altKey, etc.)\n *\n * @example\n <example name=\"ng-keypress\">\n <file name=\"index.html\">\n <input ng-keypress=\"count = count + 1\" ng-init=\"count=0\">\n key press count: {{count}}\n </file>\n </example>\n */\n\n\n/**\n * @ngdoc directive\n * @name ngSubmit\n * @restrict A\n * @element form\n * @priority 0\n *\n * @description\n * Enables binding AngularJS expressions to onsubmit events.\n *\n * Additionally it prevents the default action (which for form means sending the request to the\n * server and reloading the current page), but only if the form does not contain `action`,\n * `data-action`, or `x-action` attributes.\n *\n * <div class=\"alert alert-warning\">\n * **Warning:** Be careful not to cause \"double-submission\" by using both the `ngClick` and\n * `ngSubmit` handlers together. See the\n * {@link form#submitting-a-form-and-preventing-the-default-action `form` directive documentation}\n * for a detailed discussion of when `ngSubmit` may be triggered.\n * </div>\n *\n * @param {expression} ngSubmit {@link guide/expression Expression} to eval.\n * ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n <example module=\"submitExample\" name=\"ng-submit\">\n <file name=\"index.html\">\n <script>\n angular.module('submitExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.list = [];\n $scope.text = 'hello';\n $scope.submit = function() {\n if ($scope.text) {\n $scope.list.push(this.text);\n $scope.text = '';\n }\n };\n }]);\n </script>\n <form ng-submit=\"submit()\" ng-controller=\"ExampleController\">\n Enter text and hit enter:\n <input type=\"text\" ng-model=\"text\" name=\"text\" />\n <input type=\"submit\" id=\"submit\" value=\"Submit\" />\n <pre>list={{list}}</pre>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ng-submit', function() {\n expect(element(by.binding('list')).getText()).toBe('list=[]');\n element(by.css('#submit')).click();\n expect(element(by.binding('list')).getText()).toContain('hello');\n expect(element(by.model('text')).getAttribute('value')).toBe('');\n });\n it('should ignore empty strings', function() {\n expect(element(by.binding('list')).getText()).toBe('list=[]');\n element(by.css('#submit')).click();\n element(by.css('#submit')).click();\n expect(element(by.binding('list')).getText()).toContain('hello');\n });\n </file>\n </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngFocus\n * @restrict A\n * @element window, input, select, textarea, a\n * @priority 0\n *\n * @description\n * Specify custom behavior on focus event.\n *\n * Note: As the `focus` event is executed synchronously when calling `input.focus()`\n * AngularJS executes the expression using `scope.$evalAsync` if the event is fired\n * during an `$apply` to ensure a consistent state.\n *\n * @param {expression} ngFocus {@link guide/expression Expression} to evaluate upon\n * focus. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n * See {@link ng.directive:ngClick ngClick}\n */\n\n/**\n * @ngdoc directive\n * @name ngBlur\n * @restrict A\n * @element window, input, select, textarea, a\n * @priority 0\n *\n * @description\n * Specify custom behavior on blur event.\n *\n * A [blur event](https://developer.mozilla.org/en-US/docs/Web/Events/blur) fires when\n * an element has lost focus.\n *\n * Note: As the `blur` event is executed synchronously also during DOM manipulations\n * (e.g. removing a focussed input),\n * AngularJS executes the expression using `scope.$evalAsync` if the event is fired\n * during an `$apply` to ensure a consistent state.\n *\n * @param {expression} ngBlur {@link guide/expression Expression} to evaluate upon\n * blur. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n * See {@link ng.directive:ngClick ngClick}\n */\n\n/**\n * @ngdoc directive\n * @name ngCopy\n * @restrict A\n * @element window, input, select, textarea, a\n * @priority 0\n *\n * @description\n * Specify custom behavior on copy event.\n *\n * @param {expression} ngCopy {@link guide/expression Expression} to evaluate upon\n * copy. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n <example name=\"ng-copy\">\n <file name=\"index.html\">\n <input ng-copy=\"copied=true\" ng-init=\"copied=false; value='copy me'\" ng-model=\"value\">\n copied: {{copied}}\n </file>\n </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngCut\n * @restrict A\n * @element window, input, select, textarea, a\n * @priority 0\n *\n * @description\n * Specify custom behavior on cut event.\n *\n * @param {expression} ngCut {@link guide/expression Expression} to evaluate upon\n * cut. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n <example name=\"ng-cut\">\n <file name=\"index.html\">\n <input ng-cut=\"cut=true\" ng-init=\"cut=false; value='cut me'\" ng-model=\"value\">\n cut: {{cut}}\n </file>\n </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngPaste\n * @restrict A\n * @element window, input, select, textarea, a\n * @priority 0\n *\n * @description\n * Specify custom behavior on paste event.\n *\n * @param {expression} ngPaste {@link guide/expression Expression} to evaluate upon\n * paste. ({@link guide/expression#-event- Event object is available as `$event`})\n *\n * @example\n <example name=\"ng-paste\">\n <file name=\"index.html\">\n <input ng-paste=\"paste=true\" ng-init=\"paste=false\" placeholder='paste here'>\n pasted: {{paste}}\n </file>\n </example>\n */\n\n/**\n * @ngdoc directive\n * @name ngIf\n * @restrict A\n * @multiElement\n *\n * @description\n * The `ngIf` directive removes or recreates a portion of the DOM tree based on an\n * {expression}. If the expression assigned to `ngIf` evaluates to a false\n * value then the element is removed from the DOM, otherwise a clone of the\n * element is reinserted into the DOM.\n *\n * `ngIf` differs from `ngShow` and `ngHide` in that `ngIf` completely removes and recreates the\n * element in the DOM rather than changing its visibility via the `display` css property. A common\n * case when this difference is significant is when using css selectors that rely on an element's\n * position within the DOM, such as the `:first-child` or `:last-child` pseudo-classes.\n *\n * Note that when an element is removed using `ngIf` its scope is destroyed and a new scope\n * is created when the element is restored. The scope created within `ngIf` inherits from\n * its parent scope using\n * [prototypal inheritance](https://github.com/angular/angular.js/wiki/Understanding-Scopes#javascript-prototypal-inheritance).\n * An important implication of this is if `ngModel` is used within `ngIf` to bind to\n * a javascript primitive defined in the parent scope. In this case any modifications made to the\n * variable within the child scope will override (hide) the value in the parent scope.\n *\n * Also, `ngIf` recreates elements using their compiled state. An example of this behavior\n * is if an element's class attribute is directly modified after it's compiled, using something like\n * jQuery's `.addClass()` method, and the element is later removed. When `ngIf` recreates the element\n * the added class will be lost because the original compiled state is used to regenerate the element.\n *\n * Additionally, you can provide animations via the `ngAnimate` module to animate the `enter`\n * and `leave` effects.\n *\n * @animations\n * | Animation | Occurs |\n * |----------------------------------|-------------------------------------|\n * | {@link ng.$animate#enter enter} | just after the `ngIf` contents change and a new DOM element is created and injected into the `ngIf` container |\n * | {@link ng.$animate#leave leave} | just before the `ngIf` contents are removed from the DOM |\n *\n * @element ANY\n * @scope\n * @priority 600\n * @param {expression} ngIf If the {@link guide/expression expression} is falsy then\n * the element is removed from the DOM tree. If it is truthy a copy of the compiled\n * element is added to the DOM tree.\n *\n * @example\n <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\" name=\"ng-if\">\n <file name=\"index.html\">\n <label>Click me: <input type=\"checkbox\" ng-model=\"checked\" ng-init=\"checked=true\" /></label><br/>\n Show when checked:\n <span ng-if=\"checked\" class=\"animate-if\">\n This is removed when the checkbox is unchecked.\n </span>\n </file>\n <file name=\"animations.css\">\n .animate-if {\n background:white;\n border:1px solid black;\n padding:10px;\n }\n\n .animate-if.ng-enter, .animate-if.ng-leave {\n transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;\n }\n\n .animate-if.ng-enter,\n .animate-if.ng-leave.ng-leave-active {\n opacity:0;\n }\n\n .animate-if.ng-leave,\n .animate-if.ng-enter.ng-enter-active {\n opacity:1;\n }\n </file>\n </example>\n */\nvar ngIfDirective = ['$animate', '$compile', function($animate, $compile) {\n return {\n multiElement: true,\n transclude: 'element',\n priority: 600,\n terminal: true,\n restrict: 'A',\n $$tlb: true,\n link: function($scope, $element, $attr, ctrl, $transclude) {\n var block, childScope, previousElements;\n $scope.$watch($attr.ngIf, function ngIfWatchAction(value) {\n\n if (value) {\n if (!childScope) {\n $transclude(function(clone, newScope) {\n childScope = newScope;\n clone[clone.length++] = $compile.$$createComment('end ngIf', $attr.ngIf);\n // Note: We only need the first/last node of the cloned nodes.\n // However, we need to keep the reference to the jqlite wrapper as it might be changed later\n // by a directive with templateUrl when its template arrives.\n block = {\n clone: clone\n };\n $animate.enter(clone, $element.parent(), $element);\n });\n }\n } else {\n if (previousElements) {\n previousElements.remove();\n previousElements = null;\n }\n if (childScope) {\n childScope.$destroy();\n childScope = null;\n }\n if (block) {\n previousElements = getBlockNodes(block.clone);\n $animate.leave(previousElements).done(function(response) {\n if (response !== false) previousElements = null;\n });\n block = null;\n }\n }\n });\n }\n };\n}];\n\n/**\n * @ngdoc directive\n * @name ngInclude\n * @restrict ECA\n * @scope\n * @priority -400\n *\n * @description\n * Fetches, compiles and includes an external HTML fragment.\n *\n * By default, the template URL is restricted to the same domain and protocol as the\n * application document. This is done by calling {@link $sce#getTrustedResourceUrl\n * $sce.getTrustedResourceUrl} on it. To load templates from other domains or protocols\n * you may either {@link ng.$sceDelegateProvider#resourceUrlWhitelist whitelist them} or\n * {@link $sce#trustAsResourceUrl wrap them} as trusted values. Refer to AngularJS's {@link\n * ng.$sce Strict Contextual Escaping}.\n *\n * In addition, the browser's\n * [Same Origin Policy](https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest)\n * and [Cross-Origin Resource Sharing (CORS)](http://www.w3.org/TR/cors/)\n * policy may further restrict whether the template is successfully loaded.\n * For example, `ngInclude` won't work for cross-domain requests on all browsers and for `file://`\n * access on some browsers.\n *\n * @animations\n * | Animation | Occurs |\n * |----------------------------------|-------------------------------------|\n * | {@link ng.$animate#enter enter} | when the expression changes, on the new include |\n * | {@link ng.$animate#leave leave} | when the expression changes, on the old include |\n *\n * The enter and leave animation occur concurrently.\n *\n * @param {string} ngInclude|src AngularJS expression evaluating to URL. If the source is a string constant,\n * make sure you wrap it in **single** quotes, e.g. `src=\"'myPartialTemplate.html'\"`.\n * @param {string=} onload Expression to evaluate when a new partial is loaded.\n * <div class=\"alert alert-warning\">\n * **Note:** When using onload on SVG elements in IE11, the browser will try to call\n * a function with the name on the window element, which will usually throw a\n * \"function is undefined\" error. To fix this, you can instead use `data-onload` or a\n * different form that {@link guide/directive#normalization matches} `onload`.\n * </div>\n *\n * @param {string=} autoscroll Whether `ngInclude` should call {@link ng.$anchorScroll\n * $anchorScroll} to scroll the viewport after the content is loaded.\n *\n * - If the attribute is not set, disable scrolling.\n * - If the attribute is set without value, enable scrolling.\n * - Otherwise enable scrolling only if the expression evaluates to truthy value.\n *\n * @example\n <example module=\"includeExample\" deps=\"angular-animate.js\" animations=\"true\" name=\"ng-include\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n <select ng-model=\"template\" ng-options=\"t.name for t in templates\">\n <option value=\"\">(blank)</option>\n </select>\n url of the template: <code>{{template.url}}</code>\n <hr/>\n <div class=\"slide-animate-container\">\n <div class=\"slide-animate\" ng-include=\"template.url\"></div>\n </div>\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('includeExample', ['ngAnimate'])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.templates =\n [{ name: 'template1.html', url: 'template1.html'},\n { name: 'template2.html', url: 'template2.html'}];\n $scope.template = $scope.templates[0];\n }]);\n </file>\n <file name=\"template1.html\">\n Content of template1.html\n </file>\n <file name=\"template2.html\">\n Content of template2.html\n </file>\n <file name=\"animations.css\">\n .slide-animate-container {\n position:relative;\n background:white;\n border:1px solid black;\n height:40px;\n overflow:hidden;\n }\n\n .slide-animate {\n padding:10px;\n }\n\n .slide-animate.ng-enter, .slide-animate.ng-leave {\n transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;\n\n position:absolute;\n top:0;\n left:0;\n right:0;\n bottom:0;\n display:block;\n padding:10px;\n }\n\n .slide-animate.ng-enter {\n top:-50px;\n }\n .slide-animate.ng-enter.ng-enter-active {\n top:0;\n }\n\n .slide-animate.ng-leave {\n top:0;\n }\n .slide-animate.ng-leave.ng-leave-active {\n top:50px;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var templateSelect = element(by.model('template'));\n var includeElem = element(by.css('[ng-include]'));\n\n it('should load template1.html', function() {\n expect(includeElem.getText()).toMatch(/Content of template1.html/);\n });\n\n it('should load template2.html', function() {\n if (browser.params.browser === 'firefox') {\n // Firefox can't handle using selects\n // See https://github.com/angular/protractor/issues/480\n return;\n }\n templateSelect.click();\n templateSelect.all(by.css('option')).get(2).click();\n expect(includeElem.getText()).toMatch(/Content of template2.html/);\n });\n\n it('should change to blank', function() {\n if (browser.params.browser === 'firefox') {\n // Firefox can't handle using selects\n return;\n }\n templateSelect.click();\n templateSelect.all(by.css('option')).get(0).click();\n expect(includeElem.isPresent()).toBe(false);\n });\n </file>\n </example>\n */\n\n\n/**\n * @ngdoc event\n * @name ngInclude#$includeContentRequested\n * @eventType emit on the scope ngInclude was declared in\n * @description\n * Emitted every time the ngInclude content is requested.\n *\n * @param {Object} angularEvent Synthetic event object.\n * @param {String} src URL of content to load.\n */\n\n\n/**\n * @ngdoc event\n * @name ngInclude#$includeContentLoaded\n * @eventType emit on the current ngInclude scope\n * @description\n * Emitted every time the ngInclude content is reloaded.\n *\n * @param {Object} angularEvent Synthetic event object.\n * @param {String} src URL of content to load.\n */\n\n\n/**\n * @ngdoc event\n * @name ngInclude#$includeContentError\n * @eventType emit on the scope ngInclude was declared in\n * @description\n * Emitted when a template HTTP request yields an erroneous response (status < 200 || status > 299)\n *\n * @param {Object} angularEvent Synthetic event object.\n * @param {String} src URL of content to load.\n */\nvar ngIncludeDirective = ['$templateRequest', '$anchorScroll', '$animate',\n function($templateRequest, $anchorScroll, $animate) {\n return {\n restrict: 'ECA',\n priority: 400,\n terminal: true,\n transclude: 'element',\n controller: angular.noop,\n compile: function(element, attr) {\n var srcExp = attr.ngInclude || attr.src,\n onloadExp = attr.onload || '',\n autoScrollExp = attr.autoscroll;\n\n return function(scope, $element, $attr, ctrl, $transclude) {\n var changeCounter = 0,\n currentScope,\n previousElement,\n currentElement;\n\n var cleanupLastIncludeContent = function() {\n if (previousElement) {\n previousElement.remove();\n previousElement = null;\n }\n if (currentScope) {\n currentScope.$destroy();\n currentScope = null;\n }\n if (currentElement) {\n $animate.leave(currentElement).done(function(response) {\n if (response !== false) previousElement = null;\n });\n previousElement = currentElement;\n currentElement = null;\n }\n };\n\n scope.$watch(srcExp, function ngIncludeWatchAction(src) {\n var afterAnimation = function(response) {\n if (response !== false && isDefined(autoScrollExp) &&\n (!autoScrollExp || scope.$eval(autoScrollExp))) {\n $anchorScroll();\n }\n };\n var thisChangeId = ++changeCounter;\n\n if (src) {\n //set the 2nd param to true to ignore the template request error so that the inner\n //contents and scope can be cleaned up.\n $templateRequest(src, true).then(function(response) {\n if (scope.$$destroyed) return;\n\n if (thisChangeId !== changeCounter) return;\n var newScope = scope.$new();\n ctrl.template = response;\n\n // Note: This will also link all children of ng-include that were contained in the original\n // html. If that content contains controllers, ... they could pollute/change the scope.\n // However, using ng-include on an element with additional content does not make sense...\n // Note: We can't remove them in the cloneAttchFn of $transclude as that\n // function is called before linking the content, which would apply child\n // directives to non existing elements.\n var clone = $transclude(newScope, function(clone) {\n cleanupLastIncludeContent();\n $animate.enter(clone, null, $element).done(afterAnimation);\n });\n\n currentScope = newScope;\n currentElement = clone;\n\n currentScope.$emit('$includeContentLoaded', src);\n scope.$eval(onloadExp);\n }, function() {\n if (scope.$$destroyed) return;\n\n if (thisChangeId === changeCounter) {\n cleanupLastIncludeContent();\n scope.$emit('$includeContentError', src);\n }\n });\n scope.$emit('$includeContentRequested', src);\n } else {\n cleanupLastIncludeContent();\n ctrl.template = null;\n }\n });\n };\n }\n };\n}];\n\n// This directive is called during the $transclude call of the first `ngInclude` directive.\n// It will replace and compile the content of the element with the loaded template.\n// We need this directive so that the element content is already filled when\n// the link function of another directive on the same element as ngInclude\n// is called.\nvar ngIncludeFillContentDirective = ['$compile',\n function($compile) {\n return {\n restrict: 'ECA',\n priority: -400,\n require: 'ngInclude',\n link: function(scope, $element, $attr, ctrl) {\n if (toString.call($element[0]).match(/SVG/)) {\n // WebKit: https://bugs.webkit.org/show_bug.cgi?id=135698 --- SVG elements do not\n // support innerHTML, so detect this here and try to generate the contents\n // specially.\n $element.empty();\n $compile(jqLiteBuildFragment(ctrl.template, window.document).childNodes)(scope,\n function namespaceAdaptedClone(clone) {\n $element.append(clone);\n }, {futureParentElement: $element});\n return;\n }\n\n $element.html(ctrl.template);\n $compile($element.contents())(scope);\n }\n };\n }];\n\n/**\n * @ngdoc directive\n * @name ngInit\n * @restrict AC\n * @priority 450\n * @element ANY\n *\n * @param {expression} ngInit {@link guide/expression Expression} to eval.\n *\n * @description\n * The `ngInit` directive allows you to evaluate an expression in the\n * current scope.\n *\n * <div class=\"alert alert-danger\">\n * This directive can be abused to add unnecessary amounts of logic into your templates.\n * There are only a few appropriate uses of `ngInit`:\n * <ul>\n * <li>aliasing special properties of {@link ng.directive:ngRepeat `ngRepeat`},\n * as seen in the demo below.</li>\n * <li>initializing data during development, or for examples, as seen throughout these docs.</li>\n * <li>injecting data via server side scripting.</li>\n * </ul>\n *\n * Besides these few cases, you should use {@link guide/component Components} or\n * {@link guide/controller Controllers} rather than `ngInit` to initialize values on a scope.\n * </div>\n *\n * <div class=\"alert alert-warning\">\n * **Note**: If you have assignment in `ngInit` along with a {@link ng.$filter `filter`}, make\n * sure you have parentheses to ensure correct operator precedence:\n * <pre class=\"prettyprint\">\n * `<div ng-init=\"test1 = ($index | toString)\"></div>`\n * </pre>\n * </div>\n *\n * @example\n <example module=\"initExample\" name=\"ng-init\">\n <file name=\"index.html\">\n <script>\n angular.module('initExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.list = [['a', 'b'], ['c', 'd']];\n }]);\n </script>\n <div ng-controller=\"ExampleController\">\n <div ng-repeat=\"innerList in list\" ng-init=\"outerIndex = $index\">\n <div ng-repeat=\"value in innerList\" ng-init=\"innerIndex = $index\">\n <span class=\"example-init\">list[ {{outerIndex}} ][ {{innerIndex}} ] = {{value}};</span>\n </div>\n </div>\n </div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should alias index positions', function() {\n var elements = element.all(by.css('.example-init'));\n expect(elements.get(0).getText()).toBe('list[ 0 ][ 0 ] = a;');\n expect(elements.get(1).getText()).toBe('list[ 0 ][ 1 ] = b;');\n expect(elements.get(2).getText()).toBe('list[ 1 ][ 0 ] = c;');\n expect(elements.get(3).getText()).toBe('list[ 1 ][ 1 ] = d;');\n });\n </file>\n </example>\n */\nvar ngInitDirective = ngDirective({\n priority: 450,\n compile: function() {\n return {\n pre: function(scope, element, attrs) {\n scope.$eval(attrs.ngInit);\n }\n };\n }\n});\n\n/**\n * @ngdoc directive\n * @name ngList\n * @restrict A\n * @priority 100\n *\n * @param {string=} ngList optional delimiter that should be used to split the value.\n *\n * @description\n * Text input that converts between a delimited string and an array of strings. The default\n * delimiter is a comma followed by a space - equivalent to `ng-list=\", \"`. You can specify a custom\n * delimiter as the value of the `ngList` attribute - for example, `ng-list=\" | \"`.\n *\n * The behaviour of the directive is affected by the use of the `ngTrim` attribute.\n * * If `ngTrim` is set to `\"false\"` then whitespace around both the separator and each\n * list item is respected. This implies that the user of the directive is responsible for\n * dealing with whitespace but also allows you to use whitespace as a delimiter, such as a\n * tab or newline character.\n * * Otherwise whitespace around the delimiter is ignored when splitting (although it is respected\n * when joining the list items back together) and whitespace around each list item is stripped\n * before it is added to the model.\n *\n * @example\n * ### Validation\n *\n * <example name=\"ngList-directive\" module=\"listExample\">\n * <file name=\"app.js\">\n * angular.module('listExample', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.names = ['morpheus', 'neo', 'trinity'];\n * }]);\n * </file>\n * <file name=\"index.html\">\n * <form name=\"myForm\" ng-controller=\"ExampleController\">\n * <label>List: <input name=\"namesInput\" ng-model=\"names\" ng-list required></label>\n * <span role=\"alert\">\n * <span class=\"error\" ng-show=\"myForm.namesInput.$error.required\">\n * Required!</span>\n * </span>\n * <br>\n * <tt>names = {{names}}</tt><br/>\n * <tt>myForm.namesInput.$valid = {{myForm.namesInput.$valid}}</tt><br/>\n * <tt>myForm.namesInput.$error = {{myForm.namesInput.$error}}</tt><br/>\n * <tt>myForm.$valid = {{myForm.$valid}}</tt><br/>\n * <tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br/>\n * </form>\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n * var listInput = element(by.model('names'));\n * var names = element(by.exactBinding('names'));\n * var valid = element(by.binding('myForm.namesInput.$valid'));\n * var error = element(by.css('span.error'));\n *\n * it('should initialize to model', function() {\n * expect(names.getText()).toContain('[\"morpheus\",\"neo\",\"trinity\"]');\n * expect(valid.getText()).toContain('true');\n * expect(error.getCssValue('display')).toBe('none');\n * });\n *\n * it('should be invalid if empty', function() {\n * listInput.clear();\n * listInput.sendKeys('');\n *\n * expect(names.getText()).toContain('');\n * expect(valid.getText()).toContain('false');\n * expect(error.getCssValue('display')).not.toBe('none');\n * });\n * </file>\n * </example>\n *\n * @example\n * ### Splitting on newline\n *\n * <example name=\"ngList-directive-newlines\">\n * <file name=\"index.html\">\n * <textarea ng-model=\"list\" ng-list=\"&#10;\" ng-trim=\"false\"></textarea>\n * <pre>{{ list | json }}</pre>\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n * it(\"should split the text by newlines\", function() {\n * var listInput = element(by.model('list'));\n * var output = element(by.binding('list | json'));\n * listInput.sendKeys('abc\\ndef\\nghi');\n * expect(output.getText()).toContain('[\\n \"abc\",\\n \"def\",\\n \"ghi\"\\n]');\n * });\n * </file>\n * </example>\n *\n */\nvar ngListDirective = function() {\n return {\n restrict: 'A',\n priority: 100,\n require: 'ngModel',\n link: function(scope, element, attr, ctrl) {\n var ngList = attr.ngList || ', ';\n var trimValues = attr.ngTrim !== 'false';\n var separator = trimValues ? trim(ngList) : ngList;\n\n var parse = function(viewValue) {\n // If the viewValue is invalid (say required but empty) it will be `undefined`\n if (isUndefined(viewValue)) return;\n\n var list = [];\n\n if (viewValue) {\n forEach(viewValue.split(separator), function(value) {\n if (value) list.push(trimValues ? trim(value) : value);\n });\n }\n\n return list;\n };\n\n ctrl.$parsers.push(parse);\n ctrl.$formatters.push(function(value) {\n if (isArray(value)) {\n return value.join(ngList);\n }\n\n return undefined;\n });\n\n // Override the standard $isEmpty because an empty array means the input is empty.\n ctrl.$isEmpty = function(value) {\n return !value || !value.length;\n };\n }\n };\n};\n\n/* global VALID_CLASS: true,\n INVALID_CLASS: true,\n PRISTINE_CLASS: true,\n DIRTY_CLASS: true,\n UNTOUCHED_CLASS: true,\n TOUCHED_CLASS: true,\n PENDING_CLASS: true,\n addSetValidityMethod: true,\n setupValidity: true,\n defaultModelOptions: false\n*/\n\n\nvar VALID_CLASS = 'ng-valid',\n INVALID_CLASS = 'ng-invalid',\n PRISTINE_CLASS = 'ng-pristine',\n DIRTY_CLASS = 'ng-dirty',\n UNTOUCHED_CLASS = 'ng-untouched',\n TOUCHED_CLASS = 'ng-touched',\n EMPTY_CLASS = 'ng-empty',\n NOT_EMPTY_CLASS = 'ng-not-empty';\n\nvar ngModelMinErr = minErr('ngModel');\n\n/**\n * @ngdoc type\n * @name ngModel.NgModelController\n * @property {*} $viewValue The actual value from the control's view. For `input` elements, this is a\n * String. See {@link ngModel.NgModelController#$setViewValue} for information about when the $viewValue\n * is set.\n *\n * @property {*} $modelValue The value in the model that the control is bound to.\n *\n * @property {Array.<Function>} $parsers Array of functions to execute, as a pipeline, whenever\n * the control updates the ngModelController with a new {@link ngModel.NgModelController#$viewValue\n `$viewValue`} from the DOM, usually via user input.\n See {@link ngModel.NgModelController#$setViewValue `$setViewValue()`} for a detailed lifecycle explanation.\n Note that the `$parsers` are not called when the bound ngModel expression changes programmatically.\n\n The functions are called in array order, each passing\n its return value through to the next. The last return value is forwarded to the\n {@link ngModel.NgModelController#$validators `$validators`} collection.\n\n Parsers are used to sanitize / convert the {@link ngModel.NgModelController#$viewValue\n `$viewValue`}.\n\n Returning `undefined` from a parser means a parse error occurred. In that case,\n no {@link ngModel.NgModelController#$validators `$validators`} will run and the `ngModel`\n will be set to `undefined` unless {@link ngModelOptions `ngModelOptions.allowInvalid`}\n is set to `true`. The parse error is stored in `ngModel.$error.parse`.\n\n This simple example shows a parser that would convert text input value to lowercase:\n * ```js\n * function parse(value) {\n * if (value) {\n * return value.toLowerCase();\n * }\n * }\n * ngModelController.$parsers.push(parse);\n * ```\n\n *\n * @property {Array.<Function>} $formatters Array of functions to execute, as a pipeline, whenever\n the bound ngModel expression changes programmatically. The `$formatters` are not called when the\n value of the control is changed by user interaction.\n\n Formatters are used to format / convert the {@link ngModel.NgModelController#$modelValue\n `$modelValue`} for display in the control.\n\n The functions are called in reverse array order, each passing the value through to the\n next. The last return value is used as the actual DOM value.\n\n This simple example shows a formatter that would convert the model value to uppercase:\n\n * ```js\n * function format(value) {\n * if (value) {\n * return value.toUpperCase();\n * }\n * }\n * ngModel.$formatters.push(format);\n * ```\n *\n * @property {Object.<string, function>} $validators A collection of validators that are applied\n * whenever the model value changes. The key value within the object refers to the name of the\n * validator while the function refers to the validation operation. The validation operation is\n * provided with the model value as an argument and must return a true or false value depending\n * on the response of that validation.\n *\n * ```js\n * ngModel.$validators.validCharacters = function(modelValue, viewValue) {\n * var value = modelValue || viewValue;\n * return /[0-9]+/.test(value) &&\n * /[a-z]+/.test(value) &&\n * /[A-Z]+/.test(value) &&\n * /\\W+/.test(value);\n * };\n * ```\n *\n * @property {Object.<string, function>} $asyncValidators A collection of validations that are expected to\n * perform an asynchronous validation (e.g. a HTTP request). The validation function that is provided\n * is expected to return a promise when it is run during the model validation process. Once the promise\n * is delivered then the validation status will be set to true when fulfilled and false when rejected.\n * When the asynchronous validators are triggered, each of the validators will run in parallel and the model\n * value will only be updated once all validators have been fulfilled. As long as an asynchronous validator\n * is unfulfilled, its key will be added to the controllers `$pending` property. Also, all asynchronous validators\n * will only run once all synchronous validators have passed.\n *\n * Please note that if $http is used then it is important that the server returns a success HTTP response code\n * in order to fulfill the validation and a status level of `4xx` in order to reject the validation.\n *\n * ```js\n * ngModel.$asyncValidators.uniqueUsername = function(modelValue, viewValue) {\n * var value = modelValue || viewValue;\n *\n * // Lookup user by username\n * return $http.get('/api/users/' + value).\n * then(function resolved() {\n * //username exists, this means validation fails\n * return $q.reject('exists');\n * }, function rejected() {\n * //username does not exist, therefore this validation passes\n * return true;\n * });\n * };\n * ```\n *\n * @property {Array.<Function>} $viewChangeListeners Array of functions to execute whenever\n * a change to {@link ngModel.NgModelController#$viewValue `$viewValue`} has caused a change\n * to {@link ngModel.NgModelController#$modelValue `$modelValue`}.\n * It is called with no arguments, and its return value is ignored.\n * This can be used in place of additional $watches against the model value.\n *\n * @property {Object} $error An object hash with all failing validator ids as keys.\n * @property {Object} $pending An object hash with all pending validator ids as keys.\n *\n * @property {boolean} $untouched True if control has not lost focus yet.\n * @property {boolean} $touched True if control has lost focus.\n * @property {boolean} $pristine True if user has not interacted with the control yet.\n * @property {boolean} $dirty True if user has already interacted with the control.\n * @property {boolean} $valid True if there is no error.\n * @property {boolean} $invalid True if at least one error on the control.\n * @property {string} $name The name attribute of the control.\n *\n * @description\n *\n * `NgModelController` provides API for the {@link ngModel `ngModel`} directive.\n * The controller contains services for data-binding, validation, CSS updates, and value formatting\n * and parsing. It purposefully does not contain any logic which deals with DOM rendering or\n * listening to DOM events.\n * Such DOM related logic should be provided by other directives which make use of\n * `NgModelController` for data-binding to control elements.\n * AngularJS provides this DOM logic for most {@link input `input`} elements.\n * At the end of this page you can find a {@link ngModel.NgModelController#custom-control-example\n * custom control example} that uses `ngModelController` to bind to `contenteditable` elements.\n *\n * @example\n * ### Custom Control Example\n * This example shows how to use `NgModelController` with a custom control to achieve\n * data-binding. Notice how different directives (`contenteditable`, `ng-model`, and `required`)\n * collaborate together to achieve the desired result.\n *\n * `contenteditable` is an HTML5 attribute, which tells the browser to let the element\n * contents be edited in place by the user.\n *\n * We are using the {@link ng.service:$sce $sce} service here and include the {@link ngSanitize $sanitize}\n * module to automatically remove \"bad\" content like inline event listener (e.g. `<span onclick=\"...\">`).\n * However, as we are using `$sce` the model can still decide to provide unsafe content if it marks\n * that content using the `$sce` service.\n *\n * <example name=\"NgModelController\" module=\"customControl\" deps=\"angular-sanitize.js\">\n <file name=\"style.css\">\n [contenteditable] {\n border: 1px solid black;\n background-color: white;\n min-height: 20px;\n }\n\n .ng-invalid {\n border: 1px solid red;\n }\n\n </file>\n <file name=\"script.js\">\n angular.module('customControl', ['ngSanitize']).\n directive('contenteditable', ['$sce', function($sce) {\n return {\n restrict: 'A', // only activate on element attribute\n require: '?ngModel', // get a hold of NgModelController\n link: function(scope, element, attrs, ngModel) {\n if (!ngModel) return; // do nothing if no ng-model\n\n // Specify how UI should be updated\n ngModel.$render = function() {\n element.html($sce.getTrustedHtml(ngModel.$viewValue || ''));\n };\n\n // Listen for change events to enable binding\n element.on('blur keyup change', function() {\n scope.$evalAsync(read);\n });\n read(); // initialize\n\n // Write data to the model\n function read() {\n var html = element.html();\n // When we clear the content editable the browser leaves a <br> behind\n // If strip-br attribute is provided then we strip this out\n if (attrs.stripBr && html === '<br>') {\n html = '';\n }\n ngModel.$setViewValue(html);\n }\n }\n };\n }]);\n </file>\n <file name=\"index.html\">\n <form name=\"myForm\">\n <div contenteditable\n name=\"myWidget\" ng-model=\"userContent\"\n strip-br=\"true\"\n required>Change me!</div>\n <span ng-show=\"myForm.myWidget.$error.required\">Required!</span>\n <hr>\n <textarea ng-model=\"userContent\" aria-label=\"Dynamic textarea\"></textarea>\n </form>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should data-bind and become invalid', function() {\n if (browser.params.browser === 'safari' || browser.params.browser === 'firefox') {\n // SafariDriver can't handle contenteditable\n // and Firefox driver can't clear contenteditables very well\n return;\n }\n var contentEditable = element(by.css('[contenteditable]'));\n var content = 'Change me!';\n\n expect(contentEditable.getText()).toEqual(content);\n\n contentEditable.clear();\n contentEditable.sendKeys(protractor.Key.BACK_SPACE);\n expect(contentEditable.getText()).toEqual('');\n expect(contentEditable.getAttribute('class')).toMatch(/ng-invalid-required/);\n });\n </file>\n * </example>\n *\n *\n */\nNgModelController.$inject = ['$scope', '$exceptionHandler', '$attrs', '$element', '$parse', '$animate', '$timeout', '$q', '$interpolate'];\nfunction NgModelController($scope, $exceptionHandler, $attr, $element, $parse, $animate, $timeout, $q, $interpolate) {\n this.$viewValue = Number.NaN;\n this.$modelValue = Number.NaN;\n this.$$rawModelValue = undefined; // stores the parsed modelValue / model set from scope regardless of validity.\n this.$validators = {};\n this.$asyncValidators = {};\n this.$parsers = [];\n this.$formatters = [];\n this.$viewChangeListeners = [];\n this.$untouched = true;\n this.$touched = false;\n this.$pristine = true;\n this.$dirty = false;\n this.$valid = true;\n this.$invalid = false;\n this.$error = {}; // keep invalid keys here\n this.$$success = {}; // keep valid keys here\n this.$pending = undefined; // keep pending keys here\n this.$name = $interpolate($attr.name || '', false)($scope);\n this.$$parentForm = nullFormCtrl;\n this.$options = defaultModelOptions;\n this.$$updateEvents = '';\n // Attach the correct context to the event handler function for updateOn\n this.$$updateEventHandler = this.$$updateEventHandler.bind(this);\n\n this.$$parsedNgModel = $parse($attr.ngModel);\n this.$$parsedNgModelAssign = this.$$parsedNgModel.assign;\n this.$$ngModelGet = this.$$parsedNgModel;\n this.$$ngModelSet = this.$$parsedNgModelAssign;\n this.$$pendingDebounce = null;\n this.$$parserValid = undefined;\n this.$$parserName = 'parse';\n\n this.$$currentValidationRunId = 0;\n\n this.$$scope = $scope;\n this.$$rootScope = $scope.$root;\n this.$$attr = $attr;\n this.$$element = $element;\n this.$$animate = $animate;\n this.$$timeout = $timeout;\n this.$$parse = $parse;\n this.$$q = $q;\n this.$$exceptionHandler = $exceptionHandler;\n\n setupValidity(this);\n setupModelWatcher(this);\n}\n\nNgModelController.prototype = {\n $$initGetterSetters: function() {\n if (this.$options.getOption('getterSetter')) {\n var invokeModelGetter = this.$$parse(this.$$attr.ngModel + '()'),\n invokeModelSetter = this.$$parse(this.$$attr.ngModel + '($$$p)');\n\n this.$$ngModelGet = function($scope) {\n var modelValue = this.$$parsedNgModel($scope);\n if (isFunction(modelValue)) {\n modelValue = invokeModelGetter($scope);\n }\n return modelValue;\n };\n this.$$ngModelSet = function($scope, newValue) {\n if (isFunction(this.$$parsedNgModel($scope))) {\n invokeModelSetter($scope, {$$$p: newValue});\n } else {\n this.$$parsedNgModelAssign($scope, newValue);\n }\n };\n } else if (!this.$$parsedNgModel.assign) {\n throw ngModelMinErr('nonassign', 'Expression \\'{0}\\' is non-assignable. Element: {1}',\n this.$$attr.ngModel, startingTag(this.$$element));\n }\n },\n\n\n /**\n * @ngdoc method\n * @name ngModel.NgModelController#$render\n *\n * @description\n * Called when the view needs to be updated. It is expected that the user of the ng-model\n * directive will implement this method.\n *\n * The `$render()` method is invoked in the following situations:\n *\n * * `$rollbackViewValue()` is called. If we are rolling back the view value to the last\n * committed value then `$render()` is called to update the input control.\n * * The value referenced by `ng-model` is changed programmatically and both the `$modelValue` and\n * the `$viewValue` are different from last time.\n *\n * Since `ng-model` does not do a deep watch, `$render()` is only invoked if the values of\n * `$modelValue` and `$viewValue` are actually different from their previous values. If `$modelValue`\n * or `$viewValue` are objects (rather than a string or number) then `$render()` will not be\n * invoked if you only change a property on the objects.\n */\n $render: noop,\n\n /**\n * @ngdoc method\n * @name ngModel.NgModelController#$isEmpty\n *\n * @description\n * This is called when we need to determine if the value of an input is empty.\n *\n * For instance, the required directive does this to work out if the input has data or not.\n *\n * The default `$isEmpty` function checks whether the value is `undefined`, `''`, `null` or `NaN`.\n *\n * You can override this for input directives whose concept of being empty is different from the\n * default. The `checkboxInputType` directive does this because in its case a value of `false`\n * implies empty.\n *\n * @param {*} value The value of the input to check for emptiness.\n * @returns {boolean} True if `value` is \"empty\".\n */\n $isEmpty: function(value) {\n // eslint-disable-next-line no-self-compare\n return isUndefined(value) || value === '' || value === null || value !== value;\n },\n\n $$updateEmptyClasses: function(value) {\n if (this.$isEmpty(value)) {\n this.$$animate.removeClass(this.$$element, NOT_EMPTY_CLASS);\n this.$$animate.addClass(this.$$element, EMPTY_CLASS);\n } else {\n this.$$animate.removeClass(this.$$element, EMPTY_CLASS);\n this.$$animate.addClass(this.$$element, NOT_EMPTY_CLASS);\n }\n },\n\n /**\n * @ngdoc method\n * @name ngModel.NgModelController#$setPristine\n *\n * @description\n * Sets the control to its pristine state.\n *\n * This method can be called to remove the `ng-dirty` class and set the control to its pristine\n * state (`ng-pristine` class). A model is considered to be pristine when the control\n * has not been changed from when first compiled.\n */\n $setPristine: function() {\n this.$dirty = false;\n this.$pristine = true;\n this.$$animate.removeClass(this.$$element, DIRTY_CLASS);\n this.$$animate.addClass(this.$$element, PRISTINE_CLASS);\n },\n\n /**\n * @ngdoc method\n * @name ngModel.NgModelController#$setDirty\n *\n * @description\n * Sets the control to its dirty state.\n *\n * This method can be called to remove the `ng-pristine` class and set the control to its dirty\n * state (`ng-dirty` class). A model is considered to be dirty when the control has been changed\n * from when first compiled.\n */\n $setDirty: function() {\n this.$dirty = true;\n this.$pristine = false;\n this.$$animate.removeClass(this.$$element, PRISTINE_CLASS);\n this.$$animate.addClass(this.$$element, DIRTY_CLASS);\n this.$$parentForm.$setDirty();\n },\n\n /**\n * @ngdoc method\n * @name ngModel.NgModelController#$setUntouched\n *\n * @description\n * Sets the control to its untouched state.\n *\n * This method can be called to remove the `ng-touched` class and set the control to its\n * untouched state (`ng-untouched` class). Upon compilation, a model is set as untouched\n * by default, however this function can be used to restore that state if the model has\n * already been touched by the user.\n */\n $setUntouched: function() {\n this.$touched = false;\n this.$untouched = true;\n this.$$animate.setClass(this.$$element, UNTOUCHED_CLASS, TOUCHED_CLASS);\n },\n\n /**\n * @ngdoc method\n * @name ngModel.NgModelController#$setTouched\n *\n * @description\n * Sets the control to its touched state.\n *\n * This method can be called to remove the `ng-untouched` class and set the control to its\n * touched state (`ng-touched` class). A model is considered to be touched when the user has\n * first focused the control element and then shifted focus away from the control (blur event).\n */\n $setTouched: function() {\n this.$touched = true;\n this.$untouched = false;\n this.$$animate.setClass(this.$$element, TOUCHED_CLASS, UNTOUCHED_CLASS);\n },\n\n /**\n * @ngdoc method\n * @name ngModel.NgModelController#$rollbackViewValue\n *\n * @description\n * Cancel an update and reset the input element's value to prevent an update to the `$modelValue`,\n * which may be caused by a pending debounced event or because the input is waiting for some\n * future event.\n *\n * If you have an input that uses `ng-model-options` to set up debounced updates or updates that\n * depend on special events such as `blur`, there can be a period when the `$viewValue` is out of\n * sync with the ngModel's `$modelValue`.\n *\n * In this case, you can use `$rollbackViewValue()` to manually cancel the debounced / future update\n * and reset the input to the last committed view value.\n *\n * It is also possible that you run into difficulties if you try to update the ngModel's `$modelValue`\n * programmatically before these debounced/future events have resolved/occurred, because AngularJS's\n * dirty checking mechanism is not able to tell whether the model has actually changed or not.\n *\n * The `$rollbackViewValue()` method should be called before programmatically changing the model of an\n * input which may have such events pending. This is important in order to make sure that the\n * input field will be updated with the new model value and any pending operations are cancelled.\n *\n * @example\n * <example name=\"ng-model-cancel-update\" module=\"cancel-update-example\">\n * <file name=\"app.js\">\n * angular.module('cancel-update-example', [])\n *\n * .controller('CancelUpdateController', ['$scope', function($scope) {\n * $scope.model = {value1: '', value2: ''};\n *\n * $scope.setEmpty = function(e, value, rollback) {\n * if (e.keyCode === 27) {\n * e.preventDefault();\n * if (rollback) {\n * $scope.myForm[value].$rollbackViewValue();\n * }\n * $scope.model[value] = '';\n * }\n * };\n * }]);\n * </file>\n * <file name=\"index.html\">\n * <div ng-controller=\"CancelUpdateController\">\n * <p>Both of these inputs are only updated if they are blurred. Hitting escape should\n * empty them. Follow these steps and observe the difference:</p>\n * <ol>\n * <li>Type something in the input. You will see that the model is not yet updated</li>\n * <li>Press the Escape key.\n * <ol>\n * <li> In the first example, nothing happens, because the model is already '', and no\n * update is detected. If you blur the input, the model will be set to the current view.\n * </li>\n * <li> In the second example, the pending update is cancelled, and the input is set back\n * to the last committed view value (''). Blurring the input does nothing.\n * </li>\n * </ol>\n * </li>\n * </ol>\n *\n * <form name=\"myForm\" ng-model-options=\"{ updateOn: 'blur' }\">\n * <div>\n * <p id=\"inputDescription1\">Without $rollbackViewValue():</p>\n * <input name=\"value1\" aria-describedby=\"inputDescription1\" ng-model=\"model.value1\"\n * ng-keydown=\"setEmpty($event, 'value1')\">\n * value1: \"{{ model.value1 }}\"\n * </div>\n *\n * <div>\n * <p id=\"inputDescription2\">With $rollbackViewValue():</p>\n * <input name=\"value2\" aria-describedby=\"inputDescription2\" ng-model=\"model.value2\"\n * ng-keydown=\"setEmpty($event, 'value2', true)\">\n * value2: \"{{ model.value2 }}\"\n * </div>\n * </form>\n * </div>\n * </file>\n <file name=\"style.css\">\n div {\n display: table-cell;\n }\n div:nth-child(1) {\n padding-right: 30px;\n }\n\n </file>\n * </example>\n */\n $rollbackViewValue: function() {\n this.$$timeout.cancel(this.$$pendingDebounce);\n this.$viewValue = this.$$lastCommittedViewValue;\n this.$render();\n },\n\n /**\n * @ngdoc method\n * @name ngModel.NgModelController#$validate\n *\n * @description\n * Runs each of the registered validators (first synchronous validators and then\n * asynchronous validators).\n * If the validity changes to invalid, the model will be set to `undefined`,\n * unless {@link ngModelOptions `ngModelOptions.allowInvalid`} is `true`.\n * If the validity changes to valid, it will set the model to the last available valid\n * `$modelValue`, i.e. either the last parsed value or the last value set from the scope.\n */\n $validate: function() {\n\n // ignore $validate before model is initialized\n if (isNumberNaN(this.$modelValue)) {\n return;\n }\n\n var viewValue = this.$$lastCommittedViewValue;\n // Note: we use the $$rawModelValue as $modelValue might have been\n // set to undefined during a view -> model update that found validation\n // errors. We can't parse the view here, since that could change\n // the model although neither viewValue nor the model on the scope changed\n var modelValue = this.$$rawModelValue;\n\n var prevValid = this.$valid;\n var prevModelValue = this.$modelValue;\n\n var allowInvalid = this.$options.getOption('allowInvalid');\n\n var that = this;\n this.$$runValidators(modelValue, viewValue, function(allValid) {\n // If there was no change in validity, don't update the model\n // This prevents changing an invalid modelValue to undefined\n if (!allowInvalid && prevValid !== allValid) {\n // Note: Don't check this.$valid here, as we could have\n // external validators (e.g. calculated on the server),\n // that just call $setValidity and need the model value\n // to calculate their validity.\n that.$modelValue = allValid ? modelValue : undefined;\n\n if (that.$modelValue !== prevModelValue) {\n that.$$writeModelToScope();\n }\n }\n });\n },\n\n $$runValidators: function(modelValue, viewValue, doneCallback) {\n this.$$currentValidationRunId++;\n var localValidationRunId = this.$$currentValidationRunId;\n var that = this;\n\n // check parser error\n if (!processParseErrors()) {\n validationDone(false);\n return;\n }\n if (!processSyncValidators()) {\n validationDone(false);\n return;\n }\n processAsyncValidators();\n\n function processParseErrors() {\n var errorKey = that.$$parserName;\n\n if (isUndefined(that.$$parserValid)) {\n setValidity(errorKey, null);\n } else {\n if (!that.$$parserValid) {\n forEach(that.$validators, function(v, name) {\n setValidity(name, null);\n });\n forEach(that.$asyncValidators, function(v, name) {\n setValidity(name, null);\n });\n }\n\n // Set the parse error last, to prevent unsetting it, should a $validators key == parserName\n setValidity(errorKey, that.$$parserValid);\n return that.$$parserValid;\n }\n return true;\n }\n\n function processSyncValidators() {\n var syncValidatorsValid = true;\n forEach(that.$validators, function(validator, name) {\n var result = Boolean(validator(modelValue, viewValue));\n syncValidatorsValid = syncValidatorsValid && result;\n setValidity(name, result);\n });\n if (!syncValidatorsValid) {\n forEach(that.$asyncValidators, function(v, name) {\n setValidity(name, null);\n });\n return false;\n }\n return true;\n }\n\n function processAsyncValidators() {\n var validatorPromises = [];\n var allValid = true;\n forEach(that.$asyncValidators, function(validator, name) {\n var promise = validator(modelValue, viewValue);\n if (!isPromiseLike(promise)) {\n throw ngModelMinErr('nopromise',\n 'Expected asynchronous validator to return a promise but got \\'{0}\\' instead.', promise);\n }\n setValidity(name, undefined);\n validatorPromises.push(promise.then(function() {\n setValidity(name, true);\n }, function() {\n allValid = false;\n setValidity(name, false);\n }));\n });\n if (!validatorPromises.length) {\n validationDone(true);\n } else {\n that.$$q.all(validatorPromises).then(function() {\n validationDone(allValid);\n }, noop);\n }\n }\n\n function setValidity(name, isValid) {\n if (localValidationRunId === that.$$currentValidationRunId) {\n that.$setValidity(name, isValid);\n }\n }\n\n function validationDone(allValid) {\n if (localValidationRunId === that.$$currentValidationRunId) {\n\n doneCallback(allValid);\n }\n }\n },\n\n /**\n * @ngdoc method\n * @name ngModel.NgModelController#$commitViewValue\n *\n * @description\n * Commit a pending update to the `$modelValue`.\n *\n * Updates may be pending by a debounced event or because the input is waiting for a some future\n * event defined in `ng-model-options`. this method is rarely needed as `NgModelController`\n * usually handles calling this in response to input events.\n */\n $commitViewValue: function() {\n var viewValue = this.$viewValue;\n\n this.$$timeout.cancel(this.$$pendingDebounce);\n\n // If the view value has not changed then we should just exit, except in the case where there is\n // a native validator on the element. In this case the validation state may have changed even though\n // the viewValue has stayed empty.\n if (this.$$lastCommittedViewValue === viewValue && (viewValue !== '' || !this.$$hasNativeValidators)) {\n return;\n }\n this.$$updateEmptyClasses(viewValue);\n this.$$lastCommittedViewValue = viewValue;\n\n // change to dirty\n if (this.$pristine) {\n this.$setDirty();\n }\n this.$$parseAndValidate();\n },\n\n $$parseAndValidate: function() {\n var viewValue = this.$$lastCommittedViewValue;\n var modelValue = viewValue;\n var that = this;\n\n this.$$parserValid = isUndefined(modelValue) ? undefined : true;\n\n // Reset any previous parse error\n this.$setValidity(this.$$parserName, null);\n this.$$parserName = 'parse';\n\n if (this.$$parserValid) {\n for (var i = 0; i < this.$parsers.length; i++) {\n modelValue = this.$parsers[i](modelValue);\n if (isUndefined(modelValue)) {\n this.$$parserValid = false;\n break;\n }\n }\n }\n if (isNumberNaN(this.$modelValue)) {\n // this.$modelValue has not been touched yet...\n this.$modelValue = this.$$ngModelGet(this.$$scope);\n }\n var prevModelValue = this.$modelValue;\n var allowInvalid = this.$options.getOption('allowInvalid');\n this.$$rawModelValue = modelValue;\n\n if (allowInvalid) {\n this.$modelValue = modelValue;\n writeToModelIfNeeded();\n }\n\n // Pass the $$lastCommittedViewValue here, because the cached viewValue might be out of date.\n // This can happen if e.g. $setViewValue is called from inside a parser\n this.$$runValidators(modelValue, this.$$lastCommittedViewValue, function(allValid) {\n if (!allowInvalid) {\n // Note: Don't check this.$valid here, as we could have\n // external validators (e.g. calculated on the server),\n // that just call $setValidity and need the model value\n // to calculate their validity.\n that.$modelValue = allValid ? modelValue : undefined;\n writeToModelIfNeeded();\n }\n });\n\n function writeToModelIfNeeded() {\n if (that.$modelValue !== prevModelValue) {\n that.$$writeModelToScope();\n }\n }\n },\n\n $$writeModelToScope: function() {\n this.$$ngModelSet(this.$$scope, this.$modelValue);\n forEach(this.$viewChangeListeners, function(listener) {\n try {\n listener();\n } catch (e) {\n // eslint-disable-next-line no-invalid-this\n this.$$exceptionHandler(e);\n }\n }, this);\n },\n\n /**\n * @ngdoc method\n * @name ngModel.NgModelController#$setViewValue\n *\n * @description\n * Update the view value.\n *\n * This method should be called when a control wants to change the view value; typically,\n * this is done from within a DOM event handler. For example, the {@link ng.directive:input input}\n * directive calls it when the value of the input changes and {@link ng.directive:select select}\n * calls it when an option is selected.\n *\n * When `$setViewValue` is called, the new `value` will be staged for committing through the `$parsers`\n * and `$validators` pipelines. If there are no special {@link ngModelOptions} specified then the staged\n * value is sent directly for processing through the `$parsers` pipeline. After this, the `$validators` and\n * `$asyncValidators` are called and the value is applied to `$modelValue`.\n * Finally, the value is set to the **expression** specified in the `ng-model` attribute and\n * all the registered change listeners, in the `$viewChangeListeners` list are called.\n *\n * In case the {@link ng.directive:ngModelOptions ngModelOptions} directive is used with `updateOn`\n * and the `default` trigger is not listed, all those actions will remain pending until one of the\n * `updateOn` events is triggered on the DOM element.\n * All these actions will be debounced if the {@link ng.directive:ngModelOptions ngModelOptions}\n * directive is used with a custom debounce for this particular event.\n * Note that a `$digest` is only triggered once the `updateOn` events are fired, or if `debounce`\n * is specified, once the timer runs out.\n *\n * When used with standard inputs, the view value will always be a string (which is in some cases\n * parsed into another type, such as a `Date` object for `input[date]`.)\n * However, custom controls might also pass objects to this method. In this case, we should make\n * a copy of the object before passing it to `$setViewValue`. This is because `ngModel` does not\n * perform a deep watch of objects, it only looks for a change of identity. If you only change\n * the property of the object then ngModel will not realize that the object has changed and\n * will not invoke the `$parsers` and `$validators` pipelines. For this reason, you should\n * not change properties of the copy once it has been passed to `$setViewValue`.\n * Otherwise you may cause the model value on the scope to change incorrectly.\n *\n * <div class=\"alert alert-info\">\n * In any case, the value passed to the method should always reflect the current value\n * of the control. For example, if you are calling `$setViewValue` for an input element,\n * you should pass the input DOM value. Otherwise, the control and the scope model become\n * out of sync. It's also important to note that `$setViewValue` does not call `$render` or change\n * the control's DOM value in any way. If we want to change the control's DOM value\n * programmatically, we should update the `ngModel` scope expression. Its new value will be\n * picked up by the model controller, which will run it through the `$formatters`, `$render` it\n * to update the DOM, and finally call `$validate` on it.\n * </div>\n *\n * @param {*} value value from the view.\n * @param {string} trigger Event that triggered the update.\n */\n $setViewValue: function(value, trigger) {\n this.$viewValue = value;\n if (this.$options.getOption('updateOnDefault')) {\n this.$$debounceViewValueCommit(trigger);\n }\n },\n\n $$debounceViewValueCommit: function(trigger) {\n var debounceDelay = this.$options.getOption('debounce');\n\n if (isNumber(debounceDelay[trigger])) {\n debounceDelay = debounceDelay[trigger];\n } else if (isNumber(debounceDelay['default']) &&\n this.$options.getOption('updateOn').indexOf(trigger) === -1\n ) {\n debounceDelay = debounceDelay['default'];\n } else if (isNumber(debounceDelay['*'])) {\n debounceDelay = debounceDelay['*'];\n }\n\n this.$$timeout.cancel(this.$$pendingDebounce);\n var that = this;\n if (debounceDelay > 0) { // this fails if debounceDelay is an object\n this.$$pendingDebounce = this.$$timeout(function() {\n that.$commitViewValue();\n }, debounceDelay);\n } else if (this.$$rootScope.$$phase) {\n this.$commitViewValue();\n } else {\n this.$$scope.$apply(function() {\n that.$commitViewValue();\n });\n }\n },\n\n /**\n * @ngdoc method\n *\n * @name ngModel.NgModelController#$overrideModelOptions\n *\n * @description\n *\n * Override the current model options settings programmatically.\n *\n * The previous `ModelOptions` value will not be modified. Instead, a\n * new `ModelOptions` object will inherit from the previous one overriding\n * or inheriting settings that are defined in the given parameter.\n *\n * See {@link ngModelOptions} for information about what options can be specified\n * and how model option inheritance works.\n *\n * <div class=\"alert alert-warning\">\n * **Note:** this function only affects the options set on the `ngModelController`,\n * and not the options on the {@link ngModelOptions} directive from which they might have been\n * obtained initially.\n * </div>\n *\n * <div class=\"alert alert-danger\">\n * **Note:** it is not possible to override the `getterSetter` option.\n * </div>\n *\n * @param {Object} options a hash of settings to override the previous options\n *\n */\n $overrideModelOptions: function(options) {\n this.$options = this.$options.createChild(options);\n this.$$setUpdateOnEvents();\n },\n\n /**\n * @ngdoc method\n *\n * @name ngModel.NgModelController#$processModelValue\n\n * @description\n *\n * Runs the model -> view pipeline on the current\n * {@link ngModel.NgModelController#$modelValue $modelValue}.\n *\n * The following actions are performed by this method:\n *\n * - the `$modelValue` is run through the {@link ngModel.NgModelController#$formatters $formatters}\n * and the result is set to the {@link ngModel.NgModelController#$viewValue $viewValue}\n * - the `ng-empty` or `ng-not-empty` class is set on the element\n * - if the `$viewValue` has changed:\n * - {@link ngModel.NgModelController#$render $render} is called on the control\n * - the {@link ngModel.NgModelController#$validators $validators} are run and\n * the validation status is set.\n *\n * This method is called by ngModel internally when the bound scope value changes.\n * Application developers usually do not have to call this function themselves.\n *\n * This function can be used when the `$viewValue` or the rendered DOM value are not correctly\n * formatted and the `$modelValue` must be run through the `$formatters` again.\n *\n * @example\n * Consider a text input with an autocomplete list (for fruit), where the items are\n * objects with a name and an id.\n * A user enters `ap` and then selects `Apricot` from the list.\n * Based on this, the autocomplete widget will call `$setViewValue({name: 'Apricot', id: 443})`,\n * but the rendered value will still be `ap`.\n * The widget can then call `ctrl.$processModelValue()` to run the model -> view\n * pipeline again, which formats the object to the string `Apricot`,\n * then updates the `$viewValue`, and finally renders it in the DOM.\n *\n * <example module=\"inputExample\" name=\"ng-model-process\">\n <file name=\"index.html\">\n <div ng-controller=\"inputController\" style=\"display: flex;\">\n <div style=\"margin-right: 30px;\">\n Search Fruit:\n <basic-autocomplete items=\"items\" on-select=\"selectedFruit = item\"></basic-autocomplete>\n </div>\n <div>\n Model:<br>\n <pre>{{selectedFruit | json}}</pre>\n </div>\n </div>\n </file>\n <file name=\"app.js\">\n angular.module('inputExample', [])\n .controller('inputController', function($scope) {\n $scope.items = [\n {name: 'Apricot', id: 443},\n {name: 'Clementine', id: 972},\n {name: 'Durian', id: 169},\n {name: 'Jackfruit', id: 982},\n {name: 'Strawberry', id: 863}\n ];\n })\n .component('basicAutocomplete', {\n bindings: {\n items: '<',\n onSelect: '&'\n },\n templateUrl: 'autocomplete.html',\n controller: function($element, $scope) {\n var that = this;\n var ngModel;\n\n that.$postLink = function() {\n ngModel = $element.find('input').controller('ngModel');\n\n ngModel.$formatters.push(function(value) {\n return (value && value.name) || value;\n });\n\n ngModel.$parsers.push(function(value) {\n var match = value;\n for (var i = 0; i < that.items.length; i++) {\n if (that.items[i].name === value) {\n match = that.items[i];\n break;\n }\n }\n\n return match;\n });\n };\n\n that.selectItem = function(item) {\n ngModel.$setViewValue(item);\n ngModel.$processModelValue();\n that.onSelect({item: item});\n };\n }\n });\n </file>\n <file name=\"autocomplete.html\">\n <div>\n <input type=\"search\" ng-model=\"$ctrl.searchTerm\" />\n <ul>\n <li ng-repeat=\"item in $ctrl.items | filter:$ctrl.searchTerm\">\n <button ng-click=\"$ctrl.selectItem(item)\">{{ item.name }}</button>\n </li>\n </ul>\n </div>\n </file>\n * </example>\n *\n */\n $processModelValue: function() {\n var viewValue = this.$$format();\n\n if (this.$viewValue !== viewValue) {\n this.$$updateEmptyClasses(viewValue);\n this.$viewValue = this.$$lastCommittedViewValue = viewValue;\n this.$render();\n // It is possible that model and view value have been updated during render\n this.$$runValidators(this.$modelValue, this.$viewValue, noop);\n }\n },\n\n /**\n * This method is called internally to run the $formatters on the $modelValue\n */\n $$format: function() {\n var formatters = this.$formatters,\n idx = formatters.length;\n\n var viewValue = this.$modelValue;\n while (idx--) {\n viewValue = formatters[idx](viewValue);\n }\n\n return viewValue;\n },\n\n /**\n * This method is called internally when the bound scope value changes.\n */\n $$setModelValue: function(modelValue) {\n this.$modelValue = this.$$rawModelValue = modelValue;\n this.$$parserValid = undefined;\n this.$processModelValue();\n },\n\n $$setUpdateOnEvents: function() {\n if (this.$$updateEvents) {\n this.$$element.off(this.$$updateEvents, this.$$updateEventHandler);\n }\n\n this.$$updateEvents = this.$options.getOption('updateOn');\n if (this.$$updateEvents) {\n this.$$element.on(this.$$updateEvents, this.$$updateEventHandler);\n }\n },\n\n $$updateEventHandler: function(ev) {\n this.$$debounceViewValueCommit(ev && ev.type);\n }\n};\n\nfunction setupModelWatcher(ctrl) {\n // model -> value\n // Note: we cannot use a normal scope.$watch as we want to detect the following:\n // 1. scope value is 'a'\n // 2. user enters 'b'\n // 3. ng-change kicks in and reverts scope value to 'a'\n // -> scope value did not change since the last digest as\n // ng-change executes in apply phase\n // 4. view should be changed back to 'a'\n ctrl.$$scope.$watch(function ngModelWatch(scope) {\n var modelValue = ctrl.$$ngModelGet(scope);\n\n // if scope model value and ngModel value are out of sync\n // This cannot be moved to the action function, because it would not catch the\n // case where the model is changed in the ngChange function or the model setter\n if (modelValue !== ctrl.$modelValue &&\n // checks for NaN is needed to allow setting the model to NaN when there's an asyncValidator\n // eslint-disable-next-line no-self-compare\n (ctrl.$modelValue === ctrl.$modelValue || modelValue === modelValue)\n ) {\n ctrl.$$setModelValue(modelValue);\n }\n\n return modelValue;\n });\n}\n\n/**\n * @ngdoc method\n * @name ngModel.NgModelController#$setValidity\n *\n * @description\n * Change the validity state, and notify the form.\n *\n * This method can be called within $parsers/$formatters or a custom validation implementation.\n * However, in most cases it should be sufficient to use the `ngModel.$validators` and\n * `ngModel.$asyncValidators` collections which will call `$setValidity` automatically.\n *\n * @param {string} validationErrorKey Name of the validator. The `validationErrorKey` will be assigned\n * to either `$error[validationErrorKey]` or `$pending[validationErrorKey]`\n * (for unfulfilled `$asyncValidators`), so that it is available for data-binding.\n * The `validationErrorKey` should be in camelCase and will get converted into dash-case\n * for class name. Example: `myError` will result in `ng-valid-my-error` and `ng-invalid-my-error`\n * classes and can be bound to as `{{ someForm.someControl.$error.myError }}`.\n * @param {boolean} isValid Whether the current state is valid (true), invalid (false), pending (undefined),\n * or skipped (null). Pending is used for unfulfilled `$asyncValidators`.\n * Skipped is used by AngularJS when validators do not run because of parse errors and\n * when `$asyncValidators` do not run because any of the `$validators` failed.\n */\naddSetValidityMethod({\n clazz: NgModelController,\n set: function(object, property) {\n object[property] = true;\n },\n unset: function(object, property) {\n delete object[property];\n }\n});\n\n\n/**\n * @ngdoc directive\n * @name ngModel\n * @restrict A\n * @priority 1\n * @param {expression} ngModel assignable {@link guide/expression Expression} to bind to.\n *\n * @description\n * The `ngModel` directive binds an `input`,`select`, `textarea` (or custom form control) to a\n * property on the scope using {@link ngModel.NgModelController NgModelController},\n * which is created and exposed by this directive.\n *\n * `ngModel` is responsible for:\n *\n * - Binding the view into the model, which other directives such as `input`, `textarea` or `select`\n * require.\n * - Providing validation behavior (i.e. required, number, email, url).\n * - Keeping the state of the control (valid/invalid, dirty/pristine, touched/untouched, validation errors).\n * - Setting related css classes on the element (`ng-valid`, `ng-invalid`, `ng-dirty`, `ng-pristine`, `ng-touched`,\n * `ng-untouched`, `ng-empty`, `ng-not-empty`) including animations.\n * - Registering the control with its parent {@link ng.directive:form form}.\n *\n * Note: `ngModel` will try to bind to the property given by evaluating the expression on the\n * current scope. If the property doesn't already exist on this scope, it will be created\n * implicitly and added to the scope.\n *\n * For best practices on using `ngModel`, see:\n *\n * - [Understanding Scopes](https://github.com/angular/angular.js/wiki/Understanding-Scopes)\n *\n * For basic examples, how to use `ngModel`, see:\n *\n * - {@link ng.directive:input input}\n * - {@link input[text] text}\n * - {@link input[checkbox] checkbox}\n * - {@link input[radio] radio}\n * - {@link input[number] number}\n * - {@link input[email] email}\n * - {@link input[url] url}\n * - {@link input[date] date}\n * - {@link input[datetime-local] datetime-local}\n * - {@link input[time] time}\n * - {@link input[month] month}\n * - {@link input[week] week}\n * - {@link ng.directive:select select}\n * - {@link ng.directive:textarea textarea}\n *\n * ## Complex Models (objects or collections)\n *\n * By default, `ngModel` watches the model by reference, not value. This is important to know when\n * binding inputs to models that are objects (e.g. `Date`) or collections (e.g. arrays). If only properties of the\n * object or collection change, `ngModel` will not be notified and so the input will not be re-rendered.\n *\n * The model must be assigned an entirely new object or collection before a re-rendering will occur.\n *\n * Some directives have options that will cause them to use a custom `$watchCollection` on the model expression\n * - for example, `ngOptions` will do so when a `track by` clause is included in the comprehension expression or\n * if the select is given the `multiple` attribute.\n *\n * The `$watchCollection()` method only does a shallow comparison, meaning that changing properties deeper than the\n * first level of the object (or only changing the properties of an item in the collection if it's an array) will still\n * not trigger a re-rendering of the model.\n *\n * ## CSS classes\n * The following CSS classes are added and removed on the associated input/select/textarea element\n * depending on the validity of the model.\n *\n * - `ng-valid`: the model is valid\n * - `ng-invalid`: the model is invalid\n * - `ng-valid-[key]`: for each valid key added by `$setValidity`\n * - `ng-invalid-[key]`: for each invalid key added by `$setValidity`\n * - `ng-pristine`: the control hasn't been interacted with yet\n * - `ng-dirty`: the control has been interacted with\n * - `ng-touched`: the control has been blurred\n * - `ng-untouched`: the control hasn't been blurred\n * - `ng-pending`: any `$asyncValidators` are unfulfilled\n * - `ng-empty`: the view does not contain a value or the value is deemed \"empty\", as defined\n * by the {@link ngModel.NgModelController#$isEmpty} method\n * - `ng-not-empty`: the view contains a non-empty value\n *\n * Keep in mind that ngAnimate can detect each of these classes when added and removed.\n *\n * @animations\n * Animations within models are triggered when any of the associated CSS classes are added and removed\n * on the input element which is attached to the model. These classes include: `.ng-pristine`, `.ng-dirty`,\n * `.ng-invalid` and `.ng-valid` as well as any other validations that are performed on the model itself.\n * The animations that are triggered within ngModel are similar to how they work in ngClass and\n * animations can be hooked into using CSS transitions, keyframes as well as JS animations.\n *\n * The following example shows a simple way to utilize CSS transitions to style an input element\n * that has been rendered as invalid after it has been validated:\n *\n * <pre>\n * //be sure to include ngAnimate as a module to hook into more\n * //advanced animations\n * .my-input {\n * transition:0.5s linear all;\n * background: white;\n * }\n * .my-input.ng-invalid {\n * background: red;\n * color:white;\n * }\n * </pre>\n *\n * @example\n * ### Basic Usage\n * <example deps=\"angular-animate.js\" animations=\"true\" fixBase=\"true\" module=\"inputExample\" name=\"ng-model\">\n <file name=\"index.html\">\n <script>\n angular.module('inputExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.val = '1';\n }]);\n </script>\n <style>\n .my-input {\n transition:all linear 0.5s;\n background: transparent;\n }\n .my-input.ng-invalid {\n color:white;\n background: red;\n }\n </style>\n <p id=\"inputDescription\">\n Update input to see transitions when valid/invalid.\n Integer is a valid value.\n </p>\n <form name=\"testForm\" ng-controller=\"ExampleController\">\n <input ng-model=\"val\" ng-pattern=\"/^\\d+$/\" name=\"anim\" class=\"my-input\"\n aria-describedby=\"inputDescription\" />\n </form>\n </file>\n * </example>\n *\n * @example\n * ### Binding to a getter/setter\n *\n * Sometimes it's helpful to bind `ngModel` to a getter/setter function. A getter/setter is a\n * function that returns a representation of the model when called with zero arguments, and sets\n * the internal state of a model when called with an argument. It's sometimes useful to use this\n * for models that have an internal representation that's different from what the model exposes\n * to the view.\n *\n * <div class=\"alert alert-success\">\n * **Best Practice:** It's best to keep getters fast because AngularJS is likely to call them more\n * frequently than other parts of your code.\n * </div>\n *\n * You use this behavior by adding `ng-model-options=\"{ getterSetter: true }\"` to an element that\n * has `ng-model` attached to it. You can also add `ng-model-options=\"{ getterSetter: true }\"` to\n * a `<form>`, which will enable this behavior for all `<input>`s within it. See\n * {@link ng.directive:ngModelOptions `ngModelOptions`} for more.\n *\n * The following example shows how to use `ngModel` with a getter/setter:\n *\n * @example\n * <example name=\"ngModel-getter-setter\" module=\"getterSetterExample\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n <form name=\"userForm\">\n <label>Name:\n <input type=\"text\" name=\"userName\"\n ng-model=\"user.name\"\n ng-model-options=\"{ getterSetter: true }\" />\n </label>\n </form>\n <pre>user.name = <span ng-bind=\"user.name()\"></span></pre>\n </div>\n </file>\n <file name=\"app.js\">\n angular.module('getterSetterExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n var _name = 'Brian';\n $scope.user = {\n name: function(newName) {\n // Note that newName can be undefined for two reasons:\n // 1. Because it is called as a getter and thus called with no arguments\n // 2. Because the property should actually be set to undefined. This happens e.g. if the\n // input is invalid\n return arguments.length ? (_name = newName) : _name;\n }\n };\n }]);\n </file>\n * </example>\n */\nvar ngModelDirective = ['$rootScope', function($rootScope) {\n return {\n restrict: 'A',\n require: ['ngModel', '^?form', '^?ngModelOptions'],\n controller: NgModelController,\n // Prelink needs to run before any input directive\n // so that we can set the NgModelOptions in NgModelController\n // before anyone else uses it.\n priority: 1,\n compile: function ngModelCompile(element) {\n // Setup initial state of the control\n element.addClass(PRISTINE_CLASS).addClass(UNTOUCHED_CLASS).addClass(VALID_CLASS);\n\n return {\n pre: function ngModelPreLink(scope, element, attr, ctrls) {\n var modelCtrl = ctrls[0],\n formCtrl = ctrls[1] || modelCtrl.$$parentForm,\n optionsCtrl = ctrls[2];\n\n if (optionsCtrl) {\n modelCtrl.$options = optionsCtrl.$options;\n }\n\n modelCtrl.$$initGetterSetters();\n\n // notify others, especially parent forms\n formCtrl.$addControl(modelCtrl);\n\n attr.$observe('name', function(newValue) {\n if (modelCtrl.$name !== newValue) {\n modelCtrl.$$parentForm.$$renameControl(modelCtrl, newValue);\n }\n });\n\n scope.$on('$destroy', function() {\n modelCtrl.$$parentForm.$removeControl(modelCtrl);\n });\n },\n post: function ngModelPostLink(scope, element, attr, ctrls) {\n var modelCtrl = ctrls[0];\n modelCtrl.$$setUpdateOnEvents();\n\n function setTouched() {\n modelCtrl.$setTouched();\n }\n\n element.on('blur', function() {\n if (modelCtrl.$touched) return;\n\n if ($rootScope.$$phase) {\n scope.$evalAsync(setTouched);\n } else {\n scope.$apply(setTouched);\n }\n });\n }\n };\n }\n };\n}];\n\n/* exported defaultModelOptions */\nvar defaultModelOptions;\nvar DEFAULT_REGEXP = /(\\s+|^)default(\\s+|$)/;\n\n/**\n * @ngdoc type\n * @name ModelOptions\n * @description\n * A container for the options set by the {@link ngModelOptions} directive\n */\nfunction ModelOptions(options) {\n this.$$options = options;\n}\n\nModelOptions.prototype = {\n\n /**\n * @ngdoc method\n * @name ModelOptions#getOption\n * @param {string} name the name of the option to retrieve\n * @returns {*} the value of the option\n * @description\n * Returns the value of the given option\n */\n getOption: function(name) {\n return this.$$options[name];\n },\n\n /**\n * @ngdoc method\n * @name ModelOptions#createChild\n * @param {Object} options a hash of options for the new child that will override the parent's options\n * @return {ModelOptions} a new `ModelOptions` object initialized with the given options.\n */\n createChild: function(options) {\n var inheritAll = false;\n\n // make a shallow copy\n options = extend({}, options);\n\n // Inherit options from the parent if specified by the value `\"$inherit\"`\n forEach(options, /** @this */ function(option, key) {\n if (option === '$inherit') {\n if (key === '*') {\n inheritAll = true;\n } else {\n options[key] = this.$$options[key];\n // `updateOn` is special so we must also inherit the `updateOnDefault` option\n if (key === 'updateOn') {\n options.updateOnDefault = this.$$options.updateOnDefault;\n }\n }\n } else {\n if (key === 'updateOn') {\n // If the `updateOn` property contains the `default` event then we have to remove\n // it from the event list and set the `updateOnDefault` flag.\n options.updateOnDefault = false;\n options[key] = trim(option.replace(DEFAULT_REGEXP, function() {\n options.updateOnDefault = true;\n return ' ';\n }));\n }\n }\n }, this);\n\n if (inheritAll) {\n // We have a property of the form: `\"*\": \"$inherit\"`\n delete options['*'];\n defaults(options, this.$$options);\n }\n\n // Finally add in any missing defaults\n defaults(options, defaultModelOptions.$$options);\n\n return new ModelOptions(options);\n }\n};\n\n\ndefaultModelOptions = new ModelOptions({\n updateOn: '',\n updateOnDefault: true,\n debounce: 0,\n getterSetter: false,\n allowInvalid: false,\n timezone: null\n});\n\n\n/**\n * @ngdoc directive\n * @name ngModelOptions\n * @restrict A\n * @priority 10\n *\n * @description\n * This directive allows you to modify the behaviour of {@link ngModel} directives within your\n * application. You can specify an `ngModelOptions` directive on any element. All {@link ngModel}\n * directives will use the options of their nearest `ngModelOptions` ancestor.\n *\n * The `ngModelOptions` settings are found by evaluating the value of the attribute directive as\n * an AngularJS expression. This expression should evaluate to an object, whose properties contain\n * the settings. For example: `<div ng-model-options=\"{ debounce: 100 }\"`.\n *\n * ## Inheriting Options\n *\n * You can specify that an `ngModelOptions` setting should be inherited from a parent `ngModelOptions`\n * directive by giving it the value of `\"$inherit\"`.\n * Then it will inherit that setting from the first `ngModelOptions` directive found by traversing up the\n * DOM tree. If there is no ancestor element containing an `ngModelOptions` directive then default settings\n * will be used.\n *\n * For example given the following fragment of HTML\n *\n *\n * ```html\n * <div ng-model-options=\"{ allowInvalid: true, debounce: 200 }\">\n * <form ng-model-options=\"{ updateOn: 'blur', allowInvalid: '$inherit' }\">\n * <input ng-model-options=\"{ updateOn: 'default', allowInvalid: '$inherit' }\" />\n * </form>\n * </div>\n * ```\n *\n * the `input` element will have the following settings\n *\n * ```js\n * { allowInvalid: true, updateOn: 'default', debounce: 0 }\n * ```\n *\n * Notice that the `debounce` setting was not inherited and used the default value instead.\n *\n * You can specify that all undefined settings are automatically inherited from an ancestor by\n * including a property with key of `\"*\"` and value of `\"$inherit\"`.\n *\n * For example given the following fragment of HTML\n *\n *\n * ```html\n * <div ng-model-options=\"{ allowInvalid: true, debounce: 200 }\">\n * <form ng-model-options=\"{ updateOn: 'blur', \"*\": '$inherit' }\">\n * <input ng-model-options=\"{ updateOn: 'default', \"*\": '$inherit' }\" />\n * </form>\n * </div>\n * ```\n *\n * the `input` element will have the following settings\n *\n * ```js\n * { allowInvalid: true, updateOn: 'default', debounce: 200 }\n * ```\n *\n * Notice that the `debounce` setting now inherits the value from the outer `<div>` element.\n *\n * If you are creating a reusable component then you should be careful when using `\"*\": \"$inherit\"`\n * since you may inadvertently inherit a setting in the future that changes the behavior of your component.\n *\n *\n * ## Triggering and debouncing model updates\n *\n * The `updateOn` and `debounce` properties allow you to specify a custom list of events that will\n * trigger a model update and/or a debouncing delay so that the actual update only takes place when\n * a timer expires; this timer will be reset after another change takes place.\n *\n * Given the nature of `ngModelOptions`, the value displayed inside input fields in the view might\n * be different from the value in the actual model. This means that if you update the model you\n * should also invoke {@link ngModel.NgModelController#$rollbackViewValue} on the relevant input field in\n * order to make sure it is synchronized with the model and that any debounced action is canceled.\n *\n * The easiest way to reference the control's {@link ngModel.NgModelController#$rollbackViewValue}\n * method is by making sure the input is placed inside a form that has a `name` attribute. This is\n * important because `form` controllers are published to the related scope under the name in their\n * `name` attribute.\n *\n * Any pending changes will take place immediately when an enclosing form is submitted via the\n * `submit` event. Note that `ngClick` events will occur before the model is updated. Use `ngSubmit`\n * to have access to the updated model.\n *\n * ### Overriding immediate updates\n *\n * The following example shows how to override immediate updates. Changes on the inputs within the\n * form will update the model only when the control loses focus (blur event). If `escape` key is\n * pressed while the input field is focused, the value is reset to the value in the current model.\n *\n * <example name=\"ngModelOptions-directive-blur\" module=\"optionsExample\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n * <form name=\"userForm\">\n * <label>\n * Name:\n * <input type=\"text\" name=\"userName\"\n * ng-model=\"user.name\"\n * ng-model-options=\"{ updateOn: 'blur' }\"\n * ng-keyup=\"cancel($event)\" />\n * </label><br />\n * <label>\n * Other data:\n * <input type=\"text\" ng-model=\"user.data\" />\n * </label><br />\n * </form>\n * <pre>user.name = <span ng-bind=\"user.name\"></span></pre>\n * </div>\n * </file>\n * <file name=\"app.js\">\n * angular.module('optionsExample', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.user = { name: 'say', data: '' };\n *\n * $scope.cancel = function(e) {\n * if (e.keyCode === 27) {\n * $scope.userForm.userName.$rollbackViewValue();\n * }\n * };\n * }]);\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n * var model = element(by.binding('user.name'));\n * var input = element(by.model('user.name'));\n * var other = element(by.model('user.data'));\n *\n * it('should allow custom events', function() {\n * input.sendKeys(' hello');\n * input.click();\n * expect(model.getText()).toEqual('say');\n * other.click();\n * expect(model.getText()).toEqual('say hello');\n * });\n *\n * it('should $rollbackViewValue when model changes', function() {\n * input.sendKeys(' hello');\n * expect(input.getAttribute('value')).toEqual('say hello');\n * input.sendKeys(protractor.Key.ESCAPE);\n * expect(input.getAttribute('value')).toEqual('say');\n * other.click();\n * expect(model.getText()).toEqual('say');\n * });\n * </file>\n * </example>\n *\n * ### Debouncing updates\n *\n * The next example shows how to debounce model changes. Model will be updated only 1 sec after last change.\n * If the `Clear` button is pressed, any debounced action is canceled and the value becomes empty.\n *\n * <example name=\"ngModelOptions-directive-debounce\" module=\"optionsExample\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n * <form name=\"userForm\">\n * Name:\n * <input type=\"text\" name=\"userName\"\n * ng-model=\"user.name\"\n * ng-model-options=\"{ debounce: 1000 }\" />\n * <button ng-click=\"userForm.userName.$rollbackViewValue(); user.name=''\">Clear</button><br />\n * </form>\n * <pre>user.name = <span ng-bind=\"user.name\"></span></pre>\n * </div>\n * </file>\n * <file name=\"app.js\">\n * angular.module('optionsExample', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.user = { name: 'say' };\n * }]);\n * </file>\n * </example>\n *\n * ### Default events, extra triggers, and catch-all debounce values\n *\n * This example shows the relationship between \"default\" update events and\n * additional `updateOn` triggers.\n *\n * `default` events are those that are bound to the control, and when fired, update the `$viewValue`\n * via {@link ngModel.NgModelController#$setViewValue $setViewValue}. Every event that is not listed\n * in `updateOn` is considered a \"default\" event, since different control types have different\n * default events.\n *\n * The control in this example updates by \"default\", \"click\", and \"blur\", with different `debounce`\n * values. You can see that \"click\" doesn't have an individual `debounce` value -\n * therefore it uses the `*` debounce value.\n *\n * There is also a button that calls {@link ngModel.NgModelController#$setViewValue $setViewValue}\n * directly with a \"custom\" event. Since \"custom\" is not defined in the `updateOn` list,\n * it is considered a \"default\" event and will update the\n * control if \"default\" is defined in `updateOn`, and will receive the \"default\" debounce value.\n * Note that this is just to illustrate how custom controls would possibly call `$setViewValue`.\n *\n * You can change the `updateOn` and `debounce` configuration to test different scenarios. This\n * is done with {@link ngModel.NgModelController#$overrideModelOptions $overrideModelOptions}.\n *\n <example name=\"ngModelOptions-advanced\" module=\"optionsExample\">\n <file name=\"index.html\">\n <model-update-demo></model-update-demo>\n </file>\n <file name=\"app.js\">\n angular.module('optionsExample', [])\n .component('modelUpdateDemo', {\n templateUrl: 'template.html',\n controller: function() {\n this.name = 'Chinua';\n\n this.options = {\n updateOn: 'default blur click',\n debounce: {\n default: 2000,\n blur: 0,\n '*': 1000\n }\n };\n\n this.updateEvents = function() {\n var eventList = this.options.updateOn.split(' ');\n eventList.push('*');\n var events = {};\n\n for (var i = 0; i < eventList.length; i++) {\n events[eventList[i]] = this.options.debounce[eventList[i]];\n }\n\n this.events = events;\n };\n\n this.updateOptions = function() {\n var options = angular.extend(this.options, {\n updateOn: Object.keys(this.events).join(' ').replace('*', ''),\n debounce: this.events\n });\n\n this.form.input.$overrideModelOptions(options);\n };\n\n // Initialize the event form\n this.updateEvents();\n }\n });\n </file>\n <file name=\"template.html\">\n <form name=\"$ctrl.form\">\n Input: <input type=\"text\" name=\"input\" ng-model=\"$ctrl.name\" ng-model-options=\"$ctrl.options\" />\n </form>\n Model: <tt>{{$ctrl.name}}</tt>\n <hr>\n <button ng-click=\"$ctrl.form.input.$setViewValue('some value', 'custom')\">Trigger setViewValue with 'some value' and 'custom' event</button>\n\n <hr>\n <form ng-submit=\"$ctrl.updateOptions()\">\n <b>updateOn</b><br>\n <input type=\"text\" ng-model=\"$ctrl.options.updateOn\" ng-change=\"$ctrl.updateEvents()\" ng-model-options=\"{debounce: 500}\">\n\n <table>\n <tr>\n <th>Option</th>\n <th>Debounce value</th>\n </tr>\n <tr ng-repeat=\"(key, value) in $ctrl.events\">\n <td>{{key}}</td>\n <td><input type=\"number\" ng-model=\"$ctrl.events[key]\" /></td>\n </tr>\n </table>\n\n <br>\n <input type=\"submit\" value=\"Update options\">\n </form>\n </file>\n </example>\n *\n *\n * ## Model updates and validation\n *\n * The default behaviour in `ngModel` is that the model value is set to `undefined` when the\n * validation determines that the value is invalid. By setting the `allowInvalid` property to true,\n * the model will still be updated even if the value is invalid.\n *\n *\n * ## Connecting to the scope\n *\n * By setting the `getterSetter` property to true you are telling ngModel that the `ngModel` expression\n * on the scope refers to a \"getter/setter\" function rather than the value itself.\n *\n * The following example shows how to bind to getter/setters:\n *\n * <example name=\"ngModelOptions-directive-getter-setter\" module=\"getterSetterExample\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n * <form name=\"userForm\">\n * <label>\n * Name:\n * <input type=\"text\" name=\"userName\"\n * ng-model=\"user.name\"\n * ng-model-options=\"{ getterSetter: true }\" />\n * </label>\n * </form>\n * <pre>user.name = <span ng-bind=\"user.name()\"></span></pre>\n * </div>\n * </file>\n * <file name=\"app.js\">\n * angular.module('getterSetterExample', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * var _name = 'Brian';\n * $scope.user = {\n * name: function(newName) {\n * return angular.isDefined(newName) ? (_name = newName) : _name;\n * }\n * };\n * }]);\n * </file>\n * </example>\n *\n *\n * ## Programmatically changing options\n *\n * The `ngModelOptions` expression is only evaluated once when the directive is linked; it is not\n * watched for changes. However, it is possible to override the options on a single\n * {@link ngModel.NgModelController} instance with\n * {@link ngModel.NgModelController#$overrideModelOptions `NgModelController#$overrideModelOptions()`}.\n * See also the example for\n * {@link ngModelOptions#default-events-extra-triggers-and-catch-all-debounce-values\n * Default events, extra triggers, and catch-all debounce values}.\n *\n *\n * ## Specifying timezones\n *\n * You can specify the timezone that date/time input directives expect by providing its name in the\n * `timezone` property.\n *\n *\n * ## Formatting the value of `time` and `datetime-local`\n *\n * With the options `timeSecondsFormat` and `timeStripZeroSeconds` it is possible to adjust the value\n * that is displayed in the control. Note that browsers may apply their own formatting\n * in the user interface.\n *\n <example name=\"ngModelOptions-time-format\" module=\"timeExample\">\n <file name=\"index.html\">\n <time-example></time-example>\n </file>\n <file name=\"script.js\">\n angular.module('timeExample', [])\n .component('timeExample', {\n templateUrl: 'timeExample.html',\n controller: function() {\n this.time = new Date(1970, 0, 1, 14, 57, 0);\n\n this.options = {\n timeSecondsFormat: 'ss',\n timeStripZeroSeconds: true\n };\n\n this.optionChange = function() {\n this.timeForm.timeFormatted.$overrideModelOptions(this.options);\n this.time = new Date(this.time);\n };\n }\n });\n </file>\n <file name=\"timeExample.html\">\n <form name=\"$ctrl.timeForm\">\n <strong>Default</strong>:\n <input type=\"time\" ng-model=\"$ctrl.time\" step=\"any\" /><br>\n <strong>With options</strong>:\n <input type=\"time\" name=\"timeFormatted\" ng-model=\"$ctrl.time\" step=\"any\" ng-model-options=\"$ctrl.options\" />\n <br>\n\n Options:<br>\n <code>timeSecondsFormat</code>:\n <input\n type=\"text\"\n ng-model=\"$ctrl.options.timeSecondsFormat\"\n ng-change=\"$ctrl.optionChange()\">\n <br>\n <code>timeStripZeroSeconds</code>:\n <input\n type=\"checkbox\"\n ng-model=\"$ctrl.options.timeStripZeroSeconds\"\n ng-change=\"$ctrl.optionChange()\">\n </form>\n </file>\n * </example>\n *\n * @param {Object} ngModelOptions options to apply to {@link ngModel} directives on this element and\n * and its descendents.\n *\n * **General options**:\n *\n * - `updateOn`: string specifying which event should the input be bound to. You can set several\n * events using an space delimited list. There is a special event called `default` that\n * matches the default events belonging to the control. These are the events that are bound to\n * the control, and when fired, update the `$viewValue` via `$setViewValue`.\n *\n * `ngModelOptions` considers every event that is not listed in `updateOn` a \"default\" event,\n * since different control types use different default events.\n *\n * See also the section {@link ngModelOptions#triggering-and-debouncing-model-updates\n * Triggering and debouncing model updates}.\n *\n * - `debounce`: integer value which contains the debounce model update value in milliseconds. A\n * value of 0 triggers an immediate update. If an object is supplied instead, you can specify a\n * custom value for each event. For example:\n * ```\n * ng-model-options=\"{\n * updateOn: 'default blur',\n * debounce: { 'default': 500, 'blur': 0 }\n * }\"\n * ```\n * You can use the `*` key to specify a debounce value that applies to all events that are not\n * specifically listed. In the following example, `mouseup` would have a debounce delay of 1000:\n * ```\n * ng-model-options=\"{\n * updateOn: 'default blur mouseup',\n * debounce: { 'default': 500, 'blur': 0, '*': 1000 }\n * }\"\n * ```\n * - `allowInvalid`: boolean value which indicates that the model can be set with values that did\n * not validate correctly instead of the default behavior of setting the model to undefined.\n * - `getterSetter`: boolean value which determines whether or not to treat functions bound to\n * `ngModel` as getters/setters.\n *\n *\n * **Input-type specific options**:\n *\n * - `timezone`: Defines the timezone to be used to read/write the `Date` instance in the model for\n * `<input type=\"date\" />`, `<input type=\"time\" />`, ... . It understands UTC/GMT and the\n * continental US time zone abbreviations, but for general use, use a time zone offset, for\n * example, `'+0430'` (4 hours, 30 minutes east of the Greenwich meridian)\n * If not specified, the timezone of the browser will be used.\n * Note that changing the timezone will have no effect on the current date, and is only applied after\n * the next input / model change.\n *\n * - `timeSecondsFormat`: Defines if the `time` and `datetime-local` types should show seconds and\n * milliseconds. The option follows the format string of {@link date date filter}.\n * By default, the options is `undefined` which is equal to `'ss.sss'` (seconds and milliseconds).\n * The other options are `'ss'` (strips milliseconds), and `''` (empty string), which strips both\n * seconds and milliseconds.\n * Note that browsers that support `time` and `datetime-local` require the hour and minutes\n * part of the time string, and may show the value differently in the user interface.\n * {@link ngModelOptions#formatting-the-value-of-time-and-datetime-local- See the example}.\n *\n * - `timeStripZeroSeconds`: Defines if the `time` and `datetime-local` types should strip the\n * seconds and milliseconds from the formatted value if they are zero. This option is applied\n * after `timeSecondsFormat`.\n * This option can be used to make the formatting consistent over different browsers, as some\n * browsers with support for `time` will natively hide the milliseconds and\n * seconds if they are zero, but others won't, and browsers that don't implement these input\n * types will always show the full string.\n * {@link ngModelOptions#formatting-the-value-of-time-and-datetime-local- See the example}.\n *\n */\nvar ngModelOptionsDirective = function() {\n NgModelOptionsController.$inject = ['$attrs', '$scope'];\n function NgModelOptionsController($attrs, $scope) {\n this.$$attrs = $attrs;\n this.$$scope = $scope;\n }\n NgModelOptionsController.prototype = {\n $onInit: function() {\n var parentOptions = this.parentCtrl ? this.parentCtrl.$options : defaultModelOptions;\n var modelOptionsDefinition = this.$$scope.$eval(this.$$attrs.ngModelOptions);\n\n this.$options = parentOptions.createChild(modelOptionsDefinition);\n }\n };\n\n return {\n restrict: 'A',\n // ngModelOptions needs to run before ngModel and input directives\n priority: 10,\n require: {parentCtrl: '?^^ngModelOptions'},\n bindToController: true,\n controller: NgModelOptionsController\n };\n};\n\n\n// shallow copy over values from `src` that are not already specified on `dst`\nfunction defaults(dst, src) {\n forEach(src, function(value, key) {\n if (!isDefined(dst[key])) {\n dst[key] = value;\n }\n });\n}\n\n/**\n * @ngdoc directive\n * @name ngNonBindable\n * @restrict AC\n * @priority 1000\n * @element ANY\n *\n * @description\n * The `ngNonBindable` directive tells AngularJS not to compile or bind the contents of the current\n * DOM element, including directives on the element itself that have a lower priority than\n * `ngNonBindable`. This is useful if the element contains what appears to be AngularJS directives\n * and bindings but which should be ignored by AngularJS. This could be the case if you have a site\n * that displays snippets of code, for instance.\n *\n * @example\n * In this example there are two locations where a simple interpolation binding (`{{}}`) is present,\n * but the one wrapped in `ngNonBindable` is left alone.\n *\n <example name=\"ng-non-bindable\">\n <file name=\"index.html\">\n <div>Normal: {{1 + 2}}</div>\n <div ng-non-bindable>Ignored: {{1 + 2}}</div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ng-non-bindable', function() {\n expect(element(by.binding('1 + 2')).getText()).toContain('3');\n expect(element.all(by.css('div')).last().getText()).toMatch(/1 \\+ 2/);\n });\n </file>\n </example>\n */\nvar ngNonBindableDirective = ngDirective({ terminal: true, priority: 1000 });\n\n/* exported ngOptionsDirective */\n\n/* global jqLiteRemove */\n\nvar ngOptionsMinErr = minErr('ngOptions');\n\n/**\n * @ngdoc directive\n * @name ngOptions\n * @restrict A\n *\n * @description\n *\n * The `ngOptions` attribute can be used to dynamically generate a list of `<option>`\n * elements for the `<select>` element using the array or object obtained by evaluating the\n * `ngOptions` comprehension expression.\n *\n * In many cases, {@link ng.directive:ngRepeat ngRepeat} can be used on `<option>` elements instead of\n * `ngOptions` to achieve a similar result. However, `ngOptions` provides some benefits:\n * - more flexibility in how the `<select>`'s model is assigned via the `select` **`as`** part of the\n * comprehension expression\n * - reduced memory consumption by not creating a new scope for each repeated instance\n * - increased render speed by creating the options in a documentFragment instead of individually\n *\n * When an item in the `<select>` menu is selected, the array element or object property\n * represented by the selected option will be bound to the model identified by the `ngModel`\n * directive.\n *\n * Optionally, a single hard-coded `<option>` element, with the value set to an empty string, can\n * be nested into the `<select>` element. This element will then represent the `null` or \"not selected\"\n * option. See example below for demonstration.\n *\n * ## Complex Models (objects or collections)\n *\n * By default, `ngModel` watches the model by reference, not value. This is important to know when\n * binding the select to a model that is an object or a collection.\n *\n * One issue occurs if you want to preselect an option. For example, if you set\n * the model to an object that is equal to an object in your collection, `ngOptions` won't be able to set the selection,\n * because the objects are not identical. So by default, you should always reference the item in your collection\n * for preselections, e.g.: `$scope.selected = $scope.collection[3]`.\n *\n * Another solution is to use a `track by` clause, because then `ngOptions` will track the identity\n * of the item not by reference, but by the result of the `track by` expression. For example, if your\n * collection items have an id property, you would `track by item.id`.\n *\n * A different issue with objects or collections is that ngModel won't detect if an object property or\n * a collection item changes. For that reason, `ngOptions` additionally watches the model using\n * `$watchCollection`, when the expression contains a `track by` clause or the the select has the `multiple` attribute.\n * This allows ngOptions to trigger a re-rendering of the options even if the actual object/collection\n * has not changed identity, but only a property on the object or an item in the collection changes.\n *\n * Note that `$watchCollection` does a shallow comparison of the properties of the object (or the items in the collection\n * if the model is an array). This means that changing a property deeper than the first level inside the\n * object/collection will not trigger a re-rendering.\n *\n * ## `select` **`as`**\n *\n * Using `select` **`as`** will bind the result of the `select` expression to the model, but\n * the value of the `<select>` and `<option>` html elements will be either the index (for array data sources)\n * or property name (for object data sources) of the value within the collection. If a **`track by`** expression\n * is used, the result of that expression will be set as the value of the `option` and `select` elements.\n *\n *\n * ### `select` **`as`** and **`track by`**\n *\n * <div class=\"alert alert-warning\">\n * Be careful when using `select` **`as`** and **`track by`** in the same expression.\n * </div>\n *\n * Given this array of items on the $scope:\n *\n * ```js\n * $scope.items = [{\n * id: 1,\n * label: 'aLabel',\n * subItem: { name: 'aSubItem' }\n * }, {\n * id: 2,\n * label: 'bLabel',\n * subItem: { name: 'bSubItem' }\n * }];\n * ```\n *\n * This will work:\n *\n * ```html\n * <select ng-options=\"item as item.label for item in items track by item.id\" ng-model=\"selected\"></select>\n * ```\n * ```js\n * $scope.selected = $scope.items[0];\n * ```\n *\n * but this will not work:\n *\n * ```html\n * <select ng-options=\"item.subItem as item.label for item in items track by item.id\" ng-model=\"selected\"></select>\n * ```\n * ```js\n * $scope.selected = $scope.items[0].subItem;\n * ```\n *\n * In both examples, the **`track by`** expression is applied successfully to each `item` in the\n * `items` array. Because the selected option has been set programmatically in the controller, the\n * **`track by`** expression is also applied to the `ngModel` value. In the first example, the\n * `ngModel` value is `items[0]` and the **`track by`** expression evaluates to `items[0].id` with\n * no issue. In the second example, the `ngModel` value is `items[0].subItem` and the **`track by`**\n * expression evaluates to `items[0].subItem.id` (which is undefined). As a result, the model value\n * is not matched against any `<option>` and the `<select>` appears as having no selected value.\n *\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {comprehension_expression} ngOptions in one of the following forms:\n *\n * * for array data sources:\n * * `label` **`for`** `value` **`in`** `array`\n * * `select` **`as`** `label` **`for`** `value` **`in`** `array`\n * * `label` **`group by`** `group` **`for`** `value` **`in`** `array`\n * * `label` **`disable when`** `disable` **`for`** `value` **`in`** `array`\n * * `label` **`group by`** `group` **`for`** `value` **`in`** `array` **`track by`** `trackexpr`\n * * `label` **`disable when`** `disable` **`for`** `value` **`in`** `array` **`track by`** `trackexpr`\n * * `label` **`for`** `value` **`in`** `array` | orderBy:`orderexpr` **`track by`** `trackexpr`\n * (for including a filter with `track by`)\n * * for object data sources:\n * * `label` **`for (`**`key` **`,`** `value`**`) in`** `object`\n * * `select` **`as`** `label` **`for (`**`key` **`,`** `value`**`) in`** `object`\n * * `label` **`group by`** `group` **`for (`**`key`**`,`** `value`**`) in`** `object`\n * * `label` **`disable when`** `disable` **`for (`**`key`**`,`** `value`**`) in`** `object`\n * * `select` **`as`** `label` **`group by`** `group`\n * **`for` `(`**`key`**`,`** `value`**`) in`** `object`\n * * `select` **`as`** `label` **`disable when`** `disable`\n * **`for` `(`**`key`**`,`** `value`**`) in`** `object`\n *\n * Where:\n *\n * * `array` / `object`: an expression which evaluates to an array / object to iterate over.\n * * `value`: local variable which will refer to each item in the `array` or each property value\n * of `object` during iteration.\n * * `key`: local variable which will refer to a property name in `object` during iteration.\n * * `label`: The result of this expression will be the label for `<option>` element. The\n * `expression` will most likely refer to the `value` variable (e.g. `value.propertyName`).\n * * `select`: The result of this expression will be bound to the model of the parent `<select>`\n * element. If not specified, `select` expression will default to `value`.\n * * `group`: The result of this expression will be used to group options using the `<optgroup>`\n * DOM element.\n * * `disable`: The result of this expression will be used to disable the rendered `<option>`\n * element. Return `true` to disable.\n * * `trackexpr`: Used when working with an array of objects. The result of this expression will be\n * used to identify the objects in the array. The `trackexpr` will most likely refer to the\n * `value` variable (e.g. `value.propertyName`). With this the selection is preserved\n * even when the options are recreated (e.g. reloaded from the server).\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} required The control is considered valid only if value is entered.\n * @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to\n * the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of\n * `required` when you want to data-bind to the `required` attribute.\n * @param {string=} ngAttrSize sets the size of the select element dynamically. Uses the\n * {@link guide/interpolation#-ngattr-for-binding-to-arbitrary-attributes ngAttr} directive.\n *\n * @example\n <example module=\"selectExample\" name=\"select\">\n <file name=\"index.html\">\n <script>\n angular.module('selectExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.colors = [\n {name:'black', shade:'dark'},\n {name:'white', shade:'light', notAnOption: true},\n {name:'red', shade:'dark'},\n {name:'blue', shade:'dark', notAnOption: true},\n {name:'yellow', shade:'light', notAnOption: false}\n ];\n $scope.myColor = $scope.colors[2]; // red\n }]);\n </script>\n <div ng-controller=\"ExampleController\">\n <ul>\n <li ng-repeat=\"color in colors\">\n <label>Name: <input ng-model=\"color.name\"></label>\n <label><input type=\"checkbox\" ng-model=\"color.notAnOption\"> Disabled?</label>\n <button ng-click=\"colors.splice($index, 1)\" aria-label=\"Remove\">X</button>\n </li>\n <li>\n <button ng-click=\"colors.push({})\">add</button>\n </li>\n </ul>\n <hr/>\n <label>Color (null not allowed):\n <select ng-model=\"myColor\" ng-options=\"color.name for color in colors\"></select>\n </label><br/>\n <label>Color (null allowed):\n <span class=\"nullable\">\n <select ng-model=\"myColor\" ng-options=\"color.name for color in colors\">\n <option value=\"\">-- choose color --</option>\n </select>\n </span></label><br/>\n\n <label>Color grouped by shade:\n <select ng-model=\"myColor\" ng-options=\"color.name group by color.shade for color in colors\">\n </select>\n </label><br/>\n\n <label>Color grouped by shade, with some disabled:\n <select ng-model=\"myColor\"\n ng-options=\"color.name group by color.shade disable when color.notAnOption for color in colors\">\n </select>\n </label><br/>\n\n\n\n Select <button ng-click=\"myColor = { name:'not in list', shade: 'other' }\">bogus</button>.\n <br/>\n <hr/>\n Currently selected: {{ {selected_color:myColor} }}\n <div style=\"border:solid 1px black; height:20px\"\n ng-style=\"{'background-color':myColor.name}\">\n </div>\n </div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ng-options', function() {\n expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('red');\n element.all(by.model('myColor')).first().click();\n element.all(by.css('select[ng-model=\"myColor\"] option')).first().click();\n expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('black');\n element(by.css('.nullable select[ng-model=\"myColor\"]')).click();\n element.all(by.css('.nullable select[ng-model=\"myColor\"] option')).first().click();\n expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('null');\n });\n </file>\n </example>\n */\n\n/* eslint-disable max-len */\n// //00001111111111000000000002222222222000000000000000000000333333333300000000000000000000000004444444444400000000000005555555555555000000000666666666666600000007777777777777000000000000000888888888800000000000000000009999999999\nvar NG_OPTIONS_REGEXP = /^\\s*([\\s\\S]+?)(?:\\s+as\\s+([\\s\\S]+?))?(?:\\s+group\\s+by\\s+([\\s\\S]+?))?(?:\\s+disable\\s+when\\s+([\\s\\S]+?))?\\s+for\\s+(?:([$\\w][$\\w]*)|(?:\\(\\s*([$\\w][$\\w]*)\\s*,\\s*([$\\w][$\\w]*)\\s*\\)))\\s+in\\s+([\\s\\S]+?)(?:\\s+track\\s+by\\s+([\\s\\S]+?))?$/;\n // 1: value expression (valueFn)\n // 2: label expression (displayFn)\n // 3: group by expression (groupByFn)\n // 4: disable when expression (disableWhenFn)\n // 5: array item variable name\n // 6: object item key variable name\n // 7: object item value variable name\n // 8: collection expression\n // 9: track by expression\n/* eslint-enable */\n\n\nvar ngOptionsDirective = ['$compile', '$document', '$parse', function($compile, $document, $parse) {\n\n function parseOptionsExpression(optionsExp, selectElement, scope) {\n\n var match = optionsExp.match(NG_OPTIONS_REGEXP);\n if (!(match)) {\n throw ngOptionsMinErr('iexp',\n 'Expected expression in form of ' +\n '\\'_select_ (as _label_)? for (_key_,)?_value_ in _collection_\\'' +\n ' but got \\'{0}\\'. Element: {1}',\n optionsExp, startingTag(selectElement));\n }\n\n // Extract the parts from the ngOptions expression\n\n // The variable name for the value of the item in the collection\n var valueName = match[5] || match[7];\n // The variable name for the key of the item in the collection\n var keyName = match[6];\n\n // An expression that generates the viewValue for an option if there is a label expression\n var selectAs = / as /.test(match[0]) && match[1];\n // An expression that is used to track the id of each object in the options collection\n var trackBy = match[9];\n // An expression that generates the viewValue for an option if there is no label expression\n var valueFn = $parse(match[2] ? match[1] : valueName);\n var selectAsFn = selectAs && $parse(selectAs);\n var viewValueFn = selectAsFn || valueFn;\n var trackByFn = trackBy && $parse(trackBy);\n\n // Get the value by which we are going to track the option\n // if we have a trackFn then use that (passing scope and locals)\n // otherwise just hash the given viewValue\n var getTrackByValueFn = trackBy ?\n function(value, locals) { return trackByFn(scope, locals); } :\n function getHashOfValue(value) { return hashKey(value); };\n var getTrackByValue = function(value, key) {\n return getTrackByValueFn(value, getLocals(value, key));\n };\n\n var displayFn = $parse(match[2] || match[1]);\n var groupByFn = $parse(match[3] || '');\n var disableWhenFn = $parse(match[4] || '');\n var valuesFn = $parse(match[8]);\n\n var locals = {};\n var getLocals = keyName ? function(value, key) {\n locals[keyName] = key;\n locals[valueName] = value;\n return locals;\n } : function(value) {\n locals[valueName] = value;\n return locals;\n };\n\n\n function Option(selectValue, viewValue, label, group, disabled) {\n this.selectValue = selectValue;\n this.viewValue = viewValue;\n this.label = label;\n this.group = group;\n this.disabled = disabled;\n }\n\n function getOptionValuesKeys(optionValues) {\n var optionValuesKeys;\n\n if (!keyName && isArrayLike(optionValues)) {\n optionValuesKeys = optionValues;\n } else {\n // if object, extract keys, in enumeration order, unsorted\n optionValuesKeys = [];\n for (var itemKey in optionValues) {\n if (optionValues.hasOwnProperty(itemKey) && itemKey.charAt(0) !== '$') {\n optionValuesKeys.push(itemKey);\n }\n }\n }\n return optionValuesKeys;\n }\n\n return {\n trackBy: trackBy,\n getTrackByValue: getTrackByValue,\n getWatchables: $parse(valuesFn, function(optionValues) {\n // Create a collection of things that we would like to watch (watchedArray)\n // so that they can all be watched using a single $watchCollection\n // that only runs the handler once if anything changes\n var watchedArray = [];\n optionValues = optionValues || [];\n\n var optionValuesKeys = getOptionValuesKeys(optionValues);\n var optionValuesLength = optionValuesKeys.length;\n for (var index = 0; index < optionValuesLength; index++) {\n var key = (optionValues === optionValuesKeys) ? index : optionValuesKeys[index];\n var value = optionValues[key];\n\n var locals = getLocals(value, key);\n var selectValue = getTrackByValueFn(value, locals);\n watchedArray.push(selectValue);\n\n // Only need to watch the displayFn if there is a specific label expression\n if (match[2] || match[1]) {\n var label = displayFn(scope, locals);\n watchedArray.push(label);\n }\n\n // Only need to watch the disableWhenFn if there is a specific disable expression\n if (match[4]) {\n var disableWhen = disableWhenFn(scope, locals);\n watchedArray.push(disableWhen);\n }\n }\n return watchedArray;\n }),\n\n getOptions: function() {\n\n var optionItems = [];\n var selectValueMap = {};\n\n // The option values were already computed in the `getWatchables` fn,\n // which must have been called to trigger `getOptions`\n var optionValues = valuesFn(scope) || [];\n var optionValuesKeys = getOptionValuesKeys(optionValues);\n var optionValuesLength = optionValuesKeys.length;\n\n for (var index = 0; index < optionValuesLength; index++) {\n var key = (optionValues === optionValuesKeys) ? index : optionValuesKeys[index];\n var value = optionValues[key];\n var locals = getLocals(value, key);\n var viewValue = viewValueFn(scope, locals);\n var selectValue = getTrackByValueFn(viewValue, locals);\n var label = displayFn(scope, locals);\n var group = groupByFn(scope, locals);\n var disabled = disableWhenFn(scope, locals);\n var optionItem = new Option(selectValue, viewValue, label, group, disabled);\n\n optionItems.push(optionItem);\n selectValueMap[selectValue] = optionItem;\n }\n\n return {\n items: optionItems,\n selectValueMap: selectValueMap,\n getOptionFromViewValue: function(value) {\n return selectValueMap[getTrackByValue(value)];\n },\n getViewValueFromOption: function(option) {\n // If the viewValue could be an object that may be mutated by the application,\n // we need to make a copy and not return the reference to the value on the option.\n return trackBy ? copy(option.viewValue) : option.viewValue;\n }\n };\n }\n };\n }\n\n\n // Support: IE 9 only\n // We can't just jqLite('<option>') since jqLite is not smart enough\n // to create it in <select> and IE barfs otherwise.\n var optionTemplate = window.document.createElement('option'),\n optGroupTemplate = window.document.createElement('optgroup');\n\n function ngOptionsPostLink(scope, selectElement, attr, ctrls) {\n\n var selectCtrl = ctrls[0];\n var ngModelCtrl = ctrls[1];\n var multiple = attr.multiple;\n\n // The emptyOption allows the application developer to provide their own custom \"empty\"\n // option when the viewValue does not match any of the option values.\n for (var i = 0, children = selectElement.children(), ii = children.length; i < ii; i++) {\n if (children[i].value === '') {\n selectCtrl.hasEmptyOption = true;\n selectCtrl.emptyOption = children.eq(i);\n break;\n }\n }\n\n // The empty option will be compiled and rendered before we first generate the options\n selectElement.empty();\n\n var providedEmptyOption = !!selectCtrl.emptyOption;\n\n var unknownOption = jqLite(optionTemplate.cloneNode(false));\n unknownOption.val('?');\n\n var options;\n var ngOptions = parseOptionsExpression(attr.ngOptions, selectElement, scope);\n // This stores the newly created options before they are appended to the select.\n // Since the contents are removed from the fragment when it is appended,\n // we only need to create it once.\n var listFragment = $document[0].createDocumentFragment();\n\n // Overwrite the implementation. ngOptions doesn't use hashes\n selectCtrl.generateUnknownOptionValue = function(val) {\n return '?';\n };\n\n // Update the controller methods for multiple selectable options\n if (!multiple) {\n\n selectCtrl.writeValue = function writeNgOptionsValue(value) {\n // The options might not be defined yet when ngModel tries to render\n if (!options) return;\n\n var selectedOption = selectElement[0].options[selectElement[0].selectedIndex];\n var option = options.getOptionFromViewValue(value);\n\n // Make sure to remove the selected attribute from the previously selected option\n // Otherwise, screen readers might get confused\n if (selectedOption) selectedOption.removeAttribute('selected');\n\n if (option) {\n // Don't update the option when it is already selected.\n // For example, the browser will select the first option by default. In that case,\n // most properties are set automatically - except the `selected` attribute, which we\n // set always\n\n if (selectElement[0].value !== option.selectValue) {\n selectCtrl.removeUnknownOption();\n\n selectElement[0].value = option.selectValue;\n option.element.selected = true;\n }\n\n option.element.setAttribute('selected', 'selected');\n } else {\n selectCtrl.selectUnknownOrEmptyOption(value);\n }\n };\n\n selectCtrl.readValue = function readNgOptionsValue() {\n\n var selectedOption = options.selectValueMap[selectElement.val()];\n\n if (selectedOption && !selectedOption.disabled) {\n selectCtrl.unselectEmptyOption();\n selectCtrl.removeUnknownOption();\n return options.getViewValueFromOption(selectedOption);\n }\n return null;\n };\n\n // If we are using `track by` then we must watch the tracked value on the model\n // since ngModel only watches for object identity change\n // FIXME: When a user selects an option, this watch will fire needlessly\n if (ngOptions.trackBy) {\n scope.$watch(\n function() { return ngOptions.getTrackByValue(ngModelCtrl.$viewValue); },\n function() { ngModelCtrl.$render(); }\n );\n }\n\n } else {\n\n selectCtrl.writeValue = function writeNgOptionsMultiple(values) {\n // The options might not be defined yet when ngModel tries to render\n if (!options) return;\n\n // Only set `<option>.selected` if necessary, in order to prevent some browsers from\n // scrolling to `<option>` elements that are outside the `<select>` element's viewport.\n var selectedOptions = values && values.map(getAndUpdateSelectedOption) || [];\n\n options.items.forEach(function(option) {\n if (option.element.selected && !includes(selectedOptions, option)) {\n option.element.selected = false;\n }\n });\n };\n\n\n selectCtrl.readValue = function readNgOptionsMultiple() {\n var selectedValues = selectElement.val() || [],\n selections = [];\n\n forEach(selectedValues, function(value) {\n var option = options.selectValueMap[value];\n if (option && !option.disabled) selections.push(options.getViewValueFromOption(option));\n });\n\n return selections;\n };\n\n // If we are using `track by` then we must watch these tracked values on the model\n // since ngModel only watches for object identity change\n if (ngOptions.trackBy) {\n\n scope.$watchCollection(function() {\n if (isArray(ngModelCtrl.$viewValue)) {\n return ngModelCtrl.$viewValue.map(function(value) {\n return ngOptions.getTrackByValue(value);\n });\n }\n }, function() {\n ngModelCtrl.$render();\n });\n\n }\n }\n\n if (providedEmptyOption) {\n\n // compile the element since there might be bindings in it\n $compile(selectCtrl.emptyOption)(scope);\n\n selectElement.prepend(selectCtrl.emptyOption);\n\n if (selectCtrl.emptyOption[0].nodeType === NODE_TYPE_COMMENT) {\n // This means the empty option has currently no actual DOM node, probably because\n // it has been modified by a transclusion directive.\n selectCtrl.hasEmptyOption = false;\n\n // Redefine the registerOption function, which will catch\n // options that are added by ngIf etc. (rendering of the node is async because of\n // lazy transclusion)\n selectCtrl.registerOption = function(optionScope, optionEl) {\n if (optionEl.val() === '') {\n selectCtrl.hasEmptyOption = true;\n selectCtrl.emptyOption = optionEl;\n selectCtrl.emptyOption.removeClass('ng-scope');\n // This ensures the new empty option is selected if previously no option was selected\n ngModelCtrl.$render();\n\n optionEl.on('$destroy', function() {\n var needsRerender = selectCtrl.$isEmptyOptionSelected();\n\n selectCtrl.hasEmptyOption = false;\n selectCtrl.emptyOption = undefined;\n\n if (needsRerender) ngModelCtrl.$render();\n });\n }\n };\n\n } else {\n // remove the class, which is added automatically because we recompile the element and it\n // becomes the compilation root\n selectCtrl.emptyOption.removeClass('ng-scope');\n }\n\n }\n\n // We will re-render the option elements if the option values or labels change\n scope.$watchCollection(ngOptions.getWatchables, updateOptions);\n\n // ------------------------------------------------------------------ //\n\n function addOptionElement(option, parent) {\n var optionElement = optionTemplate.cloneNode(false);\n parent.appendChild(optionElement);\n updateOptionElement(option, optionElement);\n }\n\n function getAndUpdateSelectedOption(viewValue) {\n var option = options.getOptionFromViewValue(viewValue);\n var element = option && option.element;\n\n if (element && !element.selected) element.selected = true;\n\n return option;\n }\n\n function updateOptionElement(option, element) {\n option.element = element;\n element.disabled = option.disabled;\n // Support: IE 11 only, Edge 12-13 only\n // NOTE: The label must be set before the value, otherwise IE 11 & Edge create unresponsive\n // selects in certain circumstances when multiple selects are next to each other and display\n // the option list in listbox style, i.e. the select is [multiple], or specifies a [size].\n // See https://github.com/angular/angular.js/issues/11314 for more info.\n // This is unfortunately untestable with unit / e2e tests\n if (option.label !== element.label) {\n element.label = option.label;\n element.textContent = option.label;\n }\n element.value = option.selectValue;\n }\n\n function updateOptions() {\n var previousValue = options && selectCtrl.readValue();\n\n // We must remove all current options, but cannot simply set innerHTML = null\n // since the providedEmptyOption might have an ngIf on it that inserts comments which we\n // must preserve.\n // Instead, iterate over the current option elements and remove them or their optgroup\n // parents\n if (options) {\n\n for (var i = options.items.length - 1; i >= 0; i--) {\n var option = options.items[i];\n if (isDefined(option.group)) {\n jqLiteRemove(option.element.parentNode);\n } else {\n jqLiteRemove(option.element);\n }\n }\n }\n\n options = ngOptions.getOptions();\n\n var groupElementMap = {};\n\n options.items.forEach(function addOption(option) {\n var groupElement;\n\n if (isDefined(option.group)) {\n\n // This option is to live in a group\n // See if we have already created this group\n groupElement = groupElementMap[option.group];\n\n if (!groupElement) {\n\n groupElement = optGroupTemplate.cloneNode(false);\n listFragment.appendChild(groupElement);\n\n // Update the label on the group element\n // \"null\" is special cased because of Safari\n groupElement.label = option.group === null ? 'null' : option.group;\n\n // Store it for use later\n groupElementMap[option.group] = groupElement;\n }\n\n addOptionElement(option, groupElement);\n\n } else {\n\n // This option is not in a group\n addOptionElement(option, listFragment);\n }\n });\n\n selectElement[0].appendChild(listFragment);\n\n ngModelCtrl.$render();\n\n // Check to see if the value has changed due to the update to the options\n if (!ngModelCtrl.$isEmpty(previousValue)) {\n var nextValue = selectCtrl.readValue();\n var isNotPrimitive = ngOptions.trackBy || multiple;\n if (isNotPrimitive ? !equals(previousValue, nextValue) : previousValue !== nextValue) {\n ngModelCtrl.$setViewValue(nextValue);\n ngModelCtrl.$render();\n }\n }\n }\n }\n\n return {\n restrict: 'A',\n terminal: true,\n require: ['select', 'ngModel'],\n link: {\n pre: function ngOptionsPreLink(scope, selectElement, attr, ctrls) {\n // Deactivate the SelectController.register method to prevent\n // option directives from accidentally registering themselves\n // (and unwanted $destroy handlers etc.)\n ctrls[0].registerOption = noop;\n },\n post: ngOptionsPostLink\n }\n };\n}];\n\n/**\n * @ngdoc directive\n * @name ngPluralize\n * @restrict EA\n *\n * @description\n * `ngPluralize` is a directive that displays messages according to en-US localization rules.\n * These rules are bundled with angular.js, but can be overridden\n * (see {@link guide/i18n AngularJS i18n} dev guide). You configure ngPluralize directive\n * by specifying the mappings between\n * [plural categories](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html)\n * and the strings to be displayed.\n *\n * ## Plural categories and explicit number rules\n * There are two\n * [plural categories](http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html)\n * in AngularJS's default en-US locale: \"one\" and \"other\".\n *\n * While a plural category may match many numbers (for example, in en-US locale, \"other\" can match\n * any number that is not 1), an explicit number rule can only match one number. For example, the\n * explicit number rule for \"3\" matches the number 3. There are examples of plural categories\n * and explicit number rules throughout the rest of this documentation.\n *\n * ## Configuring ngPluralize\n * You configure ngPluralize by providing 2 attributes: `count` and `when`.\n * You can also provide an optional attribute, `offset`.\n *\n * The value of the `count` attribute can be either a string or an {@link guide/expression\n * AngularJS expression}; these are evaluated on the current scope for its bound value.\n *\n * The `when` attribute specifies the mappings between plural categories and the actual\n * string to be displayed. The value of the attribute should be a JSON object.\n *\n * The following example shows how to configure ngPluralize:\n *\n * ```html\n * <ng-pluralize count=\"personCount\"\n when=\"{'0': 'Nobody is viewing.',\n * 'one': '1 person is viewing.',\n * 'other': '{} people are viewing.'}\">\n * </ng-pluralize>\n *```\n *\n * In the example, `\"0: Nobody is viewing.\"` is an explicit number rule. If you did not\n * specify this rule, 0 would be matched to the \"other\" category and \"0 people are viewing\"\n * would be shown instead of \"Nobody is viewing\". You can specify an explicit number rule for\n * other numbers, for example 12, so that instead of showing \"12 people are viewing\", you can\n * show \"a dozen people are viewing\".\n *\n * You can use a set of closed braces (`{}`) as a placeholder for the number that you want substituted\n * into pluralized strings. In the previous example, AngularJS will replace `{}` with\n * <span ng-non-bindable>`{{personCount}}`</span>. The closed braces `{}` is a placeholder\n * for <span ng-non-bindable>{{numberExpression}}</span>.\n *\n * If no rule is defined for a category, then an empty string is displayed and a warning is generated.\n * Note that some locales define more categories than `one` and `other`. For example, fr-fr defines `few` and `many`.\n *\n * ## Configuring ngPluralize with offset\n * The `offset` attribute allows further customization of pluralized text, which can result in\n * a better user experience. For example, instead of the message \"4 people are viewing this document\",\n * you might display \"John, Kate and 2 others are viewing this document\".\n * The offset attribute allows you to offset a number by any desired value.\n * Let's take a look at an example:\n *\n * ```html\n * <ng-pluralize count=\"personCount\" offset=2\n * when=\"{'0': 'Nobody is viewing.',\n * '1': '{{person1}} is viewing.',\n * '2': '{{person1}} and {{person2}} are viewing.',\n * 'one': '{{person1}}, {{person2}} and one other person are viewing.',\n * 'other': '{{person1}}, {{person2}} and {} other people are viewing.'}\">\n * </ng-pluralize>\n * ```\n *\n * Notice that we are still using two plural categories(one, other), but we added\n * three explicit number rules 0, 1 and 2.\n * When one person, perhaps John, views the document, \"John is viewing\" will be shown.\n * When three people view the document, no explicit number rule is found, so\n * an offset of 2 is taken off 3, and AngularJS uses 1 to decide the plural category.\n * In this case, plural category 'one' is matched and \"John, Mary and one other person are viewing\"\n * is shown.\n *\n * Note that when you specify offsets, you must provide explicit number rules for\n * numbers from 0 up to and including the offset. If you use an offset of 3, for example,\n * you must provide explicit number rules for 0, 1, 2 and 3. You must also provide plural strings for\n * plural categories \"one\" and \"other\".\n *\n * @param {string|expression} count The variable to be bound to.\n * @param {string} when The mapping between plural category to its corresponding strings.\n * @param {number=} offset Offset to deduct from the total number.\n *\n * @example\n <example module=\"pluralizeExample\" name=\"ng-pluralize\">\n <file name=\"index.html\">\n <script>\n angular.module('pluralizeExample', [])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.person1 = 'Igor';\n $scope.person2 = 'Misko';\n $scope.personCount = 1;\n }]);\n </script>\n <div ng-controller=\"ExampleController\">\n <label>Person 1:<input type=\"text\" ng-model=\"person1\" value=\"Igor\" /></label><br/>\n <label>Person 2:<input type=\"text\" ng-model=\"person2\" value=\"Misko\" /></label><br/>\n <label>Number of People:<input type=\"text\" ng-model=\"personCount\" value=\"1\" /></label><br/>\n\n <!--- Example with simple pluralization rules for en locale --->\n Without Offset:\n <ng-pluralize count=\"personCount\"\n when=\"{'0': 'Nobody is viewing.',\n 'one': '1 person is viewing.',\n 'other': '{} people are viewing.'}\">\n </ng-pluralize><br>\n\n <!--- Example with offset --->\n With Offset(2):\n <ng-pluralize count=\"personCount\" offset=2\n when=\"{'0': 'Nobody is viewing.',\n '1': '{{person1}} is viewing.',\n '2': '{{person1}} and {{person2}} are viewing.',\n 'one': '{{person1}}, {{person2}} and one other person are viewing.',\n 'other': '{{person1}}, {{person2}} and {} other people are viewing.'}\">\n </ng-pluralize>\n </div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should show correct pluralized string', function() {\n var withoutOffset = element.all(by.css('ng-pluralize')).get(0);\n var withOffset = element.all(by.css('ng-pluralize')).get(1);\n var countInput = element(by.model('personCount'));\n\n expect(withoutOffset.getText()).toEqual('1 person is viewing.');\n expect(withOffset.getText()).toEqual('Igor is viewing.');\n\n countInput.clear();\n countInput.sendKeys('0');\n\n expect(withoutOffset.getText()).toEqual('Nobody is viewing.');\n expect(withOffset.getText()).toEqual('Nobody is viewing.');\n\n countInput.clear();\n countInput.sendKeys('2');\n\n expect(withoutOffset.getText()).toEqual('2 people are viewing.');\n expect(withOffset.getText()).toEqual('Igor and Misko are viewing.');\n\n countInput.clear();\n countInput.sendKeys('3');\n\n expect(withoutOffset.getText()).toEqual('3 people are viewing.');\n expect(withOffset.getText()).toEqual('Igor, Misko and one other person are viewing.');\n\n countInput.clear();\n countInput.sendKeys('4');\n\n expect(withoutOffset.getText()).toEqual('4 people are viewing.');\n expect(withOffset.getText()).toEqual('Igor, Misko and 2 other people are viewing.');\n });\n it('should show data-bound names', function() {\n var withOffset = element.all(by.css('ng-pluralize')).get(1);\n var personCount = element(by.model('personCount'));\n var person1 = element(by.model('person1'));\n var person2 = element(by.model('person2'));\n personCount.clear();\n personCount.sendKeys('4');\n person1.clear();\n person1.sendKeys('Di');\n person2.clear();\n person2.sendKeys('Vojta');\n expect(withOffset.getText()).toEqual('Di, Vojta and 2 other people are viewing.');\n });\n </file>\n </example>\n */\nvar ngPluralizeDirective = ['$locale', '$interpolate', '$log', function($locale, $interpolate, $log) {\n var BRACE = /{}/g,\n IS_WHEN = /^when(Minus)?(.+)$/;\n\n return {\n link: function(scope, element, attr) {\n var numberExp = attr.count,\n whenExp = attr.$attr.when && element.attr(attr.$attr.when), // we have {{}} in attrs\n offset = attr.offset || 0,\n whens = scope.$eval(whenExp) || {},\n whensExpFns = {},\n startSymbol = $interpolate.startSymbol(),\n endSymbol = $interpolate.endSymbol(),\n braceReplacement = startSymbol + numberExp + '-' + offset + endSymbol,\n watchRemover = angular.noop,\n lastCount;\n\n forEach(attr, function(expression, attributeName) {\n var tmpMatch = IS_WHEN.exec(attributeName);\n if (tmpMatch) {\n var whenKey = (tmpMatch[1] ? '-' : '') + lowercase(tmpMatch[2]);\n whens[whenKey] = element.attr(attr.$attr[attributeName]);\n }\n });\n forEach(whens, function(expression, key) {\n whensExpFns[key] = $interpolate(expression.replace(BRACE, braceReplacement));\n\n });\n\n scope.$watch(numberExp, function ngPluralizeWatchAction(newVal) {\n var count = parseFloat(newVal);\n var countIsNaN = isNumberNaN(count);\n\n if (!countIsNaN && !(count in whens)) {\n // If an explicit number rule such as 1, 2, 3... is defined, just use it.\n // Otherwise, check it against pluralization rules in $locale service.\n count = $locale.pluralCat(count - offset);\n }\n\n // If both `count` and `lastCount` are NaN, we don't need to re-register a watch.\n // In JS `NaN !== NaN`, so we have to explicitly check.\n if ((count !== lastCount) && !(countIsNaN && isNumberNaN(lastCount))) {\n watchRemover();\n var whenExpFn = whensExpFns[count];\n if (isUndefined(whenExpFn)) {\n if (newVal != null) {\n $log.debug('ngPluralize: no rule defined for \\'' + count + '\\' in ' + whenExp);\n }\n watchRemover = noop;\n updateElementText();\n } else {\n watchRemover = scope.$watch(whenExpFn, updateElementText);\n }\n lastCount = count;\n }\n });\n\n function updateElementText(newText) {\n element.text(newText || '');\n }\n }\n };\n}];\n\n/**\n * @ngdoc directive\n * @name ngRef\n * @restrict A\n *\n * @description\n * The `ngRef` attribute tells AngularJS to assign the controller of a component (or a directive)\n * to the given property in the current scope. It is also possible to add the jqlite-wrapped DOM\n * element to the scope.\n *\n * If the element with `ngRef` is destroyed `null` is assigned to the property.\n *\n * Note that if you want to assign from a child into the parent scope, you must initialize the\n * target property on the parent scope, otherwise `ngRef` will assign on the child scope.\n * This commonly happens when assigning elements or components wrapped in {@link ngIf} or\n * {@link ngRepeat}. See the second example below.\n *\n *\n * @element ANY\n * @param {string} ngRef property name - A valid AngularJS expression identifier to which the\n * controller or jqlite-wrapped DOM element will be bound.\n * @param {string=} ngRefRead read value - The name of a directive (or component) on this element,\n * or the special string `$element`. If a name is provided, `ngRef` will\n * assign the matching controller. If `$element` is provided, the element\n * itself is assigned (even if a controller is available).\n *\n *\n * @example\n * ### Simple toggle\n * This example shows how the controller of the component toggle\n * is reused in the template through the scope to use its logic.\n * <example name=\"ng-ref-component\" module=\"myApp\">\n * <file name=\"index.html\">\n * <my-toggle ng-ref=\"myToggle\"></my-toggle>\n * <button ng-click=\"myToggle.toggle()\">Toggle</button>\n * <div ng-show=\"myToggle.isOpen()\">\n * You are using a component in the same template to show it.\n * </div>\n * </file>\n * <file name=\"index.js\">\n * angular.module('myApp', [])\n * .component('myToggle', {\n * controller: function ToggleController() {\n * var opened = false;\n * this.isOpen = function() { return opened; };\n * this.toggle = function() { opened = !opened; };\n * }\n * });\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n * it('should publish the toggle into the scope', function() {\n * var toggle = element(by.buttonText('Toggle'));\n * expect(toggle.evaluate('myToggle.isOpen()')).toEqual(false);\n * toggle.click();\n * expect(toggle.evaluate('myToggle.isOpen()')).toEqual(true);\n * });\n * </file>\n * </example>\n *\n * @example\n * ### ngRef inside scopes\n * This example shows how `ngRef` works with child scopes. The `ngRepeat`-ed `myWrapper` components\n * are assigned to the scope of `myRoot`, because the `toggles` property has been initialized.\n * The repeated `myToggle` components are published to the child scopes created by `ngRepeat`.\n * `ngIf` behaves similarly - the assignment of `myToggle` happens in the `ngIf` child scope,\n * because the target property has not been initialized on the `myRoot` component controller.\n *\n * <example name=\"ng-ref-scopes\" module=\"myApp\">\n * <file name=\"index.html\">\n * <my-root></my-root>\n * </file>\n * <file name=\"index.js\">\n * angular.module('myApp', [])\n * .component('myRoot', {\n * templateUrl: 'root.html',\n * controller: function() {\n * this.wrappers = []; // initialize the array so that the wrappers are assigned into the parent scope\n * }\n * })\n * .component('myToggle', {\n * template: '<strong>myToggle</strong><button ng-click=\"$ctrl.toggle()\" ng-transclude></button>',\n * transclude: true,\n * controller: function ToggleController() {\n * var opened = false;\n * this.isOpen = function() { return opened; };\n * this.toggle = function() { opened = !opened; };\n * }\n * })\n * .component('myWrapper', {\n * transclude: true,\n * template: '<strong>myWrapper</strong>' +\n * '<div>ngRepeatToggle.isOpen(): {{$ctrl.ngRepeatToggle.isOpen() | json}}</div>' +\n * '<my-toggle ng-ref=\"$ctrl.ngRepeatToggle\"><ng-transclude></ng-transclude></my-toggle>'\n * });\n * </file>\n * <file name=\"root.html\">\n * <strong>myRoot</strong>\n * <my-toggle ng-ref=\"$ctrl.outerToggle\">Outer Toggle</my-toggle>\n * <div>outerToggle.isOpen(): {{$ctrl.outerToggle.isOpen() | json}}</div>\n * <div><em>wrappers assigned to root</em><br>\n * <div ng-repeat=\"wrapper in $ctrl.wrappers\">\n * wrapper.ngRepeatToggle.isOpen(): {{wrapper.ngRepeatToggle.isOpen() | json}}\n * </div>\n *\n * <ul>\n * <li ng-repeat=\"(index, value) in [1,2,3]\">\n * <strong>ngRepeat</strong>\n * <div>outerToggle.isOpen(): {{$ctrl.outerToggle.isOpen() | json}}</div>\n * <my-wrapper ng-ref=\"$ctrl.wrappers[index]\">ngRepeat Toggle {{$index + 1}}</my-wrapper>\n * </li>\n * </ul>\n *\n * <div>ngIfToggle.isOpen(): {{ngIfToggle.isOpen()}} // This is always undefined because it's\n * assigned to the child scope created by ngIf.\n * </div>\n * <div ng-if=\"true\">\n <strong>ngIf</strong>\n * <my-toggle ng-ref=\"ngIfToggle\">ngIf Toggle</my-toggle>\n * <div>ngIfToggle.isOpen(): {{ngIfToggle.isOpen() | json}}</div>\n * <div>outerToggle.isOpen(): {{$ctrl.outerToggle.isOpen() | json}}</div>\n * </div>\n * </file>\n * <file name=\"styles.css\">\n * ul {\n * list-style: none;\n * padding-left: 0;\n * }\n *\n * li[ng-repeat] {\n * background: lightgreen;\n * padding: 8px;\n * margin: 8px;\n * }\n *\n * [ng-if] {\n * background: lightgrey;\n * padding: 8px;\n * }\n *\n * my-root {\n * background: lightgoldenrodyellow;\n * padding: 8px;\n * display: block;\n * }\n *\n * my-wrapper {\n * background: lightsalmon;\n * padding: 8px;\n * display: block;\n * }\n *\n * my-toggle {\n * background: lightblue;\n * padding: 8px;\n * display: block;\n * }\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n * var OuterToggle = function() {\n * this.toggle = function() {\n * element(by.buttonText('Outer Toggle')).click();\n * };\n * this.isOpen = function() {\n * return element.all(by.binding('outerToggle.isOpen()')).first().getText();\n * };\n * };\n * var NgRepeatToggle = function(i) {\n * var parent = element.all(by.repeater('(index, value) in [1,2,3]')).get(i - 1);\n * this.toggle = function() {\n * element(by.buttonText('ngRepeat Toggle ' + i)).click();\n * };\n * this.isOpen = function() {\n * return parent.element(by.binding('ngRepeatToggle.isOpen() | json')).getText();\n * };\n * this.isOuterOpen = function() {\n * return parent.element(by.binding('outerToggle.isOpen() | json')).getText();\n * };\n * };\n * var NgRepeatToggles = function() {\n * var toggles = [1,2,3].map(function(i) { return new NgRepeatToggle(i); });\n * this.forEach = function(fn) {\n * toggles.forEach(fn);\n * };\n * this.isOuterOpen = function(i) {\n * return toggles[i - 1].isOuterOpen();\n * };\n * };\n * var NgIfToggle = function() {\n * var parent = element(by.css('[ng-if]'));\n * this.toggle = function() {\n * element(by.buttonText('ngIf Toggle')).click();\n * };\n * this.isOpen = function() {\n * return by.binding('ngIfToggle.isOpen() | json').getText();\n * };\n * this.isOuterOpen = function() {\n * return parent.element(by.binding('outerToggle.isOpen() | json')).getText();\n * };\n * };\n *\n * it('should toggle the outer toggle', function() {\n * var outerToggle = new OuterToggle();\n * expect(outerToggle.isOpen()).toEqual('outerToggle.isOpen(): false');\n * outerToggle.toggle();\n * expect(outerToggle.isOpen()).toEqual('outerToggle.isOpen(): true');\n * });\n *\n * it('should toggle all outer toggles', function() {\n * var outerToggle = new OuterToggle();\n * var repeatToggles = new NgRepeatToggles();\n * var ifToggle = new NgIfToggle();\n * expect(outerToggle.isOpen()).toEqual('outerToggle.isOpen(): false');\n * expect(repeatToggles.isOuterOpen(1)).toEqual('outerToggle.isOpen(): false');\n * expect(repeatToggles.isOuterOpen(2)).toEqual('outerToggle.isOpen(): false');\n * expect(repeatToggles.isOuterOpen(3)).toEqual('outerToggle.isOpen(): false');\n * expect(ifToggle.isOuterOpen()).toEqual('outerToggle.isOpen(): false');\n * outerToggle.toggle();\n * expect(outerToggle.isOpen()).toEqual('outerToggle.isOpen(): true');\n * expect(repeatToggles.isOuterOpen(1)).toEqual('outerToggle.isOpen(): true');\n * expect(repeatToggles.isOuterOpen(2)).toEqual('outerToggle.isOpen(): true');\n * expect(repeatToggles.isOuterOpen(3)).toEqual('outerToggle.isOpen(): true');\n * expect(ifToggle.isOuterOpen()).toEqual('outerToggle.isOpen(): true');\n * });\n *\n * it('should toggle each repeat iteration separately', function() {\n * var repeatToggles = new NgRepeatToggles();\n *\n * repeatToggles.forEach(function(repeatToggle) {\n * expect(repeatToggle.isOpen()).toEqual('ngRepeatToggle.isOpen(): false');\n * expect(repeatToggle.isOuterOpen()).toEqual('outerToggle.isOpen(): false');\n * repeatToggle.toggle();\n * expect(repeatToggle.isOpen()).toEqual('ngRepeatToggle.isOpen(): true');\n * expect(repeatToggle.isOuterOpen()).toEqual('outerToggle.isOpen(): false');\n * });\n * });\n * </file>\n * </example>\n *\n */\n\nvar ngRefMinErr = minErr('ngRef');\n\nvar ngRefDirective = ['$parse', function($parse) {\n return {\n priority: -1, // Needed for compatibility with element transclusion on the same element\n restrict: 'A',\n compile: function(tElement, tAttrs) {\n // Get the expected controller name, converts <data-some-thing> into \"someThing\"\n var controllerName = directiveNormalize(nodeName_(tElement));\n\n // Get the expression for value binding\n var getter = $parse(tAttrs.ngRef);\n var setter = getter.assign || function() {\n throw ngRefMinErr('nonassign', 'Expression in ngRef=\"{0}\" is non-assignable!', tAttrs.ngRef);\n };\n\n return function(scope, element, attrs) {\n var refValue;\n\n if (attrs.hasOwnProperty('ngRefRead')) {\n if (attrs.ngRefRead === '$element') {\n refValue = element;\n } else {\n refValue = element.data('$' + attrs.ngRefRead + 'Controller');\n\n if (!refValue) {\n throw ngRefMinErr(\n 'noctrl',\n 'The controller for ngRefRead=\"{0}\" could not be found on ngRef=\"{1}\"',\n attrs.ngRefRead,\n tAttrs.ngRef\n );\n }\n }\n } else {\n refValue = element.data('$' + controllerName + 'Controller');\n }\n\n refValue = refValue || element;\n\n setter(scope, refValue);\n\n // when the element is removed, remove it (nullify it)\n element.on('$destroy', function() {\n // only remove it if value has not changed,\n // because animations (and other procedures) may duplicate elements\n if (getter(scope) === refValue) {\n setter(scope, null);\n }\n });\n };\n }\n };\n}];\n\n/* exported ngRepeatDirective */\n\n/**\n * @ngdoc directive\n * @name ngRepeat\n * @multiElement\n * @restrict A\n *\n * @description\n * The `ngRepeat` directive instantiates a template once per item from a collection. Each template\n * instance gets its own scope, where the given loop variable is set to the current collection item,\n * and `$index` is set to the item index or key.\n *\n * Special properties are exposed on the local scope of each template instance, including:\n *\n * | Variable | Type | Details |\n * |-----------|-----------------|-----------------------------------------------------------------------------|\n * | `$index` | {@type number} | iterator offset of the repeated element (0..length-1) |\n * | `$first` | {@type boolean} | true if the repeated element is first in the iterator. |\n * | `$middle` | {@type boolean} | true if the repeated element is between the first and last in the iterator. |\n * | `$last` | {@type boolean} | true if the repeated element is last in the iterator. |\n * | `$even` | {@type boolean} | true if the iterator position `$index` is even (otherwise false). |\n * | `$odd` | {@type boolean} | true if the iterator position `$index` is odd (otherwise false). |\n *\n * <div class=\"alert alert-info\">\n * Creating aliases for these properties is possible with {@link ng.directive:ngInit `ngInit`}.\n * This may be useful when, for instance, nesting ngRepeats.\n * </div>\n *\n *\n * ## Iterating over object properties\n *\n * It is possible to get `ngRepeat` to iterate over the properties of an object using the following\n * syntax:\n *\n * ```js\n * <div ng-repeat=\"(key, value) in myObj\"> ... </div>\n * ```\n *\n * However, there are a few limitations compared to array iteration:\n *\n * - The JavaScript specification does not define the order of keys\n * returned for an object, so AngularJS relies on the order returned by the browser\n * when running `for key in myObj`. Browsers generally follow the strategy of providing\n * keys in the order in which they were defined, although there are exceptions when keys are deleted\n * and reinstated. See the\n * [MDN page on `delete` for more info](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete#Cross-browser_notes).\n *\n * - `ngRepeat` will silently *ignore* object keys starting with `$`, because\n * it's a prefix used by AngularJS for public (`$`) and private (`$$`) properties.\n *\n * - The built-in filters {@link ng.orderBy orderBy} and {@link ng.filter filter} do not work with\n * objects, and will throw an error if used with one.\n *\n * If you are hitting any of these limitations, the recommended workaround is to convert your object into an array\n * that is sorted into the order that you prefer before providing it to `ngRepeat`. You could\n * do this with a filter such as [toArrayFilter](http://ngmodules.org/modules/angular-toArrayFilter)\n * or implement a `$watch` on the object yourself.\n *\n *\n * ## Tracking and Duplicates\n *\n * `ngRepeat` uses {@link $rootScope.Scope#$watchCollection $watchCollection} to detect changes in\n * the collection. When a change happens, `ngRepeat` then makes the corresponding changes to the DOM:\n *\n * * When an item is added, a new instance of the template is added to the DOM.\n * * When an item is removed, its template instance is removed from the DOM.\n * * When items are reordered, their respective templates are reordered in the DOM.\n *\n * To minimize creation of DOM elements, `ngRepeat` uses a function\n * to \"keep track\" of all items in the collection and their corresponding DOM elements.\n * For example, if an item is added to the collection, `ngRepeat` will know that all other items\n * already have DOM elements, and will not re-render them.\n *\n * All different types of tracking functions, their syntax, and their support for duplicate\n * items in collections can be found in the\n * {@link ngRepeat#ngRepeat-arguments ngRepeat expression description}.\n *\n * <div class=\"alert alert-success\">\n * **Best Practice:** If you are working with objects that have a unique identifier property, you\n * should track by this identifier instead of the object instance,\n * e.g. `item in items track by item.id`.\n * Should you reload your data later, `ngRepeat` will not have to rebuild the DOM elements for items\n * it has already rendered, even if the JavaScript objects in the collection have been substituted\n * for new ones. For large collections, this significantly improves rendering performance.\n * </div>\n *\n * ### Effects of DOM Element re-use\n *\n * When DOM elements are re-used, ngRepeat updates the scope for the element, which will\n * automatically update any active bindings on the template. However, other\n * functionality will not be updated, because the element is not re-created:\n *\n * - Directives are not re-compiled\n * - {@link guide/expression#one-time-binding one-time expressions} on the repeated template are not\n * updated if they have stabilized.\n *\n * The above affects all kinds of element re-use due to tracking, but may be especially visible\n * when tracking by `$index` due to the way ngRepeat re-uses elements.\n *\n * The following example shows the effects of different actions with tracking:\n\n <example module=\"ngRepeat\" name=\"ngRepeat-tracking\" deps=\"angular-animate.js\" animations=\"true\">\n <file name=\"script.js\">\n angular.module('ngRepeat', ['ngAnimate']).controller('repeatController', function($scope) {\n var friends = [\n {name:'John', age:25},\n {name:'Mary', age:40},\n {name:'Peter', age:85}\n ];\n\n $scope.removeFirst = function() {\n $scope.friends.shift();\n };\n\n $scope.updateAge = function() {\n $scope.friends.forEach(function(el) {\n el.age = el.age + 5;\n });\n };\n\n $scope.copy = function() {\n $scope.friends = angular.copy($scope.friends);\n };\n\n $scope.reset = function() {\n $scope.friends = angular.copy(friends);\n };\n\n $scope.reset();\n });\n </file>\n <file name=\"index.html\">\n <div ng-controller=\"repeatController\">\n <ol>\n <li>When you click \"Update Age\", only the first list updates the age, because all others have\n a one-time binding on the age property. If you then click \"Copy\", the current friend list\n is copied, and now the second list updates the age, because the identity of the collection items\n has changed and the list must be re-rendered. The 3rd and 4th list stay the same, because all the\n items are already known according to their tracking functions.\n </li>\n <li>When you click \"Remove First\", the 4th list has the wrong age on both remaining items. This is\n due to tracking by $index: when the first collection item is removed, ngRepeat reuses the first\n DOM element for the new first collection item, and so on. Since the age property is one-time\n bound, the value remains from the collection item which was previously at this index.\n </li>\n </ol>\n\n <button ng-click=\"removeFirst()\">Remove First</button>\n <button ng-click=\"updateAge()\">Update Age</button>\n <button ng-click=\"copy()\">Copy</button>\n <br><button ng-click=\"reset()\">Reset List</button>\n <br>\n <code>track by $id(friend)</code> (default):\n <ul class=\"example-animate-container\">\n <li class=\"animate-repeat\" ng-repeat=\"friend in friends\">\n {{friend.name}} is {{friend.age}} years old.\n </li>\n </ul>\n <code>track by $id(friend)</code> (default), with age one-time binding:\n <ul class=\"example-animate-container\">\n <li class=\"animate-repeat\" ng-repeat=\"friend in friends\">\n {{friend.name}} is {{::friend.age}} years old.\n </li>\n </ul>\n <code>track by friend.name</code>, with age one-time binding:\n <ul class=\"example-animate-container\">\n <li class=\"animate-repeat\" ng-repeat=\"friend in friends track by friend.name\">\n {{friend.name}} is {{::friend.age}} years old.\n </li>\n </ul>\n <code>track by $index</code>, with age one-time binding:\n <ul class=\"example-animate-container\">\n <li class=\"animate-repeat\" ng-repeat=\"friend in friends track by $index\">\n {{friend.name}} is {{::friend.age}} years old.\n </li>\n </ul>\n </div>\n </file>\n <file name=\"animations.css\">\n .example-animate-container {\n background:white;\n border:1px solid black;\n list-style:none;\n margin:0;\n padding:0 10px;\n }\n\n .animate-repeat {\n line-height:30px;\n list-style:none;\n box-sizing:border-box;\n }\n\n .animate-repeat.ng-move,\n .animate-repeat.ng-enter,\n .animate-repeat.ng-leave {\n transition:all linear 0.5s;\n }\n\n .animate-repeat.ng-leave.ng-leave-active,\n .animate-repeat.ng-move,\n .animate-repeat.ng-enter {\n opacity:0;\n max-height:0;\n }\n\n .animate-repeat.ng-leave,\n .animate-repeat.ng-move.ng-move-active,\n .animate-repeat.ng-enter.ng-enter-active {\n opacity:1;\n max-height:30px;\n }\n </file>\n </example>\n\n *\n * ## Special repeat start and end points\n * To repeat a series of elements instead of just one parent element, ngRepeat (as well as other ng directives) supports extending\n * the range of the repeater by defining explicit start and end points by using **ng-repeat-start** and **ng-repeat-end** respectively.\n * The **ng-repeat-start** directive works the same as **ng-repeat**, but will repeat all the HTML code (including the tag it's defined on)\n * up to and including the ending HTML tag where **ng-repeat-end** is placed.\n *\n * The example below makes use of this feature:\n * ```html\n * <header ng-repeat-start=\"item in items\">\n * Header {{ item }}\n * </header>\n * <div class=\"body\">\n * Body {{ item }}\n * </div>\n * <footer ng-repeat-end>\n * Footer {{ item }}\n * </footer>\n * ```\n *\n * And with an input of {@type ['A','B']} for the items variable in the example above, the output will evaluate to:\n * ```html\n * <header>\n * Header A\n * </header>\n * <div class=\"body\">\n * Body A\n * </div>\n * <footer>\n * Footer A\n * </footer>\n * <header>\n * Header B\n * </header>\n * <div class=\"body\">\n * Body B\n * </div>\n * <footer>\n * Footer B\n * </footer>\n * ```\n *\n * The custom start and end points for ngRepeat also support all other HTML directive syntax flavors provided in AngularJS (such\n * as **data-ng-repeat-start**, **x-ng-repeat-start** and **ng:repeat-start**).\n *\n * @animations\n * | Animation | Occurs |\n * |----------------------------------|-------------------------------------|\n * | {@link ng.$animate#enter enter} | when a new item is added to the list or when an item is revealed after a filter |\n * | {@link ng.$animate#leave leave} | when an item is removed from the list or when an item is filtered out |\n * | {@link ng.$animate#move move } | when an adjacent item is filtered out causing a reorder or when the item contents are reordered |\n *\n * See the example below for defining CSS animations with ngRepeat.\n *\n * @element ANY\n * @scope\n * @priority 1000\n * @param {repeat_expression} ngRepeat The expression indicating how to enumerate a collection. These\n * formats are currently supported:\n *\n * * `variable in expression` – where variable is the user defined loop variable and `expression`\n * is a scope expression giving the collection to enumerate.\n *\n * For example: `album in artist.albums`.\n *\n * * `(key, value) in expression` – where `key` and `value` can be any user defined identifiers,\n * and `expression` is the scope expression giving the collection to enumerate.\n *\n * For example: `(name, age) in {'adam':10, 'amalie':12}`.\n *\n * * `variable in expression track by tracking_expression` – You can also provide an optional tracking expression\n * which can be used to associate the objects in the collection with the DOM elements. If no tracking expression\n * is specified, ng-repeat associates elements by identity. It is an error to have\n * more than one tracking expression value resolve to the same key. (This would mean that two distinct objects are\n * mapped to the same DOM element, which is not possible.)\n *\n * *Default tracking: $id()*: `item in items` is equivalent to `item in items track by $id(item)`.\n * This implies that the DOM elements will be associated by item identity in the collection.\n *\n * The built-in `$id()` function can be used to assign a unique\n * `$$hashKey` property to each item in the collection. This property is then used as a key to associated DOM elements\n * with the corresponding item in the collection by identity. Moving the same object would move\n * the DOM element in the same way in the DOM.\n * Note that the default id function does not support duplicate primitive values (`number`, `string`),\n * but supports duplictae non-primitive values (`object`) that are *equal* in shape.\n *\n * *Custom Expression*: It is possible to use any AngularJS expression to compute the tracking\n * id, for example with a function, or using a property on the collection items.\n * `item in items track by item.id` is a typical pattern when the items have a unique identifier,\n * e.g. database id. In this case the object identity does not matter. Two objects are considered\n * equivalent as long as their `id` property is same.\n * Tracking by unique identifier is the most performant way and should be used whenever possible.\n *\n * *$index*: This special property tracks the collection items by their index, and\n * re-uses the DOM elements that match that index, e.g. `item in items track by $index`. This can\n * be used for a performance improvement if no unique identfier is available and the identity of\n * the collection items cannot be easily computed. It also allows duplicates.\n *\n * <div class=\"alert alert-warning\">\n * <strong>Note:</strong> Re-using DOM elements can have unforeseen effects. Read the\n * {@link ngRepeat#tracking-and-duplicates section on tracking and duplicates} for\n * more info.\n * </div>\n *\n * <div class=\"alert alert-warning\">\n * <strong>Note:</strong> the `track by` expression must come last - after any filters, and the alias expression:\n * `item in items | filter:searchText as results track by item.id`\n * </div>\n *\n * * `variable in expression as alias_expression` – You can also provide an optional alias expression which will then store the\n * intermediate results of the repeater after the filters have been applied. Typically this is used to render a special message\n * when a filter is active on the repeater, but the filtered result set is empty.\n *\n * For example: `item in items | filter:x as results` will store the fragment of the repeated items as `results`, but only after\n * the items have been processed through the filter.\n *\n * Please note that `as [variable name]` is not an operator but rather a part of ngRepeat\n * micro-syntax so it can be used only after all filters (and not as operator, inside an expression).\n *\n * For example: `item in items | filter : x | orderBy : order | limitTo : limit as results track by item.id` .\n *\n * @example\n * This example uses `ngRepeat` to display a list of people. A filter is used to restrict the displayed\n * results by name or by age. New (entering) and removed (leaving) items are animated.\n <example module=\"ngRepeat\" name=\"ngRepeat\" deps=\"angular-animate.js\" animations=\"true\">\n <file name=\"index.html\">\n <div ng-controller=\"repeatController\">\n I have {{friends.length}} friends. They are:\n <input type=\"search\" ng-model=\"q\" placeholder=\"filter friends...\" aria-label=\"filter friends\" />\n <ul class=\"example-animate-container\">\n <li class=\"animate-repeat\" ng-repeat=\"friend in friends | filter:q as results track by friend.name\">\n [{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.\n </li>\n <li class=\"animate-repeat\" ng-if=\"results.length === 0\">\n <strong>No results found...</strong>\n </li>\n </ul>\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('ngRepeat', ['ngAnimate']).controller('repeatController', function($scope) {\n $scope.friends = [\n {name:'John', age:25, gender:'boy'},\n {name:'Jessie', age:30, gender:'girl'},\n {name:'Johanna', age:28, gender:'girl'},\n {name:'Joy', age:15, gender:'girl'},\n {name:'Mary', age:28, gender:'girl'},\n {name:'Peter', age:95, gender:'boy'},\n {name:'Sebastian', age:50, gender:'boy'},\n {name:'Erika', age:27, gender:'girl'},\n {name:'Patrick', age:40, gender:'boy'},\n {name:'Samantha', age:60, gender:'girl'}\n ];\n });\n </file>\n <file name=\"animations.css\">\n .example-animate-container {\n background:white;\n border:1px solid black;\n list-style:none;\n margin:0;\n padding:0 10px;\n }\n\n .animate-repeat {\n line-height:30px;\n list-style:none;\n box-sizing:border-box;\n }\n\n .animate-repeat.ng-move,\n .animate-repeat.ng-enter,\n .animate-repeat.ng-leave {\n transition:all linear 0.5s;\n }\n\n .animate-repeat.ng-leave.ng-leave-active,\n .animate-repeat.ng-move,\n .animate-repeat.ng-enter {\n opacity:0;\n max-height:0;\n }\n\n .animate-repeat.ng-leave,\n .animate-repeat.ng-move.ng-move-active,\n .animate-repeat.ng-enter.ng-enter-active {\n opacity:1;\n max-height:30px;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var friends = element.all(by.repeater('friend in friends'));\n\n it('should render initial data set', function() {\n expect(friends.count()).toBe(10);\n expect(friends.get(0).getText()).toEqual('[1] John who is 25 years old.');\n expect(friends.get(1).getText()).toEqual('[2] Jessie who is 30 years old.');\n expect(friends.last().getText()).toEqual('[10] Samantha who is 60 years old.');\n expect(element(by.binding('friends.length')).getText())\n .toMatch(\"I have 10 friends. They are:\");\n });\n\n it('should update repeater when filter predicate changes', function() {\n expect(friends.count()).toBe(10);\n\n element(by.model('q')).sendKeys('ma');\n\n expect(friends.count()).toBe(2);\n expect(friends.get(0).getText()).toEqual('[1] Mary who is 28 years old.');\n expect(friends.last().getText()).toEqual('[2] Samantha who is 60 years old.');\n });\n </file>\n </example>\n */\nvar ngRepeatDirective = ['$parse', '$animate', '$compile', function($parse, $animate, $compile) {\n var NG_REMOVED = '$$NG_REMOVED';\n var ngRepeatMinErr = minErr('ngRepeat');\n\n var updateScope = function(scope, index, valueIdentifier, value, keyIdentifier, key, arrayLength) {\n // TODO(perf): generate setters to shave off ~40ms or 1-1.5%\n scope[valueIdentifier] = value;\n if (keyIdentifier) scope[keyIdentifier] = key;\n scope.$index = index;\n scope.$first = (index === 0);\n scope.$last = (index === (arrayLength - 1));\n scope.$middle = !(scope.$first || scope.$last);\n // eslint-disable-next-line no-bitwise\n scope.$odd = !(scope.$even = (index & 1) === 0);\n };\n\n var getBlockStart = function(block) {\n return block.clone[0];\n };\n\n var getBlockEnd = function(block) {\n return block.clone[block.clone.length - 1];\n };\n\n var trackByIdArrayFn = function($scope, key, value) {\n return hashKey(value);\n };\n\n var trackByIdObjFn = function($scope, key) {\n return key;\n };\n\n return {\n restrict: 'A',\n multiElement: true,\n transclude: 'element',\n priority: 1000,\n terminal: true,\n $$tlb: true,\n compile: function ngRepeatCompile($element, $attr) {\n var expression = $attr.ngRepeat;\n var ngRepeatEndComment = $compile.$$createComment('end ngRepeat', expression);\n\n var match = expression.match(/^\\s*([\\s\\S]+?)\\s+in\\s+([\\s\\S]+?)(?:\\s+as\\s+([\\s\\S]+?))?(?:\\s+track\\s+by\\s+([\\s\\S]+?))?\\s*$/);\n\n if (!match) {\n throw ngRepeatMinErr('iexp', 'Expected expression in form of \\'_item_ in _collection_[ track by _id_]\\' but got \\'{0}\\'.',\n expression);\n }\n\n var lhs = match[1];\n var rhs = match[2];\n var aliasAs = match[3];\n var trackByExp = match[4];\n\n match = lhs.match(/^(?:(\\s*[$\\w]+)|\\(\\s*([$\\w]+)\\s*,\\s*([$\\w]+)\\s*\\))$/);\n\n if (!match) {\n throw ngRepeatMinErr('iidexp', '\\'_item_\\' in \\'_item_ in _collection_\\' should be an identifier or \\'(_key_, _value_)\\' expression, but got \\'{0}\\'.',\n lhs);\n }\n var valueIdentifier = match[3] || match[1];\n var keyIdentifier = match[2];\n\n if (aliasAs && (!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(aliasAs) ||\n /^(null|undefined|this|\\$index|\\$first|\\$middle|\\$last|\\$even|\\$odd|\\$parent|\\$root|\\$id)$/.test(aliasAs))) {\n throw ngRepeatMinErr('badident', 'alias \\'{0}\\' is invalid --- must be a valid JS identifier which is not a reserved name.',\n aliasAs);\n }\n\n var trackByIdExpFn;\n\n if (trackByExp) {\n var hashFnLocals = {$id: hashKey};\n var trackByExpGetter = $parse(trackByExp);\n\n trackByIdExpFn = function($scope, key, value, index) {\n // assign key, value, and $index to the locals so that they can be used in hash functions\n if (keyIdentifier) hashFnLocals[keyIdentifier] = key;\n hashFnLocals[valueIdentifier] = value;\n hashFnLocals.$index = index;\n return trackByExpGetter($scope, hashFnLocals);\n };\n }\n\n return function ngRepeatLink($scope, $element, $attr, ctrl, $transclude) {\n\n // Store a list of elements from previous run. This is a hash where key is the item from the\n // iterator, and the value is objects with following properties.\n // - scope: bound scope\n // - clone: previous element.\n // - index: position\n //\n // We are using no-proto object so that we don't need to guard against inherited props via\n // hasOwnProperty.\n var lastBlockMap = createMap();\n\n //watch props\n $scope.$watchCollection(rhs, function ngRepeatAction(collection) {\n var index, length,\n previousNode = $element[0], // node that cloned nodes should be inserted after\n // initialized to the comment node anchor\n nextNode,\n // Same as lastBlockMap but it has the current state. It will become the\n // lastBlockMap on the next iteration.\n nextBlockMap = createMap(),\n collectionLength,\n key, value, // key/value of iteration\n trackById,\n trackByIdFn,\n collectionKeys,\n block, // last object information {scope, element, id}\n nextBlockOrder,\n elementsToRemove;\n\n if (aliasAs) {\n $scope[aliasAs] = collection;\n }\n\n if (isArrayLike(collection)) {\n collectionKeys = collection;\n trackByIdFn = trackByIdExpFn || trackByIdArrayFn;\n } else {\n trackByIdFn = trackByIdExpFn || trackByIdObjFn;\n // if object, extract keys, in enumeration order, unsorted\n collectionKeys = [];\n for (var itemKey in collection) {\n if (hasOwnProperty.call(collection, itemKey) && itemKey.charAt(0) !== '$') {\n collectionKeys.push(itemKey);\n }\n }\n }\n\n collectionLength = collectionKeys.length;\n nextBlockOrder = new Array(collectionLength);\n\n // locate existing items\n for (index = 0; index < collectionLength; index++) {\n key = (collection === collectionKeys) ? index : collectionKeys[index];\n value = collection[key];\n trackById = trackByIdFn($scope, key, value, index);\n if (lastBlockMap[trackById]) {\n // found previously seen block\n block = lastBlockMap[trackById];\n delete lastBlockMap[trackById];\n nextBlockMap[trackById] = block;\n nextBlockOrder[index] = block;\n } else if (nextBlockMap[trackById]) {\n // if collision detected. restore lastBlockMap and throw an error\n forEach(nextBlockOrder, function(block) {\n if (block && block.scope) lastBlockMap[block.id] = block;\n });\n throw ngRepeatMinErr('dupes',\n 'Duplicates in a repeater are not allowed. Use \\'track by\\' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}',\n expression, trackById, value);\n } else {\n // new never before seen block\n nextBlockOrder[index] = {id: trackById, scope: undefined, clone: undefined};\n nextBlockMap[trackById] = true;\n }\n }\n\n // Clear the value property from the hashFnLocals object to prevent a reference to the last value\n // being leaked into the ngRepeatCompile function scope\n if (hashFnLocals) {\n hashFnLocals[valueIdentifier] = undefined;\n }\n\n // remove leftover items\n for (var blockKey in lastBlockMap) {\n block = lastBlockMap[blockKey];\n elementsToRemove = getBlockNodes(block.clone);\n $animate.leave(elementsToRemove);\n if (elementsToRemove[0].parentNode) {\n // if the element was not removed yet because of pending animation, mark it as deleted\n // so that we can ignore it later\n for (index = 0, length = elementsToRemove.length; index < length; index++) {\n elementsToRemove[index][NG_REMOVED] = true;\n }\n }\n block.scope.$destroy();\n }\n\n // we are not using forEach for perf reasons (trying to avoid #call)\n for (index = 0; index < collectionLength; index++) {\n key = (collection === collectionKeys) ? index : collectionKeys[index];\n value = collection[key];\n block = nextBlockOrder[index];\n\n if (block.scope) {\n // if we have already seen this object, then we need to reuse the\n // associated scope/element\n\n nextNode = previousNode;\n\n // skip nodes that are already pending removal via leave animation\n do {\n nextNode = nextNode.nextSibling;\n } while (nextNode && nextNode[NG_REMOVED]);\n\n if (getBlockStart(block) !== nextNode) {\n // existing item which got moved\n $animate.move(getBlockNodes(block.clone), null, previousNode);\n }\n previousNode = getBlockEnd(block);\n updateScope(block.scope, index, valueIdentifier, value, keyIdentifier, key, collectionLength);\n } else {\n // new item which we don't know about\n $transclude(function ngRepeatTransclude(clone, scope) {\n block.scope = scope;\n // http://jsperf.com/clone-vs-createcomment\n var endNode = ngRepeatEndComment.cloneNode(false);\n clone[clone.length++] = endNode;\n\n $animate.enter(clone, null, previousNode);\n previousNode = endNode;\n // Note: We only need the first/last node of the cloned nodes.\n // However, we need to keep the reference to the jqlite wrapper as it might be changed later\n // by a directive with templateUrl when its template arrives.\n block.clone = clone;\n nextBlockMap[block.id] = block;\n updateScope(block.scope, index, valueIdentifier, value, keyIdentifier, key, collectionLength);\n });\n }\n }\n lastBlockMap = nextBlockMap;\n });\n };\n }\n };\n}];\n\nvar NG_HIDE_CLASS = 'ng-hide';\nvar NG_HIDE_IN_PROGRESS_CLASS = 'ng-hide-animate';\n/**\n * @ngdoc directive\n * @name ngShow\n * @multiElement\n *\n * @description\n * The `ngShow` directive shows or hides the given HTML element based on the expression provided to\n * the `ngShow` attribute.\n *\n * The element is shown or hidden by removing or adding the `.ng-hide` CSS class onto the element.\n * The `.ng-hide` CSS class is predefined in AngularJS and sets the display style to none (using an\n * `!important` flag). For CSP mode please add `angular-csp.css` to your HTML file (see\n * {@link ng.directive:ngCsp ngCsp}).\n *\n * ```html\n * <!-- when $scope.myValue is truthy (element is visible) -->\n * <div ng-show=\"myValue\"></div>\n *\n * <!-- when $scope.myValue is falsy (element is hidden) -->\n * <div ng-show=\"myValue\" class=\"ng-hide\"></div>\n * ```\n *\n * When the `ngShow` expression evaluates to a falsy value then the `.ng-hide` CSS class is added\n * to the class attribute on the element causing it to become hidden. When truthy, the `.ng-hide`\n * CSS class is removed from the element causing the element not to appear hidden.\n *\n * ## Why is `!important` used?\n *\n * You may be wondering why `!important` is used for the `.ng-hide` CSS class. This is because the\n * `.ng-hide` selector can be easily overridden by heavier selectors. For example, something as\n * simple as changing the display style on a HTML list item would make hidden elements appear\n * visible. This also becomes a bigger issue when dealing with CSS frameworks.\n *\n * By using `!important`, the show and hide behavior will work as expected despite any clash between\n * CSS selector specificity (when `!important` isn't used with any conflicting styles). If a\n * developer chooses to override the styling to change how to hide an element then it is just a\n * matter of using `!important` in their own CSS code.\n *\n * ### Overriding `.ng-hide`\n *\n * By default, the `.ng-hide` class will style the element with `display: none !important`. If you\n * wish to change the hide behavior with `ngShow`/`ngHide`, you can simply overwrite the styles for\n * the `.ng-hide` CSS class. Note that the selector that needs to be used is actually\n * `.ng-hide:not(.ng-hide-animate)` to cope with extra animation classes that can be added.\n *\n * ```css\n * .ng-hide:not(.ng-hide-animate) {\n * /&#42; These are just alternative ways of hiding an element &#42;/\n * display: block!important;\n * position: absolute;\n * top: -9999px;\n * left: -9999px;\n * }\n * ```\n *\n * By default you don't need to override anything in CSS and the animations will work around the\n * display style.\n *\n * @animations\n * | Animation | Occurs |\n * |-----------------------------------------------------|---------------------------------------------------------------------------------------------------------------|\n * | {@link $animate#addClass addClass} `.ng-hide` | After the `ngShow` expression evaluates to a non truthy value and just before the contents are set to hidden. |\n * | {@link $animate#removeClass removeClass} `.ng-hide` | After the `ngShow` expression evaluates to a truthy value and just before contents are set to visible. |\n *\n * Animations in `ngShow`/`ngHide` work with the show and hide events that are triggered when the\n * directive expression is true and false. This system works like the animation system present with\n * `ngClass` except that you must also include the `!important` flag to override the display\n * property so that the elements are not actually hidden during the animation.\n *\n * ```css\n * /&#42; A working example can be found at the bottom of this page. &#42;/\n * .my-element.ng-hide-add, .my-element.ng-hide-remove {\n * transition: all 0.5s linear;\n * }\n *\n * .my-element.ng-hide-add { ... }\n * .my-element.ng-hide-add.ng-hide-add-active { ... }\n * .my-element.ng-hide-remove { ... }\n * .my-element.ng-hide-remove.ng-hide-remove-active { ... }\n * ```\n *\n * Keep in mind that, as of AngularJS version 1.3, there is no need to change the display property\n * to block during animation states - ngAnimate will automatically handle the style toggling for you.\n *\n * @element ANY\n * @param {expression} ngShow If the {@link guide/expression expression} is truthy/falsy then the\n * element is shown/hidden respectively.\n *\n * @example\n * A simple example, animating the element's opacity:\n *\n <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\" name=\"ng-show-simple\">\n <file name=\"index.html\">\n Show: <input type=\"checkbox\" ng-model=\"checked\" aria-label=\"Toggle ngShow\"><br />\n <div class=\"check-element animate-show-hide\" ng-show=\"checked\">\n I show up when your checkbox is checked.\n </div>\n </file>\n <file name=\"animations.css\">\n .animate-show-hide.ng-hide {\n opacity: 0;\n }\n\n .animate-show-hide.ng-hide-add,\n .animate-show-hide.ng-hide-remove {\n transition: all linear 0.5s;\n }\n\n .check-element {\n border: 1px solid black;\n opacity: 1;\n padding: 10px;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ngShow', function() {\n var checkbox = element(by.model('checked'));\n var checkElem = element(by.css('.check-element'));\n\n expect(checkElem.isDisplayed()).toBe(false);\n checkbox.click();\n expect(checkElem.isDisplayed()).toBe(true);\n });\n </file>\n </example>\n *\n * <hr />\n * @example\n * A more complex example, featuring different show/hide animations:\n *\n <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\" name=\"ng-show-complex\">\n <file name=\"index.html\">\n Show: <input type=\"checkbox\" ng-model=\"checked\" aria-label=\"Toggle ngShow\"><br />\n <div class=\"check-element funky-show-hide\" ng-show=\"checked\">\n I show up when your checkbox is checked.\n </div>\n </file>\n <file name=\"animations.css\">\n body {\n overflow: hidden;\n perspective: 1000px;\n }\n\n .funky-show-hide.ng-hide-add {\n transform: rotateZ(0);\n transform-origin: right;\n transition: all 0.5s ease-in-out;\n }\n\n .funky-show-hide.ng-hide-add.ng-hide-add-active {\n transform: rotateZ(-135deg);\n }\n\n .funky-show-hide.ng-hide-remove {\n transform: rotateY(90deg);\n transform-origin: left;\n transition: all 0.5s ease;\n }\n\n .funky-show-hide.ng-hide-remove.ng-hide-remove-active {\n transform: rotateY(0);\n }\n\n .check-element {\n border: 1px solid black;\n opacity: 1;\n padding: 10px;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ngShow', function() {\n var checkbox = element(by.model('checked'));\n var checkElem = element(by.css('.check-element'));\n\n expect(checkElem.isDisplayed()).toBe(false);\n checkbox.click();\n expect(checkElem.isDisplayed()).toBe(true);\n });\n </file>\n </example>\n *\n * @knownIssue\n *\n * ### Flickering when using ngShow to toggle between elements\n *\n * When using {@link ngShow} and / or {@link ngHide} to toggle between elements, it can\n * happen that both the element to show and the element to hide are visible for a very short time.\n *\n * This usually happens when the {@link ngAnimate ngAnimate module} is included, but no actual animations\n * are defined for {@link ngShow} / {@link ngHide}. Internet Explorer is affected more often than\n * other browsers.\n *\n * There are several way to mitigate this problem:\n *\n * - {@link guide/animations#how-to-selectively-enable-disable-and-skip-animations Disable animations on the affected elements}.\n * - Use {@link ngIf} or {@link ngSwitch} instead of {@link ngShow} / {@link ngHide}.\n * - Use the special CSS selector `ng-hide.ng-hide-animate` to set `{display: none}` or similar on the affected elements.\n * - Use `ng-class=\"{'ng-hide': expression}` instead of instead of {@link ngShow} / {@link ngHide}.\n * - Define an animation on the affected elements.\n */\nvar ngShowDirective = ['$animate', function($animate) {\n return {\n restrict: 'A',\n multiElement: true,\n link: function(scope, element, attr) {\n scope.$watch(attr.ngShow, function ngShowWatchAction(value) {\n // we're adding a temporary, animation-specific class for ng-hide since this way\n // we can control when the element is actually displayed on screen without having\n // to have a global/greedy CSS selector that breaks when other animations are run.\n // Read: https://github.com/angular/angular.js/issues/9103#issuecomment-58335845\n $animate[value ? 'removeClass' : 'addClass'](element, NG_HIDE_CLASS, {\n tempClasses: NG_HIDE_IN_PROGRESS_CLASS\n });\n });\n }\n };\n}];\n\n\n/**\n * @ngdoc directive\n * @name ngHide\n * @multiElement\n *\n * @description\n * The `ngHide` directive shows or hides the given HTML element based on the expression provided to\n * the `ngHide` attribute.\n *\n * The element is shown or hidden by removing or adding the `.ng-hide` CSS class onto the element.\n * The `.ng-hide` CSS class is predefined in AngularJS and sets the display style to none (using an\n * `!important` flag). For CSP mode please add `angular-csp.css` to your HTML file (see\n * {@link ng.directive:ngCsp ngCsp}).\n *\n * ```html\n * <!-- when $scope.myValue is truthy (element is hidden) -->\n * <div ng-hide=\"myValue\" class=\"ng-hide\"></div>\n *\n * <!-- when $scope.myValue is falsy (element is visible) -->\n * <div ng-hide=\"myValue\"></div>\n * ```\n *\n * When the `ngHide` expression evaluates to a truthy value then the `.ng-hide` CSS class is added\n * to the class attribute on the element causing it to become hidden. When falsy, the `.ng-hide`\n * CSS class is removed from the element causing the element not to appear hidden.\n *\n * ## Why is `!important` used?\n *\n * You may be wondering why `!important` is used for the `.ng-hide` CSS class. This is because the\n * `.ng-hide` selector can be easily overridden by heavier selectors. For example, something as\n * simple as changing the display style on a HTML list item would make hidden elements appear\n * visible. This also becomes a bigger issue when dealing with CSS frameworks.\n *\n * By using `!important`, the show and hide behavior will work as expected despite any clash between\n * CSS selector specificity (when `!important` isn't used with any conflicting styles). If a\n * developer chooses to override the styling to change how to hide an element then it is just a\n * matter of using `!important` in their own CSS code.\n *\n * ### Overriding `.ng-hide`\n *\n * By default, the `.ng-hide` class will style the element with `display: none !important`. If you\n * wish to change the hide behavior with `ngShow`/`ngHide`, you can simply overwrite the styles for\n * the `.ng-hide` CSS class. Note that the selector that needs to be used is actually\n * `.ng-hide:not(.ng-hide-animate)` to cope with extra animation classes that can be added.\n *\n * ```css\n * .ng-hide:not(.ng-hide-animate) {\n * /&#42; These are just alternative ways of hiding an element &#42;/\n * display: block!important;\n * position: absolute;\n * top: -9999px;\n * left: -9999px;\n * }\n * ```\n *\n * By default you don't need to override in CSS anything and the animations will work around the\n * display style.\n *\n * @animations\n * | Animation | Occurs |\n * |-----------------------------------------------------|------------------------------------------------------------------------------------------------------------|\n * | {@link $animate#addClass addClass} `.ng-hide` | After the `ngHide` expression evaluates to a truthy value and just before the contents are set to hidden. |\n * | {@link $animate#removeClass removeClass} `.ng-hide` | After the `ngHide` expression evaluates to a non truthy value and just before contents are set to visible. |\n *\n * Animations in `ngShow`/`ngHide` work with the show and hide events that are triggered when the\n * directive expression is true and false. This system works like the animation system present with\n * `ngClass` except that you must also include the `!important` flag to override the display\n * property so that the elements are not actually hidden during the animation.\n *\n * ```css\n * /&#42; A working example can be found at the bottom of this page. &#42;/\n * .my-element.ng-hide-add, .my-element.ng-hide-remove {\n * transition: all 0.5s linear;\n * }\n *\n * .my-element.ng-hide-add { ... }\n * .my-element.ng-hide-add.ng-hide-add-active { ... }\n * .my-element.ng-hide-remove { ... }\n * .my-element.ng-hide-remove.ng-hide-remove-active { ... }\n * ```\n *\n * Keep in mind that, as of AngularJS version 1.3, there is no need to change the display property\n * to block during animation states - ngAnimate will automatically handle the style toggling for you.\n *\n * @element ANY\n * @param {expression} ngHide If the {@link guide/expression expression} is truthy/falsy then the\n * element is hidden/shown respectively.\n *\n * @example\n * A simple example, animating the element's opacity:\n *\n <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\" name=\"ng-hide-simple\">\n <file name=\"index.html\">\n Hide: <input type=\"checkbox\" ng-model=\"checked\" aria-label=\"Toggle ngHide\"><br />\n <div class=\"check-element animate-show-hide\" ng-hide=\"checked\">\n I hide when your checkbox is checked.\n </div>\n </file>\n <file name=\"animations.css\">\n .animate-show-hide.ng-hide {\n opacity: 0;\n }\n\n .animate-show-hide.ng-hide-add,\n .animate-show-hide.ng-hide-remove {\n transition: all linear 0.5s;\n }\n\n .check-element {\n border: 1px solid black;\n opacity: 1;\n padding: 10px;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ngHide', function() {\n var checkbox = element(by.model('checked'));\n var checkElem = element(by.css('.check-element'));\n\n expect(checkElem.isDisplayed()).toBe(true);\n checkbox.click();\n expect(checkElem.isDisplayed()).toBe(false);\n });\n </file>\n </example>\n *\n * <hr />\n * @example\n * A more complex example, featuring different show/hide animations:\n *\n <example module=\"ngAnimate\" deps=\"angular-animate.js\" animations=\"true\" name=\"ng-hide-complex\">\n <file name=\"index.html\">\n Hide: <input type=\"checkbox\" ng-model=\"checked\" aria-label=\"Toggle ngHide\"><br />\n <div class=\"check-element funky-show-hide\" ng-hide=\"checked\">\n I hide when your checkbox is checked.\n </div>\n </file>\n <file name=\"animations.css\">\n body {\n overflow: hidden;\n perspective: 1000px;\n }\n\n .funky-show-hide.ng-hide-add {\n transform: rotateZ(0);\n transform-origin: right;\n transition: all 0.5s ease-in-out;\n }\n\n .funky-show-hide.ng-hide-add.ng-hide-add-active {\n transform: rotateZ(-135deg);\n }\n\n .funky-show-hide.ng-hide-remove {\n transform: rotateY(90deg);\n transform-origin: left;\n transition: all 0.5s ease;\n }\n\n .funky-show-hide.ng-hide-remove.ng-hide-remove-active {\n transform: rotateY(0);\n }\n\n .check-element {\n border: 1px solid black;\n opacity: 1;\n padding: 10px;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should check ngHide', function() {\n var checkbox = element(by.model('checked'));\n var checkElem = element(by.css('.check-element'));\n\n expect(checkElem.isDisplayed()).toBe(true);\n checkbox.click();\n expect(checkElem.isDisplayed()).toBe(false);\n });\n </file>\n </example>\n *\n * @knownIssue\n *\n * ### Flickering when using ngHide to toggle between elements\n *\n * When using {@link ngShow} and / or {@link ngHide} to toggle between elements, it can\n * happen that both the element to show and the element to hide are visible for a very short time.\n *\n * This usually happens when the {@link ngAnimate ngAnimate module} is included, but no actual animations\n * are defined for {@link ngShow} / {@link ngHide}. Internet Explorer is affected more often than\n * other browsers.\n *\n * There are several way to mitigate this problem:\n *\n * - {@link guide/animations#how-to-selectively-enable-disable-and-skip-animations Disable animations on the affected elements}.\n * - Use {@link ngIf} or {@link ngSwitch} instead of {@link ngShow} / {@link ngHide}.\n * - Use the special CSS selector `ng-hide.ng-hide-animate` to set `{display: none}` or similar on the affected elements.\n * - Use `ng-class=\"{'ng-hide': expression}` instead of instead of {@link ngShow} / {@link ngHide}.\n * - Define an animation on the affected elements.\n */\nvar ngHideDirective = ['$animate', function($animate) {\n return {\n restrict: 'A',\n multiElement: true,\n link: function(scope, element, attr) {\n scope.$watch(attr.ngHide, function ngHideWatchAction(value) {\n // The comment inside of the ngShowDirective explains why we add and\n // remove a temporary class for the show/hide animation\n $animate[value ? 'addClass' : 'removeClass'](element,NG_HIDE_CLASS, {\n tempClasses: NG_HIDE_IN_PROGRESS_CLASS\n });\n });\n }\n };\n}];\n\n/**\n * @ngdoc directive\n * @name ngStyle\n * @restrict AC\n *\n * @description\n * The `ngStyle` directive allows you to set CSS style on an HTML element conditionally.\n *\n * @knownIssue\n * You should not use {@link guide/interpolation interpolation} in the value of the `style`\n * attribute, when using the `ngStyle` directive on the same element.\n * See {@link guide/interpolation#known-issues here} for more info.\n *\n * @element ANY\n * @param {expression} ngStyle\n *\n * {@link guide/expression Expression} which evals to an\n * object whose keys are CSS style names and values are corresponding values for those CSS\n * keys.\n *\n * Since some CSS style names are not valid keys for an object, they must be quoted.\n * See the 'background-color' style in the example below.\n *\n * @example\n <example name=\"ng-style\">\n <file name=\"index.html\">\n <input type=\"button\" value=\"set color\" ng-click=\"myStyle={color:'red'}\">\n <input type=\"button\" value=\"set background\" ng-click=\"myStyle={'background-color':'blue'}\">\n <input type=\"button\" value=\"clear\" ng-click=\"myStyle={}\">\n <br/>\n <span ng-style=\"myStyle\">Sample Text</span>\n <pre>myStyle={{myStyle}}</pre>\n </file>\n <file name=\"style.css\">\n span {\n color: black;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var colorSpan = element(by.css('span'));\n\n it('should check ng-style', function() {\n expect(colorSpan.getCssValue('color')).toMatch(/rgba\\(0, 0, 0, 1\\)|rgb\\(0, 0, 0\\)/);\n element(by.css('input[value=\\'set color\\']')).click();\n expect(colorSpan.getCssValue('color')).toMatch(/rgba\\(255, 0, 0, 1\\)|rgb\\(255, 0, 0\\)/);\n element(by.css('input[value=clear]')).click();\n expect(colorSpan.getCssValue('color')).toMatch(/rgba\\(0, 0, 0, 1\\)|rgb\\(0, 0, 0\\)/);\n });\n </file>\n </example>\n */\nvar ngStyleDirective = ngDirective(function(scope, element, attr) {\n scope.$watchCollection(attr.ngStyle, function ngStyleWatchAction(newStyles, oldStyles) {\n if (oldStyles && (newStyles !== oldStyles)) {\n forEach(oldStyles, function(val, style) { element.css(style, ''); });\n }\n if (newStyles) element.css(newStyles);\n });\n});\n\n/**\n * @ngdoc directive\n * @name ngSwitch\n * @restrict EA\n *\n * @description\n * The `ngSwitch` directive is used to conditionally swap DOM structure on your template based on a scope expression.\n * Elements within `ngSwitch` but without `ngSwitchWhen` or `ngSwitchDefault` directives will be preserved at the location\n * as specified in the template.\n *\n * The directive itself works similar to ngInclude, however, instead of downloading template code (or loading it\n * from the template cache), `ngSwitch` simply chooses one of the nested elements and makes it visible based on which element\n * matches the value obtained from the evaluated expression. In other words, you define a container element\n * (where you place the directive), place an expression on the **`on=\"...\"` attribute**\n * (or the **`ng-switch=\"...\"` attribute**), define any inner elements inside of the directive and place\n * a when attribute per element. The when attribute is used to inform ngSwitch which element to display when the on\n * expression is evaluated. If a matching expression is not found via a when attribute then an element with the default\n * attribute is displayed.\n *\n * <div class=\"alert alert-info\">\n * Be aware that the attribute values to match against cannot be expressions. They are interpreted\n * as literal string values to match against.\n * For example, **`ng-switch-when=\"someVal\"`** will match against the string `\"someVal\"` not against the\n * value of the expression `$scope.someVal`.\n * </div>\n\n * @animations\n * | Animation | Occurs |\n * |----------------------------------|-------------------------------------|\n * | {@link ng.$animate#enter enter} | after the ngSwitch contents change and the matched child element is placed inside the container |\n * | {@link ng.$animate#leave leave} | after the ngSwitch contents change and just before the former contents are removed from the DOM |\n *\n * @usage\n *\n * ```\n * <ANY ng-switch=\"expression\">\n * <ANY ng-switch-when=\"matchValue1\">...</ANY>\n * <ANY ng-switch-when=\"matchValue2\">...</ANY>\n * <ANY ng-switch-default>...</ANY>\n * </ANY>\n * ```\n *\n *\n * @scope\n * @priority 1200\n * @param {*} ngSwitch|on expression to match against <code>ng-switch-when</code>.\n * On child elements add:\n *\n * * `ngSwitchWhen`: the case statement to match against. If match then this\n * case will be displayed. If the same match appears multiple times, all the\n * elements will be displayed. It is possible to associate multiple values to\n * the same `ngSwitchWhen` by defining the optional attribute\n * `ngSwitchWhenSeparator`. The separator will be used to split the value of\n * the `ngSwitchWhen` attribute into multiple tokens, and the element will show\n * if any of the `ngSwitch` evaluates to any of these tokens.\n * * `ngSwitchDefault`: the default case when no other case match. If there\n * are multiple default cases, all of them will be displayed when no other\n * case match.\n *\n *\n * @example\n <example module=\"switchExample\" deps=\"angular-animate.js\" animations=\"true\" name=\"ng-switch\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n <select ng-model=\"selection\" ng-options=\"item for item in items\">\n </select>\n <code>selection={{selection}}</code>\n <hr/>\n <div class=\"animate-switch-container\"\n ng-switch on=\"selection\">\n <div class=\"animate-switch\" ng-switch-when=\"settings|options\" ng-switch-when-separator=\"|\">Settings Div</div>\n <div class=\"animate-switch\" ng-switch-when=\"home\">Home Span</div>\n <div class=\"animate-switch\" ng-switch-default>default</div>\n </div>\n </div>\n </file>\n <file name=\"script.js\">\n angular.module('switchExample', ['ngAnimate'])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.items = ['settings', 'home', 'options', 'other'];\n $scope.selection = $scope.items[0];\n }]);\n </file>\n <file name=\"animations.css\">\n .animate-switch-container {\n position:relative;\n background:white;\n border:1px solid black;\n height:40px;\n overflow:hidden;\n }\n\n .animate-switch {\n padding:10px;\n }\n\n .animate-switch.ng-animate {\n transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;\n\n position:absolute;\n top:0;\n left:0;\n right:0;\n bottom:0;\n }\n\n .animate-switch.ng-leave.ng-leave-active,\n .animate-switch.ng-enter {\n top:-50px;\n }\n .animate-switch.ng-leave,\n .animate-switch.ng-enter.ng-enter-active {\n top:0;\n }\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n var switchElem = element(by.css('[ng-switch]'));\n var select = element(by.model('selection'));\n\n it('should start in settings', function() {\n expect(switchElem.getText()).toMatch(/Settings Div/);\n });\n it('should change to home', function() {\n select.all(by.css('option')).get(1).click();\n expect(switchElem.getText()).toMatch(/Home Span/);\n });\n it('should change to settings via \"options\"', function() {\n select.all(by.css('option')).get(2).click();\n expect(switchElem.getText()).toMatch(/Settings Div/);\n });\n it('should select default', function() {\n select.all(by.css('option')).get(3).click();\n expect(switchElem.getText()).toMatch(/default/);\n });\n </file>\n </example>\n */\nvar ngSwitchDirective = ['$animate', '$compile', function($animate, $compile) {\n return {\n require: 'ngSwitch',\n\n // asks for $scope to fool the BC controller module\n controller: ['$scope', function NgSwitchController() {\n this.cases = {};\n }],\n link: function(scope, element, attr, ngSwitchController) {\n var watchExpr = attr.ngSwitch || attr.on,\n selectedTranscludes = [],\n selectedElements = [],\n previousLeaveAnimations = [],\n selectedScopes = [];\n\n var spliceFactory = function(array, index) {\n return function(response) {\n if (response !== false) array.splice(index, 1);\n };\n };\n\n scope.$watch(watchExpr, function ngSwitchWatchAction(value) {\n var i, ii;\n\n // Start with the last, in case the array is modified during the loop\n while (previousLeaveAnimations.length) {\n $animate.cancel(previousLeaveAnimations.pop());\n }\n\n for (i = 0, ii = selectedScopes.length; i < ii; ++i) {\n var selected = getBlockNodes(selectedElements[i].clone);\n selectedScopes[i].$destroy();\n var runner = previousLeaveAnimations[i] = $animate.leave(selected);\n runner.done(spliceFactory(previousLeaveAnimations, i));\n }\n\n selectedElements.length = 0;\n selectedScopes.length = 0;\n\n if ((selectedTranscludes = ngSwitchController.cases['!' + value] || ngSwitchController.cases['?'])) {\n forEach(selectedTranscludes, function(selectedTransclude) {\n selectedTransclude.transclude(function(caseElement, selectedScope) {\n selectedScopes.push(selectedScope);\n var anchor = selectedTransclude.element;\n caseElement[caseElement.length++] = $compile.$$createComment('end ngSwitchWhen');\n var block = { clone: caseElement };\n\n selectedElements.push(block);\n $animate.enter(caseElement, anchor.parent(), anchor);\n });\n });\n }\n });\n }\n };\n}];\n\nvar ngSwitchWhenDirective = ngDirective({\n transclude: 'element',\n priority: 1200,\n require: '^ngSwitch',\n multiElement: true,\n link: function(scope, element, attrs, ctrl, $transclude) {\n\n var cases = attrs.ngSwitchWhen.split(attrs.ngSwitchWhenSeparator).sort().filter(\n // Filter duplicate cases\n function(element, index, array) { return array[index - 1] !== element; }\n );\n\n forEach(cases, function(whenCase) {\n ctrl.cases['!' + whenCase] = (ctrl.cases['!' + whenCase] || []);\n ctrl.cases['!' + whenCase].push({ transclude: $transclude, element: element });\n });\n }\n});\n\nvar ngSwitchDefaultDirective = ngDirective({\n transclude: 'element',\n priority: 1200,\n require: '^ngSwitch',\n multiElement: true,\n link: function(scope, element, attr, ctrl, $transclude) {\n ctrl.cases['?'] = (ctrl.cases['?'] || []);\n ctrl.cases['?'].push({ transclude: $transclude, element: element });\n }\n});\n\n/**\n * @ngdoc directive\n * @name ngTransclude\n * @restrict EAC\n *\n * @description\n * Directive that marks the insertion point for the transcluded DOM of the nearest parent directive that uses transclusion.\n *\n * You can specify that you want to insert a named transclusion slot, instead of the default slot, by providing the slot name\n * as the value of the `ng-transclude` or `ng-transclude-slot` attribute.\n *\n * If the transcluded content is not empty (i.e. contains one or more DOM nodes, including whitespace text nodes), any existing\n * content of this element will be removed before the transcluded content is inserted.\n * If the transcluded content is empty (or only whitespace), the existing content is left intact. This lets you provide fallback\n * content in the case that no transcluded content is provided.\n *\n * @element ANY\n *\n * @param {string} ngTransclude|ngTranscludeSlot the name of the slot to insert at this point. If this is not provided, is empty\n * or its value is the same as the name of the attribute then the default slot is used.\n *\n * @example\n * ### Basic transclusion\n * This example demonstrates basic transclusion of content into a component directive.\n * <example name=\"simpleTranscludeExample\" module=\"transcludeExample\">\n * <file name=\"index.html\">\n * <script>\n * angular.module('transcludeExample', [])\n * .directive('pane', function(){\n * return {\n * restrict: 'E',\n * transclude: true,\n * scope: { title:'@' },\n * template: '<div style=\"border: 1px solid black;\">' +\n * '<div style=\"background-color: gray\">{{title}}</div>' +\n * '<ng-transclude></ng-transclude>' +\n * '</div>'\n * };\n * })\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.title = 'Lorem Ipsum';\n * $scope.text = 'Neque porro quisquam est qui dolorem ipsum quia dolor...';\n * }]);\n * </script>\n * <div ng-controller=\"ExampleController\">\n * <input ng-model=\"title\" aria-label=\"title\"> <br/>\n * <textarea ng-model=\"text\" aria-label=\"text\"></textarea> <br/>\n * <pane title=\"{{title}}\"><span>{{text}}</span></pane>\n * </div>\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n * it('should have transcluded', function() {\n * var titleElement = element(by.model('title'));\n * titleElement.clear();\n * titleElement.sendKeys('TITLE');\n * var textElement = element(by.model('text'));\n * textElement.clear();\n * textElement.sendKeys('TEXT');\n * expect(element(by.binding('title')).getText()).toEqual('TITLE');\n * expect(element(by.binding('text')).getText()).toEqual('TEXT');\n * });\n * </file>\n * </example>\n *\n * @example\n * ### Transclude fallback content\n * This example shows how to use `NgTransclude` with fallback content, that\n * is displayed if no transcluded content is provided.\n *\n * <example module=\"transcludeFallbackContentExample\" name=\"ng-transclude\">\n * <file name=\"index.html\">\n * <script>\n * angular.module('transcludeFallbackContentExample', [])\n * .directive('myButton', function(){\n * return {\n * restrict: 'E',\n * transclude: true,\n * scope: true,\n * template: '<button style=\"cursor: pointer;\">' +\n * '<ng-transclude>' +\n * '<b style=\"color: red;\">Button1</b>' +\n * '</ng-transclude>' +\n * '</button>'\n * };\n * });\n * </script>\n * <!-- fallback button content -->\n * <my-button id=\"fallback\"></my-button>\n * <!-- modified button content -->\n * <my-button id=\"modified\">\n * <i style=\"color: green;\">Button2</i>\n * </my-button>\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n * it('should have different transclude element content', function() {\n * expect(element(by.id('fallback')).getText()).toBe('Button1');\n * expect(element(by.id('modified')).getText()).toBe('Button2');\n * });\n * </file>\n * </example>\n *\n * @example\n * ### Multi-slot transclusion\n * This example demonstrates using multi-slot transclusion in a component directive.\n * <example name=\"multiSlotTranscludeExample\" module=\"multiSlotTranscludeExample\">\n * <file name=\"index.html\">\n * <style>\n * .title, .footer {\n * background-color: gray\n * }\n * </style>\n * <div ng-controller=\"ExampleController\">\n * <input ng-model=\"title\" aria-label=\"title\"> <br/>\n * <textarea ng-model=\"text\" aria-label=\"text\"></textarea> <br/>\n * <pane>\n * <pane-title><a ng-href=\"{{link}}\">{{title}}</a></pane-title>\n * <pane-body><p>{{text}}</p></pane-body>\n * </pane>\n * </div>\n * </file>\n * <file name=\"app.js\">\n * angular.module('multiSlotTranscludeExample', [])\n * .directive('pane', function() {\n * return {\n * restrict: 'E',\n * transclude: {\n * 'title': '?paneTitle',\n * 'body': 'paneBody',\n * 'footer': '?paneFooter'\n * },\n * template: '<div style=\"border: 1px solid black;\">' +\n * '<div class=\"title\" ng-transclude=\"title\">Fallback Title</div>' +\n * '<div ng-transclude=\"body\"></div>' +\n * '<div class=\"footer\" ng-transclude=\"footer\">Fallback Footer</div>' +\n * '</div>'\n * };\n * })\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.title = 'Lorem Ipsum';\n * $scope.link = 'https://google.com';\n * $scope.text = 'Neque porro quisquam est qui dolorem ipsum quia dolor...';\n * }]);\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n * it('should have transcluded the title and the body', function() {\n * var titleElement = element(by.model('title'));\n * titleElement.clear();\n * titleElement.sendKeys('TITLE');\n * var textElement = element(by.model('text'));\n * textElement.clear();\n * textElement.sendKeys('TEXT');\n * expect(element(by.css('.title')).getText()).toEqual('TITLE');\n * expect(element(by.binding('text')).getText()).toEqual('TEXT');\n * expect(element(by.css('.footer')).getText()).toEqual('Fallback Footer');\n * });\n * </file>\n * </example>\n */\nvar ngTranscludeMinErr = minErr('ngTransclude');\nvar ngTranscludeDirective = ['$compile', function($compile) {\n return {\n restrict: 'EAC',\n compile: function ngTranscludeCompile(tElement) {\n\n // Remove and cache any original content to act as a fallback\n var fallbackLinkFn = $compile(tElement.contents());\n tElement.empty();\n\n return function ngTranscludePostLink($scope, $element, $attrs, controller, $transclude) {\n\n if (!$transclude) {\n throw ngTranscludeMinErr('orphan',\n 'Illegal use of ngTransclude directive in the template! ' +\n 'No parent directive that requires a transclusion found. ' +\n 'Element: {0}',\n startingTag($element));\n }\n\n\n // If the attribute is of the form: `ng-transclude=\"ng-transclude\"` then treat it like the default\n if ($attrs.ngTransclude === $attrs.$attr.ngTransclude) {\n $attrs.ngTransclude = '';\n }\n var slotName = $attrs.ngTransclude || $attrs.ngTranscludeSlot;\n\n // If the slot is required and no transclusion content is provided then this call will throw an error\n $transclude(ngTranscludeCloneAttachFn, null, slotName);\n\n // If the slot is optional and no transclusion content is provided then use the fallback content\n if (slotName && !$transclude.isSlotFilled(slotName)) {\n useFallbackContent();\n }\n\n function ngTranscludeCloneAttachFn(clone, transcludedScope) {\n if (clone.length && notWhitespace(clone)) {\n $element.append(clone);\n } else {\n useFallbackContent();\n // There is nothing linked against the transcluded scope since no content was available,\n // so it should be safe to clean up the generated scope.\n transcludedScope.$destroy();\n }\n }\n\n function useFallbackContent() {\n // Since this is the fallback content rather than the transcluded content,\n // we link against the scope of this directive rather than the transcluded scope\n fallbackLinkFn($scope, function(clone) {\n $element.append(clone);\n });\n }\n\n function notWhitespace(nodes) {\n for (var i = 0, ii = nodes.length; i < ii; i++) {\n var node = nodes[i];\n if (node.nodeType !== NODE_TYPE_TEXT || node.nodeValue.trim()) {\n return true;\n }\n }\n }\n };\n }\n };\n}];\n\n/**\n * @ngdoc directive\n * @name script\n * @restrict E\n *\n * @description\n * Load the content of a `<script>` element into {@link ng.$templateCache `$templateCache`}, so that the\n * template can be used by {@link ng.directive:ngInclude `ngInclude`},\n * {@link ngRoute.directive:ngView `ngView`}, or {@link guide/directive directives}. The type of the\n * `<script>` element must be specified as `text/ng-template`, and a cache name for the template must be\n * assigned through the element's `id`, which can then be used as a directive's `templateUrl`.\n *\n * @param {string} type Must be set to `'text/ng-template'`.\n * @param {string} id Cache name of the template.\n *\n * @example\n <example name=\"script-tag\">\n <file name=\"index.html\">\n <script type=\"text/ng-template\" id=\"/tpl.html\">\n Content of the template.\n </script>\n\n <a ng-click=\"currentTpl='/tpl.html'\" id=\"tpl-link\">Load inlined template</a>\n <div id=\"tpl-content\" ng-include src=\"currentTpl\"></div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should load template defined inside script tag', function() {\n element(by.css('#tpl-link')).click();\n expect(element(by.css('#tpl-content')).getText()).toMatch(/Content of the template/);\n });\n </file>\n </example>\n */\nvar scriptDirective = ['$templateCache', function($templateCache) {\n return {\n restrict: 'E',\n terminal: true,\n compile: function(element, attr) {\n if (attr.type === 'text/ng-template') {\n var templateUrl = attr.id,\n text = element[0].text;\n\n $templateCache.put(templateUrl, text);\n }\n }\n };\n}];\n\n/* exported selectDirective, optionDirective */\n\nvar noopNgModelController = { $setViewValue: noop, $render: noop };\n\nfunction setOptionSelectedStatus(optionEl, value) {\n optionEl.prop('selected', value);\n /**\n * When unselecting an option, setting the property to null / false should be enough\n * However, screenreaders might react to the selected attribute instead, see\n * https://github.com/angular/angular.js/issues/14419\n * Note: \"selected\" is a boolean attr and will be removed when the \"value\" arg in attr() is false\n * or null\n */\n optionEl.attr('selected', value);\n}\n\n/**\n * @ngdoc type\n * @name select.SelectController\n *\n * @description\n * The controller for the {@link ng.select select} directive. The controller exposes\n * a few utility methods that can be used to augment the behavior of a regular or an\n * {@link ng.ngOptions ngOptions} select element.\n *\n * @example\n * ### Set a custom error when the unknown option is selected\n *\n * This example sets a custom error \"unknownValue\" on the ngModelController\n * when the select element's unknown option is selected, i.e. when the model is set to a value\n * that is not matched by any option.\n *\n * <example name=\"select-unknown-value-error\" module=\"staticSelect\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n * <form name=\"myForm\">\n * <label for=\"testSelect\"> Single select: </label><br>\n * <select name=\"testSelect\" ng-model=\"selected\" unknown-value-error>\n * <option value=\"option-1\">Option 1</option>\n * <option value=\"option-2\">Option 2</option>\n * </select><br>\n * <span class=\"error\" ng-if=\"myForm.testSelect.$error.unknownValue\">\n * Error: The current model doesn't match any option</span><br>\n *\n * <button ng-click=\"forceUnknownOption()\">Force unknown option</button><br>\n * </form>\n * </div>\n * </file>\n * <file name=\"app.js\">\n * angular.module('staticSelect', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.selected = null;\n *\n * $scope.forceUnknownOption = function() {\n * $scope.selected = 'nonsense';\n * };\n * }])\n * .directive('unknownValueError', function() {\n * return {\n * require: ['ngModel', 'select'],\n * link: function(scope, element, attrs, ctrls) {\n * var ngModelCtrl = ctrls[0];\n * var selectCtrl = ctrls[1];\n *\n * ngModelCtrl.$validators.unknownValue = function(modelValue, viewValue) {\n * if (selectCtrl.$isUnknownOptionSelected()) {\n * return false;\n * }\n *\n * return true;\n * };\n * }\n *\n * };\n * });\n * </file>\n *</example>\n *\n *\n * @example\n * ### Set the \"required\" error when the unknown option is selected.\n *\n * By default, the \"required\" error on the ngModelController is only set on a required select\n * when the empty option is selected. This example adds a custom directive that also sets the\n * error when the unknown option is selected.\n *\n * <example name=\"select-unknown-value-required\" module=\"staticSelect\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n * <form name=\"myForm\">\n * <label for=\"testSelect\"> Select: </label><br>\n * <select name=\"testSelect\" ng-model=\"selected\" required unknown-value-required>\n * <option value=\"option-1\">Option 1</option>\n * <option value=\"option-2\">Option 2</option>\n * </select><br>\n * <span class=\"error\" ng-if=\"myForm.testSelect.$error.required\">Error: Please select a value</span><br>\n *\n * <button ng-click=\"forceUnknownOption()\">Force unknown option</button><br>\n * </form>\n * </div>\n * </file>\n * <file name=\"app.js\">\n * angular.module('staticSelect', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.selected = null;\n *\n * $scope.forceUnknownOption = function() {\n * $scope.selected = 'nonsense';\n * };\n * }])\n * .directive('unknownValueRequired', function() {\n * return {\n * priority: 1, // This directive must run after the required directive has added its validator\n * require: ['ngModel', 'select'],\n * link: function(scope, element, attrs, ctrls) {\n * var ngModelCtrl = ctrls[0];\n * var selectCtrl = ctrls[1];\n *\n * var originalRequiredValidator = ngModelCtrl.$validators.required;\n *\n * ngModelCtrl.$validators.required = function() {\n * if (attrs.required && selectCtrl.$isUnknownOptionSelected()) {\n * return false;\n * }\n *\n * return originalRequiredValidator.apply(this, arguments);\n * };\n * }\n * };\n * });\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n * it('should show the error message when the unknown option is selected', function() {\n\n var error = element(by.className('error'));\n\n expect(error.getText()).toBe('Error: Please select a value');\n\n element(by.cssContainingText('option', 'Option 1')).click();\n\n expect(error.isPresent()).toBe(false);\n\n element(by.tagName('button')).click();\n\n expect(error.getText()).toBe('Error: Please select a value');\n });\n * </file>\n *</example>\n *\n *\n */\nvar SelectController =\n ['$element', '$scope', /** @this */ function($element, $scope) {\n\n var self = this,\n optionsMap = new NgMap();\n\n self.selectValueMap = {}; // Keys are the hashed values, values the original values\n\n // If the ngModel doesn't get provided then provide a dummy noop version to prevent errors\n self.ngModelCtrl = noopNgModelController;\n self.multiple = false;\n\n // The \"unknown\" option is one that is prepended to the list if the viewValue\n // does not match any of the options. When it is rendered the value of the unknown\n // option is '? XXX ?' where XXX is the hashKey of the value that is not known.\n //\n // Support: IE 9 only\n // We can't just jqLite('<option>') since jqLite is not smart enough\n // to create it in <select> and IE barfs otherwise.\n self.unknownOption = jqLite(window.document.createElement('option'));\n\n // The empty option is an option with the value '' that the application developer can\n // provide inside the select. It is always selectable and indicates that a \"null\" selection has\n // been made by the user.\n // If the select has an empty option, and the model of the select is set to \"undefined\" or \"null\",\n // the empty option is selected.\n // If the model is set to a different unmatched value, the unknown option is rendered and\n // selected, i.e both are present, because a \"null\" selection and an unknown value are different.\n self.hasEmptyOption = false;\n self.emptyOption = undefined;\n\n self.renderUnknownOption = function(val) {\n var unknownVal = self.generateUnknownOptionValue(val);\n self.unknownOption.val(unknownVal);\n $element.prepend(self.unknownOption);\n setOptionSelectedStatus(self.unknownOption, true);\n $element.val(unknownVal);\n };\n\n self.updateUnknownOption = function(val) {\n var unknownVal = self.generateUnknownOptionValue(val);\n self.unknownOption.val(unknownVal);\n setOptionSelectedStatus(self.unknownOption, true);\n $element.val(unknownVal);\n };\n\n self.generateUnknownOptionValue = function(val) {\n return '? ' + hashKey(val) + ' ?';\n };\n\n self.removeUnknownOption = function() {\n if (self.unknownOption.parent()) self.unknownOption.remove();\n };\n\n self.selectEmptyOption = function() {\n if (self.emptyOption) {\n $element.val('');\n setOptionSelectedStatus(self.emptyOption, true);\n }\n };\n\n self.unselectEmptyOption = function() {\n if (self.hasEmptyOption) {\n setOptionSelectedStatus(self.emptyOption, false);\n }\n };\n\n $scope.$on('$destroy', function() {\n // disable unknown option so that we don't do work when the whole select is being destroyed\n self.renderUnknownOption = noop;\n });\n\n // Read the value of the select control, the implementation of this changes depending\n // upon whether the select can have multiple values and whether ngOptions is at work.\n self.readValue = function readSingleValue() {\n var val = $element.val();\n // ngValue added option values are stored in the selectValueMap, normal interpolations are not\n var realVal = val in self.selectValueMap ? self.selectValueMap[val] : val;\n\n if (self.hasOption(realVal)) {\n return realVal;\n }\n\n return null;\n };\n\n\n // Write the value to the select control, the implementation of this changes depending\n // upon whether the select can have multiple values and whether ngOptions is at work.\n self.writeValue = function writeSingleValue(value) {\n // Make sure to remove the selected attribute from the previously selected option\n // Otherwise, screen readers might get confused\n var currentlySelectedOption = $element[0].options[$element[0].selectedIndex];\n if (currentlySelectedOption) setOptionSelectedStatus(jqLite(currentlySelectedOption), false);\n\n if (self.hasOption(value)) {\n self.removeUnknownOption();\n\n var hashedVal = hashKey(value);\n $element.val(hashedVal in self.selectValueMap ? hashedVal : value);\n\n // Set selected attribute and property on selected option for screen readers\n var selectedOption = $element[0].options[$element[0].selectedIndex];\n setOptionSelectedStatus(jqLite(selectedOption), true);\n } else {\n self.selectUnknownOrEmptyOption(value);\n }\n };\n\n\n // Tell the select control that an option, with the given value, has been added\n self.addOption = function(value, element) {\n // Skip comment nodes, as they only pollute the `optionsMap`\n if (element[0].nodeType === NODE_TYPE_COMMENT) return;\n\n assertNotHasOwnProperty(value, '\"option value\"');\n if (value === '') {\n self.hasEmptyOption = true;\n self.emptyOption = element;\n }\n var count = optionsMap.get(value) || 0;\n optionsMap.set(value, count + 1);\n // Only render at the end of a digest. This improves render performance when many options\n // are added during a digest and ensures all relevant options are correctly marked as selected\n scheduleRender();\n };\n\n // Tell the select control that an option, with the given value, has been removed\n self.removeOption = function(value) {\n var count = optionsMap.get(value);\n if (count) {\n if (count === 1) {\n optionsMap.delete(value);\n if (value === '') {\n self.hasEmptyOption = false;\n self.emptyOption = undefined;\n }\n } else {\n optionsMap.set(value, count - 1);\n }\n }\n };\n\n // Check whether the select control has an option matching the given value\n self.hasOption = function(value) {\n return !!optionsMap.get(value);\n };\n\n /**\n * @ngdoc method\n * @name select.SelectController#$hasEmptyOption\n *\n * @description\n *\n * Returns `true` if the select element currently has an empty option\n * element, i.e. an option that signifies that the select is empty / the selection is null.\n *\n */\n self.$hasEmptyOption = function() {\n return self.hasEmptyOption;\n };\n\n /**\n * @ngdoc method\n * @name select.SelectController#$isUnknownOptionSelected\n *\n * @description\n *\n * Returns `true` if the select element's unknown option is selected. The unknown option is added\n * and automatically selected whenever the select model doesn't match any option.\n *\n */\n self.$isUnknownOptionSelected = function() {\n // Presence of the unknown option means it is selected\n return $element[0].options[0] === self.unknownOption[0];\n };\n\n /**\n * @ngdoc method\n * @name select.SelectController#$isEmptyOptionSelected\n *\n * @description\n *\n * Returns `true` if the select element has an empty option and this empty option is currently\n * selected. Returns `false` if the select element has no empty option or it is not selected.\n *\n */\n self.$isEmptyOptionSelected = function() {\n return self.hasEmptyOption && $element[0].options[$element[0].selectedIndex] === self.emptyOption[0];\n };\n\n self.selectUnknownOrEmptyOption = function(value) {\n if (value == null && self.emptyOption) {\n self.removeUnknownOption();\n self.selectEmptyOption();\n } else if (self.unknownOption.parent().length) {\n self.updateUnknownOption(value);\n } else {\n self.renderUnknownOption(value);\n }\n };\n\n var renderScheduled = false;\n function scheduleRender() {\n if (renderScheduled) return;\n renderScheduled = true;\n $scope.$$postDigest(function() {\n renderScheduled = false;\n self.ngModelCtrl.$render();\n });\n }\n\n var updateScheduled = false;\n function scheduleViewValueUpdate(renderAfter) {\n if (updateScheduled) return;\n\n updateScheduled = true;\n\n $scope.$$postDigest(function() {\n if ($scope.$$destroyed) return;\n\n updateScheduled = false;\n self.ngModelCtrl.$setViewValue(self.readValue());\n if (renderAfter) self.ngModelCtrl.$render();\n });\n }\n\n\n self.registerOption = function(optionScope, optionElement, optionAttrs, interpolateValueFn, interpolateTextFn) {\n\n if (optionAttrs.$attr.ngValue) {\n // The value attribute is set by ngValue\n var oldVal, hashedVal;\n optionAttrs.$observe('value', function valueAttributeObserveAction(newVal) {\n\n var removal;\n var previouslySelected = optionElement.prop('selected');\n\n if (isDefined(hashedVal)) {\n self.removeOption(oldVal);\n delete self.selectValueMap[hashedVal];\n removal = true;\n }\n\n hashedVal = hashKey(newVal);\n oldVal = newVal;\n self.selectValueMap[hashedVal] = newVal;\n self.addOption(newVal, optionElement);\n // Set the attribute directly instead of using optionAttrs.$set - this stops the observer\n // from firing a second time. Other $observers on value will also get the result of the\n // ngValue expression, not the hashed value\n optionElement.attr('value', hashedVal);\n\n if (removal && previouslySelected) {\n scheduleViewValueUpdate();\n }\n\n });\n } else if (interpolateValueFn) {\n // The value attribute is interpolated\n optionAttrs.$observe('value', function valueAttributeObserveAction(newVal) {\n // This method is overwritten in ngOptions and has side-effects!\n self.readValue();\n\n var removal;\n var previouslySelected = optionElement.prop('selected');\n\n if (isDefined(oldVal)) {\n self.removeOption(oldVal);\n removal = true;\n }\n oldVal = newVal;\n self.addOption(newVal, optionElement);\n\n if (removal && previouslySelected) {\n scheduleViewValueUpdate();\n }\n });\n } else if (interpolateTextFn) {\n // The text content is interpolated\n optionScope.$watch(interpolateTextFn, function interpolateWatchAction(newVal, oldVal) {\n optionAttrs.$set('value', newVal);\n var previouslySelected = optionElement.prop('selected');\n if (oldVal !== newVal) {\n self.removeOption(oldVal);\n }\n self.addOption(newVal, optionElement);\n\n if (oldVal && previouslySelected) {\n scheduleViewValueUpdate();\n }\n });\n } else {\n // The value attribute is static\n self.addOption(optionAttrs.value, optionElement);\n }\n\n\n optionAttrs.$observe('disabled', function(newVal) {\n\n // Since model updates will also select disabled options (like ngOptions),\n // we only have to handle options becoming disabled, not enabled\n\n if (newVal === 'true' || newVal && optionElement.prop('selected')) {\n if (self.multiple) {\n scheduleViewValueUpdate(true);\n } else {\n self.ngModelCtrl.$setViewValue(null);\n self.ngModelCtrl.$render();\n }\n }\n });\n\n optionElement.on('$destroy', function() {\n var currentValue = self.readValue();\n var removeValue = optionAttrs.value;\n\n self.removeOption(removeValue);\n scheduleRender();\n\n if (self.multiple && currentValue && currentValue.indexOf(removeValue) !== -1 ||\n currentValue === removeValue\n ) {\n // When multiple (selected) options are destroyed at the same time, we don't want\n // to run a model update for each of them. Instead, run a single update in the $$postDigest\n scheduleViewValueUpdate(true);\n }\n });\n };\n}];\n\n/**\n * @ngdoc directive\n * @name select\n * @restrict E\n *\n * @description\n * HTML `select` element with AngularJS data-binding.\n *\n * The `select` directive is used together with {@link ngModel `ngModel`} to provide data-binding\n * between the scope and the `<select>` control (including setting default values).\n * It also handles dynamic `<option>` elements, which can be added using the {@link ngRepeat `ngRepeat}` or\n * {@link ngOptions `ngOptions`} directives.\n *\n * When an item in the `<select>` menu is selected, the value of the selected option will be bound\n * to the model identified by the `ngModel` directive. With static or repeated options, this is\n * the content of the `value` attribute or the textContent of the `<option>`, if the value attribute is missing.\n * Value and textContent can be interpolated.\n *\n * The {@link select.SelectController select controller} exposes utility functions that can be used\n * to manipulate the select's behavior.\n *\n * ## Matching model and option values\n *\n * In general, the match between the model and an option is evaluated by strictly comparing the model\n * value against the value of the available options.\n *\n * If you are setting the option value with the option's `value` attribute, or textContent, the\n * value will always be a `string` which means that the model value must also be a string.\n * Otherwise the `select` directive cannot match them correctly.\n *\n * To bind the model to a non-string value, you can use one of the following strategies:\n * - the {@link ng.ngOptions `ngOptions`} directive\n * ({@link ng.select#using-select-with-ngoptions-and-setting-a-default-value})\n * - the {@link ng.ngValue `ngValue`} directive, which allows arbitrary expressions to be\n * option values ({@link ng.select#using-ngvalue-to-bind-the-model-to-an-array-of-objects Example})\n * - model $parsers / $formatters to convert the string value\n * ({@link ng.select#binding-select-to-a-non-string-value-via-ngmodel-parsing-formatting Example})\n *\n * If the viewValue of `ngModel` does not match any of the options, then the control\n * will automatically add an \"unknown\" option, which it then removes when the mismatch is resolved.\n *\n * Optionally, a single hard-coded `<option>` element, with the value set to an empty string, can\n * be nested into the `<select>` element. This element will then represent the `null` or \"not selected\"\n * option. See example below for demonstration.\n *\n * ## Choosing between `ngRepeat` and `ngOptions`\n *\n * In many cases, `ngRepeat` can be used on `<option>` elements instead of {@link ng.directive:ngOptions\n * ngOptions} to achieve a similar result. However, `ngOptions` provides some benefits:\n * - more flexibility in how the `<select>`'s model is assigned via the `select` **`as`** part of the\n * comprehension expression\n * - reduced memory consumption by not creating a new scope for each repeated instance\n * - increased render speed by creating the options in a documentFragment instead of individually\n *\n * Specifically, select with repeated options slows down significantly starting at 2000 options in\n * Chrome and Internet Explorer / Edge.\n *\n *\n * @param {string} ngModel Assignable AngularJS expression to data-bind to.\n * @param {string=} name Property name of the form under which the control is published.\n * @param {string=} multiple Allows multiple options to be selected. The selected values will be\n * bound to the model as an array.\n * @param {string=} required Sets `required` validation error key if the value is not entered.\n * @param {string=} ngRequired Adds required attribute and required validation constraint to\n * the element when the ngRequired expression evaluates to true. Use ngRequired instead of required\n * when you want to data-bind to the required attribute.\n * @param {string=} ngChange AngularJS expression to be executed when selected option(s) changes due to user\n * interaction with the select element.\n * @param {string=} ngOptions sets the options that the select is populated with and defines what is\n * set on the model on selection. See {@link ngOptions `ngOptions`}.\n * @param {string=} ngAttrSize sets the size of the select element dynamically. Uses the\n * {@link guide/interpolation#-ngattr-for-binding-to-arbitrary-attributes ngAttr} directive.\n *\n *\n * @example\n * ### Simple `select` elements with static options\n *\n * <example name=\"static-select\" module=\"staticSelect\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n * <form name=\"myForm\">\n * <label for=\"singleSelect\"> Single select: </label><br>\n * <select name=\"singleSelect\" ng-model=\"data.singleSelect\">\n * <option value=\"option-1\">Option 1</option>\n * <option value=\"option-2\">Option 2</option>\n * </select><br>\n *\n * <label for=\"singleSelect\"> Single select with \"not selected\" option and dynamic option values: </label><br>\n * <select name=\"singleSelect\" id=\"singleSelect\" ng-model=\"data.singleSelect\">\n * <option value=\"\">---Please select---</option> <!-- not selected / blank option -->\n * <option value=\"{{data.option1}}\">Option 1</option> <!-- interpolation -->\n * <option value=\"option-2\">Option 2</option>\n * </select><br>\n * <button ng-click=\"forceUnknownOption()\">Force unknown option</button><br>\n * <tt>singleSelect = {{data.singleSelect}}</tt>\n *\n * <hr>\n * <label for=\"multipleSelect\"> Multiple select: </label><br>\n * <select name=\"multipleSelect\" id=\"multipleSelect\" ng-model=\"data.multipleSelect\" multiple>\n * <option value=\"option-1\">Option 1</option>\n * <option value=\"option-2\">Option 2</option>\n * <option value=\"option-3\">Option 3</option>\n * </select><br>\n * <tt>multipleSelect = {{data.multipleSelect}}</tt><br/>\n * </form>\n * </div>\n * </file>\n * <file name=\"app.js\">\n * angular.module('staticSelect', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.data = {\n * singleSelect: null,\n * multipleSelect: [],\n * option1: 'option-1'\n * };\n *\n * $scope.forceUnknownOption = function() {\n * $scope.data.singleSelect = 'nonsense';\n * };\n * }]);\n * </file>\n *</example>\n *\n * @example\n * ### Using `ngRepeat` to generate `select` options\n * <example name=\"select-ngrepeat\" module=\"ngrepeatSelect\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n * <form name=\"myForm\">\n * <label for=\"repeatSelect\"> Repeat select: </label>\n * <select name=\"repeatSelect\" id=\"repeatSelect\" ng-model=\"data.model\">\n * <option ng-repeat=\"option in data.availableOptions\" value=\"{{option.id}}\">{{option.name}}</option>\n * </select>\n * </form>\n * <hr>\n * <tt>model = {{data.model}}</tt><br/>\n * </div>\n * </file>\n * <file name=\"app.js\">\n * angular.module('ngrepeatSelect', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.data = {\n * model: null,\n * availableOptions: [\n * {id: '1', name: 'Option A'},\n * {id: '2', name: 'Option B'},\n * {id: '3', name: 'Option C'}\n * ]\n * };\n * }]);\n * </file>\n *</example>\n *\n * @example\n * ### Using `ngValue` to bind the model to an array of objects\n * <example name=\"select-ngvalue\" module=\"ngvalueSelect\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n * <form name=\"myForm\">\n * <label for=\"ngvalueselect\"> ngvalue select: </label>\n * <select size=\"6\" name=\"ngvalueselect\" ng-model=\"data.model\" multiple>\n * <option ng-repeat=\"option in data.availableOptions\" ng-value=\"option.value\">{{option.name}}</option>\n * </select>\n * </form>\n * <hr>\n * <pre>model = {{data.model | json}}</pre><br/>\n * </div>\n * </file>\n * <file name=\"app.js\">\n * angular.module('ngvalueSelect', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.data = {\n * model: null,\n * availableOptions: [\n {value: 'myString', name: 'string'},\n {value: 1, name: 'integer'},\n {value: true, name: 'boolean'},\n {value: null, name: 'null'},\n {value: {prop: 'value'}, name: 'object'},\n {value: ['a'], name: 'array'}\n * ]\n * };\n * }]);\n * </file>\n *</example>\n *\n * @example\n * ### Using `select` with `ngOptions` and setting a default value\n * See the {@link ngOptions ngOptions documentation} for more `ngOptions` usage examples.\n *\n * <example name=\"select-with-default-values\" module=\"defaultValueSelect\">\n * <file name=\"index.html\">\n * <div ng-controller=\"ExampleController\">\n * <form name=\"myForm\">\n * <label for=\"mySelect\">Make a choice:</label>\n * <select name=\"mySelect\" id=\"mySelect\"\n * ng-options=\"option.name for option in data.availableOptions track by option.id\"\n * ng-model=\"data.selectedOption\"></select>\n * </form>\n * <hr>\n * <tt>option = {{data.selectedOption}}</tt><br/>\n * </div>\n * </file>\n * <file name=\"app.js\">\n * angular.module('defaultValueSelect', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.data = {\n * availableOptions: [\n * {id: '1', name: 'Option A'},\n * {id: '2', name: 'Option B'},\n * {id: '3', name: 'Option C'}\n * ],\n * selectedOption: {id: '3', name: 'Option C'} //This sets the default value of the select in the ui\n * };\n * }]);\n * </file>\n *</example>\n *\n * @example\n * ### Binding `select` to a non-string value via `ngModel` parsing / formatting\n *\n * <example name=\"select-with-non-string-options\" module=\"nonStringSelect\">\n * <file name=\"index.html\">\n * <select ng-model=\"model.id\" convert-to-number>\n * <option value=\"0\">Zero</option>\n * <option value=\"1\">One</option>\n * <option value=\"2\">Two</option>\n * </select>\n * {{ model }}\n * </file>\n * <file name=\"app.js\">\n * angular.module('nonStringSelect', [])\n * .run(function($rootScope) {\n * $rootScope.model = { id: 2 };\n * })\n * .directive('convertToNumber', function() {\n * return {\n * require: 'ngModel',\n * link: function(scope, element, attrs, ngModel) {\n * ngModel.$parsers.push(function(val) {\n * return parseInt(val, 10);\n * });\n * ngModel.$formatters.push(function(val) {\n * return '' + val;\n * });\n * }\n * };\n * });\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n * it('should initialize to model', function() {\n * expect(element(by.model('model.id')).$('option:checked').getText()).toEqual('Two');\n * });\n * </file>\n * </example>\n *\n */\nvar selectDirective = function() {\n\n return {\n restrict: 'E',\n require: ['select', '?ngModel'],\n controller: SelectController,\n priority: 1,\n link: {\n pre: selectPreLink,\n post: selectPostLink\n }\n };\n\n function selectPreLink(scope, element, attr, ctrls) {\n\n var selectCtrl = ctrls[0];\n var ngModelCtrl = ctrls[1];\n\n // if ngModel is not defined, we don't need to do anything but set the registerOption\n // function to noop, so options don't get added internally\n if (!ngModelCtrl) {\n selectCtrl.registerOption = noop;\n return;\n }\n\n\n selectCtrl.ngModelCtrl = ngModelCtrl;\n\n // When the selected item(s) changes we delegate getting the value of the select control\n // to the `readValue` method, which can be changed if the select can have multiple\n // selected values or if the options are being generated by `ngOptions`\n element.on('change', function() {\n selectCtrl.removeUnknownOption();\n scope.$apply(function() {\n ngModelCtrl.$setViewValue(selectCtrl.readValue());\n });\n });\n\n // If the select allows multiple values then we need to modify how we read and write\n // values from and to the control; also what it means for the value to be empty and\n // we have to add an extra watch since ngModel doesn't work well with arrays - it\n // doesn't trigger rendering if only an item in the array changes.\n if (attr.multiple) {\n selectCtrl.multiple = true;\n\n // Read value now needs to check each option to see if it is selected\n selectCtrl.readValue = function readMultipleValue() {\n var array = [];\n forEach(element.find('option'), function(option) {\n if (option.selected && !option.disabled) {\n var val = option.value;\n array.push(val in selectCtrl.selectValueMap ? selectCtrl.selectValueMap[val] : val);\n }\n });\n return array;\n };\n\n // Write value now needs to set the selected property of each matching option\n selectCtrl.writeValue = function writeMultipleValue(value) {\n forEach(element.find('option'), function(option) {\n var shouldBeSelected = !!value && (includes(value, option.value) ||\n includes(value, selectCtrl.selectValueMap[option.value]));\n var currentlySelected = option.selected;\n\n // Support: IE 9-11 only, Edge 12-15+\n // In IE and Edge adding options to the selection via shift+click/UP/DOWN\n // will de-select already selected options if \"selected\" on those options was set\n // more than once (i.e. when the options were already selected)\n // So we only modify the selected property if necessary.\n // Note: this behavior cannot be replicated via unit tests because it only shows in the\n // actual user interface.\n if (shouldBeSelected !== currentlySelected) {\n setOptionSelectedStatus(jqLite(option), shouldBeSelected);\n }\n\n });\n };\n\n // we have to do it on each watch since ngModel watches reference, but\n // we need to work of an array, so we need to see if anything was inserted/removed\n var lastView, lastViewRef = NaN;\n scope.$watch(function selectMultipleWatch() {\n if (lastViewRef === ngModelCtrl.$viewValue && !equals(lastView, ngModelCtrl.$viewValue)) {\n lastView = shallowCopy(ngModelCtrl.$viewValue);\n ngModelCtrl.$render();\n }\n lastViewRef = ngModelCtrl.$viewValue;\n });\n\n // If we are a multiple select then value is now a collection\n // so the meaning of $isEmpty changes\n ngModelCtrl.$isEmpty = function(value) {\n return !value || value.length === 0;\n };\n\n }\n }\n\n function selectPostLink(scope, element, attrs, ctrls) {\n // if ngModel is not defined, we don't need to do anything\n var ngModelCtrl = ctrls[1];\n if (!ngModelCtrl) return;\n\n var selectCtrl = ctrls[0];\n\n // We delegate rendering to the `writeValue` method, which can be changed\n // if the select can have multiple selected values or if the options are being\n // generated by `ngOptions`.\n // This must be done in the postLink fn to prevent $render to be called before\n // all nodes have been linked correctly.\n ngModelCtrl.$render = function() {\n selectCtrl.writeValue(ngModelCtrl.$viewValue);\n };\n }\n};\n\n\n// The option directive is purely designed to communicate the existence (or lack of)\n// of dynamically created (and destroyed) option elements to their containing select\n// directive via its controller.\nvar optionDirective = ['$interpolate', function($interpolate) {\n return {\n restrict: 'E',\n priority: 100,\n compile: function(element, attr) {\n var interpolateValueFn, interpolateTextFn;\n\n if (isDefined(attr.ngValue)) {\n // Will be handled by registerOption\n } else if (isDefined(attr.value)) {\n // If the value attribute is defined, check if it contains an interpolation\n interpolateValueFn = $interpolate(attr.value, true);\n } else {\n // If the value attribute is not defined then we fall back to the\n // text content of the option element, which may be interpolated\n interpolateTextFn = $interpolate(element.text(), true);\n if (!interpolateTextFn) {\n attr.$set('value', element.text());\n }\n }\n\n return function(scope, element, attr) {\n // This is an optimization over using ^^ since we don't want to have to search\n // all the way to the root of the DOM for every single option element\n var selectCtrlName = '$selectController',\n parent = element.parent(),\n selectCtrl = parent.data(selectCtrlName) ||\n parent.parent().data(selectCtrlName); // in case we are in optgroup\n\n if (selectCtrl) {\n selectCtrl.registerOption(scope, element, attr, interpolateValueFn, interpolateTextFn);\n }\n };\n }\n };\n}];\n\n/**\n * @ngdoc directive\n * @name ngRequired\n * @restrict A\n *\n * @param {expression} ngRequired AngularJS expression. If it evaluates to `true`, it sets the\n * `required` attribute to the element and adds the `required`\n * {@link ngModel.NgModelController#$validators `validator`}.\n *\n * @description\n *\n * ngRequired adds the required {@link ngModel.NgModelController#$validators `validator`} to {@link ngModel `ngModel`}.\n * It is most often used for {@link input `input`} and {@link select `select`} controls, but can also be\n * applied to custom controls.\n *\n * The directive sets the `required` attribute on the element if the AngularJS expression inside\n * `ngRequired` evaluates to true. A special directive for setting `required` is necessary because we\n * cannot use interpolation inside `required`. See the {@link guide/interpolation interpolation guide}\n * for more info.\n *\n * The validator will set the `required` error key to true if the `required` attribute is set and\n * calling {@link ngModel.NgModelController#$isEmpty `NgModelController.$isEmpty`} with the\n * {@link ngModel.NgModelController#$viewValue `ngModel.$viewValue`} returns `true`. For example, the\n * `$isEmpty()` implementation for `input[text]` checks the length of the `$viewValue`. When developing\n * custom controls, `$isEmpty()` can be overwritten to account for a $viewValue that is not string-based.\n *\n * @example\n * <example name=\"ngRequiredDirective\" module=\"ngRequiredExample\">\n * <file name=\"index.html\">\n * <script>\n * angular.module('ngRequiredExample', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.required = true;\n * }]);\n * </script>\n * <div ng-controller=\"ExampleController\">\n * <form name=\"form\">\n * <label for=\"required\">Toggle required: </label>\n * <input type=\"checkbox\" ng-model=\"required\" id=\"required\" />\n * <br>\n * <label for=\"input\">This input must be filled if `required` is true: </label>\n * <input type=\"text\" ng-model=\"model\" id=\"input\" name=\"input\" ng-required=\"required\" /><br>\n * <hr>\n * required error set? = <code>{{form.input.$error.required}}</code><br>\n * model = <code>{{model}}</code>\n * </form>\n * </div>\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n var required = element(by.binding('form.input.$error.required'));\n var model = element(by.binding('model'));\n var input = element(by.id('input'));\n\n it('should set the required error', function() {\n expect(required.getText()).toContain('true');\n\n input.sendKeys('123');\n expect(required.getText()).not.toContain('true');\n expect(model.getText()).toContain('123');\n });\n * </file>\n * </example>\n */\nvar requiredDirective = ['$parse', function($parse) {\n return {\n restrict: 'A',\n require: '?ngModel',\n link: function(scope, elm, attr, ctrl) {\n if (!ctrl) return;\n // For boolean attributes like required, presence means true\n var value = attr.hasOwnProperty('required') || $parse(attr.ngRequired)(scope);\n\n if (!attr.ngRequired) {\n // force truthy in case we are on non input element\n // (input elements do this automatically for boolean attributes like required)\n attr.required = true;\n }\n\n ctrl.$validators.required = function(modelValue, viewValue) {\n return !value || !ctrl.$isEmpty(viewValue);\n };\n\n attr.$observe('required', function(newVal) {\n\n if (value !== newVal) {\n value = newVal;\n ctrl.$validate();\n }\n });\n }\n };\n}];\n\n/**\n * @ngdoc directive\n * @name ngPattern\n * @restrict A\n *\n * @param {expression|RegExp} ngPattern AngularJS expression that must evaluate to a `RegExp` or a `String`\n * parsable into a `RegExp`, or a `RegExp` literal. See above for\n * more details.\n *\n * @description\n *\n * ngPattern adds the pattern {@link ngModel.NgModelController#$validators `validator`} to {@link ngModel `ngModel`}.\n * It is most often used for text-based {@link input `input`} controls, but can also be applied to custom text-based controls.\n *\n * The validator sets the `pattern` error key if the {@link ngModel.NgModelController#$viewValue `ngModel.$viewValue`}\n * does not match a RegExp which is obtained from the `ngPattern` attribute value:\n * - the value is an AngularJS expression:\n * - If the expression evaluates to a RegExp object, then this is used directly.\n * - If the expression evaluates to a string, then it will be converted to a RegExp after wrapping it\n * in `^` and `$` characters. For instance, `\"abc\"` will be converted to `new RegExp('^abc$')`.\n * - If the value is a RegExp literal, e.g. `ngPattern=\"/^\\d+$/\"`, it is used directly.\n *\n * <div class=\"alert alert-info\">\n * **Note:** Avoid using the `g` flag on the RegExp, as it will cause each successive search to\n * start at the index of the last search's match, thus not taking the whole input value into\n * account.\n * </div>\n *\n * <div class=\"alert alert-info\">\n * **Note:** This directive is also added when the plain `pattern` attribute is used, with two\n * differences:\n * <ol>\n * <li>\n * `ngPattern` does not set the `pattern` attribute and therefore HTML5 constraint validation is\n * not available.\n * </li>\n * <li>\n * The `ngPattern` attribute must be an expression, while the `pattern` value must be\n * interpolated.\n * </li>\n * </ol>\n * </div>\n *\n * @example\n * <example name=\"ngPatternDirective\" module=\"ngPatternExample\">\n * <file name=\"index.html\">\n * <script>\n * angular.module('ngPatternExample', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.regex = '\\\\d+';\n * }]);\n * </script>\n * <div ng-controller=\"ExampleController\">\n * <form name=\"form\">\n * <label for=\"regex\">Set a pattern (regex string): </label>\n * <input type=\"text\" ng-model=\"regex\" id=\"regex\" />\n * <br>\n * <label for=\"input\">This input is restricted by the current pattern: </label>\n * <input type=\"text\" ng-model=\"model\" id=\"input\" name=\"input\" ng-pattern=\"regex\" /><br>\n * <hr>\n * input valid? = <code>{{form.input.$valid}}</code><br>\n * model = <code>{{model}}</code>\n * </form>\n * </div>\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n var model = element(by.binding('model'));\n var input = element(by.id('input'));\n\n it('should validate the input with the default pattern', function() {\n input.sendKeys('aaa');\n expect(model.getText()).not.toContain('aaa');\n\n input.clear().then(function() {\n input.sendKeys('123');\n expect(model.getText()).toContain('123');\n });\n });\n * </file>\n * </example>\n */\nvar patternDirective = ['$parse', function($parse) {\n return {\n restrict: 'A',\n require: '?ngModel',\n compile: function(tElm, tAttr) {\n var patternExp;\n var parseFn;\n\n if (tAttr.ngPattern) {\n patternExp = tAttr.ngPattern;\n\n // ngPattern might be a scope expression, or an inlined regex, which is not parsable.\n // We get value of the attribute here, so we can compare the old and the new value\n // in the observer to avoid unnecessary validations\n if (tAttr.ngPattern.charAt(0) === '/' && REGEX_STRING_REGEXP.test(tAttr.ngPattern)) {\n parseFn = function() { return tAttr.ngPattern; };\n } else {\n parseFn = $parse(tAttr.ngPattern);\n }\n }\n\n return function(scope, elm, attr, ctrl) {\n if (!ctrl) return;\n\n var attrVal = attr.pattern;\n\n if (attr.ngPattern) {\n attrVal = parseFn(scope);\n } else {\n patternExp = attr.pattern;\n }\n\n var regexp = parsePatternAttr(attrVal, patternExp, elm);\n\n attr.$observe('pattern', function(newVal) {\n var oldRegexp = regexp;\n\n regexp = parsePatternAttr(newVal, patternExp, elm);\n\n if ((oldRegexp && oldRegexp.toString()) !== (regexp && regexp.toString())) {\n ctrl.$validate();\n }\n });\n\n ctrl.$validators.pattern = function(modelValue, viewValue) {\n // HTML5 pattern constraint validates the input value, so we validate the viewValue\n return ctrl.$isEmpty(viewValue) || isUndefined(regexp) || regexp.test(viewValue);\n };\n };\n }\n\n };\n}];\n\n/**\n * @ngdoc directive\n * @name ngMaxlength\n * @restrict A\n *\n * @param {expression} ngMaxlength AngularJS expression that must evaluate to a `Number` or `String`\n * parsable into a `Number`. Used as value for the `maxlength`\n * {@link ngModel.NgModelController#$validators validator}.\n *\n * @description\n *\n * ngMaxlength adds the maxlength {@link ngModel.NgModelController#$validators `validator`} to {@link ngModel `ngModel`}.\n * It is most often used for text-based {@link input `input`} controls, but can also be applied to custom text-based controls.\n *\n * The validator sets the `maxlength` error key if the {@link ngModel.NgModelController#$viewValue `ngModel.$viewValue`}\n * is longer than the integer obtained by evaluating the AngularJS expression given in the\n * `ngMaxlength` attribute value.\n *\n * <div class=\"alert alert-info\">\n * **Note:** This directive is also added when the plain `maxlength` attribute is used, with two\n * differences:\n * <ol>\n * <li>\n * `ngMaxlength` does not set the `maxlength` attribute and therefore HTML5 constraint\n * validation is not available.\n * </li>\n * <li>\n * The `ngMaxlength` attribute must be an expression, while the `maxlength` value must be\n * interpolated.\n * </li>\n * </ol>\n * </div>\n *\n * @example\n * <example name=\"ngMaxlengthDirective\" module=\"ngMaxlengthExample\">\n * <file name=\"index.html\">\n * <script>\n * angular.module('ngMaxlengthExample', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.maxlength = 5;\n * }]);\n * </script>\n * <div ng-controller=\"ExampleController\">\n * <form name=\"form\">\n * <label for=\"maxlength\">Set a maxlength: </label>\n * <input type=\"number\" ng-model=\"maxlength\" id=\"maxlength\" />\n * <br>\n * <label for=\"input\">This input is restricted by the current maxlength: </label>\n * <input type=\"text\" ng-model=\"model\" id=\"input\" name=\"input\" ng-maxlength=\"maxlength\" /><br>\n * <hr>\n * input valid? = <code>{{form.input.$valid}}</code><br>\n * model = <code>{{model}}</code>\n * </form>\n * </div>\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n var model = element(by.binding('model'));\n var input = element(by.id('input'));\n\n it('should validate the input with the default maxlength', function() {\n input.sendKeys('abcdef');\n expect(model.getText()).not.toContain('abcdef');\n\n input.clear().then(function() {\n input.sendKeys('abcde');\n expect(model.getText()).toContain('abcde');\n });\n });\n * </file>\n * </example>\n */\nvar maxlengthDirective = ['$parse', function($parse) {\n return {\n restrict: 'A',\n require: '?ngModel',\n link: function(scope, elm, attr, ctrl) {\n if (!ctrl) return;\n\n var maxlength = attr.maxlength || $parse(attr.ngMaxlength)(scope);\n var maxlengthParsed = parseLength(maxlength);\n\n attr.$observe('maxlength', function(value) {\n if (maxlength !== value) {\n maxlengthParsed = parseLength(value);\n maxlength = value;\n ctrl.$validate();\n }\n });\n ctrl.$validators.maxlength = function(modelValue, viewValue) {\n return (maxlengthParsed < 0) || ctrl.$isEmpty(viewValue) || (viewValue.length <= maxlengthParsed);\n };\n }\n };\n}];\n\n/**\n * @ngdoc directive\n * @name ngMinlength\n * @restrict A\n *\n * @param {expression} ngMinlength AngularJS expression that must evaluate to a `Number` or `String`\n * parsable into a `Number`. Used as value for the `minlength`\n * {@link ngModel.NgModelController#$validators validator}.\n *\n * @description\n *\n * ngMinlength adds the minlength {@link ngModel.NgModelController#$validators `validator`} to {@link ngModel `ngModel`}.\n * It is most often used for text-based {@link input `input`} controls, but can also be applied to custom text-based controls.\n *\n * The validator sets the `minlength` error key if the {@link ngModel.NgModelController#$viewValue `ngModel.$viewValue`}\n * is shorter than the integer obtained by evaluating the AngularJS expression given in the\n * `ngMinlength` attribute value.\n *\n * <div class=\"alert alert-info\">\n * **Note:** This directive is also added when the plain `minlength` attribute is used, with two\n * differences:\n * <ol>\n * <li>\n * `ngMinlength` does not set the `minlength` attribute and therefore HTML5 constraint\n * validation is not available.\n * </li>\n * <li>\n * The `ngMinlength` value must be an expression, while the `minlength` value must be\n * interpolated.\n * </li>\n * </ol>\n * </div>\n *\n * @example\n * <example name=\"ngMinlengthDirective\" module=\"ngMinlengthExample\">\n * <file name=\"index.html\">\n * <script>\n * angular.module('ngMinlengthExample', [])\n * .controller('ExampleController', ['$scope', function($scope) {\n * $scope.minlength = 3;\n * }]);\n * </script>\n * <div ng-controller=\"ExampleController\">\n * <form name=\"form\">\n * <label for=\"minlength\">Set a minlength: </label>\n * <input type=\"number\" ng-model=\"minlength\" id=\"minlength\" />\n * <br>\n * <label for=\"input\">This input is restricted by the current minlength: </label>\n * <input type=\"text\" ng-model=\"model\" id=\"input\" name=\"input\" ng-minlength=\"minlength\" /><br>\n * <hr>\n * input valid? = <code>{{form.input.$valid}}</code><br>\n * model = <code>{{model}}</code>\n * </form>\n * </div>\n * </file>\n * <file name=\"protractor.js\" type=\"protractor\">\n var model = element(by.binding('model'));\n var input = element(by.id('input'));\n\n it('should validate the input with the default minlength', function() {\n input.sendKeys('ab');\n expect(model.getText()).not.toContain('ab');\n\n input.sendKeys('abc');\n expect(model.getText()).toContain('abc');\n });\n * </file>\n * </example>\n */\nvar minlengthDirective = ['$parse', function($parse) {\n return {\n restrict: 'A',\n require: '?ngModel',\n link: function(scope, elm, attr, ctrl) {\n if (!ctrl) return;\n\n var minlength = attr.minlength || $parse(attr.ngMinlength)(scope);\n var minlengthParsed = parseLength(minlength) || -1;\n\n attr.$observe('minlength', function(value) {\n if (minlength !== value) {\n minlengthParsed = parseLength(value) || -1;\n minlength = value;\n ctrl.$validate();\n }\n\n });\n ctrl.$validators.minlength = function(modelValue, viewValue) {\n return ctrl.$isEmpty(viewValue) || viewValue.length >= minlengthParsed;\n };\n }\n };\n}];\n\n\nfunction parsePatternAttr(regex, patternExp, elm) {\n if (!regex) return undefined;\n\n if (isString(regex)) {\n regex = new RegExp('^' + regex + '$');\n }\n\n if (!regex.test) {\n throw minErr('ngPattern')('noregexp',\n 'Expected {0} to be a RegExp but was {1}. Element: {2}', patternExp,\n regex, startingTag(elm));\n }\n\n return regex;\n}\n\nfunction parseLength(val) {\n var intVal = toInt(val);\n return isNumberNaN(intVal) ? -1 : intVal;\n}\n\nif (window.angular.bootstrap) {\n // AngularJS is already loaded, so we can return here...\n if (window.console) {\n console.log('WARNING: Tried to load AngularJS more than once.');\n }\n return;\n}\n\n// try to bind to jquery now so that one can write jqLite(fn)\n// but we will rebind on bootstrap again.\nbindJQuery();\n\npublishExternalAPI(angular);\n\nangular.module(\"ngLocale\", [], [\"$provide\", function($provide) {\nvar PLURAL_CATEGORY = {ZERO: \"zero\", ONE: \"one\", TWO: \"two\", FEW: \"few\", MANY: \"many\", OTHER: \"other\"};\nfunction getDecimals(n) {\n n = n + '';\n var i = n.indexOf('.');\n return (i == -1) ? 0 : n.length - i - 1;\n}\n\nfunction getVF(n, opt_precision) {\n var v = opt_precision;\n\n if (undefined === v) {\n v = Math.min(getDecimals(n), 3);\n }\n\n var base = Math.pow(10, v);\n var f = ((n * base) | 0) % base;\n return {v: v, f: f};\n}\n\n$provide.value(\"$locale\", {\n \"DATETIME_FORMATS\": {\n \"AMPMS\": [\n \"AM\",\n \"PM\"\n ],\n \"DAY\": [\n \"Sunday\",\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n \"Saturday\"\n ],\n \"ERANAMES\": [\n \"Before Christ\",\n \"Anno Domini\"\n ],\n \"ERAS\": [\n \"BC\",\n \"AD\"\n ],\n \"FIRSTDAYOFWEEK\": 6,\n \"MONTH\": [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\"\n ],\n \"SHORTDAY\": [\n \"Sun\",\n \"Mon\",\n \"Tue\",\n \"Wed\",\n \"Thu\",\n \"Fri\",\n \"Sat\"\n ],\n \"SHORTMONTH\": [\n \"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\"\n ],\n \"STANDALONEMONTH\": [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\"\n ],\n \"WEEKENDRANGE\": [\n 5,\n 6\n ],\n \"fullDate\": \"EEEE, MMMM d, y\",\n \"longDate\": \"MMMM d, y\",\n \"medium\": \"MMM d, y h:mm:ss a\",\n \"mediumDate\": \"MMM d, y\",\n \"mediumTime\": \"h:mm:ss a\",\n \"short\": \"M/d/yy h:mm a\",\n \"shortDate\": \"M/d/yy\",\n \"shortTime\": \"h:mm a\"\n },\n \"NUMBER_FORMATS\": {\n \"CURRENCY_SYM\": \"$\",\n \"DECIMAL_SEP\": \".\",\n \"GROUP_SEP\": \",\",\n \"PATTERNS\": [\n {\n \"gSize\": 3,\n \"lgSize\": 3,\n \"maxFrac\": 3,\n \"minFrac\": 0,\n \"minInt\": 1,\n \"negPre\": \"-\",\n \"negSuf\": \"\",\n \"posPre\": \"\",\n \"posSuf\": \"\"\n },\n {\n \"gSize\": 3,\n \"lgSize\": 3,\n \"maxFrac\": 2,\n \"minFrac\": 2,\n \"minInt\": 1,\n \"negPre\": \"-\\u00a4\",\n \"negSuf\": \"\",\n \"posPre\": \"\\u00a4\",\n \"posSuf\": \"\"\n }\n ]\n },\n \"id\": \"en-us\",\n \"localeID\": \"en_US\",\n \"pluralCat\": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;}\n});\n}]);\n\n jqLite(function() {\n angularInit(window.document, bootstrap);\n });\n\n})(window);\n\n!window.angular.$$csp().noInlineStyle && window.angular.element(document.head).prepend(window.angular.element('<style>').text('@charset \"UTF-8\";[ng\\\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}'));","// 20.2.2.22 Math.log2(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log2: function log2(x) {\n return Math.log(x) / Math.LN2;\n }\n});\n","var global = require('./_global');\nvar macrotask = require('./_task').set;\nvar Observer = global.MutationObserver || global.WebKitMutationObserver;\nvar process = global.process;\nvar Promise = global.Promise;\nvar isNode = require('./_cof')(process) == 'process';\n\nmodule.exports = function () {\n var head, last, notify;\n\n var flush = function () {\n var parent, fn;\n if (isNode && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (e) {\n if (head) notify();\n else last = undefined;\n throw e;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // Node.js\n if (isNode) {\n notify = function () {\n process.nextTick(flush);\n };\n // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339\n } else if (Observer && !(global.navigator && global.navigator.standalone)) {\n var toggle = true;\n var node = document.createTextNode('');\n new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n var promise = Promise.resolve(undefined);\n notify = function () {\n promise.then(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n notify = function () {\n // strange IE + webpack dev server bug - use .call(global)\n macrotask.call(global, flush);\n };\n }\n\n return function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n };\n};\n","module.exports = function (exec) {\n try {\n return { e: false, v: exec() };\n } catch (e) {\n return { e: true, v: e };\n }\n};\n","var global = require('./_global');\nvar navigator = global.navigator;\n\nmodule.exports = navigator && navigator.userAgent || '';\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../alert/alert.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7:hover {\\n transition: none;\\n\\n color: #ff008c;\\n\\n color: var(--ring-link-hover-color);\\n }}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7:hover {\\n text-decoration: none;\\n }}\\n\\n.link_bf7 { /* To override link stiles inside alert */\\n\\n cursor: pointer;\\n transition: color 0.15s ease-out;\\n transition: color var(--ring-fast-ease);\\n\\n color: #0f5b99;\\n\\n color: var(--ring-link-color);\\n }\\n\\n.link_bf7 {\\n text-decoration: none;\\n }\\n\\n.link_bf7.hover_43a {\\n transition: none;\\n\\n color: #ff008c;\\n\\n color: var(--ring-link-hover-color);\\n }\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7:hover .inner_cbe {\\n border-width: 0;\\n border-bottom: 2px solid;\\n border-image-source: linear-gradient(currentcolor 50%, transparent 50%);\\n border-image-slice: 0 0 100% 0;\\n }}\\n\\n.link_bf7.active_77f {\\n color: inherit;\\n }\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7.compatibilityUnderlineMode_3ea:hover {\\n text-decoration: underline\\n\\n /* stylelint-disable-next-line selector-max-specificity */\\n }}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7.compatibilityUnderlineMode_3ea:hover .inner_cbe {\\n border: none;\\n }}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7.pseudo_f79:hover {\\n text-decoration: none\\n\\n /* stylelint-disable-next-line selector-max-specificity */\\n }}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7.pseudo_f79:hover .inner_cbe {\\n border: none;\\n }}\\n\\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.link_bf7:hover .inner_cbe {\\n border-bottom-width: 1px;\\n }}\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.inherit_d8a:not(:hover) {\\n color: inherit;\\n}}\\n\\n.pseudo_f79 {\\n padding: 0;\\n\\n text-align: left;\\n\\n border: 0;\\n\\n background: transparent;\\n\\n font: inherit\\n}\\n\\n.pseudo_f79::-moz-focus-inner {\\n padding: 0;\\n\\n border: 0;\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"link\": \"link_bf7 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"link\"] + \"\",\n\t\"hover\": \"hover_43a\",\n\t\"inner\": \"inner_cbe\",\n\t\"active\": \"active_77f\",\n\t\"compatibilityUnderlineMode\": \"compatibilityUnderlineMode_3ea\",\n\t\"pseudo\": \"pseudo_f79\",\n\t\"inherit\": \"inherit_d8a\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".group_e70 > *:not(:last-child) {\\n margin-right: 8px;\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"group\": \"group_e70\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".title_1be {\\n font-weight: 600;\\n}\\n\\n.error_495 {\\n margin-top: 4px;\\n\\n word-wrap: break-word;\\n\\n color: #ccc;\\n\\n color: var(--ring-dark-active-color);\\n\\n line-height: 16px;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"title\": \"title_1be\",\n\t\"error\": \"error_495\"\n};\nmodule.exports = exports;\n","// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","'use strict';\n\nvar keysShim;\nif (!Object.keys) {\n\t// modified from https://github.com/es-shims/es5-shim\n\tvar has = Object.prototype.hasOwnProperty;\n\tvar toStr = Object.prototype.toString;\n\tvar isArgs = require('./isArguments'); // eslint-disable-line global-require\n\tvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\tvar hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');\n\tvar hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n\tvar dontEnums = [\n\t\t'toString',\n\t\t'toLocaleString',\n\t\t'valueOf',\n\t\t'hasOwnProperty',\n\t\t'isPrototypeOf',\n\t\t'propertyIsEnumerable',\n\t\t'constructor'\n\t];\n\tvar equalsConstructorPrototype = function (o) {\n\t\tvar ctor = o.constructor;\n\t\treturn ctor && ctor.prototype === o;\n\t};\n\tvar excludedKeys = {\n\t\t$applicationCache: true,\n\t\t$console: true,\n\t\t$external: true,\n\t\t$frame: true,\n\t\t$frameElement: true,\n\t\t$frames: true,\n\t\t$innerHeight: true,\n\t\t$innerWidth: true,\n\t\t$onmozfullscreenchange: true,\n\t\t$onmozfullscreenerror: true,\n\t\t$outerHeight: true,\n\t\t$outerWidth: true,\n\t\t$pageXOffset: true,\n\t\t$pageYOffset: true,\n\t\t$parent: true,\n\t\t$scrollLeft: true,\n\t\t$scrollTop: true,\n\t\t$scrollX: true,\n\t\t$scrollY: true,\n\t\t$self: true,\n\t\t$webkitIndexedDB: true,\n\t\t$webkitStorageInfo: true,\n\t\t$window: true\n\t};\n\tvar hasAutomationEqualityBug = (function () {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined') { return false; }\n\t\tfor (var k in window) {\n\t\t\ttry {\n\t\t\t\tif (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tequalsConstructorPrototype(window[k]);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}());\n\tvar equalsConstructorPrototypeIfNotBuggy = function (o) {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t}\n\t\ttry {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\tkeysShim = function keys(object) {\n\t\tvar isObject = object !== null && typeof object === 'object';\n\t\tvar isFunction = toStr.call(object) === '[object Function]';\n\t\tvar isArguments = isArgs(object);\n\t\tvar isString = isObject && toStr.call(object) === '[object String]';\n\t\tvar theKeys = [];\n\n\t\tif (!isObject && !isFunction && !isArguments) {\n\t\t\tthrow new TypeError('Object.keys called on a non-object');\n\t\t}\n\n\t\tvar skipProto = hasProtoEnumBug && isFunction;\n\t\tif (isString && object.length > 0 && !has.call(object, 0)) {\n\t\t\tfor (var i = 0; i < object.length; ++i) {\n\t\t\t\ttheKeys.push(String(i));\n\t\t\t}\n\t\t}\n\n\t\tif (isArguments && object.length > 0) {\n\t\t\tfor (var j = 0; j < object.length; ++j) {\n\t\t\t\ttheKeys.push(String(j));\n\t\t\t}\n\t\t} else {\n\t\t\tfor (var name in object) {\n\t\t\t\tif (!(skipProto && name === 'prototype') && has.call(object, name)) {\n\t\t\t\t\ttheKeys.push(String(name));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (hasDontEnumBug) {\n\t\t\tvar skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n\n\t\t\tfor (var k = 0; k < dontEnums.length; ++k) {\n\t\t\t\tif (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n\t\t\t\t\ttheKeys.push(dontEnums[k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn theKeys;\n\t};\n}\nmodule.exports = keysShim;\n","'use strict';\n\nvar define = require('define-properties');\nvar callBind = require('es-abstract/helpers/callBind');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar shim = require('./shim');\n\nvar polyfill = callBind(getPolyfill(), Object);\n\ndefine(polyfill, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = polyfill;\n","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar getPolyfill = require('./polyfill');\nvar define = require('define-properties');\n\nmodule.exports = function shimObjectIs() {\n\tvar polyfill = getPolyfill();\n\tdefine(Object, { is: polyfill }, {\n\t\tis: function testObjectIs() {\n\t\t\treturn Object.is !== polyfill;\n\t\t}\n\t});\n\treturn polyfill;\n};\n","'use strict';\n\nvar hasSymbols = require('has-symbols')();\nvar hasToStringTag = hasSymbols && typeof Symbol.toStringTag === 'symbol';\nvar regexExec;\nvar isRegexMarker;\nvar badStringifier;\n\nif (hasToStringTag) {\n\tregexExec = Function.call.bind(RegExp.prototype.exec);\n\tisRegexMarker = {};\n\n\tvar throwRegexMarker = function () {\n\t\tthrow isRegexMarker;\n\t};\n\tbadStringifier = {\n\t\ttoString: throwRegexMarker,\n\t\tvalueOf: throwRegexMarker\n\t};\n\n\tif (typeof Symbol.toPrimitive === 'symbol') {\n\t\tbadStringifier[Symbol.toPrimitive] = throwRegexMarker;\n\t}\n}\n\nvar toStr = Object.prototype.toString;\nvar regexClass = '[object RegExp]';\n\nmodule.exports = hasToStringTag\n\t// eslint-disable-next-line consistent-return\n\t? function isRegex(value) {\n\t\tif (!value || typeof value !== 'object') {\n\t\t\treturn false;\n\t\t}\n\n\t\ttry {\n\t\t\tregexExec(value, badStringifier);\n\t\t} catch (e) {\n\t\t\treturn e === isRegexMarker;\n\t\t}\n\t}\n\t: function isRegex(value) {\n\t\t// In older browsers, typeof regex incorrectly returns 'function'\n\t\tif (!value || (typeof value !== 'object' && typeof value !== 'function')) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn toStr.call(value) === regexClass;\n\t};\n","'use strict';\n\nvar define = require('define-properties');\nvar callBind = require('es-abstract/helpers/callBind');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar shim = require('./shim');\n\nvar flagsBound = callBind(implementation);\n\ndefine(flagsBound, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = flagsBound;\n","'use strict';\n\nvar supportsDescriptors = require('define-properties').supportsDescriptors;\nvar getPolyfill = require('./polyfill');\nvar gOPD = Object.getOwnPropertyDescriptor;\nvar defineProperty = Object.defineProperty;\nvar TypeErr = TypeError;\nvar getProto = Object.getPrototypeOf;\nvar regex = /a/;\n\nmodule.exports = function shimFlags() {\n\tif (!supportsDescriptors || !getProto) {\n\t\tthrow new TypeErr('RegExp.prototype.flags requires a true ES5 environment that supports property descriptors');\n\t}\n\tvar polyfill = getPolyfill();\n\tvar proto = getProto(regex);\n\tvar descriptor = gOPD(proto, 'flags');\n\tif (!descriptor || descriptor.get !== polyfill) {\n\t\tdefineProperty(proto, 'flags', {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tget: polyfill\n\t\t});\n\t}\n\treturn polyfill;\n};\n","'use strict';\n\nvar getDay = Date.prototype.getDay;\nvar tryDateObject = function tryDateGetDayCall(value) {\n\ttry {\n\t\tgetDay.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};\n","'use strict';\n\nvar isString = require('is-string');\nvar isNumber = require('is-number-object');\nvar isBoolean = require('is-boolean-object');\nvar isSymbol = require('is-symbol');\nvar isBigInt = require('is-bigint');\n\n// eslint-disable-next-line consistent-return\nmodule.exports = function whichBoxedPrimitive(value) {\n\t// eslint-disable-next-line eqeqeq\n\tif (value == null || (typeof value !== 'object' && typeof value !== 'function')) {\n\t\treturn null;\n\t}\n\tif (isString(value)) {\n\t\treturn 'String';\n\t}\n\tif (isNumber(value)) {\n\t\treturn 'Number';\n\t}\n\tif (isBoolean(value)) {\n\t\treturn 'Boolean';\n\t}\n\tif (isSymbol(value)) {\n\t\treturn 'Symbol';\n\t}\n\tif (isBigInt(value)) {\n\t\treturn 'BigInt';\n\t}\n};\n","'use strict';\n\nvar numToStr = Number.prototype.toString;\nvar tryNumberObject = function tryNumberObject(value) {\n\ttry {\n\t\tnumToStr.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar numClass = '[object Number]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isNumberObject(value) {\n\tif (typeof value === 'number') {\n\t\treturn true;\n\t}\n\tif (typeof value !== 'object') {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryNumberObject(value) : toStr.call(value) === numClass;\n};\n","'use strict';\n\nvar boolToStr = Boolean.prototype.toString;\n\nvar tryBooleanObject = function booleanBrandCheck(value) {\n\ttry {\n\t\tboolToStr.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar boolClass = '[object Boolean]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isBoolean(value) {\n\tif (typeof value === 'boolean') {\n\t\treturn true;\n\t}\n\tif (value === null || typeof value !== 'object') {\n\t\treturn false;\n\t}\n\treturn hasToStringTag && Symbol.toStringTag in value ? tryBooleanObject(value) : toStr.call(value) === boolClass;\n};\n","'use strict';\n\nvar toStr = Object.prototype.toString;\nvar hasSymbols = require('has-symbols')();\n\nif (hasSymbols) {\n\tvar symToStr = Symbol.prototype.toString;\n\tvar symStringRegex = /^Symbol\\(.*\\)$/;\n\tvar isSymbolObject = function isRealSymbolObject(value) {\n\t\tif (typeof value.valueOf() !== 'symbol') {\n\t\t\treturn false;\n\t\t}\n\t\treturn symStringRegex.test(symToStr.call(value));\n\t};\n\n\tmodule.exports = function isSymbol(value) {\n\t\tif (typeof value === 'symbol') {\n\t\t\treturn true;\n\t\t}\n\t\tif (toStr.call(value) !== '[object Symbol]') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\treturn isSymbolObject(value);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n} else {\n\n\tmodule.exports = function isSymbol(value) {\n\t\t// this environment does not support Symbols.\n\t\treturn false && value;\n\t};\n}\n","'use strict';\n\nif (typeof BigInt === 'function') {\n\tvar bigIntValueOf = BigInt.prototype.valueOf;\n\tvar tryBigInt = function tryBigIntObject(value) {\n\t\ttry {\n\t\t\tbigIntValueOf.call(value);\n\t\t\treturn true;\n\t\t} catch (e) {\n\t\t}\n\t\treturn false;\n\t};\n\n\tmodule.exports = function isBigInt(value) {\n\t\tif (\n\t\t\tvalue === null\n\t\t\t|| typeof value === 'undefined'\n\t\t\t|| typeof value === 'boolean'\n\t\t\t|| typeof value === 'string'\n\t\t\t|| typeof value === 'number'\n\t\t\t|| typeof value === 'symbol'\n\t\t\t|| typeof value === 'function'\n\t\t) {\n\t\t\treturn false;\n\t\t}\n\t\tif (typeof value === 'bigint') { // eslint-disable-line valid-typeof\n\t\t\treturn true;\n\t\t}\n\n\t\treturn tryBigInt(value);\n\t};\n} else {\n\tmodule.exports = function isBigInt(value) {\n\t\treturn false && value;\n\t};\n}\n","'use strict';\n\nvar isMap = require('is-map');\nvar isSet = require('is-set');\nvar isWeakMap = require('is-weakmap');\nvar isWeakSet = require('is-weakset');\n\nmodule.exports = function whichCollection(value) {\n\tif (value && typeof value === 'object') {\n\t\tif (isMap(value)) {\n\t\t\treturn 'Map';\n\t\t}\n\t\tif (isSet(value)) {\n\t\t\treturn 'Set';\n\t\t}\n\t\tif (isWeakMap(value)) {\n\t\t\treturn 'WeakMap';\n\t\t}\n\t\tif (isWeakSet(value)) {\n\t\t\treturn 'WeakSet';\n\t\t}\n\t}\n\treturn false;\n};\n","'use strict';\n\nvar $WeakMap = typeof WeakMap === 'function' && WeakMap.prototype ? WeakMap : null;\nvar $WeakSet = typeof WeakSet === 'function' && WeakSet.prototype ? WeakSet : null;\n\nvar exported;\n\nif (!$WeakMap) {\n\t// eslint-disable-next-line no-unused-vars\n\texported = function isWeakMap(x) {\n\t\t// `WeakMap` is not present in this environment.\n\t\treturn false;\n\t};\n}\n\nvar $mapHas = $WeakMap ? $WeakMap.prototype.has : null;\nvar $setHas = $WeakSet ? $WeakSet.prototype.has : null;\nif (!exported && !$mapHas) {\n\t// eslint-disable-next-line no-unused-vars\n\texported = function isWeakMap(x) {\n\t\t// `WeakMap` does not have a `has` method\n\t\treturn false;\n\t};\n}\n\nmodule.exports = exported || function isWeakMap(x) {\n\tif (!x || typeof x !== 'object') {\n\t\treturn false;\n\t}\n\ttry {\n\t\t$mapHas.call(x, $mapHas);\n\t\tif ($setHas) {\n\t\t\ttry {\n\t\t\t\t$setHas.call(x, $setHas);\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn x instanceof $WeakMap; // core-js workaround, pre-v3\n\t} catch (e) {}\n\treturn false;\n};\n","'use strict';\n\nvar $WeakMap = typeof WeakMap === 'function' && WeakMap.prototype ? WeakMap : null;\nvar $WeakSet = typeof WeakSet === 'function' && WeakSet.prototype ? WeakSet : null;\n\nvar exported;\n\nif (!$WeakMap) {\n\t// eslint-disable-next-line no-unused-vars\n\texported = function isWeakSet(x) {\n\t\t// `WeakSet` is not present in this environment.\n\t\treturn false;\n\t};\n}\n\nvar $mapHas = $WeakMap ? $WeakMap.prototype.has : null;\nvar $setHas = $WeakSet ? $WeakSet.prototype.has : null;\nif (!exported && !$setHas) {\n\t// eslint-disable-next-line no-unused-vars\n\tmodule.exports = function isWeakSet(x) {\n\t\t// `WeakSet` does not have a `has` method\n\t\treturn false;\n\t};\n}\n\nmodule.exports = exported || function isWeakSet(x) {\n\tif (!x || typeof x !== 'object') {\n\t\treturn false;\n\t}\n\ttry {\n\t\t$setHas.call(x, $setHas);\n\t\tif ($mapHas) {\n\t\t\ttry {\n\t\t\t\t$mapHas.call(x, $mapHas);\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn x instanceof $WeakSet; // core-js workaround, pre-v3\n\t} catch (e) {}\n\treturn false;\n};\n","'use strict';\n\n/* eslint global-require: 0 */\n// the code is structured this way so that bundlers can\n// alias out `has-symbols` to `() => true` or `() => false` if your target\n// environments' Symbol capabilities are known, and then use\n// dead code elimination on the rest of this module.\n//\n// Similarly, `isarray` can be aliased to `Array.isArray` if\n// available in all target environments.\n\nvar isArguments = require('is-arguments');\n\nif (require('has-symbols')() || require('has-symbols/shams')()) {\n\tvar $iterator = Symbol.iterator;\n\t// Symbol is available natively or shammed\n\t// natively:\n\t// - Chrome >= 38\n\t// - Edge 12-14?, Edge >= 15 for sure\n\t// - FF >= 36\n\t// - Safari >= 9\n\t// - node >= 0.12\n\tmodule.exports = function getIterator(iterable) {\n\t\t// alternatively, `iterable[$iterator]?.()`\n\t\tif (iterable != null && typeof iterable[$iterator] !== 'undefined') {\n\t\t\treturn iterable[$iterator]();\n\t\t}\n\t\tif (isArguments(iterable)) {\n\t\t\t// arguments objects lack Symbol.iterator\n\t\t\t// - node 0.12\n\t\t\treturn Array.prototype[$iterator].call(iterable);\n\t\t}\n\t};\n} else {\n\t// Symbol is not available, native or shammed\n\tvar isArray = require('isarray');\n\tvar isString = require('is-string');\n\tvar GetIntrinsic = require('es-abstract/GetIntrinsic');\n\tvar $Map = GetIntrinsic('%Map%', true);\n\tvar $Set = GetIntrinsic('%Set%', true);\n\tvar callBound = require('es-abstract/helpers/callBound');\n\tvar $arrayPush = callBound('Array.prototype.push');\n\tvar $charCodeAt = callBound('String.prototype.charCodeAt');\n\tvar $stringSlice = callBound('String.prototype.slice');\n\n\tvar advanceStringIndex = function advanceStringIndex(S, index) {\n\t\tvar length = S.length;\n\t\tif ((index + 1) >= length) {\n\t\t\treturn index + 1;\n\t\t}\n\n\t\tvar first = $charCodeAt(S, index);\n\t\tif (first < 0xD800 || first > 0xDBFF) {\n\t\t\treturn index + 1;\n\t\t}\n\n\t\tvar second = $charCodeAt(S, index + 1);\n\t\tif (second < 0xDC00 || second > 0xDFFF) {\n\t\t\treturn index + 1;\n\t\t}\n\n\t\treturn index + 2;\n\t};\n\n\tvar getArrayIterator = function getArrayIterator(arraylike) {\n\t\tvar i = 0;\n\t\treturn {\n\t\t\tnext: function next() {\n\t\t\t\tvar done = i >= arraylike.length;\n\t\t\t\tvar value;\n\t\t\t\tif (!done) {\n\t\t\t\t\tvalue = arraylike[i];\n\t\t\t\t\ti += 1;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\tdone: done,\n\t\t\t\t\tvalue: value\n\t\t\t\t};\n\t\t\t}\n\t\t};\n\t};\n\n\tvar getNonCollectionIterator = function getNonCollectionIterator(iterable) {\n\t\tif (isArray(iterable) || isArguments(iterable)) {\n\t\t\treturn getArrayIterator(iterable);\n\t\t}\n\t\tif (isString(iterable)) {\n\t\t\tvar i = 0;\n\t\t\treturn {\n\t\t\t\tnext: function next() {\n\t\t\t\t\tvar nextIndex = advanceStringIndex(iterable, i);\n\t\t\t\t\tvar value = $stringSlice(iterable, i, nextIndex);\n\t\t\t\t\ti = nextIndex;\n\t\t\t\t\treturn {\n\t\t\t\t\t\tdone: nextIndex > iterable.length,\n\t\t\t\t\t\tvalue: value\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t};\n\n\tif (!$Map && !$Set) {\n\t\t// the only language iterables are Array, String, arguments\n\t\t// - Safari <= 6.0\n\t\t// - Chrome < 38\n\t\t// - node < 0.12\n\t\t// - FF < 13\n\t\t// - IE < 11\n\t\t// - Edge < 11\n\n\t\tmodule.exports = getNonCollectionIterator;\n\t} else {\n\t\t// either Map or Set are available, but Symbol is not\n\t\t// - es6-shim on an ES5 browser\n\t\t// - Safari 6.2 (maybe 6.1?)\n\t\t// - FF v[13, 36)\n\t\t// - IE 11\n\t\t// - Edge 11\n\t\t// - Safari v[6, 9)\n\n\t\tvar isMap = require('is-map');\n\t\tvar isSet = require('is-set');\n\n\t\t// Firefox >= 27, IE 11, Safari 6.2 - 9, Edge 11, es6-shim in older envs, all have forEach\n\t\tvar $mapForEach = callBound('Map.prototype.forEach', true);\n\t\tvar $setForEach = callBound('Set.prototype.forEach', true);\n\t\tif (typeof process === 'undefined' || !process.versions || !process.versions.node) { // \"if is not node\"\n\n\t\t\t// Firefox 17 - 26 has `.iterator()`, whose iterator `.next()` either\n\t\t\t// returns a value, or throws a StopIteration object. These browsers\n\t\t\t// do not have any other mechanism for iteration.\n\t\t\tvar $mapIterator = callBound('Map.prototype.iterator', true);\n\t\t\tvar $setIterator = callBound('Set.prototype.iterator', true);\n\t\t\tvar getStopIterationIterator = function (iterator) {\n\t\t\t\tvar done = false;\n\t\t\t\treturn {\n\t\t\t\t\tnext: function next() {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tdone: done,\n\t\t\t\t\t\t\t\tvalue: done ? undefined : iterator.next()\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\tdone = true;\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tdone: true,\n\t\t\t\t\t\t\t\tvalue: undefined\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t};\n\t\t}\n\t\t// Firefox 27-35, and some older es6-shim versions, use a string \"@@iterator\" property\n\t\t// this returns a proper iterator object, so we should use it instead of forEach.\n\t\t// newer es6-shim versions use a string \"_es6-shim iterator_\" property.\n\t\tvar $mapAtAtIterator = callBound('Map.prototype.@@iterator', true) || callBound('Map.prototype._es6-shim iterator_', true);\n\t\tvar $setAtAtIterator = callBound('Set.prototype.@@iterator', true) || callBound('Set.prototype._es6-shim iterator_', true);\n\n\t\tvar getCollectionIterator = function getCollectionIterator(iterable) {\n\t\t\tif (isMap(iterable)) {\n\t\t\t\tif ($mapIterator) {\n\t\t\t\t\treturn getStopIterationIterator($mapIterator(iterable));\n\t\t\t\t}\n\t\t\t\tif ($mapAtAtIterator) {\n\t\t\t\t\treturn $mapAtAtIterator(iterable);\n\t\t\t\t}\n\t\t\t\tif ($mapForEach) {\n\t\t\t\t\tvar entries = [];\n\t\t\t\t\t$mapForEach(iterable, function (v, k) {\n\t\t\t\t\t\t$arrayPush(entries, [k, v]);\n\t\t\t\t\t});\n\t\t\t\t\treturn getArrayIterator(entries);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (isSet(iterable)) {\n\t\t\t\tif ($setIterator) {\n\t\t\t\t\treturn getStopIterationIterator($setIterator(iterable));\n\t\t\t\t}\n\t\t\t\tif ($setAtAtIterator) {\n\t\t\t\t\treturn $setAtAtIterator(iterable);\n\t\t\t\t}\n\t\t\t\tif ($setForEach) {\n\t\t\t\t\tvar values = [];\n\t\t\t\t\t$setForEach(iterable, function (v) {\n\t\t\t\t\t\t$arrayPush(values, v);\n\t\t\t\t\t});\n\t\t\t\t\treturn getArrayIterator(values);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tmodule.exports = function getIterator(iterable) {\n\t\t\treturn getCollectionIterator(iterable) || getNonCollectionIterator(iterable);\n\t\t};\n\t}\n}\n","'use strict';\n\nvar GetIntrinsic = require('es-abstract/GetIntrinsic');\nvar callBound = require('es-abstract/helpers/callBound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\nvar $Map = GetIntrinsic('%Map%', true);\nvar $push = callBound('Array.prototype.push');\n\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\nvar $mapGet = callBound('Map.prototype.get', true);\nvar $mapSet = callBound('Map.prototype.set', true);\nvar $mapHas = callBound('Map.prototype.has', true);\nvar objectGet = function (objects, key) { // eslint-disable-line consistent-return\n\tfor (var i = 0; i < objects.length; i += 1) {\n\t\tif (objects[i].key === key) {\n\t\t\treturn objects[i].value;\n\t\t}\n\t}\n};\nvar objectSet = function (objects, key, value) {\n\tfor (var i = 0; i < objects.length; i += 1) {\n\t\tif (objects[i].key === key) {\n\t\t\tobjects[i].value = value; // eslint-disable-line no-param-reassign\n\t\t\treturn;\n\t\t}\n\t}\n\t$push(objects, {\n\t\tkey: key,\n\t\tvalue: value\n\t});\n};\nvar objectHas = function (objects, key) {\n\tfor (var i = 0; i < objects.length; i += 1) {\n\t\tif (objects[i].key === key) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n};\n\nmodule.exports = function getSideChannel() {\n\tvar $wm;\n\tvar $m;\n\tvar $o;\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapGet($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn objectGet($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapHas($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn objectHas($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif (!$wm) {\n\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t}\n\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t} else if ($Map) {\n\t\t\t\tif (!$m) {\n\t\t\t\t\t$m = new $Map();\n\t\t\t\t}\n\t\t\t\t$mapSet($m, key, value);\n\t\t\t} else {\n\t\t\t\tif (!$o) {\n\t\t\t\t\t$o = [];\n\t\t\t\t}\n\t\t\t\tobjectSet($o, key, value);\n\t\t\t}\n\t\t}\n\t};\n\treturn channel;\n};\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar match = String.prototype.match;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\n\nvar inspectCustom = require('./util.inspect').custom;\nvar inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n return String(obj);\n }\n if (typeof obj === 'bigint') { // eslint-disable-line valid-typeof\n return String(obj) + 'n';\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return '[Object]';\n }\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from) {\n if (from) {\n seen = seen.slice();\n seen.push(from);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function') {\n var name = nameOf(obj);\n return '[Function' + (name ? ': ' + name : '') + ']';\n }\n if (isSymbol(obj)) {\n var symString = Symbol.prototype.toString.call(obj);\n return typeof obj === 'object' ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + String(obj.nodeName).toLowerCase();\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '</' + String(obj.nodeName).toLowerCase() + '>';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n return '[ ' + arrObjKeys(obj, inspect).join(', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + parts.join(', ') + ' }';\n }\n if (typeof obj === 'object') {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {\n return obj[inspectSymbol]();\n } else if (typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj) + ' => ' + inspect(value, obj));\n });\n return collectionOf('Map', mapSize.call(obj), mapParts);\n }\n if (isSet(obj)) {\n var setParts = [];\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n return collectionOf('Set', setSize.call(obj), setParts);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var xs = arrObjKeys(obj, inspect);\n if (xs.length === 0) { return '{}'; }\n return '{ ' + xs.join(', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return String(s).replace(/\"/g, '&quot;');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]'; }\nfunction isDate(obj) { return toStr(obj) === '[object Date]'; }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]'; }\nfunction isError(obj) { return toStr(obj) === '[object Error]'; }\nfunction isSymbol(obj) { return toStr(obj) === '[object Symbol]'; }\nfunction isString(obj) { return toStr(obj) === '[object String]'; }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]'; }\nfunction isBigInt(obj) { return toStr(obj) === '[object BigInt]'; }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]'; }\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = match.call(f, /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n // eslint-disable-next-line no-control-regex\n var s = str.replace(/(['\\\\])/g, '\\\\$1').replace(/[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b', 9: 't', 10: 'n', 12: 'f', 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + n.toString(16);\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries) {\n return type + ' (' + size + ') {' + entries.join(', ') + '}';\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if ((/[^\\w$]/).test(key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n return xs;\n}\n","'use strict';\n\nvar forEach = require('foreach');\nvar availableTypedArrays = require('available-typed-arrays');\nvar callBound = require('es-abstract/helpers/callBound');\n\nvar $toString = callBound('Object.prototype.toString');\nvar hasSymbols = require('has-symbols')();\nvar hasToStringTag = hasSymbols && typeof Symbol.toStringTag === 'symbol';\n\nvar typedArrays = availableTypedArrays();\n\nvar $slice = callBound('String.prototype.slice');\nvar toStrTags = {};\nvar gOPD = require('es-abstract/helpers/getOwnPropertyDescriptor');\nvar getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');\nif (hasToStringTag && gOPD && getPrototypeOf) {\n\tforEach(typedArrays, function (typedArray) {\n\t\tif (typeof global[typedArray] === 'function') {\n\t\t\tvar arr = new global[typedArray]();\n\t\t\tif (!(Symbol.toStringTag in arr)) {\n\t\t\t\tthrow new EvalError('this engine has support for Symbol.toStringTag, but ' + typedArray + ' does not have the property! Please report this.');\n\t\t\t}\n\t\t\tvar proto = getPrototypeOf(arr);\n\t\t\tvar descriptor = gOPD(proto, Symbol.toStringTag);\n\t\t\tif (!descriptor) {\n\t\t\t\tvar superProto = getPrototypeOf(proto);\n\t\t\t\tdescriptor = gOPD(superProto, Symbol.toStringTag);\n\t\t\t}\n\t\t\ttoStrTags[typedArray] = descriptor.get;\n\t\t}\n\t});\n}\n\nvar tryTypedArrays = function tryAllTypedArrays(value) {\n\tvar foundName = false;\n\tforEach(toStrTags, function (getter, typedArray) {\n\t\tif (!foundName) {\n\t\t\ttry {\n\t\t\t\tvar name = getter.call(value);\n\t\t\t\tif (name === typedArray) {\n\t\t\t\t\tfoundName = name;\n\t\t\t\t}\n\t\t\t} catch (e) {}\n\t\t}\n\t});\n\treturn foundName;\n};\n\nvar isTypedArray = require('is-typed-array');\n\nmodule.exports = function whichTypedArray(value) {\n\tif (!isTypedArray(value)) { return false; }\n\tif (!hasToStringTag) { return $slice($toString(value), 8, -1); }\n\treturn tryTypedArrays(value);\n};\n","\n/**\n * Array#filter.\n *\n * @param {Array} arr\n * @param {Function} fn\n * @param {Object=} self\n * @return {Array}\n * @throw TypeError\n */\n\nmodule.exports = function (arr, fn, self) {\n if (arr.filter) return arr.filter(fn, self);\n if (void 0 === arr || null === arr) throw new TypeError;\n if ('function' != typeof fn) throw new TypeError;\n var ret = [];\n for (var i = 0; i < arr.length; i++) {\n if (!hasOwn.call(arr, i)) continue;\n var val = arr[i];\n if (fn.call(self, val, i, arr)) ret.push(val);\n }\n return ret;\n};\n\nvar hasOwn = Object.prototype.hasOwnProperty;\n","'use strict';\n\nvar forEach = require('foreach');\nvar availableTypedArrays = require('available-typed-arrays');\nvar callBound = require('es-abstract/helpers/callBound');\n\nvar $toString = callBound('Object.prototype.toString');\nvar hasSymbols = require('has-symbols')();\nvar hasToStringTag = hasSymbols && typeof Symbol.toStringTag === 'symbol';\n\nvar typedArrays = availableTypedArrays();\n\nvar $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {\n\tfor (var i = 0; i < array.length; i += 1) {\n\t\tif (array[i] === value) {\n\t\t\treturn i;\n\t\t}\n\t}\n\treturn -1;\n};\nvar $slice = callBound('String.prototype.slice');\nvar toStrTags = {};\nvar gOPD = require('es-abstract/helpers/getOwnPropertyDescriptor');\nvar getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');\nif (hasToStringTag && gOPD && getPrototypeOf) {\n\tforEach(typedArrays, function (typedArray) {\n\t\tvar arr = new global[typedArray]();\n\t\tif (!(Symbol.toStringTag in arr)) {\n\t\t\tthrow new EvalError('this engine has support for Symbol.toStringTag, but ' + typedArray + ' does not have the property! Please report this.');\n\t\t}\n\t\tvar proto = getPrototypeOf(arr);\n\t\tvar descriptor = gOPD(proto, Symbol.toStringTag);\n\t\tif (!descriptor) {\n\t\t\tvar superProto = getPrototypeOf(proto);\n\t\t\tdescriptor = gOPD(superProto, Symbol.toStringTag);\n\t\t}\n\t\ttoStrTags[typedArray] = descriptor.get;\n\t});\n}\n\nvar tryTypedArrays = function tryAllTypedArrays(value) {\n\tvar anyTrue = false;\n\tforEach(toStrTags, function (getter, typedArray) {\n\t\tif (!anyTrue) {\n\t\t\ttry {\n\t\t\t\tanyTrue = getter.call(value) === typedArray;\n\t\t\t} catch (e) { /**/ }\n\t\t}\n\t});\n\treturn anyTrue;\n};\n\nmodule.exports = function isTypedArray(value) {\n\tif (!value || typeof value !== 'object') { return false; }\n\tif (!hasToStringTag) {\n\t\tvar tag = $slice($toString(value), 8, -1);\n\t\treturn $indexOf(typedArrays, tag) > -1;\n\t}\n\tif (!gOPD) { return false; }\n\treturn tryTypedArrays(value);\n};\n","'use strict';\n\nvar defineProperties = require('define-properties');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar shim = require('./shim');\n\nvar polyfill = getPolyfill();\n\ndefineProperties(polyfill, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = polyfill;\n","'use strict';\n\nvar define = require('define-properties');\nvar getPolyfill = require('./polyfill');\n\nmodule.exports = function shimAssign() {\n\tvar polyfill = getPolyfill();\n\tdefine(\n\t\tObject,\n\t\t{ assign: polyfill },\n\t\t{ assign: function () { return Object.assign !== polyfill; } }\n\t);\n\treturn polyfill;\n};\n","'use strict';\n\nexports = module.exports;\n\n/**\n * Generates a UUID\n * @returns {string}\n */\nexports.generate = function () {\n var lut = [];\n for(var i = 0; i < 256; i++) {\n lut[i] = (i < 16 ? '0' : '') + (i).toString(16);\n }\n\n var d0 = Math.random() * 0xffffffff | 0;\n var d1 = Math.random() * 0xffffffff | 0;\n var d2 = Math.random() * 0xffffffff | 0;\n var d3 = Math.random() * 0xffffffff | 0;\n\n return lut[d0 & 0xff] + lut[d0 >> 8 & 0xff] + lut[d0 >> 16 & 0xff] + lut[d0 >> 24 & 0xff] + '-' +\n lut[d1 & 0xff] + lut[d1 >> 8 & 0xff] + '-' + lut[d1 >> 16 & 0x0f | 0x40] + lut[d1 >> 24 & 0xff] + '-' +\n lut[d2 & 0x3f | 0x80] + lut[d2 >> 8 & 0xff] + '-' + lut[d2 >> 16 & 0xff] + lut[d2 >> 24 & 0xff] +\n lut[d3 & 0xff] + lut[d3 >> 8 & 0xff] + lut[d3 >> 16 & 0xff] + lut[d3 >> 24 & 0xff];\n};","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".island_019 {\\n display: flex;\\n flex-direction: column;\\n\\n border: 1px solid #dfe5eb;\\n\\n border: 1px solid var(--ring-line-color);\\n border-radius: 3px;\\n border-radius: var(--ring-border-radius);\\n\\n background-color: #fff;\\n\\n background-color: var(--ring-content-background-color);\\n box-shadow: 0 1px 4px rgba(0, 42, 76, 0.15);\\n box-shadow: 0 1px 4px var(--ring-popup-shadow-color);\\n}\\n\\n.withTransparentBottomBorder_a6d {\\n transition: border-bottom-color 0.1s;\\n\\n border-bottom: 1px solid transparent;\\n}\\n\\n.header_9bf {\\n\\n box-sizing: border-box;\\n width: 100%;\\n padding: 0 32px;\\n\\n line-height: 28px;\\n}\\n\\n.withBottomBorder_2f3.withBottomBorder_2f3 {\\n border-bottom-color: rgba(0, 42, 76, 0.1);\\n border-bottom-color: var(--ring-popup-border-color);\\n border-top-left-radius: 3px;\\n border-top-left-radius: var(--ring-border-radius);\\n border-top-right-radius: 3px;\\n border-top-right-radius: var(--ring-border-radius);\\n}\\n\\n.title_918 {\\n display: block;\\n float: left;\\n\\n transform-origin: 0 50%;\\n word-break: break-word;\\n\\n color: #1f2326;\\n\\n color: var(--ring-heading-color);\\n\\n font-weight: bold;\\n}\\n\\n.narrowIsland_90b .header_9bf {\\n padding: 0 16px;\\n}\\n\\n.content_b24 {\\n position: relative;\\n\\n display: flex;\\n overflow: auto;\\n\\n width: 100%;\\n -webkit-overflow-scrolling: touch;\\n}\\n\\n.scrollableWrapper_76f {\\n overflow: auto;\\n\\n width: 100%;\\n padding: 16px 32px\\n}\\n\\n.scrollableWrapper_76f:focus:not(.focus-visible) {\\n outline: none;\\n }\\n\\n.narrowIsland_90b .scrollableWrapper_76f {\\n padding: 16px 16px;\\n}\\n\\n.withoutPaddings_c68 .scrollableWrapper_76f {\\n padding: 0;\\n}\\n\\n.contentWithTopFade_0e5::before {\\n position: absolute;\\n z-index: 1;\\n z-index: var(--ring-fixed-z-index);\\n left: 0;\\n\\n display: block;\\n\\n width: 100%;\\n height: 24px;\\n\\n content: '';\\n\\n pointer-events: none;\\n\\n opacity: 0.8;\\n background: linear-gradient(to top, rgba(255, 255, 255, 0), #fff);\\n background: linear-gradient(to top, rgba(255, 255, 255, 0), var(--ring-content-background-color)); /* stylelint-disable-line function-linear-gradient-no-nonstandard-direction */\\n}\\n\\n.contentWithTopFade_0e5:first-child::before {\\n border-top-left-radius: 3px;\\n border-top-left-radius: var(--ring-border-radius);\\n border-top-right-radius: 3px;\\n border-top-right-radius: var(--ring-border-radius);\\n}\\n\\n.contentWithBottomFade_8b4::after {\\n position: absolute;\\n bottom: 0;\\n left: 0;\\n\\n display: block;\\n\\n width: 100%;\\n height: 24px;\\n\\n content: '';\\n pointer-events: none;\\n\\n opacity: 0.8;\\n border-bottom-right-radius: 3px;\\n border-bottom-right-radius: var(--ring-border-radius);\\n border-bottom-left-radius: 3px;\\n border-bottom-left-radius: var(--ring-border-radius);\\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);\\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--ring-content-background-color));\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"gradientStart\": \"rgba(255, 255, 255, 0)\",\n\t\"gradientStop\": \"var(--ring-content-background-color)\",\n\t\"island\": \"island_019\",\n\t\"withTransparentBottomBorder\": \"withTransparentBottomBorder_a6d\",\n\t\"header\": \"header_9bf withTransparentBottomBorder_a6d\",\n\t\"withBottomBorder\": \"withBottomBorder_2f3\",\n\t\"title\": \"title_918\",\n\t\"narrowIsland\": \"narrowIsland_90b\",\n\t\"content\": \"content_b24\",\n\t\"scrollableWrapper\": \"scrollableWrapper_76f\",\n\t\"withoutPaddings\": \"withoutPaddings_c68\",\n\t\"contentWithTopFade\": \"contentWithTopFade_0e5\",\n\t\"contentWithBottomFade\": \"contentWithBottomFade_8b4\"\n};\nmodule.exports = exports;\n","\"use strict\";\n\nmodule.exports = function(options) {\n var getState = options.stateHandler.getState;\n\n /**\n * Tells if the element has been made detectable and ready to be listened for resize events.\n * @public\n * @param {element} The element to check.\n * @returns {boolean} True or false depending on if the element is detectable or not.\n */\n function isDetectable(element) {\n var state = getState(element);\n return state && !!state.isDetectable;\n }\n\n /**\n * Marks the element that it has been made detectable and ready to be listened for resize events.\n * @public\n * @param {element} The element to mark.\n */\n function markAsDetectable(element) {\n getState(element).isDetectable = true;\n }\n\n /**\n * Tells if the element is busy or not.\n * @public\n * @param {element} The element to check.\n * @returns {boolean} True or false depending on if the element is busy or not.\n */\n function isBusy(element) {\n return !!getState(element).busy;\n }\n\n /**\n * Marks the object is busy and should not be made detectable.\n * @public\n * @param {element} element The element to mark.\n * @param {boolean} busy If the element is busy or not.\n */\n function markBusy(element, busy) {\n getState(element).busy = !!busy;\n }\n\n return {\n isDetectable: isDetectable,\n markAsDetectable: markAsDetectable,\n isBusy: isBusy,\n markBusy: markBusy\n };\n};\n","\"use strict\";\n\nmodule.exports = function(idHandler) {\n var eventListeners = {};\n\n /**\n * Gets all listeners for the given element.\n * @public\n * @param {element} element The element to get all listeners for.\n * @returns All listeners for the given element.\n */\n function getListeners(element) {\n var id = idHandler.get(element);\n\n if (id === undefined) {\n return [];\n }\n\n return eventListeners[id] || [];\n }\n\n /**\n * Stores the given listener for the given element. Will not actually add the listener to the element.\n * @public\n * @param {element} element The element that should have the listener added.\n * @param {function} listener The callback that the element has added.\n */\n function addListener(element, listener) {\n var id = idHandler.get(element);\n\n if(!eventListeners[id]) {\n eventListeners[id] = [];\n }\n\n eventListeners[id].push(listener);\n }\n\n function removeListener(element, listener) {\n var listeners = getListeners(element);\n for (var i = 0, len = listeners.length; i < len; ++i) {\n if (listeners[i] === listener) {\n listeners.splice(i, 1);\n break;\n }\n }\n }\n\n function removeAllListeners(element) {\n var listeners = getListeners(element);\n if (!listeners) { return; }\n listeners.length = 0;\n }\n\n return {\n get: getListeners,\n add: addListener,\n removeListener: removeListener,\n removeAllListeners: removeAllListeners\n };\n};\n","\"use strict\";\n\nmodule.exports = function() {\n var idCount = 1;\n\n /**\n * Generates a new unique id in the context.\n * @public\n * @returns {number} A unique id in the context.\n */\n function generate() {\n return idCount++;\n }\n\n return {\n generate: generate\n };\n};\n","\"use strict\";\n\nmodule.exports = function(options) {\n var idGenerator = options.idGenerator;\n var getState = options.stateHandler.getState;\n\n /**\n * Gets the resize detector id of the element.\n * @public\n * @param {element} element The target element to get the id of.\n * @returns {string|number|null} The id of the element. Null if it has no id.\n */\n function getId(element) {\n var state = getState(element);\n\n if (state && state.id !== undefined) {\n return state.id;\n }\n\n return null;\n }\n\n /**\n * Sets the resize detector id of the element. Requires the element to have a resize detector state initialized.\n * @public\n * @param {element} element The target element to set the id of.\n * @returns {string|number|null} The id of the element.\n */\n function setId(element) {\n var state = getState(element);\n\n if (!state) {\n throw new Error(\"setId required the element to have a resize detection state.\");\n }\n\n var id = idGenerator.generate();\n\n state.id = id;\n\n return id;\n }\n\n return {\n get: getId,\n set: setId\n };\n};\n","\"use strict\";\n\n/* global console: false */\n\n/**\n * Reporter that handles the reporting of logs, warnings and errors.\n * @public\n * @param {boolean} quiet Tells if the reporter should be quiet or not.\n */\nmodule.exports = function(quiet) {\n function noop() {\n //Does nothing.\n }\n\n var reporter = {\n log: noop,\n warn: noop,\n error: noop\n };\n\n if(!quiet && window.console) {\n var attachFunction = function(reporter, name) {\n //The proxy is needed to be able to call the method with the console context,\n //since we cannot use bind.\n reporter[name] = function reporterProxy() {\n var f = console[name];\n if (f.apply) { //IE9 does not support console.log.apply :)\n f.apply(console, arguments);\n } else {\n for (var i = 0; i < arguments.length; i++) {\n f(arguments[i]);\n }\n }\n };\n };\n\n attachFunction(reporter, \"log\");\n attachFunction(reporter, \"warn\");\n attachFunction(reporter, \"error\");\n }\n\n return reporter;\n};","\"use strict\";\n\nvar utils = require(\"./utils\");\n\nmodule.exports = function batchProcessorMaker(options) {\n options = options || {};\n var reporter = options.reporter;\n var asyncProcess = utils.getOption(options, \"async\", true);\n var autoProcess = utils.getOption(options, \"auto\", true);\n\n if(autoProcess && !asyncProcess) {\n reporter && reporter.warn(\"Invalid options combination. auto=true and async=false is invalid. Setting async=true.\");\n asyncProcess = true;\n }\n\n var batch = Batch();\n var asyncFrameHandler;\n var isProcessing = false;\n\n function addFunction(level, fn) {\n if(!isProcessing && autoProcess && asyncProcess && batch.size() === 0) {\n // Since this is async, it is guaranteed to be executed after that the fn is added to the batch.\n // This needs to be done before, since we're checking the size of the batch to be 0.\n processBatchAsync();\n }\n\n batch.add(level, fn);\n }\n\n function processBatch() {\n // Save the current batch, and create a new batch so that incoming functions are not added into the currently processing batch.\n // Continue processing until the top-level batch is empty (functions may be added to the new batch while processing, and so on).\n isProcessing = true;\n while (batch.size()) {\n var processingBatch = batch;\n batch = Batch();\n processingBatch.process();\n }\n isProcessing = false;\n }\n\n function forceProcessBatch(localAsyncProcess) {\n if (isProcessing) {\n return;\n }\n\n if(localAsyncProcess === undefined) {\n localAsyncProcess = asyncProcess;\n }\n\n if(asyncFrameHandler) {\n cancelFrame(asyncFrameHandler);\n asyncFrameHandler = null;\n }\n\n if(localAsyncProcess) {\n processBatchAsync();\n } else {\n processBatch();\n }\n }\n\n function processBatchAsync() {\n asyncFrameHandler = requestFrame(processBatch);\n }\n\n function clearBatch() {\n batch = {};\n batchSize = 0;\n topLevel = 0;\n bottomLevel = 0;\n }\n\n function cancelFrame(listener) {\n // var cancel = window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.webkitCancelAnimationFrame || window.clearTimeout;\n var cancel = clearTimeout;\n return cancel(listener);\n }\n\n function requestFrame(callback) {\n // var raf = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || function(fn) { return window.setTimeout(fn, 20); };\n var raf = function(fn) { return setTimeout(fn, 0); };\n return raf(callback);\n }\n\n return {\n add: addFunction,\n force: forceProcessBatch\n };\n};\n\nfunction Batch() {\n var batch = {};\n var size = 0;\n var topLevel = 0;\n var bottomLevel = 0;\n\n function add(level, fn) {\n if(!fn) {\n fn = level;\n level = 0;\n }\n\n if(level > topLevel) {\n topLevel = level;\n } else if(level < bottomLevel) {\n bottomLevel = level;\n }\n\n if(!batch[level]) {\n batch[level] = [];\n }\n\n batch[level].push(fn);\n size++;\n }\n\n function process() {\n for(var level = bottomLevel; level <= topLevel; level++) {\n var fns = batch[level];\n\n for(var i = 0; i < fns.length; i++) {\n var fn = fns[i];\n fn();\n }\n }\n }\n\n function getSize() {\n return size;\n }\n\n return {\n add: add,\n process: process,\n size: getSize\n };\n}\n","\"use strict\";\n\nvar utils = module.exports = {};\n\nutils.getOption = getOption;\n\nfunction getOption(options, name, defaultValue) {\n var value = options[name];\n\n if((value === undefined || value === null) && defaultValue !== undefined) {\n return defaultValue;\n }\n\n return value;\n}\n","\"use strict\";\n\nvar prop = \"_erd\";\n\nfunction initState(element) {\n element[prop] = {};\n return getState(element);\n}\n\nfunction getState(element) {\n return element[prop];\n}\n\nfunction cleanState(element) {\n delete element[prop];\n}\n\nmodule.exports = {\n initState: initState,\n getState: getState,\n cleanState: cleanState\n};\n","/**\n * Resize detection strategy that injects objects to elements in order to detect resize events.\n * Heavily inspired by: http://www.backalleycoder.com/2013/03/18/cross-browser-event-based-element-resize-detection/\n */\n\n\"use strict\";\n\nvar browserDetector = require(\"../browser-detector\");\n\nmodule.exports = function(options) {\n options = options || {};\n var reporter = options.reporter;\n var batchProcessor = options.batchProcessor;\n var getState = options.stateHandler.getState;\n\n if(!reporter) {\n throw new Error(\"Missing required dependency: reporter.\");\n }\n\n /**\n * Adds a resize event listener to the element.\n * @public\n * @param {element} element The element that should have the listener added.\n * @param {function} listener The listener callback to be called for each resize event of the element. The element will be given as a parameter to the listener callback.\n */\n function addListener(element, listener) {\n function listenerProxy() {\n listener(element);\n }\n\n if(browserDetector.isIE(8)) {\n //IE 8 does not support object, but supports the resize event directly on elements.\n getState(element).object = {\n proxy: listenerProxy\n };\n element.attachEvent(\"onresize\", listenerProxy);\n } else {\n var object = getObject(element);\n\n if(!object) {\n throw new Error(\"Element is not detectable by this strategy.\");\n }\n\n object.contentDocument.defaultView.addEventListener(\"resize\", listenerProxy);\n }\n }\n\n function buildCssTextString(rules) {\n var seperator = options.important ? \" !important; \" : \"; \";\n\n return (rules.join(seperator) + seperator).trim();\n }\n\n /**\n * Makes an element detectable and ready to be listened for resize events. Will call the callback when the element is ready to be listened for resize changes.\n * @private\n * @param {object} options Optional options object.\n * @param {element} element The element to make detectable\n * @param {function} callback The callback to be called when the element is ready to be listened for resize changes. Will be called with the element as first parameter.\n */\n function makeDetectable(options, element, callback) {\n if (!callback) {\n callback = element;\n element = options;\n options = null;\n }\n\n options = options || {};\n var debug = options.debug;\n\n function injectObject(element, callback) {\n var OBJECT_STYLE = buildCssTextString([\"display: block\", \"position: absolute\", \"top: 0\", \"left: 0\", \"width: 100%\", \"height: 100%\", \"border: none\", \"padding: 0\", \"margin: 0\", \"opacity: 0\", \"z-index: -1000\", \"pointer-events: none\"]);\n\n //The target element needs to be positioned (everything except static) so the absolute positioned object will be positioned relative to the target element.\n\n // Position altering may be performed directly or on object load, depending on if style resolution is possible directly or not.\n var positionCheckPerformed = false;\n\n // The element may not yet be attached to the DOM, and therefore the style object may be empty in some browsers.\n // Since the style object is a reference, it will be updated as soon as the element is attached to the DOM.\n var style = window.getComputedStyle(element);\n var width = element.offsetWidth;\n var height = element.offsetHeight;\n\n getState(element).startSize = {\n width: width,\n height: height\n };\n\n function mutateDom() {\n function alterPositionStyles() {\n if(style.position === \"static\") {\n element.style.setProperty(\"position\", \"relative\", options.important ? \"important\" : \"\");\n\n var removeRelativeStyles = function(reporter, element, style, property) {\n function getNumericalValue(value) {\n return value.replace(/[^-\\d\\.]/g, \"\");\n }\n\n var value = style[property];\n\n if(value !== \"auto\" && getNumericalValue(value) !== \"0\") {\n reporter.warn(\"An element that is positioned static has style.\" + property + \"=\" + value + \" which is ignored due to the static positioning. The element will need to be positioned relative, so the style.\" + property + \" will be set to 0. Element: \", element);\n element.style.setProperty(property, \"0\", options.important ? \"important\" : \"\");\n }\n };\n\n //Check so that there are no accidental styles that will make the element styled differently now that is is relative.\n //If there are any, set them to 0 (this should be okay with the user since the style properties did nothing before [since the element was positioned static] anyway).\n removeRelativeStyles(reporter, element, style, \"top\");\n removeRelativeStyles(reporter, element, style, \"right\");\n removeRelativeStyles(reporter, element, style, \"bottom\");\n removeRelativeStyles(reporter, element, style, \"left\");\n }\n }\n\n function onObjectLoad() {\n // The object has been loaded, which means that the element now is guaranteed to be attached to the DOM.\n if (!positionCheckPerformed) {\n alterPositionStyles();\n }\n\n /*jshint validthis: true */\n\n function getDocument(element, callback) {\n //Opera 12 seem to call the object.onload before the actual document has been created.\n //So if it is not present, poll it with an timeout until it is present.\n //TODO: Could maybe be handled better with object.onreadystatechange or similar.\n if(!element.contentDocument) {\n var state = getState(element);\n if (state.checkForObjectDocumentTimeoutId) {\n window.clearTimeout(state.checkForObjectDocumentTimeoutId);\n }\n state.checkForObjectDocumentTimeoutId = setTimeout(function checkForObjectDocument() {\n state.checkForObjectDocumentTimeoutId = 0;\n getDocument(element, callback);\n }, 100);\n\n return;\n }\n\n callback(element.contentDocument);\n }\n\n //Mutating the object element here seems to fire another load event.\n //Mutating the inner document of the object element is fine though.\n var objectElement = this;\n\n //Create the style element to be added to the object.\n getDocument(objectElement, function onObjectDocumentReady(objectDocument) {\n //Notify that the element is ready to be listened to.\n callback(element);\n });\n }\n\n // The element may be detached from the DOM, and some browsers does not support style resolving of detached elements.\n // The alterPositionStyles needs to be delayed until we know the element has been attached to the DOM (which we are sure of when the onObjectLoad has been fired), if style resolution is not possible.\n if (style.position !== \"\") {\n alterPositionStyles(style);\n positionCheckPerformed = true;\n }\n\n //Add an object element as a child to the target element that will be listened to for resize events.\n var object = document.createElement(\"object\");\n object.style.cssText = OBJECT_STYLE;\n object.tabIndex = -1;\n object.type = \"text/html\";\n object.setAttribute(\"aria-hidden\", \"true\");\n object.onload = onObjectLoad;\n\n //Safari: This must occur before adding the object to the DOM.\n //IE: Does not like that this happens before, even if it is also added after.\n if(!browserDetector.isIE()) {\n object.data = \"about:blank\";\n }\n\n if (!getState(element)) {\n // The element has been uninstalled before the actual loading happened.\n return;\n }\n\n element.appendChild(object);\n getState(element).object = object;\n\n //IE: This must occur after adding the object to the DOM.\n if(browserDetector.isIE()) {\n object.data = \"about:blank\";\n }\n }\n\n if(batchProcessor) {\n batchProcessor.add(mutateDom);\n } else {\n mutateDom();\n }\n }\n\n if(browserDetector.isIE(8)) {\n //IE 8 does not support objects properly. Luckily they do support the resize event.\n //So do not inject the object and notify that the element is already ready to be listened to.\n //The event handler for the resize event is attached in the utils.addListener instead.\n callback(element);\n } else {\n injectObject(element, callback);\n }\n }\n\n /**\n * Returns the child object of the target element.\n * @private\n * @param {element} element The target element.\n * @returns The object element of the target.\n */\n function getObject(element) {\n return getState(element).object;\n }\n\n function uninstall(element) {\n if (!getState(element)) {\n return;\n }\n\n var object = getObject(element);\n\n if (!object) {\n return;\n }\n\n if (browserDetector.isIE(8)) {\n element.detachEvent(\"onresize\", object.proxy);\n } else {\n element.removeChild(object);\n }\n\n if (getState(element).checkForObjectDocumentTimeoutId) {\n window.clearTimeout(getState(element).checkForObjectDocumentTimeoutId);\n }\n\n delete getState(element).object;\n }\n\n return {\n makeDetectable: makeDetectable,\n addListener: addListener,\n uninstall: uninstall\n };\n};\n","/**\n * Resize detection strategy that injects divs to elements in order to detect resize events on scroll events.\n * Heavily inspired by: https://github.com/marcj/css-element-queries/blob/master/src/ResizeSensor.js\n */\n\n\"use strict\";\n\nvar forEach = require(\"../collection-utils\").forEach;\n\nmodule.exports = function(options) {\n options = options || {};\n var reporter = options.reporter;\n var batchProcessor = options.batchProcessor;\n var getState = options.stateHandler.getState;\n var hasState = options.stateHandler.hasState;\n var idHandler = options.idHandler;\n\n if (!batchProcessor) {\n throw new Error(\"Missing required dependency: batchProcessor\");\n }\n\n if (!reporter) {\n throw new Error(\"Missing required dependency: reporter.\");\n }\n\n //TODO: Could this perhaps be done at installation time?\n var scrollbarSizes = getScrollbarSizes();\n\n var styleId = \"erd_scroll_detection_scrollbar_style\";\n var detectionContainerClass = \"erd_scroll_detection_container\";\n\n function initDocument(targetDocument) {\n // Inject the scrollbar styling that prevents them from appearing sometimes in Chrome.\n // The injected container needs to have a class, so that it may be styled with CSS (pseudo elements).\n injectScrollStyle(targetDocument, styleId, detectionContainerClass);\n }\n\n initDocument(window.document);\n\n function buildCssTextString(rules) {\n var seperator = options.important ? \" !important; \" : \"; \";\n\n return (rules.join(seperator) + seperator).trim();\n }\n\n function getScrollbarSizes() {\n var width = 500;\n var height = 500;\n\n var child = document.createElement(\"div\");\n child.style.cssText = buildCssTextString([\"position: absolute\", \"width: \" + width*2 + \"px\", \"height: \" + height*2 + \"px\", \"visibility: hidden\", \"margin: 0\", \"padding: 0\"]);\n\n var container = document.createElement(\"div\");\n container.style.cssText = buildCssTextString([\"position: absolute\", \"width: \" + width + \"px\", \"height: \" + height + \"px\", \"overflow: scroll\", \"visibility: none\", \"top: \" + -width*3 + \"px\", \"left: \" + -height*3 + \"px\", \"visibility: hidden\", \"margin: 0\", \"padding: 0\"]);\n\n container.appendChild(child);\n\n document.body.insertBefore(container, document.body.firstChild);\n\n var widthSize = width - container.clientWidth;\n var heightSize = height - container.clientHeight;\n\n document.body.removeChild(container);\n\n return {\n width: widthSize,\n height: heightSize\n };\n }\n\n function injectScrollStyle(targetDocument, styleId, containerClass) {\n function injectStyle(style, method) {\n method = method || function (element) {\n targetDocument.head.appendChild(element);\n };\n\n var styleElement = targetDocument.createElement(\"style\");\n styleElement.innerHTML = style;\n styleElement.id = styleId;\n method(styleElement);\n return styleElement;\n }\n\n if (!targetDocument.getElementById(styleId)) {\n var containerAnimationClass = containerClass + \"_animation\";\n var containerAnimationActiveClass = containerClass + \"_animation_active\";\n var style = \"/* Created by the element-resize-detector library. */\\n\";\n style += \".\" + containerClass + \" > div::-webkit-scrollbar { \" + buildCssTextString([\"display: none\"]) + \" }\\n\\n\";\n style += \".\" + containerAnimationActiveClass + \" { \" + buildCssTextString([\"-webkit-animation-duration: 0.1s\", \"animation-duration: 0.1s\", \"-webkit-animation-name: \" + containerAnimationClass, \"animation-name: \" + containerAnimationClass]) + \" }\\n\";\n style += \"@-webkit-keyframes \" + containerAnimationClass + \" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\\n\";\n style += \"@keyframes \" + containerAnimationClass + \" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\";\n injectStyle(style);\n }\n }\n\n function addAnimationClass(element) {\n element.className += \" \" + detectionContainerClass + \"_animation_active\";\n }\n\n function addEvent(el, name, cb) {\n if (el.addEventListener) {\n el.addEventListener(name, cb);\n } else if(el.attachEvent) {\n el.attachEvent(\"on\" + name, cb);\n } else {\n return reporter.error(\"[scroll] Don't know how to add event listeners.\");\n }\n }\n\n function removeEvent(el, name, cb) {\n if (el.removeEventListener) {\n el.removeEventListener(name, cb);\n } else if(el.detachEvent) {\n el.detachEvent(\"on\" + name, cb);\n } else {\n return reporter.error(\"[scroll] Don't know how to remove event listeners.\");\n }\n }\n\n function getExpandElement(element) {\n return getState(element).container.childNodes[0].childNodes[0].childNodes[0];\n }\n\n function getShrinkElement(element) {\n return getState(element).container.childNodes[0].childNodes[0].childNodes[1];\n }\n\n /**\n * Adds a resize event listener to the element.\n * @public\n * @param {element} element The element that should have the listener added.\n * @param {function} listener The listener callback to be called for each resize event of the element. The element will be given as a parameter to the listener callback.\n */\n function addListener(element, listener) {\n var listeners = getState(element).listeners;\n\n if (!listeners.push) {\n throw new Error(\"Cannot add listener to an element that is not detectable.\");\n }\n\n getState(element).listeners.push(listener);\n }\n\n /**\n * Makes an element detectable and ready to be listened for resize events. Will call the callback when the element is ready to be listened for resize changes.\n * @private\n * @param {object} options Optional options object.\n * @param {element} element The element to make detectable\n * @param {function} callback The callback to be called when the element is ready to be listened for resize changes. Will be called with the element as first parameter.\n */\n function makeDetectable(options, element, callback) {\n if (!callback) {\n callback = element;\n element = options;\n options = null;\n }\n\n options = options || {};\n\n function debug() {\n if (options.debug) {\n var args = Array.prototype.slice.call(arguments);\n args.unshift(idHandler.get(element), \"Scroll: \");\n if (reporter.log.apply) {\n reporter.log.apply(null, args);\n } else {\n for (var i = 0; i < args.length; i++) {\n reporter.log(args[i]);\n }\n }\n }\n }\n\n function isDetached(element) {\n function isInDocument(element) {\n return element === element.ownerDocument.body || element.ownerDocument.body.contains(element);\n }\n\n if (!isInDocument(element)) {\n return true;\n }\n\n // FireFox returns null style in hidden iframes. See https://github.com/wnr/element-resize-detector/issues/68 and https://bugzilla.mozilla.org/show_bug.cgi?id=795520\n if (window.getComputedStyle(element) === null) {\n return true;\n }\n\n return false;\n }\n\n function isUnrendered(element) {\n // Check the absolute positioned container since the top level container is display: inline.\n var container = getState(element).container.childNodes[0];\n var style = window.getComputedStyle(container);\n return !style.width || style.width.indexOf(\"px\") === -1; //Can only compute pixel value when rendered.\n }\n\n function getStyle() {\n // Some browsers only force layouts when actually reading the style properties of the style object, so make sure that they are all read here,\n // so that the user of the function can be sure that it will perform the layout here, instead of later (important for batching).\n var elementStyle = window.getComputedStyle(element);\n var style = {};\n style.position = elementStyle.position;\n style.width = element.offsetWidth;\n style.height = element.offsetHeight;\n style.top = elementStyle.top;\n style.right = elementStyle.right;\n style.bottom = elementStyle.bottom;\n style.left = elementStyle.left;\n style.widthCSS = elementStyle.width;\n style.heightCSS = elementStyle.height;\n return style;\n }\n\n function storeStartSize() {\n var style = getStyle();\n getState(element).startSize = {\n width: style.width,\n height: style.height\n };\n debug(\"Element start size\", getState(element).startSize);\n }\n\n function initListeners() {\n getState(element).listeners = [];\n }\n\n function storeStyle() {\n debug(\"storeStyle invoked.\");\n if (!getState(element)) {\n debug(\"Aborting because element has been uninstalled\");\n return;\n }\n\n var style = getStyle();\n getState(element).style = style;\n }\n\n function storeCurrentSize(element, width, height) {\n getState(element).lastWidth = width;\n getState(element).lastHeight = height;\n }\n\n function getExpandChildElement(element) {\n return getExpandElement(element).childNodes[0];\n }\n\n function getWidthOffset() {\n return 2 * scrollbarSizes.width + 1;\n }\n\n function getHeightOffset() {\n return 2 * scrollbarSizes.height + 1;\n }\n\n function getExpandWidth(width) {\n return width + 10 + getWidthOffset();\n }\n\n function getExpandHeight(height) {\n return height + 10 + getHeightOffset();\n }\n\n function getShrinkWidth(width) {\n return width * 2 + getWidthOffset();\n }\n\n function getShrinkHeight(height) {\n return height * 2 + getHeightOffset();\n }\n\n function positionScrollbars(element, width, height) {\n var expand = getExpandElement(element);\n var shrink = getShrinkElement(element);\n var expandWidth = getExpandWidth(width);\n var expandHeight = getExpandHeight(height);\n var shrinkWidth = getShrinkWidth(width);\n var shrinkHeight = getShrinkHeight(height);\n expand.scrollLeft = expandWidth;\n expand.scrollTop = expandHeight;\n shrink.scrollLeft = shrinkWidth;\n shrink.scrollTop = shrinkHeight;\n }\n\n function injectContainerElement() {\n var container = getState(element).container;\n\n if (!container) {\n container = document.createElement(\"div\");\n container.className = detectionContainerClass;\n container.style.cssText = buildCssTextString([\"visibility: hidden\", \"display: inline\", \"width: 0px\", \"height: 0px\", \"z-index: -1\", \"overflow: hidden\", \"margin: 0\", \"padding: 0\"]);\n getState(element).container = container;\n addAnimationClass(container);\n element.appendChild(container);\n\n var onAnimationStart = function () {\n getState(element).onRendered && getState(element).onRendered();\n };\n\n addEvent(container, \"animationstart\", onAnimationStart);\n\n // Store the event handler here so that they may be removed when uninstall is called.\n // See uninstall function for an explanation why it is needed.\n getState(element).onAnimationStart = onAnimationStart;\n }\n\n return container;\n }\n\n function injectScrollElements() {\n function alterPositionStyles() {\n var style = getState(element).style;\n\n if(style.position === \"static\") {\n element.style.setProperty(\"position\", \"relative\",options.important ? \"important\" : \"\");\n\n var removeRelativeStyles = function(reporter, element, style, property) {\n function getNumericalValue(value) {\n return value.replace(/[^-\\d\\.]/g, \"\");\n }\n\n var value = style[property];\n\n if(value !== \"auto\" && getNumericalValue(value) !== \"0\") {\n reporter.warn(\"An element that is positioned static has style.\" + property + \"=\" + value + \" which is ignored due to the static positioning. The element will need to be positioned relative, so the style.\" + property + \" will be set to 0. Element: \", element);\n element.style[property] = 0;\n }\n };\n\n //Check so that there are no accidental styles that will make the element styled differently now that is is relative.\n //If there are any, set them to 0 (this should be okay with the user since the style properties did nothing before [since the element was positioned static] anyway).\n removeRelativeStyles(reporter, element, style, \"top\");\n removeRelativeStyles(reporter, element, style, \"right\");\n removeRelativeStyles(reporter, element, style, \"bottom\");\n removeRelativeStyles(reporter, element, style, \"left\");\n }\n }\n\n function getLeftTopBottomRightCssText(left, top, bottom, right) {\n left = (!left ? \"0\" : (left + \"px\"));\n top = (!top ? \"0\" : (top + \"px\"));\n bottom = (!bottom ? \"0\" : (bottom + \"px\"));\n right = (!right ? \"0\" : (right + \"px\"));\n\n return [\"left: \" + left, \"top: \" + top, \"right: \" + right, \"bottom: \" + bottom];\n }\n\n debug(\"Injecting elements\");\n\n if (!getState(element)) {\n debug(\"Aborting because element has been uninstalled\");\n return;\n }\n\n alterPositionStyles();\n\n var rootContainer = getState(element).container;\n\n if (!rootContainer) {\n rootContainer = injectContainerElement();\n }\n\n // Due to this WebKit bug https://bugs.webkit.org/show_bug.cgi?id=80808 (currently fixed in Blink, but still present in WebKit browsers such as Safari),\n // we need to inject two containers, one that is width/height 100% and another that is left/top -1px so that the final container always is 1x1 pixels bigger than\n // the targeted element.\n // When the bug is resolved, \"containerContainer\" may be removed.\n\n // The outer container can occasionally be less wide than the targeted when inside inline elements element in WebKit (see https://bugs.webkit.org/show_bug.cgi?id=152980).\n // This should be no problem since the inner container either way makes sure the injected scroll elements are at least 1x1 px.\n\n var scrollbarWidth = scrollbarSizes.width;\n var scrollbarHeight = scrollbarSizes.height;\n var containerContainerStyle = buildCssTextString([\"position: absolute\", \"flex: none\", \"overflow: hidden\", \"z-index: -1\", \"visibility: hidden\", \"width: 100%\", \"height: 100%\", \"left: 0px\", \"top: 0px\"]);\n var containerStyle = buildCssTextString([\"position: absolute\", \"flex: none\", \"overflow: hidden\", \"z-index: -1\", \"visibility: hidden\"].concat(getLeftTopBottomRightCssText(-(1 + scrollbarWidth), -(1 + scrollbarHeight), -scrollbarHeight, -scrollbarWidth)));\n var expandStyle = buildCssTextString([\"position: absolute\", \"flex: none\", \"overflow: scroll\", \"z-index: -1\", \"visibility: hidden\", \"width: 100%\", \"height: 100%\"]);\n var shrinkStyle = buildCssTextString([\"position: absolute\", \"flex: none\", \"overflow: scroll\", \"z-index: -1\", \"visibility: hidden\", \"width: 100%\", \"height: 100%\"]);\n var expandChildStyle = buildCssTextString([\"position: absolute\", \"left: 0\", \"top: 0\"]);\n var shrinkChildStyle = buildCssTextString([\"position: absolute\", \"width: 200%\", \"height: 200%\"]);\n\n var containerContainer = document.createElement(\"div\");\n var container = document.createElement(\"div\");\n var expand = document.createElement(\"div\");\n var expandChild = document.createElement(\"div\");\n var shrink = document.createElement(\"div\");\n var shrinkChild = document.createElement(\"div\");\n\n // Some browsers choke on the resize system being rtl, so force it to ltr. https://github.com/wnr/element-resize-detector/issues/56\n // However, dir should not be set on the top level container as it alters the dimensions of the target element in some browsers.\n containerContainer.dir = \"ltr\";\n\n containerContainer.style.cssText = containerContainerStyle;\n containerContainer.className = detectionContainerClass;\n container.className = detectionContainerClass;\n container.style.cssText = containerStyle;\n expand.style.cssText = expandStyle;\n expandChild.style.cssText = expandChildStyle;\n shrink.style.cssText = shrinkStyle;\n shrinkChild.style.cssText = shrinkChildStyle;\n\n expand.appendChild(expandChild);\n shrink.appendChild(shrinkChild);\n container.appendChild(expand);\n container.appendChild(shrink);\n containerContainer.appendChild(container);\n rootContainer.appendChild(containerContainer);\n\n function onExpandScroll() {\n getState(element).onExpand && getState(element).onExpand();\n }\n\n function onShrinkScroll() {\n getState(element).onShrink && getState(element).onShrink();\n }\n\n addEvent(expand, \"scroll\", onExpandScroll);\n addEvent(shrink, \"scroll\", onShrinkScroll);\n\n // Store the event handlers here so that they may be removed when uninstall is called.\n // See uninstall function for an explanation why it is needed.\n getState(element).onExpandScroll = onExpandScroll;\n getState(element).onShrinkScroll = onShrinkScroll;\n }\n\n function registerListenersAndPositionElements() {\n function updateChildSizes(element, width, height) {\n var expandChild = getExpandChildElement(element);\n var expandWidth = getExpandWidth(width);\n var expandHeight = getExpandHeight(height);\n expandChild.style.setProperty(\"width\", expandWidth + \"px\", options.important ? \"important\" : \"\");\n expandChild.style.setProperty(\"height\", expandHeight + \"px\", options.important ? \"important\" : \"\");\n }\n\n function updateDetectorElements(done) {\n var width = element.offsetWidth;\n var height = element.offsetHeight;\n\n // Check whether the size has actually changed since last time the algorithm ran. If not, some steps may be skipped.\n var sizeChanged = width !== getState(element).lastWidth || height !== getState(element).lastHeight;\n\n debug(\"Storing current size\", width, height);\n\n // Store the size of the element sync here, so that multiple scroll events may be ignored in the event listeners.\n // Otherwise the if-check in handleScroll is useless.\n storeCurrentSize(element, width, height);\n\n // Since we delay the processing of the batch, there is a risk that uninstall has been called before the batch gets to execute.\n // Since there is no way to cancel the fn executions, we need to add an uninstall guard to all fns of the batch.\n\n batchProcessor.add(0, function performUpdateChildSizes() {\n if (!sizeChanged) {\n return;\n }\n\n if (!getState(element)) {\n debug(\"Aborting because element has been uninstalled\");\n return;\n }\n\n if (!areElementsInjected()) {\n debug(\"Aborting because element container has not been initialized\");\n return;\n }\n\n if (options.debug) {\n var w = element.offsetWidth;\n var h = element.offsetHeight;\n\n if (w !== width || h !== height) {\n reporter.warn(idHandler.get(element), \"Scroll: Size changed before updating detector elements.\");\n }\n }\n\n updateChildSizes(element, width, height);\n });\n\n batchProcessor.add(1, function updateScrollbars() {\n // This function needs to be invoked event though the size is unchanged. The element could have been resized very quickly and then\n // been restored to the original size, which will have changed the scrollbar positions.\n\n if (!getState(element)) {\n debug(\"Aborting because element has been uninstalled\");\n return;\n }\n\n if (!areElementsInjected()) {\n debug(\"Aborting because element container has not been initialized\");\n return;\n }\n\n positionScrollbars(element, width, height);\n });\n\n if (sizeChanged && done) {\n batchProcessor.add(2, function () {\n if (!getState(element)) {\n debug(\"Aborting because element has been uninstalled\");\n return;\n }\n\n if (!areElementsInjected()) {\n debug(\"Aborting because element container has not been initialized\");\n return;\n }\n\n done();\n });\n }\n }\n\n function areElementsInjected() {\n return !!getState(element).container;\n }\n\n function notifyListenersIfNeeded() {\n function isFirstNotify() {\n return getState(element).lastNotifiedWidth === undefined;\n }\n\n debug(\"notifyListenersIfNeeded invoked\");\n\n var state = getState(element);\n\n // Don't notify if the current size is the start size, and this is the first notification.\n if (isFirstNotify() && state.lastWidth === state.startSize.width && state.lastHeight === state.startSize.height) {\n return debug(\"Not notifying: Size is the same as the start size, and there has been no notification yet.\");\n }\n\n // Don't notify if the size already has been notified.\n if (state.lastWidth === state.lastNotifiedWidth && state.lastHeight === state.lastNotifiedHeight) {\n return debug(\"Not notifying: Size already notified\");\n }\n\n\n debug(\"Current size not notified, notifying...\");\n state.lastNotifiedWidth = state.lastWidth;\n state.lastNotifiedHeight = state.lastHeight;\n forEach(getState(element).listeners, function (listener) {\n listener(element);\n });\n }\n\n function handleRender() {\n debug(\"startanimation triggered.\");\n\n if (isUnrendered(element)) {\n debug(\"Ignoring since element is still unrendered...\");\n return;\n }\n\n debug(\"Element rendered.\");\n var expand = getExpandElement(element);\n var shrink = getShrinkElement(element);\n if (expand.scrollLeft === 0 || expand.scrollTop === 0 || shrink.scrollLeft === 0 || shrink.scrollTop === 0) {\n debug(\"Scrollbars out of sync. Updating detector elements...\");\n updateDetectorElements(notifyListenersIfNeeded);\n }\n }\n\n function handleScroll() {\n debug(\"Scroll detected.\");\n\n if (isUnrendered(element)) {\n // Element is still unrendered. Skip this scroll event.\n debug(\"Scroll event fired while unrendered. Ignoring...\");\n return;\n }\n\n updateDetectorElements(notifyListenersIfNeeded);\n }\n\n debug(\"registerListenersAndPositionElements invoked.\");\n\n if (!getState(element)) {\n debug(\"Aborting because element has been uninstalled\");\n return;\n }\n\n getState(element).onRendered = handleRender;\n getState(element).onExpand = handleScroll;\n getState(element).onShrink = handleScroll;\n\n var style = getState(element).style;\n updateChildSizes(element, style.width, style.height);\n }\n\n function finalizeDomMutation() {\n debug(\"finalizeDomMutation invoked.\");\n\n if (!getState(element)) {\n debug(\"Aborting because element has been uninstalled\");\n return;\n }\n\n var style = getState(element).style;\n storeCurrentSize(element, style.width, style.height);\n positionScrollbars(element, style.width, style.height);\n }\n\n function ready() {\n callback(element);\n }\n\n function install() {\n debug(\"Installing...\");\n initListeners();\n storeStartSize();\n\n batchProcessor.add(0, storeStyle);\n batchProcessor.add(1, injectScrollElements);\n batchProcessor.add(2, registerListenersAndPositionElements);\n batchProcessor.add(3, finalizeDomMutation);\n batchProcessor.add(4, ready);\n }\n\n debug(\"Making detectable...\");\n\n if (isDetached(element)) {\n debug(\"Element is detached\");\n\n injectContainerElement();\n\n debug(\"Waiting until element is attached...\");\n\n getState(element).onRendered = function () {\n debug(\"Element is now attached\");\n install();\n };\n } else {\n install();\n }\n }\n\n function uninstall(element) {\n var state = getState(element);\n\n if (!state) {\n // Uninstall has been called on a non-erd element.\n return;\n }\n\n // Uninstall may have been called in the following scenarios:\n // (1) Right between the sync code and async batch (here state.busy = true, but nothing have been registered or injected).\n // (2) In the ready callback of the last level of the batch by another element (here, state.busy = true, but all the stuff has been injected).\n // (3) After the installation process (here, state.busy = false and all the stuff has been injected).\n // So to be on the safe side, let's check for each thing before removing.\n\n // We need to remove the event listeners, because otherwise the event might fire on an uninstall element which results in an error when trying to get the state of the element.\n state.onExpandScroll && removeEvent(getExpandElement(element), \"scroll\", state.onExpandScroll);\n state.onShrinkScroll && removeEvent(getShrinkElement(element), \"scroll\", state.onShrinkScroll);\n state.onAnimationStart && removeEvent(state.container, \"animationstart\", state.onAnimationStart);\n\n state.container && element.removeChild(state.container);\n }\n\n return {\n makeDetectable: makeDetectable,\n addListener: addListener,\n uninstall: uninstall,\n initDocument: initDocument\n };\n};\n","/* eslint-env node, browser */\n'use strict'\n/**\n * binds an event to Combokeys\n *\n * can be a single key, a combination of keys separated with +,\n * an array of keys, or a sequence of keys separated by spaces\n *\n * be sure to list the modifier keys first to make sure that the\n * correct key ends up getting bound (the last key in the pattern)\n *\n * @param {string|Array} keys\n * @param {Function} callback\n * @param {string=} action - \"keypress\", \"keydown\", or \"keyup\"\n * @returns void\n */\nmodule.exports = function (keys, callback, action) {\n var self = this\n\n keys = keys instanceof Array ? keys : [keys]\n self.bindMultiple(keys, callback, action)\n return self\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * binds multiple combinations to the same callback\n *\n * @param {Array} combinations\n * @param {Function} callback\n * @param {string|undefined} action\n * @returns void\n */\nmodule.exports = function (combinations, callback, action) {\n var self = this\n\n for (var j = 0; j < combinations.length; ++j) {\n self.bindSingle(combinations[j], callback, action)\n }\n}\n","/* eslint-env node, browser */\n'use strict'\n/**\n * unbinds an event to Combokeys\n *\n * the unbinding sets the callback function of the specified key combo\n * to an empty function and deletes the corresponding key in the\n * directMap dict.\n *\n * TODO: actually remove this from the callbacks dictionary instead\n * of binding an empty function\n *\n * the keycombo+action has to be exactly the same as\n * it was defined in the bind method\n *\n * @param {string|Array} keys\n * @param {string} action\n * @returns void\n */\nmodule.exports = function (keys, action) {\n var self = this\n\n return self.bind(keys, function () {}, action)\n}\n","/* eslint-env node, browser */\n'use strict'\n/**\n * triggers an event that has already been bound\n *\n * @param {string} keys\n * @param {string=} action\n * @returns void\n */\nmodule.exports = function (keys, action) {\n var self = this\n if (self.directMap[keys + ':' + action]) {\n self.directMap[keys + ':' + action]({}, keys)\n }\n return this\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * resets the library back to its initial state. This is useful\n * if you want to clear out the current keyboard shortcuts and bind\n * new ones - for example if you switch to another page\n *\n * @returns void\n */\nmodule.exports = function () {\n var self = this\n self.callbacks = {}\n self.directMap = {}\n return this\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n* should we stop this event before firing off callbacks\n*\n* @param {Event} e\n* @param {Element} element\n* @return {boolean}\n*/\nmodule.exports = function (e, element) {\n // if the element has the class \"combokeys\" then no need to stop\n if ((' ' + element.className + ' ').indexOf(' combokeys ') > -1) {\n return false\n }\n\n var tagName = element.tagName.toLowerCase()\n\n // stop for input, select, and textarea\n return tagName === 'input' || tagName === 'select' || tagName === 'textarea' || element.isContentEditable\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * handles a character key event\n *\n * @param {string} character\n * @param {Array} modifiers\n * @param {Event} e\n * @returns void\n */\nmodule.exports = function (character, modifiers, e) {\n var self = this\n var callbacks\n var j\n var doNotReset = {}\n var maxLevel = 0\n var processedSequenceCallback = false\n var isModifier\n var ignoreThisKeypress\n\n callbacks = self.getMatches(character, modifiers, e)\n // Calculate the maxLevel for sequences so we can only execute the longest callback sequence\n for (j = 0; j < callbacks.length; ++j) {\n if (callbacks[j].seq) {\n maxLevel = Math.max(maxLevel, callbacks[j].level)\n }\n }\n\n // loop through matching callbacks for this key event\n for (j = 0; j < callbacks.length; ++j) {\n // fire for all sequence callbacks\n // this is because if for example you have multiple sequences\n // bound such as \"g i\" and \"g t\" they both need to fire the\n // callback for matching g cause otherwise you can only ever\n // match the first one\n if (callbacks[j].seq) {\n // only fire callbacks for the maxLevel to prevent\n // subsequences from also firing\n //\n // for example 'a option b' should not cause 'option b' to fire\n // even though 'option b' is part of the other sequence\n //\n // any sequences that do not match here will be discarded\n // below by the resetSequences call\n if (callbacks[j].level !== maxLevel) {\n continue\n }\n\n processedSequenceCallback = true\n\n // keep a list of which sequences were matches for later\n doNotReset[callbacks[j].seq] = 1\n self.fireCallback(callbacks[j].callback, e, callbacks[j].combo, callbacks[j].seq)\n continue\n }\n\n // if there were no sequence matches but we are still here\n // that means this is a regular match so we should fire that\n if (!processedSequenceCallback) {\n self.fireCallback(callbacks[j].callback, e, callbacks[j].combo)\n }\n }\n\n // if the key you pressed matches the type of sequence without\n // being a modifier (ie \"keyup\" or \"keypress\") then we should\n // reset all sequences that were not matched by this event\n //\n // this is so, for example, if you have the sequence \"h a t\" and you\n // type \"h e a r t\" it does not match. in this case the \"e\" will\n // cause the sequence to reset\n //\n // modifier keys are ignored because you can have a sequence\n // that contains modifiers such as \"enter ctrl+space\" and in most\n // cases the modifier key will be pressed before the next key\n //\n // also if you have a sequence such as \"ctrl+b a\" then pressing the\n // \"b\" key will trigger a \"keypress\" and a \"keydown\"\n //\n // the \"keydown\" is expected when there is a modifier, but the\n // \"keypress\" ends up matching the nextExpectedAction since it occurs\n // after and that causes the sequence to reset\n //\n // we ignore keypresses in a sequence that directly follow a keydown\n // for the same character\n ignoreThisKeypress = e.type === 'keypress' && self.ignoreNextKeypress\n isModifier = require('../../helpers/isModifier')\n if (e.type === self.nextExpectedAction && !isModifier(character) && !ignoreThisKeypress) {\n self.resetSequences(doNotReset)\n }\n\n self.ignoreNextKeypress = processedSequenceCallback && e.type === 'keydown'\n}\n","/* eslint-env node, browser */\n'use strict'\nmodule.exports = function () {\n var self = this\n var on = require('./dom-event')\n var element = self.element\n\n self.eventHandler = require('./handleKeyEvent').bind(self)\n\n on(element, 'keypress', self.eventHandler)\n on(element, 'keydown', self.eventHandler)\n on(element, 'keyup', self.eventHandler)\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * handles a keydown event\n *\n * @param {Event} e\n * @returns void\n */\nmodule.exports = function (e) {\n var self = this\n var characterFromEvent\n var eventModifiers\n\n // normalize e.which for key events\n // @see http://stackoverflow.com/questions/4285627/javascript-keycode-vs-charcode-utter-confusion\n if (typeof e.which !== 'number') {\n e.which = e.keyCode\n }\n characterFromEvent = require('../../helpers/characterFromEvent')\n var character = characterFromEvent(e)\n\n // no character found then stop\n if (character === undefined) {\n return\n }\n\n // need to use === for the character check because the character can be 0\n if (e.type === 'keyup' && self.ignoreNextKeyup === character) {\n self.ignoreNextKeyup = false\n return\n }\n\n eventModifiers = require('../../helpers/eventModifiers')\n self.handleKey(character, eventModifiers(e), e)\n}\n","/* eslint-env node, browser */\n'use strict'\n/**\n * mapping for special characters so they can support\n *\n * this dictionary is only used incase you want to bind a\n * keyup or keydown event to one of these keys\n *\n * @type {Object}\n */\nmodule.exports = {\n 106: '*',\n 107: 'plus',\n 109: 'minus',\n 110: '.',\n 111: '/',\n 186: ';',\n 187: '=',\n 188: ',',\n 189: '-',\n 190: '.',\n 191: '/',\n 192: '`',\n 219: '[',\n 220: '\\\\',\n 221: ']',\n 222: \"'\"\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * takes a key event and figures out what the modifiers are\n *\n * @param {Event} e\n * @returns {Array}\n */\nmodule.exports = function (e) {\n var modifiers = []\n\n if (e.shiftKey) {\n modifiers.push('shift')\n }\n\n if (e.altKey) {\n modifiers.push('alt')\n }\n\n if (e.ctrlKey) {\n modifiers.push('ctrl')\n }\n\n if (e.metaKey) {\n modifiers.push('meta')\n }\n\n return modifiers\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * binds a single keyboard combination\n *\n * @param {string} combination\n * @param {Function} callback\n * @param {string=} action\n * @param {string=} sequenceName - name of sequence if part of sequence\n * @param {number=} level - what part of the sequence the command is\n * @returns void\n */\nmodule.exports = function (combination, callback, action, sequenceName, level) {\n var self = this\n\n // store a direct mapped reference for use with Combokeys.trigger\n self.directMap[combination + ':' + action] = callback\n\n // make sure multiple spaces in a row become a single space\n combination = combination.replace(/\\s+/g, ' ')\n\n var sequence = combination.split(' ')\n var info\n\n // if this pattern is a sequence of keys then run through this method\n // to reprocess each pattern one key at a time\n if (sequence.length > 1) {\n self.bindSequence(combination, sequence, callback, action)\n return\n }\n\n info = self.getKeyInfo(combination, action)\n\n // make sure to initialize array if this is the first time\n // a callback is added for this key\n self.callbacks[info.key] = self.callbacks[info.key] || []\n\n // remove an existing match if there is one\n self.getMatches(info.key, info.modifiers, {type: info.action}, sequenceName, combination, level)\n\n // add this call back to the array\n // if it is a sequence put it at the beginning\n // if not put it at the end\n //\n // this is important because the way these are processed expects\n // the sequence ones to come first\n self.callbacks[info.key][sequenceName ? 'unshift' : 'push']({\n callback: callback,\n modifiers: info.modifiers,\n action: info.action,\n seq: sequenceName,\n level: level,\n combo: combination\n })\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * Gets info for a specific key combination\n *\n * @param {string} combination key combination (\"command+s\" or \"a\" or \"*\")\n * @param {string=} action\n * @returns {Object}\n */\nmodule.exports = function (combination, action) {\n var self = this\n var keysFromString\n var keys\n var key\n var j\n var modifiers = []\n var SPECIAL_ALIASES\n var SHIFT_MAP\n var isModifier\n\n keysFromString = require('../../helpers/keysFromString')\n // take the keys from this pattern and figure out what the actual\n // pattern is all about\n keys = keysFromString(combination)\n\n SPECIAL_ALIASES = require('../../helpers/special-aliases')\n SHIFT_MAP = require('../../helpers/shift-map')\n isModifier = require('../../helpers/isModifier')\n for (j = 0; j < keys.length; ++j) {\n key = keys[j]\n\n // normalize key names\n if (SPECIAL_ALIASES[key]) {\n key = SPECIAL_ALIASES[key]\n }\n\n // if this is not a keypress event then we should\n // be smart about using shift keys\n // this will only work for US keyboards however\n if (action && action !== 'keypress' && SHIFT_MAP[key]) {\n key = SHIFT_MAP[key]\n modifiers.push('shift')\n }\n\n // if this key is a modifier then add it to the list of modifiers\n if (isModifier(key)) {\n modifiers.push(key)\n }\n }\n\n // depending on what the key combination is\n // we will try to pick the best event for it\n action = self.pickBestAction(key, modifiers, action)\n\n return {\n key: key,\n modifiers: modifiers,\n action: action\n }\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * Converts from a string key combination to an array\n *\n * @param {string} combination like \"command+shift+l\"\n * @return {Array}\n */\nmodule.exports = function (combination) {\n if (combination === '+') {\n return ['+']\n }\n\n return combination.split('+')\n}\n","/* eslint-env node, browser */\n'use strict'\n/**\n * this is a list of special strings you can use to map\n * to modifier keys when you specify your keyboard shortcuts\n *\n * @type {Object}\n */\nmodule.exports = {\n 'option': 'alt',\n 'command': 'meta',\n 'return': 'enter',\n 'escape': 'esc',\n 'mod': /Mac|iPod|iPhone|iPad/.test(navigator.platform) ? 'meta' : 'ctrl'\n}\n","/* eslint-env node, browser */\n'use strict'\n/**\n * this is a mapping of keys that require shift on a US keypad\n * back to the non shift equivelents\n *\n * this is so you can use keyup events with these keys\n *\n * note that this will only work reliably on US keyboards\n *\n * @type {Object}\n */\nmodule.exports = {\n '~': '`',\n '!': '1',\n '@': '2',\n '#': '3',\n '$': '4',\n '%': '5',\n '^': '6',\n '&': '7',\n '*': '8',\n '(': '9',\n ')': '0',\n '_': '-',\n '+': '=',\n ':': ';',\n '\"': \"'\",\n '<': ',',\n '>': '.',\n '?': '/',\n '|': '\\\\'\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * picks the best action based on the key combination\n *\n * @param {string} key - character for key\n * @param {Array} modifiers\n * @param {string=} action passed in\n */\nmodule.exports = function (key, modifiers, action) {\n var self = this\n\n // if no action was picked in we should try to pick the one\n // that we think would work best for this key\n if (!action) {\n action = self.getReverseMap()[key] ? 'keydown' : 'keypress'\n }\n\n // modifier keys don't work as expected with keypress,\n // switch to keydown\n if (action === 'keypress' && modifiers.length) {\n action = 'keydown'\n }\n\n return action\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * reverses the map lookup so that we can look for specific keys\n * to see what can and can't use keypress\n *\n * @return {Object}\n */\nmodule.exports = function () {\n var self = this\n var constructor = self.constructor\n var SPECIAL_KEYS_MAP\n\n if (!constructor.REVERSE_MAP) {\n constructor.REVERSE_MAP = {}\n SPECIAL_KEYS_MAP = require('../../helpers/special-keys-map')\n for (var key in SPECIAL_KEYS_MAP) {\n // pull out the numeric keypad from here cause keypress should\n // be able to detect the keys from the character\n if (key > 95 && key < 112) {\n continue\n }\n\n if (SPECIAL_KEYS_MAP.hasOwnProperty(key)) {\n constructor.REVERSE_MAP[SPECIAL_KEYS_MAP[key]] = key\n }\n }\n }\n return constructor.REVERSE_MAP\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * finds all callbacks that match based on the keycode, modifiers,\n * and action\n *\n * @param {string} character\n * @param {Array} modifiers\n * @param {Event|Object} e\n * @param {string=} sequenceName - name of the sequence we are looking for\n * @param {string=} combination\n * @param {number=} level\n * @returns {Array}\n */\nmodule.exports = function (character, modifiers, e, sequenceName, combination, level) {\n var self = this\n var j\n var callback\n var matches = []\n var action = e.type\n var isModifier\n var modifiersMatch\n\n if (\n action === 'keypress' &&\n // Firefox fires keypress for arrows\n !(e.code && e.code.slice(0, 5) === 'Arrow')\n ) {\n // 'any-character' callbacks are only on `keypress`\n var anyCharCallbacks = self.callbacks['any-character'] || []\n anyCharCallbacks.forEach(function (callback) {\n matches.push(callback)\n })\n }\n\n if (!self.callbacks[character]) { return matches }\n\n isModifier = require('../../helpers/isModifier')\n // if a modifier key is coming up on its own we should allow it\n if (action === 'keyup' && isModifier(character)) {\n modifiers = [character]\n }\n\n // loop through all callbacks for the key that was pressed\n // and see if any of them match\n for (j = 0; j < self.callbacks[character].length; ++j) {\n callback = self.callbacks[character][j]\n\n // if a sequence name is not specified, but this is a sequence at\n // the wrong level then move onto the next match\n if (!sequenceName && callback.seq && self.sequenceLevels[callback.seq] !== callback.level) {\n continue\n }\n\n // if the action we are looking for doesn't match the action we got\n // then we should keep going\n if (action !== callback.action) {\n continue\n }\n\n // if this is a keypress event and the meta key and control key\n // are not pressed that means that we need to only look at the\n // character, otherwise check the modifiers as well\n //\n // chrome will not fire a keypress if meta or control is down\n // safari will fire a keypress if meta or meta+shift is down\n // firefox will fire a keypress if meta or control is down\n modifiersMatch = require('./modifiersMatch')\n if ((action === 'keypress' && !e.metaKey && !e.ctrlKey) || modifiersMatch(modifiers, callback.modifiers)) {\n // when you bind a combination or sequence a second time it\n // should overwrite the first one. if a sequenceName or\n // combination is specified in this call it does just that\n //\n // @todo make deleting its own method?\n var deleteCombo = !sequenceName && callback.combo === combination\n var deleteSequence = sequenceName && callback.seq === sequenceName && callback.level === level\n if (deleteCombo || deleteSequence) {\n self.callbacks[character].splice(j, 1)\n }\n\n matches.push(callback)\n }\n }\n\n return matches\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * checks if two arrays are equal\n *\n * @param {Array} modifiers1\n * @param {Array} modifiers2\n * @returns {boolean}\n */\nmodule.exports = function (modifiers1, modifiers2) {\n return modifiers1.sort().join(',') === modifiers2.sort().join(',')\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * resets all sequence counters except for the ones passed in\n *\n * @param {Object} doNotReset\n * @returns void\n */\nmodule.exports = function (doNotReset) {\n var self = this\n\n doNotReset = doNotReset || {}\n\n var activeSequences = false\n var key\n\n for (key in self.sequenceLevels) {\n if (doNotReset[key]) {\n activeSequences = true\n continue\n }\n self.sequenceLevels[key] = 0\n }\n\n if (!activeSequences) {\n self.nextExpectedAction = false\n }\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * actually calls the callback function\n *\n * if your callback function returns false this will use the jquery\n * convention - prevent default and stop propogation on the event\n *\n * @param {Function} callback\n * @param {Event} e\n * @returns void\n */\nmodule.exports = function (callback, e, combo, sequence) {\n var self = this\n var preventDefault\n var stopPropagation\n\n // if this event should not happen stop here\n if (self.stopCallback(e, e.target || e.srcElement, combo, sequence)) {\n return\n }\n\n if (callback(e, combo) === false) {\n preventDefault = require('../../helpers/preventDefault')\n preventDefault(e)\n stopPropagation = require('../../helpers/stopPropagation')\n stopPropagation(e)\n }\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * prevents default for this event\n *\n * @param {Event} e\n * @returns void\n */\nmodule.exports = function (e) {\n if (e.preventDefault) {\n e.preventDefault()\n return\n }\n\n e.returnValue = false\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * stops propogation for this event\n *\n * @param {Event} e\n * @returns void\n */\nmodule.exports = function (e) {\n if (e.stopPropagation) {\n e.stopPropagation()\n return\n }\n\n e.cancelBubble = true\n}\n","/* eslint-env node, browser */\n'use strict'\n\n/**\n * binds a key sequence to an event\n *\n * @param {string} combo - combo specified in bind call\n * @param {Array} keys\n * @param {Function} callback\n * @param {string=} action\n * @returns void\n */\nmodule.exports = function (combo, keys, callback, action) {\n var self = this\n\n // start off by adding a sequence level record for this combination\n // and setting the level to 0\n self.sequenceLevels[combo] = 0\n\n /**\n * callback to increase the sequence level for this sequence and reset\n * all other sequences that were active\n *\n * @param {string} nextAction\n * @returns {Function}\n */\n function increaseSequence (nextAction) {\n return function () {\n self.nextExpectedAction = nextAction\n ++self.sequenceLevels[combo]\n self.resetSequenceTimer()\n }\n }\n\n /**\n * wraps the specified callback inside of another function in order\n * to reset all sequence counters as soon as this sequence is done\n *\n * @param {Event} e\n * @returns void\n */\n function callbackAndReset (e) {\n var characterFromEvent\n self.fireCallback(callback, e, combo)\n\n // we should ignore the next key up if the action is key down\n // or keypress. this is so if you finish a sequence and\n // release the key the final key will not trigger a keyup\n if (action !== 'keyup') {\n characterFromEvent = require('../../helpers/characterFromEvent')\n self.ignoreNextKeyup = characterFromEvent(e)\n }\n\n // weird race condition if a sequence ends with the key\n // another sequence begins with\n setTimeout(\n function () {\n self.resetSequences()\n },\n 10\n )\n }\n\n // loop through keys one at a time and bind the appropriate callback\n // function. for any key leading up to the final one it should\n // increase the sequence. after the final, it should reset all sequences\n //\n // if an action is specified in the original bind call then that will\n // be used throughout. otherwise we will pass the action that the\n // next key in the sequence should match. this allows a sequence\n // to mix and match keypress and keydown events depending on which\n // ones are better suited to the key provided\n for (var j = 0; j < keys.length; ++j) {\n var isFinal = j + 1 === keys.length\n var wrappedCallback = isFinal ? callbackAndReset : increaseSequence(action || self.getKeyInfo(keys[j + 1]).action)\n self.bindSingle(keys[j], wrappedCallback, action, combo, j)\n }\n}\n","/* eslint-env node, browser */\n'use strict'\n/**\n * called to set a 1 second timeout on the specified sequence\n *\n * this is so after each key press in the sequence you have 1 second\n * to press the next key before you have to start over\n *\n * @returns void\n */\nmodule.exports = function () {\n var self = this\n\n clearTimeout(self.resetTimer)\n self.resetTimer = setTimeout(\n function () {\n self.resetSequences()\n },\n 1000\n )\n}\n","var off = require('./dom-event').off\nmodule.exports = function () {\n var self = this\n var element = self.element\n\n off(element, 'keypress', self.eventHandler)\n off(element, 'keydown', self.eventHandler)\n off(element, 'keyup', self.eventHandler)\n}\n","/* eslint-env node, browser */\n'use strict'\n\nmodule.exports = function () {\n var self = this\n\n self.instances.forEach(function (combokeys) {\n combokeys.reset()\n })\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".trapButton_a77 {\\n position: absolute;\\n left: -9999px;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"trapButton\": \"trapButton_a77\"\n};\nmodule.exports = exports;\n","(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (factory());\n}(this, (function () { 'use strict';\n\n /**\n * Applies the :focus-visible polyfill at the given scope.\n * A scope in this case is either the top-level Document or a Shadow Root.\n *\n * @param {(Document|ShadowRoot)} scope\n * @see https://github.com/WICG/focus-visible\n */\n function applyFocusVisiblePolyfill(scope) {\n var hadKeyboardEvent = true;\n var hadFocusVisibleRecently = false;\n var hadFocusVisibleRecentlyTimeout = null;\n\n var inputTypesWhitelist = {\n text: true,\n search: true,\n url: true,\n tel: true,\n email: true,\n password: true,\n number: true,\n date: true,\n month: true,\n week: true,\n time: true,\n datetime: true,\n 'datetime-local': true\n };\n\n /**\n * Helper function for legacy browsers and iframes which sometimes focus\n * elements like document, body, and non-interactive SVG.\n * @param {Element} el\n */\n function isValidFocusTarget(el) {\n if (\n el &&\n el !== document &&\n el.nodeName !== 'HTML' &&\n el.nodeName !== 'BODY' &&\n 'classList' in el &&\n 'contains' in el.classList\n ) {\n return true;\n }\n return false;\n }\n\n /**\n * Computes whether the given element should automatically trigger the\n * `focus-visible` class being added, i.e. whether it should always match\n * `:focus-visible` when focused.\n * @param {Element} el\n * @return {boolean}\n */\n function focusTriggersKeyboardModality(el) {\n var type = el.type;\n var tagName = el.tagName;\n\n if (tagName === 'INPUT' && inputTypesWhitelist[type] && !el.readOnly) {\n return true;\n }\n\n if (tagName === 'TEXTAREA' && !el.readOnly) {\n return true;\n }\n\n if (el.isContentEditable) {\n return true;\n }\n\n return false;\n }\n\n /**\n * Add the `focus-visible` class to the given element if it was not added by\n * the author.\n * @param {Element} el\n */\n function addFocusVisibleClass(el) {\n if (el.classList.contains('focus-visible')) {\n return;\n }\n el.classList.add('focus-visible');\n el.setAttribute('data-focus-visible-added', '');\n }\n\n /**\n * Remove the `focus-visible` class from the given element if it was not\n * originally added by the author.\n * @param {Element} el\n */\n function removeFocusVisibleClass(el) {\n if (!el.hasAttribute('data-focus-visible-added')) {\n return;\n }\n el.classList.remove('focus-visible');\n el.removeAttribute('data-focus-visible-added');\n }\n\n /**\n * If the most recent user interaction was via the keyboard;\n * and the key press did not include a meta, alt/option, or control key;\n * then the modality is keyboard. Otherwise, the modality is not keyboard.\n * Apply `focus-visible` to any current active element and keep track\n * of our keyboard modality state with `hadKeyboardEvent`.\n * @param {KeyboardEvent} e\n */\n function onKeyDown(e) {\n if (e.metaKey || e.altKey || e.ctrlKey) {\n return;\n }\n\n if (isValidFocusTarget(scope.activeElement)) {\n addFocusVisibleClass(scope.activeElement);\n }\n\n hadKeyboardEvent = true;\n }\n\n /**\n * If at any point a user clicks with a pointing device, ensure that we change\n * the modality away from keyboard.\n * This avoids the situation where a user presses a key on an already focused\n * element, and then clicks on a different element, focusing it with a\n * pointing device, while we still think we're in keyboard modality.\n * @param {Event} e\n */\n function onPointerDown(e) {\n hadKeyboardEvent = false;\n }\n\n /**\n * On `focus`, add the `focus-visible` class to the target if:\n * - the target received focus as a result of keyboard navigation, or\n * - the event target is an element that will likely require interaction\n * via the keyboard (e.g. a text box)\n * @param {Event} e\n */\n function onFocus(e) {\n // Prevent IE from focusing the document or HTML element.\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (hadKeyboardEvent || focusTriggersKeyboardModality(e.target)) {\n addFocusVisibleClass(e.target);\n }\n }\n\n /**\n * On `blur`, remove the `focus-visible` class from the target.\n * @param {Event} e\n */\n function onBlur(e) {\n if (!isValidFocusTarget(e.target)) {\n return;\n }\n\n if (\n e.target.classList.contains('focus-visible') ||\n e.target.hasAttribute('data-focus-visible-added')\n ) {\n // To detect a tab/window switch, we look for a blur event followed\n // rapidly by a visibility change.\n // If we don't see a visibility change within 100ms, it's probably a\n // regular focus change.\n hadFocusVisibleRecently = true;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n hadFocusVisibleRecentlyTimeout = window.setTimeout(function() {\n hadFocusVisibleRecently = false;\n }, 100);\n removeFocusVisibleClass(e.target);\n }\n }\n\n /**\n * If the user changes tabs, keep track of whether or not the previously\n * focused element had .focus-visible.\n * @param {Event} e\n */\n function onVisibilityChange(e) {\n if (document.visibilityState === 'hidden') {\n // If the tab becomes active again, the browser will handle calling focus\n // on the element (Safari actually calls it twice).\n // If this tab change caused a blur on an element with focus-visible,\n // re-apply the class when the user switches back to the tab.\n if (hadFocusVisibleRecently) {\n hadKeyboardEvent = true;\n }\n addInitialPointerMoveListeners();\n }\n }\n\n /**\n * Add a group of listeners to detect usage of any pointing devices.\n * These listeners will be added when the polyfill first loads, and anytime\n * the window is blurred, so that they are active when the window regains\n * focus.\n */\n function addInitialPointerMoveListeners() {\n document.addEventListener('mousemove', onInitialPointerMove);\n document.addEventListener('mousedown', onInitialPointerMove);\n document.addEventListener('mouseup', onInitialPointerMove);\n document.addEventListener('pointermove', onInitialPointerMove);\n document.addEventListener('pointerdown', onInitialPointerMove);\n document.addEventListener('pointerup', onInitialPointerMove);\n document.addEventListener('touchmove', onInitialPointerMove);\n document.addEventListener('touchstart', onInitialPointerMove);\n document.addEventListener('touchend', onInitialPointerMove);\n }\n\n function removeInitialPointerMoveListeners() {\n document.removeEventListener('mousemove', onInitialPointerMove);\n document.removeEventListener('mousedown', onInitialPointerMove);\n document.removeEventListener('mouseup', onInitialPointerMove);\n document.removeEventListener('pointermove', onInitialPointerMove);\n document.removeEventListener('pointerdown', onInitialPointerMove);\n document.removeEventListener('pointerup', onInitialPointerMove);\n document.removeEventListener('touchmove', onInitialPointerMove);\n document.removeEventListener('touchstart', onInitialPointerMove);\n document.removeEventListener('touchend', onInitialPointerMove);\n }\n\n /**\n * When the polfyill first loads, assume the user is in keyboard modality.\n * If any event is received from a pointing device (e.g. mouse, pointer,\n * touch), turn off keyboard modality.\n * This accounts for situations where focus enters the page from the URL bar.\n * @param {Event} e\n */\n function onInitialPointerMove(e) {\n // Work around a Safari quirk that fires a mousemove on <html> whenever the\n // window blurs, even if you're tabbing out of the page. ¯\\_(ツ)_/¯\n if (e.target.nodeName && e.target.nodeName.toLowerCase() === 'html') {\n return;\n }\n\n hadKeyboardEvent = false;\n removeInitialPointerMoveListeners();\n }\n\n // For some kinds of state, we are interested in changes at the global scope\n // only. For example, global pointer input, global key presses and global\n // visibility change should affect the state at every scope:\n document.addEventListener('keydown', onKeyDown, true);\n document.addEventListener('mousedown', onPointerDown, true);\n document.addEventListener('pointerdown', onPointerDown, true);\n document.addEventListener('touchstart', onPointerDown, true);\n document.addEventListener('visibilitychange', onVisibilityChange, true);\n\n addInitialPointerMoveListeners();\n\n // For focus and blur, we specifically care about state changes in the local\n // scope. This is because focus / blur events that originate from within a\n // shadow root are not re-dispatched from the host element if it was already\n // the active element in its own scope:\n scope.addEventListener('focus', onFocus, true);\n scope.addEventListener('blur', onBlur, true);\n\n // We detect that a node is a ShadowRoot by ensuring that it is a\n // DocumentFragment and also has a host property. This check covers native\n // implementation and polyfill implementation transparently. If we only cared\n // about the native implementation, we could just check if the scope was\n // an instance of a ShadowRoot.\n if (scope.nodeType === Node.DOCUMENT_FRAGMENT_NODE && scope.host) {\n // Since a ShadowRoot is a special kind of DocumentFragment, it does not\n // have a root element to add a class to. So, we add this attribute to the\n // host element instead:\n scope.host.setAttribute('data-js-focus-visible', '');\n } else if (scope.nodeType === Node.DOCUMENT_NODE) {\n document.documentElement.classList.add('js-focus-visible');\n document.documentElement.setAttribute('data-js-focus-visible', '');\n }\n }\n\n // It is important to wrap all references to global window and document in\n // these checks to support server-side rendering use cases\n // @see https://github.com/WICG/focus-visible/issues/199\n if (typeof window !== 'undefined' && typeof document !== 'undefined') {\n // Make the polyfill helper globally available. This can be used as a signal\n // to interested libraries that wish to coordinate with the polyfill for e.g.,\n // applying the polyfill to a shadow root:\n window.applyFocusVisiblePolyfill = applyFocusVisiblePolyfill;\n\n // Notify interested libraries of the polyfill's presence, in case the\n // polyfill was loaded lazily:\n var event;\n\n try {\n event = new CustomEvent('focus-visible-polyfill-ready');\n } catch (error) {\n // IE11 does not support using CustomEvent as a constructor directly:\n event = document.createEvent('CustomEvent');\n event.initCustomEvent('focus-visible-polyfill-ready', false, false, {});\n }\n\n window.dispatchEvent(event);\n }\n\n if (typeof document !== 'undefined') {\n // Apply the polyfill to the global document, so that no JavaScript\n // coordination is required to use the polyfill in the top-level document:\n applyFocusVisiblePolyfill(document);\n }\n\n})));\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_ICSS_IMPORT_1___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../button-group/button-group.css\");\nvar ___CSS_LOADER_ICSS_IMPORT_2___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../button-set/button-set.css\");\nvar ___CSS_LOADER_ICSS_IMPORT_3___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../button-toolbar/button-toolbar.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_ICSS_IMPORT_1___, \"\", true);\nexports.i(___CSS_LOADER_ICSS_IMPORT_2___, \"\", true);\nexports.i(___CSS_LOADER_ICSS_IMPORT_3___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.danger_cf9:hover {\\n transition: none;\\n }}\\n\\n:root {\\n /* TODO: This colors are not ready to move to variables.css */\\n /* stylelint-disable color-no-hex */\\n --ring-button-primary-background-color: #1a98ff;\\n --ring-button-primary-border-color: #0062b2;\\n --ring-button-danger-active-color: #ffe7e8;\\n --ring-button-danger-hover-color: var(--ring-icon-error-color);\\n --ring-button-loader-background: #33a3ff;\\n --ring-button-dark-icon-color: #80929d;\\n --ring-button-dark-border-disabled-color: #333;\\n --ring-button-dark-icon-disabled-color: var(--ring-dark-disabled-color);\\n --ring-button-dark-danger-active-color: #26080a;\\n --ring-button-dark-danger-hover-color: var(--ring-error-color);\\n --ring-button-dark-active-color: #062640;\\n --ring-button-dark-loader-background: #002039;\\n /* stylelint-enable color-no-hex */\\n}\\n\\n.light_cfe {\\n color: #1f2326;\\n color: var(--ring-text-color);\\n background-color: #fff;\\n background-color: var(--ring-content-background-color);\\n box-shadow: inset 0 0 0 1px #b8d1e5;\\n box-shadow: inset 0 0 0 1px var(--ring-borders-color)\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.light_cfe:hover {\\n box-shadow: inset 0 0 0 1px #80c6ff;\\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color);\\n }}\\n\\n.light_cfe:active,\\n .light_cfe.active_d34 {\\n background-color: #d4edff;\\n background-color: var(--ring-selected-background-color);\\n box-shadow: inset 0 0 0 1px #80c6ff;\\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color);\\n }\\n\\n.light_cfe.focus-visible {\\n box-shadow: inset 0 0 0 1px #80c6ff, 0 0 0 1px #80c6ff;\\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color), 0 0 0 1px var(--ring-border-hover-color);\\n }\\n\\n.light_cfe[disabled] {\\n box-shadow: inset 0 0 0 1px #dbdbdb;\\n box-shadow: inset 0 0 0 1px var(--ring-border-disabled-color);\\n }\\n\\n.light_cfe[disabled],\\n .light_cfe[disabled].withIcon_32e {\\n color: #999;\\n color: var(--ring-disabled-color);\\n }\\n\\n.light_cfe[disabled] .icon_f6a {\\n color: #bbb;\\n color: var(--ring-icon-disabled-color);\\n }\\n\\n.light_cfe.primary_5fd:active,\\n .light_cfe.primary_5fd.active_d34 {\\n background-color: #1a98ff;\\n background-color: var(--ring-button-primary-background-color);\\n box-shadow: inset 0 0 0 1px #0062b2;\\n box-shadow: inset 0 0 0 1px var(--ring-button-primary-border-color);\\n }\\n\\n.light_cfe.danger_cf9:active,\\n .light_cfe.danger_cf9.active_d34 {\\n background-color: #ffe7e8;\\n background-color: var(--ring-button-danger-active-color);\\n }\\n\\n.light_cfe.danger_cf9:active,\\n .light_cfe.danger_cf9.active_d34,\\n .light_cfe.danger_cf9.focus-visible {\\n box-shadow: inset 0 0 0 1px #db5860;\\n box-shadow: inset 0 0 0 1px var(--ring-button-danger-hover-color);\\n }\\n\\n.light_cfe.withIcon_32e {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n }\\n\\n.light_cfe.onlyIcon_900 {\\n color: #999;\\n color: var(--ring-icon-secondary-color);\\n }\\n\\n.light_cfe .loaderBackground_bfc::before {\\n background-image:\\n linear-gradient(\\n to right,\\n #fff,\\n #d4edff 40%,\\n #fff 80%\\n );\\n background-image:\\n linear-gradient(\\n to right,\\n var(--ring-content-background-color),\\n var(--ring-selected-background-color) 40%,\\n var(--ring-content-background-color) 80%\\n );\\n }\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.light_cfe.danger_cf9:hover {\\n box-shadow: inset 0 0 0 1px #db5860;\\n box-shadow: inset 0 0 0 1px var(--ring-button-danger-hover-color);\\n}}\\n\\n.dark_f7c {\\n color: #888;\\n color: var(--ring-dark-secondary-color);\\n background-color: #000;\\n background-color: var(--ring-navigation-background-color);\\n box-shadow: inset 0 0 0 1px #406380;\\n box-shadow: inset 0 0 0 1px var(--ring-dark-borders-color)\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.dark_f7c:hover {\\n box-shadow: inset 0 0 0 1px #70b1e6;\\n box-shadow: inset 0 0 0 1px var(--ring-dark-border-hover-color);\\n }}\\n\\n.dark_f7c:active,\\n .dark_f7c.active_d34 {\\n color: #fff;\\n color: var(--ring-dark-text-color);\\n background-color: #062640;\\n background-color: var(--ring-button-dark-active-color);\\n box-shadow: inset 0 0 0 1px #70b1e6;\\n box-shadow: inset 0 0 0 1px var(--ring-dark-border-hover-color);\\n }\\n\\n.dark_f7c.focus-visible {\\n box-shadow: inset 0 0 0 1px #70b1e6, 0 0 0 1px #70b1e6;\\n box-shadow: inset 0 0 0 1px var(--ring-dark-border-hover-color), 0 0 0 1px var(--ring-dark-border-hover-color);\\n }\\n\\n.dark_f7c[disabled] {\\n box-shadow: inset 0 0 0 1px #333;\\n box-shadow: inset 0 0 0 1px var(--ring-button-dark-border-disabled-color);\\n }\\n\\n.dark_f7c[disabled],\\n .dark_f7c[disabled].withIcon_32e {\\n color: #444;\\n color: var(--ring-dark-disabled-color);\\n }\\n\\n.dark_f7c[disabled] .icon_f6a {\\n color: #444;\\n color: var(--ring-button-dark-icon-disabled-color);\\n }\\n\\n.dark_f7c.primary_5fd:active,\\n .dark_f7c.primary_5fd.active_d34 {\\n background-color: #007ee5;\\n background-color: var(--ring-main-hover-color);\\n box-shadow: inset 0 0 0 1px #80c6ff;\\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color);\\n }\\n\\n.dark_f7c.danger_cf9:active,\\n .dark_f7c.danger_cf9.active_d34 {\\n color: #db5860;\\n color: var(--ring-icon-error-color);\\n background-color: #26080a;\\n background-color: var(--ring-button-dark-danger-active-color);\\n }\\n\\n.dark_f7c.danger_cf9:active,\\n .dark_f7c.danger_cf9.active_d34,\\n .dark_f7c.danger_cf9.focus-visible {\\n box-shadow: inset 0 0 0 1px #c22731;\\n box-shadow: inset 0 0 0 1px var(--ring-button-dark-danger-hover-color);\\n }\\n\\n.dark_f7c.withIcon_32e {\\n color: #888;\\n color: var(--ring-dark-secondary-color);\\n }\\n\\n.dark_f7c .loaderBackground_bfc::before {\\n background-image:\\n linear-gradient(\\n to right,\\n #000,\\n #002039 40%,\\n #000 80%\\n );\\n background-image:\\n linear-gradient(\\n to right,\\n var(--ring-navigation-background-color),\\n var(--ring-button-dark-loader-background) 40%,\\n var(--ring-navigation-background-color) 80%\\n );\\n }\\n\\n.dark_f7c .dropdownIcon_04c {\\n color: #888;\\n color: var(--ring-dark-secondary-color);\\n }\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.dark_f7c.danger_cf9:hover {\\n box-shadow: inset 0 0 0 1px #c22731;\\n box-shadow: inset 0 0 0 1px var(--ring-button-dark-danger-hover-color);\\n}}\\n\\n.button_310 {\\n\\n position: relative;\\n\\n display: inline-block;\\n\\n box-sizing: border-box;\\n height: 24px;\\n margin: 0;\\n padding: 0 16px;\\n\\n cursor: pointer;\\n transition: color 0.3s ease-out, background-color 0.3s ease-out, box-shadow 0.3s ease-out;\\n transition: color var(--ring-ease), background-color var(--ring-ease), box-shadow var(--ring-ease);\\n text-decoration: none;\\n\\n border: 0;\\n border-radius: 3px;\\n border-radius: var(--ring-border-radius);\\n outline: 0;\\n\\n font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;\\n\\n font-family: var(--ring-font-family);\\n font-size: 12px;\\n font-size: var(--ring-font-size-smaller);\\n\\n line-height: 24px\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.button_310:hover {\\n transition: none;\\n }}\\n\\n.button_310.focus-visible {\\n transition: none;\\n }\\n\\n.button_310[disabled] {\\n pointer-events: none;\\n }\\n\\n.button_310::-moz-focus-inner {\\n padding: 0;\\n\\n border: 0;\\n outline: 0;\\n }\\n\\n.button_310.narrowRight_68c {\\n padding-right: 12px;\\n }\\n\\n.active_d34 {\\n}\\n\\n.primary_5fd {\\n color: #fff;\\n color: var(--ring-dark-text-color);\\n background-color: #008eff;\\n background-color: var(--ring-main-color);\\n box-shadow: none\\n}\\n\\n.primary_5fd.withIcon_32e,\\n .primary_5fd.withIcon_32e:active,\\n .primary_5fd.withIcon_32e.active_d34 {\\n color: #008eff;\\n color: var(--ring-main-color);\\n }\\n\\n.primary_5fd.focus-visible {\\n transition: none;\\n\\n background-color: #007ee5;\\n\\n background-color: var(--ring-main-hover-color);\\n box-shadow: none;\\n }\\n\\n.primary_5fd[disabled] {\\n background-color: #fff;\\n background-color: var(--ring-content-background-color);\\n box-shadow: inset 0 0 0 1px #b8d1e5;\\n box-shadow: inset 0 0 0 1px var(--ring-borders-color);\\n }\\n\\n.primary_5fd .loaderBackground_bfc {\\n top: 0;\\n right: 0;\\n bottom: 0;\\n left: 0;\\n\\n border-radius: 3px;\\n\\n border-radius: var(--ring-border-radius)\\n }\\n\\n.primary_5fd .loaderBackground_bfc::before {\\n background-image:\\n linear-gradient(\\n to right,\\n #008eff,\\n #33a3ff 40%,\\n #008eff 80%\\n );\\n background-image:\\n linear-gradient(\\n to right,\\n var(--ring-main-color),\\n var(--ring-button-loader-background) 40%,\\n var(--ring-main-color) 80%\\n );\\n }\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.primary_5fd:hover {\\n transition: none;\\n\\n background-color: #007ee5;\\n\\n background-color: var(--ring-main-hover-color);\\n box-shadow: none;\\n}}\\n\\n.danger_cf9,\\n .danger_cf9.withIcon_32e,\\n .danger_cf9.withIcon_32e:active,\\n .danger_cf9.withIcon_32e.active_d34,\\n .danger_cf9.text_7a5,\\n .danger_cf9.text_7a5:active,\\n .danger_cf9.text_7a5.active_d34 {\\n color: #c22731;\\n color: var(--ring-error-color);\\n }\\n\\n.danger_cf9.focus-visible {\\n transition: none;\\n }\\n\\n.dark_f7c.danger_cf9,\\n .dark_f7c.danger_cf9:active,\\n .dark_f7c.danger_cf9.active_d34 {\\n color: #db5860;\\n color: var(--ring-icon-error-color);\\n }\\n\\n.text_7a5.text_7a5,\\n.withIcon_32e.withIcon_32e {\\n background-color: transparent;\\n box-shadow: none\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.text_7a5.text_7a5:hover, .withIcon_32e.withIcon_32e:hover {\\n transition: none;\\n }}\\n\\n.text_7a5.text_7a5:active,\\n .text_7a5.text_7a5.active_d34,\\n .withIcon_32e.withIcon_32e:active,\\n .withIcon_32e.withIcon_32e.active_d34 {\\n background-color: transparent;\\n box-shadow: none;\\n }\\n\\n.text_7a5.text_7a5.focus-visible, .withIcon_32e.withIcon_32e.focus-visible {\\n box-shadow: inset 0 0 0 2px #80c6ff;\\n box-shadow: inset 0 0 0 2px var(--ring-border-hover-color);\\n }\\n\\n.loader_38f.text_7a5 > .content_588 {\\n -webkit-animation-name: text-loading_7c1;\\n animation-name: text-loading_7c1;\\n -webkit-animation-duration: 1200ms;\\n animation-duration: 1200ms;\\n -webkit-animation-iteration-count: infinite;\\n animation-iteration-count: infinite;\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.text_7a5.text_7a5:hover {\\n background-color: transparent;\\n box-shadow: none;\\n}}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.withIcon_32e:hover:not(.focus-visible) {\\n background-color: transparent;\\n box-shadow: none;\\n}}\\n\\n.text_7a5 {\\n color: #008eff;\\n color: var(--ring-main-color);\\n}\\n\\n.inline_908 {\\n display: inline-block;\\n\\n margin: 0;\\n padding: 0;\\n\\n font-size: 13px;\\n\\n font-size: var(--ring-font-size);\\n}\\n\\n.withIcon_32e {\\n padding: 0 8px;\\n}\\n\\n.withIcon_32e:active,\\n .withIcon_32e.active_d34,\\n .text_7a5:active,\\n .text_7a5.active_d34 {\\n color: #008eff;\\n color: var(--ring-main-color);\\n }\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.withIcon_32e:hover {\\n color: #ff008c;\\n color: var(--ring-link-hover-color);\\n}}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.text_7a5:hover {\\n color: #ff008c;\\n color: var(--ring-link-hover-color);\\n}}\\n\\n.onlyIcon_900.focus-visible {\\n color: #80c6ff;\\n color: var(--ring-border-hover-color);\\n }\\n\\n.onlyIcon_900:active,\\n .onlyIcon_900.active_d34 {\\n color: #008eff;\\n color: var(--ring-main-color);\\n }\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.onlyIcon_900:hover {\\n color: #80c6ff;\\n color: var(--ring-border-hover-color);\\n}}\\n\\n.icon_f6a {\\n color: inherit;\\n\\n line-height: normal\\n}\\n\\n.icon_f6a:not(:last-child) {\\n margin-right: 4px;\\n }\\n\\n.withNormalIconLight_c74 .icon_f6a {\\n transition: color 0.3s ease-out;\\n transition: color var(--ring-ease);\\n\\n color: #b8d1e5;\\n\\n color: var(--ring-icon-color);\\n}\\n\\n.withNormalIconDark_bbc .icon_f6a {\\n transition: color 0.3s ease-out;\\n transition: color var(--ring-ease);\\n\\n color: #80929d;\\n\\n color: var(--ring-button-dark-icon-color);\\n}\\n\\n.withNormalIconLight_c74:active,\\n.withNormalIconLight_c74.active_d34,\\n.withNormalIconDark_bbc:active,\\n.withNormalIconDark_bbc.active_d34 {\\n color: #008eff;\\n color: var(--ring-main-color)\\n}\\n\\n.withNormalIconLight_c74:active .icon_f6a, .withNormalIconLight_c74.active_d34 .icon_f6a, .withNormalIconDark_bbc:active .icon_f6a, .withNormalIconDark_bbc.active_d34 .icon_f6a {\\n transition: none;\\n\\n color: inherit;\\n }\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.withNormalIconLight_c74:hover .icon_f6a,\\n.withNormalIconDark_bbc:hover .icon_f6a,\\n.withDangerIconLight_449:hover .icon_f6a,\\n.withDangerIconDark_be7:hover .icon_f6a {\\n transition: none;\\n\\n color: inherit;\\n}}\\n\\n.withDangerIconLight_449 .icon_f6a,\\n.withDangerIconLight_449:active .icon_f6a {\\n color: #db5860;\\n color: var(--ring-icon-error-color);\\n}\\n\\n.withDangerIconDark_be7 .icon_f6a,\\n.withDangerIconDark_be7:active .icon_f6a {\\n color: #c22731;\\n color: var(--ring-error-color);\\n}\\n\\n.buttonWithoutIcon_b6a .icon_f6a {\\n display: none;\\n}\\n\\n.loader_38f {\\n position: relative;\\n z-index: 0;\\n\\n pointer-events: none;\\n\\n background-color: transparent;\\n}\\n\\n.loaderBackground_bfc {\\n position: absolute;\\n z-index: -1;\\n top: 1px;\\n right: 1px;\\n bottom: 1px;\\n left: 1px;\\n\\n overflow: hidden;\\n\\n border-radius: 2px;\\n\\n border-radius: var(--ring-border-radius-small)\\n}\\n\\n.loaderBackground_bfc::before {\\n display: block;\\n\\n width: calc(100% + 64px);\\n height: 100%;\\n\\n content: '';\\n -webkit-animation: progress_5c3 1s linear infinite;\\n animation: progress_5c3 1s linear infinite;\\n\\n background-repeat: repeat;\\n background-size: 64px;\\n }\\n\\n.delayed_e4e .content_588::after {\\n content: '…';\\n}\\n\\n.short_6b7 {\\n width: 32px;\\n padding: 0;\\n}\\n\\n.dropdownIcon_04c {\\n margin-right: -2px;\\n\\n margin-left: 2px;\\n\\n transition: color 0.3s ease-out;\\n\\n transition: color var(--ring-ease);\\n\\n color: #999;\\n\\n color: var(--ring-icon-secondary-color);\\n\\n line-height: normal;\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.button_310:hover .dropdownIcon_04c {\\n transition: none;\\n\\n color: #008eff;\\n\\n color: var(--ring-main-color);\\n}}\\n\\n@-webkit-keyframes progress_5c3 {\\n from {\\n transform: translateX(-64px);\\n }\\n\\n to {\\n transform: translateX(0);\\n }\\n}\\n\\n@keyframes progress_5c3 {\\n from {\\n transform: translateX(-64px);\\n }\\n\\n to {\\n transform: translateX(0);\\n }\\n}\\n\\n@-webkit-keyframes text-loading_7c1 {\\n 50% {\\n opacity: 0.5;\\n }\\n}\\n\\n@keyframes text-loading_7c1 {\\n 50% {\\n opacity: 0.5;\\n }\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"button-shadow\": \"inset 0 0 0 1px\",\n\t\"height\": \"24px\",\n\t\"loaderWidth\": \"64px\",\n\t\"danger\": \"danger_cf9\",\n\t\"light\": \"light_cfe\",\n\t\"active\": \"active_d34 \" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\"active\"] + \"\",\n\t\"withIcon\": \"withIcon_32e\",\n\t\"icon\": \"icon_f6a\",\n\t\"primary\": \"primary_5fd\",\n\t\"onlyIcon\": \"onlyIcon_900\",\n\t\"loaderBackground\": \"loaderBackground_bfc\",\n\t\"dark\": \"dark_f7c\",\n\t\"dropdownIcon\": \"dropdownIcon_04c\",\n\t\"button\": \"button_310 \" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\"button\"] + \" \" + ___CSS_LOADER_ICSS_IMPORT_2___.locals[\"button\"] + \" \" + ___CSS_LOADER_ICSS_IMPORT_3___.locals[\"button\"] + \"\",\n\t\"narrowRight\": \"narrowRight_68c\",\n\t\"text\": \"text_7a5\",\n\t\"loader\": \"loader_38f\",\n\t\"content\": \"content_588\",\n\t\"text-loading\": \"text-loading_7c1\",\n\t\"inline\": \"inline_908\",\n\t\"withNormalIconLight\": \"withNormalIconLight_c74\",\n\t\"withNormalIconDark\": \"withNormalIconDark_bbc\",\n\t\"withDangerIconLight\": \"withDangerIconLight_449\",\n\t\"withDangerIconDark\": \"withDangerIconDark_be7\",\n\t\"buttonWithoutIcon\": \"buttonWithoutIcon_b6a\",\n\t\"progress\": \"progress_5c3\",\n\t\"delayed\": \"delayed_e4e\",\n\t\"short\": \"short_6b7\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".popup_009 {\\n\\n position: fixed;\\n z-index: 5;\\n z-index: var(--ring-overlay-z-index);\\n top: -100vh;\\n left: -100vw;\\n\\n overflow-y: auto;\\n\\n box-sizing: border-box;\\n\\n border: 1px solid rgba(0, 42, 76, 0.1);\\n\\n border: 1px solid var(--ring-popup-border-color);\\n border-radius: 3px;\\n border-radius: var(--ring-border-radius);\\n\\n background-color: #fff;\\n\\n background-color: var(--ring-popup-background-color);\\n box-shadow: 0 2px 16px 0 rgba(0, 42, 76, 0.15);\\n box-shadow: 0 2px 16px 0 var(--ring-popup-shadow-color);\\n}\\n\\n.hidden_138 {\\n display: none;\\n}\\n\\n.showing_a8d {\\n opacity: 0;\\n}\\n\\n.attached_5ed {\\n border-top: 0;\\n border-top-left-radius: 0;\\n border-top-right-radius: 0;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"popup\": \"popup_009 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"font\"] + \"\",\n\t\"hidden\": \"hidden_138\",\n\t\"showing\": \"showing_a8d\",\n\t\"attached\": \"attached_5ed\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".dialog_925.dialog_925 {\\n width: auto;\\n max-width: 400px;\\n}\\n\\n.content_ca6 {\\n\\n display: flex;\\n align-items: center;\\n flex-direction: column;\\n\\n margin: 32px;\\n}\\n\\n.button_0c2 {\\n width: 200px;\\n margin-top: 8px;\\n}\\n\\n.firstButton_b4d {\\n\\n margin-top: 32px;\\n}\\n\\n.title_05f {\\n margin-bottom: 8px;\\n\\n text-align: center;\\n\\n font-size: 24px;\\n font-weight: 100;\\n line-height: 28px;\\n}\\n\\n.logo_1ea {\\n width: 96px;\\n height: 96px;\\n margin-bottom: 12px;\\n -o-object-fit: contain;\\n object-fit: contain;\\n}\\n\\n.error_3ec {\\n text-align: center;\\n\\n color: #c22731;\\n\\n color: var(--ring-error-color);\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"dialog\": \"dialog_925\",\n\t\"content\": \"content_ca6 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"font\"] + \"\",\n\t\"button\": \"button_0c2\",\n\t\"firstButton\": \"firstButton_b4d button_0c2\",\n\t\"title\": \"title_05f\",\n\t\"logo\": \"logo_1ea\",\n\t\"error\": \"error_3ec\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".avatar_ef6 {\\n -o-object-fit: contain;\\n object-fit: contain;\\n -o-object-position: center;\\n object-position: center;\\n\\n border-radius: 3px;\\n\\n border-radius: var(--ring-border-radius); /* This is a \\\"graceful degradation\\\" fallback, while the real value is controlled by JS */\\n}\\n\\n.subavatar_596 {\\n position: absolute;\\n top: 15px;\\n left: 27px;\\n\\n border: 1px #fff solid;\\n\\n border: 1px var(--ring-content-background-color) solid;\\n}\\n\\n.empty_1c2 {\\n display: inline-block;\\n\\n box-sizing: border-box;\\n\\n border: 1px solid #b8d1e5;\\n\\n border: 1px solid var(--ring-borders-color);\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"avatar\": \"avatar_ef6\",\n\t\"subavatar\": \"subavatar_596\",\n\t\"empty\": \"empty_1c2\"\n};\nmodule.exports = exports;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./avatar-editor.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".ring-avatar-editor{position:relative;width:40px;height:40px;text-align:center;padding:1px}.ring-avatar-editor:after{content:\\\"\\\";display:inline-block;width:0;height:40px;vertical-align:middle}.ring-avatar-editor_right{float:right}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-avatar-editor:hover:not(:disabled):not(.ring-avatar-editor_controlled){border:1px solid #ff008c;border:1px solid var(--ring-link-hover-color);padding:0}}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-avatar-editor:hover:not(:disabled):not(.ring-avatar-editor_controlled) .ring-avatar-editor__icon{visibility:visible}}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-avatar-editor:hover:not(:disabled):not(.ring-avatar-editor_controlled) .ring-avatar-editor__img{outline:0}}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-avatar-editor:hover:not(:disabled):not(.ring-avatar-editor_controlled):before{content:\\\"\\\";position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.8)}}.ring-avatar-editor__img{max-width:40px;max-height:40px;vertical-align:middle;cursor:pointer}.ring-avatar-editor__file-input{visibility:hidden;position:absolute;left:-10000px}.ring-avatar-editor__icon{visibility:hidden;position:absolute;left:0;top:10px;line-height:14px;width:100%;color:#fff}.ring-avatar-editor__frame{cursor:pointer;display:inline-block;vertical-align:top;border:1px solid #999;border:1px solid var(--ring-disabled-color);padding:0}.ring-avatar-editor__remove{display:inline-block;vertical-align:top;margin-left:16px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","module.exports = \"<div>\\n <div ng-click=\\\"!ngDisabled && controls.select()\\\" class=\\\"ring-avatar-editor__frame\\\" ng-class=\\\"{\\n 'ring-avatar-editor_controlled': controlled,\\n 'ring-avatar-editor': !ngDisabled\\n }\\\" ng-show=\\\"model || default\\\">\\n <img alt=\\\"Avatar\\\" class=\\\"ring-avatar-editor__img\\\" ng-src=\\\"{{ model }}\\\" ng-show=\\\"model\\\">\\n <img alt=\\\"Default avatar\\\" class=\\\"ring-avatar-editor__img\\\" ng-src=\\\"{{ default }}\\\"\\n ng-show=\\\"!model && default\\\" ng-click=\\\"!ngDisabled && controls.select()\\\">\\n <rg-icon glyph=\\\"{{editIcon}}\\\" size=\\\"16\\\" class=\\\"ring-avatar-editor__icon\\\" ng-if=\\\"!ngDisabled\\\"></rg-icon>\\n </div>\\n <input class=\\\"ring-avatar-editor__file-input\\\" rg-avatar-editor-file-input type=\\\"file\\\" ng-model=\\\"fileInput\\\" accept=\\\"image/*\\\" ng-if=\\\"!ngDisabled\\\">\\n\\n <rg-button\\n delayed=\\\"true\\\"\\n ng-disabled=\\\"ngDisabled\\\"\\n ng-if=\\\"showAddButton && !model && !default\\\"\\n ng-click=\\\"controls.select()\\\"\\n >{{ getAddMessage() }}</rg-button>\\n\\n <rg-button\\n ng-if=\\\"showDeleteButton&& model && !ngDisabled\\\"\\n danger=\\\"true\\\"\\n class=\\\"ring-avatar-editor__remove\\\"\\n ng-click=\\\"controls.remove()\\\"\\n >\\n <span translate>{{ getDeleteLabel() }}</span>\\n </rg-button>\\n</div>\\n\";","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".badge_52b {\\n display: inline-block;\\n\\n box-sizing: border-box;\\n height: 20px;\\n padding: 0 8px;\\n\\n cursor: default;\\n\\n vertical-align: baseline;\\n\\n color: #737577;\\n\\n color: var(--ring-secondary-color);\\n border: 1px #dfe5eb solid;\\n border: 1px var(--ring-line-color) solid;\\n border-radius: 3px;\\n border-radius: var(--ring-border-radius);\\n background-color: #fff;\\n background-color: var(--ring-content-background-color);\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n font-weight: normal;\\n font-style: normal;\\n line-height: 17px\\n}\\n\\n.badge_52b.gray_740 {\\n color: #1f2326;\\n color: var(--ring-text-color);\\n background-color: #e6ecf2;\\n background-color: var(--ring-tag-background-color);\\n }\\n\\n.badge_52b.valid_3ac {\\n color: #1b8833;\\n color: var(--ring-success-color);\\n }\\n\\n.badge_52b.invalid_6b8 {\\n color: #c22731;\\n color: var(--ring-error-color);\\n }\\n\\n.badge_52b.disabled_5e9 {\\n /* Deprecated: duplicates invalid */\\n\\n color: #c22731;\\n\\n color: var(--ring-error-color);\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"badge\": \"badge_52b\",\n\t\"gray\": \"gray_740\",\n\t\"valid\": \"valid_3ac\",\n\t\"invalid\": \"invalid_6b8\",\n\t\"disabled\": \"disabled_5e9\"\n};\nmodule.exports = exports;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./breadcrumb.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".ring-breadcrumb{margin:20px 0 24px;font-size:0}.ring-breadcrumb_header{margin-bottom:0}.ring-breadcrumb_small .ring-breadcrumb__element{display:inline-block;height:16px;line-height:14px;font-size:13px;font-size:var(--ring-font-size)}.ring-breadcrumb__element{display:inline-block;height:24px;font-size:24px;line-height:28px;text-decoration:none}.ring-breadcrumb__element .ring-breadcrumb{display:inline}.ring-breadcrumb__element>span{display:inline-block}.ring-breadcrumb__element_active,.ring-breadcrumb .active{cursor:default}.ring-breadcrumb__element__description{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:inline-block;position:relative;top:2px;width:400px;padding-left:16px;font-size:13px;font-size:var(--ring-font-size);line-height:16px}.ring-breadcrumb__sep__icon{margin:0 2px;margin-top:-14px;color:#bbb;color:var(--ring-icon-disabled-color)}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","module.exports = \"<div class=\\\"ring-breadcrumb\\\">\\n <span class=\\\"ring-breadcrumb__element\\\" ng-show=\\\"label\\\">\\n <rg-link\\n ng-if=\\\"link\\\"\\n ng-href=\\\"{{link}}\\\"\\n >{{label}}</rg-link>\\n\\n <rg-link ng-if=\\\"!link && onClick\\\"\\n ng-class=\\\"onClick && 'ring-link'\\\"\\n ng-click=\\\"onClick({$event: $event})\\\">{{label}}</rg-link>\\n\\n <span ng-if=\\\"!link && !onClick\\\" ng-click=\\\"onClick({$event: $event})\\\">{{label}}</span>\\n </span>\\n\\n <span class=\\\"ring-breadcrumb__sep\\\" ng-show=\\\"label\\\">\\n <rg-icon\\n class=\\\"ring-breadcrumb__sep__icon\\\"\\n glyph=\\\"{{'' | breadcrumbNgChevronIcon}}\\\"\\n ></rg-icon>\\n </span>\\n\\n <span class=\\\"ring-breadcrumb__element active\\\" ng-transclude></span>\\n</div>\\n\";","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".buttonGroup_2f0 {\\n font-size: 0;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"buttonGroup\": \"buttonGroup_2f0\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \"/* stylelint-disable-next-line selector-type-no-unknown */\\n.ringIconDefaultColor_8df rg-icon,\\n.ringIconDefaultColor_8df .ring-icon {\\n color: #999;\\n color: var(--ring-icon-secondary-color);\\n}\\n\\n.iconMarginFix_2ae.iconMarginFix_2ae {\\n margin-right: 0;\\n}\\n\\n.transcludeSpacer_c69:not(:empty) {\\n margin-left: 4px;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"ringIconDefaultColor\": \"ringIconDefaultColor_8df\",\n\t\"iconMarginFix\": \"iconMarginFix_2ae\",\n\t\"transcludeSpacer\": \"transcludeSpacer_c69\"\n};\nmodule.exports = exports;\n","module.exports = \"<div class=\\\"${require('../button-set/button-set.css').buttonSet}\\\" ng-transclude></div>\\n\";","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".checkbox_e82 {\\n position: relative;\\n\\n display: inline-block;\\n\\n text-align: left;\\n\\n color: #1f2326;\\n\\n color: var(--ring-text-color);\\n outline: none\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.checkbox_e82:hover .cell_ff0 {\\n transition: background-color 0.3s ease-out;\\n transition: background-color var(--ring-ease);\\n\\n border-color: #80c6ff;\\n\\n border-color: var(--ring-border-hover-color);\\n }}\\n\\n.cell_ff0 {\\n position: relative;\\n top: -2px;\\n\\n display: inline-block;\\n\\n box-sizing: border-box;\\n width: 14px;\\n height: 14px;\\n\\n -webkit-user-select: none;\\n\\n -moz-user-select: none;\\n\\n -ms-user-select: none;\\n\\n user-select: none;\\n transition: border-color 0.3s ease-out, background-color 0.3s ease-out, box-shadow 0.3s ease-out;\\n transition: border-color var(--ring-ease), background-color var(--ring-ease), box-shadow var(--ring-ease);\\n vertical-align: middle;\\n pointer-events: none;\\n\\n border: 1px solid #b8d1e5;\\n\\n border: 1px solid var(--ring-borders-color);\\n border-radius: 3px;\\n background-color: #fff;\\n background-color: var(--ring-content-background-color);\\n}\\n\\n.icon_5de.icon_5de {\\n position: absolute;\\n top: -12px;\\n left: 1px;\\n\\n width: 16px;\\n height: 16px;\\n\\n transition: opacity 0.15s ease-out, transform 0.15s ease-out;\\n\\n transition: opacity var(--ring-fast-ease), transform var(--ring-fast-ease);\\n\\n opacity: 0\\n}\\n\\n.icon_5de.icon_5de svg {\\n position: absolute;\\n top: 0;\\n left: 0;\\n }\\n\\n.input_d49 {\\n position: absolute;\\n top: 0;\\n left: 0;\\n\\n width: 100%;\\n height: 100%;\\n margin: 0;\\n\\n cursor: pointer;\\n\\n opacity: 0\\n}\\n\\n.input_d49:checked + .cell_ff0 {\\n border-color: #80c6ff;\\n border-color: var(--ring-border-hover-color);\\n background-color: #d4edff;\\n background-color: var(--ring-selected-background-color)\\n\\n /* stylelint-disable-next-line selector-max-specificity */\\n }\\n\\n.input_d49:checked + .cell_ff0 .icon_5de {\\n transform: translateY(8px);\\n\\n opacity: 1;\\n }\\n\\n.input_d49:focus + .cell_ff0,\\n .input_d49.focus_91c + .cell_ff0 {\\n transition: background-color 0.3s ease-out;\\n transition: background-color var(--ring-ease);\\n\\n border-color: #80c6ff;\\n\\n border-color: var(--ring-border-hover-color);\\n box-shadow: 0 0 0 1px #80c6ff;\\n box-shadow: 0 0 0 1px var(--ring-border-hover-color);\\n }\\n\\n.input_d49[disabled] {\\n pointer-events: none;\\n }\\n\\n.input_d49[disabled] + .cell_ff0 {\\n border-color: #dfe5eb;\\n border-color: var(--ring-line-color);\\n background-color: #fff;\\n background-color: var(--ring-content-background-color);\\n }\\n\\n.input_d49 {\\n\\n /* stylelint-disable-next-line selector-max-specificity */\\n}\\n\\n.input_d49[disabled]:checked + .cell_ff0 .icon_5de {\\n opacity: 0.5;\\n }\\n\\n.input_d49[disabled] ~ .label_0f3 {\\n color: #999;\\n color: var(--ring-disabled-color);\\n }\\n\\n.label_0f3 {\\n margin-left: 8px;\\n\\n line-height: normal;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"checkboxSize\": \"14px\",\n\t\"checkbox\": \"checkbox_e82\",\n\t\"cell\": \"cell_ff0\",\n\t\"icon\": \"icon_5de\",\n\t\"input\": \"input_d49\",\n\t\"focus\": \"focus_91c\",\n\t\"label\": \"label_0f3\"\n};\nmodule.exports = exports;\n","var global = require('./_global');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar dP = require('./_object-dp').f;\nvar gOPN = require('./_object-gopn').f;\nvar isRegExp = require('./_is-regexp');\nvar $flags = require('./_flags');\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function () {\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n $RegExp = function RegExp(p, f) {\n var tiRE = this instanceof $RegExp;\n var piRE = isRegExp(p);\n var fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function (key) {\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function () { return Base[key]; },\n set: function (it) { Base[key] = it; }\n });\n };\n for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"/*\\n Custom theme for highlight.js\\n Based on \\\"idea.css\\\" and \\\"darcula.css\\\" themes of hljs distributive\\n*/\\n\\n.highlightContainer_64e.hljs {\\n display: block;\\n overflow-x: auto;\\n\\n color: #000;\\n\\n color: var(--ring-code-color);\\n }\\n\\n.highlightContainer_64e .hljs-subst,\\n .highlightContainer_64e .hljs-title {\\n color: #000;\\n color: var(--ring-code-color);\\n\\n font-weight: normal;\\n }\\n\\n.highlightContainer_64e .hljs-comment,\\n .highlightContainer_64e .hljs-quote {\\n color: #707070;\\n color: var(--ring-code-comment-color);\\n\\n font-style: italic;\\n }\\n\\n.highlightContainer_64e .hljs-meta {\\n color: #707070;\\n color: var(--ring-code-meta-color);\\n }\\n\\n.highlightContainer_64e .hljs-tag {\\n background: #efefef;\\n background: var(--ring-code-tag-background-color);\\n box-shadow: 0 1px #efefef, 0 -1px #efefef;\\n box-shadow: 0 1px var(--ring-code-tag-background-color), 0 -1px var(--ring-code-tag-background-color);\\n }\\n\\n.highlightContainer_64e .hljs-section,\\n .highlightContainer_64e .hljs-literal,\\n .highlightContainer_64e .hljs-keyword,\\n .highlightContainer_64e .hljs-type {\\n color: #000080;\\n color: var(--ring-code-keyword-color);\\n\\n font-weight: bold;\\n }\\n\\n.highlightContainer_64e .hljs-name,\\n .highlightContainer_64e .hljs-selector-pseudo,\\n .highlightContainer_64e .hljs-selector-id,\\n .highlightContainer_64e .hljs-selector-class {\\n color: #000080;\\n color: var(--ring-code-tag-color);\\n\\n font-weight: bold;\\n\\n font-weight: var(--ring-code-tag-font-weight);\\n }\\n\\n.highlightContainer_64e .hljs-selector-tag {\\n color: #000080;\\n color: var(--ring-code-keyword-color);\\n\\n font-weight: bold;\\n\\n font-weight: var(--ring-code-tag-font-weight);\\n }\\n\\n.highlightContainer_64e .hljs-attr {\\n color: #660e7a;\\n color: var(--ring-code-field-color);\\n\\n font-weight: bold;\\n }\\n\\n.highlightContainer_64e .hljs-tag > .hljs-attr,\\n .highlightContainer_64e .hljs-attribute {\\n color: #00f;\\n color: var(--ring-code-attribute-color);\\n\\n font-weight: bold;\\n\\n font-weight: var(--ring-code-tag-font-weight);\\n }\\n\\n.highlightContainer_64e .hljs-number,\\n .highlightContainer_64e .hljs-regexp,\\n .highlightContainer_64e .hljs-link {\\n color: #00f;\\n color: var(--ring-code-number-color);\\n\\n font-weight: normal;\\n }\\n\\n.highlightContainer_64e .hljs-string {\\n color: #007a00;\\n color: var(--ring-code-string-color);\\n\\n font-weight: bold;\\n }\\n\\n.highlightContainer_64e .hljs-doctag {\\n text-decoration: underline;\\n }\\n\\n.highlightContainer_64e .hljs-variable,\\n .highlightContainer_64e .hljs-template-variable {\\n color: #660e7a;\\n color: var(--ring-code-field-color);\\n }\\n\\n.highlightContainer_64e .hljs-addition {\\n background: #aadeaa;\\n background: var(--ring-code-addition-color);\\n }\\n\\n.highlightContainer_64e .hljs-deletion {\\n background: #c8c8c8;\\n background: var(--ring-code-deletion-color);\\n }\\n\\n.highlightContainer_64e .hljs-emphasis {\\n font-style: italic;\\n }\\n\\n.highlightContainer_64e .hljs-strong {\\n font-weight: bold;\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"highlightContainer\": \"highlightContainer_64e\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".code_d7f {\\n margin: 16px 0;\\n}\\n\\n/* override hljs */\\n.code_d7f code {\\n padding: 12px 16px 16px;\\n\\n border-radius: 3px;\\n\\n border-radius: var(--ring-border-radius);\\n background-color: #f7f9fa;\\n background-color: var(--ring-sidebar-background-color);\\n\\n font-family: Menlo, \\\"Bitstream Vera Sans Mono\\\", \\\"Ubuntu Mono\\\", Consolas, \\\"Courier New\\\", Courier, monospace;\\n\\n font-family: var(--ring-font-family-monospace);\\n font-size: 12px;\\n font-size: var(--ring-font-size-smaller);\\n line-height: 16px;\\n line-height: var(--ring-line-height-lowest);\\n}\\n\\n.inline_37a code {\\n display: inline-block;\\n\\n padding: 0 4px;\\n}\\n\\n.softWrap_a5c code {\\n white-space: pre-wrap;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"code\": \"code_d7f\",\n\t\"inline\": \"inline_37a\",\n\t\"softWrap\": \"softWrap_a5c\"\n};\nmodule.exports = exports;\n","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_ICSS_IMPORT_1___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../dialog/dialog.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_ICSS_IMPORT_1___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".panel_8c0 { /* TODO: Invert dependency using :externals CSS Modules selector */\\n\\n position: relative;\\n\\n margin-top: 16px;\\n padding: 12px 0 16px 16px;\\n\\n border-top: 1px solid rgba(0, 42, 76, 0.1);\\n\\n border-top: 1px solid var(--ring-popup-border-color)\\n}\\n\\n.panel_8c0:empty {\\n display: none;\\n }\\n\\n.panel_8c0 button {\\n margin-right: 8px;\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"panel\": \"panel_8c0 \" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\"panel\"] + \"\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".description_d3f {\\n margin-top: 8px;\\n\\n font-size: 13px;\\n\\n font-size: var(--ring-font-size);\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"description\": \"description_d3f\"\n};\nmodule.exports = exports;\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".contentLayout_5c0 {\\n position: relative;\\n\\n display: flex;\\n flex-flow: row nowrap;\\n}\\n\\n.contentLayoutContent_d2c {\\n align-self: flex-start;\\n flex-grow: 2;\\n\\n width: 100%; /* without this hack IE11 render contentLayoutContent wider than its container */\\n margin: 0 32px;\\n}\\n\\n.sidebarContainer_e95 {\\n min-width: 240px;\\n max-width: 240px;\\n}\\n\\n.sidebarContainerRight_936 {\\n order: 1;\\n}\\n\\n.sidebar_03b {\\n overflow: auto;\\n\\n box-sizing: border-box;\\n min-width: 240px;\\n max-width: 240px;\\n height: 100%;\\n padding-right: 16px;\\n padding-left: 32px;\\n}\\n\\n.sidebarRight_2cd {\\n padding-right: 32px;\\n padding-left: 16px;\\n}\\n\\n.sidebarFixedTop_29c {\\n top: 0;\\n bottom: 0\\n}\\n\\n.sidebarFixedTop_29c.sidebarFixedTop_29c {\\n position: fixed;\\n }\\n\\n.sidebarFixedBottom_113.sidebarFixedBottom_113 {\\n position: absolute;\\n top: auto;\\n bottom: 0;\\n}\\n\\n.bottomMarker_6fd {\\n position: absolute;\\n bottom: 0;\\n}\\n\\n@media (max-width: 639px), (min-width: 640px) and (max-width: 959px) {\\n .contentLayoutResponsive_52f .contentLayoutContent_d2c {\\n margin: 0 16px;\\n }\\n\\n .contentLayoutResponsive_52f .sidebar_03b {\\n position: absolute;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n\\n box-sizing: content-box;\\n padding: 0 16px;\\n }\\n\\n .contentLayoutResponsive_52f .sidebarFixedTop_29c {\\n position: fixed;\\n }\\n\\n .contentLayoutResponsive_52f .sidebarFixedBottom_113 {\\n top: auto;\\n }\\n\\n .contentLayoutResponsive_52f .sidebarRight_2cd {\\n right: 0;\\n left: auto;\\n }\\n\\n .contentLayoutResponsive_52f .sidebarContainer_e95 {\\n min-width: 0;\\n max-width: 0;\\n }\\n }\\n\\n@media (max-width: 639px) {\\n .contentLayoutResponsive_52f .sidebar_03b {\\n width: 80%;\\n min-width: 0;\\n max-width: none;\\n }\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"extra-small-screen-media\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"extra-small-screen-media\"] + \"\",\n\t\"small-screen-media\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"small-screen-media\"] + \"\",\n\t\"sidebarWidth\": \"240px\",\n\t\"contentLayout\": \"contentLayout_5c0\",\n\t\"contentLayoutContent\": \"contentLayoutContent_d2c\",\n\t\"sidebarContainer\": \"sidebarContainer_e95\",\n\t\"sidebarContainerRight\": \"sidebarContainerRight_936\",\n\t\"sidebar\": \"sidebar_03b\",\n\t\"sidebarRight\": \"sidebarRight_2cd\",\n\t\"sidebarFixedTop\": \"sidebarFixedTop_29c\",\n\t\"sidebarFixedBottom\": \"sidebarFixedBottom_113\",\n\t\"bottomMarker\": \"bottomMarker_6fd\",\n\t\"contentLayoutResponsive\": \"contentLayoutResponsive_52f\"\n};\nmodule.exports = exports;\n","/** @license React v16.13.1\n * react-dom-server.browser.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var k=require(\"object-assign\"),l=require(\"react\");function q(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}\nvar t=\"function\"===typeof Symbol&&Symbol.for,aa=t?Symbol.for(\"react.portal\"):60106,u=t?Symbol.for(\"react.fragment\"):60107,ba=t?Symbol.for(\"react.strict_mode\"):60108,ca=t?Symbol.for(\"react.profiler\"):60114,v=t?Symbol.for(\"react.provider\"):60109,da=t?Symbol.for(\"react.context\"):60110,ea=t?Symbol.for(\"react.concurrent_mode\"):60111,fa=t?Symbol.for(\"react.forward_ref\"):60112,B=t?Symbol.for(\"react.suspense\"):60113,ha=t?Symbol.for(\"react.suspense_list\"):60120,ia=t?Symbol.for(\"react.memo\"):60115,ja=t?Symbol.for(\"react.lazy\"):\n60116,ka=t?Symbol.for(\"react.block\"):60121,la=t?Symbol.for(\"react.fundamental\"):60117,ma=t?Symbol.for(\"react.scope\"):60119;function na(a){if(-1===a._status){a._status=0;var b=a._ctor;b=b();a._result=b;b.then(function(c){0===a._status&&(c=c.default,a._status=1,a._result=c)},function(c){0===a._status&&(a._status=2,a._result=c)})}}\nfunction C(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case u:return\"Fragment\";case aa:return\"Portal\";case ca:return\"Profiler\";case ba:return\"StrictMode\";case B:return\"Suspense\";case ha:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case da:return\"Context.Consumer\";case v:return\"Context.Provider\";case fa:var b=a.render;b=b.displayName||b.name||\"\";return a.displayName||(\"\"!==b?\"ForwardRef(\"+b+\")\":\"ForwardRef\");\ncase ia:return C(a.type);case ka:return C(a.render);case ja:if(a=1===a._status?a._result:null)return C(a)}return null}var D=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;D.hasOwnProperty(\"ReactCurrentDispatcher\")||(D.ReactCurrentDispatcher={current:null});D.hasOwnProperty(\"ReactCurrentBatchConfig\")||(D.ReactCurrentBatchConfig={suspense:null});var oa={};function E(a,b){for(var c=a._threadCount|0;c<=b;c++)a[c]=a._currentValue2,a._threadCount=c+1}\nfunction pa(a,b,c,d){if(d&&(d=a.contextType,\"object\"===typeof d&&null!==d))return E(d,c),d[c];if(a=a.contextTypes){c={};for(var f in a)c[f]=b[f];b=c}else b=oa;return b}for(var F=new Uint16Array(16),H=0;15>H;H++)F[H]=H+1;F[15]=0;\nvar qa=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,ra=Object.prototype.hasOwnProperty,sa={},ta={};\nfunction ua(a){if(ra.call(ta,a))return!0;if(ra.call(sa,a))return!1;if(qa.test(a))return ta[a]=!0;sa[a]=!0;return!1}function va(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case \"function\":case \"symbol\":return!0;case \"boolean\":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return\"data-\"!==a&&\"aria-\"!==a;default:return!1}}\nfunction wa(a,b,c,d){if(null===b||\"undefined\"===typeof b||va(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function J(a,b,c,d,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=f;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=g}var K={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){K[a]=new J(a,0,!1,a,null,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];K[b]=new J(b,1,!1,a[1],null,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){K[a]=new J(a,2,!1,a.toLowerCase(),null,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){K[a]=new J(a,2,!1,a,null,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){K[a]=new J(a,3,!1,a.toLowerCase(),null,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){K[a]=new J(a,3,!0,a,null,!1)});[\"capture\",\"download\"].forEach(function(a){K[a]=new J(a,4,!1,a,null,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){K[a]=new J(a,6,!1,a,null,!1)});[\"rowSpan\",\"start\"].forEach(function(a){K[a]=new J(a,5,!1,a.toLowerCase(),null,!1)});var L=/[\\-:]([a-z])/g;function M(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(L,\nM);K[b]=new J(b,1,!1,a,null,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(L,M);K[b]=new J(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(L,M);K[b]=new J(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){K[a]=new J(a,1,!1,a.toLowerCase(),null,!1)});\nK.xlinkHref=new J(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){K[a]=new J(a,1,!1,a.toLowerCase(),null,!0)});var xa=/[\"'&<>]/;\nfunction N(a){if(\"boolean\"===typeof a||\"number\"===typeof a)return\"\"+a;a=\"\"+a;var b=xa.exec(a);if(b){var c=\"\",d,f=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b=\"&quot;\";break;case 38:b=\"&amp;\";break;case 39:b=\"&#x27;\";break;case 60:b=\"&lt;\";break;case 62:b=\"&gt;\";break;default:continue}f!==d&&(c+=a.substring(f,d));f=d+1;c+=b}a=f!==d?c+a.substring(f,d):c}return a}\nfunction ya(a,b){var c=K.hasOwnProperty(a)?K[a]:null;var d;if(d=\"style\"!==a)d=null!==c?0===c.type:!(2<a.length)||\"o\"!==a[0]&&\"O\"!==a[0]||\"n\"!==a[1]&&\"N\"!==a[1]?!1:!0;if(d||wa(a,b,c,!1))return\"\";if(null!==c){a=c.attributeName;d=c.type;if(3===d||4===d&&!0===b)return a+'=\"\"';c.sanitizeURL&&(b=\"\"+b);return a+'=\"'+(N(b)+'\"')}return ua(a)?a+'=\"'+(N(b)+'\"'):\"\"}function za(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}\nvar Aa=\"function\"===typeof Object.is?Object.is:za,O=null,P=null,Q=null,R=!1,S=!1,U=null,V=0;function W(){if(null===O)throw Error(q(321));return O}function Ba(){if(0<V)throw Error(q(312));return{memoizedState:null,queue:null,next:null}}function Ca(){null===Q?null===P?(R=!1,P=Q=Ba()):(R=!0,Q=P):null===Q.next?(R=!1,Q=Q.next=Ba()):(R=!0,Q=Q.next);return Q}function Da(a,b,c,d){for(;S;)S=!1,V+=1,Q=null,c=a(b,d);P=O=null;V=0;Q=U=null;return c}function Ea(a,b){return\"function\"===typeof b?b(a):b}\nfunction Fa(a,b,c){O=W();Q=Ca();if(R){var d=Q.queue;b=d.dispatch;if(null!==U&&(c=U.get(d),void 0!==c)){U.delete(d);d=Q.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);Q.memoizedState=d;return[d,b]}return[Q.memoizedState,b]}a=a===Ea?\"function\"===typeof b?b():b:void 0!==c?c(b):b;Q.memoizedState=a;a=Q.queue={last:null,dispatch:null};a=a.dispatch=Ga.bind(null,O,a);return[Q.memoizedState,a]}\nfunction Ga(a,b,c){if(!(25>V))throw Error(q(301));if(a===O)if(S=!0,a={action:c,next:null},null===U&&(U=new Map),c=U.get(b),void 0===c)U.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function Ha(){}\nvar X=0,Ia={readContext:function(a){var b=X;E(a,b);return a[b]},useContext:function(a){W();var b=X;E(a,b);return a[b]},useMemo:function(a,b){O=W();Q=Ca();b=void 0===b?null:b;if(null!==Q){var c=Q.memoizedState;if(null!==c&&null!==b){a:{var d=c[1];if(null===d)d=!1;else{for(var f=0;f<d.length&&f<b.length;f++)if(!Aa(b[f],d[f])){d=!1;break a}d=!0}}if(d)return c[0]}}a=a();Q.memoizedState=[a,b];return a},useReducer:Fa,useRef:function(a){O=W();Q=Ca();var b=Q.memoizedState;return null===b?(a={current:a},Q.memoizedState=\na):b},useState:function(a){return Fa(Ea,a)},useLayoutEffect:function(){},useCallback:function(a){return a},useImperativeHandle:Ha,useEffect:Ha,useDebugValue:Ha,useResponder:function(a,b){return{props:b,responder:a}},useDeferredValue:function(a){W();return a},useTransition:function(){W();return[function(a){a()},!1]}},Ja={html:\"http://www.w3.org/1999/xhtml\",mathml:\"http://www.w3.org/1998/Math/MathML\",svg:\"http://www.w3.org/2000/svg\"};\nfunction Ka(a){switch(a){case \"svg\":return\"http://www.w3.org/2000/svg\";case \"math\":return\"http://www.w3.org/1998/Math/MathML\";default:return\"http://www.w3.org/1999/xhtml\"}}\nvar La={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Ma=k({menuitem:!0},La),Y={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,\ngridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Na=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(Y).forEach(function(a){Na.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Y[b]=Y[a]})});\nvar Oa=/([A-Z])/g,Pa=/^ms-/,Z=l.Children.toArray,Qa=D.ReactCurrentDispatcher,Ra={listing:!0,pre:!0,textarea:!0},Sa=/^[a-zA-Z][a-zA-Z:_\\.\\-\\d]*$/,Ta={},Ua={};function Va(a){if(void 0===a||null===a)return a;var b=\"\";l.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}var Wa=Object.prototype.hasOwnProperty,Xa={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Ya(a,b){if(void 0===a)throw Error(q(152,C(b)||\"Component\"));}\nfunction Za(a,b,c){function d(d,g){var e=g.prototype&&g.prototype.isReactComponent,f=pa(g,b,c,e),x=[],h=!1,m={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===x)return null},enqueueReplaceState:function(a,c){h=!0;x=[c]},enqueueSetState:function(a,c){if(null===x)return null;x.push(c)}};if(e){if(e=new g(d.props,f,m),\"function\"===typeof g.getDerivedStateFromProps){var w=g.getDerivedStateFromProps.call(null,d.props,e.state);null!=w&&(e.state=k({},e.state,w))}}else if(O={},e=g(d.props,\nf,m),e=Da(g,d.props,e,f),null==e||null==e.render){a=e;Ya(a,g);return}e.props=d.props;e.context=f;e.updater=m;m=e.state;void 0===m&&(e.state=m=null);if(\"function\"===typeof e.UNSAFE_componentWillMount||\"function\"===typeof e.componentWillMount)if(\"function\"===typeof e.componentWillMount&&\"function\"!==typeof g.getDerivedStateFromProps&&e.componentWillMount(),\"function\"===typeof e.UNSAFE_componentWillMount&&\"function\"!==typeof g.getDerivedStateFromProps&&e.UNSAFE_componentWillMount(),x.length){m=x;var r=\nh;x=null;h=!1;if(r&&1===m.length)e.state=m[0];else{w=r?m[0]:e.state;var y=!0;for(r=r?1:0;r<m.length;r++){var p=m[r];p=\"function\"===typeof p?p.call(e,w,d.props,f):p;null!=p&&(y?(y=!1,w=k({},w,p)):k(w,p))}e.state=w}}else x=null;a=e.render();Ya(a,g);if(\"function\"===typeof e.getChildContext&&(d=g.childContextTypes,\"object\"===typeof d)){var A=e.getChildContext();for(var T in A)if(!(T in d))throw Error(q(108,C(g)||\"Unknown\",T));}A&&(b=k({},b,A))}for(;l.isValidElement(a);){var f=a,g=f.type;if(\"function\"!==\ntypeof g)break;d(f,g)}return{child:a,context:b}}\nvar $a=function(){function a(a,b){l.isValidElement(a)?a.type!==u?a=[a]:(a=a.props.children,a=l.isValidElement(a)?[a]:Z(a)):a=Z(a);a={type:null,domNamespace:Ja.html,children:a,childIndex:0,context:oa,footer:\"\"};var c=F[0];if(0===c){var g=F;c=g.length;var d=2*c;if(!(65536>=d))throw Error(q(304));var h=new Uint16Array(d);h.set(g);F=h;F[0]=c+1;for(g=c;g<d-1;g++)F[g]=g+1;F[d-1]=0}else F[0]=F[c];this.threadID=c;this.stack=[a];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=\nb;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}var b=a.prototype;b.destroy=function(){if(!this.exhausted){this.exhausted=!0;this.clearProviders();var a=this.threadID;F[a]=F[0];F[0]=a}};b.pushProvider=function(a){var c=++this.contextIndex,b=a.type._context,g=this.threadID;E(b,g);var x=b[g];this.contextStack[c]=b;this.contextValueStack[c]=x;b[g]=a.props.value};b.popProvider=function(){var a=this.contextIndex,b=this.contextStack[a],f=this.contextValueStack[a];\nthis.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;b[this.threadID]=f};b.clearProviders=function(){for(var a=this.contextIndex;0<=a;a--)this.contextStack[a][this.threadID]=this.contextValueStack[a]};b.read=function(a){if(this.exhausted)return null;var b=X;X=this.threadID;var c=Qa.current;Qa.current=Ia;try{for(var g=[\"\"],x=!1;g[0].length<a;){if(0===this.stack.length){this.exhausted=!0;var h=this.threadID;F[h]=F[0];F[0]=h;break}var e=this.stack[this.stack.length-1];if(x||e.childIndex>=\ne.children.length){var I=e.footer;\"\"!==I&&(this.previousWasTextNode=!1);this.stack.pop();if(\"select\"===e.type)this.currentSelectValue=null;else if(null!=e.type&&null!=e.type.type&&e.type.type.$$typeof===v)this.popProvider(e.type);else if(e.type===B){this.suspenseDepth--;var G=g.pop();if(x){x=!1;var n=e.fallbackFrame;if(!n)throw Error(q(303));this.stack.push(n);g[this.suspenseDepth]+=\"\\x3c!--$!--\\x3e\";continue}else g[this.suspenseDepth]+=G}g[this.suspenseDepth]+=I}else{var m=e.children[e.childIndex++],\nw=\"\";try{w+=this.render(m,e.context,e.domNamespace)}catch(r){if(null!=r&&\"function\"===typeof r.then)throw Error(q(294));throw r;}finally{}g.length<=this.suspenseDepth&&g.push(\"\");g[this.suspenseDepth]+=w}}return g[0]}finally{Qa.current=c,X=b}};b.render=function(a,b,f){if(\"string\"===typeof a||\"number\"===typeof a){f=\"\"+a;if(\"\"===f)return\"\";if(this.makeStaticMarkup)return N(f);if(this.previousWasTextNode)return\"\\x3c!-- --\\x3e\"+N(f);this.previousWasTextNode=!0;return N(f)}b=Za(a,b,this.threadID);a=b.child;\nb=b.context;if(null===a||!1===a)return\"\";if(!l.isValidElement(a)){if(null!=a&&null!=a.$$typeof){f=a.$$typeof;if(f===aa)throw Error(q(257));throw Error(q(258,f.toString()));}a=Z(a);this.stack.push({type:null,domNamespace:f,children:a,childIndex:0,context:b,footer:\"\"});return\"\"}var c=a.type;if(\"string\"===typeof c)return this.renderDOM(a,b,f);switch(c){case ba:case ea:case ca:case ha:case u:return a=Z(a.props.children),this.stack.push({type:null,domNamespace:f,children:a,childIndex:0,context:b,footer:\"\"}),\n\"\";case B:throw Error(q(294));}if(\"object\"===typeof c&&null!==c)switch(c.$$typeof){case fa:O={};var d=c.render(a.props,a.ref);d=Da(c.render,a.props,d,a.ref);d=Z(d);this.stack.push({type:null,domNamespace:f,children:d,childIndex:0,context:b,footer:\"\"});return\"\";case ia:return a=[l.createElement(c.type,k({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:f,children:a,childIndex:0,context:b,footer:\"\"}),\"\";case v:return c=Z(a.props.children),f={type:a,domNamespace:f,children:c,childIndex:0,\ncontext:b,footer:\"\"},this.pushProvider(a),this.stack.push(f),\"\";case da:c=a.type;d=a.props;var h=this.threadID;E(c,h);c=Z(d.children(c[h]));this.stack.push({type:a,domNamespace:f,children:c,childIndex:0,context:b,footer:\"\"});return\"\";case la:throw Error(q(338));case ja:switch(c=a.type,na(c),c._status){case 1:return a=[l.createElement(c._result,k({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:f,children:a,childIndex:0,context:b,footer:\"\"}),\"\";case 2:throw c._result;default:throw Error(q(295));\n}case ma:throw Error(q(343));}throw Error(q(130,null==c?c:typeof c,\"\"));};b.renderDOM=function(a,b,f){var c=a.type.toLowerCase();f===Ja.html&&Ka(c);if(!Ta.hasOwnProperty(c)){if(!Sa.test(c))throw Error(q(65,c));Ta[c]=!0}var d=a.props;if(\"input\"===c)d=k({type:void 0},d,{defaultChecked:void 0,defaultValue:void 0,value:null!=d.value?d.value:d.defaultValue,checked:null!=d.checked?d.checked:d.defaultChecked});else if(\"textarea\"===c){var h=d.value;if(null==h){h=d.defaultValue;var e=d.children;if(null!=e){if(null!=\nh)throw Error(q(92));if(Array.isArray(e)){if(!(1>=e.length))throw Error(q(93));e=e[0]}h=\"\"+e}null==h&&(h=\"\")}d=k({},d,{value:void 0,children:\"\"+h})}else if(\"select\"===c)this.currentSelectValue=null!=d.value?d.value:d.defaultValue,d=k({},d,{value:void 0});else if(\"option\"===c){e=this.currentSelectValue;var I=Va(d.children);if(null!=e){var G=null!=d.value?d.value+\"\":I;h=!1;if(Array.isArray(e))for(var n=0;n<e.length;n++){if(\"\"+e[n]===G){h=!0;break}}else h=\"\"+e===G;d=k({selected:void 0,children:void 0},\nd,{selected:h,children:I})}}if(h=d){if(Ma[c]&&(null!=h.children||null!=h.dangerouslySetInnerHTML))throw Error(q(137,c,\"\"));if(null!=h.dangerouslySetInnerHTML){if(null!=h.children)throw Error(q(60));if(!(\"object\"===typeof h.dangerouslySetInnerHTML&&\"__html\"in h.dangerouslySetInnerHTML))throw Error(q(61));}if(null!=h.style&&\"object\"!==typeof h.style)throw Error(q(62,\"\"));}h=d;e=this.makeStaticMarkup;I=1===this.stack.length;G=\"<\"+a.type;for(z in h)if(Wa.call(h,z)){var m=h[z];if(null!=m){if(\"style\"===\nz){n=void 0;var w=\"\",r=\"\";for(n in m)if(m.hasOwnProperty(n)){var y=0===n.indexOf(\"--\"),p=m[n];if(null!=p){if(y)var A=n;else if(A=n,Ua.hasOwnProperty(A))A=Ua[A];else{var T=A.replace(Oa,\"-$1\").toLowerCase().replace(Pa,\"-ms-\");A=Ua[A]=T}w+=r+A+\":\";r=n;y=null==p||\"boolean\"===typeof p||\"\"===p?\"\":y||\"number\"!==typeof p||0===p||Y.hasOwnProperty(r)&&Y[r]?(\"\"+p).trim():p+\"px\";w+=y;r=\";\"}}m=w||null}n=null;b:if(y=c,p=h,-1===y.indexOf(\"-\"))y=\"string\"===typeof p.is;else switch(y){case \"annotation-xml\":case \"color-profile\":case \"font-face\":case \"font-face-src\":case \"font-face-uri\":case \"font-face-format\":case \"font-face-name\":case \"missing-glyph\":y=\n!1;break b;default:y=!0}y?Xa.hasOwnProperty(z)||(n=z,n=ua(n)&&null!=m?n+'=\"'+(N(m)+'\"'):\"\"):n=ya(z,m);n&&(G+=\" \"+n)}}e||I&&(G+=' data-reactroot=\"\"');var z=G;h=\"\";La.hasOwnProperty(c)?z+=\"/>\":(z+=\">\",h=\"</\"+a.type+\">\");a:{e=d.dangerouslySetInnerHTML;if(null!=e){if(null!=e.__html){e=e.__html;break a}}else if(e=d.children,\"string\"===typeof e||\"number\"===typeof e){e=N(e);break a}e=null}null!=e?(d=[],Ra.hasOwnProperty(c)&&\"\\n\"===e.charAt(0)&&(z+=\"\\n\"),z+=e):d=Z(d.children);a=a.type;f=null==f||\"http://www.w3.org/1999/xhtml\"===\nf?Ka(a):\"http://www.w3.org/2000/svg\"===f&&\"foreignObject\"===a?\"http://www.w3.org/1999/xhtml\":f;this.stack.push({domNamespace:f,type:c,children:d,childIndex:0,context:b,footer:h});this.previousWasTextNode=!1;return z};return a}(),ab={renderToString:function(a){a=new $a(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new $a(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){throw Error(q(207));},renderToStaticNodeStream:function(){throw Error(q(208));\n},version:\"16.13.1\"};module.exports=ab.default||ab;\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', { fill: require('./_array-fill') });\n\nrequire('./_add-to-unscopables')('fill');\n","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = require('./_to-object');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nvar toLength = require('./_to-length');\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = toLength(O.length);\n var aLen = arguments.length;\n var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);\n var end = aLen > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \"@-webkit-keyframes rotation-keyframes_4ba {\\n 100% {\\n transform: rotate(360deg);\\n }\\n}\\n\\n@keyframes rotation-keyframes_4ba {\\n 100% {\\n transform: rotate(360deg);\\n }\\n}\\n\\n.canvas_8ee {\\n display: block;\\n\\n margin: 16px auto;\\n\\n pointer-events: none;\\n}\\n\\n.animate_f3c {\\n -webkit-animation: rotation-keyframes_4ba 36s linear infinite;\\n animation: rotation-keyframes_4ba 36s linear infinite;\\n}\\n\\n.text_967 {\\n text-align: center;\\n\\n font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;\\n\\n font-family: var(--ring-font-family);\\n font-size: 13px;\\n font-size: var(--ring-font-size);\\n line-height: 20px;\\n line-height: var(--ring-line-height);\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"canvas\": \"canvas_8ee\",\n\t\"animate\": \"animate_f3c\",\n\t\"rotation-keyframes\": \"rotation-keyframes_4ba\",\n\t\"text\": \"text_967\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".text_b79 {\\n color: #1f2326;\\n color: var(--ring-text-color);\\n}\\n\\n.info_5a9 {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"text\": \"text_b79\",\n\t\"info\": \"info_5a9\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_ICSS_IMPORT_1___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../table/table.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_ICSS_IMPORT_1___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".dataListWrapper_bd0 {\\n position: relative;\\n}\\n\\n.dataList_975 {\\n margin: 0;\\n padding: 0;\\n\\n list-style: none;\\n}\\n\\n.itemContent_f8f {\\n padding: 0;\\n\\n list-style: none;\\n}\\n\\n.title_9ae {\\n display: flex;\\n align-items: center;\\n\\n box-sizing: content-box;\\n height: 32px;\\n padding: 0 40px 2px 0;\\n\\n outline: none\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.dataList_975:not(.disabledHover_f6d) .title_9ae:hover {\\n background-color: #ebf6ff;\\n background-color: var(--ring-hover-background-color)\\n}}\\n\\n.title_9ae.titleSelected_9d3 {\\n background-color: #d4edff;\\n background-color: var(--ring-selected-background-color);\\n }\\n\\n.title_9ae.titleFocused_d40 {\\n background-color: #ebf6ff;\\n background-color: var(--ring-hover-background-color);\\n box-shadow: inset 2px 0 #008eff;\\n box-shadow: inset 2px 0 var(--ring-main-color);\\n }\\n\\n.showMore_a90 {\\n padding: 4px 60px;\\n\\n color: #737577;\\n\\n color: var(--ring-secondary-color);\\n outline: none;\\n\\n font-size: 12px;\\n}\\n\\n.boxes_489 {\\n display: flex;\\n\\n min-width: 24px;\\n}\\n\\n.checkboxBox_f0c {\\n width: 24px;\\n}\\n\\n.collapseButton_69a {\\n top: 1px;\\n left: -5px;\\n\\n height: auto;\\n padding: 0 5px;\\n\\n line-height: inherit;\\n}\\n\\n.collapseIcon_c26.collapseIcon_c26 {\\n color: #999;\\n color: var(--ring-icon-secondary-color);\\n}\\n\\n.loadingOverlay_0f2 {\\n position: absolute;\\n top: 0;\\n right: 0;\\n bottom: 0;\\n left: 0;\\n\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n\\n background-color: rgba(255, 255, 255, 0.5);\\n}\\n\\n.showMoreLoader_423 {\\n top: 1px;\\n left: 8px;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"height\": \"\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\"height\"] + \"\",\n\t\"compensate\": \"\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\"compensate\"] + \"\",\n\t\"dataListWrapper\": \"dataListWrapper_bd0\",\n\t\"dataList\": \"dataList_975\",\n\t\"itemContent\": \"itemContent_f8f\",\n\t\"title\": \"title_9ae\",\n\t\"disabledHover\": \"disabledHover_f6d\",\n\t\"titleSelected\": \"titleSelected_9d3\",\n\t\"titleFocused\": \"titleFocused_d40\",\n\t\"showMore\": \"showMore_a90\",\n\t\"boxes\": \"boxes_489\",\n\t\"checkboxBox\": \"checkboxBox_f0c\",\n\t\"collapseButton\": \"collapseButton_69a\",\n\t\"collapseIcon\": \"collapseIcon_c26\",\n\t\"loadingOverlay\": \"loadingOverlay_0f2\",\n\t\"showMoreLoader\": \"showMoreLoader_423\"\n};\nmodule.exports = exports;\n","// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = require('./_object-gopd');\nvar getPrototypeOf = require('./_object-gpo');\nvar has = require('./_has');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\n\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var desc, proto;\n if (anObject(target) === receiver) return target[propertyKey];\n if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')\n ? desc.value\n : desc.get !== undefined\n ? desc.get.call(receiver)\n : undefined;\n if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', { get: get });\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".dropdown_5d7 {\\n display: inline-block;\\n}\\n\\n.anchor_93a.anchor_93a {\\n margin: 0 -3px;\\n padding: 0 3px;\\n\\n font: inherit;\\n}\\n\\n.chevron_7e5 {\\n margin-left: 2px;\\n\\n line-height: normal;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"dropdown\": \"dropdown_5d7\",\n\t\"anchor\": \"anchor_93a\",\n\t\"chevron\": \"chevron_7e5\"\n};\nmodule.exports = exports;\n","module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","var map = {\n\t\"./af\": 319,\n\t\"./af.js\": 319,\n\t\"./ar\": 320,\n\t\"./ar-dz\": 321,\n\t\"./ar-dz.js\": 321,\n\t\"./ar-kw\": 322,\n\t\"./ar-kw.js\": 322,\n\t\"./ar-ly\": 323,\n\t\"./ar-ly.js\": 323,\n\t\"./ar-ma\": 324,\n\t\"./ar-ma.js\": 324,\n\t\"./ar-sa\": 325,\n\t\"./ar-sa.js\": 325,\n\t\"./ar-tn\": 326,\n\t\"./ar-tn.js\": 326,\n\t\"./ar.js\": 320,\n\t\"./az\": 327,\n\t\"./az.js\": 327,\n\t\"./be\": 328,\n\t\"./be.js\": 328,\n\t\"./bg\": 329,\n\t\"./bg.js\": 329,\n\t\"./bm\": 330,\n\t\"./bm.js\": 330,\n\t\"./bn\": 331,\n\t\"./bn.js\": 331,\n\t\"./bo\": 332,\n\t\"./bo.js\": 332,\n\t\"./br\": 333,\n\t\"./br.js\": 333,\n\t\"./bs\": 334,\n\t\"./bs.js\": 334,\n\t\"./ca\": 335,\n\t\"./ca.js\": 335,\n\t\"./cs\": 336,\n\t\"./cs.js\": 336,\n\t\"./cv\": 337,\n\t\"./cv.js\": 337,\n\t\"./cy\": 338,\n\t\"./cy.js\": 338,\n\t\"./da\": 339,\n\t\"./da.js\": 339,\n\t\"./de\": 340,\n\t\"./de-at\": 341,\n\t\"./de-at.js\": 341,\n\t\"./de-ch\": 342,\n\t\"./de-ch.js\": 342,\n\t\"./de.js\": 340,\n\t\"./dv\": 343,\n\t\"./dv.js\": 343,\n\t\"./el\": 344,\n\t\"./el.js\": 344,\n\t\"./en-au\": 345,\n\t\"./en-au.js\": 345,\n\t\"./en-ca\": 346,\n\t\"./en-ca.js\": 346,\n\t\"./en-gb\": 347,\n\t\"./en-gb.js\": 347,\n\t\"./en-ie\": 348,\n\t\"./en-ie.js\": 348,\n\t\"./en-il\": 349,\n\t\"./en-il.js\": 349,\n\t\"./en-in\": 350,\n\t\"./en-in.js\": 350,\n\t\"./en-nz\": 351,\n\t\"./en-nz.js\": 351,\n\t\"./en-sg\": 352,\n\t\"./en-sg.js\": 352,\n\t\"./eo\": 353,\n\t\"./eo.js\": 353,\n\t\"./es\": 354,\n\t\"./es-do\": 355,\n\t\"./es-do.js\": 355,\n\t\"./es-us\": 356,\n\t\"./es-us.js\": 356,\n\t\"./es.js\": 354,\n\t\"./et\": 357,\n\t\"./et.js\": 357,\n\t\"./eu\": 358,\n\t\"./eu.js\": 358,\n\t\"./fa\": 359,\n\t\"./fa.js\": 359,\n\t\"./fi\": 360,\n\t\"./fi.js\": 360,\n\t\"./fil\": 361,\n\t\"./fil.js\": 361,\n\t\"./fo\": 362,\n\t\"./fo.js\": 362,\n\t\"./fr\": 363,\n\t\"./fr-ca\": 364,\n\t\"./fr-ca.js\": 364,\n\t\"./fr-ch\": 365,\n\t\"./fr-ch.js\": 365,\n\t\"./fr.js\": 363,\n\t\"./fy\": 366,\n\t\"./fy.js\": 366,\n\t\"./ga\": 367,\n\t\"./ga.js\": 367,\n\t\"./gd\": 368,\n\t\"./gd.js\": 368,\n\t\"./gl\": 369,\n\t\"./gl.js\": 369,\n\t\"./gom-deva\": 370,\n\t\"./gom-deva.js\": 370,\n\t\"./gom-latn\": 371,\n\t\"./gom-latn.js\": 371,\n\t\"./gu\": 372,\n\t\"./gu.js\": 372,\n\t\"./he\": 373,\n\t\"./he.js\": 373,\n\t\"./hi\": 374,\n\t\"./hi.js\": 374,\n\t\"./hr\": 375,\n\t\"./hr.js\": 375,\n\t\"./hu\": 376,\n\t\"./hu.js\": 376,\n\t\"./hy-am\": 377,\n\t\"./hy-am.js\": 377,\n\t\"./id\": 378,\n\t\"./id.js\": 378,\n\t\"./is\": 379,\n\t\"./is.js\": 379,\n\t\"./it\": 380,\n\t\"./it-ch\": 381,\n\t\"./it-ch.js\": 381,\n\t\"./it.js\": 380,\n\t\"./ja\": 382,\n\t\"./ja.js\": 382,\n\t\"./jv\": 383,\n\t\"./jv.js\": 383,\n\t\"./ka\": 384,\n\t\"./ka.js\": 384,\n\t\"./kk\": 385,\n\t\"./kk.js\": 385,\n\t\"./km\": 386,\n\t\"./km.js\": 386,\n\t\"./kn\": 387,\n\t\"./kn.js\": 387,\n\t\"./ko\": 388,\n\t\"./ko.js\": 388,\n\t\"./ku\": 389,\n\t\"./ku.js\": 389,\n\t\"./ky\": 390,\n\t\"./ky.js\": 390,\n\t\"./lb\": 391,\n\t\"./lb.js\": 391,\n\t\"./lo\": 392,\n\t\"./lo.js\": 392,\n\t\"./lt\": 393,\n\t\"./lt.js\": 393,\n\t\"./lv\": 394,\n\t\"./lv.js\": 394,\n\t\"./me\": 395,\n\t\"./me.js\": 395,\n\t\"./mi\": 396,\n\t\"./mi.js\": 396,\n\t\"./mk\": 397,\n\t\"./mk.js\": 397,\n\t\"./ml\": 398,\n\t\"./ml.js\": 398,\n\t\"./mn\": 399,\n\t\"./mn.js\": 399,\n\t\"./mr\": 400,\n\t\"./mr.js\": 400,\n\t\"./ms\": 401,\n\t\"./ms-my\": 402,\n\t\"./ms-my.js\": 402,\n\t\"./ms.js\": 401,\n\t\"./mt\": 403,\n\t\"./mt.js\": 403,\n\t\"./my\": 404,\n\t\"./my.js\": 404,\n\t\"./nb\": 405,\n\t\"./nb.js\": 405,\n\t\"./ne\": 406,\n\t\"./ne.js\": 406,\n\t\"./nl\": 407,\n\t\"./nl-be\": 408,\n\t\"./nl-be.js\": 408,\n\t\"./nl.js\": 407,\n\t\"./nn\": 409,\n\t\"./nn.js\": 409,\n\t\"./oc-lnc\": 410,\n\t\"./oc-lnc.js\": 410,\n\t\"./pa-in\": 411,\n\t\"./pa-in.js\": 411,\n\t\"./pl\": 412,\n\t\"./pl.js\": 412,\n\t\"./pt\": 413,\n\t\"./pt-br\": 414,\n\t\"./pt-br.js\": 414,\n\t\"./pt.js\": 413,\n\t\"./ro\": 415,\n\t\"./ro.js\": 415,\n\t\"./ru\": 416,\n\t\"./ru.js\": 416,\n\t\"./sd\": 417,\n\t\"./sd.js\": 417,\n\t\"./se\": 418,\n\t\"./se.js\": 418,\n\t\"./si\": 419,\n\t\"./si.js\": 419,\n\t\"./sk\": 420,\n\t\"./sk.js\": 420,\n\t\"./sl\": 421,\n\t\"./sl.js\": 421,\n\t\"./sq\": 422,\n\t\"./sq.js\": 422,\n\t\"./sr\": 423,\n\t\"./sr-cyrl\": 424,\n\t\"./sr-cyrl.js\": 424,\n\t\"./sr.js\": 423,\n\t\"./ss\": 425,\n\t\"./ss.js\": 425,\n\t\"./sv\": 426,\n\t\"./sv.js\": 426,\n\t\"./sw\": 427,\n\t\"./sw.js\": 427,\n\t\"./ta\": 428,\n\t\"./ta.js\": 428,\n\t\"./te\": 429,\n\t\"./te.js\": 429,\n\t\"./tet\": 430,\n\t\"./tet.js\": 430,\n\t\"./tg\": 431,\n\t\"./tg.js\": 431,\n\t\"./th\": 432,\n\t\"./th.js\": 432,\n\t\"./tl-ph\": 433,\n\t\"./tl-ph.js\": 433,\n\t\"./tlh\": 434,\n\t\"./tlh.js\": 434,\n\t\"./tr\": 435,\n\t\"./tr.js\": 435,\n\t\"./tzl\": 436,\n\t\"./tzl.js\": 436,\n\t\"./tzm\": 437,\n\t\"./tzm-latn\": 438,\n\t\"./tzm-latn.js\": 438,\n\t\"./tzm.js\": 437,\n\t\"./ug-cn\": 439,\n\t\"./ug-cn.js\": 439,\n\t\"./uk\": 440,\n\t\"./uk.js\": 440,\n\t\"./ur\": 441,\n\t\"./ur.js\": 441,\n\t\"./uz\": 442,\n\t\"./uz-latn\": 443,\n\t\"./uz-latn.js\": 443,\n\t\"./uz.js\": 442,\n\t\"./vi\": 444,\n\t\"./vi.js\": 444,\n\t\"./x-pseudo\": 445,\n\t\"./x-pseudo.js\": 445,\n\t\"./yo\": 446,\n\t\"./yo.js\": 446,\n\t\"./zh-cn\": 447,\n\t\"./zh-cn.js\": 447,\n\t\"./zh-hk\": 448,\n\t\"./zh-hk.js\": 448,\n\t\"./zh-mo\": 449,\n\t\"./zh-mo.js\": 449,\n\t\"./zh-tw\": 450,\n\t\"./zh-tw.js\": 450\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 901;","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.input_cc0:-webkit-autofill:hover {\\n -webkit-transition: background-color 50000s ease-in-out 0s;\\n transition: background-color 50000s ease-in-out 0s;\\n }}\\n\\n.container_cc8 {\\n\\n position: relative;\\n\\n box-sizing: border-box;\\n min-height: 64px;\\n padding-top: 16px\\n}\\n\\n.container_cc8 * {\\n box-sizing: border-box;\\n }\\n\\n.compact_da7 {\\n min-height: 32px;\\n padding: 0;\\n}\\n\\n.input_cc0 {\\n width: 100%;\\n min-height: 32px;\\n padding: 0;\\n\\n border: none;\\n outline: none;\\n background: transparent;\\n\\n font: inherit;\\n caret-color: #008eff;\\n caret-color: var(--ring-main-color)\\n}\\n\\n.clearable_6ba .input_cc0 {\\n padding-right: 24px\\n}\\n\\n[dir=rtl] .clearable_6ba .input_cc0 {\\n padding-right: 0;\\n padding-left: 24px\\n}\\n\\n.light_6ee .input_cc0 {\\n color: #1f2326;\\n color: var(--ring-text-color)\\n}\\n\\n.dark_2d8 .input_cc0 {\\n color: #fff;\\n color: var(--ring-dark-text-color)\\n}\\n\\n.input_cc0::-moz-placeholder {\\n color: transparent;\\n }\\n\\n.input_cc0:-ms-input-placeholder {\\n color: transparent;\\n }\\n\\n.input_cc0::-ms-input-placeholder {\\n color: transparent;\\n }\\n\\n.input_cc0::placeholder {\\n color: transparent;\\n }\\n\\n.input_cc0[disabled] {\\n color: #999;\\n color: var(--ring-disabled-color);\\n\\n -webkit-text-fill-color: #999;\\n\\n -webkit-text-fill-color: var(--ring-disabled-color); /* Required for Safari, see RG-2063 for details */\\n }\\n\\n.input_cc0 {\\n\\n /*\\n Kill yellow webkit autocomplete\\n https://css-tricks.com/snippets/css/change-autocomplete-styles-webkit-browsers/\\n */\\n}\\n\\n.input_cc0:-webkit-autofill,\\n .input_cc0:-webkit-autofill:focus {\\n -webkit-transition: background-color 50000s ease-in-out 0s;\\n transition: background-color 50000s ease-in-out 0s;\\n }\\n\\n.input_cc0:-webkit-autofill ~ .label_5f1 {\\n top: 4px;\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n }\\n\\n.input_cc0 {\\n\\n /* if you need a cross, pass onClear prop */\\n}\\n\\n.input_cc0::-ms-clear {\\n display: none;\\n }\\n\\n.withIcon_dff .input_cc0,\\n.withIcon_dff .label_5f1 {\\n padding-left: 22px\\n}\\n\\n[dir=rtl] .withIcon_dff .input_cc0,\\n[dir=rtl] .withIcon_dff .label_5f1 {\\n padding-right: 22px;\\n padding-left: 0\\n}\\n\\n.icon_ebd,\\n\\n.clear_9db.clear_9db {\\n position: absolute;\\n top: 17px;\\n\\n line-height: 32px\\n}\\n\\n.compact_da7 .icon_ebd,\\n\\n.compact_da7 .clear_9db.clear_9db {\\n top: 1px\\n}\\n\\n.icon_ebd {\\n left: 0;\\n\\n color: #b8d1e5;\\n\\n color: var(--ring-icon-color)\\n}\\n\\n[dir=rtl] .icon_ebd {\\n right: 0;\\n left: auto\\n}\\n\\n.clear_9db {\\n right: 0;\\n\\n padding-right: 0\\n}\\n\\n.empty_1b9 .clear_9db {\\n display: none\\n}\\n\\n[dir=rtl] .clear_9db {\\n right: auto;\\n left: 0\\n}\\n\\ntextarea.input_cc0 {\\n overflow: hidden;\\n\\n box-sizing: border-box;\\n padding-top: 8px;\\n\\n resize: none;\\n}\\n\\n.label_5f1 {\\n position: absolute;\\n top: 23px;\\n left: 0;\\n\\n transition: transform 0.15s ease-out, color 0.15s ease-out;\\n\\n transition: transform var(--ring-fast-ease), color var(--ring-fast-ease);\\n transform-origin: top left;\\n pointer-events: none\\n}\\n\\n.light_6ee .label_5f1 {\\n color: #737577;\\n color: var(--ring-secondary-color)\\n}\\n\\n.dark_2d8 .label_5f1 {\\n color: #888;\\n color: var(--ring-dark-secondary-color)\\n}\\n\\n.input_cc0:focus ~ .label_5f1,\\n.container_cc8.active_51c > .label_5f1,\\n.container_cc8:not(.empty_1b9) > .label_5f1 {\\n transform: translateY(-20px) scale(0.92308);\\n}\\n\\n.noLabel_caf ::-moz-placeholder, .input_cc0:focus::-moz-placeholder {\\n -moz-transition: color 0.15s ease-out;\\n transition: color 0.15s ease-out;\\n -moz-transition: color var(--ring-fast-ease);\\n transition: color var(--ring-fast-ease);\\n}\\n\\n.noLabel_caf :-ms-input-placeholder, .input_cc0:focus:-ms-input-placeholder {\\n -ms-transition: color 0.15s ease-out;\\n transition: color 0.15s ease-out;\\n -ms-transition: color var(--ring-fast-ease);\\n transition: color var(--ring-fast-ease);\\n}\\n\\n.noLabel_caf ::-ms-input-placeholder, .input_cc0:focus::-ms-input-placeholder {\\n -ms-transition: color 0.15s ease-out;\\n transition: color 0.15s ease-out;\\n -ms-transition: color var(--ring-fast-ease);\\n transition: color var(--ring-fast-ease);\\n}\\n\\n.noLabel_caf ::placeholder,\\n.input_cc0:focus::placeholder {\\n transition: color 0.15s ease-out;\\n transition: color var(--ring-fast-ease);\\n}\\n\\n.light_6ee.noLabel_caf ::-moz-placeholder, .light_6ee :focus::-moz-placeholder {\\n color: #999;\\n color: var(--ring-disabled-color);\\n}\\n\\n.light_6ee.noLabel_caf :-ms-input-placeholder, .light_6ee :focus:-ms-input-placeholder {\\n color: #999;\\n color: var(--ring-disabled-color);\\n}\\n\\n.light_6ee.noLabel_caf ::-ms-input-placeholder, .light_6ee :focus::-ms-input-placeholder {\\n color: #999;\\n color: var(--ring-disabled-color);\\n}\\n\\n.light_6ee.noLabel_caf ::placeholder,\\n.light_6ee :focus::placeholder {\\n color: #999;\\n color: var(--ring-disabled-color);\\n}\\n\\n/* stylelint-disable-next-line selector-max-specificity */\\n.dark_2d8.noLabel_caf ::-moz-placeholder, .dark_2d8 :focus::-moz-placeholder {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n}\\n.dark_2d8.noLabel_caf :-ms-input-placeholder, .dark_2d8 :focus:-ms-input-placeholder {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n}\\n.dark_2d8.noLabel_caf ::-ms-input-placeholder, .dark_2d8 :focus::-ms-input-placeholder {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n}\\n.dark_2d8.noLabel_caf ::placeholder,\\n\\n.dark_2d8 :focus::placeholder {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n}\\n\\n.input_cc0:focus ~ .label_5f1 {\\n color: #008eff;\\n color: var(--ring-main-color);\\n}\\n\\n.error_9e0 > :focus ~ .label_5f1 {\\n color: #c22731;\\n color: var(--ring-error-color);\\n}\\n\\n.underline_d2f {\\n height: 1px;\\n\\n border-bottom-width: 1px;\\n border-bottom-style: solid\\n}\\n\\n.light_6ee .underline_d2f {\\n border-color: #b8d1e5;\\n border-color: var(--ring-borders-color)\\n}\\n\\n.dark_2d8 .underline_d2f {\\n border-color: #406380;\\n border-color: var(--ring-dark-borders-color)\\n}\\n\\n.input_cc0[disabled] ~ .underline_d2f {\\n border-bottom-style: dashed;\\n}\\n\\n.focusUnderline_03a,\\n.errorUnderline_39a {\\n width: 100%;\\n height: 2px;\\n\\n transform: scaleX(0);\\n transform-origin: top left;\\n}\\n\\n.focusUnderline_03a {\\n margin-top: -1px;\\n\\n background: #008eff;\\n\\n background: var(--ring-main-color);\\n}\\n\\n.errorUnderline_39a {\\n margin-top: -2px;\\n\\n background: #db5860;\\n\\n background: var(--ring-icon-error-color)\\n}\\n\\n.dark_2d8 .errorUnderline_39a {\\n background: #c22731;\\n background: var(--ring-error-color)\\n}\\n\\n.input_cc0:focus ~ .focusUnderline_03a,\\n.container_cc8.active_51c > .focusUnderline_03a,\\n.error_9e0 > .errorUnderline_39a {\\n transition: transform 0.15s ease-out;\\n transform: scaleX(1);\\n}\\n\\n.errorText_67d {\\n overflow: hidden;\\n\\n box-sizing: border-box;\\n height: 0;\\n padding: 4px 0 8px;\\n\\n transition: height 0.3s ease-out;\\n\\n color: #c22731;\\n\\n color: var(--ring-error-color);\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n line-height: 16px;\\n line-height: var(--ring-line-height-lowest);\\n}\\n\\n.sizeS_b9e {\\n width: 96px;\\n}\\n\\n.sizeM_dea {\\n width: 240px;\\n}\\n\\n.sizeL_ab2 {\\n width: 400px;\\n}\\n\\n.sizeFULL_7a7 {\\n width: 100%;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"iconOffset\": \"22px\",\n\t\"input\": \"input_cc0\",\n\t\"container\": \"container_cc8 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"font-lower\"] + \"\",\n\t\"compact\": \"compact_da7\",\n\t\"clearable\": \"clearable_6ba\",\n\t\"light\": \"light_6ee\",\n\t\"dark\": \"dark_2d8\",\n\t\"label\": \"label_5f1\",\n\t\"withIcon\": \"withIcon_dff\",\n\t\"icon\": \"icon_ebd\",\n\t\"clear\": \"clear_9db\",\n\t\"empty\": \"empty_1b9\",\n\t\"active\": \"active_51c\",\n\t\"noLabel\": \"noLabel_caf\",\n\t\"error\": \"error_9e0\",\n\t\"underline\": \"underline_d2f\",\n\t\"focusUnderline\": \"focusUnderline_03a\",\n\t\"errorUnderline\": \"errorUnderline_39a\",\n\t\"errorText\": \"errorText_67d\",\n\t\"sizeS\": \"sizeS_b9e\",\n\t\"sizeM\": \"sizeM_dea\",\n\t\"sizeL\": \"sizeL_ab2\",\n\t\"sizeFULL\": \"sizeFULL_7a7\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_ICSS_IMPORT_1___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../select/select-popup.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_ICSS_IMPORT_1___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \":root {\\n /* stylelint-disable-next-line color-no-hex */\\n --ring-date-picker-hover-color: #b3dfff;\\n}\\n\\n.container_62b {\\n display: inline-block;\\n}\\n\\n.hoverable_6b9 {\\n cursor: pointer;\\n transition: color 0.2s ease-out 0s;\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.hoverable_6b9:hover {\\n transition: none;\\n\\n color: #ff008c;\\n\\n color: var(--ring-link-hover-color);\\n}}\\n\\n.datePicker_288.datePicker_288 {\\n padding-right: 8px;\\n}\\n\\n.displayDate_256 {\\n display: inline-block;\\n\\n min-width: 88px;\\n\\n text-align: left;\\n}\\n\\n.displayDate_256.displayRange_39c {\\n min-width: 176px;\\n}\\n\\n.clear_f71 {\\n cursor: pointer;\\n transition: opacity 0.3s ease-out;\\n transition: opacity var(--ring-ease);\\n\\n opacity: 0.3;\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.datePicker_288:hover .clear_f71 {\\n opacity: 0.5;\\n}}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.datePicker_288 .clear_f71:hover {\\n transition: none;\\n\\n opacity: 1;\\n}}\\n\\n.datePopup_1e3 {\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none;\\n text-align: left;\\n}\\n\\n.datePopup_1e3 * {\\n box-sizing: border-box;\\n}\\n\\n.filterWrapper_ff2 {\\n\\n display: flex;\\n}\\n\\n.filter_127 {\\n}\\n\\n.filterIcon_3ce {\\n}\\n\\n.fromInput_9fb {\\n position: relative;\\n\\n flex-basis: 104px;\\n flex-grow: 0;\\n flex-shrink: 0;\\n}\\n\\n.fromInputWithDivider_5ae::after {\\n position: absolute;\\n right: 8px;\\n\\n content: '—';\\n\\n line-height: 29px;\\n }\\n\\n.toInput_231 {\\n flex-basis: 104px;\\n flex-grow: 1;\\n flex-shrink: 0;\\n\\n width: 104px;\\n}\\n\\n.dateInput_4c2 {\\n flex-basis: 88px;\\n flex-grow: 1;\\n flex-shrink: 0;\\n}\\n\\n.timeInputWithDivider_515 {\\n position: relative\\n}\\n\\n.timeInputWithDivider_515::before {\\n position: absolute;\\n left: -8px;\\n\\n content: ',';\\n\\n line-height: 29px;\\n }\\n\\n.weekdays_b07 {\\n height: 32px;\\n padding: 5px 16px 0;\\n\\n color: #737577;\\n\\n color: var(--ring-secondary-color);\\n}\\n\\n.weekday_299 {\\n display: inline-block;\\n\\n width: 24px;\\n\\n text-align: center;\\n text-transform: capitalize;\\n}\\n\\n.weekend_943 {\\n color: #c22731;\\n color: var(--ring-error-color);\\n}\\n\\n.calendar_328 {\\n position: relative;\\n\\n overflow: hidden;\\n\\n width: 296px;\\n height: 288px;\\n\\n box-shadow: 0 -1px #dfe5eb;\\n\\n box-shadow: 0 -1px var(--ring-line-color);\\n}\\n\\n.months_2dd {\\n position: absolute;\\n top: 0;\\n right: 48px;\\n bottom: 0;\\n left: 0;\\n}\\n\\n.days_c44 {\\n position: relative;\\n left: 0;\\n}\\n\\n.month_b72 {\\n display: flex;\\n flex-wrap: wrap;\\n\\n width: 168px;\\n margin: 16px;\\n}\\n\\n.month_b72 > * {\\n flex-shrink: 0;\\n\\n height: 24px;\\n\\n line-height: 24px;\\n}\\n\\n.monthTitle_6a4 {\\n /* IE workaround, see https://github.com/philipwalton/flexbugs#7-flex-basis-doesnt-account-for-box-sizingborder-box */\\n\\n width: 96px;\\n\\n padding-left: 4px;\\n\\n text-align: left;\\n\\n font-weight: bold\\n}\\n\\n@supports (flex-basis: 1px) {\\n\\n.monthTitle_6a4 {\\n flex-basis: 96px;\\n\\n width: auto\\n}\\n }\\n\\n.day_189 {\\n\\n position: relative;\\n\\n flex-basis: 24px;\\n\\n cursor: pointer;\\n transition: background-color 0.3s ease-out, color 0.3s ease-out;\\n transition: background-color var(--ring-ease), color var(--ring-ease);\\n text-align: center\\n}\\n\\n.day_189::before,\\n .day_189::after {\\n pointer-events: none;\\n }\\n\\n.between_3a0 {\\n transition: none;\\n\\n background-color: #d4edff;\\n\\n background-color: var(--ring-selected-background-color);\\n}\\n\\n.activeBetween_ee0 {\\n transition: none;\\n\\n background-color: #b3dfff;\\n\\n background-color: var(--ring-date-picker-hover-color);\\n}\\n\\n.current_84b {\\n color: #fff;\\n color: var(--ring-dark-text-color);\\n border-radius: 3px;\\n border-radius: var(--ring-border-radius);\\n background-color: #008eff;\\n background-color: var(--ring-main-color);\\n}\\n\\n.active_d37 {\\n transition: none;\\n\\n color: #ff008c;\\n\\n color: var(--ring-link-hover-color);\\n border-radius: 3px;\\n border-radius: var(--ring-border-radius);\\n background-color: #b3dfff;\\n background-color: var(--ring-date-picker-hover-color);\\n}\\n\\n.disabled_499 {\\n cursor: not-allowed;\\n\\n color: #999;\\n\\n color: var(--ring-disabled-color);\\n}\\n\\n.from_150 {\\n border-radius: 3px 0 0 3px;\\n border-radius: var(--ring-border-radius) 0 0 var(--ring-border-radius);\\n}\\n\\n.to_6b3 {\\n border-radius: 0 3px 3px 0;\\n border-radius: 0 var(--ring-border-radius) var(--ring-border-radius) 0;\\n}\\n\\n.from_150.to_6b3 {\\n border-radius: 3px;\\n border-radius: var(--ring-border-radius);\\n}\\n\\n.Monday_222 {\\n position: relative\\n}\\n\\n.Monday_222::before,\\n .Monday_222::after {\\n position: absolute;\\n\\n width: 16px;\\n height: 100%;\\n\\n content: '';\\n transition: background-color 0.3s ease-out;\\n transition: background-color var(--ring-ease);\\n }\\n\\n.Monday_222::before {\\n right: 100%;\\n }\\n\\n.Monday_222::after {\\n bottom: 100%;\\n left: 700%;\\n }\\n\\n.Monday_222.spread_da0::before,\\n .Monday_222.spread_da0::after {\\n transition: none;\\n\\n background-color: #d4edff;\\n\\n background-color: var(--ring-selected-background-color);\\n }\\n\\n.Monday_222.activeSpread_eac::before,\\n .Monday_222.activeSpread_eac::after {\\n transition: none;\\n\\n background-color: #b3dfff;\\n\\n background-color: var(--ring-date-picker-hover-color);\\n }\\n\\n.first_a9d {\\n position: relative\\n}\\n\\n.first_a9d::before,\\n .first_a9d::after {\\n position: absolute;\\n z-index: -1;\\n z-index: var(--ring-invisible-element-z-index);\\n\\n width: 184px;\\n height: 64px;\\n\\n content: '';\\n transition: background-color 0.3s ease-out;\\n transition: background-color var(--ring-ease);\\n }\\n\\n.first_a9d::before {\\n right: 100%;\\n bottom: 0;\\n }\\n\\n.first_a9d::after {\\n bottom: 100%;\\n left: 0;\\n }\\n\\n.first_a9d.Monday_222::after {\\n height: 40px;\\n }\\n\\n.first_a9d + .Tuesday_995 {\\n position: relative\\n }\\n\\n.first_a9d + .Tuesday_995::before {\\n position: absolute;\\n z-index: -1;\\n z-index: var(--ring-invisible-element-z-index);\\n top: -64px;\\n left: 600%;\\n\\n width: 16px;\\n height: 100%;\\n\\n content: '';\\n transition: background-color 0.3s ease-out;\\n transition: background-color var(--ring-ease);\\n }\\n\\n.Friday_ac3::before,\\n .Friday_ac3::after,\\n .Saturday_ee9::before,\\n .Saturday_ee9::after,\\n .Sunday_0ac::before,\\n .Sunday_0ac::after {\\n height: 40px;\\n }\\n\\n.spread_da0::before,\\n .spread_da0::after,\\n .spread_da0 + .Tuesday_995::before {\\n transition: none;\\n\\n background-color: #d4edff;\\n\\n background-color: var(--ring-selected-background-color);\\n }\\n\\n.activeSpread_eac::before,\\n .activeSpread_eac::after,\\n .activeSpread_eac + .Tuesday_995::before {\\n transition: none;\\n\\n background-color: #b3dfff;\\n\\n background-color: var(--ring-date-picker-hover-color);\\n }\\n\\n.empty_ce9 {\\n pointer-events: none;\\n\\n opacity: 0;\\n}\\n\\n.today_915 {\\n position: relative;\\n\\n font-weight: bold;\\n}\\n\\n.today_915::before {\\n position: absolute;\\n top: 0;\\n left: 4px;\\n\\n content: '•';\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n}\\n\\n.day_189 > .today_915::before {\\n top: 4px;\\n left: 0;\\n\\n width: 100%;\\n\\n text-align: center;\\n}\\n\\n.year_5ad.today_915::before {\\n top: -1px;\\n left: 2px;\\n}\\n\\n.monthNames_888 {\\n position: absolute;\\n top: 0;\\n right: 0;\\n bottom: 0;\\n\\n width: 48px;\\n\\n background-color: #fff;\\n\\n background-color: var(--ring-content-background-color);\\n box-shadow: -1px 0 #dfe5eb;\\n box-shadow: -1px 0 var(--ring-line-color);\\n}\\n\\n.monthName_d5b {\\n\\n position: relative;\\n\\n height: 24px;\\n padding-left: 12px;\\n\\n line-height: 24px;\\n}\\n\\n.monthSlider_536 {\\n\\n position: absolute;\\n z-index: 1;\\n z-index: var(--ring-fixed-z-index);\\n right: 0;\\n left: -1px;\\n\\n width: calc(100% + 1px);\\n\\n height: 48px;\\n\\n cursor: -webkit-grab;\\n\\n cursor: grab;\\n\\n opacity: 0.17;\\n background-color: #008eff;\\n background-color: var(--ring-main-color);\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.monthSlider_536:hover {\\n opacity: 0.3;\\n}}\\n\\n.dragging_d13.dragging_d13 {\\n cursor: -webkit-grabbing;\\n cursor: grabbing;\\n\\n opacity: 0.35;\\n}\\n\\n.range_a10 {\\n position: absolute;\\n left: 0;\\n\\n width: 2px;\\n\\n background-color: #008eff;\\n\\n background-color: var(--ring-main-color);\\n}\\n\\n.years_bce {\\n position: absolute;\\n top: 0;\\n right: 0;\\n\\n width: 48px;\\n\\n background-color: #fff;\\n\\n background-color: var(--ring-content-background-color);\\n box-shadow: -1px 0 #dfe5eb;\\n box-shadow: -1px 0 var(--ring-line-color);\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n}\\n\\n.year_5ad {\\n\\n position: relative;\\n\\n width: 100%;\\n\\n height: 32px;\\n\\n text-align: center;\\n\\n color: #737577;\\n\\n color: var(--ring-secondary-color);\\n\\n line-height: 32px;\\n}\\n\\n.currentYear_5db {\\n cursor: auto;\\n transition: none;\\n\\n color: #1f2326;\\n\\n color: var(--ring-text-color);\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.currentYear_5db:hover {\\n color: #1f2326;\\n color: var(--ring-text-color);\\n}}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"resetButton\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"resetButton\"] + \"\",\n\t\"cellSize\": \"24px\",\n\t\"calHeight\": \"288px\",\n\t\"calWidth\": \"296px\",\n\t\"yearHeight\": \"32px\",\n\t\"yearWidth\": \"48px\",\n\t\"container\": \"container_62b\",\n\t\"hoverable\": \"hoverable_6b9\",\n\t\"datePicker\": \"datePicker_288\",\n\t\"displayDate\": \"displayDate_256\",\n\t\"displayRange\": \"displayRange_39c\",\n\t\"clear\": \"clear_f71\",\n\t\"datePopup\": \"datePopup_1e3\",\n\t\"filterWrapper\": \"filterWrapper_ff2 \" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\"filterWrapper\"] + \"\",\n\t\"filter\": \"filter_127 \" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\"filter\"] + \"\",\n\t\"filterIcon\": \"filterIcon_3ce \" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\"filterIcon\"] + \"\",\n\t\"fromInput\": \"fromInput_9fb\",\n\t\"fromInputWithDivider\": \"fromInputWithDivider_5ae\",\n\t\"toInput\": \"toInput_231\",\n\t\"dateInput\": \"dateInput_4c2\",\n\t\"timeInputWithDivider\": \"timeInputWithDivider_515\",\n\t\"weekdays\": \"weekdays_b07\",\n\t\"weekday\": \"weekday_299\",\n\t\"weekend\": \"weekend_943\",\n\t\"calendar\": \"calendar_328\",\n\t\"months\": \"months_2dd\",\n\t\"days\": \"days_c44\",\n\t\"month\": \"month_b72\",\n\t\"monthTitle\": \"monthTitle_6a4\",\n\t\"day\": \"day_189 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"resetButton\"] + \"\",\n\t\"between\": \"between_3a0\",\n\t\"activeBetween\": \"activeBetween_ee0\",\n\t\"current\": \"current_84b\",\n\t\"active\": \"active_d37\",\n\t\"disabled\": \"disabled_499\",\n\t\"from\": \"from_150\",\n\t\"to\": \"to_6b3\",\n\t\"Monday\": \"Monday_222\",\n\t\"spread\": \"spread_da0\",\n\t\"activeSpread\": \"activeSpread_eac\",\n\t\"first\": \"first_a9d\",\n\t\"Tuesday\": \"Tuesday_995\",\n\t\"Friday\": \"Friday_ac3\",\n\t\"Saturday\": \"Saturday_ee9\",\n\t\"Sunday\": \"Sunday_0ac\",\n\t\"empty\": \"empty_ce9\",\n\t\"today\": \"today_915\",\n\t\"year\": \"year_5ad hoverable_6b9 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"resetButton\"] + \"\",\n\t\"monthNames\": \"monthNames_888\",\n\t\"monthName\": \"monthName_d5b hoverable_6b9 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"resetButton\"] + \"\",\n\t\"monthSlider\": \"monthSlider_536 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"resetButton\"] + \"\",\n\t\"dragging\": \"dragging_d13\",\n\t\"range\": \"range_a10\",\n\t\"years\": \"years_bce\",\n\t\"currentYear\": \"currentYear_5db\"\n};\nmodule.exports = exports;\n","// https://github.com/tc39/proposal-promise-finally\n'use strict';\nvar $export = require('./_export');\nvar core = require('./_core');\nvar global = require('./_global');\nvar speciesConstructor = require('./_species-constructor');\nvar promiseResolve = require('./_promise-resolve');\n\n$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {\n var C = speciesConstructor(this, core.Promise || global.Promise);\n var isFunction = typeof onFinally == 'function';\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n} });\n","/**\n * @license AngularJS v1.8.0\n * (c) 2010-2020 Google, Inc. http://angularjs.org\n * License: MIT\n */\n(function(window, angular) {'use strict';\n\n/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n * Any commits to this file should be reviewed with security in mind. *\n * Changes to this file can potentially create security vulnerabilities. *\n * An approval from 2 Core members with history of modifying *\n * this file is required. *\n * *\n * Does the change somehow allow for arbitrary javascript to be executed? *\n * Or allows for someone to change the prototype of built-in objects? *\n * Or gives undesired access to variables likes document or window? *\n * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\nvar $sanitizeMinErr = angular.$$minErr('$sanitize');\nvar bind;\nvar extend;\nvar forEach;\nvar isArray;\nvar isDefined;\nvar lowercase;\nvar noop;\nvar nodeContains;\nvar htmlParser;\nvar htmlSanitizeWriter;\n\n/**\n * @ngdoc module\n * @name ngSanitize\n * @description\n *\n * The `ngSanitize` module provides functionality to sanitize HTML.\n *\n * See {@link ngSanitize.$sanitize `$sanitize`} for usage.\n */\n\n/**\n * @ngdoc service\n * @name $sanitize\n * @kind function\n *\n * @description\n * Sanitizes an html string by stripping all potentially dangerous tokens.\n *\n * The input is sanitized by parsing the HTML into tokens. All safe tokens (from a whitelist) are\n * then serialized back to a properly escaped HTML string. This means that no unsafe input can make\n * it into the returned string.\n *\n * The whitelist for URL sanitization of attribute values is configured using the functions\n * `aHrefSanitizationWhitelist` and `imgSrcSanitizationWhitelist` of {@link $compileProvider}.\n *\n * The input may also contain SVG markup if this is enabled via {@link $sanitizeProvider}.\n *\n * @param {string} html HTML input.\n * @returns {string} Sanitized HTML.\n *\n * @example\n <example module=\"sanitizeExample\" deps=\"angular-sanitize.js\" name=\"sanitize-service\">\n <file name=\"index.html\">\n <script>\n angular.module('sanitizeExample', ['ngSanitize'])\n .controller('ExampleController', ['$scope', '$sce', function($scope, $sce) {\n $scope.snippet =\n '<p style=\"color:blue\">an html\\n' +\n '<em onmouseover=\"this.textContent=\\'PWN3D!\\'\">click here</em>\\n' +\n 'snippet</p>';\n $scope.deliberatelyTrustDangerousSnippet = function() {\n return $sce.trustAsHtml($scope.snippet);\n };\n }]);\n </script>\n <div ng-controller=\"ExampleController\">\n Snippet: <textarea ng-model=\"snippet\" cols=\"60\" rows=\"3\"></textarea>\n <table>\n <tr>\n <td>Directive</td>\n <td>How</td>\n <td>Source</td>\n <td>Rendered</td>\n </tr>\n <tr id=\"bind-html-with-sanitize\">\n <td>ng-bind-html</td>\n <td>Automatically uses $sanitize</td>\n <td><pre>&lt;div ng-bind-html=\"snippet\"&gt;<br/>&lt;/div&gt;</pre></td>\n <td><div ng-bind-html=\"snippet\"></div></td>\n </tr>\n <tr id=\"bind-html-with-trust\">\n <td>ng-bind-html</td>\n <td>Bypass $sanitize by explicitly trusting the dangerous value</td>\n <td>\n <pre>&lt;div ng-bind-html=\"deliberatelyTrustDangerousSnippet()\"&gt;\n&lt;/div&gt;</pre>\n </td>\n <td><div ng-bind-html=\"deliberatelyTrustDangerousSnippet()\"></div></td>\n </tr>\n <tr id=\"bind-default\">\n <td>ng-bind</td>\n <td>Automatically escapes</td>\n <td><pre>&lt;div ng-bind=\"snippet\"&gt;<br/>&lt;/div&gt;</pre></td>\n <td><div ng-bind=\"snippet\"></div></td>\n </tr>\n </table>\n </div>\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should sanitize the html snippet by default', function() {\n expect(element(by.css('#bind-html-with-sanitize div')).getAttribute('innerHTML')).\n toBe('<p>an html\\n<em>click here</em>\\nsnippet</p>');\n });\n\n it('should inline raw snippet if bound to a trusted value', function() {\n expect(element(by.css('#bind-html-with-trust div')).getAttribute('innerHTML')).\n toBe(\"<p style=\\\"color:blue\\\">an html\\n\" +\n \"<em onmouseover=\\\"this.textContent='PWN3D!'\\\">click here</em>\\n\" +\n \"snippet</p>\");\n });\n\n it('should escape snippet without any filter', function() {\n expect(element(by.css('#bind-default div')).getAttribute('innerHTML')).\n toBe(\"&lt;p style=\\\"color:blue\\\"&gt;an html\\n\" +\n \"&lt;em onmouseover=\\\"this.textContent='PWN3D!'\\\"&gt;click here&lt;/em&gt;\\n\" +\n \"snippet&lt;/p&gt;\");\n });\n\n it('should update', function() {\n element(by.model('snippet')).clear();\n element(by.model('snippet')).sendKeys('new <b onclick=\"alert(1)\">text</b>');\n expect(element(by.css('#bind-html-with-sanitize div')).getAttribute('innerHTML')).\n toBe('new <b>text</b>');\n expect(element(by.css('#bind-html-with-trust div')).getAttribute('innerHTML')).toBe(\n 'new <b onclick=\"alert(1)\">text</b>');\n expect(element(by.css('#bind-default div')).getAttribute('innerHTML')).toBe(\n \"new &lt;b onclick=\\\"alert(1)\\\"&gt;text&lt;/b&gt;\");\n });\n </file>\n </example>\n */\n\n\n/**\n * @ngdoc provider\n * @name $sanitizeProvider\n * @this\n *\n * @description\n * Creates and configures {@link $sanitize} instance.\n */\nfunction $SanitizeProvider() {\n var hasBeenInstantiated = false;\n var svgEnabled = false;\n\n this.$get = ['$$sanitizeUri', function($$sanitizeUri) {\n hasBeenInstantiated = true;\n if (svgEnabled) {\n extend(validElements, svgElements);\n }\n return function(html) {\n var buf = [];\n htmlParser(html, htmlSanitizeWriter(buf, function(uri, isImage) {\n return !/^unsafe:/.test($$sanitizeUri(uri, isImage));\n }));\n return buf.join('');\n };\n }];\n\n\n /**\n * @ngdoc method\n * @name $sanitizeProvider#enableSvg\n * @kind function\n *\n * @description\n * Enables a subset of svg to be supported by the sanitizer.\n *\n * <div class=\"alert alert-warning\">\n * <p>By enabling this setting without taking other precautions, you might expose your\n * application to click-hijacking attacks. In these attacks, sanitized svg elements could be positioned\n * outside of the containing element and be rendered over other elements on the page (e.g. a login\n * link). Such behavior can then result in phishing incidents.</p>\n *\n * <p>To protect against these, explicitly setup `overflow: hidden` css rule for all potential svg\n * tags within the sanitized content:</p>\n *\n * <br>\n *\n * <pre><code>\n * .rootOfTheIncludedContent svg {\n * overflow: hidden !important;\n * }\n * </code></pre>\n * </div>\n *\n * @param {boolean=} flag Enable or disable SVG support in the sanitizer.\n * @returns {boolean|$sanitizeProvider} Returns the currently configured value if called\n * without an argument or self for chaining otherwise.\n */\n this.enableSvg = function(enableSvg) {\n if (isDefined(enableSvg)) {\n svgEnabled = enableSvg;\n return this;\n } else {\n return svgEnabled;\n }\n };\n\n\n /**\n * @ngdoc method\n * @name $sanitizeProvider#addValidElements\n * @kind function\n *\n * @description\n * Extends the built-in lists of valid HTML/SVG elements, i.e. elements that are considered safe\n * and are not stripped off during sanitization. You can extend the following lists of elements:\n *\n * - `htmlElements`: A list of elements (tag names) to extend the current list of safe HTML\n * elements. HTML elements considered safe will not be removed during sanitization. All other\n * elements will be stripped off.\n *\n * - `htmlVoidElements`: This is similar to `htmlElements`, but marks the elements as\n * \"void elements\" (similar to HTML\n * [void elements](https://rawgit.com/w3c/html/html5.1-2/single-page.html#void-elements)). These\n * elements have no end tag and cannot have content.\n *\n * - `svgElements`: This is similar to `htmlElements`, but for SVG elements. This list is only\n * taken into account if SVG is {@link ngSanitize.$sanitizeProvider#enableSvg enabled} for\n * `$sanitize`.\n *\n * <div class=\"alert alert-info\">\n * This method must be called during the {@link angular.Module#config config} phase. Once the\n * `$sanitize` service has been instantiated, this method has no effect.\n * </div>\n *\n * <div class=\"alert alert-warning\">\n * Keep in mind that extending the built-in lists of elements may expose your app to XSS or\n * other vulnerabilities. Be very mindful of the elements you add.\n * </div>\n *\n * @param {Array<String>|Object} elements - A list of valid HTML elements or an object with one or\n * more of the following properties:\n * - **htmlElements** - `{Array<String>}` - A list of elements to extend the current list of\n * HTML elements.\n * - **htmlVoidElements** - `{Array<String>}` - A list of elements to extend the current list of\n * void HTML elements; i.e. elements that do not have an end tag.\n * - **svgElements** - `{Array<String>}` - A list of elements to extend the current list of SVG\n * elements. The list of SVG elements is only taken into account if SVG is\n * {@link ngSanitize.$sanitizeProvider#enableSvg enabled} for `$sanitize`.\n *\n * Passing an array (`[...]`) is equivalent to passing `{htmlElements: [...]}`.\n *\n * @return {$sanitizeProvider} Returns self for chaining.\n */\n this.addValidElements = function(elements) {\n if (!hasBeenInstantiated) {\n if (isArray(elements)) {\n elements = {htmlElements: elements};\n }\n\n addElementsTo(svgElements, elements.svgElements);\n addElementsTo(voidElements, elements.htmlVoidElements);\n addElementsTo(validElements, elements.htmlVoidElements);\n addElementsTo(validElements, elements.htmlElements);\n }\n\n return this;\n };\n\n\n /**\n * @ngdoc method\n * @name $sanitizeProvider#addValidAttrs\n * @kind function\n *\n * @description\n * Extends the built-in list of valid attributes, i.e. attributes that are considered safe and are\n * not stripped off during sanitization.\n *\n * **Note**:\n * The new attributes will not be treated as URI attributes, which means their values will not be\n * sanitized as URIs using `$compileProvider`'s\n * {@link ng.$compileProvider#aHrefSanitizationWhitelist aHrefSanitizationWhitelist} and\n * {@link ng.$compileProvider#imgSrcSanitizationWhitelist imgSrcSanitizationWhitelist}.\n *\n * <div class=\"alert alert-info\">\n * This method must be called during the {@link angular.Module#config config} phase. Once the\n * `$sanitize` service has been instantiated, this method has no effect.\n * </div>\n *\n * <div class=\"alert alert-warning\">\n * Keep in mind that extending the built-in list of attributes may expose your app to XSS or\n * other vulnerabilities. Be very mindful of the attributes you add.\n * </div>\n *\n * @param {Array<String>} attrs - A list of valid attributes.\n *\n * @returns {$sanitizeProvider} Returns self for chaining.\n */\n this.addValidAttrs = function(attrs) {\n if (!hasBeenInstantiated) {\n extend(validAttrs, arrayToMap(attrs, true));\n }\n return this;\n };\n\n //////////////////////////////////////////////////////////////////////////////////////////////////\n // Private stuff\n //////////////////////////////////////////////////////////////////////////////////////////////////\n\n bind = angular.bind;\n extend = angular.extend;\n forEach = angular.forEach;\n isArray = angular.isArray;\n isDefined = angular.isDefined;\n lowercase = angular.$$lowercase;\n noop = angular.noop;\n\n htmlParser = htmlParserImpl;\n htmlSanitizeWriter = htmlSanitizeWriterImpl;\n\n nodeContains = window.Node.prototype.contains || /** @this */ function(arg) {\n // eslint-disable-next-line no-bitwise\n return !!(this.compareDocumentPosition(arg) & 16);\n };\n\n // Regular Expressions for parsing tags and attributes\n var SURROGATE_PAIR_REGEXP = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g,\n // Match everything outside of normal chars and \" (quote character)\n NON_ALPHANUMERIC_REGEXP = /([^#-~ |!])/g;\n\n\n // Good source of info about elements and attributes\n // http://dev.w3.org/html5/spec/Overview.html#semantics\n // http://simon.html5.org/html-elements\n\n // Safe Void Elements - HTML5\n // http://dev.w3.org/html5/spec/Overview.html#void-elements\n var voidElements = stringToMap('area,br,col,hr,img,wbr');\n\n // Elements that you can, intentionally, leave open (and which close themselves)\n // http://dev.w3.org/html5/spec/Overview.html#optional-tags\n var optionalEndTagBlockElements = stringToMap('colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr'),\n optionalEndTagInlineElements = stringToMap('rp,rt'),\n optionalEndTagElements = extend({},\n optionalEndTagInlineElements,\n optionalEndTagBlockElements);\n\n // Safe Block Elements - HTML5\n var blockElements = extend({}, optionalEndTagBlockElements, stringToMap('address,article,' +\n 'aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,' +\n 'h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul'));\n\n // Inline Elements - HTML5\n var inlineElements = extend({}, optionalEndTagInlineElements, stringToMap('a,abbr,acronym,b,' +\n 'bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,' +\n 'samp,small,span,strike,strong,sub,sup,time,tt,u,var'));\n\n // SVG Elements\n // https://wiki.whatwg.org/wiki/Sanitization_rules#svg_Elements\n // Note: the elements animate,animateColor,animateMotion,animateTransform,set are intentionally omitted.\n // They can potentially allow for arbitrary javascript to be executed. See #11290\n var svgElements = stringToMap('circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,' +\n 'hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,' +\n 'radialGradient,rect,stop,svg,switch,text,title,tspan');\n\n // Blocked Elements (will be stripped)\n var blockedElements = stringToMap('script,style');\n\n var validElements = extend({},\n voidElements,\n blockElements,\n inlineElements,\n optionalEndTagElements);\n\n //Attributes that have href and hence need to be sanitized\n var uriAttrs = stringToMap('background,cite,href,longdesc,src,xlink:href,xml:base');\n\n var htmlAttrs = stringToMap('abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,' +\n 'color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,' +\n 'ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,' +\n 'scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,' +\n 'valign,value,vspace,width');\n\n // SVG attributes (without \"id\" and \"name\" attributes)\n // https://wiki.whatwg.org/wiki/Sanitization_rules#svg_Attributes\n var svgAttrs = stringToMap('accent-height,accumulate,additive,alphabetic,arabic-form,ascent,' +\n 'baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,' +\n 'cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,' +\n 'font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,' +\n 'height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,' +\n 'marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,' +\n 'max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,' +\n 'path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,' +\n 'requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,' +\n 'stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,' +\n 'stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,' +\n 'stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,' +\n 'underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,' +\n 'width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,' +\n 'xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan', true);\n\n var validAttrs = extend({},\n uriAttrs,\n svgAttrs,\n htmlAttrs);\n\n function stringToMap(str, lowercaseKeys) {\n return arrayToMap(str.split(','), lowercaseKeys);\n }\n\n function arrayToMap(items, lowercaseKeys) {\n var obj = {}, i;\n for (i = 0; i < items.length; i++) {\n obj[lowercaseKeys ? lowercase(items[i]) : items[i]] = true;\n }\n return obj;\n }\n\n function addElementsTo(elementsMap, newElements) {\n if (newElements && newElements.length) {\n extend(elementsMap, arrayToMap(newElements));\n }\n }\n\n /**\n * Create an inert document that contains the dirty HTML that needs sanitizing\n * Depending upon browser support we use one of three strategies for doing this.\n * Support: Safari 10.x -> XHR strategy\n * Support: Firefox -> DomParser strategy\n */\n var getInertBodyElement /* function(html: string): HTMLBodyElement */ = (function(window, document) {\n var inertDocument;\n if (document && document.implementation) {\n inertDocument = document.implementation.createHTMLDocument('inert');\n } else {\n throw $sanitizeMinErr('noinert', 'Can\\'t create an inert html document');\n }\n var inertBodyElement = (inertDocument.documentElement || inertDocument.getDocumentElement()).querySelector('body');\n\n // Check for the Safari 10.1 bug - which allows JS to run inside the SVG G element\n inertBodyElement.innerHTML = '<svg><g onload=\"this.parentNode.remove()\"></g></svg>';\n if (!inertBodyElement.querySelector('svg')) {\n return getInertBodyElement_XHR;\n } else {\n // Check for the Firefox bug - which prevents the inner img JS from being sanitized\n inertBodyElement.innerHTML = '<svg><p><style><img src=\"</style><img src=x onerror=alert(1)//\">';\n if (inertBodyElement.querySelector('svg img')) {\n return getInertBodyElement_DOMParser;\n } else {\n return getInertBodyElement_InertDocument;\n }\n }\n\n function getInertBodyElement_XHR(html) {\n // We add this dummy element to ensure that the rest of the content is parsed as expected\n // e.g. leading whitespace is maintained and tags like `<meta>` do not get hoisted to the `<head>` tag.\n html = '<remove></remove>' + html;\n try {\n html = encodeURI(html);\n } catch (e) {\n return undefined;\n }\n var xhr = new window.XMLHttpRequest();\n xhr.responseType = 'document';\n xhr.open('GET', 'data:text/html;charset=utf-8,' + html, false);\n xhr.send(null);\n var body = xhr.response.body;\n body.firstChild.remove();\n return body;\n }\n\n function getInertBodyElement_DOMParser(html) {\n // We add this dummy element to ensure that the rest of the content is parsed as expected\n // e.g. leading whitespace is maintained and tags like `<meta>` do not get hoisted to the `<head>` tag.\n html = '<remove></remove>' + html;\n try {\n var body = new window.DOMParser().parseFromString(html, 'text/html').body;\n body.firstChild.remove();\n return body;\n } catch (e) {\n return undefined;\n }\n }\n\n function getInertBodyElement_InertDocument(html) {\n inertBodyElement.innerHTML = html;\n\n // Support: IE 9-11 only\n // strip custom-namespaced attributes on IE<=11\n if (document.documentMode) {\n stripCustomNsAttrs(inertBodyElement);\n }\n\n return inertBodyElement;\n }\n })(window, window.document);\n\n /**\n * @example\n * htmlParser(htmlString, {\n * start: function(tag, attrs) {},\n * end: function(tag) {},\n * chars: function(text) {},\n * comment: function(text) {}\n * });\n *\n * @param {string} html string\n * @param {object} handler\n */\n function htmlParserImpl(html, handler) {\n if (html === null || html === undefined) {\n html = '';\n } else if (typeof html !== 'string') {\n html = '' + html;\n }\n\n var inertBodyElement = getInertBodyElement(html);\n if (!inertBodyElement) return '';\n\n //mXSS protection\n var mXSSAttempts = 5;\n do {\n if (mXSSAttempts === 0) {\n throw $sanitizeMinErr('uinput', 'Failed to sanitize html because the input is unstable');\n }\n mXSSAttempts--;\n\n // trigger mXSS if it is going to happen by reading and writing the innerHTML\n html = inertBodyElement.innerHTML;\n inertBodyElement = getInertBodyElement(html);\n } while (html !== inertBodyElement.innerHTML);\n\n var node = inertBodyElement.firstChild;\n while (node) {\n switch (node.nodeType) {\n case 1: // ELEMENT_NODE\n handler.start(node.nodeName.toLowerCase(), attrToMap(node.attributes));\n break;\n case 3: // TEXT NODE\n handler.chars(node.textContent);\n break;\n }\n\n var nextNode;\n if (!(nextNode = node.firstChild)) {\n if (node.nodeType === 1) {\n handler.end(node.nodeName.toLowerCase());\n }\n nextNode = getNonDescendant('nextSibling', node);\n if (!nextNode) {\n while (nextNode == null) {\n node = getNonDescendant('parentNode', node);\n if (node === inertBodyElement) break;\n nextNode = getNonDescendant('nextSibling', node);\n if (node.nodeType === 1) {\n handler.end(node.nodeName.toLowerCase());\n }\n }\n }\n }\n node = nextNode;\n }\n\n while ((node = inertBodyElement.firstChild)) {\n inertBodyElement.removeChild(node);\n }\n }\n\n function attrToMap(attrs) {\n var map = {};\n for (var i = 0, ii = attrs.length; i < ii; i++) {\n var attr = attrs[i];\n map[attr.name] = attr.value;\n }\n return map;\n }\n\n\n /**\n * Escapes all potentially dangerous characters, so that the\n * resulting string can be safely inserted into attribute or\n * element text.\n * @param value\n * @returns {string} escaped text\n */\n function encodeEntities(value) {\n return value.\n replace(/&/g, '&amp;').\n replace(SURROGATE_PAIR_REGEXP, function(value) {\n var hi = value.charCodeAt(0);\n var low = value.charCodeAt(1);\n return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';';\n }).\n replace(NON_ALPHANUMERIC_REGEXP, function(value) {\n return '&#' + value.charCodeAt(0) + ';';\n }).\n replace(/</g, '&lt;').\n replace(/>/g, '&gt;');\n }\n\n /**\n * create an HTML/XML writer which writes to buffer\n * @param {Array} buf use buf.join('') to get out sanitized html string\n * @returns {object} in the form of {\n * start: function(tag, attrs) {},\n * end: function(tag) {},\n * chars: function(text) {},\n * comment: function(text) {}\n * }\n */\n function htmlSanitizeWriterImpl(buf, uriValidator) {\n var ignoreCurrentElement = false;\n var out = bind(buf, buf.push);\n return {\n start: function(tag, attrs) {\n tag = lowercase(tag);\n if (!ignoreCurrentElement && blockedElements[tag]) {\n ignoreCurrentElement = tag;\n }\n if (!ignoreCurrentElement && validElements[tag] === true) {\n out('<');\n out(tag);\n forEach(attrs, function(value, key) {\n var lkey = lowercase(key);\n var isImage = (tag === 'img' && lkey === 'src') || (lkey === 'background');\n if (validAttrs[lkey] === true &&\n (uriAttrs[lkey] !== true || uriValidator(value, isImage))) {\n out(' ');\n out(key);\n out('=\"');\n out(encodeEntities(value));\n out('\"');\n }\n });\n out('>');\n }\n },\n end: function(tag) {\n tag = lowercase(tag);\n if (!ignoreCurrentElement && validElements[tag] === true && voidElements[tag] !== true) {\n out('</');\n out(tag);\n out('>');\n }\n // eslint-disable-next-line eqeqeq\n if (tag == ignoreCurrentElement) {\n ignoreCurrentElement = false;\n }\n },\n chars: function(chars) {\n if (!ignoreCurrentElement) {\n out(encodeEntities(chars));\n }\n }\n };\n }\n\n\n /**\n * When IE9-11 comes across an unknown namespaced attribute e.g. 'xlink:foo' it adds 'xmlns:ns1' attribute to declare\n * ns1 namespace and prefixes the attribute with 'ns1' (e.g. 'ns1:xlink:foo'). This is undesirable since we don't want\n * to allow any of these custom attributes. This method strips them all.\n *\n * @param node Root element to process\n */\n function stripCustomNsAttrs(node) {\n while (node) {\n if (node.nodeType === window.Node.ELEMENT_NODE) {\n var attrs = node.attributes;\n for (var i = 0, l = attrs.length; i < l; i++) {\n var attrNode = attrs[i];\n var attrName = attrNode.name.toLowerCase();\n if (attrName === 'xmlns:ns1' || attrName.lastIndexOf('ns1:', 0) === 0) {\n node.removeAttributeNode(attrNode);\n i--;\n l--;\n }\n }\n }\n\n var nextNode = node.firstChild;\n if (nextNode) {\n stripCustomNsAttrs(nextNode);\n }\n\n node = getNonDescendant('nextSibling', node);\n }\n }\n\n function getNonDescendant(propName, node) {\n // An element is clobbered if its `propName` property points to one of its descendants\n var nextNode = node[propName];\n if (nextNode && nodeContains.call(node, nextNode)) {\n throw $sanitizeMinErr('elclob', 'Failed to sanitize html because the element is clobbered: {0}', node.outerHTML || node.outerText);\n }\n return nextNode;\n }\n}\n\nfunction sanitizeText(chars) {\n var buf = [];\n var writer = htmlSanitizeWriter(buf, noop);\n writer.chars(chars);\n return buf.join('');\n}\n\n\n// define ngSanitize module and register $sanitize service\nangular.module('ngSanitize', [])\n .provider('$sanitize', $SanitizeProvider)\n .info({ angularVersion: '1.8.0' });\n\n/**\n * @ngdoc filter\n * @name linky\n * @kind function\n *\n * @description\n * Finds links in text input and turns them into html links. Supports `http/https/ftp/sftp/mailto` and\n * plain email address links.\n *\n * Requires the {@link ngSanitize `ngSanitize`} module to be installed.\n *\n * @param {string} text Input text.\n * @param {string} [target] Window (`_blank|_self|_parent|_top`) or named frame to open links in.\n * @param {object|function(url)} [attributes] Add custom attributes to the link element.\n *\n * Can be one of:\n *\n * - `object`: A map of attributes\n * - `function`: Takes the url as a parameter and returns a map of attributes\n *\n * If the map of attributes contains a value for `target`, it overrides the value of\n * the target parameter.\n *\n *\n * @returns {string} Html-linkified and {@link $sanitize sanitized} text.\n *\n * @usage\n <span ng-bind-html=\"linky_expression | linky\"></span>\n *\n * @example\n <example module=\"linkyExample\" deps=\"angular-sanitize.js\" name=\"linky-filter\">\n <file name=\"index.html\">\n <div ng-controller=\"ExampleController\">\n Snippet: <textarea ng-model=\"snippet\" cols=\"60\" rows=\"3\"></textarea>\n <table>\n <tr>\n <th>Filter</th>\n <th>Source</th>\n <th>Rendered</th>\n </tr>\n <tr id=\"linky-filter\">\n <td>linky filter</td>\n <td>\n <pre>&lt;div ng-bind-html=\"snippet | linky\"&gt;<br>&lt;/div&gt;</pre>\n </td>\n <td>\n <div ng-bind-html=\"snippet | linky\"></div>\n </td>\n </tr>\n <tr id=\"linky-target\">\n <td>linky target</td>\n <td>\n <pre>&lt;div ng-bind-html=\"snippetWithSingleURL | linky:'_blank'\"&gt;<br>&lt;/div&gt;</pre>\n </td>\n <td>\n <div ng-bind-html=\"snippetWithSingleURL | linky:'_blank'\"></div>\n </td>\n </tr>\n <tr id=\"linky-custom-attributes\">\n <td>linky custom attributes</td>\n <td>\n <pre>&lt;div ng-bind-html=\"snippetWithSingleURL | linky:'_self':{rel: 'nofollow'}\"&gt;<br>&lt;/div&gt;</pre>\n </td>\n <td>\n <div ng-bind-html=\"snippetWithSingleURL | linky:'_self':{rel: 'nofollow'}\"></div>\n </td>\n </tr>\n <tr id=\"escaped-html\">\n <td>no filter</td>\n <td><pre>&lt;div ng-bind=\"snippet\"&gt;<br>&lt;/div&gt;</pre></td>\n <td><div ng-bind=\"snippet\"></div></td>\n </tr>\n </table>\n </file>\n <file name=\"script.js\">\n angular.module('linkyExample', ['ngSanitize'])\n .controller('ExampleController', ['$scope', function($scope) {\n $scope.snippet =\n 'Pretty text with some links:\\n' +\n 'http://angularjs.org/,\\n' +\n 'mailto:us@somewhere.org,\\n' +\n 'another@somewhere.org,\\n' +\n 'and one more: ftp://127.0.0.1/.';\n $scope.snippetWithSingleURL = 'http://angularjs.org/';\n }]);\n </file>\n <file name=\"protractor.js\" type=\"protractor\">\n it('should linkify the snippet with urls', function() {\n expect(element(by.id('linky-filter')).element(by.binding('snippet | linky')).getText()).\n toBe('Pretty text with some links: http://angularjs.org/, us@somewhere.org, ' +\n 'another@somewhere.org, and one more: ftp://127.0.0.1/.');\n expect(element.all(by.css('#linky-filter a')).count()).toEqual(4);\n });\n\n it('should not linkify snippet without the linky filter', function() {\n expect(element(by.id('escaped-html')).element(by.binding('snippet')).getText()).\n toBe('Pretty text with some links: http://angularjs.org/, mailto:us@somewhere.org, ' +\n 'another@somewhere.org, and one more: ftp://127.0.0.1/.');\n expect(element.all(by.css('#escaped-html a')).count()).toEqual(0);\n });\n\n it('should update', function() {\n element(by.model('snippet')).clear();\n element(by.model('snippet')).sendKeys('new http://link.');\n expect(element(by.id('linky-filter')).element(by.binding('snippet | linky')).getText()).\n toBe('new http://link.');\n expect(element.all(by.css('#linky-filter a')).count()).toEqual(1);\n expect(element(by.id('escaped-html')).element(by.binding('snippet')).getText())\n .toBe('new http://link.');\n });\n\n it('should work with the target property', function() {\n expect(element(by.id('linky-target')).\n element(by.binding(\"snippetWithSingleURL | linky:'_blank'\")).getText()).\n toBe('http://angularjs.org/');\n expect(element(by.css('#linky-target a')).getAttribute('target')).toEqual('_blank');\n });\n\n it('should optionally add custom attributes', function() {\n expect(element(by.id('linky-custom-attributes')).\n element(by.binding(\"snippetWithSingleURL | linky:'_self':{rel: 'nofollow'}\")).getText()).\n toBe('http://angularjs.org/');\n expect(element(by.css('#linky-custom-attributes a')).getAttribute('rel')).toEqual('nofollow');\n });\n </file>\n </example>\n */\nangular.module('ngSanitize').filter('linky', ['$sanitize', function($sanitize) {\n var LINKY_URL_REGEXP =\n /((s?ftp|https?):\\/\\/|(www\\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\\S*[^\\s.;,(){}<>\"\\u201d\\u2019]/i,\n MAILTO_REGEXP = /^mailto:/i;\n\n var linkyMinErr = angular.$$minErr('linky');\n var isDefined = angular.isDefined;\n var isFunction = angular.isFunction;\n var isObject = angular.isObject;\n var isString = angular.isString;\n\n return function(text, target, attributes) {\n if (text == null || text === '') return text;\n if (!isString(text)) throw linkyMinErr('notstring', 'Expected string but received: {0}', text);\n\n var attributesFn =\n isFunction(attributes) ? attributes :\n isObject(attributes) ? function getAttributesObject() {return attributes;} :\n function getEmptyAttributesObject() {return {};};\n\n var match;\n var raw = text;\n var html = [];\n var url;\n var i;\n while ((match = raw.match(LINKY_URL_REGEXP))) {\n // We can not end in these as they are sometimes found at the end of the sentence\n url = match[0];\n // if we did not match ftp/http/www/mailto then assume mailto\n if (!match[2] && !match[4]) {\n url = (match[3] ? 'http://' : 'mailto:') + url;\n }\n i = match.index;\n addText(raw.substr(0, i));\n addLink(url, match[0].replace(MAILTO_REGEXP, ''));\n raw = raw.substring(i + match[0].length);\n }\n addText(raw);\n return $sanitize(html.join(''));\n\n function addText(text) {\n if (!text) {\n return;\n }\n html.push(sanitizeText(text));\n }\n\n function addLink(url, text) {\n var key, linkAttributes = attributesFn(url);\n html.push('<a ');\n\n for (key in linkAttributes) {\n html.push(key + '=\"' + linkAttributes[key] + '\" ');\n }\n\n if (isDefined(target) && !('target' in linkAttributes)) {\n html.push('target=\"',\n target,\n '\" ');\n }\n html.push('href=\"',\n url.replace(/\"/g, '&quot;'),\n '\">');\n addText(text);\n html.push('</a>');\n }\n };\n}]);\n\n\n})(window, window.angular);\n","var candidateSelectors = [\n 'input',\n 'select',\n 'textarea',\n 'a[href]',\n 'button',\n '[tabindex]',\n 'audio[controls]',\n 'video[controls]',\n '[contenteditable]:not([contenteditable=\"false\"])',\n];\nvar candidateSelector = candidateSelectors.join(',');\n\nvar matches = typeof Element === 'undefined'\n ? function () {}\n : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\n\nfunction tabbable(el, options) {\n options = options || {};\n\n var regularTabbables = [];\n var orderedTabbables = [];\n\n var candidates = el.querySelectorAll(candidateSelector);\n\n if (options.includeContainer) {\n if (matches.call(el, candidateSelector)) {\n candidates = Array.prototype.slice.apply(candidates);\n candidates.unshift(el);\n }\n }\n\n var i, candidate, candidateTabindex;\n for (i = 0; i < candidates.length; i++) {\n candidate = candidates[i];\n\n if (!isNodeMatchingSelectorTabbable(candidate)) continue;\n\n candidateTabindex = getTabindex(candidate);\n if (candidateTabindex === 0) {\n regularTabbables.push(candidate);\n } else {\n orderedTabbables.push({\n documentOrder: i,\n tabIndex: candidateTabindex,\n node: candidate,\n });\n }\n }\n\n var tabbableNodes = orderedTabbables\n .sort(sortOrderedTabbables)\n .map(function(a) { return a.node })\n .concat(regularTabbables);\n\n return tabbableNodes;\n}\n\ntabbable.isTabbable = isTabbable;\ntabbable.isFocusable = isFocusable;\n\nfunction isNodeMatchingSelectorTabbable(node) {\n if (\n !isNodeMatchingSelectorFocusable(node)\n || isNonTabbableRadio(node)\n || getTabindex(node) < 0\n ) {\n return false;\n }\n return true;\n}\n\nfunction isTabbable(node) {\n if (!node) throw new Error('No node provided');\n if (matches.call(node, candidateSelector) === false) return false;\n return isNodeMatchingSelectorTabbable(node);\n}\n\nfunction isNodeMatchingSelectorFocusable(node) {\n if (\n node.disabled\n || isHiddenInput(node)\n || isHidden(node)\n ) {\n return false;\n }\n return true;\n}\n\nvar focusableCandidateSelector = candidateSelectors.concat('iframe').join(',');\nfunction isFocusable(node) {\n if (!node) throw new Error('No node provided');\n if (matches.call(node, focusableCandidateSelector) === false) return false;\n return isNodeMatchingSelectorFocusable(node);\n}\n\nfunction getTabindex(node) {\n var tabindexAttr = parseInt(node.getAttribute('tabindex'), 10);\n if (!isNaN(tabindexAttr)) return tabindexAttr;\n // Browsers do not return `tabIndex` correctly for contentEditable nodes;\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n if (isContentEditable(node)) return 0;\n return node.tabIndex;\n}\n\nfunction sortOrderedTabbables(a, b) {\n return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n}\n\nfunction isContentEditable(node) {\n return node.contentEditable === 'true';\n}\n\nfunction isInput(node) {\n return node.tagName === 'INPUT';\n}\n\nfunction isHiddenInput(node) {\n return isInput(node) && node.type === 'hidden';\n}\n\nfunction isRadio(node) {\n return isInput(node) && node.type === 'radio';\n}\n\nfunction isNonTabbableRadio(node) {\n return isRadio(node) && !isTabbableRadio(node);\n}\n\nfunction getCheckedRadio(nodes) {\n for (var i = 0; i < nodes.length; i++) {\n if (nodes[i].checked) {\n return nodes[i];\n }\n }\n}\n\nfunction isTabbableRadio(node) {\n if (!node.name) return true;\n // This won't account for the edge case where you have radio groups with the same\n // in separate forms on the same page.\n var radioSet = node.ownerDocument.querySelectorAll('input[type=\"radio\"][name=\"' + node.name + '\"]');\n var checked = getCheckedRadio(radioSet);\n return !checked || checked === node;\n}\n\nfunction isHidden(node) {\n // offsetParent being null will allow detecting cases where an element is invisible or inside an invisible element,\n // as long as the element does not use position: fixed. For them, their visibility has to be checked directly as well.\n return node.offsetParent === null || getComputedStyle(node).visibility === 'hidden';\n}\n\nmodule.exports = tabbable;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".ring-form{color:#1f2326;color:var(--ring-text-color);font-size:13px;font-size:var(--ring-font-size);font-family:system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;font-family:var(--ring-font-family)}.ring-form_white-bg{background:#fff}.ring-form_border{border:1px solid #999;border:1px solid var(--ring-disabled-color);border-radius:2px}.ring-form_rows .ring-form__label{float:none;max-width:none}.ring-form_rows .ring-form__control{margin-left:0;width:336px}.ring-form__wrap{padding:24px 32px 0 32px;margin-bottom:0}.ring-form__header{min-height:13px;padding-bottom:16px}.ring-form__control__description{padding-top:4px;font-size:12px;font-size:var(--ring-font-size-smaller);line-height:16px !important;color:#737577;color:var(--ring-secondary-color);max-width:900px;display:block}.ring-form__title-img{float:left;height:32px;border:0}.ring-form__title{display:block;margin-bottom:8px;font-weight:bold}.ring-form__main-title{color:#1f2326;color:var(--ring-text-color);font-size:13px;font-size:var(--ring-font-size);font-family:system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;font-family:var(--ring-font-family);font-size:19px}.ring-form__title_separated{margin:24px 0}.ring-form__group{position:relative;margin:16px 0}.ring-form__group:first-child{margin-top:0}.ring-form__group:after{clear:both;content:\\\"\\\";display:block}.ring-form__group_united{padding-bottom:0}.ring-form__group .ring_form__group,.ring-form__group_nested{padding-top:0;padding-left:16px}.ring-form__group .ring_form__group .ring-form__control,.ring-form__group_nested .ring-form__control{margin-left:144px}.ring-form__label{position:relative;top:0;display:inline-block;float:left;max-width:144px;line-height:16px;padding-top:4px;vertical-align:top}.ring-form__label .ring-checkbox__label,.ring-form__label .ring-radio-btn__label{top:-2px}.ring-form__label_title{font-weight:bold}.ring-form__control{position:relative;min-height:24px;margin-left:160px;width:auto;line-height:24px;vertical-align:top}.ring-form__control_text:after{content:\\\"\\\";display:inline-block;height:24px;vertical-align:middle}.ring-form__control_secondary{position:absolute;top:8px;left:216px}.ring-form__control_on{color:#1b8833;color:var(--ring-success-color)}.ring-form__control_off{color:#737577;color:var(--ring-secondary-color)}.ring-form__control-link{position:relative;top:6px}.ring-form__control_small{margin-left:128px !important}.ring-form__info{margin-bottom:-6px;width:680px;margin-left:160px;line-height:20px}.ring-form__control__part{margin-right:8px}.ring-form__group_short{padding-bottom:0;padding-top:4px}.ring-form__group_short:last-child{padding-bottom:8px}.ring-form__group_short .ring-form__control{margin-left:24px}.ring-form_small .ring-form__label{max-width:96px}.ring-form_small .ring-form__control{margin-left:128px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".dialogContainer_94f {\\n position: relative;\\n\\n display: flex;\\n flex-direction: column;\\n\\n min-height: auto\\n}\\n\\n.dialogContainer_94f .ring-form__group:last-child {\\n margin-bottom: 0;\\n }\\n\\n.dialogContainer_94f .ring-form {\\n width: 100%;\\n }\\n\\n.wide_81d.wide_81d {\\n width: 600px;\\n max-width: 600px;\\n}\\n\\n.autoWidth_bf6.autoWidth_bf6 {\\n width: auto;\\n max-width: 100%;\\n}\\n\\n.header_0e5.header_0e5 {\\n padding-top: 16px;\\n\\n cursor: move;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none;\\n\\n font-size: 24px;\\n}\\n\\n.inSidebar_680 .header_0e5 {\\n padding-top: 0;\\n\\n cursor: default;\\n -webkit-user-select: text;\\n -moz-user-select: text;\\n -ms-user-select: text;\\n user-select: text;\\n}\\n\\n.inSidebar_680 .ring-form {\\n width: auto;\\n width: initial;\\n}\\n\\n.scrollableWrapper_17f.scrollableWrapper_17f {\\n overflow: visible;\\n\\n width: auto;\\n\\n padding-top: 24px;\\n}\\n\\n.content_0b2.content_0b2 {\\n overflow: visible;\\n}\\n\\n.error_3d8 {\\n max-width: 360px;\\n\\n word-wrap: break-word;\\n\\n color: #c22731;\\n\\n color: var(--ring-error-color);\\n}\\n\\n.footer_363 {\\n height: auto;\\n padding: 16px 32px;\\n\\n text-align: left;\\n\\n font-size: 0;\\n}\\n\\n.footerDescription_8e0 {\\n margin-bottom: 16px;\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n}\\n\\n.footerItems_d62 {\\n white-space: nowrap;\\n}\\n\\n.footerItem_ef1 {\\n display: inline-block\\n\\n /**\\n * Do not make space using margin-right as it will break spaces between right-sided buttons in dialog's footer\\n */\\n}\\n\\n.footerItem_ef1:not(:first-child) {\\n margin-left: 8px;\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"dialogContainer\": \"dialogContainer_94f\",\n\t\"wide\": \"wide_81d\",\n\t\"autoWidth\": \"autoWidth_bf6\",\n\t\"header\": \"header_0e5\",\n\t\"inSidebar\": \"inSidebar_680\",\n\t\"scrollableWrapper\": \"scrollableWrapper_17f\",\n\t\"content\": \"content_0b2\",\n\t\"error\": \"error_3d8\",\n\t\"footer\": \"footer_363\",\n\t\"footerDescription\": \"footerDescription_8e0\",\n\t\"footerItems\": \"footerItems_d62\",\n\t\"footerItem\": \"footerItem_ef1\"\n};\nmodule.exports = exports;\n","module.exports = \"<div\\n ng-show=\\\"dialog.active\\\"\\n ng-class=\\\"[!dialog.inSidebar && dialog.dialogStyles.container]\\\"\\n ng-click=\\\"dialog.handleClick($event)\\\"\\n ng-attr-data-portaltarget=\\\"{{!dialog.inSidebar ? 'dialog-ng-popup-container' : null}}\\\"\\n>\\n <div ng-class=\\\"[dialog.dialogStyles.innerContainer]\\\">\\n <div data-anchor=\\\"dialog-container\\\"\\n ng-attr-data-in-sidebar=\\\"{{dialog.inSidebar ? 'true' : 'false'}}\\\"\\n ng-attr-data-test=\\\"{{dialog.active ? 'ring-dialog' : null}}\\\"\\n ng-class=\\\"[\\n dialog.styles.dialogContainer,\\n dialog.cssClass,\\n dialog.wideDialog && dialog.styles.wide,\\n dialog.autoWidth && dialog.styles.autoWidth,\\n dialog.inSidebar && dialog.styles.inSidebar,\\n !dialog.inSidebar && dialog.dialogStyles.content,\\n !dialog.inSidebar && dialog.islandStyles.island\\n ]\\\"\\n >\\n <div ng-class=\\\"[dialog.islandStyles.header, dialog.styles.header]\\\"\\n data-anchor=\\\"dialog-header\\\"\\n ng-show=\\\"dialog.title\\\">\\n <span ng-class=\\\"dialog.islandStyles.title\\\">{{ dialog.title }}</span>\\n </div>\\n\\n <div ng-class=\\\"[dialog.styles.scrollableWrapper, dialog.islandStyles.scrollableWrapper, dialog.scrollableWrapperClassName]\\\">\\n <div ng-class=\\\"[dialog.styles.content, dialog.islandStyles.content]\\\">\\n <form name=\\\"dialog.dialogForm\\\" class=\\\"ring-form ring-js-shortcuts\\\"\\n novalidate>\\n <rg-dialog-content></rg-dialog-content>\\n\\n <div class=\\\"ring-form__group\\\" ng-show=\\\"dialog.error\\\">\\n <div ng-class=\\\"dialog.styles.error\\\" ng-bind-html=\\\"dialog.error\\\"></div>\\n </div>\\n </form>\\n </div>\\n </div>\\n\\n <div ng-class=\\\"dialog.styles.footer\\\"\\n ng-if=\\\"dialog.description.length || dialog.buttons.length\\\">\\n <div ng-class=\\\"dialog.styles.footerDescription\\\"\\n ng-if=\\\"dialog.description && dialog.description.length\\\">\\n <div ng-repeat=\\\"line in dialog.description\\\">{{ line }}</div>\\n </div>\\n\\n <div ng-class=\\\"dialog.styles.footerItems\\\">\\n <rg-button\\n ng-repeat=\\\"button in dialog.buttons\\\"\\n ng-class=\\\"[dialog.styles.footerItem , button.cssClasses]\\\"\\n mode=\\\"{{button.default ? 'primary' : ''}}\\\"\\n text=\\\"button.text\\\"\\n ng-disabled=\\\"(button.default && dialog.dialogForm.$invalid) || button.disabled\\\"\\n ng-if=\\\"!button.hidden\\\"\\n data-test=\\\"dialog-footer-button\\\"\\n\\n rg-promised-click=\\\"dialog.action(button)\\\"\\n promised-mode=\\\"loader\\\"\\n >{{ button.label }}\\n </rg-button>\\n </div>\\n </div>\\n\\n <div data-anchor=\\\"dialog-custom-footer-container\\\"></div>\\n\\n <div tabindex=\\\"-1\\\" ng-show=\\\"false\\\" data-anchor=\\\"focus-trap-fallback\\\"></div>\\n </div>\\n </div>\\n</div>\\n\";","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./docked-panel-ng.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".ring-docked-panel{margin-top:32px;padding-left:0;border-top:none}.ring-docked-panel_fixed.ring-docked-panel_fixed{position:fixed;top:auto;right:0;left:0;bottom:0;padding-left:32px;padding-top:12px;padding-bottom:12px;z-index:2;width:100%;margin-left:0;background-color:#fff;background-color:var(--ring-content-background-color);border-top:1px solid rgba(0, 42, 76, 0.1);border-top:1px solid var(--ring-popup-border-color)}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".errorBubblePopup_9c6 {\\n overflow: visible;\\n\\n margin-left: 2px;\\n\\n border: none;\\n\\n box-shadow: none;\\n}\\n\\n.errorBubbleWrapper_ab0 {\\n display: inline-block;\\n}\\n\\n.errorBubble_032 {\\n box-sizing: border-box;\\n min-height: 24px;\\n padding-right: 16px;\\n padding-left: 16px;\\n\\n white-space: nowrap;\\n\\n color: #c22731;\\n\\n color: var(--ring-error-color);\\n\\n border: 1px solid rgba(0, 42, 76, 0.1);\\n\\n border: 1px solid var(--ring-popup-border-color);\\n border-radius: 3px;\\n border-radius: var(--ring-border-radius);\\n\\n background: #fff;\\n\\n background: var(--ring-popup-background-color);\\n box-shadow: 0 2px 16px 0 rgba(0, 42, 76, 0.15);\\n box-shadow: 0 2px 16px 0 var(--ring-popup-shadow-color);\\n\\n font-size: 12px;\\n line-height: 22px\\n}\\n\\n.errorBubble_032::before {\\n position: absolute;\\n top: 8px;\\n left: -4px;\\n\\n display: block;\\n\\n width: 8px;\\n height: 8px;\\n\\n content: '';\\n transform: rotate(45deg);\\n\\n border: 1px solid rgba(0, 42, 76, 0.1);\\n\\n border: 1px solid var(--ring-popup-border-color);\\n border-top: none;\\n border-right: none;\\n background: #fff;\\n background: var(--ring-popup-background-color);\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"errorBubblePopup\": \"errorBubblePopup_9c6\",\n\t\"errorBubbleWrapper\": \"errorBubbleWrapper_ab0\",\n\t\"errorBubble\": \"errorBubble_032\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".errorMessage_d8f {\\n display: flex;\\n align-items: center;\\n flex-direction: row;\\n justify-content: center;\\n\\n max-width: 600px;\\n height: 100%;\\n margin: 0 auto;\\n}\\n\\n.title_096 {\\n font-size: 21px;\\n}\\n\\n.description_5be {\\n font-size: 15px;\\n}\\n\\n.content_ee1 {\\n flex-direction: column;\\n\\n color: #1f2326;\\n\\n color: var(--ring-text-color);\\n}\\n\\n.content_ee1 > .title_096,\\n.description_5be {\\n margin-bottom: 16px;\\n}\\n\\n.icon_50e {\\n margin: 0 16px 24px 0;\\n\\n color: #999;\\n\\n color: var(--ring-icon-secondary-color);\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"errorMessage\": \"errorMessage_d8f\",\n\t\"title\": \"title_096\",\n\t\"description\": \"description_5be\",\n\t\"content\": \"content_ee1\",\n\t\"icon\": \"icon_50e\"\n};\nmodule.exports = exports;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./error-page.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_GET_URL_IMPORT___ = require(\"../../../../css-loader/dist/runtime/getUrl.js\");\nvar ___CSS_LOADER_URL_IMPORT_0___ = require(\"./error-page.gif\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\n// Module\nexports.push([module.id, \".error-page:before{content:\\\"\\\";display:block;position:absolute;height:100%;width:100%;z-index:-1;z-index:var(--ring-invisible-element-z-index)}.error-page_enabled:before{background:url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \");opacity:.06}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","\"use strict\";\n\nmodule.exports = function (url, options) {\n if (!options) {\n // eslint-disable-next-line no-param-reassign\n options = {};\n } // eslint-disable-next-line no-underscore-dangle, no-param-reassign\n\n\n url = url && url.__esModule ? url.default : url;\n\n if (typeof url !== 'string') {\n return url;\n } // If url is already wrapped in quotes, remove them\n\n\n if (/^['\"].*['\"]$/.test(url)) {\n // eslint-disable-next-line no-param-reassign\n url = url.slice(1, -1);\n }\n\n if (options.hash) {\n // eslint-disable-next-line no-param-reassign\n url += options.hash;\n } // Should url be wrapped?\n // See https://drafts.csswg.org/css-values-3/#urls\n\n\n if (/[\"'() \\t\\n]/.test(url) || options.needQuotes) {\n return \"\\\"\".concat(url.replace(/\"/g, '\\\\\"').replace(/\\n/g, '\\\\n'), \"\\\"\");\n }\n\n return url;\n};","export default \"data:image/gif;base64,R0lGODlhZABkAPIAAAUFBWJiYqGhofr6+qusrQAAAAAAAAAAACH5BAUGAAQAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAZABkAAAD/ggxPPugBdHciKreG3AF3kAxYBNtWUp+JRl0mzmOp7ZypdeaeezBJUpNAWqFQAvdifgR+UTAk0BavD010gmpto10FKPVIuYTLp3LsdB0mTptvjOZLQhXvkw2anjJrFlDFFNKYwxrAINcDF8dU2FfMouIi1ZzfTyXGkmXXltNJGaIU40NiWNcE0WFXm53ilY1MIV9fGyvlHdsHad3dp9RepltCxRJYSeMFm0Snp2IR31mXUgix6GfHIZWg8ErO0VHGCl1tBVut1ilc89SFjtazBizKEAsMce18tlyXRIvId0wNWHVJsOeRXZA+JIH0BwTKliE8HL2jR2yZbjS7WkH/kqbxjeeaFRR8GCFAC1r/kR7NtBGmh4W36zBg4JSvkCQHPCLMAKGp4NOVM4SWWsZNVsZHVXpQ8zDuXLilJXiJ4LhsZouHHBrKc4IrjSREF7aJK6Vy4uA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b+6Hjc/ycRklDM7LSxErRqTXXMIOimqFJpTIAEAOw==\"","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./permissions-ng.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".ring-permission-hide{display:none !important}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".errorPageNg_f9f {\\n position: fixed;\\n\\n width: 100%;\\n height: 100%;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"errorPageNg\": \"errorPageNg_f9f\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".footer_557 {\\n\\n position: relative;\\n\\n box-sizing: border-box;\\n height: 64px;\\n margin: 40px 32px 0 32px;\\n padding-top: 16px;\\n\\n text-align: center;\\n\\n border-top: 1px solid #dfe5eb;\\n\\n border-top: 1px solid var(--ring-line-color);\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n}\\n\\n.footerFloating_1fd {\\n\\n position: absolute;\\n z-index: 1;\\n z-index: var(--ring-fixed-z-index);\\n bottom: 0;\\n\\n width: 100%;\\n margin-right: 0;\\n margin-bottom: 8px;\\n margin-left: 0;\\n}\\n\\n.column_ea8 {\\n position: absolute;\\n\\n width: 33%;\\n}\\n\\n.columnItem_fa3 {\\n display: inline-block;\\n\\n margin: 0;\\n padding: 0;\\n\\n vertical-align: top;\\n}\\n\\n.columnLeft_2a4 {\\n\\n text-align: left;\\n}\\n\\n.columnCenter_fb7 {\\n\\n left: 33.6%;\\n}\\n\\n.columnCenter_fb7 .line_64b {\\n text-align: left;\\n}\\n\\n.columnRight_e7e {\\n\\n top: 16px;\\n right: 0;\\n\\n text-align: right;\\n}\\n\\n.line_64b {\\n padding: 0;\\n\\n list-style: none;\\n\\n line-height: 16px;\\n}\\n\\n.lineCenter_fee {\\n text-align: left;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"footer-height\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"footer-height\"] + \"\",\n\t\"footer\": \"footer_557 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"font\"] + \"\",\n\t\"footerFloating\": \"footerFloating_1fd footer_557 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"font\"] + \"\",\n\t\"column\": \"column_ea8\",\n\t\"columnItem\": \"columnItem_fa3\",\n\t\"columnLeft\": \"columnLeft_2a4 column_ea8\",\n\t\"columnCenter\": \"columnCenter_fb7 column_ea8\",\n\t\"line\": \"line_64b\",\n\t\"columnRight\": \"columnRight_e7e column_ea8\",\n\t\"lineCenter\": \"lineCenter_fee\"\n};\nmodule.exports = exports;\n","module.exports = \"<div ng-class=\\\":: $ctrl.styles.footer\\\" data-test=\\\"ring-footer\\\">\\n <div ng-class=\\\":: $ctrl.styles.columnLeft\\\">\\n <div ng-transclude=\\\"left\\\" ng-class=\\\":: $ctrl.styles.columnItem\\\"></div>\\n </div>\\n\\n <div ng-class=\\\":: $ctrl.styles.columnCenter\\\">\\n <div ng-transclude=\\\"center\\\" ng-class=\\\":: $ctrl.styles.columnItem\\\"></div>\\n </div>\\n\\n <div ng-class=\\\":: $ctrl.styles.columnRight\\\">\\n <div ng-transclude=\\\"right\\\" ng-class=\\\":: $ctrl.styles.columnItem\\\"></div>\\n </div>\\n</div>\\n\";","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./input.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".ring-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;box-sizing:border-box;margin:0;padding-right:4px;padding-left:4px;padding-bottom:3px;border:1px solid #b8d1e5;border:1px solid var(--ring-borders-color);background-color:#fff;background-color:var(--ring-content-background-color);color:#1f2326;color:var(--ring-text-color);font-size:13px;font-size:var(--ring-font-size);font-family:system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;font-family:var(--ring-font-family);line-height:20px;height:24px;width:100%}.ring-input:active,.ring-input:focus,.ring-input_active,.ring-input_focus{border-color:#008eff;border-color:var(--ring-main-color);outline:0}.ring-input_correct{border-color:#1b8833;border-color:var(--ring-success-color)}.ring-input_error{border-color:#c22731;border-color:var(--ring-error-color)}.ring-input_no-resize{resize:none}.ring-input_filter-popup{min-width:200px;width:100%}.ring-input_material{padding-left:0;padding-right:0;border-top:0;border-left:0;border-right:0}.ring-input.ring-input:disabled,.ring-input.ring-input[disabled],.ring-input.ring-input_disabled{border-color:#dbdbdb;border-color:var(--ring-border-disabled-color);background-color:#f7f9fa;background-color:var(--ring-sidebar-background-color);color:#999;color:var(--ring-disabled-color)}textarea.ring-input{height:auto;min-height:64px;resize:vertical;vertical-align:top}textarea.ring-input::-moz-placeholder{color:#999;color:var(--ring-disabled-color)}textarea.ring-input:-ms-input-placeholder{color:#999;color:var(--ring-disabled-color)}textarea.ring-input::-ms-input-placeholder{color:#999;color:var(--ring-disabled-color)}textarea.ring-input::placeholder{color:#999;color:var(--ring-disabled-color)}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./error-bubble.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".ring-error-bubble{z-index:2;box-sizing:border-box;display:none;position:absolute;top:0;left:calc(100% + 2px);min-height:24px;padding-right:16px;padding-left:16px;line-height:22px;border-radius:3px;border-radius:var(--ring-border-radius);border:1px solid rgba(0, 42, 76, 0.1);border:1px solid var(--ring-popup-border-color);color:#1f2326;color:var(--ring-text-color);font-size:12px;font-family:system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;font-family:var(--ring-font-family);white-space:nowrap;color:#c22731;color:var(--ring-error-color);background:#fff;background:var(--ring-popup-background-color);box-shadow:0 2px 16px 0 rgba(0, 42, 76, 0.15);box-shadow:0 2px 16px 0 var(--ring-popup-shadow-color)}.ring-error-bubble.active{display:inline-block}.ring-error-bubble:before{content:\\\"\\\";transform:rotate(45deg);z-index:-1;z-index:var(--ring-invisible-element-z-index);position:absolute;top:7px;left:-5px;display:block;width:8px;height:8px;border:1px solid rgba(0, 42, 76, 0.1);border:1px solid var(--ring-popup-border-color);border-right:none;border-top:none;background:#fff;background:var(--ring-popup-background-color)}.ring-error-bubble_material{padding-left:8px;box-shadow:none;border:0;background-color:transparent;background:none}.ring-error-bubble_material:before{display:none}.ring-form__control .ring-error-bubble{top:1px}.ring-error-bubble-wrapper{position:relative}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","module.exports = \"<div class=\\\"ring-error-bubble\\\" ng-class=\\\"{ active: active, 'ring-error-bubble_material': material }\\\" ng-style=\\\"style\\\">\\n <div ng-repeat=\\\"errorMessage in getFormErrorMessages(errorBubble().$error)\\\">{{ errorMessage }}</div>\\n</div>\\n\";","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".container-fluid_d52,\\n.container_662 {\\n margin-right: auto;\\n margin-left: auto;\\n}\\n\\n.container-fluid_d52 {\\n min-width: 320px;\\n padding-right: 16px;\\n padding-left: 16px;\\n}\\n\\n.row_444 {\\n display: flex;\\n flex: 0 1 auto;\\n flex-flow: row wrap;\\n\\n box-sizing: border-box;\\n margin-right: -8px;\\n margin-left: -8px;\\n}\\n\\n.row_444.reverse_b8d {\\n flex-direction: row-reverse;\\n}\\n\\n.col_342 {\\n margin-top: 8px;\\n margin-bottom: 8px;\\n}\\n\\n.col_342.reverse_b8d {\\n flex-direction: column-reverse;\\n}\\n\\n.col-xs_52c,\\n.col-xs-1_8d5,\\n.col-xs-2_275,\\n.col-xs-3_e43,\\n.col-xs-4_57d,\\n.col-xs-5_21f,\\n.col-xs-6_525,\\n.col-xs-7_903,\\n.col-xs-8_0a6,\\n.col-xs-9_8c5,\\n.col-xs-10_6fc,\\n.col-xs-11_811,\\n.col-xs-12_514,\\n.col-xs-offset-0_d27,\\n.col-xs-offset-1_09c,\\n.col-xs-offset-2_f0d,\\n.col-xs-offset-3_c30,\\n.col-xs-offset-4_9d0,\\n.col-xs-offset-5_1f0,\\n.col-xs-offset-6_955,\\n.col-xs-offset-7_e49,\\n.col-xs-offset-8_acd,\\n.col-xs-offset-9_c2f,\\n.col-xs-offset-10_387,\\n.col-xs-offset-11_eaa,\\n.col-xs-offset-12_d54 {\\n flex: 0 0 auto;\\n\\n box-sizing: border-box;\\n padding-right: 8px;\\n padding-left: 8px;\\n}\\n\\n.col-xs_52c {\\n flex-basis: 0;\\n flex-grow: 1;\\n\\n max-width: 100%;\\n}\\n\\n.col-xs-1_8d5 {\\n flex-basis: 8.33333333%;\\n\\n max-width: 8.33333333%;\\n}\\n\\n.col-xs-2_275 {\\n flex-basis: 16.66666667%;\\n\\n max-width: 16.66666667%;\\n}\\n\\n.col-xs-3_e43 {\\n flex-basis: 25%;\\n\\n max-width: 25%;\\n}\\n\\n.col-xs-4_57d {\\n flex-basis: 33.33333333%;\\n\\n max-width: 33.33333333%;\\n}\\n\\n.col-xs-5_21f {\\n flex-basis: 41.66666667%;\\n\\n max-width: 41.66666667%;\\n}\\n\\n.col-xs-6_525 {\\n flex-basis: 50%;\\n\\n max-width: 50%;\\n}\\n\\n.col-xs-7_903 {\\n flex-basis: 58.33333333%;\\n\\n max-width: 58.33333333%;\\n}\\n\\n.col-xs-8_0a6 {\\n flex-basis: 66.66666667%;\\n\\n max-width: 66.66666667%;\\n}\\n\\n.col-xs-9_8c5 {\\n flex-basis: 75%;\\n\\n max-width: 75%;\\n}\\n\\n.col-xs-10_6fc {\\n flex-basis: 83.33333333%;\\n\\n max-width: 83.33333333%;\\n}\\n\\n.col-xs-11_811 {\\n flex-basis: 91.66666667%;\\n\\n max-width: 91.66666667%;\\n}\\n\\n.col-xs-12_514 {\\n flex-basis: 100%;\\n\\n max-width: 100%;\\n}\\n\\n.col-xs-offset-0_d27 {\\n margin-left: 0;\\n}\\n\\n.col-xs-offset-1_09c {\\n margin-left: 8.33333333%;\\n}\\n\\n.col-xs-offset-2_f0d {\\n margin-left: 16.66666667%;\\n}\\n\\n.col-xs-offset-3_c30 {\\n margin-left: 25%;\\n}\\n\\n.col-xs-offset-4_9d0 {\\n margin-left: 33.33333333%;\\n}\\n\\n.col-xs-offset-5_1f0 {\\n margin-left: 41.66666667%;\\n}\\n\\n.col-xs-offset-6_955 {\\n margin-left: 50%;\\n}\\n\\n.col-xs-offset-7_e49 {\\n margin-left: 58.33333333%;\\n}\\n\\n.col-xs-offset-8_acd {\\n margin-left: 66.66666667%;\\n}\\n\\n.col-xs-offset-9_c2f {\\n margin-left: 75%;\\n}\\n\\n.col-xs-offset-10_387 {\\n margin-left: 83.33333333%;\\n}\\n\\n.col-xs-offset-11_eaa {\\n margin-left: 91.66666667%;\\n}\\n\\n.start-xs_716 {\\n justify-content: flex-start;\\n\\n text-align: start;\\n}\\n\\n.center-xs_2c8 {\\n justify-content: center;\\n\\n text-align: center;\\n}\\n\\n.end-xs_7c0 {\\n justify-content: flex-end;\\n\\n text-align: end;\\n}\\n\\n.top-xs_b15 {\\n align-items: flex-start;\\n}\\n\\n.middle-xs_61f {\\n align-items: center;\\n}\\n\\n.baseline-xs_4c7 {\\n align-items: baseline;\\n}\\n\\n.bottom-xs_de0 {\\n align-items: flex-end;\\n}\\n\\n.around-xs_235 {\\n justify-content: space-around;\\n}\\n\\n.between-xs_191 {\\n justify-content: space-between;\\n}\\n\\n.first-xs_3e7 {\\n order: -1;\\n}\\n\\n.last-xs_1dc {\\n order: 1;\\n}\\n\\n@media (min-width: 640px) and (max-width: 959px) {\\n .container_662 {\\n width: 656px;\\n }\\n\\n .col-sm_417,\\n .col-sm-1_a3a,\\n .col-sm-2_fa4,\\n .col-sm-3_9d6,\\n .col-sm-4_a66,\\n .col-sm-5_5b6,\\n .col-sm-6_e31,\\n .col-sm-7_602,\\n .col-sm-8_c63,\\n .col-sm-9_b98,\\n .col-sm-10_5ad,\\n .col-sm-11_aa2,\\n .col-sm-12_f24,\\n .col-sm-offset-0_825,\\n .col-sm-offset-1_f2b,\\n .col-sm-offset-2_803,\\n .col-sm-offset-3_081,\\n .col-sm-offset-4_12d,\\n .col-sm-offset-5_100,\\n .col-sm-offset-6_521,\\n .col-sm-offset-7_af6,\\n .col-sm-offset-8_452,\\n .col-sm-offset-9_2a6,\\n .col-sm-offset-10_ef6,\\n .col-sm-offset-11_485,\\n .col-sm-offset-12_e6c {\\n flex: 0 0 auto;\\n\\n box-sizing: border-box;\\n padding-right: 8px;\\n padding-left: 8px;\\n }\\n\\n .col-sm_417 {\\n flex-basis: 0;\\n flex-grow: 1;\\n\\n max-width: 100%;\\n }\\n\\n .col-sm-1_a3a {\\n flex-basis: 8.33333333%;\\n\\n max-width: 8.33333333%;\\n }\\n\\n .col-sm-2_fa4 {\\n flex-basis: 16.66666667%;\\n\\n max-width: 16.66666667%;\\n }\\n\\n .col-sm-3_9d6 {\\n flex-basis: 25%;\\n\\n max-width: 25%;\\n }\\n\\n .col-sm-4_a66 {\\n flex-basis: 33.33333333%;\\n\\n max-width: 33.33333333%;\\n }\\n\\n .col-sm-5_5b6 {\\n flex-basis: 41.66666667%;\\n\\n max-width: 41.66666667%;\\n }\\n\\n .col-sm-6_e31 {\\n flex-basis: 50%;\\n\\n max-width: 50%;\\n }\\n\\n .col-sm-7_602 {\\n flex-basis: 58.33333333%;\\n\\n max-width: 58.33333333%;\\n }\\n\\n .col-sm-8_c63 {\\n flex-basis: 66.66666667%;\\n\\n max-width: 66.66666667%;\\n }\\n\\n .col-sm-9_b98 {\\n flex-basis: 75%;\\n\\n max-width: 75%;\\n }\\n\\n .col-sm-10_5ad {\\n flex-basis: 83.33333333%;\\n\\n max-width: 83.33333333%;\\n }\\n\\n .col-sm-11_aa2 {\\n flex-basis: 91.66666667%;\\n\\n max-width: 91.66666667%;\\n }\\n\\n .col-sm-12_f24 {\\n flex-basis: 100%;\\n\\n max-width: 100%;\\n }\\n\\n .col-sm-offset-0_825 {\\n margin-left: 0;\\n }\\n\\n .col-sm-offset-1_f2b {\\n margin-left: 8.33333333%;\\n }\\n\\n .col-sm-offset-2_803 {\\n margin-left: 16.66666667%;\\n }\\n\\n .col-sm-offset-3_081 {\\n margin-left: 25%;\\n }\\n\\n .col-sm-offset-4_12d {\\n margin-left: 33.33333333%;\\n }\\n\\n .col-sm-offset-5_100 {\\n margin-left: 41.66666667%;\\n }\\n\\n .col-sm-offset-6_521 {\\n margin-left: 50%;\\n }\\n\\n .col-sm-offset-7_af6 {\\n margin-left: 58.33333333%;\\n }\\n\\n .col-sm-offset-8_452 {\\n margin-left: 66.66666667%;\\n }\\n\\n .col-sm-offset-9_2a6 {\\n margin-left: 75%;\\n }\\n\\n .col-sm-offset-10_ef6 {\\n margin-left: 83.33333333%;\\n }\\n\\n .col-sm-offset-11_485 {\\n margin-left: 91.66666667%;\\n }\\n\\n .start-sm_91c {\\n justify-content: flex-start;\\n\\n text-align: start;\\n }\\n\\n .center-sm_0fa {\\n justify-content: center;\\n\\n text-align: center;\\n }\\n\\n .end-sm_485 {\\n justify-content: flex-end;\\n\\n text-align: end;\\n }\\n\\n .top-sm_cb9 {\\n align-items: flex-start;\\n }\\n\\n .middle-sm_f45 {\\n align-items: center;\\n }\\n\\n .baseline-sm_366 {\\n align-items: baseline;\\n }\\n\\n .bottom-sm_4dc {\\n align-items: flex-end;\\n }\\n\\n .around-sm_fa6 {\\n justify-content: space-around;\\n }\\n\\n .between-sm_f6f {\\n justify-content: space-between;\\n }\\n\\n .first-sm_8d1 {\\n order: -1;\\n }\\n\\n .last-sm_415 {\\n order: 1;\\n }\\n}\\n\\n@media (min-width: 960px) and (max-width: 1199px) {\\n .container_662 {\\n width: 976px;\\n }\\n\\n .col-md_e95,\\n .col-md-1_f1f,\\n .col-md-2_ae7,\\n .col-md-3_083,\\n .col-md-4_247,\\n .col-md-5_e02,\\n .col-md-6_f3f,\\n .col-md-7_fae,\\n .col-md-8_445,\\n .col-md-9_03c,\\n .col-md-10_d87,\\n .col-md-11_81d,\\n .col-md-12_277,\\n .col-md-offset-0_a04,\\n .col-md-offset-1_b42,\\n .col-md-offset-2_4bb,\\n .col-md-offset-3_57c,\\n .col-md-offset-4_565,\\n .col-md-offset-5_22b,\\n .col-md-offset-6_de0,\\n .col-md-offset-7_a24,\\n .col-md-offset-8_5e2,\\n .col-md-offset-9_4e5,\\n .col-md-offset-10_ede,\\n .col-md-offset-11_31d,\\n .col-md-offset-12_6a8 {\\n flex: 0 0 auto;\\n\\n box-sizing: border-box;\\n padding-right: 8px;\\n padding-left: 8px;\\n }\\n\\n .col-md_e95 {\\n flex-basis: 0;\\n flex-grow: 1;\\n\\n max-width: 100%;\\n }\\n\\n .col-md-1_f1f {\\n flex-basis: 8.33333333%;\\n\\n max-width: 8.33333333%;\\n }\\n\\n .col-md-2_ae7 {\\n flex-basis: 16.66666667%;\\n\\n max-width: 16.66666667%;\\n }\\n\\n .col-md-3_083 {\\n flex-basis: 25%;\\n\\n max-width: 25%;\\n }\\n\\n .col-md-4_247 {\\n flex-basis: 33.33333333%;\\n\\n max-width: 33.33333333%;\\n }\\n\\n .col-md-5_e02 {\\n flex-basis: 41.66666667%;\\n\\n max-width: 41.66666667%;\\n }\\n\\n .col-md-6_f3f {\\n flex-basis: 50%;\\n\\n max-width: 50%;\\n }\\n\\n .col-md-7_fae {\\n flex-basis: 58.33333333%;\\n\\n max-width: 58.33333333%;\\n }\\n\\n .col-md-8_445 {\\n flex-basis: 66.66666667%;\\n\\n max-width: 66.66666667%;\\n }\\n\\n .col-md-9_03c {\\n flex-basis: 75%;\\n\\n max-width: 75%;\\n }\\n\\n .col-md-10_d87 {\\n flex-basis: 83.33333333%;\\n\\n max-width: 83.33333333%;\\n }\\n\\n .col-md-11_81d {\\n flex-basis: 91.66666667%;\\n\\n max-width: 91.66666667%;\\n }\\n\\n .col-md-12_277 {\\n flex-basis: 100%;\\n\\n max-width: 100%;\\n }\\n\\n .col-md-offset-0_a04 {\\n margin-left: 0;\\n }\\n\\n .col-md-offset-1_b42 {\\n margin-left: 8.33333333%;\\n }\\n\\n .col-md-offset-2_4bb {\\n margin-left: 16.66666667%;\\n }\\n\\n .col-md-offset-3_57c {\\n margin-left: 25%;\\n }\\n\\n .col-md-offset-4_565 {\\n margin-left: 33.33333333%;\\n }\\n\\n .col-md-offset-5_22b {\\n margin-left: 41.66666667%;\\n }\\n\\n .col-md-offset-6_de0 {\\n margin-left: 50%;\\n }\\n\\n .col-md-offset-7_a24 {\\n margin-left: 58.33333333%;\\n }\\n\\n .col-md-offset-8_5e2 {\\n margin-left: 66.66666667%;\\n }\\n\\n .col-md-offset-9_4e5 {\\n margin-left: 75%;\\n }\\n\\n .col-md-offset-10_ede {\\n margin-left: 83.33333333%;\\n }\\n\\n .col-md-offset-11_31d {\\n margin-left: 91.66666667%;\\n }\\n\\n .start-md_ade {\\n justify-content: flex-start;\\n\\n text-align: start;\\n }\\n\\n .center-md_f2f {\\n justify-content: center;\\n\\n text-align: center;\\n }\\n\\n .end-md_44c {\\n justify-content: flex-end;\\n\\n text-align: end;\\n }\\n\\n .top-md_cf0 {\\n align-items: flex-start;\\n }\\n\\n .middle-md_526 {\\n align-items: center;\\n }\\n\\n .baseline-md_ed0 {\\n align-items: baseline;\\n }\\n\\n .bottom-md_8c8 {\\n align-items: flex-end;\\n }\\n\\n .around-md_f4c {\\n justify-content: space-around;\\n }\\n\\n .between-md_b90 {\\n justify-content: space-between;\\n }\\n\\n .first-md_6cc {\\n order: -1;\\n }\\n\\n .last-md_bf6 {\\n order: 1;\\n }\\n}\\n\\n@media (min-width: 1200px) {\\n .container_662 {\\n width: 1216px;\\n }\\n\\n .col-lg_454,\\n .col-lg-1_75d,\\n .col-lg-2_2a3,\\n .col-lg-3_aac,\\n .col-lg-4_778,\\n .col-lg-5_e50,\\n .col-lg-6_2cf,\\n .col-lg-7_79e,\\n .col-lg-8_77c,\\n .col-lg-9_a61,\\n .col-lg-10_810,\\n .col-lg-11_55c,\\n .col-lg-12_a37,\\n .col-lg-offset-0_369,\\n .col-lg-offset-1_d5f,\\n .col-lg-offset-2_8c1,\\n .col-lg-offset-3_439,\\n .col-lg-offset-4_dce,\\n .col-lg-offset-5_969,\\n .col-lg-offset-6_087,\\n .col-lg-offset-7_28c,\\n .col-lg-offset-8_d0f,\\n .col-lg-offset-9_b60,\\n .col-lg-offset-10_f7e,\\n .col-lg-offset-11_5f9,\\n .col-lg-offset-12_329 {\\n flex: 0 0 auto;\\n\\n box-sizing: border-box;\\n padding-right: 8px;\\n padding-left: 8px;\\n }\\n\\n .col-lg_454 {\\n flex-basis: 0;\\n flex-grow: 1;\\n\\n max-width: 100%;\\n }\\n\\n .col-lg-1_75d {\\n flex-basis: 8.33333333%;\\n\\n max-width: 8.33333333%;\\n }\\n\\n .col-lg-2_2a3 {\\n flex-basis: 16.66666667%;\\n\\n max-width: 16.66666667%;\\n }\\n\\n .col-lg-3_aac {\\n flex-basis: 25%;\\n\\n max-width: 25%;\\n }\\n\\n .col-lg-4_778 {\\n flex-basis: 33.33333333%;\\n\\n max-width: 33.33333333%;\\n }\\n\\n .col-lg-5_e50 {\\n flex-basis: 41.66666667%;\\n\\n max-width: 41.66666667%;\\n }\\n\\n .col-lg-6_2cf {\\n flex-basis: 50%;\\n\\n max-width: 50%;\\n }\\n\\n .col-lg-7_79e {\\n flex-basis: 58.33333333%;\\n\\n max-width: 58.33333333%;\\n }\\n\\n .col-lg-8_77c {\\n flex-basis: 66.66666667%;\\n\\n max-width: 66.66666667%;\\n }\\n\\n .col-lg-9_a61 {\\n flex-basis: 75%;\\n\\n max-width: 75%;\\n }\\n\\n .col-lg-10_810 {\\n flex-basis: 83.33333333%;\\n\\n max-width: 83.33333333%;\\n }\\n\\n .col-lg-11_55c {\\n flex-basis: 91.66666667%;\\n\\n max-width: 91.66666667%;\\n }\\n\\n .col-lg-12_a37 {\\n flex-basis: 100%;\\n\\n max-width: 100%;\\n }\\n\\n .col-lg-offset-0_369 {\\n margin-left: 0;\\n }\\n\\n .col-lg-offset-1_d5f {\\n margin-left: 8.33333333%;\\n }\\n\\n .col-lg-offset-2_8c1 {\\n margin-left: 16.66666667%;\\n }\\n\\n .col-lg-offset-3_439 {\\n margin-left: 25%;\\n }\\n\\n .col-lg-offset-4_dce {\\n margin-left: 33.33333333%;\\n }\\n\\n .col-lg-offset-5_969 {\\n margin-left: 41.66666667%;\\n }\\n\\n .col-lg-offset-6_087 {\\n margin-left: 50%;\\n }\\n\\n .col-lg-offset-7_28c {\\n margin-left: 58.33333333%;\\n }\\n\\n .col-lg-offset-8_d0f {\\n margin-left: 66.66666667%;\\n }\\n\\n .col-lg-offset-9_b60 {\\n margin-left: 75%;\\n }\\n\\n .col-lg-offset-10_f7e {\\n margin-left: 83.33333333%;\\n }\\n\\n .col-lg-offset-11_5f9 {\\n margin-left: 91.66666667%;\\n }\\n\\n .start-lg_97a {\\n justify-content: flex-start;\\n\\n text-align: start;\\n }\\n\\n .center-lg_9a7 {\\n justify-content: center;\\n\\n text-align: center;\\n }\\n\\n .end-lg_a2a {\\n justify-content: flex-end;\\n\\n text-align: end;\\n }\\n\\n .top-lg_4b0 {\\n align-items: flex-start;\\n }\\n\\n .middle-lg_1bb {\\n align-items: center;\\n }\\n\\n .baseline-lg_22d {\\n align-items: baseline;\\n }\\n\\n .bottom-lg_438 {\\n align-items: flex-end;\\n }\\n\\n .around-lg_a0c {\\n justify-content: space-around;\\n }\\n\\n .between-lg_c36 {\\n justify-content: space-between;\\n }\\n\\n .first-lg_336 {\\n order: -1;\\n }\\n\\n .last-lg_fcd {\\n order: 1;\\n }\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"breakpoint-small\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"breakpoint-small\"] + \"\",\n\t\"breakpoint-middle\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"breakpoint-middle\"] + \"\",\n\t\"breakpoint-large\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"breakpoint-large\"] + \"\",\n\t\"large-screen-media\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"large-screen-media\"] + \"\",\n\t\"middle-screen-media\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"middle-screen-media\"] + \"\",\n\t\"small-screen-media\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"small-screen-media\"] + \"\",\n\t\"gutterWidth\": \"(8px*2)\",\n\t\"gutterCompensation\": \"-8px\",\n\t\"outerMargin\": \"16px\",\n\t\"containerSmall\": \"656px\",\n\t\"containerMedium\": \"976px\",\n\t\"containerLarge\": \"1216px\",\n\t\"width-1\": \"8.33333333%\",\n\t\"width-2\": \"16.66666667%\",\n\t\"width-3\": \"25%\",\n\t\"width-4\": \"33.33333333%\",\n\t\"width-5\": \"41.66666667%\",\n\t\"width-6\": \"50%\",\n\t\"width-7\": \"58.33333333%\",\n\t\"width-8\": \"66.66666667%\",\n\t\"width-9\": \"75%\",\n\t\"width-10\": \"83.33333333%\",\n\t\"width-11\": \"91.66666667%\",\n\t\"width-12\": \"100%\",\n\t\"container-fluid\": \"container-fluid_d52\",\n\t\"container\": \"container_662\",\n\t\"row\": \"row_444\",\n\t\"reverse\": \"reverse_b8d\",\n\t\"col\": \"col_342\",\n\t\"col-xs\": \"col-xs_52c\",\n\t\"col-xs-1\": \"col-xs-1_8d5\",\n\t\"col-xs-2\": \"col-xs-2_275\",\n\t\"col-xs-3\": \"col-xs-3_e43\",\n\t\"col-xs-4\": \"col-xs-4_57d\",\n\t\"col-xs-5\": \"col-xs-5_21f\",\n\t\"col-xs-6\": \"col-xs-6_525\",\n\t\"col-xs-7\": \"col-xs-7_903\",\n\t\"col-xs-8\": \"col-xs-8_0a6\",\n\t\"col-xs-9\": \"col-xs-9_8c5\",\n\t\"col-xs-10\": \"col-xs-10_6fc\",\n\t\"col-xs-11\": \"col-xs-11_811\",\n\t\"col-xs-12\": \"col-xs-12_514\",\n\t\"col-xs-offset-0\": \"col-xs-offset-0_d27\",\n\t\"col-xs-offset-1\": \"col-xs-offset-1_09c\",\n\t\"col-xs-offset-2\": \"col-xs-offset-2_f0d\",\n\t\"col-xs-offset-3\": \"col-xs-offset-3_c30\",\n\t\"col-xs-offset-4\": \"col-xs-offset-4_9d0\",\n\t\"col-xs-offset-5\": \"col-xs-offset-5_1f0\",\n\t\"col-xs-offset-6\": \"col-xs-offset-6_955\",\n\t\"col-xs-offset-7\": \"col-xs-offset-7_e49\",\n\t\"col-xs-offset-8\": \"col-xs-offset-8_acd\",\n\t\"col-xs-offset-9\": \"col-xs-offset-9_c2f\",\n\t\"col-xs-offset-10\": \"col-xs-offset-10_387\",\n\t\"col-xs-offset-11\": \"col-xs-offset-11_eaa\",\n\t\"col-xs-offset-12\": \"col-xs-offset-12_d54\",\n\t\"start-xs\": \"start-xs_716\",\n\t\"center-xs\": \"center-xs_2c8\",\n\t\"end-xs\": \"end-xs_7c0\",\n\t\"top-xs\": \"top-xs_b15\",\n\t\"middle-xs\": \"middle-xs_61f\",\n\t\"baseline-xs\": \"baseline-xs_4c7\",\n\t\"bottom-xs\": \"bottom-xs_de0\",\n\t\"around-xs\": \"around-xs_235\",\n\t\"between-xs\": \"between-xs_191\",\n\t\"first-xs\": \"first-xs_3e7\",\n\t\"last-xs\": \"last-xs_1dc\",\n\t\"col-sm\": \"col-sm_417\",\n\t\"col-sm-1\": \"col-sm-1_a3a\",\n\t\"col-sm-2\": \"col-sm-2_fa4\",\n\t\"col-sm-3\": \"col-sm-3_9d6\",\n\t\"col-sm-4\": \"col-sm-4_a66\",\n\t\"col-sm-5\": \"col-sm-5_5b6\",\n\t\"col-sm-6\": \"col-sm-6_e31\",\n\t\"col-sm-7\": \"col-sm-7_602\",\n\t\"col-sm-8\": \"col-sm-8_c63\",\n\t\"col-sm-9\": \"col-sm-9_b98\",\n\t\"col-sm-10\": \"col-sm-10_5ad\",\n\t\"col-sm-11\": \"col-sm-11_aa2\",\n\t\"col-sm-12\": \"col-sm-12_f24\",\n\t\"col-sm-offset-0\": \"col-sm-offset-0_825\",\n\t\"col-sm-offset-1\": \"col-sm-offset-1_f2b\",\n\t\"col-sm-offset-2\": \"col-sm-offset-2_803\",\n\t\"col-sm-offset-3\": \"col-sm-offset-3_081\",\n\t\"col-sm-offset-4\": \"col-sm-offset-4_12d\",\n\t\"col-sm-offset-5\": \"col-sm-offset-5_100\",\n\t\"col-sm-offset-6\": \"col-sm-offset-6_521\",\n\t\"col-sm-offset-7\": \"col-sm-offset-7_af6\",\n\t\"col-sm-offset-8\": \"col-sm-offset-8_452\",\n\t\"col-sm-offset-9\": \"col-sm-offset-9_2a6\",\n\t\"col-sm-offset-10\": \"col-sm-offset-10_ef6\",\n\t\"col-sm-offset-11\": \"col-sm-offset-11_485\",\n\t\"col-sm-offset-12\": \"col-sm-offset-12_e6c\",\n\t\"start-sm\": \"start-sm_91c\",\n\t\"center-sm\": \"center-sm_0fa\",\n\t\"end-sm\": \"end-sm_485\",\n\t\"top-sm\": \"top-sm_cb9\",\n\t\"middle-sm\": \"middle-sm_f45\",\n\t\"baseline-sm\": \"baseline-sm_366\",\n\t\"bottom-sm\": \"bottom-sm_4dc\",\n\t\"around-sm\": \"around-sm_fa6\",\n\t\"between-sm\": \"between-sm_f6f\",\n\t\"first-sm\": \"first-sm_8d1\",\n\t\"last-sm\": \"last-sm_415\",\n\t\"col-md\": \"col-md_e95\",\n\t\"col-md-1\": \"col-md-1_f1f\",\n\t\"col-md-2\": \"col-md-2_ae7\",\n\t\"col-md-3\": \"col-md-3_083\",\n\t\"col-md-4\": \"col-md-4_247\",\n\t\"col-md-5\": \"col-md-5_e02\",\n\t\"col-md-6\": \"col-md-6_f3f\",\n\t\"col-md-7\": \"col-md-7_fae\",\n\t\"col-md-8\": \"col-md-8_445\",\n\t\"col-md-9\": \"col-md-9_03c\",\n\t\"col-md-10\": \"col-md-10_d87\",\n\t\"col-md-11\": \"col-md-11_81d\",\n\t\"col-md-12\": \"col-md-12_277\",\n\t\"col-md-offset-0\": \"col-md-offset-0_a04\",\n\t\"col-md-offset-1\": \"col-md-offset-1_b42\",\n\t\"col-md-offset-2\": \"col-md-offset-2_4bb\",\n\t\"col-md-offset-3\": \"col-md-offset-3_57c\",\n\t\"col-md-offset-4\": \"col-md-offset-4_565\",\n\t\"col-md-offset-5\": \"col-md-offset-5_22b\",\n\t\"col-md-offset-6\": \"col-md-offset-6_de0\",\n\t\"col-md-offset-7\": \"col-md-offset-7_a24\",\n\t\"col-md-offset-8\": \"col-md-offset-8_5e2\",\n\t\"col-md-offset-9\": \"col-md-offset-9_4e5\",\n\t\"col-md-offset-10\": \"col-md-offset-10_ede\",\n\t\"col-md-offset-11\": \"col-md-offset-11_31d\",\n\t\"col-md-offset-12\": \"col-md-offset-12_6a8\",\n\t\"start-md\": \"start-md_ade\",\n\t\"center-md\": \"center-md_f2f\",\n\t\"end-md\": \"end-md_44c\",\n\t\"top-md\": \"top-md_cf0\",\n\t\"middle-md\": \"middle-md_526\",\n\t\"baseline-md\": \"baseline-md_ed0\",\n\t\"bottom-md\": \"bottom-md_8c8\",\n\t\"around-md\": \"around-md_f4c\",\n\t\"between-md\": \"between-md_b90\",\n\t\"first-md\": \"first-md_6cc\",\n\t\"last-md\": \"last-md_bf6\",\n\t\"col-lg\": \"col-lg_454\",\n\t\"col-lg-1\": \"col-lg-1_75d\",\n\t\"col-lg-2\": \"col-lg-2_2a3\",\n\t\"col-lg-3\": \"col-lg-3_aac\",\n\t\"col-lg-4\": \"col-lg-4_778\",\n\t\"col-lg-5\": \"col-lg-5_e50\",\n\t\"col-lg-6\": \"col-lg-6_2cf\",\n\t\"col-lg-7\": \"col-lg-7_79e\",\n\t\"col-lg-8\": \"col-lg-8_77c\",\n\t\"col-lg-9\": \"col-lg-9_a61\",\n\t\"col-lg-10\": \"col-lg-10_810\",\n\t\"col-lg-11\": \"col-lg-11_55c\",\n\t\"col-lg-12\": \"col-lg-12_a37\",\n\t\"col-lg-offset-0\": \"col-lg-offset-0_369\",\n\t\"col-lg-offset-1\": \"col-lg-offset-1_d5f\",\n\t\"col-lg-offset-2\": \"col-lg-offset-2_8c1\",\n\t\"col-lg-offset-3\": \"col-lg-offset-3_439\",\n\t\"col-lg-offset-4\": \"col-lg-offset-4_dce\",\n\t\"col-lg-offset-5\": \"col-lg-offset-5_969\",\n\t\"col-lg-offset-6\": \"col-lg-offset-6_087\",\n\t\"col-lg-offset-7\": \"col-lg-offset-7_28c\",\n\t\"col-lg-offset-8\": \"col-lg-offset-8_d0f\",\n\t\"col-lg-offset-9\": \"col-lg-offset-9_b60\",\n\t\"col-lg-offset-10\": \"col-lg-offset-10_f7e\",\n\t\"col-lg-offset-11\": \"col-lg-offset-11_5f9\",\n\t\"col-lg-offset-12\": \"col-lg-offset-12_329\",\n\t\"start-lg\": \"start-lg_97a\",\n\t\"center-lg\": \"center-lg_9a7\",\n\t\"end-lg\": \"end-lg_a2a\",\n\t\"top-lg\": \"top-lg_4b0\",\n\t\"middle-lg\": \"middle-lg_1bb\",\n\t\"baseline-lg\": \"baseline-lg_22d\",\n\t\"bottom-lg\": \"bottom-lg_438\",\n\t\"around-lg\": \"around-lg_a0c\",\n\t\"between-lg\": \"between-lg_c36\",\n\t\"first-lg\": \"first-lg_336\",\n\t\"last-lg\": \"last-lg_fcd\"\n};\nmodule.exports = exports;\n","// 20.1.2.3 Number.isInteger(number)\nvar isObject = require('./_is-object');\nvar floor = Math.floor;\nmodule.exports = function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".light_184 {\\n background-color: transparent;\\n}\\n\\n.dark_eab {\\n color: #fff;\\n color: var(--ring-dark-text-color);\\n background-color: #000;\\n background-color: var(--ring-navigation-background-color)\\n\\n /* override link */\\n}\\n\\n.dark_eab > a {\\n color: #888;\\n color: var(--ring-dark-secondary-color);\\n }\\n\\n.header_41a {\\n display: flex;\\n overflow: hidden;\\n align-items: center;\\n\\n box-sizing: border-box;\\n height: 64px;\\n\\n line-height: 61px\\n}\\n\\n.header_41a > * {\\n display: inline-block;\\n\\n box-sizing: border-box;\\n height: 64px;\\n padding: 0 12px 3px;\\n }\\n\\n.headerSpaced_11c > *:first-child {\\n padding-left: 32px;\\n }\\n\\n.headerSpaced_11c > *:last-child {\\n padding-right: 32px;\\n }\\n\\n.logo_eda {\\n display: inline-flex;\\n align-items: center;\\n\\n height: 64px;\\n\\n color: #000;\\n\\n color: var(--ring-navigation-background-color);\\n\\n line-height: normal\\n}\\n\\n.logo_eda svg {\\n vertical-align: bottom;\\n }\\n\\n.tray_b5e {\\n align-items: flex-end;\\n\\n margin-left: auto;\\n padding: 0 0 3px;\\n}\\n\\n/* override .header > * */\\n.tray_b5e.tray_b5e {\\n display: flex;\\n}\\n\\n.trayItemContent_64f {\\n height: 61px;\\n}\\n\\n.icon_533 {\\n width: 40px;\\n\\n text-align: center;\\n\\n vertical-align: top;\\n}\\n\\n/* override button */\\n.icon_533.icon_533 {\\n height: 61px;\\n\\n padding-top: 4px;\\n\\n line-height: 61px;\\n}\\n\\n.main_b35 svg {\\n color: #008eff;\\n color: var(--ring-main-color);\\n}\\n\\n.rotatable_a8b svg {\\n transition: transform 0.3s ease-out;\\n transform: rotate(0deg);\\n transform-origin: 50% 50%;\\n}\\n\\n.rotated_360 svg {\\n transform: rotate(90deg);\\n}\\n\\n.profileEmpty_15f {\\n align-items: center;\\n\\n width: auto;\\n height: 61px;\\n padding-left: 8px;\\n\\n vertical-align: bottom;\\n}\\n\\n/* override dropdown */\\n.profileEmpty_15f.profileEmpty_15f {\\n display: inline-flex;\\n}\\n\\n.profile_f00 {\\n\\n height: 61px;\\n\\n cursor: pointer;\\n}\\n\\n.avatarWrapper_5e1 {\\n\\n line-height: 0;\\n}\\n\\n.hasUpdates_819 {\\n position: relative\\n}\\n\\n.hasUpdates_819::after {\\n position: absolute;\\n top: calc(15% - 5px);\\n right: calc(15% - 5px);\\n\\n display: block;\\n\\n width: 8px;\\n height: 8px;\\n\\n content: '';\\n\\n border: 1px solid #fff;\\n\\n border: 1px solid var(--ring-dark-text-color);\\n border-radius: 50%;\\n background-color: #ff008c;\\n background-color: var(--ring-link-hover-color);\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"resetButton\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"resetButton\"] + \"\",\n\t\"height\": \"64px\",\n\t\"compensate\": \"3px\",\n\t\"compensated\": \"61px\",\n\t\"light\": \"light_184\",\n\t\"dark\": \"dark_eab\",\n\t\"header\": \"header_41a\",\n\t\"headerSpaced\": \"headerSpaced_11c\",\n\t\"logo\": \"logo_eda\",\n\t\"tray\": \"tray_b5e\",\n\t\"trayItemContent\": \"trayItemContent_64f\",\n\t\"icon\": \"icon_533\",\n\t\"main\": \"main_b35\",\n\t\"rotatable\": \"rotatable_a8b\",\n\t\"rotated\": \"rotated_360\",\n\t\"profileEmpty\": \"profileEmpty_15f\",\n\t\"profile\": \"profile_f00 profileEmpty_15f\",\n\t\"avatarWrapper\": \"avatarWrapper_5e1 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"resetButton\"] + \"\",\n\t\"hasUpdates\": \"hasUpdates_819\"\n};\nmodule.exports = exports;\n","require('../../modules/es6.object.assign');\nmodule.exports = require('../../modules/_core').Object.assign;\n","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') });\n","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","require('../../modules/es6.object.get-own-property-descriptor');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function getOwnPropertyDescriptor(it, key) {\n return $Object.getOwnPropertyDescriptor(it, key);\n};\n","// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = require('./_to-iobject');\nvar $getOwnPropertyDescriptor = require('./_object-gopd').f;\n\nrequire('./_object-sap')('getOwnPropertyDescriptor', function () {\n return function getOwnPropertyDescriptor(it, key) {\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n","require('../../modules/es6.object.get-prototype-of');\nmodule.exports = require('../../modules/_core').Object.getPrototypeOf;\n","// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = require('./_to-object');\nvar $getPrototypeOf = require('./_object-gpo');\n\nrequire('./_object-sap')('getPrototypeOf', function () {\n return function getPrototypeOf(it) {\n return $getPrototypeOf(toObject(it));\n };\n});\n","module.exports = { \"default\": require(\"core-js/library/fn/object/define-property\"), __esModule: true };","require('../../modules/es6.object.define-property');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function defineProperty(it, key, desc) {\n return $Object.defineProperty(it, key, desc);\n};\n","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n","module.exports = { \"default\": require(\"core-js/library/fn/symbol/iterator\"), __esModule: true };","require('../../modules/es6.string.iterator');\nrequire('../../modules/web.dom.iterable');\nmodule.exports = require('../../modules/_wks-ext').f('iterator');\n","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","module.exports = function () { /* empty */ };\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = { \"default\": require(\"core-js/library/fn/symbol\"), __esModule: true };","require('../../modules/es6.symbol');\nrequire('../../modules/es6.object.to-string');\nrequire('../../modules/es7.symbol.async-iterator');\nrequire('../../modules/es7.symbol.observable');\nmodule.exports = require('../../modules/_core').Symbol;\n","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n","require('./_wks-define')('asyncIterator');\n","require('./_wks-define')('observable');\n","module.exports = { \"default\": require(\"core-js/library/fn/object/set-prototype-of\"), __esModule: true };","require('../../modules/es6.object.set-prototype-of');\nmodule.exports = require('../../modules/_core').Object.setPrototypeOf;\n","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set });\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","module.exports = { \"default\": require(\"core-js/library/fn/object/create\"), __esModule: true };","require('../../modules/es6.object.create');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function create(P, D) {\n return $Object.create(P, D);\n};\n","var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n","require('../../modules/es6.object.keys');\nmodule.exports = require('../../modules/_core').Object.keys;\n","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object');\nvar $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","require('../modules/es6.object.to-string');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.promise');\nrequire('../modules/es7.promise.finally');\nrequire('../modules/es7.promise.try');\nmodule.exports = require('../modules/_core').Promise;\n","'use strict';\nvar LIBRARY = require('./_library');\nvar global = require('./_global');\nvar ctx = require('./_ctx');\nvar classof = require('./_classof');\nvar $export = require('./_export');\nvar isObject = require('./_is-object');\nvar aFunction = require('./_a-function');\nvar anInstance = require('./_an-instance');\nvar forOf = require('./_for-of');\nvar speciesConstructor = require('./_species-constructor');\nvar task = require('./_task').set;\nvar microtask = require('./_microtask')();\nvar newPromiseCapabilityModule = require('./_new-promise-capability');\nvar perform = require('./_perform');\nvar userAgent = require('./_user-agent');\nvar promiseResolve = require('./_promise-resolve');\nvar PROMISE = 'Promise';\nvar TypeError = global.TypeError;\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8 || '';\nvar $Promise = global[PROMISE];\nvar isNode = classof(process) == 'process';\nvar empty = function () { /* empty */ };\nvar Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;\nvar newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;\n\nvar USE_NATIVE = !!function () {\n try {\n // correct subclassing with @@species support\n var promise = $Promise.resolve(1);\n var FakePromise = (promise.constructor = {})[require('./_wks')('species')] = function (exec) {\n exec(empty, empty);\n };\n // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return (isNode || typeof PromiseRejectionEvent == 'function')\n && promise.then(empty) instanceof FakePromise\n // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // we can't detect it synchronously, so just check versions\n && v8.indexOf('6.6') !== 0\n && userAgent.indexOf('Chrome/66') === -1;\n } catch (e) { /* empty */ }\n}();\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar notify = function (promise, isReject) {\n if (promise._n) return;\n promise._n = true;\n var chain = promise._c;\n microtask(function () {\n var value = promise._v;\n var ok = promise._s == 1;\n var i = 0;\n var run = function (reaction) {\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (promise._h == 2) onHandleUnhandled(promise);\n promise._h = 1;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // may throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (e) {\n if (domain && !exited) domain.exit();\n reject(e);\n }\n };\n while (chain.length > i) run(chain[i++]); // variable length - can't use forEach\n promise._c = [];\n promise._n = false;\n if (isReject && !promise._h) onUnhandled(promise);\n });\n};\nvar onUnhandled = function (promise) {\n task.call(global, function () {\n var value = promise._v;\n var unhandled = isUnhandled(promise);\n var result, handler, console;\n if (unhandled) {\n result = perform(function () {\n if (isNode) {\n process.emit('unhandledRejection', value, promise);\n } else if (handler = global.onunhandledrejection) {\n handler({ promise: promise, reason: value });\n } else if ((console = global.console) && console.error) {\n console.error('Unhandled promise rejection', value);\n }\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n } promise._a = undefined;\n if (unhandled && result.e) throw result.v;\n });\n};\nvar isUnhandled = function (promise) {\n return promise._h !== 1 && (promise._a || promise._c).length === 0;\n};\nvar onHandleUnhandled = function (promise) {\n task.call(global, function () {\n var handler;\n if (isNode) {\n process.emit('rejectionHandled', promise);\n } else if (handler = global.onrejectionhandled) {\n handler({ promise: promise, reason: promise._v });\n }\n });\n};\nvar $reject = function (value) {\n var promise = this;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n promise._v = value;\n promise._s = 2;\n if (!promise._a) promise._a = promise._c.slice();\n notify(promise, true);\n};\nvar $resolve = function (value) {\n var promise = this;\n var then;\n if (promise._d) return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n try {\n if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n if (then = isThenable(value)) {\n microtask(function () {\n var wrapper = { _w: promise, _d: false }; // wrap\n try {\n then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n } catch (e) {\n $reject.call(wrapper, e);\n }\n });\n } else {\n promise._v = value;\n promise._s = 1;\n notify(promise, false);\n }\n } catch (e) {\n $reject.call({ _w: promise, _d: false }, e); // wrap\n }\n};\n\n// constructor polyfill\nif (!USE_NATIVE) {\n // 25.4.3.1 Promise(executor)\n $Promise = function Promise(executor) {\n anInstance(this, $Promise, PROMISE, '_h');\n aFunction(executor);\n Internal.call(this);\n try {\n executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n } catch (err) {\n $reject.call(this, err);\n }\n };\n // eslint-disable-next-line no-unused-vars\n Internal = function Promise(executor) {\n this._c = []; // <- awaiting reactions\n this._a = undefined; // <- checked in isUnhandled reactions\n this._s = 0; // <- state\n this._d = false; // <- done\n this._v = undefined; // <- value\n this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n this._n = false; // <- notify\n };\n Internal.prototype = require('./_redefine-all')($Promise.prototype, {\n // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n then: function then(onFulfilled, onRejected) {\n var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = isNode ? process.domain : undefined;\n this._c.push(reaction);\n if (this._a) this._a.push(reaction);\n if (this._s) notify(this, false);\n return reaction.promise;\n },\n // 25.4.5.1 Promise.prototype.catch(onRejected)\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n this.promise = promise;\n this.resolve = ctx($resolve, promise, 1);\n this.reject = ctx($reject, promise, 1);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === $Promise || C === Wrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });\nrequire('./_set-to-string-tag')($Promise, PROMISE);\nrequire('./_set-species')(PROMISE);\nWrapper = require('./_core')[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n // 25.4.4.5 Promise.reject(r)\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n var $$reject = capability.reject;\n $$reject(r);\n return capability.promise;\n }\n});\n$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n // 25.4.4.6 Promise.resolve(x)\n resolve: function resolve(x) {\n return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);\n }\n});\n$export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(function (iter) {\n $Promise.all(iter)['catch'](empty);\n})), PROMISE, {\n // 25.4.4.1 Promise.all(iterable)\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var values = [];\n var index = 0;\n var remaining = 1;\n forOf(iterable, false, function (promise) {\n var $index = index++;\n var alreadyCalled = false;\n values.push(undefined);\n remaining++;\n C.resolve(promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[$index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.e) reject(result.v);\n return capability.promise;\n },\n // 25.4.4.4 Promise.race(iterable)\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n forOf(iterable, false, function (promise) {\n C.resolve(promise).then(capability.resolve, reject);\n });\n });\n if (result.e) reject(result.v);\n return capability.promise;\n }\n});\n","module.exports = function (it, Constructor, name, forbiddenField) {\n if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n throw TypeError(name + ': incorrect invocation!');\n } return it;\n};\n","var ctx = require('./_ctx');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar anObject = require('./_an-object');\nvar toLength = require('./_to-length');\nvar getIterFn = require('./core.get-iterator-method');\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n var f = ctx(fn, that, entries ? 2 : 1);\n var index = 0;\n var length, step, iterator, result;\n if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if (result === BREAK || result === RETURN) return result;\n } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n result = call(iterator, f, step.value, entries);\n if (result === BREAK || result === RETURN) return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n","// check on default Array iterator\nvar Iterators = require('./_iterators');\nvar ITERATOR = require('./_wks')('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n var un = that === undefined;\n switch (args.length) {\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n","var global = require('./_global');\nvar macrotask = require('./_task').set;\nvar Observer = global.MutationObserver || global.WebKitMutationObserver;\nvar process = global.process;\nvar Promise = global.Promise;\nvar isNode = require('./_cof')(process) == 'process';\n\nmodule.exports = function () {\n var head, last, notify;\n\n var flush = function () {\n var parent, fn;\n if (isNode && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (e) {\n if (head) notify();\n else last = undefined;\n throw e;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // Node.js\n if (isNode) {\n notify = function () {\n process.nextTick(flush);\n };\n // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339\n } else if (Observer && !(global.navigator && global.navigator.standalone)) {\n var toggle = true;\n var node = document.createTextNode('');\n new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n var promise = Promise.resolve(undefined);\n notify = function () {\n promise.then(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n notify = function () {\n // strange IE + webpack dev server bug - use .call(global)\n macrotask.call(global, flush);\n };\n }\n\n return function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n };\n};\n","var global = require('./_global');\nvar navigator = global.navigator;\n\nmodule.exports = navigator && navigator.userAgent || '';\n","var hide = require('./_hide');\nmodule.exports = function (target, src, safe) {\n for (var key in src) {\n if (safe && target[key]) target[key] = src[key];\n else hide(target, key, src[key]);\n } return target;\n};\n","'use strict';\nvar global = require('./_global');\nvar core = require('./_core');\nvar dP = require('./_object-dp');\nvar DESCRIPTORS = require('./_descriptors');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (KEY) {\n var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY];\n if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n};\n","var ITERATOR = require('./_wks')('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n","// https://github.com/tc39/proposal-promise-finally\n'use strict';\nvar $export = require('./_export');\nvar core = require('./_core');\nvar global = require('./_global');\nvar speciesConstructor = require('./_species-constructor');\nvar promiseResolve = require('./_promise-resolve');\n\n$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {\n var C = speciesConstructor(this, core.Promise || global.Promise);\n var isFunction = typeof onFinally == 'function';\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n} });\n","'use strict';\n// https://github.com/tc39/proposal-promise-try\nvar $export = require('./_export');\nvar newPromiseCapability = require('./_new-promise-capability');\nvar perform = require('./_perform');\n\n$export($export.S, 'Promise', { 'try': function (callbackfn) {\n var promiseCapability = newPromiseCapability.f(this);\n var result = perform(callbackfn);\n (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v);\n return promiseCapability.promise;\n} });\n","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n module.exports = _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n module.exports = _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nmodule.exports = _typeof;","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nmodule.exports = _setPrototypeOf;","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.error_471:hover {\\n color: #c22731;\\n color: var(--ring-error-color);\\n }}\\n\\n.list_735 {\\n position: relative;\\n\\n z-index: 1;\\n\\n border-radius: 3px;\\n\\n border-radius: var(--ring-border-radius);\\n\\n line-height: normal;\\n}\\n\\n.simpleInner_268 {\\n overflow: auto;\\n}\\n\\n.scrolling_6d6 {\\n pointer-events: none;\\n}\\n\\n.separator_6ff {\\n display: block;\\n\\n min-height: 8px;\\n\\n margin-top: 8px;\\n padding: 0 16px 1px;\\n\\n text-align: right;\\n\\n color: #737577;\\n\\n color: var(--ring-secondary-color);\\n border-top: 1px solid #dfe5eb;\\n border-top: 1px solid var(--ring-line-color);\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n line-height: 18px;\\n line-height: var(--ring-line-height-lower);\\n}\\n\\n.separator_first_fe8 {\\n margin-top: 0;\\n padding-top: 0;\\n\\n border: none;\\n}\\n\\n.item_857 {\\n display: block;\\n\\n box-sizing: border-box;\\n\\n width: 100%;\\n\\n text-align: left;\\n vertical-align: bottom;\\n white-space: nowrap;\\n text-decoration: none;\\n\\n outline: none;\\n\\n font-size: 13px;\\n\\n font-size: var(--ring-font-size);\\n line-height: 24px;\\n}\\n\\n.item_857.item_857 {\\n padding: 3px 16px 5px;\\n}\\n\\n.itemContainer_a7e {\\n position: relative;\\n}\\n\\n.compact_edd {\\n line-height: 16px;\\n}\\n\\n.error_471 {\\n cursor: default\\n\\n /* Override ring-link */\\n}\\n\\n.error_471,\\n .error_471:focus,\\n .error_471:visited {\\n color: #c22731;\\n color: var(--ring-error-color);\\n }\\n\\n.add_7fe {\\n padding: 8px 16px;\\n\\n line-height: 32px;\\n}\\n\\n.top_37b {\\n display: flex;\\n align-items: baseline;\\n flex-direction: row;\\n}\\n\\n.left_23c {\\n align-self: center;\\n flex-shrink: 0;\\n}\\n\\n.label_088 {\\n overflow: hidden;\\n flex-grow: 1;\\n flex-shrink: 1;\\n\\n text-align: left;\\n white-space: nowrap;\\n text-overflow: ellipsis\\n}\\n\\n[dir=rtl] .label_088 {\\n text-align: right;\\n direction: ltr\\n}\\n\\n.description_aea {\\n overflow: hidden;\\n flex-shrink: 100;\\n\\n padding-left: 8px;\\n\\n text-align: right;\\n white-space: nowrap;\\n text-overflow: ellipsis;\\n\\n color: #737577;\\n\\n color: var(--ring-secondary-color);\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n font-weight: 400;\\n line-height: 16px;\\n line-height: var(--ring-line-height-lowest);\\n}\\n\\n.right_c60 {\\n display: flex;\\n align-items: center;\\n align-self: center;\\n flex-direction: row;\\n flex-shrink: 0;\\n}\\n\\n.details_ecd {\\n margin-bottom: 6px;\\n\\n white-space: normal;\\n\\n color: #737577;\\n\\n color: var(--ring-secondary-color);\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n line-height: 16px;\\n line-height: var(--ring-line-height-lowest);\\n}\\n\\n.padded_029 {\\n margin-left: 20px;\\n}\\n\\n/* Override :last-child */\\n.hint_ace.hint_ace {\\n margin-bottom: 0;\\n\\n border-top: 1px solid #dfe5eb;\\n\\n border-top: 1px solid var(--ring-line-color);\\n background-color: #f7f9fa;\\n background-color: var(--ring-sidebar-background-color);\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n}\\n\\n.action_def {\\n cursor: pointer;\\n\\n color: #1f2326;\\n\\n color: var(--ring-text-color);\\n}\\n\\n/* override link */\\n.actionLink_173.actionLink_173 {\\n transition: none;\\n}\\n\\n.hover_a79:not(.error_471) {\\n background-color: #d4edff;\\n background-color: var(--ring-selected-background-color);\\n}\\n\\n.icon_236 {\\n display: inline-block;\\n\\n width: 20px;\\n height: 20px;\\n margin-left: 16px;\\n\\n background-repeat: no-repeat;\\n background-position: center;\\n\\n background-size: contain;\\n}\\n\\n.highlight_e53 {\\n color: #ff008c;\\n color: var(--ring-link-hover-color);\\n}\\n\\n.service_7e0 {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n}\\n\\n.glyph_20d {\\n float: left;\\n\\n width: 20px;\\n margin-right: 8px;\\n\\n color: #999;\\n\\n color: var(--ring-icon-secondary-color);\\n}\\n\\n.avatar_d37 {\\n\\n top: 0;\\n}\\n\\n.rightGlyph_d26 {\\n\\n float: right;\\n\\n margin-right: 0;\\n margin-left: 16px;\\n}\\n\\n.checkboxContainer_741 {\\n position: absolute;\\n top: 7px;\\n left: 19px;\\n\\n width: 20px;\\n height: 20px;\\n margin-right: 8px;\\n}\\n\\n.compact_edd .checkboxContainer_741 {\\n top: 0;\\n\\n width: 16px;\\n height: 16px;\\n}\\n\\n.title_947 {\\n display: block;\\n\\n margin-top: 10px;\\n margin-bottom: 6px;\\n padding: 8px 16px 0;\\n\\n text-align: left\\n}\\n\\n[dir=rtl] .title_947 {\\n text-align: right;\\n direction: ltr\\n}\\n\\n.title_first_45f {\\n margin-top: 0;\\n}\\n\\n.text_001 {\\n letter-spacing: 1.5px;\\n text-transform: uppercase;\\n\\n color: #737577;\\n\\n color: var(--ring-secondary-color);\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n}\\n\\n.fade_125 {\\n position: absolute;\\n bottom: 0;\\n\\n width: 100%;\\n height: 24px;\\n\\n pointer-events: none;\\n\\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);\\n\\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--ring-content-background-color));\\n}\\n\\n.disabled_48b {\\n pointer-events: none;\\n\\n color: #999;\\n\\n color: var(--ring-disabled-color);\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"listSpacing\": \"8px\",\n\t\"error\": \"error_471\",\n\t\"list\": \"list_735\",\n\t\"simpleInner\": \"simpleInner_268\",\n\t\"scrolling\": \"scrolling_6d6\",\n\t\"separator\": \"separator_6ff\",\n\t\"separator_first\": \"separator_first_fe8\",\n\t\"item\": \"item_857\",\n\t\"itemContainer\": \"itemContainer_a7e\",\n\t\"compact\": \"compact_edd\",\n\t\"add\": \"add_7fe\",\n\t\"top\": \"top_37b\",\n\t\"left\": \"left_23c\",\n\t\"label\": \"label_088\",\n\t\"description\": \"description_aea\",\n\t\"right\": \"right_c60\",\n\t\"details\": \"details_ecd\",\n\t\"padded\": \"padded_029\",\n\t\"hint\": \"hint_ace\",\n\t\"action\": \"action_def\",\n\t\"actionLink\": \"actionLink_173\",\n\t\"hover\": \"hover_a79\",\n\t\"icon\": \"icon_236\",\n\t\"highlight\": \"highlight_e53\",\n\t\"service\": \"service_7e0\",\n\t\"glyph\": \"glyph_20d\",\n\t\"avatar\": \"avatar_d37 glyph_20d\",\n\t\"rightGlyph\": \"rightGlyph_d26 glyph_20d\",\n\t\"checkboxContainer\": \"checkboxContainer_741\",\n\t\"title\": \"title_947\",\n\t\"title_first\": \"title_first_45f\",\n\t\"text\": \"text_001\",\n\t\"fade\": \"fade_125\",\n\t\"disabled\": \"disabled_48b\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".services_007 {\\n max-width: 402px;\\n padding: 32px 32px 24px;\\n\\n background-color: #000;\\n\\n background-color: var(--ring-navigation-background-color);\\n\\n line-height: 10px; /* Eliminate gap between clickable blocks rows */\\n}\\n\\n.active_806 {\\n font-weight: bold;\\n}\\n\\n.item_1cb {\\n display: inline-block;\\n overflow-x: hidden;\\n\\n box-sizing: border-box;\\n width: 112px;\\n height: 112px;\\n\\n text-align: center;\\n text-overflow: ellipsis;\\n\\n color: #fff;\\n\\n color: var(--ring-dark-text-color);\\n\\n line-height: normal;\\n\\n line-height: initial\\n}\\n\\n.item_1cb::after {\\n height: 112px;\\n\\n vertical-align: middle;\\n }\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.item_1cb:not(:hover),\\n .item_1cb:visited:not(:hover) {\\n color: #fff;\\n color: var(--ring-dark-text-color);\\n }}\\n\\n.item_1cb {\\n\\n /* Disable animation .ring-icon_loading in Header in Edge, see https://youtrack.jetbrains.com/issue/RG-928 */\\n /* Supports MS Edge */\\n}\\n\\n@supports (-ms-accelerator: true) {\\n\\n.item_1cb {\\n -webkit-animation-name: none_2f5;\\n animation-name: none_2f5\\n}\\n }\\n\\n.itemLogo_540 {\\n display: inline-block;\\n\\n width: 48px;\\n height: 48px;\\n margin: 16px 0 9px;\\n\\n background-repeat: no-repeat;\\n background-size: contain;\\n}\\n\\n.activeItem_d13 {\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.activeItem_d13:hover {\\n color: #fff;\\n color: var(--ring-dark-text-color);\\n }}\\n\\n.line_319 {\\n height: 1px;\\n margin: 32px 0 16px;\\n\\n background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);\\n}\\n\\n.itemStacked_957 {\\n display: inline-block;\\n\\n width: 100%;\\n margin-bottom: 16px;\\n\\n text-decoration: none;\\n\\n line-height: 16px\\n}\\n\\n.itemStacked_957,\\n .itemStacked_957:visited {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n }\\n\\n.itemStacked_957:last-child {\\n margin-bottom: -24px;\\n }\\n\\n.activeItemStacked_a69 {\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.activeItemStacked_a69:hover {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n }}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"services\": \"services_007\",\n\t\"active\": \"active_806\",\n\t\"item\": \"item_1cb\",\n\t\"none\": \"none_2f5\",\n\t\"itemLogo\": \"itemLogo_540\",\n\t\"activeItem\": \"activeItem_d13 item_1cb active_806\",\n\t\"line\": \"line_319\",\n\t\"itemStacked\": \"itemStacked_957\",\n\t\"activeItemStacked\": \"activeItemStacked_a69 itemStacked_957 active_806\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".heading_c99 {\\n\\n margin-top: 20px;\\n\\n margin-top: var(--ring-line-height)\\n}\\n\\n.heading_c99:first-child {\\n margin-top: 0;\\n }\\n\\nh1.heading_c99, h2.heading_c99 {\\n margin-bottom: 8px;\\n\\n color: #1f2326;\\n\\n color: var(--ring-heading-color);\\n\\n font-size: 24px;\\n line-height: 28px\\n}\\n\\nh2.heading_c99 {\\n font-weight: 200\\n}\\n\\nh3.heading_c99 {\\n margin-bottom: 0;\\n\\n font-size: inherit;\\n line-height: inherit\\n}\\n\\nh4.heading_c99 {\\n margin-bottom: 1px;\\n\\n letter-spacing: 1px;\\n text-transform: uppercase;\\n\\n font-size: 12px;\\n font-weight: normal;\\n line-height: 16px\\n}\\n\\n.caps_5c1 {\\n letter-spacing: 2px;\\n text-transform: uppercase;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"heading\": \"heading_c99 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"font\"] + \"\",\n\t\"caps\": \"caps_5c1\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".loaderScreen_9da {\\n position: absolute;\\n\\n width: 100%;\\n height: 100%;\\n\\n text-align: center;\\n vertical-align: middle\\n}\\n\\n.loaderScreen_9da::before {\\n display: inline-block;\\n\\n height: 100%;\\n\\n content: '';\\n\\n vertical-align: middle;\\n }\\n\\n.loader_a93 {\\n display: inline-block;\\n}\\n\\n.loaderWithoutSpacing_135 canvas {\\n margin: 0;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"loaderScreen\": \"loaderScreen_9da\",\n\t\"loader\": \"loader_a93\",\n\t\"loaderWithoutSpacing\": \"loaderWithoutSpacing_135\"\n};\nmodule.exports = exports;\n","'use strict'\n\n/* Dependencies. */\nvar extend = require('extend')\nvar bail = require('bail')\nvar vfile = require('vfile')\nvar trough = require('trough')\nvar string = require('x-is-string')\nvar plain = require('is-plain-obj')\n\n/* Expose a frozen processor. */\nmodule.exports = unified().freeze()\n\nvar slice = [].slice\nvar own = {}.hasOwnProperty\n\n/* Process pipeline. */\nvar pipeline = trough()\n .use(pipelineParse)\n .use(pipelineRun)\n .use(pipelineStringify)\n\nfunction pipelineParse(p, ctx) {\n ctx.tree = p.parse(ctx.file)\n}\n\nfunction pipelineRun(p, ctx, next) {\n p.run(ctx.tree, ctx.file, done)\n\n function done(err, tree, file) {\n if (err) {\n next(err)\n } else {\n ctx.tree = tree\n ctx.file = file\n next()\n }\n }\n}\n\nfunction pipelineStringify(p, ctx) {\n ctx.file.contents = p.stringify(ctx.tree, ctx.file)\n}\n\n/* Function to create the first processor. */\nfunction unified() {\n var attachers = []\n var transformers = trough()\n var namespace = {}\n var frozen = false\n var freezeIndex = -1\n\n /* Data management. */\n processor.data = data\n\n /* Lock. */\n processor.freeze = freeze\n\n /* Plug-ins. */\n processor.attachers = attachers\n processor.use = use\n\n /* API. */\n processor.parse = parse\n processor.stringify = stringify\n processor.run = run\n processor.runSync = runSync\n processor.process = process\n processor.processSync = processSync\n\n /* Expose. */\n return processor\n\n /* Create a new processor based on the processor\n * in the current scope. */\n function processor() {\n var destination = unified()\n var length = attachers.length\n var index = -1\n\n while (++index < length) {\n destination.use.apply(null, attachers[index])\n }\n\n destination.data(extend(true, {}, namespace))\n\n return destination\n }\n\n /* Freeze: used to signal a processor that has finished\n * configuration.\n *\n * For example, take unified itself. It’s frozen.\n * Plug-ins should not be added to it. Rather, it should\n * be extended, by invoking it, before modifying it.\n *\n * In essence, always invoke this when exporting a\n * processor. */\n function freeze() {\n var values\n var plugin\n var options\n var transformer\n\n if (frozen) {\n return processor\n }\n\n while (++freezeIndex < attachers.length) {\n values = attachers[freezeIndex]\n plugin = values[0]\n options = values[1]\n transformer = null\n\n if (options === false) {\n continue\n }\n\n if (options === true) {\n values[1] = undefined\n }\n\n transformer = plugin.apply(processor, values.slice(1))\n\n if (typeof transformer === 'function') {\n transformers.use(transformer)\n }\n }\n\n frozen = true\n freezeIndex = Infinity\n\n return processor\n }\n\n /* Data management.\n * Getter / setter for processor-specific informtion. */\n function data(key, value) {\n if (string(key)) {\n /* Set `key`. */\n if (arguments.length === 2) {\n assertUnfrozen('data', frozen)\n\n namespace[key] = value\n\n return processor\n }\n\n /* Get `key`. */\n return (own.call(namespace, key) && namespace[key]) || null\n }\n\n /* Set space. */\n if (key) {\n assertUnfrozen('data', frozen)\n namespace = key\n return processor\n }\n\n /* Get space. */\n return namespace\n }\n\n /* Plug-in management.\n *\n * Pass it:\n * * an attacher and options,\n * * a preset,\n * * a list of presets, attachers, and arguments (list\n * of attachers and options). */\n function use(value) {\n var settings\n\n assertUnfrozen('use', frozen)\n\n if (value === null || value === undefined) {\n /* Empty */\n } else if (typeof value === 'function') {\n addPlugin.apply(null, arguments)\n } else if (typeof value === 'object') {\n if ('length' in value) {\n addList(value)\n } else {\n addPreset(value)\n }\n } else {\n throw new Error('Expected usable value, not `' + value + '`')\n }\n\n if (settings) {\n namespace.settings = extend(namespace.settings || {}, settings)\n }\n\n return processor\n\n function addPreset(result) {\n addList(result.plugins)\n\n if (result.settings) {\n settings = extend(settings || {}, result.settings)\n }\n }\n\n function add(value) {\n if (typeof value === 'function') {\n addPlugin(value)\n } else if (typeof value === 'object') {\n if ('length' in value) {\n addPlugin.apply(null, value)\n } else {\n addPreset(value)\n }\n } else {\n throw new Error('Expected usable value, not `' + value + '`')\n }\n }\n\n function addList(plugins) {\n var length\n var index\n\n if (plugins === null || plugins === undefined) {\n /* Empty */\n } else if (typeof plugins === 'object' && 'length' in plugins) {\n length = plugins.length\n index = -1\n\n while (++index < length) {\n add(plugins[index])\n }\n } else {\n throw new Error('Expected a list of plugins, not `' + plugins + '`')\n }\n }\n\n function addPlugin(plugin, value) {\n var entry = find(plugin)\n\n if (entry) {\n if (plain(entry[1]) && plain(value)) {\n value = extend(entry[1], value)\n }\n\n entry[1] = value\n } else {\n attachers.push(slice.call(arguments))\n }\n }\n }\n\n function find(plugin) {\n var length = attachers.length\n var index = -1\n var entry\n\n while (++index < length) {\n entry = attachers[index]\n\n if (entry[0] === plugin) {\n return entry\n }\n }\n }\n\n /* Parse a file (in string or VFile representation)\n * into a Unist node using the `Parser` on the\n * processor. */\n function parse(doc) {\n var file = vfile(doc)\n var Parser\n\n freeze()\n Parser = processor.Parser\n assertParser('parse', Parser)\n\n if (newable(Parser)) {\n return new Parser(String(file), file).parse()\n }\n\n return Parser(String(file), file) // eslint-disable-line new-cap\n }\n\n /* Run transforms on a Unist node representation of a file\n * (in string or VFile representation), async. */\n function run(node, file, cb) {\n assertNode(node)\n freeze()\n\n if (!cb && typeof file === 'function') {\n cb = file\n file = null\n }\n\n if (!cb) {\n return new Promise(executor)\n }\n\n executor(null, cb)\n\n function executor(resolve, reject) {\n transformers.run(node, vfile(file), done)\n\n function done(err, tree, file) {\n tree = tree || node\n if (err) {\n reject(err)\n } else if (resolve) {\n resolve(tree)\n } else {\n cb(null, tree, file)\n }\n }\n }\n }\n\n /* Run transforms on a Unist node representation of a file\n * (in string or VFile representation), sync. */\n function runSync(node, file) {\n var complete = false\n var result\n\n run(node, file, done)\n\n assertDone('runSync', 'run', complete)\n\n return result\n\n function done(err, tree) {\n complete = true\n bail(err)\n result = tree\n }\n }\n\n /* Stringify a Unist node representation of a file\n * (in string or VFile representation) into a string\n * using the `Compiler` on the processor. */\n function stringify(node, doc) {\n var file = vfile(doc)\n var Compiler\n\n freeze()\n Compiler = processor.Compiler\n assertCompiler('stringify', Compiler)\n assertNode(node)\n\n if (newable(Compiler)) {\n return new Compiler(node, file).compile()\n }\n\n return Compiler(node, file) // eslint-disable-line new-cap\n }\n\n /* Parse a file (in string or VFile representation)\n * into a Unist node using the `Parser` on the processor,\n * then run transforms on that node, and compile the\n * resulting node using the `Compiler` on the processor,\n * and store that result on the VFile. */\n function process(doc, cb) {\n freeze()\n assertParser('process', processor.Parser)\n assertCompiler('process', processor.Compiler)\n\n if (!cb) {\n return new Promise(executor)\n }\n\n executor(null, cb)\n\n function executor(resolve, reject) {\n var file = vfile(doc)\n\n pipeline.run(processor, {file: file}, done)\n\n function done(err) {\n if (err) {\n reject(err)\n } else if (resolve) {\n resolve(file)\n } else {\n cb(null, file)\n }\n }\n }\n }\n\n /* Process the given document (in string or VFile\n * representation), sync. */\n function processSync(doc) {\n var complete = false\n var file\n\n freeze()\n assertParser('processSync', processor.Parser)\n assertCompiler('processSync', processor.Compiler)\n file = vfile(doc)\n\n process(file, done)\n\n assertDone('processSync', 'process', complete)\n\n return file\n\n function done(err) {\n complete = true\n bail(err)\n }\n }\n}\n\n/* Check if `func` is a constructor. */\nfunction newable(value) {\n return typeof value === 'function' && keys(value.prototype)\n}\n\n/* Check if `value` is an object with keys. */\nfunction keys(value) {\n var key\n for (key in value) {\n return true\n }\n return false\n}\n\n/* Assert a parser is available. */\nfunction assertParser(name, Parser) {\n if (typeof Parser !== 'function') {\n throw new Error('Cannot `' + name + '` without `Parser`')\n }\n}\n\n/* Assert a compiler is available. */\nfunction assertCompiler(name, Compiler) {\n if (typeof Compiler !== 'function') {\n throw new Error('Cannot `' + name + '` without `Compiler`')\n }\n}\n\n/* Assert the processor is not frozen. */\nfunction assertUnfrozen(name, frozen) {\n if (frozen) {\n throw new Error(\n [\n 'Cannot invoke `' + name + '` on a frozen processor.\\nCreate a new ',\n 'processor first, by invoking it: use `processor()` instead of ',\n '`processor`.'\n ].join('')\n )\n }\n}\n\n/* Assert `node` is a Unist node. */\nfunction assertNode(node) {\n if (!node || !string(node.type)) {\n throw new Error('Expected node, got `' + node + '`')\n }\n}\n\n/* Assert that `complete` is `true`. */\nfunction assertDone(name, asyncName, complete) {\n if (!complete) {\n throw new Error(\n '`' + name + '` finished async. Use `' + asyncName + '` instead'\n )\n }\n}\n","'use strict';\n\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar toStr = Object.prototype.toString;\nvar defineProperty = Object.defineProperty;\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nvar isArray = function isArray(arr) {\n\tif (typeof Array.isArray === 'function') {\n\t\treturn Array.isArray(arr);\n\t}\n\n\treturn toStr.call(arr) === '[object Array]';\n};\n\nvar isPlainObject = function isPlainObject(obj) {\n\tif (!obj || toStr.call(obj) !== '[object Object]') {\n\t\treturn false;\n\t}\n\n\tvar hasOwnConstructor = hasOwn.call(obj, 'constructor');\n\tvar hasIsPrototypeOf = obj.constructor && obj.constructor.prototype && hasOwn.call(obj.constructor.prototype, 'isPrototypeOf');\n\t// Not own constructor property must be Object\n\tif (obj.constructor && !hasOwnConstructor && !hasIsPrototypeOf) {\n\t\treturn false;\n\t}\n\n\t// Own properties are enumerated firstly, so to speed up,\n\t// if last one is own, then all properties are own.\n\tvar key;\n\tfor (key in obj) { /**/ }\n\n\treturn typeof key === 'undefined' || hasOwn.call(obj, key);\n};\n\n// If name is '__proto__', and Object.defineProperty is available, define __proto__ as an own property on target\nvar setProperty = function setProperty(target, options) {\n\tif (defineProperty && options.name === '__proto__') {\n\t\tdefineProperty(target, options.name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\t\t\tvalue: options.newValue,\n\t\t\twritable: true\n\t\t});\n\t} else {\n\t\ttarget[options.name] = options.newValue;\n\t}\n};\n\n// Return undefined instead of __proto__ if '__proto__' is not an own property\nvar getProperty = function getProperty(obj, name) {\n\tif (name === '__proto__') {\n\t\tif (!hasOwn.call(obj, name)) {\n\t\t\treturn void 0;\n\t\t} else if (gOPD) {\n\t\t\t// In early versions of node, obj['__proto__'] is buggy when obj has\n\t\t\t// __proto__ as an own property. Object.getOwnPropertyDescriptor() works.\n\t\t\treturn gOPD(obj, name).value;\n\t\t}\n\t}\n\n\treturn obj[name];\n};\n\nmodule.exports = function extend() {\n\tvar options, name, src, copy, copyIsArray, clone;\n\tvar target = arguments[0];\n\tvar i = 1;\n\tvar length = arguments.length;\n\tvar deep = false;\n\n\t// Handle a deep copy situation\n\tif (typeof target === 'boolean') {\n\t\tdeep = target;\n\t\ttarget = arguments[1] || {};\n\t\t// skip the boolean and the target\n\t\ti = 2;\n\t}\n\tif (target == null || (typeof target !== 'object' && typeof target !== 'function')) {\n\t\ttarget = {};\n\t}\n\n\tfor (; i < length; ++i) {\n\t\toptions = arguments[i];\n\t\t// Only deal with non-null/undefined values\n\t\tif (options != null) {\n\t\t\t// Extend the base object\n\t\t\tfor (name in options) {\n\t\t\t\tsrc = getProperty(target, name);\n\t\t\t\tcopy = getProperty(options, name);\n\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif (target !== copy) {\n\t\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\t\tif (deep && copy && (isPlainObject(copy) || (copyIsArray = isArray(copy)))) {\n\t\t\t\t\t\tif (copyIsArray) {\n\t\t\t\t\t\t\tcopyIsArray = false;\n\t\t\t\t\t\t\tclone = src && isArray(src) ? src : [];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tclone = src && isPlainObject(src) ? src : {};\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\t\tsetProperty(target, { name: name, newValue: extend(deep, clone, copy) });\n\n\t\t\t\t\t// Don't bring in undefined values\n\t\t\t\t\t} else if (typeof copy !== 'undefined') {\n\t\t\t\t\t\tsetProperty(target, { name: name, newValue: copy });\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n","'use strict'\n\nmodule.exports = bail\n\nfunction bail(err) {\n if (err) {\n throw err\n }\n}\n","'use strict';\n\nvar VMessage = require('vfile-message');\nvar VFile = require('./core.js');\n\nmodule.exports = VFile;\n\nvar proto = VFile.prototype;\n\nproto.message = message;\nproto.info = info;\nproto.fail = fail;\n\n/* Slight backwards compatibility. Remove in the future. */\nproto.warn = message;\n\n/* Create a message with `reason` at `position`.\n * When an error is passed in as `reason`, copies the stack. */\nfunction message(reason, position, origin) {\n var filePath = this.path;\n var message = new VMessage(reason, position, origin);\n\n if (filePath) {\n message.name = filePath + ':' + message.name;\n message.file = filePath;\n }\n\n message.fatal = false;\n\n this.messages.push(message);\n\n return message;\n}\n\n/* Fail. Creates a vmessage, associates it with the file,\n * and throws it. */\nfunction fail() {\n var message = this.message.apply(this, arguments);\n\n message.fatal = true;\n\n throw message;\n}\n\n/* Info. Creates a vmessage, associates it with the file,\n * and marks the fatality as null. */\nfunction info() {\n var message = this.message.apply(this, arguments);\n\n message.fatal = null;\n\n return message;\n}\n","'use strict'\n\nvar stringify = require('unist-util-stringify-position')\n\nmodule.exports = VMessage\n\n// Inherit from `Error#`.\nfunction VMessagePrototype() {}\nVMessagePrototype.prototype = Error.prototype\nVMessage.prototype = new VMessagePrototype()\n\n// Message properties.\nvar proto = VMessage.prototype\n\nproto.file = ''\nproto.name = ''\nproto.reason = ''\nproto.message = ''\nproto.stack = ''\nproto.fatal = null\nproto.column = null\nproto.line = null\n\n// Construct a new VMessage.\n//\n// Note: We cannot invoke `Error` on the created context, as that adds readonly\n// `line` and `column` attributes on Safari 9, thus throwing and failing the\n// data.\nfunction VMessage(reason, position, origin) {\n var parts\n var range\n var location\n\n if (typeof position === 'string') {\n origin = position\n position = null\n }\n\n parts = parseOrigin(origin)\n range = stringify(position) || '1:1'\n\n location = {\n start: {line: null, column: null},\n end: {line: null, column: null}\n }\n\n // Node.\n if (position && position.position) {\n position = position.position\n }\n\n if (position) {\n // Position.\n if (position.start) {\n location = position\n position = position.start\n } else {\n // Point.\n location.start = position\n }\n }\n\n if (reason.stack) {\n this.stack = reason.stack\n reason = reason.message\n }\n\n this.message = reason\n this.name = range\n this.reason = reason\n this.line = position ? position.line : null\n this.column = position ? position.column : null\n this.location = location\n this.source = parts[0]\n this.ruleId = parts[1]\n}\n\nfunction parseOrigin(origin) {\n var result = [null, null]\n var index\n\n if (typeof origin === 'string') {\n index = origin.indexOf(':')\n\n if (index === -1) {\n result[1] = origin\n } else {\n result[0] = origin.slice(0, index)\n result[1] = origin.slice(index + 1)\n }\n }\n\n return result\n}\n","'use strict'\n\nvar own = {}.hasOwnProperty\n\nmodule.exports = stringify\n\nfunction stringify(value) {\n /* Nothing. */\n if (!value || typeof value !== 'object') {\n return null\n }\n\n /* Node. */\n if (own.call(value, 'position') || own.call(value, 'type')) {\n return position(value.position)\n }\n\n /* Position. */\n if (own.call(value, 'start') || own.call(value, 'end')) {\n return position(value)\n }\n\n /* Point. */\n if (own.call(value, 'line') || own.call(value, 'column')) {\n return point(value)\n }\n\n /* ? */\n return null\n}\n\nfunction point(point) {\n if (!point || typeof point !== 'object') {\n point = {}\n }\n\n return index(point.line) + ':' + index(point.column)\n}\n\nfunction position(pos) {\n if (!pos || typeof pos !== 'object') {\n pos = {}\n }\n\n return point(pos.start) + '-' + point(pos.end)\n}\n\nfunction index(value) {\n return value && typeof value === 'number' ? value : 1\n}\n","'use strict';\n\nvar path = require('path');\nvar replace = require('replace-ext');\nvar buffer = require('is-buffer');\n\nmodule.exports = VFile;\n\nvar own = {}.hasOwnProperty;\nvar proto = VFile.prototype;\n\nproto.toString = toString;\n\n/* Order of setting (least specific to most), we need this because\n * otherwise `{stem: 'a', path: '~/b.js'}` would throw, as a path\n * is needed before a stem can be set. */\nvar order = [\n 'history',\n 'path',\n 'basename',\n 'stem',\n 'extname',\n 'dirname'\n];\n\n/* Construct a new file. */\nfunction VFile(options) {\n var prop;\n var index;\n var length;\n\n if (!options) {\n options = {};\n } else if (typeof options === 'string' || buffer(options)) {\n options = {contents: options};\n } else if ('message' in options && 'messages' in options) {\n return options;\n }\n\n if (!(this instanceof VFile)) {\n return new VFile(options);\n }\n\n this.data = {};\n this.messages = [];\n this.history = [];\n this.cwd = process.cwd();\n\n /* Set path related properties in the correct order. */\n index = -1;\n length = order.length;\n\n while (++index < length) {\n prop = order[index];\n\n if (own.call(options, prop)) {\n this[prop] = options[prop];\n }\n }\n\n /* Set non-path related properties. */\n for (prop in options) {\n if (order.indexOf(prop) === -1) {\n this[prop] = options[prop];\n }\n }\n}\n\n/* Access full path (`~/index.min.js`). */\nObject.defineProperty(proto, 'path', {\n get: function () {\n return this.history[this.history.length - 1];\n },\n set: function (path) {\n assertNonEmpty(path, 'path');\n\n if (path !== this.path) {\n this.history.push(path);\n }\n }\n});\n\n/* Access parent path (`~`). */\nObject.defineProperty(proto, 'dirname', {\n get: function () {\n return typeof this.path === 'string' ? path.dirname(this.path) : undefined;\n },\n set: function (dirname) {\n assertPath(this.path, 'dirname');\n this.path = path.join(dirname || '', this.basename);\n }\n});\n\n/* Access basename (`index.min.js`). */\nObject.defineProperty(proto, 'basename', {\n get: function () {\n return typeof this.path === 'string' ? path.basename(this.path) : undefined;\n },\n set: function (basename) {\n assertNonEmpty(basename, 'basename');\n assertPart(basename, 'basename');\n this.path = path.join(this.dirname || '', basename);\n }\n});\n\n/* Access extname (`.js`). */\nObject.defineProperty(proto, 'extname', {\n get: function () {\n return typeof this.path === 'string' ? path.extname(this.path) : undefined;\n },\n set: function (extname) {\n var ext = extname || '';\n\n assertPart(ext, 'extname');\n assertPath(this.path, 'extname');\n\n if (ext) {\n if (ext.charAt(0) !== '.') {\n throw new Error('`extname` must start with `.`');\n }\n\n if (ext.indexOf('.', 1) !== -1) {\n throw new Error('`extname` cannot contain multiple dots');\n }\n }\n\n this.path = replace(this.path, ext);\n }\n});\n\n/* Access stem (`index.min`). */\nObject.defineProperty(proto, 'stem', {\n get: function () {\n return typeof this.path === 'string' ? path.basename(this.path, this.extname) : undefined;\n },\n set: function (stem) {\n assertNonEmpty(stem, 'stem');\n assertPart(stem, 'stem');\n this.path = path.join(this.dirname || '', stem + (this.extname || ''));\n }\n});\n\n/* Get the value of the file. */\nfunction toString(encoding) {\n var value = this.contents || '';\n return buffer(value) ? value.toString(encoding) : String(value);\n}\n\n/* Assert that `part` is not a path (i.e., does\n * not contain `path.sep`). */\nfunction assertPart(part, name) {\n if (part.indexOf(path.sep) !== -1) {\n throw new Error('`' + name + '` cannot be a path: did not expect `' + path.sep + '`');\n }\n}\n\n/* Assert that `part` is not empty. */\nfunction assertNonEmpty(part, name) {\n if (!part) {\n throw new Error('`' + name + '` cannot be empty');\n }\n}\n\n/* Assert `path` exists. */\nfunction assertPath(path, name) {\n if (!path) {\n throw new Error('Setting `' + name + '` requires `path` to be set too');\n }\n}\n","'use strict';\n\nvar path = require('path');\n\nfunction replaceExt(npath, ext) {\n if (typeof npath !== 'string') {\n return npath;\n }\n\n if (npath.length === 0) {\n return npath;\n }\n\n var nFileName = path.basename(npath, path.extname(npath)) + ext;\n return path.join(path.dirname(npath), nFileName);\n}\n\nmodule.exports = replaceExt;\n","/*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh <https://feross.org>\n * @license MIT\n */\n\n// The _isBuffer check is for Safari 5-7 support, because it's missing\n// Object.prototype.constructor. Remove this eventually\nmodule.exports = function (obj) {\n return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)\n}\n\nfunction isBuffer (obj) {\n return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n\n// For Node v0.10 support. Remove this eventually.\nfunction isSlowBuffer (obj) {\n return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))\n}\n","'use strict'\n\nvar wrap = require('./wrap.js')\n\nmodule.exports = trough\n\ntrough.wrap = wrap\n\nvar slice = [].slice\n\n// Create new middleware.\nfunction trough() {\n var fns = []\n var middleware = {}\n\n middleware.run = run\n middleware.use = use\n\n return middleware\n\n // Run `fns`. Last argument must be a completion handler.\n function run() {\n var index = -1\n var input = slice.call(arguments, 0, -1)\n var done = arguments[arguments.length - 1]\n\n if (typeof done !== 'function') {\n throw new Error('Expected function as last argument, not ' + done)\n }\n\n next.apply(null, [null].concat(input))\n\n // Run the next `fn`, if any.\n function next(err) {\n var fn = fns[++index]\n var params = slice.call(arguments, 0)\n var values = params.slice(1)\n var length = input.length\n var pos = -1\n\n if (err) {\n done(err)\n return\n }\n\n // Copy non-nully input into values.\n while (++pos < length) {\n if (values[pos] === null || values[pos] === undefined) {\n values[pos] = input[pos]\n }\n }\n\n input = values\n\n // Next or done.\n if (fn) {\n wrap(fn, next).apply(null, input)\n } else {\n done.apply(null, [null].concat(input))\n }\n }\n }\n\n // Add `fn` to the list.\n function use(fn) {\n if (typeof fn !== 'function') {\n throw new Error('Expected `fn` to be a function, not ' + fn)\n }\n\n fns.push(fn)\n\n return middleware\n }\n}\n","'use strict'\n\nvar slice = [].slice\n\nmodule.exports = wrap\n\n// Wrap `fn`.\n// Can be sync or async; return a promise, receive a completion handler, return\n// new values and errors.\nfunction wrap(fn, callback) {\n var invoked\n\n return wrapped\n\n function wrapped() {\n var params = slice.call(arguments, 0)\n var callback = fn.length > params.length\n var result\n\n if (callback) {\n params.push(done)\n }\n\n try {\n result = fn.apply(null, params)\n } catch (error) {\n // Well, this is quite the pickle.\n // `fn` received a callback and invoked it (thus continuing the pipeline),\n // but later also threw an error.\n // We’re not about to restart the pipeline again, so the only thing left\n // to do is to throw the thing instead.\n if (callback && invoked) {\n throw error\n }\n\n return done(error)\n }\n\n if (!callback) {\n if (result && typeof result.then === 'function') {\n result.then(then, done)\n } else if (result instanceof Error) {\n done(result)\n } else {\n then(result)\n }\n }\n }\n\n // Invoke `next`, only once.\n function done() {\n if (!invoked) {\n invoked = true\n\n callback.apply(null, arguments)\n }\n }\n\n // Invoke `done` with one value.\n // Tracks if an error is passed, too.\n function then(value) {\n done(null, value)\n }\n}\n","var toString = Object.prototype.toString\n\nmodule.exports = isString\n\nfunction isString(obj) {\n return toString.call(obj) === \"[object String]\"\n}\n","'use strict';\nvar toString = Object.prototype.toString;\n\nmodule.exports = function (x) {\n\tvar prototype;\n\treturn toString.call(x) === '[object Object]' && (prototype = Object.getPrototypeOf(x), prototype === null || prototype === Object.getPrototypeOf({}));\n};\n","'use strict';\n\nvar unherit = require('unherit');\nvar xtend = require('xtend');\nvar Parser = require('./lib/parser.js');\n\nmodule.exports = parse;\nparse.Parser = Parser;\n\nfunction parse(options) {\n var Local = unherit(Parser);\n Local.prototype.options = xtend(Local.prototype.options, this.data('settings'), options);\n this.Parser = Local;\n}\n","'use strict'\n\nvar xtend = require('xtend')\nvar inherits = require('inherits')\n\nmodule.exports = unherit\n\n// Create a custom constructor which can be modified without affecting the\n// original class.\nfunction unherit(Super) {\n var result\n var key\n var value\n\n inherits(Of, Super)\n inherits(From, Of)\n\n // Clone values.\n result = Of.prototype\n\n for (key in result) {\n value = result[key]\n\n if (value && typeof value === 'object') {\n result[key] = 'concat' in value ? value.concat() : xtend(value)\n }\n }\n\n return Of\n\n // Constructor accepting a single argument, which itself is an `arguments`\n // object.\n function From(parameters) {\n return Super.apply(this, parameters)\n }\n\n // Constructor accepting variadic arguments.\n function Of() {\n if (!(this instanceof Of)) {\n return new From(arguments)\n }\n\n return Super.apply(this, arguments)\n }\n}\n","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n })\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n }\n}\n","'use strict';\n\nvar xtend = require('xtend');\nvar toggle = require('state-toggle');\nvar vfileLocation = require('vfile-location');\nvar unescape = require('./unescape');\nvar decode = require('./decode');\nvar tokenizer = require('./tokenizer');\n\nmodule.exports = Parser;\n\nfunction Parser(doc, file) {\n this.file = file;\n this.offset = {};\n this.options = xtend(this.options);\n this.setOptions({});\n\n this.inList = false;\n this.inBlock = false;\n this.inLink = false;\n this.atStart = true;\n\n this.toOffset = vfileLocation(file).toOffset;\n this.unescape = unescape(this, 'escape');\n this.decode = decode(this);\n}\n\nvar proto = Parser.prototype;\n\n/* Expose core. */\nproto.setOptions = require('./set-options');\nproto.parse = require('./parse');\n\n/* Expose `defaults`. */\nproto.options = require('./defaults');\n\n/* Enter and exit helpers. */\nproto.exitStart = toggle('atStart', true);\nproto.enterList = toggle('inList', false);\nproto.enterLink = toggle('inLink', false);\nproto.enterBlock = toggle('inBlock', false);\n\n/* Nodes that can interupt a paragraph:\n *\n * ```markdown\n * A paragraph, followed by a thematic break.\n * ___\n * ```\n *\n * In the above example, the thematic break “interupts”\n * the paragraph. */\nproto.interruptParagraph = [\n ['thematicBreak'],\n ['atxHeading'],\n ['fencedCode'],\n ['blockquote'],\n ['html'],\n ['setextHeading', {commonmark: false}],\n ['definition', {commonmark: false}],\n ['footnote', {commonmark: false}]\n];\n\n/* Nodes that can interupt a list:\n *\n * ```markdown\n * - One\n * ___\n * ```\n *\n * In the above example, the thematic break “interupts”\n * the list. */\nproto.interruptList = [\n ['atxHeading', {pedantic: false}],\n ['fencedCode', {pedantic: false}],\n ['thematicBreak', {pedantic: false}],\n ['definition', {commonmark: false}],\n ['footnote', {commonmark: false}]\n];\n\n/* Nodes that can interupt a blockquote:\n *\n * ```markdown\n * > A paragraph.\n * ___\n * ```\n *\n * In the above example, the thematic break “interupts”\n * the blockquote. */\nproto.interruptBlockquote = [\n ['indentedCode', {commonmark: true}],\n ['fencedCode', {commonmark: true}],\n ['atxHeading', {commonmark: true}],\n ['setextHeading', {commonmark: true}],\n ['thematicBreak', {commonmark: true}],\n ['html', {commonmark: true}],\n ['list', {commonmark: true}],\n ['definition', {commonmark: false}],\n ['footnote', {commonmark: false}]\n];\n\n/* Handlers. */\nproto.blockTokenizers = {\n newline: require('./tokenize/newline'),\n indentedCode: require('./tokenize/code-indented'),\n fencedCode: require('./tokenize/code-fenced'),\n blockquote: require('./tokenize/blockquote'),\n atxHeading: require('./tokenize/heading-atx'),\n thematicBreak: require('./tokenize/thematic-break'),\n list: require('./tokenize/list'),\n setextHeading: require('./tokenize/heading-setext'),\n html: require('./tokenize/html-block'),\n footnote: require('./tokenize/footnote-definition'),\n definition: require('./tokenize/definition'),\n table: require('./tokenize/table'),\n paragraph: require('./tokenize/paragraph')\n};\n\nproto.inlineTokenizers = {\n escape: require('./tokenize/escape'),\n autoLink: require('./tokenize/auto-link'),\n url: require('./tokenize/url'),\n html: require('./tokenize/html-inline'),\n link: require('./tokenize/link'),\n reference: require('./tokenize/reference'),\n strong: require('./tokenize/strong'),\n emphasis: require('./tokenize/emphasis'),\n deletion: require('./tokenize/delete'),\n code: require('./tokenize/code-inline'),\n break: require('./tokenize/break'),\n text: require('./tokenize/text')\n};\n\n/* Expose precedence. */\nproto.blockMethods = keys(proto.blockTokenizers);\nproto.inlineMethods = keys(proto.inlineTokenizers);\n\n/* Tokenizers. */\nproto.tokenizeBlock = tokenizer('block');\nproto.tokenizeInline = tokenizer('inline');\nproto.tokenizeFactory = tokenizer;\n\n/* Get all keys in `value`. */\nfunction keys(value) {\n var result = [];\n var key;\n\n for (key in value) {\n result.push(key);\n }\n\n return result;\n}\n","'use strict'\n\nmodule.exports = factory\n\n// Construct a state `toggler`: a function which inverses `property` in context\n// based on its current value.\n// The by `toggler` returned function restores that value.\nfunction factory(key, state, ctx) {\n return enter\n\n function enter() {\n var context = ctx || this\n var current = context[key]\n\n context[key] = !state\n\n return exit\n\n function exit() {\n context[key] = current\n }\n }\n}\n","'use strict'\n\nmodule.exports = factory\n\nfunction factory(file) {\n var contents = indices(String(file))\n\n return {\n toPosition: offsetToPositionFactory(contents),\n toOffset: positionToOffsetFactory(contents)\n }\n}\n\n// Factory to get the line and column-based `position` for `offset` in the bound\n// indices.\nfunction offsetToPositionFactory(indices) {\n return offsetToPosition\n\n // Get the line and column-based `position` for `offset` in the bound indices.\n function offsetToPosition(offset) {\n var index = -1\n var length = indices.length\n\n if (offset < 0) {\n return {}\n }\n\n while (++index < length) {\n if (indices[index] > offset) {\n return {\n line: index + 1,\n column: offset - (indices[index - 1] || 0) + 1,\n offset: offset\n }\n }\n }\n\n return {}\n }\n}\n\n// Factory to get the `offset` for a line and column-based `position` in the\n// bound indices.\nfunction positionToOffsetFactory(indices) {\n return positionToOffset\n\n // Get the `offset` for a line and column-based `position` in the bound\n // indices.\n function positionToOffset(position) {\n var line = position && position.line\n var column = position && position.column\n\n if (!isNaN(line) && !isNaN(column) && line - 1 in indices) {\n return (indices[line - 2] || 0) + column - 1 || 0\n }\n\n return -1\n }\n}\n\n// Get indices of line-breaks in `value`.\nfunction indices(value) {\n var result = []\n var index = value.indexOf('\\n')\n\n while (index !== -1) {\n result.push(index + 1)\n index = value.indexOf('\\n', index + 1)\n }\n\n result.push(value.length + 1)\n\n return result\n}\n","'use strict';\n\nmodule.exports = factory;\n\n/* Factory to de-escape a value, based on a list at `key`\n * in `ctx`. */\nfunction factory(ctx, key) {\n return unescape;\n\n /* De-escape a string using the expression at `key`\n * in `ctx`. */\n function unescape(value) {\n var prev = 0;\n var index = value.indexOf('\\\\');\n var escape = ctx[key];\n var queue = [];\n var character;\n\n while (index !== -1) {\n queue.push(value.slice(prev, index));\n prev = index + 1;\n character = value.charAt(prev);\n\n /* If the following character is not a valid escape,\n * add the slash. */\n if (!character || escape.indexOf(character) === -1) {\n queue.push('\\\\');\n }\n\n index = value.indexOf('\\\\', prev);\n }\n\n queue.push(value.slice(prev));\n\n return queue.join('');\n }\n}\n","'use strict';\n\nvar xtend = require('xtend');\nvar entities = require('parse-entities');\n\nmodule.exports = factory;\n\n/* Factory to create an entity decoder. */\nfunction factory(ctx) {\n decoder.raw = decodeRaw;\n\n return decoder;\n\n /* Normalize `position` to add an `indent`. */\n function normalize(position) {\n var offsets = ctx.offset;\n var line = position.line;\n var result = [];\n\n while (++line) {\n if (!(line in offsets)) {\n break;\n }\n\n result.push((offsets[line] || 0) + 1);\n }\n\n return {\n start: position,\n indent: result\n };\n }\n\n /* Handle a warning.\n * See https://github.com/wooorm/parse-entities\n * for the warnings. */\n function handleWarning(reason, position, code) {\n if (code === 3) {\n return;\n }\n\n ctx.file.message(reason, position);\n }\n\n /* Decode `value` (at `position`) into text-nodes. */\n function decoder(value, position, handler) {\n entities(value, {\n position: normalize(position),\n warning: handleWarning,\n text: handler,\n reference: handler,\n textContext: ctx,\n referenceContext: ctx\n });\n }\n\n /* Decode `value` (at `position`) into a string. */\n function decodeRaw(value, position, options) {\n return entities(value, xtend(options, {\n position: normalize(position),\n warning: handleWarning\n }));\n }\n}\n","'use strict'\n\nmodule.exports = hexadecimal\n\n// Check if the given character code, or the character code at the first\n// character, is hexadecimal.\nfunction hexadecimal(character) {\n var code = typeof character === 'string' ? character.charCodeAt(0) : character\n\n return (\n (code >= 97 /* a */ && code <= 102) /* z */ ||\n (code >= 65 /* A */ && code <= 70) /* Z */ ||\n (code >= 48 /* A */ && code <= 57) /* Z */\n )\n}\n","'use strict'\n\nvar alphabetical = require('is-alphabetical')\nvar decimal = require('is-decimal')\n\nmodule.exports = alphanumerical\n\n// Check if the given character code, or the character code at the first\n// character, is alphanumerical.\nfunction alphanumerical(character) {\n return alphabetical(character) || decimal(character)\n}\n","'use strict'\n\n/* eslint-env browser */\n\nvar el\n\nvar semicolon = 59 // ';'\n\nmodule.exports = decodeEntity\n\nfunction decodeEntity(characters) {\n var entity = '&' + characters + ';'\n var char\n\n el = el || document.createElement('i')\n el.innerHTML = entity\n char = el.textContent\n\n // Some entities do not require the closing semicolon (`&not` - for instance),\n // which leads to situations where parsing the assumed entity of &notit; will\n // result in the string `¬it;`. When we encounter a trailing semicolon after\n // parsing and the entity to decode was not a semicolon (`&semi;`), we can\n // assume that the matching was incomplete\n if (char.charCodeAt(char.length - 1) === semicolon && characters !== 'semi') {\n return false\n }\n\n // If the decoded string is equal to the input, the entity was not valid\n return char === entity ? false : char\n}\n","'use strict';\n\nmodule.exports = factory;\n\nvar MERGEABLE_NODES = {\n text: mergeText,\n blockquote: mergeBlockquote\n};\n\n/* Check whether a node is mergeable with adjacent nodes. */\nfunction mergeable(node) {\n var start;\n var end;\n\n if (node.type !== 'text' || !node.position) {\n return true;\n }\n\n start = node.position.start;\n end = node.position.end;\n\n /* Only merge nodes which occupy the same size as their\n * `value`. */\n return start.line !== end.line ||\n end.column - start.column === node.value.length;\n}\n\n/* Merge two text nodes: `node` into `prev`. */\nfunction mergeText(prev, node) {\n prev.value += node.value;\n\n return prev;\n}\n\n/* Merge two blockquotes: `node` into `prev`, unless in\n * CommonMark mode. */\nfunction mergeBlockquote(prev, node) {\n if (this.options.commonmark) {\n return node;\n }\n\n prev.children = prev.children.concat(node.children);\n\n return prev;\n}\n\n/* Construct a tokenizer. This creates both\n * `tokenizeInline` and `tokenizeBlock`. */\nfunction factory(type) {\n return tokenize;\n\n /* Tokenizer for a bound `type`. */\n function tokenize(value, location) {\n var self = this;\n var offset = self.offset;\n var tokens = [];\n var methods = self[type + 'Methods'];\n var tokenizers = self[type + 'Tokenizers'];\n var line = location.line;\n var column = location.column;\n var index;\n var length;\n var method;\n var name;\n var matched;\n var valueLength;\n\n /* Trim white space only lines. */\n if (!value) {\n return tokens;\n }\n\n /* Expose on `eat`. */\n eat.now = now;\n eat.file = self.file;\n\n /* Sync initial offset. */\n updatePosition('');\n\n /* Iterate over `value`, and iterate over all\n * tokenizers. When one eats something, re-iterate\n * with the remaining value. If no tokenizer eats,\n * something failed (should not happen) and an\n * exception is thrown. */\n while (value) {\n index = -1;\n length = methods.length;\n matched = false;\n\n while (++index < length) {\n name = methods[index];\n method = tokenizers[name];\n\n if (\n method &&\n /* istanbul ignore next */ (!method.onlyAtStart || self.atStart) &&\n (!method.notInList || !self.inList) &&\n (!method.notInBlock || !self.inBlock) &&\n (!method.notInLink || !self.inLink)\n ) {\n valueLength = value.length;\n\n method.apply(self, [eat, value]);\n\n matched = valueLength !== value.length;\n\n if (matched) {\n break;\n }\n }\n }\n\n /* istanbul ignore if */\n if (!matched) {\n self.file.fail(new Error('Infinite loop'), eat.now());\n }\n }\n\n self.eof = now();\n\n return tokens;\n\n /* Update line, column, and offset based on\n * `value`. */\n function updatePosition(subvalue) {\n var lastIndex = -1;\n var index = subvalue.indexOf('\\n');\n\n while (index !== -1) {\n line++;\n lastIndex = index;\n index = subvalue.indexOf('\\n', index + 1);\n }\n\n if (lastIndex === -1) {\n column += subvalue.length;\n } else {\n column = subvalue.length - lastIndex;\n }\n\n if (line in offset) {\n if (lastIndex !== -1) {\n column += offset[line];\n } else if (column <= offset[line]) {\n column = offset[line] + 1;\n }\n }\n }\n\n /* Get offset. Called before the first character is\n * eaten to retrieve the range's offsets. */\n function getOffset() {\n var indentation = [];\n var pos = line + 1;\n\n /* Done. Called when the last character is\n * eaten to retrieve the range’s offsets. */\n return function () {\n var last = line + 1;\n\n while (pos < last) {\n indentation.push((offset[pos] || 0) + 1);\n\n pos++;\n }\n\n return indentation;\n };\n }\n\n /* Get the current position. */\n function now() {\n var pos = {line: line, column: column};\n\n pos.offset = self.toOffset(pos);\n\n return pos;\n }\n\n /* Store position information for a node. */\n function Position(start) {\n this.start = start;\n this.end = now();\n }\n\n /* Throw when a value is incorrectly eaten.\n * This shouldn’t happen but will throw on new,\n * incorrect rules. */\n function validateEat(subvalue) {\n /* istanbul ignore if */\n if (value.substring(0, subvalue.length) !== subvalue) {\n /* Capture stack-trace. */\n self.file.fail(\n new Error(\n 'Incorrectly eaten value: please report this ' +\n 'warning on http://git.io/vg5Ft'\n ),\n now()\n );\n }\n }\n\n /* Mark position and patch `node.position`. */\n function position() {\n var before = now();\n\n return update;\n\n /* Add the position to a node. */\n function update(node, indent) {\n var prev = node.position;\n var start = prev ? prev.start : before;\n var combined = [];\n var n = prev && prev.end.line;\n var l = before.line;\n\n node.position = new Position(start);\n\n /* If there was already a `position`, this\n * node was merged. Fixing `start` wasn’t\n * hard, but the indent is different.\n * Especially because some information, the\n * indent between `n` and `l` wasn’t\n * tracked. Luckily, that space is\n * (should be?) empty, so we can safely\n * check for it now. */\n if (prev && indent && prev.indent) {\n combined = prev.indent;\n\n if (n < l) {\n while (++n < l) {\n combined.push((offset[n] || 0) + 1);\n }\n\n combined.push(before.column);\n }\n\n indent = combined.concat(indent);\n }\n\n node.position.indent = indent || [];\n\n return node;\n }\n }\n\n /* Add `node` to `parent`s children or to `tokens`.\n * Performs merges where possible. */\n function add(node, parent) {\n var children = parent ? parent.children : tokens;\n var prev = children[children.length - 1];\n\n if (\n prev &&\n node.type === prev.type &&\n node.type in MERGEABLE_NODES &&\n mergeable(prev) &&\n mergeable(node)\n ) {\n node = MERGEABLE_NODES[node.type].call(self, prev, node);\n }\n\n if (node !== prev) {\n children.push(node);\n }\n\n if (self.atStart && tokens.length !== 0) {\n self.exitStart();\n }\n\n return node;\n }\n\n /* Remove `subvalue` from `value`.\n * `subvalue` must be at the start of `value`. */\n function eat(subvalue) {\n var indent = getOffset();\n var pos = position();\n var current = now();\n\n validateEat(subvalue);\n\n apply.reset = reset;\n reset.test = test;\n apply.test = test;\n\n value = value.substring(subvalue.length);\n\n updatePosition(subvalue);\n\n indent = indent();\n\n return apply;\n\n /* Add the given arguments, add `position` to\n * the returned node, and return the node. */\n function apply(node, parent) {\n return pos(add(pos(node), parent), indent);\n }\n\n /* Functions just like apply, but resets the\n * content: the line and column are reversed,\n * and the eaten value is re-added.\n * This is useful for nodes with a single\n * type of content, such as lists and tables.\n * See `apply` above for what parameters are\n * expected. */\n function reset() {\n var node = apply.apply(null, arguments);\n\n line = current.line;\n column = current.column;\n value = subvalue + value;\n\n return node;\n }\n\n /* Test the position, after eating, and reverse\n * to a not-eaten state. */\n function test() {\n var result = pos({});\n\n line = current.line;\n column = current.column;\n value = subvalue + value;\n\n return result.position;\n }\n }\n }\n}\n","'use strict';\n\nvar xtend = require('xtend');\nvar escapes = require('markdown-escapes');\nvar defaults = require('./defaults');\n\nmodule.exports = setOptions;\n\nfunction setOptions(options) {\n var self = this;\n var current = self.options;\n var key;\n var value;\n\n if (options == null) {\n options = {};\n } else if (typeof options === 'object') {\n options = xtend(options);\n } else {\n throw new Error(\n 'Invalid value `' + options + '` ' +\n 'for setting `options`'\n );\n }\n\n for (key in defaults) {\n value = options[key];\n\n if (value == null) {\n value = current[key];\n }\n\n if (\n (key !== 'blocks' && typeof value !== 'boolean') ||\n (key === 'blocks' && typeof value !== 'object')\n ) {\n throw new Error('Invalid value `' + value + '` for setting `options.' + key + '`');\n }\n\n options[key] = value;\n }\n\n self.options = options;\n self.escape = escapes(options);\n\n return self;\n}\n","'use strict'\n\nmodule.exports = escapes\n\nvar defaults = [\n '\\\\',\n '`',\n '*',\n '{',\n '}',\n '[',\n ']',\n '(',\n ')',\n '#',\n '+',\n '-',\n '.',\n '!',\n '_',\n '>'\n]\n\nvar gfm = defaults.concat(['~', '|'])\n\nvar commonmark = gfm.concat([\n '\\n',\n '\"',\n '$',\n '%',\n '&',\n \"'\",\n ',',\n '/',\n ':',\n ';',\n '<',\n '=',\n '?',\n '@',\n '^'\n])\n\nescapes.default = defaults\nescapes.gfm = gfm\nescapes.commonmark = commonmark\n\n// Get markdown escapes.\nfunction escapes(options) {\n var settings = options || {}\n\n if (settings.commonmark) {\n return commonmark\n }\n\n return settings.gfm ? gfm : defaults\n}\n","'use strict';\n\nvar xtend = require('xtend');\nvar removePosition = require('unist-util-remove-position');\n\nmodule.exports = parse;\n\nvar C_NEWLINE = '\\n';\nvar EXPRESSION_LINE_BREAKS = /\\r\\n|\\r/g;\n\n/* Parse the bound file. */\nfunction parse() {\n var self = this;\n var value = String(self.file);\n var start = {line: 1, column: 1, offset: 0};\n var content = xtend(start);\n var node;\n\n /* Clean non-unix newlines: `\\r\\n` and `\\r` are all\n * changed to `\\n`. This should not affect positional\n * information. */\n value = value.replace(EXPRESSION_LINE_BREAKS, C_NEWLINE);\n\n if (value.charCodeAt(0) === 0xFEFF) {\n value = value.slice(1);\n\n content.column++;\n content.offset++;\n }\n\n node = {\n type: 'root',\n children: self.tokenizeBlock(value, content),\n position: {\n start: start,\n end: self.eof || xtend(start)\n }\n };\n\n if (!self.options.position) {\n removePosition(node, true);\n }\n\n return node;\n}\n","'use strict'\n\nvar visit = require('unist-util-visit')\n\nmodule.exports = removePosition\n\nfunction removePosition(node, force) {\n visit(node, force ? hard : soft)\n return node\n}\n\nfunction hard(node) {\n delete node.position\n}\n\nfunction soft(node) {\n node.position = undefined\n}\n","'use strict'\n\nmodule.exports = visitParents\n\nvar convert = require('unist-util-is/convert')\n\nvar CONTINUE = true\nvar SKIP = 'skip'\nvar EXIT = false\n\nvisitParents.CONTINUE = CONTINUE\nvisitParents.SKIP = SKIP\nvisitParents.EXIT = EXIT\n\nfunction visitParents(tree, test, visitor, reverse) {\n var is\n\n if (typeof test === 'function' && typeof visitor !== 'function') {\n reverse = visitor\n visitor = test\n test = null\n }\n\n is = convert(test)\n\n one(tree, null, [])\n\n // Visit a single node.\n function one(node, index, parents) {\n var result = []\n var subresult\n\n if (!test || is(node, index, parents[parents.length - 1] || null)) {\n result = toResult(visitor(node, parents))\n\n if (result[0] === EXIT) {\n return result\n }\n }\n\n if (node.children && result[0] !== SKIP) {\n subresult = toResult(all(node.children, parents.concat(node)))\n return subresult[0] === EXIT ? subresult : result\n }\n\n return result\n }\n\n // Visit children in `parent`.\n function all(children, parents) {\n var min = -1\n var step = reverse ? -1 : 1\n var index = (reverse ? children.length : min) + step\n var result\n\n while (index > min && index < children.length) {\n result = one(children[index], index, parents)\n\n if (result[0] === EXIT) {\n return result\n }\n\n index = typeof result[1] === 'number' ? result[1] : index + step\n }\n }\n}\n\nfunction toResult(value) {\n if (value !== null && typeof value === 'object' && 'length' in value) {\n return value\n }\n\n if (typeof value === 'number') {\n return [CONTINUE, value]\n }\n\n return [value]\n}\n","'use strict'\n\nmodule.exports = convert\n\nfunction convert(test) {\n if (typeof test === 'string') {\n return typeFactory(test)\n }\n\n if (test === null || test === undefined) {\n return ok\n }\n\n if (typeof test === 'object') {\n return ('length' in test ? anyFactory : matchesFactory)(test)\n }\n\n if (typeof test === 'function') {\n return test\n }\n\n throw new Error('Expected function, string, or object as test')\n}\n\nfunction convertAll(tests) {\n var results = []\n var length = tests.length\n var index = -1\n\n while (++index < length) {\n results[index] = convert(tests[index])\n }\n\n return results\n}\n\n// Utility assert each property in `test` is represented in `node`, and each\n// values are strictly equal.\nfunction matchesFactory(test) {\n return matches\n\n function matches(node) {\n var key\n\n for (key in test) {\n if (node[key] !== test[key]) {\n return false\n }\n }\n\n return true\n }\n}\n\nfunction anyFactory(tests) {\n var checks = convertAll(tests)\n var length = checks.length\n\n return matches\n\n function matches() {\n var index = -1\n\n while (++index < length) {\n if (checks[index].apply(this, arguments)) {\n return true\n }\n }\n\n return false\n }\n}\n\n// Utility to convert a string into a function which checks a given node’s type\n// for said string.\nfunction typeFactory(test) {\n return type\n\n function type(node) {\n return Boolean(node && node.type === test)\n }\n}\n\n// Utility to return true.\nfunction ok() {\n return true\n}\n","'use strict';\n\nvar whitespace = require('is-whitespace-character');\n\nmodule.exports = newline;\n\n/* Tokenise newline. */\nfunction newline(eat, value, silent) {\n var character = value.charAt(0);\n var length;\n var subvalue;\n var queue;\n var index;\n\n if (character !== '\\n') {\n return;\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n index = 1;\n length = value.length;\n subvalue = character;\n queue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (!whitespace(character)) {\n break;\n }\n\n queue += character;\n\n if (character === '\\n') {\n subvalue += queue;\n queue = '';\n }\n\n index++;\n }\n\n eat(subvalue);\n}\n","'use strict';\n\nvar repeat = require('repeat-string');\nvar trim = require('trim-trailing-lines');\n\nmodule.exports = indentedCode;\n\nvar C_NEWLINE = '\\n';\nvar C_TAB = '\\t';\nvar C_SPACE = ' ';\n\nvar CODE_INDENT_COUNT = 4;\nvar CODE_INDENT = repeat(C_SPACE, CODE_INDENT_COUNT);\n\n/* Tokenise indented code. */\nfunction indentedCode(eat, value, silent) {\n var index = -1;\n var length = value.length;\n var subvalue = '';\n var content = '';\n var subvalueQueue = '';\n var contentQueue = '';\n var character;\n var blankQueue;\n var indent;\n\n while (++index < length) {\n character = value.charAt(index);\n\n if (indent) {\n indent = false;\n\n subvalue += subvalueQueue;\n content += contentQueue;\n subvalueQueue = '';\n contentQueue = '';\n\n if (character === C_NEWLINE) {\n subvalueQueue = character;\n contentQueue = character;\n } else {\n subvalue += character;\n content += character;\n\n while (++index < length) {\n character = value.charAt(index);\n\n if (!character || character === C_NEWLINE) {\n contentQueue = character;\n subvalueQueue = character;\n break;\n }\n\n subvalue += character;\n content += character;\n }\n }\n } else if (\n character === C_SPACE &&\n value.charAt(index + 1) === character &&\n value.charAt(index + 2) === character &&\n value.charAt(index + 3) === character\n ) {\n subvalueQueue += CODE_INDENT;\n index += 3;\n indent = true;\n } else if (character === C_TAB) {\n subvalueQueue += character;\n indent = true;\n } else {\n blankQueue = '';\n\n while (character === C_TAB || character === C_SPACE) {\n blankQueue += character;\n character = value.charAt(++index);\n }\n\n if (character !== C_NEWLINE) {\n break;\n }\n\n subvalueQueue += blankQueue + character;\n contentQueue += character;\n }\n }\n\n if (content) {\n if (silent) {\n return true;\n }\n\n return eat(subvalue)({\n type: 'code',\n lang: null,\n value: trim(content)\n });\n }\n}\n","'use strict';\n\nvar trim = require('trim-trailing-lines');\n\nmodule.exports = fencedCode;\n\nvar C_NEWLINE = '\\n';\nvar C_TAB = '\\t';\nvar C_SPACE = ' ';\nvar C_TILDE = '~';\nvar C_TICK = '`';\n\nvar MIN_FENCE_COUNT = 3;\nvar CODE_INDENT_COUNT = 4;\n\nfunction fencedCode(eat, value, silent) {\n var self = this;\n var settings = self.options;\n var length = value.length + 1;\n var index = 0;\n var subvalue = '';\n var fenceCount;\n var marker;\n var character;\n var flag;\n var queue;\n var content;\n var exdentedContent;\n var closing;\n var exdentedClosing;\n var indent;\n var now;\n\n if (!settings.gfm) {\n return;\n }\n\n /* Eat initial spacing. */\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== C_SPACE && character !== C_TAB) {\n break;\n }\n\n subvalue += character;\n index++;\n }\n\n indent = index;\n\n /* Eat the fence. */\n character = value.charAt(index);\n\n if (character !== C_TILDE && character !== C_TICK) {\n return;\n }\n\n index++;\n marker = character;\n fenceCount = 1;\n subvalue += character;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== marker) {\n break;\n }\n\n subvalue += character;\n fenceCount++;\n index++;\n }\n\n if (fenceCount < MIN_FENCE_COUNT) {\n return;\n }\n\n /* Eat spacing before flag. */\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== C_SPACE && character !== C_TAB) {\n break;\n }\n\n subvalue += character;\n index++;\n }\n\n /* Eat flag. */\n flag = '';\n queue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (\n character === C_NEWLINE ||\n character === C_TILDE ||\n character === C_TICK\n ) {\n break;\n }\n\n if (character === C_SPACE || character === C_TAB) {\n queue += character;\n } else {\n flag += queue + character;\n queue = '';\n }\n\n index++;\n }\n\n character = value.charAt(index);\n\n if (character && character !== C_NEWLINE) {\n return;\n }\n\n if (silent) {\n return true;\n }\n\n now = eat.now();\n now.column += subvalue.length;\n now.offset += subvalue.length;\n\n subvalue += flag;\n flag = self.decode.raw(self.unescape(flag), now);\n\n if (queue) {\n subvalue += queue;\n }\n\n queue = '';\n closing = '';\n exdentedClosing = '';\n content = '';\n exdentedContent = '';\n\n /* Eat content. */\n while (index < length) {\n character = value.charAt(index);\n content += closing;\n exdentedContent += exdentedClosing;\n closing = '';\n exdentedClosing = '';\n\n if (character !== C_NEWLINE) {\n content += character;\n exdentedClosing += character;\n index++;\n continue;\n }\n\n /* Add the newline to `subvalue` if its the first\n * character. Otherwise, add it to the `closing`\n * queue. */\n if (content) {\n closing += character;\n exdentedClosing += character;\n } else {\n subvalue += character;\n }\n\n queue = '';\n index++;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== C_SPACE) {\n break;\n }\n\n queue += character;\n index++;\n }\n\n closing += queue;\n exdentedClosing += queue.slice(indent);\n\n if (queue.length >= CODE_INDENT_COUNT) {\n continue;\n }\n\n queue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== marker) {\n break;\n }\n\n queue += character;\n index++;\n }\n\n closing += queue;\n exdentedClosing += queue;\n\n if (queue.length < fenceCount) {\n continue;\n }\n\n queue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== C_SPACE && character !== C_TAB) {\n break;\n }\n\n closing += character;\n exdentedClosing += character;\n index++;\n }\n\n if (!character || character === C_NEWLINE) {\n break;\n }\n }\n\n subvalue += content + closing;\n\n return eat(subvalue)({\n type: 'code',\n lang: flag || null,\n value: trim(exdentedContent)\n });\n}\n","'use strict';\n\nvar trim = require('trim');\nvar interrupt = require('../util/interrupt');\n\nmodule.exports = blockquote;\n\nvar C_NEWLINE = '\\n';\nvar C_TAB = '\\t';\nvar C_SPACE = ' ';\nvar C_GT = '>';\n\n/* Tokenise a blockquote. */\nfunction blockquote(eat, value, silent) {\n var self = this;\n var offsets = self.offset;\n var tokenizers = self.blockTokenizers;\n var interruptors = self.interruptBlockquote;\n var now = eat.now();\n var currentLine = now.line;\n var length = value.length;\n var values = [];\n var contents = [];\n var indents = [];\n var add;\n var index = 0;\n var character;\n var rest;\n var nextIndex;\n var content;\n var line;\n var startIndex;\n var prefixed;\n var exit;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== C_SPACE && character !== C_TAB) {\n break;\n }\n\n index++;\n }\n\n if (value.charAt(index) !== C_GT) {\n return;\n }\n\n if (silent) {\n return true;\n }\n\n index = 0;\n\n while (index < length) {\n nextIndex = value.indexOf(C_NEWLINE, index);\n startIndex = index;\n prefixed = false;\n\n if (nextIndex === -1) {\n nextIndex = length;\n }\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== C_SPACE && character !== C_TAB) {\n break;\n }\n\n index++;\n }\n\n if (value.charAt(index) === C_GT) {\n index++;\n prefixed = true;\n\n if (value.charAt(index) === C_SPACE) {\n index++;\n }\n } else {\n index = startIndex;\n }\n\n content = value.slice(index, nextIndex);\n\n if (!prefixed && !trim(content)) {\n index = startIndex;\n break;\n }\n\n if (!prefixed) {\n rest = value.slice(index);\n\n /* Check if the following code contains a possible\n * block. */\n if (interrupt(interruptors, tokenizers, self, [eat, rest, true])) {\n break;\n }\n }\n\n line = startIndex === index ? content : value.slice(startIndex, nextIndex);\n\n indents.push(index - startIndex);\n values.push(line);\n contents.push(content);\n\n index = nextIndex + 1;\n }\n\n index = -1;\n length = indents.length;\n add = eat(values.join(C_NEWLINE));\n\n while (++index < length) {\n offsets[currentLine] = (offsets[currentLine] || 0) + indents[index];\n currentLine++;\n }\n\n exit = self.enterBlock();\n contents = self.tokenizeBlock(contents.join(C_NEWLINE), now);\n exit();\n\n return add({\n type: 'blockquote',\n children: contents\n });\n}\n","'use strict';\n\nmodule.exports = atxHeading;\n\nvar C_NEWLINE = '\\n';\nvar C_TAB = '\\t';\nvar C_SPACE = ' ';\nvar C_HASH = '#';\n\nvar MAX_ATX_COUNT = 6;\n\nfunction atxHeading(eat, value, silent) {\n var self = this;\n var settings = self.options;\n var length = value.length + 1;\n var index = -1;\n var now = eat.now();\n var subvalue = '';\n var content = '';\n var character;\n var queue;\n var depth;\n\n /* Eat initial spacing. */\n while (++index < length) {\n character = value.charAt(index);\n\n if (character !== C_SPACE && character !== C_TAB) {\n index--;\n break;\n }\n\n subvalue += character;\n }\n\n /* Eat hashes. */\n depth = 0;\n\n while (++index <= length) {\n character = value.charAt(index);\n\n if (character !== C_HASH) {\n index--;\n break;\n }\n\n subvalue += character;\n depth++;\n }\n\n if (depth > MAX_ATX_COUNT) {\n return;\n }\n\n if (\n !depth ||\n (!settings.pedantic && value.charAt(index + 1) === C_HASH)\n ) {\n return;\n }\n\n length = value.length + 1;\n\n /* Eat intermediate white-space. */\n queue = '';\n\n while (++index < length) {\n character = value.charAt(index);\n\n if (character !== C_SPACE && character !== C_TAB) {\n index--;\n break;\n }\n\n queue += character;\n }\n\n /* Exit when not in pedantic mode without spacing. */\n if (\n !settings.pedantic &&\n queue.length === 0 &&\n character &&\n character !== C_NEWLINE\n ) {\n return;\n }\n\n if (silent) {\n return true;\n }\n\n /* Eat content. */\n subvalue += queue;\n queue = '';\n content = '';\n\n while (++index < length) {\n character = value.charAt(index);\n\n if (!character || character === C_NEWLINE) {\n break;\n }\n\n if (\n character !== C_SPACE &&\n character !== C_TAB &&\n character !== C_HASH\n ) {\n content += queue + character;\n queue = '';\n continue;\n }\n\n while (character === C_SPACE || character === C_TAB) {\n queue += character;\n character = value.charAt(++index);\n }\n\n while (character === C_HASH) {\n queue += character;\n character = value.charAt(++index);\n }\n\n while (character === C_SPACE || character === C_TAB) {\n queue += character;\n character = value.charAt(++index);\n }\n\n index--;\n }\n\n now.column += subvalue.length;\n now.offset += subvalue.length;\n subvalue += content + queue;\n\n return eat(subvalue)({\n type: 'heading',\n depth: depth,\n children: self.tokenizeInline(content, now)\n });\n}\n","'use strict';\n\nmodule.exports = thematicBreak;\n\nvar C_NEWLINE = '\\n';\nvar C_TAB = '\\t';\nvar C_SPACE = ' ';\nvar C_ASTERISK = '*';\nvar C_UNDERSCORE = '_';\nvar C_DASH = '-';\n\nvar THEMATIC_BREAK_MARKER_COUNT = 3;\n\nfunction thematicBreak(eat, value, silent) {\n var index = -1;\n var length = value.length + 1;\n var subvalue = '';\n var character;\n var marker;\n var markerCount;\n var queue;\n\n while (++index < length) {\n character = value.charAt(index);\n\n if (character !== C_TAB && character !== C_SPACE) {\n break;\n }\n\n subvalue += character;\n }\n\n if (\n character !== C_ASTERISK &&\n character !== C_DASH &&\n character !== C_UNDERSCORE\n ) {\n return;\n }\n\n marker = character;\n subvalue += character;\n markerCount = 1;\n queue = '';\n\n while (++index < length) {\n character = value.charAt(index);\n\n if (character === marker) {\n markerCount++;\n subvalue += queue + marker;\n queue = '';\n } else if (character === C_SPACE) {\n queue += character;\n } else if (\n markerCount >= THEMATIC_BREAK_MARKER_COUNT &&\n (!character || character === C_NEWLINE)\n ) {\n subvalue += queue;\n\n if (silent) {\n return true;\n }\n\n return eat(subvalue)({type: 'thematicBreak'});\n } else {\n return;\n }\n }\n}\n","'use strict';\n\n/* eslint-disable max-params */\n\nvar trim = require('trim');\nvar repeat = require('repeat-string');\nvar decimal = require('is-decimal');\nvar getIndent = require('../util/get-indentation');\nvar removeIndent = require('../util/remove-indentation');\nvar interrupt = require('../util/interrupt');\n\nmodule.exports = list;\n\nvar C_ASTERISK = '*';\nvar C_UNDERSCORE = '_';\nvar C_PLUS = '+';\nvar C_DASH = '-';\nvar C_DOT = '.';\nvar C_SPACE = ' ';\nvar C_NEWLINE = '\\n';\nvar C_TAB = '\\t';\nvar C_PAREN_CLOSE = ')';\nvar C_X_LOWER = 'x';\n\nvar TAB_SIZE = 4;\nvar EXPRESSION_LOOSE_LIST_ITEM = /\\n\\n(?!\\s*$)/;\nvar EXPRESSION_TASK_ITEM = /^\\[([ \\t]|x|X)][ \\t]/;\nvar EXPRESSION_BULLET = /^([ \\t]*)([*+-]|\\d+[.)])( {1,4}(?! )| |\\t|$|(?=\\n))([^\\n]*)/;\nvar EXPRESSION_PEDANTIC_BULLET = /^([ \\t]*)([*+-]|\\d+[.)])([ \\t]+)/;\nvar EXPRESSION_INITIAL_INDENT = /^( {1,4}|\\t)?/gm;\n\n/* Map of characters which can be used to mark\n * list-items. */\nvar LIST_UNORDERED_MARKERS = {};\n\nLIST_UNORDERED_MARKERS[C_ASTERISK] = true;\nLIST_UNORDERED_MARKERS[C_PLUS] = true;\nLIST_UNORDERED_MARKERS[C_DASH] = true;\n\n/* Map of characters which can be used to mark\n * list-items after a digit. */\nvar LIST_ORDERED_MARKERS = {};\n\nLIST_ORDERED_MARKERS[C_DOT] = true;\n\n/* Map of characters which can be used to mark\n * list-items after a digit. */\nvar LIST_ORDERED_COMMONMARK_MARKERS = {};\n\nLIST_ORDERED_COMMONMARK_MARKERS[C_DOT] = true;\nLIST_ORDERED_COMMONMARK_MARKERS[C_PAREN_CLOSE] = true;\n\nfunction list(eat, value, silent) {\n var self = this;\n var commonmark = self.options.commonmark;\n var pedantic = self.options.pedantic;\n var tokenizers = self.blockTokenizers;\n var interuptors = self.interruptList;\n var markers;\n var index = 0;\n var length = value.length;\n var start = null;\n var size = 0;\n var queue;\n var ordered;\n var character;\n var marker;\n var nextIndex;\n var startIndex;\n var prefixed;\n var currentMarker;\n var content;\n var line;\n var prevEmpty;\n var empty;\n var items;\n var allLines;\n var emptyLines;\n var item;\n var enterTop;\n var exitBlockquote;\n var isLoose;\n var node;\n var now;\n var end;\n var indented;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character === C_TAB) {\n size += TAB_SIZE - (size % TAB_SIZE);\n } else if (character === C_SPACE) {\n size++;\n } else {\n break;\n }\n\n index++;\n }\n\n if (size >= TAB_SIZE) {\n return;\n }\n\n character = value.charAt(index);\n\n markers = commonmark ?\n LIST_ORDERED_COMMONMARK_MARKERS :\n LIST_ORDERED_MARKERS;\n\n if (LIST_UNORDERED_MARKERS[character] === true) {\n marker = character;\n ordered = false;\n } else {\n ordered = true;\n queue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (!decimal(character)) {\n break;\n }\n\n queue += character;\n index++;\n }\n\n character = value.charAt(index);\n\n if (!queue || markers[character] !== true) {\n return;\n }\n\n start = parseInt(queue, 10);\n marker = character;\n }\n\n character = value.charAt(++index);\n\n if (character !== C_SPACE && character !== C_TAB) {\n return;\n }\n\n if (silent) {\n return true;\n }\n\n index = 0;\n items = [];\n allLines = [];\n emptyLines = [];\n\n while (index < length) {\n nextIndex = value.indexOf(C_NEWLINE, index);\n startIndex = index;\n prefixed = false;\n indented = false;\n\n if (nextIndex === -1) {\n nextIndex = length;\n }\n\n end = index + TAB_SIZE;\n size = 0;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character === C_TAB) {\n size += TAB_SIZE - (size % TAB_SIZE);\n } else if (character === C_SPACE) {\n size++;\n } else {\n break;\n }\n\n index++;\n }\n\n if (size >= TAB_SIZE) {\n indented = true;\n }\n\n if (item && size >= item.indent) {\n indented = true;\n }\n\n character = value.charAt(index);\n currentMarker = null;\n\n if (!indented) {\n if (LIST_UNORDERED_MARKERS[character] === true) {\n currentMarker = character;\n index++;\n size++;\n } else {\n queue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (!decimal(character)) {\n break;\n }\n\n queue += character;\n index++;\n }\n\n character = value.charAt(index);\n index++;\n\n if (queue && markers[character] === true) {\n currentMarker = character;\n size += queue.length + 1;\n }\n }\n\n if (currentMarker) {\n character = value.charAt(index);\n\n if (character === C_TAB) {\n size += TAB_SIZE - (size % TAB_SIZE);\n index++;\n } else if (character === C_SPACE) {\n end = index + TAB_SIZE;\n\n while (index < end) {\n if (value.charAt(index) !== C_SPACE) {\n break;\n }\n\n index++;\n size++;\n }\n\n if (index === end && value.charAt(index) === C_SPACE) {\n index -= TAB_SIZE - 1;\n size -= TAB_SIZE - 1;\n }\n } else if (character !== C_NEWLINE && character !== '') {\n currentMarker = null;\n }\n }\n }\n\n if (currentMarker) {\n if (!pedantic && marker !== currentMarker) {\n break;\n }\n\n prefixed = true;\n } else {\n if (!commonmark && !indented && value.charAt(startIndex) === C_SPACE) {\n indented = true;\n } else if (commonmark && item) {\n indented = size >= item.indent || size > TAB_SIZE;\n }\n\n prefixed = false;\n index = startIndex;\n }\n\n line = value.slice(startIndex, nextIndex);\n content = startIndex === index ? line : value.slice(index, nextIndex);\n\n if (\n currentMarker === C_ASTERISK ||\n currentMarker === C_UNDERSCORE ||\n currentMarker === C_DASH\n ) {\n if (tokenizers.thematicBreak.call(self, eat, line, true)) {\n break;\n }\n }\n\n prevEmpty = empty;\n empty = !trim(content).length;\n\n if (indented && item) {\n item.value = item.value.concat(emptyLines, line);\n allLines = allLines.concat(emptyLines, line);\n emptyLines = [];\n } else if (prefixed) {\n if (emptyLines.length !== 0) {\n item.value.push('');\n item.trail = emptyLines.concat();\n }\n\n item = {\n value: [line],\n indent: size,\n trail: []\n };\n\n items.push(item);\n allLines = allLines.concat(emptyLines, line);\n emptyLines = [];\n } else if (empty) {\n if (prevEmpty) {\n break;\n }\n\n emptyLines.push(line);\n } else {\n if (prevEmpty) {\n break;\n }\n\n if (interrupt(interuptors, tokenizers, self, [eat, line, true])) {\n break;\n }\n\n item.value = item.value.concat(emptyLines, line);\n allLines = allLines.concat(emptyLines, line);\n emptyLines = [];\n }\n\n index = nextIndex + 1;\n }\n\n node = eat(allLines.join(C_NEWLINE)).reset({\n type: 'list',\n ordered: ordered,\n start: start,\n loose: null,\n children: []\n });\n\n enterTop = self.enterList();\n exitBlockquote = self.enterBlock();\n isLoose = false;\n index = -1;\n length = items.length;\n\n while (++index < length) {\n item = items[index].value.join(C_NEWLINE);\n now = eat.now();\n\n item = eat(item)(listItem(self, item, now), node);\n\n if (item.loose) {\n isLoose = true;\n }\n\n item = items[index].trail.join(C_NEWLINE);\n\n if (index !== length - 1) {\n item += C_NEWLINE;\n }\n\n eat(item);\n }\n\n enterTop();\n exitBlockquote();\n\n node.loose = isLoose;\n\n return node;\n}\n\nfunction listItem(ctx, value, position) {\n var offsets = ctx.offset;\n var fn = ctx.options.pedantic ? pedanticListItem : normalListItem;\n var checked = null;\n var task;\n var indent;\n\n value = fn.apply(null, arguments);\n\n if (ctx.options.gfm) {\n task = value.match(EXPRESSION_TASK_ITEM);\n\n if (task) {\n indent = task[0].length;\n checked = task[1].toLowerCase() === C_X_LOWER;\n offsets[position.line] += indent;\n value = value.slice(indent);\n }\n }\n\n return {\n type: 'listItem',\n loose: EXPRESSION_LOOSE_LIST_ITEM.test(value) ||\n value.charAt(value.length - 1) === C_NEWLINE,\n checked: checked,\n children: ctx.tokenizeBlock(value, position)\n };\n}\n\n/* Create a list-item using overly simple mechanics. */\nfunction pedanticListItem(ctx, value, position) {\n var offsets = ctx.offset;\n var line = position.line;\n\n /* Remove the list-item’s bullet. */\n value = value.replace(EXPRESSION_PEDANTIC_BULLET, replacer);\n\n /* The initial line was also matched by the below, so\n * we reset the `line`. */\n line = position.line;\n\n return value.replace(EXPRESSION_INITIAL_INDENT, replacer);\n\n /* A simple replacer which removed all matches,\n * and adds their length to `offset`. */\n function replacer($0) {\n offsets[line] = (offsets[line] || 0) + $0.length;\n line++;\n\n return '';\n }\n}\n\n/* Create a list-item using sane mechanics. */\nfunction normalListItem(ctx, value, position) {\n var offsets = ctx.offset;\n var line = position.line;\n var max;\n var bullet;\n var rest;\n var lines;\n var trimmedLines;\n var index;\n var length;\n\n /* Remove the list-item’s bullet. */\n value = value.replace(EXPRESSION_BULLET, replacer);\n\n lines = value.split(C_NEWLINE);\n\n trimmedLines = removeIndent(value, getIndent(max).indent).split(C_NEWLINE);\n\n /* We replaced the initial bullet with something\n * else above, which was used to trick\n * `removeIndentation` into removing some more\n * characters when possible. However, that could\n * result in the initial line to be stripped more\n * than it should be. */\n trimmedLines[0] = rest;\n\n offsets[line] = (offsets[line] || 0) + bullet.length;\n line++;\n\n index = 0;\n length = lines.length;\n\n while (++index < length) {\n offsets[line] = (offsets[line] || 0) +\n lines[index].length - trimmedLines[index].length;\n line++;\n }\n\n return trimmedLines.join(C_NEWLINE);\n\n function replacer($0, $1, $2, $3, $4) {\n bullet = $1 + $2 + $3;\n rest = $4;\n\n /* Make sure that the first nine numbered list items\n * can indent with an extra space. That is, when\n * the bullet did not receive an extra final space. */\n if (Number($2) < 10 && bullet.length % 2 === 1) {\n $2 = C_SPACE + $2;\n }\n\n max = $1 + repeat(C_SPACE, $2.length) + $3;\n\n return max + rest;\n }\n}\n","'use strict';\n\nvar trim = require('trim');\nvar repeat = require('repeat-string');\nvar getIndent = require('./get-indentation');\n\nmodule.exports = indentation;\n\nvar C_SPACE = ' ';\nvar C_NEWLINE = '\\n';\nvar C_TAB = '\\t';\n\n/* Remove the minimum indent from every line in `value`.\n * Supports both tab, spaced, and mixed indentation (as\n * well as possible). */\nfunction indentation(value, maximum) {\n var values = value.split(C_NEWLINE);\n var position = values.length + 1;\n var minIndent = Infinity;\n var matrix = [];\n var index;\n var indentation;\n var stops;\n var padding;\n\n values.unshift(repeat(C_SPACE, maximum) + '!');\n\n while (position--) {\n indentation = getIndent(values[position]);\n\n matrix[position] = indentation.stops;\n\n if (trim(values[position]).length === 0) {\n continue;\n }\n\n if (indentation.indent) {\n if (indentation.indent > 0 && indentation.indent < minIndent) {\n minIndent = indentation.indent;\n }\n } else {\n minIndent = Infinity;\n\n break;\n }\n }\n\n if (minIndent !== Infinity) {\n position = values.length;\n\n while (position--) {\n stops = matrix[position];\n index = minIndent;\n\n while (index && !(index in stops)) {\n index--;\n }\n\n if (\n trim(values[position]).length !== 0 &&\n minIndent &&\n index !== minIndent\n ) {\n padding = C_TAB;\n } else {\n padding = '';\n }\n\n values[position] = padding + values[position].slice(\n index in stops ? stops[index] + 1 : 0\n );\n }\n }\n\n values.shift();\n\n return values.join(C_NEWLINE);\n}\n","'use strict';\n\nmodule.exports = setextHeading;\n\nvar C_NEWLINE = '\\n';\nvar C_TAB = '\\t';\nvar C_SPACE = ' ';\nvar C_EQUALS = '=';\nvar C_DASH = '-';\n\nvar MAX_HEADING_INDENT = 3;\n\n/* Map of characters which can be used to mark setext\n * headers, mapping to their corresponding depth. */\nvar SETEXT_MARKERS = {};\n\nSETEXT_MARKERS[C_EQUALS] = 1;\nSETEXT_MARKERS[C_DASH] = 2;\n\nfunction setextHeading(eat, value, silent) {\n var self = this;\n var now = eat.now();\n var length = value.length;\n var index = -1;\n var subvalue = '';\n var content;\n var queue;\n var character;\n var marker;\n var depth;\n\n /* Eat initial indentation. */\n while (++index < length) {\n character = value.charAt(index);\n\n if (character !== C_SPACE || index >= MAX_HEADING_INDENT) {\n index--;\n break;\n }\n\n subvalue += character;\n }\n\n /* Eat content. */\n content = '';\n queue = '';\n\n while (++index < length) {\n character = value.charAt(index);\n\n if (character === C_NEWLINE) {\n index--;\n break;\n }\n\n if (character === C_SPACE || character === C_TAB) {\n queue += character;\n } else {\n content += queue + character;\n queue = '';\n }\n }\n\n now.column += subvalue.length;\n now.offset += subvalue.length;\n subvalue += content + queue;\n\n /* Ensure the content is followed by a newline and a\n * valid marker. */\n character = value.charAt(++index);\n marker = value.charAt(++index);\n\n if (character !== C_NEWLINE || !SETEXT_MARKERS[marker]) {\n return;\n }\n\n subvalue += character;\n\n /* Eat Setext-line. */\n queue = marker;\n depth = SETEXT_MARKERS[marker];\n\n while (++index < length) {\n character = value.charAt(index);\n\n if (character !== marker) {\n if (character !== C_NEWLINE) {\n return;\n }\n\n index--;\n break;\n }\n\n queue += character;\n }\n\n if (silent) {\n return true;\n }\n\n return eat(subvalue + queue)({\n type: 'heading',\n depth: depth,\n children: self.tokenizeInline(content, now)\n });\n}\n","'use strict';\n\nvar openCloseTag = require('../util/html').openCloseTag;\n\nmodule.exports = blockHTML;\n\nvar C_TAB = '\\t';\nvar C_SPACE = ' ';\nvar C_NEWLINE = '\\n';\nvar C_LT = '<';\n\nfunction blockHTML(eat, value, silent) {\n var self = this;\n var blocks = self.options.blocks;\n var length = value.length;\n var index = 0;\n var next;\n var line;\n var offset;\n var character;\n var count;\n var sequence;\n var subvalue;\n\n var sequences = [\n [/^<(script|pre|style)(?=(\\s|>|$))/i, /<\\/(script|pre|style)>/i, true],\n [/^<!--/, /-->/, true],\n [/^<\\?/, /\\?>/, true],\n [/^<![A-Za-z]/, />/, true],\n [/^<!\\[CDATA\\[/, /\\]\\]>/, true],\n [new RegExp('^</?(' + blocks.join('|') + ')(?=(\\\\s|/?>|$))', 'i'), /^$/, true],\n [new RegExp(openCloseTag.source + '\\\\s*$'), /^$/, false]\n ];\n\n /* Eat initial spacing. */\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== C_TAB && character !== C_SPACE) {\n break;\n }\n\n index++;\n }\n\n if (value.charAt(index) !== C_LT) {\n return;\n }\n\n next = value.indexOf(C_NEWLINE, index + 1);\n next = next === -1 ? length : next;\n line = value.slice(index, next);\n offset = -1;\n count = sequences.length;\n\n while (++offset < count) {\n if (sequences[offset][0].test(line)) {\n sequence = sequences[offset];\n break;\n }\n }\n\n if (!sequence) {\n return;\n }\n\n if (silent) {\n return sequence[2];\n }\n\n index = next;\n\n if (!sequence[1].test(line)) {\n while (index < length) {\n next = value.indexOf(C_NEWLINE, index + 1);\n next = next === -1 ? length : next;\n line = value.slice(index + 1, next);\n\n if (sequence[1].test(line)) {\n if (line) {\n index = next;\n }\n\n break;\n }\n\n index = next;\n }\n }\n\n subvalue = value.slice(0, index);\n\n return eat(subvalue)({type: 'html', value: subvalue});\n}\n","'use strict';\n\nvar whitespace = require('is-whitespace-character');\nvar normalize = require('../util/normalize');\n\nmodule.exports = footnoteDefinition;\nfootnoteDefinition.notInList = true;\nfootnoteDefinition.notInBlock = true;\n\nvar C_BACKSLASH = '\\\\';\nvar C_NEWLINE = '\\n';\nvar C_TAB = '\\t';\nvar C_SPACE = ' ';\nvar C_BRACKET_OPEN = '[';\nvar C_BRACKET_CLOSE = ']';\nvar C_CARET = '^';\nvar C_COLON = ':';\n\nvar EXPRESSION_INITIAL_TAB = /^( {4}|\\t)?/gm;\n\nfunction footnoteDefinition(eat, value, silent) {\n var self = this;\n var offsets = self.offset;\n var index;\n var length;\n var subvalue;\n var now;\n var currentLine;\n var content;\n var queue;\n var subqueue;\n var character;\n var identifier;\n var add;\n var exit;\n\n if (!self.options.footnotes) {\n return;\n }\n\n index = 0;\n length = value.length;\n subvalue = '';\n now = eat.now();\n currentLine = now.line;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (!whitespace(character)) {\n break;\n }\n\n subvalue += character;\n index++;\n }\n\n if (\n value.charAt(index) !== C_BRACKET_OPEN ||\n value.charAt(index + 1) !== C_CARET\n ) {\n return;\n }\n\n subvalue += C_BRACKET_OPEN + C_CARET;\n index = subvalue.length;\n queue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character === C_BRACKET_CLOSE) {\n break;\n } else if (character === C_BACKSLASH) {\n queue += character;\n index++;\n character = value.charAt(index);\n }\n\n queue += character;\n index++;\n }\n\n if (\n !queue ||\n value.charAt(index) !== C_BRACKET_CLOSE ||\n value.charAt(index + 1) !== C_COLON\n ) {\n return;\n }\n\n if (silent) {\n return true;\n }\n\n identifier = normalize(queue);\n subvalue += queue + C_BRACKET_CLOSE + C_COLON;\n index = subvalue.length;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== C_TAB && character !== C_SPACE) {\n break;\n }\n\n subvalue += character;\n index++;\n }\n\n now.column += subvalue.length;\n now.offset += subvalue.length;\n queue = '';\n content = '';\n subqueue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character === C_NEWLINE) {\n subqueue = character;\n index++;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== C_NEWLINE) {\n break;\n }\n\n subqueue += character;\n index++;\n }\n\n queue += subqueue;\n subqueue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== C_SPACE) {\n break;\n }\n\n subqueue += character;\n index++;\n }\n\n if (subqueue.length === 0) {\n break;\n }\n\n queue += subqueue;\n }\n\n if (queue) {\n content += queue;\n queue = '';\n }\n\n content += character;\n index++;\n }\n\n subvalue += content;\n\n content = content.replace(EXPRESSION_INITIAL_TAB, function (line) {\n offsets[currentLine] = (offsets[currentLine] || 0) + line.length;\n currentLine++;\n\n return '';\n });\n\n add = eat(subvalue);\n\n exit = self.enterBlock();\n content = self.tokenizeBlock(content, now);\n exit();\n\n return add({\n type: 'footnoteDefinition',\n identifier: identifier,\n children: content\n });\n}\n","'use strict'\n\nmodule.exports = collapse\n\n// `collapse(' \\t\\nbar \\nbaz\\t') // ' bar baz '`\nfunction collapse(value) {\n return String(value).replace(/\\s+/g, ' ')\n}\n","'use strict';\n\nvar whitespace = require('is-whitespace-character');\nvar normalize = require('../util/normalize');\n\nmodule.exports = definition;\ndefinition.notInList = true;\ndefinition.notInBlock = true;\n\nvar C_DOUBLE_QUOTE = '\"';\nvar C_SINGLE_QUOTE = '\\'';\nvar C_BACKSLASH = '\\\\';\nvar C_NEWLINE = '\\n';\nvar C_TAB = '\\t';\nvar C_SPACE = ' ';\nvar C_BRACKET_OPEN = '[';\nvar C_BRACKET_CLOSE = ']';\nvar C_PAREN_OPEN = '(';\nvar C_PAREN_CLOSE = ')';\nvar C_COLON = ':';\nvar C_LT = '<';\nvar C_GT = '>';\n\nfunction definition(eat, value, silent) {\n var self = this;\n var commonmark = self.options.commonmark;\n var index = 0;\n var length = value.length;\n var subvalue = '';\n var beforeURL;\n var beforeTitle;\n var queue;\n var character;\n var test;\n var identifier;\n var url;\n var title;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== C_SPACE && character !== C_TAB) {\n break;\n }\n\n subvalue += character;\n index++;\n }\n\n character = value.charAt(index);\n\n if (character !== C_BRACKET_OPEN) {\n return;\n }\n\n index++;\n subvalue += character;\n queue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character === C_BRACKET_CLOSE) {\n break;\n } else if (character === C_BACKSLASH) {\n queue += character;\n index++;\n character = value.charAt(index);\n }\n\n queue += character;\n index++;\n }\n\n if (\n !queue ||\n value.charAt(index) !== C_BRACKET_CLOSE ||\n value.charAt(index + 1) !== C_COLON\n ) {\n return;\n }\n\n identifier = queue;\n subvalue += queue + C_BRACKET_CLOSE + C_COLON;\n index = subvalue.length;\n queue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (\n character !== C_TAB &&\n character !== C_SPACE &&\n character !== C_NEWLINE\n ) {\n break;\n }\n\n subvalue += character;\n index++;\n }\n\n character = value.charAt(index);\n queue = '';\n beforeURL = subvalue;\n\n if (character === C_LT) {\n index++;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (!isEnclosedURLCharacter(character)) {\n break;\n }\n\n queue += character;\n index++;\n }\n\n character = value.charAt(index);\n\n if (character === isEnclosedURLCharacter.delimiter) {\n subvalue += C_LT + queue + character;\n index++;\n } else {\n if (commonmark) {\n return;\n }\n\n index -= queue.length + 1;\n queue = '';\n }\n }\n\n if (!queue) {\n while (index < length) {\n character = value.charAt(index);\n\n if (!isUnclosedURLCharacter(character)) {\n break;\n }\n\n queue += character;\n index++;\n }\n\n subvalue += queue;\n }\n\n if (!queue) {\n return;\n }\n\n url = queue;\n queue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (\n character !== C_TAB &&\n character !== C_SPACE &&\n character !== C_NEWLINE\n ) {\n break;\n }\n\n queue += character;\n index++;\n }\n\n character = value.charAt(index);\n test = null;\n\n if (character === C_DOUBLE_QUOTE) {\n test = C_DOUBLE_QUOTE;\n } else if (character === C_SINGLE_QUOTE) {\n test = C_SINGLE_QUOTE;\n } else if (character === C_PAREN_OPEN) {\n test = C_PAREN_CLOSE;\n }\n\n if (!test) {\n queue = '';\n index = subvalue.length;\n } else if (queue) {\n subvalue += queue + character;\n index = subvalue.length;\n queue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character === test) {\n break;\n }\n\n if (character === C_NEWLINE) {\n index++;\n character = value.charAt(index);\n\n if (character === C_NEWLINE || character === test) {\n return;\n }\n\n queue += C_NEWLINE;\n }\n\n queue += character;\n index++;\n }\n\n character = value.charAt(index);\n\n if (character !== test) {\n return;\n }\n\n beforeTitle = subvalue;\n subvalue += queue + character;\n index++;\n title = queue;\n queue = '';\n } else {\n return;\n }\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character !== C_TAB && character !== C_SPACE) {\n break;\n }\n\n subvalue += character;\n index++;\n }\n\n character = value.charAt(index);\n\n if (!character || character === C_NEWLINE) {\n if (silent) {\n return true;\n }\n\n beforeURL = eat(beforeURL).test().end;\n url = self.decode.raw(self.unescape(url), beforeURL, {nonTerminated: false});\n\n if (title) {\n beforeTitle = eat(beforeTitle).test().end;\n title = self.decode.raw(self.unescape(title), beforeTitle);\n }\n\n return eat(subvalue)({\n type: 'definition',\n identifier: normalize(identifier),\n title: title || null,\n url: url\n });\n }\n}\n\n/* Check if `character` can be inside an enclosed URI. */\nfunction isEnclosedURLCharacter(character) {\n return character !== C_GT &&\n character !== C_BRACKET_OPEN &&\n character !== C_BRACKET_CLOSE;\n}\n\nisEnclosedURLCharacter.delimiter = C_GT;\n\n/* Check if `character` can be inside an unclosed URI. */\nfunction isUnclosedURLCharacter(character) {\n return character !== C_BRACKET_OPEN &&\n character !== C_BRACKET_CLOSE &&\n !whitespace(character);\n}\n","'use strict';\n\nvar whitespace = require('is-whitespace-character');\n\nmodule.exports = table;\n\nvar C_BACKSLASH = '\\\\';\nvar C_TICK = '`';\nvar C_DASH = '-';\nvar C_PIPE = '|';\nvar C_COLON = ':';\nvar C_SPACE = ' ';\nvar C_NEWLINE = '\\n';\nvar C_TAB = '\\t';\n\nvar MIN_TABLE_COLUMNS = 1;\nvar MIN_TABLE_ROWS = 2;\n\nvar TABLE_ALIGN_LEFT = 'left';\nvar TABLE_ALIGN_CENTER = 'center';\nvar TABLE_ALIGN_RIGHT = 'right';\nvar TABLE_ALIGN_NONE = null;\n\nfunction table(eat, value, silent) {\n var self = this;\n var index;\n var alignments;\n var alignment;\n var subvalue;\n var row;\n var length;\n var lines;\n var queue;\n var character;\n var hasDash;\n var align;\n var cell;\n var preamble;\n var count;\n var opening;\n var now;\n var position;\n var lineCount;\n var line;\n var rows;\n var table;\n var lineIndex;\n var pipeIndex;\n var first;\n\n /* Exit when not in gfm-mode. */\n if (!self.options.gfm) {\n return;\n }\n\n /* Get the rows.\n * Detecting tables soon is hard, so there are some\n * checks for performance here, such as the minimum\n * number of rows, and allowed characters in the\n * alignment row. */\n index = 0;\n lineCount = 0;\n length = value.length + 1;\n lines = [];\n\n while (index < length) {\n lineIndex = value.indexOf(C_NEWLINE, index);\n pipeIndex = value.indexOf(C_PIPE, index + 1);\n\n if (lineIndex === -1) {\n lineIndex = value.length;\n }\n\n if (pipeIndex === -1 || pipeIndex > lineIndex) {\n if (lineCount < MIN_TABLE_ROWS) {\n return;\n }\n\n break;\n }\n\n lines.push(value.slice(index, lineIndex));\n lineCount++;\n index = lineIndex + 1;\n }\n\n /* Parse the alignment row. */\n subvalue = lines.join(C_NEWLINE);\n alignments = lines.splice(1, 1)[0] || [];\n index = 0;\n length = alignments.length;\n lineCount--;\n alignment = false;\n align = [];\n\n while (index < length) {\n character = alignments.charAt(index);\n\n if (character === C_PIPE) {\n hasDash = null;\n\n if (alignment === false) {\n if (first === false) {\n return;\n }\n } else {\n align.push(alignment);\n alignment = false;\n }\n\n first = false;\n } else if (character === C_DASH) {\n hasDash = true;\n alignment = alignment || TABLE_ALIGN_NONE;\n } else if (character === C_COLON) {\n if (alignment === TABLE_ALIGN_LEFT) {\n alignment = TABLE_ALIGN_CENTER;\n } else if (hasDash && alignment === TABLE_ALIGN_NONE) {\n alignment = TABLE_ALIGN_RIGHT;\n } else {\n alignment = TABLE_ALIGN_LEFT;\n }\n } else if (!whitespace(character)) {\n return;\n }\n\n index++;\n }\n\n if (alignment !== false) {\n align.push(alignment);\n }\n\n /* Exit when without enough columns. */\n if (align.length < MIN_TABLE_COLUMNS) {\n return;\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n /* Parse the rows. */\n position = -1;\n rows = [];\n\n table = eat(subvalue).reset({\n type: 'table',\n align: align,\n children: rows\n });\n\n while (++position < lineCount) {\n line = lines[position];\n row = {type: 'tableRow', children: []};\n\n /* Eat a newline character when this is not the\n * first row. */\n if (position) {\n eat(C_NEWLINE);\n }\n\n /* Eat the row. */\n eat(line).reset(row, table);\n\n length = line.length + 1;\n index = 0;\n queue = '';\n cell = '';\n preamble = true;\n count = null;\n opening = null;\n\n while (index < length) {\n character = line.charAt(index);\n\n if (character === C_TAB || character === C_SPACE) {\n if (cell) {\n queue += character;\n } else {\n eat(character);\n }\n\n index++;\n continue;\n }\n\n if (character === '' || character === C_PIPE) {\n if (preamble) {\n eat(character);\n } else {\n if (character && opening) {\n queue += character;\n index++;\n continue;\n }\n\n if ((cell || character) && !preamble) {\n subvalue = cell;\n\n if (queue.length > 1) {\n if (character) {\n subvalue += queue.slice(0, queue.length - 1);\n queue = queue.charAt(queue.length - 1);\n } else {\n subvalue += queue;\n queue = '';\n }\n }\n\n now = eat.now();\n\n eat(subvalue)({\n type: 'tableCell',\n children: self.tokenizeInline(cell, now)\n }, row);\n }\n\n eat(queue + character);\n\n queue = '';\n cell = '';\n }\n } else {\n if (queue) {\n cell += queue;\n queue = '';\n }\n\n cell += character;\n\n if (character === C_BACKSLASH && index !== length - 2) {\n cell += line.charAt(index + 1);\n index++;\n }\n\n if (character === C_TICK) {\n count = 1;\n\n while (line.charAt(index + 1) === character) {\n cell += character;\n index++;\n count++;\n }\n\n if (!opening) {\n opening = count;\n } else if (count >= opening) {\n opening = 0;\n }\n }\n }\n\n preamble = false;\n index++;\n }\n\n /* Eat the alignment row. */\n if (!position) {\n eat(C_NEWLINE + alignments);\n }\n }\n\n return table;\n}\n","'use strict';\n\nvar trim = require('trim');\nvar decimal = require('is-decimal');\nvar trimTrailingLines = require('trim-trailing-lines');\nvar interrupt = require('../util/interrupt');\n\nmodule.exports = paragraph;\n\nvar C_NEWLINE = '\\n';\nvar C_TAB = '\\t';\nvar C_SPACE = ' ';\n\nvar TAB_SIZE = 4;\n\n/* Tokenise paragraph. */\nfunction paragraph(eat, value, silent) {\n var self = this;\n var settings = self.options;\n var commonmark = settings.commonmark;\n var gfm = settings.gfm;\n var tokenizers = self.blockTokenizers;\n var interruptors = self.interruptParagraph;\n var index = value.indexOf(C_NEWLINE);\n var length = value.length;\n var position;\n var subvalue;\n var character;\n var size;\n var now;\n\n while (index < length) {\n /* Eat everything if there’s no following newline. */\n if (index === -1) {\n index = length;\n break;\n }\n\n /* Stop if the next character is NEWLINE. */\n if (value.charAt(index + 1) === C_NEWLINE) {\n break;\n }\n\n /* In commonmark-mode, following indented lines\n * are part of the paragraph. */\n if (commonmark) {\n size = 0;\n position = index + 1;\n\n while (position < length) {\n character = value.charAt(position);\n\n if (character === C_TAB) {\n size = TAB_SIZE;\n break;\n } else if (character === C_SPACE) {\n size++;\n } else {\n break;\n }\n\n position++;\n }\n\n if (size >= TAB_SIZE) {\n index = value.indexOf(C_NEWLINE, index + 1);\n continue;\n }\n }\n\n subvalue = value.slice(index + 1);\n\n /* Check if the following code contains a possible\n * block. */\n if (interrupt(interruptors, tokenizers, self, [eat, subvalue, true])) {\n break;\n }\n\n /* Break if the following line starts a list, when\n * already in a list, or when in commonmark, or when\n * in gfm mode and the bullet is *not* numeric. */\n if (\n tokenizers.list.call(self, eat, subvalue, true) &&\n (\n self.inList ||\n commonmark ||\n (gfm && !decimal(trim.left(subvalue).charAt(0)))\n )\n ) {\n break;\n }\n\n position = index;\n index = value.indexOf(C_NEWLINE, index + 1);\n\n if (index !== -1 && trim(value.slice(position, index)) === '') {\n index = position;\n break;\n }\n }\n\n subvalue = value.slice(0, index);\n\n if (trim(subvalue) === '') {\n eat(subvalue);\n\n return null;\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n now = eat.now();\n subvalue = trimTrailingLines(subvalue);\n\n return eat(subvalue)({\n type: 'paragraph',\n children: self.tokenizeInline(subvalue, now)\n });\n}\n","'use strict';\n\nvar locate = require('../locate/escape');\n\nmodule.exports = escape;\nescape.locator = locate;\n\nfunction escape(eat, value, silent) {\n var self = this;\n var character;\n var node;\n\n if (value.charAt(0) === '\\\\') {\n character = value.charAt(1);\n\n if (self.escape.indexOf(character) !== -1) {\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n if (character === '\\n') {\n node = {type: 'break'};\n } else {\n node = {\n type: 'text',\n value: character\n };\n }\n\n return eat('\\\\' + character)(node);\n }\n }\n}\n","'use strict';\n\nmodule.exports = locate;\n\nfunction locate(value, fromIndex) {\n return value.indexOf('\\\\', fromIndex);\n}\n","'use strict';\n\nvar whitespace = require('is-whitespace-character');\nvar decode = require('parse-entities');\nvar locate = require('../locate/tag');\n\nmodule.exports = autoLink;\nautoLink.locator = locate;\nautoLink.notInLink = true;\n\nvar C_LT = '<';\nvar C_GT = '>';\nvar C_AT_SIGN = '@';\nvar C_SLASH = '/';\nvar MAILTO = 'mailto:';\nvar MAILTO_LENGTH = MAILTO.length;\n\n/* Tokenise a link. */\nfunction autoLink(eat, value, silent) {\n var self;\n var subvalue;\n var length;\n var index;\n var queue;\n var character;\n var hasAtCharacter;\n var link;\n var now;\n var content;\n var tokenizers;\n var exit;\n\n if (value.charAt(0) !== C_LT) {\n return;\n }\n\n self = this;\n subvalue = '';\n length = value.length;\n index = 0;\n queue = '';\n hasAtCharacter = false;\n link = '';\n\n index++;\n subvalue = C_LT;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (\n whitespace(character) ||\n character === C_GT ||\n character === C_AT_SIGN ||\n (character === ':' && value.charAt(index + 1) === C_SLASH)\n ) {\n break;\n }\n\n queue += character;\n index++;\n }\n\n if (!queue) {\n return;\n }\n\n link += queue;\n queue = '';\n\n character = value.charAt(index);\n link += character;\n index++;\n\n if (character === C_AT_SIGN) {\n hasAtCharacter = true;\n } else {\n if (\n character !== ':' ||\n value.charAt(index + 1) !== C_SLASH\n ) {\n return;\n }\n\n link += C_SLASH;\n index++;\n }\n\n while (index < length) {\n character = value.charAt(index);\n\n if (whitespace(character) || character === C_GT) {\n break;\n }\n\n queue += character;\n index++;\n }\n\n character = value.charAt(index);\n\n if (!queue || character !== C_GT) {\n return;\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n link += queue;\n content = link;\n subvalue += link + character;\n now = eat.now();\n now.column++;\n now.offset++;\n\n if (hasAtCharacter) {\n if (link.slice(0, MAILTO_LENGTH).toLowerCase() === MAILTO) {\n content = content.substr(MAILTO_LENGTH);\n now.column += MAILTO_LENGTH;\n now.offset += MAILTO_LENGTH;\n } else {\n link = MAILTO + link;\n }\n }\n\n /* Temporarily remove all tokenizers except text in autolinks. */\n tokenizers = self.inlineTokenizers;\n self.inlineTokenizers = {text: tokenizers.text};\n\n exit = self.enterLink();\n\n content = self.tokenizeInline(content, now);\n\n self.inlineTokenizers = tokenizers;\n exit();\n\n return eat(subvalue)({\n type: 'link',\n title: null,\n url: decode(link, {nonTerminated: false}),\n children: content\n });\n}\n","'use strict';\n\nvar decode = require('parse-entities');\nvar whitespace = require('is-whitespace-character');\nvar locate = require('../locate/url');\n\nmodule.exports = url;\nurl.locator = locate;\nurl.notInLink = true;\n\nvar C_BRACKET_OPEN = '[';\nvar C_BRACKET_CLOSE = ']';\nvar C_PAREN_OPEN = '(';\nvar C_PAREN_CLOSE = ')';\nvar C_LT = '<';\nvar C_AT_SIGN = '@';\n\nvar HTTP_PROTOCOL = 'http://';\nvar HTTPS_PROTOCOL = 'https://';\nvar MAILTO_PROTOCOL = 'mailto:';\n\nvar PROTOCOLS = [\n HTTP_PROTOCOL,\n HTTPS_PROTOCOL,\n MAILTO_PROTOCOL\n];\n\nvar PROTOCOLS_LENGTH = PROTOCOLS.length;\n\nfunction url(eat, value, silent) {\n var self = this;\n var subvalue;\n var content;\n var character;\n var index;\n var position;\n var protocol;\n var match;\n var length;\n var queue;\n var parenCount;\n var nextCharacter;\n var exit;\n\n if (!self.options.gfm) {\n return;\n }\n\n subvalue = '';\n index = -1;\n length = PROTOCOLS_LENGTH;\n\n while (++index < length) {\n protocol = PROTOCOLS[index];\n match = value.slice(0, protocol.length);\n\n if (match.toLowerCase() === protocol) {\n subvalue = match;\n break;\n }\n }\n\n if (!subvalue) {\n return;\n }\n\n index = subvalue.length;\n length = value.length;\n queue = '';\n parenCount = 0;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (whitespace(character) || character === C_LT) {\n break;\n }\n\n if (\n character === '.' ||\n character === ',' ||\n character === ':' ||\n character === ';' ||\n character === '\"' ||\n character === '\\'' ||\n character === ')' ||\n character === ']'\n ) {\n nextCharacter = value.charAt(index + 1);\n\n if (!nextCharacter || whitespace(nextCharacter)) {\n break;\n }\n }\n\n if (character === C_PAREN_OPEN || character === C_BRACKET_OPEN) {\n parenCount++;\n }\n\n if (character === C_PAREN_CLOSE || character === C_BRACKET_CLOSE) {\n parenCount--;\n\n if (parenCount < 0) {\n break;\n }\n }\n\n queue += character;\n index++;\n }\n\n if (!queue) {\n return;\n }\n\n subvalue += queue;\n content = subvalue;\n\n if (protocol === MAILTO_PROTOCOL) {\n position = queue.indexOf(C_AT_SIGN);\n\n if (position === -1 || position === length - 1) {\n return;\n }\n\n content = content.substr(MAILTO_PROTOCOL.length);\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n exit = self.enterLink();\n content = self.tokenizeInline(content, eat.now());\n exit();\n\n return eat(subvalue)({\n type: 'link',\n title: null,\n url: decode(subvalue, {nonTerminated: false}),\n children: content\n });\n}\n","'use strict';\n\nmodule.exports = locate;\n\nvar PROTOCOLS = ['https://', 'http://', 'mailto:'];\n\nfunction locate(value, fromIndex) {\n var length = PROTOCOLS.length;\n var index = -1;\n var min = -1;\n var position;\n\n if (!this.options.gfm) {\n return -1;\n }\n\n while (++index < length) {\n position = value.indexOf(PROTOCOLS[index], fromIndex);\n\n if (position !== -1 && (position < min || min === -1)) {\n min = position;\n }\n }\n\n return min;\n}\n","'use strict';\n\nvar alphabetical = require('is-alphabetical');\nvar locate = require('../locate/tag');\nvar tag = require('../util/html').tag;\n\nmodule.exports = inlineHTML;\ninlineHTML.locator = locate;\n\nvar EXPRESSION_HTML_LINK_OPEN = /^<a /i;\nvar EXPRESSION_HTML_LINK_CLOSE = /^<\\/a>/i;\n\nfunction inlineHTML(eat, value, silent) {\n var self = this;\n var length = value.length;\n var character;\n var subvalue;\n\n if (value.charAt(0) !== '<' || length < 3) {\n return;\n }\n\n character = value.charAt(1);\n\n if (\n !alphabetical(character) &&\n character !== '?' &&\n character !== '!' &&\n character !== '/'\n ) {\n return;\n }\n\n subvalue = value.match(tag);\n\n if (!subvalue) {\n return;\n }\n\n /* istanbul ignore if - not used yet. */\n if (silent) {\n return true;\n }\n\n subvalue = subvalue[0];\n\n if (!self.inLink && EXPRESSION_HTML_LINK_OPEN.test(subvalue)) {\n self.inLink = true;\n } else if (self.inLink && EXPRESSION_HTML_LINK_CLOSE.test(subvalue)) {\n self.inLink = false;\n }\n\n return eat(subvalue)({type: 'html', value: subvalue});\n}\n","'use strict';\n\nvar whitespace = require('is-whitespace-character');\nvar locate = require('../locate/link');\n\nmodule.exports = link;\nlink.locator = locate;\n\nvar own = {}.hasOwnProperty;\n\nvar C_BACKSLASH = '\\\\';\nvar C_BRACKET_OPEN = '[';\nvar C_BRACKET_CLOSE = ']';\nvar C_PAREN_OPEN = '(';\nvar C_PAREN_CLOSE = ')';\nvar C_LT = '<';\nvar C_GT = '>';\nvar C_TICK = '`';\nvar C_DOUBLE_QUOTE = '\"';\nvar C_SINGLE_QUOTE = '\\'';\n\n/* Map of characters, which can be used to mark link\n * and image titles. */\nvar LINK_MARKERS = {};\n\nLINK_MARKERS[C_DOUBLE_QUOTE] = C_DOUBLE_QUOTE;\nLINK_MARKERS[C_SINGLE_QUOTE] = C_SINGLE_QUOTE;\n\n/* Map of characters, which can be used to mark link\n * and image titles in commonmark-mode. */\nvar COMMONMARK_LINK_MARKERS = {};\n\nCOMMONMARK_LINK_MARKERS[C_DOUBLE_QUOTE] = C_DOUBLE_QUOTE;\nCOMMONMARK_LINK_MARKERS[C_SINGLE_QUOTE] = C_SINGLE_QUOTE;\nCOMMONMARK_LINK_MARKERS[C_PAREN_OPEN] = C_PAREN_CLOSE;\n\nfunction link(eat, value, silent) {\n var self = this;\n var subvalue = '';\n var index = 0;\n var character = value.charAt(0);\n var pedantic = self.options.pedantic;\n var commonmark = self.options.commonmark;\n var gfm = self.options.gfm;\n var closed;\n var count;\n var opening;\n var beforeURL;\n var beforeTitle;\n var subqueue;\n var hasMarker;\n var markers;\n var isImage;\n var content;\n var marker;\n var length;\n var title;\n var depth;\n var queue;\n var url;\n var now;\n var exit;\n var node;\n\n /* Detect whether this is an image. */\n if (character === '!') {\n isImage = true;\n subvalue = character;\n character = value.charAt(++index);\n }\n\n /* Eat the opening. */\n if (character !== C_BRACKET_OPEN) {\n return;\n }\n\n /* Exit when this is a link and we’re already inside\n * a link. */\n if (!isImage && self.inLink) {\n return;\n }\n\n subvalue += character;\n queue = '';\n index++;\n\n /* Eat the content. */\n length = value.length;\n now = eat.now();\n depth = 0;\n\n now.column += index;\n now.offset += index;\n\n while (index < length) {\n character = value.charAt(index);\n subqueue = character;\n\n if (character === C_TICK) {\n /* Inline-code in link content. */\n count = 1;\n\n while (value.charAt(index + 1) === C_TICK) {\n subqueue += character;\n index++;\n count++;\n }\n\n if (!opening) {\n opening = count;\n } else if (count >= opening) {\n opening = 0;\n }\n } else if (character === C_BACKSLASH) {\n /* Allow brackets to be escaped. */\n index++;\n subqueue += value.charAt(index);\n /* In GFM mode, brackets in code still count.\n * In all other modes, they don’t. This empty\n * block prevents the next statements are\n * entered. */\n } else if ((!opening || gfm) && character === C_BRACKET_OPEN) {\n depth++;\n } else if ((!opening || gfm) && character === C_BRACKET_CLOSE) {\n if (depth) {\n depth--;\n } else {\n /* Allow white-space between content and\n * url in GFM mode. */\n if (!pedantic) {\n while (index < length) {\n character = value.charAt(index + 1);\n\n if (!whitespace(character)) {\n break;\n }\n\n subqueue += character;\n index++;\n }\n }\n\n if (value.charAt(index + 1) !== C_PAREN_OPEN) {\n return;\n }\n\n subqueue += C_PAREN_OPEN;\n closed = true;\n index++;\n\n break;\n }\n }\n\n queue += subqueue;\n subqueue = '';\n index++;\n }\n\n /* Eat the content closing. */\n if (!closed) {\n return;\n }\n\n content = queue;\n subvalue += queue + subqueue;\n index++;\n\n /* Eat white-space. */\n while (index < length) {\n character = value.charAt(index);\n\n if (!whitespace(character)) {\n break;\n }\n\n subvalue += character;\n index++;\n }\n\n /* Eat the URL. */\n character = value.charAt(index);\n markers = commonmark ? COMMONMARK_LINK_MARKERS : LINK_MARKERS;\n queue = '';\n beforeURL = subvalue;\n\n if (character === C_LT) {\n index++;\n beforeURL += C_LT;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character === C_GT) {\n break;\n }\n\n if (commonmark && character === '\\n') {\n return;\n }\n\n queue += character;\n index++;\n }\n\n if (value.charAt(index) !== C_GT) {\n return;\n }\n\n subvalue += C_LT + queue + C_GT;\n url = queue;\n index++;\n } else {\n character = null;\n subqueue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (subqueue && own.call(markers, character)) {\n break;\n }\n\n if (whitespace(character)) {\n if (!pedantic) {\n break;\n }\n\n subqueue += character;\n } else {\n if (character === C_PAREN_OPEN) {\n depth++;\n } else if (character === C_PAREN_CLOSE) {\n if (depth === 0) {\n break;\n }\n\n depth--;\n }\n\n queue += subqueue;\n subqueue = '';\n\n if (character === C_BACKSLASH) {\n queue += C_BACKSLASH;\n character = value.charAt(++index);\n }\n\n queue += character;\n }\n\n index++;\n }\n\n subvalue += queue;\n url = queue;\n index = subvalue.length;\n }\n\n /* Eat white-space. */\n queue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (!whitespace(character)) {\n break;\n }\n\n queue += character;\n index++;\n }\n\n character = value.charAt(index);\n subvalue += queue;\n\n /* Eat the title. */\n if (queue && own.call(markers, character)) {\n index++;\n subvalue += character;\n queue = '';\n marker = markers[character];\n beforeTitle = subvalue;\n\n /* In commonmark-mode, things are pretty easy: the\n * marker cannot occur inside the title.\n *\n * Non-commonmark does, however, support nested\n * delimiters. */\n if (commonmark) {\n while (index < length) {\n character = value.charAt(index);\n\n if (character === marker) {\n break;\n }\n\n if (character === C_BACKSLASH) {\n queue += C_BACKSLASH;\n character = value.charAt(++index);\n }\n\n index++;\n queue += character;\n }\n\n character = value.charAt(index);\n\n if (character !== marker) {\n return;\n }\n\n title = queue;\n subvalue += queue + character;\n index++;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (!whitespace(character)) {\n break;\n }\n\n subvalue += character;\n index++;\n }\n } else {\n subqueue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character === marker) {\n if (hasMarker) {\n queue += marker + subqueue;\n subqueue = '';\n }\n\n hasMarker = true;\n } else if (!hasMarker) {\n queue += character;\n } else if (character === C_PAREN_CLOSE) {\n subvalue += queue + marker + subqueue;\n title = queue;\n break;\n } else if (whitespace(character)) {\n subqueue += character;\n } else {\n queue += marker + subqueue + character;\n subqueue = '';\n hasMarker = false;\n }\n\n index++;\n }\n }\n }\n\n if (value.charAt(index) !== C_PAREN_CLOSE) {\n return;\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n subvalue += C_PAREN_CLOSE;\n\n url = self.decode.raw(self.unescape(url), eat(beforeURL).test().end, {nonTerminated: false});\n\n if (title) {\n beforeTitle = eat(beforeTitle).test().end;\n title = self.decode.raw(self.unescape(title), beforeTitle);\n }\n\n node = {\n type: isImage ? 'image' : 'link',\n title: title || null,\n url: url\n };\n\n if (isImage) {\n node.alt = self.decode.raw(self.unescape(content), now) || null;\n } else {\n exit = self.enterLink();\n node.children = self.tokenizeInline(content, now);\n exit();\n }\n\n return eat(subvalue)(node);\n}\n","'use strict';\n\nvar whitespace = require('is-whitespace-character');\nvar locate = require('../locate/link');\nvar normalize = require('../util/normalize');\n\nmodule.exports = reference;\nreference.locator = locate;\n\nvar T_LINK = 'link';\nvar T_IMAGE = 'image';\nvar T_FOOTNOTE = 'footnote';\nvar REFERENCE_TYPE_SHORTCUT = 'shortcut';\nvar REFERENCE_TYPE_COLLAPSED = 'collapsed';\nvar REFERENCE_TYPE_FULL = 'full';\nvar C_CARET = '^';\nvar C_BACKSLASH = '\\\\';\nvar C_BRACKET_OPEN = '[';\nvar C_BRACKET_CLOSE = ']';\n\nfunction reference(eat, value, silent) {\n var self = this;\n var character = value.charAt(0);\n var index = 0;\n var length = value.length;\n var subvalue = '';\n var intro = '';\n var type = T_LINK;\n var referenceType = REFERENCE_TYPE_SHORTCUT;\n var content;\n var identifier;\n var now;\n var node;\n var exit;\n var queue;\n var bracketed;\n var depth;\n\n /* Check whether we’re eating an image. */\n if (character === '!') {\n type = T_IMAGE;\n intro = character;\n character = value.charAt(++index);\n }\n\n if (character !== C_BRACKET_OPEN) {\n return;\n }\n\n index++;\n intro += character;\n queue = '';\n\n /* Check whether we’re eating a footnote. */\n if (self.options.footnotes && value.charAt(index) === C_CARET) {\n /* Exit if `![^` is found, so the `!` will be seen as text after this,\n * and we’ll enter this function again when `[^` is found. */\n if (type === T_IMAGE) {\n return;\n }\n\n intro += C_CARET;\n index++;\n type = T_FOOTNOTE;\n }\n\n /* Eat the text. */\n depth = 0;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character === C_BRACKET_OPEN) {\n bracketed = true;\n depth++;\n } else if (character === C_BRACKET_CLOSE) {\n if (!depth) {\n break;\n }\n\n depth--;\n }\n\n if (character === C_BACKSLASH) {\n queue += C_BACKSLASH;\n character = value.charAt(++index);\n }\n\n queue += character;\n index++;\n }\n\n subvalue = queue;\n content = queue;\n character = value.charAt(index);\n\n if (character !== C_BRACKET_CLOSE) {\n return;\n }\n\n index++;\n subvalue += character;\n queue = '';\n\n while (index < length) {\n character = value.charAt(index);\n\n if (!whitespace(character)) {\n break;\n }\n\n queue += character;\n index++;\n }\n\n character = value.charAt(index);\n\n /* Inline footnotes cannot have an identifier. */\n if (type !== T_FOOTNOTE && character === C_BRACKET_OPEN) {\n identifier = '';\n queue += character;\n index++;\n\n while (index < length) {\n character = value.charAt(index);\n\n if (character === C_BRACKET_OPEN || character === C_BRACKET_CLOSE) {\n break;\n }\n\n if (character === C_BACKSLASH) {\n identifier += C_BACKSLASH;\n character = value.charAt(++index);\n }\n\n identifier += character;\n index++;\n }\n\n character = value.charAt(index);\n\n if (character === C_BRACKET_CLOSE) {\n referenceType = identifier ? REFERENCE_TYPE_FULL : REFERENCE_TYPE_COLLAPSED;\n queue += identifier + character;\n index++;\n } else {\n identifier = '';\n }\n\n subvalue += queue;\n queue = '';\n } else {\n if (!content) {\n return;\n }\n\n identifier = content;\n }\n\n /* Brackets cannot be inside the identifier. */\n if (referenceType !== REFERENCE_TYPE_FULL && bracketed) {\n return;\n }\n\n subvalue = intro + subvalue;\n\n if (type === T_LINK && self.inLink) {\n return null;\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n if (type === T_FOOTNOTE && content.indexOf(' ') !== -1) {\n return eat(subvalue)({\n type: 'footnote',\n children: this.tokenizeInline(content, eat.now())\n });\n }\n\n now = eat.now();\n now.column += intro.length;\n now.offset += intro.length;\n identifier = referenceType === REFERENCE_TYPE_FULL ? identifier : content;\n\n node = {\n type: type + 'Reference',\n identifier: normalize(identifier)\n };\n\n if (type === T_LINK || type === T_IMAGE) {\n node.referenceType = referenceType;\n }\n\n if (type === T_LINK) {\n exit = self.enterLink();\n node.children = self.tokenizeInline(content, now);\n exit();\n } else if (type === T_IMAGE) {\n node.alt = self.decode.raw(self.unescape(content), now) || null;\n }\n\n return eat(subvalue)(node);\n}\n","'use strict';\n\nvar trim = require('trim');\nvar whitespace = require('is-whitespace-character');\nvar locate = require('../locate/strong');\n\nmodule.exports = strong;\nstrong.locator = locate;\n\nvar C_ASTERISK = '*';\nvar C_UNDERSCORE = '_';\n\nfunction strong(eat, value, silent) {\n var self = this;\n var index = 0;\n var character = value.charAt(index);\n var now;\n var pedantic;\n var marker;\n var queue;\n var subvalue;\n var length;\n var prev;\n\n if (\n (character !== C_ASTERISK && character !== C_UNDERSCORE) ||\n value.charAt(++index) !== character\n ) {\n return;\n }\n\n pedantic = self.options.pedantic;\n marker = character;\n subvalue = marker + marker;\n length = value.length;\n index++;\n queue = '';\n character = '';\n\n if (pedantic && whitespace(value.charAt(index))) {\n return;\n }\n\n while (index < length) {\n prev = character;\n character = value.charAt(index);\n\n if (\n character === marker &&\n value.charAt(index + 1) === marker &&\n (!pedantic || !whitespace(prev))\n ) {\n character = value.charAt(index + 2);\n\n if (character !== marker) {\n if (!trim(queue)) {\n return;\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n now = eat.now();\n now.column += 2;\n now.offset += 2;\n\n return eat(subvalue + queue + subvalue)({\n type: 'strong',\n children: self.tokenizeInline(queue, now)\n });\n }\n }\n\n if (!pedantic && character === '\\\\') {\n queue += character;\n character = value.charAt(++index);\n }\n\n queue += character;\n index++;\n }\n}\n","'use strict';\n\nmodule.exports = locate;\n\nfunction locate(value, fromIndex) {\n var asterisk = value.indexOf('**', fromIndex);\n var underscore = value.indexOf('__', fromIndex);\n\n if (underscore === -1) {\n return asterisk;\n }\n\n if (asterisk === -1) {\n return underscore;\n }\n\n return underscore < asterisk ? underscore : asterisk;\n}\n","'use strict';\n\nvar trim = require('trim');\nvar word = require('is-word-character');\nvar whitespace = require('is-whitespace-character');\nvar locate = require('../locate/emphasis');\n\nmodule.exports = emphasis;\nemphasis.locator = locate;\n\nvar C_ASTERISK = '*';\nvar C_UNDERSCORE = '_';\n\nfunction emphasis(eat, value, silent) {\n var self = this;\n var index = 0;\n var character = value.charAt(index);\n var now;\n var pedantic;\n var marker;\n var queue;\n var subvalue;\n var length;\n var prev;\n\n if (character !== C_ASTERISK && character !== C_UNDERSCORE) {\n return;\n }\n\n pedantic = self.options.pedantic;\n subvalue = character;\n marker = character;\n length = value.length;\n index++;\n queue = '';\n character = '';\n\n if (pedantic && whitespace(value.charAt(index))) {\n return;\n }\n\n while (index < length) {\n prev = character;\n character = value.charAt(index);\n\n if (character === marker && (!pedantic || !whitespace(prev))) {\n character = value.charAt(++index);\n\n if (character !== marker) {\n if (!trim(queue) || prev === marker) {\n return;\n }\n\n if (!pedantic && marker === C_UNDERSCORE && word(character)) {\n queue += marker;\n continue;\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n now = eat.now();\n now.column++;\n now.offset++;\n\n return eat(subvalue + queue + marker)({\n type: 'emphasis',\n children: self.tokenizeInline(queue, now)\n });\n }\n\n queue += marker;\n }\n\n if (!pedantic && character === '\\\\') {\n queue += character;\n character = value.charAt(++index);\n }\n\n queue += character;\n index++;\n }\n}\n","'use strict'\n\nmodule.exports = wordCharacter\n\nvar fromCode = String.fromCharCode\nvar re = /\\w/\n\n// Check if the given character code, or the character code at the first\n// character, is a word character.\nfunction wordCharacter(character) {\n return re.test(\n typeof character === 'number' ? fromCode(character) : character.charAt(0)\n )\n}\n","'use strict';\n\nmodule.exports = locate;\n\nfunction locate(value, fromIndex) {\n var asterisk = value.indexOf('*', fromIndex);\n var underscore = value.indexOf('_', fromIndex);\n\n if (underscore === -1) {\n return asterisk;\n }\n\n if (asterisk === -1) {\n return underscore;\n }\n\n return underscore < asterisk ? underscore : asterisk;\n}\n","'use strict';\n\nvar whitespace = require('is-whitespace-character');\nvar locate = require('../locate/delete');\n\nmodule.exports = strikethrough;\nstrikethrough.locator = locate;\n\nvar C_TILDE = '~';\nvar DOUBLE = '~~';\n\nfunction strikethrough(eat, value, silent) {\n var self = this;\n var character = '';\n var previous = '';\n var preceding = '';\n var subvalue = '';\n var index;\n var length;\n var now;\n\n if (\n !self.options.gfm ||\n value.charAt(0) !== C_TILDE ||\n value.charAt(1) !== C_TILDE ||\n whitespace(value.charAt(2))\n ) {\n return;\n }\n\n index = 1;\n length = value.length;\n now = eat.now();\n now.column += 2;\n now.offset += 2;\n\n while (++index < length) {\n character = value.charAt(index);\n\n if (\n character === C_TILDE &&\n previous === C_TILDE &&\n (!preceding || !whitespace(preceding))\n ) {\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n return eat(DOUBLE + subvalue + DOUBLE)({\n type: 'delete',\n children: self.tokenizeInline(subvalue, now)\n });\n }\n\n subvalue += previous;\n preceding = previous;\n previous = character;\n }\n}\n","'use strict';\n\nmodule.exports = locate;\n\nfunction locate(value, fromIndex) {\n return value.indexOf('~~', fromIndex);\n}\n","'use strict';\n\nvar whitespace = require('is-whitespace-character');\nvar locate = require('../locate/code-inline');\n\nmodule.exports = inlineCode;\ninlineCode.locator = locate;\n\nvar C_TICK = '`';\n\n/* Tokenise inline code. */\nfunction inlineCode(eat, value, silent) {\n var length = value.length;\n var index = 0;\n var queue = '';\n var tickQueue = '';\n var contentQueue;\n var subqueue;\n var count;\n var openingCount;\n var subvalue;\n var character;\n var found;\n var next;\n\n while (index < length) {\n if (value.charAt(index) !== C_TICK) {\n break;\n }\n\n queue += C_TICK;\n index++;\n }\n\n if (!queue) {\n return;\n }\n\n subvalue = queue;\n openingCount = index;\n queue = '';\n next = value.charAt(index);\n count = 0;\n\n while (index < length) {\n character = next;\n next = value.charAt(index + 1);\n\n if (character === C_TICK) {\n count++;\n tickQueue += character;\n } else {\n count = 0;\n queue += character;\n }\n\n if (count && next !== C_TICK) {\n if (count === openingCount) {\n subvalue += queue + tickQueue;\n found = true;\n break;\n }\n\n queue += tickQueue;\n tickQueue = '';\n }\n\n index++;\n }\n\n if (!found) {\n if (openingCount % 2 !== 0) {\n return;\n }\n\n queue = '';\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n contentQueue = '';\n subqueue = '';\n length = queue.length;\n index = -1;\n\n while (++index < length) {\n character = queue.charAt(index);\n\n if (whitespace(character)) {\n subqueue += character;\n continue;\n }\n\n if (subqueue) {\n if (contentQueue) {\n contentQueue += subqueue;\n }\n\n subqueue = '';\n }\n\n contentQueue += character;\n }\n\n return eat(subvalue)({\n type: 'inlineCode',\n value: contentQueue\n });\n}\n","'use strict';\n\nmodule.exports = locate;\n\nfunction locate(value, fromIndex) {\n return value.indexOf('`', fromIndex);\n}\n","'use strict';\n\nvar locate = require('../locate/break');\n\nmodule.exports = hardBreak;\nhardBreak.locator = locate;\n\nvar MIN_BREAK_LENGTH = 2;\n\nfunction hardBreak(eat, value, silent) {\n var length = value.length;\n var index = -1;\n var queue = '';\n var character;\n\n while (++index < length) {\n character = value.charAt(index);\n\n if (character === '\\n') {\n if (index < MIN_BREAK_LENGTH) {\n return;\n }\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n queue += character;\n\n return eat(queue)({type: 'break'});\n }\n\n if (character !== ' ') {\n return;\n }\n\n queue += character;\n }\n}\n","'use strict';\n\nmodule.exports = locate;\n\nfunction locate(value, fromIndex) {\n var index = value.indexOf('\\n', fromIndex);\n\n while (index > fromIndex) {\n if (value.charAt(index - 1) !== ' ') {\n break;\n }\n\n index--;\n }\n\n return index;\n}\n","'use strict';\n\nmodule.exports = text;\n\nfunction text(eat, value, silent) {\n var self = this;\n var methods;\n var tokenizers;\n var index;\n var length;\n var subvalue;\n var position;\n var tokenizer;\n var name;\n var min;\n var now;\n\n /* istanbul ignore if - never used (yet) */\n if (silent) {\n return true;\n }\n\n methods = self.inlineMethods;\n length = methods.length;\n tokenizers = self.inlineTokenizers;\n index = -1;\n min = value.length;\n\n while (++index < length) {\n name = methods[index];\n\n if (name === 'text' || !tokenizers[name]) {\n continue;\n }\n\n tokenizer = tokenizers[name].locator;\n\n if (!tokenizer) {\n eat.file.fail('Missing locator: `' + name + '`');\n }\n\n position = tokenizer.call(self, value, 1);\n\n if (position !== -1 && position < min) {\n min = position;\n }\n }\n\n subvalue = value.slice(0, min);\n now = eat.now();\n\n self.decode(subvalue, now, function (content, position, source) {\n eat(source || content)({\n type: 'text',\n value: content\n });\n });\n}\n","var visitWithParents = require('unist-util-visit-parents');\n\nfunction addListMetadata() {\n return function (ast) {\n visitWithParents(ast, 'list', function (listNode, parents) {\n var depth = 0, i, n;\n for (i = 0, n = parents.length; i < n; i++) {\n if (parents[i].type === 'list') depth += 1;\n }\n for (i = 0, n = listNode.children.length; i < n; i++) {\n var child = listNode.children[i];\n child.index = i;\n child.ordered = listNode.ordered;\n }\n listNode.depth = depth;\n });\n return ast;\n };\n}\n\nmodule.exports = addListMetadata;\n","'use strict'\n\n/* Expose. */\nmodule.exports = visitParents\n\n/* Visit. */\nfunction visitParents(tree, type, visitor) {\n var stack = []\n\n if (typeof type === 'function') {\n visitor = type\n type = null\n }\n\n one(tree)\n\n /* Visit a single node. */\n function one(node) {\n var result\n\n if (!type || node.type === type) {\n result = visitor(node, stack.concat())\n }\n\n if (node.children && result !== false) {\n return all(node.children, node)\n }\n\n return result\n }\n\n /* Visit children in `parent`. */\n function all(children, parent) {\n var length = children.length\n var index = -1\n var child\n\n stack.push(parent)\n\n while (++index < length) {\n child = children[index]\n\n if (child && one(child) === false) {\n return false\n }\n }\n\n stack.pop()\n\n return true\n }\n}\n","\"use strict\";\n\n/**\n * Naive, simple plugin to match inline nodes without attributes\n * This allows say <strong>foo</strong>, but not <strong class=\"very\">foo</strong>\n * For proper HTML support, you'll want a different plugin\n **/\nvar visit = require('unist-util-visit');\n\nvar type = 'virtualHtml';\nvar selfClosingRe = /^<(area|base|br|col|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\s*\\/?>$/i;\nvar simpleTagRe = /^<(\\/?)([a-z]+)\\s*>$/;\n\nmodule.exports = function (tree) {\n var open;\n var currentParent;\n visit(tree, 'html', function (node, index, parent) {\n if (currentParent !== parent) {\n open = [];\n currentParent = parent;\n }\n\n var selfClosing = getSelfClosing(node);\n\n if (selfClosing) {\n parent.children.splice(index, 1, {\n type: type,\n tag: selfClosing,\n position: node.position\n });\n return true;\n }\n\n var current = getSimpleTag(node, parent);\n\n if (!current) {\n return true;\n }\n\n var matching = findAndPull(open, current.tag);\n\n if (matching) {\n parent.children.splice(index, 0, virtual(current, matching, parent));\n } else if (!current.opening) {\n open.push(current);\n }\n\n return true;\n }, true // Iterate in reverse\n );\n return tree;\n};\n\nfunction findAndPull(open, matchingTag) {\n var i = open.length;\n\n while (i--) {\n if (open[i].tag === matchingTag) {\n return open.splice(i, 1)[0];\n }\n }\n\n return false;\n}\n\nfunction getSimpleTag(node, parent) {\n var match = node.value.match(simpleTagRe);\n return match ? {\n tag: match[2],\n opening: !match[1],\n node: node\n } : false;\n}\n\nfunction getSelfClosing(node) {\n var match = node.value.match(selfClosingRe);\n return match ? match[1] : false;\n}\n\nfunction virtual(fromNode, toNode, parent) {\n var fromIndex = parent.children.indexOf(fromNode.node);\n var toIndex = parent.children.indexOf(toNode.node);\n var extracted = parent.children.splice(fromIndex, toIndex - fromIndex + 1);\n var children = extracted.slice(1, -1);\n return {\n type: type,\n children: children,\n tag: fromNode.tag,\n position: {\n start: fromNode.node.position.start,\n end: toNode.node.position.end,\n indent: []\n }\n };\n}","\"use strict\";\n\nvar visit = require('unist-util-visit');\n\nexports.ofType = function (types, mode) {\n return function (node) {\n types.forEach(function (type) {\n return visit(node, type, disallow, true);\n });\n return node;\n };\n\n function disallow(node, index, parent) {\n if (parent) {\n untangle(node, index, parent, mode);\n }\n }\n};\n\nexports.ifNotMatch = function (allowNode, mode) {\n return function (node) {\n visit(node, disallow, true);\n return node;\n };\n\n function disallow(node, index, parent) {\n if (parent && !allowNode(node, index, parent)) {\n untangle(node, index, parent, mode);\n }\n }\n};\n\nfunction untangle(node, index, parent, mode) {\n if (mode === 'remove') {\n parent.children.splice(index, 1);\n } else if (mode === 'unwrap') {\n var args = [index, 1];\n\n if (node.children) {\n args = args.concat(node.children);\n }\n\n Array.prototype.splice.apply(parent.children, args);\n }\n}","'use strict';\n\nvar React = require('react');\n\nvar xtend = require('xtend');\n\nvar ReactIs = require('react-is');\n\nvar defaultNodePosition = {\n start: {\n line: 1,\n column: 1,\n offset: 0\n },\n end: {\n line: 1,\n column: 1,\n offset: 0\n }\n};\n\nfunction astToReact(node, options) {\n var parent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var index = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;\n var renderer = options.renderers[node.type]; // nodes generated by plugins may not have position data\n // much of the code after this point will attempt to access properties of the node.position\n // this will set the node position to the parent node's position to prevent errors\n\n if (node.position === undefined) {\n node.position = parent.node && parent.node.position || defaultNodePosition;\n }\n\n var pos = node.position.start;\n var key = [node.type, pos.line, pos.column, index].join('-');\n\n if (!ReactIs.isValidElementType(renderer)) {\n throw new Error(\"Renderer for type `\".concat(node.type, \"` not defined or is not renderable\"));\n }\n\n var nodeProps = getNodeProps(node, key, options, renderer, parent, index);\n return React.createElement(renderer, nodeProps, nodeProps.children || resolveChildren() || undefined);\n\n function resolveChildren() {\n return node.children && node.children.map(function (childNode, i) {\n return astToReact(childNode, options, {\n node: node,\n props: nodeProps\n }, i);\n });\n }\n} // eslint-disable-next-line max-params, complexity\n\n\nfunction getNodeProps(node, key, opts, renderer, parent, index) {\n var props = {\n key: key\n };\n var isTagRenderer = typeof renderer === 'string'; // `sourcePos` is true if the user wants source information (line/column info from markdown source)\n\n if (opts.sourcePos && node.position) {\n props['data-sourcepos'] = flattenPosition(node.position);\n }\n\n if (opts.rawSourcePos && !isTagRenderer) {\n props.sourcePosition = node.position;\n } // If `includeNodeIndex` is true, pass node index info to all non-tag renderers\n\n\n if (opts.includeNodeIndex && parent.node && parent.node.children && !isTagRenderer) {\n props.index = parent.node.children.indexOf(node);\n props.parentChildCount = parent.node.children.length;\n }\n\n var ref = node.identifier !== null && node.identifier !== undefined ? opts.definitions[node.identifier] || {} : null;\n\n switch (node.type) {\n case 'root':\n assignDefined(props, {\n className: opts.className\n });\n break;\n\n case 'text':\n props.nodeKey = key;\n props.children = node.value;\n break;\n\n case 'heading':\n props.level = node.depth;\n break;\n\n case 'list':\n props.start = node.start;\n props.ordered = node.ordered;\n props.tight = !node.loose;\n props.depth = node.depth;\n break;\n\n case 'listItem':\n props.checked = node.checked;\n props.tight = !node.loose;\n props.ordered = node.ordered;\n props.index = node.index;\n props.children = getListItemChildren(node, parent).map(function (childNode, i) {\n return astToReact(childNode, opts, {\n node: node,\n props: props\n }, i);\n });\n break;\n\n case 'definition':\n assignDefined(props, {\n identifier: node.identifier,\n title: node.title,\n url: node.url\n });\n break;\n\n case 'code':\n assignDefined(props, {\n language: node.lang && node.lang.split(/\\s/, 1)[0]\n });\n break;\n\n case 'inlineCode':\n props.children = node.value;\n props.inline = true;\n break;\n\n case 'link':\n assignDefined(props, {\n title: node.title || undefined,\n target: typeof opts.linkTarget === 'function' ? opts.linkTarget(node.url, node.children, node.title) : opts.linkTarget,\n href: opts.transformLinkUri ? opts.transformLinkUri(node.url, node.children, node.title) : node.url\n });\n break;\n\n case 'image':\n assignDefined(props, {\n alt: node.alt || undefined,\n title: node.title || undefined,\n src: opts.transformImageUri ? opts.transformImageUri(node.url, node.children, node.title, node.alt) : node.url\n });\n break;\n\n case 'linkReference':\n assignDefined(props, xtend(ref, {\n href: opts.transformLinkUri ? opts.transformLinkUri(ref.href) : ref.href\n }));\n break;\n\n case 'imageReference':\n assignDefined(props, {\n src: opts.transformImageUri && ref.href ? opts.transformImageUri(ref.href, node.children, ref.title, node.alt) : ref.href,\n title: ref.title || undefined,\n alt: node.alt || undefined\n });\n break;\n\n case 'table':\n case 'tableHead':\n case 'tableBody':\n props.columnAlignment = node.align;\n break;\n\n case 'tableRow':\n props.isHeader = parent.node.type === 'tableHead';\n props.columnAlignment = parent.props.columnAlignment;\n break;\n\n case 'tableCell':\n assignDefined(props, {\n isHeader: parent.props.isHeader,\n align: parent.props.columnAlignment[index]\n });\n break;\n\n case 'virtualHtml':\n props.tag = node.tag;\n break;\n\n case 'html':\n // @todo find a better way than this\n props.isBlock = node.position.start.line !== node.position.end.line;\n props.escapeHtml = opts.escapeHtml;\n props.skipHtml = opts.skipHtml;\n break;\n\n case 'parsedHtml':\n {\n var parsedChildren;\n\n if (node.children) {\n parsedChildren = node.children.map(function (child, i) {\n return astToReact(child, opts, {\n node: node,\n props: props\n }, i);\n });\n }\n\n props.escapeHtml = opts.escapeHtml;\n props.skipHtml = opts.skipHtml;\n props.element = mergeNodeChildren(node, parsedChildren);\n break;\n }\n\n default:\n assignDefined(props, xtend(node, {\n type: undefined,\n position: undefined,\n children: undefined\n }));\n }\n\n if (!isTagRenderer && node.value) {\n props.value = node.value;\n }\n\n return props;\n}\n\nfunction assignDefined(target, attrs) {\n for (var key in attrs) {\n if (typeof attrs[key] !== 'undefined') {\n target[key] = attrs[key];\n }\n }\n}\n\nfunction mergeNodeChildren(node, parsedChildren) {\n var el = node.element;\n\n if (Array.isArray(el)) {\n var Fragment = React.Fragment || 'div';\n return React.createElement(Fragment, null, el);\n }\n\n if (el.props.children || parsedChildren) {\n var children = React.Children.toArray(el.props.children).concat(parsedChildren);\n return React.cloneElement(el, null, children);\n }\n\n return React.cloneElement(el, null);\n}\n\nfunction flattenPosition(pos) {\n return [pos.start.line, ':', pos.start.column, '-', pos.end.line, ':', pos.end.column].map(String).join('');\n}\n\nfunction getListItemChildren(node, parent) {\n if (node.loose) {\n return node.children;\n }\n\n if (parent.node && node.index > 0 && parent.node.children[node.index - 1].loose) {\n return node.children;\n }\n\n return unwrapParagraphs(node);\n}\n\nfunction unwrapParagraphs(node) {\n return node.children.reduce(function (array, child) {\n return array.concat(child.type === 'paragraph' ? child.children || [] : [child]);\n }, []);\n}\n\nmodule.exports = astToReact;","'use strict';\n\nvar visit = require('unist-util-visit');\n\nmodule.exports = function (node) {\n visit(node, 'table', wrap);\n return node;\n};\n\nfunction wrap(table) {\n var children = table.children;\n table.children = [{\n type: 'tableHead',\n align: table.align,\n children: [children[0]],\n position: children[0].position\n }];\n\n if (children.length > 1) {\n table.children.push({\n type: 'tableBody',\n align: table.align,\n children: children.slice(1),\n position: {\n start: children[1].position.start,\n end: children[children.length - 1].position.end\n }\n });\n }\n}","'use strict';\n\nmodule.exports = function getDefinitions(node) {\n var defs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return (node.children || []).reduce(function (definitions, child) {\n if (child.type === 'definition') {\n definitions[child.identifier] = {\n href: child.url,\n title: child.title\n };\n }\n\n return getDefinitions(child, definitions);\n }, defs);\n};","\"use strict\";\n\nvar protocols = ['http', 'https', 'mailto', 'tel'];\n\nmodule.exports = function uriTransformer(uri) {\n var url = (uri || '').trim();\n var first = url.charAt(0);\n\n if (first === '#' || first === '/') {\n return url;\n }\n\n var colon = url.indexOf(':');\n\n if (colon === -1) {\n return url;\n }\n\n var length = protocols.length;\n var index = -1;\n\n while (++index < length) {\n var protocol = protocols[index];\n\n if (colon === protocol.length && url.slice(0, protocol.length).toLowerCase() === protocol) {\n return url;\n }\n }\n\n index = url.indexOf('?');\n\n if (index !== -1 && colon > index) {\n return url;\n }\n\n index = url.indexOf('#');\n\n if (index !== -1 && colon > index) {\n return url;\n } // eslint-disable-next-line no-script-url\n\n\n return 'javascript:void(0)';\n};","/* eslint-disable react/prop-types, react/no-multi-comp */\n'use strict';\n\nvar xtend = require('xtend');\n\nvar React = require('react');\n\nvar supportsStringRender = parseInt((React.version || '16').slice(0, 2), 10) >= 16;\nvar createElement = React.createElement;\nmodule.exports = {\n break: 'br',\n paragraph: 'p',\n emphasis: 'em',\n strong: 'strong',\n thematicBreak: 'hr',\n blockquote: 'blockquote',\n delete: 'del',\n link: 'a',\n image: 'img',\n linkReference: 'a',\n imageReference: 'img',\n table: SimpleRenderer.bind(null, 'table'),\n tableHead: SimpleRenderer.bind(null, 'thead'),\n tableBody: SimpleRenderer.bind(null, 'tbody'),\n tableRow: SimpleRenderer.bind(null, 'tr'),\n tableCell: TableCell,\n root: Root,\n text: TextRenderer,\n list: List,\n listItem: ListItem,\n definition: NullRenderer,\n heading: Heading,\n inlineCode: InlineCode,\n code: CodeBlock,\n html: Html,\n virtualHtml: VirtualHtml,\n parsedHtml: ParsedHtml\n};\n\nfunction TextRenderer(props) {\n return supportsStringRender ? props.children : createElement('span', null, props.children);\n}\n\nfunction Root(props) {\n var useFragment = !props.className;\n var root = useFragment ? React.Fragment || 'div' : 'div';\n return createElement(root, useFragment ? null : props, props.children);\n}\n\nfunction SimpleRenderer(tag, props) {\n return createElement(tag, getCoreProps(props), props.children);\n}\n\nfunction TableCell(props) {\n var style = props.align ? {\n textAlign: props.align\n } : undefined;\n var coreProps = getCoreProps(props);\n return createElement(props.isHeader ? 'th' : 'td', style ? xtend({\n style: style\n }, coreProps) : coreProps, props.children);\n}\n\nfunction Heading(props) {\n return createElement(\"h\".concat(props.level), getCoreProps(props), props.children);\n}\n\nfunction List(props) {\n var attrs = getCoreProps(props);\n\n if (props.start !== null && props.start !== 1 && props.start !== undefined) {\n attrs.start = props.start.toString();\n }\n\n return createElement(props.ordered ? 'ol' : 'ul', attrs, props.children);\n}\n\nfunction ListItem(props) {\n var checkbox = null;\n\n if (props.checked !== null && props.checked !== undefined) {\n var checked = props.checked;\n checkbox = createElement('input', {\n type: 'checkbox',\n checked: checked,\n readOnly: true\n });\n }\n\n return createElement('li', getCoreProps(props), checkbox, props.children);\n}\n\nfunction CodeBlock(props) {\n var className = props.language && \"language-\".concat(props.language);\n var code = createElement('code', className ? {\n className: className\n } : null, props.value);\n return createElement('pre', getCoreProps(props), code);\n}\n\nfunction InlineCode(props) {\n return createElement('code', getCoreProps(props), props.children);\n}\n\nfunction Html(props) {\n if (props.skipHtml) {\n return null;\n }\n\n var tag = props.isBlock ? 'div' : 'span';\n\n if (props.escapeHtml) {\n var comp = React.Fragment || tag;\n return createElement(comp, null, props.value);\n }\n\n var nodeProps = {\n dangerouslySetInnerHTML: {\n __html: props.value\n }\n };\n return createElement(tag, nodeProps);\n}\n\nfunction ParsedHtml(props) {\n return props['data-sourcepos'] ? React.cloneElement(props.element, {\n 'data-sourcepos': props['data-sourcepos']\n }) : props.element;\n}\n\nfunction VirtualHtml(props) {\n return createElement(props.tag, getCoreProps(props), props.children);\n}\n\nfunction NullRenderer() {\n return null;\n}\n\nfunction getCoreProps(props) {\n return props['data-sourcepos'] ? {\n 'data-sourcepos': props['data-sourcepos']\n } : {};\n}","\"use strict\";\n\nvar HtmlParser = '__RMD_HTML_PARSER__';\nexports.HtmlParser = typeof Symbol === 'undefined' ? HtmlParser : Symbol(HtmlParser);","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".inline_bc2,\\n .inline_bc2 p {\\n display: inline;\\n }\\n\\n.markdown_57a {\\n}\\n\\n.markdown_57a ol,\\n .markdown_57a ul {\\n margin: 0;\\n }\\n\\n.markdown_57a p,\\n .markdown_57a blockquote,\\n .markdown_57a pre {\\n margin: 0\\n }\\n\\n.markdown_57a p:not(:first-child), .markdown_57a blockquote:not(:first-child), .markdown_57a pre:not(:first-child) {\\n margin-top: 10px;\\n }\\n\\n.markdown_57a li {\\n margin-top: 10px;\\n }\\n\\n.markdown_57a li p:not(:first-child), .markdown_57a li blockquote:not(:first-child), .markdown_57a li pre:not(:first-child) {\\n margin-top: 6px;\\n }\\n\\n.markdown_57a hr {\\n margin: 10px 0;\\n\\n border: none;\\n border-bottom: 1px solid #dfe5eb;\\n border-bottom: 1px solid var(--ring-line-color);\\n }\\n\\n.markdown_57a blockquote {\\n padding: 0 0 0 16px;\\n\\n color: #737577;\\n\\n color: var(--ring-secondary-color);\\n box-shadow: inset 2px 0 0 #dfe5eb;\\n box-shadow: inset 2px 0 0 var(--ring-line-color);\\n\\n font-size: 12px;\\n line-height: 18px;\\n }\\n\\n.markdown_57a ul {\\n padding: 0 0 0 16px;\\n }\\n\\n.markdown_57a ol {\\n padding: 0;\\n\\n list-style-position: inside;\\n font-feature-settings: \\\"tnum\\\";\\n font-variant-numeric: tabular-nums;\\n }\\n\\n.markdown_57a ul {\\n list-style-type: none;\\n }\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"p-margin\": \"10px\",\n\t\"inline\": \"inline_bc2\",\n\t\"markdown\": \"markdown_57a \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"font\"] + \"\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".tag_923 {\\n\\n position: relative;\\n z-index: 1;\\n\\n display: inline-flex;\\n\\n box-sizing: border-box;\\n max-width: 100%;\\n height: 20px;\\n\\n margin-bottom: 1px;\\n padding: 0 8px;\\n\\n vertical-align: top;\\n\\n color: #1f2326;\\n\\n color: var(--ring-text-color);\\n\\n border: none;\\n border-radius: 3px;\\n border-radius: var(--ring-border-radius);\\n background-color: #e6ecf2;\\n background-color: var(--ring-tag-background-color);\\n\\n font-size: 12px;\\n line-height: 20px;\\n line-height: var(--ring-line-height);\\n}\\n\\n.withRemove_e58 {\\n padding-right: 22px;\\n}\\n\\n.container_34c {\\n position: relative;\\n\\n display: inline-block;\\n\\n max-width: calc(100% - 4px);\\n\\n margin-right: 4px;\\n\\n white-space: nowrap;\\n}\\n\\n.focused_957,\\n.tag_923:focus {\\n position: relative;\\n\\n outline: none;\\n box-shadow: 0 0 0 2px #80c6ff;\\n box-shadow: 0 0 0 2px var(--ring-border-hover-color);\\n}\\n\\n.tagAngled_9c0 {\\n margin-bottom: -5px !important; /* it needs to fix vertical alignment broken by \\\"overflow: hidden\\\". Remove this class, when IE11 will be deprecated */\\n margin-left: 8px;\\n padding-left: 4px;\\n\\n border-top-left-radius: 0;\\n border-bottom-left-radius: 0\\n}\\n\\n.tagAngled_9c0::before {\\n position: absolute;\\n z-index: -1;\\n top: 0;\\n left: 0;\\n\\n box-sizing: border-box;\\n width: 12px;\\n height: 12px;\\n\\n content: '';\\n transform: scaleY(1.177) rotate(45deg);\\n transform-origin: 0 0;\\n\\n border: none;\\n\\n background-color: #e6ecf2;\\n\\n background-color: var(--ring-tag-background-color);\\n }\\n\\n.tagAngled_9c0.focused_957,\\n .tagAngled_9c0:focus {\\n box-shadow: 0 0 0 1px #80c6ff inset, 0 0 0 1px #80c6ff;\\n box-shadow: 0 0 0 1px var(--ring-border-hover-color) inset, 0 0 0 1px var(--ring-border-hover-color);\\n }\\n\\n.tagAngled_9c0:focus::before {\\n box-shadow:\\n 1px -1px #80c6ff inset,\\n -0.8px 0.8px 0 0.5px #80c6ff;\\n box-shadow:\\n 1px -1px var(--ring-border-hover-color) inset,\\n -0.8px 0.8px 0 0.5px var(--ring-border-hover-color);\\n }\\n\\n.content_be9 {\\n}\\n\\n.disabled_3cd {\\n opacity: 0.5;\\n}\\n\\n.remove_d17 {\\n position: absolute;\\n z-index: 1;\\n top: -1px;\\n right: 0;\\n\\n padding: 0 4px;\\n}\\n\\n.removeIcon_800.removeIcon_800 {\\n color: #999;\\n color: var(--ring-icon-secondary-color);\\n}\\n\\n.icon_aae {\\n margin-right: 6px;\\n\\n color: #999;\\n\\n color: var(--ring-icon-secondary-color)\\n}\\n\\n.icon_aae svg {\\n vertical-align: -3px;\\n }\\n\\n.avatarContainer_e30 {\\n display: inline-block;\\n overflow: hidden;\\n\\n box-sizing: border-box;\\n width: 20px;\\n height: 20px;\\n margin-right: 4px;\\n margin-left: -8px;\\n\\n vertical-align: top;\\n\\n border-top-left-radius: 3px;\\n\\n border-top-left-radius: var(--ring-border-radius);\\n border-bottom-left-radius: 3px;\\n border-bottom-left-radius: var(--ring-border-radius);\\n}\\n\\n.customIcon_d24 {\\n max-width: 16px;\\n max-height: 16px;\\n\\n margin-right: 4px;\\n\\n vertical-align: bottom;\\n}\\n\\n.avatarIcon_236 {\\n width: 20px;\\n\\n margin-right: -4px;\\n\\n -o-object-fit: contain;\\n\\n object-fit: contain;\\n -o-object-position: center;\\n object-position: center;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"resetButton\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"resetButton\"] + \"\",\n\t\"background-color\": \"var(--ring-tag-background-color)\",\n\t\"max-height\": \"20px\",\n\t\"tag\": \"tag_923 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"resetButton\"] + \"\",\n\t\"withRemove\": \"withRemove_e58\",\n\t\"container\": \"container_34c\",\n\t\"focused\": \"focused_957\",\n\t\"tagAngled\": \"tagAngled_9c0\",\n\t\"content\": \"content_be9 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"ellipsis\"] + \"\",\n\t\"disabled\": \"disabled_3cd\",\n\t\"remove\": \"remove_d17\",\n\t\"removeIcon\": \"removeIcon_800\",\n\t\"icon\": \"icon_aae\",\n\t\"avatarContainer\": \"avatarContainer_e30\",\n\t\"customIcon\": \"customIcon_d24\",\n\t\"avatarIcon\": \"avatarIcon_236\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.select_241:hover .value_fbb,\\n.select_241:hover .icons_ae9 {\\n transition: none;\\n\\n color: #008eff;\\n\\n color: var(--ring-main-color);\\n}}\\n\\n.select_241 {\\n position: relative;\\n\\n display: inline-block;\\n\\n white-space: nowrap;\\n\\n color: #1f2326;\\n\\n color: var(--ring-text-color);\\n}\\n\\n.toolbar_0d4 {\\n border-top: 1px solid #dfe5eb;\\n border-top: 1px solid var(--ring-line-color);\\n}\\n\\n.button_e54 {\\n width: 100%;\\n height: 32px;\\n margin: 8px 0;\\n padding: 0 16px;\\n\\n text-align: left\\n}\\n\\n[dir=rtl] .button_e54 {\\n text-align: right;\\n direction: ltr\\n}\\n\\n.icons_ae9 {\\n position: absolute;\\n top: -2px;\\n right: 0;\\n\\n transition: color 0.3s ease-out;\\n\\n transition: color var(--ring-ease);\\n\\n color: #999;\\n\\n color: var(--ring-icon-secondary-color);\\n\\n line-height: 32px\\n}\\n\\n.icons_ae9 .ring-loader_inline {\\n top: 2px;\\n\\n margin-right: 2px;\\n }\\n\\n.inputMode_774 .icons_ae9 {\\n top: 12px;\\n\\n font-size: 13px;\\n\\n font-size: var(--ring-font-size)\\n}\\n\\n.buttonMode_ebe .icons_ae9 {\\n top: -4px;\\n right: 8px\\n}\\n\\n.selectedIcon_b2d {\\n\\n display: inline-block;\\n\\n width: 16px;\\n height: 16px;\\n margin: 0 4px;\\n\\n background-repeat: no-repeat;\\n background-position: center;\\n\\n background-size: contain;\\n}\\n\\n.clearIcon_f95 {\\n padding: 0 3px;\\n\\n vertical-align: -1px;\\n}\\n\\n.clearIcon_f95.clearIcon_f95 > span > span {\\n color: #999;\\n color: var(--ring-icon-secondary-color);\\n}\\n\\n.sizeS_b8c {\\n width: 96px;\\n}\\n\\n.sizeM_ed8 {\\n width: 240px;\\n}\\n\\n.sizeL_152 {\\n width: 400px;\\n}\\n\\n.sizeFULL_199 {\\n width: 100%;\\n}\\n\\n.sizeAUTO_c49 {\\n max-width: 100%;\\n}\\n\\n.buttonMode_ebe,\\n.materialMode_820 {\\n position: relative;\\n\\n cursor: pointer;\\n}\\n\\n.value_fbb {\\n\\n display: inline-block;\\n\\n box-sizing: border-box;\\n width: 100%;\\n height: 33px;\\n padding: 0 0 3px;\\n\\n cursor: pointer;\\n transition: color 0.3s ease-out, border-color 0.3s ease-out;\\n transition: color var(--ring-ease), border-color var(--ring-ease);\\n text-align: left;\\n vertical-align: top;\\n\\n color: #1f2326;\\n\\n color: var(--ring-text-color);\\n\\n border: none;\\n border-bottom: 1px solid #b8d1e5;\\n border-bottom: 1px solid var(--ring-borders-color);\\n outline: none;\\n background: transparent\\n}\\n\\n.value_fbb:focus {\\n border-color: #008eff;\\n border-color: var(--ring-main-color);\\n }\\n\\n.value_fbb.open_5de,\\n .value_fbb:active {\\n border-color: transparent;\\n }\\n\\n.value_fbb::-moz-focus-inner {\\n padding: 0;\\n\\n border: 0;\\n outline: 0;\\n }\\n\\n.buttonValue_96e {\\n\\n width: 100%;\\n\\n text-align: left;\\n vertical-align: -8px;\\n}\\n\\n.buttonValueOpen_16a {\\n border-color: #d4edff;\\n border-color: var(--ring-selected-background-color);\\n background-color: #d4edff;\\n background-color: var(--ring-selected-background-color)\\n}\\n\\n.buttonValueOpen_16a .icons_ae9 {\\n transition: none;\\n\\n color: #008eff;\\n\\n color: var(--ring-main-color);\\n }\\n\\n.label_402 {\\n position: relative;\\n\\n color: #737577;\\n\\n color: var(--ring-secondary-color);\\n}\\n\\n.value_fbb:focus,\\n.value_fbb:focus + .icons_ae9,\\n.open_5de,\\n.open_5de + .icons_ae9 {\\n transition: none;\\n\\n color: #008eff;\\n\\n color: var(--ring-main-color);\\n}\\n\\n.disabled_284 {\\n pointer-events: none;\\n\\n color: #999;\\n\\n color: var(--ring-disabled-color)\\n}\\n\\n.disabled_284 .value_fbb {\\n color: #999;\\n color: var(--ring-disabled-color);\\n border-bottom-style: dashed;\\n }\\n\\n.selectedLabel_188 {\\n position: absolute;\\n top: -12px;\\n\\n color: #737577;\\n\\n color: var(--ring-secondary-color);\\n\\n font-size: 12px;\\n\\n font-size: var(--ring-font-size-smaller);\\n line-height: 16px;\\n line-height: var(--ring-line-height-lowest);\\n}\\n\\n.avatar_53c {\\n margin-right: 4px;\\n\\n vertical-align: -5px;\\n}\\n\\n.popup_dec {\\n min-width: 240px;\\n max-width: 320px;\\n}\\n\\n.chevron_04e.chevron_04e {\\n padding: 0;\\n\\n transition: none;\\n\\n color: inherit;\\n}\\n\\n.chevronIcon_3f6.chevronIcon_3f6 {\\n transition: none;\\n\\n color: inherit;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"resetButton\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"resetButton\"] + \"\",\n\t\"select\": \"select_241\",\n\t\"value\": \"value_fbb \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"ellipsis\"] + \" \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"font\"] + \"\",\n\t\"icons\": \"icons_ae9\",\n\t\"toolbar\": \"toolbar_0d4\",\n\t\"button\": \"button_e54\",\n\t\"inputMode\": \"inputMode_774\",\n\t\"buttonMode\": \"buttonMode_ebe\",\n\t\"selectedIcon\": \"selectedIcon_b2d \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"resetButton\"] + \"\",\n\t\"clearIcon\": \"clearIcon_f95\",\n\t\"sizeS\": \"sizeS_b8c\",\n\t\"sizeM\": \"sizeM_ed8\",\n\t\"sizeL\": \"sizeL_152\",\n\t\"sizeFULL\": \"sizeFULL_199\",\n\t\"sizeAUTO\": \"sizeAUTO_c49\",\n\t\"materialMode\": \"materialMode_820\",\n\t\"open\": \"open_5de\",\n\t\"buttonValue\": \"buttonValue_96e \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"ellipsis\"] + \"\",\n\t\"buttonValueOpen\": \"buttonValueOpen_16a\",\n\t\"label\": \"label_402\",\n\t\"disabled\": \"disabled_284\",\n\t\"selectedLabel\": \"selectedLabel_188\",\n\t\"avatar\": \"avatar_53c\",\n\t\"popup\": \"popup_dec\",\n\t\"chevron\": \"chevron_04e\",\n\t\"chevronIcon\": \"chevronIcon_3f6\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".pager_343 {\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none;\\n}\\n\\n.links_60b {\\n margin-bottom: 16px;\\n}\\n\\n.link_421 {\\n display: inline-block;\\n\\n margin-right: 16px;\\n}\\n\\n.linkDisabled_a16 {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"pager\": \"pager_343\",\n\t\"links\": \"links_60b\",\n\t\"link\": \"link_421\",\n\t\"linkDisabled\": \"linkDisabled_a16\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".light_0a4.progressBar_1d5 {\\n background-color: rgba(0, 0, 0, 0.2);\\n }\\n\\n.dark_9a6.progressBar_1d5 {\\n background-color: rgba(255, 255, 255, 0.3);\\n }\\n\\n.dark_9a6 .line_43a::after {\\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0));\\n }\\n\\n.progressBar_1d5 {\\n position: relative;\\n z-index: 1; /* Required to see border-radius on animated background */\\n\\n overflow: hidden;\\n\\n max-width: 288px;\\n height: 4px;\\n margin-bottom: 4px;\\n\\n border-radius: 2px;\\n}\\n\\n.globalMode_5a5 {\\n position: absolute;\\n top: 0;\\n\\n width: 100%;\\n max-width: none;\\n\\n background: transparent;\\n}\\n\\n.line_43a {\\n float: left;\\n\\n width: 0;\\n height: 100%;\\n\\n transition: width 0.6s ease;\\n text-align: center;\\n\\n color: #fff;\\n\\n color: var(--ring-content-background-color);\\n border-radius: 2px;\\n background-color: #008eff;\\n background-color: var(--ring-main-color);\\n\\n line-height: 4px\\n}\\n\\n.line_43a::after {\\n position: absolute;\\n top: 0;\\n right: 0;\\n bottom: 0;\\n left: 0;\\n\\n content: '';\\n -webkit-animation: progress-bar_10a 2500ms linear infinite;\\n animation: progress-bar_10a 2500ms linear infinite;\\n\\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0));\\n background-repeat: no-repeat;\\n }\\n\\n@-webkit-keyframes progress-bar_10a {\\n from {\\n transform: translateX(-100%);\\n }\\n\\n to {\\n transform: translateX(100%);\\n }\\n}\\n\\n@keyframes progress-bar_10a {\\n from {\\n transform: translateX(-100%);\\n }\\n\\n to {\\n transform: translateX(100%);\\n }\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"light\": \"light_0a4\",\n\t\"progressBar\": \"progressBar_1d5\",\n\t\"dark\": \"dark_9a6\",\n\t\"line\": \"line_43a\",\n\t\"globalMode\": \"globalMode_5a5\",\n\t\"progress-bar\": \"progress-bar_10a\"\n};\nmodule.exports = exports;\n","// 20.1.2.2 Number.isFinite(number)\nvar $export = require('./_export');\nvar _isFinite = require('./_global').isFinite;\n\n$export($export.S, 'Number', {\n isFinite: function isFinite(it) {\n return typeof it == 'number' && _isFinite(it);\n }\n});\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".light_ea9.queryAssist_887 {\\n height: 24px;\\n\\n background: #fff;\\n\\n background: var(--ring-content-background-color);\\n }\\n\\n.light_ea9 .input_b92 {\\n height: 22px;\\n\\n box-shadow: 0 0 0 1px #b8d1e5;\\n\\n box-shadow: 0 0 0 1px var(--ring-borders-color)\\n\\n /* stylelint-disable-next-line selector-max-specificity */\\n }\\n\\n.light_ea9 .input_b92:not([disabled]):active,\\n \\n .light_ea9 .input_b92:not([disabled]):focus {\\n border-color: transparent;\\n box-shadow: 0 0 0 1px #008eff;\\n box-shadow: 0 0 0 1px var(--ring-main-color);\\n }\\n\\n.light_ea9 .placeholder_959 {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n }\\n\\n.light_ea9 .letter-text_38e {\\n color: #cc8b00;\\n color: var(--ring-warning-color);\\n }\\n\\n.light_ea9 .letterDefault_d37,\\n .light_ea9 .letter-field-name_1b6 {\\n color: #1f2326;\\n color: var(--ring-text-color);\\n }\\n\\n.light_ea9 .letter-field-value_770 {\\n color: #0f5b99;\\n color: var(--ring-link-color);\\n }\\n\\n.light_ea9 .letter-operator_368 {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n }\\n\\n.light_ea9 .letter-error_04a {\\n padding-bottom: 1px;\\n\\n border-bottom: 1px solid #db5860;\\n\\n border-bottom: 1px solid var(--ring-icon-error-color);\\n }\\n\\n.light_ea9 .iconInner_08a {\\n color: #999;\\n color: var(--ring-icon-secondary-color);\\n }\\n\\n.light_ea9 .highlight_462 {\\n font-weight: 600;\\n }\\n\\n.light_ea9 .service_5cf {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n }\\n\\n.dark_c04.queryAssist_887 {\\n height: 32px;\\n\\n font-size: 16px;\\n }\\n\\n.dark_c04 .input_b92 {\\n top: 0;\\n\\n height: 30px;\\n\\n color: #669ecc;\\n\\n color: var(--ring-search-color);\\n\\n border-top-width: 5px;\\n background: #002a4d;\\n background: var(--ring-dark-selected-background-color)\\n }\\n\\n.dark_c04 .input_b92:active,\\n .dark_c04 .input_b92:focus {\\n border-color: #000;\\n border-color: var(--ring-navigation-background-color);\\n\\n background-color: #000;\\n\\n background-color: var(--ring-navigation-background-color);\\n }\\n\\n.dark_c04 .placeholder_959 {\\n top: 6px;\\n\\n color: #b8d1e5;\\n\\n color: var(--ring-icon-color)\\n }\\n\\n.dark_c04 .placeholder_959 :-ms-input-placeholder, :root .dark_c04 .placeholder_959 {\\n top: 7px\\n }\\n\\n@supports (-ms-ime-align:auto) {\\n .dark_c04 .placeholder_959 {\\n top: 7px;\\n }\\n }\\n\\n.dark_c04 .letter-text_38e {\\n color: #cc8b00;\\n color: var(--ring-warning-color);\\n }\\n\\n.dark_c04 .letterDefault_d37,\\n .dark_c04 .letter-field-name_1b6 {\\n color: #669ecc;\\n color: var(--ring-search-color);\\n }\\n\\n.dark_c04 .letter-field-value_770 {\\n color: #fff;\\n color: var(--ring-dark-text-color);\\n }\\n\\n.dark_c04 .letter-operator_368 {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n }\\n\\n.dark_c04 .letter-error_04a {\\n padding-bottom: 1px;\\n\\n border-bottom: 1px solid #db5860;\\n\\n border-bottom: 1px solid var(--ring-icon-error-color);\\n }\\n\\n.dark_c04 .icon_642 {\\n top: 8px;\\n }\\n\\n.dark_c04 .iconInner_08a {\\n color: #b8d1e5;\\n color: var(--ring-icon-color);\\n }\\n\\n.dark_c04 .loader_e06 {\\n top: 6px;\\n }\\n\\n.dark_c04 .highlight_462 {\\n font-weight: 600;\\n }\\n\\n.dark_c04 .service_5cf {\\n color: #737577;\\n color: var(--ring-secondary-color);\\n }\\n\\n.queryAssist_887 {\\n\\n position: relative;\\n\\n box-sizing: border-box;\\n\\n line-height: normal;\\n}\\n\\n.input_b92 {\\n position: relative;\\n\\n top: 1px;\\n left: 1px;\\n\\n overflow: hidden;\\n\\n box-sizing: border-box;\\n\\n width: calc(100% - 2px);\\n margin: 0;\\n\\n padding: 2px 4px 3px;\\n\\n white-space: nowrap;\\n\\n border-width: 0;\\n border-style: solid;\\n border-color: transparent;\\n background: transparent;\\n\\n line-height: 16px\\n}\\n\\n.input_b92:active,\\n .input_b92:focus {\\n outline: 0;\\n }\\n\\n.input_b92 :-ms-input-placeholder, :root .input_b92 {\\n line-height: 17px\\n}\\n\\n@supports (-ms-ime-align:auto) {\\n .input_b92 {\\n line-height: 17px;\\n }\\n }\\n\\n.input_b92 .iconInner_08a {\\n color: #b8d1e5;\\n color: var(--ring-icon-color);\\n }\\n\\n.input_b92.24px_2d3 {\\n border-right-width: 24px;\\n }\\n\\n.input_b92.inputGap2_dd2 {\\n border-right-width: 48px;\\n }\\n\\n.input_b92.inputLeftGap_1bb {\\n border-left-width: 24px;\\n }\\n\\n.input_b92.inputDisabled_4c6 {\\n color: #999;\\n color: var(--ring-disabled-color);\\n border-color: #dfe5eb;\\n border-color: var(--ring-line-color);\\n }\\n\\n.placeholder_959 {\\n\\n position: absolute;\\n top: 3px;\\n\\n left: 5px;\\n\\n display: block;\\n\\n overflow: hidden;\\n\\n width: calc(100% - 32px);\\n\\n text-overflow: ellipsis;\\n\\n pointer-events: none\\n}\\n\\n.placeholder_959.placeholderSpaced_88e {\\n left: 29px;\\n }\\n\\n.placeholder_959 :-ms-input-placeholder, :root .placeholder_959 {\\n top: 4px\\n}\\n\\n@supports (-ms-ime-align:auto) {\\n .placeholder_959 {\\n top: 4px;\\n }\\n }\\n\\n.letter_20d {\\n display: inline;\\n}\\n\\n.actions_151 {\\n position: absolute;\\n z-index: 2;\\n top: 4px;\\n right: 1px;\\n}\\n\\n.icon_642 {\\n position: absolute;\\n z-index: 2;\\n top: 4px;\\n\\n box-sizing: border-box;\\n\\n width: 24px;\\n height: 16px;\\n\\n padding: 0 4px;\\n\\n cursor: pointer;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n user-select: none;\\n\\n line-height: normal\\n}\\n\\n.icon_642 svg {\\n vertical-align: baseline;\\n }\\n\\n.actions_151 .icon_642 {\\n position: relative;\\n top: 0;\\n left: -1px\\n}\\n\\n.loaderOnTheRight_c8a {\\n right: 1px;\\n\\n left: auto;\\n}\\n\\n.focusUnderline_ade {\\n width: 0;\\n height: 2px;\\n\\n transition: width 0.15s ease-out;\\n\\n background: #008eff;\\n\\n background: var(--ring-main-color);\\n}\\n\\n.input_b92:focus ~ .focusUnderline_ade,\\n.input_b92:active ~ .focusUnderline_ade {\\n width: 100%;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"resetButton\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"resetButton\"] + \"\",\n\t\"overInputZIndex\": \"2\",\n\t\"inputGap\": \"24px\",\n\t\"light\": \"light_ea9\",\n\t\"queryAssist\": \"queryAssist_887 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"font\"] + \"\",\n\t\"input\": \"input_b92\",\n\t\"placeholder\": \"placeholder_959 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"resetButton\"] + \"\",\n\t\"letter-text\": \"letter-text_38e\",\n\t\"letterDefault\": \"letterDefault_d37\",\n\t\"letter-field-name\": \"letter-field-name_1b6\",\n\t\"letter-field-value\": \"letter-field-value_770\",\n\t\"letter-operator\": \"letter-operator_368\",\n\t\"letter-error\": \"letter-error_04a\",\n\t\"iconInner\": \"iconInner_08a\",\n\t\"highlight\": \"highlight_462\",\n\t\"service\": \"service_5cf\",\n\t\"dark\": \"dark_c04\",\n\t\"icon\": \"icon_642\",\n\t\"loader\": \"loader_e06\",\n\t\"24px\": \"24px_2d3\",\n\t\"inputGap2\": \"inputGap2_dd2\",\n\t\"inputLeftGap\": \"inputLeftGap_1bb\",\n\t\"inputDisabled\": \"inputDisabled_4c6\",\n\t\"placeholderSpaced\": \"placeholderSpaced_88e\",\n\t\"letter\": \"letter_20d\",\n\t\"actions\": \"actions_151\",\n\t\"loaderOnTheRight\": \"loaderOnTheRight_c8a\",\n\t\"focusUnderline\": \"focusUnderline_ade\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".radio_fe2 {\\n position: relative;\\n\\n display: block;\\n\\n text-align: left;\\n\\n color: #1f2326;\\n\\n color: var(--ring-text-color);\\n outline: none\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.radio_fe2:hover .circle_2b4 {\\n transition: none;\\n\\n border-color: #80c6ff;\\n\\n border-color: var(--ring-border-hover-color);\\n }}\\n\\n.circle_2b4 {\\n position: relative;\\n top: -2px;\\n\\n display: inline-block;\\n\\n box-sizing: border-box;\\n width: 16px;\\n height: 16px;\\n\\n -webkit-user-select: none;\\n\\n -moz-user-select: none;\\n\\n -ms-user-select: none;\\n\\n user-select: none;\\n transition: border-color 0.3s ease-out, box-shadow 0.3s ease-out;\\n transition: border-color var(--ring-ease), box-shadow var(--ring-ease);\\n vertical-align: middle;\\n pointer-events: none;\\n\\n border: 1px solid #b8d1e5;\\n\\n border: 1px solid var(--ring-borders-color);\\n border-radius: 8px;\\n background-color: #fff;\\n background-color: var(--ring-content-background-color)\\n}\\n\\n.circle_2b4::after {\\n position: absolute;\\n top: 3px;\\n left: 3px;\\n\\n width: 8px;\\n height: 8px;\\n\\n content: \\\"\\\";\\n\\n transition: opacity 0.15s ease-out, transform 0.15s ease-out;\\n\\n transition: opacity var(--ring-fast-ease), transform var(--ring-fast-ease);\\n\\n transform: scale(0);\\n\\n opacity: 0;\\n\\n border-radius: 4px;\\n background-color: #008eff;\\n background-color: var(--ring-main-color);\\n }\\n\\n.input_72a {\\n position: absolute;\\n top: 0;\\n left: 0;\\n\\n width: 100%;\\n height: 100%;\\n margin: 0;\\n\\n cursor: pointer;\\n\\n opacity: 0\\n}\\n\\n.input_72a[disabled] + .circle_2b4 {\\n border-color: #b8d1e5;\\n border-color: var(--ring-borders-color);\\n }\\n\\n.input_72a:checked + .circle_2b4 {\\n border-color: #80c6ff;\\n border-color: var(--ring-border-hover-color)\\n\\n /* stylelint-disable-next-line selector-max-specificity */\\n }\\n\\n.input_72a:checked + .circle_2b4::after {\\n transition: none;\\n\\n transform: scale(1);\\n\\n opacity: 1;\\n }\\n\\n.input_72a:focus + .circle_2b4,\\n .input_72a.focus_859 + .circle_2b4 {\\n border-color: #80c6ff;\\n border-color: var(--ring-border-hover-color);\\n box-shadow: 0 0 0 1px #80c6ff;\\n box-shadow: 0 0 0 1px var(--ring-border-hover-color);\\n }\\n\\n.input_72a[disabled] {\\n pointer-events: none;\\n }\\n\\n.input_72a {\\n\\n /* stylelint-disable-next-line selector-max-specificity */\\n}\\n\\n.input_72a[disabled]:checked + .circle_2b4::after {\\n opacity: 0.5;\\n }\\n\\n.input_72a[disabled] ~ .label_693 {\\n color: #999;\\n color: var(--ring-disabled-color);\\n }\\n\\n.label_693 {\\n margin-left: 8px;\\n\\n line-height: 32px;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"radio-size\": \"16px\",\n\t\"radio\": \"radio_fe2\",\n\t\"circle\": \"circle_2b4\",\n\t\"input\": \"input_72a\",\n\t\"focus\": \"focus_859\",\n\t\"label\": \"label_693\"\n};\nmodule.exports = exports;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./save-field-ng.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".ring-save-field{font-size:0;line-height:0;display:inline-block}.ring-save-field .ring-save-field__button{margin-left:8px;vertical-align:top}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","module.exports = \"<div class=\\\"ring-save-field\\\" ng-form=\\\"saveFieldForm\\\" rg-shortcuts=\\\"ring-save-field\\\" shortcuts-map=\\\"keyMap\\\" shortcuts-focus=\\\"focus\\\">\\n <span class=\\\"ring-save-field__transclude-placeholder\\\" ng-transclude=\\\"\\\"></span>\\n\\n <rg-button\\n ng-show=\\\"saveFieldForm.$dirty && saveFieldForm.$valid\\\"\\n mode=\\\"primary\\\"\\n class=\\\"ring-save-field__button ng-hide\\\"\\n ng-mousedown=\\\"cancelBlur()\\\"\\n\\n rg-promised-click=\\\"submitChanges($event)\\\"\\n promised-mode=\\\"loader\\\"\\n >\\n {{wording.save}}\\n </rg-button>\\n\\n <rg-button\\n ng-show=\\\"saveFieldForm.$dirty && !loading\\\"\\n class=\\\"ring-save-field__button ng-hide\\\"\\n ng-click=\\\"cancelChanges($event)\\\"\\n ng-mousedown=\\\"cancelBlur()\\\"\\n >\\n {{wording.cancel}}\\n </rg-button>\\n\\n <rg-button\\n ng-show=\\\"done\\\"\\n ng-disabled=\\\"true\\\"\\n class=\\\"ring-save-field__button ng-hide\\\"\\n >\\n {{wording.saved}}\\n </rg-button>\\n</div>\\n\";","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".errorText_a86 {\\n height: auto;\\n}\\n\\n.clear_615.clear_615 {\\n position: absolute;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"errorText\": \"errorText_a86\",\n\t\"clear\": \"clear_615\"\n};\nmodule.exports = exports;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./shortcuts-hint-ng.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".shortcuts-hint{margin-bottom:16px;width:900px}.shortcuts-hint__dialog{width:auto}.shortcuts-hint__popup-header{padding-left:8px}.shortcuts-hint__columns{margin-top:24px;-moz-columns:2 auto;columns:2 auto;line-height:20px}.shortcuts-hint__table{display:table;border-collapse:separate;border-spacing:0 8px}.shortcuts-hint__shortcuts-column{min-width:32px}.shortcuts-hint__shortcut-block{display:table-row-group}.shortcuts-hint__shortcut-block:not(:first-child)::before{content:\\\"\\\";display:block;height:4px}.shortcuts-hint__search-input-wrapper{position:relative;width:240px}.shortcuts-hint__search-icon{position:absolute;top:18px;right:0;height:16px;width:16px;padding:3px 4px 3px 5px;color:#999;color:var(--ring-disabled-color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.shortcuts-hint__table-row{display:table-row}.shortcuts-hint__table-title{display:table-row}.shortcuts-hint__shortcut-cell{display:table-cell;padding-right:8px;max-width:176px;text-align:right}.shortcuts-hint__shortcut{white-space:nowrap;color:#737577;color:var(--ring-secondary-color);font-family:monospace}.shortcuts-hint__hint{display:table-cell;padding-left:8px}.shortcuts-hint__shortcuts-title{display:table-cell;padding-left:8px;font-size:12px;color:#737577;color:var(--ring-secondary-color);text-transform:uppercase;letter-spacing:1.5px}.shortcuts-hint__key-spacer{padding:0 8px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./sidebar.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"@-webkit-keyframes show-sidebar{0%{right:-100%}100%{right:0}}@keyframes show-sidebar{0%{right:-100%}100%{right:0}}.ring-sidebar{position:fixed;z-index:4;top:0;right:-100%;height:100%;width:464px;padding-top:16px;box-sizing:border-box;border:solid 1px #dfe5eb;border:solid 1px var(--ring-line-color);border-right-width:0;overflow:hidden;background:#fff;background:var(--ring-content-background-color);transition:right .5s ease,visibility .5s;visibility:hidden}.ring-sidebar_active{visibility:visible;right:0;-webkit-animation:show-sidebar .5s 1;animation:show-sidebar .5s 1;overflow:auto;box-shadow:-1px 0 2px 0 rgba(0,42,76,.15)}.ring-sidebar_active .ring-sidebar__i{transition:.5s ease-in;transform:rotate(180deg)}.ring-sidebar__toggle-icon{color:#999;color:var(--ring-icon-secondary-color)}.ring-sidebar__avatar{float:left;width:48px;height:48px;-o-object-fit:contain;object-fit:contain;padding:0 16px 0 32px}.ring-sidebar__title{margin:0;padding-left:32px;color:#1f2326;color:var(--ring-heading-color);vertical-align:middle;font-size:24px;font-weight:normal;line-height:28px}.ring-sidebar__title .tag-flag{vertical-align:bottom}.ring-sidebar__avatar~.ring-sidebar__title{margin-bottom:42px}.ring-sidebar__section{position:relative;margin-top:24px;padding:0 16px 0 32px}.ring-sidebar__section-title{display:inline-block;font-size:13px;font-size:var(--ring-font-size);font-weight:bold;color:#1f2326;color:var(--ring-text-color)}.ring-sidebar__section-text{font-size:13px;font-size:var(--ring-font-size);color:#1f2326;color:var(--ring-text-color);line-height:24px}.ring-sidebar__section-text_multiline{padding:4px 0 5px;line-height:normal}.ring-sidebar__section-roster{margin-top:8px}.ring-sidebar__section-icon{position:absolute;display:block;left:0;width:32px;color:#999;color:var(--ring-icon-secondary-color);font-size:12px;text-align:center}.ring-sidebar__empty{margin-top:32px;text-align:center}.ring-sidebar__empty-icon{font-size:100px;color:#999;color:var(--ring-disabled-color)}.ring-sidebar__empty-description{margin-top:16px;color:#1f2326;color:var(--ring-text-color);font-size:12px;line-height:18px;padding-top:4px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","module.exports = \"<div\\n class=\\\"ring-sidebar\\\"\\n rg-place-under=\\\"{{sidebar.placeUnderSibling}}\\\"\\n place-top-offset=\\\"{{sidebar.topOffset}}\\\"\\n sync-height=\\\"true\\\"\\n ng-class=\\\"{'ring-sidebar_active': sidebar.show}\\\"\\n>\\n <rg-dialog in-sidebar=\\\"true\\\" active=\\\"sidebar.dialogIsActive\\\"></rg-dialog>\\n <div class=\\\"ring-sidebar__content\\\" ng-transclude ng-if=\\\"!sidebar.dialogIsActive\\\"></div>\\n</div>\\n\";","module.exports = \"<span>\\n <rg-button\\n ng-click=\\\"button.model = !button.model\\\"\\n ng-disabled=\\\"button.dialogIsActive\\\"\\n >\\n <rg-icon\\n ng-show=\\\"button.model\\\"\\n glyph=\\\"{{button.chevronRight}}\\\"\\n ></rg-icon>\\n\\n <rg-icon\\n ng-show=\\\"!button.model\\\"\\n glyph=\\\"{{button.chevronLeft}}\\\"\\n ></rg-icon>\\n\\n <span ng-transclude></span>\\n </rg-button>\\n</span>\\n\";","'use strict';\n// B.2.3.6 String.prototype.fixed()\nrequire('./_string-html')('fixed', function (createHTML) {\n return function fixed() {\n return createHTML(this, 'tt', '', '');\n };\n});\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".tooltip_182 {\\n max-width: 400px;\\n padding: 8px;\\n\\n text-align: left;\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"tooltip\": \"tooltip_182\"\n};\nmodule.exports = exports;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./table-legacy__toolbar.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".ring-table__toolbar{background:inherit}.ring-table__toolbar-controls{display:block;position:relative;padding:16px 32px;min-height:24px;background:inherit;white-space:normal;white-space:initial}.ring-table__toolbar-controls.ring-table__toolbar-controls_fixed{z-index:2;z-index:calc(var(--ring-fixed-z-index) + 1);position:fixed;top:0;right:0;left:0}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","module.exports = \"<rg-pager\\n total=\\\"pagerCtrl.total\\\"\\n current-page=\\\"pagerCtrl.getPage()\\\"\\n page-size=\\\"pagerCtrl.top\\\"\\n on-page-change=\\\"pagerCtrl.onPageChange\\\"\\n disable-page-size-selector=\\\"true\\\"\\n></rg-pager>\\n\";","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./table-legacy.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".ring-table__toolbar{background:inherit}.ring-table__toolbar-controls{display:block;position:relative;padding:16px 32px;min-height:24px;background:inherit;white-space:normal;white-space:initial}.ring-table__toolbar-controls.ring-table__toolbar-controls_fixed{z-index:2;z-index:calc(var(--ring-fixed-z-index) + 1);position:fixed;top:0;right:0;left:0}.ring-table{width:100%;border-spacing:0;border-collapse:collapse;background-color:transparent;font-size:13px;font-size:var(--ring-font-size)}.ring-table__header{display:table-row;background-color:#f7f9fa;background-color:var(--ring-sidebar-background-color)}.ring-table__header-checkbox{display:inline-block;position:relative;top:1px;left:-2px}.ring-table__title{display:table-cell;position:relative;padding:0 8px;text-align:left;line-height:23px;white-space:nowrap;font-size:12px;font-size:var(--ring-font-size-smaller);font-weight:normal;color:#1f2326;color:var(--ring-text-color);border-top:1px solid #f7f9fa;border-top:1px solid var(--ring-sidebar-background-color);border-bottom:1px solid #dfe5eb;border-bottom:1px solid var(--ring-line-color)}.ring-table__title.ring-table__title_active{font-weight:bold}.ring-table__title:first-child{padding-left:32px}.ring-table__title:after{content:normal;display:block;position:absolute;top:-1px;bottom:0;width:1px;right:0;background-color:#f7f9fa;background-color:var(--ring-sidebar-background-color)}.ring-table__title_border:after{content:\\\"\\\"}.ring-table__title_nested{padding-left:40px}.ring-table__title_nested .ring-table__header-checkbox{left:-26px}.ring-table__toggle{display:inline-block;position:relative;top:9px;width:12px;height:9px;margin-left:16px;padding-bottom:21px;color:#dfe5eb;color:var(--ring-line-color);font-size:14px;cursor:pointer}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-table__toggle:hover{color:#1f2326;color:var(--ring-text-color)}}.ring-table__toggle-icon{float:right}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-table__toggle-icon:hover{color:#ff008c;color:var(--ring-link-hover-color)}}.ring-table__column-inline-avatar{display:inline-block;vertical-align:middle}.ring-table__column-inline-avatar-img{margin:-6px 8px}.ring-table__column_selector{min-width:24px;padding:0 !important;text-align:center}.ring-table__selector{display:inline-block;margin:0 0 0 4px}.ring-table__column{display:table-cell;border-width:1px;border-color:#f7f9fa;border-color:var(--ring-sidebar-background-color);border-top-style:solid;border-bottom-style:solid;border-collapse:collapse;padding:6px 8px;vertical-align:middle;white-space:nowrap}.ring-table__column:last-child{width:100%}.ring-table__column:first-child{padding-left:32px}.ring-table__column.ring-table__column_gap{background-color:#dfe5eb;background-color:var(--ring-line-color);border-bottom-color:transparent !important}.ring-table__column.ring-table__column_toggle{width:16px;padding:0;vertical-align:top;text-align:right}.ring-table__column_right{text-align:right}.ring-table__column_gray{color:#737577;color:var(--ring-secondary-color)}.ring-table__column_snuggle-right{padding-right:0}.ring-table__column_snuggle-left{padding-left:0}.ring-table__column_align-right{text-align:right}.ring-table__column_gap{border-right-style:solid;padding-left:16px !important}.ring-table__column-title{font-weight:bold}.ring-table__column_wide{min-width:80px}.ring-table__column_limited{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:400px}.ring-table__column_unlimited{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;max-width:1px}.ring-table__column_narrow{min-width:24px;padding:0 !important}.ring-table__column-list:not(:last-child):after{content:\\\", \\\"}.ring-table__row{display:table-row;width:100%;height:40px}.ring-table__row.ring-table__row_ghost{background-color:#fff;background-color:var(--ring-content-background-color)}.ring-table__row.ring-table__row_implicit{opacity:.5}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-table__row:hover{background-color:#f7f9fa;background-color:var(--ring-sidebar-background-color)}}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-table__row:hover .ring-table__column_gap{background-color:#dfe5eb;background-color:var(--ring-line-color)}}@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.ring-table__row.ring-table__row_unselectable:hover{background-color:transparent;background-color:initial}}.ring-table__row.ring-table__row_checked{background-color:#d4edff;background-color:var(--ring-selected-background-color)}.ring-table__row.ring-table__row_active-checked{background-color:#d4edff;background-color:var(--ring-selected-background-color)}.ring-table__row.ring-table__row_active .ring-table__column{border-color:#008eff;border-color:var(--ring-main-color);border-top-style:double}.ring-table__row.ring-table__row_active .ring-table__column_gap{border-color:#dfe5eb;border-color:var(--ring-line-color);border-top-style:none}.ring-table__row.ring-table__row_active .sidebar__btn{visibility:visible}.ring-table__group{display:table-row-group}.ring-table__description{margin-left:8px;font-size:12px;font-size:var(--ring-font-size-smaller);color:#737577;color:var(--ring-secondary-color)}.ring-table__avatar{width:24px;height:27px}.ring-table__avatar-img{width:24px;height:24px}.ring-table__header_sticky{position:fixed;display:none;top:0;width:auto;z-index:1;z-index:var(--ring-fixed-z-index)}.table__pager{padding:32px 32px}.table__pager-links{margin-bottom:16px}.table__pager-link{display:inline-block;margin-right:32px}.table__pager-link_disabled{color:#737577;color:var(--ring-secondary-color)}.table__pager-select{float:right;display:inline-block}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","module.exports = \"<div>\\n <table class=\\\"ring-table\\\" ng-transclude>\\n </table>\\n</div>\\n\";","module.exports = \"<thead>\\n <tr class=\\\"ring-table__header\\\" ng-transclude></tr>\\n <tr class=\\\"ring-table__header ring-table__header_sticky\\\" rg-place-under=\\\"{{stickToSelector}}\\\" ng-transclude></tr>\\n</thead>\\n\";","module.exports = \"<tr ng-click=\\\"rowCtrl.setActiveItem(rowCtrl.rowItem)\\\"\\n ng-mouseover=\\\"rowCtrl.onMouseOver(rowCtrl.rowItem)\\\"\\n ng-mouseout=\\\"rowCtrl.onMouseOut(rowCtrl.rowItem)\\\"\\n class=\\\"ring-table__row\\\" ng-class=\\\"{\\n 'ring-table__row_active': rowCtrl.rowItem.active,\\n 'ring-table__row_checked': rowCtrl.rowItem.checked,\\n 'ring-table__row_active-checked': rowCtrl.rowItem.active && !rowCtrl.hasCheckedItems(),\\n 'ring-table__row_implicit': rowCtrl.rowItem.implicit,\\n 'ring-table__row_expanded': rowCtrl.rowItem.expanded,\\n 'ring-table__row_unselectable': rowCtrl.rowItem.unselectable\\n }\\\" ng-transclude>\\n</tr>\\n\";","module.exports = \"<th class=\\\"ring-table__title\\\"\\n ng-class=\\\"{\\n 'ring-table__title_border': isBorder,\\n 'ring-table__title_active': isActive,\\n 'ring-table__column_snuggle-right': isPullRight,\\n 'ring-table__column_snuggle-left': isPullLeft,\\n 'ring-table__column_align-right' : isAlignRight\\n }\\\" ng-transclude>\\n</th>\\n\";","module.exports = \"<td class=\\\"ring-table__column\\\"\\n ng-class=\\\"{\\n 'ring-table__column_limited': isLimited,\\n 'ring-table__column_unlimited': isUnlimited,\\n 'ring-table__column_right': isAlignRight,\\n 'ring-table__avatar': isAvatar,\\n 'ring-table__column_wide': isWide,\\n 'ring-table__column_gray': isGray,\\n 'ring-table__column_snuggle-right': isPullRight,\\n 'ring-table__column_snuggle-left': isPullLeft\\n }\\\" ng-transclude>\\n</td>\\n\";","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \"@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.title_87d:hover:not(.selected_8b2) {\\n color: #ff008c;\\n color: var(--ring-link-hover-color);\\n outline-style: none;\\n box-shadow: inset 0 -1px 0 0 #ff008c;\\n box-shadow: inset 0 -1px 0 0 var(--ring-link-hover-color);\\n }}\\n\\n.tabs_e99 {\\n}\\n\\n.titles_733 {\\n display: inline-block;\\n\\n margin-bottom: 16px;\\n}\\n\\n.light_5cd .titles_733 {\\n box-shadow: inset 0 -1px 0 0 #dfe5eb;\\n box-shadow: inset 0 -1px 0 0 var(--ring-line-color);\\n}\\n\\n.dark_ab1 .titles_733 {\\n box-shadow: inset 0 -1px 0 0 #475159;\\n box-shadow: inset 0 -1px 0 0 var(--ring-dark-line-color);\\n}\\n\\n.title_87d {\\n\\n position: relative;\\n\\n display: inline-block;\\n\\n padding: 0;\\n\\n cursor: pointer;\\n\\n color: inherit;\\n\\n border: none;\\n background: none;\\n\\n line-height: 32px\\n}\\n\\n.title_87d:focus:not(.selected_8b2),\\n .title_87d:active:not(.selected_8b2) {\\n color: #ff008c;\\n color: var(--ring-link-hover-color);\\n outline-style: none;\\n box-shadow: inset 0 -1px 0 0 #ff008c;\\n box-shadow: inset 0 -1px 0 0 var(--ring-link-hover-color);\\n }\\n\\n.title_87d[disabled] {\\n pointer-events: none;\\n }\\n\\n.title_87d + .title_87d {\\n margin-left: 24px;\\n}\\n\\n.light_5cd .title_87d[disabled] {\\n color: #999;\\n color: var(--ring-disabled-color);\\n }\\n\\n.dark_ab1 .title_87d {\\n color: #888;\\n color: var(--ring-dark-secondary-color)\\n}\\n\\n.dark_ab1 .title_87d[disabled] {\\n color: #1f2326;\\n color: var(--ring-text-color);\\n }\\n\\n.selected_8b2 {\\n cursor: default;\\n\\n outline: none;\\n box-shadow: inset 0 -3px 0 0 #1f2326;\\n box-shadow: inset 0 -3px 0 0 var(--ring-text-color);\\n\\n font-weight: bold;\\n}\\n\\n.dark_ab1 .selected_8b2.selected_8b2 {\\n color: #fff;\\n color: var(--ring-dark-text-color);\\n box-shadow: inset 0 -3px 0 0 #008eff;\\n box-shadow: inset 0 -3px 0 0 var(--ring-main-color);\\n }\\n\\n.visible_523 {\\n position: absolute;\\n top: 0;\\n right: 0;\\n bottom: 0;\\n left: 0;\\n\\n text-align: center;\\n}\\n\\n.hidden_834 {\\n visibility: hidden;\\n\\n font-weight: bold;\\n}\\n\\n.tabCounter_8f8 {\\n padding-left: 8px;\\n\\n color: #737577;\\n\\n color: var(--ring-secondary-color);\\n\\n font-size: 12px;\\n font-weight: normal;\\n line-height: 19px; /* prevent jumps in Firefox */\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"line-shadow\": \"inset 0 -1px 0 0\",\n\t\"selected-line-shadow\": \"inset 0 -3px 0 0\",\n\t\"title\": \"title_87d \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"font\"] + \"\",\n\t\"selected\": \"selected_8b2\",\n\t\"tabs\": \"tabs_e99 \" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"font\"] + \"\",\n\t\"titles\": \"titles_733\",\n\t\"light\": \"light_5cd\",\n\t\"dark\": \"dark_ab1\",\n\t\"visible\": \"visible_523\",\n\t\"hidden\": \"hidden_834\",\n\t\"tabCounter\": \"tabCounter_8f8\"\n};\nmodule.exports = exports;\n","module.exports = \"<div\\n ng-class=\\\":: [styles.tabs, styles[theme]]\\\"\\n rg-shortcuts=\\\"ring-tabs\\\"\\n shortcuts-map=\\\"keyMap\\\"\\n shortcuts-focus=\\\"focus\\\"\\n>\\n <div\\n ng-class=\\\":: [styles.titles, tabsClass]\\\"\\n role=\\\"tablist\\\"\\n >\\n <button\\n role=\\\"tab\\\"\\n type=\\\"button\\\"\\n ng-repeat=\\\"pane in panes | orderBy:'tabIndex'\\\"\\n ng-click=\\\"control.select(pane)\\\"\\n ng-attr-tabindex=\\\"{{(pane.selected || pane.ngDisabled) ? -1 : 0}}\\\"\\n ng-disabled=\\\"pane.ngDisabled\\\"\\n data-test=\\\"ring-tab\\\"\\n ng-attr-data-test-active=\\\"{{pane.selected ? 'true' : 'false'}}\\\"\\n ng-attr-class=\\\"{{ tabClass(pane) }}\\\"\\n ><span\\n ng-class=\\\":: styles.visible\\\">{{pane.title}}<span\\n ng-class=\\\":: styles.tabCounter\\\"\\n ng-show=\\\"pane.counter !== undefined\\\">{{ pane.counter }}</span\\n ></span><!--\\n hack for preserving constant tab width\\n --><span ng-class=\\\":: styles.hidden\\\">{{pane.title}}<span\\n ng-class=\\\":: styles.tabCounter\\\" ng-show=\\\"pane.counter !== undefined\\\">{{ pane.counter }}</span></span>\\n </button>\\n </div>\\n\\n <div ng-transclude></div>\\n\\n</div>\\n\";","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".tagsInput_cb1 {\\n padding-top: 2px;\\n padding-bottom: 2px;\\n\\n white-space: normal;\\n}\\n\\n.tagsInputLegacyMode_39b {\\n padding-top: 0;\\n padding-bottom: 1px;\\n\\n border: 1px solid #b8d1e5;\\n\\n border: 1px solid var(--ring-borders-color);\\n background-color: #fff;\\n background-color: var(--ring-content-background-color)\\n}\\n\\n.tagsInputLegacyMode_39b .tagsList_925 {\\n padding-top: 1px;\\n\\n line-height: 20px;\\n }\\n\\n.tagsInputLegacyMode_39b .tag_292 {\\n margin-right: 2px;\\n }\\n\\n.tagsInputDisabled_c7c {\\n pointer-events: none;\\n\\n color: #999;\\n\\n color: var(--ring-disabled-color)\\n}\\n\\n.tagsInputDisabled_c7c .underline_417 {\\n border-bottom-style: dashed;\\n }\\n\\n.tagsInputFocused_61f {\\n border-color: #008eff;\\n border-color: var(--ring-main-color);\\n}\\n\\n.tagsList_925 {\\n display: inline-block;\\n\\n box-sizing: border-box;\\n\\n width: 100%;\\n margin-bottom: -1px;\\n\\n padding-left: 2px;\\n\\n line-height: 22px;\\n}\\n\\n.tagsSelect_aac {\\n margin-bottom: -1px\\n}\\n\\n.tagsSelect_aac > div {\\n min-height: 20px;\\n }\\n\\n.tagsSelect_aac input {\\n min-height: 20px;\\n }\\n\\n.underline_417 {\\n height: 1px;\\n\\n border-bottom: #b8d1e5 1px solid;\\n\\n border-bottom: var(--ring-borders-color) 1px solid;\\n}\\n\\n.focusUnderline_d8a {\\n width: 0;\\n height: 2px;\\n\\n margin-top: -1px;\\n\\n transition: width 0.15s ease-out;\\n\\n background: #008eff;\\n\\n background: var(--ring-main-color)\\n}\\n\\n.tagsInputFocused_61f .focusUnderline_d8a {\\n width: 100%\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"tagsInput\": \"tagsInput_cb1\",\n\t\"tagsInputLegacyMode\": \"tagsInputLegacyMode_39b\",\n\t\"tagsList\": \"tagsList_925\",\n\t\"tag\": \"tag_292\",\n\t\"tagsInputDisabled\": \"tagsInputDisabled_c7c\",\n\t\"underline\": \"underline_417\",\n\t\"tagsInputFocused\": \"tagsInputFocused_61f\",\n\t\"tagsSelect\": \"tagsSelect_aac\",\n\t\"focusUnderline\": \"focusUnderline_d8a\"\n};\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_ICSS_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/global.css\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../css-loader/dist/cjs.js??ref--6-1!../../../../postcss-loader/src/index.js!../global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \".toggle_2cd {\\n cursor: pointer\\n}\\n\\n@media (hover: hover), (-moz-touch-enabled: 0), (-ms-high-contrast: none), (-ms-high-contrast: active) {.toggle_2cd:hover .switch_7e5 {\\n background-color: #80c6ff;\\n background-color: var(--ring-border-hover-color);\\n }}\\n\\n.toggle_2cd.disabled_696 {\\n pointer-events: none;\\n }\\n\\n.label_a30 {\\n margin-left: 4px;\\n}\\n\\n.leftLabel_280 {\\n margin-right: 4px;\\n}\\n\\n.light_88b .switch_7e5 {\\n background-color: #b8d1e5;\\n background-color: var(--ring-icon-color)\\n }\\n\\n.light_88b .switch_7e5::before {\\n background-color: #fff;\\n background-color: var(--ring-content-background-color);\\n }\\n\\n.dark_6c3 .switch_7e5 {\\n background-color: #406380;\\n background-color: var(--ring-hint-color)\\n }\\n\\n.dark_6c3 .switch_7e5::before {\\n background-color: #000;\\n background-color: var(--ring-navigation-background-color);\\n }\\n\\n.switchWrapper_801 {\\n position: relative;\\n\\n display: inline-block;\\n\\n width: 24px;\\n height: 16px;\\n\\n vertical-align: -3px;\\n}\\n\\n.input_ee9 {\\n position: absolute;\\n top: 0;\\n left: 0;\\n\\n width: 100%;\\n height: 100%;\\n\\n margin: 0;\\n\\n opacity: 0;\\n}\\n\\n.switch_7e5 {\\n position: relative;\\n\\n display: block;\\n\\n width: 100%;\\n height: 100%;\\n\\n transition: background-color cubic-bezier(0.23, 1, 0.32, 1) 300ms;\\n\\n border-radius: 8px\\n}\\n\\n.input_ee9:focus + .switch_7e5 {\\n box-shadow: inset 0 0 0 1px #80c6ff, 0 0 0 1px #80c6ff;\\n box-shadow: inset 0 0 0 1px var(--ring-border-hover-color), 0 0 0 1px var(--ring-border-hover-color)\\n}\\n\\n.switch_7e5::before {\\n position: absolute;\\n top: 2px;\\n left: 0;\\n\\n width: 12px;\\n height: 12px;\\n\\n content: \\\"\\\";\\n\\n transition: transform cubic-bezier(0.23, 1, 0.32, 1) 300ms;\\n\\n transform: translateX(2px);\\n\\n border-radius: 6px;\\n }\\n\\n.input_ee9:checked + .switch_7e5 {\\n background-color: #008eff;\\n background-color: var(--ring-main-color);\\n}\\n\\n.input_ee9:checked + ::before {\\n transform: translateX(10px);\\n}\\n\\n.input_ee9[disabled] + ::after {\\n position: absolute;\\n top: 0;\\n left: 0;\\n\\n width: 100%;\\n height: 100%;\\n\\n content: \\\"\\\";\\n\\n border-radius: 8px;\\n background-image:\\n linear-gradient(\\n 45deg,\\n transparent,\\n transparent 37.5%,\\n rgba(255, 255, 255, 0.9) 37.5%,\\n rgba(255, 255, 255, 0.9) 50%,\\n transparent 50%,\\n transparent 87.5%,\\n rgba(255, 255, 255, 0.9) 87.5%,\\n rgba(255, 255, 255, 0.9)\\n );\\n background-repeat: repeat;\\n background-size: 4px 4px;\\n}\\n\\n.paleSwitch_fd2.paleSwitch_fd2 {\\n background-color: #cfdbe5;\\n background-color: var(--ring-pale-control-color);\\n}\\n\\n.input_ee9:checked + .paleSwitch_fd2 {\\n background-color: #80c6ff;\\n background-color: var(--ring-border-hover-color);\\n}\\n\", \"\"]);\n// Exports\nexports.locals = {\n\t\"unit\": \"\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"unit\"] + \"\",\n\t\"padding\": \"2px\",\n\t\"disabled-line-color\": \"rgba(255, 255, 255, 0.9)\",\n\t\"duration\": \"300ms\",\n\t\"timing-function\": \"cubic-bezier(0.23, 1, 0.32, 1)\",\n\t\"toggle\": \"toggle_2cd\",\n\t\"switch\": \"switch_7e5\",\n\t\"disabled\": \"disabled_696\",\n\t\"label\": \"label_a30\",\n\t\"leftLabel\": \"leftLabel_280\",\n\t\"light\": \"light_88b\",\n\t\"dark\": \"dark_6c3\",\n\t\"switchWrapper\": \"switchWrapper_801\",\n\t\"input\": \"input_ee9\",\n\t\"paleSwitch\": \"paleSwitch_fd2\"\n};\nmodule.exports = exports;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./tooltip-ng.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".ring-tooltip-ng{max-width:400px;padding:8px;text-align:left}.ring-tooltip-ng__hint-icon{margin-left:8px;color:#b8d1e5;color:var(--ring-icon-color);cursor:pointer;position:relative;top:-2px}.ring-tooltip-ng_open .ring-tooltip-ng__hint-icon{color:#ff008c;color:var(--ring-link-hover-color)}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var content = require(\"!!../../../../css-loader/dist/cjs.js!../../../../postcss-loader/src/index.js!../../../../sass-loader/dist/cjs.js??ref--8-3!./input-size.scss\");\ncontent = content.__esModule ? content.default : content;\n\nif (typeof content === 'string') {\n content = [[module.id, content, '']];\n}\n\nvar options = {}\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = require(\"!../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js\")(content, options);\n\nif (content.locals) {\n module.exports = content.locals;\n}\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".ring-error-bubble{z-index:2;box-sizing:border-box;display:none;position:absolute;top:0;left:calc(100% + 2px);min-height:24px;padding-right:16px;padding-left:16px;line-height:22px;border-radius:3px;border-radius:var(--ring-border-radius);border:1px solid rgba(0, 42, 76, 0.1);border:1px solid var(--ring-popup-border-color);color:#1f2326;color:var(--ring-text-color);font-size:12px;font-family:system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;font-family:var(--ring-font-family);white-space:nowrap;color:#c22731;color:var(--ring-error-color);background:#fff;background:var(--ring-popup-background-color);box-shadow:0 2px 16px 0 rgba(0, 42, 76, 0.15);box-shadow:0 2px 16px 0 var(--ring-popup-shadow-color)}.ring-error-bubble.active{display:inline-block}.ring-error-bubble:before{content:\\\"\\\";transform:rotate(45deg);z-index:-1;z-index:var(--ring-invisible-element-z-index);position:absolute;top:7px;left:-5px;display:block;width:8px;height:8px;border:1px solid rgba(0, 42, 76, 0.1);border:1px solid var(--ring-popup-border-color);border-right:none;border-top:none;background:#fff;background:var(--ring-popup-background-color)}.ring-error-bubble_material{padding-left:8px;box-shadow:none;border:0;background-color:transparent;background:none}.ring-error-bubble_material:before{display:none}.ring-form__control .ring-error-bubble{top:1px}.ring-error-bubble-wrapper{position:relative}.ring-input-size_xs.ring-input-size_xs{display:inline-block;width:50px}.ring-input-size_xs.ring-input-size_xs~.ring-error-bubble{left:52px}.ring-input-size_s.ring-input-size_s{display:inline-block;width:100px}.ring-input-size_s.ring-input-size_s~.ring-error-bubble{left:102px}.ring-input-size_md.ring-input-size_md{display:inline-block;width:200px}.ring-input-size_md.ring-input-size_md~.ring-error-bubble{left:202px}.ring-input-size_l.ring-input-size_l{display:inline-block;width:400px}.ring-input-size_l.ring-input-size_l~.ring-error-bubble{left:402px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_AT_RULE_IMPORT_0___ = require(\"-!../../../../node_modules/css-loader/dist/cjs.js!@jetbrains/ring-ui/components/global/variables.css\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\nexports.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n// Module\nexports.push([module.id, \"html,.app-root{height:100%}.search-root{margin:0;padding:0;background:var(--ring-content-background-color);font-family:var(--ring-font-family);font-size:var(--ring-font-size);line-height:var(--ring-line-height)}.search-content{padding:24px 41px}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"/* stylelint-disable color-no-hex */\\n\\n:root {\\n --ring-unit: 8px;\\n\\n /* Element */\\n --ring-line-color: #dfe5eb;\\n --ring-dark-line-color: #475159;\\n --ring-borders-color: #b8d1e5;\\n --ring-dark-borders-color: #406380;\\n --ring-icon-color: var(--ring-borders-color);\\n --ring-icon-secondary-color: #999;\\n --ring-border-disabled-color: #dbdbdb;\\n --ring-icon-disabled-color: #bbb;\\n --ring-border-hover-color: #80c6ff;\\n --ring-dark-border-hover-color: #70b1e6;\\n --ring-icon-hover-color: var(--ring-border-hover-color);\\n --ring-main-color: #008eff;\\n --ring-main-hover-color: #007ee5;\\n --ring-icon-error-color: #db5860;\\n --ring-icon-warning-color: #eda200;\\n --ring-icon-success-color: #59a869;\\n --ring-pale-control-color: #cfdbe5;\\n --ring-popup-border-components: 0, 42, 76;\\n --ring-popup-border-color: rgba(var(--ring-popup-border-components), 0.1);\\n --ring-popup-shadow-color: rgba(var(--ring-popup-border-components), 0.15);\\n --ring-message-shadow-color: rgba(var(--ring-popup-border-components), 0.3);\\n\\n /* Text */\\n --ring-search-color: #669ecc;\\n --ring-hint-color: #406380;\\n --ring-link-color: #0f5b99;\\n --ring-link-hover-color: #ff008c;\\n --ring-error-color: #c22731;\\n --ring-warning-color: #cc8b00;\\n --ring-success-color: #1b8833;\\n --ring-text-color: #1f2326;\\n --ring-dark-text-color: #fff;\\n --ring-heading-color: var(--ring-text-color);\\n --ring-secondary-color: #737577;\\n --ring-dark-secondary-color: #888;\\n --ring-disabled-color: #999;\\n --ring-dark-disabled-color: #444;\\n --ring-dark-active-color: #ccc;\\n\\n /* Background */\\n --ring-content-background-color: #fff;\\n --ring-popup-background-color: #fff;\\n --ring-sidebar-background-color: #f7f9fa;\\n --ring-selected-background-color: #d4edff;\\n --ring-hover-background-color: #ebf6ff;\\n --ring-dark-selected-background-color: #002a4d;\\n --ring-message-background-color: #111314;\\n --ring-navigation-background-color: #000;\\n --ring-tag-background-color: #e6ecf2;\\n --ring-removed-background-color: #ffd5cb;\\n --ring-warning-background-color: #faeccd;\\n --ring-added-background-color: #bce8bb;\\n\\n /* Code */\\n --ring-code-background-color: var(--ring-content-background-color);\\n --ring-code-color: #000;\\n --ring-code-comment-color: #707070;\\n --ring-code-meta-color: #707070;\\n --ring-code-keyword-color: #000080;\\n --ring-code-tag-background-color: #efefef;\\n --ring-code-tag-color: var(--ring-code-keyword-color);\\n --ring-code-tag-font-weight: bold;\\n --ring-code-field-color: #660e7a;\\n --ring-code-attribute-color: #00f;\\n --ring-code-number-color: var(--ring-code-attribute-color);\\n --ring-code-string-color: #007a00;\\n --ring-code-addition-color: #aadeaa;\\n --ring-code-deletion-color: #c8c8c8;\\n\\n /* Metrics */\\n --ring-border-radius: 3px;\\n --ring-border-radius-small: 2px;\\n --ring-font-size-larger: 14px;\\n --ring-font-size: 13px;\\n --ring-font-size-smaller: 12px;\\n --ring-line-height-taller: 21px;\\n --ring-line-height: 20px;\\n --ring-line-height-lower: 18px;\\n --ring-line-height-lowest: 16px;\\n --ring-ease: 0.3s ease-out;\\n --ring-fast-ease: 0.15s ease-out;\\n --ring-font-family: system-ui, Arial, sans-serif;\\n --ring-font-family-monospace: Menlo, \\\"Bitstream Vera Sans Mono\\\", \\\"Ubuntu Mono\\\", Consolas, \\\"Courier New\\\", Courier, monospace;\\n\\n /* Common z-index-values */\\n\\n /* Invisible element is an absolutely positioned element which should be below */\\n /* all other elements on the page */\\n --ring-invisible-element-z-index: -1;\\n\\n /* z-index for position: fixed elements */\\n --ring-fixed-z-index: 1;\\n\\n /* Elements that should overlay all other elements on the page */\\n --ring-overlay-z-index: 5;\\n\\n /* Alerts should de displayed above overlays */\\n --ring-alert-z-index: 6;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n","/**\n * Commonly used icon colors.\n * @enum {string}\n */\nexport const Color = {\n BLUE: 'blue',\n DEFAULT: '',\n GRAY: 'gray',\n GREEN: 'green',\n MAGENTA: 'magenta',\n RED: 'red',\n WHITE: 'white'\n};\n\n/**\n * @enum {number}\n */\nexport const Size = {\n Size12: 12,\n Size14: 14,\n Size16: 16,\n Size18: 18,\n Size20: 20,\n Size24: 24,\n Size32: 32,\n Size40: 40,\n Size48: 48,\n Size64: 64,\n Size96: 96,\n Size128: 128\n};\n","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","export default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nfunction componentWillMount() {\n // Call this.constructor.gDSFP to support sub-classes.\n var state = this.constructor.getDerivedStateFromProps(this.props, this.state);\n if (state !== null && state !== undefined) {\n this.setState(state);\n }\n}\n\nfunction componentWillReceiveProps(nextProps) {\n // Call this.constructor.gDSFP to support sub-classes.\n // Use the setState() updater to ensure state isn't stale in certain edge cases.\n function updater(prevState) {\n var state = this.constructor.getDerivedStateFromProps(nextProps, prevState);\n return state !== null && state !== undefined ? state : null;\n }\n // Binding \"this\" is important for shallow renderer support.\n this.setState(updater.bind(this));\n}\n\nfunction componentWillUpdate(nextProps, nextState) {\n try {\n var prevProps = this.props;\n var prevState = this.state;\n this.props = nextProps;\n this.state = nextState;\n this.__reactInternalSnapshotFlag = true;\n this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(\n prevProps,\n prevState\n );\n } finally {\n this.props = prevProps;\n this.state = prevState;\n }\n}\n\n// React may warn about cWM/cWRP/cWU methods being deprecated.\n// Add a flag to suppress these warnings for this special case.\ncomponentWillMount.__suppressDeprecationWarning = true;\ncomponentWillReceiveProps.__suppressDeprecationWarning = true;\ncomponentWillUpdate.__suppressDeprecationWarning = true;\n\nfunction polyfill(Component) {\n var prototype = Component.prototype;\n\n if (!prototype || !prototype.isReactComponent) {\n throw new Error('Can only polyfill class components');\n }\n\n if (\n typeof Component.getDerivedStateFromProps !== 'function' &&\n typeof prototype.getSnapshotBeforeUpdate !== 'function'\n ) {\n return Component;\n }\n\n // If new component APIs are defined, \"unsafe\" lifecycles won't be called.\n // Error if any of these lifecycles are present,\n // Because they would work differently between older and newer (16.3+) versions of React.\n var foundWillMountName = null;\n var foundWillReceivePropsName = null;\n var foundWillUpdateName = null;\n if (typeof prototype.componentWillMount === 'function') {\n foundWillMountName = 'componentWillMount';\n } else if (typeof prototype.UNSAFE_componentWillMount === 'function') {\n foundWillMountName = 'UNSAFE_componentWillMount';\n }\n if (typeof prototype.componentWillReceiveProps === 'function') {\n foundWillReceivePropsName = 'componentWillReceiveProps';\n } else if (typeof prototype.UNSAFE_componentWillReceiveProps === 'function') {\n foundWillReceivePropsName = 'UNSAFE_componentWillReceiveProps';\n }\n if (typeof prototype.componentWillUpdate === 'function') {\n foundWillUpdateName = 'componentWillUpdate';\n } else if (typeof prototype.UNSAFE_componentWillUpdate === 'function') {\n foundWillUpdateName = 'UNSAFE_componentWillUpdate';\n }\n if (\n foundWillMountName !== null ||\n foundWillReceivePropsName !== null ||\n foundWillUpdateName !== null\n ) {\n var componentName = Component.displayName || Component.name;\n var newApiName =\n typeof Component.getDerivedStateFromProps === 'function'\n ? 'getDerivedStateFromProps()'\n : 'getSnapshotBeforeUpdate()';\n\n throw Error(\n 'Unsafe legacy lifecycles will not be called for components using new component APIs.\\n\\n' +\n componentName +\n ' uses ' +\n newApiName +\n ' but also contains the following legacy lifecycles:' +\n (foundWillMountName !== null ? '\\n ' + foundWillMountName : '') +\n (foundWillReceivePropsName !== null\n ? '\\n ' + foundWillReceivePropsName\n : '') +\n (foundWillUpdateName !== null ? '\\n ' + foundWillUpdateName : '') +\n '\\n\\nThe above lifecycles should be removed. Learn more about this warning here:\\n' +\n 'https://fb.me/react-async-component-lifecycle-hooks'\n );\n }\n\n // React <= 16.2 does not support static getDerivedStateFromProps.\n // As a workaround, use cWM and cWRP to invoke the new static lifecycle.\n // Newer versions of React will ignore these lifecycles if gDSFP exists.\n if (typeof Component.getDerivedStateFromProps === 'function') {\n prototype.componentWillMount = componentWillMount;\n prototype.componentWillReceiveProps = componentWillReceiveProps;\n }\n\n // React <= 16.2 does not support getSnapshotBeforeUpdate.\n // As a workaround, use cWU to invoke the new lifecycle.\n // Newer versions of React will ignore that lifecycle if gSBU exists.\n if (typeof prototype.getSnapshotBeforeUpdate === 'function') {\n if (typeof prototype.componentDidUpdate !== 'function') {\n throw new Error(\n 'Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype'\n );\n }\n\n prototype.componentWillUpdate = componentWillUpdate;\n\n var componentDidUpdate = prototype.componentDidUpdate;\n\n prototype.componentDidUpdate = function componentDidUpdatePolyfill(\n prevProps,\n prevState,\n maybeSnapshot\n ) {\n // 16.3+ will not execute our will-update method;\n // It will pass a snapshot value to did-update though.\n // Older versions will require our polyfilled will-update value.\n // We need to handle both cases, but can't just check for the presence of \"maybeSnapshot\",\n // Because for <= 15.x versions this might be a \"prevContext\" object.\n // We also can't just check \"__reactInternalSnapshot\",\n // Because get-snapshot might return a falsy value.\n // So check for the explicit __reactInternalSnapshotFlag flag to determine behavior.\n var snapshot = this.__reactInternalSnapshotFlag\n ? this.__reactInternalSnapshot\n : maybeSnapshot;\n\n componentDidUpdate.call(this, prevProps, prevState, snapshot);\n };\n }\n\n return Component;\n}\n\nexport { polyfill };\n","import React, { createFactory, Component, createElement } from 'react';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport shallowEqual from 'fbjs/lib/shallowEqual';\nimport _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';\nimport { polyfill } from 'react-lifecycles-compat';\nimport _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport { createChangeEmitter } from 'change-emitter';\nimport $$observable from 'symbol-observable';\n\nvar setStatic = function setStatic(key, value) {\n return function (BaseComponent) {\n /* eslint-disable no-param-reassign */\n BaseComponent[key] = value;\n /* eslint-enable no-param-reassign */\n\n return BaseComponent;\n };\n};\n\nvar setDisplayName = function setDisplayName(displayName) {\n return setStatic('displayName', displayName);\n};\n\nvar getDisplayName = function getDisplayName(Component$$1) {\n if (typeof Component$$1 === 'string') {\n return Component$$1;\n }\n\n if (!Component$$1) {\n return undefined;\n }\n\n return Component$$1.displayName || Component$$1.name || 'Component';\n};\n\nvar wrapDisplayName = function wrapDisplayName(BaseComponent, hocName) {\n return hocName + \"(\" + getDisplayName(BaseComponent) + \")\";\n};\n\nvar mapProps = function mapProps(propsMapper) {\n return function (BaseComponent) {\n var factory = createFactory(BaseComponent);\n\n var MapProps = function MapProps(props) {\n return factory(propsMapper(props));\n };\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'mapProps'))(MapProps);\n }\n\n return MapProps;\n };\n};\n\nvar withProps = function withProps(input) {\n var hoc = mapProps(function (props) {\n return _extends({}, props, typeof input === 'function' ? input(props) : input);\n });\n\n if (process.env.NODE_ENV !== 'production') {\n return function (BaseComponent) {\n return setDisplayName(wrapDisplayName(BaseComponent, 'withProps'))(hoc(BaseComponent));\n };\n }\n\n return hoc;\n};\n\nvar pick = function pick(obj, keys) {\n var result = {};\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (obj.hasOwnProperty(key)) {\n result[key] = obj[key];\n }\n }\n\n return result;\n};\n\nvar withPropsOnChange = function withPropsOnChange(shouldMapOrKeys, propsMapper) {\n return function (BaseComponent) {\n var factory = createFactory(BaseComponent);\n var shouldMap = typeof shouldMapOrKeys === 'function' ? shouldMapOrKeys : function (props, nextProps) {\n return !shallowEqual(pick(props, shouldMapOrKeys), pick(nextProps, shouldMapOrKeys));\n };\n\n var WithPropsOnChange =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(WithPropsOnChange, _Component);\n\n function WithPropsOnChange() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n _this.state = {\n computedProps: propsMapper(_this.props),\n prevProps: _this.props\n };\n return _this;\n }\n\n WithPropsOnChange.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, prevState) {\n if (shouldMap(prevState.prevProps, nextProps)) {\n return {\n computedProps: propsMapper(nextProps),\n prevProps: nextProps\n };\n }\n\n return {\n prevProps: nextProps\n };\n };\n\n var _proto = WithPropsOnChange.prototype;\n\n _proto.render = function render() {\n return factory(_extends({}, this.props, this.state.computedProps));\n };\n\n return WithPropsOnChange;\n }(Component);\n\n polyfill(WithPropsOnChange);\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'withPropsOnChange'))(WithPropsOnChange);\n }\n\n return WithPropsOnChange;\n };\n};\n\nvar mapValues = function mapValues(obj, func) {\n var result = {};\n /* eslint-disable no-restricted-syntax */\n\n for (var key in obj) {\n if (obj.hasOwnProperty(key)) {\n result[key] = func(obj[key], key);\n }\n }\n /* eslint-enable no-restricted-syntax */\n\n\n return result;\n};\n\nvar withHandlers = function withHandlers(handlers) {\n return function (BaseComponent) {\n var factory = createFactory(BaseComponent);\n\n var WithHandlers =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(WithHandlers, _Component);\n\n function WithHandlers() {\n var _this;\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(_args)) || this;\n _this.handlers = mapValues(typeof handlers === 'function' ? handlers(_this.props) : handlers, function (createHandler) {\n return function () {\n var handler = createHandler(_this.props);\n\n if (process.env.NODE_ENV !== 'production' && typeof handler !== 'function') {\n console.error( // eslint-disable-line no-console\n 'withHandlers(): Expected a map of higher-order functions. ' + 'Refer to the docs for more info.');\n }\n\n return handler.apply(void 0, arguments);\n };\n });\n return _this;\n }\n\n var _proto = WithHandlers.prototype;\n\n _proto.render = function render() {\n return factory(_extends({}, this.props, this.handlers));\n };\n\n return WithHandlers;\n }(Component);\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'withHandlers'))(WithHandlers);\n }\n\n return WithHandlers;\n };\n};\n\nvar defaultProps = function defaultProps(props) {\n return function (BaseComponent) {\n var factory = createFactory(BaseComponent);\n\n var DefaultProps = function DefaultProps(ownerProps) {\n return factory(ownerProps);\n };\n\n DefaultProps.defaultProps = props;\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'defaultProps'))(DefaultProps);\n }\n\n return DefaultProps;\n };\n};\n\nvar omit = function omit(obj, keys) {\n var rest = _extends({}, obj);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (rest.hasOwnProperty(key)) {\n delete rest[key];\n }\n }\n\n return rest;\n};\n\nvar renameProp = function renameProp(oldName, newName) {\n var hoc = mapProps(function (props) {\n var _extends2;\n\n return _extends({}, omit(props, [oldName]), (_extends2 = {}, _extends2[newName] = props[oldName], _extends2));\n });\n\n if (process.env.NODE_ENV !== 'production') {\n return function (BaseComponent) {\n return setDisplayName(wrapDisplayName(BaseComponent, 'renameProp'))(hoc(BaseComponent));\n };\n }\n\n return hoc;\n};\n\nvar keys = Object.keys;\n\nvar mapKeys = function mapKeys(obj, func) {\n return keys(obj).reduce(function (result, key) {\n var val = obj[key];\n /* eslint-disable no-param-reassign */\n\n result[func(val, key)] = val;\n /* eslint-enable no-param-reassign */\n\n return result;\n }, {});\n};\n\nvar renameProps = function renameProps(nameMap) {\n var hoc = mapProps(function (props) {\n return _extends({}, omit(props, keys(nameMap)), mapKeys(pick(props, keys(nameMap)), function (_, oldName) {\n return nameMap[oldName];\n }));\n });\n\n if (process.env.NODE_ENV !== 'production') {\n return function (BaseComponent) {\n return setDisplayName(wrapDisplayName(BaseComponent, 'renameProps'))(hoc(BaseComponent));\n };\n }\n\n return hoc;\n};\n\nvar flattenProp = function flattenProp(propName) {\n return function (BaseComponent) {\n var factory = createFactory(BaseComponent);\n\n var FlattenProp = function FlattenProp(props) {\n return factory(_extends({}, props, props[propName]));\n };\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'flattenProp'))(FlattenProp);\n }\n\n return FlattenProp;\n };\n};\n\nvar withState = function withState(stateName, stateUpdaterName, initialState) {\n return function (BaseComponent) {\n var factory = createFactory(BaseComponent);\n\n var WithState =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(WithState, _Component);\n\n function WithState() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n _this.state = {\n stateValue: typeof initialState === 'function' ? initialState(_this.props) : initialState\n };\n\n _this.updateStateValue = function (updateFn, callback) {\n return _this.setState(function (_ref) {\n var stateValue = _ref.stateValue;\n return {\n stateValue: typeof updateFn === 'function' ? updateFn(stateValue) : updateFn\n };\n }, callback);\n };\n\n return _this;\n }\n\n var _proto = WithState.prototype;\n\n _proto.render = function render() {\n var _extends2;\n\n return factory(_extends({}, this.props, (_extends2 = {}, _extends2[stateName] = this.state.stateValue, _extends2[stateUpdaterName] = this.updateStateValue, _extends2)));\n };\n\n return WithState;\n }(Component);\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'withState'))(WithState);\n }\n\n return WithState;\n };\n};\n\nvar withStateHandlers = function withStateHandlers(initialState, stateUpdaters) {\n return function (BaseComponent) {\n var factory = createFactory(BaseComponent);\n\n var WithStateHandlers =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(WithStateHandlers, _Component);\n\n function WithStateHandlers() {\n var _this;\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(_args)) || this;\n _this.state = typeof initialState === 'function' ? initialState(_this.props) : initialState;\n _this.stateUpdaters = mapValues(stateUpdaters, function (handler) {\n return function (mayBeEvent) {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n // Having that functional form of setState can be called async\n // we need to persist SyntheticEvent\n if (mayBeEvent && typeof mayBeEvent.persist === 'function') {\n mayBeEvent.persist();\n }\n\n _this.setState(function (state, props) {\n return handler(state, props).apply(void 0, [mayBeEvent].concat(args));\n });\n };\n });\n return _this;\n }\n\n var _proto = WithStateHandlers.prototype;\n\n _proto.render = function render() {\n return factory(_extends({}, this.props, this.state, this.stateUpdaters));\n };\n\n return WithStateHandlers;\n }(Component);\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'withStateHandlers'))(WithStateHandlers);\n }\n\n return WithStateHandlers;\n };\n};\n\nvar noop = function noop() {};\n\nvar withReducer = function withReducer(stateName, dispatchName, reducer, initialState) {\n return function (BaseComponent) {\n var factory = createFactory(BaseComponent);\n\n var WithReducer =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(WithReducer, _Component);\n\n function WithReducer() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n _this.state = {\n stateValue: _this.initializeStateValue()\n };\n\n _this.dispatch = function (action, callback) {\n if (callback === void 0) {\n callback = noop;\n }\n\n return _this.setState(function (_ref) {\n var stateValue = _ref.stateValue;\n return {\n stateValue: reducer(stateValue, action)\n };\n }, function () {\n return callback(_this.state.stateValue);\n });\n };\n\n return _this;\n }\n\n var _proto = WithReducer.prototype;\n\n _proto.initializeStateValue = function initializeStateValue() {\n if (initialState !== undefined) {\n return typeof initialState === 'function' ? initialState(this.props) : initialState;\n }\n\n return reducer(undefined, {\n type: '@@recompose/INIT'\n });\n };\n\n _proto.render = function render() {\n var _extends2;\n\n return factory(_extends({}, this.props, (_extends2 = {}, _extends2[stateName] = this.state.stateValue, _extends2[dispatchName] = this.dispatch, _extends2)));\n };\n\n return WithReducer;\n }(Component);\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'withReducer'))(WithReducer);\n }\n\n return WithReducer;\n };\n};\n\nvar identity = function identity(Component$$1) {\n return Component$$1;\n};\n\nvar branch = function branch(test, left, right) {\n if (right === void 0) {\n right = identity;\n }\n\n return function (BaseComponent) {\n var leftFactory;\n var rightFactory;\n\n var Branch = function Branch(props) {\n if (test(props)) {\n leftFactory = leftFactory || createFactory(left(BaseComponent));\n return leftFactory(props);\n }\n\n rightFactory = rightFactory || createFactory(right(BaseComponent));\n return rightFactory(props);\n };\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'branch'))(Branch);\n }\n\n return Branch;\n };\n};\n\nvar renderComponent = function renderComponent(Component$$1) {\n return function (_) {\n var factory = createFactory(Component$$1);\n\n var RenderComponent = function RenderComponent(props) {\n return factory(props);\n };\n\n if (process.env.NODE_ENV !== 'production') {\n RenderComponent.displayName = wrapDisplayName(Component$$1, 'renderComponent');\n }\n\n return RenderComponent;\n };\n};\n\nvar Nothing =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(Nothing, _Component);\n\n function Nothing() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = Nothing.prototype;\n\n _proto.render = function render() {\n return null;\n };\n\n return Nothing;\n}(Component);\n\nvar renderNothing = function renderNothing(_) {\n return Nothing;\n};\n\nvar shouldUpdate = function shouldUpdate(test) {\n return function (BaseComponent) {\n var factory = createFactory(BaseComponent);\n\n var ShouldUpdate =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(ShouldUpdate, _Component);\n\n function ShouldUpdate() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = ShouldUpdate.prototype;\n\n _proto.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n return test(this.props, nextProps);\n };\n\n _proto.render = function render() {\n return factory(this.props);\n };\n\n return ShouldUpdate;\n }(Component);\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'shouldUpdate'))(ShouldUpdate);\n }\n\n return ShouldUpdate;\n };\n};\n\nvar pure = function pure(BaseComponent) {\n var hoc = shouldUpdate(function (props, nextProps) {\n return !shallowEqual(props, nextProps);\n });\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'pure'))(hoc(BaseComponent));\n }\n\n return hoc(BaseComponent);\n};\n\nvar onlyUpdateForKeys = function onlyUpdateForKeys(propKeys) {\n var hoc = shouldUpdate(function (props, nextProps) {\n return !shallowEqual(pick(nextProps, propKeys), pick(props, propKeys));\n });\n\n if (process.env.NODE_ENV !== 'production') {\n return function (BaseComponent) {\n return setDisplayName(wrapDisplayName(BaseComponent, 'onlyUpdateForKeys'))(hoc(BaseComponent));\n };\n }\n\n return hoc;\n};\n\nvar onlyUpdateForPropTypes = function onlyUpdateForPropTypes(BaseComponent) {\n var propTypes = BaseComponent.propTypes;\n\n if (process.env.NODE_ENV !== 'production') {\n if (!propTypes) {\n /* eslint-disable */\n console.error('A component without any `propTypes` was passed to ' + '`onlyUpdateForPropTypes()`. Check the implementation of the ' + (\"component with display name \\\"\" + getDisplayName(BaseComponent) + \"\\\".\"));\n /* eslint-enable */\n }\n }\n\n var propKeys = Object.keys(propTypes || {});\n var OnlyUpdateForPropTypes = onlyUpdateForKeys(propKeys)(BaseComponent);\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'onlyUpdateForPropTypes'))(OnlyUpdateForPropTypes);\n }\n\n return OnlyUpdateForPropTypes;\n};\n\nvar withContext = function withContext(childContextTypes, getChildContext) {\n return function (BaseComponent) {\n var factory = createFactory(BaseComponent);\n\n var WithContext =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(WithContext, _Component);\n\n function WithContext() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n\n _this.getChildContext = function () {\n return getChildContext(_this.props);\n };\n\n return _this;\n }\n\n var _proto = WithContext.prototype;\n\n _proto.render = function render() {\n return factory(this.props);\n };\n\n return WithContext;\n }(Component);\n\n WithContext.childContextTypes = childContextTypes;\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'withContext'))(WithContext);\n }\n\n return WithContext;\n };\n};\n\nvar getContext = function getContext(contextTypes) {\n return function (BaseComponent) {\n var factory = createFactory(BaseComponent);\n\n var GetContext = function GetContext(ownerProps, context) {\n return factory(_extends({}, ownerProps, context));\n };\n\n GetContext.contextTypes = contextTypes;\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'getContext'))(GetContext);\n }\n\n return GetContext;\n };\n};\n\nvar lifecycle = function lifecycle(spec) {\n return function (BaseComponent) {\n var factory = createFactory(BaseComponent);\n\n if (process.env.NODE_ENV !== 'production' && spec.hasOwnProperty('render')) {\n console.error('lifecycle() does not support the render method; its behavior is to ' + 'pass all props and state to the base component.');\n }\n\n var Lifecycle =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(Lifecycle, _Component);\n\n function Lifecycle() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = Lifecycle.prototype;\n\n _proto.render = function render() {\n return factory(_extends({}, this.props, this.state));\n };\n\n return Lifecycle;\n }(Component);\n\n Object.keys(spec).forEach(function (hook) {\n return Lifecycle.prototype[hook] = spec[hook];\n });\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'lifecycle'))(Lifecycle);\n }\n\n return Lifecycle;\n };\n};\n\nvar isClassComponent = function isClassComponent(Component$$1) {\n return Boolean(Component$$1 && Component$$1.prototype && typeof Component$$1.prototype.render === 'function');\n};\n\nvar toClass = function toClass(baseComponent) {\n var _class, _temp;\n\n return isClassComponent(baseComponent) ? baseComponent : (_temp = _class =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(ToClass, _Component);\n\n function ToClass() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = ToClass.prototype;\n\n _proto.render = function render() {\n if (typeof baseComponent === 'string') {\n return React.createElement(baseComponent, this.props);\n }\n\n return baseComponent(this.props, this.context);\n };\n\n return ToClass;\n }(Component), _class.displayName = getDisplayName(baseComponent), _class.propTypes = baseComponent.propTypes, _class.contextTypes = baseComponent.contextTypes, _class.defaultProps = baseComponent.defaultProps, _temp);\n};\n\nfunction toRenderProps(hoc) {\n var RenderPropsComponent = function RenderPropsComponent(props) {\n return props.children(props);\n };\n\n return hoc(RenderPropsComponent);\n}\n\nvar fromRenderProps = function fromRenderProps(RenderPropsComponent, propsMapper, renderPropName) {\n if (renderPropName === void 0) {\n renderPropName = 'children';\n }\n\n return function (BaseComponent) {\n var baseFactory = React.createFactory(BaseComponent);\n var renderPropsFactory = React.createFactory(RenderPropsComponent);\n\n var FromRenderProps = function FromRenderProps(ownerProps) {\n var _renderPropsFactory;\n\n return renderPropsFactory((_renderPropsFactory = {}, _renderPropsFactory[renderPropName] = function () {\n return baseFactory(_extends({}, ownerProps, propsMapper.apply(void 0, arguments)));\n }, _renderPropsFactory));\n };\n\n if (process.env.NODE_ENV !== 'production') {\n return setDisplayName(wrapDisplayName(BaseComponent, 'fromRenderProps'))(FromRenderProps);\n }\n\n return FromRenderProps;\n };\n};\n\nvar setPropTypes = function setPropTypes(propTypes) {\n return setStatic('propTypes', propTypes);\n};\n\nvar compose = function compose() {\n for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n\n return funcs.reduce(function (a, b) {\n return function () {\n return a(b.apply(void 0, arguments));\n };\n }, function (arg) {\n return arg;\n });\n};\n\nvar createSink = function createSink(callback) {\n var Sink =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(Sink, _Component);\n\n function Sink() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n _this.state = {};\n return _this;\n }\n\n Sink.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps) {\n callback(nextProps);\n return null;\n };\n\n var _proto = Sink.prototype;\n\n _proto.render = function render() {\n return null;\n };\n\n return Sink;\n }(Component);\n\n polyfill(Sink);\n return Sink;\n};\n\nvar componentFromProp = function componentFromProp(propName) {\n var Component$$1 = function Component$$1(props) {\n return createElement(props[propName], omit(props, [propName]));\n };\n\n Component$$1.displayName = \"componentFromProp(\" + propName + \")\";\n return Component$$1;\n};\n\nvar nest = function nest() {\n for (var _len = arguments.length, Components = new Array(_len), _key = 0; _key < _len; _key++) {\n Components[_key] = arguments[_key];\n }\n\n var factories = Components.map(createFactory);\n\n var Nest = function Nest(_ref) {\n var children = _ref.children,\n props = _objectWithoutPropertiesLoose(_ref, [\"children\"]);\n\n return factories.reduceRight(function (child, factory) {\n return factory(props, child);\n }, children);\n };\n\n if (process.env.NODE_ENV !== 'production') {\n var displayNames = Components.map(getDisplayName);\n Nest.displayName = \"nest(\" + displayNames.join(', ') + \")\";\n }\n\n return Nest;\n};\n\nvar hoistStatics = function hoistStatics(higherOrderComponent, blacklist) {\n return function (BaseComponent) {\n var NewComponent = higherOrderComponent(BaseComponent);\n hoistNonReactStatics(NewComponent, BaseComponent, blacklist);\n return NewComponent;\n };\n};\n\nvar _config = {\n fromESObservable: null,\n toESObservable: null\n};\n\nvar configureObservable = function configureObservable(c) {\n _config = c;\n};\n\nvar config = {\n fromESObservable: function fromESObservable(observable) {\n return typeof _config.fromESObservable === 'function' ? _config.fromESObservable(observable) : observable;\n },\n toESObservable: function toESObservable(stream) {\n return typeof _config.toESObservable === 'function' ? _config.toESObservable(stream) : stream;\n }\n};\n\nvar componentFromStreamWithConfig = function componentFromStreamWithConfig(config$$1) {\n return function (propsToVdom) {\n return (\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(ComponentFromStream, _Component);\n\n function ComponentFromStream() {\n var _config$fromESObserva;\n\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n _this.state = {\n vdom: null\n };\n _this.propsEmitter = createChangeEmitter();\n _this.props$ = config$$1.fromESObservable((_config$fromESObserva = {\n subscribe: function subscribe(observer) {\n var unsubscribe = _this.propsEmitter.listen(function (props) {\n if (props) {\n observer.next(props);\n } else {\n observer.complete();\n }\n });\n\n return {\n unsubscribe: unsubscribe\n };\n }\n }, _config$fromESObserva[$$observable] = function () {\n return this;\n }, _config$fromESObserva));\n _this.vdom$ = config$$1.toESObservable(propsToVdom(_this.props$));\n return _this;\n }\n\n var _proto = ComponentFromStream.prototype;\n\n _proto.componentWillMount = function componentWillMount() {\n var _this2 = this;\n\n // Subscribe to child prop changes so we know when to re-render\n this.subscription = this.vdom$.subscribe({\n next: function next(vdom) {\n _this2.setState({\n vdom: vdom\n });\n }\n });\n this.propsEmitter.emit(this.props);\n };\n\n _proto.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n // Receive new props from the owner\n this.propsEmitter.emit(nextProps);\n };\n\n _proto.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) {\n return nextState.vdom !== this.state.vdom;\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n // Call without arguments to complete stream\n this.propsEmitter.emit(); // Clean-up subscription before un-mounting\n\n this.subscription.unsubscribe();\n };\n\n _proto.render = function render() {\n return this.state.vdom;\n };\n\n return ComponentFromStream;\n }(Component)\n );\n };\n};\n\nvar componentFromStream = function componentFromStream(propsToVdom) {\n return componentFromStreamWithConfig(config)(propsToVdom);\n};\n\nvar identity$1 = function identity(t) {\n return t;\n};\n\nvar mapPropsStreamWithConfig = function mapPropsStreamWithConfig(config$$1) {\n var componentFromStream$$1 = componentFromStreamWithConfig({\n fromESObservable: identity$1,\n toESObservable: identity$1\n });\n return function (transform) {\n return function (BaseComponent) {\n var factory = createFactory(BaseComponent);\n var fromESObservable = config$$1.fromESObservable,\n toESObservable = config$$1.toESObservable;\n return componentFromStream$$1(function (props$) {\n var _ref;\n\n return _ref = {\n subscribe: function subscribe(observer) {\n var subscription = toESObservable(transform(fromESObservable(props$))).subscribe({\n next: function next(childProps) {\n return observer.next(factory(childProps));\n }\n });\n return {\n unsubscribe: function unsubscribe() {\n return subscription.unsubscribe();\n }\n };\n }\n }, _ref[$$observable] = function () {\n return this;\n }, _ref;\n });\n };\n };\n};\n\nvar mapPropsStream = function mapPropsStream(transform) {\n var hoc = mapPropsStreamWithConfig(config)(transform);\n\n if (process.env.NODE_ENV !== 'production') {\n return function (BaseComponent) {\n return setDisplayName(wrapDisplayName(BaseComponent, 'mapPropsStream'))(hoc(BaseComponent));\n };\n }\n\n return hoc;\n};\n\nvar createEventHandlerWithConfig = function createEventHandlerWithConfig(config$$1) {\n return function () {\n var _config$fromESObserva;\n\n var emitter = createChangeEmitter();\n var stream = config$$1.fromESObservable((_config$fromESObserva = {\n subscribe: function subscribe(observer) {\n var unsubscribe = emitter.listen(function (value) {\n return observer.next(value);\n });\n return {\n unsubscribe: unsubscribe\n };\n }\n }, _config$fromESObserva[$$observable] = function () {\n return this;\n }, _config$fromESObserva));\n return {\n handler: emitter.emit,\n stream: stream\n };\n };\n};\nvar createEventHandler = createEventHandlerWithConfig(config);\n\n// Higher-order component helpers\n\nexport { mapProps, withProps, withPropsOnChange, withHandlers, defaultProps, renameProp, renameProps, flattenProp, withState, withStateHandlers, withReducer, branch, renderComponent, renderNothing, shouldUpdate, pure, onlyUpdateForKeys, onlyUpdateForPropTypes, withContext, getContext, lifecycle, toClass, toRenderProps, fromRenderProps, setStatic, setPropTypes, setDisplayName, compose, getDisplayName, wrapDisplayName, shallowEqual, isClassComponent, createSink, componentFromProp, nest, hoistStatics, componentFromStream, componentFromStreamWithConfig, mapPropsStream, mapPropsStreamWithConfig, createEventHandler, createEventHandlerWithConfig, configureObservable as setObservableConfig };\n","import Sniffr from 'sniffr';\n\nconst sniffr = new Sniffr();\nsniffr.sniff();\n\nexport default sniffr;\n","export default function memoize(fn) {\n const primitiveCache = new Map();\n const objectCache = new WeakMap();\n return function memoized(arg = '__singleValue__') {\n const cache = arg instanceof Object ? objectCache : primitiveCache;\n if (cache.has(arg)) {\n return cache.get(arg);\n }\n\n const value = fn(arg);\n cache.set(arg, value);\n return value;\n };\n}\n","// Inspired by https://github.com/sairion/svg-inline-react\nimport React from 'react';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\nimport {pure} from 'recompose';\n\nimport sniffer from '../global/sniffer';\nimport memoize from '../global/memoize';\n\nimport styles from './icon.css';\n\nconst isIE = sniffer.browser.name === 'ie';\n\nfunction convertReactSVGDOMProperty(str) {\n return str.replace(/[-|:]([a-z])/g, g => g[1].toUpperCase());\n}\n\nfunction serializeAttrs(map) {\n const res = {};\n for (let i = 0; i < map.length; i++) {\n const key = map[i].name;\n let prop = key;\n if (key === 'class') {\n prop = 'className';\n } else if (!key.startsWith('data-')) {\n prop = convertReactSVGDOMProperty(key);\n }\n\n res[prop] = map[i].value;\n }\n return res;\n}\n\nfunction getSVGInnerHTML(svgNode) {\n if (!isIE) {\n return svgNode.innerHTML;\n }\n // IE11 doesn't support svg.innerHTML https://stackoverflow.com/questions/28129956/get-innerhtml-of-svg-tag-result-in-undefined-in-ie\n const serializer = new XMLSerializer();\n\n return Array.from(svgNode.childNodes).\n map(child => serializer.serializeToString(child)).\n join('');\n}\n\nfunction extractSVGProps(svgNode) {\n const map = svgNode.attributes;\n return (map.length > 0) ? serializeAttrs(map) : null;\n}\n\nconst getSVGFromSource = memoize(src => {\n const svgContainer = document.createElement('div');\n svgContainer.innerHTML = src;\n const svg = svgContainer.firstElementChild;\n svg.remove ? svg.remove() : svgContainer.removeChild(svg);\n return {\n props: extractSVGProps(svg),\n html: getSVGInnerHTML(svg)\n };\n});\n\nfunction isCompatibilityMode(iconSrc) {\n const hasWidth = /width=\"[\\d\\.]+\"/ig.test(iconSrc);\n const hasHeight = /height=\"[\\d\\.]+\"/ig.test(iconSrc);\n return !hasWidth || !hasHeight;\n}\n\nfunction IconSVG({src, className, ...rest}) {\n const glyphClasses = classNames(styles.glyph, {\n [styles.compatibilityMode]: isCompatibilityMode(src)\n }, className);\n\n const {props, html} = getSVGFromSource(src);\n\n return (\n <svg\n {...props}\n {...rest}\n className={glyphClasses}\n dangerouslySetInnerHTML={{\n __html: html\n }}\n />\n );\n}\n\nIconSVG.propTypes = {\n className: PropTypes.string,\n src: PropTypes.string.isRequired,\n style: PropTypes.object\n};\n\nexport default pure(IconSVG);\n","/**\n * @name Icon\n */\n\nimport React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport deprecate from 'util-deprecate';\n\nimport {Color, Size} from './icon__constants';\nimport styles from './icon.css';\nimport IconSVG from './icon__svg';\n\nconst warnSize = deprecate(\n () => {},\n `\\`size\\`, \\`width\\` and \\`height\\` props are not recommended to use in Ring UI \\`Icon\\` component. The intrinsic sizes of SVG icon (\\`width\\` and \\`height\\` SVG attributes) are used instead.\n\nWe strongly recommend to use icons handcrafted for particular sizes. If your icon doesn't exist in the desired size, please ask your designer to draw one. \"Responsive\" checkmark should be unchecked when exporting icon.'`\n);\n\nexport default class Icon extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n color: PropTypes.string,\n glyph: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),\n height: PropTypes.number,\n size: PropTypes.number,\n width: PropTypes.number,\n loading: PropTypes.bool,\n suppressSizeWarning: PropTypes.bool\n };\n\n static defaultProps = ({\n className: '',\n color: Color.DEFAULT,\n glyph: ''\n });\n\n static Color = Color;\n static Size = Size;\n\n warnSize() {\n if (this.props.suppressSizeWarning) {\n return;\n }\n warnSize();\n }\n\n getStyle() {\n const {size, width, height} = this.props;\n if (width || height) {\n this.warnSize();\n return {width, height};\n }\n if (size) {\n this.warnSize();\n return {\n width: size,\n height: size\n };\n }\n return null;\n }\n\n getIconSource() {\n const {glyph} = this.props;\n return glyph?.isRingIcon ? glyph.glyph : glyph;\n }\n\n render() {\n const {\n className, size, color, loading, glyph, width, height, suppressSizeWarning,\n ...restProps\n } = this.props;\n\n const IconSrc = this.getIconSource();\n if (!IconSrc) {\n // eslint-disable-next-line no-console\n console.warn('No icon source passed to Icon component', this.props);\n return null;\n }\n\n const classes = classNames(styles.icon,\n {\n [styles[color]]: !!color,\n [styles.loading]: loading\n },\n className\n );\n\n return (\n <span\n {...restProps}\n className={classes}\n >\n {typeof IconSrc === 'string'\n ? <IconSVG src={IconSrc} style={this.getStyle()}/>\n : <IconSrc className={styles.glyph} style={this.getStyle()}/>\n }\n </span>\n );\n }\n}\n\nexport {Size};\n\nexport function iconHOC(glyph, displayName) {\n // eslint-disable-next-line react/no-multi-comp\n return class BoundIcon extends PureComponent {\n // Compatibility with angular\n static toString() {\n return glyph;\n }\n\n static displayName = displayName;\n\n static propTypes = {\n iconRef: PropTypes.func\n };\n\n static Color = Color;\n static Size = Size;\n static isRingIcon = true;\n static glyph = glyph;\n\n render() {\n const {iconRef, ...restProps} = this.props;\n return <Icon ref={iconRef} {...restProps} glyph={glyph}/>;\n }\n };\n}\n","/* eslint-disable max-len */\n/* This is a generated file. If you want to change it, edit generate-exports instead. */\n\nimport activity from '@jetbrains/icons/activity.svg';\nimport add10px from '@jetbrains/icons/add-10px.svg';\nimport add20px from '@jetbrains/icons/add-20px.svg';\nimport add from '@jetbrains/icons/add.svg';\nimport analytics from '@jetbrains/icons/analytics.svg';\nimport archive from '@jetbrains/icons/archive.svg';\nimport arrowUp from '@jetbrains/icons/arrow-up.svg';\nimport artifacts from '@jetbrains/icons/artifacts.svg';\nimport asterisk10px from '@jetbrains/icons/asterisk-10px.svg';\nimport asterisk from '@jetbrains/icons/asterisk.svg';\nimport attachment from '@jetbrains/icons/attachment.svg';\nimport average from '@jetbrains/icons/average.svg';\nimport bars from '@jetbrains/icons/bars.svg';\nimport bell from '@jetbrains/icons/bell.svg';\nimport branches from '@jetbrains/icons/branches.svg';\nimport bug from '@jetbrains/icons/bug.svg';\nimport buildType14pxArrow from '@jetbrains/icons/buildType-14px-arrow.svg';\nimport buildType14pxFillArrow from '@jetbrains/icons/buildType-14px-fill-arrow.svg';\nimport buildType14pxFill from '@jetbrains/icons/buildType-14px-fill.svg';\nimport buildType14px from '@jetbrains/icons/buildType-14px.svg';\nimport buildType20pxArrow from '@jetbrains/icons/buildType-20px-arrow.svg';\nimport buildType20pxFillArrow from '@jetbrains/icons/buildType-20px-fill-arrow.svg';\nimport buildType20pxFill from '@jetbrains/icons/buildType-20px-fill.svg';\nimport buildType20px from '@jetbrains/icons/buildType-20px.svg';\nimport buildTypeComposite14pxArrow from '@jetbrains/icons/buildType-composite-14px-arrow.svg';\nimport buildTypeComposite14pxFillArrow from '@jetbrains/icons/buildType-composite-14px-fill-arrow.svg';\nimport buildTypeComposite14pxFill from '@jetbrains/icons/buildType-composite-14px-fill.svg';\nimport buildTypeComposite14px from '@jetbrains/icons/buildType-composite-14px.svg';\nimport buildTypeComposite20pxArrow from '@jetbrains/icons/buildType-composite-20px-arrow.svg';\nimport buildTypeComposite20pxFillArrow from '@jetbrains/icons/buildType-composite-20px-fill-arrow.svg';\nimport buildTypeComposite20pxFill from '@jetbrains/icons/buildType-composite-20px-fill.svg';\nimport buildTypeComposite20px from '@jetbrains/icons/buildType-composite-20px.svg';\nimport burndown from '@jetbrains/icons/burndown.svg';\nimport calendar from '@jetbrains/icons/calendar.svg';\nimport cancel20px from '@jetbrains/icons/cancel-20px.svg';\nimport cancel from '@jetbrains/icons/cancel.svg';\nimport caretDown10px from '@jetbrains/icons/caret-down-10px.svg';\nimport caretRight10px from '@jetbrains/icons/caret-right-10px.svg';\nimport change from '@jetbrains/icons/change.svg';\nimport checkmark from '@jetbrains/icons/checkmark.svg';\nimport chevron10px from '@jetbrains/icons/chevron-10px.svg';\nimport chevronDown from '@jetbrains/icons/chevron-down.svg';\nimport chevronLeft from '@jetbrains/icons/chevron-left.svg';\nimport chevronRight from '@jetbrains/icons/chevron-right.svg';\nimport chevronUp from '@jetbrains/icons/chevron-up.svg';\nimport close from '@jetbrains/icons/close.svg';\nimport cloud from '@jetbrains/icons/cloud.svg';\nimport code from '@jetbrains/icons/code.svg';\nimport collapse from '@jetbrains/icons/collapse.svg';\nimport comment from '@jetbrains/icons/comment.svg';\nimport compare from '@jetbrains/icons/compare.svg';\nimport copy from '@jetbrains/icons/copy.svg';\nimport crop from '@jetbrains/icons/crop.svg';\nimport data from '@jetbrains/icons/data.svg';\nimport dice from '@jetbrains/icons/dice.svg';\nimport disconnected from '@jetbrains/icons/disconnected.svg';\nimport distribution from '@jetbrains/icons/distribution.svg';\nimport doubleChevronLeft from '@jetbrains/icons/double-chevron-left.svg';\nimport doubleChevronRight from '@jetbrains/icons/double-chevron-right.svg';\nimport download from '@jetbrains/icons/download.svg';\nimport drag from '@jetbrains/icons/drag.svg';\nimport drop from '@jetbrains/icons/drop.svg';\nimport eMail from '@jetbrains/icons/e-mail.svg';\nimport earth from '@jetbrains/icons/earth.svg';\nimport emoji from '@jetbrains/icons/emoji.svg';\nimport entry from '@jetbrains/icons/entry.svg';\nimport exception20px from '@jetbrains/icons/exception-20px.svg';\nimport exception from '@jetbrains/icons/exception.svg';\nimport expand from '@jetbrains/icons/expand.svg';\nimport experiment20px from '@jetbrains/icons/experiment-20px.svg';\nimport eye from '@jetbrains/icons/eye.svg';\nimport fields from '@jetbrains/icons/fields.svg';\nimport fileAddAny from '@jetbrains/icons/file-add-any.svg';\nimport fileArchive from '@jetbrains/icons/file-archive.svg';\nimport fileAs from '@jetbrains/icons/file-as.svg';\nimport fileAspectj from '@jetbrains/icons/file-aspectj.svg';\nimport fileConfig from '@jetbrains/icons/file-config.svg';\nimport fileCss from '@jetbrains/icons/file-css.svg';\nimport fileCustom from '@jetbrains/icons/file-custom.svg';\nimport fileDiagram from '@jetbrains/icons/file-diagram.svg';\nimport fileDtd from '@jetbrains/icons/file-dtd.svg';\nimport fileHtaccess from '@jetbrains/icons/file-htaccess.svg';\nimport fileHtml from '@jetbrains/icons/file-html.svg';\nimport fileIdl from '@jetbrains/icons/file-idl.svg';\nimport fileJavaClass from '@jetbrains/icons/file-java-class.svg';\nimport fileJavaOutsideSource from '@jetbrains/icons/file-java-outside-source.svg';\nimport fileJava from '@jetbrains/icons/file-java.svg';\nimport fileJs from '@jetbrains/icons/file-js.svg';\nimport fileJsonDark from '@jetbrains/icons/file-json-dark.svg';\nimport fileJsonSchemaDark from '@jetbrains/icons/file-json-schema-dark.svg';\nimport fileJsonSchema from '@jetbrains/icons/file-json-schema.svg';\nimport fileJson from '@jetbrains/icons/file-json.svg';\nimport fileJsp from '@jetbrains/icons/file-jsp.svg';\nimport fileJspx from '@jetbrains/icons/file-jspx.svg';\nimport fileManifest from '@jetbrains/icons/file-manifest.svg';\nimport fileProperties from '@jetbrains/icons/file-properties.svg';\nimport fileRegexp from '@jetbrains/icons/file-regexp.svg';\nimport fileText from '@jetbrains/icons/file-text.svg';\nimport fileUiForm from '@jetbrains/icons/file-ui-form.svg';\nimport fileUnknown from '@jetbrains/icons/file-unknown.svg';\nimport fileWsdl from '@jetbrains/icons/file-wsdl.svg';\nimport fileXhtml from '@jetbrains/icons/file-xhtml.svg';\nimport fileXml from '@jetbrains/icons/file-xml.svg';\nimport fileXsd from '@jetbrains/icons/file-xsd.svg';\nimport fileYaml from '@jetbrains/icons/file-yaml.svg';\nimport file from '@jetbrains/icons/file.svg';\nimport filters from '@jetbrains/icons/filters.svg';\nimport flag from '@jetbrains/icons/flag.svg';\nimport folder from '@jetbrains/icons/folder.svg';\nimport frown from '@jetbrains/icons/frown.svg';\nimport gift20px from '@jetbrains/icons/gift-20px.svg';\nimport gift from '@jetbrains/icons/gift.svg';\nimport git from '@jetbrains/icons/git.svg';\nimport group from '@jetbrains/icons/group.svg';\nimport help20px from '@jetbrains/icons/help-20px.svg';\nimport help from '@jetbrains/icons/help.svg';\nimport history from '@jetbrains/icons/history.svg';\nimport hourglass20px from '@jetbrains/icons/hourglass-20px.svg';\nimport hourglass from '@jetbrains/icons/hourglass.svg';\nimport ignored from '@jetbrains/icons/ignored.svg';\nimport info from '@jetbrains/icons/info.svg';\nimport investigation14px from '@jetbrains/icons/investigation-14px.svg';\nimport investigation from '@jetbrains/icons/investigation.svg';\nimport lamp from '@jetbrains/icons/lamp.svg';\nimport link from '@jetbrains/icons/link.svg';\nimport lock from '@jetbrains/icons/lock.svg';\nimport magicWand from '@jetbrains/icons/magic-wand.svg';\nimport mammoth20px from '@jetbrains/icons/mammoth-20px.svg';\nimport marker from '@jetbrains/icons/marker.svg';\nimport meta from '@jetbrains/icons/meta.svg';\nimport modified10px from '@jetbrains/icons/modified-10px.svg';\nimport moreOptions from '@jetbrains/icons/more-options.svg';\nimport moveToTop from '@jetbrains/icons/move-to-top.svg';\nimport move from '@jetbrains/icons/move.svg';\nimport mute from '@jetbrains/icons/mute.svg';\nimport muted from '@jetbrains/icons/muted.svg';\nimport newWindow from '@jetbrains/icons/new-window.svg';\nimport noArtifacts from '@jetbrains/icons/no-artifacts.svg';\nimport ok20px from '@jetbrains/icons/ok-20px.svg';\nimport ok from '@jetbrains/icons/ok.svg';\nimport overtime from '@jetbrains/icons/overtime.svg';\nimport paused14px from '@jetbrains/icons/paused-14px.svg';\nimport paused from '@jetbrains/icons/paused.svg';\nimport pencil from '@jetbrains/icons/pencil.svg';\nimport pennant from '@jetbrains/icons/pennant.svg';\nimport permission from '@jetbrains/icons/permission.svg';\nimport pinEmpty from '@jetbrains/icons/pin-empty.svg';\nimport pinFilled from '@jetbrains/icons/pin-filled.svg';\nimport play from '@jetbrains/icons/play.svg';\nimport prClose from '@jetbrains/icons/pr-close.svg';\nimport prMerged from '@jetbrains/icons/pr-merged.svg';\nimport prOpen from '@jetbrains/icons/pr-open.svg';\nimport prUnknown from '@jetbrains/icons/pr-unknown.svg';\nimport printer from '@jetbrains/icons/printer.svg';\nimport project14pxArrow from '@jetbrains/icons/project-14px-arrow.svg';\nimport project14pxFillArrow from '@jetbrains/icons/project-14px-fill-arrow.svg';\nimport project14pxFill from '@jetbrains/icons/project-14px-fill.svg';\nimport project14px from '@jetbrains/icons/project-14px.svg';\nimport project20pxArrow from '@jetbrains/icons/project-20px-arrow.svg';\nimport project20pxFillArrow from '@jetbrains/icons/project-20px-fill-arrow.svg';\nimport project20pxFill from '@jetbrains/icons/project-20px-fill.svg';\nimport project20px from '@jetbrains/icons/project-20px.svg';\nimport puzzle from '@jetbrains/icons/puzzle.svg';\nimport rate from '@jetbrains/icons/rate.svg';\nimport redo from '@jetbrains/icons/redo.svg';\nimport remove10px from '@jetbrains/icons/remove-10px.svg';\nimport renamed10px from '@jetbrains/icons/renamed-10px.svg';\nimport reviewersGraph from '@jetbrains/icons/reviewers-graph.svg';\nimport search20px from '@jetbrains/icons/search-20px.svg';\nimport searchEmpty from '@jetbrains/icons/search-empty.svg';\nimport searchError from '@jetbrains/icons/search-error.svg';\nimport search from '@jetbrains/icons/search.svg';\nimport services20px from '@jetbrains/icons/services-20px.svg';\nimport services from '@jetbrains/icons/services.svg';\nimport settings20px from '@jetbrains/icons/settings-20px.svg';\nimport settings from '@jetbrains/icons/settings.svg';\nimport shield from '@jetbrains/icons/shield.svg';\nimport spinner20px from '@jetbrains/icons/spinner-20px.svg';\nimport spinnerStatic from '@jetbrains/icons/spinner-static.svg';\nimport spinner from '@jetbrains/icons/spinner.svg';\nimport stamp from '@jetbrains/icons/stamp.svg';\nimport starEmpty14px from '@jetbrains/icons/star-empty-14px.svg';\nimport starEmpty from '@jetbrains/icons/star-empty.svg';\nimport starFilled14px from '@jetbrains/icons/star-filled-14px.svg';\nimport starFilled from '@jetbrains/icons/star-filled.svg';\nimport stop from '@jetbrains/icons/stop.svg';\nimport table from '@jetbrains/icons/table.svg';\nimport tag from '@jetbrains/icons/tag.svg';\nimport task from '@jetbrains/icons/task.svg';\nimport template14pxArrow from '@jetbrains/icons/template-14px-arrow.svg';\nimport template14px from '@jetbrains/icons/template-14px.svg';\nimport template20pxArrow from '@jetbrains/icons/template-20px-arrow.svg';\nimport template20px from '@jetbrains/icons/template-20px.svg';\nimport time from '@jetbrains/icons/time.svg';\nimport torrent from '@jetbrains/icons/torrent.svg';\nimport trash from '@jetbrains/icons/trash.svg';\nimport treemap from '@jetbrains/icons/treemap.svg';\nimport umbrella from '@jetbrains/icons/umbrella.svg';\nimport unauthorized from '@jetbrains/icons/unauthorized.svg';\nimport undo from '@jetbrains/icons/undo.svg';\nimport unknownOs from '@jetbrains/icons/unknown-os.svg';\nimport unsorted10px from '@jetbrains/icons/unsorted-10px.svg';\nimport update from '@jetbrains/icons/update.svg';\nimport user20px from '@jetbrains/icons/user-20px.svg';\nimport userCancel20px from '@jetbrains/icons/user-cancel-20px.svg';\nimport userCancel from '@jetbrains/icons/user-cancel.svg';\nimport userException20px from '@jetbrains/icons/user-exception-20px.svg';\nimport userException from '@jetbrains/icons/user-exception.svg';\nimport userGear from '@jetbrains/icons/user-gear.svg';\nimport userHourglass20px from '@jetbrains/icons/user-hourglass-20px.svg';\nimport userHourglass from '@jetbrains/icons/user-hourglass.svg';\nimport userOk20px from '@jetbrains/icons/user-ok-20px.svg';\nimport userOk from '@jetbrains/icons/user-ok.svg';\nimport userSpinner20px from '@jetbrains/icons/user-spinner-20px.svg';\nimport userSpinner from '@jetbrains/icons/user-spinner.svg';\nimport userWarning20px from '@jetbrains/icons/user-warning-20px.svg';\nimport userWarning from '@jetbrains/icons/user-warning.svg';\nimport user from '@jetbrains/icons/user.svg';\nimport vcsRoot14pxArrow from '@jetbrains/icons/vcs-root-14px-arrow.svg';\nimport vcsRoot14px from '@jetbrains/icons/vcs-root-14px.svg';\nimport vcsRoot20pxArrow from '@jetbrains/icons/vcs-root-20px-arrow.svg';\nimport vcsRoot20px from '@jetbrains/icons/vcs-root-20px.svg';\nimport voteEmpty from '@jetbrains/icons/vote-empty.svg';\nimport voteFilled from '@jetbrains/icons/vote-filled.svg';\nimport warning14px from '@jetbrains/icons/warning-14px.svg';\nimport warning20px from '@jetbrains/icons/warning-20px.svg';\nimport warning from '@jetbrains/icons/warning.svg';\nimport wrap from '@jetbrains/icons/wrap.svg';\n\nimport {iconHOC} from './icon';\n\nexport const ActivityIcon = iconHOC(activity, 'ActivityIcon');\nexport const Add10pxIcon = iconHOC(add10px, 'Add10pxIcon');\nexport const Add20pxIcon = iconHOC(add20px, 'Add20pxIcon');\nexport const AddIcon = iconHOC(add, 'AddIcon');\nexport const AnalyticsIcon = iconHOC(analytics, 'AnalyticsIcon');\nexport const ArchiveIcon = iconHOC(archive, 'ArchiveIcon');\nexport const ArrowUpIcon = iconHOC(arrowUp, 'ArrowUpIcon');\nexport const ArtifactsIcon = iconHOC(artifacts, 'ArtifactsIcon');\nexport const Asterisk10pxIcon = iconHOC(asterisk10px, 'Asterisk10pxIcon');\nexport const AsteriskIcon = iconHOC(asterisk, 'AsteriskIcon');\nexport const AttachmentIcon = iconHOC(attachment, 'AttachmentIcon');\nexport const AverageIcon = iconHOC(average, 'AverageIcon');\nexport const BarsIcon = iconHOC(bars, 'BarsIcon');\nexport const BellIcon = iconHOC(bell, 'BellIcon');\nexport const BranchesIcon = iconHOC(branches, 'BranchesIcon');\nexport const BugIcon = iconHOC(bug, 'BugIcon');\nexport const BuildType14pxArrowIcon = iconHOC(buildType14pxArrow, 'BuildType14pxArrowIcon');\nexport const BuildType14pxFillArrowIcon = iconHOC(buildType14pxFillArrow, 'BuildType14pxFillArrowIcon');\nexport const BuildType14pxFillIcon = iconHOC(buildType14pxFill, 'BuildType14pxFillIcon');\nexport const BuildType14pxIcon = iconHOC(buildType14px, 'BuildType14pxIcon');\nexport const BuildType20pxArrowIcon = iconHOC(buildType20pxArrow, 'BuildType20pxArrowIcon');\nexport const BuildType20pxFillArrowIcon = iconHOC(buildType20pxFillArrow, 'BuildType20pxFillArrowIcon');\nexport const BuildType20pxFillIcon = iconHOC(buildType20pxFill, 'BuildType20pxFillIcon');\nexport const BuildType20pxIcon = iconHOC(buildType20px, 'BuildType20pxIcon');\nexport const BuildTypeComposite14pxArrowIcon = iconHOC(buildTypeComposite14pxArrow, 'BuildTypeComposite14pxArrowIcon');\nexport const BuildTypeComposite14pxFillArrowIcon = iconHOC(buildTypeComposite14pxFillArrow, 'BuildTypeComposite14pxFillArrowIcon');\nexport const BuildTypeComposite14pxFillIcon = iconHOC(buildTypeComposite14pxFill, 'BuildTypeComposite14pxFillIcon');\nexport const BuildTypeComposite14pxIcon = iconHOC(buildTypeComposite14px, 'BuildTypeComposite14pxIcon');\nexport const BuildTypeComposite20pxArrowIcon = iconHOC(buildTypeComposite20pxArrow, 'BuildTypeComposite20pxArrowIcon');\nexport const BuildTypeComposite20pxFillArrowIcon = iconHOC(buildTypeComposite20pxFillArrow, 'BuildTypeComposite20pxFillArrowIcon');\nexport const BuildTypeComposite20pxFillIcon = iconHOC(buildTypeComposite20pxFill, 'BuildTypeComposite20pxFillIcon');\nexport const BuildTypeComposite20pxIcon = iconHOC(buildTypeComposite20px, 'BuildTypeComposite20pxIcon');\nexport const BurndownIcon = iconHOC(burndown, 'BurndownIcon');\nexport const CalendarIcon = iconHOC(calendar, 'CalendarIcon');\nexport const Cancel20pxIcon = iconHOC(cancel20px, 'Cancel20pxIcon');\nexport const CancelIcon = iconHOC(cancel, 'CancelIcon');\nexport const CaretDown10pxIcon = iconHOC(caretDown10px, 'CaretDown10pxIcon');\nexport const CaretRight10pxIcon = iconHOC(caretRight10px, 'CaretRight10pxIcon');\nexport const ChangeIcon = iconHOC(change, 'ChangeIcon');\nexport const CheckmarkIcon = iconHOC(checkmark, 'CheckmarkIcon');\nexport const Chevron10pxIcon = iconHOC(chevron10px, 'Chevron10pxIcon');\nexport const ChevronDownIcon = iconHOC(chevronDown, 'ChevronDownIcon');\nexport const ChevronLeftIcon = iconHOC(chevronLeft, 'ChevronLeftIcon');\nexport const ChevronRightIcon = iconHOC(chevronRight, 'ChevronRightIcon');\nexport const ChevronUpIcon = iconHOC(chevronUp, 'ChevronUpIcon');\nexport const CloseIcon = iconHOC(close, 'CloseIcon');\nexport const CloudIcon = iconHOC(cloud, 'CloudIcon');\nexport const CodeIcon = iconHOC(code, 'CodeIcon');\nexport const CollapseIcon = iconHOC(collapse, 'CollapseIcon');\nexport const CommentIcon = iconHOC(comment, 'CommentIcon');\nexport const CompareIcon = iconHOC(compare, 'CompareIcon');\nexport const CopyIcon = iconHOC(copy, 'CopyIcon');\nexport const CropIcon = iconHOC(crop, 'CropIcon');\nexport const DataIcon = iconHOC(data, 'DataIcon');\nexport const DiceIcon = iconHOC(dice, 'DiceIcon');\nexport const DisconnectedIcon = iconHOC(disconnected, 'DisconnectedIcon');\nexport const DistributionIcon = iconHOC(distribution, 'DistributionIcon');\nexport const DoubleChevronLeftIcon = iconHOC(doubleChevronLeft, 'DoubleChevronLeftIcon');\nexport const DoubleChevronRightIcon = iconHOC(doubleChevronRight, 'DoubleChevronRightIcon');\nexport const DownloadIcon = iconHOC(download, 'DownloadIcon');\nexport const DragIcon = iconHOC(drag, 'DragIcon');\nexport const DropIcon = iconHOC(drop, 'DropIcon');\nexport const EMailIcon = iconHOC(eMail, 'EMailIcon');\nexport const EarthIcon = iconHOC(earth, 'EarthIcon');\nexport const EmojiIcon = iconHOC(emoji, 'EmojiIcon');\nexport const EntryIcon = iconHOC(entry, 'EntryIcon');\nexport const Exception20pxIcon = iconHOC(exception20px, 'Exception20pxIcon');\nexport const ExceptionIcon = iconHOC(exception, 'ExceptionIcon');\nexport const ExpandIcon = iconHOC(expand, 'ExpandIcon');\nexport const Experiment20pxIcon = iconHOC(experiment20px, 'Experiment20pxIcon');\nexport const EyeIcon = iconHOC(eye, 'EyeIcon');\nexport const FieldsIcon = iconHOC(fields, 'FieldsIcon');\nexport const FileAddAnyIcon = iconHOC(fileAddAny, 'FileAddAnyIcon');\nexport const FileArchiveIcon = iconHOC(fileArchive, 'FileArchiveIcon');\nexport const FileAsIcon = iconHOC(fileAs, 'FileAsIcon');\nexport const FileAspectjIcon = iconHOC(fileAspectj, 'FileAspectjIcon');\nexport const FileConfigIcon = iconHOC(fileConfig, 'FileConfigIcon');\nexport const FileCssIcon = iconHOC(fileCss, 'FileCssIcon');\nexport const FileCustomIcon = iconHOC(fileCustom, 'FileCustomIcon');\nexport const FileDiagramIcon = iconHOC(fileDiagram, 'FileDiagramIcon');\nexport const FileDtdIcon = iconHOC(fileDtd, 'FileDtdIcon');\nexport const FileHtaccessIcon = iconHOC(fileHtaccess, 'FileHtaccessIcon');\nexport const FileHtmlIcon = iconHOC(fileHtml, 'FileHtmlIcon');\nexport const FileIdlIcon = iconHOC(fileIdl, 'FileIdlIcon');\nexport const FileJavaClassIcon = iconHOC(fileJavaClass, 'FileJavaClassIcon');\nexport const FileJavaOutsideSourceIcon = iconHOC(fileJavaOutsideSource, 'FileJavaOutsideSourceIcon');\nexport const FileJavaIcon = iconHOC(fileJava, 'FileJavaIcon');\nexport const FileJsIcon = iconHOC(fileJs, 'FileJsIcon');\nexport const FileJsonDarkIcon = iconHOC(fileJsonDark, 'FileJsonDarkIcon');\nexport const FileJsonSchemaDarkIcon = iconHOC(fileJsonSchemaDark, 'FileJsonSchemaDarkIcon');\nexport const FileJsonSchemaIcon = iconHOC(fileJsonSchema, 'FileJsonSchemaIcon');\nexport const FileJsonIcon = iconHOC(fileJson, 'FileJsonIcon');\nexport const FileJspIcon = iconHOC(fileJsp, 'FileJspIcon');\nexport const FileJspxIcon = iconHOC(fileJspx, 'FileJspxIcon');\nexport const FileManifestIcon = iconHOC(fileManifest, 'FileManifestIcon');\nexport const FilePropertiesIcon = iconHOC(fileProperties, 'FilePropertiesIcon');\nexport const FileRegexpIcon = iconHOC(fileRegexp, 'FileRegexpIcon');\nexport const FileTextIcon = iconHOC(fileText, 'FileTextIcon');\nexport const FileUiFormIcon = iconHOC(fileUiForm, 'FileUiFormIcon');\nexport const FileUnknownIcon = iconHOC(fileUnknown, 'FileUnknownIcon');\nexport const FileWsdlIcon = iconHOC(fileWsdl, 'FileWsdlIcon');\nexport const FileXhtmlIcon = iconHOC(fileXhtml, 'FileXhtmlIcon');\nexport const FileXmlIcon = iconHOC(fileXml, 'FileXmlIcon');\nexport const FileXsdIcon = iconHOC(fileXsd, 'FileXsdIcon');\nexport const FileYamlIcon = iconHOC(fileYaml, 'FileYamlIcon');\nexport const FileIcon = iconHOC(file, 'FileIcon');\nexport const FiltersIcon = iconHOC(filters, 'FiltersIcon');\nexport const FlagIcon = iconHOC(flag, 'FlagIcon');\nexport const FolderIcon = iconHOC(folder, 'FolderIcon');\nexport const FrownIcon = iconHOC(frown, 'FrownIcon');\nexport const Gift20pxIcon = iconHOC(gift20px, 'Gift20pxIcon');\nexport const GiftIcon = iconHOC(gift, 'GiftIcon');\nexport const GitIcon = iconHOC(git, 'GitIcon');\nexport const GroupIcon = iconHOC(group, 'GroupIcon');\nexport const Help20pxIcon = iconHOC(help20px, 'Help20pxIcon');\nexport const HelpIcon = iconHOC(help, 'HelpIcon');\nexport const HistoryIcon = iconHOC(history, 'HistoryIcon');\nexport const Hourglass20pxIcon = iconHOC(hourglass20px, 'Hourglass20pxIcon');\nexport const HourglassIcon = iconHOC(hourglass, 'HourglassIcon');\nexport const IgnoredIcon = iconHOC(ignored, 'IgnoredIcon');\nexport const InfoIcon = iconHOC(info, 'InfoIcon');\nexport const Investigation14pxIcon = iconHOC(investigation14px, 'Investigation14pxIcon');\nexport const InvestigationIcon = iconHOC(investigation, 'InvestigationIcon');\nexport const LampIcon = iconHOC(lamp, 'LampIcon');\nexport const LinkIcon = iconHOC(link, 'LinkIcon');\nexport const LockIcon = iconHOC(lock, 'LockIcon');\nexport const MagicWandIcon = iconHOC(magicWand, 'MagicWandIcon');\nexport const Mammoth20pxIcon = iconHOC(mammoth20px, 'Mammoth20pxIcon');\nexport const MarkerIcon = iconHOC(marker, 'MarkerIcon');\nexport const MetaIcon = iconHOC(meta, 'MetaIcon');\nexport const Modified10pxIcon = iconHOC(modified10px, 'Modified10pxIcon');\nexport const MoreOptionsIcon = iconHOC(moreOptions, 'MoreOptionsIcon');\nexport const MoveToTopIcon = iconHOC(moveToTop, 'MoveToTopIcon');\nexport const MoveIcon = iconHOC(move, 'MoveIcon');\nexport const MuteIcon = iconHOC(mute, 'MuteIcon');\nexport const MutedIcon = iconHOC(muted, 'MutedIcon');\nexport const NewWindowIcon = iconHOC(newWindow, 'NewWindowIcon');\nexport const NoArtifactsIcon = iconHOC(noArtifacts, 'NoArtifactsIcon');\nexport const Ok20pxIcon = iconHOC(ok20px, 'Ok20pxIcon');\nexport const OkIcon = iconHOC(ok, 'OkIcon');\nexport const OvertimeIcon = iconHOC(overtime, 'OvertimeIcon');\nexport const Paused14pxIcon = iconHOC(paused14px, 'Paused14pxIcon');\nexport const PausedIcon = iconHOC(paused, 'PausedIcon');\nexport const PencilIcon = iconHOC(pencil, 'PencilIcon');\nexport const PennantIcon = iconHOC(pennant, 'PennantIcon');\nexport const PermissionIcon = iconHOC(permission, 'PermissionIcon');\nexport const PinEmptyIcon = iconHOC(pinEmpty, 'PinEmptyIcon');\nexport const PinFilledIcon = iconHOC(pinFilled, 'PinFilledIcon');\nexport const PlayIcon = iconHOC(play, 'PlayIcon');\nexport const PrCloseIcon = iconHOC(prClose, 'PrCloseIcon');\nexport const PrMergedIcon = iconHOC(prMerged, 'PrMergedIcon');\nexport const PrOpenIcon = iconHOC(prOpen, 'PrOpenIcon');\nexport const PrUnknownIcon = iconHOC(prUnknown, 'PrUnknownIcon');\nexport const PrinterIcon = iconHOC(printer, 'PrinterIcon');\nexport const Project14pxArrowIcon = iconHOC(project14pxArrow, 'Project14pxArrowIcon');\nexport const Project14pxFillArrowIcon = iconHOC(project14pxFillArrow, 'Project14pxFillArrowIcon');\nexport const Project14pxFillIcon = iconHOC(project14pxFill, 'Project14pxFillIcon');\nexport const Project14pxIcon = iconHOC(project14px, 'Project14pxIcon');\nexport const Project20pxArrowIcon = iconHOC(project20pxArrow, 'Project20pxArrowIcon');\nexport const Project20pxFillArrowIcon = iconHOC(project20pxFillArrow, 'Project20pxFillArrowIcon');\nexport const Project20pxFillIcon = iconHOC(project20pxFill, 'Project20pxFillIcon');\nexport const Project20pxIcon = iconHOC(project20px, 'Project20pxIcon');\nexport const PuzzleIcon = iconHOC(puzzle, 'PuzzleIcon');\nexport const RateIcon = iconHOC(rate, 'RateIcon');\nexport const RedoIcon = iconHOC(redo, 'RedoIcon');\nexport const Remove10pxIcon = iconHOC(remove10px, 'Remove10pxIcon');\nexport const Renamed10pxIcon = iconHOC(renamed10px, 'Renamed10pxIcon');\nexport const ReviewersGraphIcon = iconHOC(reviewersGraph, 'ReviewersGraphIcon');\nexport const Search20pxIcon = iconHOC(search20px, 'Search20pxIcon');\nexport const SearchEmptyIcon = iconHOC(searchEmpty, 'SearchEmptyIcon');\nexport const SearchErrorIcon = iconHOC(searchError, 'SearchErrorIcon');\nexport const SearchIcon = iconHOC(search, 'SearchIcon');\nexport const Services20pxIcon = iconHOC(services20px, 'Services20pxIcon');\nexport const ServicesIcon = iconHOC(services, 'ServicesIcon');\nexport const Settings20pxIcon = iconHOC(settings20px, 'Settings20pxIcon');\nexport const SettingsIcon = iconHOC(settings, 'SettingsIcon');\nexport const ShieldIcon = iconHOC(shield, 'ShieldIcon');\nexport const Spinner20pxIcon = iconHOC(spinner20px, 'Spinner20pxIcon');\nexport const SpinnerStaticIcon = iconHOC(spinnerStatic, 'SpinnerStaticIcon');\nexport const SpinnerIcon = iconHOC(spinner, 'SpinnerIcon');\nexport const StampIcon = iconHOC(stamp, 'StampIcon');\nexport const StarEmpty14pxIcon = iconHOC(starEmpty14px, 'StarEmpty14pxIcon');\nexport const StarEmptyIcon = iconHOC(starEmpty, 'StarEmptyIcon');\nexport const StarFilled14pxIcon = iconHOC(starFilled14px, 'StarFilled14pxIcon');\nexport const StarFilledIcon = iconHOC(starFilled, 'StarFilledIcon');\nexport const StopIcon = iconHOC(stop, 'StopIcon');\nexport const TableIcon = iconHOC(table, 'TableIcon');\nexport const TagIcon = iconHOC(tag, 'TagIcon');\nexport const TaskIcon = iconHOC(task, 'TaskIcon');\nexport const Template14pxArrowIcon = iconHOC(template14pxArrow, 'Template14pxArrowIcon');\nexport const Template14pxIcon = iconHOC(template14px, 'Template14pxIcon');\nexport const Template20pxArrowIcon = iconHOC(template20pxArrow, 'Template20pxArrowIcon');\nexport const Template20pxIcon = iconHOC(template20px, 'Template20pxIcon');\nexport const TimeIcon = iconHOC(time, 'TimeIcon');\nexport const TorrentIcon = iconHOC(torrent, 'TorrentIcon');\nexport const TrashIcon = iconHOC(trash, 'TrashIcon');\nexport const TreemapIcon = iconHOC(treemap, 'TreemapIcon');\nexport const UmbrellaIcon = iconHOC(umbrella, 'UmbrellaIcon');\nexport const UnauthorizedIcon = iconHOC(unauthorized, 'UnauthorizedIcon');\nexport const UndoIcon = iconHOC(undo, 'UndoIcon');\nexport const UnknownOsIcon = iconHOC(unknownOs, 'UnknownOsIcon');\nexport const Unsorted10pxIcon = iconHOC(unsorted10px, 'Unsorted10pxIcon');\nexport const UpdateIcon = iconHOC(update, 'UpdateIcon');\nexport const User20pxIcon = iconHOC(user20px, 'User20pxIcon');\nexport const UserCancel20pxIcon = iconHOC(userCancel20px, 'UserCancel20pxIcon');\nexport const UserCancelIcon = iconHOC(userCancel, 'UserCancelIcon');\nexport const UserException20pxIcon = iconHOC(userException20px, 'UserException20pxIcon');\nexport const UserExceptionIcon = iconHOC(userException, 'UserExceptionIcon');\nexport const UserGearIcon = iconHOC(userGear, 'UserGearIcon');\nexport const UserHourglass20pxIcon = iconHOC(userHourglass20px, 'UserHourglass20pxIcon');\nexport const UserHourglassIcon = iconHOC(userHourglass, 'UserHourglassIcon');\nexport const UserOk20pxIcon = iconHOC(userOk20px, 'UserOk20pxIcon');\nexport const UserOkIcon = iconHOC(userOk, 'UserOkIcon');\nexport const UserSpinner20pxIcon = iconHOC(userSpinner20px, 'UserSpinner20pxIcon');\nexport const UserSpinnerIcon = iconHOC(userSpinner, 'UserSpinnerIcon');\nexport const UserWarning20pxIcon = iconHOC(userWarning20px, 'UserWarning20pxIcon');\nexport const UserWarningIcon = iconHOC(userWarning, 'UserWarningIcon');\nexport const UserIcon = iconHOC(user, 'UserIcon');\nexport const VcsRoot14pxArrowIcon = iconHOC(vcsRoot14pxArrow, 'VcsRoot14pxArrowIcon');\nexport const VcsRoot14pxIcon = iconHOC(vcsRoot14px, 'VcsRoot14pxIcon');\nexport const VcsRoot20pxArrowIcon = iconHOC(vcsRoot20pxArrow, 'VcsRoot20pxArrowIcon');\nexport const VcsRoot20pxIcon = iconHOC(vcsRoot20px, 'VcsRoot20pxIcon');\nexport const VoteEmptyIcon = iconHOC(voteEmpty, 'VoteEmptyIcon');\nexport const VoteFilledIcon = iconHOC(voteFilled, 'VoteFilledIcon');\nexport const Warning14pxIcon = iconHOC(warning14px, 'Warning14pxIcon');\nexport const Warning20pxIcon = iconHOC(warning20px, 'Warning20pxIcon');\nexport const WarningIcon = iconHOC(warning, 'WarningIcon');\nexport const WrapIcon = iconHOC(wrap, 'WrapIcon');\n","import React, {createContext, forwardRef} from 'react';\nimport {pure, wrapDisplayName} from 'recompose';\n\nconst Theme = {\n LIGHT: 'light',\n DARK: 'dark'\n};\n\nexport const ThemeContext = createContext();\n\nexport const withTheme = (defaultTheme = Theme.LIGHT) => ComposedComponent => {\n // eslint-disable-next-line react/prop-types\n const WithTheme = pure(forwardRef(function WithTheme({theme, ...restProps}, ref) {\n return (\n <ThemeContext.Consumer>\n {contextTheme => {\n const usedTheme = theme || contextTheme || defaultTheme;\n return (\n <ThemeContext.Provider value={usedTheme}>\n <ComposedComponent\n ref={ref}\n {...restProps}\n theme={usedTheme}\n />\n </ThemeContext.Provider>\n );\n }}\n </ThemeContext.Consumer>\n );\n }));\n Object.assign(WithTheme, ComposedComponent);\n WithTheme.displayName = wrapDisplayName(ComposedComponent, 'withTheme');\n return WithTheme;\n};\n\nfunction applyTheme(params) {\n if (!params || !params.element || !params.currentTheme) {\n return;\n }\n\n if (params.prevTheme) {\n params.element.classList.remove(params.prevTheme);\n }\n\n params.element.classList.add(params.currentTheme);\n}\n\n\nexport {applyTheme};\nexport default Theme;\n","\nfunction expandMap(attrsMap) {\n return Object.entries(attrsMap).\n reduce((result, [key, value]) => (value ? [...result, key] : result), []);\n}\n\nexport default function joinDataTestAttributes(...attrs) {\n return attrs.\n filter(attr => !!attr).\n reduce((result, attr) => {\n if (typeof attr === 'object') {\n return [...result, ...expandMap(attr)];\n }\n return [...result, attr];\n }, []).\n join(' ');\n}\n","import memoize from './memoize';\n\nexport default memoize(declaration => {\n const [property, value] = declaration.split(': ');\n const camelCaseProperty = property.replace(/-(\\w)/g, (_, letter) => letter.toUpperCase());\n const div = document.createElement('div');\n if (div.style[camelCaseProperty] === undefined) {\n return false;\n }\n\n if (value) {\n div.style[camelCaseProperty] = value;\n return Boolean(div.style[camelCaseProperty]);\n }\n\n return true;\n});\n","/* global ConicGradient */\nimport 'conic-gradient';\n\nimport memoize from './memoize';\nimport supportsCss from './supports-css';\n\nconst conicGradient = memoize(({stops, size}) => (\n supportsCss('background-image: conic-gradient(white, black)')\n ? `conic-gradient(${stops})`\n : new ConicGradient({stops, size})\n));\n\nexport default stops => conicGradient(stops).toString();\n\nexport const conicGradientWithMask = (mask, stops, size) => {\n const gradient = conicGradient({stops, size});\n\n if (!mask.supports && gradient instanceof ConicGradient) {\n Object.defineProperty(gradient, 'svg', {\n value: gradient.svg.replace('<image ', `\n ${mask.svgDefs} \n <image mask=\"url(#${mask.maskId})\" `)\n });\n }\n\n return {\n ...mask.css,\n 'background-image': gradient.toString()\n };\n};\n\n","export const injectStyleSheet = styles => {\n const styleTag = document.createElement('style');\n styleTag.setAttribute('type', 'text/css');\n styleTag.textContent = styles;\n document.head.appendChild(styleTag);\n return styleTag;\n};\n\nexport const injectRuleSet = (selector, declarations) =>\n injectStyleSheet(`\n${selector} {\n ${Object.entries(declarations).map(([property, value]) => `${property}: ${value};`).join(`\n `)}\n}`);\n","const idCounters = {};\n\nexport default function getUID(name) {\n if (!name) {\n throw Error('Argument \"name\" is required in getUID()');\n }\n\n if (!idCounters[name]) {\n idCounters[name] = 0;\n }\n\n const id = String(idCounters[name]++);\n\n return name + id;\n}\n","import getUID from './get-uid';\nimport supportsCss from './supports-css';\n\nconst radialGradient = (length, stops) =>\n `radial-gradient(${length}, ${Object.entries(stops).map(entry => entry.join(' ')).join(', ')})`;\n\nexport default (length, stops) => {\n for (const prefix of ['', '-webkit-']) {\n const property = `${prefix}mask-image`;\n const declaration = `${property}: radial-gradient(black, white)`;\n if (supportsCss(declaration)) {\n return {\n supports: true,\n css: {\n [property]: radialGradient(length, stops)\n }\n };\n }\n }\n\n const gradientId = getUID('gradient');\n const maskId = getUID('mask');\n const svgDefs = `\n <svg>\n <defs>\n <radialGradient id=\"${gradientId}\">\n ${Object.entries(stops).map(([color, offset]) => `\n <stop offset=\"${offset}\" stop-color=\"${color}\"/>\n `).join('')}\n </radialGradient>\n <mask id=\"${maskId}\">\n <rect height=\"100%\" width=\"100%\" fill=\"url(#${gradientId})\"/>\n </mask>\n </defs>\n </svg>\n `;\n return {\n supports: false,\n css: {},\n maskId,\n svgDefs\n };\n};\n","import {conicGradientWithMask} from '../global/conic-gradient';\nimport {injectRuleSet} from '../global/inject-styles';\nimport memoize from '../global/memoize';\nimport radialGradientMask from '../global/radial-gradient-mask';\nimport Theme from '../global/theme';\n\nimport styles from './loader-inline.css';\n\nconst IMAGE_SIZE = 32;\n\nexport default memoize(() => {\n const mask = radialGradientMask(styles.unit, {\n /* eslint-disable no-magic-numbers */\n transparent: `${23 / 32 * 100}%`,\n white: `${25 / 32 * 100}%`\n /* eslint-enable */\n });\n\n injectRuleSet(\n `.${styles.loader}_${[Theme.LIGHT]}::after, .ring-loader-inline::after`,\n conicGradientWithMask(mask, '#ff00eb,#bd3bff,#008eff, #58ba00,#f48700,#ff00eb', IMAGE_SIZE)\n );\n\n injectRuleSet(\n `.${styles.loader}_${[Theme.DARK]}::after, .ring-loader-inline_dark::after`,\n conicGradientWithMask(mask, '#ff2eef,#d178ff,#289fff,#88d444,#ffe000,#ff2eef', IMAGE_SIZE)\n );\n});\n","import React, {PureComponent} from 'react';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\n\nimport Theme, {withTheme} from '../global/theme';\nimport dataTests from '../global/data-tests';\n\nimport styles from './loader-inline.css';\nimport injectStyles from './inject-styles';\n\n/**\n * @name Loader Inline\n */\n\nclass LoaderInline extends PureComponent {\n static propTypes = {\n theme: PropTypes.oneOf(Object.values(Theme)),\n className: PropTypes.string,\n 'data-test': PropTypes.string,\n children: PropTypes.node\n };\n\n componentDidMount() {\n injectStyles();\n }\n\n static Theme = Theme;\n\n render() {\n const {className, theme, 'data-test': dataTest, children, ...restProps} = this.props;\n\n const classes = classNames(\n styles.loader,\n className,\n `${styles.loader}_${theme}`\n );\n\n const loader = (\n <div\n {...restProps}\n data-test={dataTests('ring-loader-inline', dataTest)}\n className={classes}\n />\n );\n\n return children ? (\n <>\n {loader}\n <span className={styles.children}>{children}</span>\n </>\n ) : loader;\n }\n}\n\nexport default withTheme()(LoaderInline);\n","/**\n * @name DOM\n */\n\nexport const getStyles = window.getComputedStyle.bind(window);\n\nexport function isMounted(node) {\n if (node === document) {\n return true;\n }\n\n return node instanceof Node && document.documentElement.contains(node.parentNode);\n}\n\nconst rectStub = {top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0};\n\nexport function getRect(node) {\n if (node instanceof Range || isMounted(node)) {\n const {top, right, bottom, left, width, height} = node.getBoundingClientRect();\n return {top, right, bottom, left, width, height};\n } else {\n return Object.assign({}, rectStub);\n }\n}\n\nexport function getPixelRatio() {\n return 'devicePixelRatio' in window ? window.devicePixelRatio : 1;\n}\n\nexport function getWindowHeight() {\n return window.innerHeight;\n}\n\nexport function getDocumentScrollTop() {\n return (document.documentElement && document.documentElement.scrollTop) ||\n document.body.scrollTop;\n}\n\nexport function getDocumentScrollLeft() {\n return (document.documentElement && document.documentElement.scrollLeft) ||\n document.body.scrollLeft;\n}\n\nexport const applyMethodToClasses = method => (classList, classes = '') => {\n classes.\n split(/\\s+/g).\n filter(className => !!className).\n forEach(className => classList[method](className));\n};\n\nexport const addClasses = applyMethodToClasses('add');\nexport const removeClasses = applyMethodToClasses('remove');\n\nexport function setRootStyleProperties(properties = {}) {\n const rootStyle = document.documentElement.style;\n\n Object.entries(properties).forEach(([key, value]) => {\n rootStyle.setProperty(key, value);\n });\n}\n\nexport function resetRootStyleProperties(properties = {}) {\n const rootStyle = document.documentElement.style;\n\n Object.keys(properties).\n forEach(key => rootStyle.removeProperty(key));\n}\n\nexport class Listeners {\n _all = new Set();\n\n add(el, event, handler, useCapture) {\n el.addEventListener(event, handler, useCapture);\n const dispatchFn = () => el.removeEventListener(event, handler, useCapture);\n this._all.add(dispatchFn);\n return dispatchFn;\n }\n\n remove(fn) {\n fn();\n this._all.delete(fn);\n }\n\n removeAll() {\n this._all.forEach(fn => this.remove(fn));\n }\n}\n\n// Synthetic events from Combokeys#trigger are plain objects\nexport function preventDefault(e) {\n if (e.preventDefault) {\n e.preventDefault();\n }\n}\n","import React, {Children, cloneElement, PureComponent} from 'react';\nimport {createPortal} from 'react-dom';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\n\nimport styles from './container.css';\n\n/**\n * @name Alert Container\n * @description Displays a stack of alerts on top of the page.\n * @extends {PureComponent}\n */\n\nexport default class Alerts extends PureComponent {\n static propTypes = {\n children: PropTypes.node,\n className: PropTypes.string\n };\n\n render() {\n const {children, className, ...restProps} = this.props;\n const classes = classNames(styles.alertContainer, className);\n const show = Children.count(children) > 0;\n\n if (!show) {\n return null;\n }\n\n return createPortal(\n <div\n data-test=\"alert-container\"\n className={classes}\n aria-live=\"polite\"\n {...restProps}\n >\n {Children.map(children, child => {\n const alertClassNames = classNames(styles.alertInContainer, child.props.className);\n\n return cloneElement(child, {\n className: alertClassNames\n });\n })}\n </div>,\n document.body\n );\n }\n}\n","import 'dom4';\nimport React, {PureComponent} from 'react';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\n\nimport exceptionIcon from '@jetbrains/icons/exception.svg';\nimport checkmarkIcon from '@jetbrains/icons/checkmark.svg';\nimport warningIcon from '@jetbrains/icons/warning.svg';\nimport closeIcon from '@jetbrains/icons/close.svg';\n\nimport Icon from '../icon';\nimport Loader from '../loader-inline/loader-inline';\nimport {getRect} from '../global/dom';\nimport dataTests from '../global/data-tests';\n\nimport styles from './alert.css';\n\nexport const ANIMATION_TIME = 500;\n\n/**\n * @name Alert\n */\n\n/**\n * List of available alert types.\n * @enum {string}\n */\nconst Type = {\n ERROR: 'error',\n MESSAGE: 'message',\n SUCCESS: 'success',\n WARNING: 'warning',\n LOADING: 'loading'\n};\n\n/**\n * Lookup table of alert type to icon modifier.\n * @type {Object.<Type, string>}\n */\nconst TypeToIcon = {\n [Type.ERROR]: exceptionIcon,\n [Type.SUCCESS]: checkmarkIcon,\n [Type.WARNING]: warningIcon\n};\n\n/**\n * Lookup table of alert type to icon color.\n * @type {Object.<Type, Icon.Color>}\n */\nconst TypeToIconColor = {\n [Type.ERROR]: Icon.Color.RED,\n [Type.SUCCESS]: Icon.Color.GREEN,\n [Type.WARNING]: Icon.Color.WHITE\n};\n\n/**\n * @constructor\n * @name Alert\n * @extends {ReactComponent}\n */\n/**\n * **Alert** is a component for displaying contextual notifications. If you want to display a stack of notifications, use **Alerts** instead.\n */\nexport default class Alert extends PureComponent {\n static propTypes = {\n timeout: PropTypes.number,\n /**\n * Fires when alert starts closing if timeout is out or user clicks \"Close\" button\n */\n onCloseRequest: PropTypes.func,\n onClose: PropTypes.func,\n isShaking: PropTypes.bool,\n isClosing: PropTypes.bool,\n /**\n * Whether an alert is rendered inside an **Alerts** container\n * or standalone.\n */\n inline: PropTypes.bool,\n showWithAnimation: PropTypes.bool,\n closeable: PropTypes.bool,\n type: PropTypes.oneOf(Object.values(Type)),\n\n children: PropTypes.node,\n className: PropTypes.string,\n captionClassName: PropTypes.string,\n 'data-test': PropTypes.string\n };\n\n /** @override */\n static defaultProps = {\n closeable: true,\n showWithAnimation: true,\n type: Type.MESSAGE,\n inline: true,\n isClosing: false,\n isShaking: false,\n timeout: 0,\n onClose: () => {},\n onCloseRequest: () => {}\n };\n\n state = {\n height: null\n };\n\n componentDidMount() {\n if (this.props.timeout > 0) {\n this.hideTimeout = setTimeout(this.closeRequest, this.props.timeout);\n }\n }\n\n componentDidUpdate() {\n if (this.props.isClosing) {\n this._close();\n }\n }\n\n componentWillUnmount() {\n clearTimeout(this.hideTimeout);\n }\n\n static Type = Type;\n\n closeRequest = (...args) => {\n const height = getRect(this.node).height;\n this.setState({height});\n return this.props.onCloseRequest(...args);\n };\n\n _close() {\n setTimeout(() => {\n this.props.onClose();\n }, ANIMATION_TIME);\n }\n\n /**\n * @param {SyntheticEvent} evt\n * @private\n */\n _handleCaptionsLinksClick = evt => {\n if (evt.target.matches('a')) {\n this.closeRequest(evt);\n }\n };\n\n /**\n * @private\n */\n _getCaption() {\n return (\n <span\n className={classNames(styles.caption, this.props.captionClassName)}\n onClick={this._handleCaptionsLinksClick}\n // We only process clicks on `a` elements, see above\n role=\"presentation\"\n >\n {this.props.children}\n </span>\n );\n }\n\n /**\n * @private\n * @return {XML|string}\n */\n _getIcon() {\n const glyph = TypeToIcon[this.props.type];\n\n if (glyph) {\n return (\n <Icon\n glyph={glyph}\n className={styles.icon}\n color={TypeToIconColor[this.props.type] || Icon.Color.DEFAULT}\n />\n );\n } else if (this.props.type === Type.LOADING) {\n return (\n <Loader className={styles.loader} theme={Loader.Theme.DARK}/>\n );\n }\n\n return '';\n }\n\n storeAlertRef = node => {\n this.node = node;\n };\n\n render() {\n const {type, inline, isClosing, isShaking,\n showWithAnimation, className, 'data-test': dataTest} = this.props;\n\n const classes = classNames(className, {\n [styles.alert]: true,\n [styles.animationOpen]: showWithAnimation,\n [styles.error]: type === 'error',\n [styles.alertInline]: inline,\n [styles.animationClosing]: isClosing,\n [styles.animationShaking]: isShaking\n });\n\n const style = this.state.height ? {marginBottom: -this.state.height} : null;\n\n return (\n <div\n className={classes}\n data-test={dataTests('alert', dataTest)}\n data-test-type={type}\n style={style}\n ref={this.storeAlertRef}\n >\n {this._getIcon()}\n {this._getCaption()}\n {\n this.props.closeable\n ? (\n <button\n type=\"button\"\n className={styles.close}\n data-test=\"alert-close\"\n aria-label=\"close alert\"\n onClick={this.closeRequest}\n >\n <Icon glyph={closeIcon}/>\n </button>\n )\n : ''\n }\n </div>\n );\n }\n}\n\nexport {default as Container} from './container';\n","import React from 'react';\nimport {render} from 'react-dom';\n\nimport getUID from '../global/get-uid';\n\nimport Alert, {ANIMATION_TIME, Container as AlertContainer} from '../alert/alert';\n\n/**\n * @name Alert Service\n */\n\nclass AlertService {\n defaultTimeout = 0;\n // This alerts are stored in inverse order (last shown is first in array)\n showingAlerts = [];\n containerElement = document.createElement('div');\n\n _getShowingAlerts() {\n return [...this.showingAlerts];\n }\n\n renderAlertContainer(alerts) {\n if (alerts.length === 0) {\n return <span/>;\n }\n\n return (\n <AlertContainer>\n {alerts.map(alert => {\n const {message, key, ...rest} = alert;\n return (\n <Alert\n key={key}\n {...rest}\n >{message}</Alert>\n );\n })}\n </AlertContainer>\n );\n }\n\n /**\n * Renders alert container into virtual node to skip maintaining container\n */\n renderAlerts() {\n render(this.renderAlertContainer(this.showingAlerts), this.containerElement);\n }\n\n findSameAlert(message, type) {\n return this.showingAlerts.filter(it => it.type === type && it.message === message)[0];\n }\n\n startAlertClosing(alert) {\n alert.isClosing = true;\n this.renderAlerts();\n }\n\n remove(key) {\n const alertToClose = this.showingAlerts.filter(alert => alert.key === key)[0];\n if (!alertToClose) {\n return;\n }\n this.startAlertClosing(alertToClose);\n }\n\n removeWithoutAnimation(key) {\n this.showingAlerts = this.showingAlerts.filter(alert => alert.key !== key);\n this.renderAlerts();\n }\n\n stopShakingWhenAnimationDone(shakingAlert) {\n setTimeout(() => {\n shakingAlert.showWithAnimation = false;\n shakingAlert.isShaking = false;\n this.renderAlerts();\n }, ANIMATION_TIME);\n }\n\n addAlert(message, type, timeout = this.defaultTimeout, restOptions = {}) {\n const sameAlert = this.findSameAlert(message, type);\n if (sameAlert) {\n sameAlert.isShaking = true;\n this.renderAlerts();\n this.stopShakingWhenAnimationDone(sameAlert);\n return sameAlert.key;\n }\n\n const alert = {\n key: getUID('alert-service-'),\n message,\n type,\n timeout,\n isClosing: false,\n onCloseRequest: () => this.startAlertClosing(alert),\n onClose: () => this.removeWithoutAnimation(alert.key),\n ...restOptions\n };\n\n this.showingAlerts = [alert, ...this.showingAlerts];\n this.renderAlerts();\n return alert.key;\n }\n\n setDefaultTimeout(timeout) {\n this.defaultTimeout = timeout;\n }\n\n error(message, timeout) {\n return this.addAlert(message, Alert.Type.ERROR, timeout);\n }\n\n message(message, timeout) {\n return this.addAlert(message, Alert.Type.MESSAGE, timeout);\n }\n\n warning(message, timeout) {\n return this.addAlert(message, Alert.Type.WARNING, timeout);\n }\n\n successMessage(message, timeout) {\n return this.addAlert(message, Alert.Type.SUCCESS, timeout);\n }\n\n loadingMessage(message, timeout) {\n return this.addAlert(message, Alert.Type.LOADING, timeout);\n }\n}\n\nconst alertService = new AlertService();\nexport default alertService;\n","/**\n * @name Analytics\n */\nclass Analytics {\n constructor() {\n this._plugins = [];\n }\n\n config(plugins) {\n this._plugins = plugins;\n }\n\n track(rawTrackingData, /* optional */ additionalData) {\n if (!rawTrackingData) {\n return;\n }\n\n let splitIdx = rawTrackingData.indexOf(':');\n if (splitIdx < 0) {\n splitIdx = rawTrackingData.indexOf('_');\n }\n if (splitIdx < 0) {\n splitIdx = rawTrackingData.length;\n }\n\n const category = rawTrackingData.substr(0, splitIdx);\n const subcategory = rawTrackingData.substr(splitIdx + 1);\n\n this.trackEvent(category, subcategory, additionalData);\n }\n\n trackPageView(path) {\n this._plugins.forEach(plugin => {\n plugin.trackPageView(path);\n });\n }\n\n trackEvent(category, action, /* optional */ additionalData) {\n const subaction = additionalData ? action + this._buildSuffix(additionalData) : null;\n this._plugins.forEach(plugin => {\n plugin.trackEvent(category, action);\n if (subaction) {\n plugin.trackEvent(category, subaction);\n }\n });\n }\n\n trackShortcutEvent(category, action, /* optional */ additionalData) {\n this.trackEvent(category, action, additionalData);\n this.trackEvent('ring-shortcut', `${category}$${action}`, additionalData);\n }\n\n trackEntityProperties(entityName, entity, propertiesNames, /* optional */ additionalData) {\n for (let i = 0; i < propertiesNames.length; ++i) {\n const keys = propertiesNames[i].split('.');\n let value = entity;\n\n if (!keys.length) {\n continue;\n }\n\n for (let j = 0; j < keys.length; ++j) {\n if (value.hasOwnProperty(keys[j])) {\n value = value[keys[j]];\n } else {\n value = 'no-value';\n break;\n }\n }\n\n if (typeof value === 'string') {\n value = value.toLowerCase().replace(/[._]+/g, '-');\n }\n\n const resultAction = `${keys.join('-')}__${value}`;\n this.trackEvent(entityName, resultAction, additionalData);\n }\n }\n\n _buildSuffix(additionalData) {\n if (!additionalData) {\n return '';\n }\n\n let suffix = '';\n let key;\n for (key in additionalData) {\n if (additionalData.hasOwnProperty(key)) {\n suffix += `__${key}$${additionalData[key]}`;\n }\n }\n\n return suffix;\n }\n}\n\nexport default new Analytics();\n","/**\n *\n * @param {string?} gaId Google Analytics ID (should be undefined in development)\n * @constructor\n */\nexport default class AnalyticsGAPlugin {\n constructor(gaId, isDevelopment, domain) {\n if (!gaId && !isDevelopment) {\n return;\n }\n /* eslint-disable */\n (function (i, s, o, g, r, a, m) {\n i.GoogleAnalyticsObject = r;\n i[r] = i[r] || function () {\n (i[r].q = i[r].q || []).push(arguments)\n }, i[r].l = 1 * new Date();\n a = s.createElement(o),\n m = s.getElementsByTagName(o)[0];\n a.async = 1;\n a.src = g;\n m.parentNode.insertBefore(a, m)\n })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');\n /* eslint-enable */\n /**\n * UA-57284711-1 - ga key for development purpose\n */\n const key = gaId || 'UA-57284711-1';\n /* global ga */\n const gaCookieParams = domain ? {cookieDomain: domain} : {};\n ga('create', key, (!gaId ? {cookieDomain: 'none'} : gaCookieParams));\n ga('set', 'anonymizeIp', true);\n ga('set', 'allowAdFeatures', false);\n }\n\n trackEvent(category, action) {\n if (window.ga) {\n const eventOptions = {\n eventCategory: category,\n eventAction: action\n };\n ga('send', 'event', eventOptions);\n }\n }\n\n trackPageView(path) {\n if (window.ga) {\n ga('send', 'pageview', path);\n }\n }\n}\n","import sniffer from '../global/sniffer';\n\nconst AnalyticsCustomPluginUtils = {};\nconst SECOND = 1000;\nconst HOUR = 3600;\n\n/**\n * Statistics server does not accept undefined values and strings containing certain symbols\n * @param value\n * @param isCategory\n * @returns string, where forbidden symbols are replaced with '_'\n */\nAnalyticsCustomPluginUtils.reformatString = (value, isCategory) => {\n const str = String(value);\n /**\n * Category also cannot contain the '/' character (but an action can)\n */\n const regexp = isCategory ? /[.:;!@#^&*(){}\\[\\]?,%=+\\\\\\/]+/g : /[.:;!@#^&*(){}\\[\\]?,%=+\\\\]+/g;\n return str.replace(regexp, '_');\n};\n\nAnalyticsCustomPluginUtils.getPageViewDurationPresentation = durationMs => {\n const duration = durationMs / SECOND;\n if (duration > HOUR) {\n return 'more-than-hour';\n }\n\n /**\n * rounded duration possible values:\n * less than 1 second: [0, 1)\n * less than 2 seconds: [1, 2)\n * less than 4 seconds: [2, 4)\n * less than 16 seconds: [4, 16)\n * ....\n * n - less than 2^(n + 1) seconds\n */\n let roundedDuration = Math.floor(Math.pow(2, Math.floor(Math.log2(duration)) + 1));\n roundedDuration = (roundedDuration > 0) ? roundedDuration : 1;\n\n return `less-than-${roundedDuration}-sec`;\n};\n\nAnalyticsCustomPluginUtils.getScreenWidthPresentation = () => {\n /**\n * Sizes were taken from bootstrap's grid (xs, sm, md, lg)\n */\n // eslint-disable-next-line no-magic-numbers\n const sizes = [0, 768, 992, 1200];\n for (let i = 1; i < sizes.length; ++i) {\n if (window.innerWidth < sizes[i]) {\n return `[${sizes[i - 1]}px;${sizes[i]}px)`;\n }\n }\n return '[1200px;inf)';\n};\n\nAnalyticsCustomPluginUtils.npeSaveLowerCase = val => (val || 'unknown').toLowerCase();\n\nAnalyticsCustomPluginUtils.getUserAgentPresentation = () => {\n const name = AnalyticsCustomPluginUtils.npeSaveLowerCase(sniffer.browser.name || 'unknown');\n const majorVersion = sniffer.browser.version[0];\n const version = majorVersion || 'unknown';\n\n return `${name}$${version}`;\n};\n\nAnalyticsCustomPluginUtils.getDevicePixelRatioPresentation = () => {\n if (!window.devicePixelRatio || !window.devicePixelRatio.toFixed) {\n return 'unknown';\n }\n return String(window.devicePixelRatio.toFixed(1));\n};\n\nexport default AnalyticsCustomPluginUtils;\n","import AnalyticsCustomPluginUtils from './analytics__custom-plugin-utils';\n\nconst DEFAULT_FLUSH_INTERVAL = 10000;\nconst DEFAULT_FLUSH_MAX_PACK_SIZE = 100;\n\nexport default class AnalyticsCustomPlugin {\n constructor(send, isDevelopment, flushInterval, flushingAllowedChecker) {\n this._data = [];\n this.config({\n send,\n isDevelopment,\n flushInterval,\n flushingAllowedChecker\n });\n }\n\n /**\n * @param config\n * @property {function} config.send\n * @property {boolean} config.isDevelopment\n * @property {number} config.flushInterval\n * @property {function} config.flushingAllowedChecker\n * @property {number} config.flushMaxPackSize\n */\n config(config) {\n let checkFlushingAllowed = config.flushingAllowedChecker;\n if (typeof checkFlushingAllowed !== 'function') {\n checkFlushingAllowed = () => true;\n }\n\n this._flush = () => {\n if (this._data.length > 0 && checkFlushingAllowed()) {\n config.send(this._data);\n this._data = [];\n }\n };\n\n this._isDevelopment = config.isDevelopment;\n this._flushInterval = config.flushInterval || DEFAULT_FLUSH_INTERVAL;\n this._flushMaxPackSize = config.flushMaxPackSize || DEFAULT_FLUSH_MAX_PACK_SIZE;\n }\n\n trackEvent(category, action) {\n this._processEvent(category, action);\n }\n\n trackPageView(path) {\n if (this._lastPagePath === path) {\n return;\n }\n\n this._trackPageViewAdditionalInfo(path);\n this._processEvent('ring-page', path);\n this._processEvent(\n 'ring-navigator_user-agent',\n AnalyticsCustomPluginUtils.getUserAgentPresentation()\n );\n this._processEvent(\n 'ring-navigator_platform',\n AnalyticsCustomPluginUtils.npeSaveLowerCase(navigator.platform)\n );\n this._processEvent(\n 'ring-navigator_lang',\n AnalyticsCustomPluginUtils.npeSaveLowerCase(navigator.language)\n );\n this._processEvent(\n 'ring-device-pixel-ratio',\n AnalyticsCustomPluginUtils.getDevicePixelRatioPresentation()\n );\n this._processEvent(\n 'ring-screen-width',\n AnalyticsCustomPluginUtils.getScreenWidthPresentation()\n );\n }\n\n _initSendSchedule() {\n window.addEventListener('beforeunload', () => {\n this._trackPageViewAdditionalInfo();\n return this._flush();\n });\n\n setInterval(this._flush, this._flushInterval);\n this._hasSendSchedule = true;\n }\n\n _processEvent(rawCategory, rawAction) {\n if (!this._hasSendSchedule && this._flush) {\n this._initSendSchedule();\n }\n const category = AnalyticsCustomPluginUtils.reformatString(rawCategory, true);\n const action = AnalyticsCustomPluginUtils.reformatString(rawAction);\n if (this._isDevelopment) {\n console.log('TRACKING DATA = ', category, action); // eslint-disable-line no-console\n }\n this._addDataToFlushingPack({category, action});\n }\n\n _trackPageViewAdditionalInfo(newPagePath) {\n const currentTime = (new Date()).getTime();\n if (this._lastPagePath) {\n if (this._lastPageViewTime) {\n const duration = AnalyticsCustomPluginUtils.\n getPageViewDurationPresentation(currentTime - this._lastPageViewTime);\n this._processEvent(`ring-pageview-duration_${this._lastPagePath}`, duration);\n }\n }\n this._lastPageViewTime = currentTime;\n this._lastPagePath = newPagePath;\n }\n\n _addDataToFlushingPack(sendingData) {\n this._data.push(sendingData);\n\n if (this._data.length >= this._flushMaxPackSize) {\n this._flush();\n }\n }\n}\n","import angular from 'angular';\n\nimport analyticsInstance from '../analytics/analytics';\nimport AnalyticsGAPlugin from '../analytics/analytics__ga-plugin';\nimport AnalyticsCustomPlugin from '../analytics/analytics__custom-plugin';\n\n/**\n * @name Analytics Ng\n*/\n\nconst angularModule = angular.module('Ring.analytics', []);\n\n/**\n * @name analyticsProvider\n * @description Configures analytics with plugins.\n */\nangularModule.provider('analytics', function provider() {\n let configPlugins = [];\n /**\n * @param plugins\n */\n this.plugins = plugins => {\n configPlugins = plugins;\n };\n\n this.$get = function get($log, $injector) {\n const loadedPlugins = [];\n for (let i = 0; i < configPlugins.length; ++i) {\n if (typeof configPlugins[i] === 'string') {\n try {\n const plugin = $injector.get(configPlugins[i]);\n loadedPlugins.push(plugin);\n $log.debug(`analytics: loaded plugin ${configPlugins[i]}`);\n } catch (err) {\n $log.debug(`analytics: unable to load factory ${configPlugins[i]}`);\n }\n } else {\n loadedPlugins.push(configPlugins[i]);\n }\n }\n analyticsInstance.config(loadedPlugins);\n return analyticsInstance;\n };\n});\n\nangularModule.constant('AnalyticsGAPlugin', AnalyticsGAPlugin);\nangularModule.constant('AnalyticsCustomPlugin', AnalyticsCustomPlugin);\n\n/**\n * Enable page tracking\n */\nangularModule.run(function analyticsRun($rootScope, analytics) {\n $rootScope.$on('$routeChangeSuccess', (evt, current) => { // eslint-disable-line angular/on-watch\n /* eslint-disable angular/no-private-call */\n if (current && current.$$route && current.$$route.originalPath) {\n analytics.trackPageView(current.$$route.originalPath);\n }\n /* eslint-enable angular/no-private-call */\n });\n});\n\n/**\n * @ngdoc directive\n * @name rg-analytics\n *\n * @description\n * The `rg-analytics=\"<categoryName>:<eventName>\"` sends categoryName and eventName to analytics server on\n * user action, specified via attribute `rg-analytics-on` (e.g. rg-analytics-on='mouseover' means that analytics will be sent on mouseover,\n * rg-analytics-on='click' - on click). If there is no attribute rg-analytics-on, the default value 'click' is used.\n */\nangularModule.directive('rgAnalytics', function rgAnalyticsDirective(analytics) {\n return {\n restrict: 'A',\n replace: false,\n\n link: function link($scope, elem) {\n const eventType = elem.attr('rg-analytics-on') || 'click';\n angular.element(elem).bind(eventType, () => {\n analytics.track(elem.attr('rg-analytics'));\n });\n }\n };\n});\n\nexport default angularModule.name;\n","function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _extendableBuiltin(cls) {\n function ExtendableBuiltin() {\n cls.apply(this, arguments);\n }\n\n ExtendableBuiltin.prototype = Object.create(cls.prototype, {\n constructor: {\n value: cls,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(ExtendableBuiltin, cls);\n } else {\n ExtendableBuiltin.__proto__ = cls;\n }\n\n return ExtendableBuiltin;\n}\n\nvar ExtendableError = function (_extendableBuiltin2) {\n _inherits(ExtendableError, _extendableBuiltin2);\n\n function ExtendableError() {\n var message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\n _classCallCheck(this, ExtendableError);\n\n // extending Error is weird and does not propagate `message`\n var _this = _possibleConstructorReturn(this, (ExtendableError.__proto__ || Object.getPrototypeOf(ExtendableError)).call(this, message));\n\n Object.defineProperty(_this, 'message', {\n configurable: true,\n enumerable: false,\n value: message,\n writable: true\n });\n\n Object.defineProperty(_this, 'name', {\n configurable: true,\n enumerable: false,\n value: _this.constructor.name,\n writable: true\n });\n\n if (Error.hasOwnProperty('captureStackTrace')) {\n Error.captureStackTrace(_this, _this.constructor);\n return _possibleConstructorReturn(_this);\n }\n\n Object.defineProperty(_this, 'stack', {\n configurable: true,\n enumerable: false,\n value: new Error(message).stack,\n writable: true\n });\n return _this;\n }\n\n return ExtendableError;\n}(_extendableBuiltin(Error));\n\nexport default ExtendableError;\n","import sniffer from './sniffer';\n\n/**\n * @description Provides a set of utilities for URL manipulation.\n */\n\n/**\n * @const {RegExp}\n */\nconst ORIGIN_PATTERN = /^[a-z]+:\\/\\/[^/]+/i;\n\n/**\n * @const {RegExp}\n */\nconst ABSOLUTE_URL_PATTERN = /^[a-z]+:\\/\\//i;\n\n/**\n * @const {RegExp}\n */\nexport const ENDING_SLASH_PATTERN = /\\/$/;\n\n/**\n * Get URI from the <base> tag\n * @return {string|undefined} base URI\n */\nexport function getBaseURI() {\n const baseElement = document.getElementsByTagName('base')[0];\n return baseElement ? baseElement.href : undefined;\n}\n\n/**\n * Get absolute URI from the <base> tag\n * @return {string} absolute base URI\n */\nexport function getAbsoluteBaseURL() {\n const baseUrl = getBaseURI();\n const host = `${window.location.protocol}//${window.location.host}`;\n\n let uri;\n if (baseUrl) {\n uri = ABSOLUTE_URL_PATTERN.test(baseUrl) ? baseUrl : host + baseUrl;\n } else {\n uri = host;\n }\n\n return uri;\n}\n\n/**\n * Get origin from the URL\n * @param {string} url URL to extract origin from\n * @returns {string|undefined} origin\n */\nexport function getOrigin(url) {\n const matches = url.match(ORIGIN_PATTERN);\n\n if (matches) {\n return matches[0];\n }\n\n return undefined;\n}\n\n/**\n * Get absolute URI from current page\n * @return {string} absolute URL of current page\n */\nexport function getAbsoluteURL() {\n return window.location.href.split('#')[0];\n}\n\n/**\n * Fixes the URL\n * If the URL is relative and the page contains a <base> TAG, the URL will be converted to absolute\n * <base href=\"/\">: some/path => /some/path\n * @param {string} url URL to fix\n * @param {Function} baseURIGetter a function that returns base URI\n * @return {string} fixed URL\n */\nexport function fixUrl(url, baseURIGetter = getBaseURI) {\n if (url.indexOf('http://') === -1 && url.indexOf('https://') === -1 && url.indexOf('/') !== 0) {\n const baseUrl = baseURIGetter();\n\n if (baseUrl) {\n return baseUrl + url;\n }\n }\n\n return url;\n}\n\nexport function joinBaseURLAndPath(baseUrl, path) {\n if (!baseUrl || path.indexOf('http://') !== -1 || path.indexOf('https://') !== -1) {\n return path;\n }\n\n return baseUrl + path;\n}\n\n/**\n * Resolve URL for SVG icons\n * @param {string} relUrl The value of xlink:href\n * @param {Function} baseURIGetter a function that returns base URI\n * @param {Function} absoluteURLGetter a function that returns absolute URI of current page\n * @return {string} The URL relative to base URL for current page\n */\nexport function resolveRelativeURL(\n relUrl,\n baseURIGetter = getBaseURI,\n absoluteURLGetter = getAbsoluteURL\n) {\n if (baseURIGetter() &&\n (\n sniffer.browser.name === 'firefox' ||\n sniffer.browser.name === 'edge' ||\n // eslint-disable-next-line no-magic-numbers\n sniffer.browser.name === 'chrome' && sniffer.browser.version[0] >= 49\n )\n ) {\n return absoluteURLGetter() + relUrl;\n }\n\n return String(relUrl);\n}\n\n/**\n * Parses a queryString into an object.\n * ```\n * parseQueryString(\"access_token=2YotnFZFEjr1zCsicMWpAA&state=xyz&token_type=example&expires_in=3600\");\n * // is {access_token: \"2YotnFZFEjr1zCsicMWpAA\", state: \"xyz\", token_type: \"example\", expires_in: \"3600\"}\n * ```\n * @param {string} queryString query parameter string to parse\n * @return {AuthResponse} object with query parameters map\n */\nexport function parseQueryString(queryString) {\n if (queryString == null) {\n return {};\n }\n\n const queryParameterPairRE = /([^&;=]+)=?([^&;]*)/g;\n const FIRST_PAIR_ELEMENT = 1;\n const SECOND_PAIR_ELEMENT = 2;\n const urlParams = {};\n\n function decode(s) {\n return decodeURIComponent(s.replace(/\\+/g, ' '));\n }\n\n let matchedQueryPair;\n while ((matchedQueryPair = queryParameterPairRE.exec(queryString)) != null) {\n urlParams[decode(matchedQueryPair[FIRST_PAIR_ELEMENT])] =\n decode(matchedQueryPair[SECOND_PAIR_ELEMENT]);\n }\n\n return urlParams;\n}\n\n/**\n * Takes a URL as input and a params object.\n * Each property in the params is added to the URL as query string parameters\n * @param {string} url URL to add parameters to\n * @param {Object} params parameters to add\n * @returns {string} encoded URL\n */\nexport function encodeURL(url, params) {\n const equalsSign = '=';\n const firstSeparator = (url.indexOf('?') === -1) ? '?' : '&';\n\n let res = url;\n let k;\n let i = 0;\n\n for (k in params) {\n if (params.hasOwnProperty(k) && params[k] != null) {\n res += (i++ === 0 ? firstSeparator : '&') +\n encodeURIComponent(k) + equalsSign + encodeURIComponent(params[k]);\n }\n }\n\n return res;\n}\n\nexport function isDataURI(uri) {\n return uri.indexOf('data:') === 0;\n}\n","import ExtendableError from 'es6-error';\n\nimport {parseQueryString} from '../global/url';\n\n/**\n * @typedef {Object} AuthResponse\n * @property {?string} accessToken\n * @property {?string} state\n * @property {?string} token_type\n * @property {?string} expiresIn\n * @property {?string} scope\n * @property {?string} error\n */\n\nexport default class AuthResponseParser {\n constructor() {\n this._authResponse = this.readAuthResponseFromURL();\n }\n\n static AuthError = class AuthError extends ExtendableError {\n // Supports weird IE 11 failing test issue\n constructor(authResponse = {}) {\n super(authResponse.errorDescription);\n this.code = authResponse.error;\n this.uri = authResponse.errorUri;\n this.stateId = authResponse.state;\n }\n };\n\n static convertKey(key) {\n return key.replace(/_([a-z])/g, (_, letter) => letter.toUpperCase());\n }\n\n /**\n * Check if the hash contains an access token.\n * If it does, return auth response. Otherwise return undefined.\n * Always clears the hash part of the URL.\n *\n * @throws {Error} if the auth server returned an error\n * @return {?AuthResponse}\n */\n getAuthResponseFromURL() {\n return this.validateAuthResponse(this._authResponse);\n }\n\n /**\n * Validates given authResponse.\n * If it contains a token - returns the token, if an error is found - throws the error,\n * otherwise - null\n * Always clears the hash part of the URL.\n *\n * @param authResponse {AuthResponse} parsed authResponse\n * @throws {Error} if the auth server returned an error\n * @return {?AuthResponse}\n */\n validateAuthResponse(authResponse) {\n\n // Check for errors\n if (authResponse.error) {\n throw new AuthResponseParser.AuthError(authResponse);\n }\n\n // If there is no token in the hash\n if (!authResponse.accessToken) {\n return null;\n }\n\n return authResponse;\n }\n\n /**\n * Reads the current accessToken from the URL.\n * Doesn't modify URL\n *\n * @return {AuthResponse}\n */\n readAuthResponseFromURL() {\n const authResponse = {};\n const rawAuthResponse = parseQueryString(this.getHash());\n Object.keys(rawAuthResponse).forEach(key => {\n if (key.indexOf('_') !== -1) {\n authResponse[AuthResponseParser.convertKey(key)] = rawAuthResponse[key];\n return;\n }\n\n authResponse[key] = rawAuthResponse[key];\n });\n\n return authResponse;\n }\n\n /**\n * @return {string} part of the URL after # sign.\n * @private\n */\n getHash() {\n // Because of stupid Firefox bug — https://bugzilla.mozilla.org/show_bug.cgi?id=483304\n const location = this.getLocation();\n return location && location.replace(/^[^#]*#?/, '');\n }\n\n /**\n * Current page location.\n * @return {string}\n */\n getLocation() {\n return window.location.toString();\n }\n}\n","import sniffer from '../global/sniffer';\n\nimport AuthResponseParser from './response-parser';\n\nconst NAVBAR_HEIGHT = 50;\nconst isEdge = sniffer.browser.name === 'edge';\nconst CLOSED_CHECK_INTERVAL = 200;\n\nexport default class WindowFlow {\n _timeoutId = null;\n\n constructor(requestBuilder, storage) {\n this._requestBuilder = requestBuilder;\n this._storage = storage;\n this._reset();\n }\n\n /**\n * Opens window with the given URL\n * @param {string} url\n * @private\n */\n _openWindow(url) {\n const height = 700;\n const width = 750;\n const screenHalves = 2;\n const top = (window.screen.height - height - NAVBAR_HEIGHT) / screenHalves;\n const left = (window.screen.width - width) / screenHalves;\n\n const loginWindow = window.open(\n isEdge ? null : url,\n 'HubLoginWindow',\n `height=${height}, width=${width}, left=${left}, top=${top}`\n );\n\n if (isEdge) {\n setTimeout(() => {\n loginWindow.location = url;\n }, 0);\n }\n\n return loginWindow;\n }\n\n /**\n * Initiates authorization in window\n */\n async _load() {\n const authRequest = await this._requestBuilder.prepareAuthRequest(\n // eslint-disable-next-line camelcase\n {request_credentials: 'required', auth_mode: 'bypass_to_login'},\n {nonRedirect: true}\n );\n\n return new Promise((resolve, reject) => {\n this.reject = reject;\n let cleanRun;\n\n const cleanUp = () => {\n if (cleanRun) {\n return;\n }\n cleanRun = true;\n /* eslint-disable no-use-before-define */\n removeStateListener();\n removeTokenListener();\n /* eslint-enable no-use-before-define */\n\n this._loginWindow.close();\n clearTimeout(this._timeoutId);\n };\n\n const removeTokenListener = this._storage.onTokenChange(token => {\n if (token) {\n cleanUp();\n resolve(token.accessToken);\n }\n });\n\n const removeStateListener = this._storage.onStateChange(authRequest.stateId, state => {\n if (state && state.error) {\n cleanUp();\n reject(new AuthResponseParser.AuthError(state));\n }\n });\n\n if (this._loginWindow === null || this._loginWindow.closed === true) {\n this._loginWindow = this._openWindow(authRequest.url);\n } else {\n this._loginWindow.location = authRequest.url;\n }\n\n this.checkIsClosed();\n });\n }\n\n checkIsClosed = () => {\n if (this._loginWindow.closed) {\n this.stop();\n return;\n }\n this._timeoutId = setTimeout(this.checkIsClosed, CLOSED_CHECK_INTERVAL);\n };\n\n _reset = () => {\n this._promise = null;\n this._loginWindow = null;\n clearTimeout(this._timeoutId);\n };\n\n stop() {\n if (this._loginWindow !== null) {\n this._loginWindow.close();\n }\n if (this.reject) {\n this.reject('Authorization window closed');\n }\n this._reset();\n }\n\n authorize() {\n if (this._promise !== null && this._loginWindow !== null && this._loginWindow.closed !== true) {\n this._loginWindow.focus();\n\n return this._promise;\n }\n\n this._promise = this._load();\n\n this._promise.then(this._reset, this._reset);\n\n return this._promise;\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\n\nconst LEFT_BUTTON = 0;\n// Cmd/Ctrl/Shift/Alt + Click should trigger default browser behaviour. Same applies to non-left clicks\nconst isPlainLeftClick = e =>\n e.button === LEFT_BUTTON && !e.altKey && !e.ctrlKey && !e.metaKey && !e.shiftKey;\n\nexport default class ClickableLink extends PureComponent {\n static propTypes = {\n onClick: PropTypes.func,\n onPlainLeftClick: PropTypes.func,\n onConditionalClick: PropTypes.func,\n activeClassName: PropTypes.string,\n href: PropTypes.string.isRequired,\n children: PropTypes.node.isRequired\n };\n\n onClick = e => {\n const {onClick, onConditionalClick, onPlainLeftClick} = this.props;\n\n const isPlainLeft = isPlainLeftClick(e);\n\n if (onClick) {\n onClick(e);\n }\n\n if (onConditionalClick) {\n onConditionalClick(isPlainLeft, e);\n }\n\n if (onPlainLeftClick && isPlainLeft) {\n e.preventDefault();\n onPlainLeftClick(e);\n }\n };\n\n render() {\n const {\n onConditionalClick, onPlainLeftClick, activeClassName,\n href,\n children,\n ...restProps\n } = this.props;\n\n return <a href={href} {...restProps} onClick={this.onClick}>{children}</a>;\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport {pure} from 'recompose';\n\nimport memoize from '../global/memoize';\nimport dataTests from '../global/data-tests';\n\nimport ClickableLink from './clickableLink';\nimport styles from './link.css';\n\n/**\n * @name Link\n */\n\nlet isCompatibilityMode = false;\n\nexport function setCompatibilityMode(isEnabled) {\n isCompatibilityMode = isEnabled;\n}\n\nconst makeWrapText = memoize(innerClassName => {\n const WrapText = pure(function WrapText({className, children}) {\n const classes = classNames(styles.inner, className, innerClassName);\n return <span className={classes}>{children}</span>;\n });\n\n WrapText.propTypes = {\n className: PropTypes.string,\n children: PropTypes.node\n };\n\n return WrapText;\n});\n\nexport function linkHOC(ComposedComponent) {\n const isCustom = typeof ComposedComponent !== 'string' && ComposedComponent !== ClickableLink;\n\n return class Link extends Component {\n static propTypes = {\n className: PropTypes.string,\n innerClassName: PropTypes.string,\n active: PropTypes.bool,\n inherit: PropTypes.bool,\n pseudo: PropTypes.bool,\n hover: PropTypes.bool,\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n 'data-test': PropTypes.string,\n href: PropTypes.string,\n onPlainLeftClick: PropTypes.func,\n onClick: PropTypes.func\n };\n\n getChildren() {\n const {children, innerClassName} = this.props;\n\n const WrapText = makeWrapText(innerClassName);\n\n return typeof children === 'function'\n ? children(WrapText)\n : <WrapText>{children}</WrapText>;\n }\n\n render() {\n const {\n active,\n inherit,\n pseudo,\n hover,\n className,\n 'data-test': dataTest,\n href,\n innerClassName, children, onPlainLeftClick, onClick,\n ...props\n } = this.props;\n const useButton = pseudo || !isCustom && href == null;\n\n const classes = classNames(styles.link, className, {\n [styles.active]: active,\n [styles.inherit]: inherit,\n [styles.hover]: hover,\n [styles.compatibilityUnderlineMode]: isCompatibilityMode,\n [styles.pseudo]: useButton\n });\n\n if (isCustom && !props.activeClassName) {\n props.activeClassName = styles.active;\n }\n\n if (useButton) {\n return (\n <button\n type=\"button\"\n {...props}\n className={classes}\n onClick={onClick || onPlainLeftClick}\n data-test={dataTests('ring-link', dataTest)}\n >{this.getChildren()}</button>\n );\n }\n\n return (\n <ComposedComponent\n {...props}\n href={href}\n className={classes}\n onClick={onClick}\n onPlainLeftClick={onPlainLeftClick}\n data-test={dataTests('ring-link', dataTest)}\n >\n {this.getChildren()}\n </ComposedComponent>\n );\n }\n };\n}\n\nexport default linkHOC(ClickableLink);\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport styles from './group.css';\n\n/**\n * @name Group\n */\n\nexport default class Group extends Component {\n static propTypes = {\n children: PropTypes.node,\n className: PropTypes.string\n };\n\n render() {\n const {children, className, ...restProps} = this.props;\n const classes = classNames(styles.group, className);\n\n return (\n <span\n {...restProps}\n className={classes}\n >\n {children}\n </span>\n );\n }\n}\n","import React from 'react';\n\nimport alertService from '../alert-service/alert-service';\nimport Alert from '../alert/alert';\nimport Link from '../link/link';\nimport Group from '../group/group';\n\nimport styles from './down-notification.css';\n\nlet key = null;\n\nfunction renderAlert(message, type = Alert.Type.WARNING) {\n const existingAlert = alertService.showingAlerts.filter(alert => alert.key === key)[0];\n\n if (!existingAlert) {\n key = alertService.addAlert(message, type, 0, {closeable: false});\n } else {\n existingAlert.message = message;\n existingAlert.type = type;\n alertService.renderAlerts();\n }\n}\n\n/* eslint-disable react/prop-types */\nfunction Message({translations, onCheckAgain}) {\n const {backendIsNotAvailable, checkAgain, errorMessage} = translations;\n\n return (\n <div data-test=\"ring-backend-down-notification\">\n <Group>\n <div className={styles.title}>{backendIsNotAvailable}</div>\n </Group>\n <span className={styles.error}>{errorMessage} </span>\n <Link onClick={onCheckAgain} data-test=\"check-again\">{checkAgain}</Link>\n </div>\n );\n}\n/* eslint-enable */\n\nexport default function onBackendDown({onCheckAgain, translations}) {\n async function checkAgainWithoutClosing(e) {\n // Alert has weird behaviour of handling clicks by \"a\" tags\n e.stopPropagation();\n try {\n renderAlert('Connecting...', Alert.Type.LOADING);\n await onCheckAgain();\n } catch (err) {\n renderAlert(\n <Message\n translations={translations}\n onCheckAgain={checkAgainWithoutClosing}\n />\n );\n }\n }\n\n renderAlert(\n <Message\n translations={translations}\n onCheckAgain={checkAgainWithoutClosing}\n />\n );\n\n return () => alertService.remove(key);\n}\n","export default class Listeners {\n constructor() {\n this.removeAll();\n }\n\n trigger(event, data) {\n const handlers = this._all.get(event);\n\n if (handlers) {\n return Promise.all([...handlers].map(fn => fn(data)));\n }\n\n return Promise.resolve([]);\n }\n\n add(event, handler) {\n let handlers = this._all.get(event);\n\n if (!handlers) {\n handlers = new Set();\n this._all.set(event, handlers);\n }\n\n handlers.add(handler);\n }\n\n remove(event, handler) {\n const handlers = this._all.get(event);\n\n if (handlers) {\n handlers.delete(handler);\n }\n }\n\n removeAll() {\n this._all = new Map();\n }\n}\n","var support = {\n searchParams: 'URLSearchParams' in self,\n iterable: 'Symbol' in self && 'iterator' in Symbol,\n blob:\n 'FileReader' in self &&\n 'Blob' in self &&\n (function() {\n try {\n new Blob()\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in self,\n arrayBuffer: 'ArrayBuffer' in self\n}\n\nfunction isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n}\n\nif (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ]\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n }\n}\n\nfunction normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name)\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~]/i.test(name)) {\n throw new TypeError('Invalid character in header field name')\n }\n return name.toLowerCase()\n}\n\nfunction normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value)\n }\n return value\n}\n\n// Build a destructive iterator for the value list\nfunction iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift()\n return {done: value === undefined, value: value}\n }\n }\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n }\n }\n\n return iterator\n}\n\nexport function Headers(headers) {\n this.map = {}\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value)\n }, this)\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1])\n }, this)\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name])\n }, this)\n }\n}\n\nHeaders.prototype.append = function(name, value) {\n name = normalizeName(name)\n value = normalizeValue(value)\n var oldValue = this.map[name]\n this.map[name] = oldValue ? oldValue + ', ' + value : value\n}\n\nHeaders.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)]\n}\n\nHeaders.prototype.get = function(name) {\n name = normalizeName(name)\n return this.has(name) ? this.map[name] : null\n}\n\nHeaders.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n}\n\nHeaders.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value)\n}\n\nHeaders.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this)\n }\n }\n}\n\nHeaders.prototype.keys = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push(name)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.values = function() {\n var items = []\n this.forEach(function(value) {\n items.push(value)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.entries = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push([name, value])\n })\n return iteratorFor(items)\n}\n\nif (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n}\n\nfunction consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true\n}\n\nfunction fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result)\n }\n reader.onerror = function() {\n reject(reader.error)\n }\n })\n}\n\nfunction readBlobAsArrayBuffer(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsArrayBuffer(blob)\n return promise\n}\n\nfunction readBlobAsText(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsText(blob)\n return promise\n}\n\nfunction readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf)\n var chars = new Array(view.length)\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i])\n }\n return chars.join('')\n}\n\nfunction bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength)\n view.set(new Uint8Array(buf))\n return view.buffer\n }\n}\n\nfunction Body() {\n this.bodyUsed = false\n\n this._initBody = function(body) {\n this._bodyInit = body\n if (!body) {\n this._bodyText = ''\n } else if (typeof body === 'string') {\n this._bodyText = body\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString()\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer)\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer])\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body)\n } else {\n this._bodyText = body = Object.prototype.toString.call(body)\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8')\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type)\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n }\n }\n }\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n }\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n return consumed(this) || Promise.resolve(this._bodyArrayBuffer)\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n }\n }\n\n this.text = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n }\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n }\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n }\n\n return this\n}\n\n// HTTP methods whose capitalization should be normalized\nvar methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']\n\nfunction normalizeMethod(method) {\n var upcased = method.toUpperCase()\n return methods.indexOf(upcased) > -1 ? upcased : method\n}\n\nexport function Request(input, options) {\n options = options || {}\n var body = options.body\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url\n this.credentials = input.credentials\n if (!options.headers) {\n this.headers = new Headers(input.headers)\n }\n this.method = input.method\n this.mode = input.mode\n this.signal = input.signal\n if (!body && input._bodyInit != null) {\n body = input._bodyInit\n input.bodyUsed = true\n }\n } else {\n this.url = String(input)\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin'\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers)\n }\n this.method = normalizeMethod(options.method || this.method || 'GET')\n this.mode = options.mode || this.mode || null\n this.signal = options.signal || this.signal\n this.referrer = null\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body)\n}\n\nRequest.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n}\n\nfunction decode(body) {\n var form = new FormData()\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=')\n var name = split.shift().replace(/\\+/g, ' ')\n var value = split.join('=').replace(/\\+/g, ' ')\n form.append(decodeURIComponent(name), decodeURIComponent(value))\n }\n })\n return form\n}\n\nfunction parseHeaders(rawHeaders) {\n var headers = new Headers()\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ')\n preProcessedHeaders.split(/\\r?\\n/).forEach(function(line) {\n var parts = line.split(':')\n var key = parts.shift().trim()\n if (key) {\n var value = parts.join(':').trim()\n headers.append(key, value)\n }\n })\n return headers\n}\n\nBody.call(Request.prototype)\n\nexport function Response(bodyInit, options) {\n if (!options) {\n options = {}\n }\n\n this.type = 'default'\n this.status = options.status === undefined ? 200 : options.status\n this.ok = this.status >= 200 && this.status < 300\n this.statusText = 'statusText' in options ? options.statusText : 'OK'\n this.headers = new Headers(options.headers)\n this.url = options.url || ''\n this._initBody(bodyInit)\n}\n\nBody.call(Response.prototype)\n\nResponse.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n}\n\nResponse.error = function() {\n var response = new Response(null, {status: 0, statusText: ''})\n response.type = 'error'\n return response\n}\n\nvar redirectStatuses = [301, 302, 303, 307, 308]\n\nResponse.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n}\n\nexport var DOMException = self.DOMException\ntry {\n new DOMException()\n} catch (err) {\n DOMException = function(message, name) {\n this.message = message\n this.name = name\n var error = Error(message)\n this.stack = error.stack\n }\n DOMException.prototype = Object.create(Error.prototype)\n DOMException.prototype.constructor = DOMException\n}\n\nexport function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init)\n\n if (request.signal && request.signal.aborted) {\n return reject(new DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest()\n\n function abortXhr() {\n xhr.abort()\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n }\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n var body = 'response' in xhr ? xhr.response : xhr.responseText\n resolve(new Response(body, options))\n }\n\n xhr.onerror = function() {\n reject(new TypeError('Network request failed'))\n }\n\n xhr.ontimeout = function() {\n reject(new TypeError('Network request failed'))\n }\n\n xhr.onabort = function() {\n reject(new DOMException('Aborted', 'AbortError'))\n }\n\n xhr.open(request.method, request.url, true)\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false\n }\n\n if ('responseType' in xhr && support.blob) {\n xhr.responseType = 'blob'\n }\n\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value)\n })\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr)\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr)\n }\n }\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n })\n}\n\nfetch.polyfill = true\n\nif (!self.fetch) {\n self.fetch = fetch\n self.Headers = Headers\n self.Request = Request\n self.Response = Response\n}\n","import 'whatwg-fetch';\nimport ExtendableError from 'es6-error';\n\nimport {encodeURL, joinBaseURLAndPath} from '../global/url';\n\n/**\n * @name HTTP\n */\n\nconst TOKEN_TYPE = 'Bearer';\nconst STATUS_OK_IF_MORE_THAN = 200;\nconst STATUS_BAD_IF_MORE_THAN = 300;\n\nexport const defaultFetchConfig = {\n headers: {\n 'Content-Type': 'application/json',\n Accept: 'application/json'\n },\n credentials: 'same-origin'\n};\n\nexport class HTTPError extends ExtendableError {\n constructor(response, data = {}) {\n super(`${response.status} ${response.statusText || ''}`);\n this.data = data;\n this.status = response.status;\n }\n}\n\nexport const CODE = {\n UNAUTHORIZED: 401\n};\n\nexport default class HTTP {\n baseUrl = null;\n _requestsMeta = new WeakMap();\n\n constructor(auth, baseUrl, fetchConfig = {}) {\n if (auth) {\n this.setAuth(auth);\n }\n this.setBaseUrl(baseUrl);\n\n const {headers, ...defaultConfig} = defaultFetchConfig;\n\n this.fetchConfig = {\n ...defaultConfig,\n ...fetchConfig,\n headers: {\n ...headers,\n ...fetchConfig.headers\n }\n };\n }\n\n setAuth = auth => {\n this.requestToken = () => auth.requestToken();\n this.shouldRefreshToken = auth.constructor.shouldRefreshToken;\n this.forceTokenUpdate = () => auth.forceTokenUpdate();\n }\n\n setBaseUrl = baseUrl => {\n this.baseUrl = baseUrl;\n }\n\n _fetch(...args) {\n return fetch(...args);\n }\n\n _makeRequestUrl(url, queryObject) {\n const urlWithQuery = encodeURL(url, queryObject);\n return joinBaseURLAndPath(this.baseUrl, urlWithQuery);\n }\n\n _performRequest(url, token, params = {}) {\n const {headers, body, query = {}, sendRawBody, ...fetchConfig} = params;\n\n const combinedHeaders = {\n ...this.fetchConfig.headers,\n ...(token ? {Authorization: `${TOKEN_TYPE} ${token}`} : {}),\n ...headers\n };\n\n Object.keys(combinedHeaders).forEach(key => {\n if (combinedHeaders[key] === null || combinedHeaders[key] === undefined) {\n Reflect.deleteProperty(combinedHeaders, key);\n }\n });\n\n return this._fetch(\n this._makeRequestUrl(url, query),\n {\n ...this.fetchConfig,\n headers: combinedHeaders,\n ...fetchConfig,\n body: body && !sendRawBody ? JSON.stringify(body) : body\n }\n );\n }\n\n _storeRequestMeta(parsedResponse, rawResponse) {\n const {headers, ok, redirected, status, statusText, type, url} = rawResponse;\n this._requestsMeta.\n set(parsedResponse, {headers, ok, redirected, status, statusText, type, url});\n }\n\n async _processResponse(response) {\n const contentType = response.headers.get('content-type');\n const isJson = contentType && contentType.indexOf('application/json') !== -1;\n\n if (HTTP._isErrorStatus(response.status)) {\n let resJson;\n try {\n resJson = await (isJson ? response.json() : response.text());\n } catch (err) {\n // noop\n }\n\n throw new HTTPError(response, resJson);\n }\n\n try {\n const parsedResponse = await (isJson ? response.json() : {data: await response.text()});\n this._storeRequestMeta(parsedResponse, response);\n return parsedResponse;\n } catch (err) {\n return response;\n }\n }\n\n static _isErrorStatus(status) {\n return status < STATUS_OK_IF_MORE_THAN || status >= STATUS_BAD_IF_MORE_THAN;\n }\n\n fetch = async (url, params = {}) => {\n const {body, query = {}, ...fetchConfig} = params;\n\n const response = await this._fetch(\n this._makeRequestUrl(url, query),\n {\n ...fetchConfig,\n body: body ? JSON.stringify(body) : body\n }\n );\n\n return this._processResponse(response);\n }\n\n async authorizedFetch(...args) {\n const response = await this._performRequest(...args);\n\n return this._processResponse(response);\n }\n\n request = async (url, params) => {\n let token = await this.requestToken();\n let response = await this._performRequest(url, token, params);\n\n try {\n // Wait for result to catch an HTTP error\n return await this._processResponse(response);\n } catch (error) {\n if (!(error instanceof HTTPError)) {\n throw error;\n }\n\n const shouldRefreshToken = error.data.error !== undefined\n ? this.shouldRefreshToken(error.data.error)\n : false;\n\n if (shouldRefreshToken) {\n token = await this.forceTokenUpdate();\n response = await this._performRequest(url, token, params);\n\n return this._processResponse(response);\n }\n\n throw error;\n }\n }\n\n getMetaForResponse = response => this._requestsMeta.get(response);\n\n get = (url, params) => (\n this.request(url, {\n method: 'GET',\n ...params\n })\n )\n\n post = (url, params) => (\n this.request(url, {\n method: 'POST',\n ...params\n })\n )\n}\n","/**\n * @return {LocalStorage}\n * @param {{type: string}} config Set to \"session\" to use sessionStorage\n * @constructor\n */\nexport default class LocalStorage {\n static async safePromise(resolver) {\n try {\n return await new Promise(resolver);\n } catch (e) {\n if (e && e.name === 'NS_ERROR_FILE_CORRUPTED') {\n /* eslint-disable no-alert */\n window.alert('Sorry, it looks like your browser storage is corrupted. ' +\n 'Please clear your storage by going to Tools -> Clear Recent History -> Cookies' +\n ' and setting time range to \"Everything\". This will remove the corrupted browser storage across all sites.');\n /* eslint-enable no-alert */\n }\n throw e;\n }\n }\n\n constructor(config = {}) {\n this.storageType = config.type === 'session' ? 'sessionStorage' : 'localStorage';\n }\n\n /**\n * @param {string} name\n * @return {Promise}\n */\n get(name) {\n return this.constructor.safePromise(resolve => {\n const value = window[this.storageType].getItem(name);\n try {\n resolve(JSON.parse(value));\n } catch (e) {\n resolve(value);\n }\n });\n }\n\n /**\n * @param {string} name\n * @param {object} value\n * @return {Promise}\n */\n set(name, value) {\n return this.constructor.safePromise(resolve => {\n window[this.storageType].setItem(name, JSON.stringify(value));\n resolve(value);\n });\n }\n\n /**\n * @param {string} name\n * @return {Promise}\n */\n remove(name) {\n const storageType = this.storageType;\n\n return this.constructor.safePromise(resolve => {\n if (window[storageType].hasOwnProperty(name)) {\n window[storageType].removeItem(name);\n }\n resolve();\n });\n }\n\n /**\n * @param callback\n * @return {Promise}\n */\n each(callback) {\n const storageType = this.storageType;\n\n return this.constructor.safePromise(resolve => {\n const promises = [];\n\n for (const item in window[storageType]) {\n if (window[storageType].hasOwnProperty(item)) {\n let value = window[storageType].getItem(item);\n try {\n value = JSON.parse(value);\n } catch (e) {\n // Do nothing\n }\n\n promises.push(Promise.resolve(callback(item, value)));\n }\n }\n\n resolve(Promise.all(promises));\n });\n }\n\n /**\n * @param {string} name\n * @param {Function} callback\n * @return {Function}\n */\n on(name, callback) {\n function handleStorage(e) {\n if (e.key === name) {\n try {\n callback(JSON.parse(e.newValue));\n } catch (err) {\n callback(e.newValue);\n }\n }\n }\n\n window.addEventListener('storage', handleStorage, false);\n\n return () => window.removeEventListener('storage', handleStorage, false);\n }\n}\n","import deepEqual from 'deep-equal';\n\nconst DEFAULT_CHECK_DELAY = 3000;\nconst COOKIE_EXPIRES = 365;\nconst QUOTA = 4093;\n// eslint-disable-next-line no-magic-numbers\nconst SECONDS_IN_DAY = 24 * 60 * 60 * 1000;\n\n/**\n * @prop {string} cookieName\n *\n * @param {{cookieName: string}} config\n * @param {{checkDelay: number}} config\n * @param {{type: string}} config\n * @return {FallbackStorage}\n * @constructor\n */\nexport default class FallbackStorage {\n static DEFAULT_COOKIE_NAME = 'localStorage';\n static DEFAULT_SESSION_COOKIE_NAME = 'sessionStorage';\n static DEFAULT_CHECK_DELAY = DEFAULT_CHECK_DELAY;\n static COOKIE_EXPIRES = COOKIE_EXPIRES;\n\n /**\n * Maximum storage size\n * @see http://browsercookielimits.squawky.net/\n * @type {number}\n */\n static QUOTA = QUOTA;\n\n /**\n * @param {string} name\n * @param {string} value\n * @param {number} days\n * @private\n */\n static _createCookie(name, value, days) {\n let date;\n let expires;\n\n if (days) {\n date = new Date();\n date.setTime(date.getTime() + (days * SECONDS_IN_DAY));\n expires = `; expires=${date.toGMTString()}`;\n } else {\n expires = ';';\n }\n\n document.cookie = `${name}=${value}${expires}; path=/`;\n }\n\n /**\n *\n * @param {string} name\n * @return {string}\n * @private\n */\n static _readCookie(name) {\n const nameEQ = `${name}=`;\n const cookies = document.cookie.split(';');\n\n let cookie;\n for (let i = 0; i < cookies.length; i++) {\n cookie = cookies[i];\n while (cookie.charAt(0) === ' ') {\n cookie = cookie.substring(1, cookie.length);\n }\n\n if (cookie.indexOf(nameEQ) === 0) {\n return cookie.substring(nameEQ.length, cookie.length);\n }\n }\n\n return undefined;\n }\n\n constructor(config = {}) {\n const session = config.type === 'session';\n\n this.cookieName = config.cookieName ||\n (\n session\n ? this.constructor.DEFAULT_SESSION_COOKIE_NAME\n : this.constructor.DEFAULT_COOKIE_NAME\n );\n this.checkDelay = config.checkDelay || this.constructor.DEFAULT_CHECK_DELAY;\n this.expires = session ? this.constructor.COOKIE_EXPIRES : null;\n }\n\n /**\n * @return {Promise}\n * @private\n */\n _read() {\n return new Promise(resolve => {\n const rawData = FallbackStorage._readCookie(this.cookieName);\n resolve(JSON.parse(decodeURIComponent(rawData)));\n }).catch(() => ({}));\n }\n\n /**\n * @param data\n * @return {Promise}\n * @private\n */\n _write(data) {\n return new Promise(resolve => {\n const stringData = encodeURIComponent(JSON.stringify(data));\n FallbackStorage.\n _createCookie(this.cookieName, stringData === '{}' ? '' : stringData, this.expires);\n return resolve(data);\n });\n }\n\n /**\n * @param {string} key\n * @return {Promise}\n */\n get(key) {\n return this._read().then(data => data[key] || null);\n }\n\n /**\n * @param {string} key\n * @param {object} value\n * @return {Promise}\n */\n set(key, value) {\n return this._read().then(data => {\n if (key) {\n if (value != null) {\n data[key] = value;\n } else {\n Reflect.deleteProperty(data, key);\n }\n }\n\n return this._write(data);\n });\n }\n\n /**\n * @param {string} key\n * @return {Promise}\n */\n remove(key) {\n return this.set(key, null);\n }\n\n /**\n *\n * @param {function(string, value)} callback\n * @return {Promise}\n */\n each(callback) {\n if (typeof callback !== 'function') {\n return Promise.reject(new Error('Callback is not a function'));\n }\n\n return this._read().then(data => {\n const promises = [];\n for (const key in data) {\n if (data.hasOwnProperty(key)) {\n promises.push(callback(key, data[key]));\n }\n }\n return Promise.all(promises);\n });\n }\n\n /**\n * @param {string} key\n * @param {Function} callback\n * @return {Function}\n */\n on(key, callback) {\n let stop = false;\n\n const checkForChange = oldValue => {\n this.get(key).then(newValue => {\n if (stop) {\n return;\n }\n\n if (!deepEqual(oldValue, newValue)) {\n callback(newValue);\n }\n\n window.setTimeout(() => checkForChange(oldValue), this.checkDelay);\n });\n };\n\n this.get(key).then(checkForChange);\n\n return () => {\n stop = true;\n };\n }\n}\n","import LocalStorage from './storage__local';\nimport FallbackStorage from './storage__fallback';\n\n/**\n * @name Storage\n */\n\n/**\n * @constructor\n * @extends {LocalStorage}\n */\nlet Storage = LocalStorage;\n\n// Using try/catch here because of IE10+ protected mode and other browsers' quirks\n// See https://github.com/Modernizr/Modernizr/blob/master/feature-detects/storage/localstorage.js\ntry {\n const temp = 'testStorage';\n localStorage.setItem(temp, temp);\n localStorage.removeItem(temp);\n} catch (e) {\n Storage = FallbackStorage;\n}\n\nconst ActualStorage = Storage;\nexport default ActualStorage;\n","import Storage from '../storage/storage';\nimport sniffr from '../global/sniffer';\n\n/**\n * @typedef {Object} StoredToken\n * @property {string} accessToken\n * @property {string[]} scopes\n * @property {number} expires\n */\n\n/**\n * @typedef {Object} StoredState\n * @property {Date} created\n * @property {string} restoreLocation\n * @property {string[]} scopes\n */\n\nconst DEFAULT_STATE_QUOTA = 102400; // 100 kb ~~ 200 tabs with a large list of scopes\n// eslint-disable-next-line no-magic-numbers\nconst DEFAULT_STATE_TTL = 1000 * 60 * 60 * 24; // nobody will need auth state after a day\nconst UPDATE_USER_TIMEOUT = 1000;\nconst isIE11 = sniffr.browser.name === 'ie' && sniffr.browser.versionString === '11.0';\n\nexport default class AuthStorage {\n /**\n * Custom storage for Auth\n * @param {{stateKeyPrefix: string, tokenKey: string, onTokenRemove: Function}} config\n */\n constructor(config) {\n this.messagePrefix = config.messagePrefix || '';\n this.stateKeyPrefix = config.stateKeyPrefix;\n this.tokenKey = config.tokenKey;\n this.userKey = config.userKey || 'user-key';\n this.stateTTL = config.stateTTL || DEFAULT_STATE_TTL;\n this._lastMessage = null;\n\n const StorageConstructor = config.storage || Storage;\n this.stateQuota = Math.min(\n config.stateQuota ||\n DEFAULT_STATE_QUOTA,\n StorageConstructor.QUOTA || Infinity\n );\n\n this._stateStorage = new StorageConstructor({\n cookieName: 'ring-state'\n });\n this._tokenStorage = new StorageConstructor({\n cookieName: 'ring-token'\n });\n this._messagesStorage = new StorageConstructor({\n cookieName: 'ring-message'\n });\n this._currentUserStorage = new StorageConstructor({\n cookieName: 'ring-user'\n });\n }\n\n /**\n * Add token change listener\n * @param {function(string)} fn Token change listener\n * @return {function()} remove listener function\n */\n onTokenChange(fn) {\n return this._tokenStorage.on(this.tokenKey, fn);\n }\n\n /**\n * Add state change listener\n * @param {string} stateKey State key\n * @param {function(string)} fn State change listener\n * @return {function()} remove listener function\n */\n onStateChange(stateKey, fn) {\n return this._stateStorage.on(this.stateKeyPrefix + stateKey, fn);\n }\n\n /**\n * Add state change listener\n * @param {string} key State key\n * @param {function(string)} fn State change listener\n * @return {function()} remove listener function\n */\n onMessage(key, fn) {\n return this._messagesStorage.on(this.messagePrefix + key, message => {\n //IE11 triggers storage events on same window where localStorage was updated\n if (isIE11 && message === this._lastMessage) {\n return null;\n }\n return fn(message);\n });\n }\n\n sendMessage(key, message = null) {\n this._lastMessage = message;\n this._messagesStorage.set(this.messagePrefix + key, message);\n }\n\n /**\n * Save authentication request state.\n *\n * @param {string} id Unique state identifier\n * @param {StoredState} state State to store\n * @param {boolean=} dontCleanAndRetryOnFail If falsy then remove all stored states and try again to save state\n */\n async saveState(id, state, dontCleanAndRetryOnFail) {\n state.created = Date.now();\n\n try {\n await this._stateStorage.set(this.stateKeyPrefix + id, state);\n } catch (e) {\n if (!dontCleanAndRetryOnFail) {\n await this.cleanStates();\n return this.saveState(id, state, true);\n } else {\n throw e;\n }\n }\n return undefined;\n }\n\n /**\n * Remove all stored states\n *\n * @return {Promise} promise that is resolved when OLD states [and some selected] are removed\n */\n async cleanStates(removeStateId) {\n const now = Date.now();\n\n const removalResult = await this._stateStorage.each((key, state) => {\n // Remove requested state\n if (key === this.stateKeyPrefix + removeStateId) {\n return this._stateStorage.remove(key);\n }\n\n if (key.indexOf(this.stateKeyPrefix) === 0) {\n // Clean old states\n if (state.created + this.stateTTL < now) {\n return this._stateStorage.remove(key);\n }\n\n // Data to clean up due quota\n return {\n key,\n created: state.created,\n size: JSON.stringify(state).length\n };\n }\n\n return undefined;\n });\n const currentStates = removalResult.filter(state => state);\n\n let stateStorageSize = currentStates.\n reduce((overallSize, state) => state.size + overallSize, 0);\n\n if (stateStorageSize > this.stateQuota) {\n currentStates.sort((a, b) => a.created > b.created);\n\n const removalPromises = currentStates.filter(state => {\n if (stateStorageSize > this.stateQuota) {\n stateStorageSize -= state.size;\n return true;\n }\n\n return false;\n }).map(state => this._stateStorage.remove(state.key));\n\n return removalPromises.length && Promise.all(removalPromises);\n }\n\n return undefined;\n }\n\n /**\n * Get state by id and remove stored states from the storage.\n *\n * @param {string} id unique state identifier\n * @return {Promise.<StoredState>}\n */\n async getState(id) {\n try {\n const result = await this._stateStorage.get(this.stateKeyPrefix + id);\n await this.cleanStates(id);\n return result;\n } catch (e) {\n await this.cleanStates(id);\n throw e;\n }\n }\n\n /**\n * @param {StoredToken} token\n * @return {Promise} promise that is resolved when the token is saved\n */\n saveToken(token) {\n return this._tokenStorage.set(this.tokenKey, token);\n }\n\n /**\n * @return {Promise.<StoredToken>} promise that is resolved to the stored token\n */\n getToken() {\n return this._tokenStorage.get(this.tokenKey);\n }\n\n /**\n * Remove stored token if any.\n * @return {Promise} promise that is resolved when the token is wiped.\n */\n wipeToken() {\n return this._tokenStorage.remove(this.tokenKey);\n }\n\n /**\n * @param {function} loadUser user loader\n * @return {Promise.<object>>} promise that is resolved to stored current user\n */\n async getCachedUser(loadUser) {\n const user = await this._currentUserStorage.get(this.userKey);\n const loadAndCache = () => loadUser().then(response => {\n this._currentUserStorage.set(this.userKey, response);\n return response;\n });\n\n if (user && user.id) {\n setTimeout(loadAndCache, UPDATE_USER_TIMEOUT);\n return user;\n } else {\n return loadAndCache();\n }\n }\n\n /**\n * Remove cached user if any\n */\n wipeCachedCurrentUser() {\n return this._currentUserStorage.remove(this.userKey);\n }\n\n /**\n * Wipes cache if user has changed\n */\n onUserChanged() {\n this.wipeCachedCurrentUser();\n }\n}\n\n","import uuid from 'simply-uuid';\n\nimport {encodeURL} from '../global/url';\n\nexport default class AuthRequestBuilder {\n /**\n * @param {{\n * authorization: string,\n * redirectUri: string?,\n * requestCredentials: string?,\n * clientId: string?,\n * scopes: string[]\n * }} config\n * @param {AuthStorage} storage\n */\n constructor(config, storage) {\n this.config = config;\n this.storage = storage;\n }\n\n /**\n * @return {string} random string used for state\n */\n static _uuid = uuid.generate;\n\n /**\n * Save state and build an auth server redirect URL.\n *\n * @param {object=} extraParams additional query parameters for auth request\n * @param {object=} extraState additional state parameters to save\n * @return {Promise.<string>} promise that is resolved to authURL\n */\n async prepareAuthRequest(extraParams, extraState) {\n const stateId = AuthRequestBuilder._uuid();\n const scopes = this.config.scopes.map(scope => encodeURIComponent(scope));\n\n /* eslint-disable camelcase */\n const request = Object.assign({\n response_type: 'token',\n state: stateId,\n redirect_uri: this.config.redirectUri,\n request_credentials: this.config.requestCredentials,\n client_id: this.config.clientId,\n scope: scopes.join(' ')\n }, extraParams || {});\n /* eslint-enable camelcase */\n\n const authURL = encodeURL(this.config.authorization, request);\n\n const state = Object.assign({\n restoreLocation: window.location.href,\n scopes: this.config.scopes\n }, extraState || {});\n\n await this._saveState(stateId, state);\n return ({\n url: authURL,\n stateId\n });\n }\n\n /**\n * @param {string} id\n * @param {StoredState} storedState\n * @return {Promise}\n * @private\n */\n _saveState(id, storedState) {\n return this.storage.saveState(id, storedState);\n }\n}\n","import AuthResponseParser from './response-parser';\n\nexport const HUB_AUTH_PAGE_OPENED = 'HUB_AUTH_PAGE_OPENED';\n\nexport default class BackgroundFlow {\n constructor(requestBuilder, storage, timeout) {\n this._requestBuilder = requestBuilder;\n this._storage = storage;\n this._timeout = timeout;\n }\n\n /**\n * Creates a hidden iframe\n * @return {HTMLIFrameElement}\n * @private\n */\n _createHiddenFrame() {\n const iframe = document.createElement('iframe');\n\n iframe.style.border = iframe.style.width = iframe.style.height = '0px';\n iframe.style.visibility = 'hidden';\n iframe.style.position = 'fixed';\n iframe.style.left = '-10000px';\n window.document.body.appendChild(iframe);\n\n return iframe;\n }\n\n /**\n * Redirects the given iframe to the given URL\n * @param {HTMLIFrameElement} iframe\n * @param {string} url\n * @private\n */\n _redirectFrame(iframe, url) {\n iframe.src = `${url}&rnd=${Math.random()}`;\n }\n\n /**\n * Refreshes the access token in an iframe.\n *\n * @return {Promise.<string>} promise that is resolved to access the token when it is loaded in a background iframe. The\n * promise is rejected if no token was received after {@link BackgroundToken.BACKGROUND_TIMEOUT} ms.\n */\n async _load() {\n const authRequest = await this._requestBuilder.\n // eslint-disable-next-line camelcase\n prepareAuthRequest({request_credentials: 'silent'}, {nonRedirect: true});\n\n return new Promise((resolve, reject) => {\n function onMessage(e) {\n if (e.data === HUB_AUTH_PAGE_OPENED) {\n reject(new Error('Failed to obtain/refresh token in background'));\n cleanUp();\n }\n }\n\n window.addEventListener('message', onMessage);\n\n const iframe = this._createHiddenFrame();\n\n let cleanRun;\n\n const timeout = setTimeout(() => {\n reject(new Error('Failed to refresh authorization'));\n cleanUp();\n }, this._timeout);\n\n const removeTokenListener = this._storage.onTokenChange(token => {\n if (token) {\n cleanUp();\n resolve(token.accessToken);\n }\n });\n\n const removeStateListener = this._storage.onStateChange(authRequest.stateId, state => {\n if (state && state.error) {\n cleanUp();\n reject(new AuthResponseParser.AuthError(state));\n }\n });\n\n function cleanUp() {\n if (cleanRun) {\n return;\n }\n cleanRun = true;\n clearTimeout(timeout);\n removeStateListener();\n removeTokenListener();\n window.removeEventListener('message', onMessage);\n window.document.body.removeChild(iframe);\n }\n\n this._redirectFrame(iframe, authRequest.url);\n });\n }\n\n authorize() {\n if (this._promise) {\n return this._promise;\n }\n\n const resetPromise = () => {\n this._promise = null;\n };\n\n this._promise = this._load();\n\n this._promise.then(resetPromise, resetPromise);\n\n return this._promise;\n }\n}\n","import ExtendableError from 'es6-error';\n\nimport {CODE} from '../http/http';\n\nexport default class TokenValidator {\n constructor(config, getUser, storage) {\n this._getUser = getUser;\n this._config = config;\n this._storage = storage;\n }\n\n /**\n * Returns epoch - seconds since 1970.\n * Used for calculation of expire times.\n * @return {number} epoch, seconds since 1970\n * @private\n */\n static _epoch() {\n const milliseconds = 1000.0;\n return Math.round(Date.now() / milliseconds);\n }\n\n /**\n * @const {number}\n */\n // eslint-disable-next-line no-magic-numbers\n static DEFAULT_REFRESH_BEFORE = 10 * 60; // 20 min in s\n\n /**\n * Error class for auth token validation\n *\n * @param {string} message Error message\n * @param {Error=} cause Error that caused this error\n */\n static TokenValidationError = class TokenValidationError extends ExtendableError {\n constructor(message, cause) {\n super(message);\n this.cause = cause;\n this.authRedirect = true;\n }\n };\n\n /**\n * Check token validity against all conditions.\n * @returns {Promise.<string>}\n */\n validateTokenLocally() {\n return this._getValidatedToken([\n TokenValidator._validateExistence,\n TokenValidator._validateExpiration,\n this._validateScopes.bind(this)\n ]);\n }\n\n /**\n * Check token validity against all conditions.\n * @returns {Promise.<string>}\n */\n validateToken() {\n return this._getValidatedToken([\n TokenValidator._validateExistence,\n TokenValidator._validateExpiration,\n this._validateScopes.bind(this),\n this._validateAgainstUser.bind(this)\n ]);\n }\n\n\n /**\n * Check if there is a token\n * @param {StoredToken} storedToken\n * @return {Promise.<StoredToken>}\n * @private\n */\n static async _validateExistence(storedToken) {\n if (!storedToken || !storedToken.accessToken) {\n throw new TokenValidator.TokenValidationError('Token not found');\n }\n }\n\n /**\n * Check expiration\n * @param {StoredToken} storedToken\n * @return {Promise.<StoredToken>}\n * @private\n */\n static async _validateExpiration({expires, lifeTime}) {\n const REFRESH_BEFORE_RATIO = 6;\n const refreshBefore = lifeTime\n ? Math.ceil(lifeTime / REFRESH_BEFORE_RATIO)\n : TokenValidator.DEFAULT_REFRESH_BEFORE;\n\n if (expires && expires < (TokenValidator._epoch() + refreshBefore)) {\n throw new TokenValidator.TokenValidationError('Token expired');\n }\n }\n\n /**\n * Check scopes\n * @param {StoredToken} storedToken\n * @return {Promise.<StoredToken>}\n * @private\n */\n async _validateScopes(storedToken) {\n const {scope, optionalScopes} = this._config;\n const requiredScopes = optionalScopes\n ? scope.filter(scopeId => !optionalScopes.includes(scopeId))\n : scope;\n\n const hasAllScopes = requiredScopes.every(scopeId => storedToken.scopes.includes(scopeId));\n if (!hasAllScopes) {\n throw new TokenValidator.TokenValidationError('Token doesn\\'t match required scopes');\n }\n }\n\n /**\n * Check by error code if token should be refreshed\n * @param {string} error\n * @return {boolean}\n */\n static shouldRefreshToken(error) {\n return error === 'invalid_grant' ||\n error === 'invalid_request' ||\n error === 'invalid_token';\n }\n\n /**\n * Check scopes\n * @param {StoredToken} storedToken\n * @return {Promise.<StoredToken>}\n * @private\n */\n async _validateAgainstUser(storedToken) {\n try {\n return await this._getUser(storedToken.accessToken);\n } catch (errorResponse) {\n\n let response = {};\n try {\n response = await errorResponse.response.json();\n } catch (e) {\n // Skip JSON parsing errors\n }\n\n if (\n errorResponse.status === CODE.UNAUTHORIZED ||\n TokenValidator.shouldRefreshToken(response.error)\n ) {\n // Token expired\n throw new TokenValidator.TokenValidationError(response.error || errorResponse.message);\n }\n\n // Request unexpectedly failed\n throw errorResponse;\n }\n }\n\n /**\n * Token Validator function\n * @typedef {(function(StoredToken): Promise<StoredToken>)} TokenValidator\n */\n\n /**\n * Gets stored token and applies provided validators\n * @param {TokenValidator[]} validators An array of validation\n * functions to check the stored token against.\n * @return {Promise.<string>} promise that is resolved to access token if the stored token is valid. If it is\n * invalid then the promise is rejected. If invalid token should be re-requested then rejection object will\n * have {authRedirect: true}.\n * @private\n */\n async _getValidatedToken(validators) {\n const storedToken = await this._storage.getToken();\n\n for (let i = 0; i < validators.length; i++) {\n await validators[i](storedToken);\n }\n\n return storedToken.accessToken;\n }\n}\n","import {fixUrl, getAbsoluteBaseURL} from '../global/url';\nimport Listeners from '../global/listeners';\nimport HTTP from '../http/http';\nimport promiseWithTimeout from '../global/promise-with-timeout';\n\nimport AuthStorage from './storage';\nimport AuthResponseParser from './response-parser';\nimport AuthRequestBuilder from './request-builder';\nimport BackgroundFlow from './background-flow';\nimport TokenValidator from './token-validator';\n\n/* eslint-disable no-magic-numbers */\nexport const DEFAULT_EXPIRES_TIMEOUT = 40 * 60;\nexport const DEFAULT_BACKGROUND_TIMEOUT = 10 * 1000;\nconst DEFAULT_BACKEND_CHECK_TIMEOUT = 10 * 1000;\nconst BACKGROUND_REDIRECT_TIMEOUT = 20 * 1000;\n/* eslint-enable no-magic-numbers */\n\nexport const USER_CHANGED_EVENT = 'userChange';\nexport const DOMAIN_USER_CHANGED_EVENT = 'domainUser';\nexport const LOGOUT_EVENT = 'logout';\nexport const LOGOUT_POSTPONED_EVENT = 'logoutPostponed';\nexport const USER_CHANGE_POSTPONED_EVENT = 'changePostponed';\n\nfunction noop() {}\n\nconst DEFAULT_CONFIG = {\n cacheCurrentUser: false,\n reloadOnUserChange: true,\n embeddedLogin: false,\n EmbeddedLoginFlow: null,\n clientId: '0-0-0-0-0',\n redirectUri: getAbsoluteBaseURL(),\n redirect: false,\n requestCredentials: 'default',\n backgroundRefreshTimeout: null,\n scope: [],\n userFields: ['guest', 'id', 'name', 'login', 'profile/avatar/url'],\n cleanHash: true,\n onLogout: noop,\n onPostponeChangedUser: () => {},\n onPostponeLogout: () => {},\n enableBackendStatusCheck: true,\n backendCheckTimeout: DEFAULT_BACKEND_CHECK_TIMEOUT,\n checkBackendIsUp: () => Promise.resolve(null),\n onBackendDown: () => {},\n\n defaultExpiresIn: DEFAULT_EXPIRES_TIMEOUT,\n translations: {\n login: 'Log in',\n loginTo: 'Log in to %serviceName%',\n cancel: 'Cancel',\n postpone: 'Postpone',\n youHaveLoggedInAs: 'You have logged in as another user: %userName%',\n applyChange: 'Apply change',\n backendIsNotAvailable: 'Connection lost',\n checkAgain: 'try again',\n nothingHappensLink: 'Click here if nothing happens',\n errorMessage: 'There may be a problem with your network connection. Make sure that you are online and'\n }\n};\n\nexport default class Auth {\n static DEFAULT_CONFIG = DEFAULT_CONFIG;\n static API_PATH = 'api/rest/';\n static API_AUTH_PATH = 'oauth2/auth';\n static API_PROFILE_PATH = 'users/me';\n static CLOSE_BACKEND_DOWN_MESSAGE = 'backend-check-succeeded';\n static CLOSE_WINDOW_MESSAGE = 'close-login-window';\n static shouldRefreshToken = TokenValidator.shouldRefreshToken;\n static storageIsUnavailable = !navigator.cookieEnabled;\n\n config = {};\n listeners = new Listeners();\n http = null;\n _service = {};\n _storage = null;\n _responseParser = new AuthResponseParser();\n _requestBuilder = null;\n _backgroundFlow = null;\n _embeddedFlow = null;\n _tokenValidator = null;\n _postponed = false;\n _backendCheckPromise = null;\n _authDialogService = undefined;\n\n constructor(config) {\n if (!config) {\n throw new Error('Config is required');\n }\n\n if (config.serverUri == null) {\n throw new Error('\\\"serverUri\\\" property is required');\n }\n\n const unsupportedParams = ['redirect_uri', 'request_credentials', 'client_id'].filter(param => config.hasOwnProperty(param));\n if (unsupportedParams.length !== 0) {\n throw new Error(`The following parameters are no longer supported: ${unsupportedParams.join(', ')}. Please change them from snake_case to camelCase.`);\n }\n\n config.userFields = config.userFields || [];\n\n this.config = {...Auth.DEFAULT_CONFIG, ...config};\n\n const {clientId, redirect, redirectUri, requestCredentials, scope} = this.config;\n const serverUriLength = this.config.serverUri.length;\n\n if (serverUriLength > 0 && this.config.serverUri.charAt(serverUriLength - 1) !== '/') {\n this.config.serverUri += '/';\n }\n\n this.config.userParams = {\n query: {\n fields: [...new Set(Auth.DEFAULT_CONFIG.userFields.concat(config.userFields))].join()\n }\n };\n\n if (!scope.includes(Auth.DEFAULT_CONFIG.clientId)) {\n scope.push(Auth.DEFAULT_CONFIG.clientId);\n }\n\n this._storage = new AuthStorage({\n messagePrefix: `${clientId}-message-`,\n stateKeyPrefix: `${clientId}-states-`,\n tokenKey: `${clientId}-token`,\n userKey: `${clientId}-user-`\n });\n\n this._domainStorage = new AuthStorage({messagePrefix: 'domain-message-'});\n\n this._requestBuilder = new AuthRequestBuilder({\n authorization: this.config.serverUri + Auth.API_PATH + Auth.API_AUTH_PATH,\n clientId,\n redirect,\n redirectUri,\n requestCredentials,\n scopes: scope\n }, this._storage);\n\n let {backgroundRefreshTimeout} = this.config;\n if (!backgroundRefreshTimeout) {\n backgroundRefreshTimeout = this.config.embeddedLogin\n ? DEFAULT_BACKGROUND_TIMEOUT\n : BACKGROUND_REDIRECT_TIMEOUT;\n }\n\n this._backgroundFlow = new BackgroundFlow(\n this._requestBuilder, this._storage, backgroundRefreshTimeout\n );\n if (this.config.EmbeddedLoginFlow) {\n this._embeddedFlow = new this.config.EmbeddedLoginFlow(\n this._requestBuilder,\n this._storage,\n this.config.translations\n );\n }\n\n const API_BASE = this.config.serverUri + Auth.API_PATH;\n const fetchConfig = config.fetchCredentials\n ? {credentials: config.fetchCredentials}\n : undefined;\n this.http = new HTTP(this, API_BASE, fetchConfig);\n\n const getUser = async token => {\n const user = await this.getUser(token);\n this.user = user;\n return user;\n };\n\n this._tokenValidator = new TokenValidator(this.config, getUser, this._storage);\n\n if (this.config.onLogout) {\n this.addListener(LOGOUT_EVENT, this.config.onLogout);\n }\n\n if (this.config.reloadOnUserChange === true) {\n this.addListener(USER_CHANGED_EVENT, () => this._reloadCurrentPage());\n }\n\n this.addListener(LOGOUT_POSTPONED_EVENT, () => this._setPostponed(true));\n this.addListener(USER_CHANGE_POSTPONED_EVENT, () => this._setPostponed(true));\n this.addListener(USER_CHANGED_EVENT, () => this._setPostponed(false));\n this.addListener(USER_CHANGED_EVENT, user => user && this._updateDomainUser(user.id));\n if (this.config.cacheCurrentUser) {\n this.addListener(LOGOUT_EVENT, () => this._storage.wipeCachedCurrentUser());\n this.addListener(USER_CHANGED_EVENT, () => this._storage.onUserChanged());\n }\n\n this._createInitDeferred();\n\n this.setUpPreconnect(config.serverUri);\n }\n\n _setPostponed(postponed = false) {\n this._postponed = postponed;\n }\n\n _updateDomainUser(userID) {\n this._domainStorage.sendMessage(DOMAIN_USER_CHANGED_EVENT, {\n userID,\n serviceID: this.config.clientId\n });\n }\n\n addListener(event, handler) {\n this.listeners.add(event, handler);\n }\n\n removeListener(event, handler) {\n this.listeners.remove(event, handler);\n }\n\n setAuthDialogService(authDialogService) {\n this._authDialogService = authDialogService;\n }\n\n setCurrentService(service) {\n this._service = service;\n }\n\n _createInitDeferred() {\n this._initDeferred = {};\n this._initDeferred.promise = new Promise((resolve, reject) => {\n this._initDeferred.resolve = resolve;\n this._initDeferred.reject = reject;\n });\n }\n\n /**\n * @return {Promise.<string>} absolute URL promise that is resolved to a URL\n * that should be restored after returning back from auth server.\n */\n async init() {\n this._storage.onTokenChange(token => {\n const isGuest = this.user ? this.user.guest : false;\n\n if (isGuest && !token) {\n return;\n }\n\n if (!token) {\n this.logout();\n } else {\n this._detectUserChange(token.accessToken);\n }\n });\n\n this._domainStorage.onMessage(DOMAIN_USER_CHANGED_EVENT, ({userID, serviceID}) => {\n if (serviceID === this.config.clientId) {\n return;\n }\n if (this.user && userID === this.user.id) {\n return;\n }\n this.forceTokenUpdate();\n });\n\n let state;\n\n try {\n // Look for token or error in hash\n state = await this._checkForAuthResponse();\n } catch (error) {\n return this.handleInitError(error);\n }\n\n // Return endless promise in the background to avoid service start\n if (state && state.nonRedirect) {\n return new Promise(noop);\n }\n\n try {\n // Check if there is a valid token\n await this._tokenValidator.validateToken();\n\n\n // Checking if there is a message left by another app on this domain\n const message = await this._domainStorage._messagesStorage.get(`domain-message-${DOMAIN_USER_CHANGED_EVENT}`);\n if (message) {\n const {userID, serviceID} = message;\n if (serviceID !== this.config.clientId && (!userID || this.user.id !== userID)) {\n this.forceTokenUpdate();\n }\n }\n\n // Access token appears to be valid.\n // We may resolve restoreLocation URL now\n if (!state) {\n // Check if we have requested to restore state anyway\n state = await this._checkForStateRestoration();\n }\n this._initDeferred.resolve(state && state.restoreLocation);\n return state?.restoreLocation;\n } catch (error) {\n if (Auth.storageIsUnavailable) {\n this._initDeferred.resolve(); // No way to handle if cookies are disabled\n await this.requestUser(); // Someone may expect user to be loaded as a part of token validation\n return null;\n }\n return this.handleInitValidationError(error);\n }\n }\n\n async sendRedirect(error) {\n const authRequest = await this._requestBuilder.prepareAuthRequest();\n this._redirectCurrentPage(authRequest.url);\n\n throw error;\n }\n\n async handleInitError(error) {\n if (error.stateId) {\n try {\n const state = await this._storage.getState(error.stateId);\n\n if (state && state.nonRedirect) {\n state.error = error;\n this._storage.saveState(error.stateId, state);\n\n // Return endless promise in the background to avoid service start\n return new Promise(noop);\n }\n } catch (e) {\n // Throw the orginal error instead below\n }\n }\n\n throw error;\n }\n\n async handleInitValidationError(error) {\n // Redirect flow\n if (error.authRedirect && this.config.redirect) {\n return this.sendRedirect(error);\n }\n\n // Background flow\n if (error.authRedirect && !this.config.redirect) {\n try {\n await this._backgroundFlow.authorize();\n await this._tokenValidator.validateToken();\n this._initDeferred.resolve();\n return undefined;\n } catch (validationError) {\n // Fallback to redirect flow\n return this.sendRedirect(validationError);\n }\n }\n\n this._initDeferred.reject(error);\n throw error;\n }\n\n /**\n * Get token from local storage or request it if necessary.\n * Can redirect to login page.\n * @return {Promise.<string>}\n */\n async requestToken() {\n if (this._postponed) {\n throw new Error('You should log in to be able to make requests');\n }\n\n try {\n await this._initDeferred.promise;\n\n if (Auth.storageIsUnavailable) {\n return null; // Forever guest if storage is unavailable\n }\n return await this._tokenValidator.validateTokenLocally();\n } catch (e) {\n return this.forceTokenUpdate();\n }\n }\n\n /**\n * Get new token in the background or redirect to the login page.\n * @return {Promise.<string>}\n */\n async forceTokenUpdate() {\n try {\n if (!this._backendCheckPromise) {\n this._backendCheckPromise = this._checkBackendsStatusesIfEnabled();\n }\n await this._backendCheckPromise;\n } catch (e) {\n throw new Error('Cannot refresh token: backend is not available. Postponed by user.');\n } finally {\n this._backendCheckPromise = null;\n }\n\n try {\n return await this._backgroundFlow.authorize();\n } catch (error) {\n\n if (this._canShowDialogs()) {\n return this._showAuthDialog({nonInteractive: true, error});\n } else {\n const authRequest = await this._requestBuilder.prepareAuthRequest();\n this._redirectCurrentPage(authRequest.url);\n }\n\n throw new TokenValidator.TokenValidationError(error.message);\n }\n }\n\n async loadCurrentService() {\n if (this._service.serviceName) {\n return;\n }\n try {\n const {serviceName, iconUrl: serviceImage} = await this.http.get(`oauth2/interactive/login/settings?client_id=${this.config.clientId}`) || {};\n this.setCurrentService({serviceImage, serviceName});\n } catch (e) {\n // noop\n }\n }\n\n getAPIPath() {\n return this.config.serverUri + Auth.API_PATH;\n }\n\n /**\n * @return {Promise.<object>}\n */\n getUser(accessToken) {\n if (this.config.cacheCurrentUser) {\n return this._storage.getCachedUser(\n () => this.http.authorizedFetch(Auth.API_PROFILE_PATH, accessToken, this.config.userParams)\n );\n } else {\n return this.http.authorizedFetch(Auth.API_PROFILE_PATH, accessToken, this.config.userParams);\n }\n }\n\n /**\n * @return {Promise.<object>}\n */\n async requestUser() {\n if (this.user) {\n return this.user;\n }\n\n const accessToken = await this.requestToken();\n\n // If user was fetched during token request\n if (this.user) {\n return this.user;\n }\n\n const user = await this.getUser(accessToken);\n this.user = user;\n\n return user;\n }\n\n async updateUser() {\n this._setPostponed(false);\n const accessToken = await this.requestToken();\n this._storage.wipeCachedCurrentUser();\n const user = await this.getUser(accessToken);\n this.user = user;\n this.listeners.trigger(USER_CHANGED_EVENT, user);\n }\n\n async _detectUserChange(accessToken) {\n const windowWasOpen = this._isLoginWindowOpen;\n\n try {\n const user = await this.getUser(accessToken);\n const onApply = () => {\n this.user = user;\n this.listeners.trigger(USER_CHANGED_EVENT, user);\n };\n\n if (user && this.user && this.user.id !== user.id) {\n if (!this._canShowDialogs() || this.user.guest || windowWasOpen) {\n onApply();\n return;\n }\n if (user.guest) {\n this._showAuthDialog({nonInteractive: true});\n return;\n }\n\n await this._showUserChangedDialog({\n newUser: user,\n onApply,\n onPostpone: () => {\n this.listeners.trigger(USER_CHANGE_POSTPONED_EVENT);\n this.config.onPostponeChangedUser(this.user, user);\n }\n });\n\n }\n } catch (e) {\n // noop\n }\n }\n\n _beforeLogout(params) {\n if (this._canShowDialogs()) {\n this._showAuthDialog(params);\n return;\n }\n\n this.logout();\n }\n\n async _showAuthDialog({nonInteractive, error, canCancel} = {}) {\n const {embeddedLogin, onPostponeLogout, translations} = this.config;\n const cancelable = this.user.guest || canCancel;\n\n this._createInitDeferred();\n\n const closeDialog = () => {\n /* eslint-disable no-use-before-define */\n stopTokenListening();\n stopMessageListening();\n hide();\n /* eslint-enable no-use-before-define */\n };\n\n const onConfirm = () => {\n if (embeddedLogin !== true) {\n closeDialog();\n this.logout();\n return;\n }\n this._runEmbeddedLogin();\n };\n\n const onCancel = () => {\n this._embeddedFlow.stop();\n this._storage.sendMessage(Auth.CLOSE_WINDOW_MESSAGE, Date.now());\n closeDialog();\n if (!cancelable) {\n this._initDeferred.resolve();\n this.listeners.trigger(LOGOUT_POSTPONED_EVENT);\n onPostponeLogout();\n return;\n }\n\n if (this.user.guest && nonInteractive) {\n this.forceTokenUpdate();\n } else {\n this._initDeferred.resolve();\n }\n };\n\n const hide = this._authDialogService({\n ...this._service,\n loginCaption: translations.login,\n loginToCaption: translations.loginTo,\n confirmLabel: translations.login,\n cancelLabel: cancelable ? translations.cancel : translations.postpone,\n errorMessage: error && error.toString ? error.toString() : null,\n onConfirm,\n onCancel\n });\n\n const stopTokenListening = this._storage.onTokenChange(token => {\n if (token) {\n closeDialog();\n this._initDeferred.resolve();\n }\n });\n\n const stopMessageListening = this._storage.onMessage(\n Auth.CLOSE_WINDOW_MESSAGE,\n () => this._embeddedFlow.stop()\n );\n }\n\n async _showUserChangedDialog({newUser, onApply, onPostpone} = {}) {\n const {translations} = this.config;\n\n this._createInitDeferred();\n\n const done = () => {\n this._initDeferred.resolve();\n // eslint-disable-next-line no-use-before-define\n hide();\n };\n\n const hide = this._authDialogService({\n ...this._service,\n title: translations.youHaveLoggedInAs.replace('%userName%', newUser.name),\n loginCaption: translations.login,\n loginToCaption: translations.loginTo,\n confirmLabel: translations.applyChange,\n cancelLabel: translations.postpone,\n onConfirm: () => {\n done();\n onApply();\n },\n onCancel: () => {\n done();\n onPostpone();\n }\n });\n }\n\n async _showBackendDownDialog(backendError) {\n const {onBackendDown, translations} = this.config;\n const REPEAT_TIMEOUT = 5000;\n let timerId = null;\n\n return new Promise((resolve, reject) => {\n const done = () => {\n /* eslint-disable no-use-before-define */\n hide();\n window.removeEventListener('online', onCheckAgain);\n stopListeningCloseMessage();\n /* eslint-enable no-use-before-define */\n this._storage.sendMessage(Auth.CLOSE_BACKEND_DOWN_MESSAGE, Date.now());\n this._awaitingForBackendPromise = null;\n clearTimeout(timerId);\n };\n\n const stopListeningCloseMessage = this._storage.onMessage(\n Auth.CLOSE_BACKEND_DOWN_MESSAGE,\n () => {\n stopListeningCloseMessage();\n done();\n resolve();\n }\n );\n\n const onCheckAgain = async () => {\n await this._checkBackendsAreUp();\n done();\n resolve();\n };\n\n const onPostpone = () => {\n done();\n reject(new Error('Auth(@jetbrains/ring-ui): postponed by user'));\n };\n\n const hide = onBackendDown({onCheckAgain, onPostpone, backendError, translations});\n\n window.addEventListener('online', onCheckAgain);\n\n function networkWatchdog() {\n if (navigator && navigator.onLine) {\n onCheckAgain();\n }\n timerId = setTimeout(networkWatchdog, REPEAT_TIMEOUT);\n }\n\n timerId = setTimeout(networkWatchdog, REPEAT_TIMEOUT);\n });\n }\n\n /**\n * Wipe accessToken and redirect to auth page with required authorization\n */\n async logout(extraParams) {\n const requestParams = {\n // eslint-disable-next-line camelcase\n request_credentials: 'required',\n ...extraParams\n };\n\n await this._checkBackendsStatusesIfEnabled();\n await this.listeners.trigger(LOGOUT_EVENT);\n this._updateDomainUser(null);\n await this._storage.wipeToken();\n\n const authRequest = await this._requestBuilder.prepareAuthRequest(requestParams);\n this._redirectCurrentPage(authRequest.url);\n }\n\n async _runEmbeddedLogin() {\n this._storage.sendMessage(Auth.CLOSE_WINDOW_MESSAGE, Date.now());\n try {\n this._isLoginWindowOpen = true;\n return await this._embeddedFlow.authorize();\n } catch (e) {\n throw e;\n } finally {\n this._isLoginWindowOpen = false;\n }\n }\n\n /**\n * Wipe accessToken and redirect to auth page to obtain authorization data\n * if user is logged in or log her in otherwise\n */\n async login() {\n if (this.config.embeddedLogin) {\n await this._runEmbeddedLogin();\n return;\n }\n\n await this._checkBackendsStatusesIfEnabled();\n try {\n const accessToken = await this._backgroundFlow.authorize();\n const user = await this.getUser(accessToken);\n\n if (user.guest) {\n this._beforeLogout();\n } else {\n this.user = user;\n this.listeners.trigger(USER_CHANGED_EVENT, user);\n }\n } catch (e) {\n this._beforeLogout();\n }\n }\n\n async switchUser() {\n if (this.config.embeddedLogin) {\n await this._runEmbeddedLogin();\n }\n\n throw new Error('Auth: switchUser only supported for \"embeddedLogin\" mode');\n }\n\n /**\n * Check if the hash contains an access token.\n * If it does, extract the state, compare with\n * config, and store the auth response for later use.\n *\n * @return {Promise} promise that is resolved to restoreLocation URL, or rejected\n * @private\n */\n async _checkForAuthResponse() {\n // getAuthResponseURL may throw an exception\n const authResponse = this._responseParser.getAuthResponseFromURL();\n const {scope: defaultScope, defaultExpiresIn, cleanHash} = this.config;\n\n if (authResponse && cleanHash) {\n this.setHash('');\n }\n\n if (!authResponse) {\n return undefined;\n }\n\n const {state: stateId, scope, expiresIn, accessToken} = authResponse;\n const newState = await (stateId && this._storage.getState(stateId)) || {};\n\n const scopes = scope ? scope.split(' ') : newState.scopes || defaultScope || [];\n const effectiveExpiresIn = expiresIn ? parseInt(expiresIn, 10) : defaultExpiresIn;\n const expires = TokenValidator._epoch() + effectiveExpiresIn;\n\n await this._storage.saveToken({accessToken, scopes, expires, lifeTime: effectiveExpiresIn});\n\n return newState;\n }\n\n async _checkForStateRestoration() {\n const authResponse = this._responseParser.getAuthResponseFromURL();\n if (authResponse && this.config.cleanHash) {\n this.setHash('');\n }\n const stateId = authResponse?.restoreAuthState;\n return await (stateId && this._storage.getState(stateId)) || {};\n }\n\n _checkBackendsAreUp() {\n const {backendCheckTimeout} = this.config;\n return Promise.all([\n promiseWithTimeout(\n this.http.fetch('settings/public?fields=id'),\n backendCheckTimeout,\n {error: new Error('The authorization server is taking too long to respond. Please try again later.')}\n ),\n this.config.checkBackendIsUp()\n ]).catch(err => {\n if (err instanceof TypeError) {\n throw new TypeError('Could not connect to the server due to network error. Please check your connection and try again.');\n }\n throw err;\n });\n }\n\n async _checkBackendsStatusesIfEnabled() {\n if (!this.config.enableBackendStatusCheck) {\n return;\n }\n try {\n await this._checkBackendsAreUp();\n } catch (backendDownErr) {\n await this._showBackendDownDialog(backendDownErr);\n }\n }\n\n /**\n * Adds preconnect tag to help browser to establish connection to URL.\n * See https://w3c.github.io/resource-hints/\n * @param url Url to preconnect to.\n */\n async setUpPreconnect(url) {\n const linkNode = document.createElement('link');\n linkNode.rel = 'preconnect';\n linkNode.href = url;\n linkNode.pr = '1.0';\n document.head.appendChild(linkNode);\n }\n\n /**\n * Redirects current page to the given URL\n * @param {string} url\n * @private\n */\n _redirectCurrentPage(url) {\n\n window.location = fixUrl(url);\n }\n\n /**\n * Reloads current page\n */\n _reloadCurrentPage() {\n this._redirectCurrentPage(window.location.href);\n }\n\n _canShowDialogs() {\n return this.config.embeddedLogin && this._authDialogService;\n }\n\n /**\n * Sets the location hash\n * @param {string} hash\n */\n setHash(hash) {\n if (history.replaceState) {\n // NB! History.replaceState is used here, because Firefox saves\n // a record in history.\n // NB! URL to redirect is formed manually because baseURI could be messed up,\n // in which case it's not obvious where redirect will lead.\n const cleanedUrl = [\n window.location.pathname,\n window.location.search\n ].join('');\n\n const hashIfExist = hash ? `#${hash}` : '';\n\n history.replaceState(undefined, undefined, `${cleanedUrl}${hashIfExist}`);\n } else {\n window.location.hash = hash;\n }\n }\n}\n","// Useful for using fetch with timeout\n// https://github.com/github/fetch/issues/175#issuecomment-284787564\n\nexport default function promiseWithTimeout(promise, timeout, {error}) {\n return new Promise((resolve, reject) => {\n setTimeout(() => reject(error || new Error('Timeout')), timeout);\n\n promise.then(resolve, reject);\n });\n}\n","import WindowFlow from './window-flow';\nimport defaultOnBackendDown from './down-notification';\nimport Auth from './auth__core';\n\n/**\n * @name Auth\n *\n * @prop {object} config\n * @prop {string} config.serverUri\n * @prop {string} config.redirectUri\n * @prop {string} config.clientId\n * @prop {boolean=false} config.redirect — use redirects instead of loading the token in the background.\n * @prop {string[]} config.scope\n * @prop {string[]} config.optionalScopes\n * @prop {boolean} config.cleanHash - whether or not location.hash will be cleaned after authorization is completed.\n * Should be set to false in angular > 1.2.26 apps to prevent infinite redirect in Firefox\n * @prop {User?} user\n * @prop {string[]} config.userFields List of user data fields to be returned by auth.requestUser (default list is used in Header.HeaderHelper)\n * @prop {string[]} config.fetchCredentials\n *\n * @param {{\n * serverUri: string,\n * redirectUri: string?,\n * requestCredentials: string?,\n * clientId: string?,\n * scope: string[]?,\n * optionalScopes: string[]?,\n * cleanHash: boolean?,\n * fetchCredentials: string?,\n * userFields: string[]?\n * }} config\n *\n */\n\n/**\n * Extend Auth config with non-required and not pure-JS stuff\n */\nAuth.DEFAULT_CONFIG = {\n ...Auth.DEFAULT_CONFIG,\n EmbeddedLoginFlow: WindowFlow,\n onBackendDown: defaultOnBackendDown\n};\n\nexport * from './auth__core';\nexport default Auth;\n","export default function linearFunction(x0, y0, a) {\n return {\n y(x) {\n return +y0 + (x - x0) * a;\n },\n\n x(y) {\n return +x0 + (y - y0) / a;\n }\n };\n}\n\nexport function interpolateLinear(x0, x1, phase) {\n return linearFunction(x0, x0, phase).y(x1);\n}\n\n","import React, {Component, createContext} from 'react';\n\nimport {interpolateLinear} from '../global/linear-function';\n\nconst TITLE_RESIZE_END = 20;\nconst TITLE_RESIZE_THRESHOLD = 36;\n\nexport const PhaseContext = createContext();\nexport const ScrollHandlerContext = createContext();\n\nexport default function adaptiveIslandHOC(ComposedComponent) {\n\n return class AdaptiveIsland extends Component {\n static propTypes = ComposedComponent.propTypes;\n\n state = {\n phase: 0\n };\n\n onContentScroll = ({scrollTop, scrollHeight, clientHeight}) => {\n if (scrollHeight - clientHeight >=\n interpolateLinear(TITLE_RESIZE_THRESHOLD, TITLE_RESIZE_END, this.state.phase)) {\n const phase = Math.min(1, scrollTop / TITLE_RESIZE_END);\n this.setState({phase});\n }\n };\n\n render() {\n return (\n <PhaseContext.Provider value={this.state.phase}>\n <ScrollHandlerContext.Provider value={this.onContentScroll}>\n <ComposedComponent {...this.props}/>\n </ScrollHandlerContext.Provider>\n </PhaseContext.Provider>\n );\n }\n };\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport {interpolateLinear} from '../global/linear-function';\n\nimport styles from './island.css';\nimport {PhaseContext} from './adaptive-island-hoc';\n\nconst Start = {\n FONT_SIZE: 24,\n LINE_HEIGHT: 28,\n PADDING: 16\n};\n\nconst End = {\n FONT_SIZE: 13,\n LINE_HEIGHT: 28,\n\n // Compensation\n X: 0.4,\n Y: 0.1,\n SPACING: 1.09\n};\n\nconst BORDER_APPEAR_PHASE = 0.5;\n\nclass Header extends Component {\n static propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n border: PropTypes.bool,\n wrapWithTitle: PropTypes.bool,\n phase: PropTypes.number\n };\n\n static defaultProps = {\n wrapWithTitle: true\n };\n\n style(name) {\n return interpolateLinear(Start[name] || 0, End[name] || 0, this.props.phase);\n }\n\n render() {\n const {children, className, wrapWithTitle, border, phase, ...restProps} = this.props;\n const classes = classNames(styles.header, className, {\n [styles.withBottomBorder]: border || phase >= BORDER_APPEAR_PHASE\n });\n\n\n const headerStyle = phase != null\n ? {\n lineHeight: `${this.style('LINE_HEIGHT')}px`, // need to append px because number is a valid line-height value\n paddingTop: this.style('PADDING')\n }\n : null;\n\n const scaleFont = phase != null && this.style('FONT_SIZE') / Start.FONT_SIZE;\n\n const titleStyle = (phase != null && phase < 1)\n ? {\n fontSize: Start.FONT_SIZE,\n transform: `translate(${this.style('X')}px, ${this.style('Y')}px) scale(${scaleFont})`,\n letterSpacing: this.style('SPACING')\n }\n : null;\n\n return (\n <div\n {...restProps}\n data-test=\"ring-island-header\"\n className={classes}\n style={headerStyle}\n >\n {wrapWithTitle &&\n (\n <div\n className={styles.title}\n style={titleStyle}\n >\n {children}\n </div>\n )}\n\n {!wrapWithTitle && children}\n\n </div>\n );\n }\n}\n\nconst HeaderWrapper = props => (\n <PhaseContext.Consumer>\n {phase => {\n const addProps = phase != null ? {phase} : {};\n return <Header {...props} {...addProps}/>;\n }}\n </PhaseContext.Consumer>\n);\n\nexport default HeaderWrapper;\n","export default function scheduleRAF(trailingCall) {\n let scheduledCb;\n let RAF;\n let trailingCallScheduled = false;\n\n function doSchedule() {\n RAF = window.requestAnimationFrame(() => {\n scheduledCb();\n if (trailingCallScheduled) {\n trailingCallScheduled = false;\n doSchedule();\n } else {\n RAF = null;\n scheduledCb = null;\n }\n });\n }\n\n return function schedule(cb) {\n scheduledCb = cb;\n if (!RAF) {\n doSchedule();\n } else if (trailingCall) {\n trailingCallScheduled = true;\n }\n };\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport createResizeDetector from 'element-resize-detector';\n\nimport scheduleRAF from '../global/schedule-raf';\n\nimport styles from './island.css';\nimport {ScrollHandlerContext} from './adaptive-island-hoc';\n\nconst scheduleScrollAction = scheduleRAF();\nconst noop = () => {};\nconst END_DISTANCE = 16;\n\nclass Content extends Component {\n static propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n scrollableWrapperClassName: PropTypes.string,\n fade: PropTypes.bool,\n bottomBorder: PropTypes.bool,\n onScroll: PropTypes.func,\n onScrollToBottom: PropTypes.func\n };\n\n static defaultProps = {\n fade: true,\n bottomBorder: false,\n onScroll: noop,\n onScrollToBottom: noop\n };\n\n state = {\n scrolledToTop: true,\n scrolledToBottom: false\n };\n\n componentWillUnmount() {\n this.scrollableNode = null;\n if (!this.wrapperNode) {\n return;\n }\n this.resizeDetector.removeAllListeners(this.wrapperNode);\n }\n\n resizeDetector = createResizeDetector({strategy: 'scroll'});\n\n setWrapper = node => {\n if (!node) {\n return;\n }\n this.wrapperNode = node;\n this.resizeDetector.listenTo(node, this.calculateScrollPosition);\n };\n\n calculateScrollPosition = () => scheduleScrollAction(() => {\n const {scrollableNode} = this;\n if (!scrollableNode) {\n return;\n }\n const {scrollTop, scrollHeight, offsetHeight} = scrollableNode;\n const scrolledToTop = scrollTop === 0;\n const scrolledToBottom = offsetHeight + scrollTop >= scrollHeight - END_DISTANCE;\n\n if (scrolledToBottom) {\n this.props.onScrollToBottom();\n }\n\n this.setState({scrolledToTop, scrolledToBottom});\n });\n\n onScroll = () => {\n this.props.onScroll(this.scrollableNode);\n this.calculateScrollPosition();\n };\n\n setScrollableNodeAndCalculatePosition = node => {\n if (!node) {\n return;\n }\n this.scrollableNode = node;\n this.calculateScrollPosition();\n };\n\n render() {\n const {\n children, className, bottomBorder, scrollableWrapperClassName,\n onScroll, onScrollToBottom, fade, ...restProps\n } = this.props;\n const {scrolledToTop, scrolledToBottom} = this.state;\n\n const classes = classNames(styles.content, className, {\n [styles.contentWithTopFade]: fade && !scrolledToTop,\n [styles.contentWithBottomFade]: fade && !scrolledToBottom,\n [styles.withTransparentBottomBorder]: bottomBorder,\n [styles.withBottomBorder]: bottomBorder && !scrolledToBottom\n });\n\n const scrollableWrapperClasses = classNames(\n styles.scrollableWrapper,\n scrollableWrapperClassName\n );\n\n return (\n <div\n {...restProps}\n data-test=\"ring-island-content\"\n className={classes}\n >\n <div\n // it has to be focusable because it can be scrollable\n // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex\n tabIndex={0}\n data-scrollable-container\n className={scrollableWrapperClasses}\n ref={this.setScrollableNodeAndCalculatePosition}\n onScroll={fade ? this.onScroll : noop}\n >\n {fade && (\n <div ref={this.setWrapper}>\n {children}\n </div>\n )}\n\n {!fade && children}\n </div>\n </div>\n );\n }\n}\n\nconst ContentWrapper = props => (\n <ScrollHandlerContext.Consumer>\n {onScroll => {\n const addProps = onScroll != null ? {onScroll, bottomBorder: true} : {};\n return <Content {...props} {...addProps}/>;\n }}\n </ScrollHandlerContext.Consumer>\n);\n\nexport default ContentWrapper;\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport dataTests from '../global/data-tests';\n\nimport adaptiveIslandHOC from './adaptive-island-hoc';\n\nimport styles from './island.css';\n\n/**\n * @name Island\n */\n\nexport default class Island extends Component {\n static propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n narrow: PropTypes.bool,\n withoutPaddings: PropTypes.bool,\n 'data-test': PropTypes.string\n };\n\n render() {\n const {\n children,\n className,\n narrow,\n withoutPaddings,\n 'data-test': dataTest,\n ...restProps\n } = this.props;\n const classes = classNames(styles.island, className, {\n [styles.narrowIsland]: narrow,\n [styles.withoutPaddings]: withoutPaddings\n });\n\n return (\n <div\n {...restProps}\n className={classes}\n data-test={dataTests('ring-island', dataTest)}\n >\n {children}\n </div>\n );\n }\n}\n\nexport const AdaptiveIsland = adaptiveIslandHOC(Island);\n\nexport {default as Header} from './header';\nexport {default as Content} from './content';\n","import 'dom4';\nimport Combokeys from 'combokeys';\n\nimport sniffr from '../global/sniffer';\n\nclass Shortcuts {\n ALLOW_SHORTCUTS_SELECTOR = '.ring-js-shortcuts';\n ROOT_SCOPE = {\n scopeId: 'ROOT',\n options: {}\n };\n\n _scopes = {};\n\n combokeys = new Combokeys(document.documentElement);\n trigger = combo => this.combokeys.trigger(combo);\n\n constructor() {\n this.setFilter();\n this.setScope();\n }\n\n _dispatcher = (e, key) => {\n let currentScope;\n\n for (let i = this._scopeChain.length - 1; i >= 0; i--) {\n const scopeInChain = this._scopeChain[i];\n currentScope = this._scopes[scopeInChain.scopeId];\n\n if (currentScope && currentScope[key]) {\n const ret = currentScope[key](e, key, scopeInChain.scopeId);\n\n // Fall down in chain when returning true\n if (ret !== true) {\n return ret;\n }\n }\n\n if (scopeInChain.options.modal) {\n return true;\n }\n }\n\n return undefined;\n };\n\n /**\n * Binds a handler to a shortcut\n *\n * @param params.key {string | Array.<string>) Keys to bind\n * @param params.handler {Function} Events handle\n * @param params.scope {string} Scope (optional)\n * @param params.type {string} Event type, will be passed to Combokeys (optional)\n */\n bind(params) {\n if (!(params instanceof Object) || typeof params.handler !== 'function') {\n throw new Error('Shortcut handler should exist');\n }\n\n if (!params.scope) {\n params.scope = this.ROOT_SCOPE.scopeId;\n }\n\n if (Array.isArray(params.key)) {\n for (let i = 0; i < params.key.length; i++) {\n this.bind(Object.assign({}, params, {key: params.key[i]}));\n }\n\n return;\n }\n\n if (typeof params.key !== 'string') {\n throw new Error('Shortcut key should exist');\n }\n\n if (!this._scopes[params.scope]) {\n this._scopes[params.scope] = {};\n }\n this._scopes[params.scope][params.key] = params.handler;\n\n this.combokeys.bind(params.key, this._dispatcher, this._getKeyboardEventType(params));\n }\n\n /**\n * Binds a map of shortcuts to handlers with common options\n *\n * @map {Object) Keys to handlers map\n * @options.scope {string} Scope (optional)\n * @options.type {string} Event type, will be passed to Combokeys (optional)\n */\n bindMap(map, options) {\n if (!(map instanceof Object)) {\n throw new Error('Shortcuts map shouldn\\'t be empty');\n }\n\n for (const key in map) {\n if (map.hasOwnProperty(key)) {\n this.bind(Object.assign({}, options || {}, {key, handler: map[key]}));\n }\n }\n }\n\n unbindScope(scope) {\n this._scopes[scope] = null;\n }\n\n getScope() {\n return this._scopeChain.slice(1);\n }\n\n hasScope(scopeId) {\n return this.indexOfScope(scopeId) !== -1;\n }\n\n /**\n * Adds a scope to the chain\n * @param scopeId id of scope to add\n * @param options options for pushing scope\n * @param options.modal whether keys should fall through this scope or not.\n * Useful for modals or overlays\n */\n pushScope(scopeId, options = {}) {\n if (scopeId) {\n const position = this.indexOfScope(scopeId);\n\n if (position !== -1) {\n this._scopeChain.splice(position, 1);\n }\n\n this._scopeChain.push(this.wrapScope(scopeId, options));\n }\n }\n\n popScope(scopeId) {\n if (scopeId) {\n const position = this.indexOfScope(scopeId);\n\n if (position !== -1) {\n return this._scopeChain.splice(position, this._scopeChain.length - 1);\n }\n }\n\n return undefined;\n }\n\n spliceScope(scopeId) {\n if (scopeId) {\n const position = this.indexOfScope(scopeId);\n\n if (position !== -1) {\n this._scopeChain.splice(position, 1);\n }\n }\n }\n\n setScope(scope) {\n if (scope) {\n let scopeChain;\n\n if (typeof scope === 'string' || (!Array.isArray(scope) && typeof scope === 'object' && scope !== null)) {\n scopeChain = [scope];\n } else {\n scopeChain = scope;\n }\n\n if (!Array.isArray(scopeChain)) {\n return;\n }\n\n scopeChain = scopeChain.map(scopeItem => {\n const isScopeId = typeof scopeItem === 'string';\n return isScopeId ? this.wrapScope(scopeItem) : scopeItem;\n });\n\n this._scopeChain = [this.ROOT_SCOPE].concat(scopeChain);\n } else {\n this._scopeChain = [this.ROOT_SCOPE];\n }\n }\n\n wrapScope(scopeId, options = {}) {\n return {scopeId, options};\n }\n\n hasKey(key, scope) {\n return !!(this._scopes[scope] && this._scopes[scope][key]);\n }\n\n _defaultFilter = (e, element/*, key*/) => {\n // if the element or its parents have the class \"ring-js-shortcuts\" then no need to stop\n if (\n element === document ||\n element.matches(this.ALLOW_SHORTCUTS_SELECTOR) ||\n element.closest(this.ALLOW_SHORTCUTS_SELECTOR)\n ) {\n return false;\n }\n\n // stop for input, select, and textarea\n return element.matches('input,select,textarea') || (element.contentEditable && element.contentEditable === 'true');\n };\n\n _getKeyboardEventType(params) {\n if (!params.type && sniffr.os.name === 'windows') {\n const isSystemShortcut = params.key.match(/ctrl/i) && params.key.match(/shift/i) && params.key.match(/[0-9]/);\n /**\n * Windows system shortcuts (ctrl+shift+[0-9] are caught by the OS on 'keydown', so let's use 'keyup'\n */\n if (isSystemShortcut) {\n return 'keyup';\n }\n }\n return params.type;\n }\n\n setFilter(fn) {\n this.combokeys.stopCallback = typeof fn === 'function' ? fn : this._defaultFilter;\n }\n\n indexOfScope(scopeId) {\n return this._scopeChain.findIndex(scope => scope.scopeId === scopeId);\n }\n\n reset() {\n this._scopes = {};\n this.setScope();\n this.combokeys.reset();\n }\n}\n\nexport default new Shortcuts();\n","import {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\n\nimport shortcuts from './core';\n\nexport default class Shortcuts extends PureComponent {\n static propTypes = {\n map: PropTypes.object.isRequired,\n scope: PropTypes.string.isRequired,\n options: PropTypes.object,\n disabled: PropTypes.bool,\n children: PropTypes.node\n };\n\n static defaultProps = {\n options: {}\n };\n\n componentDidMount() {\n if (!this.props.disabled) {\n this.turnShorcutsOn();\n }\n }\n\n componentDidUpdate(prevProps) {\n const {disabled} = this.props;\n if (!prevProps.disabled && disabled) {\n this.turnShorcutsOff();\n }\n if (prevProps.disabled && !disabled) {\n this.turnShorcutsOn();\n }\n }\n\n componentWillUnmount() {\n if (!this.props.disabled) {\n this.turnShorcutsOff();\n }\n }\n\n turnShorcutsOn() {\n const {map, scope, options} = this.props;\n shortcuts.bindMap(map, this.props);\n shortcuts.pushScope(scope, options);\n }\n\n turnShorcutsOff() {\n const {scope} = this.props;\n shortcuts.unbindScope(scope);\n shortcuts.spliceScope(scope);\n }\n\n render() {\n return this.props.children || null;\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\n\nimport styles from './tab-trap.css';\n\nexport const FOCUSABLE_ELEMENTS = 'input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])';\n\n/**\n * @name TabTrap\n */\n\nexport default class TabTrap extends Component {\n static propTypes = {\n children: PropTypes.node.isRequired,\n trapDisabled: PropTypes.bool,\n autoFocusFirst: PropTypes.bool,\n focusBackOnClose: PropTypes.bool\n };\n\n static defaultProps = {\n trapDisabled: false,\n autoFocusFirst: true,\n focusBackOnClose: true\n };\n\n componentDidMount() {\n this.previousFocusedNode = document.activeElement;\n\n if (this.props.autoFocusFirst) {\n this.focusFirst();\n } else if (\n !this.props.trapDisabled &&\n (!this.node || !this.node.contains(this.previousFocusedNode))\n ) {\n this.trapWithoutFocus = true;\n this.trapButtonNode.focus();\n }\n }\n\n componentWillUnmount() {\n this.restoreFocus();\n }\n\n restoreFocus() {\n if (!this.props.focusBackOnClose) {\n return;\n }\n const {previousFocusedNode} = this;\n if (previousFocusedNode && previousFocusedNode.focus) {\n previousFocusedNode.focus();\n }\n }\n\n containerRef = node => {\n if (!node) {\n return;\n }\n this.node = node;\n };\n\n focusElement = (first = true) => {\n const {node} = this;\n if (!node) {\n return;\n }\n\n const tabables = [...node.querySelectorAll(FOCUSABLE_ELEMENTS)].\n filter(item => item.tabIndex >= 0);\n\n const toBeFocused = first ? tabables[0] : tabables[tabables.length - 1];\n\n if (toBeFocused) {\n toBeFocused.focus();\n }\n };\n\n focusFirst = () => this.focusElement(true);\n\n focusLast = () => this.focusElement(false);\n\n focusLastIfEnabled = () => {\n if (this.trapWithoutFocus) {\n return;\n }\n this.focusLast();\n };\n\n handleBlurIfWithoutFocus = event => {\n if (!this.trapWithoutFocus) {\n return;\n }\n this.trapWithoutFocus = false;\n\n const newFocused = event.nativeEvent.relatedTarget;\n if (!newFocused) {\n return;\n }\n\n if (this.node.contains(newFocused)) {\n return;\n }\n\n this.focusLast();\n };\n\n trapButtonRef = node => {\n if (!node) {\n return;\n }\n\n this.trapButtonNode = node;\n };\n\n render() {\n const {children, trapDisabled, autoFocusFirst, focusBackOnClose, ...restProps} = this.props;\n\n if (trapDisabled) {\n return (\n <div\n ref={this.containerRef}\n {...restProps}\n >\n {children}\n </div>\n );\n }\n\n return (\n <div\n ref={this.containerRef}\n {...restProps}\n >\n <div\n // It never actually stays focused\n // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex\n tabIndex={0}\n ref={this.trapButtonRef}\n className={styles.trapButton}\n onFocus={this.focusLastIfEnabled}\n onBlur={this.handleBlurIfWithoutFocus}\n data-trap-button\n />\n {children}\n <div\n // It never actually stays focused\n // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex\n tabIndex={0}\n onFocus={this.focusFirst}\n data-trap-button\n />\n </div>\n );\n }\n}\n","import 'focus-visible';\nimport React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport chevronDown from '@jetbrains/icons/chevron-10px.svg';\n\nimport Icon, {Size} from '../icon';\nimport Theme, {withTheme} from '../global/theme';\nimport ClickableLink from '../link/clickableLink';\n\nimport styles from './button.css';\n\n/**\n * @name Button\n */\nclass Button extends PureComponent {\n static propTypes = {\n theme: PropTypes.string,\n active: PropTypes.bool,\n danger: PropTypes.bool,\n delayed: PropTypes.bool,\n loader: PropTypes.bool,\n primary: PropTypes.bool,\n blue(props, propName) {\n if (propName in props) {\n return new Error(`\"${propName}\" prop is deprecated. Use \"primary\" instead`);\n }\n return undefined;\n },\n short: PropTypes.bool,\n text: PropTypes.bool,\n inline: PropTypes.bool,\n dropdown: PropTypes.bool,\n\n href: PropTypes.string,\n\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),\n iconSize: PropTypes.number,\n iconClassName: PropTypes.string,\n iconSuppressSizeWarning: PropTypes.bool,\n\n className: PropTypes.string,\n\n children: PropTypes.node\n };\n\n static IconSize = Size;\n static Theme = Theme;\n\n render() {\n const {\n // Modifiers\n theme,\n active,\n blue,\n danger,\n delayed,\n loader,\n primary,\n short,\n text,\n inline,\n dropdown,\n\n // Props\n icon,\n iconSize,\n iconClassName,\n iconSuppressSizeWarning,\n className,\n children,\n ...props\n } = this.props;\n\n const withNormalIcon = icon && !active && !danger && !primary && !props.disabled;\n const classes = classNames(\n styles.button,\n className,\n styles[theme],\n {\n [styles.active]: active,\n [styles.danger]: danger,\n [styles.delayed]: delayed,\n [styles.withIcon]: icon,\n [styles.onlyIcon]: icon && !children,\n [styles.withNormalIconLight]: (\n withNormalIcon && theme === Theme.LIGHT\n ),\n [styles.withNormalIconDark]: (\n withNormalIcon && theme === Theme.DARK\n ),\n [styles.withDangerIconLight]: (\n icon && danger && theme === Theme.LIGHT\n ),\n [styles.withDangerIconDark]: (\n icon && danger && theme === Theme.DARK\n ),\n [styles.loader]: loader && !icon,\n [styles.primary]: primary || blue,\n [styles.short]: short,\n [styles.text]: text,\n [styles.inline]: inline\n }\n );\n\n const content = (\n <span className={styles.content}>\n {icon && (\n <span className={classNames(styles.icon, iconClassName)}>\n <Icon\n glyph={icon}\n size={iconSize}\n loading={loader}\n suppressSizeWarning={iconSuppressSizeWarning}\n />\n </span>\n )}\n {children && (\n <span>{children}</span>\n )}\n {dropdown && (\n <Icon\n glyph={chevronDown}\n className={styles.dropdownIcon}\n />\n )}\n </span>\n );\n const isLink = !!props.href;\n\n const Tag = isLink ? ClickableLink : 'button';\n return (\n <Tag\n tabIndex={loader ? -1 : 0}\n type={isLink ? null : 'button'}\n {...props}\n className={classes}\n >\n {loader && !text && !icon && <div className={styles.loaderBackground}/>}\n {content}\n </Tag>\n );\n }\n}\n\nexport {Size as IconSize};\n\nexport default withTheme()(Button);\n","import 'dom4';\nimport {\n getDocumentScrollLeft,\n getDocumentScrollTop,\n getRect,\n getWindowHeight,\n isMounted\n} from '../global/dom';\n\nexport const Directions = {\n BOTTOM_RIGHT: 'BOTTOM_RIGHT',\n BOTTOM_LEFT: 'BOTTOM_LEFT',\n BOTTOM_CENTER: 'BOTTOM_CENTER',\n TOP_LEFT: 'TOP_LEFT',\n TOP_RIGHT: 'TOP_RIGHT',\n TOP_CENTER: 'TOP_CENTER',\n RIGHT_TOP: 'RIGHT_TOP',\n RIGHT_BOTTOM: 'RIGHT_BOTTOM',\n RIGHT_CENTER: 'RIGHT_CENTER',\n LEFT_TOP: 'LEFT_TOP',\n LEFT_BOTTOM: 'LEFT_BOTTOM',\n LEFT_CENTER: 'LEFT_CENTER'\n};\n\n/**\n * When positioning a popup, directions will be tried in the listed order.\n * @type {Array.<string>}\n */\nexport const DEFAULT_DIRECTIONS = [\n Directions.BOTTOM_RIGHT, Directions.BOTTOM_LEFT, Directions.TOP_LEFT, Directions.TOP_RIGHT,\n Directions.RIGHT_TOP, Directions.RIGHT_BOTTOM, Directions.LEFT_TOP, Directions.LEFT_BOTTOM\n];\n\n/**\n * @enum {number}\n */\nexport const Dimension = {\n MARGIN: 16,\n BORDER_WIDTH: 1\n};\n\nexport const MinWidth = {\n TARGET: -1\n};\n\nexport const MaxHeight = {\n SCREEN: -1\n};\n\nexport const Display = {\n HIDDEN: 0,\n SHOWING: 1,\n SHOWN: 2\n};\n\nfunction getScrollingCoordinates(container) {\n if (container !== null) {\n return {\n top: container.scrollTop,\n left: container.scrollLeft\n };\n }\n\n return {\n top: getDocumentScrollTop(),\n left: getDocumentScrollLeft()\n };\n}\n\nfunction getPositionStyles(popup, anchorRect, anchorLeft, anchorTop, offset) {\n const popupWidth = popup.clientWidth;\n const popupHeight = popup.clientHeight;\n\n const anchorBottom = anchorTop + anchorRect.height;\n const anchorRight = anchorLeft + anchorRect.width;\n\n const popupLeft = anchorLeft - popupWidth;\n const popupTop = anchorTop - popupHeight;\n const popupRightToLeft = anchorRight - popupWidth;\n const popupHorizontalCenter = anchorLeft + anchorRect.width / 2 - popupWidth / 2;\n const popupVerticalCenter = anchorTop + anchorRect.height / 2 - popupHeight / 2;\n const popupBottomToTop = anchorBottom - popupHeight;\n\n return {\n [Directions.BOTTOM_RIGHT]: {left: anchorLeft, top: anchorBottom + offset},\n [Directions.BOTTOM_LEFT]: {left: popupRightToLeft, top: anchorBottom + offset},\n [Directions.BOTTOM_CENTER]: {left: popupHorizontalCenter, top: anchorBottom + offset},\n [Directions.TOP_RIGHT]: {left: anchorLeft, top: popupTop - offset},\n [Directions.TOP_LEFT]: {left: popupRightToLeft, top: popupTop - offset},\n [Directions.TOP_CENTER]: {left: popupHorizontalCenter, top: popupTop - offset},\n [Directions.LEFT_BOTTOM]: {left: popupLeft - offset, top: anchorTop},\n [Directions.LEFT_TOP]: {left: popupLeft - offset, top: popupBottomToTop},\n [Directions.LEFT_CENTER]: {left: popupLeft - offset, top: popupVerticalCenter},\n [Directions.RIGHT_BOTTOM]: {left: anchorRight + offset, top: anchorTop},\n [Directions.RIGHT_TOP]: {left: anchorRight + offset, top: popupBottomToTop},\n [Directions.RIGHT_CENTER]: {left: anchorRight + offset, top: popupVerticalCenter}\n };\n}\n\nfunction verticalOverflow(styles, scrollingCoordinates, attrs) {\n const containerHeight = attrs.container !== null\n ? attrs.container.clientHeight\n : getWindowHeight();\n const viewportMinX = scrollingCoordinates.top + attrs.sidePadding;\n const viewportMaxX = scrollingCoordinates.top + containerHeight - attrs.sidePadding;\n\n const topOverflow = Math.max(viewportMinX - styles.top, 0);\n\n const popupHeight = attrs.popup.clientHeight;\n const verticalDiff = styles.top + popupHeight - viewportMaxX;\n const bottomOverflow = Math.max(verticalDiff, 0);\n\n return topOverflow + bottomOverflow;\n}\n\nfunction horizontalOverflow(styles, scrollingCoordinates, attrs) {\n const containerWidth = attrs.container !== null ? attrs.container.clientWidth : window.innerWidth;\n const viewportMinY = scrollingCoordinates.left + attrs.sidePadding;\n const viewportMaxY = scrollingCoordinates.left + containerWidth - attrs.sidePadding;\n\n const leftOverflow = Math.max(viewportMinY - styles.left, 0);\n\n const popupWidth = attrs.popup.clientWidth;\n const horizontalDiff = styles.left + popupWidth - viewportMaxY;\n const rightOverflow = Math.max(horizontalDiff, 0);\n\n return leftOverflow + rightOverflow;\n}\n\nexport const positionPropKeys = [\n 'directions',\n 'autoPositioning',\n 'autoCorrectTopOverflow',\n 'sidePadding',\n 'top',\n 'left',\n 'offset',\n 'maxHeight',\n 'minWidth'\n];\n\nconst defaultcontainerRect = {\n top: 0,\n left: 0\n};\n\nfunction handleTopOffScreen({\n sidePadding, styles, anchorRect, maxHeight, popupScrollHeight, direction\n}) {\n const BORDER_COMPENSATION = 1;\n const {TOP_LEFT, TOP_RIGHT, TOP_CENTER, RIGHT_TOP, LEFT_TOP} = Directions;\n\n const openedToTop = [TOP_LEFT, TOP_RIGHT, TOP_CENTER, RIGHT_TOP, LEFT_TOP].includes(direction);\n\n if (!openedToTop) {\n return styles;\n }\n\n const isAttachedToAnchorTop = [TOP_LEFT, TOP_CENTER, TOP_RIGHT].includes(direction);\n const attachingPointY = (isAttachedToAnchorTop ? anchorRect.top : anchorRect.bottom);\n\n const effectiveHeight = maxHeight ? Math.min(popupScrollHeight, maxHeight) : popupScrollHeight;\n const hypotheticalTop = attachingPointY - effectiveHeight;\n\n if (hypotheticalTop <= sidePadding) {\n styles.top = sidePadding;\n styles.maxHeight = attachingPointY - sidePadding + BORDER_COMPENSATION;\n }\n\n return styles;\n}\n\n\nexport function maxHeightForDirection(direction, anchorNode, containerNode) {\n const container = containerNode || document.documentElement;\n const domRect = anchorNode.getBoundingClientRect();\n const containerRect = container.getBoundingClientRect();\n const topMaxHeight = Math.max(domRect.top - containerRect.top, 0);\n const containerHeight = Math.max(containerRect.height,\n // XXX\n // If container is the document element\n // then we check client height too because we may have situation when\n // \"height\" from \"getBoundingClientRect\" less then \"clientHeight\".\n container === document.documentElement ? container.clientHeight : 0);\n const bottomMaxHeight = Math.max(containerHeight - (topMaxHeight + domRect.height), 0);\n switch (direction) {\n case Directions.TOP_LEFT:\n case Directions.TOP_CENTER:\n case Directions.TOP_RIGHT:\n return topMaxHeight;\n case Directions.BOTTOM_LEFT:\n case Directions.BOTTOM_CENTER:\n case Directions.BOTTOM_RIGHT:\n return bottomMaxHeight;\n case Directions.LEFT_BOTTOM:\n case Directions.RIGHT_BOTTOM:\n return domRect.height + bottomMaxHeight;\n case Directions.LEFT_TOP:\n case Directions.RIGHT_TOP:\n return domRect.height + topMaxHeight;\n case Directions.RIGHT_CENTER:\n case Directions.LEFT_CENTER:\n return (domRect.height / 2) + Math.min(bottomMaxHeight / 2, topMaxHeight / 2);\n default:\n return null;\n }\n}\n\nexport default function position(attrs) {\n const {\n popup,\n anchor,\n container,\n directions,\n autoPositioning,\n sidePadding,\n top,\n left,\n offset,\n maxHeight,\n minWidth,\n autoCorrectTopOverflow = true\n } = attrs;\n\n let styles = {\n top: 0,\n left: 0\n };\n let chosenDirection = null;\n\n const containerRect = container !== null ? getRect(container) : defaultcontainerRect;\n const defaultAnchor = container !== null ? container : document.body;\n const anchorRect = getRect(isMounted(anchor) ? anchor : defaultAnchor);\n const scroll = getScrollingCoordinates(container);\n const anchorLeft = anchorRect.left + scroll.left + left - containerRect.left;\n const anchorTop = anchorRect.top + scroll.top + top - containerRect.top;\n\n if (popup) {\n const directionsMatrix = getPositionStyles(popup, anchorRect, anchorLeft, anchorTop, offset);\n if (!autoPositioning || directions.length === 1) {\n styles = directionsMatrix[directions[0]];\n chosenDirection = directions[0];\n } else {\n const sortedByIncreasingOverflow = directions.\n // Fall back to the first option\n concat(directions[0]).filter(direction => directionsMatrix[direction]).\n map(direction => ({styles: directionsMatrix[direction], direction})).\n sort(({styles: stylesA}, {styles: stylesB}) => {\n const overflowA =\n verticalOverflow(stylesA, scroll, attrs) +\n horizontalOverflow(stylesA, scroll, attrs);\n const overflowB =\n verticalOverflow(stylesB, scroll, attrs) +\n horizontalOverflow(stylesB, scroll, attrs);\n return overflowA - overflowB;\n });\n styles = sortedByIncreasingOverflow[0].styles;\n chosenDirection = sortedByIncreasingOverflow[0].direction;\n }\n\n // because of the anchor negative margin top and left also may become negative\n ['left', 'top'].forEach(key => {\n if (styles[key] < 0) {\n styles[key] = 0;\n }\n });\n }\n\n if (maxHeight === MaxHeight.SCREEN || maxHeight === 'screen') {\n // this feature works properly only when direction is BOTTOM_* or *_BOTTOM\n styles.maxHeight = window.innerHeight + scroll.top - styles.top - Dimension.MARGIN;\n } else if (maxHeight) {\n styles.maxHeight = maxHeight;\n }\n\n if (autoCorrectTopOverflow) {\n styles = handleTopOffScreen({\n sidePadding,\n styles,\n anchorRect,\n maxHeight,\n direction: chosenDirection,\n popupScrollHeight: popup.scrollHeight\n });\n }\n\n if (minWidth === MinWidth.TARGET || minWidth === 'target') {\n styles.minWidth = anchorRect.width;\n } else if (minWidth) {\n styles.minWidth = anchorRect.width < minWidth ? minWidth : anchorRect.width;\n }\n\n return {styles, direction: chosenDirection};\n}\n","/**\n * @name Popup\n */\n\nimport React, {createContext, forwardRef, PureComponent} from 'react';\nimport {createPortal} from 'react-dom';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport 'dom4';\n\nimport getUID from '../global/get-uid';\nimport scheduleRAF from '../global/schedule-raf';\nimport {Listeners, getStyles} from '../global/dom';\nimport Shortcuts from '../shortcuts/shortcuts';\nimport dataTests from '../global/data-tests';\n\nimport position, {\n DEFAULT_DIRECTIONS,\n Dimension,\n Directions,\n Display,\n MaxHeight,\n MinWidth,\n positionPropKeys\n} from './position';\nimport styles from './popup.css';\n\nconst stop = e => e.stopPropagation();\n\nconst PopupTargetContext = createContext();\nexport const PopupTarget = forwardRef(\n function PopupTarget({id, children, ...restProps}, ref) {\n const isFunctionChild = typeof children === 'function';\n const target = (\n <div\n {...restProps}\n data-portaltarget={id}\n ref={ref}\n >\n {!isFunctionChild && children}\n </div>\n );\n return (\n <PopupTargetContext.Provider value={id}>\n {isFunctionChild ? children(target) : target}\n </PopupTargetContext.Provider>\n );\n }\n);\nPopupTarget.propTypes = {\n id: PropTypes.string.isRequired,\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func])\n};\n\n/**\n * @constructor\n * @name Popup\n * @extends {ReactComponent}\n */\nexport default class Popup extends PureComponent {\n static propTypes = {\n anchorElement: PropTypes.instanceOf(Node),\n target: PropTypes.string,\n className: PropTypes.string,\n style: PropTypes.object,\n hidden: PropTypes.bool.isRequired,\n onOutsideClick: PropTypes.func,\n onEscPress: PropTypes.func,\n // onCloseAttempt is a common callback for ESC pressing and outside clicking.\n // Use it if you don't need different behaviors for this cases.\n onCloseAttempt: PropTypes.func,\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node\n ]),\n dontCloseOnAnchorClick: PropTypes.bool,\n shortcuts: PropTypes.bool,\n keepMounted: PropTypes.bool, // pass this prop to preserve the popup's DOM state while hidden\n 'data-test': PropTypes.string,\n client: PropTypes.bool, // true means that it's never used in SSR\n\n directions: PropTypes.arrayOf(PropTypes.string),\n autoPositioning: PropTypes.bool,\n autoCorrectTopOverflow: PropTypes.bool,\n left: PropTypes.number,\n top: PropTypes.number,\n maxHeight: PropTypes.number,\n minWidth: PropTypes.number,\n sidePadding: PropTypes.number,\n\n attached: PropTypes.bool, // Popup adjacent to an input, without upper border and shadow\n\n onMouseDown: PropTypes.func,\n onMouseUp: PropTypes.func,\n onMouseOver: PropTypes.func,\n onMouseOut: PropTypes.func,\n onContextMenu: PropTypes.func,\n onDirectionChange: PropTypes.func,\n onShow: PropTypes.func\n };\n\n static defaultProps = {\n shortcuts: true,\n hidden: false,\n onOutsideClick() {},\n onEscPress() {},\n onCloseAttempt() {},\n dontCloseOnAnchorClick: false,\n keepMounted: false,\n\n directions: DEFAULT_DIRECTIONS,\n autoPositioning: true,\n autoCorrectTopOverflow: true,\n left: 0,\n top: 0,\n offset: 0,\n sidePadding: 8,\n\n attached: false,\n\n legacy: false\n };\n\n state = {\n display: Display.SHOWING\n };\n\n componentDidMount() {\n if (!this.props.client) {\n // eslint-disable-next-line react/no-did-mount-set-state\n this.setState({client: true});\n }\n if (!this.props.hidden) {\n this._setListenersEnabled(true);\n }\n }\n\n componentDidUpdate(prevProps, prevState) {\n const {hidden} = this.props;\n if (this.props !== prevProps) {\n\n if (prevProps.hidden !== hidden) {\n this._setListenersEnabled(!hidden);\n }\n\n this._redraw();\n }\n\n if (\n this.props.onShow &&\n !hidden &&\n this.state.display === Display.SHOWN &&\n (prevProps.hidden || prevState.display !== Display.SHOWN)\n ) {\n this.props.onShow();\n }\n }\n\n componentWillUnmount() {\n this._setListenersEnabled(false);\n this.popup = null;\n }\n\n shouldUseShortcuts() {\n const {shortcuts, hidden} = this.props;\n return shortcuts && !hidden;\n }\n\n listeners = new Listeners();\n redrawScheduler = scheduleRAF(true);\n uid = getUID('popup-');\n calculateDisplay = prevState => ({\n ...prevState,\n display: this.props.hidden\n ? Display.SHOWING\n : Display.SHOWN\n });\n\n static PopupProps = {\n Directions,\n Dimension,\n MinWidth,\n MaxHeight\n };\n\n portalRef = el => {\n this.node = el;\n this.parent = el && el.parentElement;\n if (el && this.getContainer()) {\n this._redraw();\n }\n };\n\n popupRef = el => {\n this.popup = el;\n this._redraw();\n };\n\n containerRef = el => {\n this.container = el;\n };\n\n getContainer() {\n const target = this.props.target || this.ringPopupTarget;\n return target && document.querySelector(`[data-portaltarget=${target}]`);\n }\n\n position() {\n const positionProps = positionPropKeys.reduce((acc, key) => {\n acc[key] = this.props[key];\n return acc;\n }, {});\n const container = this.getContainer();\n\n return position({\n popup: this.popup,\n container: container && getStyles(container).position !== 'static' ? container : null,\n anchor: this._getAnchor(),\n ...positionProps\n });\n }\n\n _updateDirection = newDirection => {\n if (this.state.direction !== newDirection) {\n this.setState({direction: newDirection});\n if (this.props.onDirectionChange) {\n this.props.onDirectionChange(newDirection);\n }\n }\n };\n\n _updatePosition = () => {\n if (this.popup) {\n this.popup.style.position = 'absolute';\n if (this.isVisible()) {\n const {styles: style, direction} = this.position();\n Object.keys(style).forEach(key => {\n const value = style[key];\n if (typeof value === 'number') {\n this.popup.style[key] = `${value}px`;\n } else {\n this.popup.style[key] = value.toString();\n }\n });\n this._updateDirection(direction);\n }\n this.setState(this.calculateDisplay);\n }\n };\n\n _redraw = () => {\n if (this.isVisible()) {\n this.redrawScheduler(this._updatePosition);\n }\n };\n\n _getAnchor() {\n return this.props.anchorElement || this.parent;\n }\n\n /**\n * @param {boolean} enable\n * @private\n */\n _setListenersEnabled(enable) {\n if (enable && !this._listenersEnabled) {\n setTimeout(() => {\n this._listenersEnabled = true;\n this.listeners.add(window, 'resize', this._redraw);\n this.listeners.add(window, 'scroll', this._redraw);\n this.listeners.add(document, 'click', this._onDocumentClick);\n let el = this._getAnchor();\n while (el) {\n this.listeners.add(el, 'scroll', this._redraw);\n el = el.parentElement;\n }\n }, 0);\n\n return;\n }\n\n if (!enable && this._listenersEnabled) {\n this.listeners.removeAll();\n this._listenersEnabled = false;\n }\n }\n\n /**\n * Returns visibility state\n * @return {boolean}\n */\n isVisible() {\n return !this.props.hidden;\n }\n\n _onCloseAttempt(evt, isEsc) {\n this.props.onCloseAttempt(evt, isEsc);\n }\n\n _onEscPress = evt => {\n this.props.onEscPress(evt);\n this._onCloseAttempt(evt, true);\n };\n\n /**\n * @param {jQuery.Event} evt\n * @private\n */\n _onDocumentClick = evt => {\n if (\n this.container && this.container.contains(evt.target) ||\n !this._listenersEnabled ||\n (\n this.props.dontCloseOnAnchorClick &&\n this._getAnchor() &&\n this._getAnchor().contains(evt.target)\n )\n ) {\n return;\n }\n\n this.props.onOutsideClick(evt);\n this._onCloseAttempt(evt, false);\n };\n\n getInternalContent() {\n return this.props.children;\n }\n\n shortcutsScope = this.uid;\n shortcutsMap = {\n esc: this._onEscPress\n };\n\n render() {\n const {\n className, style, hidden, attached, keepMounted, client,\n onMouseDown, onMouseUp, onMouseOver, onMouseOut, onContextMenu, 'data-test': dataTest\n } = this.props;\n const showing = this.state.display === Display.SHOWING;\n\n const classes = classNames(className, styles.popup, {\n [styles.attached]: attached,\n [styles.hidden]: hidden,\n [styles.showing]: showing\n });\n\n const direction = (this.state.direction || '').\n toLowerCase().replace(/[_]/g, '-');\n\n return (\n <PopupTargetContext.Consumer>\n {value => {\n this.ringPopupTarget = value;\n return (\n <span\n // prevent bubbling through portal\n onClick={stop}\n // This handler only blocks bubbling through React portal\n role=\"presentation\"\n ref={this.portalRef}\n >\n {this.shouldUseShortcuts() &&\n (\n <Shortcuts\n map={this.shortcutsMap}\n scope={this.shortcutsScope}\n />\n )\n }\n\n {(client || this.state.client) && (keepMounted || !hidden) && createPortal(\n <PopupTarget\n id={this.uid}\n ref={this.containerRef}\n onMouseOver={onMouseOver}\n onFocus={onMouseOver}\n onMouseOut={onMouseOut}\n onBlur={onMouseOut}\n onContextMenu={onContextMenu}\n >\n <div\n data-test={dataTests('ring-popup', dataTest)}\n data-test-shown={!hidden && !showing}\n data-test-direction={direction}\n ref={this.popupRef}\n className={classes}\n style={style}\n onMouseDown={onMouseDown}\n onMouseUp={onMouseUp}\n // mouse handlers are used to track clicking on inner elements\n role=\"presentation\"\n >\n {this.getInternalContent()}\n </div>\n </PopupTarget>,\n this.getContainer() || document.body\n )}\n </span>\n );\n }}\n </PopupTargetContext.Consumer>\n );\n }\n}\n","import scrollbarWidth from 'scrollbar-width';\n\nimport {bodyWithoutScroll} from './dialog.css';\n\nlet isPrevented = false;\nlet previousBodyWidth = null;\n\nexport default {\n prevent() {\n if (isPrevented) {\n return;\n }\n isPrevented = true;\n document.documentElement.classList.add(bodyWithoutScroll);\n\n const scrollWidth = scrollbarWidth();\n\n const bodyHasScroll = document.documentElement.scrollHeight > window.innerHeight;\n\n if (bodyHasScroll && scrollWidth > 0) {\n previousBodyWidth = document.documentElement.style.width;\n document.documentElement.style.width = `calc(100% - ${scrollWidth}px)`;\n }\n },\n\n reset() {\n if (!isPrevented) {\n return;\n }\n isPrevented = false;\n\n document.documentElement.classList.remove(bodyWithoutScroll);\n\n if (previousBodyWidth !== null) {\n document.documentElement.style.width = previousBodyWidth;\n previousBodyWidth = null;\n }\n }\n};\n","import React, {PureComponent} from 'react';\nimport {createPortal} from 'react-dom';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport closeIcon from '@jetbrains/icons/close.svg';\n\nimport {AdaptiveIsland} from '../island/island';\nimport getUID from '../global/get-uid';\nimport Shortcuts from '../shortcuts/shortcuts';\nimport TabTrap from '../tab-trap/tab-trap';\nimport Button from '../button/button';\nimport {PopupTarget} from '../popup/popup';\n\nimport ScrollPreventer from './dialog__body-scroll-preventer';\nimport styles from './dialog.css';\n\n/**\n * @name Dialog\n */\n\nfunction noop() {}\n\nexport default class Dialog extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n contentClassName: PropTypes.string,\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node\n ]),\n show: PropTypes.bool.isRequired,\n showCloseButton: PropTypes.bool,\n onOverlayClick: PropTypes.func,\n onEscPress: PropTypes.func,\n onCloseClick: PropTypes.func,\n // onCloseAttempt is a common callback for ESC pressing and overlay clicking.\n // Use it if you don't need different behaviors for this cases.\n onCloseAttempt: PropTypes.func,\n // focusTrap may break popups inside dialog, so use it carefully\n trapFocus: PropTypes.bool,\n autoFocusFirst: PropTypes.bool\n };\n\n static defaultProps = {\n onOverlayClick: noop,\n onEscPress: noop,\n onCloseClick: noop,\n onCloseAttempt: noop,\n showCloseButton: false,\n trapFocus: false,\n autoFocusFirst: true\n };\n\n state = {\n shortcutsScope: getUID('ring-dialog-')\n };\n\n componentDidMount() {\n this.toggleScrollPreventer();\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.show !== this.props.show) {\n this.toggleScrollPreventer();\n }\n }\n\n componentWillUnmount() {\n ScrollPreventer.reset();\n }\n\n uid = getUID('dialog-');\n\n toggleScrollPreventer() {\n if (this.props.show) {\n ScrollPreventer.prevent();\n } else {\n ScrollPreventer.reset();\n }\n }\n\n handleClick = event => {\n this.props.onOverlayClick(event);\n this.props.onCloseAttempt(event);\n };\n\n onCloseClick = event => {\n this.props.onCloseClick(event);\n this.props.onCloseAttempt(event);\n };\n\n getShortcutsMap = () => {\n const onEscape = event => {\n if (this.props.show) {\n this.props.onEscPress(event);\n this.props.onCloseAttempt(event);\n }\n };\n\n return {\n esc: onEscape\n };\n };\n\n dialogRef = tabTrap => {\n this.dialog = tabTrap && tabTrap.node;\n };\n\n render() {\n const {show, showCloseButton, onOverlayClick, onCloseAttempt, onEscPress, onCloseClick,\n children, className, contentClassName, trapFocus, ...restProps} = this.props;\n const classes = classNames(styles.container, className);\n const shortcutsMap = this.getShortcutsMap();\n\n return show && createPortal(\n <PopupTarget id={this.uid} className={styles.popupTarget}>\n {\n target => (\n <TabTrap\n trapDisabled={!trapFocus}\n data-test=\"ring-dialog-container\"\n ref={this.dialogRef}\n className={classes}\n role=\"presentation\"\n {...restProps}\n >\n <Shortcuts\n map={shortcutsMap}\n scope={this.state.shortcutsScope}\n />\n {(onOverlayClick !== noop || onCloseAttempt !== noop) && (\n <div\n // click handler is duplicated in close button\n role=\"presentation\"\n className={styles.clickableOverlay}\n onClick={this.handleClick}\n />\n )}\n <div className={styles.innerContainer}>\n <AdaptiveIsland\n className={classNames(styles.content, contentClassName)}\n data-test=\"ring-dialog\"\n role=\"dialog\"\n >\n {children}\n {showCloseButton &&\n (\n <Button\n icon={closeIcon}\n data-test=\"ring-dialog-close-button\"\n className={styles.closeButton}\n iconClassName={styles.closeIcon}\n onClick={this.onCloseClick}\n aria-label=\"close dialog\"\n />\n )\n }\n </AdaptiveIsland>\n </div>\n {target}\n </TabTrap>\n )\n }\n </PopupTarget>,\n document.body\n );\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport Dialog from '../dialog/dialog';\nimport Button from '../button/button';\n\nimport styles from './auth-dialog.css';\n\n/**\n * @name Auth Dialog\n */\n\nexport default class AuthDialog extends Component {\n static propTypes = {\n className: PropTypes.string,\n title: PropTypes.string,\n errorMessage: PropTypes.string,\n serviceImage: PropTypes.string,\n serviceName: PropTypes.string,\n loginCaption: PropTypes.string,\n loginToCaption: PropTypes.string,\n\n show: PropTypes.bool,\n cancelOnEsc: PropTypes.bool,\n confirmLabel: PropTypes.string,\n cancelLabel: PropTypes.string,\n\n onConfirm: PropTypes.func,\n onCancel: PropTypes.func\n };\n\n static defaultProps = {\n loginCaption: 'Log in',\n loginToCaption: 'Log in to %serviceName%',\n show: false,\n cancelOnEsc: true,\n confirmLabel: 'Log in',\n cancelLabel: 'Remain a guest',\n onConfirm: () => {},\n onCancel: () => {}\n };\n\n onEscPress = () => {\n if (this.props.cancelOnEsc) {\n this.props.onCancel();\n }\n };\n\n render() {\n const {\n show,\n className,\n errorMessage,\n serviceImage,\n serviceName,\n loginCaption,\n loginToCaption,\n confirmLabel,\n cancelLabel,\n onConfirm,\n onCancel\n } = this.props;\n\n const defaultTitle = serviceName ? loginToCaption : loginCaption;\n const title = (this.props.title || defaultTitle).replace('%serviceName%', serviceName);\n\n return (\n <Dialog\n data-test=\"ring-auth-dialog\"\n className={className}\n contentClassName={classNames(className, styles.dialog)}\n onEscPress={this.onEscPress}\n show={show}\n trapFocus\n >\n <div className={styles.content}>\n {serviceImage && (\n <img\n alt={`${serviceName} logo`}\n className={styles.logo}\n src={serviceImage}\n />\n )}\n <div className={styles.title}>{title}</div>\n {errorMessage && (\n <div className={styles.error}>{errorMessage}</div>\n )}\n <Button\n primary\n className={styles.firstButton}\n data-test=\"auth-dialog-confirm-button\"\n onClick={onConfirm}\n >\n {confirmLabel}\n </Button>\n <Button\n className={styles.button}\n data-test=\"auth-dialog-cancel-button\"\n onClick={onCancel}\n >\n {cancelLabel}\n </Button>\n </div>\n </Dialog>\n );\n }\n}\n\n","import React from 'react';\nimport {render} from 'react-dom';\n\nimport AuthDialog from '../auth-dialog/auth-dialog';\n\n/**\n * @name Auth Dialog Service\n */\n\nconst containerElement = document.createElement('div');\n\n/**\n * Renders AuthDialog into virtual node to skip maintaining container\n */\nfunction renderAuthDialog(props) {\n render(<AuthDialog {...props}/>, containerElement);\n}\n\nexport default function showAuthDialog(props = {}) {\n renderAuthDialog({\n ...props,\n show: true\n });\n\n return () => {\n renderAuthDialog({show: false});\n };\n}\n","import angular from 'angular';\n\nimport Auth from '../auth/auth';\n\n/**\n * @name Auth Ng\n */\nconst angularModule = angular.module('Ring.auth', []);\n\nangularModule.provider('auth', function provider($httpProvider) {\n /**\n * @type Auth\n */\n let auth;\n /**\n * @type {{cleanHash: boolean}} config\n */\n const defaultConfig = {\n cleanHash: false //prevents infinite redirect on angular>1.2.26\n };\n\n this.init = authInstance => {\n auth = authInstance;\n };\n\n /**\n * @param {{\n * serverUri: string,\n * redirectUri: string?,\n * clientId: string?,\n * scope: string[]?,\n * cleanHash: boolean?\n * }} config\n */\n this.config = config => {\n const configCopy = angular.extend({}, defaultConfig, config);\n auth = new Auth(configCopy);\n };\n\n $httpProvider.interceptors.push(['$q', '$injector', 'auth', ($q, $injector, authInstance) => {\n function urlEndsWith(config, suffix) {\n return config &&\n config.url &&\n config.url.indexOf(suffix) === config.url.length - suffix.length;\n }\n\n return {\n request(config) {\n if (!authInstance || urlEndsWith(config, '.html') || (config && config.noAuthorization)) {\n // Don't intercept angular template requests\n return config;\n }\n return authInstance.promise.\n then(() => authInstance.auth.requestToken()).\n then(accessToken => {\n if (accessToken) {\n config.headers.Authorization = `Bearer ${accessToken}`;\n }\n return config;\n });\n },\n responseError(rejection) {\n if (authInstance && !urlEndsWith(rejection.config, '.html') &&\n rejection.data != null && Auth.shouldRefreshToken(rejection.data.error)) {\n\n // Use $injector to avoid circular dependency\n const $http = $injector.get('$http');\n const {data, method, params, url} = rejection.config;\n\n return authInstance.auth.\n forceTokenUpdate().\n then(() => $http({data, method, params, url}));\n }\n\n return $q.reject(rejection);\n }\n };\n }]);\n\n this.$get = function get($injector, $log, $sniffer) {\n // Do not try to init anything without config\n if (!auth) {\n $log.warn('Auth wasn\\'t initialized');\n return null;\n }\n\n if (auth.config.reloadOnUserChange === false) {\n auth.addListener('userChange', () => {\n const $route = $injector.get('$route');\n $route.reload();\n });\n }\n\n /**\n * @type {Promise.<string>}\n */\n const authInitPromise = auth.init();\n\n /**\n * @param {string?} restoreLocationURL\n */\n function restoreLocation(restoreLocationURL) {\n if (restoreLocationURL) {\n const bases = document.getElementsByTagName('base');\n let baseURI = auth.config.redirectUri;\n\n if (bases.length > 0) {\n baseURI = bases[0].href;\n }\n\n if (restoreLocationURL.indexOf(baseURI) === 0) {\n const $location = $injector.get('$location');\n let relativeURI = restoreLocationURL.substr(baseURI.length);\n\n // We have to turn url with hash to simple relative url in HashbangInHtml5 mode\n // And there is no other and documented way to detect that mode\n // @see http://stackoverflow.com/a/16678065\n if ($location.$$html5 && !$sniffer.history) { // eslint-disable-line angular/no-private-call\n relativeURI = relativeURI.replace(/^#\\//, '');\n }\n\n $location.url(relativeURI).replace();\n }\n }\n }\n\n authInitPromise.then(restoreLocation, e => {\n if (!e.authRedirect) {\n $log.error(e);\n }\n });\n\n return {\n auth,\n requestUser: auth.requestUser.bind(auth),\n clientId: auth.config.clientId,\n logout: auth.logout.bind(auth),\n promise: authInitPromise\n };\n };\n});\n\nexport default angularModule.name;\n","/**\n * @name Autofocus Ng\n */\nimport angular from 'angular';\n\nimport {FOCUSABLE_ELEMENTS} from '../tab-trap/tab-trap';\n\nconst angularModule = angular.module('Ring.autofocus', []);\nconst RING_SELECT_SELECTOR = '[data-test=ring-select__focus]';\nconst RING_SELECT = 'rg-select';\n\nangularModule.directive('rgAutofocus', function rgAutofocusDirective() {\n\n /**\n * Focuses on element itself if it has \"focus\" method.\n * Searches and focuses on select's button or input if element is rg-select\n * @param element\n */\n function focusOnElement(element) {\n if (!element) {\n return;\n }\n\n if (element.hasAttribute(RING_SELECT) || element.tagName.toLowerCase() === RING_SELECT) {\n focusOnElement(element.querySelector(RING_SELECT_SELECTOR));\n return;\n }\n\n if (element.matches(FOCUSABLE_ELEMENTS) && element.focus) {\n element.focus();\n return;\n }\n\n const focusableChild = element.querySelector(FOCUSABLE_ELEMENTS);\n\n if (focusableChild && focusableChild.focus) {\n focusableChild.focus();\n }\n }\n\n return (scope, iElement, iAttrs) => {\n const element = iElement[0];\n scope.$watch(iAttrs.rgAutofocus, newValue => {\n if (newValue) {\n scope.$evalAsync(() => focusOnElement(element));\n }\n });\n };\n});\n\nexport default angularModule.name;\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport {encodeURL, isDataURI, parseQueryString} from '../global/url';\nimport {getPixelRatio} from '../global/dom';\n\nimport styles from './avatar.css';\n\n/**\n * @name Avatar\n */\n\nexport const Size = {\n Size18: 18,\n Size20: 20,\n Size24: 24,\n Size32: 32,\n Size40: 40,\n Size48: 48,\n Size56: 56\n};\n\nexport default class Avatar extends PureComponent {\n static propTypes = {\n dpr: PropTypes.number,\n className: PropTypes.string,\n size: PropTypes.number,\n style: PropTypes.object,\n url: PropTypes.string,\n round: PropTypes.bool,\n subavatar: PropTypes.string,\n subavatarSize: PropTypes.number\n };\n\n static defaultProps = {\n dpr: getPixelRatio(),\n size: Size.Size20,\n subavatarSize: Size.Size20 / 2,\n style: {}\n };\n\n state = {\n errorUrl: ''\n };\n\n handleError = () => {\n this.setState({errorUrl: this.props.url});\n };\n\n handleSuccess = () => {\n this.setState({errorUrl: ''});\n };\n\n render() {\n const {size, url, dpr, style, round, subavatar, subavatarSize, ...restProps} = this.props;\n const sizeString = `${size}px`;\n const subavatarSizeString = `${subavatarSize}px`;\n const borderRadius = size <= Size.Size18 ? 'var(--ring-border-radius-small)' : 'var(--ring-border-radius)';\n const styleObj = {\n borderRadius: round ? '50%' : borderRadius,\n height: sizeString,\n width: sizeString,\n ...style\n };\n\n const styleObjGroup = {\n borderRadius: '2px',\n height: subavatarSizeString,\n width: subavatarSizeString,\n ...style\n };\n\n if (!url || this.state.errorUrl === url) {\n return (\n <span\n {...restProps}\n className={classNames(styles.avatar, styles.empty, this.props.className)}\n style={styleObj}\n />\n );\n }\n\n let src = url;\n if (!isDataURI(url)) {\n const [urlStart, query] = url.split('?');\n const queryParams = {\n ...parseQueryString(query),\n dpr,\n size\n };\n\n src = encodeURL(urlStart, queryParams);\n }\n let subavatarSrc = null;\n if (subavatar && !isDataURI(subavatar)) {\n const [urlStart, query] = subavatar.split('?');\n const queryParams = {\n ...parseQueryString(query),\n dpr,\n subavatarSizeString\n };\n\n subavatarSrc = encodeURL(urlStart, queryParams);\n return (\n <div>\n <img\n {...restProps}\n onError={this.handleError}\n onLoad={this.handleSuccess}\n className={classNames(styles.avatar, this.props.className)}\n style={styleObj}\n src={src}\n alt=\"User avatar\"\n />\n <img\n {...restProps}\n onError={this.handleError}\n onLoad={this.handleSuccess}\n className={classNames(styles.subavatar)}\n style={styleObjGroup}\n src={subavatarSrc}\n alt=\"Subavatar\"\n />\n </div>\n );\n } else {\n return (\n <img\n {...restProps}\n onError={this.handleError}\n onLoad={this.handleSuccess}\n className={classNames(styles.avatar, this.props.className)}\n style={styleObj}\n src={src}\n alt=\"User avatar\"\n />\n );\n }\n }\n}\n","import angular from 'angular';\n/**\n * This service is used by directive to correctly show messages.\n * You can decorate this service to provide your own localized messages.\n */\nconst angularModule = angular.module('Ring.message-bundle', []);\n\n/**\n * Empty i18n function. If project supports localization, it should decorate i18n\n * with translating function\n */\nfunction emptyI18n() {\n return str => str;\n}\n\nfunction RingMessageBundle(ringI18n) {\n const i18n = ringI18n;\n\n /* eslint-disable camelcase */\n this.form_required = () => i18n('Value is required');\n this.form_invalid = () => i18n('Value is invalid');\n this.form_url = () => i18n('Should be a valid URL');\n this.form_email = () => i18n('Should be a valid email');\n this.form_number = () => i18n('Should be a number');\n this.form_maxlength = () => i18n('Is too long');\n this.form_minlength = () => i18n('Is too short');\n this.form_pattern = () => i18n('Doesn\\'t match the pattern');\n this.form_equalvalue = () => i18n('Is not the same');\n this.form_unique = () => i18n('Is not unique');\n this.form_max = () => i18n('Is out of range');\n this.form_min = () => i18n('Is out of range');\n this.form_save = () => i18n('Save');\n this.form_saved = () => i18n('Saved');\n this.form_cancel = () => i18n('Cancel');\n this.avatareditor_nosupport = () => i18n('Sorry, your browser doesn\\'t support File API');\n this.avatareditor_noselected = () => i18n('No image file was selected');\n this.avatareditor_delete = () => i18n('Delete Image');\n this.avatareditor_add = () => i18n('Add Image');\n this.errorpage_seriouslywrong = () => i18n('Oh-oh... Something went seriously wrong.');\n this.errorpage_offline = () => i18n('There\\'s nothing we can do: The server seems to be offline.');\n this.errorpage_disconnected = () => i18n('Disconnected');\n this.errorpage_disconnectedmsg = () => i18n('No, no one\\'s there.');\n this.errorpage_401 = () => i18n('Authorization required');\n this.errorpage_401msg = () => i18n('You have requested access to a page that requires authorization, but the request is missing valid authentication credentials. It can also mean that your account has been banned.');\n this.errorpage_403 = () => i18n('Woah, you can\\'t touch this!');\n this.errorpage_403msg = () => i18n('Unfortunately, you are not allowed to access the page you\\'ve requested. It seems you don\\'t have sufficient permissions.');\n this.errorpage_404 = () => i18n('Nope, can\\'t find it!');\n this.errorpage_404msg = () => i18n('Despite our best efforts, there\\'s nothing here to show you with the URL you requested. Most likely the URL is invalid or you don\\'t have permissions to access the page.');\n this.errorpage_500 = () => i18n('Oh-oh... Something went seriously wrong');\n this.errorpage_500msg = () => i18n('Despite our best efforts, the server is not working properly.');\n this.select_options_not_found = () => i18n('No options found');\n this.select_loading = () => i18n('Loading...');\n this.select_label = () => i18n('Select an option');\n this.previous_page = () => i18n('previous');\n this.next_page = () => i18n('next page');\n this.first_page = () => i18n('First page');\n this.last_page = () => i18n('Last page');\n this.items_per_page = () => i18n('per page');\n this.confirmation_ok = () => i18n('Ok');\n this.confirmation_cancel = () => i18n('Cancel');\n/* eslint-enable camelcase */\n}\n\nangularModule.factory('ringI18n', emptyI18n);\nangularModule.service('RingMessageBundle', ['ringI18n', RingMessageBundle]);\n\nexport default angularModule.name;\n","export default class RingAngularComponent {\n static $inject = [];\n\n static get controller() {\n return this;\n }\n\n $inject = {};\n\n constructor(...args) {\n this.constructor.$inject.forEach((injectName, i) => {\n this.$inject[injectName] = args[i];\n });\n }\n}\n","import angular from 'angular';\n\nimport RingAngularComponent from '../global/ring-angular-component';\n\n/**\n * @name Template Ng\n*/\n\nconst angularModule = angular.module('Ring.template', []);\n\nclass RgTemplateController extends RingAngularComponent {\n static $inject = ['$scope', '$element', '$attrs', '$compile'];\n\n currentScope = null;\n\n constructor(...args) {\n super(...args);\n\n const {$scope, $attrs} = this.$inject;\n $scope.$watch($attrs.rgTemplate || $attrs.template, this.render);\n }\n\n render = template => {\n const {$scope, $element, $compile} = this.$inject;\n\n this.cleanup();\n\n this.currentScope = $scope.$new();\n\n this.currentScope.$evalAsync(() => {\n $element.html(template);\n this.addInnerClass();\n $compile($element.contents())(this.currentScope);\n });\n };\n\n addInnerClass = () => {\n const {rgTemplateClass} = this.$inject.$attrs;\n if (rgTemplateClass) {\n this.$inject.$element.contents().addClass(rgTemplateClass);\n }\n }\n\n cleanup() {\n if (this.currentScope) {\n this.currentScope.$destroy();\n this.currentScope = null;\n }\n }\n}\n\nangularModule.directive('rgTemplate', function rgTemplateDirective() {\n return {\n controller: RgTemplateController\n };\n});\n\nexport default angularModule.name;\n","import angular from 'angular';\nimport 'dom4';\n\nimport {Color} from '../icon/icon__constants';\nimport TemplateNg from '../template-ng/template-ng';\nimport styles from '../icon/icon.css';\n\n/**\n * @name Icon Ng\n */\n\nconst angularModule = angular.module('Ring.icon', [TemplateNg]);\nconst BASE64_PREFIX = 'data:image/svg+xml;base64,';\n\nangularModule.directive('rgIcon', function rgIconDirective() {\n return {\n restrict: 'E',\n scope: {\n glyph: '@',\n loading: '=?',\n color: '@?',\n size: '@?',\n height: '@?',\n width: '@?'\n },\n template: `<span class=\"${styles.icon}\" rg-template=\"normalizedGlyph\" rg-template-class=\"${styles.glyph}\"></span>`,\n controller: $scope => {\n function decodeBase64IfNeeded(glyph) {\n // This hack allows passing SVG content as string from angular templates like\n // <rg-icon glyph=\"data:image/svg+xml;base64,PHN2ZyB4bWx...></rg-icon>\n const isEncoded = glyph.indexOf(BASE64_PREFIX) === 0;\n return isEncoded ? window.atob(glyph.replace(BASE64_PREFIX, '')) : glyph;\n }\n\n $scope.$watch('glyph', value => {\n if (!value) {\n return;\n }\n $scope.normalizedGlyph = decodeBase64IfNeeded(value);\n });\n },\n link: function link(scope, iElement, iAttrs) {\n iAttrs.$addClass('ring-icon'); // TODO: We keep this class for now for compatibility reasons (styles overrides)\n\n scope.$watch('loading', value => {\n if (value) {\n iAttrs.$addClass(styles.loading);\n } else {\n iAttrs.$removeClass(styles.loading);\n }\n });\n\n scope.$watch(() => scope.color && Color[scope.color] && styles[Color[scope.color]],\n (colorClass, prevColorClass) => {\n if (colorClass) {\n iAttrs.$addClass(colorClass);\n\n // Remove previous class, but don't remove initial one\n if (prevColorClass && prevColorClass !== colorClass) {\n iAttrs.$removeClass(prevColorClass);\n }\n }\n }\n );\n\n scope.$watchGroup(['size', 'width', 'height'], ([size, width, height]) => {\n const svgNode = iElement[0].querySelector('svg');\n\n if (size && !width && !height) {\n const sizeString = `${size}px`;\n const style = `width: ${sizeString}; height: ${sizeString};`;\n svgNode.setAttribute('style', style);\n return;\n }\n\n if (width) {\n svgNode.setAttribute('style', `width: ${width}px;`);\n }\n if (height) {\n svgNode.setAttribute('style', `height: ${height}px;`);\n }\n });\n }\n };\n});\n\nexport default angularModule.name;\n","import angular from 'angular';\n\nimport pencilIcon from '@jetbrains/icons/pencil.svg';\n\nimport messageBundleNg from '../message-bundle-ng/message-bundle-ng';\nimport alertService from '../alert-service/alert-service';\nimport IconNG from '../icon-ng/icon-ng';\n\nimport '../avatar-editor/avatar-editor.scss';\n\nconst angularModule = angular.module('Ring.avatar-editor', [messageBundleNg, IconNG]);\n\n/**\n * @name Avatar Editor Ng\n */\nfunction rgAvatarEditor() {\n return {\n restrict: 'E',\n scope: {\n model: '=ngModel',\n onSelect: '&',\n default: '@',\n ngDisabled: '=',\n showDeleteButton: '=?',\n showAddButton: '=?',\n deleteLabel: '@',\n addMessage: '@'\n },\n template: require('./avatar-editor-ng.html'),\n transclude: true,\n controller: [\n '$scope', '$attrs', 'RingMessageBundle',\n function controller($scope, $attrs, RingMessageBundle) {\n let fileInput;\n $scope.editIcon = pencilIcon;\n $scope.showAddButton = 'showAddButton' in $scope ? $scope.showAddButton : true;\n $scope.showDeleteButton = 'showDeleteButton' in $scope ? $scope.showDeleteButton : true;\n\n if ('controls' in $attrs) {\n $scope.controlled = true;\n }\n\n function createFileLoadListener(file) {\n return readEvent => {\n const data = readEvent.target.result;\n const result = $scope.onSelect({name: file.name, data});\n if (result && result.then) {\n result.then(() => {\n $scope.model = data;\n });\n } else if (result !== false) {\n $scope.$apply(() => {\n $scope.model = data;\n });\n }\n };\n }\n\n this.registerFileInput = input => {\n fileInput = input;\n fileInput.addEventListener('change', e => {\n let imageFileSelected = false;\n for (let i = 0; i < e.target.files.length; i++) {\n const file = e.target.files[i];\n if (file.type.indexOf('image/') === 0) {\n imageFileSelected = true;\n const reader = new FileReader();\n reader.onload = createFileLoadListener(file);\n reader.readAsDataURL(file);\n break;\n }\n }\n if (e.target.files.length && !imageFileSelected) {\n alertService.error(RingMessageBundle.avatareditor_noselected());\n }\n });\n };\n\n $scope.controls = {};\n\n function onClick(e) {\n e.stopPropagation();\n }\n\n $scope.controls.select = () => {\n if (!FileReader) {\n alertService.error(RingMessageBundle.avatareditor_nosupport());\n } else {\n fileInput.addEventListener('click', onClick);\n fileInput.dispatchEvent(new MouseEvent('click'));\n fileInput.removeEventListener('click', onClick);\n }\n };\n\n $scope.controls.remove = () => {\n const data = '';\n const result = $scope.onSelect({name: data, data});\n if (result && result.then) {\n result.then(() => {\n $scope.model = data;\n });\n } else if (result !== false) {\n $scope.model = data;\n }\n };\n\n $scope.getDeleteLabel = () => (\n $scope.deleteLabel || RingMessageBundle.avatareditor_delete()\n );\n\n $scope.getAddMessage = () => (\n $scope.addMessage || RingMessageBundle.avatareditor_add()\n );\n }\n ]\n };\n}\n\nfunction rgAvatarEditorFileInput() {\n return {\n restrict: 'A',\n require: '^rgAvatarEditor',\n link: function link(scope, iElement, iAttrs, avatarEditorCtrl) {\n avatarEditorCtrl.registerFileInput(iElement[0]);\n }\n };\n}\n\nangularModule.directive('rgAvatarEditor', rgAvatarEditor);\nangularModule.directive('rgAvatarEditorFileInput', rgAvatarEditorFileInput);\n\nexport default angularModule.name;\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\n\nexport default class Renderer extends Component {\n static propTypes = {\n className: PropTypes.string,\n nodes: PropTypes.array\n };\n\n componentDidMount() {\n const {nodes} = this.props;\n if (!this.node || !nodes || !nodes.length) {\n return;\n }\n const fragment = document.createDocumentFragment();\n nodes.forEach(nodeToRender => fragment.appendChild(nodeToRender));\n\n this.node.appendChild(fragment);\n }\n\n nodeRef = node => {\n this.node = node;\n };\n\n render() {\n const {className} = this.props;\n return (\n <div\n className={className}\n ref={this.nodeRef}\n />\n );\n }\n}\n","import angular from 'angular';\n\nimport React from 'react';\nimport {render, unmountComponentAtNode} from 'react-dom';\n\nimport RingAngularComponent from './ring-angular-component';\n\nimport DomRenderer from './react-dom-renderer';\n\nfunction getAngularComponentName(name) {\n return `rg${name}`;\n}\n\nfunction createAngularComponent(Component) {\n const propKeys = Object.keys(Component.propTypes);\n\n const bindings = {};\n propKeys.forEach(key => {\n bindings[key] = '<';\n });\n\n return class AngularComponent extends RingAngularComponent {\n static $inject = ['$scope', '$element', '$transclude'];\n\n static bindings = bindings;\n static transclude = true;\n\n $postLink() {\n const {$transclude} = this.$inject;\n\n $transclude(clone => {\n this.innerNodes = Array.from(clone);\n this.render();\n });\n }\n\n $onChanges() {\n if (!this.innerNodes) {\n return;\n }\n this.render();\n }\n\n $onDestroy() {\n unmountComponentAtNode(this.$inject.$element[0]);\n }\n\n render() {\n const {$scope, $element: {0: container}} = this.$inject;\n\n const props = {};\n propKeys.forEach(key => {\n if (this[key] !== undefined) {\n if (typeof this[key] === 'function') {\n props[key] = (...rest) => {\n const ret = this[key](...rest);\n $scope.$applyAsync();\n return ret;\n };\n } else {\n props[key] = this[key];\n }\n }\n });\n\n const hasInnerContent = this.innerNodes && this.innerNodes.length;\n\n render(\n <Component {...props}>\n {hasInnerContent ? <DomRenderer nodes={this.innerNodes}/> : null}\n </Component>,\n container\n );\n }\n };\n}\n\nfunction angularComponentFactory(Component, name) {\n const angularModuleName = `Ring.${name[0].toLowerCase() + name.slice(1)}`;\n\n return angular.\n module(angularModuleName, []).\n component(getAngularComponentName(name), createAngularComponent(Component));\n}\n\nexport default angularComponentFactory;\nexport {createAngularComponent};\n","/**\n * @name Avatar Ng\n */\nimport angularComponentFactory from '../global/angular-component-factory';\nimport Avatar from '../avatar/avatar';\n\nexport default angularComponentFactory(Avatar, 'Avatar').name;\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport dataTests from '../global/data-tests';\n\nimport style from './badge.css';\n\n/**\n * @name Badge\n */\nexport default class Badge extends PureComponent {\n static propTypes = {\n gray: PropTypes.bool,\n valid: PropTypes.bool,\n invalid: PropTypes.bool,\n disabled: PropTypes.bool,\n className: PropTypes.string,\n children: PropTypes.node,\n 'data-test': PropTypes.string\n };\n\n render() {\n const {\n // Modifiers\n gray,\n valid,\n invalid,\n disabled,\n\n // Props\n className,\n children,\n 'data-test': dataTest,\n ...props\n } = this.props;\n\n const classes = classNames(\n style.badge,\n className,\n {\n [style.gray]: gray,\n [style.valid]: valid,\n [style.invalid]: invalid,\n [style.disabled]: disabled\n }\n );\n\n return (\n <span\n {...props}\n data-test={dataTests('ring-badge', dataTest)}\n className={classes}\n >\n {children}\n </span>\n );\n }\n}\n","/**\n * @name Badge Ng\n*/\n\nimport angularComponentFactory from '../global/angular-component-factory';\nimport BadgeNg from '../badge/badge';\n\nexport default angularComponentFactory(BadgeNg, 'Badge').name;\n","import angular from 'angular';\n\nimport styles from '../link/link.css';\n\n/**\n * @name Link Ng\n */\n\n\nconst angularModule = angular.module('Ring.link', []);\n\nfunction rgLinkDirective() {\n return {\n restrict: 'E',\n transclude: true,\n replace: true,\n template: `\n<a class=\"${styles.link} ${styles.compatibilityUnderlineMode}\"\n><span class=\"${styles.inner}\" ng-transclude></span></a>\n `\n };\n}\n\nangularModule.directive('rgLink', rgLinkDirective);\n\nexport default angularModule.name;\n","import angular from 'angular';\n\nimport chevronRight from '@jetbrains/icons/chevron-right.svg';\n\nimport '../breadcrumb/breadcrumb.scss';\nimport LinkModule from '../link-ng/link-ng';\nimport IconModule from '../icon-ng/icon-ng';\n\n/**\n * @name Breadcrumb Ng\n */\n\n\nconst angularModule = angular.module('Ring.breadcrumb', [LinkModule, IconModule]);\n\nangularModule.filter('breadcrumbNgChevronIcon', () => () => chevronRight);\n\nangularModule.directive('rgBreadcrumb', function rgBreadcrumbDirective() {\n return {\n template: require('./breadcrumb-ng.html'),\n replace: true,\n transclude: true,\n restrict: 'E',\n\n scope: {\n label: '@',\n link: '@',\n onClick: '&'\n }\n };\n});\n\nexport default angularModule.name;\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport styles from './button-group.css';\n\nexport default class Caption extends PureComponent {\n static propTypes = {\n className: PropTypes.node\n }\n\n render() {\n const {className} = this.props;\n const classes = classNames(styles.caption, className);\n\n return (\n <span\n {...this.props}\n className={classes}\n />\n );\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport Caption from './caption';\nimport styles from './button-group.css';\n\n/**\n * @name Button Group\n */\nexport default class ButtonGroup extends PureComponent {\n static propTypes = {\n children: PropTypes.node,\n className: PropTypes.string\n }\n\n render() {\n const {className} = this.props;\n const classes = classNames(styles.buttonGroup, className);\n\n return (\n <div\n {...this.props}\n className={classes}\n />\n );\n }\n}\n\nexport {Caption};\n","import angular from 'angular';\n\nimport classNames from 'classnames';\nimport 'dom4';\n\nimport styles from '../button-group/button-group.css';\n\nimport {buttonGroup} from './button-group-ng.css';\n\n/**\n * @name Button Group Ng\n */\n\nconst angularModule = angular.module('Ring.button-group', []);\nconst buttonGroupClasses = classNames(styles.buttonGroup, buttonGroup);\n\nfunction rgButtonGroup() {\n return {\n restrict: 'A',\n link: function link($scope, iElement) {\n const element = iElement[0];\n element.classList.add(...buttonGroupClasses.split(' '));\n }\n };\n}\n\nfunction rgButtonGroupCaption() {\n return {\n restrict: 'A',\n link: function link($scope, iElement) {\n const element = iElement[0];\n element.classList.add(...styles.caption.split(' '));\n }\n };\n}\n\nangularModule.directive('rgButtonGroup', rgButtonGroup);\nangularModule.directive('rgButtonGroupCaption', rgButtonGroupCaption);\n\nexport default angularModule.name;\n","import angular from 'angular';\n\nimport 'dom4';\nimport classNames from 'classnames';\n\nimport RingAngularComponent from '../global/ring-angular-component';\nimport {addClasses, applyMethodToClasses, removeClasses} from '../global/dom';\nimport IconNG from '../icon-ng/icon-ng';\nimport Theme, {applyTheme} from '../global/theme';\nimport styles from '../button/button.css';\n\nimport overrides from './button-ng.css';\n\nconst {ringIconDefaultColor, iconMarginFix, transcludeSpacer} = overrides;\n\n/**\n * @name Button Ng\n */\n\n\nconst angularModule = angular.module('Ring.button', [IconNG]);\nconst ORDER_NOT_DEFINED = '-1';\nconst buttonClasses = classNames(\n styles.button,\n styles.buttonWithoutIcon,\n styles.light\n);\n\nexport const LOADER_BACKGROUND_SELECTOR = '.js-button-loader';\n\nclass ButtonController extends RingAngularComponent {\n static $inject = ['$element', '$attrs', '$scope', '$compile', '$log'];\n\n constructor(...args) {\n super(...args);\n\n const {$element, $attrs, $scope} = this.$inject;\n $scope.styles = styles;\n this.element = $element[0];\n\n const modifiers = ['delayed', 'loader', 'danger', 'short', 'active', 'text', 'inline', 'narrowRight'];\n const cl = this.element.classList;\n\n modifiers.forEach(mod => {\n $scope.$watch(() => $scope.$eval($attrs[mod]), val => {\n const attrName = `data-test-${mod}`;\n\n if (val) {\n addClasses(cl, styles[mod]);\n this.element.setAttribute(attrName, true);\n } else {\n removeClasses(cl, styles[mod]);\n this.element.removeAttribute(attrName);\n }\n\n if (mod === 'loader') {\n applyMethodToClasses(val ? 'add' : 'remove')(\n this.element.querySelector(LOADER_BACKGROUND_SELECTOR).classList,\n styles.loaderBackground\n );\n }\n });\n });\n\n const tabIndex = $attrs.tabindex || ORDER_NOT_DEFINED;\n if (tabIndex !== ORDER_NOT_DEFINED) {\n this.element.setAttribute('tabindex', tabIndex);\n }\n\n $scope.$watch(() => $scope.$eval($attrs.loader), val => {\n if (val) {\n this.element.setAttribute('tabindex', ORDER_NOT_DEFINED);\n } else if (tabIndex !== ORDER_NOT_DEFINED) {\n this.element.setAttribute('tabindex', tabIndex);\n } else {\n this.element.removeAttribute('tabindex');\n }\n });\n }\n\n $postLink() {\n const {$attrs} = this.$inject;\n if (!$attrs.hasOwnProperty('mode')) {\n addClasses(this.findTranscludeNode().classList, ringIconDefaultColor);\n }\n $attrs.$observe('mode', this.updateMode);\n $attrs.$observe('icon', this.updateIcon);\n $attrs.$observe('iconSize', this.updateIcon);\n $attrs.$observe('theme', this.updateTheme);\n }\n\n updateTheme = themeName => {\n if (isValidTheme(themeName)) {\n changeTheme(this.element, {currentTheme: themeName});\n }\n };\n\n findTranscludeNode = () => this.element.query('ng-transclude');\n\n updateMode = val => {\n const cl = this.element.classList;\n if (val === 'primary' || val === 'blue') {\n // Deprecation fallback. Someone please remove this one day.\n if (val === 'blue') {\n this.$inject.$log.warn(\n 'Ring UI ButtonNG doesn\\'t have \"blue\" mode anymore. Use \"primary\" mode instead.',\n this.element\n );\n }\n\n addClasses(cl, styles.primary);\n } else {\n removeClasses(cl, styles.primary);\n }\n };\n\n updateIcon = () => {\n const {$attrs, $compile, $scope} = this.$inject;\n const icon = this.element.query('rg-icon');\n const transcludeNode = this.findTranscludeNode();\n const glyph = $attrs.icon;\n const size = $attrs.iconSize;\n const cl = this.element.classList;\n\n if (glyph) {\n removeClasses(cl, styles.buttonWithoutIcon);\n addClasses(cl, styles.withIcon);\n addClasses(transcludeNode.classList, transcludeSpacer);\n icon.setAttribute('glyph', glyph);\n if (size) {\n icon.setAttribute('size', size);\n }\n } else {\n removeClasses(cl, styles.withIcon);\n addClasses(cl, styles.buttonWithoutIcon);\n removeClasses(transcludeNode.classList, transcludeSpacer);\n icon.removeAttribute('glyph');\n icon.removeAttribute('size');\n }\n\n if (glyph && !transcludeNode.textContent) {\n addClasses(cl, styles.onlyIcon);\n } else {\n removeClasses(cl, styles.onlyIcon);\n }\n\n $compile(icon)($scope);\n }\n}\n\n\nfunction isValidTheme(themeName) {\n return themeName && Object.values(Theme).some(theme => theme === themeName);\n}\n\nfunction changeTheme(element, data) {\n return applyTheme({\n element,\n prevTheme: data.prevTheme && styles[data.prevTheme] || styles.light,\n currentTheme: styles[data.currentTheme]\n });\n}\n\nfunction createButtonDirective(tagName) {\n return () => ({\n restrict: 'E',\n transclude: true,\n replace: true,\n require: {\n rgThemeCtrl: '?^^rgTheme'\n },\n template: `\n <${tagName} class=\"${buttonClasses}\">\n <span class=\"${styles.content}\"\n ><rg-icon class=\"${classNames(styles.icon, iconMarginFix)}\"></rg-icon\n ><ng-transclude></ng-transclude\n ></span\n ><div class=\"js-button-loader\"></div>\n </${tagName}>\n `,\n controller: ButtonController,\n link: (scope, element, attrs, {rgThemeCtrl}) => {\n if (rgThemeCtrl) {\n changeTheme(element[0], {currentTheme: rgThemeCtrl.theme});\n rgThemeCtrl.on('change', (event, data) => changeTheme(element[0], data));\n }\n }\n });\n}\n\n\nangularModule.directive('rgButton', createButtonDirective('button'));\nangularModule.directive('rgButtonLink', createButtonDirective('a'));\n\nexport default angularModule.name;\n","import React, {PureComponent} from 'react';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\n\nimport styles from './button-set.css';\n\n/**\n * @name Button Set\n */\nexport default class ButtonSet extends PureComponent {\n static propTypes = {\n children: PropTypes.node,\n className: PropTypes.string\n };\n\n render() {\n const classes = classNames(styles.buttonSet, this.props.className);\n return (\n <div\n {...this.props}\n className={classes}\n >\n {this.props.children}\n </div>\n );\n }\n}\n","/**\n * @name Button Set Ng\n */\nimport angular from 'angular';\n\nconst angularModule = angular.module('Ring.button-set', []);\n\nfunction rgButtonSet() {\n return {\n restrict: 'E',\n replace: true,\n scope: false,\n transclude: true,\n template: require('./button-set-ng.html')\n };\n}\n\nangularModule.directive('rgButtonSet', rgButtonSet);\n\nexport default angularModule.name;\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport styles from './button-toolbar.css';\n\n/**\n * @name Button Toolbar\n*/\n\nexport default class ButtonToolbar extends PureComponent {\n static propTypes = {\n children: PropTypes.node,\n className: PropTypes.string\n };\n\n render() {\n const {className} = this.props;\n const classes = classNames(styles.buttonToolbar, className);\n\n return (\n <div\n {...this.props}\n className={classes}\n />\n );\n }\n}\n\n","import {getRect} from '../global/dom';\n\n/**\n * @name Caret\n */\n\nexport default class Caret {\n /**\n * Line endings RegExp\n * @type {RegExp}\n */\n static returnRE = /\\r/g;\n\n /**\n * Line endings normalizer\n * Borrowed from jQuery\n * @see https://github.com/jquery/jquery/blob/master/src/attributes/val.js\n * @param value {*}\n * @return {*}\n */\n static normalizeNewlines(value) {\n return typeof value === 'string' ? value.replace(this.returnRE, '') : value;\n }\n\n constructor(target) {\n this.target = target;\n }\n\n isContentEditable() {\n return this.target.contentEditable === 'true';\n }\n\n /**\n * Set focus on target if possible\n */\n focus() {\n if (!document.activeElement || document.activeElement !== this.target) {\n this.target.focus();\n }\n }\n\n /**\n * Get caret position index\n * @return {number}\n */\n getPosition() {\n if (this.isContentEditable()) {\n this.focus();\n\n const selection = window.getSelection();\n\n if (!selection.rangeCount) {\n return 0;\n }\n\n const range1 = selection.getRangeAt(0);\n const range2 = range1.cloneRange();\n\n range2.selectNodeContents(this.target);\n range2.setEnd(range1.endContainer, range1.endOffset);\n\n if (range1.startOffset !== range1.endOffset) {\n return {startOffset: range1.startOffset,\n endOffset: range1.endOffset,\n position: range2.toString().length};\n }\n return range2.toString().length;\n }\n\n return this.target.selectionStart;\n }\n\n /**\n * Get relative position of query\n * @param {Node} curNode\n * @param {number} position\n * @return {{_correctedPosition: number, _curNode: Node}}\n */\n getRelativePosition(curNode, position) {\n let curPos = 0;\n let _curNode = curNode;\n const nodeTypeText = 3;\n if (!_curNode) {\n return {_curNode: this.target, _correctedPosition: position};\n }\n if (position === 0) {\n while (_curNode.nodeType !== nodeTypeText) {\n _curNode = _curNode.childNodes[0];\n }\n const _correctedPosition = position;\n return {_curNode, _correctedPosition};\n }\n let i = -1;\n if (_curNode && _curNode.nodeType !== undefined) {\n while (curPos < position && _curNode.nodeType !== nodeTypeText) {\n i++;\n if (_curNode.childNodes[i] !== null && _curNode.childNodes[i]) {\n curPos += _curNode.childNodes[i].textContent.length;\n if (curPos >= position) {\n _curNode = _curNode.childNodes[i];\n curPos -= _curNode.textContent.length;\n i = -1;\n }\n } else {\n break;\n }\n }\n }\n const _correctedPosition = position - curPos;\n return {_curNode, _correctedPosition};\n }\n\n /**\n * Set caret position index\n * @param {number} position\n * @return {number}\n */\n setPosition(position) {\n const isContentEditable = this.isContentEditable();\n let correctedPosition;\n let curNode = this.target && this.target.childNodes[0];\n if (position !== undefined) {\n if (position.startOffset !== undefined) {\n const range = new Range();\n const start = this.getRelativePosition(curNode, position.startOffset);\n range.setStart(start._curNode, start._correctedPosition);\n const end = this.getRelativePosition(curNode, position.endOffset);\n range.setEnd(end._curNode, end._correctedPosition);\n correctedPosition = range;\n } else if (position === -1) {\n const value = isContentEditable\n ? this.target.textContent\n : this.constructor.normalizeNewlines(this.target.value);\n correctedPosition = value.length;\n } else {\n const {_curNode, _correctedPosition} = this.getRelativePosition(curNode, position);\n curNode = _curNode;\n correctedPosition = _correctedPosition;\n }\n }\n\n if (isContentEditable) {\n this.focus();\n\n try {\n if (correctedPosition instanceof Range) {\n window.getSelection().removeAllRanges();\n window.getSelection().addRange(correctedPosition);\n } else {\n window.getSelection().collapse(curNode || this.target, correctedPosition);\n }\n } catch (e) {\n // Do nothing\n }\n\n } else {\n this.target.setSelectionRange(correctedPosition, correctedPosition);\n }\n\n return correctedPosition;\n }\n\n /**\n * Get caret position in pixels\n * @return {number}\n */\n getOffset() {\n let offset = 0;\n let range;\n\n try {\n // Both statements may throw\n range = window.getSelection().getRangeAt(0).cloneRange();\n range.setStart(range.startContainer, range.startOffset - 1);\n } catch (e) {\n return offset;\n }\n\n if (range && range.endOffset !== 0 && range.toString() !== '') {\n offset =\n getRect(range).right -\n getRect(this.target).left -\n (range.startContainer.offsetLeft || 0);\n }\n\n return offset;\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport checkmarkIcon from '@jetbrains/icons/checkmark.svg';\n\nimport Icon from '../icon/icon';\n\nimport styles from './checkbox.css';\n\n/**\n * @name Checkbox\n */\nexport default class Checkbox extends PureComponent {\n\n static propTypes = {\n name: PropTypes.string,\n label: PropTypes.string,\n className: PropTypes.string,\n defaultChecked: PropTypes.bool,\n checked: PropTypes.bool,\n disabled: PropTypes.bool,\n onChange: PropTypes.func,\n children: PropTypes.node\n };\n\n inputRef = el => {\n this.input = el;\n };\n\n render() {\n const {children, label, ...restProps} = this.props;\n\n const classes = classNames(\n styles.input,\n this.props.className\n );\n\n return (\n <label\n className={styles.checkbox}\n data-test=\"ring-checkbox\"\n >\n <input\n {...restProps}\n ref={this.inputRef}\n type=\"checkbox\"\n className={classes}\n />\n <span className={styles.cell}>\n <Icon\n glyph={checkmarkIcon}\n className={styles.icon}\n />\n </span>\n <span className={styles.label}>{label || children}</span>\n </label>\n );\n }\n}\n","function proxyAttrs(template, attrsWhitelist) {\n return function copyAttrs(iElement, iAttrs) {\n const PREFIX = 'data-proxy-';\n\n const attrsList = attrsWhitelist || Object.keys(iAttrs.$attr);\n let resultTemplate = template;\n\n attrsList.forEach(attrName => {\n if (iAttrs[attrName] !== undefined) {\n const attrLower = iAttrs.$attr[attrName];\n const attrValue = iAttrs[attrName];\n\n const attrFind = `${PREFIX}${attrLower}`.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n const attrReplace = `${attrLower}=\"${attrValue}\"`;\n\n resultTemplate = resultTemplate.replace(RegExp(`${attrFind}(=\"\")*`, 'g'), attrReplace);\n }\n });\n\n return resultTemplate;\n };\n}\n\nexport default proxyAttrs;\n","import angular from 'angular';\n\nimport checkmarkIcon from '@jetbrains/icons/checkmark.svg';\n\nimport IconNG from '../icon-ng/icon-ng';\nimport proxyAttrs from '../proxy-attrs/proxy-attrs';\n\nimport styles from '../checkbox/checkbox.css';\n\n/**\n * @name Checkbox Ng\n */\n\nconst angularModule = angular.module('Ring.checkbox', [IconNG]);\n\nlet idCounter = 0;\nconst CHECKBOX_ID_PREFIX = 'rg-checkbox-';\n\nangularModule.directive('rgCheckbox', function rgCheckboxDirective() {\n return {\n restrict: 'E',\n transclude: true,\n replace: true,\n template: proxyAttrs(`\n<label class=\"${styles.checkbox}\">\n <input\n data-proxy-ng-disabled\n data-proxy-ng-model\n data-proxy-ng-change\n data-proxy-ng-true-value\n data-proxy-ng-false-value\n data-proxy-name\n data-proxy-title\n data-proxy-aria-label\n data-test=\"ring-checkbox\"\n type=\"checkbox\"\n class=\"${styles.input}\"\n />\n <span class=\"${styles.cell}\">\n <rg-icon class=\"${styles.icon}\" glyph=\"{{:: checkmarkIcon}}\" />\n </span><span class=\"${styles.label}\" ng-transclude></span>\n</label>\n `),\n link: function link(scope, iElement) {\n scope.checkmarkIcon = checkmarkIcon;\n const input = iElement[0].query('input[type=\"checkbox\"]');\n\n const id = CHECKBOX_ID_PREFIX + idCounter++;\n iElement[0].setAttribute('for', id);\n input.setAttribute('id', id);\n }\n };\n});\n\nexport default angularModule.name;\n","export default function normalizeIndent(string) {\n const nonemptyRE = /\\S/;\n const indentRE = /^\\s*/;\n\n const lines = string.split(/\\n/g);\n const linesCopy = [...lines];\n\n //remove empty lines at the beginning and the end\n for (const line of linesCopy) {\n if (nonemptyRE.test(line)) {\n break;\n } else {\n lines.shift();\n }\n }\n\n for (const line of linesCopy.reverse()) {\n if (nonemptyRE.test(line)) {\n break;\n } else {\n lines.pop();\n }\n }\n\n const indents = lines.\n filter(line => nonemptyRE.test(line)).\n map(line => line.match(indentRE)[0].length);\n\n const minIndent = Math.min(...indents);\n\n return lines.\n map(line => line.slice(minIndent)).\n join('\\n');\n}\n","const TWO = 2;\n\nexport default function trivialTemplateTag(f) {\n return (strings, ...interpolations) => {\n const chunks = [...strings];\n // insert the interpolations where they belong to\n interpolations.forEach((value, i) =>\n chunks.splice(TWO * i + 1, 0, value));\n return f(chunks.join(''));\n };\n}\n","import highlight from 'highlight.js/lib/highlight';\nimport './highlight.css';\n\nimport cpp from 'highlight.js/lib/languages/cpp';\nimport xml from 'highlight.js/lib/languages/xml';\nimport bash from 'highlight.js/lib/languages/bash';\nimport clojure from 'highlight.js/lib/languages/clojure';\nimport coffeescript from 'highlight.js/lib/languages/coffeescript';\nimport cs from 'highlight.js/lib/languages/cs';\nimport css from 'highlight.js/lib/languages/css';\nimport markdown from 'highlight.js/lib/languages/markdown';\nimport dockerfile from 'highlight.js/lib/languages/dockerfile';\nimport elixir from 'highlight.js/lib/languages/elixir';\nimport elm from 'highlight.js/lib/languages/elm';\nimport ruby from 'highlight.js/lib/languages/ruby';\nimport erlang from 'highlight.js/lib/languages/erlang';\nimport glsl from 'highlight.js/lib/languages/glsl';\nimport go from 'highlight.js/lib/languages/go';\nimport gradle from 'highlight.js/lib/languages/gradle';\nimport groovy from 'highlight.js/lib/languages/groovy';\nimport handlebars from 'highlight.js/lib/languages/handlebars';\nimport haskell from 'highlight.js/lib/languages/haskell';\nimport java from 'highlight.js/lib/languages/java';\nimport javascript from 'highlight.js/lib/languages/javascript';\nimport json from 'highlight.js/lib/languages/json';\nimport kotlin from 'highlight.js/lib/languages/kotlin';\nimport less from 'highlight.js/lib/languages/less';\nimport livescript from 'highlight.js/lib/languages/livescript';\nimport lua from 'highlight.js/lib/languages/lua';\nimport makefile from 'highlight.js/lib/languages/makefile';\nimport perl from 'highlight.js/lib/languages/perl';\nimport php from 'highlight.js/lib/languages/php';\nimport powershell from 'highlight.js/lib/languages/powershell';\nimport python from 'highlight.js/lib/languages/python';\nimport r from 'highlight.js/lib/languages/r';\nimport rust from 'highlight.js/lib/languages/rust';\nimport scala from 'highlight.js/lib/languages/scala';\nimport scss from 'highlight.js/lib/languages/scss';\nimport shell from 'highlight.js/lib/languages/shell';\nimport sql from 'highlight.js/lib/languages/sql';\nimport swift from 'highlight.js/lib/languages/swift';\nimport yaml from 'highlight.js/lib/languages/yaml';\nimport twig from 'highlight.js/lib/languages/twig';\nimport typescript from 'highlight.js/lib/languages/typescript';\n\nhighlight.registerLanguage('cpp', cpp);\nhighlight.registerLanguage('xml', xml);\nhighlight.registerLanguage('bash', bash);\nhighlight.registerLanguage('clojure', clojure);\nhighlight.registerLanguage('coffeescript', coffeescript);\nhighlight.registerLanguage('cs', cs);\nhighlight.registerLanguage('css', css);\nhighlight.registerLanguage('markdown', markdown);\nhighlight.registerLanguage('dockerfile', dockerfile);\nhighlight.registerLanguage('elixir', elixir);\nhighlight.registerLanguage('elm', elm);\nhighlight.registerLanguage('ruby', ruby);\nhighlight.registerLanguage('erlang', erlang);\nhighlight.registerLanguage('glsl', glsl);\nhighlight.registerLanguage('go', go);\nhighlight.registerLanguage('gradle', gradle);\nhighlight.registerLanguage('groovy', groovy);\nhighlight.registerLanguage('handlebars', handlebars);\nhighlight.registerLanguage('haskell', haskell);\nhighlight.registerLanguage('java', java);\nhighlight.registerLanguage('javascript', javascript);\nhighlight.registerLanguage('json', json);\nhighlight.registerLanguage('kotlin', kotlin);\nhighlight.registerLanguage('less', less);\nhighlight.registerLanguage('livescript', livescript);\nhighlight.registerLanguage('lua', lua);\nhighlight.registerLanguage('makefile', makefile);\nhighlight.registerLanguage('perl', perl);\nhighlight.registerLanguage('php', php);\nhighlight.registerLanguage('powershell', powershell);\nhighlight.registerLanguage('python', python);\nhighlight.registerLanguage('r', r);\nhighlight.registerLanguage('rust', rust);\nhighlight.registerLanguage('scala', scala);\nhighlight.registerLanguage('scss', scss);\nhighlight.registerLanguage('shell', shell);\nhighlight.registerLanguage('sql', sql);\nhighlight.registerLanguage('swift', swift);\nhighlight.registerLanguage('yaml', yaml);\nhighlight.registerLanguage('twig', twig);\nhighlight.registerLanguage('typescript', typescript);\n\nexport default highlight;\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport normalizeIndent from '../global/normalize-indent';\nimport trivialTemplateTag from '../global/trivial-template-tag';\n\nimport highlight from './highlight';\nimport styles from './code.css';\nimport highlightStyles from './highlight.css';\n\nfunction noop() {}\n\n/**\n * @name Code\n */\n\nexport default class Code extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n code: PropTypes.string.isRequired,\n inline: PropTypes.bool,\n softWrap: PropTypes.bool,\n language: PropTypes.string,\n replacer: PropTypes.func,\n codeRef: PropTypes.oneOfType([\n PropTypes.shape({current: PropTypes.instanceOf(Element)}),\n PropTypes.func\n ])\n };\n\n static defaultProps = {\n inline: false,\n softWrap: false,\n replacer: noop\n };\n\n componentDidMount() {\n this.highlight();\n }\n\n componentDidUpdate() {\n this.highlight();\n }\n\n highlight() {\n if (!this.props.inline) {\n highlight.highlightBlock(this.codeRef);\n }\n this.props.replacer(this.codeRef);\n }\n\n get codeRef() {\n const {codeRef} = this.props;\n return !codeRef || this.isFunctionCodeRef ? this.code : codeRef.current;\n }\n\n get isFunctionCodeRef() {\n return typeof (this.props.codeRef) === 'function';\n }\n\n get initCodeRef() {\n const {codeRef} = this.props;\n if (codeRef && !this.isFunctionCodeRef) {\n return codeRef;\n }\n return ref => {\n this.code = ref;\n if (this.isFunctionCodeRef) {\n codeRef(this.code);\n }\n };\n }\n\n render() {\n const {code, className, inline, softWrap, language} = this.props;\n\n const Tag = inline ? 'span' : 'pre';\n const classes = classNames(styles.code, className, language, {\n [styles.inline]: inline,\n [styles.softWrap]: softWrap\n });\n\n return (\n <Tag className={classes}>\n <code\n // should be focusable because it can be scrollable\n tabIndex={inline ? -1 : 0}\n ref={this.initCodeRef}\n className={highlightStyles.highlightContainer}\n >\n {normalizeIndent(code)}\n </code>\n </Tag>\n );\n }\n}\n\nconst code = trivialTemplateTag(source => <Code code={source}/>);\n\nexport {code, highlight};\n","/**\n * @name Compiler Ng\n */\nimport angular from 'angular';\n\nconst angularModule = angular.module('Ring.compiler', []).\n factory('rgCompiler', function rgCompilerFactory($q, $controller, $injector, $compile) {\n return options => {\n const template = options.template;\n const controller = options.controller;\n const controllerAs = options.controllerAs;\n const resolve = angular.extend({}, options.resolve);\n const bindToController = options.bindToController;\n\n angular.forEach(resolve, (value, key) => {\n if (angular.isString(value)) {\n resolve[key] = $injector.get(value);\n } else {\n // Use comma expression to disable babel-plugin-angular-annotate\n // Otherwise is fails with \"Maximum call stack size exceeded\" error\n resolve[key] = $injector.invoke((0, value));\n }\n });\n\n angular.extend(resolve, options.locals);\n\n return $q.all(resolve).then(locals => {\n const element = options.element || angular.element('<div>').\n html(template.trim()).\n contents();\n const linkFn = $compile(element, locals.$transclude);\n locals.$element = element;\n\n return {\n locals,\n element,\n link: function link(scope) {\n locals.$scope = scope;\n\n if (controller) {\n const invokeCtrl = $controller(controller, locals, true);\n\n if (bindToController) {\n angular.extend(invokeCtrl.instance, locals);\n }\n\n const ctrl = invokeCtrl();\n\n element.data('$ngControllerController', ctrl);\n\n if (controllerAs) {\n scope[controllerAs] = ctrl;\n }\n }\n\n return linkFn(scope);\n }\n };\n });\n };\n });\n\nexport default angularModule.name;\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport styles from './panel.css';\n\n/**\n * @name Panel\n */\nexport default class Panel extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n children: PropTypes.node\n };\n\n render() {\n const {className, children, ...props} = this.props;\n const classes = classNames(styles.panel, className);\n return (\n <div\n {...props}\n className={classes}\n >\n {children}\n </div>\n );\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\n\nimport Dialog from '../dialog/dialog';\nimport Button from '../button/button';\nimport {Content, Header} from '../island/island';\nimport Panel from '../panel/panel';\n\nimport styles from './confirm.css';\n\n/**\n * @name Confirm\n */\n\nexport default class Confirm extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n text: PropTypes.string,\n description: PropTypes.node,\n\n show: PropTypes.bool,\n rejectOnEsc: PropTypes.bool,\n inProgress: PropTypes.bool,\n cancelIsDefault: PropTypes.bool,\n confirmLabel: PropTypes.string,\n rejectLabel: PropTypes.string,\n\n onConfirm: PropTypes.func,\n onReject: PropTypes.func\n };\n\n static defaultProps = {\n text: null,\n description: null,\n show: false,\n rejectOnEsc: true,\n inProgress: false,\n cancelIsDefault: false,\n confirmLabel: 'OK',\n rejectLabel: 'Cancel',\n onConfirm: () => {},\n onReject: () => {}\n };\n\n onEscPress = () => {\n if (this.props.rejectOnEsc) {\n this.props.onReject();\n }\n };\n\n render() {\n const {\n show,\n className,\n inProgress,\n cancelIsDefault,\n text,\n description,\n confirmLabel,\n rejectLabel,\n onConfirm,\n onReject\n } = this.props;\n\n return (\n <Dialog\n className={className}\n onEscPress={this.onEscPress}\n show={show}\n trapFocus\n >\n {text && <Header>{text}</Header>}\n <Content>\n {description && <div className={styles.description}>{description}</div>}\n </Content>\n <Panel>\n <Button\n data-test=\"confirm-ok-button\"\n primary={!cancelIsDefault}\n loader={inProgress}\n disabled={inProgress}\n onClick={onConfirm}\n >\n {confirmLabel}\n </Button>\n <Button\n data-test=\"confirm-reject-button\"\n onClick={onReject}\n disabled={inProgress}\n primary={cancelIsDefault}\n >\n {rejectLabel}\n </Button>\n </Panel>\n </Dialog>\n );\n }\n}\n\n","import React from 'react';\nimport {render} from 'react-dom';\n\nimport Confirm from '../confirm/confirm';\n\n/**\n * @name Confirm Service\n */\n\nexport const containerElement = document.createElement('div');\n\n/**\n * Renders Confirm into virtual node to skip maintaining container\n */\nfunction renderConfirm(props) {\n render(<Confirm {...props}/>, containerElement);\n}\n\nexport default function confirm({\n text,\n description,\n confirmLabel = 'OK',\n rejectLabel = 'Cancel',\n cancelIsDefault,\n onBeforeConfirm\n}) {\n return new Promise((resolve, reject) => {\n const props = {\n text,\n description,\n confirmLabel,\n rejectLabel,\n cancelIsDefault,\n show: true,\n\n onConfirm: () => {\n if (onBeforeConfirm) {\n renderConfirm({...props, inProgress: true});\n return Promise.resolve(onBeforeConfirm()).\n then(() => {\n renderConfirm({show: false});\n resolve();\n }).\n catch(err => {\n renderConfirm({show: false});\n reject(err);\n });\n }\n renderConfirm({show: false});\n return resolve();\n },\n\n onReject: () => {\n renderConfirm({show: false});\n reject(new Error('Confirm(@jetbrains/ring-ui): null exception'));\n }\n };\n\n renderConfirm(props);\n });\n}\n\nexport function hideConfirm() {\n renderConfirm({show: false});\n}\n","import angular from 'angular';\n\nimport confirm from '../confirm-service/confirm-service';\nimport MessageBundle from '../message-bundle-ng/message-bundle-ng';\n\n/**\n * @name Confirm Ng\n */\n\nconst angularModule = angular.module('Ring.confirm', [\n MessageBundle\n]);\n\nangularModule.service('confirm', function service($q, RingMessageBundle) {\n return function showConfirm(\n message, description, actionTitle, cancelTitle,\n cancelIsDefault, actionFn\n ) {\n return $q.when(confirm({\n text: message,\n description,\n confirmLabel: actionTitle || RingMessageBundle.confirmation_ok(),\n rejectLabel: cancelTitle || RingMessageBundle.confirmation_cancel(),\n cancelIsDefault,\n onBeforeConfirm: actionFn\n }));\n };\n});\n\nexport default angularModule.name;\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport {Waypoint} from 'react-waypoint';\n\nimport styles from './content-layout.css';\n\nconst ABOVE = 'above';\nconst INSIDE = 'inside';\n\nexport default class Sidebar extends Component {\n static propTypes = {\n right: PropTypes.bool,\n children: PropTypes.node,\n className: PropTypes.string,\n containerClassName: PropTypes.string,\n fixedClassName: PropTypes.string,\n contentNode: PropTypes.object\n };\n\n state = {\n topIsOutside: true,\n bottomIsOutside: true\n };\n\n handleTopWaypoint = ({currentPosition}) => {\n this.setState({topIsOutside: currentPosition === ABOVE});\n };\n\n handleBottomWaypoint = ({currentPosition, waypointTop}) => {\n this.setState({\n sidebarVisibleHeight: waypointTop,\n bottomIsOutside: currentPosition !== INSIDE\n });\n };\n\n shouldUseFixation() {\n const {contentNode} = this.props;\n const {sidebarNode} = this;\n if (!contentNode || !sidebarNode) {\n return false;\n }\n return contentNode.offsetHeight >= sidebarNode.offsetHeight;\n }\n\n shouldFixateBottom() {\n const {topIsOutside, bottomIsOutside} = this.state;\n return !bottomIsOutside && topIsOutside && this.shouldUseFixation();\n }\n\n sidebarRef = node => {\n this.sidebarNode = node;\n };\n\n render() {\n const {right, children, className, containerClassName,\n fixedClassName, contentNode, ...restProps} = this.props;\n const {topIsOutside, bottomIsOutside, sidebarVisibleHeight} = this.state;\n\n const shouldFixateTop = bottomIsOutside && topIsOutside && this.shouldUseFixation();\n const shouldFixateBottom = this.shouldFixateBottom();\n\n const containerClasses = classNames(styles.sidebarContainer, containerClassName, {\n [styles.sidebarContainerRight]: right\n });\n\n const classes = classNames(styles.sidebar, className, {\n [styles.sidebarRight]: right,\n [styles.sidebarFixedTop]: shouldFixateTop,\n [styles.sidebarFixedBottom]: shouldFixateBottom,\n [fixedClassName]: shouldFixateTop || shouldFixateBottom\n });\n\n const style = {\n maxHeight: shouldFixateBottom && sidebarVisibleHeight ? `${sidebarVisibleHeight}px` : null\n };\n\n return (\n <div\n className={containerClasses}\n ref={this.sidebarRef}\n >\n <Waypoint\n onEnter={this.handleTopWaypoint}\n onLeave={this.handleTopWaypoint}\n />\n\n <div\n {...restProps}\n style={style}\n className={classes}\n >\n {children}\n </div>\n\n <div className={styles.bottomMarker}>\n <Waypoint\n onEnter={this.handleBottomWaypoint}\n onLeave={this.handleBottomWaypoint}\n />\n </div>\n </div>\n );\n }\n}\n","import React, {cloneElement, Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport Sidebar from './sidebar';\nimport styles from './content-layout.css';\n\n/**\n * @name Content Layout\n */\n\nexport default class ContentLayout extends Component {\n static propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n contentClassName: PropTypes.string,\n responsive: PropTypes.bool\n };\n\n static defaultProps = {\n responsive: true\n };\n\n state = {};\n\n saveContentNode = contentNode => {\n this.setState({contentNode});\n };\n\n render() {\n const {children, className, contentClassName, responsive, ...restProps} = this.props;\n\n const classes = classNames(styles.contentLayout, className, {\n [styles.contentLayoutResponsive]: responsive\n });\n\n const contentClasses = classNames(styles.contentLayoutContent, contentClassName);\n\n const childrenArray = React.Children.toArray(children);\n const sidebarChild = childrenArray.filter(child => child && child.type === Sidebar)[0];\n\n const sidebar = sidebarChild && cloneElement(sidebarChild, {\n contentNode: this.state.contentNode\n });\n const contentChildren = childrenArray.filter(child => child !== sidebarChild);\n\n return (\n <div\n {...restProps}\n className={classes}\n >\n {sidebar}\n <div\n className={contentClasses}\n ref={this.saveContentNode}\n >\n {contentChildren}\n </div>\n </div>\n );\n }\n}\n\nexport {default as Sidebar} from './sidebar';\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {renderToStaticMarkup} from 'react-dom/server';\n\n/**\n * @name ContentEditable\n */\n\nfunction noop() {}\n\nexport default class ContentEditable extends Component {\n /** @override */\n static propTypes = {\n disabled: PropTypes.bool,\n tabIndex: PropTypes.number,\n componentDidUpdate: PropTypes.func,\n onComponentUpdate: PropTypes.func,\n className: PropTypes.string,\n children: PropTypes.node\n };\n\n static defaultProps = {\n disabled: false,\n tabIndex: 0,\n onInput: noop,\n onComponentUpdate: noop\n };\n\n static getDerivedStateFromProps = ({children}) => ({\n __html: children ? renderToStaticMarkup(children) : ''\n });\n\n state = {__html: ''};\n\n shouldComponentUpdate(nextProps, nextState) {\n return nextProps.disabled !== this.props.disabled ||\n nextState.__html !== this.state.__html;\n }\n\n componentDidUpdate(prevProps, prevState) {\n this.props.onComponentUpdate(prevProps, prevState);\n }\n\n render() {\n const {children, onComponentUpdate, disabled, tabIndex, ...props} = this.props;\n\n return (\n <div\n {...props}\n disabled={disabled}\n role=\"textbox\"\n tabIndex={disabled ? null : tabIndex}\n contentEditable={!this.props.disabled}\n dangerouslySetInnerHTML={this.state}\n />\n );\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\n\nexport default function focusSensorHOC(ComposedComponent) {\n return class FocusSensor extends Component {\n static propTypes = {\n ...ComposedComponent.propTypes,\n focused: PropTypes.bool,\n autofocus: PropTypes.bool,\n onFocus: PropTypes.func,\n onBlur: PropTypes.func\n };\n\n static defaultProps = {\n ...ComposedComponent.defaultProps,\n focused: false,\n autofocus: false,\n onFocus: () => {},\n onBlur: () => {}\n };\n\n state = {\n focused: this.props.focused\n };\n\n componentDidMount() {\n const {props: {autofocus}, node} = this;\n\n node.setAttribute('tabindex', '0');\n node.style.outline = 'none';\n\n document.addEventListener('focus', this.onFocusCapture, true);\n document.addEventListener('blur', this.onBlurCapture, true);\n\n if (autofocus) {\n node.focus();\n }\n }\n\n componentDidUpdate(prevProps) {\n const {focused} = this.props;\n if (focused && !prevProps.focused) {\n this.onFocusRestore();\n } else if (!focused && prevProps.focused) {\n this.onFocusReset();\n }\n }\n\n componentWillUnmount() {\n document.removeEventListener('focus', this.onFocusCapture, true);\n document.removeEventListener('blur', this.onBlurCapture, true);\n }\n\n _skipNextCapture = false;\n\n onRefUpdate = node => {\n if (node) {\n this.node = node;\n }\n };\n\n onFocusCapture = ({target}) => {\n if (this._skipNextCapture) {\n this._skipNextCapture = false;\n return;\n }\n const focused = this.node.contains(target);\n if (focused && !this.state.focused) {\n this.setState({focused: true});\n this.props.onFocus();\n }\n };\n\n onBlurCapture = ({target}) => {\n const {state: {focused}, node} = this;\n if (focused) {\n setTimeout(() => {\n const blurred = node.contains(target) && !node.contains(document.activeElement);\n if (blurred) {\n this.setState({focused: false});\n this.props.onBlur();\n }\n }, 1);\n }\n };\n\n onFocusRestore = () => {\n this._skipNextCapture = true;\n this.node.focus();\n };\n\n onFocusReset = () => {\n this.node.blur();\n };\n\n render() {\n return (\n <ComposedComponent\n {...this.props}\n innerRef={this.onRefUpdate}\n focused={this.state.focused}\n onFocusReset={this.onFocusReset}\n onFocusRestore={this.onFocusRestore}\n />\n );\n }\n };\n}\n","export default class Selection {\n constructor({\n data = [],\n selected = new Set(),\n focused = null,\n getKey = item => item.id,\n getChildren = () => [],\n isItemSelectable = () => true\n } = {}) {\n this._rawData = data;\n this._getChildren = getChildren;\n\n this._data = this._buildData(data);\n\n this._selected = selected;\n this._focused = focused;\n this._getKey = getKey;\n this._isItemSelectable = isItemSelectable;\n }\n\n _buildData(data) {\n return new Set(data);\n }\n\n _buildSelected(data, selected) {\n return new Set(selected);\n }\n\n cloneWith({data, selected, focused}) {\n const newData = data || this._rawData;\n\n let newSelected;\n if (data && !selected) {\n newSelected = new Set([...this._buildData(newData)].\n filter(item => [...this._selected].some(it => this._getKey(item) === this._getKey(it))));\n newSelected = this._buildSelected(this._buildData(newData), newSelected);\n } else if (selected) {\n newSelected = selected;\n } else {\n newSelected = this._selected;\n }\n newSelected = new Set([...newSelected].filter(item => this._isItemSelectable(item)));\n\n const cloneFocus = () => [...this._buildData(data)].filter(\n item => this._focused && this._getKey(item) === this._getKey(this._focused)\n )[0];\n\n const newFocused = focused === undefined ? this._focused : focused;\n\n return new this.constructor({\n data: newData,\n selected: newSelected,\n focused: (data && !focused) ? cloneFocus() : newFocused,\n getKey: this._getKey,\n getChildren: this._getChildren,\n isItemSelectable: this._isItemSelectable\n });\n }\n\n focus(value) {\n return this.cloneWith({focused: value});\n }\n\n moveUp() {\n const focused = this._focused;\n const data = [...this._data];\n\n if (!focused) {\n return this.cloneWith({focused: data[data.length - 1]});\n }\n\n const nextItem = data[data.indexOf(focused) - 1];\n if (nextItem) {\n return this.cloneWith({focused: nextItem});\n }\n\n return undefined;\n }\n\n moveDown() {\n const focused = this._focused;\n const data = [...this._data];\n\n if (!focused) {\n return this.cloneWith({focused: data[0]});\n }\n\n const nextItem = data[data.indexOf(focused) + 1];\n if (nextItem) {\n return this.cloneWith({focused: nextItem});\n }\n\n return undefined;\n }\n\n moveStart() {\n const data = [...this._data];\n\n if (data.length) {\n return this.cloneWith({focused: data[0]});\n }\n\n return undefined;\n }\n\n moveEnd() {\n const data = [...this._data];\n\n if (data.length) {\n return this.cloneWith({focused: data.pop()});\n }\n\n return undefined;\n }\n\n select(value = this._focused) {\n if (!value || !this._isItemSelectable(value)) {\n return this;\n }\n\n const selected = new Set(this._selected);\n selected.add(value);\n return this.cloneWith({selected});\n }\n\n deselect(value = this._focused) {\n if (!value || !this._isItemSelectable(value)) {\n return this;\n }\n\n const selected = new Set(this._selected);\n selected.delete(value);\n return this.cloneWith({selected});\n }\n\n toggleSelection(value = this._focused) {\n if (this.isSelected(value)) {\n return this.deselect(value);\n } else {\n return this.select(value);\n }\n }\n\n selectAll() {\n return this.cloneWith({selected: [...this._data]});\n }\n\n resetFocus() {\n return this.cloneWith({focused: null});\n }\n\n resetSelection() {\n return this.cloneWith({selected: new Set()});\n }\n\n reset() {\n return this.resetFocus().resetSelection();\n }\n\n isFocused(value) {\n return this._focused === value;\n }\n\n isSelected(value) {\n return this._selected.has(value);\n }\n\n getFocused() {\n return this._focused;\n }\n\n getSelected() {\n return new Set(this._selected);\n }\n\n getActive() {\n if (this._selected.size) {\n return new Set(this._selected);\n } else if (this._focused) {\n return new Set([this._focused]);\n } else {\n return new Set();\n }\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\n\nimport Selection from './selection';\n\nexport default function selectionShortcutsHOC(ComposedComponent) {\n return class SelectionShortcuts extends PureComponent {\n static propTypes = {\n ...ComposedComponent.propTypes,\n selection: PropTypes.instanceOf(Selection).isRequired,\n selectable: PropTypes.bool,\n onSelect: PropTypes.func,\n shortcuts: PropTypes.object\n };\n\n static defaultProps = {\n ...ComposedComponent.defaultProps,\n selectable: true,\n onSelect: () => {},\n shortcuts: {}\n };\n\n onUpPress = () => {\n const {selection, onSelect} = this.props;\n const newSelection = selection.moveUp();\n\n if (newSelection) {\n onSelect(newSelection);\n }\n\n return false;\n };\n\n onDownPress = () => {\n const {selection, onSelect} = this.props;\n const newSelection = selection.moveDown();\n\n if (newSelection) {\n onSelect(newSelection);\n }\n\n return false;\n };\n\n onShiftKeyDown = () => {\n const {selection} = this.props;\n\n if (selection.isSelected(selection.getFocused())) {\n this.shiftSelectionMode = 'deletion';\n } else {\n this.shiftSelectionMode = 'addition';\n }\n };\n\n shiftSelect = selection => {\n if (this.shiftSelectionMode === 'addition') {\n return selection.select();\n } else {\n return selection.deselect();\n }\n };\n\n onShiftUpPress = e => {\n e.preventDefault();\n const {selectable, selection, onSelect} = this.props;\n\n if (!selectable) {\n return;\n }\n\n const newSelection = this.shiftSelect(selection);\n const newMovedSelection = newSelection.moveUp();\n\n if (newMovedSelection) {\n onSelect(newMovedSelection);\n } else {\n onSelect(newSelection);\n }\n };\n\n onShiftDownPress = e => {\n e.preventDefault();\n const {selectable, selection, onSelect} = this.props;\n\n if (!selectable) {\n return;\n }\n\n const newSelection = this.shiftSelect(selection);\n const newMovedSelection = newSelection.moveDown();\n\n if (newMovedSelection) {\n onSelect(newMovedSelection);\n } else {\n onSelect(newSelection);\n }\n };\n\n onHomePress = () => {\n const {selection, onSelect} = this.props;\n\n const newSelection = selection.moveStart();\n if (newSelection) {\n onSelect(newSelection);\n }\n\n return false;\n };\n\n onEndPress = () => {\n const {selection, onSelect} = this.props;\n\n const newSelection = selection.moveEnd();\n if (newSelection) {\n onSelect(newSelection);\n }\n\n return false;\n };\n\n onSpacePress = () => {\n const {selectable, selection, onSelect} = this.props;\n\n if (!selectable) {\n return true;\n }\n\n onSelect(selection.toggleSelection());\n return false;\n };\n\n onEscPress = () => {\n const {selection, onSelect} = this.props;\n\n onSelect(selection.reset());\n //this.restoreFocusWithoutScroll();\n };\n\n onCmdAPress = () => {\n const {selectable, selection, onSelect} = this.props;\n\n if (!selectable) {\n return true;\n }\n\n onSelect(selection.selectAll());\n return false;\n };\n\n shortcutsMap = {\n up: this.onUpPress,\n down: this.onDownPress,\n shift: this.onShiftKeyDown,\n 'shift+up': this.onShiftUpPress,\n 'shift+down': this.onShiftDownPress,\n home: this.onHomePress,\n end: this.onEndPress,\n space: this.onSpacePress,\n esc: this.onEscPress,\n 'command+a': this.onCmdAPress,\n 'ctrl+a': this.onCmdAPress\n };\n\n render() {\n const {selection, selectable, onSelect} = this.props;\n return (\n <ComposedComponent\n {...this.props}\n selection={selection}\n selectable={selectable}\n onSelect={onSelect}\n shortcutsMap={{...this.shortcutsMap, ...this.props.shortcuts}}\n />\n );\n }\n };\n}\n","import React, {PureComponent} from 'react';\n\nexport default function disableHoverHOC(ComposedComponent) {\n return class DisableHover extends PureComponent {\n static propTypes = ComposedComponent.propTypes;\n static defaultProps = ComposedComponent.defaultProps;\n\n state = {\n disabledHover: false\n };\n\n componentDidMount() {\n document.addEventListener('mousemove', this.onMouseMove);\n document.addEventListener('keydown', this.onKeyDown, true);\n }\n\n componentWillUnmount() {\n document.removeEventListener('mousemove', this.onMouseMove);\n document.removeEventListener('keydown', this.onKeyDown, true);\n }\n\n onMouseMove = () => {\n if (this.state.disabledHover) {\n this.setState({disabledHover: false});\n }\n };\n\n onKeyDown = e => {\n const metaKeys = [16, 17, 18, 19, 20, 91]; // eslint-disable-line no-magic-numbers\n if (!this.state.disabledHover && !metaKeys.includes(e.keyCode)) {\n this.setState({disabledHover: true});\n }\n };\n\n render() {\n return (\n <ComposedComponent\n {...this.props}\n disabledHover={this.state.disabledHover}\n />\n );\n }\n };\n}\n","import 'dom4';\nimport {getPixelRatio} from '../global/dom';\n\nimport styles from './loader.css';\n\nconst INITIAL_TICKS = 100;\n\nclass Particle {\n constructor({x, y, radius, color}) {\n this.radius = radius;\n this.x = x;\n this.y = y;\n this.color = color;\n\n this.decay = 0.01;\n this.life = 1;\n }\n\n step() {\n this.life -= this.decay;\n }\n\n isAlive() {\n return this.life >= 0;\n }\n\n draw(ctx) {\n const alpha = this.life >= 0 ? this.life : 0;\n ctx.fillStyle = `rgba(${this.color.r}, ${this.color.g}, ${this.color.b}, ${alpha})`;\n\n ctx.beginPath();\n ctx.arc(this.x + this.radius, this.y + this.radius, this.radius, 0, Math.PI * 2);\n ctx.fill();\n }\n}\n\nexport default class LoaderCore {\n static defaultProps = {\n size: 64,\n stop: false,\n colors: [\n {r: 215, g: 60, b: 234}, //#D73CEA\n {r: 145, g: 53, b: 224}, //#9135E0\n {r: 88, g: 72, b: 224}, //#5848F4\n {r: 37, g: 183, b: 255}, //#25B7FF\n {r: 89, g: 189, b: 0}, //#59BD00\n {r: 251, g: 172, b: 2}, //#FBAC02\n {r: 227, g: 37, b: 129} //#E32581\n ]\n };\n\n static calculateGradient(startColor, stopColor, position) {\n const calculateChannelValue = (a, b) => a + Math.round((b - a) * position);\n\n return {\n r: calculateChannelValue(startColor.r, stopColor.r),\n g: calculateChannelValue(startColor.g, stopColor.g),\n b: calculateChannelValue(startColor.b, stopColor.b)\n };\n }\n\n constructor(containerNode, props) {\n this.props = Object.assign({}, LoaderCore.defaultProps, props);\n this.renderInNode(containerNode);\n this.initializeLoader();\n\n this.isRunning = !this.props.stop;\n\n if (this.isRunning) {\n this.startAnimation();\n } else {\n this.draw();\n }\n }\n\n static getPixelRatio() {\n return getPixelRatio();\n }\n\n setCanvasSize() {\n const pixelRatio = LoaderCore.getPixelRatio();\n const canvasSize = this.props.size * pixelRatio;\n\n this.canvas.width = canvasSize;\n this.canvas.height = canvasSize;\n\n //Fixate canvas physical size to avoid real size scaling\n this.canvas.style.width = `${this.props.size}px`;\n this.canvas.style.height = `${this.props.size}px`;\n\n this.ctx = this.canvas.getContext('2d');\n\n this.ctx.scale(pixelRatio, pixelRatio);\n }\n\n initializeLoader() {\n this.setCanvasSize();\n\n this.height = this.props.size;\n this.width = this.props.size;\n\n this.particles = [];\n\n //Configuration\n this.baseSpeed = 1.0;\n this.colorIndex = 0;\n this.maxRadius = 10;\n this.minRadius = 6;\n this.colorChangeTick = 40;\n\n //State\n this.x = 0;\n this.y = 0;\n this.radius = 8;\n this.hSpeed = 1.5;\n this.vSpeed = 0.5;\n this.radiusSpeed = 0.05;\n this.tick = 0;\n\n this.prepareInitialState(INITIAL_TICKS);\n }\n\n prepareInitialState(ticks) {\n for (let i = 0; i < ticks; i++) {\n this.step();\n }\n }\n\n handleLimits(coord, radius, speed, limit) {\n const randomizedSpeedChange = Math.random(this.baseSpeed) - this.baseSpeed / 2;\n\n if (coord + (radius * 2) + this.baseSpeed >= limit) {\n return -(this.baseSpeed + randomizedSpeedChange);\n } else if (coord <= this.baseSpeed) {\n return this.baseSpeed + randomizedSpeedChange;\n }\n return speed;\n }\n\n calculateNextCoordinates() {\n this.x += this.hSpeed;\n this.y += this.vSpeed;\n\n this.hSpeed = this.handleLimits(this.x, this.radius, this.hSpeed, this.width);\n this.vSpeed = this.handleLimits(this.y, this.radius, this.vSpeed, this.height);\n }\n\n calculateNextRadius() {\n this.radius += this.radiusSpeed;\n\n if (this.radius > this.maxRadius || this.radius < this.minRadius) {\n this.radiusSpeed = -this.radiusSpeed;\n }\n }\n\n getNextColor() {\n const colors = this.props.colors;\n\n const currentColor = colors[this.colorIndex];\n const nextColor = colors[this.colorIndex + 1] || colors[0];\n\n return LoaderCore.calculateGradient(currentColor, nextColor, this.tick / this.colorChangeTick);\n }\n\n nextTick() {\n this.tick++;\n\n if (this.tick > this.colorChangeTick) {\n this.tick = 0;\n this.colorIndex++;\n if (this.colorIndex > this.props.colors.length - 1) {\n this.colorIndex = 0;\n }\n }\n }\n\n step() {\n this.nextTick();\n this.calculateNextCoordinates();\n this.calculateNextRadius();\n this.particles.forEach(particle => particle.step());\n\n this.particles.push(new Particle({\n x: this.x,\n y: this.y,\n radius: this.radius,\n color: this.getNextColor()\n }));\n }\n\n removeDeadParticles() {\n this.particles = this.particles.filter(it => it.isAlive());\n }\n\n draw() {\n this.ctx.clearRect(0, 0, this.width, this.height);\n this.removeDeadParticles();\n this.particles.forEach(particle => particle.draw(this.ctx));\n }\n\n loop() {\n this.step();\n this.draw();\n if (this.isRunning) {\n window.requestAnimationFrame(() => this.loop());\n }\n }\n\n updateMessage(text) {\n this.textNode.textContent = text || '';\n }\n\n stopAnimation() {\n this.isRunning = false;\n this.canvas.classList.remove(styles.animate);\n }\n\n startAnimation() {\n this.isRunning = true;\n this.canvas.classList.add(styles.animate);\n this.loop();\n }\n\n destroy() {\n this.isRunning = false;\n }\n\n renderInNode(node) {\n this.canvas = document.createElement('canvas');\n this.canvas.dataset.test = 'ring-loader';\n this.canvas.classList.add(styles.canvas);\n\n this.textNode = document.createElement('div');\n this.textNode.dataset.test = 'ring-loader-text';\n this.textNode.classList.add(styles.text);\n\n this.textNode.textContent = this.props.message ? this.props.message : '';\n\n node.appendChild(this.canvas);\n node.appendChild(this.textNode);\n\n return node;\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\n\nimport dataTests from '../global/data-tests';\n\nimport LoaderCore from './loader__core';\n\n/**\n * @name Loader\n */\n\nexport default class Loader extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n size: PropTypes.number,\n colors: PropTypes.array,\n message: PropTypes.string,\n 'data-test': PropTypes.string,\n stop: PropTypes.bool\n };\n\n componentDidUpdate(prevProps) {\n if (this.loader) {\n if (!prevProps.stop && this.props.stop) {\n this.loader.stopAnimation();\n } else if (prevProps.stop && !this.props.stop) {\n this.loader.startAnimation();\n }\n }\n }\n\n componentWillUnmount() {\n this.loader.destroy();\n }\n\n initLoader = el => {\n if (el) {\n this.loader = new LoaderCore(el, this.props);\n }\n };\n\n render() {\n const {message, size, colors, 'data-test': dataTest, stop, ...restProps} = this.props;\n return (\n <div\n data-test={dataTests('ring-loader', dataTest)}\n {...restProps}\n ref={this.initLoader}\n />\n );\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport deprecate from 'util-deprecate';\n\nimport styles from './text.css';\n\n/**\n * @name Text\n */\n\nconst deprecateComment = deprecate(\n () => {},\n '<Text comment> is deprecated, use <Text info> instead'\n);\n\n\nexport default class Text extends Component {\n static propTypes = {\n children: PropTypes.node,\n comment: PropTypes.bool,\n info: PropTypes.bool,\n className: PropTypes.string\n };\n\n render() {\n const {children, className, comment, info, ...restProps} = this.props;\n if (comment) {\n deprecateComment();\n }\n const classes = classNames(styles.text, className, {\n [styles.info]: info || comment\n });\n\n return (\n <span className={classes} {...restProps}>{children}</span>\n );\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport focusSensorHOC from '../global/focus-sensor-hoc';\nimport Checkbox from '../checkbox/checkbox';\n\nimport getUID from '../global/get-uid';\n\nimport styles from './data-list.css';\n\n\nclass Title extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n title: PropTypes.node,\n offset: PropTypes.number,\n selectable: PropTypes.bool,\n selected: PropTypes.bool,\n onSelect: PropTypes.func,\n showFocus: PropTypes.bool,\n collapserExpander: PropTypes.node,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func]),\n\n // focusSensorHOC\n onFocusRestore: PropTypes.func\n };\n\n static defaultProps = {\n selectable: false,\n selected: false,\n showFocus: false\n };\n\n id = getUID('data-list-title');\n\n onCheckboxFocus = () => {\n this.props.onFocusRestore();\n };\n\n onCheckboxChange = () => {\n this.toggleSelection();\n };\n\n toggleSelection() {\n const {selectable, selected, onSelect} = this.props;\n if (selectable) {\n onSelect(!selected);\n }\n }\n\n render() {\n const {\n className, title, offset, showFocus, innerRef,\n selectable, selected, collapserExpander\n } = this.props;\n\n const classes = classNames(className, {\n [styles.title]: true,\n [styles.titleFocused]: showFocus,\n [styles.titleSelected]: selected\n });\n\n return (\n <div\n id={this.id}\n className={classes}\n style={{paddingLeft: offset}}\n ref={innerRef}\n >\n <div className={styles.boxes}>\n {selectable &&\n (\n <div className={styles.checkboxBox}>\n <Checkbox\n aria-labelledby={this.id}\n className={showFocus ? 'ring-checkbox_focus' : ''}\n checked={selected}\n onFocus={this.onCheckboxFocus}\n onChange={this.onCheckboxChange}\n tabIndex=\"-1\"\n />\n </div>\n )\n }\n\n {collapserExpander}\n </div>\n\n {title}\n </div>\n );\n }\n}\n\nexport default focusSensorHOC(Title);\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport chevronRightIcon from '@jetbrains/icons/chevron-right.svg';\nimport chevronDownIcon from '@jetbrains/icons/chevron-down.svg';\n\nimport Link from '../link/link';\nimport Text from '../text/text';\nimport LoaderInline from '../loader-inline/loader-inline';\n\nimport Button from '../button/button';\n\nimport Title from './title';\n\nimport styles from './data-list.css';\n\nexport const moreLessButtonStates = {\n UNUSED: 0,\n MORE: 1,\n MORE_LOADING: 2,\n LESS: 3\n};\n\nconst ITEM_LEFT_OFFSET = 32;\nconst LIST_LEFT_OFFSET = 24;\n\n\nexport default class Item extends PureComponent {\n static propTypes = {\n item: PropTypes.object,\n title: PropTypes.node,\n items: PropTypes.array,\n className: PropTypes.string,\n level: PropTypes.number,\n parentShift: PropTypes.number,\n\n itemFormatter: PropTypes.func,\n\n collapsible: PropTypes.bool,\n collapsed: PropTypes.bool,\n onCollapse: PropTypes.func,\n onExpand: PropTypes.func,\n\n showFocus: PropTypes.bool,\n onFocus: PropTypes.func,\n\n selection: PropTypes.object,\n selectable: PropTypes.bool,\n selected: PropTypes.bool,\n onSelect: PropTypes.func,\n\n showMoreLessButton: PropTypes.number,\n onItemMoreLess: PropTypes.func\n };\n\n static defaultProps = {\n items: [],\n level: 0,\n parentShift: 0,\n showMoreLessButton: moreLessButtonStates.UNUSED,\n onItemMoreLess: () => {}\n };\n\n\n onShowMore = () => {\n const {onItemMoreLess, item} = this.props;\n onItemMoreLess(item, true);\n };\n\n onShowLess = () => {\n const {onItemMoreLess, item} = this.props;\n onItemMoreLess(item, false);\n };\n\n onFocus = () => {\n const {onFocus, item} = this.props;\n onFocus(item);\n };\n\n onSelect = selected => {\n const {onSelect, item} = this.props;\n onSelect(item, selected);\n };\n\n renderItem = (model, parentShift) => {\n const {\n onFocus, onSelect, selection, level,\n itemFormatter\n } = this.props;\n\n const item = itemFormatter(model);\n\n return (\n <Item\n key={item.key || item.id}\n item={model}\n title={item.title}\n items={item.items}\n level={level + 1}\n parentShift={parentShift}\n\n itemFormatter={itemFormatter}\n\n collapsible={item.collapsible}\n collapsed={item.collapsed}\n onCollapse={item.onCollapse}\n onExpand={item.onExpand}\n\n focused={selection.isFocused(model)}\n showFocus={selection.isFocused(model)}\n onFocus={onFocus}\n\n selection={selection}\n selectable={item.selectable}\n selected={selection.isSelected(model)}\n onSelect={onSelect}\n />\n );\n };\n\n render() {\n const {\n title, items, showMoreLessButton,\n level, parentShift, showFocus,\n selectable, selected,\n collapsible, collapsed, onCollapse, onExpand\n } = this.props;\n\n let moreLessButton;\n if (showMoreLessButton === moreLessButtonStates.MORE ||\n showMoreLessButton === moreLessButtonStates.MORE_LOADING) {\n moreLessButton = (\n <Text comment>\n <Link\n inherit\n pseudo\n onClick={this.onShowMore}\n >{'Show more'}</Link>\n {showMoreLessButton === moreLessButtonStates.MORE_LOADING &&\n <LoaderInline className={styles.showMoreLoader}/>\n }\n </Text>\n );\n } else if (showMoreLessButton === moreLessButtonStates.LESS) {\n moreLessButton = (\n <Text comment>\n <Link\n inherit\n pseudo\n onClick={this.onShowLess}\n >{'Show less'}</Link>\n </Text>\n );\n }\n\n let collapserExpander = null;\n if (collapsible) {\n if (collapsed) {\n collapserExpander = (\n <Button\n title=\"Expand\"\n onClick={onExpand}\n icon={chevronRightIcon}\n className={styles.collapseButton}\n iconClassName={styles.collapseIcon}\n data-test=\"ring-data-list-expand\"\n />\n );\n } else {\n collapserExpander = (\n <Button\n title=\"Collapse\"\n onClick={onCollapse}\n icon={chevronDownIcon}\n className={styles.collapseButton}\n iconClassName={styles.collapseIcon}\n data-test=\"ring-data-list-collapse\"\n />\n );\n }\n }\n\n const itemIsEmpty = !items.length || (collapsible && collapsed);\n const offset = level * LIST_LEFT_OFFSET + ITEM_LEFT_OFFSET + parentShift;\n\n return (\n <li>\n <Title\n title={title}\n focused={showFocus}\n showFocus={showFocus}\n selectable={selectable}\n selected={selected}\n collapserExpander={collapserExpander}\n onFocus={this.onFocus}\n onSelect={this.onSelect}\n offset={offset}\n />\n\n {!itemIsEmpty ? (\n <ul className={styles.itemContent}>\n {items.map(model => this.renderItem(model, parentShift))}\n\n {showMoreLessButton !== moreLessButtonStates.UNUSED\n ? <li className={styles.showMore}>{moreLessButton}</li>\n : null\n }\n </ul>\n ) : null}\n </li>\n );\n }\n}\n","/**\n * @name Data List\n */\n\nimport React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport focusSensorHOC from '../global/focus-sensor-hoc';\nimport selectionShortcutsHOC from '../table/selection-shortcuts-hoc';\nimport disableHoverHOC from '../table/disable-hover-hoc';\nimport getUID from '../global/get-uid';\nimport Shortcuts from '../shortcuts/shortcuts';\nimport Loader from '../loader/loader';\n\nimport Item, {moreLessButtonStates} from './item';\n\nimport styles from './data-list.css';\n\n\nclass DataList extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n data: PropTypes.array.isRequired,\n loading: PropTypes.bool,\n focused: PropTypes.bool,\n disabledHover: PropTypes.bool,\n selection: PropTypes.object,\n selectable: PropTypes.bool,\n shortcutsMap: PropTypes.object,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func]),\n\n itemFormatter: PropTypes.func.isRequired,\n\n onItemMoreLess: PropTypes.func,\n itemMoreLessState: PropTypes.func,\n onSelect: PropTypes.func,\n\n remoteSelection: PropTypes.bool\n };\n\n static defaultProps = {\n loading: false,\n\n onItemMoreLess: () => {},\n itemMoreLessState: () => moreLessButtonStates.UNUSED,\n\n remoteSelection: false\n };\n\n componentDidUpdate(prevProps) {\n const {data, selection, onSelect, selectable} = this.props;\n\n if (data !== prevProps.data && !prevProps.remoteSelection) {\n onSelect(selection.cloneWith({data}));\n }\n\n if (!selectable && prevProps.selectable) {\n onSelect(selection.resetSelection());\n }\n }\n\n shortcutsScope = getUID('ring-data-list-');\n\n onItemFocus = item => {\n const {selection, onSelect} = this.props;\n onSelect(selection.focus(item));\n };\n\n onItemSelect = (item, selected) => {\n const {selection, onSelect} = this.props;\n if (selected) {\n onSelect(selection.select(item));\n } else {\n onSelect(selection.deselect(item));\n }\n };\n\n onEqualPress = () => {\n const {\n selection, itemFormatter\n } = this.props;\n\n const item = itemFormatter(selection.getFocused());\n\n if (item.collapsed) {\n item.onExpand();\n } else {\n item.onCollapse();\n }\n };\n\n shortcutsMap = {\n '=': this.onEqualPress\n };\n\n render() {\n const {\n data, className, loading,\n selection, disabledHover,\n itemFormatter, focused, innerRef\n } = this.props;\n\n const shortcutsMap = {...this.shortcutsMap, ...this.props.shortcutsMap};\n\n const classes = classNames(className, {\n [styles.dataList]: true,\n [styles.disabledHover]: disabledHover,\n [styles.multiSelection]: selection.getSelected().size > 0\n });\n\n return (\n <div className={styles.dataListWrapper} data-test=\"ring-data-list\" ref={innerRef}>\n {focused &&\n (\n <Shortcuts\n map={shortcutsMap}\n scope={this.shortcutsScope}\n />\n )\n }\n\n <ul className={classes}>\n {data.map(model => {\n const item = itemFormatter(model);\n const {id, key, title, items} = item;\n\n const showMoreLessButton = this.props.itemMoreLessState(item);\n\n return (\n <Item\n key={key || id}\n item={model}\n title={title}\n items={items}\n\n itemFormatter={itemFormatter}\n\n collapsible={item.collapsible}\n collapsed={item.collapsed}\n onCollapse={item.onCollapse}\n onExpand={item.onExpand}\n\n focused={selection.isFocused(model)}\n showFocus={selection.isFocused(model)}\n onFocus={this.onItemFocus}\n\n selection={selection}\n selectable={item.selectable}\n selected={selection.isSelected(model)}\n onSelect={this.onItemSelect}\n\n showMoreLessButton={showMoreLessButton}\n onItemMoreLess={this.props.onItemMoreLess}\n />\n );\n })}\n </ul>\n\n {loading && (\n <div className={data.length > 0 ? styles.loadingOverlay : null}>\n <Loader/>\n </div>\n )}\n </div>\n );\n }\n}\n\nexport default disableHoverHOC(selectionShortcutsHOC(focusSensorHOC(DataList)));\n","/**\n * @name DataList Ng\n */\nimport angularComponentFactory from '../global/angular-component-factory';\nimport DataList from '../data-list/data-list';\n\nexport default angularComponentFactory(DataList, 'DataList').name;\n","import React, {createElement} from 'react';\nimport {findDOMNode, render} from 'react-dom';\n\n/**\n * Wraps a component to add a \"rerender\" method\n * @param ComposedComponent\n * @param captureNode, whether the wrapper should capture this.node itself. Set to false if the component already has \"node\" property captured\n * @returns {Rerenderer}\n */\nexport default function rerenderHOC(ComposedComponent, {captureNode} = {captureNode: true}) {\n return class Rerenderer extends ComposedComponent {\n _propsCache = {};\n\n onRefUpdate = component => {\n // eslint-disable-next-line react/no-find-dom-node\n this.node = findDOMNode(component);\n };\n\n rerender(props = {}, callback) {\n let container;\n\n try {\n container = this.node.parentNode;\n } finally {\n if (!container) {\n throw new Error(`${this.constructor.name} component isn't mounted`);\n }\n }\n\n this._propsCache = Object.assign({}, this.props, this._propsCache, props);\n\n return render(createElement(this.constructor, this._propsCache), container, callback);\n }\n\n render() {\n if (!captureNode) {\n return super.render();\n }\n\n return (\n <ComposedComponent\n ref={this.onRefUpdate}\n {...this.props}\n />\n );\n }\n };\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport chevronDown from '@jetbrains/icons/chevron-10px.svg';\nimport classNames from 'classnames';\n\nimport Icon from '../icon';\n\nimport Button from '../button/button';\n\nimport styles from './dropdown.css';\n\nexport default function Anchor({children, className, ...restProps}) {\n return (\n <Button\n text\n className={classNames(styles.anchor, className)}\n {...restProps}\n >\n {children}\n <Icon\n glyph={chevronDown}\n className={styles.chevron}\n />\n </Button>\n );\n}\n\nAnchor.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string\n};\n","import React, {cloneElement, Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport dataTests from '../global/data-tests';\n\nimport Anchor from './anchor';\nimport styles from './dropdown.css';\n\n/**\n * @name Dropdown\n */\n\nexport default class Dropdown extends Component {\n static propTypes = {\n /**\n * Can be string, React element, or a function accepting an object with {active, pinned} properties and returning a React element\n * React element should render some interactive HTML element like `button` or `a`\n */\n anchor: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n children: PropTypes.element.isRequired,\n initShown: PropTypes.bool,\n className: PropTypes.string,\n activeClassName: PropTypes.string,\n clickMode: PropTypes.bool,\n hoverMode: PropTypes.bool,\n hoverShowTimeOut: PropTypes.number,\n hoverHideTimeOut: PropTypes.number,\n onShow: PropTypes.func,\n onHide: PropTypes.func,\n onMouseEnter: PropTypes.func,\n onMouseLeave: PropTypes.func,\n 'data-test': PropTypes.string\n };\n\n static defaultProps = {\n initShown: false,\n clickMode: true,\n hoverMode: false,\n hoverShowTimeOut: 300,\n hoverHideTimeOut: 600,\n onShow: () => {},\n onHide: () => {},\n onMouseEnter: () => {},\n onMouseLeave: () => {}\n };\n\n state = {\n show: this.props.initShown,\n pinned: false\n };\n\n onClick = () => {\n const {show, pinned} = this.state;\n let nextPinned = pinned;\n\n if (this.props.hoverMode) {\n if (!pinned) {\n nextPinned = true;\n\n if (show) {\n this.setState({pinned: true});\n return;\n }\n } else {\n nextPinned = false;\n }\n }\n\n this._toggle(!show, nextPinned);\n };\n\n onChildCloseAttempt = () => {\n let nextPinned = this.state.pinned;\n if (this.props.hoverMode) {\n nextPinned = false;\n }\n\n this._toggle(false, nextPinned);\n };\n\n onMouseEnter = event => {\n this._clearTimer();\n this.props.onMouseEnter(event);\n\n this.hoverTimer = setTimeout(() => {\n if (!this.state.show) {\n this._toggle(true);\n }\n }, this.props.hoverShowTimeOut);\n };\n\n onMouseLeave = event => {\n this.props.onMouseLeave(event);\n if (this.state.pinned) {\n return;\n }\n\n this._clearTimer();\n\n this.hoverTimer = setTimeout(() => {\n if (this.state.show) {\n this._toggle(false);\n }\n }, this.props.hoverHideTimeOut);\n };\n\n handlePopupInteraction = () => {\n this.setState(({pinned}) => (pinned ? null : {pinned: true}));\n };\n\n toggle(show = !this.state.show) {\n this._toggle(show);\n }\n\n _toggle(show, pinned = this.state.pinned) {\n this.setState({show, pinned}, () => (show ? this.props.onShow() : this.props.onHide()));\n }\n\n _clearTimer() {\n if (this.hoverTimer) {\n clearTimeout(this.hoverTimer);\n this.hoverTimer = null;\n }\n }\n\n render() {\n const {show, pinned} = this.state;\n const {\n initShown, onShow, onHide, hoverShowTimeOut, hoverHideTimeOut,\n children, anchor, className, activeClassName, hoverMode, clickMode, 'data-test': dataTest,\n ...restProps\n } = this.props;\n\n const classes = classNames(styles.dropdown, className, {\n [activeClassName]: activeClassName != null && show\n });\n\n let anchorElement;\n\n switch (typeof anchor) {\n case 'string':\n anchorElement = (<Anchor>{anchor}</Anchor>);\n break;\n case 'function':\n anchorElement = anchor({active: show, pinned});\n break;\n\n default:\n anchorElement = anchor;\n }\n\n return (\n <div\n data-test={dataTests('ring-dropdown', dataTest)}\n {...restProps}\n onClick={clickMode ? this.onClick : undefined}\n // anchorElement should be a `button` or an `a`\n role=\"presentation\"\n onMouseEnter={hoverMode ? this.onMouseEnter : undefined}\n onMouseLeave={hoverMode ? this.onMouseLeave : undefined}\n className={classes}\n >\n {anchorElement}\n {cloneElement(children, {\n hidden: !show,\n onCloseAttempt: this.onChildCloseAttempt,\n onMouseDown: hoverMode ? this.handlePopupInteraction : undefined,\n onContextMenu: hoverMode ? this.handlePopupInteraction : undefined,\n dontCloseOnAnchorClick: true\n })}\n </div>\n );\n }\n}\n\nexport {Anchor};\n","import React, {PureComponent} from 'react';\n\nimport sniffr from '../global/sniffer';\n\nfunction noop() {}\n\n/**\n * Workaround: IE11 loses symbols in onChange event\n * See RG-1361 and https://github.com/facebook/react/issues/7027\n */\nconst isIE11 = sniffr.browser.name === 'ie' && sniffr.browser.versionString === '11.0';\n\nexport default function ieCompatibleInputHOC(ComposedComponent) {\n return class IeCompatibleInput extends PureComponent {\n static propTypes = ComposedComponent.propTypes;\n\n render() {\n const {onChange, multiple, ...restProps} = this.props;\n\n const changeListenProps = (isIE11 && !multiple)\n ? {\n onInput: onChange,\n onChange: noop\n }\n : {onChange};\n\n return (\n <ComposedComponent\n multiple={multiple}\n {...changeListenProps}\n {...restProps}\n />\n );\n }\n };\n}\n","import React, {PureComponent} from 'react';\nimport {compose} from 'recompose';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport closeIcon from '@jetbrains/icons/close.svg';\n\nimport Theme, {withTheme} from '../global/theme';\nimport Button from '../button/button';\n\nimport getUID from '../global/get-uid';\n\nimport Icon from '../icon/icon';\n\nimport ieCompatibleInputHOC from './ie-compatible-hoc';\nimport styles from './input.css';\n\nfunction noop() {}\n\n/**\n * @name Input\n */\n\nconst Size = {\n AUTO: 'Auto',\n S: 'S',\n M: 'M',\n L: 'L',\n FULL: 'FULL'\n};\n\nexport class Input extends PureComponent {\n static propTypes = {\n value: PropTypes.string,\n theme: PropTypes.string,\n className: PropTypes.string,\n inputClassName: PropTypes.string,\n size: PropTypes.string,\n label: PropTypes.string,\n active: PropTypes.bool,\n error: PropTypes.string,\n multiline: PropTypes.bool,\n borderless: PropTypes.bool,\n compact: PropTypes.bool,\n onChange: PropTypes.func,\n onClear: PropTypes.func,\n inputRef: PropTypes.oneOfType([\n PropTypes.func,\n PropTypes.shape({current: PropTypes.instanceOf(HTMLInputElement)})\n ]),\n children: PropTypes.string,\n enableShortcuts: PropTypes.bool,\n disabled: PropTypes.bool,\n id: PropTypes.string,\n placeholder: PropTypes.string,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType])\n };\n\n static defaultProps = {\n size: Size.M,\n onChange: noop,\n inputRef: noop,\n enableShortcuts: false\n };\n\n state = {\n empty: true\n };\n\n componentDidMount() {\n this.adapt();\n }\n\n componentDidUpdate() {\n this.adapt();\n }\n\n id = getUID('ring-input-');\n getId() {\n return this.props.id || this.id;\n }\n\n checkValue() {\n this.setState({\n empty: !this.input.value\n });\n\n if (this.props.multiline && this.input.scrollHeight > this.input.clientHeight) {\n this.stretch(this.input);\n }\n }\n\n stretch(el) {\n if (!el) {\n return;\n }\n el.style.height = `${el.scrollHeight}px`;\n }\n\n adapt() {\n this.checkValue();\n this.stretch(this.error);\n }\n\n errorRef = el => {\n this.error = el;\n };\n\n inputRef = el => {\n const {inputRef} = this.props;\n\n this.input = el;\n if (typeof inputRef === 'function') {\n inputRef(el);\n } else {\n inputRef.current = el;\n }\n };\n\n clear = e => {\n this.props.onClear && this.props.onClear(e);\n };\n\n handleChange = e => {\n this.props.onChange(e);\n this.checkValue(e.target);\n };\n\n render() {\n const {\n // Modifiers\n theme,\n size,\n active,\n multiline,\n borderless,\n compact,\n\n // Props\n label,\n error,\n className,\n inputClassName,\n children,\n value,\n onClear,\n disabled,\n inputRef, onChange,\n enableShortcuts,\n id,\n placeholder,\n icon,\n ...restProps\n } = this.props;\n const minimizeMargins = compact || borderless;\n const {empty} = this.state;\n const clearable = !!onClear;\n const classes = classNames(\n styles.container,\n className,\n styles[theme],\n [styles[`size${size}`]],\n {\n 'ring-js-shortcuts': enableShortcuts,\n [styles.active]: active,\n [styles.error]: error != null,\n [styles.empty]: empty,\n [styles.noLabel]: !this.props.label,\n [styles.withIcon]: icon != null,\n [styles.clearable]: clearable,\n [styles.compact]: minimizeMargins\n }\n );\n\n const inputClasses = classNames(styles.input, inputClassName);\n\n const TagName = multiline ? 'textarea' : 'input';\n\n const text = value != null ? value : children;\n\n return (\n <div\n className={classes}\n data-test=\"ring-input\"\n >\n {icon && <Icon glyph={icon} className={styles.icon}/>}\n <TagName\n ref={this.inputRef}\n onChange={this.handleChange}\n className={inputClasses}\n value={text}\n rows={multiline ? 1 : null}\n disabled={disabled}\n id={this.getId()}\n placeholder={placeholder}\n aria-label={label || placeholder}\n {...restProps}\n />\n {clearable && !disabled && (\n <Button\n title=\"Clear input\"\n data-test=\"ring-input-clear\"\n className={styles.clear}\n icon={closeIcon}\n onClick={this.clear}\n />\n )}\n\n {!minimizeMargins && <label htmlFor={this.getId()} className={styles.label}>{label}</label>}\n {!borderless && <div className={styles.underline}/>}\n {!borderless && <div className={styles.focusUnderline}/>}\n {!minimizeMargins && <div className={styles.errorUnderline}/>}\n {!minimizeMargins && (\n <div\n className={styles.errorText}\n ref={this.errorRef}\n >{error}</div>\n )}\n </div>\n );\n }\n}\n\nexport default compose(\n ieCompatibleInputHOC,\n withTheme(),\n)(Input);\n\nexport {Size, Theme};\n","export default ['D M', 'DD M', 'DD MM', 'D-M', 'DD-M', 'DD-MM', 'D.M', 'DD.M', 'DD.MM', 'D\\\\M', 'DD\\\\M', 'DD\\\\MM', 'D/M', 'DD/M', 'DD/MM', 'D M YY', 'DD M YY', 'DD MM YY', 'D M YYYY', 'DD M YYYY', 'DD MM YYYY', 'D-M-YY', 'DD-M-YY', 'DD-MM-YY', 'D-M-YYYY', 'DD-M-YYYY', 'DD-MM-YYYY', 'D.M.YY', 'DD.M.YY', 'DD.MM.YY', 'D.M.YYYY', 'DD.M.YYYY', 'DD.MM.YYYY', 'D\\\\M\\\\YY', 'DD\\\\M\\\\YY', 'DD\\\\MM\\\\YY', 'D\\\\M\\\\YYYY', 'DD\\\\M\\\\YYYY', 'DD\\\\MM\\\\YYYY', 'D/M/YY', 'DD/M/YY', 'DD/MM/YY', 'D/M/YYYY', 'DD/M/YYYY', 'DD/MM/YYYY', 'D M YY', 'DD M YY', 'DD MM YY', 'D M YYYY', 'DD M YYYY', 'DD MM YYYY', 'D-M-YY', 'DD-M-YY', 'DD-MM-YY', 'D-M-YYYY', 'DD-M-YYYY', 'DD-MM-YYYY', 'D.M.YY', 'DD.M.YY', 'DD.MM.YY', 'D.M.YYYY', 'DD.M.YYYY', 'DD.MM.YYYY', 'D\\\\M\\\\YY', 'DD\\\\M\\\\YY', 'DD\\\\MM\\\\YY', 'D\\\\M\\\\YYYY', 'DD\\\\M\\\\YYYY', 'DD\\\\MM\\\\YYYY', 'D/M/YY', 'DD/M/YY', 'DD/MM/YY', 'D/M/YYYY', 'DD/M/YYYY', 'DD/MM/YYYY', 'YY M D', 'YY M DD', 'YY MM DD', 'YYYY M D', 'YYYY M DD', 'YYYY MM DD', 'YY-M-D', 'YY-M-DD', 'YY-MM-DD', 'YYYY-M-D', 'YYYY-M-DD', 'YYYY-MM-DD', 'YY.M.D', 'YY.M.DD', 'YY.MM.DD', 'YYYY.M.D', 'YYYY.M.DD', 'YYYY.MM.DD', 'YY\\\\M\\\\D', 'YY\\\\M\\\\DD', 'YY\\\\MM\\\\DD', 'YYYY\\\\M\\\\D', 'YYYY\\\\M\\\\DD', 'YYYY\\\\MM\\\\DD', 'YY/M/D', 'YY/M/DD', 'YY/MM/DD', 'YYYY/M/D', 'YYYY/M/DD', 'YYYY/MM/DD', 'YY D M', 'YY DD M', 'YY DD MM', 'YYYY D M', 'YYYY DD MM', 'YYYY DD MM', 'YY-D-M', 'YY-DD-M', 'YY-DD-MM', 'YYYY-D-M', 'YYYY-DD-MM', 'YYYY-DD-MM', 'YY.D.M', 'YY.DD.M', 'YY.DD.MM', 'YYYY.D.M', 'YYYY.DD.MM', 'YYYY.DD.MM', 'YY\\\\D\\\\M', 'YY\\\\DD\\\\M', 'YY\\\\DD\\\\MM', 'YYYY\\\\D\\\\M', 'YYYY\\\\DD\\\\MM', 'YYYY\\\\DD\\\\MM', 'YY/D/M', 'YY/DD/M', 'YY/DD/MM', 'YYYY/D/M', 'YYYY/DD/MM', 'YYYY/DD/MM', 'D MMM', 'DD MMM', 'D M HH:mm', 'DD M HH:mm', 'DD MM HH:mm', 'D-M HH:mm', 'DD-M HH:mm', 'DD-MM HH:mm', 'D.M HH:mm', 'DD.M HH:mm', 'DD.MM HH:mm', 'D\\\\M HH:mm', 'DD\\\\M HH:mm', 'DD\\\\MM HH:mm', 'D/M HH:mm', 'DD/M HH:mm', 'DD/MM HH:mm', 'D M YY HH:mm', 'DD M YY HH:mm', 'DD MM YY HH:mm', 'D M YYYY HH:mm', 'DD M YYYY HH:mm', 'DD MM YYYY HH:mm', 'D-M-YY HH:mm', 'DD-M-YY HH:mm', 'DD-MM-YY HH:mm', 'D-M-YYYY HH:mm', 'DD-M-YYYY HH:mm', 'DD-MM-YYYY HH:mm', 'D.M.YY HH:mm', 'DD.M.YY HH:mm', 'DD.MM.YY HH:mm', 'D.M.YYYY HH:mm', 'DD.M.YYYY HH:mm', 'DD.MM.YYYY HH:mm', 'D\\\\M\\\\YY HH:mm', 'DD\\\\M\\\\YY HH:mm', 'DD\\\\MM\\\\YY HH:mm', 'D\\\\M\\\\YYYY HH:mm', 'DD\\\\M\\\\YYYY HH:mm', 'DD\\\\MM\\\\YYYY HH:mm', 'D/M/YY HH:mm', 'DD/M/YY HH:mm', 'DD/MM/YY HH:mm', 'D/M/YYYY HH:mm', 'DD/M/YYYY HH:mm', 'DD/MM/YYYY HH:mm', 'D M YY HH:mm', 'DD M YY HH:mm', 'DD MM YY HH:mm', 'D M YYYY HH:mm', 'DD M YYYY HH:mm', 'DD MM YYYY HH:mm', 'D-M-YY HH:mm', 'DD-M-YY HH:mm', 'DD-MM-YY HH:mm', 'D-M-YYYY HH:mm', 'DD-M-YYYY HH:mm', 'DD-MM-YYYY HH:mm', 'D.M.YY HH:mm', 'DD.M.YY HH:mm', 'DD.MM.YY HH:mm', 'D.M.YYYY HH:mm', 'DD.M.YYYY HH:mm', 'DD.MM.YYYY HH:mm', 'D\\\\M\\\\YY HH:mm', 'DD\\\\M\\\\YY HH:mm', 'DD\\\\MM\\\\YY HH:mm', 'D\\\\M\\\\YYYY HH:mm', 'DD\\\\M\\\\YYYY HH:mm', 'DD\\\\MM\\\\YYYY HH:mm', 'D/M/YY HH:mm', 'DD/M/YY HH:mm', 'DD/MM/YY HH:mm', 'D/M/YYYY HH:mm', 'DD/M/YYYY HH:mm', 'DD/MM/YYYY HH:mm', 'YY M D HH:mm', 'YY M DD HH:mm', 'YY MM DD HH:mm', 'YYYY M D HH:mm', 'YYYY M DD HH:mm', 'YYYY MM DD HH:mm', 'YY-M-D HH:mm', 'YY-M-DD HH:mm', 'YY-MM-DD HH:mm', 'YYYY-M-D HH:mm', 'YYYY-M-DD HH:mm', 'YYYY-MM-DD HH:mm', 'YY.M.D HH:mm', 'YY.M.DD HH:mm', 'YY.MM.DD HH:mm', 'YYYY.M.D HH:mm', 'YYYY.M.DD HH:mm', 'YYYY.MM.DD HH:mm', 'YY\\\\M\\\\D HH:mm', 'YY\\\\M\\\\DD HH:mm', 'YY\\\\MM\\\\DD HH:mm', 'YYYY\\\\M\\\\D HH:mm', 'YYYY\\\\M\\\\DD HH:mm', 'YYYY\\\\MM\\\\DD HH:mm', 'YY/M/D HH:mm', 'YY/M/DD HH:mm', 'YY/MM/DD HH:mm', 'YYYY/M/D HH:mm', 'YYYY/M/DD HH:mm', 'YYYY/MM/DD HH:mm', 'YY D M HH:mm', 'YY DD M HH:mm', 'YY DD MM HH:mm', 'YYYY D M HH:mm', 'YYYY DD MM HH:mm', 'YYYY DD MM HH:mm', 'YY-D-M HH:mm', 'YY-DD-M HH:mm', 'YY-DD-MM HH:mm', 'YYYY-D-M HH:mm', 'YYYY-DD-MM HH:mm', 'YYYY-DD-MM HH:mm', 'YY.D.M HH:mm', 'YY.DD.M HH:mm', 'YY.DD.MM HH:mm', 'YYYY.D.M HH:mm', 'YYYY.DD.MM HH:mm', 'YYYY.DD.MM HH:mm', 'YY\\\\D\\\\M HH:mm', 'YY\\\\DD\\\\M HH:mm', 'YY\\\\DD\\\\MM HH:mm', 'YYYY\\\\D\\\\M HH:mm', 'YYYY\\\\DD\\\\MM HH:mm', 'YYYY\\\\DD\\\\MM HH:mm', 'YY/D/M HH:mm', 'YY/DD/M HH:mm', 'YY/DD/MM HH:mm', 'YYYY/D/M HH:mm', 'YYYY/DD/MM HH:mm', 'YYYY/DD/MM HH:mm', 'D MMM HH:mm', 'DD MMM HH:mm', 'YYYY MMM D', 'YYYY MMM DD', 'YYYY D MMM', 'YYYY DD MMM', 'D MMM YY', 'DD MMM YY', 'D MMM YYYY', 'DD MMM YYYY', 'D MMM YY', 'DD MMM YY', 'D MMM YYYY', 'DD MMM YYYY', 'MMM D YYYY', 'MMM DD YYYY', 'YY MMM D', 'YY MMM DD', 'YY D MMM', 'YY DD MMM', 'D MMM', 'DD MMM', 'YYYY MMM D HH:mm', 'YYYY MMM DD HH:mm', 'YYYY D MMM HH:mm', 'YYYY DD MMM HH:mm', 'D MMM YY HH:mm', 'DD MMM YY HH:mm', 'D MMM YYYY HH:mm', 'DD MMM YYYY HH:mm', 'D MMM YY HH:mm', 'DD MMM YY HH:mm', 'D MMM YYYY HH:mm', 'DD MMM YYYY HH:mm', 'MMM D YYYY HH:mm', 'MMM DD YYYY HH:mm', 'YY MMM D HH:mm', 'YY MMM DD HH:mm', 'YY D MMM HH:mm', 'YY DD MMM HH:mm', 'D MMM HH:mm', 'DD MMM HH:mm', 'YYYY MMM D', 'YYYY MMM DD', 'YYYY D MMM', 'YYYY DD MMM', 'D MMM YY', 'DD MMM YY', 'D MMM YYYY', 'DD MMM YYYY', 'D MMM YY', 'DD MMM YY', 'D MMM YYYY', 'DD MMM YYYY', 'MMM D YYYY', 'MMM DD YYYY', 'YY MMM D', 'YY MMM DD', 'YY D MMM', 'YY DD MMM', 'YYYY MMM D HH:mm', 'YYYY MMM DD HH:mm', 'YYYY D MMM HH:mm', 'YYYY DD MMM HH:mm', 'D MMM YY HH:mm', 'DD MMM YY HH:mm', 'D MMM YYYY HH:mm', 'DD MMM YYYY HH:mm', 'D MMM YY HH:mm', 'DD MMM YY HH:mm', 'D MMM YYYY HH:mm', 'DD MMM YYYY HH:mm', 'MMM D YYYY HH:mm', 'MMM DD YYYY HH:mm', 'YY MMM D HH:mm', 'YY MMM DD HH:mm', 'YY D MMM HH:mm', 'YY DD MMM HH:mm'];\n","import PropTypes from 'prop-types';\nimport moment from 'moment';\n\nimport formats from './formats';\n\nconst unit = 8; // px;\nconst units = {\n unit,\n /* eslint-disable no-magic-numbers */\n cellSize: unit * 3,\n calHeight: unit * 36,\n yearHeight: unit * 4\n /* eslint-enable */\n};\n\nexport default units;\n\nexport const YEAR = 12;\nexport const WEEK = 7;\nexport const weekdays = {\n MO: 1,\n TU: 2,\n WE: 3,\n TH: 4,\n FR: 5,\n SA: 6,\n SU: 0\n};\nexport const MIDDLE_DAY = 15;\n\nexport const yearDuration = +moment.duration(1, 'year');\nexport const yearScrollSpeed = yearDuration / (YEAR * units.cellSize);\n\nexport const DOUBLE = 2;\nexport const HALF = 0.5;\n\nexport function linear(x0, y0, a) {\n return {\n y(x) {\n return +y0 + (x - x0) * a;\n },\n\n x(y) {\n return +x0 + (y - y0) / a;\n }\n };\n}\n\nexport const dateType = PropTypes.oneOfType([\n (props, propName) => {\n if (!moment.isMoment(props[propName])) {\n return new Error(\n `${propName} should be a string, number, Date object or Moment object`\n );\n }\n return undefined;\n },\n PropTypes.instanceOf(Date),\n PropTypes.string,\n PropTypes.number\n]);\n\nconst parsed = Object.create(null);\nexport function parseDate(text, ...addFormats) {\n let date;\n if (typeof text !== 'string') {\n date = moment(text);\n } else {\n\n const key = `${text}__${addFormats.join('__')}`;\n if (!(key in parsed)) {\n const extendedFormats = [\n ...addFormats,\n ...formats\n ];\n parsed[key] = moment(text, extendedFormats);\n }\n\n date = parsed[key];\n }\n return date.isValid() ? date : null;\n}\n\nexport function parseTime(time) {\n let result = null;\n if (/^([01][0-9]|2[0-3]):[0-5][0-9]$/.test(time)) {\n result = time;\n } else if (/^([0-9]|2[0-3]):[0-5][0-9]$/.test(time)) {\n result = `0${time}`;\n }\n\n return result;\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport moment from 'moment';\n\nimport {dateType, weekdays} from './consts';\nimport styles from './date-picker.css';\n\nlet hoverTO;\nexport default class Day extends Component {\n handleClick = () => this.props.onSelect(this.props.day);\n\n handleMouseOver = () => {\n if (hoverTO) {\n window.clearTimeout(hoverTO);\n hoverTO = null;\n }\n\n this.props.onHover(this.props.day);\n };\n\n handleMouseOut = () => {\n hoverTO = window.setTimeout(this.props.onHover, 0);\n };\n\n isDay = date => this.props.day.isSame(date, 'day');\n\n is = name => this.props[name] && this.isDay(this.props[name]);\n\n inRange = range => range && this.props.day.isBetween(...range, 'days');\n\n isDisabled = date => (this.props.minDate && date.isBefore(this.props.minDate, 'day')) ||\n (this.props.maxDate && date.isAfter(this.props.maxDate, 'day'));\n\n render() {\n const {\n day,\n from,\n currentRange,\n activeRange,\n empty\n } = this.props;\n\n const reverse = activeRange && activeRange[1] === from;\n\n function makeSpreadRange(range) {\n return range && [range[0], range[1].clone().add(1, 'days')];\n }\n\n const spreadRange = makeSpreadRange(currentRange);\n const disabled = this.isDisabled(day);\n const activeSpreadRange = makeSpreadRange(activeRange); return (\n // TODO make keyboard navigation actually work\n <button\n type=\"button\"\n className={classNames(\n styles.day,\n styles[day.format('dddd')],\n {\n [styles.current]: ['date', 'from', 'to'].some(this.is),\n [styles.active]: !disabled && this.is('activeDate'),\n [styles.weekend]: [weekdays.SA, weekdays.SU].includes(day.day()),\n [styles.empty]: empty,\n [styles.from]: (currentRange && this.isDay(currentRange[0]) && !reverse ||\n activeRange && this.isDay(activeRange[0])),\n [styles.to]: (currentRange && this.isDay(currentRange[1])) ||\n activeRange && this.isDay(activeRange[1]),\n [styles.between]: this.inRange(currentRange),\n [styles.activeBetween]: !disabled && this.inRange(activeRange),\n [styles.first]: day.date() === 1,\n [styles.spread]: this.inRange(spreadRange),\n [styles.activeSpread]: !disabled && this.inRange(activeSpreadRange),\n [styles.disabled]: disabled\n },\n )}\n onClick={this.handleClick}\n onMouseOver={this.handleMouseOver}\n onFocus={this.handleMouseOver}\n onMouseOut={this.handleMouseOut}\n onBlur={this.handleMouseOut}\n disabled={disabled}\n >\n {empty || (\n <span className={classNames({[styles.today]: day.isSame(moment(), 'day')})}>\n {day.format('D')}</span>\n )}\n </button>\n );\n }\n}\n\nDay.propTypes = {\n day: dateType,\n from: dateType,\n currentRange: PropTypes.arrayOf(dateType),\n activeRange: PropTypes.arrayOf(dateType),\n empty: PropTypes.bool,\n onSelect: PropTypes.func,\n onHover: PropTypes.func,\n minDate: dateType,\n maxDate: dateType\n};\n","import React from 'react';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\n\nimport Input from '../input/input';\n\nimport {dateType} from './consts';\nimport styles from './date-picker.css';\n\nexport default class DateInput extends React.PureComponent {\n static propTypes = {\n active: PropTypes.bool,\n divider: PropTypes.bool,\n name: PropTypes.string,\n text: PropTypes.string,\n hoverDate: dateType,\n date: dateType,\n time: PropTypes.string,\n inputFormat: PropTypes.string,\n hidden: PropTypes.bool,\n onInput: PropTypes.func,\n onActivate: PropTypes.func,\n onConfirm: PropTypes.func,\n onClear: PropTypes.func\n };\n\n componentDidUpdate(prevProps) {\n const {hidden, text, active} = this.props;\n if (!hidden && prevProps.hidden || text !== prevProps.text || active !== prevProps.active) {\n this.updateInput({text, active});\n }\n }\n\n inputRef = el => {\n this.input = el;\n this.updateInput(this.props);\n };\n\n updateInput({text, active}) {\n const el = this.input;\n if (!el) {\n return;\n }\n\n if (active) {\n el.focus();\n if (!text) {\n el.select();\n }\n } else {\n el.blur();\n }\n }\n\n handleChange = e => this.props.onInput(e.target.value, e.target.dataset.name);\n\n handleKeyDown = e => e.key === 'Enter' && this.props.onConfirm();\n\n render() {\n const {\n active,\n divider,\n text,\n time,\n name,\n hoverDate,\n date,\n inputFormat,\n onActivate,\n onClear\n } = this.props;\n\n let displayText = '';\n if (active && hoverDate) {\n displayText = hoverDate.format(inputFormat);\n } else if (active && text != null) {\n displayText = text;\n } else if (date) {\n displayText = date.format(inputFormat);\n } else if (name === 'time') {\n displayText = time || '';\n }\n\n const placeholder = (() => {\n switch (name) {\n case 'from':\n return 'Add first date';\n case 'to':\n return 'Add second date';\n case 'time':\n return 'Add time';\n default:\n return `Select ${name}`;\n }\n })();\n\n const classes = classNames(\n styles.filter,\n styles[`${name}Input`],\n divider && styles[`${name}InputWithDivider`],\n 'ring-js-shortcuts'\n );\n\n return (\n <Input\n borderless\n data-name={name}\n inputRef={this.inputRef}\n className={classes}\n value={displayText}\n onChange={this.handleChange}\n onFocus={onActivate}\n onKeyDown={this.handleKeyDown}\n onClear={onClear}\n placeholder={placeholder}\n />\n );\n }\n}\n","import React from 'react';\n\nimport Day from './day';\nimport {dateType, WEEK, weekdays} from './consts';\nimport styles from './date-picker.css';\n\nexport default function Month(props) {\n const start = props.month;\n const end = start.\n clone().\n endOf('month');\n\n // pad with empty cells starting from last friday\n const weekday = start.day();\n let day = start.\n clone().\n weekday(weekday >= weekdays.FR ? weekdays.FR : weekdays.FR - WEEK);\n const days = [];\n while (day < end) {\n days.push(day);\n day = day.\n clone().\n add(1, 'day');\n }\n\n return (\n <div className={styles.month}>\n <span className={styles.monthTitle}>\n {props.month.format('MMMM')}\n </span>\n {days.map(date => (\n <Day\n {...props}\n day={date}\n empty={date < start}\n key={+date}\n />\n ))}\n </div>\n );\n}\n\nMonth.propTypes = {\n month: dateType\n};\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport moment from 'moment';\n\nimport linearFunction from '../global/linear-function';\n\n\nimport units, {dateType, yearScrollSpeed} from './consts';\nimport styles from './date-picker.css';\n\nconst COVERYEARS = 3;\n\nexport default class MonthSlider extends PureComponent {\n static propTypes = {\n scrollDate: dateType,\n onScroll: PropTypes.func,\n pxToDate: PropTypes.shape({\n x: PropTypes.func,\n y: PropTypes.func\n })\n };\n\n state = {\n dragging: false\n };\n\n componentDidUpdate(prevProps, prevState) {\n if (this.state.dragging && !prevState.dragging) {\n window.addEventListener('mousemove', this.onMouseMove);\n window.addEventListener('mouseup', this.onMouseUp);\n } else if (!this.state.dragging && prevState.dragging) {\n window.removeEventListener('mousemove', this.onMouseMove);\n window.removeEventListener('mouseup', this.onMouseUp);\n }\n }\n\n onMouseDown = () => {\n this.setState({dragging: true});\n };\n\n onMouseUp = () => {\n this.setState({dragging: false});\n };\n\n onMouseMove = e => {\n this.props.onScroll(\n linearFunction(0, this.props.scrollDate, yearScrollSpeed).y(e.movementY)\n );\n };\n\n render() {\n let year = moment(this.props.scrollDate).\n startOf('day').\n subtract(1, 'year');\n const years = [year];\n for (let i = 0; i <= COVERYEARS; i++) {\n year = year.\n clone().\n add(1, 'year');\n years.push(year);\n }\n\n const classes = classNames(\n styles.monthSlider,\n {[styles.dragging]: this.state.dragging}\n );\n\n return (\n <div>\n {years.map(date => (\n <button\n type=\"button\"\n key={+date}\n className={classes}\n style={{\n top: Math.floor(this.props.pxToDate.x(date) - units.cellSize)\n }}\n onMouseDown={this.onMouseDown}\n />\n ))}\n </div>\n );\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport moment from 'moment';\n\nimport linearFunction from '../global/linear-function';\n\nimport MonthSlider from './month-slider';\nimport {dateType, HALF, YEAR, MIDDLE_DAY, yearScrollSpeed} from './consts';\nimport styles from './date-picker.css';\n\nclass MonthName extends PureComponent {\n handleClick = () => {\n const end = this.props.month.\n clone().\n endOf('month');\n this.props.onScrollChange((this.props.month + end) * HALF);\n };\n\n render() {\n const {month} = this.props;\n\n return (\n <button\n type=\"button\"\n className={classNames(\n styles.monthName,\n {\n [styles.today]: month.isSame(moment(), 'month')\n }\n )}\n onClick={this.handleClick}\n >\n {month.format('MMM')}\n </button>\n );\n }\n}\n\nMonthName.propTypes = {\n month: dateType,\n onScrollChange: PropTypes.func\n};\n\nexport default function MonthNames(props) {\n const scrollDate = moment(props.scrollDate);\n const months = [];\n for (let i = 0; i < YEAR; i++) {\n months.push(\n scrollDate.\n clone().\n month(i).\n date(MIDDLE_DAY).\n startOf('day')\n );\n }\n\n const pxToDate = linearFunction(\n 0,\n moment(props.scrollDate).startOf('year'),\n yearScrollSpeed\n );\n\n let top = 0;\n let bottom = 0;\n if (props.currentRange) {\n [top, bottom] = props.currentRange.\n map(date => Math.floor(pxToDate.x(date)));\n }\n\n return (\n <div className={styles.monthNames}>\n {months.map(month => (\n <MonthName\n key={+month}\n month={month}\n onScrollChange={props.onScrollChange}\n />\n ))}\n {props.currentRange &&\n (\n <div\n className={styles.range}\n style={{\n top: top - 1,\n height: (bottom + 1) - (top - 1)\n }}\n />\n )\n }\n <MonthSlider\n {...props}\n pxToDate={pxToDate}\n />\n </div>\n );\n}\n\nMonthNames.propTypes = {\n scrollDate: dateType,\n onScrollChange: PropTypes.func,\n currentRange: PropTypes.arrayOf(dateType)\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport moment from 'moment';\n\nimport scheduleRAF from '../global/schedule-raf';\nimport linearFunction from '../global/linear-function';\n\nimport Month from './month';\nimport MonthNames from './month-names';\nimport styles from './date-picker.css';\nimport units, {dateType, DOUBLE, HALF, WEEK, weekdays} from './consts';\n\nconst {unit, cellSize, calHeight} = units;\n\nconst FridayToSunday = WEEK + weekdays.SU - weekdays.FR;\nconst FIVELINES = 31;\nconst TALLMONTH = 6;\nconst SHORTMONTH = 5;\nconst PADDING = 2;\n\nconst MONTHSBACK = 2;\n\nfunction monthHeight(date) {\n const monthStart = moment(date).startOf('month');\n const daysSinceLastFriday = (monthStart.day() + FridayToSunday) % WEEK;\n const monthLines =\n daysSinceLastFriday + monthStart.daysInMonth() > FIVELINES ? TALLMONTH : SHORTMONTH;\n return monthLines * cellSize + unit * PADDING;\n}\n\n// in milliseconds per pixel\nfunction scrollSpeed(date) {\n const monthStart = moment(date).startOf('month');\n const monthEnd = moment(date).endOf('month');\n return (monthEnd - monthStart) / monthHeight(monthStart);\n}\n\nconst scrollSchedule = scheduleRAF();\nlet dy = 0;\nexport default function Months(props) {\n const scrollDate = moment(props.scrollDate);\n const monthStart = scrollDate.\n clone().\n date(1).\n // prevent switching from april to march because of daylight saving time\n hours(1).\n startOf('hour');\n\n let month = monthStart.\n clone().\n subtract(MONTHSBACK, 'months');\n const months = [month];\n for (let i = 0; i < MONTHSBACK * DOUBLE; i++) {\n month = month.\n clone().\n add(1, 'month');\n months.push(month);\n }\n\n const currentSpeed = scrollSpeed(scrollDate);\n const pxToDate = linearFunction(0, scrollDate, currentSpeed);\n const offset = pxToDate.x(monthStart); // is a negative number\n const bottomOffset = monthHeight(scrollDate) + offset;\n\n return (\n <div\n className={styles.months}\n onWheel={function handleWheel(e) {\n e.preventDefault();\n dy += e.deltaY;\n scrollSchedule(() => {\n let date;\n\n // adjust scroll speed to prevent glitches\n if (dy < offset) {\n date = pxToDate.y(offset) + (dy - offset) * scrollSpeed(months[1]);\n } else if (dy > bottomOffset) {\n date =\n pxToDate.y(bottomOffset) +\n (dy - bottomOffset) *\n scrollSpeed(months[MONTHSBACK + 1]);\n } else {\n date = pxToDate.y(dy);\n }\n\n props.onScroll(date);\n dy = 0;\n });\n }}\n >\n <div\n style={{\n top: Math.\n floor(calHeight * HALF - monthHeight(months[0]) - monthHeight(months[1]) + offset)\n }}\n className={styles.days}\n >\n {months.map(date => (\n <Month\n {...props}\n month={date}\n key={+date}\n />\n ))}\n </div>\n <MonthNames {...props}/>\n </div>\n );\n}\n\nMonths.propTypes = {\n onScroll: PropTypes.func,\n scrollDate: dateType\n};\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport moment from 'moment';\n\nimport linearFunction from '../global/linear-function';\n\n\nimport styles from './date-picker.css';\nimport units, {dateType, DOUBLE, HALF, yearDuration} from './consts';\n\nconst {yearHeight, calHeight} = units;\n\nlet scrollTO;\n\nconst YEARSBACK = 5;\nconst scrollDelay = 100;\n\nexport default class Years extends PureComponent {\n static propTypes = {\n scrollDate: dateType,\n onScroll: PropTypes.func,\n onScrollChange: PropTypes.func\n };\n\n state = {scrollDate: null};\n\n componentDidUpdate(prevProps, prevState) {\n this.stoppedScrolling = prevState.scrollDate && !this.state.scrollDate;\n }\n\n setYear(date) {\n if (scrollTO) {\n window.clearTimeout(scrollTO);\n scrollTO = null;\n }\n\n this.setState({scrollDate: null});\n\n this.props.onScroll(\n moment(this.props.scrollDate).\n year(moment(date).year())\n );\n }\n\n render() {\n const {onScrollChange, scrollDate} = this.props;\n const date = moment(this.state.scrollDate || scrollDate);\n const yearStart = date.clone().startOf('year');\n let year = yearStart.\n clone().\n subtract(YEARSBACK, 'years');\n const years = [year];\n for (let i = 0; i < YEARSBACK * DOUBLE; i++) {\n year = year.\n clone().\n add(1, 'year');\n years.push(year);\n }\n\n const pxToDate = linearFunction(0, years[0], yearDuration / yearHeight);\n\n const handleWheel = e => {\n e.preventDefault();\n const newScrollDate = linearFunction(0, date, yearDuration / yearHeight).\n y(e.deltaY);\n this.setState({\n scrollDate: newScrollDate\n });\n if (scrollTO) {\n window.clearTimeout(scrollTO);\n }\n scrollTO = window.setTimeout(() => this.setYear(newScrollDate), scrollDelay);\n };\n\n return (\n <div\n className={styles.years}\n onWheel={handleWheel}\n\n style={{\n transition: this.stoppedScrolling ? 'top .2s ease-out 0s' : 'none',\n top: Math.floor(calHeight * HALF - pxToDate.x(date))\n }}\n >\n {years.map(item => (\n <button\n type=\"button\"\n key={+item}\n className={classNames(\n styles.year,\n {\n [styles.currentYear]: item.isSame(date, 'year'),\n [styles.today]: item.isSame(moment(), 'year')\n }\n )}\n onClick={function handleClick() {\n onScrollChange(\n moment(scrollDate).\n year(moment(item).year())\n );\n }}\n >\n {item.format('YYYY')}\n </button>\n ))}\n </div>\n );\n }\n}\n","import React from 'react';\nimport classNames from 'classnames';\nimport moment from 'moment';\n\nimport {weekdays} from './consts';\nimport styles from './date-picker.css';\n\nexport default function Weekdays() {\n const days = Object.keys(weekdays).\n map(key => moment().day(weekdays[key]).startOf('day'));\n\n return (\n <div className={styles.weekdays}>\n {days.map(day => (\n <span\n className={classNames(\n styles.weekday,\n {\n [styles.weekend]: [weekdays.SA, weekdays.SU].includes(day.day())\n }\n )}\n key={+day}\n >\n {day.format('dd')}\n </span>\n ))}\n </div>\n );\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport moment from 'moment';\nimport calendarIcon from '@jetbrains/icons/calendar.svg';\n\nimport Icon from '../icon';\nimport memoize from '../global/memoize';\n\nimport DateInput from './date-input';\nimport Months from './months';\nimport Years from './years';\nimport Weekdays from './weekdays';\nimport {dateType, parseDate, parseTime} from './consts';\nimport styles from './date-picker.css';\n\nconst scrollExpDelay = 10;\n\nexport default class DatePopup extends Component {\n\n static sameDay(next, prev, inputFormat, displayFormat) {\n const nextMoment = parseDate(next, inputFormat, displayFormat);\n const prevMoment = parseDate(prev, inputFormat, displayFormat);\n if (nextMoment && prevMoment) {\n return nextMoment.isSame(prevMoment, 'day');\n }\n\n return next === prev;\n }\n\n static propTypes = {\n className: PropTypes.string,\n date: dateType,\n range: PropTypes.bool,\n withTime: PropTypes.bool,\n time: PropTypes.string,\n from: dateType,\n to: dateType,\n displayFormat: PropTypes.string,\n inputFormat: PropTypes.string,\n onChange: PropTypes.func,\n onComplete: PropTypes.func,\n onClear: PropTypes.func,\n minDate: dateType,\n maxDate: dateType,\n hidden: PropTypes.bool\n };\n\n static defaultProps = {\n onChange() {}\n };\n\n constructor(props) {\n super(props);\n const defaultState = {\n text: null,\n hoverDate: null,\n scrollDate: null\n };\n const {range, from, to, date, time, withTime} = props;\n\n if (!range) {\n const parsedTime = this.parse(time, 'time');\n const parsedDate = this.parse(date, 'date');\n const active = withTime && parsedDate && !parsedTime ? 'time' : 'date';\n\n this.state = {...defaultState, active};\n } else if (from && !to) {\n this.state = {...defaultState, active: 'to'};\n } else {\n this.state = {...defaultState, active: 'from'};\n }\n }\n\n componentDidMount() {\n if (this.componentRef.current) {\n this.componentRef.current.addEventListener('wheel', this.handleWheel);\n }\n }\n\n componentDidUpdate(prevProps, prevState) {\n if (this.state.active !== prevState.active) {\n if (this.state.text && prevState.active) {\n this.confirm(prevState.active);\n }\n // eslint-disable-next-line react/no-did-update-set-state\n this.setState({text: null});\n }\n }\n\n componentWillUnmount() {\n if (this.componentRef.current) {\n this.componentRef.current.removeEventListener('wheel', this.handleWheel);\n }\n }\n\n isInTimeMode = () => !this.props.range && this.props.withTime || false;\n\n componentRef = React.createRef();\n\n handleWheel = e => {\n e.preventDefault();\n };\n\n parse(text, type) {\n return (type === 'time')\n ? parseTime(text)\n : parseDate(text, this.props.inputFormat, this.props.displayFormat);\n }\n\n select(changes) {\n const {range, withTime} = this.props;\n const prevActive = this.state.active;\n const date = this.parse(this.props.date, 'date');\n const time = this.parse(this.props.time, 'time');\n\n if (!range && !withTime) {\n this.setState({\n text: null,\n scrollDate: null\n });\n this.props.onChange(changes.date);\n this.props.onComplete();\n } else if (!range && withTime) {\n const changeToSubmit = {\n date: changes.date || date,\n time: changes.time || time\n };\n\n this.setState({\n active: changes.date ? 'time' : 'date',\n text: null,\n scrollDate: null\n });\n\n this.props.onChange(changeToSubmit);\n if (\n !changes.date && prevActive === 'time' &&\n changeToSubmit.date && changeToSubmit.time\n ) {\n this.props.onComplete();\n }\n } else {\n let {from, to} = {\n ...this.props,\n ...changes\n };\n from = this.parse(from, 'from');\n to = this.parse(to, 'to');\n\n // proceed to setting the end by default\n let active = 'to';\n let complete = false;\n\n // end is before beginning\n if (from && to && from.isAfter(to, 'days')) {\n // ignore the old end when beginning is changed\n if (changes.from) {\n to = null;\n\n // treat range as reverse when end is changed\n } else if (changes.to) {\n to = from;\n from = changes.to;\n }\n } else if (changes.to) {\n active = 'from';\n complete = !!from;\n }\n\n this.setState({\n active,\n hoverDate: null,\n text: null\n });\n this.props.onChange({from, to});\n if (complete) {\n this.props.onComplete();\n }\n }\n }\n\n confirm(name) {\n const text = this.state.text;\n\n let result = this.parse(text, name);\n if (name === 'time') {\n const time = this.parse(this.props.time, 'time');\n\n const emptyCase = this.state.active === 'time' ? '00:00' : null;\n result = result || time || emptyCase;\n } else if (!this.isValidDate(result)) {\n result = this.parse(this.props[name], name);\n }\n\n this.select({\n [name]: result\n });\n }\n\n isValidDate = parsedText => {\n const minDate = this.parse(this.props.minDate, 'date');\n const maxDate = this.parse(this.props.maxDate, 'date');\n\n if (parsedText) {\n return (!(\n minDate && parsedText.isBefore(minDate) ||\n maxDate && parsedText.isAfter(maxDate)\n ));\n }\n return false;\n };\n\n scheduleScroll = () => {\n const current =\n this.state.scrollDate ||\n this.parse(this.props[this.state.active], 'date') ||\n moment();\n const goal = this._scrollDate;\n if (!current ||\n !goal ||\n DatePopup.sameDay(goal, current, this.props.inputFormat, this.props.displayFormat)\n ) {\n this._scrollDate = null;\n this._scrollTS = null;\n return;\n }\n\n if (this._scrollTS) {\n const diff = goal - current;\n const dt = moment() - this._scrollTS;\n const next = goal - diff * (Math.E ** (-dt / scrollExpDelay));\n this.setState({scrollDate: next});\n }\n\n this._scrollTS = moment();\n window.requestAnimationFrame(this.scheduleScroll);\n };\n\n scrollTo = scrollDate => {\n this._scrollDate = scrollDate;\n if (!this._scrollTS) {\n this.scheduleScroll();\n }\n };\n\n hoverHandler = hoverDate => this.setState({hoverDate});\n\n handleActivate = memoize(name => () => this.setState({active: name}));\n\n handleInput = (text, name) => {\n const parsed = this.parse(text, name);\n if (name !== 'time' && this.isValidDate(parsed)) {\n this.scrollTo(parsed);\n }\n this.setState({\n text,\n hoverDate: null\n });\n };\n\n handleConfirm = memoize(name => () => this.confirm(name));\n\n selectHandler = date => {\n if (this.isInTimeMode()) {\n this.setState({\n active: 'time'\n }, () => this.select({date}));\n } else {\n this.select({[this.state.active]: date});\n }\n };\n\n handleScroll = scrollDate => this.setState({scrollDate});\n\n render() {\n const {range, hidden, withTime} = this.props;\n const parsedTime = this.parse(this.props.time, 'time');\n const parsedDate = this.parse(this.props.date, 'date');\n const parsedTo = this.parse(this.props.to, 'to');\n\n const names = range ? ['from', 'to'] : ['date'];\n const dates = names.reduce((obj, key) => {\n const date = this.props[key];\n return {\n ...obj,\n [key]: this.parse(date, key)\n };\n }, {});\n\n const activeDate = this.state.active !== 'time'\n ? this.state.hoverDate || this.state.text && this.parse(this.state.text, 'date')\n : this.state.hoverDate || null;\n\n const currentRange = range && dates.from && dates.to && [dates.from, dates.to] || null;\n let activeRange = null;\n if (range && activeDate) {\n switch (this.state.active) {\n case 'from':\n if (dates.to && !activeDate.isAfter(dates.to, 'days')) {\n activeRange = [activeDate, dates.to];\n }\n\n break;\n case 'to':\n if (!dates.from) {\n break;\n }\n if (activeDate.isBefore(dates.from, 'days')) {\n activeRange = [activeDate, dates.from];\n } else {\n activeRange = [dates.from, activeDate];\n }\n\n break;\n default:\n break;\n }\n }\n\n const scrollDate = withTime && !range\n ? this.state.scrollDate || dates.date || moment()\n : this.state.scrollDate || dates[this.state.active] || moment();\n\n const calendarProps = {\n ...this.props,\n ...this.state,\n ...dates,\n scrollDate,\n activeDate,\n currentRange,\n activeRange,\n onScroll: this.handleScroll,\n onScrollChange: this.scrollTo\n };\n\n return (\n <div\n className={styles.datePopup}\n data-test=\"ring-date-popup\"\n ref={this.componentRef}\n >\n <div className={styles.filterWrapper}>\n <Icon\n glyph={calendarIcon}\n className={styles.filterIcon}\n />\n {names.map(name => (\n <DateInput\n {...this.props}\n {...this.state}\n divider={name === 'from' && (dates[name] || parsedTo)}\n name={name}\n key={name}\n date={dates[name]}\n active={this.state.active === name}\n hidden={hidden}\n onActivate={this.handleActivate(name)}\n onInput={this.handleInput}\n onConfirm={this.handleConfirm(name)}\n onClear={name === 'from' || this.isInTimeMode() ? null : this.props.onClear}\n />\n ))}\n {\n this.isInTimeMode() ? (\n <DateInput\n {...this.props}\n {...this.state}\n divider={!!parsedDate}\n hoverDate={null}\n name={'time'}\n key={'time'}\n date={null}\n time={parsedTime}\n active={this.state.active === 'time'}\n hidden={hidden}\n onActivate={this.handleActivate('time')}\n onInput={this.handleInput}\n onConfirm={this.handleConfirm('time')}\n onClear={this.props.onClear}\n />\n ) : (\n ''\n )\n }\n </div>\n <Weekdays/>\n <div\n className={styles.calendar}\n >\n <Months\n {...calendarProps}\n onHover={this.hoverHandler}\n onSelect={this.selectHandler}\n />\n <Years {...calendarProps}/>\n </div>\n </div>\n );\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport rerenderHOC from '../global/rerender-hoc';\n\nimport Popup from '../popup/popup';\nimport Dropdown, {Anchor} from '../dropdown/dropdown';\n\nimport DatePopup from './date-popup';\nimport {dateType, parseDate, parseTime} from './consts';\nimport styles from './date-picker.css';\n\nconst PopupComponent = ({\n hidden,\n className,\n popupRef,\n onClear,\n datePopupProps,\n onComplete,\n ...restProps\n}) => (\n <Popup\n hidden={hidden}\n keepMounted\n className={className}\n ref={popupRef}\n directions={[\n Popup.PopupProps.Directions.BOTTOM_RIGHT,\n Popup.PopupProps.Directions.BOTTOM_LEFT,\n Popup.PopupProps.Directions.TOP_LEFT,\n Popup.PopupProps.Directions.TOP_RIGHT\n ]}\n {...restProps}\n >\n <DatePopup\n onClear={onClear}\n {...datePopupProps}\n onComplete={onComplete}\n hidden={hidden}\n />\n </Popup>\n);\n\nPopupComponent.propTypes = {\n hidden: PropTypes.bool,\n className: PropTypes.string,\n popupRef: PropTypes.func,\n onClear: PropTypes.func,\n datePopupProps: PropTypes.shape(DatePopup.propTypes),\n onComplete: PropTypes.func\n};\n\n/**\n * @name Date Picker\n */\n\nexport default class DatePicker extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n popupClassName: PropTypes.string,\n date: dateType,\n time: PropTypes.string,\n withTime: PropTypes.bool,\n range: PropTypes.bool,\n from: dateType,\n to: dateType,\n clear: PropTypes.bool,\n displayFormat: PropTypes.string,\n displayMonthFormat: PropTypes.string,\n displayDayFormat: PropTypes.string,\n inputFormat: PropTypes.string,\n datePlaceholder: PropTypes.string,\n dateTimePlaceholder: PropTypes.string,\n rangePlaceholder: PropTypes.string,\n onChange: PropTypes.func,\n dropdownProps: PropTypes.object,\n disabled: PropTypes.bool,\n minDate: dateType,\n maxDate: dateType\n };\n\n static defaultProps = {\n className: '',\n date: null,\n time: null,\n withTime: false,\n range: false,\n from: null,\n to: null,\n clear: false,\n displayFormat: 'D MMM YYYY',\n displayMonthFormat: 'D MMM',\n displayDayFormat: 'D',\n inputFormat: 'D MMM YYYY',\n datePlaceholder: 'Set a date',\n dateTimePlaceholder: 'Set date and time',\n rangePlaceholder: 'Set a period',\n minDate: null,\n maxDate: null,\n onChange() {}\n };\n\n clear = () => {\n let change = null;\n if (this.props.range) {\n change = {from: null, to: null};\n } else if (this.props.withTime) {\n change = {date: null, time: null};\n }\n\n this.props.onChange(change);\n };\n\n popupRef = el => {\n this.popup = el;\n };\n\n closePopup = () => {\n this.popup._onCloseAttempt();\n };\n\n getAnchorText = () => {\n const {\n range,\n displayFormat,\n inputFormat,\n displayMonthFormat,\n displayDayFormat,\n datePlaceholder,\n dateTimePlaceholder,\n rangePlaceholder,\n withTime\n } = this.props;\n\n const parse = text => parseDate(\n text,\n inputFormat,\n displayFormat\n );\n\n const date = parse(this.props.date);\n const from = parse(this.props.from);\n const to = parse(this.props.to);\n const time = withTime ? parseTime(this.props.time) : null;\n\n let text;\n if (!range && !withTime) {\n text = date ? date.format(displayFormat) : datePlaceholder;\n } else if (!range && withTime) {\n if (!date && !time) {\n text = dateTimePlaceholder;\n } else {\n text = `${date && date.format(displayFormat) || '—'}, ${time || '—'}`;\n }\n } else if (!from && !to) {\n text = rangePlaceholder;\n } else if (!to) {\n text = `${from.format(displayFormat)} —`;\n } else if (!from) {\n text = `— ${to.format(displayFormat)}`;\n } else if (!from.isSame(to, 'year')) {\n text = `${from.format(displayFormat)} — ${to.format(displayFormat)}`;\n } else if (!from.isSame(to, 'month')) {\n text = `${from.format(displayMonthFormat)} — ${to.format(displayFormat)}`;\n } else if (!from.isSame(to, 'day')) {\n text = `${from.format(displayDayFormat)} — ${to.format(displayFormat)}`;\n } else {\n text = `${to.format(displayFormat)}`;\n }\n\n return text;\n };\n\n render() {\n const text = this.getAnchorText();\n\n if (this.props.disabled) {\n return <Anchor disabled>{text}</Anchor>;\n }\n\n const {\n className,\n popupClassName,\n clear,\n dropdownProps,\n ...datePopupProps\n } = this.props;\n\n const classes = classNames(\n styles.datePicker,\n className\n );\n\n return (\n <Dropdown\n className={classes}\n anchor={text}\n {...dropdownProps}\n >\n <PopupComponent\n className={popupClassName}\n popupRef={this.popupRef}\n onClear={clear ? this.clear : null}\n datePopupProps={datePopupProps}\n onComplete={this.closePopup}\n />\n </Dropdown>\n );\n }\n}\n\nexport const RerenderableDatePicker = rerenderHOC(DatePicker);\n\n","import angular from 'angular';\nimport 'dom4';\n\nimport buttonStyles from '../button/button.css';\nimport {applyMethodToClasses} from '../global/dom';\n\nimport RingAngularComponent from '../global/ring-angular-component';\nimport {LOADER_BACKGROUND_SELECTOR} from '../button-ng/button-ng';\n/**\n * @name Promised Click Ng\n*/\n\n\nconst angularModule = angular.module('Ring.promised-click', []);\n\nconst DEFAULT_MODE = 'active';\n\nclass PromisedClickController extends RingAngularComponent {\n static $inject = ['$scope', '$element', '$attrs', '$parse'];\n constructor(...args) {\n super(...args);\n\n const {$scope, $element, $attrs, $parse} = this.$inject;\n this.element = $element[0];\n this.active = false;\n\n if ($attrs.rgPromisedClick) {\n this.onClick(e => $parse($attrs.rgPromisedClick)($scope, {event: e}));\n }\n\n let currentMode = null;\n\n this.toggleActive = enable => {\n if (currentMode === 'loader') {\n applyMethodToClasses(enable ? 'add' : 'remove')(\n this.element.classList,\n buttonStyles.loader\n );\n\n const loaderNode = this.element.querySelector(LOADER_BACKGROUND_SELECTOR);\n if (loaderNode) {\n applyMethodToClasses(enable ? 'add' : 'remove')(\n this.element.querySelector(LOADER_BACKGROUND_SELECTOR).classList,\n buttonStyles.loaderBackground\n );\n }\n } else if (currentMode === 'active') {\n applyMethodToClasses(enable ? 'add' : 'remove')(\n this.element.classList,\n buttonStyles.active\n );\n }\n };\n\n const setModeParams = mode => {\n currentMode = mode;\n };\n\n setModeParams($attrs.promisedMode || DEFAULT_MODE);\n\n if ($attrs.promisedMode && $attrs.promisedMode.indexOf('{{') !== -1) {\n $attrs.$observe('promisedMode', newMode => {\n if (newMode !== currentMode) {\n this.toggleActive(false);\n setModeParams(newMode);\n }\n });\n }\n }\n\n onClick(callback) {\n this.element.addEventListener('click', e => {\n if (this.active) {\n e.preventDefault();\n } else {\n this.process(callback, e);\n }\n });\n }\n\n process(callback, e) {\n const {$scope} = this.$inject;\n\n this.promise = callback(e);\n\n if (this.promise) {\n this.activate();\n }\n\n // Do not use $evalAsync here. This code should be invoked in the same animation frame\n // otherwise a button may be \"pressed\" twice – by click and with class change.\n if (!$scope.$root.$$phase) { // eslint-disable-line angular/no-private-call\n $scope.$apply();\n }\n }\n\n activate() {\n this.active = true;\n\n this.toggleActive(true);\n\n const done = () => {\n this.active = false;\n this.toggleActive(false);\n };\n\n this.promise.then(done, done);\n }\n}\n\nfunction rgPromisedClickDirective() {\n return {\n controller: PromisedClickController\n };\n}\n\nangularModule.directive('rgPromisedClick', rgPromisedClickDirective);\n\nexport default angularModule.name;\n","import angular from 'angular';\n\nimport angularSanitize from 'angular-sanitize';\n\nimport 'dom4';\nimport createFocusTrap from 'focus-trap';\n\nimport {getRect, getStyles} from '../global/dom';\nimport RingAngularComponent from '../global/ring-angular-component';\nimport shortcuts from '../shortcuts/core';\nimport RingButton from '../button-ng/button-ng';\nimport PromisedClickNg from '../promised-click-ng/promised-click-ng';\nimport rgCompilerModuleName from '../compiler-ng/compiler-ng';\nimport ScrollPreventer from '../dialog/dialog__body-scroll-preventer';\nimport '../form/form.scss';\nimport dialogStyles from '../dialog/dialog.css';\nimport islandStyles from '../island/island.css';\n\nimport styles from './dialog-ng.css';\n\n/**\n * @name Dialog Ng\n */\n\nconst angularModule = angular.module(\n 'Ring.dialog',\n [angularSanitize, RingButton, PromisedClickNg, rgCompilerModuleName]\n);\n\nclass DialogController extends RingAngularComponent {\n static $inject = ['$scope', '$q', 'dialog', '$element', 'dialogInSidebar', '$compile',\n '$injector', '$controller', 'rgCompiler'];\n\n constructor(...args) {\n super(...args);\n\n this.styles = styles;\n this.dialogStyles = dialogStyles;\n this.islandStyles = islandStyles;\n\n this.$inject.$q((resolve, reject) => {\n this.resolve = resolve;\n this.reject = reject;\n });\n }\n\n $onInit() {\n const {dialog, dialogInSidebar, $scope} = this.$inject;\n const dialogService = this.inSidebar ? dialogInSidebar : dialog;\n this.focusTrap = createFocusTrap(this.$inject.$element[0], {\n fallbackFocus: '[data-anchor=\"focus-trap-fallback\"]',\n escapeDeactivates: false\n });\n\n this.dialogService = dialogService;\n this.previousBodyWidth = null;\n\n $scope.$on('$routeChangeSuccess', this.hide);\n $scope.$on('$routeUpdate', this.hide);\n $scope.$on('$destroy', dialogService.unregister);\n\n $scope.$watch(() => this.active, () => {\n if (this.active) {\n shortcuts.bindMap(this.getShortcuts(), {\n scope: this.DIALOG_NAMESPACE\n });\n } else {\n this.reset();\n }\n });\n\n dialogService.register(this);\n }\n\n getShortcuts() {\n const defaultEscHandler = function escHandler() {\n this.active = false;\n this.focusTrap.deactivate();\n this.$inject.$scope.$apply();\n }.bind(this);\n\n const dialogShortcuts = {\n esc: defaultEscHandler,\n enter: this.applyDefaultHandler(false),\n 'mod+enter': this.applyDefaultHandler(true)\n };\n\n angular.extend(dialogShortcuts, this.shortcuts);\n\n if (this.shortcuts && this.shortcuts.esc) {\n /**\n * Merge ESC handler\n * @type {Function} {dialogShortcuts.esc}\n */\n const customHandler = dialogShortcuts.esc;\n dialogShortcuts.esc = () => {\n const result = customHandler();\n defaultEscHandler();\n return result;\n };\n }\n\n return dialogShortcuts;\n }\n\n handleClick(event) {\n const isOverlayClicked = event.target === event.currentTarget;\n if (this.inSidebar || !this.closeOnClick || !isOverlayClicked) {\n return;\n }\n this.hide();\n }\n\n setTitle(title) {\n this.title = title;\n }\n\n compileTemplate() {\n if (this.config.data) {\n const element = angular.element(this.template);\n\n return {\n element,\n link: this.$inject.$compile(element)\n };\n }\n\n return this.$inject.rgCompiler(this.config).catch(error => {\n this.reject(error);\n return this.$inject.$q.reject(error);\n });\n }\n\n show(config) {\n const {$q, $scope} = this.$inject;\n\n if (!this.inSidebar) {\n ScrollPreventer.prevent();\n if (config && config.trapFocus === true) {\n this.focusTrap.activate();\n }\n }\n\n if (this.active) {\n this.reset();\n }\n\n // Clear dialog errors\n this.error = null;\n if (this.dialogForm) {\n this.dialogForm.$setPristine();\n }\n\n if (config) {\n this.title = config.title;\n this.buttons = config.buttons;\n this.data = config.data || {};\n this.wideDialog = config.wideDialog;\n this.autoWidth = config.autoWidth;\n this.scrollableWrapperClassName = config.scrollableWrapperClassName;\n this.cssClass = config.cssClass || '';\n\n this.shortcuts = config.shortcuts;\n\n this.content = config.content;\n this.template = config.template;\n\n this.config = config;\n\n this.description = config.description && config.description.split('\\n') || [];\n this.closeOnClick = config.closeOnClick;\n\n // Backward compatibility with existing templates which use data directly from scope\n $scope.data = this.data;\n }\n\n this.currentShortcutsScope = shortcuts.getScope();\n this.DIALOG_NAMESPACE = this.dialogService.DIALOG_NAMESPACE;\n shortcuts.setScope(this.dialogService.DIALOG_NAMESPACE);\n\n this.active = true;\n\n $scope.$broadcast('dialog.show');\n\n return $q((resolve, reject) => {\n this.resolve = resolve;\n this.reject = reject;\n });\n }\n\n update(config = {}) {\n Object.assign(this.data, config.data);\n Object.assign(this.buttons, config.buttons);\n\n }\n\n hide = () => {\n if (!this.inSidebar) {\n ScrollPreventer.reset();\n }\n\n this.active = false;\n this.content = '';\n this.focusTrap.deactivate();\n\n Reflect.deleteProperty(this, 'DIALOG_NAMESPACE');\n\n if (shortcuts.indexOfScope(this.dialogService.DIALOG_NAMESPACE) > -1) {\n shortcuts.setScope(this.currentShortcutsScope);\n }\n\n this._resetFormState();\n this.$inject.$scope.$broadcast('dialog.hide');\n };\n\n _resetFormState() {\n const dialogForm = this.dialogForm;\n if (!dialogForm) {\n return;\n }\n\n dialogForm.$setPristine();\n dialogForm.$setUntouched();\n dialogForm.$valid = true;\n dialogForm.$invalid = false;\n dialogForm.$error = {};\n }\n\n done(result) {\n this.resetPosition();\n this.resolve(result);\n this.hide();\n }\n\n reset(result) {\n this.done(result);\n }\n\n getErrorMessage(errorResponse) {\n // eslint-disable-next-line camelcase\n if (errorResponse?.data?.error_description) {\n return errorResponse.data.error_description;\n }\n\n if (errorResponse?.data?.error) {\n return errorResponse.data.error;\n }\n\n return errorResponse;\n }\n\n getFieldErrorMessage(errorResponse) {\n if (errorResponse && errorResponse.data && errorResponse.data.error) {\n return errorResponse.data.error;\n }\n\n return null;\n }\n\n serverErrorFields = [];\n\n action(button) {\n if (button.inProgress) {\n return undefined;\n }\n\n const errorReporter = errorResponse => {\n const errorField = errorResponse && errorResponse.data && errorResponse.data.error_field;\n\n if (errorField && this.dialogForm[errorField]) {\n this.dialogForm[errorField].$invalid = true;\n this.dialogForm[errorField].$error[errorField] = [{\n message: this.getFieldErrorMessage(errorResponse)\n }];\n this.serverErrorFields.push(errorField);\n } else {\n this.error = this.getErrorMessage(errorResponse);\n }\n };\n\n if (button.action) {\n if (!button.keepServerErrors) {\n this.serverErrorFields.forEach(errorField => {\n this.dialogForm[errorField].$invalid = false;\n this.dialogForm[errorField].$error = {};\n });\n this.serverErrorFields = [];\n }\n\n const actionResult =\n button.action(this.data, button, errorReporter, this.dialogForm, this.buttons);\n\n button.inProgress = true;\n\n return this.$inject.$q.resolve(actionResult).\n then(res => {\n const dontClose = res === false;\n\n if (!dontClose && (button.close !== false)) {\n this.done(res);\n }\n }).\n catch(errorReporter).\n finally(() => {\n button.inProgress = false;\n });\n } else if (button.close !== false) {\n this.reset(false);\n }\n\n return undefined;\n }\n\n applyDefaultHandler(isTextAreaShortcut) {\n return event => {\n if (\n event.target.matches('textarea') !== isTextAreaShortcut ||\n event.target.matches('button')\n ) {\n return;\n }\n\n event.stopPropagation();\n event.preventDefault();\n\n if (this.dialogForm.$valid && this.buttons) {\n for (const button of this.buttons) {\n if (button.default && !button.hidden && !button.disabled) {\n this.action(button);\n this.$inject.$scope.$apply();\n return;\n }\n }\n }\n };\n }\n}\n\nclass DialogService extends RingAngularComponent {\n static $inject = ['$log'];\n\n DIALOG_NAMESPACE = 'ring-dialog';\n fallbackDialog = null;\n\n constructor(...constrArgs) {\n super(...constrArgs);\n\n // Binding proxy methods to a service instance\n ['show', 'hide', 'update', 'done', 'reset'].forEach(key => {\n this[key] = function methodWrapper(...args) {\n if (this.ctrl) {\n return this.ctrl[key](...args);\n } else if (this.fallbackDialog) {\n return this.fallbackDialog[key](...args);\n } else {\n this.$inject.$log.error('No dialog directive is found');\n return undefined;\n }\n }.bind(this);\n });\n }\n\n register(ctrl) {\n this.ctrl = ctrl;\n }\n\n unregister = () => {\n Reflect.deleteProperty(this, 'ctrl');\n }\n}\n\nclass DialogInSidebarService extends DialogService {\n static $inject = [...DialogService.$inject, 'dialog'];\n\n DIALOG_NAMESPACE = 'ring-dialog-in-sidebar';\n\n constructor(...args) {\n super(...args);\n this.fallbackDialog = this.$inject.dialog;\n }\n}\n\nfunction rgDialogDirective($timeout) {\n function link(scope, iElement, iAttrs, dialogCtrl) {\n const node = iElement[0];\n const dialogContainer = node.querySelector('*[data-anchor=dialog-container]');\n const dialogHeader = node.querySelector('*[data-anchor=dialog-header]');\n const dialogCustomFooter = node.querySelector('*[data-anchor=dialog-custom-footer-container]');\n\n // Left for backward compatibility with existing templates that use data directly from scope\n scope.dialogForm = dialogCtrl.dialogForm;\n\n function setPosition(top, left) {\n Object.assign(dialogContainer.style, {\n top: `${top}px`,\n left: `${left}px`\n });\n }\n\n // Focus first input\n function focusFirst() {\n const controls = node.queryAll('input,select,button,textarea,*[contentEditable=true]').\n filter(inputNode => getStyles(inputNode).display !== 'none');\n if (controls.length) {\n controls[0].focus();\n }\n }\n\n function onMousemove(e) {\n e.preventDefault();\n\n const pageHeight = window.innerHeight;\n const pageWidth = window.innerWidth;\n const clearance = 10;\n const maxTop = pageHeight - clearance;\n const maxLeft = pageWidth - clearance;\n\n const newTop = getRect(dialogHeader).top + e.movementY;\n const newLeft = getRect(dialogHeader).left + e.movementX;\n\n if (newTop > maxTop || newTop < clearance) {\n return;\n }\n\n if (newLeft > maxLeft || newLeft < clearance) {\n return;\n }\n\n const offsetY = parseFloat(dialogContainer.style.top) || 0;\n const offsetX = parseFloat(dialogContainer.style.left) || 0;\n setPosition(offsetY + e.movementY, offsetX + e.movementX);\n }\n\n function onMouseup() {\n document.removeEventListener('mousemove', onMousemove);\n document.removeEventListener('mouseup', onMouseup);\n }\n\n function onMousedown() {\n if (!dialogCtrl.inSidebar) {\n // Duct tape for all Ring 1.0 dropdown components inside\n node.dispatchEvent(new CustomEvent('ring.popup-close'));\n\n document.addEventListener('mousemove', onMousemove);\n document.addEventListener('mouseup', onMouseup);\n }\n }\n\n function onFocusin(e) {\n if (!node.contains(e.target) && e.target.classList.contains('ring-popup')) {\n e.preventDefault();\n focusFirst();\n }\n }\n\n function setCustomFooter(customFooterElem) {\n const placeholder = angular.element(dialogCustomFooter);\n const footer = angular.element(`<div class=\"${this.styles.footer}\"></div>`).append(customFooterElem);\n placeholder.empty();\n placeholder.append(footer);\n }\n\n dialogCtrl.resetPosition = () => dialogContainer.removeAttribute('style');\n dialogCtrl.setCustomFooter = setCustomFooter;\n\n dialogHeader.addEventListener('mousedown', onMousedown);\n document.addEventListener('focusin', onFocusin);\n scope.$on('rgDialogContentLoaded', () => $timeout(focusFirst));\n\n // Backward compatibility for youtrack (if they are using \"content\" property)\n // which is actually ng-include with $includeContentLoaded event in the end\n scope.$on('$includeContentLoaded', () => $timeout(focusFirst));\n\n scope.$on('dialog.hide', () => {\n angular.element(dialogCustomFooter).empty();\n });\n\n scope.$on('$destroy', () => {\n dialogHeader.removeEventListener('mousedown', onMousedown);\n document.removeEventListener('mousemove', onMousemove);\n document.removeEventListener('mouseup', onMouseup);\n document.removeEventListener('focusin', onFocusin);\n window.removeEventListener('resize', setPosition);\n });\n }\n\n return {\n scope: {},\n controller: DialogController,\n bindToController: {\n inSidebar: '@?',\n active: '=?'\n },\n replace: true,\n template: require('./dialog-ng.html'),\n controllerAs: 'dialog',\n link\n };\n}\n\nfunction rgDialogTitleDirective() {\n function link(scope, iElement, iAttrs, dialogCtrl) {\n dialogCtrl.setTitle(scope.title);\n }\n\n return {\n scope: {\n title: '@rgDialogTitle'\n },\n require: '^rgDialog',\n link\n };\n}\n\nfunction rgDialogFooterDirective() {\n function link(scope, iElement, iAttrs, dialogCtrl, transclude) {\n scope.$on('rgDialogContentLoaded', () => {\n transclude(scope, clone => {\n dialogCtrl.setCustomFooter(clone);\n });\n });\n }\n\n return {\n require: '^rgDialog',\n transclude: true,\n link\n };\n}\n\nfunction rgDialogContentDirective($compile, $q) {\n return {\n link: function link(scope, iElement) {\n const element = iElement[0];\n let contentScope;\n\n function createIncludeNode() {\n const node = document.createElement('ng-include');\n node.setAttribute('src', 'dialog.content');\n\n return node;\n }\n\n function isOldDataAPI() {\n return scope.dialog.config.data;\n }\n\n function compileContent() {\n contentScope = scope.$new();\n\n if (angular.isDefined(scope.dialog.content)) {\n const templateNode = angular.element(createIncludeNode());\n element.appendChild(templateNode[0]);\n return $compile(templateNode)(contentScope)[0];\n }\n\n return $q.when(scope.dialog.compileTemplate()).\n then(compiledData => {\n const templateScope = isOldDataAPI()\n ? contentScope\n : (scope.dialog.config.scope || contentScope);\n\n // XXX(maksimrv): We should put element to directive\n // before link because some directives (shortcuts)\n // depends from global directives (shortcuts-app)\n angular.element(element).append(compiledData.element);\n compiledData.link(templateScope);\n scope.$broadcast('rgDialogContentLoaded');\n }).\n catch(angular.noop);\n }\n\n function destroy() {\n function cleanupElement(_element) {\n while (_element.childNodes.length) {\n\n // XXX(maksimrv): We should use jQuery.remove method because\n // AngularJS intercepts all jqLite/jQuery's DOM destruction apis and fires $destroy event\n // on all DOM nodes being removed.\n // This can be used to clean up bindings to the DOM\n // element before it is removed.\n angular.element(_element.childNodes[0]).remove();\n }\n }\n\n if (contentScope) {\n contentScope.$destroy();\n cleanupElement(element);\n }\n }\n\n scope.$on('dialog.hide', destroy);\n\n scope.$on('dialog.show', () => {\n destroy();\n compileContent();\n });\n }\n };\n}\n\nangularModule.directive('rgDialog', rgDialogDirective);\nangularModule.directive('rgDialogTitle', rgDialogTitleDirective);\nangularModule.directive('rgDialogFooter', rgDialogFooterDirective);\nangularModule.directive('rgDialogContent', rgDialogContentDirective);\nangularModule.service('dialog', DialogService);\nangularModule.service('dialogInSidebar', DialogInSidebarService);\n\nexport default angularModule.name;\n","import angular from 'angular';\nimport 'dom4';\n\nimport scheduleRAF from '../global/schedule-raf';\nimport {getDocumentScrollTop, getWindowHeight} from '../global/dom';\n\nimport './docked-panel-ng.scss';\n\nconst scheduleAction = scheduleRAF();\n\n/**\n * @name Docked Panel Ng\n */\n\nconst angularModule = angular.module('Ring.docked-panel', []);\n\nangularModule.directive('rgDockedPanel', function rgDockedPanelDirective($parse) {\n return {\n link: function link(scope, element, attrs) {\n const TOGGLE_GAP = 8;\n const CSS_CLASS_NAME = 'ring-docked-panel';\n const DOCKED_CSS_CLASS_NAME = 'ring-docked-panel_fixed';\n const dockedPanelClass = attrs.rgDockedPanelClass || '';\n const config = attrs.rgDockedPanelConfig ? $parse(attrs.rgDockedPanelConfig)(scope) : null;\n let initialPanelPos;\n let isDocked;\n\n /**\n * Container\n * @type {Element} panel\n */\n const panel = element[0];\n\n panel.classList.add(CSS_CLASS_NAME);\n\n function getYPosition(node) {\n const clientRect = node.getBoundingClientRect();\n return clientRect.top + clientRect.height + getScrollContainerScrollTop();\n }\n\n /**\n * Save panel initial rects and left margin and container-node for further use\n */\n function saveInitialPos() {\n initialPanelPos = getYPosition(panel);\n }\n\n function getInitialUndockedPosition() {\n return (config || {}).container ? getYPosition(config.container) : initialPanelPos;\n }\n\n function getScrollContainerScrollTop() {\n if (config && config.scrollContainer) {\n return config.scrollContainer.scrollTop;\n }\n return getDocumentScrollTop();\n }\n\n function getScrollContainerHeight() {\n if (config && config.scrollContainer) {\n return config.scrollContainer.getBoundingClientRect().height;\n }\n return getWindowHeight();\n }\n\n function onBeforeDock() {\n if (config) {\n if (config.beforeDock) {\n scope.$eval(config.beforeDock(element));\n }\n if (config.className) {\n panel.classList.add(config.className);\n }\n }\n }\n\n function onBeforeUndock() {\n if (config) {\n if (config.beforeUndock) {\n scope.$eval(config.beforeUndock(element));\n }\n if (config.className) {\n panel.classList.remove(config.className);\n }\n }\n }\n\n /**\n * Docks the panel to the bottom of the page\n */\n function dock() {\n onBeforeDock();\n\n panel.classList.add(DOCKED_CSS_CLASS_NAME);\n if (dockedPanelClass) {\n panel.classList.add(dockedPanelClass);\n }\n isDocked = true;\n }\n\n function undock() {\n onBeforeUndock();\n\n panel.classList.remove(DOCKED_CSS_CLASS_NAME);\n if (dockedPanelClass) {\n panel.classList.remove(dockedPanelClass);\n }\n isDocked = false;\n }\n\n function onResize() {\n if (config) {\n if (config && config.onResize) {\n scope.$eval(config.onResize(element, isDocked));\n }\n }\n }\n\n /**\n * Check panel position\n */\n function checkPanelPosition() {\n const currentPanelRect = panel.getBoundingClientRect();\n\n if (currentPanelRect.top + currentPanelRect.height > getScrollContainerHeight() &&\n !isDocked) {\n dock();\n } else if (\n isDocked &&\n currentPanelRect.top + currentPanelRect.height +\n getScrollContainerScrollTop() >= getInitialUndockedPosition() + TOGGLE_GAP\n ) {\n undock();\n }\n }\n\n function init() {\n const _onResize = () => {\n checkPanelPosition();\n onResize();\n };\n const scrollListener = () => scheduleAction(checkPanelPosition);\n\n /**\n * Wait until all content on the page is loaded\n */\n scope.$applyAsync(() => {\n const scrollContainer = (config || {}).scrollContainer || window;\n\n scrollContainer.addEventListener('scroll', scrollListener);\n window.addEventListener('resize', _onResize);\n\n scope.$on('$destroy', () => {\n scrollContainer.removeEventListener('scroll', scrollListener);\n window.removeEventListener('resize', _onResize);\n });\n\n scheduleAction(() => {\n saveInitialPos();\n checkPanelPosition();\n });\n });\n }\n\n init();\n }\n };\n});\n\nexport default angularModule.name;\n","import React, {Children, cloneElement, PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport Popup from '../popup/popup';\nimport {Directions} from '../popup/position';\n\nimport styles from './error-bubble.css';\n/**\n * @name Error Bubble\n */\n\nexport default class ErrorBubble extends PureComponent {\n static propTypes = {\n error: PropTypes.string,\n className: PropTypes.string,\n children: PropTypes.node\n };\n\n render() {\n const {children, className, ...restProps} = this.props;\n\n const errorBubbleClasses = classNames(styles.errorBubble, className);\n\n return (\n <div className={styles.errorBubbleWrapper}>\n {Children.map(children, child => cloneElement(child, restProps))}\n\n {restProps.error && (\n <Popup\n className={styles.errorBubblePopup}\n hidden={false}\n attached={false}\n directions={[Directions.RIGHT_CENTER, Directions.RIGHT_BOTTOM, Directions.RIGHT_TOP]}\n >\n <div\n className={errorBubbleClasses}\n data-test=\"ring-error-bubble\"\n >\n {restProps.error}\n </div>\n </Popup>\n )}\n </div>\n );\n }\n}\n\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport Icon from '../icon';\nimport {Size} from '../icon/icon__constants';\n\nimport styles from './error-message.css';\n\n\n/**\n * @name Error Message\n */\n\nexport default class ErrorMessage extends Component {\n static propTypes = {\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),\n code: PropTypes.string,\n message: PropTypes.string,\n description: PropTypes.string,\n children: PropTypes.node,\n className: PropTypes.string\n };\n\n\n render() {\n const {className, icon, code, message, description, children} = this.props;\n const classes = classNames(styles.errorMessage, className);\n\n return (\n <div className={classes}>\n {icon && (\n <Icon\n className={styles.icon}\n glyph={icon}\n size={Size.Size64}\n suppressSizeWarning\n />\n )}\n <div className={styles.content}>\n <div className={styles.title}>\n {code && `${code}:`} {message}\n </div>\n {description && (\n <div className={styles.description}>\n {description}\n </div>\n )}\n {children}\n </div>\n </div>\n );\n }\n}\n","import angular from 'angular';\n\nimport IconNG from '../icon-ng/icon-ng';\nimport LinkNG from '../link-ng/link-ng';\n\nimport styles from '../error-message/error-message.css';\n\n/**\n * @name Error Message Ng\n */\n\nconst angularModule = angular.module('Ring.error-message', [IconNG, LinkNG]);\n\nangularModule.directive('rgErrorMessage', function rgErrorMessageDirective() {\n return {\n replace: true,\n transclude: true,\n template: `\n<div class=\"${styles.errorMessage}\" data-test=\"ring-error-message\">\n\n <rg-icon class=\"${styles.icon}\" glyph=\"{{icon}}\" color=\"gray\" size=\"64\"></rg-icon>\n \n <div class=\"${styles.content}\">\n <div class=\"${styles.title}\" data-test=\"ring-error-message-title\"\n ><span ng-if=\"code\">{{ code }}:</span> {{ message }}</div>\n \n <div class=\"${styles.description}\" ng-transclude></div>\n \n \n <div ng-if=\"links\">\n <span ng-repeat=\"link in links\">\n <rg-link ng-if=\"link.target\" ng-href=\"{{link.href}}\" target=\"{{link.target}}\">{{link.text}}</rg-link><rg-link\n ng-if=\"!link.target\" ng-href=\"{{link.href}}\">{{link.text}}</rg-link>{{$last ? '' : ','}}\n </span>\n </div>\n </div>\n</div>\n `,\n restrict: 'E',\n\n scope: {\n code: '@',\n message: '@',\n links: '=',\n icon: '@'\n }\n };\n});\n\nexport default angularModule.name;\n","/**\n * Converts an array of cached permissions to a a map of a permission key\n * to the respective cached permission.\n *\n * @param { {\n * permission: {key: string},\n * global: boolean?,\n * projects: {id: string}[]?\n * }[] } permissions\n * @param {function} namesConverter a function, which maps a server-side permission name to client-side permission name\n * @return {object} permission cache\n * @private\n */\nexport default class PermissionCache {\n static GLOBAL_PROJECT_ID = 'global';\n\n /**\n * Convert an array of projects to a set of project ids.\n *\n * @param {object[]=} projects\n * @return {object} a set of project ids\n * @private\n */\n static _toProjectIdSet(projects) {\n let projectIdSet = null;\n\n if (projects) {\n projectIdSet = {};\n for (let i = 0; i < projects.length; i++) {\n projectIdSet[projects[i].id] = true;\n }\n }\n\n return projectIdSet;\n }\n\n constructor(permissions, namesConverter) {\n this.namesConverter = namesConverter || (key => key);\n this.set(permissions);\n }\n\n set(permissions) {\n const permissionCache = (permissions || []).reduce((_permissionCache, permission) => {\n const key = this.namesConverter(permission.permission.key);\n\n if (key) {\n _permissionCache[key] = {\n global: permission.global,\n projectIdSet: this.constructor._toProjectIdSet(permission.projects)\n };\n }\n\n return _permissionCache;\n }, {});\n\n this._permissions = permissions;\n this.permissionCache = permissionCache;\n\n return this;\n }\n\n get() {\n return this._permissions;\n }\n\n /**\n * Checks if the current user has the given permissions in the project with the given id.\n *\n * @param {string} permissions space separated list of permissions\n * @param {string=} projectId optional projectId. If absent the method checks\n * if the given permission is granted in any project.\n *\n * @return {boolean}\n */\n has(permissions, projectId) {\n const lexems = this.lex(permissions);\n if (lexems.length === 0) {\n return true;\n }\n\n try {\n return this.or(lexems, projectId);\n } catch (e) {\n return false;\n }\n }\n\n /**\n * Lexes permission query string to an array of lexems.\n *\n * @param {string} query\n * @return {string[]}\n */\n lex(query) {\n const lexems = [];\n\n if (query) {\n let currentIdentifier = '';\n\n for (let i = 0; i < query.length; i++) {\n switch (query.charAt(i)) {\n case ' ':\n case '\\t':\n case '\\n':\n case '\\r':\n // Finish current token\n if (currentIdentifier) {\n lexems.push(currentIdentifier);\n currentIdentifier = '';\n }\n // Skip space\n break;\n case '(':\n case ')':\n case '&':\n case '|':\n case '!':\n // Finish current token\n if (currentIdentifier) {\n lexems.push(currentIdentifier);\n currentIdentifier = '';\n }\n // Append operator\n lexems.push(query.charAt(i));\n break;\n default:\n currentIdentifier += query.charAt(i);\n break;\n }\n }\n\n if (currentIdentifier) {\n lexems.push(currentIdentifier);\n }\n }\n\n return lexems;\n }\n\n /*\n or -> and ( '|' and )*\n and -> not ( '&'? not )*\n not -> '!'* term\n term -> '(' or ')' | permission\n permission -> [^()&|!\\s]+\n */\n\n /**\n * @param {string[]} lexems\n * @param {string=} projectId\n * @return {boolean}\n */\n or(lexems, projectId) {\n let result = this.and(lexems, projectId);\n\n while (lexems.length > 0 && lexems[0] !== ')') {\n if (lexems.shift() !== '|') {\n throw new Error('Operator \\'|\\' was expected');\n }\n\n result = this.and(lexems, projectId) || result;\n }\n\n return result;\n }\n\n /**\n * @param {string[]} lexems\n * @param {string=} projectId\n * @return {boolean}\n */\n and(lexems, projectId) {\n let result = this.not(lexems, projectId);\n\n while (lexems.length > 0 && lexems[0] !== ')' && lexems[0] !== '|') {\n // Expect optional '&'\n if (lexems[0] === '&') {\n lexems.shift();\n }\n\n result = this.not(lexems, projectId) && result;\n }\n\n return result;\n }\n\n /**\n * @param {string[]} lexems\n * @param {string=} projectId\n * @return {boolean}\n */\n not(lexems, projectId) {\n let notCounter = 0;\n\n while (lexems.length > 0 && lexems[0] === '!') {\n ++notCounter;\n lexems.shift();\n }\n\n const result = this.term(lexems, projectId);\n\n return (notCounter % 2 === 0) ? result : !result;\n }\n\n /**\n * @param {string[]} lexems\n * @param {string=} projectId\n * @return {boolean}\n */\n term(lexems, projectId) {\n if (lexems.length === 0) {\n throw new Error('Operand was expected');\n }\n\n const t = lexems.shift();\n let result;\n\n // Nested parenthesized expression\n if (t === '(') {\n result = this.or(lexems, projectId);\n // Expect ')'\n if (lexems.shift() !== ')') {\n throw new Error('Operator \\')\\' was expected');\n }\n } else {\n result = this.testPermission(t, projectId);\n }\n\n return result;\n }\n\n /**\n * @param {string} permissionName\n * @param {string=} projectId\n * @return {boolean}\n */\n testPermission(permissionName, projectId) {\n const permissionCache = this.permissionCache;\n const cachedPermission = permissionCache[permissionName] ||\n permissionCache[this.namesConverter(permissionName)];\n\n // Hasn't the permission in any project\n if (!cachedPermission) {\n return false;\n }\n\n // The permission is global or is given in the global project\n if (cachedPermission.global) {\n return true;\n }\n\n if (projectId) {\n // if projectId is specified check that the permission is given in the project\n return cachedPermission.projectIdSet && (projectId in cachedPermission.projectIdSet);\n } else {\n return true;\n }\n }\n}\n","import PermissionCache from './permissions__cache';\n\n/**\n * <code>\n * const permissions = new Permissions(auth, {prefix: 'jetbrains.jetpass.', services: [auth.serviceId]})\n * permissions.load().then(function (p) {\n * const canReadUser = p.has('read-user');\n * ...\n * });\n *\n * permissions.check('read-user').then(function(canReadUser) {\n * ...\n * });\n * </code>\n *\n * @param {Auth} auth instance of well configured Auth object\n * @param {{\n * prefix: string?,\n * namesConverter: function?\n * serviceId: string?\n * }=} config permissions loaded configuration.\n * <code>prefix</code> if provided then this prefix is removed from the permissions names.\n * <code>namesConverter</code> if provided it maps permission names used on server-side to client-side permission names. It is used only if prefix is undefined.\n * <code>serviceId</code> if provided then permissions only for the service are loaded.\n * @constructor\n */\nexport default class Permissions {\n /**\n * @const {string}\n */\n static API_PERMISSION_CACHE_PATH = 'permissions/cache';\n\n constructor(auth, config = {}) {\n this.query = Permissions.getPermissionQuery(config.services);\n this.namesConverter = config.prefix\n ? Permissions.getDefaultNamesConverter(config.prefix)\n : config.namesConverter;\n\n if (!auth) {\n throw new Error('Parameter auth is required');\n }\n\n this._auth = auth;\n this._datasource = config.datasource || this._defaultDatasource;\n this._promise = null;\n this._subscribed = false;\n this._permissionCache = new PermissionCache(null, this.namesConverter);\n }\n\n _defaultDatasource = query => (\n this._auth.http.get(Permissions.API_PERMISSION_CACHE_PATH, {\n query: {\n fields: 'permission/key,global,projects(id)',\n query\n }\n })\n )\n\n /**\n * Returns function, which cuts off prefix from server-side permission name\n *\n * @param {string} prefix\n * @returns {Function}\n */\n static getDefaultNamesConverter(prefix) {\n return storedName => {\n if (storedName.indexOf(prefix) !== 0) {\n return storedName;\n } else {\n return storedName.substr(prefix.length);\n }\n };\n }\n\n static getPermissionQuery(services) {\n if (!services || !services.length) {\n return undefined;\n }\n return services.map(service => `service:{${service}}`).join(' or ');\n }\n\n set(cachedPermissions) {\n this._permissionCache.set(cachedPermissions);\n this._setCache(Promise.resolve(this._permissionCache));\n return this._permissionCache;\n }\n\n get() {\n return this._permissionCache.get();\n }\n\n _setCache(value) {\n this._promise = value;\n return value;\n }\n\n _getCache() {\n return this._promise;\n }\n\n _resetCache() {\n this._setCache(null);\n }\n\n /**\n * Loads logged-in user permissions.\n * @param {object?} options\n * @return {Promise.<Permissions>} promise that is resolved when the permissions are loaded\n */\n load(options) {\n if (this._subscribed === false) {\n this._auth.addListener('userChange', () => {\n this.reload();\n });\n this._subscribed = true;\n }\n\n if (!hasCacheControl('NO_CACHE', options) && this._getCache()) {\n return this._getCache();\n }\n\n if (hasCacheControl('NO_STORE', options)) {\n return this._loadPermissions().\n then(cachedPermissions => new PermissionCache(cachedPermissions, this.namesConverter));\n }\n\n return this._setCache(\n this._loadPermissions().\n then(cachedPermissions => this.set(cachedPermissions))\n );\n\n function hasCacheControl(value, _options) {\n if (_options && _options.cacheControl) {\n return _options.cacheControl[value];\n }\n return false;\n }\n }\n\n _loadPermissions() {\n return this._datasource(this.query);\n }\n\n /**\n * Reloads permission cache from server\n * @returns {Promise.<Permissions>} promise that is resolved when the permissions are reloaded\n */\n reload() {\n this._resetCache();\n return this.load();\n }\n\n /**\n * Waits till the permission cache is loaded then checks if the current user has the\n * given permissions in the project with the given id.\n *\n * @param {string} permissions space separated list of permissions\n * @param {string=} projectId optional projectId. If absent the method checks\n * if the given permission is granted in any project.\n *\n * @return {Promise.<boolean>}\n */\n check(permissions, projectId) {\n return this.load().then(permissionCache => permissionCache.has(permissions, projectId));\n }\n\n /**\n * Binds a property with the name <code>propertyName</code> of the <code>object</code>\n * to a boolean value that is true if user has the permissions and false if she doesn't.\n *\n * @example\n * <code>\n * userPermissions.bindVariable($scope, 'canReadRole', 'role-read')\n * </code>\n *\n * @param {object} object an object which property should be bound\n * @param {string} propertyName a name of a property to bind\n * @param {string} permissions space separated list of permissions\n * @param {string=} projectId optional projectId. If absent the method checks\n * if the given permissions are granted in any project.\n *\n * @return {Promise.<boolean>}\n */\n bindVariable(object, propertyName, permissions, projectId) {\n object[propertyName] = false;\n\n return this.check(permissions, projectId).\n then(permitted => {\n object[propertyName] = permitted;\n return permitted;\n });\n }\n}\n","/**\n * @name Permissions Ng\n */\nimport angular from 'angular';\nimport 'dom4';\n\nimport '../auth-ng/auth-ng';\nimport Permissions from '../permissions/permissions';\nimport PermissionCache from '../permissions/permissions__cache';\n\nimport './permissions-ng.scss';\n\nfunction registerPermission(element) {\n const somePermissionsCtrl = element.controller('rgSomePermissions');\n return somePermissionsCtrl && somePermissionsCtrl.registerPermission() || angular.noop;\n}\n\n\nconst angularModule = angular.module('Ring.permissions', ['Ring.auth']);\n\n/**\n * @ngdoc object\n * @name userPermissions\n *\n * @description\n * Configured instance of Permissions object.\n */\n\n/**\n * @typedef {Object} permissionsNgConfig\n * @property {?string} serviceId\n * @property {?string} prefix\n */\nangularModule.provider('userPermissions', function provider() {\n /**\n * @type {permissionsNgConfig}\n */\n let _config = {};\n\n /**\n * @param {permissionsNgConfig} config\n */\n this.config = config => {\n _config = config;\n };\n\n this.$get = (auth, $q, $http) => {\n const apiUri = auth.auth.getAPIPath() + Permissions.API_PERMISSION_CACHE_PATH;\n\n async function datasource(query) {\n const {data} = await $http.get(apiUri, {\n params: {\n fields: 'permission/key,global,projects(id)',\n query\n }\n });\n\n return data;\n }\n\n _config.datasource = _config.datasource || datasource;\n\n const permissions = new Permissions(auth.auth, _config);\n\n // Override load to execute in $digest\n permissions.load = function load() {\n return $q.when(Permissions.prototype.load.call(this));\n };\n\n return permissions;\n };\n});\n\n/**\n * @ngdoc directive\n * @name permission\n *\n * @description\n * The `permission` directive show or hide a portion of the DOM tree (HTML) depending\n * on the logged in user permissions. If the user has listed permissions then the DOM tree\n * is shown, otherwise it is hidden.\n *\n * @restrict A\n * @element ANY\n * @requires userPermissions\n */\nangularModule.directive(\n 'rgPermission',\n function rgPermissionDirective(userPermissions, $interpolate) {\n return {\n controller: function controller($scope, $element, $attrs) {\n const element = $element[0];\n\n //noinspection JSPotentiallyInvalidUsageOfThis\n this.permitted = false;\n\n element.classList.add('ring-permission-hide');\n\n const permission = $interpolate($attrs.rgPermission)($scope);\n\n const projectId = $attrs.hasOwnProperty('inGlobal')\n ? PermissionCache.GLOBAL_PROJECT_ID\n : $scope.$eval($attrs.inProject);\n\n userPermissions.check(permission, projectId).\n then(permitted => {\n this.permitted = permitted;\n if (permitted) {\n element.classList.remove('ring-permission-hide');\n }\n return permitted;\n }).\n then(registerPermission($element));\n }\n };\n }\n);\n\n/**\n * @ngdoc directive\n * @name permissionIf\n *\n * @description\n * The `permission` directive transcludes or not a portion of the DOM tree (HTML) depending\n * on the logged in user permissions. If the user has listed permissions then the DOM tree\n * is transcluded, otherwise it is not.\n * @example\n <example name=\"rgPermissionIf directive\">\n <file name=\"index.html\">\n <div rg-permission-if=\"project-read\" in-project=\"0-0-0-0-0\">\n Is transcluded if user has permission 'read-project' in project 0-0-0-0-0.\n </div>\n <div rg-permission-if=\"project-read\">\n Is transcluded if user has permission 'read-project' at least in one project.\n </div>\n <div rg-permission-if=\"project-read\" in-global>\n Is transcluded if user has permission 'read-project' at project \"global\".\n </div>\n </file>\n </example>\n *\n * @restrict A\n * @element ANY\n * @requires $animate\n * @requires userPermissions\n */\nangularModule.directive(\n 'rgPermissionIf',\n function rgPermissionIfDirective($animate, userPermissions, $interpolate) {\n return {\n transclude: 'element',\n priority: 600,\n terminal: true,\n restrict: 'A',\n // disable error about multiple transclude like in ngIf\n $$tlb: true, // eslint-disable-line angular/no-private-call\n require: '^?rgSomePermissions',\n link: function link(scope, iElement, iAttrs, somePermittedCtrl, $transclude) {\n let block;\n let childScope;\n\n const projectId = iAttrs.hasOwnProperty('inGlobal')\n ? PermissionCache.GLOBAL_PROJECT_ID\n : scope.$eval(iAttrs.inProject);\n\n const permission = $interpolate(iAttrs.rgPermissionIf)(scope);\n\n userPermissions.check(permission, projectId).\n then(permitted => {\n if (permitted) {\n if (!childScope) {\n childScope = scope.$new();\n $transclude(childScope, clone => {\n block = {\n startNode: clone[0],\n endNode: clone[clone.length++] = document.\n createComment(` end rgPermissionIf: ${iAttrs.rgPermissionIf} `)\n };\n $animate.enter(clone, iElement.parent(), iElement);\n });\n }\n } else {\n if (childScope) {\n childScope.$destroy();\n childScope = null;\n }\n\n if (block) {\n /* global getBlockElements: false */\n $animate.leave(getBlockElements(block));\n block = null;\n }\n }\n }).\n then(registerPermission(iElement));\n }\n };\n }\n);\n\n/**\n * @ngdoc directive\n * @name rgSomePermissions\n *\n * @description\n * Binds left-value expression with a boolean value that is true when at least one permission of\n * nested {@link permission} or {@link rgPermissionIf} directive is obtained by the logged in user.\n *\n * @scope\n * @restrict A\n * @element ANY\n */\nangularModule.directive('rgSomePermissions', function rgSomePermissionsDirective() {\n return ({\n scope: {\n rgSomePermissions: '='\n },\n controller: function controller($scope) {\n const permissions = [];\n $scope.rgSomePermissions = false;\n\n function checkPermissions() {\n for (let i = permissions.length - 1; i >= 0; i--) {\n if (permissions[i].permitted) {\n $scope.rgSomePermissions = true;\n return;\n }\n }\n\n $scope.rgSomePermissions = false;\n }\n\n //noinspection JSPotentiallyInvalidUsageOfThis\n this.registerPermission = () => {\n const permission = {permitted: false};\n permissions.push(permission);\n\n return permitted => {\n permission.permitted = permitted;\n checkPermissions();\n };\n };\n }\n });\n});\n\nexport default angularModule.name;\n","import angular from 'angular';\nimport 'dom4';\n\nimport {FrownIcon, PermissionIcon} from '../icon';\n\nimport '../error-page/error-page.scss';\nimport ErrorMessage from '../error-message-ng/error-message-ng';\nimport Permissions from '../permissions-ng/permissions-ng';\nimport MessageBundle from '../message-bundle-ng/message-bundle-ng';\n\nimport styles from './error-page-ng.css';\n\n/**\n * @name Error Page Ng\n */\n\nconst angularModule = angular.module('Ring.error-page', [\n 'ngRoute',\n ErrorMessage,\n Permissions,\n MessageBundle\n]);\n\nangularModule.provider('errorPageConfiguration', function errorPageConfigurationProvider() {\n let pageConfiguration = {};\n\n /**\n * @param {Object} config\n * @param {?String} config.responseToMessageConverter - name of converter from response to error message factory\n * @param {?Array.<String>} config.links - name of factory which should return array of links to show on error page\n */\n this.config = config => {\n pageConfiguration = config;\n };\n\n this.$get = function get($injector, $log) {\n function loadFactory(factoryName) {\n try {\n return $injector.get(factoryName);\n } catch (err) {\n $log.debug(`errorPageConfiguration: unable to load ${factoryName}`);\n return undefined;\n }\n }\n\n let responseToMessageConverter;\n if (pageConfiguration.responseToMessageConverter) {\n responseToMessageConverter = loadFactory(pageConfiguration.responseToMessageConverter);\n }\n\n let links;\n if (pageConfiguration.links) {\n links = loadFactory(pageConfiguration.links);\n }\n\n return {\n responseToMessageConverter: responseToMessageConverter || angular.noop,\n links: links || []\n };\n };\n});\n\nangularModule.factory('getErrorPagePresentation', RingMessageBundle => error => {\n const presentationModels = {\n 401: {\n status: 401,\n title: RingMessageBundle.errorpage_401(),\n description: RingMessageBundle.errorpage_401msg(),\n icon: PermissionIcon\n },\n 404: {\n status: 404,\n title: RingMessageBundle.errorpage_404(),\n description: RingMessageBundle.errorpage_404msg(),\n icon: FrownIcon\n },\n 403: {\n status: 403,\n title: RingMessageBundle.errorpage_403(),\n description: RingMessageBundle.errorpage_403msg(),\n icon: PermissionIcon\n },\n 500: {\n status: 500,\n title: RingMessageBundle.errorpage_500(),\n description: RingMessageBundle.errorpage_500msg(),\n icon: FrownIcon\n },\n 0: {\n status: RingMessageBundle.errorpage_disconnected(),\n title: RingMessageBundle.errorpage_disconnectedmsg(),\n description: RingMessageBundle.errorpage_offline(),\n icon: FrownIcon\n },\n default: {\n title: RingMessageBundle.errorpage_seriouslywrong(),\n icon: FrownIcon\n }\n };\n\n if (error.status in presentationModels) {\n return presentationModels[error.status];\n }\n return angular.extend({\n status: error.status,\n description: error.message\n }, presentationModels.default);\n});\n\nangularModule.directive('rgErrorPageBackground', function rgErrorPageBackgroundDirective() {\n return {\n restrict: 'A',\n\n controller: function controller($scope) {\n this.setApplicationError = applicationError => {\n $scope.applicationError = applicationError;\n };\n },\n\n link: function link(scope, iElement) {\n const element = iElement[0];\n element.classList.add('error-page');\n\n scope.$watch('applicationError', newValue => {\n if (newValue) {\n element.classList.add('error-page_enabled');\n } else {\n element.classList.remove('error-page_enabled');\n }\n });\n }\n };\n});\n\nangularModule.directive('rgErrorPage', [\n 'errorPageConfiguration',\n '$route',\n 'userPermissions',\n '$log',\n 'getErrorPagePresentation',\n '$q',\n '$compile',\n (\n errorPageConfiguration,\n $route,\n userPermissions,\n $log,\n getErrorPagePresentation,\n $q,\n $compile\n ) => {\n function getArgumentPromise(errorSource, errorPageParameterPresentation) {\n const promise = errorSource && (errorSource.$promise || errorSource.promise);\n\n if (promise) {\n return $q((resolve, reject) => {\n promise.\n then(data => {\n resolve();\n return data;\n }).\n catch(errorResponse => {\n $log.debug(`Navigation: errorSource ${errorPageParameterPresentation} not permitted, status: ${status}`);\n\n reject({\n status: errorResponse && errorResponse.status,\n message: errorPageConfiguration.responseToMessageConverter(errorResponse)\n });\n\n return errorResponse;\n });\n });\n } else {\n return $q.resolve();\n }\n }\n\n function getRoutingPermissionPromise() {\n /* eslint-disable angular/no-private-call */\n if ($route.current && $route.current.$$route && $route.current.$$route.permission) {\n const pagePermission = $route.current.$$route.permission;\n /* eslint-enable angular/no-private-call */\n\n let resolve;\n let reject;\n\n userPermissions.load().then(permissionCache => {\n if (!permissionCache.has(pagePermission)) {\n $log.debug(`Navigation: no page${pagePermission} permission, status 403`);\n reject({status: 403});\n } else {\n resolve();\n }\n });\n\n return $q((...args) => {\n [resolve, reject] = args;\n });\n } else {\n return $q.resolve();\n }\n }\n\n return {\n replace: true,\n transclude: true,\n template: '<div></div>',\n require: '?^rgErrorPageBackground',\n link: function link(scope, iElement, iAttrs, errorPageBackgroundCtrl, transclude) {\n function handleError(error) {\n transclude(scope, clone => {\n const cloneWrapper = document.createElement('div');\n cloneWrapper.className = 'ng-hide';\n angular.element(cloneWrapper).append(clone);\n iElement.append(cloneWrapper);\n\n scope.error = getErrorPagePresentation(error);\n scope.links = errorPageConfiguration.links;\n\n const template = `\n <div class=\"${styles.errorPageNg}\">\n <rg-error-message \n code=\"{{ error.status }}\" \n message=\"{{ error.title }}\" \n links=\"links\"\n icon=\"{{ error.icon }}\"\n >\n <span>{{ error.description }}</span>\n </rg-error-message>\n </div>\n `;\n const el = $compile(angular.element(template))(scope);\n iElement.append(el);\n if (errorPageBackgroundCtrl) {\n errorPageBackgroundCtrl.setApplicationError(true);\n }\n\n if (errorPageBackgroundCtrl) {\n const destroyEvent = (scope === scope.$root) ? '$routeChangeStart' : '$destroy';\n scope.$on(destroyEvent, () => {\n errorPageBackgroundCtrl.setApplicationError(false);\n });\n }\n });\n }\n\n function handleSuccess() {\n transclude(scope, clone => {\n iElement.append(clone);\n });\n }\n\n getRoutingPermissionPromise().then(() => {\n const errorSource = scope.$eval(iAttrs.rgErrorPage);\n if (errorSource && errorSource.error) {\n handleError(errorSource.error);\n $log.debug(`Navigation: errorSource ${iAttrs.rgErrorPage} not permitted, status: ${status}`);\n } else {\n getArgumentPromise(errorSource, iAttrs.rgErrorPage).\n then(handleSuccess).\n catch(handleError);\n }\n }, handleError);\n }\n };\n }\n]);\n\nexport default angularModule.name;\n","/**\n * @name Footer\n */\n\n/* eslint-disable react/no-multi-comp */\n\nimport 'dom4';\nimport React, {PureComponent, isValidElement} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport Link from '../link/link';\n\nimport styles from './footer.css';\n\n/**\n * @constructor\n * @extends {ReactComponent}\n */\nclass FooterColumn extends PureComponent {\n static propTypes = {\n position: PropTypes.string,\n children: PropTypes.node\n };\n\n render() {\n const {position, children} = this.props;\n const classes = classNames({\n [styles.columnLeft]: position === 'left',\n [styles.columnCenter]: position === 'center',\n [styles.columnRight]: position === 'right'\n });\n return (\n <div className={classes}>\n <ul className={styles.columnItem}>\n {children}\n </ul>\n </div>\n );\n }\n}\n\n/**\n * Return copyright string\n * @param year {int}\n * @returns {string}\n */\nexport function copyright(year) {\n const currentYear = (new Date()).getUTCFullYear();\n const ndash = '–';\n let ret = 'Copyright © ';\n\n if (year >= currentYear) {\n ret += year;\n } else {\n ret += year + ndash + currentYear;\n }\n\n return ret;\n}\n\n/**\n * @constructor\n * @extends {ReactComponent}\n */\nclass FooterLine extends PureComponent {\n static propTypes = {\n item: PropTypes.oneOfType([\n PropTypes.object,\n PropTypes.array,\n PropTypes.string\n ])\n };\n\n render() {\n const items = Array.isArray(this.props.item) ? this.props.item : [this.props.item];\n\n function renderItem(item) {\n if (isValidElement(item)) {\n return item;\n }\n\n const element = (item.copyright ? copyright(item.copyright) : '') + (item.label || item);\n\n if (item.url) {\n return (\n <Link\n href={item.url}\n target={item.target}\n key={item.url + item.title}\n title={item.title}\n >{element}</Link>\n );\n }\n\n return element;\n }\n\n return (\n <li className={styles.line}>\n {items.map(renderItem)}\n </li>\n );\n }\n}\n\nexport default class Footer extends PureComponent {\n /** @override */\n static propTypes = {\n className: PropTypes.string,\n floating: PropTypes.bool,\n left: PropTypes.array,\n center: PropTypes.array,\n right: PropTypes.array\n };\n\n render() {\n const {floating} = this.props;\n\n function content(elements, position) {\n if (!elements) {\n return false;\n }\n\n return (\n <FooterColumn\n key={position}\n position={position}\n >\n {elements.map((item, idx) => (\n <FooterLine\n // eslint-disable-next-line react/no-array-index-key\n key={idx}\n item={item}\n />\n ))}\n </FooterColumn>\n );\n }\n\n const classes = classNames(styles.footer, this.props.className, {\n [styles.footerFloating]: floating\n });\n\n return (\n <div\n className={classes}\n data-test=\"ring-footer\"\n >{\n [\n content(this.props.left, 'left'),\n content(this.props.center, 'center'),\n content(this.props.right, 'right')\n ]\n }</div>\n );\n }\n}\n","import angular from 'angular';\n\nimport RingAngularComponent from '../global/ring-angular-component';\nimport styles from '../footer/footer.css';\nimport {copyright} from '../footer/footer';\n\n/**\n * @name Footer Ng\n */\n\n\nconst angularModule = angular.module('Ring.footer', []);\n\nclass rgFooterComponent extends RingAngularComponent {\n styles = styles;\n\n static transclude = {\n left: '?rgFooterLeft',\n center: '?rgFooterCenter',\n right: '?rgFooterRight'\n };\n\n static template = require('./footer-ng.html');\n}\n\nclass rgFooterLineComponent extends RingAngularComponent {\n static transclude = true;\n\n static template = `<div class=\"${styles.line}\" ng-transclude></div>`;\n}\n\nclass rgFooterCopyrightComponent extends RingAngularComponent {\n static template = '<span>{{:: $ctrl.copyrightYears}} {{:: $ctrl.companyName}}</span>';\n\n static bindings = {\n year: '@',\n companyName: '@'\n };\n\n $onInit() {\n this.copyrightYears = copyright(this.year);\n }\n}\n\nangularModule.component('rgFooter', rgFooterComponent);\nangularModule.component('rgFooterLine', rgFooterLineComponent);\nangularModule.component('rgFooterCopyright', rgFooterCopyrightComponent);\n\nexport default angularModule.name;\n","import angular from 'angular';\n\nimport AngularElastic from '@jetbrains/angular-elastic';\n\nimport MessageBundle from '../message-bundle-ng/message-bundle-ng';\nimport '../input/input.scss';\nimport '../error-bubble/error-bubble.scss';\n\n/**\n * @name Form Ng\n */\n\nconst angularModule = angular.module('Ring.form', [MessageBundle, AngularElastic]);\n\nangularModule.factory('getFormErrorMessages',\n function getFormErrorMessagesDirective(RingMessageBundle) {\n function msg(id, formError) {\n const messageBundleId = `form_${id}`;\n if (RingMessageBundle.hasOwnProperty(messageBundleId)) {\n return RingMessageBundle[messageBundleId]();\n }\n\n const formErrors = (formError && formError[id]) || [];\n for (let j = 0; j < formErrors.length; ++j) {\n if (formErrors[j] && formErrors[j].message) {\n return formErrors[j].message;\n }\n }\n\n return undefined;\n }\n\n return formErrors => {\n const errorMessages = [];\n for (const key in formErrors) {\n if (formErrors.hasOwnProperty(key) && formErrors[key]) {\n errorMessages.push(msg(key, formErrors));\n }\n }\n return errorMessages;\n };\n });\n\n/**\n * <div rg-error-bubble=\"form.name\"></div>\n * @param {object} error-bubble Ng-model for this control\n *\n * Where form.name is a reference to angularJS form input\n */\nangularModule.directive('rgErrorBubble', function rgErrorBubbleDirective(getFormErrorMessages) {\n return {\n scope: {\n errorBubble: '&rgErrorBubble'\n },\n\n replace: true,\n template: require('./form-ng__error-bubble.html'),\n\n link: function link(scope, iElement, iAttrs) {\n scope.style = {};\n\n const siblings = Array.from(iElement[0].parentNode.children);\n let element;\n let tagName;\n\n for (let i = 0; i < siblings.length; i++) {\n tagName = siblings[i].tagName.toLowerCase();\n\n if (tagName === 'input' || tagName === 'textarea') {\n element = siblings[i];\n break;\n }\n }\n\n scope.material = iAttrs.material !== undefined;\n\n scope.$watch(() => {\n const result = scope.errorBubble();\n\n return result.$invalid && result.$dirty;\n }, active => {\n scope.active = active;\n\n if (active && element) {\n scope.style.left = element.offsetWidth + 2;\n }\n });\n\n scope.getFormErrorMessages = getFormErrorMessages;\n }\n };\n});\n/**\n * <input name=\"confirm\" type=\"password\" rg-equal-value=\"data.password\" ng-model=\"data.confirm\">\n * Constraint to be user for confirm password fields.\n */\nangularModule.directive('rgEqualValue', function rgEqualValueDirective() {\n return {\n require: 'ngModel',\n\n link: function link(scope, iElement, iAttrs, ngModelCtrl) {\n const element = iElement[0];\n\n function assertEqual(thisValue, thatValue) {\n ngModelCtrl.$setValidity('equalvalue', thisValue === thatValue);\n }\n\n scope.$watch(iAttrs.rgEqualValue, value => {\n assertEqual(element.value, value);\n });\n\n element.addEventListener('keyup', () => {\n const thatValue = scope.$eval(iAttrs.rgEqualValue);\n scope.$apply(() => {\n assertEqual(element.value, thatValue);\n });\n });\n }\n };\n});\n/**\n * <input name=\"name\" required type=\"text\" ng-class=\"form.name | rgInputClass:submitted\" ng-model=\"name\">\n *\n * Is intended to be used for the value of ng-class. Accepts a reference to an angularJS form input\n */\nangularModule.filter('rgInputClass', () => (input, submitted) => ({\n 'ring-input': true,\n 'ring-input_error': input.$invalid && (input.$dirty || submitted),\n 'ring-input_correct': !input.$invalid && (input.$dirty || submitted)\n}));\n/**\n * <form rg-form-autofill-fix ...>\n *\n * Fixes Chrome bug: https://github.com/angular/angular.js/issues/1460\n */\nangularModule.directive('rgFormAutofillFix', $timeout => ({\n require: '?form',\n priority: 10,\n\n link: function link($scope, element, attrs, form) {\n if (form) {\n const POLL_INTERVAL = 150;\n const MAX_COUNT = 5;\n let promise;\n let count = 0;\n\n (function poll() {\n let filled;\n\n angular.forEach(element.find('input'), elem => {\n const $elem = angular.element(elem);\n const controller = $elem.controller('ngModel');\n const val = $elem.val();\n const type = $elem.attr('type');\n\n if (controller && val && type !== 'checkbox' && type !== 'radio') {\n controller.$setViewValue(val);\n filled = true;\n }\n });\n\n if (!filled || count < MAX_COUNT) {\n promise = $timeout(poll, POLL_INTERVAL);\n count++;\n }\n }());\n\n element.on('$destroy', () => {\n $timeout.cancel(promise);\n });\n\n }\n }\n}));\n\nexport default angularModule.name;\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport styles from './grid.css';\n\nconst ModifierType = PropTypes.oneOf(['xs', 'sm', 'md', 'lg']);\nconst modifierKeys = [\n 'start', 'center', 'end', // text-align, justify-content\n 'around', 'between', // justify-content\n 'top', 'middle', 'baseline', 'bottom', // align-items\n 'first', 'last' // order\n];\n\n/**\n * Converts xs=\"middle\" to class \"middle-xs\"\n * @param {Object} props incoming props\n * @returns {Array} result modifier classes\n */\nfunction getModifierClassNames(props) {\n return modifierKeys.reduce((result, key) => {\n if (props[key]) {\n return result.concat(styles[`${key}-${props[key]}`]);\n }\n return result;\n }, []);\n}\n\nexport default class Row extends Component {\n static propTypes = {\n reverse: PropTypes.bool,\n start: ModifierType,\n center: ModifierType,\n end: ModifierType,\n top: ModifierType,\n middle: ModifierType,\n baseline: ModifierType,\n bottom: ModifierType,\n around: ModifierType,\n between: ModifierType,\n first: ModifierType,\n last: ModifierType,\n className: PropTypes.string,\n children: PropTypes.node\n };\n\n render() {\n const {children, className, reverse, ...restProps} = this.props;\n\n const classes = classNames(className, styles.row, getModifierClassNames(restProps), {\n [styles.reverse]: reverse\n });\n\n return (\n <div className={classes}>\n {children}\n </div>\n );\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport styles from './grid.css';\n\nconst ModifierType = PropTypes.oneOfType([PropTypes.number, PropTypes.bool]);\n\nconst classMap = {\n xs: 'col-xs',\n sm: 'col-sm',\n md: 'col-md',\n lg: 'col-lg',\n xsOffset: 'col-xs-offset',\n smOffset: 'col-sm-offset',\n mdOffset: 'col-md-offset',\n lgOffset: 'col-lg-offset'\n};\n\n/**\n * Converts props like \"xs=9 xsOffset={2}\" to classes \"col-xs-9 col-xs-offset-2\"\n * @param {Object} props incoming props\n * @returns {Array} result classnames\n */\nfunction getClassNames(props) {\n return Object.keys(props).\n filter(key => classMap[key]).\n map(key => styles[Number.isInteger(props[key]) ? `${classMap[key]}-${props[key]}` : classMap[key]]);\n}\n\nexport default class Col extends Component {\n static propTypes = {\n xs: ModifierType,\n sm: ModifierType,\n md: ModifierType,\n lg: ModifierType,\n xsOffset: PropTypes.number,\n smOffset: PropTypes.number,\n mdOffset: PropTypes.number,\n lgOffset: PropTypes.number,\n reverse: PropTypes.bool,\n className: PropTypes.string,\n children: PropTypes.node\n };\n\n render() {\n const {children, className, reverse, ...restProps} = this.props;\n const classes = classNames(styles.col, className, getClassNames(restProps), {\n [styles.reverse]: reverse\n });\n\n return (\n <div className={classes}>\n {children}\n </div>\n );\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport styles from './grid.css';\n\n/**\n * @name Grid\n */\n\nexport class Grid extends Component {\n static propTypes = {\n className: PropTypes.string,\n children: PropTypes.node\n };\n\n render() {\n const {children, className, ...restProps} = this.props;\n const classes = classNames(styles['container-fluid'], className);\n\n return (\n <div\n {...restProps}\n className={classes}\n >\n {children}\n </div>\n );\n }\n}\n\nexport {default as Row} from './row';\nexport {default as Col} from './col';\n","/**\n * @name Group Ng\n*/\n\nimport angular from 'angular';\n\nimport styles from '../group/group.css';\n\nconst angularModule = angular.module('Ring.group', []);\n\nangularModule.component('rgGroup', {\n transclude: true,\n template: `<span ng-transclude class=\"${styles.group}\"></span>`\n});\n\nexport default angularModule.name;\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport Icon, {Size} from '../icon/icon';\n\nimport styles from './header.css';\n\nexport default class Logo extends PureComponent {\n static propTypes = {\n className: PropTypes.string\n };\n\n static defaultProps = {\n size: Size.Size48\n };\n\n static Size = Size;\n\n render() {\n const {className, ...restProps} = this.props;\n const classes = classNames(styles.logo, className);\n\n return (\n <div className={classes}>\n <Icon {...restProps}/>\n </div>\n );\n }\n}\n","import React, {Children, Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport styles from './header.css';\n\nconst wrapChild = child => child && (\n <div className={styles.trayItem}>{child}</div>\n);\n\nexport default class Tray extends Component {\n static propTypes = {\n className: PropTypes.string,\n children: PropTypes.node\n };\n\n render() {\n const {children, className, ...restProps} = this.props;\n const classes = classNames(styles.tray, className);\n\n return (\n <div\n {...restProps}\n className={classes}\n >\n {Children.map(children, wrapChild)}\n </div>\n );\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport Button from '../button/button';\n\nimport styles from './header.css';\n\nexport default class TrayIcon extends Component {\n static propTypes = {\n ...Button.propTypes,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]).isRequired,\n rotatable: PropTypes.bool\n };\n\n static defaultProps = {\n ...Button.defaultProps\n };\n\n render() {\n const {className, rotatable: rotatable, ...restProps} = this.props;\n const classes = classNames(styles.icon, className, {\n [styles.rotatable]: rotatable,\n [styles.rotated]: rotatable && restProps.active\n });\n return (\n <Button\n {...restProps}\n className={classes}\n />\n );\n }\n}\n","function toVal(mix) {\n\tvar k, y, str='';\n\n\tif (typeof mix === 'string' || typeof mix === 'number') {\n\t\tstr += mix;\n\t} else if (typeof mix === 'object') {\n\t\tif (Array.isArray(mix)) {\n\t\t\tfor (k=0; k < mix.length; k++) {\n\t\t\t\tif (mix[k]) {\n\t\t\t\t\tif (y = toVal(mix[k])) {\n\t\t\t\t\t\tstr && (str += ' ');\n\t\t\t\t\t\tstr += y;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor (k in mix) {\n\t\t\t\tif (mix[k]) {\n\t\t\t\t\tstr && (str += ' ');\n\t\t\t\t\tstr += k;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn str;\n}\n\nexport default function () {\n\tvar i=0, tmp, x, str='';\n\twhile (i < arguments.length) {\n\t\tif (tmp = arguments[i++]) {\n\t\t\tif (x = toVal(tmp)) {\n\t\t\t\tstr && (str += ' ');\n\t\t\t\tstr += x\n\t\t\t}\n\t\t}\n\t}\n\treturn str;\n}\n","\n\nexport default function calculateSizeAndPositionDataAndUpdateScrollOffset(_ref) {\n var cellCount = _ref.cellCount,\n cellSize = _ref.cellSize,\n computeMetadataCallback = _ref.computeMetadataCallback,\n computeMetadataCallbackProps = _ref.computeMetadataCallbackProps,\n nextCellsCount = _ref.nextCellsCount,\n nextCellSize = _ref.nextCellSize,\n nextScrollToIndex = _ref.nextScrollToIndex,\n scrollToIndex = _ref.scrollToIndex,\n updateScrollOffsetForScrollToIndex = _ref.updateScrollOffsetForScrollToIndex;\n\n // Don't compare cell sizes if they are functions because inline functions would cause infinite loops.\n // In that event users should use the manual recompute methods to inform of changes.\n if (cellCount !== nextCellsCount || (typeof cellSize === 'number' || typeof nextCellSize === 'number') && cellSize !== nextCellSize) {\n computeMetadataCallback(computeMetadataCallbackProps);\n\n // Updated cell metadata may have hidden the previous scrolled-to item.\n // In this case we should also update the scrollTop to ensure it stays visible.\n if (scrollToIndex >= 0 && scrollToIndex === nextScrollToIndex) {\n updateScrollOffsetForScrollToIndex();\n }\n }\n}\n\n/**\n * Helper method that determines when to recalculate row or column metadata.\n */","import _classCallCheck from 'babel-runtime/helpers/classCallCheck';\nimport _createClass from 'babel-runtime/helpers/createClass';\n\n/**\n * Just-in-time calculates and caches size and position information for a collection of cells.\n */\n\nvar CellSizeAndPositionManager = function () {\n\n // Used in deferred mode to track which cells have been queued for measurement.\n\n // Cache of size and position data for cells, mapped by cell index.\n // Note that invalid values may exist in this map so only rely on cells up to this._lastMeasuredIndex\n function CellSizeAndPositionManager(_ref) {\n var cellCount = _ref.cellCount,\n cellSizeGetter = _ref.cellSizeGetter,\n estimatedCellSize = _ref.estimatedCellSize;\n\n _classCallCheck(this, CellSizeAndPositionManager);\n\n this._cellSizeAndPositionData = {};\n this._lastMeasuredIndex = -1;\n this._lastBatchedIndex = -1;\n\n this._cellSizeGetter = cellSizeGetter;\n this._cellCount = cellCount;\n this._estimatedCellSize = estimatedCellSize;\n }\n\n // Measurements for cells up to this index can be trusted; cells afterward should be estimated.\n\n\n _createClass(CellSizeAndPositionManager, [{\n key: 'areOffsetsAdjusted',\n value: function areOffsetsAdjusted() {\n return false;\n }\n }, {\n key: 'configure',\n value: function configure(_ref2) {\n var cellCount = _ref2.cellCount,\n estimatedCellSize = _ref2.estimatedCellSize,\n cellSizeGetter = _ref2.cellSizeGetter;\n\n this._cellCount = cellCount;\n this._estimatedCellSize = estimatedCellSize;\n this._cellSizeGetter = cellSizeGetter;\n }\n }, {\n key: 'getCellCount',\n value: function getCellCount() {\n return this._cellCount;\n }\n }, {\n key: 'getEstimatedCellSize',\n value: function getEstimatedCellSize() {\n return this._estimatedCellSize;\n }\n }, {\n key: 'getLastMeasuredIndex',\n value: function getLastMeasuredIndex() {\n return this._lastMeasuredIndex;\n }\n }, {\n key: 'getOffsetAdjustment',\n value: function getOffsetAdjustment() {\n return 0;\n }\n\n /**\n * This method returns the size and position for the cell at the specified index.\n * It just-in-time calculates (or used cached values) for cells leading up to the index.\n */\n\n }, {\n key: 'getSizeAndPositionOfCell',\n value: function getSizeAndPositionOfCell(index) {\n if (index < 0 || index >= this._cellCount) {\n throw Error('Requested index ' + index + ' is outside of range 0..' + this._cellCount);\n }\n\n if (index > this._lastMeasuredIndex) {\n var lastMeasuredCellSizeAndPosition = this.getSizeAndPositionOfLastMeasuredCell();\n var _offset = lastMeasuredCellSizeAndPosition.offset + lastMeasuredCellSizeAndPosition.size;\n\n for (var i = this._lastMeasuredIndex + 1; i <= index; i++) {\n var _size = this._cellSizeGetter({ index: i });\n\n // undefined or NaN probably means a logic error in the size getter.\n // null means we're using CellMeasurer and haven't yet measured a given index.\n if (_size === undefined || isNaN(_size)) {\n throw Error('Invalid size returned for cell ' + i + ' of value ' + _size);\n } else if (_size === null) {\n this._cellSizeAndPositionData[i] = {\n offset: _offset,\n size: 0\n };\n\n this._lastBatchedIndex = index;\n } else {\n this._cellSizeAndPositionData[i] = {\n offset: _offset,\n size: _size\n };\n\n _offset += _size;\n\n this._lastMeasuredIndex = index;\n }\n }\n }\n\n return this._cellSizeAndPositionData[index];\n }\n }, {\n key: 'getSizeAndPositionOfLastMeasuredCell',\n value: function getSizeAndPositionOfLastMeasuredCell() {\n return this._lastMeasuredIndex >= 0 ? this._cellSizeAndPositionData[this._lastMeasuredIndex] : {\n offset: 0,\n size: 0\n };\n }\n\n /**\n * Total size of all cells being measured.\n * This value will be completely estimated initially.\n * As cells are measured, the estimate will be updated.\n */\n\n }, {\n key: 'getTotalSize',\n value: function getTotalSize() {\n var lastMeasuredCellSizeAndPosition = this.getSizeAndPositionOfLastMeasuredCell();\n var totalSizeOfMeasuredCells = lastMeasuredCellSizeAndPosition.offset + lastMeasuredCellSizeAndPosition.size;\n var numUnmeasuredCells = this._cellCount - this._lastMeasuredIndex - 1;\n var totalSizeOfUnmeasuredCells = numUnmeasuredCells * this._estimatedCellSize;\n return totalSizeOfMeasuredCells + totalSizeOfUnmeasuredCells;\n }\n\n /**\n * Determines a new offset that ensures a certain cell is visible, given the current offset.\n * If the cell is already visible then the current offset will be returned.\n * If the current offset is too great or small, it will be adjusted just enough to ensure the specified index is visible.\n *\n * @param align Desired alignment within container; one of \"auto\" (default), \"start\", or \"end\"\n * @param containerSize Size (width or height) of the container viewport\n * @param currentOffset Container's current (x or y) offset\n * @param totalSize Total size (width or height) of all cells\n * @return Offset to use to ensure the specified cell is visible\n */\n\n }, {\n key: 'getUpdatedOffsetForIndex',\n value: function getUpdatedOffsetForIndex(_ref3) {\n var _ref3$align = _ref3.align,\n align = _ref3$align === undefined ? 'auto' : _ref3$align,\n containerSize = _ref3.containerSize,\n currentOffset = _ref3.currentOffset,\n targetIndex = _ref3.targetIndex;\n\n if (containerSize <= 0) {\n return 0;\n }\n\n var datum = this.getSizeAndPositionOfCell(targetIndex);\n var maxOffset = datum.offset;\n var minOffset = maxOffset - containerSize + datum.size;\n\n var idealOffset = void 0;\n\n switch (align) {\n case 'start':\n idealOffset = maxOffset;\n break;\n case 'end':\n idealOffset = minOffset;\n break;\n case 'center':\n idealOffset = maxOffset - (containerSize - datum.size) / 2;\n break;\n default:\n idealOffset = Math.max(minOffset, Math.min(maxOffset, currentOffset));\n break;\n }\n\n var totalSize = this.getTotalSize();\n\n return Math.max(0, Math.min(totalSize - containerSize, idealOffset));\n }\n }, {\n key: 'getVisibleCellRange',\n value: function getVisibleCellRange(params) {\n var containerSize = params.containerSize,\n offset = params.offset;\n\n\n var totalSize = this.getTotalSize();\n\n if (totalSize === 0) {\n return {};\n }\n\n var maxOffset = offset + containerSize;\n var start = this._findNearestCell(offset);\n\n var datum = this.getSizeAndPositionOfCell(start);\n offset = datum.offset + datum.size;\n\n var stop = start;\n\n while (offset < maxOffset && stop < this._cellCount - 1) {\n stop++;\n\n offset += this.getSizeAndPositionOfCell(stop).size;\n }\n\n return {\n start: start,\n stop: stop\n };\n }\n\n /**\n * Clear all cached values for cells after the specified index.\n * This method should be called for any cell that has changed its size.\n * It will not immediately perform any calculations; they'll be performed the next time getSizeAndPositionOfCell() is called.\n */\n\n }, {\n key: 'resetCell',\n value: function resetCell(index) {\n this._lastMeasuredIndex = Math.min(this._lastMeasuredIndex, index - 1);\n }\n }, {\n key: '_binarySearch',\n value: function _binarySearch(high, low, offset) {\n while (low <= high) {\n var middle = low + Math.floor((high - low) / 2);\n var _currentOffset = this.getSizeAndPositionOfCell(middle).offset;\n\n if (_currentOffset === offset) {\n return middle;\n } else if (_currentOffset < offset) {\n low = middle + 1;\n } else if (_currentOffset > offset) {\n high = middle - 1;\n }\n }\n\n if (low > 0) {\n return low - 1;\n } else {\n return 0;\n }\n }\n }, {\n key: '_exponentialSearch',\n value: function _exponentialSearch(index, offset) {\n var interval = 1;\n\n while (index < this._cellCount && this.getSizeAndPositionOfCell(index).offset < offset) {\n index += interval;\n interval *= 2;\n }\n\n return this._binarySearch(Math.min(index, this._cellCount - 1), Math.floor(index / 2), offset);\n }\n\n /**\n * Searches for the cell (index) nearest the specified offset.\n *\n * If no exact match is found the next lowest cell index will be returned.\n * This allows partially visible cells (with offsets just before/above the fold) to be visible.\n */\n\n }, {\n key: '_findNearestCell',\n value: function _findNearestCell(offset) {\n if (isNaN(offset)) {\n throw Error('Invalid offset ' + offset + ' specified');\n }\n\n // Our search algorithms find the nearest match at or below the specified offset.\n // So make sure the offset is at least 0 or no match will be found.\n offset = Math.max(0, offset);\n\n var lastMeasuredCellSizeAndPosition = this.getSizeAndPositionOfLastMeasuredCell();\n var lastMeasuredIndex = Math.max(0, this._lastMeasuredIndex);\n\n if (lastMeasuredCellSizeAndPosition.offset >= offset) {\n // If we've already measured cells within this range just use a binary search as it's faster.\n return this._binarySearch(lastMeasuredIndex, 0, offset);\n } else {\n // If we haven't yet measured this high, fallback to an exponential search with an inner binary search.\n // The exponential search avoids pre-computing sizes for the full set of cells as a binary search would.\n // The overall complexity for this approach is O(log n).\n return this._exponentialSearch(lastMeasuredIndex, offset);\n }\n }\n }]);\n\n return CellSizeAndPositionManager;\n}();\n\nexport default CellSizeAndPositionManager;\nimport { bpfrpt_proptype_Alignment } from '../types';\nimport { bpfrpt_proptype_CellSizeGetter } from '../types';\nimport { bpfrpt_proptype_VisibleCellRange } from '../types';","var DEFAULT_MAX_ELEMENT_SIZE = 1500000;\nvar CHROME_MAX_ELEMENT_SIZE = 1.67771e7;\n\nvar isBrowser = function isBrowser() {\n return typeof window !== 'undefined';\n};\n\nvar isChrome = function isChrome() {\n return !!window.chrome;\n};\n\nexport var getMaxElementSize = function getMaxElementSize() {\n if (isBrowser()) {\n if (isChrome()) {\n return CHROME_MAX_ELEMENT_SIZE;\n }\n }\n return DEFAULT_MAX_ELEMENT_SIZE;\n};","import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';\nimport _classCallCheck from 'babel-runtime/helpers/classCallCheck';\nimport _createClass from 'babel-runtime/helpers/createClass';\n\n\nimport CellSizeAndPositionManager from './CellSizeAndPositionManager';\n\nimport { getMaxElementSize } from './maxElementSize.js';\n\n/**\n * Browsers have scroll offset limitations (eg Chrome stops scrolling at ~33.5M pixels where as Edge tops out at ~1.5M pixels).\n * After a certain position, the browser won't allow the user to scroll further (even via JavaScript scroll offset adjustments).\n * This util picks a lower ceiling for max size and artificially adjusts positions within to make it transparent for users.\n */\n\n/**\n * Extends CellSizeAndPositionManager and adds scaling behavior for lists that are too large to fit within a browser's native limits.\n */\nvar ScalingCellSizeAndPositionManager = function () {\n function ScalingCellSizeAndPositionManager(_ref) {\n var _ref$maxScrollSize = _ref.maxScrollSize,\n maxScrollSize = _ref$maxScrollSize === undefined ? getMaxElementSize() : _ref$maxScrollSize,\n params = _objectWithoutProperties(_ref, ['maxScrollSize']);\n\n _classCallCheck(this, ScalingCellSizeAndPositionManager);\n\n // Favor composition over inheritance to simplify IE10 support\n this._cellSizeAndPositionManager = new CellSizeAndPositionManager(params);\n this._maxScrollSize = maxScrollSize;\n }\n\n _createClass(ScalingCellSizeAndPositionManager, [{\n key: 'areOffsetsAdjusted',\n value: function areOffsetsAdjusted() {\n return this._cellSizeAndPositionManager.getTotalSize() > this._maxScrollSize;\n }\n }, {\n key: 'configure',\n value: function configure(params) {\n this._cellSizeAndPositionManager.configure(params);\n }\n }, {\n key: 'getCellCount',\n value: function getCellCount() {\n return this._cellSizeAndPositionManager.getCellCount();\n }\n }, {\n key: 'getEstimatedCellSize',\n value: function getEstimatedCellSize() {\n return this._cellSizeAndPositionManager.getEstimatedCellSize();\n }\n }, {\n key: 'getLastMeasuredIndex',\n value: function getLastMeasuredIndex() {\n return this._cellSizeAndPositionManager.getLastMeasuredIndex();\n }\n\n /**\n * Number of pixels a cell at the given position (offset) should be shifted in order to fit within the scaled container.\n * The offset passed to this function is scaled (safe) as well.\n */\n\n }, {\n key: 'getOffsetAdjustment',\n value: function getOffsetAdjustment(_ref2) {\n var containerSize = _ref2.containerSize,\n offset = _ref2.offset;\n\n var totalSize = this._cellSizeAndPositionManager.getTotalSize();\n var safeTotalSize = this.getTotalSize();\n var offsetPercentage = this._getOffsetPercentage({\n containerSize: containerSize,\n offset: offset,\n totalSize: safeTotalSize\n });\n\n return Math.round(offsetPercentage * (safeTotalSize - totalSize));\n }\n }, {\n key: 'getSizeAndPositionOfCell',\n value: function getSizeAndPositionOfCell(index) {\n return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(index);\n }\n }, {\n key: 'getSizeAndPositionOfLastMeasuredCell',\n value: function getSizeAndPositionOfLastMeasuredCell() {\n return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell();\n }\n\n /** See CellSizeAndPositionManager#getTotalSize */\n\n }, {\n key: 'getTotalSize',\n value: function getTotalSize() {\n return Math.min(this._maxScrollSize, this._cellSizeAndPositionManager.getTotalSize());\n }\n\n /** See CellSizeAndPositionManager#getUpdatedOffsetForIndex */\n\n }, {\n key: 'getUpdatedOffsetForIndex',\n value: function getUpdatedOffsetForIndex(_ref3) {\n var _ref3$align = _ref3.align,\n align = _ref3$align === undefined ? 'auto' : _ref3$align,\n containerSize = _ref3.containerSize,\n currentOffset = _ref3.currentOffset,\n targetIndex = _ref3.targetIndex;\n\n currentOffset = this._safeOffsetToOffset({\n containerSize: containerSize,\n offset: currentOffset\n });\n\n var offset = this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({\n align: align,\n containerSize: containerSize,\n currentOffset: currentOffset,\n targetIndex: targetIndex\n });\n\n return this._offsetToSafeOffset({\n containerSize: containerSize,\n offset: offset\n });\n }\n\n /** See CellSizeAndPositionManager#getVisibleCellRange */\n\n }, {\n key: 'getVisibleCellRange',\n value: function getVisibleCellRange(_ref4) {\n var containerSize = _ref4.containerSize,\n offset = _ref4.offset;\n\n offset = this._safeOffsetToOffset({\n containerSize: containerSize,\n offset: offset\n });\n\n return this._cellSizeAndPositionManager.getVisibleCellRange({\n containerSize: containerSize,\n offset: offset\n });\n }\n }, {\n key: 'resetCell',\n value: function resetCell(index) {\n this._cellSizeAndPositionManager.resetCell(index);\n }\n }, {\n key: '_getOffsetPercentage',\n value: function _getOffsetPercentage(_ref5) {\n var containerSize = _ref5.containerSize,\n offset = _ref5.offset,\n totalSize = _ref5.totalSize;\n\n return totalSize <= containerSize ? 0 : offset / (totalSize - containerSize);\n }\n }, {\n key: '_offsetToSafeOffset',\n value: function _offsetToSafeOffset(_ref6) {\n var containerSize = _ref6.containerSize,\n offset = _ref6.offset;\n\n var totalSize = this._cellSizeAndPositionManager.getTotalSize();\n var safeTotalSize = this.getTotalSize();\n\n if (totalSize === safeTotalSize) {\n return offset;\n } else {\n var offsetPercentage = this._getOffsetPercentage({\n containerSize: containerSize,\n offset: offset,\n totalSize: totalSize\n });\n\n return Math.round(offsetPercentage * (safeTotalSize - containerSize));\n }\n }\n }, {\n key: '_safeOffsetToOffset',\n value: function _safeOffsetToOffset(_ref7) {\n var containerSize = _ref7.containerSize,\n offset = _ref7.offset;\n\n var totalSize = this._cellSizeAndPositionManager.getTotalSize();\n var safeTotalSize = this.getTotalSize();\n\n if (totalSize === safeTotalSize) {\n return offset;\n } else {\n var offsetPercentage = this._getOffsetPercentage({\n containerSize: containerSize,\n offset: offset,\n totalSize: safeTotalSize\n });\n\n return Math.round(offsetPercentage * (totalSize - containerSize));\n }\n }\n }]);\n\n return ScalingCellSizeAndPositionManager;\n}();\n\nexport default ScalingCellSizeAndPositionManager;\nimport { bpfrpt_proptype_Alignment } from '../types';\nimport { bpfrpt_proptype_CellSizeGetter } from '../types';\nimport { bpfrpt_proptype_VisibleCellRange } from '../types';","import _Object$keys from 'babel-runtime/core-js/object/keys';\n/**\n * Helper utility that updates the specified callback whenever any of the specified indices have changed.\n */\nexport default function createCallbackMemoizer() {\n var requireAllKeys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n var cachedIndices = {};\n\n return function (_ref) {\n var callback = _ref.callback,\n indices = _ref.indices;\n\n var keys = _Object$keys(indices);\n var allInitialized = !requireAllKeys || keys.every(function (key) {\n var value = indices[key];\n return Array.isArray(value) ? value.length > 0 : value >= 0;\n });\n var indexChanged = keys.length !== _Object$keys(cachedIndices).length || keys.some(function (key) {\n var cachedValue = cachedIndices[key];\n var value = indices[key];\n\n return Array.isArray(value) ? cachedValue.join(',') !== value.join(',') : cachedValue !== value;\n });\n\n cachedIndices = indices;\n\n if (allInitialized && indexChanged) {\n callback(indices);\n }\n };\n}","\n\nimport ScalingCellSizeAndPositionManager from './ScalingCellSizeAndPositionManager.js';\n\n/**\n * Helper function that determines when to update scroll offsets to ensure that a scroll-to-index remains visible.\n * This function also ensures that the scroll ofset isn't past the last column/row of cells.\n */\n\nexport default function updateScrollIndexHelper(_ref) {\n var cellSize = _ref.cellSize,\n cellSizeAndPositionManager = _ref.cellSizeAndPositionManager,\n previousCellsCount = _ref.previousCellsCount,\n previousCellSize = _ref.previousCellSize,\n previousScrollToAlignment = _ref.previousScrollToAlignment,\n previousScrollToIndex = _ref.previousScrollToIndex,\n previousSize = _ref.previousSize,\n scrollOffset = _ref.scrollOffset,\n scrollToAlignment = _ref.scrollToAlignment,\n scrollToIndex = _ref.scrollToIndex,\n size = _ref.size,\n sizeJustIncreasedFromZero = _ref.sizeJustIncreasedFromZero,\n updateScrollIndexCallback = _ref.updateScrollIndexCallback;\n\n var cellCount = cellSizeAndPositionManager.getCellCount();\n var hasScrollToIndex = scrollToIndex >= 0 && scrollToIndex < cellCount;\n var sizeHasChanged = size !== previousSize || sizeJustIncreasedFromZero || !previousCellSize || typeof cellSize === 'number' && cellSize !== previousCellSize;\n\n // If we have a new scroll target OR if height/row-height has changed,\n // We should ensure that the scroll target is visible.\n if (hasScrollToIndex && (sizeHasChanged || scrollToAlignment !== previousScrollToAlignment || scrollToIndex !== previousScrollToIndex)) {\n updateScrollIndexCallback(scrollToIndex);\n\n // If we don't have a selected item but list size or number of children have decreased,\n // Make sure we aren't scrolled too far past the current content.\n } else if (!hasScrollToIndex && cellCount > 0 && (size < previousSize || cellCount < previousCellsCount)) {\n // We need to ensure that the current scroll offset is still within the collection's range.\n // To do this, we don't need to measure everything; CellMeasurer would perform poorly.\n // Just check to make sure we're still okay.\n // Only adjust the scroll position if we've scrolled below the last set of rows.\n if (scrollOffset > cellSizeAndPositionManager.getTotalSize() - size) {\n updateScrollIndexCallback(cellCount - 1);\n }\n }\n}\nimport { bpfrpt_proptype_Alignment } from '../types';\nimport { bpfrpt_proptype_CellSize } from '../types';","export default !!(typeof window !== 'undefined' && window.document && window.document.createElement);","import canUseDOM from './canUseDOM';\nvar size;\nexport default function scrollbarSize(recalc) {\n if (!size && size !== 0 || recalc) {\n if (canUseDOM) {\n var scrollDiv = document.createElement('div');\n scrollDiv.style.position = 'absolute';\n scrollDiv.style.top = '-9999px';\n scrollDiv.style.width = '50px';\n scrollDiv.style.height = '50px';\n scrollDiv.style.overflow = 'scroll';\n document.body.appendChild(scrollDiv);\n size = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n document.body.removeChild(scrollDiv);\n }\n }\n\n return size;\n}","\n\n// Properly handle server-side rendering.\nvar win = void 0;\n\nif (typeof window !== 'undefined') {\n win = window;\n} else if (typeof self !== 'undefined') {\n win = self;\n} else {\n win = {};\n}\n\n// requestAnimationFrame() shim by Paul Irish\n// http://paulirish.com/2011/requestanimationframe-for-smart-animating/\nvar request = win.requestAnimationFrame || win.webkitRequestAnimationFrame || win.mozRequestAnimationFrame || win.oRequestAnimationFrame || win.msRequestAnimationFrame || function (callback) {\n return win.setTimeout(callback, 1000 / 60);\n};\n\nvar cancel = win.cancelAnimationFrame || win.webkitCancelAnimationFrame || win.mozCancelAnimationFrame || win.oCancelAnimationFrame || win.msCancelAnimationFrame || function (id) {\n win.clearTimeout(id);\n};\n\nexport var raf = request;\nexport var caf = cancel;","import _Promise from 'babel-runtime/core-js/promise';\nimport { caf, raf } from './animationFrame';\n\nvar bpfrpt_proptype_AnimationTimeoutId = process.env.NODE_ENV === 'production' ? null : {\n id: PropTypes.number.isRequired\n};\n\n\nexport var cancelAnimationTimeout = function cancelAnimationTimeout(frame) {\n return caf(frame.id);\n};\n\n/**\n * Recursively calls requestAnimationFrame until a specified delay has been met or exceeded.\n * When the delay time has been reached the function you're timing out will be called.\n *\n * Credit: Joe Lambert (https://gist.github.com/joelambert/1002116#file-requesttimeout-js)\n */\nexport var requestAnimationTimeout = function requestAnimationTimeout(callback, delay) {\n var start = void 0;\n // wait for end of processing current event handler, because event handler may be long\n _Promise.resolve().then(function () {\n start = Date.now();\n });\n\n var timeout = function timeout() {\n if (Date.now() - start >= delay) {\n callback.call();\n } else {\n frame.id = raf(timeout);\n }\n };\n\n var frame = {\n id: raf(timeout)\n };\n\n return frame;\n};\nimport PropTypes from 'prop-types';\nexport { bpfrpt_proptype_AnimationTimeoutId };","import _Object$assign from 'babel-runtime/core-js/object/assign';\nimport _extends from 'babel-runtime/helpers/extends';\nimport _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';\nimport _classCallCheck from 'babel-runtime/helpers/classCallCheck';\nimport _createClass from 'babel-runtime/helpers/createClass';\nimport _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';\nimport _inherits from 'babel-runtime/helpers/inherits';\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport calculateSizeAndPositionDataAndUpdateScrollOffset from './utils/calculateSizeAndPositionDataAndUpdateScrollOffset';\nimport ScalingCellSizeAndPositionManager from './utils/ScalingCellSizeAndPositionManager';\nimport createCallbackMemoizer from '../utils/createCallbackMemoizer';\nimport defaultOverscanIndicesGetter, { SCROLL_DIRECTION_BACKWARD, SCROLL_DIRECTION_FORWARD } from './defaultOverscanIndicesGetter';\nimport updateScrollIndexHelper from './utils/updateScrollIndexHelper';\nimport defaultCellRangeRenderer from './defaultCellRangeRenderer';\nimport scrollbarSize from 'dom-helpers/scrollbarSize';\nimport { polyfill } from 'react-lifecycles-compat';\nimport { requestAnimationTimeout, cancelAnimationTimeout } from '../utils/requestAnimationTimeout';\n\n/**\n * Specifies the number of milliseconds during which to disable pointer events while a scroll is in progress.\n * This improves performance and makes scrolling smoother.\n */\nexport var DEFAULT_SCROLLING_RESET_TIME_INTERVAL = 150;\n\n/**\n * Controls whether the Grid updates the DOM element's scrollLeft/scrollTop based on the current state or just observes it.\n * This prevents Grid from interrupting mouse-wheel animations (see issue #2).\n */\nvar SCROLL_POSITION_CHANGE_REASONS = {\n OBSERVED: 'observed',\n REQUESTED: 'requested'\n};\n\nvar renderNull = function renderNull() {\n return null;\n};\n\n/**\n * Renders tabular data with virtualization along the vertical and horizontal axes.\n * Row heights and column widths must be known ahead of time and specified as properties.\n */\nvar Grid = function (_React$PureComponent) {\n _inherits(Grid, _React$PureComponent);\n\n // Invokes onSectionRendered callback only when start/stop row or column indices change\n function Grid(props) {\n _classCallCheck(this, Grid);\n\n var _this = _possibleConstructorReturn(this, (Grid.__proto__ || _Object$getPrototypeOf(Grid)).call(this, props));\n\n _this._onGridRenderedMemoizer = createCallbackMemoizer();\n _this._onScrollMemoizer = createCallbackMemoizer(false);\n _this._deferredInvalidateColumnIndex = null;\n _this._deferredInvalidateRowIndex = null;\n _this._recomputeScrollLeftFlag = false;\n _this._recomputeScrollTopFlag = false;\n _this._horizontalScrollBarSize = 0;\n _this._verticalScrollBarSize = 0;\n _this._scrollbarPresenceChanged = false;\n _this._renderedColumnStartIndex = 0;\n _this._renderedColumnStopIndex = 0;\n _this._renderedRowStartIndex = 0;\n _this._renderedRowStopIndex = 0;\n _this._styleCache = {};\n _this._cellCache = {};\n\n _this._debounceScrollEndedCallback = function () {\n _this._disablePointerEventsTimeoutId = null;\n // isScrolling is used to determine if we reset styleCache\n _this.setState({\n isScrolling: false,\n needToResetStyleCache: false\n });\n };\n\n _this._invokeOnGridRenderedHelper = function () {\n var onSectionRendered = _this.props.onSectionRendered;\n\n\n _this._onGridRenderedMemoizer({\n callback: onSectionRendered,\n indices: {\n columnOverscanStartIndex: _this._columnStartIndex,\n columnOverscanStopIndex: _this._columnStopIndex,\n columnStartIndex: _this._renderedColumnStartIndex,\n columnStopIndex: _this._renderedColumnStopIndex,\n rowOverscanStartIndex: _this._rowStartIndex,\n rowOverscanStopIndex: _this._rowStopIndex,\n rowStartIndex: _this._renderedRowStartIndex,\n rowStopIndex: _this._renderedRowStopIndex\n }\n });\n };\n\n _this._setScrollingContainerRef = function (ref) {\n _this._scrollingContainer = ref;\n };\n\n _this._onScroll = function (event) {\n // In certain edge-cases React dispatches an onScroll event with an invalid target.scrollLeft / target.scrollTop.\n // This invalid event can be detected by comparing event.target to this component's scrollable DOM element.\n // See issue #404 for more information.\n if (event.target === _this._scrollingContainer) {\n _this.handleScrollEvent(event.target);\n }\n };\n\n var columnSizeAndPositionManager = new ScalingCellSizeAndPositionManager({\n cellCount: props.columnCount,\n cellSizeGetter: function cellSizeGetter(params) {\n return Grid._wrapSizeGetter(props.columnWidth)(params);\n },\n estimatedCellSize: Grid._getEstimatedColumnSize(props)\n });\n var rowSizeAndPositionManager = new ScalingCellSizeAndPositionManager({\n cellCount: props.rowCount,\n cellSizeGetter: function cellSizeGetter(params) {\n return Grid._wrapSizeGetter(props.rowHeight)(params);\n },\n estimatedCellSize: Grid._getEstimatedRowSize(props)\n });\n\n _this.state = {\n instanceProps: {\n columnSizeAndPositionManager: columnSizeAndPositionManager,\n rowSizeAndPositionManager: rowSizeAndPositionManager,\n\n prevColumnWidth: props.columnWidth,\n prevRowHeight: props.rowHeight,\n prevColumnCount: props.columnCount,\n prevRowCount: props.rowCount,\n prevIsScrolling: props.isScrolling === true,\n prevScrollToColumn: props.scrollToColumn,\n prevScrollToRow: props.scrollToRow,\n\n scrollbarSize: 0,\n scrollbarSizeMeasured: false\n },\n isScrolling: false,\n scrollDirectionHorizontal: SCROLL_DIRECTION_FORWARD,\n scrollDirectionVertical: SCROLL_DIRECTION_FORWARD,\n scrollLeft: 0,\n scrollTop: 0,\n scrollPositionChangeReason: null,\n\n needToResetStyleCache: false\n };\n\n if (props.scrollToRow > 0) {\n _this._initialScrollTop = _this._getCalculatedScrollTop(props, _this.state);\n }\n if (props.scrollToColumn > 0) {\n _this._initialScrollLeft = _this._getCalculatedScrollLeft(props, _this.state);\n }\n return _this;\n }\n\n /**\n * Gets offsets for a given cell and alignment.\n */\n\n\n _createClass(Grid, [{\n key: 'getOffsetForCell',\n value: function getOffsetForCell() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$alignment = _ref.alignment,\n alignment = _ref$alignment === undefined ? this.props.scrollToAlignment : _ref$alignment,\n _ref$columnIndex = _ref.columnIndex,\n columnIndex = _ref$columnIndex === undefined ? this.props.scrollToColumn : _ref$columnIndex,\n _ref$rowIndex = _ref.rowIndex,\n rowIndex = _ref$rowIndex === undefined ? this.props.scrollToRow : _ref$rowIndex;\n\n var offsetProps = _extends({}, this.props, {\n scrollToAlignment: alignment,\n scrollToColumn: columnIndex,\n scrollToRow: rowIndex\n });\n\n return {\n scrollLeft: this._getCalculatedScrollLeft(offsetProps),\n scrollTop: this._getCalculatedScrollTop(offsetProps)\n };\n }\n\n /**\n * Gets estimated total rows' height.\n */\n\n }, {\n key: 'getTotalRowsHeight',\n value: function getTotalRowsHeight() {\n return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize();\n }\n\n /**\n * Gets estimated total columns' width.\n */\n\n }, {\n key: 'getTotalColumnsWidth',\n value: function getTotalColumnsWidth() {\n return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize();\n }\n\n /**\n * This method handles a scroll event originating from an external scroll control.\n * It's an advanced method and should probably not be used unless you're implementing a custom scroll-bar solution.\n */\n\n }, {\n key: 'handleScrollEvent',\n value: function handleScrollEvent(_ref2) {\n var _ref2$scrollLeft = _ref2.scrollLeft,\n scrollLeftParam = _ref2$scrollLeft === undefined ? 0 : _ref2$scrollLeft,\n _ref2$scrollTop = _ref2.scrollTop,\n scrollTopParam = _ref2$scrollTop === undefined ? 0 : _ref2$scrollTop;\n\n // On iOS, we can arrive at negative offsets by swiping past the start.\n // To prevent flicker here, we make playing in the negative offset zone cause nothing to happen.\n if (scrollTopParam < 0) {\n return;\n }\n\n // Prevent pointer events from interrupting a smooth scroll\n this._debounceScrollEnded();\n\n var _props = this.props,\n autoHeight = _props.autoHeight,\n autoWidth = _props.autoWidth,\n height = _props.height,\n width = _props.width;\n var instanceProps = this.state.instanceProps;\n\n // When this component is shrunk drastically, React dispatches a series of back-to-back scroll events,\n // Gradually converging on a scrollTop that is within the bounds of the new, smaller height.\n // This causes a series of rapid renders that is slow for long lists.\n // We can avoid that by doing some simple bounds checking to ensure that scroll offsets never exceed their bounds.\n\n var scrollbarSize = instanceProps.scrollbarSize;\n var totalRowsHeight = instanceProps.rowSizeAndPositionManager.getTotalSize();\n var totalColumnsWidth = instanceProps.columnSizeAndPositionManager.getTotalSize();\n var scrollLeft = Math.min(Math.max(0, totalColumnsWidth - width + scrollbarSize), scrollLeftParam);\n var scrollTop = Math.min(Math.max(0, totalRowsHeight - height + scrollbarSize), scrollTopParam);\n\n // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n // Don't force a re-render if this is the case.\n // The mouse may move faster then the animation frame does.\n // Use requestAnimationFrame to avoid over-updating.\n if (this.state.scrollLeft !== scrollLeft || this.state.scrollTop !== scrollTop) {\n // Track scrolling direction so we can more efficiently overscan rows to reduce empty space around the edges while scrolling.\n // Don't change direction for an axis unless scroll offset has changed.\n var _scrollDirectionHorizontal = scrollLeft !== this.state.scrollLeft ? scrollLeft > this.state.scrollLeft ? SCROLL_DIRECTION_FORWARD : SCROLL_DIRECTION_BACKWARD : this.state.scrollDirectionHorizontal;\n var _scrollDirectionVertical = scrollTop !== this.state.scrollTop ? scrollTop > this.state.scrollTop ? SCROLL_DIRECTION_FORWARD : SCROLL_DIRECTION_BACKWARD : this.state.scrollDirectionVertical;\n\n var newState = {\n isScrolling: true,\n scrollDirectionHorizontal: _scrollDirectionHorizontal,\n scrollDirectionVertical: _scrollDirectionVertical,\n scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.OBSERVED\n };\n\n if (!autoHeight) {\n newState.scrollTop = scrollTop;\n }\n\n if (!autoWidth) {\n newState.scrollLeft = scrollLeft;\n }\n\n newState.needToResetStyleCache = false;\n this.setState(newState);\n }\n\n this._invokeOnScrollMemoizer({\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n totalColumnsWidth: totalColumnsWidth,\n totalRowsHeight: totalRowsHeight\n });\n }\n\n /**\n * Invalidate Grid size and recompute visible cells.\n * This is a deferred wrapper for recomputeGridSize().\n * It sets a flag to be evaluated on cDM/cDU to avoid unnecessary renders.\n * This method is intended for advanced use-cases like CellMeasurer.\n */\n // @TODO (bvaughn) Add automated test coverage for this.\n\n }, {\n key: 'invalidateCellSizeAfterRender',\n value: function invalidateCellSizeAfterRender(_ref3) {\n var columnIndex = _ref3.columnIndex,\n rowIndex = _ref3.rowIndex;\n\n this._deferredInvalidateColumnIndex = typeof this._deferredInvalidateColumnIndex === 'number' ? Math.min(this._deferredInvalidateColumnIndex, columnIndex) : columnIndex;\n this._deferredInvalidateRowIndex = typeof this._deferredInvalidateRowIndex === 'number' ? Math.min(this._deferredInvalidateRowIndex, rowIndex) : rowIndex;\n }\n\n /**\n * Pre-measure all columns and rows in a Grid.\n * Typically cells are only measured as needed and estimated sizes are used for cells that have not yet been measured.\n * This method ensures that the next call to getTotalSize() returns an exact size (as opposed to just an estimated one).\n */\n\n }, {\n key: 'measureAllCells',\n value: function measureAllCells() {\n var _props2 = this.props,\n columnCount = _props2.columnCount,\n rowCount = _props2.rowCount;\n var instanceProps = this.state.instanceProps;\n\n instanceProps.columnSizeAndPositionManager.getSizeAndPositionOfCell(columnCount - 1);\n instanceProps.rowSizeAndPositionManager.getSizeAndPositionOfCell(rowCount - 1);\n }\n\n /**\n * Forced recompute of row heights and column widths.\n * This function should be called if dynamic column or row sizes have changed but nothing else has.\n * Since Grid only receives :columnCount and :rowCount it has no way of detecting when the underlying data changes.\n */\n\n }, {\n key: 'recomputeGridSize',\n value: function recomputeGridSize() {\n var _ref4 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref4$columnIndex = _ref4.columnIndex,\n columnIndex = _ref4$columnIndex === undefined ? 0 : _ref4$columnIndex,\n _ref4$rowIndex = _ref4.rowIndex,\n rowIndex = _ref4$rowIndex === undefined ? 0 : _ref4$rowIndex;\n\n var _props3 = this.props,\n scrollToColumn = _props3.scrollToColumn,\n scrollToRow = _props3.scrollToRow;\n var instanceProps = this.state.instanceProps;\n\n\n instanceProps.columnSizeAndPositionManager.resetCell(columnIndex);\n instanceProps.rowSizeAndPositionManager.resetCell(rowIndex);\n\n // Cell sizes may be determined by a function property.\n // In this case the cDU handler can't know if they changed.\n // Store this flag to let the next cDU pass know it needs to recompute the scroll offset.\n this._recomputeScrollLeftFlag = scrollToColumn >= 0 && (this.state.scrollDirectionHorizontal === SCROLL_DIRECTION_FORWARD ? columnIndex <= scrollToColumn : columnIndex >= scrollToColumn);\n this._recomputeScrollTopFlag = scrollToRow >= 0 && (this.state.scrollDirectionVertical === SCROLL_DIRECTION_FORWARD ? rowIndex <= scrollToRow : rowIndex >= scrollToRow);\n\n // Clear cell cache in case we are scrolling;\n // Invalid row heights likely mean invalid cached content as well.\n this._styleCache = {};\n this._cellCache = {};\n\n this.forceUpdate();\n }\n\n /**\n * Ensure column and row are visible.\n */\n\n }, {\n key: 'scrollToCell',\n value: function scrollToCell(_ref5) {\n var columnIndex = _ref5.columnIndex,\n rowIndex = _ref5.rowIndex;\n var columnCount = this.props.columnCount;\n\n\n var props = this.props;\n\n // Don't adjust scroll offset for single-column grids (eg List, Table).\n // This can cause a funky scroll offset because of the vertical scrollbar width.\n if (columnCount > 1 && columnIndex !== undefined) {\n this._updateScrollLeftForScrollToColumn(_extends({}, props, {\n scrollToColumn: columnIndex\n }));\n }\n\n if (rowIndex !== undefined) {\n this._updateScrollTopForScrollToRow(_extends({}, props, {\n scrollToRow: rowIndex\n }));\n }\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n var _props4 = this.props,\n getScrollbarSize = _props4.getScrollbarSize,\n height = _props4.height,\n scrollLeft = _props4.scrollLeft,\n scrollToColumn = _props4.scrollToColumn,\n scrollTop = _props4.scrollTop,\n scrollToRow = _props4.scrollToRow,\n width = _props4.width;\n var instanceProps = this.state.instanceProps;\n\n // Reset initial offsets to be ignored in browser\n\n this._initialScrollTop = 0;\n this._initialScrollLeft = 0;\n\n // If cell sizes have been invalidated (eg we are using CellMeasurer) then reset cached positions.\n // We must do this at the start of the method as we may calculate and update scroll position below.\n this._handleInvalidatedGridSize();\n\n // If this component was first rendered server-side, scrollbar size will be undefined.\n // In that event we need to remeasure.\n if (!instanceProps.scrollbarSizeMeasured) {\n this.setState(function (prevState) {\n var stateUpdate = _extends({}, prevState, { needToResetStyleCache: false });\n stateUpdate.instanceProps.scrollbarSize = getScrollbarSize();\n stateUpdate.instanceProps.scrollbarSizeMeasured = true;\n return stateUpdate;\n });\n }\n\n if (typeof scrollLeft === 'number' && scrollLeft >= 0 || typeof scrollTop === 'number' && scrollTop >= 0) {\n var stateUpdate = Grid._getScrollToPositionStateUpdate({\n prevState: this.state,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n });\n if (stateUpdate) {\n stateUpdate.needToResetStyleCache = false;\n this.setState(stateUpdate);\n }\n }\n\n // refs don't work in `react-test-renderer`\n if (this._scrollingContainer) {\n // setting the ref's scrollLeft and scrollTop.\n // Somehow in MultiGrid the main grid doesn't trigger a update on mount.\n if (this._scrollingContainer.scrollLeft !== this.state.scrollLeft) {\n this._scrollingContainer.scrollLeft = this.state.scrollLeft;\n }\n if (this._scrollingContainer.scrollTop !== this.state.scrollTop) {\n this._scrollingContainer.scrollTop = this.state.scrollTop;\n }\n }\n\n // Don't update scroll offset if the size is 0; we don't render any cells in this case.\n // Setting a state may cause us to later thing we've updated the offce when we haven't.\n var sizeIsBiggerThanZero = height > 0 && width > 0;\n if (scrollToColumn >= 0 && sizeIsBiggerThanZero) {\n this._updateScrollLeftForScrollToColumn();\n }\n if (scrollToRow >= 0 && sizeIsBiggerThanZero) {\n this._updateScrollTopForScrollToRow();\n }\n\n // Update onRowsRendered callback\n this._invokeOnGridRenderedHelper();\n\n // Initialize onScroll callback\n this._invokeOnScrollMemoizer({\n scrollLeft: scrollLeft || 0,\n scrollTop: scrollTop || 0,\n totalColumnsWidth: instanceProps.columnSizeAndPositionManager.getTotalSize(),\n totalRowsHeight: instanceProps.rowSizeAndPositionManager.getTotalSize()\n });\n\n this._maybeCallOnScrollbarPresenceChange();\n }\n\n /**\n * @private\n * This method updates scrollLeft/scrollTop in state for the following conditions:\n * 1) New scroll-to-cell props have been set\n */\n\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps, prevState) {\n var _this2 = this;\n\n var _props5 = this.props,\n autoHeight = _props5.autoHeight,\n autoWidth = _props5.autoWidth,\n columnCount = _props5.columnCount,\n height = _props5.height,\n rowCount = _props5.rowCount,\n scrollToAlignment = _props5.scrollToAlignment,\n scrollToColumn = _props5.scrollToColumn,\n scrollToRow = _props5.scrollToRow,\n width = _props5.width;\n var _state = this.state,\n scrollLeft = _state.scrollLeft,\n scrollPositionChangeReason = _state.scrollPositionChangeReason,\n scrollTop = _state.scrollTop,\n instanceProps = _state.instanceProps;\n // If cell sizes have been invalidated (eg we are using CellMeasurer) then reset cached positions.\n // We must do this at the start of the method as we may calculate and update scroll position below.\n\n this._handleInvalidatedGridSize();\n\n // Handle edge case where column or row count has only just increased over 0.\n // In this case we may have to restore a previously-specified scroll offset.\n // For more info see bvaughn/react-virtualized/issues/218\n var columnOrRowCountJustIncreasedFromZero = columnCount > 0 && prevProps.columnCount === 0 || rowCount > 0 && prevProps.rowCount === 0;\n\n // Make sure requested changes to :scrollLeft or :scrollTop get applied.\n // Assigning to scrollLeft/scrollTop tells the browser to interrupt any running scroll animations,\n // And to discard any pending async changes to the scroll position that may have happened in the meantime (e.g. on a separate scrolling thread).\n // So we only set these when we require an adjustment of the scroll position.\n // See issue #2 for more information.\n if (scrollPositionChangeReason === SCROLL_POSITION_CHANGE_REASONS.REQUESTED) {\n // @TRICKY :autoHeight and :autoWidth properties instructs Grid to leave :scrollTop and :scrollLeft management to an external HOC (eg WindowScroller).\n // In this case we should avoid checking scrollingContainer.scrollTop and scrollingContainer.scrollLeft since it forces layout/flow.\n if (!autoWidth && scrollLeft >= 0 && (scrollLeft !== this._scrollingContainer.scrollLeft || columnOrRowCountJustIncreasedFromZero)) {\n this._scrollingContainer.scrollLeft = scrollLeft;\n }\n if (!autoHeight && scrollTop >= 0 && (scrollTop !== this._scrollingContainer.scrollTop || columnOrRowCountJustIncreasedFromZero)) {\n this._scrollingContainer.scrollTop = scrollTop;\n }\n }\n\n // Special case where the previous size was 0:\n // In this case we don't show any windowed cells at all.\n // So we should always recalculate offset afterwards.\n var sizeJustIncreasedFromZero = (prevProps.width === 0 || prevProps.height === 0) && height > 0 && width > 0;\n\n // Update scroll offsets if the current :scrollToColumn or :scrollToRow values requires it\n // @TODO Do we also need this check or can the one in componentWillUpdate() suffice?\n if (this._recomputeScrollLeftFlag) {\n this._recomputeScrollLeftFlag = false;\n this._updateScrollLeftForScrollToColumn(this.props);\n } else {\n updateScrollIndexHelper({\n cellSizeAndPositionManager: instanceProps.columnSizeAndPositionManager,\n previousCellsCount: prevProps.columnCount,\n previousCellSize: prevProps.columnWidth,\n previousScrollToAlignment: prevProps.scrollToAlignment,\n previousScrollToIndex: prevProps.scrollToColumn,\n previousSize: prevProps.width,\n scrollOffset: scrollLeft,\n scrollToAlignment: scrollToAlignment,\n scrollToIndex: scrollToColumn,\n size: width,\n sizeJustIncreasedFromZero: sizeJustIncreasedFromZero,\n updateScrollIndexCallback: function updateScrollIndexCallback() {\n return _this2._updateScrollLeftForScrollToColumn(_this2.props);\n }\n });\n }\n\n if (this._recomputeScrollTopFlag) {\n this._recomputeScrollTopFlag = false;\n this._updateScrollTopForScrollToRow(this.props);\n } else {\n updateScrollIndexHelper({\n cellSizeAndPositionManager: instanceProps.rowSizeAndPositionManager,\n previousCellsCount: prevProps.rowCount,\n previousCellSize: prevProps.rowHeight,\n previousScrollToAlignment: prevProps.scrollToAlignment,\n previousScrollToIndex: prevProps.scrollToRow,\n previousSize: prevProps.height,\n scrollOffset: scrollTop,\n scrollToAlignment: scrollToAlignment,\n scrollToIndex: scrollToRow,\n size: height,\n sizeJustIncreasedFromZero: sizeJustIncreasedFromZero,\n updateScrollIndexCallback: function updateScrollIndexCallback() {\n return _this2._updateScrollTopForScrollToRow(_this2.props);\n }\n });\n }\n\n // Update onRowsRendered callback if start/stop indices have changed\n this._invokeOnGridRenderedHelper();\n\n // Changes to :scrollLeft or :scrollTop should also notify :onScroll listeners\n if (scrollLeft !== prevState.scrollLeft || scrollTop !== prevState.scrollTop) {\n var totalRowsHeight = instanceProps.rowSizeAndPositionManager.getTotalSize();\n var totalColumnsWidth = instanceProps.columnSizeAndPositionManager.getTotalSize();\n\n this._invokeOnScrollMemoizer({\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n totalColumnsWidth: totalColumnsWidth,\n totalRowsHeight: totalRowsHeight\n });\n }\n\n this._maybeCallOnScrollbarPresenceChange();\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (this._disablePointerEventsTimeoutId) {\n cancelAnimationTimeout(this._disablePointerEventsTimeoutId);\n }\n }\n\n /**\n * This method updates scrollLeft/scrollTop in state for the following conditions:\n * 1) Empty content (0 rows or columns)\n * 2) New scroll props overriding the current state\n * 3) Cells-count or cells-size has changed, making previous scroll offsets invalid\n */\n\n }, {\n key: 'render',\n value: function render() {\n var _props6 = this.props,\n autoContainerWidth = _props6.autoContainerWidth,\n autoHeight = _props6.autoHeight,\n autoWidth = _props6.autoWidth,\n className = _props6.className,\n containerProps = _props6.containerProps,\n containerRole = _props6.containerRole,\n containerStyle = _props6.containerStyle,\n height = _props6.height,\n id = _props6.id,\n noContentRenderer = _props6.noContentRenderer,\n role = _props6.role,\n style = _props6.style,\n tabIndex = _props6.tabIndex,\n width = _props6.width;\n var _state2 = this.state,\n instanceProps = _state2.instanceProps,\n needToResetStyleCache = _state2.needToResetStyleCache;\n\n\n var isScrolling = this._isScrolling();\n\n var gridStyle = {\n boxSizing: 'border-box',\n direction: 'ltr',\n height: autoHeight ? 'auto' : height,\n position: 'relative',\n width: autoWidth ? 'auto' : width,\n WebkitOverflowScrolling: 'touch',\n willChange: 'transform'\n };\n\n if (needToResetStyleCache) {\n this._styleCache = {};\n }\n\n // calculate _styleCache here\n // if state.isScrolling (not from _isScrolling) then reset\n if (!this.state.isScrolling) {\n this._resetStyleCache();\n }\n\n // calculate children to render here\n this._calculateChildrenToRender(this.props, this.state);\n\n var totalColumnsWidth = instanceProps.columnSizeAndPositionManager.getTotalSize();\n var totalRowsHeight = instanceProps.rowSizeAndPositionManager.getTotalSize();\n\n // Force browser to hide scrollbars when we know they aren't necessary.\n // Otherwise once scrollbars appear they may not disappear again.\n // For more info see issue #116\n var verticalScrollBarSize = totalRowsHeight > height ? instanceProps.scrollbarSize : 0;\n var horizontalScrollBarSize = totalColumnsWidth > width ? instanceProps.scrollbarSize : 0;\n\n if (horizontalScrollBarSize !== this._horizontalScrollBarSize || verticalScrollBarSize !== this._verticalScrollBarSize) {\n this._horizontalScrollBarSize = horizontalScrollBarSize;\n this._verticalScrollBarSize = verticalScrollBarSize;\n this._scrollbarPresenceChanged = true;\n }\n\n // Also explicitly init styles to 'auto' if scrollbars are required.\n // This works around an obscure edge case where external CSS styles have not yet been loaded,\n // But an initial scroll index of offset is set as an external prop.\n // Without this style, Grid would render the correct range of cells but would NOT update its internal offset.\n // This was originally reported via clauderic/react-infinite-calendar/issues/23\n gridStyle.overflowX = totalColumnsWidth + verticalScrollBarSize <= width ? 'hidden' : 'auto';\n gridStyle.overflowY = totalRowsHeight + horizontalScrollBarSize <= height ? 'hidden' : 'auto';\n\n var childrenToDisplay = this._childrenToDisplay;\n\n var showNoContentRenderer = childrenToDisplay.length === 0 && height > 0 && width > 0;\n\n return React.createElement(\n 'div',\n _extends({\n ref: this._setScrollingContainerRef\n }, containerProps, {\n 'aria-label': this.props['aria-label'],\n 'aria-readonly': this.props['aria-readonly'],\n className: clsx('ReactVirtualized__Grid', className),\n id: id,\n onScroll: this._onScroll,\n role: role,\n style: _extends({}, gridStyle, style),\n tabIndex: tabIndex }),\n childrenToDisplay.length > 0 && React.createElement(\n 'div',\n {\n className: 'ReactVirtualized__Grid__innerScrollContainer',\n role: containerRole,\n style: _extends({\n width: autoContainerWidth ? 'auto' : totalColumnsWidth,\n height: totalRowsHeight,\n maxWidth: totalColumnsWidth,\n maxHeight: totalRowsHeight,\n overflow: 'hidden',\n pointerEvents: isScrolling ? 'none' : '',\n position: 'relative'\n }, containerStyle) },\n childrenToDisplay\n ),\n showNoContentRenderer && noContentRenderer()\n );\n }\n\n /* ---------------------------- Helper methods ---------------------------- */\n\n }, {\n key: '_calculateChildrenToRender',\n value: function _calculateChildrenToRender() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props;\n var state = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.state;\n var cellRenderer = props.cellRenderer,\n cellRangeRenderer = props.cellRangeRenderer,\n columnCount = props.columnCount,\n deferredMeasurementCache = props.deferredMeasurementCache,\n height = props.height,\n overscanColumnCount = props.overscanColumnCount,\n overscanIndicesGetter = props.overscanIndicesGetter,\n overscanRowCount = props.overscanRowCount,\n rowCount = props.rowCount,\n width = props.width,\n isScrollingOptOut = props.isScrollingOptOut;\n var scrollDirectionHorizontal = state.scrollDirectionHorizontal,\n scrollDirectionVertical = state.scrollDirectionVertical,\n instanceProps = state.instanceProps;\n\n\n var scrollTop = this._initialScrollTop > 0 ? this._initialScrollTop : state.scrollTop;\n var scrollLeft = this._initialScrollLeft > 0 ? this._initialScrollLeft : state.scrollLeft;\n\n var isScrolling = this._isScrolling(props, state);\n\n this._childrenToDisplay = [];\n\n // Render only enough columns and rows to cover the visible area of the grid.\n if (height > 0 && width > 0) {\n var visibleColumnIndices = instanceProps.columnSizeAndPositionManager.getVisibleCellRange({\n containerSize: width,\n offset: scrollLeft\n });\n var visibleRowIndices = instanceProps.rowSizeAndPositionManager.getVisibleCellRange({\n containerSize: height,\n offset: scrollTop\n });\n\n var horizontalOffsetAdjustment = instanceProps.columnSizeAndPositionManager.getOffsetAdjustment({\n containerSize: width,\n offset: scrollLeft\n });\n var verticalOffsetAdjustment = instanceProps.rowSizeAndPositionManager.getOffsetAdjustment({\n containerSize: height,\n offset: scrollTop\n });\n\n // Store for _invokeOnGridRenderedHelper()\n this._renderedColumnStartIndex = visibleColumnIndices.start;\n this._renderedColumnStopIndex = visibleColumnIndices.stop;\n this._renderedRowStartIndex = visibleRowIndices.start;\n this._renderedRowStopIndex = visibleRowIndices.stop;\n\n var overscanColumnIndices = overscanIndicesGetter({\n direction: 'horizontal',\n cellCount: columnCount,\n overscanCellsCount: overscanColumnCount,\n scrollDirection: scrollDirectionHorizontal,\n startIndex: typeof visibleColumnIndices.start === 'number' ? visibleColumnIndices.start : 0,\n stopIndex: typeof visibleColumnIndices.stop === 'number' ? visibleColumnIndices.stop : -1\n });\n\n var overscanRowIndices = overscanIndicesGetter({\n direction: 'vertical',\n cellCount: rowCount,\n overscanCellsCount: overscanRowCount,\n scrollDirection: scrollDirectionVertical,\n startIndex: typeof visibleRowIndices.start === 'number' ? visibleRowIndices.start : 0,\n stopIndex: typeof visibleRowIndices.stop === 'number' ? visibleRowIndices.stop : -1\n });\n\n // Store for _invokeOnGridRenderedHelper()\n var columnStartIndex = overscanColumnIndices.overscanStartIndex;\n var columnStopIndex = overscanColumnIndices.overscanStopIndex;\n var rowStartIndex = overscanRowIndices.overscanStartIndex;\n var rowStopIndex = overscanRowIndices.overscanStopIndex;\n\n // Advanced use-cases (eg CellMeasurer) require batched measurements to determine accurate sizes.\n if (deferredMeasurementCache) {\n // If rows have a dynamic height, scan the rows we are about to render.\n // If any have not yet been measured, then we need to render all columns initially,\n // Because the height of the row is equal to the tallest cell within that row,\n // (And so we can't know the height without measuring all column-cells first).\n if (!deferredMeasurementCache.hasFixedHeight()) {\n for (var rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n if (!deferredMeasurementCache.has(rowIndex, 0)) {\n columnStartIndex = 0;\n columnStopIndex = columnCount - 1;\n break;\n }\n }\n }\n\n // If columns have a dynamic width, scan the columns we are about to render.\n // If any have not yet been measured, then we need to render all rows initially,\n // Because the width of the column is equal to the widest cell within that column,\n // (And so we can't know the width without measuring all row-cells first).\n if (!deferredMeasurementCache.hasFixedWidth()) {\n for (var columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n if (!deferredMeasurementCache.has(0, columnIndex)) {\n rowStartIndex = 0;\n rowStopIndex = rowCount - 1;\n break;\n }\n }\n }\n }\n\n this._childrenToDisplay = cellRangeRenderer({\n cellCache: this._cellCache,\n cellRenderer: cellRenderer,\n columnSizeAndPositionManager: instanceProps.columnSizeAndPositionManager,\n columnStartIndex: columnStartIndex,\n columnStopIndex: columnStopIndex,\n deferredMeasurementCache: deferredMeasurementCache,\n horizontalOffsetAdjustment: horizontalOffsetAdjustment,\n isScrolling: isScrolling,\n isScrollingOptOut: isScrollingOptOut,\n parent: this,\n rowSizeAndPositionManager: instanceProps.rowSizeAndPositionManager,\n rowStartIndex: rowStartIndex,\n rowStopIndex: rowStopIndex,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n styleCache: this._styleCache,\n verticalOffsetAdjustment: verticalOffsetAdjustment,\n visibleColumnIndices: visibleColumnIndices,\n visibleRowIndices: visibleRowIndices\n });\n\n // update the indices\n this._columnStartIndex = columnStartIndex;\n this._columnStopIndex = columnStopIndex;\n this._rowStartIndex = rowStartIndex;\n this._rowStopIndex = rowStopIndex;\n }\n }\n\n /**\n * Sets an :isScrolling flag for a small window of time.\n * This flag is used to disable pointer events on the scrollable portion of the Grid.\n * This prevents jerky/stuttery mouse-wheel scrolling.\n */\n\n }, {\n key: '_debounceScrollEnded',\n value: function _debounceScrollEnded() {\n var scrollingResetTimeInterval = this.props.scrollingResetTimeInterval;\n\n\n if (this._disablePointerEventsTimeoutId) {\n cancelAnimationTimeout(this._disablePointerEventsTimeoutId);\n }\n\n this._disablePointerEventsTimeoutId = requestAnimationTimeout(this._debounceScrollEndedCallback, scrollingResetTimeInterval);\n }\n }, {\n key: '_handleInvalidatedGridSize',\n\n\n /**\n * Check for batched CellMeasurer size invalidations.\n * This will occur the first time one or more previously unmeasured cells are rendered.\n */\n value: function _handleInvalidatedGridSize() {\n if (typeof this._deferredInvalidateColumnIndex === 'number' && typeof this._deferredInvalidateRowIndex === 'number') {\n var columnIndex = this._deferredInvalidateColumnIndex;\n var rowIndex = this._deferredInvalidateRowIndex;\n\n this._deferredInvalidateColumnIndex = null;\n this._deferredInvalidateRowIndex = null;\n\n this.recomputeGridSize({ columnIndex: columnIndex, rowIndex: rowIndex });\n }\n }\n }, {\n key: '_invokeOnScrollMemoizer',\n value: function _invokeOnScrollMemoizer(_ref6) {\n var _this3 = this;\n\n var scrollLeft = _ref6.scrollLeft,\n scrollTop = _ref6.scrollTop,\n totalColumnsWidth = _ref6.totalColumnsWidth,\n totalRowsHeight = _ref6.totalRowsHeight;\n\n this._onScrollMemoizer({\n callback: function callback(_ref7) {\n var scrollLeft = _ref7.scrollLeft,\n scrollTop = _ref7.scrollTop;\n var _props7 = _this3.props,\n height = _props7.height,\n onScroll = _props7.onScroll,\n width = _props7.width;\n\n\n onScroll({\n clientHeight: height,\n clientWidth: width,\n scrollHeight: totalRowsHeight,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n scrollWidth: totalColumnsWidth\n });\n },\n indices: {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n }\n });\n }\n }, {\n key: '_isScrolling',\n value: function _isScrolling() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props;\n var state = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.state;\n\n // If isScrolling is defined in props, use it to override the value in state\n // This is a performance optimization for WindowScroller + Grid\n return Object.hasOwnProperty.call(props, 'isScrolling') ? Boolean(props.isScrolling) : Boolean(state.isScrolling);\n }\n }, {\n key: '_maybeCallOnScrollbarPresenceChange',\n value: function _maybeCallOnScrollbarPresenceChange() {\n if (this._scrollbarPresenceChanged) {\n var _onScrollbarPresenceChange = this.props.onScrollbarPresenceChange;\n\n\n this._scrollbarPresenceChanged = false;\n\n _onScrollbarPresenceChange({\n horizontal: this._horizontalScrollBarSize > 0,\n size: this.state.instanceProps.scrollbarSize,\n vertical: this._verticalScrollBarSize > 0\n });\n }\n }\n }, {\n key: 'scrollToPosition',\n\n\n /**\n * Scroll to the specified offset(s).\n * Useful for animating position changes.\n */\n value: function scrollToPosition(_ref8) {\n var scrollLeft = _ref8.scrollLeft,\n scrollTop = _ref8.scrollTop;\n\n var stateUpdate = Grid._getScrollToPositionStateUpdate({\n prevState: this.state,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n });\n\n if (stateUpdate) {\n stateUpdate.needToResetStyleCache = false;\n this.setState(stateUpdate);\n }\n }\n }, {\n key: '_getCalculatedScrollLeft',\n value: function _getCalculatedScrollLeft() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props;\n var state = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.state;\n\n return Grid._getCalculatedScrollLeft(props, state);\n }\n }, {\n key: '_updateScrollLeftForScrollToColumn',\n value: function _updateScrollLeftForScrollToColumn() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props;\n var state = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.state;\n\n var stateUpdate = Grid._getScrollLeftForScrollToColumnStateUpdate(props, state);\n if (stateUpdate) {\n stateUpdate.needToResetStyleCache = false;\n this.setState(stateUpdate);\n }\n }\n }, {\n key: '_getCalculatedScrollTop',\n value: function _getCalculatedScrollTop() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props;\n var state = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.state;\n\n return Grid._getCalculatedScrollTop(props, state);\n }\n }, {\n key: '_resetStyleCache',\n value: function _resetStyleCache() {\n var styleCache = this._styleCache;\n var cellCache = this._cellCache;\n var isScrollingOptOut = this.props.isScrollingOptOut;\n\n // Reset cell and style caches once scrolling stops.\n // This makes Grid simpler to use (since cells commonly change).\n // And it keeps the caches from growing too large.\n // Performance is most sensitive when a user is scrolling.\n // Don't clear visible cells from cellCache if isScrollingOptOut is specified.\n // This keeps the cellCache to a resonable size.\n\n this._cellCache = {};\n this._styleCache = {};\n\n // Copy over the visible cell styles so avoid unnecessary re-render.\n for (var rowIndex = this._rowStartIndex; rowIndex <= this._rowStopIndex; rowIndex++) {\n for (var columnIndex = this._columnStartIndex; columnIndex <= this._columnStopIndex; columnIndex++) {\n var key = rowIndex + '-' + columnIndex;\n this._styleCache[key] = styleCache[key];\n\n if (isScrollingOptOut) {\n this._cellCache[key] = cellCache[key];\n }\n }\n }\n }\n }, {\n key: '_updateScrollTopForScrollToRow',\n value: function _updateScrollTopForScrollToRow() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props;\n var state = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.state;\n\n var stateUpdate = Grid._getScrollTopForScrollToRowStateUpdate(props, state);\n if (stateUpdate) {\n stateUpdate.needToResetStyleCache = false;\n this.setState(stateUpdate);\n }\n }\n }], [{\n key: 'getDerivedStateFromProps',\n value: function getDerivedStateFromProps(nextProps, prevState) {\n var newState = {};\n\n if (nextProps.columnCount === 0 && prevState.scrollLeft !== 0 || nextProps.rowCount === 0 && prevState.scrollTop !== 0) {\n newState.scrollLeft = 0;\n newState.scrollTop = 0;\n\n // only use scroll{Left,Top} from props if scrollTo{Column,Row} isn't specified\n // scrollTo{Column,Row} should override scroll{Left,Top}\n } else if (nextProps.scrollLeft !== prevState.scrollLeft && nextProps.scrollToColumn < 0 || nextProps.scrollTop !== prevState.scrollTop && nextProps.scrollToRow < 0) {\n _Object$assign(newState, Grid._getScrollToPositionStateUpdate({\n prevState: prevState,\n scrollLeft: nextProps.scrollLeft,\n scrollTop: nextProps.scrollTop\n }));\n }\n\n var instanceProps = prevState.instanceProps;\n\n // Initially we should not clearStyleCache\n\n newState.needToResetStyleCache = false;\n if (nextProps.columnWidth !== instanceProps.prevColumnWidth || nextProps.rowHeight !== instanceProps.prevRowHeight) {\n // Reset cache. set it to {} in render\n newState.needToResetStyleCache = true;\n }\n\n instanceProps.columnSizeAndPositionManager.configure({\n cellCount: nextProps.columnCount,\n estimatedCellSize: Grid._getEstimatedColumnSize(nextProps),\n cellSizeGetter: Grid._wrapSizeGetter(nextProps.columnWidth)\n });\n\n instanceProps.rowSizeAndPositionManager.configure({\n cellCount: nextProps.rowCount,\n estimatedCellSize: Grid._getEstimatedRowSize(nextProps),\n cellSizeGetter: Grid._wrapSizeGetter(nextProps.rowHeight)\n });\n\n if (instanceProps.prevColumnCount === 0 || instanceProps.prevRowCount === 0) {\n instanceProps.prevColumnCount = 0;\n instanceProps.prevRowCount = 0;\n }\n\n // If scrolling is controlled outside this component, clear cache when scrolling stops\n if (nextProps.autoHeight && nextProps.isScrolling === false && instanceProps.prevIsScrolling === true) {\n _Object$assign(newState, {\n isScrolling: false\n });\n }\n\n var maybeStateA = void 0;\n var maybeStateB = void 0;\n\n calculateSizeAndPositionDataAndUpdateScrollOffset({\n cellCount: instanceProps.prevColumnCount,\n cellSize: typeof instanceProps.prevColumnWidth === 'number' ? instanceProps.prevColumnWidth : null,\n computeMetadataCallback: function computeMetadataCallback() {\n return instanceProps.columnSizeAndPositionManager.resetCell(0);\n },\n computeMetadataCallbackProps: nextProps,\n nextCellsCount: nextProps.columnCount,\n nextCellSize: typeof nextProps.columnWidth === 'number' ? nextProps.columnWidth : null,\n nextScrollToIndex: nextProps.scrollToColumn,\n scrollToIndex: instanceProps.prevScrollToColumn,\n updateScrollOffsetForScrollToIndex: function updateScrollOffsetForScrollToIndex() {\n maybeStateA = Grid._getScrollLeftForScrollToColumnStateUpdate(nextProps, prevState);\n }\n });\n calculateSizeAndPositionDataAndUpdateScrollOffset({\n cellCount: instanceProps.prevRowCount,\n cellSize: typeof instanceProps.prevRowHeight === 'number' ? instanceProps.prevRowHeight : null,\n computeMetadataCallback: function computeMetadataCallback() {\n return instanceProps.rowSizeAndPositionManager.resetCell(0);\n },\n computeMetadataCallbackProps: nextProps,\n nextCellsCount: nextProps.rowCount,\n nextCellSize: typeof nextProps.rowHeight === 'number' ? nextProps.rowHeight : null,\n nextScrollToIndex: nextProps.scrollToRow,\n scrollToIndex: instanceProps.prevScrollToRow,\n updateScrollOffsetForScrollToIndex: function updateScrollOffsetForScrollToIndex() {\n maybeStateB = Grid._getScrollTopForScrollToRowStateUpdate(nextProps, prevState);\n }\n });\n\n instanceProps.prevColumnCount = nextProps.columnCount;\n instanceProps.prevColumnWidth = nextProps.columnWidth;\n instanceProps.prevIsScrolling = nextProps.isScrolling === true;\n instanceProps.prevRowCount = nextProps.rowCount;\n instanceProps.prevRowHeight = nextProps.rowHeight;\n instanceProps.prevScrollToColumn = nextProps.scrollToColumn;\n instanceProps.prevScrollToRow = nextProps.scrollToRow;\n\n // getting scrollBarSize (moved from componentWillMount)\n instanceProps.scrollbarSize = nextProps.getScrollbarSize();\n if (instanceProps.scrollbarSize === undefined) {\n instanceProps.scrollbarSizeMeasured = false;\n instanceProps.scrollbarSize = 0;\n } else {\n instanceProps.scrollbarSizeMeasured = true;\n }\n\n newState.instanceProps = instanceProps;\n\n return _extends({}, newState, maybeStateA, maybeStateB);\n }\n }, {\n key: '_getEstimatedColumnSize',\n value: function _getEstimatedColumnSize(props) {\n return typeof props.columnWidth === 'number' ? props.columnWidth : props.estimatedColumnSize;\n }\n }, {\n key: '_getEstimatedRowSize',\n value: function _getEstimatedRowSize(props) {\n return typeof props.rowHeight === 'number' ? props.rowHeight : props.estimatedRowSize;\n }\n }, {\n key: '_getScrollToPositionStateUpdate',\n\n\n /**\n * Get the updated state after scrolling to\n * scrollLeft and scrollTop\n */\n value: function _getScrollToPositionStateUpdate(_ref9) {\n var prevState = _ref9.prevState,\n scrollLeft = _ref9.scrollLeft,\n scrollTop = _ref9.scrollTop;\n\n var newState = {\n scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n };\n\n if (typeof scrollLeft === 'number' && scrollLeft >= 0) {\n newState.scrollDirectionHorizontal = scrollLeft > prevState.scrollLeft ? SCROLL_DIRECTION_FORWARD : SCROLL_DIRECTION_BACKWARD;\n newState.scrollLeft = scrollLeft;\n }\n\n if (typeof scrollTop === 'number' && scrollTop >= 0) {\n newState.scrollDirectionVertical = scrollTop > prevState.scrollTop ? SCROLL_DIRECTION_FORWARD : SCROLL_DIRECTION_BACKWARD;\n newState.scrollTop = scrollTop;\n }\n\n if (typeof scrollLeft === 'number' && scrollLeft >= 0 && scrollLeft !== prevState.scrollLeft || typeof scrollTop === 'number' && scrollTop >= 0 && scrollTop !== prevState.scrollTop) {\n return newState;\n }\n return null;\n }\n }, {\n key: '_wrapSizeGetter',\n value: function _wrapSizeGetter(value) {\n return typeof value === 'function' ? value : function () {\n return value;\n };\n }\n }, {\n key: '_getCalculatedScrollLeft',\n value: function _getCalculatedScrollLeft(nextProps, prevState) {\n var columnCount = nextProps.columnCount,\n height = nextProps.height,\n scrollToAlignment = nextProps.scrollToAlignment,\n scrollToColumn = nextProps.scrollToColumn,\n width = nextProps.width;\n var scrollLeft = prevState.scrollLeft,\n instanceProps = prevState.instanceProps;\n\n\n if (columnCount > 0) {\n var finalColumn = columnCount - 1;\n var targetIndex = scrollToColumn < 0 ? finalColumn : Math.min(finalColumn, scrollToColumn);\n var totalRowsHeight = instanceProps.rowSizeAndPositionManager.getTotalSize();\n var scrollBarSize = instanceProps.scrollbarSizeMeasured && totalRowsHeight > height ? instanceProps.scrollbarSize : 0;\n\n return instanceProps.columnSizeAndPositionManager.getUpdatedOffsetForIndex({\n align: scrollToAlignment,\n containerSize: width - scrollBarSize,\n currentOffset: scrollLeft,\n targetIndex: targetIndex\n });\n }\n return 0;\n }\n }, {\n key: '_getScrollLeftForScrollToColumnStateUpdate',\n value: function _getScrollLeftForScrollToColumnStateUpdate(nextProps, prevState) {\n var scrollLeft = prevState.scrollLeft;\n\n var calculatedScrollLeft = Grid._getCalculatedScrollLeft(nextProps, prevState);\n\n if (typeof calculatedScrollLeft === 'number' && calculatedScrollLeft >= 0 && scrollLeft !== calculatedScrollLeft) {\n return Grid._getScrollToPositionStateUpdate({\n prevState: prevState,\n scrollLeft: calculatedScrollLeft,\n scrollTop: -1\n });\n }\n return null;\n }\n }, {\n key: '_getCalculatedScrollTop',\n value: function _getCalculatedScrollTop(nextProps, prevState) {\n var height = nextProps.height,\n rowCount = nextProps.rowCount,\n scrollToAlignment = nextProps.scrollToAlignment,\n scrollToRow = nextProps.scrollToRow,\n width = nextProps.width;\n var scrollTop = prevState.scrollTop,\n instanceProps = prevState.instanceProps;\n\n\n if (rowCount > 0) {\n var finalRow = rowCount - 1;\n var targetIndex = scrollToRow < 0 ? finalRow : Math.min(finalRow, scrollToRow);\n var totalColumnsWidth = instanceProps.columnSizeAndPositionManager.getTotalSize();\n var scrollBarSize = instanceProps.scrollbarSizeMeasured && totalColumnsWidth > width ? instanceProps.scrollbarSize : 0;\n\n return instanceProps.rowSizeAndPositionManager.getUpdatedOffsetForIndex({\n align: scrollToAlignment,\n containerSize: height - scrollBarSize,\n currentOffset: scrollTop,\n targetIndex: targetIndex\n });\n }\n return 0;\n }\n }, {\n key: '_getScrollTopForScrollToRowStateUpdate',\n value: function _getScrollTopForScrollToRowStateUpdate(nextProps, prevState) {\n var scrollTop = prevState.scrollTop;\n\n var calculatedScrollTop = Grid._getCalculatedScrollTop(nextProps, prevState);\n\n if (typeof calculatedScrollTop === 'number' && calculatedScrollTop >= 0 && scrollTop !== calculatedScrollTop) {\n return Grid._getScrollToPositionStateUpdate({\n prevState: prevState,\n scrollLeft: -1,\n scrollTop: calculatedScrollTop\n });\n }\n return null;\n }\n }]);\n\n return Grid;\n}(React.PureComponent);\n\nGrid.defaultProps = {\n 'aria-label': 'grid',\n 'aria-readonly': true,\n autoContainerWidth: false,\n autoHeight: false,\n autoWidth: false,\n cellRangeRenderer: defaultCellRangeRenderer,\n containerRole: 'rowgroup',\n containerStyle: {},\n estimatedColumnSize: 100,\n estimatedRowSize: 30,\n getScrollbarSize: scrollbarSize,\n noContentRenderer: renderNull,\n onScroll: function onScroll() {},\n onScrollbarPresenceChange: function onScrollbarPresenceChange() {},\n onSectionRendered: function onSectionRendered() {},\n overscanColumnCount: 0,\n overscanIndicesGetter: defaultOverscanIndicesGetter,\n overscanRowCount: 10,\n role: 'grid',\n scrollingResetTimeInterval: DEFAULT_SCROLLING_RESET_TIME_INTERVAL,\n scrollToAlignment: 'auto',\n scrollToColumn: -1,\n scrollToRow: -1,\n style: {},\n tabIndex: 0,\n isScrollingOptOut: false\n};\nGrid.propTypes = process.env.NODE_ENV === 'production' ? null : {\n \"aria-label\": PropTypes.string.isRequired,\n \"aria-readonly\": PropTypes.bool,\n\n\n /**\n * Set the width of the inner scrollable container to 'auto'.\n * This is useful for single-column Grids to ensure that the column doesn't extend below a vertical scrollbar.\n */\n autoContainerWidth: PropTypes.bool.isRequired,\n\n\n /**\n * Removes fixed height from the scrollingContainer so that the total height of rows can stretch the window.\n * Intended for use with WindowScroller\n */\n autoHeight: PropTypes.bool.isRequired,\n\n\n /**\n * Removes fixed width from the scrollingContainer so that the total width of rows can stretch the window.\n * Intended for use with WindowScroller\n */\n autoWidth: PropTypes.bool.isRequired,\n\n\n /** Responsible for rendering a cell given an row and column index. */\n cellRenderer: function cellRenderer() {\n return (typeof bpfrpt_proptype_CellRenderer === 'function' ? bpfrpt_proptype_CellRenderer.isRequired ? bpfrpt_proptype_CellRenderer.isRequired : bpfrpt_proptype_CellRenderer : PropTypes.shape(bpfrpt_proptype_CellRenderer).isRequired).apply(this, arguments);\n },\n\n\n /** Responsible for rendering a group of cells given their index ranges. */\n cellRangeRenderer: function cellRangeRenderer() {\n return (typeof bpfrpt_proptype_CellRangeRenderer === 'function' ? bpfrpt_proptype_CellRangeRenderer.isRequired ? bpfrpt_proptype_CellRangeRenderer.isRequired : bpfrpt_proptype_CellRangeRenderer : PropTypes.shape(bpfrpt_proptype_CellRangeRenderer).isRequired).apply(this, arguments);\n },\n\n\n /** Optional custom CSS class name to attach to root Grid element. */\n className: PropTypes.string,\n\n\n /** Number of columns in grid. */\n columnCount: PropTypes.number.isRequired,\n\n\n /** Either a fixed column width (number) or a function that returns the width of a column given its index. */\n columnWidth: function columnWidth() {\n return (typeof bpfrpt_proptype_CellSize === 'function' ? bpfrpt_proptype_CellSize.isRequired ? bpfrpt_proptype_CellSize.isRequired : bpfrpt_proptype_CellSize : PropTypes.shape(bpfrpt_proptype_CellSize).isRequired).apply(this, arguments);\n },\n\n\n /** Unfiltered props for the Grid container. */\n containerProps: PropTypes.object,\n\n\n /** ARIA role for the cell-container. */\n containerRole: PropTypes.string.isRequired,\n\n\n /** Optional inline style applied to inner cell-container */\n containerStyle: PropTypes.object.isRequired,\n\n\n /**\n * If CellMeasurer is used to measure this Grid's children, this should be a pointer to its CellMeasurerCache.\n * A shared CellMeasurerCache reference enables Grid and CellMeasurer to share measurement data.\n */\n deferredMeasurementCache: PropTypes.object,\n\n\n /**\n * Used to estimate the total width of a Grid before all of its columns have actually been measured.\n * The estimated total width is adjusted as columns are rendered.\n */\n estimatedColumnSize: PropTypes.number.isRequired,\n\n\n /**\n * Used to estimate the total height of a Grid before all of its rows have actually been measured.\n * The estimated total height is adjusted as rows are rendered.\n */\n estimatedRowSize: PropTypes.number.isRequired,\n\n\n /** Exposed for testing purposes only. */\n getScrollbarSize: PropTypes.func.isRequired,\n\n\n /** Height of Grid; this property determines the number of visible (vs virtualized) rows. */\n height: PropTypes.number.isRequired,\n\n\n /** Optional custom id to attach to root Grid element. */\n id: PropTypes.string,\n\n\n /**\n * Override internal is-scrolling state tracking.\n * This property is primarily intended for use with the WindowScroller component.\n */\n isScrolling: PropTypes.bool,\n\n\n /**\n * Opt-out of isScrolling param passed to cellRangeRenderer.\n * To avoid the extra render when scroll stops.\n */\n isScrollingOptOut: PropTypes.bool.isRequired,\n\n\n /** Optional renderer to be used in place of rows when either :rowCount or :columnCount is 0. */\n noContentRenderer: function noContentRenderer() {\n return (typeof bpfrpt_proptype_NoContentRenderer === 'function' ? bpfrpt_proptype_NoContentRenderer.isRequired ? bpfrpt_proptype_NoContentRenderer.isRequired : bpfrpt_proptype_NoContentRenderer : PropTypes.shape(bpfrpt_proptype_NoContentRenderer).isRequired).apply(this, arguments);\n },\n\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n */\n onScroll: PropTypes.func.isRequired,\n\n\n /**\n * Called whenever a horizontal or vertical scrollbar is added or removed.\n * This prop is not intended for end-user use;\n * It is used by MultiGrid to support fixed-row/fixed-column scroll syncing.\n */\n onScrollbarPresenceChange: PropTypes.func.isRequired,\n\n\n /** Callback invoked with information about the section of the Grid that was just rendered. */\n onSectionRendered: PropTypes.func.isRequired,\n\n\n /**\n * Number of columns to render before/after the visible section of the grid.\n * These columns can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n */\n overscanColumnCount: PropTypes.number.isRequired,\n\n\n /**\n * Calculates the number of cells to overscan before and after a specified range.\n * This function ensures that overscanning doesn't exceed the available cells.\n */\n overscanIndicesGetter: function overscanIndicesGetter() {\n return (typeof bpfrpt_proptype_OverscanIndicesGetter === 'function' ? bpfrpt_proptype_OverscanIndicesGetter.isRequired ? bpfrpt_proptype_OverscanIndicesGetter.isRequired : bpfrpt_proptype_OverscanIndicesGetter : PropTypes.shape(bpfrpt_proptype_OverscanIndicesGetter).isRequired).apply(this, arguments);\n },\n\n\n /**\n * Number of rows to render above/below the visible section of the grid.\n * These rows can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n */\n overscanRowCount: PropTypes.number.isRequired,\n\n\n /** ARIA role for the grid element. */\n role: PropTypes.string.isRequired,\n\n\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * Should implement the following interface: ({ index: number }): number\n */\n rowHeight: function rowHeight() {\n return (typeof bpfrpt_proptype_CellSize === 'function' ? bpfrpt_proptype_CellSize.isRequired ? bpfrpt_proptype_CellSize.isRequired : bpfrpt_proptype_CellSize : PropTypes.shape(bpfrpt_proptype_CellSize).isRequired).apply(this, arguments);\n },\n\n\n /** Number of rows in grid. */\n rowCount: PropTypes.number.isRequired,\n\n\n /** Wait this amount of time after the last scroll event before resetting Grid `pointer-events`. */\n scrollingResetTimeInterval: PropTypes.number.isRequired,\n\n\n /** Horizontal offset. */\n scrollLeft: PropTypes.number,\n\n\n /**\n * Controls scroll-to-cell behavior of the Grid.\n * The default (\"auto\") scrolls the least amount possible to ensure that the specified cell is fully visible.\n * Use \"start\" to align cells to the top/left of the Grid and \"end\" to align bottom/right.\n */\n scrollToAlignment: function scrollToAlignment() {\n return (typeof bpfrpt_proptype_Alignment === 'function' ? bpfrpt_proptype_Alignment.isRequired ? bpfrpt_proptype_Alignment.isRequired : bpfrpt_proptype_Alignment : PropTypes.shape(bpfrpt_proptype_Alignment).isRequired).apply(this, arguments);\n },\n\n\n /** Column index to ensure visible (by forcefully scrolling if necessary) */\n scrollToColumn: PropTypes.number.isRequired,\n\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n\n /** Row index to ensure visible (by forcefully scrolling if necessary) */\n scrollToRow: PropTypes.number.isRequired,\n\n\n /** Optional inline style */\n style: PropTypes.object.isRequired,\n\n\n /** Tab index for focus */\n tabIndex: PropTypes.number,\n\n\n /** Width of Grid; this property determines the number of visible (vs virtualized) columns. */\n width: PropTypes.number.isRequired\n};\n\n\npolyfill(Grid);\nexport default Grid;\nimport { bpfrpt_proptype_CellRenderer } from './types';\nimport { bpfrpt_proptype_CellRangeRenderer } from './types';\nimport { bpfrpt_proptype_CellPosition } from './types';\nimport { bpfrpt_proptype_CellSize } from './types';\nimport { bpfrpt_proptype_CellSizeGetter } from './types';\nimport { bpfrpt_proptype_NoContentRenderer } from './types';\nimport { bpfrpt_proptype_Scroll } from './types';\nimport { bpfrpt_proptype_ScrollbarPresenceChange } from './types';\nimport { bpfrpt_proptype_RenderedSection } from './types';\nimport { bpfrpt_proptype_OverscanIndicesGetter } from './types';\nimport { bpfrpt_proptype_Alignment } from './types';\nimport { bpfrpt_proptype_CellCache } from './types';\nimport { bpfrpt_proptype_StyleCache } from './types';\nimport { bpfrpt_proptype_AnimationTimeoutId } from '../utils/requestAnimationTimeout';\nimport PropTypes from 'prop-types';","\n\nexport var SCROLL_DIRECTION_BACKWARD = -1;\n\nexport var SCROLL_DIRECTION_FORWARD = 1;\n\nexport var SCROLL_DIRECTION_HORIZONTAL = 'horizontal';\nexport var SCROLL_DIRECTION_VERTICAL = 'vertical';\n\n/**\n * Calculates the number of cells to overscan before and after a specified range.\n * This function ensures that overscanning doesn't exceed the available cells.\n */\n\nexport default function defaultOverscanIndicesGetter(_ref) {\n var cellCount = _ref.cellCount,\n overscanCellsCount = _ref.overscanCellsCount,\n scrollDirection = _ref.scrollDirection,\n startIndex = _ref.startIndex,\n stopIndex = _ref.stopIndex;\n\n if (scrollDirection === SCROLL_DIRECTION_FORWARD) {\n return {\n overscanStartIndex: Math.max(0, startIndex),\n overscanStopIndex: Math.min(cellCount - 1, stopIndex + overscanCellsCount)\n };\n } else {\n return {\n overscanStartIndex: Math.max(0, startIndex - overscanCellsCount),\n overscanStopIndex: Math.min(cellCount - 1, stopIndex)\n };\n }\n}\nimport { bpfrpt_proptype_OverscanIndicesGetterParams } from './types';\nimport { bpfrpt_proptype_OverscanIndices } from './types';","\n\n/**\n * Default implementation of cellRangeRenderer used by Grid.\n * This renderer supports cell-caching while the user is scrolling.\n */\n\nexport default function defaultCellRangeRenderer(_ref) {\n var cellCache = _ref.cellCache,\n cellRenderer = _ref.cellRenderer,\n columnSizeAndPositionManager = _ref.columnSizeAndPositionManager,\n columnStartIndex = _ref.columnStartIndex,\n columnStopIndex = _ref.columnStopIndex,\n deferredMeasurementCache = _ref.deferredMeasurementCache,\n horizontalOffsetAdjustment = _ref.horizontalOffsetAdjustment,\n isScrolling = _ref.isScrolling,\n isScrollingOptOut = _ref.isScrollingOptOut,\n parent = _ref.parent,\n rowSizeAndPositionManager = _ref.rowSizeAndPositionManager,\n rowStartIndex = _ref.rowStartIndex,\n rowStopIndex = _ref.rowStopIndex,\n styleCache = _ref.styleCache,\n verticalOffsetAdjustment = _ref.verticalOffsetAdjustment,\n visibleColumnIndices = _ref.visibleColumnIndices,\n visibleRowIndices = _ref.visibleRowIndices;\n\n var renderedCells = [];\n\n // Browsers have native size limits for elements (eg Chrome 33M pixels, IE 1.5M pixes).\n // User cannot scroll beyond these size limitations.\n // In order to work around this, ScalingCellSizeAndPositionManager compresses offsets.\n // We should never cache styles for compressed offsets though as this can lead to bugs.\n // See issue #576 for more.\n var areOffsetsAdjusted = columnSizeAndPositionManager.areOffsetsAdjusted() || rowSizeAndPositionManager.areOffsetsAdjusted();\n\n var canCacheStyle = !isScrolling && !areOffsetsAdjusted;\n\n for (var rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n var rowDatum = rowSizeAndPositionManager.getSizeAndPositionOfCell(rowIndex);\n\n for (var columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n var columnDatum = columnSizeAndPositionManager.getSizeAndPositionOfCell(columnIndex);\n var isVisible = columnIndex >= visibleColumnIndices.start && columnIndex <= visibleColumnIndices.stop && rowIndex >= visibleRowIndices.start && rowIndex <= visibleRowIndices.stop;\n var key = rowIndex + '-' + columnIndex;\n var style = void 0;\n\n // Cache style objects so shallow-compare doesn't re-render unnecessarily.\n if (canCacheStyle && styleCache[key]) {\n style = styleCache[key];\n } else {\n // In deferred mode, cells will be initially rendered before we know their size.\n // Don't interfere with CellMeasurer's measurements by setting an invalid size.\n if (deferredMeasurementCache && !deferredMeasurementCache.has(rowIndex, columnIndex)) {\n // Position not-yet-measured cells at top/left 0,0,\n // And give them width/height of 'auto' so they can grow larger than the parent Grid if necessary.\n // Positioning them further to the right/bottom influences their measured size.\n style = {\n height: 'auto',\n left: 0,\n position: 'absolute',\n top: 0,\n width: 'auto'\n };\n } else {\n style = {\n height: rowDatum.size,\n left: columnDatum.offset + horizontalOffsetAdjustment,\n position: 'absolute',\n top: rowDatum.offset + verticalOffsetAdjustment,\n width: columnDatum.size\n };\n\n styleCache[key] = style;\n }\n }\n\n var cellRendererParams = {\n columnIndex: columnIndex,\n isScrolling: isScrolling,\n isVisible: isVisible,\n key: key,\n parent: parent,\n rowIndex: rowIndex,\n style: style\n };\n\n var renderedCell = void 0;\n\n // Avoid re-creating cells while scrolling.\n // This can lead to the same cell being created many times and can cause performance issues for \"heavy\" cells.\n // If a scroll is in progress- cache and reuse cells.\n // This cache will be thrown away once scrolling completes.\n // However if we are scaling scroll positions and sizes, we should also avoid caching.\n // This is because the offset changes slightly as scroll position changes and caching leads to stale values.\n // For more info refer to issue #395\n //\n // If isScrollingOptOut is specified, we always cache cells.\n // For more info refer to issue #1028\n if ((isScrollingOptOut || isScrolling) && !horizontalOffsetAdjustment && !verticalOffsetAdjustment) {\n if (!cellCache[key]) {\n cellCache[key] = cellRenderer(cellRendererParams);\n }\n\n renderedCell = cellCache[key];\n\n // If the user is no longer scrolling, don't cache cells.\n // This makes dynamic cell content difficult for users and would also lead to a heavier memory footprint.\n } else {\n renderedCell = cellRenderer(cellRendererParams);\n }\n\n if (renderedCell == null || renderedCell === false) {\n continue;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n warnAboutMissingStyle(parent, renderedCell);\n }\n\n renderedCells.push(renderedCell);\n }\n }\n\n return renderedCells;\n}\n\nfunction warnAboutMissingStyle(parent, renderedCell) {\n if (process.env.NODE_ENV !== 'production') {\n if (renderedCell) {\n // If the direct child is a CellMeasurer, then we should check its child\n // See issue #611\n if (renderedCell.type && renderedCell.type.__internalCellMeasurerFlag) {\n renderedCell = renderedCell.props.children;\n }\n\n if (renderedCell && renderedCell.props && renderedCell.props.style === undefined && parent.__warnedAboutMissingStyle !== true) {\n parent.__warnedAboutMissingStyle = true;\n\n console.warn('Rendered cell should include style property for positioning.');\n }\n }\n }\n}\nimport { bpfrpt_proptype_CellRangeRendererParams } from './types';","import * as React from 'react';\n\nvar bpfrpt_proptype_RowRendererParams = process.env.NODE_ENV === 'production' ? null : {\n index: PropTypes.number.isRequired,\n isScrolling: PropTypes.bool.isRequired,\n isVisible: PropTypes.bool.isRequired,\n key: PropTypes.string.isRequired,\n parent: PropTypes.object.isRequired,\n style: PropTypes.object.isRequired\n};\nvar bpfrpt_proptype_RowRenderer = process.env.NODE_ENV === 'production' ? null : PropTypes.func;\nvar bpfrpt_proptype_RenderedRows = process.env.NODE_ENV === 'production' ? null : {\n overscanStartIndex: PropTypes.number.isRequired,\n overscanStopIndex: PropTypes.number.isRequired,\n startIndex: PropTypes.number.isRequired,\n stopIndex: PropTypes.number.isRequired\n};\nvar bpfrpt_proptype_Scroll = process.env.NODE_ENV === 'production' ? null : {\n clientHeight: PropTypes.number.isRequired,\n scrollHeight: PropTypes.number.isRequired,\n scrollTop: PropTypes.number.isRequired\n};\nimport PropTypes from 'prop-types';\nexport { bpfrpt_proptype_RowRendererParams };\nexport { bpfrpt_proptype_RowRenderer };\nexport { bpfrpt_proptype_RenderedRows };\nexport { bpfrpt_proptype_Scroll };","import _extends from 'babel-runtime/helpers/extends';\nimport _Object$getOwnPropertyDescriptor from 'babel-runtime/core-js/object/get-own-property-descriptor';\nimport _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';\nimport _classCallCheck from 'babel-runtime/helpers/classCallCheck';\nimport _createClass from 'babel-runtime/helpers/createClass';\nimport _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';\nimport _inherits from 'babel-runtime/helpers/inherits';\nimport Grid, { accessibilityOverscanIndicesGetter } from '../Grid';\nimport * as React from 'react';\nimport clsx from 'clsx';\n\n/**\n * It is inefficient to create and manage a large list of DOM elements within a scrolling container\n * if only a few of those elements are visible. The primary purpose of this component is to improve\n * performance by only rendering the DOM nodes that a user is able to see based on their current\n * scroll position.\n *\n * This component renders a virtualized list of elements with either fixed or dynamic heights.\n */\n\nvar List = function (_React$PureComponent) {\n _inherits(List, _React$PureComponent);\n\n function List() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, List);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = List.__proto__ || _Object$getPrototypeOf(List)).call.apply(_ref, [this].concat(args))), _this), _this._cellRenderer = function (_ref2) {\n var parent = _ref2.parent,\n rowIndex = _ref2.rowIndex,\n style = _ref2.style,\n isScrolling = _ref2.isScrolling,\n isVisible = _ref2.isVisible,\n key = _ref2.key;\n var rowRenderer = _this.props.rowRenderer;\n\n // TRICKY The style object is sometimes cached by Grid.\n // This prevents new style objects from bypassing shallowCompare().\n // However as of React 16, style props are auto-frozen (at least in dev mode)\n // Check to make sure we can still modify the style before proceeding.\n // https://github.com/facebook/react/commit/977357765b44af8ff0cfea327866861073095c12#commitcomment-20648713\n\n var _Object$getOwnPropert = _Object$getOwnPropertyDescriptor(style, 'width'),\n writable = _Object$getOwnPropert.writable;\n\n if (writable) {\n // By default, List cells should be 100% width.\n // This prevents them from flowing under a scrollbar (if present).\n style.width = '100%';\n }\n\n return rowRenderer({\n index: rowIndex,\n style: style,\n isScrolling: isScrolling,\n isVisible: isVisible,\n key: key,\n parent: parent\n });\n }, _this._setRef = function (ref) {\n _this.Grid = ref;\n }, _this._onScroll = function (_ref3) {\n var clientHeight = _ref3.clientHeight,\n scrollHeight = _ref3.scrollHeight,\n scrollTop = _ref3.scrollTop;\n var onScroll = _this.props.onScroll;\n\n\n onScroll({ clientHeight: clientHeight, scrollHeight: scrollHeight, scrollTop: scrollTop });\n }, _this._onSectionRendered = function (_ref4) {\n var rowOverscanStartIndex = _ref4.rowOverscanStartIndex,\n rowOverscanStopIndex = _ref4.rowOverscanStopIndex,\n rowStartIndex = _ref4.rowStartIndex,\n rowStopIndex = _ref4.rowStopIndex;\n var onRowsRendered = _this.props.onRowsRendered;\n\n\n onRowsRendered({\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n });\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(List, [{\n key: 'forceUpdateGrid',\n value: function forceUpdateGrid() {\n if (this.Grid) {\n this.Grid.forceUpdate();\n }\n }\n\n /** See Grid#getOffsetForCell */\n\n }, {\n key: 'getOffsetForRow',\n value: function getOffsetForRow(_ref5) {\n var alignment = _ref5.alignment,\n index = _ref5.index;\n\n if (this.Grid) {\n var _Grid$getOffsetForCel = this.Grid.getOffsetForCell({\n alignment: alignment,\n rowIndex: index,\n columnIndex: 0\n }),\n _scrollTop = _Grid$getOffsetForCel.scrollTop;\n\n return _scrollTop;\n }\n return 0;\n }\n\n /** CellMeasurer compatibility */\n\n }, {\n key: 'invalidateCellSizeAfterRender',\n value: function invalidateCellSizeAfterRender(_ref6) {\n var columnIndex = _ref6.columnIndex,\n rowIndex = _ref6.rowIndex;\n\n if (this.Grid) {\n this.Grid.invalidateCellSizeAfterRender({\n rowIndex: rowIndex,\n columnIndex: columnIndex\n });\n }\n }\n\n /** See Grid#measureAllCells */\n\n }, {\n key: 'measureAllRows',\n value: function measureAllRows() {\n if (this.Grid) {\n this.Grid.measureAllCells();\n }\n }\n\n /** CellMeasurer compatibility */\n\n }, {\n key: 'recomputeGridSize',\n value: function recomputeGridSize() {\n var _ref7 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref7$columnIndex = _ref7.columnIndex,\n columnIndex = _ref7$columnIndex === undefined ? 0 : _ref7$columnIndex,\n _ref7$rowIndex = _ref7.rowIndex,\n rowIndex = _ref7$rowIndex === undefined ? 0 : _ref7$rowIndex;\n\n if (this.Grid) {\n this.Grid.recomputeGridSize({\n rowIndex: rowIndex,\n columnIndex: columnIndex\n });\n }\n }\n\n /** See Grid#recomputeGridSize */\n\n }, {\n key: 'recomputeRowHeights',\n value: function recomputeRowHeights() {\n var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n if (this.Grid) {\n this.Grid.recomputeGridSize({\n rowIndex: index,\n columnIndex: 0\n });\n }\n }\n\n /** See Grid#scrollToPosition */\n\n }, {\n key: 'scrollToPosition',\n value: function scrollToPosition() {\n var scrollTop = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n if (this.Grid) {\n this.Grid.scrollToPosition({ scrollTop: scrollTop });\n }\n }\n\n /** See Grid#scrollToCell */\n\n }, {\n key: 'scrollToRow',\n value: function scrollToRow() {\n var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n if (this.Grid) {\n this.Grid.scrollToCell({\n columnIndex: 0,\n rowIndex: index\n });\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n className = _props.className,\n noRowsRenderer = _props.noRowsRenderer,\n scrollToIndex = _props.scrollToIndex,\n width = _props.width;\n\n\n var classNames = clsx('ReactVirtualized__List', className);\n\n return React.createElement(Grid, _extends({}, this.props, {\n autoContainerWidth: true,\n cellRenderer: this._cellRenderer,\n className: classNames,\n columnWidth: width,\n columnCount: 1,\n noContentRenderer: noRowsRenderer,\n onScroll: this._onScroll,\n onSectionRendered: this._onSectionRendered,\n ref: this._setRef,\n scrollToRow: scrollToIndex\n }));\n }\n }]);\n\n return List;\n}(React.PureComponent);\n\nList.defaultProps = {\n autoHeight: false,\n estimatedRowSize: 30,\n onScroll: function onScroll() {},\n noRowsRenderer: function noRowsRenderer() {\n return null;\n },\n onRowsRendered: function onRowsRendered() {},\n overscanIndicesGetter: accessibilityOverscanIndicesGetter,\n overscanRowCount: 10,\n scrollToAlignment: 'auto',\n scrollToIndex: -1,\n style: {}\n};\nList.propTypes = process.env.NODE_ENV === 'production' ? null : {\n \"aria-label\": PropTypes.string,\n\n\n /**\n * Removes fixed height from the scrollingContainer so that the total height\n * of rows can stretch the window. Intended for use with WindowScroller\n */\n autoHeight: PropTypes.bool.isRequired,\n\n\n /** Optional CSS class name */\n className: PropTypes.string,\n\n\n /**\n * Used to estimate the total height of a List before all of its rows have actually been measured.\n * The estimated total height is adjusted as rows are rendered.\n */\n estimatedRowSize: PropTypes.number.isRequired,\n\n\n /** Height constraint for list (determines how many actual rows are rendered) */\n height: PropTypes.number.isRequired,\n\n\n /** Optional renderer to be used in place of rows when rowCount is 0 */\n noRowsRenderer: function noRowsRenderer() {\n return (typeof bpfrpt_proptype_NoContentRenderer === 'function' ? bpfrpt_proptype_NoContentRenderer.isRequired ? bpfrpt_proptype_NoContentRenderer.isRequired : bpfrpt_proptype_NoContentRenderer : PropTypes.shape(bpfrpt_proptype_NoContentRenderer).isRequired).apply(this, arguments);\n },\n\n\n /** Callback invoked with information about the slice of rows that were just rendered. */\n\n onRowsRendered: PropTypes.func.isRequired,\n\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n */\n onScroll: PropTypes.func.isRequired,\n\n\n /** See Grid#overscanIndicesGetter */\n overscanIndicesGetter: function overscanIndicesGetter() {\n return (typeof bpfrpt_proptype_OverscanIndicesGetter === 'function' ? bpfrpt_proptype_OverscanIndicesGetter.isRequired ? bpfrpt_proptype_OverscanIndicesGetter.isRequired : bpfrpt_proptype_OverscanIndicesGetter : PropTypes.shape(bpfrpt_proptype_OverscanIndicesGetter).isRequired).apply(this, arguments);\n },\n\n\n /**\n * Number of rows to render above/below the visible bounds of the list.\n * These rows can help for smoother scrolling on touch devices.\n */\n overscanRowCount: PropTypes.number.isRequired,\n\n\n /** Either a fixed row height (number) or a function that returns the height of a row given its index. */\n rowHeight: function rowHeight() {\n return (typeof bpfrpt_proptype_CellSize === 'function' ? bpfrpt_proptype_CellSize.isRequired ? bpfrpt_proptype_CellSize.isRequired : bpfrpt_proptype_CellSize : PropTypes.shape(bpfrpt_proptype_CellSize).isRequired).apply(this, arguments);\n },\n\n\n /** Responsible for rendering a row given an index; ({ index: number }): node */\n rowRenderer: function rowRenderer() {\n return (typeof bpfrpt_proptype_RowRenderer === 'function' ? bpfrpt_proptype_RowRenderer.isRequired ? bpfrpt_proptype_RowRenderer.isRequired : bpfrpt_proptype_RowRenderer : PropTypes.shape(bpfrpt_proptype_RowRenderer).isRequired).apply(this, arguments);\n },\n\n\n /** Number of rows in list. */\n rowCount: PropTypes.number.isRequired,\n\n\n /** See Grid#scrollToAlignment */\n scrollToAlignment: function scrollToAlignment() {\n return (typeof bpfrpt_proptype_Alignment === 'function' ? bpfrpt_proptype_Alignment.isRequired ? bpfrpt_proptype_Alignment.isRequired : bpfrpt_proptype_Alignment : PropTypes.shape(bpfrpt_proptype_Alignment).isRequired).apply(this, arguments);\n },\n\n\n /** Row index to ensure visible (by forcefully scrolling if necessary) */\n scrollToIndex: PropTypes.number.isRequired,\n\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n\n /** Optional inline style */\n style: PropTypes.object.isRequired,\n\n\n /** Tab index for focus */\n tabIndex: PropTypes.number,\n\n\n /** Width of list */\n width: PropTypes.number.isRequired\n};\nexport default List;\nimport { bpfrpt_proptype_NoContentRenderer } from '../Grid';\nimport { bpfrpt_proptype_Alignment } from '../Grid';\nimport { bpfrpt_proptype_CellSize } from '../Grid';\nimport { bpfrpt_proptype_CellPosition } from '../Grid';\nimport { bpfrpt_proptype_OverscanIndicesGetter } from '../Grid';\nimport { bpfrpt_proptype_RenderedSection } from '../Grid';\nimport { bpfrpt_proptype_CellRendererParams } from '../Grid';\nimport { bpfrpt_proptype_Scroll as bpfrpt_proptype_GridScroll } from '../Grid';\nimport { bpfrpt_proptype_RowRenderer } from './types';\nimport { bpfrpt_proptype_RenderedRows } from './types';\nimport { bpfrpt_proptype_Scroll } from './types';\nimport PropTypes from 'prop-types';","\n\nexport var SCROLL_DIRECTION_BACKWARD = -1;\n\nexport var SCROLL_DIRECTION_FORWARD = 1;\n\nexport var SCROLL_DIRECTION_HORIZONTAL = 'horizontal';\nexport var SCROLL_DIRECTION_VERTICAL = 'vertical';\n\n/**\n * Calculates the number of cells to overscan before and after a specified range.\n * This function ensures that overscanning doesn't exceed the available cells.\n */\n\nexport default function defaultOverscanIndicesGetter(_ref) {\n var cellCount = _ref.cellCount,\n overscanCellsCount = _ref.overscanCellsCount,\n scrollDirection = _ref.scrollDirection,\n startIndex = _ref.startIndex,\n stopIndex = _ref.stopIndex;\n\n // Make sure we render at least 1 cell extra before and after (except near boundaries)\n // This is necessary in order to support keyboard navigation (TAB/SHIFT+TAB) in some cases\n // For more info see issues #625\n overscanCellsCount = Math.max(1, overscanCellsCount);\n\n if (scrollDirection === SCROLL_DIRECTION_FORWARD) {\n return {\n overscanStartIndex: Math.max(0, startIndex - 1),\n overscanStopIndex: Math.min(cellCount - 1, stopIndex + overscanCellsCount)\n };\n } else {\n return {\n overscanStartIndex: Math.max(0, startIndex - overscanCellsCount),\n overscanStopIndex: Math.min(cellCount - 1, stopIndex + 1)\n };\n }\n}\nimport { bpfrpt_proptype_OverscanIndicesGetterParams } from './types';\nimport { bpfrpt_proptype_OverscanIndices } from './types';","import _extends from 'babel-runtime/helpers/extends';\nimport _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';\nimport _classCallCheck from 'babel-runtime/helpers/classCallCheck';\nimport _createClass from 'babel-runtime/helpers/createClass';\nimport _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';\nimport _inherits from 'babel-runtime/helpers/inherits';\nimport * as React from 'react';\nimport createDetectElementResize from '../vendor/detectElementResize';\n\nvar AutoSizer = function (_React$PureComponent) {\n _inherits(AutoSizer, _React$PureComponent);\n\n function AutoSizer() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, AutoSizer);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = AutoSizer.__proto__ || _Object$getPrototypeOf(AutoSizer)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\n height: _this.props.defaultHeight || 0,\n width: _this.props.defaultWidth || 0\n }, _this._onResize = function () {\n var _this$props = _this.props,\n disableHeight = _this$props.disableHeight,\n disableWidth = _this$props.disableWidth,\n onResize = _this$props.onResize;\n\n\n if (_this._parentNode) {\n // Guard against AutoSizer component being removed from the DOM immediately after being added.\n // This can result in invalid style values which can result in NaN values if we don't handle them.\n // See issue #150 for more context.\n\n var _height = _this._parentNode.offsetHeight || 0;\n var _width = _this._parentNode.offsetWidth || 0;\n\n var win = _this._window || window;\n var _style = win.getComputedStyle(_this._parentNode) || {};\n var paddingLeft = parseInt(_style.paddingLeft, 10) || 0;\n var paddingRight = parseInt(_style.paddingRight, 10) || 0;\n var paddingTop = parseInt(_style.paddingTop, 10) || 0;\n var paddingBottom = parseInt(_style.paddingBottom, 10) || 0;\n\n var newHeight = _height - paddingTop - paddingBottom;\n var newWidth = _width - paddingLeft - paddingRight;\n\n if (!disableHeight && _this.state.height !== newHeight || !disableWidth && _this.state.width !== newWidth) {\n _this.setState({\n height: _height - paddingTop - paddingBottom,\n width: _width - paddingLeft - paddingRight\n });\n\n onResize({ height: _height, width: _width });\n }\n }\n }, _this._setRef = function (autoSizer) {\n _this._autoSizer = autoSizer;\n }, _temp), _possibleConstructorReturn(_this, _ret);\n } // uses any instead of Window because Flow doesn't have window type\n\n\n _createClass(AutoSizer, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n var nonce = this.props.nonce;\n\n if (this._autoSizer && this._autoSizer.parentNode && this._autoSizer.parentNode.ownerDocument && this._autoSizer.parentNode.ownerDocument.defaultView && this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement) {\n // Delay access of parentNode until mount.\n // This handles edge-cases where the component has already been unmounted before its ref has been set,\n // As well as libraries like react-lite which have a slightly different lifecycle.\n this._parentNode = this._autoSizer.parentNode;\n this._window = this._autoSizer.parentNode.ownerDocument.defaultView;\n\n // Defer requiring resize handler in order to support server-side rendering.\n // See issue #41\n this._detectElementResize = createDetectElementResize(nonce, this._window);\n this._detectElementResize.addResizeListener(this._parentNode, this._onResize);\n\n this._onResize();\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (this._detectElementResize && this._parentNode) {\n this._detectElementResize.removeResizeListener(this._parentNode, this._onResize);\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n children = _props.children,\n className = _props.className,\n disableHeight = _props.disableHeight,\n disableWidth = _props.disableWidth,\n style = _props.style;\n var _state = this.state,\n height = _state.height,\n width = _state.width;\n\n // Outer div should not force width/height since that may prevent containers from shrinking.\n // Inner component should overflow and use calculated width/height.\n // See issue #68 for more information.\n\n var outerStyle = { overflow: 'visible' };\n var childParams = {};\n\n if (!disableHeight) {\n outerStyle.height = 0;\n childParams.height = height;\n }\n\n if (!disableWidth) {\n outerStyle.width = 0;\n childParams.width = width;\n }\n\n /**\n * TODO: Avoid rendering children before the initial measurements have been collected.\n * At best this would just be wasting cycles.\n * Add this check into version 10 though as it could break too many ref callbacks in version 9.\n * Note that if default width/height props were provided this would still work with SSR.\n if (\n height !== 0 &&\n width !== 0\n ) {\n child = children({ height, width })\n }\n */\n\n return React.createElement(\n 'div',\n {\n className: className,\n ref: this._setRef,\n style: _extends({}, outerStyle, style) },\n children(childParams)\n );\n }\n }]);\n\n return AutoSizer;\n}(React.PureComponent);\n\nAutoSizer.defaultProps = {\n onResize: function onResize() {},\n disableHeight: false,\n disableWidth: false,\n style: {}\n};\nAutoSizer.propTypes = process.env.NODE_ENV === 'production' ? null : {\n /** Function responsible for rendering children.*/\n children: PropTypes.func.isRequired,\n\n\n /** Optional custom CSS class name to attach to root AutoSizer element. */\n className: PropTypes.string,\n\n\n /** Default height to use for initial render; useful for SSR */\n defaultHeight: PropTypes.number,\n\n\n /** Default width to use for initial render; useful for SSR */\n defaultWidth: PropTypes.number,\n\n\n /** Disable dynamic :height property */\n disableHeight: PropTypes.bool.isRequired,\n\n\n /** Disable dynamic :width property */\n disableWidth: PropTypes.bool.isRequired,\n\n\n /** Nonce of the inlined stylesheet for Content Security Policy */\n nonce: PropTypes.string,\n\n\n /** Callback to be invoked on-resize */\n onResize: PropTypes.func.isRequired,\n\n\n /** Optional inline style */\n style: PropTypes.object\n};\nexport default AutoSizer;\nimport PropTypes from 'prop-types';","import { requestAnimationTimeout, cancelAnimationTimeout } from '../../utils/requestAnimationTimeout';\n\n\nvar mountedInstances = [];\nvar originalBodyPointerEvents = null;\nvar disablePointerEventsTimeoutId = null;\n\nfunction enablePointerEventsIfDisabled() {\n if (disablePointerEventsTimeoutId) {\n disablePointerEventsTimeoutId = null;\n\n if (document.body && originalBodyPointerEvents != null) {\n document.body.style.pointerEvents = originalBodyPointerEvents;\n }\n\n originalBodyPointerEvents = null;\n }\n}\n\nfunction enablePointerEventsAfterDelayCallback() {\n enablePointerEventsIfDisabled();\n mountedInstances.forEach(function (instance) {\n return instance.__resetIsScrolling();\n });\n}\n\nfunction enablePointerEventsAfterDelay() {\n if (disablePointerEventsTimeoutId) {\n cancelAnimationTimeout(disablePointerEventsTimeoutId);\n }\n\n var maximumTimeout = 0;\n mountedInstances.forEach(function (instance) {\n maximumTimeout = Math.max(maximumTimeout, instance.props.scrollingResetTimeInterval);\n });\n\n disablePointerEventsTimeoutId = requestAnimationTimeout(enablePointerEventsAfterDelayCallback, maximumTimeout);\n}\n\nfunction onScrollWindow(event) {\n if (event.currentTarget === window && originalBodyPointerEvents == null && document.body) {\n originalBodyPointerEvents = document.body.style.pointerEvents;\n\n document.body.style.pointerEvents = 'none';\n }\n enablePointerEventsAfterDelay();\n mountedInstances.forEach(function (instance) {\n if (instance.props.scrollElement === event.currentTarget) {\n instance.__handleWindowScrollEvent();\n }\n });\n}\n\nexport function registerScrollListener(component, element) {\n if (!mountedInstances.some(function (instance) {\n return instance.props.scrollElement === element;\n })) {\n element.addEventListener('scroll', onScrollWindow);\n }\n mountedInstances.push(component);\n}\n\nexport function unregisterScrollListener(component, element) {\n mountedInstances = mountedInstances.filter(function (instance) {\n return instance !== component;\n });\n if (!mountedInstances.length) {\n element.removeEventListener('scroll', onScrollWindow);\n if (disablePointerEventsTimeoutId) {\n cancelAnimationTimeout(disablePointerEventsTimeoutId);\n enablePointerEventsIfDisabled();\n }\n }\n}\nimport { bpfrpt_proptype_WindowScroller } from '../WindowScroller.js';","\n\n/**\n * Gets the dimensions of the element, accounting for API differences between\n * `window` and other DOM elements.\n */\n\nvar isWindow = function isWindow(element) {\n return element === window;\n};\n\n// TODO Move this into WindowScroller and import from there\n\n\nvar getBoundingBox = function getBoundingBox(element) {\n return element.getBoundingClientRect();\n};\n\nexport function getDimensions(scrollElement, props) {\n if (!scrollElement) {\n return {\n height: props.serverHeight,\n width: props.serverWidth\n };\n } else if (isWindow(scrollElement)) {\n var _window = window,\n innerHeight = _window.innerHeight,\n innerWidth = _window.innerWidth;\n\n return {\n height: typeof innerHeight === 'number' ? innerHeight : 0,\n width: typeof innerWidth === 'number' ? innerWidth : 0\n };\n } else {\n return getBoundingBox(scrollElement);\n }\n}\n\n/**\n * Gets the vertical and horizontal position of an element within its scroll container.\n * Elements that have been “scrolled past” return negative values.\n * Handles edge-case where a user is navigating back (history) from an already-scrolled page.\n * In this case the body’s top or left position will be a negative number and this element’s top or left will be increased (by that amount).\n */\nexport function getPositionOffset(element, container) {\n if (isWindow(container) && document.documentElement) {\n var containerElement = document.documentElement;\n var elementRect = getBoundingBox(element);\n var containerRect = getBoundingBox(containerElement);\n return {\n top: elementRect.top - containerRect.top,\n left: elementRect.left - containerRect.left\n };\n } else {\n var scrollOffset = getScrollOffset(container);\n var _elementRect = getBoundingBox(element);\n var _containerRect = getBoundingBox(container);\n return {\n top: _elementRect.top + scrollOffset.top - _containerRect.top,\n left: _elementRect.left + scrollOffset.left - _containerRect.left\n };\n }\n}\n\n/**\n * Gets the vertical and horizontal scroll amount of the element, accounting for IE compatibility\n * and API differences between `window` and other DOM elements.\n */\nexport function getScrollOffset(element) {\n if (isWindow(element) && document.documentElement) {\n return {\n top: 'scrollY' in window ? window.scrollY : document.documentElement.scrollTop,\n left: 'scrollX' in window ? window.scrollX : document.documentElement.scrollLeft\n };\n } else {\n return {\n top: element.scrollTop,\n left: element.scrollLeft\n };\n }\n}","import _extends from 'babel-runtime/helpers/extends';\nimport _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';\nimport _classCallCheck from 'babel-runtime/helpers/classCallCheck';\nimport _createClass from 'babel-runtime/helpers/createClass';\nimport _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';\nimport _inherits from 'babel-runtime/helpers/inherits';\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { registerScrollListener, unregisterScrollListener } from './utils/onScroll';\nimport { getDimensions, getPositionOffset, getScrollOffset } from './utils/dimensions';\nimport createDetectElementResize from '../vendor/detectElementResize';\n\n/**\n * Specifies the number of miliseconds during which to disable pointer events while a scroll is in progress.\n * This improves performance and makes scrolling smoother.\n */\nexport var IS_SCROLLING_TIMEOUT = 150;\n\nvar getWindow = function getWindow() {\n return typeof window !== 'undefined' ? window : undefined;\n};\n\nvar WindowScroller = function (_React$PureComponent) {\n _inherits(WindowScroller, _React$PureComponent);\n\n function WindowScroller() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, WindowScroller);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = WindowScroller.__proto__ || _Object$getPrototypeOf(WindowScroller)).call.apply(_ref, [this].concat(args))), _this), _this._window = getWindow(), _this._isMounted = false, _this._positionFromTop = 0, _this._positionFromLeft = 0, _this.state = _extends({}, getDimensions(_this.props.scrollElement, _this.props), {\n isScrolling: false,\n scrollLeft: 0,\n scrollTop: 0\n }), _this._registerChild = function (element) {\n if (element && !(element instanceof Element)) {\n console.warn('WindowScroller registerChild expects to be passed Element or null');\n }\n _this._child = element;\n _this.updatePosition();\n }, _this._onChildScroll = function (_ref2) {\n var scrollTop = _ref2.scrollTop;\n\n if (_this.state.scrollTop === scrollTop) {\n return;\n }\n\n var scrollElement = _this.props.scrollElement;\n if (scrollElement) {\n if (typeof scrollElement.scrollTo === 'function') {\n scrollElement.scrollTo(0, scrollTop + _this._positionFromTop);\n } else {\n scrollElement.scrollTop = scrollTop + _this._positionFromTop;\n }\n }\n }, _this._registerResizeListener = function (element) {\n if (element === window) {\n window.addEventListener('resize', _this._onResize, false);\n } else {\n _this._detectElementResize.addResizeListener(element, _this._onResize);\n }\n }, _this._unregisterResizeListener = function (element) {\n if (element === window) {\n window.removeEventListener('resize', _this._onResize, false);\n } else if (element) {\n _this._detectElementResize.removeResizeListener(element, _this._onResize);\n }\n }, _this._onResize = function () {\n _this.updatePosition();\n }, _this.__handleWindowScrollEvent = function () {\n if (!_this._isMounted) {\n return;\n }\n\n var onScroll = _this.props.onScroll;\n\n\n var scrollElement = _this.props.scrollElement;\n if (scrollElement) {\n var scrollOffset = getScrollOffset(scrollElement);\n var _scrollLeft = Math.max(0, scrollOffset.left - _this._positionFromLeft);\n var _scrollTop = Math.max(0, scrollOffset.top - _this._positionFromTop);\n\n _this.setState({\n isScrolling: true,\n scrollLeft: _scrollLeft,\n scrollTop: _scrollTop\n });\n\n onScroll({\n scrollLeft: _scrollLeft,\n scrollTop: _scrollTop\n });\n }\n }, _this.__resetIsScrolling = function () {\n _this.setState({\n isScrolling: false\n });\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(WindowScroller, [{\n key: 'updatePosition',\n value: function updatePosition() {\n var scrollElement = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props.scrollElement;\n var onResize = this.props.onResize;\n var _state = this.state,\n height = _state.height,\n width = _state.width;\n\n\n var thisNode = this._child || ReactDOM.findDOMNode(this);\n if (thisNode instanceof Element && scrollElement) {\n var offset = getPositionOffset(thisNode, scrollElement);\n this._positionFromTop = offset.top;\n this._positionFromLeft = offset.left;\n }\n\n var dimensions = getDimensions(scrollElement, this.props);\n if (height !== dimensions.height || width !== dimensions.width) {\n this.setState({\n height: dimensions.height,\n width: dimensions.width\n });\n onResize({\n height: dimensions.height,\n width: dimensions.width\n });\n }\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n var scrollElement = this.props.scrollElement;\n\n this._detectElementResize = createDetectElementResize();\n\n this.updatePosition(scrollElement);\n\n if (scrollElement) {\n registerScrollListener(this, scrollElement);\n this._registerResizeListener(scrollElement);\n }\n\n this._isMounted = true;\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps, prevState) {\n var scrollElement = this.props.scrollElement;\n var prevScrollElement = prevProps.scrollElement;\n\n\n if (prevScrollElement !== scrollElement && prevScrollElement != null && scrollElement != null) {\n this.updatePosition(scrollElement);\n\n unregisterScrollListener(this, prevScrollElement);\n registerScrollListener(this, scrollElement);\n\n this._unregisterResizeListener(prevScrollElement);\n this._registerResizeListener(scrollElement);\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n var scrollElement = this.props.scrollElement;\n if (scrollElement) {\n unregisterScrollListener(this, scrollElement);\n this._unregisterResizeListener(scrollElement);\n }\n\n this._isMounted = false;\n }\n }, {\n key: 'render',\n value: function render() {\n var children = this.props.children;\n var _state2 = this.state,\n isScrolling = _state2.isScrolling,\n scrollTop = _state2.scrollTop,\n scrollLeft = _state2.scrollLeft,\n height = _state2.height,\n width = _state2.width;\n\n\n return children({\n onChildScroll: this._onChildScroll,\n registerChild: this._registerChild,\n height: height,\n isScrolling: isScrolling,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n width: width\n });\n }\n\n // Referenced by utils/onScroll\n\n\n // Referenced by utils/onScroll\n\n }]);\n\n return WindowScroller;\n}(React.PureComponent);\n\nWindowScroller.defaultProps = {\n onResize: function onResize() {},\n onScroll: function onScroll() {},\n scrollingResetTimeInterval: IS_SCROLLING_TIMEOUT,\n scrollElement: getWindow(),\n serverHeight: 0,\n serverWidth: 0\n};\nWindowScroller.propTypes = process.env.NODE_ENV === 'production' ? null : {\n /**\n * Function responsible for rendering children.\n * This function should implement the following signature:\n * ({ height, isScrolling, scrollLeft, scrollTop, width }) => PropTypes.element\n */\n children: PropTypes.func.isRequired,\n\n\n /** Callback to be invoked on-resize: ({ height, width }) */\n onResize: PropTypes.func.isRequired,\n\n\n /** Callback to be invoked on-scroll: ({ scrollLeft, scrollTop }) */\n onScroll: PropTypes.func.isRequired,\n\n\n /** Element to attach scroll event listeners. Defaults to window. */\n scrollElement: PropTypes.oneOfType([PropTypes.any, function () {\n return (typeof Element === 'function' ? PropTypes.instanceOf(Element) : PropTypes.any).apply(this, arguments);\n }]),\n\n /**\n * Wait this amount of time after the last scroll event before resetting child `pointer-events`.\n */\n scrollingResetTimeInterval: PropTypes.number.isRequired,\n\n\n /** Height used for server-side rendering */\n serverHeight: PropTypes.number.isRequired,\n\n\n /** Width used for server-side rendering */\n serverWidth: PropTypes.number.isRequired\n};\nexport default WindowScroller;\nimport PropTypes from 'prop-types';","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\n\nvar _class, _temp;\n\nimport * as React from 'react';\nimport { findDOMNode } from 'react-dom';\n\n/**\n * Wraps a cell and measures its rendered content.\n * Measurements are stored in a per-cell cache.\n * Cached-content is not be re-measured.\n */\nvar CellMeasurer = (_temp = _class =\n/*#__PURE__*/\nfunction (_React$PureComponent) {\n _inherits(CellMeasurer, _React$PureComponent);\n\n function CellMeasurer() {\n var _getPrototypeOf2;\n\n var _this;\n\n _classCallCheck(this, CellMeasurer);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(CellMeasurer)).call.apply(_getPrototypeOf2, [this].concat(args)));\n\n _defineProperty(_assertThisInitialized(_this), \"_child\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"_measure\", function () {\n var _this$props = _this.props,\n cache = _this$props.cache,\n _this$props$columnInd = _this$props.columnIndex,\n columnIndex = _this$props$columnInd === void 0 ? 0 : _this$props$columnInd,\n parent = _this$props.parent,\n _this$props$rowIndex = _this$props.rowIndex,\n rowIndex = _this$props$rowIndex === void 0 ? _this.props.index || 0 : _this$props$rowIndex;\n\n var _this$_getCellMeasure = _this._getCellMeasurements(),\n height = _this$_getCellMeasure.height,\n width = _this$_getCellMeasure.width;\n\n if (height !== cache.getHeight(rowIndex, columnIndex) || width !== cache.getWidth(rowIndex, columnIndex)) {\n cache.set(rowIndex, columnIndex, width, height);\n\n if (parent && typeof parent.recomputeGridSize === 'function') {\n parent.recomputeGridSize({\n columnIndex: columnIndex,\n rowIndex: rowIndex\n });\n }\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"_registerChild\", function (element) {\n if (element && !(element instanceof Element)) {\n console.warn('CellMeasurer registerChild expects to be passed Element or null');\n }\n\n _this._child = element;\n\n if (element) {\n _this._maybeMeasureCell();\n }\n });\n\n return _this;\n }\n\n _createClass(CellMeasurer, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this._maybeMeasureCell();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this._maybeMeasureCell();\n }\n }, {\n key: \"render\",\n value: function render() {\n var children = this.props.children;\n return typeof children === 'function' ? children({\n measure: this._measure,\n registerChild: this._registerChild\n }) : children;\n }\n }, {\n key: \"_getCellMeasurements\",\n value: function _getCellMeasurements() {\n var cache = this.props.cache;\n var node = this._child || findDOMNode(this); // TODO Check for a bad combination of fixedWidth and missing numeric width or vice versa with height\n\n if (node && node.ownerDocument && node.ownerDocument.defaultView && node instanceof node.ownerDocument.defaultView.HTMLElement) {\n var styleWidth = node.style.width;\n var styleHeight = node.style.height; // If we are re-measuring a cell that has already been measured,\n // It will have a hard-coded width/height from the previous measurement.\n // The fact that we are measuring indicates this measurement is probably stale,\n // So explicitly clear it out (eg set to \"auto\") so we can recalculate.\n // See issue #593 for more info.\n // Even if we are measuring initially- if we're inside of a MultiGrid component,\n // Explicitly clear width/height before measuring to avoid being tainted by another Grid.\n // eg top/left Grid renders before bottom/right Grid\n // Since the CellMeasurerCache is shared between them this taints derived cell size values.\n\n if (!cache.hasFixedWidth()) {\n node.style.width = 'auto';\n }\n\n if (!cache.hasFixedHeight()) {\n node.style.height = 'auto';\n }\n\n var height = Math.ceil(node.offsetHeight);\n var width = Math.ceil(node.offsetWidth); // Reset after measuring to avoid breaking styles; see #660\n\n if (styleWidth) {\n node.style.width = styleWidth;\n }\n\n if (styleHeight) {\n node.style.height = styleHeight;\n }\n\n return {\n height: height,\n width: width\n };\n } else {\n return {\n height: 0,\n width: 0\n };\n }\n }\n }, {\n key: \"_maybeMeasureCell\",\n value: function _maybeMeasureCell() {\n var _this$props2 = this.props,\n cache = _this$props2.cache,\n _this$props2$columnIn = _this$props2.columnIndex,\n columnIndex = _this$props2$columnIn === void 0 ? 0 : _this$props2$columnIn,\n parent = _this$props2.parent,\n _this$props2$rowIndex = _this$props2.rowIndex,\n rowIndex = _this$props2$rowIndex === void 0 ? this.props.index || 0 : _this$props2$rowIndex;\n\n if (!cache.has(rowIndex, columnIndex)) {\n var _this$_getCellMeasure2 = this._getCellMeasurements(),\n height = _this$_getCellMeasure2.height,\n width = _this$_getCellMeasure2.width;\n\n cache.set(rowIndex, columnIndex, width, height); // If size has changed, let Grid know to re-render.\n\n if (parent && typeof parent.invalidateCellSizeAfterRender === 'function') {\n parent.invalidateCellSizeAfterRender({\n columnIndex: columnIndex,\n rowIndex: rowIndex\n });\n }\n }\n }\n }]);\n\n return CellMeasurer;\n}(React.PureComponent), _defineProperty(_class, \"propTypes\", process.env.NODE_ENV === 'production' ? null : {\n cache: function cache() {\n return (typeof bpfrpt_proptype_CellMeasureCache === \"function\" ? bpfrpt_proptype_CellMeasureCache.isRequired ? bpfrpt_proptype_CellMeasureCache.isRequired : bpfrpt_proptype_CellMeasureCache : PropTypes.shape(bpfrpt_proptype_CellMeasureCache).isRequired).apply(this, arguments);\n },\n children: PropTypes.oneOfType([PropTypes.func, PropTypes.node]).isRequired,\n columnIndex: PropTypes.number,\n index: PropTypes.number,\n parent: PropTypes.shape({\n invalidateCellSizeAfterRender: PropTypes.func,\n recomputeGridSize: PropTypes.func\n }).isRequired,\n rowIndex: PropTypes.number\n}), _temp); // Used for DEV mode warning check\n\n_defineProperty(CellMeasurer, \"__internalCellMeasurerFlag\", false);\n\nexport { CellMeasurer as default };\n\nif (process.env.NODE_ENV !== 'production') {\n CellMeasurer.__internalCellMeasurerFlag = true;\n}\n\nimport { bpfrpt_proptype_CellMeasureCache } from \"./types\";\nimport PropTypes from \"prop-types\";","import WindowScroller, { IS_SCROLLING_TIMEOUT } from './WindowScroller';\n\nexport default WindowScroller;\nexport { WindowScroller, IS_SCROLLING_TIMEOUT };","import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nexport var DEFAULT_HEIGHT = 30;\nexport var DEFAULT_WIDTH = 100; // Enables more intelligent mapping of a given column and row index to an item ID.\n// This prevents a cell cache from being invalidated when its parent collection is modified.\n\n/**\n * Caches measurements for a given cell.\n */\nvar CellMeasurerCache =\n/*#__PURE__*/\nfunction () {\n function CellMeasurerCache() {\n var _this = this;\n\n var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n _classCallCheck(this, CellMeasurerCache);\n\n _defineProperty(this, \"_cellHeightCache\", {});\n\n _defineProperty(this, \"_cellWidthCache\", {});\n\n _defineProperty(this, \"_columnWidthCache\", {});\n\n _defineProperty(this, \"_rowHeightCache\", {});\n\n _defineProperty(this, \"_defaultHeight\", void 0);\n\n _defineProperty(this, \"_defaultWidth\", void 0);\n\n _defineProperty(this, \"_minHeight\", void 0);\n\n _defineProperty(this, \"_minWidth\", void 0);\n\n _defineProperty(this, \"_keyMapper\", void 0);\n\n _defineProperty(this, \"_hasFixedHeight\", void 0);\n\n _defineProperty(this, \"_hasFixedWidth\", void 0);\n\n _defineProperty(this, \"_columnCount\", 0);\n\n _defineProperty(this, \"_rowCount\", 0);\n\n _defineProperty(this, \"columnWidth\", function (_ref) {\n var index = _ref.index;\n\n var key = _this._keyMapper(0, index);\n\n return _this._columnWidthCache[key] !== undefined ? _this._columnWidthCache[key] : _this._defaultWidth;\n });\n\n _defineProperty(this, \"rowHeight\", function (_ref2) {\n var index = _ref2.index;\n\n var key = _this._keyMapper(index, 0);\n\n return _this._rowHeightCache[key] !== undefined ? _this._rowHeightCache[key] : _this._defaultHeight;\n });\n\n var defaultHeight = params.defaultHeight,\n defaultWidth = params.defaultWidth,\n fixedHeight = params.fixedHeight,\n fixedWidth = params.fixedWidth,\n keyMapper = params.keyMapper,\n minHeight = params.minHeight,\n minWidth = params.minWidth;\n this._hasFixedHeight = fixedHeight === true;\n this._hasFixedWidth = fixedWidth === true;\n this._minHeight = minHeight || 0;\n this._minWidth = minWidth || 0;\n this._keyMapper = keyMapper || defaultKeyMapper;\n this._defaultHeight = Math.max(this._minHeight, typeof defaultHeight === 'number' ? defaultHeight : DEFAULT_HEIGHT);\n this._defaultWidth = Math.max(this._minWidth, typeof defaultWidth === 'number' ? defaultWidth : DEFAULT_WIDTH);\n\n if (process.env.NODE_ENV !== 'production') {\n if (this._hasFixedHeight === false && this._hasFixedWidth === false) {\n console.warn(\"CellMeasurerCache should only measure a cell's width or height. \" + 'You have configured CellMeasurerCache to measure both. ' + 'This will result in poor performance.');\n }\n\n if (this._hasFixedHeight === false && this._defaultHeight === 0) {\n console.warn('Fixed height CellMeasurerCache should specify a :defaultHeight greater than 0. ' + 'Failing to do so will lead to unnecessary layout and poor performance.');\n }\n\n if (this._hasFixedWidth === false && this._defaultWidth === 0) {\n console.warn('Fixed width CellMeasurerCache should specify a :defaultWidth greater than 0. ' + 'Failing to do so will lead to unnecessary layout and poor performance.');\n }\n }\n }\n\n _createClass(CellMeasurerCache, [{\n key: \"clear\",\n value: function clear(rowIndex) {\n var columnIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n var key = this._keyMapper(rowIndex, columnIndex);\n\n delete this._cellHeightCache[key];\n delete this._cellWidthCache[key];\n\n this._updateCachedColumnAndRowSizes(rowIndex, columnIndex);\n }\n }, {\n key: \"clearAll\",\n value: function clearAll() {\n this._cellHeightCache = {};\n this._cellWidthCache = {};\n this._columnWidthCache = {};\n this._rowHeightCache = {};\n this._rowCount = 0;\n this._columnCount = 0;\n }\n }, {\n key: \"hasFixedHeight\",\n value: function hasFixedHeight() {\n return this._hasFixedHeight;\n }\n }, {\n key: \"hasFixedWidth\",\n value: function hasFixedWidth() {\n return this._hasFixedWidth;\n }\n }, {\n key: \"getHeight\",\n value: function getHeight(rowIndex) {\n var columnIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n if (this._hasFixedHeight) {\n return this._defaultHeight;\n } else {\n var _key = this._keyMapper(rowIndex, columnIndex);\n\n return this._cellHeightCache[_key] !== undefined ? Math.max(this._minHeight, this._cellHeightCache[_key]) : this._defaultHeight;\n }\n }\n }, {\n key: \"getWidth\",\n value: function getWidth(rowIndex) {\n var columnIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n if (this._hasFixedWidth) {\n return this._defaultWidth;\n } else {\n var _key2 = this._keyMapper(rowIndex, columnIndex);\n\n return this._cellWidthCache[_key2] !== undefined ? Math.max(this._minWidth, this._cellWidthCache[_key2]) : this._defaultWidth;\n }\n }\n }, {\n key: \"has\",\n value: function has(rowIndex) {\n var columnIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n var key = this._keyMapper(rowIndex, columnIndex);\n\n return this._cellHeightCache[key] !== undefined;\n }\n }, {\n key: \"set\",\n value: function set(rowIndex, columnIndex, width, height) {\n var key = this._keyMapper(rowIndex, columnIndex);\n\n if (columnIndex >= this._columnCount) {\n this._columnCount = columnIndex + 1;\n }\n\n if (rowIndex >= this._rowCount) {\n this._rowCount = rowIndex + 1;\n } // Size is cached per cell so we don't have to re-measure if cells are re-ordered.\n\n\n this._cellHeightCache[key] = height;\n this._cellWidthCache[key] = width;\n\n this._updateCachedColumnAndRowSizes(rowIndex, columnIndex);\n }\n }, {\n key: \"_updateCachedColumnAndRowSizes\",\n value: function _updateCachedColumnAndRowSizes(rowIndex, columnIndex) {\n // :columnWidth and :rowHeight are derived based on all cells in a column/row.\n // Pre-cache these derived values for faster lookup later.\n // Reads are expected to occur more frequently than writes in this case.\n // Only update non-fixed dimensions though to avoid doing unnecessary work.\n if (!this._hasFixedWidth) {\n var columnWidth = 0;\n\n for (var i = 0; i < this._rowCount; i++) {\n columnWidth = Math.max(columnWidth, this.getWidth(i, columnIndex));\n }\n\n var columnKey = this._keyMapper(0, columnIndex);\n\n this._columnWidthCache[columnKey] = columnWidth;\n }\n\n if (!this._hasFixedHeight) {\n var rowHeight = 0;\n\n for (var _i = 0; _i < this._columnCount; _i++) {\n rowHeight = Math.max(rowHeight, this.getHeight(rowIndex, _i));\n }\n\n var rowKey = this._keyMapper(rowIndex, 0);\n\n this._rowHeightCache[rowKey] = rowHeight;\n }\n }\n }, {\n key: \"defaultHeight\",\n get: function get() {\n return this._defaultHeight;\n }\n }, {\n key: \"defaultWidth\",\n get: function get() {\n return this._defaultWidth;\n }\n }]);\n\n return CellMeasurerCache;\n}();\n\nexport { CellMeasurerCache as default };\n\nfunction defaultKeyMapper(rowIndex, columnIndex) {\n return \"\".concat(rowIndex, \"-\").concat(columnIndex);\n}\n\nimport { bpfrpt_proptype_CellMeasureCache } from \"./types\";","function areInputsEqual(newInputs, lastInputs) {\n if (newInputs.length !== lastInputs.length) {\n return false;\n }\n for (var i = 0; i < newInputs.length; i++) {\n if (newInputs[i] !== lastInputs[i]) {\n return false;\n }\n }\n return true;\n}\n\nfunction memoizeOne(resultFn, isEqual) {\n if (isEqual === void 0) { isEqual = areInputsEqual; }\n var lastThis;\n var lastArgs = [];\n var lastResult;\n var calledOnce = false;\n function memoized() {\n var newArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n newArgs[_i] = arguments[_i];\n }\n if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {\n return lastResult;\n }\n lastResult = resultFn.apply(this, newArgs);\n calledOnce = true;\n lastThis = this;\n lastArgs = newArgs;\n return lastResult;\n }\n return memoized;\n}\n\nexport default memoizeOne;\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport dataTests from '../global/data-tests';\nimport Avatar, {Size as AvatarSize} from '../avatar/avatar';\nimport Checkbox from '../checkbox/checkbox';\nimport Icon from '../icon';\n\nimport getUID from '../global/get-uid';\nimport globalStyles from '../global/global.css';\n\nimport styles from './list.css';\n\n/**\n * @constructor\n * @extends {ReactComponent}\n */\n\nconst RING_UNIT = 8;\nconst DEFAULT_PADDING = 16;\nconst CHECKBOX_WIDTH = 28;\n\nexport default class ListItem extends PureComponent {\n static propTypes = {\n scrolling: PropTypes.bool,\n hover: PropTypes.bool,\n details: PropTypes.string,\n disabled: PropTypes.bool,\n className: PropTypes.string,\n tabIndex: PropTypes.number,\n checkbox: PropTypes.bool,\n description: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.element,\n PropTypes.array\n ]),\n avatar: PropTypes.string,\n subavatar: PropTypes.string,\n glyph: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),\n icon: PropTypes.string,\n iconSize: PropTypes.number,\n rightNodes: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.element,\n PropTypes.array\n ]),\n leftNodes: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.element,\n PropTypes.array\n ]),\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n title: PropTypes.string,\n level: PropTypes.number,\n rgItemType: PropTypes.number,\n rightGlyph: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),\n compact: PropTypes.bool,\n onClick: PropTypes.func,\n onCheckboxChange: PropTypes.func,\n onMouseOver: PropTypes.func,\n onMouseUp: PropTypes.func,\n 'data-test': PropTypes.string\n };\n\n id = getUID('list-item-');\n\n stopBubbling = e => e.stopPropagation();\n\n _isString = val => typeof val === 'string' || val instanceof String;\n\n render() {\n const {\n scrolling,\n className,\n disabled,\n checkbox,\n avatar,\n subavatar,\n glyph,\n icon,\n rightGlyph,\n description,\n label,\n title,\n details,\n hover,\n rgItemType,\n level,\n tabIndex,\n compact,\n onClick,\n onCheckboxChange,\n onMouseOver,\n onMouseUp,\n rightNodes,\n leftNodes,\n ...restProps\n } = this.props;\n\n const checkable = checkbox !== undefined;\n const hasLeftNodes = leftNodes || glyph || avatar;\n const showCheckbox = checkable && (checkbox || !hasLeftNodes || (hover && !disabled));\n\n const classes = classNames(styles.item, globalStyles.resetButton, className, {\n [styles.action]: !disabled,\n [styles.hover]: hover && !disabled,\n [styles.compact]: compact,\n [styles.scrolling]: scrolling,\n [styles.disabled]: disabled\n });\n\n const detailsClasses = classNames({\n [styles.details]: details,\n [styles.padded]: icon !== undefined ||\n checkbox !== undefined ||\n glyph !== undefined\n });\n\n const style = {\n paddingLeft: `${(+level || 0) * RING_UNIT + DEFAULT_PADDING + (showCheckbox ? CHECKBOX_WIDTH : 0)}px`\n };\n\n let computedTitle = null;\n if (this._isString(title)) {\n // if title is specified and is a string then use it\n computedTitle = title;\n } else {\n // otherwise use label if it is a string;\n // label can also be an element, use empty string in this case\n computedTitle = this._isString(label) ? label : '';\n }\n\n const dataTest = dataTests({\n 'ring-list-item': (restProps['data-test'] || '').indexOf('ring-list-item') === -1,\n 'ring-list-item-action': !disabled,\n 'ring-list-item-selected': checkbox\n }, restProps['data-test']);\n\n return (\n <div className={styles.itemContainer} data-test={dataTest}>\n {showCheckbox && (\n <div\n className={styles.checkboxContainer}\n >\n <Checkbox\n aria-labelledby={this.id}\n onClick={this.stopBubbling}\n checked={checkbox}\n onChange={onCheckboxChange}\n />\n </div>\n )}\n <button\n id={this.id}\n type=\"button\"\n tabIndex={tabIndex}\n onClick={onClick}\n onMouseOver={onMouseOver}\n onFocus={onMouseOver}\n onMouseUp={onMouseUp}\n className={classes}\n style={style}\n >\n <div className={styles.top} onMouseOut={this.stopBubbling} onBlur={this.stopBubbling}>\n {!showCheckbox && (\n <div className={styles.left}>\n {leftNodes}\n {glyph && (\n <Icon\n className={styles.glyph}\n glyph={glyph}\n size={this.props.iconSize}\n />\n )}\n {avatar && (\n <Avatar\n className={styles.avatar}\n url={avatar}\n size={AvatarSize.Size20}\n subavatar={subavatar}\n />\n )}\n </div>\n )}\n\n <span\n className={styles.label}\n title={computedTitle}\n data-test=\"ring-list-item-label\"\n >{label}</span>\n\n {description && (\n <span\n className={styles.description}\n data-test=\"ring-list-item-description\"\n >{description}</span>\n )}\n\n <div className={styles.right}>\n {rightGlyph && (\n <Icon\n className={styles.rightGlyph}\n glyph={rightGlyph}\n size={this.props.iconSize}\n />\n )}\n {icon && (\n <div\n className={styles.icon}\n style={{backgroundImage: `url(\"${icon}\")`}}\n />\n )}\n {rightNodes}\n </div>\n </div>\n\n {details && <div className={detailsClasses}>{details}</div>}\n </button>\n </div>\n );\n }\n}\n","// react-dom getEventKey function extracted\n\nconst normalizeKey = {\n Esc: 'Escape',\n Spacebar: ' ',\n Left: 'ArrowLeft',\n Up: 'ArrowUp',\n Right: 'ArrowRight',\n Down: 'ArrowDown',\n Del: 'Delete',\n Win: 'OS',\n Menu: 'ContextMenu',\n Apps: 'ContextMenu',\n Scroll: 'ScrollLock',\n MozPrintableKey: 'Unidentified'\n};\n\nconst translateToKey = {\n 8: 'Backspace',\n 9: 'Tab',\n 12: 'Clear',\n 13: 'Enter',\n 16: 'Shift',\n 17: 'Control',\n 18: 'Alt',\n 19: 'Pause',\n 20: 'CapsLock',\n 27: 'Escape',\n 32: ' ',\n 33: 'PageUp',\n 34: 'PageDown',\n 35: 'End',\n 36: 'Home',\n 37: 'ArrowLeft',\n 38: 'ArrowUp',\n 39: 'ArrowRight',\n 40: 'ArrowDown',\n 45: 'Insert',\n 46: 'Delete',\n 112: 'F1',\n 113: 'F2',\n 114: 'F3',\n 115: 'F4',\n 116: 'F5',\n 117: 'F6',\n 118: 'F7',\n 119: 'F8',\n 120: 'F9',\n 121: 'F10',\n 122: 'F11',\n 123: 'F12',\n 144: 'NumLock',\n 145: 'ScrollLock',\n 224: 'Meta'\n};\n\nconst ENTER = 13;\nconst SPACE = 32;\n\nfunction getEventCharCode(nativeEvent) {\n let charCode;\n const keyCode = nativeEvent.keyCode;\n\n if ('charCode' in nativeEvent) {\n charCode = nativeEvent.charCode;\n\n // FF does not set `charCode` for the Enter-key, check against `keyCode`.\n if (charCode === 0 && keyCode === ENTER) {\n charCode = ENTER;\n }\n } else {\n // IE8 does not implement `charCode`, but `keyCode` has the correct value.\n charCode = keyCode;\n }\n\n // Some non-printable keys are reported in `charCode`/`keyCode`, discard them.\n // Must not discard the (non-)printable Enter-key.\n if (charCode >= SPACE || charCode === ENTER) {\n return charCode;\n }\n return 0;\n}\n\n\nexport default function getEventKey(nativeEvent) {\n if (nativeEvent.key) {\n // Normalize inconsistent values reported by browsers due to\n // implementations of a working draft specification.\n\n // FireFox implements `key` but returns `MozPrintableKey` for all\n // printable characters (normalized to `Unidentified`), ignore it.\n const key = normalizeKey[nativeEvent.key] || nativeEvent.key;\n if (key !== 'Unidentified') {\n return key;\n }\n }\n\n // Browser does not implement `key`, polyfill as much of it as we can.\n if (nativeEvent.type === 'keypress') {\n const charCode = getEventCharCode(nativeEvent);\n\n // The enter-key is technically both printable and non-printable and can\n // thus be captured by `keypress`, no other non-printable key should.\n return charCode === SPACE ? 'Enter' : String.fromCharCode(charCode);\n }\n if (nativeEvent.type === 'keydown' || nativeEvent.type === 'keyup') {\n // While user keyboard layout determines the actual meaning of each\n // `keyCode` value, almost all function keys have a universal value.\n return translateToKey[nativeEvent.keyCode] || 'Unidentified';\n }\n return '';\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport dataTests from '../global/data-tests';\nimport getEventKey from '../global/get-event-key';\n\nimport styles from './list.css';\n\nexport default class ListCustom extends PureComponent {\n static propTypes = {\n scrolling: PropTypes.bool,\n hover: PropTypes.bool,\n className: PropTypes.string,\n disabled: PropTypes.bool,\n rgItemType: PropTypes.number,\n tabIndex: PropTypes.number,\n template: PropTypes.oneOfType([\n PropTypes.func,\n PropTypes.element,\n PropTypes.string\n ]),\n onClick: PropTypes.func,\n onMouseOver: PropTypes.func,\n onMouseUp: PropTypes.func,\n onCheckboxChange: PropTypes.func,\n 'data-test': PropTypes.string\n };\n\n static defaultProps = {\n hover: false\n };\n\n handleKeyPress = event => {\n const key = getEventKey(event);\n if (key === 'Enter' || key === ' ') {\n this.props.onClick(event);\n }\n };\n\n render() {\n const {\n scrolling,\n hover,\n className,\n disabled,\n template,\n rgItemType,\n tabIndex,\n onClick,\n onCheckboxChange,\n onMouseOver,\n onMouseUp,\n ...restProps\n } = this.props;\n const classes = classNames(styles.item, className, {\n [styles.action]: !disabled,\n [styles.hover]: hover && !disabled,\n [styles.scrolling]: scrolling\n });\n\n\n const dataTest = dataTests('ring-list-item-custom', {\n 'ring-list-item-action': !disabled\n }, restProps['data-test']);\n\n const content = (typeof template === 'function') ? template(this.props) : template;\n return (\n <span\n role=\"button\"\n tabIndex={tabIndex}\n onClick={onClick}\n onKeyPress={this.handleKeyPress}\n onMouseOver={onMouseOver}\n onFocus={onMouseOver}\n onMouseUp={onMouseUp}\n className={classes}\n data-test={dataTest}\n >\n {content}\n </span>\n );\n }\n}\n","import React, {Component, PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport Link, {linkHOC} from '../link/link';\nimport dataTests from '../global/data-tests';\n\nimport styles from './list.css';\n\n/**\n * @constructor\n * @extends {ReactComponent}\n */\nexport default class ListLink extends PureComponent {\n static propTypes = {\n ...Link.propTypes,\n description: PropTypes.string,\n label: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string\n ]),\n rgItemType: PropTypes.number,\n scrolling: PropTypes.bool,\n url: PropTypes.string,\n LinkComponent: PropTypes.oneOfType([\n PropTypes.instanceOf(Component),\n PropTypes.func,\n PropTypes.string\n ]),\n onCheckboxChange: PropTypes.func,\n compact: PropTypes.bool\n };\n\n render() {\n const {\n scrolling,\n 'data-test': dataTest,\n className,\n label,\n hover,\n description,\n rgItemType,\n url,\n onCheckboxChange,\n disabled,\n LinkComponent,\n compact,\n hoverClassName,\n ...restProps\n } = this.props;\n const classes = classNames(styles.item, className, {\n [styles.actionLink]: !disabled,\n [styles.compact]: compact,\n [styles.scrolling]: scrolling\n });\n\n const Comp = LinkComponent ? linkHOC(LinkComponent) : Link;\n\n return (\n <Comp\n pseudo={!this.props.href}\n {...restProps}\n hover={hover && !disabled}\n className={classes}\n data-test={dataTests('ring-list-link', dataTest)}\n >\n {label}\n </Comp>\n );\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\n\nimport styles from './list.css';\n\nexport default class ListTitle extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n description: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string\n ]),\n label: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string\n ]),\n isFirst: PropTypes.bool\n };\n\n render() {\n const {className, description, label, isFirst} = this.props;\n\n const classes = classnames(styles.title, className, {\n [styles.title_first]: isFirst\n });\n\n return (\n <span\n className={classes}\n data-test=\"ring-list-title\"\n >\n <span\n className={classnames(styles.label, styles.text)}\n data-test=\"ring-list-title-label\"\n >{label}</span>\n <div\n className={styles.description}\n data-test=\"ring-list-title-description\"\n >{description}</div>\n </span>\n );\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport styles from './list.css';\n\nexport default class ListSeparator extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n description: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string\n ]),\n isFirst: PropTypes.bool\n };\n\n render() {\n const {description, isFirst, className} = this.props;\n\n const classes = classNames(styles.separator, className, {\n [styles.separator_first]: isFirst\n });\n\n return (\n <span\n className={classes}\n >{description}</span>\n );\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\n\nimport styles from './list.css';\n\n/**\n * @constructor\n * @extends {ReactComponent}\n */\nexport default class ListHint extends PureComponent {\n static propTypes = {\n label: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string\n ])\n };\n\n render() {\n return (\n <span\n className={classnames(styles.item, styles.hint)}\n data-test=\"ring-list-hint\"\n >{this.props.label}</span>\n );\n }\n}\n","/**\n * @name List\n */\n\nimport 'dom4';\nimport React, {Component, cloneElement} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport VirtualizedList from 'react-virtualized/dist/es/List';\nimport AutoSizer from 'react-virtualized/dist/es/AutoSizer';\nimport WindowScroller from 'react-virtualized/dist/es/WindowScroller';\n// TODO move back when https://github.com/bvaughn/react-virtualized/pull/1477 is merged and released\nimport {CellMeasurer, CellMeasurerCache} from '@hypnosphi/react-virtualized/dist/es/CellMeasurer';\nimport deprecate from 'util-deprecate';\nimport memoizeOne from 'memoize-one';\n\nimport dataTests from '../global/data-tests';\nimport getUID from '../global/get-uid';\nimport scheduleRAF from '../global/schedule-raf';\nimport memoize from '../global/memoize';\nimport {preventDefault} from '../global/dom';\nimport Shortcuts from '../shortcuts/shortcuts';\n\nimport styles from './list.css';\nimport ListItem from './list__item';\nimport ListCustom from './list__custom';\nimport ListLink from './list__link';\nimport ListTitle from './list__title';\nimport ListSeparator from './list__separator';\nimport ListHint from './list__hint';\n\nconst scheduleScrollListener = scheduleRAF();\nconst scheduleHoverListener = scheduleRAF();\n/**\n * @enum {number}\n */\nconst Type = {\n SEPARATOR: 0,\n LINK: 1,\n ITEM: 2,\n HINT: 3,\n CUSTOM: 4,\n TITLE: 5,\n MARGIN: 6\n};\n\nconst Dimension = {\n ITEM_PADDING: 16,\n ITEM_HEIGHT: 32,\n COMPACT_ITEM_HEIGHT: 24,\n SEPARATOR_HEIGHT: 25,\n SEPARATOR_FIRST_HEIGHT: 16,\n SEPARATOR_TEXT_HEIGHT: 18,\n TITLE_HEIGHT: 42,\n INNER_PADDING: 8,\n MARGIN: 8\n};\n\nconst DEFAULT_ITEM_TYPE = Type.ITEM;\n\nfunction noop() {}\n\nconst warnEmptyKey = deprecate(\n () => {},\n 'No key passed for list item with non-string label. It is considered as a bad practice and has been deprecated, please provide a key.'\n);\n\n/**\n * @param {Type} listItemType\n * @param {Object} item list item\n */\nfunction isItemType(listItemType, item) {\n let type = item.rgItemType;\n if (type == null) {\n type = DEFAULT_ITEM_TYPE;\n }\n return type === listItemType;\n}\n\nconst nonActivatableTypes = [\n Type.SEPARATOR,\n Type.TITLE,\n Type.MARGIN\n];\n\nfunction isActivatable(item) {\n return !nonActivatableTypes.includes(item.rgItemType) && !item.disabled;\n}\n\nconst shouldActivateFirstItem = props => props.activateFirstItem ||\n props.activateSingleItem && props.data.length === 1;\n\n/**\n * @name List\n * @constructor\n * @extends {ReactComponent}\n */\nexport default class List extends Component {\n static propTypes = {\n className: PropTypes.string,\n hint: PropTypes.string,\n hintOnSelection: PropTypes.string,\n data: PropTypes.array,\n maxHeight: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.number\n ]),\n activeIndex: PropTypes.number,\n restoreActiveIndex: PropTypes.bool,\n activateSingleItem: PropTypes.bool,\n activateFirstItem: PropTypes.bool,\n shortcuts: PropTypes.bool,\n onMouseOut: PropTypes.func,\n onSelect: PropTypes.func,\n onScrollToBottom: PropTypes.func,\n onResize: PropTypes.func,\n useMouseUp: PropTypes.bool,\n visible: PropTypes.bool,\n renderOptimization: PropTypes.bool,\n disableMoveOverflow: PropTypes.bool,\n disableMoveDownOverflow: PropTypes.bool,\n compact: PropTypes.bool,\n disableScrollToActive: PropTypes.bool\n };\n\n static defaultProps = {\n data: [],\n restoreActiveIndex: false, // restore active item using its \"key\" property\n activateSingleItem: false, // if there is only one item, activate it\n activateFirstItem: false, // if there no active items, activate the first one\n onMouseOut: noop,\n onSelect: noop,\n onScrollToBottom: noop,\n onResize: noop,\n shortcuts: false,\n renderOptimization: true,\n disableMoveDownOverflow: false\n };\n\n state = {\n activeIndex: null,\n prevActiveIndex: null,\n prevData: [],\n activeItem: null,\n needScrollToActive: false,\n scrolling: false,\n hasOverflow: false,\n disabledHover: false,\n scrolledToBottom: false\n };\n\n static getDerivedStateFromProps(nextProps, prevState) {\n const {prevActiveIndex, prevData, activeItem} = prevState;\n const {data, activeIndex, restoreActiveIndex} = nextProps;\n const nextState = {prevActiveIndex: activeIndex, prevData: data};\n\n if (data !== prevData) {\n Object.assign(nextState, {\n activeIndex: null,\n activeItem: null\n });\n }\n\n if (activeIndex != null && activeIndex !== prevActiveIndex && data[activeIndex] != null) {\n Object.assign(nextState, {\n activeIndex,\n activeItem: data[activeIndex],\n needScrollToActive: true\n });\n } else if (\n data !== prevData &&\n restoreActiveIndex &&\n activeItem != null &&\n activeItem.key != null\n ) {\n // Restore active index if there is an item with the same \"key\" property\n const index = data.findIndex(item => item.key === activeItem.key);\n if (index >= 0) {\n Object.assign(nextState, {\n activeIndex: index,\n activeItem: data[index]\n });\n }\n }\n\n if (\n activeIndex == null &&\n prevState.activeIndex == null &&\n shouldActivateFirstItem(nextProps)\n ) {\n const firstActivatableIndex = data.findIndex(isActivatable);\n if (firstActivatableIndex >= 0) {\n Object.assign(nextState, {\n activeIndex: firstActivatableIndex,\n activeItem: data[firstActivatableIndex],\n needScrollToActive: true\n });\n }\n }\n\n return nextState;\n }\n\n componentDidMount() {\n document.addEventListener('mousemove', this.onDocumentMouseMove);\n document.addEventListener('keydown', this.onDocumentKeyDown, true);\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n return nextProps !== this.props ||\n Object.keys(nextState).some(key => nextState[key] !== this.state[key]);\n }\n\n componentDidUpdate(prevProps) {\n if (this.virtualizedList && prevProps.data !== this.props.data) {\n this.virtualizedList.recomputeRowHeights();\n }\n\n this.checkOverflow();\n }\n\n componentWillUnmount() {\n this.unmounted = true;\n document.removeEventListener('mousemove', this.onDocumentMouseMove);\n document.removeEventListener('keydown', this.onDocumentKeyDown, true);\n }\n\n static isItemType = isItemType;\n\n static ListHint = ListHint;\n\n static ListProps = {\n Type,\n Dimension\n };\n\n hoverHandler = memoize(index => () =>\n scheduleHoverListener(() => {\n if (this.state.disabledHover) {\n return;\n }\n\n if (this.container) {\n this.setState({\n activeIndex: index,\n activeItem: this.props.data[index],\n needScrollToActive: false\n });\n }\n })\n );\n\n _activatableItems = false;\n\n // eslint-disable-next-line no-magic-numbers\n _bufferSize = 10; // keep X items above and below of the visible area\n // reuse size cache for similar items\n sizeCacheKey = index => {\n if (index === 0 || index === this.props.data.length + 1) {\n return Type.MARGIN;\n }\n\n const item = this.props.data[index - 1];\n const isFirst = index === 1;\n switch (item.rgItemType) {\n case Type.SEPARATOR:\n case Type.TITLE:\n return `${item.rgItemType}${isFirst ? '_first' : ''}${item.description ? '_desc' : ''}`;\n case Type.MARGIN:\n return Type.MARGIN;\n case Type.CUSTOM:\n return `${Type.CUSTOM}_${item.key}`;\n case Type.ITEM:\n case Type.LINK:\n default:\n if (item.details) {\n return `${Type.ITEM}_${item.details}`;\n }\n return Type.ITEM;\n }\n };\n\n _cache = new CellMeasurerCache({\n defaultHeight: this.defaultItemHeight(),\n fixedWidth: true,\n keyMapper: this.sizeCacheKey\n });\n\n _hasActivatableItems = memoizeOne(items => items.some(isActivatable));\n hasActivatableItems() {\n return this._hasActivatableItems(this.props.data);\n }\n\n selectHandler = memoize(index => (event, tryKeepOpen = false) => {\n const item = this.props.data[index];\n if (!this.props.useMouseUp && item.onClick) {\n item.onClick(item, event);\n } else if (this.props.useMouseUp && item.onMouseUp) {\n item.onMouseUp(item, event);\n }\n\n if (this.props.onSelect) {\n this.props.onSelect(item, event, {tryKeepOpen});\n }\n });\n\n upHandler = e => {\n const {data, disableMoveOverflow} = this.props;\n const index = this.state.activeIndex;\n let newIndex;\n\n if (index === null || index === 0) {\n if (!disableMoveOverflow) {\n newIndex = data.length - 1;\n } else {\n return;\n }\n } else {\n newIndex = index - 1;\n }\n\n this.moveHandler(newIndex, this.upHandler, e);\n };\n\n downHandler = e => {\n const {data, disableMoveOverflow, disableMoveDownOverflow} = this.props;\n const index = this.state.activeIndex;\n let newIndex;\n\n if (index === null) {\n newIndex = 0;\n } else if (index + 1 === data.length) {\n if (!disableMoveOverflow && !disableMoveDownOverflow) {\n newIndex = 0;\n } else {\n return;\n }\n } else {\n newIndex = index + 1;\n }\n\n this.moveHandler(newIndex, this.downHandler, e);\n };\n\n homeHandler = e => {\n this.moveHandler(0, this.downHandler, e);\n };\n\n endHandler = e => {\n this.moveHandler(this.props.data.length - 1, this.upHandler, e);\n };\n\n onDocumentMouseMove = () => {\n if (this.state.disabledHover) {\n this.setState({disabledHover: false});\n }\n };\n\n onDocumentKeyDown = e => {\n const metaKeys = [16, 17, 18, 19, 20, 91]; // eslint-disable-line no-magic-numbers\n if (!this.state.disabledHover && !metaKeys.includes(e.keyCode)) {\n this.setState({disabledHover: true});\n }\n };\n\n moveHandler(index, retryCallback, e) {\n let correctedIndex;\n if (this.props.data.length === 0 || !this.hasActivatableItems()) {\n return;\n } else if (this.props.data.length < index) {\n correctedIndex = 0;\n } else {\n correctedIndex = index;\n }\n\n const item = this.props.data[correctedIndex];\n this.setState(\n {\n activeIndex: correctedIndex,\n activeItem: item,\n needScrollToActive: true\n },\n function onSet() {\n if (!isActivatable(item)) {\n retryCallback(e);\n return;\n }\n\n if (e.key !== 'Home' && e.key !== 'End') {\n preventDefault(e);\n }\n }\n );\n }\n\n mouseHandler = () => {\n this.setState({scrolling: false});\n };\n\n scrollHandler = () => {\n this.setState({scrolling: true}, this.scrollEndHandler);\n };\n\n enterHandler = (event, shortcut) => {\n if (this.state.activeIndex !== null) {\n const item = this.props.data[this.state.activeIndex];\n this.selectHandler(this.state.activeIndex)(event);\n\n if (item.href && !event.defaultPrevented) {\n if (['command+enter', 'ctrl+enter'].includes(shortcut)) {\n window.open(item.href, '_blank');\n } else if (shortcut === 'shift+enter') {\n window.open(item.href);\n } else {\n window.location.href = item.href;\n }\n }\n return false; // do not propagate event\n } else {\n return true; // propagate event to the parent component (e.g., QueryAssist)\n }\n };\n\n getFirst() {\n return this.props.data.find(\n item => item.rgItemType === Type.ITEM || item.rgItemType === Type.CUSTOM\n );\n }\n\n getSelected() {\n return this.props.data[this.state.activeIndex];\n }\n\n clearSelected = () => {\n this.setState({\n activeIndex: null,\n needScrollToActive: false\n });\n };\n\n defaultItemHeight() {\n return this.props.compact ? Dimension.COMPACT_ITEM_HEIGHT : Dimension.ITEM_HEIGHT;\n }\n\n scrollEndHandler = () => scheduleScrollListener(() => {\n const innerContainer = this.inner;\n if (innerContainer) {\n const maxScrollingPosition = innerContainer.scrollHeight;\n const sensitivity = this.defaultItemHeight() / 2;\n const currentScrollingPosition =\n innerContainer.scrollTop + innerContainer.clientHeight + sensitivity;\n const scrolledToBottom =\n maxScrollingPosition > 0 && currentScrollingPosition >= maxScrollingPosition;\n if (!this.unmounted) {\n this.setState({scrolledToBottom});\n }\n if (scrolledToBottom) {\n this.props.onScrollToBottom();\n }\n }\n });\n\n checkOverflow = () => {\n if (this.inner) {\n this.setState({\n hasOverflow: this.inner.scrollHeight - this.inner.clientHeight > 1\n });\n }\n };\n\n getVisibleListHeight(props) {\n return props.maxHeight - this.defaultItemHeight() - Dimension.INNER_PADDING;\n }\n\n _deprecatedGenerateKeyFromContent(itemProps) {\n const identificator = itemProps.label || itemProps.description;\n const isString = typeof identificator === 'string' || identificator instanceof String;\n if (identificator && !isString) {\n warnEmptyKey();\n `${itemProps.rgItemType}_${JSON.stringify(identificator)}`;\n }\n return `${itemProps.rgItemType}_${identificator}`;\n }\n\n renderItem = ({index, style, isScrolling, parent, key}) => {\n let itemKey;\n let el;\n\n const realIndex = index - 1;\n\n const item = this.props.data[realIndex];\n\n // top and bottom margins\n if (index === 0 || index === this.props.data.length + 1 || item.rgItemType === Type.MARGIN) {\n itemKey = key || `${Type.MARGIN}_${index}`;\n el = <div style={{height: Dimension.MARGIN}}/>;\n } else {\n\n // Hack around SelectNG implementation\n const {selectedLabel, originalModel, ...cleanedProps} = item;\n const itemProps = Object.assign({rgItemType: DEFAULT_ITEM_TYPE}, cleanedProps);\n\n if (itemProps.url) {\n itemProps.href = itemProps.url;\n }\n if (itemProps.href) {\n itemProps.rgItemType = Type.LINK;\n }\n\n itemKey = key || itemProps.key || this._deprecatedGenerateKeyFromContent(itemProps);\n\n itemProps.hover = (realIndex === this.state.activeIndex);\n if (itemProps.hoverClassName != null && itemProps.hover) {\n itemProps.className = classNames(itemProps.className, itemProps.hoverClassName);\n }\n itemProps.onMouseOver = this.hoverHandler(realIndex);\n itemProps.tabIndex = -1;\n itemProps.scrolling = isScrolling;\n\n const selectHandler = this.selectHandler(realIndex);\n\n if (this.props.useMouseUp) {\n itemProps.onMouseUp = selectHandler;\n } else {\n itemProps.onClick = selectHandler;\n }\n itemProps.onCheckboxChange = event => selectHandler(event, true);\n\n if (itemProps.compact == null) {\n itemProps.compact = this.props.compact;\n }\n\n let ItemComponent;\n const isFirst = index === 1;\n switch (itemProps.rgItemType) {\n case Type.SEPARATOR:\n ItemComponent = ListSeparator;\n itemProps.isFirst = isFirst;\n break;\n case Type.LINK:\n ItemComponent = ListLink;\n this.addItemDataTestToProp(itemProps);\n break;\n case Type.ITEM:\n ItemComponent = ListItem;\n this.addItemDataTestToProp(itemProps);\n break;\n case Type.CUSTOM:\n ItemComponent = ListCustom;\n this.addItemDataTestToProp(itemProps);\n break;\n case Type.TITLE:\n itemProps.isFirst = isFirst;\n ItemComponent = ListTitle;\n break;\n default:\n throw new Error(`Unknown menu element type: ${itemProps.rgItemType}`);\n }\n\n el = <ItemComponent {...itemProps}/>;\n }\n\n return parent ? (\n <CellMeasurer\n cache={this._cache}\n key={itemKey}\n parent={parent}\n rowIndex={index}\n columnIndex={0}\n >\n {({registerChild}) => (\n <div ref={registerChild} style={style} role=\"row\">\n <div role=\"cell\">\n {el}\n </div>\n </div>\n )}\n </CellMeasurer>\n ) : cloneElement(el, {key: itemKey});\n };\n\n addItemDataTestToProp = props => {\n props['data-test'] = dataTests('ring-list-item', props['data-test']);\n return props;\n };\n\n virtualizedListRef = el => {\n this.virtualizedList = el;\n };\n\n containerRef = el => {\n this.container = el;\n };\n\n get inner() {\n if (!this._inner) {\n this._inner = this.container && this.container.query('.ring-list__i');\n }\n return this._inner;\n }\n\n renderVirtualizedInner({\n height,\n maxHeight,\n autoHeight = false,\n rowCount,\n isScrolling,\n onChildScroll = noop,\n scrollTop,\n registerChild\n }) {\n const dirOverride = {direction: 'auto'}; // Virtualized sets \"direction: ltr\" by defaulthttps://github.com/bvaughn/react-virtualized/issues/457\n return (\n <AutoSizer disableHeight onResize={this.props.onResize}>\n {({width}) => (\n <div ref={registerChild}>\n <VirtualizedList\n ref={this.virtualizedListRef}\n className=\"ring-list__i\"\n autoHeight={autoHeight}\n style={maxHeight ? {maxHeight, height: 'auto', ...dirOverride} : dirOverride}\n autoContainerWidth\n height={height}\n width={width}\n isScrolling={isScrolling}\n onScroll={e => {\n onChildScroll(e);\n this.scrollEndHandler(e);\n }}\n scrollTop={scrollTop}\n rowCount={rowCount}\n estimatedRowSize={this.defaultItemHeight()}\n rowHeight={this._cache.rowHeight}\n rowRenderer={this.renderItem}\n overscanRowCount={this._bufferSize}\n\n // ensure rerendering\n noop={() => {}}\n\n scrollToIndex={\n !this.props.disableScrollToActive &&\n this.state.needScrollToActive &&\n this.state.activeIndex != null\n ? this.state.activeIndex + 1\n : undefined\n }\n scrollToAlignment=\"center\"\n deferredMeasurementCache={this._cache}\n onRowsRendered={this.checkOverflow}\n />\n </div>\n )}\n </AutoSizer>\n );\n }\n\n renderVirtualized(maxHeight, rowCount) {\n if (maxHeight) {\n return this.renderVirtualizedInner({height: maxHeight, maxHeight, rowCount});\n }\n\n return (\n <WindowScroller>\n {props => this.renderVirtualizedInner({...props, rowCount, autoHeight: true})}\n </WindowScroller>\n );\n }\n\n renderSimple(maxHeight, rowCount) {\n const items = [];\n\n for (let index = 0; index < rowCount; index++) {\n items.push(this.renderItem({\n index,\n isScrolling: this.state.scrolling\n }));\n }\n\n return (\n <div\n className={classNames('ring-list__i', styles.simpleInner)}\n onScroll={this.scrollHandler}\n onMouseMove={this.mouseHandler}\n >\n <div\n style={maxHeight\n ? {maxHeight: this.getVisibleListHeight(this.props)}\n : null\n }\n >\n {items}\n </div>\n </div>\n );\n }\n\n shortcutsScope = getUID('list-');\n shortcutsMap = {\n up: this.upHandler,\n down: this.downHandler,\n home: this.homeHandler,\n end: this.endHandler,\n enter: this.enterHandler,\n 'meta+enter': this.enterHandler,\n 'ctrl+enter': this.enterHandler,\n 'command+enter': this.enterHandler,\n 'shift+enter': this.enterHandler\n };\n\n /** @override */\n render() {\n const hint = this.getSelected() && this.props.hintOnSelection || this.props.hint;\n const fadeStyles = hint ? {bottom: Dimension.ITEM_HEIGHT} : null;\n\n const rowCount = this.props.data.length + 2;\n\n const maxHeight = this.props.maxHeight && this.getVisibleListHeight(this.props);\n\n const classes = classNames(styles.list, this.props.className);\n\n return (\n <div\n ref={this.containerRef}\n className={classes}\n onMouseOut={this.props.onMouseOut}\n onBlur={this.props.onMouseOut}\n onMouseLeave={this.clearSelected}\n data-test=\"ring-list\"\n >\n {this.props.shortcuts &&\n (\n <Shortcuts\n map={this.shortcutsMap}\n scope={this.shortcutsScope}\n />\n )\n }\n {this.props.renderOptimization\n ? this.renderVirtualized(maxHeight, rowCount)\n : this.renderSimple(maxHeight, rowCount)\n }\n {this.state.hasOverflow && !this.state.scrolledToBottom && (\n <div\n className={styles.fade}\n style={fadeStyles}\n />\n )}\n {hint && (\n <ListHint\n label={hint}\n />\n )}\n </div>\n );\n }\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport Popup from '../popup/popup';\nimport List from '../list/list';\n\n/**\n * @name Popup Menu\n */\nexport default class PopupMenu extends Popup {\n static isItemType = List.isItemType;\n static ListProps = List.ListProps;\n\n static propTypes = {\n ...Popup.propTypes,\n ...List.propTypes,\n closeOnSelect: PropTypes.bool\n };\n\n static defaultProps = {\n ...List.defaultProps,\n ...Popup.defaultProps,\n renderOptimization: false,\n closeOnSelect: false\n };\n\n onSelect = (item, event) => {\n if (this.props.closeOnSelect) {\n this._onCloseAttempt(event);\n }\n this.props.onSelect(item, event);\n };\n\n listRef = el => {\n this.list = el;\n };\n\n /** @override */\n getInternalContent() {\n const {className, ...props} = this.props;\n\n return (\n <div>\n <List\n ref={this.listRef}\n {...props}\n maxHeight={this.popup && this.popup.style.maxHeight}\n shortcuts={this.shouldUseShortcuts()}\n onSelect={this.onSelect}\n />\n </div>\n );\n }\n}\n\nexport const {ListProps} = List;\n","import React, {Component, PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport Avatar, {Size} from '../avatar/avatar';\nimport Button from '../button/button';\nimport Dropdown from '../dropdown/dropdown';\nimport PopupMenu from '../popup-menu/popup-menu';\n\nimport styles from './header.css';\n\nconst rgItemType = PopupMenu.ListProps.Type.LINK;\n\nexport default class Profile extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n closeOnSelect: PropTypes.bool,\n hasUpdates: PropTypes.bool,\n loading: PropTypes.bool,\n onLogin: PropTypes.func,\n onLogout: PropTypes.func,\n onSwitchUser: PropTypes.func,\n profileUrl: PropTypes.string,\n renderPopupItems: PropTypes.func,\n LinkComponent: PropTypes.oneOfType([\n PropTypes.instanceOf(Component),\n PropTypes.func,\n PropTypes.string\n ]),\n translations: PropTypes.shape({\n profile: PropTypes.string,\n login: PropTypes.string,\n logout: PropTypes.string,\n applyChangedUser: PropTypes.string,\n switchUser: PropTypes.string\n }),\n user: PropTypes.shape({\n guest: PropTypes.bool,\n profile: PropTypes.object,\n name: PropTypes.string\n }),\n size: PropTypes.number,\n round: PropTypes.bool,\n showLogIn: PropTypes.bool,\n showLogOut: PropTypes.bool,\n showSwitchUser: PropTypes.bool,\n showApplyChangedUser: PropTypes.bool,\n onRevertPostponement: PropTypes.func,\n renderGuest: PropTypes.func\n };\n\n static defaultProps = {\n closeOnSelect: true,\n renderPopupItems: items => items,\n translations: {},\n size: Size.Size32,\n renderGuest: ({loading, onLogin, className, translations}) => (\n <div\n className={classNames(styles.profileEmpty, className)}\n >\n <Button\n primary\n data-test=\"ring-header-login-button\"\n disabled={loading}\n loader={loading}\n onClick={onLogin}\n >\n {translations.login || 'Log in...'}\n </Button>\n </div>\n )\n };\n\n static Size = Size;\n\n render() {\n const {\n className,\n closeOnSelect,\n hasUpdates,\n onLogout,\n user,\n profileUrl,\n LinkComponent,\n onSwitchUser,\n renderPopupItems,\n onRevertPostponement,\n showApplyChangedUser,\n showLogIn,\n showLogOut,\n showSwitchUser,\n renderGuest,\n translations,\n size,\n round,\n loading, onLogin,\n ...props\n } = this.props;\n\n if (!user) {\n return (\n <div\n {...props}\n className={classNames(styles.profileEmpty, className)}\n >\n <Avatar size={size} round={round}/>\n </div>\n );\n }\n\n if (user.guest) {\n return renderGuest(this.props);\n }\n\n const anchorClassName = classNames(styles.avatarWrapper, {\n [styles.hasUpdates]: hasUpdates\n });\n\n const anchor = (\n <button type=\"button\" className={anchorClassName}>\n <Avatar\n url={user.profile && user.profile.avatar && user.profile.avatar.url}\n size={size}\n round={round}\n />\n </button>\n );\n\n const items = [\n showApplyChangedUser && {\n rgItemType,\n label: translations.applyChangedUser || 'Apply changed user',\n className: styles.profileMenuItem,\n onClick: onRevertPostponement\n },\n showLogIn && {\n rgItemType,\n label: translations.login || 'Log in',\n className: styles.profileMenuItem,\n onClick: onRevertPostponement\n },\n {\n rgItemType: PopupMenu.ListProps.Type.LINK,\n label: translations.profile || 'Profile',\n\n target: '_self', // Full page reload in Angular\n href: profileUrl,\n LinkComponent\n },\n showSwitchUser && {\n rgItemType,\n label: translations.switchUser || 'Switch user',\n className: styles.profileMenuItem,\n onClick: onSwitchUser\n },\n showLogOut && {\n rgItemType,\n label: translations.logout || 'Log out',\n\n onClick: onLogout\n }\n ].filter(it => !!it);\n\n return (\n <Dropdown\n {...props}\n title={user.name}\n anchor={anchor}\n data-test=\"ring-profile\"\n className={classNames(styles.profile, className)}\n >\n <PopupMenu\n closeOnSelect={closeOnSelect}\n data={renderPopupItems(items)}\n left={-2}\n top={-8}\n sidePadding={32}\n />\n </Dropdown>\n );\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\n\nimport Auth, {\n USER_CHANGED_EVENT,\n LOGOUT_POSTPONED_EVENT,\n USER_CHANGE_POSTPONED_EVENT\n} from '../auth/auth';\nimport alertService from '../alert-service/alert-service';\n\nimport Profile from './profile';\n\nconst CERTIFICATE_MISMATCH_HEADER = 'x-client-certificate-token-mismatch';\n\nexport default class SmartProfile extends PureComponent {\n static propTypes = {\n auth: PropTypes.instanceOf(Auth).isRequired,\n className: PropTypes.string,\n translations: PropTypes.object,\n profileUrl: PropTypes.string,\n size: Profile.propTypes.size,\n round: Profile.propTypes.round\n };\n\n state = {\n user: null,\n size: Profile.defaultProps.size,\n isLogoutPostponed: false,\n isUserChangePostponed: false\n };\n\n componentDidMount() {\n this.requestUser();\n }\n\n static Size = Profile.Size;\n\n login = async () => {\n this.setState({loading: true});\n\n try {\n await this.props.auth.login();\n } catch (err) {\n // do nothing\n } finally {\n this.setState({loading: false});\n }\n };\n\n logout = () => this.props.auth.logout();\n\n switchUser = () => this.props.auth.switchUser();\n\n onRevertPostponement = () => {\n if (this.state.isLogoutPostponed) {\n this.props.auth.login();\n }\n if (this.state.isUserChangePostponed) {\n this.props.auth.updateUser();\n }\n };\n\n async requestUser() {\n try {\n const {auth} = this.props;\n const user = await auth.requestUser();\n this.checkUserCertificateMismatch(user);\n this.setState({user});\n\n auth.addListener(USER_CHANGED_EVENT, newUser => {\n this.setState({\n user: newUser,\n isLogoutPostponed: false,\n isUserChangePostponed: false\n });\n });\n\n auth.addListener(LOGOUT_POSTPONED_EVENT, () => {\n this.setState({isLogoutPostponed: true});\n });\n\n auth.addListener(USER_CHANGE_POSTPONED_EVENT, () => {\n this.setState({isUserChangePostponed: true});\n });\n } catch (e) {\n // noop\n }\n }\n\n checkUserCertificateMismatch(user) {\n const {auth, translations} = this.props;\n const userMeta = auth.http.getMetaForResponse(user);\n if (userMeta?.headers?.has(CERTIFICATE_MISMATCH_HEADER)) {\n const message = translations?.certificateMismatch || `You are authenticated as ${user.login || user.name}. To authenticate with the client certificate for your account, log out, then click the \"Log in with certificate\" option on the login page.`;\n alertService.warning(message, 0);\n }\n }\n\n render() {\n const {user, loading, isLogoutPostponed, isUserChangePostponed} = this.state;\n const {auth, profileUrl, ...props} = this.props;\n const url = profileUrl || (user ? `${auth.config.serverUri}users/${user.id}` : '');\n\n return (\n <Profile\n onLogin={this.login}\n onLogout={this.logout}\n onSwitchUser={this.switchUser}\n loading={loading}\n user={user}\n profileUrl={url}\n showApplyChangedUser={isUserChangePostponed}\n showLogIn={isLogoutPostponed}\n showLogOut={!isLogoutPostponed}\n showSwitchUser={auth._canShowDialogs() && !isLogoutPostponed && !isUserChangePostponed}\n onRevertPostponement={this.onRevertPostponement}\n {...props}\n />\n );\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\n\nimport Link from '../link/link';\n\nimport styles from './services.css';\n\nexport default class ServicesLink extends PureComponent {\n static propTypes = {\n isActive: PropTypes.bool,\n service: PropTypes.shape({\n applicationName: PropTypes.string,\n iconUrl: PropTypes.string,\n homeUrl: PropTypes.string,\n name: PropTypes.string\n })\n };\n\n render() {\n const {service, ...props} = this.props;\n\n return (\n <Link\n target=\"_self\"\n href={service.homeUrl}\n {...props}\n >\n {WrapText => (service.iconUrl\n ? [\n <span\n key=\"icon\"\n className={styles.itemLogo}\n style={{backgroundImage: `url(${service.iconUrl})`}}\n />,\n <div key=\"text\">\n <WrapText>{service.name}</WrapText>\n </div>\n ]\n : <WrapText>{service.name}</WrapText>)\n }\n </Link>\n );\n }\n\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport servicesIcon from '@jetbrains/icons/services-20px.svg';\n\nimport Dropdown from '../dropdown/dropdown';\nimport Popup from '../popup/popup';\n\nimport TrayIcon from './tray-icon';\nimport ServicesLink from './services-link';\nimport styles from './services.css';\n\nconst makeAnchor = loading => {\n const Anchor = ({active}) => (\n <TrayIcon\n loader={loading}\n active={active}\n icon={servicesIcon}\n aria-label=\"Services\"\n />\n );\n\n Anchor.propTypes = {\n active: PropTypes.bool\n };\n\n return Anchor;\n};\n\nexport default class Services extends PureComponent {\n static sort = (a, b) => {\n const aApplicationName = a.applicationName || '';\n const bApplicationName = b.applicationName || '';\n\n return aApplicationName.localeCompare(bApplicationName) ||\n a.name.localeCompare(b.name);\n };\n\n static propTypes = {\n className: PropTypes.string,\n clientId: PropTypes.string,\n initShown: PropTypes.bool,\n loading: PropTypes.bool,\n onClick: PropTypes.func,\n services: PropTypes.arrayOf(ServicesLink.propTypes.service)\n };\n\n static Link = ServicesLink;\n\n serviceIsActive = service => service.id === this.props.clientId;\n\n render() {\n const {clientId, loading, services, initShown, ...props} = this.props;\n\n if (!services) {\n return (\n <TrayIcon\n {...props}\n loader={loading}\n active={loading}\n icon={servicesIcon}\n aria-label=\"Services\"\n />\n );\n }\n\n const sortedServices = services.sort(Services.sort);\n const servicesWithIcons = sortedServices.filter(service => service.iconUrl);\n const servicesWithOutIcons = sortedServices.filter(service => !service.iconUrl);\n const separatorIsRequired = servicesWithIcons.length !== 0 && servicesWithOutIcons.length !== 0;\n\n return (\n <Dropdown\n {...props}\n anchor={makeAnchor(loading)}\n initShown={initShown}\n >\n <Popup\n className={styles.services}\n top={-3}\n >\n {servicesWithIcons.map(service => {\n const isActive = this.serviceIsActive(service);\n\n return (\n <Services.Link\n active={isActive}\n className={isActive ? styles.activeItem : styles.item}\n key={service.id}\n service={service}\n />\n );\n })}\n {separatorIsRequired && (\n <div\n className={styles.line}\n key=\"separator\"\n />\n )}\n {servicesWithOutIcons.map(service => {\n const isActive = this.serviceIsActive(service);\n\n return (\n <Services.Link\n active={isActive}\n className={isActive ? styles.activeItemStacked : styles.itemStacked}\n key={service.id}\n service={service}\n />\n );\n })}\n </Popup>\n </Dropdown>\n );\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\n\nimport Auth from '../auth/auth';\nimport HTTP from '../http/http';\n\nimport Services from './services';\n\nfunction noop() {}\n\nexport default class SmartServices extends Component {\n static propTypes = {\n auth: PropTypes.instanceOf(Auth).isRequired\n };\n\n state = {\n visible: true,\n loading: false,\n services: null\n };\n\n componentDidMount() {\n const {auth} = this.props;\n\n this.http = new HTTP(auth, auth.getAPIPath());\n\n this.getServices(SmartServices.countFields).then(services => {\n if (!services.length) {\n this.setState({visible: false});\n }\n }).catch(noop);\n }\n\n static allFields = 'id,name,applicationName,homeUrl,iconUrl';\n static countFields = 'key';\n\n stopLoading = () => {\n this.setState({loading: false});\n };\n\n getServicesContent = () => {\n this.setState({loading: true});\n\n this.getServices(SmartServices.allFields).then(services => {\n this.setState({services});\n this.stopLoading();\n }).catch(this.stopLoading);\n };\n\n getServices(fields) {\n return this.http.get(`services/header?fields=${fields}`);\n }\n\n render() {\n const {services, visible, loading} = this.state;\n const {auth, ...props} = this.props;\n\n if (!visible) {\n return null;\n }\n\n return (\n <Services\n {...props}\n clientId={auth.config.clientId}\n initShown\n loading={loading}\n onClick={this.getServicesContent}\n services={services}\n />\n );\n }\n}\n","import React, {Component} from 'react';\nimport {compose} from 'recompose';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport rerenderHOC from '../global/rerender-hoc';\nimport Theme, {withTheme} from '../global/theme';\n\nimport styles from './header.css';\n\n/**\n * @name Header\n */\n\nclass Header extends Component {\n static propTypes = {\n className: PropTypes.string,\n children: PropTypes.node,\n spaced: PropTypes.bool,\n theme: PropTypes.string\n };\n\n static defaultProps = {\n spaced: true\n };\n\n render() {\n const {children, className, spaced, theme, ...restProps} = this.props;\n const classes = classNames(styles.header, styles[theme], className, {\n [styles.headerSpaced]: spaced\n });\n\n return (\n <div\n {...restProps}\n className={classes}\n >\n {children}\n </div>\n );\n }\n}\n\nexport default withTheme(Theme.DARK)(Header);\nexport const RerenderableHeader = compose(\n withTheme(Theme.DARK),\n rerenderHOC\n)(Header);\nexport {default as Logo} from './logo';\nexport {default as Tray} from './tray';\nexport {default as TrayIcon} from './tray-icon';\nexport {default as Profile} from './profile';\nexport {default as SmartProfile} from './smart-profile';\nexport {default as Services} from './services';\nexport {default as SmartServices} from './smart-services';\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport deprecate from 'util-deprecate';\n\nimport styles from './heading.css';\n\n/**\n * @name Heading\n */\n\nconst Levels = {\n H1: 1,\n H2: 2,\n H3: 3,\n H4: 4\n};\n\nconst fallbackHeading = deprecate(\n () => 'h3',\n 'Headings of level 5 and higher are replaced with h3'\n);\n\nexport default class Heading extends PureComponent {\n static propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n level: PropTypes.number\n };\n\n static defaultProps = {\n level: Levels.H1\n };\n\n static Levels = Levels;\n\n render() {\n const {children, className, level, ...restProps} = this.props;\n const classes = classNames(styles.heading, className);\n\n const Tag = level <= Levels.H4 ? `h${level}` : fallbackHeading();\n\n return (\n <Tag\n {...restProps}\n className={classes}\n >\n {children}\n </Tag>\n );\n }\n}\n\nfunction makeHeading(level, useCaps) {\n return class H extends PureComponent { //eslint-disable-line react/no-multi-comp\n static propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n // use only for short h1 headers, no longer than three words\n caps: PropTypes.bool\n };\n\n render() {\n const {className, caps, ...restProps} = this.props;\n\n const classes = classNames(className, {\n [styles.caps]: useCaps && caps\n });\n\n return (\n <Heading\n {...restProps}\n level={level}\n className={classes}\n />\n );\n }\n };\n}\n\nconst H1 = makeHeading(Levels.H1, true);\nconst H2 = makeHeading(Levels.H2);\nconst H3 = makeHeading(Levels.H3);\nconst H4 = makeHeading(Levels.H4);\n\nexport {H1, H2, H3, H4};\n","const defaultOptions = {\n searchMax: 20,\n searchSideThreshold: 100,\n queryFormatter: query => `${query} or ${query}*`\n};\n\n/**\n * HubSource is designed to speed up search requests for small installations.\n * If there are less than \"searchSideThreshold\" items, it uses client-side filtering\n * of cached results to greatly increase search speed. Useful for completion and\n * select data source.\n */\nexport default class HubSource {\n static TOP_ALL = -1;\n\n constructor(auth, relativeUrl, options) {\n this.http = auth.http;\n this.relativeUrl = relativeUrl;\n this.options = Object.assign({}, defaultOptions, options);\n\n\n this.storedData = null;\n this.isClientSideSearch = null;\n this.filterFn = null;\n }\n\n async makeRequest(queryParams) {\n return this.http.get(this.relativeUrl, {query: queryParams});\n }\n\n async makeCachedRequest(params) {\n if (this.storedData) {\n return this.storedData;\n }\n const res = await this.makeRequest(params);\n this.storedData = res;\n return res;\n }\n\n static mergeParams(params, toMerge) {\n return Object.assign({}, params, toMerge);\n }\n\n checkIsClientSideSearch(res) {\n return res.total <= this.options.searchSideThreshold;\n }\n\n getDefaultFilterFn(query) {\n if (!query) {\n return () => true;\n }\n return it => it.name.toLowerCase().indexOf(query.toLowerCase()) !== -1;\n }\n\n formatQuery(query) {\n return query ? this.options.queryFormatter(query) : '';\n }\n\n static validateInputParams(params) {\n if (params.top) {\n throw new Error('HubSource: params.top should not be filled, configure \"options.searchMax\" instead');\n }\n if (params.query) {\n throw new Error('HubSource: params.query should not be filled, configure \"options.queryFormatter\" instead');\n }\n }\n\n processResults(res) {\n const items = res[this.relativeUrl] || [];\n\n if (this.isClientSideSearch) {\n return items.\n filter(it => this.filterFn(it)).\n slice(0, this.options.searchMax);\n }\n return items;\n }\n\n async sideDetectionRequest(params, query) {\n const res = await this.makeCachedRequest(HubSource.mergeParams(params, {\n $top: this.options.searchSideThreshold\n }));\n this.isClientSideSearch = this.checkIsClientSideSearch(res);\n\n if (!this.isClientSideSearch) {\n return this.doServerSideSearch(params, query);\n }\n\n return res;\n }\n\n doClientSideSearch(params) {\n return this.makeCachedRequest(HubSource.mergeParams(params, {$top: this.constructor.TOP_ALL}));\n }\n\n doServerSideSearch(params, query) {\n return this.makeRequest(HubSource.mergeParams(params, {\n query: this.formatQuery(query),\n $top: this.options.searchMax\n }));\n }\n\n getValueFromSuitableSource(query, params) {\n if (this.isClientSideSearch === null) {\n return this.sideDetectionRequest(params, query);\n }\n\n if (this.isClientSideSearch) {\n return this.doClientSideSearch(params);\n }\n\n return this.doServerSideSearch(params, query);\n }\n\n async get(query, params, filterFn) {\n HubSource.validateInputParams(params);\n\n this.filterFn = filterFn || this.getDefaultFilterFn(query);\n\n const res = await this.getValueFromSuitableSource(query, params);\n return this.processResults(res);\n }\n}\n","// Workaround fo Angular bug with ng-class & replace: true support\n// See https://github.com/angular/angular.js/issues/5695#issuecomment-31898355\nexport default function compile(tElement, tAttrs) {\n if (tAttrs.ngClass) {\n tAttrs.ngClass = tAttrs.ngClass.replace(/}\\s*{/g, ', ');\n }\n}\n","import angular from 'angular';\n\nimport styles from '../island/island.css';\n\nimport compile from './island-ng-class-fixer';\n\nconst angularModule = angular.module('Ring.island-ng.content', []);\n\nangularModule.directive('rgIslandHeader', function islandHeaderDirective() {\n return {\n transclude: true,\n replace: true,\n bindToController: {\n border: '=?'\n },\n compile,\n template: `\n<div\n data-test=\"ring-island-header\"\n class=\"${styles.header}\"\n ng-class=\"{'${styles.withBottomBorder}': headerCtrl.border}\" \n ng-transclude\n></div>\n`,\n controllerAs: 'headerCtrl',\n controller: function controller() {\n this.$onInit = () => {\n this.wrapWithTitle = this.wrapWithTitle !== undefined ? this.wrapWithTitle : true;\n };\n }\n };\n});\n\nexport default angularModule.name;\n","import angular from 'angular';\n\nimport styles from '../island/island.css';\nimport scheduleRAF from '../global/schedule-raf';\n\nimport compile from './island-ng-class-fixer';\n\nconst scheduleScroll = scheduleRAF();\n\nconst angularModule = angular.module('Ring.island-ng.header', []);\n\nangularModule.directive('rgIslandContent', function islandContentDirective() {\n return {\n transclude: true,\n replace: true,\n bindToController: {\n fade: '=?',\n onScroll: '&?'\n },\n compile,\n template: `\n<div\n data-test=\"ring-island-content\"\n class=${styles.content}\n ng-class=\"{\n '${styles.contentWithTopFade}': contentCtrl.fade,\n '${styles.contentWithBottomFade}': contentCtrl.fade\n }\"\n>\n <div\n tabindex=\"0\"\n class=\"${styles.scrollableWrapper} js-scrollable-wrapper\"\n ng-transclude\n ></div>\n</div>\n`,\n controllerAs: 'contentCtrl',\n controller: function controller($scope, $element) {\n const el = $element[0];\n\n if (this.onScroll) {\n const scrollable = el.querySelector('.js-scrollable-wrapper');\n\n const scrollCallback = evt => {\n const $scrollTop = scrollable.scrollTop;\n this.onScroll({$event: evt, $scrollTop});\n $scope.$apply();\n };\n\n scrollable.addEventListener('scroll', () => scheduleScroll(scrollCallback));\n }\n }\n };\n});\n\nexport default angularModule.name;\n","/**\n * @name Island Ng\n */\nimport angular from 'angular';\n\nimport styles from '../island/island.css';\n\nimport IslandHeader from './island-header-ng';\nimport IslandContent from './island-content-ng';\nimport compile from './island-ng-class-fixer';\n\nconst angularModule = angular.module('Ring.island-ng', [IslandHeader, IslandContent]);\n\nangularModule.directive('rgIsland', function islandDirective() {\n return {\n transclude: true,\n replace: true,\n bindToController: {\n narrow: '='\n },\n compile,\n template: `\n<div \n data-test=\"ring-island\"\n class=\"${styles.island}\" \n ng-class=\"{'${styles.narrowIsland}': islandCtrl.narrow}\" \n ng-transclude\n></div>\n`,\n controllerAs: 'islandCtrl',\n controller: angular.noop\n };\n});\n\nexport default angularModule.name;\n","import angular from 'angular';\n\nimport styles from '../loader-inline/loader-inline.css';\nimport injectStyles from '../loader-inline/inject-styles';\nimport Theme from '../global/theme';\n\n/**\n * @name Loader Inline Ng\n */\n\n\nconst angularModule = angular.module('Ring.loader-inline', []);\n\nclass LoaderController {\n $onInit() {\n injectStyles();\n\n this.theme = this.theme || Theme.LIGHT;\n }\n\n getThemeClass = () => `${styles.loader}_${this.theme}`;\n}\n\nangularModule.\n component('rgLoaderInline', {\n bindings: {\n theme: '@?'\n },\n template: `<div data-test=\"ring-loader-inline-ng\" class=\"${styles.loader}\" ng-class=\"$ctrl.getThemeClass()\"></div>`,\n controller: LoaderController\n });\n\nexport default angularModule.name;\n","import angular from 'angular';\n\nimport RingAngularComponent from '../global/ring-angular-component';\nimport LoaderCore from '../loader/loader__core';\n\n/**\n * @name Loader Ng\n */\n\n\nconst angularModule = angular.module('Ring.loader', []);\n\nclass RgLoaderComponent extends RingAngularComponent {\n static $inject = ['$element'];\n\n static bindings = {\n message: '@'\n };\n\n constructor(...args) {\n super(...args);\n const {$element} = this.$inject;\n this.loader = new LoaderCore($element[0], {message: this.message});\n }\n\n $onDestroy() {\n this.loader.destroy();\n }\n\n $onChanges(changes) {\n this.loader.updateMessage(changes.message.currentValue);\n }\n}\n\nangularModule.component('rgLoader', RgLoaderComponent);\n\nexport default angularModule.name;\n","import React, {PureComponent} from 'react';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\n\nimport Loader from '../loader/loader';\n\nimport styles from './loader-screen.css';\n\n/**\n * @name Loader Screen\n */\nexport default class LoaderScreen extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n containerClassName: PropTypes.string,\n message: PropTypes.string\n };\n\n render() {\n const {message, className, containerClassName, ...restProps} = this.props;\n\n const containerClasses = classNames(containerClassName, styles.loaderScreen);\n\n const loaderClasses = classNames(className, styles.loader, {\n [styles.loaderWithoutSpacing]: !message\n });\n\n return (\n <div className={containerClasses}>\n <Loader\n {...restProps}\n message={message}\n className={loaderClasses}\n />\n </div>\n );\n }\n}\n","import angular from 'angular';\n\nimport loaderNg from '../loader-ng/loader-ng';\nimport styles from '../loader-screen/loader-screen.css';\n\n/**\n * @name Loader Screen Ng\n */\n\nconst angularModule = angular.module('Ring.loader-screen', [loaderNg]);\n\nangularModule.service('loaderScreen', function service($timeout, $rootScope) {\n // TODO in CSS Modules version put constant to global.css\n const ordinaryLoadingTTL = 100;\n\n let initialLoading = false;\n let loadingFailed = false;\n let showLoader;\n let showLoaderPromise;\n\n this.startLoading = (ttl = ordinaryLoadingTTL) => {\n if (showLoaderPromise) {\n return; // already scheduled to show\n }\n\n showLoaderPromise = $timeout(() => {\n this.setVisible(true);\n }, ttl);\n };\n\n this.stopLoading = () => {\n if (showLoaderPromise) {\n $timeout.cancel(showLoaderPromise);\n showLoaderPromise = null;\n }\n\n this.setVisible(false);\n };\n\n this.startInitialLoading = () => {\n initialLoading = true;\n this.setVisible(true);\n };\n\n this.stopInitialLoading = () => {\n initialLoading = false;\n this.setVisible(false);\n };\n\n $rootScope.isInitialLoading = () => initialLoading;\n $rootScope.isLoaderVisible = () => showLoader;\n\n $rootScope.isLoadingFailed = () => loadingFailed;\n\n this.failInitialLoading = error => {\n this.stopInitialLoading();\n loadingFailed = true;\n $rootScope.error = error;\n };\n\n this.setVisible = visible => {\n showLoader = visible;\n };\n\n /* eslint-disable angular/on-watch */\n $rootScope.$on('$routeChangeSuccess', () => {\n this.stopInitialLoading();\n });\n\n $rootScope.$on('$routeChangeError', (event, current, previous, rejection) => {\n if (!rejection || !(rejection.silent || rejection.authRedirect)) {\n this.failInitialLoading(rejection);\n }\n });\n /* eslint-enable angular/on-watch */\n});\n\nangularModule.directive('rgLoaderScreen', function rgLoaderScreenDirective() {\n return {\n restrict: 'A',\n\n scope: {\n message: '@rgLoaderScreen'\n },\n\n template: `\n<div class=\"${styles.loaderScreen}\" ng-if=\"$root.isLoaderVisible()\">\n <rg-loader class=\"${styles.loader}\"\n message=\"{{$root.isInitialLoading() ? message : ''}}\"></rg-loader>\n</div>\n `\n };\n});\n\nexport default angularModule.name;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport Code from '../code/code';\n\nconst MarkdownCode = ({value, language, inline}) => (\n <Code\n language={language}\n code={value || ''}\n inline={inline}\n />\n);\n\nMarkdownCode.propTypes = {\n language: PropTypes.string,\n value: PropTypes.string,\n inline: PropTypes.bool\n};\n\nexport default MarkdownCode;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport Link from '../link/link';\n\nconst MarkdownLink = ({href, title, children}) => <Link {...{href, title}}>{children}</Link>;\n\nMarkdownLink.propTypes = {\n href: PropTypes.string,\n title: PropTypes.string,\n children: PropTypes.node\n};\n\nexport default MarkdownLink;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport Heading from '../heading/heading';\n\nconst MarkdownHeading = ({level, children}) => <Heading level={level}>{children}</Heading>;\n\nMarkdownHeading.propTypes = {\n level: PropTypes.number,\n children: PropTypes.node\n};\n\nexport default MarkdownHeading;\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport ReactMarkdown from 'react-markdown';\nimport classNames from 'classnames';\nimport RemarkBreaks from 'remark-breaks';\n\nimport normalizeIndent from '../global/normalize-indent';\nimport trivialTemplateTag from '../global/trivial-template-tag';\n\nimport Code from './code';\nimport Link from './link';\nimport Heading from './heading';\nimport styles from './markdown.css';\n\n/**\n * @name Markdown\n*/\n\nexport default class Markdown extends PureComponent {\n static propTypes = {\n inline: PropTypes.bool,\n source: PropTypes.string,\n className: PropTypes.string,\n renderers: PropTypes.object\n };\n\n render() {\n const {className, renderers, inline, source, ...restProps} = this.props;\n\n const classes = classNames(className, {\n [styles.markdown]: !inline,\n [styles.inline]: inline\n });\n\n return (\n <ReactMarkdown\n className={classes}\n source={normalizeIndent(source)}\n plugins={[RemarkBreaks]}\n renderers={{\n link: Link,\n linkReference: Link,\n code: Code,\n inlineCode: Code,\n heading: Heading,\n ...renderers\n }}\n {...restProps}\n />\n );\n }\n}\n\nconst md = trivialTemplateTag(source => <Markdown {...{source}}/>);\n\nexport {md};\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport closeIcon from '@jetbrains/icons/close.svg';\n\nimport Icon from '../icon';\nimport Button from '../button/button';\n\nimport styles from './tag.css';\n\n/**\n * @name Tag\n */\n\nexport default class Tag extends PureComponent {\n static propTypes = {\n onRemove: PropTypes.func,\n onClick: PropTypes.func,\n rgTagIcon: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),\n icon: PropTypes.string,\n avatar: PropTypes.string,\n rgTagTitle: PropTypes.string,\n readOnly: PropTypes.bool,\n disabled: PropTypes.bool,\n focused: PropTypes.bool,\n angled: PropTypes.bool,\n\n children: PropTypes.node,\n className: PropTypes.string\n };\n\n static defaultProps = {\n onRemove: () => {},\n onClick: () => {},\n readOnly: false,\n disabled: false,\n focused: false\n };\n\n state = {\n focused: false\n };\n\n componentDidUpdate(prevProps) {\n if (this.props.focused !== prevProps.focused) {\n // eslint-disable-next-line react/no-did-update-set-state\n this.setState({focused: this.props.focused});\n }\n if (this.state.focused) {\n this.tagNode.focus();\n }\n this.setDocumentClickListener(this.state.focused);\n }\n\n componentWillUnmount() {\n this.setDocumentClickListener(false);\n this.setState({focused: false});\n }\n\n onDocumentClick = event => {\n if (this.tagNode) {\n this.setState({focused: this.tagNode === event.target});\n }\n };\n\n tagRef = el => {\n this.tagNode = el;\n };\n\n setDocumentClickListener(setListener) {\n if (setListener) {\n document.addEventListener('click', this.onDocumentClick);\n } else {\n document.removeEventListener('click', this.onDocumentClick);\n }\n }\n\n renderCustomIcon() {\n if (this.props.rgTagIcon) {\n return (\n <Icon\n className={styles.icon}\n title={this.props.rgTagTitle}\n glyph={this.props.rgTagIcon}\n />\n );\n }\n return null;\n }\n\n _renderImageElement(avatarSrc) {\n const classes = classNames({\n [styles.customIcon]: this.props.icon,\n [styles.avatarIcon]: avatarSrc\n });\n return (\n <img\n alt={avatarSrc ? 'Avatar' : 'Icon'}\n className={classes}\n src={avatarSrc || this.props.icon}\n />\n );\n }\n\n renderImage() {\n if (this.props.icon && !this.props.avatar) {\n return this._renderImageElement();\n }\n return null;\n }\n\n renderAvatar() {\n if (this.props.avatar) {\n return (\n <span\n className={styles.avatarContainer}\n >\n {this._renderImageElement(this.props.avatar)}\n </span>\n );\n }\n return null;\n }\n\n renderRemoveIcon() {\n if (!this.props.readOnly) {\n return (\n <Button\n title=\"Remove\"\n icon={closeIcon}\n data-test=\"ring-tag-remove\"\n className={styles.remove}\n iconClassName={styles.removeIcon}\n onClick={this.props.onRemove}\n />\n );\n }\n return null;\n }\n\n render() {\n const classes = classNames(\n 'ring-js-shortcuts',\n styles.tag,\n {\n [styles.focused]: this.state.focused,\n [styles.disabled]: this.props.disabled,\n [styles.tagAngled]: this.props.angled,\n [styles.withRemove]: !this.props.readOnly\n },\n this.props.className\n );\n\n return (\n <span className={styles.container}>\n <button\n type=\"button\"\n data-test=\"ring-tag\"\n className={classes}\n ref={this.tagRef}\n onClick={this.props.onClick}\n >\n {this.renderAvatar()}\n {this.renderCustomIcon()}\n {this.renderImage()}\n <span className={styles.content}>{this.props.children}</span>\n </button>\n {this.renderRemoveIcon()}\n </span>\n );\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport Tag from '../tag/tag';\n\nfunction noop() {}\n\n/**\n * @name Tags List\n */\n\nexport default class TagsList extends Component {\n static propTypes = {\n children: PropTypes.node,\n tags: PropTypes.array,\n customTagComponent: (props, propName, componentName) => {\n if (props[propName] && !props[propName].prototype instanceof Component) {\n return new Error(`Invalid prop ${propName} supplied to ${componentName}. Validation failed.`);\n }\n return null;\n },\n activeIndex: PropTypes.number,\n canNotBeEmpty: PropTypes.bool,\n disabled: PropTypes.bool,\n handleClick: PropTypes.func,\n handleRemove: PropTypes.func,\n className: PropTypes.string,\n tagClassName: PropTypes.string\n };\n\n static defaultProps = {\n customTagComponent: null,\n canNotBeEmpty: false,\n disabled: false,\n handleClick: noop,\n handleRemove: noop\n };\n\n renderTag(tag, focusTag) {\n const TagComponent = this.props.customTagComponent || Tag;\n const readOnly = this.props.disabled || tag.readOnly ||\n (this.props.canNotBeEmpty && this.props.tags.length === 1);\n\n const {tagClassName} = this.props;\n\n return (\n <TagComponent\n {...tag}\n readOnly={readOnly}\n disabled={this.props.disabled || tag.disabled}\n focused={focusTag}\n onClick={this.props.handleClick(tag)}\n onRemove={this.props.handleRemove(tag)}\n className={tagClassName}\n >{tag.label}</TagComponent>\n );\n }\n\n render() {\n const {\n children,\n className,\n customTagComponent,\n canNotBeEmpty,\n handleClick,\n tagClassName,\n handleRemove,\n tags,\n activeIndex,\n ...props\n } = this.props;\n const classes = classNames(\n 'ring-js-shortcuts',\n className\n );\n\n const tagsList = (this.props.tags || []).map(\n (tag, index) => this.renderTag(tag, this.props.activeIndex === index)\n );\n\n return (\n <div\n data-test=\"ring-tags-list\"\n className={classes}\n {...props}\n >\n {tagsList}\n {children}\n </div>\n );\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport Input from '../input/input';\nimport sniffr from '../global/sniffer';\n\nimport styles from './select-popup.css';\n\nfunction noop() {}\n\nexport default class SelectFilter extends Component {\n static propTypes = {\n placeholder: PropTypes.string,\n className: PropTypes.string,\n inputRef: PropTypes.func\n };\n\n static defaultProps = {\n placeholder: 'Filter items',\n inputRef: noop\n };\n\n componentWillUnmount() {\n this.blur();\n }\n\n focus() {\n const {input} = this;\n if (input && input !== document.activeElement) {\n sniffr.browser.name === 'firefox' ? input.select() : input.focus();\n }\n }\n\n blur() {\n if (this.input && this.input === document.activeElement) {\n this.input.blur();\n }\n }\n\n inputRef = el => {\n this.input = el;\n this.props.inputRef(el);\n };\n\n render() {\n const {className, ...restProps} = this.props;\n const classes = classNames(styles.filter, className);\n\n return (\n <Input\n {...restProps}\n autoComplete=\"off\"\n autoFocus\n borderless\n inputRef={this.inputRef}\n className={classes}\n />\n );\n }\n}\n","/**\n * @description Displays a popup with select's options.\n */\n/* eslint-disable react/prop-types */\n\nimport React, {Component} from 'react';\nimport classNames from 'classnames';\nimport searchIcon from '@jetbrains/icons/search.svg';\nimport memoizeOne from 'memoize-one';\n\nimport Icon from '../icon/icon';\n\nimport Popup from '../popup/popup';\nimport {DEFAULT_DIRECTIONS, maxHeightForDirection} from '../popup/position';\nimport List from '../list/list';\nimport LoaderInline from '../loader-inline/loader-inline';\nimport shortcutsHOC from '../shortcuts/shortcuts-hoc';\nimport getUID from '../global/get-uid';\nimport memoize from '../global/memoize';\nimport TagsList from '../tags-list/tags-list';\nimport Caret from '../caret/caret';\nimport Shortcuts from '../shortcuts/shortcuts';\nimport Button from '../button/button';\nimport Text from '../text/text';\n\nimport SelectFilter from './select__filter';\nimport styles from './select-popup.css';\n\nconst INPUT_MARGIN_COMPENSATION = -14;\nconst FILTER_HEIGHT = 35;\n\nfunction noop() {}\n\nconst FilterWithShortcuts = shortcutsHOC(SelectFilter);\n\nexport default class SelectPopup extends Component {\n static defaultProps = {\n data: [],\n activeIndex: null,\n toolbar: null,\n filter: false, // can be either boolean or an object with \"value\" and \"placeholder\" properties\n multiple: false, // multiple can be an object - see demo for more information\n message: null,\n anchorElement: null,\n maxHeight: 600,\n minWidth: 240,\n loading: false,\n onSelect: noop,\n onCloseAttempt: noop,\n onFilter: noop,\n onClear: noop,\n onLoadMore: noop,\n selected: [],\n tags: null,\n ringPopupTarget: null,\n onSelectAll: noop,\n onEmptyPopupEnter: noop\n };\n\n state = {\n popupFilterShortcutsOptions: {\n modal: true,\n disabled: true\n },\n tagsActiveIndex: null\n };\n\n componentDidMount() {\n window.document.addEventListener('mouseup', this.mouseUpHandler);\n }\n\n componentWillUnmount() {\n window.document.removeEventListener('mouseup', this.mouseUpHandler);\n }\n\n isClickingPopup = false; // This flag is set to true while an item in the popup is being clicked\n focusFilter() {\n setTimeout(() => this.filter.focus());\n }\n\n isEventTargetFilter(event) {\n return event.target && event.target.matches('input,textarea');\n }\n\n handleNavigation(navigateLeft) {\n if (this.isEventTargetFilter(event) && this.caret.getPosition() > 0) {\n return;\n }\n\n let newIndex = null;\n if (navigateLeft) {\n newIndex = this.state.tagsActiveIndex === null\n ? this.props.selected.length - 1\n : this.state.tagsActiveIndex - 1;\n } else if (this.state.tagsActiveIndex !== null) {\n newIndex = this.state.tagsActiveIndex + 1;\n }\n\n if (newIndex !== null && (newIndex >= this.props.selected.length || newIndex < 0)) {\n newIndex = null;\n this.focusFilter();\n }\n\n this.setState({\n tagsActiveIndex: newIndex\n });\n }\n\n removeTag(tag, event) {\n const _tag = tag || this.props.selected.slice(0)[this.props.selected.length - 1];\n if (_tag) {\n this.onListSelect(_tag, event, {tryKeepOpen: true});\n this.setState({\n tagsActiveIndex: null\n });\n this.focusFilter();\n }\n }\n\n removeSelectedTag() {\n if (this.state.tagsActiveIndex != null) {\n this.removeTag(this.props.selected[this.state.tagsActiveIndex]);\n return false;\n }\n return true;\n }\n\n handleBackspace(event) {\n if (!this.props.tags) {\n return true;\n }\n\n if (!this.isEventTargetFilter(event)) {\n this.removeSelectedTag();\n return false;\n }\n if (!event.target.value) {\n this.removeTag();\n return false;\n }\n return true;\n }\n\n onFilterFocus = () => {\n this._togglePopupFilterShortcuts(false);\n this.setState({tagsActiveIndex: null});\n };\n\n popupFilterOnBlur = () => {\n if (this.state.tagsActiveIndex === null) {\n this._togglePopupFilterShortcuts(true);\n }\n };\n\n _togglePopupFilterShortcuts(shortcutsDisabled) {\n this.setState({\n popupFilterShortcutsOptions: {\n modal: true,\n disabled: shortcutsDisabled\n }\n });\n }\n\n mouseDownHandler = () => {\n this.isClickingPopup = true;\n };\n\n mouseUpHandler = () => {\n this.isClickingPopup = false;\n };\n\n isVisible() {\n return this.popup && this.popup.isVisible();\n }\n\n onListSelect = (selected, event, opts) => {\n const getSelectItemEvent = () => {\n let customEvent;\n if (document.createEvent) {\n customEvent = document.createEvent('Event');\n customEvent.initEvent('select', true, false);\n }\n if (event && event.persist) {\n event.persist();\n }\n customEvent.originalEvent = event;\n return customEvent;\n };\n\n this.props.onSelect(selected, getSelectItemEvent(), opts);\n };\n\n tabPress = event => {\n this.props.onCloseAttempt(event, true);\n };\n\n onClickHandler = () => this.filter.focus();\n\n getFilter() {\n if (this.props.filter || this.props.tags) {\n return (\n <div\n className={styles.filterWrapper}\n data-test=\"ring-select-popup-filter\"\n >\n <Icon\n glyph={searchIcon}\n className={styles.filterIcon}\n data-test-custom=\"ring-select-popup-filter-icon\"\n />\n <FilterWithShortcuts\n rgShortcutsOptions={this.state.popupFilterShortcutsOptions}\n rgShortcutsMap={this.popupFilterShortcuts.map}\n\n value={this.props.filterValue}\n inputRef={this.filterRef}\n onBlur={this.popupFilterOnBlur}\n onFocus={this.onFilterFocus}\n className=\"ring-js-shortcuts\"\n placeholder={this.props.filter.placeholder}\n\n onChange={this.props.onFilter}\n onClick={this.onClickHandler}\n onClear={this.props.onClear}\n\n data-test-custom=\"ring-select-popup-filter-input\"\n />\n </div>\n );\n }\n\n return null;\n }\n\n handleRemoveTag = memoize(tag => event => this.removeTag(tag, event));\n\n handleTagClick = memoize(tag => () => {\n this.setState({\n tagsActiveIndex: this.props.selected.indexOf(tag)\n });\n });\n\n getTags() {\n return (\n <div>\n <TagsList\n tags={this.props.selected}\n activeIndex={this.state.tagsActiveIndex}\n handleRemove={this.handleRemoveTag}\n handleClick={this.handleTagClick}\n disabled={this.props.disabled}\n />\n </div>\n );\n }\n\n getFilterWithTags() {\n if (this.props.tags) {\n const classes = classNames([\n styles.filterWithTags,\n {\n [styles.filterWithTagsFocused]: !this.state.popupFilterShortcutsOptions.disabled\n }\n ]);\n\n return (\n <div\n className={classes}\n >\n {this.getTags()}\n {this.getFilter()}\n </div>\n );\n }\n\n return this.getFilter();\n }\n\n getBottomLine() {\n return (\n <div className={styles.bottomLine}>\n {this.props.loading && <LoaderInline/>}\n\n {this.props.message && (\n <div className={styles.message}>{this.props.message}</div>\n )}\n </div>\n );\n }\n\n handleListResize = () => {\n this.forceUpdate();\n };\n\n getList() {\n if (this.props.data.length) {\n let {maxHeight} = this.props;\n\n if (this.props.anchorElement) {\n maxHeight = this._adjustListMaxHeight(this.props.hidden, maxHeight);\n }\n\n if (this.props.filter) {\n maxHeight -= FILTER_HEIGHT;\n }\n\n return (\n <List\n maxHeight={maxHeight}\n data={this.props.data}\n activeIndex={this.props.activeIndex}\n ref={this.listRef}\n restoreActiveIndex\n activateFirstItem\n onSelect={this.onListSelect}\n onResize={this.handleListResize}\n onScrollToBottom={this.props.onLoadMore}\n shortcuts={!this.props.hidden}\n disableMoveOverflow={this.props.disableMoveOverflow}\n disableMoveDownOverflow={this.props.loading}\n disableScrollToActive={this.props.disableScrollToActive}\n compact={this.props.compact}\n renderOptimization={this.props.renderOptimization}\n />\n );\n }\n\n return null;\n }\n\n handleSelectAll = () => this.props.onSelectAll(\n this.props.data.filter(item => !item.disabled).length !== this.props.selected.length\n );\n\n getSelectAll = () => (\n <div className={styles.selectAll}>\n <Button\n text\n inline\n onClick={this.handleSelectAll}\n >\n {this.props.data.filter(item => !item.disabled).length !== this.props.selected.length\n ? 'Select all'\n : 'Deselect all'}\n </Button>\n <Text info>{`${this.props.selected.length} selected`}</Text>\n </div>\n );\n\n\n // Cache the value because this method is called\n // inside `render` function which can be called N times\n // and should be fast as possible.\n // Cache invalidates each time hidden or userDefinedMaxHeight changes\n _adjustListMaxHeight = memoizeOne((hidden, userDefinedMaxHeight) => {\n if (hidden) {\n return userDefinedMaxHeight;\n }\n\n // Calculate list's maximum height that can't\n // get beyond the screen\n // @see RG-1838, JT-48358\n const minMaxHeight = 100;\n const directions = this.props.directions || DEFAULT_DIRECTIONS;\n\n // Note:\n // 1. Create a method which'll be called only when the popup opens and before\n // render the list would be a better way\n // 2. We use this.popup.getContainer because there is the logic about how to extract\n // a link on the container node. It looks awkward using popup in this component\n // maybe we can find a better solution\n const anchorNode = this.props.anchorElement;\n const containerNode = document.documentElement; // A temporary fix for RG-2050. To be made permanent if working\n return Math.min(\n directions.reduce((maxHeight, direction) => (\n Math.max(maxHeight, maxHeightForDirection(direction, anchorNode, containerNode))\n ), minMaxHeight),\n userDefinedMaxHeight\n );\n });\n\n popupRef = el => {\n this.popup = el;\n };\n\n listRef = el => {\n this.list = el;\n };\n\n filterRef = el => {\n this.filter = el;\n this.caret = new Caret(this.filter);\n };\n\n shortcutsScope = getUID('select-popup-');\n shortcutsMap = {\n tab: this.tabPress\n };\n\n popupFilterShortcuts = {\n map: {\n up: event => (this.list && this.list.upHandler(event)),\n down: event => (this.list && this.list.downHandler(event)),\n home: event => (this.list && this.list.homeHandler(event)),\n end: event => (this.list && this.list.endHandler(event)),\n enter: event => (this.list\n ? this.list.enterHandler(event)\n : this.props.onEmptyPopupEnter(event)),\n esc: event => this.props.onCloseAttempt(event, true),\n tab: event => this.tabPress(event),\n backspace: event => this.handleBackspace(event),\n del: () => this.removeSelectedTag(),\n left: () => this.handleNavigation(true),\n right: () => this.handleNavigation()\n }\n };\n\n render() {\n const classes = classNames(styles.popup, this.props.className);\n\n return (\n <Popup\n ref={this.popupRef}\n hidden={this.props.hidden}\n attached={this.props.isInputMode}\n className={classes}\n dontCloseOnAnchorClick\n keepMounted\n anchorElement={this.props.anchorElement}\n minWidth={this.props.minWidth}\n onCloseAttempt={this.props.onCloseAttempt}\n directions={this.props.directions}\n top={this.props.top || (this.props.isInputMode ? INPUT_MARGIN_COMPENSATION : null)}\n left={this.props.left}\n onMouseDown={this.mouseDownHandler}\n target={this.props.ringPopupTarget}\n autoCorrectTopOverflow={false}\n style={this.props.style}\n >\n <div dir={this.props.dir}>\n {!this.props.hidden && this.props.filter &&\n (\n <Shortcuts\n map={this.shortcutsMap}\n scope={this.shortcutsScope}\n />\n )\n }\n {/* Add empty div to prevent the change of List position in DOM*/}\n {this.props.hidden ? <div/> : this.getFilterWithTags()}\n {this.props.multiple &&\n !this.props.multiple.limit &&\n this.props.multiple.selectAll &&\n this.getSelectAll()\n }\n {this.getList()}\n {this.getBottomLine()}\n {this.props.toolbar}\n </div>\n </Popup>\n );\n }\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport getUID from '../global/get-uid';\n\nimport Shortcuts from './shortcuts';\n\nexport default function shortcutsHOC(ComposedComponent) {\n\n return class WithShortcuts extends React.Component {\n static propTypes = {\n rgShortcutsOptions: PropTypes.object,\n rgShortcutsMap: PropTypes.object\n };\n\n _shortcutsScopeUid = getUID('rg-shortcuts-');\n\n render() {\n const {rgShortcutsOptions, rgShortcutsMap, ...props} = this.props;\n\n return (\n <Shortcuts\n scope={this._shortcutsScopeUid}\n map={rgShortcutsMap}\n options={rgShortcutsOptions}\n disabled={rgShortcutsOptions.disabled}\n >\n <ComposedComponent {...props}/>\n </Shortcuts>\n );\n }\n };\n}\n","import React, {Component, Fragment} from 'react';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\nimport chevronDownIcon from '@jetbrains/icons/chevron-10px.svg';\nimport closeIcon from '@jetbrains/icons/close.svg';\n\nimport {Anchor} from '../dropdown/dropdown';\nimport Avatar, {Size as AvatarSize} from '../avatar/avatar';\nimport Popup from '../popup/popup';\nimport List from '../list/list';\nimport Input, {Size} from '../input/input';\nimport Shortcuts from '../shortcuts/shortcuts';\nimport Button from '../button/button';\nimport buttonStyles from '../button/button.css';\nimport getUID from '../global/get-uid';\nimport rerenderHOC from '../global/rerender-hoc';\nimport fuzzyHighlight from '../global/fuzzy-highlight';\nimport Theme, {ThemeContext} from '../global/theme';\nimport memoize from '../global/memoize';\nimport getEventKey from '../global/get-event-key';\n\nimport SelectPopup from './select__popup';\nimport styles from './select.css';\n\n/**\n * @name Select\n */\n\nfunction noop() {}\n\n/**\n * @enum {number}\n */\nconst Type = {\n BUTTON: 'BUTTON',\n INPUT: 'INPUT',\n CUSTOM: 'CUSTOM',\n INLINE: 'INLINE',\n MATERIAL: 'MATERIAL',\n INPUT_WITHOUT_CONTROLS: 'INPUT_WITHOUT_CONTROLS'\n};\n\nconst ICON_WIDTH = 20;\nconst getStyle = memoize(iconsLength => ({\n paddingRight: iconsLength * ICON_WIDTH\n}));\n\nconst isInputMode = type => type === Type.INPUT || type === Type.INPUT_WITHOUT_CONTROLS;\n\nfunction getLowerCaseLabel(item) {\n if (\n List.isItemType(List.ListProps.Type.SEPARATOR, item) ||\n List.isItemType(List.ListProps.Type.HINT, item) ||\n item.label == null\n ) {\n return null;\n }\n\n return item.label.toLowerCase();\n}\n\nfunction doesLabelMatch(itemToCheck, fn) {\n const lowerCaseLabel = getLowerCaseLabel(itemToCheck);\n\n if (lowerCaseLabel == null) {\n return true;\n }\n\n return fn(lowerCaseLabel);\n}\n\nfunction getFilterFn(filter) {\n if (filter.fn) {\n return filter.fn;\n }\n\n if (filter.fuzzy) {\n return (itemToCheck, checkString) =>\n doesLabelMatch(itemToCheck, lowerCaseLabel =>\n fuzzyHighlight(checkString, lowerCaseLabel).matched\n );\n }\n\n return (itemToCheck, checkString) =>\n doesLabelMatch(itemToCheck, lowerCaseLabel =>\n lowerCaseLabel.indexOf(checkString) >= 0\n );\n}\n\nconst buildMultipleMap = selected => Object.fromEntries(selected.map(({key}) => [key, true]));\n\nfunction getListItems(props, state, rawFilterString, data = props.data) {\n let filterString = rawFilterString.trim();\n\n if (isInputMode(props.type) && state.selected && filterString === state.selected.label) {\n filterString = ''; // ignore multiple if it is exactly the selected item\n }\n const lowerCaseString = filterString.toLowerCase();\n\n const filteredData = [];\n let exactMatch = false;\n\n const check = getFilterFn(props.filter);\n\n for (let i = 0; i < data.length; i++) {\n const item = {...data[i]};\n if (check(item, lowerCaseString, data)) {\n exactMatch = (item.label === filterString);\n\n if (props.multiple && !props.multiple.removeSelectedItems) {\n item.checkbox = !!state.multipleMap[item.key];\n }\n\n if (\n props.multiple &&\n props.multiple.limit\n ) {\n item.disabled = props.multiple.limit === state.selected.length &&\n !state.selected.find(selectedItem => selectedItem.key === item.key);\n }\n\n // Ignore item if it's multiple and is already selected\n if (\n !(props.multiple &&\n props.multiple.removeSelectedItems &&\n state.multipleMap[item.key])\n ) {\n filteredData.push(item);\n }\n }\n }\n\n let addButton = null;\n const {add} = props;\n if (\n (add && filterString && !exactMatch) ||\n (add && add.alwaysVisible)\n ) {\n if (!(add.regexp && !add.regexp.test(filterString)) &&\n !(add.minlength && filterString.length < +add.minlength) ||\n add.alwaysVisible) {\n\n addButton = {\n prefix: add.prefix,\n label: add.label || filterString,\n delayed: add.hasOwnProperty('delayed') ? add.delayed : true\n };\n }\n }\n\n return {filteredData, addButton};\n}\n\nfunction getSelectedIndex(selected, data, multiple) {\n const firstSelected = multiple ? selected[0] : selected;\n if (firstSelected == null) {\n return null;\n }\n\n for (let i = 0; i < data.length; i++) {\n const item = data[i];\n\n if (item.key === undefined) {\n continue;\n }\n\n if (item.key === firstSelected.key) {\n return i;\n }\n }\n\n return null;\n}\n\nconst getItemLabel = ({selectedLabel, label}) => (selectedLabel != null ? selectedLabel : label);\n\nconst getValueForFilter = (selected, type, filterValue) =>\n (selected && isInputMode(type) ? getItemLabel(selected) : filterValue);\n\nfunction isSameSelected(prevSelected, selected) {\n if (!prevSelected || !selected || prevSelected.length !== selected.length) {\n return false;\n }\n\n const keysMap = selected.reduce((result, item) => {\n result[item.key] = true;\n return result;\n }, {});\n\n return prevSelected.every(it => keysMap[it.key]);\n}\n\n/**\n * @name Select\n * @constructor\n * @extends {Component}\n */\nexport default class Select extends Component {\n static _getEmptyValue(multiple) {\n return multiple ? [] : null;\n }\n\n static propTypes = {\n className: PropTypes.string,\n id: PropTypes.string,\n multiple: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),\n allowAny: PropTypes.bool,\n filter: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),\n\n getInitial: PropTypes.func,\n onClose: PropTypes.func,\n onOpen: PropTypes.func,\n onDone: PropTypes.func,\n onFilter: PropTypes.func,\n onChange: PropTypes.func,\n onReset: PropTypes.func,\n onLoadMore: PropTypes.func,\n onAdd: PropTypes.func,\n onBeforeOpen: PropTypes.func,\n onSelect: PropTypes.func,\n onDeselect: PropTypes.func,\n onFocus: PropTypes.func,\n onBlur: PropTypes.func,\n onKeyDown: PropTypes.func,\n\n selected: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),\n data: PropTypes.array,\n tags: PropTypes.object,\n targetElement: PropTypes.object,\n loading: PropTypes.bool,\n loadingMessage: PropTypes.string,\n notFoundMessage: PropTypes.string,\n maxHeight: PropTypes.number,\n minWidth: PropTypes.number,\n directions: PropTypes.array,\n popupClassName: PropTypes.string,\n popupStyle: PropTypes.object,\n top: PropTypes.number,\n left: PropTypes.number,\n renderOptimization: PropTypes.bool,\n ringPopupTarget: PropTypes.string,\n hint: List.ListHint.propTypes.label,\n add: PropTypes.object,\n type: PropTypes.oneOf(Object.values(Type)),\n disabled: PropTypes.bool,\n hideSelected: PropTypes.bool,\n label: PropTypes.string,\n selectedLabel: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node\n ]),\n inputPlaceholder: PropTypes.string,\n clear: PropTypes.bool,\n hideArrow: PropTypes.bool,\n compact: PropTypes.bool,\n size: PropTypes.oneOf(Object.values(Size)),\n theme: PropTypes.string,\n customAnchor: PropTypes.func,\n disableMoveOverflow: PropTypes.bool,\n disableScrollToActive: PropTypes.bool,\n dir: PropTypes.oneOf(['ltr', 'rtl'])\n };\n\n static defaultProps = {\n data: [],\n filter: false, // enable filter (not in INPUT modes)\n multiple: false, // multiple can be an object - see demo for more information\n clear: false, // enable clear button that clears the \"selected\" state\n loading: false, // show a loading indicator while data is loading\n disabled: false, // disable select\n\n loadingMessage: 'Loading...',\n notFoundMessage: 'No options found',\n\n type: Type.MATERIAL,\n size: Size.M,\n targetElement: null, // element to bind the popup to (select BUTTON or INPUT by default)\n hideSelected: false, // INPUT mode: clears the input after an option is selected (useful when the selection is displayed in some custom way elsewhere)\n allowAny: false, // INPUT mode: allows any value to be entered, hides the dropdown icon\n hideArrow: false, // hide dropdown arrow icon\n\n maxHeight: 600, // height of the options list, including the filter and the 'Add' button\n directions: [\n Popup.PopupProps.Directions.BOTTOM_RIGHT,\n Popup.PopupProps.Directions.BOTTOM_LEFT,\n Popup.PopupProps.Directions.TOP_LEFT,\n Popup.PopupProps.Directions.TOP_RIGHT\n ],\n\n selected: null, // current selection (item / array of items)\n\n label: '', // BUTTON or INPUT label (nothing selected)\n selectedLabel: '', // BUTTON or INPUT label (something selected)\n inputPlaceholder: '', // Placeholder for input modes\n hint: null, // hint text to display under the list\n\n shortcutsEnabled: false,\n\n onBeforeOpen: noop,\n onLoadMore: noop,\n onOpen: noop,\n onClose: noop,\n onFilter: noop, // search string as first argument\n onFocus: noop,\n onBlur: noop,\n onKeyDown: noop,\n\n onSelect: noop, // single + multi\n onDeselect: noop, // multi\n onChange: noop, // multi\n\n onAdd: noop, // search string as first argument\n\n onDone: noop,\n onReset: noop,\n\n tags: null,\n onRemoveTag: noop,\n ringPopupTarget: null,\n dir: 'ltr'\n };\n\n static getDerivedStateFromProps(nextProps, prevState) {\n const {multiple, data, type} = nextProps;\n const {prevSelected, prevData, prevMultiple, filterValue} = prevState;\n const nextState = {prevData: data, prevSelected: nextProps.selected, prevMultiple: multiple};\n\n if ('data' in nextProps && data !== prevData) {\n const {filteredData, addButton} = getListItems(nextProps, prevState, filterValue, data);\n Object.assign(nextState, {shownData: filteredData, addButton});\n\n if (prevState.selected) {\n Object.assign(nextState, {\n selectedIndex: getSelectedIndex(\n prevState.selected,\n data,\n multiple,\n ),\n prevFilterValue: getValueForFilter(prevState.selected, type, filterValue)\n });\n }\n }\n\n if ('selected' in nextProps && nextProps.selected !== prevSelected) {\n const selected = nextProps.selected || Select._getEmptyValue(multiple);\n\n const selectedIndex = getSelectedIndex(\n selected,\n data || prevData,\n multiple,\n );\n\n Object.assign(nextState, {\n selected,\n prevFilterValue: getValueForFilter(selected, type, filterValue)\n });\n\n if (!multiple || !isSameSelected(prevSelected, selected)) {\n Object.assign(nextState, {selectedIndex});\n }\n }\n\n if (prevMultiple !== multiple) {\n nextState.selected = Select._getEmptyValue(multiple);\n }\n\n const {selected} = {...prevState, ...nextState};\n if (selected && multiple) {\n nextState.multipleMap = buildMultipleMap(selected);\n }\n\n return nextState;\n }\n\n state = {\n data: [],\n shownData: [],\n selected: (this.props.multiple ? [] : null),\n selectedIndex: null,\n filterValue: this.props.filter && this.props.filter.value || '',\n shortcutsEnabled: false,\n popupShortcuts: false,\n showPopup: false,\n prevData: this.props.data,\n prevSelected: null,\n prevMultiple: this.props.multiple,\n multipleMap: {},\n addButton: null\n };\n\n componentDidUpdate(prevProps, prevState) {\n const {showPopup, selected} = this.state;\n const {onClose, onOpen, onChange, multiple} = this.props;\n\n if (prevState.showPopup && !showPopup) {\n onClose(selected);\n } else if (!prevState.showPopup && showPopup) {\n onOpen();\n }\n\n if (multiple !== prevProps.multiple) {\n onChange(selected);\n }\n }\n\n static Type = Type;\n static Size = Size;\n static Theme = Theme;\n\n shortcutsScope = getUID('select-');\n _focusHandler = () => {\n this.props.onFocus();\n\n this.setState({\n shortcutsEnabled: true,\n focused: true\n });\n };\n\n _blurHandler = () => {\n this.props.onBlur();\n\n if (this._popup && this._popup.isVisible() && !this._popup.isClickingPopup) {\n window.setTimeout(() => {\n this.setState({showPopup: false});\n });\n }\n\n if (!this._popup.isClickingPopup) {\n this.setState({\n shortcutsEnabled: false,\n focused: false\n });\n }\n };\n\n nodeRef = el => {\n this.node = el;\n };\n\n _popup = null;\n\n onEmptyPopupEnter = () => {\n if (this.state.addButton) {\n this.addHandler();\n }\n };\n\n _onEnter = () => {\n if (this.state.addButton && this.state.shownData.length === 0) {\n this.addHandler();\n }\n\n this.props.onDone();\n\n if (!this._popup.isVisible() && this.props.allowAny) {\n return true;\n }\n\n return undefined;\n };\n\n _onEsc = event => {\n if (!this._popup.isVisible()) {\n return true;\n } else if (this.props.multiple || !this.props.getInitial) {\n return false;\n }\n\n const selected = {\n key: Math.random(),\n label: this.props.getInitial()\n };\n\n this.setState({\n selected,\n filterValue: this.getValueForFilter(selected)\n }, () => {\n this.props.onChange(selected, event);\n this.props.onReset();\n });\n\n return undefined;\n };\n\n _inputShortcutHandler = () => {\n if (this.state.focused && this._popup && !this._popup.isVisible()) {\n this._clickHandler();\n }\n };\n\n getValueForFilter(selected) {\n return getValueForFilter(selected, this.props.type, this.state.filterValue);\n }\n\n _getSelectedIndex(selected, data) {\n return getSelectedIndex(selected, data, this.props.multiple);\n }\n\n popupRef = el => {\n this._popup = el;\n };\n\n _getResetOption() {\n const isOptionsSelected = this.state.selected && this.state.selected.length;\n const hasTagsResetProp = this.props.tags && this.props.tags.reset;\n if (!isOptionsSelected || !hasTagsResetProp) {\n return null;\n }\n\n const {reset} = this.props.tags;\n return {\n isResetItem: true,\n separator: reset.separator,\n key: reset.label,\n rgItemType: List.ListProps.Type.ITEM,\n label: reset.label,\n glyph: reset.glyph,\n className: 'ring-select__clear-tags',\n onClick: (item, event) => {\n this.clear(event);\n this.clearFilter();\n this.props.onFilter('');\n this.setState(prevState => ({\n shownData: prevState.shownData.slice(reset.separator ? 2 : 1),\n multipleMap: {}\n }));\n this._redrawPopup();\n }\n };\n }\n\n _prependResetOption(shownData) {\n const resetOption = this._getResetOption();\n const margin = {rgItemType: List.ListProps.Type.MARGIN};\n if (resetOption) {\n const resetItems = [margin, resetOption, margin];\n if (resetOption.separator) {\n resetItems.push({\n rgItemType: List.ListProps.Type.SEPARATOR\n });\n }\n return resetItems.concat(shownData);\n }\n return shownData;\n }\n\n _renderPopup() {\n const anchorElement = this.props.targetElement || this.node;\n const {showPopup, shownData} = this.state;\n const _shownData = this._prependResetOption(shownData);\n let message = null;\n\n if (this.props.loading) {\n message = this.props.loadingMessage;\n } else if (!shownData.length) {\n message = this.props.notFoundMessage;\n }\n\n return (\n <SelectPopup\n data={_shownData}\n message={message}\n toolbar={showPopup && this.getToolbar()}\n loading={this.props.loading}\n activeIndex={this.state.selectedIndex}\n hidden={!showPopup}\n ref={this.popupRef}\n maxHeight={this.props.maxHeight}\n minWidth={this.props.minWidth}\n directions={this.props.directions}\n className={this.props.popupClassName}\n style={this.props.popupStyle}\n top={this.props.top}\n left={this.props.left}\n filter={this.isInputMode() ? false : this.props.filter} // disable popup filter in INPUT mode\n multiple={this.props.multiple}\n filterValue={this.state.filterValue}\n anchorElement={anchorElement}\n onCloseAttempt={this._onCloseAttempt}\n onSelect={this._listSelectHandler}\n onSelectAll={this._listSelectAllHandler}\n onFilter={this._filterChangeHandler}\n onClear={this.clearFilter}\n onLoadMore={this.props.onLoadMore}\n isInputMode={this.isInputMode()}\n selected={this.state.selected}\n tags={this.props.tags}\n compact={this.props.compact}\n renderOptimization={this.props.renderOptimization}\n ringPopupTarget={this.props.ringPopupTarget}\n disableMoveOverflow={this.props.disableMoveOverflow}\n disableScrollToActive={this.props.disableScrollToActive}\n dir={this.props.dir}\n onEmptyPopupEnter={this.onEmptyPopupEnter}\n />\n );\n }\n\n _showPopup() {\n if (!this.node) {\n return;\n }\n\n const shownData = this.getListItems(this.filterValue());\n this.setState({\n showPopup: !!shownData.length || !this.props.allowAny,\n shownData\n });\n }\n\n _hidePopup(tryFocusAnchor) {\n if (this.node && this.state.showPopup) {\n this.setState({\n showPopup: false,\n filterValue: ''\n });\n\n if (tryFocusAnchor) {\n const restoreFocusNode = this.props.targetElement ||\n this.node.query('[data-test~=ring-select__focus]');\n if (restoreFocusNode) {\n restoreFocusNode.focus();\n }\n }\n }\n }\n\n addHandler = () => {\n const value = this.filterValue();\n this._hidePopup();\n this.props.onAdd(value);\n };\n\n getToolbar() {\n const {hint} = this.props;\n const {prefix, label, delayed} = this.state.addButton || {};\n const isToolbarHasElements = this.state.addButton || hint;\n if (!isToolbarHasElements) {\n return null;\n }\n\n return (\n <div\n className={classNames({\n [styles.toolbar]: !!this.state.addButton\n })}\n data-test=\"ring-select-toolbar\"\n >\n {this.state.addButton && (\n <Button\n text\n delayed={delayed}\n className={styles.button}\n onClick={this.addHandler}\n data-test=\"ring-select-toolbar-button\"\n >\n {prefix ? `${prefix} ${label}` : label}\n </Button>\n )}\n {hint && (\n <List.ListHint\n label={hint}\n data-test=\"ring-select-toolbar-hint\"\n />\n )}\n </div>\n );\n }\n\n getLowerCaseLabel = getLowerCaseLabel;\n doesLabelMatch = doesLabelMatch;\n\n getFilterFn() {\n return getFilterFn(this.props.filter);\n }\n\n getListItems(rawFilterString, data) {\n const {filteredData, addButton} = getListItems(this.props, this.state, rawFilterString, data);\n this.setState({addButton});\n\n return filteredData;\n }\n\n filterValue(setValue) {\n if (typeof setValue === 'string' || typeof setValue === 'number') {\n this.setState({filterValue: setValue});\n } else {\n return this.state.filterValue;\n }\n return undefined;\n }\n\n isInputMode() {\n return isInputMode(this.props.type);\n }\n\n _clickHandler = () => {\n if (!this.props.disabled) {\n if (this.state.showPopup) {\n this._hidePopup();\n } else {\n this.props.onBeforeOpen();\n this._showPopup();\n }\n }\n };\n\n _selectButtonKeyboardHack = event => {\n const key = getEventKey(event);\n if (key === 'Enter' || key === ' ') {\n this._clickHandler();\n }\n };\n\n _filterChangeHandler = e => {\n this._setFilter(e.target.value, e);\n };\n\n _setFilter = (value, event = {}) => {\n if (this.isInputMode() && !this.state.focused) {\n return;\n }\n\n if (value === this.state.filterValue) {\n return;\n }\n\n const filterValue = value.replace(/^\\s+/g, '');\n this.props.onFilter(filterValue);\n if (this.props.allowAny) {\n const fakeSelected = {\n key: Math.random(),\n label: filterValue\n };\n this.setState({\n selected: filterValue === '' ? null : fakeSelected,\n selectedIndex: null\n }, () => {\n this.props.onSelect(fakeSelected, event);\n this.props.onChange(fakeSelected, event);\n });\n }\n !this._popup.isVisible() && this.props.onBeforeOpen();\n\n this.setState({filterValue}, () => {\n this._showPopup();\n });\n };\n\n _rebuildMultipleMap(selected, multiple) {\n if (selected && multiple) {\n this.setState({multipleMap: buildMultipleMap(selected)});\n }\n }\n\n _redrawPopup = () => {\n if (this.props.multiple) {\n setTimeout(() => { //setTimeout solves events order and bubbling issue\n this.isInputMode() && this.clearFilter();\n this._showPopup();\n }, 0);\n }\n };\n\n _listSelectHandler = (selected, event, opts = {}) => {\n const isItem = List.isItemType.bind(null, List.ListProps.Type.ITEM);\n const isCustomItem = List.isItemType.bind(null, List.ListProps.Type.CUSTOM);\n const isSelectItemEvent = event && (event.type === 'select' || event.type === 'keydown');\n\n if (isSelectItemEvent) {\n event.preventDefault();\n }\n\n if ((!isItem(selected) && !isCustomItem(selected)) ||\n selected.disabled ||\n selected.isResetItem) {\n return;\n }\n\n if (!this.props.multiple) {\n this._hidePopup(isSelectItemEvent);\n this.setState({\n filterValue: '',\n selected,\n selectedIndex: this._getSelectedIndex(selected, this.props.data)\n }, () => {\n const newFilterValue = this.isInputMode() && !this.props.hideSelected\n ? getItemLabel(selected)\n : '';\n this.filterValue(newFilterValue);\n this.props.onFilter(newFilterValue);\n this.props.onSelect(selected, event);\n this.props.onChange(selected, event);\n });\n } else {\n const {tryKeepOpen} = opts;\n if (!tryKeepOpen) {\n this._hidePopup(isSelectItemEvent);\n }\n if (selected.key == null) {\n throw new Error('Multiple selection requires each item to have the \"key\" property');\n }\n\n this.setState(prevState => {\n const currentSelection = prevState.selected;\n let nextSelection;\n\n if (!prevState.multipleMap[selected.key]) {\n nextSelection = currentSelection.concat(selected);\n this.props.onSelect && this.props.onSelect(selected, event);\n } else {\n nextSelection = currentSelection.filter(item => item.key !== selected.key);\n this.props.onDeselect && this.props.onDeselect(selected);\n }\n\n this.props.onChange(nextSelection, event);\n\n const nextState = {\n filterValue: '',\n selected: nextSelection,\n selectedIndex: this._getSelectedIndex(selected, this.props.data)\n };\n\n if (\n this.props.multiple.limit &&\n nextSelection.length === this.props.multiple.limit\n ) {\n nextState.shownData = prevState.shownData.\n map(item => (nextSelection.find(selectedItem => selectedItem.key === item.key)\n ? item\n : {...item, disabled: true}));\n }\n\n if (!prevState.multipleMap[selected.key]) {\n nextState.multipleMap = {...prevState.multipleMap, [selected.key]: true};\n } else {\n const {[selected.key]: _, ...restMultipleMap} = prevState.multipleMap;\n nextState.multipleMap = restMultipleMap;\n }\n\n return nextState;\n\n }, () => {\n if (tryKeepOpen) {\n this._redrawPopup();\n }\n });\n }\n };\n\n _listSelectAllHandler = (isSelectAll = true) => {\n const isItem = List.isItemType.bind(null, List.ListProps.Type.ITEM);\n const isCustomItem = List.isItemType.bind(null, List.ListProps.Type.CUSTOM);\n\n this.setState(prevState => {\n const currentSelection = prevState.selected;\n let nextSelection;\n\n if (isSelectAll) {\n nextSelection = this.props.data.filter(\n item => (isItem(item) || isCustomItem(item)) &&\n !item.disabled\n );\n nextSelection.\n filter(\n item => !this.props.selected.find(selectedItem => item.key === selectedItem.key)\n ).\n forEach(item => {\n this.props.onSelect && this.props.onSelect(item);\n });\n } else {\n nextSelection = [];\n currentSelection.\n forEach(item => {\n this.props.onDeselect && this.props.onDeselect(item);\n });\n }\n\n this.props.onChange(nextSelection, event);\n\n return {\n filterValue: '',\n selected: nextSelection,\n selectedIndex: isSelectAll\n ? this._getSelectedIndex(\n nextSelection, this.props.data\n )\n : null,\n shownData: prevState.shownData.map(item => ({...item, checkbox: isSelectAll})),\n multipleMap: isSelectAll\n ? buildMultipleMap(this.props.data.filter(item => !item.disabled))\n : {}\n };\n }, this._redrawPopup);\n };\n\n _onCloseAttempt = (event, isEsc) => {\n if (this.isInputMode()) {\n if (!this.props.allowAny) {\n if (this.props.hideSelected || !this.state.selected || this.props.multiple) {\n this.clearFilter();\n } else if (this.state.selected) {\n this.filterValue(getItemLabel(this.state.selected));\n }\n }\n }\n\n const isTagRemoved = this.props.tags && event && event.target &&\n event.target.matches('[data-test=\"ring-tag-remove\"]');\n\n if (!isTagRemoved) {\n this._hidePopup(isEsc);\n }\n };\n\n clearFilter = e => {\n this._setFilter('', e);\n };\n\n clear = event => {\n if (event) {\n event.stopPropagation();\n }\n const empty = Select._getEmptyValue(this.props.multiple);\n\n this.setState({\n selected: empty,\n selectedIndex: null,\n filterValue: ''\n }, () => {\n if (this.props.onChange) {\n this.props.onChange(empty, event);\n }\n });\n\n return false;\n };\n\n _selectionIsEmpty() {\n return (this.props.multiple && !this.state.selected.length) || !this.state.selected;\n }\n\n _getLabel() {\n return this.props.label || this.props.selectedLabel || 'Select an option';\n }\n\n _getSelectedString() {\n if (this.props.multiple) {\n const labels = [];\n for (let i = 0; i < this.state.selected.length; i++) {\n labels.push(getItemLabel(this.state.selected[i]));\n }\n return labels.filter(Boolean).join(', ');\n } else {\n return getItemLabel(this.state.selected);\n }\n }\n\n _getIcons() {\n const icons = [];\n\n if (this.state.selected && this.state.selected.icon) {\n icons.push(\n <button\n title=\"Toggle options popup\"\n type=\"button\"\n className={styles.selectedIcon}\n key=\"selected\"\n onClick={this._clickHandler}\n style={{backgroundImage: `url(${this.state.selected.icon})`}}\n />\n );\n }\n\n if (this.props.clear && !this.props.disabled && this.state.selected) {\n icons.push(\n <Button\n title=\"Clear selection\"\n className={styles.clearIcon}\n key=\"close\"\n onClick={this.clear}\n icon={closeIcon}\n />\n );\n }\n\n if (!this.props.hideArrow) {\n icons.push(\n <Button\n title=\"Toggle options popup\"\n className={styles.chevron}\n iconClassName={styles.chevronIcon}\n icon={chevronDownIcon}\n key=\"hide\"\n onClick={this._clickHandler}\n />\n );\n }\n\n return icons;\n }\n\n _getAvatar() {\n return this.state.selected && this.state.selected.avatar && (\n <Avatar\n className={styles.avatar}\n url={this.state.selected.avatar}\n size={AvatarSize.Size20}\n />\n );\n }\n\n popupRef = el => {\n this._popup = el;\n };\n\n buttonRef = el => {\n this.button = el;\n };\n\n filterRef = el => {\n this.filter = el;\n };\n\n getShortcutsMap() {\n return {\n enter: this._onEnter,\n esc: this._onEsc,\n up: this._inputShortcutHandler,\n down: this._inputShortcutHandler,\n right: noop,\n left: noop,\n 'shift+up': noop,\n 'shift+down': noop,\n space: noop\n };\n }\n\n render() {\n const {shortcutsEnabled} = this.state;\n const classes = classNames(styles.select, 'ring-js-shortcuts', this.props.className, {\n [styles[`size${this.props.size}`]]: this.props.type !== Type.INLINE,\n [styles.disabled]: this.props.disabled\n });\n\n const icons = this._getIcons();\n\n const style = getStyle(icons.length);\n\n const iconsNode = <span className={styles.icons}>{icons}</span>;\n\n switch (this.props.type) {\n case Type.INPUT_WITHOUT_CONTROLS:\n case Type.INPUT: return (\n <div\n ref={this.nodeRef}\n className={classNames(classes, styles.inputMode)}\n data-test=\"ring-select\"\n >\n {shortcutsEnabled && (\n <Shortcuts\n map={this.getShortcutsMap()}\n scope={this.shortcutsScope}\n />\n )}\n <Input\n autoComplete=\"off\"\n id={this.props.id}\n onClick={this._clickHandler}\n inputRef={this.filterRef}\n disabled={this.props.disabled}\n value={this.state.filterValue}\n borderless={this.props.type === Type.INPUT_WITHOUT_CONTROLS}\n style={style}\n size={Size.FULL}\n onChange={this._filterChangeHandler}\n onFocus={this._focusHandler}\n onBlur={this._blurHandler}\n\n label={this.props.type === Type.INPUT ? this._getLabel() : null}\n placeholder={this.props.inputPlaceholder}\n onKeyDown={this.props.onKeyDown}\n data-test=\"ring-select__focus\"\n />\n {this.props.type === Type.INPUT && iconsNode}\n {this._renderPopup()}\n </div>\n );\n case Type.BUTTON:\n return (\n <div\n ref={this.nodeRef}\n className={classNames(classes, styles.buttonMode)}\n data-test=\"ring-select\"\n >\n {shortcutsEnabled && (\n <Shortcuts\n map={this.getShortcutsMap()}\n scope={this.shortcutsScope}\n />\n )}\n <ThemeContext.Consumer>\n {contextTheme => (\n <div\n id={this.props.id}\n onClick={this._clickHandler}\n onKeyPress={this._selectButtonKeyboardHack}\n className={classNames(\n buttonStyles.button,\n buttonStyles[this.props.theme || contextTheme || Theme.LIGHT],\n styles.buttonValue,\n {\n [styles.buttonValueOpen]: this.state.showPopup\n })\n }\n role=\"button\"\n tabIndex={0}\n disabled={this.props.disabled}\n style={style}\n data-test=\"ring-select__button ring-select__focus\"\n >\n {this._getAvatar()}\n {this._selectionIsEmpty() ? this._getLabel() : this._getSelectedString()}\n {iconsNode}\n </div>\n )}\n </ThemeContext.Consumer>\n {this._renderPopup()}\n </div>\n );\n\n case Type.MATERIAL:\n return (\n <div\n ref={this.nodeRef}\n className={classNames(classes, styles.materialMode)}\n data-test=\"ring-select\"\n >\n {shortcutsEnabled && (\n <Shortcuts\n map={this.getShortcutsMap()}\n scope={this.shortcutsScope}\n />\n )}\n {!this._selectionIsEmpty() && this.props.selectedLabel && (\n <span className={styles.selectedLabel}>{this.props.selectedLabel}</span>\n )}\n <button\n id={this.props.id}\n onClick={this._clickHandler}\n type=\"button\"\n disabled={this.props.disabled}\n className={classNames(styles.value, {\n [styles.open]: this.state.showPopup,\n [styles.label]: this._selectionIsEmpty()\n })}\n aria-label={this._getLabel()}\n style={style}\n data-test=\"ring-select__focus\"\n ref={this.buttonRef}\n >\n {this._getAvatar()}\n {this._selectionIsEmpty() ? this._getLabel() : this._getSelectedString()}\n </button>\n {iconsNode}\n {this._renderPopup()}\n </div>\n );\n case Type.INLINE:\n return (\n <div\n className={classes}\n ref={this.nodeRef}\n data-test=\"ring-select\"\n >\n {shortcutsEnabled && (\n <Shortcuts\n map={this.getShortcutsMap()}\n scope={this.shortcutsScope}\n />\n )}\n <Anchor\n id={this.props.id}\n onClick={this._clickHandler}\n data-test=\"ring-select__focus\"\n disabled={this.props.disabled}\n >\n {this._selectionIsEmpty() ? this._getLabel() : this._getSelectedString()}\n </Anchor>\n {this._renderPopup()}\n </div>\n );\n default:\n if (this.props.customAnchor) {\n return (\n <Fragment>\n {shortcutsEnabled && (\n <Shortcuts\n map={this.getShortcutsMap()}\n scope={this.shortcutsScope}\n />\n )}\n {this.props.customAnchor({\n wrapperProps: {\n ref: this.nodeRef,\n 'data-test': 'ring-select'\n },\n buttonProps: {\n id: this.props.id,\n onClick: this._clickHandler,\n disabled: this.props.disabled,\n children: this._selectionIsEmpty() ? this._getLabel() : this._getSelectedString(),\n 'data-test': 'ring-select_focus'\n },\n popup: this._renderPopup()\n })}\n </Fragment>\n );\n }\n return (\n <span id={this.props.id} ref={this.nodeRef} data-test=\"ring-select\">\n {this._renderPopup()}\n </span>\n );\n }\n }\n}\n\nexport const RerenderableSelect = rerenderHOC(Select, {captureNode: false});\n","/** https://github.com/bevacqua/fuzzysearch + highlighting with Markdown */\n\nconst marker = '**';\n\nexport default function fuzzyHighlight(needle, haystack, caseSensitive = false) {\n const ndl = caseSensitive ? needle : needle.toLowerCase();\n const hstck = caseSensitive ? haystack : haystack.toLowerCase();\n const result = (matched, highlight = haystack) => ({matched, highlight});\n const hlen = hstck.length;\n const nlen = ndl.length;\n if (nlen > hlen) {\n return result(false);\n }\n if (nlen === hlen) {\n const matched = ndl === hstck;\n return result(matched, matched ? `${marker}${haystack}${marker}` : haystack);\n }\n let highlight = '';\n let on = false;\n let j = 0;\n /* eslint-disable no-labels */\n outer: for (let i = 0; i < nlen; i++) {\n const nch = ndl[i];\n while (j < hlen) {\n const hch = hstck[j];\n const match = hch === nch;\n // Don't turn highlight on for space characters\n const nextOn = match && /\\S/.test(hch);\n if (nextOn !== on) {\n highlight += marker;\n }\n highlight += haystack[j++];\n on = nextOn;\n if (match) {\n continue outer;\n }\n }\n return result(false);\n }\n /* eslint-enable */\n if (on) {\n highlight += marker;\n }\n highlight += haystack.slice(j);\n return result(true, highlight);\n}\n","/**\n * @name Pager\n */\n\n/* eslint-disable no-magic-numbers */\n\nimport React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport chevronLeftIcon from '@jetbrains/icons/chevron-left.svg';\nimport chevronRightIcon from '@jetbrains/icons/chevron-right.svg';\n\nimport Button from '../button/button';\nimport ButtonGroup from '../button-group/button-group';\nimport ButtonToolbar from '../button-toolbar/button-toolbar';\nimport Select from '../select/select';\nimport memoize from '../global/memoize';\nimport Link from '../link/link';\nimport Icon from '../icon/icon';\n\nimport style from './pager.css';\n\nexport default class Pager extends PureComponent {\n static propTypes = {\n total: PropTypes.number.isRequired,\n currentPage: PropTypes.number,\n pageSize: PropTypes.number,\n pageSizes: PropTypes.arrayOf(PropTypes.number),\n visiblePagesLimit: PropTypes.number,\n disablePageSizeSelector: PropTypes.bool,\n openTotal: PropTypes.bool,\n canLoadLastPageWithOpenTotal: PropTypes.bool,\n onPageChange: PropTypes.func,\n onPageSizeChange: PropTypes.func,\n onLoadPage: PropTypes.func,\n className: PropTypes.string,\n translations: PropTypes.object,\n loader: PropTypes.bool,\n hrefFunc: PropTypes.func //function which generates href for all pager's buttons based on pager state passed as a function parameter, either this function or onPageChange should be provided\n };\n\n static defaultProps = {\n currentPage: 1,\n pageSize: 50,\n pageSizes: [20, 50, 100],\n visiblePagesLimit: 7,\n disablePageSizeSelector: false,\n openTotal: false,\n canLoadLastPageWithOpenTotal: false,\n translations: {\n perPage: 'per page',\n firstPage: 'First page',\n lastPage: 'Last page',\n nextPage: 'Next page',\n previousPage: 'Previous'\n },\n loader: false,\n onPageSizeChange: () => {},\n onLoadPage: () => {}\n };\n\n getSelectOptions() {\n const {pageSize, pageSizes} = this.props;\n const data = pageSizes.map(size => ({\n key: size,\n label: `${size} ${this.props.translations.perPage}`\n }));\n const selected = data.find(it => it.key === pageSize);\n return {selected, data};\n }\n\n getTotal() {\n const {total, pageSize} = this.props;\n return Math.ceil(total / pageSize);\n }\n\n handlePageSizeChange = item => {\n this.props.onPageSizeChange(item.key);\n };\n\n handlePrevClick = () => {\n const {currentPage} = this.props;\n if (currentPage !== 1) {\n const prevPage = currentPage - 1;\n this.props.onPageChange(prevPage);\n }\n };\n\n handleNextClick = () => {\n const {currentPage, onLoadPage} = this.props;\n const nextPage = currentPage + 1;\n const total = this.getTotal();\n if (currentPage !== total) {\n this.props.onPageChange(nextPage);\n } else if (this.props.openTotal) {\n onLoadPage(nextPage);\n }\n };\n\n handlePageChange = memoize(i => event => {\n this.props.onPageChange(i, event);\n });\n\n handleLoadMore = memoize(i => () => {\n this.props.onLoadPage(i);\n });\n\n getButton(page, content, key, active) {\n return (\n <Button\n href={this.generateHref(page)}\n key={key}\n active={active}\n disabled={this.props.loader && !active}\n loader={this.props.loader && active}\n {...this.getClickProps(this.handlePageChange(page))}\n >\n {content}\n </Button>\n );\n }\n\n getClickProps(onClick) {\n const {hrefFunc, onPageChange} = this.props;\n\n if (!onPageChange) {\n return {};\n } else if (hrefFunc) {\n return {onPlainLeftClick: onClick};\n } else {\n return {onClick};\n }\n }\n\n getPageSizeSelector() {\n\n const selectOptions = this.getSelectOptions();\n\n return !this.props.disablePageSizeSelector &&\n (\n <div data-test=\"ring-pager-page-size-selector\" style={{float: 'right'}}>\n <Select\n data={selectOptions.data}\n selected={selectOptions.selected}\n onSelect={this.handlePageSizeChange}\n type={Select.Type.INLINE}\n disabled={this.props.loader}\n />\n </div>\n );\n }\n\n getPagerLinks() {\n\n const prevLinkAvailable = this.props.currentPage !== 1;\n\n const nextLinkAvailable = this.props.openTotal || this.props.currentPage !== this.getTotal();\n\n const nextIcon = (\n <Icon glyph={chevronRightIcon} key=\"icon\"/>\n );\n\n const prevIcon = (\n <Icon glyph={chevronLeftIcon} key=\"icon\"/>\n );\n\n const prevText = this.props.translations.previousPage;\n\n const nextText = this.props.translations.nextPage;\n\n const nextLinkContent = WrapText => [\n <span key=\"text\"><WrapText>{nextText}</WrapText></span>,\n nextIcon\n ];\n\n const prevLinkContent = WrapText => [\n prevIcon,\n <span key=\"text\"><WrapText>{prevText}</WrapText></span>\n ];\n\n const prevLinkHref = this.generateHref(this.props.currentPage - 1);\n\n const nextLinkHref = this.generateHref(this.props.currentPage + 1);\n\n const disabledLinkClasses = classNames({\n [style.link]: true,\n [style.linkDisabled]: true\n });\n\n return (\n <div className={style.links}>\n {prevLinkAvailable && !this.props.loader\n ? (\n <Link\n href={prevLinkHref}\n className={style.link}\n {...this.getClickProps(this.handlePrevClick)}\n >{prevLinkContent}</Link>\n )\n : (\n <span className={disabledLinkClasses}>\n {prevIcon}<span key=\"text\">{prevText}</span>\n </span>\n )\n }\n\n {nextLinkAvailable && !this.props.loader\n ? (\n <Link\n href={nextLinkHref}\n className={style.link}\n {...this.getClickProps(this.handleNextClick)}\n >{nextLinkContent}</Link>\n )\n : (\n <span className={disabledLinkClasses}>\n <span key=\"text\">{nextText}</span>{nextIcon}\n </span>\n )\n }\n </div>\n );\n }\n\n generateHref(page) {\n if (this.props.hrefFunc === undefined) {\n return undefined;\n }\n const pageSize = this.props.disablePageSizeSelector ? undefined : this.props.pageSize;\n return this.props.hrefFunc(page, pageSize);\n }\n\n getPagerContent() {\n const {currentPage, visiblePagesLimit} = this.props;\n const totalPages = this.getTotal();\n\n if (totalPages < 2 && !this.props.openTotal) {\n return null;\n }\n\n let start = 1;\n let end = totalPages;\n\n if (totalPages >= visiblePagesLimit + 6) {\n const leftHalfFrameSize = Math.ceil(visiblePagesLimit / 2) - 1;\n const rightHalfFrameSize = visiblePagesLimit - leftHalfFrameSize - 1;\n\n start = currentPage - leftHalfFrameSize;\n end = currentPage + rightHalfFrameSize;\n\n if (start < 1) {\n const tail = 1 - start;\n start += tail;\n end += tail;\n }\n\n if (end > totalPages) {\n const tail = end - totalPages;\n start -= tail;\n end -= tail;\n }\n\n if (start < 1) {\n start += 1 - start;\n }\n }\n\n const buttons = [];\n for (let i = start; i <= end; i++) {\n buttons.push(this.getButton(i, i, i, i === currentPage));\n }\n\n const lastPageButtonAvailable = (end < totalPages && !this.props.openTotal) ||\n (this.props.openTotal && this.props.canLoadLastPageWithOpenTotal);\n\n return (\n <div>\n {this.getPagerLinks()}\n\n <ButtonToolbar>\n {start > 1 &&\n (\n <ButtonGroup>\n {this.getButton(1, this.props.translations.firstPage)}\n </ButtonGroup>\n )\n }\n\n <ButtonGroup>\n {start > 1 && this.getButton(start - 1, '...')}\n\n {buttons}\n\n {end < totalPages && this.getButton(end + 1, '...')}\n\n {end === totalPages && this.props.openTotal && (\n <Button\n href={this.generateHref(end + 1)}\n disabled={this.props.loader}\n {...this.getClickProps(this.handleLoadMore(end + 1))}\n >{'...'}</Button>\n )}\n </ButtonGroup>\n\n {lastPageButtonAvailable &&\n (\n <ButtonGroup>\n {this.getButton(\n this.props.openTotal ? -1 : totalPages,\n this.props.translations.lastPage\n )}\n </ButtonGroup>\n )\n }\n </ButtonToolbar>\n\n {this.getPageSizeSelector()}\n\n </div>\n );\n }\n\n render() {\n\n const classes = classNames(style.pager, this.props.className);\n\n return (\n <div data-test=\"ring-pager\" className={classes}>\n {this.props.total > 1\n ? this.getPagerContent()\n : this.getPageSizeSelector()\n }\n </div>\n );\n }\n}\n","/**\n * @name Pager Ng\n */\nimport angularComponentFactory from '../global/angular-component-factory';\nimport Pager from '../pager/pager';\n\nexport default angularComponentFactory(Pager, 'Pager').name;\n","/**\n * @name Place Under Ng\n */\n\nimport angular from 'angular';\n\nimport 'dom4';\nimport debounce from 'just-debounce-it';\nimport createResizeDetector from 'element-resize-detector';\n\nimport {getDocumentScrollTop} from '../global/dom';\n\nconst resizeDetector = createResizeDetector();\n\nconst angularModule = angular.module('Ring.place-under', []);\nangularModule.directive('rgPlaceUnder',\n // eslint-disable-next-line angular/di-unused\n function rgPlaceUnderDirective($window, getClosestElementWithCommonParent, rgPlaceUnderHelper) {\n return {\n restrict: 'A',\n link: function link(scope, iElement, iAttrs) {\n const element = iElement[0];\n const synchronizer = rgPlaceUnderHelper.createPositionSynchronizer(element, iAttrs, scope);\n\n function startSyncing(placeUnderSelector) {\n if (placeUnderSelector) {\n scope.$evalAsync(() => {\n const syncWith = getClosestElementWithCommonParent(element, placeUnderSelector);\n\n if (syncWith) {\n synchronizer.syncPositionWith(syncWith);\n } else {\n throw new Error('rgPlaceUnder cannot find element to sync with.');\n }\n });\n }\n }\n\n iAttrs.$observe('rgPlaceUnder', startSyncing);\n }\n };\n }\n);\n\n\nangularModule.factory('getClosestElementWithCommonParent',\n function getClosestElementWithCommonParentFactory() {\n return function getClosestElementWithCommonParent(currentElement, selector) {\n const parent = currentElement.parentNode;\n if (parent) {\n return parent.query(selector) || getClosestElementWithCommonParent(parent, selector);\n } else {\n return null;\n }\n };\n }\n);\n\n\nangularModule.factory('rgPlaceUnderHelper', $window => {\n const DEBOUNCE_INTERVAL = 10;\n const AFTER_SCROLL_RECHECK_INTERVAL = 50;\n const HEIGHT_CHECK_INTERVAL = 50;\n\n return {\n DEBOUNCE_INTERVAL,\n AFTER_SCROLL_RECHECK_INTERVAL,\n HEIGHT_CHECK_INTERVAL,\n createPositionSynchronizer: (element, iAttrs, scope) => {\n const topOffset = parseInt(iAttrs.placeTopOffset, 10) || 0;\n const syncHeight = iAttrs.syncHeight;\n\n let syncBottom = [];\n let removeScrollListener = [];\n\n if (iAttrs.syncBottom) {\n syncBottom = iAttrs.syncBottom.split(',');\n }\n\n function waitForNonZeroHeight(elementToCheck) {\n return new Promise(resolve => {\n function checkElementHeight() {\n if (elementToCheck.offsetHeight === 0) {\n $window.setTimeout(checkElementHeight, HEIGHT_CHECK_INTERVAL);\n } else {\n resolve();\n }\n }\n\n checkElementHeight();\n });\n }\n\n function onScroll(syncElement) {\n const documentScrollTop = getDocumentScrollTop();\n const documentOffsetHeight =\n ($window.document.documentElement && $window.document.documentElement.offsetHeight) ||\n $window.document.body.offsetHeight;\n\n const syncedElementHeight = syncElement.offsetHeight;\n const syncedElementOffsetTop = syncElement.getBoundingClientRect().top + documentScrollTop;\n\n const bottom = syncedElementOffsetTop + syncedElementHeight;\n\n const margin = Math.max(bottom - documentScrollTop, syncedElementHeight);\n\n element.style.marginTop = `${margin + topOffset}px`;\n\n if (syncHeight) {\n /**\n * Decrease height by margin value to make scroll work properly\n */\n let bottomOffset = 0;\n if (syncBottom.length) {\n for (let i = 0; i < syncBottom.length; i++) {\n const syncBottomParams = syncBottom[i].split(';');\n const elem = $window.document.querySelector(syncBottomParams[0]);\n const extraMargin = syncBottomParams[1] ? parseInt(syncBottomParams[1], 10) : 0;\n\n if (elem) {\n const boundingRect = elem.getBoundingClientRect();\n\n if (boundingRect.top === 0) {\n continue;\n }\n\n const marginTop = parseInt($window.getComputedStyle(elem).\n getPropertyValue('margin-top'), 10);\n bottomOffset = documentOffsetHeight - boundingRect.top + marginTop + extraMargin;\n if (bottomOffset < 0) {\n bottomOffset = 0;\n }\n\n break;\n }\n }\n }\n\n element.style.height = `calc(100% - ${parseInt(element.style.marginTop, 10) + bottomOffset}px)`;\n }\n }\n\n function removeScrollListeners() {\n removeScrollListener.map(cb => cb());\n removeScrollListener = [];\n }\n\n function syncPositionWith(syncElement) {\n removeScrollListeners();\n\n const afterScrollFinishRecheck =\n debounce(() => this.onScroll(syncElement), AFTER_SCROLL_RECHECK_INTERVAL);\n\n const sidebarScrollListener = debounce(() => {\n this.onScroll(syncElement);\n afterScrollFinishRecheck();\n }, DEBOUNCE_INTERVAL);\n\n this.waitForNonZeroHeight(syncElement).then(sidebarScrollListener);\n\n $window.addEventListener('scroll', sidebarScrollListener);\n removeScrollListener.push(() => {\n $window.removeEventListener('scroll', sidebarScrollListener);\n });\n\n\n removeScrollListener.push(scope.$watch('show', sidebarScrollListener));\n removeScrollListener.push(scope.$on('rgPlaceUnder:sync', sidebarScrollListener));\n\n\n const elementToHeightListening = iAttrs.listenToHeightChange\n ? $window.document.querySelector(iAttrs.listenToHeightChange)\n : $window.document.body;\n resizeDetector.listenTo(elementToHeightListening, sidebarScrollListener);\n removeScrollListener.\n push(() => resizeDetector.removeAllListeners(elementToHeightListening));\n }\n\n scope.$on('$destroy', removeScrollListeners);\n\n return {\n waitForNonZeroHeight,\n onScroll,\n syncPositionWith\n };\n }\n };\n});\n\nexport default angularModule.name;\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport Theme from '../global/theme';\n\nimport styles from './progress-bar.css';\n\n/**\n * @name Progress Bar\n */\nexport default class ProgressBar extends PureComponent {\n /**\n * @param {number} value The progress task value\n * @param {number} max The maximum value\n * @return {number} The progress task value in percents\n * @private\n */\n static toPercent(value, max) {\n const HUNDRED_PERCENT = 100;\n const percents = (value * HUNDRED_PERCENT) / max;\n return percents > HUNDRED_PERCENT ? HUNDRED_PERCENT : percents;\n }\n\n static propTypes = {\n light: PropTypes.bool, // Obsolete prop, should be replaced with theme\n theme: PropTypes.string,\n\n /**\n * Sets the ring-progress-bar_global class to position the progress bar on top of the screen.\n * Should be placed directly inside body, will be positioned right below .ring-header\n * if placed adjacent to it.\n * @type {boolean}\n */\n global: PropTypes.bool,\n\n /**\n * Custom class\n * @type {string}\n */\n className: PropTypes.string,\n\n /**\n * A floating point number that specifies minimum completion rate for a task to be considered\n * complete. Default value is 1.0.\n * @type {number}\n */\n max: PropTypes.number,\n\n /**\n * A floating point number that specifies current task completion rate.\n * @type {number}\n */\n value: PropTypes.number\n };\n\n static defaultProps = {\n max: 1.0,\n value: 0,\n theme: Theme.LIGHT\n };\n\n componentDidMount() {\n if (typeof this.props.light === 'boolean') {\n // eslint-disable-next-line no-console\n console.warn('Ring UI Progress component doesn\\'t have \"light\" prop anymore. Please use \"theme\" instead');\n }\n }\n\n progressbarWrapperRef = el => {\n this.progressbarWrapper = el;\n };\n\n progressbarRef = el => {\n this.progressbar = el;\n };\n\n render() {\n const {theme, light, className, global, max, value, ...otherProps} = this.props;\n const themeFallback = light ? Theme.DARK : theme;\n\n const width = value ? `${ProgressBar.toPercent(value, max)}%` : null;\n const classes = classNames(styles.progressBar, className, {\n [styles.light]: themeFallback === Theme.LIGHT,\n [styles.dark]: themeFallback === Theme.DARK,\n [styles.globalMode]: global\n });\n\n return (\n <div\n {...otherProps}\n className={classes}\n ref={this.progressbarWrapperRef}\n >\n <div\n className={styles.line}\n ref={this.progressbarRef}\n role=\"progressbar\"\n aria-valuenow={value}\n aria-valuemin={0}\n aria-valuemax={max}\n style={{width}}\n />\n </div>\n );\n }\n}\n","/**\n * @name Progress Bar Ng\n */\nimport angularComponentFactory from '../global/angular-component-factory';\nimport ProgressBar from '../progress-bar/progress-bar';\n\nexport default angularComponentFactory(ProgressBar, 'ProgressBar').name;\n","import React from 'react';\n\nimport List from '../list/list';\n\nimport styles from './query-assist.css';\n\nconst ICON_ID_LENGTH = 44;\n\n\nexport default class QueryAssistSuggestions {\n\n /*\n * Pay attention that this method produces not a 100% unique key.\n * Consider to use a unique identifier provided by a server.\n */\n static createKey(suggestion) {\n const {\n description,\n group,\n icon,\n option,\n prefix = '',\n suffix = ''\n } = suggestion;\n\n return prefix + option + suffix + group + description +\n (icon ? icon.substring(icon.length - ICON_ID_LENGTH) : '');\n }\n\n static renderLabel(suggestion) {\n const {\n className,\n matchingStart,\n matchingEnd,\n option,\n prefix = '',\n suffix = ''\n } = suggestion;\n\n let wrappedOption;\n let before = '';\n let after = '';\n\n if (matchingStart !== matchingEnd) {\n before = option.substring(0, matchingStart);\n wrappedOption = (\n <span className={styles.highlight}>\n {option.substring(matchingStart, matchingEnd)}\n </span>\n );\n after = option.substring(matchingEnd);\n } else {\n wrappedOption = option;\n }\n\n const wrappedPrefix = prefix && <span className={styles.service}>{prefix}</span>;\n const wrappedSuffix = suffix && <span className={styles.service}>{suffix}</span>;\n\n return (\n <span className={className}>\n {wrappedPrefix}{before}{wrappedOption}{after}{wrappedSuffix}\n </span>\n );\n }\n\n static renderGroupSeparator(suggestion, prevSuggestion) {\n const {group, option} = suggestion;\n const {SEPARATOR} = List.ListProps.Type;\n\n if (prevSuggestion !== group) {\n return {\n key: option + group + SEPARATOR,\n description: group,\n rgItemType: SEPARATOR\n };\n }\n\n return null;\n }\n\n static renderList(suggestions, suggestionRenderer) {\n const renderedSuggestions = [];\n\n suggestions.forEach((suggestion, index, arr) => {\n const prevSuggestionGroup = arr[index - 1] && arr[index - 1].group;\n const groupSeparator = QueryAssistSuggestions.renderGroupSeparator(\n suggestion, prevSuggestionGroup\n );\n\n if (groupSeparator) {\n renderedSuggestions.push(groupSeparator);\n }\n\n renderedSuggestions.push(suggestionRenderer(suggestion));\n });\n\n return renderedSuggestions;\n }\n\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {findDOMNode} from 'react-dom';\nimport debounce from 'just-debounce-it';\nimport classNames from 'classnames';\nimport deepEqual from 'deep-equal';\nimport searchIcon from '@jetbrains/icons/search.svg';\nimport closeIcon from '@jetbrains/icons/close.svg';\n\nimport getUID from '../global/get-uid';\nimport dataTests from '../global/data-tests';\nimport {getRect, preventDefault} from '../global/dom';\nimport Caret from '../caret/caret';\nimport ContentEditable from '../contenteditable/contenteditable';\nimport PopupMenu from '../popup-menu/popup-menu';\nimport LoaderInline from '../loader-inline/loader-inline';\nimport Shortcuts from '../shortcuts/shortcuts';\nimport rerenderHOC from '../global/rerender-hoc';\nimport Theme from '../global/theme';\nimport Button from '../button/button';\n\nimport QueryAssistSuggestions from './query-assist__suggestions';\n\nimport styles from './query-assist.css';\n\nconst POPUP_COMPENSATION = PopupMenu.ListProps.Dimension.ITEM_PADDING +\n PopupMenu.PopupProps.Dimension.BORDER_WIDTH;\n\nconst ngModelStateField = 'query';\n\nfunction noop() {}\n\nfunction cleanText(text) {\n return text.trim().replace(/([\\n\\r])+/g, ' ');\n}\n\n/**\n * @name Query Assist\n */\nexport default class QueryAssist extends Component {\n static propTypes = {\n theme: PropTypes.string,\n autoOpen: PropTypes.bool,\n caret: PropTypes.number,\n clear: PropTypes.bool,\n className: PropTypes.string,\n popupClassName: PropTypes.string,\n dataSource: PropTypes.func.isRequired,\n delay: PropTypes.number,\n disabled: PropTypes.bool,\n focus: PropTypes.bool,\n hint: PropTypes.string,\n hintOnSelection: PropTypes.string,\n glass: PropTypes.bool,\n loader: PropTypes.bool,\n placeholder: PropTypes.string,\n onApply: PropTypes.func,\n onChange: PropTypes.func,\n onClear: PropTypes.func,\n onFocusChange: PropTypes.func,\n query: PropTypes.string,\n useCustomItemRender: PropTypes.bool,\n translations: PropTypes.object,\n actions: PropTypes.array,\n 'data-test': PropTypes.string\n };\n\n static defaultProps = {\n theme: Theme.LIGHT,\n onApply: noop,\n onChange: noop,\n onClear: noop,\n onFocusChange: noop,\n translations: {\n searchTitle: 'Search',\n clearTitle: 'Clear search input'\n }\n };\n\n state = {\n dirty: !this.props.query,\n query: this.props.query,\n placeholderEnabled: !this.props.query,\n shortcuts: true,\n suggestions: [],\n showPopup: false\n };\n\n UNSAFE_componentWillMount() {\n this.setState({shortcuts: !!this.props.focus});\n }\n\n componentDidMount() {\n const query = this.props.query || '';\n\n this.immediateState = {\n query,\n caret: Number.isFinite(this.props.caret) ? this.props.caret : query.length,\n focus: Boolean(this.props.autoOpen || this.props.focus)\n };\n\n this.setupRequestHandler(this.props.delay);\n\n if (this.props.autoOpen) {\n this.requestHandler().\n catch(noop);\n } else {\n this.requestStyleRanges().catch(noop);\n }\n\n this.setCaretPosition();\n }\n\n UNSAFE_componentWillReceiveProps({caret, delay, query}) {\n this.setupRequestHandler(delay);\n const shouldSetCaret = typeof caret === 'number';\n\n if (shouldSetCaret) {\n this.immediateState.caret = caret;\n }\n\n if (typeof query === 'string' && query !== this.immediateState.query) {\n this.immediateState.query = query;\n let callback = noop;\n\n if (query && this.props.autoOpen) {\n callback = this.requestData;\n } else if (query) {\n callback = this.requestStyleRanges;\n }\n\n this.setState({query, placeholderEnabled: !query}, callback);\n }\n }\n\n shouldComponentUpdate(props, state) {\n return state.query !== this.state.query ||\n state.dirty !== this.state.dirty ||\n state.loading !== this.state.loading ||\n state.showPopup !== this.state.showPopup ||\n state.suggestions !== this.state.suggestions ||\n state.styleRanges !== this.state.styleRanges ||\n state.placeholderEnabled !== this.state.placeholderEnabled ||\n props.placeholder !== this.props.placeholder ||\n props.disabled !== this.props.disabled ||\n props.clear !== this.props.clear ||\n props.focus !== this.props.focus ||\n props.actions !== this.props.actions ||\n props.loader !== this.props.loader ||\n props.glass !== this.props.glass;\n }\n\n componentDidUpdate(prevProps) {\n this.updateFocus(prevProps);\n }\n\n static ngModelStateField = ngModelStateField;\n static Theme = Theme;\n\n ngModelStateField = ngModelStateField;\n\n handleBlur = e => {\n if (e.relatedTarget) {\n this.handleFocusChange(e);\n }\n };\n\n handleFocusChange = e => {\n // otherwise it's blur and false\n const focus = e.type === 'focus';\n this.immediateState.focus = focus;\n\n // Track mouse state to avoid focus loss on clicks on icons.\n // Doesn't handle really edge cases like shift+tab while mouse button is pressed.\n if (!this.node || (!focus && this.mouseIsDownOnInput)) {\n return;\n }\n\n if (!focus) {\n this.blurInput();\n\n // Close popup on blur by keyboard (mostly shift+tab)\n if (!this.mouseIsDownOnPopup) {\n this.closePopup();\n }\n } else {\n this.setCaretPosition();\n }\n\n if (!this.mouseIsDownOnPopup) {\n this.props.onFocusChange({focus});\n }\n\n this.setState({shortcuts: !!focus});\n };\n\n nodeRef = node => {\n this.node = node;\n };\n\n updateFocus({focus, caret}) {\n const isCaretChanged = caret !== this.props.caret;\n const isFocusChanged = focus !== this.props.focus;\n\n if (isFocusChanged || isCaretChanged) {\n const focusValue = isFocusChanged ? this.props.focus : true;\n this.setFocus(focusValue);\n }\n }\n\n setCaretPosition = () => {\n const queryLength = this.immediateState.query != null && this.immediateState.query.length;\n const newCaretPosition =\n this.immediateState.caret < queryLength\n ? this.immediateState.caret\n : queryLength;\n if (this.immediateState.focus && !this.props.disabled) {\n if (Number.isInteger(this.immediateState.selection)) {\n // Set to end of field value if newCaretPosition is inappropriate\n this.caret.setPosition(newCaretPosition >= 0 ? newCaretPosition : -1);\n this.scrollInput();\n } else if (this.immediateState.selection && this.immediateState.selection.startOffset !==\n undefined) {\n this.caret.setPosition(this.immediateState.selection);\n } else {\n this.caret.setPosition(-1);\n }\n }\n };\n\n scrollInput() {\n const caretOffset = this.caret.getOffset();\n\n if (this.input.clientWidth !== this.input.scrollWidth && caretOffset > this.input.clientWidth) {\n this.input.scrollLeft += caretOffset;\n }\n }\n\n getQuery() {\n return this.input.textContent.replace(/\\s/g, ' ');\n }\n\n isRenderingGlassOrLoader() {\n const renderLoader = this.props.loader !== false && this.state.loading;\n return this.props.glass || renderLoader;\n }\n\n togglePlaceholder = () => {\n const query = this.getQuery();\n const currentQueryIsEmpty = this.immediateState.query === '';\n const newQueryIsEmpty = query === '';\n\n if (newQueryIsEmpty !== currentQueryIsEmpty) {\n this.setState({placeholderEnabled: newQueryIsEmpty});\n }\n };\n\n handleInput = e => {\n this.togglePlaceholder();\n const props = {\n dirty: true,\n query: this.getQuery(),\n caret: Number.isInteger(this.caret.getPosition())\n ? this.caret.getPosition()\n : this.caret.getPosition().position,\n focus: true\n };\n\n if (this.immediateState.query === props.query && !this.isComposing) {\n this.handleCaretMove(e);\n return;\n }\n\n if (this.isComposing) {\n return;\n }\n\n this.immediateState = props;\n this.props.onChange(props);\n this.requestData();\n };\n\n // It's necessary to prevent new element creation before any other hooks\n handleEnter = e => {\n if (e.key === 'Enter') {\n preventDefault(e);\n }\n };\n\n handleTab = e => {\n const list = this._popup && this._popup.list;\n const suggestion = list && (list.getSelected() || list.getFirst());\n\n if (suggestion && this.state.showPopup) {\n preventDefault(e);\n\n if (this.getQuery() !== this.immediateState.suggestionsQuery) {\n return false;\n }\n\n return this.handleComplete(suggestion, true);\n }\n\n if (this.state.loading) {\n preventDefault(e);\n return false;\n }\n\n return true;\n };\n\n handlePaste = e => {\n const INSERT_COMMAND = 'insertText';\n if (e.clipboardData && document.queryCommandSupported(INSERT_COMMAND)) {\n preventDefault(e);\n const text = cleanText(e.clipboardData.getData('text/plain'));\n document.execCommand(INSERT_COMMAND, false, text);\n this.handleInput(e);\n }\n };\n\n handleCaretMove = e => {\n if (this.isComposing) {\n return;\n }\n\n const caret = Number.isInteger(this.caret.getPosition())\n ? this.caret.getPosition()\n : this.caret.getPosition().position;\n const popupHidden = (!this.state.showPopup) && e.type === 'click';\n\n if (!this.props.disabled && (caret !== this.immediateState.caret || popupHidden)) {\n this.immediateState.caret = caret;\n this.scrollInput();\n this.requestData();\n }\n };\n\n handleStyleRangesResponse = ({suggestions, ...restProps}) => this.handleResponse(restProps);\n\n handleResponse = ({\n query = '',\n caret = 0,\n styleRanges,\n suggestions = []\n }) => new Promise((resolve, reject) => {\n if (\n query === this.getQuery() &&\n (caret === this.immediateState.caret ||\n this.immediateState.caret === undefined)\n ) {\n // Do not setState on unmounted component\n if (!this.node) {\n return;\n }\n\n const state = {\n dirty: this.immediateState.dirty,\n loading: false,\n placeholderEnabled: !query,\n query,\n suggestions,\n showPopup: !!suggestions.length\n };\n\n this.immediateState.suggestionsQuery = query;\n\n // Do not update deep equal styleRanges to simplify shouldComponentUpdate check\n if (!deepEqual(this.state.styleRanges, styleRanges)) {\n state.styleRanges = styleRanges;\n }\n\n this.immediateState.selection = this.caret.getPosition();\n this.setState(state, resolve);\n } else {\n reject(new Error('Current and response queries mismatch'));\n }\n });\n\n handleApply = () => {\n this.closePopup();\n this.immediateState.dirty = false;\n // Only set dirty to false when query is saved already\n if (this.immediateState.query === this.state.query) {\n this.setState({dirty: false});\n }\n return this.props.onApply(this.immediateState);\n };\n\n handleComplete = (data, replace) => {\n if (!data || !data.data) {\n this.handleApply();\n\n return;\n }\n\n const query = this.getQuery();\n const currentCaret = this.immediateState.caret;\n const suggestion = data.data;\n const prefix = suggestion.prefix || '';\n const suffix = suggestion.suffix || '';\n\n const state = {\n caret: suggestion.caret,\n query: query.substr(0, suggestion.completionStart) + prefix + suggestion.option + suffix\n };\n\n if (typeof replace === 'boolean' && replace) {\n state.query += this.immediateState.query.substr(suggestion.completionEnd);\n } else {\n state.query += this.immediateState.query.substr(this.immediateState.caret);\n }\n\n this.props.onChange(state);\n\n const focusState = {focus: true};\n this.props.onFocusChange(focusState);\n\n if (state.query !== this.immediateState.query) {\n this.setState({\n placeholderEnabled: !state.query,\n query: state.query\n });\n }\n\n this.immediateState = Object.assign(state, focusState);\n\n if (this.immediateState.caret !== currentCaret) {\n this.setCaretPosition();\n }\n\n this.closePopup();\n this.requestData();\n };\n\n requestStyleRanges = () => {\n const {query, caret} = this.immediateState;\n\n if (!query) {\n return Promise.reject(new Error('Query is empty'));\n }\n\n return this.sendRequest({query, caret, omitSuggestions: true}).\n then(this.handleStyleRangesResponse).\n catch(noop);\n };\n\n requestHandler = () => {\n if (this.props.disabled) {\n return Promise.reject(new Error('QueryAssist(@jetbrains/ring-ui): null exception'));\n }\n\n const {query, caret} = this.immediateState;\n\n return this.sendRequest({query, caret}).\n then(this.handleResponse).\n catch(noop);\n };\n\n sendRequest(params) {\n const value = this.props.dataSource(params);\n const dataPromise = Promise.resolve(value);\n const CLOSE_POPUP_TIMEOUT = 500;\n\n // Close popup after timeout between long requests\n const timeout = window.setTimeout(() => {\n if (this.node) {\n this.setState({\n loading: true\n });\n }\n\n if (params.query === this.immediateState.query) {\n this.closePopup();\n }\n }, CLOSE_POPUP_TIMEOUT);\n\n dataPromise.then(() => window.clearTimeout(timeout));\n\n return dataPromise;\n }\n\n getPopupOffset(suggestions) {\n const ICON_SPACING = 12;\n const minOffset = this.isRenderingGlassOrLoader() ? ICON_SPACING : 0;\n\n if (!this.input) {\n return minOffset;\n }\n\n // First suggestion should be enough?\n const suggestion = suggestions && suggestions[0];\n\n // Check if suggestion begins not from the end\n const completionStart = suggestion &&\n suggestion.completionStart !== suggestion.completionEnd &&\n suggestion.completionStart;\n\n const inputChildren = this.input.firstChild && this.input.firstChild.children;\n const completionStartNode = inputChildren &&\n Number.isInteger(completionStart) &&\n inputChildren[Math.min(completionStart, inputChildren.length - 1)];\n\n let offset = completionStartNode &&\n (getRect(completionStartNode).right - getRect(this.input).left);\n\n if (!offset) {\n const caret = this.caret.getOffset();\n\n // Do not compensate caret in the beginning of field\n if (caret === 0) {\n return minOffset;\n } else {\n offset = caret;\n }\n }\n\n const result = offset - POPUP_COMPENSATION;\n return result < minOffset ? minOffset : result;\n }\n\n handleCtrlSpace = e => {\n preventDefault(e);\n\n if (!this.state.showPopup) {\n this.requestData();\n }\n };\n\n trackPopupMouseState = e => {\n this.mouseIsDownOnPopup = e.type === 'mousedown';\n };\n\n trackInputMouseState = e => {\n this.mouseIsDownOnInput = e.type === 'mousedown';\n };\n\n trackCompositionState = e => {\n this.isComposing = e.type !== 'compositionend';\n };\n\n closePopup = () => {\n if (this.node) {\n this.setState({showPopup: false});\n }\n };\n\n clearQuery = () => {\n const state = {\n dirty: false,\n caret: 0,\n query: '',\n focus: true\n };\n\n this.props.onChange(state);\n this.props.onClear();\n\n this.immediateState = state;\n this.setState({\n dirty: false,\n query: '',\n placeholderEnabled: true,\n loading: false\n });\n };\n\n blurInput() {\n this.caret.target.blur();\n }\n\n /**\n * Optionally setup data request delay. For each component create a separate\n * instance of the delayed function. This may help reduce the load on the server\n * when the user quickly inputs data.\n */\n setupRequestHandler(delay) {\n const needDelay = typeof delay === 'number';\n const hasDelay = this.requestData !== this.requestHandler;\n\n if (!this.requestData || hasDelay !== needDelay) {\n if (needDelay) {\n this.requestData = debounce(this.requestHandler, delay);\n } else {\n this.requestData = this.requestHandler;\n }\n }\n }\n\n _renderSuggestion(suggestion) {\n const {ITEM} = PopupMenu.ListProps.Type;\n const {description, icon, group} = suggestion;\n const key = QueryAssistSuggestions.createKey(suggestion);\n const label = QueryAssistSuggestions.renderLabel(suggestion);\n\n return {\n key,\n icon,\n label,\n description,\n group,\n rgItemType: ITEM,\n data: suggestion\n };\n }\n\n renderSuggestions() {\n const {suggestions} = this.state;\n if (!suggestions || !suggestions.length) {\n return [];\n }\n return QueryAssistSuggestions.renderList(suggestions, this._renderSuggestion);\n }\n\n renderQuery() {\n const {dirty, styleRanges, query} = this.state;\n const classes = [];\n const LETTER_CLASS = 'letter';\n const LETTER_DEFAULT_CLASS = styles.letterDefault;\n\n if (styleRanges && styleRanges.length) {\n styleRanges.forEach((item, index) => {\n if (dirty && index === styleRanges.length - 1 && item.style === 'text') {\n return;\n }\n const styleName = `${LETTER_CLASS}-${item.style.replace('_', '-')}`;\n\n for (let i = item.start; i < item.start + item.length; i++) {\n classes[i] = styles[styleName];\n }\n });\n }\n\n return Array.from(query).map((letter, index, letters) => {\n const className = classNames(styles.letter, classes[index] || LETTER_DEFAULT_CLASS);\n\n const dataTest = (letters.length - 1 === index)\n ? 'ring-query-assist-last-letter'\n : null;\n\n // \\u00a0 === &nbsp;\n return (\n <span\n // eslint-disable-next-line react/no-array-index-key\n key={index + letter}\n className={className}\n data-test={dataTest}\n >{letter === ' ' ? '\\u00a0' : letter}</span>\n );\n });\n }\n\n setFocus(focus) {\n this.setState({shortcuts: !!focus});\n\n const isComponentFocused = Boolean(this.immediateState.focus);\n\n if (focus === false && isComponentFocused) {\n this.immediateState.focus = focus;\n this.blurInput();\n } else if (focus === true && !isComponentFocused) {\n this.immediateState.focus = focus;\n this.setCaretPosition();\n }\n }\n\n inputRef = node => {\n if (!node) {\n return;\n }\n\n // eslint-disable-next-line react/no-find-dom-node\n this.input = findDOMNode(node);\n this.caret = new Caret(this.input);\n };\n\n popupRef = node => {\n this._popup = node;\n };\n\n placeholderRef = node => {\n this.placeholder = node;\n };\n\n glassRef = node => {\n this.glass = node;\n };\n\n loaderRef = node => {\n this.loader = node;\n };\n\n clearRef = node => {\n this.clear = node;\n };\n\n shortcutsScope = getUID('ring-query-assist-');\n shortcutsMap = {\n del: noop,\n enter: this.handleComplete,\n 'command+enter': this.handleComplete,\n 'ctrl+enter': this.handleComplete,\n 'ctrl+space': this.handleCtrlSpace,\n tab: this.handleTab,\n right: noop,\n left: noop,\n space: noop,\n home: noop,\n end: noop\n };\n\n renderActions() {\n const actions = [].concat(this.props.actions || []);\n const renderClear = this.props.clear && !!this.state.query;\n\n if (renderClear) {\n actions.push(\n <Button\n icon={closeIcon}\n key={'clearAction'}\n className={styles.icon}\n iconClassName={styles.iconInner}\n title={this.props.translations.clearTitle}\n ref={this.clearRef}\n onClick={this.clearQuery}\n data-test=\"query-assist-clear-icon\"\n />\n );\n }\n\n return actions;\n }\n\n render() {\n const {theme, glass, 'data-test': dataTest, useCustomItemRender} = this.props;\n const renderPlaceholder = !!this.props.placeholder && this.state.placeholderEnabled;\n const renderLoader = this.props.loader !== false && this.state.loading;\n const renderGlass = glass && !renderLoader;\n const renderUnderline = theme === Theme.DARK;\n const actions = this.renderActions();\n\n const inputClasses = classNames({\n [`${styles.input} ring-js-shortcuts`]: true,\n [styles.inputGap]: actions.length,\n [styles.inputGap2]: actions.length === 2, // TODO: replace with flex-box layout\n [styles.inputLeftGap]: this.isRenderingGlassOrLoader(),\n [styles.inputDisabled]: this.props.disabled\n });\n\n return (\n <div\n data-test={dataTests('ring-query-assist', dataTest)}\n className={classNames(styles.queryAssist, styles[theme])}\n onMouseDown={this.trackInputMouseState}\n onMouseUp={this.trackInputMouseState}\n // mouse handlers are used to track clicking on inner elements\n role=\"presentation\"\n ref={this.nodeRef}\n >\n {this.state.shortcuts &&\n (\n <Shortcuts\n map={this.shortcutsMap}\n scope={this.shortcutsScope}\n />\n )\n }\n\n {renderGlass && (\n <Button\n icon={searchIcon}\n className={styles.icon}\n iconClassName={styles.iconInner}\n title={this.props.translations.searchTitle}\n ref={this.glassRef}\n onClick={this.handleApply}\n data-test=\"query-assist-search-icon\"\n />\n )}\n {renderLoader && (\n <div\n className={classNames(styles.icon, styles.loader, {\n [styles.loaderOnTheRight]: !glass\n })}\n ref={this.loaderRef}\n >\n <LoaderInline theme={theme}/>\n </div>\n )}\n\n <ContentEditable\n aria-label={this.props.translations.searchTitle}\n className={inputClasses}\n data-test=\"ring-query-assist-input\"\n ref={this.inputRef}\n disabled={this.props.disabled}\n onComponentUpdate={this.setCaretPosition}\n\n onBlur={this.handleBlur}\n onClick={this.handleCaretMove}\n onCompositionStart={this.trackCompositionState}\n onCompositionEnd={this.trackCompositionState}\n onFocus={this.handleFocusChange}\n onInput={this.handleInput} // To support IE use the same method\n onKeyUp={this.handleInput} // to handle input and key up\n onKeyDown={this.handleEnter}\n onPaste={this.handlePaste}\n\n spellCheck=\"false\"\n >{this.state.query && <span>{this.renderQuery()}</span>}</ContentEditable>\n\n {renderPlaceholder && (\n <button\n type=\"button\"\n className={classNames(styles.placeholder, {\n [styles.placeholderSpaced]: glass\n })}\n ref={this.placeholderRef}\n onClick={this.handleCaretMove}\n data-test=\"query-assist-placeholder\"\n >\n {this.props.placeholder}\n </button>\n )}\n {renderUnderline && <div className={styles.focusUnderline}/>}\n {actions &&\n <div data-test=\"ring-query-assist-actions\" className={styles.actions}>{actions}</div>}\n <PopupMenu\n hidden={!this.state.showPopup}\n onCloseAttempt={this.closePopup}\n ref={this.popupRef}\n anchorElement={this.node}\n keepMounted\n attached\n className={classNames(styles[theme], this.props.popupClassName)}\n directions={[PopupMenu.PopupProps.Directions.BOTTOM_RIGHT]}\n data={useCustomItemRender ? this.state.suggestions : this.renderSuggestions()}\n data-test=\"ring-query-assist-popup\"\n hint={this.props.hint}\n hintOnSelection={this.props.hintOnSelection}\n left={this.getPopupOffset(this.state.suggestions)}\n maxHeight={PopupMenu.PopupProps.MaxHeight.SCREEN}\n onMouseDown={this.trackPopupMouseState}\n onMouseUp={this.trackPopupMouseState}\n onSelect={this.handleComplete}\n />\n </div>\n );\n }\n}\n\nexport const RerenderableQueryAssist = rerenderHOC(QueryAssist, {captureNode: false});\n","/**\n * @name Query Assist Ng\n */\nimport angularComponentFactory from '../global/angular-component-factory';\nimport QueryAssist from '../query-assist/query-assist';\n\nexport default angularComponentFactory(QueryAssist, 'QueryAssist').name;\n","import React, {Component, createContext, forwardRef} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport getUID from '../global/get-uid';\n\nimport styles from './radio.css';\n\nexport const RadioContext = createContext({});\n\nexport class Radio extends Component {\n static propTypes = {\n className: PropTypes.string,\n children: PropTypes.node,\n value: PropTypes.string,\n name: PropTypes.string,\n checked: PropTypes.bool,\n onChange: PropTypes.func\n };\n\n uid = getUID('ring-radio-item-');\n\n inputRef = el => {\n this.input = el;\n };\n\n labelRef = el => {\n this.label = el;\n };\n\n render() {\n const {className, children, ...restProps} = this.props;\n\n const classes = classNames(styles.radio, className);\n\n return (\n <label ref={this.labelRef} className={classes} htmlFor={this.uid}>\n <input\n name={name}\n id={this.uid}\n {...restProps}\n ref={this.inputRef}\n className={styles.input}\n type=\"radio\"\n />\n <span className={styles.circle}/>\n <span className={styles.label}>{children}</span>\n </label>\n );\n }\n}\n\nconst RadioItem = forwardRef(function RadioItem(props, ref) {\n return (\n <RadioContext.Consumer>\n {({value, onChange, ...restContext}) => (\n <Radio\n ref={ref}\n {...restContext}\n checked={value != null ? value === props.value : undefined}\n onChange={onChange && (() => onChange(props.value))}\n {...props}\n />\n )}\n </RadioContext.Consumer>\n );\n});\nRadioItem.propTypes = Radio.propTypes;\nexport default RadioItem;\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\n\nimport getUID from '../global/get-uid';\n\nimport RadioItem, {RadioContext} from './radio__item';\n\n/**\n * @name Radio\n */\n\nexport default class Radio extends Component {\n static propTypes = {\n name: PropTypes.string,\n disabled: PropTypes.bool,\n value: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.number,\n PropTypes.bool\n ]),\n onChange: PropTypes.func,\n children: PropTypes.node.isRequired\n };\n\n static Item = RadioItem;\n\n uid = getUID('ring-radio-');\n\n render() {\n return (\n <RadioContext.Provider value={{name: this.uid, ...this.props}}>\n {this.props.children}\n </RadioContext.Provider>\n );\n }\n}\n\n","import angular from 'angular';\nimport 'dom4';\n\nimport {getStyles} from '../global/dom';\nimport shortcutsInstance from '../shortcuts/core';\n\n\nconst angularModule = angular.module('Ring.shortcuts', []);\n\nangularModule.provider('shortcuts', function provider() {\n const modes = {};\n const mainModes = {};\n const reference = [];\n\n function addMode(config) {\n modes[config.id] = config.shortcuts;\n mainModes[config.id] = !!config.main;\n\n if (config.hasOwnProperty('title')) {\n reference.push(config);\n }\n\n return this;\n }\n\n this.mode = addMode;\n\n this.$get = function get($rootScope) {\n return {\n addMode,\n\n bind(name, handlers, scope) {\n const mode = modes[name];\n\n // Nothing to bind\n if (typeof handlers !== 'object') {\n return;\n }\n\n // No declaration\n if (!mode) {\n throw new Error(`Shortcut mode ${name} is not declared`);\n }\n\n mode.forEach(key => {\n if (!angular.isFunction(handlers[key.action])) {\n return;\n }\n\n shortcutsInstance.bind({\n key: key.key,\n scope: scope || name,\n handler: (...args) => {\n // TODO Dirty hack ;(\n const ret = handlers[key.action](...args);\n if (!$rootScope.$$phase) { // eslint-disable-line angular/no-private-call\n $rootScope.$apply();\n }\n return ret;\n }\n });\n });\n },\n\n triggerAction(mode, action) {\n const actions = modes[mode];\n\n for (let i = actions.length - 1; i >= 0; i--) {\n if (actions[i].action === action) {\n return shortcutsInstance.trigger(actions[i].key[0] || actions[i].key);\n }\n }\n\n return undefined;\n },\n\n isMainMode: name => mainModes[name],\n getRegisteredShortcuts: () => reference,\n shortcuts: shortcutsInstance\n };\n };\n});\n\nangularModule.directive('rgShortcutsApp', function rgShortcutsAppDirective() {\n return {\n restrict: 'A',\n\n controller: function controller($scope, $rootScope, $attrs, shortcuts) {\n $scope.zones = [];\n $scope.loop = 'shortcutsLoop' in $attrs;\n\n function getNext(current, back) {\n const position = current && $scope.zones.indexOf(current);\n let next;\n\n if (position >= 0) {\n next = back ? $scope.zones[position - 1] : $scope.zones[position + 1];\n }\n\n if (!next && ($scope.loop || !current)) {\n next = back ? $scope.zones[$scope.zones.length - 1] : $scope.zones[0];\n }\n\n if (!next) {\n next = $scope.zones[0];\n }\n\n // Skip invisible zones\n if (\n next &&\n (\n !document.documentElement.contains(next.element) ||\n getStyles(next.element).display === 'none'\n )\n ) {\n next = getNext(next, back);\n }\n\n return next;\n }\n\n this.deselect = () => {\n $scope.current.onBlur();\n $scope.current = null;\n };\n\n this.getCurrent = () => $scope.current;\n\n this.select = next => {\n if ($scope.current === next) {\n return;\n }\n\n if ($scope.current) {\n shortcutsInstance.spliceScope($scope.current.scope);\n this.deselect();\n }\n\n if (!next) {\n return;\n }\n\n shortcutsInstance.pushScope(next.scope);\n\n $scope.current = next;\n };\n\n this.route = (action, e, combo, mode) => {\n let next;\n\n // There is nowhere to navigate\n if (!$scope.zones.length) {\n return false;\n }\n\n // Reset current zone if it's not equal to the current scope\n if ($scope.current && $scope.current.scope !== shortcutsInstance.getScope().\n pop().scopeId) {\n this.deselect();\n }\n\n if (action === 'main') {\n $scope.zones.forEach((zone, index) => {\n if (shortcuts.isMainMode(zone.name)) {\n next = $scope.zones[index];\n }\n });\n } else {\n next = getNext($scope.current, action === 'prev');\n }\n\n // Select next zone and trigger same combo there\n if (next) {\n this.select(next);\n\n if (shortcutsInstance.hasKey(combo, next.scope)) {\n shortcutsInstance.trigger(combo);\n }\n // Otherwise go back\n } else {\n shortcuts.triggerAction(mode, action === 'next' ? 'prev' : 'next');\n }\n\n return false;\n };\n\n this.sort = () => {\n const orderedElements = document.queryAll('[rg-shortcuts]');\n\n $scope.zones.forEach(zone => {\n zone.order = orderedElements.indexOf(zone.element);\n });\n\n $scope.zones.sort((a, b) => a.order - b.order);\n };\n\n this.setup = (zone, keys) => {\n shortcuts.bind(zone.name, keys, zone.scope);\n $scope.zones.push(zone);\n this.sort();\n };\n\n this.destroy = zone => {\n shortcutsInstance.spliceScope(zone.scope);\n shortcutsInstance.unbindScope(zone.scope);\n\n const position = $scope.zones.indexOf(zone);\n\n if (position !== -1) {\n $scope.zones.splice(position, 1);\n }\n };\n\n // Initial setup\n const keyMap = {\n next: this.route.bind(this, 'next'),\n prev: this.route.bind(this, 'prev'),\n main: this.route.bind(this, 'main')\n };\n\n shortcuts.bind('ring-shortcuts', keyMap);\n shortcutsInstance.pushScope('ring-shortcuts');\n }\n };\n});\n\nangularModule.directive('rgShortcuts', function rgShortcutsDirective($parse) {\n return {\n restrict: 'A',\n require: ['^rgShortcutsApp'],\n\n link: function link($scope, iElement, iAttrs, shortcutsCtrl) {\n // Closest controller\n const shortcutsApp = shortcutsCtrl[shortcutsCtrl.length - 1];\n\n const name = iAttrs.rgShortcuts;\n const focusGetter = $parse(iAttrs.shortcutsFocus);\n const blurGetter = $parse(iAttrs.shortcutsBlur);\n\n const zone = {\n name,\n scope: `${name}-${$scope.$id}`,\n element: iElement[0],\n onBlur: blurGetter($scope) || angular.noop\n };\n\n $scope.$evalAsync(() => {\n shortcutsApp.setup(zone, $scope.$eval(iAttrs.shortcutsMap));\n });\n\n $scope.$watch(() => focusGetter($scope), focusState => {\n if (focusState) {\n shortcutsApp.select(zone);\n }\n });\n\n $scope.$on('$destroy', () => {\n shortcutsApp.destroy(zone);\n });\n }\n };\n});\n\n\nangularModule.directive('rgShortcutsGlobal', function rgShortcutsGlobalDirective(shortcuts) {\n return {\n restrict: 'A',\n\n link: function link($scope, iElement, iAttrs) {\n const name = iAttrs.rgShortcutsGlobal;\n const scope = `${name}-${$scope.$id}`;\n\n $scope.$evalAsync(() => {\n shortcuts.bind(name, $scope.$eval(iAttrs.shortcutsMap), scope);\n shortcutsInstance.pushScope(scope);\n });\n\n $scope.$on('$destroy', () => {\n shortcutsInstance.spliceScope(scope);\n shortcutsInstance.unbindScope(scope);\n });\n }\n };\n});\n\nexport default angularModule.name;\n","/**\n * @name Save Field Ng\n */\nimport angular from 'angular';\nimport 'dom4';\nimport '../form/form.scss';\nimport './save-field-ng.scss';\n\nimport '../loader-inline/loader-inline';\nimport ButtonSet from '../button-set-ng/button-set-ng';\nimport MessageBundle from '../message-bundle-ng/message-bundle-ng';\nimport Form from '../form-ng/form-ng';\nimport Shortcuts from '../shortcuts-ng/shortcuts-ng';\nimport Button from '../button-ng/button-ng';\nimport PromisedClick from '../promised-click-ng/promised-click-ng';\n\nconst angularModule = angular.module('Ring.save-field', [\n MessageBundle,\n\n /**\n * for error-bubble\n */\n Form,\n Shortcuts,\n Button,\n ButtonSet,\n PromisedClick\n]);\n\nangularModule.constant('rgSaveFieldShortcutsMode', {\n id: 'ring-save-field',\n shortcuts: [\n {\n key: 'ctrl+enter',\n action: 'comboSubmit'\n },\n {\n key: 'enter',\n action: 'submit'\n },\n {\n key: 'esc',\n action: 'cancel'\n },\n {\n key: 'up',\n action: 'noop'\n },\n {\n key: 'down',\n action: 'noop'\n }\n ]\n});\n\nangularModule.directive(\n 'rgSaveField',\n function rgSaveFieldDirective(RingMessageBundle, $timeout, $q, $compile, $parse) {\n const MULTI_LINE_SPLIT_PATTERN = /(\\r\\n|\\n|\\r)/gm;\n const MULTI_LINE_LIST_MODE = 'list';\n const CUSTOM_ERROR_ID = 'customError';\n const ERROR_DESCRIPTION = 'error_description';\n const ERROR_DEVELOPER_MSG = 'error_developer_message';\n\n return {\n require: 'rgSaveField',\n transclude: true,\n template: require('./save-field-ng.html'),\n scope: {\n api: '=?',\n value: '=',\n workingValue: '=',\n onSave: '&',\n afterSave: '&?',\n validate: '&?',\n parseElement: '&?',\n formatElement: '&?',\n multiline: '@'\n },\n link: function link(scope, iElem, iAttrs, ctrl) {\n const placeholder = angular.element(\n iElem[0].querySelector('.ring-save-field__transclude-placeholder')\n );\n $compile(\n angular.element('<div rg-error-bubble=\"saveFieldForm\"></div>')\n )(scope, errorBubble => {\n placeholder.append(errorBubble);\n });\n\n const customError = {\n message: ''\n };\n\n let blurTimeout = null;\n let isTextarea = false;\n\n const draftMode = iAttrs.workingValue;\n const valueField = draftMode ? 'workingValue' : 'value';\n\n function submitChanges() {\n if (\n !scope.saveFieldForm.$valid ||\n scope.loading ||\n angular.equals(scope.initial, scope[valueField])\n ) {\n return false;\n }\n\n function afterSaveCall() {\n return $q.when(scope.afterSave({\n value: scope[valueField]\n }));\n }\n\n function success() {\n scope.initial = angular.copy(scope[valueField]);\n scope.saveFieldForm.$setPristine();\n\n scope.done = true;\n\n if (draftMode) {\n scope.value = scope.workingValue;\n }\n\n $timeout(() => {\n scope.done = false;\n }, 1000); //eslint-disable-line no-magic-numbers\n\n if (scope.afterSave) {\n if (draftMode) {\n return $timeout(afterSaveCall); // we need digest to sync value before calling after save\n } else {\n return afterSaveCall();\n }\n }\n\n return undefined;\n }\n\n function error(err) {\n let message;\n if (typeof err === 'string') {\n message = err;\n } else if (typeof err === 'object') {\n const errorData = err.data || err;\n message = errorData[ERROR_DESCRIPTION] || errorData[ERROR_DEVELOPER_MSG];\n }\n\n customError.message = message;\n scope.saveFieldForm.$setValidity(CUSTOM_ERROR_ID, false, customError);\n }\n\n scope.cancelBlur();\n\n scope.loading = true;\n\n let onsave = ctrl.getSave();\n if (onsave) {\n onsave = $q.when(onsave(scope[valueField]));\n } else {\n onsave = $q.when(scope.onSave({\n value: scope[valueField]\n }));\n }\n\n return onsave.\n then(success, error).\n then(() => {\n scope.loading = false;\n });\n }\n\n function resetValue() {\n if (scope.loading) {\n return;\n }\n\n scope.$evalAsync(() => {\n scope[valueField] = scope.initial ? scope.initial : '';\n scope.saveFieldForm.$setValidity(CUSTOM_ERROR_ID, true, customError);\n scope.saveFieldForm.$setPristine();\n });\n }\n\n function addMultilineProcessing(controlName) {\n const stopWatch = scope.$watch(`saveFieldForm.${controlName}`, control => {\n if (!control || !control.$formatters || !control.$parsers) {\n return;\n }\n\n control.$formatters.push(value => {\n if (!value) {\n return value;\n }\n\n let formattedValue;\n if (iAttrs.formatElement) {\n formattedValue = value.map(element => scope.formatElement({element}));\n } else {\n formattedValue = value;\n }\n\n return formattedValue.join('\\n');\n });\n\n control.$parsers.push(value => {\n let array = value && value.split(MULTI_LINE_SPLIT_PATTERN) || [];\n\n function notEmpty(val) {\n return val && val.trim() && val !== '\\n';\n }\n\n array = array.filter(notEmpty);\n\n if (iAttrs.parseElement) {\n array = array.map(element => scope.parseElement({element: element.trim()}));\n }\n\n return array;\n });\n\n stopWatch();\n });\n }\n\n scope.cancelBlur = () => {\n $timeout(() => {\n if (blurTimeout) {\n $timeout.cancel(blurTimeout);\n blurTimeout = null;\n }\n // eslint-disable-next-line no-magic-numbers\n }, 10);\n };\n\n if (draftMode) {\n scope.$watch('value', value => {\n scope.workingValue = angular.copy(value);\n scope.initial = value;\n });\n }\n\n scope.$watch(valueField, value => {\n let promise = null;\n if (scope.saveFieldForm.$pristine) {\n scope.initial = value;\n } else if (scope.initial && angular.equals(scope.initial, value)) {\n resetValue();\n } else if (scope.validate) {\n promise = scope.validate({\n value\n });\n }\n\n $q.when(promise).\n then(error => {\n if (error) {\n return $q.reject(error);\n } else {\n customError.message = '';\n scope.saveFieldForm.$setValidity(CUSTOM_ERROR_ID, true, customError);\n\n return undefined;\n }\n }).\n catch(error => {\n customError.message = error;\n scope.saveFieldForm.$setValidity(CUSTOM_ERROR_ID, false, customError);\n });\n });\n\n let inputNode = iElem[0].querySelector('input, .ring-save-field__input');\n\n if (!inputNode) {\n inputNode = iElem[0].querySelector('textarea');\n isTextarea = !!inputNode;\n }\n\n if (inputNode) {\n inputNode.classList.add('ring-js-shortcuts');\n\n inputNode.addEventListener('focus', () => {\n scope.$evalAsync(() => {\n scope.focus = true;\n });\n });\n\n inputNode.addEventListener('blur', () => {\n scope.$evalAsync(() => {\n scope.focus = false;\n });\n });\n\n if (isTextarea && scope.multiline === MULTI_LINE_LIST_MODE) {\n addMultilineProcessing(inputNode.name);\n }\n }\n\n scope.wording = {\n save: RingMessageBundle.form_save(),\n saved: RingMessageBundle.form_saved(),\n cancel: RingMessageBundle.form_cancel()\n };\n\n scope.keyMap = {\n comboSubmit: e => {\n if (isTextarea) {\n e.preventDefault();\n submitChanges();\n }\n },\n submit: e => {\n if (!isTextarea) {\n e.preventDefault();\n submitChanges();\n }\n },\n cancel: resetValue,\n noop: angular.noop\n };\n\n scope.api = {\n save: submitChanges,\n cancel: resetValue\n };\n\n scope.submitChanges = ctrl.submitChanges = submitChanges;\n\n scope.cancelChanges = ctrl.cancelChanges = resetValue;\n\n scope.focus = false;\n\n scope.$on('$destroy', () => {\n // 1) Bindings are already disabled by this time, so replacing scope.value = ... has no effect\n // 2) We can't use scope.value.someField because we don't know anything about scope.value, it's passed from the outside\n // 3) Probably we can use controllerAs to add one more object layer (ctrl.value) so the JS linking would work\n // but errorBubble works with scope only, so a large refactoring of rgSaveField and other components is needed.\n // This is the simplest solution:\n if (iAttrs.value) {\n $parse(iAttrs.value).assign(scope.$parent, scope.initial);\n }\n });\n },\n controller() {\n let onSave = null;\n\n this.setSave = cb => {\n onSave = cb;\n };\n\n this.getSave = () => onSave;\n }\n };\n }\n);\n\nexport default angularModule.name;\n","import angular from 'angular';\n\nimport deepEqual from 'deep-equal';\n\nclass Options {\n static OPTIONS_REGEXP = /^\\s*(.*?)(?:\\s+as\\s+(.*?))?(?:\\s+select\\s+as\\s+(.*?))?(?:\\s+describe\\sas\\s+(.*?))?(?:\\s+for\\s+)?([$\\w]+)\\s+in\\s+(.*?)(?:\\s+track\\sby\\s+(.*?))?$/;\n\n static MATCHES = {\n ITEM: 1,\n LABEL: 2,\n SELECTED_LABEL: 3,\n DESCRIPTION: 4,\n OPTION: 5,\n ITEMS: 6,\n TRACK: 7\n };\n\n static defaultKeyField = 'key';\n static defaultLabelField = 'label';\n static defaultSelectedLabelField = 'selectedLabel';\n static defaultDescriptionField = 'description';\n\n constructor(scope, optionsString) {\n this.scope = scope;\n const $parse = this.constructor.$parse;\n const MATCHES = this.constructor.MATCHES;\n\n let match;\n if (!(match = optionsString.match(this.constructor.OPTIONS_REGEXP))) {\n throw new Error('Bad rgSelect expression format. Expected: [{item}] [[as] item.text] [select as item.selectLabel]' +\n ` [describe as {item.description}] [for] {item} in {items|dataSource(query)} [track by item.id], Received: ${optionsString}`);\n }\n\n /**\n * Now we can write only `item.value as item.label for item in items`\n * we can not skip `item.label`\n */\n this.hasItemGetter = Boolean(match[MATCHES.ITEM] && match[MATCHES.LABEL]);\n\n this.itemGetter = $parse(match[MATCHES.ITEM]);\n this.labelGetter = (match[MATCHES.LABEL] && $parse(match[MATCHES.LABEL])) || this.itemGetter;\n this.selectedLabelGetter =\n match[MATCHES.SELECTED_LABEL] &&\n $parse(match[MATCHES.SELECTED_LABEL]);\n this.descriptionGetter = match[MATCHES.DESCRIPTION] && $parse(match[MATCHES.DESCRIPTION]);\n this.optionVariableName = match[MATCHES.OPTION];\n this.datasourceGetter = $parse(match[MATCHES.ITEMS]);\n this.trackByGetter = match[MATCHES.TRACK] && $parse(match[MATCHES.TRACK]);\n this.datasourceIsFunction = match[MATCHES.ITEMS].indexOf('(') > 0;\n }\n\n getProperty(option, getter) {\n if (getter) {\n const locals = {};\n locals[this.optionVariableName] = option;\n return getter.call(this, this.scope, locals);\n }\n\n return undefined;\n }\n\n /**\n * @param {Object} option The item from options collection\n * @return {any} The option value\n */\n getValue(option) {\n if (!this.hasItemGetter) {\n return option;\n }\n\n const value = this.getProperty(option, this.itemGetter);\n\n return value === undefined ? option : value;\n }\n\n /**\n * @param {any} value The option value\n * @param {Array} options The list of options\n * @return {Object|undefined} The option object\n */\n getOptionByValue(value, options) {\n /**\n * @param {any} it\n * @return {string} The string representation of the value\n */\n function toString(it) {\n return typeof it === 'object' ? JSON.stringify(it) : String(it);\n }\n\n if (!this.hasItemGetter) {\n return value;\n }\n\n const matchedOptions = options.filter(option => {\n const optionValue = this.getValue(option);\n\n if (typeof value === 'object') {\n return deepEqual(optionValue, value);\n }\n\n return optionValue === value;\n });\n\n if (matchedOptions.length > 1) {\n throw new Error(`Error(rg-select): You can not have two options with same value(${toString(value)})`);\n }\n\n return matchedOptions[0];\n }\n\n getKey(option) {\n return this.getProperty(option, this.trackByGetter) ||\n option[this.constructor.defaultKeyField] ||\n option;\n }\n\n getLabel(option) {\n const optionStringValue = typeof option === 'string' ? option : null;\n return this.getProperty(option, this.labelGetter) ||\n option[this.constructor.defaultLabelField] ||\n optionStringValue;\n }\n\n getSelectedLabel(option) {\n return this.getProperty(option, this.selectedLabelGetter) ||\n option[this.constructor.defaultSelectedLabelField];\n }\n\n getDescription(option) {\n return this.getProperty(option, this.descriptionGetter) ||\n option[this.constructor.defaultDescriptionField];\n }\n\n getOptions(query, skip) {\n return this.datasourceGetter(this.scope, {query, skip});\n }\n}\n\n\nconst angularModule = angular.module('Ring.select.options', []);\n\nangularModule.factory('SelectOptions', function SelectOptionsFactory($parse) {\n Options.$parse = $parse;\n return Options;\n});\n\nexport default angularModule.name;\n","import angular from 'angular';\n\nimport {render, hydrate} from 'react-dom';\nimport React from 'react';\n\nimport {RerenderableSelect} from '../select/select';\n\nclass SelectLazy {\n constructor(container, props, ctrl, type) {\n this.container = container;\n this.ctrl = ctrl;\n this.props = props || {};\n this.type = type;\n this.node = container;\n this._popup = {\n isVisible: angular.noop\n };\n\n this.attachEvents();\n this.render();\n }\n\n onClick = () => {\n this._clickHandler();\n };\n\n rerender(props = {}) {\n for (const prop in props) {\n if (props.hasOwnProperty(prop)) {\n if (props[prop] == this.props[prop]) { //eslint-disable-line eqeqeq\n break;\n }\n\n this.render(props);\n return;\n }\n }\n }\n\n attachEvents() {\n this.container.addEventListener('click', this.onClick);\n }\n\n detachEvents() {\n this.container.removeEventListener('click', this.onClick);\n }\n\n render(props) {\n this.reactSelect = <RerenderableSelect {...Object.assign({}, this.props, props || {})}/>;\n this.props = this.reactSelect.props;\n\n if (this.type !== 'dropdown') {\n const ReactDOMServer = require('react-dom/server');\n this.container.innerHTML = ReactDOMServer.renderToString(this.reactSelect);\n }\n }\n\n _clickHandler() {\n this.detachEvents();\n if (this.type === 'dropdown') {\n this.ctrl.selectInstance = render(this.reactSelect, this.container);\n // In \"dropdown\" mode we don't click select itself, so need to force click handler\n this.ctrl.selectInstance._clickHandler();\n } else {\n this.ctrl.selectInstance = hydrate(this.reactSelect, this.container);\n }\n }\n}\n\nexport default SelectLazy;\n","import angular from 'angular';\n\nimport React from 'react';\nimport {render, unmountComponentAtNode} from 'react-dom';\n\nimport getEventKey from '../global/get-event-key';\nimport Select, {RerenderableSelect} from '../select/select';\nimport MessageBundle from '../message-bundle-ng/message-bundle-ng';\n\nimport SelectNgOptions from './select-ng__options';\nimport SelectLazy from './select-ng__lazy';\n\nconst LOADER_DELAY = 150; // delay to show loader in ms\nconst INFINITE_SCROLL_PACK_SIZE = 50;\nconst DIALOG_NG_SELECTOR = '[data-anchor=dialog-container][data-in-sidebar=false]';\n/**\n * @name Select Ng\n */\n\nconst angularModule = angular.module('Ring.select', [SelectNgOptions, MessageBundle]);\n\nangularModule.directive('rgSelect', function rgSelectDirective() {\n const types = {\n input: Select.Type.INPUT,\n button: Select.Type.BUTTON,\n material: Select.Type.MATERIAL,\n dropdown: Select.Type.CUSTOM,\n suggest: Select.Type.INPUT\n };\n\n const sizes = {\n FULL: Select.Size.FULL,\n S: Select.Size.S,\n M: Select.Size.M,\n L: Select.Size.L\n };\n\n return {\n /**\n * @property {Object} scope\n * @property {Object} scope.ngModel\n * @property {String} scope.selectType - select type. Can be \"button\" (default), \"input\" or \"dropdown\"\n * @property {String} scope.lazy - Load options lazily. \"true\" by default.\n * @property {Boolean} scope.withInfiniteScroll - If true, rgSelect calls getOptions with skip parameter when the list is scrolled to the bottom\n * @property {String} scope.options - query for options\n * @property {Boolean} scope.externalFilter - whether or not to use the options function as a filter.\n * \"filter\" property should not be passed in that case.\n * @property {Boolean} scope.multiple - toggles multiple selection\n * @property {Function} scope.onSelect - callback to call on item selection\n * Receives \"selected\" property (<rg-select on-select='doSomethingWith(selected)'>)\n * @property {Function} scope.onDeselect - callback to call on item deselection\n * Receives \"deselected\" property (<rg-select on-deselect='doSomethingWith(deselected)'>)\n * @property {Function} scope.onOpen - callback to call on select popup opening\n * @property {Function} scope.onClose - callback to call on select popup closing\n * @property {Function} scope.onChange - callback to call on selection change\n * Receives \"selected\" property (<rg-select on-change='doSomethingWith(selected)'>)\n * @property {String} scope.label - Label to place on empty select button\n * @property {String} scope.selectedLabel - Label to replace any selected item/items with\n * @property {String} scope.notFoundMessage - message to display if no options found\n * @property {String} scope.loadingMessage - message to display while loading\n * @property {Object} scope.config - hash to pass to react select component\n * @property {Boolean} scope.configAutoUpdate - whether or not to watch for configuration updates\n * @property {String} scope.size - select size. Can be \"S\", \"M\" (default), or \"L\".\n */\n scope: {\n ngModel: '=',\n\n selectType: '@',\n lazy: '=?',\n withInfiniteScroll: '=?', // NB: Deprecated! Use infinite-scroll-pack-size=\"50\" instead\n infiniteScrollPackSize: '@',\n\n options: '@',\n optionsScope: '=',\n label: '@',\n selectedLabel: '@',\n externalFilter: '=?',\n filter: '=?',\n tags: '=?',\n multiple: '=?',\n clear: '=?',\n onSelect: '&',\n onDeselect: '&',\n onOpen: '&',\n onClose: '&',\n onChange: '&',\n notFoundMessage: '@',\n loadingMessage: '@',\n config: '=?',\n configAutoUpdate: '=',\n selectInstance: '=?',\n size: '@',\n dir: '@'\n },\n bindToController: true,\n controllerAs: 'selectCtrl',\n require: ['?ngModel', 'rgSelect'],\n link: function link(scope, iElement, iAttrs, ctrls) {\n const ngModelCtrl = ctrls[0];\n const rgSelectCtrl = ctrls[1];\n\n rgSelectCtrl.setNgModelCtrl(ngModelCtrl);\n },\n // eslint-disable-next-line max-len\n controller: function controller($q, $scope, $element, $attrs, $timeout, SelectOptions, RingMessageBundle) {\n /*eslint-disable consistent-this*/\n const ctrl = this;\n /*eslint-enable consistent-this*/\n const element = $element[0];\n const container = document.createElement('span');\n const infiniteScrollPackSize =\n Number(ctrl.infiniteScrollPackSize) ||\n (ctrl.withInfiniteScroll ? INFINITE_SCROLL_PACK_SIZE : 0);\n\n /**\n * Properties\n */\n ctrl.selectInstance = null;\n ctrl.ngModelCtrl = null;\n ctrl.query = null;\n ctrl.dataReceived = false;\n\n ctrl.skipNextModelSync = false;\n\n const scope = ctrl.optionsScope ? ctrl.optionsScope : $scope.$parent;\n\n ctrl.setNgModelCtrl = ngModelCtrl => {\n ctrl.ngModelCtrl = ngModelCtrl;\n };\n\n /**\n * @param {Array} options\n */\n function memorizeOptions(options, skip) {\n if (ctrl.loadedOptions && skip > 0) {\n ctrl.loadedOptions = ctrl.loadedOptions.concat(options);\n ctrl.stopLoadingNewOptions = options.length === 0 && infiniteScrollPackSize;\n } else {\n ctrl.loadedOptions = options;\n }\n ctrl.lastSkip = skip;\n return ctrl.loadedOptions;\n }\n\n function resetMemorizedOptions() {\n ctrl.lastSkip = -1;\n ctrl.loadedOptions = [];\n ctrl.stopLoadingNewOptions = false;\n }\n\n function getType() {\n // $attrs.type as fallback, not recommended to use because of native \"type\" attribute\n return ctrl.selectType || $attrs.type;\n }\n\n function getCurrentSkipParameter(query, prevQuery) {\n if (!infiniteScrollPackSize || query !== prevQuery || !ctrl.loadedOptions) {\n return 0;\n }\n return ctrl.lastSkip < 0 ? 0 : ctrl.lastSkip + infiniteScrollPackSize;\n }\n\n function isInDialog() {\n const dialogContainer = document.querySelector(DIALOG_NG_SELECTOR);\n return dialogContainer && dialogContainer.contains(element);\n }\n\n\n ctrl.syncSelectToNgModel = selectedValue => {\n function valueOf(option) {\n if (option && option.originalModel) {\n return ctrl.optionsParser.getValue(option.originalModel);\n }\n\n return ctrl.optionsParser.getValue(option);\n }\n\n if (ctrl.ngModelCtrl) {\n ctrl.skipNextModelSync = true;\n if (getType() === 'suggest') {\n ctrl.ngModelCtrl.$setViewValue(selectedValue.label);\n } else if (Array.isArray(selectedValue)) {\n ctrl.ngModelCtrl.$setViewValue(selectedValue.map(valueOf));\n } else {\n ctrl.ngModelCtrl.$setViewValue(valueOf(selectedValue));\n }\n }\n };\n\n ctrl.convertNgModelToSelect = model => {\n function convertItem(modelValue) {\n let item = ctrl.optionsParser.getOptionByValue(modelValue, ctrl.loadedOptions || []);\n\n // could happen when lazily fetching the data\n if (item === undefined) {\n item = modelValue;\n }\n\n return angular.extend({\n key: ctrl.optionsParser.getKey(item),\n label: ctrl.optionsParser.getLabel(item),\n selectedLabel: ctrl.optionsParser.getSelectedLabel(item),\n description: ctrl.optionsParser.getDescription(item),\n originalModel: item\n }, typeof item === 'object' ? item : null);\n }\n\n if (model !== undefined && model !== null) {\n if (Array.isArray(model)) {\n return model.map(convertItem);\n } else {\n return convertItem(model);\n }\n }\n\n return undefined;\n };\n\n let lastQuery = null;\n let inProcessQueries = 0;\n ctrl.getOptions = (query, skip) => $q.when(ctrl.optionsParser.getOptions(query, skip));\n\n let loaderDelayTimeout = null;\n ctrl.showLoader = () => {\n if (getType() !== 'suggest') {\n reRenderSelect({loading: true});\n }\n };\n\n ctrl.loadOptionsToSelect = query => {\n if (ctrl.stopLoadingNewOptions && query === lastQuery) {\n return $q.resolve();\n }\n\n ctrl.stopLoadingNewOptions = false;\n const skip = getCurrentSkipParameter(query, lastQuery);\n lastQuery = query;\n\n $timeout.cancel(loaderDelayTimeout);\n\n // Delay loader only when there is some data\n // Otherwise, user can notice the \"not found\" message\n if (ctrl.dataReceived) {\n loaderDelayTimeout = $timeout(ctrl.showLoader, LOADER_DELAY);\n } else {\n ctrl.showLoader();\n }\n\n inProcessQueries++;\n return ctrl.getOptions(query, skip).then(results => {\n inProcessQueries--;\n if (query !== lastQuery) {\n return; // do not process the result if queries don't match\n }\n if (skip &&\n ctrl.lastSkip !== -1 &&\n skip !== (ctrl.lastSkip + infiniteScrollPackSize) &&\n ctrl.infiniteScrollPackSize) {\n return; // do not process the result if skips not match\n }\n\n const items = memorizeOptions(results.data || results, skip).\n map(ctrl.convertNgModelToSelect);\n $timeout.cancel(loaderDelayTimeout);\n ctrl.dataReceived = true;\n reRenderSelect({\n data: items,\n loading: false\n });\n }).catch(error => {\n inProcessQueries--;\n $timeout.cancel(loaderDelayTimeout);\n reRenderSelect({\n loading: false\n });\n return $q.reject(error);\n });\n };\n\n function setSelectModel(newValue) {\n if (ctrl.skipNextModelSync) {\n ctrl.skipNextModelSync = false;\n return;\n }\n if (ctrl.ngModelCtrl) {\n reRenderSelect({\n selected: ctrl.convertNgModelToSelect(newValue)\n });\n }\n }\n\n function syncNgModelToSelect() {\n $scope.$watch(() => ctrl.ngModelCtrl && ctrl.ngModelCtrl.$modelValue, setSelectModel, true);\n }\n\n function syncDisabled() {\n $attrs.$observe('disabled', newValue => {\n reRenderSelect({disabled: newValue});\n });\n }\n\n function syncMultiple() {\n $scope.$watch(() => ctrl.multiple, () => {\n if (angular.isDefined(ctrl.multiple)) {\n reRenderSelect({multiple: ctrl.multiple});\n }\n });\n }\n\n function syncConfig() {\n $scope.$watchCollection(() => ctrl.config, (config, old) => {\n if (config !== old) {\n reRenderSelect(config);\n }\n });\n }\n\n function isSelectPopupOpen() {\n return ctrl.selectInstance._popup.isVisible();\n }\n\n function attachDropdownIfNeeded() {\n if (getType() === 'dropdown') {\n const handler = () => {\n ctrl.selectInstance._clickHandler();\n };\n element.addEventListener('click', handler);\n element.addEventListener('keydown', event => {\n const key = getEventKey(event);\n const modifier = event.ctrlKey || event.altKey || event.metaKey || event.shiftKey;\n\n if (\n (key === 'Enter' && !modifier || key === ' ')\n ) {\n if (!isSelectPopupOpen()) {\n handler();\n\n // XXX: preventDefault is needed because some controls (button, input, etc)\n // have an activation behaviour which fires a `click` event on `keypress`\n // @see https://www.w3.org/TR/2017/PR-html51-20170803/editing.html#activation\n event.preventDefault();\n\n // XXX: stopPropagation is needed because when a React component is rendered with\n // shortcuts, document-level handlers are added. For example, `enter` that leads\n // to this handler being called right after current function's call, which\n // leads to the popup being closed immediately after opening.\n // @see https://www.w3.org/TR/uievents/#Event_dispatch_and_DOM_event_flow\n event.stopPropagation();\n }\n }\n });\n }\n }\n\n function listenToRouteChanges() {\n $scope.$on('$locationChangeSuccess', () => {\n if (isSelectPopupOpen()) {\n ctrl.selectInstance._hidePopup();\n }\n });\n }\n\n function getSelectType() {\n return types[getType()] || types.material;\n }\n\n function getSelectSize() {\n return sizes[ctrl.size] || sizes.FULL;\n }\n\n function reRenderSelect(props) {\n if (ctrl.selectInstance.node) {\n ctrl.selectInstance.rerender(props);\n }\n }\n\n /**\n * @param {newValue} newValue New value of options\n * @param {value} value Previous value of options\n */\n function optionsWatcher(newValue, value) {\n memorizeOptions(newValue, 0);\n\n if (newValue === value) {\n return;\n }\n\n if (ctrl.ngModelCtrl) {\n setSelectModel(ctrl.ngModelCtrl.$modelValue);\n }\n }\n\n\n function createDefaultConfig() {\n const defaultConfig = {\n label: ctrl.label || RingMessageBundle.select_label(),\n selectedLabel: ctrl.selectedLabel,\n allowAny: getType() === 'suggest',\n hideArrow: getType() === 'suggest',\n filter: ctrl.filter,\n tags: ctrl.tags,\n dir: ctrl.dir,\n multiple: ctrl.multiple,\n popupClassName: $attrs.popupClass,\n clear: ctrl.clear,\n ringPopupTarget: isInDialog() ? 'dialog-ng-popup-container' : null,\n renderOptimization: getType() !== 'dropdown',\n type: getSelectType(),\n loadingMessage: ctrl.loadingMessage || RingMessageBundle.select_loading(),\n notFoundMessage: ctrl.notFoundMessage || RingMessageBundle.select_options_not_found(),\n targetElement: getType() === 'dropdown' ? element : null,\n size: getSelectSize(),\n onBeforeOpen: () => {\n resetMemorizedOptions();\n ctrl.loadOptionsToSelect(ctrl.query);\n $scope.$evalAsync(() => {});\n },\n onOpen: () => {\n $scope.$evalAsync(() => {\n ctrl.onOpen();\n });\n },\n onClose: () => {\n ctrl.query = null;\n $scope.$evalAsync(() => {\n ctrl.onClose();\n });\n },\n onSelect: (selected, event) => {\n $scope.$evalAsync(() => {\n ctrl.onSelect({selected, event});\n });\n },\n onDeselect: (deselected, event) => {\n $scope.$evalAsync(() => {\n ctrl.onDeselect({deselected, event});\n });\n },\n onChange: (selected, event) => {\n ctrl.syncSelectToNgModel(selected);\n\n $scope.$evalAsync(() => {\n ctrl.onChange({selected, event});\n });\n },\n onFilter: query => {\n $scope.$evalAsync(() => {\n ctrl.query = query;\n if (ctrl.externalFilter) {\n ctrl.loadOptionsToSelect(query);\n }\n if (ctrl.onFilter) {\n ctrl.onFilter(query);\n }\n });\n },\n reloadOptions: query => {\n $scope.$evalAsync(() => {\n ctrl.loadOptionsToSelect(query || ctrl.query);\n });\n },\n getLoadedOptions: () => ctrl.loadedOptions\n };\n\n if (infiniteScrollPackSize) {\n defaultConfig.onLoadMore = () => {\n if (inProcessQueries === 0) {\n $scope.$evalAsync(() => {\n ctrl.loadOptionsToSelect(ctrl.query);\n });\n }\n };\n }\n\n return defaultConfig;\n }\n\n function removeDefaultConfigPropFromUserConfig() {\n if (!ctrl.defaultConfig || !ctrl.config) {\n return;\n }\n\n Object.keys(ctrl.defaultConfig).filter(propName =>\n ctrl.config[propName] === ctrl.defaultConfig[propName]\n ).forEach(propName => {\n delete ctrl.config[propName];\n });\n }\n\n ctrl.$onDestroy = () => {\n unmountComponentAtNode(container);\n removeDefaultConfigPropFromUserConfig();\n };\n\n ctrl.$onInit = () => {\n ctrl.optionsParser = new SelectOptions(scope, ctrl.options);\n\n ctrl.lazy = ctrl.hasOwnProperty('lazy') ? ctrl.lazy : true;\n\n /**\n * Provide specific filter function if externalFilter is enabled\n */\n if (ctrl.externalFilter) {\n ctrl.filter = ctrl.filter || {};\n ctrl.filter.fn = () => true;\n }\n\n ctrl.defaultConfig = createDefaultConfig();\n ctrl.config = angular.extend({}, ctrl.defaultConfig, ctrl.config || {});\n\n if (getType() === 'suggest' || getType() === 'input') {\n ctrl.selectInstance = render(<RerenderableSelect {...ctrl.config}/>, container);\n } else {\n ctrl.selectInstance = new SelectLazy(container, ctrl.config, ctrl, getType());\n }\n\n // Preserve existing contents of the directive\n element.appendChild(container);\n\n if (!ctrl.lazy) {\n if (!ctrl.optionsParser.datasourceIsFunction) {\n $scope.$watch(() => ctrl.optionsParser.getOptions(ctrl.query, 0), optionsWatcher, true);\n } else {\n ctrl.loadOptionsToSelect(ctrl.query);\n }\n }\n\n syncNgModelToSelect();\n syncDisabled();\n syncMultiple();\n if (ctrl.configAutoUpdate) {\n syncConfig();\n }\n attachDropdownIfNeeded();\n listenToRouteChanges();\n };\n }\n };\n});\n\nexport default angularModule.name;\n","/**\n * @name Input Ng\n */\nimport angular from 'angular';\n\nimport classNames from 'classnames';\nimport closeIcon from '@jetbrains/icons/close.svg';\n\nimport RingAngularComponent from '../global/ring-angular-component';\nimport styles from '../input/input.css';\nimport Theme from '../global/theme';\nimport ButtonNg from '../button-ng/button-ng';\n\nimport styleOverrides from './input-ng.css';\n\nconst angularModule = angular.module('Ring.input', [ButtonNg]);\n\nclass RingInputComponent extends RingAngularComponent {\n static $inject = ['$element'];\n\n static require = {\n ngModelCtrl: '?ngModel'\n };\n\n static bindings = {\n name: '@',\n required: '@',\n ngMinlength: '@',\n ngMaxlength: '@',\n placeholder: '@',\n ngModel: '<',\n onChange: '&',\n label: '@',\n hint: '@',\n size: '@',\n theme: '@',\n disabled: '@',\n active: '<',\n error: '@',\n empty: '<',\n clearable: '<',\n borderless: '<',\n multiline: '<'\n };\n\n $onInit() {\n this.closeIcon = closeIcon;\n if (!this.ngModelCtrl) {\n return;\n }\n\n this.ngModelCtrl.$render = () => {\n this.value = this.ngModelCtrl.$viewValue;\n };\n }\n\n onInputChange() {\n if (!this.ngModelCtrl) {\n return;\n }\n this.ngModelCtrl.$setViewValue(this.value);\n }\n\n stretch(el) {\n if (!el) {\n return;\n }\n el.style.height = `${el.scrollHeight}px`;\n }\n\n onKeyUp() {\n if (!this.inputNode) {\n this.inputNode = this.$inject.$element[0].querySelector('[data-test=\"ring-input\"]');\n }\n\n if (this.multiline && this.inputNode.scrollHeight > this.inputNode.clientHeight) {\n this.stretch(this.inputNode);\n }\n }\n\n onClear() {\n this.value = '';\n }\n\n getContainerClasses() {\n return classNames(\n styles.container,\n styles[this.theme || Theme.LIGHT],\n this.size ? [styles[`size${this.size}`]] : null,\n {\n [styles.active]: this.active,\n [styles.error]: this.error != null,\n [styles.empty]: !this.value,\n [styles.noLabel]: !this.label,\n [styles.clearable]: this.clearable,\n [styles.borderless]: this.borderless\n }\n );\n }\n\n static template = `\n<div\n data-test=\"ring-input-container\"\n ng-class=\"$ctrl.getContainerClasses()\"\n>\n <input\n aria-label=\"{{$ctrl.label || $ctrl.placeholder}}\"\n type=\"text\"\n data-test=\"ring-input\"\n class=\"${styles.input}\"\n name=\"{{$ctrl.name}}\"\n ng-if=\"!$ctrl.multiline\"\n placeholder=\"{{$ctrl.placeholder}}\"\n ng-model=\"$ctrl.value\"\n ng-required=\"$ctrl.required\"\n ng-disabled=\"$ctrl.disabled\"\n ng-minlength=\"$ctrl.ngMinlength\"\n ng-maxlength=\"$ctrl.ngMaxlength\"\n ng-change=\"$ctrl.onInputChange()\"\n ng-keyup=\"$ctrl.onKeyUp()\"\n />\n\n <textarea\n aria-label=\"{{$ctrl.label || $ctrl.placeholder}}\"\n data-test=\"ring-input\"\n ng-if=\"$ctrl.multiline\"\n class=\"${styles.input}\"\n rows=\"1\"\n name=\"{{$ctrl.name}}\"\n placeholder=\"{{$ctrl.placeholder}}\"\n ng-model=\"$ctrl.value\"\n ng-required=\"$ctrl.required\"\n ng-disabled=\"$ctrl.disabled\"\n ng-minlength=\"$ctrl.ngMinlength\"\n ng-maxlength=\"$ctrl.ngMaxlength\"\n ng-change=\"$ctrl.onInputChange()\"\n ng-keyup=\"$ctrl.onKeyUp()\"\n ></textarea>\n\n <rg-button\n ng-if=\"$ctrl.clearable\"\n data-test=\"ring-input-clear\"\n class=\"${styles.clear} ${styleOverrides.clear}\"\n icon=\"{{:: $ctrl.closeIcon}}\"\n ng-click=\"$ctrl.onClear()\"\n ></rg-button>\n\n <label\n ng-if=\"!$ctrl.borderless\"\n class=\"${styles.label}\"\n >{{$ctrl.label}}</label>\n\n <div ng-if=\"!$ctrl.borderless\" class=\"${styles.underline}\"></div>\n <div ng-if=\"!$ctrl.borderless\" class=\"${styles.focusUnderline}\"></div>\n <div ng-if=\"!$ctrl.borderless\" class=\"${styles.errorUnderline}\"></div>\n <div ng-if=\"!$ctrl.borderless && $ctrl.error\" class=\"${styles.errorText} ${styleOverrides.errorText}\">{{$ctrl.error}}</div>\n</div>\n `;\n}\n\nangularModule.component('rgInput', RingInputComponent);\n\nexport default angularModule.name;\n","import sniffer from '../global/sniffer';\n\nconst macSymbolsMap = {\n enter: '⏎',\n shift: '⇧',\n meta: '⌘',\n alt: '⌥',\n ctrl: '⌃',\n backspace: '⌫',\n esc: 'Esc',\n tab: 'Tab',\n del: 'Del',\n home: 'Home',\n end: 'End',\n space: 'Space',\n ins: 'Insert',\n\n left: '←',\n up: '↑',\n right: '→',\n down: '↓'\n};\n\nconst winSymbolsMap = {\n enter: 'Enter',\n shift: 'Shift',\n meta: 'Ctrl',\n alt: 'Alt',\n ctrl: 'Ctrl',\n backspace: 'Backspace',\n esc: 'Esc',\n tab: 'Tab',\n del: 'Delete',\n home: 'Home',\n end: 'End',\n space: 'Space',\n ins: 'Insert',\n\n left: '←',\n up: '↑',\n right: '→',\n down: '↓'\n};\n\nexport function getShortcutTitle(shortcut) {\n const MAC_OS = sniffer.os.name === 'macos';\n const KEY_SEPARATOR = MAC_OS ? '' : '+';\n const symbolsMap = MAC_OS ? macSymbolsMap : winSymbolsMap;\n\n return shortcut.\n split(/\\+/g).\n map(symbol => symbolsMap[symbol] || symbol.toUpperCase()).\n join(KEY_SEPARATOR);\n}\n","import angular from 'angular';\n\nimport searchIcon from '@jetbrains/icons/search.svg';\n\nimport RingAngularComponent from '../global/ring-angular-component';\nimport DialogNg from '../dialog-ng/dialog-ng';\nimport ShortcutsNg from '../shortcuts-ng/shortcuts-ng';\nimport RingTemplateNg from '../template-ng/template-ng';\nimport IconNg from '../icon-ng/icon-ng';\nimport InputNg from '../input-ng/input-ng';\nimport {getShortcutTitle} from '../shortcuts/shortcut-title';\n\nimport HintPopupTpl from './shortcuts-hint-ng.html';\nimport './shortcuts-hint-ng.scss';\n\n/**\n * @name Shortcuts Ng Hint Popup\n */\n\nconst angularModule = angular.module(\n 'Ring.shortcuts.hint-popup',\n [DialogNg, ShortcutsNg, IconNg, InputNg, RingTemplateNg]\n);\nconst getTitle = title => (typeof title === 'function' ? title() : title);\n\n\nclass HintPopupService extends RingAngularComponent {\n static $inject = ['dialog', 'shortcuts'];\n\n show(popupConfig = {}, shortcutModes, okButtonLabel = 'Got it', searchPlaceholder = 'Search') {\n const {dialog, shortcuts} = this.$inject;\n\n const modes = shortcutModes || shortcuts.getRegisteredShortcuts();\n\n modes.forEach(mode => {\n mode.shortcuts.forEach(shortcut => {\n shortcut.titles = shortcut.titles || [];\n\n if (shortcut.title && !shortcut.titles.includes(shortcut.title)) {\n shortcut.titles.push(shortcut.title);\n }\n });\n });\n\n return dialog.show(Object.assign({\n template: HintPopupTpl,\n closeOnClick: true,\n autoWidth: true,\n cssClass: 'shortcuts-hint__dialog',\n controllerAs: 'hintPopupCtrl',\n buttons: [{\n label: okButtonLabel,\n default: true\n }],\n controller() {\n // eslint-disable-next-line consistent-this\n const ctrl = this;\n\n ctrl.searchIcon = searchIcon;\n ctrl.modes = modes;\n ctrl.tailTemplate = popupConfig.tailTemplate;\n ctrl.isArray = it => Array.isArray(it);\n ctrl.searchText = '';\n ctrl.searchPlaceholder = searchPlaceholder;\n ctrl.getTitle = getTitle;\n }\n }, popupConfig));\n }\n}\n\nfunction shortcutKeySymbolFilter(shortcut) {\n return getShortcutTitle(shortcut);\n}\n\nfunction shortcutSearchFilter(shortcuts, query = '') {\n return (shortcuts || []).filter(shortcut => {\n const key = shortcut.key.join ? shortcut.key.join(' ') : shortcut.key;\n const keysPresentation = shortcutKeySymbolFilter(key);\n\n if (!shortcut.titles.length) {\n return false;\n } else {\n const keyMatches = key.toLowerCase().indexOf(query.toLowerCase()) !== -1;\n const titleMatches = shortcut.titles.\n map(getTitle).\n join(' ').\n toLowerCase().\n indexOf(query.toLowerCase()) !== -1;\n const presentationMatches = keysPresentation.\n toLowerCase().\n indexOf(query.toLowerCase()) !== -1;\n\n return keyMatches || titleMatches || presentationMatches;\n }\n });\n}\n\nangularModule.service('rgShortcutsHintPopup', HintPopupService);\nangularModule.filter('shortcutKeySymbol', () => shortcutKeySymbolFilter);\nangularModule.filter('shortcutSearch', () => shortcutSearchFilter);\n\nexport default angularModule.name;\n","import angular from 'angular';\n\nimport chevronRight from '@jetbrains/icons/chevron-right.svg';\nimport chevronLeft from '@jetbrains/icons/chevron-left.svg';\n\nimport PlaceUnder from '../place-under-ng/place-under-ng';\nimport IconNG from '../icon-ng/icon-ng';\nimport RingAngularComponent from '../global/ring-angular-component';\nimport ButtonNG from '../button-ng/button-ng';\n\nimport '../sidebar/sidebar.scss';\n\n/**\n * @name Sidebar Ng\n */\n\nconst angularModule = angular.module('Ring.sidebar', [PlaceUnder, IconNG, ButtonNG]);\n\nclass SidebarController extends RingAngularComponent {\n static $inject = ['$scope'];\n\n constructor(...args) {\n super(...args);\n\n this.$onInit = () => {\n const {$scope} = this.$inject;\n\n this.dialogIsActive = false;\n this.showed = this.show;\n\n // dialog has been opened — open sidebar\n $scope.$watch(() => this.dialogIsActive, () => {\n if (this.dialogIsActive) {\n this.show = true;\n } else if (!this.showed) {\n this.show = false;\n }\n });\n\n $scope.$watch(() => this.show, () => {\n if (!this.dialogIsActive) {\n this.showed = this.show;\n }\n });\n };\n }\n}\n\nfunction rgSidebarDirective() {\n return {\n restrict: 'E',\n transclude: true,\n replace: true,\n scope: {},\n controller: SidebarController,\n /**\n * {{\n * show: boolean,\n * placeUnderSibling: ?string, a selector for an element the sidebar should stick to\n * topOffset: ?number, sidebar top offset\n * }}\n */\n bindToController: {\n show: '=',\n placeUnderSibling: '@',\n topOffset: '=?',\n dialogIsActive: '=?'\n },\n template: require('./sidebar-ng.html'),\n controllerAs: 'sidebar'\n };\n}\n\nfunction rgSidebarToggleButtonDirective() {\n return {\n restrict: 'E',\n transclude: true,\n replace: true,\n scope: {},\n controller() {\n this.chevronRight = chevronRight;\n this.chevronLeft = chevronLeft;\n },\n bindToController: {\n model: '=',\n dialogIsActive: '=?'\n },\n template: require('./sidebar-ng__button.html'),\n controllerAs: 'button'\n };\n}\n\nangularModule.directive('rgSidebar', rgSidebarDirective);\nangularModule.directive('rgSidebarToggleButton', rgSidebarToggleButtonDirective);\n\nexport default angularModule.name;\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","import arrayWithHoles from \"./arrayWithHoles\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray\";\nimport nonIterableRest from \"./nonIterableRest\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(arr, i) {\n if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","import defineProperty from \"./defineProperty\";\nexport default function _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? Object(arguments[i]) : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n }\n\n return target;\n}","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}","import _typeof from \"../../helpers/esm/typeof\";\nimport assertThisInitialized from \"./assertThisInitialized\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","import arrayWithoutHoles from \"./arrayWithoutHoles\";\nimport iterableToArray from \"./iterableToArray\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray\";\nimport nonIterableSpread from \"./nonIterableSpread\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import _extends from '@babel/runtime/helpers/esm/extends';\nimport _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray';\nimport _objectSpread from '@babel/runtime/helpers/esm/objectSpread';\nimport _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\nimport _possibleConstructorReturn from '@babel/runtime/helpers/esm/possibleConstructorReturn';\nimport _getPrototypeOf from '@babel/runtime/helpers/esm/getPrototypeOf';\nimport _inherits from '@babel/runtime/helpers/esm/inherits';\nimport _assertThisInitialized from '@babel/runtime/helpers/esm/assertThisInitialized';\nimport _defineProperty from '@babel/runtime/helpers/esm/defineProperty';\nimport { createElement, Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { findDOMNode } from 'react-dom';\nimport invariant from 'invariant';\nimport _toConsumableArray from '@babel/runtime/helpers/esm/toConsumableArray';\n\nvar Manager = function () {\n function Manager() {\n _classCallCheck(this, Manager);\n\n _defineProperty(this, \"refs\", {});\n }\n\n _createClass(Manager, [{\n key: \"add\",\n value: function add(collection, ref) {\n if (!this.refs[collection]) {\n this.refs[collection] = [];\n }\n\n this.refs[collection].push(ref);\n }\n }, {\n key: \"remove\",\n value: function remove(collection, ref) {\n var index = this.getIndex(collection, ref);\n\n if (index !== -1) {\n this.refs[collection].splice(index, 1);\n }\n }\n }, {\n key: \"isActive\",\n value: function isActive() {\n return this.active;\n }\n }, {\n key: \"getActive\",\n value: function getActive() {\n var _this = this;\n\n return this.refs[this.active.collection].find(function (_ref) {\n var node = _ref.node;\n return node.sortableInfo.index == _this.active.index;\n });\n }\n }, {\n key: \"getIndex\",\n value: function getIndex(collection, ref) {\n return this.refs[collection].indexOf(ref);\n }\n }, {\n key: \"getOrderedRefs\",\n value: function getOrderedRefs() {\n var collection = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.active.collection;\n return this.refs[collection].sort(sortByIndex);\n }\n }]);\n\n return Manager;\n}();\n\nfunction sortByIndex(_ref2, _ref3) {\n var index1 = _ref2.node.sortableInfo.index;\n var index2 = _ref3.node.sortableInfo.index;\n return index1 - index2;\n}\n\nfunction arrayMove(array, from, to) {\n if (process.env.NODE_ENV !== 'production') {\n if (typeof console !== 'undefined') {\n console.warn(\"Deprecation warning: arrayMove will no longer be exported by 'react-sortable-hoc' in the next major release. Please install the `array-move` package locally instead. https://www.npmjs.com/package/array-move\");\n }\n }\n\n array = array.slice();\n array.splice(to < 0 ? array.length + to : to, 0, array.splice(from, 1)[0]);\n return array;\n}\nfunction omit(obj, keysToOmit) {\n return Object.keys(obj).reduce(function (acc, key) {\n if (keysToOmit.indexOf(key) === -1) {\n acc[key] = obj[key];\n }\n\n return acc;\n }, {});\n}\nvar events = {\n end: ['touchend', 'touchcancel', 'mouseup'],\n move: ['touchmove', 'mousemove'],\n start: ['touchstart', 'mousedown']\n};\nvar vendorPrefix = function () {\n if (typeof window === 'undefined' || typeof document === 'undefined') {\n return '';\n }\n\n var styles = window.getComputedStyle(document.documentElement, '') || ['-moz-hidden-iframe'];\n var pre = (Array.prototype.slice.call(styles).join('').match(/-(moz|webkit|ms)-/) || styles.OLink === '' && ['', 'o'])[1];\n\n switch (pre) {\n case 'ms':\n return 'ms';\n\n default:\n return pre && pre.length ? pre[0].toUpperCase() + pre.substr(1) : '';\n }\n}();\nfunction setInlineStyles(node, styles) {\n Object.keys(styles).forEach(function (key) {\n node.style[key] = styles[key];\n });\n}\nfunction setTranslate3d(node, translate) {\n node.style[\"\".concat(vendorPrefix, \"Transform\")] = translate == null ? '' : \"translate3d(\".concat(translate.x, \"px,\").concat(translate.y, \"px,0)\");\n}\nfunction setTransitionDuration(node, duration) {\n node.style[\"\".concat(vendorPrefix, \"TransitionDuration\")] = duration == null ? '' : \"\".concat(duration, \"ms\");\n}\nfunction closest(el, fn) {\n while (el) {\n if (fn(el)) {\n return el;\n }\n\n el = el.parentNode;\n }\n\n return null;\n}\nfunction limit(min, max, value) {\n return Math.max(min, Math.min(value, max));\n}\n\nfunction getPixelValue(stringValue) {\n if (stringValue.substr(-2) === 'px') {\n return parseFloat(stringValue);\n }\n\n return 0;\n}\n\nfunction getElementMargin(element) {\n var style = window.getComputedStyle(element);\n return {\n bottom: getPixelValue(style.marginBottom),\n left: getPixelValue(style.marginLeft),\n right: getPixelValue(style.marginRight),\n top: getPixelValue(style.marginTop)\n };\n}\nfunction provideDisplayName(prefix, Component$$1) {\n var componentName = Component$$1.displayName || Component$$1.name;\n return componentName ? \"\".concat(prefix, \"(\").concat(componentName, \")\") : prefix;\n}\nfunction getScrollAdjustedBoundingClientRect(node, scrollDelta) {\n var boundingClientRect = node.getBoundingClientRect();\n return {\n top: boundingClientRect.top + scrollDelta.top,\n left: boundingClientRect.left + scrollDelta.left\n };\n}\nfunction getPosition(event) {\n if (event.touches && event.touches.length) {\n return {\n x: event.touches[0].pageX,\n y: event.touches[0].pageY\n };\n } else if (event.changedTouches && event.changedTouches.length) {\n return {\n x: event.changedTouches[0].pageX,\n y: event.changedTouches[0].pageY\n };\n } else {\n return {\n x: event.pageX,\n y: event.pageY\n };\n }\n}\nfunction isTouchEvent(event) {\n return event.touches && event.touches.length || event.changedTouches && event.changedTouches.length;\n}\nfunction getEdgeOffset(node, parent) {\n var offset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {\n left: 0,\n top: 0\n };\n\n if (!node) {\n return undefined;\n }\n\n var nodeOffset = {\n left: offset.left + node.offsetLeft,\n top: offset.top + node.offsetTop\n };\n\n if (node.parentNode === parent) {\n return nodeOffset;\n }\n\n return getEdgeOffset(node.parentNode, parent, nodeOffset);\n}\nfunction getTargetIndex(newIndex, prevIndex, oldIndex) {\n if (newIndex < oldIndex && newIndex > prevIndex) {\n return newIndex - 1;\n } else if (newIndex > oldIndex && newIndex < prevIndex) {\n return newIndex + 1;\n } else {\n return newIndex;\n }\n}\nfunction getLockPixelOffset(_ref) {\n var lockOffset = _ref.lockOffset,\n width = _ref.width,\n height = _ref.height;\n var offsetX = lockOffset;\n var offsetY = lockOffset;\n var unit = 'px';\n\n if (typeof lockOffset === 'string') {\n var match = /^[+-]?\\d*(?:\\.\\d*)?(px|%)$/.exec(lockOffset);\n invariant(match !== null, 'lockOffset value should be a number or a string of a ' + 'number followed by \"px\" or \"%\". Given %s', lockOffset);\n offsetX = parseFloat(lockOffset);\n offsetY = parseFloat(lockOffset);\n unit = match[1];\n }\n\n invariant(isFinite(offsetX) && isFinite(offsetY), 'lockOffset value should be a finite. Given %s', lockOffset);\n\n if (unit === '%') {\n offsetX = offsetX * width / 100;\n offsetY = offsetY * height / 100;\n }\n\n return {\n x: offsetX,\n y: offsetY\n };\n}\nfunction getLockPixelOffsets(_ref2) {\n var height = _ref2.height,\n width = _ref2.width,\n lockOffset = _ref2.lockOffset;\n var offsets = Array.isArray(lockOffset) ? lockOffset : [lockOffset, lockOffset];\n invariant(offsets.length === 2, 'lockOffset prop of SortableContainer should be a single ' + 'value or an array of exactly two values. Given %s', lockOffset);\n\n var _offsets = _slicedToArray(offsets, 2),\n minLockOffset = _offsets[0],\n maxLockOffset = _offsets[1];\n\n return [getLockPixelOffset({\n height: height,\n lockOffset: minLockOffset,\n width: width\n }), getLockPixelOffset({\n height: height,\n lockOffset: maxLockOffset,\n width: width\n })];\n}\n\nfunction isScrollable(el) {\n var computedStyle = window.getComputedStyle(el);\n var overflowRegex = /(auto|scroll)/;\n var properties = ['overflow', 'overflowX', 'overflowY'];\n return properties.find(function (property) {\n return overflowRegex.test(computedStyle[property]);\n });\n}\n\nfunction getScrollingParent(el) {\n if (!(el instanceof HTMLElement)) {\n return null;\n } else if (isScrollable(el)) {\n return el;\n } else {\n return getScrollingParent(el.parentNode);\n }\n}\nfunction getContainerGridGap(element) {\n var style = window.getComputedStyle(element);\n\n if (style.display === 'grid') {\n return {\n x: getPixelValue(style.gridColumnGap),\n y: getPixelValue(style.gridRowGap)\n };\n }\n\n return {\n x: 0,\n y: 0\n };\n}\nvar KEYCODE = {\n TAB: 9,\n ESC: 27,\n SPACE: 32,\n LEFT: 37,\n UP: 38,\n RIGHT: 39,\n DOWN: 40\n};\nvar NodeType = {\n Anchor: 'A',\n Button: 'BUTTON',\n Canvas: 'CANVAS',\n Input: 'INPUT',\n Option: 'OPTION',\n Textarea: 'TEXTAREA',\n Select: 'SELECT'\n};\nfunction cloneNode(node) {\n var selector = 'input, textarea, select, canvas, [contenteditable]';\n var fields = node.querySelectorAll(selector);\n var clonedNode = node.cloneNode(true);\n\n var clonedFields = _toConsumableArray(clonedNode.querySelectorAll(selector));\n\n clonedFields.forEach(function (field, i) {\n if (field.type !== 'file') {\n field.value = fields[i].value;\n }\n\n if (field.type === 'radio' && field.name) {\n field.name = \"__sortableClone__\".concat(field.name);\n }\n\n if (field.tagName === NodeType.Canvas && fields[i].width > 0 && fields[i].height > 0) {\n var destCtx = field.getContext('2d');\n destCtx.drawImage(fields[i], 0, 0);\n }\n });\n return clonedNode;\n}\n\nfunction sortableHandle(WrappedComponent) {\n var _class, _temp;\n\n var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n withRef: false\n };\n return _temp = _class = function (_React$Component) {\n _inherits(WithSortableHandle, _React$Component);\n\n function WithSortableHandle() {\n _classCallCheck(this, WithSortableHandle);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(WithSortableHandle).apply(this, arguments));\n }\n\n _createClass(WithSortableHandle, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var node = findDOMNode(this);\n node.sortableHandle = true;\n }\n }, {\n key: \"getWrappedInstance\",\n value: function getWrappedInstance() {\n invariant(config.withRef, 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call');\n return this.refs.wrappedInstance;\n }\n }, {\n key: \"render\",\n value: function render() {\n var ref = config.withRef ? 'wrappedInstance' : null;\n return createElement(WrappedComponent, _extends({\n ref: ref\n }, this.props));\n }\n }]);\n\n return WithSortableHandle;\n }(Component), _defineProperty(_class, \"displayName\", provideDisplayName('sortableHandle', WrappedComponent)), _temp;\n}\nfunction isSortableHandle(node) {\n return node.sortableHandle != null;\n}\n\nvar AutoScroller = function () {\n function AutoScroller(container, onScrollCallback) {\n _classCallCheck(this, AutoScroller);\n\n this.container = container;\n this.onScrollCallback = onScrollCallback;\n }\n\n _createClass(AutoScroller, [{\n key: \"clear\",\n value: function clear() {\n if (this.interval == null) {\n return;\n }\n\n clearInterval(this.interval);\n this.interval = null;\n }\n }, {\n key: \"update\",\n value: function update(_ref) {\n var _this = this;\n\n var translate = _ref.translate,\n minTranslate = _ref.minTranslate,\n maxTranslate = _ref.maxTranslate,\n width = _ref.width,\n height = _ref.height;\n var direction = {\n x: 0,\n y: 0\n };\n var speed = {\n x: 1,\n y: 1\n };\n var acceleration = {\n x: 10,\n y: 10\n };\n var _this$container = this.container,\n scrollTop = _this$container.scrollTop,\n scrollLeft = _this$container.scrollLeft,\n scrollHeight = _this$container.scrollHeight,\n scrollWidth = _this$container.scrollWidth,\n clientHeight = _this$container.clientHeight,\n clientWidth = _this$container.clientWidth;\n var isTop = scrollTop === 0;\n var isBottom = scrollHeight - scrollTop - clientHeight === 0;\n var isLeft = scrollLeft === 0;\n var isRight = scrollWidth - scrollLeft - clientWidth === 0;\n\n if (translate.y >= maxTranslate.y - height / 2 && !isBottom) {\n direction.y = 1;\n speed.y = acceleration.y * Math.abs((maxTranslate.y - height / 2 - translate.y) / height);\n } else if (translate.x >= maxTranslate.x - width / 2 && !isRight) {\n direction.x = 1;\n speed.x = acceleration.x * Math.abs((maxTranslate.x - width / 2 - translate.x) / width);\n } else if (translate.y <= minTranslate.y + height / 2 && !isTop) {\n direction.y = -1;\n speed.y = acceleration.y * Math.abs((translate.y - height / 2 - minTranslate.y) / height);\n } else if (translate.x <= minTranslate.x + width / 2 && !isLeft) {\n direction.x = -1;\n speed.x = acceleration.x * Math.abs((translate.x - width / 2 - minTranslate.x) / width);\n }\n\n if (this.interval) {\n this.clear();\n this.isAutoScrolling = false;\n }\n\n if (direction.x !== 0 || direction.y !== 0) {\n this.interval = setInterval(function () {\n _this.isAutoScrolling = true;\n var offset = {\n left: speed.x * direction.x,\n top: speed.y * direction.y\n };\n _this.container.scrollTop += offset.top;\n _this.container.scrollLeft += offset.left;\n\n _this.onScrollCallback(offset);\n }, 5);\n }\n }\n }]);\n\n return AutoScroller;\n}();\n\nfunction defaultGetHelperDimensions(_ref) {\n var node = _ref.node;\n return {\n height: node.offsetHeight,\n width: node.offsetWidth\n };\n}\n\nfunction defaultShouldCancelStart(event) {\n var interactiveElements = [NodeType.Input, NodeType.Textarea, NodeType.Select, NodeType.Option, NodeType.Button];\n\n if (interactiveElements.indexOf(event.target.tagName) !== -1) {\n return true;\n }\n\n if (closest(event.target, function (el) {\n return el.contentEditable === 'true';\n })) {\n return true;\n }\n\n return false;\n}\n\nvar propTypes = {\n axis: PropTypes.oneOf(['x', 'y', 'xy']),\n contentWindow: PropTypes.any,\n disableAutoscroll: PropTypes.bool,\n distance: PropTypes.number,\n getContainer: PropTypes.func,\n getHelperDimensions: PropTypes.func,\n helperClass: PropTypes.string,\n helperContainer: PropTypes.oneOfType([PropTypes.func, typeof HTMLElement === 'undefined' ? PropTypes.any : PropTypes.instanceOf(HTMLElement)]),\n hideSortableGhost: PropTypes.bool,\n keyboardSortingTransitionDuration: PropTypes.number,\n lockAxis: PropTypes.string,\n lockOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]))]),\n lockToContainerEdges: PropTypes.bool,\n onSortEnd: PropTypes.func,\n onSortMove: PropTypes.func,\n onSortOver: PropTypes.func,\n onSortStart: PropTypes.func,\n pressDelay: PropTypes.number,\n pressThreshold: PropTypes.number,\n keyCodes: PropTypes.shape({\n lift: PropTypes.arrayOf(PropTypes.number),\n drop: PropTypes.arrayOf(PropTypes.number),\n cancel: PropTypes.arrayOf(PropTypes.number),\n up: PropTypes.arrayOf(PropTypes.number),\n down: PropTypes.arrayOf(PropTypes.number)\n }),\n shouldCancelStart: PropTypes.func,\n transitionDuration: PropTypes.number,\n updateBeforeSortStart: PropTypes.func,\n useDragHandle: PropTypes.bool,\n useWindowAsScrollContainer: PropTypes.bool\n};\nvar defaultKeyCodes = {\n lift: [KEYCODE.SPACE],\n drop: [KEYCODE.SPACE],\n cancel: [KEYCODE.ESC],\n up: [KEYCODE.UP, KEYCODE.LEFT],\n down: [KEYCODE.DOWN, KEYCODE.RIGHT]\n};\nvar defaultProps = {\n axis: 'y',\n disableAutoscroll: false,\n distance: 0,\n getHelperDimensions: defaultGetHelperDimensions,\n hideSortableGhost: true,\n lockOffset: '50%',\n lockToContainerEdges: false,\n pressDelay: 0,\n pressThreshold: 5,\n keyCodes: defaultKeyCodes,\n shouldCancelStart: defaultShouldCancelStart,\n transitionDuration: 300,\n useWindowAsScrollContainer: false\n};\nvar omittedProps = Object.keys(propTypes);\nfunction validateProps(props) {\n invariant(!(props.distance && props.pressDelay), 'Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.');\n}\n\nfunction _finallyRethrows(body, finalizer) {\n try {\n var result = body();\n } catch (e) {\n return finalizer(true, e);\n }\n\n if (result && result.then) {\n return result.then(finalizer.bind(null, false), finalizer.bind(null, true));\n }\n\n return finalizer(false, value);\n}\nfunction sortableContainer(WrappedComponent) {\n var _class, _temp;\n\n var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n withRef: false\n };\n return _temp = _class = function (_React$Component) {\n _inherits(WithSortableContainer, _React$Component);\n\n function WithSortableContainer(props) {\n var _this;\n\n _classCallCheck(this, WithSortableContainer);\n\n _this = _possibleConstructorReturn(this, _getPrototypeOf(WithSortableContainer).call(this, props));\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"state\", {});\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handleStart\", function (event) {\n var _this$props = _this.props,\n distance = _this$props.distance,\n shouldCancelStart = _this$props.shouldCancelStart;\n\n if (event.button === 2 || shouldCancelStart(event)) {\n return;\n }\n\n _this.touched = true;\n _this.position = getPosition(event);\n var node = closest(event.target, function (el) {\n return el.sortableInfo != null;\n });\n\n if (node && node.sortableInfo && _this.nodeIsChild(node) && !_this.state.sorting) {\n var useDragHandle = _this.props.useDragHandle;\n var _node$sortableInfo = node.sortableInfo,\n index = _node$sortableInfo.index,\n collection = _node$sortableInfo.collection,\n disabled = _node$sortableInfo.disabled;\n\n if (disabled) {\n return;\n }\n\n if (useDragHandle && !closest(event.target, isSortableHandle)) {\n return;\n }\n\n _this.manager.active = {\n collection: collection,\n index: index\n };\n\n if (!isTouchEvent(event) && event.target.tagName === NodeType.Anchor) {\n event.preventDefault();\n }\n\n if (!distance) {\n if (_this.props.pressDelay === 0) {\n _this.handlePress(event);\n } else {\n _this.pressTimer = setTimeout(function () {\n return _this.handlePress(event);\n }, _this.props.pressDelay);\n }\n }\n }\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"nodeIsChild\", function (node) {\n return node.sortableInfo.manager === _this.manager;\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handleMove\", function (event) {\n var _this$props2 = _this.props,\n distance = _this$props2.distance,\n pressThreshold = _this$props2.pressThreshold;\n\n if (!_this.state.sorting && _this.touched && !_this._awaitingUpdateBeforeSortStart) {\n var position = getPosition(event);\n var delta = {\n x: _this.position.x - position.x,\n y: _this.position.y - position.y\n };\n var combinedDelta = Math.abs(delta.x) + Math.abs(delta.y);\n _this.delta = delta;\n\n if (!distance && (!pressThreshold || combinedDelta >= pressThreshold)) {\n clearTimeout(_this.cancelTimer);\n _this.cancelTimer = setTimeout(_this.cancel, 0);\n } else if (distance && combinedDelta >= distance && _this.manager.isActive()) {\n _this.handlePress(event);\n }\n }\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handleEnd\", function () {\n _this.touched = false;\n\n _this.cancel();\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"cancel\", function () {\n var distance = _this.props.distance;\n var sorting = _this.state.sorting;\n\n if (!sorting) {\n if (!distance) {\n clearTimeout(_this.pressTimer);\n }\n\n _this.manager.active = null;\n }\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handlePress\", function (event) {\n try {\n var active = _this.manager.getActive();\n\n var _temp6 = function () {\n if (active) {\n var _temp7 = function _temp7() {\n var index = _node.sortableInfo.index;\n var margin = getElementMargin(_node);\n var gridGap = getContainerGridGap(_this.container);\n\n var containerBoundingRect = _this.scrollContainer.getBoundingClientRect();\n\n var dimensions = _getHelperDimensions({\n index: index,\n node: _node,\n collection: _collection\n });\n\n _this.node = _node;\n _this.margin = margin;\n _this.gridGap = gridGap;\n _this.width = dimensions.width;\n _this.height = dimensions.height;\n _this.marginOffset = {\n x: _this.margin.left + _this.margin.right + _this.gridGap.x,\n y: Math.max(_this.margin.top, _this.margin.bottom, _this.gridGap.y)\n };\n _this.boundingClientRect = _node.getBoundingClientRect();\n _this.containerBoundingRect = containerBoundingRect;\n _this.index = index;\n _this.newIndex = index;\n _this.axis = {\n x: _axis.indexOf('x') >= 0,\n y: _axis.indexOf('y') >= 0\n };\n _this.offsetEdge = getEdgeOffset(_node, _this.container);\n\n if (_isKeySorting) {\n _this.initialOffset = getPosition(_objectSpread({}, event, {\n pageX: _this.boundingClientRect.left,\n pageY: _this.boundingClientRect.top\n }));\n } else {\n _this.initialOffset = getPosition(event);\n }\n\n _this.initialScroll = {\n left: _this.scrollContainer.scrollLeft,\n top: _this.scrollContainer.scrollTop\n };\n _this.initialWindowScroll = {\n left: window.pageXOffset,\n top: window.pageYOffset\n };\n _this.helper = _this.helperContainer.appendChild(cloneNode(_node));\n setInlineStyles(_this.helper, {\n boxSizing: 'border-box',\n height: \"\".concat(_this.height, \"px\"),\n left: \"\".concat(_this.boundingClientRect.left - margin.left, \"px\"),\n pointerEvents: 'none',\n position: 'fixed',\n top: \"\".concat(_this.boundingClientRect.top - margin.top, \"px\"),\n width: \"\".concat(_this.width, \"px\")\n });\n\n if (_isKeySorting) {\n _this.helper.focus();\n }\n\n if (_hideSortableGhost) {\n _this.sortableGhost = _node;\n setInlineStyles(_node, {\n opacity: 0,\n visibility: 'hidden'\n });\n }\n\n _this.minTranslate = {};\n _this.maxTranslate = {};\n\n if (_isKeySorting) {\n var _ref = _useWindowAsScrollContainer ? {\n top: 0,\n left: 0,\n width: _this.contentWindow.innerWidth,\n height: _this.contentWindow.innerHeight\n } : _this.containerBoundingRect,\n containerTop = _ref.top,\n containerLeft = _ref.left,\n containerWidth = _ref.width,\n containerHeight = _ref.height;\n\n var containerBottom = containerTop + containerHeight;\n var containerRight = containerLeft + containerWidth;\n\n if (_this.axis.x) {\n _this.minTranslate.x = containerLeft - _this.boundingClientRect.left;\n _this.maxTranslate.x = containerRight - (_this.boundingClientRect.left + _this.width);\n }\n\n if (_this.axis.y) {\n _this.minTranslate.y = containerTop - _this.boundingClientRect.top;\n _this.maxTranslate.y = containerBottom - (_this.boundingClientRect.top + _this.height);\n }\n } else {\n if (_this.axis.x) {\n _this.minTranslate.x = (_useWindowAsScrollContainer ? 0 : containerBoundingRect.left) - _this.boundingClientRect.left - _this.width / 2;\n _this.maxTranslate.x = (_useWindowAsScrollContainer ? _this.contentWindow.innerWidth : containerBoundingRect.left + containerBoundingRect.width) - _this.boundingClientRect.left - _this.width / 2;\n }\n\n if (_this.axis.y) {\n _this.minTranslate.y = (_useWindowAsScrollContainer ? 0 : containerBoundingRect.top) - _this.boundingClientRect.top - _this.height / 2;\n _this.maxTranslate.y = (_useWindowAsScrollContainer ? _this.contentWindow.innerHeight : containerBoundingRect.top + containerBoundingRect.height) - _this.boundingClientRect.top - _this.height / 2;\n }\n }\n\n if (_helperClass) {\n _helperClass.split(' ').forEach(function (className) {\n return _this.helper.classList.add(className);\n });\n }\n\n _this.listenerNode = event.touches ? _node : _this.contentWindow;\n\n if (_isKeySorting) {\n _this.listenerNode.addEventListener('wheel', _this.handleKeyEnd, true);\n\n _this.listenerNode.addEventListener('mousedown', _this.handleKeyEnd, true);\n\n _this.listenerNode.addEventListener('keydown', _this.handleKeyDown);\n } else {\n events.move.forEach(function (eventName) {\n return _this.listenerNode.addEventListener(eventName, _this.handleSortMove, false);\n });\n events.end.forEach(function (eventName) {\n return _this.listenerNode.addEventListener(eventName, _this.handleSortEnd, false);\n });\n }\n\n _this.setState({\n sorting: true,\n sortingIndex: index\n });\n\n if (_onSortStart) {\n _onSortStart({\n node: _node,\n index: index,\n collection: _collection,\n isKeySorting: _isKeySorting,\n nodes: _this.manager.getOrderedRefs(),\n helper: _this.helper\n }, event);\n }\n\n if (_isKeySorting) {\n _this.keyMove(0);\n }\n };\n\n var _this$props3 = _this.props,\n _axis = _this$props3.axis,\n _getHelperDimensions = _this$props3.getHelperDimensions,\n _helperClass = _this$props3.helperClass,\n _hideSortableGhost = _this$props3.hideSortableGhost,\n updateBeforeSortStart = _this$props3.updateBeforeSortStart,\n _onSortStart = _this$props3.onSortStart,\n _useWindowAsScrollContainer = _this$props3.useWindowAsScrollContainer;\n var _node = active.node,\n _collection = active.collection;\n var _isKeySorting = _this.manager.isKeySorting;\n\n var _temp8 = function () {\n if (typeof updateBeforeSortStart === 'function') {\n _this._awaitingUpdateBeforeSortStart = true;\n\n var _temp9 = _finallyRethrows(function () {\n var index = _node.sortableInfo.index;\n return Promise.resolve(updateBeforeSortStart({\n collection: _collection,\n index: index,\n node: _node,\n isKeySorting: _isKeySorting\n }, event)).then(function () {});\n }, function (_wasThrown, _result) {\n _this._awaitingUpdateBeforeSortStart = false;\n if (_wasThrown) throw _result;\n return _result;\n });\n\n if (_temp9 && _temp9.then) return _temp9.then(function () {});\n }\n }();\n\n return _temp8 && _temp8.then ? _temp8.then(_temp7) : _temp7(_temp8);\n }\n }();\n\n return Promise.resolve(_temp6 && _temp6.then ? _temp6.then(function () {}) : void 0);\n } catch (e) {\n return Promise.reject(e);\n }\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handleSortMove\", function (event) {\n var onSortMove = _this.props.onSortMove;\n\n if (typeof event.preventDefault === 'function') {\n event.preventDefault();\n }\n\n _this.updateHelperPosition(event);\n\n _this.animateNodes();\n\n _this.autoscroll();\n\n if (onSortMove) {\n onSortMove(event);\n }\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handleSortEnd\", function (event) {\n var _this$props4 = _this.props,\n hideSortableGhost = _this$props4.hideSortableGhost,\n onSortEnd = _this$props4.onSortEnd;\n var _this$manager = _this.manager,\n collection = _this$manager.active.collection,\n isKeySorting = _this$manager.isKeySorting;\n\n var nodes = _this.manager.getOrderedRefs();\n\n if (_this.listenerNode) {\n if (isKeySorting) {\n _this.listenerNode.removeEventListener('wheel', _this.handleKeyEnd, true);\n\n _this.listenerNode.removeEventListener('mousedown', _this.handleKeyEnd, true);\n\n _this.listenerNode.removeEventListener('keydown', _this.handleKeyDown);\n } else {\n events.move.forEach(function (eventName) {\n return _this.listenerNode.removeEventListener(eventName, _this.handleSortMove);\n });\n events.end.forEach(function (eventName) {\n return _this.listenerNode.removeEventListener(eventName, _this.handleSortEnd);\n });\n }\n }\n\n _this.helper.parentNode.removeChild(_this.helper);\n\n if (hideSortableGhost && _this.sortableGhost) {\n setInlineStyles(_this.sortableGhost, {\n opacity: '',\n visibility: ''\n });\n }\n\n for (var i = 0, len = nodes.length; i < len; i++) {\n var _node2 = nodes[i];\n var el = _node2.node;\n _node2.edgeOffset = null;\n _node2.boundingClientRect = null;\n setTranslate3d(el, null);\n setTransitionDuration(el, null);\n _node2.translate = null;\n }\n\n _this.autoScroller.clear();\n\n _this.manager.active = null;\n _this.manager.isKeySorting = false;\n\n _this.setState({\n sorting: false,\n sortingIndex: null\n });\n\n if (typeof onSortEnd === 'function') {\n onSortEnd({\n collection: collection,\n newIndex: _this.newIndex,\n oldIndex: _this.index,\n isKeySorting: isKeySorting,\n nodes: nodes\n }, event);\n }\n\n _this.touched = false;\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"autoscroll\", function () {\n var disableAutoscroll = _this.props.disableAutoscroll;\n var isKeySorting = _this.manager.isKeySorting;\n\n if (disableAutoscroll) {\n _this.autoScroller.clear();\n\n return;\n }\n\n if (isKeySorting) {\n var translate = _objectSpread({}, _this.translate);\n\n var scrollX = 0;\n var scrollY = 0;\n\n if (_this.axis.x) {\n translate.x = Math.min(_this.maxTranslate.x, Math.max(_this.minTranslate.x, _this.translate.x));\n scrollX = _this.translate.x - translate.x;\n }\n\n if (_this.axis.y) {\n translate.y = Math.min(_this.maxTranslate.y, Math.max(_this.minTranslate.y, _this.translate.y));\n scrollY = _this.translate.y - translate.y;\n }\n\n _this.translate = translate;\n setTranslate3d(_this.helper, _this.translate);\n _this.scrollContainer.scrollLeft += scrollX;\n _this.scrollContainer.scrollTop += scrollY;\n return;\n }\n\n _this.autoScroller.update({\n height: _this.height,\n maxTranslate: _this.maxTranslate,\n minTranslate: _this.minTranslate,\n translate: _this.translate,\n width: _this.width\n });\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"onAutoScroll\", function (offset) {\n _this.translate.x += offset.left;\n _this.translate.y += offset.top;\n\n _this.animateNodes();\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handleKeyDown\", function (event) {\n var keyCode = event.keyCode;\n var _this$props5 = _this.props,\n shouldCancelStart = _this$props5.shouldCancelStart,\n _this$props5$keyCodes = _this$props5.keyCodes,\n customKeyCodes = _this$props5$keyCodes === void 0 ? {} : _this$props5$keyCodes;\n\n var keyCodes = _objectSpread({}, defaultKeyCodes, customKeyCodes);\n\n if (_this.manager.active && !_this.manager.isKeySorting || !_this.manager.active && (!keyCodes.lift.includes(keyCode) || shouldCancelStart(event) || !_this.isValidSortingTarget(event))) {\n return;\n }\n\n event.stopPropagation();\n event.preventDefault();\n\n if (keyCodes.lift.includes(keyCode) && !_this.manager.active) {\n _this.keyLift(event);\n } else if (keyCodes.drop.includes(keyCode) && _this.manager.active) {\n _this.keyDrop(event);\n } else if (keyCodes.cancel.includes(keyCode)) {\n _this.newIndex = _this.manager.active.index;\n\n _this.keyDrop(event);\n } else if (keyCodes.up.includes(keyCode)) {\n _this.keyMove(-1);\n } else if (keyCodes.down.includes(keyCode)) {\n _this.keyMove(1);\n }\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"keyLift\", function (event) {\n var target = event.target;\n var node = closest(target, function (el) {\n return el.sortableInfo != null;\n });\n var _node$sortableInfo2 = node.sortableInfo,\n index = _node$sortableInfo2.index,\n collection = _node$sortableInfo2.collection;\n _this.initialFocusedNode = target;\n _this.manager.isKeySorting = true;\n _this.manager.active = {\n index: index,\n collection: collection\n };\n\n _this.handlePress(event);\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"keyMove\", function (shift) {\n var nodes = _this.manager.getOrderedRefs();\n\n var lastIndex = nodes[nodes.length - 1].node.sortableInfo.index;\n var newIndex = _this.newIndex + shift;\n var prevIndex = _this.newIndex;\n\n if (newIndex < 0 || newIndex > lastIndex) {\n return;\n }\n\n _this.prevIndex = prevIndex;\n _this.newIndex = newIndex;\n var targetIndex = getTargetIndex(_this.newIndex, _this.prevIndex, _this.index);\n var target = nodes.find(function (_ref2) {\n var node = _ref2.node;\n return node.sortableInfo.index === targetIndex;\n });\n var targetNode = target.node;\n var scrollDelta = _this.containerScrollDelta;\n var targetBoundingClientRect = target.boundingClientRect || getScrollAdjustedBoundingClientRect(targetNode, scrollDelta);\n var targetTranslate = target.translate || {\n x: 0,\n y: 0\n };\n var targetPosition = {\n top: targetBoundingClientRect.top + targetTranslate.y - scrollDelta.top,\n left: targetBoundingClientRect.left + targetTranslate.x - scrollDelta.left\n };\n var shouldAdjustForSize = prevIndex < newIndex;\n var sizeAdjustment = {\n x: shouldAdjustForSize && _this.axis.x ? targetNode.offsetWidth - _this.width : 0,\n y: shouldAdjustForSize && _this.axis.y ? targetNode.offsetHeight - _this.height : 0\n };\n\n _this.handleSortMove({\n pageX: targetPosition.left + sizeAdjustment.x,\n pageY: targetPosition.top + sizeAdjustment.y,\n ignoreTransition: shift === 0\n });\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"keyDrop\", function (event) {\n _this.handleSortEnd(event);\n\n if (_this.initialFocusedNode) {\n _this.initialFocusedNode.focus();\n }\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handleKeyEnd\", function (event) {\n if (_this.manager.active) {\n _this.keyDrop(event);\n }\n });\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"isValidSortingTarget\", function (event) {\n var useDragHandle = _this.props.useDragHandle;\n var target = event.target;\n var node = closest(target, function (el) {\n return el.sortableInfo != null;\n });\n return node && node.sortableInfo && !node.sortableInfo.disabled && (useDragHandle ? isSortableHandle(target) : target.sortableInfo);\n });\n\n validateProps(props);\n _this.manager = new Manager();\n _this.events = {\n end: _this.handleEnd,\n move: _this.handleMove,\n start: _this.handleStart\n };\n return _this;\n }\n\n _createClass(WithSortableContainer, [{\n key: \"getChildContext\",\n value: function getChildContext() {\n return {\n manager: this.manager\n };\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this2 = this;\n\n var useWindowAsScrollContainer = this.props.useWindowAsScrollContainer;\n var container = this.getContainer();\n Promise.resolve(container).then(function (containerNode) {\n _this2.container = containerNode;\n _this2.document = _this2.container.ownerDocument || document;\n var contentWindow = _this2.props.contentWindow || _this2.document.defaultView || window;\n _this2.contentWindow = typeof contentWindow === 'function' ? contentWindow() : contentWindow;\n _this2.scrollContainer = useWindowAsScrollContainer ? _this2.document.scrollingElement || _this2.document.documentElement : getScrollingParent(_this2.container) || _this2.container;\n _this2.autoScroller = new AutoScroller(_this2.scrollContainer, _this2.onAutoScroll);\n Object.keys(_this2.events).forEach(function (key) {\n return events[key].forEach(function (eventName) {\n return _this2.container.addEventListener(eventName, _this2.events[key], false);\n });\n });\n\n _this2.container.addEventListener('keydown', _this2.handleKeyDown);\n });\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n var _this3 = this;\n\n if (this.helper && this.helper.parentNode) {\n this.helper.parentNode.removeChild(this.helper);\n }\n\n if (!this.container) {\n return;\n }\n\n Object.keys(this.events).forEach(function (key) {\n return events[key].forEach(function (eventName) {\n return _this3.container.removeEventListener(eventName, _this3.events[key]);\n });\n });\n this.container.removeEventListener('keydown', this.handleKeyDown);\n }\n }, {\n key: \"updateHelperPosition\",\n value: function updateHelperPosition(event) {\n var _this$props6 = this.props,\n lockAxis = _this$props6.lockAxis,\n lockOffset = _this$props6.lockOffset,\n lockToContainerEdges = _this$props6.lockToContainerEdges,\n transitionDuration = _this$props6.transitionDuration,\n _this$props6$keyboard = _this$props6.keyboardSortingTransitionDuration,\n keyboardSortingTransitionDuration = _this$props6$keyboard === void 0 ? transitionDuration : _this$props6$keyboard;\n var isKeySorting = this.manager.isKeySorting;\n var ignoreTransition = event.ignoreTransition;\n var offset = getPosition(event);\n var translate = {\n x: offset.x - this.initialOffset.x,\n y: offset.y - this.initialOffset.y\n };\n translate.y -= window.pageYOffset - this.initialWindowScroll.top;\n translate.x -= window.pageXOffset - this.initialWindowScroll.left;\n this.translate = translate;\n\n if (lockToContainerEdges) {\n var _getLockPixelOffsets = getLockPixelOffsets({\n height: this.height,\n lockOffset: lockOffset,\n width: this.width\n }),\n _getLockPixelOffsets2 = _slicedToArray(_getLockPixelOffsets, 2),\n minLockOffset = _getLockPixelOffsets2[0],\n maxLockOffset = _getLockPixelOffsets2[1];\n\n var minOffset = {\n x: this.width / 2 - minLockOffset.x,\n y: this.height / 2 - minLockOffset.y\n };\n var maxOffset = {\n x: this.width / 2 - maxLockOffset.x,\n y: this.height / 2 - maxLockOffset.y\n };\n translate.x = limit(this.minTranslate.x + minOffset.x, this.maxTranslate.x - maxOffset.x, translate.x);\n translate.y = limit(this.minTranslate.y + minOffset.y, this.maxTranslate.y - maxOffset.y, translate.y);\n }\n\n if (lockAxis === 'x') {\n translate.y = 0;\n } else if (lockAxis === 'y') {\n translate.x = 0;\n }\n\n if (isKeySorting && keyboardSortingTransitionDuration && !ignoreTransition) {\n setTransitionDuration(this.helper, keyboardSortingTransitionDuration);\n }\n\n setTranslate3d(this.helper, translate);\n }\n }, {\n key: \"animateNodes\",\n value: function animateNodes() {\n var _this$props7 = this.props,\n transitionDuration = _this$props7.transitionDuration,\n hideSortableGhost = _this$props7.hideSortableGhost,\n onSortOver = _this$props7.onSortOver;\n var containerScrollDelta = this.containerScrollDelta,\n windowScrollDelta = this.windowScrollDelta;\n var nodes = this.manager.getOrderedRefs();\n var sortingOffset = {\n left: this.offsetEdge.left + this.translate.x + containerScrollDelta.left,\n top: this.offsetEdge.top + this.translate.y + containerScrollDelta.top\n };\n var isKeySorting = this.manager.isKeySorting;\n var prevIndex = this.newIndex;\n this.newIndex = null;\n\n for (var i = 0, len = nodes.length; i < len; i++) {\n var _node3 = nodes[i].node;\n var index = _node3.sortableInfo.index;\n var width = _node3.offsetWidth;\n var height = _node3.offsetHeight;\n var offset = {\n height: this.height > height ? height / 2 : this.height / 2,\n width: this.width > width ? width / 2 : this.width / 2\n };\n var mustShiftBackward = isKeySorting && index > this.index && index <= prevIndex;\n var mustShiftForward = isKeySorting && index < this.index && index >= prevIndex;\n var translate = {\n x: 0,\n y: 0\n };\n var edgeOffset = nodes[i].edgeOffset;\n\n if (!edgeOffset) {\n edgeOffset = getEdgeOffset(_node3, this.container);\n nodes[i].edgeOffset = edgeOffset;\n\n if (isKeySorting) {\n nodes[i].boundingClientRect = getScrollAdjustedBoundingClientRect(_node3, containerScrollDelta);\n }\n }\n\n var nextNode = i < nodes.length - 1 && nodes[i + 1];\n var prevNode = i > 0 && nodes[i - 1];\n\n if (nextNode && !nextNode.edgeOffset) {\n nextNode.edgeOffset = getEdgeOffset(nextNode.node, this.container);\n\n if (isKeySorting) {\n nextNode.boundingClientRect = getScrollAdjustedBoundingClientRect(nextNode.node, containerScrollDelta);\n }\n }\n\n if (index === this.index) {\n if (hideSortableGhost) {\n this.sortableGhost = _node3;\n setInlineStyles(_node3, {\n opacity: 0,\n visibility: 'hidden'\n });\n }\n\n continue;\n }\n\n if (transitionDuration) {\n setTransitionDuration(_node3, transitionDuration);\n }\n\n if (this.axis.x) {\n if (this.axis.y) {\n if (mustShiftForward || index < this.index && (sortingOffset.left + windowScrollDelta.left - offset.width <= edgeOffset.left && sortingOffset.top + windowScrollDelta.top <= edgeOffset.top + offset.height || sortingOffset.top + windowScrollDelta.top + offset.height <= edgeOffset.top)) {\n translate.x = this.width + this.marginOffset.x;\n\n if (edgeOffset.left + translate.x > this.containerBoundingRect.width - offset.width) {\n if (nextNode) {\n translate.x = nextNode.edgeOffset.left - edgeOffset.left;\n translate.y = nextNode.edgeOffset.top - edgeOffset.top;\n }\n }\n\n if (this.newIndex === null) {\n this.newIndex = index;\n }\n } else if (mustShiftBackward || index > this.index && (sortingOffset.left + windowScrollDelta.left + offset.width >= edgeOffset.left && sortingOffset.top + windowScrollDelta.top + offset.height >= edgeOffset.top || sortingOffset.top + windowScrollDelta.top + offset.height >= edgeOffset.top + height)) {\n translate.x = -(this.width + this.marginOffset.x);\n\n if (edgeOffset.left + translate.x < this.containerBoundingRect.left + offset.width) {\n if (prevNode) {\n translate.x = prevNode.edgeOffset.left - edgeOffset.left;\n translate.y = prevNode.edgeOffset.top - edgeOffset.top;\n }\n }\n\n this.newIndex = index;\n }\n } else {\n if (mustShiftBackward || index > this.index && sortingOffset.left + windowScrollDelta.left + offset.width >= edgeOffset.left) {\n translate.x = -(this.width + this.marginOffset.x);\n this.newIndex = index;\n } else if (mustShiftForward || index < this.index && sortingOffset.left + windowScrollDelta.left <= edgeOffset.left + offset.width) {\n translate.x = this.width + this.marginOffset.x;\n\n if (this.newIndex == null) {\n this.newIndex = index;\n }\n }\n }\n } else if (this.axis.y) {\n if (mustShiftBackward || index > this.index && sortingOffset.top + windowScrollDelta.top + offset.height >= edgeOffset.top) {\n translate.y = -(this.height + this.marginOffset.y);\n this.newIndex = index;\n } else if (mustShiftForward || index < this.index && sortingOffset.top + windowScrollDelta.top <= edgeOffset.top + offset.height) {\n translate.y = this.height + this.marginOffset.y;\n\n if (this.newIndex == null) {\n this.newIndex = index;\n }\n }\n }\n\n setTranslate3d(_node3, translate);\n nodes[i].translate = translate;\n }\n\n if (this.newIndex == null) {\n this.newIndex = this.index;\n }\n\n if (isKeySorting) {\n this.newIndex = prevIndex;\n }\n\n var oldIndex = isKeySorting ? this.prevIndex : prevIndex;\n\n if (onSortOver && this.newIndex !== oldIndex) {\n onSortOver({\n collection: this.manager.active.collection,\n index: this.index,\n newIndex: this.newIndex,\n oldIndex: oldIndex,\n isKeySorting: isKeySorting,\n nodes: nodes,\n helper: this.helper\n });\n }\n }\n }, {\n key: \"getWrappedInstance\",\n value: function getWrappedInstance() {\n invariant(config.withRef, 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call');\n return this.refs.wrappedInstance;\n }\n }, {\n key: \"getContainer\",\n value: function getContainer() {\n var getContainer = this.props.getContainer;\n\n if (typeof getContainer !== 'function') {\n return findDOMNode(this);\n }\n\n return getContainer(config.withRef ? this.getWrappedInstance() : undefined);\n }\n }, {\n key: \"render\",\n value: function render() {\n var ref = config.withRef ? 'wrappedInstance' : null;\n return createElement(WrappedComponent, _extends({\n ref: ref\n }, omit(this.props, omittedProps)));\n }\n }, {\n key: \"helperContainer\",\n get: function get() {\n var helperContainer = this.props.helperContainer;\n\n if (typeof helperContainer === 'function') {\n return helperContainer();\n }\n\n return this.props.helperContainer || this.document.body;\n }\n }, {\n key: \"containerScrollDelta\",\n get: function get() {\n var useWindowAsScrollContainer = this.props.useWindowAsScrollContainer;\n\n if (useWindowAsScrollContainer) {\n return {\n left: 0,\n top: 0\n };\n }\n\n return {\n left: this.scrollContainer.scrollLeft - this.initialScroll.left,\n top: this.scrollContainer.scrollTop - this.initialScroll.top\n };\n }\n }, {\n key: \"windowScrollDelta\",\n get: function get() {\n return {\n left: this.contentWindow.pageXOffset - this.initialWindowScroll.left,\n top: this.contentWindow.pageYOffset - this.initialWindowScroll.top\n };\n }\n }]);\n\n return WithSortableContainer;\n }(Component), _defineProperty(_class, \"displayName\", provideDisplayName('sortableList', WrappedComponent)), _defineProperty(_class, \"defaultProps\", defaultProps), _defineProperty(_class, \"propTypes\", propTypes), _defineProperty(_class, \"childContextTypes\", {\n manager: PropTypes.object.isRequired\n }), _temp;\n}\n\nvar propTypes$1 = {\n index: PropTypes.number.isRequired,\n collection: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n disabled: PropTypes.bool\n};\nvar omittedProps$1 = Object.keys(propTypes$1);\nfunction sortableElement(WrappedComponent) {\n var _class, _temp;\n\n var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n withRef: false\n };\n return _temp = _class = function (_React$Component) {\n _inherits(WithSortableElement, _React$Component);\n\n function WithSortableElement() {\n _classCallCheck(this, WithSortableElement);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(WithSortableElement).apply(this, arguments));\n }\n\n _createClass(WithSortableElement, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.register();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n if (this.node) {\n if (prevProps.index !== this.props.index) {\n this.node.sortableInfo.index = this.props.index;\n }\n\n if (prevProps.disabled !== this.props.disabled) {\n this.node.sortableInfo.disabled = this.props.disabled;\n }\n }\n\n if (prevProps.collection !== this.props.collection) {\n this.unregister(prevProps.collection);\n this.register();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.unregister();\n }\n }, {\n key: \"register\",\n value: function register() {\n var _this$props = this.props,\n collection = _this$props.collection,\n disabled = _this$props.disabled,\n index = _this$props.index;\n var node = findDOMNode(this);\n node.sortableInfo = {\n collection: collection,\n disabled: disabled,\n index: index,\n manager: this.context.manager\n };\n this.node = node;\n this.ref = {\n node: node\n };\n this.context.manager.add(collection, this.ref);\n }\n }, {\n key: \"unregister\",\n value: function unregister() {\n var collection = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.props.collection;\n this.context.manager.remove(collection, this.ref);\n }\n }, {\n key: \"getWrappedInstance\",\n value: function getWrappedInstance() {\n invariant(config.withRef, 'To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call');\n return this.refs.wrappedInstance;\n }\n }, {\n key: \"render\",\n value: function render() {\n var ref = config.withRef ? 'wrappedInstance' : null;\n return createElement(WrappedComponent, _extends({\n ref: ref\n }, omit(this.props, omittedProps$1)));\n }\n }]);\n\n return WithSortableElement;\n }(Component), _defineProperty(_class, \"displayName\", provideDisplayName('sortableElement', WrappedComponent)), _defineProperty(_class, \"contextTypes\", {\n manager: PropTypes.object.isRequired\n }), _defineProperty(_class, \"propTypes\", propTypes$1), _defineProperty(_class, \"defaultProps\", {\n collection: 0\n }), _temp;\n}\n\nexport { sortableContainer as SortableContainer, sortableContainer, sortableElement as SortableElement, sortableElement, sortableHandle as SortableHandle, sortableHandle, arrayMove };\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport sortableIcon from '@jetbrains/icons/unsorted-10px.svg';\nimport sortedIcon from '@jetbrains/icons/chevron-10px.svg';\n\nimport Icon from '../icon';\n\nimport style from './table.css';\n\nexport default class HeaderCell extends PureComponent {\n static propTypes = {\n children: PropTypes.any,\n className: PropTypes.string,\n column: PropTypes.object.isRequired,\n onSort: PropTypes.func,\n sortKey: PropTypes.string,\n sortOrder: PropTypes.bool\n };\n\n static defaultProps = {\n onSort: () => {}\n };\n\n onClick = () => {\n if (this.sortable) {\n const {column, onSort, sortOrder} = this.props;\n onSort({column, order: !(this.sorted && sortOrder)});\n }\n };\n\n onChildrenClick(e) {\n e.stopPropagation();\n }\n\n render() {\n const {className, column, onSort, sortKey, sortOrder, ...restProps} = this.props;\n\n this.sortable = column.sortable === true;\n this.sorted = sortKey === column.id;\n\n const glyph = this.sorted ? sortedIcon : sortableIcon;\n\n const classes = classNames(className, column.headerClassName, {\n [style.headerCell]: true,\n [style.headerCellSortable]: this.sortable,\n [style.headerCellSorted]: this.sorted,\n [style.sortedUp]: sortOrder && this.sorted,\n [style.cellRight]: column.rightAlign\n });\n\n return (\n <th\n {...restProps}\n className={classes}\n onClick={this.onClick}\n data-test=\"ring-table-header-cell\"\n >\n {/* onClick only used to stop propagation */}\n <span onClick={this.onChildrenClick} role=\"presentation\">{this.props.children}</span>\n\n {column.getHeaderValue ? column.getHeaderValue() : column.title}\n\n {this.sortable && (\n <span className={style.sorter}>\n <Icon glyph={glyph} className={style.icon}/>\n </span>\n )}\n </th>\n );\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport {Waypoint} from 'react-waypoint';\n\nimport Checkbox from '../checkbox/checkbox';\n\nimport getUID from '../global/get-uid';\n\nimport style from './table.css';\nimport HeaderCell from './header-cell';\n\nconst waypointChild = <tr data-test=\"ring-table-header-row\"/>;\n\nexport default class Header extends PureComponent {\n static propTypes = {\n caption: PropTypes.string,\n selectable: PropTypes.bool,\n draggable: PropTypes.bool,\n checked: PropTypes.bool,\n checkboxDisabled: PropTypes.bool,\n sticky: PropTypes.bool,\n topStickOffset: PropTypes.string,\n onCheckboxChange: PropTypes.func,\n columns: PropTypes.array.isRequired,\n onSort: PropTypes.func,\n sortKey: PropTypes.string,\n sortOrder: PropTypes.bool\n };\n\n static defaultProps = {\n selectable: true,\n draggable: false,\n checked: true,\n sticky: true,\n topStickOffset: '0px',\n onSort: () => {},\n onCheckboxChange: () => {},\n sortKey: 'id',\n sortOrder: true\n };\n\n state = {\n fixed: false,\n headerWidth: null,\n widths: []\n };\n\n id = getUID('table-header-');\n\n onCheckboxFocus = event => {\n event.target.blur();\n };\n\n storeColumnsRowNode = node => {\n if (node) {\n this._columnsRowNode = node;\n this.calculateColumnsWidths(node);\n }\n };\n\n onScrollIn = () => {\n this.calculateColumnsWidths(this._columnsRowNode);\n this.setState({fixed: false});\n };\n\n onScrollOut = ({currentPosition}) => {\n if (currentPosition !== 'above') {\n return;\n }\n this.calculateColumnsWidths(this._columnsRowNode);\n this.setState({fixed: true});\n };\n\n calculateColumnsWidths(columnsRowNode) {\n this.setState({\n headerWidth: columnsRowNode.clientWidth,\n widths: [...columnsRowNode.childNodes].map(column => column.clientWidth)\n });\n }\n\n createCells(widths = []) {\n const {\n selectable, draggable, columns, checked, checkboxDisabled,\n onCheckboxChange, onSort, sortKey, sortOrder\n } = this.props;\n\n const metaColumnClasses = classNames(style.metaColumn, style.headerMetaColumn);\n\n const metaColumn = (\n <div className={metaColumnClasses}>\n {selectable &&\n (\n <Checkbox\n aria-labelledby={this.id}\n disabled={checkboxDisabled}\n checked={checked}\n onChange={onCheckboxChange}\n onFocus={this.onCheckboxFocus}\n />\n )}\n </div>\n );\n\n return columns.map((column, index) => {\n const columnStyle = widths[index] ? {width: widths[index]} : null;\n const props = {column, onSort, sortKey, sortOrder, style: columnStyle};\n return (\n <HeaderCell\n key={column.id}\n {...props}\n >\n {index === 0 && (draggable || selectable) && metaColumn}\n </HeaderCell>\n );\n });\n }\n\n render() {\n const {caption, sticky, topStickOffset} = this.props;\n const {fixed, widths, headerWidth} = this.state;\n\n const regularCells = this.createCells();\n\n return (\n <thead id={this.id} data-test=\"ring-table-header\" className={style.tableHead}>\n {caption && (\n <tr data-test=\"ring-table-header-row\">\n <th\n className={classNames(style.headerCell, style.caption)}\n colSpan={regularCells.length + 1}\n data-test=\"ring-table-header-cell\"\n >{caption}</th>\n </tr>\n )}\n\n {sticky &&\n (\n <Waypoint\n topOffset={topStickOffset}\n onEnter={this.onScrollIn}\n onLeave={this.onScrollOut}\n >\n {waypointChild}\n </Waypoint>\n )\n }\n\n <tr\n className={style.subHeader}\n ref={this.storeColumnsRowNode}\n data-test=\"ring-table-header-row\"\n >{regularCells}</tr>\n\n {fixed && sticky &&\n (\n <tr\n className={style.subHeaderFixed}\n style={{width: headerWidth, top: topStickOffset}}\n data-test=\"ring-table-header-row\"\n >\n {this.createCells(widths)}\n </tr>\n )\n }\n </thead>\n );\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\n\nimport Popup from '../popup/popup';\nimport {Listeners} from '../global/dom';\nimport dataTests from '../global/data-tests';\n\nimport styles from './tooltip.css';\n\n/**\n * @name Tooltip\n */\nexport default class Tooltip extends Component {\n static propTypes = {\n delay: PropTypes.number,\n selfOverflowOnly: PropTypes.bool,\n popupProps: PropTypes.object,\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n children: PropTypes.node,\n 'data-test': PropTypes.string\n };\n\n static defaultProps = {\n title: '',\n selfOverflowOnly: false,\n popupProps: {}\n };\n\n state = {showPopup: false};\n\n componentDidMount() {\n if (this.props.title) {\n this.addListeners();\n }\n }\n\n componentDidUpdate(prevProps) {\n if (!prevProps.title && this.props.title) {\n this.addListeners();\n } else if (prevProps.title && !this.props.title) {\n this.listeners.removeAll();\n }\n }\n\n componentWillUnmount() {\n clearTimeout(this.timeout);\n this.listeners.removeAll();\n }\n\n static PopupProps = Popup.PopupProps;\n\n listeners = new Listeners();\n containerRef = el => {\n this.containerNode = el;\n };\n\n showPopup = () => {\n const {delay, title, selfOverflowOnly} = this.props;\n\n if (!title) {\n return;\n }\n\n const showPopup = () => {\n if (selfOverflowOnly) {\n const {containerNode} = this;\n\n // rare cases when containerNode is null are possible;\n // probably the collision is due to the asynchronous nature of the code,\n // i.e. this code runs after the component is unmounted,\n // although at first glance it looks unlikely.\n if (!containerNode) {\n return;\n }\n\n // inline element?\n if (containerNode.clientWidth === 0 && containerNode.clientHeight === 0) {\n return;\n }\n if (\n containerNode.scrollWidth <= containerNode.clientWidth &&\n containerNode.scrollHeight <= containerNode.clientHeight\n ) {\n return;\n }\n }\n this.setState({showPopup: true});\n };\n\n if (delay) {\n this.timeout = setTimeout(showPopup, delay);\n } else {\n showPopup();\n }\n };\n\n hidePopup = () => {\n clearTimeout(this.timeout);\n this.setState({showPopup: false});\n };\n\n addListeners() {\n this.listeners.add(this.containerNode, 'mouseover', this.showPopup);\n this.listeners.add(this.containerNode, 'mouseout', this.hidePopup);\n this.listeners.add(document, 'scroll', this.hidePopup);\n }\n\n popupRef = el => {\n this.popup = el;\n };\n\n render() {\n const {children, 'data-test': dataTest,\n title, delay, selfOverflowOnly, popupProps, ...restProps} = this.props;\n\n return (\n <span\n {...restProps}\n ref={this.containerRef}\n data-test={dataTests('ring-tooltip', dataTest)}\n >\n {children}\n <Popup\n hidden={!this.state.showPopup}\n onCloseAttempt={this.hidePopup}\n maxHeight={400}\n className={styles.tooltip}\n attached={false}\n top={4}\n dontCloseOnAnchorClick\n ref={this.popupRef}\n {...popupProps}\n >{title}</Popup>\n </span>\n );\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport style from './table.css';\n\nexport default class Cell extends PureComponent {\n static propTypes = {\n children: PropTypes.any,\n className: PropTypes.string\n };\n\n render() {\n const classes = classNames(style.cell, this.props.className);\n return (\n <td\n {...this.props}\n className={classes}\n data-test=\"ring-table-cell\"\n >{this.props.children}</td>\n );\n }\n}\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport {sortableHandle} from 'react-sortable-hoc';\nimport chevronRightIcon from '@jetbrains/icons/chevron-right.svg';\nimport chevronDownIcon from '@jetbrains/icons/chevron-down.svg';\nimport dragIcon from '@jetbrains/icons/drag.svg';\n\nimport focusSensorHOC from '../global/focus-sensor-hoc';\nimport Checkbox from '../checkbox/checkbox';\nimport Button from '../button/button';\nimport Tooltip from '../tooltip/tooltip';\n\nimport getUID from '../global/get-uid';\n\nimport Cell from './cell';\nimport style from './table.css';\n\nconst DragHandle = sortableHandle(({alwaysShowDragHandle}) => {\n const classes = classNames(style.dragHandle, {\n [style.visibleDragHandle]: alwaysShowDragHandle\n });\n\n return (\n <Button\n title=\"Drag\"\n className={classes}\n icon={dragIcon}\n />\n );\n});\n\nclass Row extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n item: PropTypes.object.isRequired,\n columns: PropTypes.array.isRequired,\n selectable: PropTypes.bool,\n showFocus: PropTypes.bool,\n draggable: PropTypes.bool,\n alwaysShowDragHandle: PropTypes.bool,\n selected: PropTypes.bool,\n onHover: PropTypes.func,\n onSelect: PropTypes.func,\n onFocusRestore: PropTypes.func,\n level: PropTypes.number,\n collapsible: PropTypes.bool,\n parentCollapsible: PropTypes.bool,\n collapsed: PropTypes.bool,\n onCollapse: PropTypes.func,\n onExpand: PropTypes.func,\n showDisabledSelection: PropTypes.bool,\n checkboxTooltip: PropTypes.string,\n innerRef: PropTypes.func\n };\n\n static defaultProps = {\n selectable: true,\n showFocus: false,\n draggable: false,\n alwaysShowDragHandle: false,\n selected: false,\n onHover: () => {},\n onSelect: () => {},\n onFocusRestore: () => {},\n level: 0,\n collapsible: false,\n parentCollapsible: false,\n collapsed: false,\n onCollapse: () => {},\n onExpand: () => {}\n };\n\n id = getUID('table-row-');\n\n onMouseEnter = () => {\n const {item, onHover} = this.props;\n onHover(item);\n };\n\n onClick = e => {\n if (e.shiftKey) {\n this.toggleSelection();\n }\n };\n\n onCheckboxFocus = () => {\n this.props.onFocusRestore();\n };\n\n onCheckboxChange = () => {\n this.toggleSelection();\n };\n\n toggleSelection() {\n const {selectable, selected, onSelect} = this.props;\n if (selectable) {\n onSelect(!selected);\n }\n }\n\n rowRef = el => {\n this.row = el;\n if (this.props.innerRef) {\n this.props.innerRef(el);\n }\n };\n\n render() {\n const {\n item, columns, selectable, selected,\n showFocus, draggable, alwaysShowDragHandle, level,\n collapsible, parentCollapsible, collapsed,\n onCollapse, onExpand, showDisabledSelection,\n checkboxTooltip\n } = this.props;\n\n const classes = classNames(this.props.className, {\n [style.row]: true,\n [style.rowFocused]: showFocus,\n [style.rowSelected]: selected\n });\n\n const testAttrs = {\n 'data-test-focused': showFocus || undefined,\n 'data-test-selected': selected || undefined\n };\n\n const metaColumnClasses = style.metaColumn;\n\n const SUBITEM_OFFSET = 30;\n const COLLAPSIBLE_PARENT_OFFSET = 20;\n const gap = level * SUBITEM_OFFSET + (parentCollapsible ? COLLAPSIBLE_PARENT_OFFSET : 0);\n const metaColumnStyle = {\n paddingLeft: `${gap}px`\n };\n\n const metaColumn = (\n <div className={metaColumnClasses} style={metaColumnStyle}>\n {draggable &&\n <DragHandle alwaysShowDragHandle={alwaysShowDragHandle}/>\n }\n\n {selectable &&\n (\n <Tooltip title={checkboxTooltip}>\n <Checkbox\n aria-labelledby={this.id}\n className={showFocus ? 'ring-checkbox_focus' : ''}\n checked={selected}\n onFocus={this.onCheckboxFocus}\n onChange={this.onCheckboxChange}\n tabIndex=\"-1\"\n />\n </Tooltip>\n )\n }\n\n {!selectable && showDisabledSelection &&\n (\n <Tooltip title={checkboxTooltip}>\n <Checkbox\n aria-labelledby={this.id}\n checked={selected}\n disabled\n />\n </Tooltip>\n )\n }\n\n {collapsible && collapsed &&\n (\n <Button\n className={style.rowCollapseExpandButton}\n icon={chevronRightIcon}\n onClick={onExpand}\n />\n )\n }\n\n {collapsible && !collapsed &&\n (\n <Button\n className={style.rowCollapseExpandButton}\n icon={chevronDownIcon}\n onClick={onCollapse}\n />\n )\n }\n </div>\n );\n\n const cells = columns.map((column, index) => {\n const getValue = column.getValue || (() => item[column.id]);\n const value = getValue(item, column);\n const cellClasses = classNames({[style.cellRight]: column.rightAlign}, column.className);\n\n return (\n <Cell key={column.id} className={cellClasses}>\n {index === 0 && (draggable || selectable || showDisabledSelection) && metaColumn}\n {value}\n </Cell>\n );\n });\n\n return (\n <tr\n id={this.id}\n ref={this.rowRef}\n className={classes}\n tabIndex=\"0\"\n onMouseMove={this.onMouseEnter}\n onClick={this.onClick}\n data-test=\"ring-table-row\"\n {...testAttrs}\n >{cells}</tr>\n );\n }\n}\n\nexport default focusSensorHOC(Row);\n","import React, {PureComponent} from 'react';\nimport {sortableElement} from 'react-sortable-hoc';\n\nimport Row from './row';\n\nclass DraggableRow extends PureComponent {\n static propTypes = Row.propTypes;\n\n onFocus = () => {\n this.props.onFocus(this.props.item);\n };\n\n onSelect = selected => {\n this.props.onSelect(this.props.item, selected);\n };\n\n onCollapse = () => {\n this.props.onCollapse(this.props.item);\n };\n\n onExpand = () => {\n this.props.onExpand(this.props.item);\n };\n\n render() {\n return (\n <Row\n {...this.props}\n onFocus={this.onFocus}\n onSelect={this.onSelect}\n onCollapse={this.onCollapse}\n onExpand={this.onExpand}\n />\n );\n }\n}\n\n\nexport default sortableElement(DraggableRow);\n","/**\n * @name Table\n */\n\nimport React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport {arrayMove, sortableContainer} from 'react-sortable-hoc';\n\nimport focusSensorHOC from '../global/focus-sensor-hoc';\nimport getUID from '../global/get-uid';\nimport Shortcuts from '../shortcuts/shortcuts';\nimport Loader from '../loader/loader';\n\nimport Selection from './selection';\nimport Header from './header';\nimport style from './table.css';\nimport DraggableRow from './draggable-row';\nimport selectionShortcutsHOC from './selection-shortcuts-hoc';\nimport disableHoverHOC from './disable-hover-hoc';\n\nconst alwaysFalse = () => false;\n\nconst DraggableRows = sortableContainer(props => {\n const {\n data, getItemKey, selection, selectable,\n isItemSelectable, onRowFocus, onRowSelect,\n getItemLevel, isItemCollapsible, isParentCollapsible,\n isItemCollapsed, onItemCollapse, onItemExpand,\n isDisabledSelectionVisible, getCheckboxTooltip,\n ...restProps\n } = props;\n\n return (\n <tbody data-test=\"ring-table-body\">\n {data.map((item, index) => (\n <DraggableRow\n key={getItemKey(item)}\n level={getItemLevel(item)}\n index={index}\n item={item}\n showFocus={selection.isFocused(item)}\n focused={selection.isFocused(item)}\n selectable={selectable && isItemSelectable(item)}\n selected={selectable && selection.isSelected(item)}\n onFocus={onRowFocus}\n onSelect={onRowSelect}\n collapsible={isItemCollapsible(item)}\n parentCollapsible={isParentCollapsible(item)}\n collapsed={isItemCollapsed(item)}\n onCollapse={onItemCollapse}\n onExpand={onItemExpand}\n showDisabledSelection={isDisabledSelectionVisible(item)}\n checkboxTooltip={getCheckboxTooltip(item)}\n {...restProps}\n />\n ))}\n </tbody>\n );\n});\n\nclass Table extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n loaderClassName: PropTypes.string,\n data: PropTypes.array.isRequired,\n columns: PropTypes.array.isRequired,\n caption: PropTypes.string,\n isItemSelectable: PropTypes.func,\n stickyHeader: PropTypes.bool,\n stickyHeaderOffset: PropTypes.string,\n loading: PropTypes.bool,\n getItemKey: PropTypes.func,\n onSort: PropTypes.func,\n onReorder: PropTypes.func,\n sortKey: PropTypes.string,\n sortOrder: PropTypes.bool,\n draggable: PropTypes.bool,\n alwaysShowDragHandle: PropTypes.bool,\n getItemLevel: PropTypes.func,\n isItemCollapsible: PropTypes.func,\n isParentCollapsible: PropTypes.func,\n isItemCollapsed: PropTypes.func,\n onItemCollapse: PropTypes.func,\n onItemExpand: PropTypes.func,\n isDisabledSelectionVisible: PropTypes.func,\n getCheckboxTooltip: PropTypes.func,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func]),\n\n // focusSensorHOC\n focused: PropTypes.bool,\n onFocusRestore: PropTypes.func,\n\n // selectionShortcutsHOC\n selection: PropTypes.instanceOf(Selection).isRequired,\n selectable: PropTypes.bool,\n onSelect: PropTypes.func,\n shortcutsMap: PropTypes.object,\n\n // disableHoverHOC\n disabledHover: PropTypes.bool,\n\n remoteSelection: PropTypes.bool\n };\n\n static defaultProps = {\n isItemSelectable: () => true,\n loading: false,\n onSort: () => {},\n onReorder: () => {},\n getItemKey: item => item.id,\n sortKey: 'id',\n sortOrder: true,\n draggable: false,\n alwaysShowDragHandle: false,\n stickyHeader: true,\n getItemLevel: () => 0,\n isItemCollapsible: () => false,\n isParentCollapsible: () => false,\n isItemCollapsed: () => false,\n onItemCollapse: () => {},\n onItemExpand: () => {},\n remoteSelection: false,\n isDisabledSelectionVisible: () => {},\n getCheckboxTooltip: () => {}\n };\n\n state = {\n shortcutsEnabled: this.props.selectable && this.props.focused,\n shortcutsScope: getUID('ring-table-'),\n userSelectNone: false\n };\n\n componentDidMount() {\n document.addEventListener('mouseup', this.onMouseUp);\n }\n\n UNSAFE_componentWillReceiveProps(nextProps) {\n const {data, selection, onSelect, selectable} = this.props;\n\n if (data !== nextProps.data && !this.props.remoteSelection) {\n onSelect(selection.cloneWith({data: nextProps.data}));\n }\n\n if (!nextProps.selectable && nextProps.selectable !== selectable) {\n onSelect(selection.resetSelection());\n }\n\n const shortcutsEnabled = nextProps.focused;\n if (shortcutsEnabled !== this.state.shortcutsEnabled) {\n this.setState({shortcutsEnabled});\n }\n }\n\n componentWillUnmount() {\n document.removeEventListener('mouseup', this.onMouseUp);\n }\n\n onMouseDown = e => {\n if (e.shiftKey) {\n this.setState({userSelectNone: true});\n }\n };\n\n onMouseUp = () => {\n if (this.state.userSelectNone) {\n this.setState({userSelectNone: false});\n }\n };\n\n onRowFocus = row => {\n const {selection, onSelect} = this.props;\n onSelect(selection.focus(row));\n };\n\n onRowSelect = (row, selected) => {\n const {selection, onSelect} = this.props;\n if (selected) {\n onSelect(selection.select(row));\n } else {\n onSelect(selection.deselect(row));\n }\n };\n\n onSortEnd = ({oldIndex, newIndex}) => {\n const data = arrayMove(this.props.data, oldIndex, newIndex);\n this.props.onReorder({data, oldIndex, newIndex});\n };\n\n onCheckboxChange = e => {\n const {checked} = e.target;\n const {selection, onSelect} = this.props;\n\n if (checked) {\n onSelect(selection.selectAll());\n } else {\n onSelect(selection.reset());\n }\n\n this.restoreFocusWithoutScroll();\n };\n\n restoreFocusWithoutScroll = () => {\n const {scrollX, scrollY} = window;\n this.props.onFocusRestore();\n window.scrollTo(scrollX, scrollY);\n };\n\n render() {\n const {\n data, selection, columns, caption, getItemKey, selectable,\n isItemSelectable, getItemLevel, draggable, alwaysShowDragHandle,\n loading, onSort, sortKey, sortOrder, loaderClassName, stickyHeader,\n stickyHeaderOffset, isItemCollapsible, isParentCollapsible, isItemCollapsed,\n onItemCollapse, onItemExpand, isDisabledSelectionVisible, getCheckboxTooltip\n } = this.props;\n\n\n // NOTE: Do not construct new object per render because it causes all rows rerendering\n\n const headerProps = {\n caption, selectable, draggable,\n columns, onSort, sortKey, sortOrder,\n sticky: stickyHeader,\n topStickOffset: stickyHeaderOffset\n };\n\n const selectedSize = selection.getSelected().size;\n const allSelectedSize = selection.selectAll().getSelected().size;\n headerProps.checked = selectedSize > 0 && selectedSize === allSelectedSize;\n headerProps.onCheckboxChange = this.onCheckboxChange;\n headerProps.checkboxDisabled = this.props.data.length === 0;\n\n const wrapperClasses = classNames({\n [style.tableWrapper]: true,\n [style.loading]: loading\n });\n\n const classes = classNames(this.props.className, {\n [style.table]: true,\n [style.multiSelection]: selection.getSelected().size > 0,\n [style.userSelectNone]: this.state.userSelectNone,\n [style.disabledHover]: this.props.disabledHover\n });\n\n return (\n <div className={wrapperClasses} data-test=\"ring-table-wrapper\" ref={this.props.innerRef}>\n {this.state.shortcutsEnabled &&\n (\n <Shortcuts\n map={this.props.shortcutsMap}\n scope={this.state.shortcutsScope}\n />\n )\n }\n\n {/* Handler detects that user holds Shift key */}\n <div role=\"presentation\" onMouseDown={this.onMouseDown}>\n <table className={classes} data-test=\"ring-table\">\n <Header {...headerProps}/>\n <DraggableRows\n /* Sortable props */\n useDragHandle\n disabled={!draggable}\n helperClass={style.draggingRow}\n onSortEnd={this.onSortEnd}\n getItemKey={getItemKey}\n shouldCancelStart={alwaysFalse}\n\n /* Row props */\n draggable={draggable}\n alwaysShowDragHandle={alwaysShowDragHandle}\n data={data}\n columns={columns}\n selectable={selectable}\n isItemSelectable={isItemSelectable}\n selection={selection}\n onRowFocus={this.onRowFocus}\n onRowSelect={this.onRowSelect}\n getItemLevel={getItemLevel}\n isItemCollapsible={isItemCollapsible}\n isParentCollapsible={isParentCollapsible}\n isItemCollapsed={isItemCollapsed}\n onItemCollapse={onItemCollapse}\n onItemExpand={onItemExpand}\n isDisabledSelectionVisible={isDisabledSelectionVisible}\n getCheckboxTooltip={getCheckboxTooltip}\n />\n </table>\n </div>\n\n {loading && (\n <div className={style.loadingOverlay}>\n <Loader className={loaderClassName}/>\n </div>\n )}\n </div>\n );\n }\n}\n\nexport default disableHoverHOC(selectionShortcutsHOC(focusSensorHOC(Table)));\n","/**\n * Selection class, catches all selection and activation operations and triggers events\n */\nexport default class Selection {\n suggestedItem = null;\n\n constructor(items, emitEvent, singleActiveElementAsSelection = true) {\n this.items = items;\n this.emitEvent = emitEvent;\n this.singleActiveElementAsSelection = singleActiveElementAsSelection;\n }\n\n setItems(items) {\n this.items = items;\n this.suggestedItem = null;\n this.emitEvent('rgLegacyTable:itemsChanged', items);\n }\n\n activateItem(item) {\n if (item && !item.unselectable) {\n this.clearActivity();\n item.active = true;\n this.emitEvent('rgLegacyTable:activateItem', item, this.items.indexOf(item));\n }\n }\n\n getActiveItem() {\n if (!this.items) {\n return undefined;\n }\n\n return this.items.find(item => item.active);\n }\n\n getActiveItemIndex() {\n return this.items.indexOf(this.getActiveItem());\n }\n\n setActiveItemIndex(index) {\n const item = this.items[index];\n this.activateItem(item);\n }\n\n findNextActiveItem(startIndex, direction) {\n const maxIndex = this.items.length - 1;\n\n if (direction) {\n for (let i = startIndex + 1; i <= maxIndex; i++) {\n if (!this.items[i].unselectable) {\n return this.items[i];\n }\n }\n } else {\n for (let i = startIndex - 1; i >= 0; i--) {\n if (!this.items[i].unselectable) {\n return this.items[i];\n }\n }\n }\n\n return undefined;\n }\n\n activateNextItem() {\n const activeItemIndex = this.items.indexOf(this.getActiveItem());\n if (activeItemIndex === -1 && this.suggestedItem) {\n this.activateItem(this.suggestedItem);\n return this.suggestedItem;\n } else if (activeItemIndex >= 0 && activeItemIndex < this.items.length - 1) {\n const newActiveItem = this.findNextActiveItem(activeItemIndex, 1);\n this.activateItem(newActiveItem);\n return newActiveItem;\n } else {\n this.clearActivity();\n return undefined;\n }\n }\n\n activatePreviousItem() {\n const activeItemIndex = this.items.indexOf(this.getActiveItem());\n if (activeItemIndex === -1 && this.suggestedItem) {\n this.activateItem(this.suggestedItem);\n return this.suggestedItem;\n } else if (activeItemIndex > 0 && activeItemIndex <= this.items.length - 1) {\n const newActiveItem = this.findNextActiveItem(activeItemIndex, 0);\n this.activateItem(newActiveItem);\n return newActiveItem;\n } else {\n this.clearActivity();\n return undefined;\n }\n }\n\n clearSelection() {\n this.clearCheckedItems();\n if (this.singleActiveElementAsSelection) {\n this.clearActivity();\n }\n }\n\n clearCheckedItems() {\n this.items.forEach(item => {\n item.checked = false;\n });\n }\n\n clearActivity() {\n const activeItem = this.getActiveItem();\n if (activeItem) {\n activeItem.active = false;\n }\n this.emitEvent('rgLegacyTable:activateItem', null);\n }\n\n checkItem(item) {\n if (item && !item.uncheckable && !item.unselectable) {\n item.checked = true;\n this.triggerSelectionChanged(item);\n }\n }\n\n uncheckItem(item) {\n if (item) {\n item.checked = false;\n this.triggerSelectionChanged(item);\n }\n }\n\n toggleCheck(item) {\n if (item && !item.uncheckable && !item.unselectable) {\n item.checked = !item.checked;\n this.triggerSelectionChanged(item);\n }\n }\n\n triggerSelectionChanged(item) {\n this.emitEvent('rgLegacyTable:selectionChanged', item);\n }\n\n getCheckedItems() {\n if (!this.items) {\n return [];\n }\n\n return this.items.filter(item => item.checked);\n }\n\n getSelectedItems() {\n const checked = this.getCheckedItems();\n if (!checked.length) {\n const active = this.getActiveItem();\n if (active && this.singleActiveElementAsSelection) {\n return [active];\n } else {\n return [];\n }\n } else {\n return checked;\n }\n }\n\n setSuggestedItem(item) {\n this.suggestedItem = item;\n }\n}\n","/**\n * Class with default hotkey actions (e.g. select, clear selection, move up/down)\n * @param {Selection?} tableSelection selection associated with rg-table\n * (if tableSelection is not defined, use method setSelection to configure instance)\n */\nexport default class SelectionNavigateActions {\n constructor(tableSelection) {\n this._selection = tableSelection;\n this._addSelectionMode = null;\n }\n\n setSelection(tableSelection) {\n this._selection = tableSelection;\n }\n\n moveUp() {\n if (!this._selection) {\n return false;\n }\n const activeItem = this._selection.activatePreviousItem();\n\n if (activeItem && activeItem.unselectable) {\n return this.moveUp();\n }\n\n return !activeItem;\n }\n\n moveDown() {\n if (this._selection) {\n const activeItem = this._selection.activateNextItem();\n if (!activeItem) {\n this._selection.setActiveItemIndex(0);\n } else if (activeItem.unselectable) {\n return this.moveDown();\n }\n }\n return false;\n }\n\n reset() {\n this._addSelectionMode = null;\n return !!this._selection;\n }\n\n selectUp() {\n if (!this._selection) {\n return false;\n }\n this._changeCheckedItemsArray();\n return this.moveUp();\n }\n\n selectDown() {\n if (!this._selection) {\n return false;\n }\n this._changeCheckedItemsArray();\n return this.moveDown();\n }\n\n selectCurrent() {\n if (!this._selection) {\n return false;\n }\n const activeItem = this._selection.getActiveItem();\n if (!activeItem) {\n return true;\n } else {\n this._selection.toggleCheck(activeItem);\n return false;\n }\n }\n\n clearSelection() {\n if (!this._selection) {\n return false;\n }\n const activeItem = this._selection.getActiveItem();\n\n if (activeItem) {\n if (this._selection.getCheckedItems().length > 0) {\n this._selection.clearSelection();\n return false;\n }\n\n this._selection.clearActivity();\n }\n\n return true;\n }\n\n _changeCheckedItemsArray() {\n if (!this._selection) {\n return false;\n }\n const activeItem = this._selection.getActiveItem();\n if (activeItem && !this._addSelectionMode) {\n this._addSelectionMode = activeItem.checked ? 'uncheckItem' : 'checkItem';\n }\n this._selection[this._addSelectionMode](activeItem);\n\n return undefined;\n }\n}\n","import angular from 'angular';\nimport 'dom4';\n\nimport {getDocumentScrollTop} from '../global/dom';\nimport '../table-legacy/table-legacy__toolbar.scss';\nimport scheduleRAF from '../global/schedule-raf';\n\nconst angularModule = angular.module('Ring.table-legacy.toolbar', []);\nangularModule.directive('rgLegacyTableToolbar', function rgLegacyTableToolbarDirective() {\n const scheduleScrollListener = scheduleRAF();\n\n return {\n restrict: 'E',\n replace: true,\n transclude: true,\n template: '<div class=\"ring-table__toolbar\"><div class=\"ring-table__toolbar-controls ring-popup-container-mark\" ng-transclude></div></div>',\n scope: {\n toolbarIsReady: '=?'\n },\n link: function link(scope, iElement, attrs) {\n /**\n * Use plain DOM functions without any jquery. Should work with IE8+\n */\n const element = iElement[0];\n const controlsContainer = element.query('.ring-table__toolbar-controls');\n let savedToolbarTop;\n\n const toolbarScrollListener = () => scheduleScrollListener(() => {\n const scrolledTop = getDocumentScrollTop();\n const elementTop = element.getBoundingClientRect().top + scrolledTop;\n const toolbarTop = savedToolbarTop || elementTop;\n\n if (scrolledTop > toolbarTop && !savedToolbarTop) {\n //save height to style to prevent collapsing after fixing controls\n element.style.height = `${element.offsetHeight}px`;\n savedToolbarTop = toolbarTop;\n controlsContainer.classList.add('ring-table__toolbar-controls_fixed');\n } else if (scrolledTop <= toolbarTop && savedToolbarTop >= 0) {\n savedToolbarTop = null;\n element.style.height = null;\n controlsContainer.classList.remove('ring-table__toolbar-controls_fixed');\n }\n });\n\n //Stick toolbar if sticking is enabled\n if (attrs.stick !== undefined) {\n window.addEventListener('scroll', toolbarScrollListener);\n\n scope.$on('$destroy', () => {\n window.removeEventListener('scroll', toolbarScrollListener);\n });\n }\n\n scope.toolbarIsReady = true;\n }\n };\n});\n\nexport default angularModule.name;\n","import angular from 'angular';\n\nimport Pager from '../pager-ng/pager-ng';\nimport MessageBundle from '../message-bundle-ng/message-bundle-ng';\n\nconst angularModule = angular.module('Ring.table-legacy.pager', [MessageBundle, Pager]);\nangularModule.directive('rgLegacyTablePager', function rgLegacyTablePagerDirective() {\n return {\n restrict: 'E',\n template: require('./table-legacy-ng__pager.html'),\n scope: {},\n bindToController: {\n skip: '=',\n top: '=',\n total: '=',\n onPageChange: '&'\n },\n\n controllerAs: 'pagerCtrl',\n controller: function controller() {\n this.getPage = () => this.top / this.skip;\n }\n };\n});\n\nexport default angularModule.name;\n","import angular from 'angular';\n\nimport 'dom4';\nimport debounce from 'just-debounce-it';\n\nimport {getRect, getStyles, getWindowHeight} from '../global/dom';\nimport PlaceUnder from '../place-under-ng/place-under-ng';\nimport Checkbox from '../checkbox-ng/checkbox-ng';\n\nimport Selection from './table-legacy-ng__selection';\nimport SelectionNavigateActions from './table-legacy-ng__selection-navigate-actions';\nimport TableToolbar from './table-legacy-ng__toolbar';\nimport TablePager from './table-legacy-ng__pager';\n\nimport '../table-legacy/table-legacy.scss';\n\n/**\n * @name Table Legacy Ng\n */\n\nconst angularModule = angular.module(\n 'Ring.table-legacy',\n [TableToolbar, TablePager, Checkbox, PlaceUnder]\n);\n\nangularModule.directive('rgLegacyTable', function rgLegacyTableDirective() {\n return {\n restrict: 'E',\n transclude: true,\n template: require('./table-legacy-ng.html'),\n controllerAs: 'ctrl',\n\n /**\n * {{\n * items: array, items of table\n * selection: {Selection}?, a selection object link can be provided to use it outside the table\n * }}\n */\n scope: {\n items: '=',\n selection: '=?',\n disableSelection: '@'\n },\n\n bindToController: true,\n\n controller: function controller($scope) {\n this.$onInit = () => {\n if (this.disableSelection) {\n return;\n }\n\n /**\n * Create Selection instance first to make sure it is always available\n * @type {Selection}\n */\n this.selection = new Selection(this.items, (name, item, index) => {\n $scope.$emit(name, item, index);\n $scope.$broadcast(name, item, index);\n });\n\n /**\n * Updating items when data is initiated or updated\n */\n $scope.$watch(() => this.items, newItems => {\n if (newItems) {\n this.selection.setItems(newItems);\n }\n });\n };\n }\n };\n});\n\nangularModule.directive('rgLegacyTableHeader',\n function rgLegacyTableHeaderDirective(getClosestElementWithCommonParent) {\n const HEADER_RESIZE_DEBOUNCE = 50;\n const HEADER_SCROLL_DEBOUNCE = 10;\n const TOOLBAR_FIXED_CLASSNAME = 'ring-table__toolbar-controls_fixed';\n\n return {\n restrict: 'E',\n template: require('./table-legacy-ng__header.html'),\n transclude: true,\n replace: true,\n link: function link(scope, iElement, iAttrs) {\n const element = iElement[0];\n let stickToElement = null;\n\n scope.stickToSelector = iAttrs.stickTo;\n\n //Shortcut for placing under table toolbar\n if (iAttrs.stickToToolbar !== undefined) {\n scope.stickToSelector = '.ring-table__toolbar';\n }\n\n const scrollableHeader = element.query('.ring-table__header:not(.ring-table__header_sticky)');\n const fixedHeader = element.query('.ring-table__header_sticky');\n\n const toolbarFixed = () => stickToElement.query(`.${TOOLBAR_FIXED_CLASSNAME}`) !== null;\n\n /**\n * Sync header columns width with real table\n */\n const resizeFixedHeader = debounce(() => {\n fixedHeader.style.width = `${scrollableHeader.offsetWidth}px`;\n const titles = fixedHeader.queryAll('.ring-table__title');\n\n titles.forEach((titleElement, index) => {\n const targetHeaderTitle = scrollableHeader.queryAll('.ring-table__title')[index];\n titleElement.style.width = getStyles(targetHeaderTitle).width;\n });\n\n }, HEADER_RESIZE_DEBOUNCE, true);\n\n /**\n * Toggle headers on scroll. Also resize header columns with some big interval\n */\n const scrollListener = debounce(() => {\n if (toolbarFixed()) {\n fixedHeader.style.display = 'block';\n scrollableHeader.style.visibility = 'hidden';\n } else {\n fixedHeader.style.display = 'none';\n scrollableHeader.style.visibility = 'visible';\n }\n\n resizeFixedHeader();\n }, HEADER_SCROLL_DEBOUNCE);\n\n function startSticking() {\n scope.$evalAsync(() => {\n window.addEventListener('resize', resizeFixedHeader);\n window.addEventListener('scroll', scrollListener);\n scope.$on('rgLegacyTable:itemsChanged', scrollListener);\n });\n }\n\n if (scope.stickToSelector) {\n stickToElement = getClosestElementWithCommonParent(element, scope.stickToSelector);\n startSticking();\n }\n }\n };\n }\n);\n\nangularModule.directive('rgLegacyTableBody', function rgLegacyTableBodyDirective() {\n return {\n restrict: 'E',\n template: '<tbody ng-transclude></tbody>',\n transclude: true,\n replace: true\n };\n});\n\nangularModule.directive('rgLegacyTableRow', function rgLegacyTableRowDirective() {\n return {\n template: require('./table-legacy-ng__row.html'),\n restrict: 'E',\n transclude: true,\n replace: true,\n require: ['^rgLegacyTable', 'rgLegacyTableRow'],\n\n scope: {\n rowItem: '='\n },\n\n link: function link(scope, iElement, iAttrs, ctrls) {\n const rgLegacyTableCtrl = ctrls[0];\n const rgLegacyTableRowCtrl = ctrls[1];\n rgLegacyTableRowCtrl.setSelection(rgLegacyTableCtrl.selection);\n },\n\n controllerAs: 'rowCtrl',\n bindToController: true,\n\n controller: function controller($scope, $element) {\n const element = $element[0];\n\n let watchRowCheckFlag;\n this.setSelection = selection => {\n if (!selection) {\n return;\n }\n\n this.selection = selection;\n\n if (!watchRowCheckFlag) {\n watchRowCheckFlag = $scope.$watch('rowCtrl.rowItem.checked', newValue => {\n if (newValue !== undefined) {\n this.selection.triggerSelectionChanged(this.rowItem);\n }\n });\n }\n };\n\n this.setActiveItem = item => {\n item && !item.unselectable && this.selection && this.selection.activateItem(item);\n };\n\n this.onMouseOver = item => {\n item && !item.unselectable && this.selection && this.selection.setSuggestedItem(item);\n };\n\n this.onMouseOut = item => {\n item &&\n this.selection &&\n item === this.selection.suggestedItem && this.selection.setSuggestedItem(null);\n };\n\n this.hasCheckedItems = () => {\n if (!this.selection) {\n return false;\n }\n //TODO: cache this operation if there are performance issues\n const checkedItems = this.selection.getCheckedItems();\n return checkedItems && checkedItems.length > 0;\n };\n\n function getRowOutOfViewInfo(el, offsetInRows) {\n const rect = getRect(el);\n const offset = rect.height * offsetInRows;\n\n const isGoneUp = rect.top < offset;\n const isGoneDown = rect.bottom > (getWindowHeight() - offset);\n\n return {\n offset,\n isOutOfView: isGoneDown || isGoneUp,\n isGoneUp,\n isGoneDown\n };\n }\n\n function addSpacingAfterScroll(offset) {\n if (window.scrollY) {\n window.scrollBy(0, offset);\n }\n }\n\n $scope.$on('rgLegacyTable:activateItem', (e, item) => {\n if (item === this.rowItem) {\n const scrollInfo = getRowOutOfViewInfo(element, 2);\n if (scrollInfo.isOutOfView) {\n element.scrollIntoView(scrollInfo.isGoneUp);\n addSpacingAfterScroll(scrollInfo.isGoneDown ? scrollInfo.offset : -scrollInfo.offset);\n }\n }\n });\n }\n };\n});\n\nangularModule.\n directive('rgLegacyTableHeaderCheckbox', function rgLegacyTableHeaderCheckboxDirective() {\n return {\n restrict: 'E',\n require: '^rgLegacyTable',\n replace: true,\n template: '<span class=\"ring-table__header-checkbox\"><rg-checkbox ng-click=\"onClickChange()\" ng-model=\"allChecked\"/></span>',\n\n link: function link(scope, iElement, iAttrs, tableCtrl) {\n // TODO: reduce number of recheckSelection() calls\n scope.allChecked = false;\n\n function recheckSelection() {\n if (tableCtrl.items && tableCtrl.items.length) {\n scope.allChecked = tableCtrl.items.every(item => item.checked);\n } else {\n scope.allChecked = false;\n }\n }\n\n function markAllItemsAs(state) {\n tableCtrl.items.forEach(item => {\n item.checked = state;\n });\n }\n\n scope.$on('rgLegacyTable:itemsChanged', () => {\n if (scope.allChecked) {\n markAllItemsAs(true);\n }\n recheckSelection();\n });\n scope.$on('rgLegacyTable:selectionChanged', recheckSelection);\n\n scope.onClickChange = () => {\n markAllItemsAs(scope.allChecked);\n };\n }\n };\n });\n\n/**\n * A checkbox cell for table. Uses rg-table-row parent directive as model host\n */\nangularModule.directive('rgLegacyTableCheckboxCell', function rgLegacyTableCheckboxCellDirective() {\n return {\n restrict: 'E',\n transclude: true,\n require: '^rgLegacyTableRow',\n replace: true,\n template: `\n<td class=\"ring-table__selector ring-table__column_selector\" ng-class=\"{\\'ring-table__column\\': !isEmbedded}\">\n <rg-checkbox ng-model=\"getRowItem().checked\" title=\"{{getTitle()}}\" aria-label=\"{{geAriaLabel()}}\"/>\n</td>\n `.trim(),\n\n link: function link(scope, iElement, iAttrs, rowCtrl) {\n /**\n * rowItem getter to use it as ng-model for checkbox\n */\n scope.getRowItem = () => rowCtrl.rowItem;\n scope.getTitle = () => iAttrs.title || rowCtrl.rowItem.name;\n scope.geAriaLabel = () => iAttrs.ariaLabel;\n scope.isEmbedded = angular.isDefined(iAttrs.embedded);\n }\n };\n});\n\n/**\n * Table title wrapper, receive next attributes:\n * {{\n border: whether or not title contain right border\n active: makes title more bolder\n }}\n */\nangularModule.directive('rgLegacyTableTitle', function rgLegacyTableTitleDirective() {\n return {\n restrict: 'E',\n transclude: true,\n replace: true,\n scope: true,\n template: require('./table-legacy-ng__title.html'),\n\n link: function link(scope, iElement, iAttrs) {\n /**\n * One time property assigning without watching through isolated scope helps to improve performance\n */\n scope.isBorder = angular.isDefined(iAttrs.border);\n scope.isActive = angular.isDefined(iAttrs.active);\n scope.isPullRight = angular.isDefined(iAttrs.pullRight);\n scope.isAlignRight = angular.isDefined(iAttrs.alignRight);\n scope.isPullLeft = angular.isDefined(iAttrs.pullLeft);\n }\n };\n});\n\n/**\n * Column wrapper, receive next attributes:\n * {{\n limited: is column width should be limited,\n wide: for wide columns\n avatar: for columns contains avatar\n }}\n */\nangularModule.directive('rgLegacyTableColumn', function rgLegacyTableColumnDirective() {\n return {\n restrict: 'E',\n transclude: true,\n replace: true,\n scope: true,\n template: require('./table-legacy-ng__column.html'),\n\n link: function link(scope, iElement, iAttrs) {\n const element = iElement[0];\n const FULL_WIDTH = 100;\n\n scope.isLimited = angular.isDefined(iAttrs.limited);\n scope.isUnlimited = angular.isDefined(iAttrs.unlimited);\n scope.isAvatar = angular.isDefined(iAttrs.avatar);\n scope.isWide = angular.isDefined(iAttrs.wide);\n scope.isAlignRight = angular.isDefined(iAttrs.alignRight);\n scope.isGray = angular.isDefined(iAttrs.gray);\n scope.isPullRight = angular.isDefined(iAttrs.pullRight);\n scope.isPullLeft = angular.isDefined(iAttrs.pullLeft);\n\n function adjustUnlimitedColumnWidths() {\n const unlimitedColumnsCount = element.parentNode.\n queryAll('.ring-table__column[unlimited]').length;\n if (unlimitedColumnsCount > 1) {\n element.style.width = `${(FULL_WIDTH / unlimitedColumnsCount).toFixed()}%`;\n }\n }\n\n if (scope.isUnlimited) {\n adjustUnlimitedColumnWidths();\n }\n }\n };\n});\n\n/**\n * Class with default hotkeys navigation actions (e.g. select, clear selection, move up/down)\n */\nangularModule.constant('SelectionNavigateActions', SelectionNavigateActions);\n\nexport default angularModule.name;\n","/**\n * @name Table Ng\n */\nimport angularComponentFactory from '../global/angular-component-factory';\nimport Table from '../table/table';\n\nexport default angularComponentFactory(Table, 'Table').name;\n","import angular from 'angular';\n\nimport className from 'classnames';\n\nimport styles from '../tabs/tabs.css';\nimport Theme from '../global/theme';\n\n/**\n * @name Tabs Ng\n */\n\nconst angularModule = angular.module('Ring.tabs', []);\n\nangularModule.directive('rgTabs', function rgTabsDirective($location, $rootScope) {\n return {\n restrict: 'E',\n transclude: true,\n template: require('./tabs-ng.html'),\n replace: true,\n\n scope: {\n tabParameter: '@',\n tabsClass: '=',\n control: '=?',\n disableLocationChanging: '=',\n theme: '@?'\n },\n\n controller: function controller($scope) {\n $scope.panes = [];\n $scope.current = null;\n $scope.styles = styles;\n $scope.theme = $scope.theme || Theme.LIGHT;\n\n function getTabIdFromUrl() {\n return $location.search()[$scope.tabParameter];\n }\n\n function doSelect(newPane, skipUrlUpdate) {\n if (newPane === $scope.current || newPane.ngDisabled) {\n return;\n }\n\n for (let index = 0; index < $scope.panes.length; index++) {\n const pane = $scope.panes[index];\n\n // Update current tab\n if (pane === newPane || pane.tabId === newPane) {\n $scope.current = newPane;\n pane.selected = true;\n\n if (!skipUrlUpdate) {\n $location.search($scope.tabParameter, newPane.tabId);\n }\n } else { // Deselect all other\n pane.selected = false;\n }\n }\n }\n\n function getNextPaneIndex(reverseOrder) {\n const currentTabIndex = $scope.panes.indexOf($scope.current);\n let next = currentTabIndex;\n\n do {\n next += (reverseOrder ? -1 : 1);\n } while (next > -1 && next < $scope.panes.length && $scope.panes[next].ngDisabled);\n\n if (next >= $scope.panes.length) {\n next = $scope.panes.length - 1;\n } else if (next < 0) {\n next = 0;\n }\n\n // if no suitable tab found till the end of array\n if ($scope.panes[next].ngDisabled) {\n return currentTabIndex;\n }\n\n return next;\n }\n\n function getCurrentTab() {\n const currentTabId = getTabIdFromUrl();\n\n if (currentTabId) {\n const currentTab = $scope.panes.find(pane => pane.tabId === currentTabId);\n\n if (currentTab && !currentTab.ngDisabled) {\n return currentTab;\n } else {\n return $scope.panes[getNextPaneIndex()];\n }\n } else {\n return $scope.panes[0];\n }\n }\n\n // controller methods\n\n function checkCurrentTab() {\n if ($scope.panes.length) {\n doSelect(getCurrentTab(), true);\n }\n }\n\n this.addTab = tab => {\n $scope.panes.push(tab);\n\n if ($scope.panes.length === 1 || tab.tabId === getTabIdFromUrl()) {\n doSelect(tab, true);\n }\n };\n\n this.removeTab = tab => {\n const index = $scope.panes.indexOf(tab);\n\n $scope.panes.splice(index, 1);\n checkCurrentTab();\n };\n\n this.checkPane = checkCurrentTab;\n\n // scope\n\n $scope.$on('$destroy', $rootScope.$on('$routeUpdate', checkCurrentTab));\n\n // Exposed methods\n $scope.control = {};\n\n $scope.control.isLast =\n () => $scope.panes.indexOf($scope.current) === $scope.panes.length - 1;\n\n $scope.control.isFirst = () => $scope.panes.indexOf($scope.current) === 0;\n\n $scope.control.select = pane => {\n doSelect(pane, $scope.disableLocationChanging);\n };\n\n $scope.control.next = () => {\n const next = getNextPaneIndex();\n doSelect($scope.panes[next], $scope.disableLocationChanging);\n };\n\n $scope.control.prev = () => {\n const prev = getNextPaneIndex(true);\n doSelect($scope.panes[prev], $scope.disableLocationChanging);\n };\n\n $scope.keyMap = {\n next: $scope.control.next,\n prev: $scope.control.prev,\n focus: () => {\n $scope.focus = !$scope.focus;\n return !$scope.focus;\n }\n };\n\n // For some reason ng-class doesn't work properly on tabs.\n // From time to time several tabs look like selected despite correct scope state.\n // I think this bug depends on the frequency of addTab calls (actually on digests)\n // and ng-class detection of added and removed classes becomes broken.\n // @maxim.erekhinskiy\n $scope.tabClass = pane => className(styles.title, {\n [styles.selected]: pane.selected\n });\n\n this.$onInit = () => {\n if (!$scope.tabParameter) {\n $scope.tabParameter = 'tab';\n }\n };\n }\n };\n});\n\nangularModule.directive('rgTabsPane', function rgTabsPaneDirective() {\n return {\n require: '^rgTabs',\n restrict: 'E',\n transclude: true,\n\n scope: {\n title: '@',\n counter: '@',\n tabId: '@?',\n tabIndex: '@?',\n selected: '=?',\n ngDisabled: '=?'\n },\n\n link: function link(scope, element, attrs, tabsCtrl) {\n scope.tabId = scope.tabId || scope.title.toLowerCase().replace(' ', '-');\n scope.tabIndex = scope.tabIndex ? +scope.tabIndex : 0;\n\n tabsCtrl.addTab(scope);\n\n scope.$on('$destroy', () => {\n tabsCtrl.removeTab(scope);\n });\n },\n\n template: '<div class=\"ring-tabs__content\" ng-class=\"{\\'ring-tabs__content_active\\':selected}\" ng-if=\"selected\" ng-transclude></div>'\n };\n});\n\nexport default angularModule.name;\n","import React, {Component, PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport getEventKey from '../global/get-event-key';\nimport Select from '../select/select';\nimport TagsList from '../tags-list/tags-list';\nimport Caret from '../caret/caret';\nimport memoize from '../global/memoize';\nimport rerenderHOC from '../global/rerender-hoc';\n\nimport styles from './tags-input.css';\n\nfunction noop() {}\n\n/**\n * @name Tags Input\n */\n\nconst POPUP_VERTICAL_SHIFT = 2;\n\nexport default class TagsInput extends PureComponent {\n static propTypes = {\n className: PropTypes.string,\n tags: PropTypes.array,\n /**\n * Datasource should return array(or promise) of suggestions.\n * Each suggestion should contain key and label fields.\n * DataSource should handle caching and response racing (when later request\n * responded earlier) by himself.\n */\n dataSource: PropTypes.func,\n onAddTag: PropTypes.func,\n onRemoveTag: PropTypes.func,\n customTagComponent: (props, propName, componentName) => {\n if (props[propName] && !props[propName].prototype instanceof Component) {\n return new Error(`Invalid prop ${propName} supplied to ${componentName}. Validation failed.`);\n }\n return null;\n },\n maxPopupHeight: PropTypes.number,\n minPopupWidth: PropTypes.number,\n placeholder: PropTypes.string,\n canNotBeEmpty: PropTypes.bool,\n disabled: PropTypes.bool,\n autoOpen: PropTypes.bool,\n renderOptimization: PropTypes.bool,\n legacyMode: PropTypes.bool,\n filter: PropTypes.oneOfType([PropTypes.bool, PropTypes.shape({fn: PropTypes.func})]),\n\n loadingMessage: PropTypes.string,\n notFoundMessage: PropTypes.string,\n allowAddNewTags: PropTypes.bool\n };\n\n static defaultProps = {\n dataSource: noop,\n onAddTag: noop,\n onRemoveTag: noop,\n customTagComponent: null,\n maxPopupHeight: 500,\n minPopupWidth: 360,\n canNotBeEmpty: false,\n disabled: false,\n autoOpen: false,\n renderOptimization: true,\n legacyMode: false,\n allowAddNewTags: false,\n filter: {fn: () => true},\n placeholder: 'Select an option'\n };\n\n state = {\n tags: [],\n prevTags: null,\n suggestions: [],\n loading: true,\n focused: false,\n query: '',\n activeIndex: 0\n };\n\n static getDerivedStateFromProps({tags}, {prevTags}) {\n const nextState = {prevTags: tags};\n if (tags != null && tags !== prevTags) {\n Object.assign(nextState, {tags, activeIndex: tags.length});\n }\n return nextState;\n }\n\n componentDidMount() {\n if (this.props.autoOpen && !this.props.disabled) {\n this.focusInput();\n this.loadSuggestions();\n this.select._showPopup();\n }\n }\n\n static ngModelStateField = 'tags';\n\n nodeRef = node => {\n this.node = node;\n };\n\n ngModelStateField = TagsInput.ngModelStateField;\n\n getInputNode() {\n if (!this.input) {\n this.input = this.select.filter;\n this.caret = new Caret(this.input);\n }\n return this.input;\n }\n\n setActiveIndex(activeIndex) {\n this.setState({activeIndex});\n }\n\n focusInput = () => {\n this.getInputNode().focus();\n };\n\n addTag = tag => {\n const isUniqueTag = this.state.tags.filter(item => tag.key === item.key).length === 0;\n this.select.clear();\n this.select.filterValue('');\n\n if (isUniqueTag) {\n this.setState(prevState => ({\n tags: prevState.tags.concat([tag])\n }));\n this.props.onAddTag({tag});\n this.setActiveIndex();\n }\n };\n\n onRemoveTag(tagToRemove) {\n return Promise.resolve(this.props.onRemoveTag({tag: tagToRemove})).\n then(() => {\n const tags = this.state.tags.filter(tag => tag !== tagToRemove);\n if (this.node) {\n this.setState({tags});\n this.focusInput();\n }\n return tags;\n }, this.focusInput);\n }\n\n clickHandler = event => {\n if (event.target !== this.node) {\n return;\n }\n\n this.loadSuggestions(this.getInputNode().value);\n this.focusInput();\n };\n\n filterExistingTags = suggestions => {\n const tagsMap = new Map(this.state.tags.map(tag => [tag.key, tag]));\n return suggestions.filter(suggestion => !tagsMap.has(suggestion.key));\n };\n\n loadSuggestions = async (query = '') => {\n this.setState({loading: true, query});\n try {\n let allSuggestions = this.props.dataSource({query});\n if (typeof allSuggestions.then === 'function') {\n allSuggestions = await allSuggestions;\n }\n const suggestions = this.filterExistingTags(allSuggestions);\n if (this.node && query === this.state.query) {\n this.setState({suggestions, loading: false});\n }\n } catch (e) {\n this.setState({loading: false});\n }\n };\n\n _focusHandler = () => {\n this.setActiveIndex(null);\n this.setState({focused: true});\n };\n\n _blurHandler = () => {\n this.setState({focused: false});\n };\n\n selectTag = moveForward => {\n const activeIndex = typeof this.state.activeIndex === 'number'\n ? this.state.activeIndex\n : this.state.tags.length + 1;\n let newActiveIndex = activeIndex + (moveForward ? 1 : -1);\n\n if (newActiveIndex >= this.state.tags.length) {\n newActiveIndex = this.state.tags.length - 1;\n } else if (newActiveIndex < 0) {\n newActiveIndex = 0;\n }\n\n if (this.state.activeIndex !== newActiveIndex) {\n this.setActiveIndex(newActiveIndex);\n }\n };\n\n handleKeyDown = event => {\n const key = getEventKey(event);\n const isInputFocused = () => event.target.matches(this.getInputNode().tagName);\n\n if (key === ' ' && this.props.allowAddNewTags) {\n event.stopPropagation();\n const value = this.getInputNode().value;\n if (value !== '') {\n this.handleTagCreation(value);\n }\n return true;\n }\n\n if (this.select._popup.isVisible()) {\n return true;\n }\n\n\n if (key === 'ArrowLeft') {\n if (this.getInputNode() && this.caret.getPosition() > 0) {\n return true;\n }\n\n this.selectTag();\n return false;\n }\n\n if (key === 'ArrowRight' && !isInputFocused(event)) {\n if (this.state.activeIndex === this.state.tags.length - 1) {\n if (!this.props.disabled) {\n this.getInputNode().focus();\n this.setActiveIndex();\n }\n } else {\n this.selectTag(true);\n }\n return false;\n }\n\n if (!this.props.disabled) {\n if (key === 'Backspace' && !this.getInputNode().value) {\n event.preventDefault();\n const tagsLength = this.state.tags.length;\n this.select._hidePopup(true); // otherwise confirmation may be overlapped by popup\n this.onRemoveTag(this.state.tags[tagsLength - 1]);\n return false;\n }\n\n if ((key === 'Delete' || key === 'Backspace') && this.state.tags[this.state.activeIndex]) {\n this.onRemoveTag(this.state.tags[this.state.activeIndex]).\n then(() => this.selectTag(true));\n return false;\n }\n }\n\n return true;\n };\n\n handleClick = memoize(tag => () => {\n this.setActiveIndex(this.state.tags.indexOf(tag));\n });\n\n handleRemove = memoize(tag => () => this.onRemoveTag(tag));\n\n handleTagCreation = label => {\n this.addTag({key: label, label});\n };\n\n selectRef = el => {\n this.select = el;\n };\n\n render() {\n const {focused, tags, activeIndex} = this.state;\n const {legacyMode, disabled, canNotBeEmpty, allowAddNewTags, filter} = this.props;\n const classes = classNames(\n styles.tagsInput,\n {\n [styles.tagsInputDisabled]: disabled,\n [styles.tagsInputFocused]: focused,\n [styles.tagsInputLegacyMode]: legacyMode\n },\n this.props.className);\n\n return (\n <div\n // it transfers focus to input\n role=\"presentation\"\n className={classes}\n onKeyDown={this.handleKeyDown}\n onClick={this.clickHandler}\n ref={this.nodeRef}\n >\n <TagsList\n tags={tags}\n activeIndex={activeIndex}\n disabled={disabled}\n canNotBeEmpty={canNotBeEmpty}\n handleRemove={this.handleRemove}\n className={styles.tagsList}\n tagClassName={styles.tag}\n handleClick={this.handleClick}\n >\n <Select\n ref={this.selectRef}\n size={Select.Size.AUTO}\n type={Select.Type.INPUT_WITHOUT_CONTROLS}\n inputPlaceholder={this.props.placeholder}\n data={this.state.suggestions}\n className={classNames(styles.tagsSelect)}\n onSelect={this.addTag}\n onFocus={this._focusHandler}\n onBlur={this._blurHandler}\n renderOptimization={this.props.renderOptimization}\n add={allowAddNewTags ? {prefix: 'Add new tag'} : undefined}\n onAdd={allowAddNewTags ? this.handleTagCreation : undefined}\n filter={filter}\n maxHeight={this.props.maxPopupHeight}\n minWidth={this.props.minPopupWidth}\n top={POPUP_VERTICAL_SHIFT}\n loading={this.state.loading}\n onFilter={this.loadSuggestions}\n onBeforeOpen={this.loadSuggestions}\n onKeyDown={this.handleKeyDown}\n disabled={this.props.disabled}\n\n loadingMessage={this.props.loadingMessage}\n notFoundMessage={this.props.notFoundMessage}\n />\n </TagsList>\n\n {!legacyMode && <div className={styles.underline}/>}\n {!legacyMode && <div className={styles.focusUnderline}/>}\n </div>\n );\n }\n}\n\nexport const RerenderableTagsInput = rerenderHOC(TagsInput, {captureNode: false});\n\n","/**\n * @name Tags Input Ng\n */\nimport angularComponentFactory from '../global/angular-component-factory';\nimport TagsInput from '../tags-input/tags-input';\n\nexport default angularComponentFactory(TagsInput, 'TagsInput').name;\n","/**\n * @name Title Ng\n */\nimport angular from 'angular';\n\nconst angularModule = angular.module('Ring.title', []);\n\nangularModule.directive('rgPageTitle', function rgPageTitleDirective() {\n return ({\n scope: {\n rgPageTitle: '@?',\n noTitle: '@?',\n delimiter: '@'\n },\n\n controller: function controller($rootScope, $scope, $element, $attrs, pageTitle, $injector) {\n const element = $element[0];\n\n // Get title prefix from title element\n const elementText = element.textContent;\n let offScopeWatch = angular.noop;\n\n // Set page title on route change\n const offRouteWatch = $rootScope.$on('$routeChangeSuccess', (event, current) => {\n //Do nothing if we're being redirected\n if (current.$$route && current.$$route.redirectTo) { // eslint-disable-line angular/no-private-call\n return;\n }\n let routeTitle = current.$$route && current.$$route.title; // eslint-disable-line angular/no-private-call\n\n pageTitle.setCurrent($scope.rgPageTitle || elementText);\n\n // Use title: false to prevent title change on route\n if (routeTitle !== false) {\n if (angular.isArray(routeTitle) || angular.isFunction(routeTitle)) {\n //Invoke injector\n routeTitle = $injector.invoke(routeTitle);\n }\n pageTitle.addElement(routeTitle || $scope.noTitle);\n }\n });\n\n $scope.$on('$destroy', () => {\n offRouteWatch();\n offScopeWatch();\n });\n\n this.$onInit = () => {\n pageTitle.setDelimiter($scope.delimiter);\n\n if ($attrs.rgPageTitle) {\n offScopeWatch = $scope.$watch('rgPageTitle', newBaseTitle => {\n pageTitle.setRootElement(newBaseTitle);\n });\n }\n };\n }\n });\n});\n\nangularModule.service('pageTitle', function service($interpolate, $document) {\n let delimiter = ' | ';\n let current = $document[0].title;\n\n function setTitle(text) {\n current = text && $interpolate(text)();\n updateDocumentTitle(current);\n }\n\n function updateDocumentTitle(text) {\n $document[0].title = text;\n }\n\n function prepend(element) {\n setTitle(current ? element + delimiter + current : element);\n }\n\n function replacePart(element, replaceIndex = 0) {\n const titleElements = current.split(delimiter);\n titleElements[replaceIndex === -1 ? titleElements.length - 1 : replaceIndex] = element;\n\n setTitle(titleElements.join(delimiter));\n }\n\n this.setDelimiter = newDelimiter => {\n delimiter = newDelimiter || delimiter;\n };\n\n this.setCurrent = newBase => {\n current = newBase;\n };\n\n this.setText = text => updateDocumentTitle(text);\n\n this.addElement = (element, fieldName) => {\n if (element.$promise) {\n element.$promise.then(Data => {\n this.addElement(Data[fieldName || 'name']);\n });\n } else {\n prepend(fieldName ? element[fieldName] : element);\n }\n };\n\n this.updateElement = (element, fieldName) => {\n if (element.$promise) {\n element.$promise.then(Data => {\n this.updateElement(Data[fieldName || 'name']);\n });\n } else {\n replacePart(fieldName ? element[fieldName] : element);\n }\n };\n\n this.setRootElement = element => {\n replacePart(element, -1);\n };\n});\n\nexport default angularModule.name;\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport {withTheme} from '../global/theme';\nimport dataTests from '../global/data-tests';\n\nimport styles from './toggle.css';\n\n/**\n * @name Toggle\n */\n\nclass Toggle extends PureComponent {\n static propTypes = {\n children: PropTypes.node,\n name: PropTypes.string,\n className: PropTypes.string,\n title: PropTypes.string,\n leftLabel: PropTypes.node,\n defaultChecked: PropTypes.bool,\n checked: PropTypes.bool,\n disabled: PropTypes.bool,\n pale: PropTypes.bool,\n onChange: PropTypes.func,\n onTransitionEnd: PropTypes.func,\n theme: PropTypes.string,\n 'data-test': PropTypes.string\n };\n\n render() {\n const {className, children, disabled, pale, title, leftLabel, theme, 'data-test': dataTest,\n onTransitionEnd, ...restProps} = this.props;\n\n const classes = classNames(\n className,\n styles.toggle,\n styles[theme],\n disabled && styles.disabled\n );\n\n return (\n <label\n className={classes}\n title={title}\n data-test={dataTests('ring-toggle', dataTest)}\n >\n {leftLabel && <span className={styles.leftLabel}>{leftLabel}</span>}\n\n <span className={styles.switchWrapper}>\n <input\n data-test=\"ring-toggle-input\"\n {...restProps}\n type=\"checkbox\"\n disabled={disabled}\n className={styles.input}\n />\n\n <span\n className={classNames(styles.switch, pale && styles.paleSwitch)}\n onTransitionEnd={onTransitionEnd}\n />\n </span>\n\n {children && <span className={styles.label}>{children}</span>}\n </label>\n );\n }\n}\nexport default withTheme()(Toggle);\n","import angular from 'angular';\n\nimport 'dom4';\nimport {createElement} from 'react';\nimport {render} from 'react-dom';\nimport classNames from 'classnames';\n\nimport Popup from '../popup/popup';\n\nimport './tooltip-ng.scss';\n\n/**\n * @name Tooltip Ng\n*/\n\nconst OPEN_CLASS = 'ring-tooltip-ng_open';\n\n\nconst name = angular.module('Ring.tooltip', []);\n\nname.directive('rgTooltip', function rgTooltipDirective(RgTooltipPopup) {\n return {\n restrict: 'A',\n\n link: function link(scope, iElement, iAttrs) {\n const element = iElement[0];\n const getTooltipText = () => {\n try {\n return scope.$eval(iAttrs.rgTooltip);\n } catch (err) {\n return iAttrs.rgTooltip;\n }\n };\n const popupWrapper = new RgTooltipPopup(element, getTooltipText);\n\n element.addEventListener('mouseover', () => {\n popupWrapper.displayTooltip(iAttrs.rgTooltipClass);\n element.classList.add(OPEN_CLASS);\n });\n\n element.addEventListener('mouseout', () => {\n popupWrapper.hideTooltip();\n element.classList.remove(OPEN_CLASS);\n });\n }\n };\n});\n\nname.factory('RgTooltipPopup', function RgTooltipPopupDirective() {\n // eslint-disable-next-line func-names\n return function (anchorElement, textGetter) {\n this.wrapperElement = document.createElement('span');\n\n this.defaultProps = {\n anchorElement,\n maxHeight: 400,\n attached: false,\n dontCloseOnAnchorClick: true\n };\n\n this.renderPopup = props => {\n this.popup = render(\n createElement(Popup, {\n ...this.defaultProps,\n ...props\n }, this.text),\n this.wrapperElement\n );\n };\n\n this.displayTooltip = customClass => {\n const text = textGetter();\n if (!text) {\n return;\n }\n\n this.text = text;\n\n const className = classNames({\n 'ring-tooltip-ng': true\n }, customClass);\n\n this.renderPopup({\n hidden: false,\n className\n });\n };\n\n this.hideTooltip = () => {\n this.renderPopup({\n hidden: true\n });\n };\n };\n});\n\nexport default name.name;\n","import React, {useCallback, useState} from 'react';\nimport {Select} from '@jetbrains/ring-ui';\nimport '@jetbrains/ring-ui/components/input-size/input-size.scss';\nimport {IWindow, Option, Props, State} from \"./types\";\n\nconst WithFuzzySearchFilterComponent: React.FC<Props> = ({data}: Props) => {\n const [selected, onSelected] = useState<Option>(data[0]);\n const onChangeSelected = useCallback(\n (option: Option) => {\n window.location.replace(`${(window as IWindow).pathToRoot}${option.location}?query=${option.name}`)\n onSelected(option);\n },\n [data]\n );\n return (\n <div className=\"search-container\">\n <div className=\"search\">\n <Select\n selectedLabel=\"Search\"\n label=\"Please type page name\"\n filter={{fuzzy: true}}\n clear\n selected={selected}\n data={data}\n onSelect={onChangeSelected}\n />\n </div>\n </div>\n )\n}\n\nexport const WithFuzzySearchFilter = () => {\n let data: Option[] = [];\n const pages = (window as IWindow).pages;\n if (pages) {\n data = pages.map((page, i) => ({\n ...page,\n label: page.name,\n key: i + 1,\n type: page.kind\n }));\n }\n\n return <WithFuzzySearchFilterComponent data={data}/>;\n};\n","import React, {useEffect, useRef, useState} from 'react';\nimport {WithFuzzySearchFilter} from '../search/search';\nimport './index.scss';\n\nfunction useComponentVisible(initialIsVisible: boolean) {\n const [isComponentVisible, setIsComponentVisible] = useState(initialIsVisible);\n const ref = useRef(null);\n\n const handleHideDropdown = (event: KeyboardEvent) => {\n if (event.key === \"Escape\") {\n setIsComponentVisible(false);\n }\n };\n\n const handleClickOutside = (event : MouseEvent)=> {\n // @ts-ignore\n if (ref.current && !ref.current.contains(event.target)) {\n setIsComponentVisible(false);\n }\n };\n\n useEffect(() => {\n document.addEventListener(\"keydown\", handleHideDropdown, false);\n document.addEventListener(\"click\", handleClickOutside, false);\n return () => {\n document.removeEventListener(\"keydown\", handleHideDropdown, false);\n document.removeEventListener(\"click\", handleClickOutside, false);\n };\n });\n\n return { ref, isComponentVisible, setIsComponentVisible };\n}\n\nconst App: React.FC = () => {\n const {\n ref,\n isComponentVisible,\n setIsComponentVisible\n } = useComponentVisible(false);\n\n return <div ref={ref} className=\"search-content\">\n {isComponentVisible && (<WithFuzzySearchFilter/>)}\n {!isComponentVisible && (\n <span onClick={() => setIsComponentVisible(true)}>\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><path d=\"M19.64 18.36l-6.24-6.24a7.52 7.52 0 1 0-1.28 1.28l6.24 6.24zM7.5 13.4a5.9 5.9 0 1 1 5.9-5.9 5.91 5.91 0 0 1-5.9 5.9z\"/></svg>\n </span>)}\n </div>\n}\n\nexport default App\n","import React from 'react';\nimport {render} from 'react-dom';\nimport RedBox from 'redbox-react';\n\nimport App from \"./app\";\nimport './app/index.scss';\n\nconst appEl = document.getElementById('searchBar');\nconst rootEl = document.createElement('div');\n\nlet renderApp = () => {\n render(\n <App/>,\n rootEl\n );\n};\n\n// @ts-ignore\nif (module.hot) {\n const renderAppHot = renderApp;\n const renderError = (error: Error) => {\n render(\n <RedBox error={error}/>,\n rootEl\n );\n };\n\n renderApp = () => {\n try {\n renderAppHot();\n } catch (error) {\n renderError(error);\n }\n };\n\n // @ts-ignore\n module.hot.accept('./app', () => {\n setTimeout(renderApp);\n });\n}\n\nrenderApp();\nappEl!.appendChild(rootEl);\n"],"sourceRoot":""} \ No newline at end of file