PageSourceSearch

https://www.copymonitor.jp/assets/usePostResultPdfByFileSrlMutation-t3cCUL-s.js

js copymonitor.jp collected 2026-10-04 21:57:08 UTC 1,750 bytes, 2 lines download raw bytes

1import{p as d,u}from"./vendor-react-DEvm0Yd7.js";import{u as f}from"./useCustomMutation-0u9fi4tz.js";import{c as p}from"./services-CAE4f3Xe.js";import{i as l}from"./api-B6flkda-.js";import{u as m}from"./useWithLoading-NPnK_OQq.js";import{A as b}from"./apiPaths-CEGqu0tW.js";import"./i18n-BDV6UXRb.js";import{g}from"./getMidTypeFromPath-D-txVVnt.js";import{b1 as y}from"./vendor-BNeuUSwa.js";try{(function(){var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="b3672c8c-fbb9-49ac-a673-0c2842b05b1f",t._sentryDebugIdIdentifier="sentry-dbid-b3672c8c-fbb9-49ac-a673-0c2842b05b1f")})()}catch{}const P=t=>{const e=document.createElement("textarea");return e.innerHTML=t,e.value},I=["post-result-pdf"],w=t=>{const{toast:e}=d(),{t:r}=u(),{startLoading:a,stopLoading:n}=m();return f({mutationKey:I,mutationFn:p.postResultPdfByFileSrl,onMutate:o=>{a()},onSettled:()=>{n()},onSuccess:(o,{fileSrl:s,body:i})=>{const c=new URLSearchParams({l:y.language,type:i.type,filename:P(o.filename)});document.location.href=`/api${b.COPYKILLER.RESULT_PDF(g(),s)}?${c.toString()}`},onError:o=>{if(l(o))switch(o.response?.data?.code){case 7:e({variant:"error",description:r("API오류.E7.토스트.설명")});break;case 8:e({variant:"error",description:r("API오류.E8.메시지")});break;case 2002:e({variant:"error",description:r("API오류.E2002.토스트.설명")});break;case 2009:e({variant:"error",description:r("API오류.E2009.토스트.설명")});break;default:e({description:r("API오류.디폴트"),variant:"error"})}}})};export{P as d,w as u};
2//# sourceMappingURL=usePostResultPdfByFileSrlMutation-t3cCUL-s.js.map

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.