/*
 * 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 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

val Icons.Rounded.Extension: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "Rounded.Extension",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 960f,
        viewportHeight = 960f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(352f, 840f)
            lineTo(200f, 840f)
            quadToRelative(-33f, 0f, -56.5f, -23.5f)
            reflectiveQuadTo(120f, 760f)
            verticalLineToRelative(-152f)
            quadToRelative(48f, 0f, 84f, -30.5f)
            reflectiveQuadToRelative(36f, -77.5f)
            quadToRelative(0f, -47f, -36f, -77.5f)
            reflectiveQuadTo(120f, 392f)
            verticalLineToRelative(-152f)
            quadToRelative(0f, -33f, 23.5f, -56.5f)
            reflectiveQuadTo(200f, 160f)
            horizontalLineToRelative(160f)
            quadToRelative(0f, -42f, 29f, -71f)
            reflectiveQuadToRelative(71f, -29f)
            quadToRelative(42f, 0f, 71f, 29f)
            reflectiveQuadToRelative(29f, 71f)
            horizontalLineToRelative(160f)
            quadToRelative(33f, 0f, 56.5f, 23.5f)
            reflectiveQuadTo(800f, 240f)
            verticalLineToRelative(160f)
            quadToRelative(42f, 0f, 71f, 29f)
            reflectiveQuadToRelative(29f, 71f)
            quadToRelative(0f, 42f, -29f, 71f)
            reflectiveQuadToRelative(-71f, 29f)
            verticalLineToRelative(160f)
            quadToRelative(0f, 33f, -23.5f, 56.5f)
            reflectiveQuadTo(720f, 840f)
            lineTo(568f, 840f)
            quadToRelative(0f, -50f, -31.5f, -85f)
            reflectiveQuadTo(460f, 720f)
            quadToRelative(-45f, 0f, -76.5f, 35f)
            reflectiveQuadTo(352f, 840f)
            close()
        }
    }.build()
}

val Icons.Outlined.Extension: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "Outlined.Extension",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 960f,
        viewportHeight = 960f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(352f, 840f)
            lineTo(200f, 840f)
            quadToRelative(-33f, 0f, -56.5f, -23.5f)
            reflectiveQuadTo(120f, 760f)
            verticalLineToRelative(-152f)
            quadToRelative(48f, 0f, 84f, -30.5f)
            reflectiveQuadToRelative(36f, -77.5f)
            quadToRelative(0f, -47f, -36f, -77.5f)
            reflectiveQuadTo(120f, 392f)
            verticalLineToRelative(-152f)
            quadToRelative(0f, -33f, 23.5f, -56.5f)
            reflectiveQuadTo(200f, 160f)
            horizontalLineToRelative(160f)
            quadToRelative(0f, -42f, 29f, -71f)
            reflectiveQuadToRelative(71f, -29f)
            quadToRelative(42f, 0f, 71f, 29f)
            reflectiveQuadToRelative(29f, 71f)
            horizontalLineToRelative(160f)
            quadToRelative(33f, 0f, 56.5f, 23.5f)
            reflectiveQuadTo(800f, 240f)
            verticalLineToRelative(160f)
            quadToRelative(42f, 0f, 71f, 29f)
            reflectiveQuadToRelative(29f, 71f)
            quadToRelative(0f, 42f, -29f, 71f)
            reflectiveQuadToRelative(-71f, 29f)
            verticalLineToRelative(160f)
            quadToRelative(0f, 33f, -23.5f, 56.5f)
            reflectiveQuadTo(720f, 840f)
            lineTo(568f, 840f)
            quadToRelative(0f, -50f, -31.5f, -85f)
            reflectiveQuadTo(460f, 720f)
            quadToRelative(-45f, 0f, -76.5f, 35f)
            reflectiveQuadTo(352f, 840f)
            close()
            moveTo(200f, 760f)
            horizontalLineToRelative(85f)
            quadToRelative(24f, -66f, 77f, -93f)
            reflectiveQuadToRelative(98f, -27f)
            quadToRelative(45f, 0f, 98f, 27f)
            reflectiveQuadToRelative(77f, 93f)
            horizontalLineToRelative(85f)
            verticalLineToRelative(-240f)
            horizontalLineToRelative(80f)
            quadToRelative(8f, 0f, 14f, -6f)
            reflectiveQuadToRelative(6f, -14f)
            quadToRelative(0f, -8f, -6f, -14f)
            reflectiveQuadToRelative(-14f, -6f)
            horizontalLineToRelative(-80f)
            verticalLineToRelative(-240f)
            lineTo(480f, 240f)
            verticalLineToRelative(-80f)
            quadToRelative(0f, -8f, -6f, -14f)
            reflectiveQuadToRelative(-14f, -6f)
            quadToRelative(-8f, 0f, -14f, 6f)
            reflectiveQuadToRelative(-6f, 14f)
            verticalLineToRelative(80f)
            lineTo(200f, 240f)
            verticalLineToRelative(88f)
            quadToRelative(54f, 20f, 87f, 67f)
            reflectiveQuadToRelative(33f, 105f)
            quadToRelative(0f, 57f, -33f, 104f)
            reflectiveQuadToRelative(-87f, 68f)
            verticalLineToRelative(88f)
            close()
            moveTo(460f, 500f)
            close()
        }
    }.build()
}