diff --git a/js/app/util.js b/js/app/util.js index f7138ef00..9cef85a48 100644 --- a/js/app/util.js +++ b/js/app/util.js @@ -2611,7 +2611,7 @@ define([ row += userName; row += ''; row += ''; - row += shipName; + row += unicodeToString(shipName); row += ''; row += ''; row += shipTypeName; diff --git a/public/js/v2.1.4/app/admin.js b/public/js/v2.1.4/app/admin.js index ba6bd1a71..8c163d849 100644 --- a/public/js/v2.1.4/app/admin.js +++ b/public/js/v2.1.4/app/admin.js @@ -1,2 +1,2 @@ -if(function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,o=Object.getPrototypeOf,a=n.slice,i=n.concat,s=n.push,l=n.indexOf,c={},u=c.toString,d=c.hasOwnProperty,f=d.toString,p=f.call(Object),h={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},g=function(e){return null!=e&&e===e.window},v={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var o,a,i=(n=n||r).createElement("script");if(i.text=e,t)for(o in v)(a=t[o]||t.getAttribute&&t.getAttribute(o))&&i.setAttribute(o,a);n.head.appendChild(i).parentNode.removeChild(i)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[u.call(e)]||"object":typeof e}var w="3.4.1",x=function(e,t){return new x.fn.init(e,t)},S=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function C(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!m(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+$+")"+$+"*"),W=new RegExp($+"|>"),V=new RegExp(M),X=new RegExp("^"+N+"$"),Y={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+$+"*(even|odd|(([+-]|)(\\d*)n|)"+$+"*(?:([+-]|)"+$+"*(\\d+)|))"+$+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+$+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+$+"*((?:-\\d)?\\d*)"+$+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+$+"?|("+$+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){f()},ie=we(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{F.apply(E=j.call(x.childNodes),x.childNodes),E[x.childNodes.length].nodeType}catch(t){F={apply:E.length?function(e,t){P.apply(e,j.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var a,s,c,u,d,h,v,y=t&&t.ownerDocument,S=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==S&&9!==S&&11!==S)return r;if(!o&&((t?t.ownerDocument||t:x)!==p&&f(t),t=t||p,m)){if(11!==S&&(d=J.exec(e)))if(a=d[1]){if(9===S){if(!(c=t.getElementById(a)))return r;if(c.id===a)return r.push(c),r}else if(y&&(c=y.getElementById(a))&&b(t,c)&&c.id===a)return r.push(c),r}else{if(d[2])return F.apply(r,t.getElementsByTagName(e)),r;if((a=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return F.apply(r,t.getElementsByClassName(a)),r}if(n.qsa&&!I[e+" "]&&(!g||!g.test(e))&&(1!==S||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===S&&W.test(e)){for((u=t.getAttribute("id"))?u=u.replace(re,oe):t.setAttribute("id",u=w),s=(h=i(e)).length;s--;)h[s]="#"+u+" "+be(h[s]);v=h.join(","),y=ee.test(e)&&ve(t.parentNode)||t}try{return F.apply(r,y.querySelectorAll(v)),r}catch(t){I(e,!0)}finally{u===w&&t.removeAttribute("id")}}}return l(e.replace(q,"$1"),t,r,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ce(e){return e[w]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce(function(t){return t=+t,ce(function(n,r){for(var o,a=e([],n.length,t),i=a.length;i--;)n[o=a[i]]&&(n[o]=!(r[o]=n[o]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},a=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!G.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,o,i=e?e.ownerDocument||e:x;return i!==p&&9===i.nodeType&&i.documentElement&&(h=(p=i).documentElement,m=!a(p),x!==p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ae,!1):o.attachEvent&&o.attachEvent("onunload",ae)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(p.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=w,!p.getElementsByName||!p.getElementsByName(w).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,o,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(o=t.getElementsByName(e),r=0;a=o[r++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[o++];)1===n.nodeType&&r.push(n);return r}return a},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=Z.test(p.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+$+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+$+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+w+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||g.push(".#.+[+~]")}),ue(function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+$+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=Z.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",M)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=Z.test(h.compareDocumentPosition),b=t||Z.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},k=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===p||e.ownerDocument===x&&b(x,e)?-1:t===p||t.ownerDocument===x&&b(x,t)?1:u?L(u,e)-L(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,o=e.parentNode,a=t.parentNode,i=[e],s=[t];if(!o||!a)return e===p?-1:t===p?1:o?-1:a?1:u?L(u,e)-L(u,t):0;if(o===a)return fe(e,t);for(n=e;n=n.parentNode;)i.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;i[r]===s[r];)r++;return r?fe(i[r],s[r]):i[r]===x?-1:s[r]===x?1:0}),p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&f(e),n.matchesSelector&&m&&!I[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){I(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=i(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=_[e+" "];return t||(t=new RegExp("(^|"+$+")"+e+"("+$+"|$)"))&&_(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function E(e,t,n){return m(t)?x.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?x.grep(e,function(e){return e===t!==n}):"string"!=typeof t?x.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var o,a;if(!e)return this;if(n=n||O,"string"==typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:P.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(o[1])&&x.isPlainObject(t))for(o in t)m(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(a=r.getElementById(o[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,O=x(r);var F=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,me={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&k(e,t)?x.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;nx",h.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue;var Se=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_e=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function De(){return!1}function Ie(e,t){return e===function(){try{return r.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,n,r,o,a){var i,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,s,n,r,t[s],a);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=De;else if(!o)return e;return 1===a&&(i=o,(o=function(e){return x().off(e),i.apply(this,arguments)}).guid=i.guid||(i.guid=x.guid++)),e.each(function(){x.event.add(this,t,o,r,n)})}function Ae(e,t,n){n?(Q.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=a.call(arguments),Q.set(this,t,i),r=n(this,t),this[t](),i!==(o=Q.get(this,t))||r?Q.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o.value}else i.length&&(Q.set(this,t,{value:x.event.trigger(x.extend(i[0],x.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&x.event.add(e,t,Te)}x.event={global:{},add:function(e,t,n,r,o){var a,i,s,l,c,u,d,f,p,h,m,g=Q.get(e);if(g)for(n.handler&&(n=(a=n).handler,o=a.selector),o&&x.find.matchesSelector(oe,o),n.guid||(n.guid=x.guid++),(l=g.events)||(l=g.events={}),(i=g.handle)||(i=g.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(R)||[""]).length;c--;)p=m=(s=_e.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=x.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=x.event.special[p]||{},u=x.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:h.join(".")},a),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,i)||e.addEventListener&&e.addEventListener(p,i)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,u):f.push(u),x.event.global[p]=!0)},remove:function(e,t,n,r,o){var a,i,s,l,c,u,d,f,p,h,m,g=Q.hasData(e)&&Q.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(R)||[""]).length;c--;)if(p=m=(s=_e.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=x.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=a=f.length;a--;)u=f[a],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(a,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));i&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||x.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)x.event.remove(e,p+t[c],n,r,!0);x.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,a,i,s=x.event.fix(e),l=new Array(arguments.length),c=(Q.get(this,"events")||{})[s.type]||[],u=x.event.special[s.type]||{};for(l[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,Oe=/\s*$/g;function je(e,t){return k(e,"table")&&k(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function $e(e,t){var n,r,o,a,i,s,l,c;if(1===t.nodeType){if(Q.hasData(e)&&(a=Q.access(e),i=Q.set(t,a),c=a.events))for(o in delete i.handle,i.events={},c)for(n=0,r=c[o].length;n")},clone:function(e,t,n){var r,o,a,i,s,l,c,u=e.cloneNode(!0),d=ae(e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(i=ge(u),r=0,o=(a=ge(e)).length;r").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&a("error"===e.type?404:200,e.type)}),r.head.appendChild(t[0])},abort:function(){n&&n()}}});var Xt,Yt=[],Gt=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||x.expando+"_"+Tt++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(t,n,r){var o,a,i,s=!1!==t.jsonp&&(Gt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Gt,"$1"+o):!1!==t.jsonp&&(t.url+=(Dt.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return i||x.error(o+" was not called"),i[0]},t.dataTypes[0]="json",a=e[o],e[o]=function(){i=arguments},r.always(function(){void 0===a?x(e).removeProp(o):e[o]=a,t[o]&&(t.jsonpCallback=n.jsonpCallback,Yt.push(o)),i&&m(a)&&a(i[0]),i=a=void 0}),"script"}),h.createHTMLDocument=((Xt=r.implementation.createHTMLDocument("").body).innerHTML="
",2===Xt.childNodes.length),x.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(h.createHTMLDocument?((o=(t=r.implementation.createHTMLDocument("")).createElement("base")).href=r.location.href,t.head.appendChild(o)):t=r),i=!n&&[],(a=A.exec(e))?[t.createElement(a[1])]:(a=xe([e],t,i),i&&i.length&&x(i).remove(),x.merge([],a.childNodes)));var o,a,i},x.fn.load=function(e,t,n){var r,o,a,i=this,s=e.indexOf(" ");return-1").append(x.parseHTML(e)).find(r):e)}).always(n&&function(e,t){i.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.expr.pseudos.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length},x.offset={setOffset:function(e,t,n){var r,o,a,i,s,l,c=x.css(e,"position"),u=x(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),a=x.css(e,"top"),l=x.css(e,"left"),("absolute"===c||"fixed"===c)&&-1<(a+l).indexOf("auto")?(i=(r=u.position()).top,o=r.left):(i=parseFloat(a)||0,o=parseFloat(l)||0),m(t)&&(t=t.call(e,n,x.extend({},s))),null!=t.top&&(d.top=t.top-s.top+i),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){x.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===x.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===x.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),o.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-x.css(r,"marginTop",!0),left:t.left-o.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||oe})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;x.fn[e]=function(r){return U(this,function(e,r,o){var a;if(g(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===o)return a?a[t]:e[r];a?a.scrollTo(n?a.pageXOffset:o,n?o:a.pageYOffset):e[r]=o},e,r,arguments.length)}}),x.each(["top","left"],function(e,t){x.cssHooks[t]=ze(h.pixelPosition,function(e,n){if(n)return n=Ue(e,t),Me.test(n)?x(e).position()[t]+"px":n})}),x.each({Height:"height",Width:"width"},function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){x.fn[r]=function(o,a){var i=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===a?"margin":"border");return U(this,function(t,n,o){var a;return g(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===o?x.css(t,n,s):x.style(t,n,o,s)},t,i?o:void 0,i)}})}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return 0{"use strict";let e={1:"E004 - C1",2:"L005 - C2",3:"Z006 - C3",4:"M001 - C4",5:"C008 - C5",6:"G008 - C6",7:"Q003 - 0.0",8:"A009 - C13"};return{path:{api:"/api/rest",getCaptcha:"/api/User/getCaptcha",getServerStatus:"/api/User/getEveServerStatus",getCookieCharacterData:"/api/User/getCookieCharacter",logIn:"/api/User/logIn",logout:"/api/User/logout",openIngameWindow:"/api/User/openIngameWindow",saveUserConfig:"/api/User/saveAccount",deleteAccount:"/api/User/deleteAccount",searchAccess:"/api/Access/search",initData:"/api/Map/initData",getAccessData:"/api/Map/getAccessData",updateMapData:"/api/Map/updateData",updateUserData:"/api/Map/updateUserData",updateUnloadData:"/api/Map/updateUnloadData",importMap:"/api/Map/import",getMapConnectionData:"/api/Map/getConnectionData",getMapLogData:"/api/Map/getLogData",setDestination:"/api/System/setDestination",pokeRally:"/api/System/pokeRally",getStatisticsData:"/api/Statistic/getData",searchUniverseData:"/api/Universe/search",getConstellationData:"/api/Universe/constellationData",gitHubReleases:"/api/GitHub/releases"},breakpoints:[{name:"screen-xl",width:1/0},{name:"screen-l",width:1600},{name:"screen-m",width:1200},{name:"screen-d",width:1e3},{name:"screen-s",width:780},{name:"screen-xs",width:480}],animationSpeed:{splashOverlay:300,headerLink:100,mapOverlay:200,mapOverlayLocal:180,mapMoveSystem:180,mapDeleteSystem:200,mapModule:200,dialogEvents:180},syncStatus:{type:"ajax",webSocket:{status:"closed",class:"txt-color-danger",timestamp:void 0},sharedWorker:{status:"offline",class:"txt-color-danger",timestamp:void 0},ajax:{status:"enabled",class:"txt-color-success",timestamp:void 0}},performanceLogging:{keyServerMapData:"UPDATE_SERVER_MAP",keyClientMapData:"UPDATE_CLIENT_MAP",keyServerUserData:"UPDATE_SERVER_USER_DATA",keyClientUserData:"UPDATE_CLIENT_USER_DATA"},mapIcons:[{class:"fa-desktop",label:"desktop",unicode:""},{class:"fa-space-shuttle",label:"space shuttle",unicode:""},{class:"fa-anchor",label:"anchor",unicode:""},{class:"fa-satellite",label:"satellite",unicode:""},{class:"fa-skull-crossbones",label:"skull crossbones",unicode:""},{class:"fa-fire",label:"fire",unicode:""},{class:"fa-bookmark",label:"bookmark",unicode:""},{class:"fa-cube",label:"cube",unicode:""},{class:"fa-star",label:"star",unicode:""},{class:"fa-hat-wizard",label:"hat wizard",unicode:""},{class:"fa-cross",label:"cross",unicode:""},{class:"fa-cannabis",label:"cannabis",unicode:""},{class:"fa-spider",label:"spider",unicode:""},{class:"fa-plane",label:"plane",unicode:""},{class:"fa-globe",label:"globe",unicode:""},{class:"fa-rocket",label:"rocket",unicode:""},{class:"fa-life-ring",label:"life ring",unicode:""},{class:"fa-heart",label:"heart",unicode:""},{class:"fa-poop",label:"poop",unicode:""}],classes:{logTypes:{info:{class:"pf-log-info",label:"info"},warning:{class:"pf-log-warning",label:"warning"},error:{class:"pf-log-error",label:"error"}},systemEffects:{effect:{class:"pf-system-effect",name:"no effect"},magnetar:{class:"pf-system-effect-magnetar",name:"magnetar"},redGiant:{class:"pf-system-effect-redgiant",name:"red giant"},pulsar:{class:"pf-system-effect-pulsar",name:"pulsar"},wolfRayet:{class:"pf-system-effect-wolfrayet",name:"wolf rayet"},cataclysmic:{class:"pf-system-effect-cataclysmic",name:"cataclysmic"},blackHole:{class:"pf-system-effect-blackhole",name:"black hole"}},systemSecurity:{security:{class:"pf-system-sec"},A:{class:"pf-system-sec-abyssal"},SH:{class:"pf-system-sec-unknown"},H:{class:"pf-system-sec-highSec"},L:{class:"pf-system-sec-lowSec"},T:{class:"pf-system-sec-triglav"},"0.0":{class:"pf-system-sec-nullSec"},C1:{class:"pf-system-sec-low"},C2:{class:"pf-system-sec-low"},C3:{class:"pf-system-sec-mid"},C4:{class:"pf-system-sec-mid"},C5:{class:"pf-system-sec-high"},C6:{class:"pf-system-sec-high"},C12:{class:"pf-system-sec-special"},C14:{class:"pf-system-sec-drifter"},C15:{class:"pf-system-sec-drifter"},C16:{class:"pf-system-sec-drifter"},C17:{class:"pf-system-sec-drifter"},C18:{class:"pf-system-sec-drifter"}},trueSec:{"0.0":{class:"pf-system-security-0-0"},.1:{class:"pf-system-security-0-1"},.2:{class:"pf-system-security-0-2"},.3:{class:"pf-system-security-0-3"},.4:{class:"pf-system-security-0-4"},.5:{class:"pf-system-security-0-5"},.6:{class:"pf-system-security-0-6"},.7:{class:"pf-system-security-0-7"},.8:{class:"pf-system-security-0-8"},.9:{class:"pf-system-security-0-9"},"1.0":{class:"pf-system-security-1-0"}},systemInfo:{rally:{class:"pf-system-info-rally",label:"rally point"}},planets:{barren:{class:"pf-planet-barren"},gas:{class:"pf-planet-gas"},ice:{class:"pf-planet-ice"},lava:{class:"pf-planet-lava"},oceanic:{class:"pf-planet-oceanic"},plasma:{class:"pf-planet-plasma"},shattered:{class:"pf-planet-shattered"},storm:{class:"pf-planet-storm"},temperate:{class:"pf-planet-temperate"}},pieChart:{class:"pf-pie-chart",pieChartMapCounterClass:"pf-pie-chart-map-timer"}},defaultMapScope:"wh",endpointTypes:{bubble:{cssClass:"pf-map-endpoint-bubble"}},connectionTypes:{abyssal:{cssClass:"pf-map-connection-abyssal"},jumpbridge:{cssClass:"pf-map-connection-jumpbridge"},stargate:{cssClass:"pf-map-connection-stargate"},wh_eol:{cssClass:"pf-map-connection-wh-eol"},wh_fresh:{cssClass:"pf-map-connection-wh-fresh"},wh_reduced:{cssClass:"pf-map-connection-wh-reduced"},wh_critical:{cssClass:"pf-map-connection-wh-critical"},wh_jump_mass_s:{cssClass:"pf-map-connection-wh-size-s",overlays:[["Label",{label:'',cssClass:["pf-map-component-overlay","small","text-center"].join(" "),location:.65,id:"pf-map-connection-jump-mass-overlay"}]]},wh_jump_mass_m:{cssClass:"pf-map-connection-wh-size-m",overlays:[["Label",{label:'',cssClass:["pf-map-component-overlay","small","text-center"].join(" "),location:.65,id:"pf-map-connection-jump-mass-overlay"}]]},wh_jump_mass_l:{cssClass:"pf-map-connection-wh-size-l",overlays:[["Label",{label:'',cssClass:["pf-map-component-overlay","small","text-center"].join(" "),location:.65,id:"pf-map-connection-jump-mass-overlay"}]]},wh_jump_mass_xl:{cssClass:"pf-map-connection-wh-size-xl",overlays:[["Label",{label:'',cssClass:["pf-map-component-overlay","small","text-center"].join(" "),location:.65,id:"pf-map-connection-jump-mass-overlay"}]]},preserve_mass:{cssClass:"pf-map-connection-preserve-mass",overlays:[["Label",{label:' save mass',cssClass:["pf-map-component-overlay","mass"].join(" "),location:.35}]]},info_signature:{overlays:[["Arrow",{id:"pf-map-connection-arrow-overlay",cssClass:"pf-map-connection-arrow-overlay",location:.5,length:"${arrowlength}",width:12,direction:"${arrowdirection}",foldback:"${arrowfoldback}"}]]},state_active:{cssClass:"pf-map-connection-active"},state_process:{cssClass:"pf-map-connection-process",overlays:[["Label",{label:'',cssClass:["pf-map-connection-state-overlay"].join(" "),location:.5}]]}},wormholeSizes:{wh_jump_mass_xl:{jumpMassMin:135e7,type:"wh_jump_mass_xl",class:"pf-jump-mass-xl",label:"XL",text:"capital ships"},wh_jump_mass_l:{jumpMassMin:375e6,type:"wh_jump_mass_l",class:"pf-jump-mass-l",label:"L",text:"larger ships"},wh_jump_mass_m:{jumpMassMin:62e6,type:"wh_jump_mass_m",class:"pf-jump-mass-m",label:"M",text:"medium ships"},wh_jump_mass_s:{jumpMassMin:5e3,type:"wh_jump_mass_s",class:"pf-jump-mass-s",label:"S",text:"smallest ships"}},signatureGroups:{1:{name:"(combat site|kampfgebiet|site de combat|Боевой район|战斗地点)",label:"Combat"},2:{name:"(relic site|reliktgebiet|site de reliques|Археологический район|遗迹地点)",label:"Relic"},3:{name:"(data site|datengebiet|site de données|Информационный район|数据地点)",label:"Data"},4:{name:"(gas site|gasgebiet|site de collecte de gaz|Газовый район|气云地点)",label:"Gas"},5:{name:"(wormhole|wurmloch|trou de ver|Червоточина|虫洞)",label:"Wormhole"},6:{name:"(ore site|mineraliengebiet|site de minerai|Астероидный район|矿石地点)",label:"Ore"},7:{name:"(ghost|Призрачный)",label:"Ghost"}},frigateWormholes:{1:e,2:e,3:e,4:e,5:e,6:e,13:e,30:e,31:e,32:e},drifterWormholes:{1:"S877 - C14 Sentinel",2:"B735 - C15 Barbican",3:"V928 - C16 Vidette",4:"C414 - C17 Conflux",5:"R259 - C18 Redoubt"},incomingWormholes:{1:"K162 - C1/2/3 (unknown)",2:"K162 - C4/5 (dangerous)",3:"K162 - C6 (deadly)",4:"K162 - H",5:"K162 - L",6:"K162 - 0.0",7:"K162 - C12 Thera"}}}),define("app/lib/dataStore",[],()=>{"use strict";return class DataStore{constructor(){this._store=new WeakMap}set(e,t,n){return this._store.has(e)||this._store.set(e,new Map),this._store.get(e).set(t,n),e}get(e,t){return this._store.has(e)&&(t?this._store.get(e).get(t):this._store.get(e))}has(e,t){return this._store.has(e)&&this._store.get(e).has(t)}remove(e,t){let n=!1;return this._store.has(e)&&(n=this._store.get(e).delete(t),this._store.get(e).size||this._store.delete(e)),n}}}),define("app/lib/prototypes",["app/lib/dataStore"],e=>{"use strict";return window.dataStore=new e,HTMLElement.prototype.setData=function(e,t){return window.dataStore.set(this,e,t)},HTMLElement.prototype.getData=function(e){return window.dataStore.get(this,e)},HTMLElement.prototype.hasData=function(e){return window.dataStore.has(this,e)},HTMLElement.prototype.removeData=function(e){return window.dataStore.remove(this,e)},Array.prototype.diff=function(e){return this.filter(t=>!e.includes(t))},Array.prototype.intersect=function(e){return this.filter(t=>e.includes(t))},Array.prototype.not=function(e){return this.filter((...t)=>!e(...t))},Array.prototype.equalValues=function(e){return 0===this.diff(e).concat(e.diff(this)).length},Array.prototype.concatFilter=function(e){return[...new Set([...this,...e])]},Array.prototype.sortBy=function(e){return this.slice(0).sort((t,n)=>t[e]>n[e]?1:t[e](e<<5)-e+t.charCodeAt(0)|0,0)+2147483647+1},String.prototype.trimLeftChars=function(e){return void 0===e&&(e="\\s"),this.replace(new RegExp("^["+e+"]+"),"")},String.prototype.trimRightChars=function(e){return void 0===e&&(e="\\s"),this.replace(new RegExp("["+e+"]+$"),"")},String.prototype.trimChars=function(e){return this.trimLeftChars(e).trimRightChars(e)},{}}),define("app/lib/console",[],()=>{"use strict";window.console=(e=>{let t=e.log,n=e.info,r=e.warn,o=e.error,a={indentDefault:{"padding-left":"3px"},global:{"font-weight":500,"font-size":"11px","line-height":"19px","font-family":'"Fira Code", "Lucida Console"'},debug:{color:"#d747d6"},ok:{color:"#5cb85c"},log:{color:"#adadad"},info:{color:"#428bca"},warn:{color:"#ffdd9e"},error:{color:"#ff8080"},pf:{color:"#568a89"},brand:{color:"#375959","line-height":"35px","font-size":"25px"}},i={"%s":{style:["color: #e93f3b; font-style: italic","color: inherit"]},"%i":{style:["color: #9980ff","color: inherit"]},"%d":{style:["color: #9980ff","color: inherit"]},"%f":{style:["color: #9980ff","color: inherit"]},"%o":{style:["",""]},"%O":{style:["",""]}},s=(e,t=!1)=>{let n="";return i.hasOwnProperty(e)&&(n=i[e].style[t?1:0]),n},l=(e,t=[])=>{let n="";return a.hasOwnProperty(e)&&(n=Object.keys(a[e]).filter(e=>!t.length||t.includes(e)).reduce((t,n,r,o)=>t+=n+":"+a[e][n]+";","")),n},c=(e,t)=>{if(t.length){let n=l("global")+l(e);n+=["debug","ok","log","info","pf"].includes(e)?l("indentDefault"):"";let r=["debug","ok","log","info","pf"].includes(e)?"●":"";"string"==typeof t[0]?t[0]="%c"+r+" "+t[0]:t.splice(0,0,"%c"+r+" "+e+":"),t.splice(1,0,n)}},u=(e,t)=>{if("string"==typeof t[0]){let n=(e=>{let t=new RegExp(Object.keys(i).join("|"),"g"),n=e.match(t);return n||[]})(t[0]),r=n.length;t[0]=(e=>{let t=new RegExp(Object.keys(i).join("|"),"g");return e.replace(t,function(e){return"%c"+e+"%c"})})(t[0]);let o=0,a=1,c=a+r,u=0;for(let r=a;r{u("debug",t),c("debug",t),n.apply(e,t)}),e.ok=((...t)=>{u("ok",t),c("ok",t),n.apply(e,t)}),e.info=((...t)=>{u("info",t),c("info",t),n.apply(e,t)}),e.log=((...n)=>{u("log",n),c("log",n),t.apply(e,n)}),e.warn=((...t)=>{u("warn",t),c("warn",t),r.apply(e,t)}),e.error=((...t)=>{u("error",t),c("error",t),o.apply(e,t)}),e.pf=((...t)=>{u("pf",t),c("pf",t),n.apply(e,t)}),e.brand=((...t)=>{u("brand",t),c("brand",t),n.apply(e,t)}),e})(window.console);return{showVersionInfo:e=>{console.ok("%c PATHFINDER","color: #477372; font-size: 25px; margin-left: 10px; line-height: 50px; text-shadow: 1px 1px 0 #212C30; background: url(https://i.imgur.com/bhSr6LI.png) no-repeat;"),console.pf("Release: %s",e)}}}),define("app/lib/cache",[],()=>{"use strict";class AbstractStrategy{constructor(){if(new.target===AbstractStrategy)throw new TypeError("Cannot construct AbstractStrategy instances directly")}static create(){return new this}}class StrategyFIFO extends AbstractStrategy{valueToCompare(e){return e.age()}compare(e,t){return t-e}}class StrategyLFU extends AbstractStrategy{valueToCompare(e){return e.hitCount}compare(e,t){return e-t}}class StrategyLRU extends AbstractStrategy{valueToCompare(e){return e.hits[e.hits.length-1]||e.set}compare(e,t){return e-t}}class CacheEntryMeta{constructor(e,t){this._ttl=e,this._tSet=t||this.constructor.now(),this._tHits=[]}get set(){return this._tSet}get hits(){return this._tHits}get hitCount(){return this.hits.length}newHit(e){this._tHits.push(e||this.constructor.now())}age(e){return(e||this.constructor.now())-this._tSet}expired(e){return!(this._ttl<0)&&this._ttl{this._config.debug&&((t=t||[]).unshift(this._config.name),console.debug("debug: CACHE %o | "+e,...t))}),this.debug("New Cache instance")}get size(){return this._store.size}isFull(){return this.size>=this._config.maxSize}set(e,t,n){this._store.has(e)?(this.debug("SET key %o, UPDATE value %o",e,t),this._store.set(e,t)):(this.debug("SET key %o, NEW value %o",e,t),this.isFull()&&(this.debug(" ↪ FULL trim cache…"),this.trim(this.trimCount(1))),this._store.set(e,t)),this._metaStore.set(t,CacheEntryMeta.create(n||this._config.ttl))}get(e){if(this._store.has(e)){let t=this._store.get(e);if(t){let n=this._metaStore.get(t);if(!n.expired())return this.debug("HIT key %o",e),n.newHit(),t;this.debug("EXPIRED key %o delete",e),this.delete(e)}}this.debug("MISS key %o",e)}getOrDefault(e,t){return this.get(e)||t}keysForTrim(e){let t=[],n=[];for(let[r,o]of this._store){let a=this._metaStore.get(o);if(a.expired()){if(t.push(r),e===t.length)break}else n.push({key:r,value:this._strategy.valueToCompare(a)})}let r=e-t.length;return r>0&&(n=n.sort((e,t)=>this._strategy.compare(e.value,t.value)),t=t.concat(n.splice(0,r).map(e=>e.key))),t}keys(){return this._store.keys()}delete(e){return this._store.delete(e)}clear(){this._store.clear()}trimCount(e){let t=Math.max(Math.round(this._config.maxSize/100*this._config.bufferSize),e);return Math.min(Math.max(this.size-this._config.maxSize+t,0),this.size)}trim(e){if(e>0){let t=this.keysForTrim(e);e>t.length&&console.warn(" ↪ Failed to trim(%i) entries. Only %i in store",e,this.size),this.debug(" ↪ DELETE min %i keys: %o",e,t),t.forEach(e=>this.delete(e))}}status(){return{config:this._config,store:this._store,metaStore:this._metaStore}}static setStrategy(e){switch(e){case"FIFO":return StrategyFIFO.create();case"LFU":return StrategyLFU.create();case"LRU":return StrategyLRU.create();default:throw new ReferenceError("Unknown cache strategy name: "+e)}}}return Cache.defaultConfig={name:"Default",ttl:3600,maxSize:600,bufferSize:10,strategy:"FIFO",debug:!1},Cache}),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define("localForage",[],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).localforage=e()}}(function(){return function e(t,n,r){function o(i,s){if(!n[i]){if(!t[i]){var l="function"==typeof require&&require;if(!s&&l)return l(i,!0);if(a)return a(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[i]={exports:{}};t[i][0].call(u.exports,function(e){return o(t[i][1][e]||e)},u,u.exports,e,t,n,r)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;i=43)}}).catch(function(){return!1})}(e).then(function(e){return P=e})}function c(e){var t=F[e.name],n={};n.promise=new E(function(e,t){n.resolve=e,n.reject=t}),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then(function(){return n.promise}):t.dbReady=n.promise}function u(e){var t=F[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function d(e,t){var n=F[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function f(e,t){return new E(function(n,r){if(F[e.name]=F[e.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},e.db){if(!t)return n(e.db);c(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var a=A.open.apply(A,o);t&&(a.onupgradeneeded=function(t){var n=a.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore(O)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),a.onerror=function(e){e.preventDefault(),r(a.error)},a.onsuccess=function(){n(a.result),u(e)}})}function p(e){return f(e,!1)}function h(e){return f(e,!0)}function m(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.versione.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),o||n){if(n){var a=e.db.version+1;a>e.version&&(e.version=a)}return!0}return!1}function g(e){return r([function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),o=0;o0&&(!e.db||"InvalidStateError"===o.name||"NotFoundError"===o.name))return E.resolve().then(function(){if(!e.db||"NotFoundError"===o.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),h(e)}).then(function(){return function(e){c(e);for(var t=F[e.name],n=t.forages,r=0;r>4,u[l++]=(15&r)<<4|o>>2,u[l++]=(3&o)<<6|63&a;return c}function x(e){var t,n=new Uint8Array(e),r="";for(t=0;t>2],r+=N[(3&n[t])<<4|n[t+1]>>4],r+=N[(15&n[t+1])<<2|n[t+2]>>6],r+=N[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}function S(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function C(e,t,n,r,o,a){e.executeSql(n,r,o,function(e,i){i.code===i.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],function(e,s){s.rows.length?a(e,i):S(e,t,function(){e.executeSql(n,r,o,a)},a)},a):a(e,i)},a)}function _(e,t){var n=e.name+"/";return e.storeName!==t.storeName&&(n+=e.storeName+"/"),n}function T(){return!function(){var e="_localforage_support_test";try{return localStorage.setItem(e,!0),localStorage.removeItem(e),!1}catch(e){return!0}}()||localStorage.length>0}function D(e,t){e[t]=function(){var n=arguments;return e.ready().then(function(){return e[t].apply(e,n)})}}function I(){for(var e=1;e0)return void o(e.apply(s,[t,l,r,a-1]));i(n)}})})}).catch(i)});return o(l,r),l}.apply(this,[e,t,n,1])},removeItem:function(e,t){var n=this;e=i(e);var r=new E(function(t,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){C(n,o,"DELETE FROM "+o.storeName+" WHERE key = ?",[e],function(){t()},function(e,t){r(t)})})}).catch(r)});return o(r,t),r},clear:function(e){var t=this,n=new E(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){C(t,r,"DELETE FROM "+r.storeName,[],function(){e()},function(e,t){n(t)})})}).catch(n)});return o(n,e),n},length:function(e){var t=this,n=new E(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){C(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],function(t,n){var r=n.rows.item(0).c;e(r)},function(e,t){n(t)})})}).catch(n)});return o(n,e),n},key:function(e,t){var n=this,r=new E(function(t,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){C(n,o,"SELECT key FROM "+o.storeName+" WHERE id = ? LIMIT 1",[e+1],function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)},function(e,t){r(t)})})}).catch(r)});return o(r,t),r},keys:function(e){var t=this,n=new E(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){C(t,r,"SELECT key FROM "+r.storeName,[],function(t,n){for(var r=[],o=0;o '__WebKitDatabaseInfoTable__'",[],function(n,r){for(var o=[],a=0;a=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}});return o(n,e),n},length:function(e){var t=this.keys().then(function(e){return e.length});return o(t,e),t},key:function(e,t){var n=this,r=n.ready().then(function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(e){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t});return o(r,t),r},keys:function(e){var t=this,n=t.ready().then(function(){for(var e=t._dbInfo,n=localStorage.length,r=[],o=0;o=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}}):E.reject("Invalid arguments"),t),r}},ae=function(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)},ie=function(e,t){for(var n=e.length,r=0;r{"use strict";return class Queue{constructor(){this._queue=[],this._pendingPromise=!1,this._stop=!1}enqueue(e,t="end",n=null){return new Promise((r,o)=>{this._queue["end"===t?"push":"unshift"]({promise:e,resolve:r,reject:o,data:n}),this.dequeue()})}dequeue(){if(this._pendingPromise)return!1;if(this._stop)return this._queue=[],this._stop=!1,!1;let e=this._queue.shift();if(!e)return!1;try{this._pendingPromise=!0,e.promise().then(t=>{this._pendingPromise=!1,e.resolve(t),this.dequeue()}).catch(t=>{this._pendingPromise=!1,e.reject(t),this.dequeue()})}catch(t){this._pendingPromise=!1,e.reject(t),this.dequeue()}return!0}filterQueue(e){return this._queue.filter(e)}}}),define("app/promises/promise.deferred",[],()=>{"use strict";return class DeferredPromise{constructor(){this._promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.then=this._promise.then.bind(this._promise),this.catch=this._promise.catch.bind(this._promise)}set data(e){return e&&(this._data=e),this._data}get data(){return this._data}get[Symbol.toStringTag](){return"Promise"}}}),define("app/lib/localStore",["localForage","app/promises/promise.queue","app/promises/promise.deferred"],(e,t,n)=>{"use strict";class LocalStore{constructor(r,o){this._config=Object.assign({},this.constructor.defaultConfig,r);let a=new n;this._processQueue=new t,this._processQueue.enqueue(()=>a),this._localforage=e.createInstance(Object.assign({},LocalStore.LocalForageConfig,o)),this._localforage.ready().then(()=>a.resolve()),this._manager=null,this.debug=((e,...t)=>{this._config.debug&&((t=t||[]).unshift(this.constructor.name,this._config.name),console.debug("debug: %s %o | "+e,...t))})}set scope(e){if(!LocalStore.isString(e))throw new TypeError('Scope must be instance of "String", Type of "'+typeof e+'" given');this._config.scope=e}get scope(){return this._config.scope}getItem(e,t){e=this.fixKey(e);let n=LocalStore.keyToArray(e),r=n.shift(),o=()=>this._localforage.getItem(e,t);return n.length&&(o=(()=>this._localforage.getItem(r).then(e=>LocalStore.isObject(e)?LocalStore.findObjProp(e,n):Promise.resolve(null)))),this._processQueue.enqueue(()=>o())}setItem(e,t,n){e=this.fixKey(e);let r=LocalStore.keyToArray(e),o=r.shift(),a=()=>Promise.resolve(t);return r.length&&(a=(()=>this._localforage.getItem(o).then(e=>(e=null===e?{}:e,LocalStore.updateObjProp(e,t,r),e)))),this._processQueue.enqueue(()=>a().then(e=>this._localforage.setItem(o,e,n)).then(()=>Promise.resolve(t)))}removeItem(e,t){e=this.fixKey(e);let n=LocalStore.keyToArray(e),r=n.shift(),o=()=>this._localforage.removeItem(r,t);return n.length&&(o=(()=>this._localforage.getItem(r).then(e=>LocalStore.isObject(e)?(LocalStore.deleteObjProp(e,n),e):Promise.reject(new RangeError("No data found for key: "+r))).then(e=>this._localforage.setItem(r,e,t)).catch(e=>this.debug("removeItem() error",e)))),this._processQueue.enqueue(()=>o())}clear(e){return this._processQueue.enqueue(()=>this._localforage.clear(e))}length(e){return this._processQueue.enqueue(()=>this._localforage.length(e))}key(e,t){return this._processQueue.enqueue(()=>this._localforage.key(e,t))}keys(e){return this._processQueue.enqueue(()=>this._localforage.keys(e))}dropInstance(){return this._processQueue.enqueue(()=>this._localforage.dropInstance().then(()=>this._manager.deleteStore(this._config.name)))}connect(e){if(!(e instanceof LocalStoreManager))throw new TypeError('Parameter must be instance of LocalStoreManager. Type of "'+typeof e+'" given');this._manager=e}fixKey(e){return LocalStore.isString(this.scope)&&this.scope.length&&(e=[this.scope,e].join(".")),(Number.isInteger(e)||LocalStore.isString(e)&&parseInt(e.charAt(0),10))&&(e=[this._config.name,e].join("_")),e}static findObjProp(e,t){let[n,...r]=t;return r.length?LocalStore.isObject(e[n])?LocalStore.findObjProp(e[n],r):null:e[n]}static updateObjProp(e,t,n){let[r,...o]=n;o.length?(LocalStore.isObject(e[r])||(e[r]={}),LocalStore.updateObjProp(e[r],t,o)):e[r]=t}static deleteObjProp(e,t){let[n,...r]=t;r.length?LocalStore.isObject(e[n])&&LocalStore.deleteObjProp(e[n],r):delete e[n]}static keyToArray(e){return e.split(".")}static buildDbName(e){return[LocalStore.dbNamePrefix,e].join(" ")}static isObject(e){return!!e&&e.constructor===Object}static isArray(e){return!!e&&e.constructor===Array}static isString(e){return"string"==typeof e}}LocalStore.defaultConfig={name:"default",debug:!1},LocalStore.dbNamePrefix="PathfinderDB",LocalStore.LocalForageConfig={driver:[e.INDEXEDDB,e.WEBSQL,e.LOCALSTORAGE],name:LocalStore.dbNamePrefix};class LocalStoreManager{constructor(){return this.constructor.instance||(this._store=new Map,this.constructor.instance=this),this.constructor.instance}getStore(e){return this.newStore(e)}newStore(e){if(!this._store.has(e)){let t=new LocalStore({name:e},{name:LocalStore.buildDbName(e)});t.connect(this),this._store.set(e,t)}return this._store.get(e)}deleteStore(e){return this._store.delete(e)}}return new LocalStoreManager}),define("app/lib/resize",[],()=>{"use strict";class ResizeManager{constructor(e={}){this._config=Object.assign({},ResizeManager.defaultConfig,e),this._observables=new WeakMap,this._observer=new ResizeObserver((e,t)=>{for(let t of e)this._observables.has(t.target)?this._observables.get(t.target).callback(t.target,t.contentRect):this._observer.unobserve(t.target)})}debounce(e,t=this._config.msDebounce,n=!1){let r;return(...o)=>{let a=n&&!r;clearTimeout(r),r=setTimeout(()=>{r=null,n||e(...o)},t),a&&e(...o)}}throttle(e,t=this._config.msThrottle){let n,r;return function(...o){r?(clearTimeout(n),n=setTimeout(()=>{Date.now()-r>=t&&(e(...o),r=Date.now())},t-(Date.now()-r))):(e(...o),r=Date.now())}}observe(e,t,n={},r=ResizeManager.observeOptions){if(!this._observables.has(e)){if(n.hasOwnProperty("debounce")){let{ms:e,immediate:r}=n;t=this.debounce(t,e,r)}if(n.hasOwnProperty("throttle")){let{ms:e}=n;t=this.throttle(t,e)}this._observables.set(e,{callback:t}),this._observer.observe(e,r)}}unobserve(e){this._observer.unobserve(e),this._observables.delete(e)}disconnect(){this._observer.disconnect(),this._observables=new WeakMap}}return ResizeManager.observeOptions={box:"border-box"},ResizeManager.defaultConfig={msDebounce:250,msThrottle:100},new ResizeManager}),define("conf/system_effect",[],()=>{"use strict";let e=e=>{let t=0;switch(e){case 1:case 2:case 3:case 4:case 5:case 6:t=e;break;case 13:t=6;break;case 14:case 15:case 16:case 17:case 18:t=2}return t},t={1:[{effect:"Damage",value:"+30%"},{effect:"Missile exp. radius",value:"+15%"},{effect:"Drone tracking",value:"-15%"},{effect:"Targeting range",value:"-15%"},{effect:"Tracking speed",value:"-15%"},{effect:"Target Painter strength",value:"-15%"}],2:[{effect:"Damage",value:"+44%"},{effect:"Missile exp. radius",value:"+22%"},{effect:"Drone tracking",value:"-22%"},{effect:"Targeting range",value:"-22%"},{effect:"Tracking speed",value:"-22%"},{effect:"Target Painter strength",value:"-22%"}],3:[{effect:"Damage",value:"+58%"},{effect:"Missile exp. radius",value:"+29%"},{effect:"Drone tracking",value:"-29%"},{effect:"Targeting range",value:"-29%"},{effect:"Tracking speed",value:"-29%"},{effect:"Target Painter strength",value:"-29%"}],4:[{effect:"Damage",value:"+72%"},{effect:"Missile exp. radius",value:"+36%"},{effect:"Drone tracking",value:"-36%"},{effect:"Targeting range",value:"-36%"},{effect:"Tracking speed",value:"-36%"},{effect:"Target Painter strength",value:"-36%"}],5:[{effect:"Damage",value:"+86%"},{effect:"Missile exp. radius",value:"+43%"},{effect:"Drone tracking",value:"-43%"},{effect:"Targeting range",value:"-43%"},{effect:"Tracking speed",value:"-43%"},{effect:"Target Painter strength",value:"-43%"}],6:[{effect:"Damage",value:"+100%"},{effect:"Missile exp. radius",value:"+50%"},{effect:"Drone tracking",value:"-50%"},{effect:"Targeting range",value:"-50%"},{effect:"Tracking speed",value:"-50%"},{effect:"Target Painter strength",value:"-50%"}]},n={1:[{effect:"Heat damage",value:"+15%"},{effect:"Overload bonus",value:"+30%"},{effect:"Smart Bomb range",value:"+30%"},{effect:"Smart Bomb damage",value:"+30%"},{effect:"Bomb damage",value:"+30%"}],2:[{effect:"Heat damage",value:"+22%"},{effect:"Overload bonus",value:"+44%"},{effect:"Smart Bomb range",value:"+44%"},{effect:"Smart Bomb damage",value:"+44%"},{effect:"Bomb damage",value:"+44%"}],3:[{effect:"Heat damage",value:"+29%"},{effect:"Overload bonus",value:"+58%"},{effect:"Smart Bomb range",value:"+58%"},{effect:"Smart Bomb damage",value:"+58%"},{effect:"Bomb damage",value:"+58%"}],4:[{effect:"Heat damage",value:"+36%"},{effect:"Overload bonus",value:"+72%"},{effect:"Smart Bomb range",value:"+72%"},{effect:"Smart Bomb damage",value:"+72%"},{effect:"Bomb damage",value:"+72%"}],5:[{effect:"Heat damage",value:"+43%"},{effect:"Overload bonus",value:"+86%"},{effect:"Smart Bomb range",value:"+86%"},{effect:"Smart Bomb damage",value:"+86%"},{effect:"Bomb damage",value:"+86%"}],6:[{effect:"Heat damage",value:"+50%"},{effect:"Overload bonus",value:"+100%"},{effect:"Smart Bomb range",value:"+100%"},{effect:"Smart Bomb damage",value:"+100%"},{effect:"Bomb damage",value:"+100%"}]},r={1:[{effect:"Shield HP",value:"+30%"},{effect:"Armor resist",value:"-15%"},{effect:"Capacitor recharge",value:"-15%"},{effect:"Signature",value:"+30%"},{effect:"NOS/Neut drain",value:"+30%"}],2:[{effect:"Shield HP",value:"+44%"},{effect:"Armor resist",value:"-22%"},{effect:"Capacitor recharge",value:"-22%"},{effect:"Signature",value:"+44%"},{effect:"NOS/Neut drain",value:"+44%"}],3:[{effect:"Shield HP",value:"+58%"},{effect:"Armor resist",value:"-29%"},{effect:"Capacitor recharge",value:"-29%"},{effect:"Signature",value:"+58%"},{effect:"NOS/Neut drain",value:"+58%"}],4:[{effect:"Shield HP",value:"+72%"},{effect:"Armor resist",value:"-36%"},{effect:"Capacitor recharge",value:"-36%"},{effect:"Signature",value:"+72%"},{effect:"NOS/Neut drain",value:"+72%"}],5:[{effect:"Shield HP",value:"+86%"},{effect:"Armor resist",value:"-43%"},{effect:"Capacitor recharge",value:"-43%"},{effect:"Signature",value:"+86%"},{effect:"NOS/Neut drain",value:"+86%"}],6:[{effect:"Shield HP",value:"+100%"},{effect:"Armor resist",value:"-50%"},{effect:"Capacitor recharge",value:"-50%"},{effect:"Signature",value:"+100%"},{effect:"NOS/Neut drain",value:"+100%"}]},o={1:[{effect:"Armor HP",value:"+30%"},{effect:"Shield resist",value:"-15%"},{effect:"Small Weapon damage",value:"+60%"},{effect:"Signature size",value:"-15%"}],2:[{effect:"Armor HP",value:"+44%"},{effect:"Shield resist",value:"-22%"},{effect:"Small Weapon damage",value:"+88%"},{effect:"Signature size",value:"-22%"}],3:[{effect:"Armor HP",value:"+58%"},{effect:"Shield resist",value:"-29%"},{effect:"Small Weapon damage",value:"+116%"},{effect:"Signature size",value:"-29%"}],4:[{effect:"Armor HP",value:"+72%"},{effect:"Shield resist",value:"-36%"},{effect:"Small Weapon damage",value:"+144%"},{effect:"Signature size",value:"-36%"}],5:[{effect:"Armor HP",value:"+86%"},{effect:"Shield resist",value:"-43%"},{effect:"Small Weapon damage",value:"+172%"},{effect:"Signature size",value:"-43%"}],6:[{effect:"Armor HP",value:"+100%"},{effect:"Shield resist",value:"-50%"},{effect:"Small Weapon damage",value:"+200%"},{effect:"Signature size",value:"-50%"}]},a={1:[{effect:"Local armor repair amount",value:"-15%"},{effect:"Local shield boost amount",value:"-15%"},{effect:"Shield transfer amount",value:"+30%"},{effect:"Remote repair amount",value:"+30%"},{effect:"Capacitor capacity",value:"+30%"},{effect:"Capacitor recharge time",value:"+15%"},{effect:"Remote Capacitor Transmitter amount",value:"-15%"}],2:[{effect:"Local armor repair amount",value:"-22%"},{effect:"Local shield boost amount",value:"-22%"},{effect:"Shield transfer amount",value:"+44%"},{effect:"Remote repair amount",value:"+44%"},{effect:"Capacitor capacity",value:"+44%"},{effect:"Capacitor recharge time",value:"+22%"},{effect:"Remote Capacitor Transmitter amount",value:"-22%"}],3:[{effect:"Local armor repair amount",value:"-29%"},{effect:"Local shield boost amount",value:"-29%"},{effect:"Shield transfer amount",value:"+58%"},{effect:"Remote repair amount",value:"+58%"},{effect:"Capacitor capacity",value:"+58%"},{effect:"Capacitor recharge time",value:"+29%"},{effect:"Remote Capacitor Transmitter amount",value:"-29%"}],4:[{effect:"Local armor repair amount",value:"-36%"},{effect:"Local shield boost amount",value:"-36%"},{effect:"Shield transfer amount",value:"+72%"},{effect:"Remote repair amount",value:"+72%"},{effect:"Capacitor capacity",value:"+72%"},{effect:"Capacitor recharge time",value:"+36%"},{effect:"Remote Capacitor Transmitter amount",value:"-36%"}],5:[{effect:"Local armor repair amount",value:"-43%"},{effect:"Local shield boost amount",value:"-43%"},{effect:"Shield transfer amount",value:"+86%"},{effect:"Remote repair amount",value:"+86%"},{effect:"Capacitor capacity",value:"+86%"},{effect:"Capacitor recharge time",value:"+43%"},{effect:"Remote Capacitor Transmitter amount",value:"-43%"}],6:[{effect:"Local armor repair amount",value:"-50%"},{effect:"Local shield boost amount",value:"-50%"},{effect:"Shield transfer amount",value:"+100%"},{effect:"Remote repair amount",value:"+100%"},{effect:"Capacitor capacity",value:"+100%"},{effect:"Capacitor recharge time",value:"+50%"},{effect:"Remote Capacitor Transmitter amount",value:"-50%"}]},i={1:[{effect:"Missile velocity",value:"+15%"},{effect:"Missile exp. velocity",value:"+30%"},{effect:"Ship velocity",value:"+30%"},{effect:"Stasis Webifier strength",value:"-15%"},{effect:"Inertia",value:"+15%"},{effect:"Targeting range",value:"+30%"}],2:[{effect:"Missile velocity",value:"+22%"},{effect:"Missile exp. velocity",value:"+44%"},{effect:"Ship velocity",value:"+44%"},{effect:"Stasis Webifier strength",value:"-22%"},{effect:"Inertia",value:"+22%"},{effect:"Targeting range",value:"+44%"}],3:[{effect:"Missile velocity",value:"+29%"},{effect:"Missile exp. velocity",value:"+58%"},{effect:"Ship velocity",value:"+58%"},{effect:"Stasis Webifier strength",value:"-29%"},{effect:"Inertia",value:"+29%"},{effect:"Targeting range",value:"+58%"}],4:[{effect:"Missile velocity",value:"+36%"},{effect:"Missile exp. velocity",value:"+72%"},{effect:"Ship velocity",value:"+72%"},{effect:"Stasis Webifier strength",value:"-36%"},{effect:"Inertia",value:"+36%"},{effect:"Targeting range",value:"+72%"}],5:[{effect:"Missile velocity",value:"+43%"},{effect:"Missile exp. velocity",value:"+86%"},{effect:"Ship velocity",value:"+86%"},{effect:"Stasis Webifier strength",value:"-43%"},{effect:"Inertia",value:"+43%"},{effect:"Targeting range",value:"+86%"}],6:[{effect:"Missile velocity",value:"+50%"},{effect:"Missile exp. velocity",value:"+100%"},{effect:"Ship velocity",value:"+100%"},{effect:"Stasis Webifier strength",value:"-50%"},{effect:"Inertia",value:"+50%"},{effect:"Targeting range",value:"+100%"}]};return{getMultiplierByAreaId:e,wh:{magnetar:{1:t[e(1)],2:t[e(2)],3:t[e(3)],4:t[e(4)],5:t[e(5)],6:t[e(6)],16:t[e(16)]},redGiant:{1:n[e(1)],2:n[e(2)],3:n[e(3)],4:n[e(4)],5:n[e(5)],6:n[e(6)],14:n[e(14)]},pulsar:{1:r[e(1)],2:r[e(2)],3:r[e(3)],4:r[e(4)],5:r[e(5)],6:r[e(6)],17:r[e(17)]},wolfRayet:{1:o[e(1)],2:o[e(2)],3:o[e(3)],4:o[e(4)],5:o[e(5)],6:o[e(6)],13:o[e(13)],18:o[e(18)]},cataclysmic:{1:a[e(1)],2:a[e(2)],3:a[e(3)],4:a[e(4)],5:a[e(5)],6:a[e(6)],15:a[e(15)]},blackHole:{1:i[e(1)],2:i[e(2)],3:i[e(3)],4:i[e(4)],5:i[e(5)],6:i[e(6)]}}}}),define("conf/signature_type",[],()=>{"use strict";let e={10:"Ruined Angel Crystal Quarry",11:"Ruined Angel Monument Site",12:"Ruined Angel Science Outpost",13:"Ruined Angel Temple Site",14:"Ruined Blood Raider Crystal Quarry",15:"Ruined Blood Raider Monument Site",16:"Ruined Blood Raider Science Outpost",17:"Ruined Blood Raider Temple Site",18:"Ruined Guristas Crystal Quarry",19:"Ruined Guristas Monument Site",20:"Ruined Guristas Science Outpost",21:"Ruined Guristas Temple Site",22:"Ruined Sansha Crystal Quarry",23:"Ruined Sansha Monument Site",24:"Ruined Sansha Science Outpost",25:"Ruined Sansha Temple Site",26:"Ruined Serpentis Crystal Quarry",27:"Ruined Serpentis Monument Site",28:"Ruined Serpentis Science Outpost",29:"Ruined Serpentis Temple Site"},t=Object.assign({},e,{1:"Forgotten Perimeter Coronation Platform",2:"Forgotten Perimeter Power Array"}),n=Object.assign({},e,{1:"Forgotten Perimeter Gateway",2:"Forgotten Perimeter Habitation Coils"}),r=Object.assign({},e,{1:"Forgotten Frontier Quarantine Outpost",2:"Forgotten Frontier Recursive Depot"}),o={10:"Abandoned Research Complex DA005",11:"Abandoned Research Complex DA015",12:"Abandoned Research Complex DC007",13:"Abandoned Research Complex DC021",14:"Abandoned Research Complex DC035",15:"Abandoned Research Complex DG003",16:"Central Angel Command Center",17:"Central Angel Data Mining Site",18:"Central Angel Sparking Transmitter",19:"Central Angel Survey Site",20:"Central Blood Raider Command Center",21:"Central Blood Raider Data Mining Site",22:"Central Blood Raider Sparking Transmitter",23:"Central Blood Raider Survey Site",24:"Central Guristas Command Center",25:"Central Guristas Data Mining Site",26:"Central Guristas Sparking Transmitter",27:"Central Guristas Survey Site",28:"Central Sansha Command Center",29:"Central Sansha Data Mining Site",30:"Central Sansha Sparking Transmitter",31:"Central Sansha Survey Site",32:"Central Serpentis Command Center",33:"Central Serpentis Data Mining Site",34:"Central Serpentis Sparking Transmitter",35:"Central Serpentis Survey Site"};return{1:{1:{1:{1:"Perimeter Ambush Point",2:"Perimeter Camp",3:"Phase Catalyst Node",4:"The Line"},2:t,3:Object.assign({},o,{1:"Unsecured Perimeter Amplifier",2:"Unsecured Perimeter Information Center"}),4:{1:"Barren Perimeter Reservoir",2:"Token Perimeter Reservoir",3:"Minor Perimeter Reservoir",4:"Sizeable Perimeter Reservoir",5:"Ordinary Perimeter Reservoir"},5:{1:"H121 - C1",2:"C125 - C2",3:"O883 - C3",4:"M609 - C4",5:"L614 - C5",6:"S804 - C6",7:"N110 - H",8:"J244 - L",9:"Z060 - 0.0",10:"F353 - C12 Thera"},6:{1:"Ordinary Perimeter Deposit",2:"Common Perimeter Deposit",3:"Unexceptional Frontier Deposit",4:"Average Frontier Deposit",5:"Isolated Core Deposit",6:"Uncommon Core Deposit"},7:{}},2:{1:{1:"Perimeter Checkpoint",2:"Perimeter Hangar",3:"The Ruins of Enclave Cohort 27",4:"Sleeper Data Sanctuary"},2:n,3:Object.assign({},o,{1:"Unsecured Perimeter Comms Relay",2:"Unsecured Perimeter Transponder Farm"}),4:{1:"Barren Perimeter Reservoir",2:"Token Perimeter Reservoir",3:"Minor Perimeter Reservoir",4:"Sizeable Perimeter Reservoir",5:"Ordinary Perimeter Reservoir"},5:{1:"Z647 - C1",2:"D382 - C2",3:"O477 - C3",4:"Y683 - C4",5:"N062 - C5",6:"R474 - C6",7:"B274 - H",8:"A239 - L",9:"E545 - 0.0",10:"F135 - C12 Thera",11:"F216 - T Pochven"},6:{1:"Ordinary Perimeter Deposit",2:"Common Perimeter Deposit",3:"Unexceptional Frontier Deposit",4:"Average Frontier Deposit",5:"Isolated Core Deposit",6:"Uncommon Core Deposit"},7:{}},3:{1:{1:"Fortification Frontier Stronghold",2:"Outpost Frontier Stronghold",3:"Solar Cell",4:"The Oruze Construct"},2:r,3:Object.assign({},o,{1:"Unsecured Frontier Database",2:"Unsecured Frontier Receiver"}),4:{1:"Barren Perimeter Reservoir",2:"Token Perimeter Reservoir",3:"Minor Perimeter Reservoir",4:"Sizeable Perimeter Reservoir",5:"Ordinary Perimeter Reservoir",6:"Bountiful Frontier Reservoir",7:"Vast Frontier Reservoir"},5:{1:"V301 - C1",2:"I182 - C2",3:"N968 - C3",4:"T405 - C4",5:"N770 - C5",6:"A982 - C6",7:"D845 - H",8:"U210 - L",9:"K346 - 0.0",10:"F135 - C12 Thera",11:"F216 - T Pochven"},6:{1:"Ordinary Perimeter Deposit",2:"Common Perimeter Deposit",3:"Unexceptional Frontier Deposit",4:"Average Frontier Deposit",5:"Infrequent Core Deposit",6:"Unusual Core Deposit"},7:{}},4:{1:{1:"Frontier Barracks",2:"Frontier Command Post",3:"Integrated Terminus",4:"Sleeper Information Sanctum"},2:{1:"Forgotten Frontier Conversion Module",2:"Forgotten Frontier Evacuation Center"},3:{1:"Unsecured Frontier Digital Nexus",2:"Unsecured Frontier Trinary Hub"},4:{1:"Barren Perimeter Reservoir",2:"Token Perimeter Reservoir",3:"Minor Perimeter Reservoir",4:"Sizeable Perimeter Reservoir",5:"Ordinary Perimeter Reservoir",6:"Vast Frontier Reservoir",7:"Bountiful Frontier Reservoir"},5:{1:"P060 - C1",2:"N766 - C2",3:"C247 - C3",4:"X877 - C4",5:"H900 - C5",6:"U574 - C6",7:"S047 - H",8:"N290 - L",9:"K329 - 0.0",10:"F216 - T Pochven"},6:{1:"Ordinary Perimeter Deposit",2:"Common Perimeter Deposit",3:"Unexceptional Frontier Deposit",4:"Average Frontier Deposit",5:"Unusual Core Deposit",6:"Infrequent Core Deposit"},7:{}},5:{1:{1:"Core Garrison",2:"Core Stronghold",3:"Oruze Osobnyk",4:"Quarantine Area"},2:{1:"Forgotten Core Data Field",2:"Forgotten Core Information Pen"},3:{1:"Unsecured Frontier Enclave Relay",2:"Unsecured Frontier Server Bank"},4:{1:"Barren Perimeter Reservoir",2:"Minor Perimeter Reservoir",3:"Ordinary Perimeter Reservoir",4:"Sizeable Perimeter Reservoir",5:"Token Perimeter Reservoir",6:"Bountiful Frontier Reservoir",7:"Vast Frontier Reservoir",8:"Instrumental Core Reservoir",9:"Vital Core Reservoir"},5:{1:"Y790 - C1",2:"D364 - C2",3:"M267 - C3",4:"E175 - C4",5:"H296 - C5",6:"V753 - C6",7:"D792 - H",8:"C140 - L",9:"Z142 - 0.0",10:"F216 - T Pochven"},6:{1:"Average Frontier Deposit",2:"Unexceptional Frontier Deposit",3:"Uncommon Core Deposit",4:"Ordinary Perimeter Deposit",5:"Common Perimeter Deposit",6:"Exceptional Core Deposit",7:"Infrequent Core Deposit",8:"Unusual Core Deposit",9:"Rarified Core Deposit",10:"Isolated Core Deposit"},7:{}},6:{1:{1:"Core Citadel",2:"Core Bastion",3:"Strange Energy Readings",4:"The Mirror"},2:{1:"Forgotten Core Assembly Hall",2:"Forgotten Core Circuitry Disassembler"},3:{1:"Unsecured Core Backup Array",2:"Unsecured Core Emergence"},4:{1:"Barren Perimeter Reservoir",2:"Minor Perimeter Reservoir",3:"Ordinary Perimeter Reservoir",4:"Sizeable Perimeter Reservoir",5:"Token Perimeter Reservoir",6:"Bountiful Frontier Reservoir",7:"Vast Frontier Reservoir",8:"Instrumental Core Reservoir",9:"Vital Core Reservoir"},5:{1:"Q317 - C1",2:"G024 - C2",3:"L477 - C3",4:"Z457 - C4",5:"V911 - C5",6:"W237 - C6",7:"B520 - H",8:"D792 - H",9:"C140 - L",10:"C391 - L",11:"C248 - 0.0",12:"Z142 - 0.0",13:"F216 - T Pochven"},6:{1:"Ordinary Perimeter Deposit",2:"Common Perimeter Deposit",3:"Unexceptional Frontier Deposit",4:"Average Frontier Deposit",5:"Rarified Core Deposit"},7:{1:"Superior Blood Raider Covert Research Facility"}},12:{1:{1:"Epicenter",2:"Expedition Command Outpost Wreck",3:"Planetary Colonization Office Wreck",4:"Testing Facilities"}},13:{5:{1:"P060 - C1",2:"Z647 - C1",3:"D382 - C2",4:"L005 - C2",5:"N766 - C2",6:"C247 - C3",7:"M267 - C3",8:"O477 - C3",9:"X877 - C4",10:"Y683 - C4",11:"H296 - C5",12:"H900 - C5",13:"H296 - C5",14:"N062 - C5",15:"V911 - C5",16:"U574 - C6",17:"V753 - C6",18:"W237 - C6",19:"B274 - H",20:"D792 - H",21:"D845 - H",22:"N110 - H",23:"A239 - L",24:"C391 - L",25:"J244 - L",26:"U201 - L",27:"U210 - L",28:"C248 - 0.0",29:"E545 - 0.0",30:"K346 - 0.0",31:"Z060 - 0.0"},6:{1:"Shattered Debris Field",2:"Shattered Ice Field"}},14:{1:{1:"Monolith",2:"Wormhole in Rock Circle",3:"Opposing Spatial Rifts",4:"Sleeper Enclave Debris",5:"Crystal Resource"}},15:{1:{1:"Wrecked Ships",2:"Unstable Wormhole",3:"Spatial Rift",4:"Heavily Guarded Spatial Rift",5:"Crystals"}},16:{1:{1:"Ship Graveyard",2:"Sleeper Engineering Station",3:"Spatial Rift",4:"Sleeper Enclave in Coral Rock",5:"Crystals and Stone Circle"}},17:{1:{1:"Monolith",2:"Caged Wormhole",3:"Rock Formation and Wormhole",4:"Particle Acceleration Array",5:"Guarded Asteroid Station"}},18:{1:{1:"Ship Graveyard",2:"Caged Wormhole",3:"Spatial Rift Generator",4:"Sleeper Enclave",5:"Hollow Asteroid"}}},2:{30:{5:{1:"Z971 - C1",2:"R943 - C2",3:"X702 - C3",4:"O128 - C4",5:"M555 - C5",6:"B041 - C6",7:"A641 - H",8:"R051 - L",9:"V283 - 0.0",10:"T458 - C12 Thera",11:"C729 - T Pochven"}},31:{5:{1:"Z971 - C1",2:"R943 - C2",3:"X702 - C3",4:"O128 - C4",5:"N432 - C5",6:"U319 - C6",7:"B449 - H",8:"N944 - L",9:"S199 - 0.0",10:"M164 - C12 Thera",11:"C729 - T Pochven"}},32:{5:{1:"Z971 - C1",2:"R943 - C2",3:"X702 - C3",4:"O128 - C4",5:"N432 - C5",6:"U319 - C6",7:"B449 - H",8:"N944 - L",9:"S199 - 0.0",10:"L031 - C12 Thera",11:"C729 - T Pochven",12:"U372 - T Pochven"}},33:{5:{1:"R081 - C4",2:"X450 - 0.0"}}}}}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("lazyload",t):(e=e||self).LazyLoad=t()}(this,function(){"use strict";function e(){return(e=Object.assign||function(e){for(var t=1;t-1})(e)&&(function(e,t,n){var r=function r(a){!function(e,t,n){var r=a.target;u(r,"loaded"),y(r,t.class_loading),v(r,t.class_loaded),b(t.callback_loaded,r,n),w(t,n)}(0,t,n),_(e,r,o)},o=function o(a){!function(e,t,n){var r=a.target;u(r,"error"),y(r,t.class_loading),v(r,t.class_error),b(t.callback_error,r,n),w(t,n)}(0,t,n),_(e,r,o)};!function(e,t,n){S(e,"load",t),S(e,"loadeddata",t),S(e,"error",n)}(e,r,o)}(e,t,n),v(e,t.class_loading)),function(e,t,n){var r=e.tagName,o=g[r];o?(o(e,t),n&&(n.loadingCount+=1)):function(e,t){var n=l(e,t.data_src),r=l(e,t.data_bg);n&&(e.style.backgroundImage='url("'.concat(n,'")')),r&&(e.style.backgroundImage=r)}(e,t)}(e,t,n),function(e,t){t&&(t.toLoadCount-=1,x(e,t))}(t,n)},I=function(e,t,n){D(e,t,n),u(e,"loading"),b(t.callback_loading,e,n),b(t.callback_reveal,e,n),function(e,t){if(t){var n=t._observer;n&&t._settings.auto_unobserve&&n.unobserve(e)}}(e,n)},k=function(e){var t=f(e);t&&(clearTimeout(t),d(e,null))},A=["IMG","IFRAME"],E=function(e){return e.use_native&&"loading"in HTMLImageElement.prototype},O=function(e){var t;r&&!E(e._settings)&&(e._observer=new IntersectionObserver(function(t){t.forEach(function(t){return function(e){return e.isIntersecting||e.intersectionRatio>0}(t)?function(e,t,n){var r=n._settings;b(r.callback_enter,e,t,n),r.load_delay?function(e,t,n){var r=t.load_delay,o=f(e);o||(o=setTimeout(function(){I(e,t,n),k(e)},r),d(e,o))}(e,r,n):I(e,r,n)}(t.target,t,e):function(e,t,n){var r=n._settings;b(r.callback_exit,e,t,n),r.load_delay&&k(e)}(t.target,t,e)})},{root:(t=e._settings).container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}))},P=function(e){return Array.prototype.slice.call(e)},F=function(e){return e.container.querySelectorAll(e.elements_selector)},j=function(e){return!function(e){return null!==l(e,"ll-status")}(e)||function(e){return"observed"===l(e,"ll-status")}(e)},L=function(e){return function(e){return"error"===l(e,"ll-status")}(e)},R=function(e,t){return function(e){return P(e).filter(j)}(e||F(t))},$=function(e,n){var r;this._settings=i(e),this.loadingCount=0,O(this),r=this,t&&window.addEventListener("online",function(e){!function(e){var t,n=e._settings;(t=F(n),P(t).filter(L)).forEach(function(e){y(e,n.class_error),function(e){c(e,"ll-status",null)}(e)}),e.update()}(r)}),this.update(n)};return $.prototype={update:function(e){var t=this._settings,o=R(e,t);this.toLoadCount=o.length,!n&&r?E(t)?function(e,t,n){e.forEach(function(e){-1!==A.indexOf(e.tagName)&&(e.setAttribute("loading","lazy"),function(e,t,n){D(e,t,n),u(e,"native")}(e,t,n))}),n.toLoadCount=0}(o,t,this):function(e,t){!function(e){e.disconnect()}(e),function(e,t){t.forEach(function(t){e.observe(t),u(t,"observed")})}(e,t)}(this._observer,o):this.loadAll(o)},destroy:function(){this._observer&&this._observer.disconnect(),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(e){var t=this,n=this._settings;R(e,n).forEach(function(e){I(e,n,t)})},load:function(e){I(e,this._settings,this)}},$.load=function(e,t){var n=i(t);I(e,n)},t&&function(e,t){if(t)if(t.length)for(var n,r=0;n=t[r];r+=1)s(e,n);else s(e,t)}($,window.lazyLoadOptions),$}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(e){"use strict";var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),function(e){"use strict";e.fn.emulateTransitionEnd=function(t){var n=!1,r=this;e(this).one("bsTransitionEnd",function(){n=!0});return setTimeout(function(){n||e(r).trigger(e.support.transition.end)},t),this},e(function(){e.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){return e(t.target).is(this)?t.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.prototype.close=function(t){function r(){i.detach().trigger("closed.bs.alert").remove()}var o=e(this),a=o.attr("data-target");a||(a=(a=o.attr("href"))&&a.replace(/.*(?=#[^\s]*$)/,""));var i=e(a);t&&t.preventDefault(),i.length||(i=o.closest(".alert")),i.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",r).emulateTransitionEnd(n.TRANSITION_DURATION):r())};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),o=r.data("bs.alert");o||r.data("bs.alert",o=new n(this)),"string"==typeof t&&o[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.bs.alert.data-api",t,n.prototype.close)}(jQuery),function(e){"use strict";function t(t){return this.each(function(){var r=e(this),o=r.data("bs.button"),a="object"==typeof t&&t;o||r.data("bs.button",o=new n(this,a)),"toggle"==t?o.toggle():t&&o.setState(t)})}var n=function(t,r){this.$element=e(t),this.options=e.extend({},n.DEFAULTS,r),this.isLoading=!1};n.VERSION="3.3.5",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var n="disabled",r=this.$element,o=r.is("input")?"val":"html",a=r.data();t+="Text",null==a.resetText&&r.data("resetText",r[o]()),setTimeout(e.proxy(function(){r[o](null==a[t]?this.options[t]:a[t]),"loadingText"==t?(this.isLoading=!0,r.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var r=e.fn.button;e.fn.button=t,e.fn.button.Constructor=n,e.fn.button.noConflict=function(){return e.fn.button=r,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var r=e(n.target);r.hasClass("btn")||(r=r.closest(".btn")),t.call(r,"toggle"),e(n.target).is('input[type="radio"]')||e(n.target).is('input[type="checkbox"]')||n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(e){"use strict";function t(t){return this.each(function(){var r=e(this),o=r.data("bs.carousel"),a=e.extend({},n.DEFAULTS,r.data(),"object"==typeof t&&t),i="string"==typeof t?t:a.slide;o||r.data("bs.carousel",o=new n(this,a)),"number"==typeof t?o.to(t):i?o[i]():a.interval&&o.pause().cycle()})}var n=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};n.VERSION="3.3.5",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},n.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},n.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t);if(("prev"==e&&0===n||"next"==e&&n==this.$items.length-1)&&!this.options.wrap)return t;var r=(n+("prev"==e?-1:1))%this.$items.length;return this.$items.eq(r)},n.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));return e>this.$items.length-1||0>e?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},n.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){return this.sliding?void 0:this.slide("next")},n.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},n.prototype.slide=function(t,r){var o=this.$element.find(".item.active"),a=r||this.getItemForDirection(t,o),i=this.interval,s="next"==t?"left":"right",l=this;if(a.hasClass("active"))return this.sliding=!1;var c=a[0],u=e.Event("slide.bs.carousel",{relatedTarget:c,direction:s});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,i&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=e(this.$indicators.children()[this.getItemIndex(a)]);d&&d.addClass("active")}var f=e.Event("slid.bs.carousel",{relatedTarget:c,direction:s});return e.support.transition&&this.$element.hasClass("slide")?(a.addClass(t),a[0].offsetWidth,o.addClass(s),a.addClass(s),o.one("bsTransitionEnd",function(){a.removeClass([t,s].join(" ")).addClass("active"),o.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(f)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(o.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(f)),i&&this.cycle(),this}};var r=e.fn.carousel;e.fn.carousel=t,e.fn.carousel.Constructor=n,e.fn.carousel.noConflict=function(){return e.fn.carousel=r,this};var o=function(n){var r,o=e(this),a=e(o.attr("data-target")||(r=o.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var i=e.extend({},a.data(),o.data()),s=o.attr("data-slide-to");s&&(i.interval=!1),t.call(a,i),s&&a.data("bs.carousel").to(s),n.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var n=e(this);t.call(n,n.data())})})}(jQuery),function(e){"use strict";function t(t){var n,r=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(r)}function n(t){return this.each(function(){var n=e(this),o=n.data("bs.collapse"),a=e.extend({},r.DEFAULTS,n.data(),"object"==typeof t&&t);!o&&a.toggle&&/show|hide/.test(t)&&(a.toggle=!1),o||n.data("bs.collapse",o=new r(this,a)),"string"==typeof t&&o[t]()})}var r=function(t,n){this.$element=e(t),this.options=e.extend({},r.DEFAULTS,n),this.$trigger=e('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};r.VERSION="3.3.5",r.TRANSITION_DURATION=350,r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(t=o.data("bs.collapse"),t&&t.transitioning))){var a=e.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){o&&o.length&&(n.call(o,"hide"),t||o.data("bs.collapse",null));var i=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[i](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[i](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return s.call(this);var l=e.camelCase(["scroll",i].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(r.TRANSITION_DURATION)[i](this.$element[0][l])}}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=e.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return e.support.transition?void this.$element[n](0).one("bsTransitionEnd",e.proxy(o,this)).emulateTransitionEnd(r.TRANSITION_DURATION):o.call(this)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},r.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(n,r){var o=e(r);this.addAriaAndCollapsedClass(t(o),o)},this)).end()},r.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=e.fn.collapse;e.fn.collapse=n,e.fn.collapse.Constructor=r,e.fn.collapse.noConflict=function(){return e.fn.collapse=o,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(r){var o=e(this);o.attr("data-target")||r.preventDefault();var a=t(o),i=a.data("bs.collapse")?"toggle":o.data();n.call(a,i)})}(jQuery),function(e){"use strict";function t(t){var n=t.attr("data-target");n||(n=(n=t.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&e(n);return r&&r.length?r:t.parent()}function n(n){n&&3===n.which||(e(r).remove(),e(o).each(function(){var r=e(this),o=t(r),a={relatedTarget:this};o.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&e.contains(o[0],n.target)||(o.trigger(n=e.Event("hide.bs.dropdown",a)),n.isDefaultPrevented()||(r.attr("aria-expanded","false"),o.removeClass("open").trigger("hidden.bs.dropdown",a))))}))}var r=".dropdown-backdrop",o='[data-toggle="dropdown"]',a=function(t){e(t).on("click.bs.dropdown",this.toggle)};a.VERSION="3.3.5",a.prototype.toggle=function(r){var o=e(this);if(!o.is(".disabled, :disabled")){var a=t(o),i=a.hasClass("open");if(n(),!i){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",n);var s={relatedTarget:this};if(a.trigger(r=e.Event("show.bs.dropdown",s)),r.isDefaultPrevented())return;o.trigger("focus").attr("aria-expanded","true"),a.toggleClass("open").trigger("shown.bs.dropdown",s)}return!1}},a.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var r=e(this);if(n.preventDefault(),n.stopPropagation(),!r.is(".disabled, :disabled")){var a=t(r),i=a.hasClass("open");if(!i&&27!=n.which||i&&27==n.which)return 27==n.which&&a.find(o).trigger("focus"),r.trigger("click");var s=a.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var l=s.index(n.target);38==n.which&&l>0&&l--,40==n.which&&ldocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},t.prototype.init=function(t,n,r){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),a=o.length;a--;){var i=o[a];if("click"==i)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=i){var s="hover"==i?"mouseenter":"focusin",l="hover"==i?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){return(t=e.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},t.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,r){n[e]!=r&&(t[e]=r)}),t},t.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},t.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},t.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),n.isInStateTrue()?void 0:(clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide())},t.prototype.show=function(){var n=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var r=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!r)return;var o=this,a=this.tip(),i=this.getUID(this.type);this.setContent(),a.attr("id",i),this.$element.attr("aria-describedby",i),this.options.animation&&a.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(s);c&&(s=s.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),d=a[0].offsetWidth,f=a[0].offsetHeight;if(c){var p=s,h=this.getPosition(this.$viewport);s="bottom"==s&&u.bottom+f>h.bottom?"top":"top"==s&&u.top-fh.width?"left":"left"==s&&u.left-di.top+i.height&&(o.top=i.top+i.height-l)}else{var c=t.left-a,u=t.left+a+n;ci.right&&(o.left=i.left+i.width-u)}return o},t.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},t.prototype.getUID=function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},t.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var n=this;t&&((n=e(t.currentTarget).data("bs."+this.type))||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},t.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null})};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var r=e(this),o=r.data("bs.tooltip"),a="object"==typeof n&&n;(o||!/destroy|hide/.test(n))&&(o||r.data("bs.tooltip",o=new t(this,a)),"string"==typeof n&&o[n]())})},e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(jQuery),function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.5",t.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),t.prototype.constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var r=e(this),o=r.data("bs.popover"),a="object"==typeof n&&n;(o||!/destroy|hide/.test(n))&&(o||r.data("bs.popover",o=new t(this,a)),"string"==typeof n&&o[n]())})},e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),function(e){"use strict";function t(n,r){this.$body=e(document.body),this.$scrollElement=e(e(n).is(document.body)?window:n),this.options=e.extend({},t.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var r=e(this),o=r.data("bs.scrollspy"),a="object"==typeof n&&n;o||r.data("bs.scrollspy",o=new t(this,a)),"string"==typeof n&&o[n]()})}t.VERSION="3.3.5",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=e(this),o=t.data("target")||t.attr("href"),a=/^#./.test(o)&&e(o);return a&&a.length&&a.is(":visible")&&[[a[n]().top+r,o]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,a=this.targets,i=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),t>=r)return i!=(e=a[a.length-1])&&this.activate(e);if(i&&t=o[e]&&(void 0===o[e+1]||t .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}var i=r.find("> .active"),s=o&&e.support.transition&&(i.length&&i.hasClass("fade")||!!r.find("> .fade").length);i.length&&s?i.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a(),i.removeClass("in")};var r=e.fn.tab;e.fn.tab=t,e.fn.tab.Constructor=n,e.fn.tab.noConflict=function(){return e.fn.tab=r,this};var o=function(n){n.preventDefault(),t.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),function(e){"use strict";function t(t){return this.each(function(){var r=e(this),o=r.data("bs.affix"),a="object"==typeof t&&t;o||r.data("bs.affix",o=new n(this,a)),"string"==typeof t&&o[t]()})}var n=function(t,r){this.options=e.extend({},n.DEFAULTS,r),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.5",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(e,t,n,r){var o=this.$target.scrollTop(),a=this.$element.offset(),i=this.$target.height();if(null!=n&&"top"==this.affixed)return n>o&&"top";if("bottom"==this.affixed)return null!=n?!(o+this.unpin<=a.top)&&"bottom":!(e-r>=o+i)&&"bottom";var s=null==this.affixed,l=s?o:a.top;return null!=n&&n>=o?"top":null!=r&&l+(s?i:t)>=e-r&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},n.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),r=this.options.offset,o=r.top,a=r.bottom,i=Math.max(e(document).height(),e(document.body).height());"object"!=typeof r&&(a=o=r),"function"==typeof o&&(o=r.top(this.$element)),"function"==typeof a&&(a=r.bottom(this.$element));var s=this.getState(i,t,o,a);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),c=e.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:i-t-a})}};var r=e.fn.affix;e.fn.affix=t,e.fn.affix.Constructor=n,e.fn.affix.noConflict=function(){return e.fn.affix=r,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var n=e(this),r=n.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),t.call(n,r)})})}(jQuery),define("bootstrap",["jquery"],function(){}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("bootbox",["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):e.bootbox=t(e.jQuery)}(this,function e(t,n){"use strict";var r,o,a,i;Object.keys||(Object.keys=(r=Object.prototype.hasOwnProperty,o=!{toString:null}.propertyIsEnumerable("toString"),i=(a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(e){if("function"!=typeof e&&("object"!=typeof e||null===e))throw new TypeError("Object.keys called on non-object");var t,n,s=[];for(t in e)r.call(e,t)&&s.push(t);if(o)for(n=0;n