PageSourceSearch

https://elysiatools.com/_next/static/chunks/app/%5Blang%5D/docs/layout-7642e9b12373b7b4.js

js elysiatools.com collected 2026-10-02 00:16:42 UTC 12,426 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7812],{4106:(e,t,r)=>{"use strict";r.d(t,{FD:()=>b,MY:()=>l,PJ:()=>o,Wl:()=>s,XP:()=>f,_x:()=>a,bL:()=>d,po:()=>c,ql:()=>u,wO:()=>i,yL:()=>g});var n=r(70636);function a(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function l(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function o(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function i(e,t){return t===e||t.startsWith(`${e}/`)}function s(e,t,r){return"string"==typeof e?e:e[t]||r}function c(e){let t=function(){try{return"true"===n.env._next_intl_trailing_slash}catch{return!1}}(),[r,...a]=e.split("#"),l=a.join("#"),o=r;if("/"!==o){let e=o.endsWith("/");t&&!e?o+="/":!t&&e&&(o=o.slice(0,-1))}return l&&(o+="#"+l),o}function u(e,t){let r=c(e),n=c(t);return(function(e){let t=e.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return RegExp(`^${t}$`)})(r).test(n)}function f(e,t){return"never"!==t.mode&&t.prefixes?.[e]||d(e)}function d(e){return"/"+e}function p(e){return e.includes("[[...")}function h(e){return e.includes("[...")}function m(e){return e.includes("[")}function x(e,t){let r=e.split("/"),n=t.split("/"),a=Math.max(r.length,n.length);for(let e=0;e<a;e++){let t=r[e],a=n[e];if(!t&&a)return -1;if(t&&!a)return 1;if(t||a){if(!m(t)&&m(a))return -1;if(m(t)&&!m(a))return 1;if(!h(t)&&h(a))return -1;if(h(t)&&!h(a))return 1;if(!p(t)&&p(a))return -1;if(p(t)&&!p(a))return 1}}return 0}function b(e){return e.sort(x)}function g(e){return"function"==typeof e.then}},18955:(e,t,r)=>{"use strict";r.d(t,{c:()=>l});var n=r(51567);function a(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let l=a(0,n.c3);a(0,n.kc)},26541:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});let n=(0,r(84497).A)({locales:["en","zh","de","fr","es","pt","ru"],defaultLocale:"en",localePrefix:"always",localeDetection:!0})},34663:(e,t,r)=>{"use strict";r.d(t,{N_:()=>l,a8:()=>i,rd:()=>s});var n=r(55251),a=r(26541);let{Link:l,redirect:o,usePathname:i,useRouter:s,getPathname:c}=(0,n.A)(a.D)},55251:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(20063),a=r(12115),l=r.t(a,2),o=r(51567),i=l["use".trim()],s=r(4106),c=r(64707),u=r(85919),f=r(95155),d=r(57301);function p(e){let{Link:t,config:r,getPathname:l,...p}=function(e,t){var r,l,o;let d={...r=t||{},localePrefix:"object"==typeof(o=r.localePrefix)?o:{mode:o||"always"},localeCookie:!!((l=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof l&&l},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},p=d.pathnames,h=(0,a.forwardRef)(function({href:t,locale:r,...n},a){let l,o;"object"==typeof t?(l=t.pathname,o=t.params):l=t;let u=(0,s._x)(t),h=e(),x=(0,s.yL)(h)?i(h):h,b=u?m({locale:r||x,href:null==p?l:{pathname:l,params:o},forcePrefix:null!=r||void 0}):l;return(0,f.jsx)(c.default,{ref:a,href:"object"==typeof t?{...t,pathname:b}:b,locale:r,localeCookie:d.localeCookie,...n})});function m(e){let t,{forcePrefix:r,href:n,locale:a}=e;return null==p?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,u.Zn)(n.query))):t=n:t=(0,u.FP)({locale:a,...(0,u.TK)(n),pathnames:d.pathnames}),(0,u.x3)(t,a,d,r)}function x(e){return function(t,...r){return e(m(t),...r)}}return{config:d,Link:h,redirect:x(n.redirect),permanentRedirect:x(n.permanentRedirect),getPathname:m}}(o.Ym,e);return{...p,Link:t,usePathname:function(){let e=function(e){let t=(0,n.usePathname)(),r=(0,o.Ym)();return(0,a.useMemo)(()=>{if(!t)return t;let n=t,a=(0,s.XP)(r,e.localePrefix);if((0,s.wO)(a,t))n=(0,s.MY)(t,a);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,s.bL)(r);(0,s.wO)(e,t)&&(n=(0,s.MY)(t,e))}return n},[e.localePrefix,r,t])}(r),t=(0,o.Ym)();return(0,a.useMemo)(()=>e&&r.pathnames?(0,u.aM)(t,e,r.pathnames):e,[t,e])},useRouter:function(){let e=(0,n.useRouter)(),t=(0,o.Ym)(),i=(0,n.usePathname)();return(0,a.useMemo)(()=>{function n(e){return function(n,a){let{locale:o,...s}=a||{},c=[l({href:n,locale:o||t,forcePrefix:null!=o||void 0})];Object.keys(s).length>0&&c.push(s),(0,d.A)(r.localeCookie,i,t,o),e(...c)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[t,i,e])},getPathname:l}}},57301:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(85919);function a(e,t,r,a){if(!e||a===r||null==a||!t)return;let l=(0,n.DT)(t),{name:o,...i}=e;i.path||(i.path=""!==l?l:"/");let s=`${o}=${a};`;for(let[e,t]of Object.entries(i))s+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(s+="="+t),s+=";";document.cookie=s}},60149:(e,t,r)=>{Promise.resolve().then(r.bind(r,71029))},64707:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var n=r(52619),a=r(20063),l=r(12115),o=r(51567),i=r(57301),s=r(95155),c=(0,l.forwardRef)(function(e,t){let{href:r,locale:l,localeCookie:c,onClick:u,prefetch:f,...d}=e,p=(0,o.Ym)(),h=null!=l&&l!==p,m=(0,a.usePathname)();return h&&(f=!1),(0,s.jsx)(n,{ref:t,href:r,hrefLang:h?l:void 0,onClick:function(e){(0,i.A)(c,m,p,l),u&&u(e)},prefetch:f,...d})})},71029:(e,t,r)=>{"use strict";r.d(t,{DocsShell:()=>f});var n=r(95155),a=r(71847);let l=(0,a.A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);var o=r(86651);let i=(0,a.A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);var s=r(18955),c=r(12115),u=r(34663);function f(e){let{navigation:t,children:r}=e;return(0,n.jsxs)("div",{className:"min-h-screen bg-canvas text-ink",children:[(0,n.jsx)(d,{navigation:t}),(0,n.jsx)("main",{className:"mx-auto w-full max-w-6xl px-4 pb-24 pt-10 sm:px-6 lg:px-10",children:r}),(0,n.jsx)(h,{})]})}function d(e){let{navigation:t}=e,r=(0,s.c)("docs"),a=(0,u.rd)(),[f,d]=(0,c.useState)("");return(0,n.jsx)("header",{className:"sticky top-0 z-40 border-b border-black/8 bg-paper/90 backdrop-blur",children:(0,n.jsxs)("div",{className:"mx-auto flex w-full max-w-6xl flex-wrap items-center gap-3 px-4 py-3 sm:px-6 lg:px-10",children:[(0,n.jsxs)(u.N_,{href:"/docs",className:"flex shrink-0 items-center gap-2 rounded-2xl px-2 py-1.5 transition hover:bg-white",children:[(0,n.jsx)(l,{className:"h-5 w-5 text-ember"}),(0,n.jsx)("span",{className:"font-display text-lg leading-none text-ink",children:"Elysia Tools Docs"})]}),(0,n.jsxs)("form",{onSubmit:function(e){e.preventDefault();let t=f.trim();a.push(t?{pathname:"/docs/search",query:{q:t}}:{pathname:"/docs/search"})},className:"relative order-last w-full min-w-0 sm:order-none sm:ml-2 sm:w-auto 
1sm:flex-1 sm:max-w-md",children:[(0,n.jsx)(o.A,{className:"pointer-events-none absolute left-4 top-1/2 h-4 w-4 -translate-y-1/2 text-black/40"}),(0,n.jsx)("input",{value:f,onChange:e=>d(e.target.value),placeholder:r("searchPlaceholder"),className:"h-11 w-full rounded-full border border-black/10 bg-white px-4 pl-11 text-sm text-ink outline-none transition placeholder:text-black/40 focus:border-cobalt"})]}),(0,n.jsxs)("div",{className:"ml-auto flex items-center gap-2",children:[(0,n.jsx)(p,{currentLang:t.currentLang,availableLanguages:t.availableLanguages}),(0,n.jsxs)(u.N_,{href:"/",className:"inline-flex items-center gap-1.5 rounded-full border border-black/10 bg-white px-3.5 py-2 text-xs font-semibold uppercase tracking-[0.14em] text-ink/70 transition hover:border-cobalt/30 hover:text-ink",children:[(0,n.jsx)(i,{className:"h-3.5 w-3.5"}),(0,n.jsx)("span",{className:"hidden sm:inline",children:r("backToSite")})]})]})]})})}function p(e){let{currentLang:t,availableLanguages:r}=e,a=(0,s.c)(),l=r.find(e=>e.code===t);return(0,n.jsxs)("details",{className:"group relative",children:[(0,n.jsx)("summary",{className:"inline-flex cursor-pointer list-none items-center gap-1.5 rounded-full border border-black/10 bg-white px-3.5 py-2 text-xs font-semibold uppercase tracking-[0.14em] text-ink/70 transition hover:border-cobalt/30 hover:text-ink [&::-webkit-details-marker]:hidden",children:(0,n.jsx)("span",{children:(null==l?void 0:l.label)||t})}),(0,n.jsxs)("div",{className:"absolute right-0 z-50 mt-2 w-44 rounded-2xl border border-black/8 bg-white p-2 shadow-panel",children:[(0,n.jsx)("div",{className:"mb-1 px-2 py-1 text-[10px] font-semibold uppercase tracking-[0.18em] text-black/40",children:a("ui.language")}),(0,n.jsx)("div",{className:"max-h-72 overflow-y-auto",children:r.map(e=>{let r=e.code===t;return(0,n.jsx)(u.N_,{href:"/docs",locale:e.code,className:"block rounded-lg px-3 py-2 text-sm transition ".concat(r?"bg-ink text-paper":"text-ink/75 hover:bg-canvas"),children:e.label},e.code)})})]})]})}function h(){let e=(0,s.c)("docs"),t=new Date().getFullYear();return(0,n.jsx)("footer",{className:"border-t border-black/8 bg-canvas/70",children:(0,n.jsxs)("div",{className:"mx-auto flex max-w-6xl flex-col items-center justify-between gap-3 px-4 py-6 text-xs text-black/48 sm:flex-row sm:px-6 lg:px-10",children:[(0,n.jsxs)("p",{children:["\xa9 ",t," Elysia Tools. ",e("footerNote")]}),(0,n.jsxs)("nav",{className:"flex flex-wrap items-center justify-center gap-x-5 gap-y-2",children:[(0,n.jsx)(u.N_,{href:"/",className:"transition hover:text-ink",children:e("backToSite")}),(0,n.jsx)(u.N_,{href:"/tools",className:"transition hover:text-ink",children:e("browseTools")})]})]})})}},71847:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(12115);let a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},l=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:c="",children:u,iconNode:f,...d}=e;return(0,n.createElement)("svg",{ref:t,...o,width:a,height:a,stroke:r,strokeWidth:s?24*Number(i)/Number(a):i,className:l("lucide",c),...!u&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(d)&&{"aria-hidden":"true"},...d},[...f.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(u)?u:[u]])}),s=(e,t)=>{let r=(0,n.forwardRef)((r,o)=>{let{className:s,...c}=r;return(0,n.createElement)(i,{ref:o,iconNode:t,className:l("lucide-".concat(a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),s),...c})});return r.displayName=a(e),r}},84497:(e,t,r)=>{"use strict";function n(e){return e}r.d(t,{A:()=>n})},85919:(e,t,r)=>{"use strict";r.d(t,{DT:()=>s,FP:()=>
1o,TK:()=>a,Zn:()=>l,aM:()=>i,x3:()=>c});var n=r(4106);function a(e){return"string"==typeof e?{pathname:e}:e}function l(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function o({pathname:e,locale:t,params:r,pathnames:a,query:o}){function i(e){let i,s=a[e];return s?(i=(0,n.Wl)(s,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),i=i.replace(RegExp(r,"g"),n)}),i=new URL(i=i.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):i=e,i=(0,n.po)(i),o&&(i+=l(o)),i}if("string"==typeof e)return i(e);{let{pathname:t,...r}=e;return{...r,pathname:i(t)}}}function i(e,t,r){let a=(0,n.FD)(Object.keys(r)),l=decodeURI(t);for(let t of a){let a=r[t];if("string"==typeof a){if((0,n.ql)(a,l))return t}else if((0,n.ql)((0,n.Wl)(a,e,t),l))return t}return t}function s(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function c(e,t,r,a){let l,{mode:o}=r.localePrefix;if(void 0!==a)l=a;else if((0,n._x)(e)){let e=r.domains?.find(e=>e.locales.includes(t)),n=e?.localePrefix||o;"always"===n?l=!0:"as-needed"===n&&(l=e?t!==e.defaultLocale:t!==r.defaultLocale)}return l?(0,n.PJ)((0,n.XP)(t,r.localePrefix),e):e}},86651:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(71847).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])}},e=>{e.O(0,[7394,2619,8441,1255,7358],()=>e(e.s=60149)),_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.