/* >>> file start: js/jquery/jquery.lj.inlineCalendar.js */
function _typeof(t){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t){function e(t,e){e=e||!1;var n=t.getDate().toString();1===n.length&&(n="0"+n),e&&(n="");var a=t.getMonth().toString();return 1===a.length&&(a="0"+a),parseInt(t.getFullYear().toString()+a+n,10)}function n(t,n){return e(n,!0)>=e(t[0],!0)&&e(n,!0)<=e(t[1],!0)}function a(n,a,i){this.initialize=function(t){this.tbody=this.catchTableStructure(t)},this.modelChanged=function(e,a,s){var o=i.longMonth?i.ml.monthNamesLong:i.ml.monthNamesShort;this.tbody.detach(),this.fillDates(e,a);for(var r in s)s.hasOwnProperty(r)&&n[r][s[r]?"removeClass":"addClass"](this.disabledStyle(r));var l=i.monthRef?t("<a>",{href:LJ.Util.Date.format(e,i.monthRef),text:o[e.getMonth()]+(i.monthWithYear?" "+e.getFullYear():""),target:"_self"}):o[e.getMonth()],h=i.yearRef?t("<a>",{href:LJ.Util.Date.format(e,i.yearRef),text:e.getFullYear(),target:"_self"}):e.getFullYear();n.monthLabel.empty().append(l),n.yearLabel.empty().append(h),this.tbody.appendTo(n.table)},this.catchTableStructure=function(e){var a=n.tbody[0];n.daysCells=[],n.daysSpans=[];for(var i,s,o,r=a.rows.length,l=6-r,h="<tr>",d=0;7>d;++d)h+="<td><span></span></td>";for(h+="</tr>";l-- >0;)t(h).hide().appendTo(n.tbody);for(r=6,n.lastRow=jQuery(a.rows[a.rows.length-1]),e=new Date(e),i=0;r>i;++i)for(s=0,o=a.rows[i].cells.length;o>s;++s){var c=jQuery(a.rows[i].cells[s]),p=c.children(),u=p.text().trim();u&&(e.setDate(u),c.data("isActive",!0),c.data("day",e)),n.daysCells.push(c),n.daysSpans.push(p)}return jQuery(a)},this.fillDates=function(t,e){function a(t){var n=t.getFullYear(),a=t.getMonth(),i=t.getDate();return e&&e[n]&&e[n][a]&&e[n][a][i]}var s=new Date(t);s.setDate(1);var o;o=i.startAtSunday?s.getDay():0===s.getDay()?6:s.getDay()-1,s.setDate(1-o);for(var r=0,l=n.daysCells.length;l>r;++r){var h=n.daysCells[r],d=n.daysSpans[r];this.formDayString(s,h,d,a(s),this.isActiveDate(s,t)),s.setDate(s.getDate()+1)}s.setDate(s.getDate()-1),s.getDate()<7?n.lastRow.css("display",""):n.lastRow.css("display","none")},this.isActiveDate=function(t,n){var a=!0;return a=n.getFullYear()===t.getFullYear()&&n.getMonth()===t.getMonth(),a&&(i.activeFrom||i.activeUntil)&&(a=i.activeFrom&&e(i.activeFrom)<=e(t)||i.activeUntil&&e(i.activeUntil)>=e(t)),a},this.formDayString=function(n,s,o,r,l){n=new Date(n);var h=e(n)===e(i.currentDate);if(s.data("day",n),s.data("isActive",l),s.data("hasEvents",r),s[h?"addClass":"removeClass"](a.current),s.removeClass(a.cellHover),l)if(r||i.allRefs){var d=!0;i.allRefs&&"object"===_typeof(i.allRefs)&&(i.allRefs.from&&n<i.allRefs.from&&(d=!1),i.allRefs.to&&n>i.allRefs.to&&(d=!1)),d?(s.removeClass(a.inactive),o.html(t("<a />",{html:n.getDate(),href:LJ.Util.Date.format(n,i.dayRef),target:"_self"}))):(s.removeClass(a.inactive),o.html(n.getDate()))}else s.removeClass(a.inactive),o.html(n.getDate());else s.addClass(a.inactive),o.html(n.getDate())},this.disabledStyle=function(t){return"prevMonth"===t||"prevYear"===t?a.prevDisabled:a.nextDisabled}}var i={dayRef:"/%Y/%M/%D",monthRef:"",yearRef:"",allRefs:!1,currentDate:new Date,activeUntil:null,activeFrom:null,startMonth:new Date(1900,0,1),endMonth:new Date(2050,0,1),startAtSunday:"0"===LJ.ml("date.format.offset")||!1,dateFormat:"%Y-%M-%D",defaultTitle:"Calendar",longMonth:!1,events:null,displayedMonth:null,dateChange:null,selectors:{table:"table",title:"h5",tbody:"tbody",month:".cal-nav-month",year:".cal-nav-year",monthSelect:".cal-nav-month-select",yearSelect:".cal-nav-year-select",prevMonth:".cal-nav-month .cal-nav-prev",nextMonth:".cal-nav-month .cal-nav-next",prevYear:".cal-nav-year .cal-nav-prev",nextYear:".cal-nav-year .cal-nav-next",monthLabel:".cal-nav-month .cal-month",yearLabel:".cal-nav-year .cal-year"},classNames:{container:"",inactive:"other",future:"other",current:"current",weekend:"weekend",nextDisabled:"cal-nav-next-dis",prevDisabled:"cal-nav-prev-dis",cellHover:"hover",longMonth:"sidebar-cal-longmonth"},mlPrefix:{monthNamesShort:["monthNames","date.month.{name}.short"],monthNamesLong:["monthNames","date.month.{name}.long"],dayNamesShort:["dayNames","date.day.{name}.short"]},ml:{monthNames:["january","february","march","april","may","june","july","august","september","october","november","december"],dayNames:["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],caption:"Calendar"}},s={options:{},_create:function(){this._preInit(),this._initialize(),this._postInit()},_preInit:function(){var e=t[this.namespace][this.widgetName].getDefaults();this.options=jQuery.extend(!0,{},e,this.options),this._prepareMLVars()},_prepareMLVars:function(){var t,e=function(t,e){return LJ.ml(t.supplant({name:e}))};for(var n in this.options.mlPrefix)this.options.mlPrefix.hasOwnProperty(n)&&(t=this.options.mlPrefix[n],this.options.ml[n]=this.options.ml[t[0]].map(e.bind(null,t[1])))},_initialize:function(){this.options.displayedMonth||(this.options.displayedMonth=new Date(this.options.currentDate)),this._events=this.options.events,this._hideTimer=null,this._nodes=this._nodes||{container:this.element,root:this.element},this._invalidateTimer=null,this.element.hasClass(this.options.classNames.longMonth)&&(this.options.longMonth=!0),this._bindNodes(),this.options.startMonth.setDate(1),this._view=new(this._getView())(this._nodes,this.options.classNames,this.options),this._view.initialize(this.options.currentDate),this._nodes.table.hasClass("monday")&&this._setOption("startAtSunday",!1),this._nodes.monthSelect.val(this.options.displayedMonth.getMonth()),this._nodes.yearSelect.val(this.options.displayedMonth.getFullYear()),this._bindEvents()},_postInit:function(){var e=this;"sidebarCalendar"===this.options.title&&(LJ.Event.on("reqSidebarCalendarSwitchDate",function(t){var n=jQuery.Event("dateChange");n.date=t,e._nodes.root.trigger(n),e._setOption("displayedMonth",n.date)}),t(document).ready(function(){LJ.Event.trigger("sidebarCalendarInited")}))},_getView:function(){return a},_bindNodes:function(){for(var t in this.options.selectors)!this.options.selectors.hasOwnProperty(t)||t in this._nodes||(this._nodes[t]=this._nodes.container.find(this.options.selectors[t]));var e=LJ.Util.Date.parse(this._nodes.table.attr("data-date"),this.options.dateFormat);e&&(this.options.displayedMonth=e)},destroy:function(){t.Widget.prototype.destroy.apply(this,arguments)},_bindEvents:function(){var e=this,n=this._getSwitcherStates(this.options.currentDate),a=function(t){return function(n){n.preventDefault(),n.stopPropagation();var a=e._getSwitcherStates(e.options.currentDate);a[t]&&e["_"+t]()}};for(var i in n)n.hasOwnProperty(i)&&this._nodes[i].click(a(i));this._nodes.monthSelect.change(function(){var t=new Date(e.options.currentDate);t.setMonth(this.value),e._setOption("currentDate",t)}),this._nodes.yearSelect.change(function(){var t=new Date(e.options.currentDate);t.setFullYear(this.value),e._setOption("currentDate",t)}),this._nodes.tbody.delegate("td","click",function(n){e._cellSelectedEvent(t(this),n)})},_switchMonth:function(t){var e=jQuery.Event("dateChange");e.moveForward=t>0,e.switchType=12===Math.abs(t)?"year":1===Math.abs(t)?"month":null,e.date=new Date(this.options.displayedMonth.getFullYear(),this.options.displayedMonth.getMonth()+t,1),this._nodes.root.trigger(e),this._setOption("displayedMonth",e.date)},_prevMonth:function(){this._switchMonth(-1)},_nextMonth:function(){this._switchMonth(1)},_prevYear:function(){this._switchMonth(-12)},_nextYear:function(){this._switchMonth(12)},_cellSelectedEvent:function(t,e){t.data("isActive")&&!this._cellSelected(t.data("day"))||(e.stopPropagation(),e.preventDefault())},_cellSelected:function(t){var e=jQuery.Event("daySelected");return this._nodes.root.trigger(e,[t,LJ.Util.Date.format(t,this.options.dateFormat)]),e.isDefaultPrevented()||this._setOption("currentDate",t),!e.isDefaultPrevented()},_fitDate:function(t){t=new Date(t);var a=[this.options.startMonth,this.options.endMonth];return n(a,t)||(t=e(t,!0)<e(a[0],!0)?new Date(a[0]):new Date(a[1])),t},_getSwitcherStates:function(){var t=this.options.displayedMonth,e=new Date(t.getFullYear(),0,1),n=new Date(t.getFullYear(),11,1);return{prevMonth:this._isActivePrev(t)!==!1,prevYear:this._isActivePrev(e)!==!1,nextMonth:this._isActiveNext(t)!==!1,nextYear:this._isActiveNext(n)!==!1}},_isActiveNext:function(t){return this._isActiveDate(t,1)},_isActivePrev:function(t){return this._isActiveDate(t,-1)},_isActiveDate:function(t,e){var a=new Date(t);return a.setMonth(a.getMonth()+e),a.setDate(1),n([this.options.startMonth,this.options.endMonth],a)},_invalidateDisplay:function(){var t=this;clearTimeout(this._invalidateTimer),setTimeout(function(){t._view.modelChanged(t.options.displayedMonth,t._events,t._getSwitcherStates())},50)},_setOption:function(t,n){switch(t){case"currentDate":this.options.currentDate=this._fitDate(n);var a=jQuery.Event("currentDateChange"),i=new Date(this.options.currentDate);this._nodes.root.trigger(a,[i,LJ.Util.Date.format(i,this.options.dateFormat)]),this._setOption("displayedMonth",n),this._invalidateDisplay();break;case"activeFrom":this.options.activeFrom=new Date(n),this._invalidateDisplay();break;case"activeUntil":this.options.activeUntil=new Date(n),this._invalidateDisplay();break;case"title":this._title=n,this._nodes.title.html(n);break;case"events":this._events=n,this._invalidateDisplay();break;case"displayedMonth":var s=this._fitDate(new Date(n)),o=e(s,!0)===e(this.options.displayedMonth,!0);o||(this.options.displayedMonth=this._fitDate(new Date(n)),this._nodes.monthSelect.val(this.options.displayedMonth.getMonth()),this._nodes.yearSelect.val(this.options.displayedMonth.getFullYear()),this._invalidateDisplay());break;case"startMonth":this.options.startMonth=new Date(n),this._invalidateDisplay();break;case"endMonth":this.options.endMonth=new Date(n),this._invalidateDisplay();break;case"startAtSunday":this.options.startAtSunday=!!n;break;case"monthWithYear":this.options.monthWithYear=Boolean(n);break;case"dayRef":this.options.dayRef=n,this._invalidateDisplay()}},getElement:function(t){return t in this._nodes?this._nodes[t]:null}};t.widget("lj.inlineCalendar",s),jQuery.extend(t.lj.inlineCalendar,{getDefaults:function(){return i},setDefaults:function(t){t&&jQuery.extend(!0,i,t)}})}(jQuery);
/* <<< file end: js/jquery/jquery.lj.inlineCalendar.js */

//# map link was there [jquery.lj.inlineCalendar.js.map]
/* >>> file start: js/jquery/jquery.lj.calendar.js */
//= require js/jquery/jquery.lj.inlineCalendar.js
!function(e,t){var n,s={showOn:"click",closeControl:!0,showCellHovers:!1,hoverDelay:400,align:"center",events:null,displayedMonth:null,bubbleClass:!1,selectors:{tmpl:".appwidget-calendar .calendar"},classNames:{showCellHovers:"all-days",popup:"b-bubble-calendar"},templates:{calendar:'<div class="popup-inner calendar" style="display: none;"> 						<p class="cal-nav"> 							<span class="cal-nav-month"> 								<i class="cal-nav-prev"></i> 								<span class="cal-month"></span> 								<i class="cal-nav-next cal-nav-next-dis"></i> 							</span> 							<span class="cal-nav-year"> 								<i class="cal-nav-prev cal-nav-prev"></i> 								<span class="cal-year"></span> 								<i class="cal-nav-next cal-nav-next-dis"></i> 							</span> 						</p> 						<table class="calendar-table" cellspacing="0" cellpadding="0"> 							<thead> 								<tr> 									{{each days}} 										<th class="calendar-cell calendar-cell--header {{if $index % 7 === weekend1 || $index % 7 === weekend2}} weekend{{/if}}">${day}</th> 									{{/each}} 								</tr> 							</thead> 							<tbody> 								{{each cells}} 								{{if $index % 7 === 0}}<tr>{{/if}} 								<td class="calendar-cell {{if $index % 7 === weekend1 || $index % 7 === weekend2}}weekend{{/if}}"><span></span></td> 								{{if $index % 7 === 6}}</tr>{{/if}} 								{{/each}} 							</tbody> 						</table></div>'}},a={options:{},_initialize:function(){n||(n=this._buildDOM()),this._nodes={container:n.clone(),root:this.element},e.lj.inlineCalendar.prototype._initialize.apply(this),this._invalidateDisplay()},_bindNodes:function(){e.lj.inlineCalendar.prototype._bindNodes.apply(this);var t=this;this._nodes.container.bubble({classNames:{containerAddClass:this.options.bubbleClass?this.options.classNames.popup:""},target:this._nodes.root,align:this.options.align,closeControl:this.options.closeControl,showOn:this.options.showOn,closeOnContentClick:!1,offset:this.options.offset}).bind("bubbleshow",function(e){t._nodes.container.bubble("setPreventHide",!0),setTimeout(function(){t._nodes.container.bubble("setPreventHide",!1)},300),t._trigger("show")}).bind("bubblehide",function(e){t._trigger("hide")}).addClass(this.options.classNames.container),this.options.input?this._nodes.input=this.options.input:this._nodes.root.is("[type=text]")?this._nodes.input=this._nodes.root:this._nodes.input=e(),this._nodes.input.mask&&this._nodes.input.mask("?dddd-dd-dd",{placeholder:" "}),this._nodes.input.input(this._parseInputValue.bind(this));var n=LJ.Util.Date.parse(this._nodes.input.val(),this.options.dateFormat);n&&(this.options.currentDate=n),this.options.showCellHovers&&this._nodes.table.addClass(this.options.classNames.showCellHovers)},destroy:function(){this._nodes.container.bubble("destroy"),e.lj.inlineCalendar.prototype.destroy.apply(this)},_buildDOM:function(){var e=this.options.ml.dayNamesShort.map(function(e){return{day:e}}),t=0,n=6,s=function(e,t){for(var n=[];e--;)n.push(t);return n};this.options.startAtSunday||(e[7]=e[0],e.shift(),t=5);for(var a=[],i=[],l=this.options.endMonth.getFullYear(),o=this.options.startMonth.getFullYear();l>=o;)a.push({year:l--});i=this.options.ml.monthNamesLong.map(function(e){return{month:e}});var d={caption:this.options.ml.caption,days:e,months:i,years:a,cells:s(42,{}),weekend1:t,weekend2:n};return-1!==this.options.templates.calendar.indexOf(" ")?jQuery.tmpl(this.options.templates.calendar,d):LJ.UI.template(this.options.templates.calendar,d)},_parseInputValue:function(){var e=LJ.Util.Date.parse(this._nodes.input.val(),this.options.dateFormat);e&&this._cellSelected(e)},_cellSelectedEvent:function(n,s){var a=this;e.lj.inlineCalendar.prototype._cellSelectedEvent.call(this,n,s),a.options.showCellHovers&&n.data("isActive")&&a._nodes.container.bubble("hide"),"a"==s.target.tagName.toLowerCase()&&(t.location.href=s.target.href)},_invalidateDisplay:function(){this._view.modelChanged(this.options.displayedMonth,this._events,this._getSwitcherStates())},_setOption:function(t,n){switch(e.lj.inlineCalendar.prototype._setOption.call(this,t,n),t){case"currentDate":this._nodes.input.val(LJ.Util.Date.format(this.options.currentDate,this.options.dateFormat))}}};e.widget("lj.calendar",e.lj.inlineCalendar,a),jQuery.extend(e.lj.calendar,{getDefaults:function(){return jQuery.extend(!0,{},e.lj.inlineCalendar.getDefaults(),s)},setDefaults:function(e){e&&jQuery.extend(s,e)}})}(jQuery,window);
/* <<< file end: js/jquery/jquery.lj.calendar.js */

//# map link was there [jquery.lj.calendar.js.map]
/* >>> file start: js/jquery/jquery.mask.js */
!function(t){var e=(t.browser.msie?"paste":"input")+".mask",n=void 0!=window.orientation;t.mask={definitions:{d:"[0-9]",w:"[A-Za-z]","*":"[A-Za-z0-9а-яА-Я]"}},t.fn.extend({unmask:function(){return this.trigger("unmask")},mask:function(a,r){if(!a&&this.length>0){var i=t(this[0]),o=i.data("tests");return t.map(i.data("buffer"),function(t,e){return o[e]?t:null}).join("")}r=t.extend({placeholder:"_",completed:null},r);var u=t.mask.definitions,o=[],l=a.length,f=null,s=a.length;return t.each(a.split(""),function(t,e){"?"==e?(s--,l=t):u[e]?(o.push(new RegExp(u[e])),null==f&&(f=o.length-1)):o.push(null)}),this.each(function(){function i(t){for(;++t<=s&&!o[t];);return t}function c(t){for(;!o[t]&&--t>=0;);for(var e=t;s>e;e++)if(o[e]){g[e]=r.placeholder;var n=i(e);if(!(s>n&&o[e].test(g[n])))break;g[e]=g[n]}k(),b.caret(Math.max(f,t))}function d(t){for(var e=t,n=r.placeholder;s>e;e++)if(o[e]){var a=i(e),u=g[e];if(g[e]=n,!(s>a&&o[a].test(u)))break;n=u}}function h(e){var a=t(this).caret(),r=e.keyCode;return y=16>r||r>16&&32>r||r>32&&41>r,a.start-a.end==0||y&&8!=r&&46!=r||m(a.start,a.end),8==r||46==r||n&&127==r?(c(a.start+(46==r?0:-1)),!1):27==r?(b.val(w),b.caret(0,p()),!1):void 0}function v(e){if(y)return y=!1,8==e.keyCode?!1:null;e=e||window.event;var n=e.charCode||e.keyCode||e.which,a=t(this).caret();if(e.ctrlKey||e.altKey||e.metaKey)return!0;if(n>=32&&125>=n||n>186){var u=i(a.start-1);if(s>u){var l=String.fromCharCode(n);if(o[u].test(l)){d(u),g[u]=l,k();var a=i(u);t(this).caret(a),r.completed&&a==s&&r.completed.call(b)}}}return!1}function m(t,e){for(var n=t;e>n&&s>n;n++)o[n]&&(g[n]=r.placeholder)}function k(){return b.val(g.join("")).val()}function p(t){for(var e=b.val(),n=-1,a=0,i=0;s>a;a++)if(o[a]){for(g[a]=r.placeholder;i++<e.length;){var u=e.charAt(i-1);if(o[a].test(u)){g[a]=u,n=a;break}}if(i>e.length)break}else g[a]==e.charAt(i)&&a!=l&&(i++,n=a);return!t&&l>n+1?(b.val(""),m(0,s)):(t||n+1>=l)&&(k(),t||b.val(b.val().substring(0,n+1))),l?a:f}var b=t(this),g=t.map(a.split(""),function(t,e){return"?"!=t?u[t]?r.placeholder:t:void 0}),y=!1,w=b.val();b.data("buffer",g).data("tests",o),b.attr("readonly")||b.one("unmask",function(){b.unbind(".mask").removeData("buffer").removeData("tests")}).bind("focus.mask",function(){w=b.val();var t=p();k(),setTimeout(function(){t==a.length?b.caret(0,t):b.caret(t)},0)}).bind("blur.mask",function(){p(),b.val()!=w&&b.change()}).bind("keydown.mask",h).bind("keypress.mask",v).bind(e,function(){setTimeout(function(){b.caret(p(!0))},0)}),p()})}})}(jQuery);
/* <<< file end: js/jquery/jquery.mask.js */

//# map link was there [jquery.mask.js.map]
/* >>> file start: js/node_modules/angular-route/angular-route.js */
!function(e,r){"use strict";function t(e,r){if(c(e)){r=r||[];for(var t=0,n=e.length;n>t;t++)r[t]=e[t]}else if(u(e)){r=r||{};for(var a in e)"$"===a.charAt(0)&&"$"===a.charAt(1)||(r[a]=e[a])}return r||e}function n(){function e(e,t){return r.extend(Object.create(e),t)}function n(e,r){var t=r.caseInsensitiveMatch,n={originalPath:e,regexp:e},a=n.keys=[];return e=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[\?\*])?/g,function(e,r,t,n){var o="?"===n||"*?"===n?"?":null,i="*"===n||"*?"===n?"*":null;return a.push({name:t,optional:!!o}),r=r||"",""+(o?"":r)+"(?:"+(o?r:"")+(i&&"(.+?)"||"([^/]+)")+(o||"")+")"+(o||"")}).replace(/([\/$\*])/g,"\\$1"),n.regexp=new RegExp("^"+e+"$",t?"i":""),n}c=r.isArray,u=r.isObject;var a={};this.when=function(e,o){var i=t(o);if(r.isUndefined(i.reloadOnSearch)&&(i.reloadOnSearch=!0),r.isUndefined(i.caseInsensitiveMatch)&&(i.caseInsensitiveMatch=this.caseInsensitiveMatch),a[e]=r.extend(i,e&&n(e,i)),e){var c="/"==e[e.length-1]?e.substr(0,e.length-1):e+"/";a[c]=r.extend({redirectTo:e},n(c,i))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(e){return"string"==typeof e&&(e={redirectTo:e}),this.when(null,e),this},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(t,n,o,i,c,u,l){function h(e,r){var t=r.keys,n={};if(!r.regexp)return null;var a=r.regexp.exec(e);if(!a)return null;for(var o=1,i=a.length;i>o;++o){var c=t[o-1],u=a[o];c&&u&&(n[c.name]=u)}return n}function f(e){var n=C.current;g=v(),w=g&&n&&g.$$route===n.$$route&&r.equals(g.pathParams,n.pathParams)&&!g.reloadOnSearch&&!P,w||!n&&!g||t.$broadcast("$routeChangeStart",g,n).defaultPrevented&&e&&e.preventDefault()}function $(){var e=C.current,a=g;w?(e.params=a.params,r.copy(e.params,o),t.$broadcast("$routeUpdate",e)):(a||e)&&(P=!1,C.current=a,a&&a.redirectTo&&(r.isString(a.redirectTo)?n.path(m(a.redirectTo,a.params)).search(a.params).replace():n.url(a.redirectTo(a.pathParams,n.path(),n.search())).replace()),i.when(a).then(d).then(function(n){a==C.current&&(a&&(a.locals=n,r.copy(a.params,o)),t.$broadcast("$routeChangeSuccess",a,e))},function(r){a==C.current&&t.$broadcast("$routeChangeError",a,e,r)}))}function d(e){if(e){var t=r.extend({},e.resolve);r.forEach(t,function(e,n){t[n]=r.isString(e)?c.get(e):c.invoke(e,null,null,n)});var n=p(e);return r.isDefined(n)&&(t.$template=n),i.all(t)}}function p(e){var t,n;return r.isDefined(t=e.template)?r.isFunction(t)&&(t=t(e.params)):r.isDefined(n=e.templateUrl)&&(r.isFunction(n)&&(n=n(e.params)),r.isDefined(n)&&(e.loadedTemplateUrl=l.valueOf(n),t=u(n))),t}function v(){var t,o;return r.forEach(a,function(a,i){!o&&(t=h(n.path(),a))&&(o=e(a,{params:r.extend({},n.search(),t),pathParams:t}),o.$$route=a)}),o||a[null]&&e(a[null],{params:{},pathParams:{}})}function m(e,t){var n=[];return r.forEach((e||"").split(":"),function(e,r){if(0===r)n.push(e);else{var a=e.match(/(\w+)(?:[?*])?(.*)/),o=a[1];n.push(t[o]),n.push(a[2]||""),delete t[o]}}),n.join("")}var g,w,P=!1,C={routes:a,reload:function(){P=!0;var e={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0,P=!1}};t.$evalAsync(function(){f(e),e.defaultPrevented||$()})},updateParams:function(e){if(!this.current||!this.current.$$route)throw s("norout","Tried updating route when with no current route");e=r.extend({},this.current.params,e),n.path(m(this.current.$$route.originalPath,e)),n.search(e)}};return t.$on("$locationChangeStart",f),t.$on("$locationChangeSuccess",$),C}]}function a(){this.$get=function(){return{}}}function o(e,t,n){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(a,o,i,c,u){function l(){$&&(n.cancel($),$=null),h&&(h.$destroy(),h=null),f&&($=n.leave(f),$.then(function(){$=null}),f=null)}function s(){var i=e.current&&e.current.locals,c=i&&i.$template;if(r.isDefined(c)){var s=a.$new(),$=e.current,v=u(s,function(e){n.enter(e,null,f||o).then(function(){!r.isDefined(d)||d&&!a.$eval(d)||t()}),l()});f=v,h=$.scope=s,h.$emit("$viewContentLoaded"),h.$eval(p)}else l()}var h,f,$,d=i.autoscroll,p=i.onload||"";a.$on("$routeChangeSuccess",s),s()}}}function i(e,r,t){return{restrict:"ECA",priority:-400,link:function n(a,o){var i=t.current,c=i.locals;o.html(c.$template);var n=e(o.contents());if(i.controller){c.$scope=a;var u=r(i.controller,c);i.controllerAs&&(a[i.controllerAs]=u),o.data("$ngControllerController",u),o.children().data("$ngControllerController",u)}a[i.resolveAs||"$resolve"]=c,n(a)}}}var c,u,l=r.module("ngRoute",["ng"]).provider("$route",n),s=r.$$minErr("ngRoute");l.provider("$routeParams",a),l.directive("ngView",o),l.directive("ngView",i),o.$inject=["$route","$anchorScroll","$animate"],i.$inject=["$compile","$controller","$route"]}(window,window.angular);
/* <<< file end: js/node_modules/angular-route/angular-route.js */

//# map link was there [angular-route.js.map]
/* >>> file start: js/core/angular/pills.js */
!function(i){return i}(),function(){"use strict";angular.module("LJ.Pills",[]).factory("Pills",function(){var i={};return{group:function(n,t){return"undefined"==typeof t?i[n]:void(i[n]=t)}}}).directive("ljPillsGroup",["Pills",function(i){return{restrict:"A",link:function(n,t,l){var r=l.ljPillsGroupActive||"b-menu-item-active";n.$watch(function(){return i.group(l.ljPillsGroup)},function(i){t.find("[data-pill]").removeClass(r).filter('[data-pill="'+i+'"]').addClass(r)})}}}])}();
/* <<< file end: js/core/angular/pills.js */

//# map link was there [pills.js.map]
/* >>> file start: js/core/angular/activity.js */
!function(){"use strict";function t(t,n){function c(){return u}function e(t){u=t}function i(){n.cancel(o),e(!0),o=n(e.bind(this,!1),9e5)}var u,o;return i(),t.on("click touchstart touchend keydown mousemove mousewheel",LJ.Function.debounce(i,100,!0)),{isActive:c}}angular.module("LJ.Activity",[]),angular.module("LJ.Activity").factory("Activity",t),t.$inject=["$document","$timeout"]}();
/* <<< file end: js/core/angular/activity.js */

//# map link was there [activity.js.map]
/* >>> file start: js/core/angular/api.js */
//!= require js/core/angular/messages.js
//= require js/core/angular/activity.js
!function(){"use strict";function e(e,t,n,c,r,i){function s(e,t){return"undefined"==typeof t?e:e+angular.toJson(a(t))}function a(e){var t;return angular.isObject(e)?(t={},Object.keys(e).sort().forEach(function(n){t[n]=a(e[n])}),t):e}function o(e,t){f.remove(s(e,t))}function u(t,a,o,u){var g,l,p=c.defer(),d={cache:!1,silent:!1,meta:!1},m=!1;return i.isActive()?(angular.isObject(a)&&null!==a||(a={}),angular.isObject(o)&&(u=o,o=null),u=angular.extend(d,u||{}),l=s(t,a),u.cache&&(g=f.get(l),g&&(m=!0)),m||(g=p.promise,LJ.Api.call(t,a,function(t){e(function(){t.error?p.reject(t.error):p.resolve(t),n.$apply()},0)}),u.cache&&f.put(l,g)),LJ.Event.trigger("api:request:change",t,!0),g.then(function(){LJ.Event.trigger("api:request:change",t,!1)}),u.silent||g.then(function(e){if(!u.silentSuccess){var t={};"undefined"!=typeof e.message&&(angular.isString(e.message)?(t.body=e.message,t.type="success"):(t.body=e.message.content,t.type="success"),r.add(t))}},function(e){"undefined"!=typeof e.message&&1!==e.code&&r.error({body:e.message})}),u.meta&&(g=g.then(function(e){return{response:e,fromCache:m}})),angular.isFunction(o)&&g.then(o),g):(p.reject(),p.promise)}var g={call:u,invalidate:o},f=t("LJApiPromises");return g}e.$inject=["$timeout","$cacheFactory","$rootScope","$q","Messages","Activity"],angular.module("LJ.Api",["LJ.Messages","LJ.Activity"]).factory("Api",e),e.$inject=["$timeout","$cacheFactory","$rootScope","$q","Messages","Activity"]}();
/* <<< file end: js/core/angular/api.js */

//# map link was there [api.js.map]
/* >>> file start: js/core/angular/linkTarget.js */
angular.module("LJ.LinkTarget",[]).directive("linkTarget",["$timeout",function(t){return{restrict:"A",link:function(n,i,r){t(function(){i.find("a:not([target])").attr("target",r.linkTarget)})}}}]);
/* <<< file end: js/core/angular/linkTarget.js */

//# map link was there [linkTarget.js.map]
/* >>> file start: js/core/angular/ljMediaStorage.js */
//= require js/core/angular/api.js
Site.page.template['angular/storage.ng.tmpl'] = '<div class=\"flatmedia-storage\"\n     ng-class=\"{\n       \'flatmedia-storage-light\': directive.usage <= 30,\n       \'flatmedia-storage-normal\': directive.usage > 30 && directive.usage <= 50,\n       \'flatmedia-storage-medium\': directive.usage > 50 && directive.usage <= 80,\n       \'flatmedia-storage-full\': directive.usage > 80 && directive.usage <= 100\n     }\"\n     ng-if=\"directive.storage\">\n    <div class=\"flatmedia-storage-item\">\n        <span class=\"flatmedia-storage-info\">\n            <span class=\"flatmedia-storage-percent\" ng-bind=\"directive.usage\"></span>\n            <span class=\"flatmedia-storage-size\">\n                <span ng-bind=\"directive.storage.occupied | dimension\"></span>\n            </span>\n        </span>\n        <span class=\"flatmedia-storage-progressbox\">\n            <span class=\"flatmedia-storage-progress\" ng-style=\"{ width: directive.usage + \'%\' }\"></span>\n        </span>\n    </div>\n    <div class=\"flatmedia-storage-item\" ng-if=\"directive.usage > 95 && directive.usage <= 100 && !directive.isPaid\">\n        <a ng-href=\"{{directive.siteroot}}/shop/profaccount.bml?ila_campaign=lack_disc_space&ila_location=photoalbum&ila_context=common\"\n           target=\"_blank\"\n           class=\"flatmedia-storage-upgrade\"\n           lj-ml=\"flatmedia.storage.upgrade\"></a>\n    </div>\n</div>\n';
LJ.injectStyle('/* >>> file start: stc/widgets/storage.css */\n.flatmedia-storage{position:relative;padding:0 0 0 46px}.flatmedia-storage:before{display:block;position:absolute;left:0;top:0;content:\"\";width:30px;height:30px;background-image:url(/img/icons/flatmedia.svg?v=47481);background-repeat:no-repeat;background-position:-10px -1028px}.flatmedia-storage.flatmedia-storage-full:before{background-position:-10px -1078px}.flatmedia-storage-item{margin:0 0 4px;line-height:1.05}.flatmedia-storage-info{display:inline-block;margin:0 0 6px;font-size:13px}.flatmedia-storage-percent{font-family:ProximaNovaBold,Helvetica,sans-serif;color:#49595E}.flatmedia-storage-percent:after{content:\"%\"}.flatmedia-storage-size{color:#7A9199}.flatmedia-storage-progressbox{display:block;position:relative;z-index:10;height:4px;width:100%;border-top:1px solid #DFDFDF;border-left:1px solid #DFDFDF;box-sizing:border-box;background:#FFF;background:linear-gradient(to bottom,rgba(223,223,223,1) 0,rgba(244,244,244,1) 33%,rgba(255,255,255,1) 67%,rgba(255,255,255,1) 100%)}.flatmedia-storage-progress{display:block;overflow:hidden;z-index:1;position:absolute;top:-1px;left:-1px;height:4px;transition:all .6s}.flatmedia-storage-light .flatmedia-storage-progress{background-color:#8DC73F}.flatmedia-storage-normal .flatmedia-storage-progress{background-color:#FFF12A}.flatmedia-storage-medium .flatmedia-storage-progress{background-color:#F8941F}.flatmedia-storage-full .flatmedia-storage-progress{background-color:#EE1C25}.flatmedia-storage-upgrade{padding-top:2px;padding-right:18px;background:url(/stc/img/inactive-prof-acc.svg?v=1683721996) right center no-repeat;background-size:contain;font-size:15px;line-height:1;color:#00A3D9;transition:all .2s}.flatmedia-storage-upgrade:visited{color:#00A3D9}.flatmedia-storage-upgrade:active,.flatmedia-storage-upgrade:hover{color:#0086B3}\n/* <<< file end: stc/widgets/storage.css */\n\n/*# map link was there [storage.css.map] */\n');
//= require_ml flatmedia.storage.buy.more
//= require_ml flatmedia.storage.upgrade
angular.module("LJ.MediaStorage",["LJ.Api"]).factory("MediaStorage",["Api",function(e){function t(){return e.call("user.get_available_space",{user:LJ.get("remote")}).then(function(e){return{occupied:e.occupied_space,available:e.available_space}})}return{getAvailableSpace:t}}]).filter("dimension",[function(){return function(e){var t;return e>Math.pow(1024,3)?(e=(e/Math.pow(1024,3)).toFixed(2),t="Gb"):(e=(e/Math.pow(1024,2)).toFixed(2),t="Mb"),e+t}}]).directive("ljMediaStorage",[function(){return{templateUrl:"storage.ng.tmpl",controllerAs:"directive",controller:["$scope","MediaStorage",function(e,t){function a(){t.getAvailableSpace().then(function(e){r.storage=e})}var r=this;LJ.get("remote")&&LJ.get("currentJournal")===LJ.get("remote.username")&&(r.isPermanent=LJ.get("remote.is_permanent"),r.isPaid=LJ.get("remote.is_paid"),e.$watch(function(){return r.storage},function(){r.storage&&(r.usage=Math.floor(100*Math.min(r.storage.occupied/r.storage.available,1)))}),this.siteroot=LJ.get("siteroot"),LJ.Event.on("storage:update",a),a())}]}}]);
/* <<< file end: js/core/angular/ljMediaStorage.js */

//# map link was there [ljMediaStorage.js.map]
/* >>> file start: js/core/angular/ljYandexContext.js */
angular.module("LJ.YandexContext",[]).factory("YandexContext",function(){function e(){return window.yandex_context_callbacks=window.yandex_context_callbacks||[],LJ.injectScript("//an.yandex.ru/system/context.js")}function n(e){return LJ.get("yandex_context")[e]}function t(t,d){return e().then(function(){var e=n(d);Ya.Direct.insertInto(e.id,t,e)})}return{init:e,getContext:n,addAdBlock:t}}).directive("ljYandexContext",["YandexContext",function(e){return{scope:{type:"@ljYandexContext"},link:function(n,t){var d=Date.now(),a=t.parent();return!e.getContext(n.type)&&a.hasClass("yadirect")?void a.hide():(t.prepend('<div id="'+d+'"/>'),void e.addAdBlock(d,n.type))}}}]).directive("ljRamblerAds",function(){return{link:function(e,n){var t=Date.now(),d=LJ.get("page.ramblerNews");n.append('<div id="'+t+'"/>'),n.append(d.replace(/document.write\(([^\)]+)\)/g,"document.getElementById("+t+").innerHTML += $1"))}}});
/* <<< file end: js/core/angular/ljYandexContext.js */

//# map link was there [ljYandexContext.js.map]
/* >>> file start: js/core/angular/options.js */
var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};angular.module("LJ.Options",[]).factory("Options",[function(){return{create:function(t){function n(n,o){"undefined"==typeof o?angular.extend(t,n):t[n]=o}function o(n){return t[n]}function e(){return t}if("undefined"==typeof t&&(t={}),"object"!==("undefined"==typeof t?"undefined":_typeof(t)))throw new TypeError("Options should be an object.");return{set:n,get:o,raw:e}}}}]);
/* <<< file end: js/core/angular/options.js */

//# map link was there [options.js.map]
/* >>> file start: js/core/angular/pagination.js */
//= require js/core/angular/options.js
Site.page.template['angular/ljPagination.ng.tmpl'] = '\n\n<div\n    class=\"\n        b-pager\n        \"\n    ng-class=\"{\n        \'b-pager-first\': isFirst(),\n        \'b-pager-last\': isLast(),\n        \'b-pager-mac\': isMac,\n        \'b-pager-pages200\': pages().length > 200,\n        \'b-pager-pages150\': pages().length > 150 && pages().length <= 200,\n        \'b-pager-pages100\': pages().length > 100 && pages().length <= 150,\n        \'b-pager-pages50\': pages().length > 50 && pages().length <= 100,\n        \'b-pager-pages10\': pages().length > 10 && pages().length <= 50,\n    }\"\n    ng-show=\"isEnabled()\"\n    ><!--\n\n    --><div\n        class=\"b-pager-prev js-elem-bordercolor\"\n        ng-click=\"prev()\"\n        ><!--\n        --><a\n            href=\"javascript:void(0);\"\n            class=\"\n                b-pager-link\n                b-pager-link--prev\n                js-elem-bgcolor--before\n                \"><!--\n            --><span\n                class=\"b-pager-link-icon\"\n                lj-svg-icon=\"flaticon--arrow-left-bold\"\n                ></span><!--\n            --><span\n                class=\"b-pager-link-text\"\n                lj-ml=\"talk.prev\"\n                ></span>\n            </a><!--\n        --><br><!--\n        --><span class=\"b-pager-shortcut\"><!--\n            --><span\n                    class=\"b-pager-shortcut-win\"\n                    lj-ml=\"talk.prevshortcut\"\n                    ></span><!--\n            --><span\n                    class=\"b-pager-shortcut-mac\"\n                    lj-ml=\"talk.prevshortcutmac\"\n                    ></span><!--\n        --></span><!--\n    --></div><!--\n\n    --><ul class=\"b-pager-pages\"><!--\n        --><li\n            class=\"b-pager-page\"\n            ng-class=\"{\'b-pager-page-active\': isActive(page)}\"\n            ng-repeat=\"page in pages() track by page\"\n            ><!--\n            --><a\n                href=\"javascript:void(0);\"\n                ng-click=\"setPage(page)\"\n                >{{page||\'..\'}}</a><!--\n        --></li><!--\n    --></ul><!--\n\n    --><div\n        class=\"b-pager-next\"\n        ng-click=\"next()\"\n        ><!--\n        --><a\n            href=\"javascript:void(0);\"\n            class=\"\n                b-pager-link\n                b-pager-link--next\n                \"\n            ><!--\n                --><span\n                    class=\"b-pager-link-text\"\n                    lj-ml=\"talk.next\"\n                    ></span><!--\n                --><span\n                        class=\"b-pager-link-icon\"\n                        lj-svg-icon=\"flaticon--arrow-right-bold\"\n                        ></span><!--\n            --></a><!--\n        --><br><!--\n        --><span class=\"b-pager-shortcut\"><!--\n            --><span\n                    class=\"b-pager-shortcut-win\"\n                    lj-ml=\"talk.nextshortcut\"\n                    ></span><!--\n            --><span\n                    class=\"b-pager-shortcut-mac\"\n                    lj-ml=\"talk.nextshortcutmac\"\n                    ></span><!--\n        --></span>\n    </div><!--\n\n--></div>\n';
//= require_ml talk.next
//= require_ml talk.nextshortcut
//= require_ml talk.nextshortcutmac
//= require_ml talk.prev
//= require_ml talk.prevshortcut
//= require_ml talk.prevshortcutmac
!function(e){return e}(),function(){"use strict";function e(e,t){return{replace:!0,scope:!0,templateUrl:"ljPagination.ng.tmpl",link:function(n){function a(e){var a=i?e.altKey:e.ctrlKey,r=e.which;a&&(37===r&&(e.preventDefault(),n.$apply(t.prev)),39===r&&(e.preventDefault(),n.$apply(t.next)))}var i=n.isMac=LJ.Support.isMac;n.isFirst=t.isFirst,n.isLast=t.isLast,n.isActive=t.isActive,n.isEnabled=t.isEnabled,n.next=t.next,n.prev=t.prev,n.pages=t.pages,n.setPage=function(e){t.set({page:e})},e.on("keydown",a),n.$on("$destroy",function(){e.off("keydown",a)})}}}function t(e,t){function n(){var e,t=d("first")+Math.ceil(d("itemsTotal")/d("itemsPerPage"))-1,n=[];for(e=d("first");t>=e;e+=1)n.push(e);c=n,f.set("last",t)}function a(){s()||(f.set("page",d("page")+1),l())}function i(){r()||(f.set("page",d("page")-1),l())}function r(){return Number(d("page"))===d("first")}function s(){return Number(d("page"))===d("last")}function g(e){return Number(d("page"))===e}function p(){return c.length>1}function o(){var e,t=2,n=Number(d("page"));return c.length>9&&(e=angular.fromJson(angular.toJson(c))),c.length<=9?c:(10===c.length?5>=n?e.splice(7,t,0):e.splice(1,t,0):5>=n?(t=c.length-8,e.splice(7,t,0)):n>=c.length-4?(t=c.length-8,e.splice(1,t,0)):(t=c.indexOf(n-3),e.splice(1,t,0),t=e.indexOf(n+3),e.splice(t,e.length-1-t,!1)),e)}function u(e,t){"undefined"!=typeof e.page&&!Number(e.page)||"page"===e&&!Number(t)||(f.set.apply(null,arguments),n(),d("page")>d("last")&&f.set("page",d("last")),d("page")<1&&f.set("page",1),("page"===e||e.page)&&l())}function l(){e.$broadcast("pagination:pageChanged",f.get("page"))}var c=[],f=t.create({first:1,last:1,itemsPerPage:20,itemsTotal:0,page:1}),d=f.get;return{set:u,get:d,isLast:s,isFirst:r,isActive:g,isEnabled:p,prev:i,next:a,pages:o}}function n(e){return function(t){var n=e.get("itemsPerPage"),a=(e.get("page")-1)*n;return t.slice(a,a+n)}}angular.module("LJ.Pagination",["LJ.Directives","LJ.Options"]),angular.module("LJ.Pagination").filter("paged",n).factory("Pagination",t).directive("ljPagination",e),e.$inject=["$document","Pagination"],t.$inject=["$rootScope","Options"],n.$inject=["Pagination"]}();
/* <<< file end: js/core/angular/pagination.js */

//# map link was there [pagination.js.map]
/* >>> file start: js/profile/userpicker.js */
//= require js/core/angular/pagination.js
Site.page.template['angular/profile/upic.ng.tmpl'] = '<div\n    class=\"b-ljuserpic\"\n    ng-class=\"{\n        \'b-ljuserpic-nopics\'    : !userpics.hasUserpics,\n        \'b-ljuserpic-disabled\'  : state.disabledInput\n    }\">\n\n    <!-- current userpic -->\n    <div\n        class=\"b-myuserpic\"\n        ng-class=\"{\n             \'b-myuserpics-nouserpics\' : state.isRemoteExists && !userpics.hasUserpics,\n             \'b-myuserpics-anonymous\'  : state.isRemoteExists && userpics.hasUserpics\n        }\"\n        ng-click=\"togglePicker()\"\n        lj-switch-off=\"state.showPicker\"\n        lj-switch-off-action=\"togglePicker()\">\n\n        <!-- current upic image -->\n        <a\n                ng-href=\"{{ userpics.hasUserpics ? \'\' : siteroot + \'/editpics.bml\' }}\"\n                href=\"javascript:void(0)\"\n                class=\"b-myuserpic-current\"\n                lj-ml=\"talk.default.userpic\"\n                lj-ml-attr=\"label\"\n                ng-style=\"{ backgroundImage: \'url(\' + defaultPic() + \')\' }\"\n                tabindex=\"30\"><!--\n        --></a>\n    </div>\n\n    <div profile-userpicker ng-if=\"state.isRemoteExist && userpics.hasUserpics\"></div>\n\n</div>\n';
Site.page.template['angular/profile/upicSelect.ng.tmpl'] = '<div\n        class=\"b-userpicselector-inner\"\n        ng-class=\"{\n            \'b-userpicselector-tiny3\': userpics().hasUserpics === 3,\n            \'b-userpicselector-tiny2\': userpics().hasUserpics === 2,\n            \'b-userpicselector-tiny1\': userpics().hasUserpics === 1,\n            \'b-userpicselector-tiny\': userpics().hasUserpics <= 3,\n            \'b-userpicselector-open\': state.showPicker\n        }\">\n\n    <div class=\"b-userpicselector-wrapper\">\n        <span\n                class=\"b-userpicselector-control b-userpicselector-control-back\"\n                ng-click=\"prev()\"\n                lj-switch-off-skip\n                ></span>\n        <span\n                class=\"b-userpicselector-control b-userpicselector-control-forward\"\n                ng-click=\"next()\"\n                lj-switch-off-skip\n                ></span>\n        <ul class=\"b-userpicselector-items\">\n            <li\n                    class=\"b-userpicselector-item b-userpicselector-item-nodefault\"\n                    ng-if=\"state.hasDefault\"><!--\n                --><label for=\"u{{remote.id}}\"><!--\n                    --><span\n                    class=\"b-userpicselector-pic\"\n                    style=\"background: url({{statprefix}}/img/userpics/userpic-user.png?v=15821);\"\n                    lj-ml=\"talk.no.default.userpic\"\n                    lj-ml-attr=\"title\"><!--\n                        -->&nbsp;<!--\n                    --></span>\n            </label>\n            </li>\n\n            <li\n                ng-repeat=\"userpic in userpics().all | paged\"\n                class=\"b-userpicselector-item b-userpicselector-visible\"\n                ng-class=\"{\'b-userpicselector-active\': userpic.active === 1,\n                           \'b-userpicselector-center\': $index === 1,\n                           \'b-userpicselector-right\': $index === 2 }\"\n                data-name=\"{{ userpic.keyword}}\"><!--\n            --><label for=\"{{ userpic.id}}\"><!--\n                --><span\n                class=\"b-userpicselector-pic\"\n                ng-style=\"{ backgroundImage: \'url(\' + userpic.src + \')\' }\"\n                title=\"{{ userpic.title }}\"\n                ng-click=\"setDefault(userpic)\"><!--\n                    -->&nbsp;<!--\n                --></span><!--\n            --></label>\n            </li>\n\n        </ul>\n    </div>\n</div>\n';
LJ.injectStyle('/* >>> file start: stc/userpicselector_v2.css */\n.b-ljuserpic{position:relative;margin:0}.b-myuserpic{display:none;position:relative;width:130px;height:100px;border-radius:3px;border-collapse:collapse;cursor:pointer;background-color:#7A9199}#js .b-myuserpic{display:inline-block}.b-ljuserpic-selector{display:inline}#js .b-ljuserpic-selector,.b-ljuserpic-default{display:none}.b-myuserpic:after{display:block;position:absolute;right:5px;top:50%;width:20px;height:8px;margin-top:-3px;content:\" \";background:url(/img/schemius/s-icons.svg?v=40651) -230px 0 no-repeat}.b-myuserpic:hover{border-color:#C00;cursor:pointer}.b-myuserpic-current,.b-myuserpic-current:active,.b-myuserpic-current:hover,.b-myuserpic-current:visited{display:inline-block;width:100px;height:100px;margin:0;padding:0;border:0;border-radius:3px 0 0 3px;background-repeat:no-repeat;background-position:50% 50%;background-size:cover;text-decoration:none;font:0/0 serif}.b-myuserpic-current:focus{outline:0}.b-myuserpic-unfocus:focus{outline:0!important}.b-myuserpic-current .user_pic{display:inline-block;border-radius:3px}.b-myuserpic-options{display:block;margin:0}.b-myuserpic-title{position:relative;display:inline-block;margin:0;padding:5px 0 0;font-size:11px;color:#369}.b-myuserpic-anonymous,.b-myuserpic-nouserpics{padding:8px;cursor:default}.b-myuserpic-title I{overflow:hidden;position:absolute;top:6px;right:-16px;display:block;width:16px;height:16px;background:url(/img/icons/popup-expand.png?v=15718) no-repeat}.b-myuserpic:hover .b-myuserpic-title I{background-position:0 -16px}.b-myuserpic:focus .b-myuserpic-title I{background-position:0 -32px}.b-myuserpic-title .b-pseudo{overflow:hidden;margin:0;display:inline-block;max-width:80px;white-space:nowrap;text-overflow:ellipsis;font-size:11px}.b-ljuserpic-disabled .b-myuserpic-title,.b-ljuserpic-off .b-myuserpic-options,.b-ljuserpic-off .b-userpicselector,.b-userpicselector .i-popup-close{display:none}.b-userpicselector,.b-userpicselector-wrapper{overflow:hidden;font:14px/1.2 Arial,sans-serif}.b-myuserpic:hover .b-myuserpic-title .b-pseudo{color:#C00}.b-myuserpic-anonymous:hover{border-color:#59D;cursor:default}.b-myuserpic-anonymous .b-myuserpic-current:active,.b-myuserpic-anonymous .b-myuserpic-current:focus,.b-myuserpic-anonymous .b-myuserpic-current:hover,.b-myuserpic-anonymous .b-myuserpic-current:link,.b-myuserpic-anonymous .b-myuserpic-current:visited{outline:0;cursor:default}.b-myuserpic-nouserpics:hover{border-color:#59D;cursor:default}.b-myuserpic-nouserpics .b-myuserpic-current:active,.b-myuserpic-nouserpics .b-myuserpic-current:focus,.b-myuserpic-nouserpics .b-myuserpic-current:hover,.b-myuserpic-nouserpics .b-myuserpic-current:link,.b-myuserpic-nouserpics .b-myuserpic-current:visited{outline:0;cursor:default}.b-ljuserpic-disabled .b-myuserpic{opacity:.5;cursor:default}.b-ljuserpic-disabled .b-myuserpic:hover{border-color:#59D;cursor:default}.b-ljuserpic-disabled .b-myuserpic-current:active,.b-ljuserpic-disabled .b-myuserpic-current:focus,.b-ljuserpic-disabled .b-myuserpic-current:hover,.b-ljuserpic-disabled .b-myuserpic-current:link,.b-ljuserpic-disabled .b-myuserpic-current:visited{outline:0;cursor:default}.b-ljuserpic-off{margin:0;padding:0;cursor:default}.b-ljuserpic-off .b-myuserpic{width:100px;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;border-collapse:collapse;background:#FFF;cursor:default}.b-ljuserpic-off .b-myuserpic-current:active,.b-ljuserpic-off .b-myuserpic-current:focus,.b-ljuserpic-off .b-myuserpic-current:hover,.b-ljuserpic-off .b-myuserpic-current:link,.b-ljuserpic-off .b-myuserpic-current:visited{outline:0!important;cursor:default}.b-userpicselector{position:absolute;z-index:100;clear:both;border-radius:5px;box-shadow:0 0 5px #a0aaad;background:#FAFAFA}.b-userpicselector .b-popup-inner,.b-userpicselector .b-popup-outer{position:relative;z-index:100;margin:0;padding:0;border-radius:0;border:0;background:0 0}.b-userpicselector .i-popup-arr{visibility:hidden}.b-userpicselector-inner{position:absolute;z-index:-1;left:30px;bottom:-100px;width:480px;height:130px;opacity:0;visibility:hidden;border-radius:5px;box-shadow:0 0 5px #a0aaad;background:#FAFAFA}.b-userpicselector-tiny1{width:200px}.b-userpicselector-tiny1 .b-userpicselector-item:after{width:0}.b-userpicselector-tiny2{width:340px}.b-userpicselector-tiny2 .b-userpicselector-item.b-userpicselector-center:after{width:0}.b-userpicselector-tiny .b-userpicselector-control:after{opacity:.2;cursor:default}.b-userpicselector-tiny .b-userpicselector-control{cursor:default}.b-ljuserpic-nopics .b-myuserpic:after{display:none;background:0 0}.b-ljuserpic-nopics .b-myuserpic{width:100px;background:0 0}.b-ljuserpic-nopics .b-myuserpic-current{border-radius:3px}.b-userpicselector-wrapper{position:relative;margin:0;padding:15px 30px}.b-userpicselector-loaded .b-userpicselector-wrapper{background:0 0}.b-userpicselector-items{position:relative;width:420px;height:100px;margin:0;padding:0;list-style:none}.b-userpicselector-items:after,.b-userpicselector-items:before{display:table;border-collapse:collapse;content:\"\"}.b-userpicselector-items:after{clear:both}.b-userpicselector-item{position:absolute;left:0;top:0;width:100px;height:100px;padding:0 20px;opacity:0;visibility:hidden;text-align:left}.b-userpicselector-item.b-userpicselector-center{left:140px}.b-userpicselector-item.b-userpicselector-right{left:280px}.b-userpicselector-item.b-userpicselector-center:after,.b-userpicselector-item:after{display:block;position:absolute;width:1px;top:0;bottom:0;right:0;content:\"\";background-color:#dae3e6}.b-userpicselector-right:after{display:none}.b-userpicselector-tiny3 .b-userpicselector-item,.b-userpicselector-tiny4 .b-userpicselector-item{margin-bottom:0}.b-userpicselector-item LABEL{display:block;text-align:center;font-size:11px}#js .b-userpicselector-checkbox{position:absolute;left:-199px}.b-userpicselector-pic{position:relative;display:block;width:100px;height:100px;margin:0;padding:0;cursor:pointer;box-sizing:border-box;color:#0051B7;background-repeat:no-repeat!important;background-position:50% 50%!important;background-color:#FFF;font:0/0 serif}.b-userpicselector-control{display:block;position:absolute;top:0;z-index:2;width:30px;height:100%;box-sizing:border-box;cursor:pointer;background:#FFF}.b-userpicselector-control-back{left:0;border-radius:5px 0 0 5px;border-right:1px solid #DAE3E6}.b-userpicselector-control-forward{right:0;border-radius:0 5px 5px 0;border-left:1px solid #DAE3E6}.b-userpicselector-control:after{display:block;position:absolute;z-index:3;left:50%;top:50%;width:8px;height:14px;margin-top:-7px;margin-left:-4px;content:\"\";background-image:url(/img/profile_icons/profile-icons.svg?ver=1);background-repeat:no-repeat}.b-userpicselector-control-back:after{background-position:-56px 0}.b-userpicselector-control-forward:after{background-position:-80px 0}.b-userpicselector-controls{margin:15px -15px 0;padding:20px;-moz-border-radius-bottomleft:7px;-moz-border-radius-bottomright:7px;border-bottom-left-radius:7px;border-bottom-right-radius:7px;background:#CDE;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#CDE),color-stop(100%,#FFF)) #CDE;background:-webkit-linear-gradient(top,#CDE 0,#FFF 100%) #CDE;background:linear-gradient(top,#CDE 0,#FFF 100%) #CDE;filter:progid:DXImageTransform.Microsoft.gradient( startColorstr=\'#CCDDEE\', endColorstr=\'#FFFFFF\', GradientType=0 );font:14px/1.2 Arial,sans-serif}.b-userpicselector-keywords{display:none;width:16em;margin:0 20px 0 0}#js .b-userpicselector-keywords{display:inline-block}#js .b-userpicselector-tiny .b-userpicselector-keywords,.b-userpicselector-tiny .placeholder-wrapper{display:none}BODY .b-userpicselector-showall,BODY .b-userpicselector-showall:link,BODY .b-userpicselector-showall:visited{margin:0;border:0;color:#0051B7!important;text-decoration:underline}BODY .b-userpicselector-showall:active,BODY .b-userpicselector-showall:hover{color:#C00!important;border:0;text-decoration:underline}BODY .b-userpicselector-close:active,BODY .b-userpicselector-close:hover,BODY .b-userpicselector-close:link,BODY .b-userpicselector-close:visited{display:none;position:absolute;bottom:21px;right:4px;z-index:3;margin:0 16px 0 0;border-bottom:1px dotted;cursor:pointer;color:#000!important;text-decoration:none}BODY .b-userpicselector-close:active,BODY .b-userpicselector-close:hover{color:#C00!important}BODY .b-userpicselector-close:after{content:\" \";position:absolute;top:2px;right:-18px;width:16px;height:16px;margin:0;padding:0;background:url(/img/icons/popup-close.png?v=15718) no-repeat;font:0/0 serif;cursor:pointer}BODY .b-userpicselector-close:hover:after{background-position:0 -16px}#js .b-userpicselector-close:active,#js .b-userpicselector-close:hover,#js .b-userpicselector-close:link,#js .b-userpicselector-close:visited{display:block}.b-userpicselector-inner.b-userpicselector-open{z-index:3002;opacity:1;visibility:visible;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-duration:.2s;transition-duration:.2s}.b-userpicselector-visible{opacity:1;visibility:visible;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-duration:.2s;transition-duration:.2s}.ie8 .b-userpicselector-inner{width:420px}@media (max-width:480px){.b-userpicselector-inner{left:0;bottom:-70px;width:300px;height:90px}.b-userpicselector-items{height:60px}.b-userpicselector-item{max-width:60px;height:60px;padding:0 10px}.b-userpicselector-item.b-userpicselector-center{left:80px}.b-userpicselector-item.b-userpicselector-right{left:160px}.b-userpicselector-pic{width:60px;height:60px}.b-userpicselector-item.b-userpicselector-center:after,.b-userpicselector-item:after{display:none;width:0}}\n/* <<< file end: stc/userpicselector_v2.css */\n\n/*# map link was there [userpicselector_v2.css.map] */\n');
!function(e){return e}(),function(){angular.module("Profile.Userpicker",["LJ.Templates","LJ.Directives","LJ.Pills","LJ.Pagination","LJ.Api"]).factory("Userpics",["Api",function(e){var t={};return t.isRemoteExist=LJ.get("remote_exists"),t.disabledInput=LJ.get("disabled_input"),t.statPrefix=LJ.get("statprefix"),t.siteroot=LJ.get("siteroot"),t.userpics={all:LJ.get("userpics"),hasUserpics:LJ.get("hasuserpics"),hasActive:LJ.get("hasactiveuserpic"),hasDefault:LJ.get("hasdefaultuserpic"),current:LJ.get("currentuserpic"),statPrefix:LJ.get("statprefix")},t.setDefault=function(s){var i=t.userpics.current;i&&(i.active=0),s.active=1,t.userpics.current=s,t.userpics.hasDefault=1,e.call("userpic.set_default_userpic",{user:LJ.get("remoteUser"),defaultpic:s.id},function(e){"ok"===e.result&&LJ.Event.trigger("userpic.changed",s.src)})},t}]).directive("profileUserpic",["Userpics",function(e){return{restrict:"A",templateUrl:"upic.ng.tmpl",scope:!0,replace:!0,link:function(t){t.state={showPicker:!1,isRemoteExist:e.isRemoteExist,disabledInput:e.disabledInput},t.siteroot=e.siteroot,t.userpics=e.userpics,t.current=function(){return e.userpics.current},t.defaultPic=function(){return t.state.isRemoteExist?t.userpics.hasDefault?t.current().src:e.statPrefix+"/img/userpics/userpic-user.png?v=15821":e.statPrefix+"/img/userpics/userpic-anonymous.png?v=15821"},t.togglePicker=function(){t.state.showPicker=!t.state.showPicker}}}}]).directive("profileUserpicker",["Userpics","Pagination",function(e,t){return{restrict:"A",templateUrl:"upicSelect.ng.tmpl",replace:!0,link:function(s){var i=3;s.userpics=function(){return e.userpics},s.setDefault=e.setDefault,t.set({itemsPerPage:i,itemsTotal:s.userpics().all.length,page:1}),s.isFirst=t.isFirst,s.isLast=t.isLast,s.isActive=t.isActive,s.isEnabled=t.isEnabled,s.next=function(){return s.isLast()?void t.set({page:1}):void t.next()},s.prev=function(){return s.isFirst()?void t.set({page:s.userpics().all.length}):void t.prev()},s.pages=t.pages}}}])}();
/* <<< file end: js/profile/userpicker.js */

//# map link was there [userpicker.js.map]
/* >>> file start: js/front-bundled/dist/infoProModal.js */
/*! For license information please see infoProModal.js.LICENSE.txt */
(()=>{var e,t={2833:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var s=a[c];if(!l(s))return!1;var u=e[s],d=t[s];if(!1===(o=r?r.call(n,u,d,s):void 0)||void 0===o&&u!==d)return!1}return!0}},4146:(e,t,r)=>{"use strict";var n=r(44363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function c(e){return n.isMemo(e)?i:l[e.$$typeof]||o}l[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[n.Memo]=i;var s=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var o=p(r);o&&o!==m&&e(t,o,n)}var i=u(r);d&&(i=i.concat(d(r)));for(var l=c(t),b=c(r),g=0;g<i.length;++g){var h=i[g];if(!(a[h]||n&&n[h]||b&&b[h]||l&&l[h])){var y=f(r,h);try{s(t,h,y)}catch(e){}}}}return t}},7463:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(!(0<a(o,t)))break e;e[n]=t,e[r]=o,r=n}}function n(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,i=o>>>1;n<i;){var l=2*(n+1)-1,c=e[l],s=l+1,u=e[s];if(0>a(c,r))s<o&&0>a(u,c)?(e[n]=u,e[s]=r,n=s):(e[n]=c,e[l]=r,n=l);else{if(!(s<o&&0>a(u,r)))break e;e[n]=u,e[s]=r,n=s}}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,c=l.now();t.unstable_now=function(){return l.now()-c}}var s=[],u=[],d=1,f=null,p=3,m=!1,b=!1,g=!1,h="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=n(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,r(s,t)}t=n(u)}}function w(e){if(g=!1,x(e),!b)if(null!==n(s))b=!0,N(k);else{var t=n(u);null!==t&&M(w,t.startTime-e)}}function k(e,r){b=!1,g&&(g=!1,y(S),S=-1),m=!0;var a=p;try{for(x(r),f=n(s);null!==f&&(!(f.expirationTime>r)||e&&!P());){var i=f.callback;if("function"==typeof i){f.callback=null,p=f.priorityLevel;var l=i(f.expirationTime<=r);r=t.unstable_now(),"function"==typeof l?f.callback=l:f===n(s)&&o(s),x(r)}else o(s);f=n(s)}if(null!==f)var c=!0;else{var d=n(u);null!==d&&M(w,d.startTime-r),c=!1}return c}finally{f=null,p=a,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,A=!1,O=null,S=-1,j=5,E=-1;function P(){return!(t.unstable_now()-E<j)}function F(){if(null!==O){var e=t.unstable_now();E=e;var r=!0;try{r=O(!0,e)}finally{r?C():(A=!1,O=null)}}else A=!1}if("function"==typeof v)C=function(){v(F)};else if("undefined"!=typeof MessageChannel){var I=new MessageChannel,L=I.port2;I.port1.onmessage=F,C=function(){L.postMessage(null)}}else C=function(){h(F,0)};function N(e){O=e,A||(A=!0,C())}function M(e,r){S=h((function(){e(t.unstable_now())}),r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){b||m||(b=!0,N(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return n(s)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var r=p;p=t;try{return e()}finally{p=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=p;p=e;try{return t()}finally{p=r}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(e.sortIndex=a,r(u,e),null===n(s)&&e===n(u)&&(g?(y(S),S=-1):g=!0,M(w,a-i))):(e.sortIndex=l,r(s,e),b||m||(b=!0,N(k))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=p;return function(){var r=p;p=t;try{return e.apply(this,arguments)}finally{p=r}}}},8887:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){function t(e,n,c,s,f){for(var p,m,b,g,x,k=0,C=0,A=0,O=0,S=0,L=0,M=b=p=0,T=0,z=0,$=0,D=0,H=c.length,B=H-1,R="",J="",U="",q="";T<H;){if(m=c.charCodeAt(T),T===B&&0!==C+O+A+k&&(0!==C&&(m=47===C?10:47),O=A=k=0,H++,B++),0===C+O+A+k){if(T===B&&(0<z&&(R=R.replace(d,"")),0<R.trim().length)){switch(m){case 32:case 9:case 59:case 13:case 10:break;default:R+=c.charAt(T)}m=59}switch(m){case 123:for(p=(R=R.trim()).charCodeAt(0),b=1,D=++T;T<H;){switch(m=c.charCodeAt(T)){case 123:b++;break;case 125:b--;break;case 47:switch(m=c.charCodeAt(T+1)){case 42:case 47:e:{for(M=T+1;M<B;++M)switch(c.charCodeAt(M)){case 47:if(42===m&&42===c.charCodeAt(M-1)&&T+2!==M){T=M+1;break e}break;case 10:if(47===m){T=M+1;break e}}T=M}}break;case 91:m++;case 40:m++;case 34:case 39:for(;T++<B&&c.charCodeAt(T)!==m;);}if(0===b)break;T++}if(b=c.substring(D,T),0===p&&(p=(R=R.replace(u,"").trim()).charCodeAt(0)),64===p){switch(0<z&&(R=R.replace(d,"")),m=R.charCodeAt(1)){case 100:case 109:case 115:case 45:z=n;break;default:z=I}if(D=(b=t(n,z,b,m,f+1)).length,0<N&&(x=l(3,b,z=r(I,R,$),n,E,j,D,m,f,s),R=z.join(""),void 0!==x&&0===(D=(b=x.trim()).length)&&(m=0,b="")),0<D)switch(m){case 115:R=R.replace(w,i);case 100:case 109:case 45:b=R+"{"+b+"}";break;case 107:b=(R=R.replace(h,"$1 $2"))+"{"+b+"}",b=1===F||2===F&&a("@"+b,3)?"@-webkit-"+b+"@"+b:"@"+b;break;default:b=R+b,112===s&&(J+=b,b="")}else b=""}else b=t(n,r(n,R,$),b,s,f+1);U+=b,b=$=z=M=p=0,R="",m=c.charCodeAt(++T);break;case 125:case 59:if(1<(D=(R=(0<z?R.replace(d,""):R).trim()).length))switch(0===M&&(p=R.charCodeAt(0),45===p||96<p&&123>p)&&(D=(R=R.replace(" ",":")).length),0<N&&void 0!==(x=l(1,R,n,e,E,j,J.length,s,f,s))&&0===(D=(R=x.trim()).length)&&(R="\0\0"),p=R.charCodeAt(0),m=R.charCodeAt(1),p){case 0:break;case 64:if(105===m||99===m){q+=R+c.charAt(T);break}default:58!==R.charCodeAt(D-1)&&(J+=o(R,p,m,R.charCodeAt(2)))}$=z=M=p=0,R="",m=c.charCodeAt(++T)}}switch(m){case 13:case 10:47===C?C=0:0===1+p&&107!==s&&0<R.length&&(z=1,R+="\0"),0<N*_&&l(0,R,n,e,E,j,J.length,s,f,s),j=1,E++;break;case 59:case 125:if(0===C+O+A+k){j++;break}default:switch(j++,g=c.charAt(T),m){case 9:case 32:if(0===O+k+C)switch(S){case 44:case 58:case 9:case 32:g="";break;default:32!==m&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===O+C+k&&(z=$=1,g="\f"+g);break;case 108:if(0===O+C+k+P&&0<M)switch(T-M){case 2:112===S&&58===c.charCodeAt(T-3)&&(P=S);case 8:111===L&&(P=L)}break;case 58:0===O+C+k&&(M=T);break;case 44:0===C+A+O+k&&(z=1,g+="\r");break;case 34:case 39:0===C&&(O=O===m?0:0===O?m:O);break;case 91:0===O+C+A&&k++;break;case 93:0===O+C+A&&k--;break;case 41:0===O+C+k&&A--;break;case 40:0===O+C+k&&(0===p&&(2*S+3*L==533||(p=1)),A++);break;case 64:0===C+A+O+k+M+b&&(b=1);break;case 42:case 47:if(!(0<O+k+A))switch(C){case 0:switch(2*m+3*c.charCodeAt(T+1)){case 235:C=47;break;case 220:D=T,C=42}break;case 42:47===m&&42===S&&D+2!==T&&(33===c.charCodeAt(D+2)&&(J+=c.substring(D,T+1)),g="",C=0)}}0===C&&(R+=g)}L=S,S=m,T++}if(0<(D=J.length)){if(z=n,0<N&&void 0!==(x=l(2,J,z,e,E,j,D,s,f,s))&&0===(J=x).length)return q+J+U;if(J=z.join(",")+"{"+J+"}",0!==F*P){switch(2!==F||a(J,2)||(P=0),P){case 111:J=J.replace(v,":-moz-$1")+J;break;case 112:J=J.replace(y,"::-webkit-input-$1")+J.replace(y,"::-moz-$1")+J.replace(y,":-ms-input-$1")+J}P=0}}return q+J+U}function r(e,t,r){var o=t.trim().split(b);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var l=0;for(e=0===i?"":e[0]+" ";l<a;++l)t[l]=n(e,t[l],r).trim();break;default:var c=l=0;for(t=[];l<a;++l)for(var s=0;s<i;++s)t[c++]=n(e[s]+" ",o[l],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,r,n){var i=e+";",l=2*t+3*r+4*n;if(944===l){e=i.indexOf(":",9)+1;var c=i.substring(e,i.length-1).trim();return c=i.substring(0,e).trim()+c+";",1===F||2===F&&a(c,1)?"-webkit-"+c+c:c}if(0===F||2===F&&!a(i,1))return i;switch(l){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(S,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(c=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+c+i;case 1005:return p.test(i)?i.replace(f,":-webkit-")+i.replace(f,":-moz-")+i:i;case 1e3:switch(t=(c=i.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=i.replace(x,"tb");break;case 232:c=i.replace(x,"tb-rl");break;case 220:c=i.replace(x,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+c+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,l=(c=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102<l?"inline-":"")+"box")+";"+i.replace(c,"-webkit-"+c)+";"+i.replace(c,"-ms-"+c+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return c=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+c+"-ms-flex-"+c+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(C,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(C,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===O.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):i.replace(c,"-webkit-"+c)+i.replace(c,"-moz-"+c.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+n&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+i}return i}function a(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),M(2!==t?n:n.replace(A,"$1"),r,t)}function i(e,t){var r=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(k," or ($1)").substring(4):"("+t+")"}function l(e,t,r,n,o,a,i,l,c,u){for(var d,f=0,p=t;f<N;++f)switch(d=L[f].call(s,e,p,r,n,o,a,i,l,c,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function c(e){return void 0!==(e=e.prefix)&&(M=null,e?"function"!=typeof e?F=1:(F=2,M=e):F=0),c}function s(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<N){var o=l(-1,r,n,n,E,j,0,0,0,0);void 0!==o&&"string"==typeof o&&(r=o)}var a=t(I,n,r,0,0);return 0<N&&void 0!==(o=l(-2,a,n,n,E,j,a.length,0,0,0))&&(a=o),P=0,j=E=1,a}var u=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,p=/zoo|gra/,m=/([,: ])(transform)/g,b=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,h=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,v=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,C=/-self|flex-/g,A=/[^]*?(:[rp][el]a[\w-]+)[^]*/,O=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,j=1,E=1,P=0,F=1,I=[],L=[],N=0,M=null,_=0;return s.use=function e(t){switch(t){case void 0:case null:N=L.length=0;break;default:if("function"==typeof t)L[N++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else _=0|!!t}return e},s.set=c,void 0!==e&&c(e),s}},21241:(e,t,r)=>{"use strict";var n=r(96540),o=r(5338),a=r(79056),i=a.default.button.withConfig({displayName:"Button",componentId:"sc-k30yql-0"})(["position:relative;display:inline-block;padding:6px 16px;box-sizing:border-box;border-radius:4px;vertical-align:middle;text-align:center;font:inherit;font-size:14px;line-height:1;white-space:nowrap;cursor:pointer;transition:border-color .2s,background-color .2s,color .2s;"," "," "," "," "," "," "," "," ",""],(function(e){return e.primary?(0,a.css)(["color:#FFFFFF;background-color:#00A3D9;border:1px solid #00A3D9;&:visited{color:#FFFFFF;}&:hover,&:focus{border-color:#00C0FF;background-color:#00C0FF;color:#FFFFFF;}&:active{border-color:#0996C5;background-color:#0996C5;color:#FFFFFF;}"]):(0,a.css)(["color:#333333;background-color:#FFFFFF;border:1px solid #D4DCE0;&:visited{color:#333333;}&:hover,&:focus{border-color:#00A3D9;background-color:#FFFFFF;}&:active{border-color:#D4DCE0;background-color:#F9FAFA;}"])}),(function(e){return e.isLoading&&(0,a.css)(["color:transparent;&:hover,&:focus,&:active{color:transparent;}"])}),(function(e){var t=e.disabled,r=e.primary;return t&&(0,a.css)(["opacity:.5;cursor:not-allowed;&:hover,&:focus{background-color:",";border-color:",";}"],r?"#00A3D9":"#FFFFFF",r?"#00A3D9":"#D4DCE0")}),(function(e){return e.noBorder&&(0,a.css)(["border:1px solid transparent;color:#00A3D9;background-color:transparent;&:hover,&:focus{border-color:#00A3D9;}&:active{border-color:#0996C5;color:#0996C5;}"])}),(function(e){return e.hasOutline&&(0,a.css)(["border:1px solid #D4DCE0;color:#333;background-color:transparent;&:hover{border-color:#BDC8CD;background-color:transparent;}&:focus{border-color:#00A3D9;background-color:transparent;}&:active{border-color:#F9FAFA;background-color:transparent;}"])}),(function(e){return e.linkType&&(0,a.css)(["padding:0;border:0;background-color:transparent;color:#0099CC;&:hover,&:active,&:focus{color:#0086B3;background-color:transparent;}"])}),(function(e){var t=e.$size;return{medium:(0,a.css)(["padding:8px 16px;"])}[t]}),(function(e){return e.text&&(0,a.css)(["display:flex;align-items:center;justify-content:center;min-height:24px;padding:4px 8px;border:0;border-radius:4px;font-weight:600;letter-spacing:0.24px;color:#2EADDF;text-align:left;background-color:transparent;transition:background-color 0.15s linear;cursor:pointer;&:hover{background-color:rgba(0,0,0,0.08);}&:active{background-color:rgba(0,0,0,0.12);}&:focus{outline:none;}&:focus-visible{outline:2px dashed #2EADDF;outline-offset:2px;}&:disabled{color:rgba(203,218,225,1);pointer-events:none;}"])}),(function(e){return e.sizeL&&(0,a.css)(["min-height:32px;padding:8px 16px;"])})),l=a.default.div.withConfig({displayName:"Loader",componentId:"sc-k30yql-1"})(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#FFFFFF;svg{display:block;animation:svgrotate .57s linear infinite;}@keyframes svgrotate{100%{transform:rotate(360deg);}}"]),c=["children","type","onClick","isLoading","disabled","primary","className","size"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}const u=function(e){var t=e.children,r=e.type,o=void 0===r?"button":r,a=e.onClick,u=e.isLoading,d=e.disabled,f=e.primary,p=e.className,m=e.size,b=void 0===m?"medium":m,g=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,c);return n.createElement(i,s({type:o||"button",onClick:a,isLoading:u,disabled:d,primary:f,className:p,$size:b},g),u&&n.createElement(l,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"svgicon flaticon flaticon--preloader",width:"14",height:"14"},n.createElement("use",{xlinkHref:"#flaticon--preloader"}))),t)},d=[{name:LJ.ml("modal.info_pro.feature.item.icon"),icon:"flaticon--pro-outline-gradient"},{name:LJ.ml("modal.info_pro.feature.item.adv"),icon:"flaticons-v2--adv-not"},{name:LJ.ml("modal.info_pro.feature.item.photo"),icon:"flaticons-v2--camera"},{name:LJ.ml("modal.info_pro.feature.item.filter_comment"),icon:"flaticons-v2--cloud"},{name:LJ.ml("modal.info_pro.feature.item.statistic"),icon:"flaticons-v2--chart-up"},{name:LJ.ml("modal.info_pro.feature.item.notification"),icon:"flaticons-v2--bell"},{name:LJ.ml("modal.info_pro.feature.item.style"),icon:"flaticons-v2--nutbolt"},{name:LJ.ml("modal.info_pro.feature.item.seo"),icon:"flaticons-v2--magnifier"}];var f="js--info-pro-modal",p={maxMobileS:"(max-width: ".concat(320,"px)"),maxMobileM:"(max-width: ".concat(360,"px)"),maxMobileL:"(max-width: ".concat(576,"px)"),maxTabletS:"(max-width: ".concat(768,"px)"),maxTabletM:"(max-width: ".concat(969.9,"px)"),maxLaptopS:"(max-width: ".concat(1024,"px)"),maxLaptopM:"(max-width: ".concat(1440,"px)"),maxDesktopS:"(max-width: ".concat(1920,"px)")},m=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter(Boolean).join(" ")},b=a.default.a.withConfig({displayName:"Userhead",componentId:"sc-7u2ddd-0"})([""]),g=a.default.a.withConfig({displayName:"Username",componentId:"sc-7u2ddd-1"})([""]),h=a.default.span.withConfig({displayName:"LjUser",componentId:"sc-7u2ddd-2"})(["","{margin-right:4px !important;}"],b);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){var n,o,a;n=e,o=t,a=r[t],(o=function(e){var t=function(e){if("object"!==y(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===y(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k=r(40961),C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.children,r=e.mountRef,n=(void 0===r?{}:r).current||document.body;return(0,k.createPortal)(t,n)};var A=(0,a.createGlobalStyle)(["body.","{overflow:hidden;}"],(function(e){return e.bodyClassName}));const O=function(e){var t=e.id,r=(0,n.useRef)(t||Date.now().toString(36)+Math.random().toString(36).slice(2)),o="js--scroll-lock-".concat(r.current);return(0,n.useEffect)((function(){var e=document.body;return e.classList.add(o),function(){e.classList.remove(o)}}),[o]),n.createElement(A,{bodyClassName:o})};var S=a.default.h2.withConfig({displayName:"Title",componentId:"sc-kjq3xj-0"})(['margin:0 !important;padding:0 !important;font:bold 24px/1.2 "ProximaNova",Helvetica,sans-serif !important;color:#000 !important;',""],(function(e){return e.$withCloseBtn&&(0,a.css)(["padding-right:30px !important;"])})),j=a.default.p.withConfig({displayName:"Description",componentId:"sc-kjq3xj-1"})(['margin:8px 0 0 !important;padding:0 !important;font:400 16px/1.2 "ProximaNova",Helvetica,sans-serif !important;color:#333333 !important;']),E=a.default.header.withConfig({displayName:"Header",componentId:"sc-kjq3xj-2"})(["position:relative;flex-shrink:0;margin-bottom:0;padding:16px 24px;@media ","{padding:16px;}"],p.maxMobileL);const P=function(e){var t=e.children,r=e.title,o=e.description,a=e.withCloseBtn;return n.createElement(E,null,r&&n.createElement(S,{$withCloseBtn:a},r),o&&n.createElement(j,null,o),t)};var F=["className","xlinkHref"];function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},I.apply(this,arguments)}const L=(0,n.forwardRef)((function(e,t){var r=e.className,o=void 0===r?"":r,a=e.xlinkHref,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,F);return n.createElement("svg",I({xmlns:"http://www.w3.org/2000/svg",className:"svgicon ".concat(a," ").concat(o),ref:t},i),n.createElement("use",{xlinkHref:"#".concat(a)}))}));var N=a.default.button.withConfig({displayName:"CloseBtn",componentId:"sc-100e668-0"})(["position:absolute;top:12px;right:16px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin:0;padding:4px;border:none;border-radius:4px;background:none;transition:background-color 0.15s linear;cursor:pointer;&:hover{background-color:hsl(197deg 8% 10% / 5%);}&:active{background-color:hsl(197deg 8% 10% / 10%);}&:focus{outline:none;}&:focus-visible{outline:2px solid #00a3d9;border-radius:2px;}svg{width:24px;height:24px;fill:#272C2E !important;}@media ","{right:8px;}"],p.maxMobileL);const M=function(e){var t=e.onClick;return n.createElement(N,{className:"svgicon flaticon flaticons-v2--cross","aria-label":"Close","aria-required":"true",onClick:t},n.createElement(L,{width:"16",height:"16",xlinkHref:"flaticons-v2--cross"}))};var _=a.default.div.withConfig({displayName:"Overlay",componentId:"sc-1jopm0p-0"})(["position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0,0,0,.4);opacity:",";z-index:5000;"],(function(e){return e.show?.5:0})),T=a.default.div.withConfig({displayName:"Modal",componentId:"sc-1jopm0p-1"})(['position:relative;max-width:650px;display:flex;align-items:center;min-height:calc(100% - 3.5rem);height:calc(100% - 3.5rem);width:100%;margin:1.75rem auto;padding:1rem;font:400 16px/1 "ProximaNova",Helvetica,sans-serif;letter-spacing:0;color:#15374C;-webkit-font-smoothing:antialiased;pointer-events:none;z-index:5000;']),z=a.default.div.withConfig({displayName:"Box",componentId:"sc-1jopm0p-2"})(["position:relative;display:flex;flex-direction:column;width:100%;max-height:min(580px,100%);border-radius:8px;background-color:#fff;box-shadow:0px 2px 6px rgba(0,0,0,0.16),0px 4px 16px rgba(0,0,0,0.12);pointer-events:auto;"]),$=a.default.div.withConfig({displayName:"Body",componentId:"sc-1jopm0p-3"})(["display:flex;flex-direction:column;flex:1 1 auto;padding:0 24px 6px;overflow-y:auto;&:last-child{padding-bottom:16px;}@media ","{padding:0 16px 6px;&:last-child{padding-bottom:16px;}}"," "," .modal--iframe &{padding-right:0;}"],p.maxMobileL,(function(e){return e.isBodyScrollable&&"border-bottom: 1px solid #E5EBEE;"}),(function(e){return e.bodyScrollTop&&"border-top: 1px solid #E5EBEE;"})),D=a.default.footer.withConfig({displayName:"Footer",componentId:"sc-1jopm0p-4"})(["flex-shrink:0;padding:10px 24px 16px;@media ","{padding:10px 16px 16px;}"],p.maxMobileL),H=(a.default.div.withConfig({displayName:"ButtonsRow",componentId:"sc-1jopm0p-5"})(["display:flex;flex-flow:row wrap;justify-content:flex-end;margin:-5px;"]),a.default.div.withConfig({displayName:"ButtonsRowItem",componentId:"sc-1jopm0p-6"})(["padding:5px;"]),a.default.p.withConfig({displayName:"Text",componentId:"sc-1jopm0p-7"})(["margin:0;margin-bottom:0.5rem;"]),a.default.div.withConfig({displayName:"ModalWrapper",componentId:"sc-1jopm0p-8"})(["position:fixed;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;z-index:5000;box-sizing:border-box;*{box-sizing:inherit;}&:before{box-sizing:inherit;}&:after{box-sizing:inherit;}.borderTop{border-top:1px solid #E5EBEE;}.borderBottom{border-bottom:1px solid #E5EBEE;}"]));function B(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return R(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?R(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const J=n.forwardRef((function(e,t){var r=e.className,o=e.children,a=e.title,i=e.description,l=e.extraHeaderContent,c=e.footer,s=e.withCloseBtn,u=void 0===s||s,d=e.withOverlay,f=void 0===d||d,p=e.onClose,m=void 0===p?function(){}:p,b=B((0,n.useState)(!1),2),g=b[0],h=b[1],y=B((0,n.useState)(null),2),v=y[0],x=y[1],w=(0,n.useRef)(null),k=(0,n.useRef)(null);return(0,n.useImperativeHandle)(t,(function(){return{elements:{modal:w.current,body:k.current}}})),(0,n.useEffect)((function(){var e=function(e){"Escape"===e.key&&(e.preventDefault(),m({reason:"esc-keydown"}))};return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[m]),(0,n.useLayoutEffect)((function(){var e=new ResizeObserver((function(){k.current&&c&&(k.current.clientHeight<k.current.scrollHeight?h(!0):h(!1))}));return e.observe(k.current),function(){e.unobserve(k.current)}}),[k,c]),n.createElement(n.Fragment,null,n.createElement(O,null),n.createElement(C,null,n.createElement(H,null,n.createElement(_,{show:f,"data-react-overlay":!0,onClick:function(){m({reason:"overlay-click"})}}),n.createElement(T,{className:r,ref:w},n.createElement(z,null,n.createElement(P,{title:a,description:i,withCloseBtn:u},l,u&&n.createElement(M,{onClick:function(){m({reason:"close-btn-click"})}})),n.createElement($,{className:"m-scrollbar rfb-components-Modal-body",bodyScrollTop:v,isBodyScrollable:g,ref:k,onScroll:function(e){x(e.target.scrollTop)}},o),c&&n.createElement(D,null,c))))))}));var U=(0,a.createGlobalStyle)(["body.","{overflow:hidden;}"],f),q=(0,a.default)(J).withConfig({displayName:"Modal",componentId:"sc-13mazvh-0"})([""]),V=a.default.div.withConfig({displayName:"VerifiedContent",componentId:"sc-13mazvh-1"})(['margin:0 !important;font:400 16px/1.2 "ProximaNova",Helvetica,sans-serif !important;color:#333333 !important;']),W=a.default.a.withConfig({displayName:"VerifiedLink",componentId:"sc-13mazvh-2"})(['margin-top:1rem;border:0 !important;font:400 16px/1.4 "ProximaNova",Helvetica,sans-serif !important;color:#00A3D9 !important;text-decoration:none !important;background-color:transparent !importnat;-webkit-font-smoothing:antialiased;&:visited{color:#00A3D9 !important;}&:hover,&:active,&:focus{color:#0086B3 !important;}']),X=(0,a.default)(J).withConfig({displayName:"ModalPro",componentId:"sc-13mazvh-3"})(["","{max-height:none;}h2{text-align:center !important;}@media all and (","){h2{font-size:20px !important;}}"],z,p.maxMobileL),Y=a.default.div.withConfig({displayName:"ModalContent",componentId:"sc-13mazvh-4"})(["text-align:center;"]),G=(0,a.default)((function(e){var t,r=e.className,o=e.linksTarget,a=void 0===o?"_self":o,i=e.noCtxPopup,l=void 0===i||i,c=e.userData,s=c.username,u=c.userheadUrl,d=c.displayName,f=c.displayUsername,p=c.profileUrl,y=c.journalUrl,x=c.journalType,k=c.isInvisible,C=w({as:p?"a":"span",className:"i-ljuser-profile"},p?{href:p,target:a}:{}),A=w({as:y?"a":"span",className:"i-ljuser-username"},y?{href:y,target:a,title:f}:{});return n.createElement(h,{className:m(["ljuser","i-ljuser",x&&"i-ljuser-type-".concat(x),k&&"i-ljuser-deleted"].concat((t=l?["i-ljuser-nopopup","noctxpopup"]:[],function(e){if(Array.isArray(e))return v(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[r])),"data-ljuser":s},u&&n.createElement(b,C,n.createElement("img",{className:"i-ljuser-userhead",src:u})),n.createElement(g,A,d||f))})).withConfig({displayName:"LjUser",componentId:"sc-13mazvh-5"})(["font-weight:inherit !important;text-transform:inherit !important;-webkit-font-smoothing:antialiased;.i-ljuser-username{color:#00A3D9 !important;text-decoration:none !important;font-weight:600 !important;border:0 !important;}.i-ljuser-username:hover,.i-ljuser-username:focus,.i-ljuser-username:active{color:#0086B3 !important;}"]),K=a.default.svg.withConfig({displayName:"IconPro",componentId:"sc-13mazvh-6"})(["width:80px;height:45px;"]),Z=a.default.p.withConfig({displayName:"UserInfo",componentId:"sc-13mazvh-7"})(['margin:0 !important;margin-top:8px !important;padding:0 !important;font:600 14px/1.4 "ProximaNova",Helvetica,sans-serif !important;color:#333 !important;-webkit-font-smoothing:antialiased;text-align:center;',"{margin-right:5px !important;}"],G),Q=a.default.p.withConfig({displayName:"FeatureText",componentId:"sc-13mazvh-8"})(['margin:0 !important;margin-top:24px !important;padding:0 !important;font:600 14px/1.4 "ProximaNova",Helvetica,sans-serif !important;color:#333 !important;-webkit-font-smoothing:antialiased;text-align:center;']),ee=a.default.ul.withConfig({displayName:"FeatureList",componentId:"sc-13mazvh-9"})(["max-width:350px;margin:16px auto 0 !important;padding:0 !important;list-style:none !important;text-align:left;"]),te=a.default.li.withConfig({displayName:"FeatureListItem",componentId:"sc-13mazvh-10"})(["display:flex;align-items:center;gap:10px;& + &{margin-top:16px;}"]),re=a.default.p.withConfig({displayName:"FeatureListText",componentId:"sc-13mazvh-11"})(['margin:0 !important;padding:0 !important;font:600 14px/1.4 "ProximaNova",Helvetica,sans-serif !important;color:#333 !important;-webkit-font-smoothing:antialiased;']),ne=a.default.p.withConfig({displayName:"FeatureMore",componentId:"sc-13mazvh-12"})(['margin:0 !important;margin-top:16px !important;padding:0 !important;font:600 14px/1.4 "ProximaNova",Helvetica,sans-serif !important;color:#333 !important;-webkit-font-smoothing:antialiased;text-align:center;']),oe=a.default.div.withConfig({displayName:"FeatureAction",componentId:"sc-13mazvh-13"})(["margin-top:16px;a{border:0;color:#fff !important;text-decoration:none !important;background-color:rgb(0,163,217) !important;}a:hover,a:focus{background-color:rgb(0,192,255) !important;}"]);function ae(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ie(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ie(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ie(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const le=function(){var e=ae((0,n.useState)(!1),2),t=e[0],r=e[1],o=ae((0,n.useState)(null),2),a=o[0],i=o[1],l=ae((0,n.useState)(null),2),c=l[0],s=l[1];if((0,n.useEffect)((function(){var e;e=document.body,t?(e.classList.add(f),LJ.Event.trigger("InfoProModal::shown")):e.classList.remove(f)}),[t]),(0,n.useEffect)((function(){LJ.Components.InfoProModal.setModalData=function(e){i(e)},LJ.Components.InfoProModal.setModalCaller=function(e){s(e)}}),[]),(0,n.useEffect)((function(){LJ.Components.InfoProModal.show=function(){r(!0)}}),[]),!t)return null;var p=function(){r(!1)},m="";return"verified"===a.badge&&"badge"===c&&(m=n.createElement(q,{title:LJ.ml("modal.badge.verified.title"),onClose:function(){p()}},n.createElement(V,{dangerouslySetInnerHTML:{__html:LJ.ml("modal.badge.verified.content")}}),n.createElement(W,{href:LJ.ml("modal.badge.verified.button.link",{siteroot:Site.siteroot}),target:"_blank"},LJ.ml("modal.badge.verified.button.text")))),"pro"!==a.badge&&null!==a.badge&&"profile-header"!==c||(m=n.createElement(X,{title:a.isPaid?LJ.ml("modal.info_pro.title"):LJ.ml("modal.info_pro.title_notpaid"),onClose:function(){p()}},n.createElement(Y,null,n.createElement(K,{className:"flaticon--pro-outline-gradient",width:"80",height:"45"},n.createElement("use",{xlinkHref:"#flaticon--pro-outline-gradient"})),n.createElement(Z,null,n.createElement(G,{userData:a}),a.isPaid?LJ.ml("modal.info_pro.user"):LJ.ml("modal.info_pro.user_notpaid")),n.createElement(Q,null,LJ.ml("modal.info_pro.feature.text")),n.createElement(ee,null,d.map((function(e,t){return n.createElement(te,{key:t},n.createElement("svg",{className:e.icon,width:"24",height:"24"},n.createElement("use",{xlinkHref:"#".concat(e.icon)})),n.createElement(re,null,e.name))}))),n.createElement(ne,null,LJ.ml("modal.info_pro.feature.more")),n.createElement(oe,null,n.createElement(u,{href:"".concat(Site.siteroot,"/shop/profaccount/?ila_campaign=more_button&ila_location=pro_badge"),target:"_blank",as:"a",primary:!0,sizeL:!0},LJ.ml("modal.info_pro.button")))))),n.createElement(n.Fragment,null,n.createElement(U,null),m)};LJ.define("LJ.Components.InfoProModal"),LJ.Util.DOM.initPromise.then((function(){if(!Boolean(document.querySelector("[data-info-pro-modal]"))){var e=document.createElement("div");e.dataset.infoProModal="",document.body.appendChild(e),(0,o.H)(e).render(n.createElement(le,null))}}))},22799:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,b=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,h=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case a:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case s:case f:case g:case b:case c:return e;default:return t}}case o:return t}}}function k(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=c,t.Element=n,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=b,t.Portal=o,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||w(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===s},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===b},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===l||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===b||e.$$typeof===c||e.$$typeof===s||e.$$typeof===f||e.$$typeof===y||e.$$typeof===v||e.$$typeof===x||e.$$typeof===h)},t.typeOf=w},39316:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const o=function(){var e=Object.create(null);return function(t){return void 0===e[t]&&(e[t]=(r=t,n.test(r)||111===r.charCodeAt(0)&&110===r.charCodeAt(1)&&r.charCodeAt(2)<91)),e[t];var r}}()},44363:(e,t,r)=>{"use strict";e.exports=r(22799)},69982:(e,t,r)=>{"use strict";e.exports=r(7463)}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.m=t,e=[],n.O=(t,r,o,a)=>{if(!r){var i=1/0;for(u=0;u<e.length;u++){for(var[r,o,a]=e[u],l=!0,c=0;c<r.length;c++)(!1&a||i>=a)&&Object.keys(n.O).every((e=>n.O[e](r[c])))?r.splice(c--,1):(l=!1,a<i&&(i=a));if(l){e.splice(u--,1);var s=o();void 0!==s&&(t=s)}}return t}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[r,o,a]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={571:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var o,a,[i,l,c]=r,s=0;if(i.some((t=>0!==e[t]))){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);if(c)var u=c(n)}for(t&&t(r);s<i.length;s++)a=i[s],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return n.O(u)},r=self.webpackChunkfrontend_bundled=self.webpackChunkfrontend_bundled||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0;var o=n.O(void 0,[35],(()=>n(21241)));o=n.O(o)})();
/* <<< file end: js/front-bundled/dist/infoProModal.js */

//# map link was there [infoProModal.js.map]
/* >>> file start: js/misc/proBadge.js */
function _typeof(r){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(r)}function ownKeys(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(t),!0).forEach(function(e){_defineProperty(r,e,t[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))})}return r}function _defineProperty(r,e,t){return e=_toPropertyKey(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function _toPropertyKey(r){var e=_toPrimitive(r,"string");return"symbol"===_typeof(e)?e:String(e)}function _toPrimitive(r,e){if("object"!==_typeof(r)||null===r)return r;var t=r[Symbol.toPrimitive];if(void 0!==t){var o=t.call(r,e||"default");if("object"!==_typeof(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(r)}function _maybeArrayLike(r,e,t){if(e&&!Array.isArray(e)&&"number"==typeof e.length){var o=e.length;return _arrayLikeToArray(e,void 0!==t&&o>t?t:o)}return r(e,t)}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){if(r){if("string"==typeof r)return _arrayLikeToArray(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,e):void 0}}function _arrayLikeToArray(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,o=new Array(e);e>t;t++)o[t]=r[t];return o}function _iterableToArrayLimit(r,e){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var o,n,i,a,l=[],u=!0,c=!1;try{if(i=(t=t.call(r)).next,0===e){if(Object(t)!==t)return;u=!1}else for(;!(u=(o=i.call(t)).done)&&(l.push(o.value),l.length!==e);u=!0)(function(r){return r})()}catch(r){c=!0,n=r}finally{try{if(!u&&null!=t["return"]&&(a=t["return"](),Object(a)!==a))return}finally{if(c)throw n}}return l}}function _arrayWithHoles(r){return Array.isArray(r)?r:void 0}
//= require js/front-bundled/dist/infoProModal.js
!function(r){return r}(),function(){var r="[data-pro-badge][data-is-raw]",e=["isPaid","userheadUrl","username","displayUsername","profileUrl","journalUrl"],t=function(r){var e=r.closest("[data-ljuser]"),t=r.dataset.badgeType,o={};if(t.length>0&&(o.badge=t),e){var n,i,a,l=e.dataset,u={userhead:e.querySelector(".i-ljuser-userhead"),profileLink:e.querySelector(".i-ljuser-profile"),journalLink:e.querySelector(".i-ljuser-username")},c=[["username",l.ljuser],["userheadUrl",null===(n=u.userhead)||void 0===n?void 0:n.getAttribute("src")],["displayUsername",l.ljuser],["profileUrl",null===(i=u.profileLink)||void 0===i?void 0:i.getAttribute("href")],["journalUrl",null===(a=u.journalLink)||void 0===a?void 0:a.getAttribute("href")]].filter(function(r){var e=_maybeArrayLike(_slicedToArray,r,2),t=e[1];return t});o=_objectSpread(_objectSpread(_objectSpread({},o),Object.fromEntries(c)),{},{isPaid:1})}return o},o=function(r,o){if(r){var n=!r.hasAttribute("data-is-raw");if(!n){r.removeAttribute("data-is-raw");var i=o||t(r),a=Object.keys(i),l=Boolean(i)&&e.every(function(r){return a.includes(r)});l&&r.addEventListener("click",function(r){r.preventDefault();var e=r.target.closest(".js--profile-header-pro");e?LJ.Components.InfoProModal.setModalCaller("profile-header"):LJ.Components.InfoProModal.setModalCaller("badge"),LJ.Components.InfoProModal.setModalData(i),LJ.Components.InfoProModal.show()})}}},n=function(){var e=document.querySelectorAll(r);e.forEach(function(r){o(r)})};LJ.define("LJ.Misc.ProBadge"),LJ.Misc.ProBadge.requestInitAll=n,LJ.Misc.ProBadge.doManualInit=o,LJ.Util.DOM.initPromise.then(function(){n()})}();
/* <<< file end: js/misc/proBadge.js */

//# map link was there [proBadge.js.map]
/* >>> file start: js/core/util/positioning.js */
function _typeof(e){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function _defineProperty(e,t,r){return t=_toPropertyKey(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"===_typeof(t)?t:String(t)}function _toPrimitive(e,t){if("object"!==_typeof(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==_typeof(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}!function(e){return e}(),function(){LJ.define("LJ.Util.Positioning"),LJ.Util.Positioning.RectNearRect={},LJ.Util.Positioning.Popover={},LJ.Util.Positioning.RectNearRect.calculateCoords=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.anchorRect,r=void 0===t?{}:t,o=e.objectRect,i=void 0===o?{}:o,n=e.placement,y=void 0===n?{x:"alignLeftEdges",y:"below"}:n,a=e.margins,c=void 0===a?{}:a,l={arrow:{}},f={x:c.x||0,y:c.y||0};return"alignLeftEdges"===y.x?l.x=r.x:"alignRightEdges"===y.x?l.x=r.x+r.width-i.width:"alignCenters"===y.x?l.x=r.x+r.width/2-i.width/2:"right"===y.x?l.x=r.x+r.width+f.x:"left"===y.x&&(l.x=r.x-i.width-f.x),"below"===y.y?l.y=r.y+r.height+f.y:"above"===y.y?l.y=r.y-f.y-i.height:"alignTopEdges"===y.y?l.y=r.y:"alignBottomEdges"===y.y&&(l.y=r.y+r.height-i.height),l},LJ.Util.Positioning.Popover.calculateCoords=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.anchorRect,e.popoverRect),r=void 0===t?{}:t,o=e.placement,i=void 0===o?{x:"alignLeftEdges",y:"below"}:o,n=(e.margins,e.arrowPyramid),y=void 0===n?{width:0,height:0}:n,a=e.arrowOffset,c=void 0===a?{top:0}:a,l=_objectSpread({},e);l.objectRect=r,delete l.popoverRect,delete l.arrowPyramid,delete l.arrowOffset;var f=LJ.Util.Positioning.RectNearRect.calculateCoords(l),p=_objectSpread({arrow:{}},f);return"alignCenters"===i.x?p.arrow.x=r.width/2-y.width/2:"leftSide"===i.x&&(p.x=f-y.height),"above"===i.y?p.arrow.y=y.top:"alignCenters"===i.y&&(p.arrow.y=r.height/2-y.height/2),"leftSide"===i.x&&"arrowAgainstMiddle"===i.y&&(p.arrow.x=r.width-y.height/2-2,p.arrow.y=c.top+y.height/2),p}}();
/* <<< file end: js/core/util/positioning.js */

//# map link was there [positioning.js.map]
/* >>> file start: js/webpackRequires/front-bundled/components/SubscribeBtn2022.js */
//= require js/core/util/positioning.js
//= require_ml create.head
//= require_ml createaccount.subscribe.title
//= require_ml createaccount.subscribe.description
//= require_ml create.subscribe.proceed_btn.caption
//= require_ml createaccount.subscribe.to.post
//= require_ml createaccount.subscribe.to.feed
//= require_ml common.edit
//= require_ml common.close
//= require_ml common.subscribe
//= require_ml common.add_to_friends
//= require_ml common.remove_from_friends
//= require_ml common.unsubscribe
//= require_ml common.add_to_group
//= require_ml subscribe_button_2022.you_are_subscribed
//= require_ml subscribe_button_2022.is_in_friend_list
//= require_ml subscribe_button_2022.join_community
//= require_ml subscribe_button_2022.subscribe_settings
//= require_ml subscribe_button_2022.join_request_is_pending
//= require_ml subscribe_button_2022.leave_community
//= require_ml subscribe_button_2022.you_are_member
//= require_ml subscribe_button_2022.you_are_owner
//= require_ml subscribe_button_2022.mutual_subscribe
//= require_ml subscribe_button_2022.add_user_note
//= require_ml subscribe_button_2022.edit_user_note
//= require_ml subscribe_button_2022.user_note.not_available_for_basic_users
//= require_ml common.something_went_wrong

/* <<< file end: js/webpackRequires/front-bundled/components/SubscribeBtn2022.js */

//# map link was there [SubscribeBtn2022.js.map]
/* >>> file start: js/webpackRequires/front-bundled/components/SubRecommendationModal.js */
//= require js/webpackRequires/front-bundled/components/SubscribeBtn2022.js
//= require js/core/util/positioning.js
//= require_ml common.recommended
//= require_ml common.recommended.description

/* <<< file end: js/webpackRequires/front-bundled/components/SubRecommendationModal.js */

//# map link was there [SubRecommendationModal.js.map]
/* >>> file start: js/webpackRequires/front-bundled/components/NotifSubBtn2022.js */
//= require_ml notif_dropdown_2022.title
//= require_ml notif_dropdown_2022.notify.in.notif.center
//= require_ml notif_dropdown_2022.notify.in.email
//= require_ml notif_dropdown_2022.button
//= require_ml common.something_went_wrong
//= require_ml common.close
//= require_ml notif_dropdown_tip

/* <<< file end: js/webpackRequires/front-bundled/components/NotifSubBtn2022.js */

//# map link was there [NotifSubBtn2022.js.map]
/* >>> file start: js/webpackRequires/front-bundled/pages/profile/index.js */
//= require js/webpackRequires/front-bundled/components/SubscribeBtn2022.js
//= require js/webpackRequires/front-bundled/components/SubRecommendationModal.js
//= require js/webpackRequires/front-bundled/components/NotifSubBtn2022.js
//= require_ml ljcom.userinfo.achievements.received_date
//= require_ml ljcom.userinfo.achievements.modal.submit
//= require_ml ljcom.userinfo.achievements.slider.button.left
//= require_ml ljcom.userinfo.achievements.slider.button.right
//= require_ml send_message_form.title
//= require_ml send_message_form.successfully_sent
//= require_ml send_message_form.send_to_user
//= require_ml send_message_form.placeholder
//= require_ml send_message_form.submit
//= require_ml send_message_form.cancel

/* <<< file end: js/webpackRequires/front-bundled/pages/profile/index.js */

//# map link was there [index.js.map]
/* >>> file start: js/profile/main.js */
//= require js/node_modules/angular-route/angular-route.js
//= require js/core/angular/pills.js
//= require js/core/angular/api.js
//= require js/core/angular/linkTarget.js
//= require js/core/angular/ljMediaStorage.js
//= require js/core/angular/ljYandexContext.js
//= require js/profile/userpicker.js
//= require js/misc/proBadge.js
Site.page.template['angular/profile/profileFriends.ng.tmpl'] = '<section class=\"b-profile-group b-profile-friends lj-widget\"\n        ng-if=\"tabs.length\"\n        ng-class=\"{\n            \'b-profile-group-friends\': blockName === \'socconns\',\n            \'b-profile-group-community\': blockName === \'comms\'\n        }\"\n        >\n    <div class=\'b-profile-group-header\'>\n        <h2 class=\"b-profile-header\" lj-ml=\"{{\'ljcom.userinfo.\'+ titleMl}}\"></h2>\n    </div>\n    <div class=\'b-profile-group-body\'>\n        <div class=\"b-menu-wrapper\">\n            <ul class=\"b-service-menu b-menu b-menu-tabs b-menu-hrz b-menu-flat b-menu-flat-tiny b-menu-screen\"\n                ng-mouseover=\"menuMouseOver()\"\n                ng-mouseleave=\"state.opened=false\"\n                ng-class=\"{\n                    \'b-menu-opened\': state.opened === true\n                }\"\n                >\n                <li ng-repeat=\"tab in tabs\"\n                    class=\"b-menu-item\"\n                    ng-if=\"isViewable(tab)\"\n                    ng-click=\"currentTab(tab)\"\n                    ng-class=\"{ \'b-menu-item-active\' : currentTab() === tab.list_name || (!currentTab() && $first) }\"\n                    data-block-name=\"{{ blockName }}\"\n                    data-tab-name=\"{{ tab.list_name }}\"\n                    >\n                    <a class=\"b-menu-item-link\"\n                        ng-href=\"{{ getLink(tab) }}\">\n                        <span ng-bind=\"tab.ml_list_name\"></span>\n                        <span class=\"b-profile-count\"\n                              ng-bind=\"tab.commafy_count\"></span>\n                    </a>\n                </li>\n            </ul>\n        </div>\n\n        <div\n            ng-repeat=\"tab in tabs\"\n            class=\"b-tabs-content b-tabs-content-tab b-tabs-content-{{ tab.list_name }}\"\n            ng-class=\"{\n                \'b-tabs-content-tab-open\' : currentTab() === tab.list_name || (!currentTab() && $first),\n                \'b-tabs-content-loading\' : tab.loading\n            }\">\n            <span ng-repeat=\"item in currentList(tab)\">\n                <a\n                    ng-href=\"{{ item.profile_url }}\"\n                    rel=\"group\"\n                    class=\"b-profile-username\"\n                    ng-class=\"{ \'b-profile-username-deleted\' : item.is_invisible }\"\n                    ng-bind=\"item.display_name\"\n                    ></a><!--\n                --><span ng-if=\"!$last\">, </span>\n            </span>\n            <span ng-if=\"tab.pages && (currentPage(tab) < tab.pages)\"\n                    class=\"b-profile-list-next\"\n                    ng-click=\"addPage(tab)\" lj-ml=\"ljcom.userinfo.more\"></span>\n        </div>\n    </div>\n</section>\n';
//= require js/webpackRequires/front-bundled/pages/profile/index.js
LJ.injectLjScript(["front-bundled/dist/profile.js"]),angular.module("Profile",["ngRoute","LJ.Templates","LJ.Directives","LJ.Pills","LJ.Api","Profile.Userpicker","LJ.LinkTarget","LJ.MediaStorage","LJ.YandexContext"]).run(function(){var e=document.querySelector(".js--profile-header-pro [data-pro-badge][data-is-raw]"),t={badge:Site.journal.badge,username:Site.journal.display_username,userheadUrl:Site.journal.userhead_url,displayUsername:Site.journal.display_username,profileUrl:Site.journal.profile_url,journalUrl:Site.journal.journal_url,isPaid:Site.journal.is_paid};LJ.Misc.ProBadge.doManualInit(e,t)}).config(["$locationProvider","$sceDelegateProvider",function(e,t){angular.element("a:not([target])").attr("target","_self"),e.html5Mode({enabled:!0,requireBase:!1}),t.resourceUrlWhitelist(["self","**.ng.tmpl"])}]).directive("profileSocialConnections",["$location","Api",function(e,t){return{restrict:"A",scope:{blockName:"@profileSocialConnections",titleMl:"@profileSocialTitle"},templateUrl:"profileFriends.ng.tmpl",link:function(n){var i=50;n.tabs=LJ.get(n.blockName),n.isOwnProfile=LJ.get("can_manage")&&LJ.get("journal.is_personal"),n.state={opened:!1},n.currentPage=function(t,n){return!t.pages&&t.count>i&&(t.pages=Math.ceil(t.count/i)),"undefined"!=typeof n?e.search(t.mode_full_name,n):Number(e.search()[t.mode_full_name]||1)},n.loadMore=function(e){var t=e.count<i&&e.list&&e.list.length;t||e.loading||e.mode_full||(e.loading=!0,n.getFullList(e).then(function(t){e.loading=!1,t.error||(e.mode_full=!0,e.list=t.list,n.currentList(e))}))},n.currentList=function(e){var t=n.currentPage(e)||1;if(e.list||n.isRemote)return e.list&&e.list.length>i?e.list.slice(0,t*i):e.list},n.addPage=function(e){var t=n.currentPage(e);n.loadMore(e),n.currentPage(e,++t)},n.getFullList=function(e){var n={user:LJ.get("journal.username"),get_list:e.list_name,mode_full:!0};return t.call("profile.get_friends",n)},n.isMobile=function(){return document.documentElement.classList.contains("html-mobile")},n.menuMouseOver=function(){n.isMobile()||(n.state.opened=!0)},n.currentTab=function(t){if(t){if(n.state.opened)return n.state.opened=!1,n.currentPage(t,null),n.loadMore(t),e.search(n.blockName,t.list_name);n.state.opened=!0}return e.search()[n.blockName]},n.getLink=function(t){var i=angular.copy(e.search()),o="?";return i[n.blockName]=t.list_name,angular.forEach(i,function(e,t){o+=[t,e].join("=")+"&"}),o},n.isViewable=function(e){return"friendof"!==e.list_name||LJ.get("remote")?0!==Number(e.count):!1}}}}]).controller("aboutCtrl",["$scope","Pills",function(e,t){e.state={opened:!1},e.switchTo=function(n){t.group("aboutMenu",n),e.activeTab=n},e.currentTab=function(t){t&&(e.state.opened?e.state.opened=!1:e.state.opened=!0,e.switchTo(t))},e.switchToAchievements=function(){e.state.opened?e.state.opened=!1:e.state.opened=!0,e.switchTo("achievements"),LJ.Profile.Achievements.init()},e.isMobile=function(){return document.documentElement.classList.contains("html-mobile")},e.menuMouseOver=function(){e.isMobile()||(e.state.opened=!0)}}]);
/* <<< file end: js/profile/main.js */

//# map link was there [main.js.map]
/* >>> file start: js/jquery/jquery.details.js */
!function(a){return a}(),function(a,e){"use strict";e.fn.details=function(a){return 0===this.length?this:(a=e.extend({},e.fn.details.defaults,a||{}),a.init.call(this,{className:a.className}),this.each(function(){var s=e(this);s.find(a.selector).on("click",function(){return s.toggleClass(a.className),a[s.hasClass(a.className)?"expand":"collapse"].call(s,{selector:e(this),className:a.className}),!1})}))},e.fn.details.defaults={selector:"a.b-updatepage-accordion-expand, a.b-updatepage-accordion-collapse",className:"b-updatepage-accordion-open",init:e.noop,expand:e.noop,collapse:e.noop}}(window,jQuery);
/* <<< file end: js/jquery/jquery.details.js */

//# map link was there [jquery.details.js.map]
/* >>> file start: js/core/angular/ref.js */
!function(e){return e}(),function(){"use strict";angular.module("LJ.Ref",[]).factory("Ref",function(){function e(e,n){return f[e]?void console.error("Ref element with id `%s` has been registered before.",e):void(f[e]=n)}function n(e){f[e]&&delete f[e]}function o(e){var n=f[e];return n||console.error("Ref `%s` not found.",e),n}function r(e,n){"undefined"==typeof n&&(n={});var r=o(e),f=angular.element("html, body");if(!r)return void console.error("Could not scroll to the ref `%s` that has not been already defined.",e);var l=r.offset().top;n.onlyUp&&angular.element(window).scrollTop()<=l||n.onlyOutOfScreen&&!t(r)||(n.toParent&&(f=r.parent(),l=0),f.animate({scrollTop:l}))}function t(e){var n=angular.element(window),o=n.scrollTop(),r=o+n.height(),t=e.offset().top;return t>r-100||o>t}var f={};return{add:e,remove:n,get:o,scrollTo:r}}).directive("ljRef",["Ref",function(e){return{restrict:"A",scope:!0,link:function(n,o,r){var t=r.ljRef;e.add(t,o),n.$on("$destroy",function(){e.remove(t)})}}}])}();
/* <<< file end: js/core/angular/ref.js */

//# map link was there [ref.js.map]
/* >>> file start: js/core/angular/bubble.js */
//= require js/core/angular/ref.js
Site.page.template['Widgets/ljBubble.tmpl'] = '<div\n    class=\"\n        b-popup\n        bubble-node\n        b-popup-withclosecontrol\n        b-bubble-{{bubble.name}}\n        \"\n    ng-show=\"show\"\n    lj-switch-off=\"show\"\n    lj-switch-off-action=\"bubble.close()\"\n    lj-switch-off-ignore-sticky=true\n    ng-style=\"{ left: position.x, top: position.y, visibility: visibility }\"\n    ng-class=\"{\n        \'b-popup-noclosecontrol\': !bubble.options.closeControl\n    }\"\n    lj-switch-off-skip>\n    <div class=\"b-popup-outer\">\n        <div class=\"b-popup-inner\">\n            <i\n                class=\"i-popup-arr\"\n                ng-class=\"arrowClass()\"\n                ng-show=\"getShouldShowArrow()\"\n            >\n                <i class=\"i-popup-arr-brdr-outer\">\n                    <i class=\"i-popup-arr-brdr-inner\">\n                        <i class=\"i-popup-arr-bg\"></i>\n                    </i>\n                </i>\n            </i>\n            <div ng-include src=\"template\"></div>\n            <i\n                class=\"i-popup-close\"\n                ng-click=\"bubble.close()\"\n                ng-show=\"getShowCloseBtn()\"\n            ></i>\n        </div>\n    </div>\n</div>\n';
Site.page.template['angular/confirm.bubble.ng.tmpl'] = '<div class=\"b-popup-content b-popup-options-centered\">\n  <div class=\"b-popup-content-header\">\n    <span>{{ bubble.options.header }}</span>\n  </div>\n  <div class=\"b-popup-content-confirm\" ng-bind-html=\"bubble.options.text\"></div>\n  <div class=\"b-popup-submit-options\">\n    <button class=\"b-popup-btn b-flatbutton b-flatbutton-simple\" ng-click=\"bubble.options.confirm()\">{{ bubble.options.yes }}</button>\n    <button class=\"b-popup-cancel b-flatbutton b-flatbutton-simple b-flatbutton-neutral\" ng-click=\"bubble.close()\">{{ bubble.options.no }}</button>\n  </div>\n</div>\n';
//= require_ml confirm.bubble.yes
//= require_ml confirm.bubble.no
!function(){"use strict";function e(e,o,t,n,r){return{scope:!0,link:function(i,l,a){function u(){var e=i.arrow.vertical,o=i.arrow.horizontal,t=j.aside,r=H.innerWidth<=650;i.visibility="hidden",j.keepInitialWidth&&!j.widthSaved&&(j.widthSaved=!0,x.width(x.width())),d(),p()&&!r&&(i.arrow.vertical="b"===e?b("alwaysTop")?"b":"t":b("alwaysBottom")?"t":"b",d(),h()&&!b("alwaysTop")&&(i.arrow.vertical="t",d())),w()&&!r&&(i.arrow.horizontal="l"===o?b("alwaysRight")||m()?"l":"r":b("alwaysLeft")||v()?"r":"l"),!r&&w()&&i.arrow.horizontal===o&&c()&&(j.aside=!0),r||i.arrow.horizontal===o&&i.arrow.vertical===e&&j.aside===t?i.visibility="visible":n(s),setTimeout(function(){LJ.Event.trigger("popup::positionChanged",{popupType:"ngBubble",name:j.name,popupNode:l[0]})})}function s(){return d(),w()&&c()?(j.aside=!0,i.$apply(),void s()):w()&&!b("aside")&&i.arrow.horizontal?(i.arrow.horizontal="",void s()):void(i.visibility="visible")}function c(){return!b("aside")&&b("tryAsideIfNoHorizSpace")}function b(e){return i.bubble.options[e]||j[e]}function d(){var o=e.node||l,t=o.offset().left+Math.floor(o.outerWidth()/2),n=i.bubble.options.forceX||0,r=i.bubble.options.forceY||0;if(b("aside"))i.position.x="r"===i.arrow.horizontal?o.offset().left-x.outerWidth()-W.outerWidth()+n:o.offset().left+o.outerWidth()+W.outerWidth()+n,i.position.y=o.offset().top-W.position().top+(o.outerHeight()-W.outerHeight())/2+r;else{if("center"===i.arrow.horizontal){var a;a=W.is(":visible")?W.position().left:x.outerWidth()/2,i.position.x=t-a+n}else i.position.x=i.arrow.horizontal?t-W.position().left-Math.floor(W.outerWidth()/2)-2+n:t-x.outerWidth()/2-Math.floor(W.outerWidth()/4)-2+n;i.position.y="t"===i.arrow.vertical?o.offset().top+o.outerHeight()+W.outerHeight()+r:o.offset().top-W.outerHeight()-x.outerHeight()+r}}function f(){i.position.x=-9999}function p(){return h()?!0:i.position.y+x.outerHeight()>H.scrollTop()+H.outerHeight()}function h(){return i.position.y<H.scrollTop()}function w(){return m()||v()}function m(){return i.position.x<H.scrollLeft()}function v(){return i.position.x+x.outerWidth()>H.scrollLeft()+H.outerWidth()}function g(o){o.preventDefault(),e.current!==j.name&&n(function(){e.open(j.name)})}function y(){$(),O&&(C=n(e.close,O))}function $(){n.cancel(C)}function z(){var o=j.name,t=e.current;o===t&&($(),e.close(),i.$apply())}function B(){i.show&&n(L)}var C,j=o(a.ljBubble)(i),S=j.name,x=t(r.get("ljBubble.tmpl"))(i),L=LJ.Function.throttle(u,50),W=x.find(".i-popup-arr"),H=angular.element(window),J=j.eventType||"click",O=Number(j.autoClose||0);return j.singleton&&e.exists(S)?void console.log("angular/bubble.js: Aborted creation of the '".concat(S,"' bubble, because it is singleton and bubble with same name already exists.")):(i.show=!1,e._register(S,j),i.template=j.template||S+".html",i.bubble={name:S,close:e.close,options:e.options(S)},i.clear=function(){i.arrow={vertical:j.arrowInitialVertical||"t",horizontal:j.arrowInitialHorizontal||"l"}},i.position={x:-9999,y:-9999},i.visibility="hidden",i.arrowClass=function(){var e,o=i.bubble.options,t=i.arrow.vertical;return e="center"===i.arrow.horizontal?"":i.arrow.horizontal,o.aside||j.aside?"i-popup-arr"+e+t:"i-popup-arr"+t+e},i.getShouldShowArrow=function(){return angular.isDefined(i.bubble.options.showArrow)?i.bubble.options.showArrow:angular.isDefined(j.showArrow)?j.showArrow:!0},i.getShowCloseBtn=function(){return angular.isDefined(i.bubble.options.showCloseBtn)?i.bubble.options.showCloseBtn:angular.isDefined(j.showCloseBtn)?j.showCloseBtn:!0},i.$on("bubble:reposition:"+S,function(){n(L)}),i.$watch(function(){return e.current},function(e){f(),n(function(){i.show=e===S,e&&i.show&&(i.clear(),n(L))})},!0),j.disableClick||l.on(J,g),j.disableResizeListener||H.on("resize",B),j.recalculateOnOrientationChange&&H.on("orientationchange",function(){B(),H.on("resize",B),n(function(){H.off("resize",B)},1e3)}),j.recalculateOnScroll&&H.on("scroll",B),j.closeOnScroll&&H.on("scroll",z),angular.element("body").append(x),l.on("mouseleave",y),x.on("mouseenter",$),x.on("mouseleave",y),i.clear(),void i.$on("$destroy",function(){l.off(J,g),H.off("resize",B),H.off("scroll",B),H.off("scroll",e.close),l.off("mouseleave",y),x.off("mouseenter",$),x.off("mouseleave",y),e._unregister(S),x.remove()}))}}}function o(e,o,n,r,i,l){var a={},u={};return a.current=null,a.node=null,a.register=function(){function t(t,i){var a,u,s;return t&&t.name&&t.template?(a=t.name,t.disableClick=!0,r[a]?(r[a].count+=1,n.bind(null,a)):(u=angular.element("<div />").attr("lj-bubble",angular.toJson(t)),s="undefined"==typeof i,s&&(i=e.$new(!0)),u.appendTo("body"),o(u)(i),r[a]={count:1,node:u,scope:i,isScopeCreated:s},n.bind(null,a))):void l.error("Incorrect bubble options. You should provide name and template.",t)}function n(e){var o=r[e];o&&(o.count-=1,0===o.count&&(o.isScopeCreated||o.scope.$destroy(),o.node.remove(),delete r[e]))}var r={};return t}(),a.exists=function(e){return u.hasOwnProperty(e)},a._register=function(e,o){var t;return u.hasOwnProperty(e)?void console.warn('Bubble with name "'.concat(e,'" has already been registered')):(t=angular.isDefined(o)?angular.copy(o):{},t=angular.extend({closeControl:!0},t),void(u[e]=Object.create(t)))},a._unregister=function(e){delete u[e],a.current===e&&(a.current=null)},a.confirm=function(e){function o(){i.scrollBy(0,1),i.scrollBy(0,-1)}var t=LJ.ml("confirm.bubble.yes"),n=LJ.ml("confirm.bubble.no"),l={closeControl:!1,confirm:e.confirm,header:e.header,text:e.text,yes:e.yes||t,no:e.no||n};a.open(e.id,l),r(o),r(o,100),r(o,200),r(o,300)},a.open=function(o,r,i){return u.hasOwnProperty(o)?(r instanceof jQuery&&(i=r,r={}),angular.isString(r)&&(i=n.get(r),r={}),angular.isObject(r)&&a.options(o,r),i instanceof jQuery&&(a.node instanceof jQuery&&!a.node.is(i)&&e.$broadcast("bubble:reposition:"+o),a.node=i),angular.isString(i)&&(a.node=n.get(i)),a.current=o,e.$broadcast("bubble:open",o,r,i),e.$broadcast("bubble:open:"+o,o,r,i),void angular.element("body").addClass(t)):void l.error("Bubble `"+o+"` can't be opened, it has not been registered yet.")},a.close=function(){var o,n=a.current,r=u[n];e.$broadcast("bubble:close",n,r,a.node),e.$broadcast("bubble:close:"+n,n,r,a.node);for(o in r)r.hasOwnProperty(o)&&delete r[o];a.current=null,a.node=null,angular.element("body").removeClass(t)},a.options=function(e,o){return"undefined"==typeof o||o===u[e]?u[e]:void angular.copy(o,u[e])},a}e.$inject=["Bubble","$parse","$compile","$timeout","$templateCache"],o.$inject=["$rootScope","$compile","Ref","$timeout","$window","$log"],angular.module("LJ.Bubble",["LJ.Templates","LJ.Directives","LJ.Ref"]),angular.module("LJ.Bubble").factory("Bubble",o).directive("ljBubble",e);var t="p-openpopup";e.$inject=["Bubble","$parse","$compile","$timeout","$templateCache"],o.$inject=["$rootScope","$compile","Ref","$timeout","$window","$log"]}();
/* <<< file end: js/core/angular/bubble.js */

//# map link was there [bubble.js.map]
/* >>> file start: js/core/angular/users.js */
//= require js/core/angular/api.js
//= require js/core/angular/options.js
!function(e){return e}(),function(){"use strict";angular.module("Users",["LJ.Api","LJ.Options"]).factory("Relations",["$q","$timeout","UsersCache",function(e,n,r){function t(t,i,u){var a=e.defer(),s={addFriend:{is_invite_sent:!0},removeFriend:{is_friend:!1},subscribe:{is_subscribedon:!0},unsubscribe:{is_subscribedon:!1},join:{is_invite_sent:!0},leave:{is_member:!1},setBan:{is_banned:!0},setUnban:{is_banned:!1}},o={addFriend:{is_invite_sent:!1},removeFriend:{is_friend:!0},subscribe:{is_subscribedon:!1},unsubscribe:{is_subscribedon:!0},join:{is_invite_sent:!1},leave:{is_member:!0},setBan:{is_banned:!1},setUnban:{is_banned:!0}},c=angular.copy(r.get(t)||{});return angular.isUndefined(u)&&(u={}),u.wait||r.update(t,s[i]||{}),LJ.Event.trigger("relations.change",{username:t,action:i,callback:function(e){n(function(){if(e.error)return u.wait||r.update(t,angular.extend(o[i],c)),void a.reject(e.error.message);var n=LJ.Object.pick(e,"is_banned","is_friend","is_member","is_subscriber","is_subscribedon","is_friend_of","is_invite_sent");r.update(t,n),a.resolve(e)})}}),a.promise}function i(e,n,i){var u=t(e,n?"subscribe":"unsubscribe",i);return n||u.then(function(){r.update(e,{filtermask:0})}),u}function u(e,n,r){return t(e,n?"addFriend":"removeFriend",r)}function a(e,n,r){return t(e,n?"join":"leave",r)}function s(e,n,r){return t(e,n?"setBan":"setUnban",r)}function o(e,n,r){return t(e,n?"banEverywhere":"unbanEverywhere",r)}return{toggleFriend:u,toggleSubscription:i,toggleMember:a,toggleBan:s,toggleBanEverywhere:o}}]).factory("Mask",function(){function e(e){return e>>>0}var n={};return n.change=function(n,r){var t=r.add,i=r.remove;return angular.isDefined(t)&&(angular.isArray(t)||(t=[t]),n=t.reduce(function(n,r){return e(n|Math.pow(2,r))},n)),angular.isDefined(i)&&(angular.isArray(i)||(i=[i]),n=i.reduce(function(n,r){var t=Math.pow(2,32)-1-Math.pow(2,r);return e(n&t)},n)),n},n.check=function(e,n){var r=Math.pow(2,n);return Boolean(e&r)},n}).factory("UsersCache",["$q","$cacheFactory","Options",function(e,n,r){function t(e){if(!angular.isUndefined(e)){var n=l.get(f.get("journal"))||{},r=e;return angular.isArray(e)||(e=[e]),e.forEach(function(e){if(e&&angular.isObject(e)&&!angular.isUndefined(e.username)){var r=e.username||e.display_username,t=n[r];n[r]=t?angular.extend(t,e):e}}),l.put(f.get("journal"),n),r}}function i(e){var n=l.get(f.get("journal"));return Boolean(n[e])}function u(e){var n;if(angular.isString(e)){if(n=l.get(f.get("journal")),n&&!n[e]){var r=Object.values(n).find(function(n){return n.display_name===e});if(r)return r}return n&&n[e]?n[e]:null}if(angular.isFunction(e))return s(e);if(angular.isUndefined(e))return s();throw new TypeError("Incorrect argument passed.")}function a(e){var n=l.get(f.get("journal"));return n||angular.isObject(n)?Object.keys(n).reduce(function(r,t){return String(n[t].id)===String(e)?n[t]:r},null):null}function s(e){var n,r=l.get(f.get("journal")),t=[];for(n in r)if(r.hasOwnProperty(n)){if(e&&!e(r[n]))continue;t.push(r[n])}return t}function o(e,n){var r=u(e)||{username:e};return angular.extend(r,n),t(r),r}var c,l=n("users"),f=r.create({journal:LJ.get("remoteUser")});return c={add:t,update:o,set:f.set,get:u,getById:a,exists:i}}]).factory("Users",["$q","$timeout","Api","Mask","UsersCache","Options",function(e,n,r,t,i,u){function a(e){return k[C.get("type")][e]}function s(e){return"subscriptions"===C.get("type")?Boolean(e.is_subscribedon):!0}function o(e,n){return angular.isUndefined(n)?e[c()]||1:void(e[c()]=n)}function c(){return"subscriptions"===C.get("type")?"filtermask":"groupmask"}function l(e,n,t){return r.call("user.get",{target:e,fields:n},t).then(function(e){var n=e.user;return i.add(n),n})}function f(e,n,t){return r.call("user.get",{targetid:e,fields:n},t).then(function(e){var n=e.user;return i.add(n),n})}function d(e,n){return r.call("relations.list_friends",{journal:C.get("journal"),fields:e},n).then(_("is_friend"))}function g(e){return r.call("groups.list_users",{journal:C.get("journal"),fields:e}).then(function(e){return i.add(e.users),e})}function p(e){return r.call("relations.list_subscriptions",{journal:C.get("journal"),fields:e}).then(_("is_subscribedon"))}function b(e){return r.call("relations.list_banned",{journal:C.get("journal"),fields:e}).then(_("is_banned"))}function _(e){return function(n){var r=n.users;return r.forEach(LJ.Function.set(e,!0)),i.add(r),r}}function v(e){return r.call("relations."+e+"_count").then(function(e){return e.count})}function h(n){return angular.isArray(n)||(n=[n]),0===n.length?e.reject("You should provide users to sync."):r.call(a("update"),{users:n,journal:C.get("journal")}).then(function(e){return i.add(e.users),e})}function m(e,n){var r=i.get(e);return r?t.check(o(r),n):!1}function j(e){return e.filter(i.exists).map(i.get).filter(s)}function y(e){var n=(e.filter||"").toLowerCase(),r=i.get(function(r){return s(r)&&t.check(o(r),e.id)?!n||-1!==r.display_username.toLowerCase().indexOf(n):!1});return e.limit&&(r=r.slice(0,e.limit)),r}function U(e){var n=(e.filter||"").toLowerCase(),r=i.get(function(r){return s(r)?t.check(o(r),e.id)?!1:!n||-1!==r.display_username.toLowerCase().indexOf(n):!1});return e.limit&&(r=r.slice(0,e.limit)),r}function w(e,n){angular.isArray(n)||(n=[n]);var r;return r="subscriptions"===C.get("type")?j(n):n.map(function(e){return i.get(e)||{username:e}}),r.forEach(function(n){o(n,t.change(o(n),{add:e}))}),h(r)}function L(e,n,r){angular.isArray(n)||(n=[n]);var i=j(n);return i.forEach(function(n){o(n,t.change(o(n),{remove:e}))}),r&&r.silent?void 0:h(i)}function O(e,n){return i.update(e,{alias:n}),r.call("user.alias_set",{target:e,alias:n})}function E(e){return function(n,r){return n[e].toLowerCase().localeCompare(r[e].toLowerCase())}}function F(){var e,n=C.get("journal");C.set.apply(null,arguments),e=C.get("journal"),e!==n&&i.set("journal",e)}var k={friends:{read:"relations.list_friends",readOne:"relations.get_friend",update:"groups.update_users"},subscriptions:{read:"relations.list_subscriptions",readOne:"relations.get_subscription",update:"filters.update_users"}},C=u.create({type:"friends",journal:LJ.get("remoteUser")});return{USERHEAD_FIELDS:{alias:1,journal_url:1,profile_url:1,userhead_url:1,is_invisible:1,journaltype:1},set:F,get:C.get,Cache:i,fetchUser:l,fetchUserById:f,fetchBanned:b,fetchFriends:d,fetchGroupUsers:g,fetchSubscriptions:p,fetchCount:v,sync:h,alias:O,isUserInGroup:m,getExisting:j,fromGroup:y,outOfGroup:U,addToGroup:w,removeFromGroup:L,comparator:E}}])}();
/* <<< file end: js/core/angular/users.js */

//# map link was there [users.js.map]
/* >>> file start: js/core/angular/ljUser.js */
function _typeof(e){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function _defineProperty(e,r,t){return r=_toPropertyKey(r),r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(e){var r=_toPrimitive(e,"string");return"symbol"===_typeof(r)?r:String(r)}function _toPrimitive(e,r){if("object"!==_typeof(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!==_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}
//= require js/core/angular/api.js
//= require js/core/angular/users.js
Site.page.template['angular/ljUser.ng.tmpl'] = '<span\n    class=\"\n        ljuser\n        i-ljuser\n        i-ljuser-type-{{user.journaltype}}\n        \"\n    ng-class=\"{\n        \'i-ljuser-deleted\': user.is_invisible,\n        \'i-ljuser-nopopup noctxpopup\': user.noctxpopup,\n        \'i-ljuser-withalias\': user.alias,\n        \'i-ljuser-showalias\': user.showalias\n    }\"\n    data-ljuser=\"{{user.username}}\"\n    lj:user=\"{{user.username}}\"\n    ><!--\n\n    Userhead\n    --><a\n        class=\"i-ljuser-profile\"\n        ng-href=\"{{user.profile_url}}\"\n        ng-attr-target=\"{{user.target ? user.target : \'_self\'}}\"\n        ><!--\n        --><img\n            class=\"i-ljuser-userhead\"\n            ng-src=\"{{user.userhead_url}}\"\n            ><!--\n    --></a><!--\n\n    Username\n    --><a\n        class=\"i-ljuser-username\"\n        ng-href=\"{{user.journal_url}}\"\n        ng-attr-title=\"{{user.display_username || user.alias}}\"\n        ng-attr-target=\"{{user.target ? user.target : \'_self\'}}\"\n        ><b ng-bind=\"user.display_name || user.display_username\"></b></a><!--\n\n    --><a\n        class=\"i-ljuser-badge\"\n        data-badge-type=\"pro\"\n        data-placement=\"bottom\"\n        data-pro-badge\n        data-pro-badge-type=\"{{user.is_paid ? 1 : 0}}\"\n        data-is-raw\n        ng-if=\"user.badge === \'pro\'\"\n        ><!--\n        --><span class=\"i-ljuser-badge__icon\" lj-svg-icon=\"flaticons-v2--icon-pro-outline\"></span><!--\n    --></a><!--\n\n    --><a\n        class=\"i-ljuser-badge\"\n        data-badge-type=\"verified\"\n        data-placement=\"bottom\"\n        data-pro-badge\n        data-pro-badge-type=\"{{user.is_paid ? 1 : 0}}\"\n        data-is-raw\n        ng-if=\"user.badge === \'verified\'\"\n        ><!--\n        --><span class=\"i-ljuser-badge__icon\" lj-svg-icon=\"flaticons-v2--icon-verified-fill\"></span><!--\n    --></a><!--\n    \n    Alias\n    --><span\n        class=\"i-ljuser-alias\"\n        ng-bind=\"user.alias\"\n        ></span><!--\n\n--></span>\n';
!function(){"use strict";function e(e){e.errorOnUnhandledRejections(!1)}function r(e,r,t,n,a,o,i){function c(e){var r=t.defer(),n=i.Cache.get(e);return n&&n.userhead_url?(r.resolve(n),r.promise):i.fetchUser(e,d,{cache:!0,silent:!0})}function u(e){var r=t.defer(),n=i.Cache.getById(e);return n&&n.userhead_url?(r.resolve(n),r.promise):i.fetchUserById(e,d,{cache:!0,silent:!0})}function s(r,n){var u=t.defer(),s=e.$new();return c(r).then(function(){var e;s.user=angular.extend({},i.Cache.get(r),n||{}),e=a(f)(s),o(function(){u.resolve(p.empty().append(e).html()),s.$destroy()})}),u.promise}function l(r,n){var c=t.defer(),s=e.$new();return u(r).then(function(){var e;s.user=angular.extend({},i.Cache.getById(r),n||{}),e=a(f)(s),o(function(){c.resolve(p.empty().append(e).html()),s.$destroy()})}),c.promise}var p=angular.element("<div />"),f=n.get("ljUser.ng.tmpl"),d=_objectSpread(_objectSpread({},i.USERHEAD_FIELDS),{},{is_paid:1,badge:1});return{prepare:c,prepareById:u,getById:l,get:s}}function t(e,r,t){return{templateUrl:"ljUser.ng.tmpl",replace:!0,scope:!0,compile:function(n,a){var o=e(a.ljUserDynamic),i=e(a.ljUserDynamicOptions);return function(e,n){var a=i(e);e.$watch(function(){return o(e)},function(n){var o=n;e.user=angular.extend({username:o,display_username:o},a||{}),t.prepare(o).then(function(){e.$watch(function(){return r.Cache.get(o)},function(r){angular.extend(e.user,r),a&&angular.isFunction(a.adjustData)&&(e.user=a.adjustData(e.user)),setTimeout(function(){LJ.Event.trigger("ljUserDynamic::updated")})},!0)})})}}}}function n(e,r,t){return{template:'<img class="{{user.class}}" src="https://l-userpic.livejournal.com/default/{{user.id}}" alt="" />',scope:!0,compile:function(n,a){return function(n){var o=e(a.ljUserAvatarImg)(n),i=e(a.ljUserAvatarImgOptions)(n),c=+o;return NaN!==c&&o.toString().length===c.toString().length?void(n.user=angular.extend({id:o},i||{})):(function(e){return e}(),n.user=angular.extend({username:o},i||{}),void t.prepare(o).then(function(e){n.$watch(function(){return r.Cache.get(o)},function(e){angular.extend(n.user,e)},!0)}))}}}}function a(e,r,t){return{templateUrl:"ljUser.ng.tmpl",replace:!0,scope:!0,compile:function(n,a){return function(n){var o=e(a.ljUserById)(n),i=e(a.ljUserByIdOptions)(n);n.user=angular.extend({username:"user-"+o,display_username:"user-"+o},i||{}),t.prepareById(o).then(function(){n.$watch(function(){return r.Cache.getById(o)},function(e){angular.extend(n.user,e)},!0)})}}}}function o(e){var r="https:",t=function(e,t){return e.journal_url?e.journal_url:t.indexOf(".")>-1?"".concat(r,"//").concat(t):"".concat(r,"//").concat(t,".livejournal.com")};return{templateUrl:"ljUser.ng.tmpl",replace:!0,scope:!0,compile:function(n,a){var o=e(a.ljUserStatic),i=e(a.ljUserStaticId),c=e(a.ljUserStaticJournalUrl),u=e(a.ljUserStaticOptions);return function(e){var n=o(e),a=i(e),s=u(e)||{},l=c(e),p="string"==typeof n&&n.length>2;!l&&p&&(l=t(s,n));var f="".concat(l,"/profile"),d=s.userhead_url||"".concat(r,"//l-files.livejournal.net/userhead/default/").concat(a);e.user={alias:"",display_name:s.display_name||n,display_username:s.display_username||n,id:a,is_invisible:!1,journal_url:l,journaltype:"P",profile_url:f,userhead_url:d,username:n,noctxpopup:s.noctxpopup,badge:s.badge}}}}}function i(e,r){var t="https:";return{template:'\n        <img\n          class="{{user.class}}"\n          ng-src="'.concat(t,'//l-userpic.livejournal.com/default/{{user.id}}"\n          alt=""\n        />'),scope:!0,compile:function(r,t){var n=e(t.ljUserAvatarStaticId),a=e(t.ljUserAvatarStaticOptions);return function(e){var r=n(e),t=a(e);e.user={id:r,"class":t["class"]||""}}}}}i.$inject=["$parse","$location"],o.$inject=["$parse"],n.$inject=["$parse","Users","ljUser"],t.$inject=["$parse","Users","ljUser"],a.$inject=["$parse","Users","ljUser"],r.$inject=["$rootScope","Api","$q","$templateCache","$compile","$timeout","Users"],e.$inject=["$qProvider"],angular.module("LJ.User",["LJ.Api","LJ.Templates","Users"]),angular.module("LJ.User").config(e).factory("ljUser",r).directive("ljUserById",a).directive("ljUserDynamic",t).directive("ljUserAvatarImg",n).directive("ljUserStatic",o).directive("ljUserAvatarStatic",i),r.$inject=["$rootScope","Api","$q","$templateCache","$compile","$timeout","Users"],t.$inject=["$parse","Users","ljUser"],n.$inject=["$parse","Users","ljUser"],a.$inject=["$parse","Users","ljUser"]}();
/* <<< file end: js/core/angular/ljUser.js */

//# map link was there [ljUser.js.map]
/* >>> file start: js/settings/services/filters/filters.js */
//= require js/core/angular/api.js
//= require js/core/angular/options.js
//= require js/core/angular/users.js
!function(t){return t}(),function(){"use strict";angular.module("GroupsAndFilters.Services.Filters",["LJ.Api","LJ.Options","Users"]).filter("filtersOrder",function(){return function(t){var r=t.slice(0);return r.sort(function(t,r){if(31===t.id)return-1;if(31===r.id)return 1;var e=t.name.toLowerCase(),i=r.name.toLowerCase();return e>i?1:-1}),r}}).factory("FilterGroupFactory",["$q","$timeout","Api","Options","Users",function(t,r,e,i,n){function o(){angular.extend(this,{MAX_COUNT:31,filters:[],key:"filters",rpc:{}},i.create({journal:LJ.get("remoteUser")}))}return o.prototype.toJSON=function(t){var r=angular.copy(t);return delete r.checked,delete r.users,r},o.prototype.nextId=function(){for(var t=null,r=this.filters.map(LJ.Function.get("id")),e=1,i=this.MAX_COUNT;i>e&&null===t;)-1===r.indexOf(e)&&(t=e),e+=1;return t},o.prototype.sync=function(t){var r={};return angular.isArray(t)||(t=[t]),r[this.key]=t.map(this.toJSON),r.journal=this.get("journal"),e.call(this.rpc.update,r)},o.prototype.fetch=function(r){if(!this.rpc.read)return t.reject();var i=this,n={journal:this.get("journal")};return r=angular.extend(r||{},{cache:!1}),e.call(this.rpc.read,n,r).then(function(t){return i.filters=t[i.key],i.filters})},o.prototype._isNameUniq=function(t){var r=this.filters.map(function(t){return t.name.toLowerCase()});return t=t.toLowerCase(),-1===r.indexOf(t)},o.prototype.create=function(r){var i;return r=r.trim(),0===r.length?t.reject("filters"===this.key?LJ.ml("api.error.filters.filter_name_not_specified"):LJ.ml("api.error.groups.group_name_not_specified")):this._isNameUniq(r)?(i={id:this.nextId(),name:r,users:[],"public":!1,journal:this.get("journal")},this.filters.push(i),e.call(this.rpc.create,i)):t.reject("filters"===this.key?LJ.ml("api.error.filters.filter_already_exist",{name:r}):LJ.ml("api.error.groups.group_already_exist",{name:r}))},o.prototype.remove=function(t){var r=this,i={};return t=Array.isArray(t)?t:[t],i[this.key]=t.map(LJ.Function.get("id")),i.journal=this.get("journal"),t.forEach(function(t){r.filters.splice(r.filters.indexOf(t),1)}),e.call(this.rpc.remove,i)},o.prototype.getCount=function(){return e.call(this.rpc.count,{journal:this.get("journal")}).then(LJ.Function.get("count"))},o.prototype.by=function(t){var r=n.Cache.get(t);return r?this.filters.filter(function(r){return n.isUserInGroup(t,r.id)}):[]},o}]).factory("Filter",["FilterGroupFactory",function(t){function r(){this.rpc={create:"filters.create",update:"filters.update",remove:"filters.remove",count:"filters.count"},this.key="filters"}return r.prototype=new t,r.prototype._setPrivacy=function(t,r){return t=Array.isArray(t)?t:[t],t.forEach(LJ.Function.set("public","public"===r)),this.sync(t)},r.prototype["private"]=function(t){return this._setPrivacy(t,"private")},r.prototype["public"]=function(t){return this._setPrivacy(t,"public")},new r}]).factory("Group",["FilterGroupFactory",function(t){function r(){this.rpc={create:"groups.create",read:"groups.list",update:"groups.update",remove:"groups.remove",count:"groups.count"},this.key="groups"}return r.prototype=new t,new r}])}();
/* <<< file end: js/settings/services/filters/filters.js */

//# map link was there [filters.js.map]
/* >>> file start: js/settings/directives/filtersFor.js */
//!= require js/core/angular/messages.js
LJ.injectStyle('/* >>> file start: stc/widgets/filter-settings.css */\n.b-filterset{max-width:290px;font:14px/1.4 Arial,sans-serif;color:#000}.b-filterset-addnew-input,.b-filterset-list LABEL{display:block;white-space:nowrap;line-height:1.333}.b-filterset B,.b-filterset CODE,.b-filterset DD,.b-filterset DIV,.b-filterset DT,.b-filterset EM,.b-filterset I,.b-filterset KBD,.b-filterset LABEL,.b-filterset LI,.b-filterset P,.b-filterset PRE,.b-filterset SPAN,.b-filterset STRONG,.b-filterset TD,.b-filterset TH{font-size:100%}.b-filterset .i-ljuser-userhead{vertical-align:top!important;margin:1px 0 0!important;border:none!important}.b-filterset .i-ljuser-username:active,.b-filterset .i-ljuser-username:hover,.b-filterset .i-ljuser-username:link,.b-filterset .i-ljuser-username:visited{color:#0051B7!important;text-decoration:none!important;border:none!important}.b-filterset .b-filterset-subtitle,.b-filterset .b-filterset-title{margin:0 1.142em .5em 0!important;color:#222!important}.b-filterset .b-filterset-title{font-weight:700!important}.b-filterset-list{position:relative;z-index:1;overflow:auto;max-height:14em;min-width:220px;margin:0 0 .3em;padding:0;background-attachment:scroll;background-clip:border-box;background-image:-webkit-radial-gradient(50% 0,farthest-side,rgba(0,0,0,.1),transparent),-webkit-radial-gradient(50% 100%,farthest-side,rgba(0,0,0,.1),transparent);background-image:radial-gradient(farthest-side at 50% 0,rgba(0,0,0,.1),transparent),radial-gradient(farthest-side at 50% 100%,rgba(0,0,0,.1),transparent);background-origin:padding-box;background-position:0 0,0 100%;background-repeat:no-repeat;background-size:100% 7px}.b-filterset-list:after,.b-filterset-list:before{position:relative;z-index:-1;display:block;content:\"\";height:14px;margin:0 0 -14px;background:-webkit-linear-gradient(top,#F4F5F6,#F4F5F6 30%,rgba(244,245,246,0));background:linear-gradient(to bottom,#F4F5F6,#F4F5F6 30%,rgba(244,245,246,0))}.b-filterset-list:after{margin:-14px 0 0;background:-webkit-linear-gradient(top,rgba(228,229,233,0),#E4E5E9 70%,#E4E5E9);background:linear-gradient(to bottom,rgba(228,229,233,0),#E4E5E9 70%,#E4E5E9)}.b-filterset-list LI{margin:0;padding:0;list-style-type:none}.b-filterset-list LI.loading{background:url(/img/preloader/preloader-blue-gray.gif?v=16423) 100% 50% no-repeat}.b-filterset-list LABEL{font-size:.857em}.b-filterset-list LABEL:hover{background:#7292BD;color:#FFF}.b-filterset-addnew-input{margin:0 0 .5em;font-size:.857em}.b-filterset-addnew{margin:.5em 0 0}.b-filterset-pseudo{font-size:.857em;color:#0051B7}.b-filterset-submit{text-align:right}.b-filterset-loader:after,.b-filterset-loader:before{display:inline-block;visibility:hidden;content:\'\';width:21px;height:21px;margin:-2px 0 0 4px;background:url(/img/preloader/preloader-blue-gray.gif?v=16423) 50% 50% no-repeat;vertical-align:middle}.b-filterset-loader-after:before,.b-filterset-loader-before:after{display:none}.b-filterset-loading .b-filterset-loader-after:after,.b-filterset-loading .b-filterset-loader-before:before{visibility:visible}\n/* <<< file end: stc/widgets/filter-settings.css */\n\n/*# map link was there [filter-settings.css.map] */\n');
Site.page.template['angular/controlstrip/filters.ng.tmpl'] = '<div class=\"b-filterset-body\" ng-class=\"{ \'b-filterset-loading\': model.loading }\">\n    <ul class=\"b-filterset-section b-filterset-list\">\n        <li ng-repeat=\"filter in filters | filtersOrder\" ng-class=\"{ \'loading\': loading[filter.id] }\">\n            <label>\n                <input\n                    ng-checked=\"checked = isActive(filter.id)\"\n                    ng-change=\"toggleFilter(filter.id, checked)\"\n                    ng-model=\"checked\"\n                    type=\"checkbox\"\n                    class=\"b-filterset-checkbox\"\n                    >{{filter.name}}\n            </label>\n        </li>\n\n        <li ng-show=\"model.showCreateDialog\">\n            <span class=\"b-filterset-addnew-input\" >\n                <form ng-submit=\"createFilter()\">\n                    <input\n                        ng-model=\"model.newFilter\"\n                        focus-and-select=\"model.showCreateDialog\"\n                        type=\"text\"\n                        />\n                    <input type=\"submit\" lj-ml=\"filterset.button.save\" lj-ml-attr=\"value\" />\n                </form>\n            </span>\n        </li>\n    </ul>\n\n    <div\n        ng-hide=\"model.showCreateDialog || isFiltersCountReached()\"\n        class=\"b-filterset-section b-filterset-addnew\">\n        <span\n            ng-if=\"isFiltersFor\"\n            ng-click=\"model.showCreateDialog = true\"\n            lj-ml=\"filterset.link.addnewfilter\"\n            class=\"b-filterset-pseudo b-pseudo\"\n            ></span>\n        <span\n            ng-if=\"isGroupsFor\"\n            ng-click=\"model.showCreateDialog = true\"\n            lj-ml=\"filterset.link.addnewgroup\"\n            class=\"b-filterset-pseudo b-pseudo\"\n            ></span>\n    </div>\n</div>\n';
!function(e){return e}(),function(){"use strict";function e(e,r,t,n,o,i){function l(){return Array.isArray(e.usernames)?e.usernames:[e.usernames]}e.loading={},e.filters=[],t.fetch({cache:!0}).then(function(r){e.filters=r}),e.model={newFilter:"",showCreateDialog:!1},e.toggleFilter=function(r,t){var o;i.clear(),e.loading[r]=!0,o=t?n.addToGroup(r,l()):n.removeFromGroup(r,l()),o.then(function(){e.loading[r]=!1})},e.isActive=function(e){var r=l().every(function(r){return n.isUserInGroup(r,e)});return r},e.isCountReached=function(){return e.filters.length>=t.MAX_COUNT},e.createFilter=function(){var r=e.model.newFilter.trim();e.resetFilter(),0!==r.length&&(e.model.loading=!0,t.create(r).then(function(r){var t=r.filter;n.addToGroup(t.id,l()).then(function(){e.model.loading=!1})}))},e.resetFilter=function(){e.model.newFilter="",e.model.showCreateDialog=!1},e.$on("bubble:open:controlstrip",e.resetFilter)}angular.module("Filters.List",[]).controller("FiltersForCtrl",["$scope","$q","Filter","Users","Bubble","Messages",e]).controller("GroupsForCtrl",["$scope","$q","Group","Users","Bubble","Messages",e]).directive("filtersFor",[function(){return{controller:"FiltersForCtrl",scope:{usernames:"=filtersFor"},templateUrl:"filters.ng.tmpl",link:function(e){e.isFiltersFor=!0}}}]).directive("groupsFor",[function(){return{controller:"GroupsForCtrl",scope:{usernames:"=groupsFor"},templateUrl:"filters.ng.tmpl",link:function(e){e.isGroupsFor=!0}}}])}();
/* <<< file end: js/settings/directives/filtersFor.js */

//# map link was there [filtersFor.js.map]
/* >>> file start: js/relations/menu.js */
//= require js/core/angular/bubble.js
//= require js/core/angular/ljUser.js
//!= require js/core/angular/messages.js
//= require js/settings/services/filters/filters.js
//= require js/core/angular/users.js
//= require js/settings/directives/filtersFor.js
Site.page.template['angular/controlstrip/controlstrip.ng.tmpl'] = '<div\n  class=\"b-filterset\"\n  ng-class=\"{ \'b-filterset-loading\': loading }\"\n  >\n\n  <!-- subscribe user -->\n  <div class=\"b-filterset-title\" ng-show=\"mode == \'subscribe\'\" lj-ml=\"filterset.title.subscribed.journal\" lj-ml-resolve=\"mlResolve\"></div>\n\n  <!-- add user -->\n  <div class=\"b-filterset-title\" ng-show=\"mode == \'add\'\" lj-ml=\"filterset.title.addfriend.journal\" lj-ml-resolve=\"mlResolve\"></div>\n  <div class=\"b-filterset-subtitle\" ng-show=\"mode == \'add\'\" lj-ml=\"filterset.subtitle.addfriend.journal\" lj-ml-resolve=\"mlResolve\"></div>\n\n  <!-- subscribe community -->\n  <div class=\"b-filterset-title\" ng-show=\"mode == \'watch\'\" lj-ml=\"filterset.title.subscribed.community\" lj-ml-resolve=\"mlResolve\"></div>\n\n  <!-- join community -->\n  <div class=\"b-filterset-title\" ng-show=\"mode == \'join\' || mode == \'joinSubscribed\'\" lj-ml=\"filterset.title.join\"></div>\n  <div class=\"b-filterset-subtitle\" ng-show=\"mode == \'join\'\" lj-ml=\"filterset.subtitle.join\" lj-ml-resolve=\"mlResolve\"></div>\n  <div class=\"b-filterset-section b-filterset-submit\" ng-show=\"mode == \'join\'\">\n      <div class=\"b-ljbutton b-filterset-loader b-filterset-loader-before\">\n          <input type=\"submit\" lj-ml=\"filterset.submit.subscribe\" lj-ml-attr=\"value\" ng-click=\"subscribeAfterJoin()\" />\n      </div>\n  </div>\n\n  <!-- filters section -->\n  <!-- Notice: extra div here is because of bug in AngularJS: https://github.com/angular/angular.js/issues/3981 -->\n\n  <div ng-show=\"mode !== \'join\'\">\n    <div\n      class=\"b-filterset-subtitle b-filterset-loader b-filterset-loader-after\"\n      lj-ml=\"filterset.subtitle.filters\"\n      ></div>\n      <div filters-for=\"username\"></div>\n  </div>\n</div>\n';
!function(e){return e}(),function(e){"use strict";angular.module("Relations.Menu",["LJ.Templates","LJ.Bubble","LJ.Directives","LJ.User","LJ.Messages","GroupsAndFilters.Services.Filters","Users","Filters.List"]).value("$anchorScroll",null).controller("MenuCtrl",["$scope","Bubble","$timeout","$q","ljUser","Filter","Users","Relations","Messages",function(t,n,s,r,i,o,u,a,c){function l(e,n){var s;switch(n&&f(n),e){case"addFriend":s=a.toggleFriend(v,!0,{wait:!0});break;case"removeFriend":s=a.toggleFriend(v,!1,{wait:!0});break;case"join":s=a.toggleMember(v,!0,{wait:!0});break;case"leave":s=a.toggleMember(v,!1,{wait:!0});break;case"subscribe":s=a.toggleSubscription(v,!0,{wait:!0});break;case"unsubscribe":s=a.toggleSubscription(v,!1,{wait:!0})}return s["finally"](d).then(function(n){return ContextualPopup.currentElement===m.find(".ljuser img").get(0)&&ContextualPopup.hide(),n.error?r.reject(n.error.message):(n.message&&(n.message.body=n.message.content,c.add(n.message)),"undefined"!=typeof n.controlstrip_status&&(t.status=n.controlstrip_status),"subscribe"===e||"addFriend"===e||"join"===e&&n.is_subscribedon?b():void(t.filters=[]))},function(e){c.error({body:e})})}function b(){var e,n=u.Cache.get(v);return n.is_subscribedon?(e=n.filtermask?r.defer().resolve():u.fetchUser(v,{filtermask:1}),r.all({filters:o.fetch({cache:!0}),user:e}).then(function(e){t.filters=e.filters})):r.reject()}function f(e){g&&d(),g=(new Hourglass).setEvent(e).show()}function d(){g&&(g.remove(),g=null)}var g,p,m=e(".w-cs-status"),v=LJ.get("journal.username");u.set({type:"subscriptions"}),t.username=v,t.filters=[],t.status=LJ.get("controlstrip.status"),u.Cache.add(LJ.get("journal")),ContextualPopup.showNote=angular.identity,p=r.defer(),t.mlResolve={promise:p.promise},i.get(v,{noctxpopup:!0}).then(function(e){p.resolve({username:e})}),t.$watch(function(){return u.Cache.get(v)},function(e){t.states=LJ.Object.pick(e,"is_friend","is_member","is_subscribedon","is_invite_sent")},!0),t.toggleLoading=function(e){t.loading=e},LJ.Event.on("relations.change",function(){s(c.clear)}),t.subscribe=function(e){e.preventDefault(),l("subscribe",e).then(function(){t.states.is_subscribedon&&(t.mode="subscribe",n.open("controlstrip","unsubscribe"))})},t.unsubscribe=function(e){e.preventDefault(),l("unsubscribe",e)},t.addFriend=function(e){e.preventDefault(),l("addFriend",e).then(function(){t.states.is_friend&&(t.mode="add",n.open("controlstrip","removeFriend"))})},t.removeFriend=function(e){e.preventDefault(),l("removeFriend",e)},t.watch=function(e){e.preventDefault(),l("subscribe",e).then(function(){t.states.is_subscribedon&&(t.mode="watch",n.open("controlstrip","unwatch"))})},t.unwatch=function(e){e.preventDefault(),l("unsubscribe",e)},t.join=function(e){e.preventDefault(),l("join",e).then(function(){t.states.is_member&&(t.mode=t.states.is_subscribedon?"joinSubscribed":"join",n.open("controlstrip","leave"))})},t.leave=function(e){e.preventDefault(),l("leave",e)},t.subscribeAfterJoin=function(){t.toggleLoading(!0),l("subscribe").then(function(){t.toggleLoading(!1),t.mode="watch"})}}])}(jQuery);
/* <<< file end: js/relations/menu.js */

//# map link was there [menu.js.map]
/* >>> file start: js/old/profile_new.js */
//= require js/jquery/jquery.details.js
//= require js/relations/menu.js
!function(e){return e}(),function(e){"use strict";function a(){function a(e,a){Site.remoteUser&&e&&LJ.Api.call("profile.expandcollapse",{mode:"save",header:e,expand:a})}var n="b-profile-group-expand",s="a.b-toggle",t="b-toggle-top",i="b-toggle-bottom";e("dl:has("+s+")").details({selector:s,className:n,init:function(){var a=e(this).addClass(n);Site.remoteUser&&LJ.Api.call("profile.expandcollapse",{mode:"load"},function(o){var r=o.headers;a.filter(function(){var a=e(this).attr("id");return a&&-1!==r.indexOf(a)}).removeClass(n).find("dd").hide().end().find(s).removeClass(t).addClass(i)})},expand:function(){e(this).find("dd").stop(!0,!0).slideDown().end().find(s).removeClass(i).addClass(t),a(e(this).attr("id"),"true")},collapse:function(){e(this).find("dd").stop(!0,!0).slideUp().end().find(s).removeClass(t).addClass(i),a(e(this).attr("id"),"false")}})}function n(){function a(a,n){var s=a.data("alias");return s="string"==typeof s?JSON.parse(s):s,n?(e.extend(s,n),void a.data("alias",s)):s}function n(e,n,s,i,o){window.loadIPPU().then(function(){var l,d;return n?(l=new window.LJWidgetIPPU_AddAlias({title:n,width:440,height:180,authToken:window.Aliases.authToken,callback:o},{alias:e.alias||i,foruser:s}),d=l.onData,void(l.onData=function(e){d.apply(l,arguments),e.res&&e.res.success&&(e.res.alias?(r.addClass("b-profile-useralias"),a(t.find("a"),{alias:e.res.alias})):r.removeClass("b-profile-useralias"))})):!0})}var s,t,i,o=e(".b-profile-actions-addalias"),r=e(".b-profile-actions"),l={};if(window.addAlias=function(){n.apply(null,arguments)},o.length&&(s=o.first(),t=o.last(),i=a(s.find("a")).username,o.find("a").on("click",function(s){var t=a(e(this));if(LJ.Flags.isEnabled("contextualhover_v7")){var i=l[t.username];i?LJ.Event.trigger("notesPopup::requestShow",i):jQuery.ajax({url:LiveJournal.getAjaxUrl("ctxpopup"),data:{user:t.username,mode:"getinfo"},dataType:"json",success:function(e){l[e.username]=e,LJ.Event.trigger("notesPopup::requestShow",e)}})}else n(this,t.title,t.username,t.alias);s.preventDefault()})),LJ.Flags.isEnabled("contextualhover_v7")){var d="b-profile-useralias",u=e(".s-header-extra__menu");LJ.Event.on("notesPopup:save",function(e){e.name===i&&(u.addClass(d),l[i].alias=e.text)}),LJ.Event.on("notesPopup:remove",function(e){e.name===i&&(u.removeClass(d),l[i].alias="")})}}LJ.Event.on("page_load",function(){a(),n(),LJ.get("can_manage")&&e.fn.userpicker&&e(".b-profile").userpicker({updateDefaultUserpic:!0,useCurrentJournal:!0}),LJ.Flags.isEnabled("new_friends_and_subscriptions")&&angular.bootstrap(e(".b-profile-actions"),["Relations.Menu"])})}(jQuery);
/* <<< file end: js/old/profile_new.js */

//# map link was there [profile_new.js.map]
/* >>> file start: js/jquery/jquery.calendarEvents.js */
!function(e){var t={};e.fn.calendarEvents=function(n){function a(e,t){return"cache_"+e+t}function s(e,t){var n=this;this.calendar=e,this.events=null,this.options=t,this._ajaxActive=!1,this._currentDate;var s,i=function(t,i){"string"!=typeof e.data("noFetch")&&(clearTimeout(s),n._currentDate=a(t.getFullYear(),t.getMonth()+1),s=setTimeout(function(){n.fetchEvents(t.getFullYear(),t.getMonth()+1,i)},200))};this.calendar.bind("dateChange",function(e){var t=n.calendar[n.options.calendarType]("option","displayedMonth"),a=1===Math.abs(12*(e.date.getFullYear()-t.getFullYear())+(e.date.getMonth()-t.getMonth()));i(e.date,a)}),this.options.fetchOnFirstDisplay&&this.calendar.one("calendarshow",function(e){i(new Date,!0)})}var i={calendarType:"calendar",classNames:{idle:"idle"},fetchOnFirstDisplay:!1};return s.prototype={getEvents:function(e,t,n){var a={};return a[+e]={},a[+e][+t-1]=n,a},fetchEvents:function(n,s,i){i=arguments.length>=3?!!i:!0;var o=this,r=(this.calendar[this.options.calendarType]("option","displayedMonth"),this.calendar[this.options.calendarType]("getElement",i?"month":"year")),c=this.options.classNames.idle,l=!0,h=function(){o._ajaxActive||l||r.removeClass(c)};this.calendar[this.options.calendarType]("getElement","year").removeClass(c),this.calendar[this.options.calendarType]("getElement","month").removeClass(c),r.addClass(c),this._ajaxActive=!0,setTimeout(function(){l=!1,h()},500);var d=a(n,s);processResults=function(e){d===o._currentDate&&(o.events=t[d],o.calendar[o.options.calendarType]("option","events",o.getEvents(o.events.year,o.events.month,o.events.days)),o._ajaxActive=!1,h())},d in t?processResults(t[d]):e.getJSON(LiveJournal.getAjaxUrl("calendar"),{year:n,month:s},function(e){t[d]=e,processResults(e)})}},this.each(function(){new s(e(this),e.extend({},i,n))})}}(jQuery);
/* <<< file end: js/jquery/jquery.calendarEvents.js */

//# map link was there [jquery.calendarEvents.js.map]
/* >>> file start: js/core/controlstrip.js */
function _maybeArrayLike(e,t,o){if(t&&!Array.isArray(t)&&"number"==typeof t.length){var r=t.length;return _arrayLikeToArray(t,void 0!==o&&r>o?o:r)}return e(t,o)}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(e,t):void 0}}function _iterableToArray(e){return"undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"]?Array.from(e):void 0}function _arrayWithoutHoles(e){return Array.isArray(e)?_arrayLikeToArray(e):void 0}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);t>o;o++)r[o]=e[o];return r}
//= require js/jquery/jquery.calendarEvents.js
//= require js/relations/menu.js
!function(e){return e}(),function(e){"use strict";function t(){var t,r,n,a,l;t=e(".s-header .w-cs-filter-icon, #lj_controlstrip_new .w-cs-filter-icon"),r=e(".s-header .js--community-filter-modal"),r.appendTo("body"),0!==t.length&&0!==r.length&&(t.on("click",function(){r.css("display","block"),o(document.querySelector(".js--community-filter-modal"))}),e(".js--community-filter-modal-close").on("click",function(){return r.css("display","none")}),n=e("#sortByPoster"),a=n.find("[name=poster]"),l=n.find("[type=image]"),a.input(function(){this.value.length?l.css("opacity",1).prop("disabled",!1):l.css("opacity",0).prop("disabled",!0)}),n.on("submit",function(e){a.val().length?r.css("display","none"):e.preventDefault()}))}function o(e){e.focus();var t=e.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'),o=t[0],r=t[t.length-1],n=9;e.addEventListener("keydown",function(e){var t="Tab"===e.key||e.keyCode===n;t&&(e.shiftKey?document.activeElement===o&&(r.focus(),e.preventDefault()):document.activeElement===r&&(o.focus(),e.preventDefault()))})}function r(){e(".s-header input[placeholder], #lj_controlstrip_new input[placeholder]").labeledPlaceholder()}function n(){t(),r(),LJ.Flags.isEnabled("new_friends_and_subscriptions")&&!a&&angular.bootstrap(e("[data-controlstrip]"),["Relations.Menu"]),function(){function t(e){var t=e.split(",").map(Number);return new Date(t[0],t[1],t[2])}var o=e(".s-header .w-cs-i-calendar a, #lj_controlstrip_new .w-cs-i-calendar a"),r=/^\/friends/.test(location.pathname),n=LJ.get("current_journal.url_journal"),a=LJ.get("controlstrip.calendar.earlyDate"),l=LJ.get("controlstrip.calendar.lastDate"),s=LJ.Support.isMobile();s||(s||(o=e(".js--item-show_more")),o.length&&(o.calendar({showOn:s?"click":!1,closeControl:!0,bubbleClass:!0,dayRef:n+"/"+(r?"friends/":"")+"%Y/%M/%D/",allRefs:r,startMonth:a?t(LJ.get("controlstrip.calendar.earlyDate")):new Date,endMonth:l?t(LJ.get("controlstrip.calendar.lastDate")):new Date,classNames:{container:"w-cs-calendar"},ml:{caption:LJ.ml("web.controlstrip.view.calendar")},offset:{x:s?0:20,y:0}}).on("daySelected",function(e){e.preventDefault()}),r||o.calendarEvents({fetchOnFirstDisplay:!0}),LJ.Event.on("controlstrip::showCalendar",function(){o.data("calendar")._nodes.container.data("bubble").show()})))}(),e(".b-loginpopup").bubble({target:".i-auth-control",closeControl:!1,showOn:"click"}),LJ.Flags.isEnabled("move_billboard_to_scheme")&&e("body").on("ljsale-load ljsale-slotRenderEnded",function(){var t=e("body > .s-header").height();t&&e("body").css("padding-top",t)}),e("input.text").labeledPlaceholder(),e("html").trigger("controlstrip-initialized"),l()}var a=Boolean("undefined"!=typeof document.documentMode&&document.documentMode<8),l=function(){_maybeArrayLike(_toConsumableArray,document.querySelectorAll(".js--use-system-style-switch")).forEach(function(e){e.addEventListener("change",function(){var t;null===(t=e.closest("form"))||void 0===t?void 0:t.submit()})})};e(function(){return 0!==e(".s-header, #lj_controlstrip_new").length||"xcolibur"===Site.page.scheme?void n():void("noheaderfooter"!==Site.page.scheme&&e.get(LiveJournal.getAjaxUrl("controlstrip"),{user:LJ.get("currentJournal")},function(t){e(".body-content").length?e(t).prependTo(".body-content"):(e("html").removeClass("html-adaptive"),e(t).appendTo(document.body)),n()}))}),e(function(){function t(t){var o=e("."+a.showElem+":not("+t+")");e(o).removeClass(a.showElem)}function o(){var t=e("."+a.showElem);t.length>0?e(n.bodyElem).addClass(a.showFader):e(n.bodyElem).removeClass(a.showFader)}function r(){var t=e("."+a.showElem);t.length>0?l.catchBlur=!0:l.catchBlur=!1}var n={bodyElem:e("body"),controls:e(".js--show-elem"),controlsHover:e(".js--show-elem-by-hover"),fader:e(".b-fader")},a={control:"js--show-elem",controlHover:"js--show-elem-by-hover",showElem:"js--is-shown",showFader:"js--show-fader",catchBlur:"js--catch-blur"},l={catchBlur:!1};e(document).on("click",function(){l.catchBlur&&t()}),e(n.controlsHover).hover(function(){var t=e(this).find("."+a.control),o={selector:e(t).data("elem")};e(o.selector).addClass(a.showElem)},function(){var t=e(this).find("."+a.control),o={selector:e(t).data("elem")};e(o.selector).removeClass(a.showElem),e(this).addClass(a.controlHover)}),e(n.controls).on("click",function(n){var l={selector:e(this).data("elem"),isShowFader:e(this).data("fader")||!1,isUseBlur:e(this).data("blur")||!1};t(l.selector),e(l.selector).toggleClass(a.showElem),e(this).parent().hasClass(a.controlHover)&&e(this).parent().removeClass(a.controlHover),l.isShowFader&&o(),l.isUseBlur&&r(),n.stopPropagation(),n.preventDefault()}),e(n.fader).on("click",function(){t(),e(n.bodyElem).removeClass(a.showFader)})})}(jQuery);
/* <<< file end: js/core/controlstrip.js */

//# map link was there [controlstrip.js.map]
/* >>> file start: js/lib/jquery.selectric.min.js */
!function(e){"use strict";var t="selectric",s="Input Items Open Disabled TempShow HideSelect Wrapper Hover Responsive Above Scroll",o=".sl",i={onChange:function(t){e(t).change()},maxHeight:300,keySearchTimeout:500,arrowButtonMarkup:'<b class="button">&#x25be;</b>',disableOnMobile:!0,openOnHover:!1,expandToItemText:!1,responsive:!1,preventWindowScroll:!0,inheritOriginalWidth:!1,customClass:{prefix:t,postfixes:s,camelCase:!0,overwrite:!0},optionsItemBuilder:"{text}"},n={add:function(e,t,s){this[e]||(this[e]={}),this[e][t]=s},remove:function(e,t){delete this[e][t]}},a={replaceDiacritics:function(e){for(var t="40-46 50-53 54-57 62-70 71-74 61 47 77".replace(/\d+/g,"\\3$&").split(" "),s=t.length;s--;)e=e.toLowerCase().replace(RegExp("["+t[s]+"]","g"),"aeiouncy".charAt(s));return e},format:function(e){var t=arguments;return(""+e).replace(/{(\d+|(\w+))}/g,function(e,s,o){return o&&t[1]?t[1][o]:t[s]})},nextEnabledItem:function(e,t){for(;e[t=(t+1)%e.length].disabled;);return t},previousEnabledItem:function(e,t){for(;e[t=(t>0?t:e.length)-1].disabled;);return t},toDash:function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},triggerCallback:function(s,o){var i=o.element,l=o.options["on"+s];e.isFunction(l)&&l.call(i,i,o),n[s]&&e.each(n[s],function(){this.call(i,i,o)}),e(i).trigger(t+"-"+a.toDash(s),o)}},l=e(document),r=e(window),c=function(n,c){function d(t){if($.options=e.extend(!0,{},i,$.options,t),$.classes={},$.element=n,a.triggerCallback("BeforeInit",$),$.options.disableOnMobile&&L)return void($.disableOnMobile=!0);C(!0);var o=$.options.customClass,l=o.postfixes.split(" "),r=R.width();e.each(s.split(" "),function(e,t){var s=o.prefix+l[e];$.classes[t.toLowerCase()]=o.camelCase?s:a.toDash(s)}),x=e("<input/>",{"class":$.classes.input,readonly:L}),k=e("<div/>",{"class":$.classes.items,tabindex:-1}),T=e("<div/>",{"class":$.classes.scroll}),D=e("<div/>",{"class":o.prefix,html:$.options.arrowButtonMarkup}),y=e('<p class="label"/>'),I=R.wrap("<div>").parent().append(D.prepend(y),k,x),A={open:v,close:g,destroy:C,refresh:u,init:d},R.on(A).wrap('<div class="'+$.classes.hideselect+'">'),e.extend($,A),$.options.inheritOriginalWidth&&r>0&&I.width(r),p()}function p(){$.items=[];var t=R.children(),s="<ul>",i=t.filter(":selected").index();H=S=~i?i:0,(E=t.length)&&(t.each(function(t){var o=e(this),i=o.html(),n=o.prop("disabled"),l=$.options.optionsItemBuilder;$.items[t]={value:o.val(),text:i,slug:a.replaceDiacritics(i),disabled:n},s+=a.format('<li class="{1}">{2}</li>',e.trim([t==H?"selected":"",t==E-1?"last":"",n?"disabled":""].join(" ")),e.isFunction(l)?l($.items[t],o,t):a.format(l,$.items[t]))}),k.append(T.html(s+"</ul>")),y.html($.items[H].text)),D.add(R).add(I).add(x).off(o),I.prop("class",[$.classes.wrapper,$.options.customClass.overwrite?R.prop("class").replace(/\S+/g,$.options.customClass.prefix+"-$&"):R.prop("class"),$.options.responsive?$.classes.responsive:""].join(" ")),R.prop("disabled")?(I.addClass($.classes.disabled),x.prop("disabled",!0)):(j=!0,I.removeClass($.classes.disabled).on("mouseenter"+o+" mouseleave"+o,function(t){e(this).toggleClass($.classes.hover),$.options.openOnHover&&(clearTimeout($.closeTimer),"mouseleave"==t.type?$.closeTimer=setTimeout(g,500):v())}),D.on("click"+o,function(e){Y?g():v(e)}),x.prop({tabindex:q,disabled:!1}).on("keypress"+o,h).on("keydown"+o,function(e){h(e),clearTimeout($.resetStr),$.resetStr=setTimeout(function(){x.val("")},$.options.keySearchTimeout);var t=e.keyCode||e.which;t>36&&41>t&&b(a[(39>t?"previous":"next")+"EnabledItem"]($.items,S))}).on("focusin"+o,function(e){x.one("blur",function(){x.blur()}),Y||v(e)}).on("oninput"in x[0]?"input":"keyup",function(){x.val().length&&e.each($.items,function(e,t){return RegExp("^"+x.val(),"i").test(t.slug)&&!t.disabled?(b(e),!1):void 0})}),R.prop("tabindex",!1),O=e("li",k.removeAttr("style")).click(function(){return b(e(this).index(),!0),!1})),a.triggerCallback("Init",$)}function u(){a.triggerCallback("Refresh",$),p()}function h(e){var t=e.keyCode||e.which;13==t&&e.preventDefault(),/^(9|13|27)$/.test(t)&&(e.stopPropagation(),b(S,!0))}function f(){var e=k.closest(":visible").children(":hidden"),t=$.options.maxHeight;e.addClass($.classes.tempshow);var s=k.outerWidth(),o=D.outerWidth()-(s-k.width());!$.options.expandToItemText||o>s?W=o:(k.css("overflow","scroll"),I.width(9e4),W=k.width(),k.css("overflow",""),I.width("")),k.width(W).height()>t&&k.height(t),e.removeClass($.classes.tempshow)}function v(s){a.triggerCallback("BeforeOpen",$),s&&(s.preventDefault(),s.stopPropagation()),j&&(f(),e("."+$.classes.hideselect,"."+$.classes.open).children()[t]("close"),Y=!0,B=k.outerHeight(),M=k.height(),x.val("").is(":focus")||x.focus(),l.on("click"+o,g).on("scroll"+o,m),m(),$.options.preventWindowScroll&&l.on("mousewheel"+o+" DOMMouseScroll"+o,"."+$.classes.scroll,function(t){var s=t.originalEvent,o=e(this).scrollTop(),i=0;"detail"in s&&(i=-1*s.detail),"wheelDelta"in s&&(i=s.wheelDelta),"wheelDeltaY"in s&&(i=s.wheelDeltaY),"deltaY"in s&&(i=-1*s.deltaY),(o==this.scrollHeight-M&&0>i||0==o&&i>0)&&t.preventDefault()}),I.addClass($.classes.open),w(S),a.triggerCallback("Open",$))}function m(){f(),I.toggleClass($.classes.above,I.offset().top+I.outerHeight()+B>r.scrollTop()+r.height())}function g(){if(a.triggerCallback("BeforeClose",$),H!=S){a.triggerCallback("BeforeChange",$);var e=$.items[S].text;R.prop("selectedIndex",H=S).data("value",e),y.html(e),a.triggerCallback("Change",$)}l.off(o),I.removeClass($.classes.open),Y=!1,a.triggerCallback("Close",$)}function b(e,t){$.items[e].disabled||(O.removeClass("selected").eq(S=e).addClass("selected"),w(e),t&&g())}function w(e){var t=O.eq(e).outerHeight(),s=O[e].offsetTop,o=T.scrollTop(),i=s+2*t;T.scrollTop(i>o+B?i-B:o>s-t?s-t:o)}function C(e){j&&(k.add(D).add(x).remove(),!e&&R.removeData(t).removeData("value"),R.prop("tabindex",q).off(o).off(A).unwrap().unwrap(),j=!1)}var x,k,T,D,y,I,O,S,H,B,M,W,E,A,$=this,R=e(n),Y=!1,j=!1,L=/android|ip(hone|od|ad)/i.test(navigator.userAgent),q=R.prop("tabindex");d(c)};e.fn[t]=function(s){return this.each(function(){var o=e.data(this,t);o&&!o.disableOnMobile?""+s===s&&o[s]?o[s]():o.init(s):e.data(this,t,new c(this,s))})},e.fn[t].hooks=n}(jQuery);
/* <<< file end: js/lib/jquery.selectric.min.js */

//# map link was there [jquery.selectric.min.js.map]
/* >>> file start: js/common/captcha.js */
!function(e){return e}(),function(e){function t(){return"undefined"!=typeof v}function n(){var t=e.Deferred();return h?t.resolve(h):LJ.Api.call("captcha.get_public_key",{},function(e){h=e.captcha_public,t.resolve(h)}),t.promise()}function r(){return location.protocol+"//www.google.com/recaptcha/api.js?onload=onRecaptchaLoad&render=explicit"}function a(r,a){var o=e.Deferred();return a=e.extend(C,a||{}),LJ.Captcha.current?e.when(n(),L()).then(function(){return t()?(a.sitekey=h,s(),v.render(r,a)):void console.error("Something went wrong. Captcha object is not defined.")}):(o.resolve(),o.promise())}function o(){}function c(){return t()?(s(),v.reset.apply(null,arguments)):void 0}function i(){return null}function l(e){return t()?v.getResponse(e):void 0}function p(){return f(),(v||grecaptcha).execute.apply(null,arguments)}function u(e){var t=e.attributes.title,n=e.attributes.src;if(t){var r=t.value;if(/испытание|challenge/.test(r)&&/recaptcha/.test(r))return!0}if(n){var a=n.value;if(/google\.com.*recaptcha.*bframe/.test(a))return!0}return!1}LJ.define("LJ.Captcha"),LJ.Captcha={create:a,reload:c,destroy:o,getChallenge:i,getResponse:l,isDefined:t,execute:p,current:["recaptcha"].filter(LJ.Flags.isEnabled).shift()},LJ.Captcha.available=!!LJ.Captcha.current;var s,d,f,h,v,C={lang:"ru"},g=e.Deferred();window.onRecaptchaLoad=function(){g.resolve()};var L=LJ.Function.once(function(){var t=e.Deferred();return LJ.injectScript(r()),g.then(function(){v=grecaptcha,t.resolve()}),t.promise()});LJ.Captcha.getCaptchaApiObject=function(){return v||grecaptcha},LJ.Captcha.setOnSimpleForm=function(e,t){s(),window.onCaptchaPass=function(){var t=Object.getPrototypeOf(e).submit;t.call(e)},t.addEventListener("click",function(e){e.preventDefault(),p()})},LJ.Event.on("reCAPTCHA::popup::created",function(e){var t=e.firstChild,n=e.lastChild,r=n.firstChild;e.classList.add("recaptcha-tiles"),t&&t.classList.add("recaptcha-tiles__fader"),n&&n.classList.add("recaptcha-tiles__iframe-wrapper"),r&&r.classList.add("recaptcha-tiles__iframe")}),LJ.Event.on("reCAPTCHA::popup::shown",function(){document.body.classList.add("body--recaptcha-opened")}),LJ.Event.on("reCAPTCHA::popup::hidden",function(){document.body.classList.remove("body--recaptcha-opened")}),function(){var e,t;s=function(){var n=document.body.lastChild;e=setInterval(function(){var r=document.body.lastChild;if(r!==n){n=r;var a=n.querySelector("iframe");a&&u(a)&&(t=n,console.log("reCAPTCHA popup created"),LJ.Event.trigger("reCAPTCHA::popup::created",t),clearInterval(e),e=null)}},100)};var n,r;d=function(){n=new Date,r||(r=setInterval(function(){t&&0===+t.style.opacity&&(console.log("reCAPTCHA popup hidden"),LJ.Event.trigger("reCAPTCHA::popup::hidden"),clearInterval(r),r=null)},100))};var a=1e4;f=function(){n=new Date,r||(r=setInterval(function(){t&&1===+t.style.opacity?(console.log("reCAPTCHA popup shown"),LJ.Event.trigger("reCAPTCHA::popup::shown"),clearInterval(r),r=null,d()):new Date>n+a&&(console.log("reCAPTCHA popup taking too long to appear, aborting wait"),clearInterval(r),r=null)},100))}}()}(jQuery);
/* <<< file end: js/common/captcha.js */

//# map link was there [captcha.js.map]
/* >>> file start: js/front-bundled/dist/tokenModal.js */
/*! For license information please see tokenModal.js.LICENSE.txt */
(()=>{var e,t={2833:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),l=0;l<a.length;l++){var s=a[l];if(!c(s))return!1;var u=e[s],f=t[s];if(!1===(o=r?r.call(n,u,f,s):void 0)||void 0===o&&u!==f)return!1}return!0}},3969:(e,t,r)=>{"use strict";var n=r(96540),o=r(5338),a=r(40961),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.children,r=e.mountRef,n=(void 0===r?{}:r).current||document.body;return(0,a.createPortal)(t,n)};var c=r(79056),l=(0,c.createGlobalStyle)(["body.","{overflow:hidden;}"],(function(e){return e.bodyClassName}));const s=function(e){var t=e.id,r=(0,n.useRef)(t||Date.now().toString(36)+Math.random().toString(36).slice(2)),o="js--scroll-lock-".concat(r.current);return(0,n.useEffect)((function(){var e=document.body;return e.classList.add(o),function(){e.classList.remove(o)}}),[o]),n.createElement(l,{bodyClassName:o})};var u={maxMobileS:"(max-width: ".concat(320,"px)"),maxMobileM:"(max-width: ".concat(360,"px)"),maxMobileL:"(max-width: ".concat(576,"px)"),maxTabletS:"(max-width: ".concat(768,"px)"),maxTabletM:"(max-width: ".concat(969.9,"px)"),maxLaptopS:"(max-width: ".concat(1024,"px)"),maxLaptopM:"(max-width: ".concat(1440,"px)"),maxDesktopS:"(max-width: ".concat(1920,"px)")},f=c.default.h2.withConfig({displayName:"Title",componentId:"sc-kjq3xj-0"})(['margin:0 !important;padding:0 !important;font:bold 24px/1.2 "ProximaNova",Helvetica,sans-serif !important;color:#000 !important;',""],(function(e){return e.$withCloseBtn&&(0,c.css)(["padding-right:30px !important;"])})),p=c.default.p.withConfig({displayName:"Description",componentId:"sc-kjq3xj-1"})(['margin:8px 0 0 !important;padding:0 !important;font:400 16px/1.2 "ProximaNova",Helvetica,sans-serif !important;color:#333333 !important;']),d=c.default.header.withConfig({displayName:"Header",componentId:"sc-kjq3xj-2"})(["position:relative;flex-shrink:0;margin-bottom:0;padding:16px 24px;@media ","{padding:16px;}"],u.maxMobileL);const m=function(e){var t=e.children,r=e.title,o=e.description,a=e.withCloseBtn;return n.createElement(d,null,r&&n.createElement(f,{$withCloseBtn:a},r),o&&n.createElement(p,null,o),t)};var h=["className","xlinkHref"];function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},b.apply(this,arguments)}const g=(0,n.forwardRef)((function(e,t){var r=e.className,o=void 0===r?"":r,a=e.xlinkHref,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,h);return n.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",className:"svgicon ".concat(a," ").concat(o),ref:t},i),n.createElement("use",{xlinkHref:"#".concat(a)}))}));var y=c.default.button.withConfig({displayName:"CloseBtn",componentId:"sc-100e668-0"})(["position:absolute;top:12px;right:16px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin:0;padding:4px;border:none;border-radius:4px;background:none;transition:background-color 0.15s linear;cursor:pointer;&:hover{background-color:hsl(197deg 8% 10% / 5%);}&:active{background-color:hsl(197deg 8% 10% / 10%);}&:focus{outline:none;}&:focus-visible{outline:2px solid #00a3d9;border-radius:2px;}svg{width:24px;height:24px;fill:#272C2E !important;}@media ","{right:8px;}"],u.maxMobileL);const v=function(e){var t=e.onClick;return n.createElement(y,{className:"svgicon flaticon flaticons-v2--cross","aria-label":"Close","aria-required":"true",onClick:t},n.createElement(g,{width:"16",height:"16",xlinkHref:"flaticons-v2--cross"}))};var k=c.default.div.withConfig({displayName:"Overlay",componentId:"sc-1jopm0p-0"})(["position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0,0,0,.4);opacity:",";z-index:5000;"],(function(e){return e.show?.5:0})),x=c.default.div.withConfig({displayName:"Modal",componentId:"sc-1jopm0p-1"})(['position:relative;max-width:650px;display:flex;align-items:center;min-height:calc(100% - 3.5rem);height:calc(100% - 3.5rem);width:100%;margin:1.75rem auto;padding:1rem;font:400 16px/1 "ProximaNova",Helvetica,sans-serif;letter-spacing:0;color:#15374C;-webkit-font-smoothing:antialiased;pointer-events:none;z-index:5000;']),w=c.default.div.withConfig({displayName:"Box",componentId:"sc-1jopm0p-2"})(["position:relative;display:flex;flex-direction:column;width:100%;max-height:min(580px,100%);border-radius:8px;background-color:#fff;box-shadow:0px 2px 6px rgba(0,0,0,0.16),0px 4px 16px rgba(0,0,0,0.12);pointer-events:auto;"]),C=c.default.div.withConfig({displayName:"Body",componentId:"sc-1jopm0p-3"})(["display:flex;flex-direction:column;flex:1 1 auto;padding:0 24px 6px;overflow-y:auto;&:last-child{padding-bottom:16px;}@media ","{padding:0 16px 6px;&:last-child{padding-bottom:16px;}}"," "," .modal--iframe &{padding-right:0;}"],u.maxMobileL,(function(e){return e.isBodyScrollable&&"border-bottom: 1px solid #E5EBEE;"}),(function(e){return e.bodyScrollTop&&"border-top: 1px solid #E5EBEE;"})),j=c.default.footer.withConfig({displayName:"Footer",componentId:"sc-1jopm0p-4"})(["flex-shrink:0;padding:10px 24px 16px;@media ","{padding:10px 16px 16px;}"],u.maxMobileL),O=(c.default.div.withConfig({displayName:"ButtonsRow",componentId:"sc-1jopm0p-5"})(["display:flex;flex-flow:row wrap;justify-content:flex-end;margin:-5px;"]),c.default.div.withConfig({displayName:"ButtonsRowItem",componentId:"sc-1jopm0p-6"})(["padding:5px;"]),c.default.p.withConfig({displayName:"Text",componentId:"sc-1jopm0p-7"})(["margin:0;margin-bottom:0.5rem;"]),c.default.div.withConfig({displayName:"ModalWrapper",componentId:"sc-1jopm0p-8"})(["position:fixed;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;z-index:5000;box-sizing:border-box;*{box-sizing:inherit;}&:before{box-sizing:inherit;}&:after{box-sizing:inherit;}.borderTop{border-top:1px solid #E5EBEE;}.borderBottom{border-bottom:1px solid #E5EBEE;}"]));function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const A=n.forwardRef((function(e,t){var r=e.className,o=e.children,a=e.title,c=e.description,l=e.extraHeaderContent,u=e.footer,f=e.withCloseBtn,p=void 0===f||f,d=e.withOverlay,h=void 0===d||d,b=e.onClose,g=void 0===b?function(){}:b,y=S((0,n.useState)(!1),2),E=y[0],A=y[1],L=S((0,n.useState)(null),2),P=L[0],T=L[1],F=(0,n.useRef)(null),_=(0,n.useRef)(null);return(0,n.useImperativeHandle)(t,(function(){return{elements:{modal:F.current,body:_.current}}})),(0,n.useEffect)((function(){var e=function(e){"Escape"===e.key&&(e.preventDefault(),g({reason:"esc-keydown"}))};return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[g]),(0,n.useLayoutEffect)((function(){var e=new ResizeObserver((function(){_.current&&u&&(_.current.clientHeight<_.current.scrollHeight?A(!0):A(!1))}));return e.observe(_.current),function(){e.unobserve(_.current)}}),[_,u]),n.createElement(n.Fragment,null,n.createElement(s,null),n.createElement(i,null,n.createElement(O,null,n.createElement(k,{show:h,"data-react-overlay":!0,onClick:function(){g({reason:"overlay-click"})}}),n.createElement(x,{className:r,ref:F},n.createElement(w,null,n.createElement(m,{title:a,description:c,withCloseBtn:p},l,p&&n.createElement(v,{onClick:function(){g({reason:"close-btn-click"})}})),n.createElement(C,{className:"m-scrollbar rfb-components-Modal-body",bodyScrollTop:P,isBodyScrollable:E,ref:_,onScroll:function(e){T(e.target.scrollTop)}},o),u&&n.createElement(j,null,u))))))}));var L=c.default.button.withConfig({displayName:"Button",componentId:"sc-k30yql-0"})(["position:relative;display:inline-block;padding:6px 16px;box-sizing:border-box;border-radius:4px;vertical-align:middle;text-align:center;font:inherit;font-size:14px;line-height:1;white-space:nowrap;cursor:pointer;transition:border-color .2s,background-color .2s,color .2s;"," "," "," "," "," "," "," "," ",""],(function(e){return e.primary?(0,c.css)(["color:#FFFFFF;background-color:#00A3D9;border:1px solid #00A3D9;&:visited{color:#FFFFFF;}&:hover,&:focus{border-color:#00C0FF;background-color:#00C0FF;color:#FFFFFF;}&:active{border-color:#0996C5;background-color:#0996C5;color:#FFFFFF;}"]):(0,c.css)(["color:#333333;background-color:#FFFFFF;border:1px solid #D4DCE0;&:visited{color:#333333;}&:hover,&:focus{border-color:#00A3D9;background-color:#FFFFFF;}&:active{border-color:#D4DCE0;background-color:#F9FAFA;}"])}),(function(e){return e.isLoading&&(0,c.css)(["color:transparent;&:hover,&:focus,&:active{color:transparent;}"])}),(function(e){var t=e.disabled,r=e.primary;return t&&(0,c.css)(["opacity:.5;cursor:not-allowed;&:hover,&:focus{background-color:",";border-color:",";}"],r?"#00A3D9":"#FFFFFF",r?"#00A3D9":"#D4DCE0")}),(function(e){return e.noBorder&&(0,c.css)(["border:1px solid transparent;color:#00A3D9;background-color:transparent;&:hover,&:focus{border-color:#00A3D9;}&:active{border-color:#0996C5;color:#0996C5;}"])}),(function(e){return e.hasOutline&&(0,c.css)(["border:1px solid #D4DCE0;color:#333;background-color:transparent;&:hover{border-color:#BDC8CD;background-color:transparent;}&:focus{border-color:#00A3D9;background-color:transparent;}&:active{border-color:#F9FAFA;background-color:transparent;}"])}),(function(e){return e.linkType&&(0,c.css)(["padding:0;border:0;background-color:transparent;color:#0099CC;&:hover,&:active,&:focus{color:#0086B3;background-color:transparent;}"])}),(function(e){var t=e.$size;return{medium:(0,c.css)(["padding:8px 16px;"])}[t]}),(function(e){return e.text&&(0,c.css)(["display:flex;align-items:center;justify-content:center;min-height:24px;padding:4px 8px;border:0;border-radius:4px;font-weight:600;letter-spacing:0.24px;color:#2EADDF;text-align:left;background-color:transparent;transition:background-color 0.15s linear;cursor:pointer;&:hover{background-color:rgba(0,0,0,0.08);}&:active{background-color:rgba(0,0,0,0.12);}&:focus{outline:none;}&:focus-visible{outline:2px dashed #2EADDF;outline-offset:2px;}&:disabled{color:rgba(203,218,225,1);pointer-events:none;}"])}),(function(e){return e.sizeL&&(0,c.css)(["min-height:32px;padding:8px 16px;"])})),P=c.default.div.withConfig({displayName:"Loader",componentId:"sc-k30yql-1"})(["position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#FFFFFF;svg{display:block;animation:svgrotate .57s linear infinite;}@keyframes svgrotate{100%{transform:rotate(360deg);}}"]),T=["children","type","onClick","isLoading","disabled","primary","className","size"];function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},F.apply(this,arguments)}const _=function(e){var t=e.children,r=e.type,o=void 0===r?"button":r,a=e.onClick,i=e.isLoading,c=e.disabled,l=e.primary,s=e.className,u=e.size,f=void 0===u?"medium":u,p=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,T);return n.createElement(L,F({type:o||"button",onClick:a,isLoading:i,disabled:c,primary:l,className:s,$size:f},p),i&&n.createElement(P,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"svgicon flaticon flaticon--preloader",width:"14",height:"14"},n.createElement("use",{xlinkHref:"#flaticon--preloader"}))),t)};var M=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter(Boolean).join(" ")},N=c.default.a.withConfig({displayName:"Userhead",componentId:"sc-7u2ddd-0"})([""]),I=c.default.a.withConfig({displayName:"Username",componentId:"sc-7u2ddd-1"})([""]),D=c.default.span.withConfig({displayName:"LjUser",componentId:"sc-7u2ddd-2"})(["","{margin-right:4px !important;}"],N);function $(e){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$(e)}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function U(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?B(Object(r),!0).forEach((function(t){var n,o,a;n=e,o=t,a=r[t],(o=function(e){var t=function(e){if("object"!==$(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==$(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===$(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var R,H,J=c.default.p.withConfig({displayName:"Text",componentId:"sc-1sdxlvk-0"})(['margin:0 !important;margin-bottom:12px !important;padding:0 !important;font:400 16px/1.4 "ProximaNova",Helvetica,sans-serif !important;color:#000000 !important;-webkit-font-smoothing:antialiased;span{margin-right:5px;}']),q=(0,c.default)((function(e){var t,r=e.className,o=e.linksTarget,a=void 0===o?"_self":o,i=e.noCtxPopup,c=void 0===i||i,l=e.userData,s=l.username,u=l.userheadUrl,f=l.displayName,p=l.displayUsername,d=l.profileUrl,m=l.journalUrl,h=l.journalType,b=l.isInvisible,g=U({as:d?"a":"span",className:"i-ljuser-profile"},d?{href:d,target:a}:{}),y=U({as:m?"a":"span",className:"i-ljuser-username"},m?{href:m,target:a,title:p}:{});return n.createElement(D,{className:M(["ljuser","i-ljuser",h&&"i-ljuser-type-".concat(h),b&&"i-ljuser-deleted"].concat((t=c?["i-ljuser-nopopup","noctxpopup"]:[],function(e){if(Array.isArray(e))return z(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return z(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?z(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[r])),"data-ljuser":s},u&&n.createElement(N,g,n.createElement("img",{className:"i-ljuser-userhead",src:u})),n.createElement(I,y,f||p))})).withConfig({displayName:"LjUser",componentId:"sc-1sdxlvk-1"})(['font-weight:inherit !important;text-transform:inherit !important;-webkit-font-smoothing:antialiased;.i-ljuser-profile{display:inline-flex;transform:translateY(2px);text-decoration:none !important;background-color:transparent !importnat;}.i-ljuser-username{font:400 16px/1.4 "ProximaNova",Helvetica,sans-serif !important;color:#00A3D9 !important;text-decoration:none !important;background-color:transparent !importnat;&:visited{color:#00A3D9 !important;}&:hover,&:active,&:focus{color:#0086B3 !important;}}']),G=c.default.input.withConfig({displayName:"Input",componentId:"sc-1sdxlvk-2"})(["margin-bottom:8px;"]),W=c.default.p.withConfig({displayName:"Description",componentId:"sc-1sdxlvk-3"})(['margin:0 !important;padding:0 !important;font:400 14px/1.4 "ProximaNova",Helvetica,sans-serif !important;color:#7A9199 !important;-webkit-font-smoothing:antialiased;']),Y=c.default.div.withConfig({displayName:"Footer",componentId:"sc-1sdxlvk-4"})(["display:flex;flex-flow:row wrap;justify-content:right;"]),V=c.default.a.withConfig({displayName:"FooterLink",componentId:"sc-1sdxlvk-5"})(['border:0 !important;font:400 14px/1.4 "ProximaNova",Helvetica,sans-serif !important;color:#00A3D9 !important;text-decoration:none !important;background-color:transparent !importnat;-webkit-font-smoothing:antialiased;&:visited{color:#00A3D9 !important;}&:hover,&:active,&:focus{color:#0086B3 !important;}']),X=c.default.div.withConfig({displayName:"FooterButtonWrap",componentId:"sc-1sdxlvk-6"})(["display:flex;justify-content:right;gap:24px;"]);function K(e){return K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},K(e)}function Z(){Z=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),c=new P(n||[]);return o(i,"_invoke",{value:S(e,r,c)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",d="suspendedYield",m="executing",h="completed",b={};function g(){}function y(){}function v(){}var k={};s(k,i,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(T([])));w&&w!==r&&n.call(w,i)&&(k=w);var C=v.prototype=g.prototype=Object.create(k);function j(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(o,a,i,c){var l=f(e[o],e,a);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==K(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(u).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function S(t,r,n){var o=p;return function(a,i){if(o===m)throw new Error("Generator is already running");if(o===h){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var l=E(c,n);if(l){if(l===b)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var s=f(t,r,n);if("normal"===s.type){if(o=n.done?h:d,s.arg===b)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=h,n.method="throw",n.arg=s.arg)}}}function E(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var a=f(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,b;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(K(t)+" is not iterable")}return y.prototype=v,o(C,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:y,configurable:!0}),y.displayName=s(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,l,"GeneratorFunction")),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},j(O.prototype),s(O.prototype,c,(function(){return this})),t.AsyncIterator=O,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new O(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},j(C),s(C,l,"Generator"),s(C,i,(function(){return this})),s(C,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=T,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,b):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},t}function Q(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function te(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(r),!0).forEach((function(t){var n,o,a;n=e,o=t,a=r[t],(o=function(e){var t=function(e){if("object"!==K(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==K(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===K(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ee(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ne(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ne(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var oe=null!==(R=null===(H=Site.remote)||void 0===H?void 0:H.balance)&&void 0!==R?R:0,ae=Math.min(100,oe),ie=function(e){var t=Math.min(e,oe);return{giftTokens:t,afterTokens:oe-t,commission:Math.max(1,Math.ceil(.05*t))}},ce=ie(ae),le=LJ.ml("modal.gift_token.message.warning.insufficient_tokens"),se=oe<2?le:LJ.ml("modal.gift_token.clue",{commission:ce.commission,token:ce.afterTokens}),ue=LJ.ml("modal.gift_token.message.warning.zero_amount"),fe=LJ.ml("modal.gift_token.message.warning.too_small_amount",{minimal_transfer:2});const pe=function(){var e=re((0,n.useState)({}),2),t=e[0],r=e[1],o=re((0,n.useState)(!1),2),a=o[0],i=o[1],c=re((0,n.useState)(!1),2),l=c[0],s=c[1],u=re((0,n.useState)(se),2),f=u[0],p=u[1],d=re((0,n.useState)(te({currentTokens:oe},ce)),2),m=d[0],h=d[1],b=LJ.ml("modal.gift_token.clue",{commission:m.commission,token:m.afterTokens});if((0,n.useEffect)((function(){LJ.Components.TokenModal.setUserData=function(e){r(e)}}),[]),(0,n.useEffect)((function(){LJ.Components.TokenModal.show=function(){i(!0)}}),[]),(0,n.useEffect)((function(){var e="calculationsMessage";oe<2?e="insufficientTokensMessage":0===m.giftTokens?e="zeroAmountMessage":m.giftTokens<2&&(e="tooSmallAmountMessage"),p({insufficientTokensMessage:le,calculationsMessage:b,zeroAmountMessage:ue,tooSmallAmountMessage:fe}[e])}),[m.giftTokens,b]),!a)return null;var g=function(){i(!1),s(!1)},y=function(){var e,r=(e=Z().mark((function e(){var r,n,o;return Z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,LJ.Api.callP("shop.buy_tokens",{recipient:t.username,amount:m.giftTokens}).catch((function(e){return{error:e}}));case 2:if(!(r=e.sent).error){e.next=7;break}return LJ.Messages.add({type:"error",body:r.error.message}),g(),e.abrupt("return");case 7:LJ.Messages.add({type:"success",body:LJ.ml("modal.gift_token.message.success")}),(n=LJ.Messages.get()[0])&&setTimeout((function(){LJ.Messages.remove(n)}),5e3),o=m.afterTokens,h((function(e){return te(te({},e),{},{giftTokens:100,commission:5,currentTokens:o})})),g();case 13:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){Q(a,n,o,i,c,"next",e)}function c(e){Q(a,n,o,i,c,"throw",e)}i(void 0)}))});return function(){return r.apply(this,arguments)}}(),v=n.createElement(Y,null,l?n.createElement(X,null,n.createElement(_,{type:"button",onClick:function(){return s(!1)},sizeL:!0},LJ.ml("modal.gift_token.button.back")),n.createElement(_,{type:"button",onClick:y,primary:!0,sizeL:!0,disabled:m.giftTokens<2},LJ.ml("modal.gift_token.button.send"))):n.createElement(n.Fragment,null,m.currentTokens<2?n.createElement(V,{href:"".concat(Site.siteroot,"/shop/tokens.bml"),target:"_self"},LJ.ml("modal.gift_token.buy")):n.createElement(_,{type:"button",onClick:function(){return s(!0)},primary:!0,sizeL:!0,disabled:m.giftTokens<2},LJ.ml("modal.gift_token.button"))));return n.createElement(A,{title:LJ.ml("modal.gift_token.title"),onClose:function(){g()},footer:v},l?n.createElement(n.Fragment,null,n.createElement(J,null,n.createElement("span",null,LJ.ml("modal.gift_token.suggestion.popup.text",{value:m.giftTokens})),n.createElement(q,{userData:{username:Site.journal.display_username,userheadUrl:Site.journal.userhead_url,displayUsername:Site.journal.display_username,profileUrl:Site.journal.profile_url,journalUrl:Site.journal.journal_url}})),n.createElement(W,null,LJ.ml("modal.gift_token.suggestion.popup.text.hint",{commission:m.commission,token:m.afterTokens}))):n.createElement(n.Fragment,null,n.createElement(J,null,n.createElement("span",null,LJ.ml("modal.gift_token.text")),n.createElement(q,{userData:{username:Site.journal.display_username,userheadUrl:Site.journal.userhead_url,displayUsername:Site.journal.display_username,profileUrl:Site.journal.profile_url,journalUrl:Site.journal.journal_url}})),n.createElement(G,{autoFocus:!0,type:"number",className:"lightinput lightinput--big",value:m.giftTokens,onChange:function(e){if(!(e.target.value<0)){var t=ie(+e.target.value);h((function(e){return te(te({},e),t)}))}},onKeyDown:function(e){"e"!==e.key&&","!==e.key||e.preventDefault(),"Enter"===e.key&&m.giftTokens>=2&&m.giftTokens<=m.currentTokens&&s(!0)},min:"0",max:m.currentTokens,disabled:m.currentTokens<2}),n.createElement(W,{dangerouslySetInnerHTML:{__html:f}})))};LJ.define("LJ.Components.TokenModal"),LJ.Util.DOM.initPromise.then((function(){if(Site.remote){var e=document.createElement("div");e.dataset.tokenModalComp="",document.body.appendChild(e),(0,o.H)(e).render(n.createElement(pe,null))}}))},4146:(e,t,r)=>{"use strict";var n=r(44363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function l(e){return n.isMemo(e)?i:c[e.$$typeof]||o}c[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[n.Memo]=i;var s=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var o=d(r);o&&o!==m&&e(t,o,n)}var i=u(r);f&&(i=i.concat(f(r)));for(var c=l(t),h=l(r),b=0;b<i.length;++b){var g=i[b];if(!(a[g]||n&&n[g]||h&&h[g]||c&&c[g])){var y=p(r,g);try{s(t,g,y)}catch(e){}}}}return t}},7463:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(!(0<a(o,t)))break e;e[n]=t,e[r]=o,r=n}}function n(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,i=o>>>1;n<i;){var c=2*(n+1)-1,l=e[c],s=c+1,u=e[s];if(0>a(l,r))s<o&&0>a(u,l)?(e[n]=u,e[s]=r,n=s):(e[n]=l,e[c]=r,n=c);else{if(!(s<o&&0>a(u,r)))break e;e[n]=u,e[s]=r,n=s}}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var c=Date,l=c.now();t.unstable_now=function(){return c.now()-l}}var s=[],u=[],f=1,p=null,d=3,m=!1,h=!1,b=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function k(e){for(var t=n(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,r(s,t)}t=n(u)}}function x(e){if(b=!1,k(e),!h)if(null!==n(s))h=!0,_(w);else{var t=n(u);null!==t&&M(x,t.startTime-e)}}function w(e,r){h=!1,b&&(b=!1,y(S),S=-1),m=!0;var a=d;try{for(k(r),p=n(s);null!==p&&(!(p.expirationTime>r)||e&&!L());){var i=p.callback;if("function"==typeof i){p.callback=null,d=p.priorityLevel;var c=i(p.expirationTime<=r);r=t.unstable_now(),"function"==typeof c?p.callback=c:p===n(s)&&o(s),k(r)}else o(s);p=n(s)}if(null!==p)var l=!0;else{var f=n(u);null!==f&&M(x,f.startTime-r),l=!1}return l}finally{p=null,d=a,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,j=!1,O=null,S=-1,E=5,A=-1;function L(){return!(t.unstable_now()-A<E)}function P(){if(null!==O){var e=t.unstable_now();A=e;var r=!0;try{r=O(!0,e)}finally{r?C():(j=!1,O=null)}}else j=!1}if("function"==typeof v)C=function(){v(P)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,F=T.port2;T.port1.onmessage=P,C=function(){F.postMessage(null)}}else C=function(){g(P,0)};function _(e){O=e,j||(j=!0,C())}function M(e,r){S=g((function(){e(t.unstable_now())}),r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){h||m||(h=!0,_(w))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return n(s)},t.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var r=d;d=t;try{return e()}finally{d=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=d;d=e;try{return t()}finally{d=r}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,e){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return e={id:f++,callback:o,priorityLevel:e,startTime:a,expirationTime:c=a+c,sortIndex:-1},a>i?(e.sortIndex=a,r(u,e),null===n(s)&&e===n(u)&&(b?(y(S),S=-1):b=!0,M(x,a-i))):(e.sortIndex=c,r(s,e),h||m||(h=!0,_(w))),e},t.unstable_shouldYield=L,t.unstable_wrapCallback=function(e){var t=d;return function(){var r=d;d=t;try{return e.apply(this,arguments)}finally{d=r}}}},8887:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){function t(e,n,l,s,p){for(var d,m,h,b,k,w=0,C=0,j=0,O=0,S=0,F=0,M=h=d=0,I=0,D=0,$=0,z=0,B=l.length,U=B-1,R="",H="",J="",q="";I<B;){if(m=l.charCodeAt(I),I===U&&0!==C+O+j+w&&(0!==C&&(m=47===C?10:47),O=j=w=0,B++,U++),0===C+O+j+w){if(I===U&&(0<D&&(R=R.replace(f,"")),0<R.trim().length)){switch(m){case 32:case 9:case 59:case 13:case 10:break;default:R+=l.charAt(I)}m=59}switch(m){case 123:for(d=(R=R.trim()).charCodeAt(0),h=1,z=++I;I<B;){switch(m=l.charCodeAt(I)){case 123:h++;break;case 125:h--;break;case 47:switch(m=l.charCodeAt(I+1)){case 42:case 47:e:{for(M=I+1;M<U;++M)switch(l.charCodeAt(M)){case 47:if(42===m&&42===l.charCodeAt(M-1)&&I+2!==M){I=M+1;break e}break;case 10:if(47===m){I=M+1;break e}}I=M}}break;case 91:m++;case 40:m++;case 34:case 39:for(;I++<U&&l.charCodeAt(I)!==m;);}if(0===h)break;I++}if(h=l.substring(z,I),0===d&&(d=(R=R.replace(u,"").trim()).charCodeAt(0)),64===d){switch(0<D&&(R=R.replace(f,"")),m=R.charCodeAt(1)){case 100:case 109:case 115:case 45:D=n;break;default:D=T}if(z=(h=t(n,D,h,m,p+1)).length,0<_&&(k=c(3,h,D=r(T,R,$),n,A,E,z,m,p,s),R=D.join(""),void 0!==k&&0===(z=(h=k.trim()).length)&&(m=0,h="")),0<z)switch(m){case 115:R=R.replace(x,i);case 100:case 109:case 45:h=R+"{"+h+"}";break;case 107:h=(R=R.replace(g,"$1 $2"))+"{"+h+"}",h=1===P||2===P&&a("@"+h,3)?"@-webkit-"+h+"@"+h:"@"+h;break;default:h=R+h,112===s&&(H+=h,h="")}else h=""}else h=t(n,r(n,R,$),h,s,p+1);J+=h,h=$=D=M=d=0,R="",m=l.charCodeAt(++I);break;case 125:case 59:if(1<(z=(R=(0<D?R.replace(f,""):R).trim()).length))switch(0===M&&(d=R.charCodeAt(0),45===d||96<d&&123>d)&&(z=(R=R.replace(" ",":")).length),0<_&&void 0!==(k=c(1,R,n,e,A,E,H.length,s,p,s))&&0===(z=(R=k.trim()).length)&&(R="\0\0"),d=R.charCodeAt(0),m=R.charCodeAt(1),d){case 0:break;case 64:if(105===m||99===m){q+=R+l.charAt(I);break}default:58!==R.charCodeAt(z-1)&&(H+=o(R,d,m,R.charCodeAt(2)))}$=D=M=d=0,R="",m=l.charCodeAt(++I)}}switch(m){case 13:case 10:47===C?C=0:0===1+d&&107!==s&&0<R.length&&(D=1,R+="\0"),0<_*N&&c(0,R,n,e,A,E,H.length,s,p,s),E=1,A++;break;case 59:case 125:if(0===C+O+j+w){E++;break}default:switch(E++,b=l.charAt(I),m){case 9:case 32:if(0===O+w+C)switch(S){case 44:case 58:case 9:case 32:b="";break;default:32!==m&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===O+C+w&&(D=$=1,b="\f"+b);break;case 108:if(0===O+C+w+L&&0<M)switch(I-M){case 2:112===S&&58===l.charCodeAt(I-3)&&(L=S);case 8:111===F&&(L=F)}break;case 58:0===O+C+w&&(M=I);break;case 44:0===C+j+O+w&&(D=1,b+="\r");break;case 34:case 39:0===C&&(O=O===m?0:0===O?m:O);break;case 91:0===O+C+j&&w++;break;case 93:0===O+C+j&&w--;break;case 41:0===O+C+w&&j--;break;case 40:0===O+C+w&&(0===d&&(2*S+3*F==533||(d=1)),j++);break;case 64:0===C+j+O+w+M+h&&(h=1);break;case 42:case 47:if(!(0<O+w+j))switch(C){case 0:switch(2*m+3*l.charCodeAt(I+1)){case 235:C=47;break;case 220:z=I,C=42}break;case 42:47===m&&42===S&&z+2!==I&&(33===l.charCodeAt(z+2)&&(H+=l.substring(z,I+1)),b="",C=0)}}0===C&&(R+=b)}F=S,S=m,I++}if(0<(z=H.length)){if(D=n,0<_&&void 0!==(k=c(2,H,D,e,A,E,z,s,p,s))&&0===(H=k).length)return q+H+J;if(H=D.join(",")+"{"+H+"}",0!==P*L){switch(2!==P||a(H,2)||(L=0),L){case 111:H=H.replace(v,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}L=0}}return q+H+J}function r(e,t,r){var o=t.trim().split(h);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var c=0;for(e=0===i?"":e[0]+" ";c<a;++c)t[c]=n(e,t[c],r).trim();break;default:var l=c=0;for(t=[];c<a;++c)for(var s=0;s<i;++s)t[l++]=n(e[s]+" ",o[c],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,r,n){var i=e+";",c=2*t+3*r+4*n;if(944===c){e=i.indexOf(":",9)+1;var l=i.substring(e,i.length-1).trim();return l=i.substring(0,e).trim()+l+";",1===P||2===P&&a(l,1)?"-webkit-"+l+l:l}if(0===P||2===P&&!a(i,1))return i;switch(c){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(S,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(l=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+l+i;case 1005:return d.test(i)?i.replace(p,":-webkit-")+i.replace(p,":-moz-")+i:i;case 1e3:switch(t=(l=i.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=i.replace(k,"tb");break;case 232:l=i.replace(k,"tb-rl");break;case 220:l=i.replace(k,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+l+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,c=(l=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:i=i.replace(l,"-webkit-"+l)+";"+i;break;case 207:case 102:i=i.replace(l,"-webkit-"+(102<c?"inline-":"")+"box")+";"+i.replace(l,"-webkit-"+l)+";"+i.replace(l,"-ms-"+l+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return l=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+l+"-ms-flex-"+l+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(C,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(C,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===O.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):i.replace(l,"-webkit-"+l)+i.replace(l,"-moz-"+l.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+n&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+i}return i}function a(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),M(2!==t?n:n.replace(j,"$1"),r,t)}function i(e,t){var r=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(w," or ($1)").substring(4):"("+t+")"}function c(e,t,r,n,o,a,i,c,l,u){for(var f,p=0,d=t;p<_;++p)switch(f=F[p].call(s,e,d,r,n,o,a,i,c,l,u)){case void 0:case!1:case!0:case null:break;default:d=f}if(d!==t)return d}function l(e){return void 0!==(e=e.prefix)&&(M=null,e?"function"!=typeof e?P=1:(P=2,M=e):P=0),l}function s(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<_){var o=c(-1,r,n,n,A,E,0,0,0,0);void 0!==o&&"string"==typeof o&&(r=o)}var a=t(T,n,r,0,0);return 0<_&&void 0!==(o=c(-2,a,n,n,A,E,a.length,0,0,0))&&(a=o),L=0,E=A=1,a}var u=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,m=/([,: ])(transform)/g,h=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,v=/:(read-only)/g,k=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,C=/-self|flex-/g,j=/[^]*?(:[rp][el]a[\w-]+)[^]*/,O=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,E=1,A=1,L=0,P=1,T=[],F=[],_=0,M=null,N=0;return s.use=function e(t){switch(t){case void 0:case null:_=F.length=0;break;default:if("function"==typeof t)F[_++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else N=0|!!t}return e},s.set=l,void 0!==e&&l(e),s}},22799:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,k=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case f:case a:case c:case i:case d:return e;default:switch(e=e&&e.$$typeof){case s:case p:case b:case h:case l:return e;default:return t}}case o:return t}}}function w(e){return x(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=s,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=a,t.Lazy=b,t.Memo=h,t.Portal=o,t.Profiler=c,t.StrictMode=i,t.Suspense=d,t.isAsyncMode=function(e){return w(e)||x(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return x(e)===s},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===b},t.isMemo=function(e){return x(e)===h},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===c},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===c||e===i||e===d||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===h||e.$$typeof===l||e.$$typeof===s||e.$$typeof===p||e.$$typeof===y||e.$$typeof===v||e.$$typeof===k||e.$$typeof===g)},t.typeOf=x},39316:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const o=function(){var e=Object.create(null);return function(t){return void 0===e[t]&&(e[t]=(r=t,n.test(r)||111===r.charCodeAt(0)&&110===r.charCodeAt(1)&&r.charCodeAt(2)<91)),e[t];var r}}()},44363:(e,t,r)=>{"use strict";e.exports=r(22799)},69982:(e,t,r)=>{"use strict";e.exports=r(7463)}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.m=t,e=[],n.O=(t,r,o,a)=>{if(!r){var i=1/0;for(u=0;u<e.length;u++){for(var[r,o,a]=e[u],c=!0,l=0;l<r.length;l++)(!1&a||i>=a)&&Object.keys(n.O).every((e=>n.O[e](r[l])))?r.splice(l--,1):(c=!1,a<i&&(i=a));if(c){e.splice(u--,1);var s=o();void 0!==s&&(t=s)}}return t}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[r,o,a]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={593:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var o,a,[i,c,l]=r,s=0;if(i.some((t=>0!==e[t]))){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);if(l)var u=l(n)}for(t&&t(r);s<i.length;s++)a=i[s],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return n.O(u)},r=self.webpackChunkfrontend_bundled=self.webpackChunkfrontend_bundled||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0;var o=n.O(void 0,[35],(()=>n(3969)));o=n.O(o)})();
/* <<< file end: js/front-bundled/dist/tokenModal.js */

//# map link was there [tokenModal.js.map]
/* >>> file start: js/components/controlStrip/index.js */
//= require js/front-bundled/dist/tokenModal.js
//= require js/misc/proBadge.js
!function(n){return n}(),function(){LJ.Util.DOM.initPromise.then(function(){var n=Array.from(document.querySelectorAll(".js--token-button"));n.forEach(function(n){n.addEventListener("click",function(n){n.preventDefault(),LJ.Components.TokenModal.setUserData({username:LJ.get("journal.username")}),LJ.Components.TokenModal.show({anchorNode:n.target})})})})}();
/* <<< file end: js/components/controlStrip/index.js */

//# map link was there [index.js.map]
/* >>> file start: js/old/ljwidget.js */
window.LJWidget=new Class(Object,{updateContent:function(t){t||(t={}),this._show_frame=t.showFrame,t.method&&(method=t.method),t._widget_update=1,this.doAjaxRequest(t)&&this.hilightFrame()},getWidget:function(){return $(this.widgetId)},doPost:function(t){t||(t={}),this._show_frame=t.showFrame;var e={},i=this.widgetClass;i="Widget["+i.replace(/::/g,"_")+"]_";for(var a in t){var r=a;a.match(/^Widget\[/)||"lj_form_auth"==a||a.match(/^_widget/)||(r=i+a),e[r]=t[a]}e._widget_post=1,this.doAjaxRequest(e)},doPostAndUpdateContent:function(t){t||(t={}),t._widget_update=1,this.doPost(t)},postForm:function(t){if(!t)return!1;for(var e={},i=0;i<t.elements.length;i++){var a=t.elements[i],r=a.name,o=a.value;e[r]=o}this.doPost(e)},init:function(t,e,i){LJWidget.superClass.init.apply(this,arguments),this.widgetId=t,this.widgetClass=e,this.authToken=i},hilightFrame:function(){if(1==this._show_frame&&!this._frame){var t=this.getWidget();if(t){var e=t.parentNode;if(e){var i=document.createElement("fieldset");i.style.borderColor="red";var a=document.createElement("legend");a.innerHTML="Updating...",i.appendChild(a),e.appendChild(i),i.appendChild(t),this._frame=i}}}},removeHilightFrame:function(){if(1==this._show_frame){var t=this.getWidget();if(t&&this._frame){var e=this._frame.parentNode;e&&(e.appendChild(t),e.removeChild(this._frame),this._frame=null)}}},method:"POST",endpoint:"widget",requestParams:{},doAjaxRequest:function(t){if(t||(t={}),this._ajax_updating)return!1;this._ajax_updating=!0,t._widget_id=this.widgetId,t._widget_class=this.widgetClass,t.auth_token=this.authToken,$("_widget_authas")&&(t.authas=$("_widget_authas").value);var e={method:this.method,data:HTTPReq.formEncoded(t),url:LiveJournal.getAjaxUrl(this.endpoint),onData:this.ajaxDone.bind(this),onError:this.ajaxError.bind(this)};for(var i in t)e[i]=t[i];return HTTPReq.getJSON(e),!0},ajaxDone:function(t){if(this._ajax_updating=!1,this.removeHilightFrame(),t._widget_body&&t._widget_body.match(/ajax:.[^"]+/)&&(this.authToken=t._widget_body.match(/ajax:.[^"]+/)[0]),t.auth_token&&(this.authToken=t.auth_token),t.errors&&""!=t.errors)return this.ajaxError(t.errors);if(t.error)return this.ajaxError(t.error);if(this.onData&&this.onData(t),t._widget_body){var e=this.getWidget();if(!e)return;e.innerHTML=t._widget_body,this.onRefresh&&this.onRefresh()}},ajaxError:function(t){this._ajax_updating=!1,this.skipError||(this.onError?this.onError(t):LiveJournal.ajaxError(t))}}),LJWidget.widgets=[];
/* <<< file end: js/old/ljwidget.js */

//# map link was there [ljwidget.js.map]
/* >>> file start: js/deprecated/dom.js */
function _textSpan(){return _textElements("span",arguments)}function _textDiv(){return _textElements("div",arguments)}function _textElements(t,e){for(var n=[],r=0;r<e.length;r++){var u=document.createElement(t);u.textContent=e[r],n.push(u)}return 1==n.length?n[0]:n}
/* <<< file end: js/deprecated/dom.js */

//# map link was there [dom.js.map]
/* >>> file start: js/old/ippu.js */
function changeOpac(e,t){var i=$(e);if(i&&i.style){var s=i.style;s&&(IPPU.isSafari()&&t>=100&&(t=99.99),s.filters&&(s.filters.alpha.opacity=100*t),s.opacity=t)}}window.IPPU=new Class(Object,{setFixedPosition:function(e){IPPU.isIE()||(this.fixedPosition=e,this.updateContent())},clickHandler:function(e){if(this.clickToClose&&this.visible()){e=Event.prep(e);var t=e.target;DOM.getAncestorsByClassName(t,"ippu",!0).length>0||this.cancel()}},setCancelledCallback:function(e){this.cancelledCallback=e},cancel:function(){this.cancelledCallback&&this.cancelledCallback(),this.hide()},setHiddenCallback:function(e){this.hiddenCallback=e},setupClickCapture:function(){if(this.visible()&&!this.clickHandlerSetup&&(this.clickToClose||this.modal)){if(this.clickHandlerFunc=this.clickHandler.bindEventListener(this),this.modal){if(this.overlay)return;this.overlay=document.createElement("div"),this.overlay.style.left="0px",this.overlay.style.top="0px",this.overlay.style.margin="0px",this.overlay.style.padding="0px",this.overlay.style.backgroundColor="#000000",this.overlay.style.zIndex="900",IPPU.isIE()?(this.overlay.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=50)",this.overlay.style.position="absolute",this.overlay.style.width=document.body.scrollWidth,this.overlay.style.height=document.body.scrollHeight):this.overlay.style.position="fixed",this.ele.parentNode.insertBefore(this.overlay,this.ele),this.updateOverlay(),DOM.addEventListener(this.overlay,"click",this.clickHandlerFunc)}else DOM.addEventListener(document,"click",this.clickHandlerFunc);this.clickHandlerSetup=!0}},updateOverlay:function(){if(this.overlay){var e=DOM.getClientDimensions();this.overlay.style.width=e.x-1+"px",IPPU.isIE()||(this.overlay.style.height=e.y-1+"px"),this.visibleOverlay?(this.overlay.backgroundColor="#000000",changeOpac(this.overlay,.5)):(this.overlay.backgroundColor="#FFFFFF",changeOpac(this.overlay,0))}},resizeHandler:function(e){this.updateContent()},removeClickHandlers:function(){if(this.clickHandlerSetup){DOM.removeEventListener(document,"click",this.clickHandlerFunc,!1),this.overlay&&(DOM.removeEventListener(this.overlay,"click",this.clickHandlerFunc,!0),this.overlay.parentNode.removeChild(this.overlay),this.overlay=void 0),this.clickHandlerFunc=void 0,this.clickHandlerSetup=!1}},setClickToClose:function(e){if(this.clickToClose=e,!this.clickHandlerSetup&&e&&this.visible()){var t=this.setupClickCapture.bind(this);window.setTimeout(t,100)}else!e&&this.clickHandlerSetup&&this.removeClickHandlers();this.updateContent()},setModal:function(e){var t=this.modal==e;e&&this.setClickToClose(!1),this.modal=e,t&&(this.removeClickHandlers(),this.updateContent())},setOverlayVisible:function(e){this.visibleOverlay=e,this.updateContent()},updateContent:function(){this.autoCenter(),this.updateTitlebar(),this.updateOverlay(),this.titlebar&&this.setTitlebarClass(this.titlebar.className);var e=this.setupClickCapture.bind(this);window.setTimeout(e,100),this.fixedPosition&&"fixed"!=this.ele.style.position?this.ele.style.position="fixed":this.fixedPosition||"fixed"!=this.ele.style.position||(this.ele.style.position="absolute")},getTitlebarElement:function(){return this.titlebar},setTitlebarClass:function(e){this.titlebar&&(this.titlebar.className=e)},setOverflow:function(e){this.ele&&(this.ele.style.overflow=e)},visible:function(){return this.shown},setTitlebar:function(e){if(this.showTitlebar=e,e){if(!this.titlebar){var t=document.createElement("div");if(!t)return;t.style.width="100%",this.title&&(t.innerHTML=this.title),this.ele.insertBefore(t,this.content),this.titlebar=t}}else this.titlebar&&(this.ele.removeChild(this.titlebar),this.titlebar=!1)},setTitle:function(e){this.title=e,this.updateTitlebar()},updateTitlebar:function(){this.showTitlebar&&this.titlebar&&this.title!=this.titlebar.innerHTML&&(this.titlebar.innerHTML=this.title)},addClass:function(e){DOM.addClassName(this.ele,e)},removeClass:function(e){DOM.removeClassName(this.ele,e)},setAutoCenterCallback:function(e){this.autoCenterCallback=e},autoCenter:function(){if(this.visible&&this.visible()){if(this.autoCenterCallback)return void this.autoCenterCallback(this);this.autoCenterX&&this.centerX(),this.autoCenterY&&this.centerY()}},center:function(){this.centerX(),this.centerY()},centerOnWidget:function(e,t,i){t=t||0,i=i||0,this.setAutoCenter(!1,!1),this.setAutoCenterCallback(null);var s=DOM.getAbsoluteDimensions(e),n=DOM.getAbsoluteDimensions(this.ele),l=s.absoluteRight-s.offsetWidth/2-n.offsetWidth/2+i,o=s.absoluteBottom-s.offsetHeight/2-n.offsetHeight/2+t;l=0>l?0:l,o=0>o?0:o,DOM.setLeft(this.ele,l),DOM.setTop(this.ele,o)},centerX:function(){if(this.visible&&this.visible()){var e=DOM.getClientDimensions(),t=e.x/2-this.ele.offsetWidth/2;if(!this.fixedPosition){var i=DOM.getWindowScroll();t+=i.left}DOM.setLeft(this.ele,t)}},centerY:function(){if(this.visible&&this.visible()){var e=DOM.getClientDimensions(),t=e.y/2-this.ele.offsetHeight/2;if(!this.fixedPosition){var i=DOM.getWindowScroll();t+=i.top}DOM.setTop(this.ele,t)}},setAutoCenter:function(e,t){return this.autoCenterX=e||!1,this.autoCenterY=t||!1,e||t?void this.autoCenter():void this.setAutoCenterCallback(null)},setDimensions:function(e,t){e+="",t+="",e.match(/^\d+$/)&&(e+="px"),t.match(/^\d+$/)&&(t+="px"),this.ele.style.width=e,this.ele.style.height=t},moveForward:function(e){e||(e=1),this.ele&&(this.ele.style.zIndex+=e)},moveBackward:function(e){e||(e=1),this.ele&&(this.ele.style.zIndex-=e)},setLocation:function(e,t){this.setLeft(e),this.setTop(t)},setTop:function(e){"string"!=typeof e&&(e+="px"),this.ele.style.top=e},setLeft:function(e){"string"!=typeof e&&(e+="px"),this.ele.style.left=e},getElement:function(){return this.ele},setContent:function(e){this.content.innerHTML=e},setContentElement:function(e){for(;this.content.firstChild;)this.content.removeChild(this.content.firstChild);!function(e){return e}(),this.content.appendChild(e)},setFadeIn:function(e){this.fadeIn=e},setFadeOut:function(e){this.fadeOut=e},setFadeSpeed:function(e){this.fadeSpeed=e},show:function(){if(this.shown=!0,this.fadeIn){var e=.01;changeOpac(this.ele,e)}document.body.appendChild(this.ele),this.ele.style.position="absolute",(this.autoCenterX||this.autoCenterY)&&this.center(),this.updateContent(),this.resizeHandlerFunc||(this.resizeHandlerFunc=this.resizeHandler.bindEventListener(this),DOM.addEventListener(window,"resize",this.resizeHandlerFunc,!1)),this.fadeIn&&this.fade("in"),this.hideSelects()},fade:function e(t,i){var s,n,l=10;if("in"==t)n=1/l,s=.1;else{if(this.ele.style.opacity){var o=parseFloat(this.ele.style.opacity);s=isFinite(o)?o:0}else s=.99;n=-1/l}var a=this.fadeSpeed;a||(a=1);var h=l/a*5;this.fadeMode=t;var r=this,e=function c(){return s+=n,r.fadeMode&&r.fadeMode!=t?void(i&&i.call(r,[])):.1>=s?(i&&i.call(r,[]),void(r.fadeMode=null)):s>=1?(i&&i.call(r,[]),void(r.fadeMode=null)):(changeOpac(r.ele,s),void window.setTimeout(c,h))};e()},hide:function(){this.visible()&&(this.fadeOut&&this.ele?this.fade("out",this._hide.bind(this)):this._hide())},_hide:function(){this.hiddenCallback&&this.hiddenCallback(),this.shown=!1,this.removeClickHandlers(),this.ele&&document.body.removeChild(this.ele),this.resizeHandlerFunc&&DOM.removeEventListener(window,"resize",this.resizeHandlerFunc),this.showSelects()},setAutoHideSelects:function(e){this.autoHideSelects=e,this.updateContent()},hideSelects:function(){if(this.autoHideSelects&&IPPU.isIE())for(var e,t=document.getElementsByTagName("select"),i=0;i<t.length;i++)e=t[i],e&&(DOM.getAncestorsByClassName(e,"ippu",!0).length>0||"hidden"!=e.style.visibility&&(e.style.visibility="hidden",this.hiddenSelects.push(e)))},showSelects:function(){if(this.autoHideSelects)for(var e;e=this.hiddenSelects.pop();)e.style.visibility=""},init:function(e){var t=document.createElement("div");this.ele=t,this.shown=!1,this.autoCenterX=!1,this.autoCenterY=!1,this.titlebar=null,this.title="",this.showTitlebar=!1,this.clickToClose=!1,this.modal=!1,this.clickHandlerSetup=!1,this.docOverlay=!1,this.visibleOverlay=!1,this.clickHandlerFunc=!1,this.resizeHandlerFunc=!1,this.fixedPosition=!1,this.autoCenterCallback=null,this.cancelledCallback=null,this.autoHideSelects=!1,this.hiddenCallback=null,this.fadeOut=!1,this.fadeIn=!1,this.hiddenSelects=[],this.fadeMode=null,t.style.position="absolute",t.style.top=0,t.style.zIndex="1000",DOM.addClassName(t,"ippu"),this.content=document.createElement("div"),this.content.innerHTML=e,this.ele.appendChild(this.content)}}),IPPU.center=function(e){e.centerX(),e.centerY()},IPPU.centerX=function(e){e.centerX()},IPPU.centerY=function(e){e.centerY()},IPPU.isIE=function(){var e=navigator.userAgent.toLowerCase();return-1!=e.indexOf("msie")},IPPU.isSafari=function(){var e=navigator.userAgent.toLowerCase();return-1!=e.indexOf("safari")};
/* <<< file end: js/old/ippu.js */

//# map link was there [ippu.js.map]
/* >>> file start: js/deprecated/lj_ippu.js */
//= require js/deprecated/dom.js
//= require js/old/ippu.js
window.LJ_IPPU=new Class(IPPU,{init:function(t){t||(t=""),LJ_IPPU.superClass.init.apply(this,[]),this.uniqId=this.generateUniqId(),this.cancelThisFunc=this.cancel.bind(this),this.setTitle(t),this.setTitlebar(!0),this.setTitlebarClass("lj_ippu_titlebar"),this.addClass("lj_ippu"),this.setAutoCenterCallback(IPPU.center),this.setDimensions(514,"auto"),this.setFixedPosition(!0),this.setClickToClose(!0),this.setAutoHideSelects(!0),"Entry Summary"!==t&&"Reporters"!==t||this.addClass("admin-popup")},setTitle:function(t){var e="      <div style='float:right; padding-right: 8px'><img src='"+Site.imgprefix+"/CloseButton.gif?v=7618' width='15' height='15' id='"+this.uniqId+"_cancel' /></div>"+t;LJ_IPPU.superClass.setTitle.apply(this,[e])},generateUniqId:function(){var t=new Date;return"lj_ippu_"+t.getHours()+t.getMinutes()+t.getMilliseconds()},show:function(){LJ_IPPU.superClass.show.apply(this);var t=this.setup_lj_ippu.bind(this);this.timerSetup=window.setTimeout(t,300)},setup_lj_ippu:function(t){var e=this.cancelThisFunc;$(this.uniqId+"_cancel").onclick=function(){e()};var i=document.querySelector(".admin-popup"),s=i.getBoundingClientRect(),n=s.top;0>n&&(i.style.marginTop="".concat(Math.abs(n)+80,"px")),i.style.opacity=1,i.style.visibility="visible"},hide:function(){clearInterval(this.timerSetup),LJ_IPPU.superClass.hide.apply(this)}}),LJ_IPPU.showNote=function(t,e,i,s){var n=document.createElement("div");return n.innerHTML=t,LJ_IPPU.showNoteElement(n,e,i,s)},LJ_IPPU.showErrorNote=function(t,e,i){return LJ_IPPU.showNote(t,e,i,"ErrorNote")},LJ_IPPU.showNoteElement=function(t,e,i,s){var n=new IPPU;n.init();var o=document.createElement("div");DOM.addClassName(o,"Inner"),o.appendChild(t),n.setContentElement(o),n.setTitlebar(!1),n.setFadeIn(!0),n.setFadeOut(!0),n.setFadeSpeed(4),n.setDimensions("auto","auto"),s||(s="Note"),n.addClass(s);var a;if(!e||(a=DOM.getAbsoluteDimensions(e))){var l=DOM.getClientDimensions();if(l){if(a){n.setAutoCenter(!1,!1),n.setLocation(a.absoluteLeft,a.absoluteBottom+4),n.show();var r=DOM.getAbsoluteDimensions(n.getElement());r.absoluteRight>l.x&&n.setLocation(l.x-r.offsetWidth-30,a.absoluteBottom+4)}else n.setAutoCenter(!0,!0),n.show();return n.setClickToClose(!0),n.moveForward(),void 0===i&&(i=5e3),i&&window.setTimeout(function(){n&&n.hide()},i),n}}},LJ_IPPU.textPrompt=function(t,e,i,s){s=s||{},t+="";var n=new LJ_IPPU(t),o=document.createElement("div");DOM.addClassName(o,"ljippu_textprompt"),e&&o.appendChild(_textDiv(e));var a=document.createElement("textarea");DOM.addClassName(a,"htmlfield"),a.cols=40,a.rows=5,o.appendChild(a);var l=document.createElement("div");DOM.addClassName(l,"submitbtncontainer");var r=document.createElement("input");DOM.addClassName(r,"submitbtn"),r.type="button",r.value="Insert",l.appendChild(r),o.appendChild(l),n.setContentElement(o),n.setAutoCenter(!0,!0),n.setDimensions(s.width||"60%","auto"),n.show(),a.focus(),DOM.addEventListener(r,"click",function(t){n.hide(),i&&i.apply(null,[a.value])})};
/* <<< file end: js/deprecated/lj_ippu.js */

//# map link was there [lj_ippu.js.map]
/* >>> file start: js/deprecated/ljwidget_ippu.js */
//= require js/old/ljwidget.js
//= require js/deprecated/lj_ippu.js
window.LJWidgetIPPU=new Class(LJWidget,{init:function(t,e){var i=t.title,n=t.widgetClass,s=t.authToken,a=t.nearElement,l=t.not_view_close,d=t.popupClass;e||(e={}),this.reqParams=e;var o=new LJ_IPPU(i,a);this.ippu=o;var h=document.createElement("div");h.id="LJWidgetIPPU_"+Unique.id(),o.setContentElement(h),d&&this.ippu.ele.classList.add(d),t.width&&t.height&&o.setDimensions(t.width,t.height),t.overlay&&(IPPU.isIE()?(this.ippu.setModal(!0),this.ippu.setOverlayVisible(!0),this.ippu.setClickToClose(!1)):(this.ippu.setModal(!0),this.ippu.setOverlayVisible(!0))),t.center&&o.center(),o.show(),l&&(o.titlebar.getElementsByTagName("img")[0].style.display="none");var u=document.createElement("div");u.style.fontSize="1.5em",u.style.fontWeight="bold",u.style.margin="5px",u.style.textAlign="center",u.innerHTML="Loading...",this.loadingText=u,h.appendChild(u);var r=[h.id,n,s];LJWidgetIPPU.superClass.init.apply(this,r);var g=this;return o.setCancelledCallback(function(){g.cancel&&g.cancel()}),n?(this.widgetClass=n,this.authToken=s,this.title=i,this.nearEle=a,window.setInterval(this.animateLoading.bind(this),20),this.loaded=!1,this.loadContent(),this):null},animateCount:0,animateLoading:function(t){var e=this.loadingText;if(this.loaded||!e)return void window.clearInterval(t);this.animateCount+=.05;var i=(Math.sin(this.animateCount)+1)/2*255,n=Math.round(i).toString(16);1==n.length&&(n="0"+n),n+=n+n,e.style.color="#"+n,this.ippu.center()},doAjaxRequest:function(t){t||(t={}),t._widget_ippu=1,document.getElementById("LJ__Setting__InvisibilityGuests_invisibleguests_self")&&(t["Widget[IPPU_SettingProd]_LJ__Setting__InvisibilityGuests_invisibleguests"]=1==document.getElementById("LJ__Setting__InvisibilityGuests_invisibleguests_self").checked?1:1==document.getElementById("LJ__Setting__InvisibilityGuests_invisibleguests_anon").checked?2:0),LJWidgetIPPU.superClass.doAjaxRequest.apply(this,[t])},close:function(){this.ippu.hide()},loadContent:function(){var t=this.reqParams;this.updateContent(t)},method:"POST",onData:function(t){this.loaded=!0},render:function(t){}});
/* <<< file end: js/deprecated/ljwidget_ippu.js */

//# map link was there [ljwidget_ippu.js.map]
/* >>> file start: js/jquery/jquery.center.js */
!function(t){return t}(),function(t){t.fn.center=function(){var i=t(window),h=({width:i.width(),height:i.height()},this.first()),e={width:h.outerWidth(),height:h.outerHeight()};return h.css({position:"fixed",left:"50%",top:"50%",marginTop:-(e.height/2),marginLeft:-(e.width/2)}),this}}(jQuery);
/* <<< file end: js/jquery/jquery.center.js */

//# map link was there [jquery.center.js.map]
/* >>> file start: js/jquery/dialogs.js */
function _typeof(t){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
//= require js/jquery/jquery.center.js
LJ.UI.registerTemplate('templates-Widgets-dialogs', "<div class=\"b-popup\"> <div class=\"b-popup-outer\"> <div class=\"b-popup-inner\"> <div class=\"b-dialog\"> {{if $data.title}} <div class=\"b-dialog-header\"> {{html $data.title}} </div> {{/if}} {{if ($data.type == \'prompt\' || $data.text)}} <div class=\"b-dialog-body\"> {{if $data.text}} {{html $data.text}} {{/if}} {{if ($data.type == \'prompt\')}} <div class=\"b-dialog-prompt-wrap\"> <input type=\"text\" name=\"dialog-prompt\" class=\"b-dialog-prompt\" value=\"\" {{if $data.placeholder}}placeholder=\"{{html $data.placeholder}}\"{{/if}} /> </div> {{/if}} </div> {{/if}} <div class=\"b-dialog-footer\"> {{if $data.is_mac}} {{if $data.type != \'alert\'}} <button type=\"button\" name=\"dialog-cancel\" class=\" b-dialog-btn b-dialog-cancel b-flatbutton b-flatbutton-neutral \" > {{html $data.no.text}} </button> {{/if}} <button type=\"button\" name=\"dialog-ok\" class=\" b-dialog-btn b-dialog-ok b-flatbutton \" > {{html $data.yes.text}} </button> {{else}} <button type=\"button\" name=\"dialog-ok\" class=\" b-dialog-btn b-dialog-ok b-flatbutton \" > {{html $data.yes.text}} </button> {{if $data.type != \'alert\'}} <button type=\"button\" name=\"dialog-cancel\" class=\" b-dialog-btn b-dialog-cancel b-flatbutton b-flatbutton-neutral \" > {{html $data.no.text}} </button> {{/if}} {{/if}} </div> </div> <i class=\"i-popup-close\"></i> </div> </div> </div> ", 'JQuery.stat');
//= require_ml dialogs.yes
//= require_ml dialogs.no
!function(t){return t}(),function(t){"use strict";LJ.dialogs={defaults:{alert:{title:"",fade:!0,show:t.noop,hide:t.noop,defaultButton:"yes",yes:{text:LJ.ml("dialogs.yes"),action:t.noop}},confirm:{title:"",fade:!0,show:t.noop,hide:t.noop,defaultButton:"yes",yes:{text:LJ.ml("dialogs.yes"),action:t.noop},no:{text:LJ.ml("dialogs.no"),action:t.noop}},prompt:{title:"",fade:!0,show:t.noop,hide:t.noop,defaultButton:"input",value:"",yes:{text:LJ.ml("dialogs.yes"),action:t.noop},no:{text:LJ.ml("dialogs.no"),action:t.noop}}}};var o=function(t){function o(o){var n,e=y.type,i=null;m||(m=[],m.push(s.find(g.yesButton)),"prompt"===e&&m.push(s.find(g.promptInput)),"prompt"!==e&&"confirm"!==e||m.push(s.find(g.noButton)),n=s.find(g.body).find("a,select,input,button").not(g.yesButton).not(g.noButton).not(g.promptInput),n.length&&(m=m.concat(n.toArray().map(t)))),m.some(function(t,o){var n=t.is(":focus");return n&&(i=o),n}),null===i?i=0:(i+=o,i>m.length-1?i=0:0>i&&(i=m.length-1)),m[i].focus()}function n(){d=t("<div />",{"class":"b-fader"}).prependTo(document.body)}function e(o){var e="object"===_typeof(o.text),l=null,u=null;y=o,e&&(l=t('<div class="b-dialog-body" />').append(o.text),o.text=""),s=LJ.UI.template("templates-Widgets-dialogs",o),e&&(u=s.find(g.header),u.length?u.after(l):s.find(g.dialog).prepend(l)),s.prependTo(document.body).center(),o.fade&&(d=t(".b-fader"),d.length||n(),d.show()),s.on("click",g.closeButton,i),"no"===o.defaultButton&&"alert"!==o.type?s.find(g.noButton).focus():"prompt"===o.type&&"yes"!==o.defaultButton?s.find(g.promptInput).focus():s.find(g.yesButton).focus(),o.show.call(s,o)}function i(){d&&d.hide(),m=null,y.hide.call(s,y),s.remove(),s=null}function l(t,o){if(!("string"==typeof t&&0!==t.length||"object"===_typeof(t)&&t.jquery))throw new Error("You should provide text or node as `text` param for the dialog");if(o&&"object"!==_typeof(o))throw new Error("Dialog options should be an object");if(s)throw new Error("You are not able to create multiple dialogs at the time");o&&o.yes&&("function"==typeof o.yes?o.yes={action:o.yes}:"string"==typeof o.yes&&(o.yes={text:o.yes})),o&&o.no&&("function"==typeof o.no?o.no={action:o.no}:"string"==typeof o.no&&(o.no={text:o.no}))}function u(){s.find(g.yesButton).trigger("click")}function c(){s.find(g.noButton).trigger("click")}function r(t){return function(){try{return t.apply(this,arguments),{yes:u,no:c}}catch(o){console.error(o.message)}}}var p,a,f,s=null,d=null,y=null,m=null,g={yesButton:".b-dialog-ok",noButton:".b-dialog-cancel",closeButton:".i-popup-close",promptInput:".b-dialog-prompt",header:".b-dialog-header",dialog:".b-dialog",body:".b-dialog-body"};return LJ.Support.isMobile()||t(document).on("keydown",function(t){if(s)switch(t.which){case 27:s.find(g.closeButton).trigger("click");break;case 9:o(t.shiftKey?-1:1),t.preventDefault()}}),p=function(o,n){l(o,n),n=t.extend(!0,{},LJ.dialogs.defaults.alert,{type:"alert",text:o},n||{}),e(n),s.on("click",g.yesButton,function(){void 0===n.yes.action.call(s,i)&&i()})},a=function(o,n){l(o,n),n=t.extend(!0,{},LJ.dialogs.defaults.confirm,{type:"confirm",text:o},n||{}),e(n),s.on("click",g.yesButton,function(){void 0===n.yes.action.call(s,!0,i)&&i()}),s.on("click",g.noButton,function(){n.no.action.call(s,!1),i()})},f=function(o,n){l(o,n),n=t.extend(!0,{},LJ.dialogs.defaults.prompt,{type:"prompt",text:o},n||{}),e(n),n.value&&s.find(g.promptInput).val(n.value),s.on("click",g.yesButton,function(){void 0===n.yes.action.call(s,s.find(g.promptInput).val())&&i()}),s.find(g.noButton).on("click",function(){n.no.action.call(s),i()}),LJ.Support.isMobile()||s.find(g.promptInput).on("keyup",function(t){13===t.which&&s.find(g.yesButton).trigger("click")})},{alert:r(p),confirm:r(a),prompt:r(f)}}(t);t.extend(!0,LJ.dialogs,o)}(jQuery);
/* <<< file end: js/jquery/dialogs.js */

//# map link was there [dialogs.js.map]
/* >>> file start: js/components/controlStrip/suspendMiniForm.js */
function _typeof(t){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _regeneratorRuntime(){"use strict";function t(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}function e(t,e,r,o){var i=e&&e.prototype instanceof n?e:n,a=Object.create(i.prototype),c=new h(o||[]);return g(a,"_invoke",{value:u(t,r,c)}),a}function r(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function n(){}function o(){}function i(){}function a(e){["next","throw","return"].forEach(function(r){t(e,r,function(t){return this._invoke(r,t)})})}function c(t,e){function n(o,i,a,c){var u=r(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==_typeof(l)&&m.call(l,"__await")?e.resolve(l.__await).then(function(t){n("next",t,a,c)},function(t){n("throw",t,a,c)}):e.resolve(l).then(function(t){s.value=t,a(s)},function(t){return n("throw",t,a,c)})}c(u.arg)}var o;g(this,"_invoke",{value:function(t,r){function i(){return new e(function(e,o){n(t,r,e,o)})}return o=o?o.then(i,i):i()}})}function u(t,e,n){var o=E;return function(i,a){if(o===P)throw new Error("Generator is already running");if(o===S){if("throw"===i)throw a;return{value:y,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=s(c,n);if(u){if(u===j)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===E)throw o=S,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=P;var l=r(t,e,n);if("normal"===l.type){if(o=n.done?S:x,l.arg===j)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=S,n.method="throw",n.arg=l.arg)}}}function s(t,e){var n=e.method,o=t.iterator[n];if(o===y)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=y,s(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),j;var i=r(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,j;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=y),e.delegate=null,j):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,j)}function l(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function f(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.reset(!0)}function p(t){if(t||""===t){var e=t[b];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function o(){for(;++r<t.length;)if(m.call(t,r))return o.value=t[r],o.done=!1,o;return o.value=y,o.done=!0,o};return n.next=n}}throw new TypeError(_typeof(t)+" is not iterable")}_regeneratorRuntime=function(){return v};var y,v={},d=Object.prototype,m=d.hasOwnProperty,g=Object.defineProperty||function(t,e,r){t[e]=r.value},w="function"==typeof Symbol?Symbol:{},b=w.iterator||"@@iterator",_=w.asyncIterator||"@@asyncIterator",L=w.toStringTag||"@@toStringTag";try{t({},"")}catch(y){t=function(t,e,r){return t[e]=r}}v.wrap=e;var E="suspendedStart",x="suspendedYield",P="executing",S="completed",j={},O={};t(O,b,function(){return this});var k=Object.getPrototypeOf,G=k&&k(k(p([])));G&&G!==d&&m.call(G,b)&&(O=G);var T=i.prototype=n.prototype=Object.create(O);return o.prototype=i,g(T,"constructor",{value:i,configurable:!0}),g(i,"constructor",{value:o,configurable:!0}),o.displayName=t(i,L,"GeneratorFunction"),v.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===o||"GeneratorFunction"===(e.displayName||e.name))},v.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,i):(e.__proto__=i,t(e,L,"GeneratorFunction")),e.prototype=Object.create(T),e},v.awrap=function(t){return{__await:t}},a(c.prototype),t(c.prototype,_,function(){return this}),v.AsyncIterator=c,v.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new c(e(t,r,n,o),i);return v.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},a(T),t(T,L,"Generator"),t(T,b,function(){return this}),t(T,"toString",function(){return"[object Generator]"}),v.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function o(){for(;r.length;){var t=r.pop();if(t in e)return o.value=t,o.done=!1,o}return o.done=!0,o}},v.values=p,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(f),!t)for(var e in this)"t"===e.charAt(0)&&m.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=y)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){function e(e,n){return i.type="throw",i.arg=t,r.next=e,n&&(r.method="next",r.arg=y),!!n}if(this.done)throw t;for(var r=this,n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=m.call(o,"catchLoc"),c=m.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&m.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,j):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),j},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),f(r),j}},"catch":function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;f(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:p(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=y),j}},v}function asyncGeneratorStep(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(s){return void r(s)}c.done?e(u):Promise.resolve(u).then(n,o)}function _asyncToGenerator(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){function i(t){asyncGeneratorStep(c,n,o,i,a,"next",t)}function a(t){asyncGeneratorStep(c,n,o,i,a,"throw",t)}var c=t.apply(e,r);i(void 0)})}}function _defineProperties(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,_toPropertyKey(n.key),n)}}function _createClass(t,e,r){return e&&_defineProperties(t.prototype,e),r&&_defineProperties(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"===_typeof(e)?e:String(e)}function _toPrimitive(t,e){if("object"!==_typeof(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classPrivateFieldInitSpec(t,e,r){_checkPrivateRedeclaration(t,e),e.set(t,r)}function _checkPrivateRedeclaration(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}!function(t){return t}(),function(){var t=new WeakMap,e=_createClass(function r(e){"use strict";_classCallCheck(this,r),_classPrivateFieldInitSpec(this,t,{writable:!0,value:void 0});var n=e.querySelector("button"),o=e.querySelector("select");Site.page.suspend_actions.forEach(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.status,r=t.action,n=document.createElement("option");n.value=e,n.innerText=r,o.appendChild(n)}),o.addEventListener("change",function(){n.disabled="none"===o.value}),n.addEventListener("click",function(){var t=_asyncToGenerator(_regeneratorRuntime().mark(function e(t){var r,n;return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),t.stopPropagation(),r=new URL(window.location.href),r.search="",r.hash="",e.next=7,LJ.Api.callP("admin.suspend",{status:o.value,urls:[r.href]},void 0,{silent:!1});case 7:n=e.sent,LJ.Messages.success("Applied suspend action successfully");case 9:case"end":return e.stop()}},e)}));return function(e){return t.apply(this,arguments)}}())});LJ.Util.DOM.initPromise.then(function(){if(Site.page.allow_suspend){var t=document.querySelector(".js--suspend-mini-form");if(t){t.style.display="";new e(t)}}})}();
/* <<< file end: js/components/controlStrip/suspendMiniForm.js */

//# map link was there [suspendMiniForm.js.map]
/* >>> file start: js/scheme/schemius/controlstrip.js */
//= require js/components/controlStrip/index.js
//= require js/deprecated/ljwidget_ippu.js
//= require js/jquery/dialogs.js
//= require js/components/controlStrip/suspendMiniForm.js
!function(e){return e}(),function(){LJ.define("LJ.Schemius.controlstrip"),LJ.Schemius.controlstrip.init=function(e){var o=e.jQuery,n=o(".js--controlstrip");if(n.length){var r=LJ.Support.isMobile(),i=n.find(".js--dropdown"),t=n.find(".js--dropdown"),s=n.find(".s-header-extra-menu-item.w-cs-i-calendar a"),l=o("html"),c={friendingBlocker:null,subscriptionBlocker:null,moreItemsPopoverIsVisible:!1},a=function(){c.moreItemsPopoverIsVisible?(t.addClass("s-header-toggle--open"),l.addClass("menu-controlstrip--open")):(t.removeClass("s-header-toggle--open"),l.removeClass("menu-controlstrip--open"))},u=function(e){var o,n;if(e){var r=e.data,i=e.username;r&&(null!==(o=Site)&&void 0!==o&&null!==(n=o.journal)&&void 0!==n&&n.username&&i&&Site.journal.username!==i||a())}},d=function m(){c.moreItemsPopoverIsVisible=!1,document.removeEventListener("click",m),a()};i.on("click",function(e){e.stopPropagation(),window.scrollTo({top:0,behavior:"smooth"}),c.moreItemsPopoverIsVisible=!c.moreItemsPopoverIsVisible,c.moreItemsPopoverIsVisible?(document.addEventListener("click",d),LJ.Event.trigger("controlstrip::dropdownHideRequest")):document.removeEventListener("click",d),a()}),!r&&s.length&&s.on("click",function(e){e.preventDefault(),LJ.Event.trigger("controlstrip::showCalendar")}),LJ.Event.on("relations.changed",function(e){u(e)})}}}();
/* <<< file end: js/scheme/schemius/controlstrip.js */

//# map link was there [controlstrip.js.map]
/* >>> file start: js/components/loginForm.js */
!function(o){return o}(),function(){LJ.define("LJ.Util"),LJ.Util.showLoginForm=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=o.preserveScroll,t=void 0===e?!0:e,n=o.aboveFormHint,i=void 0===n?"":n,l=document.scrollingElement.scrollTop;LJ.Util.Action.login(),t&&(document.body.style.position="static",document.body.style.overflowY="hidden",document.scrollingElement.scrollTop=l);var s=document.querySelector(".js--above-form-hint");i?(s.innerHTML=i,s.classList.add("b-loginform__hint--visible")):s.classList.remove("b-loginform__hint--visible")},document.addEventListener("DOMContentLoaded",function(){var o=document.querySelector(".js--loginform-toggle-pass"),e=document.querySelector(".js--loginform-field-pass"),t=function(){var t="password"===e.getAttribute("type")?"text":"password";e.setAttribute("type",t),o.classList.toggle("b-loginform-field__toggle-password--show")};o&&o.addEventListener("click",t)})}();
/* <<< file end: js/components/loginForm.js */

//# map link was there [loginForm.js.map]
/* >>> file start: js/util/login.js */
function _typeof(t){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _regeneratorRuntime(){"use strict";function t(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}function r(t,r,e,o){var i=r&&r.prototype instanceof n?r:n,a=Object.create(i.prototype),c=new h(o||[]);return m(a,"_invoke",{value:u(t,e,c)}),a}function e(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}function n(){}function o(){}function i(){}function a(r){["next","throw","return"].forEach(function(e){t(r,e,function(t){return this._invoke(e,t)})})}function c(t,r){function n(o,i,a,c){var u=e(t[o],t,i);if("throw"!==u.type){var f=u.arg,s=f.value;return s&&"object"==_typeof(s)&&g.call(s,"__await")?r.resolve(s.__await).then(function(t){n("next",t,a,c)},function(t){n("throw",t,a,c)}):r.resolve(s).then(function(t){f.value=t,a(f)},function(t){return n("throw",t,a,c)})}c(u.arg)}var o;m(this,"_invoke",{value:function(t,e){function i(){return new r(function(r,o){n(t,e,r,o)})}return o=o?o.then(i,i):i()}})}function u(t,r,n){var o=x;return function(i,a){if(o===j)throw new Error("Generator is already running");if(o===S){if("throw"===i)throw a;return{value:y,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=f(c,n);if(u){if(u===O)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===x)throw o=S,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=j;var s=e(t,r,n);if("normal"===s.type){if(o=n.done?S:E,s.arg===O)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=S,n.method="throw",n.arg=s.arg)}}}function f(t,r){var n=r.method,o=t.iterator[n];if(o===y)return r.delegate=null,"throw"===n&&t.iterator["return"]&&(r.method="return",r.arg=y,f(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),O;var i=e(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,O;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=y),r.delegate=null,O):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,O)}function s(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function l(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(s,this),this.reset(!0)}function p(t){if(t||""===t){var r=t[b];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,n=function o(){for(;++e<t.length;)if(g.call(t,e))return o.value=t[e],o.done=!1,o;return o.value=y,o.done=!0,o};return n.next=n}}throw new TypeError(_typeof(t)+" is not iterable")}_regeneratorRuntime=function(){return v};var y,v={},d=Object.prototype,g=d.hasOwnProperty,m=Object.defineProperty||function(t,r,e){t[r]=e.value},w="function"==typeof Symbol?Symbol:{},b=w.iterator||"@@iterator",L=w.asyncIterator||"@@asyncIterator",_=w.toStringTag||"@@toStringTag";try{t({},"")}catch(y){t=function(t,r,e){return t[r]=e}}v.wrap=r;var x="suspendedStart",E="suspendedYield",j="executing",S="completed",O={},G={};t(G,b,function(){return this});var k=Object.getPrototypeOf,P=k&&k(k(p([])));P&&P!==d&&g.call(P,b)&&(G=P);var N=i.prototype=n.prototype=Object.create(G);return o.prototype=i,m(N,"constructor",{value:i,configurable:!0}),m(i,"constructor",{value:o,configurable:!0}),o.displayName=t(i,_,"GeneratorFunction"),v.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===o||"GeneratorFunction"===(r.displayName||r.name))},v.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,i):(r.__proto__=i,t(r,_,"GeneratorFunction")),r.prototype=Object.create(N),r},v.awrap=function(t){return{__await:t}},a(c.prototype),t(c.prototype,L,function(){return this}),v.AsyncIterator=c,v.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new c(r(t,e,n,o),i);return v.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next()})},a(N),t(N,_,"Generator"),t(N,b,function(){return this}),t(N,"toString",function(){return"[object Generator]"}),v.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function o(){for(;e.length;){var t=e.pop();if(t in r)return o.value=t,o.done=!1,o}return o.done=!0,o}},v.values=p,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(l),!t)for(var r in this)"t"===r.charAt(0)&&g.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=y)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){function r(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=y),!!n}if(this.done)throw t;for(var e=this,n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=g.call(o,"catchLoc"),c=g.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&g.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=r,o?(this.method="next",this.next=o.finallyLoc,O):this.complete(i)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),O},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),l(e),O}},"catch":function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;l(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:p(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=y),O}},v}function asyncGeneratorStep(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(f){return void e(f)}c.done?r(u):Promise.resolve(u).then(n,o)}function _asyncToGenerator(t){return function(){var r=this,e=arguments;return new Promise(function(n,o){function i(t){asyncGeneratorStep(c,n,o,i,a,"next",t)}function a(t){asyncGeneratorStep(c,n,o,i,a,"throw",t)}var c=t.apply(r,e);i(void 0)})}}LJ.define("LJ.Util"),LJ.Util.getIsLoggedInOnServer=_asyncToGenerator(_regeneratorRuntime().mark(function t(){var r,e;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch("".concat(Site.siteroot,"/tools/endpoints/get_auth_js"),{credentials:"include"});case 2:return r=t.sent,t.next=5,r.json();case 5:return e=t.sent,t.abrupt("return",!!e.lj_master_user);case 7:case"end":return t.stop()}},t)}));
/* <<< file end: js/util/login.js */

//# map link was there [login.js.map]
/* >>> file start: js/scheme/schemius/index.js */
function _typeof(e){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _regeneratorRuntime(){"use strict";function e(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}function t(e,t,n,o){var i=t&&t.prototype instanceof r?t:r,a=Object.create(i.prototype),s=new d(o||[]);return y(a,"_invoke",{value:l(e,n,s)}),a}function n(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function r(){}function o(){}function i(){}function a(t){["next","throw","return"].forEach(function(n){e(t,n,function(e){return this._invoke(n,e)})})}function s(e,t){function r(o,i,a,s){var l=n(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==_typeof(u)&&g.call(u,"__await")?t.resolve(u.__await).then(function(e){r("next",e,a,s)},function(e){r("throw",e,a,s)}):t.resolve(u).then(function(e){c.value=e,a(c)},function(e){return r("throw",e,a,s)})}s(l.arg)}var o;y(this,"_invoke",{value:function(e,n){function i(){return new t(function(t,o){r(e,n,t,o)})}return o=o?o.then(i,i):i()}})}function l(e,t,r){var o=j;return function(i,a){if(o===k)throw new Error("Generator is already running");if(o===x){if("throw"===i)throw a;return{value:p,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=c(s,r);if(l){if(l===S)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===j)throw o=x,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=k;var u=n(e,t,r);if("normal"===u.type){if(o=r.done?x:_,u.arg===S)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=x,r.method="throw",r.arg=u.arg)}}}function c(e,t){var r=t.method,o=e.iterator[r];if(o===p)return t.delegate=null,"throw"===r&&e.iterator["return"]&&(t.method="return",t.arg=p,c(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),S;var i=n(o,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,S;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=p),t.delegate=null,S):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,S)}function u(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(u,this),this.reset(!0)}function h(e){if(e||""===e){var t=e[w];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function o(){for(;++n<e.length;)if(g.call(e,n))return o.value=e[n],o.done=!1,o;return o.value=p,o.done=!0,o};return r.next=r}}throw new TypeError(_typeof(e)+" is not iterable")}_regeneratorRuntime=function(){return m};var p,m={},v=Object.prototype,g=v.hasOwnProperty,y=Object.defineProperty||function(e,t,n){e[t]=n.value},b="function"==typeof Symbol?Symbol:{},w=b.iterator||"@@iterator",L=b.asyncIterator||"@@asyncIterator",C=b.toStringTag||"@@toStringTag";try{e({},"")}catch(p){e=function(e,t,n){return e[t]=n}}m.wrap=t;var j="suspendedStart",_="suspendedYield",k="executing",x="completed",S={},E={};e(E,w,function(){return this});var J=Object.getPrototypeOf,O=J&&J(J(h([])));O&&O!==v&&g.call(O,w)&&(E=O);var P=i.prototype=r.prototype=Object.create(E);return o.prototype=i,y(P,"constructor",{value:i,configurable:!0}),y(i,"constructor",{value:o,configurable:!0}),o.displayName=e(i,C,"GeneratorFunction"),m.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},m.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,i):(t.__proto__=i,e(t,C,"GeneratorFunction")),t.prototype=Object.create(P),t},m.awrap=function(e){return{__await:e}},a(s.prototype),e(s.prototype,L,function(){return this}),m.AsyncIterator=s,m.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new s(t(e,n,r,o),i);return m.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},a(P),e(P,C,"Generator"),e(P,w,function(){return this}),e(P,"toString",function(){return"[object Generator]"}),m.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function o(){for(;n.length;){var e=n.pop();if(e in t)return o.value=e,o.done=!1,o}return o.done=!0,o}},m.values=h,d.prototype={constructor:d,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=p,this.done=!1,this.delegate=null,this.method="next",this.arg=p,this.tryEntries.forEach(f),!e)for(var t in this)"t"===t.charAt(0)&&g.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=p)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=p),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=g.call(o,"catchLoc"),s=g.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,S):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),S},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),S}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;f(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=p),S}},m}function asyncGeneratorStep(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,o)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){function i(e){asyncGeneratorStep(s,r,o,i,a,"next",e)}function a(e){asyncGeneratorStep(s,r,o,i,a,"throw",e)}var s=e.apply(t,n);i(void 0)})}}
//= require js/core/angular/api.js
//= require js/lib/jquery.selectric.min.js
//= require js/common/captcha.js
//= require js/scheme/schemius/controlstrip.js
//= require js/components/loginForm.js
//= require js/misc/proBadge.js
//= require js/util/login.js
!function(e){return e}(),function(e){function t(){function t(e){return!!(e.ctrlKey||e.metaKey&&LJ.Support.isMac)}function n(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}function r(){var e=document.documentElement.scrollHeight>document.documentElement.clientHeight,t=n(),r=t>0;r&&e&&(O[0].style.paddingRight=t+"px")}function o(){O[0].style.paddingRight=""}function i(e){e&&(e.stopPropagation(),e.preventDefault()),o(),O.removeClass(G),O.removeClass(w),p.removeClass(G),p.removeClass(w),document.body.style.position="",document.body.style.overflowY="";var t=document.querySelector(".js--above-form-hint");null===t||void 0===t||t.classList.remove("b-loginform__hint--visible")}function a(e){return s.apply(this,arguments)}function s(){return s=_asyncToGenerator(_regeneratorRuntime().mark(function t(n){var o;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n&&(n.preventDefault(),n.stopPropagation()),h(),LJ.Event.trigger("Messages:closeByMenus"),r(),Site.remote){t.next=11;break}return t.next=7,LJ.Util.getIsLoggedInOnServer();case 7:if(o=t.sent,!o){t.next=11;break}return window.location.reload(),t.abrupt("return");case 11:p.addClass(w),O.addClass(G),setTimeout(function(){e("#user").focus()},300);case 14:case"end":return t.stop()}},t)})),s.apply(this,arguments)}function l(){p.hasClass(w)?i():a()}function c(e){e&&LJ.Api.call("lang.set",{lang:e},function(){location.reload()})}function u(t){y.toggleClass(S,t),t?e(".b-loginform-click-trap").removeClass("b-loginform-click-trap--show"):(e(".b-loginform-click-trap").addClass("b-loginform-click-trap--show"),e(".b-loginform").removeClass("openid-auth-state"))}var f,d,h,p,m,v,g,y,b,w,L,C,j,_,k,x,S,E=!!Site.page.endlessScrollEnabled,J=LJ.Flags.isEnabled("medius_schemius"),O=e(document.body),P=e(".s-header"),T=e(J?".js-header-search-input":".s-inline-search-input"),A=e(J?".js-header-search-button":".s-do-item-search-btn"),I="p-show-search",D=!1,G="p-loginform",M=e(J?".js-header-nav-lang":".s-nav-item-lang"),N="s-nav-item-lang-open",F=function(e){e.find(".s-header-search__filter-badge")&&(e.find('input[name="journal"]').val(Site.journal.username),e.find('input[name="journalId"]').val(Site.journal.id),e.find(".s-header-search__filter-badge").css("display","flex"))},R=function(t){t.stopPropagation();var n=e(this).closest(".s-header-search__form");n.find('input[name="journal"]').val(""),n.find('input[name="journalId"]').val(""),n.find(".s-header-search__filter-badge").css("display","none"),n.find(".s-header-search__input").focus()},q=function(n){t(n)||(P.hasClass(I)&&T.val()&&A.prop("type","submit"),P.toggleClass(I),P.hasClass(I)&&(D=!0,F(e(".s-header-search")),setTimeout(function(){T.focus()},500)))},H=e(".s-header-search__form");navigator.userAgent.match(/(iPod|iPhone|iPad)/i)&&H.each(function(){e(this).removeAttr("target")}),H.on("submit",function(){var e=T.val(),t=e.split(" ").filter(function(e){return e}),n=t.every(function(e){return e.length>1&&0===e.indexOf("#")});T.attr("name",n?"tags":"q")}),LJ&&LJ.Util&&LJ.Util.Action&&(LJ.Util.Action.login=a),e(".s-header-search__filter-badge-remove").on("click",R),A.on("click",q),A.on("blur",function(){"submit"===A.prop("type")&&(A.prop("type","button"),T.val(""))}),T.on("click",function(){D=!0}),O.on("click",function(){D||(P.removeClass(I),M.removeClass(N)),D=!1}),O.on("gesturestart",function(t){(e("html").hasClass("p-nav-common-menu-open")||e("html").hasClass("p-nav-user-menu-open"))&&t.preventDefault()}),navigator.userAgent.match(/Trident/)&&navigator.userAgent.match(/rv[ :]11/)&&e("html").addClass("html-ie11"),navigator.appVersion.match(/MSIE\s10/)&&e("html").addClass("html-ie10"),p=e("html"),p.addClass(LJ.Support.isMobile()?"html-mobile":"html-desktop"),~navigator.userAgent.toLowerCase().indexOf("android")?p.addClass("html-android"):~navigator.userAgent.toLowerCase().indexOf("iphone")||~navigator.userAgent.toLowerCase().indexOf("ipad")?p.addClass("html-ios"):~navigator.userAgent.toLowerCase().indexOf("windows phone")&&p.addClass("html-wphone"),e("[data-lang]").on("click",function(){c(e(this).data("lang"))}),M.on("click",function(e){t(e)||(e.preventDefault(),M.toggleClass(N),D=M.hasClass(N))}),e(".s-lang-select").selectric({customClass:{prefix:"b-selectus",postfixes:"Input Items Open Disabled TempShow HideSelect Wrapper Hover Responsive Above Scroll",camelCase:!1,overwrite:!1}}).on("change",function(){c(e(this).val())}),e(".selectricus").selectric({customClass:{prefix:"b-selectus",postfixes:"Input Items Open Disabled TempShow HideSelect Wrapper Hover Responsive Above Scroll",camelCase:!1,overwrite:!1},expandToItemText:!0,disableOnMobile:!1}),e(".b-message-mobile-close").one("click",function(){e(".b-message-mobile").hide()}),j=e(J?".js-header-nav-drop-master":".s-drop-master"),_=J?"s-header-nav-drop--open":"s-drop-open",k=LJ.Support.isMobile(),x=!1,k||(C=e(":lj-bubble"),j.on("mouseenter",function(){var t=e(this),n=300;x&&(clearTimeout(L),n=0),L=setTimeout(function(){j.removeClass(_),t.addClass(_),x=!0,C.bubble("hide"),LJ.Event.trigger("headerUserDropdown::open")},n)}).on("mouseleave",function(){var t=e(this);return x?void(L=setTimeout(function(){t.removeClass(_),x=!1},500)):(clearTimeout(L),void t.removeClass(_))})),k&&(j.on("click",function(t){var n=e(this),r=0!==n.find("li").length,o=e(t.target).closest("span").is(".s-header-extra-menu-item-link-icon");"input"!==t.target.tagName.toLowerCase()&&(t.target.closest(".js--plain-link")||t.target.classList.contains("js--plain-link")||(n.hasClass(_)||!r||o||t.preventDefault(),n.hasClass(_)||o||(x=!0,j.removeClass(_),t.stopPropagation(),e(":lj-bubble").bubble("hide")),n.toggleClass(_)))}),O.on("click",function(t){var n,r=0===e(t.target).closest(j).length,o=e(t.target).is(".b-popup"),i=!(null===(n=t.target)||void 0===n||!n.closest(".js--subscribe-btn-dropdown"));i||(o&&(t.stopPropagation(),e(":lj-bubble").bubble("hide")),x&&r&&(x=!1,j.removeClass(_),t.preventDefault()))}),LJ.Support.isMobile&&LJ.Support.browser.safari&&O.addClass("iphone"),e(".l-flatslide-menu-active, .l-flatslide-menu-expander").click(function(t){t.preventDefault(),e(this).closest(".l-flatslide-menu").toggleClass("l-flatslide-menu-expanded")}),e(".s-header-search, .s-header-item-search__form").removeAttr("target")),p=e("html"),m=e(".s-body"),v=e(J?".js-header-menu-button":".s-nav-control-common"),g=e(J?".js-header-login":".s-nav-control-user, .s-nav-control-login"),b="p-nav-common-menu-open",w="p-nav-user-menu-open",v.on("click",function(){LJ.Event.trigger("Messages:closeByMenus"),p.toggleClass(b),F(e(".s-menu-aside__search")),i()});var Y=l;if(Site.remote?g.on("click",Y):Site.isCustomDomain||g.on("click",l),h=function(){p.removeClass(b),p.removeClass(w)},m.on("click",function(){h(),i()}),e(".s-header-menu-head__drop").click(function(){var t=e(this).closest(".s-header-menu-drop"),n=t.find(".s-header-menu-list-sub"),r="s-header-menu-drop--open";if(t.is("."+r))n.css("max-height","");else{var o=n.children().toArray().reduce(function(t,n){return t+e(n).height()},0);n.css("max-height",o)}t.toggleClass(r)}),Site.isCustomDomain||e(J?".js-header-login":".s-nav-item-login").on("click",a),e(".js-loginform-close").on("click",i),e(document).on("keyup",function(e){"Escape"!==e.key&&27!==e.keyCode||i(e)}),e(".b-fader").on("click",i),y=e(".b-loginform-body > .b-loginform-field"),S="active",J?e(".lj-openid-auth-button").on("click",function(t){t.preventDefault(),u(!1),e(".b-loginform").addClass("openid-auth-state")}):e(".lj-openid-auth-button").on("click",function(t){t.preventDefault(),e(".b-loginform").toggleClass("openid-auth-state"),e(".b-loginform").hasClass("openid-auth-state")?e("#openid").focus():e("#user").focus()}),J&&(e(".js-login-close").on("click",function(e){u(!1),i(e)}),e(".b-loginform-click-trap").on("click",function(){return u(!0)}),e(".b-loginform-toggle-link").on("click",function(){return u(!1)}),LJ.Flags.isEnabled("notification_center")&&angular.bootstrap(J?".js-header-notifications":".mds-do",["Notifications"])),LJ.Event.on("userpic.changed",function(t){e(".s-userpic").css("backgroundImage","url("+t+")")}),!LJ.Flags.isEnabled("ljwelcomevideo")||k||LJ.get("remote")||LJ.Cookie.get("welcome_ljvideo")||0!==LJ.get("remote_is_sup")||e(".appwidget-login").length||LJ.injectScript("https://www.youtube.com/player_api").then(function(){function t(e){0!==e.data&&2!==e.data||r.addClass("s-ljvideo-end"),1===e.data&&r.removeClass("s-ljvideo-end")}var n,r=e(".s-ljvideo");O.addClass("p-ljvideo"),window.onYouTubePlayerAPIReady=function(){n=new window.YT.Player("s-ljvideo-player",{width:"640",height:"360",videoId:"wq0YmQ4xIeU",playerVars:{rel:0},events:{onStateChange:t}})},e(".b-fader, .s-ljvideo-close").on("click",function(){O.hasClass("p-ljvideo")&&(O.removeClass("p-ljvideo"),n.destroy(),LJ.Cookie.setGlobal("welcome_ljvideo",1,{expires:14}))})}),d=e(".flatquestion-nojs-friendsgroups"),f=e(".flatquestion-popup-field-showanswer"),e(".flatquestion-popup-select").on("change",function(){"custom"===e(this).val()?d.show():d.hide(),"public"===e(this).val()?f.show():f.hide()}),LJ.Schemius.controlstrip.init({jQuery:e}),E){var U=60,z=document.querySelector(".s-header-in"),W=0;z.classList.add("js--zero-animate");var Q=function(){var e=window.scrollY,t=window.innerHeight;e>U?z.classList.remove("js--zero-animate"):z.classList.add("js--zero-animate"),e>t?(z.classList.add("js--is-fixed"),e>t+U?(z.classList.add("js--can-animate"),W>e?z.classList.add("js--scroll-up"):z.classList.remove("js--scroll-up")):z.classList.remove("js--scroll-up")):z.classList.remove("js--is-fixed","js--can-animate"),W=e,LJ.Event.trigger("nc::requestHidePopover")},B=LJ.Function.throttle(Q,100);window.addEventListener("scroll",B)}}e(function(){0===e(".s-header").length?e("html").on("controlstrip-initialized",t):t()})}(jQuery);
/* <<< file end: js/scheme/schemius/index.js */

//# map link was there [index.js.map]
/* >>> file start: js/core/crossStorageClient.js */
var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};!function(){var e=LJ.Util.getWindow(),t={};LJ.define("LJ.Util.CrossStorage"),LJ.Util.CrossStorage=t;var n=void 0,r=[];e.addEventListener("message",function(e){if(e.origin===LJ.get("statprefix")){var t=e.data||{};"ljCrossStorage.storageEvent"===t.messageType&&r.forEach(function(e){e(_extends({},t.eventObj))})}});var o=function(){if(n)return n;var t=e.document.createElement("iframe");return t.style.cssText="display: none; width: 0; height: 0; border: 0;",t.frameBorder=0,t.src=LJ.get("statprefix")+("/??plain/crossStorageServ.html?&v="+LJ.get("v")),e.document.body.appendChild(t),n=new Promise(function(e){var n=setTimeout(function(){t.src=t.src+"0"},5e3);t.onload=function(){clearTimeout(n),e(t)}})},s=function(t){var n=t.requestID;return new Promise(function(t){var r=function o(r){if(r.origin===LJ.get("statprefix")){var s=r.data||{};"object"===("undefined"==typeof s?"undefined":_typeof(s))&&"crossStorageServResponse"in s&&s.requestID===n&&(e.removeEventListener("message",o),t(s.crossStorageServResponse))}};e.addEventListener("message",r)})};t.getItem=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return o().then(function(n){var r=Date.now()+""+Math.floor(1e4*Math.random()),o={fn:"getItem",args:[e],source:"LJ.CrossStorage",requestID:r};return n.contentWindow.postMessage(o,"*"),s({requestID:r}).then(function(e){var n=e;if(t.parseJSON)try{n=JSON.parse(e)}catch(r){}return n})})},t.setItem=function(e,t){return o().then(function(n){var r={fn:"setItem",source:"LJ.CrossStorage",args:[e,t]};n.contentWindow.postMessage(r,"*")})},t.listenStorageEvents=function(e){r.push(e)}}();
/* <<< file end: js/core/crossStorageClient.js */

//# map link was there [crossStorageClient.js.map]
/* >>> file start: js/front-bundled/dist/qrAuthModal.js */
/*! For license information please see qrAuthModal.js.LICENSE.txt */
(()=>{var e,t={2833:e=>{e.exports=function(e,t,r,n){var a=r?r.call(n,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var s=o[l];if(!c(s))return!1;var u=e[s],f=t[s];if(!1===(a=r?r.call(n,u,f,s):void 0)||void 0===a&&u!==f)return!1}return!0}},4146:(e,t,r)=>{"use strict";var n=r(44363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function l(e){return n.isMemo(e)?i:c[e.$$typeof]||a}c[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[n.Memo]=i;var s=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var a=d(r);a&&a!==h&&e(t,a,n)}var i=u(r);f&&(i=i.concat(f(r)));for(var c=l(t),m=l(r),g=0;g<i.length;++g){var y=i[g];if(!(o[y]||n&&n[y]||m&&m[y]||c&&c[y])){var b=p(r,y);try{s(t,y,b)}catch(e){}}}}return t}},7463:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,a=e[n];if(!(0<o(a,t)))break e;e[n]=t,e[r]=a,r=n}}function n(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,a=e.length,i=a>>>1;n<i;){var c=2*(n+1)-1,l=e[c],s=c+1,u=e[s];if(0>o(l,r))s<a&&0>o(u,l)?(e[n]=u,e[s]=r,n=s):(e[n]=l,e[c]=r,n=c);else{if(!(s<a&&0>o(u,r)))break e;e[n]=u,e[s]=r,n=s}}}return t}function o(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var c=Date,l=c.now();t.unstable_now=function(){return c.now()-l}}var s=[],u=[],f=1,p=null,d=3,h=!1,m=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=n(u);null!==t;){if(null===t.callback)a(u);else{if(!(t.startTime<=e))break;a(u),t.sortIndex=t.expirationTime,r(s,t)}t=n(u)}}function x(e){if(g=!1,w(e),!m)if(null!==n(s))m=!0,I(k);else{var t=n(u);null!==t&&$(x,t.startTime-e)}}function k(e,r){m=!1,g&&(g=!1,b(O),O=-1),h=!0;var o=d;try{for(w(r),p=n(s);null!==p&&(!(p.expirationTime>r)||e&&!P());){var i=p.callback;if("function"==typeof i){p.callback=null,d=p.priorityLevel;var c=i(p.expirationTime<=r);r=t.unstable_now(),"function"==typeof c?p.callback=c:p===n(s)&&a(s),w(r)}else a(s);p=n(s)}if(null!==p)var l=!0;else{var f=n(u);null!==f&&$(x,f.startTime-r),l=!1}return l}finally{p=null,d=o,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,A=!1,S=null,O=-1,E=5,L=-1;function P(){return!(t.unstable_now()-L<E)}function j(){if(null!==S){var e=t.unstable_now();L=e;var r=!0;try{r=S(!0,e)}finally{r?C():(A=!1,S=null)}}else A=!1}if("function"==typeof v)C=function(){v(j)};else if("undefined"!=typeof MessageChannel){var _=new MessageChannel,T=_.port2;_.port1.onmessage=j,C=function(){T.postMessage(null)}}else C=function(){y(j,0)};function I(e){S=e,A||(A=!0,C())}function $(e,r){O=y((function(){e(t.unstable_now())}),r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,I(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return n(s)},t.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var r=d;d=t;try{return e()}finally{d=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=d;d=e;try{return t()}finally{d=r}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?i+o:i,e){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return e={id:f++,callback:a,priorityLevel:e,startTime:o,expirationTime:c=o+c,sortIndex:-1},o>i?(e.sortIndex=o,r(u,e),null===n(s)&&e===n(u)&&(g?(b(O),O=-1):g=!0,$(x,o-i))):(e.sortIndex=c,r(s,e),m||h||(m=!0,I(k))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=d;return function(){var r=d;d=t;try{return e.apply(this,arguments)}finally{d=r}}}},8887:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){function t(e,n,l,s,p){for(var d,h,m,g,w,k=0,C=0,A=0,S=0,O=0,T=0,$=m=d=0,F=0,N=0,M=0,z=0,R=l.length,H=R-1,D="",J="",B="",U="";F<R;){if(h=l.charCodeAt(F),F===H&&0!==C+S+A+k&&(0!==C&&(h=47===C?10:47),S=A=k=0,R++,H++),0===C+S+A+k){if(F===H&&(0<N&&(D=D.replace(f,"")),0<D.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:D+=l.charAt(F)}h=59}switch(h){case 123:for(d=(D=D.trim()).charCodeAt(0),m=1,z=++F;F<R;){switch(h=l.charCodeAt(F)){case 123:m++;break;case 125:m--;break;case 47:switch(h=l.charCodeAt(F+1)){case 42:case 47:e:{for($=F+1;$<H;++$)switch(l.charCodeAt($)){case 47:if(42===h&&42===l.charCodeAt($-1)&&F+2!==$){F=$+1;break e}break;case 10:if(47===h){F=$+1;break e}}F=$}}break;case 91:h++;case 40:h++;case 34:case 39:for(;F++<H&&l.charCodeAt(F)!==h;);}if(0===m)break;F++}if(m=l.substring(z,F),0===d&&(d=(D=D.replace(u,"").trim()).charCodeAt(0)),64===d){switch(0<N&&(D=D.replace(f,"")),h=D.charCodeAt(1)){case 100:case 109:case 115:case 45:N=n;break;default:N=_}if(z=(m=t(n,N,m,h,p+1)).length,0<I&&(w=c(3,m,N=r(_,D,M),n,L,E,z,h,p,s),D=N.join(""),void 0!==w&&0===(z=(m=w.trim()).length)&&(h=0,m="")),0<z)switch(h){case 115:D=D.replace(x,i);case 100:case 109:case 45:m=D+"{"+m+"}";break;case 107:m=(D=D.replace(y,"$1 $2"))+"{"+m+"}",m=1===j||2===j&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=D+m,112===s&&(J+=m,m="")}else m=""}else m=t(n,r(n,D,M),m,s,p+1);B+=m,m=M=N=$=d=0,D="",h=l.charCodeAt(++F);break;case 125:case 59:if(1<(z=(D=(0<N?D.replace(f,""):D).trim()).length))switch(0===$&&(d=D.charCodeAt(0),45===d||96<d&&123>d)&&(z=(D=D.replace(" ",":")).length),0<I&&void 0!==(w=c(1,D,n,e,L,E,J.length,s,p,s))&&0===(z=(D=w.trim()).length)&&(D="\0\0"),d=D.charCodeAt(0),h=D.charCodeAt(1),d){case 0:break;case 64:if(105===h||99===h){U+=D+l.charAt(F);break}default:58!==D.charCodeAt(z-1)&&(J+=a(D,d,h,D.charCodeAt(2)))}M=N=$=d=0,D="",h=l.charCodeAt(++F)}}switch(h){case 13:case 10:47===C?C=0:0===1+d&&107!==s&&0<D.length&&(N=1,D+="\0"),0<I*q&&c(0,D,n,e,L,E,J.length,s,p,s),E=1,L++;break;case 59:case 125:if(0===C+S+A+k){E++;break}default:switch(E++,g=l.charAt(F),h){case 9:case 32:if(0===S+k+C)switch(O){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===S+C+k&&(N=M=1,g="\f"+g);break;case 108:if(0===S+C+k+P&&0<$)switch(F-$){case 2:112===O&&58===l.charCodeAt(F-3)&&(P=O);case 8:111===T&&(P=T)}break;case 58:0===S+C+k&&($=F);break;case 44:0===C+A+S+k&&(N=1,g+="\r");break;case 34:case 39:0===C&&(S=S===h?0:0===S?h:S);break;case 91:0===S+C+A&&k++;break;case 93:0===S+C+A&&k--;break;case 41:0===S+C+k&&A--;break;case 40:0===S+C+k&&(0===d&&(2*O+3*T==533||(d=1)),A++);break;case 64:0===C+A+S+k+$+m&&(m=1);break;case 42:case 47:if(!(0<S+k+A))switch(C){case 0:switch(2*h+3*l.charCodeAt(F+1)){case 235:C=47;break;case 220:z=F,C=42}break;case 42:47===h&&42===O&&z+2!==F&&(33===l.charCodeAt(z+2)&&(J+=l.substring(z,F+1)),g="",C=0)}}0===C&&(D+=g)}T=O,O=h,F++}if(0<(z=J.length)){if(N=n,0<I&&void 0!==(w=c(2,J,N,e,L,E,z,s,p,s))&&0===(J=w).length)return U+J+B;if(J=N.join(",")+"{"+J+"}",0!==j*P){switch(2!==j||o(J,2)||(P=0),P){case 111:J=J.replace(v,":-moz-$1")+J;break;case 112:J=J.replace(b,"::-webkit-input-$1")+J.replace(b,"::-moz-$1")+J.replace(b,":-ms-input-$1")+J}P=0}}return U+J+B}function r(e,t,r){var a=t.trim().split(m);t=a;var o=a.length,i=e.length;switch(i){case 0:case 1:var c=0;for(e=0===i?"":e[0]+" ";c<o;++c)t[c]=n(e,t[c],r).trim();break;default:var l=c=0;for(t=[];c<o;++c)for(var s=0;s<i;++s)t[l++]=n(e[s]+" ",a[c],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function a(e,t,r,n){var i=e+";",c=2*t+3*r+4*n;if(944===c){e=i.indexOf(":",9)+1;var l=i.substring(e,i.length-1).trim();return l=i.substring(0,e).trim()+l+";",1===j||2===j&&o(l,1)?"-webkit-"+l+l:l}if(0===j||2===j&&!o(i,1))return i;switch(c){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(O,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(l=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+l+i;case 1005:return d.test(i)?i.replace(p,":-webkit-")+i.replace(p,":-moz-")+i:i;case 1e3:switch(t=(l=i.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=i.replace(w,"tb");break;case 232:l=i.replace(w,"tb-rl");break;case 220:l=i.replace(w,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+l+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,c=(l=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:i=i.replace(l,"-webkit-"+l)+";"+i;break;case 207:case 102:i=i.replace(l,"-webkit-"+(102<c?"inline-":"")+"box")+";"+i.replace(l,"-webkit-"+l)+";"+i.replace(l,"-ms-"+l+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return l=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+l+"-ms-flex-"+l+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(C,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(C,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?a(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):i.replace(l,"-webkit-"+l)+i.replace(l,"-moz-"+l.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+n&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+i}return i}function o(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),$(2!==t?n:n.replace(A,"$1"),r,t)}function i(e,t){var r=a(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(k," or ($1)").substring(4):"("+t+")"}function c(e,t,r,n,a,o,i,c,l,u){for(var f,p=0,d=t;p<I;++p)switch(f=T[p].call(s,e,d,r,n,a,o,i,c,l,u)){case void 0:case!1:case!0:case null:break;default:d=f}if(d!==t)return d}function l(e){return void 0!==(e=e.prefix)&&($=null,e?"function"!=typeof e?j=1:(j=2,$=e):j=0),l}function s(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<I){var a=c(-1,r,n,n,L,E,0,0,0,0);void 0!==a&&"string"==typeof a&&(r=a)}var o=t(_,n,r,0,0);return 0<I&&void 0!==(a=c(-2,o,n,n,L,E,o.length,0,0,0))&&(o=a),P=0,E=L=1,o}var u=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,v=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,k=/([\s\S]*?);/g,C=/-self|flex-/g,A=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,E=1,L=1,P=0,j=1,_=[],T=[],I=0,$=null,q=0;return s.use=function e(t){switch(t){case void 0:case null:I=T.length=0;break;default:if("function"==typeof t)T[I++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else q=0|!!t}return e},s.set=l,void 0!==e&&l(e),s}},22799:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case f:case o:case c:case i:case d:return e;default:switch(e=e&&e.$$typeof){case s:case p:case g:case m:case l:return e;default:return t}}case a:return t}}}function k(e){return x(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=s,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=a,t.Profiler=c,t.StrictMode=i,t.Suspense=d,t.isAsyncMode=function(e){return k(e)||x(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===s},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===c},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===c||e===i||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===s||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},39316:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const a=function(){var e=Object.create(null);return function(t){return void 0===e[t]&&(e[t]=(r=t,n.test(r)||111===r.charCodeAt(0)&&110===r.charCodeAt(1)&&r.charCodeAt(2)<91)),e[t];var r}}()},44363:(e,t,r)=>{"use strict";e.exports=r(22799)},58188:(e,t,r)=>{"use strict";var n=r(96540),a=r(5338),o=r(79056),i=o.default.div.withConfig({displayName:"QrPopup",componentId:"sc-mqw1wu-0"})(['position:absolute;top:0;left:0;width:100%;height:100%;display:flex;font:400 16px/1 "ProximaNova",Helvetica,sans-serif;letter-spacing:0;color:#15374C;-webkit-font-smoothing:antialiased;pointer-events:none;overflow-x:hidden;overflow-y:auto;z-index:5000;box-sizing:border-box;*{box-sizing:inherit;}&:before{box-sizing:inherit;}&:after{box-sizing:inherit;}']),c=o.default.div.withConfig({displayName:"Overlay",componentId:"sc-mqw1wu-1"})(["position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:5000;"]),l=o.default.div.withConfig({displayName:"Box",componentId:"sc-mqw1wu-2"})(["position:relative;display:flex;flex-direction:column;width:100%;height:100%;border-radius:8px;background-color:#fff;box-shadow:0px 2px 6px rgba(0,0,0,0.16),0px 4px 16px rgba(0,0,0,0.12);pointer-events:auto;z-index:5001;"]),s=o.default.div.withConfig({displayName:"Header",componentId:"sc-mqw1wu-3"})(["margin-bottom:1.5rem;padding:1.25rem 1.25rem 0;"]),u=o.default.div.withConfig({displayName:"Body",componentId:"sc-mqw1wu-4"})(["display:flex;flex-direction:column;flex:1 1 auto;padding:0 1.25rem 1.25rem;overflow-y:auto;"]),f=o.default.button.withConfig({displayName:"CloseBtn",componentId:"sc-mqw1wu-5"})(["position:absolute;top:-3px;right:-25px;width:22px;height:22px;margin:0;padding:4px;border:none;background:none;cursor:pointer;&:focus{outline:none;}&:focus svg{box-shadow:0 0 0 2px #00a3d9;border-radius:2px;}svg{width:14px;height:14px;fill:#FFFFFF;}@media (max-width:680px){top:8px;right:6px;svg{fill:#333333 !important;}}"]),p=o.default.h2.withConfig({displayName:"Title",componentId:"sc-mqw1wu-6"})(["margin:0;font-size:1.5em !important;font-weight:bold;color:#000;font-family:inherit;"]),d=o.default.div.withConfig({displayName:"Qr",componentId:"sc-mqw1wu-7"})(["display:flex;align-items:center;justify-content:center;svg{width:230px;height:230px;}"]),h=o.default.h2.withConfig({displayName:"QrTitle",componentId:"sc-mqw1wu-8"})(["margin:0;margin-top:16px;font-size:16px !important;color:#333333;font-weight:700;text-align:center;"]),m=o.default.p.withConfig({displayName:"QrDescription",componentId:"sc-mqw1wu-9"})(["margin:0;margin-top:10px;margin-bottom:18px;font-size:14px !important;color:#333333;text-align:center;"]),g=o.default.div.withConfig({displayName:"QrStore",componentId:"sc-mqw1wu-10"})(["display:flex;flex-flow:row wrap;align-items:center;justify-content:center;margin:-5px;margin-top:auto;"]),y=o.default.div.withConfig({displayName:"QrStoreItem",componentId:"sc-mqw1wu-11"})(["padding:5px;"]),b=o.default.a.withConfig({displayName:"QrStoreLink",componentId:"sc-mqw1wu-12"})(["display:flex;"]),v=o.default.button.withConfig({displayName:"QrButtonBack",componentId:"sc-mqw1wu-13"})(["display:flex;align-items:center;justify-content:center;height:56px;margin-top:18px;padding:0 16px;border:0;border-radius:4px;font-size:14px !important;font-weight:600;color:#00A3D9;text-decoration:none;background:transparent;transition:all 0.15s linear;cursor:pointer;&:hover{color:#FFFFFF;background:#00A3D9;}"]);function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function x(){x=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),c=new T(n||[]);return a(i,"_invoke",{value:L(e,r,c)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",d="suspendedYield",h="executing",m="completed",g={};function y(){}function b(){}function v(){}var k={};s(k,i,(function(){return this}));var C=Object.getPrototypeOf,A=C&&C(C(I([])));A&&A!==r&&n.call(A,i)&&(k=A);var S=v.prototype=y.prototype=Object.create(k);function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(a,o,i,c){var l=f(e[a],e,o);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==w(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(u).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,a){r(e,n,t,a)}))}return o=o?o.then(a,a):a()}})}function L(t,r,n){var a=p;return function(o,i){if(a===h)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var l=P(c,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var s=f(t,r,n);if("normal"===s.type){if(a=n.done?m:d,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=m,n.method="throw",n.arg=s.arg)}}}function P(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=f(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function I(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(w(t)+" is not iterable")}return b.prototype=v,a(S,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:b,configurable:!0}),b.displayName=s(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},O(E.prototype),s(E.prototype,c,(function(){return this})),t.AsyncIterator=E,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new E(u(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},O(S),s(S,l,"Generator"),s(S,i,(function(){return this})),s(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=I,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(_),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;_(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:I(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function k(e,t,r,n,a,o,i){try{var c=e[o](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,a)}function C(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var o=e.apply(t,r);function i(e){k(o,n,a,i,c,"next",e)}function c(e){k(o,n,a,i,c,"throw",e)}i(void 0)}))}}function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){var n,a,o;n=e,a=t,o=r[t],(a=function(e){var t=function(e){if("object"!==w(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==w(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===w(t)?t:String(t)}(a))in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var E={isShown:!1,qr:null,qrId:null,isExpired:!1},L="ru"===Site.currentLanguage,P=function(){var e,t,r=(e=(0,n.useState)(E),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,c=[],l=!0,s=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){s=!0,a=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw a}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return O(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=r[0],o=r[1],w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o((function(t){return S(S({},t),e)}))},k=a.isShown,A=a.qr,P=a.qrId,j=a.isExpired,_=(0,n.useRef)(),T=function(){clearInterval(_.current),w(E)},I=function(){var e=C(x().mark((function e(){var t;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,LJ.Api.call("user.qrlogin_get_status",{qr_id:P});case 2:"expired"===(t=e.sent).status&&(clearInterval(_.current),w({isExpired:!0})),"OK"===t.status&&(clearInterval(_.current),window.location.reload());case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),$=function(){var e=C(x().mark((function e(){var t,r,n;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,LJ.Api.call("user.qrlogin_get_id",{});case 2:if(t=e.sent,!(r=t.qr_id)){e.next=11;break}return e.next=7,fetch("".concat(Site.siteroot,"/qrauth/code/?qr_id=").concat(r),{credentials:"include"});case 7:return e.next=9,e.sent.text();case 9:n=e.sent,w({qr:n,qrId:r,isShown:!0});case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,n.useEffect)((function(){LJ.Event.on("QrAuthModal.requestShow",(function(){$()})),LJ.Event.on("QrAuthModal.requestHide",(function(){T()}))}),[]),(0,n.useEffect)((function(){P&&(_.current=setInterval((function(){I()}),1e3),setTimeout((function(){return clearInterval(_.current)}),3e5))}),[P]),k?n.createElement(n.Fragment,null,n.createElement(c,{onClick:T}),n.createElement(i,null,n.createElement(l,null,n.createElement(s,null,n.createElement(p,null,LJ.ml("qr.auth.modal.signin.title")),n.createElement(f,{className:"svgicon flaticon flaticon--cross",onClick:T,"aria-label":"Close","aria-required":"true"},n.createElement("svg",{width:"14",height:"14",viewBox:"0 0 12 12"},n.createElement("path",{d:"M4.574 6L.297 10.277c-.397.397-.395 1.033 0 1.427.396.396 1.032.393 1.426 0L6 7.425l4.277 4.277c.397.397 1.033.395 1.427 0 .396-.396.393-1.032 0-1.426L7.425 6l4.277-4.277c.397-.397.395-1.033 0-1.427-.396-.396-1.032-.393-1.426 0L6 4.575 1.723.297C1.326-.1.69-.098.296.297c-.396.396-.393 1.032 0 1.426L4.575 6z"})))),A&&n.createElement(u,null,n.createElement(d,{style:{opacity:j?.5:1},dangerouslySetInnerHTML:{__html:A}}),!j&&n.createElement(n.Fragment,null,n.createElement(h,null,LJ.ml("qr.auth.modal.title")),n.createElement(m,null,LJ.ml("qr.auth.modal.message"))),j&&n.createElement(n.Fragment,null,n.createElement(h,{style:{color:"#FF4C44"}},LJ.ml("qr.auth.modal.time.is.over.title")),n.createElement(m,null,LJ.ml("qr.auth.modal.time.is.over.message"))),n.createElement(g,null,n.createElement(y,null,n.createElement(b,{href:"".concat(Site.siteroot,"/app/"),title:LJ.ml("schemius.footer.apps.download")},L?n.createElement("svg",{className:"flaticon--app-android-2-ru",width:"108",height:"36"},n.createElement("use",{xlinkHref:"#flaticon--app-android-2-ru"})):n.createElement("svg",{className:"flaticon--app-android-2",width:"108",height:"36"},n.createElement("use",{xlinkHref:"#flaticon--app-android-2"})))),n.createElement(y,null,n.createElement(b,{href:"https://redirect.appmetrica.yandex.com/serve/1109058615601278454",target:"_blank",title:LJ.ml("schemius.footer.apps.huawei")},L?n.createElement("svg",{className:"flaticon--app-huawei-ru",width:"120",height:"36"},n.createElement("use",{xlinkHref:"#flaticon--app-huawei-ru"})):n.createElement("svg",{className:"flaticon--app-huawei",width:"120",height:"36"},n.createElement("use",{xlinkHref:"#flaticon--app-huawei"})))),n.createElement(y,null,n.createElement(b,{href:"https://redirect.appmetrica.yandex.com/serve/28195773657121097",target:"_blank",title:LJ.ml("schemius.footer.apps.rustore")},L?n.createElement("svg",{className:"flaticon--app-rustore",width:"108",height:"36"},n.createElement("use",{xlinkHref:"#flaticon--app-rustore"})):n.createElement("svg",{className:"flaticon--app-rustore-en",width:"108",height:"36"},n.createElement("use",{xlinkHref:"#flaticon--app-rustore-en"}))))),n.createElement(v,{type:"button",onClick:T},LJ.ml("qr.auth.modal.button.to.default.auth.text")))))):null},j=!1;LJ.define("LJ.Components.QrAuthModal"),LJ.Components.QrAuthModal.init=function(){if(!j){var e=Array.from(document.querySelectorAll(".js--login-wrap")),t=e[e.length-1];if(t){var r=document.createElement("div");t.appendChild(r),(0,a.H)(r).render(n.createElement(P,null)),j=!0}}}},69982:(e,t,r)=>{"use strict";e.exports=r(7463)}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,n),o.exports}n.m=t,e=[],n.O=(t,r,a,o)=>{if(!r){var i=1/0;for(u=0;u<e.length;u++){for(var[r,a,o]=e[u],c=!0,l=0;l<r.length;l++)(!1&o||i>=o)&&Object.keys(n.O).every((e=>n.O[e](r[l])))?r.splice(l--,1):(c=!1,o<i&&(i=o));if(c){e.splice(u--,1);var s=a();void 0!==s&&(t=s)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,a,o]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={971:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,[i,c,l]=r,s=0;if(i.some((t=>0!==e[t]))){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);if(l)var u=l(n)}for(t&&t(r);s<i.length;s++)o=i[s],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(u)},r=self.webpackChunkfrontend_bundled=self.webpackChunkfrontend_bundled||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0;var a=n.O(void 0,[35],(()=>n(58188)));a=n.O(a)})();
/* <<< file end: js/front-bundled/dist/qrAuthModal.js */

//# map link was there [qrAuthModal.js.map]
/* >>> file start: js/webpackRequires/front-bundled/QrAuthModal.js */
//= require_ml qr.auth.modal.title
//= require_ml qr.auth.modal.signin.title
//= require_ml qr.auth.modal.message
//= require_ml qr.auth.modal.time.is.over.title
//= require_ml qr.auth.modal.time.is.over.message
//= require_ml qr.auth.modal.button.to.default.auth.text
//= require_ml schemius.footer.apps.ios
//= require_ml schemius.footer.apps.android
//= require_ml schemius.footer.apps.download
//= require_ml schemius.footer.apps.rustore
//= require_ml schemius.footer.apps.huawei

/* <<< file end: js/webpackRequires/front-bundled/QrAuthModal.js */

//# map link was there [QrAuthModal.js.map]
/* >>> file start: js/core/security.js */
function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(r,e){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var a,n,o,i,l=[],u=!0,y=!1;try{if(o=(t=t.call(r)).next,0===e){if(Object(t)!==t)return;u=!1}else for(;!(u=(a=o.call(t)).done)&&(l.push(a.value),l.length!==e);u=!0)(function(r){return r})()}catch(c){y=!0,n=c}finally{try{if(!u&&null!=t["return"]&&(i=t["return"](),Object(i)!==i))return}finally{if(y)throw n}}return l}}function _arrayWithHoles(r){return Array.isArray(r)?r:void 0}function _maybeArrayLike(r,e,t){if(e&&!Array.isArray(e)&&"number"==typeof e.length){var a=e.length;return _arrayLikeToArray(e,void 0!==t&&a>t?t:a)}return r(e,t)}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){if(r){if("string"==typeof r)return _arrayLikeToArray(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,e):void 0}}function _iterableToArray(r){return"undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"]?Array.from(r):void 0}function _arrayWithoutHoles(r){return Array.isArray(r)?_arrayLikeToArray(r):void 0}function _arrayLikeToArray(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,a=new Array(e);e>t;t++)a[t]=r[t];return a}!function(){LJ.define("LJ.Security"),LJ.Security.sanitizeUrlParams=function(){var r=new URL(window.location.href),e=_maybeArrayLike(_toConsumableArray,r.searchParams),t=!1;e.forEach(function(e){var a=_maybeArrayLike(_slicedToArray,e,2),n=a[0],o=a[1];(o.includes("{{")||o.includes("}}")||o.includes("()"))&&(r.searchParams["delete"](n),t=!0)}),t&&window.location.replace(r.href)}}();
/* <<< file end: js/core/security.js */

//# map link was there [security.js.map]
/* >>> file start: js/widgets/angular/login.js */
//= require js/core/angular/api.js
//= require js/core/crossStorageClient.js
//= require js/front-bundled/dist/qrAuthModal.js
//= require js/webpackRequires/front-bundled/QrAuthModal.js
//= require js/core/security.js
//= require_ml loginform.error.enterpassword
//= require_ml loginform.error.purgeduser
//= require_ml loginform.error.enteruser
//= require_ml loginform.error.ipbanned
//= require_ml loginform.error.ipbanned.sysban
//= require_ml loginform.error.ipbanned.distribution
//= require_ml loginform.error.openid
//= require_ml loginform.error.password
//= require_ml loginform.error.usercreate
//= require_ml error.nocommlogin
//= require_ml error.login.limit.exceeded
//= require_ml error.expiredchal
//= require_ml error.account_locked.text
//= require_ml error.user_is_child.text
//= require_ml login.message.no_login_in_browser
//= require_ml loginform.error.corrupted_password
//= require_ml loginform.warning.webview_external_domain_issues
!function(r){return r}(),function(){function r(r){r.html5Mode({enabled:!0,requireBase:!1})}function e(){return{controllerAs:"loginForm",controller:o,link:function(r,e){e.find("a:not([target])").attr("target","_self")}}}function o(r,e,o,n,s){function t(){var r=!!Site.journal&&!/livejournal.com/gi.test(Site.journal.journal_url),e=LJ.Support&&LJ.Support.browser&&LJ.Support.browser.safari;r&&e&&LJ.Util.CrossStorage.getItem("lastLogin",{parseJSON:!0}).then(function(r){if(r){var e=r.time,o=+new Date,n=(o-e)/1e3;30>=n&&!LJ.get("remote")?LJ.Messages.add({type:"error",body:LJ.ml("login.message.no_login_in_browser")}):LJ.Util.CrossStorage.setItem("lastLogin","")}})}var a,i=this,l=angular.element(".b-fader");i.hasError=!1,i.siteroot=LJ.get("siteroot"),i.isMobile=LJ.Support.isMobile()||!!~navigator.userAgent.toLowerCase().indexOf("android"),i.forceRemember=null,i.expire=!0,null===(a=LJ.Components)||void 0===a||a.QrAuthModal.init(),i.qrAuthModalShow=function(){LJ.Event.trigger("QrAuthModal.requestShow")},i.close=function(r){r.target===r.currentTarget&&(r&&r.preventDefault(),o(function(){l.triggerHandler("click"),LJ.Event.trigger("QrAuthModal.requestHide")}))},t(),i.loginUser=function(r){r.preventDefault(),i.forceRemember&&(i.expire=!0),i.model.username&&i.model.password?(i.loginIsPending=!0,s.call("user.login",{user:i.model.username,password:i.model.password,expire:i.expire?"never":"remember_me"},{silent:!0}).then(i.sucsessLogin)["catch"](i.onError)):i.model.username?i.model.password||i.onError({message:"invalid_password"}):i.onError({message:"invalid_user"})},i.loginOpenID=function(r){i.model.openid||(r.preventDefault(),i.onError({message:"invalid_id"}))},i.sucsessLogin=function(){LJ.Util.CrossStorage.setItem("lastLogin",{time:+new Date}),LJ.Event.trigger("login:success");var r=window.location.pathname;~r.indexOf("logout")?window.location.replace("/login.bml"):window.custom_auth?window.custom_auth({reloadIframe:!0}).then(function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r.hasAuthMatch&&r.isCookieChanged&&window.location.reload()}):window.location.reload()},i.onError=function(r){switch(i.resetError(),i.loginIsPending=!1,i.hasError=!0,r.message){case"unknown_user":i.errorUsername=!0,i.errorMessage=n.trustAsHtml(LJ.ml("loginform.error.usercreate",{domain:i.siteroot,username:i.model.username}));break;case"purged_user":i.errorUsername=!0,i.errorMessage=n.trustAsHtml(LJ.ml("loginform.error.purgeduser"));break;case"community_disabled_login":i.errorUsername=!0,i.errorMessage=n.trustAsHtml(LJ.ml("error.nocommlogin"));break;case"invalid_user":i.errorUsername=!0,i.errorMessage=n.trustAsHtml(LJ.ml("loginform.error.enteruser"));break;case"bad_password":i.errorPassword=!0,i.errorMessage=n.trustAsHtml(LJ.ml("loginform.error.password"));break;case"invalid_password":i.errorPassword=!0,i.errorMessage=n.trustAsHtml(LJ.ml("loginform.error.enterpassword"));break;case"banned_ip":i.errorUsername=!0,i.errorMessage=n.trustAsHtml(LJ.ml("loginform.error.ipbanned"));break;case"banned_ip_sysban":i.errorUsername=!0,i.errorMessage=n.trustAsHtml(LJ.ml("loginform.error.ipbanned.sysban"));break;case"banned_ip_distrib":i.errorUsername=!0,i.errorMessage=n.trustAsHtml(LJ.ml("loginform.error.ipbanned.distribution"));break;case"invalid_id":i.errorId=!0,i.errorMessage=n.trustAsHtml(LJ.ml("loginform.error.openid"));break;case"ratelimit_exceeded":i.errorUsername=!0,i.errorMessage=n.trustAsHtml(LJ.ml("loginform.error.openid"));break;case"expired_challenge":i.errorUsername=!0,i.errorMessage=n.trustAsHtml(LJ.ml("error.expiredchal"));break;case"account_locked":i.errorUsername=!0,i.errorMessage=n.trustAsHtml(LJ.ml("error.account_locked.text"));break;case"is_child":i.errorUsername=!0,i.errorMessage=n.trustAsHtml(LJ.ml("error.user_is_child.text"));break;case"corrupted_password":i.errorPassword=!0,i.errorMessage=n.trustAsHtml(LJ.ml("loginform.error.corrupted_password"));break;default:i.errorUsername=!0,i.errorMessage=n.trustAsHtml("Unknown error")}},o(function(){LJ.Support.browser.webkit&&(angular.element("input:-webkit-autofill").length&&angular.element(".b-loginform-btn--auth").removeClass("b-loginform-btn--disabled"),function(r){return r}())},100),i.resetError=function(){i.errorError=i.errorUsername=i.errorPassword=i.errorIp=i.errorId=!1},e.$watch(function(){return i.model},function(){i.hasError&&i.resetError()},!0),LJ.Support.isWebView&&Site.isCustomDomain&&(i.presubmitWarning=LJ.ml("loginform.warning.webview_external_domain_issues")),i.getLoginBtnIsEnabled=function(){return!i.loginIsPending&&i.model.username&&i.model.password}}o.$inject=["$window","$scope","$timeout","$sce","Api"],r.$inject=["$locationProvider"],LJ.Security.sanitizeUrlParams(),angular.module("Login",["LJ.Api","LJ.Directives"]).config(r).controller("LoginCtrl",o).directive("ljLogin",e),function(r){return r}(),angular.element(window.document).ready(function(){if(!angular.element("body[ng-app]").length>0)try{angular.bootstrap(".b-loginform",["Login"])}catch(r){console.info(r.message,r.stack)}})}();
/* <<< file end: js/widgets/angular/login.js */

//# map link was there [login.js.map]
/* >>> file start: js/widgets/angular/mediusSubscribe.js */
//!= require js/core/angular/messages.js
//= require_ml medius.subscribe.banner.title
//= require_ml medius.subscribe.banner.text
//= require_ml medius.subscribe.button.text
//= require_ml medius.subscribe.subscribed
//= require_ml medius.footer.newsletter
//= require_ml medius.main.subscription.text
//= require_ml medius.main.subscription.success
//= require_ml medius.main.subscription
//= require_ml schemius.medius.subscribe
//= require_ml schemius.medius.subscribetonews
//= require_ml schemius.medius.dailynewsletter
//= require_ml schemius.medius.youremail
//= require_ml schemius.medius.subscribed
//= require_ml schemius.medius.unsubscribe
Site.page.template['Widgets/Medius/subscribe.tmpl'] = '<!-- if subscribed -->\n\n<div class=\"subscription\">\n    <h4 class=\"mdsfooter-section__title\" lj-ml=\"medius.footer.newsletter\"></h4>\n    <header class=\"subscription__header\">\n        <h2 lj-ml=\"medius.subscribe.banner.title\" class=\"subscription__title\"></h2>\n        <p lj-ml=\"medius.subscribe.banner.text\" class=\"subscription__title subscription--subtitle\"></p>\n    </header>\n    <form class=\"subscription__aside\">\n        <button ng-click=\"subscribe.do($event)\" lj-ml=\"medius.subscribe.button.text\" class=\"flatbutton flatbutton--small\"></button>\n    </form>\n</div>\n';
Site.page.template['Widgets/Medius/subscribe137.tmpl'] = '<!-- if subscribed -->\n\n<div \n    class=\"stories__subscription-main story story--size-10by05\"\n    ng-class=\"{\n      \'stories__subscription-main--subscribed\': subscribe.subscribed,\n      \'stories__subscription-main--hide\': subscribe.hide\n    }\"\n    >\n    <div class=\"stories__subscription-main-inner\">\n        <span\n            class=\"stories__subscription-main-text\"\n            lj-ml=\"medius.main.subscription.text\"\n            >\n        </span>\n        <span\n            class=\"stories__subscription-main-success\"\n            lj-ml=\"medius.main.subscription.success\"\n            >\n        </span>\n        <button\n            class=\"flatbutton\"\n            lj-ml=\"medius.main.subscription\"\n            ng-click=\"subscribe.do($event)\" \n            >\n        </button>\n    </div>\n</div>\n';
Site.page.template['Widgets/Medius/schemius_header_subscribe.tmpl'] = '<header\n    class=\"\n        s-header-menu-head\n        s-header-menu-subscription__head\n        \"\n    >\n    <span\n        class=\"s-header-menu-head__title\"\n        ><!--\n        --><span\n            class=\"s-header-menu-head__title--long\"\n            lj-ml=\"schemius.medius.subscribetonews\"\n            ></span><!--\n        --><span\n            class=\"s-header-menu-head__title--short\"\n            lj-ml=\"schemius.medius.dailynewsletter\"\n            ></span><!--\n    --></span>\n</header>\n\n<div\n    class=\"s-header-menu-subscription__body\"\n    >\n\n    <div\n        class=\"\n            s-header-menu-subscription__unsubscribed\n            s-header-menu-subscription-unsubscribed\n            \"\n        >\n        <button\n            type=\"submit\"\n            class=\"s-header-menu-subscription-unsubscribed__button\"\n            ng-click=\"subscribe.do($event)\"\n            lj-ml=\"schemius.medius.subscribe\"\n            ></button>\n    </div>\n\n    <div\n        class=\"\n            s-header-menu-subscription__subscribed\n            s-header-menu-subscription-subscribed\n            \"\n        >\n        <span\n            class=\"s-header-menu-subscription-subscribed__icon\"\n            lj-svg-icon=\"flaticon--check\"\n            ></span>\n        <h3\n            class=\"s-header-menu-subscription-subscribed__title\"\n            lj-ml=\"schemius.medius.subscribed\"\n            ></h3>\n    </div>\n</div>\n';
!function(){"use strict";function e(e,i){function s(i){return LJ.get("is_subscribed")?void 0:LJ.get("remote")?e.call("discovery.subscribe",null,{silent:!0}).then(r.hideWidget)["catch"](t):LJ.Util.Action.login(i)}function t(e){var s=e.message;"Access Denied"===s?LJ.Util.Action.login():i.add({type:"error",body:s})}var r=this;r["do"]=s}function i(){function e(e,i,s,t){var r=LJ.get("is_subscribed");return t.widget=i,t.hideWidget=function(e){var i=e.status;"OK"===i&&t.widget.addClass("stories__subscription--hidden")},r||angular.isUndefined(r)?t.hideWidget({status:"OK"}):void 0}return{restrict:"AE",templateUrl:"subscribe.tmpl",controller:"mediusSubscribeCtrl",controllerAs:"subscribe",link:e}}function s(e){function i(i,s,t,r){var u=LJ.get("is_subscribed");return r.widget=s,r.hideWidget=function(i){var s=i.status;"OK"===s&&(r.subscribed=!0,e(function(){r.hide=!0},3e3))},u||angular.isUndefined(u)?r.hideWidget({status:"OK"}):void 0}return{restrict:"AE",templateUrl:"subscribe137.tmpl",controller:"mediusSubscribeCtrl",controllerAs:"subscribe",link:i}}function t(e){function i(e,i,s,t){t.widget=i,t.subscribed=LJ.get("is_subscribed"),t.hideWidget=function(e){var i=e.status;"OK"===i&&(t.subscribed=!0)}}return{restrict:"AE",templateUrl:"schemius_header_subscribe.tmpl",controller:"mediusSubscribeCtrl",controllerAs:"subscribe",link:i}}e.$inject=["Api","Messages"],s.$inject=["$timeout"],t.$inject=["$timeout"],angular.module("Medius.Subscribe",["LJ.Messages","LJ.Api"]),angular.module("Medius.Subscribe").controller("mediusSubscribeCtrl",e).directive("mediusSubscribe",i).directive("mediusSubscribe137",s).directive("mediusSchemiusHeaderSubscribe",t),LJ.Flags.isEnabled("medius_schemius")&&angular.element(window.document).ready(function(){angular.bootstrap(".s-header-menu-subscription",["Medius.Subscribe"])})}();
/* <<< file end: js/widgets/angular/mediusSubscribe.js */

//# map link was there [mediusSubscribe.js.map]
/* >>> file start: js/scheme/medius.js */
//= require js/widgets/angular/mediusSubscribe.js
//= require js/core/angular/api.js
!function(){"use strict";angular.element(document).ready(function(){if(0!==angular.element(".mdsfooter").length){var e=angular.element(".mdsfooter").find("[medius-subscribe]");angular.bootstrap(e,["Medius.Subscribe"])}})}();
/* <<< file end: js/scheme/medius.js */

//# map link was there [medius.js.map]
