-
+
- Обзоры +
- Тренды +

diff --git a/.gitignore b/.gitignore
index 0ef4054..924ff9c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,12 +35,14 @@ wp-config.php
# htaccess
/.htaccess
-
+# vendor files in themes
+/wp-content/themes/*/vendor
# All plugins
#
# Note: If you wish to whitelist plugins,
-# uncomment the next line
-#/wp-content/plugins
+
+/wp-content/plugins
+/wp-content/backups-dup-lite
# All themes
#
diff --git a/wp-content/.htaccess b/wp-content/.htaccess
new file mode 100644
index 0000000..7bb2873
--- /dev/null
+++ b/wp-content/.htaccess
@@ -0,0 +1,7 @@
+
+# BEGIN WebP Converter
+# ! --- DO NOT EDIT PREVIOUS LINE --- !
+# ! --- DO NOT EDIT NEXT LINE --- !
+# END WebP Converter
+
+
\ No newline at end of file
diff --git a/wp-content/themes/cosmopet/composer.json b/wp-content/themes/cosmopet/composer.json
new file mode 100644
index 0000000..f8f8769
--- /dev/null
+++ b/wp-content/themes/cosmopet/composer.json
@@ -0,0 +1,5 @@
+{
+ "require": {
+ "timber/timber": "^2.1"
+ }
+}
diff --git a/wp-content/themes/cosmopet/composer.lock b/wp-content/themes/cosmopet/composer.lock
new file mode 100644
index 0000000..00f78e9
--- /dev/null
+++ b/wp-content/themes/cosmopet/composer.lock
@@ -0,0 +1,725 @@
+{
+ "_readme": [
+ "This file locks the dependencies of your project to a known state",
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
+ "This file is @generated automatically"
+ ],
+ "content-hash": "6da1f9205429be4e1609181ef22acad2",
+ "packages": [
+ {
+ "name": "composer/installers",
+ "version": "v2.3.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/composer/installers.git",
+ "reference": "12fb2dfe5e16183de69e784a7b84046c43d97e8e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/composer/installers/zipball/12fb2dfe5e16183de69e784a7b84046c43d97e8e",
+ "reference": "12fb2dfe5e16183de69e784a7b84046c43d97e8e",
+ "shasum": ""
+ },
+ "require": {
+ "composer-plugin-api": "^1.0 || ^2.0",
+ "php": "^7.2 || ^8.0"
+ },
+ "require-dev": {
+ "composer/composer": "^1.10.27 || ^2.7",
+ "composer/semver": "^1.7.2 || ^3.4.0",
+ "phpstan/phpstan": "^1.11",
+ "phpstan/phpstan-phpunit": "^1",
+ "symfony/phpunit-bridge": "^7.1.1",
+ "symfony/process": "^5 || ^6 || ^7"
+ },
+ "type": "composer-plugin",
+ "extra": {
+ "class": "Composer\\Installers\\Plugin",
+ "branch-alias": {
+ "dev-main": "2.x-dev"
+ },
+ "plugin-modifies-install-path": true
+ },
+ "autoload": {
+ "psr-4": {
+ "Composer\\Installers\\": "src/Composer/Installers"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Kyle Robinson Young",
+ "email": "kyle@dontkry.com",
+ "homepage": "https://github.com/shama"
+ }
+ ],
+ "description": "A multi-framework Composer library installer",
+ "homepage": "https://composer.github.io/installers/",
+ "keywords": [
+ "Dolibarr",
+ "Eliasis",
+ "Hurad",
+ "ImageCMS",
+ "Kanboard",
+ "Lan Management System",
+ "MODX Evo",
+ "MantisBT",
+ "Mautic",
+ "Maya",
+ "OXID",
+ "Plentymarkets",
+ "Porto",
+ "RadPHP",
+ "SMF",
+ "Starbug",
+ "Thelia",
+ "Whmcs",
+ "WolfCMS",
+ "agl",
+ "annotatecms",
+ "attogram",
+ "bitrix",
+ "cakephp",
+ "chef",
+ "cockpit",
+ "codeigniter",
+ "concrete5",
+ "concreteCMS",
+ "croogo",
+ "dokuwiki",
+ "drupal",
+ "eZ Platform",
+ "elgg",
+ "expressionengine",
+ "fuelphp",
+ "grav",
+ "installer",
+ "itop",
+ "known",
+ "kohana",
+ "laravel",
+ "lavalite",
+ "lithium",
+ "magento",
+ "majima",
+ "mako",
+ "matomo",
+ "mediawiki",
+ "miaoxing",
+ "modulework",
+ "modx",
+ "moodle",
+ "osclass",
+ "pantheon",
+ "phpbb",
+ "piwik",
+ "ppi",
+ "processwire",
+ "puppet",
+ "pxcms",
+ "reindex",
+ "roundcube",
+ "shopware",
+ "silverstripe",
+ "sydes",
+ "sylius",
+ "tastyigniter",
+ "wordpress",
+ "yawik",
+ "zend",
+ "zikula"
+ ],
+ "support": {
+ "issues": "https://github.com/composer/installers/issues",
+ "source": "https://github.com/composer/installers/tree/v2.3.0"
+ },
+ "funding": [
+ {
+ "url": "https://packagist.com",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/composer",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/composer/composer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2024-06-24T20:46:46+00:00"
+ },
+ {
+ "name": "symfony/deprecation-contracts",
+ "version": "v3.0.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/deprecation-contracts.git",
+ "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c",
+ "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=8.0.2"
+ },
+ "type": "library",
+ "extra": {
+ "thanks": {
+ "url": "https://github.com/symfony/contracts",
+ "name": "symfony/contracts"
+ },
+ "branch-alias": {
+ "dev-main": "3.0-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "function.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "A generic function and convention to trigger deprecation notices",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-02T09:55:41+00:00"
+ },
+ {
+ "name": "symfony/polyfill-ctype",
+ "version": "v1.31.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-ctype.git",
+ "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638",
+ "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2"
+ },
+ "provide": {
+ "ext-ctype": "*"
+ },
+ "suggest": {
+ "ext-ctype": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "thanks": {
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Ctype\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Gert de Pagter",
+ "email": "BackEndTea@gmail.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for ctype functions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "ctype",
+ "polyfill",
+ "portable"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2024-09-09T11:45:10+00:00"
+ },
+ {
+ "name": "symfony/polyfill-mbstring",
+ "version": "v1.31.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-mbstring.git",
+ "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341",
+ "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2"
+ },
+ "provide": {
+ "ext-mbstring": "*"
+ },
+ "suggest": {
+ "ext-mbstring": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "thanks": {
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Mbstring\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill for the Mbstring extension",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "mbstring",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2024-09-09T11:45:10+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php80",
+ "version": "v1.31.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php80.git",
+ "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8",
+ "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2"
+ },
+ "type": "library",
+ "extra": {
+ "thanks": {
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php80\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ion Bazan",
+ "email": "ion.bazan@gmail.com"
+ },
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2024-09-09T11:45:10+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php81",
+ "version": "v1.31.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php81.git",
+ "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c",
+ "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2"
+ },
+ "type": "library",
+ "extra": {
+ "thanks": {
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php81\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php81/tree/v1.31.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2024-09-09T11:45:10+00:00"
+ },
+ {
+ "name": "timber/timber",
+ "version": "v2.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/timber/timber.git",
+ "reference": "d353d1912a1a051f47ba2d3f2e3ae1af1e5bed53"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/timber/timber/zipball/d353d1912a1a051f47ba2d3f2e3ae1af1e5bed53",
+ "reference": "d353d1912a1a051f47ba2d3f2e3ae1af1e5bed53",
+ "shasum": ""
+ },
+ "require": {
+ "composer/installers": "^1.0 || ^2.0",
+ "php": "^7.4 || ^8.0",
+ "symfony/polyfill-php80": "^1.27",
+ "twig/twig": "^2.15.3 || ^3.0"
+ },
+ "require-dev": {
+ "ergebnis/composer-normalize": "^2.28",
+ "php-parallel-lint/php-parallel-lint": "^1.3",
+ "php-stubs/acf-pro-stubs": "^6.0",
+ "php-stubs/wp-cli-stubs": "^2.0",
+ "phpro/grumphp": "^1.12",
+ "phpstan/extension-installer": "^1.1",
+ "phpstan/phpstan": "^1.7",
+ "squizlabs/php_codesniffer": "^3.0",
+ "symplify/easy-coding-standard": "^12.0",
+ "szepeviktor/phpstan-wordpress": "^1.1",
+ "twig/cache-extra": "^3.3",
+ "wpackagist-plugin/advanced-custom-fields": "^5.0 || ^6.0",
+ "wpackagist-plugin/co-authors-plus": "^3.3",
+ "yoast/wp-test-utils": "^1.0"
+ },
+ "suggest": {
+ "php-coveralls/php-coveralls": "^2.0 for code coverage",
+ "twig/cache-extra": "For using the cache tag in Twig"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Timber\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Erik van der Bas",
+ "email": "erik@basedonline.nl",
+ "homepage": "https://basedonline.nl"
+ },
+ {
+ "name": "Lukas Gächter",
+ "email": "lukas.gaechter@mind.ch",
+ "homepage": "https://www.mind.ch"
+ },
+ {
+ "name": "Nicolas Lemoine",
+ "email": "nico@n5s.dev",
+ "homepage": "https://n5s.dev"
+ },
+ {
+ "name": "Jared Novack",
+ "email": "jared@upstatement.com",
+ "homepage": "https://upstatement.com"
+ },
+ {
+ "name": "Timber Community",
+ "homepage": "https://github.com/timber/timber"
+ }
+ ],
+ "description": "Create WordPress themes with beautiful OOP code and the Twig Template Engine",
+ "homepage": "http://timber.upstatement.com",
+ "keywords": [
+ "templating",
+ "themes",
+ "timber",
+ "twig",
+ "wordpress"
+ ],
+ "support": {
+ "docs": "https://timber.github.io/docs/",
+ "issues": "https://github.com/timber/timber/issues",
+ "source": "https://github.com/timber/timber"
+ },
+ "funding": [
+ {
+ "url": "https://opencollective.com/timber",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2024-04-10T15:02:17+00:00"
+ },
+ {
+ "name": "twig/twig",
+ "version": "v3.19.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/twigphp/Twig.git",
+ "reference": "d4f8c2b86374f08efc859323dbcd95c590f7124e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/twigphp/Twig/zipball/d4f8c2b86374f08efc859323dbcd95c590f7124e",
+ "reference": "d4f8c2b86374f08efc859323dbcd95c590f7124e",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=8.0.2",
+ "symfony/deprecation-contracts": "^2.5|^3",
+ "symfony/polyfill-ctype": "^1.8",
+ "symfony/polyfill-mbstring": "^1.3",
+ "symfony/polyfill-php81": "^1.29"
+ },
+ "require-dev": {
+ "phpstan/phpstan": "^2.0",
+ "psr/container": "^1.0|^2.0",
+ "symfony/phpunit-bridge": "^5.4.9|^6.4|^7.0"
+ },
+ "type": "library",
+ "autoload": {
+ "files": [
+ "src/Resources/core.php",
+ "src/Resources/debug.php",
+ "src/Resources/escaper.php",
+ "src/Resources/string_loader.php"
+ ],
+ "psr-4": {
+ "Twig\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com",
+ "homepage": "http://fabien.potencier.org",
+ "role": "Lead Developer"
+ },
+ {
+ "name": "Twig Team",
+ "role": "Contributors"
+ },
+ {
+ "name": "Armin Ronacher",
+ "email": "armin.ronacher@active-4.com",
+ "role": "Project Founder"
+ }
+ ],
+ "description": "Twig, the flexible, fast, and secure template language for PHP",
+ "homepage": "https://twig.symfony.com",
+ "keywords": [
+ "templating"
+ ],
+ "support": {
+ "issues": "https://github.com/twigphp/Twig/issues",
+ "source": "https://github.com/twigphp/Twig/tree/v3.19.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/twig/twig",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2025-01-29T07:06:14+00:00"
+ }
+ ],
+ "packages-dev": [],
+ "aliases": [],
+ "minimum-stability": "stable",
+ "stability-flags": [],
+ "prefer-stable": false,
+ "prefer-lowest": false,
+ "platform": [],
+ "platform-dev": [],
+ "plugin-api-version": "2.1.0"
+}
diff --git a/wp-content/themes/cosmopet/functions.php b/wp-content/themes/cosmopet/functions.php
new file mode 100644
index 0000000..fef2c5f
--- /dev/null
+++ b/wp-content/themes/cosmopet/functions.php
@@ -0,0 +1,173 @@
+
\ No newline at end of file
diff --git a/wp-content/themes/cosmopet/index.php b/wp-content/themes/cosmopet/index.php
new file mode 100644
index 0000000..e69de29
diff --git a/wp-content/themes/cosmopet/index.twig b/wp-content/themes/cosmopet/index.twig
new file mode 100644
index 0000000..e69de29
diff --git a/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-desktop.css b/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-desktop.css
new file mode 100644
index 0000000..4159eb7
--- /dev/null
+++ b/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-desktop.css
@@ -0,0 +1,87 @@
+/* Header */
+.header {
+ background: var(--main_white);
+ border-bottom: 1px solid var(--interface_title);
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ z-index: 4;
+}
+
+.header-container {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 16px 0;
+}
+
+.header-bars {
+ display: none;
+}
+
+.header-logo {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+}
+
+.header-logo span {
+ color: var(---main_black);
+ font-size: 20px;
+ text-transform: uppercase;
+}
+
+.header-navs {
+ display: flex;
+ align-items: center;
+ gap: 24px;
+}
+
+.header-navs__link {
+ padding: 8px 12px;
+ font-size: 16px;
+ font-weight: bold;
+ text-transform: uppercase;
+ line-height: 20px;
+}
+
+.header-accordion {}
+
+.header-accordion__btn {
+ display: flex;
+ align-items: center;
+ gap: 4px;
+ padding: 8px 12px;
+ border-radius: 24px;
+ background: var(--accent-2);
+ cursor: pointer;
+ user-select: none;
+ font-size: 16px;
+ font-weight: bold;
+ line-height: 20px;
+ color: var(---main_black);
+}
+
+.header-right {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+}
+
+.header-lang__btn {
+ display: flex;
+ align-items: center;
+ cursor: pointer;
+ user-select: none;
+ gap: 4px;
+ padding: 12px 15px;
+ color: var(---main_black);
+ font-size: 16px;
+ font-weight: bold;
+ line-height: 20px;
+}
+
+/* Header end */
+
+
diff --git a/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-mobile.css b/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-mobile.css
new file mode 100644
index 0000000..e69de29
diff --git a/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-tablet.css b/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-tablet.css
new file mode 100644
index 0000000..0a868f5
--- /dev/null
+++ b/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-tablet.css
@@ -0,0 +1,32 @@
+/* Стили для планшетов */
+@media only screen and (max-width: 992px) {
+ .header-navs {
+ display: none;
+ }
+
+ .header-container {
+ height: 56px;
+ padding: 0;
+ }
+
+ .header-bars {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ .header-logo {
+ font-size: 16px;
+ line-height: 20px;
+ gap: 8px;
+ }
+
+ .header-logo img {
+ width: 31px;
+ flex-shrink: 0;
+ }
+
+ .header-lang {
+ display: none;
+ }
+}
diff --git a/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-ultra.css b/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-ultra.css
new file mode 100644
index 0000000..c149baa
--- /dev/null
+++ b/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-ultra.css
@@ -0,0 +1,4 @@
+/* Стили для ультрашироких экранов */
+@media only screen and (min-width: 1400px) {
+
+}
\ No newline at end of file
diff --git a/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-xl.css b/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-xl.css
new file mode 100644
index 0000000..478ccf2
--- /dev/null
+++ b/wp-content/themes/cosmopet/modules/blog/assets/css/gp-style-xl.css
@@ -0,0 +1,11 @@
+@media (max-width: 1200px) {
+ .header-navs {
+ gap: 12px;
+ }
+ .header-navs__link {
+ font-size: 14px;
+ }
+ .header-right {
+ gap: 4px;
+ }
+}
\ No newline at end of file
diff --git a/wp-content/themes/cosmopet/modules/blog/components/archive/assets/css/gp-style-desktop.css b/wp-content/themes/cosmopet/modules/blog/components/archive/assets/css/gp-style-desktop.css
new file mode 100644
index 0000000..e4f6e25
--- /dev/null
+++ b/wp-content/themes/cosmopet/modules/blog/components/archive/assets/css/gp-style-desktop.css
@@ -0,0 +1,442 @@
+/* Home */
+.home {
+ padding: 140px 0 68px;
+}
+
+.home-title {
+ font-size: 82px;
+ font-weight: bold;
+ line-height: 96px;
+ color: var(--main_white);
+ margin-bottom: 16px;
+}
+
+.home-description {
+ font-size: 32px;
+ font-weight: bold;
+ line-height: 40px;
+ color: var(--main_white);
+ text-transform: uppercase;
+ margin-bottom: 68px;
+}
+
+/* Home end */
+
+
+/* Anons */
+.anons {
+ background: var(--main_white);
+ border-radius: 60px;
+ padding: 51px 0;
+}
+
+.anons-theme__title {
+ color: var(--main_black);
+ font-size: 24px;
+ font-weight: bold;
+ line-height: 28px;
+ text-transform: uppercase;
+ margin-bottom: 20px;
+}
+
+.anons-theme {
+ margin-bottom: 60px;
+}
+
+.anons-theme ul {
+ max-width: 1022px;
+ display: flex;
+ flex-wrap: wrap;
+ gap: 12px;
+}
+
+.anons-theme ul a {
+ font-size: 20px;
+ font-weight: 600;
+ line-height: 24px;
+ color: var(--main_black);
+ padding: 4px 24px;
+ border: 1px solid #000;
+ border-radius: 20px;
+}
+
+.anons-theme ul a:hover,
+.anons-theme ul a.active {
+ background: var(--main_black);
+ color: var(--main_white);
+}
+
+.anons-best {
+ margin-bottom: 60px;
+}
+
+.anons-best__title {
+ font-size: 36px;
+ line-height: 40px;
+ font-weight: bold;
+ color: var(--main_black);
+ margin-bottom: 20px;
+}
+
+.anons-best__card-wrap {
+ display: grid;
+ grid-template-columns: repeat(3, minmax(0, 1fr));
+ gap: 24px;
+}
+
+.anons-best__card {
+ padding-top: 293px;
+ border-radius: 48px;
+ overflow: hidden;
+ position: relative;
+ z-index: 1;
+}
+
+.anons-best__card.light {
+ padding-top: 0;
+ border-radius: 0;
+}
+
+.anons-best__card .main-img {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 360px;
+ z-index: -1;
+}
+
+.anons-best__card .main-img img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+}
+
+.anons-best__card.light .main-img {
+ position: static;
+ height: 265px;
+}
+.anons-best__card.light .main-img img {
+ border-radius: 30px;
+}
+
+.anons-best__card-alerts {
+ position: absolute;
+ top: 21px;
+ left: 17px;
+ width: calc(100% - 34px);
+ display: flex;
+ flex-wrap: wrap;
+ gap: 7px;
+ z-index: 1;
+}
+
+.anons-best__card-alerts li {
+ padding: 6px 8px;
+ font-size: 16px;
+ line-height: 20px;
+ font-weight: 500;
+ color: var(--background);
+ background: var(--main_black);
+ border-radius: 30px;
+}
+
+.anons-best__card-body {
+ background: var(--accent-1);
+ padding: 30px 17px 22px;
+ border-radius: 48px 48px 0 0;
+ color: var(--main_white);
+ position: relative;
+ height: 100%;
+}
+
+.anons-best__card.light .anons-best__card-body {
+ background: transparent;
+ color: var(--main_black);
+ padding: 12px 0 34px;
+}
+
+.anons-best__card-body__title {
+ font-size: 28px;
+ font-weight: bold;
+ line-height: 32px;
+ text-transform: uppercase;
+ margin-bottom: 14px;
+}
+
+.anons-best__card.light .anons-best__card-body__title {
+ font-size: 26px;
+}
+
+.anons-best__card-body__datas {
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ gap: 6px 10px;
+ max-width: 264px;
+}
+
+.anons-best__card.light .anons-best__card-body__datas {
+ color: var(--placeholder);
+}
+
+.anons-best__card-body__datas p {
+ font-size: 14px;
+ line-height: 16px;
+ font-weight: 500;
+}
+
+.anons-best__card-body__datas ul {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+}
+
+.anons-best__card-body__datas ul li {
+ display: flex;
+ align-items: center;
+ gap: 4px;
+ font-size: 14px;
+ line-height: 16px;
+ font-weight: 500;
+}
+
+.anons-best__card-body__datas ul .logo img {
+ width: 24px;
+ height: 24px;
+ border-radius: 50%;
+ object-fit: cover;
+}
+
+.anons-article {
+ margin-bottom: 40px;
+}
+
+.anons-article__title {
+ font-size: 36px;
+ line-height: 40px;
+ font-weight: bold;
+ color: var(--main_black);
+ margin-bottom: 20px;
+}
+
+.anons-article__card-wrap {
+ display: grid;
+ grid-template-columns: repeat(3, minmax(0, 1fr));
+ gap: 40px 25px;
+}
+
+.anons-article__more-link {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.anons-article__more-link a {
+ background: var(--accent-3);
+ color: var(--main_white);
+ border-radius: 20px;
+ border: 1px solid var(--main_white);
+ padding: 16px 24px;
+ font-size: 20px;
+ font-weight: 600;
+ line-height: 24px;
+ text-transform: uppercase;
+}
+/* Anons end */
+
+
+
+/* Author */
+.author {
+ padding: 111px 0 105px;
+}
+
+.author-content {
+ max-width: 1022px;
+ margin: 0 auto;
+ background: #CAFF81;
+ border-radius: 60px;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 35px 42px 35px 209px;
+ position: relative;
+ box-shadow: 6px 9px 20px rgba(0, 0, 0, 15%);
+}
+
+.author-content__star-1 {
+ position: absolute;
+ width: 74px;
+ top: 18px;
+ left: -15px;
+ transform: translateX(-100%);
+}
+
+.author-content__star-2 {
+ position: absolute;
+ top: 28px;
+ right: -24px;
+ transform: translateX(100%);
+ width: 37px;
+}
+
+.author-content__img {
+ position: absolute;
+ left: 9px;
+ top: -43px;
+ width: 167px;
+}
+
+.author-content__img.mb {
+ display: none;
+}
+
+.author-content__title {
+ color: var(--main_black);
+ font-size: 36px;
+ font-weight: bold;
+ line-height: 40px;
+}
+
+.author-content__link {
+ border-radius: 20px;
+ background: var(--main_black);
+ border: 1px solid var(--main_white);
+ padding: 15px 24px;
+ font-size: 20px;
+ font-weight: 600;
+ line-height: 24px;
+ color: var(--main_white);
+ flex-shrink: 0;
+}
+/* Author end */
+
+/* Editorial */
+.editorial {
+ padding-bottom: 68px;
+}
+
+.editorial-head {
+ position: relative;
+ z-index: 1;
+ max-width: 841px;
+ margin-bottom: 37px;
+}
+
+.editorial-head__title {
+ font-size: 82px;
+ line-height: 96px;
+ font-weight: bold;
+ color: var(--main_white);
+ text-transform: uppercase;
+}
+
+.editorial-head__img {
+ position: absolute;
+ z-index: -1;
+ top: -14px;
+ right: -20px;
+ width: 221px;
+}
+
+.editorial-head__star {
+ position: absolute;
+ top: 8.26px;
+ right: -13.5px;
+ transform: translateX(100%);
+ width: 87.5px;
+}
+
+.editorial-card__wrap {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 31px 25px;
+ position: relative;
+ z-index: 1;
+}
+
+.editorial-card {
+ border: 2px solid var(--creme-white);
+ border-radius: 30px;
+ display: flex;
+ align-items: stretch;
+ overflow: hidden;
+ background: var(--linear);
+ backdrop-filter: blur(28px);
+}
+
+.editorial-card .main-img {
+ min-height: 282px;
+ width: 207px;
+ border-radius: 29px;
+ overflow: hidden;
+ flex-shrink: 0;
+}
+
+.editorial-card .main-img img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+}
+
+.editorial-card__content {
+ padding: 42px 19px 19px 35px;
+}
+
+.editorial-card__content-alerts {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 7px;
+ margin-bottom: 17px;
+}
+
+.editorial-card__content-alerts a {
+ background: var(--main_black);
+ border-radius: 16px;
+ padding: 6px 8px;
+ font-size: 16px;
+ font-weight: 500;
+ line-height: 20px;
+ color: var(--background);
+}
+
+.editorial-card__content-title {
+ font-size: 28px;
+ font-weight: bold;
+ line-height: 32px;
+ color: var(--grey-black);
+ text-transform: uppercase;
+ margin-bottom: 17px;
+}
+
+.editorial-card__content-data {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 5px 16px;
+ color: var(--interface_hover);
+ font-size: 16px;
+ font-weight: 500;
+ line-height: 20px;
+}
+
+.editorial-card__content-data ul {
+ display: flex;
+ align-items: center;
+ gap: 16px;
+}
+
+.editorial-card__content-data li {
+ display: flex;
+ align-items: center;
+ gap: 5px;
+}
+
+.editorial-card__content-data .logo img {
+ width: 24px;
+ height: 24px;
+ border-radius: 50%;
+ object-fit: cover;
+}
+/* Editorial end */
\ No newline at end of file
diff --git a/wp-content/themes/cosmopet/modules/blog/components/archive/assets/css/gp-style-mobile.css b/wp-content/themes/cosmopet/modules/blog/components/archive/assets/css/gp-style-mobile.css
new file mode 100644
index 0000000..e69de29
diff --git a/wp-content/themes/cosmopet/modules/blog/components/archive/assets/css/gp-style-tablet.css b/wp-content/themes/cosmopet/modules/blog/components/archive/assets/css/gp-style-tablet.css
new file mode 100644
index 0000000..0a868f5
--- /dev/null
+++ b/wp-content/themes/cosmopet/modules/blog/components/archive/assets/css/gp-style-tablet.css
@@ -0,0 +1,32 @@
+/* Стили для планшетов */
+@media only screen and (max-width: 992px) {
+ .header-navs {
+ display: none;
+ }
+
+ .header-container {
+ height: 56px;
+ padding: 0;
+ }
+
+ .header-bars {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ .header-logo {
+ font-size: 16px;
+ line-height: 20px;
+ gap: 8px;
+ }
+
+ .header-logo img {
+ width: 31px;
+ flex-shrink: 0;
+ }
+
+ .header-lang {
+ display: none;
+ }
+}
diff --git a/wp-content/themes/cosmopet/modules/blog/components/archive/component-ajax-controller.php b/wp-content/themes/cosmopet/modules/blog/components/archive/component-ajax-controller.php
new file mode 100644
index 0000000..e69de29
diff --git a/wp-content/themes/cosmopet/modules/blog/components/archive/component-controller.php b/wp-content/themes/cosmopet/modules/blog/components/archive/component-controller.php
new file mode 100644
index 0000000..8ce3412
--- /dev/null
+++ b/wp-content/themes/cosmopet/modules/blog/components/archive/component-controller.php
@@ -0,0 +1,5 @@
+
+ Мы пишем про то, что нас по‑настоящему цепляет: биотехнологии, науку, здоровье и то, как этот мир сделать лучше. Мы не боимся сложных тем и неудобных вопросов, ведь именно с них начинается будущее 21.10.24 время чтения: 5 минут 21.10.24 время чтения: 5 минут 21.10.24 время чтения: 5 минут 21.10.24 время чтения: 5 минут 21.10.24 время чтения: 5 минут 21.10.24 время чтения: 5 минут 21.10.24 время чтения: 5 минут 21.10.24 время чтения: 5 минут 21.10.24 время чтения: 5 минут 21.10.24 время чтения: 5 минут 21.10.24 время чтения: 5 минут 21.10.24 время чтения: 5 минут 21.10.24 время чтения: 5 минутБЛОГ
+ Темы:
+
+ САМЫЕ ЧИТАЕМЫЕ:
+
+
+
+
+
+
+
+ 22
+
+ 14
+
+
+
+
+
+
+
+
+
+ 22
+
+ 14
+
+
+
+
+
+
+ 22
+
+ 14
+
+
ВСЕ СТАТЬИ
+
+
+
+
+
+
+
+
+
+
+ 22
+
+ 14
+
+
+
+
+
+
+
+
+
+ 22
+
+ 14
+
+
+
+
+
+
+
+
+
+ 22
+
+ 14
+
+
+
+
+
+
+
+
+
+ 22
+
+ 14
+
+
+
+
+
+
+
+
+
+ 22
+
+ 14
+
+
+
+
+
+
+
+
+
+ 22
+
+ 14
+
+
COSMO тема редакции
+
+
+
+
+
+
+
+
+
+ 22
+
+ 14
+
+
+
+
+
+
+ 22
+
+ 14
+
+
+
+
+
+
+ 22
+
+ 14
+
+
+
+
+
+
+ 22
+
+ 14
+
+
1&&m.push(e.virtualSize-r)}if(o&&s.loop){const t=g[0]+x;if(s.slidesPerGroup>1){const a=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/s.slidesPerGroup),i=t*s.slidesPerGroup;for(let e=0;e!(s.cssMode&&!s.loop)||t!==c.length-1)).forEach((e=>{e.style[t]=`${x}px`}))}if(s.centeredSlides&&s.centeredSlidesBounds){let e=0;g.forEach((t=>{e+=t+(x||0)})),e-=x;const t=e-r;m=m.map((e=>e<=0?-v:e>t?t+w:e))}if(s.centerInsufficientSlides){let e=0;if(g.forEach((t=>{e+=t+(x||0)})),e-=x,e 0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{h[e?"scrollLeft":"scrollTop"]=s}))):h[e?"scrollLeft":"scrollTop"]=s,t&&requestAnimationFrame((()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1}))}else{if(!r.support.smoothScroll)return m({swiper:r,targetPosition:s,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return r.setTransition(t),r.setTranslate(w),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,a),r.transitionStart(s,b),0===t?r.transitionEnd(s,b):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,b))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,s,a){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"string"==typeof e){e=parseInt(e,10)}const i=this,r=i.grid&&i.params.grid&&i.params.grid.rows>1;let n=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)n+=i.virtual.slidesBefore;else{let e;if(r){const t=n*i.params.grid.rows;e=i.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=i.getSlideIndexByData(n);const t=r?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:s}=i.params;let a=i.params.slidesPerView;"auto"===a?a=i.slidesPerViewDynamic():(a=Math.ceil(parseFloat(i.params.slidesPerView,10)),s&&a%2==0&&(a+=1));let l=t-e1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else n=i.getSlideIndexByData(n)}return requestAnimationFrame((()=>{i.slideTo(n,t,s,a)})),i},slideNext:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const a=this,{enabled:i,params:r,animating:n}=a;if(!i)return a;let l=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(l=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndex1){const e=[];return n.querySelectorAll(t.el).forEach((s=>{const a=p({},t,{el:s});e.push(new ee(a))})),e}const l=this;l.__swiper__=!0,l.support=P(),l.device=L({userAgent:t.userAgent}),l.browser=A(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],t.modules&&Array.isArray(t.modules)&&l.modules.push(...t.modules);const o={};l.modules.forEach((e=>{e({params:t,swiper:l,extendParams:Z(t,o),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})}));const d=p({},K,o);return l.params=p({},d,J,t),l.originalParams=p({},l.params),l.passedParams=p({},t),l.params&&l.params.on&&Object.keys(l.params.on).forEach((e=>{l.on(e,l.params.on[e])})),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===l.params.direction,isVertical:()=>"vertical"===l.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:s}=this,a=y(f(t,`.${s.slideClass}, swiper-slide`)[0]);return y(e)-a}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=f(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const a=s.minTranslate(),i=(s.maxTranslate()-a)*e+a;s.translateTo(i,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((s=>{const a=e.getSlideClasses(s);t.push({slideEl:s,classNames:a}),e.emit("_slideClass",s,a)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:s,slides:a,slidesGrid:i,slidesSizesGrid:r,size:n,activeIndex:l}=this;let o=1;if("number"==typeof s.slidesPerView)return s.slidesPerView;if(s.centeredSlides){let e,t=a[l]?a[l].swiperSlideSize:0;for(let s=l+1;sM&&(u=M),g0?u:0),t&&(t.style.opacity=-u>0?-u:0)}}},setTransition:e=>{t.slides.map((e=>h(e))).forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))}))},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=e=>"string"==typeof e?e:`${e}px`;oe({effect:"creative",swiper:t,on:a,setTranslate:()=>{const{slides:e,wrapperEl:s,slidesSizesGrid:a}=t,r=t.params.creativeEffect,{progressMultiplier:n}=r,l=t.params.centeredSlides;if(l){const e=a[0]/2-t.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${e}px))`}for(let s=0;s