UNPKG

@xivapi/vue-xivtooltips

Version:

A simple library to display tooltips for Final Fantasy XIV data

51 lines 86.2 kB
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["VueXIVTooltips"]=e():t["VueXIVTooltips"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"0a06":function(t,e,n){"use strict";var r=n("c532"),o=n("30b5"),i=n("f6b4"),s=n("5270"),a=n("4a7b");function c(t){this.defaults=t,this.interceptors={request:new i,response:new i}}c.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=a(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[s,void 0],n=Promise.resolve(t);this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));while(e.length)n=n.then(e.shift(),e.shift());return n},c.prototype.getUri=function(t){return t=a(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,n){return this.request(a(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,n,r){return this.request(a(r||{},{method:t,url:e,data:n}))}})),t.exports=c},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},2444:function(t,e,n){"use strict";(function(e){var r=n("c532"),o=n("c8af"),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function a(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("b50d")),t}var c={adapter:a(),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(s(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(i)})),t.exports=c}).call(this,n("4362"))},"2d83":function(t,e,n){"use strict";var r=n("387f");t.exports=function(t,e,n,o,i){var s=new Error(t);return r(s,e,n,o,i)}},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2f62":function(t,e,n){"use strict";(function(t){
/**
 * vuex v3.3.0
 * (c) 2020 Evan You
 * @license MIT
 */
