PageSourceSearch

https://www.0i1c.cn/template/pc/skin/js/val-73aead30b42e9a11.js

js 0i1c.cn collected 2026-10-09 04:34:48 UTC 10,978 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5262],{39066:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/val",function(){return n(50495)}])},37729:function(e,t,n){"use strict";n.d(t,{Q:function(){return f}});var r=n(85893),a=n(67294),i=n(23523),s=n(77165),o=n(88156),c=n(79121),u=n(94184),l=n.n(u),d=n(67841),m=n(60429),p=function(e){var t,n,a=e.product,i=e.onBuy;return(0,r.jsxs)("div",{className:"w-[308px] h-[399px] rounded-lg overflow-hidden bg-white relative shadow-[0px_7px_7px_-5px_rgba(0,0,0,0.12)]",children:[(0,r.jsx)("div",{children:(0,r.jsx)(m.Z,{src:a.cover_path,className:"w-[308px] h-[174px] object-contain"})}),(0,r.jsxs)("div",{className:"flex flex-col p-4 gap-y-4",children:[(0,r.jsx)("div",{className:"text-[#25262B] text-lg line-clamp-1",title:a.name,children:a.name}),(0,r.jsx)("div",{className:"h-[72px] overflow-y-auto text-[#6d6d6d] opacity-70",children:null===(t=a.description)||void 0===t?void 0:t.split("\n").map(function(e,t){return(0,r.jsx)("li",{className:"mb-1 leading-tighter",children:e},t)})})]}),(0,r.jsx)("div",{className:"absolute w-full px-4 bottom-4",children:(0,r.jsxs)(d.z,{color:"brand",fullWidth:!0,size:"md",styles:{label:{fontWeight:"normal"}},onClick:function(){return i(a)},children:[null!==(n=a.discount_amount)&&void 0!==n?n:a.amount,"è´­ä¹°"]})})]})},x=function(e){var t=e.products,n=e.className,a=e.onBuy;return(0,r.jsx)("div",{className:l()("flex md:flex-wrap flex-nowrap md:overflow-x-hidden overflow-x-auto gap-3 md:gap-4",n),children:t.map(function(e){return(0,r.jsx)("div",{className:"shrink-0 pb-2",children:(0,r.jsx)(p,{product:e,onBuy:a})},e.id)})})},f=function(e){var t=e.gameCode,n=e.title,u=(0,i.X)().productsGroupByGameCategory,l=(0,a.useState)(),d=l[0],m=l[1],p=(0,c.Z)(),f=p.isOpen,g=p.toggle,h=(0,o.aC)(),v=h.isAuthenticated,y=h.setOpenAuthModal,b=(0,a.useMemo)(function(){var e;return(null===(e=u.find(function(e){return e.gameCategory.code===t}))||void 0===e?void 0:e.allProducts)||[]},[u,t]);return(0,a.useEffect)(function(){f&&!v?(y(!0),g(!1)):void 0!==d&&v&&g(!0)},[v,d,y,f,g]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("section",{className:"mx-4 md:mx-auto md:w-[1304px]",children:[(0,r.jsx)("h3",{className:"text-[#AB8C30] text-center font-bold text-lg md:text-[34px]",children:n}),(0,r.jsx)(x,{onBuy:function(e){g(!0),m(e)},products:b,className:"mt-8 md:mt-[60px] px-2"})]}),d&&(0,r.jsx)(s.O,{product:d,isOpen:f&&v,onRequestClose:function(){m(void 0),g()}})]})}},23523:function(e,t,n){"use strict";n.d(t,{H:function(){return f},X:function(){return g}});var r=n(26042),a=n(69396),i=n(828),s=n(85893),o=n(67294),c=n(96486),u=n(11163),l=n(99907),d=n(9775),m=(0,o.createContext)({}),p={Plus:"집중반 PLUS",Basic:"취미반 PLAY",Trial:"1회 체험"},x=function(e,t){return e&&t?"Month"===t&&"kr"===d.Ol?"개월":"".concat(t).concat((e||0)>1?"s":""):""};function f(e){var t,n,f,g,h,v,y,b,_,N,j,w,P,A,C,G,k,E,M,O,S,B,q,F=e.children,T=e.isPlatform,Z=(t=void 0!==T&&T,n=(0,u.useRouter)(),g=(f=(0,l.oR)()).gameCategoryState.gameCategories,h=f.productState.products,v=(0,o.useMemo)(function(){return(h||[]).filter(function(e){return t?"Platform"===e.product_type:"Platform"!==e.product_type})},[h,t]),b=(y=(0,o.useState)(null))[0],_=y[1],j=(N=(0,o.useState)(null))[0],w=N[1],A=(P=(0,o.useState)(null))[0],C=P[1],G=(0,o.useMemo)(function(){var e=v.map(function(e){var t,n,i=null===(t=e.class)||void 0===t?void 0:t.program_type.name,s=null===(n=e.class)||void 0===n?void 0:n.program_sub_type.name,o=p[s||""]||s,c="kr"===d.Ol?o:s;return(0,a.Z)((0,r.Z)({},e),{groupTitle:"Play"===i?"".concat(c," ").concat(e.time_span," ").concat(x(e.time_span,e.time_span_unit)):c})});return(0,c.groupBy)(e.filter(function(e){return!b||e.game_category_id===b}).filter(function(e){var t,n;return!j||(null===(t=e.class)||void 0===t?void 0:null===(n=t.program_sub_type)||void 0===n?void 0:n.id)===j}).filter(function(e){if(A){var t=(0,i.Z)(A.split(" "),2),n=t[0],r=t[1];return e.time_span===Number(n)&&e.time_span_unit==r}return!0}),"groupTitle")},[v,b,j,A]),k=(0,o.useMemo)(function(){return v.filter(function(e){return"Normal"!==e.type})},[v]),E=(0,o.useMemo)(function(){return(0,c.groupBy)(v.filter(function(e){return e.game_category_id}),"game_category_id")},[v]),M=(0,o.useMemo)(function(){return(g||[]).filter(function(e){return!!E[e.id]})},[g,E]),O=(0,o.useMemo)(function(){var e=new Map,t=[];return v.forEach(function(t){t.time_span&&e.set("".concat(t.time_span," ").concat(x(t.time_span,t.time_span_unit)),"".concat(t.time_span," ").concat(t.time_span_unit))}),e.forEach(function(e,n){t.push({label:n,value:e})}),t.sort(function(e,t){var n=(0,i.Z)(e.value.split(" "),2),r=n[0],a=n[1],s=(0,i.Z)(t.value.split(" "),2),o=s[0],c=s[1];return Number(r)+("Month"===a?1e3:0)-(Number(o)+("Month"===c?1e3:0))})},[v]),S=(0,o.useMemo)(function(){return(v||[]).reduce(function(e,t){var n=(0,c.get)(t,"class.program_sub_type.id");return!e.find(function(e){return e.id===n})&&n&&e.push(t.class.program_sub_type),e},[])},[v]),B=(0,o.useMemo)(function(){return null===b?v:v.filter(function(e){return e.game_category_id===b})},[v,b]),(0,o.useEffect)(function(){if(M.length&&S.length){var e=M.find(function(e){return e.code===n.query.game}),t=S.find(function(e){return e.name===n.query.program});e&&_(e.id),t&&w(t.id)}n.query.game||_(null),n.query.program||w(null),C(n.query.timeSpan||null)},[M,S,n.query.game,n.query.program,n.query.timeSpan,b,]),q=(0,o.useMemo)(function(){var e=(0,c.groupBy)(v,function(e){return e.game_category_id}),t=[];return Object.keys(e).map(function(n){var r=e[n];if(r&&r.length){var a=(g||[]).find(function(e){return Number(e.id)===Number(n)});a&&t.push({gameCategory:a,allProducts:r,subscriptionProducts:r.filter(function(e){return"Normal"!==e.type}),normalProducts:r.filter(function(e){return"Normal"===e.type})})}}),t.sort(function(e,t){return e.gameCategory.sequence-t.gameCategory.sequence})},[g,v]),{existGames:M,existPrograms:S,selectedGame:b,setSelectedGame:_,selectedProgram:j,setSelectedProgram:w,selectedProducts:B,subscriptionProducts:k,groupingProducts:G,productsGroupByGameCategory:q,existedTimeSpan:O,selectedTimeSpan:A});return(0,s.jsx)(m.Provider,{value:Z,children:F})}function g(){return(0,o.useContext)(m)}},50495:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return p},default:function(){return x}});var r=n(85893);n(67294);var a=n(37729),i=n(23523),s=n(60429),o=function(){return(0,r.jsxs)("section",{className:"",children:[(0,r.jsx)(s.Z,{src:"/images/valpage/banner.png",className:"w-full md:block hidden"}),(0,r.jsx)(s.Z,{src:"/images/valpage/banner_mobile.png",className:"w-full md:hidden block"})]})},c=n(94184),u=n.n(c),l=[{img:"/images/valpage/info-new/1.png",title:"与职业教练一起的线上定制化训练",sub:"",desc:"职业联赛教练为学员定制训练计划和内容,学员也可以在训练时间内向教练提出自己额外想加强提升的部分"},{img:"/images/valpage/info-new/2.png",title:"多宝学员独有的训练营反馈日志报告",sub:"",desc:"根据学员训练进度,教练每周会出具综合评估报告,帮助学员了解训练现状,为学员提高各项数据和实力指明方向。"},{img:"/images/valpage/info-new/3.png",title:"由职业教练开展的直播主题战术讲座",sub:"",desc:"每月不同主题的战术讲座中,职业教练会带来最新资讯和经验分享,ä¸
1ºå­¦å‘˜ç­”疑解惑。讲座将在多宝无畏契约官方社群(KOOK)上进行,直播结束后也会为学员提供录像供学员加深学习印象。"},{img:"/images/valpage/info-new/4.png",title:"为多宝优秀学员提供独家试训机会",sub:"TRYOUT",desc:"不定期提供国内外无畏契约职业电竞俱乐部的试训机会;与国内外无畏契约联赛战队近距离沟通,了解联赛动态。"},],d=function(e){var t=e.info,n=e.direction,a=void 0===n?"left":n;return(0,r.jsxs)("div",{className:"relative mx-4 md:mx-0",children:[(0,r.jsx)("div",{children:(0,r.jsx)(s.Z,{src:t.img,className:u()("rounded w-[640px] drop-shadow-[0_4px_10px_rgba(0,0,0,0.3)] object-contain",{"ml-auto":"right"===a})})}),(0,r.jsxs)("div",{className:u()("absolute top-1/2 -translate-y-1/2",{"md:right-0":"left"===a,"md:left-0":"right"===a}),children:[t.sub?(0,r.jsxs)("div",{className:"w-[288px] md:w-[460px] bg-brand/70 px-5 py-5 space-y-3",children:[(0,r.jsx)("h3",{className:"text-[#FAFAFA] text-base md:text-[1.5rem] font-medium leading-[1.5rem]",children:t.title}),(0,r.jsx)("p",{className:"text-[#FAFAFA] opacity-70 text-xs md:text-xl leading-none",children:t.sub})]}):(0,r.jsx)("div",{className:"w-[288px] md:w-[460px] bg-brand/70 px-5 md:py-[2.625rem] space-y-3 py-5",children:(0,r.jsx)("h3",{className:"text-[#FAFAFA] text-base md:text-[1.5rem] font-medium leading-[1.5rem]",children:t.title})}),(0,r.jsx)("div",{className:u()("hidden md:block md:w-[280px] text-[#6D6D6D] md:text-base mt-10 bg-white/70 p-2",{"md:ml-auto":"left"
1===a}),children:t.desc})]}),(0,r.jsx)("div",{className:u()("block md:hidden text-[#6d6d6d] opacity-70 text-xs md:text-base mt-6 leading-[18px]"),children:t.desc})]})},m=function(){return(0,r.jsxs)("section",{className:"container mx-auto",children:[(0,r.jsx)("h2",{className:"text-[#AB8C30] text-lg md:text-[34px] leading-[49px] tracking-wide text-center font-bold",children:"“ 多宝无畏契约训练营 ”"}),(0,r.jsx)("p",{className:"text-[#333] mt-[2px] md:mt-[2px] leading-[29px] text-center text-xs md:text-[20px]",children:"只有在多宝才能体会到的特色游戏课程"}),(0,r.jsx)("div",{className:"md:max-w-[1000px] mx-auto space-y-8 md:space-y-20 mt-5 md:mt-[60px]",children:l.map(function(e,t){return(0,r.jsx)(d,{info:e,direction:t%2?"right":"left"},t)})})]})},p=!0,x=function(){return(0,r.jsx)(i.H,{children:(0,r.jsxs)("main",{className:"bg-white min-h-screen space-y-8 md:space-y-20 pb-20",children:[(0,r.jsx)(o,{}),(0,r.jsx)(m,{}),(0,r.jsx)("div",{className:"mt-8 md:mt-20 mb-8 md:mb-20",children:(0,r.jsx)(a.Q,{gameCode:"valorant",title:"“ 多宝无畏契约训练营特训课程 ”"})})]})})}},75348:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(67294),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},i=r.forwardRef(function(e,t){var n=e.label,i=e.helpText,s=e.checkboxProps;return r.createElement("div",{className:"flex items-start"},r.createElement("div",{className:"flex items-center h-5"},r.createElement("input",a({ref:t},s,{type:"checkbox",className:"focus:ring-gold-500 h-4 w-4 text-gold border-gray-300 rounded"}))),r.createElement("div",{className:"ml-3 text-sm"},n&&r.createElement("label",{htmlFor:null==s?void 0:s.id,className:"font-medium text-gray-700"},n),i&&r.createElement("p",{className:"text-gray-500"},i)))});i.displayName="Checkbox"}},function(e){e.O(0,[7507,7165,9774,2888,179],function(){return e(e.s=39066)}),_N_E=e.O()}]);
2//# 

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.