!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/en/dafa",n(n.s=104)}([function(e,t,n){"use strict";t.d=function(){return o.a.hasClass.apply(this,arguments)},t.b=function(){return o.a.addClass.apply(this,arguments)},t.c=function(){return o.a.removeClass.apply(this,arguments)},t.z=function(){return o.a.toggleClass.apply(this,arguments)},t.y=function(){return o.a.findSibling.apply(this,arguments)},t.l=function(){return o.a.findParent.apply(this,arguments)},t.B=function(){return o.a.nextElementSibling.apply(this,arguments)},t.C=function(){return o.a.previousElementSibling.apply(this,arguments)},t.u=function(){return o.a.scrollTo.apply(this,arguments)},t.E=function(){return o.a.hasAttribute.apply(this,arguments)},t.F=function(){return o.a.removeAttributes.apply(this,arguments)},t.a=function(){return i.a.ready.apply(this,arguments)},t.f=function(){return i.a.addEventListener.apply(this,arguments)},t.g=function(){return i.a.removeEventListener.apply(this,arguments)},t.r=function(){return i.a.invoke.apply(this,arguments)},t.k=function(){return i.a.preventDefault.apply(this,arguments)},t.e=function(){return i.a.triggerEvent.apply(this,arguments)},t.t=function(){return i.a.eventType.apply(this,arguments)},t.p=function(){return r.a.forEach.apply(this,arguments)},t.A=function(){return r.a.isArray.apply(this,arguments)},t.j=function(){return r.a.forEachElement.apply(this,arguments)},t.q=function(){return r.a.filter.apply(this,arguments)},t.i=function(){return r.a.isEmptyObject.apply(this,arguments)},t.H=function(){return r.a.empty.apply(this,arguments)},t.D=function(){return r.a.append.apply(this,arguments)},t.h=function(){return r.a.inArray.apply(this,arguments)},t.I=function(){return s.a.trim.apply(this,arguments)},t.G=function(){return s.a.replaceStringTokens.apply(this,arguments)},t.v=function(){return a.a.getCookie.apply(this,arguments)},t.w=function(){return a.a.removeCookie.apply(this,arguments)},t.x=function(){return a.a.setCookie.apply(this,arguments)},t.n=function(){return l.a.url.apply(this,arguments)},t.m=function(){return l.a.getParameterByName.apply(this,arguments)},t.o=function(){return l.a.getParameters.apply(this,arguments)},t.s=function(){return l.a.addQueryParam.apply(this,arguments)};var o=n(7),i=n(20),r=n(23),s=n(22),a=n(17),l=n(24);n(18),n(21),n(19)},function(e,t,n){"use strict";t.__esModule=!0,t.extend=a,t.indexOf=function(e,t){for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}if(!r.test(e))return e;return e.replace(i,s)},t.isEmpty=function(e){return!e&&0!==e||!(!u(e)||0!==e.length)},t.createFrame=function(e){var t=a({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var o={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},i=/[&<>"'`=]/g,r=/[&<>"'`=]/;function s(e){return o[e]}function a(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var l=Object.prototype.toString;t.toString=l;var c=function(e){return"function"==typeof e};c(/x/)&&(t.isFunction=c=function(e){return"function"==typeof e&&"[object Function]"===l.call(e)}),t.isFunction=c;var u=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===l.call(e)};t.isArray=u},function(e,t,n){e.exports=n(26)["default"]},function(e,t){e.exports=function(e,t,n,o){switch(t){case"===":return e===n?o.fn(this):o.inverse(this);case"!==":return e!==n?o.fn(this):o.inverse(this);case"<":return e<n?o.fn(this):o.inverse(this);case"<=":return e<=n?o.fn(this):o.inverse(this);case">":return e>n?o.fn(this):o.inverse(this);case">=":return e>=n?o.fn(this):o.inverse(this);case"&&":return e&&n?o.fn(this):o.inverse(this);case"||":return e||n?o.fn(this):o.inverse(this);default:return o.inverse(this)}}},function(e,t,n){"use strict";t.a=function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var o=e.indexOf("Edge/");if(o>0)return parseInt(e.substring(o+5,e.indexOf(".",o)),10);return!1}},function(e,t,n){"use strict";t.__esModule=!0;var o=["description","fileName","lineNumber","message","name","number","stack"];function i(e,t){var n=t&&t.loc,r=undefined,s=undefined;n&&(e+=" - "+(r=n.start.line)+":"+(s=n.start.column));for(var a=Error.prototype.constructor.call(this,e),l=0;l<o.length;l++)this[o[l]]=a[o[l]];Error.captureStackTrace&&Error.captureStackTrace(this,i);try{n&&(this.lineNumber=r,Object.defineProperty?Object.defineProperty(this,"column",{value:s,enumerable:!0}):this.column=s)}catch(c){}}i.prototype=new Error,t["default"]=i,e.exports=t["default"]},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__,definition;
/*!
  * Reqwest! A general purpose XHR connection manager
  * license MIT (c) Dustin Diaz 2015
  * https://github.com/ded/reqwest
  */definition=function(){var context=this;if("window"in context)var doc=document,byTag="getElementsByTagName",head=doc[byTag]("head")[0];var httpsRe=/^http/,protocolRe=/(^\w+):\/\//,twoHundo=/^(20\d|1223)$/,readyState="readyState",contentType="Content-Type",requestedWith="X-Requested-With",uniqid=0,callbackPrefix="reqwest_"+ +new Date,lastValue,xmlHttpRequest="XMLHttpRequest",xDomainRequest="XDomainRequest",noop=function(){},isArray="function"==typeof Array.isArray?Array.isArray:function(e){return e instanceof Array},defaultHeaders={contentType:"application/x-www-form-urlencoded",requestedWith:xmlHttpRequest,accept:{"*":"text/javascript, text/html, application/xml, text/xml, */*",xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript",js:"application/javascript, text/javascript"}},xhr=function(e){if(!0===e.crossOrigin){var t=context[xmlHttpRequest]?new XMLHttpRequest:null;if(t&&"withCredentials"in t)return t;if(context[xDomainRequest])return new XDomainRequest;throw new Error("Browser does not support cross-origin requests")}return context[xmlHttpRequest]?new XMLHttpRequest:XHR2?new XHR2:new ActiveXObject("Microsoft.XMLHTTP")},globalSetupOptions={dataFilter:function(e){return e}};function succeed(e){var t=protocolRe.exec(e.url);return t=t&&t[1]||context.location.protocol,httpsRe.test(t)?twoHundo.test(e.request.status):!!e.request.response}function handleReadyState(e,t,n){return function(){return e._aborted?n(e.request):e._timedOut?n(e.request,"Request is aborted: timeout"):void(e.request&&4==e.request[readyState]&&(e.request.onreadystatechange=noop,succeed(e)?t(e.request):n(e.request)))}}function setHeaders(e,t){var n,o=t.headers||{};o.Accept=o.Accept||defaultHeaders.accept[t.type]||defaultHeaders.accept["*"];var i="undefined"!=typeof FormData&&t.data instanceof FormData;for(n in t.crossOrigin||o[requestedWith]||(o[requestedWith]=defaultHeaders.requestedWith),o[contentType]||i||(o[contentType]=t.contentType||defaultHeaders.contentType),o)o.hasOwnProperty(n)&&"setRequestHeader"in e&&e.setRequestHeader(n,o[n])}function setCredentials(e,t){"undefined"!=typeof t.withCredentials&&"undefined"!=typeof e.withCredentials&&(e.withCredentials=!!t.withCredentials)}function generalCallback(e){lastValue=e}function urlappend(e,t){return e+(/\?/.test(e)?"&":"?")+t}function handleJsonp(e,t,n,o){var i=uniqid++,r=e.jsonpCallback||"callback",s=e.jsonpCallbackName||reqwest.getcallbackPrefix(i),a=new RegExp("((^|\\?|&)"+r+")=([^&]+)"),l=o.match(a),c=doc.createElement("script"),u=0,d=-1!==navigator.userAgent.indexOf("MSIE 10.0");return l?"?"===l[3]?o=o.replace(a,"$1="+s):s=l[3]:o=urlappend(o,r+"="+s),context[s]=generalCallback,c.type="text/javascript",c.src=o,c.async=!0,"undefined"==typeof c.onreadystatechange||d||(c.htmlFor=c.id="_reqwest_"+i),c.onload=c.onreadystatechange=function(){if(c[readyState]&&"complete"!==c[readyState]&&"loaded"!==c[readyState]||u)return!1;c.onload=c.onreadystatechange=null,c.onclick&&c.onclick(),t(lastValue),lastValue=undefined,head.removeChild(c),u=1},head.appendChild(c),{abort:function(){c.onload=c.onreadystatechange=null,n({},"Request is aborted: timeout",{}),lastValue=undefined,head.removeChild(c),u=1}}}function getRequest(e,t){var n,o=this.o,i=(o.method||"GET").toUpperCase(),r="string"==typeof o?o:o.url,s=!1!==o.processData&&o.data&&"string"!=typeof o.data?reqwest.toQueryString(o.data):o.data||null,a=!1;return"jsonp"!=o.type&&"GET"!=i||!s||(r=urlappend(r,s),s=null),"jsonp"==o.type?handleJsonp(o,e,t,r):((n=o.xhr&&o.xhr(o)||xhr(o)).open(i,r,!1!==o.async),setHeaders(n,o),setCredentials(n,o),context[xDomainRequest]&&n instanceof context[xDomainRequest]?(n.onload=e,n.onerror=t,n.onprogress=function(){},a=!0):n.onreadystatechange=handleReadyState(this,e,t),o.before&&o.before(n),a?setTimeout(function(){n.send(s)},200):n.send(s),n)}function Reqwest(e,t){this.o=e,this.fn=t,init.apply(this,arguments)}function setType(e){return null===e?undefined:e.match("json")?"json":e.match("javascript")?"js":e.match("text")?"html":e.match("xml")?"xml":void 0}function init(o,fn){this.url="string"==typeof o?o:o.url,this.timeout=null,this._fulfilled=!1,this._successHandler=function(){},this._fulfillmentHandlers=[],this._errorHandlers=[],this._completeHandlers=[],this._erred=!1,this._responseArgs={};var self=this;function complete(e){for(o.timeout&&clearTimeout(self.timeout),self.timeout=null;self._completeHandlers.length>0;)self._completeHandlers.shift()(e)}function success(resp){var type=o.type||resp&&setType(resp.getResponseHeader("Content-Type"));resp="jsonp"!==type?self.request:resp;var filteredResponse=globalSetupOptions.dataFilter(resp.responseText,type),r=filteredResponse;try{resp.responseText=r}catch(e){}if(r)switch(type){case"json":try{resp=context.JSON?context.JSON.parse(r):eval("("+r+")")}catch(err){return error(resp,"Could not parse JSON in response",err)}break;case"js":resp=eval(r);break;case"html":resp=r;break;case"xml":resp=resp.responseXML&&resp.responseXML.parseError&&resp.responseXML.parseError.errorCode&&resp.responseXML.parseError.reason?null:resp.responseXML}for(self._responseArgs.resp=resp,self._fulfilled=!0,fn(resp),self._successHandler(resp);self._fulfillmentHandlers.length>0;)resp=self._fulfillmentHandlers.shift()(resp);complete(resp)}function timedOut(){self._timedOut=!0,self.request.abort()}function error(e,t,n){for(e=self.request,self._responseArgs.resp=e,self._responseArgs.msg=t,self._responseArgs.t=n,self._erred=!0;self._errorHandlers.length>0;)self._errorHandlers.shift()(e,t,n);complete(e)}fn=fn||function(){},o.timeout&&(this.timeout=setTimeout(function(){timedOut()},o.timeout)),o.success&&(this._successHandler=function(){o.success.apply(o,arguments)}),o.error&&this._errorHandlers.push(function(){o.error.apply(o,arguments)}),o.complete&&this._completeHandlers.push(function(){o.complete.apply(o,arguments)}),this.request=getRequest.call(this,success,error)}function reqwest(e,t){return new Reqwest(e,t)}function normalize(e){return e?e.replace(/\r?\n/g,"\r\n"):""}function serial(e,t){var n,o,i,r,s=e.name,a=e.tagName.toLowerCase(),l=function(e){e&&!e.disabled&&t(s,normalize(e.attributes.value&&e.attributes.value.specified?e.value:e.text))};if(!e.disabled&&s)switch(a){case"input":/reset|button|image|file/i.test(e.type)||(n=/checkbox/i.test(e.type),o=/radio/i.test(e.type),i=e.value,(!n&&!o||e.checked)&&t(s,normalize(n&&""===i?"on":i)));break;case"textarea":t(s,normalize(e.value));break;case"select":if("select-one"===e.type.toLowerCase())l(e.selectedIndex>=0?e.options[e.selectedIndex]:null);else for(r=0;e.length&&r<e.length;r++)e.options[r].selected&&l(e.options[r])}}function eachFormElement(){var e,t,n=this,o=function(e,t){var o,i,r;for(o=0;o<t.length;o++)for(r=e[byTag](t[o]),i=0;i<r.length;i++)serial(r[i],n)};for(t=0;t<arguments.length;t++)e=arguments[t],/input|select|textarea/i.test(e.tagName)&&serial(e,n),o(e,["input","select","textarea"])}function serializeQueryString(){return reqwest.toQueryString(reqwest.serializeArray.apply(null,arguments))}function serializeHash(){var e={};return eachFormElement.apply(function(t,n){t in e?(e[t]&&!isArray(e[t])&&(e[t]=[e[t]]),e[t].push(n)):e[t]=n},arguments),e}function buildParams(e,t,n,o){var i,r,s,a=/\[\]$/;if(isArray(t))for(r=0;t&&r<t.length;r++)s=t[r],n||a.test(e)?o(e,s):buildParams(e+"["+("object"==typeof s?r:"")+"]",s,n,o);else if(t&&"[object Object]"===t.toString())for(i in t)buildParams(e+"["+i+"]",t[i],n,o);else o(e,t)}return Reqwest.prototype={abort:function(){this._aborted=!0,this.request.abort()},retry:function(){init.call(this,this.o,this.fn)},then:function(e,t){return e=e||function(){},t=t||function(){},this._fulfilled?this._responseArgs.resp=e(this._responseArgs.resp):this._erred?t(this._responseArgs.resp,this._responseArgs.msg,this._responseArgs.t):(this._fulfillmentHandlers.push(e),this._errorHandlers.push(t)),this},always:function(e){return this._fulfilled||this._erred?e(this._responseArgs.resp):this._completeHandlers.push(e),this},fail:function(e){return this._erred?e(this._responseArgs.resp,this._responseArgs.msg,this._responseArgs.t):this._errorHandlers.push(e),this},"catch":function(e){return this.fail(e)}},reqwest.serializeArray=function(){var e=[];return eachFormElement.apply(function(t,n){e.push({name:t,value:n})},arguments),e},reqwest.serialize=function(){if(0===arguments.length)return"";var e,t=Array.prototype.slice.call(arguments,0);return(e=t.pop())&&e.nodeType&&t.push(e)&&(e=null),e&&(e=e.type),("map"==e?serializeHash:"array"==e?reqwest.serializeArray:serializeQueryString).apply(null,t)},reqwest.toQueryString=function(e,t){var n,o,i=t||!1,r=[],s=encodeURIComponent,a=function(e,t){t="function"==typeof t?t():null==t?"":t,r[r.length]=s(e)+"="+s(t)};if(isArray(e))for(o=0;e&&o<e.length;o++)a(e[o].name,e[o].value);else for(n in e)e.hasOwnProperty(n)&&buildParams(n,e[n],i,a);return r.join("&").replace(/%20/g,"+")},reqwest.getcallbackPrefix=function(){return callbackPrefix},reqwest.compat=function(e,t){return e&&(e.type&&(e.method=e.type)&&delete e.type,e.dataType&&(e.type=e.dataType),e.jsonpCallback&&(e.jsonpCallbackName=e.jsonpCallback)&&delete e.jsonpCallback,e.jsonp&&(e.jsonpCallback=e.jsonp)),new Reqwest(e,t)},reqwest.ajaxSetup=function(e){for(var t in e=e||{})globalSetupOptions[t]=e[t]},reqwest},void 0!==module&&module.exports?module.exports=definition():(__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof(__WEBPACK_AMD_DEFINE_FACTORY__=definition)?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__)===undefined||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},function(e,t,n){"use strict";var o;t.a=o={find:function(e,t,n){var o=0;for(void 0===n&&(n=5);o<n&&e;){if(t(e))return e;if(o+=1,(e=e.parentNode)===document||e===document.body)return}},hasClass:function(e,t,n,i){function r(e,t){if(e){if(e.classList)return e.classList.contains(t);if("undefined"!=typeof e.className)return!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}}if(!n||(void 0===i&&(i=10),r(e,t)||(e=o.findParent(e,"."+t,i)),e)){var s=r(e,t);return n&&s?e:s}},addClass:function(e,t){e&&(e.classList?e.classList.add(t):o.hasClass(e,t)||(e.className+=" "+t))},removeClass:function(e,t){if(e&&o.hasClass(e,t))if(e&&e.classList)e.classList.remove(t);else if(o.hasClass(e,t)){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ")}},toggleClass:function(e,t){if(e)if(e.classList)e.classList.toggle(t);else{for(var n=e.className.split(" "),o=-1,i=n.length;i--;)n[i]===t&&(o=i);o>=0?n.splice(o,1):n.push(t),e.className=n.join(" ")}},siblings:function(e){for(var t=e.parentNode.children,n=[],o=0,i=t.length;o<i;o++)1===t[o].nodeType&&n.push(t[o]);for(o=n.length;o--;)if(n[o]===e){n.splice(o,1);break}return n},findSibling:function(e,t){for(var n=document.querySelectorAll(t),i=o.siblings(e),r=0;r<i.length;r++)if(o.hasCollection(n,i[r]))return i[r]},findParent:function(e,t,n){var i=document.querySelectorAll(t),r=e.parentNode,s=0;for(void 0===n&&(n=10);s<n&&r&&!o.hasCollection(i,r);)if(s+=1,(r=r.parentNode)===document)return;return r},hasCollection:function(e,t){for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return!0;return!1},hasAttribute:function(e,t){if(e)for(var n=0,o=e.attributes,i=o.length;n<i;n++)if(o[n].nodeName===t)return!0;return!1},isNodeList:function(e){var t=Object.prototype.toString.call(e),n=NodeList.prototype.isPrototypeOf(e);return"object"==typeof e&&!("undefined"!=typeof e.tagName&&"SELECT"===e.tagName)&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(t)&&"number"==typeof e.length&&(0===e.length||"object"==typeof e[0]&&e[0].nodeType>0)||n},nextElementSibling:function(e){do{e=e.nextSibling}while(e&&1!==e.nodeType);return e},previousElementSibling:function(e){do{e=e.previousSibling}while(e&&1!==e.nodeType);return e},getAttributes:function(e){for(var t,n={},o=0,i=e.attributes,r=i.length;o<r;o++)n[(t=i[o]).nodeName]=t.nodeValue;return n},scrollTo:function(e,t){if(!(t<0)){var n=function(e){for(var t=e.offsetTop,n=e;n.offsetParent&&n.offsetParent!==document.body;)t+=(n=n.offsetParent).offsetTop;return t}(e),i=document.body.scrollTop+document.documentElement.scrollTop,r=(n-i)/t*10;setTimeout(function(){i+=r,document.body.scrollTop=i,document.documentElement.scrollTop=i,i!==n&&o.scrollTo(e,t-10)},10)}},getCoords:function(e){var t=e.getBoundingClientRect(),n=document.body,o=document.documentElement,i=window.pageYOffset||o.scrollTop||n.scrollTop,r=window.pageXOffset||o.scrollLeft||n.scrollLeft,s=o.clientTop||n.clientTop||0,a=o.clientLeft||n.clientLeft||0,l=t.top+i-s,c=t.left+r-a;return{top:Math.round(l),left:Math.round(c)}},prepend:function(e,t){var n=document.querySelectorAll(e)[0];n.insertBefore(t,n.children[0])},wrapElement:function(e,t,n){if(e){var i=document.createElement(t||"div");n&&o.addClass(i,n),e.parentNode.insertBefore(i,e),i.appendChild(e)}},createElem:function(e,t,n){var i=document.createElement(e);return t&&o.addClass(i,t),n&&n.appendChild(i),i},removeAttributes:function(e,t){for(var n=0;n<t.length;n++)o.hasAttribute(e,t[n])&&e.removeAttribute(t[n])},mergeObjects:function(e,t){for(var n in t)e[n]=t[n];return e}}},function(e,t,n){"use strict";t.a=function(){var e={};function t(){return!!localStorage}this.get=function(n){return t()?localStorage.getItem(n):e[n]?e[n]:null},this.set=function(n,o){return t()?localStorage.setItem(n,o):(e[n]=o,!0)},this.remove=function(n){return t()?localStorage.removeItem(n):!!e[n]&&(delete e[n],!0)}}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.HandlebarsEnvironment=c;var i=n(1),r=o(n(5)),s=n(29),a=n(27),l=o(n(37));t.VERSION="4.0.8";t.COMPILER_REVISION=7;t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};function c(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},s.registerDefaultHelpers(this),a.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:l["default"],log:l["default"].log,registerHelper:function(e,t){if("[object Object]"===i.toString.call(e)){if(t)throw new r["default"]("Arg not supported with multiple helpers");i.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if("[object Object]"===i.toString.call(e))i.extend(this.partials,e);else{if(void 0===t)throw new r["default"]('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if("[object Object]"===i.toString.call(e)){if(t)throw new r["default"]("Arg not supported with multiple decorators");i.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};var u=l["default"].log;t.log=u,t.createFrame=i.createFrame,t.logger=l["default"]},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(o){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var o,i;
/*!
  hey, [be]Lazy.js - v1.8.2 - 2016.10.25
  A fast, small and dependency free lazy load script (https://github.com/dinbror/blazy)
  (c) Bjoern Klinggaard - @bklinggaard - http://dinbror.dk/blazy
*/(i="function"==typeof(o=function(){"use strict";var e,t,n,o,i="src",r="srcset";return function(i){if(!document.querySelectorAll){var r=document.createStyleSheet();document.querySelectorAll=function(e,t,n,o,i){for(i=document.all,t=[],n=(e=e.replace(/\[for\b/gi,"[htmlFor").split(",")).length;n--;){for(r.addRule(e[n],"k:v"),o=i.length;o--;)i[o].currentStyle.k&&t.push(i[o]);r.removeRule(0)}return t}}var l=this,c=l._util={};c.elements=[],c.destroyed=!0,l.options=i||{},l.options.error=l.options.error||!1,l.options.offset=l.options.offset||100,l.options.root=l.options.root||document,l.options.success=l.options.success||!1,l.options.selector=l.options.selector||".b-lazy",l.options.separator=l.options.separator||"|",l.options.containerClass=l.options.container,l.options.container=!!l.options.containerClass&&document.querySelectorAll(l.options.containerClass),l.options.errorClass=l.options.errorClass||"b-error",l.options.breakpoints=l.options.breakpoints||!1,l.options.loadInvisible=l.options.loadInvisible||!1,l.options.successClass=l.options.successClass||"b-loaded",l.options.validateDelay=l.options.validateDelay||25,l.options.saveViewportOffsetDelay=l.options.saveViewportOffsetDelay||50,l.options.srcset=l.options.srcset||"data-srcset",l.options.src=e=l.options.src||"data-src",o=Element.prototype.closest,n=window.devicePixelRatio>1,(t={}).top=0-l.options.offset,t.left=0-l.options.offset,l.revalidate=function(){s(l)},l.load=function(e,t){var n=this.options;e&&e.length===undefined?u(e,t,n):S(e,function(e){u(e,t,n)})},l.destroy=function(){var e=l._util;l.options.container&&S(l.options.container,function(t){E(t,"scroll",e.validateT)}),E(window,"scroll",e.validateT),E(window,"resize",e.validateT),E(window,"resize",e.saveViewportOffsetT),e.count=0,e.elements.length=0,e.destroyed=!0},c.validateT=k(function(){a(l)},l.options.validateDelay,l),c.saveViewportOffsetT=k(function(){w(l.options.offset)},l.options.saveViewportOffsetDelay,l),w(l.options.offset),S(l.options.breakpoints,function(t){if(t.width>=window.screen.width)return e=t.src,!1}),setTimeout(function(){s(l)})};function s(e){var t=e._util;t.elements=function(e){for(var t=[],n=e.root.querySelectorAll(e.selector),o=n.length;o--;t.unshift(n[o]));return t}(e.options),t.count=t.elements.length,t.destroyed&&(t.destroyed=!1,e.options.container&&S(e.options.container,function(e){x(e,"scroll",t.validateT)}),x(window,"resize",t.saveViewportOffsetT),x(window,"resize",t.validateT),x(window,"scroll",t.validateT)),a(e)}function a(e){for(var t=e._util,n=0;n<t.count;n++){var o=t.elements[n];(l(o,e.options)||y(o,e.options.successClass))&&(e.load(o),t.elements.splice(n,1),t.count--,n--)}0===t.count&&e.destroy()}function l(e,n){var i=e.getBoundingClientRect();if(n.container&&o){var r=e.closest(n.containerClass);if(r){var s=r.getBoundingClientRect();if(c(s,t)){var a=s.top-n.offset,l=s.right+n.offset,u=s.bottom+n.offset,d=s.left-n.offset;return c(i,{top:a>t.top?a:t.top,right:l<t.right?l:t.right,bottom:u<t.bottom?u:t.bottom,left:d>t.left?d:t.left})}return!1}}return c(i,t)}function c(e,t){return e.right>=t.left&&e.bottom>=t.top&&e.left<=t.right&&e.top<=t.bottom}function u(t,o,s){if(!y(t,s.successClass)&&(o||s.loadInvisible||t.offsetWidth>0&&t.offsetHeight>0)){var a=m(t,e)||m(t,s.src);if(a){var l=a.split(s.separator),c=l[n&&l.length>1?1:0],u=m(t,s.srcset),h=v(t,"img"),g=t.parentNode,w=g&&v(g,"picture");if(h||t.src===undefined){var k=new Image,_=function(){s.error&&s.error(t,"invalid"),b(t,s.errorClass),E(k,"error",_),E(k,"load",T)},T=function(){h?w||p(t,c,u):t.style.backgroundImage='url("'+c+'")',d(t,s),E(k,"load",T),E(k,"error",_)};w&&(k=t,S(g.getElementsByTagName("source"),function(e){f(e,r,s.srcset)})),x(k,"error",_),x(k,"load",T),p(k,c,u)}else t.src=c,d(t,s)}else v(t,"video")?(S(t.getElementsByTagName("source"),function(e){f(e,i,s.src)}),t.load(),d(t,s)):(s.error&&s.error(t,"missing"),b(t,s.errorClass))}}function d(e,t){b(e,t.successClass),t.success&&t.success(e),g(e,t.src),g(e,t.srcset),S(t.breakpoints,function(t){g(e,t.src)})}function f(e,t,n){var o=m(e,n);o&&(h(e,t,o),g(e,n))}function p(e,t,n){n&&h(e,r,n),e.src=t}function h(e,t,n){e.setAttribute(t,n)}function m(e,t){return e.getAttribute(t)}function g(e,t){e.removeAttribute(t)}function v(e,t){return e.nodeName.toLowerCase()===t}function y(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")}function b(e,t){y(e,t)||(e.className+=" "+t)}function w(e){t.bottom=(window.innerHeight||document.documentElement.clientHeight)+e,t.right=(window.innerWidth||document.documentElement.clientWidth)+e}function x(e,t,n){e.attachEvent?e.attachEvent&&e.attachEvent("on"+t,n):e.addEventListener(t,n,{capture:!1,passive:!0})}function E(e,t,n){e.detachEvent?e.detachEvent&&e.detachEvent("on"+t,n):e.removeEventListener(t,n,{capture:!1,passive:!0})}function S(e,t){if(e&&t)for(var n=e.length,o=0;o<n&&!1!==t(e[o],o);o++);}function k(e,t,n){var o=0;return function(){var i=+new Date;i-o<t||(o=i,e.apply(n,arguments))}}})?o.call(t,n,t,e):o)===undefined||(e.exports=i)},function(e,t,n){"use strict";t.a=function(e,t){var n=this;this.orgPar=document.querySelector(e),this.bodyTag=document.body,this.init=function(){t==undefined?this.sbw=5:this.sbw=t,this.scrollSpeed=200,this.parContent=this.orgPar.innerHTML,this.orgPar.innerHTML="",this.newPar=document.createElement("div"),this.sbContainer=document.createElement("div"),this.scrollBarHolder=document.createElement("div"),this.scrollBar=document.createElement("div"),this.inP=document.createElement("div"),this.newPar.className="scrollbot-outer-parent",this.scrollBarHolder.className="scrollbot-scrollbar-holder",this.scrollBar.className="scrollbot-scrollbar",this.inP.className="scrollbot-inner-parent",this.newPar.style.position="relative",this.newPar.style.paddingRight=this.sbw+"px",this.newPar.style.zIndex="9999999",this.newPar.style.height="100%",this.newPar.style.overflow="hidden",this.inPWidth=this.orgPar.clientWidth-this.sbw+"px",this.inP.style.cssText="height:100%;overflow-y:auto;overflow-x:hidden;padding-right:"+(this.sbw+20)+"px;width:100%;box-sizing:content-box;",this.inP.innerHTML=this.parContent,this.inP.style.height="100%",this.newPar.appendChild(this.inP),this.scrollBarHolder.appendChild(this.scrollBar),this.newPar.appendChild(this.scrollBarHolder),this.orgPar.appendChild(this.newPar),this.sbHeight=100*this.inP.clientHeight/this.inP.scrollHeight,this.mdown=!1,this.customHeight=!1,this.scrollElement=this.inP,this.orgPar.style.height=this.orgPar.offsetHeight+"px",this.onScroll=function(e){n.onScrollF=e},this.sB={height:n.sbHeight+"%"},this.inP.addEventListener?this.inP.addEventListener("scroll",function(){n.onScrollEvent()}):this.inP.attachEvent("onscroll",function(){n.onScrollEvent()}),this.onScrollEvent=function(){n.scrollBar.style.top=100*n.inP.scrollTop/n.inP.scrollHeight+(n.sbHeight-parseFloat(n.sB.height))*n.inP.scrollTop/(n.inP.scrollHeight-n.inP.clientHeight)+"%","onScrollF"in n&&n.onScrollF()},this.setScroll=function(e,t){(t==undefined||t<=0)&&(t=500),e>=n.inP.scrollHeight-n.inP.clientHeight&&(e=n.inP.scrollHeight-n.inP.clientHeight);var o=(e-n.inP.scrollTop)/t*10;setTimeout(function(){n.inP.scrollTop+=o,Math.abs(e-n.inP.scrollTop)<5||n.setScroll(e,t-10)},10)},this.bodyTag.addEventListener?(this.scrollBarHolder.addEventListener("mousedown",function(e){n.scrollBarHolderMouseDown(e)}),this.scrollBar.addEventListener("mousedown",function(e){n.scrollbarMouseDown(e)}),this.bodyTag.addEventListener("mousemove",function(e){n.mousemove(e)})):(this.scrollBarHolder.attachEvent("onmousedown",function(e){n.scrollBarHolderMouseDown(e)}),this.scrollBar.attachEvent("onmousedown",function(e){n.scrollbarMouseDown(e)}),this.bodyTag.attachEvent("onmousemove",function(e){n.mousemove(e)})),this.scrollBarHolderMouseDown=function(e){if(((e=e||window.event).target||e.srcElement)==this.scrollBarHolder){var t=100*(e.clientY-n.scrollBarHolder.getBoundingClientRect().top)/n.scrollBarHolder.clientHeight;n.setScroll(n.inP.scrollHeight*t/100,n.scrollSpeed)}},this.scrollbarMouseDown=function(e){return n.mdown=!0,n.posCorrection=e.clientY-n.scrollBar.getBoundingClientRect().top,n.btmCorrection=100*n.scrollBar.clientHeight/n.newPar.clientHeight,!1},this.bodyTag.onmouseup=function(){n.mdown=!1},this.mousemove=function(e){if(!n.mdown)return!1;document.selection?document.selection.empty():window.getSelection().removeAllRanges(),n.relY=e.clientY-n.newPar.getBoundingClientRect().top,n.pC=100*(n.relY-n.posCorrection)/n.newPar.clientHeight,n.pC>=0&&n.pC+n.btmCorrection<=100?(n.scrollBar.style.top=n.pC+"%",n.inP.scrollTop=(parseFloat(n.scrollBar.style.top)-(n.sbHeight-parseFloat(n.sB.height))*n.inP.scrollTop/(n.inP.scrollHeight-n.inP.clientHeight))*n.inP.scrollHeight/100):n.pC<0&&parseFloat(n.scrollBar.style.top)>0&&(n.scrollBar.style.top="0%",n.inP.scrollTop=0),"onScrollF"in n&&n.onScrollF()},this.refresh=function(){n.sbHeight=100*n.inP.clientHeight/n.inP.scrollHeight,n.sbHeight>=100?n.scrollBarHolder.style.display="none":n.scrollBarHolder.style.display="block",n.sbHeight=100*this.inP.clientHeight/this.inP.scrollHeight,n.sB.height=n.customHeight?n.sB.height:n.sbHeight+"%",n.inP.scrollHeight>n.inP.clientHeight&&(n.scrollBar.style.height=n.sB.height)},this.refresh()},this.destroy=function(){n.orgPar.innerHTML=n.parContent,n.orgPar.style.overflow="auto",n.init=null},n.init()}},function(e,t,n){"use strict";t.a=function(e){var t={beforeOpen:null,beforeClose:null,afterOpen:null,afterClose:null};for(var n in e=e||{},t)e[n]===undefined&&(e[n]=t[n]);this.show=function(t){"function"==typeof e.beforeOpen&&e.beforeOpen();var n=document.getElementById(t);o.b(n,"modal-active"),o.r(document,"show.util.modal"),"function"==typeof e.afterOpen&&e.afterOpen()},this.hide=function(t){"function"==typeof e.beforeClose&&e.beforeClose();var n=document.getElementById(t);o.c(n,"modal-active"),document.body.style.overflow="inherit",o.r(document,"hide.util.modal"),"function"==typeof e.afterClose&&e.afterClose()}};var o=n(0)},function(e,t,n){"use strict";var o=n(0),i=n(25),r=n.n(i);function s(e){this.options=null,this.elements=null,this.dafacoinMenuStatus="closed",this.balanceToggleStatus="loading",this.walletToggleStatus={},this.walletChanges={},this.walletUnIgnoredList=[];const t={selectors:{header:"header",balanceMenuBtn:".balance-menu-btn",balanceMenuDiv:"#balance-menu-div",balanceArrowHead:".cashier-arrowhead",balanceRefreshIcon:".balance-refresh-icon",balanceMobileContainer:".total-balance-container",balanceMenuOverlay:"#dafacoin-overlay",saveButton:"#balance-save-btn",closeButton:"#balance-close-btn",popupYesButton:"#popup-yes-btn",popupNoButton:"#popup-no-btn",popupOverlay:"#dafacoin-warning-overlay",warningPopup:"#dafacoin-warning",balanceMenuShade:"#balance-menu-shade",savedCloseButton:"#dafacoin-saved-close-btn",cashierMenu:".cashier-menu",cashierBalance:"#cashier-balance",cashierMenuLoader:".cashier-menu-loader",cashierBalanceAnchorMobile:".cashier-anchor-mobile",cashierBalanceAnchorDesktop:".cashier-anchor-desktop",cashierBalanceAccountAmount:".cashier-account-balance-amount",toggleCheckbox:".token_toggle input.checkbox",toggleAllAnchor:".cashier-menu-toggle-all-container .btn-holder",savedOverlay:"#dafacoin-saved-overlay",setPrioritySuccessPopupMessage:".dafacoin-priority-set-success",setPriorityFailurePopupMessage:".dafacoin-priority-set-failure"},attachments:{},anchors:{anchorBalanceMenuX:!0,anchorBalanceMenuY:!0},balanceUrl:"/ajax/detailed-total-balance",balancePriorityUrl:"/ajax/set-wallet-priority",product:"",language:app.settings.lang?app.settings.lang:"en"};"undefined"!=typeof app&&(t.attachments=app.settings.dafacoin_menu),this.options=Object.assign({},t,"object"!=typeof e?{}:e)}s.prototype.init=function(){this.element=document.querySelector(this.options.selectors.header),(this.element?this.element.querySelector(this.options.selectors.balanceMenuDiv):null)&&(this.anchorBalanceMenu(),this.bindEvents(),this.refreshBalance())},s.prototype.bindEvents=function(){const e=this,t=this.element.querySelector(this.options.selectors.balanceMenuBtn),n=this.element.querySelector(this.options.selectors.balanceMenuDiv),o=this.element.querySelector(this.options.selectors.balanceRefreshIcon),i=this.element.querySelector(this.options.selectors.saveButton),r=this.element.querySelector(this.options.selectors.closeButton),s=this.element.querySelector(this.options.selectors.popupYesButton),a=this.element.querySelector(this.options.selectors.popupNoButton),l=this.element.querySelector(this.options.selectors.balanceMenuOverlay),c=this.element.querySelector(this.options.selectors.popupOverlay),u=this.element.querySelector(this.options.selectors.savedCloseButton),d=this.element.querySelector(this.options.selectors.toggleAllAnchor);window.addEventListener("resize",function(){e.anchorBalanceMenu()},!0),this.applyToAllElements(this.options.selectors.balanceMenuBtn,function(t){t.addEventListener("click",function(t){t.stopPropagation(),e.toggleDafacoinMenu()})}),i&&i.addEventListener("click",function(){e.toggleButtonLoader(i),e.setWalletPriorities().then(function(t){e.openSavedPopup(t&&"ok"===t.status)})["finally"](function(){e.toggleButtonLoader(i,!1),e.closeDafacoinPopup(),e.closeDafacoinMenu()})}),r&&r.addEventListener("click",function(t){e.haveWalletsChanged()?e.openDafacoinPopup():e.closeDafacoinMenu()}),n&&n.addEventListener("click",function(e){e.stopPropagation()}),c&&c.addEventListener("click",function(e){e.stopPropagation()}),s&&s.addEventListener("click",function(t){t.stopPropagation(),e.closeDafacoinPopup(),e.closeDafacoinMenu(),e.resetWalletCheckboxes(),e.updateSaveButton(!1)}),a&&a.addEventListener("click",function(t){t.stopPropagation(),e.closeDafacoinPopup()}),l&&l.addEventListener("click",function(t){t.stopPropagation(),e.closeDafacoinMenu()}),document.addEventListener("click",function(o){if("closed"===e.dafacoinMenuStatus)return;const i=(o=o||window.event).target||o.srcElement;!n.contains(i)&&!t.contains(i)&&(o.stopPropagation(),e.closeDafacoinMenu())}),u&&u.addEventListener("click",function(){e.closeSavedPopup()}),o&&o.addEventListener("click",function(){e.toggleBalance("loading"),clearTimeout(e.timer),e.timer=setTimeout(function(){e.refreshBalance(!0)},1500)}),d&&d.addEventListener("click",function(t){var n=e.element.querySelectorAll(".token_toggle"),o=Array.from(t.target.classList).includes("active");Array.from(n).filter(function(e){return e.querySelector("input.checkbox").checked===o}).map(function(t){e.toggleWallet(t)})})},s.prototype.applyToAllElements=function(e,t){document.querySelectorAll(e).forEach(function(e){t(e)})},s.prototype.updateSaveButton=function(e){const t=this.element.querySelector("#balance-save-btn");t.disabled=!e},s.prototype.toggleDafacoinMenu=function(){"closed"===this.dafacoinMenuStatus?this.openDafacoinMenu():this.closeDafacoinMenu()},s.prototype.toggleButtonLoader=function(e,t=!0,n=!0){const o=this.element.querySelector(this.options.selectors.cashierMenuLoader+" > img");if(o){var i=e.hasAttribute("data-is-loading-label");!0===t&&!1===i&&(e.setAttribute("data-is-loading-label",e.innerHTML),e.innerHTML='<img src="'+o.getAttribute("src")+'" style="height: 1em;" />',n&&(e.setAttribute("data-is-loading-disabled",e.getAttribute("disabled")),e.disabled=!0)),!1===t&&!0===i&&(e.innerHTML=e.getAttribute("data-is-loading-label"),e.removeAttribute("data-is-loading-label"),e.hasAttribute("data-is-loading-disabled")&&(e.disabled=e.getAttribute("data-is-loading-disabled"),e.removeAttribute("data-is-loading-disabled")))}},s.prototype.closeDafacoinMenu=function(){const e=this.element.querySelector(this.options.selectors.balanceMenuDiv);o.b(e,"hidden"),this.applyToAllElements(this.options.selectors.balanceArrowHead,function(e){e.innerHTML="&#8964;",o.c(e,"up-arrowhead"),o.b(e,"down-arrowhead")});const t=this.element.querySelector(this.options.selectors.balanceMenuOverlay);o.b(t,"hidden"),this.dafacoinMenuStatus="closed"},s.prototype.openDafacoinMenu=function(){this.anchorBalanceMenu();const e=this.element.querySelector(this.options.selectors.balanceMenuDiv);o.c(e,"hidden"),this.applyToAllElements(this.options.selectors.balanceArrowHead,function(e){e.innerHTML="&#8963;",o.c(e,"down-arrowhead"),o.b(e,"up-arrowhead")});const t=this.element.querySelector(this.options.selectors.balanceMenuOverlay);o.c(t,"hidden"),this.dafacoinMenuStatus="open"},s.prototype.closeDafacoinPopup=function(){const e=this.element.querySelector(this.options.selectors.warningPopup),t=this.element.querySelector(this.options.selectors.popupOverlay),n=this.element.querySelector(this.options.selectors.balanceMenuShade);o.b(e,"hidden"),o.b(t,"hidden"),o.c(n,"div-shade")},s.prototype.openDafacoinPopup=function(){const e=this.element.querySelector(this.options.selectors.warningPopup),t=this.element.querySelector(this.options.selectors.popupOverlay),n=this.element.querySelector(this.options.selectors.balanceMenuShade);o.c(e,"hidden"),o.c(t,"hidden"),o.b(n,"div-shade")},s.prototype.openSavedPopup=function(e){e=void 0===e||e;const t=this.element.querySelector(this.options.selectors.savedOverlay);o.c(t,"hidden");var n=e?this.options.selectors.setPrioritySuccessPopupMessage:this.options.selectors.setPriorityFailurePopupMessage;t.querySelector(n).classList.remove("hidden"),setTimeout(this.closeSavedPopup.bind(this),1e3*this.options.attachments.notificationPopupDisplayTime)},s.prototype.closeSavedPopup=function(){const e=this.element.querySelector(this.options.selectors.savedOverlay);o.b(e,"hidden"),this.applyToAllElements(".dafacoin-saved-text > *",function(e){e.classList.add("hidden")})},s.prototype.anchorBalanceMenu=function(){const e=document.querySelector(this.options.selectors.cashierBalance);var t=this.options.selectors.cashierBalanceAnchorDesktop;const n=document.querySelector(t);if(null===n)return;const o=n.getBoundingClientRect(),i=window.innerWidth-document.documentElement.clientWidth;this.options.anchors.anchorBalanceMenuX&&(e.style.right=Math.round(window.innerWidth-o.x-12-(i>0?i:0))+"px"),this.options.anchors.anchorBalanceMenuY&&(e.style.top=Math.round(o.y+10)+"px")},s.prototype.getUserDevice=function(){return window.innerWidth<=1024?"mobile":"desktop"},s.prototype.compileApiUrl=function(e){var t="";return t+=this.options.language?"/"+this.options.language:"/en",t+=this.options.product?"/"+this.options.product:"",t+=e},s.prototype.setWalletPriorities=function(){var e=this,t=e.compileApiUrl(e.options.balancePriorityUrl);const n=this.shouldToggleAllWallets();return fetch(t,{method:"POST",body:JSON.stringify({priorities:e.walletChanges,toggleAll:n}),headers:{"Content-type":"application/json; charset=UTF-8"}}).then(function(e){return e.json()}).then(function(t){return e.resetWalletCheckboxes(),t})["catch"](function(e){console.warn(e)})["finally"](function(){e.refreshBalance()})},s.prototype.refreshBalance=function(e=!1){var t=this;this.innerBalance=document.querySelector("#inner-total-balance"),this.innerBalanceRows=document.querySelector(".cashier-menu-wallet-rows");const n=this.options.attachments.enablePerWalletToggles;var o=this.options.attachments.balanceExclusion?this.options.attachments.balanceExclusion:[];e&&(t.walletUnIgnoredList=o);var i=o.filter(function(e){return!t.walletUnIgnoredList.includes(e)}).map(function(e){return["ignore[]",e]});this.toggleBalance("loading");var s=new URLSearchParams(i),a=t.compileApiUrl(this.options.balanceUrl);a+=Array.from(s).length>0?"?"+s.toString():"",fetch(a).then(function(e){return e.json()}).then(function(e){if("undefined"==typeof e.total)return Promise.reject(e);var i={"{total}":e.total,"{currency}":e.currency},s=e.format;Object.entries(i).forEach(function(e){s=s.replace(e[0],e[1])}),t.applyToAllElements(t.options.selectors.cashierBalanceAccountAmount,function(e){e.innerHTML=s}),t.innerBalance.innerHTML=e.total;var a=e.breakdown.filter(function(e){return!["block","uc"].includes(e.visibility)}).map(function(e){null!==e.total&&""!==e.total.trim()||(e.total="N/A"),null!==e.totalToken&&""!==e.totalToken.trim()||(e.totalToken="N/A");var n=String(e.wallet);return o.includes(n)&&!t.walletUnIgnoredList.includes(n)&&(e.total="-",e.totalFiat="-",e.totalToken="-",e.unloaded=!0),t.walletToggleStatus[e.wallet]=e.tokenFlag,e}),l=e.tokenLabel;t.innerBalanceRows.innerHTML=r()({currency:e.rawCurrency,breakdown:a,tokenLabel:l,fetchErrors:t.options.attachments.fetchErrors,labels:{dc:t.options.attachments.labels.walletRowsHeaderDC,"switch":t.options.attachments.labels.walletRowsHeaderSwitch}});var c=t.innerBalanceRows.querySelectorAll(".token_toggle");n&&c.forEach(function(e){e.addEventListener("click",function(e){t.toggleWallet(e.target)}),e.style.cursor="pointer"}),t.innerBalanceRows.querySelectorAll(".unloaded > span").forEach(function(e){e.addEventListener("click",function(e){var n=this.getAttribute("data-wallet-id");t.walletUnIgnoredList.includes(n)||(t.walletUnIgnoredList.push(n),t.closeDafacoinMenu(),t.refreshBalance())})}),t.setToggleAllBtn()})["catch"](function(e){console.warn(e)})["finally"](function(){t.toggleBalance("display")})},s.prototype.shouldToggleAllWallets=function(){var e=this.element.querySelectorAll(this.options.selectors.toggleCheckbox),t=Array.from(e).filter(function(e){return!0!==e.checked}).length;return 0===t||t===e.length},s.prototype.toggleWallet=function(e){this.tokenToggle(e),this.updateSaveButton(this.haveWalletsChanged()),this.setToggleAllBtn()},s.prototype.toggleBalance=function(e){e=void 0===e?{}:e,("loading"===this.balanceToggleStatus&&null===e||"display"===e)&&(this.applyToAllElements(this.options.selectors.cashierMenu,function(e){o.c(e,"hidden")}),this.applyToAllElements(this.options.selectors.cashierMenuLoader,function(e){o.b(e,"hidden")}),this.balanceToggleStatus="display"),("display"===this.balanceToggleStatus&&null===e||"loading"===e)&&(this.applyToAllElements(this.options.selectors.cashierMenu,function(e){o.b(e,"hidden")}),this.applyToAllElements(this.options.selectors.cashierMenuLoader,function(e){o.c(e,"hidden")}),this.balanceToggleStatus="loading"),this.anchorBalanceMenu()},s.prototype.formatBalance=function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")},s.prototype.tokenToggle=function(e){var t=e.querySelector(".fiat"),n=e.querySelector(".dafacoin"),o=e.querySelector("input.checkbox");t.classList.toggle("active"),n.classList.toggle("active");var i=n.classList.contains("active");if(o.checked=i,this.walletToggleStatus[o.dataset.walletId]===i)delete this.walletChanges[o.dataset.walletId];else{var r={};r[o.dataset.walletId]=i,Object.assign(this.walletChanges,r)}},s.prototype.haveWalletsChanged=function(){return Object.keys(this.walletChanges).length>0},s.prototype.setToggleAllBtn=function(){var e=this.element.querySelectorAll(this.options.selectors.toggleCheckbox);const t=this.element.querySelector(this.options.selectors.toggleAllAnchor);Array.from(e).filter(function(e){return!0!==e.checked}).length>0?t.classList.remove("active"):t.classList.add("active")},s.prototype.resetWalletCheckboxes=function(){var e=this,t=e.walletChanges;Object.entries(t).forEach(function(t){var n=document.querySelector('input[data-wallet-id="'+t[0]+'"]').parentElement;e.toggleWallet(n)}),e.walletChanges={},e.updateSaveButton(!1),e.setToggleAllBtn()},t.a=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(14);o.a(function(){if("undefined"!=typeof app.settings.login){var e={};app.settings.product&&(e.product=app.settings.product),new i.a(e).init()}})},function(e,t,n){"use strict";var o,i;t.a=(o={},i=app.settings.debug,o.log=function(e){if(i)try{console.log.apply(console,arguments)}catch(t){console.log(e)}},o)},function(e,t,n){"use strict";t.a={getCookie:function(e){for(var t=e+"=",n=decodeURIComponent(document.cookie).split(";"),o=0;o<n.length;o++){for(var i=n[o];" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(t))return i.substring(t.length,i.length)}},removeCookie:function(e,t){t=t||"/",document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT; path="+t+";"},setCookie:function(e,t,n,o){o=o||"/";var i="";n&&(i="expires="+n+";"),document.cookie=e+"="+t+";"+i+"path="+o}}},function(e,t,n){"use strict";t.a={parseDate:function(e,t){if(t=t||"DD/MM/YYYY",""===e)return null;for(var n=e.match(/(\d+)/g),o=t.match(/([a-zA-Z]+)/g),i=[],r=0;r<=o.length-1;r++)"YYYY"===o[r]&&(i[0]=r),"MM"===o[r]&&(i[1]=r),"DD"===o[r]&&(i[2]=r);return new Date(n[i[0]],n[i[1]]-1,n[i[2]])}}},function(e,t,n){"use strict";var o;t.a=o={filterCollectionByLoginState:function(e){return e.filter(function(e){return o.filterByLoginState(e.states)})},filterByLoginState:function(e){for(var t,n=app.settings.login||!1,o=0;o<e.length;o++)switch(t=parseInt(e[o].value),!0){case 2===t:case 0===t&&!n:case 1===t&&n:return!0}return!1}}},function(e,t,n){"use strict";var o,i=n(7);t.a=o={ready:function(e){"loading"!==document.readyState?e():document.addEventListener?document.addEventListener("DOMContentLoaded",e,!1):document.attachEvent("onreadystatechange",function(){"loading"!==document.readyState&&e()})},addEventListener:function(e,t,n){if(e)return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,function(){n.call(e)}),n},invoke:function(e,t,n){return o.triggerEvent(e,t,n)},listen:function(e,t,n){return o.addEventListener(e,t,function(e){var t=e||window.event,o=t.target||t.srcElement;n(t,o,e.customData)})},delegate:function(e,t,n,r,s){var a=e.querySelector(t);o.addEventListener(e,n,function(e){var n=e||window.event,o=n.target||n.srcElement;s&&o!==a&&(o=i.a.findParent(o,t)),o===a&&r(n,o)})},removeEventListener:function(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)},getTarget:function(e){return"undefined"!=typeof e.target?e.target:e.srcElement},preventDefault:function(e){(e=e||window.event).preventDefault?e.preventDefault():e.returnValue=!1},triggerEvent:function(e,t,n){var o;if(document.createEvent)(o=document.createEvent("HTMLEvents")).customData=n,o.initEvent(t,!0,!1),e.dispatchEvent(o);else try{(o=document.createEventObject()).eventType=t,o.customData=n,e.fireEvent("on"+o.eventType,o)}catch(i){(o=new CustomEvent(t)).customData=n,e.dispatchEvent(o)}},eventType:function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch?"touchend":"click"}}},function(e,t,n){"use strict";t.a={isMobile:function(){var e=!1;return(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))&&(e=!0),e}}},function(e,t,n){"use strict";t.a={trim:function(e){return"string"==typeof e?"function"!=typeof String.prototype.trim?e.replace(/^\s+|\s+$/g,""):e.trim():e},replaceStringTokens:function(e,t){if("object"==typeof e)for(var n in e)t=t.replace(n+"",e[n]);return t},getAsciiSum:function(e){var t=0,n=e.split("");for(var o in n)t+=e.charCodeAt(parseInt(o));return t},trimEnd:function(e,t){var n=new RegExp("^(.+?)\\"+t+"*?$");return e.replace(n,"$1")}}},function(e,t,n){"use strict";var o;t.a=o={forEach:function(e,t){for(var n=0;n<e.length;n++)t(e[n],n)},isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},forEachElement:function(e,t){for(var n=document.querySelectorAll(e),o=0,i=n.length;o<i;o++)t(n[o],o)},arrayFilter:function(e,t){for(var n=[],o=e.length;o--;)t(e[o])&&n.unshift(e[o]);return n},filter:function(e,t){for(var n,o=[],i=(n="object"==typeof e?e:document.querySelectorAll(e)).length;i--;)t(n[i])&&o.unshift(n[i]);return o},clone:function(e){if(null===e||"object"!=typeof e)return e;var t=new e.constructor;for(var n in e)t[n]=o.clone(e[n]);return t},isEmptyObject:function(e){return 0===Object.keys(e).length},empty:function(e){if(e&&"undefined"!=typeof e.hasChildNodes)for(;e.hasChildNodes();)e.removeChild(e.lastChild)},append:function(e,t){e&&"undefined"!=typeof e.appendChild&&e.appendChild(t)},serialize:function(e){var t,n=[];for(t in e)if(e.hasOwnProperty(t)){var i,r=t,s=e[t];i=null!==s&&"object"==typeof s?o.serialize(s,r):encodeURIComponent(r)+"="+encodeURIComponent(s),n.push(i)}return n.join("&")},inArray:function(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1}}},function(e,t,n){"use strict";t.a={url:function(e,t){var n,o=t||{};if(0===(e=e.trim("/")).indexOf("http://"))return e;if(0===e.indexOf("https://"))return e;"/"===e.charAt(0)&&(e=e.slice(1)),0===e.indexOf("internal:/")&&(e=e.slice("internal:/".length));var i="/"+(o.lang?o.lang:"undefined"!=typeof app&&"undefined"!=typeof app.settings&&"undefined"!=typeof app.settings.lang?app.settings.lang:"en");return(n="undefined"!=typeof app&&"undefined"!=typeof app.settings&&"undefined"!=typeof app.settings.product?app.settings.product:o.product||!1)&&(i+="/"+n),i+="/"+e},toAbsolute:function(e){var t=document.createElement("a");return t.href=e,t.href},isExternal:function(e){var t=/https?:\/\/((?:[\w\d-]+\.)+[\w\d]{2,})/i,n=t.exec(e);if(n)return t.exec(location.href)[1]!==n[1]},asset:function(e){var t=app.settings.prefixed,n="/",o=app.settings.lang||app.settings.defaultLang,i=app.settings.defaultProduct;return 0===e.indexOf("/")&&(e=e.substr(1)),t&&(n=["/",o,"/",i,"/"].join("")),n+=e},getParameterByName:function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},getParameters:function(e){var t={},n=document.createElement("a");n.href=e;for(var o=n.search.substring(1).split("&"),i=0;i<o.length;i++){var r=o[i].split("=");t[r[0]]=decodeURIComponent(r[1])}return t},getHash:function(e){var t=e.lastIndexOf("#");return e.substring(t+1)},addQueryParam:function(e,t,n){var o=document.createElement("a"),i=/(?:\?|&amp;|&)+([^=]+)(?:=([^&]*))*/g,r=null,s=[];for(o.href=e,t=encodeURIComponent(t);null!==(r=i.exec(o.search));)t!==r[1]&&s.push(r[1]+(r[2]?"="+r[2]:""));return s.push(t+(n?"="+encodeURIComponent(n):"")),o.search=s.join("&"),o.href},removeQueryParam:function(e,t){var n=e.split("?");if(n.length>=2){for(var o=encodeURIComponent(t)+"=",i=n[1].split(/[&;]/g),r=i.length;r-- >0;)-1!==i[r].lastIndexOf(o,0)&&i.splice(r,1);return e=n[0]+(i.length>0?"?"+i.join("&"):"")}return e},removeHash:function(e){return e.split("#")[0]},addHash:function(e,t){return e.split("#")[0]+"#"+t}}},function(e,t,n){var o=n(2);e.exports=(o["default"]||o).template({1:function(e,t,n,o,i,r,s){var a;return'    <div class="cashier-wallet-row">\n        <div class="balance-details">\n            <div class="label">'+e.escapeExpression(e.lambda(null!=(a=r[0][0])?a.label:a,t))+'</div>\n            <div class="balance_row">\n'+(null!=(a=n["if"].call(null!=t?t:e.nullContext||{},null!=(a=null!=(a=r[0][0])?a.walletStatus:a)?a.status:a,{name:"if",hash:{},fn:e.program(2,i,0,r,s),inverse:e.program(11,i,0,r,s),data:i,blockParams:r}))?a:"")+"            </div>\n        </div>\n    </div>\n"},2:function(e,t,n,o,i,r,s){var a,l=null!=t?t:e.nullContext||{},c=e.lambda,u=e.escapeExpression,d=n.blockHelperMissing;return(null!=(a=n["if"].call(l,null!=(a=r[1][0])?a.unloaded:a,{name:"if",hash:{},fn:e.program(3,i,0,r,s),inverse:e.program(5,i,0,r,s),data:i,blockParams:r}))?a:"")+'                <div class="token_balance">'+u(c(null!=(a=r[1][0])?a.totalToken:a,t))+'</div>\n                <div class="token_toggle">\n                    <div class="fiat'+(null!=(a=n.unless.call(l,null!=(a=r[1][0])?a.tokenFlag:a,{name:"unless",hash:{},fn:e.program(7,i,0,r,s),inverse:e.noop,data:i,blockParams:r}))?a:"")+'">'+u(c(null!=s[1]?s[1].currency:s[1],t))+'</div>\n                    <div class="switch">\n                        <svg class="dafacoin-switch-icon" width="24" height="24" viewBox="0 0 24 24">\n                            <use xlink:href="#switch-icon" xmlns:xlink="http://www.w3.org/1999/xlink"></use>\n                        </svg>\n                    </div>\n                    <div class="dafacoin'+(null!=(a=d.call(t,c(null!=(a=r[1][0])?a.tokenFlag:a,t),{name:"item.tokenFlag",hash:{},fn:e.program(7,i,0,r,s),inverse:e.noop,data:i,blockParams:r}))?a:"")+'">'+u(c(null!=s[1]?s[1].tokenLabel:s[1],t))+'</div>\n                    <input data-wallet-id="'+u(c(null!=(a=r[1][0])?a.wallet:a,t))+'" type="checkbox" class="checkbox" '+(null!=(a=d.call(t,c(null!=(a=r[1][0])?a.tokenFlag:a,t),{name:"item.tokenFlag",hash:{},fn:e.program(9,i,0,r,s),inverse:e.noop,data:i,blockParams:r}))?a:"")+">\n                </div>\n"},3:function(e,t,n,o,i,r){var s;return'                    <div class="unloaded">\n                        <span class="balance-refresh-icon" data-wallet-id="'+e.escapeExpression(e.lambda(null!=(s=r[2][0])?s.wallet:s,t))+'"></span>\n                    </div>\n'},5:function(e,t,n,o,i,r){var s;return'                    <div class="fiat_balance">'+e.escapeExpression(e.lambda(null!=(s=r[2][0])?s.totalFiat:s,t))+"</div>\n"},7:function(e,t,n,o,i){return" active"},9:function(e,t,n,o,i){return"checked"},11:function(e,t,n,o,i,r,s){var a;return"                <span>"+e.escapeExpression(n.lookup.call(null!=t?t:e.nullContext||{},null!=s[1]?s[1].fetchErrors:s[1],null!=(a=null!=(a=r[1][0])?a.walletStatus:a)?a.error:a,{name:"lookup",hash:{},data:i,blockParams:r}))+"</span>\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,o,i,r,s){var a,l,c=null!=t?t:e.nullContext||{},u=e.escapeExpression,d=e.lambda;return'<div class="cashier-wallet-rows-container">\n    <div class="cashier-wallet-rows-header">\n        <div class="fiat-header">'+u("function"==typeof(l=null!=(l=n.currency||(null!=t?t.currency:t))?l:n.helperMissing)?l.call(c,{name:"currency",hash:{},data:i,blockParams:r}):l)+'</div>\n        <div class="dafacoin-header">'+u(d(null!=(a=null!=t?t.labels:t)?a.dc:a,t))+'</div>\n        <div class="switch-header">'+u(d(null!=(a=null!=t?t.labels:t)?a["switch"]:a,t))+"</div>\n    </div>\n"+(null!=(a=n.each.call(c,null!=t?t.breakdown:t,{name:"each",hash:{},fn:e.program(1,i,2,r,s),inverse:e.noop,data:i,blockParams:r}))?a:"")+"</div>\n"},useData:!0,useDepths:!0,useBlockParams:!0})},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}t.__esModule=!0;var r=i(n(9)),s=o(n(40)),a=o(n(5)),l=i(n(1)),c=i(n(39)),u=o(n(38));function d(){var e=new r.HandlebarsEnvironment;return l.extend(e,r),e.SafeString=s["default"],e.Exception=a["default"],e.Utils=l,e.escapeExpression=l.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var f=d();f.create=d,u["default"](f),f["default"]=f,t["default"]=f,e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){r["default"](e)};var o,i=n(28),r=(o=i)&&o.__esModule?o:{"default":o}},function(e,t,n){"use strict";t.__esModule=!0;var o=n(1);t["default"]=function(e){e.registerDecorator("inline",function(e,t,n,i){var r=e;return t.partials||(t.partials={},r=function(i,r){var s=n.partials;n.partials=o.extend({},s,t.partials);var a=e(i,r);return n.partials=s,a}),t.partials[i.args[0]]=i.fn,r})},e.exports=t["default"]},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){i["default"](e),r["default"](e),s["default"](e),a["default"](e),l["default"](e),c["default"](e),u["default"](e)};var i=o(n(30)),r=o(n(31)),s=o(n(32)),a=o(n(33)),l=o(n(34)),c=o(n(35)),u=o(n(36))},function(e,t,n){"use strict";t.__esModule=!0;var o=n(1);t["default"]=function(e){e.registerHelper("blockHelperMissing",function(t,n){var i=n.inverse,r=n.fn;if(!0===t)return r(this);if(!1===t||null==t)return i(this);if(o.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):i(this);if(n.data&&n.ids){var s=o.createFrame(n.data);s.contextPath=o.appendContextPath(n.data.contextPath,n.name),n={data:s}}return r(t,n)})},e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0;var o,i=n(1),r=n(5),s=(o=r)&&o.__esModule?o:{"default":o};t["default"]=function(e){e.registerHelper("each",function(e,t){if(!t)throw new s["default"]("Must pass iterator to #each");var n=t.fn,o=t.inverse,r=0,a="",l=undefined,c=undefined;function u(t,o,r){l&&(l.key=t,l.index=o,l.first=0===o,l.last=!!r,c&&(l.contextPath=c+t)),a+=n(e[t],{data:l,blockParams:i.blockParams([e[t],t],[c+t,null])})}if(t.data&&t.ids&&(c=i.appendContextPath(t.data.contextPath,t.ids[0])+"."),i.isFunction(e)&&(e=e.call(this)),t.data&&(l=i.createFrame(t.data)),e&&"object"==typeof e)if(i.isArray(e))for(var d=e.length;r<d;r++)r in e&&u(r,r,r===e.length-1);else{var f=undefined;for(var p in e)e.hasOwnProperty(p)&&(f!==undefined&&u(f,r-1),f=p,r++);f!==undefined&&u(f,r-1,!0)}return 0===r&&(a=o(this)),a})},e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0;var o,i=n(5),r=(o=i)&&o.__esModule?o:{"default":o};t["default"]=function(e){e.registerHelper("helperMissing",function(){if(1===arguments.length)return undefined;throw new r["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0;var o=n(1);t["default"]=function(e){e.registerHelper("if",function(e,t){return o.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||o.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){return e.helpers["if"].call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){e.registerHelper("log",function(){for(var t=[undefined],n=arguments[arguments.length-1],o=0;o<arguments.length-1;o++)t.push(arguments[o]);var i=1;null!=n.hash.level?i=n.hash.level:n.data&&null!=n.data.level&&(i=n.data.level),t[0]=i,e.log.apply(e,t)})},e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){e.registerHelper("lookup",function(e,t){return e&&e[t]})},e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0;var o=n(1);t["default"]=function(e){e.registerHelper("with",function(e,t){o.isFunction(e)&&(e=e.call(this));var n=t.fn;if(o.isEmpty(e))return t.inverse(this);var i=t.data;return t.data&&t.ids&&((i=o.createFrame(t.data)).contextPath=o.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:i,blockParams:o.blockParams([e],[i&&i.contextPath])})})},e.exports=t["default"]},function(e,t,n){"use strict";t.__esModule=!0;var o=n(1),i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=o.indexOf(i.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=i.lookupLevel(e),"undefined"!=typeof console&&i.lookupLevel(i.level)<=e){var t=i.methodMap[e];console[t]||(t="log");for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];console[t].apply(console,o)}}};t["default"]=i,e.exports=t["default"]},function(e,t,n){"use strict";(function(n){t.__esModule=!0,t["default"]=function(e){var t=void 0!==n?n:window,o=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=o),e}},e.exports=t["default"]}).call(t,n(10))},function(e,t,n){"use strict";t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=a.COMPILER_REVISION;if(t!==n){if(t<n){var o=a.REVISION_CHANGES[n],i=a.REVISION_CHANGES[t];throw new s["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+o+") or downgrade your runtime to an older version ("+i+").")}throw new s["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}},t.template=function(e,t){if(!t)throw new s["default"]("No environment passed to template");if(!e||!e.main)throw new s["default"]("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n={strict:function(e,t){if(!(t in e))throw new s["default"]('"'+t+'" not defined in '+e);return e[t]},lookup:function(e,t){for(var n=e.length,o=0;o<n;o++)if(e[o]&&null!=e[o][t])return e[o][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:i.escapeExpression,invokePartial:function(n,o,r){r.hash&&(o=i.extend({},o,r.hash),r.ids&&(r.ids[0]=!0));n=t.VM.resolvePartial.call(this,n,o,r);var a=t.VM.invokePartial.call(this,n,o,r);null==a&&t.compile&&(r.partials[r.name]=t.compile(n,e.compilerOptions,t),a=r.partials[r.name](o,r));if(null!=a){if(r.indent){for(var l=a.split("\n"),c=0,u=l.length;c<u&&(l[c]||c+1!==u);c++)l[c]=r.indent+l[c];a=l.join("\n")}return a}throw new s["default"]("The partial "+r.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,o,i){var r=this.programs[e],s=this.fn(e);return t||i||o||n?r=l(this,e,s,t,n,o,i):r||(r=this.programs[e]=l(this,e,s)),r},data:function(e,t){for(;e&&t--;)e=e._parent;return e},merge:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=i.extend({},t,e)),n},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function o(t){var i=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],r=i.data;o._setup(i),!i.partial&&e.useData&&(r=function(e,t){t&&"root"in t||((t=t?a.createFrame(t):{}).root=e);return t}(t,r));var s=undefined,l=e.useBlockParams?[]:undefined;function c(t){return""+e.main(n,t,n.helpers,n.partials,r,l,s)}return e.useDepths&&(s=i.depths?t!=i.depths[0]?[t].concat(i.depths):i.depths:[t]),(c=u(e.main,c,n,i.depths||[],r,l))(t,i)}return o.isTop=!0,o._setup=function(o){o.partial?(n.helpers=o.helpers,n.partials=o.partials,n.decorators=o.decorators):(n.helpers=n.merge(o.helpers,t.helpers),e.usePartial&&(n.partials=n.merge(o.partials,t.partials)),(e.usePartial||e.useDecorators)&&(n.decorators=n.merge(o.decorators,t.decorators)))},o._child=function(t,o,i,r){if(e.useBlockParams&&!i)throw new s["default"]("must pass block params");if(e.useDepths&&!r)throw new s["default"]("must pass parent depths");return l(n,t,e[t],o,0,i,r)},o},t.wrapProgram=l,t.resolvePartial=function(e,t,n){e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name];return e},t.invokePartial=function(e,t,n){var o=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var r=undefined;n.fn&&n.fn!==c&&function(){n.data=a.createFrame(n.data);var e=n.fn;r=n.data["partial-block"]=function(t){var n=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];return n.data=a.createFrame(n.data),n.data["partial-block"]=o,e(t,n)},e.partials&&(n.partials=i.extend({},n.partials,e.partials))}();e===undefined&&r&&(e=r);if(e===undefined)throw new s["default"]("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},t.noop=c;var o,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}(n(1)),r=n(5),s=(o=r)&&o.__esModule?o:{"default":o},a=n(9);function l(e,t,n,o,i,r,s){function a(t){var i=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],a=s;return!s||t==s[0]||t===e.nullContext&&null===s[0]||(a=[t].concat(s)),n(e,t,e.helpers,e.partials,i.data||o,r&&[i.blockParams].concat(r),a)}return(a=u(n,a,e,s,o,r)).program=t,a.depth=s?s.length:0,a.blockParams=i||0,a}function c(){return""}function u(e,t,n,o,r,s){if(e.decorator){var a={};t=e.decorator(t,a,n,o&&o[0],r,s,o),i.extend(t,a)}return t}},function(e,t,n){"use strict";function o(e){this.string=e}t.__esModule=!0,o.prototype.toString=o.prototype.toHTML=function(){return""+this.string},t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";var o=n(0),i=new(n(11))({successClass:"lazy-loaded",selector:".lazy-load"});o.a(function(){i.revalidate(),setTimeout(function(){var e=document.body,t=document.documentElement,n=window.pageXOffset!==undefined?window.scrollX||window.pageXOffset:(t||e.parentNode||e).scrollLeft,o=window.pageYOffset!==undefined?window.scrollY||window.pageYOffset:(t||e.parentNode||e).scrollTop;window.scrollTo(n,o+1),window.scrollTo(n,o-1)},500)}),t.a=i},function(e,t,n){"use strict";t.a=function(e){var t={selector:".modal-trigger",closeOverlayClick:!1,closeTriggerClass:".modal-close",escapeClose:!1,id:null,onClose:null,maxHeight:500};for(var l in e=e||{},t)e[l]===undefined&&(e[l]=t[l]);e.id&&!e.closeOverlayClick&&s.push(e.id);e.id&&!e.escapeClose&&a.push(e.id);var c=document.body,u=this;function d(){o.f(c,"click",function(t){for(var s=(t=t||window.event).target||t.srcElement;s&&"A"!==s.tagName;)s=s.parentNode;o.j(e.selector,function(a){if(s===a){var l=a.getAttribute("href").substr(1),d=document.getElementById(l),f="#"+l+" .modal-body",p=document.querySelector(f).children[0];d&&!o.d(d,"modal-active")&&(o.e(d,"modal.open"),o.b(d,"modal-active"),c.style.overflow="hidden",o.k(t),o.d(p,"modal--container")&&function(t,o){setTimeout(function(){var s=null,a=t.querySelector(".modal-body"),l=a.querySelector(".modal--container").clientHeight;l>e.maxHeight?(a.style.height=e.maxHeight+"px",s||(s=new r.a(o))):a.style.height="auto",s&&(s.refresh(),s.setScroll(0,100)),8!==n.i(i.a)()&&9!==n.i(i.a)()||u.centerModalContent(t)},1)}(d,f))}})})}function f(){o.j(".modal-content",function(e){setTimeout(function(){var t=e.clientHeight;e.style.marginTop=-t/2+"px"},500)})}function p(t,n){o.c(t,"modal-active"),o.e(t,"modalclose",n),c.style.overflow="inherit",e.onClose&&"function"==typeof e.onClose&&e.onClose()}o.a(function(){o.j(".modal-dafa",function(e){if(o.d(e,"modal-loaded")||o.b(e,"modal-loaded"),!e.querySelector(".modal-overlay-dafa")){var t=document.createElement("div");t.className="modal-overlay-dafa",e.insertBefore(t,e.firstChild),o.d(e,"modal-active")&&(c.style.overflow="hidden")}}),d(),o.f(c,"click",function(t){var n=(t=t||window.event).target||t.srcElement,i=e.closeTriggerClass.replace(".",""),r=o.l(n,".modal-active");o.d(n,i)&&r&&(o.k(t),p(r,n))}),o.f(c,"click",function(e){var t=(e=e||window.event).target||e.srcElement;o.d(t,"modal-overlay-dafa")&&-1===s.indexOf(t.parentNode.id)&&(p(t.parentNode,t),o.k(e))}),o.f(c,"keydown",function(e){27===(e=e||window.event).keyCode&&o.j(".modal-overlay-dafa",function(e){-1===a.indexOf(e.parentNode.id)&&p(e.parentNode)})}),o.j(".modal-trigger-onload",function(e){o.e(e,"click")}),8!==n.i(i.a)()&&9!==n.i(i.a)()||f()}),this.centerModalContent=f};var o=n(0),i=n(4),r=n(12),s=[],a=[]},function(e,t,n){"use strict";t.a=function(e){var t=this,o=r.n("/ajax/detailed-total-balance"),l=[];function c(n,o){"function"==typeof e[n]&&e[n].apply(t,o)}return function(){var t={preFetch:!1,postFetch:!1,onSuccess:!1,onFail:!1};for(var n in e=e||{},t)e[n]===undefined&&(e[n]=t[n])}(),this.addIgnore=function(e){e=parseInt(e),l.push(e),s.a.log(e+" was added to the ignore list")},this.removeIgnore=function(e){if(e=parseInt(e),Array.prototype.indexOf)l.splice(l.indexOf(e),1);else for(var t=0;t<l.length;t++)if(e===l[t]){l.splice(t,1);break}s.a.log(e+" was removed in the ignore list")},this.getBalance=function(){c("preFetch",[]),i()({url:o,type:"json",data:{nocache:(new Date).getTime(),ignore:l}}).then(function(e){n.i(a.a)(e.total),s.a.log("Fetching success success"),c("onSuccess",[e])}).fail(function(e,t){s.a.log("Fetch balance failed"),c("onFail",[e,t])}).always(function(e){s.a.log("Fetch balance completed"),c("postFetch",[e])})},this};var o=n(6),i=n.n(o),r=n(0),s=n(16),a=n(67)},function(e,t,n){"use strict";t.a=i;var o=n(0);function i(e,t){this.el=e,this.className=t||"checkbox-styler",this.generateMarkup(),this.checker(this.el),this.bindEvent()}i.prototype.generateMarkup=function(){var e=document.createElement("span"),t=document.createElement("span");o.b(e,this.className),e.appendChild(t),this.el.parentNode.insertBefore(e,this.el),e.appendChild(this.el)},i.prototype.bindEvent=function(){var e=this;o.f(e.el,"click",function(t){e.checker(e.el)})},i.prototype.checker=function(e){e.checked?(o.b(e.parentNode,"checked"),o.c(e.parentNode,"unchecked")):(o.b(e.parentNode,"unchecked"),o.c(e.parentNode,"checked"))}},function(e,t,n){"use strict";var o=n(4),i=n(0),r=document.getElementById("LoginForm_submit"),s=document.getElementById("LoginForm_username"),a=document.getElementById("LoginForm_password"),l=document.querySelector(".ie8_username_placeholder"),c=document.querySelector(".ie8_password_placeholder"),u=document.body,d=app.settings.loginFormConfig;function f(){""===s.value&&null===s.value||""!==a.value&&null!==a.value?(i.b(l,"hidden"),setTimeout(function(){s.focus()},10)):(i.b(l,"hidden"),setTimeout(function(){s.focus()},10),i.c(c,"hidden"))}function p(){""===a.value&&null===a.value||""!==s.value&&null!==s.value?(i.b(c,"hidden"),setTimeout(function(){a.focus()},10)):(i.b(c,"hidden"),setTimeout(function(){a.focus()},10),i.c(l,"hidden"))}function h(){""!==s.value&&null!==s.value||i.c(l,"hidden"),""!==a.value&&null!==a.value||i.c(c,"hidden"),""!==s.value&&null!==s.value||""!==a.value&&null!==a.value||(i.c(l,"hidden"),i.c(c,"hidden"))}function m(e){var t=document.querySelector(".login-error"),n=document.createTextNode(e);if(null===t){var o=document.querySelector(".loginform-textfield-wrapper"),r=document.createElement("div"),s=o.querySelector(".capslock-notification");i.b(r,"login-error"),r.appendChild(n),s&&s.remove(),o.appendChild(r)}else t.innerHTML="",t.appendChild(n)}null!==s&&null!==a&&(8!==n.i(o.a)()&&9!==n.i(o.a)()||(""!==s.value&&null!==s.value||!i.d(l,"hidden")||i.c(l,"hidden"),""!==a.value&&null!==a.value||!i.d(c,"hidden")||i.c(c,"hidden"),i.f(u,"keyup",function(e){var t=(e=e||window.event).target||e.srcElement;9===(e.keyCode?e.keyCode:e.which)&&("LoginForm_username"===t.id?f():"LoginForm_password"===t.id?p():h())}),i.f(u,"click",function(e){var t=(e=e||window.event).target||e.srcElement;l===t?f():c===t?p():h()})),i.f(s,"focus",function(){s.removeAttribute("placeholder")}),i.f(s,"blur",function(){s.setAttribute("placeholder",d.username_placeholder)}),i.f(a,"focus",function(){a.removeAttribute("placeholder")}),i.f(a,"blur",function(){a.setAttribute("placeholder",d.password_placeholder)})),i.a(function(){!app.settings.login&&r&&(r.onclick=function(){var e=i.I(s.value);return""!==e&&null!==e||""!==a.value&&null!==a.value?""===e||null===e?(m(d.error_message_blank_username),!1):""!==a.value&&null!==a.value||(m(d.error_message_blank_password),!1):(m(d.error_message_blank_passname),!1)})})},function(e,t,n){"use strict";t.a=function(e){var t={selector:".modal-trigger",closeOverlayClick:!0,closeTriggerClass:".modal-close",escapeClose:!0,id:null,onClose:null,maxHeight:500};for(var l in e=e||{},t)e[l]===undefined&&(e[l]=t[l]);e.id&&!e.closeOverlayClick&&s.push(e.id);e.id&&!e.escapeClose&&a.push(e.id);var c=document.body,u=this;function d(){o.f(c,"click",function(t){for(var s=(t=t||window.event).target||t.srcElement;s&&"A"!==s.tagName;)s=s.parentNode;o.j(e.selector,function(a){if(s===a){var l=a.getAttribute("href").substr(1),d=document.getElementById(l),f="#"+l+" .modal-body",p=document.querySelector(f).children[0];d&&!o.d(d,"modal-active")&&(o.e(d,"modal.open"),o.b(d,"modal-active"),c.style.overflow="hidden",o.k(t),o.d(p,"modal--container")&&function(t,o){setTimeout(function(){var s=null,a=t.querySelector(".modal-body"),l=a.querySelector(".modal--container").clientHeight;l>e.maxHeight?(a.style.height=e.maxHeight+"px",s||(s=new r.a(o))):a.style.height="auto",s&&(s.refresh(),s.setScroll(0,100)),8!==n.i(i.a)()&&9!==n.i(i.a)()||u.centerModalContent(t)},1)}(d,f))}})})}function f(){o.j(".modal-content",function(e){setTimeout(function(){var t=e.clientHeight;e.style.marginTop=-t/2+"px"},500)})}function p(t,n){o.c(t,"modal-active"),o.e(t,"modalclose",n),c.style.overflow="inherit",e.onClose&&"function"==typeof e.onClose&&e.onClose()}o.a(function(){o.j(".modal",function(e){if(!e.querySelector(".modal-overlay")){var t=document.createElement("div");t.className="modal-overlay",e.insertBefore(t,e.firstChild),o.d(e,"modal-active")&&(c.style.overflow="hidden")}}),d(),o.f(c,"click",function(t){var n=(t=t||window.event).target||t.srcElement,i=e.closeTriggerClass.replace(".",""),r=o.l(n,".modal-active");o.d(n,i)&&r&&(o.k(t),p(r,n))}),o.f(c,"click",function(e){var t=(e=e||window.event).target||e.srcElement;o.d(t,"modal-overlay")&&-1===s.indexOf(t.parentNode.id)&&(p(t.parentNode,t),o.k(e))}),o.f(c,"keydown",function(e){27===(e=e||window.event).keyCode&&o.j(".modal-overlay",function(e){-1===a.indexOf(e.parentNode.id)&&p(e.parentNode)})}),o.j(".modal-trigger-onload",function(e){o.e(e,"click")}),8!==n.i(i.a)()&&9!==n.i(i.a)()||f()}),this.centerModalContent=f};var o=n(0),i=n(4),r=n(12),s=[],a=[]},function(e,t,n){"use strict";t.a=function(e,t){var n,o,i=this;function r(){var o=n.get("elapsed");switch(o+=1,n.set("elapsed",o),!0){case o>=e:"function"==typeof t.onBeforeStop&&t.onBeforeStop(i),i.stop()}"function"==typeof t.onCount&&t.onCount(i,o)}(function(){var e={refresh:1e3,storage:new function(){var e={};this.get=function(t){if("undefined"!=typeof e[t])return e[t]},this.set=function(t,n){return e[t]=n},this.remove=function(t){"undefined"!=typeof e[t]&&delete e[t]}},onCount:!1,onReset:!1,onRestart:!1,onBeforeStop:!1,onStop:!1};for(var o in t=t||{},e)t[o]===undefined&&(t[o]=e[o]);(n=t.storage).set("elapsed",0)})(),this.start=function(){o=setInterval(r,t.refresh)},this.restart=function(){"function"==typeof t.onRestart&&t.onRestart(i,n.get("elapsed")),i.kill(),i.start()},this.reset=function(){"function"==typeof t.onReset&&t.onReset(i,n.get("elapsed")),n.set("elapsed",0)},this.kill=function(){clearInterval(o),n.set("elapsed",0)},this.stop=function(){clearInterval(o),"function"==typeof t.onStop&&t.onStop(i)}}},function(e,t,n){"use strict";t.a=function(e,t,n){var o={toolbar:"no",location:"no",directories:"no",status:"no",menubar:"no",scrollbars:"yes",resizable:"yes",copyhistory:"no"};for(var i in n=n||{},o)n[i]===undefined&&(n[i]=o[i]);var r=[];for(var s in n)n[s]!==undefined&&""!==n[s]&&r.push(s+"="+n[s]);var a=window.open(e,t,r);if(window.focus)try{a.focus()}catch(l){}return a}},function(e,t,n){"use strict";t.a=function(){var e={};function t(){return!!sessionStorage}this.get=function(n){return t()?sessionStorage.getItem(n):e[n]?e[n]:null},this.set=function(n,o){return t()?sessionStorage.setItem(n,o):(e[n]=o,!0)},this.remove=function(n){return t()?sessionStorage.removeItem(n):!!e[n]&&(delete e[n],!0)}}},function(e,t,n){var o=n(2);e.exports=(o["default"]||o).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,o,i){var r;return'<span\n    product-id="'+e.escapeExpression("function"==typeof(r=null!=(r=n.id||(null!=t?t.id:t))?r:n.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"id",hash:{},data:i}):r)+'"\n    class="refresh-balance refresh-icon inline-block"\n    style="display: inline-block;"\n>\n</span>\n'},useData:!0})},function(e,t,n){var o=n(2);e.exports=(o["default"]||o).template({1:function(e,t,n,o,i,r){var s,a=e.lambda,l=e.escapeExpression;return'        <li>\r\n            <div class="balance-details">\r\n                <div class="label">'+l(a(null!=(s=r[0][0])?s.label:s,t))+'</div>\r\n                <div class="balance" data-balanceId="'+l(a(null!=(s=r[0][0])?s.wallet:s,t))+'">'+(null!=(s=a(null!=(s=r[0][0])?s.total:s,t))?s:"")+"</div>\r\n            </div>\r\n        </li>\r\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,o,i,r){var s;return"<ul>\r\n"+(null!=(s=n.each.call(null!=t?t:e.nullContext||{},null!=t?t.breakdown:t,{name:"each",hash:{},fn:e.program(1,i,2,r),inverse:e.noop,data:i,blockParams:r}))?s:"")+"</ul>"},useData:!0,useBlockParams:!0})},function(e,t,n){"use strict";t.a=function(){var e="-290px",t="0px";function i(){var e={path:encodeURIComponent(app.settings.path)},t=o.o(window.location.href);Object.keys(t).map(function(n){if(""!==n)return e[n]=t[n]}),c()({url:o.n("ajax/floating-banners"),type:"json",data:e}).then(function(e){var t,n,i={data:e,lang:app.settings.lang},c=new f.a,u=document.querySelector(".floating-banners-container"),d=!1,p=e.v2;if(o.p(e.items,function(e){"desktop"===e.field_platform[0].value&&Object.keys(e.field_banner_item).length>0&&(d=!0)}),p&&d){var h=document.querySelector("#floating-banner-revamp");if(h){h.innerHTML=a()(i),s(h,".floating-banner-item");var m=document.querySelector(".floating-banner-lightbox-title");if(m){var g=m.querySelectorAll("span");g.length>1&&g[0].append("&")}var v=document.querySelector(".floating-banner-lightbox-content-downloads"),y=document.querySelector(".floating-banner-lightbox-content-help-center"),b=document.querySelector(".floating-banners-title");if(m&&b){var w=b.querySelector("h1");w.innerHTML=m.querySelector("h1").innerHTML}v&&y?(t=v,(n=document.createElement("div")).className="floating-banner-lightbox-content-separator",n.innerHTML="&nbsp",t.after(n)):v?(document.querySelector(".phone").remove(),document.querySelector(".slash").remove()):y&&(document.querySelector(".download").remove(),document.querySelector(".slash").remove()),u&&(document.querySelector(".floating-banners-container").style.display="block")}o.f(u,"click",function(e){e.preventDefault(),c.show("floatingBannerLightbox")})}else{var x=document.querySelector(".floating-banner-container");x&&(x.innerHTML=r()(i),s(x),setTimeout(function(){l("left")},50),setTimeout(function(){l("right")},50),o.e(document,"modal_init"))}u&&!d&&document.querySelector(".floating-banners-container").remove()})}function s(e,t=".floating-banner"){var n=document.body.getAttribute("data-device-view"),i=document.body.getAttribute("data-device-os"),r=e.querySelectorAll(t);o.p(r,function(e){var t=e.getAttribute("data-device-platform"),o=e.getAttribute("data-device-os");if(t&&t!==n&&(e.style.display="none"),i){var r=new RegExp(i,"i");o&&r.test(o)&&(e.style.display="none")}})}function l(t){var i=document.querySelectorAll(".floating-banner--"+t);o.p(i,function(i){var r=i.querySelector(".floating-banner--title"),s=i.querySelector(".floating-banner--items"),a=i.querySelector(".floating-banner--title-wrapper");i.style.opacity="1",n.i(u.a)()&&o.b(r,"ie"+n.i(u.a)());var l="";if(o.d(a,"floating-banner--align__right")){var c=r.innerHTML,d=c.split(/(\s+)/);d=o.q(d,function(e){return e.trim().length>0}),c=String(d).replace(/,/g," "),o.p(c,function(e){l+=e+="<br>"}),r.innerHTML=l}s&&(i.style[t]=e,o.b(s,"close"),o.b(r,"close"),o.b(i,"close"),"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch?o.f(i,"click",function(){o.d(i,"open")?p(s,r,i,t,"close"):p(s,r,i,t,"open")}):o.f(i,"mouseover",function(){p(s,r,i,t,"open")}),o.f(i,"mouseout",function(){p(s,r,i,t,"close")}))})}function p(n,i,r,s,a){r.style[s]="open"===a?t:e,o.c(r,"open"===a?"close":"open"),o.b(r,"open"!==a?"close":"open"),o.c(n,"open"===a?"close":"open"),o.b(n,"open"!==a?"close":"open"),o.c(i,"open"===a?"close":"open"),o.b(i,"open"!==a?"close":"open"),setTimeout(function(){d.a.revalidate()},100)}i()};var o=n(0),i=n(107),r=n.n(i),s=n(106),a=n.n(s),l=n(6),c=n.n(l),u=n(4),d=n(41),f=(n(102),n(13))},function(e,t,n){"use strict";var o=n(48),i=n(0);!function(){i.f(document,"click",function(e){var t=e||window.event,r=t.target||t.srcElement;if("A"!==r.tagName){var s=i.l(r,"a");s&&(r=s)}if(("true"===r.getAttribute("data-popup")||"window"===r.getAttribute("target"))&&(i.k(e),r.href)){var a=i.m("title",r.href),l=i.m("width",r.href),c=i.m("height",r.href),u=i.m("top",r.href),d=i.m("left",r.href);switch(a=a||r.getAttribute("data-popup-title")||"windowName",l=l||r.getAttribute("data-popup-width")||800,c=c||r.getAttribute("data-popup-height")||600,u=u||r.getAttribute("data-popup-top")||0,d=d||r.getAttribute("data-popup-left")||0,r.getAttribute("data-popup-position")){case"center":var f=function(e,t){var n=screen.width/2-e/2;return{top:screen.height/2-t/2,left:n}}(l,c);u=f.top,d=f.left}n.i(o.a)(r.href,a,{width:l,height:c,top:u,left:d})}})}()},function(e,t,n){"use strict";var o=n(0),i=n(6),r=n.n(i),s=n(89),a=n(91),l=n(92),c=n(95),u=n(64);t.a=function(e){var t=e||{},n=t.enable===undefined||t.enable,i=t.scrollbot===undefined||t.scrollbot,d=t.modal===undefined?{enable:!0}:t.modal,f=t.template||{},p=t.dismiss!==undefined&&t.dismiss,h=t.counter!==undefined&&t.counter,m=t.notify!==undefined&&t.notify,g=t.action===undefined||t.action,v=t.buttons===undefined?"action":t.buttons,y=t.icons!==undefined&&t.icons,b=t.iconsvg!==undefined&&t.iconsvg,w=t.config!==undefined&&t.config,x=t.lang!==undefined&&t.lang,E=t.lightboxNotif!==undefined&&t.lightboxNotif,S={},k={},_=!1;"undefined"!=typeof app&&"undefined"!=typeof app.settings&&"undefined"!=typeof app.settings.login&&(_=app.settings.login);var T=t.islogin===undefined?_:t.islogin,C=t.token!==undefined&&t.token,M=o.d(document.body,"page-404"),A=new c.a,P=new a.a,I={},D={},L={};D.icon=y,D.css={dateExpired:"debug-expired",dateActive:"debug-active",actionClass:v,actionId:"",expiredMessage:"expired"},D.label={modal_title:"Notifications",expiration_date:"Expiration Date: "},this.enable=function(){if(x&&(t.lang=x),((S=P.configUrl("ajax/pushnx/config",t)).token||C)&&(T=!0),!M&&T)if(w&&w.enabled){var e,n,o={};o=w,A.hasWebsocket()?(e=w.connection.socket.eventBus,n=w.connection.socket.replyUri):(e=w.connection.fallback.eventBus,n=w.connection.fallback.replyUri),o.eventBus=e,o.replyUri=n,this.overrideDefault(o)}else w||this.useDefault()},this.overrideDefault=function(e){e.enabled&&this.bindService(e)},this.useDefault=function(){var e=this,t={ws:A.hasWebsocket(),path:encodeURIComponent("/"),t:Date.now()};(S.token||C)&&(t.token=C),r()({url:S.url,type:"json",crossOrigin:S.xdomain,data:t,complete:function(t){t.enabled&&e.bindService(t)}})},this.bindService=function(e){D.settings=e,D.translations=D.settings.texts,D.excluded=D.settings.excludedPages,D.cta=D.settings.cta,D.domains=D.settings.pushnx_domains,D.lightboxNotif=E,p&&(D.dismiss=D.settings.dismiss),h&&(D.counter=h),m&&(D.notify=m),(I=new s.a(D.settings.logging,m)).console(e,"Settings"),(P=new a.a({debug:I})).excludePage(D.excluded)?I.console(D.excluded,"Excluded Page"):(k=new u(D.settings.eventBus,{vertxbus_ping_interval:5e3,transports:["websocket","xhr-polling","iframe-xhr-polling"]}),A=new c.a,L=new l.a({global:D,modal:d,scrollbot:i,console:I,support:P,socket:A,dismiss:p,template:f,icontemplate:b,eb:k,server:"chat.to.server",islogin:T}),g&&L.action(),A.connect({console:I,global:D,message:L,eb:k,playerServer:"chat.to.client",notifServer:"chat.to.server"}))},this.bindCloseService=function(){o.e(document,"pushnx.close",{close:!0})},this.bindAction=function(){L.action!==undefined&&L.action()},this.closeModal=function(){var e=document.getElementById("pushnxLightbox"),t=document.querySelector(".messages");e&&t&&(o.b(e,"modal-close"),o.c(e,"modal-active"))},this.openModal=function(){var e=document.getElementById("pushnxLightbox"),t=document.querySelector(".messages");e&&t&&(o.c(e,"modal-close"),o.b(e,"modal-active"))},this.listenToMessage=function(){o.f(document,"pushnx.message",this.readyMessage)},this.readyMessage=function(e){o.e(document,"pushnx.message.ready",{ready:e.customData.ready})},this.unbindEvents=function(){o.g(document,"pushnx.message",this.readyMessage),L.unbindAction!==undefined&&L.unbindAction(),A.unbindSocketClose!==undefined&&A.unbindSocketClose()},n&&this.enable(),T?this.listenToMessage():this.unbindEvents()}},function(e,t,n){"use strict";n(75),n(74);var o=n(73);n.i(o.a)()},function(e,t,n){"use strict";var o=n(0),i=(n(77),n(83),n(66),n(15),n(86),n(99)),r=n(85),s=n(79),a=n(82),l=n(78),c=n(65),u=n(76),d=n(70);n.i(i.a)(),n.i(r.a)(),n.i(l.a)(),new c.a,o.a(function(){new a.a;var e=document.getElementById("LoginForm_password");n.i(s.a)(e),n.i(u.a)(e),1===app.settings.v2.banner_v2_enable&&o.b(document.querySelector(".banner"),"banner-slider-v2");const t=new d.a({product:"entry",language:app.settings.lang});app.settings.login||t.clearPopupStatus(),t.init()})},function(e,t,n){"use strict";var o=n(0),i=n(6),r=n.n(i),s=n(47),a=n(8),l=n(49),c=n(98),u=n(97),d=n(4),f=n(16),p=n(60);new function(){var e,t,i,h,m=300,g=15,v="modal-session-timeout",y=!1;function b(e){f.a.log("Session: Almost Done"),h.show()}function w(e){f.a.log("Session: Done")}function x(){f.a.log("Session: Restart")}function E(){f.a.log("Session: Destroy"),e.set("session.confirm.show",!0),i.kill(),_()}function S(){f.a.log("Session: Destroy"),i.kill(),_()}function k(){f.a.log("Session: Restarting"),i.restart(),T("session.reset")}function _(){if(!y){y=!0,T("session.destroy");var e=document.getElementById(v).getAttribute("data-on-timeout"),t=o.n("/logout");e&&(e.indexOf("?")>-1&&(e=e.replace("?","&")),t=t+"?from="+e),r()({url:t,method:"get"}),setTimeout(function(){window.location.replace(t)},500)}}function T(e){try{p.broadcast(e),8===n.i(d.a)()&&setTimeout(function(){p.broadcast(e)},300)}catch(t){}}e=new a.a,t=new l.a,"undefined"!=typeof app&&"undefined"!=typeof app.settings&&"undefined"!=typeof app.settings.login&&!0===app.settings.login&&"undefined"!=typeof app.settings.sessionTimeout&&app.settings.sessionTimeout?(m=app.settings.sessionTimeout||m,(i=new s.a(m,{onRestart:x,onBeforeStop:b,onStop:w})).start(),h=new c.a(g,{onConfirm:S,onCancel:k,onTimeout:E}),o.a(function(){f.a.log("Session Init"),T("session.reset")}),document.onclick=function(){T("session.reset")},document.onscroll=function(){T("session.reset")},document.onkeypress=function(){T("session.reset")},p.on("session.reset",function(e){h.hide(),i.restart()}),p.on("session.destroy",function(e){h.hide(),i.kill(),function(){if(!y){y=!0,t.set("session.destroy.background");var e=document.getElementById(v),n=e.getAttribute("data-on-timeout"),i=o.n("/logout");n&&(n.indexOf("?")>-1&&(n=n.replace("?","&")),i=i+"?from="+n),setTimeout(function(){window.location.replace(i)},500)}}()})):function(){if(t.get("session.destroy.background"))return t.remove("session.destroy.background"),void f.a.log("Session: Killed on Background");e.get("session.confirm.show")&&(e.remove("session.confirm.show"),(new u.a).show())}()}},function(e,t){},function(e,t,n){"use strict";class o{constructor(e){if(this.config=o.mergeSettings(e),this.selector="string"==typeof this.config.selector?document.querySelector(this.config.selector):this.config.selector,null===this.selector)throw new Error("Something wrong with your selector 😭");this.resolveSlidesNumber(),this.selectorWidth=this.selector.offsetWidth,this.innerElements=[].slice.call(this.selector.children),this.currentSlide=this.config.loop?this.config.startIndex%this.innerElements.length:Math.max(0,Math.min(this.config.startIndex,this.innerElements.length-this.perPage)),this.transformProperty=o.webkitOrNot(),["resizeHandler","touchstartHandler","touchendHandler","touchmoveHandler","mousedownHandler","mouseupHandler","mouseleaveHandler","mousemoveHandler","clickHandler"].forEach(e=>{this[e]=this[e].bind(this)}),this.init()}static mergeSettings(e){const t={selector:".siema",duration:200,easing:"ease-out",perPage:1,startIndex:0,draggable:!0,multipleDrag:!0,threshold:20,loop:!1,rtl:!1,onInit:()=>{},onChange:()=>{}},n=e;for(const e in n)t[e]=n[e];return t}static webkitOrNot(){return"string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform"}attachEvents(){window.addEventListener("resize",this.resizeHandler),this.config.draggable&&(this.pointerDown=!1,this.drag={startX:0,endX:0,startY:0,letItGo:null,preventClick:!1},this.selector.addEventListener("touchstart",this.touchstartHandler),this.selector.addEventListener("touchend",this.touchendHandler),this.selector.addEventListener("touchmove",this.touchmoveHandler),this.selector.addEventListener("mousedown",this.mousedownHandler),this.selector.addEventListener("mouseup",this.mouseupHandler),this.selector.addEventListener("mouseleave",this.mouseleaveHandler),this.selector.addEventListener("mousemove",this.mousemoveHandler),this.selector.addEventListener("click",this.clickHandler))}detachEvents(){window.removeEventListener("resize",this.resizeHandler),this.selector.removeEventListener("touchstart",this.touchstartHandler),this.selector.removeEventListener("touchend",this.touchendHandler),this.selector.removeEventListener("touchmove",this.touchmoveHandler),this.selector.removeEventListener("mousedown",this.mousedownHandler),this.selector.removeEventListener("mouseup",this.mouseupHandler),this.selector.removeEventListener("mouseleave",this.mouseleaveHandler),this.selector.removeEventListener("mousemove",this.mousemoveHandler),this.selector.removeEventListener("click",this.clickHandler)}init(){this.attachEvents(),this.selector.style.overflow="hidden",this.selector.style.direction=this.config.rtl?"rtl":"ltr",this.buildSliderFrame(),this.config.onInit.call(this)}buildSliderFrame(){const e=this.selectorWidth/this.perPage,t=this.config.loop?this.innerElements.length+2*this.perPage:this.innerElements.length;this.sliderFrame=document.createElement("div"),this.sliderFrame.style.width=`${e*t}px`,this.enableTransition(),this.config.draggable&&(this.selector.style.cursor="-webkit-grab");const n=document.createDocumentFragment();if(this.config.loop)for(let e=this.innerElements.length-this.perPage;e<this.innerElements.length;e++){const t=this.buildSliderFrameItem(this.innerElements[e].cloneNode(!0));n.appendChild(t)}for(let e=0;e<this.innerElements.length;e++){const t=this.buildSliderFrameItem(this.innerElements[e]);n.appendChild(t)}if(this.config.loop)for(let e=0;e<this.perPage;e++){const t=this.buildSliderFrameItem(this.innerElements[e].cloneNode(!0));n.appendChild(t)}this.sliderFrame.appendChild(n),this.selector.innerHTML="",this.selector.appendChild(this.sliderFrame),this.slideToCurrent()}buildSliderFrameItem(e){const t=document.createElement("div");return t.style.cssFloat=this.config.rtl?"right":"left",t.style.float=this.config.rtl?"right":"left",t.style.width=`${this.config.loop?100/(this.innerElements.length+2*this.perPage):100/this.innerElements.length}%`,t.appendChild(e),t}resolveSlidesNumber(){if("number"==typeof this.config.perPage)this.perPage=this.config.perPage;else if("object"==typeof this.config.perPage){this.perPage=1;for(const e in this.config.perPage)window.innerWidth>=e&&(this.perPage=this.config.perPage[e])}}prev(e=1,t){if(this.innerElements.length<=this.perPage)return;const n=this.currentSlide;if(this.config.loop){if(this.currentSlide-e<0){this.disableTransition();const t=this.currentSlide+this.innerElements.length,n=t+this.perPage,o=(this.config.rtl?1:-1)*n*(this.selectorWidth/this.perPage),i=this.config.draggable?this.drag.endX-this.drag.startX:0;this.sliderFrame.style[this.transformProperty]=`translate3d(${o+i}px, 0, 0)`,this.currentSlide=t-e}else this.currentSlide=this.currentSlide-e}else this.currentSlide=Math.max(this.currentSlide-e,0);n!==this.currentSlide&&(this.slideToCurrent(this.config.loop),this.config.onChange.call(this),t&&t.call(this))}next(e=1,t){if(this.innerElements.length<=this.perPage)return;const n=this.currentSlide;if(this.config.loop){if(this.currentSlide+e>this.innerElements.length-this.perPage){this.disableTransition();const t=this.currentSlide-this.innerElements.length,n=t+this.perPage,o=(this.config.rtl?1:-1)*n*(this.selectorWidth/this.perPage),i=this.config.draggable?this.drag.endX-this.drag.startX:0;this.sliderFrame.style[this.transformProperty]=`translate3d(${o+i}px, 0, 0)`,this.currentSlide=t+e}else this.currentSlide=this.currentSlide+e}else this.currentSlide=Math.min(this.currentSlide+e,this.innerElements.length-this.perPage);n!==this.currentSlide&&(this.slideToCurrent(this.config.loop),this.config.onChange.call(this),t&&t.call(this))}disableTransition(){this.sliderFrame.style.webkitTransition=`all 0ms ${this.config.easing}`,this.sliderFrame.style.transition=`all 0ms ${this.config.easing}`}enableTransition(){this.sliderFrame.style.webkitTransition=`all ${this.config.duration}ms ${this.config.easing}`,this.sliderFrame.style.transition=`all ${this.config.duration}ms ${this.config.easing}`}goTo(e,t){if(this.innerElements.length<=this.perPage)return;const n=this.currentSlide;this.currentSlide=this.config.loop?e%this.innerElements.length:Math.min(Math.max(e,0),this.innerElements.length-this.perPage),n!==this.currentSlide&&(this.slideToCurrent(),this.config.onChange.call(this),t&&t.call(this))}slideToCurrent(e){const t=this.config.loop?this.currentSlide+this.perPage:this.currentSlide,n=(this.config.rtl?1:-1)*t*(this.selectorWidth/this.perPage);e?requestAnimationFrame(()=>{requestAnimationFrame(()=>{this.enableTransition(),this.sliderFrame.style[this.transformProperty]=`translate3d(${n}px, 0, 0)`})}):this.sliderFrame.style[this.transformProperty]=`translate3d(${n}px, 0, 0)`}updateAfterDrag(){const e=(this.config.rtl?-1:1)*(this.drag.endX-this.drag.startX),t=Math.abs(e),n=this.config.multipleDrag?Math.ceil(t/(this.selectorWidth/this.perPage)):1,o=e>0&&this.currentSlide-n<0,i=e<0&&this.currentSlide+n>this.innerElements.length-this.perPage;e>0&&t>this.config.threshold&&this.innerElements.length>this.perPage?this.prev(n):e<0&&t>this.config.threshold&&this.innerElements.length>this.perPage&&this.next(n),this.slideToCurrent(o||i)}resizeHandler(){this.resolveSlidesNumber(),this.currentSlide+this.perPage>this.innerElements.length&&(this.currentSlide=this.innerElements.length<=this.perPage?0:this.innerElements.length-this.perPage),this.selectorWidth=this.selector.offsetWidth,this.buildSliderFrame()}clearDrag(){this.drag={startX:0,endX:0,startY:0,letItGo:null,preventClick:this.drag.preventClick}}touchstartHandler(e){-1!==["TEXTAREA","OPTION","INPUT","SELECT"].indexOf(e.target.nodeName)||(e.stopPropagation(),this.pointerDown=!0,this.drag.startX=e.touches[0].pageX,this.drag.startY=e.touches[0].pageY)}touchendHandler(e){e.stopPropagation(),this.pointerDown=!1,this.enableTransition(),this.drag.endX&&this.updateAfterDrag(),this.clearDrag()}touchmoveHandler(e){if(e.stopPropagation(),null===this.drag.letItGo&&(this.drag.letItGo=Math.abs(this.drag.startY-e.touches[0].pageY)<Math.abs(this.drag.startX-e.touches[0].pageX)),this.pointerDown&&this.drag.letItGo){e.preventDefault(),this.drag.endX=e.touches[0].pageX,this.sliderFrame.style.webkitTransition=`all 0ms ${this.config.easing}`,this.sliderFrame.style.transition=`all 0ms ${this.config.easing}`;const t=(this.config.loop?this.currentSlide+this.perPage:this.currentSlide)*(this.selectorWidth/this.perPage),n=this.drag.endX-this.drag.startX,o=this.config.rtl?t+n:t-n;this.sliderFrame.style[this.transformProperty]=`translate3d(${(this.config.rtl?1:-1)*o}px, 0, 0)`}}mousedownHandler(e){-1!==["TEXTAREA","OPTION","INPUT","SELECT"].indexOf(e.target.nodeName)||(e.preventDefault(),e.stopPropagation(),this.pointerDown=!0,this.drag.startX=e.pageX)}mouseupHandler(e){e.stopPropagation(),this.pointerDown=!1,this.selector.style.cursor="-webkit-grab",this.enableTransition(),this.drag.endX&&this.updateAfterDrag(),this.clearDrag()}mousemoveHandler(e){if(e.preventDefault(),this.pointerDown){"A"===e.target.nodeName&&(this.drag.preventClick=!0),this.drag.endX=e.pageX,this.selector.style.cursor="-webkit-grabbing",this.sliderFrame.style.webkitTransition=`all 0ms ${this.config.easing}`,this.sliderFrame.style.transition=`all 0ms ${this.config.easing}`;const t=(this.config.loop?this.currentSlide+this.perPage:this.currentSlide)*(this.selectorWidth/this.perPage),n=this.drag.endX-this.drag.startX,o=this.config.rtl?t+n:t-n;this.sliderFrame.style[this.transformProperty]=`translate3d(${(this.config.rtl?1:-1)*o}px, 0, 0)`}}mouseleaveHandler(e){this.pointerDown&&(this.pointerDown=!1,this.selector.style.cursor="-webkit-grab",this.drag.endX=e.pageX,this.drag.preventClick=!1,this.enableTransition(),this.updateAfterDrag(),this.clearDrag())}clickHandler(e){this.drag.preventClick&&e.preventDefault(),this.drag.preventClick=!1}remove(e,t){if(e<0||e>=this.innerElements.length)throw new Error("Item to remove doesn't exist 😭");const n=e<this.currentSlide,o=this.currentSlide+this.perPage-1===e;(n||o)&&this.currentSlide--,this.innerElements.splice(e,1),this.buildSliderFrame(),t&&t.call(this)}insert(e,t,n){if(t<0||t>this.innerElements.length+1)throw new Error("Unable to inset it at this index 😭");if(-1!==this.innerElements.indexOf(e))throw new Error("The same item in a carousel? Really? Nope 😭");const o=t<=this.currentSlide>0&&this.innerElements.length;this.currentSlide=o?this.currentSlide+1:this.currentSlide,this.innerElements.splice(t,0,e),this.buildSliderFrame(),n&&n.call(this)}prepend(e,t){this.insert(e,0),t&&t.call(this)}append(e,t){this.insert(e,this.innerElements.length+1),t&&t.call(this)}destroy(e=!1,t){if(this.detachEvents(),this.selector.style.cursor="auto",e){const e=document.createDocumentFragment();for(let t=0;t<this.innerElements.length;t++)e.appendChild(this.innerElements[t]);this.selector.innerHTML="",this.selector.appendChild(e),this.selector.removeAttribute("style")}t&&t.call(this)}}t.a=o},function(e,t,n){(function(o){var i;
/*!
 * crosstab JavaScript Library v0.2.12
 * https://github.com/tejacques/crosstab
 *
 * License: Apache 2.0 https://github.com/tejacques/crosstab/blob/master/LICENSE
 *
 *  Copyright 2015 Tom Jacques
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 */!function(o,r){(i=function(e,t,n){"use strict";var i,r=o.navigator&&(o.navigator.userAgent||o.navigator.vendor)||o.opera||"none",s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od|ad)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(r)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(r.substr(0,4));try{i=o.localStorage,i=o["ie8-eventlistener/storage"]||o.localStorage}catch(N){}var a=!0;try{i.setItem("__crosstab",""),i.removeItem("__crosstab")}catch(N){a=!1}var l=!1;function c(){if(!C.supported){var e="crosstab not supported",t=[];throw i||t.push("localStorage not availabe"),o.addEventListener||t.push("addEventListener not available"),s&&t.push("mobile browser"),l&&t.push("frozen tab environment detected"),a||t.push("localStorage.setItem not allowed"),t.length>0&&(e+=": "+t.join(", ")),new Error(e)}}var u,d,f={keys:{MESSAGE_KEY:"crosstab.MESSAGE_KEY",TABS_KEY:"crosstab.TABS_KEY",MASTER_TAB:"MASTER_TAB",SUPPORTED_KEY:"crosstab.SUPPORTED",FROZEN_TAB_ENVIRONMENT:"crosstab.FROZEN_TAB_ENVIRONMENT"}};f.isArray=Array.isArray||function(e){return e instanceof Array},f.isNumber=function(e){return"number"==typeof e},f.isFunction=function(e){return"function"==typeof e},f.forEachObj=function(e,t){for(var n in e)e.hasOwnProperty(n)&&t.call(e,e[n],n,e)},f.forEachArr=function(e,t){for(var n=e.length,o=0;o<n;o++)t.call(e,e[o],o,e)},f.forEach=function(e,t){f.isArray(e)?f.forEachArr(e,t):f.forEachObj(e,t)},f.map=function(e,t){var n=[];return f.forEach(e,function(e,o,i){n.push(t(e,o,i))}),n},f.filter=function(e,t){var n=f.isArray(e),o=n?[]:{};return n?f.forEachArr(e,function(e,n){t(e,n)&&o.push(e)}):f.forEachObj(e,function(e,n){t(e,n)&&(o[n]=e)}),o},f.reduce=function(e,t,n){var o=arguments.length<3;return f.forEach(e,function(e,i,r){o?(n=e,o=!1):n=t(n,e,i,r)}),n},f.now=function(){return(new Date).getTime()},f.tabs=(d=f.keys.TABS_KEY,u=y(d).data,f.tabs=u||f.tabs||{},f.tabs),f.eventTypes={becomeMaster:"becomeMaster",demoteFromMaster:"demotedFromMaster",tabUpdated:"tabUpdated",tabClosed:"tabClosed",tabPromoted:"tabPromoted"},f.storageEventKeys=f.reduce(f.keys,function(e,t){return e[t]=1,e},{}),f.createEventHandler=function(){var e={},t={},n=function(e,n){var o;return t[e]&&(o=t[e][n]),o},o=function(t,n){var o=-1,i=e[t];if(i&&n)for(var r=i.length||0,s=0;s<r;s++)if(i[s]===n){o=s;break}return o},i=function(e,i,r){var s=a(e),l=n(e,r);return l===undefined?(s[s.length]=i,t[e]||(t[e]={}),r&&(t[e][r]=i)):s[o(e,l)]=i,r||i},r=function(i,r){var s=f.isFunction(r)?r:n(i,r),a=o(i,s);return-1!==a&&(!(!e[i]||!e[i][a])&&(e[i].splice(a,1),delete t[i][r],!0))},s=function(n){var o=!1;return n?(e[n]&&(delete e[n],o=!0),t[n]&&(delete t[n],o=o&&!0)):(e={},t={},o=!0),o},a=function(t){return e[t]=e[t]||[]};return{addListener:i,destructor:function(){clearInterval(C.keepAliveInterval),s()},on:i,off:function(e,t){var n=arguments.length;return n?1===n?s(e):r(e,t):s()},once:function(e,t,o){for(;!o||n(e,o)!==undefined;)o=f.generateId();return i(e,function(){r(e,o);var n=Array.prototype.slice.call(arguments);t.apply(this,n)},o),o},emit:function(e){var t=Array.prototype.slice.call(arguments,1),n=a(e);f.forEach(n,function(e){f.isFunction(e)&&e.apply(this,t)})},listeners:a,removeListener:r,removeAllListeners:s}};var p,h,m,g=f.createEventHandler();function v(e,t){var n={id:C.id,data:t,timestamp:f.now()};i.setItem(e,JSON.stringify(n))}function y(e){var t=i?i.getItem(e):null;return t?JSON.parse(t):{}}function b(){C.stopKeepalive=!0;var e=0;f.forEach(f.tabs,function(t,n){n!==f.keys.MASTER_TAB&&e++}),1===e?(f.tabs={},L()):_(f.eventTypes.tabClosed,C.id)}function w(){return f.tabs[f.keys.MASTER_TAB]}function x(e){f.tabs[f.keys.MASTER_TAB]=e}function E(){var e=w();return e?e.id:0}function S(){return E()===C.id}function k(){var e=null;f.forEach(f.tabs,function(t){(!e||t.id<e)&&(e=t.id)}),e===C.id?_(f.eventTypes.tabPromoted,C.id):x({id:e,lastUpdated:f.now()})}function _(e,t,n){C.supported||c();var o={id:f.generateId(),event:e,data:t,destination:n,origin:C.id,timestamp:f.now()};o.destination!==o.origin&&v(f.keys.MESSAGE_KEY,o),o.destination&&o.destination!==o.origin||g.emit(e,o)}f.events={addListener:g.addListener,on:g.on,off:g.off,once:g.once,emit:g.emit,listeners:g.listeners,removeListener:g.removeListener,removeAllListeners:g.removeAllListeners,destructor:g.destructor},g.addListener(f.eventTypes.tabClosed,function(e){var t=e.data;t in f.tabs&&delete f.tabs[t];var n=w();n&&n.id!==t?n.id===C.id&&L():(n&&delete f.tabs[f.keys.MASTER_TAB],k())}),g.addListener(f.eventTypes.tabUpdated,function(e){var t=e.data;f.tabs[t.id]=t,w()||k(),E()===t.id&&x(t),S()&&L()}),g.addListener(f.eventTypes.tabPromoted,function(e){var t=e.data,n=e.timestamp,o=E();C.id<t?m||(m=setTimeout(function(){m=0,_(f.eventTypes.tabPromoted,C.id)},0)):(x({id:t,lastUpdated:n}),S()&&L(),S()&&o!==C.id?f.events.emit(f.eventTypes.becomeMaster):S()||o!==C.id||f.events.emit(f.eventTypes.demoteFromMaster))}),f.generateId=function(){return f.now().toString()+function(e,t,n){n=n||"0";var o=e.toString();return o.length>=t?o:new Array(t-o.length+1).join(n)+o}(2147483647*Math.random()|0,10)};var T=!1;f.events.once("setupComplete",function(){T=!0});var C=function(e){T?e():f.events.once("setupComplete",e)};C.id=f.generateId(),C.supported=!!i&&o.addEventListener&&!s&&a,C.util=f,C.broadcast=_,C.broadcastMaster=function(e,t){_(e,t,w().id)},C.on=f.events.on,C.once=f.events.once,C.off=f.events.off;if(!T&&C.supported){var M=y(f.keys.FROZEN_TAB_ENVIRONMENT);if(M.timestamp){M.data;f.now()-M.timestamp>6e5&&i.removeItem(f.keys.FROZEN_TAB_ENVIRONMENT)}var A=y(f.keys.SUPPORTED_KEY);if(A.timestamp){var P=A.data;f.now()-A.timestamp>6e5?i.removeItem(f.keys.SUPPORTED_KEY):!1!==P&&!0!==P||(C.supported=P,f.events.emit("setupComplete"))}}var I=5e3,D=500;function L(){v(f.keys.TABS_KEY,f.tabs)}function O(){var e=f.now(),t={id:C.id,lastUpdated:e};_(f.eventTypes.tabUpdated,t);var n=f.filter(f.tabs,function(t,n){return n!==f.keys.MASTER_TAB&&!function(t){return e-t.lastUpdated<I}(t)});if(f.forEach(n,function(e){_(f.eventTypes.tabClosed,e.id)}),!T){var o=w();if(o&&o.id!==t.id){var i,r;C.util.events.once("PONG",function(){T||(clearTimeout(i),v(f.keys.SUPPORTED_KEY,!0),v(f.keys.FROZEN_TAB_ENVIRONMENT,!1),f.events.emit("setupComplete"))}),r=f.now();var s=function(e){var t=f.now()-r;T||(e<=0&&t>D?f.events.emit("setupComplete"):i=setTimeout(function(){s(e-1)},5))};i=setTimeout(function(){s(5)},D-25),C.broadcastMaster("PING")}else o&&o.id===t.id&&f.events.emit("setupComplete")}}function q(){C.supported&&!C.stopKeepalive&&O()}C.supported?(o.addEventListener("storage",function(e){if(e&&e.key in f.storageEventKeys){var t;try{t=e.newValue?JSON.parse(e.newValue):{}}catch(N){t={}}if(t&&t.id&&t.id!==C.id&&(e.newValue!==p||e.oldValue!==h))if(p=e.newValue,h=e.oldValue,e.key===f.keys.MESSAGE_KEY){var n=t.data;n.destination&&n.destination!==C.id||g.emit(n.event,n)}else e.key===f.keys.FROZEN_TAB_ENVIRONMENT?(l=t.data,C.supported=C.supported&&!t.data):e.key===f.keys.SUPPORTED_KEY&&(C.supported=C.supported&&t.data)}},!1),o.addEventListener("beforeunload",b,!1),o.addEventListener("DOMContentLoaded",function(){o.removeEventListener("beforeunload",b,!1),o.addEventListener("unload",b,!1),C.stopKeepalive=!1,q()},!1),f.events.on("PING",function(e){e.destination&&e.destination===C.id&&f.now()-e.timestamp<D&&C.broadcast("PONG",null,e.origin)}),C.keepAliveInterval=setInterval(q,3e3),q()):C.broadcast=c,n.exports=C}.call(t,n,t,e))===undefined||(e.exports=i)}("object"==typeof window?window:o,n(115))}).call(t,n(10))},function(e,t,n){var o;!function(i){"use strict";var r,s,a,l=(r=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,s=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,a=/[^-+\dA-Z]/g,function(e,t,n,o){if(1!==arguments.length||"string"!==(null===(i=e)?"null":i===undefined?"undefined":"object"!=typeof i?typeof i:Array.isArray(i)?"array":{}.toString.call(i).slice(8,-1).toLowerCase())||/\d/.test(e)||(t=e,e=undefined),(e=e||new Date)instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");var i,u=(t=String(l.masks[t]||t||l.masks["default"])).slice(0,4);"UTC:"!==u&&"GMT:"!==u||(t=t.slice(4),n=!0,"GMT:"===u&&(o=!0));var d=n?"getUTC":"get",f=e[d+"Date"](),p=e[d+"Day"](),h=e[d+"Month"](),m=e[d+"FullYear"](),g=e[d+"Hours"](),v=e[d+"Minutes"](),y=e[d+"Seconds"](),b=e[d+"Milliseconds"](),w=n?0:e.getTimezoneOffset(),x=function(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);var n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);var o=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-o);var i=(t-n)/6048e5;return 1+Math.floor(i)}(e),E=function(e){var t=e.getDay();return 0===t&&(t=7),t}(e),S={d:f,dd:c(f),ddd:l.i18n.dayNames[p],dddd:l.i18n.dayNames[p+7],m:h+1,mm:c(h+1),mmm:l.i18n.monthNames[h],mmmm:l.i18n.monthNames[h+12],yy:String(m).slice(2),yyyy:m,h:g%12||12,hh:c(g%12||12),H:g,HH:c(g),M:v,MM:c(v),s:y,ss:c(y),l:c(b,3),L:c(Math.round(b/10)),t:g<12?"a":"p",tt:g<12?"am":"pm",T:g<12?"A":"P",TT:g<12?"AM":"PM",Z:o?"GMT":n?"UTC":(String(e).match(s)||[""]).pop().replace(a,""),o:(w>0?"-":"+")+c(100*Math.floor(Math.abs(w)/60)+Math.abs(w)%60,4),S:["th","st","nd","rd"][f%10>3?0:(f%100-f%10!=10)*f%10],W:x,N:E};return t.replace(r,function(e){return e in S?S[e]:e.slice(1,e.length-1)})});function c(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e}l.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},l.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},(o=function(){return l}.call(t,n,t,e))===undefined||(e.exports=o)}()},function(e,t,n){var o,i,r;r=window||this,o=function(e){"use strict";var t,n,o,i,r,s,a,l={},c=[],u=!!document.querySelector&&!!e.addEventListener,d={},f=0,p=0,h={initClass:"js-priorityNav",mainNavWrapper:"nav",mainNav:"ul",navDropdownClassName:"nav__dropdown",navDropdownToggleClassName:"nav__dropdown-toggle",navDropdownLabel:"more",navDropdownBreakpointLabel:"menu",breakPoint:500,throttleDelay:50,offsetPixels:0,count:!0,dropdownEventIn:"click",dropdownEventOut:"click",moved:function(){},movedBack:function(){}},m=function(e,t,n){if("[object Object]"===Object.prototype.toString.call(e))for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(n,e[o],o,e);else for(var i=0,r=e.length;i<r;i++)t.call(n,e[i],i,e)};var g=function(e,t){if(e.classList)e.classList.toggle(t);else{var n=e.className.split(" "),o=n.indexOf(t);o>=0?n.splice(o,1):n.push(t),e.className=n.join(" ")}},v=function(e){var t,i,s,a,l,c,u,f;t=e,i=window.getComputedStyle(t),s=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),n=t.clientWidth-s,e.querySelector(r).parentNode===e?e.querySelector(r).offsetWidth:0,o=x(e)+d.offsetPixels,p=(a=document,l=window,c=a.compatMode&&"CSS1Compat"===a.compatMode?a.documentElement:a.body,u=c.clientWidth,f=c.clientHeight,l.innerWidth&&u>l.innerWidth&&(u=l.innerWidth,f=l.innerHeight),{width:u,height:f}).width};l.doesItFit=function(e){var t,a,u,f,h=0===e.getAttribute("instance")?h:d.throttleDelay;0,(t=function(){var t=e.getAttribute("instance");for(v(e);n<=o&&e.querySelector(i).children.length>0||p<d.breakPoint&&e.querySelector(i).children.length>0;)l.toDropdown(e,t),v(e),p<d.breakPoint&&w(e,t,d.navDropdownBreakpointLabel);for(;n>=c[t][c[t].length-1]&&p>d.breakPoint;)l.toMenu(e,t),p>d.breakPoint&&w(e,t,d.navDropdownLabel);c[t].length<1&&(e.querySelector(r).classList.remove("show"),w(e,t,d.navDropdownLabel)),e.querySelector(i).children.length<1?(e.classList.add("is-empty"),w(e,t,d.navDropdownBreakpointLabel)):(e.classList.remove("is-empty"),e.querySelectorAll(".priority-nav__wrapper li.active").length>0&&e.querySelector(s).classList.add("active")),y(e,t)},a=h,function(){var e=this,n=arguments,o=u&&!f;clearTimeout(f),f=setTimeout(function(){f=null,u||t.apply(e,n)},a),o&&t.apply(e,n)})()};var y=function(e,t){c[t].length<1?(e.querySelector(s).classList.add("priority-nav-is-hidden"),e.querySelector(s).classList.remove("priority-nav-is-visible"),e.classList.remove("priority-nav-has-dropdown"),e.querySelector(".priority-nav__wrapper").setAttribute("aria-haspopup","false")):(e.querySelector(s).classList.add("priority-nav-is-visible"),e.querySelector(s).classList.remove("priority-nav-is-hidden"),e.classList.add("priority-nav-has-dropdown"),e.querySelector(".priority-nav__wrapper").setAttribute("aria-haspopup","true"))},b=function(e,t){e.querySelector(s).setAttribute("priorityNav-count",c[t].length)},w=function(e,t,n){e.querySelector(s).innerHTML=n};l.toDropdown=function(e,t){e.querySelector(r).firstChild&&e.querySelector(i).children.length>0?e.querySelector(r).insertBefore(e.querySelector(i).lastElementChild,e.querySelector(r).firstChild):e.querySelector(i).children.length>0&&e.querySelector(r).appendChild(e.querySelector(i).lastElementChild),c[t].push(o),y(e,t),e.querySelector(i).children.length>0&&d.count&&b(e,t),d.moved()},l.toMenu=function(e,t){e.querySelector(r).children.length>0&&e.querySelector(i).appendChild(e.querySelector(r).firstElementChild),c[t].pop(),y(e,t),e.querySelector(i).children.length>0&&d.count&&b(e,t),d.movedBack()};var x=function(e){for(var t=e.childNodes,n=0,o=0;o<t.length;o++)3!==t[o].nodeType&&(isNaN(t[o].offsetWidth)||(n+=t[o].offsetWidth));return n},E=function(e,n){window.attachEvent?window.attachEvent("onresize",function(){l.doesItFit&&l.doesItFit(e)}):window.addEventListener&&window.addEventListener("resize",function(){l.doesItFit&&l.doesItFit(e)},!0),e.querySelector(s).addEventListener(n.dropdownEventIn,function(){g(e.querySelector(r),"show"),g(this,"is-open"),g(e,"is-open"),-1!==e.className.indexOf("is-open")?e.querySelector(r).setAttribute("aria-hidden","false"):(e.querySelector(r).setAttribute("aria-hidden","true"),e.querySelector(r).blur())}),document.addEventListener(n.dropdownEventOut,function(t){(function(e,t){for(var n=t.charAt(0);e&&e!==document;e=e.parentNode)if("."===n){if(e.classList.contains(t.substr(1)))return e}else if("#"===n){if(e.id===t.substr(1))return e}else if("["===n&&e.hasAttribute(t.substr(1,t.length-2)))return e;return!1})(t.target,"."+n.navDropdownClassName)||t.target===e.querySelector(s)||(e.querySelector(r).classList.remove("show"),e.querySelector(s).classList.remove("is-open"),e.classList.remove("is-open"))}),document.onkeydown=function(e){27===(e=e||window.event).keyCode&&(document.querySelector(r).classList.remove("show"),document.querySelector(s).classList.remove("is-open"),t.classList.remove("is-open"))}};Element.prototype.remove=function(){this.parentElement.removeChild(this)},NodeList.prototype.remove=HTMLCollection.prototype.remove=function(){for(var e=0,t=this.length;e<t;e++)this[e]&&this[e].parentElement&&this[e].parentElement.removeChild(this[e])},l.destroy=function(){d&&(document.documentElement.classList.remove(d.initClass),a.remove(),d=null,delete l.init,delete l.doesItFit)},u&&"undefined"!=typeof Node&&(Node.prototype.insertAfter=function(e,t){this.insertBefore(e,t.nextSibling)});var S=function(e){var t=e.charAt(0);return"."!==t&&"#"!==t};return l.init=function(e){if(d=function(e,t){var n={};return m(e,function(t,o){n[o]=e[o]}),m(t,function(e,o){n[o]=t[o]}),n}(h,e||{}),u||"undefined"!=typeof Node)if(S(d.navDropdownClassName)&&S(d.navDropdownToggleClassName)){var n=document.querySelectorAll(d.mainNavWrapper);m(n,function(e){c[f]=[],e.setAttribute("instance",f++),(t=e)?(i=d.mainNav,e.querySelector(i)?(!function(e,t){a=document.createElement("span"),r=document.createElement("ul"),(s=document.createElement("button")).innerHTML=t.navDropdownLabel,s.setAttribute("aria-controls","menu"),s.setAttribute("type","button"),r.setAttribute("aria-hidden","true"),e.querySelector(i).parentNode===e?(e.insertAfter(a,e.querySelector(i)),a.appendChild(s),a.appendChild(r),r.classList.add(t.navDropdownClassName),r.classList.add("priority-nav__dropdown"),s.classList.add(t.navDropdownToggleClassName),s.classList.add("priority-nav__dropdown-toggle"),a.classList.add(t.navDropdownClassName+"-wrapper"),a.classList.add("priority-nav__wrapper"),e.classList.add("priority-nav")):console.warn("mainNav is not a direct child of mainNavWrapper, double check please")}(e,d),r="."+d.navDropdownClassName,e.querySelector(r)?(s="."+d.navDropdownToggleClassName,e.querySelector(s)?(E(e,d),l.doesItFit(e)):console.warn("couldn't find the specified navDropdownToggle element")):console.warn("couldn't find the specified navDropdown element")):console.warn("couldn't find the specified mainNav element")):console.warn("couldn't find the specified mainNavWrapper element")}),0,document.documentElement.classList.add(d.initClass)}else console.warn("No symbols allowed in navDropdownClassName & navDropdownToggleClassName. These are not selectors.");else console.warn("This browser doesn't support priorityNav")},l}(r),(i="function"==typeof o?o.call(t,n,t,e):o)===undefined||(e.exports=i)},function(e,t,n){(function(t){var n,o;o=function(){return function e(t,o,i){function r(a,l){if(!o[a]){if(!t[a]){if(!l&&("function"==typeof n&&n))return n(a,!0);if(s)return s(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=o[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return r(n||e)},u,u.exports,e,t,o,i)}return o[a].exports}for(var s="function"==typeof n&&n,a=0;a<i.length;a++)r(i[a]);return r}({1:[function(e,n){(function(t){"use strict";var o=e("./transport-list");n.exports=e("./main")(o),"_sockjs_onload"in t&&setTimeout(t._sockjs_onload,1)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./main":14,"./transport-list":16}],2:[function(e,t){"use strict";function n(){i.call(this),this.initEvent("close",!1,!1),this.wasClean=!1,this.code=0,this.reason=""}var o=e("inherits"),i=e("./event");o(n,i),t.exports=n},{"./event":4,inherits:54}],3:[function(e,t){"use strict";function n(){i.call(this)}var o=e("inherits"),i=e("./eventtarget");o(n,i),n.prototype.removeAllListeners=function(e){e?delete this._listeners[e]:this._listeners={}},n.prototype.once=function(e,t){var n=this,o=!1;this.on(e,function i(){n.removeListener(e,i),o||(o=!0,t.apply(this,arguments))})},n.prototype.emit=function(){var e=arguments[0],t=this._listeners[e];if(t){for(var n=arguments.length,o=new Array(n-1),i=1;n>i;i++)o[i-1]=arguments[i];for(var r=0;r<t.length;r++)t[r].apply(this,o)}},n.prototype.on=n.prototype.addListener=i.prototype.addEventListener,n.prototype.removeListener=i.prototype.removeEventListener,t.exports.EventEmitter=n},{"./eventtarget":5,inherits:54}],4:[function(e,t){"use strict";function n(e){this.type=e}n.prototype.initEvent=function(e,t,n){return this.type=e,this.bubbles=t,this.cancelable=n,this.timeStamp=+new Date,this},n.prototype.stopPropagation=function(){},n.prototype.preventDefault=function(){},n.CAPTURING_PHASE=1,n.AT_TARGET=2,n.BUBBLING_PHASE=3,t.exports=n},{}],5:[function(e,t){"use strict";function n(){this._listeners={}}n.prototype.addEventListener=function(e,t){e in this._listeners||(this._listeners[e]=[]);var n=this._listeners[e];-1===n.indexOf(t)&&(n=n.concat([t])),this._listeners[e]=n},n.prototype.removeEventListener=function(e,t){var n=this._listeners[e];if(n){var o=n.indexOf(t);return-1!==o?void(n.length>1?this._listeners[e]=n.slice(0,o).concat(n.slice(o+1)):delete this._listeners[e]):void 0}},n.prototype.dispatchEvent=function(){var e=arguments[0],t=e.type,n=1===arguments.length?[e]:Array.apply(null,arguments);if(this["on"+t]&&this["on"+t].apply(this,n),t in this._listeners)for(var o=this._listeners[t],i=0;i<o.length;i++)o[i].apply(this,n)},t.exports=n},{}],6:[function(e,t){"use strict";function n(e){i.call(this),this.initEvent("message",!1,!1),this.data=e}var o=e("inherits"),i=e("./event");o(n,i),t.exports=n},{"./event":4,inherits:54}],7:[function(e,t){"use strict";function n(e){this._transport=e,e.on("message",this._transportMessage.bind(this)),e.on("close",this._transportClose.bind(this))}var o=e("json3"),i=e("./utils/iframe");n.prototype._transportClose=function(e,t){i.postMessage("c",o.stringify([e,t]))},n.prototype._transportMessage=function(e){i.postMessage("t",e)},n.prototype._send=function(e){this._transport.send(e)},n.prototype._close=function(){this._transport.close(),this._transport.removeAllListeners()},t.exports=n},{"./utils/iframe":47,json3:55}],8:[function(e,t){"use strict";var n=e("./utils/url"),o=e("./utils/event"),i=e("json3"),r=e("./facade"),s=e("./info-iframe-receiver"),a=e("./utils/iframe"),l=e("./location");t.exports=function(e,t){var c,u={};t.forEach(function(e){e.facadeTransport&&(u[e.facadeTransport.transportName]=e.facadeTransport)}),u[s.transportName]=s,e.bootstrap_iframe=function(){var t;a.currentWindowId=l.hash.slice(1);o.attachEvent("message",function(o){if(o.source===parent&&(void 0===c&&(c=o.origin),o.origin===c)){var s;try{s=i.parse(o.data)}catch(g){return}if(s.windowId===a.currentWindowId)switch(s.type){case"s":var d;try{d=i.parse(s.data)}catch(g){break}var f=d[0],p=d[1],h=d[2],m=d[3];if(f!==e.version)throw new Error('Incompatible SockJS! Main site uses: "'+f+'", the iframe: "'+e.version+'".');if(!n.isOriginEqual(h,l.href)||!n.isOriginEqual(m,l.href))throw new Error("Can't connect to different domain from within an iframe. ("+l.href+", "+h+", "+m+")");t=new r(new u[p](h,m));break;case"m":t._send(s.data);break;case"c":t&&t._close(),t=null}}}),a.postMessage("s")}}},{"./facade":7,"./info-iframe-receiver":10,"./location":13,"./utils/event":46,"./utils/iframe":47,"./utils/url":52,debug:void 0,json3:55}],9:[function(e,t){"use strict";function n(e,t){o.call(this);var n=this,i=+new Date;this.xo=new t("GET",e),this.xo.once("finish",function(e,t){var o,a;if(200===e){if(a=+new Date-i,t)try{o=r.parse(t)}catch(l){}s.isObject(o)||(o={})}n.emit("finish",o,a),n.removeAllListeners()})}var o=e("events").EventEmitter,i=e("inherits"),r=e("json3"),s=e("./utils/object");i(n,o),n.prototype.close=function(){this.removeAllListeners(),this.xo.close()},t.exports=n},{"./utils/object":49,debug:void 0,events:3,inherits:54,json3:55}],10:[function(e,t){"use strict";function n(e){var t=this;i.call(this),this.ir=new a(e,s),this.ir.once("finish",function(e,n){t.ir=null,t.emit("message",r.stringify([e,n]))})}var o=e("inherits"),i=e("events").EventEmitter,r=e("json3"),s=e("./transport/sender/xhr-local"),a=e("./info-ajax");o(n,i),n.transportName="iframe-info-receiver",n.prototype.close=function(){this.ir&&(this.ir.close(),this.ir=null),this.removeAllListeners()},t.exports=n},{"./info-ajax":9,"./transport/sender/xhr-local":37,events:3,inherits:54,json3:55}],11:[function(e,n){(function(t){"use strict";function o(e,n){var o=this;i.call(this);var r=function(){var t=o.ifr=new l(c.transportName,n,e);t.once("message",function(e){if(e){var n;try{n=s.parse(e)}catch(t){return o.emit("finish"),void o.close()}var i=n[0],r=n[1];o.emit("finish",i,r)}o.close()}),t.once("close",function(){o.emit("finish"),o.close()})};t.document.body?r():a.attachEvent("load",r)}var i=e("events").EventEmitter,r=e("inherits"),s=e("json3"),a=e("./utils/event"),l=e("./transport/iframe"),c=e("./info-iframe-receiver");r(o,i),o.enabled=function(){return l.enabled()},o.prototype.close=function(){this.ifr&&this.ifr.close(),this.removeAllListeners(),this.ifr=null},n.exports=o}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./info-iframe-receiver":10,"./transport/iframe":22,"./utils/event":46,debug:void 0,events:3,inherits:54,json3:55}],12:[function(e,t){"use strict";function n(e,t){var n=this;o.call(this),setTimeout(function(){n.doXhr(e,t)},0)}var o=e("events").EventEmitter,i=e("inherits"),r=e("./utils/url"),s=e("./transport/sender/xdr"),a=e("./transport/sender/xhr-cors"),l=e("./transport/sender/xhr-local"),c=e("./transport/sender/xhr-fake"),u=e("./info-iframe"),d=e("./info-ajax");i(n,o),n._getReceiver=function(e,t,n){return n.sameOrigin?new d(t,l):a.enabled?new d(t,a):s.enabled&&n.sameScheme?new d(t,s):u.enabled()?new u(e,t):new d(t,c)},n.prototype.doXhr=function(e,t){var o=this,i=r.addPath(e,"/info");this.xo=n._getReceiver(e,i,t),this.timeoutRef=setTimeout(function(){o._cleanup(!1),o.emit("finish")},n.timeout),this.xo.once("finish",function(e,t){o._cleanup(!0),o.emit("finish",e,t)})},n.prototype._cleanup=function(e){clearTimeout(this.timeoutRef),this.timeoutRef=null,!e&&this.xo&&this.xo.close(),this.xo=null},n.prototype.close=function(){this.removeAllListeners(),this._cleanup(!1)},n.timeout=8e3,t.exports=n},{"./info-ajax":9,"./info-iframe":11,"./transport/sender/xdr":34,"./transport/sender/xhr-cors":35,"./transport/sender/xhr-fake":36,"./transport/sender/xhr-local":37,"./utils/url":52,debug:void 0,events:3,inherits:54}],13:[function(e,n){(function(e){"use strict";n.exports=e.location||{origin:"http://localhost:80",protocol:"http",host:"localhost",port:80,href:"http://localhost/",hash:""}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],14:[function(e,n){(function(t){"use strict";function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);if(arguments.length<1)throw new TypeError("Failed to construct 'SockJS: 1 argument required, but only 0 present");y.call(this),this.readyState=o.CONNECTING,this.extensions="",this.protocol="",(n=n||{}).protocols_whitelist&&g.warn("'protocols_whitelist' is DEPRECATED. Use 'transports' instead."),this._transportsWhitelist=n.transports,this._transportOptions=n.transportOptions||{};var i=n.sessionId||8;if("function"==typeof i)this._generateSessionId=i;else{if("number"!=typeof i)throw new TypeError("If sessionId is used in the options, it needs to be a number or a function.");this._generateSessionId=function(){return c.string(i)}}this._server=n.server||c.numberString(1e3);var r=new s(e);if(!r.host||!r.protocol)throw new SyntaxError("The URL '"+e+"' is invalid");if(r.hash)throw new SyntaxError("The URL must not contain a fragment");if("http:"!==r.protocol&&"https:"!==r.protocol)throw new SyntaxError("The URL's scheme must be either 'http:' or 'https:'. '"+r.protocol+"' is not allowed.");var a="https:"===r.protocol;if("https"===b.protocol&&!a)throw new Error("SecurityError: An insecure SockJS connection may not be initiated from a page loaded over HTTPS");t?Array.isArray(t)||(t=[t]):t=[];var l=t.sort();l.forEach(function(e,t){if(!e)throw new SyntaxError("The protocols entry '"+e+"' is invalid.");if(t<l.length-1&&e===l[t+1])throw new SyntaxError("The protocols entry '"+e+"' is duplicated.")});var u=d.getOrigin(b.href);this._origin=u?u.toLowerCase():null,r.set("pathname",r.pathname.replace(/\/+$/,"")),this.url=r.href,this._urlInfo={nullOrigin:!m.hasDomain(),sameOrigin:d.isOriginEqual(this.url,b.href),sameScheme:d.isSchemeEqual(this.url,b.href)},this._ir=new E(this.url,this._urlInfo),this._ir.once("finish",this._receiveInfo.bind(this))}function i(e){return 1e3===e||e>=3e3&&4999>=e}e("./shims");var r,s=e("url-parse"),a=e("inherits"),l=e("json3"),c=e("./utils/random"),u=e("./utils/escape"),d=e("./utils/url"),f=e("./utils/event"),p=e("./utils/transport"),h=e("./utils/object"),m=e("./utils/browser"),g=e("./utils/log"),v=e("./event/event"),y=e("./event/eventtarget"),b=e("./location"),w=e("./event/close"),x=e("./event/trans-message"),E=e("./info-receiver");a(o,y),o.prototype.close=function(e,t){if(e&&!i(e))throw new Error("InvalidAccessError: Invalid code");if(t&&t.length>123)throw new SyntaxError("reason argument has an invalid length");if(this.readyState!==o.CLOSING&&this.readyState!==o.CLOSED){this._close(e||1e3,t||"Normal closure",!0)}},o.prototype.send=function(e){if("string"!=typeof e&&(e=""+e),this.readyState===o.CONNECTING)throw new Error("InvalidStateError: The connection has not been established yet");this.readyState===o.OPEN&&this._transport.send(u.quote(e))},o.version=e("./version"),o.CONNECTING=0,o.OPEN=1,o.CLOSING=2,o.CLOSED=3,o.prototype._receiveInfo=function(e,t){if(this._ir=null,e){this._rto=this.countRTO(t),this._transUrl=e.base_url?e.base_url:this.url,e=h.extend(e,this._urlInfo);var n=r.filterToEnabled(this._transportsWhitelist,e);this._transports=n.main,this._connect()}else this._close(1002,"Cannot connect to server")},o.prototype._connect=function(){for(var e=this._transports.shift();e;e=this._transports.shift()){if(e.needBody&&(!t.document.body||"undefined"!=typeof t.document.readyState&&"complete"!==t.document.readyState&&"interactive"!==t.document.readyState))return this._transports.unshift(e),void f.attachEvent("load",this._connect.bind(this));var n=this._rto*e.roundTrips||5e3;this._transportTimeoutId=setTimeout(this._transportTimeout.bind(this),n);var o=d.addPath(this._transUrl,"/"+this._server+"/"+this._generateSessionId()),i=this._transportOptions[e.transportName],r=new e(o,this._transUrl,i);return r.on("message",this._transportMessage.bind(this)),r.once("close",this._transportClose.bind(this)),r.transportName=e.transportName,void(this._transport=r)}this._close(2e3,"All transports failed",!1)},o.prototype._transportTimeout=function(){this.readyState===o.CONNECTING&&this._transportClose(2007,"Transport timed out")},o.prototype._transportMessage=function(e){var t,n=this,o=e.slice(0,1),i=e.slice(1);switch(o){case"o":return void this._open();case"h":return void this.dispatchEvent(new v("heartbeat"))}if(i)try{t=l.parse(i)}catch(r){}if(void 0!==t)switch(o){case"a":Array.isArray(t)&&t.forEach(function(e){n.dispatchEvent(new x(e))});break;case"m":this.dispatchEvent(new x(t));break;case"c":Array.isArray(t)&&2===t.length&&this._close(t[0],t[1],!0)}},o.prototype._transportClose=function(e,t){return this._transport&&(this._transport.removeAllListeners(),this._transport=null,this.transport=null),i(e)||2e3===e||this.readyState!==o.CONNECTING?void this._close(e,t):void this._connect()},o.prototype._open=function(){this.readyState===o.CONNECTING?(this._transportTimeoutId&&(clearTimeout(this._transportTimeoutId),this._transportTimeoutId=null),this.readyState=o.OPEN,this.transport=this._transport.transportName,this.dispatchEvent(new v("open"))):this._close(1006,"Server lost session")},o.prototype._close=function(e,t,n){var i=!1;if(this._ir&&(i=!0,this._ir.close(),this._ir=null),this._transport&&(this._transport.close(),this._transport=null,this.transport=null),this.readyState===o.CLOSED)throw new Error("InvalidStateError: SockJS has already been closed");this.readyState=o.CLOSING,setTimeout(function(){this.readyState=o.CLOSED,i&&this.dispatchEvent(new v("error"));var r=new w("close");r.wasClean=n||!1,r.code=e||1e3,r.reason=t,this.dispatchEvent(r),this.onmessage=this.onclose=this.onerror=null}.bind(this),0)},o.prototype.countRTO=function(e){return e>100?4*e:300+e},n.exports=function(t){return r=p(t),e("./iframe-bootstrap")(o,t),o}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./event/close":2,"./event/event":4,"./event/eventtarget":5,"./event/trans-message":6,"./iframe-bootstrap":8,"./info-receiver":12,"./location":13,"./shims":15,"./utils/browser":44,"./utils/escape":45,"./utils/event":46,"./utils/log":48,"./utils/object":49,"./utils/random":50,"./utils/transport":51,"./utils/url":52,"./version":53,debug:void 0,inherits:54,json3:55,"url-parse":56}],15:[function(){"use strict";function e(e){var t=+e;return t!=t?t=0:0!==t&&t!==1/0&&t!==-1/0&&(t=(t>0||-1)*Math.floor(Math.abs(t))),t}function t(){}var n,o=Array.prototype,i=Object.prototype,r=Function.prototype,s=String.prototype,a=o.slice,l=i.toString,c=function(e){return"[object Function]"===i.toString.call(e)},u=function(e){return"[object String]"===l.call(e)},d=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}();n=d?function(e,t,n,o){!o&&t in e||Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(e,t,n,o){!o&&t in e||(e[t]=n)};var f=function(e,t,o){for(var r in t)i.hasOwnProperty.call(t,r)&&n(e,r,t[r],o)},p=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)};f(r,{bind:function(e){var n=this;if(!c(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var o=a.call(arguments,1),i=Math.max(0,n.length-o.length),r=[],s=0;i>s;s++)r.push("$"+s);var l=Function("binder","return function ("+r.join(",")+"){ return binder.apply(this, arguments); }")(function(){if(this instanceof l){var t=n.apply(this,o.concat(a.call(arguments)));return Object(t)===t?t:this}return n.apply(e,o.concat(a.call(arguments)))});return n.prototype&&(t.prototype=n.prototype,l.prototype=new t,t.prototype=null),l}}),f(Array,{isArray:function(e){return"[object Array]"===l.call(e)}});var h=Object("a"),m="a"!==h[0]||!(0 in h);f(o,{forEach:function(e){var t=p(this),n=m&&u(this)?this.split(""):t,o=arguments[1],i=-1,r=n.length>>>0;if(!c(e))throw new TypeError;for(;++i<r;)i in n&&e.call(o,n[i],i,t)}},!function(e){var t=!0,n=!0;return e&&(e.call("foo",function(e,n,o){"object"!=typeof o&&(t=!1)}),e.call([1],function(){n="string"==typeof this},"x")),!!e&&t&&n}(o.forEach));var g=Array.prototype.indexOf&&-1!==[0,1].indexOf(1,2);f(o,{indexOf:function(t){var n=m&&u(this)?this.split(""):p(this),o=n.length>>>0;if(!o)return-1;var i=0;for(arguments.length>1&&(i=e(arguments[1])),i=i>=0?i:Math.max(0,o+i);o>i;i++)if(i in n&&n[i]===t)return i;return-1}},g);var v=s.split;2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?function(){var e=void 0===/()??/.exec("")[1];s.split=function(t,n){var i=this;if(void 0===t&&0===n)return[];if("[object RegExp]"!==l.call(t))return v.call(this,t,n);var r,s,a,c,u=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.extended?"x":"")+(t.sticky?"y":""),f=0;for(t=new RegExp(t.source,d+"g"),i+="",e||(r=new RegExp("^"+t.source+"$(?!\\s)",d)),n=void 0===n?-1>>>0:function(e){return e>>>0}(n);(s=t.exec(i))&&!((a=s.index+s[0].length)>f&&(u.push(i.slice(f,s.index)),!e&&s.length>1&&s[0].replace(r,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(s[e]=void 0)}),s.length>1&&s.index<i.length&&o.push.apply(u,s.slice(1)),c=s[0].length,f=a,u.length>=n));)t.lastIndex===s.index&&t.lastIndex++;return f===i.length?(c||!t.test(""))&&u.push(""):u.push(i.slice(f)),u.length>n?u.slice(0,n):u}}():"0".split(void 0,0).length&&(s.split=function(e,t){return void 0===e&&0===t?[]:v.call(this,e,t)});var y="\t\n\x0B\f\r   ᠎             　\u2028\u2029\ufeff",b="["+y+"]",w=new RegExp("^"+b+b+"*"),x=new RegExp(b+b+"*$"),E=s.trim&&(y.trim()||!"​".trim());f(s,{trim:function(){if(void 0===this||null===this)throw new TypeError("can't convert "+this+" to object");return String(this).replace(w,"").replace(x,"")}},E);var S=s.substr,k="".substr&&"b"!=="0b".substr(-1);f(s,{substr:function(e,t){return S.call(this,0>e&&(e=this.length+e)<0?0:e,t)}},k)},{}],16:[function(e,t){"use strict";t.exports=[e("./transport/websocket"),e("./transport/xhr-streaming"),e("./transport/xdr-streaming"),e("./transport/eventsource"),e("./transport/lib/iframe-wrap")(e("./transport/eventsource")),e("./transport/htmlfile"),e("./transport/lib/iframe-wrap")(e("./transport/htmlfile")),e("./transport/xhr-polling"),e("./transport/xdr-polling"),e("./transport/lib/iframe-wrap")(e("./transport/xhr-polling")),e("./transport/jsonp-polling")]},{"./transport/eventsource":20,"./transport/htmlfile":21,"./transport/jsonp-polling":23,"./transport/lib/iframe-wrap":26,"./transport/websocket":38,"./transport/xdr-polling":39,"./transport/xdr-streaming":40,"./transport/xhr-polling":41,"./transport/xhr-streaming":42}],17:[function(e,n){(function(t){"use strict";function o(e,t,n,o){var r=this;i.call(this),setTimeout(function(){r._start(e,t,n,o)},0)}var i=e("events").EventEmitter,r=e("inherits"),s=e("../../utils/event"),a=e("../../utils/url"),l=t.XMLHttpRequest;r(o,i),o.prototype._start=function(e,t,n,i){var r=this;try{this.xhr=new l}catch(c){}if(!this.xhr)return this.emit("finish",0,"no xhr support"),void this._cleanup();t=a.addQuery(t,"t="+ +new Date),this.unloadRef=s.unloadAdd(function(){r._cleanup(!0)});try{this.xhr.open(e,t,!0),this.timeout&&"timeout"in this.xhr&&(this.xhr.timeout=this.timeout,this.xhr.ontimeout=function(){r.emit("finish",0,""),r._cleanup(!1)})}catch(u){return this.emit("finish",0,""),void this._cleanup(!1)}if(i&&i.noCredentials||!o.supportsCORS||(this.xhr.withCredentials="true"),i&&i.headers)for(var d in i.headers)this.xhr.setRequestHeader(d,i.headers[d]);this.xhr.onreadystatechange=function(){if(r.xhr){var e,t,n=r.xhr;switch(n.readyState){case 3:try{t=n.status,e=n.responseText}catch(o){}1223===t&&(t=204),200===t&&e&&e.length>0&&r.emit("chunk",t,e);break;case 4:1223===(t=n.status)&&(t=204),(12005===t||12029===t)&&(t=0),r.emit("finish",t,n.responseText),r._cleanup(!1)}}};try{r.xhr.send(n)}catch(u){r.emit("finish",0,""),r._cleanup(!1)}},o.prototype._cleanup=function(e){if(this.xhr){if(this.removeAllListeners(),s.unloadDel(this.unloadRef),this.xhr.onreadystatechange=function(){},this.xhr.ontimeout&&(this.xhr.ontimeout=null),e)try{this.xhr.abort()}catch(n){}this.unloadRef=this.xhr=null}},o.prototype.close=function(){this._cleanup(!0)},o.enabled=!!l;var c=["Active"].concat("Object").join("X");!o.enabled&&c in t&&(l=function(){try{return new t[c]("Microsoft.XMLHTTP")}catch(e){return null}},o.enabled=!!new l);var u=!1;try{u="withCredentials"in new l}catch(d){}o.supportsCORS=u,n.exports=o}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/event":46,"../../utils/url":52,debug:void 0,events:3,inherits:54}],18:[function(e,n){(function(e){n.exports=e.EventSource}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],19:[function(e,n){(function(e){n.exports=e.WebSocket||e.MozWebSocket}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],20:[function(e,t){"use strict";function n(e){if(!n.enabled())throw new Error("Transport created when disabled");i.call(this,e,"/eventsource",r,s)}var o=e("inherits"),i=e("./lib/ajax-based"),r=e("./receiver/eventsource"),s=e("./sender/xhr-cors"),a=e("eventsource");o(n,i),n.enabled=function(){return!!a},n.transportName="eventsource",n.roundTrips=2,t.exports=n},{"./lib/ajax-based":24,"./receiver/eventsource":29,"./sender/xhr-cors":35,eventsource:18,inherits:54}],21:[function(e,t){"use strict";function n(e){if(!i.enabled)throw new Error("Transport created when disabled");s.call(this,e,"/htmlfile",i,r)}var o=e("inherits"),i=e("./receiver/htmlfile"),r=e("./sender/xhr-local"),s=e("./lib/ajax-based");o(n,s),n.enabled=function(e){return i.enabled&&e.sameOrigin},n.transportName="htmlfile",n.roundTrips=2,t.exports=n},{"./lib/ajax-based":24,"./receiver/htmlfile":30,"./sender/xhr-local":37,inherits:54}],22:[function(e,t){"use strict";function n(e,t,o){if(!n.enabled())throw new Error("Transport created when disabled");r.call(this);var i=this;this.origin=a.getOrigin(o),this.baseUrl=o,this.transUrl=t,this.transport=e,this.windowId=u.string(8);var s=a.addPath(o,"/iframe.html")+"#"+this.windowId;this.iframeObj=l.createIframe(s,function(e){i.emit("close",1006,"Unable to load an iframe ("+e+")"),i.close()}),this.onmessageCallback=this._message.bind(this),c.attachEvent("message",this.onmessageCallback)}var o=e("inherits"),i=e("json3"),r=e("events").EventEmitter,s=e("../version"),a=e("../utils/url"),l=e("../utils/iframe"),c=e("../utils/event"),u=e("../utils/random");o(n,r),n.prototype.close=function(){if(this.removeAllListeners(),this.iframeObj){c.detachEvent("message",this.onmessageCallback);try{this.postMessage("c")}catch(e){}this.iframeObj.cleanup(),this.iframeObj=null,this.onmessageCallback=this.iframeObj=null}},n.prototype._message=function(e){if(a.isOriginEqual(e.origin,this.origin)){var t;try{t=i.parse(e.data)}catch(n){return}if(t.windowId===this.windowId)switch(t.type){case"s":this.iframeObj.loaded(),this.postMessage("s",i.stringify([s,this.transport,this.transUrl,this.baseUrl]));break;case"t":this.emit("message",t.data);break;case"c":var o;try{o=i.parse(t.data)}catch(n){return}this.emit("close",o[0],o[1]),this.close()}}},n.prototype.postMessage=function(e,t){this.iframeObj.post(i.stringify({windowId:this.windowId,type:e,data:t||""}),this.origin)},n.prototype.send=function(e){this.postMessage("m",e)},n.enabled=function(){return l.iframeEnabled},n.transportName="iframe",n.roundTrips=2,t.exports=n},{"../utils/event":46,"../utils/iframe":47,"../utils/random":50,"../utils/url":52,"../version":53,debug:void 0,events:3,inherits:54,json3:55}],23:[function(e,n){(function(t){"use strict";function o(e){if(!o.enabled())throw new Error("Transport created when disabled");r.call(this,e,"/jsonp",a,s)}var i=e("inherits"),r=e("./lib/sender-receiver"),s=e("./receiver/jsonp"),a=e("./sender/jsonp");i(o,r),o.enabled=function(){return!!t.document},o.transportName="jsonp-polling",o.roundTrips=1,o.needBody=!0,n.exports=o}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/sender-receiver":28,"./receiver/jsonp":31,"./sender/jsonp":33,inherits:54}],24:[function(e,t){"use strict";function n(e,t,n,o){r.call(this,e,t,function(e){return function(t,n,o){var r={};"string"==typeof n&&(r.headers={"Content-type":"text/plain"});var s=i.addPath(t,"/xhr_send"),a=new e("POST",s,n,r);return a.once("finish",function(e){return a=null,200!==e&&204!==e?o(new Error("http status "+e)):void o()}),function(){a.close(),a=null;var e=new Error("Aborted");e.code=1e3,o(e)}}}(o),n,o)}var o=e("inherits"),i=e("../../utils/url"),r=e("./sender-receiver");o(n,r),t.exports=n},{"../../utils/url":52,"./sender-receiver":28,debug:void 0,inherits:54}],25:[function(e,t){"use strict";function n(e,t){i.call(this),this.sendBuffer=[],this.sender=t,this.url=e}var o=e("inherits"),i=e("events").EventEmitter;o(n,i),n.prototype.send=function(e){this.sendBuffer.push(e),this.sendStop||this.sendSchedule()},n.prototype.sendScheduleWait=function(){var e,t=this;this.sendStop=function(){t.sendStop=null,clearTimeout(e)},e=setTimeout(function(){t.sendStop=null,t.sendSchedule()},25)},n.prototype.sendSchedule=function(){var e=this;if(this.sendBuffer.length>0){var t="["+this.sendBuffer.join(",")+"]";this.sendStop=this.sender(this.url,t,function(t){e.sendStop=null,t?(e.emit("close",t.code||1006,"Sending error: "+t),e._cleanup()):e.sendScheduleWait()}),this.sendBuffer=[]}},n.prototype._cleanup=function(){this.removeAllListeners()},n.prototype.stop=function(){this._cleanup(),this.sendStop&&(this.sendStop(),this.sendStop=null)},t.exports=n},{debug:void 0,events:3,inherits:54}],26:[function(e,n){(function(t){"use strict";var o=e("inherits"),i=e("../iframe"),r=e("../../utils/object");n.exports=function(e){function n(t,n){i.call(this,e.transportName,t,n)}return o(n,i),n.enabled=function(n,o){if(!t.document)return!1;var s=r.extend({},o);return s.sameOrigin=!0,e.enabled(s)&&i.enabled()},n.transportName="iframe-"+e.transportName,n.needBody=!0,n.roundTrips=i.roundTrips+e.roundTrips-1,n.facadeTransport=e,n}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/object":49,"../iframe":22,inherits:54}],27:[function(e,t){"use strict";function n(e,t,n){i.call(this),this.Receiver=e,this.receiveUrl=t,this.AjaxObject=n,this._scheduleReceiver()}var o=e("inherits"),i=e("events").EventEmitter;o(n,i),n.prototype._scheduleReceiver=function(){var e=this,t=this.poll=new this.Receiver(this.receiveUrl,this.AjaxObject);t.on("message",function(t){e.emit("message",t)}),t.once("close",function(n,o){e.poll=t=null,e.pollIsClosing||("network"===o?e._scheduleReceiver():(e.emit("close",n||1006,o),e.removeAllListeners()))})},n.prototype.abort=function(){this.removeAllListeners(),this.pollIsClosing=!0,this.poll&&this.poll.abort()},t.exports=n},{debug:void 0,events:3,inherits:54}],28:[function(e,t){"use strict";function n(e,t,n,o,a){var l=i.addPath(e,t),c=this;r.call(this,e,n),this.poll=new s(o,l,a),this.poll.on("message",function(e){c.emit("message",e)}),this.poll.once("close",function(e,t){c.poll=null,c.emit("close",e,t),c.close()})}var o=e("inherits"),i=e("../../utils/url"),r=e("./buffered-sender"),s=e("./polling");o(n,r),n.prototype.close=function(){this.removeAllListeners(),this.poll&&(this.poll.abort(),this.poll=null),this.stop()},t.exports=n},{"../../utils/url":52,"./buffered-sender":25,"./polling":27,debug:void 0,inherits:54}],29:[function(e,t){"use strict";function n(e){i.call(this);var t=this,n=this.es=new r(e);n.onmessage=function(e){t.emit("message",decodeURI(e.data))},n.onerror=function(e){var o=2!==n.readyState?"network":"permanent";t._cleanup(),t._close(o)}}var o=e("inherits"),i=e("events").EventEmitter,r=e("eventsource");o(n,i),n.prototype.abort=function(){this._cleanup(),this._close("user")},n.prototype._cleanup=function(){var e=this.es;e&&(e.onmessage=e.onerror=null,e.close(),this.es=null)},n.prototype._close=function(e){var t=this;setTimeout(function(){t.emit("close",null,e),t.removeAllListeners()},200)},t.exports=n},{debug:void 0,events:3,eventsource:18,inherits:54}],30:[function(e,n){(function(t){"use strict";function o(e){a.call(this);var n=this;r.polluteGlobalNamespace(),this.id="a"+l.string(6),e=s.addQuery(e,"c="+decodeURIComponent(r.WPrefix+"."+this.id));var i=o.htmlfileEnabled?r.createHtmlfile:r.createIframe;t[r.WPrefix][this.id]={start:function(){n.iframeObj.loaded()},message:function(e){n.emit("message",e)},stop:function(){n._cleanup(),n._close("network")}},this.iframeObj=i(e,function(){n._cleanup(),n._close("permanent")})}var i=e("inherits"),r=e("../../utils/iframe"),s=e("../../utils/url"),a=e("events").EventEmitter,l=e("../../utils/random");i(o,a),o.prototype.abort=function(){this._cleanup(),this._close("user")},o.prototype._cleanup=function(){this.iframeObj&&(this.iframeObj.cleanup(),this.iframeObj=null),delete t[r.WPrefix][this.id]},o.prototype._close=function(e){this.emit("close",null,e),this.removeAllListeners()},o.htmlfileEnabled=!1;var c=["Active"].concat("Object").join("X");if(c in t)try{o.htmlfileEnabled=!!new t[c]("htmlfile")}catch(u){}o.enabled=o.htmlfileEnabled||r.iframeEnabled,n.exports=o}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/iframe":47,"../../utils/random":50,"../../utils/url":52,debug:void 0,events:3,inherits:54}],31:[function(e,n){(function(t){"use strict";function o(e){var n=this;c.call(this),i.polluteGlobalNamespace(),this.id="a"+r.string(6);var s=a.addQuery(e,"c="+encodeURIComponent(i.WPrefix+"."+this.id));t[i.WPrefix][this.id]=this._callback.bind(this),this._createScript(s),this.timeoutId=setTimeout(function(){n._abort(new Error("JSONP script loaded abnormally (timeout)"))},o.timeout)}var i=e("../../utils/iframe"),r=e("../../utils/random"),s=e("../../utils/browser"),a=e("../../utils/url"),l=e("inherits"),c=e("events").EventEmitter;l(o,c),o.prototype.abort=function(){if(t[i.WPrefix][this.id]){var e=new Error("JSONP user aborted read");e.code=1e3,this._abort(e)}},o.timeout=35e3,o.scriptErrorTimeout=1e3,o.prototype._callback=function(e){this._cleanup(),this.aborting||(e&&this.emit("message",e),this.emit("close",null,"network"),this.removeAllListeners())},o.prototype._abort=function(e){this._cleanup(),this.aborting=!0,this.emit("close",e.code,e.message),this.removeAllListeners()},o.prototype._cleanup=function(){if(clearTimeout(this.timeoutId),this.script2&&(this.script2.parentNode.removeChild(this.script2),this.script2=null),this.script){var e=this.script;e.parentNode.removeChild(e),e.onreadystatechange=e.onerror=e.onload=e.onclick=null,this.script=null}delete t[i.WPrefix][this.id]},o.prototype._scriptError=function(){var e=this;this.errorTimer||(this.errorTimer=setTimeout(function(){e.loadedOkay||e._abort(new Error("JSONP script loaded abnormally (onerror)"))},o.scriptErrorTimeout))},o.prototype._createScript=function(e){var n,o=this,i=this.script=t.document.createElement("script");if(i.id="a"+r.string(8),i.src=e,i.type="text/javascript",i.charset="UTF-8",i.onerror=this._scriptError.bind(this),i.onload=function(){o._abort(new Error("JSONP script loaded abnormally (onload)"))},i.onreadystatechange=function(){if(/loaded|closed/.test(i.readyState)){if(i&&i.htmlFor&&i.onclick){o.loadedOkay=!0;try{i.onclick()}catch(e){}}i&&o._abort(new Error("JSONP script loaded abnormally (onreadystatechange)"))}},"undefined"==typeof i.async&&t.document.attachEvent)if(s.isOpera())(n=this.script2=t.document.createElement("script")).text="try{var a = document.getElementById('"+i.id+"'); if(a)a.onerror();}catch(x){};",i.async=n.async=!1;else{try{i.htmlFor=i.id,i.event="onclick"}catch(a){}i.async=!0}"undefined"!=typeof i.async&&(i.async=!0);var l=t.document.getElementsByTagName("head")[0];l.insertBefore(i,l.firstChild),n&&l.insertBefore(n,l.firstChild)},n.exports=o}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/browser":44,"../../utils/iframe":47,"../../utils/random":50,"../../utils/url":52,debug:void 0,events:3,inherits:54}],32:[function(e,t){"use strict";function n(e,t){i.call(this);var n=this;this.bufferPosition=0,this.xo=new t("POST",e,null),this.xo.on("chunk",this._chunkHandler.bind(this)),this.xo.once("finish",function(e,t){n._chunkHandler(e,t),n.xo=null;var o=200===e?"network":"permanent";n.emit("close",null,o),n._cleanup()})}var o=e("inherits"),i=e("events").EventEmitter;o(n,i),n.prototype._chunkHandler=function(e,t){if(200===e&&t)for(var n=-1;;this.bufferPosition+=n+1){var o=t.slice(this.bufferPosition);if(-1===(n=o.indexOf("\n")))break;var i=o.slice(0,n);i&&this.emit("message",i)}},n.prototype._cleanup=function(){this.removeAllListeners()},n.prototype.abort=function(){this.xo&&(this.xo.close(),this.emit("close",null,"user"),this.xo=null),this._cleanup()},t.exports=n},{debug:void 0,events:3,inherits:54}],33:[function(e,n){(function(t){"use strict";function o(e){try{return t.document.createElement('<iframe name="'+e+'">')}catch(n){var o=t.document.createElement("iframe");return o.name=e,o}}function i(){(r=t.document.createElement("form")).style.display="none",r.style.position="absolute",r.method="POST",r.enctype="application/x-www-form-urlencoded",r.acceptCharset="UTF-8",(s=t.document.createElement("textarea")).name="d",r.appendChild(s),t.document.body.appendChild(r)}var r,s,a=e("../../utils/random"),l=e("../../utils/url");n.exports=function(e,t,n){r||i();var c="a"+a.string(8);r.target=c,r.action=l.addQuery(l.addPath(e,"/jsonp_send"),"i="+c);var u=o(c);u.id=c,u.style.display="none",r.appendChild(u);try{s.value=t}catch(f){}r.submit();var d=function(e){u.onerror&&(u.onreadystatechange=u.onerror=u.onload=null,setTimeout(function(){u.parentNode.removeChild(u),u=null},500),s.value="",n(e))};return u.onerror=function(){d()},u.onload=function(){d()},u.onreadystatechange=function(e){"complete"===u.readyState&&d()},function(){d(new Error("Aborted"))}}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/random":50,"../../utils/url":52,debug:void 0}],34:[function(e,n){(function(t){"use strict";function o(e,t,n){var o=this;i.call(this),setTimeout(function(){o._start(e,t,n)},0)}var i=e("events").EventEmitter,r=e("inherits"),s=e("../../utils/event"),a=e("../../utils/browser"),l=e("../../utils/url");r(o,i),o.prototype._start=function(e,n,o){var i=this,r=new t.XDomainRequest;n=l.addQuery(n,"t="+ +new Date),r.onerror=function(){i._error()},r.ontimeout=function(){i._error()},r.onprogress=function(){i.emit("chunk",200,r.responseText)},r.onload=function(){i.emit("finish",200,r.responseText),i._cleanup(!1)},this.xdr=r,this.unloadRef=s.unloadAdd(function(){i._cleanup(!0)});try{this.xdr.open(e,n),this.timeout&&(this.xdr.timeout=this.timeout),this.xdr.send(o)}catch(a){this._error()}},o.prototype._error=function(){this.emit("finish",0,""),this._cleanup(!1)},o.prototype._cleanup=function(e){if(this.xdr){if(this.removeAllListeners(),s.unloadDel(this.unloadRef),this.xdr.ontimeout=this.xdr.onerror=this.xdr.onprogress=this.xdr.onload=null,e)try{this.xdr.abort()}catch(n){}this.unloadRef=this.xdr=null}},o.prototype.close=function(){this._cleanup(!0)},o.enabled=!(!t.XDomainRequest||!a.hasDomain()),n.exports=o}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../utils/browser":44,"../../utils/event":46,"../../utils/url":52,debug:void 0,events:3,inherits:54}],35:[function(e,t){"use strict";function n(e,t,n,o){i.call(this,e,t,n,o)}var o=e("inherits"),i=e("../driver/xhr");o(n,i),n.enabled=i.enabled&&i.supportsCORS,t.exports=n},{"../driver/xhr":17,inherits:54}],36:[function(e,t){"use strict";function n(){var e=this;o.call(this),this.to=setTimeout(function(){e.emit("finish",200,"{}")},n.timeout)}var o=e("events").EventEmitter;e("inherits")(n,o),n.prototype.close=function(){clearTimeout(this.to)},n.timeout=2e3,t.exports=n},{events:3,inherits:54}],37:[function(e,t){"use strict";function n(e,t,n){i.call(this,e,t,n,{noCredentials:!0})}var o=e("inherits"),i=e("../driver/xhr");o(n,i),n.enabled=i.enabled,t.exports=n},{"../driver/xhr":17,inherits:54}],38:[function(e,t){"use strict";function n(e,t,r){if(!n.enabled())throw new Error("Transport created when disabled");s.call(this);var l=this,c=i.addPath(e,"/websocket");c="https"===c.slice(0,5)?"wss"+c.slice(5):"ws"+c.slice(4),this.url=c,this.ws=new a(this.url,void 0,r),this.ws.onmessage=function(e){l.emit("message",e.data)},this.unloadRef=o.unloadAdd(function(){l.ws.close()}),this.ws.onclose=function(e){l.emit("close",e.code,e.reason),l._cleanup()},this.ws.onerror=function(e){l.emit("close",1006,"WebSocket connection broken"),l._cleanup()}}var o=e("../utils/event"),i=e("../utils/url"),r=e("inherits"),s=e("events").EventEmitter,a=e("./driver/websocket");r(n,s),n.prototype.send=function(e){var t="["+e+"]";this.ws.send(t)},n.prototype.close=function(){this.ws&&this.ws.close(),this._cleanup()},n.prototype._cleanup=function(){var e=this.ws;e&&(e.onmessage=e.onclose=e.onerror=null),o.unloadDel(this.unloadRef),this.unloadRef=this.ws=null,this.removeAllListeners()},n.enabled=function(){return!!a},n.transportName="websocket",n.roundTrips=2,t.exports=n},{"../utils/event":46,"../utils/url":52,"./driver/websocket":19,debug:void 0,events:3,inherits:54}],39:[function(e,t){"use strict";function n(e){if(!a.enabled)throw new Error("Transport created when disabled");i.call(this,e,"/xhr",s,a)}var o=e("inherits"),i=e("./lib/ajax-based"),r=e("./xdr-streaming"),s=e("./receiver/xhr"),a=e("./sender/xdr");o(n,i),n.enabled=r.enabled,n.transportName="xdr-polling",n.roundTrips=2,t.exports=n},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xdr":34,"./xdr-streaming":40,inherits:54}],40:[function(e,t){"use strict";function n(e){if(!s.enabled)throw new Error("Transport created when disabled");i.call(this,e,"/xhr_streaming",r,s)}var o=e("inherits"),i=e("./lib/ajax-based"),r=e("./receiver/xhr"),s=e("./sender/xdr");o(n,i),n.enabled=function(e){return!e.cookie_needed&&!e.nullOrigin&&(s.enabled&&e.sameScheme)},n.transportName="xdr-streaming",n.roundTrips=2,t.exports=n},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xdr":34,inherits:54}],41:[function(e,t){"use strict";function n(e){if(!a.enabled&&!s.enabled)throw new Error("Transport created when disabled");i.call(this,e,"/xhr",r,s)}var o=e("inherits"),i=e("./lib/ajax-based"),r=e("./receiver/xhr"),s=e("./sender/xhr-cors"),a=e("./sender/xhr-local");o(n,i),n.enabled=function(e){return!e.nullOrigin&&(!(!a.enabled||!e.sameOrigin)||s.enabled)},n.transportName="xhr-polling",n.roundTrips=2,t.exports=n},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xhr-cors":35,"./sender/xhr-local":37,inherits:54}],42:[function(e,n){(function(t){"use strict";function o(e){if(!l.enabled&&!a.enabled)throw new Error("Transport created when disabled");r.call(this,e,"/xhr_streaming",s,a)}var i=e("inherits"),r=e("./lib/ajax-based"),s=e("./receiver/xhr"),a=e("./sender/xhr-cors"),l=e("./sender/xhr-local"),c=e("../utils/browser");i(o,r),o.enabled=function(e){return!e.nullOrigin&&(!c.isOpera()&&a.enabled)},o.transportName="xhr-streaming",o.roundTrips=2,o.needBody=!!t.document,n.exports=o}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../utils/browser":44,"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xhr-cors":35,"./sender/xhr-local":37,inherits:54}],43:[function(e,n){(function(e){"use strict";n.exports.randomBytes=e.crypto&&e.crypto.getRandomValues?function(t){var n=new Uint8Array(t);return e.crypto.getRandomValues(n),n}:function(e){for(var t=new Array(e),n=0;e>n;n++)t[n]=Math.floor(256*Math.random());return t}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],44:[function(e,n){(function(e){"use strict";n.exports={isOpera:function(){return e.navigator&&/opera/i.test(e.navigator.userAgent)},isKonqueror:function(){return e.navigator&&/konqueror/i.test(e.navigator.userAgent)},hasDomain:function(){if(!e.document)return!0;try{return!!e.document.domain}catch(n){return!1}}}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],45:[function(e,t){"use strict";var n,o=e("json3"),i=/[\x00-\x1f\ud800-\udfff\ufffe\uffff\u0300-\u0333\u033d-\u0346\u034a-\u034c\u0350-\u0352\u0357-\u0358\u035c-\u0362\u0374\u037e\u0387\u0591-\u05af\u05c4\u0610-\u0617\u0653-\u0654\u0657-\u065b\u065d-\u065e\u06df-\u06e2\u06eb-\u06ec\u0730\u0732-\u0733\u0735-\u0736\u073a\u073d\u073f-\u0741\u0743\u0745\u0747\u07eb-\u07f1\u0951\u0958-\u095f\u09dc-\u09dd\u09df\u0a33\u0a36\u0a59-\u0a5b\u0a5e\u0b5c-\u0b5d\u0e38-\u0e39\u0f43\u0f4d\u0f52\u0f57\u0f5c\u0f69\u0f72-\u0f76\u0f78\u0f80-\u0f83\u0f93\u0f9d\u0fa2\u0fa7\u0fac\u0fb9\u1939-\u193a\u1a17\u1b6b\u1cda-\u1cdb\u1dc0-\u1dcf\u1dfc\u1dfe\u1f71\u1f73\u1f75\u1f77\u1f79\u1f7b\u1f7d\u1fbb\u1fbe\u1fc9\u1fcb\u1fd3\u1fdb\u1fe3\u1feb\u1fee-\u1fef\u1ff9\u1ffb\u1ffd\u2000-\u2001\u20d0-\u20d1\u20d4-\u20d7\u20e7-\u20e9\u2126\u212a-\u212b\u2329-\u232a\u2adc\u302b-\u302c\uaab2-\uaab3\uf900-\ufa0d\ufa10\ufa12\ufa15-\ufa1e\ufa20\ufa22\ufa25-\ufa26\ufa2a-\ufa2d\ufa30-\ufa6d\ufa70-\ufad9\ufb1d\ufb1f\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufb4e\ufff0-\uffff]/g;t.exports={quote:function(e){var t=o.stringify(e);return i.lastIndex=0,i.test(t)?(n||(n=function(e){var t,n={},o=[];for(t=0;65536>t;t++)o.push(String.fromCharCode(t));return e.lastIndex=0,o.join("").replace(e,function(e){return n[e]="\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4),""}),e.lastIndex=0,n}(i)),t.replace(i,function(e){return n[e]})):t}}},{json3:55}],46:[function(e,n){(function(t){"use strict";var o=e("./random"),i={},r=!1,s=t.chrome&&t.chrome.app&&t.chrome.app.runtime;n.exports={attachEvent:function(e,n){"undefined"!=typeof t.addEventListener?t.addEventListener(e,n,!1):t.document&&t.attachEvent&&(t.document.attachEvent("on"+e,n),t.attachEvent("on"+e,n))},detachEvent:function(e,n){"undefined"!=typeof t.addEventListener?t.removeEventListener(e,n,!1):t.document&&t.detachEvent&&(t.document.detachEvent("on"+e,n),t.detachEvent("on"+e,n))},unloadAdd:function(e){if(s)return null;var t=o.string(8);return i[t]=e,r&&setTimeout(this.triggerUnloadCallbacks,0),t},unloadDel:function(e){e in i&&delete i[e]},triggerUnloadCallbacks:function(){for(var e in i)i[e](),delete i[e]}};s||n.exports.attachEvent("unload",function(){r||(r=!0,n.exports.triggerUnloadCallbacks())})}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./random":50}],47:[function(e,n){(function(t){"use strict";var o=e("./event"),i=e("json3"),r=e("./browser");n.exports={WPrefix:"_jp",currentWindowId:null,polluteGlobalNamespace:function(){n.exports.WPrefix in t||(t[n.exports.WPrefix]={})},postMessage:function(e,o){t.parent!==t&&t.parent.postMessage(i.stringify({windowId:n.exports.currentWindowId,type:e,data:o||""}),"*")},createIframe:function(e,n){var i,r,s=t.document.createElement("iframe"),a=function(){clearTimeout(i);try{s.onload=null}catch(e){}s.onerror=null},l=function(){s&&(a(),setTimeout(function(){s&&s.parentNode.removeChild(s),s=null},0),o.unloadDel(r))},c=function(e){s&&(l(),n(e))};return s.src=e,s.style.display="none",s.style.position="absolute",s.onerror=function(){c("onerror")},s.onload=function(){clearTimeout(i),i=setTimeout(function(){c("onload timeout")},2e3)},t.document.body.appendChild(s),i=setTimeout(function(){c("timeout")},15e3),r=o.unloadAdd(l),{post:function(e,n){try{setTimeout(function(){s&&s.contentWindow&&s.contentWindow.postMessage(e,n)},0)}catch(t){}},cleanup:l,loaded:a}},createHtmlfile:function(e,i){var r,s,a,l=["Active"].concat("Object").join("X"),c=new t[l]("htmlfile"),u=function(){clearTimeout(r),a.onerror=null},d=function(){c&&(u(),o.unloadDel(s),a.parentNode.removeChild(a),a=c=null,CollectGarbage())},f=function(e){c&&(d(),i(e))};c.open(),c.write('<html><script>document.domain="'+t.document.domain+'";<\/script></html>'),c.close(),c.parentWindow[n.exports.WPrefix]=t[n.exports.WPrefix];var p=c.createElement("div");return c.body.appendChild(p),a=c.createElement("iframe"),p.appendChild(a),a.src=e,a.onerror=function(){f("onerror")},r=setTimeout(function(){f("timeout")},15e3),s=o.unloadAdd(d),{post:function(e,n){try{setTimeout(function(){a&&a.contentWindow&&a.contentWindow.postMessage(e,n)},0)}catch(t){}},cleanup:d,loaded:u}}},n.exports.iframeEnabled=!1,t.document&&(n.exports.iframeEnabled=("function"==typeof t.postMessage||"object"==typeof t.postMessage)&&!r.isKonqueror())}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./browser":44,"./event":46,debug:void 0,json3:55}],48:[function(e,n){(function(e){"use strict";var t={};["log","debug","warn"].forEach(function(n){var o;try{o=e.console&&e.console[n]&&e.console[n].apply}catch(i){}t[n]=o?function(){return e.console[n].apply(e.console,arguments)}:"log"===n?function(){}:t.log}),n.exports=t}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],49:[function(e,t){"use strict";t.exports={isObject:function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},extend:function(e){if(!this.isObject(e))return e;for(var t,n,o=1,i=arguments.length;i>o;o++)for(n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}}},{}],50:[function(e,t){"use strict";var n=e("crypto"),o="abcdefghijklmnopqrstuvwxyz012345";t.exports={string:function(e){for(var t=o.length,i=n.randomBytes(e),r=[],s=0;e>s;s++)r.push(o.substr(i[s]%t,1));return r.join("")},number:function(e){return Math.floor(Math.random()*e)},numberString:function(e){var t=(""+(e-1)).length;return(new Array(t+1).join("0")+this.number(e)).slice(-t)}}},{crypto:43}],51:[function(e,t){"use strict";t.exports=function(e){return{filterToEnabled:function(t,n){var o={main:[],facade:[]};return t?"string"==typeof t&&(t=[t]):t=[],e.forEach(function(e){e&&("websocket"!==e.transportName||!1!==n.websocket)&&(t.length&&-1===t.indexOf(e.transportName)||e.enabled(n)&&(o.main.push(e),e.facadeTransport&&o.facade.push(e.facadeTransport)))}),o}}}},{debug:void 0}],52:[function(e,t){"use strict";var n=e("url-parse");t.exports={getOrigin:function(e){if(!e)return null;var t=new n(e);if("file:"===t.protocol)return null;var o=t.port;return o||(o="https:"===t.protocol?"443":"80"),t.protocol+"//"+t.hostname+":"+o},isOriginEqual:function(e,t){return this.getOrigin(e)===this.getOrigin(t)},isSchemeEqual:function(e,t){return e.split(":")[0]===t.split(":")[0]},addPath:function(e,t){var n=e.split("?");return n[0]+t+(n[1]?"?"+n[1]:"")},addQuery:function(e,t){return e+(-1===e.indexOf("?")?"?"+t:"&"+t)}}},{debug:void 0,"url-parse":56}],53:[function(e,t){t.exports="1.1.0"},{}],54:[function(e,t){t.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],55:[function(e,n,o){(function(e){(function(){function t(e,n){function o(e){if(o[e]!==g)return o[e];var t;if("bug-string-char-index"==e)t="a"!="a"[0];else if("json"==e)t=o("json-stringify")&&o("json-parse");else{var i,s='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var l=n.stringify,u="function"==typeof l&&b;if(u){(i=function(){return 1}).toJSON=i;try{u="0"===l(0)&&"0"===l(new r)&&'""'==l(new a)&&l(y)===g&&l(g)===g&&l()===g&&"1"===l(i)&&"[1]"==l([i])&&"[null]"==l([g])&&"null"==l(null)&&"[null,null,null]"==l([g,y,null])&&l({a:[i,!0,!1,null,"\0\b\n\f\r\t"]})==s&&"1"===l(null,i)&&"[\n 1,\n 2\n]"==l([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==l(new c(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==l(new c(864e13))&&'"-000001-01-01T00:00:00.000Z"'==l(new c(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==l(new c(-1))}catch(d){u=!1}}t=u}if("json-parse"==e){var f=n.parse;if("function"==typeof f)try{if(0===f("0")&&!f(!1)){var p=5==(i=f(s)).a.length&&1===i.a[0];if(p){try{p=!f('"\t"')}catch(d){}if(p)try{p=1!==f("01")}catch(d){}if(p)try{p=1!==f("1.")}catch(d){}}}}catch(d){p=!1}t=p}}return o[e]=!!t}e||(e=s.Object()),n||(n=s.Object());var r=e.Number||s.Number,a=e.String||s.String,l=e.Object||s.Object,c=e.Date||s.Date,u=e.SyntaxError||s.SyntaxError,d=e.TypeError||s.TypeError,f=e.Math||s.Math,p=e.JSON||s.JSON;"object"==typeof p&&p&&(n.stringify=p.stringify,n.parse=p.parse);var h,m,g,v=l.prototype,y=v.toString,b=new c(-0xc782b5b800cec);try{b=-109252==b.getUTCFullYear()&&0===b.getUTCMonth()&&1===b.getUTCDate()&&10==b.getUTCHours()&&37==b.getUTCMinutes()&&6==b.getUTCSeconds()&&708==b.getUTCMilliseconds()}catch(F){}if(!o("json")){var w="[object Function]",x="[object Number]",E="[object String]",S="[object Array]",k=o("bug-string-char-index");if(!b)var _=f.floor,T=[0,31,59,90,120,151,181,212,243,273,304,334],C=function(e,t){return T[t]+365*(e-1970)+_((e-1969+(t=+(t>1)))/4)-_((e-1901+t)/100)+_((e-1601+t)/400)};if((h=v.hasOwnProperty)||(h=function(e){var t,n={};return(n.__proto__=null,n.__proto__={toString:1},n).toString!=y?h=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);return this.__proto__=t,n}:(t=n.constructor,h=function(e){var n=(this.constructor||t).prototype;return e in this&&!(e in n&&this[e]===n[e])}),n=null,h.call(this,e)}),m=function(e,t){var n,o,r,s=0;for(r in(n=function(){this.valueOf=0}).prototype.valueOf=0,o=new n)h.call(o,r)&&s++;return n=o=null,s?m=2==s?function(e,t){var n,o={},i=y.call(e)==w;for(n in e)i&&"prototype"==n||h.call(o,n)||!(o[n]=1)||!h.call(e,n)||t(n)}:function(e,t){var n,o,i=y.call(e)==w;for(n in e)i&&"prototype"==n||!h.call(e,n)||(o="constructor"===n)||t(n);(o||h.call(e,n="constructor"))&&t(n)}:(o=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],m=function(e,t){var n,r,s=y.call(e)==w,a=!s&&"function"!=typeof e.constructor&&i[typeof e.hasOwnProperty]&&e.hasOwnProperty||h;for(n in e)s&&"prototype"==n||!a.call(e,n)||t(n);for(r=o.length;n=o[--r];a.call(e,n)&&t(n));}),m(e,t)},!o("json-stringify")){var M={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},A=function(e,t){return("000000"+(t||0)).slice(-e)},P=function(e){for(var t='"',n=0,o=e.length,i=!k||o>10,r=i&&(k?e.split(""):e);o>n;n++){var s=e.charCodeAt(n);switch(s){case 8:case 9:case 10:case 12:case 13:case 34:case 92:t+=M[s];break;default:if(32>s){t+="\\u00"+A(2,s.toString(16));break}t+=i?r[n]:e.charAt(n)}}return t+'"'},I=function(e,t,n,o,i,r,s){var a,l,c,u,f,p,v,b,w,k,T,M,D,O,q,N;try{a=t[e]}catch(L){}if("object"==typeof a&&a)if("[object Date]"!=(l=y.call(a))||h.call(a,"toJSON"))"function"==typeof a.toJSON&&(l!=x&&l!=E&&l!=S||h.call(a,"toJSON"))&&(a=a.toJSON(e));else if(a>-1/0&&1/0>a){if(C){for(f=_(a/864e5),c=_(f/365.2425)+1970-1;C(c+1,0)<=f;c++);for(u=_((f-C(c,0))/30.42);C(c,u+1)<=f;u++);f=1+f-C(c,u),v=_((p=(a%864e5+864e5)%864e5)/36e5)%24,b=_(p/6e4)%60,w=_(p/1e3)%60,k=p%1e3}else c=a.getUTCFullYear(),u=a.getUTCMonth(),f=a.getUTCDate(),v=a.getUTCHours(),b=a.getUTCMinutes(),w=a.getUTCSeconds(),k=a.getUTCMilliseconds();a=(0>=c||c>=1e4?(0>c?"-":"+")+A(6,0>c?-c:c):A(4,c))+"-"+A(2,u+1)+"-"+A(2,f)+"T"+A(2,v)+":"+A(2,b)+":"+A(2,w)+"."+A(3,k)+"Z"}else a=null;if(n&&(a=n.call(t,e,a)),null===a)return"null";if("[object Boolean]"==(l=y.call(a)))return""+a;if(l==x)return a>-1/0&&1/0>a?""+a:"null";if(l==E)return P(""+a);if("object"==typeof a){for(O=s.length;O--;)if(s[O]===a)throw d();if(s.push(a),T=[],q=r,r+=i,l==S){for(D=0,O=a.length;O>D;D++)M=I(D,a,n,o,i,r,s),T.push(M===g?"null":M);N=T.length?i?"[\n"+r+T.join(",\n"+r)+"\n"+q+"]":"["+T.join(",")+"]":"[]"}else m(o||a,function(e){var t=I(e,a,n,o,i,r,s);t!==g&&T.push(P(e)+":"+(i?" ":"")+t)}),N=T.length?i?"{\n"+r+T.join(",\n"+r)+"\n"+q+"}":"{"+T.join(",")+"}":"{}";return s.pop(),N}};n.stringify=function(e,t,n){var o,r,s,a;if(i[typeof t]&&t)if((a=y.call(t))==w)r=t;else if(a==S){s={};for(var l,c=0,u=t.length;u>c;l=t[c++],((a=y.call(l))==E||a==x)&&(s[l]=1));}if(n)if((a=y.call(n))==x){if((n-=n%1)>0)for(o="",n>10&&(n=10);o.length<n;o+=" ");}else a==E&&(o=n.length<=10?n:n.slice(0,10));return I("",((l={})[""]=e,l),r,s,o,"",[])}}if(!o("json-parse")){var D,L,O=a.fromCharCode,q={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"},N=function(){throw D=L=null,u()},H=function(){for(var e,t,n,o,i,r=L,s=r.length;s>D;)switch(i=r.charCodeAt(D)){case 9:case 10:case 13:case 32:D++;break;case 123:case 125:case 91:case 93:case 58:case 44:return e=k?r.charAt(D):r[D],D++,e;case 34:for(e="@",D++;s>D;)if(32>(i=r.charCodeAt(D)))N();else if(92==i)switch(i=r.charCodeAt(++D)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:e+=q[i],D++;break;case 117:for(t=++D,n=D+4;n>D;D++)(i=r.charCodeAt(D))>=48&&57>=i||i>=97&&102>=i||i>=65&&70>=i||N();e+=O("0x"+r.slice(t,D));break;default:N()}else{if(34==i)break;for(i=r.charCodeAt(D),t=D;i>=32&&92!=i&&34!=i;)i=r.charCodeAt(++D);e+=r.slice(t,D)}if(34==r.charCodeAt(D))return D++,e;N();default:if(t=D,45==i&&(o=!0,i=r.charCodeAt(++D)),i>=48&&57>=i){for(48==i&&((i=r.charCodeAt(D+1))>=48&&57>=i)&&N(),o=!1;s>D&&((i=r.charCodeAt(D))>=48&&57>=i);D++);if(46==r.charCodeAt(D)){for(n=++D;s>n&&((i=r.charCodeAt(n))>=48&&57>=i);n++);n==D&&N(),D=n}if(101==(i=r.charCodeAt(D))||69==i){for((43==(i=r.charCodeAt(++D))||45==i)&&D++,n=D;s>n&&((i=r.charCodeAt(n))>=48&&57>=i);n++);n==D&&N(),D=n}return+r.slice(t,D)}if(o&&N(),"true"==r.slice(D,D+4))return D+=4,!0;if("false"==r.slice(D,D+5))return D+=5,!1;if("null"==r.slice(D,D+4))return D+=4,null;N()}return"$"},j=function(e){var t,n;if("$"==e&&N(),"string"==typeof e){if("@"==(k?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];"]"!=(e=H());n||(n=!0))n&&(","==e?"]"==(e=H())&&N():N()),","==e&&N(),t.push(j(e));return t}if("{"==e){for(t={};"}"!=(e=H());n||(n=!0))n&&(","==e?"}"==(e=H())&&N():N()),(","==e||"string"!=typeof e||"@"!=(k?e.charAt(0):e[0])||":"!=H())&&N(),t[e.slice(1)]=j(H());return t}N()}return e},B=function(e,t,n){var o=R(e,t,n);o===g?delete e[t]:e[t]=o},R=function(e,t,n){var o,i=e[t];if("object"==typeof i&&i)if(y.call(i)==S)for(o=i.length;o--;)B(i,o,n);else m(i,function(e){B(i,e,n)});return n.call(e,t,i)};n.parse=function(e,t){var n,o;return D=0,L=""+e,n=j(H()),"$"!=H()&&N(),D=L=null,t&&y.call(t)==w?R(((o={})[""]=n,o),"",t):n}}}return n.runInContext=t,n}var i={"function":!0,object:!0},r=i[typeof o]&&o&&!o.nodeType&&o,s=i[typeof window]&&window||this,a=r&&i[typeof n]&&n&&!n.nodeType&&"object"==typeof e&&e;if(!a||a.global!==a&&a.window!==a&&a.self!==a||(s=a),r)t(s,r);else{var l=s.JSON,c=s.JSON3,u=!1,d=t(s,s.JSON3={noConflict:function(){return u||(u=!0,s.JSON=l,s.JSON3=c,l=c=null),d}});s.JSON={parse:d.parse,stringify:d.stringify}}}).call(this)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],56:[function(e,t){"use strict";function n(e,t,l){if(!(this instanceof n))return new n(e,t,l);var c,u,d,f,p=s.test(e),h=typeof t,m=this,g=0;for("object"!==h&&"string"!==h&&(l=t,t=null),l&&"function"!=typeof l&&(l=r.parse),t=i(t);g<a.length;g++)c=(u=a[g])[0],f=u[1],c!=c?m[f]=e:"string"==typeof c?~(d=e.indexOf(c))&&("number"==typeof u[2]?(m[f]=e.slice(0,d),e=e.slice(d+u[2])):(m[f]=e.slice(d),e=e.slice(0,d))):(d=c.exec(e))&&(m[f]=d[1],e=e.slice(0,e.length-d[0].length)),m[f]=m[f]||(u[3]||"port"===f&&p)&&t[f]||"",u[4]&&(m[f]=m[f].toLowerCase());l&&(m.query=l(m.query)),o(m.port,m.protocol)||(m.host=m.hostname,m.port=""),m.username=m.password="",m.auth&&(u=m.auth.split(":"),m.username=u[0]||"",m.password=u[1]||""),m.href=m.toString()}var o=e("requires-port"),i=e("./lolcation"),r=e("querystringify"),s=/^\/(?!\/)/,a=[["#","hash"],["?","query"],["//","protocol",2,1,1],["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/\:(\d+)$/,"port"],[NaN,"hostname",void 0,1,1]];n.prototype.set=function(e,t,n){var i=this;return"query"===e?("string"==typeof t&&(t=(n||r.parse)(t)),i[e]=t):"port"===e?(i[e]=t,o(t,i.protocol)?t&&(i.host=i.hostname+":"+t):(i.host=i.hostname,i[e]="")):"hostname"===e?(i[e]=t,i.port&&(t+=":"+i.port),i.host=t):"host"===e?(i[e]=t,/\:\d+/.test(t)&&(t=t.split(":"),i.hostname=t[0],i.port=t[1])):i[e]=t,i.href=i.toString(),i},n.prototype.toString=function(e){e&&"function"==typeof e||(e=r.stringify);var t,n=this,o=n.protocol+"//";return n.username&&(o+=n.username,n.password&&(o+=":"+n.password),o+="@"),o+=n.hostname,n.port&&(o+=":"+n.port),o+=n.pathname,n.query&&(o+=("?"===(t="object"==typeof n.query?e(n.query):n.query).charAt(0)?"":"?")+t),n.hash&&(o+=n.hash),o},n.qs=r,n.location=i,t.exports=n},{"./lolcation":57,querystringify:58,"requires-port":59}],57:[function(e,n){(function(t){"use strict";var o,i={hash:1,query:1};n.exports=function(n){n=n||t.location||{},o=o||e("./");var r,s={},a=typeof n;if("blob:"===n.protocol)s=new o(unescape(n.pathname),{});else if("string"===a)for(r in s=new o(n,{}),i)delete s[r];else if("object"===a)for(r in n)r in i||(s[r]=n[r]);return s}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./":56}],58:[function(e,t,n){"use strict";var o=Object.prototype.hasOwnProperty;n.stringify=function(e,t){t=t||"";var n=[];for(var i in"string"!=typeof t&&(t="?"),e)o.call(e,i)&&n.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return n.length?t+n.join("&"):""},n.parse=function(e){for(var t,n=/([^=?&]+)=([^&]*)/g,o={};t=n.exec(e);o[decodeURIComponent(t[1])]=decodeURIComponent(t[2]));return o}},{}],59:[function(e,t){"use strict";t.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 22!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},{}]},{},[1])(1)},e.exports=o()}).call(t,n(10))},function(e,t,n){!function(e){var t=n(63);if(!t)throw new Error("vertx-eventbus.js requires sockjs-client, see http://sockjs.org");e(t)}(function(n){function o(e,t){if(e){if(!t)return e;for(var n in e)e.hasOwnProperty(n)&&"undefined"==typeof t[n]&&(t[n]=e[n])}return t||{}}var i=function(e,t){var o,r=this,s=(t=t||{}).vertxbus_ping_interval||5e3;this.sockJSConn=new n(e,null,t),this.state=i.CONNECTING,this.handlers={},this.replyHandlers={},this.defaultHeaders=null,this.onerror=function(e){try{console.error(e)}catch(t){}};var a=function(){r.sockJSConn.send(JSON.stringify({type:"ping"}))};this.sockJSConn.onopen=function(){a(),o=setInterval(a,s),r.state=i.OPEN,r.onopen&&r.onopen()},this.sockJSConn.onclose=function(e){r.state=i.CLOSED,o&&clearInterval(o),r.onclose&&r.onclose(e)},this.sockJSConn.onmessage=function(e){var t=JSON.parse(e.data);if(t.replyAddress&&Object.defineProperty(t,"reply",{value:function(e,n,o){r.send(t.replyAddress,e,n,o)}}),r.handlers[t.address])for(var n=r.handlers[t.address],o=0;o<n.length;o++)"err"===t.type?n[o]({failureCode:t.failureCode,failureType:t.failureType,message:t.message}):n[o](null,t);else if(r.replyHandlers[t.address]){var i=r.replyHandlers[t.address];delete r.replyHandlers[t.address],"err"===t.type?i({failureCode:t.failureCode,failureType:t.failureType,message:t.message}):i(null,t)}else if("err"===t.type)r.onerror(t);else try{console.warn("No handler found for message: ",t)}catch(e){}}};i.prototype.send=function(e,t,n,r){if(this.state!=i.OPEN)throw new Error("INVALID_STATE_ERR");"function"==typeof n&&(r=n,n={});var s={type:"send",address:e,headers:o(this.defaultHeaders,n),body:t};if(r){var a="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e,t){return t=16*Math.random(),("y"==e?3&t|8:0|t).toString(16)});s.replyAddress=a,this.replyHandlers[a]=r}this.sockJSConn.send(JSON.stringify(s))},i.prototype.publish=function(e,t,n){if(this.state!=i.OPEN)throw new Error("INVALID_STATE_ERR");this.sockJSConn.send(JSON.stringify({type:"publish",address:e,headers:o(this.defaultHeaders,n),body:t}))},i.prototype.registerHandler=function(e,t,n){if(this.state!=i.OPEN)throw new Error("INVALID_STATE_ERR");"function"==typeof t&&(n=t,t={}),this.handlers[e]||(this.handlers[e]=[],this.sockJSConn.send(JSON.stringify({type:"register",address:e,headers:o(this.defaultHeaders,t)}))),this.handlers[e].push(n)},i.prototype.unregisterHandler=function(e,t,n){if(this.state!=i.OPEN)throw new Error("INVALID_STATE_ERR");var r=this.handlers[e];if(r){"function"==typeof t&&(n=t,t={});var s=r.indexOf(n);-1!=s&&(r.splice(s,1),0===r.length&&(this.sockJSConn.send(JSON.stringify({type:"unregister",address:e,headers:o(this.defaultHeaders,t)})),delete this.handlers[e]))}},i.prototype.close=function(){this.state=i.CLOSING,this.sockJSConn.close()},i.CONNECTING=0,i.OPEN=1,i.CLOSING=2,i.CLOSED=3,void 0!==e&&e.exports?t=e.exports=i:t.EventBus=i})},function(e,t,n){"use strict";t.a=function(e){var t={},i=app.settings.lang,u=new s.a,d=new c.a,f=document.body,p=document.querySelector(".notification-counter"),h=document.getElementById("announcementLightbox"),m=[],g=[],v=[],y=null,b=null,w=function(){for(var e in v)d.set(e,JSON.stringify(v[e]))},x=function(){var e=[],t=function(){var e=[];for(var t in v)d.get(t)&&e.push(JSON.parse(d.get(t)));return[].concat.apply([],e)}()||[];if(m)for(var n=0;n<m.length;n++){for(var o=!1,i=0;i<t.length;i++){var r=m[n].product+"-"+m[n].nid;r===t[i].nid&&(o=!0)}o||e.push(m[n])}g=e},E=function(e){p&&(p.innerText=e,e>0&&!o.d(h,"modal-active")?p.style.display="inline-block":p.style.display="none")},S=function(e){if(!o.d(h,"modal-active")){var t=h.querySelector(".modal-body"),n=t.querySelector(".announcement--default-message"),i=t.querySelector(".announcement--container");if(e&&e.length>0){o.c(i,"hidden"),o.b(n,"hidden");var r="";o.p(e,function(e){r+="<div class='announcement--list announcement--id-"+e.nid+"'>",r+=e.text,r+="</div>"}),i.innerHTML=r}else o.c(n,"hidden"),o.b(i,"hidden");k()}},k=function(){setTimeout(function(){var e=h.querySelector(".modal-body"),o=document.querySelector(".announcement--container").clientHeight;o>t.options.maxHeight?(e.style.height=t.options.maxHeight+"px",y||(y=new l.a("#announcementLightbox .modal-body"))):e.style.height="auto",y&&(y.refresh(),y.setScroll(0,100)),8===n.i(a.a)()&&u.centerModalContent(h)},1)};o.f(window,"load",function(){!function(){for(var n in t.defaults={path:o.n("/ajax/v2/announcements"),errorMessage:"Error retrieving.",maxHeight:500},t.options=e||{},t.defaults)t.options[n]===undefined&&(t.options[n]=t.defaults[n])}(),_("init"),T()});var _=function(e){var n;n=function(t){!function(e){var t=[];if(e.length>0)for(var n=0;n<e.length;n++)o.A(t["announcement."+e[n].product+".data."+i])||(t["announcement."+e[n].product+".data."+i]=[]),t["announcement."+e[n].product+".data."+i].push({nid:e[n].product+"-"+e[n].nid});v=t}(t.data),m=t.data||[],x();var n,r=g.length;E(r),S(m),n=t.timer,null===b&&null!==n&&(b=setTimeout(function(){o.d(h,"modal-active")||(_(),b=null)},1e3*n)),r&&void 0!==e&&"init"===e&&document.querySelector(".icon-notification").click()},r()({url:t.options.path,data:{nocache:(new Date).getTime()},method:"get",complete:function(e){n(e)}}).fail(function(){p.innerText=t.defaults.errorMessage})},T=function(){o.f(f,"click",function(e){var t=h.querySelector(".modal-overlay"),n=h.querySelector(".modal-close"),i=document.querySelector(".icon-notification"),r=document.querySelector(".notification-counter"),s=(e=e||window.event).target||e.srcElement;n===s||t===s?_():r!==s&&i!==s||(o.b(h,"modal-active"),f.style.overflow="hidden",p.style.display="none",w(),S(g),E(0))}),o.f(f,"keydown",function(e){27===(e=e||window.event).keyCode&&_()})}};var o=n(0),i=n(6),r=n.n(i),s=n(46),a=n(4),l=n(12),c=n(8)},function(e,t,n){"use strict";var o=n(0),i=n(69),r=n(68);o.a(function(){if("undefined"!=typeof app.settings.login){var e=document.querySelector(".account-section");(o.d(e,"toggable")?new r.a:new i.a).init()}})},function(e,t,n){"use strict";t.a=function(e){var t=document.querySelector(".mobile-balance");if(t){var n=t.querySelector("a"),i=t.querySelector("img");t.querySelector(".mobile-balance-amount").innerHTML=e,o.c(n,"hidden"),o.b(i,"hidden"),setTimeout(function(){document.querySelector(".total-balance-container").innerHTML=document.querySelector("#player-balance").innerHTML},50)}};var o=n(0)},function(e,t,n){"use strict";t.a=function(){var e=this,t=document.querySelector(".account-section"),l=document.getElementById("toggable-checkbox"),u=o.v("username"),f=document.getElementById("player-balance"),p=document.getElementById("product-balance"),h=app.settings.balanceLoader,m=document.getElementById("balance-control"),g=document.getElementById("balance-tooltip"),v=document.getElementById("product-balance"),y=new i.a,b=null,w=!1;function x(){var e;T(),o.D(m,((e=document.createElement("img")).src=h,o.b(e,"refresh-loading"),e))}function E(e){if(T(),"undefined"==typeof e.breakdown||"undefined"==typeof e.total||null===e.total)o.D(f,document.createTextNode(app.settings.balanceError)),p.innerHTML="";else{var n=e.label.total_balance_label;if(e.product&&e.product.length>0){for(var i=0;i<e.product.length;i++)if(null!==e.product[i].wallet){var r=document.createElement("span");if(e.product[i].label){var s=app.settings.balanceErrorProduct;e.product[i].total&&(s=o.G({"{total}":e.product[i].total,"{currency}":e.currency},e.format)),r.innerText=e.product[i].label+": "+s}o.D(v,r)}o.b(t,"has-product-balance-"+e.product.length)}else o.b(t,"no-product-balance");var a=o.G({"{total}":e.total,"{currency}":e.currency},e.format);for(var l in n&&(a=n+': <span class="balance-amount">'+a+"</span>"),f.innerHTML=a,e.breakdown)if(null===e.breakdown[l].total){if("block"===e.breakdown[l].visibility||"uc"===e.breakdown[l].visibility){delete e.breakdown[l];continue}if("ignore"===e.breakdown[l].visibility){e.breakdown[l].total=d()({id:e.breakdown[l].wallet});continue}e.breakdown[l].total=app.settings.balanceErrorProduct}g.innerHTML=c()(e)}}function S(){T(),o.D(f,document.createTextNode(app.settings.balanceError))}function k(){var e;o.D(m,(e=document.createElement("SPAN"),o.b(e,"refresh-balance"),o.b(e,"refresh-icon"),o.b(e,"inline-block"),e.setAttribute("style","display: inline-block"),e))}function _(e){var t=e||window.event,n=t.target||t.srcElement;if(o.d(n,"refresh-balance")){var i=n.getAttribute("product-id");return t.preventDefault(),b.removeIgnore(i),b.getBalance(),!1}}function T(){o.H(m),o.H(f),o.H(g),o.H(v)}function C(e){return y.set("showBalance:"+u,e)}return this.init=function(){!function(){var t,i=document.querySelector(".account-section"),a=new r.a(l,"balance-checkbox");if((t=y.get("showBalance:"+u))&&("true"===t?l.checked=!0:"false"===t?l.checked=!1:(l.checked=!0,C("true"))),t||(l.checked?C("true"):C("false")),a.checker(l),l.checked?o.c(i,"hide-balance"):o.b(i,"hide-balance"),8===n.i(s.a)())try{o.f(l,"click",e.doToggle)}catch(c){console.log(c)}else o.f(l,"change",e.doToggle)}(),l.checked&&this.activateBalance()},this.activateBalance=function(){if(b=new a.a({preFetch:x,onSuccess:E,onFail:S,postFetch:k}),w=!0,o.f(document.querySelector(".account-balance"),"click",_),"undefined"!=typeof app.settings.balanceExclusion&&app.settings.balanceExclusion)for(var e=0;e<app.settings.balanceExclusion.length;e++)b.addIgnore(app.settings.balanceExclusion[e]);b.getBalance()},this.doToggle=function(){this.checked?(o.c(t,"hide-balance"),o.c(m,"none"),C("true"),this.checked=!0,w||e.activateBalance()):(o.b(t,"hide-balance"),o.b(m,"none"),C("false"),this.checked=!1)},this};var o=n(0),i=n(49),r=n(44),s=n(4),a=n(43),l=n(51),c=n.n(l),u=n(50),d=n.n(u)},function(e,t,n){"use strict";t.a=function(){var e=document.getElementById("player-balance"),t=app.settings.balanceLoader,n=document.getElementById("balance-control"),r=document.getElementById("balance-tooltip"),a=null;function c(){var e;h(),o.D(n,((e=document.createElement("img")).src=t,o.b(e,"refresh-loading"),e))}function u(t){if(h(),"undefined"==typeof t.breakdown||"undefined"==typeof t.total||null===t.total)o.D(e,document.createTextNode(app.settings.balanceError));else{var n={"{total}":t.total,"{currency}":t.currency},i=o.G(n,t.format);for(var a in o.D(e,document.createTextNode(i)),t.breakdown)if(null===t.breakdown[a].total){if("block"===t.breakdown[a].visibility||"uc"===t.breakdown[a].visibility){delete t.breakdown[a];continue}if("ignore"===t.breakdown[a].visibility){t.breakdown[a].total=l()({id:t.breakdown[a].wallet});continue}t.breakdown[a].total=app.settings.balanceErrorProduct}r&&(r.innerHTML=s()(t))}}function d(){h(),o.D(e,document.createTextNode(app.settings.balanceError))}function f(){var e;o.D(n,(e=document.createElement("SPAN"),o.b(e,"refresh-balance"),o.b(e,"refresh-icon"),o.b(e,"inline-block"),e.setAttribute("style","display: inline-block"),e))}function p(e){var t=e||window.event,n=t.target||t.srcElement;if(o.d(n,"refresh-balance")){var i=n.getAttribute("product-id");return t.preventDefault(),a.removeIgnore(i),a.getBalance(),!1}}function h(){o.H(n),o.H(e),o.H(r)}return this.init=function(){if(a=new i.a({preFetch:c,onSuccess:u,onFail:d,postFetch:f}),o.f(document.querySelector(".account-balance"),"click",p),"undefined"!=typeof app.settings.balanceExclusion&&app.settings.balanceExclusion)for(var e=0;e<app.settings.balanceExclusion.length;e++)a.addIgnore(app.settings.balanceExclusion[e]);a.getBalance()},this};var o=n(0),i=n(43),r=n(51),s=n.n(r),a=n(50),l=n.n(a)},function(e,t,n){"use strict";var o=n(0),i=n(105),r=(n.n(i),n(13)),s=n(71);function a(e){this.options=null,this.elements=null,this.dcoinPopupStatusDone="shown";const t={selectors:{popupWrapper:"#dcoin-popup",popupContentWrapper:"#dcoin-popup-content"},product:"",productUrlPrefix:"",language:app.settings.lang,apiUrl:"/ajax/content-sliders"};this.options=Object.assign({},t,"object"!=typeof e?{}:e)}a.prototype.init=function(){o.v("dcoin.popup.status")!==this.dcoinPopupStatusDone&&this.getPopupContent()},a.prototype.clearPopupStatus=function(){o.w("dcoin.popup.status")},a.prototype.getPopupContent=function(){var e=this,t=document.querySelector(e.options.selectors.popupContentWrapper),n=new URLSearchParams({product:e.options.product});if(t){var o="";o+=this.options.language?"/"+e.options.language:"/en",o+=this.options.productUrlPrefix?"/"+e.options.productUrlPrefix:"",o+=e.options.apiUrl,o+=Array.from(n).length>0?"?"+n.toString():"",fetch(o).then(function(e){return e.json()}).then(function(t){e.generatePopupMarkup(t),(new r.a).show("dcoin-popup-content")})}},a.prototype.generatePopupMarkup=function(e){var t=document.querySelector(this.options.selectors.popupWrapper);if(void 0!==e){var n=i({popupTitle:e.data.popupTitle,slides:e.data.slides});t.innerHTML=n,o.x("dcoin.popup.status",this.dcoinPopupStatusDone),e.data.slides.length>1&&this.activateSlider(e)}},a.prototype.addClosebtn=function(e){const t=document.createElement("button");t.classList.add("modal-close"),t.classList.add("dcoin-popup-last"),t.innerText=e.data.closeBtnLabel||"Close",document.querySelector(".slider-controls").appendChild(t)},a.prototype.activateSlider=function(e){var t=this,n=document.querySelector("#dcoin-popup-slider");if(n&&n.querySelectorAll(".dcoin-popup-content").length>0){var i=new s.a({selector:"#dcoin-popup-slider",loop:!1,duration:300,controls:!1,draggable:!1,onInit:function(){setTimeout(function(){i.addIndicators(),i.updateIndicators(),t.addClosebtn(e),window.addEventListener("resize",()=>{t.addClosebtn(e),0!==i.currentSlide&&i.currentSlide===i.innerElements.length-1||o.b(document.querySelector(".dcoin-popup-last"),"hidden")})},10)},onChange:function(e,t){i.updateIndicators(),0===i.currentSlide?o.b(document.querySelector(".btn-prev"),"dcoin-popup-first-page"):o.c(document.querySelector(".btn-prev"),"dcoin-popup-first-page"),i.currentSlide===i.innerElements.length-1?(o.b(document.querySelector(".btn-next"),"hidden"),o.c(document.querySelector(".dcoin-popup-last"),"hidden")):(o.c(document.querySelector(".btn-next"),"hidden"),o.b(document.querySelector(".dcoin-popup-last"),"hidden"))}});setTimeout(()=>{0===i.currentSlide&&(o.b(document.querySelector(".btn-prev"),"dcoin-popup-first-page"),o.b(document.querySelector(".dcoin-popup-last"),"hidden"))},10)}},t.a=a},function(e,t,n){"use strict";var o=n(59);class i extends o.a{constructor(e){super(e);const t=i.mergeSettings(e);this.config=Object.assign(t,this.config),this.initXlider()}initXlider(){this.selector.style.height="auto",this.selector.firstElementChild.classList.add("banner-slides"),this.createControls(),window.addEventListener("resize",()=>{this.createControls(),this.addIndicators(),this.config.onChange.call(this,this.innerElements[this.currentSlide],this)})}static mergeSettings(e){const t={controls:!0},n=e;for(const e in n)t[e]=n[e];return t}static createElem(e,t){const n=document.createElement(e);return n.classList.add(t||""),n}buildSliderFrameItem(e){const t=document.createElement("div");return t.classList.add("xlider-item"),t.style.cssFloat=this.config.rtl?"right":"left",t.style.float=this.config.rtl?"right":"left",t.style.width=`${this.config.loop?100/(this.innerElements.length+2*this.perPage):100/this.innerElements.length}%`,t.appendChild(e),t}createControls(){if(this.innerElements.length<=this.perPage)return;const e=i.createElem("span","btn-prev"),t=i.createElem("span","btn-next"),n=i.createElem("div","slider-controls");e.innerHTML="<svg width='36' height='36' viewBox='0 0 36 36' fill='none' xmlns='http://www.w3.org/2000/svg'><circle cx='18' cy='18' r='18' transform='matrix(-1 0 0 1 36 0)' fill='#5E5E5E' fill-opacity='0.2'/><path d='M23.7954 10.0483L24.0001 9.81605L19.0818 9.81605L15.541 13.8599C13.5925 16.086 12.0001 17.9478 12.0001 17.9979C12.0001 18.0479 13.5925 19.9117 15.541 22.1358L19.0818 26.1797L23.994 26.1797L23.7627 25.9114C23.6297 25.7593 22.0312 23.9255 20.2014 21.8375C18.3716 19.7495 16.8734 18.0199 16.8734 17.9979C16.8734 17.9758 18.3859 16.2302 20.2362 14.1222L23.7954 10.0483Z' fill='black'/></svg>",t.innerHTML="<svg width='36' height='36' viewBox='0 0 36 36' fill='none' xmlns='http://www.w3.org/2000/svg'><circle cx='18' cy='18' r='18' transform='matrix(-1 0 0 1 36 0)' fill='#ffe000'/><path d='M23.7954 10.0483L24.0001 9.81605L19.0818 9.81605L15.541 13.8599C13.5925 16.086 12.0001 17.9478 12.0001 17.9979C12.0001 18.0479 13.5925 19.9117 15.541 22.1358L19.0818 26.1797L23.994 26.1797L23.7627 25.9114C23.6297 25.7593 22.0312 23.9255 20.2014 21.8375C18.3716 19.7495 16.8734 18.0199 16.8734 17.9979C16.8734 17.9758 18.3859 16.2302 20.2362 14.1222L23.7954 10.0483Z' fill='black'/></svg>",n.appendChild(e),n.appendChild(t),this.selector.appendChild(n),e.addEventListener("click",()=>this.prev()),t.addEventListener("click",()=>this.next())}prev(e=1,t){if(this.innerElements.length<=this.perPage)return;const n=this.currentSlide;if(this.config.loop){if(this.currentSlide-e<0){this.disableTransition();const t=this.currentSlide+this.innerElements.length,n=t+this.perPage,o=(this.config.rtl?1:-1)*n*(this.selectorWidth/this.perPage),i=this.config.draggable?this.drag.endX-this.drag.startX:0;this.sliderFrame.style[this.transformProperty]=`translate3d(${o+i}px, 0, 0)`,this.currentSlide=t-e}else this.currentSlide=this.currentSlide-e}else this.currentSlide=Math.max(this.currentSlide-e,0);n!==this.currentSlide&&(this.slideToCurrent(this.config.loop),this.config.onChange.call(this,this.innerElements[this.currentSlide],this),t&&t.call(this))}next(e=1,t){if(this.innerElements.length<=this.perPage)return;const n=this.currentSlide;if(this.config.loop){if(this.currentSlide+e>this.innerElements.length-this.perPage){this.disableTransition();const t=this.currentSlide-this.innerElements.length,n=t+this.perPage,o=(this.config.rtl?1:-1)*n*(this.selectorWidth/this.perPage),i=this.config.draggable?this.drag.endX-this.drag.startX:0;this.sliderFrame.style[this.transformProperty]=`translate3d(${o+i}px, 0, 0)`,this.currentSlide=t+e}else this.currentSlide=this.currentSlide+e}else this.currentSlide=Math.min(this.currentSlide+e,this.innerElements.length-this.perPage);n!==this.currentSlide&&(this.slideToCurrent(this.config.loop),this.config.onChange.call(this,this.innerElements[this.currentSlide],this),t&&t.call(this))}addIndicators(){this.indicators=document.createElement("div"),this.indicators.classList.add("indicators");for(let e=0;e<this.innerElements.length;e++){const e=document.createElement("button");e.classList.add("indicators-item"),this.indicators.appendChild(e)}this.selector.parentNode.insertBefore(this.indicators,this.selector.nextSibling),this.selector.appendChild(this.indicators)}updateIndicators(){for(let e=0;e<this.indicators.querySelectorAll("button").length;e++){const t=this.currentSlide===e?"add":"remove";this.indicators.querySelectorAll("button")[e].classList[t]("indicators-item-active")}}}t.a=i},function(e,t,n){"use strict";t.a=i;var o=n(0);function i(e){var t={selector:".dropdown-trigger",transitionSpeed:2,hideDropdownOnClick:!1,hideDropdownOnMouseOut:!1,hideDropdownOnClickOutside:!0};for(var n in this.options=e||{},t)this.options[n]===undefined&&(this.options[n]=t[n]);this.dropdownButtons=document.querySelectorAll(this.options.selector),this.dropdownContents=[],this.dropdownContentHeights=[],this.initializeDropdownContents(),this.eventTriggered()}i.prototype.initializeDropdownContents=function(){var e=this;o.p(e.dropdownButtons,function(t){if(t.nextElementSibling||o.B(t)){var n=t.nextElementSibling||o.B(t),i=n.clientHeight;e.dropdownContents.push(n),e.dropdownContentHeights.push(i),n.style.height=0,n.style.overflow="hidden",n.style.transition="height ."+e.options.transitionSpeed+"s"}})},i.prototype.eventTriggered=function(){var e=this;o.f(document,"click",function(t){var n=(t=t||window.event).target||t.srcElement;e.setActive(n),o.p(e.dropdownButtons,function(e){n!==e&&n.parentNode!==e||o.k(t)})}),e.options.hideDropdownOnMouseOut&&o.f(document,"mouseout",function(t){var n=(t=t||window.event).target||t.srcElement;o.p(e.dropdownContents,function(t){n===t&&e.closeDropdown(o.C(t),t)})})},i.prototype.setActive=function(e){var t=this;"string"==typeof e&&(e=document.querySelectorAll(e)),o.j(t.options.selector,function(n,i){var r=t.dropdownContents[i],s=t.dropdownContentHeights[i],a="0px"===r.style.height,l=e===r||e.parentNode&&e.parentNode===r||e.parentNode&&e.parentNode.parentNode&&e.parentNode.parentNode===r?r:null;(n.nextElementSibling||o.B(n))&&(e===n||e.parentNode===n?a?t.openDropdown(n,r,s):t.closeDropdown(n,r):(a||!l||t.options.hideDropdownOnClick)&&(t.options.hideDropdownOnClickOutside||a||l)?a||t.closeDropdown(n,r):t.openDropdown(n,r,s))})},i.prototype.openDropdown=function(e,t,n){t.style.height=n+"px",o.b(e,"active"),o.b(t,"active")},i.prototype.closeDropdown=function(e,t){t.style.height=0,o.c(e,"active"),o.c(t,"active")}},function(e,t,n){"use strict";t.a=r;var o=n(0),i=document.querySelector(".back-to-top");function r(){o.f(window,"scroll",function(){document.body.scrollTop+document.documentElement.scrollTop>200?o.c(i,"hide"):o.b(i,"hide")}),o.f(i,"click",s)}function s(){o.u(document.body,600)}r()},function(e,t,n){"use strict";var o=n(0),i=new(n(8).a),r=JSON.parse(i.get("cookie-notif-disabled")),s=document.querySelector(".cookie-notif"),a=document.querySelector(".cookie-notif-close"),l=document.body.getAttribute("data-geoip"),c=document.querySelector(".cookie-notif");l&&c&&(c.getAttribute("data-country-codes").split(",").indexOf(l)>-1&&(o.c(s,"hidden"),o.f(window,"storage",function(e){"cookie-notif-disabled"===e.key&&"true"===e.newValue&&o.b(s,"hidden")}),o.f(a,"click",function(){i.set("cookie-notif-disabled",!0),o.b(s,"hidden")})));l&&!r||o.b(s,"hidden")},function(e,t,n){"use strict";var o=n(0);0===app.settings.enable_marketing_script&&o.a(function(){var e=document.querySelector(".partners-logo-curacao"),t=document.getElementById("apg-seal-link");try{APG.init()}catch(i){e&&(e.style.visibility="visible")}if(t&&e){var n=o.l(e,"picture");n?o.b(n,"hidden"):o.b(e,"hidden")}})},function(e,t,n){"use strict";t.a=function(e){if(!app.settings.login){var t=o.l(e,".loginform-textfield-wrapper");e&&o.d(e,"caps-lock-enabled")&&(o.f(e,"keypress",function(e){var n,i,r=(e=e||window.event).keyCode?e.keyCode:e.which;!function(e){var t=e.keyCode?e.keyCode:e.which,n=e.shiftKey?e.shiftKey:16===t;return t>=65&&t<=90&&!n||t>=97&&t<=122&&n}(e)?function(e){var n=t.querySelector(".capslock-notification");n&&8!==e&&46!==e&&n.remove()}(r):(n=t.querySelector(".capslock-notification"),(i=t.querySelector(".login-error"))&&i.remove(),n||(n=document.createElement("div"),o.b(n,"capslock-notification"),n.innerHTML=app.settings.capsLockNotification,t.appendChild(n)))}),o.f(document,"keydown",function(e){var n,o=(e=e||window.event).keyCode?e.keyCode:e.which;20===o&&document.querySelector(".capslock-notification")&&(n=t.querySelector(".capslock-notification"))&&n.remove()})),document.msCapsLockWarningOff=!0}};var o=n(0)},function(e,t,n){"use strict";var o=n(0),i=n(4),r=n(62);if(8!==n.i(i.a)()){l(),o.f(window,"resize",l);var s="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch?"touchend":"mouseenter",a="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch?"touchend":"mousemove";r.init({mainNavWrapper:".navbar nav",navDropdownLabel:app.settings.mainMenuConfig?app.settings.mainMenuConfig.more:"More",dropdownEventIn:s,dropdownEventOut:a,breakPoint:0})}function l(){var e=document.querySelector(".navbar .container > .pull-left"),t=document.querySelector(".main-menu.pull-right"),n=document.querySelector(".footer .grid")||document.querySelector(".footer .row");e&&t&&n&&(e.style.width=n.clientWidth-t.clientWidth-56+"px")}},function(e,t,n){"use strict";t.a=function(){var e=document.querySelector(".language-switcher");if(e){var t=new i.a({selector:".lang-btn",hideDropdownOnClick:!0});e.getElementsByTagName("ul")[0].style.opacity="1";for(var n=document.querySelector(".language-switcher").querySelectorAll("li"),r=0;r<n.length;r++)n[r].onclick=function(e){o.k(e);var n=this.getAttribute("data-lang"),i=document.querySelector(t.options.selector).getAttribute("data-current-lang"),r=window.location.hostname,s=new RegExp(r+"/"+i+"(/?.*)$","i"),a=window.location.href.replace(s,r+"/"+n+"$1");window.location.href=a}}};var o=n(0),i=n(72)},function(e,t,n){"use strict";t.a=function(e){if(e&&o.d(e,"password-mask-enabled")&&8!==n.i(i.a)()){var t=function(e){var t=o.y(e,".password-mask-icon");t||(t=document.createElement("span"),o.b(t,"password-mask-icon"),e.parentNode.appendChild(t));return t}(e);o.f(t,"click",function(e){var t=o.y(e,".password-mask-icon");"password"===e.type?e.setAttribute("type","text"):e.setAttribute("type","password");o.z(t,"password-unmasked")}.bind(null,e))}};var o=n(0),i=n(4)},function(e,t,n){"use strict";var o,i=n(0),r=n(11);i.a(function(){setTimeout(function(){var e=document.body,t=document.documentElement,n=window.pageXOffset!==undefined?window.scrollX||window.pageXOffset:(t||e.parentNode||e).scrollLeft,o=window.pageYOffset!==undefined?window.scrollY||window.pageYOffset:(t||e.parentNode||e).scrollTop;window.scrollTo(n,o+1),window.scrollTo(n,o-1)},500)});var s=document.querySelector(".btn-lazy-load");function a(){o=new r({successClass:"lazy-loaded",selector:".lazy-load"})}s&&s.addEventListener("click",function(){setTimeout(function(){o.revalidate()},100)},!0),window.addEventListener("resize",function(){a()},!0),setTimeout(function(){o.revalidate()},2e3),a(),t.a=o},function(e,t,n){"use strict";t.a=i;var o=n(0);function i(e,t,n){this.target=e,this.overlay=t||!1,this.opacity=n,this.loader=this.target.querySelector(".loader")||this.createLoader()}i.prototype.createLoader=function(){for(var e=document.createElement("div"),t=document.createElement("div"),n="",i=0;i<10;i++)n+='<div class="ray" id="ray-'+i+'"></div>';return t.innerHTML=n,o.b(t,"loader-container"),o.b(e,"loader"),e.appendChild(t),e},i.prototype.show=function(){o.c(this.loader,"hidden"),this.opacity&&(this.loader.style.background="rgba(0, 0, 0, "+this.opacity.toString()+")"),this.overlay&&o.b(this.target,"loader-overlay"),this.target.appendChild(this.loader)},i.prototype.hide=function(){this.loader&&o.b(this.loader,"hidden")}},function(e,t,n){"use strict";t.a=function(e){var t,u,d,f,p,h="loginForm",m="login-form",g="loginFormLightBox",v="loginVia",y="data-login",b="rememberUsername",w="usernameInStorage",x=new i.a({id:g}),E=new s.a,S=app.settings.login,k={onClose:null,onSubmit:null};function _(e){var t=document.getElementById(m),i=document.getElementById(g);if(t){var s=t.querySelector(".login-form-lightbox-blurb"),a=t.querySelector("hr"),l=t.querySelectorAll(".btn"),c="form"===E.get(v),u=t.querySelector(".remember-username");if(function(){var e=document.getElementById(m);if(e){var t=e.querySelector("input[type=text]"),i=e.querySelector("input[type=password]"),s=document.querySelector(".ie8_username_placeholder"),a=document.querySelector(".ie8_password_placeholder");t&&(t.value=""),i&&(i.value=""),8!==n.i(r.a)()&&9!==n.i(r.a)()||(""!==t.value&&null!==t.value||!o.d(s,"hidden")||o.c(s,"hidden"),""!==i.value&&null!==i.value||!o.d(a,"hidden")||o.c(a,"hidden"))}}(),e)c&&C(),o.c(s,"hidden"),o.c(a,"hidden"),o.c(s,"hidden"),o.p(l,function(e,t){o.c(e,"btn-small"),o.b(e,"btn-block")}),o.c(t,"login-form"),o.b(t,"login-form-lightbox"),i.querySelector(".modal-body").appendChild(t),o.b(i,"modal-active"),o.c(u,"hidden");else{o.b(s,"hidden"),o.b(a,"hidden"),o.p(l,function(e,t){o.b(e,"btn-small"),o.c(e,"btn-block")}),o.c(t,"login-form-lightbox"),o.b(t,"login-form");var d=document.getElementById(h);d&&d.appendChild(t),o.c(i,"modal-active"),o.b(u,"hidden")}E.remove(v)}}function T(){var n=document.getElementById(g),o=document.getElementById(m);C(),n&&(_(!1),A()),e.onClose&&"function"==typeof e.onClose&&e.onClose(o,t)}function C(){var e=document.getElementById(m),t=e?e.querySelector(".login-error"):null,n=e?e.querySelector(".capslock-notification"):null;t&&t.remove(),n&&n.remove()}function M(){var e=document.getElementById(g);e&&(_(!0),8===n.i(r.a)()&&x.centerModalContent(),c.a.revalidate(),u&&("true"===E.get(b)?u.checked=!0:u.checked=!1,d.checker(u)),u&&"true"===E.get(b)&&E.get(w)&&(f.value=E.get(w)))}function A(){u&&(!0===u.checked?E.set(b,"true"):E.set(b,"false"))}return S&&E.remove(v),S?o.f(document.body,"click",function(e){var t=(e=e||window.event).target||e.srcElement;"lightbox"===t.getAttribute(y)&&o.k(e)}):(function(){for(var t in e=e||{},k)e[t]===undefined&&(e[t]=k[t])}(),(I=E.get(v))&&"lightbox"===I&&setTimeout(M,50),P=document.getElementById(m),o.f(P,"submit",function(t){o.d(P,"login-form-lightbox")?(E.set(v,"lightbox"),u&&p.show()):E.set(v,"form"),e.onSubmit&&"function"==typeof e.onSubmit&&e.onSubmit(),A(),u&&("true"===E.get(b)?E.set(w,f.value):E.remove(w))}),o.f(document.body,"click",function(e){var n=(e=e||window.event).target||e.srcElement;"lightbox"!==n.getAttribute(y)&&"lightbox"!==n.parentNode.getAttribute(y)||(o.k(e),t=n,M())}),o.f(document.body,"click",function(e){var t=document.getElementById(g),n=t.querySelector(".modal-overlay"),o=t.querySelector(".modal-close"),i=(e=e||window.event).target||e.srcElement;o!==i&&n!==i||(e.preventDefault(),T())}),o.f(document.body,"keydown",function(e){27===(e=e||window.event).keyCode&&T()})),(u=document.querySelector(".remember-username-field"))&&(p=new l.a(document.body,!0,1),d=new a.a(u),f=document.getElementById("LoginForm_username")),this.openLightBox=function(){M()},this;var P,I};var o=n(0),i=n(46),r=n(4),s=n(8),a=n(44),l=n(81),c=n(80)},function(e,t,n){"use strict";var o=n(0),i=n(84);n(45);!function(){var e=document.getElementById("login-form"),t=new i.a(e);function n(e){s(!0)}function r(e){s(!1)}function s(t){for(var n=e.getElementsByTagName("input"),o=0;o<n.length;o++)n[o].disabled=t;var i=e.getElementsByTagName("select");for(o=0;o<i.length;o++)i[o].disabled=t;var r=e.getElementsByTagName("textarea");for(o=0;o<r.length;o++)r[o].disabled=t;var s=e.getElementsByTagName("button");for(o=0;o<s.length;o++)s[o].disabled=t}o.f(e,i.a.prototype.events.preSubmit,n),o.f(e,i.a.prototype.events.postSubmit,r),o.a(function(){t.init()})}()},function(e,t,n){"use strict";var o=n(0),i=(n(45),n(101));function r(e){this.options=e}function s(e){var t=this,n=new i.a;function r(t){var i,r,a;o.e(e,s.prototype.events.preSubmit),i=s.prototype.events.preSubmit,r=s.prototype.eventStore,(a={}).form=e,"undefined"!=typeof r[i]&&n.execute(r[i],a),t.preventDefault()}function a(){return new Promise(function(t,n){var i;t(),o.e(e,s.prototype.events.postSubmit),(i=document.getElementById("LoginForm_submit"))&&(i.style="pointer-events: none",i.disabled=!0,o.b(i,"disabled")),e.submit()})}this.init=function(){o.f(e,"submit",r),t.setEvent(s.prototype.events.preSubmit,a)}}r.prototype={events:{preSubmit:"login_pre_submit",postSubmit:"login_post_submit"},eventStore:{},setEvent:function(e,t){"undefined"==typeof r.prototype.eventStore[e]&&(r.prototype.eventStore[e]=[]),r.prototype.eventStore[e].push(t)}},s.prototype=r.prototype,t.a=s},function(e,t,n){"use strict";t.a=function(){if(!app||!app.settings||!app.settings.product_url||0===app.settings.product_url.length)return;for(var e=document.querySelectorAll("#main-menu > li > a"),t=0;t<e.length;t++){var n,i;try{n=e[t].href.split("/")[4].split("?")[0],i=window.location.href.split("/")[4].split("?")[0]}catch(r){continue}const s=app.settings.product_url,a=n.toLowerCase();s.indexOf(a)>-1&&(o.b(o.l(e[t],"li"),"active"),e[t].href=e[t].href.replace(a,i),window.overrideActiveProductLink&&window.overrideActiveProductLink(e[t]))}};var o=n(0)},function(e,t,n){"use strict";var o=n(0);o.a(function(){if(document.body.classList.contains("agent-player")){var e=document.querySelector(".my-profile-link");o.F(e,["href","data-popup"])}})},function(e,t,n){"use strict";var o=n(0);t.a=function(e){var t=e||{},n=t.debug||{},i=t.global||{},r=["avaya"],s=this;this.contentHook=function(e){if(e.length)for(var t=0;t<e.length;t++)s.setAutoAcknowledge(e[t]),s.bindLinkToAcknowledge(e[t]),s.bindContentHook(e[t])},this.bindContentHook=function(e){for(var t=document.querySelectorAll("#message"+e+" .content [data-action]"),i=0;i<t.length;i++){var a=t[i],l=a.getAttribute("data-auto-acknowledge");if(a&&!l){a.setAttribute("data-hook-id",e),s.customDataAttribute(e,a,"data-custom-attribute");var c=a.getAttribute("data-action"),u=s.extractAction(c);n.console(u,"Set action",u),u.target&&!o.h(u.target,r)?(o.f(document.body,"click",s.processContent),n.console(a,"Bind content action Hook",e)):s.addDataParameters(e,a)}}},this.setAutoAcknowledge=function(e){for(var t=document.querySelectorAll("#message"+e+' .content a[href="#"]'),n=0;n<t.length;n++)t[n]&&(t[n].getAttribute("data-auto-acknowledge")||t[n].setAttribute("data-auto-acknowledge",!0))},this.bindLinkToAcknowledge=function(e){var t=document.querySelectorAll("#message"+e+' .content [data-auto-acknowledge="true"]');if(t)for(var o=0;o<t.length;o++){var i=t[o];if(i){var r=document.querySelector("#message"+e+' [data-default-acknowledge="true"]'),s=r.getAttribute("data-id"),a=r.getAttribute("data-msg-id"),l=r.getAttribute("data-msg-src");i.setAttribute("data-id",s),i.setAttribute("data-msg-id",a),i.setAttribute("data-msg-src",l),null===i.getAttribute("data-action-override")&&i.setAttribute("data-action-override",!1),n.console(i,"Set data id",s),n.console(i,"Set data msg-id",a),n.console(i,"Set data msg-src",l),n.console(i,"Set default data action-override",!1)}}},this.addDataParameters=function(e,t){var o=t.getAttribute("data-id"),i=s.overrideCTA(o,e,"data-parameters");i&&(t.setAttribute("data-parameters",i),n.console(t,"Set data parameters",i))},this.customDataAttribute=function(e,t,o){var i=t.getAttribute("data-id"),r=s.overrideCTA(i,e,o);if(r)for(var a=r.split("&"),l=0;l<a.length;l++)if(a[l].indexOf("=")){var c=a[l].split("=");c[0]!==undefined&&c[1]!==undefined&&(t.setAttribute(c[0],c[1]),n.console(t,"Set data attribute",c[0]+" "+c[1]))}},this.processContent=function(e){var t=(e=e||window.event).target||e.srcElement,i=o.d(t,"action");if(n.console(t,"is CTA button and hasClass .action",i),!i){var r=t.getAttribute("data-id"),a=t.getAttribute("data-hook-id"),l=t.getAttribute("data-action"),c=t.getAttribute("data-parameters");n.console(t,"dataId: "+r+" id: "+a+" action: "+l+" params: "+c);var u=s.extractAction(l);s.actionHook(a,u,c,t)}},this.doActionHook=function(e,t){var i=s.extractAction(e.action),a=!e.ctaride||"false"!==e.ctaride,l="";n.console(e.ctaride,"Lets do override CTA "+a,a),l=a?s.overrideCTA(e.actionId,e.id,"data-parameters"):e.target.getAttribute("data-parameters"),(e.ctaButton&&200===e.status||!e.ctaButton)&&(n.console(i,"is target exists and on list to bind",r),i.target&&!o.h(i.target,r)&&s.actionHook(e.id,i,l)),t()},this.actionHook=function(e,t,o,i){var r=i||!1;if(n.console(t,"Action Hook","Message id: "+e),t){var a=t.key,l=t.target;switch(a){case"copy":n.console(a,"Action Hook","Message id: "+e+", target: "+l),s.doCopy(e,l),s.showTooltip(e,l,r);break;case"redirect":n.console(a,"Action Hook","Message id: "+e+", target: "+l),s.doRedirect(e,l,o,"_self");break;case"popup":n.console(a,"Action Hook","Message id: "+e+", target: "+l),s.doPopup(e,l,o);break;case"newtab":n.console(a,"Action Hook","Message id: "+e+", target: "+l),s.doRedirect(e,l,o,"_blank")}}},this.showTooltip=function(e,t,n){var r=!1;i.lightboxNotif&&(r=document.querySelector(i.lightboxNotif));var s=r||n;if(s){var a=i.translations.copy_to_clipboard||"Copied to Clipboard",l=document.createElement("span");l.className="tooltip",l.id="tooltip"+e+t;var c=document.createTextNode(a);l.appendChild(c),document.querySelector("#tooltip"+e+t)?o.c(document.querySelector("#tooltip"+e+t),"hidden"):s.appendChild(l),setTimeout(function(){document.querySelector("#tooltip"+e+t)&&o.b(document.querySelector("#tooltip"+e+t),"hidden")},3e3)}},this.extractAction=function(e){if(e&&-1!==e.indexOf("::")){var t=e.split("::");if(n.console(t,"Action Hook data"),t[0]!==undefined&&t[1]!==undefined)return{key:t[0],target:t[1]}}return{key:!1,target:!1}},this.mappedKey=function(e){return n.console(e,"Domain Mapped "+i.domains[e]),i.domains[e]||e},this.doCopy=function(e,t){var o=document.querySelector("#message"+e+" #"+t);if(n.console(o,"Action Hook target "+t),o){var i=document.createElement("input");i.type="text",i.style.position="absolute",i.style.left="-10000px",i.style.right="-10000px",i.id="copy"+e,i.value=o.innerHTML,document.querySelector("#message"+e).appendChild(i);var r=document.getElementById("copy"+e);return n.console(r,"Action Hook copy target "+r),r.select(),document.execCommand("copy")&&r.remove(),document.execCommand("copy")}return!1},this.doPopup=function(e,t,i){var r=s.mappedKey(t),a=s.buildUrl(r,i);n.console(a,"action hook do Popup ");var l,c,u=o.m("width",r),d=o.m("height",r);l=u||820,c=d||700;var f=window.screenLeft!==undefined?window.screenLeft:screen.left,p=window.screenTop!==undefined?window.screenTop:screen.top,h=(window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width)/2-l/2+f,m=(window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height)/2-c/2+p,g=window.open(a,"","scrollbars=1,toolbar=0,menubar=0,location=0,resizable=1,status=1, width="+l+", height="+c+", top="+m+", left="+h);window.focus()&&g.focus()},this.doRedirect=function(e,t,o,i){var r=s.mappedKey(t),a=s.buildUrl(r,o);n.console(a,"action hook do Redirect "),window.open(a,i).focus()},this.buildUrl=function(e,t){var n="";return t&&(n=t),-1!==e.indexOf("?")&&""!==n?e+"&"+n:-1===e.indexOf("?")&&""!==n?e+"?"+n:e},this.overrideCTA=function(e,t,o){var i=!1,r=document.querySelector("#message"+t+' .content [data-id-override="'+e+'"]');return r&&(i=r.getAttribute(o)),n.console(r,"override params "+i),i}}},function(e,t,n){"use strict";var o=n(0);t.a=function(e){var t=e.debug,n=e.global,i=0;this.newMessageAlert=function(e){n.notify&&(document.getElementById("pushnxLightbox").className.match("modal-active")&&(i=0),i>0?i+=e:i=e,o.e(document,"pushnx.new.message",{count:i}),t.notify("triggered pushnx.new.message: "+i))},this.updateMessageAlert=function(e){n.counter&&(o.e(document,"pushnx.count.message",{count:e}),t.notify("triggered pushnx.count.message: "+e))}}},function(e,t,n){"use strict";var o=n(0);t.a=function(e,t){this.console=function(t,n,o,i){if(e){var r=(new Date).toLocaleTimeString();if(i=i||"log",o=o||!1,n=n||"DEBUG",console.groupCollapsed("["+r+"] "+n),o&&console.log(o),t)switch(i){case"log":console.log(t);break;case"warn":console.warn(t);break;case"error":console.error(t);break;case"info":console.info(t);break;default:console.log(t)}console.groupEnd()}},this.notify=function(n){var i=document.getElementById("debug-notif")||!1;if(e&&t){if(i)i.innerHTML+="<br/>"+n;else{var r=document.createElement("div");r.id="debug-notif",r.style.position="absolute",r.style.zIndex="99999",r.style.margin="0 auto",r.style.width="100%",r.style.background="brown",r.style.color="white",r.style.textAlign="center",r.style.padding="5px",r.style.opacity="0.7",r.innerHTML=n;var s=document.body.firstChild;s.parentNode.insertBefore(r,s)}i&&o.f(i,"click",function(){this.remove()})}else i&&i.remove()}}},function(e,t,n){"use strict";var o=n(0),i=n(6),r=n.n(i),s=n(42);t.a=function(e){var t=this,n=document.getElementById("pushnxDismissLightbox"),i=document.querySelector("#pushnxDismissLightbox .modal-body"),a=e||{},l=a.content||!1,c=a.yes||!1,u=a.no||!1,d=a.global||{},f=a.message||{},p=a.socket||{},h=a.render||{},m=["icore"];new s.a({closeOverlayClick:!1,escapeClose:!1,id:"pushnxDismissLightbox"}),this.enable=function(){var e=document.querySelector(".pushnx-lightbox-dismiss-all");o.f(e,"click",t.dismissModal)},this.dismissModal=function(){var e=h.dismissAll({message:l.value,yes:c,no:u});i.innerHTML=e,o.b(n,"modal-active"),document.body.style.overflow="hidden";var r=document.getElementById("dismiss-yes"),s=document.getElementById("dismiss-no");r&&o.f(r,"click",t.dismissMessages),s&&o.f(s,"click",t.closeDismissModal)},this.closeDismissModal=function(){o.c(n,"modal-active"),document.body.style.overflow="inherit"},this.dismissMessages=function(){var e=f.getDismissableMessage(),n=t.extractDismissIds(e);t.sendReply(n),t.closeDismissModal()},this.extractDismissIds=function(e){for(var n=[],o=0;o<e.length;o++){var i=t.isAllowToDismiss(e[o])||"icore";if(i){var r=e[o].replace(i,"");n.push(parseInt(r))}}return n},this.sendReply=function(e){var n={secureToken:d.settings.token,clientIP:d.settings.clientIP,playerId:d.settings.playerId,id:"-1",actionId:"-1",msgs:e};r()({url:d.settings.replyUri,method:"post",data:JSON.stringify(n),type:"json",crossOrigin:p.hasWebsocket(),contentType:"text/plain",complete:function(o){if(424!==o.status&&200!==o.status)d.settings.retryCount&&setTimeout(function(){t.sendReply(n,d.settings.retryCount-1)},d.settings.delayCount);else for(var i=0;i<e[i];i++){var r=t.isAllowToDismiss(e[i])||"icore";f.removeMessage(e[i],r)}}})},this.isAllowToDismiss=function(e){for(var t=0;t<m.length;t++)if(-1!==e.indexOf(m[t]))return m[t];return!1}}},function(e,t,n){"use strict";var o=n(0),i=n(61);t.a=function(e){var t=(e||{}).debug||{};this.isExpired=function(e,n){if(!this.isDateInMilli(e,n))return t.console(e,"Is Expired","Message Id "+n+" is not yet expired."),!1;var o=new Date,i=Date.UTC(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate(),o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds()),r=new Date(1*e.match(/\d+/)[0]).getTime();return!!(r&&i>r)},this.isDateInMilli=function(e,n){return n=n||"",e?!(e.indexOf("-")>-1&&(t.console(e,"ExpiryDate Format","ExpiryDate format of Message Id "+n+" is based on Phase1"),1)):(t.console(e,"ExpiryDate Format","Invalid Date Format","warn"),!1)},this.formatDateTime=function(e,t,n){if(!this.isDateInMilli(e))return"";var o=1*e.match(/\d+/)[0],r=o+6e4*new Date(o).getTimezoneOffset(),s=new Date(r+36e5*n);return i(s,t)+" (GMT"+n+")"},this.configUrl=function(e,t){var n="",i="",r={},s=t||{},a=s.token||!1,l=this.scriptParam("pushnx");return l.url&&(s.url=l.url),l.lang&&(s.lang=l.lang),l.product&&(s.product=l.product),l.token&&(a=l.token),s.url&&(n=s.url),s.lang&&(r.lang=s.lang),s.product&&(r.product=s.product),a&&(i+="?token="+a),{xdomain:!!n,url:n+o.n(e,r)+i,token:a}},this.scriptParam=function(e){var t={},n=document.querySelector("script[data-pushnx]");if(n)for(var o=n.getAttribute("data-pushnx").split("?").pop().split("&"),i=0;i<o.length;i++){var r=o[i].split("=");t[r[0]]=r[1]}return t},this.validSession=function(e){var t=o.d(document.body,"page-404");return!(!e||t)},this.excludePage=function(e){var t=window.location.href;if(e)for(var n=0;n<e.length;n++)if(t.match(e[n]))return!0;return!1},this.setcookie=function(e,t,n){var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3);var i="expires="+o.toUTCString();document.cookie=e+"="+t+";"+i+";path=/"}}},function(e,t,n){"use strict";var o=n(0),i=n(6),r=n.n(i),s=n(94),a=n(93),l=n(90),c=n(88),u=n(87);t.a=function(e){var t=this,n=e||{},i=n.global||{},d=n.console||{},f=n.support||{},p=n.socket||{},h=n.eb||{},m=n.server||{},g=new s.a({template:n.template,icon:n.icontemplate}),v=n.islogin||!1,y=!1,b=n.modal.enable===undefined||n.modal.enable,w=n.modal.control===undefined||n.modal.control,x=n.modal.height!==undefined&&n.modal.height,E=new u.a({global:i,debug:d}),S=new a.a({isactive:y,scrollbot:n.scrollbot,control:w,height:x,debug:d});if(n.dismiss)var k=new l.a({content:i.dismiss.content,yes:i.dismiss.yes,no:i.dismiss.no,render:g,global:i,support:f,socket:p,message:t,debug:d});var _=new c.a({global:i,debug:d});d.console(n,"Fetched Config",n,"warn");var T=i.settings.dateformat.format,C=i.settings.dateformat.offset,M=[],A=[],P=[],I=[],D=[],L=[],O=f.validSession(v)||!1,q=document.getElementById("pushnxMessages")||!1;this.acknowledge=function(e){var n=(e=e||window.event).target||e.srcElement;if(void 0!==n.getAttribute("data-msg-id")&&null!==n.getAttribute("data-msg-id")){var o=!1,r=!1,s=n.getAttribute("data-id"),a=n.getAttribute("data-msg-id"),l=document.getElementById("actions"+a),c=l.getAttribute("data-expiry"),u=n.getAttribute("data-action"),p=n.getAttribute("data-msg-src")||"icore",h=n.getAttribute("data-action-override")||!1;null===n.getAttribute("data-auto-acknowledge")&&(o=!0);var m=document.querySelector('[data-id-override="'+s+'"]');(h&&m||o&&m)&&(r=!0),d.console("Message Id: "+a+", Action Id: "+s+", Retry Count config: "+i.settings.retryCount+", Message Expiration: "+c,"Message Acknowledged Action");var v=g.expiredMessage({isexpired:f.isExpired(c,a),messageClass:i.css.expiredMessage,message:i.translations.expired_message});v&&(l.innerHTML=v,d.console(v,"Message Acknowledged Action","Error Message Display on Action container."));var y=a.replace(p,""),b={secureToken:i.settings.token,clientIP:i.settings.clientIP,playerId:parseInt(i.settings.playerId),id:parseInt(y),actionId:s,src:p};t.updateMessageStatus(),I.push(parseInt(a)),d.console(I,"Removed Messages","Remove message id: "+a),t.sendReply(b,i.settings.retryCount,u,h,r,o,n)}},this.sendReply=function(e,n,o,s,a,l,c){d.console(O,"is Valid Session for reply "+O,"ctaButton: "+l),O&&(y=!0,r()({url:i.settings.replyUri,method:"post",data:JSON.stringify(e),type:"json",crossOrigin:p.hasWebsocket(),contentType:"text/plain",complete:function(r){if(200!==r.status&&424!==r.status)n?setTimeout(function(){t.sendReply(e,n-1,o,s,a,l,c)},i.settings.delayCount):t.closeMessage(!0);else{var u={id:e.src+e.id,actionId:e.actionId,action:o,ctaride:s,overRide:a,ctaButton:l,status:r.status,target:c};E.doActionHook(u,function(){t.removeMessage(e.id,e.src),d.notify("Response: "+r.status+", Removed message id: "+e.id)})}}}))},this.action=function(){v&&o.f(document.body,"click",this.acknowledge)},this.unbindAction=function(){o.g(document.body,"click",this.acknowledge)},this.generateMessage=function(e){var n="",r="",s=e.length;if(s)for(var a=0;a<s;a++){var l=0,c="6666",u=!1,p=e[a],h={};if(h.messageId=p.Id,h.actions=p.Actions,h.content=p.Contents,p.hasOwnProperty("ExpiryDate")&&(l=p.ExpiryDate,u=f.isExpired(l,p.Id)),h.expiryDate=p.ExpiryDate,h.expirationLabel=g.expirationDate({displayExpiryDate:i.settings.displayExpiryDate,label:i.label.expiration_date,formattedDate:f.formatDateTime(l,T,C),debugClass:u?i.css.dateExpired:i.css.dateActive,Phase1Date:f.isDateInMilli(l,p.Id)?"":" (Phase1 date format) "}),d.console(h.expirationLabel,"Prepare Expiration Date Template","Expiration Date Template for message id "+h.messageId),p.hasOwnProperty("Contents")&&p.hasOwnProperty("Actions")){u&&o.h(p.Id,I)?(d.console(I,"Filter Removed Messages","is expired and msg id: "+p.Id+" is existing on remove ids"),h.actions=g.expiredMessage({isexpired:f.isExpired(l,p.Id),messageClass:i.css.expiredMessage,message:i.translations.expired_message})):(d.console(I,"Filter Removed Messages","is not expired and message id "+p.Id+" is not existing on remove ids"),h.actions=g.messageAction({id:p.Id,actions:p.Actions,cta:i.cta,actionClass:i.css.actionClass,actionId:i.css.actionId,src:p.Src||"icore"})),d.console(h.actions,"Prepare Expired Message Template","Expired message Template for message id "+h.messageId),p.hasOwnProperty("DateTriggered")?c=p.DateTriggered:p.hasOwnProperty("receivedDate")&&(c=p.receivedDate);var m=(p.Parameters||{}).ProductTypeId||"0",v=t.iconMessage(m);v&&(h.genericIcon="generic"===v||null,h.icon=g.messageIcon({icon:v})),h.publishDate=f.formatDateTime(c,T,C),h.title=g.messageTitle({title:t.messageTitle(m)}),d.console(h.title,"Prepare Message Title Template","Message title Template for message id "+h.messageId),r=g.pushMessage(h),d.console(r,"Prepare Message Template","Message Template for message id "+h.messageId),L.push(h.messageId),n+=[r].join("\n")}}return t.constructMessage(n)},this.constructMessage=function(e){return e?{existing:!1,content:e}:{existing:!0,content:e}},this.sendMessages=function(e){var n="",r="";t.containerMessage(),t.messageReady(!1),d.console(y,"Active Browser?"),d.console(M,"storedMessage is empty?","storedMessage.length: "+M.length);var s=t.removeExpiredMessage(e);P=t.getMessages(s),y&&M.length>0?(r=P,d.console(r,"New Messages","new message received from server.")):(r=s,M=s,d.console(M,"Update storedMessage","Replace storedMessage value.")),"object"==typeof M?o.i(M)||o.i(r)?o.i(M)&&(d.console("closeMessage has been triggered.","Empty Message"),d.notify("Empty message: "+M.length),_.updateMessageAlert(!1),t.closeMessage(!0)):(d.console(r,"Generate Message","Generate Message for Player Id: "+i.settings.playerId),_.updateMessageAlert(M.length),n=t.generateMessage(r),d.console(n,"Generate HTML Message","Generate Message for Player Id: "+i.settings.playerId),t.openMessage(n),_.newMessageAlert(P.length),y=!1):(d.console(M,"Message(s)","Invalid Format."),d.notify("Empty message: "+M.length))},this.getMessages=function(e){A=[],d.console(e,"Incoming Messages"),o.i(e)&&d.console(e,"Incoming Message(s)","is empty");for(var n=e,i=n.length,r=0;r<i;r++)"empty"===t.findStoredMessage(n[r].Id)?(d.console(n[r],"Incoming Message","Message Id: "+n[r].Id),A=t.addToMessages(n[r])):d.console("Message Id: "+n[r].Id+" is already existing.","Existing Message");return d.console(A,"Incoming Messages"),A},this.addToMessages=function(e){var n=[];if(i.settings.displayAllMessage)if(d.console(i.settings.displayAllMessage,"Filter Expired Messages"),"undefined"!=typeof e.ExpiryDate){d.console(e.ExpiryDate,"Message ExpiryDate","Message Id: "+e.Id+" expiry date is defined");var o=t.findStoredMessage(e.Id);f.isExpired(e.ExpiryDate,e.Id)||"empty"!==o||(M.push(e),n.push(e),d.console(e,"Add Message","Message Id: "+e.Id+" has been added."))}else d.console(e.ExpiryDate,"Message ExpiryDate","Message Id: "+e.Id+" expiry date is undefined"),M.push(e),n.push(e),d.console(e,"Add Message","Message Id: "+e.Id+" has been added.");else M.push(e),n.push(e),d.console(e,"Add Message","Message Id: "+e.Id+" has been added.");return t.setDismissableMessage(e),t.updateMessageStatus(),n},this.removeMessage=function(e,n){var o=n+e,r=i.settings.expiryDelayCount||1e3,s=document.getElementById("actions"+o),a=document.getElementById("message"+o);s&&a&&f.isExpired(s.getAttribute("data-expiry"),o)?setTimeout(function(){t.removeStoredMessage(o),document.getElementById("message"+o)&&(d.console("Message Id: "+o+" will be remove in "+r+"ms.","Remove Expired Message"),document.getElementById("message"+o).remove(),t.closeMessage(!1),b&&S.modalHeightRefresh())},r):a&&(t.removeStoredMessage(o),a.remove(),d.console("Message Id: "+o+" will be remove immediately","Removed Message"),t.closeMessage(!1))},this.removeStoredMessage=function(e){if(!(e<0)){var n=t.findStoredMessage(e);return"empty"!==n&&M.splice(n,1)&&d.console("Removed Message Id: "+e+" on list","Removed Message"),t.removeDismissableMessage(e),t.updateMessageStatus(),d.console(M,"Updated Message","post remove message"),y=!1,_.updateMessageAlert(M.length),M}d.console(e,"Remove Message","Message Id: "+e+" is empty")},this.removeExpiredMessage=function(e){var n=[];if(e){var o=e.length;if(!i.settings.displayAllMessage)return e;d.console(e,"Start to Remove Expired Message","Messages has "+e.length+" items."),d.console(i.settings.displayAllMessage,"Removing Expired Message","Checking config... Filter Expired Messages?");for(var r=0;r<o;r++){var s=e[r];if(s&&s.ExpiryDate){var a=f.isExpired(s.ExpiryDate,s.Id);a?a&&!y&&t.removeStoredMessage(s.Id):n.push(s)}else n.push(s)}}return n},this.updateMessageStatus=function(){if(i.settings.displayExpiryDate)for(var e=M.length,t=0;t<e;t++){var n=f.isExpired(M[t].ExpiryDate,M[t].Id);if(d.console("Message Id: "+M[t].Id+" is expired: "+n,"Update Messages Status"),n){var r=document.querySelector("#message"+M[t].Id+" .time span");o.c(r,"debug-active"),o.b(r,"debug-expired"),d.console("Message Id: "+M[t].Id+" is expired.","Update Message Status")}}},this.extractMessage=function(e){var t=!1,n=JSON.parse(e),o=!1;return n.hasOwnProperty("body")?(d.console(n,"Extracted Messages","Validate Message Format. Message Format is messages.body.body"),o=n.body):Object.keys(n).length>=0?(d.console(n,"Extracted Messages","Validate Message Format. Message Format is messages.body"),o=n):d.console(n,"Extracted Messages","Invalid Message Format from Server","error"),o&&(t=this.touchMessage(o)),t},this.touchMessage=function(e){var t=[],n=e.length;if(!o.i(e))for(var i=0;i<n;i++){var r=e[i],s=e[i].Src||"icore";r.Id=s+r.Id,t.push(r)}return t},this.findMessageByProductTypeId=function(e){var t=[],n=e.length;if(o.i(e))d.console(e,"Searching Messages by Product Type Id","messages is empty");else for(var r=0;r<n;r++){var s=e[r],a=s.Parameters,l=a.ProductTypeId||"0";d.console(l,"Product Type Id is undefined?","Product Type Id"),d.console("Searching for: "+i.settings.productTypeId+", Search Index: "+r+", Search Product Type Id: "+l,"Product Type Id found?"),!a.hasOwnProperty("ProductTypeId")||o.h(l,i.settings.productTypeId)?(d.console(l,"Search Message by Product Type Id result","Product Type Id is "+l+", Result found at index "+r),d.console(i.settings.disableBonusAward,"Disable Bonus Awarded","Bonus Awarded status: "+i.settings.disableBonusAward),(!i.settings.disableBonusAward||i.settings.disableBonusAward&&"BonusIsAwarded"!==s.TransactionalMessageName)&&t.push(s)):d.console(s.Id,"Search Message by Product Type Id result","Product Type Id not found")}return t},this.findStoredMessage=function(e){var t=M.length;if(d.console(M,"Start Searching Message on storedMessage","Message Id: "+e),o.i(M))d.console(M,"Searching Messages by ID","messages is empty","warn");else for(var n=0;n<t;n++)if(M[n].Id===e)return d.console(M[n].Id,"Search Message result","Message Id found at index "+n),n;return"empty"},this.violatileMessage=function(e){if(h){var t={playerId:i.settings.playerId,violatileMsgId:e};h.publish(m,t,{"content-type":"application/json"}),d.console(t,"Violatile Message","Published to "+m)}},this.productMessage=function(e){return t.findMessageByProductTypeId(e)},this.containerMessage=function(){if(!document.getElementById("push-notification")&&q){var e=[g.pushTemplate({title:i.translations.title?i.translations.title:i.label.modal_title,messages:i.translations.empty,dismiss:!(!i.dismiss||!i.dismiss.button_label)&&i.dismiss.button_label})].join("\n");q.innerHTML=e,d.console(e,"Render Body Template","body template is not existing looking for id: push-notification on "+q)}},this.openMessage=function(e){if(e){var t=document.querySelector(".messages .scrollbot-inner-parent")||document.querySelector(".messages");b?(d.console(n.modal,"Render in Modal","Modal enabled: "+n.modal.enable),S.modalOpen(e)):q&&(d.console(n.modal,"Render in non-modal","Modal enabled: "+n.modal.enable),t.innerHTML=e.content),t&&this.messageReady(!0),E.contentHook(L)}n.dismiss&&k.enable()},this.closeMessage=function(e){b?S.modalClose(e):t.emptyMessage(),t.containerMessage(),_.updateMessageAlert(M.length)},this.emptyMessage=function(){var e=document.querySelector(".messages")||!1;o.i(M)&&e&&(e.innerHTML=i.translations.empty||"There are no new notifications.")},this.iconMessage=function(e){return i.icon?i.settings.productDetails[e].icon||"generic":null},this.messageTitle=function(e){return i.settings.productDetails[e].label?i.settings.productDetails[e].label:""},this.messageReady=function(e){o.e(document,"pushnx.message",{ready:e})},this.setDismissableMessage=function(e){var t=(e.Parameters||{}).ProductTypeId||"0",n=e.Id;i.settings.productDetails[t].allowtodismiss||D.push(n)},this.getDismissableMessage=function(){return D},this.removeDismissableMessage=function(e){var n=t.findDismissableMessage(e);"empty"!==n&&D.splice(n,1)&&d.console("Removed Dismissable Message Id: "+e+" on list","Removed Message")},this.findDismissableMessage=function(e){var t=D.length;if(d.console(D,"Start Searching Message on dismissableMessages"),o.i(D))d.console(D,"Searching Messages by ID","messages is empty","warn");else for(var n=0;n<t;n++)if(D[n].Id===e)return d.console(D[n].Id,"Search Message result","Message Id found at index "+n),n;return"empty"}}},function(e,t,n){"use strict";var o=n(0),i=n(42),r=n(12),s=n(4);t.a=function(e){var t=this,a=e||{},l=a.isactive||!1,c=a.scrollbot,u=a.control,d=a.debug||{},f=document.body,p=document.getElementById("pushnxMessages"),h=document.getElementById("pushnxLightbox"),m=null,g=[],v=a.height||450,y=new i.a({closeOverlayClick:!1,escapeClose:!1,id:"pushnxLightbox"});this.modalOpen=function(e){var n=document.querySelector(".messages");if(!e.existing&&n)n.innerHTML=e.content,u&&(o.b(h,"modal-active"),f.style.overflow="hidden"),c&&(m=new r.a(".messages"));else{var i=document.querySelector(".messages .scrollbot-inner-parent")||document.querySelector(".messages");h&&i&&(l?i.innerHTML+=e.content:i.innerHTML=e.content)}t.modalHeightRefresh()},this.modalClose=function(e){!e&&document.querySelector("#push-notification .message")||(g=[],p.innerHTML="",d.console(g,"Modal Close","Close Modal and clear message variable."),o.c(h,"modal-active"),f.style.overflow="inherit"),t.modalHeightRefresh()},this.modalHeightRefresh=function(){setTimeout(function(){var e=document.querySelectorAll(".message-pnx"),t=document.querySelector(".messages-pnx"),o=0;if(t){for(var i=0;i<e.length;i++)o+=e[i].offsetHeight;t.style.height=o<v?"auto":v+"px",null!==m&&m.refresh(),8===n.i(s.a)()&&y.centerModalContent(document.getElementById("pushnxLightbox"))}},1)}}},function(e,t,n){"use strict";var o=n(0),i=n(96);t.a=function(e){var t=e||{},n=new i.a(t);this.dismissAll=function(e){return n.dismissAllTemplate({message:e.message,yes:e.yes,no:e.no})},this.expirationDate=function(e){return e.displayExpiryDate?n.expirationDateTemplate({debugClass:e.debugClass,expirationLabel:e.label,formattedDate:e.formattedDate,Phase1Date:e.Phase1Date}):""},this.expiredMessage=function(e){return e.isexpired?n.expiredMessageTemplate({isexpired:e.isexpired,messageClass:e.messageClass,message:e.message}):e.isexpired},this.messageAction=function(e){for(var t=["proceed"],i="",r=e.actions.length,s=0;s<r;s++){var a=e.actions[s].Name;if(a!==undefined){var l=a.toLowerCase(),c="action",u=!1;if(o.h(l,t)&&(u=!0),"undefined"!=typeof e.cta.buttons[l]&&null!==e.cta.buttons[l]){e.actionClass[l]!==undefined&&(c=e.actionClass[l]);var d={"class":c,id:e.actionId,messageId:e.id,actionId:e.actions[s].Id,actionKey:e.cta.buttons[l].label,action:e.cta.buttons[l].action,source:e.src,acknowledge:u};i+=n.actionTemplate(d)}}}return i},this.messageTitle=function(e){return n.titleTemplate({title:e.title})},this.pushMessage=function(e){return n.messageTemplate({messageId:e.messageId,icon:e.icon,genericIcon:e.genericIcon,title:e.title,content:e.content,expiryDate:e.expiryDate,actions:e.actions,publishDate:e.publishDate,expirationLabel:e.expirationLabel})},this.pushTemplate=function(e){return n.bodyTemplate({title:e.title,messages:e.messages||{},dismiss:e.dismiss})},this.messageIcon=function(e){return n.iconTemplate({icon:e.icon})}}},function(e,t,n){"use strict";var o=n(0);t.a=function(){var e=!1,t={},n={};this.connect=function(i){var r=this,s=i||{},a=s.global||{},l=s.message||{};n=s.eb||{},t=s.console||{};var c=s.playerServer||{},u=s.notifServer||{};t.notify("Eventbus: "+n),t.notify("Supports WebSocket: "+r.hasWebsocket()),n.onopen=function(){var i={playerId:a.settings.playerId,productId:a.settings.productId},s={"content-type":"application/json"};t.notify("Socket Connected: trying to register the player."),t.notify("Server: "+u),t.notify("JSON: "+i),t.notify("Headers: "+s),n.publish(u,i,s),t.console(i,"Publish to Server","Published to "+u),t.notify("Player: "+i.playerId),t.console(c+a.settings.playerId,"Register to channel"),t.notify("trying to register on channel "+c+a.settings.playerId),n.registerHandler(c+a.settings.playerId,function(n,i){if(n&&(t.console(n,"Registration error"),t.notify("Error: "+n)),t.console(i,"Message Received from Server"),t.notify("Message(s) received from Push Service!"),t.notify(i.body.length),null!==i.body){e=!0,r.isConnected(),t.console(i.body,"Raw Messages");var s=l.extractMessage(i.body),c=l.productMessage(s);t.console(c,"Filtered Messages by Product","Product Type Id: "+a.settings.productTypeId),o.e(document,"pnxMessagesByProduct",{count:c.length}),l.sendMessages(c)}})},this.bindSocketClose()},this.isConnected=function(){o.e(document,"pushnx.connected",{status:e})},this.hasWebsocket=function(){return"WebSocket"in window},this.closeSocket=function(e){e.customData.close&&n&&(n.close(),t.notify("Close WebSocket!"))},this.bindSocketClose=function(){o.f(document,"pushnx.close",this.closeSocket)},this.unbindSocketClose=function(){o.g(document,"pushnx.close",this.closeSocket)}}},function(e,t,n){"use strict";var o=n(109),i=n.n(o),r=n(108),s=n.n(r),a=n(113),l=n.n(a),c=n(111),u=n.n(c),d=n(112),f=n.n(d),p=n(110),h=n.n(p),m=n(114),g=n.n(m);t.a=function(e){var t={body:e.template.body||!1,action:e.template.action||!1,message:e.template.message||!1,title:e.template.title||!1,expirationDate:e.template.expirationDate||!1,expiredMessage:e.template.expiredMessage||!1,dismissAllMessage:e.template.dismissAllMessage||!1,icon:e.icon||!1};this.bodyTemplate=function(e){return t.body?t.body(e):i()(e)},this.actionTemplate=function(e){return t.action?t.action(e):s()(e)},this.messageTemplate=function(e){return t.message?t.message(e):l()(e)},this.titleTemplate=function(e){return t.title?t.title(e):g()(e)},this.expirationDateTemplate=function(e){return t.expirationDate?t.expirationDate(e):u()(e)},this.expiredMessageTemplate=function(e){return t.expiredMessage?t.expiredMessage(e):f()(e)},this.dismissAllTemplate=function(e){return t.dismissAllMessage?t.dismissAllMessage(e):h()(e)},this.iconTemplate=function(e){var n=e.icon;if(t.icon&&t.icon[n])return t.icon[n](e)}}},function(e,t,n){"use strict";t.a=function(){var e,t,n="modal-confirmation-timeout",s="Session has timeout";(function(){app&&app.settings&&app.settings.loginConfig&&app.settings.loginConfig.notification_window_title&&(s=app.settings.loginConfig.notification_window_title);e=new i.a,t=new r.a(s)})(),this.show=function(){var i=document.getElementById(n);o.f(i,"modalclose",function(e){var n=e||window.event,o=n.target||n.srcElement;o===i&&t.stop()}),e.show(n),t.start()}};var o=n(0),i=n(13),r=n(100)},function(e,t,n){"use strict";t.a=function(e,t){var n,s,a=this,l="modal-session-timeout";function c(e){var i=e||window.event,r=i.target||i.srcElement,s=document.getElementById(l);if(r===s){if(n.kill(),o.d(i.customData,"confirm"))return void("function"==typeof t.onConfirm&&t.onConfirm(a));"function"==typeof t.onCancel&&t.onCancel(a)}}function u(e){var i=e||window.event,r=i.target||i.srcElement;o.d(r,"modal-close")||"function"==typeof t.onCancel&&(s.hide(l),n.kill(),o.k(e),t.onCancel(a))}function d(t,n){var o=e-n;document.getElementById(l).querySelector(".count").innerHTML=o}function f(){setTimeout(function(){s.hide(l),"function"==typeof t.onTimeout&&t.onTimeout(a)},1e3)}(function(){var o={onTimeout:!1,onConfirm:function(e){console.log("Confirm"),e.hide()},onCancel:function(e){console.log("Cancel"),e.hide()}};for(var a in t=t||{},o)t[a]===undefined&&(t[a]=o[a]);n=new i.a(e,{onCount:d,onStop:f}),s=new r.a})(),p=document.getElementById(l),o.f(p,"modalclose",c),p&&o.f(p.querySelector(".modal-body"),"click",u),this.show=function(){try{document.getElementById(l).querySelector(".count").innerHTML=e}catch(t){}s.show(l),n.start()},this.hide=function(){s.hide(l),n.kill()};var p};var o=n(0),i=n(47),r=n(13)},function(e,t,n){"use strict";t.a=function(e){var t=document.body;o.f(window,"load",function(){n(),i()});var n=function(){var e=t.querySelectorAll("[data-tooltip]");o.p(e,function(e){var t=document.createElement("span");t.innerText=e.getAttribute("data-tooltip"),o.D(e,t)})},i=function(){o.f(t,"click",function(e){var t=(e=e||window.event).target||e.srcElement;if(o.E(t,"data-tooltip")){var n=t.querySelector("span");o.d(n,"show")?r():(r(),o.b(n,"show"))}else o.d(t,"show")||r()})},r=function(){var e=t.querySelectorAll("[data-tooltip]>span");o.p(e,function(e){o.c(e,"show")})}};var o=n(0)},function(e,t,n){"use strict";t.a=function(e,t){var n,o=this,i=document.title,r=0;t=t||500,this.start=function(s){n=setInterval(function(){void 0!==s&&r>=1e3*s?o.stop():(r+=t,document.title=document.title===i?e:i)},t)},this.stop=function(){clearInterval(n),r=0,document.title=i}}},function(e,t,n){"use strict";function o(e){this.options=e}o.prototype={execute:function(e,t){e=e||[];var n=function(o){if(o<e.length){var i=e[o](t);(i=Promise.resolve(i)).then(function(){n(o+1)}),i["catch"](function(){n(o+1)})}};n(0)},executeWithArgs:function(e,t){e=e||[];var n=function(o){if(o<e.length){var i=e[o].apply(null,t);(i=Promise.resolve(i)).then(function(){n(o+1)}),i["catch"](function(){n(o+1)})}};n(0)}},t.a=o},function(e,t,n){"use strict";var o=n(0),i=n(48),r=n(6),s=n.n(r),a=n(103);function l(e){var t,r=null,l="webrtcWindow",c=null,u="",d=!1,f=!1,p={apiUrl:e.url_post,validity:e.validity_time,nonce:e.jwt_token||!1,timeout:e.url_post_timout||5e3,onSuccess:function(t){h(o.s(e.base_url,"s",t))},onFail:function(t){h(e.base_url)}};function h(e){try{var t=e;if("about:blank"===c.location.href||e!==u||c.closed){if(d)t=-1!==e.indexOf("?")?e+"&"+d:e+"?"+d;f&&(t=t.replace("mc-desktop",f)),u=e,c.location.replace(t)}else c.focus()}catch(n){c&&c.focus()}}function m(a){var u,m=a||window.event,g=m.target||m.srcElement;if("A"!==g.tagName&&null!==g.parentNode&&"A"===g.parentNode.tagName&&(g=g.parentNode),g.href!==undefined&&Boolean(e.web_rtc_url)&&g.href.includes(e.web_rtc_url)){m.preventDefault(),t=g.href,d=g.getAttribute("data-parameters")||!1,f=g.getAttribute("data-src")||!1;var v=o.m("target",g.href);if("_self"===v)c=window;else if("_blank"===v)c=window.open("","_blank");else{var y=o.m("title",g.href);y=y||g.getAttribute("data-popup-title")||l;var b=function(e){var t={width:360,height:720,scrollbars:1,scrollable:1,resizable:1},n={};for(var i in t){var r=o.m(i,e.href)||e.getAttribute("data-popup-"+i)||t[i];n[i]=r}return n}(g);try{c&&!c.closed&&"about:blank"!==c.location.href?c.focus():c=n.i(i.a)("",y,b)}catch(w){c&&c.focus()}}u=function(e){return r.getCallToken(g),!1},s()({url:o.n("ajax/avaya/jwt"),type:"json",method:"get",contentType:"text/plain",crossOrigin:!0,timeout:p.timeout}).then(function(e){r.clearStorageData(),r.setToken(e.jwt),r.setOnSuccess(function(n){var i=t;e.vipLevel&&(i=o.s(t,"level",e.vipLevel)),h(o.s(i,"s",n))}),r.setOnFail(function(e){h(t)}),u(e)}).fail(function(e,t){})}}return this.init=function(){r=new a.a(p);var e=o.t();o.f(document,e,m)},this}o.a(function(){app.settings.liveChatConfig!==undefined&&(app.settings.liveChatConfig.avaya!==undefined&&new l(app.settings.liveChatConfig.avaya).init())})},function(e,t,n){"use strict";t.a=function(e){var t=this,n=new r.a,o=0,a="webrtc.storage",l={expires:0,token:""};function c(n,o){"function"==typeof e[n]&&e[n].apply(t,o)}return function(){var t={apiUrl:e.apiUrl,validity:1800,timeout:5e3,nonce:!1,preFetch:!1,postFetch:!1,onSuccess:!1,onFail:!1};for(var o in e=e||{},t)e[o]===undefined&&(e[o]=t[o]);n.remove(a)}(),this.clearStorageData=function(){l={expires:0,token:""}},this.setToken=function(t){e.nonce=t},this.setOnSuccess=function(t){e.onSuccess=t},this.setOnFail=function(t){e.onFail=t},this.getCallToken=function(r){var u,d,f;return t.targetElement=r,1===o?(s.a.log("Still fetching token"),!1):!1===e.nonce?(s.a.log("Invalid/No nonce"),n.remove(a),c("onFail",["invalid nonce"]),!1):(c("preFetch",[]),!1!==(d=l,f=(new Date).getTime(),window.JSON!==undefined&&(d=window.JSON.parse(n.get(a))||d),u=f>=d.expires?(n.remove(a),!1):d.token)?(s.a.log("Token not expired: "+u),c("onSuccess",[u]),o=0,!1):(o=1,void i()({url:e.apiUrl,type:"json",method:"post",contentType:"text/plain",crossOrigin:!0,timeout:e.timeout,data:e.nonce}).then(function(t){if(t.s===undefined)return s.a.log("Fetch token connected success, but no token value"),void c("onFail",["empty token"]);var o;s.a.log("Fetching token successful. Token: "+t.s),c("onSuccess",[t.s]),o=t.s,l={expires:1e3*e.validity,token:o},window.JSON!==undefined&&n.set(a,window.JSON.stringify(l))}).fail(function(e,t){s.a.log("Fetch token failed"),c("onFail",[e,t])}).always(function(e){o=0,s.a.log("Fetch token completed"),c("postFetch",[e])})))},this};var o=n(6),i=n.n(o),r=n(8),s=n(16)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(41),n(53),n(56),n(55),n(57);var o=n(52),i=n(54);n(58),n.i(o.a)(),new i.a},function(e,t,n){var o=n(2);e.exports=(o["default"]||o).template({1:function(e,t,n,o,i,r){var s,a=e.lambda;return'        <div class="dcoin-popup-content">\n            <p class="popup-content-title">'+e.escapeExpression(a(null!=(s=r[0][0])?s.title:s,t))+"</p>\n            "+(null!=(s=a(null!=(s=r[0][0])?s.content:s,t))?s:"")+"\n        </div>\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,o,i,r){var s,a,l=null!=t?t:e.nullContext||{};return'<div id="dcoinpopup">\n    <h2 class="dcoin-popup-title">'+e.escapeExpression("function"==typeof(a=null!=(a=n.popupTitle||(null!=t?t.popupTitle:t))?a:n.helperMissing)?a.call(l,{name:"popupTitle",hash:{},data:i,blockParams:r}):a)+'</h2>\n    <svg viewBox="0 0 70.24 70.24" class="modal-close modal-close-button">\n        <rect class="modal-close" />\n        <path class="modal-close"\n            d="M39.53 35.12L53 21.17a3.18 3.18 0 0 0-.09-4.49 3.18 3.18 0 0 0-4.49.09l-13.3 13.78-13.26-13.78a3.18 3.18 0 0 0-4.49-.09 3.18 3.18 0 0 0-.08 4.49l13.43 13.95-13.43 14a3.17 3.17 0 1 0 4.57 4.4L35.12 39.7l13.26 13.77a3.18 3.18 0 0 0 4.49.09 3.18 3.18 0 0 0 .13-4.49z" />\n    </svg>\n    <div id="dcoin-popup-slider">\n'+(null!=(s=n.each.call(l,null!=t?t.slides:t,{name:"each",hash:{},fn:e.program(1,i,2,r),inverse:e.noop,data:i,blockParams:r}))?s:"")+"    </div>\n</div>\n\n"},useData:!0,useBlockParams:!0})},function(e,t,n){var o=n(2);function i(e){return e&&(e.__esModule?e["default"]:e)}e.exports=(o["default"]||o).template({1:function(e,t,o,r,s,a){var l;return null!=(l=i(n(3)).call(null!=t?t:e.nullContext||{},null!=(l=null!=(l=null!=(l=a[0][0])?l.field_platform:l)?l[0]:l)?l.value:l,"===","desktop",{name:"condition",hash:{},fn:e.program(2,s,0,a),inverse:e.noop,data:s,blockParams:a}))?l:""},2:function(e,t,o,r,s,a){var l,c=null!=t?t:e.nullContext||{};return(null!=(l=i(n(3)).call(c,null!=(l=null!=(l=null!=(l=a[1][0])?l.field_floating_banner_type:l)?l[0]:l)?l.value:l,"===","left",{name:"condition",hash:{},fn:e.program(3,s,0,a),inverse:e.noop,data:s,blockParams:a}))?l:"")+(null!=(l=i(n(3)).call(c,null!=(l=null!=(l=null!=(l=a[1][0])?l.field_floating_banner_type:l)?l[0]:l)?l.value:l,"===","right",{name:"condition",hash:{},fn:e.program(6,s,0,a),inverse:e.noop,data:s,blockParams:a}))?l:"")},3:function(e,t,n,o,i,r){var s;return null!=(s=n["if"].call(null!=t?t:e.nullContext||{},null!=(s=r[2][0])?s.field_banner_item:s,{name:"if",hash:{},fn:e.program(4,i,0,r),inverse:e.noop,data:i,blockParams:r}))?s:""},4:function(e,t,n,o,i,r){var s;return'                                        <span class="downloads-banner-title">'+e.escapeExpression(e.lambda(null!=(s=null!=(s=null!=(s=r[3][0])?s.field_link_text:s)?s[0]:s)?s.value:s,t))+"&nbsp;</span>\n"},6:function(e,t,n,o,i,r){var s;return null!=(s=n["if"].call(null!=t?t:e.nullContext||{},null!=(s=r[2][0])?s.field_banner_item:s,{name:"if",hash:{},fn:e.program(7,i,0,r),inverse:e.noop,data:i,blockParams:r}))?s:""},7:function(e,t,n,o,i,r){var s;return'                                        <span class="downloads-banner-title">&nbsp;'+e.escapeExpression(e.lambda(null!=(s=null!=(s=null!=(s=r[3][0])?s.field_link_text:s)?s[0]:s)?s.value:s,t))+"</span>\n"},9:function(e,t,o,r,s,a,l){var c;return null!=(c=i(n(3)).call(null!=t?t:e.nullContext||{},null!=(c=null!=(c=null!=(c=a[0][0])?c.field_platform:c)?c[0]:c)?c.value:c,"===","desktop",{name:"condition",hash:{},fn:e.program(10,s,0,a,l),inverse:e.noop,data:s,blockParams:a}))?c:""},10:function(e,t,o,r,s,a,l){var c,u=null!=t?t:e.nullContext||{};return(null!=(c=i(n(3)).call(u,null!=(c=null!=(c=null!=(c=a[1][0])?c.field_floating_banner_type:c)?c[0]:c)?c.value:c,"===","left",{name:"condition",hash:{},fn:e.program(11,s,0,a,l),inverse:e.noop,data:s,blockParams:a}))?c:"")+(null!=(c=i(n(3)).call(u,null!=(c=null!=(c=null!=(c=a[1][0])?c.field_floating_banner_type:c)?c[0]:c)?c.value:c,"===","right",{name:"condition",hash:{},fn:e.program(22,s,0,a,l),inverse:e.noop,data:s,blockParams:a}))?c:"")},11:function(e,t,n,o,i,r){var s;return null!=(s=n["if"].call(null!=t?t:e.nullContext||{},null!=(s=r[2][0])?s.field_banner_item:s,{name:"if",hash:{},fn:e.program(12,i,0,r),inverse:e.noop,data:i,blockParams:r}))?s:""},12:function(e,t,n,o,i,r){var s,a=e.lambda,l=e.escapeExpression;return'                                    <div class="floating-banner-lightbox-content-downloads floating-banner-item"\n                                            data-device-platform="'+l(a(null!=(s=null!=(s=null!=(s=r[3][0])?s.field_platform:s)?s[0]:s)?s.value:s,t))+'"\n                                            data-device-os="'+l(a(null!=(s=null!=(s=null!=(s=r[3][0])?s.field_platform:s)?s[0]:s)?s.value:s,t))+'">\n'+(null!=(s=n.each.call(null!=t?t:e.nullContext||{},null!=(s=r[3][0])?s.field_banner_item:s,{name:"each",hash:{},fn:e.program(13,i,1,r),inverse:e.noop,data:i,blockParams:r}))?s:"")+"                                    </div>\n"},13:function(e,t,o,r,s,a){var l,c=null!=t?t:e.nullContext||{},u=e.lambda,d=e.escapeExpression;return"                                            <a "+(null!=(l=o["if"].call(c,null!=(l=null!=(l=null!=(l=a[0][0])?l.field_lightbox_content:l)?l[0]:l)?l.value:l,{name:"if",hash:{},fn:e.program(14,s,0,a),inverse:e.program(16,s,0,a),data:s,blockParams:a}))?l:"")+(null!=(l=o["if"].call(c,null!=(l=null!=(l=null!=(l=a[0][0])?l.field_link_target:l)?l[0]:l)?l.value:l,{name:"if",hash:{},fn:e.program(18,s,0,a),inverse:e.noop,data:s,blockParams:a}))?l:"")+"                                                "+(null!=(l=i(n(3)).call(c,null!=(l=null!=(l=null!=(l=a[0][0])?l.field_link_target:l)?l[0]:l)?l.value:l,"===","window",{name:"condition",hash:{},fn:e.program(20,s,0,a),inverse:e.noop,data:s,blockParams:a}))?l:"")+'>\n                                                <span class="download-item-product-icon-wrapper">\n                                                    <svg viewbox="0 0 20 20">\n                                                        <use xlink:href="#'+d(u(null!=(l=null!=(l=null!=(l=a[0][0])?l.field_link_class:l)?l[0]:l)?l.value:l,t))+'" />\n                                                    </svg>\n                                                </span>\n                                                <span class="download-item-title">'+d(u(null!=(l=null!=(l=null!=(l=a[0][0])?l.field_button_text:l)?l[0]:l)?l.value:l,t))+'</span>\n                                                <span class="download-icon-wrapper">\n                                                    <svg viewbox="0 0 20 20">\n                                                        <use xlink:href="#download" />\n                                                    </svg>\n                                                </span>\n                                            </a>\n'},14:function(e,t,n,o,i,r){var s,a=e.lambda,l=e.escapeExpression;return'\n                                                    href="#floating-banner-'+l(a(null!=(s=null!=(s=null!=(s=r[5][0])?s.field_floating_banner_type:s)?s[0]:s)?s.value:s,t))+"-lightbox--"+l(a(i&&i.index,t))+'"\n                                                    class="download-item modal-trigger"\n'},16:function(e,t,n,o,i,r){var s;return'                                                    href="'+e.escapeExpression(e.lambda(null!=(s=null!=(s=null!=(s=r[1][0])?s.field_link:s)?s[0]:s)?s.uri:s,t))+'"\n                                                    class="download-item"\n'},18:function(e,t,n,o,i,r){var s;return"                                                    target="+e.escapeExpression(e.lambda(null!=(s=null!=(s=null!=(s=r[1][0])?s.field_link_target:s)?s[0]:s)?s.value:s,t))+"\n"},20:function(e,t,n,o,i){return' data-popup="true" '},22:function(e,t,n,o,i,r,s){var a;return null!=(a=n["if"].call(null!=t?t:e.nullContext||{},null!=(a=r[2][0])?a.field_banner_item:a,{name:"if",hash:{},fn:e.program(23,i,0,r,s),inverse:e.noop,data:i,blockParams:r}))?a:""},23:function(e,t,n,o,i,r,s){var a;return'                                    <div class="floating-banner-lightbox-content-help-center">\n'+(null!=(a=n.each.call(null!=t?t:e.nullContext||{},null!=(a=r[3][0])?a.field_banner_item:a,{name:"each",hash:{},fn:e.program(24,i,1,r,s),inverse:e.noop,data:i,blockParams:r}))?a:"")+"                                    </div>\n"},24:function(e,t,n,o,i,r,s){var a;return null!=(a=n["if"].call(null!=t?t:e.nullContext||{},null!=(a=r[0][0])?a.field_link:a,{name:"if",hash:{},fn:e.program(25,i,0,r,s),inverse:e.program(28,i,0,r,s),data:i,blockParams:r}))?a:""},25:function(e,t,o,r,s,a,l){var c,u=e.lambda,d=e.escapeExpression,f=null!=t?t:e.nullContext||{};return'                                                <a href="'+d(u(null!=(c=null!=(c=null!=(c=a[1][0])?c.field_link:c)?c[0]:c)?c.uri:c,t))+'"\n'+(null!=(c=o["if"].call(f,null!=(c=null!=(c=null!=(c=a[1][0])?c.field_link_target:c)?c[0]:c)?c.value:c,{name:"if",hash:{},fn:e.program(26,s,0,a,l),inverse:e.noop,data:s,blockParams:a}))?c:"")+'                                                        class="help-center-item webrtc-'+d(u(null!=(c=null!=(c=null!=(c=a[1][0])?c.field_link_class:c)?c[0]:c)?c.value:c,t))+'"\n                                                    '+(null!=(c=i(n(3)).call(f,null!=(c=null!=(c=null!=(c=a[1][0])?c.field_link_target:c)?c[0]:c)?c.value:c,"===","window",{name:"condition",hash:{},fn:e.program(20,s,0,a,l),inverse:e.noop,data:s,blockParams:a}))?c:"")+'\n                                                        data-device-platform="'+d(u(null!=(c=null!=(c=null!=(c=null!=l[1]?l[1].item:l[1])?c.field_platform:c)?c[0]:c)?c.value:c,t))+'"\n                                                        data-device-os="'+d(u(null!=(c=null!=(c=null!=(c=null!=l[1]?l[1].item:l[1])?c.field_platform:c)?c[0]:c)?c.value:c,t))+'">\n                                                    <svg viewbox="0 0 20 20">\n                                                        <use xlink:href="#'+d(u(null!=(c=null!=(c=null!=(c=a[1][0])?c.field_link_class:c)?c[0]:c)?c.value:c,t))+'" />\n                                                    </svg>\n                                                    <span>\n                                                        '+d(u(null!=(c=null!=(c=null!=(c=a[1][0])?c.field_button_text:c)?c[0]:c)?c.value:c,t))+"\n                                                    </span>\n                                                </a>\n"},26:function(e,t,n,o,i,r){var s;return"                                                        target="+e.escapeExpression(e.lambda(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_link_target:s)?s[0]:s)?s.value:s,t))+"\n"},28:function(e,t,n,o,i,r){var s,a=e.lambda,l=e.escapeExpression;return'                                                <div class="help-center-item">\n                                                    <svg viewbox="0 0 20 20">\n                                                        <use xlink:href="#'+l(a(null!=(s=null!=(s=null!=(s=r[1][0])?s.field_link_class:s)?s[0]:s)?s.value:s,t))+'" />\n                                                    </svg>\n                                                    <span>'+l(a(null!=(s=null!=(s=null!=(s=r[1][0])?s.field_button_text:s)?s[0]:s)?s.value:s,t))+"</span>\n                                                </div>\n"},30:function(e,t,n,o,i,r){var s;return null!=(s=n["if"].call(null!=t?t:e.nullContext||{},null!=(s=r[0][0])?s.field_banner_item:s,{name:"if",hash:{},fn:e.program(31,i,0,r),inverse:e.noop,data:i,blockParams:r}))?s:""},31:function(e,t,n,o,i,r){var s;return null!=(s=n.each.call(null!=t?t:e.nullContext||{},null!=(s=r[1][0])?s.field_banner_item:s,{name:"each",hash:{},fn:e.program(32,i,1,r),inverse:e.noop,data:i,blockParams:r}))?s:""},32:function(e,t,n,o,i,r){var s;return null!=(s=n["if"].call(null!=t?t:e.nullContext||{},null!=(s=null!=(s=null!=(s=r[0][0])?s.field_lightbox_content:s)?s[0]:s)?s.value:s,{name:"if",hash:{},fn:e.program(33,i,0,r),inverse:e.noop,data:i,blockParams:r}))?s:""},33:function(e,t,n,o,i,r){var s,a=e.lambda,l=e.escapeExpression;return'                <div\n                    id="floating-banner-'+l(a(null!=(s=null!=(s=null!=(s=r[3][0])?s.field_floating_banner_type:s)?s[0]:s)?s.value:s,t))+"-lightbox--"+l(a(i&&i.index,t))+'"\n                    class="modal modal-inner floating-banner-'+l(a(null!=(s=null!=(s=null!=(s=r[3][0])?s.field_floating_banner_type:s)?s[0]:s)?s.value:s,t))+'-lightbox"\n                >\n                    <div class="modal-overlay"></div>\n                    <div class="modal-content">\n'+(null!=(s=n["if"].call(null!=t?t:e.nullContext||{},null!=(s=null!=(s=null!=(s=r[1][0])?s.field_lightbox_title:s)?s[0]:s)?s.value:s,{name:"if",hash:{},fn:e.program(34,i,0,r),inverse:e.noop,data:i,blockParams:r}))?s:"")+'                        <div class="modal-body">\n                            '+(null!=(s=a(null!=(s=null!=(s=null!=(s=r[1][0])?s.field_lightbox_content:s)?s[0]:s)?s.value:s,t))?s:"")+'\n                        </div>\n                        <a href="#" class="modal-close modal-close-button lazy-load" data-src="'+l(a((s=(s=i&&i.root)&&s.data)&&s.sprites,t))+'"></a>\n                    </div>\n                </div>\n'},34:function(e,t,n,o,i,r){var s;return'                            <div class="modal-header">'+e.escapeExpression(e.lambda(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_lightbox_title:s)?s[0]:s)?s.value:s,t))+"</div>\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,o,i,r,s){var a,l=null!=t?t:e.nullContext||{};return'\n<div id="floatingBannerLightbox" class="modal modal-outer floating-banner--lightbox">\n    <div class="modal-overlay"></div>\n\t<div class="modal-content">\n\t\t<div class="modal-body">\n\t\t\t<div class="floating-banner-lightbox--container scrollbot hidden"></div>\n\t\t\t<div class="floating-banner-lightbox-container">\n                <a href="#" class="modal-close modal-close-button">\n                    <svg viewBox="0 0 29.232 29.232">\n                        <use xlink:href="#close" />\n                    </svg>\n                </a>\n                <div class="floating-banner-lightbox-title">\n                    <h1>\n'+(null!=(a=n.each.call(l,null!=(a=null!=t?t.data:t)?a.items:a,{name:"each",hash:{},fn:e.program(1,i,1,r,s),inverse:e.noop,data:i,blockParams:r}))?a:"")+'                    </h1>\n                    <hr />\n                </div>\n                <div class="floating-banner-lightbox-content">\n'+(null!=(a=n.each.call(l,null!=(a=null!=t?t.data:t)?a.items:a,{name:"each",hash:{},fn:e.program(9,i,1,r,s),inverse:e.noop,data:i,blockParams:r}))?a:"")+"                </div>\n            </div>\n\t\t</div>\n\t</div>\n</div>\n"+(null!=(a=n.each.call(l,null!=(a=null!=t?t.data:t)?a.items:a,{name:"each",hash:{},fn:e.program(30,i,1,r,s),inverse:e.noop,data:i,blockParams:r}))?a:"")},useData:!0,useDepths:!0,useBlockParams:!0})},function(e,t,n){var o=n(2);function i(e){return e&&(e.__esModule?e["default"]:e)}e.exports=(o["default"]||o).template({1:function(e,t,o,r,s,a,l){var c,u=e.lambda,d=e.escapeExpression,f=null!=t?t:e.nullContext||{};return'<div\n    class="floating-banner floating-banner--'+d(u(null!=(c=null!=(c=null!=(c=a[0][0])?c.field_floating_banner_type:c)?c[0]:c)?c.value:c,t))+" floating-banner--lang-"+d(u(null!=l[1]?l[1].lang:l[1],t))+'"\n    data-device-platform="'+d(u(null!=(c=null!=(c=null!=(c=a[0][0])?c.field_platform:c)?c[0]:c)?c.value:c,t))+'"\n    data-device-os="'+d(u(null!=(c=null!=(c=null!=(c=a[0][0])?c.field_os_excluded:c)?c[0]:c)?c.value:c,t))+'"\n>\n\n'+(null!=(c=i(n(3)).call(f,null!=(c=null!=(c=null!=(c=a[0][0])?c.field_floating_banner_type:c)?c[0]:c)?c.value:c,"===","right",{name:"condition",hash:{},fn:e.program(2,s,0,a,l),inverse:e.noop,data:s,blockParams:a}))?c:"")+"\n"+(null!=(c=o["if"].call(f,null!=(c=a[0][0])?c.field_banner_item:c,{name:"if",hash:{},fn:e.program(9,s,0,a,l),inverse:e.noop,data:s,blockParams:a}))?c:"")+"\n"+(null!=(c=i(n(3)).call(f,null!=(c=null!=(c=null!=(c=a[0][0])?c.field_floating_banner_type:c)?c[0]:c)?c.value:c,"===","left",{name:"condition",hash:{},fn:e.program(24,s,0,a,l),inverse:e.noop,data:s,blockParams:a}))?c:"")+"</div>\n"},2:function(e,t,n,o,i,r){var s,a=e.lambda,l=e.escapeExpression,c=null!=t?t:e.nullContext||{};return'        <div class="floating-banner--title-wrapper floating-banner--align__'+l(a(null!=(s=null!=(s=null!=(s=r[1][0])?s.field_title_layout:s)?s[0]:s)?s.value:s,t))+(null!=(s=n["if"].call(c,null!=(s=r[1][0])?s.field_link:s,{name:"if",hash:{},fn:e.program(3,i,0,r),inverse:e.noop,data:i,blockParams:r}))?s:"")+'">\n            <div class="floating-banner--icon">\n                <img\n                    data-src="'+l(a(null!=(s=null!=(s=null!=(s=r[1][0])?s.field_image:s)?s[0]:s)?s.url:s,t))+'"\n                    alt="'+l(a(null!=(s=null!=(s=null!=(s=r[1][0])?s.field_image:s)?s[0]:s)?s.alt:s,t))+'"\n                    class="lazy-load"\n                >\n            </div>\n\n'+(null!=(s=n["if"].call(c,null!=(s=r[1][0])?s.field_link:s,{name:"if",hash:{},fn:e.program(5,i,0,r),inverse:e.program(7,i,0,r),data:i,blockParams:r}))?s:"")+"        </div>\n"},3:function(e,t,n,o,i){return" with-link"},5:function(e,t,n,o,i,r){var s,a=e.lambda,l=e.escapeExpression;return'                <a href="'+l(a(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_link:s)?s[0]:s)?s.value:s,t))+'"\n                    target="'+l(a(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_link_target:s)?s[0]:s)?s.value:s,t))+'"\n                    class="floating-banner--title"\n                >\n                    '+l(a(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_link_text:s)?s[0]:s)?s.value:s,t))+"\n                </a>\n"},7:function(e,t,n,o,i,r){var s;return'                <span class="floating-banner--title">'+e.escapeExpression(e.lambda(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_link_text:s)?s[0]:s)?s.value:s,t))+"</span>\n"},9:function(e,t,n,o,i,r){var s;return'        <div class="floating-banner--items">\n            <ul class="banner-list">\n'+(null!=(s=n.each.call(null!=t?t:e.nullContext||{},null!=(s=r[1][0])?s.field_banner_item:s,{name:"each",hash:{},fn:e.program(10,i,1,r),inverse:e.noop,data:i,blockParams:r}))?s:"")+"            </ul>\n        </div>\n"},10:function(e,t,n,o,i,r){var s;return'                    <li class="banner-list--items">\n\n'+(null!=(s=n["if"].call(null!=t?t:e.nullContext||{},null!=(s=null!=(s=null!=(s=r[0][0])?s.field_link:s)?s[0]:s)?s.uri:s,{name:"if",hash:{},fn:e.program(11,i,0,r),inverse:e.program(16,i,0,r),data:i,blockParams:r}))?s:"")+"                    </li>\n\n"},11:function(e,t,o,r,s,a){var l,c=e.lambda,u=e.escapeExpression,d=null!=t?t:e.nullContext||{};return"                            <a\n                                href="+u(c(null!=(l=null!=(l=null!=(l=a[1][0])?l.field_link:l)?l[0]:l)?l.uri:l,t))+"\n\n"+(null!=(l=o["if"].call(d,null!=(l=null!=(l=null!=(l=a[1][0])?l.field_link_target:l)?l[0]:l)?l.value:l,{name:"if",hash:{},fn:e.program(12,s,0,a),inverse:e.noop,data:s,blockParams:a}))?l:"")+"\n"+(null!=(l=i(n(3)).call(d,null!=(l=null!=(l=null!=(l=a[1][0])?l.field_link_target:l)?l[0]:l)?l.value:l,"===","window",{name:"condition",hash:{},fn:e.program(14,s,0,a),inverse:e.noop,data:s,blockParams:a}))?l:"")+'\n                                class="banner-list--content webrtc-'+u(c(null!=(l=null!=(l=null!=(l=a[1][0])?l.field_link_class:l)?l[0]:l)?l.value:l,t))+'"\n                            >\n                                <span class="banner-list--content-icon">\n                                    <span class="icon-'+u(c(null!=(l=null!=(l=null!=(l=a[1][0])?l.field_link_class:l)?l[0]:l)?l.value:l,t))+' lazy-load" data-src="'+u(c((l=(l=s&&s.root)&&l.data)&&l.sprites,t))+'">\n                                    </span>\n                                </span>\n                                <span class="banner-list--content-text">'+u(c(null!=(l=null!=(l=null!=(l=a[1][0])?l.field_button_text:l)?l[0]:l)?l.value:l,t))+"</span>\n                            </a>\n"},12:function(e,t,n,o,i,r){var s;return"                                    target="+e.escapeExpression(e.lambda(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_link_target:s)?s[0]:s)?s.value:s,t))+"\n"},14:function(e,t,n,o,i){return'                                    data-popup="true"\n'},16:function(e,t,n,o,i,r){var s;return null!=(s=n["if"].call(null!=t?t:e.nullContext||{},null!=(s=null!=(s=null!=(s=r[1][0])?s.field_lightbox_content:s)?s[0]:s)?s.value:s,{name:"if",hash:{},fn:e.program(17,i,0,r),inverse:e.program(22,i,0,r),data:i,blockParams:r}))?s:""},17:function(e,t,o,r,s,a){var l,c=e.lambda,u=e.escapeExpression,d=null!=t?t:e.nullContext||{};return'                                <a\n                                    href="#floating-banner-'+u(c(null!=(l=null!=(l=null!=(l=a[4][0])?l.field_floating_banner_type:l)?l[0]:l)?l.value:l,t))+"-lightbox--"+u(c(s&&s.index,t))+'"\n\n'+(null!=(l=o["if"].call(d,null!=(l=null!=(l=null!=(l=a[2][0])?l.field_link_target:l)?l[0]:l)?l.value:l,{name:"if",hash:{},fn:e.program(18,s,0,a),inverse:e.noop,data:s,blockParams:a}))?l:"")+"\n"+(null!=(l=i(n(3)).call(d,null!=(l=null!=(l=null!=(l=a[2][0])?l.field_link_target:l)?l[0]:l)?l.value:l,"===","window",{name:"condition",hash:{},fn:e.program(20,s,0,a),inverse:e.noop,data:s,blockParams:a}))?l:"")+'\n                                    class="banner-list--content modal-trigger"\n                                >\n                                    <span class="banner-list--content-icon">\n                                        <span class="icon-'+u(c(null!=(l=null!=(l=null!=(l=a[2][0])?l.field_link_class:l)?l[0]:l)?l.value:l,t))+' lazy-load" data-src="'+u(c((l=(l=s&&s.root)&&l.data)&&l.sprites,t))+'">\n                                        </span>\n                                    </span>\n                                    <span class="banner-list--content-text">'+u(c(null!=(l=null!=(l=null!=(l=a[2][0])?l.field_button_text:l)?l[0]:l)?l.value:l,t))+"</span>\n                                </a>\n"},18:function(e,t,n,o,i,r){var s;return"                                        target="+e.escapeExpression(e.lambda(null!=(s=null!=(s=null!=(s=r[3][0])?s.field_link_target:s)?s[0]:s)?s.value:s,t))+"\n"},20:function(e,t,n,o,i){return'                                        data-popup="true"\n'},22:function(e,t,n,o,i,r){var s,a=e.lambda,l=e.escapeExpression;return'                                <span class="banner-list--content">\n                                    <span class="banner-list--content-icon">\n                                        <span class="icon-'+l(a(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_link_class:s)?s[0]:s)?s.value:s,t))+' lazy-load" data-src="'+l(a((s=(s=i&&i.root)&&s.data)&&s.sprites,t))+'">\n                                        </span>\n                                    </span>\n                                    <span class="banner-list--content-text">'+l(a(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_button_text:s)?s[0]:s)?s.value:s,t))+"</span>\n                                </span>\n"},24:function(e,t,n,o,i,r){var s,a=e.lambda,l=e.escapeExpression,c=null!=t?t:e.nullContext||{};return'        <div class="floating-banner--title-wrapper floating-banner--align__'+l(a(null!=(s=null!=(s=null!=(s=r[1][0])?s.field_title_layout:s)?s[0]:s)?s.value:s,t))+(null!=(s=n["if"].call(c,null!=(s=r[1][0])?s.field_link:s,{name:"if",hash:{},fn:e.program(3,i,0,r),inverse:e.noop,data:i,blockParams:r}))?s:"")+'">\n            <div class="floating-banner--icon">\n                <img\n                    data-src="'+l(a(null!=(s=null!=(s=null!=(s=r[1][0])?s.field_image:s)?s[0]:s)?s.url:s,t))+'"\n                    alt="'+l(a(null!=(s=null!=(s=null!=(s=r[1][0])?s.field_image:s)?s[0]:s)?s.alt:s,t))+'"\n                    class="lazy-load"\n                >\n            </div>\n\n'+(null!=(s=n["if"].call(c,null!=(s=r[1][0])?s.field_link:s,{name:"if",hash:{},fn:e.program(25,i,0,r),inverse:e.program(27,i,0,r),data:i,blockParams:r}))?s:"")+"        </div>\n"},25:function(e,t,n,o,i,r){var s,a=e.lambda,l=e.escapeExpression;return'            <a href="'+l(a(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_link:s)?s[0]:s)?s.value:s,t))+'" target="'+l(a(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_link_target:s)?s[0]:s)?s.value:s,t))+'" class="floating-banner--title">\n                '+l(a(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_link_text:s)?s[0]:s)?s.value:s,t))+"\n            </a>\n"},27:function(e,t,n,o,i,r){var s;return'            <span class="floating-banner--title">'+e.escapeExpression(e.lambda(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_link_text:s)?s[0]:s)?s.value:s,t))+"</span>\n"},29:function(e,t,n,o,i,r){var s;return null!=(s=n["if"].call(null!=t?t:e.nullContext||{},null!=(s=r[0][0])?s.field_banner_item:s,{name:"if",hash:{},fn:e.program(30,i,0,r),inverse:e.noop,data:i,blockParams:r}))?s:""},30:function(e,t,n,o,i,r){var s;return null!=(s=n.each.call(null!=t?t:e.nullContext||{},null!=(s=r[1][0])?s.field_banner_item:s,{name:"each",hash:{},fn:e.program(31,i,1,r),inverse:e.noop,data:i,blockParams:r}))?s:""},31:function(e,t,n,o,i,r){var s;return null!=(s=n["if"].call(null!=t?t:e.nullContext||{},null!=(s=null!=(s=null!=(s=r[0][0])?s.field_lightbox_content:s)?s[0]:s)?s.value:s,{name:"if",hash:{},fn:e.program(32,i,0,r),inverse:e.noop,data:i,blockParams:r}))?s:""},32:function(e,t,n,o,i,r){var s,a=e.lambda,l=e.escapeExpression;return'                <div\n                    id="floating-banner-'+l(a(null!=(s=null!=(s=null!=(s=r[3][0])?s.field_floating_banner_type:s)?s[0]:s)?s.value:s,t))+"-lightbox--"+l(a(i&&i.index,t))+'"\n                    class="modal modal-inner floating-banner-'+l(a(null!=(s=null!=(s=null!=(s=r[3][0])?s.field_floating_banner_type:s)?s[0]:s)?s.value:s,t))+'-lightbox"\n                >\n                    <div class="modal-overlay"></div>\n                    <div class="modal-content">\n'+(null!=(s=n["if"].call(null!=t?t:e.nullContext||{},null!=(s=null!=(s=null!=(s=r[1][0])?s.field_lightbox_title:s)?s[0]:s)?s.value:s,{name:"if",hash:{},fn:e.program(33,i,0,r),inverse:e.noop,data:i,blockParams:r}))?s:"")+'                        <div class="modal-body">\n                            '+(null!=(s=a(null!=(s=null!=(s=null!=(s=r[1][0])?s.field_lightbox_content:s)?s[0]:s)?s.value:s,t))?s:"")+'\n                        </div>\n                        <a href="#" class="modal-close modal-close-button lazy-load" data-src="'+l(a((s=(s=i&&i.root)&&s.data)&&s.sprites,t))+'"></a>\n                    </div>\n                </div>\n'},33:function(e,t,n,o,i,r){var s;return'                            <div class="modal-header">'+e.escapeExpression(e.lambda(null!=(s=null!=(s=null!=(s=r[2][0])?s.field_lightbox_title:s)?s[0]:s)?s.value:s,t))+"</div>\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,o,i,r,s){var a,l=null!=t?t:e.nullContext||{};return(null!=(a=n.each.call(l,null!=(a=null!=t?t.data:t)?a.items:a,{name:"each",hash:{},fn:e.program(1,i,1,r,s),inverse:e.noop,data:i,blockParams:r}))?a:"")+"\n"+(null!=(a=n.each.call(l,null!=(a=null!=t?t.data:t)?a.items:a,{name:"each",hash:{},fn:e.program(29,i,1,r,s),inverse:e.noop,data:i,blockParams:r}))?a:"")},useData:!0,useDepths:!0,useBlockParams:!0})},function(e,t,n){var o=n(2);e.exports=(o["default"]||o).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,o,i){var r,s=null!=t?t:e.nullContext||{},a=n.helperMissing,l="function",c=e.escapeExpression;return'<a href="#" class="'+c(typeof(r=null!=(r=n["class"]||(null!=t?t["class"]:t))?r:a)===l?r.call(s,{name:"class",hash:{},data:i}):r)+'" id="'+c(typeof(r=null!=(r=n.id||(null!=t?t.id:t))?r:a)===l?r.call(s,{name:"id",hash:{},data:i}):r)+'" data-msg-id="'+c(typeof(r=null!=(r=n.messageId||(null!=t?t.messageId:t))?r:a)===l?r.call(s,{name:"messageId",hash:{},data:i}):r)+'" data-id="'+c(typeof(r=null!=(r=n.actionId||(null!=t?t.actionId:t))?r:a)===l?r.call(s,{name:"actionId",hash:{},data:i}):r)+'" data-msg-src="'+c(typeof(r=null!=(r=n.source||(null!=t?t.source:t))?r:a)===l?r.call(s,{name:"source",hash:{},data:i}):r)+'" data-action="'+c(typeof(r=null!=(r=n.action||(null!=t?t.action:t))?r:a)===l?r.call(s,{name:"action",hash:{},data:i}):r)+'" data-default-acknowledge='+c(typeof(r=null!=(r=n.acknowledge||(null!=t?t.acknowledge:t))?r:a)===l?r.call(s,{name:"acknowledge",hash:{},data:i}):r)+">"+c(typeof(r=null!=(r=n.actionKey||(null!=t?t.actionKey:t))?r:a)===l?r.call(s,{name:"actionKey",hash:{},data:i}):r)+"</a>\r\n"},useData:!0})},function(e,t,n){var o=n(2);e.exports=(o["default"]||o).template({1:function(e,t,n,o,i){var r;return'        <a href="#" id="pushnxDismissAll" style="color:#fff;">'+e.escapeExpression("function"==typeof(r=null!=(r=n.dismiss||(null!=t?t.dismiss:t))?r:n.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"dismiss",hash:{},data:i}):r)+"</a>\r\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,o,i){var r,s,a=null!=t?t:e.nullContext||{},l=n.helperMissing,c=e.escapeExpression;return'<div id="push-notification">\r\n    <div class="title">\r\n'+(null!=(r=n["if"].call(a,null!=t?t.dismiss:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+"    "+c("function"==typeof(s=null!=(s=n.title||(null!=t?t.title:t))?s:l)?s.call(a,{name:"title",hash:{},data:i}):s)+'</div>\r\n    <div class="line"></div>\r\n    <div class="messages messages-pnx scrollbot">'+c("function"==typeof(s=null!=(s=n.messages||(null!=t?t.messages:t))?s:l)?s.call(a,{name:"messages",hash:{},data:i}):s)+"</div>\r\n</div>\r\n"},useData:!0})},function(e,t,n){var o=n(2);e.exports=(o["default"]||o).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,o,i){var r,s,a=null!=t?t:e.nullContext||{},l=n.helperMissing,c=e.escapeExpression;return"<div>"+(null!=(r="function"==typeof(s=null!=(s=n.message||(null!=t?t.message:t))?s:l)?s.call(a,{name:"message",hash:{},data:i}):s)?r:"")+'</div>\r\n<div>\r\n    <a id="dimissYes">'+c("function"==typeof(s=null!=(s=n.yes||(null!=t?t.yes:t))?s:l)?s.call(a,{name:"yes",hash:{},data:i}):s)+'</a>\r\n</div>\r\n<div>\r\n    <a id="dismissNo">'+c("function"==typeof(s=null!=(s=n.no||(null!=t?t.no:t))?s:l)?s.call(a,{name:"no",hash:{},data:i}):s)+"</a>\r\n</div>\r\n"},useData:!0})},function(e,t,n){var o=n(2);e.exports=(o["default"]||o).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,o,i){var r,s=null!=t?t:e.nullContext||{},a=n.helperMissing,l=e.escapeExpression;return'<span class="'+l("function"==typeof(r=null!=(r=n.debugClass||(null!=t?t.debugClass:t))?r:a)?r.call(s,{name:"debugClass",hash:{},data:i}):r)+'"> '+l("function"==typeof(r=null!=(r=n.expirationLabel||(null!=t?t.expirationLabel:t))?r:a)?r.call(s,{name:"expirationLabel",hash:{},data:i}):r)+l("function"==typeof(r=null!=(r=n.formattedDate||(null!=t?t.formattedDate:t))?r:a)?r.call(s,{name:"formattedDate",hash:{},data:i}):r)+l("function"==typeof(r=null!=(r=n.Phase1Date||(null!=t?t.Phase1Date:t))?r:a)?r.call(s,{name:"Phase1Date",hash:{},data:i}):r)+"</span>\r\n"},useData:!0})},function(e,t,n){var o=n(2);e.exports=(o["default"]||o).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,o,i){var r,s=null!=t?t:e.nullContext||{},a=n.helperMissing,l=e.escapeExpression;return'<span class="'+l("function"==typeof(r=null!=(r=n.messageClass||(null!=t?t.messageClass:t))?r:a)?r.call(s,{name:"messageClass",hash:{},data:i}):r)+'">'+l("function"==typeof(r=null!=(r=n.message||(null!=t?t.message:t))?r:a)?r.call(s,{name:"message",hash:{},data:i}):r)+"</span>\r\n"},useData:!0})},function(e,t,n){var o=n(2);e.exports=(o["default"]||o).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,o,i){var r,s,a=null!=t?t:e.nullContext||{},l=n.helperMissing,c="function",u=e.escapeExpression;return'<div class="message message-pnx" id="message'+u(typeof(s=null!=(s=n.messageId||(null!=t?t.messageId:t))?s:l)===c?s.call(a,{name:"messageId",hash:{},data:i}):s)+'">\r\n    <div class="circle"></div>\r\n    <div class="content" style="">'+(null!=(r=typeof(s=null!=(s=n.content||(null!=t?t.content:t))?s:l)===c?s.call(a,{name:"content",hash:{},data:i}):s)?r:"")+'</div>\r\n    <div class="actions" id="actions'+u(typeof(s=null!=(s=n.messageId||(null!=t?t.messageId:t))?s:l)===c?s.call(a,{name:"messageId",hash:{},data:i}):s)+'" data-expiry="'+u(typeof(s=null!=(s=n.expiryDate||(null!=t?t.expiryDate:t))?s:l)===c?s.call(a,{name:"expiryDate",hash:{},data:i}):s)+'">'+(null!=(r=typeof(s=null!=(s=n.actions||(null!=t?t.actions:t))?s:l)===c?s.call(a,{name:"actions",hash:{},data:i}):s)?r:"")+'</div>\r\n    <div class="time">'+u(typeof(s=null!=(s=n.publishDate||(null!=t?t.publishDate:t))?s:l)===c?s.call(a,{name:"publishDate",hash:{},data:i}):s)+" "+(null!=(r=typeof(s=null!=(s=n.expirationLabel||(null!=t?t.expirationLabel:t))?s:l)===c?s.call(a,{name:"expirationLabel",hash:{},data:i}):s)?r:"")+"</div>\r\n</div>\r\n"},useData:!0})},function(e,t,n){var o=n(2);e.exports=(o["default"]||o).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,o,i){var r;return"<span>"+e.escapeExpression("function"==typeof(r=null!=(r=n.title||(null!=t?t.title:t))?r:n.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:i}):r)+"</span>\r\n"},useData:!0})},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}}]);