Files
ai/charting_library/static/bundles/load-chart-layout-dialog.642c73fda2f41fa2fd16.js
Jenkins 9d8b63e068 VERSION 1.14 @ 2019-04-04 08:32:01.655131
x axis retains previous scale after restoring layout #3828
getVisiblePriceRange() not working in 1.14 (unstable) #3774
uppercase_instrument_names doesn't work for compare/overlay #3746
API method to trigger the Zoom Out #3739
Provide event that study properties was changed #3736
Fixed security issue in master #3699
widget.save have old data #3623
JS error on switching chart types #3602
Add a way to prevent scrolling beyond the beginning of bars #3597
Chart customization - overrides #3572
Theme override colors from saved_data #3557
Error while applying Pivot Points Indicator #3521
Month timeframe combining months #3510
initialSettings from settings adapter does not work #3479
Add Indexed to 100 mode for price scale #3391
RTL #3335
Add warning about incorrect usage disable_resolution_rebuild and has_empty_bars #3329
Unable to load DOME and Bottom Widget when open_account_manager disabled #3312
Randomly clickable area on chart that redirects user to tradingview.com #3299
Apply to all #3298
Save container element while charting library's life #3297
Gap appearing in chart layout #3246
User's colors not working when theme is enabled #3232
Chart is outside of visible range when in auto scale and load study template or load chart #3229
Please make getVisibleRange return the range in UTC #3173
Remove TradingView.onready from API #3162
Add API to export data from the chart #3152
Market status is not updated properly #3122
Placeholders disappear in "Compare or Add Symbol" popup when the cursor is set into the fields #2966
getVisibleRange to return 0, any way of getting the last bar in active chart ? #2757
"onListAdded" event is not fired when user click on "Save Watchlist As" #2654
Error report : Parabolic SAR #2205
TERMINAL: make a flag to disable support of stop orders #2181
Add Change % in the OHLC label Charting Library #2120
Request more bars for indicators #1362
Drawing tool does not work on Samsung Edge and  Note 5 #984
2019-04-04 11:32:07 +03:00

