{"version":3,"sources":["webpack:///./node_modules/core-js/modules/_string-pad.js","webpack:///./src/config/wow/factions.ts","webpack:///./src/utils/date-helpers.ts","webpack:///../../../src/components/VBadge/VBadge.ts","webpack:///./src/config/external-links.ts","webpack:///./src/config/wow/armor-types.ts","webpack:///../../../src/components/VCard/index.ts","webpack:///../../../src/components/VCard/VCard.ts","webpack:///./src/components/_global/DataFetcher.vue?0fc9","webpack:///./src/components/user/PremiumPage.vue?44a8","webpack:///./src/api/stripe.ts","webpack:///./src/components/user/PremiumPage.vue","webpack:///./src/components/user/PremiumPage.vue?79ea","webpack:///./src/components/user/PremiumPage.vue?760c","webpack:///./src/components/_global/DataFetcher.vue?77e7","webpack:///./src/components/_global/DataFetcher.vue","webpack:///./src/components/_global/DataFetcher.vue?6448","webpack:///./src/components/_global/DataFetcher.vue?d9b7","webpack:///../../../src/mixins/transitionable/index.ts","webpack:///./node_modules/core-js/modules/es7.string.pad-start.js"],"names":["toLength","repeat","defined","module","exports","that","maxLength","fillString","left","S","String","stringLength","length","fillStr","undefined","intMaxLength","fillLen","stringFiller","call","Math","ceil","slice","code","name","createDateString","year","month","day","toString","padStart","getLocaleString","date","locale","toLocaleString","getLocaleStringFromDateString","dateString","Date","parse","getLocaleStringFromDateStringWithOptions","options","getDateTimeString","getTime","getTimezoneOffset","toISOString","getElegantDateString","toLocaleDateString","weekday","getElegantDateStringFromString","dateAsString","getMonthName","monthNumber","getDateStringFromDateTimeAsString","dateTimeAsString","split","getDateString","smartDisplayDays","numberOfDays","years","floor","months","days","result","push","join","differenceInMinutesBetweenDates","date1","date2","round","differenceInDaysBetweenDates","UTC","getFullYear","getMonth","getDate","getMaxDate","dates","reduce","a","b","getTimeSince","referenceDate","onlyMinutes","intervalType","seconds","interval","props","avatar","bordered","color","type","default","content","required","dot","label","icon","inline","offsetX","Number","offsetY","overlap","tile","transition","value","computed","classes","this","themeClasses","computedBottom","bottom","computedLeft","computedRight","computedTop","computedXOffset","calcPosition","computedYOffset","isRtl","$vuetify","offset","styles","right","top","methods","genBadge","lang","$attrs","data","setBackgroundColor","staticClass","style","attrs","title","role","directives","isActive","badge","$createElement","origin","mode","genBadgeContent","slot","genBadgeWrapper","render","children","h","class","realmFormat","realm","toLowerCase","replace","armoryCharacter","characterName","realmName","region","raiderIOCharacter","warcraftLogsCharacter","VCardActions","VCardSubtitle","VCardText","VCardTitle","flat","hover","img","link","loaderHeight","raised","Boolean","genProgress","key","tag","$slots","_vm","_h","_c","_self","fetch","teamsContributions","stripeSetup","_v","_s","$t","userDetails","premium","stripe","endAt","willBeRenewed","_e","on","$event","handleGoToStripeCustomerPortalClick","_l","rare","epic","legendary","product","id","breakpoint","lgAndUp","formatPrice","prices","pricePerMonth","currency","scopedSlots","_u","fn","premiumPlan","staticStyle","proxy","thumbnail","imageLinks","thumbnailCharacter","thumbnailClass","nbCreatableStandaloneTeams","nbBoostCredits","productId","isLoading","handleCreateStripeSessionClick","bonuses","availableBoostCredits","maxBoostCredits","teamContributions","k","teamPremiumLevel","myContribution","handleRemoveBoostTeam","isMyContributionActive","min","totalActiveContributions","max","handleAddBoostTeam","staticRenderFns","getSetup","axios","get","createCheckoutSession","payload","post","createCustomerPortal","profileModule","factions","fetchUserDetails","refreshContributions","users","getMyTeamsContributions","priceId","session","Stripe","publishableKey","redirectToCheckout","sessionId","error","console","log","message","handleAPIError","window","location","href","sessionUrl","teamID","removeContributionToTeam","Promise","all","addContributionToTeam","Action","State","components","DataFetcher","component","VAvatar","VBadge","VBtn","VCard","VChip","VCol","VContainer","VDivider","VIcon","VListItem","VListItemContent","VList","VListItemSubtitle","VListItemTitle","VProgressLinear","VRow","_t","loading","silentLoading","handleLoad","hideLoading","useSilentLoading","handleSecondaryLoad","$emit","fetchData","secondaryFetchData","Function","$export","$pad","userAgent","WEBKIT_BUG","test","P","F","arguments"],"mappings":"qGACA,IAAIA,EAAW,EAAQ,QACnBC,EAAS,EAAQ,QACjBC,EAAU,EAAQ,QAEtBC,EAAOC,QAAU,SAAUC,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,KAAK2L,YATd,QAWE3L,KAAKgJ,OAAQ,EAXf,qDAaEhJ,KAAKgJ,OAAQ,EAbf,QAeChJ,KAAKoL,SAAU,EACfpL,KAAK0L,MAAM,mBAAoB1L,KAAKoL,SAEpCpL,KAAKqL,eAAgB,EAlBtB,0DA/DD,8DAAyC,QAChC,gBAAP,kB,yBAMD,gBAJC,eAAK,CACLtM,KAAM8M,SACN3M,UAAU,K,gCAQX,gBAJC,eAAK,CACLH,KAAM8M,SACN3M,UAAU,K,yCASX,gBALC,eAAK,CACLH,KAAM6E,QACN1E,UAAU,EACVF,SAAS,K,uCASV,gBALC,eAAK,CACLD,KAAM6E,QACN1E,UAAU,EACVF,SAAS,K,kCAeV,gBADC,eAAM,O,yBAMN,MA7CmB,EAAW,gBAD/B,QACoB,WC/BmY,I,wBCQpZkL,EAAY,eACd,EACA9H,EACAwF,GACA,EACA,KACA,WACA,MAIa,OAAAsC,E,2CCnBf,gBAEe,2BAAW,CACxBpP,KADwB,iBAGxB6D,MAAO,CACLqD,KADK,OAELD,OAFK,OAGLnC,WAAY3F,W,kCCNhB,IAAI6R,EAAU,EAAQ,QAClBC,EAAO,EAAQ,QACfC,EAAY,EAAQ,QAGpBC,EAAa,mDAAmDC,KAAKF,GAEzEF,EAAQA,EAAQK,EAAIL,EAAQM,EAAIH,EAAY,SAAU,CACpD7Q,SAAU,SAAkBvB,GAC1B,OAAOkS,EAAK/L,KAAMnG,EAAWwS,UAAUlS,OAAS,EAAIkS,UAAU,QAAKhS,GAAW,O","file":"dist/js/chunk-60b0dff2.6b8ecab2.js","sourcesContent":["// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = require('./_to-length');\nvar repeat = require('./_string-repeat');\nvar defined = require('./_defined');\n\nmodule.exports = function (that, maxLength, fillString, left) {\n var S = String(defined(that));\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : String(fillString);\n var intMaxLength = toLength(maxLength);\n if (intMaxLength <= stringLength || fillStr == '') return S;\n var fillLen = intMaxLength - stringLength;\n var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n return left ? stringFiller + S : S + stringFiller;\n};\n","export default [{\n\tcode: \"alliance\",\n\tname: \"Alliance\"\n}, {\n\tcode: \"horde\",\n\tname: \"Horde\"\n}];","/**\n * Retourne un *string* de la forme \"YYYY-MM-DD\" à partir de Year, Month, Day.\n * @param year\n * @param month\n * @param day\n */\nexport const createDateString = (year: number, month: number, day: number) => {\n\treturn `${year}-${month.toString().padStart(2, \"0\")}-${day.toString().padStart(2, \"0\")}`;\n};\n\n/**\n * Retourne un *string* de la forme \"DD/MM/YYYY\" à partir d'une date.\n * @param date\n * @param locale\n */\nexport const getLocaleDateString = (date: Date, locale = \"en-US\") => {\n\treturn date.toLocaleDateString(locale);\n};\n\n/**\n * Retourne un *string* de la forme \"DD/MM/YYYY à HH:mm:ss\" à partir d'une date.\n * @param date\n * @param locale\n */\nexport const getLocaleString = (date: Date, locale = \"en-US\") => {\n\treturn date.toLocaleString(locale);\n};\n\n/**\n * Retourne un *string* de la forme \"DD/MM/YYYY à HH:mm:ss\" à partir d'une date string.\n * @param dateString\n * @param locale\n */\nexport const getLocaleStringFromDateString = (dateString: string, locale = \"en-GB\") => {\n\treturn getLocaleString(new Date(Date.parse(dateString)), locale);\n};\n\n/**\n * Retourne un *string* de la forme \"Aug 22nd 2020 hh:mm:ss UTC\" à partir d'une date string.\n */\nexport const getLocaleStringFromDateStringWithOptions = (dateString: string, options?: Intl.DateTimeFormatOptions, locale = \"en-GB\") => {\n\treturn (new Date(Date.parse(dateString))).toLocaleString(locale, options);\n};\n\n\n/**\n * Retourne un *string* de la forme \"2019-03-20T11:24:06.065Z\".\n * @param date\n */\nexport const getDateTimeString = (date: Date) => {\n\treturn new Date(date.getTime() - (date.getTimezoneOffset() * 60000)).toISOString();\n};\n\n\n/**\n * Retourne un *string* de la forme \"lundi 1 janvier 2000\" à partir d'une date.\n * @param date\n * @param locale\n */\nexport const getElegantDateString = (date: Date, locale = \"en-US\") => {\n\treturn date.toLocaleDateString(locale, {\n\t\tweekday: \"long\",\n\t\tyear: \"numeric\",\n\t\tmonth: \"long\",\n\t\tday: \"numeric\"\n\t});\n};\n\n/**\n * Retourne un *string* de la forme \"lundi 1 janvier 2000\" à partir d'une string de la forme yyyy-MM-dd.\n */\nexport const getElegantDateStringFromString = (dateAsString: string, locale = \"en-US\") => {\n\treturn (new Date(`${dateAsString}T00:00:00`)).toLocaleDateString(locale, {\n\t\tweekday: \"long\",\n\t\tyear: \"numeric\",\n\t\tmonth: \"long\",\n\t\tday: \"numeric\"\n\t});\n};\n\n/**\n * Retourne le mois traduit dans la {locale} à partir du numéro du mois.\n * @param monthNumber\n * @param locale\n */\nexport const getMonthName = (monthNumber: number, locale = \"en-US\") => {\n\treturn (new Date(`2000-${monthNumber.toString().padStart(2, \"0\")}-01T00:00:00`)).toLocaleDateString(locale, {\n\t\tmonth: \"long\"\n\t});\n};\n\n\n/**\n * Retourne un *string* de la forme \"janvier\" à partir d'une date.\n * @param date\n * @param locale\n */\nexport const getMonthStringFromDate = (date: Date, locale = \"en-US\") => {\n\treturn date.toLocaleDateString(locale, {\n\t\tmonth: \"long\"\n\t});\n};\n\n/**\n * Retourne le timestamp en nombre de jours (arrondi en floor).\n */\nexport const getTimestampInDays = (timestampInMS: number) => {\n\treturn Math.floor((((timestampInMS / 1000) / 60) / 60) / 24);\n};\n\n/**\n * Retourne un *string* de la forme \"2019-03-20\".\n */\nexport const getDateStringFromDateTimeAsString = (dateTimeAsString: string) => {\n\treturn dateTimeAsString.split(\"T\")[0];\n};\n\n/**\n * Retourne un *string* de la forme \"2019-03-20\".\n * @param date\n */\nexport const getDateString = (date: Date) => {\n\treturn getDateStringFromDateTimeAsString(getDateTimeString(date));\n};\n/**\n * Retourne un *string* de la forme \"2019-03\".\n * @param date\n */\nexport const getYearMonthString = (date: Date) => {\n\tconst dateStringSplit = getDateString(date).split(\"-\");\n\treturn `${dateStringSplit[0]}-${dateStringSplit[1]}`;\n};\n/**\n * Retourne un *string* de la forme \"11:24:06.065Z\".\n * @param date\n */\nexport const getTimeString = (date: Date) => {\n\treturn getDateTimeString(date).split(\"T\")[1];\n};\n/**\n * Retourne un *string* de la forme \"11:24\".\n * @param date\n */\nexport const getShortTimeString = (date: Date) => {\n\tconst timeSplit = getTimeString(date).split(\":\");\n\treturn `${timeSplit[0]}:${timeSplit[1]}`;\n};\n\n/**\n * Ajout un nombre de minutes à un time de la forme \"11:24\".\n * @param time\n * @param nbMinutesToAdd\n */\nexport const addMinutes = (time: string, nbMinutesToAdd: number) => {\n\tconst timeSplit = time.split(\":\");\n\tconst hour = parseInt(timeSplit[0], 10);\n\tconst minute = parseInt(timeSplit[1], 10);\n\n\tconst rawMinuteAfterAddition = minute + nbMinutesToAdd;\n\treturn `${(hour + Math.floor(rawMinuteAfterAddition / 60)).toString().padStart(2, \"0\")}:${(rawMinuteAfterAddition % 60).toString().padStart(2, \"0\")}`;\n};\n\n/**\n * Retourne un affichage *string* intelligent d'une durée en heures ou en minutes.\n * @param minutes\n */\nexport const smartDisplayMinutes = (minutes: number) => {\n\tif (minutes == null) {\n\t\treturn \"-\";\n\t}\n\tif (minutes >= 60) {\n\t\tconst remainingSeconds = minutes % 60;\n\t\treturn `${Math.floor(minutes / 60)}h` + (remainingSeconds > 0 ? remainingSeconds.toString().padStart(2, \"0\") : \"\");\n\t}\n\treturn `${minutes} min`;\n};\n\n/**\n * Retourne un affichage *string* intelligent d'une durée en jours (Y year, M months, D days).\n * @param numberOfDays\n */\nexport const smartDisplayDays = (numberOfDays: number) => {\n\tif (numberOfDays == 0) {\n\t\treturn \"today\";\n\t}\n\n\tconst years = Math.floor(numberOfDays / 365);\n\tconst months = Math.floor(numberOfDays % 365 / 30);\n\tconst days = Math.floor(numberOfDays % 365 % 30);\n\n\tconst result = [];\n\tif (years > 0) {\n\t\tresult.push(years + (years == 1 ? \" year\" : \" years\"));\n\t}\n\tif (months > 0) {\n\t\tresult.push(months + (months == 1 ? \" month\" : \" months\"));\n\t}\n\tif (days > 0) {\n\t\tresult.push(days + (days == 1 ? \" day\" : \" days\"));\n\t}\n\n\treturn result.join(\", \");\n};\n\n/**\n * Retourne la différence en minutes entre *date1* et *date2* telles que date1 < date2.\n */\nexport const differenceInMinutesBetweenDates = (date1: Date, date2: Date) => {\n\treturn Math.round(((date2.getTime() - date1.getTime()) / 1000) / 60); // minutes\n};\n\n/**\n * Retourne la différence en jours entre *date1* et *date2* telles que date1 < date2.\n */\nexport const differenceInDaysBetweenDates = function (date1: Date, date2: Date) {\n\treturn Math.floor((Date.UTC(date2.getFullYear(), date2.getMonth(), date2.getDate()) - Date.UTC(date1.getFullYear(), date1.getMonth(), date1.getDate())) / (1000 * 60 * 60 * 24));\n};\n\n/**\n * Retourne la différence en minutes entre *hh1:mm1* et *hh2:mm2* telles que hh1:mm1 < hh2:mm2.\n */\nexport const differenceInMinutesBetweenHoursMinutes = (hm1: string, hm2: string) => {\n\tconst h1 = parseInt(hm1.split(\":\")[0], 10);\n\tconst m1 = parseInt(hm1.split(\":\")[1], 10);\n\tconst h2 = parseInt(hm2.split(\":\")[0], 10);\n\tconst m2 = parseInt(hm2.split(\":\")[1], 10);\n\treturn (60 * h2 + m2) - (60 * h1 + m1);\n};\n\n/**\n * Fonction de tri par date croissant si a < b.\n * @param a\n * @param b\n */\nexport const sortByDate = (a: Date, b: Date) => {\n\treturn a > b ? -1 : a < b ? 1 : 0;\n};\n\n\n/**\n * Retourne la date minimale d'un array de dates.\n */\nexport const getMinDate = (dates: Date[]) => {\n\treturn dates.reduce(function (a, b) {\n\t\treturn a < b ? a : b;\n\t});\n};\n\n/**\n * Retourne la date maximale d'un array de dates.\n */\nexport const getMaxDate = (dates: Date[]) => {\n\treturn dates.reduce(function (a, b) {\n\t\treturn a > b ? a : b;\n\t});\n};\n\n/**\n * Retourne la durée formatée entre maintenant et la date passée en paramètre.\n * @param date\n * @param referenceDate\n * @param onlyMinutes\n */\nexport const getTimeSince = (date: Date, referenceDate: Date = new Date(), onlyMinutes = false) => {\n\tif (typeof date !== \"object\") {\n\t\tdate = new Date(date);\n\t}\n\n\tlet seconds = Math.floor((+referenceDate - +date) / 1000);\n\tif (seconds < 0) {\n\t\tseconds = 0;\n\t}\n\tlet intervalType;\n\n\tlet interval = Math.floor(seconds / 31536000);\n\tif (interval >= 1) {\n\t\tintervalType = \"year\";\n\t}\n\telse {\n\t\tinterval = Math.floor(seconds / 2592000);\n\t\tif (interval >= 1) {\n\t\t\tintervalType = \"month\";\n\t\t}\n\t\telse {\n\t\t\tinterval = Math.floor(seconds / 86400);\n\t\t\tif (interval >= 1) {\n\t\t\t\tintervalType = \"day\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tinterval = Math.floor(seconds / 3600);\n\t\t\t\tif (interval >= 1) {\n\t\t\t\t\tintervalType = \"hour\";\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tinterval = Math.floor(seconds / 60);\n\t\t\t\t\tif (interval >= 1 || onlyMinutes) {\n\t\t\t\t\t\tintervalType = \"minute\";\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tinterval = seconds;\n\t\t\t\t\t\tintervalType = \"second\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tif (interval > 1 || interval === 0) {\n\t\tintervalType += \"s\";\n\t}\n\n\n\tif (onlyMinutes) {\n\n\t}\n\n\treturn (interval > 0 ? interval : \"< 1\") + \" \" + intervalType;\n};","// Styles\nimport './VBadge.sass'\n\n// Components\nimport VIcon from '../VIcon/VIcon'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Themeable from '../../mixins/themeable'\nimport Toggleable from '../../mixins/toggleable'\nimport Transitionable from '../../mixins/transitionable'\nimport { factory as PositionableFactory } from '../../mixins/positionable'\n\n// Utilities\nimport mixins from '../../util/mixins'\nimport {\n convertToUnit,\n getSlot,\n} from '../../util/helpers'\n\n// Types\nimport { VNode } from 'vue'\n\nexport default mixins(\n Colorable,\n PositionableFactory(['left', 'bottom']),\n Themeable,\n Toggleable,\n Transitionable,\n/* @vue/component */\n).extend({\n name: 'v-badge',\n\n props: {\n avatar: Boolean,\n bordered: Boolean,\n color: {\n type: String,\n default: 'primary',\n },\n content: { required: false },\n dot: Boolean,\n label: {\n type: String,\n default: '$vuetify.badge',\n },\n icon: String,\n inline: Boolean,\n offsetX: [Number, String],\n offsetY: [Number, String],\n overlap: Boolean,\n tile: Boolean,\n transition: {\n type: String,\n default: 'scale-rotate-transition',\n },\n value: { default: true },\n },\n\n computed: {\n classes (): object {\n return {\n 'v-badge--avatar': this.avatar,\n 'v-badge--bordered': this.bordered,\n 'v-badge--bottom': this.bottom,\n 'v-badge--dot': this.dot,\n 'v-badge--icon': this.icon != null,\n 'v-badge--inline': this.inline,\n 'v-badge--left': this.left,\n 'v-badge--overlap': this.overlap,\n 'v-badge--tile': this.tile,\n ...this.themeClasses,\n }\n },\n computedBottom (): string {\n return this.bottom ? 'auto' : this.computedYOffset\n },\n computedLeft (): string {\n if (this.isRtl) {\n return this.left ? this.computedXOffset : 'auto'\n }\n\n return this.left ? 'auto' : this.computedXOffset\n },\n computedRight (): string {\n if (this.isRtl) {\n return this.left ? 'auto' : this.computedXOffset\n }\n\n return !this.left ? 'auto' : this.computedXOffset\n },\n computedTop (): string {\n return this.bottom ? this.computedYOffset : 'auto'\n },\n computedXOffset (): string {\n return this.calcPosition(this.offsetX)\n },\n computedYOffset (): string {\n return this.calcPosition(this.offsetY)\n },\n isRtl (): boolean {\n return this.$vuetify.rtl\n },\n // Default fallback if offsetX\n // or offsetY are undefined.\n offset (): number {\n if (this.overlap) return this.dot ? 8 : 12\n return this.dot ? 2 : 4\n },\n styles (): object {\n if (this.inline) return {}\n\n return {\n bottom: this.computedBottom,\n left: this.computedLeft,\n right: this.computedRight,\n top: this.computedTop,\n }\n },\n },\n\n methods: {\n calcPosition (offset: string | number): string {\n return `calc(100% - ${convertToUnit(offset || this.offset)})`\n },\n genBadge () {\n const lang = this.$vuetify.lang\n const label = this.$attrs['aria-label'] || lang.t(this.label)\n\n const data = this.setBackgroundColor(this.color, {\n staticClass: 'v-badge__badge',\n style: this.styles,\n attrs: {\n 'aria-atomic': this.$attrs['aria-atomic'] || 'true',\n 'aria-label': label,\n 'aria-live': this.$attrs['aria-live'] || 'polite',\n title: this.$attrs.title,\n role: this.$attrs.role || 'status',\n },\n directives: [{\n name: 'show',\n value: this.isActive,\n }],\n })\n\n const badge = this.$createElement('span', data, [this.genBadgeContent()])\n\n if (!this.transition) return badge\n\n return this.$createElement('transition', {\n props: {\n name: this.transition,\n origin: this.origin,\n mode: this.mode,\n },\n }, [badge])\n },\n genBadgeContent () {\n // Dot prop shows no content\n if (this.dot) return undefined\n\n const slot = getSlot(this, 'badge')\n\n if (slot) return slot\n if (this.content) return String(this.content)\n if (this.icon) return this.$createElement(VIcon, this.icon)\n\n return undefined\n },\n genBadgeWrapper () {\n return this.$createElement('span', {\n staticClass: 'v-badge__wrapper',\n }, [this.genBadge()])\n },\n },\n\n render (h): VNode {\n const badge = [this.genBadgeWrapper()]\n const children = [getSlot(this)]\n const {\n 'aria-atomic': _x,\n 'aria-label': _y,\n 'aria-live': _z,\n role,\n title,\n ...attrs\n } = this.$attrs\n\n if (this.inline && this.left) children.unshift(badge)\n else children.push(badge)\n\n return h('span', {\n staticClass: 'v-badge',\n attrs,\n class: this.classes,\n }, children)\n },\n})\n","const realmFormat = (realm: string) => {\n\treturn realm.toLowerCase().replace(/-/gi, \"\").replace(/ /gi, \"-\").replace(/'/gi, \"\");\n};\n\nexport const armoryCharacter = (characterName: string, realmName: string, region: string) => {\n\treturn `https://worldofwarcraft.com/en-gb/character/${region}/${realmFormat(realmName)}/${characterName}`;\n};\nexport const raiderIOCharacter = (characterName: string, realmName: string, region: string) => {\n\treturn `https://raider.io/characters/${region}/${realmFormat(realmName)}/${characterName}`;\n};\nexport const warcraftLogsCharacter = (characterName: string, realmName: string, region: string) => {\n\treturn `https://www.warcraftlogs.com/character/${region}/${realmFormat(realmName)}/${characterName}`;\n};\n","export default [{\n\ttype: \"Cloth\",\n\tclasses: [8, 5, 9]\n}, {\n\ttype: \"Leather\",\n\tclasses: [4, 11, 10, 12]\n}, {\n\ttype: \"Mail\",\n\tclasses: [7, 3, 13]\n}, {\n\ttype: \"Plate\",\n\tclasses: [1, 2, 6]\n}];","import VCard from './VCard'\nimport { createSimpleFunctional } from '../../util/helpers'\n\nconst VCardActions = createSimpleFunctional('v-card__actions')\nconst VCardSubtitle = createSimpleFunctional('v-card__subtitle')\nconst VCardText = createSimpleFunctional('v-card__text')\nconst VCardTitle = createSimpleFunctional('v-card__title')\n\nexport {\n VCard,\n VCardActions,\n VCardSubtitle,\n VCardText,\n VCardTitle,\n}\n\nexport default {\n $_vuetify_subcomponents: {\n VCard,\n VCardActions,\n VCardSubtitle,\n VCardText,\n VCardTitle,\n },\n}\n","// Styles\nimport './VCard.sass'\n\n// Extensions\nimport VSheet from '../VSheet'\n\n// Mixins\nimport Loadable from '../../mixins/loadable'\nimport Routable from '../../mixins/routable'\n\n// Helpers\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode } from 'vue'\n\n/* @vue/component */\nexport default mixins(\n Loadable,\n Routable,\n VSheet\n).extend({\n name: 'v-card',\n\n props: {\n flat: Boolean,\n hover: Boolean,\n img: String,\n link: Boolean,\n loaderHeight: {\n type: [Number, String],\n default: 4,\n },\n raised: Boolean,\n },\n\n computed: {\n classes (): object {\n return {\n 'v-card': true,\n ...Routable.options.computed.classes.call(this),\n 'v-card--flat': this.flat,\n 'v-card--hover': this.hover,\n 'v-card--link': this.isClickable,\n 'v-card--loading': this.loading,\n 'v-card--disabled': this.disabled,\n 'v-card--raised': this.raised,\n ...VSheet.options.computed.classes.call(this),\n }\n },\n styles (): object {\n const style: Dictionary = {\n ...VSheet.options.computed.styles.call(this),\n }\n\n if (this.img) {\n style.background = `url(\"${this.img}\") center center / cover no-repeat`\n }\n\n return style\n },\n },\n\n methods: {\n genProgress () {\n const render = Loadable.options.methods.genProgress.call(this)\n\n if (!render) return null\n\n return this.$createElement('div', {\n staticClass: 'v-card__progress',\n key: 'progress',\n }, [render])\n },\n },\n\n render (h): VNode {\n const { tag, data } = this.generateRouteLink()\n\n data.style = this.styles\n\n if (this.isClickable) {\n data.attrs = data.attrs || {}\n data.attrs.tabindex = 0\n }\n\n return h(tag, this.setBackgroundColor(this.color, data), [\n this.genProgress(),\n this.$slots.default,\n ])\n },\n})\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataFetcher.vue?vue&type=style&index=0&id=452e8cc9&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('data-fetcher',{attrs:{\"fetch-data\":_vm.fetch}},[(_vm.teamsContributions != null && _vm.stripeSetup != null)?_c('v-container',{attrs:{\"fluid\":\"\",\"ma-0\":\"\",\"pa-0\":\"\"}},[_c('h2',[_vm._v(_vm._s(_vm.$t('premium.premium_plan')))]),(_vm.userDetails.premium && _vm.userDetails.premium.stripe)?_c('v-row',[_c('v-col',[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.$t('premium.status_'))+\"\\n\\t\\t\\t\\t\"),(_vm.userDetails.premium.stripe.isActive)?_c('span',{staticClass:\"green--text font-weight-bold\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.$t('premium.status_active'))+\"\\n\\t\\t\\t\\t\")]):_c('span',{staticClass:\"red--text font-weight-bold\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.$t('premium.status_inactive'))+\"\\n\\t\\t\\t\\t\")]),_c('br'),_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.$t('premium.subscription_ends_'))+\"\\n\\t\\t\\t\\t\"),_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.getElegantDateString(new Date(_vm.userDetails.premium.stripe.endAt))))]),(_vm.userDetails.premium.stripe.willBeRenewed != null)?_c('span',[(_vm.userDetails.premium.stripe.willBeRenewed)?_c('span',{staticClass:\"green--text\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t(\"+_vm._s(_vm.$t('premium.automatic_renewal'))+\")\\n\\t\\t\\t\\t\\t\")]):_c('span',{staticClass:\"red--text\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t(\"+_vm._s(_vm.$t('premium.cancelled_will_not_renew'))+\")\\n\\t\\t\\t\\t\\t\")])]):_vm._e(),_c('br'),_c('a',{on:{\"click\":function($event){return _vm.handleGoToStripeCustomerPortalClick()}}},[_vm._v(_vm._s(_vm.$t('premium.manage_subscription')))])])],1):_vm._e(),(_vm.stripeSetup && !(_vm.userDetails.premium && _vm.userDetails.premium.stripe))?_c('v-row',{staticClass:\"ma-5\",attrs:{\"justify\":\"center\"}},[_c('p',{staticClass:\"text-center\"},[_vm._v(\"\\n\\t\\t\\t\\tHere you can subscribe to support the project and get some quality of life perks for\\n\\t\\t\\t\\t\"),_c('strong',[_vm._v(\"you\")]),_vm._v(\" and\\n\\t\\t\\t\\t\"),_c('strong',[_vm._v(\"your teams\")]),_vm._v(\".\"),_c('br'),_c('span',{staticClass:\"text-caption\"},[_vm._v(\"\\n\\t\\t\\t\\t\\tEvery subscription is greatly appreciated.\\n\\t\\t\\t\\t\")])])]):_vm._e(),_c('v-row',{staticClass:\"justify-center my-5\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"xl\":\"10\",\"lg\":\"12\"}},[(_vm.stripeSetup)?_c('v-row',{attrs:{\"justify\":\"center\"}},[_vm._l(([_vm.stripeSetup.rare, _vm.stripeSetup.epic, _vm.stripeSetup.legendary]),function(product){return [_c('v-col',{key:product.id,attrs:{\"cols\":\"12\",\"md\":\"6\",\"lg\":\"4\"}},[_c('v-card',{class:{'text-center': true, 'mx-3': _vm.$vuetify.breakpoint.lgAndUp, 'zoom': product.id === _vm.stripeSetup.epic.id && _vm.$vuetify.breakpoint.lgAndUp && !(_vm.userDetails.premium && _vm.userDetails.premium.stripe)}},[_c('v-list-item',{attrs:{\"three-line\":\"\"}},[_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"text-h4 pb-1 font-weight-bold\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(product.name)+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")]),_c('v-list-item-subtitle',[_c('span',{staticClass:\"text-h5 font-weight-bold\"},[_vm._v(_vm._s(_vm.formatPrice(product.prices[0].pricePerMonth, product.prices[0].currency)))]),_c('span',[_vm._v(_vm._s(_vm.$t('premium._per_month')))])])],1)],1),_c('div',[_c('div',{staticClass:\"d-flex justify-center align-center ma-3\"},[_c('v-badge',{staticClass:\"ma-2\",attrs:{\"avatar\":\"\",\"bottom\":\"\",\"color\":\"transparent\",\"offset-x\":\"15\",\"offset-y\":\"15\",\"overlap\":\"\"},scopedSlots:_vm._u([{key:\"badge\",fn:function(){return [(product.premiumPlan > 0)?_c('v-avatar',[_c('v-icon',{staticStyle:{\"text-shadow\":\"1px 1px 3px #000\"},attrs:{\"color\":\"yellow\"}},[_vm._v(\"mdi-star\")])],1):_vm._e()]},proxy:true}],null,true)},[_c('v-avatar',{class:(\"premium large premium-\" + ((product.premiumPlan ? product.premiumPlan : 0))),attrs:{\"left\":\"\"}},[_c('img',{attrs:{\"src\":product.thumbnail != null ? _vm.imageLinks.thumbnailCharacter(product.thumbnail) : _vm.imageLinks.thumbnailClass('1')}})])],1),_c('div',{staticClass:\"ma-2 text-ellipsis\"},[_c('strong',[_vm._v(_vm._s(product.name))]),_vm._v(\" \"+_vm._s(_vm.$t('premium.bonuses.portrait_unlocked'))+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")])],1),_c('div',{staticClass:\"d-flex justify-center align-center ma-3\"},[_c('div',{staticClass:\"ma-2\"},[_c('v-icon',[_vm._v(\"fas fa-plus-square\")])],1),_c('div',{staticClass:\"ma-2 text-ellipsis\"},[_c('strong',[_vm._v(_vm._s(product.nbCreatableStandaloneTeams))]),_vm._v(\" \"+_vm._s(_vm.$t('premium.bonuses.standalone_teams'))+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")])]),_c('div',{staticClass:\"d-flex justify-center align-center ma-3\"},[_c('div',{staticClass:\"ma-2\"},[_c('v-icon',[_vm._v(\"fab fa-discord\")])],1),_c('div',{staticClass:\"ma-2 text-ellipsis\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tDiscord\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"),_c('strong',[_vm._v(\"Premium \"+_vm._s(product.name))]),_vm._v(\" role\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")])]),_c('div',{staticClass:\"d-flex justify-center align-center ma-3\"},[_c('div',{staticClass:\"ma-2\"},[_c('v-icon',[_vm._v(\"fas fa-coins\")])],1),_c('div',{staticClass:\"ma-2 text-ellipsis\"},[_c('strong',[_vm._v(_vm._s(product.nbBoostCredits))]),_vm._v(\" \"+_vm._s(_vm.$t('premium.bonuses.team_boost_tokens'))+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")])])]),_c('v-card-actions',{staticClass:\"pa-4\"},[(_vm.userDetails.premium && _vm.userDetails.premium.stripe && _vm.userDetails.premium.stripe.productId === product.id)?_c('v-btn',{attrs:{\"dark\":!_vm.isLoading,\"disabled\":_vm.isLoading,\"loading\":_vm.isLoading,\"block\":\"\",\"color\":\"green\",\"depressed\":\"\",\"rounded\":\"\"},on:{\"click\":function($event){return _vm.handleGoToStripeCustomerPortalClick()}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.$t('premium.manage'))+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\")]):_c('v-btn',{attrs:{\"disabled\":_vm.isLoading,\"loading\":_vm.isLoading,\"block\":\"\",\"color\":\"primary\",\"depressed\":\"\",\"rounded\":\"\"},on:{\"click\":function($event){_vm.userDetails.premium && _vm.userDetails.premium.stripe && _vm.userDetails.premium.stripe.productId != null && _vm.userDetails.premium.stripe.productId !== product.id ? _vm.handleGoToStripeCustomerPortalClick(product.prices[0].id) : _vm.handleCreateStripeSessionClick(product.prices[0].id)}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.$t('premium.select'))+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\")])],1)],1)],1)]})],2):_vm._e()],1)],1),(_vm.stripeSetup && !(_vm.userDetails.premium && _vm.userDetails.premium.stripe))?_c('v-row',{staticClass:\"ma-5\",attrs:{\"justify\":\"center\"}},[_c('p',{staticClass:\"text-center text-caption\"},[_vm._v(\"\\n\\t\\t\\t\\tPayment processing is secure and handled by\\n\\t\\t\\t\\t\"),_c('a',{attrs:{\"href\":\"https://stripe.com/\",\"target\":\"_blank\"}},[_vm._v(\"Stripe\")]),_vm._v(\".\"),_c('br'),_vm._v(\"\\n\\t\\t\\t\\tIf you have any questions, please contact us on Discord.\\n\\t\\t\\t\")])]):_vm._e(),(_vm.userDetails.premium && _vm.userDetails.premium.bonuses)?_c('v-row',[_c('v-col',[_c('h2',{staticClass:\"mt-3\"},[_vm._v(_vm._s(_vm.$t('premium.team_premium')))]),_c('v-container',{attrs:{\"fluid\":\"\",\"pa-0\":\"\",\"mb-3\":\"\"}},[_c('v-row',[_c('v-col',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.$t('premium.available_team_boost_tokens_'))+\"\\n\\t\\t\\t\\t\\t\\t\\t\"),_c('v-chip',{staticClass:\"ml-1\",attrs:{\"label\":\"\"}},[_c('v-avatar',{attrs:{\"left\":\"\",\"rounded\":\"\"}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"fas fa-coins\")])],1),_c('strong',[_vm._v(_vm._s(_vm.userDetails.premium.bonuses.availableBoostCredits))]),_vm._v(\" / \"+_vm._s(_vm.userDetails.premium.bonuses.maxBoostCredits)+\"\\n\\t\\t\\t\\t\\t\\t\\t\")],1)],1)],1),_c('v-row',[_vm._l((_vm.teamsContributions),function(teamContributions,k){return [_c('v-col',{key:k,attrs:{\"cols\":\"12\",\"lg\":\"4\",\"md\":\"6\"}},[_c('v-card',[_c('v-list-item',{attrs:{\"three-line\":\"\"}},[_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"text-h5 pb-1\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(teamContributions.name)+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")]),_c('v-list-item-subtitle',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tPremium Level\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"),_c('strong',[_vm._v(_vm._s(teamContributions.teamPremiumLevel))])])],1)],1),_c('v-divider'),_c('v-card-text',{staticClass:\"py-3 px-3\"},[_c('div',{staticClass:\"d-flex flex-row align-center\"},[_c('div',{staticClass:\"flex-shrink-0 pr-2\"},[_c('v-btn',{attrs:{\"dark\":!(_vm.isLoading || teamContributions.myContribution <= 0),\"disabled\":_vm.isLoading || teamContributions.myContribution <= 0,\"loading\":_vm.isLoading,\"color\":\"red\",\"depressed\":\"\",\"fab\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.handleRemoveBoostTeam(teamContributions.id)}}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"fas fa-minus\")])],1)],1),_c('v-progress-linear',{staticClass:\"flex-grow-0\",attrs:{\"color\":teamContributions.isMyContributionActive || teamContributions.myContribution === 0 ? 'teal' : 'red',\"value\":100 * Math.min(teamContributions.totalActiveContributions / 5.0, 5.0),\"dark\":\"\",\"height\":\"26\",\"rounded\":\"\"}},[_c('strong',[_vm._v(_vm._s(teamContributions.totalActiveContributions))]),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t (\"+_vm._s(Math.max(0, teamContributions.totalActiveContributions - teamContributions.myContribution))+\" + \"),_c('strong',[_c('em',[_vm._v(_vm._s(teamContributions.myContribution))])]),_vm._v(\")\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\")]),_c('div',{staticClass:\"flex-shrink-0 pl-2\"},[_c('v-btn',{attrs:{\"disabled\":_vm.isLoading || _vm.userDetails.premium.bonuses.availableBoostCredits <= 0,\"loading\":_vm.isLoading,\"color\":\"primary\",\"depressed\":\"\",\"fab\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.handleAddBoostTeam(teamContributions.id)}}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"fas fa-plus\")])],1)],1)],1)])],1)],1)]})],2)],1)],1)],1):_vm._e()],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import axios from \"@/utils/axios\";\n\nexport interface CreateCheckoutSessionRequest {\n\tpriceId: string;\n}\n\nexport interface CreateCustomerPortalSessionRequest {\n\tpriceId: string | null;\n}\n\nexport interface CreateCheckoutSessionResponse {\n\tsessionId: string;\n}\n\nexport interface CreateBillingPortalSessionResponse {\n\tsessionUrl: string;\n}\n\n\nexport interface SetupResponse {\n\tpublishableKey: string;\n\trare: SetupResponse.ProductResponse;\n\tepic: SetupResponse.ProductResponse;\n\tlegendary: SetupResponse.ProductResponse;\n}\n\nexport namespace SetupResponse {\n\texport interface ProductResponse {\n\t\tid: string;\n\t\tname: string;\n\t\tprices: SetupResponse.ProductResponse.PriceResponse[];\n\t}\n\n\texport namespace ProductResponse {\n\t\texport interface PriceResponse {\n\t\t\tid: string;\n\t\t\tpricePerMonth: number;\n\t\t\tpricePerPeriod: number;\n\t\t\tperiodInMonths: number;\n\t\t\tcurrency: string;\n\t\t}\n\t}\n}\n\nexport default {\n\tasync getSetup(): Promise {\n\t\treturn (await axios().get(\"/stripe/setup/\")).data;\n\t},\n\tasync createCheckoutSession(payload: CreateCheckoutSessionRequest): Promise {\n\t\treturn (await axios().post(\"/stripe/session/\", payload)).data;\n\t},\n\tasync createCustomerPortal(payload: CreateCustomerPortalSessionRequest): Promise {\n\t\treturn (await axios().post(\"/stripe/customer-portal/\", payload)).data;\n\t},\n};","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport { namespace } from \"vuex-class\";\n\n/**\n * Utils\n */\nimport classes from \"@/config/wow/classes\";\nimport factions from \"@/config/wow/factions\";\nimport * as externalLinks from \"@/config/external-links\";\nimport * as imageLinks from \"@/config/image-links\";\nimport armorTypes from \"@/config/wow/armor-types\";\n\nimport { getElegantDateString, getTimeSince } from \"@/utils/date-helpers\";\nimport { formatPrice } from \"@/utils/string-helpers\";\n\n/**\n * Components\n */\nimport DataFetcher from \"@/components/_global/DataFetcher.vue\";\n\n/**\n * API\n */\nimport usersAPI from \"@/api/users\";\nimport stripeAPI, { SetupResponse } from \"@/api/stripe\";\nimport { GetCurrentUserResponse } from \"@/api/users/get-current-user.response\";\nimport { Guid } from \"@/domain/guid\";\n\n/**\n * Types\n */\n\n/**\n * VueX Modules\n */\nconst profileModule = namespace(\"profile\");\n\n/**\n * User premium page.\n */\n@Component({\n\tcomponents: {DataFetcher}\n})\nexport default class PremiumPage extends Vue {\n\t/// Injections\n\tclasses = classes;\n\tfactions = factions;\n\texternalLinks = externalLinks;\n\timageLinks = imageLinks;\n\tarmorTypes = armorTypes;\n\n\tformatPrice = formatPrice;\n\n\tgetTimeSince = getTimeSince;\n\tgetElegantDateString = getElegantDateString;\n\n\t/// Properties\n\n\t/// Attributes\n\tisLoading = false;\n\tstripeSetup: SetupResponse | null = null;\n\tteamsContributions: any[] | null = null;\n\n\t/// VueX Modules\n\t@profileModule.Action(\"fetchUserDetails\")\n\tfetchUserDetails: any;\n\n\t@profileModule.State(\"userDetails\")\n\tuserDetails!: GetCurrentUserResponse;\n\n\n\t/// Methods\n\tasync created() {\n\t}\n\n\tasync fetch() {\n\t\tawait this.fetchUserDetails();\n\t\tthis.stripeSetup = await stripeAPI.getSetup();\n\t\tawait this.refreshContributions();\n\t}\n\n\tasync refreshContributions() {\n\t\tthis.teamsContributions = await usersAPI.getMyTeamsContributions();\n\t}\n\n\tasync handleCreateStripeSessionClick(priceId: string) {\n\t\tthis.isLoading = true;\n\t\ttry {\n\t\t\tconst session = await stripeAPI.createCheckoutSession({priceId: priceId});\n\t\t\tif (this.stripeSetup != null) {\n\t\t\t\tconst stripe = Stripe(this.stripeSetup.publishableKey);\n\t\t\t\tconst result = await stripe\n\t\t\t\t\t.redirectToCheckout({\n\t\t\t\t\t\tsessionId: session.sessionId\n\t\t\t\t\t});\n\t\t\t\tif (result.error) {\n\t\t\t\t\tconsole.log(result.error.message);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.handleAPIError(error);\n\t\t}\n\t\tthis.isLoading = false;\n\t}\n\n\tasync handleGoToStripeCustomerPortalClick(priceId: string | null = null) {\n\t\tthis.isLoading = true;\n\t\ttry {\n\t\t\tconst session = await stripeAPI.createCustomerPortal({priceId: priceId});\n\t\t\twindow.location.href = session.sessionUrl;\n\t\t} catch (error) {\n\t\t\tthis.handleAPIError(error);\n\t\t\tthis.isLoading = false;\n\t\t}\n\t}\n\n\tasync handleRemoveBoostTeam(teamID: Guid) {\n\t\tthis.isLoading = true;\n\t\ttry {\n\t\t\tawait usersAPI.removeContributionToTeam(teamID);\n\n\t\t\tawait Promise.all([this.fetchUserDetails(), this.refreshContributions()]);\n\t\t} catch (error) {\n\t\t\tthis.handleAPIError(error);\n\t\t}\n\t\tthis.isLoading = false;\n\t}\n\n\tasync handleAddBoostTeam(teamID: Guid) {\n\t\tthis.isLoading = true;\n\t\ttry {\n\t\t\tawait usersAPI.addContributionToTeam(teamID);\n\t\t\tawait Promise.all([this.fetchUserDetails(), this.refreshContributions()]);\n\t\t} catch (error) {\n\t\t\tthis.handleAPIError(error);\n\t\t}\n\t\tthis.isLoading = false;\n\t}\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PremiumPage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PremiumPage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PremiumPage.vue?vue&type=template&id=53fb3fa6&\"\nimport script from \"./PremiumPage.vue?vue&type=script&lang=ts&\"\nexport * from \"./PremiumPage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAvatar } from 'vuetify/lib/components/VAvatar';\nimport { VBadge } from 'vuetify/lib/components/VBadge';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VAvatar,VBadge,VBtn,VCard,VCardActions,VCardText,VChip,VCol,VContainer,VDivider,VIcon,VListItem,VListItemContent,VListItemSubtitle,VListItemTitle,VProgressLinear,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.error)?_c('div',[_vm._t(\"message\",function(){return [_c('p',[_vm._v(\"Something went wrong. Please try again.\")])]}),_c('button',{attrs:{\"disabled\":_vm.loading || _vm.silentLoading},on:{\"click\":_vm.handleLoad}},[_vm._v(\"\\n\\t\\t\"+_vm._s(_vm.loading ? \"Retrying...\" : \"Retry\")+\"\\n\\t\")])],2):(_vm.loading && !_vm.silentLoading && !_vm.hideLoading)?_c('div',{staticClass:\"fill-height\"},[_c('app-loading')],1):_c('div',{staticClass:\"fill-height\"},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, Prop, Watch } from \"vue-property-decorator\";\n\n@Component\nexport default class DataFetcher extends Vue {\n\t@Prop() id?: string; // ID passed as a prop (from route)\n\n\t@Prop({\n\t\ttype: Function,\n\t\trequired: true\n\t})\n\treadonly fetchData!: () => Promise;\n\n\t@Prop({\n\t\ttype: Function,\n\t\trequired: false\n\t})\n\treadonly secondaryFetchData?: () => Promise;\n\n\t@Prop({\n\t\ttype: Boolean,\n\t\trequired: false,\n\t\tdefault: false\n\t})\n\treadonly useSilentLoading!: boolean;\n\n\t@Prop({\n\t\ttype: Boolean,\n\t\trequired: false,\n\t\tdefault: false\n\t})\n\treadonly hideLoading!: boolean;\n\n\tloading = false;\n\tsilentLoading = false;\n\terror = false;\n\n\tasync created() {\n\t\tawait this.handleLoad();\n\t}\n\n\n\t// Watch for route param changes (id change)\n\t@Watch(\"id\")\n\tasync onIdChange() {\n\t\tif (this.useSilentLoading) {\n\t\t\tthis.silentLoading = true;\n\t\t}\n\t\tawait this.handleSecondaryLoad();\n\t}\n\n\tasync handleLoad() {\n\t\tthis.loading = true;\n\t\tthis.$emit(\"update:isLoading\", this.loading);\n\n\t\ttry {\n\t\t\tawait this.fetchData();\n\t\t\tthis.error = false;\n\t\t} catch (error) {\n\t\t\tthis.error = true;\n\t\t}\n\t\tthis.loading = false;\n\t\tthis.$emit(\"update:isLoading\", this.loading);\n\n\t\tthis.silentLoading = false;\n\t}\n\n\tasync handleSecondaryLoad() {\n\t\tthis.loading = true;\n\t\tthis.$emit(\"update:isLoading\", this.loading);\n\n\t\ttry {\n\t\t\tif (this.secondaryFetchData) {\n\t\t\t\tawait this.secondaryFetchData();\n\t\t\t}\n\t\t\telse {\n\t\t\t\tawait this.fetchData();\n\t\t\t}\n\t\t\tthis.error = false;\n\t\t} catch (error) {\n\t\t\tthis.error = true;\n\t\t}\n\t\tthis.loading = false;\n\t\tthis.$emit(\"update:isLoading\", this.loading);\n\n\t\tthis.silentLoading = false;\n\t}\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataFetcher.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataFetcher.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DataFetcher.vue?vue&type=template&id=452e8cc9&scoped=true&\"\nimport script from \"./DataFetcher.vue?vue&type=script&lang=ts&\"\nexport * from \"./DataFetcher.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DataFetcher.vue?vue&type=style&index=0&id=452e8cc9&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"452e8cc9\",\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\n\nexport default Vue.extend({\n name: 'transitionable',\n\n props: {\n mode: String,\n origin: String,\n transition: String,\n },\n})\n","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export');\nvar $pad = require('./_string-pad');\nvar userAgent = require('./_user-agent');\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n }\n});\n"],"sourceRoot":""}