PageSourceSearch

https://cdn.archidekt.com/_next/static/chunks/2721-3ca403e6921fc61a.js

js archidekt.com collected 2026-09-25 18:53:40 UTC 21,010 bytes, 4 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2721],{8393:e=>{e.exports={container:"cardComparison_container__b52NQ",comparisonCardContainer:"cardComparison_comparisonCardContainer__E_y7F",cardWrapper:"cardComparison_cardWrapper__WMHe_",card:"cardComparison_card__CfVM2",quantityTag:"cardComparison_quantityTag__iT89O",fields:"cardComparison_fields__j_tvr",dimmed:"cardComparison_dimmed__Pn82e",splotch:"cardComparison_splotch__uiuIY"}},21445:e=>{e.exports={flex:"diffControls_flex__3jcMF",controls:"diffControls_controls__vnvQ0",applyContainer:"diffControls_applyContainer__QvZ38",swapDecks:"diffControls_swapDecks__okGy0",boardInclusions:"diffControls_boardInclusions__4URtJ",dropdownMenu:"diffControls_dropdownMenu__Nx0GX",typesMenu:"diffControls_typesMenu__db29h",applyButton:"diffControls_applyButton__bwfSi",spacer:"diffControls_spacer__USE1I"}},46704:(e,a,t)=>{"use strict";t.d(a,{A:()=>r});var n=t(75038),s=t(15918),o=t(40120),l=t(58542),c=t.n(l);let r=({name:e,nameExtras:a="",children:t,className:l="",defaultCollapsed:r})=>{let d=e.replace(/\s/g,""),[{[d]:i=`${!r}`},m]=(0,s.A)([d]),p="true"===i,h=()=>m(d,!p);return(0,n.jsxs)("div",{className:`${c().container} ${p?l:""}`,children:[p&&(0,n.jsx)("button",{title:"Minimize",className:c().minimizeButton,onClick:h,children:(0,n.jsx)(o.A,{name:"window minimize"})}),!p&&(0,n.jsxs)("button",{title:"Expand",onClick:h,className:c().expandButton,children:[(0,n.jsx)("span",{children:"Expand section"}),(0,n.jsx)(o.A,{className:c().maximizeIcon,name:"arrows alternate vertical"})]}),!p&&(0,n.jsxs)("h5",{className:c().minimizedName,children:[e," ",a]}),p&&t]})}},56893:e=>{e.exports={basicCard:"diffCard_basicCard__nYrVh",container:"diffCard_container__koWII",card:"diffCard_card__l8YA6",cardA:"diffCard_cardA__TpqLL",cardB:"diffCard_cardB__HZU94",controls:"diffCard_controls__2kwwi",dropdownMenu:"diffCard_dropdownMenu__4Gyse",button:"diffCard_button___TvCs",blue:"diffCard_blue__qEWj3",splotch:"diffCard_splotch__HV2rW",bSplotch:"diffCard_bSplotch__m6Crv",aSplotch:"diffCard_aSplotch__BLI8B",outdated:"diffCard_outdated__Y1eLX"}},58542:e=>{e.exports={flex:"collapsibleContentContainer_flex__yUqjU",container:"collapsibleContentContainer_
1container__Yr9kM",button:"collapsibleContentContainer_button__ceftJ",expandButton:"collapsibleContentContainer_expandButton__pf08J",minimizeButton:"collapsibleContentContainer_minimizeButton__9teee",maximizeIcon:"collapsibleContentContainer_maximizeIcon__lOqDL",minimizedName:"collapsibleContentContainer_minimizedName__TDoNy"}},74346:e=>{e.exports={flex:"compare_flex__QWRMt",deckNames:"compare_deckNames__KJrgS",container:"compare_container___oAmr",content:"compare_content__hNUW4",cardContainer:"compare_cardContainer__sZHGE",diffCardContainer:"compare_diffCardContainer__iSpEr",splotch:"compare_splotch__Bqppk",noMatchSplotch:"compare_noMatchSplotch__2TLwh",differentSplotch:"compare_differentSplotch__zkYhy",matchSplotch:"compare_matchSplotch__ScmQk",bSplotch:"compare_bSplotch__4xEsP",aSplotch:"compare_aSplotch__bGehp",clearDeck:"compare_clearDeck__g9Pt0",barContainer:"compare_barContainer__EFnD6",barLegend:"compare_barLegend__Qf2r5",bar:"compare_bar__clYw9",noMatchingBar:"compare_noMatchingBar__cSJz6",slightDiffBar:"compare_slightDiffBar__weycw",matchingBar:"compare_matchingBar__0cXor",sumPercent:"compare_sumPercent__AyRQO"}},82721:(e,a,t)=>{"use strict";t.r(a),t.d(a,{DECK_DELINEATOR:()=>en,SNAPSHOT_DELINEATOR:()=>es,__N_SSP:()=>et,default:()=>eo});var n=t(75038),s=t(76430),o=t(92910),l=t(88398),c=t.n(l),r=t(40120),d=t(98381),i=t(54072),m=t.n(i),p=t(77039),h=t.n(p),u=t(83480);let C={records:[],totalQuantity:0,totalEditions:[],totalFinishes:[],totalCustomCmc:[],totalCompanion:[],totalColorLabel:[],totalCategories:[]},_=["totalQuantity","totalEditions","totalFinishes","totalCustomCmc","totalCompanion","totalColorLabel","totalCategories"];function f(e){let a={};for(let t of e)t.cardId&&(a[t.oracleCardId]||(a[t.oracleCardId]=m()(C)),a[t.oracleCardId].records.push(t),a[t.oracleCardId].totalQuantity+=t.qty,a[t.oracleCardId].totalEditions.push(t.cardId),a[t.oracleCardId].totalFinishes.push(t.modifier),a[t.oracleCardId].totalCustomCmc.push(`${t.customCmc??null}`),a[t.oracleCardId].totalCompanion.push(`${t.companion??!1}`),a[t.oracleCardId].totalColorLabel.push(JSON.stringify(t.colorLabel)),a[t.oracleCardId].totalCategories.push(...t.categories));return a}function x(e,a){return(e.cardId||a.cardId)&&e.cardId?a.cardId?e.oracleCardId===a.oracleCardId?e.cardId>a.cardId?-1:1:e.oracleCardId>a.oracleCardId?-1:1:1:-1}function b(e,a){let t=e.records[0].name,n=a.records[0].name;return t===n?0:t>n?1:-1}var j=t(46704),k=t(75249),y=t(8682),A=t(68835),N=t(26975),g=t(64708),S=t(21445),I=t.n(S);let w=()=>{let e=(0,s.useRef)(null),a=(0,d.useRouter)(),{diffFields:t}=a.query,l="string"==typeof t?t?.split(","):_,[c,i]=(0,s.useState)(!!a.query.ignoreSideboard),[m,p]=(0,s.useState)(!!a.query.includeMaybeboards),[h,u]=(0,s.useState)(`${a.query.limitedCardType||""}`||void 0),[C,f]=(0,s.useState)(l.includes("totalQuantity")),[x,b]=(0,s.useState)(l.includes("totalEditions")),[S,w]=(0,s.useState)(l.includes("totalFinishes")),[B,v]=(0,s.useState)(l.includes("totalCustomCmc")),[$,D]=(0,s.use
1State)(l.includes("totalCompanion")),[L,M]=(0,s.useState)(l.includes("totalColorLabel")),[F,q]=(0,s.useState)(l.includes("totalCategories")),[E,Q]=(0,s.useState)(!1),O=e=>{u(e);let t={...a.query};e?t.limitedCardType=e:delete t.limitedCardType,T(t)},T=e=>{Q(!0),setTimeout(()=>{Q(!1),a.push({pathname:`${a.pathname}`,query:e},void 0,{shallow:!0})},1e3)},R=`/compare/${(0,g.p)({...a.query,one:a.query.two,two:a.query.one})}`;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(j.A,{name:"Diff Controls",children:[(0,n.jsxs)("div",{className:I().controls,children:[(0,n.jsx)(o.A,{className:I().swapDecks,href:R,children:(0,n.jsxs)(A.A,{children:["A ",(0,n.jsx)(r.A,{name:"exchange"})," B"]})}),(0,n.jsx)(y.A,{menuClassName:I().dropdownMenu,options:[{label:"Check all",onClick:()=>{f(!0),b(!0),w(!0),v(!0),D(!0),M(!0),q(!0)},icon:"check circle",noCloseOnClick:!0},{label:"Uncheck all",onClick:()=>{f(!1),b(!1),w(!1),v(!1),D(!1),M(!1),q(!1)},icon:"circle outline",noCloseOnClick:!0},{type:"spacer"},{type:"checkbox",checked:C,label:"Quantity",onChange:()=>f(!C)},{type:"checkbox",checked:x,label:"Printings",onChange:()=>b(!x)},{type:"checkbox",checked:S,label:"Finishes",onChange:()=>w(!S)},{type:"checkbox",checked:B,label:"Custom Cmc",onChange:()=>v(!B)},{type:"checkbox",checked:$,label:"Companion",onChange:()=>D(!$)},{type:"checkbox",checked:L,label:"Color Label",onChange:()=>M(!L)},{type:"checkbox",checked:F,label:"Categories",onChange:()=>q(!F)},{type:"spacer"},{type:"custom",className:I().applyContainer,customChild:(0,n.jsx)("button",{onClick:()=>{e?.current?.focus({});let t=[];C&&t.push("totalQuantity"),x&&t.push("totalEditions"),S&&t.push("totalFinishes"),B&&t.push("totalCustomCmc"),$&&t.push("totalCompanion"),L&&t.push("totalColorLabel"),F&&t.push("totalCategories"),T({...a.query,diffFields:t.join(",")})},className:I().applyButton,children:"Apply and Reload"})}],children:(0,n.jsxs)(A.A,{onClick:()=>null,children:[(0,n.jsx)(r.A,{name:"filter"})," Choose Compare Filters"]})})]}),(0,n.jsxs)("div",{className:I().controls,children:[(0,n.jsx)(y.A,{menuClassName:I().typesMenu,options:[{label:"All",onClick:()=>O(void 0)},{label:"Artifact",onClick:()=>O("Artifact")},{label:"Creature",onClick:()=>O("Creature")},{label:"Enchantment",onClick:()=>O("Enchantment")},{label:"Instant",onClick:()=>O("Instant")},{label:"Land",onClick:()=>O("Land")},{label:"Planeswalker",onClick:()=>O("Planeswalker")},{label:"Sorcery",onClick:()=>O("Sorcery")}],children:(0,n.jsxs)(A.A,{children:["Card types: ",h??"All"]})}),(0,n.jsxs)("span",{className:`${I().controls} ${I().boardInclusions}`,children:[(0,n.jsx)(N.A,{checked:c,onChange:()=>{i(!c);let e={...a.query};c?delete e.ignoreSideboard:e.ignoreSideboard="true",T(e)},label:"Ignore Sideboards"}),(0,n.jsx)(N.A,{checked:m,onChange:()=>{p(!m);let e={...a.query};m?delete e.includeMaybeboards:e.includeMaybeboards="true",T(e)},label:"Include Maybeboards"})]})]})]}),E?(0,n.jsx)(k.A,{}):(0,n.jsx)("span",{className:I().spacer}),(0,n.jsx)("button",{tabIndex:-1,ref:e,style:{position:"absolute",transform:"scale(0)",height:0,width:0}})]})};var B=t(79761),v=t(98419),$=t(15918),D=t(85785),L=t(41944),M=t(21159),F=t(60907),q=t(58721),E=t(10993),Q=t(92826),O=t(99364),T=t(39504),R=t(56893),P=t.n(R);let z=({card:e,deckA:a,otherDeck:t,className:o=""})=>{let[{tbId:l}]=(0,$.A)(["tbId"]),[c,d]=(0,s.useState)(!1),[i,m]=(0,s.useState)(!1),[p,h]=(0,s.use
1State)(!1),[u,C]=(0,s.useState)(e.owned),_=void 0!==a?a?P().cardA:P().cardB:"",f=l===`${t?.owner.id}`&&!t?.snapshotMeta,x=void 0===a||!f,b=a=>{if(!t)return;let n=a||(0,q.IB)(e);L.A.add(t.id,[{...e,colorLabel:{name:"",color:"#656565"},categories:[n]}]).then(()=>{d(!0),M.A.create(`${e.name} added to ${t.name}`,"Deck Differences","success")}).catch(()=>M.A.create(`Adding ${e.name} to ${t.name} failed.`))},j=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.A,{name:"arrow right"}),"Open card page"]}),k=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.A,{name:"address book"}),"Add to collection"]}),A=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.A,{name:"add"}),"Add to Mainboard"]}),N=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.A,{name:"add"}),"Add to Maybeboard"]}),g=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.A,{name:"add"}),"Add to Sideboard"]}),S=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.A,{name:"add"}),"Add to other deck"]}),I=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:a?P().bSplotch:P().aSplotch})," Deck ",a?"B":"A"]});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:`${_} ${P().container}  ${o}`,children:[(0,n.jsxs)("div",{className:P().card,children:[(0,n.jsx)(E.A,{card:e,className:P().basicCard}),l&&(0,n.jsx)(Q.A,{owned:u})]}),(0,n.jsx)("div",{className:P().controls,children:(0,n.jsx)(y.A,{menuClassName:P().dropdownMenu,options:[{type:"header",label:I,hidden:x},{label:A,onClick:()=>b(),hidden:x},{label:N,onClick:()=>b("Maybeboard"),hidden:x},{label:g,onClick:()=>b("Sideboard"),hidden:x}
1,{type:"spacer",hidden:x},{label:S,onClick:()=>m(!0)},{type:"spacer"},{label:j,to:(0,F.NM)(e)},{label:k,onClick:()=>h(!0)}],children:(0,n.jsx)("button",{className:`${P().button} ${P().blue}`,children:(0,n.jsx)(r.A,{name:"ellipsis vertical"})})})}),c&&(0,n.jsx)("div",{className:P().outdated,children:"Modified"})]}),(0,n.jsx)(T.A,{open:p,onClose:()=>h(!1),cardToAdd:e,onCardCreatedOrUpdated:a=>{C(a.card.uid===e.uid?D.yl.YES:D.yl.PRINTING)}}),(0,n.jsx)(O.A,{parentControlled:!0,card:e,open:i,onClose:()=>m(!1),onAdded:e=>{e===t?.name&&d(!0)}})]})};var W=t(8393),U=t.n(W);let Y=({diff:e,deckA:a,deckB:t})=>{let{aDiff:s,bDiff:o,differentFields:l}=e;return(0,n.jsxs)("div",{className:U().container,children:[(0,n.jsx)(J,{diffable:s,differentFields:l,deckA:!0,otherDeck:t}),(0,n.jsx)(J,{diffable:o,differentFields:l,deckA:!1,otherDeck:a})]})},J=({deckA:e,otherDeck:a,diffable:t,differentFields:o})=>{let l=t.records[0],{diffFields:c}=(0,d.useRouter)().query,r=c?c?.split(","):[],i=!c||r.includes("totalQuantity"),m=!c||r.includes("totalEditions"),p=!c||r.includes("totalFinishes"),h=!c||r.includes("totalCustomCmc"),u=!c||r.includes("totalCompanion"),C=!c||r.includes("totalColorLabel"),_=!c||r.includes("totalCategories"),f=t.totalQuantity,x=[...new Set(t.totalFinishes)].join(", "),b=[...new Set(t.totalCategories)].join(", "),j=[...new Set(t.totalCustomCmc.map(e=>"null"===e?"N/A":e))].join(", "),k=[...new Set(t.totalCompanion.map(e=>"true"===e?"Yes":"No"))].join(", "),y=[...new Set(t.totalEditions.map((e,a)=>`${t.records[a].setCode} (${t.records[a].collectorNumber})`))].join(", "),A=[...new Set(t.totalColorLabel.map(e=>e))].map(e=>JSON.parse(e));return(0,n.jsxs)("div",{className:U().comparisonCardContainer,children:[(0,n.jsxs)("div",{className:U().cardWrapper,children:[(0,n.jsx)(z,{className:U().card,deckA:e,card:l,otherDeck:a}),t.records.length>1&&(0,n.jsxs)("div",{className:U().quantityTag,children:["+",t.totalQuantity-l.qty]})]}),(0,n.jsxs)("div",{className:U().fields,children:[i&&(0,n.jsxs)("div",{className:`${!o.includes("totalQuantity")&&U().dimmed}`,children:["Quantity: ",f]}),p&&(0,n.jsxs)("div",{className:`${!o.includes("totalFinishes")&&U().dimmed}`,children:["Finish: ",x]}),m&&(0,n.jsxs)("div",{className:`${!o.includes("totalEditions")&&U().dimmed}`,children:["Printing: ",y]}),h&&(0,n.jsxs)("div",{className:`${!o.includes("totalCustomCmc")&&U().dimmed}`,children:["Custom CMC: ",j]}),u&&(0,n.jsxs)("div",{className:`${!o.includes("totalCompanion")&&U().dimmed}`,children:["Companion: ",k]}),C&&(0,n.jsxs)("div",{className:`${!o.includes("totalColorLabel")&&U().dimmed}`,children:["Color Label:"," ",A.map(({name:e,color:a},t)=>(0,n.jsxs)(s.Fragment,{children:[(0,n.jsx)(G,{name:e,color:a}),t===A.length-1?"":", "]},t))]}),_&&(0,n.jsxs)("div",{className:`${!o.includes("totalCategories")&&U().dimmed}`,children:["Categories: ",b]})]})]})},G=({name:e,color:a})=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:U().splotch,style:{backgroundColor:a}}),e||"Default"]});var H=t(24066),K=t(65718),V=t(83171),X=t.n(V);let Z=({name:e,listLength:a,defaultCollapsed:t,children:l,className:c=X().cardContainer,cards:r,skipQuantities:d,deckAName:i,deckBName:m,deckAId:p,deckBId:h,deckAIsDeck:u,deckBIsDeck:C})=>{let[_,f]=(0,s.useState)(!1),x=null,b=null;p&&void 0!==u&&r&&(x=(0,n.jsx)(o.A,{href:u?(0,K.cR)(p,i,{selectedOracleUidCards:r}):(0,K.n)(p,i,{selectedOracleUidCards:r}),children:"Open A with cards selected"})),h&&void 0!==C&&r&&(b=(0,n.jsx)(o.A,{href:C?(0,K.cR)(h,m,{selectedOracleUidCards:r}):(0,K.n)(h,m,{selectedOracleUidCards:r}),children:"Open B with cards selected"}));let k=e=>{if(!r)return;let a="";for(let t of r)a+=e?`${t.qty} ${t.name}
2`:`${t.name}
3`;try{navigator.clipboard.writeText(a),M.A.create("Card names copied","Deck Comparison","success")}catch{M.A.create("Failed to copy card names","Deck Comparison")}};return(0,n.jsxs)(j.A,{name:`${e} (${a})`,defaultCollapsed:t,className:X().collapsableContainer,children:[(0,n.jsxs)("div",{className:X().header,children:[(0,n.jsx)("h3",{className:X().headerName,children:`${e} (${a})`}),!!r&&(0,n.jsx)(y.A,{menuClassName:X().options,options:[{label:"Copy card names",onClick:()=>k(!1),icon:"copy"},{label:"Copy card names (qty)",onClick:()=>k(!0),icon:"copy",hidden:d},{type:"spacer"},{type:"extras",label:"View cards in decks",id:"id",icon:"external alternate",options:[{type:"custom",hidden:!x,customChild:x,className:X().deckLink},{type:"custom",hidden:!b,customChild:b,className:X().deckLink}]},{type:"spacer"},{label:"Buy cards",onClick:()=>f(!0),icon:"shopping cart"}]}),(0,n.jsxs)("div",{className:X().colorSplotches,children:[(0,n.jsxs)("span",{children:[(0,n.jsx)("span",{className:X().aSplotch}),i]}),(0,n.jsxs)("span",{children:[(0,n.jsx)("span",{className:X().bSplotch}),m]})]})]}),(0,n.jsx)("div",{className:c,children:l}),(0,n.jsx)(H.A,{open:_,onClose:()=>f(!1),preSelectedCards:r})]})};var ee=t(74346),ea=t.n(ee),et=!0;let en="d_",es="s_",eo=({deckOne:e,deckTwo:a})=>
3{let t,l,i,m,p,j,[k,y]=(0,s.useState)(e),[A,N]=(0,s.useState)(a),g=(0,d.useRouter)(),{ignoreSideboard:S,includeMaybeboards:I,limitedCardType:$}=g.query,D=`${g.query.one||""}`,L=`${g.query.two||""}`,M=!!D?.toLowerCase().startsWith(en),F=!!L?.toLowerCase().startsWith(en),q=!!D?.toLowerCase().startsWith(es),E=!!L?.toLowerCase().startsWith(es),Q="string"==typeof g.query.diffFields?g.query.diffFields?.split(","):_,O=k?.categories.reduce((e,a)=>({...e,[a.name]:a}),{}),T=A?.categories.reduce((e,a)=>({...e,[a.name]:a}),{}),R=(e,a)=>(!$||!!(e.types.includes(`${$}`)||e.front?.types.includes(`${$}`)||e.back?.types.includes(`${$}`)))&&(!S||"Sideboard"!==e.categories[0])&&(!a[e.categories[0]]||!!I||!!a[e.categories[0]]?.includedInDeck),{deckACardMap:P,deckBCardMap:W}=(t=(0,u.Bw)(k.cards),l=(0,u.Bw)(A.cards),{deckACardMap:t.reduce((e,a)=>({...e,[a.id]:a}),{}),deckBCardMap:l.reduce((e,a)=>({...e,[a.id]:a}),{})}),[U,J,G,H]=function(e,a,t=_){let n=[],s=[],o=[],l=[],c=f(e.sort(x)),r=f(a.sort(x));for(let e in c){let a=c[e];r[e]||n.push(a)}for(let e in r){let a=c[e],n=r[e];if(!a){s.push(n);continue}let d=[];for(let e of t){if("records"===e||!Object.keys(C).includes(e))continue;let t=a[e],s=n[e];if(!Array.isArray(t)||!Array.isArray(s)){t!==s&&d.push(e);continue}let o=t.length===s.length;o&&!h()(t,s)&&d.push(e),o||h()(new Set(t),new Set(s))||d.push(e)}let i={aDiff:a,bDiff:n,differentFields:d};d.length?l.push(i):o.push({aDiff:a,bDiff:n,differentFields:[]})}return[n,s,o,l]}(Object.values(P).filter(e=>R(e,O)),Object.values(W).filter(e=>R(e,T)),Q),[V,X,ee]=(i=[...U,...J].reduce((e,a)=>e+=a.totalQuantity,0),j=(m=G.reduce((e,a)=>(e+=a.aDiff.totalQuantity,e+=a.bDiff.totalQuantity),0))+i+(p=H.reduce((e,a)=>(e+=a.aDiff.totalQuantity,e+=a.bDiff.totalQuantity),0)),[m/=j,p/=j,i/=j]),et=[V,X,ee],eo=U.sort(b).map(e=>e.records[0].id),el=J.sort(b).map(e=>e.records[0].id),ec=H.sort((e,a)=>b(e.aDiff,a.aDiff)),er=G.sort((e,a)=>b(e.aDiff,a.aDiff)).map(e=>e.aDiff.records[0].id),ed=`A: ${k.name} ${q?"(Snapshot)":""}`,ei=`B: ${A.name} ${E?"(Snapshot)":""}`,em=`Archidekt compare - ${k.name} vs. ${A.name}`;return(0,n.jsxs)(B.A,{title:em,description:`Comparison between ${k.name} & ${A.name}`,children:[(0,n.jsxs)(c(),{children:[(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{name:"twitter:label1",content:"In A not B"}),(0,n.jsx)("meta",{name:"twitter:data1",content:`${eo.length}`}),(0,n.jsx)("meta",{name:"twitter:label1",content:"In B not A"}),(0,n.jsx)("meta",{name:"twitter:data2",content:`${el.length}`}),(0,n.jsx)("meta",{name:"twitter:label2",content:"Exact match"}),(0,n.jsx)("meta",{name:"twitter:data3",content:`${er.length}`}),(0,n.jsx)("meta",{name:"twitter:label3",content:"Similar"}),(0,n.jsx)("meta",{name:"twitter:data4",content:`${ec.length}`})]}),(0,n.jsx)(v.A,{title:"Deck Comparisons",src:"https://c1.scryfall.com/file/scryfall-cards/art_crop/front/f/5/f57bdaa1-ce8a-4103-8598-fee751e65a53.jpg?01",style:{height:200}}),(0,n.jsx)("div",{className:ea().container,children:(0,n.jsxs)("div",{className:ea().content,children:[(0,n.jsxs)("div",{className:ea().deckNames,children:[(0,n.jsxs)("span",{children:[(0,n.jsxs)(o.A,{href:M?(0,K.cR)(k.id,k.name):(0,K.n)(k.id,k.name),children:[(0,n.jsx)("span",{className:ea().aSplotch}),ed]}),(0,n.jsx)("button",{className:ea().clearDeck,onClick:()=>null,children:(0,n.jsx)(r.A,{name:"close"})})]}),(0,n.jsxs)("span",{children:[(0,n.jsxs)(o.A,{href:F?(0,K.cR)(A.id,A.name):(0,K.n)(A.id,A.name),children:[(0,n.jsx)("span",{className:ea().bSplotch}),ei]}),(0,n.jsx)("button",{className:ea().clearDeck,onClick:()=>null,children:(0,n.jsx)(r.A,{name:"close"})})]})]}),(0,n.jsxs)("div",{className:ea().barContainer,children:[!!(et[0]+et[1])&&(0,n.jsx)("div",{style:{flex:`${et[0]+et[1]}`},className:ea().matchingBar}),!!et[2]&&(0,n.jsx)("div",{style:{flex:`${et[2]}`},className:ea().noMatchingBar})]}),(0,n.jsxs)("div",{className:ea().barLegend,children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("span",{className:ea().matchSplotch})," Matching"," ",((et[0]+et[1])*100).toFixed(2)," %",(0,n.jsxs)("span",{className:ea().sumPercent,children:[" ","(",(100*et[0]).toFixed(2)," % Exact + ",(100*et[1]).toFixed(2)," % Similar)"]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("span",{className:ea().noMatchSplotch})," Not Matching ",(100*et[2]).toFixed(2)," %"]})]}),(0,n.jsx)(w,{}),(0,n.jsx)(Z,{deckAName:ed,deckBName:ei,cards:eo.map(e=>P[e]),deckAId:k.id,deckAIsDeck:M,name:"In A, not B",listLength:eo.length,defaultCollapsed:!eo.length,children:eo.map(e=>(0,n.jsx)(z,{deckA:!0,otherDeck:A,card:P[e]},e))}),(0,n.jsx)(Z,{deckAName:ed,deckBName:ei,cards:el.map(e=>W[e]),deckBId:A.id,deckBIsDeck:F,name:"In B, not A",listLength:el.length,defaultCollapsed:!el.length,children:el.map(e=>(0,n.jsx)(z,{deckA:!1,otherDeck:k,card:W[e]},e))}),(0,n.jsx)(Z,{deckAName:ed,deckBName:ei,name:"Exact Match",cards:er.map(e=>P[e]),deckAId:k.id,deckBId:A.id,deckAIsDeck:M,deckBIsDeck:F,listLength:er.length,defaultCollapsed:!0,children:er.map(e=>(0,n.jsx)(z,{card:P[e]},e))}),(0,n.jsx)(Z,{deckAName:ed,deckBName:ei,name:"Similar",listLength:ec.length,cards:ec.map(e=>e.aDiff.records[0]),deckAId:k.id,deckBId:A.id,deckAIsDeck:M,deckBIsDeck:F,skipQuantities:!0,defaultCollapsed:!ec.length,className:ea().diffCardContainer,children:ec.map((e,a)=>(0,n.jsx)(Y,{deckA:k,deckB:A,diff:e},a))})]})})]})}},83171:e=>
3{e.exports={flex:"contentBlock_flex__89yly",header:"contentBlock_header__oscuM",colorSplotches:"contentBlock_colorSplotches__BRC4G",collapsableContainer:"contentBlock_collapsableContainer__mm8_v",cardContainer:"contentBlock_cardContainer__c3Zmd",headerName:"contentBlock_headerName__dJMPI",splotch:"contentBlock_splotch__DDpnO",bSplotch:"contentBlock_bSplotch__ltNal",aSplotch:"contentBlock_aSplotch__owdKY",options:"contentBlock_options__RJfXL",deckLink:"contentBlock_deckLink__bHKpL"}}}]);
4//# sourceMappingURL=2721-3ca403e6921fc61a.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.