webpackJsonp([10,2],{1010:function(t,e,n){"use strict";function i(t,e,n){e.toggleClass("i-hidden",""===t.val()),n.fire(t.val())}function o(t){var e,n,o,s=$(c);return t.addClass&&s.addClass(t.addClass),t.withoutControls&&s.addClass("tv-search-row--without-controls"),e=s.find(".js-input-control"),n=s.find(".js-reset-button"),t.placeholder&&e.attr("placeholder",t.placeholder),n[0].addEventListener("click",function(){e.val("").trigger("input").focus()}),o=new r.a,e.on("input propertychange",i.bind(null,e,n,o)),i(e,n,o),{$control:s,$input:e,inputChangedDelegate:o}}var s,r,a,l,d,c;Object.defineProperty(e,"__esModule",{value:!0}),e.createSearchControl=o,s=n(8),r=n.n(s),a=n(325),n.n(a),l=n(1011),n.n(l),d=n(1012),n.n(d),c='
'+a+''+l+"
"},1011:function(t,e){t.exports=''},1012:function(t,e){},1099:function(t,e,n){"use strict";function i(t,e){this.fieldsExtractor=t,this.callback=e,this.regExps=[]}var o=n(322).regExpEscape;i.prototype.onInput=function(t){this.query=t,this.createRegexps(t),this.search()},i.prototype.createRegexps=function(t){this.regExps=[],t&&this.regExps.push(RegExp("("+t.split("").map(function(t){return o(t)}).join(")(.*?)(")+")","i"))},i.prototype.match=function(t){var e,n,i,o;for(e=0;e").text(t).html(),0===e.length)return t;for(n=0;n$'+a+"":"$"+a;if((s=t.replace(i,o))&&s!==t)return s}}t.exports.highlightText=i},1102:function(t,e){},1247:function(t,e,n){"use strict";(function(e,i,o){function s(){ this.title=$.t("Load Chart Layout"),this._removeDialogShown=!1,this.options={},this.matchedItems=[],this.itemsData=[],this.qs=new _(this.fieldsExtractor,this.searchResult.bind(this)),this.sortObj=new f(this.modifiedCompare),this.nameSort=new f(this.nameCompare),this.symbolSort=new f(this.symbolCompare),this.toolsSort=new f(this.toolsCompare),this.offset=0,c.on("chart_loaded",s.onChartLoaded,this)}function r(t){return t.getAttribute("data-id")}var a,l,d,c=n(31),u=n(188).createDialog,h=n(1010).createSearchControl,_=n(1099).QuickSearch,f=n(1100).SortObject,p=n(1101).highlightText;a='
{{#withFavs}}
'+n(870)+''+n(869)+'
{{/withFavs}}
{{title}}
{{modifiedDate}}
{{chartSymbol}}
'+n(828)+"
",l='
'+$.t("Chart Layout Name")+'
'+$.t("Last Modified")+'
'+$.t("Active Symbol")+'
',d=50,s.onChartLoaded=function(){this.itemsData&&this.itemsData.length>0&&this._refreshChartsList()},s.prototype.fieldsExtractor=function(t){var e=s.symbolWrap(t);return[t.title,e]},s.prototype.saveFavorite=function(t,e){ e?this.favorites[t]=e:delete this.favorites[t]},s.prototype.filterFavorites=function(){var t={};this.itemsData.map(function(e){this.favorites.hasOwnProperty(e.id)&&(t[e.id]=!0)}.bind(this)),this.favorites=t},s.prototype.getFavorite=function(t){return this.favorites.hasOwnProperty(t)},s.prototype._onFavoriteClicked=function(t,e,n){this.saveFavorite(t.id,e),this.filterFavorites(),this.fillList(),t.favoriteAction(this.favorites),n.preventDefault()},s.prototype._onItemClicked=function(t,e){e.defaultPrevented||(e.preventDefault(),t.openAction())},s.prototype._onRemoveButtonClicked=function(t,e){var n=this,i=$.Deferred();this._removeDialogShown=!0,i.done(function(){n.removeItem(t)}).always(function(){setTimeout(function(){n._removeDialogShown=!1})}),t.deleteAction(i,t.title),e.preventDefault()},s.prototype._createListItem=function(t){return e.render(a,{id:t.id,isActive:t.active(),title:t.title,url:t.url,withFavs:i.enabled("items_favoriting"),starred:this.getFavorite(t.id),modifiedDate:o.unix(t.modified).format("L LT"),chartSymbol:""===t.symbol?"multiple charts":t.symbol+", "+t.interval})},s.prototype.removeItem=function(t){var e=this.itemsData.indexOf(t);e>-1&&this.itemsData.splice(e,1),this.setChartsData(this.itemsData)},s.prototype.modifiedCompare=function(t,e){var n=t.modified,i=e.modified;return o(i).diff(o(n))},s.prototype.nameCompare=function(t,e){return t.title.localeCompare(e.title)},s.symbolWrap=function(t){return""===t.symbol?"multiple charts":t.symbol+" "+t.interval},s.prototype.symbolCompare=function(t,e){return s.symbolWrap(t).localeCompare(s.symbolWrap(e))},s.prototype.toolsCompare=function(t,e){var n=t.toolsCount,i=e.toolsCount;return n=this.matchedItems.length)){for(t=Math.min(this.offset+d,this.matchedItems.length),e="", n=this.offset;n");s.append(o.$control),s.append('
'),this.content=$("
").appendTo(s.find(".tv-load-chart-dialog-table")),this.header=this.layoutHeader(),this.setSort(),this.itemsListContainer=$('
').data({localScroll:!0}).appendTo(this.content),this.itemsList=$('
').appendTo(this.itemsListContainer),$('
').text($.t("There are no saved charts")).appendTo(this.itemsListContainer),this.itemsListContainer.on("click",".js-remove-button",function(t){var e=n._findItemById(r(t.currentTarget));n._onRemoveButtonClicked(e,t),t.stopPropagation()}).on("click",".js-table-row",function(t){var e=n._findItemById(r(t.currentTarget));n._onItemClicked(e,t),t.preventDefault()}).on("scrolltoend",function(){n.showMoreData()}),i.enabled("items_favoriting")&&this.itemsListContainer.on("click",".js-empty-star",function(t){var e=n._findItemById(r(t.currentTarget));n._onFavoriteClicked(e,!0,t),t.stopPropagation()}).on("click",".js-filled-star",function(t){var e=n._findItemById(r(t.currentTarget));n._onFavoriteClicked(e,!1,t),t.stopPropagation()}),this.header.children(".tv-load-chart-dialog-table__column--header").click($.proxy(this,"sortClick")),o.inputChangedDelegate.subscribe(this.qs,this.qs.onInput),this.favorites=e,this.setChartsData(t),this.qs.onInput(""), this._dialog&&this._dialog.close(),this._dialog=u({title:this.title,width:600,height:550,content:s,contentWrapTemplate:"
",destroyOnClose:!0,withScroll:!1,isClickOutFn:function(){return!this._removeDialogShown&&void 0}.bind(this)}),this._dialog.open()},s.prototype.highlightOccurrences=function(t){0!==t.length&&this.itemsList.children(".js-table-row").each(function(){var e,n=$(this).find(".js-column-name"),i=n.text();i=p(i,t),n.html(i),e=$(this).find(".js-column-symbol"),i=e.text(),i=p(i,t),e.html(i)})},t.exports.LoadChartDialog=s}).call(e,n(126),n(5),n(854))},188:function(t,e,n){"use strict";function i(t){var e=t.type||"popup";return delete t.type,"modal"===e?new o.TVModal(t):new s.TVPopup(t)}var o,s;Object.defineProperty(e,"__esModule",{value:!0}),o=n(837),s=n(843),e.createDialog=i},690:function(t,e,n){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),i=n(839),n.n(i),n.o(i,"TVDialogAbstract")&&n.d(e,"TVDialogAbstract",function(){return i.TVDialogAbstract}),n.o(i,"closeAllDialogs")&&n.d(e,"closeAllDialogs",function(){return i.closeAllDialogs})},826:function(t,e,n){(function(t){!function(e,n){t.exports=n()}(0,function(){"use strict";function e(){return An.apply(null,arguments)}function i(t){An=t}function o(t){return"[object Array]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function r(t,e){var n,i=[];for(n=0;n0)for(n in zi)i=zi[n],void 0!==(o=e[i])&&(t[i]=o);return t}function p(t){f(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),!1===Ei&&(Ei=!0,e.updateOffset(this),Ei=!1)}function m(t){return t instanceof p||null!=t&&null!=t._isAMomentObject}function g(t){return t<0?Math.ceil(t):Math.floor(t)}function y(t){ var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=g(e)),n}function v(t,e,n){var i,o=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),r=0;for(i=0;i0;){if(i=D(o.slice(0,e).join("-")))return i;if(n&&n.length>=e&&v(o,n,!0)>=e-1)break;e--}s++}return null}function D(e){var i=null;if(!Bi[e]&&void 0!==t&&t&&t.exports)try{i=Pn._abbr,n(963)("./"+e),$(i)}catch(t){}return Bi[e]}function $(t,e){var n;return t&&(n=void 0===e?k(t):T(t,e))&&(Pn=n),Pn._abbr}function T(t,e){return null!==e?(e.abbr=t,Bi[t]=Bi[t]||new b,Bi[t].set(e),$(t),Bi[t]):(delete Bi[t],null)}function k(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Pn;if(!o(t)){if(e=D(t))return e;t=[t]}return w(t)}function S(t,e){var n=t.toLowerCase();Ui[n]=Ui[n+"s"]=Ui[e]=t}function L(t){return"string"==typeof t?Ui[t]||Ui[t.toLowerCase()]:void 0}function Y(t){var e,n,i={};for(n in t)a(t,n)&&(e=L(n))&&(i[e]=t[n]);return i}function C(t,n){return function(i){return null!=i?(x(this,t,i),e.updateOffset(this,n),this):O(this,t)}}function O(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function x(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function H(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=L(t),"function"==typeof this[t])return this[t](e);return this}function j(t,e,n){var i=""+Math.abs(t),o=e-i.length;return(t>=0?n?"+":"":"-")+(""+Math.pow(10,Math.max(0,o))).substr(1)+i}function W(t,e,n,i){var o=i;"string"==typeof i&&(o=function(){return this[i]()}),t&&(Ni[t]=o),e&&(Ni[e[0]]=function(){return j(o.apply(this,arguments),e[1],e[2])}),n&&(Ni[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function A(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function P(t){var e,n,i=t.match(Gi);for(e=0,n=i.length;e=0&&Vi.test(t);)t=t.replace(Vi,n),Vi.lastIndex=0,i-=1;return t}function z(t){return"function"==typeof t&&"[object Function]"===Object.prototype.toString.call(t)}function E(t,e,n){lo[t]=z(e)?e:function(t){return t&&n?n:e}}function B(t,e){return a(lo,t)?lo[t](e._strict,e._locale):RegExp(U(t))}function U(t){return t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,o){return e||n||i||o}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function G(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){n[e]=y(t)}),n=0;n11?ho:n[_o]<1||n[_o]>N(n[uo],n[ho])?_o:n[fo]<0||n[fo]>24||24===n[fo]&&(0!==n[po]||0!==n[mo]||0!==n[go])?fo:n[po]<0||n[po]>59?po:n[mo]<0||n[mo]>59?mo:n[go]<0||n[go]>999?go:-1,u(t)._overflowDayOfYear&&(e_o)&&(e=_o),u(t).overflow=e),t}function et(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function nt(t,e){var n=!0;return l(function(){return n&&(et(t+"\n"+Error().stack),n=!1),e.apply(this,arguments)},e)}function it(t,e){zn[t]||(et(e),zn[t]=!0)}function ot(t){var e,n,i=t._i,o=En.exec(i);if(o){for(u(t).iso=!0,e=0,n=Bn.length;eo&&(s-=7),s0?t:t-1, dayOfYear:s>0?s:lt(t-1)+s}}function yt(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function vt(t,e,n){return null!=t?t:null!=e?e:n}function bt(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Mt(t){var e,n,i,o,s=[];if(!t._d){for(i=bt(t),t._w&&null==t._a[_o]&&null==t._a[ho]&&wt(t),t._dayOfYear&&(o=vt(t._a[uo],i[uo]),t._dayOfYear>lt(o)&&(u(t)._overflowDayOfYear=!0),n=at(o,0,t._dayOfYear),t._a[ho]=n.getUTCMonth(),t._a[_o]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[fo]&&0===t._a[po]&&0===t._a[mo]&&0===t._a[go]&&(t._nextDay=!0,t._a[fo]=0),t._d=(t._useUTC?at:rt).apply(null,s),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[fo]=24)}}function wt(t){var e,n,i,o,s,r,a;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(s=1,r=4,n=vt(e.GG,t._a[uo],ut(Ot(),1,4).year),i=vt(e.W,1),o=vt(e.E,1)):(s=t._locale._week.dow,r=t._locale._week.doy,n=vt(e.gg,t._a[uo],ut(Ot(),s,r).year),i=vt(e.w,1),null!=e.d?(o=e.d)0&&u(t).unusedInput.push(r),a=a.slice(a.indexOf(i)+i.length),d+=i.length),Ni[s]?(i?u(t).empty=!1:u(t).unusedTokens.push(s),J(s,i,t)):t._strict&&!i&&u(t).unusedTokens.push(s);u(t).charsLeftOver=l-d,a.length>0&&u(t).unusedInput.push(a),!0===u(t).bigHour&&t._a[fo]<=12&&t._a[fo]>0&&(u(t).bigHour=void 0),t._a[fo]=$t(t._locale,t._a[fo],t._meridiem),Mt(t),tt(t)}function $t(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function Tt(t){var e,n,i,o,s;if(0===t._f.length)return u(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;othis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qt(){var t,e;return void 0!==this._isDSTShifted?this._isDSTShifted:(t={},f(t,this),t=Lt(t),t._a?(e=t._isUTC?d(t._a):Ot(t._a),this._isDSTShifted=this.isValid()&&v(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted)}function Rt(){return!this._isUTC}function Zt(){return this._isUTC}function Qt(){return this._isUTC&&0===this._offset}function Xt(t,e){var n,i,o,s=t,r=null;return At(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(s={},e?s[e]=t:s.milliseconds=t):(r=Zn.exec(t))?(n="-"===r[1]?-1:1,s={y:0,d:y(r[_o])*n,h:y(r[fo])*n,m:y(r[po])*n,s:y(r[mo])*n,ms:y(r[go])*n}):(r=Qn.exec(t))?(n="-"===r[1]?-1:1,s={y:Kt(r[2],n),M:Kt(r[3],n),d:Kt(r[4],n),h:Kt(r[5],n),m:Kt(r[6],n),s:Kt(r[7],n),w:Kt(r[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(o=ee(Ot(s.from),Ot(s.to)),s={},s.ms=o.milliseconds,s.M=o.months),i=new Wt(s), At(t)&&a(t,"_locale")&&(i._locale=t._locale),i}function Kt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function te(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function ee(t,e){var n;return e=It(e,t),t.isBefore(e)?n=te(t,e):(n=te(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function ne(t,e){return function(n,i){var o,s;return null===i||isNaN(+i)||(it(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),s=n,n=i,i=s),n="string"==typeof n?+n:n,o=Xt(n,i),ie(this,o,t),this}}function ie(t,n,i,o){var s=n._milliseconds,r=n._days,a=n._months;o=null==o||o,s&&t._d.setTime(+t._d+s*i),r&&x(t,"Date",O(t,"Date")+r*i),a&&Q(t,O(t,"Month")+a*i),o&&e.updateOffset(t,r||a)}function oe(t,e){var n=t||Ot(),i=It(n,this).startOf("day"),o=this.diff(i,"days",!0),s=o<-6?"sameElse":o<-1?"lastWeek":o<0?"lastDay":o<1?"sameDay":o<2?"nextDay":o<7?"nextWeek":"sameElse";return this.format(e&&e[s]||this.localeData().calendar(s,this,Ot(n)))}function se(){return new p(this)}function re(t,e){return e=L(void 0!==e?e:"millisecond"),"millisecond"===e?(t=m(t)?t:Ot(t),+this>+t):(m(t)?+t:+Ot(t))<+this.clone().startOf(e)}function ae(t,e){var n;return e=L(void 0!==e?e:"millisecond"),"millisecond"===e?(t=m(t)?t:Ot(t),+this<+t):(n=m(t)?+t:+Ot(t),+this.clone().endOf(e)11?n?"pm":"PM":n?"am":"AM"}function Ze(t,e){e[go]=y(1e3*("0."+t))}function Qe(){return this._isUTC?"UTC":""}function Xe(){return this._isUTC?"Coordinated Universal Time":""}function Ke(t){return Ot(1e3*t)}function tn(){return Ot.apply(null,arguments).parseZone()}function en(t,e,n){var i=this._calendar[t];return"function"==typeof i?i.call(e,n):i}function nn(t){ var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function on(){return this._invalidDate}function sn(t){return this._ordinal.replace("%d",t)}function rn(t){return t}function an(t,e,n,i){var o=this._relativeTime[n];return"function"==typeof o?o(t,e,n,i):o.replace(/%d/i,t)}function ln(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)}function dn(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function cn(t,e,n,i){var o=k(),s=d().set(i,e);return o[n](s,t)}function un(t,e,n,i,o){var s,r;if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return cn(t,e,n,o);for(r=[],s=0;s=0&&r>=0&&a>=0||s<=0&&r<=0&&a<=0||(s+=864e5*Mn($n(a)+r),r=0,a=0),l.milliseconds=s%1e3,t=g(s/1e3),l.seconds=t%60,e=g(t/60),l.minutes=e%60,n=g(e/60),l.hours=n%24,r+=g(n/24),o=g(Dn(r)),a+=o,r-=Mn($n(o)),i=g(a/12),a%=12,l.days=r,l.months=a,l.years=i,this}function Dn(t){return 4800*t/146097}function $n(t){return 146097*t/4800}function Tn(t){var e,n,i=this._milliseconds;if("month"===(t=L(t))||"year"===t)return e=this._days+i/864e5,n=this._months+Dn(e),"month"===t?n:n/12;switch(e=this._days+Math.round($n(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw Error("Unknown unit "+t)}}function kn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)}function Sn(t){return function(){return this.as(t)}}function Ln(t){return t=L(t),this[t+"s"]()}function Yn(t){return function(){return this._data[t]}}function Cn(){return g(this.days()/7)}function On(t,e,n,i,o){return o.relativeTime(e||1,!!n,t,i)}function xn(t,e,n){ var i=Xt(t).abs(),o=Ai(i.as("s")),s=Ai(i.as("m")),r=Ai(i.as("h")),a=Ai(i.as("d")),l=Ai(i.as("M")),d=Ai(i.as("y")),c=o0,c[4]=n,On.apply(null,c)}function Hn(t,e){return void 0!==Pi[t]&&(void 0===e?Pi[t]:(Pi[t]=e,!0))}function jn(t){var e=this.localeData(),n=xn(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Wn(){var t,e,n,i,o,s,r,a,l=Fi(this._milliseconds)/1e3,d=Fi(this._days),c=Fi(this._months),u=g(l/60),h=g(u/60);return l%=60,u%=60,t=g(c/12),c%=12,e=t,n=c,i=d,o=h,s=u,r=l,a=this.asSeconds(),a?(a<0?"-":"")+"P"+(e?e+"Y":"")+(n?n+"M":"")+(i?i+"D":"")+(o||s||r?"T":"")+(o?o+"H":"")+(s?s+"M":"")+(r?r+"S":""):"P0D"}var An,Pn,Fn,In,zn,En,Bn,Un,Gn,Vn,Jn,Nn,qn,Rn,Zn,Qn,Xn,Kn,ti,ei,ni,ii,oi,si,ri,ai,li,di,ci,ui,hi,_i,fi,pi,mi,gi,yi,vi,bi,Mi,wi,Di,$i,Ti,ki,Si,Li,Yi,Ci,Oi,xi,Hi,ji,Wi,Ai,Pi,Fi,Ii,zi=e.momentProperties=[],Ei=!1,Bi={},Ui={},Gi=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Vi=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ji={},Ni={},qi=/\d/,Ri=/\d\d/,Zi=/\d{3}/,Qi=/\d{4}/,Xi=/[+-]?\d{6}/,Ki=/\d\d?/,to=/\d{1,3}/,eo=/\d{1,4}/,no=/[+-]?\d{1,6}/,io=/\d+/,oo=/[+-]?\d+/,so=/Z|[+-]\d\d:?\d\d/gi,ro=/[+-]?\d+(\.\d{1,3})?/,ao=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,lo={},co={},uo=0,ho=1,_o=2,fo=3,po=4,mo=5,go=6;for(W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),W("MMMM",0,0,function(t){return this.localeData().months(this,t)}),S("month","M"),E("M",Ki),E("MM",Ki,Ri),E("MMM",ao),E("MMMM",ao),G(["M","MM"],function(t,e){e[ho]=y(t)-1}),G(["MMM","MMMM"],function(t,e,n,i){var o=n._locale.monthsParse(t,i,n._strict);null!=o?e[ho]=o:u(n).invalidMonth=t}),Fn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),In="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),zn={},e.suppressDeprecationWarnings=!1,En=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],Un=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Gn=/^\/?Date\((\-?\d+)/i,e.createFromInputFallback=nt("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"), W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),S("year","y"),E("Y",oo),E("YY",Ki,Ri),E("YYYY",eo,Qi),E("YYYYY",no,Xi),E("YYYYYY",no,Xi),G(["YYYYY","YYYYYY"],uo),G("YYYY",function(t,n){n[uo]=2===t.length?e.parseTwoDigitYear(t):y(t)}),G("YY",function(t,n){n[uo]=e.parseTwoDigitYear(t)}),e.parseTwoDigitYear=function(t){return y(t)+(y(t)>68?1900:2e3)},Vn=C("FullYear",!1),W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),S("week","w"),S("isoWeek","W"),E("w",Ki),E("ww",Ki,Ri),E("W",Ki),E("WW",Ki,Ri),V(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=y(t)}),Jn={dow:0,doy:6},W("DDD",["DDDD",3],"DDDo","dayOfYear"),S("dayOfYear","DDD"),E("DDD",to),E("DDDD",Zi),G(["DDD","DDDD"],function(t,e,n){n._dayOfYear=y(t)}),e.ISO_8601=function(){},Nn=nt("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=Ot.apply(null,arguments);return tthis?this:t}),Pt("Z",":"),Pt("ZZ",""),E("Z",so),E("ZZ",so),G(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ft(t)}),Rn=/([\+\-]|\d\d)/gi,e.updateOffset=function(){},Zn=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Qn=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Xt.fn=Wt.prototype,Xn=ne(1,"add"),Kn=ne(-1,"subtract"),e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",ti=nt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)}),W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Oe("gggg","weekYear"),Oe("ggggg","weekYear"),Oe("GGGG","isoWeekYear"),Oe("GGGGG","isoWeekYear"),S("weekYear","gg"),S("isoWeekYear","GG"),E("G",oo),E("g",oo),E("GG",Ki,Ri),E("gg",Ki,Ri),E("GGGG",eo,Qi),E("gggg",eo,Qi),E("GGGGG",no,Xi),E("ggggg",no,Xi),V(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=y(t)}),V(["gg","GG"],function(t,n,i,o){n[o]=e.parseTwoDigitYear(t)}),W("Q",0,0,"quarter"),S("quarter","Q"),E("Q",qi),G("Q",function(t,e){e[ho]=3*(y(t)-1)}),W("D",["DD",2],"Do","date"),S("date","D"),E("D",Ki),E("DD",Ki,Ri),E("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),G(["D","DD"],_o),G("Do",function(t,e){e[_o]=y(t.match(Ki)[0],10)}),ei=C("Date",!0),W("d",0,"do","day"),W("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),W("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),W("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),S("day","d"),S("weekday","e"),S("isoWeekday","E"),E("d",Ki),E("e",Ki),E("E",Ki),E("dd",ao),E("ddd",ao),E("dddd",ao),V(["dd","ddd","dddd"],function(t,e,n){var i=n._locale.weekdaysParse(t);null!=i?e.d=i:u(n).invalidWeekday=t}), V(["d","e","E"],function(t,e,n,i){e[i]=y(t)}),ni="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),W("H",["HH",2],0,"hour"),W("h",["hh",2],0,function(){return this.hours()%12||12}),Je("a",!0),Je("A",!1),S("hour","h"),E("a",Ne),E("A",Ne),E("H",Ki),E("h",Ki),E("HH",Ki,Ri),E("hh",Ki,Ri),G(["H","HH"],fo),G(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),G(["h","hh"],function(t,e,n){e[fo]=y(t),u(n).bigHour=!0}),si=/[ap]\.?m?\.?/i,ri=C("Hours",!0),W("m",["mm",2],0,"minute"),S("minute","m"),E("m",Ki),E("mm",Ki,Ri),G(["m","mm"],po),ai=C("Minutes",!1),W("s",["ss",2],0,"second"),S("second","s"),E("s",Ki),E("ss",Ki,Ri),G(["s","ss"],mo),li=C("Seconds",!1),W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),S("millisecond","ms"),E("S",to,qi),E("SS",to,Ri),E("SSS",to,Zi),di="SSSS";di.length<=9;di+="S")E(di,io);for(di="S";di.length<=9;di+="S")G(di,Ze);return ci=C("Milliseconds",!1),W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName"),ui=p.prototype,ui.add=Xn,ui.calendar=oe,ui.clone=se,ui.diff=ce,ui.endOf=we,ui.format=fe,ui.from=pe,ui.fromNow=me,ui.to=ge,ui.toNow=ye,ui.get=H,ui.invalidAt=Ce,ui.isAfter=re,ui.isBefore=ae,ui.isBetween=le,ui.isSame=de,ui.isValid=Le,ui.lang=ti,ui.locale=ve,ui.localeData=be,ui.max=qn,ui.min=Nn,ui.parsingFlags=Ye,ui.set=H,ui.startOf=Me,ui.subtract=Kn,ui.toArray=ke,ui.toObject=Se,ui.toDate=Te,ui.toISOString=_e,ui.toJSON=_e,ui.toString=he,ui.unix=$e,ui.valueOf=De,ui.year=Vn,ui.isLeapYear=ct,ui.weekYear=He,ui.isoWeekYear=je,ui.quarter=ui.quarters=Pe,ui.month=X,ui.daysInMonth=K,ui.week=ui.weeks=pt,ui.isoWeek=ui.isoWeeks=mt,ui.weeksInYear=Ae,ui.isoWeeksInYear=We,ui.date=ei,ui.day=ui.days=Ue,ui.weekday=Ge,ui.isoWeekday=Ve,ui.dayOfYear=yt,ui.hour=ui.hours=ri,ui.minute=ui.minutes=ai,ui.second=ui.seconds=li,ui.millisecond=ui.milliseconds=ci,ui.utcOffset=Et,ui.utc=Ut,ui.local=Gt,ui.parseZone=Vt,ui.hasAlignedHourOffset=Jt,ui.isDST=Nt,ui.isDSTShifted=qt,ui.isLocal=Rt,ui.isUtcOffset=Zt,ui.isUtc=Qt,ui.isUTC=Qt,ui.zoneAbbr=Qe,ui.zoneName=Xe,ui.dates=nt("dates accessor is deprecated. Use date instead.",ei),ui.months=nt("months accessor is deprecated. Use month instead",X),ui.years=nt("years accessor is deprecated. Use year instead",Vn),ui.zone=nt("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Bt),hi=ui,_i={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},fi={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"},pi="Invalid date",mi="%d",gi=/\d{1,2}/,yi={future:"in %s",past:"%s ago",s:"a few 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"},vi=b.prototype,vi._calendar=_i,vi.calendar=en,vi._longDateFormat=fi,vi.longDateFormat=nn,vi._invalidDate=pi,vi.invalidDate=on,vi._ordinal=mi,vi.ordinal=sn,vi._ordinalParse=gi,vi.preparse=rn,vi.postformat=rn,vi._relativeTime=yi,vi.relativeTime=an,vi.pastFuture=ln,vi.set=dn,vi.months=q,vi._months=Fn,vi.monthsShort=R,vi._monthsShort=In,vi.monthsParse=Z,vi.week=ht,vi._week=Jn,vi.firstDayOfYear=ft,vi.firstDayOfWeek=_t,vi.weekdays=Ie,vi._weekdays=ni,vi.weekdaysMin=Ee,vi._weekdaysMin=oi,vi.weekdaysShort=ze,vi._weekdaysShort=ii,vi.weekdaysParse=Be,vi.isPM=qe,vi._meridiemParse=si,vi.meridiem=Re,$("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===y(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=nt("moment.lang is deprecated. Use moment.locale instead.",$),e.langData=nt("moment.langData is deprecated. Use moment.localeData instead.",k),bi=Math.abs,Mi=Sn("ms"),wi=Sn("s"),Di=Sn("m"),$i=Sn("h"),Ti=Sn("d"),ki=Sn("w"),Si=Sn("M"),Li=Sn("y"),Yi=Yn("milliseconds"),Ci=Yn("seconds"),Oi=Yn("minutes"),xi=Yn("hours"),Hi=Yn("days"),ji=Yn("months"),Wi=Yn("years"),Ai=Math.round,Pi={s:45,m:45,h:22,d:26,M:11},Fi=Math.abs,Ii=Wt.prototype,Ii.abs=gn,Ii.add=vn,Ii.subtract=bn,Ii.as=Tn,Ii.asMilliseconds=Mi,Ii.asSeconds=wi,Ii.asMinutes=Di,Ii.asHours=$i,Ii.asDays=Ti,Ii.asWeeks=ki,Ii.asMonths=Si,Ii.asYears=Li,Ii.valueOf=kn,Ii._bubble=wn,Ii.get=Ln,Ii.milliseconds=Yi,Ii.seconds=Ci,Ii.minutes=Oi,Ii.hours=xi,Ii.days=Hi,Ii.weeks=Cn,Ii.months=ji,Ii.years=Wi,Ii.humanize=jn,Ii.toISOString=Wn,Ii.toString=Wn,Ii.toJSON=Wn,Ii.locale=ve,Ii.localeData=be,Ii.toIsoString=nt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),Ii.lang=ti,W("X",0,0,"unix"),W("x",0,0,"valueOf"),E("x",oo),E("X",ro),G("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),G("x",function(t,e,n){n._d=new Date(y(t))}),e.version="2.10.6",i(Ot),e.fn=hi,e.min=Ht,e.max=jt,e.utc=d,e.unix=Ke,e.months=hn,e.isDate=s,e.locale=$,e.invalid=_,e.duration=Xt,e.isMoment=m,e.weekdays=fn,e.parseZone=tn,e.localeData=k,e.isDuration=At,e.monthsShort=_n,e.weekdaysMin=mn,e.defineLocale=T,e.weekdaysShort=pn,e.normalizeUnits=L,e.relativeTimeThreshold=Hn,e})}).call(e,n(51)(t))},827:function(t,e,n){"use strict";function i(t){return t in $.fn?Promise.resolve():(r||(r=new Promise(function(t){n.e(31).then(function(e){n(831),t()}.bind(null,n)).catch(n.oe)})),r)}function o(t){return new a(t)}var s,r,a;Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"LazyJqueryUI",function(){return a}),e.lazyJqueryUI=o,s=n(14),n.n(s),a=function(){function t(t){this._$elem=t}return t.prototype.draggable=function(){var t=arguments,e=this._$elem;return i("draggable").then(function(){return e.draggable.apply(e,t)})}, t.prototype.resizable=function(){var t=arguments,e=this._$elem;return i("resizable").then(function(){return e.resizable.apply(e,t)})},t.prototype.sortable=function(){var t=arguments,e=this._$elem;return i("sortable").then(function(){return e.sortable.apply(e,t)})},t.prototype.datepicker=function(){var t=arguments,e=this._$elem;return i("datepicker").then(function(){return e.datepicker.apply(e,t)})},t}()},828:function(t,e){t.exports=''},832:function(t,e,n){"use strict";(function(i){function o(t){return t&&t.__esModule?t:{default:t}}function s(){var t,e,n=c.width();for(h.width=n,h.height=c.height(),t=0;t<_.length;t++)if(n<=h.breakpoints[_[t]]){h.device!==_[t]&&(e=h.device,h.device=_[t],h.trigger("changeDevice",[_[t],e]));break}return h}var r,a,l,d,c,u,h,_;Object.defineProperty(e,"__esModule",{value:!0}),r=n(301),a=o(r),l=n(838),d=$("body"),c=$(window),u=0,h={width:null,height:null,device:null,checkDevice:s,isMobileSafari:!!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/)||!!navigator.userAgent.match("CriOS"),getScrollbarWidth:function(){var t=void 0;return function(){var e,n,i,o;return void 0===t&&(e=document.createElement("div"),e.style.visibility="hidden",e.style.width="100px",e.style.msOverflowStyle="scrollbar",document.body.appendChild(e),n=e.offsetWidth,e.style.overflow="scroll",i=document.createElement("div"),i.style.width="100%",e.appendChild(i),o=i.offsetWidth,e.parentNode.removeChild(e),t=n-o),t}}(),hasScroll:function(t){return t.get(0).scrollHeight>t.height()},breakpoints:l.breakpoints,widgetbarBreakpoint:1064,setFixedBodyState:function(t){var e,n;t&&1==++u?("hidden"!==$(document.body).css("overflow").toLowerCase()&&document.body.scrollHeight>document.body.offsetHeight&&($(".widgetbar-wrap").css("right",h.getScrollbarWidth()),d.css("padding-right",parseInt(d.css("padding-right").replace("px",""))+h.getScrollbarWidth()+"px").data("wasScroll",!0)),d.addClass("i-no-scroll")):!t&&u>0&&0==--u&&(d.removeClass("i-no-scroll"),d.data("wasScroll")&&(e=d.get(0),$(".widgetbar-wrap").css("right",0),n=$(".widgetbar-wrap").width()||0,e.scrollHeight<=e.clientHeight&&(n-=h.getScrollbarWidth()),d.css("padding-right",(n<0?0:n)+"px").data("wasScroll",void 0)))}},_=Object.keys(h.breakpoints).sort(function(t,e){return h.breakpoints[t]-h.breakpoints[e]}),i.extend(h,a.default.prototype),s(),$(s),c.on("resize",s),e.default=h,t.exports=e.default}).call(e,n(187))},833:function(t,e,n){"use strict";(function(t){function i(e,n,i){var o,s,r,a,l,d,c=this;if(this._options=$.extend({},this._defaultOptions,i||{}),this._$wrapper=e,this._$content=n,this._scroll_speed=40,this._shadow_offset=10,this._header_height=this._options.headerHeight,this._scroll_margin_top=this._options.scrollMarginTop,this.scrolled=new t, this.scrolltoend=new t,this.scrolltostart=new t,this.visibilityCallbacks=[],o=navigator.platform.toLowerCase(),s=navigator.userAgent.toLowerCase(),r=s.indexOf("firefox")>-1,a=o.indexOf("android")>-1||s.indexOf("android")>-1,this._touch=Modernizr.touch||navigator.msMaxTouchPoints||r&&a,this._touch)return this._$content.css("position","relative"),void this._$wrapper.css({"overflow-y":"auto","-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}).scroll(this._onScroll.bind(this));this._$wrapper.css("overflow","hidden"),this._$wrapper.on("mouseenter.sidebar-scroll",function(){c._bottomFixed||c._dragging||(c._options.alwaysVisible||c._$scrollBar.addClass("active"),c._onScroll())}).on("mouseleave.sidebar-scroll",function(){c._bottomFixed||c._dragging||(c._options.alwaysVisible||c._$scrollBar.removeClass("active"),c._onScroll())}).on("mousewheel.sidebar-scroll",function(t,e){if(!t.isDefaultPrevented())return c.scroll(e,"MozMousePixelScroll"===t.originalEvent.type?2:null)}),!1!==this._options.showTopShadow&&(this._$shadowTop=$('
').appendTo(this._$wrapper)),!1!==this._options.showBottomShadow&&(this._$shadowBottom=$('
').appendTo(this._$wrapper)),this._$shadowTop&&this._header_height&&this._$shadowTop.css("top",this._header_height-this._shadow_offset),l=this._options.additionalClass?" "+this._options.additionalClass:"",d=this._options.alwaysVisible?" active-always":"",this._$scrollBarWrapper=$('
').appendTo(this._$wrapper),this._$scrollBar=$('
').appendTo(this._$scrollBarWrapper),this._onScroll()}var o=n(827).lazyJqueryUI;i.prototype.isTouch=function(){return this._touch},i.prototype.getScrollBar=function(){return this._$scrollBar},i.prototype._defaultOptions={headerHeight:0,additionalClass:"",alwaysVisible:!1,showBottomShadow:!0,scrollMarginTop:1,bubbleScrollEvent:!1},i.prototype.initDraggable=function(){if(this._dragInitialized)return this;var t=this;return o(this._$scrollBar).draggable({axis:"y",containment:this._$scrollBarWrapper,start:function(){t._dragging=!0},stop:function(){t._dragging=!1},drag:function(e,n){t.updateScroll()}}),this._dragInitialized=!0,this},i.prototype.updateScroll=function(){var t,e,n,i,o;return this._touch?this:(t=1,e=Math.ceil(this._$scrollBar.position().top-this._scroll_margin_top-this._header_height),n=this.getContainerHeightWithoutHeader(),i=this._$content.outerHeight(),o=i-n-t,n<=0?this:(this._scroll_target_top=o<=0?this._header_height:Math.min(-e*i/n+this._header_height,this._header_height),e+this._$scrollBar.height()+2>=n?this.scrollToEnd():(this._$content.css("top",this._scroll_target_top+"px"),this._onScroll()),this))},i.prototype.getContainerHeightWithoutHeader=function(){return this._$wrapper[0].getBoundingClientRect().height-this._header_height},i.prototype.getContainerHeight=function(){return this._$wrapper[0].getBoundingClientRect().height},i.prototype.getContentHeight=function(){ return this._$content[0].getBoundingClientRect().height},i.prototype.updateScrollBar=function(){var t,e,n,i,o,s,r,a,l;return this._touch?this:(t=1,e=this._$content.position().top,n=this.getContentHeight(),i=this.getContainerHeight(),o=this.getContainerHeightWithoutHeader(),s=t+this._header_height,r=o-2*t,a=(Math.abs(e)-this._header_height)*r/n,l=i*i/n,this.isContentShort()?(this._$scrollBar.addClass("js-hidden"),this._$wrapper.removeClass("sb-scroll-active")):(this._$scrollBar.removeClass("js-hidden").height(l).css("top",s+a),this._$wrapper.addClass("sb-scroll-active"),this.initDraggable()),this)},i.prototype.scroll=function(t,e){var n,i,o,s,r;return this._touch?this:(n=this._$content.position().top,i=this._$content.outerHeight(),o=this.getContainerHeightWithoutHeader(),s=i-o-1,r=e||this._scroll_speed,s<=0||(this._scroll_target_top=Math.max(-s+this._header_height,Math.min(this._header_height,n+t*r)),this.setContentTop(this._scroll_target_top),this._onScroll()))},i.prototype.animateTo=function(t){var e,n,i;return this._touch?this:(e=this._$content.outerHeight(),n=this.getContainerHeightWithoutHeader(),(i=e-n-1)<=0||(this._scroll_target_top=Math.max(-i+this._header_height,Math.min(this._header_height,-t)),void this._$content.animate({top:this._scroll_target_top},500,function(){this._onScroll()}.bind(this))))},i.prototype.resize=function(){var t,e;if(!this._bottomFixed){if(t=this._$content.outerHeight(),e=this._$wrapper.outerHeight(),!this._options.vAlignBottom&&ts&&t+e.areaHeightr?r-t-e.areaHeight:s-t}else"top"===e.position&&(a=s-t);return this.scroll(a,1),this._onScroll(),!1},i.prototype.scrollToEnd=function(){var t=this._$content.position().top,e=this._$content.outerHeight(),n=this._$wrapper.outerHeight(),i=e+t;return this.setContentTop(t+(n-i)+1),this._onScroll(),this},i.prototype.scrollToStart=function(){return this.setContentTop(this._header_height),this._onScroll(),this},i.prototype.currentPosition=function(){return Math.round(this._$content.position().top)},i.prototype.atStart=function(){return Math.round(this._$content.position().top)>=this._header_height},i.prototype.atEnd=function(t){var e,n,i,o;return"number"==typeof t&&isFinite(t)||(t=0),e=1, n=Math.round(this._$content.position().top),i=this._$content.outerHeight(),o=this._$wrapper.outerHeight(),i-Math.abs(n)-e<=o+t},i.prototype._onScroll=function(t){var e,n;return this._touch||this._$content.css("bottom","auto"),this.scrolled.fire(),this._dragging&&!0!==t||this.updateScrollBar(),e=this.atStart(),n=this.atEnd(),this._$shadowTop&&this._$shadowTop.toggleClass("i-invisible",!!e),this._$shadowBottom&&this._$shadowBottom.toggleClass("i-invisible",!!n),this._onContentVisible(),!this._atStart&&e?(this._atStart=!0,this.scrolltostart.fire()):this._atStart&&!e&&delete this._atStart,!this._atEnd&&n?(this._atEnd=!0,this.scrolltoend.fire()):this._atEnd&&!n&&delete this._atEnd,this._options.vAlignBottom&&(this._stickyBottom=this._$content.outerHeight()-Math.abs(this._$content.position().top)-this._$wrapper.outerHeight()),!(!this._atStart&&!this._atEnd||("function"==typeof this._options.bubbleScrollEvent?!this._options.bubbleScrollEvent():!this._options.bubbleScrollEvent))},i.prototype.checkContentVisibility=function(){this._onContentVisible()},i.prototype.subscribeToContentVisible=function(t,e,n){this.visibilityCallbacks.push({id:t,$el:e,callback:n})},i.prototype.triggerVisibilityCallbacks=function(t){this._onContentVisible(t)},i.prototype._contentIsVisible=function(t){return t.$el.position().top>-1*this.currentPosition()},i.prototype._onContentVisible=function(t){var e,n,i;this.visibilityCallbacks.length&&(e=t||this._contentIsVisible.bind(this),n=[],i=this.visibilityCallbacks.filter(function(t,i){if(!$.contains(this._$content,t.$el[0]))return!1;var o=e(t);return o&&n.push(i),!o},this),n.forEach(function(e){this.visibilityCallbacks[e].callback(!!t)},this),delete this.visibilityCallbacks,this.visibilityCallbacks=i)},i.prototype.save=function(){return this._saved={top:this._$content.position().top,height:this._$content.outerHeight()},this},i.prototype.restore=function(){if(this._saved){if(this._saved.top===this._$content.position().top&&this._saved.height===this._$content.outerHeight())return delete this._saved,this;this._options.vAlignBottom&&(this._saved.top-=this._$content.outerHeight()-this._saved.height,this._saved.top>this._header_height&&(this._saved.top=this._header_height)),this.setContentTop(this._saved.top),delete this._saved,this._onScroll(!0)}return this},i.prototype.fixBottom=function(){var t,e;return this._bottomFixed?this:(this._touch?(t=this._$content.outerHeight(),e=this._$wrapper.scrollTop(),this._tempIntervalID=setInterval(function(){this._$wrapper.scrollTop(e+(this._$content.outerHeight()-t))}.bind(this),0)):this._$content.css({top:"auto",bottom:this._$wrapper.outerHeight()-this._$content.position().top-this._$content.outerHeight()}),this._bottomFixed=!0,this)},i.prototype.releaseBottom=function(){return this._bottomFixed?(this._touch?clearInterval(this._tempIntervalID):this._$content.css({top:this._$content.position().top,bottom:"auto"}),delete this._bottomFixed,this._onScroll(),this):this},i.prototype.setContentTop=function(t){ return this._touch?this._options.vAlignBottom&&this._$content.outerHeight()
',containerTemplate:'
',ajaxErrorTemplate:'
'+$.t("Error")+"
"},e.TVModal=function(e){function n(){var t,e,i,o,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,n),t=r(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,d({},w,a))),t.$overlay=$(t.options.overlayTemplate),t.$modalWrap=$(t.options.containerTemplate),t.$body=t.$modalWrap.find(".tv-dialog__modal-body").append(t.$el), t.options.closeOnOutsideClick&&t.$overlay.add(t.$modalWrap).click(function(e){t.isEventOut(e)&&t.close()}),t.on("change:zIndex",function(){t.$overlay.css("z-index",t.zIndex),t.$modalWrap.css("z-index",t.zIndex)}),t.on("destroy",function(){var e=function(){t.$overlay.remove(),t.$modalWrap.remove()};t.opened?(t.close(),setTimeout(e,t.options.closingDuration)):e()}),t.on("beforeOpen",function(){M.push(t)}),t.options.ajax.url&&(e=t.options.ajax.beforeSend||$.noop,i=t.options.ajax.success||!1,o=t.options.ajax.error||$.noop,$.extend(t.options.ajax,{beforeSend:function(){t.trigger("beforeLoading",[t]),t.startSpinner(),e(t)},success:function(e){t.trigger("afterLoading",[t]),t.renderContent(i?i(t,e):e).showContent(),t.trigger("afterLoadingShow",[t])},error:function(){t.renderContent(t.options.ajaxErrorTemplate),o(t),t.trigger("errorLoading",[t])}})),t.on("error",function(e,n){t.$modalWrap[0].getBoundingClientRect().height0&&M[M.length-1].focus(),e.options.destroyOnClose&&e.destroy()},this.options.closingDuration),this}},{key:"showContent",value:function(){var t=this;return this.$modalWrap.removeClass("i-hidden"),setTimeout(function(){t.$modalWrap.removeClass("i-closed")},20),setTimeout(function(){t.trigger("afterOpen",[t]),t.spinner&&t.stopSpinner()},.75*h.dur+20),this}},{key:"hideContent",value:function(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}},{key:"startSpinner",value:function(){return this.spinner=new m.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}},{key:"stopSpinner",value:function(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this}}]),n}(p.TVDialogAbstract)}).call(e,n(187))},838:function(t,e,n){ "use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"breakpoints",function(){return i});var i={desktop:1/0,desktopHd:1919,phone:767,"phone-vertical":479,tablet:1019}},839:function(t,e,n){"use strict";(function(t,i){function o(t){return t&&t.__esModule?t:{default:t}}function s(t){var e,n;if(t&&t.__esModule)return t;if(e={},null!=t)for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function d(){v.forEach(function(t){return t.close()})}var c,u,h,_,f,p,m,g,y,v,b,M,w,D,T,k,S;Object.defineProperty(e,"__esModule",{value:!0}),e.TVDialogAbstract=void 0,c=Object.assign||function(t){var e,n,i;for(e=1;e',errorTemplate:'
{{{ error }}}
',titleTemplate:'
{{{ title }}}
',contentWrapTemplate:'
',actionsWrapTemplate:'
',closeButtonTemplate:'
'+n(828)+"
",helpButtonTemplate:'',helpActionsMod:"tv-dialog__section--actions_with-help"},T={default:"tv-button tv-button--default",primary:"tv-button tv-button--primary",success:"tv-button tv-button--success",danger:"tv-button tv-button--danger",warning:"tv-button tv-button--warning",link:"tv-button tv-button--link",checkbox:"tv-control-checkbox tv-control-checkbox--in-actions","default-ghost":"tv-button tv-button--default_ghost","primary-ghost":"tv-button tv-button--primary_ghost", "success-ghost":"tv-button tv-button--success_ghost","danger-ghost":"tv-button tv-button--danger_ghost","warning-ghost":"tv-button tv-button--warning_ghost"},k={_default:'
{{ text }}
',"submit-success":''},$(function(){D.$wrap=$(document.all&&!document.querySelector?"html":"body")}),S=function(e){function n(){var e,i,o,s,l,d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(r(this,n),e=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),e._id=y++,e.loadingActions=[],e.disabledActions=[],e.firstFocusControl=null,e.options=c({},D,d),e.$el=$(t.render(e.options.template,{title:e.options.title,closeButton:e.options.closeButton})),e.$el.addClass("js-dialog"),e.el=e.$el[0],e.options.addClass&&e.$el.addClass(e.options.addClass),e.options.width&&e.$el.css({width:"100%","max-width":e.options.width}),e.options.title&&(e.$title=$(t.render(e.options.titleTemplate,{title:e.options.title})).appendTo(e.$el)),e.$content=$(e.options.contentWrapTemplate).appendTo(e.$el),e.$contentIn=e.$content;e.$contentIn.length;)e.$contentIn=e.$contentIn.children();if(e.$contentIn=e.$contentIn.end(),e.options.content&&e.renderContent(e.options.content),(e.options.actions||e.options.help)&&(e.$content.hasClass("tv-dialog__section")&&e.$content.addClass("tv-dialog__section--no-padding_bottom"),e.$actions=$(e.options.actionsWrapTemplate).appendTo(e.$el)),e.options.actions)for(e.actions={},e.$el.on("click touchend",".js-dialog__action-click",function(t){t.preventDefault(),e.actionDispatcher($(t.currentTarget).data("name"))}),i=function(n){var i,o,s,r,a,l,d=e.options.actions[n];d.type||(d.type="default"),d.class||(d.class=T[d.type]?T[d.type]:T.default),"checkbox"===d.type?(i=new p.default({labelRight:d.text,name:d.name,checked:d.checked}),e.actions[d.name]=i.$el.appendTo(e.$actions),e.actions[d.name].on("change",function(){setTimeout(function(){return e.actionDispatcher(d.name,i.checked)})})):e.actions[d.name]=$(t.render(d.template?d.template:k[d.type]||k._default,d,d)).appendTo(e.$actions),d.method&&"function"==typeof e[d.method]&&e.on("action:"+d.name,e[d.method].bind(e)),d.addClass&&e.actions[d.name].addClass(d.addClass),d.key&&(o=void 0,"string"==typeof d.key&&d.key.split("+").length>1?(s=[],r=d.key.split("+"),o=function(t){s=[]},a=function(t){var n=""+t.keyCode;-1!==r.indexOf(n)&&s.indexOf(n)&&s.push(n),e._focused&&s.length===r.length&&(s=[],e.actionDispatcher(d.name))},e.on("afterOpen",function(){w.on("keydown",a),w.on("keyup",o)}),e.on("beforeClose",function(){w.off("keydown",a),w.off("keyup",o)})):(l=$.isArray(d.key)?d.key:[d.key],o=function(t){!t.isDefaultPrevented()&&e._focused&&-1!==l.indexOf(t.keyCode)&&e.actionDispatcher(d.name)},e.on("afterOpen",function(){return w.on("keyup",o)}),e.on("beforeClose",function(){return w.off("keyup",o)})))},o=e.options.actions.length-1;o>=0;o--)i(o) ;return e.options.help&&$(t.render(e.options.helpButtonTemplate,e.options.help)).prependTo(e.$actions.addClass(e.options.helpActionsMod)),e.options.closeButton&&(s=$(e.options.closeButtonTemplate),s.addClass(e.options.closeButtonAddClass||""),l=e.$el,1===e.$el.find(".js-close-button-place").length&&(l=e.$el.find(".js-close-button-place")),s.appendTo(l)),e.setZIndex(M+v.length),d.errorMod&&(e.errorMod=d.errorMod),e.on("afterOpen",function(){e.options.focusFirstControl&&!Modernizr.touch&&(e.firstFocusControl||e.$el.find('input:not([type="hidden"]), textarea').first()).focus()}),e.$el.on("click touchend",".js-dialog__close",e.close.bind(e)),e.$el.on("mousedown touchstart",e.focus.bind(e)),v.push(e),e}return l(n,e),u(n,[{key:"renderContent",value:function(t){return this.$contentIn.html("function"==typeof t?t(this):t),this}},{key:"setDestroyOnClose",value:function(t){this.options.destroyOnClose=t}},{key:"setZIndex",value:function(t){return this.zIndex=t,this.trigger("change:zIndex",[this]),this}},{key:"toTop",value:function(){for(var t=v.length-1;t>=0;t--)v[t].zIndex>this.zIndex&&v[t].setZIndex(v[t].zIndex-1);return this.setZIndex(M+v.length),this}},{key:"isEventOut",value:function(t){var e,n,i;return this.options.isClickOutFn&&void 0!==(e=this.options.isClickOutFn(t))?e:(n=!0,i=$(t.target),i.get(0)!==this.$el.get(0)&&($(">*",this.$el).each(function(){i.get(0)===$(this).get(0)&&(n=!1),0===i.closest("HTML",$(this).get(0)).length&&(n=!1)}),n))}},{key:"focus",value:function(){var t=this;b&&b!==this&&b.unfocus(),this._setFocused(),this._focused=!0,this.$el.addClass(this.options.focusClass),this.trigger("focus",[this]),setTimeout(function(){w.on("mousedown.tv-dialog-unfocus-"+t._id,function(e){t.isEventOut(e)&&(t.unfocus(),w.off("mousedown.tv-dialog-unfocus-"+t._id))})},20)}},{key:"_setFocused",value:function(){b!==this&&(b=this)}},{key:"_setUnfocused",value:function(){b===this&&(b=void 0)}},{key:"unfocus",value:function(){b===this&&(this._setUnfocused(),this._focused=!1,this.$el.removeClass(this.options.focusClass).find(":focus").blur(),this.trigger("unfocus",[this]))}},{key:"isFocused",value:function(){return this._focused}},{key:"setTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.$title.toggleClass("tv-dialog__section--one-line apply-overflow-tooltip",e),this.$title.html(t),this}},{key:"setTitleText",value:function(t){this.$title.find(".js-title-text").text(t)}},{key:"actionDispatcher",value:function(t){if(!this.disabledActions.includes(t)&&!this.loadingActions.includes(t)){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:"init" ;return this.actions[t].tvButtonLoader(n),"init"===n&&(this.actions[t].off("tv-button-loader:start.dialog-action").on("tv-button-loader:start.dialog-action",function(){e.loadingActions.push(t)}),this.actions[t].off("tv-button-loader:stop.dialog-action").on("tv-button-loader:stop.dialog-action",function(){e.loadingActions=i.without(e.loadingActions,t)})),this}},{key:"error",value:function(e){var n=$(t.render(this.options.errorTemplate,{error:e,errorMod:this.errorMod})).appendTo(this.$el),i=function(){n.addClass("i-slided"),setTimeout(function(){return n.remove()},.75*_.dur)};return setTimeout(function(){return n.removeClass("i-slided")},20),w.one("touchstart mousedown keydown",i),this.trigger("error",[this,n]),this}},{key:"destroy",value:function(){v=i.without(v,this);for(var t=0;t'+this.$btn.html()+''),this.loading=this.$btn.hasClass("i-loading")}return s(t,[{key:"_start",value:function(){var t=this;this.starting=!0,this.$btn.addClass("i-start-load"),this.$btn.trigger("tv-button-loader:start"),setTimeout(function(){t.loading=!0,t.starting=!1,t._startPromise=!1,t.$btn.addClass("i-loading"),t.$btn.removeClass("i-start-load"),t._stopPromise&&t._stop()},2*l.dur)}},{key:"start",value:function(){this.starting||(this.stopping?this._startPromise=!0:this._start())}},{key:"_stop",value:function(){var t=this;this.stopping=!0,this.$btn.addClass("i-stop-load"),this.$btn.trigger("tv-button-loader:stop"),setTimeout(function(){t.loading=!1,t.stopping=!1,t._stopPromise=!1,t.$btn.removeClass("i-loading i-start-load i-stop-load"),t._startPromise&&t._start()},l.dur)}},{key:"stop", value:function(){this.stopping||(this.starting?this._stopPromise=!0:this._stop())}},{key:"toggle",value:function(){this.loading?this.stop():this.start()}},{key:"contentHtml",value:function(t){return t?(this.$btn.find(".tv-button__text").html(t),t):this.$btn.find(".tv-button__text").html()}},{key:"contentNojQuery",value:function(){return this.$btn.get(0)}},{key:"disable",value:function(){this.stop(),this.$btn.addClass("i-disabled")}},{key:"enable",value:function(){this.$btn.removeClass("i-disabled")}}]),t}()},841:function(t,e){},842:function(t,e){},843:function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function o(t){var e,n;if(t&&t.__esModule)return t;if(e={},null!=t)for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l,d,c,u,h,_,f,p,m,g,y,v,b;Object.defineProperty(e,"__esModule",{value:!0}),e.TVPopup=void 0,l=Object.assign||function(t){var e,n,i;for(e=1;e',scrollWrapInner:'
',withScroll:!0},b="js-dialog__scroll-wrap",e.TVPopup=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,e),t=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,l({},v,n))),t.$scrollWrap=t.$content.hasClass(b)?t.$content:t.$content.find("."+b),t.$scrollWrap.length?t.$scrollWrapInner=t.$scrollWrap.children().first():(t.$scrollWrap=t.$content.wrap($(t.options.scrollWrap)).parent(),t.$scrollWrapInner=t.$content.wrap($(t.options.scrollWrapInner)).parent()),t.$actions&&t.$scrollWrap.addClass("i-with-actions"),t.options.withScroll&&(t.scroll=new p.SidebarCustomScroll(t.$scrollWrap,t.$scrollWrapInner),t.scroll.scrolled.subscribe(null,function(){return t.trigger("scroll")})),t.$scrollWrap.css("overflow",""),t.$el.addClass("tv-dialog--popup i-closed i-hidden"),t.options.width&&t.$el.css({width:"calc(100% - 20px)","max-width":t.options.width}),t.$el.on("mousedown touchstart",t.toTop.bind(t)), t.options.closeOnOutsideClick&&(t.on("beforeOpen",function(){setTimeout(function(){t.opened&&$(document).on("click.tv-popup-"+t.id,function(e){var n=$(e.target).closest(".js-dialog");(t.options.closeOnClickAtOtherDialogs||0===n.length)&&t.isEventOut(e)&&t.close()})},0)}),t.on("beforeClose",function(){return $(document).off("click.tv-popup-"+t.id)})),t.on("change:zIndex",function(){t.$el.css("z-index",t.zIndex)}),t.on("destroy",function(){var e=function(){t.$el.remove()};t.opened?(t.close(),setTimeout(e,u.dur/2)):e()}),t}return a(e,t),d(e,[{key:"open",value:function(){var t=this;return this.opened?this:(this.opened=!0,this.trigger("beforeOpen",[this]),this.$el.appendTo(this.options.$wrap).removeClass("i-hidden").css(function(){var e,n,i,o,s;return t.calcHeight(),e=y.height(),n=y.width(),i=t.$el.height(),o=t.$el.width(),s=t.options.position,s||(s={top:e/2-i/2,left:n/2-o/2}),s.top>e-i&&(s.top=e-i),s.left>n-o&&(s.left=n-o),s}()),this.focus(),this.toTop(),this._doOpenAnimation().then(function(){t.opened&&(t.$el.removeClass("i-closed"),t.options.draggable&&((0,m.lazyJqueryUI)(t.$el).draggable({handle:".js-dialog__drag",cancel:"input, textarea, button, select, option, .js-dialog__no-drag, .js-dialog__close",containment:"window",cursor:"-webkit-grabbing"}),t.$el.find(".js-dialog__drag").addClass("tv-dialog__grab")),t.trigger("afterOpen",[t]))}),y.on("resize.tv-popup-"+this.id,function(){t.calcHeight(),t.fixPos()}),this)}},{key:"close",value:function(){var t=this;if(this.opened)return this.trigger("beforeClose",[this]),this.$el.addClass("i-closed"),this.opened=!1,this._doCloseAnimation().then(function(){t.opened||((0,m.lazyJqueryUI)(t.$el).draggable("instance").then(function(t){t&&t.destroy()}),t.$el.addClass("i-hidden").detach(),g.css("cursor","auto"),t.trigger("afterClose",[t]),t.options.destroyOnClose&&t.destroy())}),y.off("resize.tv-popup-"+this.id),this}},{key:"hide",value:function(){this.$el.addClass("i-hidden")}},{key:"show",value:function(){this.$el.removeClass("i-hidden")}},{key:"fixPos",value:function(){var t=this.$el[0].getBoundingClientRect(),e={};t.bottom>_.default.height-10&&(e.top=_.default.height-10-t.height,e.top<10&&(e.top=10)),t.right>_.default.width-10&&(e.left=_.default.width-10-t.width,e.left<10&&(e.left=10)),(e.top||e.left)&&this.$el.css(e)}},{key:"calcHeight",value:function(){var t,e,n=this.$el[0].getBoundingClientRect(),i=this.$scrollWrapInner[0].getBoundingClientRect(),o=this.$scrollWrap[0].getBoundingClientRect(),s=this.options.height&&this.options.height<_.default.height-20?this.options.height:_.default.height-20;this.$scrollWrap.css({height:""}).removeClass("i-scrollable"),t=this.$el[0].getBoundingClientRect(),(this.options.height||t.height>s)&&(s-=n.height-o.height,s<60&&(s=60),this.$scrollWrap.css({height:s})),this.options.withScroll&&this.scroll.resize(),e=s1&&~~(t/10)%10!=1}function n(t,n,i){var o=t+" ";switch(i){case"m":return n?"minuta":"minutę";case"mm":return o+(e(t)?"minuty":"minut");case"h":return n?"godzina":"godzinę";case"hh":return o+(e(t)?"godziny":"godzin");case"MM":return o+(e(t)?"miesiące":"miesięcy");case"yy":return o+(e(t)?"lata":"lat")}}var i="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),o="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");return t.defineLocale("pl",{months:function(t,e){ return""===e?"("+o[t.month()]+"|"+i[t.month()]+")":/D MMMM/.test(e)?o[t.month()]:i[t.month()]},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:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"N_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:"[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",m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})},862:function(t,e,n){!function(t,e){e(n(826))}(0,function(t){"use strict";return t.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:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),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",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"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},863:function(t,e,n){!function(t,e){e(n(826))}(0,function(t){"use strict";return t.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:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),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:"%s atrás",s:"poucos 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"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"})})},864:function(t,e,n){!function(t,e){e(n(826))}(0,function(t){"use strict";function e(t,e){var n=t.split("_");return e%10==1&&e%100!=11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,i){var o={mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===i?n?"минута":"минуту":t+" "+e(o[i],+t)}function i(t,e){return{nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative"][t.month()]}function o(t,e){return{nominative:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),accusative:"янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек".split("_")}[/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative"][t.month()]}function s(t,e){return{nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")}[/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/.test(e)?"accusative":"nominative"][t.day()]}return t.defineLocale("ru",{months:i,monthsShort:o,weekdays:s,weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],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 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT"},lastWeek:function(t){if(t.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:"несколько секунд",m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:7}})})},865:function(t,e,n){!function(t,e){e(n(826))}(0,function(t){"use strict";var e={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ı"} ;return t.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("_"),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:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç 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"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(t){if(0===t)return t+"'ıncı";var n=t%10,i=t%100-n,o=t>=100?100:null;return t+(e[n]||e[i]||e[o])},week:{dow:1,doy:7}})})},869:function(t,e){t.exports=''},870:function(t,e){t.exports=''},963:function(t,e,n){function i(t){return n(o(t))}function o(t){var e=s[t];if(!(e+1))throw Error("Cannot find module '"+t+"'.");return e}var s={"./en-gb":856,"./en-gb.js":856,"./es":857,"./es.js":857,"./it":858,"./it.js":858,"./ja":859,"./ja.js":859,"./ko":860,"./ko.js":860,"./pl":861,"./pl.js":861,"./pt":862,"./pt-br":863,"./pt-br.js":863,"./pt.js":862,"./ru":864,"./ru.js":864,"./tr":865,"./tr.js":865};i.keys=function(){ return Object.keys(s)},i.resolve=o,t.exports=i,i.id=963}});