1import{Z as e,f as a,a6 as o,a7 as r,r as s,z as t,i as d}from"./lqeRYg_U.js";async function u(u,c=!1,i){var l,n,v;const{GET:m}=e(),f=a((()=>o.includes(u??0))),p=a((()=>r.includes(u??0))),h=s(!f.value),y=s(!1);if(f.value||p.value){const{error:e}=await m("/api/jkf-forum/v1/ArticleCheckMassagePostPermission",{params:{query:{boardId:u,checkType:0,actionType:c?1:0,...i?{articleId:i}:{}}},retry:!1,throwErrors:e=>{const a=e.data;return"403509"!==a.code&&"403510"!==a.code&&"429500"!==a.code&&"403506"!==a.code&&"403512"!==a.code}}),a=null==(n=null==(l=e.value)?void 0:l.data)?void 0:n.code;"403509"===a||"403510"===a?(t({statusCode:403,data:{code:a,errorMode:"modal"}}),h.value=!1):"429500"===a?(t({statusCode:429,data:{code:"429500",errorMode:"modal"}}),h.value=!1):"403506"===a?(null==(v=d("toast:open"))||v.emit({message:"æ¨æ²ææ¬é卿¤çåé²è¡ç¼æ",status:"error"}),h.value=!1):"403512"===a?(h.value=!1,y.value=!0):h.value=!0}return{isRedirect:h,isShowPhoneVerification:y}}export{u};
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.