PageSourceSearch

https://khayyam.ac.ir/_next/static/chunks/148.736fedd4820697e1.js

js khayyam.ac.ir collected 2026-10-02 13:32:54 UTC 7,652 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[148,3024,1049],{3374:function(e,n,r){var t=r(82729),o=r(85893),a=r(9478),l=r(72089),i=r(98539),c=r(56682),s=r(41796),d=r(69417);function u(){let e=(0,t._)(["\n  ","\n\n  text-align: center;\n  line-height: 1.75rem;\n  width: ",";\n  border-radius: ",";\n  transition: all 0.3s ease;\n\n  cursor: ",";\n\n  .MuiButton-startIcon > *:nth-of-type(1),\n  .MuiButton-endIcon > *:nth-of-type(1) {\n    font-size: 150% !important;\n  }\n"]);return u=function(){return e},e}let h="\n  font-weight: bold;\n  background: linear-gradient(45deg, ".concat((0,s.Fq)(c.I.PRM_DARK,.75),", ").concat((0,s.Fq)("#F2A743",.75),", ").concat((0,s.Fq)("#B87F38",.75),", ").concat((0,s.Fq)("#F2A743",.75),", ").concat((0,s.Fq)(c.I.PRM_DARK,.75),");\n  background-size: 400% 400%;\n  animation: moving-gradient 10s infinite alternate;\n  transition: transform 0.5s ease-in-out;\n\n  @keyframes moving-gradient {\n    0%, 100% {\n      background-position: 0% 50%;\n    }\n    50% {\n      background-position: 100% 50%;\n    }\n  }\n"),I=(0,i.ZP)(d.Z).withConfig({componentId:"sc-3e35cc86-0"})(u(),e=>{let{$color:n,$alpha:r}=e;return"transparent"===n?{color:c.I.PRM_MAIN,backgroundColor:"transparent","&: hover":{backgroundColor:"transparent"}}:"blue-1"===n?{color:c.I.WHITE,backgroundColor:(0,s.Fq)(c.I.PRM_MAIN,r),border:"1px solid transparent","&:hover":{color:c.I.PRM_MAIN,backgroundColor:(0,s.Fq)(c.I.WHITE,r),borderColor:"".concat(c.I.PRM_MAIN)}}:"blue-2"===n?{color:c.I.PRM_MAIN,backgroundColor:(0,s.Fq)(c.I.PRM_LIGHT,r),"&:hover":{color:c.I.WHITE,backgroundColor:c.I.PRM_MAIN}}:"white-1"===n?{color:c.I.PRM_MAIN,backgroundColor:(0,s.Fq)(c.I.WHITE,r),border:"1px solid ".concat(c.I.PRM_MAIN),"&:hover":{color:c.I.WHITE,border:"1px solid ".concat(c.I.PRM_MAIN),backgroundColor:(0,s.Fq)(c.I.PRM_MAIN,r)}}:"white-2"===n?{color:c.I.PRM_MAIN,backgroundColor:(0,s.Fq)(c.I.WHITE,r),"&:hover":{color:c.I.WHITE,backgroundColor:c.I.PRM_MAIN}}:"starburst"===n?h:{}},e=>{let{$fullWidth:n}=e;return n?"100%":""},e=>{let{$radius:n}=e;return"notSharp"===n?"10px":"3rem"},e=>{let{$cursorIcon:n}=e;return n?"".concat(n," 25 15, auto"):"pointer"}),g=e=>{let{type:n,text:r,withArrow:t=!1,radius:i="notSharp",cursorIcon:c,fullWidth:s=!1,color:d="normal",alpha:u=1,disabled:h=!1,extraStyles:g}=e,{getDirection:f}=(0,a.q)();return(0,o.jsx)(o.Fragment,{children:"noLink"===n?(0,o.jsx)(I,{onClick:e.clickEvent,variant:"contained",dir:"ltr",endIcon:t&&"ltr"===f()&&(0,o.jsx)(l.Z,{name:"ArrowForward"}),startIcon:t&&"rtl"===f()&&(0,o.jsx)(l.Z,{name:"ArrowBack"}),disabled:h,$stylingDir:f(),$radius:i,$fullWidth:s,$color:d,$alpha:u,$cursorIcon:c,style:g,children:(0,o.jsx)("span",{dir:f(),children:r})}):(0,o.jsx)(I,{href:e.link,variant:"contained",dir:"ltr",endIcon:t&&"ltr"===f()&&(0,o.jsx)(l.Z,{name:"ArrowForward"}),startIcon:t&&"rtl"===f()&&(0,o.jsx)(l.Z,{name:"ArrowBack"}),disabled:h,$stylingDir:f(),$radius:i,$fullWidth:s,$color:d,$alpha:u,$cursorIcon:c,draggable:e.draggable,style:g,children:(0,o.jsx)("span",{dir:f(),children:r})})})};n.Z=g},18342:function(e,n,r){var t=r(82729),o=r(85893),a=r(15861),l=r(41796),i=r(80822),c=r(98539),s=r(56682),d=r(67294);function u(){let e=(0,t._)(["\n  display: inline;\n  background: ",";\n"]);return u=function(){return e},e}let h=(0,c.ZP)(a.Z).withConfig({componentId:"sc-702c3f5c-0"})(u(),e=>{let{$bg:n}=e;return"linear-gradient(transparent 55%, ".concat(n," 0 92%, transparent 0)")}),I=e=>{let{title:n,children:r,variant:t="h1",fontSize:a,fontWeight:c="bold",colors:u={text:s.I.PRM_MAIN,line:(0,l.Fq)(s.I.SEC_MAIN,.25)},textAlign:I="start"}=e,[g,f]=(0,d.useState)(void 0),m=(0,d.useRef)(null);return(0,d.useEffect)(()=>{var e;if(!m)return;let n=null==m?void 0:null===(e=m.current)||void 0===e?void 0:e.getClientRects();if(n){if(n.length>1){let e=null==a?void 0:a.toString().match(/^([\d.]+)(\D+)$/);if(e){let r=Number(e[1]),t=e[2];n.length>1?f(r-1+t):n.length>2?f(r-1.5+t):n.length>3&&f(r-2+t)}}else f(a?a.toString():void 0)}},[m,a]),(0,o.jsx)(i.Z,{mb:"2rem",textAlign:I,children:(0,o.jsxs)(h,{ref:m,variant:t,color:u.text,fontSize:g,fontWeight:c,$bg:u.line,children:[r,n]})})};n.Z=I},62302:function(e,n,r){r.r(n);
1var t=r(85893),o=r(71027),a=r(73024),l=r(87764),i=r(95695),c=r(78655);let s=e=>{let{isHome:n,categoryID:r,displayType:s="category",hasScrollReached:d}=e,u=(0,o.s)({params:{screenPlace:"home",category:r,limit:a.NEWS_LIMIT}});return u.isFetching?(0,t.jsx)(l.l,{}):u.isError||!u.data?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(i.default,{functionality:{itemsPerFrame:"carousel"===s?a.NEWS_LIMIT/2:1,framingLogic:"carousel"===s?"childrenArrayLength":"pagination",withAutoRoll:1e4},styles:{controlsType:"1",withCardPadding:!0,withWrapperPadding:!0,withRoundCorners:!0,showControls:{arrows:"carousel"===s,indicators:!0}},children:u.data.results.map((e,r)=>(0,t.jsx)(c.default,{thatOneNew:e,index:r,hasScrollReached:d,isHome:n},e.id))})};n.default=s},31049:function(e,n,r){r.r(n),r.d(n,{categoryID:function(){return i}});var t=r(85893),o=r(73024),a=r(62302),l=r(19142);let i={GENERAL:"658b9f0f2e79aa00c4a90127",CULTURAL:"6625feb447dc71872c4a50b1",EDUCATIONAL:"6625ff9647dc71872c4a51f0",RESEARCH:"6804bec4d5e6e9c952bb67bc"},c=e=>{let{hasScrollReached:n,isHome:r,customSX:c}=e;return(0,t.jsxs)(l.Z,{customSX:c||{gridTemplateColumns:{xs:"repeat(1, 1fr)",sm:"repeat(".concat(o.NEWS_LIMIT-2,", 1fr)"),md:"repeat(".concat(o.NEWS_LIMIT,", 1fr)")},gap:"0 !important"},children:[(0,t.jsx)(a.default,{isHome:r,categoryID:i.GENERAL,hasScrollReached:n}),(0,t.jsx)(a.default,{isHome:r,categoryID:i.RESEARCH,hasScrollReached:n}),(0,t.jsx)(a.default,{isHome:r,categoryID:i.EDUCATIONAL,hasScrollReached:n}),(0,t.jsx)(a.default,{isHome:r,categoryID:i.CULTURAL,hasScrollReached:n})]})};n.default=c},73024:function(e,n,r){r.r(n),r.d(n,{NEWS_LIMIT:function(){return b}});var t=r(85893),o=r(67294),a=r(5152),l=r.n(a),i=r(9478),c=r(23589),s=r(74994),d=r(3374),u=r(18342),h=r(65582),I=r(86886);l()(()=>Promise.all([r.e(5695),r.e(5969)]).then(r.bind(r,93362)),{loadableGenerated:{webpack:()=>[93362]}});let g=l()(()=>Promise.all([r.e(1066),r.e(9927)]).then(r.bind(r,59927)),{loadableGenerated:{webpack:()=>[59927]}}),f=l()(()=>Promise.all([r.e(5695),r.e(1066),r.e(1049)]).then(r.bind(r,31049)),{loadableGenerated:{webpack:()=>[31049]}}),m=l()(()=>Promise.all([r.e(5695),r.e(2302)]).then(r.bind(r,62302)),{loadableGenerated:{webpack:()=>[62302]}}),b=4,p=e=>{var n,r;let{displayType:a="stack"}=e,{getDirection:l,getLocaleLink:b}=(0,i.q)(),{getContext:p}=(0,c.V)(),x=(0,o.useRef)(null),[R,M]=(0,o.useState)(!1);return(0,o.useEffect)(()=>(0,s.q)(x,M),[x]),(0,t.jsxs)(h.Z,{component:"section",sx:{my:"2.5rem",gap:"5rem"},children:[(0,t.jsx)(I.ZP,{item:!0,xs:12,children:(0,t.jsx)(u.Z,{title:null===(n=p("news-title"))||void 0===n?void 0:n[0],fontSize:"2.55em"})}),(0,t.jsxs)(I.ZP,{container:!0,flexDirection:"column",ref:x,children:["stack"===a&&(0,t.jsx)(g,{hasScrollReached:R,isHome:!0}),"category"===a&&(0,t.jsx)(f,{hasScrollReached:R,isHome:!0}),"carousel"===a&&(0,t.jsx)(m,{hasScrollReached:R,isHome:!0,displayType:a}),(0,t.jsx)(I.ZP,{container:!0,justifyContent:"end",children:(0,t.jsx)(d.Z,{type:"link",link:b("/news"),text:null===(r=p("news-all"))||void 0===r?void 0:r[0],withArrow:!0,radius:"semiCircle",cursorIcon:"rtl"===l()?"url(/images/cursor/left.svg)":"url(/images/cursor/right.svg)",color:"blue-2",alpha:.4})})]})]})};n.default=p},74994:function(e,n,r){r.d(n,{q:function(){return t}});let t=(e,n)=>{let r=()=>{if(e.current){let r=e.current.getBoundingClientRect().top;r<window.innerHeight&&n(!0)}};return window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r)}}}}]);

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.