1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{95178:function(e,t,n){var Symbol=n(68237).Symbol;e.exports=Symbol},94541:function(e,t,n){var Symbol=n(95178),s=n(42450),r=n(45315),i=Symbol?Symbol.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?s(e):r(e)}},95157:function(e,t,n){var s=n(87503),r=/^\s+/;e.exports=function(e){return e?e.slice(0,s(e)+1).replace(r,""):e}},31809:function(e,t,n){var s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=s},42450:function(e,t,n){var Symbol=n(95178),s=Object.prototype,r=s.hasOwnProperty,i=s.toString,l=Symbol?Symbol.toStringTag:void 0;e.exports=function(e){var t=r.call(e,l),n=e[l];try{e[l]=void 0;var s=!0}catch(e){}var a=i.call(e);return s&&(t?e[l]=n:delete e[l]),a}},45315:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},68237:function(e,t,n){var s=n(31809),r="object"==typeof self&&self&&self.Object===Object&&self,i=s||r||Function("return this")();e.exports=i},87503:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},6130:function(e,t,n){var s=n(66912),r=n(61775),i=n(10353),l=Math.max,a=Math.min;e.exports=function(e,t,n){var o,c,u,f,d,m,x=0,p=!1,h=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var n=o,s=c;return o=c=void 0,x=t,f=e.apply(s,n)}function g(e){var n=e-m,s=e-x;return void 0===m||n>=t||n<0||h&&s>=u}function j(){var e,n,s,i=r();if(g(i))return w(i);d=setTimeout(j,(e=i-m,n=i-x,s=t-e,h?a(s,u-n):s))}function w(e){return(d=void 0,v&&o)?b(e):(o=c=void 0,f)}function y(){var e,n=r(),s=g(n);if(o=arguments,c=this,m=n,s){if(void 0===d)return x=e=m,d=setTimeout(j,t),p?b(e):f;if(h)return clearTimeout(d),d=setTimeout(j,t),b(m)}return void 0===d&&(d=setTimeout(j,t)),f}return t=i(t)||0,s(n)&&(p=!!n.leading,u=(h="maxWait"in n)?l(i(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),y.cancel=function(){void 0!==d&&clearTimeout(d),x=0,o=m=c=d=void 0},y.flush=function(){return void 0===d?f:w(r())},y}},66912:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},88028:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},51734:function(e,t,n){var s=n(94541),r=n(88028);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==s(e)}},61775:function(e,t,n){var s=n(68237);e.exports=function(){return s.Date.now()}},10353:function(e,t,n){var s=n(95157),r=n(66912),i=n(51734),l=0/0,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return l;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=s(e);var n=o.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?l:+e}},12252:function(e,t,n){Promise.resolve().then(n.bind(n,46030)),Promise.resolve().then(n.bind(n,55312)),Promise.resolve().then(n.bind(n,85183)),Promise.resolve().then(n.t.bind(n,41066,23))},8542:function(e,t,n){"use strict";n.d(t,{$i:function(){return c},B_:function(){return d},CP:function(){return o},Kl:function(){return u},M5:function(){return f},U9:function(){return i},Zg:function(){return a},Zn:function(){return m},cT:function(){return l},z3:function(){return r}});var s=n(24857);let r=e=>s.Z.post("/v1/verify-codes/phone",e),i=()=>s.Z.get("/v1/banners"),l=e=>s.Z.post("/v1/user/upload",e),a=(e,t,n)=>s.Z.put(e,{data:t,headers:{data:t,"Content-Type":n}}),o=e=>s.Z.get("/v1/categories",e),c=()=>s.Z.get("/v1/user_levels"),u=()=>s.Z.get("/v1/hot_search"),f=e=>s.Z.get("/v1/search_counts",e),d=e=>s.Z.post("/v1/search_counts",e),m=(e,t,n)=>s.Z.post("/v1/".concat(t,"/").concat(e,"/reports"),n)},5059:function(e,t,n){"use strict";n.d(t,{PK:function(){return i},VB:function(){return r},po:function(){return a},uE:function(){return l}});var s=n(24857);let r=e=>s.Z.get("/v1/discussions",e),i=e=>s.Z.get("/v1/user/discussions",e),l=e=>s.Z.post("/v1/user/discussions",e),a=e=>s.Z.del("/v1/user/discussions/".concat(e))},60552:function(e,t,n){"use strict";n.d(t,{CT:function(){return o},Pj:function(){return c},Zn:function(){return u},bF:function(){return l},bQ:function(){return r},sA:function(){return i},sT:function(){return a}});var s=n(24857);let r=e=>s.Z.post("/v1/monster/random",e),i=e=>s.Z.get("/v1/monster/attributes",e),l=e=>s.Z.get("/v1/monsters",e),a=e=>s.Z.get("/v1/monster/books",e),o=e=>s.Z.get("/v1/monster/books/".concat(e)),c=e=>s.Z.get("/v1/monsters/".concat(e)),u=(e,t)=>
1s.Z.post("/v1/monsters/".concat(e,"/reports"),t)},46030:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var s=n(38766),r=n(61263),i=n(37709),l=n.n(i),a=n(93140),o=n(64442);n(20406);var c=n(26321),u=n.n(c),f=n(8542);function d(e){let[t,n]=(0,r.useState)([]);return(0,r.useEffect)(()=>{(0,f.U9)().then(e=>{n(e.data)})},[]),(0,s.jsx)(a.tq,{modules:[o.tl,o.pt],className:"w-full h-[550px]",autoplay:{delay:3e3,disableOnInteraction:!1},pagination:{clickable:!0,type:"bullets",renderBullet:(e,t)=>'<div class="'+t+'"><span class="progressbar-text">'+(e+1).toString().padStart(2,"0")+'</span><span class="progressbar"></span></div>'},children:t.map((e,t)=>(0,s.jsx)(a.o5,{children:(0,s.jsxs)(l(),{className:"w-full h-full block bg-black bg-opacity-50 relative cursor-pointer",href:e.link,target:"_blank",children:[(0,s.jsx)(u(),{src:e.img,alt:e.title,layout:"fill",className:"w-full h-full object-cover"}),(0,s.jsx)("div",{className:"w-full h-[340px] absolute bottom-0 left-0 bg-banner-text-bg"}),(0,s.jsxs)("div",{className:"absolute pc:left-[21.3%] mobile:left-0 mobile:px-5 bottom-[90px] flex flex-col w-full font-SHSBold",children:[(0,s.jsx)("div",{className:"text-white text-[40px] font-SHSBold pc:w-[1000px] mobile:w-full text-wrap",children:e.title}),(0,s.jsx)("div",{className:"text-white text-base font-SHSMedium mt-2.5 pc:w-[1000px] w-full text-wrap",children:e.desc||""})]})]})},"banner_item_".concat(t)))})}},55312:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var s=n(38766),r=n(75363),i=n(5059),l=n(61263),a=n(17964);function o(){let e=(0,a.useRouter)(),[t,n]=(0,l.useState)([]),o=async()=>{let e=await (0,i.VB)({}),t=await (0,i.VB)({sort:"prime"}),s=await (0,i.VB)({sort:"comment"}),r=[{title:"ææ°ä¸»é¢",type:"comment",children:[...e.data]},{title:"ç²¾å主é¢",type:"prime",children:[...t.data]},{title:"æç主é¢",type:"hot",children:[...s.data]}];n(r)};return(0,l.useEffect)(()=>{o()},[]),(0,s.jsxs)("div",{className:"w-full relative py-[54px] flex flex-col items-center",children:[(0,s.jsx)("div",{className:"pc:w-[1200px] mobile:w-full mobile:px-3 flex flex-col items-start",children:(0,s.jsxs)("div",{className:"w-full flex justify-between items-end mb-[20px]",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-4 items-center font-SHSBold",children:[(0,s.jsx)("div",{className:"text-3xl font-bold text-black-72",children:"讨论"}),(0,s.jsx)("div",{className:"opacity-50 text-sm font-bold uppercase text-black-72",children:"Discussions"})]}),(0,s.jsx)("div",{className:"flex flex-col items-start mb-[10px]",children:(0,s.jsx)("a",{className:"text-sm font-medium text-black-72 font-SHSMedium",href:"/discuss",children:"æ¥çæ´å¤"})})]})}),(0,s.jsx)("div",{className:"pc:w-[1200px] mobile:w-full mobile:px-3 pc:grid pc:grid-cols-3 gap-[15px] mobile:flex mobile:flex-col",children:t.map((t,n)=>(0,s.jsxs)("div",{className:"relative flex w-full flex-col rounded-lg",children:[(0,s.jsxs)("div",{className:"w-full h-[492px] bg-[#f9f9f9] flex flex-col gap-6 items-start pt-8 pb-6",children:[(0,s.jsxs)("div",{className:"flex flex-row ml-20 gap-2 w-3/5 items-start",children:[(0,s.jsx)("img",{src:"https://file.rendit.io/n/hFj4EABzbXnlXZaTS1Cb.svg",alt:"Element3",id:"Element3",className:"mt-3 w-16"}),(0,s.jsx)("div",{className:"text-xl font-bold leading-[28px] text-black-72 font-SHSBold",children:t.title}),(0,s.jsx)("img",{src:"https://file.rendit.io/n/jxOmmSzvQwLNAamNrJLK.svg",alt:"Element2",id:"Element2",className:"mt-3 w-16"})]}),(0,s.jsx)("div",{className:"flex flex-col justify-between w-full h-[380px] items-start font-SHSMedium",children:(0,s.jsx)("div",{className:"flex flex-col gap-4 w-full items-start px-[22px]",children:t.children.map((e,n)=>(0,s.jsx)(r.O,{href:"/discuss/".concat(e.id),children:(0,s.jsxs)("div",{className:"flex flex-row gap-2 w-full items-center pl-1",children:[(0,s.jsx)("div",{className:"flex flex-row gap-1 items-center",children:"prime"===t.type&&(0,s.jsx)("div",{className:"text-center text-xs font-bold leading-[16px] text-[#881ef2] bg-[rgba(136,_30,_242,_0.1)] flex flex-row w-6 h-6 items-center justify-center rounded",children:"ç²¾"})}),(0,s.jsx)("div",{className:"text-sm font-medium text-black-72 mt-px flex-1",children:e.title})]})},"discuss_item_child_".concat(n)))})})]}),(0,s.jsx)("div",{className:"text-center cursor-pointer text-sm font-bold text-white bg-[#232323] relative flex flex-row justify-center w-full h-8 leading-8 items-start rounded-lg",onClick:()=>{e.push("/discuss?sort=".concat(t.type))},children:"æ¥çæ´å¤"})]},"discuss_item_".concat(n)))})]})}},85183:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var s=n(38766),r=n(60552),i=n(61263),l=n(6130),a=n.n(l),o=n(26321),c=n.n(o);function u(e){let{name:t,cover_img:n}=e;return(0,s.jsxs)("div",{className:"relative w-full h-full",children:[(0,s.jsx)("div",{className:"absolute top-0 left-[20px] w-[58px] h-[155px] bg-monster-tag bg-no-repeat bg-contain bg-center flex items-center justify-center z-10",children:(0,s.jsx)("div",{className:"text-[#6F4608] font-bold leading-[1.1rem] text-base vertical-text tracking-[3px] max-h-[114px] flex items-center justify-center -translate-y-2.5 ".concat(t&&(null==t?void 0:t.length)>6?"text-sm":""),children:t})}),(0,s.jsx)(c(),{src:n||"/assets/images/home/monster_card_bg.jpg",alt:"妿ª",width:229,height:376,className:"w-[229px] h-[376px] object-cover"})]})}var f=n(37709),d=n.n(f);function m(e){let{id:t,name:n,summary:r,show:i}=e;return(0,s.jsxs)(d(),{href:"/monster/".concat(t),className:"absolute top-0 left-0 w-full h-full bg-black-80 transform transition-opacity duration-300 z-10 ".concat(i?"opacity-100":"opacity-0"),target:"_blank",children:[(0,s.jsx)("div",{className:"absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2 w-[212px] h-[353px] bg-[url(/assets/images/home/monster_border.png)] bg-contain"}),(0,s.jsxs)("div",{className:"px-9 flex gap-3 pt-[100px]",children:[(0,s.jsx)("div",{className:"vertical-text tracking-[3px] text-2xl font-SHSBold text-white",children:n}),(0,s.jsx)("div",{className:"text-sm leading-normal font-SHSMedium text-white-72 text-ellipsis overflow-hidden line-clamp-5",children:r})]}),(0,s.jsx)("div",{className:"absolute bottom-16 left-1/2 -translate-x-1/2 w-[94px] h-[30px] bg-[url(/assets/images/home/monster_detail_btn.png)] bg-center bg-contain cursor-pointer"})]})}function x(e){let{id:t,name:n,cover_img:r,summary:l}=e,[o,f]=(0,i.useState)(!1),[d,x]=(0,i.useState)(!1),[p,h]=(0,i.useState)({id:0,summary:""}),[v,b]=(0,i.useState)(null),g=()=>{v?(clearTimeout(v),b(null)):b(setTimeout(()=>{f(!0)},200))},j=()=>{v&&(clearTimeout(v),b(null)),f(!1)};return(0,i.useEffect)(()=>{setTimeout(()=>{h({id:t,name:n,cover_img:r,summary:l}),setTimeout(()=>{x(!1)},250)},p.id?250:0),x(!0)},[t]),(0,s.jsxs)("div",{className:"relative h-full flex-shrink-0 w-[230px] bg-white rounded-[14px] overflow-hidden transform transition-transform duration-500 ".concat(d?"rotate-y-180":""," cursor-pointer"),onMouseEnter:g,onMouseLeave:a()(j,100),onTouchStart:g,onTouchEnd:a()(j,100),children:[d?(0,s.jsx)(c(),{src:"/assets/images/painting_default.jpg",alt:"妿ª",width:229,height:376,className:"w-[229px] h-[376px] object-cover"}):(0,s.jsx)(u,{cover_img:p.cover_img,name:p.name}),(0,s.jsx)(m,{show:o,id:p.id,summary:p.summary,name:p.name})]})}function p(e){let[t,n]=(0,i.useState)([...e.monsters]),l=async()=>{let e=await (0,r.bF)({page:1,per_page:5});n([...e.data])},a=async()=>{let e=await (0,r.bQ)({});n([...e.data])};return(0,i.useEffect)(()=>
1{l()},[]),(0,s.jsxs)("div",{className:"onster w-full relative pb-[100px] flex flex-col items-center pt-12",children:[(0,s.jsx)("img",{src:"/assets/images/home/monster_bg.png",className:"absolute inset-0 w-full h-[134px] object-contain pointer-events-none",alt:""}),(0,s.jsxs)("div",{className:"flex flex-col gap-4 items-center mb-[16px] font-SHSBold",children:[(0,s.jsx)("div",{className:"text-3xl font-bold text-black-72",children:"妿ª"}),(0,s.jsx)("div",{className:"opacity-50 text-sm font-bold uppercase text-black-72",children:"DICTIONARY"})]}),(0,s.jsxs)("div",{className:"pc:max-[1200px] mobile:w-full px-3",children:[(0,s.jsxs)("div",{className:"w-full flex justify-between mb-[28px]",children:[(0,s.jsx)("div",{className:"opacity-0 text-sm font-medium font-SHSMedium",children:"æ¥çæ´å¤"}),(0,s.jsxs)("div",{className:"bg-[url(https://file.rendit.io/n/xnZ7lci7vmX7SlHSL65P.svg)] cursor-pointer select-none active:opacity-60 bg-cover bg-50%_50% bg-blend-normal bg-no-repeat flex flex-row justify-center ml-1 pt-2 gap-1 w-20 h-8 items-start hover:opacity-60",children:[(0,s.jsx)("img",{src:"https://file.rendit.io/n/ACfUmtUXDv8dTbUl1MEy.svg",alt:"Element4",id:"Element4",className:"mt-1 w-3"}),(0,s.jsx)("div",{className:"text-sm text-black-72",onClick:a,children:"æ¢ä¸æ¹"})]}),(0,s.jsx)("div",{className:"flex flex-col items-start",children:(0,s.jsx)("a",{className:"text-sm font-medium text-black-72 font-SHSMedium",href:"/monster",children:"æ¥çæ´å¤"})})]}),(0,s.jsx)("div",{className:"h-[376px] w-full overflow-x-auto flex gap-x-3",children:t.map((e,t)=>(0,s.jsx)(x,{...e},"monster_item_".concat(t)))})]})]})}},24857:function(e,t,n){"use strict";let s=async(e,t)=>{let{method:n,data:s=null,params:r,headers:i}=t,l=new Headers(Object.assign({"Content-Type":"application/json"},i));{let e=localStorage.getItem("token");e&&l.append("Authorization","Bearer ".concat(e))}let a="";if(r){let e=new URLSearchParams;r instanceof URLSearchParams?a="?".concat(r.toString()):(Array.isArray(r)?r.forEach(t=>e.append(t[0],t[1])):Object.entries(r).forEach(t=>{let[n,s]=t;return e.append(n,String(s))}),a="?".concat(e.toString()))}let o={method:n,headers:l,credentials:"same-origin",cache:"no-store"};s&&"GET"!==n&&"DELETE"!==n&&(null===s||"object"!=typeof s||Array.isArray(s)||s instanceof Date||s instanceof ArrayBuffer?o.body=s:o.body=JSON.stringify(s));try{let t=await fetch("".concat(e.startsWith("http")?"":"https://api-web.cbaigui.com").concat(e).concat(a),o),n=null;if(n="application/json"===l.get("Content-Type")&&204!==t.status?await t.json():t,!t.ok)throw Error(n.message||"Something went wrong");return n}catch(e){throw e instanceof Error?e:Error("An unknown error occurred")}};t.Z={get:(e,t)=>s(e,{method:"GET",params:t}),post:(e,t)=>s(e,{method:"POST",data:t}),del:e=>s(e,{method:"DELETE"}),patch:(e,t)=>s(e,{method:"PATCH",data:t}),put:(e,t)=>s(e,{method:"PUT",...t})}},17964:function(e,t,n){e.exports=n(122)},85520:function(e,t,n){"use strict";n.d(t,{Gp:function(){return r},oe:function(){return i}});var s=n(61263);function r(e){return(0,s.forwardRef)(e)}var i=(e,t,n=!0)=>{if(!t)return[e,{}];let s=t.reduce((t,n)=>n in e?{...t,[n]:e[n]}:t,{});if(!n)return[e,s];{let n=Object.keys(e).filter(e=>!t.includes(e)).reduce((t,n)=>({...t,[n]:e[n]}),{});return[n,s]}}}},function(e){e.O(0,[7874,3720,6321,7709,352,3224,447,1744],function(){return e(e.s=12252)}),_N_E=e.O()}]);
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.