best way to save what you love
Svelte collaborationdownloaderinstagramjavascriptmusicredditsocial-mediasoundcloudsveltetiktoktwittertypescriptvideovimeovkwebappyoutubeyoutube-downloader
web: remove the early prototype of cutout functionality
wukkoadaf502d665d
diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex aa25fcaa..15707176 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -100,9 +100,6 @@ importers:'@fontsource/redaction-10':specifier: ^5.0.2version: 5.0.2- '@huggingface/transformers':- specifier: ^3.2.4- version: 3.2.4'@imput/libav.js-remux-cli':specifier: ^6.5.7version: 6.5.7@@ -204,9 +201,6 @@ packages:resolution: {integrity: sha512-F9rL9k9Xjf5blCz8HsJRO4diy111cayL2vkY2XE4r4t3n0yPXVYy3KD3nJ1qbrSn9743UWSXH4IwuCa/HWlGFw==}engines: {node: '>=6.0.0'}- '@emnapi/[email protected]':- resolution: {integrity: sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==}-'@esbuild/[email protected]':resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==}engines: {node: '>=12'}@@ -540,13 +534,6 @@ packages:'@fontsource/[email protected]':resolution: {integrity: sha512-PODxYvb06YrNxdUBGcygiMibpgcZihzmvkmlX/TQAA2F7BUU/anfSKQi/VnLdJ/8LIK81/bUY+i7L/GP27FkVw==}- '@huggingface/[email protected]':- resolution: {integrity: sha512-F2FvuIc+w1blGsaqJI/OErRbWH6bVJDCBI8Rm5D86yZ2wlwrGERsfIaru7XUv9eYC3DMP3ixDRRtF0h6d8AZcQ==}- engines: {node: '>=18'}-- '@huggingface/[email protected]':- resolution: {integrity: sha512-XLXoC2lj72SXCftDh1ptmYwCrjDtky+WT7W51jZERU4jbKzEXz0qHC+vCZwGX+Q7nTFogdwIGU2SuaCG9XKBLA==}-'@humanfs/[email protected]':resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==}engines: {node: '>=18.18.0'}@@ -567,111 +554,6 @@ packages:resolution: {integrity: sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==}engines: {node: '>=18.18'}- '@img/[email protected]':- resolution: {integrity: sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- cpu: [arm64]- os: [darwin]-- '@img/[email protected]':- resolution: {integrity: sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- cpu: [x64]- os: [darwin]-- '@img/[email protected]':- resolution: {integrity: sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcOL72O01QxQsWi761svJ/ev9xEDg==}- cpu: [arm64]- os: [darwin]-- '@img/[email protected]':- resolution: {integrity: sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ==}- cpu: [x64]- os: [darwin]-- '@img/[email protected]':- resolution: {integrity: sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==}- cpu: [arm64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==}- cpu: [arm]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-u7Wz6ntiSSgGSGcjZ55im6uvTrOxSIS8/dgoVMoiGE9I6JAfU50yH5BoDlYA1tcuGS7g/QNtetJnxA6QEsCVTA==}- cpu: [s390x]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==}- cpu: [x64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA==}- cpu: [arm64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw==}- cpu: [x64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- cpu: [arm64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- cpu: [arm]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- cpu: [s390x]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- cpu: [x64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- cpu: [arm64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- cpu: [x64]- os: [linux]-- '@img/[email protected]':- resolution: {integrity: sha512-ykUW4LVGaMcU9lu9thv85CbRMAwfeadCJHRsg2GmeRa/cJxsVY9Rbd57JcMxBkKHag5U/x7TSBpScF4U8ElVzg==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- cpu: [wasm32]-- '@img/[email protected]':- resolution: {integrity: sha512-T36PblLaTwuVJ/zw/LaH0PdZkRz5rd3SmMHX8GSmR7vtNSP5Z6bQkExdSK7xGWyxLw4sUknBuugTelgw2faBbQ==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- cpu: [ia32]- os: [win32]-- '@img/[email protected]':- resolution: {integrity: sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- cpu: [x64]- os: [win32]-'@imput/[email protected]':resolution: {integrity: sha512-41ld+R5aEwllKdbiszOoCf+K614/8bnuheTZnqjgZESwDtX07xu9O8GO0m/Cpsm7O2CyqPZa1qzDx6BZVO15DQ==}@@ -682,10 +564,6 @@ packages:resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}engines: {node: '>=12'}- '@isaacs/[email protected]':- resolution: {integrity: sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==}- engines: {node: '>=18.0.0'}-'@jridgewell/[email protected]':resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==}engines: {node: '>=6.0.0'}@@ -739,36 +617,6 @@ packages:'@polka/[email protected]':resolution: {integrity: sha512-j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==}- '@protobufjs/[email protected]':- resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==}-- '@protobufjs/[email protected]':- resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==}-- '@protobufjs/[email protected]':- resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==}-- '@protobufjs/[email protected]':- resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==}-- '@protobufjs/[email protected]':- resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==}-- '@protobufjs/[email protected]':- resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==}-- '@protobufjs/[email protected]':- resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==}-- '@protobufjs/[email protected]':- resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==}-- '@protobufjs/[email protected]':- resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==}-- '@protobufjs/[email protected]':- resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==}-'@redis/[email protected]':resolution: {integrity: sha512-HG2DFjYKbpNmVXsa0keLHp/3leGJz1mjh09f2RLGGLQZzSHpkmZWuwJbAvo3QcRY8p80m5+ZdXZdYOSBLlp7Cg==}peerDependencies:@@ -1135,10 +983,6 @@ packages:resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}engines: {node: '>= 8.10.0'}- resolution: {integrity: sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==}- engines: {node: '>=18'}-resolution: {integrity: sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==}engines: {node: '>=0.10.0'}@@ -1153,13 +997,6 @@ packages:resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}- resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==}-- resolution: {integrity: sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==}- engines: {node: '>=12.5.0'}-resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}engines: {node: '>= 6'}@@ -1260,10 +1097,6 @@ packages:resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==}engines: {node: '>=8'}- resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==}- engines: {node: '>=8'}-resolution: {integrity: sha512-maua5KUiapvEwiEAe+XnlZ3Rh0GD+qI1J/nb9vrJc3muPXvcF/8gXYTWF76+5DAqHyDUtOIImEuo0YKE9mshVw==}@@ -1442,9 +1275,6 @@ packages:resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==}engines: {node: '>=16'}- resolution: {integrity: sha512-c7CZADjRcl6j0PlvFy0ZqXQ67qSEZfrVPynmnL+2zPc+NtMvrF8Y0QceMo7QqnSPc7+uWjUIAbvCQ5WIKlMVdQ==}-resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==}@@ -1526,9 +1356,6 @@ packages:resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}- resolution: {integrity: sha512-Y8T4vYhEfwJOTbouREvG+3XDsjr8E3kIr7uf+JZ0BYloFsttiHU0WfvANVsR7TxNUJa/WpCnw/Ino/p+DeBhBQ==}-resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}engines: {node: '>=8'}@@ -1604,9 +1431,6 @@ packages:resolution: {integrity: sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA==}engines: {node: '>= 10'}- resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==}-resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}engines: {node: '>=8'}@@ -1703,9 +1527,6 @@ packages:resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==}- resolution: {integrity: sha512-qtzLbJE8hq7VabR3mISmVGtoXP8KGc2Z/AT8OuqlYD7JTR3oqrgwdjnk07wpj1twXxYmgDXgoKVWUG/fReSzHg==}-resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==}@@ -1790,19 +1611,10 @@ packages:resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==}engines: {node: '>=16 || 14 >=14.17'}- resolution: {integrity: sha512-umcy022ILvb5/3Djuu8LWeqUa8D68JaBzlttKeMWen48SjabqS3iY5w/vzeMzMUNhLDifyhbOwKDSznB1vvrwg==}- engines: {node: '>= 18'}-resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==}hasBin: true- resolution: {integrity: sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==}- engines: {node: '>=10'}- hasBin: true-resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}engines: {node: '>=4'}@@ -1867,19 +1679,6 @@ packages:resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==}engines: {node: '>=6'}- resolution: {integrity: sha512-YiU0s0IzYYC+gWvqD1HzLc46Du1sXpSiwzKb63PACIJr6LfL27VsXSXQvt68EzD3V0D5Bc0vyJTjmMxp0ylQiw==}-- resolution: {integrity: sha512-U4DGq/dZiboIEK0Zv1KUuWJesJ/txUALpWSXwI8kqOCSxe8GrI65xfRFeMbqYFhPVGAWZPsBpT1zo1s4ksrlrg==}-- resolution: {integrity: sha512-di/I4HDXRw+FLgq+TyHmQEDd3cEp9iFFZm0r4uJ1Wd7b/WE1VXtKWo8yemex347c6GNF/3Pv86ZfPhIWxORr0w==}- os: [win32, darwin, linux]-- resolution: {integrity: sha512-neeC9mv1sFWjUFrTaDl7enufNxbtSSTwR5V2i35ga4yXWS6r1MbpUwWwD1X+VKANujbSG8M5pk/ohRAOm2QhMQ==}-resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}engines: {node: '>= 0.8.0'}@@ -1950,9 +1749,6 @@ packages:resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==}engines: {node: '>= 6'}- resolution: {integrity: sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg==}-resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==}engines: {node: '>= 18'}@@ -1995,10 +1791,6 @@ packages:resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==}engines: {node: '>=0.4.0'}- resolution: {integrity: sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw==}- engines: {node: '>=12.0.0'}-resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==}engines: {node: '>= 0.10'}@@ -2056,10 +1848,6 @@ packages:deprecated: Rimraf versions prior to v4 are no longer supportedhasBin: true- resolution: {integrity: sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==}- hasBin: true-resolution: {integrity: sha512-DOmrlGSXNk1DM0ljiQA+i+o0rSLhtii1je5wgk60j49d1jHT5YYttBv1iWOnYSTG+fZZESUOSNiAl89SIet+Cg==}engines: {node: '>=18.0.0', npm: '>=8.0.0'}@@ -2104,10 +1892,6 @@ packages:resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}- resolution: {integrity: sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}-resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}engines: {node: '>=8'}@@ -2127,9 +1911,6 @@ packages:resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}engines: {node: '>=14'}- resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==}-resolution: {integrity: sha512-BPwJGUeDaDCHihkORDchNyyTvWFhcusy1XMmhEVTQTwGeybFbp8YEmB+njbPnth1FibULBSBVwCQni25XlCUDg==}engines: {node: '>=18'}@@ -2300,10 +2081,6 @@ packages:resolution: {integrity: sha512-qHbwjyFXAAekKUXxl70lhDiBYJ3e7XM7kQwu7LV3F0pHMenKox+VcZPZkRkhdmL/wNJD3NmrMGnL7161kdecUQ==}- resolution: {integrity: sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==}- engines: {node: '>=18'}-resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}engines: {node: '>=0.8'}@@ -2505,10 +2282,6 @@ packages:resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}- resolution: {integrity: sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==}- engines: {node: '>=18'}-resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}engines: {node: '>=10'}@@ -2541,11 +2314,6 @@ snapshots:http-response-object: 3.0.2parse-cache-control: 1.0.1- '@emnapi/[email protected]':- dependencies:- tslib: 2.6.3- optional: true-'@esbuild/[email protected]':optional: true@@ -2738,15 +2506,6 @@ snapshots:'@fontsource/[email protected]': {}- '@huggingface/[email protected]': {}-- '@huggingface/[email protected]':- dependencies:- '@huggingface/jinja': 0.3.2- onnxruntime-node: 1.20.1- onnxruntime-web: 1.21.0-dev.20241205-d27fecd3d3- sharp: 0.33.5-'@humanfs/[email protected]': {}'@humanfs/[email protected]':@@ -2760,81 +2519,6 @@ snapshots:'@humanwhocodes/[email protected]': {}- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-darwin-arm64': 1.0.4- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-darwin-x64': 1.0.4- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linux-arm64': 1.0.4- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linux-arm': 1.0.5- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linux-s390x': 1.0.4- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linux-x64': 1.0.4- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linuxmusl-arm64': 1.0.4- optional: true-- '@img/[email protected]':- optionalDependencies:- '@img/sharp-libvips-linuxmusl-x64': 1.0.4- optional: true-- '@img/[email protected]':- dependencies:- '@emnapi/runtime': 1.3.1- optional: true-- '@img/[email protected]':- optional: true-- '@img/[email protected]':- optional: true-'@imput/[email protected]': {}'@imput/[email protected]':@@ -2850,10 +2534,6 @@ snapshots:wrap-ansi: 8.1.0wrap-ansi-cjs: [email protected]- '@isaacs/[email protected]':- dependencies:- minipass: 7.1.2-'@jridgewell/[email protected]':dependencies:'@jridgewell/set-array': 1.2.1@@ -2905,29 +2585,6 @@ snapshots:'@polka/[email protected]': {}- '@protobufjs/[email protected]': {}-- '@protobufjs/[email protected]': {}-- '@protobufjs/[email protected]': {}-- '@protobufjs/[email protected]': {}-- '@protobufjs/[email protected]':- dependencies:- '@protobufjs/aspromise': 1.1.2- '@protobufjs/inquire': 1.1.0-- '@protobufjs/[email protected]': {}-- '@protobufjs/[email protected]': {}-- '@protobufjs/[email protected]': {}-- '@protobufjs/[email protected]': {}-- '@protobufjs/[email protected]': {}-'@redis/[email protected](@redis/[email protected])':dependencies:'@redis/client': 1.6.0@@ -3311,8 +2968,6 @@ snapshots:optionalDependencies:fsevents: 2.3.3- [email protected]: {}-optional: true@@ -3330,16 +2985,6 @@ snapshots:- dependencies:- color-name: 1.1.4- simple-swizzle: 0.2.2-- dependencies:- color-convert: 2.0.1- color-string: 1.9.1-@@ -3417,8 +3062,6 @@ snapshots:- [email protected]: {}-@@ -3691,8 +3334,6 @@ snapshots:flatted: 3.3.1keyv: 4.5.4- [email protected]: {}-@@ -3780,8 +3421,6 @@ snapshots:- [email protected]: {}-@@ -3848,8 +3487,6 @@ snapshots:- [email protected]: {}-dependencies:binary-extensions: 2.3.0@@ -3930,8 +3567,6 @@ snapshots:- [email protected]: {}-@@ -3995,17 +3630,10 @@ snapshots:- dependencies:- minipass: 7.1.2- rimraf: 5.0.10-dependencies:minimist: 1.2.8- [email protected]: {}-@@ -4052,24 +3680,6 @@ snapshots:dependencies:mimic-fn: 2.1.0- [email protected]: {}-- [email protected]: {}-- dependencies:- onnxruntime-common: 1.20.1- tar: 7.4.3-- dependencies:- flatbuffers: 1.12.0- guid-typescript: 1.0.9- long: 5.2.4- onnxruntime-common: 1.21.0-dev.20241205-6ed77cc374- platform: 1.3.6- protobufjs: 7.4.0-dependencies:deep-is: 0.1.4@@ -4131,8 +3741,6 @@ snapshots:- [email protected]: {}-dependencies:lilconfig: 3.1.2@@ -4155,21 +3763,6 @@ snapshots:- dependencies:- '@protobufjs/aspromise': 1.1.2- '@protobufjs/base64': 1.1.2- '@protobufjs/codegen': 2.0.4- '@protobufjs/eventemitter': 1.1.0- '@protobufjs/fetch': 1.1.0- '@protobufjs/float': 1.0.2- '@protobufjs/inquire': 1.1.0- '@protobufjs/path': 1.1.2- '@protobufjs/pool': 1.1.0- '@protobufjs/utf8': 1.1.0- '@types/node': 20.14.14- long: 5.2.4-dependencies:forwarded: 0.2.0@@ -4227,10 +3820,6 @@ snapshots:dependencies:glob: 7.2.3- dependencies:- glob: 10.4.5-dependencies:'@types/estree': 1.0.6@@ -4314,32 +3903,6 @@ snapshots:- dependencies:- color: 4.2.3- detect-libc: 2.0.3- semver: 7.6.3- optionalDependencies:- '@img/sharp-darwin-arm64': 0.33.5- '@img/sharp-darwin-x64': 0.33.5- '@img/sharp-libvips-darwin-arm64': 1.0.4- '@img/sharp-libvips-darwin-x64': 1.0.4- '@img/sharp-libvips-linux-arm': 1.0.5- '@img/sharp-libvips-linux-arm64': 1.0.4- '@img/sharp-libvips-linux-s390x': 1.0.4- '@img/sharp-libvips-linux-x64': 1.0.4- '@img/sharp-libvips-linuxmusl-arm64': 1.0.4- '@img/sharp-libvips-linuxmusl-x64': 1.0.4- '@img/sharp-linux-arm': 0.33.5- '@img/sharp-linux-arm64': 0.33.5- '@img/sharp-linux-s390x': 0.33.5- '@img/sharp-linux-x64': 0.33.5- '@img/sharp-linuxmusl-arm64': 0.33.5- '@img/sharp-linuxmusl-x64': 0.33.5- '@img/sharp-wasm32': 0.33.5- '@img/sharp-win32-ia32': 0.33.5- '@img/sharp-win32-x64': 0.33.5-dependencies:shebang-regex: 3.0.0@@ -4357,10 +3920,6 @@ snapshots:- dependencies:- is-arrayish: 0.3.2-dependencies:'@polka/url': 1.0.0-next.25@@ -4507,15 +4066,6 @@ snapshots:optional: true- dependencies:- '@isaacs/fs-minipass': 4.0.1- chownr: 3.0.0- minipass: 7.1.2- minizlib: 3.0.1- mkdirp: 3.0.1- yallist: 5.0.0-dependencies:thenify: 3.3.1@@ -4690,8 +4240,6 @@ snapshots:optional: true- [email protected]: {}-diff --git a/web/i18n/en/tabs.json b/web/i18n/en/tabs.jsonindex 21408038..3cab9cc0 100644--- a/web/i18n/en/tabs.json+++ b/web/i18n/en/tabs.json@@ -4,6 +4,5 @@"updates": "updates","donate": "donate","about": "about",- "remux": "remux",- "cutout": "cut out"+ "remux": "remux"}diff --git a/web/package.json b/web/package.jsonindex 6018ff45..9f51e006 100644--- a/web/package.json+++ b/web/package.json@@ -28,7 +28,6 @@"@fontsource-variable/noto-sans-mono": "^5.0.20","@fontsource/ibm-plex-mono": "^5.0.13","@fontsource/redaction-10": "^5.0.2",- "@huggingface/transformers": "^3.2.4","@imput/libav.js-remux-cli": "^6.5.7","@imput/version-info": "workspace:^","@sveltejs/adapter-static": "^3.0.6",diff --git a/web/src/components/sidebar/Sidebar.svelte b/web/src/components/sidebar/Sidebar.svelteindex 9ac9832f..e799b015 100644--- a/web/src/components/sidebar/Sidebar.svelte+++ b/web/src/components/sidebar/Sidebar.svelte@@ -14,8 +14,6 @@import IconHeart from "@tabler/icons-svelte/IconHeart.svelte";import IconInfoCircle from "@tabler/icons-svelte/IconInfoCircle.svelte";- import IconCut from "@tabler/icons-svelte/IconCut.svelte";-let screenWidth: number;let settingsLink = defaultNavPage("settings");let aboutLink = defaultNavPage("about");@@ -33,7 +31,6 @@<div id="sidebar-actions" class="sidebar-inner-container"><SidebarTab name="save" path="/" icon={IconDownload} /><SidebarTab name="remux" path="/remux" icon={IconRepeat} beta />- <SidebarTab name="cutout" path="/cutout" icon={IconCut} beta /></div><div id="sidebar-info" class="sidebar-inner-container"><SidebarTab name="settings" path={settingsLink} icon={IconSettings} />diff --git a/web/src/components/sidebar/SidebarTab.svelte b/web/src/components/sidebar/SidebarTab.svelteindex 9307d7a4..df421738 100644--- a/web/src/components/sidebar/SidebarTab.svelte+++ b/web/src/components/sidebar/SidebarTab.svelte@@ -9,7 +9,7 @@export let beta = false;- const firstTabPage = ["save", "cutout", "remux", "settings"];+ const firstTabPage = ["save", "remux", "settings"];let tab: HTMLElement;diff --git a/web/src/lib/workers/removebg.ts b/web/src/lib/workers/removebg.tsdeleted file mode 100644index 012dd468..00000000--- a/web/src/lib/workers/removebg.ts+++ /dev/null@@ -1,70 +0,0 @@-import { AutoModel, AutoProcessor, RawImage } from "@huggingface/transformers";--const models = {- light: {- id: "briaai/RMBG-1.4",- input: "input",- },- heavy: {- id: "onnx-community/BiRefNet_lite",- input: "input_image",- }-}--export const maskImage = (image: RawImage, mask: RawImage) => {- const canvas = new OffscreenCanvas(image.width, image.height);- const ctx = canvas.getContext('2d');-- if (!ctx) return;-- ctx.drawImage(image.toCanvas(), 0, 0);-- const pixelData = ctx.getImageData(0, 0, image.width, image.height);- for (let i = 0; i < mask.data.length; ++i) {- pixelData.data[4 * i + 3] = mask.data[i];- }- ctx.putImageData(pixelData, 0, 0);-- return canvas.transferToImageBitmap();-}--const removeImageBackground = async (file: File) => {- const image = await RawImage.fromBlob(file);-- const model_type = "light";- const model = await AutoModel.from_pretrained(models[model_type].id, {- progress_callback: (progress) => {- console.log(progress);- },- device: "wasm",- dtype: "fp32",- });-- console.log("we're past model loading!");-- const processor = await AutoProcessor.from_pretrained(models[model_type].id, {});-- console.log("now also past processor!");-- if (model && processor) {- const { pixel_values } = await processor(image);- console.log("got pixel values");- const { output } = await model({ [models[model_type].input]: pixel_values });- console.log("got output");- const mask = await RawImage.fromTensor(output[0].mul(255).to('uint8')).resize(image.width, image.height);- console.log("got the mask");-- self.postMessage({- cobaltRemoveBgWorker: {- result: maskImage(image, mask),- }- });- }-}--self.onmessage = async (event: MessageEvent) => {- if (event.data.cobaltRemoveBgWorker) {- await removeImageBackground(event.data.cobaltRemoveBgWorker.file);- self.close();- }-}diff --git a/web/src/routes/cutout/+page.svelte b/web/src/routes/cutout/+page.sveltedeleted file mode 100644index 92da94d9..00000000--- a/web/src/routes/cutout/+page.svelte+++ /dev/null@@ -1,194 +0,0 @@-<script lang="ts">- import RemoveBgWorker from "$lib/workers/removebg?worker";-- import { downloadFile } from "$lib/download";-- import Skeleton from "$components/misc/Skeleton.svelte";- import DropReceiver from "$components/misc/DropReceiver.svelte";- import FileReceiver from "$components/misc/FileReceiver.svelte";-- let draggedOver = false;- let files: FileList | undefined;- let imageContainer: HTMLElement;- let canvas: HTMLCanvasElement;-- let state: "empty" | "busy" | "done" = "empty";-- let worker: Worker;-- const renderImageToCanvas = (result: ImageBitmap) => {- if (canvas && result) {- canvas.width = result.width;- canvas.height = result.height;- canvas- .getContext("bitmaprenderer")- ?.transferFromImageBitmap(result);- }- };-- const processImage = async () => {- if (!files) return;-- state = "busy";- worker = new RemoveBgWorker();-- worker.postMessage({- cobaltRemoveBgWorker: { file: files[0] },- });-- worker.onmessage = async (event) => {- console.log("event received by removebg page:", event);- const eventData = event.data.cobaltRemoveBgWorker;- if (eventData.result) {- state = "done";- renderImageToCanvas(eventData.result);- }- };-- worker.onerror = (e) => {- state = "empty";- console.error("bg removal worker exploded:", e);- worker.terminate();- };- };-- const exportImage = async () => {- if (!files) return;-- const resultBlob = await new Promise<Blob>((resolve, reject) => {- canvas.toBlob((blob) => {- if (blob) resolve(blob);- else reject();- }, "image/png");- });-- return await downloadFile({- file: new File([resultBlob], `${files[0].name} (cutout).png`, {- type: "image/png",- }),- });- };-</script>--<DropReceiver bind:files bind:draggedOver id="cutout-container">- {#if state === "empty"}- <FileReceiver- bind:draggedOver- bind:files- acceptTypes={["image/*"]}- acceptExtensions={["jpg", "png", "webp"]}- />- {#if files}- <div class="button-row">- <button on:click={processImage}>process files</button>- <button- on:click={() => {- files = undefined;- }}- >- clear imported files- </button>- </div>- {/if}- <div class="subtext early-note">- this is a very early & basic proof-of-concept, nothing about this feature is final or complete. please don't share or talk about it.- </div>- {/if}-- {#if state === "busy"}- <div>thinking very hard rn...</div>- {/if}-- {#if state === "done"}- <div>thought a lot, here's what i got:</div>- {/if}-- {#if ["busy", "done"].includes(state)}- <div id="image-preview" bind:this={imageContainer} class={state}>- {#if state === "busy"}- <Skeleton width="100%" height="100%" class="big" />- {/if}- <canvas bind:this={canvas}></canvas>- </div>- {/if}-- {#if state === "busy"}- <div class="button-row">- <button- on:click={() => {- worker?.terminate();- files = undefined;- state = "empty";- }}- >- cancel- </button>- </div>- {/if}-- {#if state === "done"}- <div class="button-row">- <button- on:click={() => {- state = "empty";- files = undefined;- }}- >- start over- </button>- <button on:click={exportImage}>save the result</button>- </div>- {/if}-</DropReceiver>--<style>- :global(#cutout-container) {- display: flex;- justify-content: center;- align-items: center;- flex-direction: column;- width: 100%;- gap: 18px;- }-- .early-note {- max-width: 400px;- text-align: center;- }-- #image-preview {- background: var(--button);- display: flex;- flex-direction: column;- justify-content: center;- align-items: center;- width: 720px;- height: 480px;- overflow: hidden;- border-radius: var(--border-radius);- box-shadow: var(--button-box-shadow);- }-- #image-preview canvas {- display: none;- }-- #image-preview.done canvas {- display: block;- }-- .button-row {- display: flex;- flex-direction: row;- gap: 6px;- }-- button {- padding: 12px 24px;- border-radius: 200px;- }-- :global(canvas) {- height: 100%;- }-</style>diff --git a/web/src/routes/cutout/+page.ts b/web/src/routes/cutout/+page.tsdeleted file mode 100644index a3d15781..00000000--- a/web/src/routes/cutout/+page.ts+++ /dev/null@@ -1 +0,0 @@-export const ssr = false;diff --git a/web/vite.config.ts b/web/vite.config.tsindex 831b9ba8..8d6745cc 100644--- a/web/vite.config.ts+++ b/web/vite.config.ts@@ -89,9 +89,6 @@ export default defineConfig({rollupOptions: {output: {manualChunks: (id) => {- if (id.includes('huggingface/transformers'))- return 'hf_transformers';-if (id.includes('/web/i18n') && id.endsWith('.json')) {const lang = id.split('/web/i18n/')?.[1].split('/')?.[0];if (lang) {