/*
 * ImageToolbox is an image editor for android
 * Copyright (c) 2026 T8RIN (Malik Mukhametzyanov)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * You should have received a copy of the Apache License
 * along with this program.  If not, see <http://www.apache.org/licenses/LICENSE-2.0>.
 */

package com.t8rin.imagetoolbox.core.resources.icons

import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp
import com.t8rin.imagetoolbox.core.resources.Icons

val Icons.Rounded.FolderMatch: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "Rounded.FolderMatch",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 960f,
        viewportHeight = 960f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(230f, 680f)
            quadToRelative(-20f, -24f, -33.5f, -51.5f)
            reflectiveQuadTo(174f, 571f)
            quadToRelative(-5f, -16f, 4f, -28.5f)
            reflectiveQuadToRelative(26f, -15.5f)
            quadToRelative(17f, -3f, 30.5f, 6f)
            reflectiveQuadToRelative(18.5f, 25f)
            quadToRelative(5f, 16f, 12.5f, 30.5f)
            reflectiveQuadTo(283f, 617f)
            quadToRelative(10f, 14f, 21f, 25.5f)
            reflectiveQuadToRelative(24f, 22.5f)
            quadToRelative(13f, 11f, 16.5f, 27f)
            reflectiveQuadToRelative(-4.5f, 30f)
            quadToRelative(-8f, 14f, -24f, 18.5f)
            reflectiveQuadToRelative(-29f, -5.5f)
            quadToRelative(-16f, -12f, -30.5f, -26f)
            reflectiveQuadTo(230f, 680f)
            close()
            moveTo(500f, 880f)
            quadToRelative(-25f, 0f, -42.5f, -17.5f)
            reflectiveQuadTo(440f, 820f)
            verticalLineToRelative(-240f)
            quadToRelative(0f, -25f, 17.5f, -42.5f)
            reflectiveQuadTo(500f, 520f)
            horizontalLineToRelative(88f)
            quadToRelative(15f, 0f, 28.5f, 7f)
            reflectiveQuadToRelative(21.5f, 20f)
            lineToRelative(22f, 33f)
            horizontalLineToRelative(160f)
            quadToRelative(25f, 0f, 42.5f, 17.5f)
            reflectiveQuadTo(880f, 640f)
            verticalLineToRelative(180f)
            quadToRelative(0f, 25f, -17.5f, 42.5f)
            reflectiveQuadTo(820f, 880f)
            lineTo(500f, 880f)
            close()
            moveTo(140f, 440f)
            quadToRelative(-25f, 0f, -42.5f, -17.5f)
            reflectiveQuadTo(80f, 380f)
            verticalLineToRelative(-240f)
            quadToRelative(0f, -25f, 17.5f, -42.5f)
            reflectiveQuadTo(140f, 80f)
            horizontalLineToRelative(88f)
            quadToRelative(15f, 0f, 28.5f, 7f)
            reflectiveQuadToRelative(21.5f, 20f)
            lineToRelative(22f, 33f)
            horizontalLineToRelative(160f)
            quadToRelative(25f, 0f, 42.5f, 17.5f)
            reflectiveQuadTo(520f, 200f)
            verticalLineToRelative(180f)
            quadToRelative(0f, 25f, -17.5f, 42.5f)
            reflectiveQuadTo(460f, 440f)
            lineTo(140f, 440f)
            close()
            moveTo(688f, 360f)
            quadToRelative(-11f, -19f, -25f, -35f)
            reflectiveQuadToRelative(-31f, -30f)
            quadToRelative(-13f, -11f, -16.5f, -27f)
            reflectiveQuadToRelative(4.5f, -30f)
            quadToRelative(8f, -14f, 24f, -18.5f)
            reflectiveQuadToRelative(29f, 5.5f)
            quadToRelative(21f, 16f, 39f, 35f)
            reflectiveQuadToRelative(33f, 41f)
            quadToRelative(21f, 31f, 34.5f, 66.5f)
            reflectiveQuadTo(798f, 441f)
            quadToRelative(2f, 16f, -9.5f, 27.5f)
            reflectiveQuadTo(760f, 480f)
            quadToRelative(-17f, 0f, -28.5f, -11f)
            reflectiveQuadTo(717f, 441f)
            quadToRelative(-4f, -22f, -11f, -42f)
            reflectiveQuadToRelative(-18f, -39f)
            close()
        }
    }.build()
}

