@opfr/definitions 1.3.4 → 1.4.0

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.
@@ -1,4 +1,5 @@
1
- import { EQUIPMENT_CATEGORY, type EQUIPMENT_SLOT, type EQUIPMENT_TYPE } from '../';
1
+ import type { EQUIPMENT_CATEGORY } from '../';
2
+ import { type EQUIPMENT_SLOT, type EQUIPMENT_TYPE } from '../';
2
3
  import { type Entity } from '../';
3
4
  import type { Buff } from '../../buffs';
4
5
  import type { Characteristic, CharacteristicsRecord } from '../../characteristics';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/equipments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,KAAK,CAAC;AAClC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAC5D,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAC5D,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,SAAU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G;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC;IAClD,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC;IAClD,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC,CAAC;AAExE,cAAc,aAAa,CAAC"}
@@ -1,4 +1,4 @@
1
- import { EQUIPMENT_CATEGORY, } from '../';
1
+ import {} from '../';
2
2
  import {} from '../';
3
3
  export * from './constants';
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/equipments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,GAGnB,MAAM,KAAK,CAAC;AACb,OAAO,EAAe,MAAM,KAAK,CAAC;AAgDlC,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/equipments/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA4C,MAAM,KAAK,CAAC;AAC/D,OAAO,EAAe,MAAM,KAAK,CAAC;AAgDlC,cAAc,aAAa,CAAC"}
@@ -1,4 +1,5 @@
1
- import { type Entity, type EquipableEquipment, ITEM_CATEGORY, type ShopOptions } from '../';
1
+ import type { ITEM_CATEGORY } from '../';
2
+ import { type Entity, type EquipableEquipment, type ShopOptions } from '../';
2
3
  import type { Buff } from '../../buffs';
3
4
  import type { Background, Title } from '../../ornaments';
4
5
  import type { RankId } from '../../ranks';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/items/index.ts"],"names":[],"mappings":"A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Y,SAAQ,IAAI;IACvC,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,cAAc,aAAa,CAAC"}
@@ -1,3 +1,3 @@
1
- import { ITEM_CATEGORY, } from '../';
1
+ import {} from '../';
2
2
  export * from './constants';
