PageSourceSearch

https://hoocs.ai/websitecms/_next/static/chunks/24.4da8744af0e416eb.js

js hoocs.ai collected 2026-10-05 05:33:41 UTC 3,647 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24,2689,2884],{52689:(e,t,a)=>{a.d(t,{Fr:()=>o,lA:()=>i,md:()=>r});var r=function(e){return e[e.Ipcook=1]="Ipcook",e[e.Kookeey=2]="Kookeey",e[e.HoocsAi=3]="HoocsAi",e[e.SolarMatcher=4]="SolarMatcher",e}({}),o=function(e){return e[e.Ipcook=1]="Ipcook",e[e.HoocsAi=2]="HoocsAi",e[e.HoocsAiTranscriptLibrary=3]="HoocsAiTranscriptLibrary",e[e.IpcookIntegration=4]="IpcookIntegration",e[e.IpcookPartner=5]="IpcookPartner",e[e.SolarMatcherBlog=6]="SolarMatcherBlog",e}({}),i=function(e){return e[e.Ipcook=1]="Ipcook",e[e.HoocsAiBlog=2]="HoocsAiBlog",e[e.HoocsAiTranscriptLibrary=3]="HoocsAiTranscriptLibrary",e[e.IpcookIntegration=4]="IpcookIntegration",e[e.IpcookPartner=5]="IpcookPartner",e[e.SolarMatcherBlog=6]="SolarMatcherBlog",e}({})},60319:(e,t,a)=>{a.d(t,{n:()=>c,v:()=>i});var r=a(25984),o=a(67624);let i=()=>"/websitecms",n=r.A.create({baseURL:i()});n.interceptors.request.use(e=>(!e.data||e.data instanceof FormData||(e.data=(0,o.nE)(e.data)),e.params&&(e.params=(0,o.nE)(e.params)),e),e=>Promise.reject(e)),n.interceptors.response.use(e=>(e.data&&(e.data=(0,o.tc)(e.data)),e),e=>Promise.reject(e));let c=n},67624:(e,t,a)=>{a.d(t,{fX:()=>r,nE:()=>function e(t){if(null===t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map(t=>e(t));let a={};return Object.keys(t).forEach(r=>{a[r.replace(/([A-Z])/g,"_$1").toLowerCase()]=e(t[r])}),a},tc:()=>function e(t){if(null===t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map(t=>e(t));let a={};return Object.keys(t).forEach(r=>{a[r.replace(/_(\w)/g,(e,t)=>t.toUpperCase())]=e(t[r])}),a}});function r(e){return e.trim().replace(/\s+/g,"-").toLowerCase()}},72884:(e,t,a)=>{a.d(t,{N6:()=>d,QU:()=>l,zE:()=>m,GE:()=>u,Eg:()=>k,D4:()=>I,B0:()=>h,yv:()=>c,CS:()=>y,kE:()=>g,a4:()=>f,ql:()=>w,cQ:()=>s,V6:()=>p});var r=a(60319),o=a(43908),i=a.n(o);let n=async e=>new Promise((t,a)=>{let r=new FileReader;r.onload=r=>{var o;let i=new Image;i.onload=()=>{let r=document.createElement("canvas");r.width=i.width,r.height=i.height;let o=r.getContext("2d");if(!o)return void a(Error("无法创建 canvas 上下文"));o.drawImage(i,0,0,i.width,i.height);let n=e.type,c=.92;if("image/png"===e.type){let e=o.getImageData(0,0,r.width,r.height).data,t=!1;for(let a=3;a<e.length;a+=4)if(e[a]<255){t=!0;break}t?c=1:(n="image/jpeg",c=.92)}r.toBlob(r=>r?r.size>=e.size?void t(e):void t(new File([r],e.name,{type:n,lastModified:Date.now()})):void a(Error("图片压缩失败")),n,c)},i.onerror=()=>{a(Error("图片加载失败"))},i.src=null==(o=r.target)?void 0:o.result},r.onerror=()=>{a(Error("文件读取失败"))},r.readAsDataURL(e)}),c=e=>r.n.get("/api/templates/",{params:e}),s=e=>r.n.put("/api/templates/".concat(e.id),e),p=async e=>{let{file:t}=e,a=await n(t),o=new FormData;return o.append("file",a),r.n.post("/api/images/upload",o,{headers:{"Content-Type":"multipart/form-data"}})},l=e=>r.n.get("/api/categories/",{params:e}),d=e=>r.n.post("/api/articles/",e),g=e=>r.n.put("/api/articles/".concat(e.id),e),u=e=>r.n.get("/api/articles",{params:e}),m=e=>r.n.get("/api/articles/".concat(e)),h=e=>{let{name:t,...a}=e;return r.n.get("/api/relative/".concat(t),{params:a})},f=(e,t)=>r.n.put("/api/article/status/".concat(e,"?status=").concat(t)),k=e=>r.n.get("/api/cards/",{params:e,paramsSerializer:e=>i().stringify(e,{arrayFormat:"repeat"})}),y=e=>r.n.post("/api/faq/".concat(e.faqId,"/likes"),{action:e.action}),I=e=>r.n.post("/api/faq/list_likes",e),w=e=>r.n.post("/api/articles/".concat(e,"/view"))},88027:(e,t,a)=>{a.d(t,{A:()=>r});let r=(0,a(25070).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])}}]);

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.