parent
767c145e1b
commit
f9ad955ad9
@ -1,22 +1,20 @@ |
||||
{ |
||||
"files": { |
||||
"main.css": "/SkillDisplay/static/css/main.2441cded.chunk.css", |
||||
"main.js": "/SkillDisplay/static/js/main.53d33ba9.chunk.js", |
||||
"main.js.map": "/SkillDisplay/static/js/main.53d33ba9.chunk.js.map", |
||||
"runtime-main.js": "/SkillDisplay/static/js/runtime-main.2e231354.js", |
||||
"runtime-main.js.map": "/SkillDisplay/static/js/runtime-main.2e231354.js.map", |
||||
"static/js/2.306702d8.chunk.js": "/SkillDisplay/static/js/2.306702d8.chunk.js", |
||||
"static/js/2.306702d8.chunk.js.map": "/SkillDisplay/static/js/2.306702d8.chunk.js.map", |
||||
"main.css": "/SkillDisplay/static/css/main.e0707cc8.chunk.css", |
||||
"main.js": "/SkillDisplay/static/js/main.5dc21a1f.chunk.js", |
||||
"main.js.map": "/SkillDisplay/static/js/main.5dc21a1f.chunk.js.map", |
||||
"runtime-main.js": "/SkillDisplay/static/js/runtime-main.58acd0bf.js", |
||||
"runtime-main.js.map": "/SkillDisplay/static/js/runtime-main.58acd0bf.js.map", |
||||
"static/js/2.19c4ef27.chunk.js": "/SkillDisplay/static/js/2.19c4ef27.chunk.js", |
||||
"static/js/2.19c4ef27.chunk.js.map": "/SkillDisplay/static/js/2.19c4ef27.chunk.js.map", |
||||
"index.html": "/SkillDisplay/index.html", |
||||
"precache-manifest.82959ecdbf4350505f818a1ef3c76efb.js": "/SkillDisplay/precache-manifest.82959ecdbf4350505f818a1ef3c76efb.js", |
||||
"service-worker.js": "/SkillDisplay/service-worker.js", |
||||
"static/css/main.2441cded.chunk.css.map": "/SkillDisplay/static/css/main.2441cded.chunk.css.map", |
||||
"static/js/2.306702d8.chunk.js.LICENSE.txt": "/SkillDisplay/static/js/2.306702d8.chunk.js.LICENSE.txt" |
||||
"static/css/main.e0707cc8.chunk.css.map": "/SkillDisplay/static/css/main.e0707cc8.chunk.css.map", |
||||
"static/js/2.19c4ef27.chunk.js.LICENSE.txt": "/SkillDisplay/static/js/2.19c4ef27.chunk.js.LICENSE.txt" |
||||
}, |
||||
"entrypoints": [ |
||||
"static/js/runtime-main.2e231354.js", |
||||
"static/js/2.306702d8.chunk.js", |
||||
"static/css/main.2441cded.chunk.css", |
||||
"static/js/main.53d33ba9.chunk.js" |
||||
"static/js/runtime-main.58acd0bf.js", |
||||
"static/js/2.19c4ef27.chunk.js", |
||||
"static/css/main.e0707cc8.chunk.css", |
||||
"static/js/main.5dc21a1f.chunk.js" |
||||
] |
||||
} |
@ -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.2441cded.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,u,i=r[0],a=r[1],p=r[2],c=0,s=[];c<i.length;c++)u=i[c],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&s.push(o[u][0]),o[u]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(f&&f(r);s.length;)s.shift()();return l.push.apply(l,p||[]),t()}function t(){for(var e,r=0;r<l.length;r++){for(var t=l[r],n=!0,i=1;i<t.length;i++){var a=t[i];0!==o[a]&&(n=!1)}n&&(l.splice(r--,1),e=u(u.s=t[0]))}return e}var n={},o={1:0},l=[];function u(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.m=e,u.c=n,u.d=function(e,r,t){u.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,r){if(1&r&&(e=u(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)u.d(t,n,function(r){return e[r]}.bind(null,n));return t},u.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(r,"a",r),r},u.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},u.p="/SkillDisplay/";var i=this.webpackJsonpskilldisplay=this.webpackJsonpskilldisplay||[],a=i.push.bind(i);i.push=r,i=i.slice();for(var p=0;p<i.length;p++)r(i[p]);var f=a;t()}([])</script><script src="/SkillDisplay/static/js/2.306702d8.chunk.js"></script><script src="/SkillDisplay/static/js/main.53d33ba9.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.e0707cc8.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,u,i=r[0],a=r[1],p=r[2],c=0,s=[];c<i.length;c++)u=i[c],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&s.push(o[u][0]),o[u]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(f&&f(r);s.length;)s.shift()();return l.push.apply(l,p||[]),t()}function t(){for(var e,r=0;r<l.length;r++){for(var t=l[r],n=!0,i=1;i<t.length;i++){var a=t[i];0!==o[a]&&(n=!1)}n&&(l.splice(r--,1),e=u(u.s=t[0]))}return e}var n={},o={1:0},l=[];function u(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.m=e,u.c=n,u.d=function(e,r,t){u.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,r){if(1&r&&(e=u(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)u.d(t,n,function(r){return e[r]}.bind(null,n));return t},u.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(r,"a",r),r},u.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},u.p="/SkillDisplay/";var i=this.webpackJsonpskilldisplay=this.webpackJsonpskilldisplay||[],a=i.push.bind(i);i.push=r,i=i.slice();for(var p=0;p<i.length;p++)r(i[p]);var f=a;t()}([])</script><script src="/SkillDisplay/static/js/2.19c4ef27.chunk.js"></script><script src="/SkillDisplay/static/js/main.5dc21a1f.chunk.js"></script></body></html> |
@ -1,26 +0,0 @@ |
||||
self.__precacheManifest = (self.__precacheManifest || []).concat([ |
||||
{ |
||||
"revision": "d7d6850b0bcd2fe9c386b65fd7cd2b36", |
||||
"url": "/SkillDisplay/index.html" |
||||
}, |
||||
{ |
||||
"revision": "e84585a9f896fd87fb6e", |
||||
"url": "/SkillDisplay/static/css/main.2441cded.chunk.css" |
||||
}, |
||||
{ |
||||
"revision": "a5cf78ead0da14b13059", |
||||
"url": "/SkillDisplay/static/js/2.306702d8.chunk.js" |
||||
}, |
||||
{ |
||||
"revision": "99bd0487192ec9e7d9ee8fbbd91ee444", |
||||
"url": "/SkillDisplay/static/js/2.306702d8.chunk.js.LICENSE.txt" |
||||
}, |
||||
{ |
||||
"revision": "e84585a9f896fd87fb6e", |
||||
"url": "/SkillDisplay/static/js/main.53d33ba9.chunk.js" |
||||
}, |
||||
{ |
||||
"revision": "5cd0a122e7f326f40ea6", |
||||
"url": "/SkillDisplay/static/js/runtime-main.2e231354.js" |
||||
} |
||||
]); |
@ -1,39 +0,0 @@ |
||||
/** |
||||
* Welcome to your Workbox-powered service worker! |
||||
* |
||||
* You'll need to register this file in your web app and you should |
||||
* disable HTTP caching for this file too. |
||||
* See https://goo.gl/nhQhGp
|
||||
* |
||||
* The rest of the code is auto-generated. Please don't update this file |
||||
* directly; instead, make changes to your Workbox build configuration |
||||
* and re-run your build process. |
||||
* See https://goo.gl/2aRDsh
|
||||
*/ |
||||
|
||||
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); |
||||
|
||||
importScripts( |
||||
"/SkillDisplay/precache-manifest.82959ecdbf4350505f818a1ef3c76efb.js" |
||||
); |
||||
|
||||
self.addEventListener('message', (event) => { |
||||
if (event.data && event.data.type === 'SKIP_WAITING') { |
||||
self.skipWaiting(); |
||||
} |
||||
}); |
||||
|
||||
workbox.core.clientsClaim(); |
||||
|
||||
/** |
||||
* The workboxSW.precacheAndRoute() method efficiently caches and responds to |
||||
* requests for URLs in the manifest. |
||||
* See https://goo.gl/S9QRab
|
||||
*/ |
||||
self.__precacheManifest = [].concat(self.__precacheManifest || []); |
||||
workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); |
||||
|
||||
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/SkillDisplay/index.html"), { |
||||
|
||||
blacklist: [/^\/_/,/\/[^\/?]+\.[^\/]+$/], |
||||
}); |
@ -1,2 +0,0 @@ |
||||
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px}html{height:100vh;overflow:hidden;background-image:none;background-repeat:no-repeat}.actions{padding-top:1rem;background:linear-gradient(180deg,transparent calc(25% - 1px),hsla(0,0%,100%,.5) 25%,transparent calc(25% + 1px),transparent calc(50% - 1px),hsla(0,0%,100%,.5) 50%,transparent calc(50% + 1px),transparent calc(75% - 1px),hsla(0,0%,100%,.5) 75%,transparent calc(75% + 1px));height:3rem;padding-bottom:1rem;background-color:rgba(20,20,20,.3);display:inline-block}.container{display:flex;flex-direction:column}.action-move{-webkit-animation-duration:10s;animation-duration:10s;-webkit-animation-name:action-move;animation-name:action-move;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;position:absolute}.gcd{width:3rem}.gcd,.ogcd{vertical-align:top}.ogcd{width:2rem}.action-rotation.gcd{margin-left:1em}.action-rotation.gcd:before{content:"\25B6";font-size:13px;color:hsla(0,0%,100%,.5)}@-webkit-keyframes action-move{0%{-webkit-transform:translateX(calc(100vw - 3rem));transform:translateX(calc(100vw - 3rem))}to{-webkit-transform:translateX(-3rem);transform:translateX(-3rem)}}@keyframes action-move{0%{-webkit-transform:translateX(calc(100vw - 3rem));transform:translateX(calc(100vw - 3rem))}to{-webkit-transform:translateX(-3rem);transform:translateX(-3rem)}}.rotation-list{padding:0 18px;background-color:rgba(80,80,80,.3);display:block}.rotation-button{background-color:hsla(0,0%,39.2%,.3);color:hsla(0,0%,100%,.5);padding:.1em;width:100vw;border:none;outline:none;-webkit-transition:.4s;transition:.4s;display:block}.rotation-button.expanded,.rotation-button:hover{background-color:hsla(0,0%,47.1%,.3)}.rotation-button:after{content:"\25BC";font-size:13px;color:#777;float:right;margin-left:5px}.rotation-button.expanded:after{content:"\25B2"} |
||||
/*# sourceMappingURL=main.2441cded.chunk.css.map */ |
@ -1 +0,0 @@ |
||||
{"version":3,"sources":["App.css","Action.css","Rotation.css"],"names":[],"mappings":"AAAA,KACC,QAAS,CACT,mJAEW,CACX,kCAAmC,CACnC,iCAAkC,CAClC,cACD,CAEA,KACC,YAAa,CACb,eAAgB,CAChB,qBAAsB,CACtB,2BACD,CAEA,SACC,gBAAiB,CACjB,+QAUI,CACJ,WAAY,CACZ,mBAAoB,CACpB,kCAAuC,CACvC,oBACD,CAEA,WACC,YAAa,CACb,qBACD,CCvCA,aACC,8BAAuB,CAAvB,sBAAuB,CACvB,kCAA2B,CAA3B,0BAA2B,CAC3B,wCAAiC,CAAjC,gCAAiC,CACjC,oCAA6B,CAA7B,4BAA6B,CAC7B,iBACD,CAEA,KACC,UAED,CAEA,WAHC,kBAMD,CAHA,MACC,UAED,CAEA,qBACC,eACD,CAEA,4BACC,eAAgB,CAChB,cAAe,CACf,wBACD,CAEA,+BACC,GACC,gDAAyC,CAAzC,wCACD,CAEA,GACC,mCAA4B,CAA5B,2BACD,CACD,CARA,uBACC,GACC,gDAAyC,CAAzC,wCACD,CAEA,GACC,mCAA4B,CAA5B,2BACD,CACD,CCpCA,eACC,cAAe,CACf,kCAAuC,CACvC,aACD,CAEA,iBACC,oCAA0C,CAC1C,wBAA+B,CAC/B,YAAc,CACd,WAAY,CACZ,WAAY,CACZ,YAAa,CACb,sBAAgB,CAAhB,cAAgB,CAChB,aACD,CAEA,iDACC,oCACD,CAEA,uBACC,eAAgB,CAChB,cAAe,CACf,UAAuB,CACvB,WAAY,CACZ,eACD,CAEA,gCACC,eACD","file":"main.2441cded.chunk.css","sourcesContent":["body {\r\n\tmargin: 0;\r\n\tfont-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\",\r\n\t\t\"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\",\r\n\t\tsans-serif;\r\n\t-webkit-font-smoothing: antialiased;\r\n\t-moz-osx-font-smoothing: grayscale;\r\n\tfont-size: 16px;\r\n}\r\n\r\nhtml {\r\n\theight: 100vh;\r\n\toverflow: hidden;\r\n\tbackground-image: none;\r\n\tbackground-repeat: no-repeat;\r\n}\r\n\r\n.actions {\r\n\tpadding-top: 1rem;\r\n\tbackground: linear-gradient(180deg, \r\n\t\trgba(0,0,0,0) calc(25% - 1px), \r\n rgba(255,255,255,0.5) calc(25%), \r\n rgba(0,0,0,0) calc(25% + 1px),\r\n rgba(0,0,0,0) calc(50% - 1px), \r\n rgba(255,255,255,0.5) calc(50%), \r\n rgba(0,0,0,0) calc(50% + 1px),\r\n\t\trgba(0,0,0,0) calc(75% - 1px), \r\n rgba(255,255,255,0.5) calc(75%), \r\n rgba(0,0,0,0) calc(75% + 1px)\r\n );\r\n\theight: 3rem;\r\n\tpadding-bottom: 1rem;\r\n\tbackground-color: rgba(20, 20, 20, 0.3);\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.container {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n}",".action-move {\r\n\tanimation-duration: 10s;\r\n\tanimation-name: action-move;\r\n\tanimation-timing-function: linear;\r\n\tanimation-fill-mode: forwards;\r\n\tposition: absolute;\r\n}\r\n\r\n.gcd {\r\n\twidth: 3rem;\r\n\tvertical-align: top;\r\n}\r\n\r\n.ogcd {\r\n\twidth: 2rem;\r\n\tvertical-align: top;\r\n}\r\n\r\n.action-rotation.gcd {\r\n\tmargin-left: 1em;\r\n}\r\n\r\n.action-rotation.gcd::before {\r\n\tcontent: '\\25B6'; /* Unicode character for right arrow */\r\n\tfont-size: 13px;\r\n\tcolor: rgba(255, 255, 255, 0.5);\r\n}\r\n\r\n@keyframes action-move {\r\n\tfrom {\r\n\t\ttransform: translateX(calc(100vw - 3rem));\r\n\t}\r\n \r\n\tto {\r\n\t\ttransform: translateX(-3rem);\r\n\t}\r\n}",".rotation-list {\r\n\tpadding: 0 18px;\r\n\tbackground-color: rgba(80, 80, 80, 0.3);\r\n\tdisplay: block;\r\n}\r\n\r\n.rotation-button {\r\n\tbackground-color: rgba(100, 100, 100, 0.3);\r\n\tcolor: rgba(255, 255, 255, 0.5);\r\n\tpadding: 0.1em;\r\n\twidth: 100vw;\r\n\tborder: none;\r\n\toutline: none;\r\n\ttransition: 0.4s;\r\n\tdisplay: block;\r\n}\r\n\r\n.rotation-button.expanded, .rotation-button:hover {\r\n\tbackground-color: rgba(120, 120, 120, 0.3);\r\n}\r\n\r\n.rotation-button:after {\r\n\tcontent: '\\25BC';\r\n\tfont-size: 13px;\r\n\tcolor: rgb(119,119,119);\r\n\tfloat: right;\r\n\tmargin-left: 5px;\r\n}\r\n\r\n.rotation-button.expanded:after {\r\n\tcontent: \"\\25B2\";\r\n}"]} |
File diff suppressed because one or more lines are too long
@ -1,32 +0,0 @@ |
||||
/* |
||||
object-assign |
||||
(c) Sindre Sorhus |
||||
@license MIT |
||||
*/ |
||||
|
||||
/** @license React v0.18.0 |
||||
* scheduler.production.min.js |
||||
* |
||||
* Copyright (c) Facebook, Inc. and its affiliates. |
||||
* |
||||
* This source code is licensed under the MIT license found in the |
||||
* LICENSE file in the root directory of this source tree. |
||||
*/ |
||||
|
||||
/** @license React v16.12.0 |
||||
* react-dom.production.min.js |
||||
* |
||||
* Copyright (c) Facebook, Inc. and its affiliates. |
||||
* |
||||
* This source code is licensed under the MIT license found in the |
||||
* LICENSE file in the root directory of this source tree. |
||||
*/ |
||||
|
||||
/** @license React v16.12.0 |
||||
* react.production.min.js |
||||
* |
||||
* Copyright (c) Facebook, Inc. and its affiliates. |
||||
* |
||||
* This source code is licensed under the MIT license found in the |
||||
* LICENSE file in the root directory of this source tree. |
||||
*/ |
File diff suppressed because one or more lines are too long
@ -1,2 +0,0 @@ |
||||
(this.webpackJsonpskilldisplay=this.webpackJsonpskilldisplay||[]).push([[0],[,,,,,,,function(n,t,e){n.exports=e(16)},,,,,function(n,t,e){},,function(n,t,e){},function(n,t,e){},function(n,t,e){"use strict";e.r(t);var a=e(0),o=e.n(a),r=e(2),c=e.n(r),i=e(1),s=e(4);function u(n){return/HOST_PORT=(wss?:\/\/.+)/.exec(window.location.search)?function n(t){var e=new URLSearchParams(window.location.search),a="".concat(e.get("HOST_PORT"),"BeforeLogLineRead")||!1,o=new WebSocket(a);return o.onerror=function(){return o.close()},o.onclose=function(){return setTimeout((function(){n(t)}),1e3)},o.onmessage=function(n,e){if("."===n.data)return o.send(".");var a=JSON.parse(n.data);return"SendCharName"===a.msgtype?t(a.msg):"Chat"===a.msgtype?t.apply(void 0,Object(s.a)(a.msg.split("|"))):void 0},function(){o.close()}}(n):function(n){var t=function(t){n.apply(void 0,Object(s.a)(t.detail))};return document.addEventListener("onLogLine",t),function(){document.removeEventListener("onLogLine",t)}}(n)}e(12);var l=e(3),d=e.n(l),f=e(6),m=(e(14),new Set([15997,15998,15999,16e3,16001,16002,16003,16004,16191,16192,16193,16194,16195,16196,7418,16484,16485,16486,2259,18805,2261,18806,2263,18807,2265,18873,18874,18875,2267,18877,2266,18876,2268,18878,16492,16471,2270,18880,2269,18879,2271,18881,2272])),v=new Set([3559,116,114]);function p(n){var t=n.actionId,e=n.additionalClasses,a=o.a.useState(),r=Object(i.a)(a,2),c=r[0],s=r[1];return o.a.useEffect((function(){var n=!0;return Object(f.a)(d.a.mark((function e(){var a;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("https://xivapi.com/Action/".concat(t),{mode:"cors"});case 2:return e.next=4,e.sent.json();case 4:a=e.sent,n&&s(a);case 6:case"end":return e.stop()}}),e)})))(),function(){n=!1}}),[t]),void 0!==c&&c.Icon?o.a.createElement("img",{className:m.has(t)||!v.has(t)&&4!==c.ActionCategory.ID?"gcd ".concat(e):"ogcd ".concat(e),src:"https://xivapi.com/".concat(c.Icon),alt:c.Name||""}):null}e(15);function h(n){var t=n.encounterId,e=n.name,a=n.actionList,r=o.a.useState(!1),c=Object(i.a)(r,2),s=c[0],u=c[1];return o.a.createElement(o.a.Fragment,null,o.a.createElement("button",{className:s?"rotation-button expanded":"rotation-button",onClick:function(){u((function(n){return!n}))}},0===t?"Current Rotation":e),o.a.createElement(g,{expanded:s,actionList:a}))}function g(n){var t=n.expanded,e=n.actionList;return t?o.a.createElement("div",{className:"rotation-list"},e.map((function(n,t){return o.a.createElement(p,{key:t,actionId:n,additionalClasses:"action-rotation"})}))):null}var w=new Set(["00","01","02","21","22","33"]);c.a.render(o.a.createElement((function(){var n=o.a.useState([]),t=Object(i.a)(n,2),e=t[0],a=t[1],r=o.a.useState([]),s=Object(i.a)(r,2),l=s[0],d=s[1];return o.a.useEffect((function(){var n,t="",e=-1,o="Unknown",r=1,i=u((function(){for(var i=function(){d((function(n){return n[0]&&n[0].rotation&&n[0].rotation.length<=0&&n.shift(),n.unshift({name:o,rotation:[]}),n.slice(0,3)}))},s=arguments.length,u=new Array(s),l=0;l<s;l++)u[l]=arguments[l];if(1===u.length&&u[0].charID)return n=u[0].charID,void i();var f=u[0],m=u[1],v=u[2],p=u[3],h=u[4];if(w.has(f)){switch(f){case"00":return void("0038"===v&&"end"===h&&i());case"01":return void(o=p);case"02":return n=parseInt(v,16),void i();case"33":return void("40000012"!==p&&"40000010"!==p||i())}if(void 0!==n&&parseInt(v,16)===n){var g=parseInt(h,16);if(!(g<=8||m===t&&g===e)){Date.now()-Date.parse(t)>12e4&&i(),t=m,e=g;var E=r%256+1;r=E,c.a.unstable_batchedUpdates((function(){a((function(n){return n.concat({action:g,key:E})})),d((function(n){return n[0]||(n[0]={name:o,rotation:[]}),n[0].rotation.push(g),n}))})),setTimeout((function(){a((function(n){return n.slice(1)}))}),1e4)}}}}));return function(){i()}}),[]),o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"container"},o.a.createElement("div",{className:"actions"},e.map((function(n){var t=n.action,e=n.key;return o.a.createElement(p,{key:e,actionId:t,additionalClasses:"action-move"})}))),l.map((function(n,t){return o.a.createElement(h,{key:t,encounterId:t,name:n.name,actionList:n.rotation})}))))}),null),document.getElementById("root"))}],[[7,1,2]]]); |
||||
//# sourceMappingURL=main.53d33ba9.chunk.js.map
|
File diff suppressed because one or more lines are too long
@ -1,2 +0,0 @@ |
||||
!function(e){function r(r){for(var n,u,i=r[0],a=r[1],p=r[2],c=0,s=[];c<i.length;c++)u=i[c],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&s.push(o[u][0]),o[u]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(f&&f(r);s.length;)s.shift()();return l.push.apply(l,p||[]),t()}function t(){for(var e,r=0;r<l.length;r++){for(var t=l[r],n=!0,i=1;i<t.length;i++){var a=t[i];0!==o[a]&&(n=!1)}n&&(l.splice(r--,1),e=u(u.s=t[0]))}return e}var n={},o={1:0},l=[];function u(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.m=e,u.c=n,u.d=function(e,r,t){u.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,r){if(1&r&&(e=u(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(u.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)u.d(t,n,function(r){return e[r]}.bind(null,n));return t},u.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(r,"a",r),r},u.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},u.p="/SkillDisplay/";var i=this.webpackJsonpskilldisplay=this.webpackJsonpskilldisplay||[],a=i.push.bind(i);i.push=r,i=i.slice();for(var p=0;p<i.length;p++)r(i[p]);var f=a;t()}([]); |
||||
//# sourceMappingURL=runtime-main.2e231354.js.map
|
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue