@flesh-and-blood/types 2.1.18 → 2.1.22

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 W=Object.prototype.hasOwnProperty,ri=Object.prototype.propertyIsEnumerable;var U=(n,r,l)=>r in n?p(n,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[r]=l,j=(n,r)=>{for(var l in r||(r={}))W.call(r,l)&&U(n,l,r[l]);if(F)for(var l of F(r))ri.call(r,l)&&U(n,l,r[l]);return n},R=(n,r)=>ii(n,ei(r));var ai=(n,r)=>{for(var l in r)p(n,l,{get:r[l],enumerable:!0})},oi=(n,r,l,d)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of ni(r))!W.call(n,a)&&a!==l&&p(n,a,{get:()=>r[a],enumerable:!(d=ti(r,a))||d.enumerable});return n};var li=n=>oi(p({},"__esModule",{value:!0}),n);var Di={};ai(Di,{Class:()=>b,Foiling:()=>V,Format:()=>S,Fusion:()=>$,Hero:()=>X,Keyword:()=>w,Rarity:()=>q,Release:()=>Y,ReleaseEdition:()=>Z,Subtype:()=>J,Talent:()=>Q,Treatment:()=>N,Type:()=>_,fullSetIdentifiers:()=>A,getDefaultPrinting:()=>fi,getPrint:()=>di,getSpecialPrinting:()=>ki,orderedFullSetBlackBorderIdentifiers:()=>gi,setIdentifierToSetMappings:()=>H,setToSetIdentifierMappings:()=>ci});module.exports=li(Di);var V=(d=>(d.C="Cold",d.G="Gold",d.R="Rainbow",d))(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||{}),b=(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))(b||{}),S=(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))(S||{}),$=(d=>(d.Earth="Earth",d.Ice="Ice",d.Lightning="Lightning",d))($||{}),q=(o=>(o.Token="Token",o.Common="Common",o.Rare="Rare",o.SuperRare="Super Rare",o.Majestic="Majestic",o.Marvel="Marvel",o.Legendary="Legendary",o.Fabled="Fabled",o.Promo="Promo",o))(q||{}),Y=(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))(Y||{}),Z=(a=>(a.Alpha="Alpha",a.First="First",a.Unlimited="Unlimited",a.Promo="Promo",a))(Z||{}),Q=(o=>(o.Draconic="Draconic",o.Earth="Earth",o.Elemental="Elemental",o.Ice="Ice",o.Light="Light",o.Lightning="Lightning",o.Mystic="Mystic",o.Royal="Royal",o.Shadow="Shadow",o))(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 l=v[r];l?l.push(n):v[r]=[n]}var ci=v;var si={"Rhinar Blitz Deck":"-Blitz"},di=n=>{var f,o;let r=si[n.set]||"",l=`${n.identifier}${r}`,d=n.edition?`-${n.edition}`:"",a=n.foiling?`-${n.foiling}`:"",g=n.treatment?`-${n.treatment}`:"",B=(f=n.image)!=null&&f.toLowerCase().includes("back")?"-Back":"",D=(o=n.image)!=null&&o.toLowerCase().includes("_v3")?"-V3":"";return`${l}${d}${a}${g}${B}${D}`},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:l}=n,d=Object.entries(mi).find(([a])=>a===l);if(d){let[,{print:a}]=d;return r.find(B=>B.print===a)||r[0]}else{let a,g,B,D,f,o,k,C,m,x,I,L,c,E,O,M,G,T;for(let s of r){let{edition:h,foiling:u,identifier:y,image:P,treatment:z}=s,K=y.toLowerCase().includes("win");if(!!P&&!K){if(a||(a=s),z==="Alternate Art")g=s;else if(z==="Alternate Border")B=s;else if(z==="Alternate Text")D=s;else if(z==="Extended Art")k=s,u==="Cold"&&(f=s),u||(m=s),h==="Promo"&&(x=s);else if(z==="Full Art"){C=s,u==="Cold"&&(o=s);break}P&&P.includes("_V2")&&(I=s),h==="Alpha"?L=s:h==="First"?c=s:h==="Promo"?E=s:h==="Unlimited"&&(O=s),u==="Cold"?(M=s,h==="Promo"&&(T=s)):u==="Gold"&&(G=s)}}return o||C||f||x||m||k||B||g||D||I||T||L||c||E||O||G||M||a}},Bi={"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"}},fi=(n,r)=>{let{cardIdentifier:l}=n,d=Object.entries(Bi).find(([a])=>a===l);if(d){let[,{print:a}]=d;return r.find(B=>B.print===a)||r[0]}else{let a,g;for(let B of r){let{edition:D,image:f,treatment:o}=B;if(!!f&&(a||(a=B),!g&&D!=="Promo"&&(g=B)),a&&g)break}return g||a||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 p=Object.defineProperty,ti=Object.defineProperties,ei=Object.getOwnPropertyDescriptor,ni=Object.getOwnPropertyDescriptors,ri=Object.getOwnPropertyNames,U=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,ai=Object.prototype.propertyIsEnumerable;var W=(r,a,s)=>a in r?p(r,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[a]=s,S=(r,a)=>{for(var s in a||(a={}))j.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)p(r,s,{get:a[s],enumerable:!0})},li=(r,a,s,m)=>{if(a&&typeof a=="object"||typeof a=="function")for(let o of ri(a))!j.call(r,o)&&o!==s&&p(r,o,{get:()=>a[o],enumerable:!(m=ei(a,o))||m.enumerable});return r};var si=r=>li(p({},"__esModule",{value:!0}),r);var ui={};oi(ui,{Class:()=>b,Foiling:()=>R,Format:()=>$,Fusion:()=>q,Hero:()=>w,Keyword:()=>H,Rarity:()=>Y,Release:()=>Z,ReleaseEdition:()=>Q,Subtype:()=>X,Talent:()=>_,Treatment:()=>N,Type:()=>J,fullSetIdentifiers:()=>P,getDefaultPrinting:()=>fi,getPrint:()=>mi,getSpecialPrinting:()=>Bi,orderedFullSetBlackBorderIdentifiers:()=>gi,setIdentifierToSetMappings:()=>y,setToSetIdentifierMappings:()=>ci});module.exports=si(ui);var R=(m=>(m.C="Cold",m.G="Gold",m.R="Rainbow",m))(R||{}),N=(g=>(g.AB="Alternate Border",g.AA="Alternate Art",g.AT="Alternate Text",g.EA="Extended Art",g.FA="Full Art",g))(N||{}),b=(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))(b||{}),$=(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=(m=>(m.Earth="Earth",m.Ice="Ice",m.Lightning="Lightning",m))(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=(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.Rosetta="Rosetta",e.TalesOfAria="Tales of Aria",e.Uprising="Uprising",e.WelcomeToRathe="Welcome to Rathe",e.ArmoryDeckKayo="Armory Deck: Kayo",e.ArmoryDeckBoltyn="Armory Deck: Boltyn",e.ArmoryDeckAzalea="Armory Deck: Azalea",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.FirstStrikeAurora="1st Strike: Aurora",e.FirstStrikeTerra="1st Strike: Terra",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))(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=(n=>(n.OneHanded="1H",n.TwoHanded="2H",n.Affliction="Affliction",n.Ally="Ally",n.Angel="Angel",n.Arms="Arms",n.Arrow="Arrow",n.Ash="Ash",n.Attack="Attack",n.Aura="Aura",n.Axe="Axe",n.Base="Base",n.Book="Book",n.Bow="Bow",n.Chest="Chest",n.Chi="Chi",n.Claw="Claw",n.Club="Club",n.Construct="Construct",n.Dagger="Dagger",n.Demon="Demon",n.Dragon="Dragon",n.Evo="Evo",n.Fiddle="Fiddle",n.Figment="Figment",n.Flail="Flail",n.Gem="Gem",n.Gun="Gun",n.Hammer="Hammer",n.Head="Head",n.Invocation="Invocation",n.Item="Item",n.Landmark="Landmark",n.Lute="Lute",n.Legs="Legs",n.NonAttack="Non-Attack",n.OffHand="Off-Hand",n.Orb="Orb",n.Pistol="Pistol",n.Quiver="Quiver",n.Rock="Rock",n.Shuriken="Shuriken",n.Scepter="Scepter",n.Scroll="Scroll",n.Scythe="Scythe",n.Song="Song",n.Staff="Staff",n.Sword="Sword",n.Trap="Trap",n.Wrench="Wrench",n.Young="Young",n))(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(S({},P),{ako:"Armory Deck: Kayo",asb:"Armory Deck: Boltyn",aaz:"Armory Deck: Azalea",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",aur:"1st Strike: Aurora",ter:"1st Strike: Terra",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"},mi=r=>{var f,l;let a=di[r.set]||"",s=`${r.identifier}${a}`,m=r.edition?`-${r.edition}`:"",o=r.foiling?`-${r.foiling}`:"",g=r.treatment?`-${r.treatment}`:"",D=(f=r.image)!=null&&f.toLowerCase().includes("back")?"-Back":"",u=(l=r.image)!=null&&l.toLowerCase().includes("_v3")?"-V3":"";return`${s}${m}${o}${g}${D}${u}`},gi=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,m=Object.entries(ki).find(([o])=>o===s);if(m){let[,{print:o}]=m;return a.find(D=>D.print===o)||a[0]}else{let o,g,D,u,f,l,B,x,k,I,L,E,c,O,M,F,T,G;for(let d of a){let{edition:h,foiling:z,identifier:K,image:v,treatment:A}=d,ii=K.toLowerCase().includes("win");if(!!v&&!ii){if(o||(o=d),A==="Alternate Art")g=d;else if(A==="Alternate Border")D=d;else if(A==="Alternate Text")u=d;else if(A==="Extended Art")B=d,z==="Cold"&&(f=d),z||(k=d),h==="Promo"&&(I=d);else if(A==="Full Art"){x=d,z==="Cold"&&(l=d);break}v&&v.includes("_V2")&&(L=d),h==="Alpha"?E=d:h==="First"?c=d:h==="Promo"?O=d:h==="Unlimited"&&(M=d),z==="Cold"?(F=d,h==="Promo"&&(G=d)):z==="Gold"&&(T=d)}}return l||x||f||I||k||B||D||g||u||L||G||E||c||O||M||T||F||o}},Di={"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"}},fi=(r,a)=>{let{cardIdentifier:s}=r,m=Object.entries(Di).find(([o])=>o===s);if(m){let[,{print:o}]=m;return a.find(D=>D.print===o)||a[0]}else{let o,g;for(let D of a){let{edition:u,image:f,treatment:l}=D;if(!!f&&(o||(o=D),!g&&u!=="Promo"&&(g=D)),o&&g)break}return g||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,11 +124,13 @@ 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",
130
131
  ArmoryDeckKayo = "Armory Deck: Kayo",
131
132
  ArmoryDeckBoltyn = "Armory Deck: Boltyn",
133
+ ArmoryDeckAzalea = "Armory Deck: Azalea",
132
134
  ArakniBlitzDeck = "Arakni Blitz Deck",
133
135
  AzaleaBlitzDeck = "Azalea Blitz Deck",
134
136
  BenjiBlitzDeck = "Benji Blitz Deck",
@@ -154,6 +156,8 @@ export declare enum Release {
154
156
  UzuriBlitzDeck = "Uzuri Blitz Deck",
155
157
  VictorBlitzDeck = "Victor Blitz Deck",
156
158
  ZenBlitzDeck = "Zen Blitz Deck",
159
+ FirstStrikeAurora = "1st Strike: Aurora",
160
+ FirstStrikeTerra = "1st Strike: Terra",
157
161
  DorintheaHeroDeck = "Dorinthea Hero Deck",
158
162
  KatsuHeroDeck = "Katsu Hero Deck",
159
163
  RhinarHeroDeck = "Rhinar Hero Deck",
@@ -248,6 +252,7 @@ export declare enum Subtype {
248
252
  }
249
253
  export declare enum Hero {
250
254
  Arakni = "Arakni",
255
+ Aurora = "Aurora",
251
256
  Azalea = "Azalea",
252
257
  Benji = "Benji",
253
258
  Betsy = "Betsy",
@@ -265,6 +270,7 @@ export declare enum Hero {
265
270
  Emperor = "Emperor",
266
271
  Enigma = "Enigma",
267
272
  Fai = "Fai",
273
+ Florian = "Florian",
268
274
  GenisWotchuneed = "Genis Wotchuneed",
269
275
  Ira = "Ira",
270
276
  Iyslander = "Iyslander",
@@ -280,6 +286,7 @@ export declare enum Hero {
280
286
  Nuu = "Nuu",
281
287
  Oldhim = "Oldhim",
282
288
  Olympia = "Olympia",
289
+ Oscilio = "Oscilio",
283
290
  Prism = "Prism",
284
291
  Rhinar = "Rhinar",
285
292
  Riptide = "Riptide",
@@ -292,6 +299,7 @@ export declare enum Hero {
292
299
  Theryon = "Theryon",
293
300
  Uzuri = "Uzuri",
294
301
  Valda = "Valda",
302
+ Verdance = "Verdance",
295
303
  Victor = "Victor",
296
304
  Vynnset = "Vynnset",
297
305
  Viserai = "Viserai",
@@ -317,6 +325,7 @@ export declare enum Keyword {
317
325
  Contract = "Contract",
318
326
  Crank = "Crank",
319
327
  Crush = "Crush",
328
+ Decompose = "Decompose",
320
329
  Dominate = "Dominate",
321
330
  Ephemeral = "Ephemeral",
322
331
  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.18",
4
+ "version": "2.1.22",
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": "f622f4cf7d26db0f5bac536f9da367ada4b45254"
50
+ "gitHead": "cff3205972ef84c877f7c33538e4dcf2efcab68f"
51
51
  }