PageSourceSearch

https://www.softorbits.de/static/js/6055.bb2f97ab.chunk.js

js softorbits.de collected 2026-10-09 04:12:08 UTC 5,383 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunksoftorbits=self.webpackChunksoftorbits||[]).push([[6055],{6055:(e,t,s)=>{s.r(t),s.d(t,{default:()=>C});var n=s(9205),a=(s(3523),s(4847)),i=s(5608),l=s(7302),r=s(7706),o=s(5622),c=s(8143),d=s(2144),u=s(5571),h=s(1758),p=s(1731);const m=function(){const[e,t]=(0,a.L4)(i.Ah),s=(0,a.vc)(i.Zi),l=(e,t,s)=>(0,p.jsx)("div",{style:{display:"flex",gap:"12px"},children:(0,p.jsx)(d.A,{content:s,children:(0,p.jsx)("a",{className:"model-desc-link",href:s,target:"_blank",rel:"noreferrer noopener",children:(0,p.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,p.jsx)("path",{d:"M7.49933 0.25C3.49635 0.25 0.25 3.49593 0.25 7.50024C0.25 10.703 2.32715 13.4206 5.2081 14.3797C5.57084 14.446 5.70302 14.2222 5.70302 14.0299C5.70302 13.8576 5.69679 13.4019 5.69323 12.797C3.67661 13.235 3.25112 11.825 3.25112 11.825C2.92132 10.9874 2.44599 10.7644 2.44599 10.7644C1.78773 10.3149 2.49584 10.3238 2.49584 10.3238C3.22353 10.375 3.60629 11.0711 3.60629 11.0711C4.25298 12.1788 5.30335 11.8588 5.71638 11.6732C5.78225 11.205 5.96962 10.8854 6.17658 10.7043C4.56675 10.5209 2.87415 9.89918 2.87415 7.12104C2.87415 6.32925 3.15677 5.68257 3.62053 5.17563C3.54576 4.99226 3.29697 4.25521 3.69174 3.25691C3.69174 3.25691 4.30015 3.06196 5.68522 3.99973C6.26337 3.83906 6.8838 3.75895 7.50022 3.75583C8.1162 3.75895 8.73619 3.83906 9.31523 3.99973C10.6994 3.06196 11.3069 3.25691 11.3069 3.25691C11.7026 4.25521 11.4538 4.99226 11.3795 5.17563C11.8441 5.68257 12.1245 6.32925 12.1245 7.12104C12.1245 9.9063 10.4292 10.5192 8.81452 10.6985C9.07444 10.9224 9.30633 11.3648 9.30633 12.0413C9.30633 13.0102 9.29742 13.7922 9.29742 14.0299C9.29742 14.2239 9.42828 14.4496 9.79591 14.3788C12.6746 13.4179 14.75 10.7025 14.75 7.50024C14.75 3.49593 11.5036 0.25 7.49933 0.25Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})})})}),m=()=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(u.A,{title:"Steps",value:"".concat(e.ldmSteps),desc:"Large steps result in better result, but more time-consuming",onValue:e=>{const s=0===e.length?0:parseInt(e,10);t(e=>(0,n.A)((0,n.A)({},e),{},{ldmSteps:s}))}}),(0,p.jsx)(h.A,{className:"sub-setting-block",title:"Sampler",input:(0,p.jsx)(o.A,{width:80,value:e.ldmSampler,options:Object.values(r.wh),onChange:e=>{return s=e,void t(e=>(0,n.A)((0,n.A)({},e),{},{ldmSampler:s}));var s}})})]});return(0,p.jsx)(h.A,{className:"model-setting-block",title:"Model",titleSuffix:(()=>{switch(e.model){case i.O6.LAMA:return l(0,0,"https://github.com/saic-mdal/lama");case i.O6.LDM:return l(0,0,"https://github.com/CompVis/latent-diffusion");case i.O6.ZITS:return l(0,0,"https://github.com/DQiaole/ZITS_inpainting");case i.O6.MAT:return l(0,0,"https://github.com/fenglinglwb/MAT");case i.O6.FCF:return l(0,0,"https://github.com/SHI-Labs/FcF-Inpainting");case i.O6.SD15:return l(0,0,"https://github.com/CompVis/stable-diffusion");case i.O6.SD2:return l(0,0,"https://github.com/Stability-AI/stablediffusion");case i.O6.Mange:return l(0,0,"https://github.com/msxie92/MangaInpainting");case i.O6.CV2:return l(0,0,"https://docs.opencv.org/4.6.0/df/d3d/tutorial_py_inpainting.html");case i.O6.PAINT_BY_EXAMPLE:return l(0,0,"https://github.com/Fantasy-Studio/Paint-by-Example");default:return(0,p.jsx)(p.Fragment,{})}})(),input:(0,p.jsx)(o.A,{value:e.model,options:Object.values(i.O6),onChange:e=>{return s=e,void t(e=>(0,n.A)((0,n.A)({},e),{},{model:s}));var s},disabled:s}),optionDesc:(()=>{switch(e.model){case i.O6.LAMA:return;case i.O6.LDM:return m();case i.O6.ZITS:return(0,p.jsx)("div",{children:(0,p.jsx)(h.A,{className:"sub-setting-block",title:"Wireframe",desc:"Enable edge and line detect",input:(0,p.jsx)(c.d,{checked:e.zitsWireframe,onCheckedChange:e=>{t(t=>(0,n.A)((0,n.A)({},t),{},{zitsWireframe:e}))},children:(0,p.jsx)(c.p,{})})})});case i.O6.MAT:return;case i.O6.FCF:return(0,p.jsx)("div",{children:"FcF only support fixed size(512x512) image input. Lama Cleaner will take care of resize and crop process, it still recommended applies to small defects."});case i.O6.SD15:case i.O6.SD2:case i.O6.PAINT_BY_EXAMPLE:case i.O6.Mange:return;case i.O6.CV2:return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(u.A,{title:"Radius",value:"".concat(e.cv2Radius),desc:"Radius of a circular neighborhood of each point inpainted that is considered by the algorithm.",onValue:e=>{const s=0===e.length?0:parseInt(e,10);t(e=>(0,n.A)((0,n.A)({},e),{},{cv2Radius:s}))}}),(0,p.jsx)(h.A,{className:"sub-setting-block",title:"Flag",desc:"Inpainting method",input:(0,p.jsx)(o.A,{width:140,value:e.cv2Flag,options:Object.values(i._C),onChange:e=>{t(t=>(0,n.A)((0,n.A)({},t),{},{cv2Flag:e}))}})})]});default:return(0,p.jsx)(p.Fragment,{})}})()})},g=()=>{const[e,t]=(0,a.L4)(i.Ah);return(0,p.jsx)(h.A,{title:"Download Mask",desc:"Download inpainting result and mask",input:(0,p.jsx)(c.d,{checked:e.downloadMask,onCheckedChange:e=>{t(t=>(0,n.A)((0,n.A)({},t),{},{downloadMask:e}))},children:(0,p.jsx)(c.p,{})})})};var A=s(6893);function C(e){const{onClose:t}=e,[s,o]=(0,a.L4)(i.Ah),c=(0,a.vc)(i.L4);return(0,A.A)("s",()=>{o(e=>(0,n.A)((0,n.A)({},e),{},{show:!e.show}))},{},[]),(0,p.jsxs)(l.A,{onClose:()=>{o(e=>(0,n.A)((0,n.A)({},e),{},{show:!1})),t()},title:"Settings",className:"modal-setting",show:s.show,children:[(0,p.jsx)(g,{}),(0,p.jsx)(m,{}),c?(0,p.jsx)(p.Fragment,{}):(0,p.jsx)(r.Ay,{})]})}}}]);

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.