function n(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:r});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[r].concat(t.init):r,n.call(this,t)}}function r(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var r="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){o.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){o.emit("vuex:action",t,e)}),{prepend:!0}))}function s(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function a(t){return null!==t&&"object"===typeof t}function c(t){return t&&"function"===typeof t.then}function u(t,e){return function(){return t(e)}}var f=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},l={namespaced:{configurable:!0}};l.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(t,e){this._children[t]=e},f.prototype.removeChild=function(t){delete this._children[t]},f.prototype.getChild=function(t){return this._children[t]},f.prototype.hasChild=function(t){return t in this._children},f.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},f.prototype.forEachChild=function(t){s(this._children,t)},f.prototype.forEachGetter=function(t){this._rawModule.getters&&s(this._rawModule.getters,t)},f.prototype.forEachAction=function(t){this._rawModule.actions&&s(this._rawModule.actions,t)},f.prototype.forEachMutation=function(t){this._rawModule.mutations&&s(this._rawModule.mutations,t)},Object.defineProperties(f.prototype,l);var p=function(t){this.register([],t,!1)};function d(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;d(t.concat(r),e.getChild(r),n.modules[r])}}p.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},p.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},p.prototype.update=function(t){d([],this.root,t)},p.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new f(e,n);if(0===t.length)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}e.modules&&s(e.modules,(function(e,o){r.register(t.concat(o),e,n)}))},p.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)},p.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return e.hasChild(n)};var h;var m=function(t){var e=this;void 0===t&&(t={}),!h&&"undefined"!==typeof window&&window.Vue&&T(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new p(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new h,this._makeLocalGettersCache=Object.create(null);var o=this,s=this,a=s.dispatch,c=s.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return c.call(o,t,e,n)},this.strict=r;var u=this._modules.root.state;w(this,u,[],this._modules.root),b(this,u),n.forEach((function(t){return t(e)}));var f=void 0!==t.devtools?t.devtools:h.config.devtools;f&&i(this)},v={state:{configurable:!0}};function g(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function y(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;w(t,n,[],t._modules.root,!0),b(t,n,e)}function b(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,i={};s(o,(function(e,n){i[n]=u(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=h.config.silent;h.config.silent=!0,t._vm=new h({data:{$$state:e},computed:i}),h.config.silent=a,t.strict&&S(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),h.nextTick((function(){return r.$destroy()})))}function w(t,e,n,r,o){var i=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!i&&!o){var a=E(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){h.set(a,c,r.state)}))}var u=r.context=_(t,s,n);r.forEachMutation((function(e,n){var r=s+n;A(t,r,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:s+n,o=e.handler||e;C(t,r,o,u)})),r.forEachGetter((function(e,n){var r=s+n;O(t,r,e,u)})),r.forEachChild((function(r,i){w(t,e,n.concat(i),r,o)}))}function _(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=j(n,r,o),s=i.payload,a=i.options,c=i.type;return a&&a.root||(c=e+c),t.dispatch(c,s)},commit:r?t.commit:function(n,r,o){var i=j(n,r,o),s=i.payload,a=i.options,c=i.type;a&&a.root||(c=e+c),t.commit(c,s,a)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return x(t,e)}},state:{get:function(){return E(t.state,n)}}}),o}function x(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function A(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push((function(e){n.call(t,r.state,e)}))}function C(t,e,n,r){var o=t._actions[e]||(t._actions[e]=[]);o.push((function(e){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return c(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}function O(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function S(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function E(t,e){return e.reduce((function(t,e){return t[e]}),t)}function j(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function T(t){h&&t===h||(h=t,n(h))}v.state.get=function(){return this._vm._data.$$state},v.state.set=function(t){0},m.prototype.commit=function(t,e,n){var r=this,o=j(t,e,n),i=o.type,s=o.payload,a=(o.options,{type:i,payload:s}),c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,r.state)})))},m.prototype.dispatch=function(t,e){var n=this,r=j(t,e),o=r.type,i=r.payload,s={type:o,payload:i},a=this._actions[o];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(u){0}var c=a.length>1?Promise.all(a.map((function(t){return t(i)}))):a[0](i);return c.then((function(t){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(u){0}return t}))}},m.prototype.subscribe=function(t,e){return g(t,this._subscribers,e)},m.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return g(n,this._actionSubscribers,e)},m.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},m.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},m.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),w(this,this.state,t,this._modules.get(t),n.preserveState),b(this,this.state)},m.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=E(e.state,t.slice(0,-1));h.delete(n,t[t.length-1])})),y(this)},m.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},m.prototype.hotUpdate=function(t){this._modules.update(t),y(this,!0)},m.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(m.prototype,v);var N=B((function(t,e){var n={};return R(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=I(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0})),n})),M=B((function(t,e){var n={};return R(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=I(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"===typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n})),P=B((function(t,e){var n={};return R(e).forEach((function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||I(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0})),n})),k=B((function(t,e){var n={};return R(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=I(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"===typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n})),D=function(t){return{mapState:N.bind(null,t),mapGetters:P.bind(null,t),mapMutations:M.bind(null,t),mapActions:k.bind(null,t)}};function R(t){return L(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function L(t){return Array.isArray(t)||a(t)}function B(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function I(t,e,n){var r=t._modulesNamespaceMap[n];return r}var $={Store:m,install:T,version:"3.3.0",mapState:N,mapMutations:M,mapGetters:P,mapActions:k,createNamespacedHelpers:D};e["a"]=$}).call(this,n("c8ba"))},"30b5":function(t,e,n){"use strict";var r=n("c532");function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var s=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(o(e)+"="+o(t))})))})),i=s.join("&")}if(i){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},3934:function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"3d28":function(t,e,n){"use strict";n("9610")},4362:function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,r="/";e.cwd=function(){return r},e.chdir=function(e){t||(t=n("df7c")),r=t.resolve(e,r)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"467f":function(t,e,n){"use strict";var r=n("2d83");t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"4a7b":function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){e=e||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function c(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function u(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=c(void 0,t[o])):n[o]=c(t[o],e[o])}r.forEach(o,(function(t){r.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),r.forEach(i,u),r.forEach(s,(function(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=c(void 0,t[o])):n[o]=c(void 0,e[o])})),r.forEach(a,(function(r){r in e?n[r]=c(t[r],e[r]):r in t&&(n[r]=c(void 0,t[r]))}));var f=o.concat(i).concat(s).concat(a),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===f.indexOf(t)}));return r.forEach(l,u),n}},"526e":function(t,e,n){!function(e,r){t.exports=r(n("f0bd"))}(0,(function(t){"use strict";function e(t,e,n){t&&e&&n&&(document.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n))}function n(t,e,n){t&&e&&(document.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n))}t=t&&t.hasOwnProperty("default")?t.default:t;var r={props:{tagName:{type:String,default:"span"},trigger:{type:String,default:"hover",validator:function(t){return["clickToOpen","click","clickToToggle","hover","focus"].indexOf(t)>-1}},delayOnMouseOver:{type:Number,default:10},delayOnMouseOut:{type:Number,default:10},disabled:{type:Boolean,default:!1},content:String,enterActiveClass:String,leaveActiveClass:String,boundariesSelector:String,reference:{},forceShow:{type:Boolean,default:!1},dataValue:{default:null},appendToBody:{type:Boolean,default:!1},visibleArrow:{type:Boolean,default:!0},transition:{type:String,default:""},stopPropagation:{type:Boolean,default:!1},preventDefault:{type:Boolean,default:!1},options:{type:Object,default:function(){return{}}},rootClass:{type:String,default:""}},data:function(){return{referenceElm:null,popperJS:null,showPopper:!1,currentPlacement:"",popperOptions:{placement:"bottom",computeStyle:{gpuAcceleration:!1}}}},watch:{showPopper:function(t){t?(this.$emit("show",this),this.popperJS&&this.popperJS.enableEventListeners(),this.updatePopper()):(this.popperJS&&this.popperJS.disableEventListeners(),this.$emit("hide",this))},forceShow:{handler:function(t){this[t?"doShow":"doClose"]()},immediate:!0},disabled:function(t){t&&(this.showPopper=!1)}},created:function(){this.appendedArrow=!1,this.appendedToBody=!1,this.popperOptions=Object.assign(this.popperOptions,this.options)},mounted:function(){switch(this.referenceElm=this.reference||this.$slots.reference[0].elm,this.popper=this.$slots.default[0].elm,this.trigger){case"clickToOpen":e(this.referenceElm,"click",this.doShow),e(document,"click",this.handleDocumentClick);break;case"click":case"clickToToggle":e(this.referenceElm,"click",this.doToggle),e(document,"click",this.handleDocumentClick);break;case"hover":e(this.referenceElm,"mouseover",this.onMouseOver),e(this.popper,"mouseover",this.onMouseOver),e(this.referenceElm,"mouseout",this.onMouseOut),e(this.popper,"mouseout",this.onMouseOut);break;case"focus":e(this.referenceElm,"focus",this.onMouseOver),e(this.popper,"focus",this.onMouseOver),e(this.referenceElm,"blur",this.onMouseOut),e(this.popper,"blur",this.onMouseOut)}},methods:{doToggle:function(t){this.stopPropagation&&t.stopPropagation(),this.preventDefault&&t.preventDefault(),this.forceShow||(this.showPopper=!this.showPopper)},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},doDestroy:function(){this.showPopper||(this.popperJS&&(this.popperJS.destroy(),this.popperJS=null),this.appendedToBody&&(this.appendedToBody=!1,document.body.removeChild(this.popper.parentElement)))},createPopper:function(){var e=this;this.$nextTick((function(){if(e.visibleArrow&&e.appendArrow(e.popper),e.appendToBody&&!e.appendedToBody&&(e.appendedToBody=!0,document.body.appendChild(e.popper.parentElement)),e.popperJS&&e.popperJS.destroy&&e.popperJS.destroy(),e.boundariesSelector){var n=document.querySelector(e.boundariesSelector);n&&(e.popperOptions.modifiers=Object.assign({},e.popperOptions.modifiers),e.popperOptions.modifiers.preventOverflow=Object.assign({},e.popperOptions.modifiers.preventOverflow),e.popperOptions.modifiers.preventOverflow.boundariesElement=n)}e.popperOptions.onCreate=function(){e.$emit("created",e),e.$nextTick(e.updatePopper)},e.popperJS=new t(e.referenceElm,e.popper,e.popperOptions)}))},destroyPopper:function(){n(this.referenceElm,"click",this.doToggle),n(this.referenceElm,"mouseup",this.doClose),n(this.referenceElm,"mousedown",this.doShow),n(this.referenceElm,"focus",this.doShow),n(this.referenceElm,"blur",this.doClose),n(this.referenceElm,"mouseout",this.onMouseOut),n(this.referenceElm,"mouseover",this.onMouseOver),n(document,"click",this.handleDocumentClick),this.showPopper=!1,this.doDestroy()},appendArrow:function(t){if(!this.appendedArrow){this.appendedArrow=!0;var e=document.createElement("div");e.setAttribute("x-arrow",""),e.className="popper__arrow",t.appendChild(e)}},updatePopper:function(){this.popperJS?this.popperJS.scheduleUpdate():this.createPopper()},onMouseOver:function(){var t=this;clearTimeout(this._timer),this._timer=setTimeout((function(){t.showPopper=!0}),this.delayOnMouseOver)},onMouseOut:function(){var t=this;clearTimeout(this._timer),this._timer=setTimeout((function(){t.showPopper=!1}),this.delayOnMouseOut)},handleDocumentClick:function(t){this.$el&&this.referenceElm&&!this.elementContains(this.$el,t.target)&&!this.elementContains(this.referenceElm,t.target)&&this.popper&&!this.elementContains(this.popper,t.target)&&(this.$emit("documentClick",this),this.forceShow||(this.showPopper=!1))},elementContains:function(t,e){return"function"==typeof t.contains&&t.contains(e)}},destroyed:function(){this.destroyPopper()}};const o=r;return r.__file="popper.js.vue",function(t,e,n,r,o,i,s,a,c,u){"function"==typeof s&&(c=a,a=s,s=!1);const f="function"==typeof n?n.options:n;let l;if(t&&t.render&&(f.render=t.render,f.staticRenderFns=t.staticRenderFns,f._compiled=!0,o&&(f.functional=!0)),r&&(f._scopeId=r),i?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=l):e&&(l=s?function(){e.call(this,u(this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),l)if(f.functional){const t=f.render;f.render=function(e,n){return l.call(n),t(e,n)}}else{const t=f.beforeCreate;f.beforeCreate=t?[].concat(t,l):[l]}return n}({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.tagName,{tag:"component"},[n("transition",{attrs:{name:t.transition,"enter-active-class":t.enterActiveClass,"leave-active-class":t.leaveActiveClass},on:{"after-leave":t.doDestroy}},[n("span",{directives:[{name:"show",rawName:"v-show",value:!t.disabled&&t.showPopper,expression:"!disabled && showPopper"}],ref:"popper",class:t.rootClass},[t._t("default",[t._v(t._s(t.content))])],2)]),t._v(" "),t._t("reference")],2)},staticRenderFns:[]},void 0,o,void 0,!1,void 0,void 0,void 0)}))},5270:function(t,e,n){"use strict";var r=n("c532"),o=n("c401"),i=n("2e67"),s=n("2444");function a(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){a(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||s.adapter;return e(t).then((function(e){return a(t),e.data=o(e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(a(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"5bc5":function(t,e,n){"use strict";n.r(e),n.d(e,"parse",(function(){return o})),n.d(e,"stringify",(function(){return i}));var r=function(t,e){
/*!
   * ISC License
   *
   * Copyright (c) 2018, Andrea Giammarchi, @WebReflection
   *
   * Permission to use, copy, modify, and/or distribute this software for any
   * purpose with or without fee is hereby granted, provided that the above
   * copyright notice and this permission notice appear in all copies.
   *
   * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
   * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
   * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
   * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
   * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
   * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
   * PERFORMANCE OF THIS SOFTWARE.
   */
var n={parse:function(t,e){var n=JSON.parse(t,a).map(s),i=n[0],c=e||r,u="object"===typeof i&&i?o(n,new Set,i,c):i;return c.call({"":u},"",u)},stringify:function(t,n,o){for(var s,a=new Map,c=[],u=[],f=n&&typeof n===typeof c?function(t,e){if(""===t||-1<n.indexOf(t))return e}:n||r,l=+i(a,c,f.call({"":t},"",t)),p=function(t,n){if(s)return s=!s,n;var r=f.call(this,t,n);switch(typeof r){case"object":if(null===r)return r;case e:return a.get(r)||i(a,c,r)}return r};l<c.length;l++)s=!0,u[l]=JSON.stringify(c[l],p,o);return"["+u.join(",")+"]"}};return n;function r(t,e){return e}function o(e,n,r,i){return Object.keys(r).reduce((function(r,s){var a=r[s];if(a instanceof t){var c=e[a];"object"!==typeof c||n.has(c)?r[s]=i.call(r,s,c):(n.add(c),r[s]=i.call(r,s,o(e,n,c,i)))}else r[s]=i.call(r,s,a);return r}),r)}function i(e,n,r){var o=t(n.push(r)-1);return e.set(r,o),o}function s(e){return e instanceof t?t(e):e}function a(n,r){return typeof r===e?new t(r):r}}(String,"string");e["default"]=r;var o=r.parse,i=r.stringify},"5f02":function(t,e,n){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"7a77":function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},"7aac":function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,i,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"83b9":function(t,e,n){"use strict";var r=n("d925"),o=n("e683");t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},8875:function(t,e,n){var r,o,i;(function(n,s){o=[],r=s,i="function"===typeof r?r.apply(e,o):r,void 0===i||(t.exports=i)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,s=/@([^@]*):(\d+):(\d+)\s*$/gi,a=i.exec(d.stack)||s.exec(d.stack),c=a&&a[1]||!1,u=a&&a[2]||!1,f=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");c===f&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var p=0;p<l.length;p++){if("interactive"===l[p].readyState)return l[p];if(l[p].src===c)return l[p];if(c===f&&l[p].innerHTML&&l[p].innerHTML.trim()===o)return l[p]}return null}}return t}))},"8df4":function(t,e,n){"use strict";var r=n("7a77");function o(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t,e=new o((function(e){t=e}));return{token:e,cancel:t}},t.exports=o},"8e66":function(t,e,n){"use strict";n("f799")},9610:function(t,e,n){},a101:function(t,e,n){},b50d:function(t,e,n){"use strict";var r=n("c532"),o=n("467f"),i=n("7aac"),s=n("30b5"),a=n("83b9"),c=n("c345"),u=n("3934"),f=n("2d83");t.exports=function(t){return new Promise((function(e,n){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.Authorization="Basic "+btoa(h+":"+m)}var v=a(t.baseURL,t.url);if(d.open(t.method.toUpperCase(),s(v,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,i=t.responseType&&"text"!==t.responseType?d.response:d.responseText,s={data:i,status:d.status,statusText:d.statusText,headers:r,config:t,request:d};o(e,n,s),d=null}},d.onabort=function(){d&&(n(f("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(f("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(f(e,t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=(t.withCredentials||u(v))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;g&&(p[t.xsrfHeaderName]=g)}if("setRequestHeader"in d&&r.forEach(p,(function(t,e){"undefined"===typeof l&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),t.responseType)try{d.responseType=t.responseType}catch(y){if("json"!==t.responseType)throw y}"function"===typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),n(t),d=null)})),l||(l=null),d.send(l)}))}},bc3a:function(t,e,n){t.exports=n("cee4")},c345:function(t,e,n){"use strict";var r=n("c532"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,s={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(s[e]&&o.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},c401:function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},c532:function(t,e,n){"use strict";var r=n("1d2b"),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function s(t){return"undefined"===typeof t}function a(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===o.call(t)}function u(t){return"undefined"!==typeof FormData&&t instanceof FormData}function f(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function l(t){return"string"===typeof t}function p(t){return"number"===typeof t}function d(t){return null!==t&&"object"===typeof t}function h(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function m(t){return"[object Date]"===o.call(t)}function v(t){return"[object File]"===o.call(t)}function g(t){return"[object Blob]"===o.call(t)}function y(t){return"[object Function]"===o.call(t)}function b(t){return d(t)&&y(t.pipe)}function w(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function _(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function A(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}function C(){var t={};function e(e,n){h(t[n])&&h(e)?t[n]=C(t[n],e):h(e)?t[n]=C({},e):i(e)?t[n]=e.slice():t[n]=e}for(var n=0,r=arguments.length;n<r;n++)A(arguments[n],e);return t}function O(t,e,n){return A(e,(function(e,o){t[o]=n&&"function"===typeof e?r(e,n):e})),t}function S(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:i,isArrayBuffer:c,isBuffer:a,isFormData:u,isArrayBufferView:f,isString:l,isNumber:p,isObject:d,isPlainObject:h,isUndefined:s,isDate:m,isFile:v,isBlob:g,isFunction:y,isStream:b,isURLSearchParams:w,isStandardBrowserEnv:x,forEach:A,merge:C,extend:O,trim:_,stripBOM:S}},c8af:function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},cee4:function(t,e,n){"use strict";var r=n("c532"),o=n("1d2b"),i=n("0a06"),s=n("4a7b"),a=n("2444");function c(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var u=c(a);u.Axios=i,u.create=function(t){return c(s(u.defaults,t))},u.Cancel=n("7a77"),u.CancelToken=n("8df4"),u.isCancel=n("2e67"),u.all=function(t){return Promise.all(t)},u.spread=n("0df6"),u.isAxiosError=n("5f02"),t.exports=u,t.exports.default=u},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},da81:function(t,e,n){(function(t,n){var r=200,o="__lodash_hash_undefined__",i=800,s=16,a=9007199254740991,c="[object Arguments]",u="[object Array]",f="[object AsyncFunction]",l="[object Boolean]",p="[object Date]",d="[object Error]",h="[object Function]",m="[object GeneratorFunction]",v="[object Map]",g="[object Number]",y="[object Null]",b="[object Object]",w="[object Proxy]",_="[object RegExp]",x="[object Set]",A="[object String]",C="[object Undefined]",O="[object WeakMap]",S="[object ArrayBuffer]",E="[object DataView]",j="[object Float32Array]",T="[object Float64Array]",N="[object Int8Array]",M="[object Int16Array]",P="[object Int32Array]",k="[object Uint8Array]",D="[object Uint8ClampedArray]",R="[object Uint16Array]",L="[object Uint32Array]",B=/[\\^$.*+?()[\]{}|]/g,I=/^\[object .+?Constructor\]$/,$=/^(?:0|[1-9]\d*)$/,F={};F[j]=F[T]=F[N]=F[M]=F[P]=F[k]=F[D]=F[R]=F[L]=!0,F[c]=F[u]=F[S]=F[l]=F[E]=F[p]=F[d]=F[h]=F[v]=F[g]=F[b]=F[_]=F[x]=F[A]=F[O]=!1;var U="object"==typeof t&&t&&t.Object===Object&&t,H="object"==typeof self&&self&&self.Object===Object&&self,V=U||H||Function("return this")(),z=e&&!e.nodeType&&e,J=z&&"object"==typeof n&&n&&!n.nodeType&&n,q=J&&J.exports===z,W=q&&U.process,G=function(){try{var t=J&&J.require&&J.require("util").types;return t||W&&W.binding&&W.binding("util")}catch(e){}}(),X=G&&G.isTypedArray;function Q(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function K(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function Y(t){return function(e){return t(e)}}function Z(t,e){return null==t?void 0:t[e]}function tt(t,e){return function(n){return t(e(n))}}var et=Array.prototype,nt=Function.prototype,rt=Object.prototype,ot=V["__core-js_shared__"],it=nt.toString,st=rt.hasOwnProperty,at=function(){var t=/[^.]+$/.exec(ot&&ot.keys&&ot.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ct=rt.toString,ut=it.call(Object),ft=RegExp("^"+it.call(st).replace(B,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),lt=q?V.Buffer:void 0,pt=V.Symbol,dt=V.Uint8Array,ht=lt?lt.allocUnsafe:void 0,mt=tt(Object.getPrototypeOf,Object),vt=Object.create,gt=rt.propertyIsEnumerable,yt=et.splice,bt=pt?pt.toStringTag:void 0,wt=function(){try{var t=we(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),_t=lt?lt.isBuffer:void 0,xt=Math.max,At=Date.now,Ct=we(V,"Map"),Ot=we(Object,"create"),St=function(){function t(){}return function(e){if(!Ve(e))return{};if(vt)return vt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Et(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function jt(){this.__data__=Ot?Ot(null):{},this.size=0}function Tt(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Nt(t){var e=this.__data__;if(Ot){var n=e[t];return n===o?void 0:n}return st.call(e,t)?e[t]:void 0}function Mt(t){var e=this.__data__;return Ot?void 0!==e[t]:st.call(e,t)}function Pt(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ot&&void 0===e?o:e,this}function kt(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Dt(){this.__data__=[],this.size=0}function Rt(t){var e=this.__data__,n=te(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():yt.call(e,n,1),--this.size,!0}function Lt(t){var e=this.__data__,n=te(e,t);return n<0?void 0:e[n][1]}function Bt(t){return te(this.__data__,t)>-1}function It(t,e){var n=this.__data__,r=te(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function $t(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Ft(){this.size=0,this.__data__={hash:new Et,map:new(Ct||kt),string:new Et}}function Ut(t){var e=be(this,t)["delete"](t);return this.size-=e?1:0,e}function Ht(t){return be(this,t).get(t)}function Vt(t){return be(this,t).has(t)}function zt(t,e){var n=be(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function Jt(t){var e=this.__data__=new kt(t);this.size=e.size}function qt(){this.__data__=new kt,this.size=0}function Wt(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}function Gt(t){return this.__data__.get(t)}function Xt(t){return this.__data__.has(t)}function Qt(t,e){var n=this.__data__;if(n instanceof kt){var o=n.__data__;if(!Ct||o.length<r-1)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new $t(o)}return n.set(t,e),this.size=n.size,this}function Kt(t,e){var n=Be(t),r=!n&&Le(t),o=!n&&!r&&Fe(t),i=!n&&!r&&!o&&qe(t),s=n||r||o||i,a=s?K(t.length,String):[],c=a.length;for(var u in t)!e&&!st.call(t,u)||s&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Ae(u,c))||a.push(u);return a}function Yt(t,e,n){(void 0!==n&&!Re(t[e],n)||void 0===n&&!(e in t))&&ee(t,e,n)}function Zt(t,e,n){var r=t[e];st.call(t,e)&&Re(r,n)&&(void 0!==n||e in t)||ee(t,e,n)}function te(t,e){var n=t.length;while(n--)if(Re(t[n][0],e))return n;return-1}function ee(t,e,n){"__proto__"==e&&wt?wt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}Et.prototype.clear=jt,Et.prototype["delete"]=Tt,Et.prototype.get=Nt,Et.prototype.has=Mt,Et.prototype.set=Pt,kt.prototype.clear=Dt,kt.prototype["delete"]=Rt,kt.prototype.get=Lt,kt.prototype.has=Bt,kt.prototype.set=It,$t.prototype.clear=Ft,$t.prototype["delete"]=Ut,$t.prototype.get=Ht,$t.prototype.has=Vt,$t.prototype.set=zt,Jt.prototype.clear=qt,Jt.prototype["delete"]=Wt,Jt.prototype.get=Gt,Jt.prototype.has=Xt,Jt.prototype.set=Qt;var ne=ye();function re(t){return null==t?void 0===t?C:y:bt&&bt in Object(t)?_e(t):Te(t)}function oe(t){return ze(t)&&re(t)==c}function ie(t){if(!Ve(t)||Se(t))return!1;var e=Ue(t)?ft:I;return e.test(De(t))}function se(t){return ze(t)&&He(t.length)&&!!F[re(t)]}function ae(t){if(!Ve(t))return je(t);var e=Ee(t),n=[];for(var r in t)("constructor"!=r||!e&&st.call(t,r))&&n.push(r);return n}function ce(t,e,n,r,o){t!==e&&ne(e,(function(i,s){if(o||(o=new Jt),Ve(i))ue(t,e,s,n,ce,r,o);else{var a=r?r(Me(t,s),i,s+"",t,e,o):void 0;void 0===a&&(a=i),Yt(t,s,a)}}),Ge)}function ue(t,e,n,r,o,i,s){var a=Me(t,n),c=Me(e,n),u=s.get(c);if(u)Yt(t,n,u);else{var f=i?i(a,c,n+"",t,e,s):void 0,l=void 0===f;if(l){var p=Be(c),d=!p&&Fe(c),h=!p&&!d&&qe(c);f=c,p||d||h?Be(a)?f=a:$e(a)?f=me(a):d?(l=!1,f=pe(c,!0)):h?(l=!1,f=he(c,!0)):f=[]:Je(c)||Le(c)?(f=a,Le(a)?f=We(a):Ve(a)&&!Ue(a)||(f=xe(c))):l=!1}l&&(s.set(c,f),o(f,c,r,i,s),s["delete"](c)),Yt(t,n,f)}}function fe(t,e){return Pe(Ne(t,e,Ke),t+"")}var le=wt?function(t,e){return wt(t,"toString",{configurable:!0,enumerable:!1,value:Qe(e),writable:!0})}:Ke;function pe(t,e){if(e)return t.slice();var n=t.length,r=ht?ht(n):new t.constructor(n);return t.copy(r),r}function de(t){var e=new t.constructor(t.byteLength);return new dt(e).set(new dt(t)),e}function he(t,e){var n=e?de(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function me(t,e){var n=-1,r=t.length;e||(e=Array(r));while(++n<r)e[n]=t[n];return e}function ve(t,e,n,r){var o=!n;n||(n={});var i=-1,s=e.length;while(++i<s){var a=e[i],c=r?r(n[a],t[a],a,n,t):void 0;void 0===c&&(c=t[a]),o?ee(n,a,c):Zt(n,a,c)}return n}function ge(t){return fe((function(e,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;i=t.length>3&&"function"==typeof i?(o--,i):void 0,s&&Ce(n[0],n[1],s)&&(i=o<3?void 0:i,o=1),e=Object(e);while(++r<o){var a=n[r];a&&t(e,a,r,i)}return e}))}function ye(t){return function(e,n,r){var o=-1,i=Object(e),s=r(e),a=s.length;while(a--){var c=s[t?a:++o];if(!1===n(i[c],c,i))break}return e}}function be(t,e){var n=t.__data__;return Oe(e)?n["string"==typeof e?"string":"hash"]:n.map}function we(t,e){var n=Z(t,e);return ie(n)?n:void 0}function _e(t){var e=st.call(t,bt),n=t[bt];try{t[bt]=void 0;var r=!0}catch(i){}var o=ct.call(t);return r&&(e?t[bt]=n:delete t[bt]),o}function xe(t){return"function"!=typeof t.constructor||Ee(t)?{}:St(mt(t))}function Ae(t,e){var n=typeof t;return e=null==e?a:e,!!e&&("number"==n||"symbol"!=n&&$.test(t))&&t>-1&&t%1==0&&t<e}function Ce(t,e,n){if(!Ve(n))return!1;var r=typeof e;return!!("number"==r?Ie(n)&&Ae(e,n.length):"string"==r&&e in n)&&Re(n[e],t)}function Oe(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Se(t){return!!at&&at in t}function Ee(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||rt;return t===n}function je(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}function Te(t){return ct.call(t)}function Ne(t,e,n){return e=xt(void 0===e?t.length-1:e,0),function(){var r=arguments,o=-1,i=xt(r.length-e,0),s=Array(i);while(++o<i)s[o]=r[e+o];o=-1;var a=Array(e+1);while(++o<e)a[o]=r[o];return a[e]=n(s),Q(t,this,a)}}function Me(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}var Pe=ke(le);function ke(t){var e=0,n=0;return function(){var r=At(),o=s-(r-n);if(n=r,o>0){if(++e>=i)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function De(t){if(null!=t){try{return it.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Re(t,e){return t===e||t!==t&&e!==e}var Le=oe(function(){return arguments}())?oe:function(t){return ze(t)&&st.call(t,"callee")&&!gt.call(t,"callee")},Be=Array.isArray;function Ie(t){return null!=t&&He(t.length)&&!Ue(t)}function $e(t){return ze(t)&&Ie(t)}var Fe=_t||Ye;function Ue(t){if(!Ve(t))return!1;var e=re(t);return e==h||e==m||e==f||e==w}function He(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function Ve(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ze(t){return null!=t&&"object"==typeof t}function Je(t){if(!ze(t)||re(t)!=b)return!1;var e=mt(t);if(null===e)return!0;var n=st.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&it.call(n)==ut}var qe=X?Y(X):se;function We(t){return ve(t,Ge(t))}function Ge(t){return Ie(t)?Kt(t,!0):ae(t)}var Xe=ge((function(t,e,n){ce(t,e,n)}));function Qe(t){return function(){return t}}function Ke(t){return t}function Ye(){return!1}n.exports=Xe}).call(this,n("c8ba"),n("62e4")(t))},df7c:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var o=t[r];"."===o?t.splice(r,1):".."===o?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){n=e+1;break}}else-1===r&&(o=!1,r=e+1);return-1===r?"":t.slice(n,r)}function o(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var s=i>=0?arguments[i]:t.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,r="/"===s.charAt(0))}return e=n(o(e.split("/"),(function(t){return!!t})),!r).join("/"),(r?"/":"")+e||"."},e.normalize=function(t){var r=e.isAbsolute(t),s="/"===i(t,-1);return t=n(o(t.split("/"),(function(t){return!!t})),!r).join("/"),t||r||(t="."),t&&s&&(t+="/"),(r?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(o(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var o=r(t.split("/")),i=r(n.split("/")),s=Math.min(o.length,i.length),a=s,c=0;c<s;c++)if(o[c]!==i[c]){a=c;break}var u=[];for(c=a;c<o.length;c++)u.push("..");return u=u.concat(i.slice(a)),u.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,o=!0,i=t.length-1;i>=1;--i)if(e=t.charCodeAt(i),47===e){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,o=!0,i=0,s=t.length-1;s>=0;--s){var a=t.charCodeAt(s);if(47!==a)-1===r&&(o=!1,r=s+1),46===a?-1===e?e=s:1!==i&&(i=1):-1!==e&&(i=-1);else if(!o){n=s+1;break}}return-1===e||-1===r||0===i||1===i&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},f0bd:function(t,e,n){"use strict";n.r(e),function(t){
/**!
 * @fileOverview Kickass library to create and place poppers near their reference elements.
 * @version 1.16.1
 * @license
 * Copyright (c) 2016 Federico Zivolo and contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
var n="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,r=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();function o(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}function i(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),r))}}var s=n&&window.Promise,a=s?o:i;function c(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function u(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView,r=n.getComputedStyle(t,null);return e?r[e]:r}function f(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=u(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:l(f(t))}function p(t){return t&&t.referenceNode?t.referenceNode:t}var d=n&&!(!window.MSInputMethodContext||!document.documentMode),h=n&&/MSIE 10/.test(navigator.userAgent);function m(t){return 11===t?d:10===t?h:d||h}function v(t){if(!t)return document.documentElement;var e=m(10)?document.body:null,n=t.offsetParent||null;while(n===e&&t.nextElementSibling)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===u(n,"position")?v(n):n:t?t.ownerDocument.documentElement:document.documentElement}function g(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||v(t.firstElementChild)===t)}function y(t){return null!==t.parentNode?y(t.parentNode):t}function b(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var s=i.commonAncestorContainer;if(t!==s&&e!==s||r.contains(o))return g(s)?s:v(s);var a=y(t);return a.host?b(a.host,e):b(t,y(e).host)}function w(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[n]}return t[n]}function _(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=w(e,"top"),o=w(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}function x(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function A(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],m(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function C(t){var e=t.body,n=t.documentElement,r=m(10)&&getComputedStyle(n);return{height:A("Height",e,n,r),width:A("Width",e,n,r)}}var O=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},S=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),E=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},j=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function T(t){return j({},t,{right:t.left+t.width,bottom:t.top+t.height})}function N(t){var e={};try{if(m(10)){e=t.getBoundingClientRect();var n=w(t,"top"),r=w(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(p){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?C(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,a=i.height||t.clientHeight||o.height,c=t.offsetWidth-s,f=t.offsetHeight-a;if(c||f){var l=u(t);c-=x(l,"x"),f-=x(l,"y"),o.width-=c,o.height-=f}return T(o)}function M(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=m(10),o="HTML"===e.nodeName,i=N(t),s=N(e),a=l(t),c=u(e),f=parseFloat(c.borderTopWidth),p=parseFloat(c.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var d=T({top:i.top-s.top-f,left:i.left-s.left-p,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!r&&o){var h=parseFloat(c.marginTop),v=parseFloat(c.marginLeft);d.top-=f-h,d.bottom-=f-h,d.left-=p-v,d.right-=p-v,d.marginTop=h,d.marginLeft=v}return(r&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(d=_(d,e)),d}function P(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=M(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:w(n),a=e?0:w(n,"left"),c={top:s-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:o,height:i};return T(c)}function k(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===u(t,"position"))return!0;var n=f(t);return!!n&&k(n)}function D(t){if(!t||!t.parentElement||m())return document.documentElement;var e=t.parentElement;while(e&&"none"===u(e,"transform"))e=e.parentElement;return e||document.documentElement}function R(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=o?D(t):b(t,p(e));if("viewport"===r)i=P(s,o);else{var a=void 0;"scrollParent"===r?(a=l(f(e)),"BODY"===a.nodeName&&(a=t.ownerDocument.documentElement)):a="window"===r?t.ownerDocument.documentElement:r;var c=M(a,s,o);if("HTML"!==a.nodeName||k(s))i=c;else{var u=C(t.ownerDocument),d=u.height,h=u.width;i.top+=c.top-c.marginTop,i.bottom=d+c.top,i.left+=c.left-c.marginLeft,i.right=h+c.left}}n=n||0;var m="number"===typeof n;return i.left+=m?n:n.left||0,i.top+=m?n:n.top||0,i.right-=m?n:n.right||0,i.bottom-=m?n:n.bottom||0,i}function L(t){var e=t.width,n=t.height;return e*n}function B(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=R(n,r,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},c=Object.keys(a).map((function(t){return j({key:t},a[t],{area:L(a[t])})})).sort((function(t,e){return e.area-t.area})),u=c.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),f=u.length>0?u[0].key:c[0].key,l=t.split("-")[1];return f+(l?"-"+l:"")}function I(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?D(e):b(e,p(n));return M(n,o,r)}function $(t){var e=t.ownerDocument.defaultView,n=e.getComputedStyle(t),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),o=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),i={width:t.offsetWidth+o,height:t.offsetHeight+r};return i}function F(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function U(t,e,n){n=n.split("-")[0];var r=$(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),s=i?"top":"left",a=i?"left":"top",c=i?"height":"width",u=i?"width":"height";return o[s]=e[s]+e[c]/2-r[c]/2,o[a]=n===a?e[a]-r[u]:e[F(a)],o}function H(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function V(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=H(t,(function(t){return t[e]===n}));return t.indexOf(r)}function z(t,e,n){var r=void 0===n?t:t.slice(0,V(t,"name",n));return r.forEach((function(t){t["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t["function"]||t.fn;t.enabled&&c(n)&&(e.offsets.popper=T(e.offsets.popper),e.offsets.reference=T(e.offsets.reference),e=n(e,t))})),e}function J(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=I(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=B(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=U(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=z(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function q(t,e){return t.some((function(t){var n=t.name,r=t.enabled;return r&&n===e}))}function W(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var o=e[r],i=o?""+o+n:t;if("undefined"!==typeof document.body.style[i])return i}return null}function G(){return this.state.isDestroyed=!0,q(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[W("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function X(t){var e=t.ownerDocument;return e?e.defaultView:window}function Q(t,e,n,r){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,n,{passive:!0}),o||Q(l(i.parentNode),e,n,r),r.push(i)}function K(t,e,n,r){n.updateBound=r,X(t).addEventListener("resize",n.updateBound,{passive:!0});var o=l(t);return Q(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Y(){this.state.eventsEnabled||(this.state=K(this.reference,this.options,this.state,this.scheduleUpdate))}function Z(t,e){return X(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function tt(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=Z(this.reference,this.state))}function et(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function nt(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&et(e[n])&&(r="px"),t.style[n]=e[n]+r}))}function rt(t,e){Object.keys(e).forEach((function(n){var r=e[n];!1!==r?t.setAttribute(n,e[n]):t.removeAttribute(n)}))}function ot(t){return nt(t.instance.popper,t.styles),rt(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&nt(t.arrowElement,t.arrowStyles),t}function it(t,e,n,r,o){var i=I(o,e,t,n.positionFixed),s=B(n.placement,i,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),nt(e,{position:n.positionFixed?"fixed":"absolute"}),n}function st(t,e){var n=t.offsets,r=n.popper,o=n.reference,i=Math.round,s=Math.floor,a=function(t){return t},c=i(o.width),u=i(r.width),f=-1!==["left","right"].indexOf(t.placement),l=-1!==t.placement.indexOf("-"),p=c%2===u%2,d=c%2===1&&u%2===1,h=e?f||l||p?i:s:a,m=e?i:a;return{left:h(d&&!l&&e?r.left-1:r.left),top:m(r.top),bottom:m(r.bottom),right:h(r.right)}}var at=n&&/Firefox/i.test(navigator.userAgent);function ct(t,e){var n=e.x,r=e.y,o=t.offsets.popper,i=H(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=v(t.instance.popper),c=N(a),u={position:o.position},f=st(t,window.devicePixelRatio<2||!at),l="bottom"===n?"top":"bottom",p="right"===r?"left":"right",d=W("transform"),h=void 0,m=void 0;if(m="bottom"===l?"HTML"===a.nodeName?-a.clientHeight+f.bottom:-c.height+f.bottom:f.top,h="right"===p?"HTML"===a.nodeName?-a.clientWidth+f.right:-c.width+f.right:f.left,s&&d)u[d]="translate3d("+h+"px, "+m+"px, 0)",u[l]=0,u[p]=0,u.willChange="transform";else{var g="bottom"===l?-1:1,y="right"===p?-1:1;u[l]=m*g,u[p]=h*y,u.willChange=l+", "+p}var b={"x-placement":t.placement};return t.attributes=j({},b,t.attributes),t.styles=j({},u,t.styles),t.arrowStyles=j({},t.offsets.arrow,t.arrowStyles),t}function ut(t,e,n){var r=H(t,(function(t){var n=t.name;return n===e})),o=!!r&&t.some((function(t){return t.name===n&&t.enabled&&t.order<r.order}));if(!o){var i="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}function ft(t,e){var n;if(!ut(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"===typeof r){if(r=t.instance.popper.querySelector(r),!r)return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,a=i.reference,c=-1!==["left","right"].indexOf(o),f=c?"height":"width",l=c?"Top":"Left",p=l.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",m=$(r)[f];a[h]-m<s[p]&&(t.offsets.popper[p]-=s[p]-(a[h]-m)),a[p]+m>s[h]&&(t.offsets.popper[p]+=a[p]+m-s[h]),t.offsets.popper=T(t.offsets.popper);var v=a[p]+a[f]/2-m/2,g=u(t.instance.popper),y=parseFloat(g["margin"+l]),b=parseFloat(g["border"+l+"Width"]),w=v-t.offsets.popper[p]-y-b;return w=Math.max(Math.min(s[f]-m,w),0),t.arrowElement=r,t.offsets.arrow=(n={},E(n,p,Math.round(w)),E(n,d,""),n),t}function lt(t){return"end"===t?"start":"start"===t?"end":t}var pt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],dt=pt.slice(3);function ht(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=dt.indexOf(t),r=dt.slice(n+1).concat(dt.slice(0,n));return e?r.reverse():r}var mt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function vt(t,e){if(q(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=R(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=F(r),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case mt.FLIP:s=[r,o];break;case mt.CLOCKWISE:s=ht(r);break;case mt.COUNTERCLOCKWISE:s=ht(r,!0);break;default:s=e.behavior}return s.forEach((function(a,c){if(r!==a||s.length===c+1)return t;r=t.placement.split("-")[0],o=F(r);var u=t.offsets.popper,f=t.offsets.reference,l=Math.floor,p="left"===r&&l(u.right)>l(f.left)||"right"===r&&l(u.left)<l(f.right)||"top"===r&&l(u.bottom)>l(f.top)||"bottom"===r&&l(u.top)<l(f.bottom),d=l(u.left)<l(n.left),h=l(u.right)>l(n.right),m=l(u.top)<l(n.top),v=l(u.bottom)>l(n.bottom),g="left"===r&&d||"right"===r&&h||"top"===r&&m||"bottom"===r&&v,y=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(y&&"start"===i&&d||y&&"end"===i&&h||!y&&"start"===i&&m||!y&&"end"===i&&v),w=!!e.flipVariationsByContent&&(y&&"start"===i&&h||y&&"end"===i&&d||!y&&"start"===i&&v||!y&&"end"===i&&m),_=b||w;(p||g||_)&&(t.flipped=!0,(p||g)&&(r=s[c+1]),_&&(i=lt(i)),t.placement=r+(i?"-"+i:""),t.offsets.popper=j({},t.offsets.popper,U(t.instance.popper,t.offsets.reference,t.placement)),t=z(t.instance.modifiers,t,"flip"))})),t}function gt(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",c=s?"left":"top",u=s?"width":"height";return n[a]<i(r[c])&&(t.offsets.popper[c]=i(r[c])-n[u]),n[c]>i(r[a])&&(t.offsets.popper[c]=i(r[a])),t}function yt(t,e,n,r){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=r}var c=T(a);return c[e]/100*i}if("vh"===s||"vw"===s){var u=void 0;return u="vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0),u/100*i}return i}function bt(t,e,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(H(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,u=-1!==a?[s.slice(0,a).concat([s[a].split(c)[0]]),[s[a].split(c)[1]].concat(s.slice(a+1))]:[s];return u=u.map((function(t,r){var o=(1===r?!i:i)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return yt(t,o,e,n)}))})),u.forEach((function(t,e){t.forEach((function(n,r){et(n)&&(o[e]+=n*("-"===t[r-1]?-1:1))}))})),o}function wt(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=r.split("-")[0],c=void 0;return c=et(+n)?[+n,0]:bt(n,i,s,a),"left"===a?(i.top+=c[0],i.left-=c[1]):"right"===a?(i.top+=c[0],i.left+=c[1]):"top"===a?(i.left+=c[0],i.top-=c[1]):"bottom"===a&&(i.left+=c[0],i.top+=c[1]),t.popper=i,t}function _t(t,e){var n=e.boundariesElement||v(t.instance.popper);t.instance.reference===n&&(n=v(n));var r=W("transform"),o=t.instance.popper.style,i=o.top,s=o.left,a=o[r];o.top="",o.left="",o[r]="";var c=R(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=i,o.left=s,o[r]=a,e.boundaries=c;var u=e.priority,f=t.offsets.popper,l={primary:function(t){var n=f[t];return f[t]<c[t]&&!e.escapeWithReference&&(n=Math.max(f[t],c[t])),E({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=f[n];return f[t]>c[t]&&!e.escapeWithReference&&(r=Math.min(f[n],c[t]-("right"===t?f.width:f.height))),E({},n,r)}};return u.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=j({},f,l[e](t))})),t.offsets.popper=f,t}function xt(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),c=a?"left":"top",u=a?"width":"height",f={start:E({},c,i[c]),end:E({},c,i[c]+i[u]-s[u])};t.offsets.popper=j({},s,f[r])}return t}function At(t){if(!ut(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=H(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function Ct(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,o=r.popper,i=r.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=i[n]-(a?o[s?"width":"height"]:0),t.placement=F(e),t.offsets.popper=T(o),t}var Ot={shift:{order:100,enabled:!0,fn:xt},offset:{order:200,enabled:!0,fn:wt,offset:0},preventOverflow:{order:300,enabled:!0,fn:_t,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:gt},arrow:{order:500,enabled:!0,fn:ft,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:vt,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:Ct},hide:{order:800,enabled:!0,fn:At},computeStyle:{order:850,enabled:!0,fn:ct,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:ot,onLoad:it,gpuAcceleration:void 0}},St={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Ot},Et=function(){function t(e,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};O(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=a(this.update.bind(this)),this.options=j({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(j({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){r.options.modifiers[e]=j({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return j({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&c(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return S(t,[{key:"update",value:function(){return J.call(this)}},{key:"destroy",value:function(){return G.call(this)}},{key:"enableEventListeners",value:function(){return Y.call(this)}},{key:"disableEventListeners",value:function(){return tt.call(this)}}]),t}();Et.Utils=("undefined"!==typeof window?window:t).PopperUtils,Et.placements=pt,Et.Defaults=St,e["default"]=Et}.call(this,n("c8ba"))},f5a3:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAA7VBMVEUAAAAAAAD////////8/Pz///////8AAAD////////////////+/v7///8AAAAAAAD////y8vIAAAAAAAD9/f0AAAD9/f3+/v7+/v4AAAD///////8AAAD///8cHBwJCQlvb28AAAAAAAD////x8fH+/v6FhYULCwsFBQUjIyMMDAx2dnZhYWEXFxesrKxBQUECAgLX19cMDAz09PS6urpGRkZZWVkzMzMKCgpdXV3///8AAAAGBgZeXl4AAAAFBQX///9XV1cAAAA3Nze1tbX///+zs7OgoKAbGxs4ODgAAADz8/MICAgsLCyNjY0qfaSCAAAATHRSTlMAIwMLG0k9DC9QNUQnq5tfVTMJAx0eERYOFmZZQQfiim9hUDk1IPf18eza19DMy8rKtbGurKupopuYk5ORgnl2c2RXVkpFPTY1MjInha+GRQAAAVdJREFUSMft1tdOwzAUgOFmNRQKFDtxdtus7r333g28/+MQJWkrLnAiIXGV/8aWjj/JlyfhBSEALDYAIEzcguA8rha+sBWq4zOAt/fbWqPdfcXWbTdq20DAU7M3WclKBpMirya95skHIDeQ5UwqpIwsD3LAA2wrr6SY0FJKvsV6QCodFGb/EtKeUQ4lyQO8YzPJCDG2wweAS5rPoZlJLgCEQ5tPETJph7gBAQm0ncZl024PQJHuSWqUKCJBcCecn3sTBCSKlEa6Y+onCCkGMYhBDP4CuGiAewAxChDvoHhEWjjQ0LEYgMpaoMjwHwnrig/4zvCKKI3EplHoOuzwPlhm52kaiRQmEdHpeXbpA8kYZfv5nWV9/Jpl7fL97MiQPMCq+qxe/gypXJ/pKusBQKj6Ijd9wzbNLXSVAB6ALHFRjc07to2hXgjpvjuwEs8T2HheYgFM/EffzfVXvQZrTbEAAAAASUVORK5CYII="},f6b4:function(t,e,n){"use strict";var r=n("c532");function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},f799:function(t,e,n){},f7fe:function(t,e,n){(function(e){var n="Expected a function",r=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,f="object"==typeof e&&e&&e.Object===Object&&e,l="object"==typeof self&&self&&self.Object===Object&&self,p=f||l||Function("return this")(),d=Object.prototype,h=d.toString,m=Math.max,v=Math.min,g=function(){return p.Date.now()};function y(t,e,r){var o,i,s,a,c,u,f=0,l=!1,p=!1,d=!0;if("function"!=typeof t)throw new TypeError(n);function h(e){var n=o,r=i;return o=i=void 0,f=e,a=t.apply(r,n),a}function y(t){return f=t,c=setTimeout(A,e),l?h(t):a}function w(t){var n=t-u,r=t-f,o=e-n;return p?v(o,s-r):o}function _(t){var n=t-u,r=t-f;return void 0===u||n>=e||n<0||p&&r>=s}function A(){var t=g();if(_(t))return C(t);c=setTimeout(A,w(t))}function C(t){return c=void 0,d&&o?h(t):(o=i=void 0,a)}function O(){void 0!==c&&clearTimeout(c),f=0,o=u=i=c=void 0}function S(){return void 0===c?a:C(g())}function E(){var t=g(),n=_(t);if(o=arguments,i=this,u=t,n){if(void 0===c)return y(u);if(p)return c=setTimeout(A,e),h(u)}return void 0===c&&(c=setTimeout(A,e)),a}return e=x(e)||0,b(r)&&(l=!!r.leading,p="maxWait"in r,s=p?m(x(r.maxWait)||0,e):s,d="trailing"in r?!!r.trailing:d),E.cancel=O,E.flush=S,E}function b(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function w(t){return!!t&&"object"==typeof t}function _(t){return"symbol"==typeof t||w(t)&&h.call(t)==o}function x(t){if("number"==typeof t)return t;if(_(t))return r;if(b(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=b(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var n=a.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):s.test(t)?r:+t}t.exports=y}).call(this,n("c8ba"))},fae3:function(t,e,n){"use strict";if(n.r(e),n.d(e,"ActionFetch",(function(){return x})),n.d(e,"ActionTooltip",(function(){return y})),n.d(e,"Store",(function(){return Q})),n.d(e,"install",(function(){return Y})),"undefined"!==typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}var s=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.embedded?r("ActionTooltip",t._b({attrs:{lang:t.lang}},"ActionTooltip",t.data,!1)):r("Popper",{attrs:{"visible-arrow":!1,trigger:"hover",options:{placement:"auto",modifiers:{offset:{offset:"0,10px"}}}}},[r("div",{staticClass:"popper"},[r("ActionTooltip",t._b({attrs:{lang:t.lang}},"ActionTooltip",t.data,!1))],1),r("div",{staticClass:"xivtooltip-inline",attrs:{slot:"reference"},slot:"reference"},[r("div",{staticClass:"xivtooltip-inline"},[r("div",{class:[t.name?"xivtooltip-inline-image-wrapper":"xivtooltip-icon-image-wrapper"]},[r("img",{class:[t.name?"xivtooltip-inline-image":"xivtooltip-icon-image"],attrs:{src:t.icon}}),r("img",{class:[t.name?"xivtooltip-inline-cap":"xivtooltip-icon-cap"],attrs:{src:n("f5a3")}})]),t.name?r("span",{staticClass:"xivtooltip-inline-underline"},[t._v(t._s(t.name))]):t._e()])])])},a=[],c=n("526e"),u=n.n(c),f=(n("a101"),function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"xivtooltip-action"},[r("div",{staticClass:"xivtooltip-container"},[r("div",{staticClass:"xivtooltip-top"},[r("div",{staticClass:"xivtooltip-icon"},[r("img",{staticClass:"tooltip-icon-img",attrs:{src:t.icon}}),r("img",{staticClass:"xivtooltip-tip-cap",attrs:{src:n("f5a3"),alt:""}})]),r("div",{staticClass:"xivtooltip-actionidentity"},[r("div",{staticClass:"xivtooltip-name xivtooltip-value"},[t._v(" "+t._s(t.name)+" ")]),r("div",{staticClass:"xivtooltip-classification xivtooltip-text"},[t._v(" "+t._s(t.actionCategory)+" ")]),r("div",{staticClass:"xivtooltip-area-of-effect",style:[t.actionNonCombatant?{visibility:"hidden"}:{}]},[r("div",{staticClass:"xivtooltip-aoe xivtooltip-text"},[t._v(" Range "),r("span",{staticClass:"xivtooltip-value"},[t._v(t._s(t.range)+"y")])]),r("div",{staticClass:"xivtooltip-aoe xivtooltip-text"},[t._v(" Radius "),r("span",{staticClass:"xivtooltip-value"},[t._v(t._s(t.EffectRange)+"y")])])])])]),r("div",{staticClass:"xivtooltip-mid"},[r("div",{staticClass:"xivtooltip-cooldown",style:[t.actionNonCombatant?{visibility:"hidden"}:{}]},[r("div",{staticClass:"xivtooltip-c xivtooltip-text"},[t._v(" Cast ")]),r("div",{staticClass:"xivtooltip-c xivtooltip-value"},[t.Cast100ms>0?r("span",[t._v(t._s((t.Cast100ms/10).toFixed(2))+"s")]):r("span",[t._v("Instant")])])]),r("div",{staticClass:"xivtooltip-cooldown",style:[0===t.Recast100ms?{visibility:"hidden"}:{}]},[r("div",{staticClass:"xivtooltip-c xivtooltip-text"},[t._v(" Recast ")]),r("div",{staticClass:"xivtooltip-c xivtooltip-value"},[t._v(" "+t._s((t.Recast100ms/10).toFixed(2))+"s ")])]),r("div",{staticClass:"xivtooltip-cooldown xivtooltip-cost",style:[t.costShouldDisplay?{}:{visibility:"hidden"}]},[r("div",{staticClass:"xivtooltip-c xivtooltip-text"},[t._v(" "+t._s(t.costType)+" Cost ")]),r("div",{staticClass:"xivtooltip-c xivtooltip-value"},[t._v(" "+t._s(t.costValue)+" ")])])]),r("div",{staticClass:"xivtooltip-bottom"},[r("div",{staticClass:"xivtooltip-description xivtooltip-value",domProps:{innerHTML:t._s(t.description)}}),r("div",{staticClass:"xivtooltip-acquisition"},[r("div",{staticClass:"xivtooltip-a xivtooltip-text"},[t._v(" Acquired ")]),r("div",{staticClass:"xivtooltip-a xivtooltip-value"},[r("img",{attrs:{src:""}}),r("span",{staticClass:"xivtooltip-acqlevel"},[t._v("Lv. "+t._s(t.ClassJobLevel))])])]),r("div",{staticClass:"xivtooltip-acquisition"},[r("div",{staticClass:"xivtooltip-a xivtooltip-text"},[t._v(" Affinity ")]),r("div",{staticClass:"xivtooltip-a xivtooltip-value"},[t._v(" "+t._s(t.classJobCategory)+" ")])])])])])}),l=[];const p={3:"MP",7:"GP",8:"CP"},d=[6,7];var h={name:"ActionTooltip",filters:{newline2Br(t){return t.replace(/\n\n/g,"<br />")}},props:{lang:{type:String,default:"en"},Icon:{type:String,default:""},Name:{type:String,default:""},Cast100ms:{type:Number,default:0},Recast100ms:{type:Number,default:0},Name_en:{type:String,default:""},Name_fr:{type:String,default:""},Name_ja:{type:String,default:""},Name_de:{type:String,default:""},Description_en:{type:String,default:""},Description_fr:{type:String,default:""},Description_ja:{type:String,default:""},Description_de:{type:String,default:""},Range:{type:Number,default:0},ClassJobLevel:{type:Number,default:0},EffectRange:{type:Number,default:0},PrimaryCostValue:{type:Number,default:0},ActionCategory:{type:Object,default:()=>({ID:0,Name_en:"",Name_fr:"",Name_de:"",Name_ja:""})},ClassJobCategory:{type:Object,default:()=>({ID:0,Name_en:"",Name_fr:"",Name_de:"",Name_ja:""})},PrimaryCostType:{type:Number,default:0}},computed:{name(){return this["Name_"+this.lang]},icon(){return"https://xivapi.com"+this.Icon},actionCategory(){return this.ActionCategory?this.ActionCategory["Name_"+this.lang]:""},actionNonCombatant(){return d.includes(this.ActionCategory.ID)},description(){return this["Description_"+this.lang].replace(/\n\n/g,"<br/>")},classJobCategory(){return this.ClassJobCategory?this.ClassJobCategory["Name_"+this.lang]:""},costType(){return p[this.PrimaryCostType]},costValue(){return 3===this.PrimaryCostType?100*this.PrimaryCostValue:this.PrimaryCostValue},costShouldDisplay(){return Object.keys(p).map(Number).includes(this.PrimaryCostType)&&this.PrimaryCostValue>0},range(){return-1===this.Range?3:this.Range}}},m=h;n("8e66");function v(t,e,n,r,o,i,s,a){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):o&&(c=a?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:u}}var g=v(m,f,l,!1,null,"9fdfb878",null),y=g.exports,b={name:"ActionFetch",components:{Popper:u.a,ActionTooltip:y},props:{name:{type:String,default:""},id:{type:Number,default:0},lang:{type:String,default:"en"},embedded:{type:Boolean,default:!1}},data(){return{loading:!0}},computed:{data(){return this.$TTStore.getters.getActionById(this.id)},icon(){return this.$TTStore.getters.getIconById(this.id)}},created(){this.$TTStore.dispatch("fetchActionId",this.id)}},w=b,_=(n("3d28"),v(w,s,a,!1,null,"7a904043",null)),x=_.exports,A=n("2f62");const C="addAction",O="addActions",S="addPendingAction",E="clearPendingActions",j="setTimeout",T="xivtooltips",N={[C](t,e){t.actions={...t.actions,...e}},[O](t,e){t.actions={...t.actions,...e}},[S](t,e){t.pendingActionIds.includes(e)||t.pendingActionIds.push(e)},[E](t){t.pendingActionIds=[]},[j](t,e){t.defaultTimeout=e}};var M=n("f7fe"),P=n.n(M),k=n("bc3a"),D=n.n(k);const R=["Icon","Name_en","Name_de","Name_fr","Name_ja","Cast100ms","Recast100ms","Description_en","Description_de","Description_fr","Description_ja","Range","ClassJobLevel","EffectRange","PrimaryCostValue","PrimaryCostType","ActionCategory","ClassJobCategory","ID"],L=D.a.create({baseURL:"https://xivapi.com"}),B=P()((t,e)=>{L.get("Action",{params:{ids:t.join(","),columns:R.join(",")}}).then(t=>e(t))},20);var I={fetchActionId({commit:t,getters:e,state:n},r){const o=e.getActionById(r),i=e.getTimeout();if(o){const t=(new Date).getTime()/1e3,e=new Date(o.cacheTime).getTime()/1e3;if(t-e<=i)return}const s=new Date;t(S,r),B(n.pendingActionIds,e=>{if(1==e.data.Results.length){let n=e.data.Results[0];n.cacheTime=s,t(C,{[n.ID]:n})}else{const n=e.data.Results.reduce((t,e,n)=>{if(e.cacheTime=s,n>1){const n=e.Range;return("string"===typeof n||n instanceof String)&&(e.Range=parseInt(n)),t[e.ID]=e,t}return t.cacheTime=s,{[t.ID]:t,[e.ID]:e}});t(O,n)}t(E)})},setDefaultTimeout({commit:t},e){t(j,e)}},$={getActionById:t=>e=>t.actions[e],getIconById:t=>e=>t.actions[e]&&t.actions[e].Icon?"https://xivapi.com"+t.actions[e].Icon:"",getTimeout:t=>()=>t.defaultTimeout},F=n("da81"),U=n.n(F);let H;H=class{get length(){return Object.keys(this).length}key(t){return Object.keys(this)[t]}setItem(t,e){this[t]=e.toString()}getItem(t){return this[t]}removeItem(t){delete this[t]}clear(){for(const t of Object.keys(this))delete this[t]}};class V{constructor(){this._queue=[],this._flushing=!1}enqueue(t){return this._queue.push(t),this._flushing?Promise.resolve():this.flushQueue()}flushQueue(){this._flushing=!0;const t=()=>{const e=this._queue.shift();if(e)return e.then(t);this._flushing=!1};return Promise.resolve(t())}}function z(t,e){return U()({},t,e)}let J=JSON;class q{constructor(t){this._mutex=new V,this.subscriber=t=>e=>t.subscribe(e),"undefined"===typeof t&&(t={}),this.key=null!=t.key?t.key:"vuex",this.subscribed=!1,this.supportCircular=t.supportCircular||!1,this.supportCircular&&(J=n("5bc5")),this.storage=t.storage||window.localStorage,this.reducer=null!=t.reducer?t.reducer:null==t.modules?t=>t:e=>t.modules.reduce((t,n)=>z(t,{[n]:e[n]}),{}),this.filter=t.filter||(t=>!0),this.strictMode=t.strictMode||!1,this.RESTORE_MUTATION=function(t,e){const n=z(t,e||{});for(const r of Object.keys(n))this._vm.$set(t,r,n[r])},this.asyncStorage=t.asyncStorage||!1,this.asyncStorage?(this.restoreState=null!=t.restoreState?t.restoreState:(t,e)=>e.getItem(t).then(t=>"string"===typeof t?this.supportCircular?J.parse(t||"{}"):JSON.parse(t||"{}"):t||{}),this.saveState=null!=t.saveState?t.saveState:(t,e,n)=>n.setItem(t,this.asyncStorage?z({},e||{}):this.supportCircular?J.stringify(e):JSON.stringify(e)),this.plugin=t=>{t.restored=this.restoreState(this.key,this.storage).then(e=>{this.strictMode?t.commit("RESTORE_MUTATION",e):t.replaceState(z(t.state,e||{})),this.subscriber(t)((t,e)=>{this.filter(t)&&this._mutex.enqueue(this.saveState(this.key,this.reducer(e),this.storage))}),this.subscribed=!0})}):(this.restoreState=null!=t.restoreState?t.restoreState:(t,e)=>{const n=e.getItem(t);return"string"===typeof n?this.supportCircular?J.parse(n||"{}"):JSON.parse(n||"{}"):n||{}},this.saveState=null!=t.saveState?t.saveState:(t,e,n)=>n.setItem(t,this.supportCircular?J.stringify(e):JSON.stringify(e)),this.plugin=t=>{const e=this.restoreState(this.key,this.storage);this.strictMode?t.commit("RESTORE_MUTATION",e):t.replaceState(z(t.state,e||{})),this.subscriber(t)((t,e)=>{this.filter(t)&&this.saveState(this.key,this.reducer(e),this.storage)}),this.subscribed=!0})}}var W=q;const G=new W({storage:window.localStorage,key:T});var X=[G.plugin],Q=new A["a"].Store({state:{actions:{},pendingActionIds:[],defaultTimeout:21600},mutations:N,actions:I,getters:$,plugins:X}),K={ActionFetch:x,ActionTooltip:y};function Y(t,e){if(Y.installed)return;const n=e.webTemplateOnly||!1;for(const o in K){const e=n?o.toLowerCase():o;t.component(e,K[o])}t.prototype.$TTStore=Q;const r=e.cacheTimeout||21600;t.prototype.$TTStore.dispatch("setDefaultTimeout",r)}}})}));
//# sourceMappingURL=vue-xivtooltips.umd.min.js.map