35 lines
102 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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='<div class="tv-search-row"><input class="tv-search-row__input js-input-control" type="text" name="q" value="" autocomplete="off"><span class="tv-search-row__input-reset i-hidden js-reset-button">'+a+'</span><span class="tv-search-row__search-icon">'+l+"</span></div>"},1011:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18px" height="18px"><path fill-rule="evenodd" d="M12.5 11h-.79l-.28-.27A6.47 6.47 0 0 0 13 6.5 6.5 6.5 0 1 0 6.5 13c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L17.49 16l-4.99-5zm-6 0C4.01 11 2 8.99 2 6.5S4.01 2 6.5 2 11 4.01 11 6.5 8.99 11 6.5 11z"/></svg>'},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<this.regExps.length;e++)for(n=this.regExps[e],n.lastIndex=0,i=this.fieldsExtractor(t),o=0;o<i.length;o++)if(n.test(i[o]))return!0;return 0===this.regExps.length},i.prototype.search=function(){var t,e,n=[];for(t=0;t<this.items.length;t++)e=this.items[t],this.match(e)&&n.push(e);this.callback(n,this.regExps)},i.prototype.setItems=function(t){this.items=t},t.exports.QuickSearch=i},1100:function(t,e,n){"use strict";function i(t){this.isAscending=!1,this.sortingFunc=t}i.prototype.getPredicate=function(){return function(t,e){var n=this.sortingFunc(t,e);return this.isAscending&&(n*=-1),n}.bind(this)},i.prototype.inverse=function(){this.isAscending=!this.isAscending},i.prototype.setIsAscending=function(t){return"boolean"==typeof t&&(this.isAscending=t),this.isAscending},i.prototype.reset=function(){this.isAscending=!1},t.exports.SortObject=i},1101:function(t,e,n){"use strict";function i(t,e){var n,i,o,s,r,a;if(t=$("<div>").text(t).html(),0===e.length)return t;for(n=0;n<e.length;n++){if(i=e[n],i.lastIndex=0,o="",s="",(r=i.exec(t))&&r.length)for(a=1;a<r.length;a++)o+=a%2?'<span class="i-match">$'+a+"</span>":"$"+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='<div class="js-table-row tv-load-chart-dialog-table__row tv-load-chart-dialog-table__row--item {{^withFavs}}tv-load-chart-dialog-table__row--item-without-favs{{/withFavs}} {{#isActive}}i-active{{/isActive}}" data-id="{{id}}">{{#withFavs}}<div class="tv-load-chart-dialog-table__favorite-icon-container {{#starred}}i-starred{{/starred}}" ><span data-id="{{id}}" class="js-empty-star tv-load-chart-dialog-table__star-icon tv-load-chart-dialog-table__star-icon--empty" title="'+$.t("Add to favorites")+'">'+n(870)+'</span><span data-id="{{id}}" class="js-filled-star tv-load-chart-dialog-table__star-icon tv-load-chart-dialog-table__star-icon--filled" title="'+$.t("Remove from favorites")+'">'+n(869)+'</span></div>{{/withFavs}}<div class="js-column-name tv-load-chart-dialog-table__column tv-load-chart-dialog-table__column--item tv-load-chart-dialog-table__column-name">{{title}}</div><div class="js-column-modified tv-load-chart-dialog-table__column tv-load-chart-dialog-table__column--item tv-load-chart-dialog-table__column-modified">{{modifiedDate}}</div><div class="js-column-symbol tv-load-chart-dialog-table__column tv-load-chart-dialog-table__column--item tv-load-chart-dialog-table__column-symbol">{{chartSymbol}}</div><div data-id="{{id}}" class="js-remove-button tv-load-chart-dialog-table__column-name-action tv-load-chart-dialog-table__remove-icon" title="'+$.t("Delete chart layout")+'">'+n(828)+"</div></div>",l='<div class="tv-load-chart-dialog-table__row tv-load-chart-dialog-table__row--header"><div class="js-column-name tv-load-chart-dialog-table__column tv-load-chart-dialog-table__column--header tv-load-chart-dialog-table__column-name">'+$.t("Chart Layout Name")+'<span class="tv-caret tv-load-chart-dialog-table__caret"></span></div><div class="js-column-modified tv-load-chart-dialog-table__column tv-load-chart-dialog-table__column--header tv-load-chart-dialog-table__column-modified">'+$.t("Last Modified")+'<span class="tv-caret tv-load-chart-dialog-table__caret"></span></div><div class="js-column-symbol tv-load-chart-dialog-table__column tv-load-chart-dialog-table__column--header tv-load-chart-dialog-table__column-symbol">'+$.t("Active Symbol")+'<span class="tv-caret tv-load-chart-dialog-table__caret"></span></div></div>',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<i?-1:n===i?0:1},s.prototype.sortClick=function(t){this.setSort($(t.target).data("sort"),!0),this.fillList()},s.prototype.setSort=function(t,e){var n,i,o={field:TVSettings.getValue("loadChartDialog.sort.field")||"modified",isAscending:TVSettings.getValue("loadChartDialog.sort.asc")||"0"},s=t||o.field,r=e?"0"===o.isAscending?"1":"0":o.isAscending;this.currentSortObj&&!(n=s!==o.field)||(this.currentSortObj="name"===s?this.nameSort:"symbol"===s?this.symbolSort:"tools"===s?this.toolsSort:this.sortObj,n&&TVSettings.setValue("loadChartDialog.sort.field",s)),this.currentSortObj.setIsAscending("1"===r),r!==o.isAscending&&TVSettings.setValue("loadChartDialog.sort.asc",r),i=this,$.each(this.header.children(".tv-load-chart-dialog-table__column--header"),function(){var t=$(this),e=t.data("sort")===s;t.removeClass("i-active i-dropped"),e&&t.addClass("i-active "+(i.currentSortObj.isAscending?"":"i-dropped"))})},s.prototype.sortList=function(){var t,e=[],n=[];this.matchedItems.map(function(t){this.favorites.hasOwnProperty(t.id)?e.push(t):n.push(t)}.bind(this)),void 0!==this.currentSortObj&&(t=this.currentSortObj.getPredicate(),n.sort(t),e.sort(t)),this.matchedItems=e.concat(n)},s.prototype.showMoreData=function(){var t,e,n;if(!(this.offset>=this.matchedItems.length)){for(t=Math.min(this.offset+d,this.matchedItems.length),e="",
n=this.offset;n<t;++n)e+=this._createListItem(this.matchedItems[n]);this.itemsList[0].insertAdjacentHTML("beforeend",e),this.offset+=d}},s.prototype.fillList=function(){this.sortList(),this.offset=0,this.itemsList[0].innerHTML="",this.showMoreData(),this.itemsListContainer.toggleClass("i-empty",0===this.itemsData.length),this.highlightOccurrences(this.qs.regExps),this._dialog&&(this.itemsListContainer[0].scrollTop=0)},s.prototype.searchResult=function(t,e){this.matchedItems=t,this.fillList()},s.prototype.updateChartsData=function(t){this.setChartsData(t)},s.prototype.updateFavoritesData=function(t){this.favorites=t,this.itemsList&&this.qs.search()},s.prototype.updateChartsAndFavoritesData=function(t,e){this.favorites=e,this.itemsList&&(this.itemsData=t,this.qs.setItems(t),this.qs.search())},s.prototype._refreshChartsList=function(){this.qs.setItems(this.itemsData),this.qs.search()},s.prototype.setChartsData=function(t){this.itemsList&&(this.itemsData=t,this.qs.setItems(t),this.qs.search())},s.prototype.layoutHeader=function(){var t=$(l);return t.find(".js-column-name").data("sort","name"),t.find(".js-column-modified").data("sort","modified"),t.find(".js-column-symbol").data("sort","symbol"),t.appendTo(this.content),t},s.prototype.resetSort=function(){this.sortObj.reset(),this.nameSort.reset(),this.symbolSort.reset(),this.toolsSort.reset(),this.currentSortObj=this.sortObj},s.prototype._findItemById=function(t){var e=+t;return this.itemsData.find(function(n){return n.id===e||n.id===t})},s.prototype.show=function(t,e){var n=this,o=h({placeholder:$.t("Search")}),s=$("<div>");s.append(o.$control),s.append('<div class="tv-load-chart-dialog-table">'),this.content=$("<div>").appendTo(s.find(".tv-load-chart-dialog-table")),this.header=this.layoutHeader(),this.setSort(),this.itemsListContainer=$('<div class="tv-load-chart-dialog-table__items-list-container">').data({localScroll:!0}).appendTo(this.content),this.itemsList=$('<div class="tv-load-chart-dialog-table__items-list">').appendTo(this.itemsListContainer),$('<div class="tv-load-chart-dialog-table__empty-list-placeholder">').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:"<div>",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;n<t.length;++n)i.push(e(t[n],n));return i}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t,e){for(var n in e)a(e,n)&&(t[n]=e[n]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,n,i){return Ct(t,e,n,i,!0).utc()}function c(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function u(t){return null==t._pf&&(t._pf=c()),t._pf}function h(t){if(null==t._isValid){var e=u(t);t._isValid=!(isNaN(t._d.getTime())||!(e.overflow<0)||e.empty||e.invalidMonth||e.invalidWeekday||e.nullInput||e.invalidFormat||e.userInvalidated),t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function _(t){var e=d(NaN);return null!=t?l(u(e),t):u(e).userInvalidated=!0,e}function f(t,e){var n,i,o;if(void 0!==e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),void 0!==e._i&&(t._i=e._i),void 0!==e._f&&(t._f=e._f),void 0!==e._l&&(t._l=e._l),void 0!==e._strict&&(t._strict=e._strict),void 0!==e._tzm&&(t._tzm=e._tzm),void 0!==e._isUTC&&(t._isUTC=e._isUTC),void 0!==e._offset&&(t._offset=e._offset),void 0!==e._pf&&(t._pf=u(e)),void 0!==e._locale&&(t._locale=e._locale),zi.length>0)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;i<o;i++)(n&&t[i]!==e[i]||!n&&y(t[i])!==y(e[i]))&&r++;return r+s}function b(){}function M(t){return t?t.toLowerCase().replace("_","-"):t}function w(t){for(var e,n,i,o,s=0;s<t.length;){for(o=M(t[s]).split("-"),e=o.length,n=M(t[s+1]),n=n?n.split("-"):null;e>0;){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<n;e++)Ni[i[e]]?i[e]=Ni[i[e]]:i[e]=A(i[e]);return function(o){var s="";for(e=0;e<n;e++)s+=i[e]instanceof Function?i[e].call(o,t):i[e];return s}}function F(t,e){return t.isValid()?(e=I(e,t.localeData()),Ji[e]=Ji[e]||P(e),Ji[e](t)):t.localeData().invalidDate()}function I(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Vi.lastIndex=0;i>=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;n<t.length;n++)co[t[n]]=i}function V(t,e){G(t,function(t,n,i,o){i._w=i._w||{},e(t,i._w,i,o)})}function J(t,e,n){
null!=e&&a(co,t)&&co[t](e,n._a,n,t)}function N(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function q(t){return this._months[t.month()]}function R(t){return this._monthsShort[t.month()]}function Z(t,e,n){var i,o,s;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=RegExp(s.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function Q(t,e){var n;return"string"==typeof e&&"number"!=typeof(e=t.localeData().monthsParse(e))?t:(n=Math.min(t.date(),N(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function X(t){return null!=t?(Q(this,t),e.updateOffset(this,!0),this):O(this,"Month")}function K(){return N(this.year(),this.month())}function tt(t){var e,n=t._a;return n&&-2===u(t).overflow&&(e=n[ho]<0||n[ho]>11?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<uo||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;e<n;e++)if(Bn[e][1].exec(i)){t._f=Bn[e][0];break}for(e=0,n=Un.length;e<n;e++)if(Un[e][1].exec(i)){t._f+=(o[6]||" ")+Un[e][0];break}i.match(so)&&(t._f+="Z"),Dt(t)}else t._isValid=!1}function st(t){var n=Gn.exec(t._i);if(null!==n)return void(t._d=new Date(+n[1]));ot(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t))}function rt(t,e,n,i,o,s,r){var a=new Date(t,e,n,i,o,s,r);return t<1970&&a.setFullYear(t),a}function at(t){var e=new Date(Date.UTC.apply(null,arguments));return t<1970&&e.setUTCFullYear(t),e}function lt(t){return dt(t)?366:365}function dt(t){return t%4==0&&t%100!=0||t%400==0}function ct(){return dt(this.year())}function ut(t,e,n){var i,o=n-e,s=n-t.day();return s>o&&(s-=7),s<o-7&&(s+=7),i=Ot(t).add(s,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function ht(t){return ut(t,this._week.dow,this._week.doy).week}function _t(){return this._week.dow}function ft(){return this._week.doy}function pt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function mt(t){var e=ut(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function gt(t,e,n,i,o){var s,r=6+o-i,a=at(t,0,1+r),l=a.getUTCDay();return l<o&&(l+=7),n=null!=n?1*n:o,s=1+r+7*(e-1)-l+n,{year:s>0?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)<s&&++i:o=null!=e.e?e.e+s:s),a=gt(n,i,o,r,s),t._a[uo]=a.year,t._dayOfYear=a.dayOfYear}function Dt(t){if(t._f===e.ISO_8601)return void ot(t);t._a=[],u(t).empty=!0;var n,i,o,s,r,a=""+t._i,l=a.length,d=0;for(o=I(t._f,t._locale).match(Gi)||[],n=0;n<o.length;n++)s=o[n],i=(a.match(B(s,t))||[])[0],i&&(r=a.substr(0,a.indexOf(i)),r.length>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;o<t._f.length;o++)s=0,e=f({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],Dt(e),h(e)&&(s+=u(e).charsLeftOver,s+=10*u(e).unusedTokens.length,u(e).score=s,(null==i||s<i)&&(i=s,n=e));l(t,n||e)}function kt(t){if(!t._d){var e=Y(t._i);t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],Mt(t)}}function St(t){var e=new p(tt(Lt(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Lt(t){var e=t._i,n=t._f;return t._locale=t._locale||k(t._l),null===e||void 0===n&&""===e?_({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),m(e)?new p(tt(e)):(o(n)?Tt(t):n?Dt(t):s(e)?t._d=e:Yt(t),t))}function Yt(t){var n=t._i;void 0===n?t._d=new Date:s(n)?t._d=new Date(+n):"string"==typeof n?st(t):o(n)?(t._a=r(n.slice(0),function(t){return parseInt(t,10)}),Mt(t)):"object"==typeof n?kt(t):"number"==typeof n?t._d=new Date(n):e.createFromInputFallback(t)}function Ct(t,e,n,i,o){var s={}
;return"boolean"==typeof n&&(i=n,n=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=o,s._l=n,s._i=t,s._f=e,s._strict=i,St(s)}function Ot(t,e,n,i){return Ct(t,e,n,i,!1)}function xt(t,e){var n,i;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Ot();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}function Ht(){return xt("isBefore",[].slice.call(arguments,0))}function jt(){return xt("isAfter",[].slice.call(arguments,0))}function Wt(t){var e=Y(t),n=e.year||0,i=e.quarter||0,o=e.month||0,s=e.week||0,r=e.day||0,a=e.hour||0,l=e.minute||0,d=e.second||0,c=e.millisecond||0;this._milliseconds=+c+1e3*d+6e4*l+36e5*a,this._days=+r+7*s,this._months=+o+3*i+12*n,this._data={},this._locale=k(),this._bubble()}function At(t){return t instanceof Wt}function Pt(t,e){W(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+j(~~(t/60),2)+e+j(~~t%60,2)})}function Ft(t){var e=(t||"").match(so)||[],n=e[e.length-1]||[],i=(n+"").match(Rn)||["-",0,0],o=60*i[1]+y(i[2]);return"+"===i[0]?o:-o}function It(t,n){var i,o;return n._isUTC?(i=n.clone(),o=(m(t)||s(t)?+t:+Ot(t))-+i,i._d.setTime(+i._d+o),e.updateOffset(i,!1),i):Ot(t).local()}function zt(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Et(t,n){var i,o=this._offset||0;return null!=t?("string"==typeof t&&(t=Ft(t)),Math.abs(t)<16&&(t*=60),!this._isUTC&&n&&(i=zt(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!n||this._changeInProgress?ie(this,Xt(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?o:zt(this)}function Bt(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ut(t){return this.utcOffset(0,t)}function Gt(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(zt(this),"m")),this}function Vt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ft(this._i)),this}function Jt(t){return t=t?Ot(t).utcOffset():0,(this.utcOffset()-t)%60==0}function Nt(){return this.utcOffset()>this.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)<n)}function le(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)}function de(t,e){var n;return e=L(e||"millisecond"),"millisecond"===e?(t=m(t)?t:Ot(t),+this==+t):(n=+Ot(t),+this.clone().startOf(e)<=n&&n<=+this.clone().endOf(e))}function ce(t,e,n){var i,o,s=It(t,this),r=6e4*(s.utcOffset()-this.utcOffset());return e=L(e),"year"===e||"month"===e||"quarter"===e?(o=ue(this,s),"quarter"===e?o/=3:"year"===e&&(o/=12)):(i=this-s,o="second"===e?i/1e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-r)/864e5:"week"===e?(i-r)/6048e5:i),n?o:g(o)}function ue(t,e){var n,i,o=12*(e.year()-t.year())+(e.month()-t.month()),s=t.clone().add(o,"months");return e-s<0?(n=t.clone().add(o-1,"months"),i=(e-s)/(s-n)):(n=t.clone().add(o+1,"months"),i=(e-s)/(n-s)),-(o+i)}function he(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function _e(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():F(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):F(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function fe(t){var n=F(this,t||e.defaultFormat);return this.localeData().postformat(n)}function pe(t,e){return this.isValid()?Xt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function me(t){return this.from(Ot(),t)}function ge(t,e){return this.isValid()?Xt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ye(t){return this.to(Ot(),t)}function ve(t){var e;return void 0===t?this._locale._abbr:(e=k(t),null!=e&&(this._locale=e),this)}function be(){
return this._locale}function Me(t){switch(t=L(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function we(t){return t=L(t),void 0===t||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")}function De(){return+this._d-6e4*(this._offset||0)}function $e(){return Math.floor(+this/1e3)}function Te(){return this._offset?new Date(+this):this._d}function ke(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Se(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Le(){return h(this)}function Ye(){return l({},u(this))}function Ce(){return u(this).overflow}function Oe(t,e){W(0,[t,t.length],0,e)}function xe(t,e,n){return ut(Ot([t,11,31+e-n]),e,n).week}function He(t){var e=ut(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")}function je(t){var e=ut(this,1,4).year;return null==t?e:this.add(t-e,"y")}function We(){return xe(this.year(),1,4)}function Ae(){var t=this.localeData()._week;return xe(this.year(),t.dow,t.doy)}function Pe(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Fe(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Ie(t){return this._weekdays[t.day()]}function ze(t){return this._weekdaysShort[t.day()]}function Ee(t){return this._weekdaysMin[t.day()]}function Be(t){var e,n,i;for(this._weekdaysParse=this._weekdaysParse||[],e=0;e<7;e++)if(this._weekdaysParse[e]||(n=Ot([2e3,1]).day(e),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=RegExp(i.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e}function Ue(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Fe(t,this.localeData()),this.add(t-e,"d")):e}function Ge(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ve(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)}function Je(t,e){W(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Ne(t,e){return e._meridiemParse}function qe(t){return"p"===(t+"").toLowerCase().charAt(0)}function Re(t,e,n){return t>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<i;s++)r[s]=cn(t,s,n,o);return r}function hn(t,e){return un(t,e,"months",12,"month")}function _n(t,e){return un(t,e,"monthsShort",12,"month")}function fn(t,e){return un(t,e,"weekdays",7,"day")}function pn(t,e){return un(t,e,"weekdaysShort",7,"day")}function mn(t,e){return un(t,e,"weekdaysMin",7,"day")}function gn(){var t=this._data;return this._milliseconds=bi(this._milliseconds),this._days=bi(this._days),this._months=bi(this._months),t.milliseconds=bi(t.milliseconds),t.seconds=bi(t.seconds),t.minutes=bi(t.minutes),t.hours=bi(t.hours),t.months=bi(t.months),t.years=bi(t.years),this}function yn(t,e,n,i){var o=Xt(e,n);return t._milliseconds+=i*o._milliseconds,t._days+=i*o._days,t._months+=i*o._months,t._bubble()}function vn(t,e){return yn(this,t,e,1)}function bn(t,e){return yn(this,t,e,-1)}function Mn(t){return t<0?Math.floor(t):Math.ceil(t)}function wn(){var t,e,n,i,o,s=this._milliseconds,r=this._days,a=this._months,l=this._data;return 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=o<Pi.s&&["s",o]||1===s&&["m"]||s<Pi.m&&["mm",s]||1===r&&["h"]||r<Pi.h&&["hh",r]||1===a&&["d"]||a<Pi.d&&["dd",a]||1===l&&["M"]||l<Pi.M&&["MM",l]||1===d&&["y"]||["yy",d];return c[2]=e,c[3]=+t>0,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 t<this?this:t}),qn=nt("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=Ot.apply(null,arguments);return t>this?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='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path d="M5.182 6.596l-3.889-3.889-.707-.707 1.414-1.414.707.707 3.889 3.889 3.889-3.889.707-.707 1.414 1.414-.707.707-3.889 3.889 3.889 3.889.707.707-1.414 1.414-.707-.707-3.889-3.889-3.889 3.889-.707.707-1.414-1.414.707-.707 3.889-3.889z"/></svg>'},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=$('<div class="sb-inner-shadow top i-invisible">').appendTo(this._$wrapper)),!1!==this._options.showBottomShadow&&(this._$shadowBottom=$('<div class="sb-inner-shadow">').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=$('<div class="sb-scrollbar-wrap">').appendTo(this._$wrapper),this._$scrollBar=$('<div class="sb-scrollbar sb-scrollbar-body'+l+d+'"></div>').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&&t<e)return void(this.atStart()||this.scrollToStart());this.atEnd()?this.scrollToEnd():"number"==typeof this._stickyBottom&&this.setContentTop(Math.min(0,this._stickyBottom+this._$wrapper.outerHeight()-this._$content.outerHeight()))}},i.prototype.resizeHeader=function(t){var e=t-this._header_height;this._header_height=t,this._scroll_target_top+=e,this._$shadowTop&&this._$shadowTop.css("top",this._header_height-this._shadow_offset),this.resize()},i.prototype.scrollTo=function(t,e){var n,i,o,s,r,a;if(e=$.extend({position:"visible",areaHeight:t instanceof $?t.height():0},e),t instanceof $&&(t=e.offsetTop||t.position().top),n=this._$content.position().top,i=this._$content.outerHeight(),o=this.getContainerHeightWithoutHeader(),i-o-1<=0)return!0;if(s=-1*(n-this._header_height),r=s+o,a=0,"visible"===e.position){if(t>s&&t+e.areaHeight<r)return!1;a=t+e.areaHeight>r?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()<this._$wrapper.outerHeight()?(this._$wrapper.css("overflow-y","visible"),this._$content.css({position:"absolute",bottom:0})):(this._$content.css({position:"relative",bottom:"auto"}),this._$wrapper.css("overflow-y","auto"),this._$wrapper.scrollTop(-t)):this._$content.css("top",t),this},i.prototype.isContentShort=function(){return this.getContentHeight()<=this.getContainerHeightWithoutHeader()},i.prototype.destroy=function(){this._$scrollBarWrapper.remove(),this._$shadowBottom&&this._$shadowBottom.remove(),this._$shadowTop&&this._$shadowTop.remove(),this._$wrapper.attr("style","").off("mouseenter.sidebar-scroll").off("mouseleave.sidebar-scroll").off("mousewheel.sidebar-scroll"),this._$content.attr("style","")},e.SidebarCustomScroll=i}).call(e,n(8))},834:function(t,e){},837:function(t,e,n){"use strict";(function(t){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)}function l(){return 0!==M.length}var d,c,u,h,_,f,p,m,g,y,v,b,M,w;Object.defineProperty(e,"__esModule",{value:!0}),e.TVModal=void 0,d=Object.assign||function(t){var e,n,i;for(e=1;e<arguments.length;e++){n=arguments[e];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},c=function(){function t(t,e){var n,i;for(n=0;n<e.length;n++)i=e[n],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),e.isOpenedModals=l,u=n(184),h=o(u),_=n(832),f=i(_),p=n(690),m=n(305),g=n(189),y=o(g),v=n(307),b=o(v),M=[],w={ajax:{},closingDuration:h.dur/2,overlayTemplate:'<div class="tv-dialog__overlay"></div>',containerTemplate:'<div class="tv-dialog__modal-wrap"><div class="tv-dialog__modal-container"><div class="tv-dialog__modal-body"></div></div></div>',ajaxErrorTemplate:'<div class="tv-dialog__error js-dialog__close">'+$.t("Error")+"</div>"},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().height<t.$content[0].getBoundingClientRect().height&&n.addClass("i-fixed").css({width:t.$el.width()})}),t._shortCutsLockId=null,t._keyboardBinderLockId=null,t}return a(n,e),c(n,[{key:"open",value:function(){var t,e=this;if(!this.opened)return this.opened=!0,this._shortCutsLockId=y.disable(),this._keyboardBinderLockId=b.disable(),f.default.setFixedBodyState(!0),t=function(){e.focus(),e.toTop(),$("body").append(e.$overlay.addClass("i-hidden i-closed").css("z-index",e.zIndex)).append(e.$modalWrap.addClass("i-hidden i-closed").css("z-index",e.zIndex)),e.trigger("beforeOpen",[e]),e.$overlay.removeClass("i-hidden"),setTimeout(function(){e.$overlay.removeClass("i-closed")},20),e.options.ajax.url?e.ajaxRequest=$.ajax(e.options.ajax):e.showContent()},f.default.isMobileSafari?setTimeout(function(){return t()},50):t(),this}},{key:"close",value:function(){var e=this;if(this.opened)return this.opened=!1,this._shortCutsLockId&&y.enable(this._shortCutsLockId),this._keyboardBinderLockId&&b.enable(this._keyboardBinderLockId),this.trigger("beforeClose",[this]),this.ajaxRequest&&(this.ajaxRequest.abort(),delete this.ajaxRequest),this.hideContent(),this.$overlay.addClass("i-closed"),setTimeout(function(){e.$modalWrap.addClass("i-hidden").detach(),e.$overlay.addClass("i-hidden").detach(),M=t.without(M,e),f.default.setFixedBodyState(!1),e.trigger("afterClose",[e]),e.unfocus(),M.length>0&&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<arguments.length;e++){n=arguments[e];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},u=function(){function t(t,e){var n,i;for(n=0;n<e.length;n++)i=e[n],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),e.closeAllDialogs=d,h=n(184),_=s(h),n(840),f=n(308),p=o(f),n(841),n(842),n(834),m=n(301),g=o(m),y=0,v=[],b=void 0,M=110,w=$(document),D={closeOnEsc:!0,closeButton:!0,focusFirstControl:!0,closeOnOutsideClick:!0,closeButtonAddClass:"",focusClass:"i-focused",template:'<div class="tv-dialog">',errorTemplate:'<div class="tv-dialog__error i-slided{{# errorMod }} tv-dialog__error--{{ errorMod }}{{/ errorMod }}">{{{ error }}}</div>',titleTemplate:'<div class="tv-dialog__section tv-dialog__section--title js-dialog__drag"><div class="js-title-text tv-dialog__title">{{{ title }}}</div></div>',contentWrapTemplate:'<div class="tv-dialog__section tv-dialog__section--no-border">',actionsWrapTemplate:'<div class="tv-dialog__section tv-dialog__section--actions tv-dialog__section--no-border">',closeButtonTemplate:'<div class="tv-dialog__close js-dialog__close">'+n(828)+"</div>",helpButtonTemplate:'<a href="{{{ link }}}" target="_blank" class="tv-dialog__help apply-common-tooltip" title="{{{ title }}}"></a>',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:'<div data-name="{{ name }}" class="js-dialog__action-click js-dialog__no-drag {{ class }}">{{ text }}</div>',"submit-success":'<button type="submit" class="tv-button tv-button--success">{{ text }}</button>'},$(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;i<e;i++)n[i-1]=arguments[i];this.trigger("action:"+t,[this].concat(n))}}},{key:"toggleAction",value:function(t,e){return!e&&this.disabledActions.includes(t)?this.disabledActions.push(t):e&&this.disabledActions.includes(t)&&(this.disabledActions=i.without(this.disabledActions,t)),this.actions[t].toggleClass("i-disabled",!e),this}},{key:"actionLoader",value:function(t){var e=this,n=arguments.length>1&&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<v.length;t++)v[t].setZIndex(M+t);this.trigger("destroy",[this])}},{key:"isOpened",value:function(){return!!this.opened}}]),n}(g.default),e.TVDialogAbstract=S,w.on("keyup.tv-dialog-esc",function(t){b&&b.options.closeOnEsc&&!$(".tv-dropdown__body.i-opened").length&&!$(t.target).closest(".js-dialog-skip-escape").length&&27===t.keyCode&&b.close()})}).call(e,n(126),n(187))},840:function(t,e,n){"use strict";function i(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 o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var s,r,a,l,d;Object.defineProperty(e,"__esModule",{value:!0}),e.ButtonLoader=void 0,s=function(){function t(t,e){var n,i;for(n=0;n<e.length;n++)i=e[n],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n(309),a=n(184),l=i(a),$.fn.tvButtonLoader=(0,r.createTvBlockWithInstance)("tv-button-loader",function(t,e){return new d(t,e)}),d=e.ButtonLoader=function(){function t(e,n){o(this,t),this.$btn=$(e).addClass("tv-button--loader"),0===this.$btn.find(".tv-button__loader").length&&this.$btn.html('<span class="tv-button__text">'+this.$btn.html()+'</span><span class="tv-button__loader"><span class="tv-button__loader-item"></span><span class="tv-button__loader-item"></span><span class="tv-button__loader-item"></span></span>'),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<arguments.length;e++){n=arguments[e];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},d=function(){function t(t,e){var n,i;for(n=0;n<e.length;n++)i=e[n],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),c=n(184),u=o(c),h=n(832),_=i(h),f=n(690),p=n(833),m=n(827),g=$("body"),y=$(window),v={closeOnClickAtOtherDialogs:!0,draggable:!0,scrollWrap:'<div class="tv-dialog__scroll-wrap">',scrollWrapInner:'<div class="tv-dialog__scroll-wrap-inner">',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=s<i.height,e||this.$scrollWrapInner.css("top",0),this.$scrollWrap.toggleClass("i-scrollable",e),this.$actions&&this.$actions.toggleClass("tv-dialog__section--actions_with-border",e)}},{key:"updateScroll",value:function(){
this.scroll&&(this.scroll.updateScroll(),this.scroll.updateScrollBar())}},{key:"scrollToStart",value:function(){this.scroll&&this.scroll.scrollToStart()}},{key:"_doOpenAnimation",value:function(){return Promise.resolve()}},{key:"_doCloseAnimation",value:function(){return Promise.resolve()}}]),e}(f.TVDialogAbstract)},854:function(t,e,n){"use strict";n(85);var i=n(826);window.language&&(i.locale(window.language,{months:[$.t("January"),$.t("February"),$.t("March"),$.t("April"),$.t("May"),$.t("June"),$.t("July"),$.t("August"),$.t("September"),$.t("October"),$.t("November"),$.t("December")],monthsShort:[$.t("Jan"),$.t("Feb"),$.t("Mar"),$.t("Apr"),$.t("May"),$.t("Jun"),$.t("Jul"),$.t("Aug"),$.t("Sep"),$.t("Oct"),$.t("Nov"),$.t("Dec")],weekdays:[$.t("Sunday"),$.t("Monday"),$.t("Tuesday"),$.t("Wednesday"),$.t("Thursday"),$.t("Friday"),$.t("Saturday")],weekdaysShort:[$.t("Sun"),$.t("Mon"),$.t("Tue"),$.t("Wed"),$.t("Thu"),$.t("Fri"),$.t("Sat")],weekdaysMin:[$.t("Su",{context:"day_of_week"}),$.t("Mo",{context:"day_of_week"}),$.t("Tu",{context:"day_of_week"}),$.t("We",{context:"day_of_week"}),$.t("Th",{context:"day_of_week"}),$.t("Fr",{context:"day_of_week"}),$.t("Sa",{context:"day_of_week"})],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MMM D",l:"M/D/YYYY",LL:"MMM D, YYYY",ll:"MMM D LT",LLL:"LT - LL",lll:"MMM D, YYYY LT",LLLL:"ddd D MMMM YYYY LT",llll:"ddd D MMM YYYY LT"},calendar:{sameDay:$.t("{specialSymbolOpen}Today at{specialSymbolClose} {dayTime}").format({specialSymbolOpen:"[",specialSymbolClose:"]",dayTime:"LT"}),nextDay:$.t("{specialSymbolOpen}Tomorrow at{specialSymbolClose} {dayTime}").format({specialSymbolOpen:"[",specialSymbolClose:"]",dayTime:"LT"}),nextWeek:$.t("{dayName} {specialSymbolOpen}at{specialSymbolClose} {dayTime}").format({specialSymbolOpen:"[",specialSymbolClose:"]",dayTime:"LT",dayName:"dddd"}),lastDay:$.t("{specialSymbolOpen}Yesterday at{specialSymbolClose} {dayTime}").format({specialSymbolOpen:"[",specialSymbolClose:"]",dayTime:"LT"}),lastWeek:$.t("{specialSymbolOpen}Last{specialSymbolClose} {dayName} {specialSymbolOpen}at{specialSymbolClose} {dayTime}").format({specialSymbolOpen:"[",specialSymbolClose:"]",dayTime:"LT",dayName:"dddd"}),sameElse:"L"},relativeTime:{future:function(t){return t===$.t("just now")?t:$.t("in %s",{context:"time_range"}).replace("%s",t)},past:function(t){return t===$.t("just now")?t:$.t("%s ago",{context:"time_range"}).replace("%s",t)},s:$.t("just now"),m:function(t){return $.t("%d minute",{plural:"%d minutes",count:t}).replace("%d",t)},mm:function(t){return $.t("%d minute",{plural:"%d minutes",count:t}).replace("%d",t)},h:$.t("an hour"),hh:function(t){return $.t("%d hour",{plural:"%d hours",count:t}).replace("%d",t)},d:$.t("a day"),dd:function(t){return $.t("%d day",{plural:"%d days",count:t}).replace("%d",t)},M:$.t("a month"),MM:function(t){return $.t("%d month",{plural:"%d months",count:t}).replace("%d",t)},y:$.t("a year"),yy:function(t){return $.t("%d year",{plural:"%d years",count:t}).replace("%d",t)}},week:{dow:1,doy:4}}),i.locale(window.language)),t.exports=i},
856:function(t,e,n){!function(t,e){e(n(826))}(0,function(t){"use strict";return t.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",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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})},857:function(t,e,n){!function(t,e){e(n(826))}(0,function(t){"use strict";var e="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("_");return t.defineLocale("es",{months:"Enero_Febrero_Marzo_Abril_Mayo_Junio_Julio_Agosto_Septiembre_Octubre_Noviembre_Diciembre".split("_"),monthsShort:function(t,i){return/-MMM-/.test(i)?n[t.month()]:e[t.month()]},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("_"),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",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"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},858:function(t,e,n){!function(t,e){e(n(826))}(0,function(t){"use strict";return t.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:"D_L_Ma_Me_G_V_S".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(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni 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"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})},859:function(t,e,n){!function(t,e){e(n(826))}(0,function(t){"use strict";return t.defineLocale("ja",{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:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})})},860:function(t,e,n){!function(t,e){e(n(826))}(0,function(t){"use strict";return t.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시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},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년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return t<12?"오전":"오후"}})})},861:function(t,e,n){!function(t,e){e(n(826))}(0,function(t){"use strict";function e(t){return t%10<5&&t%10>1&&~~(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='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" width="14" height="14"><path fill-rule="evenodd" d="M10.893 9.512l.458 3.624c.014.105-.006.16-.02.176-.028.03-.109.005-.182-.03L7.812 11.73a1.973 1.973 0 0 0-.811-.16c-.302 0-.59.057-.81.16l-3.338 1.552c-.118.056-.164.051-.182.03-.014-.016-.034-.07-.02-.178L3.11 9.51c.06-.503-.162-1.18-.505-1.54L.087 5.302c-.085-.091-.09-.148-.086-.158.003-.01.04-.053.16-.077l3.621-.689c.491-.09 1.069-.506 1.315-.948L7.004 0l1.902 3.43c.246.442.824.859 1.312.947l3.617.69c.123.024.162.068.164.077.003.01-.003.066-.089.157L11.4 7.97c-.348.367-.57 1.045-.506 1.543z"/></svg>'},870:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" width="14" height="14"><path d="M9.901 9.639c-.102-.797.218-1.775.77-2.356l1.438-1.527-2.07-.395c-.784-.142-1.615-.742-2.008-1.446L7.003 2.06 5.97 3.917c-.391.702-1.222 1.301-2 1.443l-2.08.396 1.44 1.526c.547.577.866 1.549.77 2.353l-.262 2.086 1.93-.897a2.95 2.95 0 0 1 1.233-.254c.44 0 .87.085 1.233.254l1.93.897-.263-2.082zm.992-.127l.458 3.624c.014.105-.006.16-.02.176-.028.03-.109.005-.182-.03L7.812 11.73a1.973 1.973 0 0 0-.811-.16c-.302 0-.59.057-.81.16l-3.338 1.552c-.118.056-.164.051-.182.03-.014-.016-.034-.07-.02-.178L3.11 9.51c.06-.503-.162-1.18-.505-1.54L.087 5.302c-.085-.091-.09-.148-.086-.158.003-.01.04-.053.16-.077l3.621-.689c.491-.09 1.069-.506 1.315-.948L7.004 0l1.902 3.43c.246.442.824.859 1.312.947l3.617.69c.123.024.162.068.164.077.003.01-.003.066-.089.157L11.4 7.97c-.348.367-.57 1.045-.506 1.543z"/></svg>'},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}});