(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["profile"],{"2c21":function(t,e,s){"use strict";s("6bdc")},"6bdc":function(t,e,s){},"76f3":function(t,e,s){"use strict";s("79e5")},"79e5":function(t,e,s){},c66d:function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t._self._c;return e("div",[e("BModal",{attrs:{id:"internalNotes",title:"Paging Notes"},model:{value:t.showInternalNotes,callback:function(e){t.showInternalNotes=e},expression:"showInternalNotes"}},[t.internalNotesTable.length>1?e("Msntable",{attrs:{rows:t.internalNotesTable}}):t.notesLoaded?e("span",[t._v(" No notes for this journal ")]):e("span",[t._v(" Loading Notes... ")]),e("template",{slot:"modal-footer"},[e("BButton",{attrs:{name:"OK button",variant:"primary"},on:{click:function(e){t.showInternalNotes=!1}}},[t._v(" OK ")])],1)],2),!t.loadingPage&&(void 0===t.groupId||t.groupId<=0)&&t.seriesId<=-1?e("div",[e("BRow",[e("BCol",[e("h1",{staticClass:"no-bottom text-ams-orange"},[t._v(" No serials found for that ID. ")])])],1),e("BRow",[e("BButton",{staticClass:"btn-ams-blue-dark indent",attrs:{onclick:"history.back()"}},[t._v(" Back ")])],1)],1):t.loadingPage?t._e():e("div",[e("BRow",[e("BCol",[e("span",{staticClass:"font-italic"},[t._v(" Profile for ")])])],1),e("BRow",[e("BCol",[e("PageHeader",[t._v(" "+t._s(t.fullName)+" ")])],1)],1),t.internal?e("BRow",[e("BCol",[t.internal&&""!==t.jourCode?e("span",{staticClass:"abbr indent"},[t._v(" "+t._s(t.jourCode)+" ")]):t._e()]),e("BCol",[e("div",{staticClass:"float-right"},[t.mcqValue>-1?e("div",[e("span",{attrs:{title:"MCQ for this "+t.serialType}},[e("span",{staticClass:"font-weight-bold"},[t._v(" MCQ: ")]),t._v(" "+t._s(t.mcqValue)+" ")]),e("span",{staticClass:"ml-3",attrs:{title:"Median MCQ for all "+t.serialType+"s"}},[e("span",{staticClass:"font-weight-bold"},[t._v(" Median MCQ: ")]),t._v(" "+t._s(t.mcqAllValue)+" ")])]):e("div",[e("span",{attrs:{title:"MCQ for this "+t.serialType}},[e("span",{staticClass:"font-weight-bold"},[t._v(" MCQ: ")]),t._v(" loading... ")]),e("span",{staticClass:"ml-3",attrs:{title:"Median MCQ for all "+t.serialType+"s"}},[e("span",{staticClass:"font-weight-bold"},[t._v(" Median MCQ: ")]),t._v(" loading... ")])]),t.internal&&t.isJournal?e("BButton",{staticClass:"float-right",attrs:{variant:"ams-blue-dark",disabled:1==t.internalNotesTable.length,name:"Show Paging Notes button"},on:{click:function(e){t.showInternalNotes=!t.showInternalNotes}}},[t.internalNotesTable.length>1?e("span",[t._v(" Show ")]):t.notesLoaded?e("span",[t._v(" No ")]):e("span",[t._v(" Loading ")]),t._v(" Paging Notes ")]):t._e()],1)])],1):t._e(),e("BRow",[e("BCol",{attrs:{col:"",xs:"12"}},[e("SerialDetails",{attrs:{"old-jour-id":t.oldJourId,"group-id":t.groupId,"series-id":t.seriesId},on:{return:t.detailsReturn}}),t.historyTable.length>2?e("SerialVolIssCard",{attrs:{"recent-type":t.recentType,"recent-link":t.recentLink,"vol-iss-formatted":t.volIssFormatted,unassigned:t.unassigned,internal:t.internal}}):t._e()],1),e("BCol",{attrs:{col:"",xs:"12"}},[t.history.length>1?e("SerialGroupDetails",{attrs:{"serial-type":t.serialType,"group-details-table":t.groupDetailsTable}}):t._e(),t.historyTable.length<=2?e("SerialVolIssCard",{attrs:{"recent-type":t.recentType,"recent-link":t.recentLink,"vol-iss-formatted":t.volIssFormatted,unassigned:t.unassigned,internal:t.internal}}):t._e(),e("Card",{attrs:{title:t.toTitleCase(t.serialType)+" Title History",rows:t.historyTable,"nav-btn":t.historyLink}}),t.relatedTable.length>0?e("Card",{attrs:{title:"Related",rows:t.relatedTable,"small-table":!0}}):t._e()],1)],1),e("div",{staticClass:"clearline"}),e("BRow",[e("BCol",[e("SerialMCQ",{attrs:{"group-id":t.groupId,"series-id":t.seriesId,abbr:t.abbr,"is-ref-list":t.isRefList},on:{return:t.mcqReturn}})],1)],1),e("BRow",[e("BCol",[e("SerialCitations",{attrs:{"group-id":t.groupId,"series-id":t.seriesId,abbr:t.abbr,"is-ref-list":t.isRefList,internal:t.internal}})],1)],1),e("BRow",[e("BCol",[e("SerialPublications",{attrs:{"group-id":t.groupId,"series-id":t.seriesId}})],1)],1),e("BRow",[e("BCol",[e("SerialMSC",{attrs:{"group-id":t.groupId,"series-id":t.seriesId}})],1),e("BCol",[e("SerialAuthors",{attrs:{"group-id":t.groupId,"series-id":t.seriesId}})],1)],1)],1)],1)},r=[],n=(s("14d9"),s("e9f5"),s("910d"),s("025e")),a=s("25a4"),l=s("fce7"),o=s("73ec"),u=s("87cd"),d={name:"SerialProfile",title:"Profile",components:{PageHeader:l["a"],Card:()=>s.e("journal_card_journal").then(s.bind(null,"8835")),Msntable:()=>s.e("msn_table_journal").then(s.bind(null,"6d54")),SerialDetails:()=>s.e("serial_details_journal").then(s.bind(null,"0925")),SerialGroupDetails:()=>s.e("serials_group_details_journal").then(s.bind(null,"73ed")),SerialMCQ:()=>s.e("serial_mcq_journal").then(s.bind(null,"0b3f")),SerialCitations:()=>s.e("serial_citations_journal").then(s.bind(null,"88fb")),SerialPublications:()=>s.e("serial_publications_journal").then(s.bind(null,"e131")),SerialMSC:()=>s.e("serial_msc_journal").then(s.bind(null,"9ec8")),SerialAuthors:()=>s.e("serial_authors_journal").then(s.bind(null,"43ec")),SerialVolIssCard:()=>s.e("serial_vol_journal").then(s.bind(null,"3b61"))},data(){return{fullName:"Loading...",loadingPage:!0,groupId:-1,jourId:-1,oldJourId:-1,seriesId:-1,abbr:"",isRefList:!1,jourCode:"",mcqValue:-1,mcqAllValue:-1,recent:[],current:!1,history:[],internal:!1,groupDetailsTable:[],related:[],mcq:[],mcqAll:[],directRelTypes:["Continued as","Formerly"],jourGroupLookup:{},duplicateGroups:[],renderMCQ:!1,renderCitations:!1,renderPublications:!1,internalNotes:{},jourCodeLookup:{},joursFound:[],unassigned:null,showInternalNotes:!1,notesLoaded:!1,alreadyTracked:!1}},computed:{internalNotesTable:function(){const t=[["Date","Initials","Note"]];for(const e in this.internalNotes)t.push([this.internalNotes[e].date,this.internalNotes[e].initials,this.internalNotes[e].txt.replace(/\s{4,}/,"
")]);return t},isJournal:function(){return this.jourId&&this.jourId>-1||this.groupId&&this.groupId>-1},serialType:function(){return this.isJournal?"journal":"series"},recentType:function(){return this.isJournal?"Issues":"Volumes"},internalTable:function(){const t=[];return this.jourCode&&this.jourCode.length>0&&t.push(["Journal Code",this.jourCode]),this.mcqValue>-1&&t.push([Object(n["l"])(this.serialType)+" MCQ",this.mcqValue]),this.mcqAllValue>-1&&t.push(["All "+Object(n["l"])(this.serialType)+" MCQ",this.mcqAllValue]),t},volIssFormatted:function(){const t=this.recent.items,e=this.recent.mostRecentJournalId;return Object(n["n"])(t,!this.isJournal,void 0,e)},recentLink:function(){const t={};return this.isJournal?this.groupId>-1?t.groupId=this.groupId:t.journalId=this.journalId:t.seriesId=this.seriesId,{text:this.isJournal?"List All Issues":"List All Volumes",to:{name:this.isJournal?"IssueList":"VolumeList",query:t}}},relatedTable:function(){const t=Object(n["g"])(this.related,!1,!0,this.$router);return t},historyLink:function(){const t={to:{name:"History",query:{groupId:this.groupId}},text:"View Details"};return this.isJournal||(t.to.query={seriesId:this.seriesId}),t},historyTable:function(){const t=[["Title","Start","End"]];for(const e in this.history)t.push(this.history[e]);return t}},mounted:function(){this.onMount(),Object(o["h"])()},updated:function(){Object(o["h"])()},methods:{toTitleCase(t){return Object(n["l"])(t)},setTitle:function(t){t=t.replace(/\$/g,""),document.title=t+" - Profile"},addTabListeners:function(){const t=document.getElementsByClassName("nav-tabs");for(let e=0;e0&&this.getGroupIds(t)}},mcqReturn:function(t){this.mcqValue=t.mcqValue,this.mcqAllValue=t.mcqAllValue},getGroupIds:async function(t){const e=[],s=await a["a"].getGroupIds(t.filter(t=>null!==t));for(const i in s)this.jourGroupLookup[s[i].jourid]=s[i].groupId,e.push(s[i].groupId);for(const i in e)e.lastIndexOf(e[i])>i&&-1===this.duplicateGroups.indexOf(e[i])&&this.duplicateGroups.push(e[i])},trackCounter5(t){this.alreadyTracked||(this.isJournal?this.isJournal&&Object(u["f"])({id:t.jourId,title:t.fullName,publisher:t.publisher}):Object(u["i"])({id:this.seriesId,title:t.fullName,publisher:t.publisher}),this.alreadyTracked=!0)}}},c=d,h=(s("76f3"),s("2877")),p=Object(h["a"])(c,i,r,!1,null,null,null);e["default"]=p.exports},fce7:function(t,e,s){"use strict";s.d(e,"a",(function(){return h}));var i=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("div",{class:t.internalTitleClass},[t._t("default")],2),e("div",{staticClass:"d-flex"},[e("div",{staticClass:"flex-fill"},[e("hr",{class:t.lineClass})]),t.noLogo?t._e():e("div",{staticClass:"d-none d-md-block"},[e("BImg",{attrs:{fluid:"",src:t.logoUrl,alt:"American Mathematical Society"}})],1)])])},r=[],n=s("9ab4"),a=s("1b40");let l=class extends a["f"]{constructor(){super(...arguments),this.logoUrl="",this.authorId=0}mounted(){s.e("chunk-2d0cbde8").then(s.t.bind(null,"4c03",7)).then(t=>this.logoUrl=t.default)}get internalTitleClass(){return("title "+this.titleClass).trim()}get lineClass(){return""+(this.noLogo?"noLogo-line":"")}};Object(n["a"])([Object(a["b"])({default:"",type:String})],l.prototype,"titleClass",void 0),Object(n["a"])([Object(a["b"])({default:!1})],l.prototype,"noLogo",void 0),l=Object(n["a"])([a["a"]],l);var o=l,u=o,d=(s("2c21"),s("2877")),c=Object(d["a"])(u,i,r,!1,null,"5091c60e",null),h=c.exports}}]); //# sourceMappingURL=profile.19c76621.js.map