1(self.webpackChunkraise_webapp_frontend=self.webpackChunkraise_webapp_frontend||[]).push([[1521],{11521:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>We});var o=n(1413),a=n(65849),l=n(45007),r=n(1797),i=n(67294),s=n(34874),c=n(74887),u=n(95528),g=n(4942),d=n(45987),m=n(85804),p=n.n(m),h=n(88846),f=n.n(h),v=n(86136),y=n.n(v),b=n(23902),E=n.n(b),C=n(59183),w=n.n(C),Z=n(46963),S=n.n(Z),k=n(78085),N=n.n(k),T=n(21146),A=n.n(T),P=n(8816),I=n.n(P),M=n(15671),D=n(43144),_=n(53640),x=n(60136),F=n(41609),V=n.n(F),B=n(52628),R=n.n(B),O=n(7290),U=n.n(O),X=n(59704),Y=n.n(X),L=n(92534),j=n(96744),H=n(32939),W=n(69613),$=n(75734),q=n(41214),G=n(27917),z=n(15939),J=n(16626),K=function(e){function t(){var e;(0,M.Z)(this,t);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=(0,_.Z)(this,t,[].concat(o))).validateTagLength=function(e){return e.tags.length>3?{tags:["too-many-tags"]}:{}},e.isInitialValid=function(t){var n=t.initialValues;return!e.validateTagLength(n).tags},e.selectedTags=function(t){return e.props.collegeTags.filter(function(e){var n=e.id;return t.includes(n)})},e.onSubmit=function(t,n){var o=t.tags,a=n.setSubmitting,l=n.setStatus;a(!0),e.props.updateStudentCollegeTags(o).then(function(){return a(!1)}).then(e.props.onSuccess).then(e.props.closeModal).catch(function(){l("error"),window.setTimeout(function(){return l("ok")},3e3)})},e}return(0,x.Z)(t,e),(0,D.Z)(t,[{key:"componentDidMount",value:function(){var e=this;this.mq=(0,j.HP)(function(){return e.forceUpdate()}),this.props.fetchModalData().then(function(){return U()(R()(e.props.autoOpenConditions))&&e.props.openModal()})}},{key:"render",value:function(){var e=this,t=this.props,n=t.show,o=t.closeModal,a=t.initialTagIDs,l=t.collegeTags,r=t.collegeNickName,s=t.collegeName,c=(0,j.om)(),u="Tell us why you followed ".concat(r||s,". Knowing what you value will help us connect you to the best-fit colleges.");return i.createElement(W.Z,{show:n,onClose:o,className:"college-tagging-modal"},i.createElement(L.J9,{initialValues:{tags:a},initialStatus:"ok",validate:this.validateTagLength,isInitialValid:this.isInitialValid,onSubmit:this.onSubmit},function(t){var n=t.values.tags,a=t.errors,r=t.status,g=0===Object.keys(a).length;return i.createElement(L.l0,null,i.createElement(L.F2,{name:"tags"},function(t){var a=t.push,d=t.remove,m=function(e){return function(){return d(n.indexOf(e))}},p=e.selectedTags(n);return i.createElement(i.Fragment,null,i.createElement(W.Z.TextHeader,{onClose:o,subtitle:i.createElement(i.Fragment,null,i.createElement("p",null,c.MS_AND_UP&&u,c.XS&&s),i.createElement(H.Z,{color:g&&"error"!==r?"darkergrey":"red",className:"college-tag-limit-instruction"},"ok"===r?"Select up to 3":"There was a problem, please try again."),i.createElement(J.Z.MS_AND_UP,null,p.map(function(e){var t=e.name,n=e.id;return i.createElement(q.Z,{iconRight:"times-r",onClick:m(n),key:n},t)})))},"What do you like about this college?",c.XS&&i.createElement(G.Z,{className:"college-tagging-tooltip"},u)),i.createElement(W.Z.Body,null,V()(l)?i.createElement(z.ZP,null):i.createElement("fieldset",{className:"checkboxes"},l.map(function(e){var t,o=e.name,l=e.id;return i.createElement($.Z,{key:l,name:"tags",disabled:3===p.length&&!Y()(p,{id:l}),value:l,checked:n.includes(l),label:o,onChange:(t=l,function(e){return e.target.checked?a(t):m(t)()})})}))),i.createElement(W.Z.Footer,{primaryButton:{text:"Save",type:"submit",width:c.XS?"100%":130,disabled:!g},secondaryButton:c.MS_AND_UP&&{text:"Maybe later",onClick:o,width:130,rightAligned:!0}}))}))}))}}])}(i.Component),Q=n(83149),ee=n(63326),te=n(33422),ne=n(76651),oe=n(15197),ae=["ungrouped"],le=I()(A()(function(e){return e.group||"ungrouped"}),function(e){var t=e.ungrouped,n=(0,d.Z)(e,ae);return N()(function(e,t){return e.splice(S()(0,e.length-1),0,t)&&e},w()(t),w()(n))},E()),re="college-tagging-modal-dismissed";const ie=(0,l.$j)(function(e){var t=e.modal,n=e.lists.collegeTags,o=void 0===n?[]:n,a=e.featureInteractions.collegeTaggingModalDismissed,l=e.collegeProfile.college,r=l.slug,i=l.name,s=l.nickname,c=l.isFollowing,u=l.listingPageViewCount,g=l.studentCollegeTags,d=le(o),m=a&&!0===a[y()(r)],p=I()(f()("tag"),f()("id"));return{show:!!t.collegeTaggingModal,collegeName:i,collegeNickName:s,collegeTags:d,initialTagIDs:p(g),autoOpenConditions:{name:i,nickname:s,isFollowing:c,sufficientPageViews:u>1,modalNeverDismissed:!1===m}}},function(e,t){var n=t.collegeSlug;return(0,a.DE)({openModal:ne.XY,closeModal:function(){return function(e){return function(t){return Promise.all([t((0,ne.dX)()),t((0,ee.AA)(re,(0,g.Z)({},p()(e),!0)))])}}(n)},updateStudentCollegeTags:oe.XI,changeFeatureInteraction:ee.AA,fetchModalData:function(){return function(e){return function(t){return Promise.all([t((0,Q.$A)("college-tags")),t((0,ee.HB)(re,y()(e))),t((0,ne.fX)(e,"slug name nickname isFollowing listingPageViewCount".split(" ")))])}}(n)},onSuccess:function(){return(0,te._U)("Your college tags will be used to improve your recommendations")}},e)})(K);
1var se=n(70885),ce=n(84238),ue=n.n(ce),ge=n(98612),de=n.n(ge),me=n(64721),pe=n.n(me),he=n(84486),fe=n.n(he),ve=n(93967),ye=n.n(ve),be=n(45733),Ee=n(59728),Ce=n(81872),we=n(11815);const Ze=function(e){var t=e.missingCredits,n=e.collegeProfile,o=n.college,a=o.earningRelationship.statusType,l=o.partnerApplicationDeadlineMonth,r=o.partnerApplicationDeadlineDay,s=o.partnerSubmissionDeadlineMonth,c=o.partnerSubmissionDeadlineDay,u=o.useApplyByTerminology,g=n.userInfo.highSchoolInfo.senior,d=void 0!==l?Number(l)+1:void 0,m=void 0!==s?Number(s)+1:void 0;switch(a){case"deadline_passed":return i.createElement("p",{className:"college-profile-progress-card-warning-status"},"You didn't meet this college's earnings deadline,\n so your earnings are not guaranteed.");case"submitted":return i.createElement("div",null,i.createElement("p",{className:"college-profile-progress-card-positive-status"},"Way to go! Your earnings from this college are almost locked in. ".concat(u?"Apply":"Be admitted"," by\n ").concat(d,"/").concat(r,", enroll, and "),i.createElement("a",{href:"#",onClick:function(e){e.preventDefault(),(0,we.y)(!1)}},"meet any additional requirements")," set by the school (if needed) to be awarded."));case"boost_gpa":return i.createElement("p",{className:"college-profile-progress-card-no-status"},"Add classes as you go! At least ".concat(t,"\n more credits needed by senior year."));case"earning_deadline_soon":return t>0?i.createElement("p",{className:"college-profile-progress-card-warning-status"},"Add classes as you go! At least ".concat(t," more course\n credits needed by ").concat(m,"/").concat(c,".")):i.createElement("p",{className:"college-profile-progress-card-positive-status"},"You've met the minimum 15 credits - be sure to add all\n your high school classes by ".concat(m,"/").concat(c,"."));case"earning":return t>0?g?i.createElement("p",{className:"college-profile-progress-card-no-status"},"Add classes as you go! At least ".concat(t," more credits needed\n by ").concat(m,"/").concat(c,".")):i.createElement("p",{className:"college-profile-progress-card-no-status"},"Add classes as you go! At least ".concat(t,"\n more credits needed by senior year.")):g?i.createElement("p",{className:"college-profile-progress-card-positive-status"},"You've met the minimum 15 credits - be sure to add all your high school classes\n by ".concat(m,"/").concat(c,".")):i.createElement("p",{className:"college-profile-progress-card-no-status"},"You've met the minimum 15 credits - be sure to add all\n your high school classes.");default:return null}};var Se=n(66743),ke={attributes:{href:"/portfolio#courses","aria-label":"Go to your portfolio and add a course",onClick:function(){(0,Ce.j)("college-listing hero-add-courses")}},text:"Add"};const Ne=function(e){function t(){return(0,M.Z)(this,t),(0,_.Z)(this,t,arguments)}return(0,x.Z)(t,e),(0,D.Z)(t,[{key:"render",value:function(){var e=this.props,t=e.totalCredits,n=e.missingCredits,o=e.collegeProfile,a=i.createElement(Ze,{collegeProfile:o,missingCredits:n});return i.createElement(Se.Z,{title:"Course Credits",completed:t,required:15,text:a,ctaLink:ke})}}])}(i.Component);var Te=n(72984),Ae=n(13311),Pe=n.n(Ae);const Ie=function(e){var t=e.name,n=e.className;return i.createElement("button",{className:"college-profile-schedule-visit-button ".concat(n," mobi-enabled"),"data-mobi-categories":"daily","data-mobi-audiences":"5","data-segment-track":"button","data-button-name":t,type:"button","aria-label":"Schedule a visit (opens dialog)"},"Schedule")};var Me=n(59399),De=n(49937),_e=function(e){function t(){return(0,M.Z)(this,t),(0,_.Z)(this,t,arguments)}return(0,x.Z)(t,e),(0,D.Z)(t,[{key:"componentDidMount",value:function(){var e=this.props.slug;this.script=document.createElement("script"),this.script.src="https://mobi.visitdays.com/assets/snippet/assets/main.bundle.js",this.script.setAttribute("data-mobi-subdomain",{"florida-international-university":"fiu","mcmurry-university":"mcm","gannon-university":"gannon"}[e]),this.script.setAttribute("data-mobi-hide-default-button",!0),this.script.async=!0,this.script.defer=!0,document.body.appendChild(this.script)}},{key:"componentWillUnmount",value:function(){document.body.removeChild(this.script)}},{key:"render",value:function(){var e=this.props,t=e.nickname,n=e.partnerScholarships;if(V()(n))return null;var o=Pe()(n,{title:"Visit our Campus"});return o?i.createElement(Me.Z,null,i.createElement("div",{className:"college-profile-schedule-visit-card"},i.createElement("header",{className:"college-profile-schedule-visit-card-header"},t," is ready for your visit!",i.createElement(Ie,{name:"college-profile-fiu-mobi-right-rail",className:"right-rail-desktop"})),"Schedule a trip to campus today and earn a $",(0,De.Rt)(o.amount)," ","micro-scholarship for visiting.",i.createElement(Ie,{name:"college-profile-fiu-mobi-right-rail",className:"right-rail-mobile"}))):null}}])}
1(i.Component),xe=n(42982),Fe=n(35161),Ve=n.n(Fe),Be=n(55323);const Re=function(){var e,t=(0,l.I0)();return i.createElement("div",{className:"shared-card college-profile-right-rail-college-tagging-card","data-testid":"college-tagging-card"},"Tag colleges you follow with whatâs important to you.",(e="college-tagging-card-button",i.createElement(Be.Z,{onClick:function(){return t((0,ne.XY)())},className:e,color:"gray",width:100,outline:!0},"Tag")))};const Oe=function(e){function t(){var e;(0,M.Z)(this,t);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(e=(0,_.Z)(this,t,[].concat(o))).renderPills=function(){var t=e.props,n=t.popularTags,o=t.college.studentCollegeTags,a=o||[],l=new Set([].concat((0,xe.Z)(Ve()(a,function(e){return e.tag.name})),(0,xe.Z)(Ve()(n,function(e){return e.name}))));return Ve()((0,xe.Z)(l),function(e){return i.createElement(q.Z,{key:"pill-".concat(e)},e)})},e.renderHeader=function(){return i.createElement(H.Z,{header:!0,color:"darkgrey",className:"college-popular-tags-heading"},"Popular tags for this college")},e}return(0,x.Z)(t,e),(0,D.Z)(t,[{key:"render",value:function(){var e=this.props,t=e.showTagButton,n=e.college,o=this.renderPills(),a=o.length>0;return(a||t)&&i.createElement(Me.Z,{className:"college-popular-tags"},a&&this.renderHeader(),a&&o,t&&a&&i.createElement("hr",null),t&&i.createElement(Re,{college:n}))}}])}(i.Component);var Ue=n(7432),Xe=n(62807),Ye=["churned","scholarships_not_yet_available","limited_scholarships"];const Le=function(e){var t=e.collegeProfile,n=e.followCollege,o=e.unfollowCollege,a=e.followSimilarCollege,l=e.unfollowSimilarCollege,r=e.followOtherCampus,s=e.unfollowOtherCampus,c=e.getSimilarPartnerColleges,u=e.getOtherCampus,g=e.hideSecondaryCards,d=e.recommendationsShownEventId,m=e.openSubmitEarlyModal,p=(0,i.useState)(!1),h=(0,se.Z)(p,2),f=h[0],v=h[1];(0,i.useEffect)(function(){var e=t.college,n=e._id,o=e.earningRelationship,a=e.otherCampusListingsIds,l=e.otherCampuses;v(Ye.includes(o.statusType)),f&&c(n,d||""),a&&a.length!==ue()(l)&&fe()(a,function(e){u(e)})},[t,c,u,d,f]);var y=t.college,b=y.isPartner,E=y.otherCampusListingsIds,C=y.campusesGroupName,w=y.otherCampuses,Z=y.nickname,S=y.slug,k=y.partnerScholarships,N=y.studentCollegeTags,T=y.popularTags,A=y.isFollowing,P=y.maxEarnings,I=t.similarPartnerColleges,M=t.userInfo.totalCredits,D=Math.floor(M),_=Math.max(15-D,0),x=(0,Xe.Z)().isIonic;return i.createElement("aside",{className:"college-profile-right-rail","aria-labelledby":"college-profile-college-name"},i.createElement(be.Z,{collegeProfile:t,followCollege:n,unfollowCollege:o,missingCredits:_,openSubmitEarlyModal:m,maxEarnings:P}),i.createElement("div",{className:ye()({"hide-cards":g})},x&&i.createElement(Ue.Z,{college:t.college}),f&&i.createElement(Ee.Z,{similarPartnerColleges:I,followCollege:a,unfollowCollege:l,collegeProfile:t}),b&&i.createElement(Ne,{collegeProfile:t,totalCredits:D,missingCredits:_}),function(){var e=t.college.slug;return pe()(["florida-international-university","gannon-university","mcmurry-university"],e)}()&&i.createElement(_e,{nickname:Z,slug:S,partnerScholarships:k}),E&&i.createElement(Te.Z,{otherCampuses:w,campusesGroupName:C,followCollege:r,unfollowCollege:s}),i.createElement(Oe,{popularTags:T,showTagButton:A&&de()(N)&&V()(N),college:t.college})))};var je=(0,u.V)(Le);const He=function(e){var t=e.getStudentInfo,n=e.match,o=e.collegeProfile.userInfo.isUsCitizenOrResident;return i.createElement(c.Z,{match:n,RightRail:je,getUserInfo:t,showSimilarColleges:!0},i.createElement(s.Z,{RightRail:je,showCostsAndFinancialAid:o,showTestsSection:!0,showTestScores:!0}),i.createElement(ie,{collegeSlug:n.params.slug}))};const We=(0,l.$j)(function(e){return{collegeProfile:e.collegeProfile,loading:e.loading}},function(e){return(0,a.DE)({getStudentInfo:r.AW},e)},function(e,t,n){return(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},e),t),n),{},{getStudentInfo:function(){return t.getStudentInfo(e.collegeProfile.userInfo.user)}})})(He)},21146:(e,t,n)=>{var o=n(92822)("groupBy",n(7739));o.placeholder=n(69306),e.exports=o},46963:(e,t,n)=>{var o=n(92822)("random",n(83608));o.placeholder=n(69306),e.exports=o},78085:(e,t,n)=>{var o=n(92822)("reduce",n(54061));o.placeholder=n(69306),e.exports=o}
1,59183:(e,t,n)=>{var o=n(92822)("shuffle",n(69983),n(69087));o.placeholder=n(69306),e.exports=o},83608:(e,t,n)=>{var o=n(69877),a=n(16612),l=n(18601),r=parseFloat,i=Math.min,s=Math.random;e.exports=function(e,t,n){if(n&&"boolean"!=typeof n&&a(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=l(e),void 0===t?(t=e,e=0):t=l(t)),e>t){var c=e;e=t,t=c}if(n||e%1||t%1){var u=s();return i(e+u*(t-e+r("1e-"+((u+"").length-1))),t)}return o(e,t)}}}]); 2//# sourceMappingURL=1521.fc5dc8bf44a0284be2aa.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.