@flesh-and-blood/types 2.1.10 → 2.1.20

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/dist/index.js CHANGED
@@ -1 +1 @@
1
- var p=Object.defineProperty,ii=Object.defineProperties,ti=Object.getOwnPropertyDescriptor,ei=Object.getOwnPropertyDescriptors,ni=Object.getOwnPropertyNames,F=Object.getOwnPropertySymbols;var U=Object.prototype.hasOwnProperty,ri=Object.prototype.propertyIsEnumerable;var W=(n,r,o)=>r in n?p(n,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[r]=o,j=(n,r)=>{for(var o in r||(r={}))U.call(r,o)&&W(n,o,r[o]);if(F)for(var o of F(r))ri.call(r,o)&&W(n,o,r[o]);return n},R=(n,r)=>ii(n,ei(r));var ai=(n,r)=>{for(var o in r)p(n,o,{get:r[o],enumerable:!0})},oi=(n,r,o,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of ni(r))!U.call(n,a)&&a!==o&&p(n,a,{get:()=>r[a],enumerable:!(s=ti(r,a))||s.enumerable});return n};var li=n=>oi(p({},"__esModule",{value:!0}),n);var Di={};ai(Di,{Class:()=>S,Foiling:()=>V,Format:()=>b,Fusion:()=>$,Hero:()=>X,Keyword:()=>w,Rarity:()=>Y,Release:()=>q,ReleaseEdition:()=>Z,Subtype:()=>J,Talent:()=>Q,Treatment:()=>N,Type:()=>_,fullSetIdentifiers:()=>A,getDefaultPrinting:()=>fi,getPrint:()=>di,getSpecialPrinting:()=>ki,orderedFullSetBlackBorderIdentifiers:()=>gi,setIdentifierToSetMappings:()=>H,setToSetIdentifierMappings:()=>si});module.exports=li(Di);var V=(s=>(s.C="Cold",s.G="Gold",s.R="Rainbow",s))(V||{}),N=(g=>(g.AB="Alternate Border",g.AA="Alternate Art",g.AT="Alternate Text",g.EA="Extended Art",g.FA="Full Art",g))(N||{}),S=(c=>(c.NotClassed="NotClassed",c.Generic="Generic",c.Adjudicator="Adjudicator",c.Assassin="Assassin",c.Bard="Bard",c.Brute="Brute",c.Guardian="Guardian",c.Illusionist="Illusionist",c.Mechanologist="Mechanologist",c.Merchant="Merchant",c.Ninja="Ninja",c.Ranger="Ranger",c.Runeblade="Runeblade",c.Shapeshifter="Shapeshifter",c.Warrior="Warrior",c.Wizard="Wizard",c))(S||{}),b=(k=>(k.Blitz="Blitz",k.BlitzLivingLegend="Blitz (Living Legend)",k.Clash="Clash",k.ClassicConstructed="Classic Constructed",k.ClassicConstructedLivingLegend="Classic Constructed (Living Legend)",k.Commoner="Commoner",k.Draft="Draft",k.Open="Open",k.Sealed="Sealed",k.UltimatePitFight="Ultimate Pit Fight",k))(b||{}),$=(s=>(s.Earth="Earth",s.Ice="Ice",s.Lightning="Lightning",s))($||{}),Y=(l=>(l.Token="Token",l.Common="Common",l.Rare="Rare",l.SuperRare="Super Rare",l.Majestic="Majestic",l.Marvel="Marvel",l.Legendary="Legendary",l.Fabled="Fabled",l.Promo="Promo",l))(Y||{}),q=(e=>(e.ArcaneRising="Arcane Rising",e.BrightLights="Bright Lights",e.CrucibleOfWar="Crucible of War",e.DuskTillDawn="Dusk till Dawn",e.Dynasty="Dynasty",e.Everfest="Everfest",e.HeavyHitters="Heavy Hitters",e.HistoryPack1="History Pack 1",e.Monarch="Monarch",e.Outsiders="Outsiders",e.PartTheMistveil="Part the Mistveil",e.TalesOfAria="Tales of Aria",e.Uprising="Uprising",e.WelcomeToRathe="Welcome to Rathe",e.ArmoryDeckKayo="Armory Deck: Kayo",e.ArmoryDeckBoltyn="Armory Deck: Boltyn",e.ArakniBlitzDeck="Arakni Blitz Deck",e.AzaleaBlitzDeck="Azalea Blitz Deck",e.BenjiBlitzDeck="Benji Blitz Deck",e.BetsyBlitzDeck="Betsy Blitz Deck",e.BoltynBlitzDeck="Boltyn Blitz Deck",e.BriarBlitzDeck="Briar Blitz Deck",e.BravoBlitzDeck="Bravo Blitz Deck",e.ChaneBlitzDeck="Chane Blitz Deck",e.DromaiBlitzDeck="Dromai Blitz Deck",e.EnigmaBlitzDeck="Enigma Blitz Deck",e.FaiBlitzDeck="Fai Blitz Deck",e.KassaiBlitzDeck="Kassai Blitz Deck",e.KatsuBlitzDeck="Katsu Blitz Deck",e.KayoBlitzDeck="Kayo Blitz Deck",e.LeviaBlitzDeck="Levia Blitz Deck",e.LexiBlitzDeck="Lexi Blitz Deck",e.NuuBlitzDeck="Nuu Blitz Deck",e.OldhimBlitzDeck="Oldhim Blitz Deck",e.OlympiaBlitzDeck="Olympia Blitz Deck",e.PrismBlitzDeck="Prism Blitz Deck",e.RhinarBlitzDeck="Rhinar Blitz Deck",e.RiptideBlitzDeck="Riptide Blitz Deck",e.UzuriBlitzDeck="Uzuri Blitz Deck",e.VictorBlitzDeck="Victor Blitz Deck",e.ZenBlitzDeck="Zen Blitz Deck",e.DorintheaHeroDeck="Dorinthea Hero Deck",e.KatsuHeroDeck="Katsu Hero Deck",e.RhinarHeroDeck="Rhinar Hero Deck",e.ClassicBattlesRhinarDorinthea="Classic Battles: Rhinar vs Dorinthea",e.IraWelcomeDeck="Ira Welcome Deck",e.RoundTheTable="Round the Table",e.Promos="Promos",e))(q||{}),Z=(a=>(a.Alpha="Alpha",a.First="First",a.Unlimited="Unlimited",a.Promo="Promo",a))(Z||{}),Q=(l=>(l.Draconic="Draconic",l.Earth="Earth",l.Elemental="Elemental",l.Ice="Ice",l.Light="Light",l.Lightning="Lightning",l.Mystic="Mystic",l.Royal="Royal",l.Shadow="Shadow",l))(Q||{}),_=(m=>(m.Action="Action",m.AttackReaction="Attack Reaction",m.Block="Block",m.DefenseReaction="Defense Reaction",m.DemiHero="Demi-Hero",m.Equipment="Equipment",m.Hero="Hero",m.Instant="Instant",m.Mentor="Mentor",m.Resource="Resource",m.Token="Token",m.Weapon="Weapon",m))(_||{}),J=(i=>(i.OneHanded="1H",i.TwoHanded="2H",i.Affliction="Affliction",i.Ally="Ally",i.Angel="Angel",i.Arms="Arms",i.Arrow="Arrow",i.Ash="Ash",i.Attack="Attack",i.Aura="Aura",i.Axe="Axe",i.Base="Base",i.Book="Book",i.Bow="Bow",i.Chest="Chest",i.Chi="Chi",i.Claw="Claw",i.Club="Club",i.Construct="Construct",i.Dagger="Dagger",i.Demon="Demon",i.Dragon="Dragon",i.Evo="Evo",i.Fiddle="Fiddle",i.Figment="Figment",i.Flail="Flail",i.Gem="Gem",i.Gun="Gun",i.Hammer="Hammer",i.Head="Head",i.Invocation="Invocation",i.Item="Item",i.Landmark="Landmark",i.Lute="Lute",i.Legs="Legs",i.NonAttack="Non-Attack",i.OffHand="Off-Hand",i.Orb="Orb",i.Pistol="Pistol",i.Quiver="Quiver",i.Rock="Rock",i.Shuriken="Shuriken",i.Scepter="Scepter",i.Scroll="Scroll",i.Scythe="Scythe",i.Song="Song",i.Staff="Staff",i.Sword="Sword",i.Trap="Trap",i.Wrench="Wrench",i.Young="Young",i))(J||{}),X=(i=>(i.Arakni="Arakni",i.Azalea="Azalea",i.Benji="Benji",i.Betsy="Betsy",i.Blaze="Blaze",i.Boltyn="Boltyn",i.Bravo="Bravo",i.Brevant="Brevant",i.Briar="Briar",i.Brutus="Brutus",i.Chane="Chane",i.Dash="Dash",i.DataDoll="Data Doll",i.Dorinthea="Dorinthea",i.Dromai="Dromai",i.Emperor="Emperor",i.Enigma="Enigma",i.Fai="Fai",i.GenisWotchuneed="Genis Wotchuneed",i.Ira="Ira",i.Iyslander="Iyslander",i.Kano="Kano",i.Kassai="Kassai",i.Katsu="Katsu",i.Kavdaen="Kavdaen",i.Kayo="Kayo",i.Levia="Levia",i.Lexi="Lexi",i.Maxx="Maxx",i.Melody="Melody",i.Nuu="Nuu",i.Oldhim="Oldhim",i.Olympia="Olympia",i.Prism="Prism",i.Rhinar="Rhinar",i.Riptide="Riptide",i.Ruudi="Ruu'di",i.Shiyana="Shiyana",i.Squizzy="Squizzy",i.Taipanis="Taipanis",i.Taylor="Taylor",i.Teklovossen="Teklovossen",i.Theryon="Theryon",i.Uzuri="Uzuri",i.Valda="Valda",i.Victor="Victor",i.Vynnset="Vynnset",i.Viserai="Viserai",i.Yorick="Yorick",i.Yoji="Yoji",i.Zen="Zen",i))(X||{}),w=(t=>(t.Ambush="Ambush",t.Amp="Amp",t.ArcaneBarrier="Arcane Barrier",t.Awaken="Awaken",t.Battleworn="Battleworn",t.BeatChest="Beat Chest",t.BladeBreak="Blade Break",t.BloodDebt="Blood Debt",t.Boost="Boost",t.Channel="Channel",t.Charge="Charge",t.Clash="Clash",t.Cloaked="Cloaked",t.Combo="Combo",t.Contract="Contract",t.Crank="Crank",t.Crush="Crush",t.Dominate="Dominate",t.Ephemeral="Ephemeral",t.Essence="Essence",t.EvoUpgrade="Evo Upgrade",t.Freeze="Freeze",t.Fusion="Fusion",t.Galvanize="Galvanize",t.GoAgain="Go again",t.Guardwell="Guardwell",t.Heave="Heave",t.Intimidate="Intimidate",t.Legendary="Legendary",t.Material="Material",t.Modular="Modular",t.Mirage="Mirage",t.Negate="Negate",t.Opt="Opt",t.Overpower="Overpower",t.Pairs="Pairs",t.Piercing="Piercing",t.Phantasm="Phantasm",t.Protect="Protect",t.Quell="Quell",t.Reload="Reload",t.Reprise="Reprise",t.RuneGate="Rune Gate",t.Rupture="Rupture",t.Scrap="Scrap",t.Solflare="Solflare",t.Specialization="Specialization",t.Spectra="Spectra",t.Spellvoid="Spellvoid",t.Stealth="Stealth",t.Surge="Surge",t.Temper="Temper",t.Tower="Tower",t.Transform="Transform",t.Transcend="Transcend",t.Universal="Universal",t.Unfreeze="Unfreeze",t.Unity="Unity",t.Wager="Wager",t.Ward="Ward",t))(w||{});var A={wtr:"Welcome to Rathe",arc:"Arcane Rising",cru:"Crucible of War",mon:"Monarch",ele:"Tales of Aria",evr:"Everfest","1hp":"History Pack 1",hp1:"History Pack 1",upr:"Uprising",dyn:"Dynasty",out:"Outsiders",dtd:"Dusk till Dawn",evo:"Bright Lights",hvy:"Heavy Hitters",mst:"Part the Mistveil"},H=R(j({},A),{ako:"Armory Deck: Kayo",asb:"Armory Deck: Boltyn",ara:"Arakni Blitz Deck",azl:"Azalea Blitz Deck",ben:"Benji Blitz Deck",bet:"Betsy Blitz Deck",bol:"Boltyn Blitz Deck",bri:"Briar Blitz Deck",bvo:"Bravo Blitz Deck",chn:"Chane Blitz Deck",dro:"Dromai Blitz Deck",eng:"Enigma Blitz Deck",fai:"Fai Blitz Deck",kat:"Katsu Blitz Deck",ksi:"Kassai Blitz Deck",kyo:"Kayo Blitz Deck",lev:"Levia Blitz Deck",lxi:"Lexi Blitz Deck",nuu:"Nuu Blitz Deck",old:"Oldhim Blitz Deck",ola:"Olympia Blitz Deck",psm:"Prism Blitz Deck",rip:"Riptide Blitz Deck",rnr:"Rhinar Blitz Deck",uzu:"Uzuri Blitz Deck",vic:"Victor Blitz Deck",zen:"Zen Blitz Deck",dvr:"Classic Battles: Rhinar vs Dorinthea",rvd:"Classic Battles: Rhinar vs Dorinthea",ira:"Ira Welcome Deck",tcc:"Round the Table",tea:"Dorinthea Hero Deck",ksu:"Katsu Hero Deck",rnr2:"Rhinar Hero Deck",fab:"Promos",her:"Promos",jdg:"Promos",lgs:"Promos",lss:"Promos",oxo:"Promos",xxx:"Promos",win:"Promos"}),v={};for(let[n,r]of Object.entries(H)){let o=v[r];o?o.push(n):v[r]=[n]}var si=v;var ci={"Rhinar Blitz Deck":"-Blitz"},di=n=>{var D,l;let r=ci[n.set]||"",o=`${n.identifier}${r}`,s=n.edition?`-${n.edition}`:"",a=n.foiling?`-${n.foiling}`:"",g=n.treatment?`-${n.treatment}`:"",B=(D=n.image)!=null&&D.toLowerCase().includes("back")?"-Back":"",f=(l=n.image)!=null&&l.toLowerCase().includes("_v3")?"-V3":"";return`${o}${s}${a}${g}${B}${f}`},gi=Object.keys(A).filter(n=>!n.toLowerCase().includes("hp")).reverse().map(n=>n.toUpperCase()),mi={"command-and-conquer-red":{print:"DYN000-Cold"},"cracked-bauble-yellow":{print:"LGS083-Cold"},"fate-foreseen-red":{print:"FAB024-Rainbow"},"pitfall-trap-yellow":{print:"LGS151-Rainbow"},quicken:{print:"EVO250"},"ravenous-rabble-red":{print:"FAB190-Rainbow-Extended Art"},"rockslide-trap-blue":{print:"LGS152-Rainbow"},"sigil-of-solace-red":{print:"FAB178-Rainbow-Extended Art"},"spectral-shield":{print:"MST158-Alternate Art-V3"},"tripwire-trap-red":{print:"LGS150-Rainbow"},"viserai-rune-blood":{print:"HER011-Cold"}},ki=(n,r)=>{let{cardIdentifier:o}=n,s=Object.entries(mi).find(([a])=>a===o);if(s){let[,{print:a}]=s;return r.find(B=>B.print===a)||r[0]}else{let a,g,B,f,D,l,k,C,m,x,L,I,c,E,O,M,T,G;for(let d of r){let{edition:h,foiling:u,identifier:y,image:P,treatment:z}=d,K=y.toLowerCase().includes("win");if(!!P&&!K){if(a||(a=d),z==="Alternate Art")g=d;else if(z==="Alternate Border")B=d;else if(z==="Alternate Text")f=d;else if(z==="Extended Art")k=d,u==="Cold"&&(D=d),u||(m=d),h==="Promo"&&(x=d);else if(z==="Full Art"){C=d,u==="Cold"&&(l=d);break}P&&P.includes("_V2")&&(L=d),h==="Alpha"?I=d:h==="First"?c=d:h==="Promo"?E=d:h==="Unlimited"&&(O=d),u==="Cold"?(M=d,h==="Promo"&&(G=d)):u==="Gold"&&(T=d)}}return l||C||D||x||m||k||B||g||f||L||G||I||c||E||O||T||M||a}},Bi={"Pitfall Trap":{print:"LGS151-Rainbow"},"Rockslide Trap":{print:"LGS152-Rainbow"},"Spectral Shield":{print:"MST158"},"Tripwire Trap":{print:"LGS150-Rainbow"}},fi=(n,r)=>{let o=Object.entries(Bi).find(([s])=>n.name===s);if(o){let[,{print:s}]=o;return r.find(g=>g.print===s)||r[0]}else{let s,a;for(let g of r){let{edition:B,image:f}=g;if(!!f&&(s||(s=g),!a&&B!=="Promo"&&(a=g)),s&&a)break}return a||s||r[0]}};0&&(module.exports={Class,Foiling,Format,Fusion,Hero,Keyword,Rarity,Release,ReleaseEdition,Subtype,Talent,Treatment,Type,fullSetIdentifiers,getDefaultPrinting,getPrint,getSpecialPrinting,orderedFullSetBlackBorderIdentifiers,setIdentifierToSetMappings,setToSetIdentifierMappings});
1
+ var A=Object.defineProperty,ti=Object.defineProperties,ei=Object.getOwnPropertyDescriptor,ni=Object.getOwnPropertyDescriptors,ri=Object.getOwnPropertyNames,U=Object.getOwnPropertySymbols;var R=Object.prototype.hasOwnProperty,ai=Object.prototype.propertyIsEnumerable;var W=(r,a,s)=>a in r?A(r,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[a]=s,j=(r,a)=>{for(var s in a||(a={}))R.call(a,s)&&W(r,s,a[s]);if(U)for(var s of U(a))ai.call(a,s)&&W(r,s,a[s]);return r},V=(r,a)=>ti(r,ni(a));var oi=(r,a)=>{for(var s in a)A(r,s,{get:a[s],enumerable:!0})},li=(r,a,s,g)=>{if(a&&typeof a=="object"||typeof a=="function")for(let o of ri(a))!R.call(r,o)&&o!==s&&A(r,o,{get:()=>a[o],enumerable:!(g=ei(a,o))||g.enumerable});return r};var si=r=>li(A({},"__esModule",{value:!0}),r);var hi={};oi(hi,{Class:()=>S,Foiling:()=>N,Format:()=>$,Fusion:()=>q,Hero:()=>w,Keyword:()=>H,Rarity:()=>Y,Release:()=>Z,ReleaseEdition:()=>Q,Subtype:()=>X,Talent:()=>_,Treatment:()=>b,Type:()=>J,fullSetIdentifiers:()=>P,getDefaultPrinting:()=>Di,getPrint:()=>gi,getSpecialPrinting:()=>Bi,orderedFullSetBlackBorderIdentifiers:()=>mi,setIdentifierToSetMappings:()=>y,setToSetIdentifierMappings:()=>ci});module.exports=si(hi);var N=(g=>(g.C="Cold",g.G="Gold",g.R="Rainbow",g))(N||{}),b=(m=>(m.AB="Alternate Border",m.AA="Alternate Art",m.AT="Alternate Text",m.EA="Extended Art",m.FA="Full Art",m))(b||{}),S=(c=>(c.NotClassed="NotClassed",c.Generic="Generic",c.Adjudicator="Adjudicator",c.Assassin="Assassin",c.Bard="Bard",c.Brute="Brute",c.Guardian="Guardian",c.Illusionist="Illusionist",c.Mechanologist="Mechanologist",c.Merchant="Merchant",c.Ninja="Ninja",c.Ranger="Ranger",c.Runeblade="Runeblade",c.Shapeshifter="Shapeshifter",c.Warrior="Warrior",c.Wizard="Wizard",c))(S||{}),$=(B=>(B.Blitz="Blitz",B.BlitzLivingLegend="Blitz (Living Legend)",B.Clash="Clash",B.ClassicConstructed="Classic Constructed",B.ClassicConstructedLivingLegend="Classic Constructed (Living Legend)",B.Commoner="Commoner",B.Draft="Draft",B.Open="Open",B.Sealed="Sealed",B.UltimatePitFight="Ultimate Pit Fight",B))($||{}),q=(g=>(g.Earth="Earth",g.Ice="Ice",g.Lightning="Lightning",g))(q||{}),Y=(l=>(l.Token="Token",l.Common="Common",l.Rare="Rare",l.SuperRare="Super Rare",l.Majestic="Majestic",l.Marvel="Marvel",l.Legendary="Legendary",l.Fabled="Fabled",l.Promo="Promo",l))(Y||{}),Z=(n=>(n.ArcaneRising="Arcane Rising",n.BrightLights="Bright Lights",n.CrucibleOfWar="Crucible of War",n.DuskTillDawn="Dusk till Dawn",n.Dynasty="Dynasty",n.Everfest="Everfest",n.HeavyHitters="Heavy Hitters",n.HistoryPack1="History Pack 1",n.Monarch="Monarch",n.Outsiders="Outsiders",n.PartTheMistveil="Part the Mistveil",n.Rosetta="Rosetta",n.TalesOfAria="Tales of Aria",n.Uprising="Uprising",n.WelcomeToRathe="Welcome to Rathe",n.ArmoryDeckKayo="Armory Deck: Kayo",n.ArmoryDeckBoltyn="Armory Deck: Boltyn",n.ArakniBlitzDeck="Arakni Blitz Deck",n.AzaleaBlitzDeck="Azalea Blitz Deck",n.BenjiBlitzDeck="Benji Blitz Deck",n.BetsyBlitzDeck="Betsy Blitz Deck",n.BoltynBlitzDeck="Boltyn Blitz Deck",n.BriarBlitzDeck="Briar Blitz Deck",n.BravoBlitzDeck="Bravo Blitz Deck",n.ChaneBlitzDeck="Chane Blitz Deck",n.DromaiBlitzDeck="Dromai Blitz Deck",n.EnigmaBlitzDeck="Enigma Blitz Deck",n.FaiBlitzDeck="Fai Blitz Deck",n.KassaiBlitzDeck="Kassai Blitz Deck",n.KatsuBlitzDeck="Katsu Blitz Deck",n.KayoBlitzDeck="Kayo Blitz Deck",n.LeviaBlitzDeck="Levia Blitz Deck",n.LexiBlitzDeck="Lexi Blitz Deck",n.NuuBlitzDeck="Nuu Blitz Deck",n.OldhimBlitzDeck="Oldhim Blitz Deck",n.OlympiaBlitzDeck="Olympia Blitz Deck",n.PrismBlitzDeck="Prism Blitz Deck",n.RhinarBlitzDeck="Rhinar Blitz Deck",n.RiptideBlitzDeck="Riptide Blitz Deck",n.UzuriBlitzDeck="Uzuri Blitz Deck",n.VictorBlitzDeck="Victor Blitz Deck",n.ZenBlitzDeck="Zen Blitz Deck",n.DorintheaHeroDeck="Dorinthea Hero Deck",n.KatsuHeroDeck="Katsu Hero Deck",n.RhinarHeroDeck="Rhinar Hero Deck",n.ClassicBattlesRhinarDorinthea="Classic Battles: Rhinar vs Dorinthea",n.IraWelcomeDeck="Ira Welcome Deck",n.RoundTheTable="Round the Table",n.Promos="Promos",n))(Z||{}),Q=(o=>(o.Alpha="Alpha",o.First="First",o.Unlimited="Unlimited",o.Promo="Promo",o))(Q||{}),_=(l=>(l.Draconic="Draconic",l.Earth="Earth",l.Elemental="Elemental",l.Ice="Ice",l.Light="Light",l.Lightning="Lightning",l.Mystic="Mystic",l.Royal="Royal",l.Shadow="Shadow",l))(_||{}),J=(k=>(k.Action="Action",k.AttackReaction="Attack Reaction",k.Block="Block",k.DefenseReaction="Defense Reaction",k.DemiHero="Demi-Hero",k.Equipment="Equipment",k.Hero="Hero",k.Instant="Instant",k.Mentor="Mentor",k.Resource="Resource",k.Token="Token",k.Weapon="Weapon",k))(J||{}),X=(e=>(e.OneHanded="1H",e.TwoHanded="2H",e.Affliction="Affliction",e.Ally="Ally",e.Angel="Angel",e.Arms="Arms",e.Arrow="Arrow",e.Ash="Ash",e.Attack="Attack",e.Aura="Aura",e.Axe="Axe",e.Base="Base",e.Book="Book",e.Bow="Bow",e.Chest="Chest",e.Chi="Chi",e.Claw="Claw",e.Club="Club",e.Construct="Construct",e.Dagger="Dagger",e.Demon="Demon",e.Dragon="Dragon",e.Evo="Evo",e.Fiddle="Fiddle",e.Figment="Figment",e.Flail="Flail",e.Gem="Gem",e.Gun="Gun",e.Hammer="Hammer",e.Head="Head",e.Invocation="Invocation",e.Item="Item",e.Landmark="Landmark",e.Lute="Lute",e.Legs="Legs",e.NonAttack="Non-Attack",e.OffHand="Off-Hand",e.Orb="Orb",e.Pistol="Pistol",e.Quiver="Quiver",e.Rock="Rock",e.Shuriken="Shuriken",e.Scepter="Scepter",e.Scroll="Scroll",e.Scythe="Scythe",e.Song="Song",e.Staff="Staff",e.Sword="Sword",e.Trap="Trap",e.Wrench="Wrench",e.Young="Young",e))(X||{}),w=(t=>(t.Arakni="Arakni",t.Aurora="Aurora",t.Azalea="Azalea",t.Benji="Benji",t.Betsy="Betsy",t.Blaze="Blaze",t.Boltyn="Boltyn",t.Bravo="Bravo",t.Brevant="Brevant",t.Briar="Briar",t.Brutus="Brutus",t.Chane="Chane",t.Dash="Dash",t.DataDoll="Data Doll",t.Dorinthea="Dorinthea",t.Dromai="Dromai",t.Emperor="Emperor",t.Enigma="Enigma",t.Fai="Fai",t.Florian="Florian",t.GenisWotchuneed="Genis Wotchuneed",t.Ira="Ira",t.Iyslander="Iyslander",t.Kano="Kano",t.Kassai="Kassai",t.Katsu="Katsu",t.Kavdaen="Kavdaen",t.Kayo="Kayo",t.Levia="Levia",t.Lexi="Lexi",t.Maxx="Maxx",t.Melody="Melody",t.Nuu="Nuu",t.Oldhim="Oldhim",t.Olympia="Olympia",t.Oscilio="Oscilio",t.Prism="Prism",t.Rhinar="Rhinar",t.Riptide="Riptide",t.Ruudi="Ruu'di",t.Shiyana="Shiyana",t.Squizzy="Squizzy",t.Taipanis="Taipanis",t.Taylor="Taylor",t.Teklovossen="Teklovossen",t.Theryon="Theryon",t.Uzuri="Uzuri",t.Valda="Valda",t.Verdance="Verdance",t.Victor="Victor",t.Vynnset="Vynnset",t.Viserai="Viserai",t.Yorick="Yorick",t.Yoji="Yoji",t.Zen="Zen",t))(w||{}),H=(i=>(i.Ambush="Ambush",i.Amp="Amp",i.ArcaneBarrier="Arcane Barrier",i.Awaken="Awaken",i.Battleworn="Battleworn",i.BeatChest="Beat Chest",i.BladeBreak="Blade Break",i.BloodDebt="Blood Debt",i.Boost="Boost",i.Channel="Channel",i.Charge="Charge",i.Clash="Clash",i.Cloaked="Cloaked",i.Combo="Combo",i.Contract="Contract",i.Crank="Crank",i.Crush="Crush",i.Decompose="Decompose",i.Dominate="Dominate",i.Ephemeral="Ephemeral",i.Essence="Essence",i.EvoUpgrade="Evo Upgrade",i.Freeze="Freeze",i.Fusion="Fusion",i.Galvanize="Galvanize",i.GoAgain="Go again",i.Guardwell="Guardwell",i.Heave="Heave",i.Intimidate="Intimidate",i.Legendary="Legendary",i.Material="Material",i.Modular="Modular",i.Mirage="Mirage",i.Negate="Negate",i.Opt="Opt",i.Overpower="Overpower",i.Pairs="Pairs",i.Piercing="Piercing",i.Phantasm="Phantasm",i.Protect="Protect",i.Quell="Quell",i.Reload="Reload",i.Reprise="Reprise",i.RuneGate="Rune Gate",i.Rupture="Rupture",i.Scrap="Scrap",i.Solflare="Solflare",i.Specialization="Specialization",i.Spectra="Spectra",i.Spellvoid="Spellvoid",i.Stealth="Stealth",i.Surge="Surge",i.Temper="Temper",i.Tower="Tower",i.Transform="Transform",i.Transcend="Transcend",i.Universal="Universal",i.Unfreeze="Unfreeze",i.Unity="Unity",i.Wager="Wager",i.Ward="Ward",i))(H||{});var P={wtr:"Welcome to Rathe",arc:"Arcane Rising",cru:"Crucible of War",mon:"Monarch",ele:"Tales of Aria",evr:"Everfest","1hp":"History Pack 1",hp1:"History Pack 1",upr:"Uprising",dyn:"Dynasty",out:"Outsiders",dtd:"Dusk till Dawn",evo:"Bright Lights",hvy:"Heavy Hitters",mst:"Part the Mistveil",ros:"Rosetta"},y=V(j({},P),{ako:"Armory Deck: Kayo",asb:"Armory Deck: Boltyn",ara:"Arakni Blitz Deck",azl:"Azalea Blitz Deck",ben:"Benji Blitz Deck",bet:"Betsy Blitz Deck",bol:"Boltyn Blitz Deck",bri:"Briar Blitz Deck",bvo:"Bravo Blitz Deck",chn:"Chane Blitz Deck",dro:"Dromai Blitz Deck",eng:"Enigma Blitz Deck",fai:"Fai Blitz Deck",kat:"Katsu Blitz Deck",ksi:"Kassai Blitz Deck",kyo:"Kayo Blitz Deck",lev:"Levia Blitz Deck",lxi:"Lexi Blitz Deck",nuu:"Nuu Blitz Deck",old:"Oldhim Blitz Deck",ola:"Olympia Blitz Deck",psm:"Prism Blitz Deck",rip:"Riptide Blitz Deck",rnr:"Rhinar Blitz Deck",uzu:"Uzuri Blitz Deck",vic:"Victor Blitz Deck",zen:"Zen Blitz Deck",dvr:"Classic Battles: Rhinar vs Dorinthea",rvd:"Classic Battles: Rhinar vs Dorinthea",ira:"Ira Welcome Deck",tcc:"Round the Table",tea:"Dorinthea Hero Deck",ksu:"Katsu Hero Deck",rnr2:"Rhinar Hero Deck",fab:"Promos",her:"Promos",jdg:"Promos",lgs:"Promos",lss:"Promos",oxo:"Promos",xxx:"Promos",win:"Promos"}),C={};for(let[r,a]of Object.entries(y)){let s=C[a];s?s.push(r):C[a]=[r]}var ci=C;var di={"Rhinar Blitz Deck":"-Blitz"},gi=r=>{var D,l;let a=di[r.set]||"",s=`${r.identifier}${a}`,g=r.edition?`-${r.edition}`:"",o=r.foiling?`-${r.foiling}`:"",m=r.treatment?`-${r.treatment}`:"",f=(D=r.image)!=null&&D.toLowerCase().includes("back")?"-Back":"",h=(l=r.image)!=null&&l.toLowerCase().includes("_v3")?"-V3":"";return`${s}${g}${o}${m}${f}${h}`},mi=Object.keys(P).filter(r=>!r.toLowerCase().includes("hp")).reverse().map(r=>r.toUpperCase()),ki={"command-and-conquer-red":{print:"DYN000-Cold"},"cracked-bauble-yellow":{print:"LGS083-Cold"},"fate-foreseen-red":{print:"FAB024-Rainbow"},"pitfall-trap-yellow":{print:"LGS151-Rainbow"},quicken:{print:"EVO250"},"ravenous-rabble-red":{print:"FAB190-Rainbow-Extended Art"},"rockslide-trap-blue":{print:"LGS152-Rainbow"},"sigil-of-solace-red":{print:"FAB178-Rainbow-Extended Art"},"spectral-shield":{print:"MST158-Alternate Art-V3"},"tripwire-trap-red":{print:"LGS150-Rainbow"},"viserai-rune-blood":{print:"HER011-Cold"}},Bi=(r,a)=>{let{cardIdentifier:s}=r,g=Object.entries(ki).find(([o])=>o===s);if(g){let[,{print:o}]=g;return a.find(f=>f.print===o)||a[0]}else{let o,m,f,h,D,l,B,x,k,I,L,E,c,O,M,F,G,T;for(let d of a){let{edition:u,foiling:z,identifier:K,image:v,treatment:p}=d,ii=K.toLowerCase().includes("win");if(!!v&&!ii){if(o||(o=d),p==="Alternate Art")m=d;else if(p==="Alternate Border")f=d;else if(p==="Alternate Text")h=d;else if(p==="Extended Art")B=d,z==="Cold"&&(D=d),z||(k=d),u==="Promo"&&(I=d);else if(p==="Full Art"){x=d,z==="Cold"&&(l=d);break}v&&v.includes("_V2")&&(L=d),u==="Alpha"?E=d:u==="First"?c=d:u==="Promo"?O=d:u==="Unlimited"&&(M=d),z==="Cold"?(F=d,u==="Promo"&&(T=d)):z==="Gold"&&(G=d)}}return l||x||D||I||k||B||f||m||h||L||T||E||c||O||M||G||F||o}},fi={"command-and-conquer-red":{print:"ARC159-Unlimited"},"pitfall-trap-yellow":{print:"LGS151-Rainbow"},"rockslide-trap-blue":{print:"LGS152-Rainbow"},"spectral-shield":{print:"MST158"},"tripwire-trap-red":{print:"LGS150-Rainbow"}},Di=(r,a)=>{let{cardIdentifier:s}=r,g=Object.entries(fi).find(([o])=>o===s);if(g){let[,{print:o}]=g;return a.find(f=>f.print===o)||a[0]}else{let o,m;for(let f of a){let{edition:h,image:D,treatment:l}=f;if(!!D&&(o||(o=f),!m&&h!=="Promo"&&(m=f)),o&&m)break}return m||o||a[0]}};0&&(module.exports={Class,Foiling,Format,Fusion,Hero,Keyword,Rarity,Release,ReleaseEdition,Subtype,Talent,Treatment,Type,fullSetIdentifiers,getDefaultPrinting,getPrint,getSpecialPrinting,orderedFullSetBlackBorderIdentifiers,setIdentifierToSetMappings,setToSetIdentifierMappings});
@@ -124,6 +124,7 @@ export declare enum Release {
124
124
  Monarch = "Monarch",
125
125
  Outsiders = "Outsiders",
126
126
  PartTheMistveil = "Part the Mistveil",
127
+ Rosetta = "Rosetta",
127
128
  TalesOfAria = "Tales of Aria",
128
129
  Uprising = "Uprising",
129
130
  WelcomeToRathe = "Welcome to Rathe",
@@ -248,6 +249,7 @@ export declare enum Subtype {
248
249
  }
249
250
  export declare enum Hero {
250
251
  Arakni = "Arakni",
252
+ Aurora = "Aurora",
251
253
  Azalea = "Azalea",
252
254
  Benji = "Benji",
253
255
  Betsy = "Betsy",
@@ -265,6 +267,7 @@ export declare enum Hero {
265
267
  Emperor = "Emperor",
266
268
  Enigma = "Enigma",
267
269
  Fai = "Fai",
270
+ Florian = "Florian",
268
271
  GenisWotchuneed = "Genis Wotchuneed",
269
272
  Ira = "Ira",
270
273
  Iyslander = "Iyslander",
@@ -280,6 +283,7 @@ export declare enum Hero {
280
283
  Nuu = "Nuu",
281
284
  Oldhim = "Oldhim",
282
285
  Olympia = "Olympia",
286
+ Oscilio = "Oscilio",
283
287
  Prism = "Prism",
284
288
  Rhinar = "Rhinar",
285
289
  Riptide = "Riptide",
@@ -292,6 +296,7 @@ export declare enum Hero {
292
296
  Theryon = "Theryon",
293
297
  Uzuri = "Uzuri",
294
298
  Valda = "Valda",
299
+ Verdance = "Verdance",
295
300
  Victor = "Victor",
296
301
  Vynnset = "Vynnset",
297
302
  Viserai = "Viserai",
@@ -317,6 +322,7 @@ export declare enum Keyword {
317
322
  Contract = "Contract",
318
323
  Crank = "Crank",
319
324
  Crush = "Crush",
325
+ Decompose = "Decompose",
320
326
  Dominate = "Dominate",
321
327
  Ephemeral = "Ephemeral",
322
328
  Essence = "Essence",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@flesh-and-blood/types",
3
3
  "description": "TypeScript representations of Flesh and Blood card types",
4
- "version": "2.1.10",
4
+ "version": "2.1.20",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "sideEffects": false,
@@ -47,5 +47,5 @@
47
47
  "FAB",
48
48
  "FABTCG"
49
49
  ],
50
- "gitHead": "66669d276836f6735d795026bbe253c2eb2056b1"
50
+ "gitHead": "996d1583a8f1d67fd219e5ddfac2287b2daa4e89"
51
51
  }