3
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/items/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,aAAa,GAEd,MAAM,KAAK,CAAC;AAwHb,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/items/index.ts"],"names":[],"mappings":"AACA,OAAO,EAA0D,MAAM,KAAK,CAAC;AAwH7E,cAAc,aAAa,CAAC"}
package/dist/index.es.js CHANGED
@@ -184,7 +184,7 @@ const R = [
184
184
  "wine",
185
185
  "wood",
186
186
  "wood_plank"
187
- ], u = [
187
+ ], O = [
188
188
  "adventurer_belt",
189
189
  "adventurer_boots",
190
190
  "adventurer_collar",
@@ -220,7 +220,7 @@ const R = [
220
220
  "revolutionary_ring"
221
221
  ], j = [
222
222
  ...I,
223
- ...u
223
+ ...O
224
224
  ], F = {
225
225
  pirate: {
226
226
  name: "pirate",
@@ -706,7 +706,7 @@ const V = [
706
706
  path: { default: "b_selfish.webp", cropped: "cropped_b_selfish.webp" },
707
707
  progressive: !1
708
708
  }
709
- ], O = {
709
+ ], u = {
710
710
  exploration: {
711
711
  id: "writeChat",
712
712
  img: "exploration",
@@ -1025,7 +1025,7 @@ const V = [
1025
1025
  "b_revolutionary",
1026
1026
  "b_pirate"
1027
1027
  ], q = (r, p) => r.filter((_) => {
1028
- const [t] = _.split("_"), i = Object.values(O).find((c) => c.id === t);
1028
+ const [t] = _.split("_"), i = Object.values(u).find((c) => c.id === t);
1029
1029
  return i ? i.crew === p : !1;
1030
1030
  }), J = (r) => r.filter((p, _, t) => {
1031
1031
  const [i, c] = p.split("_");
@@ -1107,30 +1107,33 @@ class Ce {
1107
1107
  crew;
1108
1108
  repeatable;
1109
1109
  }
1110
- var f = /* @__PURE__ */ ((r) => (r.COMPLETED = "COMPLETED", r.IN_PROGRESS = "IN_PROGRESS", r))(f || {});
1111
- const me = 0.1, Re = 3, Me = 100;
1110
+ var D = /* @__PURE__ */ ((r) => (r.COMPLETED = "COMPLETED", r.IN_PROGRESS = "IN_PROGRESS", r))(D || {});
1111
+ const me = 10, Re = 1e7, Me = 100, we = 0.1, Ae = 3, Ie = 100;
1112
1112
  export {
1113
1113
  re as BAG_IDS,
1114
- O as BadgeList,
1114
+ Re as BET_MAX_VALUE,
1115
+ me as BET_MIN_VALUE,
1116
+ u as BadgeList,
1115
1117
  Ce as BaseQuest,
1116
1118
  ie as CHARACTERISTICS,
1117
1119
  E as CHARACTERISTIC_DEFAULT_POINT_COST,
1118
1120
  g as CHARACTERISTIC_POINT_COSTS,
1119
1121
  P as CHARACTERISTIC_POINT_PER_LEVEL,
1120
- Me as CREW_DEFAULT_DISINTEGRATION,
1121
- Re as CREW_DEFAULT_MEMBER_LIMIT,
1122
- me as CREW_DEFAULT_XP_PERCENT,
1122
+ Ie as CREW_DEFAULT_DISINTEGRATION,
1123
+ Ae as CREW_DEFAULT_MEMBER_LIMIT,
1124
+ we as CREW_DEFAULT_XP_PERCENT,
1123
1125
  X as DEFAULT_BACKGROUND_ID,
1124
1126
  _e as DEFAULT_BUFF_TREE,
1125
1127
  U as DEFAULT_FACTION,
1126
1128
  ce as DEFAULT_MAX_HP,
1129
+ Me as EDITO_READ,
1127
1130
  y as EFFECT_KEYS,
1128
1131
  B as ENTITY_CATEGORY,
1129
1132
  j as ENTITY_IMAGE_IDS,
1130
1133
  x as ENTITY_TYPES,
1131
1134
  A as EQUIPMENT_CATEGORY,
1132
1135
  S as EQUIPMENT_FROM_SLOT_TO_TYPE,
1133
- u as EQUIPMENT_IMAGE_IDS,
1136
+ O as EQUIPMENT_IMAGE_IDS,
1134
1137
  v as EQUIPMENT_SLOT,
1135
1138
  w as EQUIPMENT_TYPE,
1136
1139
  F as FACTIONS,
@@ -1141,7 +1144,7 @@ export {
1141
1144
  R as ITEM_TYPE,
1142
1145
  Z as PROFILE_ASSETS_ID,
1143
1146
  $ as PROGRESSIVE_BADGES,
1144
- f as QuestStatus,
1147
+ D as QuestStatus,
1145
1148
  z as RANKS,
1146
1149
  V as RANK_IDS_WITHOUT_BASIC,
1147
1150
  e as RankId,
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- (function(_,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("i18next"),require("@opfr/emojis"),require("@opfr/utils-lang")):typeof define=="function"&&define.amd?define(["exports","i18next","@opfr/emojis","@opfr/utils-lang"],o):(_=typeof globalThis<"u"?globalThis:_||self,o(_.definitions={},_.i18next,_["@opfr/emojis"],_["@opfr/utils-lang"]))})(this,(function(_,o,a,s){"use strict";const C=["boost","bottle","repair","chest","scroll","object","store","cookedMeal","enchant","alcohol"],R=["item","resource","enchant"],m=["ring","strap","boots","helmet","collar","belt","weapon"],f=["ring_left","ring_right","strap_left","strap_right","boots","helmet","collar","belt","weapon"],D={collar:"collar",boots:"boots",ring_left:"ring",ring_right:"ring",strap_left:"strap",strap_right:"strap",helmet:"helmet",belt:"belt",weapon:"weapon"},M=["equipment"],g=["OPEN_CHEST","APPLY_BUFF","ALCOHOL_DRINK","HEAL_HP","GAIN_XP","GAIN_RANDOM_XP","BOOST","DRINK_BOTTLE","DROP","CLEAR_HANGOVER","UNLOCK_ASSET","ADD_SCROLL_CHARAC","RAID_REDUCE_COOLDOWN","CREW_XP_BUFF","CREW_REPAIR"],L=["single","multiple","all"],G=[...C,...m],H=[...R,...M],A=["aeronef","anchor","ancient_key","background","beer","boost_day","boost_week","bottle_xp_1","bottle_xp_2","bottle_xp_3","bottle_xp_4","bowl","bowl_cereal","bread","cereal","cheese","chest_1","chest_2","chest_3","chest_4","chest_blacksmith_1","chest_blacksmith_2","chest_blacksmith_3","chest_christmas","christmas_present","clover","compass","cotton","cursed_hawthorn","dragon_heart","ebony_poppy","edelweiss","egg","elemental_concentrate_earth","elemental_concentrate_fire","elemental_concentrate_life","elemental_concentrate_moon","elemental_concentrate_water","elemental_concentrate_wind","emerald","empty_chest","empty_scroll","enchant_cereal","enchant_clover","enchant_cotton","enchant_ebony_poppy","enchant_hemp","enchant_iron","enchant_leather","enchant_manganese","enchant_poppy","enchant_pure_water","enchant_rope","enchant_rose","enchant_sea_salt","enchant_tissue","enchant_wood","enchanted_emerald","enchanted_ruby","enchanted_sapphire","enchanted_stone","essence_earth","essence_fire","essence_life","essence_moon","essence_water","essence_wind","fairy_wing","flour","fruit","glass_bottle","glue","hammock","hemp","iron","iron_ore","leather","little_cookie_christmas","lock","mandrake","manganese","map_fragment","milk","mithril","mugwort","mysterious_egg_christmas","nail","obsidian","omelet","phoenix_feather","poppy","pure_water","repair_kit","rescue_boat","rhum","rope","rose","ruby","rudder","saffron","sailing_boat","salt_water","sapphire","scrap","scroll_agility","scroll_chance","scroll_intelligence","scroll_strength","scroll_vitality","scroll_wisdom","sea_salt","siren_tear","strange_gem","strange_stone","strawberry_cake","sugar","sugar_cane_christmas","tissue","title","tools","toy","wine","wood","wood_plank"],I=["adventurer_belt","adventurer_boots","adventurer_collar","adventurer_helmet","adventurer_strap","adventurer_weapon","christmas_belt","christmas_boots","christmas_collar","christmas_gloves","christmas_helmet","christmas_strap","christmas_weapon","herbalist_belt","herbalist_boots","herbalist_helmet","herbalist_weapon","little_blacksmith_collar","little_blacksmith_ring","little_blacksmith_strap","little_blacksmith_weapon","marine_collar","marine_helmet","marine_ring","marine_strap","pirate_belt","pirate_helmet","pirate_ring","pirate_weapon","revolutionary_belt","revolutionary_boots","revolutionary_helmet","revolutionary_ring"],S=[...A,...I],v={pirate:{name:"pirate",color:"#8A1623",role:"1047815125282848849"},marine:{name:"marine",color:"#387cbc",role:"1047816059937361940"},revolutionary:{name:"revolutionary",color:"#335635",role:"1047815105846444152"},citizen:{name:"citizen",color:"#fff",role:"1147953458507423874"}},y="citizen";var e=(r=>(r.BASIC="BASIC",r.COMMON="COMMON",r.RARE="RARE",r.EPIC="EPIC",r.LEGENDARY="LEGENDARY",r.MYTHIC="MYTHIC",r))(e||{});const k=[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],B={BASIC:{color:"#fff",strength:0,id:e.BASIC,name:(r,p=1)=>o.t(`ranks.${e.BASIC}.text`,{count:p,context:r,ns:"common"})},COMMON:{color:"#813D31",strength:1,id:e.COMMON,name:(r,p=1)=>o.t(`ranks.${e.COMMON}.text`,{count:p,context:r,ns:"common"})},RARE:{color:"#5B6870",strength:2,id:e.RARE,name:(r,p=1)=>o.t(`ranks.${e.RARE}.text`,{count:p,context:r,ns:"common"})},EPIC:{color:"#C46619",strength:3,id:e.EPIC,name:(r,p=1)=>o.t(`ranks.${e.EPIC}.text`,{count:p,context:r,ns:"common"})},LEGENDARY:{color:"#88A3CB",strength:4,id:e.LEGENDARY,name:(r,p=1)=>o.t(`ranks.${e.LEGENDARY}.text`,{count:p,context:r,ns:"common"})},MYTHIC:{color:"#F6bF62",strength:5,id:e.MYTHIC,name:(r,p=1)=>o.t(`ranks.${e.MYTHIC}.text`,{count:p,context:r,ns:"common"})}},F="background_default",U=[{id:"berry",path:{cropped:{RARE:"cropped_b_berry_RARE.webp",MYTHIC:"cropped_b_berry_MYTHIC.webp",LEGENDARY:"cropped_b_berry_LEGENDARY.webp",EPIC:"cropped_b_berry_EPIC.webp",COMMON:"cropped_b_berry_COMMON.webp"},default:{RARE:"b_berry_RARE.webp",MYTHIC:"b_berry_MYTHIC.webp",LEGENDARY:"b_berry_LEGENDARY.webp",EPIC:"b_berry_EPIC.webp",COMMON:"b_berry_COMMON.webp"}},progressive:!0},{id:"broship",path:{cropped:{RARE:"cropped_b_broship_RARE.webp",MYTHIC:"cropped_b_broship_MYTHIC.webp",LEGENDARY:"cropped_b_broship_LEGENDARY.webp",EPIC:"cropped_b_broship_EPIC.webp",COMMON:"cropped_b_broship_COMMON.webp"},default:{RARE:"b_broship_RARE.webp",MYTHIC:"b_broship_MYTHIC.webp",LEGENDARY:"b_broship_LEGENDARY.webp",EPIC:"b_broship_EPIC.webp",COMMON:"b_broship_COMMON.webp"}},progressive:!0},{id:"carpenter",path:{cropped:{RARE:"cropped_b_carpenter_RARE.webp",MYTHIC:"cropped_b_carpenter_MYTHIC.webp",LEGENDARY:"cropped_b_carpenter_LEGENDARY.webp",EPIC:"cropped_b_carpenter_EPIC.webp",COMMON:"cropped_b_carpenter_COMMON.webp"},default:{RARE:"b_carpenter_RARE.webp",MYTHIC:"b_carpenter_MYTHIC.webp",LEGENDARY:"b_carpenter_LEGENDARY.webp",EPIC:"b_carpenter_EPIC.webp",COMMON:"b_carpenter_COMMON.webp"}},progressive:!0},{id:"casino",path:{cropped:{MYTHIC:"cropped_b_casino_MYTHIC.webp",LEGENDARY:"cropped_b_casino_LEGENDARY.webp"},default:{MYTHIC:"b_casino_MYTHIC.webp",LEGENDARY:"b_casino_LEGENDARY.webp"}},progressive:!0},{id:"communism",path:{cropped:{RARE:"cropped_b_communism_RARE.webp",MYTHIC:"cropped_b_communism_MYTHIC.webp",LEGENDARY:"cropped_b_communism_LEGENDARY.webp",EPIC:"cropped_b_communism_EPIC.webp",COMMON:"cropped_b_communism_COMMON.webp"},default:{RARE:"b_communism_RARE.webp",MYTHIC:"b_communism_MYTHIC.webp",LEGENDARY:"b_communism_LEGENDARY.webp",EPIC:"b_communism_EPIC.webp",COMMON:"b_communism_COMMON.webp"}},progressive:!0},{id:"craft",path:{cropped:{RARE:"cropped_b_craft_RARE.webp",MYTHIC:"cropped_b_craft_MYTHIC.webp",LEGENDARY:"cropped_b_craft_LEGENDARY.webp",EPIC:"cropped_b_craft_EPIC.webp",COMMON:"cropped_b_craft_COMMON.webp"},default:{RARE:"b_craft_RARE.webp",MYTHIC:"b_craft_MYTHIC.webp",LEGENDARY:"b_craft_LEGENDARY.webp",EPIC:"b_craft_EPIC.webp",COMMON:"b_craft_COMMON.webp"}},progressive:!0},{id:"crewship",path:{cropped:{RARE:"cropped_b_crewship_RARE.webp",MYTHIC:"cropped_b_crewship_MYTHIC.webp",LEGENDARY:"cropped_b_crewship_LEGENDARY.webp",EPIC:"cropped_b_crewship_EPIC.webp",COMMON:"cropped_b_crewship_COMMON.webp"},default:{RARE:"b_crewship_RARE.webp",MYTHIC:"b_crewship_MYTHIC.webp",LEGENDARY:"b_crewship_LEGENDARY.webp",EPIC:"b_crewship_EPIC.webp",COMMON:"b_crewship_COMMON.webp"}},progressive:!0},{id:"default",path:{cropped:{RARE:"cropped_b_default_RARE.webp",MYTHIC:"cropped_b_default_MYTHIC.webp",LEGENDARY:"cropped_b_default_LEGENDARY.webp",EPIC:"cropped_b_default_EPIC.webp",COMMON:"cropped_b_default_COMMON.webp"},default:{RARE:"b_default_RARE.webp",MYTHIC:"b_default_MYTHIC.webp",LEGENDARY:"b_default_LEGENDARY.webp",EPIC:"b_default_EPIC.webp",COMMON:"b_default_COMMON.webp"}},progressive:!0},{id:"ecrire",path:{cropped:{RARE:"cropped_b_ecrire_RARE.webp",MYTHIC:"cropped_b_ecrire_MYTHIC.webp",LEGENDARY:"cropped_b_ecrire_LEGENDARY.webp",EPIC:"cropped_b_ecrire_EPIC.webp",COMMON:"cropped_b_ecrire_COMMON.webp"},default:{RARE:"b_ecrire_RARE.webp",MYTHIC:"b_ecrire_MYTHIC.webp",LEGENDARY:"b_ecrire_LEGENDARY.webp",EPIC:"b_ecrire_EPIC.webp",COMMON:"b_ecrire_COMMON.webp"}},progressive:!0},{id:"ermite",path:{cropped:{RARE:"cropped_b_ermite_RARE.webp",MYTHIC:"cropped_b_ermite_MYTHIC.webp",LEGENDARY:"cropped_b_ermite_LEGENDARY.webp",EPIC:"cropped_b_ermite_EPIC.webp",COMMON:"cropped_b_ermite_COMMON.webp"},default:{RARE:"b_ermite_RARE.webp",MYTHIC:"b_ermite_MYTHIC.webp",LEGENDARY:"b_ermite_LEGENDARY.webp",EPIC:"b_ermite_EPIC.webp",COMMON:"b_ermite_COMMON.webp"}},progressive:!0},{id:"exploration",path:{cropped:{RARE:"cropped_b_exploration_RARE.webp",MYTHIC:"cropped_b_exploration_MYTHIC.webp",LEGENDARY:"cropped_b_exploration_LEGENDARY.webp",EPIC:"cropped_b_exploration_EPIC.webp",COMMON:"cropped_b_exploration_COMMON.webp"},default:{RARE:"b_exploration_RARE.webp",MYTHIC:"b_exploration_MYTHIC.webp",LEGENDARY:"b_exploration_LEGENDARY.webp",EPIC:"b_exploration_EPIC.webp",COMMON:"b_exploration_COMMON.webp"}},progressive:!0},{id:"marine",path:{cropped:{RARE:"cropped_b_marine_RARE.webp",MYTHIC:"cropped_b_marine_MYTHIC.webp",LEGENDARY:"cropped_b_marine_LEGENDARY.webp",EPIC:"cropped_b_marine_EPIC.webp",COMMON:"cropped_b_marine_COMMON.webp"},default:{RARE:"b_marine_RARE.webp",MYTHIC:"b_marine_MYTHIC.webp",LEGENDARY:"b_marine_LEGENDARY.webp",EPIC:"b_marine_EPIC.webp",COMMON:"b_marine_COMMON.webp"}},progressive:!0},{id:"mode",path:{cropped:{RARE:"cropped_b_mode_RARE.webp",MYTHIC:"cropped_b_mode_MYTHIC.webp",LEGENDARY:"cropped_b_mode_LEGENDARY.webp",EPIC:"cropped_b_mode_EPIC.webp",COMMON:"cropped_b_mode_COMMON.webp"},default:{RARE:"b_mode_RARE.webp",MYTHIC:"b_mode_MYTHIC.webp",LEGENDARY:"b_mode_LEGENDARY.webp",EPIC:"b_mode_EPIC.webp",COMMON:"b_mode_COMMON.webp"}},progressive:!0},{id:"pirate",path:{cropped:{RARE:"cropped_b_pirate_RARE.webp",MYTHIC:"cropped_b_pirate_MYTHIC.webp",LEGENDARY:"cropped_b_pirate_LEGENDARY.webp",EPIC:"cropped_b_pirate_EPIC.webp",COMMON:"cropped_b_pirate_COMMON.webp"},default:{RARE:"b_pirate_RARE.webp",MYTHIC:"b_pirate_MYTHIC.webp",LEGENDARY:"b_pirate_LEGENDARY.webp",EPIC:"b_pirate_EPIC.webp",COMMON:"b_pirate_COMMON.webp"}},progressive:!0},{id:"recipe",path:{cropped:{RARE:"cropped_b_recipe_RARE.webp",MYTHIC:"cropped_b_recipe_MYTHIC.webp",LEGENDARY:"cropped_b_recipe_LEGENDARY.webp",EPIC:"cropped_b_recipe_EPIC.webp",COMMON:"cropped_b_recipe_COMMON.webp"},default:{RARE:"b_recipe_RARE.webp",MYTHIC:"b_recipe_MYTHIC.webp",LEGENDARY:"b_recipe_LEGENDARY.webp",EPIC:"b_recipe_EPIC.webp",COMMON:"b_recipe_COMMON.webp"}},progressive:!0},{id:"revolutionary",path:{cropped:{RARE:"cropped_b_revolutionary_RARE.webp",MYTHIC:"cropped_b_revolutionary_MYTHIC.webp",LEGENDARY:"cropped_b_revolutionary_LEGENDARY.webp",EPIC:"cropped_b_revolutionary_EPIC.webp",COMMON:"cropped_b_revolutionary_COMMON.webp"},default:{RARE:"b_revolutionary_RARE.webp",MYTHIC:"b_revolutionary_MYTHIC.webp",LEGENDARY:"b_revolutionary_LEGENDARY.webp",EPIC:"b_revolutionary_EPIC.webp",COMMON:"b_revolutionary_COMMON.webp"}},progressive:!0},{id:"sardine",path:{cropped:{RARE:"cropped_b_sardine_RARE.webp",MYTHIC:"cropped_b_sardine_MYTHIC.webp",LEGENDARY:"cropped_b_sardine_LEGENDARY.webp",EPIC:"cropped_b_sardine_EPIC.webp",COMMON:"cropped_b_sardine_COMMON.webp"},default:{RARE:"b_sardine_RARE.webp",MYTHIC:"b_sardine_MYTHIC.webp",LEGENDARY:"b_sardine_LEGENDARY.webp",EPIC:"b_sardine_EPIC.webp",COMMON:"b_sardine_COMMON.webp"}},progressive:!0},{id:"shipsecte",path:{cropped:{RARE:"cropped_b_shipsecte_RARE.webp",MYTHIC:"cropped_b_shipsecte_MYTHIC.webp",LEGENDARY:"cropped_b_shipsecte_LEGENDARY.webp",EPIC:"cropped_b_shipsecte_EPIC.webp",COMMON:"cropped_b_shipsecte_COMMON.webp"},default:{RARE:"b_shipsecte_RARE.webp",MYTHIC:"b_shipsecte_MYTHIC.webp",LEGENDARY:"b_shipsecte_LEGENDARY.webp",EPIC:"b_shipsecte_EPIC.webp",COMMON:"b_shipsecte_COMMON.webp"}},progressive:!0}],j=[{id:"black-jack",path:{default:"b_black-jack.webp",cropped:"cropped_b_black-jack.webp"},progressive:!1},{id:"calendar",path:{default:"b_calendar.webp",cropped:"cropped_b_calendar.webp"},progressive:!1},{id:"camarade",path:{default:"b_camarade.webp",cropped:"cropped_b_camarade.webp"},progressive:!1},{id:"chance",path:{default:"b_chance.webp",cropped:"cropped_b_chance.webp"},progressive:!1},{id:"doublesix",path:{default:"b_doublesix.webp",cropped:"cropped_b_doublesix.webp"},progressive:!1},{id:"noluck",path:{default:"b_noluck.webp",cropped:"cropped_b_noluck.webp"},progressive:!1},{id:"premium",path:{default:"b_premium.webp",cropped:"cropped_b_premium.webp"},progressive:!1},{id:"selfish",path:{default:"b_selfish.webp",cropped:"cropped_b_selfish.webp"},progressive:!1}],w={exploration:{id:"writeChat",img:"exploration",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:Explorateurbois:1175507909518573578>","<:Explorateurargent:1175508452467015680>","<:Explorateuror:1175507917642932245>","<:Explorateurplatine:1175507920587329586>","<:Explorateurultime:1175507922818699334>"],crew:!1},ecrire:{id:"sendMessage",img:"ecrire",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:Spammeurbois:1175508156785365003>","<:Spammeurargent:1175507962249351268>","<:Spammeuror:1175507966808572007>","<:Spammeurplatine:1175507968293339167>","<:Spammeurultime:1175507863460913222>"],crew:!1},ermite:{id:"timeInVoice",img:"ermite",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:Ermitebois:1175507899875868672>","<:Ermiteargent:1175508498138796153>","<:Ermiteor:1175508465746182305>","<:Ermiteplatine:1175507904695124028>","<:Ermiteultime:1175507906041499749>"],crew:!1},berry:{id:"berry",img:"berry",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:ElonMuskbois:1175507891600498758>","<:ElonMuskargent:1175508764988801034>","<:ElonMuskor:1175508756700856390>","<:ElonMuskplatine:1175508739386789928>","<:ElonMuskultime:1175507895668985886>"],crew:!1},mode:{id:"spendShop",img:"mode",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:FashionViktimbois:1175508381436485672>","<:FashionViktimargent:1175507924873904128>","<:FashionViktimor:1175507926719414406>","<:FashionViktimplatine:1175508345562599445>","<:FashionViktimultime:1175507931517698088>"],crew:!1},noluck:{id:"noLuck",img:"noluck",isProgressive:!1,emojis:"<:BadluckPlatine:1175507878048702505>",crew:!1},chance:{id:"chance",img:"chance",isProgressive:!1,emojis:"<:BadgeChanceux:1192743999514103869>",crew:!1},casino:{id:"casino",img:"casino",isProgressive:[e.LEGENDARY,e.MYTHIC],emojis:["<:GamblingAddict:1175507934223016047>","<:GamblingAddictDiamond:1187147920647131207>"],crew:!1},premium:{id:"premium",img:"premium",isProgressive:!1,emojis:"<:BadgesDon:1175507876056399933>",crew:!1},calendar:{id:"calendar",img:"calendar",isProgressive:!1,emojis:"<:Calendrier:1187170872176431114>",crew:!1},doublesix:{id:"doublesix",img:"doublesix",isProgressive:!1,emojis:"<:DoubleSix:1187178228624937000>",crew:!1},"black-jack":{id:"blackJack",img:"black-jack",isProgressive:!1,emojis:"<:BlackJack:1187456310137069618>",crew:!1},communism:{id:"communism",img:"communism",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_communism_Bronze:1234375558184570902>","<:cropped_communism_Silver:1234375563729440789>","<:cropped_communism_Gold:1234375561154007103>","<:cropped_communism_Platinum:1234375562269687849>","<:cropped_communism_Diamond:1234375559811825705>"],crew:!0},crewship:{id:"crewship",img:"crewship",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_crewship_Bronze:1234458902641246260>","<:cropped_crewship_Silver:1234458908840431617>","<:cropped_crewship_Gold:1234458905694961724>","<:cropped_crewship_Platinum:1234458907741782038>","<:cropped_crewship_Diamond:1234458904100864000>"],crew:!0},broship:{id:"broship",img:"broship",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_broship_Bronze:1234537705292038175>","<:cropped_broship_Silver:1234537711214530652>","<:cropped_broship_Gold:1234537708047695892>","<:cropped_broship_Platinum:1234537710170013867>","<:cropped_broship_Diamond:1234537706810245161>"],crew:!0},shipsecte:{id:"shipsecte",img:"shipsecte",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_shipsecte_Bronze:1234547646023078009>","<:cropped_shipsecte_Silver:1234547651912011827>","<:cropped_shipsecte_Gold:1234547649160675408>","<:cropped_shipsecte_Platinum:1234547650414514267>","<:cropped_shipsecte_Diamond:1234547648011173888>"],crew:!0},sardine:{id:"sardine",img:"sardine",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_sardine_Bronze:1234549442799997010>","<:cropped_sardine_Silver:1234549449036927088>","<:cropped_sardine_Gold:1234549445916622988>","<:cropped_sardine_Platinum:1234549447518720050>","<:cropped_sardine_Diamond:1234549444738023484>"],crew:!0},carpenter:{id:"carpenter",img:"carpenter",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_carpenter_Bronze:1234555340964626495>","<:cropped_carpenter_Silver:1234555345935007764>","<:cropped_carpenter_Gold:1234555343317635153>","<:cropped_carpenter_Platinum:1234555344819191909>","<:cropped_carpenter_Diamond:1234555342143357072>"],crew:!0},camarade:{id:"camarade",img:"camarade",isProgressive:!1,emojis:"<:cropped_camarade:1234582024077967361>",crew:!0},selfish:{id:"selfish",img:"selfish",isProgressive:!1,emojis:"<:cropped_selfish:1234587373363527780>",crew:!0},recipe:{id:"recipe",img:"recipe",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_b_recipe_Bronze:1244357782573023282>","<:cropped_b_recipe_Silver:1244357788361031711>","<:cropped_b_recipe_Gold:1244357785555308574>","<:cropped_b_recipe_Platinum:1244357786750685225>","<:cropped_b_recipe_Diamond:1244357784397545526>"],crew:!1},craft:{id:"craft",img:"craft",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_b_craft_Bronze:1244357834452238447>","<:cropped_b_craft_Silver:1244357840513011722>","<:cropped_b_craft_Gold:1244357837333725306>","<:cropped_b_craft_Platinum:1244357838801735761>","<:cropped_b_craft_Diamond:1244357835735695401>"],crew:!1}},V=r=>!!r.isProgressive,X=["b_marine","b_revolutionary","b_pirate"],Q=(r,p)=>r.filter(i=>{const[t]=i.split("_"),c=Object.values(w).find(l=>l.id===t);return c?c.crew===p:!1}),z=r=>r.filter((p,i,t)=>{const[c,l]=p.split("_");return!t.find(de=>{const[le,Ce]=de.split("_");return c!==le?!1:l<Ce})}),K=["idiot","satan","edito","toy"],W={satan:"satan",idiot:"idiot",edito:"edito",toy:"toy"},$=["default","christmas"],u=r=>Math.round(5e3*Math.pow(200,.01*r)/10)*10,E=r=>r>=1?E(r-1)+u(r):0,T=(r,p=0)=>r<E(p+1)?p:T(r,p+1),O=r=>Math.round(1e5*Math.pow(50,.01*r)/10)*10,b=r=>r>=1?b(r-1)+O(r):0,N=(r,p=0)=>r<b(p+1)?p:N(r,p+1),q=([r,p])=>p?`${o.t("xp.user",{ns:"common",amount:s.formatNumber(r),emoji:a.emojis.xp})} ${o.t("xp.crew",{amount:s.formatNumber(p),emoji:a.emojis.xp,ns:"common"})}`:o.t("xp.user",{amount:s.formatNumber(r),emoji:a.emojis.xp,ns:"common"}),J={cooldown:{casino:[],work:[]},berry:{work:[],global:[]},drop:{work:[]},xp:{global:[]}},Z=r=>r.expireAt&&r.expireAt<new Date,x=({multiplier:r,origin:p,startIn:i,endIn:t})=>({multiplier:r,origin:p,expireAt:t?new Date(Date.now()+((i??0)+t)*60*60*1e3):null,startAt:i?new Date(Date.now()+i*60*60*1e3):null}),ee=["vitality","strength","agility","intelligence","chance","wisdom"],h=10,n=1,Y=[[200,4],[100,3],[50,2],[0,n]],re=100,_e=10,d=r=>{for(const[p,i]of Y)if(r>=p)return i;return n},pe=(r,p)=>{let i=0;for(;p>0;p--)i+=d(r),r++;return i},oe=r=>{let p=0;for(;r>0;r-=d(p))p++;return p},ie=(r,p)=>p*h-Object.values(r).reduce((i,t)=>i+t,0),te=["category","alpha","quantity"],ce=(r,p)=>p===null?null:r===p?`-${r}`:p,ae=10;class se{title=void 0;titleId;badge;isFactionBadge;asset;items;secret;daily;crew;repeatable}var P=(r=>(r.COMPLETED="COMPLETED",r.IN_PROGRESS="IN_PROGRESS",r))(P||{});const Ee=.1,be=3,ne=100;_.BAG_IDS=$,_.BadgeList=w,_.BaseQuest=se,_.CHARACTERISTICS=ee,_.CHARACTERISTIC_DEFAULT_POINT_COST=n,_.CHARACTERISTIC_POINT_COSTS=Y,_.CHARACTERISTIC_POINT_PER_LEVEL=h,_.CREW_DEFAULT_DISINTEGRATION=ne,_.CREW_DEFAULT_MEMBER_LIMIT=be,_.CREW_DEFAULT_XP_PERCENT=Ee,_.DEFAULT_BACKGROUND_ID=F,_.DEFAULT_BUFF_TREE=J,_.DEFAULT_FACTION=y,_.DEFAULT_MAX_HP=re,_.EFFECT_KEYS=g,_.ENTITY_CATEGORY=H,_.ENTITY_IMAGE_IDS=S,_.ENTITY_TYPES=G,_.EQUIPMENT_CATEGORY=M,_.EQUIPMENT_FROM_SLOT_TO_TYPE=D,_.EQUIPMENT_IMAGE_IDS=I,_.EQUIPMENT_SLOT=f,_.EQUIPMENT_TYPE=m,_.FACTIONS=v,_.FactionBadgeList=X,_.HP_PER_VITALITY=_e,_.ITEM_CATEGORY=R,_.ITEM_IMAGE_IDS=A,_.ITEM_TYPE=C,_.PROFILE_ASSETS_ID=K,_.PROGRESSIVE_BADGES=U,_.QuestStatus=P,_.RANKS=B,_.RANK_IDS_WITHOUT_BASIC=k,_.RankId=e,_.SHOP_DEFAULT_AVAILABLE_ENTITY_AMOUNT=ae,_.SORT_VALUES=te,_.STRICT_BADGES=j,_.USAGE_MODES=L,_.crewXpToLevel=O,_.displayXp=q,_.filterCrewBadges=Q,_.filterRarity=z,_.getAvailableCharacteristicPoints=ie,_.getCharacteristicCost=d,_.getComputedCharacteristicCost=pe,_.getComputedCharacteristicValue=oe,_.getCurrentCrewLevel=N,_.getCurrentLevel=T,_.getNewSortValue=ce,_.hasBuffExpired=Z,_.profileAssets=W,_.progressiveBadgeTypeGuard=V,_.totalCrewXpToLevel=b,_.totalXpToLevel=E,_.transformToDBBuff=x,_.xpToLevel=u,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(_,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("i18next"),require("@opfr/emojis"),require("@opfr/utils-lang")):typeof define=="function"&&define.amd?define(["exports","i18next","@opfr/emojis","@opfr/utils-lang"],o):(_=typeof globalThis<"u"?globalThis:_||self,o(_.definitions={},_.i18next,_["@opfr/emojis"],_["@opfr/utils-lang"]))})(this,(function(_,o,a,s){"use strict";const C=["boost","bottle","repair","chest","scroll","object","store","cookedMeal","enchant","alcohol"],R=["item","resource","enchant"],m=["ring","strap","boots","helmet","collar","belt","weapon"],f=["ring_left","ring_right","strap_left","strap_right","boots","helmet","collar","belt","weapon"],D={collar:"collar",boots:"boots",ring_left:"ring",ring_right:"ring",strap_left:"strap",strap_right:"strap",helmet:"helmet",belt:"belt",weapon:"weapon"},M=["equipment"],g=["OPEN_CHEST","APPLY_BUFF","ALCOHOL_DRINK","HEAL_HP","GAIN_XP","GAIN_RANDOM_XP","BOOST","DRINK_BOTTLE","DROP","CLEAR_HANGOVER","UNLOCK_ASSET","ADD_SCROLL_CHARAC","RAID_REDUCE_COOLDOWN","CREW_XP_BUFF","CREW_REPAIR"],L=["single","multiple","all"],G=[...C,...m],H=[...R,...M],A=["aeronef","anchor","ancient_key","background","beer","boost_day","boost_week","bottle_xp_1","bottle_xp_2","bottle_xp_3","bottle_xp_4","bowl","bowl_cereal","bread","cereal","cheese","chest_1","chest_2","chest_3","chest_4","chest_blacksmith_1","chest_blacksmith_2","chest_blacksmith_3","chest_christmas","christmas_present","clover","compass","cotton","cursed_hawthorn","dragon_heart","ebony_poppy","edelweiss","egg","elemental_concentrate_earth","elemental_concentrate_fire","elemental_concentrate_life","elemental_concentrate_moon","elemental_concentrate_water","elemental_concentrate_wind","emerald","empty_chest","empty_scroll","enchant_cereal","enchant_clover","enchant_cotton","enchant_ebony_poppy","enchant_hemp","enchant_iron","enchant_leather","enchant_manganese","enchant_poppy","enchant_pure_water","enchant_rope","enchant_rose","enchant_sea_salt","enchant_tissue","enchant_wood","enchanted_emerald","enchanted_ruby","enchanted_sapphire","enchanted_stone","essence_earth","essence_fire","essence_life","essence_moon","essence_water","essence_wind","fairy_wing","flour","fruit","glass_bottle","glue","hammock","hemp","iron","iron_ore","leather","little_cookie_christmas","lock","mandrake","manganese","map_fragment","milk","mithril","mugwort","mysterious_egg_christmas","nail","obsidian","omelet","phoenix_feather","poppy","pure_water","repair_kit","rescue_boat","rhum","rope","rose","ruby","rudder","saffron","sailing_boat","salt_water","sapphire","scrap","scroll_agility","scroll_chance","scroll_intelligence","scroll_strength","scroll_vitality","scroll_wisdom","sea_salt","siren_tear","strange_gem","strange_stone","strawberry_cake","sugar","sugar_cane_christmas","tissue","title","tools","toy","wine","wood","wood_plank"],I=["adventurer_belt","adventurer_boots","adventurer_collar","adventurer_helmet","adventurer_strap","adventurer_weapon","christmas_belt","christmas_boots","christmas_collar","christmas_gloves","christmas_helmet","christmas_strap","christmas_weapon","herbalist_belt","herbalist_boots","herbalist_helmet","herbalist_weapon","little_blacksmith_collar","little_blacksmith_ring","little_blacksmith_strap","little_blacksmith_weapon","marine_collar","marine_helmet","marine_ring","marine_strap","pirate_belt","pirate_helmet","pirate_ring","pirate_weapon","revolutionary_belt","revolutionary_boots","revolutionary_helmet","revolutionary_ring"],S=[...A,...I],v={pirate:{name:"pirate",color:"#8A1623",role:"1047815125282848849"},marine:{name:"marine",color:"#387cbc",role:"1047816059937361940"},revolutionary:{name:"revolutionary",color:"#335635",role:"1047815105846444152"},citizen:{name:"citizen",color:"#fff",role:"1147953458507423874"}},y="citizen";var e=(r=>(r.BASIC="BASIC",r.COMMON="COMMON",r.RARE="RARE",r.EPIC="EPIC",r.LEGENDARY="LEGENDARY",r.MYTHIC="MYTHIC",r))(e||{});const B=[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],k={BASIC:{color:"#fff",strength:0,id:e.BASIC,name:(r,p=1)=>o.t(`ranks.${e.BASIC}.text`,{count:p,context:r,ns:"common"})},COMMON:{color:"#813D31",strength:1,id:e.COMMON,name:(r,p=1)=>o.t(`ranks.${e.COMMON}.text`,{count:p,context:r,ns:"common"})},RARE:{color:"#5B6870",strength:2,id:e.RARE,name:(r,p=1)=>o.t(`ranks.${e.RARE}.text`,{count:p,context:r,ns:"common"})},EPIC:{color:"#C46619",strength:3,id:e.EPIC,name:(r,p=1)=>o.t(`ranks.${e.EPIC}.text`,{count:p,context:r,ns:"common"})},LEGENDARY:{color:"#88A3CB",strength:4,id:e.LEGENDARY,name:(r,p=1)=>o.t(`ranks.${e.LEGENDARY}.text`,{count:p,context:r,ns:"common"})},MYTHIC:{color:"#F6bF62",strength:5,id:e.MYTHIC,name:(r,p=1)=>o.t(`ranks.${e.MYTHIC}.text`,{count:p,context:r,ns:"common"})}},F="background_default",U=[{id:"berry",path:{cropped:{RARE:"cropped_b_berry_RARE.webp",MYTHIC:"cropped_b_berry_MYTHIC.webp",LEGENDARY:"cropped_b_berry_LEGENDARY.webp",EPIC:"cropped_b_berry_EPIC.webp",COMMON:"cropped_b_berry_COMMON.webp"},default:{RARE:"b_berry_RARE.webp",MYTHIC:"b_berry_MYTHIC.webp",LEGENDARY:"b_berry_LEGENDARY.webp",EPIC:"b_berry_EPIC.webp",COMMON:"b_berry_COMMON.webp"}},progressive:!0},{id:"broship",path:{cropped:{RARE:"cropped_b_broship_RARE.webp",MYTHIC:"cropped_b_broship_MYTHIC.webp",LEGENDARY:"cropped_b_broship_LEGENDARY.webp",EPIC:"cropped_b_broship_EPIC.webp",COMMON:"cropped_b_broship_COMMON.webp"},default:{RARE:"b_broship_RARE.webp",MYTHIC:"b_broship_MYTHIC.webp",LEGENDARY:"b_broship_LEGENDARY.webp",EPIC:"b_broship_EPIC.webp",COMMON:"b_broship_COMMON.webp"}},progressive:!0},{id:"carpenter",path:{cropped:{RARE:"cropped_b_carpenter_RARE.webp",MYTHIC:"cropped_b_carpenter_MYTHIC.webp",LEGENDARY:"cropped_b_carpenter_LEGENDARY.webp",EPIC:"cropped_b_carpenter_EPIC.webp",COMMON:"cropped_b_carpenter_COMMON.webp"},default:{RARE:"b_carpenter_RARE.webp",MYTHIC:"b_carpenter_MYTHIC.webp",LEGENDARY:"b_carpenter_LEGENDARY.webp",EPIC:"b_carpenter_EPIC.webp",COMMON:"b_carpenter_COMMON.webp"}},progressive:!0},{id:"casino",path:{cropped:{MYTHIC:"cropped_b_casino_MYTHIC.webp",LEGENDARY:"cropped_b_casino_LEGENDARY.webp"},default:{MYTHIC:"b_casino_MYTHIC.webp",LEGENDARY:"b_casino_LEGENDARY.webp"}},progressive:!0},{id:"communism",path:{cropped:{RARE:"cropped_b_communism_RARE.webp",MYTHIC:"cropped_b_communism_MYTHIC.webp",LEGENDARY:"cropped_b_communism_LEGENDARY.webp",EPIC:"cropped_b_communism_EPIC.webp",COMMON:"cropped_b_communism_COMMON.webp"},default:{RARE:"b_communism_RARE.webp",MYTHIC:"b_communism_MYTHIC.webp",LEGENDARY:"b_communism_LEGENDARY.webp",EPIC:"b_communism_EPIC.webp",COMMON:"b_communism_COMMON.webp"}},progressive:!0},{id:"craft",path:{cropped:{RARE:"cropped_b_craft_RARE.webp",MYTHIC:"cropped_b_craft_MYTHIC.webp",LEGENDARY:"cropped_b_craft_LEGENDARY.webp",EPIC:"cropped_b_craft_EPIC.webp",COMMON:"cropped_b_craft_COMMON.webp"},default:{RARE:"b_craft_RARE.webp",MYTHIC:"b_craft_MYTHIC.webp",LEGENDARY:"b_craft_LEGENDARY.webp",EPIC:"b_craft_EPIC.webp",COMMON:"b_craft_COMMON.webp"}},progressive:!0},{id:"crewship",path:{cropped:{RARE:"cropped_b_crewship_RARE.webp",MYTHIC:"cropped_b_crewship_MYTHIC.webp",LEGENDARY:"cropped_b_crewship_LEGENDARY.webp",EPIC:"cropped_b_crewship_EPIC.webp",COMMON:"cropped_b_crewship_COMMON.webp"},default:{RARE:"b_crewship_RARE.webp",MYTHIC:"b_crewship_MYTHIC.webp",LEGENDARY:"b_crewship_LEGENDARY.webp",EPIC:"b_crewship_EPIC.webp",COMMON:"b_crewship_COMMON.webp"}},progressive:!0},{id:"default",path:{cropped:{RARE:"cropped_b_default_RARE.webp",MYTHIC:"cropped_b_default_MYTHIC.webp",LEGENDARY:"cropped_b_default_LEGENDARY.webp",EPIC:"cropped_b_default_EPIC.webp",COMMON:"cropped_b_default_COMMON.webp"},default:{RARE:"b_default_RARE.webp",MYTHIC:"b_default_MYTHIC.webp",LEGENDARY:"b_default_LEGENDARY.webp",EPIC:"b_default_EPIC.webp",COMMON:"b_default_COMMON.webp"}},progressive:!0},{id:"ecrire",path:{cropped:{RARE:"cropped_b_ecrire_RARE.webp",MYTHIC:"cropped_b_ecrire_MYTHIC.webp",LEGENDARY:"cropped_b_ecrire_LEGENDARY.webp",EPIC:"cropped_b_ecrire_EPIC.webp",COMMON:"cropped_b_ecrire_COMMON.webp"},default:{RARE:"b_ecrire_RARE.webp",MYTHIC:"b_ecrire_MYTHIC.webp",LEGENDARY:"b_ecrire_LEGENDARY.webp",EPIC:"b_ecrire_EPIC.webp",COMMON:"b_ecrire_COMMON.webp"}},progressive:!0},{id:"ermite",path:{cropped:{RARE:"cropped_b_ermite_RARE.webp",MYTHIC:"cropped_b_ermite_MYTHIC.webp",LEGENDARY:"cropped_b_ermite_LEGENDARY.webp",EPIC:"cropped_b_ermite_EPIC.webp",COMMON:"cropped_b_ermite_COMMON.webp"},default:{RARE:"b_ermite_RARE.webp",MYTHIC:"b_ermite_MYTHIC.webp",LEGENDARY:"b_ermite_LEGENDARY.webp",EPIC:"b_ermite_EPIC.webp",COMMON:"b_ermite_COMMON.webp"}},progressive:!0},{id:"exploration",path:{cropped:{RARE:"cropped_b_exploration_RARE.webp",MYTHIC:"cropped_b_exploration_MYTHIC.webp",LEGENDARY:"cropped_b_exploration_LEGENDARY.webp",EPIC:"cropped_b_exploration_EPIC.webp",COMMON:"cropped_b_exploration_COMMON.webp"},default:{RARE:"b_exploration_RARE.webp",MYTHIC:"b_exploration_MYTHIC.webp",LEGENDARY:"b_exploration_LEGENDARY.webp",EPIC:"b_exploration_EPIC.webp",COMMON:"b_exploration_COMMON.webp"}},progressive:!0},{id:"marine",path:{cropped:{RARE:"cropped_b_marine_RARE.webp",MYTHIC:"cropped_b_marine_MYTHIC.webp",LEGENDARY:"cropped_b_marine_LEGENDARY.webp",EPIC:"cropped_b_marine_EPIC.webp",COMMON:"cropped_b_marine_COMMON.webp"},default:{RARE:"b_marine_RARE.webp",MYTHIC:"b_marine_MYTHIC.webp",LEGENDARY:"b_marine_LEGENDARY.webp",EPIC:"b_marine_EPIC.webp",COMMON:"b_marine_COMMON.webp"}},progressive:!0},{id:"mode",path:{cropped:{RARE:"cropped_b_mode_RARE.webp",MYTHIC:"cropped_b_mode_MYTHIC.webp",LEGENDARY:"cropped_b_mode_LEGENDARY.webp",EPIC:"cropped_b_mode_EPIC.webp",COMMON:"cropped_b_mode_COMMON.webp"},default:{RARE:"b_mode_RARE.webp",MYTHIC:"b_mode_MYTHIC.webp",LEGENDARY:"b_mode_LEGENDARY.webp",EPIC:"b_mode_EPIC.webp",COMMON:"b_mode_COMMON.webp"}},progressive:!0},{id:"pirate",path:{cropped:{RARE:"cropped_b_pirate_RARE.webp",MYTHIC:"cropped_b_pirate_MYTHIC.webp",LEGENDARY:"cropped_b_pirate_LEGENDARY.webp",EPIC:"cropped_b_pirate_EPIC.webp",COMMON:"cropped_b_pirate_COMMON.webp"},default:{RARE:"b_pirate_RARE.webp",MYTHIC:"b_pirate_MYTHIC.webp",LEGENDARY:"b_pirate_LEGENDARY.webp",EPIC:"b_pirate_EPIC.webp",COMMON:"b_pirate_COMMON.webp"}},progressive:!0},{id:"recipe",path:{cropped:{RARE:"cropped_b_recipe_RARE.webp",MYTHIC:"cropped_b_recipe_MYTHIC.webp",LEGENDARY:"cropped_b_recipe_LEGENDARY.webp",EPIC:"cropped_b_recipe_EPIC.webp",COMMON:"cropped_b_recipe_COMMON.webp"},default:{RARE:"b_recipe_RARE.webp",MYTHIC:"b_recipe_MYTHIC.webp",LEGENDARY:"b_recipe_LEGENDARY.webp",EPIC:"b_recipe_EPIC.webp",COMMON:"b_recipe_COMMON.webp"}},progressive:!0},{id:"revolutionary",path:{cropped:{RARE:"cropped_b_revolutionary_RARE.webp",MYTHIC:"cropped_b_revolutionary_MYTHIC.webp",LEGENDARY:"cropped_b_revolutionary_LEGENDARY.webp",EPIC:"cropped_b_revolutionary_EPIC.webp",COMMON:"cropped_b_revolutionary_COMMON.webp"},default:{RARE:"b_revolutionary_RARE.webp",MYTHIC:"b_revolutionary_MYTHIC.webp",LEGENDARY:"b_revolutionary_LEGENDARY.webp",EPIC:"b_revolutionary_EPIC.webp",COMMON:"b_revolutionary_COMMON.webp"}},progressive:!0},{id:"sardine",path:{cropped:{RARE:"cropped_b_sardine_RARE.webp",MYTHIC:"cropped_b_sardine_MYTHIC.webp",LEGENDARY:"cropped_b_sardine_LEGENDARY.webp",EPIC:"cropped_b_sardine_EPIC.webp",COMMON:"cropped_b_sardine_COMMON.webp"},default:{RARE:"b_sardine_RARE.webp",MYTHIC:"b_sardine_MYTHIC.webp",LEGENDARY:"b_sardine_LEGENDARY.webp",EPIC:"b_sardine_EPIC.webp",COMMON:"b_sardine_COMMON.webp"}},progressive:!0},{id:"shipsecte",path:{cropped:{RARE:"cropped_b_shipsecte_RARE.webp",MYTHIC:"cropped_b_shipsecte_MYTHIC.webp",LEGENDARY:"cropped_b_shipsecte_LEGENDARY.webp",EPIC:"cropped_b_shipsecte_EPIC.webp",COMMON:"cropped_b_shipsecte_COMMON.webp"},default:{RARE:"b_shipsecte_RARE.webp",MYTHIC:"b_shipsecte_MYTHIC.webp",LEGENDARY:"b_shipsecte_LEGENDARY.webp",EPIC:"b_shipsecte_EPIC.webp",COMMON:"b_shipsecte_COMMON.webp"}},progressive:!0}],j=[{id:"black-jack",path:{default:"b_black-jack.webp",cropped:"cropped_b_black-jack.webp"},progressive:!1},{id:"calendar",path:{default:"b_calendar.webp",cropped:"cropped_b_calendar.webp"},progressive:!1},{id:"camarade",path:{default:"b_camarade.webp",cropped:"cropped_b_camarade.webp"},progressive:!1},{id:"chance",path:{default:"b_chance.webp",cropped:"cropped_b_chance.webp"},progressive:!1},{id:"doublesix",path:{default:"b_doublesix.webp",cropped:"cropped_b_doublesix.webp"},progressive:!1},{id:"noluck",path:{default:"b_noluck.webp",cropped:"cropped_b_noluck.webp"},progressive:!1},{id:"premium",path:{default:"b_premium.webp",cropped:"cropped_b_premium.webp"},progressive:!1},{id:"selfish",path:{default:"b_selfish.webp",cropped:"cropped_b_selfish.webp"},progressive:!1}],w={exploration:{id:"writeChat",img:"exploration",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:Explorateurbois:1175507909518573578>","<:Explorateurargent:1175508452467015680>","<:Explorateuror:1175507917642932245>","<:Explorateurplatine:1175507920587329586>","<:Explorateurultime:1175507922818699334>"],crew:!1},ecrire:{id:"sendMessage",img:"ecrire",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:Spammeurbois:1175508156785365003>","<:Spammeurargent:1175507962249351268>","<:Spammeuror:1175507966808572007>","<:Spammeurplatine:1175507968293339167>","<:Spammeurultime:1175507863460913222>"],crew:!1},ermite:{id:"timeInVoice",img:"ermite",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:Ermitebois:1175507899875868672>","<:Ermiteargent:1175508498138796153>","<:Ermiteor:1175508465746182305>","<:Ermiteplatine:1175507904695124028>","<:Ermiteultime:1175507906041499749>"],crew:!1},berry:{id:"berry",img:"berry",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:ElonMuskbois:1175507891600498758>","<:ElonMuskargent:1175508764988801034>","<:ElonMuskor:1175508756700856390>","<:ElonMuskplatine:1175508739386789928>","<:ElonMuskultime:1175507895668985886>"],crew:!1},mode:{id:"spendShop",img:"mode",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:FashionViktimbois:1175508381436485672>","<:FashionViktimargent:1175507924873904128>","<:FashionViktimor:1175507926719414406>","<:FashionViktimplatine:1175508345562599445>","<:FashionViktimultime:1175507931517698088>"],crew:!1},noluck:{id:"noLuck",img:"noluck",isProgressive:!1,emojis:"<:BadluckPlatine:1175507878048702505>",crew:!1},chance:{id:"chance",img:"chance",isProgressive:!1,emojis:"<:BadgeChanceux:1192743999514103869>",crew:!1},casino:{id:"casino",img:"casino",isProgressive:[e.LEGENDARY,e.MYTHIC],emojis:["<:GamblingAddict:1175507934223016047>","<:GamblingAddictDiamond:1187147920647131207>"],crew:!1},premium:{id:"premium",img:"premium",isProgressive:!1,emojis:"<:BadgesDon:1175507876056399933>",crew:!1},calendar:{id:"calendar",img:"calendar",isProgressive:!1,emojis:"<:Calendrier:1187170872176431114>",crew:!1},doublesix:{id:"doublesix",img:"doublesix",isProgressive:!1,emojis:"<:DoubleSix:1187178228624937000>",crew:!1},"black-jack":{id:"blackJack",img:"black-jack",isProgressive:!1,emojis:"<:BlackJack:1187456310137069618>",crew:!1},communism:{id:"communism",img:"communism",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_communism_Bronze:1234375558184570902>","<:cropped_communism_Silver:1234375563729440789>","<:cropped_communism_Gold:1234375561154007103>","<:cropped_communism_Platinum:1234375562269687849>","<:cropped_communism_Diamond:1234375559811825705>"],crew:!0},crewship:{id:"crewship",img:"crewship",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_crewship_Bronze:1234458902641246260>","<:cropped_crewship_Silver:1234458908840431617>","<:cropped_crewship_Gold:1234458905694961724>","<:cropped_crewship_Platinum:1234458907741782038>","<:cropped_crewship_Diamond:1234458904100864000>"],crew:!0},broship:{id:"broship",img:"broship",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_broship_Bronze:1234537705292038175>","<:cropped_broship_Silver:1234537711214530652>","<:cropped_broship_Gold:1234537708047695892>","<:cropped_broship_Platinum:1234537710170013867>","<:cropped_broship_Diamond:1234537706810245161>"],crew:!0},shipsecte:{id:"shipsecte",img:"shipsecte",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_shipsecte_Bronze:1234547646023078009>","<:cropped_shipsecte_Silver:1234547651912011827>","<:cropped_shipsecte_Gold:1234547649160675408>","<:cropped_shipsecte_Platinum:1234547650414514267>","<:cropped_shipsecte_Diamond:1234547648011173888>"],crew:!0},sardine:{id:"sardine",img:"sardine",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_sardine_Bronze:1234549442799997010>","<:cropped_sardine_Silver:1234549449036927088>","<:cropped_sardine_Gold:1234549445916622988>","<:cropped_sardine_Platinum:1234549447518720050>","<:cropped_sardine_Diamond:1234549444738023484>"],crew:!0},carpenter:{id:"carpenter",img:"carpenter",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_carpenter_Bronze:1234555340964626495>","<:cropped_carpenter_Silver:1234555345935007764>","<:cropped_carpenter_Gold:1234555343317635153>","<:cropped_carpenter_Platinum:1234555344819191909>","<:cropped_carpenter_Diamond:1234555342143357072>"],crew:!0},camarade:{id:"camarade",img:"camarade",isProgressive:!1,emojis:"<:cropped_camarade:1234582024077967361>",crew:!0},selfish:{id:"selfish",img:"selfish",isProgressive:!1,emojis:"<:cropped_selfish:1234587373363527780>",crew:!0},recipe:{id:"recipe",img:"recipe",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_b_recipe_Bronze:1244357782573023282>","<:cropped_b_recipe_Silver:1244357788361031711>","<:cropped_b_recipe_Gold:1244357785555308574>","<:cropped_b_recipe_Platinum:1244357786750685225>","<:cropped_b_recipe_Diamond:1244357784397545526>"],crew:!1},craft:{id:"craft",img:"craft",isProgressive:[e.COMMON,e.RARE,e.EPIC,e.LEGENDARY,e.MYTHIC],emojis:["<:cropped_b_craft_Bronze:1244357834452238447>","<:cropped_b_craft_Silver:1244357840513011722>","<:cropped_b_craft_Gold:1244357837333725306>","<:cropped_b_craft_Platinum:1244357838801735761>","<:cropped_b_craft_Diamond:1244357835735695401>"],crew:!1}},V=r=>!!r.isProgressive,X=["b_marine","b_revolutionary","b_pirate"],Q=(r,p)=>r.filter(i=>{const[t]=i.split("_"),c=Object.values(w).find(l=>l.id===t);return c?c.crew===p:!1}),z=r=>r.filter((p,i,t)=>{const[c,l]=p.split("_");return!t.find(Re=>{const[me,Me]=Re.split("_");return c!==me?!1:l<Me})}),K=["idiot","satan","edito","toy"],W={satan:"satan",idiot:"idiot",edito:"edito",toy:"toy"},$=["default","christmas"],T=r=>Math.round(5e3*Math.pow(200,.01*r)/10)*10,E=r=>r>=1?E(r-1)+T(r):0,u=(r,p=0)=>r<E(p+1)?p:u(r,p+1),O=r=>Math.round(1e5*Math.pow(50,.01*r)/10)*10,b=r=>r>=1?b(r-1)+O(r):0,N=(r,p=0)=>r<b(p+1)?p:N(r,p+1),q=([r,p])=>p?`${o.t("xp.user",{ns:"common",amount:s.formatNumber(r),emoji:a.emojis.xp})} ${o.t("xp.crew",{amount:s.formatNumber(p),emoji:a.emojis.xp,ns:"common"})}`:o.t("xp.user",{amount:s.formatNumber(r),emoji:a.emojis.xp,ns:"common"}),J={cooldown:{casino:[],work:[]},berry:{work:[],global:[]},drop:{work:[]},xp:{global:[]}},Z=r=>r.expireAt&&r.expireAt<new Date,x=({multiplier:r,origin:p,startIn:i,endIn:t})=>({multiplier:r,origin:p,expireAt:t?new Date(Date.now()+((i??0)+t)*60*60*1e3):null,startAt:i?new Date(Date.now()+i*60*60*1e3):null}),ee=["vitality","strength","agility","intelligence","chance","wisdom"],h=10,n=1,Y=[[200,4],[100,3],[50,2],[0,n]],re=100,_e=10,d=r=>{for(const[p,i]of Y)if(r>=p)return i;return n},pe=(r,p)=>{let i=0;for(;p>0;p--)i+=d(r),r++;return i},oe=r=>{let p=0;for(;r>0;r-=d(p))p++;return p},ie=(r,p)=>p*h-Object.values(r).reduce((i,t)=>i+t,0),te=["category","alpha","quantity"],ce=(r,p)=>p===null?null:r===p?`-${r}`:p,ae=10;class se{title=void 0;titleId;badge;isFactionBadge;asset;items;secret;daily;crew;repeatable}var P=(r=>(r.COMPLETED="COMPLETED",r.IN_PROGRESS="IN_PROGRESS",r))(P||{});const Ee=10,be=1e7,ne=100,de=.1,le=3,Ce=100;_.BAG_IDS=$,_.BET_MAX_VALUE=be,_.BET_MIN_VALUE=Ee,_.BadgeList=w,_.BaseQuest=se,_.CHARACTERISTICS=ee,_.CHARACTERISTIC_DEFAULT_POINT_COST=n,_.CHARACTERISTIC_POINT_COSTS=Y,_.CHARACTERISTIC_POINT_PER_LEVEL=h,_.CREW_DEFAULT_DISINTEGRATION=Ce,_.CREW_DEFAULT_MEMBER_LIMIT=le,_.CREW_DEFAULT_XP_PERCENT=de,_.DEFAULT_BACKGROUND_ID=F,_.DEFAULT_BUFF_TREE=J,_.DEFAULT_FACTION=y,_.DEFAULT_MAX_HP=re,_.EDITO_READ=ne,_.EFFECT_KEYS=g,_.ENTITY_CATEGORY=H,_.ENTITY_IMAGE_IDS=S,_.ENTITY_TYPES=G,_.EQUIPMENT_CATEGORY=M,_.EQUIPMENT_FROM_SLOT_TO_TYPE=D,_.EQUIPMENT_IMAGE_IDS=I,_.EQUIPMENT_SLOT=f,_.EQUIPMENT_TYPE=m,_.FACTIONS=v,_.FactionBadgeList=X,_.HP_PER_VITALITY=_e,_.ITEM_CATEGORY=R,_.ITEM_IMAGE_IDS=A,_.ITEM_TYPE=C,_.PROFILE_ASSETS_ID=K,_.PROGRESSIVE_BADGES=U,_.QuestStatus=P,_.RANKS=k,_.RANK_IDS_WITHOUT_BASIC=B,_.RankId=e,_.SHOP_DEFAULT_AVAILABLE_ENTITY_AMOUNT=ae,_.SORT_VALUES=te,_.STRICT_BADGES=j,_.USAGE_MODES=L,_.crewXpToLevel=O,_.displayXp=q,_.filterCrewBadges=Q,_.filterRarity=z,_.getAvailableCharacteristicPoints=ie,_.getCharacteristicCost=d,_.getComputedCharacteristicCost=pe,_.getComputedCharacteristicValue=oe,_.getCurrentCrewLevel=N,_.getCurrentLevel=u,_.getNewSortValue=ce,_.hasBuffExpired=Z,_.profileAssets=W,_.progressiveBadgeTypeGuard=V,_.totalCrewXpToLevel=b,_.totalXpToLevel=E,_.transformToDBBuff=x,_.xpToLevel=T,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})}));
@@ -0,0 +1,4 @@
1
+ export declare const BET_MIN_VALUE: 10;
2
+ export declare const BET_MAX_VALUE: 10000000;
3
+ export declare const EDITO_READ: 100;
4
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/quests/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,EAAG,EAAW,CAAC;AACzC,eAAO,MAAM,aAAa,EAAG,QAAmB,CAAC;AAEjD,eAAO,MAAM,UAAU,EAAG,GAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ export const BET_MIN_VALUE = 10;
2
+ export const BET_MAX_VALUE = 10_000_000;
3
+ export const EDITO_READ = 100;
4
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/quests/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,EAAW,CAAC;AACzC,MAAM,CAAC,MAAM,aAAa,GAAG,UAAmB,CAAC;AAEjD,MAAM,CAAC,MAAM,UAAU,GAAG,GAAY,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './base';
2
2
  export * from './types';
3
+ export * from './constants';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/quests/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/quests/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './base';
2
2
  export * from './types';
3
+ export * from './constants';
3
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/quests/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/quests/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opfr/definitions",
3
- "version": "1.3.4",
3
+ "version": "1.4.0",
4
4
  "private": false,
5
5
  "description": "OPFR definitions",
6
6
  "author": "Matthieu VEIGA",
@@ -44,5 +44,5 @@
44
44
  "node_modules",
45
45
  "dist"
46
46
  ],
47
- "gitHead": "75dbcbad2caf14d68a456b9bf8a847f62659a8b3"
47
+ "gitHead": "ee588c71d836b394883117fbca13de0888fb5aff"
48
48
  }