/*
 * 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.Outlined.Email: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "Outlined.Email",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 24f,
        viewportHeight = 24f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(4f, 20f)
            quadTo(3.175f, 20f, 2.588f, 19.413f)
            quadTo(2f, 18.825f, 2f, 18f)
            verticalLineTo(6f)
            quadTo(2f, 5.175f, 2.588f, 4.588f)
            quadTo(3.175f, 4f, 4f, 4f)
            horizontalLineTo(20f)
            quadTo(20.825f, 4f, 21.413f, 4.588f)
            quadTo(22f, 5.175f, 22f, 6f)
            verticalLineTo(18f)
            quadTo(22f, 18.825f, 21.413f, 19.413f)
            quadTo(20.825f, 20f, 20f, 20f)
            close()
            moveTo(20f, 8f)
            lineTo(12.525f, 12.675f)
            quadTo(12.4f, 12.75f, 12.262f, 12.788f)
            quadTo(12.125f, 12.825f, 12f, 12.825f)
            quadTo(11.875f, 12.825f, 11.738f, 12.788f)
            quadTo(11.6f, 12.75f, 11.475f, 12.675f)
            lineTo(4f, 8f)
            verticalLineTo(18f)
            quadTo(4f, 18f, 4f, 18f)
            quadTo(4f, 18f, 4f, 18f)
            horizontalLineTo(20f)
            quadTo(20f, 18f, 20f, 18f)
            quadTo(20f, 18f, 20f, 18f)
            close()
            moveTo(12f, 11f)
            lineTo(20f, 6f)
            horizontalLineTo(4f)
            close()
            moveTo(4f, 8f)
            verticalLineTo(8.25f)
            quadTo(4f, 8.125f, 4f, 7.938f)
            quadTo(4f, 7.75f, 4f, 7.525f)
            quadTo(4f, 7.025f, 4f, 6.775f)
            quadTo(4f, 6.525f, 4f, 6.8f)
            verticalLineTo(6f)
            verticalLineTo(6.8f)
            quadTo(4f, 6.525f, 4f, 6.787f)
            quadTo(4f, 7.05f, 4f, 7.525f)
            quadTo(4f, 7.775f, 4f, 7.963f)
            quadTo(4f, 8.15f, 4f, 8.25f)
            verticalLineTo(8f)
            verticalLineTo(18f)
            quadTo(4f, 18f, 4f, 18f)
            quadTo(4f, 18f, 4f, 18f)
            quadTo(4f, 18f, 4f, 18f)
            quadTo(4f, 18f, 4f, 18f)
            close()
        }
    }.build()
}

val Icons.Rounded.Email: ImageVector by lazy(LazyThreadSafetyMode.NONE) {
    ImageVector.Builder(
        name = "Rounded.Email",
        defaultWidth = 24.dp,
        defaultHeight = 24.dp,
        viewportWidth = 24f,
        viewportHeight = 24f
    ).apply {
        path(fill = SolidColor(Color.Black)) {
            moveTo(4f, 20f)
            quadTo(3.175f, 20f, 2.588f, 19.413f)
            quadTo(2f, 18.825f, 2f, 18f)
            verticalLineTo(6f)
            quadTo(2f, 5.175f, 2.588f, 4.588f)
            quadTo(3.175f, 4f, 4f, 4f)
            horizontalLineTo(20f)
            quadTo(20.825f, 4f, 21.413f, 4.588f)
            quadTo(22f, 5.175f, 22f, 6f)
            verticalLineTo(18f)
            quadTo(22f, 18.825f, 21.413f, 19.413f)
            quadTo(20.825f, 20f, 20f, 20f)
            close()
            moveTo(20f, 8f)
            lineTo(12.525f, 12.675f)
            quadTo(12.4f, 12.75f, 12.262f, 12.788f)
            quadTo(12.125f, 12.825f, 12f, 12.825f)
            quadTo(11.875f, 12.825f, 11.738f, 12.788f)
            quadTo(11.6f, 12.75f, 11.475f, 12.675f)
            lineTo(4f, 8f)
            verticalLineTo(18f)
            quadTo(4f, 18f, 4f, 18f)
            quadTo(4f, 18f, 4f, 18f)
            horizontalLineTo(20f)
            quadTo(20f, 18f, 20f, 18f)
            quadTo(20f, 18f, 20f, 18f)
            close()
            moveTo(12f, 11f)
            lineTo(20f, 6f)
            horizontalLineTo(4f)
            close()
            moveTo(20f, 8f)
            lineTo(19.6f, 8.25f)
            quadTo(19.8f, 8.125f, 19.9f, 7.938f)
            quadTo(20f, 7.75f, 20f, 7.525f)
            quadTo(20f, 7.025f, 19.575f, 6.775f)
            quadTo(19.15f, 6.525f, 18.7f, 6.8f)
            lineTo(20f, 6f)
            horizontalLineTo(4f)
            lineTo(5.3f, 6.8f)
            quadTo(4.85f, 6.525f, 4.425f, 6.787f)
            quadTo(4f, 7.05f, 4f, 7.525f)
            quadTo(4f, 7.775f, 4.1f, 7.963f)
            quadTo(4.2f, 8.15f, 4.4f, 8.25f)
            lineTo(4f, 8f)
            verticalLineTo(18f)
            quadTo(4f, 18f, 4f, 18f)
            quadTo(4f, 18f, 4f, 18f)
            horizontalLineTo(20f)
            quadTo(20f, 18f, 20f, 18f)
            quadTo(20f, 18f, 20f, 18f)
            close()
        }
    }.build()
}