val Icons.Outlined.FolderMatch: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "Outlined.FolderMatch",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 960f,
        viewportHeight = 960f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(230f, 680f)
            quadToRelative(-20f, -24f, -33.5f, -51.5f)
            reflectiveQuadTo(174f, 571f)
            quadToRelative(-5f, -16f, 4f, -28.5f)
            reflectiveQuadToRelative(26f, -15.5f)
            quadToRelative(17f, -3f, 30.5f, 6f)
            reflectiveQuadToRelative(18.5f, 25f)
            quadToRelative(5f, 16f, 12.5f, 30.5f)
            reflectiveQuadTo(283f, 617f)
            quadToRelative(10f, 14f, 21f, 25.5f)
            reflectiveQuadToRelative(24f, 22.5f)
            quadToRelative(13f, 11f, 16.5f, 27f)
            reflectiveQuadToRelative(-4.5f, 30f)
            quadToRelative(-8f, 14f, -24f, 18.5f)
            reflectiveQuadToRelative(-29f, -5.5f)
            quadToRelative(-16f, -12f, -30.5f, -26f)
            reflectiveQuadTo(230f, 680f)
            close()
            moveTo(500f, 880f)
            quadToRelative(-25f, 0f, -42.5f, -17.5f)
            reflectiveQuadTo(440f, 820f)
            verticalLineToRelative(-240f)
            quadToRelative(0f, -25f, 17.5f, -42.5f)
            reflectiveQuadTo(500f, 520f)
            horizontalLineToRelative(88f)
            quadToRelative(15f, 0f, 28.5f, 7f)
            reflectiveQuadToRelative(21.5f, 20f)
            lineToRelative(22f, 33f)
            horizontalLineToRelative(160f)
            quadToRelative(25f, 0f, 42.5f, 17.5f)
            reflectiveQuadTo(880f, 640f)
            verticalLineToRelative(180f)
            quadToRelative(0f, 25f, -17.5f, 42.5f)
            reflectiveQuadTo(820f, 880f)
            lineTo(500f, 880f)
            close()
            moveTo(140f, 440f)
            quadToRelative(-25f, 0f, -42.5f, -17.5f)
            reflectiveQuadTo(80f, 380f)
            verticalLineToRelative(-240f)
            quadToRelative(0f, -25f, 17.5f, -42.5f)
            reflectiveQuadTo(140f, 80f)
            horizontalLineToRelative(88f)
            quadToRelative(15f, 0f, 28.5f, 7f)
            reflectiveQuadToRelative(21.5f, 20f)
            lineToRelative(22f, 33f)
            horizontalLineToRelative(160f)
            quadToRelative(25f, 0f, 42.5f, 17.5f)
            reflectiveQuadTo(520f, 200f)
            verticalLineToRelative(180f)
            quadToRelative(0f, 25f, -17.5f, 42.5f)
            reflectiveQuadTo(460f, 440f)
            lineTo(140f, 440f)
            close()
            moveTo(688f, 360f)
            quadToRelative(-11f, -19f, -25f, -35f)
            reflectiveQuadToRelative(-31f, -30f)
            quadToRelative(-13f, -11f, -16.5f, -27f)
            reflectiveQuadToRelative(4.5f, -30f)
            quadToRelative(8f, -14f, 24f, -18.5f)
            reflectiveQuadToRelative(29f, 5.5f)
            quadToRelative(21f, 16f, 39f, 35f)
            reflectiveQuadToRelative(33f, 41f)
            quadToRelative(21f, 31f, 34.5f, 66.5f)
            reflectiveQuadTo(798f, 441f)
            quadToRelative(2f, 16f, -9.5f, 27.5f)
            reflectiveQuadTo(760f, 480f)
            quadToRelative(-17f, 0f, -28.5f, -11f)
            reflectiveQuadTo(717f, 441f)
            quadToRelative(-4f, -22f, -11f, -42f)
            reflectiveQuadToRelative(-18f, -39f)
            close()
            moveTo(520f, 800f)
            horizontalLineToRelative(280f)
            verticalLineToRelative(-140f)
            lineTo(617f, 660f)
            lineToRelative(-40f, -60f)
            horizontalLineToRelative(-57f)
            verticalLineToRelative(200f)
            close()
            moveTo(160f, 360f)
            horizontalLineToRelative(280f)
            verticalLineToRelative(-140f)
            lineTo(257f, 220f)
            lineToRelative(-40f, -60f)
            horizontalLineToRelative(-57f)
            verticalLineToRelative(200f)
            close()
            moveTo(520f, 800f)
            verticalLineToRelative(-200f)
            verticalLineToRelative(200f)
            close()
            moveTo(160f, 360f)
            verticalLineToRelative(-200f)
            verticalLineToRelative(200f)
            close()
        }
    }.build()
}