PageSourceSearch

https://link365.jp/assets/message-circle-CkV2pRpV.js

js link365.jp collected 2026-10-07 14:08:40 UTC 2,701 bytes, 1 lines download raw bytes

1import{a as e}from"./rolldown-runtime-BYbx6iT9.js";import{i as t,r as n}from"./framework-BpSqSxVs.js";import{t as r}from"./createLucideIcon-RUrIzK4J.js";var i=e(t(),1),a=n(),o;function s(){return window.turnstile?Promise.resolve(window.turnstile):(o||=new Promise((e,t)=>{let n=document.createElement(`script`);n.src=`https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit`;let r=()=>{n.remove(),o=void 0,t(Error(`unavailable`))},i=window.setTimeout(r,15e3);n.async=!0,n.onload=()=>{window.clearTimeout(i),window.turnstile?e(window.turnstile):r()},n.onerror=()=>{window.clearTimeout(i),r()},document.head.appendChild(n)}),o)}function c(){let[e,t]=(0,i.useState)(null),[n,r]=(0,i.useState)(!1),[a,o]=(0,i.useState)(``),[s,c]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let e=!1;return fetch(`/api/requests`,{headers:{Accept:`application/json`}}).then(e=>{if(!e.ok)throw Error();return e.json()}).then(n=>{e||(t(typeof n.turnstileSiteKey==`string`?n.turnstileSiteKey:null),r(!0))}).catch(()=>{e||r(!1)}),()=>{e=!0}},[s]),{siteKey:e,loaded:n,token:a,attempt:s,reset:(0,i.useCallback)(()=>{o(``),c(e=>e+1)},[]),onToken:o,ready:n&&(!e||!!a)}}function l({verification:e,locale:t=`zh`}){let{siteKey:n,loaded:r,attempt:o,reset:c,onToken:l}=e,u=(0,i.useRef)(null),[d,f]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(!n||!u.current)return;let e=!1,r,i;return s().then(a=>{e||!u.current||(i=a,r=i.render(u.current,{sitekey:n,action:`request`,language:t===`ja`?`ja`:`zh-CN`,theme:`light`,size:`flexible`,"response-field":!1,callback:e=>{f(!1),l(e)},"expired-callback":()=>l(``),"timeout-callback":()=>{l(``),f(!0)},"error-callback":()=>{l(``),f(!0)}}))}).catch(()=>{e||(l(``),f(!0))}),()=>{e=!0,l(``),r&&i&&i.remove(r)}},[n,t,o,l]),r&&!n?null:(0,a.jsxs)(`div`,{className:`form-verification`,children:[(0,a.jsx)(`p`,{children:t===`ja`?`送信前に安全確認を行います。入力内容は保持されます。`:`提交前进行安全验证,已填写内容会保留。`}),(0,a.jsx)(`div`,{ref:u}),(!r||d)&&(0,a.jsx)(`p`,{role:`status`,children:t===`ja`?`安全確認を読み込めません。通信環境を確認してください。`:`安全验证暂未完成,请检查网络连接或重新验证。`}),(n||!r)&&(0,a.jsx)(`button`,{type:`button`,onClick:()=>{f(!1),c()},children:t===`ja`?`再検証`:`重新验证`})]})}var u=r(`mail`,[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]),d=r(`message-circle`,[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}]]);export{c as i,u as n,l as r,d as t};

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.