PageSourceSearch

https://khayyam.ac.ir/_next/static/chunks/2495.a1166d2143da7c63.js

js khayyam.ac.ir collected 2026-10-02 13:33:54 UTC 2,152 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2495],{92303:function(e,t,n){n.d(t,{Z:function(){return f}});var a=n(85893),l=n(67294),r=n(90579),i=n(86886);let s=e=>{let{activeTab:t,isActive:n,children:s}=e,u=l.Children.toArray(s);return(0,a.jsx)(i.ZP,{container:!0,flexDirection:"column",gap:"5rem",p:"2.5rem",children:(0,a.jsx)(r.Z,{isActive:n,children:(0,a.jsx)(a.Fragment,{children:u[t]})})})};var u=n(5152),d=n.n(u);let c=d()(()=>n.e(7793).then(n.bind(n,57793)),{loadableGenerated:{webpack:()=>[57793]}}),b=d()(()=>n.e(84).then(n.bind(n,70084)),{loadableGenerated:{webpack:()=>[70084]}}),o=e=>{let{tabLinks:t=!1,extraStyles:n,type:r,tabTitles:i,initialTabIndex:u,children:d}=e,[o,f]=(0,l.useState)(u),[h,x]=(0,l.useState)(!0);return(0,a.jsxs)(a.Fragment,{children:["one"===r&&(0,a.jsx)(c,{style:e.style,fullWidth:e.fullWidth,tabTitles:i,tabLinks:t,initialTabIndex:u,unTabbedInit:e.unTabbedInit,activeTabIndex:o,setActiveTabIndex:f,setIsActive:x,extraStyles:n}),"two"===r&&(0,a.jsx)(b,{tabTitles:i,tabLinks:t,activeTabIndex:o,extraStyles:n}),(0,a.jsx)(s,{activeTab:o,isActive:h,children:d})]})};var f=o},92495:function(e,t,n){n.r(t);var a=n(85893),l=n(67294),r=n(15280),i=n(74189),s=n(87764),u=n(92303),d=n(42797);let c=e=>{let{filter:t}=e,{data:n,isFetching:c,isError:b}=(0,r.X)({params:{screenPlace:"edu",showPast:!0,tags:t.years}}),[o,f]=(0,l.useState)([]),h=(0,l.useMemo)(()=>{if(!(null==n?void 0:n.results)||c)return 0;let e=(0,i.oH)(n.results,"endDate","asc");if(!e.length)return f([]),0;f(e);let t=new Date,a=0;for(let n=0;n<e.length;n++){let l=new Date(e[n].endDate)>t;if(l){a=n;break}}return a},[n,c]),x=o.map(e=>e.title);return c?(0,a.jsx)(s.l,{}):b||!n?(0,a.jsx)(a.Fragment,{}):(0,a.jsx)(u.Z,{type:"one",tabTitles:x,initialTabIndex:h,children:o.map(e=>(0,a.jsx)(d.default,{eventID:e.id,eventTitle:e.title},e.id))})};t.default=c},15280:function(e,t,n){n.d(t,{X:function(){return i},s:function(){return s}});var a=n(64251),l=n(77837);let r=new a.G(["events"]),i=e=>{let{params:t}=e;return(0,l.a)(["events",t],()=>r.fetchAll({params:t}))},s=e=>{let{id:t}=e;return(0,l.a)(["events",t],()=>r.fetchOne({keys:[t]}))}}}]);

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.