updating version

gh-pages
Rawrington 5 years ago
parent 61447e7fca
commit 879fe8af5c
  1. 6
      asset-manifest.json
  2. 2
      index.html
  3. 8
      precache-manifest.11c6ff5ca82079b6b88c09a365412a75.js
  4. 2
      service-worker.js
  5. 2
      static/js/main.2e1acc3f.chunk.js
  6. 1
      static/js/main.2e1acc3f.chunk.js.map
  7. 2
      static/js/main.5483062e.chunk.js
  8. 1
      static/js/main.5483062e.chunk.js.map

@ -1,14 +1,14 @@
{ {
"files": { "files": {
"main.css": "/SkillDisplay/static/css/main.d40aef55.chunk.css", "main.css": "/SkillDisplay/static/css/main.d40aef55.chunk.css",
"main.js": "/SkillDisplay/static/js/main.2e1acc3f.chunk.js", "main.js": "/SkillDisplay/static/js/main.5483062e.chunk.js",
"main.js.map": "/SkillDisplay/static/js/main.2e1acc3f.chunk.js.map", "main.js.map": "/SkillDisplay/static/js/main.5483062e.chunk.js.map",
"runtime~main.js": "/SkillDisplay/static/js/runtime~main.20fadea3.js", "runtime~main.js": "/SkillDisplay/static/js/runtime~main.20fadea3.js",
"runtime~main.js.map": "/SkillDisplay/static/js/runtime~main.20fadea3.js.map", "runtime~main.js.map": "/SkillDisplay/static/js/runtime~main.20fadea3.js.map",
"static/js/2.7cddf10a.chunk.js": "/SkillDisplay/static/js/2.7cddf10a.chunk.js", "static/js/2.7cddf10a.chunk.js": "/SkillDisplay/static/js/2.7cddf10a.chunk.js",
"static/js/2.7cddf10a.chunk.js.map": "/SkillDisplay/static/js/2.7cddf10a.chunk.js.map", "static/js/2.7cddf10a.chunk.js.map": "/SkillDisplay/static/js/2.7cddf10a.chunk.js.map",
"index.html": "/SkillDisplay/index.html", "index.html": "/SkillDisplay/index.html",
"precache-manifest.2a9a97c21f02cff8e5a5de54ccc57c0a.js": "/SkillDisplay/precache-manifest.2a9a97c21f02cff8e5a5de54ccc57c0a.js", "precache-manifest.11c6ff5ca82079b6b88c09a365412a75.js": "/SkillDisplay/precache-manifest.11c6ff5ca82079b6b88c09a365412a75.js",
"service-worker.js": "/SkillDisplay/service-worker.js", "service-worker.js": "/SkillDisplay/service-worker.js",
"static/css/main.d40aef55.chunk.css.map": "/SkillDisplay/static/css/main.d40aef55.chunk.css.map" "static/css/main.d40aef55.chunk.css.map": "/SkillDisplay/static/css/main.d40aef55.chunk.css.map"
} }

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/SkillDisplay/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/SkillDisplay/manifest.json"/><title>Skill Display</title><link href="/SkillDisplay/static/css/main.d40aef55.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(f){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],l=0,i=[];l<n.length;l++)t=n[l],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(f[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=l(l.s=t[0]))}return e}var t={},p={1:0},c=[];function l(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return f[e].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=f,l.c=t,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(r,e){if(1&e&&(r=l(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)l.d(t,n,function(e){return r[e]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/SkillDisplay/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/SkillDisplay/static/js/2.7cddf10a.chunk.js"></script><script src="/SkillDisplay/static/js/main.2e1acc3f.chunk.js"></script></body></html> <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/SkillDisplay/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/SkillDisplay/manifest.json"/><title>Skill Display</title><link href="/SkillDisplay/static/css/main.d40aef55.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(f){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],l=0,i=[];l<n.length;l++)t=n[l],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(f[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=l(l.s=t[0]))}return e}var t={},p={1:0},c=[];function l(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return f[e].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=f,l.c=t,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(r,e){if(1&e&&(r=l(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)l.d(t,n,function(e){return r[e]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/SkillDisplay/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/SkillDisplay/static/js/2.7cddf10a.chunk.js"></script><script src="/SkillDisplay/static/js/main.5483062e.chunk.js"></script></body></html>

@ -1,10 +1,10 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([ self.__precacheManifest = (self.__precacheManifest || []).concat([
{ {
"revision": "332ff82ad0268c5b3445ffdd7a031cbf", "revision": "7f0f1fd1d8b1ed2adcd0b37fc29e84b1",
"url": "/SkillDisplay/index.html" "url": "/SkillDisplay/index.html"
}, },
{ {
"revision": "ceb638e4cbf0a8435ca4", "revision": "419b171c21ea3258953f",
"url": "/SkillDisplay/static/css/main.d40aef55.chunk.css" "url": "/SkillDisplay/static/css/main.d40aef55.chunk.css"
}, },
{ {
@ -12,8 +12,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/SkillDisplay/static/js/2.7cddf10a.chunk.js" "url": "/SkillDisplay/static/js/2.7cddf10a.chunk.js"
}, },
{ {
"revision": "ceb638e4cbf0a8435ca4", "revision": "419b171c21ea3258953f",
"url": "/SkillDisplay/static/js/main.2e1acc3f.chunk.js" "url": "/SkillDisplay/static/js/main.5483062e.chunk.js"
}, },
{ {
"revision": "e4ff8796ac8613602dd0", "revision": "e4ff8796ac8613602dd0",

@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts( importScripts(
"/SkillDisplay/precache-manifest.2a9a97c21f02cff8e5a5de54ccc57c0a.js" "/SkillDisplay/precache-manifest.11c6ff5ca82079b6b88c09a365412a75.js"
); );
self.addEventListener('message', (event) => { self.addEventListener('message', (event) => {

@ -1,2 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{15:function(t,e,n){},16:function(t,e,n){},17:function(t,e,n){},18:function(t,e,n){"use strict";n.r(e);var a=n(0),i=n.n(a),o=n(8),c=n.n(o),r=(n(15),n(1)),s=n(2),u=n(5),l=n(4),h=n(3),d=n(6);n(16),n(17);var v=function(t){function e(t){var n;Object(r.a)(this,e),(n=Object(u.a)(this,Object(l.a)(e).call(this,t))).state={xivapi_data:[]};var a="https://xivapi.com/Action/"+t.action_id;return console.log(a),fetch(a,{mode:"cors"}).then(function(t){return t.json()}).then(function(t){n.setState({xivapi_data:t})}),n}return Object(d.a)(e,t),Object(s.a)(e,[{key:"shouldComponentUpdate",value:function(){return 0!==Object.getOwnPropertyNames(this.state.xivapi_data).length}},{key:"isGCD",value:function(){return 4!==this.state.xivapi_data.ActionCategory.ID}},{key:"render",value:function(){if(this.state.xivapi_data.Icon){var t=this.isGCD()?"action-icon gcd":"action-icon ogcd",e="https://xivapi.com"+this.state.xivapi_data.Icon;return i.a.createElement("img",{className:t,src:e,alt:""})}return null}}]),e}(i.a.Component),f=function(t){function e(t){var n;return Object(r.a)(this,e),(n=Object(u.a)(this,Object(l.a)(e).call(this,t))).state={me:0,actionlist:[],actionindex:1},function t(e){var n=new URLSearchParams(window.location.search),a="".concat(n.get("HOST_PORT"),"BeforeLogLineRead")||!1,i=new WebSocket(a);i.onerror=function(){return t()},i.onmessage=function(t,n){if("."===t.data)return i.send(".");var a=JSON.parse(t.data);if("SendCharName"===a.msgtype)return console.log(a.msg.charID),console.log(a.msg.charName),e(a.msg);if("Chat"===a.msgtype){var o=a.msg.substring(0,2);if("21"===o||"22"===o)return e(a.msg)}}}(n.handleLogEvent.bind(Object(h.a)(n))),n}return Object(d.a)(e,t),Object(s.a)(e,[{key:"addActionToOverlay",value:function(t){this.setState(function(e){return{actionlist:e.actionlist.concat(t)}})}},{key:"handleLogEvent",value:function(t){if(t.charID)return this.setState({me:t.charID}),void console.log(t.charID);var e=this.state.me;if(0!==e){var n=t.split("|");if(parseInt(n[2],16)===e){var a=parseInt(n[4],16);if(7!==a){var i=this.state.actionindex;this.addActionToOverlay({index:i,action:a}),this.setState(function(t){return{actionindex:t.actionindex>=32?1:t.actionindex+1}}),setTimeout(this.purgeAction.bind(this),1e4)}}}}},{key:"purgeAction",value:function(){this.setState(function(t){return{actionlist:t.actionlist.slice(1)}})}},{key:"render",value:function(){var t=[];for(var e in console.log(this.state.actionlist),this.state.actionlist){var n=this.state.actionlist[e];t.push(i.a.createElement(v,{key:n.index,action_id:n.action}))}return i.a.createElement("div",{className:"actions"},t)}}]),e}(i.a.Component);Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));c.a.render(i.a.createElement(f,null),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(function(t){t.unregister()})},9:function(t,e,n){t.exports=n(18)}},[[9,1,2]]]);
//# sourceMappingURL=main.2e1acc3f.chunk.js.map

File diff suppressed because one or more lines are too long

@ -0,0 +1,2 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{15:function(t,e,n){},16:function(t,e,n){},17:function(t,e,n){},18:function(t,e,n){"use strict";n.r(e);var a=n(0),i=n.n(a),o=n(8),c=n.n(o),r=(n(15),n(1)),s=n(2),u=n(5),l=n(4),d=n(3),h=n(6);n(16),n(17);var v=function(t){function e(t){var n;Object(r.a)(this,e),(n=Object(u.a)(this,Object(l.a)(e).call(this,t))).state={xivapi_data:[]};var a="https://xivapi.com/Action/"+t.action_id;return fetch(a,{mode:"cors"}).then(function(t){return t.json()}).then(function(t){n.setState({xivapi_data:t})}),n}return Object(h.a)(e,t),Object(s.a)(e,[{key:"shouldComponentUpdate",value:function(){return 0!==Object.getOwnPropertyNames(this.state.xivapi_data).length}},{key:"isGCD",value:function(){return 4!==this.state.xivapi_data.ActionCategory.ID}},{key:"render",value:function(){if(this.state.xivapi_data.Icon){var t=this.isGCD()?"action-icon gcd":"action-icon ogcd",e="https://xivapi.com"+this.state.xivapi_data.Icon;return i.a.createElement("img",{className:t,src:e,alt:""})}return null}}]),e}(i.a.Component),f=function(t){function e(t){var n;return Object(r.a)(this,e),(n=Object(u.a)(this,Object(l.a)(e).call(this,t))).state={me:0,actionlist:[],actionindex:1},function t(e){var n=new URLSearchParams(window.location.search),a="".concat(n.get("HOST_PORT"),"BeforeLogLineRead")||!1,i=new WebSocket(a);i.onerror=function(){return t()},i.onmessage=function(t,n){if("."===t.data)return i.send(".");var a=JSON.parse(t.data);if("SendCharName"===a.msgtype)return e(a.msg);if("Chat"===a.msgtype){var o=a.msg.substring(0,2);if("21"===o||"22"===o)return e(a.msg)}}}(n.handleLogEvent.bind(Object(d.a)(n))),n}return Object(h.a)(e,t),Object(s.a)(e,[{key:"addActionToOverlay",value:function(t){this.setState(function(e){return{actionlist:e.actionlist.concat(t)}})}},{key:"handleLogEvent",value:function(t){if(t.charID)this.setState({me:t.charID});else{var e=this.state.me;if(0!==e){var n=t.split("|");if(parseInt(n[2],16)===e){var a=parseInt(n[4],16);if(!(a<=8)){var i=this.state.actionindex;this.addActionToOverlay({index:i,action:a}),this.setState(function(t){return{actionindex:t.actionindex>=32?1:t.actionindex+1}}),setTimeout(this.purgeAction.bind(this),1e4)}}}}}},{key:"purgeAction",value:function(){this.setState(function(t){return{actionlist:t.actionlist.slice(1)}})}},{key:"render",value:function(){var t=[];for(var e in console.log(this.state.actionlist),this.state.actionlist){var n=this.state.actionlist[e];t.push(i.a.createElement(v,{key:n.index,action_id:n.action}))}return i.a.createElement("div",{className:"actions"},t)}}]),e}(i.a.Component);Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));c.a.render(i.a.createElement(f,null),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(function(t){t.unregister()})},9:function(t,e,n){t.exports=n(18)}},[[9,1,2]]]);
//# sourceMappingURL=main.5483062e.chunk.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save