lorgg-v2-components 0.0.65 → 0.0.66
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.
|
@@ -876,6 +876,6 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
876
876
|
Teacher: J. Willough
|
|
877
877
|
Report: I am spiderbit on left forearm. Sydell claims a misunderstanding, but his smirk belies his innocence. He is ordered to two weeks additional chores (refectory)."
|
|
878
878
|
- Ravenbloom discipline card`,artistName:"Polar Engine",name:"Spell Slinger",cardCode:"06NX013",keywords:["Fearsome"],keywordRefs:["Fearsome"],spellSpeedRef:"",rarityRef:"Common",subtypes:["SPIDER"],subtypeRefs:["SPIDER"],supertype:"",typeRef:"Unit",collectible:!0,set:"Set6",createdAt:"2022-09-09",updatedAt:"2022-09-14"}}},Ane={class:"card-similar-cards"},sne=i.defineComponent({__name:"CardSimilarCards",props:ane,setup(e){const t=e;function n(a,A,s){if(a.length===10&&s<a[0].points)return;let o=0;for(;o<a.length&&a[o].points<s;)o++;a.splice(o,0,{cardCode:A,points:s}),a.length>10&&a.splice(0,1)}const r=i.computed(()=>{const a=[],A=jt().cardJsonObject;let s=0;for(const o in A){if(o===t.card.cardCode||t.card.collectible&&!A[o].collectible)continue;s=0;const l=A[o];for(const c of l.regionRefs)for(const u of t.card.regionRefs)c===u&&(s+=2);for(const c of l.subtypes)for(const u of t.card.subtypes)c===u&&(s+=2);for(const c of l.keywordRefs)for(const u of t.card.keywordRefs)c===u&&(s+=1);l.typeRef===t.card.typeRef&&(s+=3),l.rarityRef!=="None"&&l.rarityRef===t.card.rarityRef&&(s+=1),l.typeRef==="Unit"&&t.card.typeRef==="Unit"&&(s+=(9-Math.abs(l.attack-t.card.attack))/3,s+=(9-Math.abs(l.health-t.card.health))/3),s+=(12-Math.abs(l.cost-t.card.cost))/3,n(a,o,s)}return a.reverse().map(o=>jt().cardJsonObject[o.cardCode])});return(a,A)=>(i.openBlock(),i.createElementBlock("div",Ane,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(r.value,s=>(i.openBlock(),i.createBlock(ta,{key:s.cardCode,"card-prop":s,"is-root":!0},null,8,["card-prop"]))),128))]))}});const s3=N(sne,[["__scopeId","data-v-629c30ac"]]),ine={logoType:{type:String,required:!0,default:"logo-and-text"}},i3=e=>(i.pushScopeId("data-v-bb0b24b5"),e=e(),i.popScopeId(),e),one={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 862.33 136.654"},lne=i.createStaticVNode('<path d="M0 2.947h18.418V115.29h77.35v18.416H0Z" data-v-bb0b24b5></path><path d="M205.729 0a68.327 68.327 0 1 1-68.326 68.331A68.3 68.3 0 0 1 205.729 0Zm0 118.236a49.908 49.908 0 1 0-49.909-49.909 49.948 49.948 0 0 0 49.909 49.904Z" data-v-bb0b24b5></path><path d="M396.538 2.947a42.211 42.211 0 0 1 41.991 41.991 41.554 41.554 0 0 1-32.046 40.7l29.1 48.067H414.22l-28.363-46.962h-32.046v46.962h-18.416V68.326h39.413l-39.413-65.38Zm0 65.38a23.481 23.481 0 1 0 0-46.962h-28.73l28.363 46.962Z" data-v-bb0b24b5></path><path d="M495.266 115.291h18.418v18.416h-18.418Z" data-v-bb0b24b5></path><path d="M685.517 60.778v72.928h-18.418v-6.443a68.378 68.378 0 1 1 12.894-107.926l-12.894 13.076a49.909 49.909 0 1 0 0 71.827V79.192h-49.726V60.779Z" data-v-bb0b24b5></path><path d="M862.33 60.778v72.928h-18.417v-6.443a68.379 68.379 0 1 1 12.89-107.926l-12.89 13.076a49.909 49.909 0 1 0 0 71.827V79.192H794.19V60.779Z" data-v-bb0b24b5></path>',6),cne=[lne],une={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 926.43 201.096"},dne=i.createStaticVNode('<path d="M251.125 49.347h14.423v87.978h60.574v14.422h-75Z" data-v-bb0b24b5></path><path d="M412.235 47.039a53.507 53.507 0 1 1-53.508 53.507 53.487 53.487 0 0 1 53.508-53.507Zm0 92.592a39.084 39.084 0 1 0-39.085-39.084 39.115 39.115 0 0 0 39.085 39.084Z" data-v-bb0b24b5></path><path d="M561.66 49.347a33.056 33.056 0 0 1 32.884 32.884 32.542 32.542 0 0 1-25.1 31.873l22.787 37.642h-16.729l-22.212-36.777h-25.1v36.777h-14.422v-51.2h30.865l-30.865-51.2Zm0 51.2a18.388 18.388 0 1 0 0-36.776h-22.5l22.211 36.776Z" data-v-bb0b24b5></path><path d="M638.976 137.325h14.423v14.422h-14.423Z" data-v-bb0b24b5></path><path d="M787.964 94.635v57.111h-14.422V146.7a53.547 53.547 0 1 1 10.1-84.518l-10.1 10.24a39.084 39.084 0 1 0 0 56.248v-19.616h-38.939v-14.42Z" data-v-bb0b24b5></path><path d="M926.429 94.635v57.111h-14.423V146.7A53.548 53.548 0 1 1 922.1 62.182l-10.094 10.24a39.084 39.084 0 1 0 0 56.248v-19.616h-38.939v-14.42Z" data-v-bb0b24b5></path><path d="M100.548 0A100.548 100.548 0 0 1 201.1 100.548a98.177 98.177 0 0 1-3.633 26.46c-.011-.011-17.535 0-17.535 0s5.292-19.211 5.292-26.46a84.672 84.672 0 0 0-169.344 0c0 46.782 39.667 84.672 84.672 84.672s73.348-43.16 73.348-43.16h18.252A100.558 100.558 0 1 1 100.548 0Z" data-v-bb0b24b5></path><path d="M108.72 45.643c19.711 0 36.623 15.51 36.623 34.994 0 16.991-12.308 31.253-28.078 34.994l15.87 25.34h59.707s-4 7.623-11.509 11.243-18.271 3.238-18.271 3.238h-38.473l-24.415-39.821H72.097v39.821h-15.87V99.945h34.182l-34.182-54.3Zm0 54.3c11.2 0 20.753-8.242 20.753-19.307s-9.557-19.307-20.753-19.307H84.304l24.416 38.614Z" data-v-bb0b24b5></path>',8),fne=[dne],hne={key:2,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 201.1 201.12"},pne=i3(()=>i.createElementVNode("path",{d:"M100.548 0A100.548 100.548 0 0 1 201.1 100.548a98.177 98.177 0 0 1-3.633 26.46c-.011-.011-17.535 0-17.535 0s5.292-19.211 5.292-26.46a84.672 84.672 0 0 0-169.344 0c0 46.782 39.667 84.672 84.672 84.672s73.348-43.16 73.348-43.16h18.252A100.558 100.558 0 1 1 100.548 0Z"},null,-1)),gne=i3(()=>i.createElementVNode("path",{d:"M108.72 45.643c19.711 0 36.623 15.51 36.623 34.994 0 16.991-12.308 31.253-28.078 34.994l15.87 25.34h59.707s-4 7.623-11.509 11.243-18.271 3.238-18.271 3.238h-38.473l-24.415-39.821H72.097v39.821h-15.87V99.945h34.182l-34.182-54.3Zm0 54.3c11.2 0 20.753-8.242 20.753-19.307s-9.557-19.307-20.753-19.307H84.304l24.416 38.614Z"},null,-1)),mne=[pne,gne],vne=i.defineComponent({__name:"LogoIcon",props:ine,setup(e){const t=e;return(n,r)=>t.logoType==="text-only"?(i.openBlock(),i.createElementBlock("svg",one,cne)):t.logoType==="logo-and-text"?(i.openBlock(),i.createElementBlock("svg",une,fne)):(i.openBlock(),i.createElementBlock("svg",hne,mne))}});const $s=N(vne,[["__scopeId","data-v-bb0b24b5"]]),Bne={class:"dashboard-sign-up"},yne={class:"top"},wne={class:"subtitle"},bne={class:"fancy-button"},_ne=i.defineComponent({__name:"DashboardSignUp",setup(e){const{t}=se();return(n,r)=>(i.openBlock(),i.createElementBlock("div",Bne,[i.createElementVNode("div",yne,[i.createVNode($s,{"logo-type":"text-only",class:"logo-icon"}),i.createElementVNode("div",wne,i.toDisplayString(i.unref(t)("general.becomeTheMaster")),1)]),i.createElementVNode("div",bne,i.toDisplayString(i.unref(t)("general.signIn")),1)]))}});const o3=N(_ne,[["__scopeId","data-v-e398dd28"]]),Cne={deckCode:{type:String,required:!0,default:""},gameMode:{type:String,required:!0,default:""},gameType:{type:String,required:!0,default:""},isAttackingFirst:{type:Boolean,required:!0,default:!0},isVictory:{type:Boolean,required:!0,default:""},opponentDeckCode:{type:String,required:!0,default:""},opponentName:{type:String,required:!0,default:""},playedAt:{type:Date,required:!0,default:new Date}},Ene=e=>(i.pushScopeId("data-v-40345245"),e=e(),i.popScopeId(),e),kne={class:"match-item"},Sne=Ene(()=>i.createElementVNode("div",{class:"background-card"},null,-1)),xne=[Sne],Fne={class:"details"},Ine={class:"match-details"},Une={class:"game-type"},Qne={class:"time"},Tne={class:"opponent-details"},Dne={class:"main"},One={class:"container"},Lne={class:"container"},Mne=i.defineComponent({__name:"MatchItem",props:Cne,setup(e){const t=e,{t:n}=se(),r=i.inject(MA),a=i.computed(()=>St(t.deckCode)),A=i.computed(()=>St(t.opponentDeckCode)),s=i.computed(()=>[Ma(nn(a.value),a.value,1)[0],Ma(nn(A.value),A.value,1)[0]].map(o=>`https://lor.gg/storage/cards/banner/${o==null?void 0:o.cardCode}.png`));return(o,l)=>(i.openBlock(),i.createElementBlock("div",kne,[i.createElementVNode("div",{class:"background",style:i.normalizeStyle({"--background-image":`url(${s.value[0]})`})},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.value,c=>(i.openBlock(),i.createElementBlock("div",{key:c,class:"background-card-wrapper",style:i.normalizeStyle({"--background-image":`url(${c})`})},xne,4))),128))],4),i.createElementVNode("div",Fne,[i.createElementVNode("div",Ine,[i.createElementVNode("div",Une,i.toDisplayString(t.gameType),1),i.createElementVNode("div",Qne,i.toDisplayString(i.unref(r)(t.playedAt).fromNow()),1)]),i.createElementVNode("div",Tne,i.toDisplayString(t.opponentName),1)]),i.createElementVNode("div",Dne,[i.createElementVNode("div",One,[i.createVNode(ja,{class:"deck-highlight",deck:a.value},null,8,["deck"])]),i.createElementVNode("div",{class:"container results",style:i.normalizeStyle({color:t.isVictory?"var(--color-good)":"var(--color-bad)"})},i.toDisplayString(t.isVictory?i.unref(n)("general.victory"):i.unref(n)("general.defeat")),5),i.createElementVNode("div",Lne,[i.createVNode(ja,{class:"deck-highlight opponent",deck:A.value},null,8,["deck"])])])]))}});const l3=N(Mne,[["__scopeId","data-v-40345245"]]),Nne={players:{type:Array,required:!0,default:[]}},Pne={class:"leaderboard-top-10-region"},Hne=i.defineComponent({__name:"LeaderboardTop10Region",props:Nne,setup(e){const t=e;return(n,r)=>(i.openBlock(),i.createElementBlock("div",Pne,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(t.players,a=>(i.openBlock(),i.createBlock(dn,{key:a.user_id,"card-code-prop":a.selected_banner_card??void 0,color:a.selected_banner_color??"var(--color-background-2-rgb)","mana-number":a.rank+1,name:a.name,"quantity-number":a.lp,"ignore-card-item":!0},null,8,["card-code-prop","color","mana-number","name","quantity-number"]))),128))]))}});const zm=N(Hne,[["__scopeId","data-v-892efa10"]]),Rne={index:{type:Number,required:!0,default:0},change:{type:Number,required:!0,default:0},favorite_deck:{type:String,required:!0,default:""},lp:{type:Number,required:!0,default:0},matches:{type:Number,required:!0,default:0},name:{type:String,required:!0,default:""},rank:{type:Number,required:!0,default:0},selected_banner_card:{type:String,required:!1,default:null},selected_banner_color:{type:String,required:!1,default:null},server:{type:String,required:!0,default:"americas"},updated_at:{type:String,required:!0,default:""},user_id:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},shownColumns:{type:Object,required:!0,default:{player:!0,lp:!0,change:!0,wins:!0,matches:!0,winrate:!0,deck:!0}}},Vne={href:"/test",class:"wrapper"},Kne={class:"leaderboard-detail-row-background-wrapper"},$ne={class:"leaderboard-detail-row-background"},Wne={class:"leaderboard-detail-row wrapper"},Gne={key:1,class:"column-content"},zne={key:3,class:"column-content"},jne={key:4,class:"column-content"},Yne={key:6,class:"column-content deck-highlight-wrapper"},qne=i.defineComponent({__name:"LeaderboardDetailRow",props:Rne,setup(e){const t=e,n=i.computed(()=>t.selected_banner_card?["",`https://lor.gg/storage/cards/banner/${t.selected_banner_card}.png`]:[]),r=i.computed(()=>t.change===null||t.change===void 0?[]:t.change===0?["neutral"]:[t.change>0?"good":"bad"]);return(a,A)=>(i.openBlock(),i.createElementBlock("a",Vne,[i.createElementVNode("div",{class:"leaderboard-detail-row-wrapper wrapper",style:i.normalizeStyle({"--index":t.index})},[i.createElementVNode("div",Kne,[i.createElementVNode("div",$ne,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.value,s=>(i.openBlock(),i.createElementBlock("div",{key:s,class:"background-card",style:i.normalizeStyle({"--background-image":`url(${s})`})},null,4))),128))])]),i.createElementVNode("div",Wne,[t.shownColumns.player?(i.openBlock(),i.createElementBlock("div",{key:0,class:"column-content card-wrapper",onClick:A[0]||(A[0]=i.withModifiers(()=>{},["stop","prevent"]))},[i.createVNode(dn,{class:"card-slice-item","card-code-prop":t.selected_banner_card??void 0,color:t.selected_banner_color??"var(--color-background-2-rgb)","ignore-card-item":!0,"mana-number":t.rank,name:t.name,"maintain-aspect-ratio":!0},null,8,["card-code-prop","color","mana-number","name"])])):i.createCommentVNode("",!0),t.shownColumns.lp?(i.openBlock(),i.createElementBlock("div",Gne,i.toDisplayString(i.unref(Te)(t.lp)),1)):i.createCommentVNode("",!0),t.shownColumns.change?(i.openBlock(),i.createElementBlock("div",{key:2,class:i.normalizeClass(["column-content change",r.value])},[t.change!==null?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createVNode(i.unref(ze),{class:"icon",icon:"fa-chevron-down"}),i.createElementVNode("span",null,i.toDisplayString(t.change?i.unref(Te)(Math.abs(t.change)):""),1)],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode(" Test ")],64))],2)):i.createCommentVNode("",!0),t.shownColumns.wins?(i.openBlock(),i.createElementBlock("div",zne,i.toDisplayString(i.unref(Te)(t.wins)),1)):i.createCommentVNode("",!0),t.shownColumns.matches?(i.openBlock(),i.createElementBlock("div",jne,i.toDisplayString(i.unref(Te)(t.matches)),1)):i.createCommentVNode("",!0),t.shownColumns.winrate?(i.openBlock(),i.createElementBlock("div",{key:5,class:"column-content",style:i.normalizeStyle({color:`var(${i.unref(Jn)(t.wins/t.matches)})`})},i.toDisplayString(i.unref(Te)(t.wins/t.matches*100,1,3))+"% ",5)):i.createCommentVNode("",!0),t.shownColumns.deck?(i.openBlock(),i.createElementBlock("div",Yne,[i.createVNode(ja,{"deck-code":t.favorite_deck},null,8,["deck-code"])])):i.createCommentVNode("",!0)])],4)]))}});const jm=N(qne,[["__scopeId","data-v-1eabd397"]]),Xne={deckcode:{type:String,required:!0,default:""},type:{type:String,required:!0,default:"built"},wins:{type:Number,required:!1,default:0},matches:{type:Number,required:!1,default:0},deckId:{type:Number,required:!1,default:0},userName:{type:String,required:!1,default:""},userId:{type:Number,required:!1,default:0},deckName:{type:String,required:!1,default:""},updatedAt:{type:Date,required:!1,default:new Date}};const Jne={},Zne=e=>(i.pushScopeId("data-v-5b8e191d"),e=e(),i.popScopeId(),e),ere={xmlns:"http://www.w3.org/2000/svg",viewBox:"25.21 66.56 353.98 269.42"},tre=Zne(()=>i.createElementVNode("path",{"fill-rule":"evenodd",d:"M95 67.249c-9.442 3.237-27.165 14.29-35.055 21.862-11.985 11.504-13.495 17.449-8.521 33.553 2.884 9.338 3.125 12.31 1.653 20.336-.565 3.08-1.282 7.497-1.593 9.816-.654 4.859-1.507 6.968-3.167 7.827-3.347 1.731-6.07-.959-12.46-12.308-3.227-5.732-5.32-5.733-7.478-.002-2.901 7.705-4.229 34.074-2.178 43.267 2.612 11.708 12.146 22.248 23.887 26.408 8.91 3.158 11.435 5.049 14.233 10.662 8.79 17.627 7.541 23.49-4.121 19.348-1.98-.704-5.67-2.014-8.2-2.912-14.356-5.094-16.5 2.124-5.514 18.561 11.421 17.088 27.745 24.899 44.255 21.178 8.934-2.013 10.069-1.524 24.2 10.428 6.649 5.624 4.594 9.455-6.606 12.316-12.406 3.169-15.535 4.779-15.535 7.993 0 5.469 18.596 14.356 38.74 18.513l8.26 1.705 9.6-.008c15.176-.013 24.599-3.381 27.766-9.923 3.23-6.671-3.138-11.752-20.405-16.279-12.779-3.351-30.021-11.869-38.294-18.917-1.247-1.063-3.897-3.157-5.888-4.655-4.364-3.282-4.942-3.837-11.668-11.218-11.085-12.163-22.048-27.835-28.466-40.688-3.51-7.033-9.477-26.526-11.236-36.712-.456-2.64-1.19-6.571-1.631-8.736-2.292-11.243-2.558-44.967-.409-51.864 1.238-3.974 3.331-7.113 8.743-13.113 5.167-5.728 14.42-17.676 17.042-22.003C102.408 72.867 105.053 63.804 95 67.249m208.422.186c-3.908 3.908 15.994 38.934 31.232 54.965 10.996 11.569 10.723 10.583 10.696 38.6-.019 19.623-.295 24.066-1.963 31.6-.536 2.42-1.261 5.93-1.612 7.8-2.746 14.637-10.641 36.205-16.189 44.223-.904 1.308-3.281 4.807-5.282 7.777-10.021 14.873-21.298 27.434-32.304 35.985-8.729 6.78-14.267 10.233-24.2 15.088-5.783 2.826-8.281 3.691-18.309 6.339-18.029 4.761-23.977 11.711-16.463 19.235 10.208 10.222 41.826 8.98 67.937-2.669 18.937-8.448 18.603-13.956-1.126-18.585-11.879-2.787-13.761-6.768-6.284-13.29 10.684-9.318 15.331-11.406 22.045-9.904 19.751 4.416 38.64-5.948 49.204-26.999 7.093-14.133 2.492-17.531-14.547-10.743-14.009 5.581-15.808 2.355-8.334-14.948 3.515-8.137 5.055-9.639 13.261-12.938 12.256-4.926 18.075-9.526 22.289-17.62 5.112-9.82 6.884-21.96 4.955-33.951-.425-2.64-.978-6.6-1.229-8.8-1.713-15.016-5.073-17.902-10.183-8.747-8.477 15.19-14.387 14.824-15.445-.955-.217-3.244-.773-7.942-1.234-10.441-1.032-5.581-.845-7.054 2.093-16.489 4.123-13.244 3.044-19.481-4.99-28.827-11.239-13.075-39.907-29.817-44.018-25.706M154.939 85.232c-3.352.569-6.053 1.748-19.923 8.695-19.225 9.629-19.157 9.528-16.851 24.998.866 5.807 1.256 10.746 2.045 25.875.132 2.53.594 6.94 1.026 9.8.433 2.86 1.057 8.516 1.389 12.568.904 11.063 1.161 11.837 5.636 16.979 4.078 4.685 5.623 6.898 6.554 9.385 3.192 8.532 2.461 17.086-2.219 25.952-4.076 7.723-4.323 11.769-1.59 26.116.523 2.75 1.15 7.416 1.392 10.369.858 10.47 1.649 11.962 8.002 15.115 3.337 1.656 44.33 18.375 56 22.839 5.951 2.277 6.046 2.253 32.8-8.361 37.31-14.801 37.429-14.853 39.694-17.327 1.98-2.162 3.87-11.183 4.91-23.435.346-4.07.906-9.11 1.245-11.2.888-5.479.613-6.76-3.053-14.2-6.949-14.101-6.029-23.115 3.597-35.251 5.448-6.868 6.466-11.089 7.811-32.387.335-5.301.967-11.781 1.404-14.4.437-2.619.971-7.732 1.186-11.362.214-3.63.597-9.435.85-12.9.575-7.874.303-9.161-2.449-11.613-2.137-1.902-25.779-13.911-30.595-15.54L251 85l-47-.059c-25.85-.032-47.928.099-49.061.291m58.368 27.111c31.052 5.446 39.083 34.191 18.288 65.457-6.499 9.772-6.864 11.713-3.691 19.6.885 2.2 4.129 10.93 7.209 19.4 6.148 16.906 11.122 29.697 12.978 33.378C252.452 258.825 249.46 261 233.2 261c-15.701 0-17.591-1.169-15.554-9.621 1.257-5.212-1.044-13.36-9.338-33.066-3.593-8.535-8.291-9.515-11.759-2.453l-1.149 2.34v27.6l1.543 4.506c3.059 8.927 1.215 10.438-13.143 10.775-17.559.412-20.099-1.187-16.9-10.64l1.3-3.841V131l-1.322-3.6c-4.295-11.694-3.493-14.57 4.276-15.338 4.722-.467 39.199-.237 42.153.281m-15.188 22.413c-2.764 1.746-2.719 1.382-2.719 21.844 0 17.841.025 18.442.822 19.799 1.436 2.445 3.249 2.141 6.676-1.119 11.294-10.747 15.557-31.235 7.868-37.817-3.234-2.768-10.192-4.257-12.647-2.707"},null,-1)),nre=[tre];function rre(e,t){return i.openBlock(),i.createElementBlock("svg",ere,nre)}const Ym=N(Jne,[["render",rre],["__scopeId","data-v-5b8e191d"]]);const are={},Are=e=>(i.pushScopeId("data-v-5b6f3d5e"),e=e(),i.popScopeId(),e),sre={xmlns:"http://www.w3.org/2000/svg",viewBox:"58.93 70.36 282.28 264.88"},ire=Are(()=>i.createElementVNode("path",{"fill-rule":"evenodd",d:"M74.274 70.98C70.143 72.453 70 73.187 70 92.989c0 21.375-.191 20.705 7.953 27.937 2.556 2.269 6.54 5.914 8.854 8.1 2.315 2.186 5.915 5.497 8 7.359 2.086 1.861 5.953 5.468 8.593 8.015 2.64 2.547 6.42 5.963 8.4 7.591 1.98 1.628 5.94 5.133 8.8 7.788 2.86 2.654 7 6.432 9.2 8.395 2.2 1.962 5.98 5.503 8.4 7.868s6.59 6.158 9.268 8.429c4.882 4.142 12.716 11.282 23.838 21.729 3.28 3.08 7.792 7.123 10.028 8.985 2.236 1.861 5.776 5.021 7.866 7.021s5.69 5.329 8 7.396c2.31 2.068 6.81 6.22 10 9.226 3.19 3.007 7.69 7.081 10 9.053 21.285 18.171 21.513 18.953 9.193 31.537-11.486 11.732-11.469 11.443-1.589 26.173 10.712 15.973 10.896 15.947 20.619-2.991 11.834-23.052 13.416-25.365 25.434-37.203 11.725-11.549 16.26-14.348 43.754-26.997 11.527-5.303 11.173-7.25-3.018-16.595-15.492-10.2-15.171-10.208-26.226.594-13.433 13.125-12.533 13.445-37.919-13.489-3.986-4.229-12.558-13.143-19.048-19.807-6.49-6.665-13.69-14.274-16-16.909-2.31-2.635-9.78-10.466-16.6-17.402-6.82-6.936-15.279-15.667-18.799-19.402-3.519-3.734-11.46-11.95-17.645-18.256-6.186-6.306-13.297-13.768-15.802-16.581-20.002-22.467-26.5-28.126-33.898-29.522-4.553-.859-33.002-.901-35.382-.051m216.926.059c-7.757 1.18-15.308 7.452-32.457 26.961-2.998 3.41-10.947 11.813-17.664 18.674-18.498 18.89-18.283 16.816-3.329 32.126 5.05 5.17 11.341 11.83 13.981 14.8 10.629 11.958 10.819 11.943 25.898-2.122 3.206-2.991 7.616-6.926 9.8-8.745 2.184-1.819 6.041-5.312 8.571-7.763 4.366-4.231 7.244-6.886 21.639-19.97 13.379-12.161 12.447-9.635 12.278-33.282-.166-23.132 1.735-21.089-19.717-21.188-11.529-.052-16.118.07-19 .509M100.353 214.552c-2.773.991-20.47 12.72-22.081 14.635-1.619 1.924-1.444 3.394.643 5.394 1.846 1.768 16.397 9.364 26.085 13.616 11.889 5.218 13.609 6.491 26.829 19.866 11.076 11.206 10.481 10.327 20.611 30.449 11.967 23.77 11.22 23.54 22.788 7.024 10.227-14.603 10.258-13.976-1.248-25.724-10.551-10.773-10.909-12.12-5.142-19.314 4.67-5.824 3.236-8.817-9.202-19.218-2.55-2.132-6.976-6.088-9.836-8.791-8.553-8.083-10.094-8.421-16.842-3.693-6.031 4.224-8.258 3.44-18.406-6.477-8.442-8.25-10.183-9.202-14.199-7.767m-3.956 64.232c-2.342.689-4.018 2.019-10.527 8.355-3.778 3.678-8.94 8.499-11.47 10.715-7.557 6.617-12.117 11.625-13.871 15.235-4.825 9.931 1.8 21.016 12.924 21.628 6.239.343 9.298-1.455 19.527-11.475 3.971-3.89 9.903-9.585 13.182-12.657 13.369-12.524 13.444-13.102 3.039-23.437-7.544-7.493-10.098-9.161-12.804-8.364m203.369.571c-2.737 1.275-13.946 12.139-15.534 15.057-2.288 4.204-1.446 5.641 9.351 15.954 4.28 4.089 10.49 10.054 13.8 13.257 13.601 13.162 21.004 14.833 29.242 6.6 8.552-8.547 5.312-18.062-11.025-32.369-2.53-2.215-7.718-7.063-11.529-10.773-8.942-8.704-10.453-9.52-14.305-7.726"},null,-1)),ore=[ire];function lre(e,t){return i.openBlock(),i.createElementBlock("svg",sre,ore)}const qm=N(are,[["render",lre],["__scopeId","data-v-5b6f3d5e"]]);const cre={},ure=e=>(i.pushScopeId("data-v-81223df9"),e=e(),i.popScopeId(),e),dre={xmlns:"http://www.w3.org/2000/svg",viewBox:"5.25 32.41 384.35 392.23"},fre=ure(()=>i.createElementVNode("path",{"fill-rule":"evenodd",d:"M196.56 32.706c-.242.162-.643.68-.891 1.151-.464.882-6.181 23.37-7.663 30.143-2.029 9.277-13.207 54.007-16.187 64.776-2.401 8.677-2.227 10.411 1.102 11.036 2.465.462 8.894-4.762 13.798-11.212 1.004-1.32 2.566-3.21 3.473-4.2.906-.99 2.417-2.935 3.358-4.322 2.851-4.205 4.112-4.166 7.292.224.916 1.264 2.6 3.288 3.743 4.498 1.142 1.21 3.257 3.64 4.698 5.401 6.387 7.801 10.008 10.411 12.645 9.115 2.896-1.422 3.516 2.259-6.28-37.316-2.423-9.79-4.945-20.05-5.603-22.8-8.63-36.06-11.562-46.819-12.753-46.794-.161.003-.49.138-.732.3m-77.835 9.868c-4.03 2.43-9.532 6.24-14.703 10.181-9.024 6.878-10.169 7.804-13.417 10.853-1.763 1.654-4.015 3.621-5.005 4.371-.99.75-3.702 3.177-6.026 5.393-2.324 2.215-5.474 5.198-7 6.628-3.458 3.241-9.993 10.614-12.232 13.8-.928 1.32-2.79 3.75-4.139 5.4-1.349 1.65-3.548 4.53-4.888 6.4-1.34 1.87-2.926 3.85-3.524 4.4-.599.55-2.45 2.8-4.113 5-1.663 2.2-3.953 5.08-5.087 6.4-1.134 1.32-3.261 4.11-4.725 6.2-1.464 2.09-3.443 4.88-4.399 6.2-8.17 11.289-23.812 36.82-24.163 39.441-.282 2.099.484 2.895 3.842 3.991 24.399 7.967 28.64 32.858 8.613 50.547-4.2 3.71-4.802 4.749-4.005 6.917 1.139 3.094 4.592 10.511 5.944 12.767.771 1.285 2.411 4.317 3.645 6.737s3.462 6.311 4.95 8.646c1.489 2.336 3.697 5.821 4.907 7.746 7.683 12.222 15.624 23.335 21.97 30.748 1.666 1.947 4.165 4.917 5.552 6.6 3.393 4.116 18.291 19.067 22.278 22.357 1.76 1.452 4.28 3.669 5.6 4.926 3.052 2.907 14.983 11.823 22.898 17.112 3.353 2.241 7.313 5.202 8.8 6.581 1.486 1.378 4.005 3.554 5.597 4.836 1.592 1.282 3.752 3.43 4.8 4.774 1.048 1.344 3.54 4.161 5.538 6.259 5.088 5.343 11.547 13.615 14.195 18.181 5.189 8.946 7.369 7.129 5.539-4.618-.458-2.942-.98-6.518-1.161-7.948-.906-7.167-3.701-21.63-4.87-25.2-4.277-13.062-8.002-19.195-11.662-19.199-2.363-.002-5.716-2.286-11.474-7.815-1.65-1.585-4.08-3.663-5.4-4.619-3.099-2.244-19.447-18.69-23.229-23.367-1.601-1.98-4.093-4.95-5.536-6.6-7.749-8.854-11.713-14.165-20.9-28-2.557-3.85-5.634-8.44-6.837-10.2-5.081-7.431-6.634-10.061-11.099-18.794-2.586-5.056-5.616-10.546-6.735-12.2-2.255-3.333-6.408-12.086-7.014-14.781-.886-3.942 4.505-17.812 11.748-30.225 1.155-1.98 3.322-5.76 4.815-8.4 3.088-5.461 12.353-19.487 14.344-21.717.729-.816 2.922-3.643 4.874-6.283 4.239-5.731 12.608-16.065 16.623-20.525 2.06-2.289 2.639-4.032 4.337-13.06 1.059-5.628 4.403-17.624 6.027-21.615.626-1.54 2.075-5.23 3.219-8.2 1.145-2.97 2.752-6.75 3.572-8.4.82-1.65 2.428-5.16 3.571-7.8 1.144-2.64 2.587-5.61 3.206-6.6.619-.99 2.405-4.315 3.97-7.388 4.164-8.182 3.716-10.062-1.631-6.838m152.701-1.017c-.394.638.802 3.336 6.061 13.68 7.714 15.171 14.334 30.793 16.444 38.805.428 1.627 1.251 4.578 1.828 6.558.577 1.98 1.741 6.957 2.586 11.061 1.741 8.459 1.616 8.201 7.055 14.569 3.573 4.183 5.806 6.933 12.8 15.763 17.7 22.344 38.646 60.307 37.177 67.379-.676 3.251-8.705 20.112-15.157 31.828-5.617 10.199-23.977 36.675-29.818 43-.813.88-2.297 2.68-3.298 4-1.001 1.32-2.399 2.94-3.107 3.6-.707.66-2.331 2.55-3.608 4.2-2.713 3.505-27.938 28.771-31.236 31.286-1.235.943-3.395 2.69-4.8 3.883-3.642 3.095-5.699 4.303-7.862 4.618-2.822.411-3.4.977-5.808 5.693-5.426 10.628-7.737 19.106-9.9 36.32-.194 1.54-.629 4.211-.968 5.935-.693 3.535-.813 9.292-.225 10.839.813 2.137 2.274 1.116 6.546-4.574 1.239-1.65 3.164-4.08 4.277-5.4 1.114-1.32 3.412-4.11 5.106-6.2 7.458-9.199 18.47-19.652 26.23-24.899 20.895-14.128 42.028-32.329 55.15-47.501 1.998-2.31 4.673-5.28 5.945-6.6 3.106-3.225 9.323-11.242 16.556-21.349 10.726-14.987 23-38.069 23-43.251 0-1.421-.265-1.773-3.657-4.866-13.765-12.547-17.154-26-10.012-39.734 2.918-5.61 7.799-9.456 15.469-12.187 3.788-1.349 5.4-2.597 5.4-4.181 0-2.486-15.591-29.304-21.703-37.33-.964-1.266-2.992-4.102-4.507-6.302-3.233-4.697-12.836-17.271-16.037-21-1.228-1.43-5.14-5.903-8.693-9.939-3.553-4.037-7.9-9.063-9.66-11.17-6.962-8.333-21.833-22.69-29.55-28.528-2.007-1.519-6.922-5.237-10.921-8.262-11.116-8.41-16.153-11.28-17.103-9.744M179.2 51.341c-.55.296-3.07 1.762-5.6 3.259-2.53 1.498-7.39 4.339-10.8 6.313-3.41 1.975-7.46 4.406-9 5.403-1.54.997-6.847 4.239-11.794 7.206-15.808 9.481-31.025 19.992-33.345 23.033-1.987 2.605-3.944 11.726-2.958 13.789 1.055 2.209 2.118 1.698 11.097-5.333 19.356-15.157 31.76-23.788 34.211-23.805 1.433-.01 2.574 1.182 4.172 4.361 3.175 6.314 4.208 6.746 8.866 3.708 1.623-1.058 4.259-2.7 5.857-3.649 4.495-2.667 4.798-3.169 6.895-11.426.447-1.76 1.8-7.035 3.006-11.723 2.901-11.276 2.809-12.968-.607-11.136m34.667.526c-1.284 1.284 5.221 27.239 7.638 30.478.938 1.256 7.903 6.113 11.489 8.011 3.101 1.642 4.066 1.08 6.79-3.956 3.49-6.451 3.98-6.45 13.616.006 7.527 5.044 20.023 14.489 26.751 20.221 9.473 8.07 11.523 7.245 8.835-3.555-1.659-6.668-2.042-7.168-10.078-13.136-6.485-4.816-28.683-18.844-36.308-22.944-1.98-1.065-5.329-2.973-7.442-4.24-2.113-1.267-5.623-3.289-7.8-4.492-2.177-1.203-5.758-3.194-7.958-4.424-3.846-2.15-4.957-2.545-5.533-1.969m-66.528 42.131c-.473.191-2.293 1.395-4.044 2.675-1.75 1.28-5.216 3.767-7.702 5.527-15.252 10.8-20.061 14.74-30.518 25-7.651 7.506-10.953 11.189-16.78 18.709-1.488 1.92-3.502 4.491-4.476 5.713-1.563 1.962-6.305 8.602-12.875 18.026-8.992 12.898-21.491 35.511-21.525 38.94-.019 2.036 3.141 9.239 6.762 15.412.709 1.21 2.606 4.63 4.214 7.6 11.397 21.048 20.971 33.763 39.005 51.803 19.754 19.761 24.958 24.424 43.868 39.309 9.849 7.752 9.183 9.072 9.042-17.927-.125-24.038.191-22.035-3.762-23.789-1.495-.662-4.107-2.852-9.61-8.053-4.156-3.929-9.331-8.762-11.501-10.742-4.157-3.792-11.026-11.294-14.652-16.001-1.186-1.54-2.888-3.63-3.782-4.644-.894-1.015-2.767-3.535-4.162-5.6-1.86-2.755-3.274-4.326-5.305-5.893-5.021-3.876-15.634-18.493-17.185-23.669-1.028-3.43 6.996-14.13 20.767-27.694 7.562-7.448 8.393-7.601 12.523-2.294.939 1.207 3.069 3.647 4.733 5.422 1.664 1.775 3.892 4.25 4.951 5.5 2.585 3.051 3.779 3.1 7.712.317 4.055-2.87 16.785-15.892 17.142-17.536.331-1.521.569-.625-3.411-12.797-4.73-14.467-6.033-11.772 12.572-26.006 4.48-3.426 4.785-3.849 4.555-6.302-.189-2.012-4.81-13.623-7.882-19.804-.82-1.65-2.009-4.335-2.641-5.966-1.772-4.57-3.648-6.198-6.033-5.236m96.668.395c-.807.807-2.36 3.975-4.415 9.007-.629 1.54-2.336 5.5-3.793 8.8-6.848 15.511-6.888 14.52.812 19.977 8.955 6.347 14.589 11.497 14.589 13.337-.001.946-3.853 12.713-6.344 19.376-1.908 5.104-1.758 5.362 9.369 16.04 11.414 10.953 11.327 10.936 17.454 3.294 1.565-1.952 8.193-9.257 9.696-10.687 2.159-2.052 4.75-.516 12.425 7.366 14.713 15.111 20.166 22.564 19.029 26.01-.732 2.216-7.044 12.21-9.14 14.469-1.679 1.811-4.565 5.349-11.089 13.6-8.574 10.841-41.872 43.429-47.041 46.036-3.976 2.006-3.759.609-3.759 24.2 0 22.706-.039 22.382 2.721 22.382 1.569 0 2.82-.883 13.163-9.293 1.696-1.379 4.396-3.568 6-4.864 1.604-1.297 4.176-3.562 5.716-5.034 1.54-1.471 3.97-3.592 5.4-4.712 1.43-1.121 3.86-3.33 5.4-4.911 1.54-1.58 3.7-3.585 4.8-4.454 3.3-2.61 18.909-17.902 21.546-21.109 1.35-1.642 3.464-4.074 4.698-5.404 2.215-2.389 3.163-3.563 8.898-11.019 7.577-9.85 14.393-21.081 21.886-36.056 5.889-11.771 5.957-12.57 1.607-18.893-.659-.959-2.706-4.332-4.548-7.497-7.471-12.836-15.422-25.234-21.131-32.954-13.902-18.797-15.65-20.983-22.616-28.278-7.44-7.792-13.149-13.243-18.142-17.322-7.348-6.003-18.73-14.447-28.138-20.874-2.216-1.514-3.895-1.691-5.053-.533m-48.324 38.234c-.492.345-1.784 1.944-2.871 3.555-2.76 4.091-6.753 8.511-10.568 11.697-1.784 1.491-9.814 9.219-17.844 17.174-8.03 7.954-15.767 15.427-17.193 16.605-1.426 1.178-6.663 6.102-11.637 10.942-4.975 4.84-14.224 13.736-20.555 19.769-12.119 11.549-13.028 12.587-12.985 14.831.042 2.222.386 2.728 5.306 7.8 2.561 2.64 6.154 6.375 7.986 8.3 5.068 5.328 4.972 5.368 18.52-7.778 5.647-5.48 6.33-5.384 13.358 1.876 1.43 1.478 6.38 6.205 11 10.506s14.823 14.086 22.674 21.744c17.648 17.215 15.94 16.543 23.171 9.12 2.555-2.623 5.293-5.283 6.085-5.912 1.798-1.43 21.471-20.066 26.871-25.456 7.915-7.901 16.576-15.779 17.64-16.046 1.759-.441 3.27.704 10.693 8.098 8.234 8.203 9.025 8.556 11.835 5.279.787-.919 2.988-3.304 4.891-5.3 11.519-12.086 11.901-13.498 5.206-19.285-1.686-1.458-10.356-9.712-19.266-18.343-8.91-8.631-17.28-16.642-18.6-17.803-1.32-1.16-5.756-5.46-9.857-9.555-13.461-13.439-19.294-19.065-22.743-21.936-4.84-4.029-11.755-11.258-15.099-15.785-3.522-4.767-4.303-5.299-6.018-4.097m2.802 27.673c.335.385 1.442 2.328 2.46 4.318 1.977 3.863 6.153 8.307 16.146 17.182 2.23 1.98 5.461 5.196 7.181 7.146 1.721 1.951 4.658 4.92 6.528 6.597 13.563 12.168 15.184 14.028 14.195 16.285-.513 1.169-10.056 10.824-15.845 16.029-1.677 1.509-8.247 7.714-14.6 13.789-15.23 14.565-15.45 14.754-17.166 14.754-1.572 0-2.598-.881-16.275-13.988-4.24-4.063-12.901-12.339-19.247-18.392-11.302-10.781-12.662-12.29-12.662-14.049 0-.61 3.353-4.137 11.3-11.884 6.215-6.059 13.19-12.935 15.5-15.281 2.31-2.346 5.763-5.566 7.674-7.157 5.063-4.214 8.072-7.596 9.55-10.734 2.323-4.934 3.832-6.258 5.261-4.615m-2.368 9.95c-.265.113-1.38 1.408-2.476 2.878-1.977 2.648-14.1 14.843-18.559 18.667-1.275 1.094-5.46 5.272-9.3 9.285-7.641 7.986-7.921 8.488-6.192 11.11 1.133 1.72 37.333 37.449 37.81 37.319 1.004-.273 37.7-37.781 37.942-38.781.143-.59.087-1.526-.124-2.08-.428-1.128-12.115-13.671-14.262-15.309-.758-.578-6.175-6.02-12.038-12.095-10.112-10.476-11.405-11.586-12.801-10.994m2.203 16.313c1.773.925 21.6 21.18 21.9 22.373.147.585.144 1.553-.006 2.15-.348 1.389-22.144 23.394-23.007 23.23-.334-.064-5.602-5.183-11.707-11.376-14.563-14.772-14.98-10.815 3.09-29.282 7.377-7.538 8.003-7.995 9.73-7.095m-16.023 95.832c-1.603 1.261-15.227 23.557-15.633 25.583-.163.818.3 3.34 1.382 7.526.895 3.463 2.229 8.906 2.966 12.096 1.606 6.958 7.686 30.805 12.085 47.4 1.75 6.6 3.462 13.17 3.805 14.6 2.478 10.341 6.74 26.114 7.411 27.429.446.875 1.034 2.724 1.307 4.11.889 4.517 2.575 4.686 3.753.378.379-1.385 1.284-4.407 2.012-6.717.727-2.31 1.728-6 2.222-8.2.495-2.2 1.149-4.99 1.455-6.2 2.792-11.062 9.84-38.585 11.933-46.6 1.437-5.5 3.071-11.98 3.632-14.4.56-2.42 1.807-7.37 2.77-11 2.989-11.267 4.603-18.241 4.603-19.885 0-2.163-.932-3.846-9.589-17.315-1.485-2.31-3.156-5.01-3.714-6-2.806-4.983-5.381-4.588-10.137 1.555-2.771 3.579-3.209 4.54-3.962 8.681-2.699 14.846-3.756 15.117-6.183 1.582-1.658-9.245-8.484-17.481-12.118-14.623"},null,-1)),hre=[fre];function pre(e,t){return i.openBlock(),i.createElementBlock("svg",dre,hre)}const Xm=N(cre,[["render",pre],["__scopeId","data-v-81223df9"]]),gre=e=>(i.pushScopeId("data-v-bb1043c8"),e=e(),i.popScopeId(),e),mre={href:"/test/built-deck"},vre=gre(()=>i.createElementVNode("div",{class:"background"},null,-1)),Bre={class:"content"},yre={class:"format"},wre={class:"format-text"},bre={key:0,class:"details built"},_re={class:"title"},Cre={class:"extra-info"},Ere={href:"test/user"},kre={class:"info-time"},Sre={key:1,class:"details stats"},xre={class:"stat-column"},Fre={class:"descriptor"},Ire={class:"stat-column"},Ure={class:"number"},Qre={class:"descriptor"},Tre=i.defineComponent({__name:"DeckBlock",props:Xne,setup(e){const t=e,{t:n}=se(),r=i.inject(MA),a=i.computed(()=>St(t.deckcode)),A=i.computed(()=>nn(a.value)),s=i.computed(()=>Fu(A.value)),o=i.computed(()=>A.value.filter(d=>Ss(d))),l=i.computed(()=>{var d;return{"--background-image":`url(https://lor.gg/storage/cards/full-art/${(d=Ma(A.value,a.value,1)[0])==null?void 0:d.cardCode}.webp)`}}),c=i.computed(()=>mE(A.value)),u=i.computed(()=>c.value.map(d=>we().dataJson.formats[d]).filter(d=>d!==void 0).sort((d,f)=>d.order-f.order)[0]);return console.log(c.value),(d,f)=>{var h,p,m;return i.openBlock(),i.createElementBlock("a",mre,[i.createElementVNode("div",{class:"built-deck-preview",style:i.normalizeStyle(l.value)},[vre,i.createVNode(Dd,{class:"deck-highlight-eye icon","deck-code":t.deckcode,onClick:f[0]||(f[0]=i.withModifiers(()=>{},["stop","prevent"]))},null,8,["deck-code"]),i.createElementVNode("div",{class:"options-button icon",onClick:f[1]||(f[1]=i.withModifiers(()=>{},["stop","prevent"]))},[i.createVNode(i.unref(ze),{icon:"ellipsis-v"})]),i.createVNode(Wo,{class:"deck-highlight-regions deck-highlight-section",regions:s.value},null,8,["regions"]),i.createElementVNode("div",Bre,[i.createElementVNode("div",yre,[((h=u.value)==null?void 0:h.nameRef)===i.unref(fr).Eternal?(i.openBlock(),i.createBlock(Ym,{key:0,class:"format-icon"})):((p=u.value)==null?void 0:p.nameRef)===i.unref(fr).Standard?(i.openBlock(),i.createBlock(qm,{key:1,class:"format-icon"})):(i.openBlock(),i.createBlock(Xm,{key:2,class:"format-icon"})),i.createElementVNode("span",wre,i.toDisplayString((m=u.value)==null?void 0:m.name),1)]),i.createVNode(Go,{class:"deck-highlight-cards deck-highlight-section",cards:o.value},null,8,["cards"])]),t.type==="built"?(i.openBlock(),i.createElementBlock("div",bre,[i.createElementVNode("div",_re,i.toDisplayString(t.deckName),1),i.createElementVNode("div",Cre,[i.createElementVNode("div",{class:"info-user",onClick:f[2]||(f[2]=i.withModifiers(()=>{},["stop","prevent"]))},[i.createElementVNode("a",Ere,i.toDisplayString(t.userName),1)]),i.createElementVNode("div",kre,i.toDisplayString(i.unref(r)(t.updatedAt).fromNow()),1)])])):i.createCommentVNode("",!0),t.type==="stats"?(i.openBlock(),i.createElementBlock("div",Sre,[i.createElementVNode("div",xre,[i.createElementVNode("div",{class:"number",style:i.normalizeStyle({color:`var(${i.unref(Jn)(t.wins/t.matches)})`})},i.toDisplayString(i.unref(Te)(t.wins/t.matches*100,1,3))+"% ",5),i.createElementVNode("div",Fre,i.toDisplayString(i.unref(n)("general.winrate")),1)]),i.createElementVNode("div",Ire,[i.createElementVNode("div",Ure,i.toDisplayString(i.unref(Te)(t.matches,0,10)),1),i.createElementVNode("div",Qre,i.toDisplayString(i.unref(n)("general.matches")),1)])])):i.createCommentVNode("",!0)],4)])}}});const c3=N(Tre,[["__scopeId","data-v-bb1043c8"]]),Dre={headingItems:{type:Array,required:!0,default:[]}},Ore={class:"table-wrapper"},Lre={class:"table no-scrollbar"},Mre={class:"heading wrapper"},Nre=i.defineComponent({__name:"SmallTable",props:Dre,setup(e){const t=e;return(n,r)=>(i.openBlock(),i.createElementBlock("div",Ore,[i.createElementVNode("div",Lre,[i.createElementVNode("div",Mre,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(t.headingItems,a=>(i.openBlock(),i.createElementBlock("div",{key:a.title,class:"heading-cell column-content"},[i.createElementVNode("div",null,i.toDisplayString(a.title),1)]))),128)),i.renderSlot(n.$slots,"heading",{},void 0,!0)]),i.renderSlot(n.$slots,"default",{},void 0,!0)])]))}});const zA=N(Nre,[["__scopeId","data-v-20cc8387"]]),Pre={players:{type:Array,required:!0,default:[]}},Hre=e=>(i.pushScopeId("data-v-48a25357"),e=e(),i.popScopeId(),e),Rre={class:"leaderboard-top"},Vre=Hre(()=>i.createElementVNode("div",{class:"heading-background"},null,-1)),Kre={class:"heading-wrapper"},$re=i.defineComponent({__name:"LeaderboardTop",props:Pre,setup(e){const t=e,n=i.computed(()=>we().dataJson.servers.map(r=>t.players.filter(a=>a.server===r.nameRef).sort((a,A)=>a.rank-A.rank).slice(0,10)));return(r,a)=>(i.openBlock(),i.createElementBlock("div",Rre,[Vre,i.createElementVNode("div",Kre,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(we)().dataJson.servers,A=>(i.openBlock(),i.createElementBlock("div",{key:A.nameRef,class:"heading"},i.toDisplayString(A.name),1))),128))]),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.value,(A,s)=>(i.openBlock(),i.createElementBlock("div",{key:s,class:"top-10"},[i.createVNode(zm,{players:A},null,8,["players"])]))),128))]))}});const u3=N($re,[["__scopeId","data-v-48a25357"]]),Wre={flipped:{type:Boolean,required:!0,default:!0},cardCode:{type:String,required:!0,default:"01IO001"}},Gre={class:"card-item-3d"},zre=i.defineComponent({__name:"CardItem3d",props:Wre,setup(e){const t=e,n={ShadowIsles:"https://static.wikia.nocookie.net/leagueoflegends/images/b/bb/LoR_Shadow_Isles_Card_Back.png",BandleCity:"https://static.wikia.nocookie.net/leagueoflegends/images/c/c4/LoR_Bandle_City_Card_Back.png",Bilgewater:"https://static.wikia.nocookie.net/leagueoflegends/images/2/24/LoR_Bilgewater_Card_Back.png",Demacia:"https://static.wikia.nocookie.net/leagueoflegends/images/6/62/LoR_Demacia_Card_Back.png",Freljord:"https://static.wikia.nocookie.net/leagueoflegends/images/5/5e/LoR_Freljord_Card_Back.png",Ionia:"https://static.wikia.nocookie.net/leagueoflegends/images/3/3d/LoR_Ionia_Card_Back.png",Noxus:"https://static.wikia.nocookie.net/leagueoflegends/images/5/50/LoR_Noxus_Card_Back.png",PiltoverZaun:"https://static.wikia.nocookie.net/leagueoflegends/images/5/57/LoR_Piltover_Card_Back.png",Shurima:"https://static.wikia.nocookie.net/leagueoflegends/images/0/0c/LoR_Shurima_Card_Back.png",Targon:"https://static.wikia.nocookie.net/leagueoflegends/images/a/a6/LoR_Targon_Card_Back.png"},r=i.computed(()=>{const s=Oo(void 0,t.cardCode,!0);if(s.value===void 0)return{};const o=s.value.regionRefs[0];return{content:`url(${n[o]??"https://static.wikia.nocookie.net/leagueoflegends/images/2/2d/LoR_Summoner%27s_Rift_Order_Card_Back.png"})`}}),a=i.computed(()=>({"background-image":`url("https://lor.gg/storage/cards/card/en_us/${t.cardCode}.webp")`,"background-size":"cover"})),A=i.computed(()=>t.flipped?["flipped"]:[]);return(s,o)=>(i.openBlock(),i.createElementBlock("div",Gre,[i.createElementVNode("div",{class:i.normalizeClass(["card",A.value])},[i.createElementVNode("div",{class:"front face",style:i.normalizeStyle(r.value)},null,4),i.createElementVNode("div",{class:"back face",style:i.normalizeStyle(a.value)},null,4)],2)]))}});const Jm=N(zre,[["__scopeId","data-v-72e7b1ae"]]),jre=e=>(i.pushScopeId("data-v-580d1d32"),e=e(),i.popScopeId(),e),Yre={class:"card-lottery"},qre={class:"cards-container"},Xre={key:0,class:"bottom"},Jre={class:"slice"},Zre={class:"circle-slice-item-wrapper"},eae={class:"options"},tae={class:"primary-button"},nae={class:"primary-button"},rae=jre(()=>i.createElementVNode("span",null," (23) ",-1)),aae={class:"icon"},Aae={class:"circle-card-item-wrapper"},sae=i.defineComponent({__name:"CardLottery",setup(e){const t=Object.keys(jt().cardJsonObject),n=[],r=i.ref(null),a=i.computed(()=>r.value?{background:`url(https://lor.gg/storage/cards/full-art/${r.value}.webp)`,"background-position":"center","background-size":"cover"}:{});function A(o){r.value=o.cardCode.value,o.flipped.value=!0;for(const l of n)o!==l&&setTimeout(()=>{l.display.value=!1},1e3)}function s(){r.value=null,n.splice(0);for(let o=0;o<3;o++)n.push({flipped:i.ref(!1),display:i.ref(!0),cardCode:i.ref(t[Math.floor(Math.random()*t.length)])})}return s(),(o,l)=>{const c=i.resolveDirective("t");return i.openBlock(),i.createElementBlock("div",Yre,[i.createElementVNode("div",{class:"card-lottery-background",style:i.normalizeStyle(a.value)},null,4),i.createElementVNode("div",qre,[(i.openBlock(),i.createElementBlock(i.Fragment,null,i.renderList(n,(u,d)=>i.createElementVNode("div",{key:d,class:i.normalizeClass(["card-item-3d-wrapper",u.display.value?null:"hide"])},[i.createVNode(Jm,{flipped:u.flipped.value,"card-code":u.cardCode.value,onClick:f=>A(u)},null,8,["flipped","card-code","onClick"])],2)),64))]),r.value?(i.openBlock(),i.createElementBlock("div",Xre,[i.createElementVNode("div",Jre,[i.createElementVNode("div",Zre,[i.createVNode(dn,{color:"133, 133, 133",name:"Player","card-code-prop":r.value,"ignore-card-item":!0},null,8,["card-code-prop"])])]),i.createElementVNode("div",eae,[i.withDirectives(i.createElementVNode("button",tae,null,512),[[c,"cardLottery.setBanner"]]),i.withDirectives(i.createElementVNode("button",nae,null,512),[[c,"cardLottery.setIcon"]]),i.createElementVNode("button",{class:"primary-button",onClick:s},[i.withDirectives(i.createElementVNode("span",null,null,512),[[c,"cardLottery.openAnother"]]),rae])]),i.createElementVNode("div",aae,[i.createElementVNode("div",Aae,[i.createVNode(Ja,{color:"133, 133, 133","card-code-prop":r.value,"ignore-card-item":!0},null,8,["card-code-prop"])])])])):i.createCommentVNode("",!0)])}}});const d3=N(sae,[["__scopeId","data-v-580d1d32"]]),iae={bannerCardCode:{type:String,required:!0,default:""},bannerColor:{type:String,required:!0,default:""},iconCardCode:{type:String,required:!0,default:""},name:{type:String,required:!0,default:""},server:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1},premiumExpiration:{type:Date,required:!1,default:null},isPremiumRenewing:{type:Boolean,required:!0,default:!1}},oae={wins:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:2},cutout:{type:Number,required:!1,default:145}},Zm=i.defineComponent({__name:"WinrateDoughnutChart",props:oae,setup(e){const t=e,n=i.ref(null);Re.register(...eA);const r=i.computed(()=>({labels:["Wins","Losses"],datasets:[{data:[t.wins,t.matches-t.wins],backgroundColor:["#00adff","#ff5153"]}]})),a={cutout:t.cutout,elements:{arc:{borderWidth:0}},plugins:{legend:{display:!1},datalabels:{display:!1}}},A=[{id:"text",beforeDraw:function(s){const o=s.chartArea.width,l=s.chartArea.height,c=s.ctx;c.restore();const u=(l/100).toFixed(2);c.font=`bold ${u}em sans-serif`,c.textBaseline="middle";const d=s.data.datasets[0].data[0],f=s.data.datasets[0].data[1],h=(d/(d+f)*100).toFixed(2)+"%",p=Math.round((o-c.measureText(h).width)/2),m=l/2;d>f?c.fillStyle="#00adff":d<f?c.fillStyle="#ff5153":c.fillStyle="#ffffff",c.fillText(h,p,m),c.save()}}];return(s,o)=>(i.openBlock(),i.createBlock(i.unref(T_),{ref_key:"chart",ref:n,"chart-data":r.value,options:a,plugins:A},null,8,["chart-data"]))}}),lae={class:"dashboard-profile"},cae={class:"profile-banner"},uae=["src"],dae={class:"edit-banner"},fae={class:"profile-text"},hae={class:"profile-region"},pae={class:"profile-tiles"},gae={class:"profile-tile"},mae={class:"tile-content"},vae={class:"games-text"},Bae={class:"tile-text"},yae={class:"profile-tile"},wae={class:"chart-container"},bae={class:"tile-content"},_ae={class:"tile-text"},Cae={key:0,class:"profile-premium-expiration"},Eae={class:"profile-premium-expiration-time"},kae=i.defineComponent({__name:"DashboardProfile",props:iae,setup(e){const t=e,{t:n}=se(),r=i.inject(MA);return(a,A)=>{const s=i.resolveComponent("LocalizedLink");return i.openBlock(),i.createElementBlock("div",lae,[i.createElementVNode("div",cae,[i.createElementVNode("img",{alt:"Profile Banner",src:`https://lor.gg/storage/cards/banner/${t.bannerCardCode??"05BC160"}.png`,class:"profile-banner-img"},null,8,uae),i.createVNode(Ja,{"card-code-prop":t.iconCardCode??"05BC160","ignore-card-item":!0,"color-override":t.bannerColor},null,8,["card-code-prop","color-override"]),i.createElementVNode("div",dae,[i.createVNode(i.unref(ze),{icon:"pencil-alt"})])]),i.createElementVNode("div",fae,[i.createVNode(s,{to:{name:"profile"},class:"profile-name"},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(t.name),1)]),_:1}),i.createElementVNode("div",hae,i.toDisplayString(t.server),1)]),i.createElementVNode("div",pae,[i.createElementVNode("div",gae,[i.createElementVNode("div",mae,[i.createElementVNode("div",vae,i.toDisplayString(i.unref(Te)(t.matches,0,10)),1)]),i.createElementVNode("div",Bae,i.toDisplayString(i.unref(n)("general.gamesPlayed")),1)]),i.createElementVNode("div",yae,[i.createElementVNode("div",wae,[i.createElementVNode("div",bae,[i.createVNode(Zm,{matches:t.matches,wins:t.wins,cutout:30},null,8,["matches","wins"])])]),i.createElementVNode("div",_ae,i.toDisplayString(i.unref(n)("general.winrate")),1)])]),t.premiumExpiration?(i.openBlock(),i.createElementBlock("div",Cae,[i.createTextVNode(i.toDisplayString(i.unref(n)("general.premium"))+" "+i.toDisplayString(t.isPremiumRenewing?i.unref(n)("general.renews"):i.unref(n)("general.expires"))+" ",1),i.createElementVNode("b",Eae,i.toDisplayString(i.unref(r)(t.premiumExpiration).fromNow()),1)])):(i.openBlock(),i.createBlock(s,{key:1,to:{name:"premium"},class:"profile-premium fancy-button"},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(n)("general.getPremium")),1)]),_:1}))])}}});const f3=N(kae,[["__scopeId","data-v-1786a4dc"]]),Sae={data:{type:Array,required:!0,default:[]},type:{type:String,required:!0,default:"totalPlayers"},server:{type:String,required:!1}};function h3(e,t){const{t:n}=se();Re.register(GA),e.plugins||(e.plugins={}),e.plugins.annotation||(e.plugins.annotation={}),e.plugins.annotation.annotations=[];let r=new Date("1972-01-01"),a=new Date("3000-12-01");for(const s of t)s>r&&(r=s),s<a&&(a=s);const A=[];for(const s of we().dataJson.patches)new Date(s.startTime)<=r&&new Date(s.startTime)>=a&&A.push(s);for(const s of A)e.plugins.annotation.annotations.push({type:"line",xMin:s.startTime,xMax:s.startTime,borderColor:"rgba(255, 255, 255, 0.1)",borderDash:[10,5],borderWidth:1,label:{content:`${n("general.patch")} ${s.name}`,display:!0,position:"start",font:{weight:"normal"},backgroundColor:"rgba(0,0,0,0.2)"}})}const p3=i.defineComponent({__name:"LeaderboardChart",props:Sae,setup(e){const t=e,n=i.ref();Re.register(...eA),Re.register(GA);const r=i.computed(()=>t.data.slice().sort((s,o)=>+s.date-+o.date)),a=i.computed(()=>{let s;return t.type==="totalPlayers"?s=we().dataJson.servers.filter(o=>t.server===null?!0:o.nameRef===t.server).map(o=>({label:o.name,borderColor:v1(o.nameRef),data:r.value.filter(l=>l.server===o.nameRef).map(l=>l.players),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"})):s=r.value.reduce((o,l)=>o.includes(l.player)?o:[...o,l.player],[]).map(o=>({label:o.name,borderColor:v1(o.user_id),data:r.value.filter(l=>l.player.user_id===o.user_id).map(l=>t.type==="lp"?l.lp:l.rank),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"})),{labels:r.value.map(o=>o.date).filter((o,l,c)=>c.findIndex(u=>u.getTime()===o.getTime())===l),datasets:s}}),A={plugins:{legend:{display:!0},tooltip:{mode:"nearest",position:"nearest",axis:"x",intersect:!1},annotation:{annotations:[]},datalabels:{display:!1}},elements:{line:{tension:.25}},scales:{x:{type:"time",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"}}}};return h3(A,t.data.map(s=>s.date)),(s,o)=>(i.openBlock(),i.createBlock(i.unref(D_),{ref_key:"chart",ref:n,"chart-data":a.value,options:A},null,8,["chart-data"]))}}),xae={data:{type:Array,required:!0,default:[]},type:{type:Object,required:!0,default:"winrate"},baseline:{type:Number,required:!1,default:50}},g3=i.defineComponent({__name:"CardQuantityBarChart",props:xae,setup(e){const t=e,{t:n}=se(),r=i.ref();Re.register(...eA),Re.register(GA),Re.register(hd);const a=i.computed(()=>({labels:t.data.map(s=>s.quantity),datasets:[{backgroundColor:t.data.map(s=>s.wins*2>=s.matches?"rgba(0, 173, 255, 0.5)":"rgba(255, 81, 83, 0.5)"),borderWidth:0,borderRadius:9999,data:t.data.map(s=>t.type==="winrate"?s.wins/s.matches*100-t.baseline:s.matches)}]})),A={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{title(s){return`${n("general.quantity")}: ${s[0].label}`},label(s){return t.type==="winrate"?(s.dataset.data[s.dataIndex]+t.baseline).toFixed(2)+"%":s.dataset.data[s.dataIndex].toString()},footer(s){return[`${n("general.matches")}: ${t.data[s[0].dataIndex].matches}`,`${n("general.wins")}: ${t.data[s[0].dataIndex].wins}`]}}},datalabels:{display:!1}},scales:{y:{title:{display:!0,text:t.type==="winrate"?n("general.winrate"):n("general.matches")},ticks:{callback(s){return t.type==="winrate"?s+t.baseline+"%":s}}},x:{title:{display:!0,text:n("general.quantity")}}}};return(s,o)=>(i.openBlock(),i.createBlock(i.unref(td),{ref_key:"chart",ref:r,"chart-data":a.value,options:A},null,8,["chart-data"]))}}),Fae={data:{type:Array,required:!0,default:""}},m3=i.defineComponent({__name:"WinsLossesBarChart",props:Fae,setup(e){const t=e,{t:n}=se(),r=i.ref();Re.register(...eA),Re.register(GA),Re.register(hd);const a=i.computed(()=>typeof t.data[0].column!="string"),A=i.computed(()=>t.data.slice().sort((u,d)=>a.value?u.column.getTime()-d.column.getTime():u.column.localeCompare(d.column))),s=i.computed(()=>[...new Set(A.value.map(u=>u.column))]),o=i.computed(()=>({losses:A.value.map(u=>u.matches-u.wins),wins:A.value.map(u=>u.wins)})),l=i.computed(()=>({labels:s.value,datasets:Object.entries(o.value).map((u,d)=>({backgroundColor:u[0]==="wins"?`rgba(${so("--color-good-rgb")}, 0.5)`:`rgba(${so("--color-bad-rgb")}, 0.5)`,data:u[1],borderRadius:d===0?{topLeft:0,topRight:0,bottomLeft:10,bottomRight:10}:{topLeft:10,topRight:10,bottomLeft:0,bottomRight:0},borderSkipped:!1,label:n(`general.${u[0]}`),barPercentage:.5}))})),c={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{footer(u){if(u.length===0)return"";let d=0;const f=u[0].chart.data.datasets[1].data[u[0].dataIndex];for(let h=0;h<u[0].chart.data.datasets.length;h++)d+=u[0].chart.data.datasets[h].data[u[0].dataIndex];return`${n("general.total")}: ${d}
|
|
879
|
-
${n("general.winrate")}: ${Te(f/d*100,1,3)}%`}}},datalabels:{align:"end",anchor:"end",formatter(u,d){let f=0;for(let h=0;h<d.chart.data.datasets.length;h++)f+=d.chart.data.datasets[h].data[d.dataIndex];return f||""},display(u){return u.datasetIndex===u.chart.data.datasets.length-1}}},scales:{x:{type:a.value?"time":"category",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"},stacked:!0,grid:{display:!1}},y:{stacked:!0,grid:{display:!1},display:!0}}};return(u,d)=>(i.openBlock(),i.createBlock(i.unref(td),{ref_key:"chart",ref:r,"chart-data":l.value,options:c},null,8,["chart-data"]))}}),Iae={data:{type:Array,required:!0,default:[]},type:{type:String,required:!0,default:"winrate"},baseline:{type:Number,required:!1,default:50}},v3=i.defineComponent({__name:"RoundCardInfoBarChart",props:Iae,setup(e){const t=e,{t:n}=se(),r=i.ref();Re.register(...eA),Re.register(GA),Re.register(hd);const a=i.computed(()=>Object.values(cE(t.data,o=>o.copy))),A=i.computed(()=>({labels:Array.from(t.data.reduce((o,l)=>o.add(l.round),new Set)),datasets:a.value.map(o=>{var l;return{backgroundColor:o.map(c=>c.wins*2>=c.matches?"rgba(0, 173, 255, 0.5)":"rgba(255, 81, 83, 0.5)"),borderWidth:0,borderRadius:9999,data:o.map(c=>c.wins/c.matches*100-t.baseline),label:`${n("general.copy")} ${(l=o[0])==null?void 0:l.copy}`}})})),s={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!0},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{title(o){return`${n("general.round")}: ${o[0].label}`},label(o){return(o.dataset.data[o.dataIndex]+t.baseline).toFixed(2)+"%"},footer(o){const l=[];for(const c of a.value)c[o[0].dataIndex]!==void 0&&l.push(`${n("general.copy")} ${c[o[0].dataIndex].copy}`,`${n("general.matches")}: ${c[o[0].dataIndex].matches}`,`${n("general.wins")}: ${c[o[0].dataIndex].wins}`);return l}}},datalabels:{display:!1}},scales:{y:{title:{display:!0,text:n("general.winrate")},ticks:{callback(o){return o+t.baseline+"%"}}},x:{title:{display:!0,text:t.type==="drawn"?n("cards.roundDrawn"):n("cards.roundPlayed")}}}};return(o,l)=>(i.openBlock(),i.createBlock(i.unref(td),{ref_key:"chart",ref:r,"chart-data":A.value,options:s},null,8,["chart-data"]))}}),Uae={data:{type:Array,required:!0,default:[]},baseline:{type:Number,required:!1,default:50},type:{type:String,required:!0,default:"winrate"},yAxis:{type:String,required:!0,default:"date"}},B3=i.defineComponent({__name:"LineChart",props:Uae,setup(e){const t=e,{t:n}=se(),r=i.ref();Re.register(...eA),Re.register(GA);const a=i.computed(()=>({labels:t.data.map(o=>o.label),datasets:[{borderColor:"rgba(255, 255, 255, 0.1)",data:t.data.map(o=>o.totalMatches&&t.type==="playrate"?o.matches/(o.totalMatches??1)*100:o.winrate*100),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"},{pointBackgroundColor:"rgba(255, 255, 255, 0)",data:t.data.map(()=>t.baseline),borderColor:"rgba(0, 0, 0, 0.05)"}]})),A={plugins:{legend:{display:!1},tooltip:{mode:"nearest",position:"nearest",axis:"x",intersect:!1,filter:function(o){return o.datasetIndex===0},callbacks:{label(o){let l=o.dataset.label||"";return l&&(l+=": "),l+=o.parsed.y+"%",l},footer:o=>{let l="";return o[0].dataIndex!==null&&t.data[o[0].dataIndex].matches&&(l+=`${n("general.matches")}: ${t.data[o[0].dataIndex].matches}`),l}}},annotation:{annotations:[]},datalabels:{display:!1}},elements:{line:{tension:.25}},scales:{x:t.yAxis==="date"?{type:"time",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"}}:void 0}};t.yAxis==="date"&&h3(A,t.data.map(o=>o.label));const s=[{id:"chartGradient",beforeDraw:function(o){if(!o.scales.y)return;const l=o.ctx.createLinearGradient(0,0,0,o.height);if(l.addColorStop(0,"rgba(0, 173, 255, 0.25)"),t.type==="playrate"){l.addColorStop(1,"rgba(0, 173, 255, 0)"),o.config.data.datasets[0].fill={target:1,above:l},o.update();return}const c=o.scales.y,u=Math.max.apply(null,o.data.datasets[0].data),d=c.getPixelForValue(u),f=c.getPixelForValue(50),h=Math.min(Math.min.apply(null,o.data.datasets[0].data),50),p=c.getPixelForValue(h),m=Math.max(Math.min((f-d)/(p-d),1),0);l.addColorStop(Math.max(m-.08,0),"rgba(0, 173, 255, 0)");const y=o.ctx.createLinearGradient(0,0,0,o.height);y.addColorStop(m,"rgba(255, 81, 83, 0)"),y.addColorStop(1,"rgba(255, 81, 83, 0.25)"),o.config.data.datasets[0].fill={target:1,above:l,below:y},o.update()}}];return(o,l)=>(i.openBlock(),i.createBlock(i.unref(D_),{ref_key:"chart",ref:r,"chart-data":a.value,options:A,plugins:s},null,8,["chart-data"]))}}),Qae={deckRows:{type:Array,required:!0,default:[]}},Tae=i.defineComponent({__name:"BuiltDecksTable",props:Qae,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=i.ref([{id:"deck",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.deck")},{id:"name",isShown:!0,sortDirection:be.NEITHER,title:r("general.name")},{id:"updatedAt",isShown:!0,sortDirection:be.DOWN,title:r("general.updated")},{id:"createdAt",isShown:!0,sortDirection:be.NEITHER,title:r("general.created")},{id:"manaCurve",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.manaCurve")},{id:"cost",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.cost")}]);function A(s){const o=js(s,a);o&&t("sort-updated",o)}return(s,o)=>(i.openBlock(),i.createBlock(Xa,{class:"large-table","heading-items":a.value,onToggleSort:A},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.deckRows,(l,c)=>(i.openBlock(),i.createBlock(dl,{id:l.id,key:l.id,type:"built",deckcode:l.deckCode,name:l.name,"created-at":l.createdAt,"updated-at":l.updatedAt,index:c+2},null,8,["id","deckcode","name","created-at","updated-at","index"]))),128))]),_:1},8,["heading-items"]))}});const y3=N(Tae,[["__scopeId","data-v-d908953a"]]),Dae={regionNameRef:{type:String,required:!0,default:"01IO001"},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},Oae={class:"wrapper"},Lae={class:"champion-column column-content"},Mae={class:"matches-column column-content"},Nae=i.defineComponent({__name:"ProfileRegionRow",props:Dae,setup(e){const t=e,n=i.computed(()=>we().dataJson.regions.find(a=>a.nameRef===t.regionNameRef)),r=i.computed(()=>{var a;return`https://lor.gg/storage/cards/banner/${(a=n.value)==null?void 0:a.cardCode}.png`});return(a,A)=>{var s;return i.openBlock(),i.createElementBlock("div",{class:"profile-champion-row wrapper",style:i.normalizeStyle({"--index":t.index})},[i.createElementVNode("div",{class:"small-table-background",style:i.normalizeStyle({"--background-image":`url(${r.value})`})},null,4),i.createElementVNode("div",Oae,[i.createElementVNode("div",Lae,[i.createVNode($o,{"region-ref":t.regionNameRef},null,8,["region-ref"]),i.createElementVNode("span",null,i.toDisplayString((s=n.value)==null?void 0:s.name),1)]),i.createElementVNode("div",Mae,i.toDisplayString(i.unref(Te)(t.matches,0,10)),1),i.createElementVNode("div",{class:"winrate-column column-content",style:i.normalizeStyle({color:`var(${i.unref(Jn)(t.wins/t.matches)})`})},i.toDisplayString(i.unref(Te)(t.wins/t.matches*100,1,3))+"% ",5)])],4)}}});const e1=N(Nae,[["__scopeId","data-v-b3f363b1"]]),Pae={rows:{type:Array,required:!0,default:[]}},Hae=i.defineComponent({__name:"ProfileRegionTable",props:Pae,setup(e){const t=e,{t:n}=se(),r=[{title:n("general.regions"),id:"regions"},{title:n("general.matches"),id:"matches"},{title:n("general.winrate"),id:"winrate"}];return(a,A)=>(i.openBlock(),i.createBlock(zA,{class:"small-table","heading-items":r},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(t.rows,s=>(i.openBlock(),i.createBlock(e1,{key:s.regionNameRef,"region-name-ref":s.regionNameRef,matches:s.matches,wins:s.wins,index:s.index+2},null,8,["region-name-ref","matches","wins","index"]))),128))]),_:1}))}});const w3=N(Hae,[["__scopeId","data-v-2dae645c"]]),Rae={rows:{type:Array,required:!0,default:[]}},Vae={archetypeId:{type:Number,required:!0,default:0},deckCode:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},Kae={class:"wrapper"},$ae={class:"champion-column column-content"},Wae={class:"matches-column column-content"},Gae=i.defineComponent({__name:"ProfileArchetypeRow",props:Vae,setup(e){const t=e,n=i.computed(()=>St(t.deckCode)),r=i.computed(()=>nn(n.value)),a=i.computed(()=>{var A;return`https://lor.gg/storage/cards/banner/${(A=Ma(r.value,n.value,1)[0])==null?void 0:A.cardCode}.png`});return(A,s)=>(i.openBlock(),i.createElementBlock("div",{class:"profile-champion-row wrapper",style:i.normalizeStyle({"--index":t.index})},[i.createElementVNode("div",{class:"small-table-background",style:i.normalizeStyle({"--background-image":`url(${a.value})`})},null,4),i.createElementVNode("div",Kae,[i.createElementVNode("div",$ae,[i.createVNode(ja,{"deck-code":t.deckCode},null,8,["deck-code"])]),i.createElementVNode("div",Wae,i.toDisplayString(i.unref(Te)(t.matches,0,10)),1),i.createElementVNode("div",{class:"winrate-column column-content",style:i.normalizeStyle({color:`var(${i.unref(Jn)(t.wins/t.matches)})`})},i.toDisplayString(i.unref(Te)(t.wins/t.matches*100,1,3))+"% ",5)])],4))}});const t1=N(Gae,[["__scopeId","data-v-91ed15a8"]]),zae=i.defineComponent({__name:"ProfileArchetypeTable",props:Rae,setup(e){const t=e,{t:n}=se(),r=[{title:n("general.archetypes"),id:"archetypes"},{title:n("general.matches"),id:"matches"},{title:n("general.winrate"),id:"winrate"}];return(a,A)=>(i.openBlock(),i.createBlock(zA,{class:"small-table","heading-items":r},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(t.rows,s=>(i.openBlock(),i.createBlock(t1,{key:s.archetypeId,"archetype-id":s.archetypeId,"deck-code":s.deckCode,matches:s.matches,wins:s.wins,index:s.index+2},null,8,["archetype-id","deck-code","matches","wins","index"]))),128))]),_:1}))}});const b3=N(zae,[["__scopeId","data-v-f883a9d9"]]),jae={selectedRegion:{type:String,required:!0,default:null},selectedPlayers:{type:Array,required:!0,default:[]},selectedGraphOption:{type:String,required:!0,default:"totalPlayers"},players:{type:Array,required:!0,default:[]},updatedAt:{type:Number,required:!0,default:0},isGraphShown:{type:Boolean,required:!0,default:!1}},Yae={class:"leaderboard-options"},qae={class:"multiselects"},Xae={class:"details"},Jae={class:"players"},Zae={class:"updated"},eAe=i.defineComponent({__name:"LeaderboardOptions",props:jae,emits:["update:selectedPlayers","update:selectedRegion","update:selectedGraphOption"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=i.inject(MA),A=[{name:r("leaderboard.lp"),nameRef:"lp"},{name:r("leaderboard.rank"),nameRef:"rank"},{name:r("leaderboard.totalPlayers"),nameRef:"totalPlayers"}],s=i.ref(n.selectedRegion),o=i.ref(n.selectedPlayers),l=i.ref(n.selectedGraphOption),c=i.computed(()=>s.value===null?n.players:n.players.filter(u=>u.server===s.value));return i.watch(s,u=>{t("update:selectedRegion",u),t("update:selectedPlayers",[])}),i.watch(o,u=>{t("update:selectedPlayers",u)}),i.watch(l,u=>{t("update:selectedGraphOption",u)}),i.watch(()=>n.selectedPlayers,u=>{o.value=u}),i.watch(()=>n.selectedRegion,u=>{s.value=u}),i.watch(()=>n.selectedGraphOption,u=>{l.value=u}),i.watch(()=>n.isGraphShown,u=>{u&&o.value.length>0&&(l.value="lp")}),(u,d)=>(i.openBlock(),i.createElementBlock("div",Yae,[i.createElementVNode("div",qae,[i.createVNode(i.unref(Vt),{modelValue:o.value,"onUpdate:modelValue":d[0]||(d[0]=f=>o.value=f),placeholder:i.unref(r)("general.players"),mode:s.value?"tags":"disabled",options:c.value,searchable:!0,label:"name","value-prop":"user_id"},null,8,["modelValue","placeholder","mode","options"]),i.createVNode(i.unref(Vt),{modelValue:s.value,"onUpdate:modelValue":d[1]||(d[1]=f=>s.value=f),placeholder:i.unref(r)("general.server"),options:i.unref(we)().dataJson.servers,label:"name","value-prop":"nameRef"},null,8,["modelValue","placeholder","options"]),n.isGraphShown?(i.openBlock(),i.createBlock(i.unref(Vt),{key:0,modelValue:l.value,"onUpdate:modelValue":d[2]||(d[2]=f=>l.value=f),options:A,"can-clear":!1,label:"name","value-prop":"nameRef"},null,8,["modelValue"])):i.createCommentVNode("",!0)]),i.createElementVNode("div",Xae,[i.createElementVNode("div",Jae,[i.createTextVNode(i.toDisplayString(i.unref(r)("leaderboard.totalPlayers"))+": ",1),i.createElementVNode("span",null,i.toDisplayString(i.unref(Te)(c.value.length)),1)]),i.createElementVNode("div",Zae,[i.createTextVNode(i.toDisplayString(i.unref(r)("leaderboard.updated"))+": ",1),i.createElementVNode("span",null,i.toDisplayString(i.unref(a)(n.updatedAt*60*1e3).fromNow()),1)])])]))}});const _3=N(eAe,[["__scopeId","data-v-9d0b891b"]]),tAe={deckRows:{type:Array,required:!0,default:[]},originalDeckcode:{type:String,required:!0,default:""}},nAe=i.defineComponent({__name:"SimilarDecksTable",props:tAe,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=i.ref([{id:"deck",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.deck")},{id:"matches",isShown:!0,sortDirection:be.DOWN,title:r("general.matches")},{id:"winrate",isShown:!0,sortDirection:be.NEITHER,title:r("general.winrate")},{id:"cost",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.cost")},{id:"differences",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.deckDifferences")}]);function A(s){const o=js(s,a);o&&t("sort-updated",o)}return(s,o)=>(i.openBlock(),i.createBlock(Xa,{class:"large-table","heading-items":a.value,onToggleSort:A},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.deckRows,(l,c)=>(i.openBlock(),i.createBlock(dl,{key:l.deckcode,type:"similar",deckcode:l.deckcode,matches:l.matches,wins:l.wins,"compared-deckcode":n.originalDeckcode,index:c+2},null,8,["deckcode","matches","wins","compared-deckcode","index"]))),128))]),_:1},8,["heading-items"]))}});const C3=N(nAe,[["__scopeId","data-v-b78d45ef"]]),rAe={heading:{type:String,required:!1,default:""}},aAe={class:"top"},AAe={class:"heading"},sAe={class:"chart"},iAe=i.defineComponent({__name:"StatisticsPaneContainer",props:rAe,setup(e){const t=e,n=i.ref(null),r=i.ref(!1);function a(){var A;r.value?document.exitFullscreen():(A=n.value)==null||A.requestFullscreen()}return i.onMounted(()=>{var A;(A=n.value)==null||A.addEventListener("fullscreenchange",()=>{r.value=document.fullscreenElement!==null})}),(A,s)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"statitisticsPaneContainer",ref:n,class:i.normalizeClass(["statitistics-pane-container",r.value?"full-screen":""])},[i.createElementVNode("div",aAe,[i.createElementVNode("div",AAe,i.toDisplayString(t.heading),1),i.createVNode(i.unref(ze),{class:"maximize-icon",icon:"fa-maximize",onClick:a})]),i.createElementVNode("div",sAe,[i.renderSlot(A.$slots,"default",{},void 0,!0)])],2))}});const E3=N(iAe,[["__scopeId","data-v-f00b184f"]]);function oAe({swiper:e,on:t}){t("beforeInit",()=>{if(e.params.effect!=="carousel")return;e.classNames.push(`${e.params.containerModifierClass}carousel`);const n={watchSlidesProgress:!0,centeredSlides:!0};Object.assign(e.params,n),Object.assign(e.originalParams,n)}),t("progress",()=>{if(e.params.effect!=="carousel")return;const n=.2,r=e.slides.length;for(let a=0;a<e.slides.length;a+=1){const A=e.slides[a],s=e.slides[a].progress,o=Math.abs(s);let l=1;o>1&&(l=(o-1)*.3+1);const c=A.querySelectorAll(".swiper-carousel-animate-opacity"),u=`${s*l*50}%`,d=1-o*n,f=r-Math.abs(Math.round(s));A.style.transform=`translateX(${u}) scale(${d})`,A.style.zIndex=f,o>3?A.style.opacity=0:A.style.opacity=1,c.forEach(h=>{h.style.opacity=1-o/3})}}),t("setTransition",(n,r)=>{if(e.params.effect==="carousel")for(let a=0;a<e.slides.length;a+=1){const A=e.slides[a],s=A.querySelectorAll(".swiper-carousel-animate-opacity");A.style.transitionDuration=`${r}ms`,s.forEach(o=>{o.style.transitionDuration=`${r}ms`})}})}const lAe={cardCodes:{type:Array,required:!0,default:[]}},cAe={class:"card-carousel"},uAe=["src"],dAe=i.defineComponent({__name:"CardCarousel",props:lAe,emits:["update:activeIndex"],setup(e,{emit:t}){const n=e;console.log(n);const r=[oAe];function a(A){t("update:activeIndex",A.activeIndex)}return(A,s)=>(i.openBlock(),i.createElementBlock("div",cAe,[i.createVNode(i.unref(Tw),{effect:"carousel","grab-cursor":!0,loop:!1,"looped-slides":5,"slides-per-view":"auto",modules:r,"slide-to-clicked-slide":!0,onActiveIndexChange:a},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.cardCodes,o=>(i.openBlock(),i.createBlock(i.unref(Dw),{key:o},{default:i.withCtx(()=>[i.createElementVNode("img",{src:`https://lor.gg/storage/cards/card/en_us/${o}.webp`},null,8,uAe)]),_:2},1024))),128))]),_:1})]))}});const k3=N(dAe,[["__scopeId","data-v-a6ffd2e2"]]),fAe={wins:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},showDetails:{type:Boolean,required:!1,default:!0}},hAe={class:"wins-losses-line"},pAe={key:0,class:"details"},gAe={class:"wl-record"},mAe={class:"lines"},vAe=i.defineComponent({__name:"WinsLossesLine",props:fAe,setup(e){const t=e;return(n,r)=>(i.openBlock(),i.createElementBlock("div",hAe,[t.showDetails?(i.openBlock(),i.createElementBlock("div",pAe,[i.createElementVNode("span",gAe,i.toDisplayString(t.wins)+"W "+i.toDisplayString(t.matches-t.wins)+"L - ",1),i.createElementVNode("span",{style:i.normalizeStyle({color:`var(${i.unref(Jn)(t.wins/t.matches)})`})},i.toDisplayString(i.unref(Te)(t.wins/t.matches*100,1,3))+"%",5)])):i.createCommentVNode("",!0),i.createElementVNode("div",mAe,[t.wins!==0?(i.openBlock(),i.createElementBlock("div",{key:0,class:"wins line",style:i.normalizeStyle({flexGrow:t.wins})},null,4)):i.createCommentVNode("",!0),t.matches-t.wins!==0?(i.openBlock(),i.createElementBlock("div",{key:1,class:"losses line",style:i.normalizeStyle({flexGrow:t.matches-t.wins})},null,4)):i.createCommentVNode("",!0)])]))}});const n1=N(vAe,[["__scopeId","data-v-511803da"]]),BAe={cardCode:{type:String,required:!0,default:"01IO001"},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},yAe={key:0,class:"wrapper"},wAe={class:"champion-column column-content"},bAe={class:"matches-column column-content"},_Ae=i.defineComponent({__name:"DashboardCardRow",props:BAe,setup(e){const t=e,n=i.computed(()=>jt().cardJsonObject[t.cardCode]),r=i.computed(()=>{var a;return`https://lor.gg/storage/cards/banner/${(a=n.value)==null?void 0:a.cardCode}.png`});return(a,A)=>(i.openBlock(),i.createElementBlock("div",{class:"profile-champion-row wrapper",style:i.normalizeStyle({"--index":t.index})},[i.createElementVNode("div",{class:"small-table-background",style:i.normalizeStyle({"--background-image":`url(${r.value})`})},null,4),n.value?(i.openBlock(),i.createElementBlock("div",yAe,[i.createElementVNode("div",wAe,[i.createVNode(Ja,{class:"circle-card-item","card-prop":n.value},null,8,["card-prop"]),i.createElementVNode("span",null,i.toDisplayString(n.value.name),1)]),i.createElementVNode("div",bAe,i.toDisplayString(i.unref(Te)(t.matches,0,10)),1),i.createElementVNode("div",{class:"winrate-column column-content",style:i.normalizeStyle({color:`var(${i.unref(Jn)(t.wins/t.matches)})`})},i.toDisplayString(i.unref(Te)(t.wins/t.matches*100,1,3))+"% ",5)])):i.createCommentVNode("",!0)],4))}});const r1=N(_Ae,[["__scopeId","data-v-d436bc19"]]),CAe={class:"card-page-toggle"},EAe=i.defineComponent({__name:"CardTogglePage",setup(e){const{t}=se(),n=i.ref(0);return(r,a)=>(i.openBlock(),i.createElementBlock("div",CAe,[i.createVNode(Vu,{"selected-option":n.value,"onUpdate:selectedOption":a[0]||(a[0]=A=>n.value=A),options:[i.unref(t)("cards.recommendedDecks"),i.unref(t)("cards.similarCards"),i.unref(t)("general.statistics")]},null,8,["selected-option","options"])]))}});const S3=N(EAe,[["__scopeId","data-v-07d07f20"]]),kAe=i.defineComponent({setup(){return{}},mounted(){const e=St("EUAACAIEA54Q6AIGBECACBQKF4AQIBQGAECAOUYBAECBWAICAYKACAIFFUAQIBAOAIDAOBJIAIDAYBIIAIDAMGY5AMDAEGI4EIBQMAYTC4RAGBQABIMCQAYGAUBQMHY");console.log(e),console.log(pE(e))}}),SAe=i.createElementVNode("h1",null,"TestComponent",-1),xAe=[SAe];function FAe(e,t,n,r,a,A){return i.openBlock(),i.createElementBlock("div",null,xAe)}const x3=N(kAe,[["render",FAe]]),IAe={name:{type:String,required:!0,default:""},selectedBannerCard:{type:String,required:!0,default:""},rank:{type:Number,required:!0,default:0},id:{type:Number,required:!0,default:0},matches:{type:Number,required:!0,default:0},lp:{type:Number,required:!0,default:0},change:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},UAe={class:"wrapper"},QAe={class:"champion-column column-content"},TAe={class:"mana-hexagon"},DAe={class:"mana-number"},OAe={class:"name"},LAe={class:"matches-column column-content"},MAe=i.defineComponent({__name:"DashboardLeaderboardRow",props:IAe,setup(e){const t=e,n=i.computed(()=>t.selectedBannerCard===void 0?null:`https://lor.gg/storage/cards/banner/${t.selectedBannerCard}.png`),r=i.computed(()=>t.change===void 0?[]:t.change===0?["neutral"]:[t.change>0?"good":"bad"]);return(a,A)=>(i.openBlock(),i.createElementBlock("div",{class:"profile-champion-row wrapper",style:i.normalizeStyle({"--index":t.index})},[i.createElementVNode("div",{class:"small-table-background",style:i.normalizeStyle({"--background-image":`url(${n.value})`,"--background-color":t.index%2===0?"var(--color-background-0)":"transparent"})},null,4),i.createElementVNode("div",UAe,[i.createElementVNode("div",QAe,[i.createElementVNode("div",TAe,[i.createVNode(Vo,{class:"hexagon-icon"}),i.createElementVNode("div",DAe,i.toDisplayString(t.rank),1)]),i.createElementVNode("div",OAe,i.toDisplayString(t.name),1)]),i.createElementVNode("div",LAe,i.toDisplayString(i.unref(Te)(t.matches,0,10)),1),i.createElementVNode("div",{class:i.normalizeClass(["column-content change",r.value])},[t.change!==void 0?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createVNode(i.unref(ze),{class:"icon",icon:"fa-chevron-down"}),i.createElementVNode("span",null,i.toDisplayString(i.unref(Te)(Math.abs(t.change),0,10)),1)],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode(" Test ")],64))],2)])],4))}});const a1=N(MAe,[["__scopeId","data-v-3d62a718"]]),NAe={date:{type:Date,required:!0,default:[]},activated:{type:Boolean,required:!0,default:!1},soon:{type:Boolean,required:!0,default:!1}},zf="data:image/webp;base64,UklGRpQVAABXRUJQVlA4WAoAAAAQAAAAYwAAjQAAQUxQSAEBAAABgGPb2rHn+e3KTunUNntXPyaQKSSV7UzBSfejizkD26htPU/y/lZETABIK2xW2koVX0DKFxXZrLR1CQD2y3vah6PpUeLxnXviuwEBtL5SPz6/Ur+8Urvl0EbGQLccWsPjXH6DO+jg+vQSZGh5Zb7XaAp7aPEKbezzKMKEWuP+C7y0xdzV6gXkWif7drOyTtj34Mg99QL28KAcr5B14g0yAyo5p94gzytkn7Dv3qZz49xvzM6hzi5ffHrankNevMXZzIDUhuFfDw2PdKQr1SqVSqX+rUqbPfP8et2YqFKjqgz1I8ODA8O/7SnjAnC4qIBvGNm18wGdw0WF/6jMFcCfBwBWUDggbBQAABBDAJ0BKmQAjgAAwBIliAKSzJgM/yf5TextXv8H/bv2BwHdg+Vdzn/0vWB/tPVF5h36ofrv14vMX+3Xq2/7v1cf2b1AP6l/gOtp9A/9x/Th/dX4aP7X/2f3C9rXBZ+F2Jr4/8+/kPzM9c3+w73vS/++9CP5x+Df1n9q/dL2b8DflTqHfln9a/0/Ar209A7vn37/+R6R/YP/le4H/Ov63/oeSc9E9g3+ef3T/s/4z2Uf/P/Zelr6a/9f+k+BH+df27/reu51QB6l8J+19f+pT6sZj+zE2+wE9vWoNfcEz0oTpvLjAO+Oa0LQ0Jow+wnjIYPuMNdJgebCP0A0x9HFV9m1SGgYnekuqE7R0gGfFSqVDdnmaEzLXqoY5ab7mI283b2U6qHsm1LaV2sv3hWYD74YbO9I365ZyH7IOZW2np5xzxY1uNwlx8m3/TlZpshWOQCUqQEaeXuo/NGNB7fPAFQA9spGF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gcDqi6fKcNBLQO3Yh9ysmWdD7EQ2ZnQ1rzdxuR59XgwjJvDgAAA",PAe={class:"reveal-day-option-wrapper"},HAe={class:"card-wrapper"},RAe=["src"],VAe={class:"card-wrapper"},KAe=["src"],$Ae={class:"card-wrapper"},WAe=["src"],GAe=i.defineComponent({__name:"RevealDayOption",props:NAe,setup(e){const t=e,n=i.inject(MA),r=i.ref(null),a=i.ref(null),A=i.computed(()=>t.date.getTime()<new Date().getTime()),s=i.computed(()=>A.value?`Revealed Cards
|
|
879
|
+
${n("general.winrate")}: ${Te(f/d*100,1,3)}%`}}},datalabels:{align:"end",anchor:"end",formatter(u,d){let f=0;for(let h=0;h<d.chart.data.datasets.length;h++)f+=d.chart.data.datasets[h].data[d.dataIndex];return f||""},display(u){return u.datasetIndex===u.chart.data.datasets.length-1}}},scales:{x:{type:a.value?"time":"category",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"},stacked:!0,grid:{display:!1}},y:{stacked:!0,grid:{display:!1},display:!0}}};return(u,d)=>(i.openBlock(),i.createBlock(i.unref(td),{ref_key:"chart",ref:r,"chart-data":l.value,options:c},null,8,["chart-data"]))}}),Iae={data:{type:Array,required:!0,default:[]},type:{type:String,required:!0,default:"winrate"},baseline:{type:Number,required:!1,default:50}},v3=i.defineComponent({__name:"RoundCardInfoBarChart",props:Iae,setup(e){const t=e,{t:n}=se(),r=i.ref();Re.register(...eA),Re.register(GA),Re.register(hd);const a=i.computed(()=>Object.values(cE(t.data,o=>o.copy))),A=i.computed(()=>({labels:Array.from(t.data.reduce((o,l)=>o.add(l.round),new Set)),datasets:a.value.map(o=>{var l;return{backgroundColor:o.map(c=>c.wins*2>=c.matches?"rgba(0, 173, 255, 0.5)":"rgba(255, 81, 83, 0.5)"),borderWidth:0,borderRadius:9999,data:o.map(c=>c.wins/c.matches*100-t.baseline),label:`${n("general.copy")} ${(l=o[0])==null?void 0:l.copy}`}})})),s={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!0},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{title(o){return`${n("general.round")}: ${o[0].label}`},label(o){return(o.dataset.data[o.dataIndex]+t.baseline).toFixed(2)+"%"},footer(o){const l=[];for(const c of a.value)c[o[0].dataIndex]!==void 0&&l.push(`${n("general.copy")} ${c[o[0].dataIndex].copy}`,`${n("general.matches")}: ${c[o[0].dataIndex].matches}`,`${n("general.wins")}: ${c[o[0].dataIndex].wins}`);return l}}},datalabels:{display:!1}},scales:{y:{title:{display:!0,text:n("general.winrate")},ticks:{callback(o){return o+t.baseline+"%"}}},x:{title:{display:!0,text:t.type==="drawn"?n("cards.roundDrawn"):n("cards.roundPlayed")}}}};return(o,l)=>(i.openBlock(),i.createBlock(i.unref(td),{ref_key:"chart",ref:r,"chart-data":A.value,options:s},null,8,["chart-data"]))}}),Uae={data:{type:Array,required:!0,default:[]},baseline:{type:Number,required:!1,default:50},type:{type:String,required:!0,default:"winrate"},yAxis:{type:String,required:!0,default:"date"}},B3=i.defineComponent({__name:"LineChart",props:Uae,setup(e){const t=e,{t:n}=se(),r=i.ref();Re.register(...eA),Re.register(GA);const a=i.computed(()=>({labels:t.data.map(o=>o.label),datasets:[{borderColor:"rgba(255, 255, 255, 0.1)",data:t.data.map(o=>o.totalMatches&&t.type==="playrate"?o.matches/(o.totalMatches??1)*100:o.winrate*100),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"},{pointBackgroundColor:"rgba(255, 255, 255, 0)",data:t.data.map(()=>t.baseline),borderColor:"rgba(0, 0, 0, 0.05)"}]})),A=i.computed(()=>({plugins:{legend:{display:!1},tooltip:{mode:"nearest",position:"nearest",axis:"x",intersect:!1,filter:function(o){return o.datasetIndex===0},callbacks:{label(o){let l=o.dataset.label||"";return l&&(l+=": "),l+=o.parsed.y+"%",l},footer:o=>{let l="";return o[0].dataIndex!==null&&t.data[o[0].dataIndex].matches&&(l+=`${n("general.matches")}: ${t.data[o[0].dataIndex].matches}`),l}}},annotation:{annotations:[]},datalabels:{display:!1}},elements:{line:{tension:.25}},scales:{x:t.yAxis==="date"?{type:"time",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"}}:void 0}}));t.yAxis==="date"&&h3(A.value,t.data.map(o=>o.label));const s=[{id:"chartGradient",beforeDraw:function(o){if(!o.scales.y)return;const l=o.ctx.createLinearGradient(0,0,0,o.height);if(l.addColorStop(0,"rgba(0, 173, 255, 0.25)"),t.type==="playrate"){l.addColorStop(1,"rgba(0, 173, 255, 0)"),o.config.data.datasets[0].fill={target:1,above:l},o.update();return}const c=o.scales.y,u=Math.max.apply(null,o.data.datasets[0].data),d=c.getPixelForValue(u),f=c.getPixelForValue(50),h=Math.min(Math.min.apply(null,o.data.datasets[0].data),50),p=c.getPixelForValue(h),m=Math.max(Math.min((f-d)/(p-d),1),0);l.addColorStop(Math.max(m-.08,0),"rgba(0, 173, 255, 0)");const y=o.ctx.createLinearGradient(0,0,0,o.height);y.addColorStop(m,"rgba(255, 81, 83, 0)"),y.addColorStop(1,"rgba(255, 81, 83, 0.25)"),o.config.data.datasets[0].fill={target:1,above:l,below:y},o.update()}}];return(o,l)=>(i.openBlock(),i.createBlock(i.unref(D_),{ref_key:"chart",ref:r,"chart-data":a.value,options:A.value,plugins:s},null,8,["chart-data","options"]))}}),Qae={deckRows:{type:Array,required:!0,default:[]}},Tae=i.defineComponent({__name:"BuiltDecksTable",props:Qae,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=i.ref([{id:"deck",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.deck")},{id:"name",isShown:!0,sortDirection:be.NEITHER,title:r("general.name")},{id:"updatedAt",isShown:!0,sortDirection:be.DOWN,title:r("general.updated")},{id:"createdAt",isShown:!0,sortDirection:be.NEITHER,title:r("general.created")},{id:"manaCurve",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.manaCurve")},{id:"cost",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.cost")}]);function A(s){const o=js(s,a);o&&t("sort-updated",o)}return(s,o)=>(i.openBlock(),i.createBlock(Xa,{class:"large-table","heading-items":a.value,onToggleSort:A},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.deckRows,(l,c)=>(i.openBlock(),i.createBlock(dl,{id:l.id,key:l.id,type:"built",deckcode:l.deckCode,name:l.name,"created-at":l.createdAt,"updated-at":l.updatedAt,index:c+2},null,8,["id","deckcode","name","created-at","updated-at","index"]))),128))]),_:1},8,["heading-items"]))}});const y3=N(Tae,[["__scopeId","data-v-d908953a"]]),Dae={regionNameRef:{type:String,required:!0,default:"01IO001"},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},Oae={class:"wrapper"},Lae={class:"champion-column column-content"},Mae={class:"matches-column column-content"},Nae=i.defineComponent({__name:"ProfileRegionRow",props:Dae,setup(e){const t=e,n=i.computed(()=>we().dataJson.regions.find(a=>a.nameRef===t.regionNameRef)),r=i.computed(()=>{var a;return`https://lor.gg/storage/cards/banner/${(a=n.value)==null?void 0:a.cardCode}.png`});return(a,A)=>{var s;return i.openBlock(),i.createElementBlock("div",{class:"profile-champion-row wrapper",style:i.normalizeStyle({"--index":t.index})},[i.createElementVNode("div",{class:"small-table-background",style:i.normalizeStyle({"--background-image":`url(${r.value})`})},null,4),i.createElementVNode("div",Oae,[i.createElementVNode("div",Lae,[i.createVNode($o,{"region-ref":t.regionNameRef},null,8,["region-ref"]),i.createElementVNode("span",null,i.toDisplayString((s=n.value)==null?void 0:s.name),1)]),i.createElementVNode("div",Mae,i.toDisplayString(i.unref(Te)(t.matches,0,10)),1),i.createElementVNode("div",{class:"winrate-column column-content",style:i.normalizeStyle({color:`var(${i.unref(Jn)(t.wins/t.matches)})`})},i.toDisplayString(i.unref(Te)(t.wins/t.matches*100,1,3))+"% ",5)])],4)}}});const e1=N(Nae,[["__scopeId","data-v-b3f363b1"]]),Pae={rows:{type:Array,required:!0,default:[]}},Hae=i.defineComponent({__name:"ProfileRegionTable",props:Pae,setup(e){const t=e,{t:n}=se(),r=[{title:n("general.regions"),id:"regions"},{title:n("general.matches"),id:"matches"},{title:n("general.winrate"),id:"winrate"}];return(a,A)=>(i.openBlock(),i.createBlock(zA,{class:"small-table","heading-items":r},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(t.rows,s=>(i.openBlock(),i.createBlock(e1,{key:s.regionNameRef,"region-name-ref":s.regionNameRef,matches:s.matches,wins:s.wins,index:s.index+2},null,8,["region-name-ref","matches","wins","index"]))),128))]),_:1}))}});const w3=N(Hae,[["__scopeId","data-v-2dae645c"]]),Rae={rows:{type:Array,required:!0,default:[]}},Vae={archetypeId:{type:Number,required:!0,default:0},deckCode:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},Kae={class:"wrapper"},$ae={class:"champion-column column-content"},Wae={class:"matches-column column-content"},Gae=i.defineComponent({__name:"ProfileArchetypeRow",props:Vae,setup(e){const t=e,n=i.computed(()=>St(t.deckCode)),r=i.computed(()=>nn(n.value)),a=i.computed(()=>{var A;return`https://lor.gg/storage/cards/banner/${(A=Ma(r.value,n.value,1)[0])==null?void 0:A.cardCode}.png`});return(A,s)=>(i.openBlock(),i.createElementBlock("div",{class:"profile-champion-row wrapper",style:i.normalizeStyle({"--index":t.index})},[i.createElementVNode("div",{class:"small-table-background",style:i.normalizeStyle({"--background-image":`url(${a.value})`})},null,4),i.createElementVNode("div",Kae,[i.createElementVNode("div",$ae,[i.createVNode(ja,{"deck-code":t.deckCode},null,8,["deck-code"])]),i.createElementVNode("div",Wae,i.toDisplayString(i.unref(Te)(t.matches,0,10)),1),i.createElementVNode("div",{class:"winrate-column column-content",style:i.normalizeStyle({color:`var(${i.unref(Jn)(t.wins/t.matches)})`})},i.toDisplayString(i.unref(Te)(t.wins/t.matches*100,1,3))+"% ",5)])],4))}});const t1=N(Gae,[["__scopeId","data-v-91ed15a8"]]),zae=i.defineComponent({__name:"ProfileArchetypeTable",props:Rae,setup(e){const t=e,{t:n}=se(),r=[{title:n("general.archetypes"),id:"archetypes"},{title:n("general.matches"),id:"matches"},{title:n("general.winrate"),id:"winrate"}];return(a,A)=>(i.openBlock(),i.createBlock(zA,{class:"small-table","heading-items":r},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(t.rows,s=>(i.openBlock(),i.createBlock(t1,{key:s.archetypeId,"archetype-id":s.archetypeId,"deck-code":s.deckCode,matches:s.matches,wins:s.wins,index:s.index+2},null,8,["archetype-id","deck-code","matches","wins","index"]))),128))]),_:1}))}});const b3=N(zae,[["__scopeId","data-v-f883a9d9"]]),jae={selectedRegion:{type:String,required:!0,default:null},selectedPlayers:{type:Array,required:!0,default:[]},selectedGraphOption:{type:String,required:!0,default:"totalPlayers"},players:{type:Array,required:!0,default:[]},updatedAt:{type:Number,required:!0,default:0},isGraphShown:{type:Boolean,required:!0,default:!1}},Yae={class:"leaderboard-options"},qae={class:"multiselects"},Xae={class:"details"},Jae={class:"players"},Zae={class:"updated"},eAe=i.defineComponent({__name:"LeaderboardOptions",props:jae,emits:["update:selectedPlayers","update:selectedRegion","update:selectedGraphOption"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=i.inject(MA),A=[{name:r("leaderboard.lp"),nameRef:"lp"},{name:r("leaderboard.rank"),nameRef:"rank"},{name:r("leaderboard.totalPlayers"),nameRef:"totalPlayers"}],s=i.ref(n.selectedRegion),o=i.ref(n.selectedPlayers),l=i.ref(n.selectedGraphOption),c=i.computed(()=>s.value===null?n.players:n.players.filter(u=>u.server===s.value));return i.watch(s,u=>{t("update:selectedRegion",u),t("update:selectedPlayers",[])}),i.watch(o,u=>{t("update:selectedPlayers",u)}),i.watch(l,u=>{t("update:selectedGraphOption",u)}),i.watch(()=>n.selectedPlayers,u=>{o.value=u}),i.watch(()=>n.selectedRegion,u=>{s.value=u}),i.watch(()=>n.selectedGraphOption,u=>{l.value=u}),i.watch(()=>n.isGraphShown,u=>{u&&o.value.length>0&&(l.value="lp")}),(u,d)=>(i.openBlock(),i.createElementBlock("div",Yae,[i.createElementVNode("div",qae,[i.createVNode(i.unref(Vt),{modelValue:o.value,"onUpdate:modelValue":d[0]||(d[0]=f=>o.value=f),placeholder:i.unref(r)("general.players"),mode:s.value?"tags":"disabled",options:c.value,searchable:!0,label:"name","value-prop":"user_id"},null,8,["modelValue","placeholder","mode","options"]),i.createVNode(i.unref(Vt),{modelValue:s.value,"onUpdate:modelValue":d[1]||(d[1]=f=>s.value=f),placeholder:i.unref(r)("general.server"),options:i.unref(we)().dataJson.servers,label:"name","value-prop":"nameRef"},null,8,["modelValue","placeholder","options"]),n.isGraphShown?(i.openBlock(),i.createBlock(i.unref(Vt),{key:0,modelValue:l.value,"onUpdate:modelValue":d[2]||(d[2]=f=>l.value=f),options:A,"can-clear":!1,label:"name","value-prop":"nameRef"},null,8,["modelValue"])):i.createCommentVNode("",!0)]),i.createElementVNode("div",Xae,[i.createElementVNode("div",Jae,[i.createTextVNode(i.toDisplayString(i.unref(r)("leaderboard.totalPlayers"))+": ",1),i.createElementVNode("span",null,i.toDisplayString(i.unref(Te)(c.value.length)),1)]),i.createElementVNode("div",Zae,[i.createTextVNode(i.toDisplayString(i.unref(r)("leaderboard.updated"))+": ",1),i.createElementVNode("span",null,i.toDisplayString(i.unref(a)(n.updatedAt*60*1e3).fromNow()),1)])])]))}});const _3=N(eAe,[["__scopeId","data-v-9d0b891b"]]),tAe={deckRows:{type:Array,required:!0,default:[]},originalDeckcode:{type:String,required:!0,default:""}},nAe=i.defineComponent({__name:"SimilarDecksTable",props:tAe,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=i.ref([{id:"deck",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.deck")},{id:"matches",isShown:!0,sortDirection:be.DOWN,title:r("general.matches")},{id:"winrate",isShown:!0,sortDirection:be.NEITHER,title:r("general.winrate")},{id:"cost",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.cost")},{id:"differences",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.deckDifferences")}]);function A(s){const o=js(s,a);o&&t("sort-updated",o)}return(s,o)=>(i.openBlock(),i.createBlock(Xa,{class:"large-table","heading-items":a.value,onToggleSort:A},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.deckRows,(l,c)=>(i.openBlock(),i.createBlock(dl,{key:l.deckcode,type:"similar",deckcode:l.deckcode,matches:l.matches,wins:l.wins,"compared-deckcode":n.originalDeckcode,index:c+2},null,8,["deckcode","matches","wins","compared-deckcode","index"]))),128))]),_:1},8,["heading-items"]))}});const C3=N(nAe,[["__scopeId","data-v-b78d45ef"]]),rAe={heading:{type:String,required:!1,default:""}},aAe={class:"top"},AAe={class:"heading"},sAe={class:"chart"},iAe=i.defineComponent({__name:"StatisticsPaneContainer",props:rAe,setup(e){const t=e,n=i.ref(null),r=i.ref(!1);function a(){var A;r.value?document.exitFullscreen():(A=n.value)==null||A.requestFullscreen()}return i.onMounted(()=>{var A;(A=n.value)==null||A.addEventListener("fullscreenchange",()=>{r.value=document.fullscreenElement!==null})}),(A,s)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"statitisticsPaneContainer",ref:n,class:i.normalizeClass(["statitistics-pane-container",r.value?"full-screen":""])},[i.createElementVNode("div",aAe,[i.createElementVNode("div",AAe,i.toDisplayString(t.heading),1),i.createVNode(i.unref(ze),{class:"maximize-icon",icon:"fa-maximize",onClick:a})]),i.createElementVNode("div",sAe,[i.renderSlot(A.$slots,"default",{},void 0,!0)])],2))}});const E3=N(iAe,[["__scopeId","data-v-f00b184f"]]);function oAe({swiper:e,on:t}){t("beforeInit",()=>{if(e.params.effect!=="carousel")return;e.classNames.push(`${e.params.containerModifierClass}carousel`);const n={watchSlidesProgress:!0,centeredSlides:!0};Object.assign(e.params,n),Object.assign(e.originalParams,n)}),t("progress",()=>{if(e.params.effect!=="carousel")return;const n=.2,r=e.slides.length;for(let a=0;a<e.slides.length;a+=1){const A=e.slides[a],s=e.slides[a].progress,o=Math.abs(s);let l=1;o>1&&(l=(o-1)*.3+1);const c=A.querySelectorAll(".swiper-carousel-animate-opacity"),u=`${s*l*50}%`,d=1-o*n,f=r-Math.abs(Math.round(s));A.style.transform=`translateX(${u}) scale(${d})`,A.style.zIndex=f,o>3?A.style.opacity=0:A.style.opacity=1,c.forEach(h=>{h.style.opacity=1-o/3})}}),t("setTransition",(n,r)=>{if(e.params.effect==="carousel")for(let a=0;a<e.slides.length;a+=1){const A=e.slides[a],s=A.querySelectorAll(".swiper-carousel-animate-opacity");A.style.transitionDuration=`${r}ms`,s.forEach(o=>{o.style.transitionDuration=`${r}ms`})}})}const lAe={cardCodes:{type:Array,required:!0,default:[]}},cAe={class:"card-carousel"},uAe=["src"],dAe=i.defineComponent({__name:"CardCarousel",props:lAe,emits:["update:activeIndex"],setup(e,{emit:t}){const n=e;console.log(n);const r=[oAe];function a(A){t("update:activeIndex",A.activeIndex)}return(A,s)=>(i.openBlock(),i.createElementBlock("div",cAe,[i.createVNode(i.unref(Tw),{effect:"carousel","grab-cursor":!0,loop:!1,"looped-slides":5,"slides-per-view":"auto",modules:r,"slide-to-clicked-slide":!0,onActiveIndexChange:a},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.cardCodes,o=>(i.openBlock(),i.createBlock(i.unref(Dw),{key:o},{default:i.withCtx(()=>[i.createElementVNode("img",{src:`https://lor.gg/storage/cards/card/en_us/${o}.webp`},null,8,uAe)]),_:2},1024))),128))]),_:1})]))}});const k3=N(dAe,[["__scopeId","data-v-a6ffd2e2"]]),fAe={wins:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},showDetails:{type:Boolean,required:!1,default:!0}},hAe={class:"wins-losses-line"},pAe={key:0,class:"details"},gAe={class:"wl-record"},mAe={class:"lines"},vAe=i.defineComponent({__name:"WinsLossesLine",props:fAe,setup(e){const t=e;return(n,r)=>(i.openBlock(),i.createElementBlock("div",hAe,[t.showDetails?(i.openBlock(),i.createElementBlock("div",pAe,[i.createElementVNode("span",gAe,i.toDisplayString(t.wins)+"W "+i.toDisplayString(t.matches-t.wins)+"L - ",1),i.createElementVNode("span",{style:i.normalizeStyle({color:`var(${i.unref(Jn)(t.wins/t.matches)})`})},i.toDisplayString(i.unref(Te)(t.wins/t.matches*100,1,3))+"%",5)])):i.createCommentVNode("",!0),i.createElementVNode("div",mAe,[t.wins!==0?(i.openBlock(),i.createElementBlock("div",{key:0,class:"wins line",style:i.normalizeStyle({flexGrow:t.wins})},null,4)):i.createCommentVNode("",!0),t.matches-t.wins!==0?(i.openBlock(),i.createElementBlock("div",{key:1,class:"losses line",style:i.normalizeStyle({flexGrow:t.matches-t.wins})},null,4)):i.createCommentVNode("",!0)])]))}});const n1=N(vAe,[["__scopeId","data-v-511803da"]]),BAe={cardCode:{type:String,required:!0,default:"01IO001"},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},yAe={key:0,class:"wrapper"},wAe={class:"champion-column column-content"},bAe={class:"matches-column column-content"},_Ae=i.defineComponent({__name:"DashboardCardRow",props:BAe,setup(e){const t=e,n=i.computed(()=>jt().cardJsonObject[t.cardCode]),r=i.computed(()=>{var a;return`https://lor.gg/storage/cards/banner/${(a=n.value)==null?void 0:a.cardCode}.png`});return(a,A)=>(i.openBlock(),i.createElementBlock("div",{class:"profile-champion-row wrapper",style:i.normalizeStyle({"--index":t.index})},[i.createElementVNode("div",{class:"small-table-background",style:i.normalizeStyle({"--background-image":`url(${r.value})`})},null,4),n.value?(i.openBlock(),i.createElementBlock("div",yAe,[i.createElementVNode("div",wAe,[i.createVNode(Ja,{class:"circle-card-item","card-prop":n.value},null,8,["card-prop"]),i.createElementVNode("span",null,i.toDisplayString(n.value.name),1)]),i.createElementVNode("div",bAe,i.toDisplayString(i.unref(Te)(t.matches,0,10)),1),i.createElementVNode("div",{class:"winrate-column column-content",style:i.normalizeStyle({color:`var(${i.unref(Jn)(t.wins/t.matches)})`})},i.toDisplayString(i.unref(Te)(t.wins/t.matches*100,1,3))+"% ",5)])):i.createCommentVNode("",!0)],4))}});const r1=N(_Ae,[["__scopeId","data-v-d436bc19"]]),CAe={class:"card-page-toggle"},EAe=i.defineComponent({__name:"CardTogglePage",setup(e){const{t}=se(),n=i.ref(0);return(r,a)=>(i.openBlock(),i.createElementBlock("div",CAe,[i.createVNode(Vu,{"selected-option":n.value,"onUpdate:selectedOption":a[0]||(a[0]=A=>n.value=A),options:[i.unref(t)("cards.recommendedDecks"),i.unref(t)("cards.similarCards"),i.unref(t)("general.statistics")]},null,8,["selected-option","options"])]))}});const S3=N(EAe,[["__scopeId","data-v-07d07f20"]]),kAe=i.defineComponent({setup(){return{}},mounted(){const e=St("EUAACAIEA54Q6AIGBECACBQKF4AQIBQGAECAOUYBAECBWAICAYKACAIFFUAQIBAOAIDAOBJIAIDAYBIIAIDAMGY5AMDAEGI4EIBQMAYTC4RAGBQABIMCQAYGAUBQMHY");console.log(e),console.log(pE(e))}}),SAe=i.createElementVNode("h1",null,"TestComponent",-1),xAe=[SAe];function FAe(e,t,n,r,a,A){return i.openBlock(),i.createElementBlock("div",null,xAe)}const x3=N(kAe,[["render",FAe]]),IAe={name:{type:String,required:!0,default:""},selectedBannerCard:{type:String,required:!0,default:""},rank:{type:Number,required:!0,default:0},id:{type:Number,required:!0,default:0},matches:{type:Number,required:!0,default:0},lp:{type:Number,required:!0,default:0},change:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},UAe={class:"wrapper"},QAe={class:"champion-column column-content"},TAe={class:"mana-hexagon"},DAe={class:"mana-number"},OAe={class:"name"},LAe={class:"matches-column column-content"},MAe=i.defineComponent({__name:"DashboardLeaderboardRow",props:IAe,setup(e){const t=e,n=i.computed(()=>t.selectedBannerCard===void 0?null:`https://lor.gg/storage/cards/banner/${t.selectedBannerCard}.png`),r=i.computed(()=>t.change===void 0?[]:t.change===0?["neutral"]:[t.change>0?"good":"bad"]);return(a,A)=>(i.openBlock(),i.createElementBlock("div",{class:"profile-champion-row wrapper",style:i.normalizeStyle({"--index":t.index})},[i.createElementVNode("div",{class:"small-table-background",style:i.normalizeStyle({"--background-image":`url(${n.value})`,"--background-color":t.index%2===0?"var(--color-background-0)":"transparent"})},null,4),i.createElementVNode("div",UAe,[i.createElementVNode("div",QAe,[i.createElementVNode("div",TAe,[i.createVNode(Vo,{class:"hexagon-icon"}),i.createElementVNode("div",DAe,i.toDisplayString(t.rank),1)]),i.createElementVNode("div",OAe,i.toDisplayString(t.name),1)]),i.createElementVNode("div",LAe,i.toDisplayString(i.unref(Te)(t.matches,0,10)),1),i.createElementVNode("div",{class:i.normalizeClass(["column-content change",r.value])},[t.change!==void 0?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createVNode(i.unref(ze),{class:"icon",icon:"fa-chevron-down"}),i.createElementVNode("span",null,i.toDisplayString(i.unref(Te)(Math.abs(t.change),0,10)),1)],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createTextVNode(" Test ")],64))],2)])],4))}});const a1=N(MAe,[["__scopeId","data-v-3d62a718"]]),NAe={date:{type:Date,required:!0,default:[]},activated:{type:Boolean,required:!0,default:!1},soon:{type:Boolean,required:!0,default:!1}},zf="data:image/webp;base64,UklGRpQVAABXRUJQVlA4WAoAAAAQAAAAYwAAjQAAQUxQSAEBAAABgGPb2rHn+e3KTunUNntXPyaQKSSV7UzBSfejizkD26htPU/y/lZETABIK2xW2koVX0DKFxXZrLR1CQD2y3vah6PpUeLxnXviuwEBtL5SPz6/Ur+8Urvl0EbGQLccWsPjXH6DO+jg+vQSZGh5Zb7XaAp7aPEKbezzKMKEWuP+C7y0xdzV6gXkWif7drOyTtj34Mg99QL28KAcr5B14g0yAyo5p94gzytkn7Dv3qZz49xvzM6hzi5ffHrankNevMX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n1BpHOC+VjkYP6+XVfhyW3FnO55pyGqelLpWnIMcvLUb/nYZluleyUZSt9yjLLW6HyeMT/TsCJpQ+TixJzS2a/JQRc+igKZAJCN5f4pHylBS/nTZQqff5FAhr6QbQIbB+3sfEH7dCB5G4BcRU/hWRacndN8it2rV+0OL+q9WuSGBeFROmtq7ko9ZK00n9mGhhm+CYaUiUyUpdNEhcjDi72xSDSPr5PIlg4ecGmxXOzJMAvwi7oAQQg+Yf0/4z2VCGkFCJ+brkSSZLb8fs2G2c+fYVn/tnAmmooSpfNyJw90LiRdDuQbQ93BQWt3azhV9TEBsPGFE3GGkTw0krNqcURqAQKzvXr2bnhO8KRWoWG7XliqBjI/qGv4UOSaZGwIFqc88q1XuMWRIvW6Cy0jaeljlEotz0AFnDGH2Aq1Pn6SREslqfkNcbIyJ/ZH8oMeXhw4Ua92QnhLp909o39dtaOK/eyzPuAH0ev2kS5g9sKHUC7eEoZIBtPPDrdsGXKpr+L+P9BRvo7OcKaVBxchzd2ZLrq/KC+l5UF0ZSfFqSW6UE0inppd0zfwM2/igkrgcDqi6fKcNBLQO3Yh9ysmWdD7EQ2ZnQ1rzdxuR59XgwjJvDgAAA",PAe={class:"reveal-day-option-wrapper"},HAe={class:"card-wrapper"},RAe=["src"],VAe={class:"card-wrapper"},KAe=["src"],$Ae={class:"card-wrapper"},WAe=["src"],GAe=i.defineComponent({__name:"RevealDayOption",props:NAe,setup(e){const t=e,n=i.inject(MA),r=i.ref(null),a=i.ref(null),A=i.computed(()=>t.date.getTime()<new Date().getTime()),s=i.computed(()=>A.value?`Revealed Cards
|
|
880
880
|
${t.date.toLocaleDateString()}`:`Cards Revealed
|
|
881
881
|
${n(t.date).fromNow()}`),o=i.computed(()=>{const l=[];return t.activated&&l.push("activated"),t.soon&&l.push("soon"),A.value&&l.push("past"),l});return i.onMounted(()=>{At(r.value,{content:a.value,arrow:!0})}),(l,c)=>(i.openBlock(),i.createElementBlock("div",PAe,[i.createElementVNode("div",{ref_key:"revealDayOption",ref:r,class:i.normalizeClass(["reveal-day-option",o.value])},[i.createElementVNode("div",HAe,[i.createElementVNode("img",{src:i.unref(zf),alt:"card",class:"card"},null,8,RAe)]),i.createElementVNode("div",VAe,[i.createElementVNode("img",{src:i.unref(zf),alt:"card",class:"card"},null,8,KAe)]),i.createElementVNode("div",$Ae,[i.createElementVNode("img",{src:i.unref(zf),alt:"card",class:"card"},null,8,WAe)])],2),i.createElementVNode("div",{ref_key:"revealDayOptionTippy",ref:a},[i.createVNode(Wu,{text:s.value},null,8,["text"])],512)]))}});const A1=N(GAe,[["__scopeId","data-v-f3dbe378"]]),zAe={days:{type:Array,required:!0,default:[]}},jAe=e=>(i.pushScopeId("data-v-76ed46ac"),e=e(),i.popScopeId(),e),YAe={class:"reveal-day-options"},qAe=jAe(()=>i.createElementVNode("div",{class:"line"},null,-1)),XAe=i.defineComponent({__name:"RevealDayOptions",props:zAe,emits:["update:days"],setup(e,{emit:t}){const n=e;function r(a){const A=n.days.map(s=>({activated:!1,date:s.date,soon:s.soon}));!A[a].soon&&A[a].date.getTime()>new Date().getTime()||(A[a].activated=!0,console.log(A),t("update:days",A))}return(a,A)=>(i.openBlock(),i.createElementBlock("div",YAe,[qAe,(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.days,(s,o)=>(i.openBlock(),i.createBlock(A1,{key:o,date:s.date,activated:s.activated,soon:s.soon,onClick:l=>r(o)},null,8,["date","activated","soon","onClick"]))),128))]))}});const F3=N(XAe,[["__scopeId","data-v-76ed46ac"]]),JAe={cardCodes:{type:Array,required:!0,default:[]}},ZAe=i.defineComponent({__name:"DashboardNewCards",props:JAe,setup(e){const t=e,{t:n}=se(),r=[{title:n("general.newCards"),id:"newCards"}];return(a,A)=>(i.openBlock(),i.createBlock(zA,{class:"small-table","heading-items":r},{default:i.withCtx(()=>[i.createVNode(lg,{class:"reveal-carousel","card-codes":t.cardCodes},null,8,["card-codes"])]),_:1}))}});const I3=N(ZAe,[["__scopeId","data-v-89a26f2c"]]),ese={players:{type:Array,required:!0,default:[]},shownColumns:{type:Object,required:!0,default:{player:!0,lp:!0,change:!0,wins:!0,matches:!0,winrate:!0,deck:!0}}},tse=i.defineComponent({__name:"LeaderboardDetailTable",props:ese,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=i.ref([{id:"player",isShown:n.shownColumns.player,sortDirection:be.UP,title:r("general.player")},{id:"lp",isShown:n.shownColumns.lp,sortDirection:be.NEITHER,title:r("general.lp")},{id:"change",isShown:n.shownColumns.change,sortDirection:be.NEITHER,title:r("general.change")},{id:"wins",isShown:n.shownColumns.wins,sortDirection:be.NEITHER,title:r("general.wins")},{id:"matches",isShown:n.shownColumns.matches,sortDirection:be.NEITHER,title:r("general.matches")},{id:"winrate",isShown:n.shownColumns.winrate,sortDirection:be.NEITHER,title:r("general.winrate")},{id:"deck",isShown:n.shownColumns.deck,sortDirection:be.NOT_SORTABLE,title:r("general.favoriteDeck")}]),A=i.computed(()=>({"--columns":a.value.filter(o=>o.isShown).length}));function s(o){const l=js(o,a);l&&t("sort-updated",l)}return(o,l)=>(i.openBlock(),i.createBlock(Xa,{class:"large-table",style:i.normalizeStyle(A.value),"heading-items":a.value,onToggleSort:s},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.players,(c,u)=>(i.openBlock(),i.createBlock(jm,i.mergeProps({key:u},c,{index:u+2,"shown-columns":n.shownColumns}),null,16,["index","shown-columns"]))),128))]),_:1},8,["style","heading-items"]))}});const U3=N(tse,[["__scopeId","data-v-d2362a8d"]]);const nse={},rse=e=>(i.pushScopeId("data-v-c8a918ec"),e=e(),i.popScopeId(),e),ase={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400"},Ase=rse(()=>i.createElementVNode("path",{d:"M107 57.2C23 99 25 97.6 22.2 106.3c-3.4 10.4-6 4 43.5 103.1l44 88.3.5-6.6c.4-4.6 1-7.7 2.4-10.4l1.9-3.7-40-80.8c-22.1-44.4-40.1-81.5-40.1-82.4 0-5-.9-4.5 78-43.9l75-37.4 3.4 1.1 3.3 1.2 49.8 99.6c33 65.8 49.8 100.4 49.8 102 0 4.9-1 5.5-28.2 19.2l-26 13 15.4.1h15.4l13.9-6.9c19.2-9.6 23.1-14 23.2-25.6v-5.7L257 129.6C221.5 58.6 206 28 204 26c-4-4.2-9.6-6.5-15.8-6.5h-5.1L107 57.2m121.5-15.8 3.5 7h29.6c26 0 29.7.2 31.3 1.3 4 2.8 4 1.9 4 68v61.6l6.6 12.9 6.6 12.9v-76.3c0-90 .7-84.8-11.8-91.7l-4.2-2.3-34.6-.3-34.6-.2 3.6 7m95.7 42.1V91l24.3 12.1c25.1 12.5 28 14.5 28 18.7 0 1.3-10.8 24-26.1 55l-26.2 53 .2 14.9.2 14.8 32.8-65.8 32.8-65.8v-5.5a20 20 0 0 0-7-16 739.5 739.5 0 0 0-58.6-30.6c-.2 0-.4 3.4-.4 7.6M126.5 285.1c-4.2 4.2-2 10.3 4 11.4 1.5.2 57.1.3 123.6.2l120.9-.2 1.9-2c3-3 3-6.9 0-9.8l-1.8-1.9H128.8l-2.3 2.3m1.9 25.8c-4.5 1.8-5.5 7.5-1.9 11l2.3 2.3h122.4c130.4 0 125.8.1 127.2-3.5 1.5-3.8.3-7.8-2.7-9.4-2.5-1.3-244-1.7-247.3-.4m-2.3 29.3c-2.6 2.6-2.6 6.6.2 9.3l2 2h246.8l1.9-1.9c2.6-2.6 2.6-7.2.1-9.6l-1.8-1.7H128l-2 1.9m.6 27c-3.7 3.5-3 8.9 1.4 11.1 2.6 1.3 9.8 1.4 124.8 1.2l122-.2 2-2c3-3 3-6.9 0-9.8l-1.8-1.9H251.7c-122.8 0-123.3 0-125 1.6"},null,-1)),sse=[Ase];function ise(e,t){return i.openBlock(),i.createElementBlock("svg",ase,sse)}const Q3=N(nse,[["render",ise],["__scopeId","data-v-c8a918ec"]]);const ose={},lse=e=>(i.pushScopeId("data-v-4a6733fd"),e=e(),i.popScopeId(),e),cse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 431.6"},use=lse(()=>i.createElementVNode("path",{d:"m178 26.2-8.6 1.8-9.6 2c-2.6.6-6.6 1.5-8.8 1.8-2.2.4-5.7 1-7.8 1.6l-8.8 1.8-8.8 1.8-8.6 1.8c-2.6.5-6.2 1.2-8 1.7l-8.8 1.7-8.6 1.8-6.6 1.4c-3.2.5-14.1 2.9-18.3 3.9-4.2 1-4.4 2.2-2.2 15.1 4.2 24.3 5.2 51.8 2.9 80.4l-.8 10.8c-.2 2-.8 6.9-1.4 10.6-.6 3.7-1.5 9-1.8 11.8-.4 2.8-1.2 7-1.8 9.6a138 138 0 0 0-1.8 8.3c-.3 2-1.1 5.3-1.8 7.4l-1.6 6.1c-.8 4-3.8 14.2-7.1 23.6a191.2 191.2 0 0 1-5.7 15.3L39 259.8c-.7 2-1.7 4.2-2.1 5l-8.5 17c-3.4 7-3.6 6.6 11.3 17a13873.6 13873.6 0 0 1 92 64.6c17.4 12.3 16.5 12.7 18-8L151 332c.6-12 .9-16 2-30.4.6-7.2 1-13.3 1.8-30.2l1.2-18c1.6-20.9 3-46.9 2.6-48.9-.4-2.3-1.8-2.8-5-1.8-9.2 3-18 4.4-23 3.7-15.1-2-25.3-12.8-29.8-31.8a95.5 95.5 0 0 1-2.6-29.8c0-19.7.1-20 5.5-21.6a691 691 0 0 0 14.5-4.2 583.1 583.1 0 0 0 24-6.8 88 88 0 0 0 6.4-1.8c2-.6 4.9-1.5 6.4-1.8 1.5-.3 4.7-1.3 7-2l5-1.4 5-1.4c12-3.9 13.8-3.9 28.5.4a746 746 0 0 0 23 6.5c.4.2 2.3.8 4.3 1.3 2 .4 5.2 1.4 7.2 2l6.4 1.8c1.5.3 4.2 1 5.8 1.6l7.4 2.2c19 5 18.6 4.5 18.6 24.2 0 48.9-20.7 71.2-55 59.3-6.4-2.2-6.8-1.3-5.6 13a948 948 0 0 1 1.8 30.3c.2 4.7.9 14.2 1.4 21 1.1 14.4 1.6 22.6 2.2 34.8.2 4.8.9 14.7 1.4 21.8 1 12.3 1.2 16.4 2.2 36 .9 16.2-.6 16.4 26.2-2.6a2102.7 2102.7 0 0 1 24.8-17.3c2.6-2 7.1-5 10-7.1a3744.4 3744.4 0 0 1 30.2-21.1l17.8-12.5c13.2-9.2 14-9.9 13.7-12.5-.2-2-.5-2.7-3.4-8.1a164.8 164.8 0 0 1-10.7-22.4 292 292 0 0 1-9.5-25.4 292 292 0 0 1-7.2-25.2 345.8 345.8 0 0 1-10.4-64.4c-.9-7.7-.6-44.7.4-53.6l1.7-15.4 1.4-10.6c2-9.4 2-10.2-.1-11.7-.7-.4-2.1-1-3.2-1l-6.5-1.5-9.5-2c-2.7-.4-6.7-1.2-8.8-1.8l-6.9-1.4c-1.7-.3-5.7-1-9-1.8l-9.8-2c-2-.3-5.5-1-7.6-1.6l-8.8-1.8-8.8-1.8c-2.1-.5-5.6-1.3-7.8-1.6-2.2-.4-5.8-1.1-8-1.7l-9.4-2c-3-.4-7.3-1.3-9.6-1.9a28.3 28.3 0 0 0-14.8 0"},null,-1)),dse=[use];function fse(e,t){return i.openBlock(),i.createElementBlock("svg",cse,dse)}const s1=N(ose,[["render",fse],["__scopeId","data-v-4a6733fd"]]);const hse={},pse=e=>(i.pushScopeId("data-v-b519ac08"),e=e(),i.popScopeId(),e),gse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 429.1"},mse=pse(()=>i.createElementVNode("path",{d:"M53.8 32.8c-2.6 1-8.3 12.9-13.6 28l-2.1 5.8c-.4 1.1-1.1 3.5-1.5 5.4L35 78.8a84.1 84.1 0 0 0-2.6 14.1c0 2.7.8 4.1 7.4 12.5 16.7 21.3 16.7 21 2.2 21-13.3 0-13-.3-12.7 11.8.2 8.4.7 11.8 1.9 14.2.9 1.7 1.7 2.7 27 35.3 8.1 10.6 7.8 11.5-4.2 11.5-11.9 0-12 .3-4.4 16.9a269.4 269.4 0 0 0 28.7 47.7c8.4 11 8.6 11.5 9 19.8.5 8 1.1 11.4 4.3 24.4 7 28.8 30 57 60 73.2a97 97 0 0 1 5 2.8l3 1.4c1.5.5 3.5 1.4 4.5 2 2.8 1.4 10.6 4 11.6 3.6 2.1-.5 2.4-3.6 1-10.6-.6-2.6-1.4-7.3-1.9-10.6-.4-3.2-1.2-7.6-1.6-9.7a218 218 0 0 1-2.6-15.1l-1.8-10.2-1.6-8.2c-1-5.6-.9-5.5-13-5.8-10.4-.2-11-.4-12.3-2.5-.4-.7-.5-7-.7-28.7-.2-26.2-.2-27.9-1-29.2-.4-.8-5.5-6.3-11.4-12.2-5.9-6-11-11.4-11.4-12.2-.8-1.5-1.3-65.8-.5-68.5.7-2.6 2.6-2.3 7.3 1.3l6.8 4.9a1371.6 1371.6 0 0 1 25 17.9c16.1 11.6 25 18.2 26.2 19.7l1.2 1.6.2 28.6c.2 31.6.1 30.2 2.8 32 1.7 1.1 28 1.4 30.6.3 3-1.2 2.8.6 3-31.4.2-31.9 0-29.5 3-32.5 1.7-1.5 7.1-5.6 18.6-13.7a3147.5 3147.5 0 0 0 38.3-27.6c4.4-3.3 6-3.6 7-1.2.7 2 .4 66.8-.3 68.3-.4.7-5.4 6-11.2 11.9-5.7 5.8-10.9 11.3-11.4 12.2l-1 1.6-.2 27.8c-.3 35 1.2 31.2-12.6 31.6-12 .3-12.2.4-13.6 12.6-.3 2.9-1 7.3-1.4 9.8-1.4 8.3-2 11.7-2.6 17-.3 2.9-1 7.5-1.6 10.4-1 5.6-2.2 14.1-2.2 16.9 0 2 1 3.3 2.8 3.3a93.6 93.6 0 0 0 21.9-9.4 124.7 124.7 0 0 0 47-44.9 128.2 128.2 0 0 0 15.9-52.5c.7-11.5 0-9.7 11.7-27.2l10.4-15.6c2.3-3.3 18.2-34.8 19-37.7 1.1-3.3-.8-4.3-8.8-4.3-11.8-.1-11.9.1 3.4-20.2a1330 1330 0 0 0 15.4-20.8c4.9-6.6 5.5-8.5 6.6-20.9.6-6.3.4-8.2-1-9.6l-1.1-1.1-9-.2c-13.5-.3-13.6-.6-4.2-13.4 14.6-19.7 14.1-18.3 11-31a188 188 0 0 0-9.9-31.1c-2.8-8-7.8-17.3-9.9-18.1-2.6-1.1-1.7-2.8-24.6 43-20.2 40.3-21.3 42.4-22.7 43.2-2.1 1.1-3 .5-6.3-4.2A118.4 118.4 0 0 0 237.3 71a122.9 122.9 0 0 0-76 2 73.7 73.7 0 0 0-14.9 6.9c-13.8 7-29.8 21.3-39.1 35-3.3 4.8-5.2 5.6-7.4 3.1L78.4 75.7c-22.4-44.9-22-44-24.6-43"},null,-1)),vse=[mse];function Bse(e,t){return i.openBlock(),i.createElementBlock("svg",gse,vse)}const i1=N(hse,[["render",Bse],["__scopeId","data-v-b519ac08"]]);const yse={},wse=e=>(i.pushScopeId("data-v-f1928c9e"),e=e(),i.popScopeId(),e),bse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 470.8"},_se=wse(()=>i.createElementVNode("path",{"fill-rule":"evenodd",d:"M60.6 11c-.5.8-.6 17.6-.5 157l.1 156 1 .8c1.5 1.3 278.4 1.2 279.6 0 1.3-1.3 1.2.8 1.1-81.1l-.1-78.6-1.3-1.1c-1-.9-4.5-2.2-16-6-38.4-12.5-36.7-12-38-10.7-.7.7-.7 5.1-.9 64.4l-.2 63.7-.9 2.2c-3.9 9.5-11 14-23.1 14.3-12.4.3-20-3.6-24.3-12.3-2.4-4.8-2.3-1.4-2.3-95v-87l-1-1.1c-1.2-1.4 1-.6-31.6-12.6a552 552 0 0 0-25.5-9.1c-2.5 0-2.3-8.5-2.3 98.8 0 60.3-.2 98.7-.4 100.8-2.7 23.7-41.9 26.6-49.7 3.6l-.9-2.6-.2-120.9-.2-120.9-1-1c-.7-.6-5-2.5-12.6-5.3C59.9 8.6 61.7 9.2 60.6 10.9m.9 356.3c-2.6.5-3 1.8-3 7.7-.1 12.3-5.7 18.7-24.6 28.2-11.4 5.6-16.6 10.9-19.3 19.3a86 86 0 0 0-.9 19.5l-.2 17.3 1 1 1 1h368.1l1-1c.7-.6 1-1.6 1.2-3.2.4-3.3 0-28.3-.6-31.4-1.9-10.7-8-17.3-22-23.4-17.3-7.6-21.8-13.2-22.6-28.5-.3-4.5-.4-5-1.3-5.8l-1-.9H200.7c-75.7 0-138.4 0-139.2.2"},null,-1)),Cse=[_se];function Ese(e,t){return i.openBlock(),i.createElementBlock("svg",bse,Cse)}const o1=N(yse,[["render",Ese],["__scopeId","data-v-f1928c9e"]]);const kse={},Sse=e=>(i.pushScopeId("data-v-b1448e85"),e=e(),i.popScopeId(),e),xse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 459.4"},Fse=Sse(()=>i.createElementVNode("path",{d:"M175.3 29.5c-1.7.3-.9 1.5 6.1 8.9A57.6 57.6 0 0 1 200 82.6a63.5 63.5 0 0 1-5 25.1 63.5 63.5 0 0 1-23 27.5c-4.6 2.7-6.3 2-14.8-6.2-7.9-7.7-8-7.8-11.1-6.2-2.6 1.3-14.6 12-20.5 18.2l-9.6 10a349.5 349.5 0 0 0-35.5 43.8c-3.1 4.6-6 9.1-9.3 15.2a753 753 0 0 1-5.2 9.2c-.9 1.4-2 3.7-2.4 5-.4 1.2-1.3 3.2-2 4.4l-2.2 4.8a52 52 0 0 1-1.8 4.2c-.4.8-1.3 3.2-2 5.4l-2.2 6c-.5 1-1.3 3.8-1.8 6l-2 7.7a62 62 0 0 0-1.8 8c-3.2 23.5-3 26.6 1.7 31A154.6 154.6 0 0 0 73 318a254 254 0 0 0 33.9 16.2c2.4 1.3 12.6 4.6 19 6.3 3.6 1 7.4 2 8.4 2.4l7.4 1.6c3 .5 7.5 1.4 9.8 2 2.7.6 7.5 1.3 13.2 1.8 5 .4 11.5 1 14.6 1.4 3.8.4 9.7.6 18.6.6 18.5 0 19.9 1.2 13.7 11.9a86.4 86.4 0 0 1-50.1 39.8c-1.4.6-4.1 1.4-6 2-1.9.4-5.2 1.3-7.4 2-2.2.6-6.3 1.4-9.2 1.7-6 .7-10 1.5-10.7 2.2-1.3 1.2 2.5 4 7 5.1l8.3 2.3c2.8.8 6.8 1.7 9 2l15.8 2.6c6.9 1.3 29.5 2 39.8 1.2 6.5-.4 8-.6 18.2-2.4l8.3-1.4c2-.3 5.7-1.2 8-2 2.4-.7 5.4-1.6 6.7-1.8 1.3-.3 3.8-1 5.6-1.8l6-2.2c1.5-.5 3.7-1.3 4.7-1.9l4.2-1.8a228 228 0 0 0 22-11.7c20.9-13.4 40-38.5 44.7-58.8l1.8-6c1.7-4.9 1.9-5.8 2.6-13.2a116.3 116.3 0 0 0-10.4-71l-1.4-2.7c-.4-1-2.5-4.5-6-9.7-4.3-6.6-7.5-7.3-10-2.3-3.1 6.1-15.8 20.3-23.2 25.8a81.5 81.5 0 0 1-71.1 13.4l-6.3-2.3a93 93 0 0 1-38.7-30.1c-4-5.7-4-7.3-.4-12.8a82.1 82.1 0 0 1 38.7-30.2c17-7.5 42.3-7.4 57.2.3 8.8 4.5 10.9 2.5 9.2-9.2-.3-2.2-.6-6.5-.6-9.6a129 129 0 0 0-4.6-34.6 75.6 75.6 0 0 0-3.6-13.8c-4.5-17-18-42.2-32-59.6a193.3 193.3 0 0 0-27.5-25.9 82.1 82.1 0 0 0-18-10.3c-3-1.8-14.6-4.6-17-4.1"},null,-1)),Ise=[Fse];function Use(e,t){return i.openBlock(),i.createElementBlock("svg",xse,Ise)}const l1=N(kse,[["render",Use],["__scopeId","data-v-b1448e85"]]);const Qse={},Tse=e=>(i.pushScopeId("data-v-e5501fa0"),e=e(),i.popScopeId(),e),Dse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Ose=Tse(()=>i.createElementVNode("path",{d:"M9.51 16.698 2.244 9.18 1 11.478l6.226 6.264 2.283-1.044ZM6.189 6.676 4.943 5.423 7.02 3.335l1.245 1.253L6.19 6.676ZM9.302 14.61 4.113 9.39l.83-1.044H6.19l3.736-3.55V3.545L10.962 2.5l4.981.626.415 4.803-.83.835-1.453.209-.83 1.043 1.453 1.253.83-.835 1.453.626-4.15 4.176L12 13.775l.83-.835-1.453-1.462-1.037 1.253v1.252l-1.038.627ZM20.924 21.5l-6.018-6.473 1.66-1.67L23 19.412 20.924 21.5Z"},null,-1)),Lse=[Ose];function Mse(e,t){return i.openBlock(),i.createElementBlock("svg",Dse,Lse)}const c1=N(Qse,[["render",Mse],["__scopeId","data-v-e5501fa0"]]),Nse={...Od,expanded:{type:Boolean,required:!1,default:!1}},Pse=e=>(i.pushScopeId("data-v-063912d6"),e=e(),i.popScopeId(),e),Hse={class:"content logo no-scrollbar"},Rse={class:"nav-item"},Vse={class:"nav-icon-wrapper"},Kse={class:"nav-text"},$se={class:"nav-icon-wrapper"},Wse={class:"nav-text"},Gse={class:"profile content"},zse={class:"nav-item"},jse={class:"nav-icon-wrapper"},Yse=Pse(()=>i.createElementVNode("div",{class:"nav-text"},"Open Cards",-1)),qse={class:"nav-item"},Xse={class:"nav-icon-wrapper"},Jse={class:"nav-text settings"},Zse={class:"nav-item"},eie={class:"nav-icon-wrapper"},tie={class:"nav-text"},nie={class:"nav-item"},rie={class:"nav-icon-wrapper"},aie={class:"nav-text name"},Aie={class:"nav-item"},sie={class:"nav-icon-wrapper"},iie={class:"nav-text settings"},oie={href:"/test",class:"nav-item"},lie={class:"nav-icon-wrapper"},cie={class:"nav-text sign-in-container"},uie={class:"fancy-button"},die=i.defineComponent({__name:"NavigationSide",props:Nse,setup(e){const t=e,{t:n}=se(),r=i.ref(),a=i.ref();let A;i.onMounted(()=>{var o;A=new ResizeObserver(s),r.value&&A.observe(r.value),(o=a.value)==null||o.addEventListener("scroll",s),s()}),i.onUnmounted(()=>{var o;A.disconnect(),(o=a.value)==null||o.removeEventListener("scroll",s)});function s(){var c,u;let o=!1,l=!1;a.value&&(a.value.clientHeight<a.value.scrollHeight&&(o=a.value.scrollTop>0,l=a.value.scrollTop<a.value.scrollHeight-a.value.clientHeight),(c=a.value)==null||c.classList.toggle("scrollable-up",o),(u=a.value)==null||u.classList.toggle("scrollable-down",l))}return(o,l)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"navigationSide",ref:r,class:i.normalizeClass(["navigation-side",t.expanded?"expanded":""])},[i.createElementVNode("div",Hse,[i.createElementVNode("div",Rse,[i.createElementVNode("div",Vse,[i.createVNode($s,{"logo-type":"logo-only"})]),i.createElementVNode("div",Kse,[i.createVNode($s,{"logo-type":"text-only"})])])]),i.createElementVNode("div",{ref_key:"navigationPages",ref:a,class:"pages content no-scrollbar"},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(t.items,c=>(i.openBlock(),i.createBlock(i.unref(Z3.RouterLink),{key:c.routerLocation,to:c.routerLocation,class:i.normalizeClass(["nav-item",c.highlighted?"highlight":""])},{default:i.withCtx(()=>[i.createElementVNode("div",$se,[i.createVNode(i.unref(ze),{class:"nav-icon",icon:c.faIcon},null,8,["icon"])]),i.createElementVNode("div",Wse,i.toDisplayString(c.text),1)]),_:2},1032,["to","class"]))),128))],512),i.createElementVNode("div",Gse,[t.isLoggedIn?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createElementVNode("div",zse,[i.createElementVNode("div",jse,[i.createVNode(i.unref(ze),{class:"nav-icon",icon:"gift"})]),Yse]),i.createElementVNode("div",qse,[i.createElementVNode("div",Xse,[i.createVNode(i.unref(ze),{class:"nav-icon",icon:"cog"})]),i.createElementVNode("div",Jse,[i.createElementVNode("div",null,i.toDisplayString(i.unref(n)("general.settings")),1),i.createVNode(i.unref(ze),{class:"icon",icon:"language"})])]),i.createElementVNode("div",Zse,[i.createElementVNode("div",eie,[i.createVNode(i.unref(ze),{class:"nav-icon",icon:"rotate-right"})]),i.createElementVNode("div",tie,i.toDisplayString(i.unref(n)("general.syncUserData")),1)]),i.createElementVNode("div",nie,[i.createElementVNode("div",rie,[i.createVNode(Ja,{"card-code-prop":t.iconCard??"05BC160","ignore-card-item":!0,"color-override":t.bannerColor},null,8,["card-code-prop","color-override"])]),i.createElementVNode("div",aie,i.toDisplayString(t.name),1)])],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createElementVNode("div",Aie,[i.createElementVNode("div",sie,[i.createVNode(i.unref(ze),{class:"nav-icon",icon:"cog"})]),i.createElementVNode("div",iie,[i.createElementVNode("div",null,i.toDisplayString(i.unref(n)("general.settings")),1),i.createVNode(i.unref(ze),{class:"icon",icon:"language"})])]),i.createElementVNode("a",oie,[i.createElementVNode("div",lie,[i.createVNode(i.unref(ze),{class:"nav-icon",icon:"arrow-right-to-bracket"})]),i.createElementVNode("div",cie,[i.createElementVNode("div",uie,i.toDisplayString(i.unref(n)("general.signIn")),1)])])],64))])],2))}});const u1=N(die,[["__scopeId","data-v-063912d6"]]),fie=i.defineComponent({__name:"NavigationTopMobile",props:Od,setup(e){const t=e,n=i.ref(!1),r=i.ref(!1),a=i.ref(),A=i.ref();window.addEventListener("click",s);function s(c){var u;n.value&&(n.value=!!((u=A.value)!=null&&u.contains(c.target)))}function o(){i.nextTick(()=>{n.value=!0,i.nextTick(()=>{var c,u;(u=(c=a.value)==null?void 0:c.$el.querySelector("input"))==null||u.focus()})})}function l(){r.value=!0}return i.onUnmounted(()=>{window.removeEventListener("click",s)}),(c,u)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"navigationTopMobile",ref:A,class:"navigation-top-mobile"},[n.value?(i.openBlock(),i.createBlock(Ru,{key:1,ref_key:"searchBar",ref:a,class:"search-bar"},null,512)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createVNode(i.unref(ze),{class:"icon",icon:"bars",onClick:l}),i.createVNode($s,{class:"logo-icon","logo-type":"text-only"}),i.createVNode(i.unref(ze),{class:"icon",icon:"search",onClick:i.withModifiers(o,["stop","prevent"])},null,8,["onClick"])],64)),i.createVNode(PA,{"show-modal":r.value,"onUpdate:showModal":u[0]||(u[0]=d=>r.value=d)},{default:i.withCtx(()=>[i.createVNode(u1,i.mergeProps({class:"navigation-side"},t,{expanded:!0}),null,16)]),_:1},8,["show-modal"])],512))}});const d1=N(fie,[["__scopeId","data-v-00513f55"]]),hie={class:"navigation-top"},pie=i.defineComponent({__name:"NavigationTop",props:Od,setup(e){const t=e;return(n,r)=>(i.openBlock(),i.createElementBlock("div",hie,[i.createVNode(Gm,i.mergeProps({class:"navigation-top-desktop"},t),null,16),i.createVNode(d1,i.mergeProps({class:"navigation-top-mobile"},t),null,16)]))}});const T3=N(pie,[["__scopeId","data-v-6df2641b"]]),gie={modelValue:{type:String,required:!0,default:!1}},mie=["value"],vie=i.defineComponent({__name:"ColorPicker",props:gie,emits:["update:modelValue"],setup(e,{emit:t}){const n=e;function r(a){t("update:modelValue",a.target.value)}return(a,A)=>(i.openBlock(),i.createElementBlock("input",{type:"color",value:n.modelValue,onInput:r},null,40,mie))}});const D3=N(vie,[["__scopeId","data-v-5ebbd7eb"]]),Bie={rows:{type:Array,required:!0,default:[]},selectedRegion:{type:String,required:!0,default:"americas"}},yie={class:"multiselect-wrapper"},wie=i.defineComponent({__name:"DashboardLeaderboardTable",props:Bie,emits:["update:selectedRegion"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=i.ref(n.selectedRegion),A=[{title:r("general.leaderboard"),id:"leaderboard"}];return i.watch(a,s=>{t("update:selectedRegion",s)}),(s,o)=>(i.openBlock(),i.createBlock(zA,{class:"small-table","heading-items":A},{heading:i.withCtx(()=>[i.createElementVNode("div",yie,[i.createVNode(i.unref(Vt),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=l=>a.value=l),class:"multiselect",placeholder:i.unref(r)("general.server"),options:i.unref(we)().dataJson.servers,"can-clear":!1,label:"name","value-prop":"nameRef"},null,8,["modelValue","placeholder","options"])])]),default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.rows,(l,c)=>(i.openBlock(),i.createBlock(a1,{id:l.id,key:l.id,change:l.change,lp:l.lp,name:l.name,rank:l.rank,"selected-banner-card":l.selectedBannerCard,matches:l.matches,index:c+2},null,8,["id","change","lp","name","rank","selected-banner-card","matches","index"]))),128))]),_:1}))}});const O3=N(wie,[["__scopeId","data-v-fe0f916c"]]),bie={archetypeId:{type:Number,required:!0,default:1},deckcode:{type:String,required:!0,default:""},index:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1},playrate:{type:Number,required:!0,default:1},regions:{type:Array,required:!0,default:[]},cards:{type:Array,required:!0,default:[]}},_ie=e=>(i.pushScopeId("data-v-403b89f6"),e=e(),i.popScopeId(),e),Cie={href:"/test",class:"wrapper"},Eie={class:"table-card-row-background-wrapper"},kie={class:"table-card-row-background"},Sie=_ie(()=>i.createElementVNode("div",{class:"background-card"},null,-1)),xie=[Sie],Fie={class:"archetypes-row wrapper"},Iie={class:"column-content"},Uie={class:"column-content"},Qie=i.defineComponent({__name:"ArchetypesRow",props:bie,setup(e){const t=e,n=i.computed(()=>St(t.deckcode)),r=i.computed(()=>nn(n.value)),a=i.computed(()=>t.cards.map(A=>`https://lor.gg/storage/cards/banner/${A}.png`));return(A,s)=>(i.openBlock(),i.createElementBlock("a",Cie,[i.createElementVNode("div",{class:"archetypes-row-wrapper wrapper",style:i.normalizeStyle({"--index":t.index})},[i.createElementVNode("div",Eie,[i.createElementVNode("div",kie,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(a.value,o=>(i.openBlock(),i.createElementBlock("div",{key:o,class:"background-card-wrapper",style:i.normalizeStyle({"--background-image":`url(${o})`})},xie,4))),128))])]),i.createElementVNode("div",Fie,[i.createElementVNode("div",{class:"column-content deck-highlight-wrapper",onClick:s[0]||(s[0]=i.withModifiers(()=>{},["stop","prevent"]))},[i.createVNode(ja,{"deck-code":t.deckcode,deck:n.value,cards:r.value},null,8,["deck-code","deck","cards"])]),i.createElementVNode("div",Iie,i.toDisplayString(i.unref(Te)(t.matches)),1),i.createElementVNode("div",{class:"column-content",style:i.normalizeStyle({color:`var(${i.unref(Jn)(t.wins/t.matches)})`})},i.toDisplayString(i.unref(Te)(t.wins/t.matches*100,2,3)+"%"),5),i.createElementVNode("div",Uie,i.toDisplayString(i.unref(Te)(t.playrate,2,3)+"%"),1)])],4)]))}});const f1=N(Qie,[["__scopeId","data-v-403b89f6"]]),Tie={archetypeRows:{type:Array,required:!0,default:[]}},Die=i.defineComponent({__name:"ArchetypesTable",props:Tie,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=i.ref([{id:"deck",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.deck")},{id:"matches",isShown:!0,sortDirection:be.DOWN,title:r("general.matches")},{id:"winrate",isShown:!0,sortDirection:be.NEITHER,title:r("general.winrate")},{id:"playrate",isShown:!0,sortDirection:be.NEITHER,title:r("general.playrate")}]);function A(s){const o=js(s,a);o&&t("sort-updated",o)}return(s,o)=>(i.openBlock(),i.createBlock(Xa,{class:"large-table","heading-items":a.value,onToggleSort:A},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.archetypeRows,(l,c)=>(i.openBlock(),i.createBlock(f1,{key:l.deckcode,"archetype-id":l.archetypeId,cards:l.cards,deckcode:l.deckcode,index:c+2,matches:l.matches,playrate:l.playrate,regions:l.regions,wins:l.wins},null,8,["archetype-id","cards","deckcode","index","matches","playrate","regions","wins"]))),128))]),_:1},8,["heading-items"]))}});const L3=N(Die,[["__scopeId","data-v-0bc0b4ec"]]),Oie={typeSummary:{type:Object,required:!0,default:{quantity:0,isError:!1,typeRef:"Champion"}}},Lie={class:"number-container"},Mie={key:0,class:"type-icon"},Nie=i.defineComponent({__name:"DeckBuilderSummaryType",props:Oie,setup(e){const t=e;return(n,r)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["deck-builder-summary-type",[t.typeSummary.isError?"error":"",t.typeSummary.typeRef==="Deck"?"deck":""]])},[i.createElementVNode("div",Lie,i.toDisplayString(t.typeSummary.quantity),1),t.typeSummary.typeRef!=="Deck"?(i.openBlock(),i.createElementBlock("div",Mie,[t.typeSummary.typeRef==="Champion"?(i.openBlock(),i.createBlock(i1,{key:0})):t.typeSummary.typeRef==="Follower"?(i.openBlock(),i.createBlock(s1,{key:1})):t.typeSummary.typeRef==="Spell"?(i.openBlock(),i.createBlock(l1,{key:2})):t.typeSummary.typeRef==="Landmark"?(i.openBlock(),i.createBlock(o1,{key:3})):t.typeSummary.typeRef==="Equipment"?(i.openBlock(),i.createBlock(c1,{key:4})):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0)],2))}});const Ba=N(Nie,[["__scopeId","data-v-2e6bb287"]]),Pie={cards:{type:Array,required:!0,default:[]},deck:{type:Object,required:!0,default:{}}},Hie={class:"deck-builder-summary"},Rie=i.defineComponent({__name:"DeckBuilderSummary",props:Pie,setup(e){const t=e;function n(c,u,d){const f=t.cards.filter(c).map(h=>t.deck[h.cardCode]).reduce((h,p)=>h+p,0);return{typeRef:d,quantity:f,isError:u(f)}}const r=i.computed(()=>n(c=>c.typeRef==="Unit"&&c.supertype==="Champion",c=>c>6,"Champion")),a=i.computed(()=>n(c=>c.typeRef==="Unit"&&c.supertype==="",()=>!1,"Follower")),A=i.computed(()=>n(c=>c.typeRef==="Spell",()=>!1,"Spell")),s=i.computed(()=>n(c=>c.typeRef==="Landmark",()=>!1,"Landmark")),o=i.computed(()=>n(c=>c.typeRef==="Equipment",()=>!1,"Equipment")),l=i.computed(()=>n(()=>!0,c=>c!==40,"Deck"));return(c,u)=>(i.openBlock(),i.createElementBlock("div",Hie,[i.createVNode(Ba,{"type-summary":r.value},null,8,["type-summary"]),i.createVNode(Ba,{"type-summary":a.value},null,8,["type-summary"]),i.createVNode(Ba,{"type-summary":A.value},null,8,["type-summary"]),i.createVNode(Ba,{"type-summary":s.value},null,8,["type-summary"]),i.createVNode(Ba,{"type-summary":o.value},null,8,["type-summary"]),i.createVNode(Ba,{"type-summary":l.value},null,8,["type-summary"])]))}});const h1=N(Rie,[["__scopeId","data-v-ec8f0fa9"]]),Vie={rows:{type:Array,required:!0,default:[]}},Kie=i.defineComponent({__name:"DashboardCardTable",props:Vie,setup(e){const t=e,{t:n}=se(),r=[{title:n("general.cards"),id:"cards"},{title:n("general.matches"),id:"matches"},{title:n("general.winrate"),id:"winrate"}];return(a,A)=>(i.openBlock(),i.createBlock(zA,{class:"small-table","heading-items":r},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(t.rows,s=>(i.openBlock(),i.createBlock(r1,{key:s.cardCode,"card-code":s.cardCode,matches:s.matches,wins:s.wins,index:s.index+2},null,8,["card-code","matches","wins","index"]))),128))]),_:1}))}});const M3=N(Kie,[["__scopeId","data-v-e5817be3"]]),$ie={modelValue:{type:Number,required:!0,default:5}},Wie=["value"],Gie=i.defineComponent({__name:"ZoomSlider",props:$ie,emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=i.ref(),a=i.ref();function A(s){t("update:modelValue",Number.parseInt(s.target.value))}return i.onMounted(()=>{At(r.value,{content:a.value,arrow:!0,interactive:!0,trigger:"mouseenter click",interactiveBorder:10})}),(s,o)=>{const l=i.resolveComponent("FontAwesomeIcon");return i.openBlock(),i.createElementBlock("div",null,[i.createElementVNode("div",{ref_key:"button",ref:r,class:"circle-button"},[i.createVNode(l,{icon:"search-plus",class:"zoom-button"})],512),i.createElementVNode("div",{ref_key:"slider",ref:a,class:"slider-wrapper"},[i.createElementVNode("input",{type:"range",min:"1",max:"10",class:"slider",value:n.modelValue,onInput:A},null,40,Wie)],512)])}}});const N3=N(Gie,[["__scopeId","data-v-bac83f78"]]),zie={cardProp:{type:Object,required:!1,default:void 0},cardCodeProp:{type:String,required:!1,default:void 0}},Ld=e=>(i.pushScopeId("data-v-7a77ebe8"),e=e(),i.popScopeId(),e),jie={class:"card-overview"},Yie={class:"overview-top"},qie={class:"card-name"},Xie={class:"card-tags-container"},Jie={class:"card-tags"},Zie={class:"card-tag"},eoe={class:"card-tag-text"},toe={class:"card-tag"},noe={class:"card-tag-text"},roe={class:"card-tag"},aoe={class:"card-tag-text"},Aoe={class:"card-tag"},soe={class:"card-tag-text"},ioe=Ld(()=>i.createElementVNode("hr",{class:"divider"},null,-1)),ooe={class:"card-text"},loe=Ld(()=>i.createElementVNode("hr",{class:"divider"},null,-1)),coe={class:"keyword-description"},uoe={class:"keyword-name"},doe=Ld(()=>i.createElementVNode("hr",{class:"divider"},null,-1)),foe={class:"flavor-text"},hoe=Ld(()=>i.createElementVNode("div",{class:"card-art-section"},[i.createElementVNode("div",{class:"card-art-button primary-button"},"Card Art")],-1)),poe=i.defineComponent({__name:"CardOverview",props:zie,setup(e){const t=e,n=Oo(t.cardProp,t.cardCodeProp,!0),r=i.computed(()=>{if(n.value===void 0)return[];const l=[];for(const c of n.value.keywordRefs){const u=we().dataJson.keywords.find(d=>d.nameRef===c);u&&l.push(u)}return l}),a=i.computed(()=>{if(n.value===void 0)return null;const l=we().dataJson;return Ao(n.value.regionRefs[0])?l.runeterraChampions.find(c=>c.nameRef===n.value.regionRefs[0])??l.regions[0]:l.regions.find(c=>c.nameRef===n.value.regionRefs[0])??l.regions[0]}),A=i.computed(()=>n.value===void 0?null:we().dataJson.rarities.find(l=>l.nameRef===n.value.rarityRef)??we().dataJson.rarities[0]),s=i.computed(()=>n.value===void 0?null:we().dataJson.types.find(l=>l.nameRef===n.value.typeRef)??we().dataJson.types[0]),o=i.computed(()=>n.value===void 0?null:we().dataJson.sets.find(l=>l.nameRef===n.value.set)??we().dataJson.sets[0]);return(l,c)=>{var d,f,h,p,m,y,g,v;const u=i.resolveComponent("FontAwesomeIcon");return i.openBlock(),i.createElementBlock("div",jie,[i.unref(n)?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createElementVNode("div",Yie,[i.createElementVNode("div",qie,i.toDisplayString(i.unref(n).name),1),i.createVNode(u,{icon:"times",class:"close-icon"})]),i.createElementVNode("div",Xie,[i.createElementVNode("div",Jie,[i.createElementVNode("div",Zie,[i.createElementVNode("div",{class:"icon",style:i.normalizeStyle({content:`url(${((d=a.value)==null?void 0:d.icon)??""})`})},null,4),i.createElementVNode("div",eoe,i.toDisplayString((f=a.value)==null?void 0:f.name),1)]),i.createElementVNode("div",toe,[i.createElementVNode("div",{class:"icon",style:i.normalizeStyle({content:`url(${((h=A.value)==null?void 0:h.icon)??""})`})},null,4),i.createElementVNode("div",noe,i.toDisplayString((p=A.value)==null?void 0:p.name),1)]),i.createElementVNode("div",roe,[i.createElementVNode("div",{class:"icon",style:i.normalizeStyle({content:`url(${((m=s.value)==null?void 0:m.icon)??""})`})},null,4),i.createElementVNode("div",aoe,i.toDisplayString((y=s.value)==null?void 0:y.name),1)]),i.createElementVNode("div",Aoe,[i.createElementVNode("div",{class:"icon",style:i.normalizeStyle({content:`url(${((g=o.value)==null?void 0:g.icon)??""})`})},null,4),i.createElementVNode("div",soe,i.toDisplayString((v=o.value)==null?void 0:v.name),1)])])]),ioe,i.createElementVNode("div",ooe,i.toDisplayString(i.unref(n).descriptionRaw),1),loe,(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(r.value,_=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:_.nameRef},[i.createElementVNode("div",coe,[i.createElementVNode("b",uoe,i.toDisplayString(_.name+" - "),1),i.createElementVNode("span",null,i.toDisplayString(_.description),1)]),doe],64))),128)),i.createElementVNode("div",foe,i.toDisplayString(i.unref(n).flavorText),1),hoe],64)):i.createCommentVNode("",!0)])}}});const P3=N(poe,[["__scopeId","data-v-7a77ebe8"]]),goe={gameType:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1}},moe={class:"profile-game-type-winrate"},voe={class:"game-type"},Boe=i.defineComponent({__name:"ProfileGameTypeWinrate",props:goe,setup(e){const t=e;return(n,r)=>(i.openBlock(),i.createElementBlock("div",moe,[i.createElementVNode("div",voe,i.toDisplayString(t.gameType),1),i.createVNode(n1,{matches:t.matches,wins:t.wins},null,8,["matches","wins"])]))}});const H3=N(Boe,[["__scopeId","data-v-1bb3c9de"]]),yoe={deckRows:{type:Array,required:!0,default:[]}},woe=i.defineComponent({__name:"DecksTable",props:yoe,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=i.ref([{id:"deck",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.deck")},{id:"matches",isShown:!0,sortDirection:be.DOWN,title:r("general.matches")},{id:"winrate",isShown:!0,sortDirection:be.NEITHER,title:r("general.winrate")},{id:"manaCurve",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.manaCurve")},{id:"cost",isShown:!0,sortDirection:be.NOT_SORTABLE,title:r("general.cost")}]);function A(s){const o=js(s,a);o&&t("sort-updated",o)}return(s,o)=>(i.openBlock(),i.createBlock(Xa,{class:"large-table","heading-items":a.value,onToggleSort:A},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.deckRows,(l,c)=>(i.openBlock(),i.createBlock(dl,{key:l.deckCode,type:"data",deckcode:l.deckCode,matches:l.matches,wins:l.wins,index:c+2},null,8,["deckcode","matches","wins","index"]))),128))]),_:1},8,["heading-items"]))}});const R3=N(woe,[["__scopeId","data-v-ab6c4ad4"]]),boe={deckCode:{type:String,required:!1,default:""}},_oe={deck:{type:Object,required:!0,default:{}}},Coe={class:"deck-preview-wrapper"},Eoe=i.defineComponent({__name:"ShowDeckPreviewButton",props:_oe,setup(e){const t=e,{t:n}=se(),r=i.ref(null),a=i.ref(!1);return i.onMounted(()=>{At(r.value,{content:n("deck.showPreview"),arrow:!0})}),(A,s)=>(i.openBlock(),i.createElementBlock("div",null,[i.createElementVNode("button",{ref_key:"button",ref:r,class:"circle-button",onClick:s[0]||(s[0]=o=>a.value=!0)},[i.createVNode(i.unref(ze),{icon:"camera"})],512),i.createVNode(PA,{"show-modal":a.value,"onUpdate:showModal":s[1]||(s[1]=o=>a.value=o)},{default:i.withCtx(()=>[i.createElementVNode("div",Coe,[i.createVNode(i.unref(Td),{deck:t.deck},null,8,["deck"])])]),_:1},8,["show-modal"])]))}});const koe=N(Eoe,[["__scopeId","data-v-52db4752"]]),Soe={class:"cards-container no-scrollbar"},xoe={class:"bottom"},Foe={class:"bottom-buttons"},Ioe={class:"fancy-button"},V3=i.defineComponent({__name:"DeckBuilderSidePanel",props:boe,emits:["update:card-quantity"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=i.computed(()=>{if(n.deckCode)return St(n.deckCode);throw new Error("Deck or DeckCode must be defined")}),A=i.computed(()=>nn(a.value));return(s,o)=>(i.openBlock(),i.createBlock($u,{"show-clear-all":!1},{default:i.withCtx(()=>[i.createVNode(i.unref(h1),{cards:A.value,deck:a.value},null,8,["cards","deck"]),i.createVNode(i.unref(ol),{class:"mana-curve-chart","padding-top":0,"show-data-labels":!1,"data-labels-offset":0,"tooltips-enabled":!1,"display-x-scale":!0,deck:a.value},null,8,["deck"]),i.createElementVNode("div",Soe,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.value,l=>(i.openBlock(),i.createBlock(i.unref(dn),{"onUpdate:cardQuantity":o[0]||(o[0]=c=>t("update:card-quantity",c)),key:l.cardCode,"card-prop":l,"maintain-aspect-ratio":!0,"quantity-number":a.value[l.cardCode],"show-plus-minus":!0,class:"card-slice-item"},null,8,["card-prop","quantity-number"]))),128))]),i.createElementVNode("div",xoe,[i.createElementVNode("div",Foe,[i.createVNode(i.unref(wd),{deck:a.value},null,8,["deck"]),i.createVNode(i.unref(yd),{"deck-code":n.deckCode},null,8,["deck-code"]),i.createVNode(koe,{deck:a.value},null,8,["deck"]),i.createVNode(i.unref(bd),{"deck-code":n.deckCode},null,8,["deck-code"])]),i.createElementVNode("div",Ioe,i.toDisplayString(i.unref(r)("general.save")),1)])]),_:1}))}});const Uoe={install:async e=>{e.component("RevealCarousel",lg),e.component("SearchBar",Ru),e.component("SocialLinks",ug),e.component("ModalItem",PA),e.component("FilterSampleSize",Ko),e.component("FilterRanks",Ab),e.component("FilterManaCost",dg),e.component("FilterRarities",fg),e.component("FilterSets",hg),e.component("FilterKeywords",pg),e.component("FilterServers",Gs),e.component("FilterTime",zs),e.component("FilterCardCodes",mg),e.component("FilterDecks",ob),e.component("FilterAdvanced",Bg),e.component("FilterRegions",Ku),e.component("FilterCards",lb),e.component("AdvancedFilterItem",vg),e.component("FilterTypes",yg),e.component("RegionsLine",wg),e.component("CardsTable",cb),e.component("DeckHighlightRegions",Wo),e.component("GemsCost",Cg),e.component("CardSliceItem",dn),e.component("LanguageSelection",Eg),e.component("DeckSidePanel",JC),e.component("DeckHighlight",ja),e.component("ArchetypeSidePanel",n3),e.component("OpenInDeckBuilderButton",Fm),e.component("CopyDeckButton",yd),e.component("UpdateDeckPrivacyButton",Um),e.component("EditDeckNameButton",Sm),e.component("UploadDeckToLorButton",bd),e.component("DeleteDeckButton",km),e.component("OpenArchetypePageButton",xm),e.component("SimulateMulliganButton",wd),e.component("SocialMediaLinks",r3),e.component("DecksRow",dl),e.component("CardItemLinkWrapper",A3),e.component("DeckHighlightCards",Go),e.component("CheckboxItem",tn),e.component("NavigationTopDesktop",Gm),e.component("SidePanelSectionPane",bt),e.component("CardSimilarCards",s3),e.component("DashboardSignUp",o3),e.component("MatchItem",l3),e.component("ToggleSwitch",Vu),e.component("LeaderboardTop10Region",zm),e.component("ShareButton",Tm),e.component("LeaderboardDetailRow",jm),e.component("DeckBlock",c3),e.component("SmallTable",zA),e.component("LeaderboardTop",u3),e.component("CardLottery",d3),e.component("DashboardProfile",f3),e.component("LeaderboardChart",p3),e.component("CardQuantityBarChart",g3),e.component("WinsLossesBarChart",m3),e.component("RoundCardInfoBarChart",v3),e.component("LineChart",B3),e.component("ManaCurveChart",ol),e.component("WinrateDoughnutChart",Zm),e.component("InfoDoughnutChart",cu),e.component("BuiltDecksTable",y3),e.component("ProfileRegionTable",w3),e.component("ProfileArchetypeTable",b3),e.component("CardItem3d",Jm),e.component("LeaderboardOptions",_3),e.component("SimilarDecksTable",C3),e.component("LargeTable",Xa),e.component("StatisticsPaneContainer",E3),e.component("ArchetypeSidePanelHighlight",Gu),e.component("CardCarousel",k3),e.component("DeckButtons",Dm),e.component("WinsLossesLine",n1),e.component("DashboardCardRow",r1),e.component("CardTogglePage",S3),e.component("TestComponent",x3),e.component("DashboardLeaderboardRow",a1),e.component("DeckPreview",Td),e.component("CheckboxItemManaCost",Jc),e.component("RevealDayOptions",F3),e.component("DeckDifferenceItem",Vm),e.component("DashboardNewCards",I3),e.component("CardsRow",bg),e.component("LeaderboardDetailTable",U3),e.component("DeckIcon",Q3),e.component("LogoIcon",$s),e.component("FollowerIcon",s1),e.component("ChampionIcon",i1),e.component("EternalIcon",Ym),e.component("InfoIcon",$m),e.component("LandmarkIcon",o1),e.component("ManaHexagonIcon",Vo),e.component("RuneterraIcon",Qm),e.component("ShardsIcon",_g),e.component("StandardIcon",qm),e.component("SpellIcon",l1),e.component("GauntletIcon",Xm),e.component("EquipmentIcon",c1),e.component("NavigationTop",T3),e.component("CardMultiselect",gg),e.component("ProfileDropdown",Wm),e.component("ColorPicker",D3),e.component("DashboardLeaderboardTable",O3),e.component("NavigationSide",u1),e.component("ArchetypesTable",L3),e.component("DeckBuilderSummary",h1),e.component("DeckBuilderSummaryType",Ba),e.component("DashboardCardTable",M3),e.component("ArchetypesRow",f1),e.component("RevealDayOption",A1),e.component("DeckHighlightEye",Dd),e.component("DeckDifferences",Km),e.component("ZoomSlider",N3),e.component("CardOverview",P3),e.component("CircleCardItem",Ja),e.component("ProfileGameTypeWinrate",H3),e.component("DecksTable",R3),e.component("RegionItem",$o),e.component("TippyText",Wu),e.component("ProfileRegionRow",e1),e.component("SimulateMulligan",Im),e.component("DeckSummary",Bd),e.component("NavigationTopMobile",d1),e.component("CardItem",ta),e.component("ProfileArchetypeRow",t1),e.component("DeckBuilderSidePanel",V3),e.component("FontAwesomeIcon",ze),e.component("Multiselect",Vt)}};exports.AdvancedFilterItem=vg;exports.ArchetypeSidePanel=n3;exports.ArchetypeSidePanelHighlight=Gu;exports.ArchetypesRow=f1;exports.ArchetypesTable=L3;exports.BuiltDecksTable=y3;exports.CardCarousel=k3;exports.CardItem=ta;exports.CardItem3d=Jm;exports.CardItemLinkWrapper=A3;exports.CardLottery=d3;exports.CardMultiselect=gg;exports.CardOverview=P3;exports.CardQuantityBarChart=g3;exports.CardSimilarCards=s3;exports.CardSliceItem=dn;exports.CardTogglePage=S3;exports.CardsRow=bg;exports.CardsTable=cb;exports.ChampionIcon=i1;exports.CheckboxItem=tn;exports.CheckboxItemManaCost=Jc;exports.CircleCardItem=Ja;exports.ColorPicker=D3;exports.CopyDeckButton=yd;exports.DashboardCardRow=r1;exports.DashboardCardTable=M3;exports.DashboardLeaderboardRow=a1;exports.DashboardLeaderboardTable=O3;exports.DashboardNewCards=I3;exports.DashboardProfile=f3;exports.DashboardSignUp=o3;exports.DeckBlock=c3;exports.DeckBuilderSidePanel=V3;exports.DeckBuilderSummary=h1;exports.DeckBuilderSummaryType=Ba;exports.DeckButtons=Dm;exports.DeckDifferenceItem=Vm;exports.DeckDifferences=Km;exports.DeckHighlight=ja;exports.DeckHighlightCards=Go;exports.DeckHighlightEye=Dd;exports.DeckHighlightRegions=Wo;exports.DeckIcon=Q3;exports.DeckPreview=Td;exports.DeckSidePanel=JC;exports.DeckSummary=Bd;exports.DecksRow=dl;exports.DecksTable=R3;exports.DeleteDeckButton=km;exports.EditDeckNameButton=Sm;exports.EquipmentIcon=c1;exports.EternalIcon=Ym;exports.FilterAdvanced=Bg;exports.FilterCardCodes=mg;exports.FilterCards=lb;exports.FilterDecks=ob;exports.FilterKeywords=pg;exports.FilterManaCost=dg;exports.FilterRanks=Ab;exports.FilterRarities=fg;exports.FilterRegions=Ku;exports.FilterSampleSize=Ko;exports.FilterServers=Gs;exports.FilterSets=hg;exports.FilterTime=zs;exports.FilterTypes=yg;exports.FollowerIcon=s1;exports.GauntletIcon=Xm;exports.GemsCost=Cg;exports.InfoDoughnutChart=cu;exports.InfoIcon=$m;exports.LandmarkIcon=o1;exports.LanguageSelection=Eg;exports.LargeTable=Xa;exports.LeaderboardChart=p3;exports.LeaderboardDetailRow=jm;exports.LeaderboardDetailTable=U3;exports.LeaderboardOptions=_3;exports.LeaderboardTop=u3;exports.LeaderboardTop10Region=zm;exports.LineChart=B3;exports.LogoIcon=$s;exports.ManaCurveChart=ol;exports.ManaHexagonIcon=Vo;exports.MatchItem=l3;exports.ModalItem=PA;exports.NavigationSide=u1;exports.NavigationTop=T3;exports.NavigationTopDesktop=Gm;exports.NavigationTopMobile=d1;exports.OpenArchetypePageButton=xm;exports.OpenInDeckBuilderButton=Fm;exports.ProfileArchetypeRow=t1;exports.ProfileArchetypeTable=b3;exports.ProfileDropdown=Wm;exports.ProfileGameTypeWinrate=H3;exports.ProfileRegionRow=e1;exports.ProfileRegionTable=w3;exports.RegionItem=$o;exports.RegionsLine=wg;exports.RevealCarousel=lg;exports.RevealDayOption=A1;exports.RevealDayOptions=F3;exports.RoundCardInfoBarChart=v3;exports.RuneterraIcon=Qm;exports.SearchBar=Ru;exports.ShardsIcon=_g;exports.ShareButton=Tm;exports.SidePanelSectionPane=bt;exports.SimilarDecksTable=C3;exports.SimulateMulligan=Im;exports.SimulateMulliganButton=wd;exports.SmallTable=zA;exports.SocialLinks=ug;exports.SocialMediaLinks=r3;exports.SpellIcon=l1;exports.StandardIcon=qm;exports.StatisticsPaneContainer=E3;exports.TestComponent=x3;exports.TippyText=Wu;exports.ToggleSwitch=Vu;exports.UpdateDeckPrivacyButton=Um;exports.UploadDeckToLorButton=bd;exports.WinrateDoughnutChart=Zm;exports.WinsLossesBarChart=m3;exports.WinsLossesLine=n1;exports.ZoomSlider=N3;exports.default=Uoe;exports.getCardsFromDeck=nn;exports.getDate=oE;exports.getDeckObjectFromCode=St;exports.getMostImportantCards=Ma;exports.importIcons=B8;exports.keyDayjs=MA;exports.setDescription=vE;exports.setTitle=BE;exports.setupi18n=FS;exports.useCardJsonObjectStore=jt;exports.useCardJsonStore=Zp;exports.useDataJsonStore=we;
|
|
@@ -39260,7 +39260,7 @@ ${n("general.winrate")}: ${Ye(d / u * 100, 1, 3)}%`;
|
|
|
39260
39260
|
borderColor: "rgba(0, 0, 0, 0.05)"
|
|
39261
39261
|
}
|
|
39262
39262
|
]
|
|
39263
|
-
})), a = {
|
|
39263
|
+
})), a = k(() => ({
|
|
39264
39264
|
plugins: {
|
|
39265
39265
|
legend: {
|
|
39266
39266
|
display: !1
|
|
@@ -39308,9 +39308,9 @@ ${n("general.winrate")}: ${Ye(d / u * 100, 1, 3)}%`;
|
|
|
39308
39308
|
}
|
|
39309
39309
|
} : void 0
|
|
39310
39310
|
}
|
|
39311
|
-
};
|
|
39311
|
+
}));
|
|
39312
39312
|
t.yAxis === "date" && x3(
|
|
39313
|
-
a,
|
|
39313
|
+
a.value,
|
|
39314
39314
|
t.data.map((i) => i.label)
|
|
39315
39315
|
);
|
|
39316
39316
|
const s = [
|
|
@@ -39353,9 +39353,9 @@ ${n("general.winrate")}: ${Ye(d / u * 100, 1, 3)}%`;
|
|
|
39353
39353
|
ref_key: "chart",
|
|
39354
39354
|
ref: r,
|
|
39355
39355
|
"chart-data": A.value,
|
|
39356
|
-
options: a,
|
|
39356
|
+
options: a.value,
|
|
39357
39357
|
plugins: s
|
|
39358
|
-
}, null, 8, ["chart-data"]));
|
|
39358
|
+
}, null, 8, ["chart-data", "options"]));
|
|
39359
39359
|
}
|
|
39360
39360
|
}), ZAe = {
|
|
39361
39361
|
deckRows: {
|
|
@@ -877,6 +877,6 @@ V.version="2.29.4",uV(st),V.fn=R,V.min=ZK,V.max=e$,V.now=t$,V.utc=_r,V.unix=Fz,V
|
|
|
877
877
|
Teacher: J. Willough
|
|
878
878
|
Report: I am spiderbit on left forearm. Sydell claims a misunderstanding, but his smirk belies his innocence. He is ordered to two weeks additional chores (refectory)."
|
|
879
879
|
- Ravenbloom discipline card`,artistName:"Polar Engine",name:"Spell Slinger",cardCode:"06NX013",keywords:["Fearsome"],keywordRefs:["Fearsome"],spellSpeedRef:"",rarityRef:"Common",subtypes:["SPIDER"],subtypeRefs:["SPIDER"],supertype:"",typeRef:"Unit",collectible:!0,set:"Set6",createdAt:"2022-09-09",updatedAt:"2022-09-14"}}},zte={class:"card-similar-cards"},Wte=A.defineComponent({__name:"CardSimilarCards",props:$te,setup(e){const t=e;function n(a,i,s){if(a.length===10&&s<a[0].points)return;let o=0;for(;o<a.length&&a[o].points<s;)o++;a.splice(o,0,{cardCode:i,points:s}),a.length>10&&a.splice(0,1)}const r=A.computed(()=>{const a=[],i=$t().cardJsonObject;let s=0;for(const o in i){if(o===t.card.cardCode||t.card.collectible&&!i[o].collectible)continue;s=0;const l=i[o];for(const c of l.regionRefs)for(const d of t.card.regionRefs)c===d&&(s+=2);for(const c of l.subtypes)for(const d of t.card.subtypes)c===d&&(s+=2);for(const c of l.keywordRefs)for(const d of t.card.keywordRefs)c===d&&(s+=1);l.typeRef===t.card.typeRef&&(s+=3),l.rarityRef!=="None"&&l.rarityRef===t.card.rarityRef&&(s+=1),l.typeRef==="Unit"&&t.card.typeRef==="Unit"&&(s+=(9-Math.abs(l.attack-t.card.attack))/3,s+=(9-Math.abs(l.health-t.card.health))/3),s+=(12-Math.abs(l.cost-t.card.cost))/3,n(a,o,s)}return a.reverse().map(o=>$t().cardJsonObject[o.cardCode])});return(a,i)=>(A.openBlock(),A.createElementBlock("div",zte,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(r.value,s=>(A.openBlock(),A.createBlock(Pr,{key:s.cardCode,"card-prop":s,"is-root":!0},null,8,["card-prop"]))),128))]))}}),mle="",i3=N(Wte,[["__scopeId","data-v-629c30ac"]]),Gte={logoType:{type:String,required:!0,default:"logo-and-text"}},s3=e=>(A.pushScopeId("data-v-bb0b24b5"),e=e(),A.popScopeId(),e),jte={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 862.33 136.654"},Yte=[A.createStaticVNode('<path d="M0 2.947h18.418V115.29h77.35v18.416H0Z" data-v-bb0b24b5></path><path d="M205.729 0a68.327 68.327 0 1 1-68.326 68.331A68.3 68.3 0 0 1 205.729 0Zm0 118.236a49.908 49.908 0 1 0-49.909-49.909 49.948 49.948 0 0 0 49.909 49.904Z" data-v-bb0b24b5></path><path d="M396.538 2.947a42.211 42.211 0 0 1 41.991 41.991 41.554 41.554 0 0 1-32.046 40.7l29.1 48.067H414.22l-28.363-46.962h-32.046v46.962h-18.416V68.326h39.413l-39.413-65.38Zm0 65.38a23.481 23.481 0 1 0 0-46.962h-28.73l28.363 46.962Z" data-v-bb0b24b5></path><path d="M495.266 115.291h18.418v18.416h-18.418Z" data-v-bb0b24b5></path><path d="M685.517 60.778v72.928h-18.418v-6.443a68.378 68.378 0 1 1 12.894-107.926l-12.894 13.076a49.909 49.909 0 1 0 0 71.827V79.192h-49.726V60.779Z" data-v-bb0b24b5></path><path d="M862.33 60.778v72.928h-18.417v-6.443a68.379 68.379 0 1 1 12.89-107.926l-12.89 13.076a49.909 49.909 0 1 0 0 71.827V79.192H794.19V60.779Z" data-v-bb0b24b5></path>',6)],qte={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 926.43 201.096"},Xte=[A.createStaticVNode('<path d="M251.125 49.347h14.423v87.978h60.574v14.422h-75Z" data-v-bb0b24b5></path><path d="M412.235 47.039a53.507 53.507 0 1 1-53.508 53.507 53.487 53.487 0 0 1 53.508-53.507Zm0 92.592a39.084 39.084 0 1 0-39.085-39.084 39.115 39.115 0 0 0 39.085 39.084Z" data-v-bb0b24b5></path><path d="M561.66 49.347a33.056 33.056 0 0 1 32.884 32.884 32.542 32.542 0 0 1-25.1 31.873l22.787 37.642h-16.729l-22.212-36.777h-25.1v36.777h-14.422v-51.2h30.865l-30.865-51.2Zm0 51.2a18.388 18.388 0 1 0 0-36.776h-22.5l22.211 36.776Z" data-v-bb0b24b5></path><path d="M638.976 137.325h14.423v14.422h-14.423Z" data-v-bb0b24b5></path><path d="M787.964 94.635v57.111h-14.422V146.7a53.547 53.547 0 1 1 10.1-84.518l-10.1 10.24a39.084 39.084 0 1 0 0 56.248v-19.616h-38.939v-14.42Z" data-v-bb0b24b5></path><path d="M926.429 94.635v57.111h-14.423V146.7A53.548 53.548 0 1 1 922.1 62.182l-10.094 10.24a39.084 39.084 0 1 0 0 56.248v-19.616h-38.939v-14.42Z" data-v-bb0b24b5></path><path d="M100.548 0A100.548 100.548 0 0 1 201.1 100.548a98.177 98.177 0 0 1-3.633 26.46c-.011-.011-17.535 0-17.535 0s5.292-19.211 5.292-26.46a84.672 84.672 0 0 0-169.344 0c0 46.782 39.667 84.672 84.672 84.672s73.348-43.16 73.348-43.16h18.252A100.558 100.558 0 1 1 100.548 0Z" data-v-bb0b24b5></path><path d="M108.72 45.643c19.711 0 36.623 15.51 36.623 34.994 0 16.991-12.308 31.253-28.078 34.994l15.87 25.34h59.707s-4 7.623-11.509 11.243-18.271 3.238-18.271 3.238h-38.473l-24.415-39.821H72.097v39.821h-15.87V99.945h34.182l-34.182-54.3Zm0 54.3c11.2 0 20.753-8.242 20.753-19.307s-9.557-19.307-20.753-19.307H84.304l24.416 38.614Z" data-v-bb0b24b5></path>',8)],Jte={key:2,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 201.1 201.12"},Zte=[s3(()=>A.createElementVNode("path",{d:"M100.548 0A100.548 100.548 0 0 1 201.1 100.548a98.177 98.177 0 0 1-3.633 26.46c-.011-.011-17.535 0-17.535 0s5.292-19.211 5.292-26.46a84.672 84.672 0 0 0-169.344 0c0 46.782 39.667 84.672 84.672 84.672s73.348-43.16 73.348-43.16h18.252A100.558 100.558 0 1 1 100.548 0Z"},null,-1)),s3(()=>A.createElementVNode("path",{d:"M108.72 45.643c19.711 0 36.623 15.51 36.623 34.994 0 16.991-12.308 31.253-28.078 34.994l15.87 25.34h59.707s-4 7.623-11.509 11.243-18.271 3.238-18.271 3.238h-38.473l-24.415-39.821H72.097v39.821h-15.87V99.945h34.182l-34.182-54.3Zm0 54.3c11.2 0 20.753-8.242 20.753-19.307s-9.557-19.307-20.753-19.307H84.304l24.416 38.614Z"},null,-1))],ene=A.defineComponent({__name:"LogoIcon",props:Gte,setup(e){const t=e;return(n,r)=>t.logoType==="text-only"?(A.openBlock(),A.createElementBlock("svg",jte,Yte)):t.logoType==="logo-and-text"?(A.openBlock(),A.createElementBlock("svg",qte,Xte)):(A.openBlock(),A.createElementBlock("svg",Jte,Zte))}}),vle="",tA=N(ene,[["__scopeId","data-v-bb0b24b5"]]),tne={class:"dashboard-sign-up"},nne={class:"top"},rne={class:"subtitle"},ane={class:"fancy-button"},ine=A.defineComponent({__name:"DashboardSignUp",setup(e){const{t}=se();return(n,r)=>(A.openBlock(),A.createElementBlock("div",tne,[A.createElementVNode("div",nne,[A.createVNode(tA,{"logo-type":"text-only",class:"logo-icon"}),A.createElementVNode("div",rne,A.toDisplayString(A.unref(t)("general.becomeTheMaster")),1)]),A.createElementVNode("div",ane,A.toDisplayString(A.unref(t)("general.signIn")),1)]))}}),_le="",A3=N(ine,[["__scopeId","data-v-e398dd28"]]),sne={deckCode:{type:String,required:!0,default:""},gameMode:{type:String,required:!0,default:""},gameType:{type:String,required:!0,default:""},isAttackingFirst:{type:Boolean,required:!0,default:!0},isVictory:{type:Boolean,required:!0,default:""},opponentDeckCode:{type:String,required:!0,default:""},opponentName:{type:String,required:!0,default:""},playedAt:{type:Date,required:!0,default:new Date}},Ane=e=>(A.pushScopeId("data-v-40345245"),e=e(),A.popScopeId(),e),one={class:"match-item"},lne=[Ane(()=>A.createElementVNode("div",{class:"background-card"},null,-1))],cne={class:"details"},dne={class:"match-details"},une={class:"game-type"},fne={class:"time"},pne={class:"opponent-details"},hne={class:"main"},gne={class:"container"},mne={class:"container"},bne=A.defineComponent({__name:"MatchItem",props:sne,setup(e){const t=e,{t:n}=se(),r=A.inject(si),a=A.computed(()=>xt(t.deckCode)),i=A.computed(()=>xt(t.opponentDeckCode)),s=A.computed(()=>[ca(Zt(a.value),a.value,1)[0],ca(Zt(i.value),i.value,1)[0]].map(o=>`https://lor.gg/storage/cards/banner/${o==null?void 0:o.cardCode}.png`));return(o,l)=>(A.openBlock(),A.createElementBlock("div",one,[A.createElementVNode("div",{class:"background",style:A.normalizeStyle({"--background-image":`url(${s.value[0]})`})},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(s.value,c=>(A.openBlock(),A.createElementBlock("div",{key:c,class:"background-card-wrapper",style:A.normalizeStyle({"--background-image":`url(${c})`})},lne,4))),128))],4),A.createElementVNode("div",cne,[A.createElementVNode("div",dne,[A.createElementVNode("div",une,A.toDisplayString(t.gameType),1),A.createElementVNode("div",fne,A.toDisplayString(A.unref(r)(t.playedAt).fromNow()),1)]),A.createElementVNode("div",pne,A.toDisplayString(t.opponentName),1)]),A.createElementVNode("div",hne,[A.createElementVNode("div",gne,[A.createVNode(Xa,{class:"deck-highlight",deck:a.value},null,8,["deck"])]),A.createElementVNode("div",{class:"container results",style:A.normalizeStyle({color:t.isVictory?"var(--color-good)":"var(--color-bad)"})},A.toDisplayString(t.isVictory?A.unref(n)("general.victory"):A.unref(n)("general.defeat")),5),A.createElementVNode("div",mne,[A.createVNode(Xa,{class:"deck-highlight opponent",deck:i.value},null,8,["deck"])])])]))}}),xle="",o3=N(bne,[["__scopeId","data-v-40345245"]]),yne={players:{type:Array,required:!0,default:[]}},Bne={class:"leaderboard-top-10-region"},wne=A.defineComponent({__name:"LeaderboardTop10Region",props:yne,setup(e){const t=e;return(n,r)=>(A.openBlock(),A.createElementBlock("div",Bne,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.players,a=>(A.openBlock(),A.createBlock(cn,{key:a.user_id,"card-code-prop":a.selected_banner_card??void 0,color:a.selected_banner_color??"var(--color-background-2-rgb)","mana-number":a.rank+1,name:a.name,"quantity-number":a.lp,"ignore-card-item":!0},null,8,["card-code-prop","color","mana-number","name","quantity-number"]))),128))]))}}),kle="",$m=N(wne,[["__scopeId","data-v-892efa10"]]),vne={index:{type:Number,required:!0,default:0},change:{type:Number,required:!0,default:0},favorite_deck:{type:String,required:!0,default:""},lp:{type:Number,required:!0,default:0},matches:{type:Number,required:!0,default:0},name:{type:String,required:!0,default:""},rank:{type:Number,required:!0,default:0},selected_banner_card:{type:String,required:!1,default:null},selected_banner_color:{type:String,required:!1,default:null},server:{type:String,required:!0,default:"americas"},updated_at:{type:String,required:!0,default:""},user_id:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},shownColumns:{type:Object,required:!0,default:{player:!0,lp:!0,change:!0,wins:!0,matches:!0,winrate:!0,deck:!0}}},_ne={href:"/test",class:"wrapper"},Cne={class:"leaderboard-detail-row-background-wrapper"},xne={class:"leaderboard-detail-row-background"},kne={class:"leaderboard-detail-row wrapper"},Ene={key:1,class:"column-content"},Sne={key:3,class:"column-content"},Fne={key:4,class:"column-content"},Ine={key:6,class:"column-content deck-highlight-wrapper"},Qne=A.defineComponent({__name:"LeaderboardDetailRow",props:vne,setup(e){const t=e,n=A.computed(()=>t.selected_banner_card?["",`https://lor.gg/storage/cards/banner/${t.selected_banner_card}.png`]:[]),r=A.computed(()=>t.change===null||t.change===void 0?[]:t.change===0?["neutral"]:[t.change>0?"good":"bad"]);return(a,i)=>(A.openBlock(),A.createElementBlock("a",_ne,[A.createElementVNode("div",{class:"leaderboard-detail-row-wrapper wrapper",style:A.normalizeStyle({"--index":t.index})},[A.createElementVNode("div",Cne,[A.createElementVNode("div",xne,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(n.value,s=>(A.openBlock(),A.createElementBlock("div",{key:s,class:"background-card",style:A.normalizeStyle({"--background-image":`url(${s})`})},null,4))),128))])]),A.createElementVNode("div",kne,[t.shownColumns.player?(A.openBlock(),A.createElementBlock("div",{key:0,class:"column-content card-wrapper",onClick:i[0]||(i[0]=A.withModifiers(()=>{},["stop","prevent"]))},[A.createVNode(cn,{class:"card-slice-item","card-code-prop":t.selected_banner_card??void 0,color:t.selected_banner_color??"var(--color-background-2-rgb)","ignore-card-item":!0,"mana-number":t.rank,name:t.name,"maintain-aspect-ratio":!0},null,8,["card-code-prop","color","mana-number","name"])])):A.createCommentVNode("",!0),t.shownColumns.lp?(A.openBlock(),A.createElementBlock("div",Ene,A.toDisplayString(A.unref(De)(t.lp)),1)):A.createCommentVNode("",!0),t.shownColumns.change?(A.openBlock(),A.createElementBlock("div",{key:2,class:A.normalizeClass(["column-content change",r.value])},[t.change!==null?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createVNode(A.unref(Ye),{class:"icon",icon:"fa-chevron-down"}),A.createElementVNode("span",null,A.toDisplayString(t.change?A.unref(De)(Math.abs(t.change)):""),1)],64)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createTextVNode(" Test ")],64))],2)):A.createCommentVNode("",!0),t.shownColumns.wins?(A.openBlock(),A.createElementBlock("div",Sne,A.toDisplayString(A.unref(De)(t.wins)),1)):A.createCommentVNode("",!0),t.shownColumns.matches?(A.openBlock(),A.createElementBlock("div",Fne,A.toDisplayString(A.unref(De)(t.matches)),1)):A.createCommentVNode("",!0),t.shownColumns.winrate?(A.openBlock(),A.createElementBlock("div",{key:5,class:"column-content",style:A.normalizeStyle({color:`var(${A.unref(jn)(t.wins/t.matches)})`})},A.toDisplayString(A.unref(De)(t.wins/t.matches*100,1,3))+"% ",5)):A.createCommentVNode("",!0),t.shownColumns.deck?(A.openBlock(),A.createElementBlock("div",Ine,[A.createVNode(Xa,{"deck-code":t.favorite_deck},null,8,["deck-code"])])):A.createCommentVNode("",!0)])],4)]))}}),Ele="",zm=N(Qne,[["__scopeId","data-v-1eabd397"]]),Une={deckcode:{type:String,required:!0,default:""},type:{type:String,required:!0,default:"built"},wins:{type:Number,required:!1,default:0},matches:{type:Number,required:!1,default:0},deckId:{type:Number,required:!1,default:0},userName:{type:String,required:!1,default:""},userId:{type:Number,required:!1,default:0},deckName:{type:String,required:!1,default:""},updatedAt:{type:Date,required:!1,default:new Date}},Sle="",Tne={},Dne=e=>(A.pushScopeId("data-v-5b8e191d"),e=e(),A.popScopeId(),e),One={xmlns:"http://www.w3.org/2000/svg",viewBox:"25.21 66.56 353.98 269.42"},Lne=[Dne(()=>A.createElementVNode("path",{"fill-rule":"evenodd",d:"M95 67.249c-9.442 3.237-27.165 14.29-35.055 21.862-11.985 11.504-13.495 17.449-8.521 33.553 2.884 9.338 3.125 12.31 1.653 20.336-.565 3.08-1.282 7.497-1.593 9.816-.654 4.859-1.507 6.968-3.167 7.827-3.347 1.731-6.07-.959-12.46-12.308-3.227-5.732-5.32-5.733-7.478-.002-2.901 7.705-4.229 34.074-2.178 43.267 2.612 11.708 12.146 22.248 23.887 26.408 8.91 3.158 11.435 5.049 14.233 10.662 8.79 17.627 7.541 23.49-4.121 19.348-1.98-.704-5.67-2.014-8.2-2.912-14.356-5.094-16.5 2.124-5.514 18.561 11.421 17.088 27.745 24.899 44.255 21.178 8.934-2.013 10.069-1.524 24.2 10.428 6.649 5.624 4.594 9.455-6.606 12.316-12.406 3.169-15.535 4.779-15.535 7.993 0 5.469 18.596 14.356 38.74 18.513l8.26 1.705 9.6-.008c15.176-.013 24.599-3.381 27.766-9.923 3.23-6.671-3.138-11.752-20.405-16.279-12.779-3.351-30.021-11.869-38.294-18.917-1.247-1.063-3.897-3.157-5.888-4.655-4.364-3.282-4.942-3.837-11.668-11.218-11.085-12.163-22.048-27.835-28.466-40.688-3.51-7.033-9.477-26.526-11.236-36.712-.456-2.64-1.19-6.571-1.631-8.736-2.292-11.243-2.558-44.967-.409-51.864 1.238-3.974 3.331-7.113 8.743-13.113 5.167-5.728 14.42-17.676 17.042-22.003C102.408 72.867 105.053 63.804 95 67.249m208.422.186c-3.908 3.908 15.994 38.934 31.232 54.965 10.996 11.569 10.723 10.583 10.696 38.6-.019 19.623-.295 24.066-1.963 31.6-.536 2.42-1.261 5.93-1.612 7.8-2.746 14.637-10.641 36.205-16.189 44.223-.904 1.308-3.281 4.807-5.282 7.777-10.021 14.873-21.298 27.434-32.304 35.985-8.729 6.78-14.267 10.233-24.2 15.088-5.783 2.826-8.281 3.691-18.309 6.339-18.029 4.761-23.977 11.711-16.463 19.235 10.208 10.222 41.826 8.98 67.937-2.669 18.937-8.448 18.603-13.956-1.126-18.585-11.879-2.787-13.761-6.768-6.284-13.29 10.684-9.318 15.331-11.406 22.045-9.904 19.751 4.416 38.64-5.948 49.204-26.999 7.093-14.133 2.492-17.531-14.547-10.743-14.009 5.581-15.808 2.355-8.334-14.948 3.515-8.137 5.055-9.639 13.261-12.938 12.256-4.926 18.075-9.526 22.289-17.62 5.112-9.82 6.884-21.96 4.955-33.951-.425-2.64-.978-6.6-1.229-8.8-1.713-15.016-5.073-17.902-10.183-8.747-8.477 15.19-14.387 14.824-15.445-.955-.217-3.244-.773-7.942-1.234-10.441-1.032-5.581-.845-7.054 2.093-16.489 4.123-13.244 3.044-19.481-4.99-28.827-11.239-13.075-39.907-29.817-44.018-25.706M154.939 85.232c-3.352.569-6.053 1.748-19.923 8.695-19.225 9.629-19.157 9.528-16.851 24.998.866 5.807 1.256 10.746 2.045 25.875.132 2.53.594 6.94 1.026 9.8.433 2.86 1.057 8.516 1.389 12.568.904 11.063 1.161 11.837 5.636 16.979 4.078 4.685 5.623 6.898 6.554 9.385 3.192 8.532 2.461 17.086-2.219 25.952-4.076 7.723-4.323 11.769-1.59 26.116.523 2.75 1.15 7.416 1.392 10.369.858 10.47 1.649 11.962 8.002 15.115 3.337 1.656 44.33 18.375 56 22.839 5.951 2.277 6.046 2.253 32.8-8.361 37.31-14.801 37.429-14.853 39.694-17.327 1.98-2.162 3.87-11.183 4.91-23.435.346-4.07.906-9.11 1.245-11.2.888-5.479.613-6.76-3.053-14.2-6.949-14.101-6.029-23.115 3.597-35.251 5.448-6.868 6.466-11.089 7.811-32.387.335-5.301.967-11.781 1.404-14.4.437-2.619.971-7.732 1.186-11.362.214-3.63.597-9.435.85-12.9.575-7.874.303-9.161-2.449-11.613-2.137-1.902-25.779-13.911-30.595-15.54L251 85l-47-.059c-25.85-.032-47.928.099-49.061.291m58.368 27.111c31.052 5.446 39.083 34.191 18.288 65.457-6.499 9.772-6.864 11.713-3.691 19.6.885 2.2 4.129 10.93 7.209 19.4 6.148 16.906 11.122 29.697 12.978 33.378C252.452 258.825 249.46 261 233.2 261c-15.701 0-17.591-1.169-15.554-9.621 1.257-5.212-1.044-13.36-9.338-33.066-3.593-8.535-8.291-9.515-11.759-2.453l-1.149 2.34v27.6l1.543 4.506c3.059 8.927 1.215 10.438-13.143 10.775-17.559.412-20.099-1.187-16.9-10.64l1.3-3.841V131l-1.322-3.6c-4.295-11.694-3.493-14.57 4.276-15.338 4.722-.467 39.199-.237 42.153.281m-15.188 22.413c-2.764 1.746-2.719 1.382-2.719 21.844 0 17.841.025 18.442.822 19.799 1.436 2.445 3.249 2.141 6.676-1.119 11.294-10.747 15.557-31.235 7.868-37.817-3.234-2.768-10.192-4.257-12.647-2.707"},null,-1))];function Mne(e,t){return A.openBlock(),A.createElementBlock("svg",One,Lne)}const Wm=N(Tne,[["render",Mne],["__scopeId","data-v-5b8e191d"]]),Ile="",Nne={},Pne=e=>(A.pushScopeId("data-v-5b6f3d5e"),e=e(),A.popScopeId(),e),Hne={xmlns:"http://www.w3.org/2000/svg",viewBox:"58.93 70.36 282.28 264.88"},Rne=[Pne(()=>A.createElementVNode("path",{"fill-rule":"evenodd",d:"M74.274 70.98C70.143 72.453 70 73.187 70 92.989c0 21.375-.191 20.705 7.953 27.937 2.556 2.269 6.54 5.914 8.854 8.1 2.315 2.186 5.915 5.497 8 7.359 2.086 1.861 5.953 5.468 8.593 8.015 2.64 2.547 6.42 5.963 8.4 7.591 1.98 1.628 5.94 5.133 8.8 7.788 2.86 2.654 7 6.432 9.2 8.395 2.2 1.962 5.98 5.503 8.4 7.868s6.59 6.158 9.268 8.429c4.882 4.142 12.716 11.282 23.838 21.729 3.28 3.08 7.792 7.123 10.028 8.985 2.236 1.861 5.776 5.021 7.866 7.021s5.69 5.329 8 7.396c2.31 2.068 6.81 6.22 10 9.226 3.19 3.007 7.69 7.081 10 9.053 21.285 18.171 21.513 18.953 9.193 31.537-11.486 11.732-11.469 11.443-1.589 26.173 10.712 15.973 10.896 15.947 20.619-2.991 11.834-23.052 13.416-25.365 25.434-37.203 11.725-11.549 16.26-14.348 43.754-26.997 11.527-5.303 11.173-7.25-3.018-16.595-15.492-10.2-15.171-10.208-26.226.594-13.433 13.125-12.533 13.445-37.919-13.489-3.986-4.229-12.558-13.143-19.048-19.807-6.49-6.665-13.69-14.274-16-16.909-2.31-2.635-9.78-10.466-16.6-17.402-6.82-6.936-15.279-15.667-18.799-19.402-3.519-3.734-11.46-11.95-17.645-18.256-6.186-6.306-13.297-13.768-15.802-16.581-20.002-22.467-26.5-28.126-33.898-29.522-4.553-.859-33.002-.901-35.382-.051m216.926.059c-7.757 1.18-15.308 7.452-32.457 26.961-2.998 3.41-10.947 11.813-17.664 18.674-18.498 18.89-18.283 16.816-3.329 32.126 5.05 5.17 11.341 11.83 13.981 14.8 10.629 11.958 10.819 11.943 25.898-2.122 3.206-2.991 7.616-6.926 9.8-8.745 2.184-1.819 6.041-5.312 8.571-7.763 4.366-4.231 7.244-6.886 21.639-19.97 13.379-12.161 12.447-9.635 12.278-33.282-.166-23.132 1.735-21.089-19.717-21.188-11.529-.052-16.118.07-19 .509M100.353 214.552c-2.773.991-20.47 12.72-22.081 14.635-1.619 1.924-1.444 3.394.643 5.394 1.846 1.768 16.397 9.364 26.085 13.616 11.889 5.218 13.609 6.491 26.829 19.866 11.076 11.206 10.481 10.327 20.611 30.449 11.967 23.77 11.22 23.54 22.788 7.024 10.227-14.603 10.258-13.976-1.248-25.724-10.551-10.773-10.909-12.12-5.142-19.314 4.67-5.824 3.236-8.817-9.202-19.218-2.55-2.132-6.976-6.088-9.836-8.791-8.553-8.083-10.094-8.421-16.842-3.693-6.031 4.224-8.258 3.44-18.406-6.477-8.442-8.25-10.183-9.202-14.199-7.767m-3.956 64.232c-2.342.689-4.018 2.019-10.527 8.355-3.778 3.678-8.94 8.499-11.47 10.715-7.557 6.617-12.117 11.625-13.871 15.235-4.825 9.931 1.8 21.016 12.924 21.628 6.239.343 9.298-1.455 19.527-11.475 3.971-3.89 9.903-9.585 13.182-12.657 13.369-12.524 13.444-13.102 3.039-23.437-7.544-7.493-10.098-9.161-12.804-8.364m203.369.571c-2.737 1.275-13.946 12.139-15.534 15.057-2.288 4.204-1.446 5.641 9.351 15.954 4.28 4.089 10.49 10.054 13.8 13.257 13.601 13.162 21.004 14.833 29.242 6.6 8.552-8.547 5.312-18.062-11.025-32.369-2.53-2.215-7.718-7.063-11.529-10.773-8.942-8.704-10.453-9.52-14.305-7.726"},null,-1))];function Vne(e,t){return A.openBlock(),A.createElementBlock("svg",Hne,Rne)}const Gm=N(Nne,[["render",Vne],["__scopeId","data-v-5b6f3d5e"]]),Ule="",Kne={},$ne=e=>(A.pushScopeId("data-v-81223df9"),e=e(),A.popScopeId(),e),zne={xmlns:"http://www.w3.org/2000/svg",viewBox:"5.25 32.41 384.35 392.23"},Wne=[$ne(()=>A.createElementVNode("path",{"fill-rule":"evenodd",d:"M196.56 32.706c-.242.162-.643.68-.891 1.151-.464.882-6.181 23.37-7.663 30.143-2.029 9.277-13.207 54.007-16.187 64.776-2.401 8.677-2.227 10.411 1.102 11.036 2.465.462 8.894-4.762 13.798-11.212 1.004-1.32 2.566-3.21 3.473-4.2.906-.99 2.417-2.935 3.358-4.322 2.851-4.205 4.112-4.166 7.292.224.916 1.264 2.6 3.288 3.743 4.498 1.142 1.21 3.257 3.64 4.698 5.401 6.387 7.801 10.008 10.411 12.645 9.115 2.896-1.422 3.516 2.259-6.28-37.316-2.423-9.79-4.945-20.05-5.603-22.8-8.63-36.06-11.562-46.819-12.753-46.794-.161.003-.49.138-.732.3m-77.835 9.868c-4.03 2.43-9.532 6.24-14.703 10.181-9.024 6.878-10.169 7.804-13.417 10.853-1.763 1.654-4.015 3.621-5.005 4.371-.99.75-3.702 3.177-6.026 5.393-2.324 2.215-5.474 5.198-7 6.628-3.458 3.241-9.993 10.614-12.232 13.8-.928 1.32-2.79 3.75-4.139 5.4-1.349 1.65-3.548 4.53-4.888 6.4-1.34 1.87-2.926 3.85-3.524 4.4-.599.55-2.45 2.8-4.113 5-1.663 2.2-3.953 5.08-5.087 6.4-1.134 1.32-3.261 4.11-4.725 6.2-1.464 2.09-3.443 4.88-4.399 6.2-8.17 11.289-23.812 36.82-24.163 39.441-.282 2.099.484 2.895 3.842 3.991 24.399 7.967 28.64 32.858 8.613 50.547-4.2 3.71-4.802 4.749-4.005 6.917 1.139 3.094 4.592 10.511 5.944 12.767.771 1.285 2.411 4.317 3.645 6.737s3.462 6.311 4.95 8.646c1.489 2.336 3.697 5.821 4.907 7.746 7.683 12.222 15.624 23.335 21.97 30.748 1.666 1.947 4.165 4.917 5.552 6.6 3.393 4.116 18.291 19.067 22.278 22.357 1.76 1.452 4.28 3.669 5.6 4.926 3.052 2.907 14.983 11.823 22.898 17.112 3.353 2.241 7.313 5.202 8.8 6.581 1.486 1.378 4.005 3.554 5.597 4.836 1.592 1.282 3.752 3.43 4.8 4.774 1.048 1.344 3.54 4.161 5.538 6.259 5.088 5.343 11.547 13.615 14.195 18.181 5.189 8.946 7.369 7.129 5.539-4.618-.458-2.942-.98-6.518-1.161-7.948-.906-7.167-3.701-21.63-4.87-25.2-4.277-13.062-8.002-19.195-11.662-19.199-2.363-.002-5.716-2.286-11.474-7.815-1.65-1.585-4.08-3.663-5.4-4.619-3.099-2.244-19.447-18.69-23.229-23.367-1.601-1.98-4.093-4.95-5.536-6.6-7.749-8.854-11.713-14.165-20.9-28-2.557-3.85-5.634-8.44-6.837-10.2-5.081-7.431-6.634-10.061-11.099-18.794-2.586-5.056-5.616-10.546-6.735-12.2-2.255-3.333-6.408-12.086-7.014-14.781-.886-3.942 4.505-17.812 11.748-30.225 1.155-1.98 3.322-5.76 4.815-8.4 3.088-5.461 12.353-19.487 14.344-21.717.729-.816 2.922-3.643 4.874-6.283 4.239-5.731 12.608-16.065 16.623-20.525 2.06-2.289 2.639-4.032 4.337-13.06 1.059-5.628 4.403-17.624 6.027-21.615.626-1.54 2.075-5.23 3.219-8.2 1.145-2.97 2.752-6.75 3.572-8.4.82-1.65 2.428-5.16 3.571-7.8 1.144-2.64 2.587-5.61 3.206-6.6.619-.99 2.405-4.315 3.97-7.388 4.164-8.182 3.716-10.062-1.631-6.838m152.701-1.017c-.394.638.802 3.336 6.061 13.68 7.714 15.171 14.334 30.793 16.444 38.805.428 1.627 1.251 4.578 1.828 6.558.577 1.98 1.741 6.957 2.586 11.061 1.741 8.459 1.616 8.201 7.055 14.569 3.573 4.183 5.806 6.933 12.8 15.763 17.7 22.344 38.646 60.307 37.177 67.379-.676 3.251-8.705 20.112-15.157 31.828-5.617 10.199-23.977 36.675-29.818 43-.813.88-2.297 2.68-3.298 4-1.001 1.32-2.399 2.94-3.107 3.6-.707.66-2.331 2.55-3.608 4.2-2.713 3.505-27.938 28.771-31.236 31.286-1.235.943-3.395 2.69-4.8 3.883-3.642 3.095-5.699 4.303-7.862 4.618-2.822.411-3.4.977-5.808 5.693-5.426 10.628-7.737 19.106-9.9 36.32-.194 1.54-.629 4.211-.968 5.935-.693 3.535-.813 9.292-.225 10.839.813 2.137 2.274 1.116 6.546-4.574 1.239-1.65 3.164-4.08 4.277-5.4 1.114-1.32 3.412-4.11 5.106-6.2 7.458-9.199 18.47-19.652 26.23-24.899 20.895-14.128 42.028-32.329 55.15-47.501 1.998-2.31 4.673-5.28 5.945-6.6 3.106-3.225 9.323-11.242 16.556-21.349 10.726-14.987 23-38.069 23-43.251 0-1.421-.265-1.773-3.657-4.866-13.765-12.547-17.154-26-10.012-39.734 2.918-5.61 7.799-9.456 15.469-12.187 3.788-1.349 5.4-2.597 5.4-4.181 0-2.486-15.591-29.304-21.703-37.33-.964-1.266-2.992-4.102-4.507-6.302-3.233-4.697-12.836-17.271-16.037-21-1.228-1.43-5.14-5.903-8.693-9.939-3.553-4.037-7.9-9.063-9.66-11.17-6.962-8.333-21.833-22.69-29.55-28.528-2.007-1.519-6.922-5.237-10.921-8.262-11.116-8.41-16.153-11.28-17.103-9.744M179.2 51.341c-.55.296-3.07 1.762-5.6 3.259-2.53 1.498-7.39 4.339-10.8 6.313-3.41 1.975-7.46 4.406-9 5.403-1.54.997-6.847 4.239-11.794 7.206-15.808 9.481-31.025 19.992-33.345 23.033-1.987 2.605-3.944 11.726-2.958 13.789 1.055 2.209 2.118 1.698 11.097-5.333 19.356-15.157 31.76-23.788 34.211-23.805 1.433-.01 2.574 1.182 4.172 4.361 3.175 6.314 4.208 6.746 8.866 3.708 1.623-1.058 4.259-2.7 5.857-3.649 4.495-2.667 4.798-3.169 6.895-11.426.447-1.76 1.8-7.035 3.006-11.723 2.901-11.276 2.809-12.968-.607-11.136m34.667.526c-1.284 1.284 5.221 27.239 7.638 30.478.938 1.256 7.903 6.113 11.489 8.011 3.101 1.642 4.066 1.08 6.79-3.956 3.49-6.451 3.98-6.45 13.616.006 7.527 5.044 20.023 14.489 26.751 20.221 9.473 8.07 11.523 7.245 8.835-3.555-1.659-6.668-2.042-7.168-10.078-13.136-6.485-4.816-28.683-18.844-36.308-22.944-1.98-1.065-5.329-2.973-7.442-4.24-2.113-1.267-5.623-3.289-7.8-4.492-2.177-1.203-5.758-3.194-7.958-4.424-3.846-2.15-4.957-2.545-5.533-1.969m-66.528 42.131c-.473.191-2.293 1.395-4.044 2.675-1.75 1.28-5.216 3.767-7.702 5.527-15.252 10.8-20.061 14.74-30.518 25-7.651 7.506-10.953 11.189-16.78 18.709-1.488 1.92-3.502 4.491-4.476 5.713-1.563 1.962-6.305 8.602-12.875 18.026-8.992 12.898-21.491 35.511-21.525 38.94-.019 2.036 3.141 9.239 6.762 15.412.709 1.21 2.606 4.63 4.214 7.6 11.397 21.048 20.971 33.763 39.005 51.803 19.754 19.761 24.958 24.424 43.868 39.309 9.849 7.752 9.183 9.072 9.042-17.927-.125-24.038.191-22.035-3.762-23.789-1.495-.662-4.107-2.852-9.61-8.053-4.156-3.929-9.331-8.762-11.501-10.742-4.157-3.792-11.026-11.294-14.652-16.001-1.186-1.54-2.888-3.63-3.782-4.644-.894-1.015-2.767-3.535-4.162-5.6-1.86-2.755-3.274-4.326-5.305-5.893-5.021-3.876-15.634-18.493-17.185-23.669-1.028-3.43 6.996-14.13 20.767-27.694 7.562-7.448 8.393-7.601 12.523-2.294.939 1.207 3.069 3.647 4.733 5.422 1.664 1.775 3.892 4.25 4.951 5.5 2.585 3.051 3.779 3.1 7.712.317 4.055-2.87 16.785-15.892 17.142-17.536.331-1.521.569-.625-3.411-12.797-4.73-14.467-6.033-11.772 12.572-26.006 4.48-3.426 4.785-3.849 4.555-6.302-.189-2.012-4.81-13.623-7.882-19.804-.82-1.65-2.009-4.335-2.641-5.966-1.772-4.57-3.648-6.198-6.033-5.236m96.668.395c-.807.807-2.36 3.975-4.415 9.007-.629 1.54-2.336 5.5-3.793 8.8-6.848 15.511-6.888 14.52.812 19.977 8.955 6.347 14.589 11.497 14.589 13.337-.001.946-3.853 12.713-6.344 19.376-1.908 5.104-1.758 5.362 9.369 16.04 11.414 10.953 11.327 10.936 17.454 3.294 1.565-1.952 8.193-9.257 9.696-10.687 2.159-2.052 4.75-.516 12.425 7.366 14.713 15.111 20.166 22.564 19.029 26.01-.732 2.216-7.044 12.21-9.14 14.469-1.679 1.811-4.565 5.349-11.089 13.6-8.574 10.841-41.872 43.429-47.041 46.036-3.976 2.006-3.759.609-3.759 24.2 0 22.706-.039 22.382 2.721 22.382 1.569 0 2.82-.883 13.163-9.293 1.696-1.379 4.396-3.568 6-4.864 1.604-1.297 4.176-3.562 5.716-5.034 1.54-1.471 3.97-3.592 5.4-4.712 1.43-1.121 3.86-3.33 5.4-4.911 1.54-1.58 3.7-3.585 4.8-4.454 3.3-2.61 18.909-17.902 21.546-21.109 1.35-1.642 3.464-4.074 4.698-5.404 2.215-2.389 3.163-3.563 8.898-11.019 7.577-9.85 14.393-21.081 21.886-36.056 5.889-11.771 5.957-12.57 1.607-18.893-.659-.959-2.706-4.332-4.548-7.497-7.471-12.836-15.422-25.234-21.131-32.954-13.902-18.797-15.65-20.983-22.616-28.278-7.44-7.792-13.149-13.243-18.142-17.322-7.348-6.003-18.73-14.447-28.138-20.874-2.216-1.514-3.895-1.691-5.053-.533m-48.324 38.234c-.492.345-1.784 1.944-2.871 3.555-2.76 4.091-6.753 8.511-10.568 11.697-1.784 1.491-9.814 9.219-17.844 17.174-8.03 7.954-15.767 15.427-17.193 16.605-1.426 1.178-6.663 6.102-11.637 10.942-4.975 4.84-14.224 13.736-20.555 19.769-12.119 11.549-13.028 12.587-12.985 14.831.042 2.222.386 2.728 5.306 7.8 2.561 2.64 6.154 6.375 7.986 8.3 5.068 5.328 4.972 5.368 18.52-7.778 5.647-5.48 6.33-5.384 13.358 1.876 1.43 1.478 6.38 6.205 11 10.506s14.823 14.086 22.674 21.744c17.648 17.215 15.94 16.543 23.171 9.12 2.555-2.623 5.293-5.283 6.085-5.912 1.798-1.43 21.471-20.066 26.871-25.456 7.915-7.901 16.576-15.779 17.64-16.046 1.759-.441 3.27.704 10.693 8.098 8.234 8.203 9.025 8.556 11.835 5.279.787-.919 2.988-3.304 4.891-5.3 11.519-12.086 11.901-13.498 5.206-19.285-1.686-1.458-10.356-9.712-19.266-18.343-8.91-8.631-17.28-16.642-18.6-17.803-1.32-1.16-5.756-5.46-9.857-9.555-13.461-13.439-19.294-19.065-22.743-21.936-4.84-4.029-11.755-11.258-15.099-15.785-3.522-4.767-4.303-5.299-6.018-4.097m2.802 27.673c.335.385 1.442 2.328 2.46 4.318 1.977 3.863 6.153 8.307 16.146 17.182 2.23 1.98 5.461 5.196 7.181 7.146 1.721 1.951 4.658 4.92 6.528 6.597 13.563 12.168 15.184 14.028 14.195 16.285-.513 1.169-10.056 10.824-15.845 16.029-1.677 1.509-8.247 7.714-14.6 13.789-15.23 14.565-15.45 14.754-17.166 14.754-1.572 0-2.598-.881-16.275-13.988-4.24-4.063-12.901-12.339-19.247-18.392-11.302-10.781-12.662-12.29-12.662-14.049 0-.61 3.353-4.137 11.3-11.884 6.215-6.059 13.19-12.935 15.5-15.281 2.31-2.346 5.763-5.566 7.674-7.157 5.063-4.214 8.072-7.596 9.55-10.734 2.323-4.934 3.832-6.258 5.261-4.615m-2.368 9.95c-.265.113-1.38 1.408-2.476 2.878-1.977 2.648-14.1 14.843-18.559 18.667-1.275 1.094-5.46 5.272-9.3 9.285-7.641 7.986-7.921 8.488-6.192 11.11 1.133 1.72 37.333 37.449 37.81 37.319 1.004-.273 37.7-37.781 37.942-38.781.143-.59.087-1.526-.124-2.08-.428-1.128-12.115-13.671-14.262-15.309-.758-.578-6.175-6.02-12.038-12.095-10.112-10.476-11.405-11.586-12.801-10.994m2.203 16.313c1.773.925 21.6 21.18 21.9 22.373.147.585.144 1.553-.006 2.15-.348 1.389-22.144 23.394-23.007 23.23-.334-.064-5.602-5.183-11.707-11.376-14.563-14.772-14.98-10.815 3.09-29.282 7.377-7.538 8.003-7.995 9.73-7.095m-16.023 95.832c-1.603 1.261-15.227 23.557-15.633 25.583-.163.818.3 3.34 1.382 7.526.895 3.463 2.229 8.906 2.966 12.096 1.606 6.958 7.686 30.805 12.085 47.4 1.75 6.6 3.462 13.17 3.805 14.6 2.478 10.341 6.74 26.114 7.411 27.429.446.875 1.034 2.724 1.307 4.11.889 4.517 2.575 4.686 3.753.378.379-1.385 1.284-4.407 2.012-6.717.727-2.31 1.728-6 2.222-8.2.495-2.2 1.149-4.99 1.455-6.2 2.792-11.062 9.84-38.585 11.933-46.6 1.437-5.5 3.071-11.98 3.632-14.4.56-2.42 1.807-7.37 2.77-11 2.989-11.267 4.603-18.241 4.603-19.885 0-2.163-.932-3.846-9.589-17.315-1.485-2.31-3.156-5.01-3.714-6-2.806-4.983-5.381-4.588-10.137 1.555-2.771 3.579-3.209 4.54-3.962 8.681-2.699 14.846-3.756 15.117-6.183 1.582-1.658-9.245-8.484-17.481-12.118-14.623"},null,-1))];function Gne(e,t){return A.openBlock(),A.createElementBlock("svg",zne,Wne)}const jm=N(Kne,[["render",Gne],["__scopeId","data-v-81223df9"]]),jne=e=>(A.pushScopeId("data-v-bb1043c8"),e=e(),A.popScopeId(),e),Yne={href:"/test/built-deck"},qne=jne(()=>A.createElementVNode("div",{class:"background"},null,-1)),Xne={class:"content"},Jne={class:"format"},Zne={class:"format-text"},ere={key:0,class:"details built"},tre={class:"title"},nre={class:"extra-info"},rre={href:"test/user"},are={class:"info-time"},ire={key:1,class:"details stats"},sre={class:"stat-column"},Are={class:"descriptor"},ore={class:"stat-column"},lre={class:"number"},cre={class:"descriptor"},dre=A.defineComponent({__name:"DeckBlock",props:Une,setup(e){const t=e,{t:n}=se(),r=A.inject(si),a=A.computed(()=>xt(t.deckcode)),i=A.computed(()=>Zt(a.value)),s=A.computed(()=>ml(i.value)),o=A.computed(()=>i.value.filter(u=>es(u))),l=A.computed(()=>{var u;return{"--background-image":`url(https://lor.gg/storage/cards/full-art/${(u=ca(i.value,a.value,1)[0])==null?void 0:u.cardCode}.webp)`}}),c=A.computed(()=>ox(i.value)),d=A.computed(()=>c.value.map(u=>ve().dataJson.formats[u]).filter(u=>u!==void 0).sort((u,f)=>u.order-f.order)[0]);return console.log(c.value),(u,f)=>{var p,h,m;return A.openBlock(),A.createElementBlock("a",Yne,[A.createElementVNode("div",{class:"built-deck-preview",style:A.normalizeStyle(l.value)},[qne,A.createVNode(Qu,{class:"deck-highlight-eye icon","deck-code":t.deckcode,onClick:f[0]||(f[0]=A.withModifiers(()=>{},["stop","prevent"]))},null,8,["deck-code"]),A.createElementVNode("div",{class:"options-button icon",onClick:f[1]||(f[1]=A.withModifiers(()=>{},["stop","prevent"]))},[A.createVNode(A.unref(Ye),{icon:"ellipsis-v"})]),A.createVNode(PA,{class:"deck-highlight-regions deck-highlight-section",regions:s.value},null,8,["regions"]),A.createElementVNode("div",Xne,[A.createElementVNode("div",Jne,[((p=d.value)==null?void 0:p.nameRef)===A.unref(sr).Eternal?(A.openBlock(),A.createBlock(Wm,{key:0,class:"format-icon"})):((h=d.value)==null?void 0:h.nameRef)===A.unref(sr).Standard?(A.openBlock(),A.createBlock(Gm,{key:1,class:"format-icon"})):(A.openBlock(),A.createBlock(jm,{key:2,class:"format-icon"})),A.createElementVNode("span",Zne,A.toDisplayString((m=d.value)==null?void 0:m.name),1)]),A.createVNode(HA,{class:"deck-highlight-cards deck-highlight-section",cards:o.value},null,8,["cards"])]),t.type==="built"?(A.openBlock(),A.createElementBlock("div",ere,[A.createElementVNode("div",tre,A.toDisplayString(t.deckName),1),A.createElementVNode("div",nre,[A.createElementVNode("div",{class:"info-user",onClick:f[2]||(f[2]=A.withModifiers(()=>{},["stop","prevent"]))},[A.createElementVNode("a",rre,A.toDisplayString(t.userName),1)]),A.createElementVNode("div",are,A.toDisplayString(A.unref(r)(t.updatedAt).fromNow()),1)])])):A.createCommentVNode("",!0),t.type==="stats"?(A.openBlock(),A.createElementBlock("div",ire,[A.createElementVNode("div",sre,[A.createElementVNode("div",{class:"number",style:A.normalizeStyle({color:`var(${A.unref(jn)(t.wins/t.matches)})`})},A.toDisplayString(A.unref(De)(t.wins/t.matches*100,1,3))+"% ",5),A.createElementVNode("div",Are,A.toDisplayString(A.unref(n)("general.winrate")),1)]),A.createElementVNode("div",ore,[A.createElementVNode("div",lre,A.toDisplayString(A.unref(De)(t.matches,0,10)),1),A.createElementVNode("div",cre,A.toDisplayString(A.unref(n)("general.matches")),1)])])):A.createCommentVNode("",!0)],4)])}}}),Dle="",l3=N(dre,[["__scopeId","data-v-bb1043c8"]]),ure={headingItems:{type:Array,required:!0,default:[]}},fre={class:"table-wrapper"},pre={class:"table no-scrollbar"},hre={class:"heading wrapper"},gre=A.defineComponent({__name:"SmallTable",props:ure,setup(e){const t=e;return(n,r)=>(A.openBlock(),A.createElementBlock("div",fre,[A.createElementVNode("div",pre,[A.createElementVNode("div",hre,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.headingItems,a=>(A.openBlock(),A.createElementBlock("div",{key:a.title,class:"heading-cell column-content"},[A.createElementVNode("div",null,A.toDisplayString(a.title),1)]))),128)),A.renderSlot(n.$slots,"heading",{},void 0,!0)]),A.renderSlot(n.$slots,"default",{},void 0,!0)])]))}}),Ole="",ji=N(gre,[["__scopeId","data-v-20cc8387"]]),mre={players:{type:Array,required:!0,default:[]}},bre=e=>(A.pushScopeId("data-v-48a25357"),e=e(),A.popScopeId(),e),yre={class:"leaderboard-top"},Bre=bre(()=>A.createElementVNode("div",{class:"heading-background"},null,-1)),wre={class:"heading-wrapper"},vre=A.defineComponent({__name:"LeaderboardTop",props:mre,setup(e){const t=e,n=A.computed(()=>ve().dataJson.servers.map(r=>t.players.filter(a=>a.server===r.nameRef).sort((a,i)=>a.rank-i.rank).slice(0,10)));return(r,a)=>(A.openBlock(),A.createElementBlock("div",yre,[Bre,A.createElementVNode("div",wre,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(A.unref(ve)().dataJson.servers,i=>(A.openBlock(),A.createElementBlock("div",{key:i.nameRef,class:"heading"},A.toDisplayString(i.name),1))),128))]),(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(n.value,(i,s)=>(A.openBlock(),A.createElementBlock("div",{key:s,class:"top-10"},[A.createVNode($m,{players:i},null,8,["players"])]))),128))]))}}),Lle="",c3=N(vre,[["__scopeId","data-v-48a25357"]]),_re={flipped:{type:Boolean,required:!0,default:!0},cardCode:{type:String,required:!0,default:"01IO001"}},Cre={class:"card-item-3d"},xre=A.defineComponent({__name:"CardItem3d",props:_re,setup(e){const t=e,n={ShadowIsles:"https://static.wikia.nocookie.net/leagueoflegends/images/b/bb/LoR_Shadow_Isles_Card_Back.png",BandleCity:"https://static.wikia.nocookie.net/leagueoflegends/images/c/c4/LoR_Bandle_City_Card_Back.png",Bilgewater:"https://static.wikia.nocookie.net/leagueoflegends/images/2/24/LoR_Bilgewater_Card_Back.png",Demacia:"https://static.wikia.nocookie.net/leagueoflegends/images/6/62/LoR_Demacia_Card_Back.png",Freljord:"https://static.wikia.nocookie.net/leagueoflegends/images/5/5e/LoR_Freljord_Card_Back.png",Ionia:"https://static.wikia.nocookie.net/leagueoflegends/images/3/3d/LoR_Ionia_Card_Back.png",Noxus:"https://static.wikia.nocookie.net/leagueoflegends/images/5/50/LoR_Noxus_Card_Back.png",PiltoverZaun:"https://static.wikia.nocookie.net/leagueoflegends/images/5/57/LoR_Piltover_Card_Back.png",Shurima:"https://static.wikia.nocookie.net/leagueoflegends/images/0/0c/LoR_Shurima_Card_Back.png",Targon:"https://static.wikia.nocookie.net/leagueoflegends/images/a/a6/LoR_Targon_Card_Back.png"},r=A.computed(()=>{const s=iA(void 0,t.cardCode,!0);if(s.value===void 0)return{};const o=s.value.regionRefs[0];return{content:`url(${n[o]??"https://static.wikia.nocookie.net/leagueoflegends/images/2/2d/LoR_Summoner%27s_Rift_Order_Card_Back.png"})`}}),a=A.computed(()=>({"background-image":`url("https://lor.gg/storage/cards/card/en_us/${t.cardCode}.webp")`,"background-size":"cover"})),i=A.computed(()=>t.flipped?["flipped"]:[]);return(s,o)=>(A.openBlock(),A.createElementBlock("div",Cre,[A.createElementVNode("div",{class:A.normalizeClass(["card",i.value])},[A.createElementVNode("div",{class:"front face",style:A.normalizeStyle(r.value)},null,4),A.createElementVNode("div",{class:"back face",style:A.normalizeStyle(a.value)},null,4)],2)]))}}),Mle="",Ym=N(xre,[["__scopeId","data-v-72e7b1ae"]]),kre=e=>(A.pushScopeId("data-v-580d1d32"),e=e(),A.popScopeId(),e),Ere={class:"card-lottery"},Sre={class:"cards-container"},Fre={key:0,class:"bottom"},Ire={class:"slice"},Qre={class:"circle-slice-item-wrapper"},Ure={class:"options"},Tre={class:"primary-button"},Dre={class:"primary-button"},Ore=kre(()=>A.createElementVNode("span",null," (23) ",-1)),Lre={class:"icon"},Mre={class:"circle-card-item-wrapper"},Nre=A.defineComponent({__name:"CardLottery",setup(e){const t=Object.keys($t().cardJsonObject),n=[],r=A.ref(null),a=A.computed(()=>r.value?{background:`url(https://lor.gg/storage/cards/full-art/${r.value}.webp)`,"background-position":"center","background-size":"cover"}:{});function i(o){r.value=o.cardCode.value,o.flipped.value=!0;for(const l of n)o!==l&&setTimeout(()=>{l.display.value=!1},1e3)}function s(){r.value=null,n.splice(0);for(let o=0;o<3;o++)n.push({flipped:A.ref(!1),display:A.ref(!0),cardCode:A.ref(t[Math.floor(Math.random()*t.length)])})}return s(),(o,l)=>{const c=A.resolveDirective("t");return A.openBlock(),A.createElementBlock("div",Ere,[A.createElementVNode("div",{class:"card-lottery-background",style:A.normalizeStyle(a.value)},null,4),A.createElementVNode("div",Sre,[(A.openBlock(),A.createElementBlock(A.Fragment,null,A.renderList(n,(d,u)=>A.createElementVNode("div",{key:u,class:A.normalizeClass(["card-item-3d-wrapper",d.display.value?null:"hide"])},[A.createVNode(Ym,{flipped:d.flipped.value,"card-code":d.cardCode.value,onClick:f=>i(d)},null,8,["flipped","card-code","onClick"])],2)),64))]),r.value?(A.openBlock(),A.createElementBlock("div",Fre,[A.createElementVNode("div",Ire,[A.createElementVNode("div",Qre,[A.createVNode(cn,{color:"133, 133, 133",name:"Player","card-code-prop":r.value,"ignore-card-item":!0},null,8,["card-code-prop"])])]),A.createElementVNode("div",Ure,[A.withDirectives(A.createElementVNode("button",Tre,null,512),[[c,"cardLottery.setBanner"]]),A.withDirectives(A.createElementVNode("button",Dre,null,512),[[c,"cardLottery.setIcon"]]),A.createElementVNode("button",{class:"primary-button",onClick:s},[A.withDirectives(A.createElementVNode("span",null,null,512),[[c,"cardLottery.openAnother"]]),Ore])]),A.createElementVNode("div",Lre,[A.createElementVNode("div",Mre,[A.createVNode(va,{color:"133, 133, 133","card-code-prop":r.value,"ignore-card-item":!0},null,8,["card-code-prop"])])])])):A.createCommentVNode("",!0)])}}}),Nle="",d3=N(Nre,[["__scopeId","data-v-580d1d32"]]),Pre={bannerCardCode:{type:String,required:!0,default:""},bannerColor:{type:String,required:!0,default:""},iconCardCode:{type:String,required:!0,default:""},name:{type:String,required:!0,default:""},server:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1},premiumExpiration:{type:Date,required:!1,default:null},isPremiumRenewing:{type:Boolean,required:!0,default:!1}},Hre={wins:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:2},cutout:{type:Number,required:!1,default:145}},qm=A.defineComponent({__name:"WinrateDoughnutChart",props:Hre,setup(e){const t=e,n=A.ref(null);Re.register(...Ua);const r=A.computed(()=>({labels:["Wins","Losses"],datasets:[{data:[t.wins,t.matches-t.wins],backgroundColor:["#00adff","#ff5153"]}]})),a={cutout:t.cutout,elements:{arc:{borderWidth:0}},plugins:{legend:{display:!1},datalabels:{display:!1}}},i=[{id:"text",beforeDraw:function(s){const o=s.chartArea.width,l=s.chartArea.height,c=s.ctx;c.restore();const d=(l/100).toFixed(2);c.font=`bold ${d}em sans-serif`,c.textBaseline="middle";const u=s.data.datasets[0].data[0],f=s.data.datasets[0].data[1],p=(u/(u+f)*100).toFixed(2)+"%",h=Math.round((o-c.measureText(p).width)/2),m=l/2;u>f?c.fillStyle="#00adff":u<f?c.fillStyle="#ff5153":c.fillStyle="#ffffff",c.fillText(p,h,m),c.save()}}];return(s,o)=>(A.openBlock(),A.createBlock(A.unref(Av),{ref_key:"chart",ref:n,"chart-data":r.value,options:a,plugins:i},null,8,["chart-data"]))}}),Rre={class:"dashboard-profile"},Vre={class:"profile-banner"},Kre=["src"],$re={class:"edit-banner"},zre={class:"profile-text"},Wre={class:"profile-region"},Gre={class:"profile-tiles"},jre={class:"profile-tile"},Yre={class:"tile-content"},qre={class:"games-text"},Xre={class:"tile-text"},Jre={class:"profile-tile"},Zre={class:"chart-container"},eae={class:"tile-content"},tae={class:"tile-text"},nae={key:0,class:"profile-premium-expiration"},rae={class:"profile-premium-expiration-time"},aae=A.defineComponent({__name:"DashboardProfile",props:Pre,setup(e){const t=e,{t:n}=se(),r=A.inject(si);return(a,i)=>{const s=A.resolveComponent("LocalizedLink");return A.openBlock(),A.createElementBlock("div",Rre,[A.createElementVNode("div",Vre,[A.createElementVNode("img",{alt:"Profile Banner",src:`https://lor.gg/storage/cards/banner/${t.bannerCardCode??"05BC160"}.png`,class:"profile-banner-img"},null,8,Kre),A.createVNode(va,{"card-code-prop":t.iconCardCode??"05BC160","ignore-card-item":!0,"color-override":t.bannerColor},null,8,["card-code-prop","color-override"]),A.createElementVNode("div",$re,[A.createVNode(A.unref(Ye),{icon:"pencil-alt"})])]),A.createElementVNode("div",zre,[A.createVNode(s,{to:{name:"profile"},class:"profile-name"},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(t.name),1)]),_:1}),A.createElementVNode("div",Wre,A.toDisplayString(t.server),1)]),A.createElementVNode("div",Gre,[A.createElementVNode("div",jre,[A.createElementVNode("div",Yre,[A.createElementVNode("div",qre,A.toDisplayString(A.unref(De)(t.matches,0,10)),1)]),A.createElementVNode("div",Xre,A.toDisplayString(A.unref(n)("general.gamesPlayed")),1)]),A.createElementVNode("div",Jre,[A.createElementVNode("div",Zre,[A.createElementVNode("div",eae,[A.createVNode(qm,{matches:t.matches,wins:t.wins,cutout:30},null,8,["matches","wins"])])]),A.createElementVNode("div",tae,A.toDisplayString(A.unref(n)("general.winrate")),1)])]),t.premiumExpiration?(A.openBlock(),A.createElementBlock("div",nae,[A.createTextVNode(A.toDisplayString(A.unref(n)("general.premium"))+" "+A.toDisplayString(t.isPremiumRenewing?A.unref(n)("general.renews"):A.unref(n)("general.expires"))+" ",1),A.createElementVNode("b",rae,A.toDisplayString(A.unref(r)(t.premiumExpiration).fromNow()),1)])):(A.openBlock(),A.createBlock(s,{key:1,to:{name:"premium"},class:"profile-premium fancy-button"},{default:A.withCtx(()=>[A.createTextVNode(A.toDisplayString(A.unref(n)("general.getPremium")),1)]),_:1}))])}}}),Ple="",u3=N(aae,[["__scopeId","data-v-1786a4dc"]]),iae={data:{type:Array,required:!0,default:[]},type:{type:String,required:!0,default:"totalPlayers"},server:{type:String,required:!1}};function f3(e,t){const{t:n}=se();Re.register(Vi),e.plugins||(e.plugins={}),e.plugins.annotation||(e.plugins.annotation={}),e.plugins.annotation.annotations=[];let r=new Date("1972-01-01"),a=new Date("3000-12-01");for(const s of t)s>r&&(r=s),s<a&&(a=s);const i=[];for(const s of ve().dataJson.patches)new Date(s.startTime)<=r&&new Date(s.startTime)>=a&&i.push(s);for(const s of i)e.plugins.annotation.annotations.push({type:"line",xMin:s.startTime,xMax:s.startTime,borderColor:"rgba(255, 255, 255, 0.1)",borderDash:[10,5],borderWidth:1,label:{content:`${n("general.patch")} ${s.name}`,display:!0,position:"start",font:{weight:"normal"},backgroundColor:"rgba(0,0,0,0.2)"}})}const p3=A.defineComponent({__name:"LeaderboardChart",props:iae,setup(e){const t=e,n=A.ref();Re.register(...Ua),Re.register(Vi);const r=A.computed(()=>t.data.slice().sort((s,o)=>+s.date-+o.date)),a=A.computed(()=>{let s;return t.type==="totalPlayers"?s=ve().dataJson.servers.filter(o=>t.server===null?!0:o.nameRef===t.server).map(o=>({label:o.name,borderColor:B1(o.nameRef),data:r.value.filter(l=>l.server===o.nameRef).map(l=>l.players),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"})):s=r.value.reduce((o,l)=>o.includes(l.player)?o:[...o,l.player],[]).map(o=>({label:o.name,borderColor:B1(o.user_id),data:r.value.filter(l=>l.player.user_id===o.user_id).map(l=>t.type==="lp"?l.lp:l.rank),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"})),{labels:r.value.map(o=>o.date).filter((o,l,c)=>c.findIndex(d=>d.getTime()===o.getTime())===l),datasets:s}}),i={plugins:{legend:{display:!0},tooltip:{mode:"nearest",position:"nearest",axis:"x",intersect:!1},annotation:{annotations:[]},datalabels:{display:!1}},elements:{line:{tension:.25}},scales:{x:{type:"time",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"}}}};return f3(i,t.data.map(s=>s.date)),(s,o)=>(A.openBlock(),A.createBlock(A.unref(ov),{ref_key:"chart",ref:n,"chart-data":a.value,options:i},null,8,["chart-data"]))}}),sae={data:{type:Array,required:!0,default:[]},type:{type:Object,required:!0,default:"winrate"},baseline:{type:Number,required:!1,default:50}},h3=A.defineComponent({__name:"CardQuantityBarChart",props:sae,setup(e){const t=e,{t:n}=se(),r=A.ref();Re.register(...Ua),Re.register(Vi),Re.register(xd);const a=A.computed(()=>({labels:t.data.map(s=>s.quantity),datasets:[{backgroundColor:t.data.map(s=>s.wins*2>=s.matches?"rgba(0, 173, 255, 0.5)":"rgba(255, 81, 83, 0.5)"),borderWidth:0,borderRadius:9999,data:t.data.map(s=>t.type==="winrate"?s.wins/s.matches*100-t.baseline:s.matches)}]})),i={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{title(s){return`${n("general.quantity")}: ${s[0].label}`},label(s){return t.type==="winrate"?(s.dataset.data[s.dataIndex]+t.baseline).toFixed(2)+"%":s.dataset.data[s.dataIndex].toString()},footer(s){return[`${n("general.matches")}: ${t.data[s[0].dataIndex].matches}`,`${n("general.wins")}: ${t.data[s[0].dataIndex].wins}`]}}},datalabels:{display:!1}},scales:{y:{title:{display:!0,text:t.type==="winrate"?n("general.winrate"):n("general.matches")},ticks:{callback(s){return t.type==="winrate"?s+t.baseline+"%":s}}},x:{title:{display:!0,text:n("general.quantity")}}}};return(s,o)=>(A.openBlock(),A.createBlock(A.unref(qc),{ref_key:"chart",ref:r,"chart-data":a.value,options:i},null,8,["chart-data"]))}}),Aae={data:{type:Array,required:!0,default:""}},g3=A.defineComponent({__name:"WinsLossesBarChart",props:Aae,setup(e){const t=e,{t:n}=se(),r=A.ref();Re.register(...Ua),Re.register(Vi),Re.register(xd);const a=A.computed(()=>typeof t.data[0].column!="string"),i=A.computed(()=>t.data.slice().sort((d,u)=>a.value?d.column.getTime()-u.column.getTime():d.column.localeCompare(u.column))),s=A.computed(()=>[...new Set(i.value.map(d=>d.column))]),o=A.computed(()=>({losses:i.value.map(d=>d.matches-d.wins),wins:i.value.map(d=>d.wins)})),l=A.computed(()=>({labels:s.value,datasets:Object.entries(o.value).map((d,u)=>({backgroundColor:d[0]==="wins"?`rgba(${aA("--color-good-rgb")}, 0.5)`:`rgba(${aA("--color-bad-rgb")}, 0.5)`,data:d[1],borderRadius:u===0?{topLeft:0,topRight:0,bottomLeft:10,bottomRight:10}:{topLeft:10,topRight:10,bottomLeft:0,bottomRight:0},borderSkipped:!1,label:n(`general.${d[0]}`),barPercentage:.5}))})),c={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{footer(d){if(d.length===0)return"";let u=0;const f=d[0].chart.data.datasets[1].data[d[0].dataIndex];for(let p=0;p<d[0].chart.data.datasets.length;p++)u+=d[0].chart.data.datasets[p].data[d[0].dataIndex];return`${n("general.total")}: ${u}
|
|
880
|
-
${n("general.winrate")}: ${De(f/u*100,1,3)}%`}}},datalabels:{align:"end",anchor:"end",formatter(d,u){let f=0;for(let p=0;p<u.chart.data.datasets.length;p++)f+=u.chart.data.datasets[p].data[u.dataIndex];return f||""},display(d){return d.datasetIndex===d.chart.data.datasets.length-1}}},scales:{x:{type:a.value?"time":"category",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"},stacked:!0,grid:{display:!1}},y:{stacked:!0,grid:{display:!1},display:!0}}};return(d,u)=>(A.openBlock(),A.createBlock(A.unref(qc),{ref_key:"chart",ref:r,"chart-data":l.value,options:c},null,8,["chart-data"]))}}),oae={data:{type:Array,required:!0,default:[]},type:{type:String,required:!0,default:"winrate"},baseline:{type:Number,required:!1,default:50}},m3=A.defineComponent({__name:"RoundCardInfoBarChart",props:oae,setup(e){const t=e,{t:n}=se(),r=A.ref();Re.register(...Ua),Re.register(Vi),Re.register(xd);const a=A.computed(()=>Object.values(tx(t.data,o=>o.copy))),i=A.computed(()=>({labels:Array.from(t.data.reduce((o,l)=>o.add(l.round),new Set)),datasets:a.value.map(o=>{var l;return{backgroundColor:o.map(c=>c.wins*2>=c.matches?"rgba(0, 173, 255, 0.5)":"rgba(255, 81, 83, 0.5)"),borderWidth:0,borderRadius:9999,data:o.map(c=>c.wins/c.matches*100-t.baseline),label:`${n("general.copy")} ${(l=o[0])==null?void 0:l.copy}`}})})),s={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!0},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{title(o){return`${n("general.round")}: ${o[0].label}`},label(o){return(o.dataset.data[o.dataIndex]+t.baseline).toFixed(2)+"%"},footer(o){const l=[];for(const c of a.value)c[o[0].dataIndex]!==void 0&&l.push(`${n("general.copy")} ${c[o[0].dataIndex].copy}`,`${n("general.matches")}: ${c[o[0].dataIndex].matches}`,`${n("general.wins")}: ${c[o[0].dataIndex].wins}`);return l}}},datalabels:{display:!1}},scales:{y:{title:{display:!0,text:n("general.winrate")},ticks:{callback(o){return o+t.baseline+"%"}}},x:{title:{display:!0,text:t.type==="drawn"?n("cards.roundDrawn"):n("cards.roundPlayed")}}}};return(o,l)=>(A.openBlock(),A.createBlock(A.unref(qc),{ref_key:"chart",ref:r,"chart-data":i.value,options:s},null,8,["chart-data"]))}}),lae={data:{type:Array,required:!0,default:[]},baseline:{type:Number,required:!1,default:50},type:{type:String,required:!0,default:"winrate"},yAxis:{type:String,required:!0,default:"date"}},b3=A.defineComponent({__name:"LineChart",props:lae,setup(e){const t=e,{t:n}=se(),r=A.ref();Re.register(...Ua),Re.register(Vi);const a=A.computed(()=>({labels:t.data.map(o=>o.label),datasets:[{borderColor:"rgba(255, 255, 255, 0.1)",data:t.data.map(o=>o.totalMatches&&t.type==="playrate"?o.matches/(o.totalMatches??1)*100:o.winrate*100),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"},{pointBackgroundColor:"rgba(255, 255, 255, 0)",data:t.data.map(()=>t.baseline),borderColor:"rgba(0, 0, 0, 0.05)"}]})),i={plugins:{legend:{display:!1},tooltip:{mode:"nearest",position:"nearest",axis:"x",intersect:!1,filter:function(o){return o.datasetIndex===0},callbacks:{label(o){let l=o.dataset.label||"";return l&&(l+=": "),l+=o.parsed.y+"%",l},footer:o=>{let l="";return o[0].dataIndex!==null&&t.data[o[0].dataIndex].matches&&(l+=`${n("general.matches")}: ${t.data[o[0].dataIndex].matches}`),l}}},annotation:{annotations:[]},datalabels:{display:!1}},elements:{line:{tension:.25}},scales:{x:t.yAxis==="date"?{type:"time",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"}}:void 0}};t.yAxis==="date"&&f3(i,t.data.map(o=>o.label));const s=[{id:"chartGradient",beforeDraw:function(o){if(!o.scales.y)return;const l=o.ctx.createLinearGradient(0,0,0,o.height);if(l.addColorStop(0,"rgba(0, 173, 255, 0.25)"),t.type==="playrate"){l.addColorStop(1,"rgba(0, 173, 255, 0)"),o.config.data.datasets[0].fill={target:1,above:l},o.update();return}const c=o.scales.y,d=Math.max.apply(null,o.data.datasets[0].data),u=c.getPixelForValue(d),f=c.getPixelForValue(50),p=Math.min(Math.min.apply(null,o.data.datasets[0].data),50),h=c.getPixelForValue(p),m=Math.max(Math.min((f-u)/(h-u),1),0);l.addColorStop(Math.max(m-.08,0),"rgba(0, 173, 255, 0)");const B=o.ctx.createLinearGradient(0,0,0,o.height);B.addColorStop(m,"rgba(255, 81, 83, 0)"),B.addColorStop(1,"rgba(255, 81, 83, 0.25)"),o.config.data.datasets[0].fill={target:1,above:l,below:B},o.update()}}];return(o,l)=>(A.openBlock(),A.createBlock(A.unref(ov),{ref_key:"chart",ref:r,"chart-data":a.value,options:i,plugins:s},null,8,["chart-data"]))}}),cae={deckRows:{type:Array,required:!0,default:[]}},dae=A.defineComponent({__name:"BuiltDecksTable",props:cae,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=A.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.deck")},{id:"name",isShown:!0,sortDirection:_e.NEITHER,title:r("general.name")},{id:"updatedAt",isShown:!0,sortDirection:_e.DOWN,title:r("general.updated")},{id:"createdAt",isShown:!0,sortDirection:_e.NEITHER,title:r("general.created")},{id:"manaCurve",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.manaCurve")},{id:"cost",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.cost")}]);function i(s){const o=ys(s,a);o&&t("sort-updated",o)}return(s,o)=>(A.openBlock(),A.createBlock(wa,{class:"large-table","heading-items":a.value,onToggleSort:i},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(n.deckRows,(l,c)=>(A.openBlock(),A.createBlock(cl,{id:l.id,key:l.id,type:"built",deckcode:l.deckCode,name:l.name,"created-at":l.createdAt,"updated-at":l.updatedAt,index:c+2},null,8,["id","deckcode","name","created-at","updated-at","index"]))),128))]),_:1},8,["heading-items"]))}}),Hle="",y3=N(dae,[["__scopeId","data-v-d908953a"]]),uae={regionNameRef:{type:String,required:!0,default:"01IO001"},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},fae={class:"wrapper"},pae={class:"champion-column column-content"},hae={class:"matches-column column-content"},gae=A.defineComponent({__name:"ProfileRegionRow",props:uae,setup(e){const t=e,n=A.computed(()=>ve().dataJson.regions.find(a=>a.nameRef===t.regionNameRef)),r=A.computed(()=>{var a;return`https://lor.gg/storage/cards/banner/${(a=n.value)==null?void 0:a.cardCode}.png`});return(a,i)=>{var s;return A.openBlock(),A.createElementBlock("div",{class:"profile-champion-row wrapper",style:A.normalizeStyle({"--index":t.index})},[A.createElementVNode("div",{class:"small-table-background",style:A.normalizeStyle({"--background-image":`url(${r.value})`})},null,4),A.createElementVNode("div",fae,[A.createElementVNode("div",pae,[A.createVNode(NA,{"region-ref":t.regionNameRef},null,8,["region-ref"]),A.createElementVNode("span",null,A.toDisplayString((s=n.value)==null?void 0:s.name),1)]),A.createElementVNode("div",hae,A.toDisplayString(A.unref(De)(t.matches,0,10)),1),A.createElementVNode("div",{class:"winrate-column column-content",style:A.normalizeStyle({color:`var(${A.unref(jn)(t.wins/t.matches)})`})},A.toDisplayString(A.unref(De)(t.wins/t.matches*100,1,3))+"% ",5)])],4)}}}),Rle="",Xm=N(gae,[["__scopeId","data-v-b3f363b1"]]),mae={rows:{type:Array,required:!0,default:[]}},bae=A.defineComponent({__name:"ProfileRegionTable",props:mae,setup(e){const t=e,{t:n}=se(),r=[{title:n("general.regions"),id:"regions"},{title:n("general.matches"),id:"matches"},{title:n("general.winrate"),id:"winrate"}];return(a,i)=>(A.openBlock(),A.createBlock(ji,{class:"small-table","heading-items":r},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.rows,s=>(A.openBlock(),A.createBlock(Xm,{key:s.regionNameRef,"region-name-ref":s.regionNameRef,matches:s.matches,wins:s.wins,index:s.index+2},null,8,["region-name-ref","matches","wins","index"]))),128))]),_:1}))}}),Vle="",B3=N(bae,[["__scopeId","data-v-2dae645c"]]),yae={rows:{type:Array,required:!0,default:[]}},Bae={archetypeId:{type:Number,required:!0,default:0},deckCode:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},wae={class:"wrapper"},vae={class:"champion-column column-content"},_ae={class:"matches-column column-content"},Cae=A.defineComponent({__name:"ProfileArchetypeRow",props:Bae,setup(e){const t=e,n=A.computed(()=>xt(t.deckCode)),r=A.computed(()=>Zt(n.value)),a=A.computed(()=>{var i;return`https://lor.gg/storage/cards/banner/${(i=ca(r.value,n.value,1)[0])==null?void 0:i.cardCode}.png`});return(i,s)=>(A.openBlock(),A.createElementBlock("div",{class:"profile-champion-row wrapper",style:A.normalizeStyle({"--index":t.index})},[A.createElementVNode("div",{class:"small-table-background",style:A.normalizeStyle({"--background-image":`url(${a.value})`})},null,4),A.createElementVNode("div",wae,[A.createElementVNode("div",vae,[A.createVNode(Xa,{"deck-code":t.deckCode},null,8,["deck-code"])]),A.createElementVNode("div",_ae,A.toDisplayString(A.unref(De)(t.matches,0,10)),1),A.createElementVNode("div",{class:"winrate-column column-content",style:A.normalizeStyle({color:`var(${A.unref(jn)(t.wins/t.matches)})`})},A.toDisplayString(A.unref(De)(t.wins/t.matches*100,1,3))+"% ",5)])],4))}}),Kle="",Jm=N(Cae,[["__scopeId","data-v-91ed15a8"]]),xae=A.defineComponent({__name:"ProfileArchetypeTable",props:yae,setup(e){const t=e,{t:n}=se(),r=[{title:n("general.archetypes"),id:"archetypes"},{title:n("general.matches"),id:"matches"},{title:n("general.winrate"),id:"winrate"}];return(a,i)=>(A.openBlock(),A.createBlock(ji,{class:"small-table","heading-items":r},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.rows,s=>(A.openBlock(),A.createBlock(Jm,{key:s.archetypeId,"archetype-id":s.archetypeId,"deck-code":s.deckCode,matches:s.matches,wins:s.wins,index:s.index+2},null,8,["archetype-id","deck-code","matches","wins","index"]))),128))]),_:1}))}}),$le="",w3=N(xae,[["__scopeId","data-v-f883a9d9"]]),kae={selectedRegion:{type:String,required:!0,default:null},selectedPlayers:{type:Array,required:!0,default:[]},selectedGraphOption:{type:String,required:!0,default:"totalPlayers"},players:{type:Array,required:!0,default:[]},updatedAt:{type:Number,required:!0,default:0},isGraphShown:{type:Boolean,required:!0,default:!1}},Eae={class:"leaderboard-options"},Sae={class:"multiselects"},Fae={class:"details"},Iae={class:"players"},Qae={class:"updated"},Uae=A.defineComponent({__name:"LeaderboardOptions",props:kae,emits:["update:selectedPlayers","update:selectedRegion","update:selectedGraphOption"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=A.inject(si),i=[{name:r("leaderboard.lp"),nameRef:"lp"},{name:r("leaderboard.rank"),nameRef:"rank"},{name:r("leaderboard.totalPlayers"),nameRef:"totalPlayers"}],s=A.ref(n.selectedRegion),o=A.ref(n.selectedPlayers),l=A.ref(n.selectedGraphOption),c=A.computed(()=>s.value===null?n.players:n.players.filter(d=>d.server===s.value));return A.watch(s,d=>{t("update:selectedRegion",d),t("update:selectedPlayers",[])}),A.watch(o,d=>{t("update:selectedPlayers",d)}),A.watch(l,d=>{t("update:selectedGraphOption",d)}),A.watch(()=>n.selectedPlayers,d=>{o.value=d}),A.watch(()=>n.selectedRegion,d=>{s.value=d}),A.watch(()=>n.selectedGraphOption,d=>{l.value=d}),A.watch(()=>n.isGraphShown,d=>{d&&o.value.length>0&&(l.value="lp")}),(d,u)=>(A.openBlock(),A.createElementBlock("div",Eae,[A.createElementVNode("div",Sae,[A.createVNode(A.unref(Ht),{modelValue:o.value,"onUpdate:modelValue":u[0]||(u[0]=f=>o.value=f),placeholder:A.unref(r)("general.players"),mode:s.value?"tags":"disabled",options:c.value,searchable:!0,label:"name","value-prop":"user_id"},null,8,["modelValue","placeholder","mode","options"]),A.createVNode(A.unref(Ht),{modelValue:s.value,"onUpdate:modelValue":u[1]||(u[1]=f=>s.value=f),placeholder:A.unref(r)("general.server"),options:A.unref(ve)().dataJson.servers,label:"name","value-prop":"nameRef"},null,8,["modelValue","placeholder","options"]),n.isGraphShown?(A.openBlock(),A.createBlock(A.unref(Ht),{key:0,modelValue:l.value,"onUpdate:modelValue":u[2]||(u[2]=f=>l.value=f),options:i,"can-clear":!1,label:"name","value-prop":"nameRef"},null,8,["modelValue"])):A.createCommentVNode("",!0)]),A.createElementVNode("div",Fae,[A.createElementVNode("div",Iae,[A.createTextVNode(A.toDisplayString(A.unref(r)("leaderboard.totalPlayers"))+": ",1),A.createElementVNode("span",null,A.toDisplayString(A.unref(De)(c.value.length)),1)]),A.createElementVNode("div",Qae,[A.createTextVNode(A.toDisplayString(A.unref(r)("leaderboard.updated"))+": ",1),A.createElementVNode("span",null,A.toDisplayString(A.unref(a)(n.updatedAt*60*1e3).fromNow()),1)])])]))}}),zle="",v3=N(Uae,[["__scopeId","data-v-9d0b891b"]]),Tae={deckRows:{type:Array,required:!0,default:[]},originalDeckcode:{type:String,required:!0,default:""}},Dae=A.defineComponent({__name:"SimilarDecksTable",props:Tae,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=A.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.deck")},{id:"matches",isShown:!0,sortDirection:_e.DOWN,title:r("general.matches")},{id:"winrate",isShown:!0,sortDirection:_e.NEITHER,title:r("general.winrate")},{id:"cost",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.cost")},{id:"differences",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.deckDifferences")}]);function i(s){const o=ys(s,a);o&&t("sort-updated",o)}return(s,o)=>(A.openBlock(),A.createBlock(wa,{class:"large-table","heading-items":a.value,onToggleSort:i},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(n.deckRows,(l,c)=>(A.openBlock(),A.createBlock(cl,{key:l.deckcode,type:"similar",deckcode:l.deckcode,matches:l.matches,wins:l.wins,"compared-deckcode":n.originalDeckcode,index:c+2},null,8,["deckcode","matches","wins","compared-deckcode","index"]))),128))]),_:1},8,["heading-items"]))}}),Wle="",_3=N(Dae,[["__scopeId","data-v-b78d45ef"]]),Oae={heading:{type:String,required:!1,default:""}},Lae={class:"top"},Mae={class:"heading"},Nae={class:"chart"},Pae=A.defineComponent({__name:"StatisticsPaneContainer",props:Oae,setup(e){const t=e,n=A.ref(null),r=A.ref(!1);function a(){var i;r.value?document.exitFullscreen():(i=n.value)==null||i.requestFullscreen()}return A.onMounted(()=>{var i;(i=n.value)==null||i.addEventListener("fullscreenchange",()=>{r.value=document.fullscreenElement!==null})}),(i,s)=>(A.openBlock(),A.createElementBlock("div",{ref_key:"statitisticsPaneContainer",ref:n,class:A.normalizeClass(["statitistics-pane-container",r.value?"full-screen":""])},[A.createElementVNode("div",Lae,[A.createElementVNode("div",Mae,A.toDisplayString(t.heading),1),A.createVNode(A.unref(Ye),{class:"maximize-icon",icon:"fa-maximize",onClick:a})]),A.createElementVNode("div",Nae,[A.renderSlot(i.$slots,"default",{},void 0,!0)])],2))}}),Gle="",C3=N(Pae,[["__scopeId","data-v-f00b184f"]]);function Hae({swiper:e,on:t}){t("beforeInit",()=>{if(e.params.effect!=="carousel")return;e.classNames.push(`${e.params.containerModifierClass}carousel`);const n={watchSlidesProgress:!0,centeredSlides:!0};Object.assign(e.params,n),Object.assign(e.originalParams,n)}),t("progress",()=>{if(e.params.effect!=="carousel")return;const n=.2,r=e.slides.length;for(let a=0;a<e.slides.length;a+=1){const i=e.slides[a],s=e.slides[a].progress,o=Math.abs(s);let l=1;o>1&&(l=(o-1)*.3+1);const c=i.querySelectorAll(".swiper-carousel-animate-opacity"),d=`${s*l*50}%`,u=1-o*n,f=r-Math.abs(Math.round(s));i.style.transform=`translateX(${d}) scale(${u})`,i.style.zIndex=f,o>3?i.style.opacity=0:i.style.opacity=1,c.forEach(p=>{p.style.opacity=1-o/3})}}),t("setTransition",(n,r)=>{if(e.params.effect==="carousel")for(let a=0;a<e.slides.length;a+=1){const i=e.slides[a],s=i.querySelectorAll(".swiper-carousel-animate-opacity");i.style.transitionDuration=`${r}ms`,s.forEach(o=>{o.style.transitionDuration=`${r}ms`})}})}const jle="",Rae={cardCodes:{type:Array,required:!0,default:[]}},Vae={class:"card-carousel"},Kae=["src"],$ae=A.defineComponent({__name:"CardCarousel",props:Rae,emits:["update:activeIndex"],setup(e,{emit:t}){const n=e;console.log(n);const r=[Hae];function a(i){t("update:activeIndex",i.activeIndex)}return(i,s)=>(A.openBlock(),A.createElementBlock("div",Vae,[A.createVNode(A.unref(z2),{effect:"carousel","grab-cursor":!0,loop:!1,"looped-slides":5,"slides-per-view":"auto",modules:r,"slide-to-clicked-slide":!0,onActiveIndexChange:a},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(n.cardCodes,o=>(A.openBlock(),A.createBlock(A.unref(W2),{key:o},{default:A.withCtx(()=>[A.createElementVNode("img",{src:`https://lor.gg/storage/cards/card/en_us/${o}.webp`},null,8,Kae)]),_:2},1024))),128))]),_:1})]))}}),Yle="",x3=N($ae,[["__scopeId","data-v-a6ffd2e2"]]),zae={wins:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},showDetails:{type:Boolean,required:!1,default:!0}},Wae={class:"wins-losses-line"},Gae={key:0,class:"details"},jae={class:"wl-record"},Yae={class:"lines"},qae=A.defineComponent({__name:"WinsLossesLine",props:zae,setup(e){const t=e;return(n,r)=>(A.openBlock(),A.createElementBlock("div",Wae,[t.showDetails?(A.openBlock(),A.createElementBlock("div",Gae,[A.createElementVNode("span",jae,A.toDisplayString(t.wins)+"W "+A.toDisplayString(t.matches-t.wins)+"L - ",1),A.createElementVNode("span",{style:A.normalizeStyle({color:`var(${A.unref(jn)(t.wins/t.matches)})`})},A.toDisplayString(A.unref(De)(t.wins/t.matches*100,1,3))+"%",5)])):A.createCommentVNode("",!0),A.createElementVNode("div",Yae,[t.wins!==0?(A.openBlock(),A.createElementBlock("div",{key:0,class:"wins line",style:A.normalizeStyle({flexGrow:t.wins})},null,4)):A.createCommentVNode("",!0),t.matches-t.wins!==0?(A.openBlock(),A.createElementBlock("div",{key:1,class:"losses line",style:A.normalizeStyle({flexGrow:t.matches-t.wins})},null,4)):A.createCommentVNode("",!0)])]))}}),qle="",Zm=N(qae,[["__scopeId","data-v-511803da"]]),Xae={cardCode:{type:String,required:!0,default:"01IO001"},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},Jae={key:0,class:"wrapper"},Zae={class:"champion-column column-content"},eie={class:"matches-column column-content"},tie=A.defineComponent({__name:"DashboardCardRow",props:Xae,setup(e){const t=e,n=A.computed(()=>$t().cardJsonObject[t.cardCode]),r=A.computed(()=>{var a;return`https://lor.gg/storage/cards/banner/${(a=n.value)==null?void 0:a.cardCode}.png`});return(a,i)=>(A.openBlock(),A.createElementBlock("div",{class:"profile-champion-row wrapper",style:A.normalizeStyle({"--index":t.index})},[A.createElementVNode("div",{class:"small-table-background",style:A.normalizeStyle({"--background-image":`url(${r.value})`})},null,4),n.value?(A.openBlock(),A.createElementBlock("div",Jae,[A.createElementVNode("div",Zae,[A.createVNode(va,{class:"circle-card-item","card-prop":n.value},null,8,["card-prop"]),A.createElementVNode("span",null,A.toDisplayString(n.value.name),1)]),A.createElementVNode("div",eie,A.toDisplayString(A.unref(De)(t.matches,0,10)),1),A.createElementVNode("div",{class:"winrate-column column-content",style:A.normalizeStyle({color:`var(${A.unref(jn)(t.wins/t.matches)})`})},A.toDisplayString(A.unref(De)(t.wins/t.matches*100,1,3))+"% ",5)])):A.createCommentVNode("",!0)],4))}}),Xle="",e1=N(tie,[["__scopeId","data-v-d436bc19"]]),nie={class:"card-page-toggle"},rie=A.defineComponent({__name:"CardTogglePage",setup(e){const{t}=se(),n=A.ref(0);return(r,a)=>(A.openBlock(),A.createElementBlock("div",nie,[A.createVNode(rc,{"selected-option":n.value,"onUpdate:selectedOption":a[0]||(a[0]=i=>n.value=i),options:[A.unref(t)("cards.recommendedDecks"),A.unref(t)("cards.similarCards"),A.unref(t)("general.statistics")]},null,8,["selected-option","options"])]))}}),Jle="",k3=N(rie,[["__scopeId","data-v-07d07f20"]]),aie=A.defineComponent({setup(){return{}},mounted(){const e=xt("EUAACAIEA54Q6AIGBECACBQKF4AQIBQGAECAOUYBAECBWAICAYKACAIFFUAQIBAOAIDAOBJIAIDAYBIIAIDAMGY5AMDAEGI4EIBQMAYTC4RAGBQABIMCQAYGAUBQMHY");console.log(e),console.log(sx(e))}}),iie=[A.createElementVNode("h1",null,"TestComponent",-1)];function sie(e,t,n,r,a,i){return A.openBlock(),A.createElementBlock("div",null,iie)}const E3=N(aie,[["render",sie]]),Aie={name:{type:String,required:!0,default:""},selectedBannerCard:{type:String,required:!0,default:""},rank:{type:Number,required:!0,default:0},id:{type:Number,required:!0,default:0},matches:{type:Number,required:!0,default:0},lp:{type:Number,required:!0,default:0},change:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},oie={class:"wrapper"},lie={class:"champion-column column-content"},cie={class:"mana-hexagon"},die={class:"mana-number"},uie={class:"name"},fie={class:"matches-column column-content"},pie=A.defineComponent({__name:"DashboardLeaderboardRow",props:Aie,setup(e){const t=e,n=A.computed(()=>t.selectedBannerCard===void 0?null:`https://lor.gg/storage/cards/banner/${t.selectedBannerCard}.png`),r=A.computed(()=>t.change===void 0?[]:t.change===0?["neutral"]:[t.change>0?"good":"bad"]);return(a,i)=>(A.openBlock(),A.createElementBlock("div",{class:"profile-champion-row wrapper",style:A.normalizeStyle({"--index":t.index})},[A.createElementVNode("div",{class:"small-table-background",style:A.normalizeStyle({"--background-image":`url(${n.value})`,"--background-color":t.index%2===0?"var(--color-background-0)":"transparent"})},null,4),A.createElementVNode("div",oie,[A.createElementVNode("div",lie,[A.createElementVNode("div",cie,[A.createVNode(OA,{class:"hexagon-icon"}),A.createElementVNode("div",die,A.toDisplayString(t.rank),1)]),A.createElementVNode("div",uie,A.toDisplayString(t.name),1)]),A.createElementVNode("div",fie,A.toDisplayString(A.unref(De)(t.matches,0,10)),1),A.createElementVNode("div",{class:A.normalizeClass(["column-content change",r.value])},[t.change!==void 0?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createVNode(A.unref(Ye),{class:"icon",icon:"fa-chevron-down"}),A.createElementVNode("span",null,A.toDisplayString(A.unref(De)(Math.abs(t.change),0,10)),1)],64)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createTextVNode(" Test ")],64))],2)])],4))}}),ece="",t1=N(pie,[["__scopeId","data-v-3d62a718"]]),hie={date:{type:Date,required:!0,default:[]},activated:{type:Boolean,required:!0,default:!1},soon:{type:Boolean,required:!0,default:!1}},n1="data:image/webp;base64,UklGRpQVAABXRUJQVlA4WAoAAAAQAAAAYwAAjQAAQUxQSAEBAAABgGPb2rHn+e3KTunUNntXPyaQKSSV7UzBSfejizkD26htPU/y/lZETABIK2xW2koVX0DKFxXZrLR1CQD2y3vah6PpUeLxnXviuwEBtL5SPz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KzEytuvDaHjB85srMddi0+wpvq8Gv2hadSObXFOTXuJYuca+dVPRPg6i8Jy4YRCCcvDJ9h/G4pHs8UtxcagVPFP3LtdVn8qwgiO4/RkY/NvkpOnzPrgtjKA9F25cFO/iEV1SONr2YEg2e21jHzxn1BpHOC+VjkYP6+XVfhyW3FnO55pyGqelLpWnIMcvLUb/nYZluleyUZSt9yjLLW6HyeMT/TsCJpQ+TixJzS2a/JQRc+igKZAJCN5f4pHylBS/nTZQqff5FAhr6QbQIbB+3sfEH7dCB5G4BcRU/hWRacndN8it2rV+0OL+q9WuSGBeFROmtq7ko9ZK00n9mGhhm+CYaUiUyUpdNEhcjDi72xSDSPr5PIlg4ecGmxXOzJMAvwi7oAQQg+Yf0/4z2VCGkFCJ+brkSSZLb8fs2G2c+fYVn/tnAmmooSpfNyJw90LiRdDuQbQ93BQWt3azhV9TEBsPGFE3GGkTw0krNqcURqAQKzvXr2bnhO8KRWoWG7XliqBjI/qGv4UOSaZGwIFqc88q1XuMWRIvW6Cy0jaeljlEotz0AFnDGH2Aq1Pn6SREslqfkNcbIyJ/ZH8oMeXhw4Ua92QnhLp909o39dtaOK/eyzPuAH0ev2kS5g9sKHUC7eEoZIBtPPDrdsGXKpr+L+P9BRvo7OcKaVBxchzd2ZLrq/KC+l5UF0ZSfFqSW6UE0inppd0zfwM2/igkrgcDqi6fKcNBLQO3Yh9ysmWdD7EQ2ZnQ1rzdxuR59XgwjJvDgAAA",gie={class:"reveal-day-option-wrapper"},mie={class:"card-wrapper"},bie=["src"],yie={class:"card-wrapper"},Bie=["src"],wie={class:"card-wrapper"},vie=["src"],_ie=A.defineComponent({__name:"RevealDayOption",props:hie,setup(e){const t=e,n=A.inject(si),r=A.ref(null),a=A.ref(null),i=A.computed(()=>t.date.getTime()<new Date().getTime()),s=A.computed(()=>i.value?`Revealed Cards
|
|
880
|
+
${n("general.winrate")}: ${De(f/u*100,1,3)}%`}}},datalabels:{align:"end",anchor:"end",formatter(d,u){let f=0;for(let p=0;p<u.chart.data.datasets.length;p++)f+=u.chart.data.datasets[p].data[u.dataIndex];return f||""},display(d){return d.datasetIndex===d.chart.data.datasets.length-1}}},scales:{x:{type:a.value?"time":"category",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"},stacked:!0,grid:{display:!1}},y:{stacked:!0,grid:{display:!1},display:!0}}};return(d,u)=>(A.openBlock(),A.createBlock(A.unref(qc),{ref_key:"chart",ref:r,"chart-data":l.value,options:c},null,8,["chart-data"]))}}),oae={data:{type:Array,required:!0,default:[]},type:{type:String,required:!0,default:"winrate"},baseline:{type:Number,required:!1,default:50}},m3=A.defineComponent({__name:"RoundCardInfoBarChart",props:oae,setup(e){const t=e,{t:n}=se(),r=A.ref();Re.register(...Ua),Re.register(Vi),Re.register(xd);const a=A.computed(()=>Object.values(tx(t.data,o=>o.copy))),i=A.computed(()=>({labels:Array.from(t.data.reduce((o,l)=>o.add(l.round),new Set)),datasets:a.value.map(o=>{var l;return{backgroundColor:o.map(c=>c.wins*2>=c.matches?"rgba(0, 173, 255, 0.5)":"rgba(255, 81, 83, 0.5)"),borderWidth:0,borderRadius:9999,data:o.map(c=>c.wins/c.matches*100-t.baseline),label:`${n("general.copy")} ${(l=o[0])==null?void 0:l.copy}`}})})),s={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!0},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{title(o){return`${n("general.round")}: ${o[0].label}`},label(o){return(o.dataset.data[o.dataIndex]+t.baseline).toFixed(2)+"%"},footer(o){const l=[];for(const c of a.value)c[o[0].dataIndex]!==void 0&&l.push(`${n("general.copy")} ${c[o[0].dataIndex].copy}`,`${n("general.matches")}: ${c[o[0].dataIndex].matches}`,`${n("general.wins")}: ${c[o[0].dataIndex].wins}`);return l}}},datalabels:{display:!1}},scales:{y:{title:{display:!0,text:n("general.winrate")},ticks:{callback(o){return o+t.baseline+"%"}}},x:{title:{display:!0,text:t.type==="drawn"?n("cards.roundDrawn"):n("cards.roundPlayed")}}}};return(o,l)=>(A.openBlock(),A.createBlock(A.unref(qc),{ref_key:"chart",ref:r,"chart-data":i.value,options:s},null,8,["chart-data"]))}}),lae={data:{type:Array,required:!0,default:[]},baseline:{type:Number,required:!1,default:50},type:{type:String,required:!0,default:"winrate"},yAxis:{type:String,required:!0,default:"date"}},b3=A.defineComponent({__name:"LineChart",props:lae,setup(e){const t=e,{t:n}=se(),r=A.ref();Re.register(...Ua),Re.register(Vi);const a=A.computed(()=>({labels:t.data.map(o=>o.label),datasets:[{borderColor:"rgba(255, 255, 255, 0.1)",data:t.data.map(o=>o.totalMatches&&t.type==="playrate"?o.matches/(o.totalMatches??1)*100:o.winrate*100),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"},{pointBackgroundColor:"rgba(255, 255, 255, 0)",data:t.data.map(()=>t.baseline),borderColor:"rgba(0, 0, 0, 0.05)"}]})),i=A.computed(()=>({plugins:{legend:{display:!1},tooltip:{mode:"nearest",position:"nearest",axis:"x",intersect:!1,filter:function(o){return o.datasetIndex===0},callbacks:{label(o){let l=o.dataset.label||"";return l&&(l+=": "),l+=o.parsed.y+"%",l},footer:o=>{let l="";return o[0].dataIndex!==null&&t.data[o[0].dataIndex].matches&&(l+=`${n("general.matches")}: ${t.data[o[0].dataIndex].matches}`),l}}},annotation:{annotations:[]},datalabels:{display:!1}},elements:{line:{tension:.25}},scales:{x:t.yAxis==="date"?{type:"time",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"}}:void 0}}));t.yAxis==="date"&&f3(i.value,t.data.map(o=>o.label));const s=[{id:"chartGradient",beforeDraw:function(o){if(!o.scales.y)return;const l=o.ctx.createLinearGradient(0,0,0,o.height);if(l.addColorStop(0,"rgba(0, 173, 255, 0.25)"),t.type==="playrate"){l.addColorStop(1,"rgba(0, 173, 255, 0)"),o.config.data.datasets[0].fill={target:1,above:l},o.update();return}const c=o.scales.y,d=Math.max.apply(null,o.data.datasets[0].data),u=c.getPixelForValue(d),f=c.getPixelForValue(50),p=Math.min(Math.min.apply(null,o.data.datasets[0].data),50),h=c.getPixelForValue(p),m=Math.max(Math.min((f-u)/(h-u),1),0);l.addColorStop(Math.max(m-.08,0),"rgba(0, 173, 255, 0)");const B=o.ctx.createLinearGradient(0,0,0,o.height);B.addColorStop(m,"rgba(255, 81, 83, 0)"),B.addColorStop(1,"rgba(255, 81, 83, 0.25)"),o.config.data.datasets[0].fill={target:1,above:l,below:B},o.update()}}];return(o,l)=>(A.openBlock(),A.createBlock(A.unref(ov),{ref_key:"chart",ref:r,"chart-data":a.value,options:i.value,plugins:s},null,8,["chart-data","options"]))}}),cae={deckRows:{type:Array,required:!0,default:[]}},dae=A.defineComponent({__name:"BuiltDecksTable",props:cae,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=A.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.deck")},{id:"name",isShown:!0,sortDirection:_e.NEITHER,title:r("general.name")},{id:"updatedAt",isShown:!0,sortDirection:_e.DOWN,title:r("general.updated")},{id:"createdAt",isShown:!0,sortDirection:_e.NEITHER,title:r("general.created")},{id:"manaCurve",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.manaCurve")},{id:"cost",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.cost")}]);function i(s){const o=ys(s,a);o&&t("sort-updated",o)}return(s,o)=>(A.openBlock(),A.createBlock(wa,{class:"large-table","heading-items":a.value,onToggleSort:i},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(n.deckRows,(l,c)=>(A.openBlock(),A.createBlock(cl,{id:l.id,key:l.id,type:"built",deckcode:l.deckCode,name:l.name,"created-at":l.createdAt,"updated-at":l.updatedAt,index:c+2},null,8,["id","deckcode","name","created-at","updated-at","index"]))),128))]),_:1},8,["heading-items"]))}}),Hle="",y3=N(dae,[["__scopeId","data-v-d908953a"]]),uae={regionNameRef:{type:String,required:!0,default:"01IO001"},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},fae={class:"wrapper"},pae={class:"champion-column column-content"},hae={class:"matches-column column-content"},gae=A.defineComponent({__name:"ProfileRegionRow",props:uae,setup(e){const t=e,n=A.computed(()=>ve().dataJson.regions.find(a=>a.nameRef===t.regionNameRef)),r=A.computed(()=>{var a;return`https://lor.gg/storage/cards/banner/${(a=n.value)==null?void 0:a.cardCode}.png`});return(a,i)=>{var s;return A.openBlock(),A.createElementBlock("div",{class:"profile-champion-row wrapper",style:A.normalizeStyle({"--index":t.index})},[A.createElementVNode("div",{class:"small-table-background",style:A.normalizeStyle({"--background-image":`url(${r.value})`})},null,4),A.createElementVNode("div",fae,[A.createElementVNode("div",pae,[A.createVNode(NA,{"region-ref":t.regionNameRef},null,8,["region-ref"]),A.createElementVNode("span",null,A.toDisplayString((s=n.value)==null?void 0:s.name),1)]),A.createElementVNode("div",hae,A.toDisplayString(A.unref(De)(t.matches,0,10)),1),A.createElementVNode("div",{class:"winrate-column column-content",style:A.normalizeStyle({color:`var(${A.unref(jn)(t.wins/t.matches)})`})},A.toDisplayString(A.unref(De)(t.wins/t.matches*100,1,3))+"% ",5)])],4)}}}),Rle="",Xm=N(gae,[["__scopeId","data-v-b3f363b1"]]),mae={rows:{type:Array,required:!0,default:[]}},bae=A.defineComponent({__name:"ProfileRegionTable",props:mae,setup(e){const t=e,{t:n}=se(),r=[{title:n("general.regions"),id:"regions"},{title:n("general.matches"),id:"matches"},{title:n("general.winrate"),id:"winrate"}];return(a,i)=>(A.openBlock(),A.createBlock(ji,{class:"small-table","heading-items":r},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.rows,s=>(A.openBlock(),A.createBlock(Xm,{key:s.regionNameRef,"region-name-ref":s.regionNameRef,matches:s.matches,wins:s.wins,index:s.index+2},null,8,["region-name-ref","matches","wins","index"]))),128))]),_:1}))}}),Vle="",B3=N(bae,[["__scopeId","data-v-2dae645c"]]),yae={rows:{type:Array,required:!0,default:[]}},Bae={archetypeId:{type:Number,required:!0,default:0},deckCode:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},wae={class:"wrapper"},vae={class:"champion-column column-content"},_ae={class:"matches-column column-content"},Cae=A.defineComponent({__name:"ProfileArchetypeRow",props:Bae,setup(e){const t=e,n=A.computed(()=>xt(t.deckCode)),r=A.computed(()=>Zt(n.value)),a=A.computed(()=>{var i;return`https://lor.gg/storage/cards/banner/${(i=ca(r.value,n.value,1)[0])==null?void 0:i.cardCode}.png`});return(i,s)=>(A.openBlock(),A.createElementBlock("div",{class:"profile-champion-row wrapper",style:A.normalizeStyle({"--index":t.index})},[A.createElementVNode("div",{class:"small-table-background",style:A.normalizeStyle({"--background-image":`url(${a.value})`})},null,4),A.createElementVNode("div",wae,[A.createElementVNode("div",vae,[A.createVNode(Xa,{"deck-code":t.deckCode},null,8,["deck-code"])]),A.createElementVNode("div",_ae,A.toDisplayString(A.unref(De)(t.matches,0,10)),1),A.createElementVNode("div",{class:"winrate-column column-content",style:A.normalizeStyle({color:`var(${A.unref(jn)(t.wins/t.matches)})`})},A.toDisplayString(A.unref(De)(t.wins/t.matches*100,1,3))+"% ",5)])],4))}}),Kle="",Jm=N(Cae,[["__scopeId","data-v-91ed15a8"]]),xae=A.defineComponent({__name:"ProfileArchetypeTable",props:yae,setup(e){const t=e,{t:n}=se(),r=[{title:n("general.archetypes"),id:"archetypes"},{title:n("general.matches"),id:"matches"},{title:n("general.winrate"),id:"winrate"}];return(a,i)=>(A.openBlock(),A.createBlock(ji,{class:"small-table","heading-items":r},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.rows,s=>(A.openBlock(),A.createBlock(Jm,{key:s.archetypeId,"archetype-id":s.archetypeId,"deck-code":s.deckCode,matches:s.matches,wins:s.wins,index:s.index+2},null,8,["archetype-id","deck-code","matches","wins","index"]))),128))]),_:1}))}}),$le="",w3=N(xae,[["__scopeId","data-v-f883a9d9"]]),kae={selectedRegion:{type:String,required:!0,default:null},selectedPlayers:{type:Array,required:!0,default:[]},selectedGraphOption:{type:String,required:!0,default:"totalPlayers"},players:{type:Array,required:!0,default:[]},updatedAt:{type:Number,required:!0,default:0},isGraphShown:{type:Boolean,required:!0,default:!1}},Eae={class:"leaderboard-options"},Sae={class:"multiselects"},Fae={class:"details"},Iae={class:"players"},Qae={class:"updated"},Uae=A.defineComponent({__name:"LeaderboardOptions",props:kae,emits:["update:selectedPlayers","update:selectedRegion","update:selectedGraphOption"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=A.inject(si),i=[{name:r("leaderboard.lp"),nameRef:"lp"},{name:r("leaderboard.rank"),nameRef:"rank"},{name:r("leaderboard.totalPlayers"),nameRef:"totalPlayers"}],s=A.ref(n.selectedRegion),o=A.ref(n.selectedPlayers),l=A.ref(n.selectedGraphOption),c=A.computed(()=>s.value===null?n.players:n.players.filter(d=>d.server===s.value));return A.watch(s,d=>{t("update:selectedRegion",d),t("update:selectedPlayers",[])}),A.watch(o,d=>{t("update:selectedPlayers",d)}),A.watch(l,d=>{t("update:selectedGraphOption",d)}),A.watch(()=>n.selectedPlayers,d=>{o.value=d}),A.watch(()=>n.selectedRegion,d=>{s.value=d}),A.watch(()=>n.selectedGraphOption,d=>{l.value=d}),A.watch(()=>n.isGraphShown,d=>{d&&o.value.length>0&&(l.value="lp")}),(d,u)=>(A.openBlock(),A.createElementBlock("div",Eae,[A.createElementVNode("div",Sae,[A.createVNode(A.unref(Ht),{modelValue:o.value,"onUpdate:modelValue":u[0]||(u[0]=f=>o.value=f),placeholder:A.unref(r)("general.players"),mode:s.value?"tags":"disabled",options:c.value,searchable:!0,label:"name","value-prop":"user_id"},null,8,["modelValue","placeholder","mode","options"]),A.createVNode(A.unref(Ht),{modelValue:s.value,"onUpdate:modelValue":u[1]||(u[1]=f=>s.value=f),placeholder:A.unref(r)("general.server"),options:A.unref(ve)().dataJson.servers,label:"name","value-prop":"nameRef"},null,8,["modelValue","placeholder","options"]),n.isGraphShown?(A.openBlock(),A.createBlock(A.unref(Ht),{key:0,modelValue:l.value,"onUpdate:modelValue":u[2]||(u[2]=f=>l.value=f),options:i,"can-clear":!1,label:"name","value-prop":"nameRef"},null,8,["modelValue"])):A.createCommentVNode("",!0)]),A.createElementVNode("div",Fae,[A.createElementVNode("div",Iae,[A.createTextVNode(A.toDisplayString(A.unref(r)("leaderboard.totalPlayers"))+": ",1),A.createElementVNode("span",null,A.toDisplayString(A.unref(De)(c.value.length)),1)]),A.createElementVNode("div",Qae,[A.createTextVNode(A.toDisplayString(A.unref(r)("leaderboard.updated"))+": ",1),A.createElementVNode("span",null,A.toDisplayString(A.unref(a)(n.updatedAt*60*1e3).fromNow()),1)])])]))}}),zle="",v3=N(Uae,[["__scopeId","data-v-9d0b891b"]]),Tae={deckRows:{type:Array,required:!0,default:[]},originalDeckcode:{type:String,required:!0,default:""}},Dae=A.defineComponent({__name:"SimilarDecksTable",props:Tae,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=A.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.deck")},{id:"matches",isShown:!0,sortDirection:_e.DOWN,title:r("general.matches")},{id:"winrate",isShown:!0,sortDirection:_e.NEITHER,title:r("general.winrate")},{id:"cost",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.cost")},{id:"differences",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.deckDifferences")}]);function i(s){const o=ys(s,a);o&&t("sort-updated",o)}return(s,o)=>(A.openBlock(),A.createBlock(wa,{class:"large-table","heading-items":a.value,onToggleSort:i},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(n.deckRows,(l,c)=>(A.openBlock(),A.createBlock(cl,{key:l.deckcode,type:"similar",deckcode:l.deckcode,matches:l.matches,wins:l.wins,"compared-deckcode":n.originalDeckcode,index:c+2},null,8,["deckcode","matches","wins","compared-deckcode","index"]))),128))]),_:1},8,["heading-items"]))}}),Wle="",_3=N(Dae,[["__scopeId","data-v-b78d45ef"]]),Oae={heading:{type:String,required:!1,default:""}},Lae={class:"top"},Mae={class:"heading"},Nae={class:"chart"},Pae=A.defineComponent({__name:"StatisticsPaneContainer",props:Oae,setup(e){const t=e,n=A.ref(null),r=A.ref(!1);function a(){var i;r.value?document.exitFullscreen():(i=n.value)==null||i.requestFullscreen()}return A.onMounted(()=>{var i;(i=n.value)==null||i.addEventListener("fullscreenchange",()=>{r.value=document.fullscreenElement!==null})}),(i,s)=>(A.openBlock(),A.createElementBlock("div",{ref_key:"statitisticsPaneContainer",ref:n,class:A.normalizeClass(["statitistics-pane-container",r.value?"full-screen":""])},[A.createElementVNode("div",Lae,[A.createElementVNode("div",Mae,A.toDisplayString(t.heading),1),A.createVNode(A.unref(Ye),{class:"maximize-icon",icon:"fa-maximize",onClick:a})]),A.createElementVNode("div",Nae,[A.renderSlot(i.$slots,"default",{},void 0,!0)])],2))}}),Gle="",C3=N(Pae,[["__scopeId","data-v-f00b184f"]]);function Hae({swiper:e,on:t}){t("beforeInit",()=>{if(e.params.effect!=="carousel")return;e.classNames.push(`${e.params.containerModifierClass}carousel`);const n={watchSlidesProgress:!0,centeredSlides:!0};Object.assign(e.params,n),Object.assign(e.originalParams,n)}),t("progress",()=>{if(e.params.effect!=="carousel")return;const n=.2,r=e.slides.length;for(let a=0;a<e.slides.length;a+=1){const i=e.slides[a],s=e.slides[a].progress,o=Math.abs(s);let l=1;o>1&&(l=(o-1)*.3+1);const c=i.querySelectorAll(".swiper-carousel-animate-opacity"),d=`${s*l*50}%`,u=1-o*n,f=r-Math.abs(Math.round(s));i.style.transform=`translateX(${d}) scale(${u})`,i.style.zIndex=f,o>3?i.style.opacity=0:i.style.opacity=1,c.forEach(p=>{p.style.opacity=1-o/3})}}),t("setTransition",(n,r)=>{if(e.params.effect==="carousel")for(let a=0;a<e.slides.length;a+=1){const i=e.slides[a],s=i.querySelectorAll(".swiper-carousel-animate-opacity");i.style.transitionDuration=`${r}ms`,s.forEach(o=>{o.style.transitionDuration=`${r}ms`})}})}const jle="",Rae={cardCodes:{type:Array,required:!0,default:[]}},Vae={class:"card-carousel"},Kae=["src"],$ae=A.defineComponent({__name:"CardCarousel",props:Rae,emits:["update:activeIndex"],setup(e,{emit:t}){const n=e;console.log(n);const r=[Hae];function a(i){t("update:activeIndex",i.activeIndex)}return(i,s)=>(A.openBlock(),A.createElementBlock("div",Vae,[A.createVNode(A.unref(z2),{effect:"carousel","grab-cursor":!0,loop:!1,"looped-slides":5,"slides-per-view":"auto",modules:r,"slide-to-clicked-slide":!0,onActiveIndexChange:a},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(n.cardCodes,o=>(A.openBlock(),A.createBlock(A.unref(W2),{key:o},{default:A.withCtx(()=>[A.createElementVNode("img",{src:`https://lor.gg/storage/cards/card/en_us/${o}.webp`},null,8,Kae)]),_:2},1024))),128))]),_:1})]))}}),Yle="",x3=N($ae,[["__scopeId","data-v-a6ffd2e2"]]),zae={wins:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},showDetails:{type:Boolean,required:!1,default:!0}},Wae={class:"wins-losses-line"},Gae={key:0,class:"details"},jae={class:"wl-record"},Yae={class:"lines"},qae=A.defineComponent({__name:"WinsLossesLine",props:zae,setup(e){const t=e;return(n,r)=>(A.openBlock(),A.createElementBlock("div",Wae,[t.showDetails?(A.openBlock(),A.createElementBlock("div",Gae,[A.createElementVNode("span",jae,A.toDisplayString(t.wins)+"W "+A.toDisplayString(t.matches-t.wins)+"L - ",1),A.createElementVNode("span",{style:A.normalizeStyle({color:`var(${A.unref(jn)(t.wins/t.matches)})`})},A.toDisplayString(A.unref(De)(t.wins/t.matches*100,1,3))+"%",5)])):A.createCommentVNode("",!0),A.createElementVNode("div",Yae,[t.wins!==0?(A.openBlock(),A.createElementBlock("div",{key:0,class:"wins line",style:A.normalizeStyle({flexGrow:t.wins})},null,4)):A.createCommentVNode("",!0),t.matches-t.wins!==0?(A.openBlock(),A.createElementBlock("div",{key:1,class:"losses line",style:A.normalizeStyle({flexGrow:t.matches-t.wins})},null,4)):A.createCommentVNode("",!0)])]))}}),qle="",Zm=N(qae,[["__scopeId","data-v-511803da"]]),Xae={cardCode:{type:String,required:!0,default:"01IO001"},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},Jae={key:0,class:"wrapper"},Zae={class:"champion-column column-content"},eie={class:"matches-column column-content"},tie=A.defineComponent({__name:"DashboardCardRow",props:Xae,setup(e){const t=e,n=A.computed(()=>$t().cardJsonObject[t.cardCode]),r=A.computed(()=>{var a;return`https://lor.gg/storage/cards/banner/${(a=n.value)==null?void 0:a.cardCode}.png`});return(a,i)=>(A.openBlock(),A.createElementBlock("div",{class:"profile-champion-row wrapper",style:A.normalizeStyle({"--index":t.index})},[A.createElementVNode("div",{class:"small-table-background",style:A.normalizeStyle({"--background-image":`url(${r.value})`})},null,4),n.value?(A.openBlock(),A.createElementBlock("div",Jae,[A.createElementVNode("div",Zae,[A.createVNode(va,{class:"circle-card-item","card-prop":n.value},null,8,["card-prop"]),A.createElementVNode("span",null,A.toDisplayString(n.value.name),1)]),A.createElementVNode("div",eie,A.toDisplayString(A.unref(De)(t.matches,0,10)),1),A.createElementVNode("div",{class:"winrate-column column-content",style:A.normalizeStyle({color:`var(${A.unref(jn)(t.wins/t.matches)})`})},A.toDisplayString(A.unref(De)(t.wins/t.matches*100,1,3))+"% ",5)])):A.createCommentVNode("",!0)],4))}}),Xle="",e1=N(tie,[["__scopeId","data-v-d436bc19"]]),nie={class:"card-page-toggle"},rie=A.defineComponent({__name:"CardTogglePage",setup(e){const{t}=se(),n=A.ref(0);return(r,a)=>(A.openBlock(),A.createElementBlock("div",nie,[A.createVNode(rc,{"selected-option":n.value,"onUpdate:selectedOption":a[0]||(a[0]=i=>n.value=i),options:[A.unref(t)("cards.recommendedDecks"),A.unref(t)("cards.similarCards"),A.unref(t)("general.statistics")]},null,8,["selected-option","options"])]))}}),Jle="",k3=N(rie,[["__scopeId","data-v-07d07f20"]]),aie=A.defineComponent({setup(){return{}},mounted(){const e=xt("EUAACAIEA54Q6AIGBECACBQKF4AQIBQGAECAOUYBAECBWAICAYKACAIFFUAQIBAOAIDAOBJIAIDAYBIIAIDAMGY5AMDAEGI4EIBQMAYTC4RAGBQABIMCQAYGAUBQMHY");console.log(e),console.log(sx(e))}}),iie=[A.createElementVNode("h1",null,"TestComponent",-1)];function sie(e,t,n,r,a,i){return A.openBlock(),A.createElementBlock("div",null,iie)}const E3=N(aie,[["render",sie]]),Aie={name:{type:String,required:!0,default:""},selectedBannerCard:{type:String,required:!0,default:""},rank:{type:Number,required:!0,default:0},id:{type:Number,required:!0,default:0},matches:{type:Number,required:!0,default:0},lp:{type:Number,required:!0,default:0},change:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},oie={class:"wrapper"},lie={class:"champion-column column-content"},cie={class:"mana-hexagon"},die={class:"mana-number"},uie={class:"name"},fie={class:"matches-column column-content"},pie=A.defineComponent({__name:"DashboardLeaderboardRow",props:Aie,setup(e){const t=e,n=A.computed(()=>t.selectedBannerCard===void 0?null:`https://lor.gg/storage/cards/banner/${t.selectedBannerCard}.png`),r=A.computed(()=>t.change===void 0?[]:t.change===0?["neutral"]:[t.change>0?"good":"bad"]);return(a,i)=>(A.openBlock(),A.createElementBlock("div",{class:"profile-champion-row wrapper",style:A.normalizeStyle({"--index":t.index})},[A.createElementVNode("div",{class:"small-table-background",style:A.normalizeStyle({"--background-image":`url(${n.value})`,"--background-color":t.index%2===0?"var(--color-background-0)":"transparent"})},null,4),A.createElementVNode("div",oie,[A.createElementVNode("div",lie,[A.createElementVNode("div",cie,[A.createVNode(OA,{class:"hexagon-icon"}),A.createElementVNode("div",die,A.toDisplayString(t.rank),1)]),A.createElementVNode("div",uie,A.toDisplayString(t.name),1)]),A.createElementVNode("div",fie,A.toDisplayString(A.unref(De)(t.matches,0,10)),1),A.createElementVNode("div",{class:A.normalizeClass(["column-content change",r.value])},[t.change!==void 0?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createVNode(A.unref(Ye),{class:"icon",icon:"fa-chevron-down"}),A.createElementVNode("span",null,A.toDisplayString(A.unref(De)(Math.abs(t.change),0,10)),1)],64)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createTextVNode(" Test ")],64))],2)])],4))}}),ece="",t1=N(pie,[["__scopeId","data-v-3d62a718"]]),hie={date:{type:Date,required:!0,default:[]},activated:{type:Boolean,required:!0,default:!1},soon:{type:Boolean,required:!0,default:!1}},n1="data:image/webp;base64,UklGRpQVAABXRUJQVlA4WAoAAAAQAAAAYwAAjQAAQUxQSAEBAAABgGPb2rHn+e3KTunUNntXPyaQKSSV7UzBSfejizkD26htPU/y/lZETABIK2xW2koVX0DKFxXZrLR1CQD2y3vah6PpUeLxnXviuwEBtL5SPz6/Ur+8Urvl0EbGQLccWsPjXH6DO+jg+vQSZGh5Zb7XaAp7aPEKbezzKMKEWuP+C7y0xdzV6gXkWif7drOyTtj34Mg99QL28KAcr5B14g0yAyo5p94gzytkn7Dv3qZz49xvzM6hzi5ffHrankNevMXZzIDUhuFfDw2PdKQr1SqVSqX+rUqbPfP8et2YqFKjqgz1I8ODA8O/7SnjAnC4qIBvGNm18wGdw0WF/6jMFcCfBwBWUDggbBQAABBDAJ0BKmQAjgAAwBIliAKSzJgM/yf5TextXv8H/bv2BwHdg+Vdzn/0vWB/tPVF5h36ofrv14vMX+3Xq2/7v1cf2b1AP6l/gOtp9A/9x/Th/dX4aP7X/2f3C9rXBZ+F2Jr4/8+/kPzM9c3+w73vS/++9CP5x+Df1n9q/dL2b8DflTqHfln9a/0/Ar209A7vn37/+R6R/YP/le4H/Ov63/oeSc9E9g3+ef3T/s/4z2Uf/P/Zelr6a/9f+k+BH+df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WoWG7XliqBjI/qGv4UOSaZGwIFqc88q1XuMWRIvW6Cy0jaeljlEotz0AFnDGH2Aq1Pn6SREslqfkNcbIyJ/ZH8oMeXhw4Ua92QnhLp909o39dtaOK/eyzPuAH0ev2kS5g9sKHUC7eEoZIBtPPDrdsGXKpr+L+P9BRvo7OcKaVBxchzd2ZLrq/KC+l5UF0ZSfFqSW6UE0inppd0zfwM2/igkrgcDqi6fKcNBLQO3Yh9ysmWdD7EQ2ZnQ1rzdxuR59XgwjJvDgAAA",gie={class:"reveal-day-option-wrapper"},mie={class:"card-wrapper"},bie=["src"],yie={class:"card-wrapper"},Bie=["src"],wie={class:"card-wrapper"},vie=["src"],_ie=A.defineComponent({__name:"RevealDayOption",props:hie,setup(e){const t=e,n=A.inject(si),r=A.ref(null),a=A.ref(null),i=A.computed(()=>t.date.getTime()<new Date().getTime()),s=A.computed(()=>i.value?`Revealed Cards
|
|
881
881
|
${t.date.toLocaleDateString()}`:`Cards Revealed
|
|
882
882
|
${n(t.date).fromNow()}`),o=A.computed(()=>{const l=[];return t.activated&&l.push("activated"),t.soon&&l.push("soon"),i.value&&l.push("past"),l});return A.onMounted(()=>{nt(r.value,{content:a.value,arrow:!0})}),(l,c)=>(A.openBlock(),A.createElementBlock("div",gie,[A.createElementVNode("div",{ref_key:"revealDayOption",ref:r,class:A.normalizeClass(["reveal-day-option",o.value])},[A.createElementVNode("div",mie,[A.createElementVNode("img",{src:A.unref(n1),alt:"card",class:"card"},null,8,bie)]),A.createElementVNode("div",yie,[A.createElementVNode("img",{src:A.unref(n1),alt:"card",class:"card"},null,8,Bie)]),A.createElementVNode("div",wie,[A.createElementVNode("img",{src:A.unref(n1),alt:"card",class:"card"},null,8,vie)])],2),A.createElementVNode("div",{ref_key:"revealDayOptionTippy",ref:a},[A.createVNode(Ac,{text:s.value},null,8,["text"])],512)]))}}),tce="",r1=N(_ie,[["__scopeId","data-v-f3dbe378"]]),Cie={days:{type:Array,required:!0,default:[]}},xie=e=>(A.pushScopeId("data-v-76ed46ac"),e=e(),A.popScopeId(),e),kie={class:"reveal-day-options"},Eie=xie(()=>A.createElementVNode("div",{class:"line"},null,-1)),Sie=A.defineComponent({__name:"RevealDayOptions",props:Cie,emits:["update:days"],setup(e,{emit:t}){const n=e;function r(a){const i=n.days.map(s=>({activated:!1,date:s.date,soon:s.soon}));!i[a].soon&&i[a].date.getTime()>new Date().getTime()||(i[a].activated=!0,console.log(i),t("update:days",i))}return(a,i)=>(A.openBlock(),A.createElementBlock("div",kie,[Eie,(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(n.days,(s,o)=>(A.openBlock(),A.createBlock(r1,{key:o,date:s.date,activated:s.activated,soon:s.soon,onClick:l=>r(o)},null,8,["date","activated","soon","onClick"]))),128))]))}}),nce="",S3=N(Sie,[["__scopeId","data-v-76ed46ac"]]),Fie={cardCodes:{type:Array,required:!0,default:[]}},Iie=A.defineComponent({__name:"DashboardNewCards",props:Fie,setup(e){const t=e,{t:n}=se(),r=[{title:n("general.newCards"),id:"newCards"}];return(a,i)=>(A.openBlock(),A.createBlock(ji,{class:"small-table","heading-items":r},{default:A.withCtx(()=>[A.createVNode(dp,{class:"reveal-carousel","card-codes":t.cardCodes},null,8,["card-codes"])]),_:1}))}}),rce="",F3=N(Iie,[["__scopeId","data-v-89a26f2c"]]),Qie={players:{type:Array,required:!0,default:[]},shownColumns:{type:Object,required:!0,default:{player:!0,lp:!0,change:!0,wins:!0,matches:!0,winrate:!0,deck:!0}}},Uie=A.defineComponent({__name:"LeaderboardDetailTable",props:Qie,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=A.ref([{id:"player",isShown:n.shownColumns.player,sortDirection:_e.UP,title:r("general.player")},{id:"lp",isShown:n.shownColumns.lp,sortDirection:_e.NEITHER,title:r("general.lp")},{id:"change",isShown:n.shownColumns.change,sortDirection:_e.NEITHER,title:r("general.change")},{id:"wins",isShown:n.shownColumns.wins,sortDirection:_e.NEITHER,title:r("general.wins")},{id:"matches",isShown:n.shownColumns.matches,sortDirection:_e.NEITHER,title:r("general.matches")},{id:"winrate",isShown:n.shownColumns.winrate,sortDirection:_e.NEITHER,title:r("general.winrate")},{id:"deck",isShown:n.shownColumns.deck,sortDirection:_e.NOT_SORTABLE,title:r("general.favoriteDeck")}]),i=A.computed(()=>({"--columns":a.value.filter(o=>o.isShown).length}));function s(o){const l=ys(o,a);l&&t("sort-updated",l)}return(o,l)=>(A.openBlock(),A.createBlock(wa,{class:"large-table",style:A.normalizeStyle(i.value),"heading-items":a.value,onToggleSort:s},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(n.players,(c,d)=>(A.openBlock(),A.createBlock(zm,A.mergeProps({key:d},c,{index:d+2,"shown-columns":n.shownColumns}),null,16,["index","shown-columns"]))),128))]),_:1},8,["style","heading-items"]))}}),ace="",I3=N(Uie,[["__scopeId","data-v-d2362a8d"]]),ice="",Tie={},Die=e=>(A.pushScopeId("data-v-c8a918ec"),e=e(),A.popScopeId(),e),Oie={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400"},Lie=[Die(()=>A.createElementVNode("path",{d:"M107 57.2C23 99 25 97.6 22.2 106.3c-3.4 10.4-6 4 43.5 103.1l44 88.3.5-6.6c.4-4.6 1-7.7 2.4-10.4l1.9-3.7-40-80.8c-22.1-44.4-40.1-81.5-40.1-82.4 0-5-.9-4.5 78-43.9l75-37.4 3.4 1.1 3.3 1.2 49.8 99.6c33 65.8 49.8 100.4 49.8 102 0 4.9-1 5.5-28.2 19.2l-26 13 15.4.1h15.4l13.9-6.9c19.2-9.6 23.1-14 23.2-25.6v-5.7L257 129.6C221.5 58.6 206 28 204 26c-4-4.2-9.6-6.5-15.8-6.5h-5.1L107 57.2m121.5-15.8 3.5 7h29.6c26 0 29.7.2 31.3 1.3 4 2.8 4 1.9 4 68v61.6l6.6 12.9 6.6 12.9v-76.3c0-90 .7-84.8-11.8-91.7l-4.2-2.3-34.6-.3-34.6-.2 3.6 7m95.7 42.1V91l24.3 12.1c25.1 12.5 28 14.5 28 18.7 0 1.3-10.8 24-26.1 55l-26.2 53 .2 14.9.2 14.8 32.8-65.8 32.8-65.8v-5.5a20 20 0 0 0-7-16 739.5 739.5 0 0 0-58.6-30.6c-.2 0-.4 3.4-.4 7.6M126.5 285.1c-4.2 4.2-2 10.3 4 11.4 1.5.2 57.1.3 123.6.2l120.9-.2 1.9-2c3-3 3-6.9 0-9.8l-1.8-1.9H128.8l-2.3 2.3m1.9 25.8c-4.5 1.8-5.5 7.5-1.9 11l2.3 2.3h122.4c130.4 0 125.8.1 127.2-3.5 1.5-3.8.3-7.8-2.7-9.4-2.5-1.3-244-1.7-247.3-.4m-2.3 29.3c-2.6 2.6-2.6 6.6.2 9.3l2 2h246.8l1.9-1.9c2.6-2.6 2.6-7.2.1-9.6l-1.8-1.7H128l-2 1.9m.6 27c-3.7 3.5-3 8.9 1.4 11.1 2.6 1.3 9.8 1.4 124.8 1.2l122-.2 2-2c3-3 3-6.9 0-9.8l-1.8-1.9H251.7c-122.8 0-123.3 0-125 1.6"},null,-1))];function Mie(e,t){return A.openBlock(),A.createElementBlock("svg",Oie,Lie)}const Q3=N(Tie,[["render",Mie],["__scopeId","data-v-c8a918ec"]]),Ace="",Nie={},Pie=e=>(A.pushScopeId("data-v-4a6733fd"),e=e(),A.popScopeId(),e),Hie={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 431.6"},Rie=[Pie(()=>A.createElementVNode("path",{d:"m178 26.2-8.6 1.8-9.6 2c-2.6.6-6.6 1.5-8.8 1.8-2.2.4-5.7 1-7.8 1.6l-8.8 1.8-8.8 1.8-8.6 1.8c-2.6.5-6.2 1.2-8 1.7l-8.8 1.7-8.6 1.8-6.6 1.4c-3.2.5-14.1 2.9-18.3 3.9-4.2 1-4.4 2.2-2.2 15.1 4.2 24.3 5.2 51.8 2.9 80.4l-.8 10.8c-.2 2-.8 6.9-1.4 10.6-.6 3.7-1.5 9-1.8 11.8-.4 2.8-1.2 7-1.8 9.6a138 138 0 0 0-1.8 8.3c-.3 2-1.1 5.3-1.8 7.4l-1.6 6.1c-.8 4-3.8 14.2-7.1 23.6a191.2 191.2 0 0 1-5.7 15.3L39 259.8c-.7 2-1.7 4.2-2.1 5l-8.5 17c-3.4 7-3.6 6.6 11.3 17a13873.6 13873.6 0 0 1 92 64.6c17.4 12.3 16.5 12.7 18-8L151 332c.6-12 .9-16 2-30.4.6-7.2 1-13.3 1.8-30.2l1.2-18c1.6-20.9 3-46.9 2.6-48.9-.4-2.3-1.8-2.8-5-1.8-9.2 3-18 4.4-23 3.7-15.1-2-25.3-12.8-29.8-31.8a95.5 95.5 0 0 1-2.6-29.8c0-19.7.1-20 5.5-21.6a691 691 0 0 0 14.5-4.2 583.1 583.1 0 0 0 24-6.8 88 88 0 0 0 6.4-1.8c2-.6 4.9-1.5 6.4-1.8 1.5-.3 4.7-1.3 7-2l5-1.4 5-1.4c12-3.9 13.8-3.9 28.5.4a746 746 0 0 0 23 6.5c.4.2 2.3.8 4.3 1.3 2 .4 5.2 1.4 7.2 2l6.4 1.8c1.5.3 4.2 1 5.8 1.6l7.4 2.2c19 5 18.6 4.5 18.6 24.2 0 48.9-20.7 71.2-55 59.3-6.4-2.2-6.8-1.3-5.6 13a948 948 0 0 1 1.8 30.3c.2 4.7.9 14.2 1.4 21 1.1 14.4 1.6 22.6 2.2 34.8.2 4.8.9 14.7 1.4 21.8 1 12.3 1.2 16.4 2.2 36 .9 16.2-.6 16.4 26.2-2.6a2102.7 2102.7 0 0 1 24.8-17.3c2.6-2 7.1-5 10-7.1a3744.4 3744.4 0 0 1 30.2-21.1l17.8-12.5c13.2-9.2 14-9.9 13.7-12.5-.2-2-.5-2.7-3.4-8.1a164.8 164.8 0 0 1-10.7-22.4 292 292 0 0 1-9.5-25.4 292 292 0 0 1-7.2-25.2 345.8 345.8 0 0 1-10.4-64.4c-.9-7.7-.6-44.7.4-53.6l1.7-15.4 1.4-10.6c2-9.4 2-10.2-.1-11.7-.7-.4-2.1-1-3.2-1l-6.5-1.5-9.5-2c-2.7-.4-6.7-1.2-8.8-1.8l-6.9-1.4c-1.7-.3-5.7-1-9-1.8l-9.8-2c-2-.3-5.5-1-7.6-1.6l-8.8-1.8-8.8-1.8c-2.1-.5-5.6-1.3-7.8-1.6-2.2-.4-5.8-1.1-8-1.7l-9.4-2c-3-.4-7.3-1.3-9.6-1.9a28.3 28.3 0 0 0-14.8 0"},null,-1))];function Vie(e,t){return A.openBlock(),A.createElementBlock("svg",Hie,Rie)}const a1=N(Nie,[["render",Vie],["__scopeId","data-v-4a6733fd"]]),lce="",Kie={},$ie=e=>(A.pushScopeId("data-v-b519ac08"),e=e(),A.popScopeId(),e),zie={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 429.1"},Wie=[$ie(()=>A.createElementVNode("path",{d:"M53.8 32.8c-2.6 1-8.3 12.9-13.6 28l-2.1 5.8c-.4 1.1-1.1 3.5-1.5 5.4L35 78.8a84.1 84.1 0 0 0-2.6 14.1c0 2.7.8 4.1 7.4 12.5 16.7 21.3 16.7 21 2.2 21-13.3 0-13-.3-12.7 11.8.2 8.4.7 11.8 1.9 14.2.9 1.7 1.7 2.7 27 35.3 8.1 10.6 7.8 11.5-4.2 11.5-11.9 0-12 .3-4.4 16.9a269.4 269.4 0 0 0 28.7 47.7c8.4 11 8.6 11.5 9 19.8.5 8 1.1 11.4 4.3 24.4 7 28.8 30 57 60 73.2a97 97 0 0 1 5 2.8l3 1.4c1.5.5 3.5 1.4 4.5 2 2.8 1.4 10.6 4 11.6 3.6 2.1-.5 2.4-3.6 1-10.6-.6-2.6-1.4-7.3-1.9-10.6-.4-3.2-1.2-7.6-1.6-9.7a218 218 0 0 1-2.6-15.1l-1.8-10.2-1.6-8.2c-1-5.6-.9-5.5-13-5.8-10.4-.2-11-.4-12.3-2.5-.4-.7-.5-7-.7-28.7-.2-26.2-.2-27.9-1-29.2-.4-.8-5.5-6.3-11.4-12.2-5.9-6-11-11.4-11.4-12.2-.8-1.5-1.3-65.8-.5-68.5.7-2.6 2.6-2.3 7.3 1.3l6.8 4.9a1371.6 1371.6 0 0 1 25 17.9c16.1 11.6 25 18.2 26.2 19.7l1.2 1.6.2 28.6c.2 31.6.1 30.2 2.8 32 1.7 1.1 28 1.4 30.6.3 3-1.2 2.8.6 3-31.4.2-31.9 0-29.5 3-32.5 1.7-1.5 7.1-5.6 18.6-13.7a3147.5 3147.5 0 0 0 38.3-27.6c4.4-3.3 6-3.6 7-1.2.7 2 .4 66.8-.3 68.3-.4.7-5.4 6-11.2 11.9-5.7 5.8-10.9 11.3-11.4 12.2l-1 1.6-.2 27.8c-.3 35 1.2 31.2-12.6 31.6-12 .3-12.2.4-13.6 12.6-.3 2.9-1 7.3-1.4 9.8-1.4 8.3-2 11.7-2.6 17-.3 2.9-1 7.5-1.6 10.4-1 5.6-2.2 14.1-2.2 16.9 0 2 1 3.3 2.8 3.3a93.6 93.6 0 0 0 21.9-9.4 124.7 124.7 0 0 0 47-44.9 128.2 128.2 0 0 0 15.9-52.5c.7-11.5 0-9.7 11.7-27.2l10.4-15.6c2.3-3.3 18.2-34.8 19-37.7 1.1-3.3-.8-4.3-8.8-4.3-11.8-.1-11.9.1 3.4-20.2a1330 1330 0 0 0 15.4-20.8c4.9-6.6 5.5-8.5 6.6-20.9.6-6.3.4-8.2-1-9.6l-1.1-1.1-9-.2c-13.5-.3-13.6-.6-4.2-13.4 14.6-19.7 14.1-18.3 11-31a188 188 0 0 0-9.9-31.1c-2.8-8-7.8-17.3-9.9-18.1-2.6-1.1-1.7-2.8-24.6 43-20.2 40.3-21.3 42.4-22.7 43.2-2.1 1.1-3 .5-6.3-4.2A118.4 118.4 0 0 0 237.3 71a122.9 122.9 0 0 0-76 2 73.7 73.7 0 0 0-14.9 6.9c-13.8 7-29.8 21.3-39.1 35-3.3 4.8-5.2 5.6-7.4 3.1L78.4 75.7c-22.4-44.9-22-44-24.6-43"},null,-1))];function Gie(e,t){return A.openBlock(),A.createElementBlock("svg",zie,Wie)}const i1=N(Kie,[["render",Gie],["__scopeId","data-v-b519ac08"]]),dce="",jie={},Yie=e=>(A.pushScopeId("data-v-f1928c9e"),e=e(),A.popScopeId(),e),qie={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 470.8"},Xie=[Yie(()=>A.createElementVNode("path",{"fill-rule":"evenodd",d:"M60.6 11c-.5.8-.6 17.6-.5 157l.1 156 1 .8c1.5 1.3 278.4 1.2 279.6 0 1.3-1.3 1.2.8 1.1-81.1l-.1-78.6-1.3-1.1c-1-.9-4.5-2.2-16-6-38.4-12.5-36.7-12-38-10.7-.7.7-.7 5.1-.9 64.4l-.2 63.7-.9 2.2c-3.9 9.5-11 14-23.1 14.3-12.4.3-20-3.6-24.3-12.3-2.4-4.8-2.3-1.4-2.3-95v-87l-1-1.1c-1.2-1.4 1-.6-31.6-12.6a552 552 0 0 0-25.5-9.1c-2.5 0-2.3-8.5-2.3 98.8 0 60.3-.2 98.7-.4 100.8-2.7 23.7-41.9 26.6-49.7 3.6l-.9-2.6-.2-120.9-.2-120.9-1-1c-.7-.6-5-2.5-12.6-5.3C59.9 8.6 61.7 9.2 60.6 10.9m.9 356.3c-2.6.5-3 1.8-3 7.7-.1 12.3-5.7 18.7-24.6 28.2-11.4 5.6-16.6 10.9-19.3 19.3a86 86 0 0 0-.9 19.5l-.2 17.3 1 1 1 1h368.1l1-1c.7-.6 1-1.6 1.2-3.2.4-3.3 0-28.3-.6-31.4-1.9-10.7-8-17.3-22-23.4-17.3-7.6-21.8-13.2-22.6-28.5-.3-4.5-.4-5-1.3-5.8l-1-.9H200.7c-75.7 0-138.4 0-139.2.2"},null,-1))];function Jie(e,t){return A.openBlock(),A.createElementBlock("svg",qie,Xie)}const s1=N(jie,[["render",Jie],["__scopeId","data-v-f1928c9e"]]),fce="",Zie={},ese=e=>(A.pushScopeId("data-v-b1448e85"),e=e(),A.popScopeId(),e),tse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 459.4"},nse=[ese(()=>A.createElementVNode("path",{d:"M175.3 29.5c-1.7.3-.9 1.5 6.1 8.9A57.6 57.6 0 0 1 200 82.6a63.5 63.5 0 0 1-5 25.1 63.5 63.5 0 0 1-23 27.5c-4.6 2.7-6.3 2-14.8-6.2-7.9-7.7-8-7.8-11.1-6.2-2.6 1.3-14.6 12-20.5 18.2l-9.6 10a349.5 349.5 0 0 0-35.5 43.8c-3.1 4.6-6 9.1-9.3 15.2a753 753 0 0 1-5.2 9.2c-.9 1.4-2 3.7-2.4 5-.4 1.2-1.3 3.2-2 4.4l-2.2 4.8a52 52 0 0 1-1.8 4.2c-.4.8-1.3 3.2-2 5.4l-2.2 6c-.5 1-1.3 3.8-1.8 6l-2 7.7a62 62 0 0 0-1.8 8c-3.2 23.5-3 26.6 1.7 31A154.6 154.6 0 0 0 73 318a254 254 0 0 0 33.9 16.2c2.4 1.3 12.6 4.6 19 6.3 3.6 1 7.4 2 8.4 2.4l7.4 1.6c3 .5 7.5 1.4 9.8 2 2.7.6 7.5 1.3 13.2 1.8 5 .4 11.5 1 14.6 1.4 3.8.4 9.7.6 18.6.6 18.5 0 19.9 1.2 13.7 11.9a86.4 86.4 0 0 1-50.1 39.8c-1.4.6-4.1 1.4-6 2-1.9.4-5.2 1.3-7.4 2-2.2.6-6.3 1.4-9.2 1.7-6 .7-10 1.5-10.7 2.2-1.3 1.2 2.5 4 7 5.1l8.3 2.3c2.8.8 6.8 1.7 9 2l15.8 2.6c6.9 1.3 29.5 2 39.8 1.2 6.5-.4 8-.6 18.2-2.4l8.3-1.4c2-.3 5.7-1.2 8-2 2.4-.7 5.4-1.6 6.7-1.8 1.3-.3 3.8-1 5.6-1.8l6-2.2c1.5-.5 3.7-1.3 4.7-1.9l4.2-1.8a228 228 0 0 0 22-11.7c20.9-13.4 40-38.5 44.7-58.8l1.8-6c1.7-4.9 1.9-5.8 2.6-13.2a116.3 116.3 0 0 0-10.4-71l-1.4-2.7c-.4-1-2.5-4.5-6-9.7-4.3-6.6-7.5-7.3-10-2.3-3.1 6.1-15.8 20.3-23.2 25.8a81.5 81.5 0 0 1-71.1 13.4l-6.3-2.3a93 93 0 0 1-38.7-30.1c-4-5.7-4-7.3-.4-12.8a82.1 82.1 0 0 1 38.7-30.2c17-7.5 42.3-7.4 57.2.3 8.8 4.5 10.9 2.5 9.2-9.2-.3-2.2-.6-6.5-.6-9.6a129 129 0 0 0-4.6-34.6 75.6 75.6 0 0 0-3.6-13.8c-4.5-17-18-42.2-32-59.6a193.3 193.3 0 0 0-27.5-25.9 82.1 82.1 0 0 0-18-10.3c-3-1.8-14.6-4.6-17-4.1"},null,-1))];function rse(e,t){return A.openBlock(),A.createElementBlock("svg",tse,nse)}const A1=N(Zie,[["render",rse],["__scopeId","data-v-b1448e85"]]),hce="",ase={},ise=e=>(A.pushScopeId("data-v-e5501fa0"),e=e(),A.popScopeId(),e),sse={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Ase=[ise(()=>A.createElementVNode("path",{d:"M9.51 16.698 2.244 9.18 1 11.478l6.226 6.264 2.283-1.044ZM6.189 6.676 4.943 5.423 7.02 3.335l1.245 1.253L6.19 6.676ZM9.302 14.61 4.113 9.39l.83-1.044H6.19l3.736-3.55V3.545L10.962 2.5l4.981.626.415 4.803-.83.835-1.453.209-.83 1.043 1.453 1.253.83-.835 1.453.626-4.15 4.176L12 13.775l.83-.835-1.453-1.462-1.037 1.253v1.252l-1.038.627ZM20.924 21.5l-6.018-6.473 1.66-1.67L23 19.412 20.924 21.5Z"},null,-1))];function ose(e,t){return A.openBlock(),A.createElementBlock("svg",sse,Ase)}const o1=N(ase,[["render",ose],["__scopeId","data-v-e5501fa0"]]),lse={...Uu,expanded:{type:Boolean,required:!1,default:!1}},cse=e=>(A.pushScopeId("data-v-063912d6"),e=e(),A.popScopeId(),e),dse={class:"content logo no-scrollbar"},use={class:"nav-item"},fse={class:"nav-icon-wrapper"},pse={class:"nav-text"},hse={class:"nav-icon-wrapper"},gse={class:"nav-text"},mse={class:"profile content"},bse={class:"nav-item"},yse={class:"nav-icon-wrapper"},Bse=cse(()=>A.createElementVNode("div",{class:"nav-text"},"Open Cards",-1)),wse={class:"nav-item"},vse={class:"nav-icon-wrapper"},_se={class:"nav-text settings"},Cse={class:"nav-item"},xse={class:"nav-icon-wrapper"},kse={class:"nav-text"},Ese={class:"nav-item"},Sse={class:"nav-icon-wrapper"},Fse={class:"nav-text name"},Ise={class:"nav-item"},Qse={class:"nav-icon-wrapper"},Use={class:"nav-text settings"},Tse={href:"/test",class:"nav-item"},Dse={class:"nav-icon-wrapper"},Ose={class:"nav-text sign-in-container"},Lse={class:"fancy-button"},Mse=A.defineComponent({__name:"NavigationSide",props:lse,setup(e){const t=e,{t:n}=se(),r=A.ref(),a=A.ref();let i;A.onMounted(()=>{var o;i=new ResizeObserver(s),r.value&&i.observe(r.value),(o=a.value)==null||o.addEventListener("scroll",s),s()}),A.onUnmounted(()=>{var o;i.disconnect(),(o=a.value)==null||o.removeEventListener("scroll",s)});function s(){var c,d;let o=!1,l=!1;a.value&&(a.value.clientHeight<a.value.scrollHeight&&(o=a.value.scrollTop>0,l=a.value.scrollTop<a.value.scrollHeight-a.value.clientHeight),(c=a.value)==null||c.classList.toggle("scrollable-up",o),(d=a.value)==null||d.classList.toggle("scrollable-down",l))}return(o,l)=>(A.openBlock(),A.createElementBlock("div",{ref_key:"navigationSide",ref:r,class:A.normalizeClass(["navigation-side",t.expanded?"expanded":""])},[A.createElementVNode("div",dse,[A.createElementVNode("div",use,[A.createElementVNode("div",fse,[A.createVNode(tA,{"logo-type":"logo-only"})]),A.createElementVNode("div",pse,[A.createVNode(tA,{"logo-type":"text-only"})])])]),A.createElementVNode("div",{ref_key:"navigationPages",ref:a,class:"pages content no-scrollbar"},[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.items,c=>(A.openBlock(),A.createBlock(A.unref($3.RouterLink),{key:c.routerLocation,to:c.routerLocation,class:A.normalizeClass(["nav-item",c.highlighted?"highlight":""])},{default:A.withCtx(()=>[A.createElementVNode("div",hse,[A.createVNode(A.unref(Ye),{class:"nav-icon",icon:c.faIcon},null,8,["icon"])]),A.createElementVNode("div",gse,A.toDisplayString(c.text),1)]),_:2},1032,["to","class"]))),128))],512),A.createElementVNode("div",mse,[t.isLoggedIn?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createElementVNode("div",bse,[A.createElementVNode("div",yse,[A.createVNode(A.unref(Ye),{class:"nav-icon",icon:"gift"})]),Bse]),A.createElementVNode("div",wse,[A.createElementVNode("div",vse,[A.createVNode(A.unref(Ye),{class:"nav-icon",icon:"cog"})]),A.createElementVNode("div",_se,[A.createElementVNode("div",null,A.toDisplayString(A.unref(n)("general.settings")),1),A.createVNode(A.unref(Ye),{class:"icon",icon:"language"})])]),A.createElementVNode("div",Cse,[A.createElementVNode("div",xse,[A.createVNode(A.unref(Ye),{class:"nav-icon",icon:"rotate-right"})]),A.createElementVNode("div",kse,A.toDisplayString(A.unref(n)("general.syncUserData")),1)]),A.createElementVNode("div",Ese,[A.createElementVNode("div",Sse,[A.createVNode(va,{"card-code-prop":t.iconCard??"05BC160","ignore-card-item":!0,"color-override":t.bannerColor},null,8,["card-code-prop","color-override"])]),A.createElementVNode("div",Fse,A.toDisplayString(t.name),1)])],64)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:1},[A.createElementVNode("div",Ise,[A.createElementVNode("div",Qse,[A.createVNode(A.unref(Ye),{class:"nav-icon",icon:"cog"})]),A.createElementVNode("div",Use,[A.createElementVNode("div",null,A.toDisplayString(A.unref(n)("general.settings")),1),A.createVNode(A.unref(Ye),{class:"icon",icon:"language"})])]),A.createElementVNode("a",Tse,[A.createElementVNode("div",Dse,[A.createVNode(A.unref(Ye),{class:"nav-icon",icon:"arrow-right-to-bracket"})]),A.createElementVNode("div",Ose,[A.createElementVNode("div",Lse,A.toDisplayString(A.unref(n)("general.signIn")),1)])])],64))])],2))}}),mce="",l1=N(Mse,[["__scopeId","data-v-063912d6"]]),Nse=A.defineComponent({__name:"NavigationTopMobile",props:Uu,setup(e){const t=e,n=A.ref(!1),r=A.ref(!1),a=A.ref(),i=A.ref();window.addEventListener("click",s);function s(c){var d;n.value&&(n.value=!!((d=i.value)!=null&&d.contains(c.target)))}function o(){A.nextTick(()=>{n.value=!0,A.nextTick(()=>{var c,d;(d=(c=a.value)==null?void 0:c.$el.querySelector("input"))==null||d.focus()})})}function l(){r.value=!0}return A.onUnmounted(()=>{window.removeEventListener("click",s)}),(c,d)=>(A.openBlock(),A.createElementBlock("div",{ref_key:"navigationTopMobile",ref:i,class:"navigation-top-mobile"},[n.value?(A.openBlock(),A.createBlock(tc,{key:1,ref_key:"searchBar",ref:a,class:"search-bar"},null,512)):(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createVNode(A.unref(Ye),{class:"icon",icon:"bars",onClick:l}),A.createVNode(tA,{class:"logo-icon","logo-type":"text-only"}),A.createVNode(A.unref(Ye),{class:"icon",icon:"search",onClick:A.withModifiers(o,["stop","prevent"])},null,8,["onClick"])],64)),A.createVNode(bi,{"show-modal":r.value,"onUpdate:showModal":d[0]||(d[0]=u=>r.value=u)},{default:A.withCtx(()=>[A.createVNode(l1,A.mergeProps({class:"navigation-side"},t,{expanded:!0}),null,16)]),_:1},8,["show-modal"])],512))}}),bce="",c1=N(Nse,[["__scopeId","data-v-00513f55"]]),Pse={class:"navigation-top"},Hse=A.defineComponent({__name:"NavigationTop",props:Uu,setup(e){const t=e;return(n,r)=>(A.openBlock(),A.createElementBlock("div",Pse,[A.createVNode(Km,A.mergeProps({class:"navigation-top-desktop"},t),null,16),A.createVNode(c1,A.mergeProps({class:"navigation-top-mobile"},t),null,16)]))}}),yce="",U3=N(Hse,[["__scopeId","data-v-6df2641b"]]),Rse={modelValue:{type:String,required:!0,default:!1}},Vse=["value"],Kse=A.defineComponent({__name:"ColorPicker",props:Rse,emits:["update:modelValue"],setup(e,{emit:t}){const n=e;function r(a){t("update:modelValue",a.target.value)}return(a,i)=>(A.openBlock(),A.createElementBlock("input",{type:"color",value:n.modelValue,onInput:r},null,40,Vse))}}),Bce="",T3=N(Kse,[["__scopeId","data-v-5ebbd7eb"]]),$se={rows:{type:Array,required:!0,default:[]},selectedRegion:{type:String,required:!0,default:"americas"}},zse={class:"multiselect-wrapper"},Wse=A.defineComponent({__name:"DashboardLeaderboardTable",props:$se,emits:["update:selectedRegion"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=A.ref(n.selectedRegion),i=[{title:r("general.leaderboard"),id:"leaderboard"}];return A.watch(a,s=>{t("update:selectedRegion",s)}),(s,o)=>(A.openBlock(),A.createBlock(ji,{class:"small-table","heading-items":i},{heading:A.withCtx(()=>[A.createElementVNode("div",zse,[A.createVNode(A.unref(Ht),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=l=>a.value=l),class:"multiselect",placeholder:A.unref(r)("general.server"),options:A.unref(ve)().dataJson.servers,"can-clear":!1,label:"name","value-prop":"nameRef"},null,8,["modelValue","placeholder","options"])])]),default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(n.rows,(l,c)=>(A.openBlock(),A.createBlock(t1,{id:l.id,key:l.id,change:l.change,lp:l.lp,name:l.name,rank:l.rank,"selected-banner-card":l.selectedBannerCard,matches:l.matches,index:c+2},null,8,["id","change","lp","name","rank","selected-banner-card","matches","index"]))),128))]),_:1}))}}),wce="",D3=N(Wse,[["__scopeId","data-v-fe0f916c"]]),Gse={archetypeId:{type:Number,required:!0,default:1},deckcode:{type:String,required:!0,default:""},index:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1},playrate:{type:Number,required:!0,default:1},regions:{type:Array,required:!0,default:[]},cards:{type:Array,required:!0,default:[]}},jse=e=>(A.pushScopeId("data-v-403b89f6"),e=e(),A.popScopeId(),e),Yse={href:"/test",class:"wrapper"},qse={class:"table-card-row-background-wrapper"},Xse={class:"table-card-row-background"},Jse=[jse(()=>A.createElementVNode("div",{class:"background-card"},null,-1))],Zse={class:"archetypes-row wrapper"},eAe={class:"column-content"},tAe={class:"column-content"},nAe=A.defineComponent({__name:"ArchetypesRow",props:Gse,setup(e){const t=e,n=A.computed(()=>xt(t.deckcode)),r=A.computed(()=>Zt(n.value)),a=A.computed(()=>t.cards.map(i=>`https://lor.gg/storage/cards/banner/${i}.png`));return(i,s)=>(A.openBlock(),A.createElementBlock("a",Yse,[A.createElementVNode("div",{class:"archetypes-row-wrapper wrapper",style:A.normalizeStyle({"--index":t.index})},[A.createElementVNode("div",qse,[A.createElementVNode("div",Xse,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(a.value,o=>(A.openBlock(),A.createElementBlock("div",{key:o,class:"background-card-wrapper",style:A.normalizeStyle({"--background-image":`url(${o})`})},Jse,4))),128))])]),A.createElementVNode("div",Zse,[A.createElementVNode("div",{class:"column-content deck-highlight-wrapper",onClick:s[0]||(s[0]=A.withModifiers(()=>{},["stop","prevent"]))},[A.createVNode(Xa,{"deck-code":t.deckcode,deck:n.value,cards:r.value},null,8,["deck-code","deck","cards"])]),A.createElementVNode("div",eAe,A.toDisplayString(A.unref(De)(t.matches)),1),A.createElementVNode("div",{class:"column-content",style:A.normalizeStyle({color:`var(${A.unref(jn)(t.wins/t.matches)})`})},A.toDisplayString(A.unref(De)(t.wins/t.matches*100,2,3)+"%"),5),A.createElementVNode("div",tAe,A.toDisplayString(A.unref(De)(t.playrate,2,3)+"%"),1)])],4)]))}}),_ce="",d1=N(nAe,[["__scopeId","data-v-403b89f6"]]),rAe={archetypeRows:{type:Array,required:!0,default:[]}},aAe=A.defineComponent({__name:"ArchetypesTable",props:rAe,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=A.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.deck")},{id:"matches",isShown:!0,sortDirection:_e.DOWN,title:r("general.matches")},{id:"winrate",isShown:!0,sortDirection:_e.NEITHER,title:r("general.winrate")},{id:"playrate",isShown:!0,sortDirection:_e.NEITHER,title:r("general.playrate")}]);function i(s){const o=ys(s,a);o&&t("sort-updated",o)}return(s,o)=>(A.openBlock(),A.createBlock(wa,{class:"large-table","heading-items":a.value,onToggleSort:i},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(n.archetypeRows,(l,c)=>(A.openBlock(),A.createBlock(d1,{key:l.deckcode,"archetype-id":l.archetypeId,cards:l.cards,deckcode:l.deckcode,index:c+2,matches:l.matches,playrate:l.playrate,regions:l.regions,wins:l.wins},null,8,["archetype-id","cards","deckcode","index","matches","playrate","regions","wins"]))),128))]),_:1},8,["heading-items"]))}}),Cce="",O3=N(aAe,[["__scopeId","data-v-0bc0b4ec"]]),iAe={typeSummary:{type:Object,required:!0,default:{quantity:0,isError:!1,typeRef:"Champion"}}},sAe={class:"number-container"},AAe={key:0,class:"type-icon"},oAe=A.defineComponent({__name:"DeckBuilderSummaryType",props:iAe,setup(e){const t=e;return(n,r)=>(A.openBlock(),A.createElementBlock("div",{class:A.normalizeClass(["deck-builder-summary-type",[t.typeSummary.isError?"error":"",t.typeSummary.typeRef==="Deck"?"deck":""]])},[A.createElementVNode("div",sAe,A.toDisplayString(t.typeSummary.quantity),1),t.typeSummary.typeRef!=="Deck"?(A.openBlock(),A.createElementBlock("div",AAe,[t.typeSummary.typeRef==="Champion"?(A.openBlock(),A.createBlock(i1,{key:0})):t.typeSummary.typeRef==="Follower"?(A.openBlock(),A.createBlock(a1,{key:1})):t.typeSummary.typeRef==="Spell"?(A.openBlock(),A.createBlock(A1,{key:2})):t.typeSummary.typeRef==="Landmark"?(A.openBlock(),A.createBlock(s1,{key:3})):t.typeSummary.typeRef==="Equipment"?(A.openBlock(),A.createBlock(o1,{key:4})):A.createCommentVNode("",!0)])):A.createCommentVNode("",!0)],2))}}),xce="",Ja=N(oAe,[["__scopeId","data-v-2e6bb287"]]),lAe={cards:{type:Array,required:!0,default:[]},deck:{type:Object,required:!0,default:{}}},cAe={class:"deck-builder-summary"},dAe=A.defineComponent({__name:"DeckBuilderSummary",props:lAe,setup(e){const t=e;function n(c,d,u){const f=t.cards.filter(c).map(p=>t.deck[p.cardCode]).reduce((p,h)=>p+h,0);return{typeRef:u,quantity:f,isError:d(f)}}const r=A.computed(()=>n(c=>c.typeRef==="Unit"&&c.supertype==="Champion",c=>c>6,"Champion")),a=A.computed(()=>n(c=>c.typeRef==="Unit"&&c.supertype==="",()=>!1,"Follower")),i=A.computed(()=>n(c=>c.typeRef==="Spell",()=>!1,"Spell")),s=A.computed(()=>n(c=>c.typeRef==="Landmark",()=>!1,"Landmark")),o=A.computed(()=>n(c=>c.typeRef==="Equipment",()=>!1,"Equipment")),l=A.computed(()=>n(()=>!0,c=>c!==40,"Deck"));return(c,d)=>(A.openBlock(),A.createElementBlock("div",cAe,[A.createVNode(Ja,{"type-summary":r.value},null,8,["type-summary"]),A.createVNode(Ja,{"type-summary":a.value},null,8,["type-summary"]),A.createVNode(Ja,{"type-summary":i.value},null,8,["type-summary"]),A.createVNode(Ja,{"type-summary":s.value},null,8,["type-summary"]),A.createVNode(Ja,{"type-summary":o.value},null,8,["type-summary"]),A.createVNode(Ja,{"type-summary":l.value},null,8,["type-summary"])]))}}),kce="",u1=N(dAe,[["__scopeId","data-v-ec8f0fa9"]]),uAe={rows:{type:Array,required:!0,default:[]}},fAe=A.defineComponent({__name:"DashboardCardTable",props:uAe,setup(e){const t=e,{t:n}=se(),r=[{title:n("general.cards"),id:"cards"},{title:n("general.matches"),id:"matches"},{title:n("general.winrate"),id:"winrate"}];return(a,i)=>(A.openBlock(),A.createBlock(ji,{class:"small-table","heading-items":r},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(t.rows,s=>(A.openBlock(),A.createBlock(e1,{key:s.cardCode,"card-code":s.cardCode,matches:s.matches,wins:s.wins,index:s.index+2},null,8,["card-code","matches","wins","index"]))),128))]),_:1}))}}),Ece="",L3=N(fAe,[["__scopeId","data-v-e5817be3"]]),pAe={modelValue:{type:Number,required:!0,default:5}},hAe=["value"],gAe=A.defineComponent({__name:"ZoomSlider",props:pAe,emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=A.ref(),a=A.ref();function i(s){t("update:modelValue",Number.parseInt(s.target.value))}return A.onMounted(()=>{nt(r.value,{content:a.value,arrow:!0,interactive:!0,trigger:"mouseenter click",interactiveBorder:10})}),(s,o)=>{const l=A.resolveComponent("FontAwesomeIcon");return A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("div",{ref_key:"button",ref:r,class:"circle-button"},[A.createVNode(l,{icon:"search-plus",class:"zoom-button"})],512),A.createElementVNode("div",{ref_key:"slider",ref:a,class:"slider-wrapper"},[A.createElementVNode("input",{type:"range",min:"1",max:"10",class:"slider",value:n.modelValue,onInput:i},null,40,hAe)],512)])}}}),Sce="",M3=N(gAe,[["__scopeId","data-v-bac83f78"]]),mAe={cardProp:{type:Object,required:!1,default:void 0},cardCodeProp:{type:String,required:!1,default:void 0}},Tu=e=>(A.pushScopeId("data-v-7a77ebe8"),e=e(),A.popScopeId(),e),bAe={class:"card-overview"},yAe={class:"overview-top"},BAe={class:"card-name"},wAe={class:"card-tags-container"},vAe={class:"card-tags"},_Ae={class:"card-tag"},CAe={class:"card-tag-text"},xAe={class:"card-tag"},kAe={class:"card-tag-text"},EAe={class:"card-tag"},SAe={class:"card-tag-text"},FAe={class:"card-tag"},IAe={class:"card-tag-text"},QAe=Tu(()=>A.createElementVNode("hr",{class:"divider"},null,-1)),UAe={class:"card-text"},TAe=Tu(()=>A.createElementVNode("hr",{class:"divider"},null,-1)),DAe={class:"keyword-description"},OAe={class:"keyword-name"},LAe=Tu(()=>A.createElementVNode("hr",{class:"divider"},null,-1)),MAe={class:"flavor-text"},NAe=Tu(()=>A.createElementVNode("div",{class:"card-art-section"},[A.createElementVNode("div",{class:"card-art-button primary-button"},"Card Art")],-1)),PAe=A.defineComponent({__name:"CardOverview",props:mAe,setup(e){const t=e,n=iA(t.cardProp,t.cardCodeProp,!0),r=A.computed(()=>{if(n.value===void 0)return[];const l=[];for(const c of n.value.keywordRefs){const d=ve().dataJson.keywords.find(u=>u.nameRef===c);d&&l.push(d)}return l}),a=A.computed(()=>{if(n.value===void 0)return null;const l=ve().dataJson;return rA(n.value.regionRefs[0])?l.runeterraChampions.find(c=>c.nameRef===n.value.regionRefs[0])??l.regions[0]:l.regions.find(c=>c.nameRef===n.value.regionRefs[0])??l.regions[0]}),i=A.computed(()=>n.value===void 0?null:ve().dataJson.rarities.find(l=>l.nameRef===n.value.rarityRef)??ve().dataJson.rarities[0]),s=A.computed(()=>n.value===void 0?null:ve().dataJson.types.find(l=>l.nameRef===n.value.typeRef)??ve().dataJson.types[0]),o=A.computed(()=>n.value===void 0?null:ve().dataJson.sets.find(l=>l.nameRef===n.value.set)??ve().dataJson.sets[0]);return(l,c)=>{var u,f,p,h,m,B,g,b;const d=A.resolveComponent("FontAwesomeIcon");return A.openBlock(),A.createElementBlock("div",bAe,[A.unref(n)?(A.openBlock(),A.createElementBlock(A.Fragment,{key:0},[A.createElementVNode("div",yAe,[A.createElementVNode("div",BAe,A.toDisplayString(A.unref(n).name),1),A.createVNode(d,{icon:"times",class:"close-icon"})]),A.createElementVNode("div",wAe,[A.createElementVNode("div",vAe,[A.createElementVNode("div",_Ae,[A.createElementVNode("div",{class:"icon",style:A.normalizeStyle({content:`url(${((u=a.value)==null?void 0:u.icon)??""})`})},null,4),A.createElementVNode("div",CAe,A.toDisplayString((f=a.value)==null?void 0:f.name),1)]),A.createElementVNode("div",xAe,[A.createElementVNode("div",{class:"icon",style:A.normalizeStyle({content:`url(${((p=i.value)==null?void 0:p.icon)??""})`})},null,4),A.createElementVNode("div",kAe,A.toDisplayString((h=i.value)==null?void 0:h.name),1)]),A.createElementVNode("div",EAe,[A.createElementVNode("div",{class:"icon",style:A.normalizeStyle({content:`url(${((m=s.value)==null?void 0:m.icon)??""})`})},null,4),A.createElementVNode("div",SAe,A.toDisplayString((B=s.value)==null?void 0:B.name),1)]),A.createElementVNode("div",FAe,[A.createElementVNode("div",{class:"icon",style:A.normalizeStyle({content:`url(${((g=o.value)==null?void 0:g.icon)??""})`})},null,4),A.createElementVNode("div",IAe,A.toDisplayString((b=o.value)==null?void 0:b.name),1)])])]),QAe,A.createElementVNode("div",UAe,A.toDisplayString(A.unref(n).descriptionRaw),1),TAe,(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(r.value,_=>(A.openBlock(),A.createElementBlock(A.Fragment,{key:_.nameRef},[A.createElementVNode("div",DAe,[A.createElementVNode("b",OAe,A.toDisplayString(_.name+" - "),1),A.createElementVNode("span",null,A.toDisplayString(_.description),1)]),LAe],64))),128)),A.createElementVNode("div",MAe,A.toDisplayString(A.unref(n).flavorText),1),NAe],64)):A.createCommentVNode("",!0)])}}}),Fce="",N3=N(PAe,[["__scopeId","data-v-7a77ebe8"]]),HAe={gameType:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1}},RAe={class:"profile-game-type-winrate"},VAe={class:"game-type"},KAe=A.defineComponent({__name:"ProfileGameTypeWinrate",props:HAe,setup(e){const t=e;return(n,r)=>(A.openBlock(),A.createElementBlock("div",RAe,[A.createElementVNode("div",VAe,A.toDisplayString(t.gameType),1),A.createVNode(Zm,{matches:t.matches,wins:t.wins},null,8,["matches","wins"])]))}}),Ice="",P3=N(KAe,[["__scopeId","data-v-1bb3c9de"]]),$Ae={deckRows:{type:Array,required:!0,default:[]}},zAe=A.defineComponent({__name:"DecksTable",props:$Ae,emits:["sort-updated"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=A.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.deck")},{id:"matches",isShown:!0,sortDirection:_e.DOWN,title:r("general.matches")},{id:"winrate",isShown:!0,sortDirection:_e.NEITHER,title:r("general.winrate")},{id:"manaCurve",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.manaCurve")},{id:"cost",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:r("general.cost")}]);function i(s){const o=ys(s,a);o&&t("sort-updated",o)}return(s,o)=>(A.openBlock(),A.createBlock(wa,{class:"large-table","heading-items":a.value,onToggleSort:i},{default:A.withCtx(()=>[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(n.deckRows,(l,c)=>(A.openBlock(),A.createBlock(cl,{key:l.deckCode,type:"data",deckcode:l.deckCode,matches:l.matches,wins:l.wins,index:c+2},null,8,["deckcode","matches","wins","index"]))),128))]),_:1},8,["heading-items"]))}}),Qce="",H3=N(zAe,[["__scopeId","data-v-ab6c4ad4"]]),WAe={deckCode:{type:String,required:!1,default:""}},GAe={deck:{type:Object,required:!0,default:{}}},jAe={class:"deck-preview-wrapper"},YAe=A.defineComponent({__name:"ShowDeckPreviewButton",props:GAe,setup(e){const t=e,{t:n}=se(),r=A.ref(null),a=A.ref(!1);return A.onMounted(()=>{nt(r.value,{content:n("deck.showPreview"),arrow:!0})}),(i,s)=>(A.openBlock(),A.createElementBlock("div",null,[A.createElementVNode("button",{ref_key:"button",ref:r,class:"circle-button",onClick:s[0]||(s[0]=o=>a.value=!0)},[A.createVNode(A.unref(Ye),{icon:"camera"})],512),A.createVNode(bi,{"show-modal":a.value,"onUpdate:showModal":s[1]||(s[1]=o=>a.value=o)},{default:A.withCtx(()=>[A.createElementVNode("div",jAe,[A.createVNode(A.unref(Iu),{deck:t.deck},null,8,["deck"])])]),_:1},8,["show-modal"])]))}}),Uce="",qAe=N(YAe,[["__scopeId","data-v-52db4752"]]),XAe={class:"cards-container no-scrollbar"},JAe={class:"bottom"},ZAe={class:"bottom-buttons"},eoe={class:"fancy-button"},R3=A.defineComponent({__name:"DeckBuilderSidePanel",props:WAe,emits:["update:card-quantity"],setup(e,{emit:t}){const n=e,{t:r}=se(),a=A.computed(()=>{if(n.deckCode)return xt(n.deckCode);throw new Error("Deck or DeckCode must be defined")}),i=A.computed(()=>Zt(a.value));return(s,o)=>(A.openBlock(),A.createBlock(sc,{"show-clear-all":!1},{default:A.withCtx(()=>[A.createVNode(A.unref(u1),{cards:i.value,deck:a.value},null,8,["cards","deck"]),A.createVNode(A.unref(Ro),{class:"mana-curve-chart","padding-top":0,"show-data-labels":!1,"data-labels-offset":0,"tooltips-enabled":!1,"display-x-scale":!0,deck:a.value},null,8,["deck"]),A.createElementVNode("div",XAe,[(A.openBlock(!0),A.createElementBlock(A.Fragment,null,A.renderList(i.value,l=>(A.openBlock(),A.createBlock(A.unref(cn),{"onUpdate:cardQuantity":o[0]||(o[0]=c=>t("update:card-quantity",c)),key:l.cardCode,"card-prop":l,"maintain-aspect-ratio":!0,"quantity-number":a.value[l.cardCode],"show-plus-minus":!0,class:"card-slice-item"},null,8,["card-prop","quantity-number"]))),128))]),A.createElementVNode("div",JAe,[A.createElementVNode("div",ZAe,[A.createVNode(A.unref(Od),{deck:a.value},null,8,["deck"]),A.createVNode(A.unref(Dd),{"deck-code":n.deckCode},null,8,["deck-code"]),A.createVNode(qAe,{deck:a.value},null,8,["deck"]),A.createVNode(A.unref(Ld),{"deck-code":n.deckCode},null,8,["deck-code"])]),A.createElementVNode("div",eoe,A.toDisplayString(A.unref(r)("general.save")),1)])]),_:1}))}}),Tce="",toe={install:async e=>{e.component("RevealCarousel",dp),e.component("SearchBar",tc),e.component("SocialLinks",gp),e.component("ModalItem",bi),e.component("FilterSampleSize",MA),e.component("FilterRanks",Nb),e.component("FilterManaCost",mp),e.component("FilterRarities",bp),e.component("FilterSets",yp),e.component("FilterKeywords",Bp),e.component("FilterServers",ms),e.component("FilterTime",bs),e.component("FilterCardCodes",vp),e.component("FilterDecks",Rb),e.component("FilterAdvanced",Cp),e.component("FilterRegions",ic),e.component("FilterCards",Vb),e.component("AdvancedFilterItem",_p),e.component("FilterTypes",xp),e.component("RegionsLine",kp),e.component("CardsTable",Kb),e.component("DeckHighlightRegions",PA),e.component("GemsCost",Fp),e.component("CardSliceItem",cn),e.component("LanguageSelection",Ip),e.component("DeckSidePanel",J_),e.component("DeckHighlight",Xa),e.component("ArchetypeSidePanel",t3),e.component("OpenInDeckBuilderButton",Lg),e.component("CopyDeckButton",Dd),e.component("UpdateDeckPrivacyButton",Ng),e.component("EditDeckNameButton",Dg),e.component("UploadDeckToLorButton",Ld),e.component("DeleteDeckButton",Tg),e.component("OpenArchetypePageButton",Og),e.component("SimulateMulliganButton",Od),e.component("SocialMediaLinks",n3),e.component("DecksRow",cl),e.component("CardItemLinkWrapper",a3),e.component("DeckHighlightCards",HA),e.component("CheckboxItem",tn),e.component("NavigationTopDesktop",Km),e.component("SidePanelSectionPane",bt),e.component("CardSimilarCards",i3),e.component("DashboardSignUp",A3),e.component("MatchItem",o3),e.component("ToggleSwitch",rc),e.component("LeaderboardTop10Region",$m),e.component("ShareButton",Hg),e.component("LeaderboardDetailRow",zm),e.component("DeckBlock",l3),e.component("SmallTable",ji),e.component("LeaderboardTop",c3),e.component("CardLottery",d3),e.component("DashboardProfile",u3),e.component("LeaderboardChart",p3),e.component("CardQuantityBarChart",h3),e.component("WinsLossesBarChart",g3),e.component("RoundCardInfoBarChart",m3),e.component("LineChart",b3),e.component("ManaCurveChart",Ro),e.component("WinrateDoughnutChart",qm),e.component("InfoDoughnutChart",Xc),e.component("BuiltDecksTable",y3),e.component("ProfileRegionTable",B3),e.component("ProfileArchetypeTable",w3),e.component("CardItem3d",Ym),e.component("LeaderboardOptions",v3),e.component("SimilarDecksTable",_3),e.component("LargeTable",wa),e.component("StatisticsPaneContainer",C3),e.component("ArchetypeSidePanelHighlight",oc),e.component("CardCarousel",x3),e.component("DeckButtons",Rg),e.component("WinsLossesLine",Zm),e.component("DashboardCardRow",e1),e.component("CardTogglePage",k3),e.component("TestComponent",E3),e.component("DashboardLeaderboardRow",t1),e.component("DeckPreview",Iu),e.component("CheckboxItemManaCost",ac),e.component("RevealDayOptions",S3),e.component("DeckDifferenceItem",Pm),e.component("DashboardNewCards",F3),e.component("CardsRow",Ep),e.component("LeaderboardDetailTable",I3),e.component("DeckIcon",Q3),e.component("LogoIcon",tA),e.component("FollowerIcon",a1),e.component("ChampionIcon",i1),e.component("EternalIcon",Wm),e.component("InfoIcon",Rm),e.component("LandmarkIcon",s1),e.component("ManaHexagonIcon",OA),e.component("RuneterraIcon",Pg),e.component("ShardsIcon",Sp),e.component("StandardIcon",Gm),e.component("SpellIcon",A1),e.component("GauntletIcon",jm),e.component("EquipmentIcon",o1),e.component("NavigationTop",U3),e.component("CardMultiselect",wp),e.component("ProfileDropdown",Vm),e.component("ColorPicker",T3),e.component("DashboardLeaderboardTable",D3),e.component("NavigationSide",l1),e.component("ArchetypesTable",O3),e.component("DeckBuilderSummary",u1),e.component("DeckBuilderSummaryType",Ja),e.component("DashboardCardTable",L3),e.component("ArchetypesRow",d1),e.component("RevealDayOption",r1),e.component("DeckHighlightEye",Qu),e.component("DeckDifferences",Hm),e.component("ZoomSlider",M3),e.component("CardOverview",N3),e.component("CircleCardItem",va),e.component("ProfileGameTypeWinrate",P3),e.component("DecksTable",H3),e.component("RegionItem",NA),e.component("TippyText",Ac),e.component("ProfileRegionRow",Xm),e.component("SimulateMulligan",Mg),e.component("DeckSummary",Td),e.component("NavigationTopMobile",c1),e.component("CardItem",Pr),e.component("ProfileArchetypeRow",Jm),e.component("DeckBuilderSidePanel",R3),e.component("FontAwesomeIcon",Ye),e.component("Multiselect",Ht)}};Q.AdvancedFilterItem=_p,Q.ArchetypeSidePanel=t3,Q.ArchetypeSidePanelHighlight=oc,Q.ArchetypesRow=d1,Q.ArchetypesTable=O3,Q.BuiltDecksTable=y3,Q.CardCarousel=x3,Q.CardItem=Pr,Q.CardItem3d=Ym,Q.CardItemLinkWrapper=a3,Q.CardLottery=d3,Q.CardMultiselect=wp,Q.CardOverview=N3,Q.CardQuantityBarChart=h3,Q.CardSimilarCards=i3,Q.CardSliceItem=cn,Q.CardTogglePage=k3,Q.CardsRow=Ep,Q.CardsTable=Kb,Q.ChampionIcon=i1,Q.CheckboxItem=tn,Q.CheckboxItemManaCost=ac,Q.CircleCardItem=va,Q.ColorPicker=T3,Q.CopyDeckButton=Dd,Q.DashboardCardRow=e1,Q.DashboardCardTable=L3,Q.DashboardLeaderboardRow=t1,Q.DashboardLeaderboardTable=D3,Q.DashboardNewCards=F3,Q.DashboardProfile=u3,Q.DashboardSignUp=A3,Q.DeckBlock=l3,Q.DeckBuilderSidePanel=R3,Q.DeckBuilderSummary=u1,Q.DeckBuilderSummaryType=Ja,Q.DeckButtons=Rg,Q.DeckDifferenceItem=Pm,Q.DeckDifferences=Hm,Q.DeckHighlight=Xa,Q.DeckHighlightCards=HA,Q.DeckHighlightEye=Qu,Q.DeckHighlightRegions=PA,Q.DeckIcon=Q3,Q.DeckPreview=Iu,Q.DeckSidePanel=J_,Q.DeckSummary=Td,Q.DecksRow=cl,Q.DecksTable=H3,Q.DeleteDeckButton=Tg,Q.EditDeckNameButton=Dg,Q.EquipmentIcon=o1,Q.EternalIcon=Wm,Q.FilterAdvanced=Cp,Q.FilterCardCodes=vp,Q.FilterCards=Vb,Q.FilterDecks=Rb,Q.FilterKeywords=Bp,Q.FilterManaCost=mp,Q.FilterRanks=Nb,Q.FilterRarities=bp,Q.FilterRegions=ic,Q.FilterSampleSize=MA,Q.FilterServers=ms,Q.FilterSets=yp,Q.FilterTime=bs,Q.FilterTypes=xp,Q.FollowerIcon=a1,Q.GauntletIcon=jm,Q.GemsCost=Fp,Q.InfoDoughnutChart=Xc,Q.InfoIcon=Rm,Q.LandmarkIcon=s1,Q.LanguageSelection=Ip,Q.LargeTable=wa,Q.LeaderboardChart=p3,Q.LeaderboardDetailRow=zm,Q.LeaderboardDetailTable=I3,Q.LeaderboardOptions=v3,Q.LeaderboardTop=c3,Q.LeaderboardTop10Region=$m,Q.LineChart=b3,Q.LogoIcon=tA,Q.ManaCurveChart=Ro,Q.ManaHexagonIcon=OA,Q.MatchItem=o3,Q.ModalItem=bi,Q.NavigationSide=l1,Q.NavigationTop=U3,Q.NavigationTopDesktop=Km,Q.NavigationTopMobile=c1,Q.OpenArchetypePageButton=Og,Q.OpenInDeckBuilderButton=Lg,Q.ProfileArchetypeRow=Jm,Q.ProfileArchetypeTable=w3,Q.ProfileDropdown=Vm,Q.ProfileGameTypeWinrate=P3,Q.ProfileRegionRow=Xm,Q.ProfileRegionTable=B3,Q.RegionItem=NA,Q.RegionsLine=kp,Q.RevealCarousel=dp,Q.RevealDayOption=r1,Q.RevealDayOptions=S3,Q.RoundCardInfoBarChart=m3,Q.RuneterraIcon=Pg,Q.SearchBar=tc,Q.ShardsIcon=Sp,Q.ShareButton=Hg,Q.SidePanelSectionPane=bt,Q.SimilarDecksTable=_3,Q.SimulateMulligan=Mg,Q.SimulateMulliganButton=Od,Q.SmallTable=ji,Q.SocialLinks=gp,Q.SocialMediaLinks=n3,Q.SpellIcon=A1,Q.StandardIcon=Gm,Q.StatisticsPaneContainer=C3,Q.TestComponent=E3,Q.TippyText=Ac,Q.ToggleSwitch=rc,Q.UpdateDeckPrivacyButton=Ng,Q.UploadDeckToLorButton=Ld,Q.WinrateDoughnutChart=qm,Q.WinsLossesBarChart=g3,Q.WinsLossesLine=Zm,Q.ZoomSlider=M3,Q.default=toe,Q.getCardsFromDeck=Zt,Q.getDate=Z3,Q.getDeckObjectFromCode=xt,Q.getMostImportantCards=ca,Q.importIcons=c6,Q.keyDayjs=si,Q.setDescription=lx,Q.setTitle=cx,Q.setupi18n=BE,Q.useCardJsonObjectStore=$t,Q.useCardJsonStore=Nf,Q.useDataJsonStore=ve,Object.defineProperties(Q,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|