PageSourceSearch

https://assets-thesaurus.ie.edu/pro-ie-edu/component---src-ScholarshipCard-03bdaa3d76bac84002d1.js

js ie.edu collected 2026-09-24 08:29:14 UTC 15,194 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_griddo_cx=self.webpackChunk_griddo_cx||[]).push([[1070],{94113:function(e,t,l){l.r(t),l.d(t,{default:function(){return $}});var n=l(26322),o=l(52343),i=l(70278),a=l(81816),r=l(82086),s=l(58379),d=l(72041),c=l(32356),m=l(37447);const u=m.A.Module,x=(0,o.default)(i.Flex).withConfig({displayName:"AccordionElement__BarWrapper",componentId:"sc-1q8uu9-0"})(["",";padding-bottom:4px;border-bottom:1px solid ",";"],e=>e.$hasContent&&"cursor: pointer",e=>e.theme.colors.ui05),h=(0,o.default)(s.A).withConfig({displayName:"AccordionElement__IconStyled",componentId:"sc-1q8uu9-1"})(["transition:all 0.2s ease;transform:rotateZ(0deg);",";"],e=>e.$isActive?"transform: rotateZ(-180deg)":"transform: rotateZ(0deg)"),p=o.default.div.withConfig({displayName:"AccordionElement__Content",componentId:"sc-1q8uu9-2"})(["max-height:",";opacity:",";overflow:hidden;transition:max-height 0.4s ease,opacity 0.3s ease;"],e=>e.$active?"100%":"0px",e=>e.$active?1:0),g=(0,o.default)(i.Box).withConfig({displayName:"AccordionElement__ProgramTitle",componentId:"sc-1q8uu9-3"})(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;"]);var y=({title:e,subtitle:t,nationalities:l,programs:o,countries:r,hasContent:s,isSmall:d})=>{const[m,y]=n.useState(!1),f=()=>y(e=>!e),{getNestedTranslation:v}=(0,c.s9)(),E=v("icons.navigation.downArrow","More information below"),b="icons.actions.",C=v(`${b}closeAccordion`,"Collapse more information"),k=v(`${b}openAccordion`,"Display more information"),w=v("components.scholarshipCard.programs","Programs");return n.createElement(u,{tabIndex:0,width:"100%",noMaxWidth:!0,bleed:!0,bg:"ui02",pt:"xs"},(e||t)&&n.createElement(x,{onClick:s&&f,onKeyDown:e=>"Enter"===e.key&&f(),role:"button","aria-expanded":m,alignItems:"center",mx:{default:"xs",m:"l"},mb:"s",$hasContent:s},n.createElement(i.Stack,{display:"flex",flexDirection:"column"},e&&n.createElement(i.Text,{color:"interactive04",textStyle:"headingxs"},e),t&&n.createElement(i.Text,{color:"text01",textStyle:"body"},t)),n.createElement(h,{name:"downArrow",title:E,height:"48px",minHeight:"48px",minWidth:"48px",ml:"auto",fill:s?"text01":"none",role:"img","aria-label":s&&m?C:k,$isActive:m})),n.createElement(p,{$active:m},n.createElement(i.Flex,{mx:{defaut:"s",m:"xxl"},mb:"l"},Array.isArray(l)&&(null==l?void 0:l.length)>0&&n.createElement(i.Text,{textStyle:"body"},l.map(e=>e.title).join(", ")),d?Array.isArray(o)&&o.length>0&&n.createElement(i.Flex,{flexDirection:"column"},o.map((e,t)=>n.createElement(i.Box,{key:t,mt:0!==t&&"xs"},n.createElement(a.N_,{href:e.relatedPage.url,appearance:"link",newTab:!0,internal:!1,external:!1,textStyle:"body"},e.title)))):Array.isArray(o)&&n.createElement(i.Flex,{flexDirection:"column",width:"100%"},(null==o?void 0:o.length)>0&&n.createElement(i.Flex,{flexDirection:"column",width:"100%"},n.createElement(i.Text,{color:"text02",textStyle:"heading2xs",mb:"xs"},w),n.createElement(i.Flex,{flexDirection:"row",flexWrap:"wrap",width:"100%"},[0,1].map(e=>n.createElement(i.Box,{key:e,width:"47%",mr:e%2==0?"40px":"0"},o.filter((t,l)=>l%2===e).map((e,t)=>n.createElement(g,{key:t,mt:0!==t&&"xs"},n.createElement(a.N_,{href:e.relatedPage.url,appearance:"link",newTab:!0,internal:!1,external:!1,textStyle:"body"},e.title)))))))),Array.isArray(r)&&(null==r?void 0:r.length)>0&&n.createElement(i.Text,{textStyle:"body"},r.map(e=>e.title).join(", ")))))};const f=m.A.Module,v=(0,o.default)(i.Flex).withConfig({displayName:"ScholarshipCard__Wrapper",componentId:"sc-ve01es-0"})(["cursor:",";transition:box-shadow ",";box-shadow:0px 2px 3px rgba(0,0,0,0.3);&:hover{box-shadow:",";}"],e=>e.$hasModal?"pointer":"auto",e=>e.theme.timming.hover,e=>e.$hasModal?"0px 2px 3px rgba(0, 0, 0, 0.5)":"0px 2px 3px rgba(0, 0, 0, 0.3)"),E=(0,o.default)(i.Text).withConfig({displayName:"ScholarshipCard__Span",componentId:"sc-ve01es-1"})(["transition:all "," ease;vertical-align:middle;&:hover{color:",";}"],e=>e.theme.timming.hover,e=>e.theme.colors.link01Hover),b=(0,o.default)(i.Box).withConfig({displayName:"ScholarshipCard__Cursor",componentId:"sc-ve01es-2"})(["cursor:pointer;"]),C=(0,o.default)(i.Text).withConfig({displayName:"ScholarshipCard__MarginText",componentId:"sc-ve01es-3"})(["margin:"," 0;"],e=>e.theme.spacing.xs),k=(0,o.default)(i.Box).withConfig({displayName:"ScholarshipCard__DescriptionContent",componentId:"sc-ve01es-4"})(["margin-bottom:",";text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;"],e=>e.theme.spacing.m),w=o.default.div.withConfig({displayName:"ScholarshipCard__Line",componentId:"sc-ve01es-5"})(["line-height:0;display:block;height:2px;width:10%;background-color:",";"],e=>e.$color),S=o.default.div.withConfig({displayName:"ScholarshipCard__ModalLine",componentId:"sc-ve01es-6"})(["line-height:0;display:block;height:3px;width:5%;background-color:",";"],e=>e.$color),T=(0,o.default)(i.Box).withConfig({displayName:"ScholarshipCard__IconPlace",componentId:"sc-ve01es-7"})(["display:inline-flex;align-items:center;justify-content:center;position:relative;vertical-align:middle;"]);var $=({content:e={},titlesLink:t,linkTextCard:l,cardTitleTag:o})=>{var m,u,x,h,p,g,$,A,_,I,D,B,N,F,M,q,P,H,R,U,W,j,L,O,V,Z,G,K,z,J,Q;const{types:X,title:Y,description:ee,countries:te,allCountries:le,nationalities:ne,allNationalities:oe,programs:ie,allPrograms:ae,genders:re,units:se,schools:de,linkText:ce="More info",modalTitle:me,modalDescription:ue,modalDeadline:xe,modalLink:he}=e,pe=(0,c.ig)({name:"accent"}
1),ge=(0,c.kI)("l"),[ye,fe]=n.useState(!1),[{query:ve},Ee]=(0,c.UH)(),[{query:be},Ce]=(0,c.UH)(),[{query:ke},we]=(0,c.UH)(),[{query:Se},Te]=(0,c.UH)(),[{query:$e},Ae]=(0,c.UH)(),[{query:_e},Ie]=(0,c.UH)(),[{query:De},Be]=(0,c.UH)(),{getNestedTranslation:Ne}=(0,c.s9)(),Fe=Ne("components.scholarshipCard.openScholarship","Open scholarship"),Me=Ne("components.scholarshipCard.typeOfDegree","Type of degree"),qe=Ne("components.scholarshipCard.gender","Gender"),Pe=Ne("components.scholarshipCard.schools","Schools"),He=Ne("components.scholarshipCard.deadline","Deadline"),Re=Ne("components.scholarshipCard.countryResidence","Country of residence"),Ue=Ne("components.scholarshipCard.countryCount","country"),We=Ne("components.scholarshipCard.countriesCount","countries"),je=Ne("components.scholarshipCard.allCountries","All countries"),Le=Ne("components.scholarshipCard.nationality","Nationality"),Oe=Ne("components.scholarshipCard.nationalityCount","nationality"),Ve=Ne("components.scholarshipCard.nationalitiesCount","nationalities"),Ze=Ne("components.scholarshipCard.allNationalities","All nationalities"),Ge=Ne("components.scholarshipCard.programs","Programs"),Ke=Ne("components.scholarshipCard.allPrograms","All programs"),ze=Ne("components.scholarshipCard.relatedProgram","related program"),Je=Ne("components.scholarshipCard.relatedPrograms","related programs");n.useEffect(()=>{null!=X&&X.length&&Ee({data:{fixed:X,mode:"manual",fullRelations:!1},fields:["title"]}),null!=te&&te.length&&we({data:{fixed:te,mode:"manual",fullRelations:!1},fields:["title"]}),null!=ne&&ne.length&&Te({data:{fixed:ne,mode:"manual",fullRelations:!1},fields:["title"]}),null!=ie&&ie.length&&Ce({data:{fixed:ie,mode:"manual",fullRelations:!1},fields:["title","relatedPage"]}),null!=re&&re.length&&Ae({data:{fixed:re,mode:"manual",fullRelations:!1},fields:["title"]}),null!=se&&se.length&&Ie({data:{fixed:se,mode:"manual",fullRelations:!1},fields:["title"]}),null!=de&&de.length&&Be({data:{fixed:de,mode:"manual",fullRelations:!1},fields:["title"]})},[X,te,ne,ie,re,se,de]);const Qe=(null==ke||null===(m=ke.items)||void 0===m?void 0:m.length)>0&&!le?{key:"countries",title:Re,subtitle:1===(null==ke||null===(u=ke.items)||void 0===u?void 0:u.length)?`${ke.totalItems} ${Ue}`:`${ke.totalItems} ${We}`,countries:null==ke?void 0:ke.items,hasContent:!0}:null!=ke&&null!==(x=ke.items)&&void 0!==x&&x.length||le?{key:"countries",title:Re,subtitle:je,countries:null,hasContent:!1}:{key:"countries",title:null,subtitle:null,countries:null,hasContent:!1},Xe=[(null==Se||null===(h=Se.items)||void 0===h?void 0:h.length)>0&&!oe?{key:"nationalities",title:Le,subtitle:1===(null==Se||null===(p=Se.items)||void 0===p?void 0:p.length)?`${Se.totalItems} ${Oe}`:`${Se.totalItems} ${Ve}`,nationalities:null==Se?void 0:Se.items,hasContent:!0}:null!=Se&&null!==(g=Se.items)&&void 0!==g&&g.length||oe?{key:"nationalities",title:Le,subtitle:Ze,nationalities:null,hasContent:!1}:{key:"nationalities",title:null,subtitle:null,nationalities:null,hasContent:!1},Qe,(null==be||null===($=be.items)||void 0===$?void 0:$.length)>0&&!ae?{key:"programs",title:Ge,subtitle:""+(1===(null==be||null===(A=be.items)||void 0===A?void 0:A.length)?`${null==be||null===(_=be.items)||void 0===_?void 0:_.length} ${ze}`:(null==be||null===(I=be.items)||void 0===I?void 0:I.length)>1?`${null==be||null===(D=be.items)||void 0===D?void 0:D.length} ${Je}`:""),programs:null==be?void 0:be.items,hasContent:!0}:null!=be&&null!==(B=be.items)&&void 0!==B&&B.length||ae?{key:"programs",title:Ge,subtitle:Ke,programs:null,hasContent:!1}:{key:"programs",title:null,subtitle:null,programs:null,hasContent:!1}].filter(Boolean),Ye=Xe.filter(e=>null==e?void 0:e.title),et=me||ue||(null==he?void 0:he.href)||(null==he?void 0:he.linkToURL);return n.createElement(n.Fragment,null,n.createElement(d.A,{open:ye,setOpen:fe},n.createElement(i.Flex,{flexDirection:"column",p:{default:"m",m:"l"}},n.createElement(i.Flex,{flexDirection:{default:"column",l:"row"},mb:Ye.length>0&&"xxl"},n.createElement(i.VStack,{gap:"xs",width:{default:"100%",l:"65%"},mr:"m"},X&&(null==ve||null===(N=ve.items)||void 0===N?void 0:N.length)&&ve.
1items.map((e,t)=>n.createElement(i.Text,{key:t,textStyle:"headingxs",color:"text01",as:"p"},e.title)),me&&n.createElement(i.Text,{textStyle:"headingl",color:"brand01"},me),ue&&n.createElement(i.Text,{textStyle:"body",color:"text02",as:"div"},n.createElement(r.A,{allowAllTypes:!0,source:ue})),n.createElement(S,{$color:pe.colors.brand03}),((null==he?void 0:he.href)||(null==he?void 0:he.linkToURL))&&n.createElement(a.N_,Object.assign({},he,{appearance:"link"}),ce||"More info")),n.createElement(i.Flex,{m:{default:"0",l:"s"},my:{default:"s",l:"0"},flexDirection:{default:"column",m:"row",l:"column"}},((null==_e||null===(F=_e.items)||void 0===F?void 0:F.length)||(null==De||null===(M=De.items)||void 0===M?void 0:M.length))&&n.createElement(i.Flex,{flexDirection:"column",flex:"1",maxWidth:{default:"50%",l:"100%"}},se&&(null==_e||null===(q=_e.items)||void 0===q?void 0:q.length)&&n.createElement(i.Box,{display:"flex",flexDirection:"column",mt:"xs"},n.createElement(i.Text,{textStyle:"heading2xs",color:"brand01"},Me),null==_e||null===(P=_e.items)||void 0===P?void 0:P.map((e,t)=>n.createElement(i.Text,{key:t,textStyle:"body",color:"text01"},e.title))),de&&(null==De||null===(H=De.items)||void 0===H?void 0:H.length)&&n.createElement(i.Box,{display:"flex",flexDirection:"column",mt:"s"},n.createElement(i.Text,{textStyle:"heading2xs",color:"brand01"},Pe),null==De||null===(R=De.items)||void 0===R?void 0:R.map((e,t)=>n.createElement(i.Text,{key:t,textStyle:"body",color:"text01"},e.title)))),((null==$e||null===(U=$e.items)||void 0===U?void 0:U.length)||xe)&&n.createElement(i.Flex,{flexDirection:"column",flex:"2",maxWidth:{default:"50%",l:"100%"},mt:{default:"s",m:"xs",l:"s"}},re&&(null==$e||null===(W=$e.items)||void 0===W?void 0:W.length)&&n.createElement(i.Box,{display:"flex",flexDirection:"column"},n.createElement(i.Text,{textStyle:"heading2xs",color:"brand01"},qe),n.createElement(i.Box,{display:"flex"},null==$e||null===(j=$e.items)||void 0===j?void 0:j.map((e,t)=>n.createElement(i.Text,{key:t,textStyle:"body",color:"text01"},e.title,t<(null==$e?void 0:$e.totalItems)-1&&n.createElement("span",null," / "))))),xe&&n.createElement(i.Box,{display:"flex",flexDirection:"column",mt:"s"},n.createElement(i.Text,{textStyle:"heading2xs",color:"brand01"},He),n.createElement(i.Text,{textStyle:"body",color:"text02",as:"div"},n.createElement(r.A,{allowAllTypes:!0,source:xe})))))),Array.isArray(Ye)&&Ye.length>0&&n.createElement(i.Flex,null,n.createElement(f,{noMaxWidth:!0,bleed:!0},n.createElement(i.Box,{as:"ul",bg:"ui02"}
1,Xe.map(e=>e.title&&n.createElement(i.Box,{as:"li",key:e.key},n.createElement(y,Object.assign({},e,{isSmall:ge}))))))))),n.createElement(v,{bg:"#fff",flexDirection:"column",height:"100%",minHeight:!ee&&{default:"156px",m:"194px",l:"206px"},p:"xs"},n.createElement(i.VStack,null,n.createElement(w,{$color:pe.colors.brand03}),X&&(null==ve||null===(L=ve.items)||void 0===L?void 0:L.length)>0&&ve.items.map((e,t)=>n.createElement(i.Text,{key:t,caps:!0,textStyle:"tinys",color:"text01",as:"p",mt:"xs"},e.title)),Y&&(t?n.createElement(b,{$hasModal:et,onClick:()=>et&&fe(!0)},n.createElement(C,{textStyle:"headingxs",color:"brand01",as:o},Y)):n.createElement(C,{textStyle:"headingxs",color:"brand01",as:o},Y)),(ee||ue)&&n.createElement(k,{as:"div"},n.createElement(i.Text,{textStyle:"body",color:"text02"},n.createElement(r.A,{allowAllTypes:!0,source:ee||ue})))),n.createElement(i.VStack,{display:"flex",height:"100%",flexDirection:"column",justifyContent:"space-between"},n.createElement(i.Box,null,(le||(null==ke||null===(O=ke.items)||void 0===O?void 0:O.length))&&n.createElement(i.Box,{display:"flex",flexDirection:"column"},n.createElement(i.Text,{textStyle:"heading2xs",color:"brand01"},Re),n.createElement(i.Text,{textStyle:"body",color:"text01"},le?je:te&&1===(null==ke||null===(V=ke.items)||void 0===V?void 0:V.length)?`${null==ke?void 0:ke.totalItems} ${Ue}`:`${null==ke?void 0:ke.totalItems} ${We}`)),(oe||(null==Se||null===(Z=Se.items)||void 0===Z?void 0:Z.length))&&n.createElement(i.Box,{display:"flex",flexDirection:"column",mt:"xs"},n.createElement(i.Text,{textStyle:"heading2xs",color:"brand01"},Le),n.createElement(i.Text,{textStyle:"body",color:"text01"},oe?Ze:ne&&1===(null==Se||null===(G=Se.items)||void 0===G?void 0:G.length)?`${null==Se?void 0:Se.totalItems} ${Oe}`:`${null==Se?void 0:Se.totalItems} ${Ve}`)),(ae||(null==be||null===(K=be.items)||void 0===K?void 0:K.length))&&n.createElement(i.Box,{display:"flex",flexDirection:"column",mt:"xs"},n.createElement(i.Text,{textStyle:"heading2xs",color:"brand01"},Ge),n.createElement(i.Text,{textStyle:"body",color:"text01"},ae?Ke:ie&&1===(null==be||null===(z=be.items)||void 0===z?void 0:z.length)?`${null==be?void 0:be.totalItems} ${ze}`:`${null==be?void 0:be.totalItems} ${Je}`)),(null==$e||null===(J=$e.items)||void 0===J?void 0:J.length)&&n.createElement(i.Box,{display:"flex",flexDirection:"column",mt:"xs"},n.createElement(i.Text,{textStyle:"heading2xs",color:"brand01"},qe),n.createElement(i.Box,{display:"flex"},null==$e||null===(Q=$e.items)||void 0===Q?void 0:Q.map((e,t)=>n.createElement(i.Text,{key:t,textStyle:"body",color:"text01"},e.title,t<(null==$e?void 0:$e.totalItems)-1&&n.createElement("span",null," / ")))))),et&&n.createElement(b,{mt:"m",alignItems:"center",verticalAlign:"middle",$hasModal:et,onClick:()=>et&&fe(!0)},n.createElement(E,{color:"brand01",textStyle:"tiny2xl"},l||ce),n.createElement(T,{ml:"xxs"},n.createElement(s.A,{name:"higher",title:Fe,height:"16px",fill:"brand01",role:"img","aria-label":Fe}))))))}}}]);

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.