-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js.map
1 lines (1 loc) · 29.4 KB
/
index.js.map
1
{"version":3,"file":"./index.js","mappings":";mBACA,IAAIA,EAAsB,CCA1BA,EAAwB,CAACC,EAASC,KACjC,IAAI,IAAIC,KAAOD,EACXF,EAAoBI,EAAEF,EAAYC,KAASH,EAAoBI,EAAEH,EAASE,IAC5EE,OAAOC,eAAeL,EAASE,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDH,EAAwB,CAACS,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,ICClF,SAAAI,eAAAC,EAAAC,GAAA,gBAAAC,gBAAAF,GAAA,GAAAG,MAAAC,QAAAJ,GAAA,OAAAA,CAAA,CAAAE,CAAAF,IAAA,SAAAK,sBAAAL,EAAAC,GAAA,IAAAK,EAAA,MAAAN,EAAA,yBAAAO,QAAAP,EAAAO,OAAAC,WAAAR,EAAA,uBAAAM,EAAA,KAAAG,EAAAC,EAAAC,EAAAC,EAAAC,EAAA,GAAAC,GAAA,EAAAC,GAAA,SAAAJ,GAAAL,EAAAA,EAAAR,KAAAE,IAAAgB,KAAA,IAAAf,EAAA,IAAAX,OAAAgB,KAAAA,EAAA,OAAAQ,GAAA,cAAAA,GAAAL,EAAAE,EAAAb,KAAAQ,IAAAW,QAAAJ,EAAAK,KAAAT,EAAAU,OAAAN,EAAAO,SAAAnB,GAAAa,GAAA,UAAAO,GAAAN,GAAA,EAAAL,EAAAW,CAAA,iBAAAP,GAAA,MAAAR,EAAA,SAAAM,EAAAN,EAAA,SAAAhB,OAAAsB,KAAAA,GAAA,kBAAAG,EAAA,MAAAL,CAAA,SAAAG,CAAA,EAAAR,CAAAL,EAAAC,IAAA,SAAAqB,4BAAAjC,EAAAkC,GAAA,IAAAlC,EAAA,2BAAAA,EAAA,OAAAmC,kBAAAnC,EAAAkC,GAAA,IAAAE,EAAAnC,OAAAM,UAAA8B,SAAA5B,KAAAT,GAA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AA2N,EAAAnK,OAAA,GAAAuJ,SAAA,UAC/B,SAAA5D,oBAAA,OAAAxB,EAAA7C,MAAA,KAAAD,UAAA,OAAAxL,IAAA,iBAAAK,IAhJD,SAAAA,MACE,OAAO+U,YAAW/I,KAAAO,gBAAAoB,iBAAA,uBAAuB,CACvCgD,GAAI,2BAEJqE,SAAU,gEACVC,MAAO,IACPC,OAAQ,IACRC,WAAW,EACXC,SAAU,CAAC,CAAEC,aAAc,YAAaC,aAAc,sBAE1D,KAAC3H,eAAA,CAvBkB,GAgKrB4H,MAAMC,GAAG,QAAQ,WAEf7S,kBACF,IAEA4S,MAAMC,GAAG,SAAS,WAChBpS,KAAKqS,gBAAkB,IAAI9H,EAE3B+H,WAAWC,EAAiB,IAC9B,IAEA,IAAMA,EAAkB,SAAlBA,kBACJ,IAAMC,EAAgBC,EAAE,WAAY,CAClCC,KAAM,KACNC,IAAK,CACHC,SAAU,WACVvB,OAAQ,OACRwB,QAAS,OACThB,MAAO,OACPC,OAAQ,OACRgB,gBAAiB,OACjBC,MAAO,OACPC,OAAQ,OACRC,aAAc,MACdC,cAAe,QAEjB9G,MAAO,SAAAA,QACDpM,KAAKqS,gBAAgBc,SACvBnT,KAAKqS,gBAAgBtG,QAErB/L,KAAKqS,gBAAgBe,QAAO,EAEhC,IAGFX,EAAE,YAAYY,OAAOb,EACvB","sources":["webpack:///webpack/bootstrap","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///./scripts/settings.js","webpack:///./scripts/main.js"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","import { MODULE_ID } from \"./main.js\";\r\n\r\nexport function registerSettings() {\r\n const settings = {};\r\n\r\n registerSettingsArray(settings);\r\n}\r\n\r\nexport function getSetting(key) {\r\n return game.settings.get(MODULE_ID, key);\r\n}\r\n\r\nexport async function setSetting(key, value) {\r\n return await game.settings.set(MODULE_ID, key, value);\r\n}\r\n\r\nfunction registerSettingsArray(settings) {\r\n for (const [key, value] of Object.entries(settings)) {\r\n if (!value.name) value.name = `${MODULE_ID}.settings.${key}.name`\r\n if (!value.hint) value.hint = `${MODULE_ID}.settings.${key}.hint`\r\n game.settings.register(MODULE_ID, key, value);\r\n }\r\n}","import { initConfig } from './config.js';\nimport { registerSettings } from './settings.js';\n\nexport const MODULE_ID = 'gurps-quick-contest';\n\nclass QuickContestApp extends Application {\n constructor(options = {}) {\n super(options);\n this.actors = [null, null];\n this.modifiers = [null, null];\n }\n\n async close(options = {}) {\n this.actors = [null, null];\n this.modifiers = [null, null];\n return super.close(options);\n }\n\n static get defaultOptions() {\n return mergeObject(super.defaultOptions, {\n id: 'attribute-comparison-app',\n // title: 'Quick Contest',\n template: 'modules/gurps-quick-contest/templates/quick-contest-form.html',\n width: 400,\n height: 300,\n resizable: true,\n dragDrop: [{ dragSelector: '.rollable', dropSelector: '.actor-container' }],\n });\n }\n\n activateListeners(html) {\n super.activateListeners(html);\n this.handleDragDrop(html);\n html.find('#compare-button').click(this.compareAttributes.bind(this));\n }\n\n // Returns GURPS types (modifier, attack, skill-spell)\n getAction(otf) {\n const parsed = GURPS.parselink(otf);\n const action = parsed.action;\n return action;\n }\n\n handleDragDrop(html) {\n const handleDrop = (event) => {\n event.preventDefault();\n const data = JSON.parse(event.dataTransfer.getData('text/plain'));\n\n const slotIndex = event.currentTarget.id === 'actor1' ? 0 : 1;\n\n const action = this.getAction(data.otf);\n let VALUE;\n\n // console.log('action', action)\n if (action.type === 'modifier') {\n this.modifiers[slotIndex] = action.mod;\n updateModifierContainer(event.currentTarget.id, action.orig);\n return;\n }\n const actorId = data.actor;\n const actor = game.actors.get(actorId);\n const otf = data.otf;\n this.actors[slotIndex] = { actor, otf };\n\n console.log(action);\n // console.log('ACTOR', actor, otf)\n if (action.type === 'skill-spell') {\n let skill = GURPS.findSkillSpell(actor, action.name);\n VALUE = skill.level;\n }\n\n if (action.type === 'attack') {\n let attack = GURPS.findAttack(actor, action.name, action.isMelee, action.isRanged);\n VALUE = attack.level;\n }\n\n if (action.type === 'attribute') {\n const path = action.path;\n // console.log('path', path);\n // const path = 'c.d';\n const keys = path.split('.'); // Split the path into an array of keys\n\n VALUE = actor.system;\n for (const key of keys) {\n // console.log('key', key);\n VALUE = VALUE[key]; // Access each key in the path\n // console.log('VALUE after', VALUE);\n }\n\n // VALUE = actor.system.attributes[action.name].value;\n }\n // console.log('VALUEEEE', VALUE);\n updateActorContainer(event.currentTarget.id, actor.name, otf, VALUE, actor.img);\n\n // is this using handlebars? Test it\n // this.render();\n };\n\n html.find('.actor-container').each((i, container) => {\n container.ondrop = handleDrop.bind(this);\n container.ondragover = (event) => event.preventDefault();\n });\n }\n\n // TODO\n // Data for handlebars?\n getData() {\n const data = super.getData();\n data.actors = this.actors;\n return data;\n }\n\n async compareAttributes() {\n if (!this.actors[0] || !this.actors[1]) {\n ui.notifications.warn('Please drop two actors to compare.');\n return;\n }\n\n // Reset Bucket Modifier\n GURPS.ModifierBucket.clear(true)\n\n console.log(this.modifiers);\n\n const action0 = GURPS.parselink(this.actors[0].otf);\n await GURPS.performAction(action0.action, this.actors[0].actor);\n const res0 = GURPS.lastTargetedRolls[this.actors[0].actor.id];\n const margin0 = res0.margin;\n const modifier0 = this.modifiers[0] || 0;\n const tot0 = margin0 + parseInt(modifier0);\n\n const action1 = GURPS.parselink(this.actors[1].otf);\n await GURPS.performAction(action1.action, this.actors[1].actor);\n const res1 = GURPS.lastTargetedRolls[this.actors[1].actor.id];\n const margin1 = res1.margin;\n const modifier1 = this.modifiers[1] || 0;\n const tot1 = margin1 + parseInt(modifier1);\n\n // console.log(tot0, tot1);\n let result;\n\n if (tot0 > tot1) {\n result = `${this.actors[0].actor.name} wins with a margin of ${tot0 - tot1}.`;\n\n ChatMessage.create({\n content: result,\n speaker: { alias: 'GURPS' },\n });\n } else if (tot1 > tot0) {\n result = `${this.actors[1].actor.name} wins with a margin of ${tot1 - tot0}.`;\n ChatMessage.create({\n content: result,\n speaker: { alias: 'GURPS' },\n });\n } else {\n result = `it's a tie!`;\n ChatMessage.create({\n content: result,\n speaker: { alias: 'GURPS' },\n });\n }\n\n ui.notifications.info(result);\n }\n}\n\nHooks.on('init', () => {\n initConfig();\n registerSettings();\n});\n\nHooks.on('ready', () => {\n game.quickContestApp = new QuickContestApp();\n // TODO remove setTimeout and use a proper Hook\n setTimeout(addToggleButton, 1000);\n});\n\nconst addToggleButton = () => {\n const $toggleButton = $('<button>', {\n text: 'QC',\n css: {\n position: 'relative',\n margin: '10px',\n padding: '10px',\n width: '50px',\n height: '50px',\n backgroundColor: '#333',\n color: '#fff',\n border: 'none',\n borderRadius: '5px',\n pointerEvents: 'auto',\n },\n click: () => {\n if (game.quickContestApp.rendered) {\n game.quickContestApp.close();\n } else {\n game.quickContestApp.render(true);\n }\n },\n });\n\n $('#players').before($toggleButton);\n};\n\nfunction updateModifierContainer(id, mod) {\n const actorContainer = document.getElementById(id);\n\n if (actorContainer) {\n const modifier = actorContainer.querySelector('.attribute-modifier');\n\n if (modifier) modifier.textContent = mod;\n } else {\n console.log(`Element with ID ${id} not found.`);\n }\n}\nfunction updateActorContainer(id, name, attrName, attrValue, imgSrc) {\n const versusContainer = document.getElementById('versus');\n const actorContainer = document.getElementById(id);\n\n console.log('attrValue', attrValue);\n if (actorContainer) {\n const actorName = actorContainer.querySelector('.actor-name');\n const attributeName = actorContainer.querySelector('.attribute-name');\n const attributeValue = actorContainer.querySelector('.attribute-value');\n const actorImage = versusContainer.querySelector(id === 'actor1' ? '.actor1-image' : '.actor2-image');\n\n if (actorName) actorName.textContent = name;\n if (attributeName) attributeName.textContent = attrName;\n if (attributeValue) attributeValue.textContent = attrValue;\n if (actorImage) {\n actorImage.innerHTML = `<img src=\"${imgSrc}\" alt=\"${name}\" style=\"width: 70px; height: 70px; border-radius: 50%;\">`;\n }\n } else {\n console.log(`Element with ID ${id} not found.`);\n }\n}\n"],"names":["__webpack_require__","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","_slicedToArray","arr","i","_arrayWithHoles","Array","isArray","_iterableToArrayLimit","_i","Symbol","iterator","_s","_e","_x","_r","_arr","_n","_d","next","done","push","value","length","err","_unsupportedIterableToArray","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","from","test","_nonIterableRest","TypeError","len","arr2","registerSettings","registerSettingsArray","settings","_Object$entries","entries","_Object$entries$_i","concat","MODULE_ID","hint","game","register","_regeneratorRuntime","Op","hasOwn","desc","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","configurable","writable","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","fn","arg","type","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","method","_invoke","AsyncIterator","PromiseImpl","invoke","resolve","reject","record","result","_typeof","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","methodName","undefined","info","resultName","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","displayName","isGeneratorFunction","genFun","ctor","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","val","object","reverse","pop","skipTempReset","prev","charAt","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","_catch","thrown","delegateYield","asyncGeneratorStep","gen","_next","_throw","_asyncToGenerator","args","arguments","apply","_defineProperties","target","props","descriptor","_toPrimitive","input","prim","toPrimitive","res","String","Number","_get","Reflect","bind","property","receiver","base","_superPropBase","_getPrototypeOf","getOwnPropertyDescriptor","_setPrototypeOf","p","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","construct","sham","Proxy","Boolean","valueOf","e","_createSuperInternal","Super","NewTarget","_possibleConstructorReturn","_assertThisInitialized","ReferenceError","QuickContestApp","_Application","_inherits","subClass","superClass","Application","_compareAttributes","_close","_super","_this","options","_classCallCheck","instance","Constructor","actors","modifiers","_createClass","protoProps","staticProps","_callee","_args","_callee$","_context","this","close","activateListeners","html","handleDragDrop","find","click","compareAttributes","getAction","otf","GURPS","parselink","action","_this2","handleDrop","event","preventDefault","VALUE","data","JSON","parse","dataTransfer","getData","slotIndex","currentTarget","id","mod","updateModifierContainer","actorContainer","document","getElementById","modifier","querySelector","textContent","console","log","orig","actorId","actor","findSkillSpell","level","findAttack","isMelee","isRanged","path","split","system","_step","_iterator","_createForOfIteratorHelper","s","f","updateActorContainer","attrName","attrValue","imgSrc","versusContainer","actorName","attributeName","attributeValue","actorImage","innerHTML","img","each","container","ondrop","ondragover","_callee2","action0","res0","margin0","modifier0","tot0","action1","res1","margin1","modifier1","tot1","_callee2$","_context2","ui","notifications","warn","ModifierBucket","clear","performAction","lastTargetedRolls","margin","parseInt","ChatMessage","content","speaker","alias","mergeObject","template","width","height","resizable","dragDrop","dragSelector","dropSelector","Hooks","on","quickContestApp","setTimeout","addToggleButton","$toggleButton","$","text","css","position","padding","backgroundColor","color","border","borderRadius","pointerEvents","rendered","render","before"],"sourceRoot":""}