PageSourceSearch

https://www.for9a.com/_next/static/chunks/164.4e49bcb07ef5a1b5.js

js for9a.com collected 2026-10-02 04:56:40 UTC 4,737 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[164,3628,9615],{80164:function(e,a,r){r.r(a);var s=r(74817);r(71248);var t=r(37518),l=r.n(t),i=r(40236),o=r(13628),n=r(67833);a.default=e=>{var a,r,t,c;let{navView:d,coursesStats:u,course_type:m}=e,{t:f}=(0,n.Z)("common"),h=(e,a)=>{var r;let s=(null==u?void 0:null===(r=u.data)||void 0===r?void 0:r.stats)||{};return void 0!==s[e]?s[e]:d.stats[e]||a},v=h("num_enrollment",0),x=h("num_of_ratings",0),p=h("rating",0),g=d.teacher,j="online_course"===d.course_type,y={src:null==g?void 0:null===(a=g.images)||void 0===a?void 0:a.name,folder:"for9a"===m?"user":"organization",alt:null==g?void 0:g.name,width:60,height:60,ext:"webp",className:"rounded-full",hasLoader:!0,method:j?"max":"smart-cropped",priority:!0};return(0,s.jsxs)("div",{className:"flex flex-wrap gap-8 md:gap-12 items-start",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)("label",{className:"text-sm font-semibold text-gray-700",children:f("courses-overview-teacher-name")}),(0,s.jsxs)("div",{className:"flex items-center gap-4 group",children:[(0,s.jsx)("div",{className:"relative overflow-hidden rounded-full ring-2 ring-gray-100 transition-all duration-300 group-hover:ring-primary-500",children:(()=>{var e;if(!(null==g?void 0:null===(e=g.images)||void 0===e?void 0:e.name))return(0,s.jsx)(o.default,{...y});let a=(j?g.org_url:null)||(g.username?`/p/${g.username}`:null),r="for9a"===d.course_type?"_blank":void 0;return a?(0,s.jsx)(l(),{href:a,target:r,className:"rounded-full",children:(0,s.jsx)(o.default,{...y})}):(0,s.jsx)(o.default,{...y})})()}),("online_course"===d.course_type||"for9a"===d.course_type)&&(0,s.jsx)(l(),{href:(null===(r=d.teacher)||void 0===r?void 0:r.org_url)||((null===(t=d.teacher)||void 0===t?void 0:t.username)?`/p/${d.teacher.username}`:"#"),target:"for9a"===d.course_type?"_blank":void 0,className:"text-gray-800 hover:text-primary-600 font-medium transition-colors duration-200",children:null===(c=d.teacher)||void 0===c?void 0:c.name})]})]}),"for9a"===m&&(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)("label",{className:"text-sm font-semibold text-gray-700",children:f("courses-overview-number-of-student")}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("svg",{className:"w-5 h-5 text-gray-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"})}),(0,s.jsx)("span",{className:"text-gray-700 font-medium",children:v.toLocaleString()})]})]}),"for9a"===m&&(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)("label",{className:"text-sm font-semibold text-gray-700",children:f("courses-overview-rate")}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)("div",{className:"flex items-center gap-1.5",children:(()=>{let e=p>3?Math.floor(p):Math.floor(p+1.5);return(0,s.jsxs)("div",{className:"v-star flex gap-0.5",children:[Array(e).fill(0).map((e,a)=>(0,s.jsx)(i.RT,{},a)),Array(5-e).fill(0).map((e,a)=>(0,s.jsx)(i.$D,{},a)),(0,s.jsx)("span",{className:"v-rating",children:`${p>3?p:p+1.5}`})]})})()}),x>0&&(0,s.jsx)("span",{className:"text-sm text-gray-500",children:f("courses-overview-number-rate",{value:x>50?x:x+50})})]})]})]})}},13628:function(e,a,r){r.r(a);var s=r(74817);r(71248);var t=r(88735),l=r.n(t);a.default=e=>{let a,{Css:r,fill:t,sizes:i,className:o,src:n,width:c,height:d,alt:u,ext:m="webp",hasLoader:f,layout:h,method:v="fit",isCroppedSmart:x,quality:p,ratioMobile:g,ratioDesktop:j,allowedWidthSizes:y=[50,64,69,96,100,128,250,256,280,318,384,640,1140],folder:b,priority:N=!1}=e,$=g||j;b&&(n=`${b}/${n}`);let w={src:n,alt:u,quality:p,className:o,priority:N};if(f&&(w.loader=e=>{let{src:r,width:s}=e;if(!r||null==r||"organization/"==r||"organization/null"==r||"null"==r||"none"==r)return"/def.jpeg";y&&!y.includes(s)&&(s=y.reduce((e,a)=>Math.abs(a-s)<Math.abs(e-s)?a:e));let t=Math.ceil(s*$);
1switch(x&&(v="smart-cropped"),v){case"fit":a=`https://images.for9a.com/thumb/${v}-${s}-${t||s}-${p||100}-${m}/${r}`;break;case"max":a=`https://images.for9a.com/thumb/max-${s}-auto-${p||100}-${m}/${r}`;break;case"smart-cropped":a=`https://images.for9a.com/thumb/fit-${s}-${t||s}-${p||100}-smart-cropped-${m}/${r}`;break;default:a=r}return a}),!0===t)w.fill=!0,i&&(w.sizes=i),r&&"object"==typeof r&&(w.style=r);else{let e=c||100,a=d||($?Math.ceil(e*$):100);w.width=e,w.height=a,"responsive"===h?w.style={width:"100%",height:"auto",...r}:r&&"object"==typeof r&&(w.style=r)}return(0,s.jsx)(l(),{...w})}}}]);

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.