@randsum/fifth 0.23.0 → 0.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/index.cjs +2 -3
- package/dist/index.cjs.map +13 -0
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -3
- package/dist/index.js.map +13 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +2 -3
- package/src/d20Roll/generateModifiers.ts +0 -15
- package/src/d20Roll/generateQuantity.ts +0 -11
- package/src/d20Roll/index.ts +0 -20
- package/src/index.ts +0 -3
- package/src/types.ts +0 -8
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ bun add @randsum/fifth
|
|
|
32
32
|
## Usage
|
|
33
33
|
|
|
34
34
|
```typescript
|
|
35
|
-
import { roll
|
|
35
|
+
import { roll } from "@randsum/fifth"
|
|
36
36
|
import type { RollArgument } from "@randsum/fifth"
|
|
37
37
|
|
|
38
38
|
// Basic roll with modifier
|
|
@@ -55,7 +55,8 @@ const rollArg: RollArgument = {
|
|
|
55
55
|
modifier: 5,
|
|
56
56
|
rollingWith: "Advantage"
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
const result = roll(rollArg)
|
|
59
|
+
const success = result.total >= 15 // Check if roll meets or exceeds DC 15
|
|
59
60
|
```
|
|
60
61
|
|
|
61
62
|
## API Reference
|
|
@@ -72,7 +73,7 @@ const result = d20Roll({
|
|
|
72
73
|
// Returns a roll result with total and details
|
|
73
74
|
```
|
|
74
75
|
|
|
75
|
-
We also export the `roll`
|
|
76
|
+
We also export the `roll` function from `@randsum/roller` for your convenience.
|
|
76
77
|
|
|
77
78
|
## Related Packages
|
|
78
79
|
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var
|
|
1
|
+
var y=require("node:module");var{defineProperty:i,getOwnPropertyNames:m,getOwnPropertyDescriptor:u}=Object,a=Object.prototype.hasOwnProperty;var p=new WeakMap,R=(t)=>{var o=p.get(t),r;if(o)return o;if(o=i({},"__esModule",{value:!0}),t&&typeof t==="object"||typeof t==="function")m(t).map((e)=>!a.call(o,e)&&i(o,e,{get:()=>t[e],enumerable:!(r=u(t,e))||r.enumerable}));return p.set(t,o),o};var d=(t,o)=>{for(var r in o)i(t,r,{get:o[r],enumerable:!0,configurable:!0,set:(e)=>o[r]=()=>e})};var A={};d(A,{validateNotation:()=>l.validateNotation,rollCustom:()=>l.rollCustom,roll:()=>l.roll,d20Roll:()=>g});module.exports=R(A);var l=require("@randsum/roller");var s=require("@randsum/roller");function n({advantage:t,disadvantage:o}={}){if(t&&o||!t&&!o)return 1;return 2}function f({advantage:t,disadvantage:o}={}){if(t&&o||!t&&!o)return{drop:{}};return{drop:t?{lowest:1}:{highest:1}}}function g({rollingWith:t,modifier:o=0}){let r={sides:20,quantity:n(t),modifiers:{...f(t),plus:o}};return s.roll(r)}
|
|
2
2
|
|
|
3
|
-
//# debugId=
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2luZGV4LnRzIiwgIi4uL3NyYy9kMjBSb2xsL2luZGV4LnRzIiwgIi4uL3NyYy9kMjBSb2xsL2dlbmVyYXRlUXVhbnRpdHkudHMiLCAiLi4vc3JjL2QyMFJvbGwvZ2VuZXJhdGVNb2RpZmllcnMudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbCiAgICAiZXhwb3J0ICogZnJvbSAnQHJhbmRzdW0vcm9sbGVyJ1xuZXhwb3J0ICogZnJvbSAnLi9kMjBSb2xsJ1xuZXhwb3J0IHR5cGUgKiBmcm9tICcuL3R5cGVzJ1xuIiwKICAgICJpbXBvcnQge1xuICB0eXBlIFJvbGxPcHRpb25zLFxuICB0eXBlIFJvbGxlclJvbGxSZXN1bHQsXG4gIHJvbGwgYXMgY29yZVJvbGxcbn0gZnJvbSAnQHJhbmRzd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FXLEVBQ3RDLFVBQVcsSUFBSyxFQUFrQixDQUFXLEVBQUcsS0FBTSxDQUFTLENBQ2pFLEVBQ0EsT0FBTyxPQUFTLENBQU8iLAogICJkZWJ1Z0lkIjogIjhBQUJCRTQ0Q0U2QTREMDU2NDc1NkUyMTY0NzU2RTIxIiwKICAibmFtZXMiOiBbXQp9
|
|
3
|
+
//# debugId=8A5DAE53643DE95B64756E2164756E21
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/index.ts", "../src/d20Roll/index.ts", "../src/d20Roll/generateQuantity.ts", "../src/d20Roll/generateModifiers.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"export { roll, rollCustom, validateNotation } from '@randsum/roller'\nexport type {\n RollArgument,\n RollerRollResult,\n ValidationResult\n} from '@randsum/roller'\n\nexport * from './d20Roll'\nexport type * from './types'\n",
|
|
6
|
+
"import {\n type RollOptions,\n type RollerRollResult,\n roll as coreRoll\n} from '@randsum/roller'\nimport type { FifthRollArgument } from '../types'\nimport { generateQuantity } from './generateQuantity'\nimport { generateModifiers } from './generateModifiers'\n\nexport function d20Roll({\n rollingWith,\n modifier = 0\n}: FifthRollArgument): RollerRollResult {\n const rollArg: RollOptions = {\n sides: 20,\n quantity: generateQuantity(rollingWith),\n modifiers: { ...generateModifiers(rollingWith), plus: modifier }\n }\n return coreRoll(rollArg)\n}\n",
|
|
7
|
+
"import type { FifthAdvantageDisadvantage } from '../types'\n\nexport function generateQuantity({\n advantage,\n disadvantage\n}: FifthAdvantageDisadvantage = {}): 1 | 2 {\n if ((advantage && disadvantage) || (!advantage && !disadvantage)) {\n return 1\n }\n return 2\n}\n",
|
|
8
|
+
"import type { ModifierOptions } from '@randsum/roller'\nimport type { FifthAdvantageDisadvantage } from '../types'\n\nexport function generateModifiers({\n advantage,\n disadvantage\n}: FifthAdvantageDisadvantage = {}): Pick<ModifierOptions, 'drop'> {\n if ((advantage && disadvantage) || (!advantage && !disadvantage)) {\n return { drop: {} }\n }\n\n return {\n drop: advantage ? { lowest: 1 } : { highest: 1 }\n }\n}\n"
|
|
9
|
+
],
|
|
10
|
+
"mappings": "4mBAAmD,IAAnD,6BCIO,IAJP,6BCEO,SAAS,CAAgB,EAC9B,YACA,gBAC8B,CAAC,EAAU,CACzC,GAAK,GAAa,IAAmB,IAAc,EACjD,MAAO,GAET,MAAO,GCNF,SAAS,CAAiB,EAC/B,YACA,gBAC8B,CAAC,EAAkC,CACjE,GAAK,GAAa,IAAmB,IAAc,EACjD,MAAO,CAAE,KAAM,CAAC,CAAE,EAGpB,MAAO,CACL,KAAM,EAAY,CAAE,OAAQ,CAAE,EAAI,CAAE,QAAS,CAAE,CACjD,EFJK,SAAS,CAAO,EACrB,cACA,WAAW,GAC2B,CACtC,IAAM,EAAuB,CAC3B,MAAO,GACP,SAAU,EAAiB,CAAW,EACtC,UAAW,IAAK,EAAkB,CAAW,EAAG,KAAM,CAAS,CACjE,EACA,OAAO,OAAS,CAAO",
|
|
11
|
+
"debugId": "8A5DAE53643DE95B64756E2164756E21",
|
|
12
|
+
"names": []
|
|
13
|
+
}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { roll, rollCustom, validateNotation } from "@randsum/roller";
|
|
2
|
+
import { RollArgument, RollerRollResult as RollerRollResult2, ValidationResult } from "@randsum/roller";
|
|
2
3
|
import { RollerRollResult } from "@randsum/roller";
|
|
3
4
|
interface FifthAdvantageDisadvantage {
|
|
4
5
|
advantage?: boolean;
|
|
@@ -9,4 +10,4 @@ interface FifthRollArgument {
|
|
|
9
10
|
rollingWith?: FifthAdvantageDisadvantage;
|
|
10
11
|
}
|
|
11
12
|
declare function d20Roll({ rollingWith, modifier }: FifthRollArgument): RollerRollResult;
|
|
12
|
-
export { d20Roll, FifthRollArgument, FifthAdvantageDisadvantage };
|
|
13
|
+
export { validateNotation, rollCustom, roll, d20Roll, ValidationResult, RollerRollResult2 as RollerRollResult, RollArgument, FifthRollArgument, FifthAdvantageDisadvantage };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { roll, rollCustom, validateNotation } from "@randsum/roller";
|
|
2
|
+
import { RollArgument, RollerRollResult as RollerRollResult2, ValidationResult } from "@randsum/roller";
|
|
2
3
|
import { RollerRollResult } from "@randsum/roller";
|
|
3
4
|
interface FifthAdvantageDisadvantage {
|
|
4
5
|
advantage?: boolean;
|
|
@@ -9,4 +10,4 @@ interface FifthRollArgument {
|
|
|
9
10
|
rollingWith?: FifthAdvantageDisadvantage;
|
|
10
11
|
}
|
|
11
12
|
declare function d20Roll({ rollingWith, modifier }: FifthRollArgument): RollerRollResult;
|
|
12
|
-
export { d20Roll, FifthRollArgument, FifthAdvantageDisadvantage };
|
|
13
|
+
export { validateNotation, rollCustom, roll, d20Roll, ValidationResult, RollerRollResult2 as RollerRollResult, RollArgument, FifthRollArgument, FifthAdvantageDisadvantage };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import{roll as y,rollCustom as g,validateNotation as A}from"@randsum/roller";import{roll as i}from"@randsum/roller";function r({advantage:t,disadvantage:o}={}){if(t&&o||!t&&!o)return 1;return 2}function e({advantage:t,disadvantage:o}={}){if(t&&o||!t&&!o)return{drop:{}};return{drop:t?{lowest:1}:{highest:1}}}function u({rollingWith:t,modifier:o=0}){let l={sides:20,quantity:r(t),modifiers:{...e(t),plus:o}};return i(l)}export{A as validateNotation,g as rollCustom,y as roll,u as d20Roll};
|
|
2
2
|
|
|
3
|
-
//# debugId=
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vc3JjL2luZGV4LnRzIiwgIi4uL3NyYy9kMjBSb2xsL2luZGV4LnRzIiwgIi4uL3NyYy9kMjBSb2xsL2dlbmVyYXR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1BQU8sR0FFVCxNQUFPLEdDTkYsU0FBUyxDQUFpQixFQUMvQixZQUNBLGdCQUM4QixDQUFDLEVBQWtDLENBQ2pFLEdBQUssR0FBYSxJQUFtQixJQUFjLEVBQ2pELE1BQU8sQ0FBRSxLQUFNLENBQUMsQ0FBRSxFQUdwQixNQUFPLENBQ0wsS0FBTSxFQUFZLENBQUUsT0FBUSxDQUFFLEVBQUksQ0FBRSxRQUFTLENBQUUsQ0FDakQsRUZKSyxTQUFTLENBQU8sRUFDckIsY0FDQSxXQUFXLEdBQzJCLENBQ3RDLElBQU0sRUFBdUIsQ0FDM0IsTUFBTyxHQUNQLFNBQVUsRUFBaUIsQ0FBVyxFQUN0QyxVQUFXLElBQUssRUFBa0IsQ0FBVyxFQUFHLEtBQU0sQ0FBUyxDQUNqRSxFQUNBLE9BQU8sRUFBUyxDQUFPIiwKICAiZGVidWdJZCI6ICJENTU5RjIzNUQwMTNERkNENjQ3NTZFMjE2NDc1NkUyMSIsCiAgIm5hbWVzIjogW10KfQ==
|
|
3
|
+
//# debugId=F4D2EAD14012847064756E2164756E21
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/index.ts", "../src/d20Roll/index.ts", "../src/d20Roll/generateQuantity.ts", "../src/d20Roll/generateModifiers.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"export { roll, rollCustom, validateNotation } from '@randsum/roller'\nexport type {\n RollArgument,\n RollerRollResult,\n ValidationResult\n} from '@randsum/roller'\n\nexport * from './d20Roll'\nexport type * from './types'\n",
|
|
6
|
+
"import {\n type RollOptions,\n type RollerRollResult,\n roll as coreRoll\n} from '@randsum/roller'\nimport type { FifthRollArgument } from '../types'\nimport { generateQuantity } from './generateQuantity'\nimport { generateModifiers } from './generateModifiers'\n\nexport function d20Roll({\n rollingWith,\n modifier = 0\n}: FifthRollArgument): RollerRollResult {\n const rollArg: RollOptions = {\n sides: 20,\n quantity: generateQuantity(rollingWith),\n modifiers: { ...generateModifiers(rollingWith), plus: modifier }\n }\n return coreRoll(rollArg)\n}\n",
|
|
7
|
+
"import type { FifthAdvantageDisadvantage } from '../types'\n\nexport function generateQuantity({\n advantage,\n disadvantage\n}: FifthAdvantageDisadvantage = {}): 1 | 2 {\n if ((advantage && disadvantage) || (!advantage && !disadvantage)) {\n return 1\n }\n return 2\n}\n",
|
|
8
|
+
"import type { ModifierOptions } from '@randsum/roller'\nimport type { FifthAdvantageDisadvantage } from '../types'\n\nexport function generateModifiers({\n advantage,\n disadvantage\n}: FifthAdvantageDisadvantage = {}): Pick<ModifierOptions, 'drop'> {\n if ((advantage && disadvantage) || (!advantage && !disadvantage)) {\n return { drop: {} }\n }\n\n return {\n drop: advantage ? { lowest: 1 } : { highest: 1 }\n }\n}\n"
|
|
9
|
+
],
|
|
10
|
+
"mappings": "AAAA,eAAS,gBAAM,sBAAY,wBCA3B,eAGE,wBCDK,SAAS,CAAgB,EAC9B,YACA,gBAC8B,CAAC,EAAU,CACzC,GAAK,GAAa,IAAmB,IAAc,EACjD,MAAO,GAET,MAAO,GCNF,SAAS,CAAiB,EAC/B,YACA,gBAC8B,CAAC,EAAkC,CACjE,GAAK,GAAa,IAAmB,IAAc,EACjD,MAAO,CAAE,KAAM,CAAC,CAAE,EAGpB,MAAO,CACL,KAAM,EAAY,CAAE,OAAQ,CAAE,EAAI,CAAE,QAAS,CAAE,CACjD,EFJK,SAAS,CAAO,EACrB,cACA,WAAW,GAC2B,CACtC,IAAM,EAAuB,CAC3B,MAAO,GACP,SAAU,EAAiB,CAAW,EACtC,UAAW,IAAK,EAAkB,CAAW,EAAG,KAAM,CAAS,CACjE,EACA,OAAO,EAAS,CAAO",
|
|
11
|
+
"debugId": "F4D2EAD14012847064756E2164756E21",
|
|
12
|
+
"names": []
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.bun/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../roller/dist/index.d.ts","../src/types.ts","../src/d20Roll/generateQuantity.ts","../src/d20Roll/generateModifiers.ts","../src/d20Roll/index.ts","../src/index.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/utility.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/header.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/globals.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/assert.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/buffer.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/child_process.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/cluster.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/console.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/constants.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/crypto.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/dgram.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/dns.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/domain.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/events.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/fs.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/http.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/http2.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/https.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/inspector.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/module.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/net.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/os.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/path.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/process.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/punycode.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/querystring.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/readline.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/repl.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/sea.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/stream.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/test.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/timers.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/tls.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/tty.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/url.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/util.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/v8.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/vm.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/wasi.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/zlib.d.ts","../../../node_modules/.bun/@types+node@24.0.10/node_modules/@types/node/index.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/client.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/h2c-client.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/mock-call-history.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/api.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/cache-interceptor.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/util.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.bun/undici-types@7.8.0/node_modules/undici-types/index.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/globals.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/s3.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/fetch.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/bun.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/extensions.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/devserver.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/ffi.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/html-rewriter.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/jsc.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/sqlite.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/test.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/wasm.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/overrides.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/deprecated.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/redis.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/shell.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/experimental.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/bun.ns.d.ts","../../../node_modules/.bun/bun-types@1.2.19+a41f2c6ae32925c1/node_modules/bun-types/index.d.ts","../../../node_modules/.bun/@types+bun@1.2.19+a41f2c6ae32925c1/node_modules/@types/bun/index.d.ts"],"fileIdsList":[[90,95,182,183,184,185,187,193,195,196,197,198,200],[90,92,95,182,183,184,185,187,193,195,196,197,198],[90,94,95,182,183,184,185,187,193,195,196,197,198],[95,182,183,184,185,187,193,195,196,197,198],[90,95,100,130,182,183,184,185,187,193,195,196,197,198],[90,95,96,101,107,108,115,127,138,182,183,184,185,187,193,195,196,197,198],[90,95,96,97,107,115,182,183,184,185,187,193,195,196,197,198],[90,95,182,183,184,185,187,193,195,196,197,198],[90,95,98,139,182,183,184,185,187,193,195,196,197,198],[90,95,99,100,108,116,182,183,184,185,187,193,195,196,197,198],[90,95,100,127,135,182,183,184,185,187,193,195,196,197,198],[90,95,101,103,107,115,182,183,184,185,187,193,195,196,197,198],[90,94,95,102,182,183,184,185,187,193,195,196,197,198],[90,95,103,104,182,183,184,185,187,193,195,196,197,198],[90,95,105,107,182,183,184,185,187,193,195,196,197,198],[90,94,95,107,182,183,184,185,187,193,195,196,197,198],[90,95,107,108,109,127,138,182,183,184,185,187,193,195,196,197,198],[90,95,107,108,109,122,127,130,182,183,184,185,187,193,194,195,196,197,198],[90,95,181,182,183,184,185,187,193,195,196,197,198],[90,95,103,107,110,115,127,138,181,182,183,184,185,187,193,195,196,197,198],[90,95,107,108,110,111,115,127,135,138,182,183,184,185,187,193,195,196,197,198],[90,95,110,112,127,135,138,182,183,184,185,187,193,195,196,197,198],[88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,182,183,184,185,187,193,195,196,197,198],[90,95,107,113,182,183,184,185,187,193,195,196,197,198],[90,95,114,138,182,183,184,185,187,193,195,196,197,198],[90,95,103,107,115,127,182,183,184,185,187,193,195,196,197,198],[90,95,116,182,183,184,185,187,193,195,196,197,198],[90,95,117,182,183,184,185,187,193,195,196,197,198],[90,94,95,118,182,183,184,185,187,193,195,196,197,198],[90,92,93,94,95,96,97,98,99,100,101,102,103,104,105,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,182,183,184,185,187,193,194,195,196,197,198],[90,95,120,182,183,184,185,187,193,195,196,197,198],[90,95,121,182,183,184,185,187,193,195,196,197,198],[90,95,107,122,123,182,183,184,185,187,193,195,196,197,198],[90,95,122,124,139,141,182,183,184,185,187,193,195,196,197,198],[90,95,107,127,128,130,182,183,184,185,187,193,195,196,197,198],[90,95,129,130,182,183,184,185,187,193,195,196,197,198],[90,95,127,128,182,183,184,185,187,193,195,196,197,198],[90,95,130,182,183,184,185,187,193,194,195,196,197,198],[90,95,131,182,183,184,185,187,193,195,196,197,198],[90,92,95,127,132,182,183,184,185,187,193,195,196,197,198],[90,95,107,133,134,182,183,184,185,187,193,195,196,197,198],[90,95,133,134,182,183,184,185,187,193,195,196,197,198],[90,95,100,115,127,135,182,183,184,185,187,193,194,195,196,197,198],[90,95,136,182,183,184,185,187,193,195,196,197,198],[90,95,115,137,182,183,184,185,187,193,195,196,197,198],[90,95,110,121,138,182,183,184,185,187,193,195,196,197,198],[90,95,100,139,182,183,184,185,187,193,195,196,197,198],[90,95,127,140,182,183,184,185,187,193,195,196,197,198],[90,95,114,141,182,183,184,185,187,193,195,196,197,198],[90,95,142,182,183,184,185,187,193,195,196,197,198],[90,95,107,109,118,127,130,138,140,141,143,182,183,184,185,187,193,195,196,197,198],[90,95,127,144,182,183,184,185,187,193,195,196,197,198],[90,95,100,108,110,135,139,143,181,182,183,184,187,188,193,194,195,196,197,198],[90,95,182,183,184,185,187,193,196,197,198],[90,95,182,183,184,185,193,195,196,197,198],[90,95,182,183,184,185,187,193,195,196,197],[90,95,181,182,183,185,187,193,195,196,197,198],[90,95,100,118,127,130,135,139,143,181,183,184,185,187,193,195,196,197,198],[90,95,145,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199],[90,95,100,108,109,116,130,135,144,182,183,184,185,187,193,195,196,197,198],[90,95,182,183,184,185,187,193,195,197,198],[90,95,108,182,184,185,187,193,195,196,197,198],[90,95,182,183,184,185,187,193,195,196,198],[90,95,182,183,184,185,187,195,196,197,198],[90,95,138,151,155,182,183,184,185,187,193,195,196,197,198],[90,95,127,138,151,182,183,184,185,187,193,195,196,197,198],[90,95,127,182,183,184,185,187,193,195,196,197,198],[90,95,146,182,183,184,185,187,193,195,196,197,198],[90,95,138,148,151,182,183,184,185,187,193,195,196,197,198],[90,95,115,135,182,183,184,185,187,193,194,195,196,197,198],[90,95,145,182,183,184,185,187,193,195,196,197,198],[90,95,145,146,182,183,184,185,187,193,195,196,197,198],[90,95,115,138,148,151,182,183,184,185,187,193,195,196,197,198],[85,86,87,90,95,107,127,138,147,150,182,183,184,185,187,193,195,196,197,198],[90,95,151,159,182,183,184,185,187,193,195,196,197,198],[86,90,95,149,182,183,184,185,187,193,195,196,197,198],[90,95,151,175,176,182,183,184,185,187,193,195,196,197,198],[86,90,95,130,138,145,147,151,182,183,184,185,187,193,194,195,196,197,198],[90,95,151,182,183,184,185,187,193,195,196,197,198],[85,90,95,182,183,184,185,187,193,195,196,197,198],[90,95,146,147,148,149,150,151,152,153,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,176,177,178,179,180,182,183,184,185,187,193,195,196,197,198],[90,95,103,151,168,171,182,183,184,185,187,193,195,196,197,198],[90,95,151,159,160,161,182,183,184,185,187,193,195,196,197,198],[90,95,149,151,160,162,182,183,184,185,187,193,195,196,197,198],[90,95,150,182,183,184,185,187,193,195,196,197,198],[86,90,95,146,151,182,183,184,185,187,193,195,196,197,198],[90,95,151,155,160,162,182,183,184,185,187,193,195,196,197,198],[90,95,155,182,183,184,185,187,193,195,196,197,198],[90,95,138,149,151,154,182,183,184,185,187,193,195,196,197,198],[86,90,95,148,151,159,182,183,184,185,187,193,195,196,197,198],[90,95,151,168,182,183,184,185,187,193,195,196,197,198],[90,95,130,143,145,146,151,175,182,183,184,185,187,193,194,195,196,197,198],[79,80,90,95,182,183,184,185,187,193,195,196,197,198],[80,90,95,182,183,184,185,187,193,195,196,197,198],[79,80,81,82,90,95,182,183,184,185,187,193,195,196,197,198],[79,80,83,90,95,182,183,184,185,187,193,195,196,197,198]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"8bf8b5e44e3c9c36f98e1007e8b7018c0f38d8adc07aecef42f5200114547c70","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},"83a93baf8ee7f22b80c3fd7e779ac2399597d6f978de13126317618aa5b784d6","54af0562c9c021e9d2bec3c16dabc0b5f83d56a3c8a7bc6881c2cf04ec57770f","18cea5360659e4287a541a05beb18d76fb933484d2bfc39779fd7e4e62aac8b0","16fb5dcb21a29146c67a945dcdf7162ec32be4fcf9dbacad1d7ae4a5b646d49e","baf79e5b032d0d06f94f0ea9287d96b6db3907c8b5ad21223daad7148e709f8c","e69e5fdd3b822fb287d04218a25140638bd39673c5128ec35c8a4c9f2be3687a",{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0671b50bb99cc7ad46e9c68fa0e7f15ba4bc898b59c31a17ea4611fab5095da","affectsGlobalScope":true,"impliedFormat":1},{"version":"d802f0e6b5188646d307f070d83512e8eb94651858de8a82d1e47f60fb6da4e2","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4b4faedc57701ae727d78ba4a83e466a6e3bdcbe40efbf913b17e860642897c","affectsGlobalScope":true,"impliedFormat":1},{"version":"bbcfd9cd76d92c3ee70475270156755346c9086391e1b9cb643d072e0cf576b8","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"72c1f5e0a28e473026074817561d1bc9647909cf253c8d56c41d1df8d95b85f7","impliedFormat":1},{"version":"4a48915fb0c07aa96d315dcb98231aa135151fb961cd3c6093cf29d64304c5d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"938f94db8400d0b479626b9006245a833d50ce8337f391085fad4af540279567","impliedFormat":1},{"version":"c4e8e8031808b158cfb5ac5c4b38d4a26659aec4b57b6a7e2ba0a141439c208c","impliedFormat":1},{"version":"2c91d8366ff2506296191c26fd97cc1990bab3ee22576275d28b654a21261a44","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"12fb9c13f24845000d7bd9660d11587e27ef967cbd64bd9df19ae3e6aa9b52d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"289e9894a4668c61b5ffed09e196c1f0c2f87ca81efcaebdf6357cfb198dac14","impliedFormat":1},{"version":"25a1105595236f09f5bce42398be9f9ededc8d538c258579ab662d509aa3b98e","impliedFormat":1},{"version":"4ea4cb9f755b97e72fd2f42e2d9786baf9184a8625085a24dc7ea96734d5986b","impliedFormat":1},{"version":"bd1b3b48920e1bd6d52133f95153a5d94aa1b3555e5f30b2154336e52abd29bd","impliedFormat":1},{"version":"ad1cc0ed328f3f708771272021be61ab146b32ecf2b78f3224959ff1e2cd2a5c","impliedFormat":1},{"version":"71450bbc2d82821d24ca05699a533e72758964e9852062c53b30f31c36978ab8","affectsGlobalScope":true,"impliedFormat":1},{"version":"62f572306e0b173cc5dfc4c583471151f16ef3779cf27ab96922c92ec82a3bc8","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f32444438ecb1fa4519f6ec3977d69ce0e3acfa18b803e5cd725c204501f350","impliedFormat":1},{"version":"0ab3c844f1eb5a1d94c90edc346a25eb9d3943af7a7812f061bf2d627d8afac0","impliedFormat":1},{"version":"e8c431ccd0dd211303eeeaef6329d70d1ba8d4f6fa23b9c1a625cebd29226c1e","impliedFormat":1},{"version":"161f09445a8b4ba07f62ae54b27054e4234e7957062e34c6362300726dabd315","impliedFormat":1},{"version":"77fced47f495f4ff29bb49c52c605c5e73cd9b47d50080133783032769a9d8a6","impliedFormat":1},{"version":"e6057f9e7b0c64d4527afeeada89f313f96a53291705f069a9193c18880578cb","impliedFormat":1},{"version":"34ecb9596317c44dab586118fb62c1565d3dad98d201cd77f3e6b0dde453339c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0f5cda0282e1d18198e2887387eb2f026372ebc4e11c4e4516fef8a19ee4d514","impliedFormat":1},{"version":"e99b0e71f07128fc32583e88ccd509a1aaa9524c290efb2f48c22f9bf8ba83b1","impliedFormat":1},{"version":"76957a6d92b94b9e2852cf527fea32ad2dc0ef50f67fe2b14bd027c9ceef2d86","impliedFormat":1},{"version":"237581f5ec4620a17e791d3bb79bad3af01e27a274dbee875ac9b0721a4fe97d","affectsGlobalScope":true,"impliedFormat":1},{"version":"a8a99a5e6ed33c4a951b67cc1fd5b64fd6ad719f5747845c165ca12f6c21ba16","affectsGlobalScope":true,"impliedFormat":1},{"version":"a58a15da4c5ba3df60c910a043281256fa52d36a0fcdef9b9100c646282e88dd","impliedFormat":1},{"version":"b36beffbf8acdc3ebc58c8bb4b75574b31a2169869c70fc03f82895b93950a12","impliedFormat":1},{"version":"de263f0089aefbfd73c89562fb7254a7468b1f33b61839aafc3f035d60766cb4","impliedFormat":1},{"version":"70b57b5529051497e9f6482b76d91c0dcbb103d9ead8a0549f5bab8f65e5d031","impliedFormat":1},{"version":"e6d81b1f7ab11dc1b1ad7ad29fcfad6904419b36baf55ed5e80df48d56ac3aff","impliedFormat":1},{"version":"1013eb2e2547ad8c100aca52ef9df8c3f209edee32bb387121bb3227f7c00088","impliedFormat":1},{"version":"b6b8e3736383a1d27e2592c484a940eeb37ec4808ba9e74dd57679b2453b5865","impliedFormat":1},{"version":"d6f36b683c59ac0d68a1d5ee906e578e2f5e9a285bca80ff95ce61cdc9ddcdeb","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"12aad38de6f0594dc21efa78a2c1f67bf6a7ef5a389e05417fe9945284450908","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea713aa14a670b1ea0fbaaca4fd204e645f71ca7653a834a8ec07ee889c45de6","impliedFormat":1},{"version":"b338a6e6c1d456e65a6ea78da283e3077fe8edf7202ae10490abbba5b952b05e","impliedFormat":1},{"version":"2918b7c516051c30186a1055ebcdb3580522be7190f8a2fff4100ea714c7c366","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae86f30d5d10e4f75ce8dcb6e1bd3a12ecec3d071a21e8f462c5c85c678efb41","impliedFormat":1},{"version":"982efeb2573605d4e6d5df4dc7e40846bda8b9e678e058fc99522ab6165c479e","impliedFormat":1},{"version":"e03460fe72b259f6d25ad029f085e4bedc3f90477da4401d8fbc1efa9793230e","impliedFormat":1},{"version":"4286a3a6619514fca656089aee160bb6f2e77f4dd53dc5a96b26a0b4fc778055","impliedFormat":1},{"version":"d67fc92a91171632fc74f413ce42ff1aa7fbcc5a85b127101f7ec446d2039a1f","affectsGlobalScope":true,"impliedFormat":1},{"version":"d40e4631100dbc067268bce96b07d7aff7f28a541b1bfb7ef791c64a696b3d33","affectsGlobalScope":true,"impliedFormat":1},{"version":"784490137935e1e38c49b9289110e74a1622baf8a8907888dcbe9e476d7c5e44","impliedFormat":1},{"version":"42180b657831d1b8fead051698618b31da623fb71ff37f002cb9d932cfa775f1","impliedFormat":1},{"version":"4f98d6fb4fe7cbeaa04635c6eaa119d966285d4d39f0eb55b2654187b0b27446","impliedFormat":1},{"version":"e4c653466d0497d87fa9ffd00e59a95f33bc1c1722c3f5c84dab2e950c18da70","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6dcc3b933e864e91d4bea94274ad69854d5d2a1311a4b0e20408a57af19e95d","impliedFormat":1},{"version":"a51f786b9f3c297668f8f322a6c58f85d84948ef69ade32069d5d63ec917221c","impliedFormat":1},{"version":"e525f9e67f5ddba7b5548430211cae2479070b70ef1fd93550c96c10529457bd","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"17fe9131bec653b07b0a1a8b99a830216e3e43fe0ea2605be318dc31777c8bbf","impliedFormat":1},{"version":"3c8e93af4d6ce21eb4c8d005ad6dc02e7b5e6781f429d52a35290210f495a674","impliedFormat":1},{"version":"2c9875466123715464539bfd69bcaccb8ff6f3e217809428e0d7bd6323416d01","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"2472ef4c28971272a897fdb85d4155df022e1f5d9a474a526b8fc2ef598af94e","impliedFormat":1},{"version":"6c8e442ba33b07892169a14f7757321e49ab0f1032d676d321a1fdab8a67d40c","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"1cd673d367293fc5cb31cd7bf03d598eb368e4f31f39cf2b908abbaf120ab85a","impliedFormat":1},{"version":"19851a6596401ca52d42117108d35e87230fc21593df5c4d3da7108526b6111c","impliedFormat":1},{"version":"3825bf209f1662dfd039010a27747b73d0ef379f79970b1d05601ec8e8a4249f","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"40bfc70953be2617dc71979c14e9e99c5e65c940a4f1c9759ddb90b0f8ff6b1a","impliedFormat":1},{"version":"da52342062e70c77213e45107921100ba9f9b3a30dd019444cf349e5fb3470c4","impliedFormat":1},{"version":"e9ace91946385d29192766bf783b8460c7dbcbfc63284aa3c9cae6de5155c8bc","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"561c60d8bfe0fec2c08827d09ff039eca0c1f9b50ef231025e5a549655ed0298","impliedFormat":1},{"version":"1e30c045732e7db8f7a82cf90b516ebe693d2f499ce2250a977ec0d12e44a529","impliedFormat":1},{"version":"84b736594d8760f43400202859cda55607663090a43445a078963031d47e25e7","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"78b29846349d4dfdd88bd6650cc5d2baaa67f2e89dc8a80c8e26ef7995386583","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"e38d4fdf79e1eadd92ed7844c331dbaa40f29f21541cfee4e1acff4db09cda33","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"7c10a32ae6f3962672e6869ee2c794e8055d8225ef35c91c0228e354b4e5d2d3","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"99f569b42ea7e7c5fe404b2848c0893f3e1a56e0547c1cd0f74d5dbb9a9de27e","impliedFormat":1},{"version":"e8a763a4ebce303ca18717d2166d67950b0362ff3319def0c28ecb794b9f04d3","affectsGlobalScope":true,"impliedFormat":1},{"version":"ee31fab138939ef1903831933d524de9944511759778eedaaed56d6eb7f8697d","impliedFormat":1},{"version":"e45cc72cc9e7ad726ec83141fa4cd221d432062de34586ff107a0442ae28bf19","impliedFormat":1},{"version":"d9455aaf258770f187384ebe910495634a7fb904ee7a1c11755427a1e611eea8","impliedFormat":1},{"version":"6d7ec38e96b4ad4d977e7376d9a92253927c1342ed6c102bd4dc4950deed1dd1","impliedFormat":1},{"version":"fc9e630f9302d0414ccd6c8ed2706659cff5ae454a56560c6122fa4a3fac5bbd","affectsGlobalScope":true,"impliedFormat":1},{"version":"7115f1157a00937d712e042a011eb85e9d80b13eff78bac5f210ee852f96879d","impliedFormat":1},{"version":"0ac74c7586880e26b6a599c710b59284a284e084a2bbc82cd40fb3fbfdea71ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ce12357dadbb8efc4e4ec4dab709c8071bf992722fc9adfea2fe0bd5b50923f","impliedFormat":1},{"version":"56c685ea062afe11fd775c31dc33acc449f780b17ba392ac154799323ebc9647","impliedFormat":1},{"version":"085b6073465a6358e693823dcc03128f359e28780e8a497bf5fcf1b577b5c960","impliedFormat":1},{"version":"b05b9ef20d18697e468c3ae9cecfff3f47e8976f9522d067047e3f236db06a41","affectsGlobalScope":true,"impliedFormat":1},{"version":"b12b645134e106bea2c135a8a64c933329e195d3b8ca2fc6eeeec73dd8836924","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbe8d85bf780a22fb2838e9807c53b3ea2610f46ae925a771eba421c44c5a4c6","affectsGlobalScope":true,"impliedFormat":1},{"version":"f7f5d83fe8eff2f1910e8b0437527041e5cc45aa15cda443f27dbadc3d5805e7","impliedFormat":1},{"version":"f5e8617ad68d001f3e26035ee699dad75df20ada6adc88524cb631d9f9b871fa","impliedFormat":1},{"version":"c61c37176b7a6c043df76f437e402ea9abc9f19e9652a0d37629dfc8b7e83497","impliedFormat":1},{"version":"067f76ab5254b1bdfc94154730b7a30c12e3aad8b9d04ec62c0d6b7a1f40ea0e","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f95bf00d9d01de72cddbeabe5bdcb019248c209df4976a814756504afdb9291","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be812b06e518320ba82e2aff3ac2ca37370a9df917db708f081b9043fa3315","impliedFormat":1}],"root":[[80,84]],"options":{"allowJs":false,"composite":true,"declaration":true,"declarationMap":false,"exactOptionalPropertyTypes":true,"importsNotUsedAsValues":0,"isolatedDeclarations":true,"jsx":4,"module":200,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"noUncheckedSideEffectImports":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","removeComments":true,"skipLibCheck":true,"strict":true,"strictNullChecks":true,"stripInternal":true,"target":99,"verbatimModuleSyntax":true},"referencedMap":[[201,1],[92,2],[93,2],[94,3],[90,4],[95,5],[96,6],[97,7],[88,8],[98,9],[99,10],[100,11],[101,12],[102,13],[103,14],[104,14],[106,8],[105,15],[107,16],[108,17],[109,18],[91,19],[89,8],[110,20],[111,21],[112,22],[145,23],[113,24],[114,25],[115,26],[116,27],[117,28],[118,29],[119,30],[120,31],[121,32],[122,33],[123,33],[124,34],[125,8],[126,8],[127,35],[129,36],[128,37],[130,38],[131,39],[132,40],[133,41],[134,42],[135,43],[136,44],[137,45],[138,46],[139,47],[140,48],[141,49],[142,50],[143,51],[144,52],[185,53],[199,8],[195,54],[187,55],[198,56],[186,8],[184,57],[188,8],[182,58],[189,8],[200,59],[190,8],[194,60],[196,61],[183,62],[197,63],[191,8],[192,8],[193,64],[77,8],[78,8],[14,8],[13,8],[2,8],[15,8],[16,8],[17,8],[18,8],[19,8],[20,8],[21,8],[22,8],[3,8],[23,8],[24,8],[4,8],[25,8],[29,8],[26,8],[27,8],[28,8],[30,8],[31,8],[32,8],[5,8],[33,8],[34,8],[35,8],[36,8],[6,8],[40,8],[37,8],[38,8],[39,8],[41,8],[7,8],[42,8],[47,8],[48,8],[43,8],[44,8],[45,8],[46,8],[8,8],[52,8],[49,8],[50,8],[51,8],[53,8],[9,8],[54,8],[55,8],[56,8],[58,8],[57,8],[59,8],[60,8],[10,8],[61,8],[62,8],[63,8],[11,8],[64,8],[65,8],[66,8],[67,8],[68,8],[1,8],[69,8],[70,8],[12,8],[74,8],[72,8],[76,8],[71,8],[75,8],[73,8],[159,65],[170,66],[157,65],[171,67],[180,68],[149,69],[148,70],[179,71],[174,72],[178,73],[151,74],[167,75],[150,76],[177,77],[146,78],[147,72],[152,79],[153,8],[158,69],[156,79],[86,80],[181,81],[172,82],[162,83],[161,79],[163,84],[165,85],[160,86],[164,87],[175,71],[154,88],[155,89],[166,90],[87,67],[169,91],[168,79],[173,8],[85,8],[176,92],[82,93],[81,94],[83,95],[84,96],[80,8],[79,8]],"affectedFilesPendingEmit":[[82,17],[81,17],[83,17],[84,17],[80,17]],"emitSignatures":[80,81,82,83,84],"version":"5.8.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@randsum/fifth",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.1",
|
|
4
4
|
"description": "A flexible, type-safe dice roller for building 5E-compatible applications",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
@@ -21,14 +21,13 @@
|
|
|
21
21
|
"react-native": "./src/index.ts",
|
|
22
22
|
"files": [
|
|
23
23
|
"dist",
|
|
24
|
-
"src",
|
|
25
24
|
"LICENSE",
|
|
26
25
|
"README.md"
|
|
27
26
|
],
|
|
28
27
|
"sideEffects": false,
|
|
29
28
|
"type": "module",
|
|
30
29
|
"dependencies": {
|
|
31
|
-
"@randsum/roller": "~0.
|
|
30
|
+
"@randsum/roller": "~0.24.1"
|
|
32
31
|
},
|
|
33
32
|
"exports": {
|
|
34
33
|
".": {
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ModifierOptions } from '@randsum/roller'
|
|
2
|
-
import type { FifthAdvantageDisadvantage } from '../types'
|
|
3
|
-
|
|
4
|
-
export function generateModifiers({
|
|
5
|
-
advantage,
|
|
6
|
-
disadvantage
|
|
7
|
-
}: FifthAdvantageDisadvantage = {}): Pick<ModifierOptions, 'drop'> {
|
|
8
|
-
if ((advantage && disadvantage) || (!advantage && !disadvantage)) {
|
|
9
|
-
return { drop: {} }
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
return {
|
|
13
|
-
drop: advantage ? { lowest: 1 } : { highest: 1 }
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { FifthAdvantageDisadvantage } from '../types'
|
|
2
|
-
|
|
3
|
-
export function generateQuantity({
|
|
4
|
-
advantage,
|
|
5
|
-
disadvantage
|
|
6
|
-
}: FifthAdvantageDisadvantage = {}): 1 | 2 {
|
|
7
|
-
if ((advantage && disadvantage) || (!advantage && !disadvantage)) {
|
|
8
|
-
return 1
|
|
9
|
-
}
|
|
10
|
-
return 2
|
|
11
|
-
}
|
package/src/d20Roll/index.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type RollOptions,
|
|
3
|
-
type RollerRollResult,
|
|
4
|
-
roll as coreRoll
|
|
5
|
-
} from '@randsum/roller'
|
|
6
|
-
import type { FifthRollArgument } from '../types'
|
|
7
|
-
import { generateQuantity } from './generateQuantity'
|
|
8
|
-
import { generateModifiers } from './generateModifiers'
|
|
9
|
-
|
|
10
|
-
export function d20Roll({
|
|
11
|
-
rollingWith,
|
|
12
|
-
modifier = 0
|
|
13
|
-
}: FifthRollArgument): RollerRollResult {
|
|
14
|
-
const rollArg: RollOptions = {
|
|
15
|
-
sides: 20,
|
|
16
|
-
quantity: generateQuantity(rollingWith),
|
|
17
|
-
modifiers: { ...generateModifiers(rollingWith), plus: modifier }
|
|
18
|
-
}
|
|
19
|
-
return coreRoll(rollArg)
|
|
20
|
-
}
|
package/src/index.ts
DELETED