initial commit

This commit is contained in:
Paul Spenke
2023-06-09 10:24:36 +08:00
parent 00ceb09c93
commit b493973559
146 changed files with 19956 additions and 0 deletions
Vendored
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
node_modules
+192
View File
@@ -0,0 +1,192 @@
![PHPagebuilder](https://user-images.githubusercontent.com/5946444/67637466-445d4400-f8db-11e9-86ce-6e62ce7ede8a.png)
# PHPagebuilder
> PHPagebuilder is a drag and drop pagebuilder to manage pages in any PHP project.
PHPagebuilder can be used as an ultra lightweight CMS to quickly spin up new websites, or can be integrated into existing projects or your favorite frameworks (such as [this version](https://github.com/HansSchouten/Laravel-Pagebuilder) for Laravel). The server-side code does not depend on any other libraries and is blazing fast. It includes an optional website manager with a [Bootstrap UI](https://getbootstrap.com) and integrates the most popular open source drag and drop pagebuilder: [GrapesJS](https://grapesjs.com/). This package is made with customization in mind, allowing you to configure, disable or replace any of its modules.
## Table of Contents
- [How does it help me?](#how-does-it-help-me)
- [Features](#features)
- [Installation](#installation)
- [Customization](#customization)
## How does it help me?
Whether you are a novice or an experienced web developer, PHPagebuilder can make your life easier if you find yourself in any of the following:
- You just want to create a basic website that you can easily manage from any device.
- You get lost installing, configuring, updating or simply using feature abundant CMS systems like Wordpress, Drupal.
- You don't like the limited page editors in CMSs you've tried.
- You want to build a custom website for a client within a few hours.
- Your clients get lost in feature abundant admin panels like Drupal.
- You hate to rely on messy plugins for features you can write in no-time in plain PHP yourself, but still want to have some admin functionality to allow other people to manage the websites you create.
- You would like to have advanced functionality (search functionality, views displaying data of remote sources, etc.) easily manageable by your clients.
## Features
### Page Builder
PHPagebuilder features a page builder built on [GrapesJS](https://grapesjs.com/).
![PageBuilder](https://user-images.githubusercontent.com/5946444/70818285-97c81a80-1dd3-11ea-84b0-2a6ff3a8765a.png)
### Website Manager
A basic website manager is included with a [Bootstrap](https://getbootstrap.com/) UI. This website manager offers basic functionality to add or remove pages and to edit page settings like page title or URL. Clicking the edit button will open the page builder.
![Website Manager](https://user-images.githubusercontent.com/5946444/67484882-4029f000-f669-11e9-9a1f-8a0e1c53e308.jpg)
You don't want to use the website manager? No worries, it is included for people who want to use PHPagebuilder directly out of the box. Read [here](#customize-the-website-manager) how to disable or replace the website manager.
## Installation
To install PHPagebuilder you either follow the quick start path, for quickly spinning up a new website, or you integrate it in your own framework or favorite project structure.
### Requirements
- PHP version >= 7
- A cool project
### Quick start :rocket:
If you want to quickly start a new project with drag and drop page management functionality, you can download the [boilerplate](https://github.com/HansSchouten/PHPagebuilder-boilerplate) project structure and follow the steps over there.
### Integrate into existing project or framework
#### Add code with Composer
If you are using Composer for managing PHP dependencies, you can simply run:
```
composer require hansschouten/phpagebuilder
```
Next, the PHPagebuilder can be initialised using the following PHP code:
```PHP
require_once __DIR__ . '/vendor/autoload.php';
$config = require __DIR__ . '/config.php';
$builder = new PHPageBuilder\PHPageBuilder($config);
$builder->handleRequest();
```
`config.php` should contain a copy of `config/config.example.php`, filled with your settings.
#### Add code without Composer
Are you not using Composer? No worries, this project is written in plain PHP without any dependencies, so it can be directly included in any PHP project!
Just download the latest release into a separate folder inside your project (we named the folder: `phpagebuilder`).
Next, you simply include the following code in the PHP file that should launch the page builder:
```PHP
$installationFolder = __DIR__ . '/phpagebuilder';
require_once $installationFolder . '/src/Core/helpers.php';
spl_autoload_register('phpb_autoload');
$config = require __DIR__ . '/config.php';
$builder = new PHPageBuilder\PHPageBuilder($config);
$builder->handleRequest();
```
`config.php` should contain a copy of `config/config.example.php`, filled with your settings.
### Configure a database
If you use PHPagebuilder out of the box, it requires a database for storing your pages. Just create a database and run the queries from `config/create-tables.sql`. Next, add the database credentials to your config file.
## Create a theme
The `config.php` contains a config key `theme` in which a `themes_folder` and `active_theme` are specified. To create a new theme, add a new folder to the configured themes folder. The name of this folder will be the identifier of the theme, which can be used to select the theme in the `theme > active_theme` configuration.
A theme should have the following folder structure:
- **/blocks**
The blocks folder contains a sub folder for each block that can be used in the page builder. The folder of a single block contains a `view.php` or a `view.html`. If a `view.html` is used, the block content (the html elements) are fully editable inside the page builder. If `view.php` is used, the block can be rendered with server-side logic (PHP) and hence the html content itself cannot be changed from within the page builder.
- **/layouts**
The layouts folder contains a sub folder for each page layout. A page layout contains a `view.php` file which defines the base html structure with all stylesheets and scripts needed for the blocks dragged on this type of page. Each layout requires the string: `<?= $body ?>` on the location at which the html blocks need to be added in the page layout.
- **/public**
The public folder contains all assets (css, javascript, images, etc) that should be publicly accessible. The `[theme-url]` shortcode can be used to point to a file in the public folder of the currently active theme. For instance the file `public/css/style.css` can be loaded via `<link rel="stylesheet" href="[theme-url]/css/style.css">`.
### Blocks inside blocks
#### Include a block into a block or layout file
A shortcode can be used to include a block inside another block or into a layout file. For instance, adding the shortcode: `[block slug="header"]` to `layouts/master/view.php` includes the block: `blocks/header/view.php` inside each page that uses the `master` layout.
#### Nested blocks in the page builder
To allow dropping blocks into a block in the page builder, a blocks container should be added. To add a blocks container, simply add `[blocks-container]` at the desired location in a block view file. The following html syntax allows dropping blocks inside a bootstrap container element:
```html
<div class="container">
[blocks-container]
</div>
```
An alternative method is adding the `phpb-blocks-container` attribute to a html element, as shown in this example:
```html
<div class="row">
<div class="col-md-6" phpb-blocks-container>
</div>
<div class="col-md-6" phpb-blocks-container>
</div>
</div>
```
## Extending PHPageBuilder
PHPageBuilder allows you to create new blocks and layouts for your theme very easily. This is great for building specific websites & templates, however if you use PHPageBuilder in a CMS environment, you probably want to provide Plugins / Modules the ability to create their own blocks without modifying your theme's pre-existing components.
PHPageBuilder allows you to register blocks, layouts and assets (CSS, JS) from Plugins, Composer Packages or through any other environment.
### Adding a New Block
```php
/**
* @param string $slug - A Unique identifier for the block. Prefix author to avoid conflict.
* @param string $directoryPath - Path to the directory of the Block.
*/
\PHPageBuilder\Extensions::registerBlock($slug, $directoryPath);
// Registering an example block:
\PHPageBuilder\Extensions::registerBlock('foo-navbar', MY_PLUGIN_DIRECTORY . '/blocks/foo-navbar');
```
### Adding a New Layout
```php
/**
* @param string $slug - A Unique identifier for the layout. Prefix author to avoid conflict.
* @param string $directoryPath - Path to the directory of the Layout.
*/
\PHPageBuilder\Extensions::registerLayout($slug, $directoryPath);
// Registering an example layout:
\PHPageBuilder\Extensions::registerLayout('foo-master', MY_PLUGIN_DIRECTORY . '/layouts/foo-master');
```
### Adding Assets (CSS & JS)
```php
/**
* @param string $src - URL of the Asset file.
* @param string $type - 'style' or 'script'
* @param string $location - 'header' or 'footer'
* @param array['$key' => '$value'] $attributes - Array of attributes to add to the tag.
*/
\PHPageBuilder\Extensions::registerAsset($src, $type, $location, $attributes = []);
// Registering assets:
\PHPageBuilder\Extensions::registerAsset('/assets/bootstrap.css', 'style', 'header');
\PHPageBuilder\Extensions::registerAsset('/assets/alpine.min.js', 'script', 'header', [
'defer' => true
]);
```
Blocks & Layouts are created in the same manner as described in [Create A Theme](#create-a-theme), but they aren't limited to any theme directory.
## Customize PHPageBuilder
PHPagebuilder is build with customization in mind. It comes with an extensive example config file in wich you can easily adapt the pagebuilder to your needs.
PHPagebuilder consists of four modules (Auth, Website Manager, Pagebuilder, Routing) each of which you can disable or replace with your own implementation. To replace a module with your own implementation, implement the corresponding Contract and replace the default class by your own class in the config file.
### Customize the Website Manager
#### Disable the module
Do you already have admin login functionality in your project? Then you can disable the website manager module by setting `use_website_manager` to `false` in your config. Next, you use or implement the page create/edit/remove functionality in your project and then directly launch the pagebuilder. You can render the pagebuilder from your project by using the `PHPageBuilder\Modules\GrapesJS\PageBuilder` class.
#### Replace the module
If you want to use the CMS routing functionality of PHPagebuilder, but you want to have a different website manager, you can replace the website manager for your own implementation. Make sure leave `use_website_manager` to `true` in your config, implement the WebsiteManagerContract and add your own class to your config file.
+34
View File
@@ -0,0 +1,34 @@
import { build } from 'vite';
// libraries
const libraries = [
{
entry: './src/Modules/WebsiteManager/resources/assets/entry.js',
name: 'WebsiteManager',
fileName: 'WebsiteManager',
},
{
entry: './src/Modules/GrapesJS/resources/assets/entry.js',
name: 'GrapesJS',
fileName: 'GrapesJS',
},
];
// build
libraries.forEach(async (libItem) => {
await build({
configFile: false,
build: {
lib: libItem,
emptyOutDir: false,
rollupOptions: {
output: {
assetFileNames: (assetInfo) => {
if (assetInfo.name === 'style.css') return `${libItem.fileName}.css`;
return assetInfo.name;
},
},
},
},
});
});
+27
View File
@@ -0,0 +1,27 @@
{
"name": "hansschouten/phpagebuilder",
"description": "A drag and drop pagebuilder to manage pages in any PHP project.",
"keywords": [
"pagebuilder"
],
"homepage": "https://github.com/HansSchouten/PHPagebuilder",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Hans Schouten",
"email": "hans@falcosolutions.nl"
}
],
"require": {
"php": ">=7.0"
},
"autoload": {
"psr-4": {
"PHPageBuilder\\": "src/"
},
"files": [
"src/Core/helpers.php"
]
}
}
BIN
View File
Binary file not shown.
+180
View File
@@ -0,0 +1,180 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| General settings
|--------------------------------------------------------------------------
|
| General settings for configuring the PageBuilder.
| If you install phpb with Composer, general.assets_url line must be:
| 'assets_url' => '/vendor/hansschouten/phpagebuilder/dist',
|
*/
'general' => [
'base_url' => 'http://localhost',
'language' => 'en',
'assets_url' => '/assets',
'uploads_url' => '/uploads'
],
/*
|--------------------------------------------------------------------------
| Storage settings
|--------------------------------------------------------------------------
|
| Database and file storage settings.
|
*/
'storage' => [
'use_database' => true,
'database' => [
'driver' => 'mysql',
'host' => 'localhost',
'database' => '',
'username' => '',
'password' => '',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
],
'uploads_folder' => __DIR__ . '/uploads'
],
/*
|--------------------------------------------------------------------------
| Auth settings
|--------------------------------------------------------------------------
|
| By default an authentication class is provided which checks for the
| credentials configured in this setting block.
|
*/
'auth' => [
'use_login' => true,
'class' => PHPageBuilder\Modules\Auth\Auth::class,
'url' => '/admin/auth',
'username' => 'admin',
'password' => 'changethispassword'
],
/*
|--------------------------------------------------------------------------
| WebsiteManager settings
|--------------------------------------------------------------------------
|
| By default a basic WebsiteManager is provided for creating/editing pages.
|
*/
'website_manager' => [
'use_website_manager' => true,
'class' => PHPageBuilder\Modules\WebsiteManager\WebsiteManager::class,
'url' => '/admin'
],
/*
|--------------------------------------------------------------------------
| Website settings
|--------------------------------------------------------------------------
|
| By default a setting class is provided for accessing website settings.
|
*/
'setting' => [
'class' => PHPageBuilder\Setting::class
],
/*
|--------------------------------------------------------------------------
| PageBuilder settings
|--------------------------------------------------------------------------
|
| By default a PageBuilder is provided based on GrapesJS.
|
*/
'pagebuilder' => [
'class' => PHPageBuilder\Modules\GrapesJS\PageBuilder::class,
'url' => '/admin/pagebuilder',
'actions' => [
'back' => '/admin'
]
],
/*
|--------------------------------------------------------------------------
| Page settings
|--------------------------------------------------------------------------
|
| By default a Page class is provided with knowledge about its layout and URL.
|
*/
'page' => [
'class' => PHPageBuilder\Page::class,
'table' => 'pages',
'translation' => [
'class' => PHPageBuilder\PageTranslation::class,
'table' => 'page_translations',
'foreign_key' => 'page_id',
]
],
/*
|--------------------------------------------------------------------------
| Cache settings
|--------------------------------------------------------------------------
|
| Faster load time by skipping block parsing if the page has been requested before.
| A page will be cached, except if it contains a block with caching set to false.
| This can be used to prevent caching pages with content that varies per page load.
| The cached html is removed if the page is saved again in the page builder.
|
*/
'cache' => [
'enabled' => false,
'folder' => __DIR__ . '/cache',
'class' => PHPageBuilder\Cache::class
],
/*
|--------------------------------------------------------------------------
| Theme settings
|--------------------------------------------------------------------------
|
| PageBuilder requires a themes folder in which for each theme the individual
| theme blocks are defined. A theme block is a sub folder in the themes folder
| containing a view, model (optional) and controller (optional).
|
*/
'theme' => [
'class' => PHPageBuilder\Theme::class,
'folder' => __DIR__ . '/themes',
'folder_url' => '/themes',
'active_theme' => 'demo'
],
/*
|--------------------------------------------------------------------------
| Routing settings
|--------------------------------------------------------------------------
|
| Settings for resolving pages based on the current URI.
|
*/
'router' => [
'class' => PHPageBuilder\Modules\Router\DatabasePageRouter::class
],
/*
|--------------------------------------------------------------------------
| Class replacements
|--------------------------------------------------------------------------
|
| Allows mapping a class namespace to an alternative namespace,
| useful for replacing implementations of specific pagebuilder classes.
| Example: PHPageBuilder\UploadedFile::class => Alternative\UploadedFile::class
| Important: when overriding a class always extend the original class.
|
*/
'class_replacements' => [
],
];
+208
View File
@@ -0,0 +1,208 @@
-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: mysql
-- Erstellungszeit: 05. Jun 2023 um 09:11
-- Server-Version: 8.0.31
-- PHP-Version: 8.2.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Datenbank: `phpagebuilder`
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `menus`
--
CREATE TABLE `menus` (
`id` int NOT NULL,
`name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
`pages` mediumtext CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Daten für Tabelle `menus`
--
INSERT INTO `menus` (`id`, `name`, `pages`) VALUES
(1, 'Main', '1,3'),
(2, 'Footer', '1');
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `pages`
--
CREATE TABLE `pages` (
`id` int NOT NULL,
`name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`layout` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`data` longtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Daten für Tabelle `pages`
--
INSERT INTO `pages` (`id`, `name`, `layout`, `data`, `updated_at`, `created_at`) VALUES
(1, 'Home', 'master', NULL, '2023-06-05 07:10:09', '2023-06-05 07:10:09'),
(2, 'Sitemap', 'sitemap', NULL, '2023-06-05 07:11:15', '2023-06-05 07:10:41'),
(3, 'About', 'master', NULL, '2023-06-05 07:10:57', '2023-06-05 07:10:57');
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `page_translations`
--
CREATE TABLE `page_translations` (
`id` int NOT NULL,
`page_id` int NOT NULL,
`locale` varchar(50) NOT NULL,
`title` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`meta_title` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`meta_description` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`route` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL,
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Daten für Tabelle `page_translations`
--
INSERT INTO `page_translations` (`id`, `page_id`, `locale`, `title`, `meta_title`, `meta_description`, `route`, `updated_at`, `created_at`) VALUES
(1, 1, 'de', 'Home', 'Home', 'Home', '/', '2023-06-05 07:10:09', '2023-06-05 07:10:09'),
(2, 2, 'de', 'Sitemap', '', '', '/sitemap.xml', '2023-06-05 07:10:41', '2023-06-05 07:10:41'),
(3, 3, 'de', 'About', 'About', 'Description', '/about', '2023-06-05 07:10:57', '2023-06-05 07:10:57');
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `settings`
--
CREATE TABLE `settings` (
`id` int NOT NULL,
`setting` varchar(50) NOT NULL,
`value` mediumtext NOT NULL,
`is_array` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `uploads`
--
CREATE TABLE `uploads` (
`id` int NOT NULL,
`public_id` varchar(50) NOT NULL,
`original_file` varchar(512) NOT NULL,
`mime_type` varchar(50) NOT NULL,
`server_file` varchar(512) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Indizes der exportierten Tabellen
--
--
-- Indizes für die Tabelle `menus`
--
ALTER TABLE `menus`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `menu` (`name`);
--
-- Indizes für die Tabelle `pages`
--
ALTER TABLE `pages`
ADD PRIMARY KEY (`id`);
--
-- Indizes für die Tabelle `page_translations`
--
ALTER TABLE `page_translations`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `page_id` (`page_id`,`locale`);
--
-- Indizes für die Tabelle `settings`
--
ALTER TABLE `settings`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `setting` (`setting`);
--
-- Indizes für die Tabelle `uploads`
--
ALTER TABLE `uploads`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `public_id` (`public_id`),
ADD UNIQUE KEY `server_file` (`server_file`);
--
-- AUTO_INCREMENT für exportierte Tabellen
--
--
-- AUTO_INCREMENT für Tabelle `menus`
--
ALTER TABLE `menus`
MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT für Tabelle `pages`
--
ALTER TABLE `pages`
MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT für Tabelle `page_translations`
--
ALTER TABLE `page_translations`
MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT für Tabelle `settings`
--
ALTER TABLE `settings`
MODIFY `id` int NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT für Tabelle `uploads`
--
ALTER TABLE `uploads`
MODIFY `id` int NOT NULL AUTO_INCREMENT;
--
-- Constraints der exportierten Tabellen
--
--
-- Constraints der Tabelle `page_translations`
--
ALTER TABLE `page_translations`
ADD CONSTRAINT `page_translations_ibfk_1` FOREIGN KEY (`page_id`) REFERENCES `pages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+1
View File
File diff suppressed because one or more lines are too long
+689
View File
@@ -0,0 +1,689 @@
$(document).ready(function() {
$(".gjs-editor").append($("#toggle-sidebar")), $(".gjs-pn-panels").prepend($("#sidebar-header")), $(".gjs-pn-panels").append($("#sidebar-bottom-buttons")), $("#toggle-sidebar").click(function() {
$("#gjs").toggleClass("sidebar-collapsed"), f();
}), w(), window.editor.on("run:open-sm", function(u) {
$(".gjs-trt-traits").parent().parent().css("display", "none"), $(".gjs-sm-sectors").parent().parent().css("display", "block"), $("#gjs-sm-advanced .gjs-sm-properties").append($(".gjs-clm-tags"));
}), window.editor.on("run:open-tm", function(u) {
$(".gjs-sm-sectors").parent().parent().css("display", "none"), $(".gjs-trt-traits").parent().parent().css("display", "block");
}), window.editor.on("block:drag:start", function(u) {
w();
}), window.editor.on("rteToolbarPosUpdate", function(u) {
!window.editor || !window.editor.getSelected() || !window.editor.getSelected().getEl() || setTimeout(function() {
let b = $(".gjs-rte-toolbar").first();
if (b.offset().top < u.elementTop + 0.5 * u.elementHeight) {
let C = u.elementTop - b.height();
C > 0 && b.css("top", C + "px");
}
}, 0);
});
function w() {
$(window).width() < 1e3 && ($("#gjs").addClass("sidebar-collapsed"), f());
}
function f() {
window.editor.trigger("change:canvasOffset canvasScroll");
}
let d = !1;
$(document).keydown(function(u) {
u.which === 8 && (d = !0);
}).keyup(function(u) {
u.which === 8 && (d = !1);
}), $(window).on("beforeunload", function(u) {
d && u.preventDefault();
});
});
function I() {
$(".gjs-blocks-cs").prepend($("#block-search"));
}
window.addEventListener("message", W, !1);
function W(w) {
w.data === "page-loaded" ? ($("#phpb-loading").addClass("loaded"), I(), window.isLoaded = !0, $(window).trigger("pagebuilder-page-loaded")) : w.data === "touch-start" && window.touchStart();
}
$(document).on("input", "#block-search input", function() {
let w = $(this).val().toLowerCase();
$(".gjs-block-category").each(function() {
let f = !1;
$(this).find(".gjs-block").each(function() {
$(this).data("original-html") || $(this).data("original-html", $(this).html());
let d = $(this).text();
if (d.toLowerCase().includes(w)) {
$(this).removeClass("d-none"), f = !0;
let u = new RegExp("(" + w + ")", "gi"), o = d.replace(u, "<b>$1</b>");
$(this).find(".gjs-block-label").html(
$(this).data("original-html").replace(d.trim(), o)
);
} else
$(this).addClass("d-none");
}), $(this).removeClass("d-none"), f || $(this).addClass("d-none");
});
});
(function() {
window.customBuilderScripts = {}, window.editor.on("component:create", (f) => {
if (f.components().length) {
let d = f.components().models[f.components().length - 1];
if (d.attributes.type === "script") {
let u = f.attributes.attributes["block-id"];
u === void 0 && (u = f.attributes.attributes.id);
let o = d, b = !1;
for (; o.parent(); )
if (o = o.parent(), o.attributes.attributes["phpb-content-container"]) {
b = !0;
break;
}
b && (window.customBuilderScripts[u] = d.toHTML(), d.remove());
}
}
}), window.editor.on("component:add", function(f) {
if (f.attributes["run-builder-script"] !== void 0) {
let d = customBuilderScripts;
window.customBuilderScripts[f.attributes["block-id"]] = customBuilderScripts[f.attributes["run-builder-script"]], runScriptsOfComponentAndChildren(f), window.customBuilderScripts = d, delete f.attributes["run-builder-script"];
}
}), window.editor.on("sorter:drag:end", function(f) {
let d = f.modelToDrop;
d && d.attributes && (d.attributes["block-id"] || d.attributes.id) && window.runScriptsOfComponentAndChildren(d);
for (let u in CKEDITOR.instances)
CKEDITOR.instances[u].destroy(!0);
}), window.runScriptsOfComponentAndChildren = function(f) {
w(f), f.components().each(function(d) {
runScriptsOfComponentAndChildren(d);
});
};
function w(f) {
let d = f.attributes["block-id"];
if (d === void 0 && (d = f.attributes.attributes.id), d && window.customBuilderScripts[d] !== void 0) {
let u = f.attributes["style-identifier"], o = $("<container>").append(window.customBuilderScripts[d]);
o.find("script").prepend("let inPageBuilder = true;"), o.find("script").prepend('let blockSelector = ".' + u + '";'), o.find("script").prepend('let block = document.getElementsByClassName("' + u + '")[0];'), o.find("script").prepend("(function(){"), o.find("script").append("})();");
let b = document.createElement("script");
b.type = "text/javascript", b.innerHTML = o.find("script").html(), window.editor.Canvas.getDocument().body.appendChild(b);
}
}
})();
(function() {
function w() {
d();
let t = document.createElement("script");
t.type = "text/javascript", t.src = window.injectionScriptUrl;
let e = t.outerHTML + "<script>" + f.toString() + f.name + "()<\/script>";
window.initialComponents = window.initialComponents.replace("</body>", e + "</body>"), $.each(window.languages, (n, l) => {
window.pageBlocks[n] === null && (window.pageBlocks[n] = {});
}), activateLanguage(window.currentLanguage);
}
function f() {
let t = document.querySelectorAll("script");
for (let e = 0; e < t.length; e++) {
let n = t[e];
if (n.innerHTML.startsWith("var script")) {
let l = n.innerHTML.split("=")[0], r = parseInt(l.replace("var script", ""));
if (Number.isInteger(r)) {
let g = "script" + r + "Start";
if (typeof window[g] == "function")
return r !== 0 && window[g](), !1;
}
}
}
}
function d() {
for (let t in window.themeBlocks) {
let e = window.themeBlocks[t], n = $("<container>").append(e.content);
n.find("[phpb-blocks-container]").each(function() {
$(this).html() !== "" && $(this).html().trim() === "" && $(this).html("");
}), window.themeBlocks[t].content = n.html(), e.content = n.html(), editor.BlockManager.add(t, e);
}
}
$("#language-selector select").on("change", function() {
let t = $(this).find("option:selected").val();
window.switchLanguage(t, function() {
activateLanguage(t);
});
}), window.activateLanguage = function(t) {
window.currentLanguage = t, window.editor.select(), window.editor.DomComponents.clear(), window.editor.DomComponents.componentsById = [], window.editor.UndoManager.clear(), window.editor.Canvas.getDocument().querySelectorAll("script").forEach(function(e) {
e.remove();
}), window.editor.setComponents(window.initialComponents), o(editor.getWrapper()), window.editor.getWrapper().find("[phpb-content-container]").forEach((e, n) => {
e.set("custom-name", window.translations["page-content"]), e.components(window.contentContainerComponents[n]), u(e), C(e);
});
}, $(window).on("pagebuilder-page-loaded", function(t) {
window.editor.getWrapper().find("[phpb-content-container]").forEach((e) => {
s(e), window.runScriptsOfComponentAndChildren(e);
}), window.setWaiting(!1), setTimeout(function() {
window.changesOffset = window.editor.getModel().get("changesCount"), window.afterInitialRendering = !0;
}, 250);
});
function u(t) {
let e = t;
if (t.get("tagName") === "phpb-block") {
let n = t.attributes.attributes.id;
window.pageBlocks[window.currentLanguage][n] !== void 0 && window.pageBlocks[window.currentLanguage][n].html !== void 0 && (e = t.replaceWith(window.pageBlocks[window.currentLanguage][n].html), window.pageBlocks[window.currentLanguage][n].html = "");
}
e.get("components").each((n) => u(n));
}
function o(t) {
"phpb-content-container" in t.attributes.attributes || (p(t), t.get("components").each((e) => o(e)));
}
window.editor.on("component:selected", function(t) {
v(t) ? $(".gjs-pn-buttons .gjs-pn-btn:nth-of-type(2)").click() : t.get("type") === "" && b(t) && ($(".gjs-pn-buttons .gjs-pn-btn:nth-of-type(3)").click(), $("#gjs-sm-position").hasClass("gjs-sm-open") && $("#gjs-sm-position").find(".gjs-sm-title").click(), $("#gjs-sm-background").hasClass("gjs-sm-open") || $("#gjs-sm-background").find(".gjs-sm-title").click()), v(t) || setTimeout(function() {
$(".gjs-trt-traits").html('<p class="no-settings">' + window.translations["trait-manager"]["no-settings"] + "</p>");
}, 0), setTimeout(function() {
t.attributes.removable || $(".gjs-toolbar .fa-trash-o.gjs-toolbar-item").hide(), t.attributes.copyable || $(".gjs-toolbar .fa-clone.gjs-toolbar-item").hide(), t.attributes.draggable || $(".gjs-toolbar .fa-arrows.gjs-toolbar-item").hide(), !t.attributes.removable && !t.attributes.copyable && !t.attributes.draggable && window.editor.select(t.parent());
let e = t.attributes["block-slug"];
if (e) {
let l = window.themeBlocks[e].label.split("</div>");
l.length > 1 && $(".gjs-toolbar").attr("title", "Bloknaam: " + l[1]);
}
}, 0);
}), window.editor.on("component:clone", function(t) {
if (!B) {
let e = window.editor.getWrapper().find("." + t.attributes["style-identifier"])[0];
t.attributes["style-identifier"] !== void 0 && t.attributes["style-identifier"] !== "" && (t.removeClass(t.attributes["style-identifier"]), delete t.attributes["style-identifier"], a(t)), t.attributes["block-id"] = t.attributes["block-slug"], e && window.customBuilderScripts[e.attributes["block-id"]] !== void 0 && (t.attributes["run-builder-script"] = e.attributes["block-id"]);
}
});
function b(t) {
let e = !1, n = t.getEl();
if (n && n.style) {
let l = window.getComputedStyle(n);
["background", "background-image", "background-color"].forEach((r) => {
let g = l.getPropertyValue(r);
g !== void 0 && g !== "" && !g.includes("none") && !g.includes("rgba(0, 0, 0, 0)") && (e = !0);
});
}
return e;
}
function v(t) {
return t.attributes.traits.length > 0;
}
window.editor.on("block:drag:stop", function(t) {
if (!t || !t.attributes || !t.attributes.attributes)
return;
let e = h();
t.attributes.attributes["dropped-component-id"] = e;
let n = t.parent();
C(t), n.components().each(function(l) {
l.attributes["dropped-component-id"] === e && (delete l.attributes["dropped-component-id"], t = l);
}), s(t), window.runScriptsOfComponentAndChildren(t);
});
function C(t) {
if (t.attributes.tagName === "phpb-block") {
let e = t.parent(), n = cloneComponent(t), l;
t.attributes.attributes["is-html"] === "false" ? e.components().each(function(r) {
if (r.cid === t.cid) {
let g = "wrapper" in t.attributes.attributes ? t.attributes.attributes.wrapper : "div";
l = t.replaceWith({ tagName: g }), l.attributes["is-style-wrapper"] = !0, n.components().each(function(S) {
l.append(cloneComponent(S));
});
}
}) : e.components().each(function(r) {
if (r.cid === t.cid)
if (n.components().length === 1) {
let g = cloneComponent(n.components().models[0]);
l = t.replaceWith(g);
} else
l = t.replaceWith({ tagName: "div" }), l.attributes["is-style-wrapper"] = !0, n.components().each(function(g) {
l.append(cloneComponent(g));
});
}), t.remove(), i(n, l, !0, !1), D(l), C(l);
} else
t.components().each(function(e) {
C(e);
});
}
function j(t) {
let e = [], n = t, l = !1;
for (; n.parent() && n.parent().attributes.attributes["phpb-blocks-container"] === void 0 && n.parent().attributes["is-html"] !== "true" && n.parent().attributes.attributes["phpb-content-container"] === void 0; )
n.parent().attributes["is-html"] === "false" && (l = !0), n.attributes["block-id"] !== void 0 && e.push(n.attributes["block-id"]), n = n.parent();
let r = t.attributes["block-id"];
l ? r = n.attributes["block-id"] : e = [];
let g = window.pageBlocks[window.currentLanguage][r];
e.reverse().forEach(function(y) {
g === void 0 || g.blocks === void 0 || g.blocks[y] === void 0 ? g = {} : g = g.blocks[y];
});
let S = {};
return g !== void 0 && g.settings !== void 0 && g.settings.attributes !== void 0 && (S = g.settings.attributes), S;
}
function D(t) {
if (window.blockSettings[t.attributes["block-slug"]] === void 0)
return;
t.attributes.settings = {};
let e = j(t);
e["style-identifier"] !== void 0 && t.addClass(e["style-identifier"]), t.attributes["is-updating"] = !0, window.blockSettings[t.attributes["block-slug"]].forEach(function(l) {
let r = t.addTrait(l);
e[l.name] !== void 0 ? r.setTargetValue(e[l.name]) : l["default-value"] !== void 0 && r.setTargetValue(l["default-value"]);
}), t.attributes["is-updating"] = !1;
}
window.editor.on("component:update", function(t) {
if (window.isLoaded !== !0 || t.attributes["block-slug"] === void 0 || t.attributes["is-updating"] || t.changed.attributes === void 0 || $(".gjs-frame").contents().find("#" + t.ccid).length === 0)
return;
let e = [], n = t, l = !1;
for (; n.parent() && n.parent().attributes.attributes["phpb-blocks-container"] === void 0 && n.parent().attributes["is-html"] !== "true" && n.parent().attributes.attributes["phpb-content-container"] === void 0; )
n.parent().attributes["is-html"] === "false" && (l = !0), n.attributes["block-id"] !== void 0 && e.push(n.attributes["block-id"]), n = n.parent();
l ? t = n : e = [], t.attributes["is-updating"] = !0, $(".gjs-frame").contents().find("#" + t.ccid).addClass("gjs-freezed");
let r = window.editor.getWrapper().find("#" + t.ccid)[0].parent(), g = window.getComponentDataInStorageFormat(t);
$.ajax({
type: "POST",
url: window.renderBlockUrl,
data: {
data: JSON.stringify(g),
language: window.currentLanguage
},
success: function(S) {
let y = $(S).attr("block-id");
window.pageBlocks[window.currentLanguage][y] = g.blocks[y] === void 0 ? {} : g.blocks[y], t.replaceWith(S), u(r), C(r), s(r, !1, !1);
let O = T(r, [y]);
runScriptsOfComponentAndChildren(O), e.push(y);
let L = T(r, e.reverse());
window.editor.select(L);
},
error: function() {
$(".gjs-frame").contents().find("#" + t.ccid).removeClass("gjs-freezed"), t.attributes["is-updating"] = !1, window.toastr.error(window.translations["toastr-component-update-failed"]);
}
});
});
function T(t, e) {
if (e.length === 0)
return t;
let n = null;
return t.components().each(function(l) {
if (l.attributes["block-id"] === e[0])
return n = T(l, e.slice(1)), !1;
}), t.components().each(function(l) {
let r = T(l, e);
if (r !== null)
return n = r, !1;
}), n;
}
let B = !1;
window.cloneComponent = function(t) {
B = !0;
let e = t.clone();
return E(t, e), B = !1, e;
};
function E(t, e) {
i(t, e, !1, !0);
for (let n = 0; n < t.components().length; n++) {
let l = t.components().models[n], r = e.components().models[n];
E(l, r);
}
}
function i(t, e, n, l) {
let r = t.attributes.attributes;
for (let g in r)
l && (e.attributes.attributes[g] = r[g]), n && (e.attributes[g] = r[g]);
}
function s(t, e = !1, n = !0) {
if (p(t), t.attributes.attributes["phpb-content-container"] !== void 0)
t.set({
droppable: !0,
hoverable: !0
});
else if (t.attributes["block-slug"] !== void 0) {
t.find("[phpb-hide-if-not-editable]").forEach((r) => {
n || window.afterInitialRendering ? r.addClass("editable") : r.removeClass("editable");
});
let l = {
selectable: !0,
hoverable: !0
};
e || (l = {
removable: !0,
draggable: !0,
copyable: !0,
selectable: !0,
hoverable: !0,
stylable: !0
}, a(t)), t.attributes["is-html"] === "true" ? (e = !1, n = !0) : (e = !0, n = !1, t.getEl().setAttribute("data-cursor", "default")), t.set(l);
}
if (t.attributes.attributes["data-raw-content"] !== void 0) {
t.set({ editable: !0 });
return;
}
if (n && (c(t), t.attributes["made-text-editable"] === "true")) {
t.attributes.attributes["data-raw-content"] = "true";
let l = t.replaceWith(t.toHTML());
["block-id", "block-slug", "is-html", "style-identifier"].forEach((r) => {
l.attributes[r] = t.attributes[r];
}), s(l);
return;
}
t.get("components").each((l) => s(l, e, n));
}
function c(t) {
let e = t.get("tagName"), n = [
//'div','span', // needed for editable bootstrap alert, but cannot be used since divs (block containers) then cannot be removed
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"h7",
"p",
"small",
"b",
"strong",
"i",
"em",
"label",
"button",
"ol",
"ul",
"li",
"table"
], l = [
"img"
], r = {};
"phpb-blocks-container" in t.attributes.attributes && (r.hoverable = !0, r.selectable = !0, r.droppable = !0), n.includes(e) || "phpb-editable" in t.attributes.attributes ? (r.editable = !0, t.attributes["made-text-editable"] = "true") : l.includes(e) && (r.editable = !0), b(t) && (r.hoverable = !0, r.selectable = !0, r.stylable = !0), e === "a" && (r.hoverable = !0, r.selectable = !0, r.stylable = !0, r.removable = !0), $.isEmptyObject(r) || (t.set(r), r.stylable !== void 0 && r.stylable && a(t));
}
function a(t) {
let e = !1;
t.getClasses().forEach((n) => {
n.startsWith("ID") && n.length === 16 && (e = n);
}), t.attributes["style-identifier"] === void 0 && (t.attributes["style-identifier"] = e || h()), t.addClass(t.attributes["style-identifier"]);
}
function p(t) {
t.set({
removable: !1,
draggable: !1,
droppable: !1,
badgable: !1,
stylable: !1,
highlightable: !1,
copyable: !1,
resizable: !1,
editable: !1,
layerable: !1,
selectable: !1,
hoverable: !1
});
}
let k = 0;
function h() {
return "ID" + (Date.now().toString(36) + Math.random().toString(36).substr(2, 5) + k++).toUpperCase();
}
function m() {
window.grapesJSLoaded ? w() : setTimeout(m, 100);
}
m();
})();
$(document).ready(function() {
window.pageData = {}, window.changesOffset = 0, window.onbeforeunload = w;
function w() {
if (window.editor.getModel().get("changesCount") - window.changesOffset > 0)
return "Are you sure? There are unsaved changes.";
}
$("#save-page").click(function() {
o();
}), $(document).bind("keydown", function(i) {
if (i.ctrlKey && i.which === 83)
return window.editor.store(), o(), i.preventDefault(), !1;
}), window.switchLanguage = function(i, s) {
window.setWaiting(!0), u(function() {
f(i);
let c = window.pageData;
c.blocks = { [i]: window.pageBlocks[i] }, $.ajax({
type: "POST",
url: window.renderLanguageVariantUrl,
data: {
data: JSON.stringify(c),
language: i
},
success: function(a) {
a = JSON.parse(a), window.pageBlocks[i] = a.dynamicBlocks ? a.dynamicBlocks : {}, s();
},
error: function(a) {
s(), console.log(a);
let p = a.statusText + " " + a.status;
p = a.responseJSON.message ? p + ': "' + a.responseJSON.message + '"' : p, window.toastr.error(p), window.toastr.error(window.translations["toastr-switching-language-failed"]);
}
});
});
};
function f(i) {
let s = window.pageBlocks[i], c = window.pageBlocks[window.currentLanguage];
if (s === void 0)
s = c;
else {
d(c, s);
for (let a in c)
s[a] === void 0 && (s[a] = c[a]);
}
for (let a in c) {
let p = $("<container>" + c[a].html + "</container>"), k = $("<container>" + s[a].html + "</container>");
p.find("[phpb-blocks-container]").each(function(h) {
let m = $(this).html();
k.find("[phpb-blocks-container]").eq(h).html(m);
}), s[a].html = k.html();
}
window.pageBlocks[i] = s;
}
function d(i, s) {
for (let c in i)
if (s[c] !== void 0)
for (let a in i[c].blocks) {
let p = i[c].blocks[a], k = s[c].blocks[a];
if (!p || !k)
continue;
let h = p.html.match(/phpb-blocks-container(.*)>(.*)</g), m = k.html.match(/phpb-blocks-container(.*)>(.*)</g);
if (!(!h || !m))
for (let t = 0; t < h.length; t++)
s[c].blocks[a].html = s[c].blocks[a].html.replace(m[t], h[t]);
}
}
function u(i) {
setTimeout(function() {
window.pageData = {
html: [],
components: [],
css: null,
style: null
}, window.pageBlocks[window.currentLanguage] = [], window.editor.getWrapper().find("[phpb-content-container]").forEach((s, c) => {
let a = v(s);
window.pageData.css = a.css, window.pageData.style = a.style, window.pageData.html[c] = a.html, window.pageData.components[c] = a.components, window.pageBlocks[window.currentLanguage] = { ...window.pageBlocks[window.currentLanguage], ...a.blocks }, window.contentContainerComponents[c] = a.components;
}), i && i();
}, 200);
}
function o() {
E(), u(function() {
$.each(window.languages, (s, c) => {
s !== window.currentLanguage && f(s);
});
let i = window.pageData;
i.style = b(i.css, i.style), i.blocks = window.pageBlocks, $.ajax({
type: "POST",
url: $("#save-page").data("url"),
data: {
data: JSON.stringify(i)
},
success: function() {
E(), window.toastr.success(window.translations["toastr-changes-saved"]), setTimeout(function() {
window.changesOffset = window.editor.getModel().get("changesCount");
}, 250);
},
error: function(s) {
E(), console.log(s);
let c = s.statusText + " " + s.status;
c = s.responseJSON.message ? c + ': "' + s.responseJSON.message + '"' : c, window.toastr.error(c), window.toastr.error(window.translations["toastr-saving-failed"]);
}
});
});
}
function b(i, s) {
let c = [];
return s.forEach((a) => {
if (a.attributes.selectors.models.length) {
let p = a.attributes.selectors.models[0].id;
i.includes(p) && c.push(a);
}
}), c;
}
window.getComponentDataInStorageFormat = function(i) {
let s = window.cloneComponent(i.parent());
return s.get("components").reset(), s.append(i), v(s);
};
function v(i) {
let s = window.editor.DomComponents.componentsById;
window.editor.DomComponents.componentsById = [], i = window.cloneComponent(i);
let c = D(i).blocks, a = window.html_beautify(C(i)), p = window.editor.getCss(), k = window.editor.getStyle(), h = JSON.parse(JSON.stringify(i.get("components")));
return window.editor.DomComponents.componentsById = s, {
html: a,
css: p,
components: h,
blocks: c,
style: k
};
}
function C(i) {
let s = "";
i.get("components").forEach((a) => s += a.toHTML());
let c = $("<container>" + s + "</container>");
return c.find("phpb-block").each(function() {
$(this).replaceWith('[block slug="' + $(this).attr("slug") + '" id="' + $(this).attr("id") + '"]');
}), c.html();
}
function j(i) {
let s = $("<container>" + i.toHTML() + "</container>");
return s.find("phpb-block").each(function() {
$(this).replaceWith('[block slug="' + $(this).attr("slug") + '" id="' + $(this).attr("id") + '"]');
}), s.html();
}
function D(i, s = !1, c = !1) {
let a = {
current_block: { settings: {}, blocks: {}, html: "", is_html: !1 },
blocks: {}
}, p = s, k = c;
if (i.attributes["block-id"] !== void 0 && (i.attributes["is-html"] === "false" ? (p = !0, k = !1) : s && (p = !1, k = !0)), i.get("components").forEach(function(h) {
let m = D(h, p, k);
for (let t in m.current_block.blocks)
a.current_block.blocks[t] = m.current_block.blocks[t];
for (let t in m.blocks)
a.blocks[t] = m.blocks[t];
}), !i.parent() || i.attributes["block-id"] === void 0)
return a;
if (i.attributes["is-html"] === "true")
if (s)
a.current_block.blocks[i.attributes["block-id"]] = { settings: {}, blocks: {}, html: window.html_beautify(j(i)), is_html: !0 };
else {
i.attributes["style-identifier"] !== void 0 && (a.current_block.settings.attributes = { "style-identifier": i.attributes["style-identifier"] });
let h = i.attributes["block-id"];
i.attributes["block-id"].startsWith("ID") || (h = B()), i.replaceWith({
tagName: "phpb-block",
attributes: {
slug: i.attributes["block-slug"],
id: h
}
}), a.blocks[h] = { settings: a.current_block.settings, blocks: {}, html: window.html_beautify(j(i)), is_html: !0 }, a.current_block = { settings: {}, blocks: {}, html: "", is_html: !1 };
}
else {
let h = {};
i.get("traits").each(function(t) {
h[t.get("name")] = t.getTargetValue();
}), a.current_block.settings.attributes = h, i.attributes["style-identifier"] !== void 0 && (a.current_block.settings.attributes["style-identifier"] = i.attributes["style-identifier"]);
let m = i.attributes["block-id"];
if (i.attributes["block-id"].startsWith("ID") || (m = B()), i.replaceWith({
tagName: "phpb-block",
attributes: {
slug: i.attributes["block-slug"],
id: m
}
}), s) {
let t = { settings: {}, blocks: {}, html: "", is_html: !1 };
t.blocks[i.attributes["block-id"]] = a.current_block, a.current_block = t;
} else
a.blocks[m] = a.current_block, a.current_block = { settings: {}, blocks: {}, html: "", is_html: !1 };
}
return a;
}
let T = 0;
function B() {
return "ID" + (Date.now().toString(36) + Math.random().toString(36).substr(2, 5) + T++).toUpperCase();
}
window.setWaiting = function(i) {
let s = window.editor.DomComponents.getWrapper();
i ? s.addClass("gjs-waiting") : s.removeClass("gjs-waiting");
};
function E() {
let i = $("#save-page");
i.blur(), i.hasClass("waiting") ? (i.attr("disabled", !1), i.removeClass("waiting"), i.find(".spinner-border").addClass("d-none")) : (i.attr("disabled", !0), i.addClass("waiting"), i.find(".spinner-border").removeClass("d-none"));
}
});
$(document).ready(function() {
window.CKEDITOR.on("instanceReady", function(w) {
w.editor.on("paste", function(f) {
let d = f.data.dataValue;
d = d.replace(/<(?!\/?(?:a|table|tr|td|th|thead|tbody|tfoot|caption|col|colgroup|p|ul|ol|li|br|strong|em|b|i|u|strike|sub|sup|h1|h2|h3|h4|h5|h6|blockquote|pre|hr)\b)[^>]+>/gm, ""), d = d.replace(/<(a|table|tr|td|th|thead|tbody|tfoot|caption|col|colgroup|p|ul|ol|li|br|strong|em|b|i|u|strike|sub|sup|h1|h2|h3|h4|h5|h6|blockquote|pre|hr)\b[^>]*>/gm, function(u, o) {
if (o === "a") {
let b = u.match(/href="([^"]*)"/);
return b ? '<a href="' + b[1] + '">' : u;
}
if ("|table|tr|td|th|thead|tbody|tfoot|".includes("|" + o + "|")) {
let b = u.match(/style="([^"]*)"/);
return b ? "<" + o + ' style="' + b[1] + '">' : u;
}
return "<" + o + ">";
}), f.data.dataValue = d;
});
}), window.CKEDITOR.on("dialogDefinition", function(w) {
let f = w.data.name, d = w.data.definition;
if (f === "link") {
let u = d.getContents("info");
d.onLoad = function() {
let o = CKEDITOR.dialog.getCurrent();
o.getContentElement("info", "linkType").getElement().hide(), o.getContentElement("info", "protocol").getElement().hide(), o.getContentElement("info", "url").getElement().hide();
}, u.add({
type: "select",
id: "linktype-selector",
label: "Linktype",
default: "",
items: [
[window.translations.page, "page"],
["URL", "url"]
],
onChange: function(o) {
let b = CKEDITOR.dialog.getCurrent();
o.data.value === "page" ? (b.getContentElement("info", "page-selector").getElement().show(), b.getContentElement("info", "url-field").getElement().hide()) : (b.getContentElement("info", "page-selector").getElement().hide(), b.getContentElement("info", "url-field").getElement().show(), b.getContentElement("info", "url-field").setValue(""));
},
setup: function(o) {
o.type === void 0 ? this.setValue("page") : o.type === "url" && o.url.url.startsWith("[page id=") ? this.setValue("page") : this.setValue(o.type);
}
}), u.add({
type: "select",
id: "page-selector",
label: window.translations.page,
default: "",
items: window.pages,
onChange: function() {
let o = CKEDITOR.dialog.getCurrent(), b = "[page id=" + this.getValue() + "]";
o.setValueOf("info", "url", b), o.setValueOf("info", "protocol", "");
},
setup: function(o) {
this.allowOnChange = !1;
let b = "";
o.url && (b = o.url.url.substr(9, o.url.url.length - 10)), this.setValue(b), this.allowOnChange = !0;
}
}), u.add({
type: "text",
id: "url-field",
label: "URL",
default: "",
onChange: function() {
let o = CKEDITOR.dialog.getCurrent(), b = this.getValue();
o.setValueOf("info", "url", b);
},
setup: function(o) {
this.allowOnChange = !1;
let b = "";
o.url && (b = o.url.url), this.setValue(b), this.allowOnChange = !0;
}
});
}
});
});
$(document).ready(function() {
window.touchStart = function() {
$("#gjs").addClass("sidebar-collapsed");
};
});
window.addEventListener("keydown", function(w) {
if (w.ctrlKey && w.key === "s")
return w.preventDefault(), !1;
});
window.parent.postMessage("page-loaded", "*");
document.addEventListener("touchstart", (w) => {
window.parent.postMessage("touch-start", "*");
});
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
+1883
View File
File diff suppressed because it is too large Load Diff
+5
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,2 @@
/*! grapesjs-plugin-ckeditor - 0.0.10 */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("grapesjs")):"function"==typeof define&&define.amd?define(["grapesjs"],t):"object"==typeof exports?exports["grapesjs-plugin-ckeditor"]=t(require("grapesjs")):e["grapesjs-plugin-ckeditor"]=t(e.grapesjs)}("undefined"!=typeof self?self:this,function(e){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=function(e){return e&&e.__esModule?e:{default:e}}(o),a=function(e){return e.stopPropagation()};t.default=r.default.plugins.add("gjs-plugin-ckeditor",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t,o={options:{},position:"left"};for(var i in o)i in n||(n[i]=o[i]);if(!CKEDITOR)throw new Error("CKEDITOR instance not found");e.setCustomRte({enable:function(t,o){if(o&&"destroyed"!=o.status)return this.focus(t,o),o;t.contentEditable=!0;var i=e.RichTextEditor.getToolbarEl();[].forEach.call(i.children,function(e){e.style.display="none"});var s=n.options;return s.extraPlugins?"string"==typeof s.extraPlugins?s.extraPlugins+=",sharedspace":s.extraPlugins.push("sharedspace"):s.extraPlugins="sharedspace",n.options.sharedSpaces||(n.options.sharedSpaces={top:i}),o=CKEDITOR.inline(t,n.options),o.getContent=o.getData,o.on("contentDom",function(){var e=o.editable();e.attachListener(e,"click",function(){t.click()})}),o.on("instanceReady",function(t){var n=i.querySelector("#cke_"+o.name);n&&(n.style.display="block"),e.trigger("canvasScroll")}),o.on("dialogShow",function(e){var t=r.default.$(".cke_dialog_background_cover, .cke_dialog");["off","on"].forEach(function(e){return t[e]("mousedown",a)})}),this.focus(t,o),o},disable:function(e,t){e.contentEditable=!1,t&&t.focusManager&&t.focusManager.blur(!0)},focus:function(e,t){t&&t.focusManager.hasFocus||(e.contentEditable=!0,t&&t.focus())}}),e.on("rteToolbarPosUpdate",function(e){switch(n.position){case"center":var t=e.elementWidth/2-e.targetWidth/2;e.left=e.elementLeft+t;break;case"right":var o=e.targetWidth;e.left=e.elementLeft+e.elementWidth-o}e.top<=e.canvasTop&&(e.top=e.elementTop+e.elementHeight),e.left<e.canvasLeft&&(e.left=e.canvasLeft)})})},function(t,n){t.exports=e}])});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-de" viewBox="0 0 640 480">
<path fill="#ffce00" d="M0 320h640v160H0z"/>
<path d="M0 0h640v160H0z"/>
<path fill="#d00" d="M0 160h640v160H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 213 B

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-gb" viewBox="0 0 640 480">
<path fill="#012169" d="M0 0h640v480H0z"/>
<path fill="#FFF" d="M75 0l244 181L562 0h78v62L400 241l240 178v61h-80L320 301 81 480H0v-60l239-178L0 64V0h75z"/>
<path fill="#C8102E" d="M424 281l216 159v40L369 281h55zm-184 20l6 35L54 480H0l240-179zM640 0v3L391 191l2-44L590 0h50zM0 0l239 176h-60L0 42V0z"/>
<path fill="#FFF" d="M241 0v480h160V0H241zM0 160v160h640V160H0z"/>
<path fill="#C8102E" d="M0 193v96h640v-96H0zM273 0v480h96V0h-96z"/>
</svg>

After

Width:  |  Height:  |  Size: 538 B

+544
View File
@@ -0,0 +1,544 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-es" viewBox="0 0 640 480">
<path fill="#AA151B" d="M0 0h640v480H0z"/>
<path fill="#F1BF00" d="M0 120h640v240H0z"/>
<path fill="#ad1519" d="M127.3 213.3l-.8-.1-1-1-.7-.4-.6-.8s-.7-1.1-.4-2c.3-.9.9-1.2 1.4-1.5a12 12 0 011.5-.5l1-.4 1.3-.3.5-.3c.2 0 .7 0 1-.2l1-.2 1.6.1h4.8c.4 0 1.2.3 1.4.4a35 35 0 002 .7c.5.1 1.6.3 2.2.6.5.3.9.7 1.1 1l.5 1v1.1l-.5.8-.6 1-.8.6s-.5.5-1 .4c-.4 0-4.8-.8-7.6-.8s-7.3.9-7.3.9"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M127.3 213.3l-.8-.1-1-1-.7-.4-.6-.8s-.7-1.1-.4-2c.3-.9.9-1.2 1.4-1.5a12 12 0 011.5-.5l1-.4 1.3-.3.5-.3c.2 0 .7 0 1-.2l1-.2 1.6.1h4.8c.4 0 1.2.3 1.4.4a35 35 0 002 .7c.5.1 1.6.3 2.2.6.5.3.9.7 1.1 1l.5 1v1.1l-.5.8-.6 1-.8.6s-.5.5-1 .4c-.4 0-4.8-.8-7.6-.8s-7.3.9-7.3.9z"/>
<path fill="#c8b100" d="M133.3 207c0-1.3.6-2.3 1.3-2.3.8 0 1.4 1 1.4 2.4 0 1.3-.6 2.4-1.4 2.4s-1.3-1.1-1.3-2.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M133.3 207c0-1.3.6-2.3 1.3-2.3.8 0 1.4 1 1.4 2.4 0 1.3-.6 2.4-1.4 2.4s-1.3-1.1-1.3-2.5z"/>
<path fill="#c8b100" d="M134 207c0-1.2.3-2.1.7-2.1.3 0 .6 1 .6 2.1 0 1.3-.3 2.2-.6 2.2-.4 0-.6-1-.6-2.2"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134 207c0-1.2.3-2.1.7-2.1.3 0 .6 1 .6 2.1 0 1.3-.3 2.2-.6 2.2-.4 0-.6-1-.6-2.2z"/>
<path fill="#c8b100" d="M133.8 204.5c0-.4.4-.8.8-.8s1 .4 1 .8c0 .5-.5.9-1 .9s-.8-.4-.8-.9"/>
<path fill="#c8b100" d="M135.3 204.2v.6h-1.4v-.6h.5V203h-.7v-.6h.7v-.5h.5v.5h.6v.6h-.6v1.2h.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M135.3 204.2v.6h-1.4v-.6h.5V203h-.7v-.6h.7v-.5h.5v.5h.6v.6h-.6v1.2h.4"/>
<path fill="#c8b100" d="M135.9 204.2v.6h-2.5v-.6h1V203h-.7v-.6h.7v-.5h.5v.5h.6v.6h-.6v1.2h1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M135.9 204.2v.6h-2.5v-.6h1V203h-.7v-.6h.7v-.5h.5v.5h.6v.6h-.6v1.2h1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134.9 203.7c.4.1.6.4.6.8 0 .5-.4.9-.8.9s-1-.4-1-.9c0-.4.3-.7.7-.8"/>
<path fill="#c8b100" d="M134.7 213.2H130v-1.1l-.3-1.2-.2-1.5c-1.3-1.7-2.5-2.8-2.9-2.5.1-.3.2-.6.5-.7 1.1-.7 3.5 1 5.2 3.6l.5.7h3.8l.4-.7c1.8-2.7 4.1-4.3 5.2-3.6.3.1.4.4.5.7-.4-.3-1.6.8-2.9 2.5l-.2 1.5-.2 1.2-.1 1.1h-4.7"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134.7 213.2H130v-1.1l-.3-1.2-.2-1.5c-1.3-1.7-2.5-2.8-2.9-2.5.1-.3.2-.6.5-.7 1.1-.7 3.5 1 5.2 3.6l.5.7h3.8l.4-.7c1.8-2.7 4.1-4.3 5.2-3.6.3.1.4.4.5.7-.4-.3-1.6.8-2.9 2.5l-.2 1.5-.2 1.2-.1 1.1h-4.7z"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M126.8 206.8c1-.5 3 1.1 4.6 3.6m11-3.6c-.8-.5-2.8 1.1-4.5 3.6"/>
<path fill="#c8b100" d="M127.8 215.3l-.5-1a27.3 27.3 0 0114.7 0l-.5.8a5.7 5.7 0 00-.3.8 22.9 22.9 0 00-6.6-.8c-2.6 0-5.2.3-6.5.8l-.3-.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M127.8 215.3l-.5-1a27.3 27.3 0 0114.7 0l-.5.8a5.7 5.7 0 00-.3.8 22.9 22.9 0 00-6.6-.8c-2.6 0-5.2.3-6.5.8l-.3-.6"/>
<path fill="#c8b100" d="M134.6 217.7c2.4 0 5-.4 5.9-.6.6-.2 1-.5 1-.8 0-.2-.2-.3-.4-.4-1.4-.5-4-.8-6.5-.8s-5 .3-6.4.8c-.2 0-.3.2-.4.3 0 .4.3.7 1 .9 1 .2 3.5.6 5.8.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134.6 217.7c2.4 0 5-.4 5.9-.6.6-.2 1-.5 1-.8 0-.2-.2-.3-.4-.4-1.4-.5-4-.8-6.5-.8s-5 .3-6.4.8c-.2 0-.3.2-.4.3 0 .4.3.7 1 .9 1 .2 3.5.6 5.8.6z"/>
<path fill="#c8b100" d="M142.1 213.2l-.5-.5s-.6.3-1.3.2c-.6 0-.9-1-.9-1s-.7.7-1.3.7c-.7 0-1-.6-1-.6s-.7.5-1.3.4c-.6 0-1.2-.8-1.2-.8s-.6.8-1.2.8c-.6.1-1-.5-1-.5s-.4.6-1.1.7-1.4-.6-1.4-.6-.5.7-1 1c-.5 0-1.2-.4-1.2-.4l-.2.5-.3.1.2.5a27 27 0 017.2-.9c3 0 5.5.4 7.4 1l.2-.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M142.1 213.2l-.5-.5s-.6.3-1.3.2c-.6 0-.9-1-.9-1s-.7.7-1.3.7c-.7 0-1-.6-1-.6s-.7.5-1.3.4c-.6 0-1.2-.8-1.2-.8s-.6.8-1.2.8c-.6.1-1-.5-1-.5s-.4.6-1.1.7-1.4-.6-1.4-.6-.5.7-1 1c-.5 0-1.2-.4-1.2-.4l-.2.5-.3.1.2.5a27 27 0 017.2-.9c3 0 5.5.4 7.4 1l.2-.6z"/>
<path fill="#c8b100" d="M134.7 210.7h.2a1 1 0 000 .4c0 .6.4 1 1 1a1 1 0 001-.7l.2-.3v.4c.1.5.6.8 1.1.8.6 0 1-.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6-.3 0-.6 0-.9-.2l-1-1 .1-.5.8.7c.5.4.9.4.9.4.3 0 .4-.4.4-.7v-.3l.2.2c.2.3.5.5.9.5a1 1 0 001-1 .9.9 0 000-.4v-.5l.4.4a.7.7 0 000 .1c0 .6.5 1 1 1 .6 0 1-.3 1.1-.9v-.3l.2.3c.2.4.6.7 1 .7.7 0 1.1-.4 1.1-1a1 1 0 000-.3h.3z"/>
<path fill="#c8b100" d="M134.6 213.3c-2.9 0-5.5.4-7.3 1l-.3-.2.1-.3a27 27 0 017.5-1c3 0 5.7.4 7.6 1 0 0 .2.2.1.3l-.3.2a27.3 27.3 0 00-7.4-1"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M134.6 213.3c-2.9 0-5.5.4-7.3 1l-.3-.2.1-.3a27 27 0 017.5-1c3 0 5.7.4 7.6 1 0 0 .2.2.1.3l-.3.2a27.3 27.3 0 00-7.4-1z"/>
<path fill="#fff" d="M131.8 214.4c0-.3.2-.4.5-.4a.4.4 0 01.4.4c0 .2-.2.4-.4.4a.4.4 0 01-.5-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M131.8 214.4c0-.3.2-.4.5-.4a.4.4 0 01.4.4c0 .2-.2.4-.4.4a.4.4 0 01-.5-.4z"/>
<path fill="#ad1519" d="M134.7 214.5h-1c-.1 0-.3 0-.3-.3l.3-.3h2a.3.3 0 01.2.3.3.3 0 01-.3.3h-1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134.7 214.5h-1c-.1 0-.3 0-.3-.3l.3-.3h2a.3.3 0 01.2.3.3.3 0 01-.3.3h-1"/>
<path fill="#058e6e" d="M130 214.9h-.7c-.1 0-.3 0-.3-.2a.3.3 0 01.2-.3l.7-.1.7-.1c.2 0 .3 0 .4.2a.3.3 0 01-.3.4h-.7"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M130 214.9h-.7c-.1 0-.3 0-.3-.2a.3.3 0 01.2-.3l.7-.1.7-.1c.2 0 .3 0 .4.2a.3.3 0 01-.3.4h-.7"/>
<path fill="#ad1519" d="M127.3 215.3l.3-.4h.7l-.4.6-.6-.2"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M127.3 215.3l.3-.4h.7l-.4.6-.6-.2"/>
<path fill="#fff" d="M136.6 214.4c0-.3.2-.4.4-.4a.4.4 0 01.5.4.4.4 0 01-.5.4.4.4 0 01-.4-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M136.6 214.4c0-.3.2-.4.4-.4a.4.4 0 01.5.4.4.4 0 01-.5.4.4.4 0 01-.4-.4z"/>
<path fill="#058e6e" d="M139.3 214.9h.6a.3.3 0 00.4-.2.3.3 0 00-.3-.3l-.6-.1-.7-.1c-.2 0-.3 0-.4.2 0 .2.1.3.3.4h.7"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M139.3 214.9h.6a.3.3 0 00.4-.2.3.3 0 00-.3-.3l-.6-.1-.7-.1c-.2 0-.3 0-.4.2 0 .2.1.3.3.4h.7"/>
<path fill="#ad1519" d="M142 215.4l-.3-.5h-.7l.3.6.6-.1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M142 215.4l-.3-.5h-.7l.3.6.6-.1"/>
<path fill="#ad1519" d="M134.6 217.1a25 25 0 01-6-.6 25.5 25.5 0 0112.1 0c-1.6.4-3.7.6-6 .6"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M134.6 217.1a25 25 0 01-6-.6 25.5 25.5 0 0112.1 0c-1.6.4-3.7.6-6 .6z"/>
<path fill="#c8b100" d="M142 212l-.1-.3c-.2 0-.3 0-.4.2 0 .2 0 .4.2.4 0 0 .2 0 .3-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M142 212l-.1-.3c-.2 0-.3 0-.4.2 0 .2 0 .4.2.4 0 0 .2 0 .3-.3z"/>
<path fill="#c8b100" d="M137.3 211.2c0-.2 0-.4-.2-.4 0 0-.2.1-.2.3 0 .2 0 .4.2.4l.3-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M137.3 211.2c0-.2 0-.4-.2-.4 0 0-.2.1-.2.3 0 .2 0 .4.2.4l.3-.3z"/>
<path fill="#c8b100" d="M132 211.2l.1-.4c.2 0 .3.1.3.3 0 .2 0 .4-.2.4l-.2-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M132 211.2l.1-.4c.2 0 .3.1.3.3 0 .2 0 .4-.2.4l-.2-.3z"/>
<path fill="#c8b100" d="M127.3 212l.1-.3c.2 0 .3 0 .4.2 0 .2 0 .4-.2.4 0 0-.2 0-.3-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M127.3 212l.1-.3c.2 0 .3 0 .4.2 0 .2 0 .4-.2.4 0 0-.2 0-.3-.3z"/>
<path fill="#c8b100" d="M134.6 208.5l-.8.5.6 1.3.2.1.2-.1.7-1.3-.9-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134.6 208.5l-.8.5.6 1.3.2.1.2-.1.7-1.3-.9-.5"/>
<path fill="#c8b100" d="M132.8 210.5l.4.5 1.3-.4.1-.2-.1-.2-1.3-.3-.4.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M132.8 210.5l.4.5 1.3-.4.1-.2-.1-.2-1.3-.3-.4.6"/>
<path fill="#c8b100" d="M136.4 210.5l-.3.5-1.3-.4-.2-.2.2-.2 1.3-.3.3.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M136.4 210.5l-.3.5-1.3-.4-.2-.2.2-.2 1.3-.3.3.6"/>
<path fill="#c8b100" d="M129.3 209l-.7.7.9 1 .2.1.1-.1.3-1.3-.8-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M129.3 209l-.7.7.9 1 .2.1.1-.1.3-1.3-.8-.3"/>
<path fill="#c8b100" d="M128 211.2l.4.5 1.2-.6v-.2l-.1-.2-1.3-.1-.3.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M128 211.2l.4.5 1.2-.6v-.2l-.1-.2-1.3-.1-.3.6"/>
<path fill="#c8b100" d="M131.5 210.5l-.3.6H130l-.2-.2.1-.3 1.2-.6.5.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M131.5 210.5l-.3.6H130l-.2-.2.1-.3 1.2-.6.5.5"/>
<path fill="#c8b100" d="M126.6 211.4v.6l-1.4.2-.2-.1v-.2l1-.9.6.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M126.6 211.4v.6l-1.4.2-.2-.1v-.2l1-.9.6.4"/>
<path fill="#c8b100" d="M129.2 210.9c0-.3.2-.5.5-.5s.5.2.5.5a.5.5 0 01-.5.4.5.5 0 01-.5-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M129.2 210.9c0-.3.2-.5.5-.5s.5.2.5.5a.5.5 0 01-.5.4.5.5 0 01-.5-.4z"/>
<path fill="#c8b100" d="M140 209l.7.7-.9 1-.2.1-.1-.1-.3-1.3.8-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M140 209l.7.7-.9 1-.2.1-.1-.1-.3-1.3.8-.3"/>
<path fill="#c8b100" d="M141.4 211.2l-.5.5-1.2-.6v-.2l.1-.2 1.3-.1.3.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M141.4 211.2l-.5.5-1.2-.6v-.2l.1-.2 1.3-.1.3.6"/>
<path fill="#c8b100" d="M137.8 210.5l.3.6h1.3l.2-.2-.1-.3-1.2-.6-.5.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M137.8 210.5l.3.6h1.3l.2-.2-.1-.3-1.2-.6-.5.5"/>
<path fill="#c8b100" d="M142.5 211.4l.1.6 1.3.2.2-.1v-.2l-1-.9-.6.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M142.5 211.4l.1.6 1.3.2.2-.1v-.2l-1-.9-.6.4"/>
<path fill="#c8b100" d="M134.2 210.4a.5.5 0 01.4-.4c.3 0 .5.2.5.4a.5.5 0 01-.5.5.5.5 0 01-.4-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134.2 210.4a.5.5 0 01.4-.4c.3 0 .5.2.5.4a.5.5 0 01-.5.5.5.5 0 01-.4-.5z"/>
<path fill="#c8b100" d="M139.1 210.9c0-.3.3-.5.5-.5a.5.5 0 01.5.5.5.5 0 01-.5.4.5.5 0 01-.5-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M139.1 210.9c0-.3.3-.5.5-.5a.5.5 0 01.5.5.5.5 0 01-.5.4.5.5 0 01-.5-.4z"/>
<path fill="#c8b100" d="M124.8 212.2l-.6-.7c-.2-.2-.7-.3-.7-.3 0-.1.3-.3.6-.3a.5.5 0 01.4.2v-.2s.3 0 .4.3v1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M124.8 212.2l-.6-.7c-.2-.2-.7-.3-.7-.3 0-.1.3-.3.6-.3a.5.5 0 01.4.2v-.2s.3 0 .4.3v1z"/>
<path fill="#c8b100" d="M124.8 212c.1-.2.4-.2.5 0 .2.1.3.3.2.5l-.5-.1c-.2-.1-.3-.4-.2-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M124.8 212c.1-.2.4-.2.5 0 .2.1.3.3.2.5l-.5-.1c-.2-.1-.3-.4-.2-.5z"/>
<path fill="#c8b100" d="M144.3 212.2l.6-.7c.2-.2.7-.3.7-.3 0-.1-.3-.3-.6-.3a.6.6 0 00-.4.2v-.2s-.3 0-.4.3v.7l.1.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M144.3 212.2l.6-.7c.2-.2.7-.3.7-.3 0-.1-.3-.3-.6-.3a.6.6 0 00-.4.2v-.2s-.3 0-.4.3v.7l.1.3z"/>
<path fill="#c8b100" d="M144.3 212c0-.2-.3-.2-.5 0-.2.1-.2.3-.1.5l.5-.1c.2-.1.2-.4.1-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M144.3 212c0-.2-.3-.2-.5 0-.2.1-.2.3-.1.5l.5-.1c.2-.1.2-.4.1-.5z"/>
<path fill="#c8b100" d="M124 223h21.4v-5.5H124v5.6z"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M124 223h21.4v-5.5H124v5.6z"/>
<path fill="#c8b100" d="M126.2 226.8a1 1 0 01.4 0h16.5a1.4 1.4 0 01-1-1.2c0-.6.5-1.1 1-1.3a1.7 1.7 0 01-.4 0h-16a1.4 1.4 0 01-.5 0c.6.2 1 .7 1 1.3a1.3 1.3 0 01-1 1.2"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M126.2 226.8a1 1 0 01.4 0h16.5a1.4 1.4 0 01-1-1.2c0-.6.5-1.1 1-1.3a1.7 1.7 0 01-.4 0h-16a1.4 1.4 0 01-.5 0c.6.2 1 .7 1 1.3a1.3 1.3 0 01-1 1.2z"/>
<path fill="#c8b100" d="M126.6 226.8h16c.6 0 1 .3 1 .7 0 .4-.4.8-1 .8h-16c-.5 0-1-.4-1-.8s.5-.8 1-.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M126.6 226.8h16c.6 0 1 .3 1 .7 0 .4-.4.8-1 .8h-16c-.5 0-1-.4-1-.8s.5-.8 1-.8z"/>
<path fill="#c8b100" d="M126.6 223h16c.6 0 1 .4 1 .7 0 .4-.4.6-1 .6h-16c-.5 0-1-.2-1-.6 0-.3.5-.6 1-.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M126.6 223h16c.6 0 1 .4 1 .7 0 .4-.4.6-1 .6h-16c-.5 0-1-.2-1-.6 0-.3.5-.6 1-.6z"/>
<path fill="#005bbf" d="M149.6 317.4c-1.4 0-2.8-.3-3.7-.8a8.4 8.4 0 00-3.8-.8c-1.4 0-2.7.3-3.7.8a8.3 8.3 0 01-3.8.8c-1.5 0-2.8-.3-3.7-.8a8.4 8.4 0 00-3.7-.8 8 8 0 00-3.7.8 8.3 8.3 0 01-3.8.8v2.4c1.5 0 2.8-.4 3.8-.9a8.2 8.2 0 013.7-.8c1.4 0 2.7.3 3.7.8s2.2.9 3.7.9a8.4 8.4 0 003.8-.9c1-.5 2.3-.8 3.7-.8 1.5 0 2.8.3 3.8.8s2.2.9 3.7.9v-2.4"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M149.6 317.4c-1.4 0-2.8-.3-3.7-.8a8.4 8.4 0 00-3.8-.8c-1.4 0-2.7.3-3.7.8a8.3 8.3 0 01-3.8.8c-1.5 0-2.8-.3-3.7-.8a8.4 8.4 0 00-3.7-.8 8 8 0 00-3.7.8 8.3 8.3 0 01-3.8.8v2.4c1.5 0 2.8-.4 3.8-.9a8.2 8.2 0 013.7-.8c1.4 0 2.7.3 3.7.8s2.2.9 3.7.9a8.4 8.4 0 003.8-.9c1-.5 2.3-.8 3.7-.8 1.5 0 2.8.3 3.8.8s2.2.9 3.7.9v-2.4z"/>
<path fill="#ccc" d="M149.6 319.8a8 8 0 01-3.7-.9 8.3 8.3 0 00-3.8-.8c-1.4 0-2.7.3-3.7.8s-2.3.9-3.8.9-2.8-.4-3.7-.9a8.4 8.4 0 00-3.7-.8 8.2 8.2 0 00-3.7.8c-1 .5-2.3.9-3.8.9v2.3c1.5 0 2.8-.4 3.8-.9a8.1 8.1 0 013.7-.7c1.4 0 2.7.2 3.7.7a8.3 8.3 0 007.5 0 8.5 8.5 0 017.5.1 8.1 8.1 0 003.7.8v-2.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M149.6 319.8a8 8 0 01-3.7-.9 8.3 8.3 0 00-3.8-.8c-1.4 0-2.7.3-3.7.8s-2.3.9-3.8.9-2.8-.4-3.7-.9a8.4 8.4 0 00-3.7-.8 8.2 8.2 0 00-3.7.8c-1 .5-2.3.9-3.8.9v2.3c1.5 0 2.8-.4 3.8-.9a8.1 8.1 0 013.7-.7c1.4 0 2.7.2 3.7.7a8.3 8.3 0 007.5 0 8.5 8.5 0 017.5.1 8.1 8.1 0 003.7.8v-2.3"/>
<path fill="#005bbf" d="M149.6 322a7 7 0 01-3.7-.8 8.3 8.3 0 00-3.8-.7c-1.4 0-2.7.2-3.7.7-1 .6-2.3.9-3.8.9s-2.8-.4-3.7-.9a8.4 8.4 0 00-3.7-.8 8 8 0 00-3.7.8c-1 .5-2.3.9-3.8.9v2.3c1.5 0 2.8-.3 3.8-.9a10.2 10.2 0 017.4 0 7 7 0 003.7.9 8.4 8.4 0 003.8-.8c1-.5 2.3-.8 3.7-.8 1.5 0 2.8.3 3.8.8s2.2.8 3.7.8V322"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M149.6 322a7 7 0 01-3.7-.8 8.3 8.3 0 00-3.8-.7c-1.4 0-2.7.2-3.7.7-1 .6-2.3.9-3.8.9s-2.8-.4-3.7-.9a8.4 8.4 0 00-3.7-.8 8 8 0 00-3.7.8c-1 .5-2.3.9-3.8.9v2.3c1.5 0 2.8-.3 3.8-.9a10.2 10.2 0 017.4 0 7 7 0 003.7.9 8.4 8.4 0 003.8-.8c1-.5 2.3-.8 3.7-.8 1.5 0 2.8.3 3.8.8s2.2.8 3.7.8V322"/>
<path fill="#ccc" d="M149.6 326.7a8 8 0 01-3.7-.8c-1-.5-2.3-.8-3.7-.8a8.4 8.4 0 00-3.8.8c-1 .5-2.3.8-3.8.8a7 7 0 01-3.7-.9 8.4 8.4 0 00-3.7-.7c-1.4 0-2.7.3-3.7.8s-2.3.8-3.8.8v-2.3a8.3 8.3 0 003.8-.9 10.2 10.2 0 017.4 0 8 8 0 003.7.9 8.4 8.4 0 003.8-.8c1-.5 2.3-.8 3.8-.8 1.4 0 2.7.3 3.7.8s2.3.8 3.7.8v2.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M149.6 326.7a8 8 0 01-3.7-.8c-1-.5-2.3-.8-3.7-.8a8.4 8.4 0 00-3.8.8c-1 .5-2.3.8-3.8.8a7 7 0 01-3.7-.9 8.4 8.4 0 00-3.7-.7c-1.4 0-2.7.3-3.7.8s-2.3.8-3.8.8v-2.3a8.3 8.3 0 003.8-.9 10.2 10.2 0 017.4 0 8 8 0 003.7.9 8.4 8.4 0 003.8-.8c1-.5 2.3-.8 3.8-.8 1.4 0 2.7.3 3.7.8s2.3.8 3.7.8v2.3"/>
<path fill="#005bbf" d="M149.6 329a8.1 8.1 0 01-3.7-.8c-1-.5-2.3-.8-3.7-.8a8.4 8.4 0 00-3.8.8c-1 .5-2.3.8-3.8.8a7 7 0 01-3.7-.9 8.4 8.4 0 00-3.7-.7c-1.4 0-2.7.3-3.7.8s-2.3.8-3.8.8v-2.3a8.3 8.3 0 003.8-.8c1-.5 2.3-.8 3.7-.8 1.4 0 2.7.3 3.7.7a8.4 8.4 0 007.5 0c1-.4 2.3-.7 3.8-.7 1.4 0 2.7.3 3.7.8s2.2.8 3.7.8v2.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M149.6 329a8.1 8.1 0 01-3.7-.8c-1-.5-2.3-.8-3.7-.8a8.4 8.4 0 00-3.8.8c-1 .5-2.3.8-3.8.8a7 7 0 01-3.7-.9 8.4 8.4 0 00-3.7-.7c-1.4 0-2.7.3-3.7.8s-2.3.8-3.8.8v-2.3a8.3 8.3 0 003.8-.8c1-.5 2.3-.8 3.7-.8 1.4 0 2.7.3 3.7.7a8.4 8.4 0 007.5 0c1-.4 2.3-.7 3.8-.7 1.4 0 2.7.3 3.7.8s2.2.8 3.7.8v2.3z"/>
<path fill="#c8b100" d="M126.2 308l.2.5c0 1.5-1.3 2.6-2.7 2.6h22a2.7 2.7 0 01-2.7-2.6v-.5a1.3 1.3 0 01-.3 0h-16a1.4 1.4 0 01-.5 0"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M126.2 308l.2.5c0 1.5-1.3 2.6-2.7 2.6h22a2.7 2.7 0 01-2.7-2.6v-.5a1.3 1.3 0 01-.3 0h-16a1.4 1.4 0 01-.5 0z"/>
<path fill="#c8b100" d="M126.6 306.5h16c.6 0 1 .3 1 .8 0 .4-.4.7-1 .7h-16c-.5 0-1-.3-1-.8 0-.4.5-.7 1-.7"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M126.6 306.5h16c.6 0 1 .3 1 .8 0 .4-.4.7-1 .7h-16c-.5 0-1-.3-1-.8 0-.4.5-.7 1-.7z"/>
<path fill="#c8b100" d="M123.7 316.7h22V311h-22v5.6z"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M123.7 316.7h22V311h-22v5.6z"/>
<path fill="#ad1519" d="M122 286.7c-2.2 1.2-3.7 2.5-3.4 3.2 0 .6.8 1 1.8 1.6 1.5 1.1 2.5 3 1.7 4a5.5 5.5 0 00-.1-8.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M122 286.7c-2.2 1.2-3.7 2.5-3.4 3.2 0 .6.8 1 1.8 1.6 1.5 1.1 2.5 3 1.7 4a5.5 5.5 0 00-.1-8.8z"/>
<path fill="#ccc" d="M126.8 305.6h15.6V229h-15.6v76.5z"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M138 229.2v76.3m1.7-76.3v76.3m-12.9 0h15.6v-76.4h-15.6v76.5z"/>
<path fill="#ad1519" d="M158.4 257.7a49.6 49.6 0 00-23.3-2c-9.4 1.6-16.5 5.3-15.9 8.4v.2l-3.5-8.2c-.6-3.3 7.2-7.5 17.6-9.2a43 43 0 019.2-.7c6.6 0 12.4.8 15.8 2.1v9.4"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M158.4 257.7a49.6 49.6 0 00-23.3-2c-9.4 1.6-16.5 5.3-15.9 8.4v.2l-3.5-8.2c-.6-3.3 7.2-7.5 17.6-9.2a43 43 0 019.2-.7c6.6 0 12.4.8 15.8 2.1v9.4"/>
<path fill="#ad1519" d="M126.8 267.3c-4.3-.3-7.3-1.4-7.6-3.2-.3-1.5 1.2-3 3.8-4.5 1.2.1 2.5.3 3.8.3v7.4"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M126.8 267.3c-4.3-.3-7.3-1.4-7.6-3.2-.3-1.5 1.2-3 3.8-4.5 1.2.1 2.5.3 3.8.3v7.4"/>
<path fill="#ad1519" d="M142.5 261.5c2.7.4 4.7 1 5.7 1.9l.1.2c.5 1-1.9 3-5.9 5.4v-7.5"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M142.5 261.5c2.7.4 4.7 1 5.7 1.9l.1.2c.5 1-1.9 3-5.9 5.4v-7.5"/>
<path fill="#ad1519" d="M117.1 282c-.4-1.2 3.8-3.6 9.8-5.8l7.8-3.2c8.3-3.7 14.4-7.9 13.6-9.4v-.2c.4.4 1 8 1 8 .8 1.3-4.8 5.5-12.4 9.1-2.5 1.2-7.6 3-10 4-4.4 1.4-8.7 4.3-8.3 5.3l-1.5-7.7"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M117.1 282c-.4-1.2 3.8-3.6 9.8-5.8l7.8-3.2c8.3-3.7 14.4-7.9 13.6-9.4v-.2c.4.4 1 8 1 8 .8 1.3-4.8 5.5-12.4 9.1-2.5 1.2-7.6 3-10 4-4.4 1.4-8.7 4.3-8.3 5.3l-1.5-7.7z"/>
<path fill="#c8b100" d="M125.8 254c1.9-.6 3.1-1.5 2.5-3-.4-1-1.4-1-2.8-.6l-2.6 1 2.3 5.8.8-.3.8-.3-1-2.5zm-1.2-2.7l.7-.3c.5-.2 1.2.1 1.4.8.2.5.2 1-.5 1.5a4.4 4.4 0 01-.6.3l-1-2.3m7.3-2.5l-.9.3h-.8l1.3 6.1 4.3-.8-.2-.4v-.4l-2.5.6-1.2-5.3m8.4 5.2c.8-2.2 1.7-4.3 2.7-6.4a5.3 5.3 0 01-1 0 54.8 54.8 0 01-1.8 4.6l-2.4-4.3-1 .1h-1a131.4 131.4 0 013.5 6h1m8.8-4.7l.4-.9a3.4 3.4 0 00-1.7-.6c-1.7-.1-2.7.6-2.8 1.7-.2 2.1 3.2 2 3 3.4 0 .6-.7.9-1.4.8-.8 0-1.4-.5-1.4-1.2h-.3a7.3 7.3 0 01-.4 1.1 4 4 0 001.8.6c1.7.2 3-.5 3.2-1.7.2-2-3.3-2.1-3.1-3.4 0-.5.4-.8 1.3-.7.7 0 1 .4 1.2.9h.2"/>
<path fill="#ad1519" d="M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.5 1.8-1.3 1.8c-.7 0-1.3-.8-1.3-1.9z"/>
<path fill="#c8b100" d="M277.3 207.6c0-1 .2-1.8.5-1.8.4 0 .7.8.7 1.8s-.3 1.7-.6 1.7c-.4 0-.6-.8-.6-1.8"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M277.3 207.6c0-1 .2-1.8.5-1.8.4 0 .7.8.7 1.8s-.3 1.7-.6 1.7c-.4 0-.6-.8-.6-1.8z"/>
<path fill="#c8b100" d="M271 215.3a4.5 4.5 0 00-.5-1 27.4 27.4 0 0114.8 0l-.6.8a5.2 5.2 0 00-.3.8 22.9 22.9 0 00-6.6-.8c-2.6 0-5.2.3-6.6.8l-.2-.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M271 215.3a4.5 4.5 0 00-.5-1 27.4 27.4 0 0114.8 0l-.6.8a5.2 5.2 0 00-.3.8 22.9 22.9 0 00-6.6-.8c-2.6 0-5.2.3-6.6.8l-.2-.6"/>
<path fill="#c8b100" d="M277.8 217.7c2.4 0 5-.4 5.9-.6.6-.2 1-.5 1-.8 0-.2-.2-.3-.4-.4a24.1 24.1 0 00-6.5-.8c-2.5 0-5 .3-6.4.8-.2 0-.3.2-.4.3 0 .4.3.7 1 .9 1 .2 3.5.6 5.8.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M277.8 217.7c2.4 0 5-.4 5.9-.6.6-.2 1-.5 1-.8 0-.2-.2-.3-.4-.4a24.1 24.1 0 00-6.5-.8c-2.5 0-5 .3-6.4.8-.2 0-.3.2-.4.3 0 .4.3.7 1 .9 1 .2 3.5.6 5.8.6z"/>
<path fill="#fff" d="M283.5 208.4c0-.2.2-.4.4-.4s.5.2.5.4-.2.4-.5.4a.4.4 0 01-.4-.4"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M283.5 208.4c0-.2.2-.4.4-.4s.5.2.5.4-.2.4-.5.4a.4.4 0 01-.4-.4zm-.2-1.4a.4.4 0 01.4-.4c.2 0 .4.1.4.4s-.2.4-.4.4a.4.4 0 01-.4-.4zm-1.1-1c0-.2.2-.3.4-.3s.4.1.4.4c0 .2-.2.4-.4.4a.4.4 0 01-.4-.5zm-1.4-.4c0-.2.2-.4.4-.4.3 0 .5.2.5.4s-.2.4-.4.4-.5-.2-.5-.4zm-1.4 0c0-.2.2-.3.5-.3s.4.1.4.4c0 .2-.2.4-.4.4a.4.4 0 01-.5-.4z"/>
<path fill="none" stroke="#000" stroke-linecap="round" stroke-width=".3" d="M287.8 211.2l.2-1a2.7 2.7 0 00-2.7-2.8c-.5 0-1 .1-1.3.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M283 209.2l.2-.8c0-1.1-1.1-2-2.5-2-.6 0-1.2.2-1.6.4"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M288.2 210c0-.3.2-.5.4-.5s.4.2.4.4c0 .3-.2.4-.4.4s-.4-.1-.4-.4zm-.2-1.6c0-.2.2-.4.4-.4a.4.4 0 01.5.4c0 .2-.2.4-.4.4-.3 0-.5-.2-.5-.4zm-1-1.1a.4.4 0 01.5-.4c.2 0 .4.1.4.4a.4.4 0 01-.4.4.4.4 0 01-.5-.4zm-1.3-.7c0-.2.2-.4.5-.4s.4.2.4.4c0 .3-.2.5-.4.5a.4.4 0 01-.5-.5zm-1.4.1c0-.2.2-.4.5-.4s.4.2.4.4-.2.4-.4.4-.5-.2-.5-.4z"/>
<path fill="#c8b100" d="M285.3 213.2l-.5-.5s-.6.3-1.3.2c-.6 0-.9-1-.9-1s-.7.7-1.3.7c-.7 0-1-.6-1-.6s-.7.5-1.3.4c-.6 0-1.2-.8-1.2-.8s-.6.8-1.2.8c-.6.1-1-.5-1-.5s-.3.6-1.1.7-1.4-.6-1.4-.6-.4.7-1 1c-.5 0-1.2-.4-1.2-.4l-.1.5-.3.1.1.5a27 27 0 017.3-.9c2.8 0 5.4.4 7.3 1l.2-.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M285.3 213.2l-.5-.5s-.6.3-1.3.2c-.6 0-.9-1-.9-1s-.7.7-1.3.7c-.7 0-1-.6-1-.6s-.7.5-1.3.4c-.6 0-1.2-.8-1.2-.8s-.6.8-1.2.8c-.6.1-1-.5-1-.5s-.3.6-1.1.7-1.4-.6-1.4-.6-.4.7-1 1c-.5 0-1.2-.4-1.2-.4l-.1.5-.3.1.1.5a27 27 0 017.3-.9c2.8 0 5.4.4 7.3 1l.2-.6z"/>
<path fill="#fff" d="M271.3 208.4c0-.2.2-.4.4-.4s.4.2.4.4a.4.4 0 01-.4.4.4.4 0 01-.4-.4"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M271.3 208.4c0-.2.2-.4.4-.4s.4.2.4.4a.4.4 0 01-.4.4.4.4 0 01-.4-.4zm.2-1.4c0-.3.2-.4.4-.4s.5.1.5.4-.2.4-.5.4a.4.4 0 01-.4-.4zm1-1c0-.2.3-.3.5-.3s.5.1.5.4c0 .2-.2.4-.5.4a.4.4 0 01-.4-.5zm1.4-.4c0-.2.2-.4.5-.4s.4.2.4.4-.2.4-.4.4-.5-.2-.5-.4zm1.4 0c0-.2.2-.3.5-.3.2 0 .4.1.4.4 0 .2-.2.4-.4.4a.4.4 0 01-.5-.4z"/>
<path fill="none" stroke="#000" stroke-linecap="round" stroke-width=".3" d="M267.8 211.2a2.8 2.8 0 01-.2-1 2.7 2.7 0 012.7-2.8c.5 0 1 .1 1.4.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M272.7 209.2a1.7 1.7 0 01-.3-.8c0-1 1.2-2 2.6-2a3 3 0 011.5.4"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M266.6 210c0-.3.2-.5.4-.5.3 0 .4.2.4.4a.4.4 0 01-.4.4c-.2 0-.4-.1-.4-.4zm.1-1.6c0-.2.3-.4.5-.4s.4.2.4.4-.2.4-.4.4-.4-.2-.4-.4zm1-1.1c0-.3.2-.4.5-.4a.4.4 0 01.4.4.4.4 0 01-.4.4.4.4 0 01-.5-.4zm1.3-.7c0-.2.2-.4.5-.4.2 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1 1c-.2.2-.5.4-.8.3-.3 0-.6-.3-.7-.6a1.5 1.5 0 01-.7.2c-.6 0-1.2-.3-1.4-.8a1.5 1.5 0 01-1.1.5c-.5 0-1-.2-1.2-.6a1.5 1.5 0 01-1 .4c-.6 0-1-.2-1.4-.6-.2.4-.7.6-1.2.6-.4 0-.8-.1-1-.4a1.6 1.6 0 01-1.3.6c-.4 0-.8-.2-1.1-.5-.2.5-.8.8-1.4.8-.2 0-.5 0-.7-.2-.1.3-.4.6-.7.6-.3 0-.6 0-.9-.2a4.2 4.2 0 01-1-1l.1-.5.8.7c.5.4.9.4.9.4.3 0 .4-.4.4-.7v-.3l.2.2c.2.3.5.5.9.5a1 1 0 001-1 1 1 0 000-.4v-.5l.4.4v.1c0 .6.5 1 1 1 .6 0 1-.3 1.1-.9v-.3l.2.3c.2.4.6.7 1 .7.6 0 1.1-.4 1.1-1a1 1 0 000-.3h.2z"/>
<path fill="#c8b100" d="M277.8 213.3c-2.9 0-5.5.4-7.3 1l-.3-.2.1-.3c2-.6 4.6-1 7.5-1 3 0 5.7.4 7.6 1 0 0 .2.2.1.3l-.3.2a27 27 0 00-7.4-1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M277.8 213.3c-2.9 0-5.5.4-7.3 1l-.3-.2.1-.3c2-.6 4.6-1 7.5-1 3 0 5.7.4 7.6 1 0 0 .2.2.1.3l-.3.2a27 27 0 00-7.4-1z"/>
<path fill="#fff" d="M275 214.4c0-.3.2-.4.5-.4a.4.4 0 01.4.4.4.4 0 01-.4.4c-.3 0-.5-.2-.5-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M275 214.4c0-.3.2-.4.5-.4a.4.4 0 01.4.4.4.4 0 01-.4.4c-.3 0-.5-.2-.5-.4z"/>
<path fill="#ad1519" d="M277.9 214.5h-1c-.1 0-.3 0-.3-.3l.3-.3h2a.3.3 0 01.2.3.3.3 0 01-.3.3h-1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M277.9 214.5h-1c-.1 0-.3 0-.3-.3l.3-.3h2a.3.3 0 01.2.3.3.3 0 01-.3.3h-1"/>
<path fill="#058e6e" d="M273.2 214.9h-.6a.3.3 0 01-.4-.2.3.3 0 01.3-.3l.6-.1.7-.1c.2 0 .3 0 .4.2a.3.3 0 01-.3.4h-.7"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M273.2 214.9h-.6a.3.3 0 01-.4-.2.3.3 0 01.3-.3l.6-.1.7-.1c.2 0 .3 0 .4.2a.3.3 0 01-.3.4h-.7"/>
<path fill="#ad1519" d="M270.5 215.3l.3-.4h.7l-.4.6-.6-.2"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M270.5 215.3l.3-.4h.7l-.4.6-.6-.2"/>
<path fill="#fff" d="M279.8 214.4c0-.3.2-.4.4-.4.3 0 .5.1.5.4 0 .2-.2.4-.5.4a.4.4 0 01-.4-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M279.8 214.4c0-.3.2-.4.4-.4.3 0 .5.1.5.4 0 .2-.2.4-.5.4a.4.4 0 01-.4-.4z"/>
<path fill="#058e6e" d="M282.5 214.9h.7a.3.3 0 00.3-.2.3.3 0 00-.2-.3l-.7-.1-.7-.1c-.2 0-.3 0-.4.2 0 .2.1.3.3.4h.7"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M282.5 214.9h.7a.3.3 0 00.3-.2.3.3 0 00-.2-.3l-.7-.1-.7-.1c-.2 0-.3 0-.4.2 0 .2.1.3.3.4h.7"/>
<path fill="#ad1519" d="M285.1 215.4l-.2-.5h-.7l.3.6.6-.1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M285.1 215.4l-.2-.5h-.7l.3.6.6-.1"/>
<path fill="#ad1519" d="M277.8 217.1a25 25 0 01-6-.6 25.4 25.4 0 016-.7c2.4 0 4.5.3 6.1.7-1.6.4-3.7.6-6 .6"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M277.8 217.1a25 25 0 01-6-.6 25.4 25.4 0 016-.7c2.4 0 4.5.3 6.1.7-1.6.4-3.7.6-6 .6z"/>
<path fill="#c8b100" d="M285.2 212l-.1-.3c-.2 0-.3 0-.4.2l.1.4c.2 0 .3 0 .4-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M285.2 212l-.1-.3c-.2 0-.3 0-.4.2l.1.4c.2 0 .3 0 .4-.3z"/>
<path fill="#c8b100" d="M280.6 211.2c0-.2-.1-.4-.3-.4 0 0-.2.1-.2.3 0 .2 0 .4.2.4l.3-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M280.6 211.2c0-.2-.1-.4-.3-.4 0 0-.2.1-.2.3 0 .2 0 .4.2.4l.3-.3z"/>
<path fill="#c8b100" d="M275.2 211.2c0-.2 0-.4.2-.4l.3.3-.2.4c-.2 0-.3-.2-.3-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M275.2 211.2c0-.2 0-.4.2-.4l.3.3-.2.4c-.2 0-.3-.2-.3-.3z"/>
<path fill="#c8b100" d="M270.5 212l.1-.3c.2 0 .3 0 .4.2l-.1.4c-.2 0-.3 0-.4-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M270.5 212l.1-.3c.2 0 .3 0 .4.2l-.1.4c-.2 0-.3 0-.4-.3z"/>
<path fill="#c8b100" d="M277.8 208.5l-.8.5.6 1.3.2.1.3-.1.6-1.3-.9-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M277.8 208.5l-.8.5.6 1.3.2.1.3-.1.6-1.3-.9-.5"/>
<path fill="#c8b100" d="M276 210.5l.4.5 1.3-.4.1-.2-.1-.2-1.3-.3-.4.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M276 210.5l.4.5 1.3-.4.1-.2-.1-.2-1.3-.3-.4.6"/>
<path fill="#c8b100" d="M279.6 210.5l-.3.5-1.3-.4-.1-.2v-.2l1.4-.3.4.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M279.6 210.5l-.3.5-1.3-.4-.1-.2v-.2l1.4-.3.4.6"/>
<path fill="#c8b100" d="M272.5 209l-.7.7.9 1 .2.1.2-.1.2-1.3-.8-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M272.5 209l-.7.7.9 1 .2.1.2-.1.2-1.3-.8-.3"/>
<path fill="#c8b100" d="M271.1 211.2l.5.5 1.2-.6v-.2l-.1-.2-1.3-.1-.3.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M271.1 211.2l.5.5 1.2-.6v-.2l-.1-.2-1.3-.1-.3.6"/>
<path fill="#c8b100" d="M274.7 210.5l-.3.6h-1.3l-.2-.2.1-.3 1.2-.6.5.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M274.7 210.5l-.3.6h-1.3l-.2-.2.1-.3 1.2-.6.5.5"/>
<path fill="#c8b100" d="M269.8 211.4v.6l-1.4.2-.2-.1v-.2l1-.9.6.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M269.8 211.4v.6l-1.4.2-.2-.1v-.2l1-.9.6.4"/>
<path fill="#c8b100" d="M272.4 210.9c0-.3.2-.5.5-.5a.5.5 0 01.5.5.5.5 0 01-.5.4.5.5 0 01-.5-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M272.4 210.9c0-.3.2-.5.5-.5a.5.5 0 01.5.5.5.5 0 01-.5.4.5.5 0 01-.5-.4z"/>
<path fill="#c8b100" d="M283.2 209l.7.7-.9 1-.2.1-.1-.1-.3-1.3.8-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M283.2 209l.7.7-.9 1-.2.1-.1-.1-.3-1.3.8-.3"/>
<path fill="#c8b100" d="M284.6 211.2l-.5.5-1.2-.6v-.2l.1-.2 1.3-.1.3.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M284.6 211.2l-.5.5-1.2-.6v-.2l.1-.2 1.3-.1.3.6"/>
<path fill="#c8b100" d="M281 210.5l.3.6h1.3l.2-.2-.1-.3-1.2-.6-.5.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M281 210.5l.3.6h1.3l.2-.2-.1-.3-1.2-.6-.5.5"/>
<path fill="#c8b100" d="M285.7 211.4v.6l1.4.2.2-.1v-.2l-1-.9-.6.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M285.7 211.4v.6l1.4.2.2-.1v-.2l-1-.9-.6.4"/>
<path fill="#c8b100" d="M277.4 210.4c0-.2.2-.4.5-.4.2 0 .4.2.4.4 0 .3-.2.5-.4.5a.5.5 0 01-.5-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M277.4 210.4c0-.2.2-.4.5-.4.2 0 .4.2.4.4 0 .3-.2.5-.4.5a.5.5 0 01-.5-.5z"/>
<path fill="#c8b100" d="M282.3 210.9c0-.3.3-.5.5-.5.3 0 .5.2.5.5s-.2.4-.5.4a.5.5 0 01-.5-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M282.3 210.9c0-.3.3-.5.5-.5.3 0 .5.2.5.5s-.2.4-.5.4a.5.5 0 01-.5-.4z"/>
<path fill="#c8b100" d="M277 205.4c0-.5.4-.8.8-.8s1 .3 1 .8-.5.8-1 .8a.9.9 0 01-.8-.8"/>
<path fill="#c8b100" d="M278.5 205.1v.6H277v-.6h.4v-1.3h-.5v-.5h.5v-.6h.6v.6h.6v.6h-.6v1.2h.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M278.5 205.1v.6H277v-.6h.4v-1.3h-.5v-.5h.5v-.6h.6v.6h.6v.6h-.6v1.2h.4z"/>
<path fill="#c8b100" d="M279 205.1v.6h-2.4v-.6h1v-1.3h-.7v-.5h.6v-.6h.6v.6h.6v.6h-.6v1.2h1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M278.1 204.6c.4 0 .6.4.6.8 0 .5-.4.8-.9.8a.9.9 0 01-.8-.8c0-.4.2-.7.6-.8"/>
<path fill="#c8b100" d="M268 212.2l-.6-.7a2.3 2.3 0 00-.7-.3c0-.1.3-.3.6-.3.2 0 .3 0 .4.2v-.2s.3 0 .4.3v1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M268 212.2l-.6-.7a2.3 2.3 0 00-.7-.3c0-.1.3-.3.6-.3.2 0 .3 0 .4.2v-.2s.3 0 .4.3v1z"/>
<path fill="#c8b100" d="M268 212c.1-.2.4-.2.5 0 .2.1.3.3.1.5l-.5-.1c-.1-.1-.2-.4 0-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M268 212c.1-.2.4-.2.5 0 .2.1.3.3.1.5l-.5-.1c-.1-.1-.2-.4 0-.5z"/>
<path fill="#c8b100" d="M287.5 212.2l.6-.7c.2-.2.7-.3.7-.3 0-.1-.3-.3-.6-.3a.6.6 0 00-.4.2v-.2s-.3 0-.4.3v.7l.1.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M287.5 212.2l.6-.7c.2-.2.7-.3.7-.3 0-.1-.3-.3-.6-.3a.6.6 0 00-.4.2v-.2s-.3 0-.4.3v.7l.1.3z"/>
<path fill="#c8b100" d="M287.5 212c-.1-.2-.3-.2-.5 0-.2.1-.2.3-.1.5l.5-.1c.2-.1.2-.4.1-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M287.5 212c-.1-.2-.3-.2-.5 0-.2.1-.2.3-.1.5l.5-.1c.2-.1.2-.4.1-.5z"/>
<path fill="#c8b100" d="M267.2 223h21.4v-5.5h-21.4v5.6z"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M267.2 223h21.4v-5.5h-21.4v5.6z"/>
<path fill="#c8b100" d="M286.3 226.8a1 1 0 00-.4 0h-16.5c.6-.2 1-.7 1-1.2 0-.6-.4-1.1-1-1.3h17-.1c-.6.2-1 .7-1 1.3 0 .5.4 1 1 1.2"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M286.3 226.8a1 1 0 00-.4 0h-16.5c.6-.2 1-.7 1-1.2 0-.6-.4-1.1-1-1.3h17-.1c-.6.2-1 .7-1 1.3 0 .5.4 1 1 1.2z"/>
<path fill="#c8b100" d="M269.9 226.8h16c.6 0 1 .3 1 .7 0 .4-.4.8-1 .8h-16c-.6 0-1-.4-1-.8s.5-.8 1-.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M269.9 226.8h16c.6 0 1 .3 1 .7 0 .4-.4.8-1 .8h-16c-.6 0-1-.4-1-.8s.5-.8 1-.8z"/>
<path fill="#c8b100" d="M269.9 223h16c.6 0 1 .4 1 .7 0 .4-.4.6-1 .6h-16c-.6 0-1-.2-1-.6 0-.3.4-.6 1-.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M269.9 223h16c.6 0 1 .4 1 .7 0 .4-.4.6-1 .6h-16c-.6 0-1-.2-1-.6 0-.3.4-.6 1-.6z"/>
<path fill="#005bbf" d="M263 317.4c1.4 0 2.7-.3 3.7-.8a8.4 8.4 0 013.7-.8c1.4 0 2.8.3 3.8.8s2.3.8 3.7.8c1.5 0 2.8-.3 3.8-.8a8.4 8.4 0 013.6-.8 8 8 0 013.7.8c1 .5 2.4.8 3.8.8v2.4a8.3 8.3 0 01-3.8-.9 8.2 8.2 0 00-3.7-.8c-1.4 0-2.7.3-3.6.8-1 .5-2.3.9-3.8.9a8 8 0 01-3.7-.9 8.4 8.4 0 00-3.8-.8 8.3 8.3 0 00-3.7.8c-1 .5-2.3.9-3.8.9v-2.4"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M263 317.4c1.4 0 2.7-.3 3.7-.8a8.4 8.4 0 013.7-.8c1.4 0 2.8.3 3.8.8s2.3.8 3.7.8c1.5 0 2.8-.3 3.8-.8a8.4 8.4 0 013.6-.8 8 8 0 013.7.8c1 .5 2.4.8 3.8.8v2.4a8.3 8.3 0 01-3.8-.9 8.2 8.2 0 00-3.7-.8c-1.4 0-2.7.3-3.6.8-1 .5-2.3.9-3.8.9a8 8 0 01-3.7-.9 8.4 8.4 0 00-3.8-.8 8.3 8.3 0 00-3.7.8c-1 .5-2.3.9-3.8.9v-2.4z"/>
<path fill="#ccc" d="M263 319.8c1.4 0 2.7-.4 3.7-.9s2.3-.8 3.7-.8c1.4 0 2.8.3 3.8.8s2.3.9 3.7.9a8.2 8.2 0 003.8-.9 8.4 8.4 0 013.6-.8c1.5 0 2.8.3 3.7.8 1 .5 2.4.9 3.8.9v2.3a8.3 8.3 0 01-3.8-.9 8.1 8.1 0 00-3.7-.7c-1.4 0-2.7.2-3.6.7-1 .5-2.3.9-3.8.9a7 7 0 01-3.7-.9c-1-.4-2.3-.7-3.8-.7a8.3 8.3 0 00-3.7.7 8.1 8.1 0 01-3.8.9v-2.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M263 319.8c1.4 0 2.7-.4 3.7-.9s2.3-.8 3.7-.8c1.4 0 2.8.3 3.8.8s2.3.9 3.7.9a8.2 8.2 0 003.8-.9 8.4 8.4 0 013.6-.8c1.5 0 2.8.3 3.7.8 1 .5 2.4.9 3.8.9v2.3a8.3 8.3 0 01-3.8-.9 8.1 8.1 0 00-3.7-.7c-1.4 0-2.7.2-3.6.7-1 .5-2.3.9-3.8.9a7 7 0 01-3.7-.9c-1-.4-2.3-.7-3.8-.7a8.3 8.3 0 00-3.7.7 8.1 8.1 0 01-3.8.9v-2.3"/>
<path fill="#005bbf" d="M263 322c1.4 0 2.7-.2 3.7-.8 1-.4 2.3-.7 3.7-.7 1.4 0 2.8.2 3.8.7s2.3.9 3.7.9a8.2 8.2 0 003.8-.9 8.4 8.4 0 013.6-.8 8 8 0 013.7.8c1 .5 2.4.9 3.8.9v2.3a8.3 8.3 0 01-3.8-.9 8.2 8.2 0 00-3.7-.7c-1.4 0-2.7.3-3.6.7-1 .6-2.3.9-3.8.9-1.4 0-2.8-.3-3.7-.8a8.4 8.4 0 00-3.8-.8 8.3 8.3 0 00-3.7.8c-1 .5-2.3.8-3.8.8V322"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M263 322c1.4 0 2.7-.2 3.7-.8 1-.4 2.3-.7 3.7-.7 1.4 0 2.8.2 3.8.7s2.3.9 3.7.9a8.2 8.2 0 003.8-.9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 8.2 0 00-3.7-.8 8.4 8.4 0 00-3.6.7 8.2 8.2 0 01-3.8.9c-1.4 0-2.8-.3-3.7-.8-1-.5-2.3-.8-3.8-.8-1.4 0-2.7.3-3.7.8s-2.3.8-3.8.8v2.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M263 329a8.1 8.1 0 003.7-.8c1-.5 2.3-.8 3.7-.8 1.4 0 2.8.3 3.8.8s2.3.8 3.7.8a8.2 8.2 0 003.8-.9 8.4 8.4 0 013.6-.7c1.5 0 2.8.3 3.7.8 1 .5 2.4.8 3.8.8v-2.3a8.3 8.3 0 01-3.8-.8 8.2 8.2 0 00-3.7-.8 8.4 8.4 0 00-3.6.7 8.2 8.2 0 01-3.8.9c-1.4 0-2.8-.3-3.7-.8-1-.5-2.3-.8-3.8-.8-1.4 0-2.7.3-3.7.8s-2.3.8-3.8.8v2.3z"/>
<path fill="#c8b100" d="M286.3 308l-.1.5c0 1.5 1.2 2.6 2.7 2.6h-22c1.5 0 2.7-1.2 2.7-2.6l-.1-.5h16.8"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M286.3 308l-.1.5c0 1.5 1.2 2.6 2.7 2.6h-22c1.5 0 2.7-1.2 2.7-2.6l-.1-.5h16.8z"/>
<path fill="#c8b100" d="M269.9 306.5h16c.6 0 1 .3 1 .8 0 .4-.4.7-1 .7h-16c-.6 0-1-.3-1-.8 0-.4.5-.7 1-.7"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M269.9 306.5h16c.6 0 1 .3 1 .8 0 .4-.4.7-1 .7h-16c-.6 0-1-.3-1-.8 0-.4.5-.7 1-.7z"/>
<path fill="#c8b100" d="M266.9 316.7h22V311h-22v5.6z"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M266.9 316.7h22V311h-22v5.6z"/>
<path fill="#ad1519" d="M290.6 286.7c2.1 1.2 3.6 2.5 3.4 3.2-.1.6-.8 1-1.8 1.6-1.6 1.1-2.5 3-1.8 4a5.5 5.5 0 01.2-8.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M290.6 286.7c2.1 1.2 3.6 2.5 3.4 3.2-.1.6-.8 1-1.8 1.6-1.6 1.1-2.5 3-1.8 4a5.5 5.5 0 01.2-8.8z"/>
<path fill="#ccc" d="M270.1 305.6h15.6V229h-15.6v76.5z"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M281.4 229.1v76.3m1.8-76.3v76.3m-13 .2h15.5V229h-15.6v76.5z"/>
<path fill="#ad1519" d="M254.2 257.7a49.6 49.6 0 0123.3-2c9.3 1.6 16.4 5.3 15.9 8.4v.2l3.5-8.2c.6-3.3-7.3-7.5-17.6-9.2a53.5 53.5 0 00-9.2-.7c-6.7 0-12.4.8-15.9 2.1v9.4"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M254.2 257.7a49.6 49.6 0 0123.3-2c9.3 1.6 16.4 5.3 15.9 8.4v.2l3.5-8.2c.6-3.3-7.3-7.5-17.6-9.2a53.5 53.5 0 00-9.2-.7c-6.7 0-12.4.8-15.9 2.1v9.4"/>
<path fill="#ad1519" d="M285.7 267.3c4.4-.3 7.3-1.4 7.7-3.2.2-1.5-1.2-3-3.8-4.5-1.2.1-2.5.3-3.9.3v7.4"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M285.7 267.3c4.4-.3 7.3-1.4 7.7-3.2.2-1.5-1.2-3-3.8-4.5-1.2.1-2.5.3-3.9.3v7.4"/>
<path fill="#ad1519" d="M270 261.5a13 13 0 00-5.7 1.9v.2c-.5 1 1.8 3 5.8 5.4v-7.5"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M270 261.5a13 13 0 00-5.7 1.9v.2c-.5 1 1.8 3 5.8 5.4v-7.5"/>
<path fill="#ad1519" d="M295.4 282c.4-1.2-3.8-3.6-9.7-5.8-2.8-1-5-2-7.8-3.2-8.3-3.7-14.4-7.9-13.6-9.4v-.2c-.4.4-1 8-1 8-.8 1.3 4.8 5.5 12.4 9.1 2.4 1.2 7.6 3 10 4 4.3 1.4 8.7 4.3 8.3 5.3l1.4-7.7"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M295.4 282c.4-1.2-3.8-3.6-9.7-5.8-2.8-1-5-2-7.8-3.2-8.3-3.7-14.4-7.9-13.6-9.4v-.2c-.4.4-1 8-1 8-.8 1.3 4.8 5.5 12.4 9.1 2.4 1.2 7.6 3 10 4 4.3 1.4 8.7 4.3 8.3 5.3l1.4-7.7z"/>
<path fill="#c8b100" d="M263.9 254.4c.6-2.3 1.4-4.4 2.1-6.6h-.5a5.2 5.2 0 01-.5.1 52.8 52.8 0 01-1.4 4.8c-1-1.4-2-2.7-2.7-4.1l-1 .2h-1a131.3 131.3 0 014 5.7h.5l.5-.1m6-6.6h-1a8 8 0 01-.8 0v6.2h4.2v-.7h-2.6l.1-5.5m6.8 1l2 .3v-.7l-5.8-.5v.8a19.3 19.3 0 012 0l-.4 5.6h1.6l.5-5.4m2.4 6c.3 0 .5 0 .8.2l.8.2.7-2.9.6 1.2.8 2.1 1 .2c.4 0 .7.2 1 .3l-.3-.7c-.4-1-1-1.9-1.3-2.9 1 0 1.9-.3 2.1-1.2.1-.6 0-1-.7-1.5-.4-.3-1.2-.4-1.7-.5l-2.4-.5-1.4 6m3-5.2c.7.2 1.5.3 1.5 1v.5c-.3.9-1 1.2-2 .9l.5-2.4m8 7l-.2 2 .8.5.9.5.5-7a3.4 3.4 0 01-.7-.3l-6.1 3.8.5.3.4.2 1.7-1.2 2.3 1.3zm-1.7-1.5l2-1.4-.2 2.3-1.8-1"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M182.2 192.4c0-1 1-2 2-2s2.2 1 2.2 2c0 1.1-1 2-2.1 2a2 2 0 01-2.1-2z"/>
<path fill="#ad1519" stroke="#000" stroke-width=".3" d="M205.7 175.4c6.3 0 12 1 15.7 2.4a31.7 31.7 0 0014.6 2.3c2.7 0 6.5.8 10.3 2.4a27.3 27.3 0 017.4 4.7l-1.5 1.4-.4 3.8-4.1 4.7-2 1.8-5 3.9-2.5.2-.7 2.1-31.6-3.7-31.7 3.7-.8-2.1-2.5-.2-4.9-4-2-1.7-4.1-4.7-.5-3.8-1.5-1.4a27.6 27.6 0 017.5-4.7 26 26 0 0110.2-2.4c2 .2 4.2.1 6.6-.2a30 30 0 008-2c3.7-1.5 9-2.5 15.5-2.5z"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M206.2 217.1c-11.8 0-22.4-1.4-29.9-3.6a1.1 1.1 0 01-.8-1.2c0-.5.3-1 .8-1.2a109 109 0 0129.9-3.6c11.7 0 22.3 1.4 29.8 3.6a1.3 1.3 0 010 2.4c-7.5 2.2-18 3.6-29.8 3.6"/>
<path fill="#ad1519" d="M206.1 215.6c-10.6 0-20.2-1.2-27.5-3.1 7.3-2 16.9-3 27.5-3.1a115 115 0 0127.6 3c-7.3 2-17 3.2-27.6 3.2"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M206.9 215.7v-6.3m-1.7 6.3v-6.3"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M203.6 215.7v-6.3m-1.6 6.3v-6.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M200.6 215.7v-6.3m-2.8 5.9v-5.7m1.3 5.8v-6m-3.8 5.6v-5.2m1.3 5.4v-5.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M192 214.8V210m1 4.7V210m1.2 5v-5m-3.4 4.7v-4.5"/>
<path fill="none" stroke="#000" stroke-width=".5" d="M189.7 214.5v-4.2m-1.2 4.1v-4"/>
<path fill="none" stroke="#000" stroke-width=".6" d="M186 214v-3m1.3 3.2v-3.5m-2.5 3.1V211"/>
<path fill="none" stroke="#000" stroke-width=".7" d="M183.7 213.6v-2.3m-1.3 2v-1.8m-1.2 1.6v-1.3"/>
<path fill="none" stroke="#000" stroke-width=".9" d="M179.8 212.8v-.7"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M213.7 215.3v-5.8m-2.9 6v-6.1m-2.1 6.2v-6.3"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M206 207.4a108 108 0 00-30 3.9c.6-.3.5-1-.3-3-1-2.5-2.4-2.4-2.4-2.4 8.3-2.5 20-4 32.8-4a123 123 0 0133 4s-1.5-.1-2.5 2.3c-.8 2-.8 2.8-.2 3-7.5-2.2-18.4-3.7-30.3-3.7"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M206.1 201.9c-12.9 0-24.5 1.5-32.8 4a1 1 0 01-1.3-.6 1 1 0 01.7-1.3 121 121 0 0133.4-4.2c13.2 0 25.2 1.7 33.5 4.2.6.2.9.8.7 1.3-.2.5-.8.8-1.3.6-8.4-2.5-20-4-32.9-4"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M206.1 215.6c-10.6 0-20.2-1.2-27.5-3.1 7.3-2 16.9-3 27.5-3.1a115 115 0 0127.6 3c-7.3 2-17 3.2-27.6 3.2z"/>
<path fill="#fff" stroke="#000" stroke-width=".4" d="M197 204.8c0-.5.4-1 1-1 .5 0 1 .5 1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="#ad1519" stroke="#000" stroke-width=".4" d="M206.1 205.6H203a1 1 0 010-2h6.4c.5 0 1 .5 1 1s-.5 1-1 1h-3.2"/>
<path fill="#058e6e" stroke="#000" stroke-width=".4" d="M190.3 206.5l-2.3.2c-.6.1-1-.3-1.2-.8a1 1 0 011-1.1l2.2-.3 2.4-.3c.5 0 1 .3 1.1.9.1.5-.3 1-.9 1l-2.3.4"/>
<path fill="#fff" stroke="#000" stroke-width=".4" d="M181 206.7c0-.6.5-1 1.1-1 .6 0 1 .4 1 1 0 .5-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="#ad1519" stroke="#000" stroke-width=".4" d="M174 208.5l1.2-1.6 3.3.4-2.6 2-1.8-.8"/>
<path fill="#058e6e" stroke="#000" stroke-width=".4" d="M222 206.5l2.3.2c.5.1 1-.3 1.1-.8a1 1 0 00-.9-1.1l-2.2-.3-2.4-.3a1 1 0 00-1.1.9c-.1.5.3 1 .9 1l2.3.4"/>
<path fill="#fff" stroke="#000" stroke-width=".4" d="M213.3 204.8c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1m15.8 1.9c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1 0 .5-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="#ad1519" stroke="#000" stroke-width=".4" d="M238.2 208.5l-1.1-1.6-3.3.4 2.6 2 1.8-.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M177.3 212.8c7.4-2.1 17.6-3.4 28.8-3.4 11.3 0 21.4 1.3 28.9 3.4"/>
<path fill="#c8b100" d="M182.3 183.8l1.4 1 2-3.2a7.4 7.4 0 01-3.6-7.2c.2-4.1 5.2-7.6 11.7-7.6 3.3 0 6.3 1 8.5 2.4 0-.6 0-1.2.2-1.8a17.4 17.4 0 00-8.7-2.1c-7.4 0-13.2 4.1-13.5 9.1a8.9 8.9 0 003 7.6l-1 1.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M182.3 183.8l1.4 1 2-3.2a7.4 7.4 0 01-3.6-7.2c.2-4.1 5.2-7.6 11.7-7.6 3.3 0 6.3 1 8.5 2.4 0-.6 0-1.2.2-1.8a17.4 17.4 0 00-8.7-2.1c-7.4 0-13.2 4.1-13.5 9.1a8.9 8.9 0 003 7.6l-1 1.8"/>
<path fill="#c8b100" d="M182.4 183.8a9.3 9.3 0 01-4-7.3c0-3.2 2-6.1 5.3-8a8.5 8.5 0 00-3.4 6.8 8.9 8.9 0 003 6.7l-.9 1.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M182.4 183.8a9.3 9.3 0 01-4-7.3c0-3.2 2-6.1 5.3-8a8.5 8.5 0 00-3.4 6.8 8.9 8.9 0 003 6.7l-.9 1.8"/>
<path fill="#c8b100" d="M160.1 187.1a8.8 8.8 0 01-2.3-5.9c0-1.3.3-2.6 1-3.8 2-4.2 8.4-7.2 16-7.2 2 0 4 .2 5.9.6l-1 1.4a25.5 25.5 0 00-4.9-.4c-7 0-12.8 2.7-14.5 6.3a7 7 0 00-.7 3.1 7.3 7.3 0 002.7 5.6l-2.6 4.1-1.3-1 1.7-2.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M160.1 187.1a8.8 8.8 0 01-2.3-5.9c0-1.3.3-2.6 1-3.8 2-4.2 8.4-7.2 16-7.2 2 0 4 .2 5.9.6l-1 1.4a25.5 25.5 0 00-4.9-.4c-7 0-12.8 2.7-14.5 6.3a7 7 0 00-.7 3.1 7.3 7.3 0 002.7 5.6l-2.6 4.1-1.3-1 1.7-2.8z"/>
<path fill="#c8b100" d="M162.7 173.3a10.5 10.5 0 00-4 4.1 8.6 8.6 0 00-.9 3.8c0 2.3.9 4.3 2.3 5.9l-1.5 2.5a10.4 10.4 0 01-2.3-6.5c0-4 2.5-7.5 6.4-9.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M162.7 173.3a10.5 10.5 0 00-4 4.1 8.6 8.6 0 00-.9 3.8c0 2.3.9 4.3 2.3 5.9l-1.5 2.5a10.4 10.4 0 01-2.3-6.5c0-4 2.5-7.5 6.4-9.8z"/>
<path fill="#c8b100" d="M206 164.4c1.7 0 3.2 1.1 3.5 2.6.3 1.4.4 2.9.4 4.5v1.1c.1 3.3.6 6.3 1.3 8.1l-5.2 5-5.2-5c.7-1.8 1.2-4.8 1.3-8.1v-1.1c0-1.6.2-3.1.4-4.5.3-1.5 1.8-2.6 3.5-2.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M206 164.4c1.7 0 3.2 1.1 3.5 2.6.3 1.4.4 2.9.4 4.5v1.1c.1 3.3.6 6.3 1.3 8.1l-5.2 5-5.2-5c.7-1.8 1.2-4.8 1.3-8.1v-1.1c0-1.6.2-3.1.4-4.5.3-1.5 1.8-2.6 3.5-2.6z"/>
<path fill="#c8b100" d="M206 166c1 0 1.7.6 1.8 1.4.2 1.2.4 2.6.4 4.2v1c.1 3.2.6 6 1.2 7.7l-3.4 3.2-3.4-3.2c.7-1.7 1.1-4.5 1.2-7.7v-1a28.1 28.1 0 01.4-4.2 2 2 0 011.8-1.4"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M206 166c1 0 1.7.6 1.8 1.4.2 1.2.4 2.6.4 4.2v1c.1 3.2.6 6 1.2 7.7l-3.4 3.2-3.4-3.2c.7-1.7 1.1-4.5 1.2-7.7v-1a28.1 28.1 0 01.4-4.2 2 2 0 011.8-1.4z"/>
<path fill="#c8b100" d="M229.7 183.8l-1.3 1-2-3.2a7.4 7.4 0 003.6-6.3 7 7 0 000-.9c-.2-4.1-5.3-7.6-11.7-7.6a15 15 0 00-8.5 2.4 23 23 0 00-.2-1.8 17.4 17.4 0 018.7-2.1c7.4 0 13.2 4.1 13.4 9.1a8.9 8.9 0 01-3 7.6l1 1.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M229.7 183.8l-1.3 1-2-3.2a7.4 7.4 0 003.6-6.3 7 7 0 000-.9c-.2-4.1-5.3-7.6-11.7-7.6a15 15 0 00-8.5 2.4 23 23 0 00-.2-1.8 17.4 17.4 0 018.7-2.1c7.4 0 13.2 4.1 13.4 9.1a8.9 8.9 0 01-3 7.6l1 1.8"/>
<path fill="#c8b100" d="M229.6 183.8a9.1 9.1 0 004.1-7.3c0-3.2-2.1-6.1-5.3-8a8.5 8.5 0 013.4 6.8 8.9 8.9 0 01-3.2 6.7l1 1.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M229.6 183.8a9.1 9.1 0 004.1-7.3c0-3.2-2.1-6.1-5.3-8a8.5 8.5 0 013.4 6.8 8.9 8.9 0 01-3.2 6.7l1 1.8"/>
<path fill="#c8b100" d="M252 187.1a8.8 8.8 0 002.2-5.9 8.7 8.7 0 00-.9-3.8c-2-4.2-8.4-7.2-16-7.2a29 29 0 00-6 .6l1 1.4a25.4 25.4 0 015-.4c7 0 12.8 2.7 14.4 6.3.5 1 .7 2 .7 3.1a7.3 7.3 0 01-2.6 5.6l2.5 4.1 1.3-1-1.7-2.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M252 187.1a8.8 8.8 0 002.2-5.9 8.7 8.7 0 00-.9-3.8c-2-4.2-8.4-7.2-16-7.2a29 29 0 00-6 .6l1 1.4a25.4 25.4 0 015-.4c7 0 12.8 2.7 14.4 6.3.5 1 .7 2 .7 3.1a7.3 7.3 0 01-2.6 5.6l2.5 4.1 1.3-1-1.7-2.8z"/>
<path fill="#c8b100" d="M249.3 173.3a10.6 10.6 0 014 4.1 8.7 8.7 0 01.9 3.8 8.8 8.8 0 01-2.3 5.9l1.6 2.5a10.4 10.4 0 002.3-6.5c0-4-2.6-7.5-6.5-9.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M249.3 173.3a10.6 10.6 0 014 4.1 8.7 8.7 0 01.9 3.8 8.8 8.8 0 01-2.3 5.9l1.6 2.5a10.4 10.4 0 002.3-6.5c0-4-2.6-7.5-6.5-9.8z"/>
<path fill="#fff" d="M204.2 181.4c0-1 .8-1.8 1.8-1.8s1.9.8 1.9 1.8-.9 1.7-1.9 1.7a1.8 1.8 0 01-1.8-1.7"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M204.2 181.4c0-1 .8-1.8 1.8-1.8s1.9.8 1.9 1.8-.9 1.7-1.9 1.7a1.8 1.8 0 01-1.8-1.7z"/>
<path fill="#fff" stroke="#000" stroke-width=".4" d="M204.2 178c0-1 .8-1.8 1.8-1.8s1.9.8 1.9 1.8-.9 1.7-1.9 1.7a1.8 1.8 0 01-1.8-1.7m.4-3.7c0-.7.6-1.3 1.4-1.3.8 0 1.5.6 1.5 1.3 0 .8-.7 1.4-1.5 1.4s-1.4-.6-1.4-1.4m.4-3.3c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1m.2-2.8c0-.5.4-.8.8-.8.5 0 .9.3.9.8 0 .4-.4.8-.9.8a.8.8 0 01-.8-.8"/>
<path fill="#c8b100" stro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.9 0c0-.8.4-1.6 1-1.6.6-.1 1.1.5 1.2 1.4.1.8-.3 1.5-.9 1.6-.6 0-1.1-.6-1.2-1.4m-20.6 4c-.2-.8 0-1.6.6-1.8.6-.2 1.2.3 1.5 1.1.3.8 0 1.6-.5 1.8-.6.2-1.3-.3-1.6-1.1"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M182.7 184a5.1 5.1 0 012.2 2.9s0-.3.6-.6 1-.3 1-.3l-.1 1.3-.3 2.2a7.4 7.4 0 01-.7 1.6 1.9 1.9 0 00-1.5-.4 1.8 1.8 0 00-1.2.9s-.7-.6-1.2-1.3l-1.1-2-.7-1.1s.5-.2 1.1 0c.6 0 .8.2.8.2a4.9 4.9 0 011-3.4m.4 9.8a1.8 1.8 0 01-.6-1c0-.5 0-.9.3-1.2 0 0-.9-.5-1.8-.7-.7-.2-2-.2-2.3-.2h-1l.2.5c.2.5.5.7.5.7a5 5 0 00-3 2 5.3 5.3 0 003.5 1l-.2.8v.6l1-.4c.3-.1 1.5-.5 2-1 .8-.4 1.5-1.1 1.5-1.1m2.7-.5a1.6 1.6 0 00.2-1.1 1.7 1.7 0 00-.6-1l1.4-1.3a10 10 0 012-.9l1.1-.4v.6a5.7 5.7 0 01-.2.8 5 5 0 013.4 1 5 5 0 01-2.9 2 6.4 6.4 0 00.7 1.2h-1c-.4 0-1.6 0-2.3-.2a11 11 0 01-1.8-.7"/>
<path fill="#ad1519" stroke="#000" stroke-width=".4" d="M182.2 192.4c0-1 1-2 2-2s2.2 1 2.2 2c0 1.1-1 2-2.1 2a2 2 0 01-2.1-2"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M206.1 180.8a5.7 5.7 0 011.9 3.7s.2-.3.9-.5c.7-.3 1.2-.2 1.2-.2l-.5 1.4-.8 2.4a8.2 8.2 0 01-1 1.7 2.1 2.1 0 00-1.7-.7c-.6 0-1.2.3-1.6.7 0 0-.6-.7-1-1.7l-.8-2.4-.5-1.4 1.2.2c.7.2.9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-2 2-2s2.1 1 2.1 2a2 2 0 01-2 2 2 2 0 01-2.1-2m23.2 4.4c-.4-.5-1.4-.4-2.2.2-.8.7-1 1.6-.5 2.2.5.5 1.5.4 2.3-.3.7-.6 1-1.6.5-2"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M246.3 198l.7-1c.7-.6 1.8-.7 2.3-.2l.1.2s1-2 2.3-2.6c1.3-.7 3.4-.5 3.4-.5a2.8 2.8 0 00-2.9-2.8 3 3 0 00-2.4 1l-.2-1s-1.3.3-1.9 1.8c-.6 1.5 0 3.6 0 3.6s-.3-.9-.7-1.5a8 8 0 00-2.4-1.6l-1.3-.7-.1.5a5 5 0 000 .8 7.9 7.9 0 00-3.7.5 4.7 4.7 0 002.5 2.2l-.8.7a4 4 0 00-.4.5l1.3.2 2.5.2a14.5 14.5 0 001.7-.2m-80.3 0c0-.4-.3-.7-.7-1-.7-.7-1.7-.8-2.2-.3l-.2.3s-1-2-2.3-2.7c-1.2-.7-3.3-.5-3.3-.5a2.8 2.8 0 012.8-2.8c1 0 1.9.4 2.4 1l.2-1s1.3.3 2 1.8c.5 1.5-.1 3.6-.1 3.6s.3-.9.8-1.5a8 8 0 012.4-1.6l1.3-.7v1.3a7.9 7.9 0 013.7.5 4.7 4.7 0 01-2.5 2.2l.8.7.4.5-1.2.2-2.6.2a14.7 14.7 0 01-1.7-.2"/>
<path fill="#ad1519" stroke="#000" stroke-width=".4" d="M163 196.8c.6-.5 1.6-.4 2.4.3.7.6 1 1.5.4 2-.5.6-1.5.5-2.2-.2-.8-.6-1-1.6-.5-2m41-6.3c0-1.1.9-2 2-2s2.1.9 2.1 2c0 1-1 2-2 2a2 2 0 01-2.1-2"/>
<path fill="#005bbf" stroke="#000" stroke-width=".3" d="M201.8 160.6c0-2.2 1.9-4 4.3-4s4.2 1.8 4.2 4-1.9 4-4.3 4a4.1 4.1 0 01-4.2-4"/>
<path fill="#c8b100" stroke="#000" stroke-width=".3" d="M205 149.3v2.2h-2.4v2.2h2.3v6.3H202l-.2.6c0 .6.1 1.1.3 1.6h7.9c.2-.5.3-1 .3-1.6l-.2-.6h-2.8v-6.3h2.3v-2.2h-2.3v-2.2h-2.4z"/>
<path fill="#ccc" d="M206.5 330.6a82 82 0 01-35.5-8.2 22.7 22.7 0 01-12.8-20.4v-32h96.4v32a22.7 22.7 0 01-12.8 20.4 81 81 0 01-35.3 8.2"/>
<path fill="none" stroke="#000" stroke-width=".5" d="M206.5 330.6a82 82 0 01-35.5-8.2 22.7 22.7 0 01-12.8-20.4v-32h96.4v32a22.7 22.7 0 01-12.8 20.4 81 81 0 01-35.3 8.2z"/>
<path fill="#ccc" d="M206.3 270h48.3v-53.5h-48.3V270z"/>
<path fill="none" stroke="#000" stroke-width=".5" d="M206.3 270h48.3v-53.5h-48.3V270z"/>
<path fill="#ad1519" d="M206.3 302c0 12.6-10.7 22.9-24 22.9s-24.2-10.3-24.2-23v-32h48.2v32"/>
<path fill="#c8b100" stroke="#000" stroke-width=".5" d="M168.6 320.9c1.5.8 3.6 2 5.8 2.6l-.1-54.7h-5.7v52z"/>
<path fill="#c8b100" stroke="#000" stroke-linejoin="round" stroke-width=".5" d="M158 301.6a24.4 24.4 0 005.5 15v-47.5h-5.4v32.5z"/>
<path fill="#c7b500" stroke="#000" stroke-width=".5" d="M179.4 324.7a26.6 26.6 0 005.6 0v-55.9h-5.6v56z"/>
<path fill="#c8b100" stroke="#000" stroke-width=".5" d="M190 323.5a19 19 0 005.8-2.5v-52.2H190l-.1 54.7z"/>
<path fill="#ad1519" d="M158.1 270h48.2v-53.5H158V270z"/>
<path fill="none" stroke="#000" stroke-width=".5" d="M158.1 270h48.2v-53.5H158V270z"/>
<path fill="#c8b100" stroke="#000" stroke-width=".5" d="M201 316c2.4-2 4.6-6.8 5.4-12.2l.1-35H201l.1 47.3z"/>
<path fill="none" stroke="#000" stroke-width=".5" d="M206.3 302c0 12.6-10.7 22.9-24 22.9s-24.2-10.3-24.2-23v-32h48.2v32"/>
<path fill="#ad1519" d="M254.6 270v32c0 12.6-10.8 22.9-24.1 22.9s-24.2-10.3-24.2-23v-32h48.3"/>
<path fill="none" stroke="#000" stroke-width=".5" d="M254.6 270v32c0 12.6-10.8 22.9-24.1 22.9s-24.2-10.3-24.2-23v-32h48.3"/>
<path fill="#c8b100" d="M215.1 294.1l.1.5c0 .6-.5 1-1.1 1a1 1 0 01-1.1-1v-.5h-1.5a2.5 2.5 0 001.8 2.9v3.9h1.6V297a2.6 2.6 0 001.7-1.6h4.4v-1.2h-6m21.8 0v1.2h-4a2.5 2.5 0 01-.3.6l4.6 5.2-1.2 1-4.6-5.3-.2.1v8.7h-1.6V297h-.2l-4.8 5.2-1.2-1 4.7-5.3a2.1 2.1 0 01-.2-.4h-4V294h13zm2.6 0v1.2h4.4c.3.8.9 1.4 1.7 1.6v3.9h1.6V297a2.5 2.5 0 001.8-2.4 2 2 0 000-.5h-1.6l.1.5c0 .6-.5 1-1 1-.7 0-1.2-.4-1.2-1a1 1 0 01.1-.5h-5.9m-6.7 22.1a15.6 15.6 0 003.7-1l.8 1.4a17.6 17.6 0 01-4.3 1.2 2.6 2.6 0 01-2.6 2 2.6 2.6 0 01-2.5-2 17.5 17.5 0 01-4.6-1.2l.8-1.4c1.3.5 2.6.9 4 1a2.5 2.5 0 011.5-1.3v-6.7h1.6v6.7c.7.2 1.3.7 1.6 1.4zm-11-2.2l-.8 1.4a16.6 16.6 0 01-3.6-3.1c-.9.2-1.8 0-2.5-.5a2.4 2.4 0 01-.3-3.5l.1-.1a15.3 15.3 0 01-1.3-4.8h1.7a13.1 13.1 0 001 4c.5 0 1 0 1.4.2l4.1-4.5 1.3 1-4.1 4.5c.5.9.5 2-.1 2.8a15.2 15.2 0 003.1 2.6zm-6-4.8c.3-.4 1-.5 1.5 0s.5 1 .1 1.4a1.2 1.2 0 01-1.6.1 1 1 0 010-1.5zm-2.2-4.5l-1.6-.3-.3-4.3 1.7-.6v2.5c0 1 0 1.8.2 2.7zm1.4-5.3l1.7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.5m-11.6 21.9c0-.6.5-1 1.1-1 .6 0 1.1.4 1.1 1s-.5 1-1 1a1.1 1.1 0 01-1.2-1zm1.9-7.8l1.7-.4v-4.3l-1.7-.5v5.2m-1.6 0l-1.7-.4v-4.3l1.7-.5v5.2m15.7-32.6c0-.6.5-1 1.1-1a1 1 0 011.1 1c0 .6-.5 1-1 1a1.1 1.1 0 01-1.2-1zm-16.1 0c0-.6.5-1 1.1-1a1 1 0 011.1 1c0 .6-.5 1-1 1a1.1 1.1 0 01-1.2-1zm6.2.8l.5 1.6h4.6l.5-1.6h-5.5m0-1.6l.4-1.6h4.6l.5 1.6h-5.5m-6 5l-1.6.5v4.3l1.6.5V281m1.7 0l1.6.5v4.3l-1.6.5V281"/>
<path fill="#058e6e" d="M227.7 294.7a2.6 2.6 0 012.6-2.5 2.6 2.6 0 012.6 2.5 2.6 2.6 0 01-2.6 2.4c-1.4 0-2.6-1-2.6-2.4"/>
<path fill="#db4446" d="M230.9 229.7v-.6l.1-.3-2.3-.1a5.9 5.9 0 01-2.3-1.2c-.8-.7-1.1-1-1.6-1.2-1.3-.2-2.3.4-2.3.4s1 .4 1.7 1.3 1.5 1.3 1.8 1.4c.6.2 2.6 0 3.1.1l1.8.2"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M230.9 229.7v-.6l.1-.3-2.3-.1a5.9 5.9 0 01-2.3-1.2c-.8-.7-1.1-1-1.6-1.2-1.3-.2-2.3.4-2.3.4s1 .4 1.7 1.3 1.5 1.3 1.8 1.4c.6.2 2.6 0 3.1.1l1.8.2z"/>
<path fill="#ed72aa" stroke="#000" stroke-width=".4" d="M238.1 227.5v1.4c.2.6-.1 1.2 0 1.5 0 .4.1.6.3.9l.2.9-.7-.5-.6-.4v1c.1.2.3.8.6 1.1l1 1.3c.2.5.1 1.4.1 1.4s-.4-.7-.8-.8l-1.2-.7s.7.8.7 1.5c0 .8-.3 1.6-.3 1.6s-.3-.7-.8-1.1l-1-.9s.4 1.2.4 2v2.3l-.9-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3-.8.3-1 0-.4 0-1 .2-.9.3 0 .5.4 1 .5.4 0 1-.1 1 .2 0 .3-.3.7-.6 1-.3.3-.4 1-.3 1.4.2.5.7 1.2 1.2 1.4.4.3 1.2.5 1.7.9.5.3 1.7 1.2 2.1 1.3l.8.4s.5-.2 1.1-.2c.7 0 2.1 0 2.6-.2.6-.2 1.3-.6 1-1-.1-.6-1.3-1-1.2-1.4 0-.4.5-.4 1.2-.4.8 0 1.8.1 2-1 .2-1 .2-1.5-.8-1.8-1-.2-1.8-.2-2-1-.2-.7-.4-.9-.2-1.1.3-.2.6-.3 1.4-.4.8 0 1.6 0 1.9-.2.2-.2.3-.7.6-.9.3-.2 1.4-.4 1.4-.4s1.4.7 2.7 1.7a15 15 0 012.2 2.1"/>
<path d="M228.1 226.8l-.2-.6v-.3s.8 0 .7.3c0 .2-.2.2-.3.3l-.2.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M228.1 226.8l-.2-.6v-.3s.8 0 .7.3c0 .2-.2.2-.3.3l-.2.3z"/>
<path d="M232 225.4v-.4s.7 0 1 .3c.5.4.9 1 .9 1l-.8-.4h-.5l-.3-.1v-.3h-.3"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M232 225.4v-.4s.7 0 1 .3c.5.4.9 1 .9 1l-.8-.4h-.5l-.3-.1v-.3h-.3z"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M237.3 231.3l-.4-.7a8 8 0 01-.3-.4"/>
<path fill="#db4446" d="M217.4 226.6s.5.4.8.4h.8s.2-.5.1-.8c-.2-1.2-1.2-1.4-1.2-1.4s.3.7.1 1a2 2 0 01-.6.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M217.4 226.6s.5.4.8.4h.8s.2-.5.1-.8c-.2-1.2-1.2-1.4-1.2-1.4s.3.7.1 1a2 2 0 01-.6.8z"/>
<path fill="#db4446" d="M215.2 227.6s-.4-.7-1.3-.6c-.8 0-1.4.8-1.4.8h1.2c.3.3.4 1 .4 1l.7-.6a7.2 7.2 0 00.4-.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M215.2 227.6s-.4-.7-1.3-.6c-.8 0-1.4.8-1.4.8h1.2c.3.3.4 1 .4 1l.7-.6a7.2 7.2 0 00.4-.6z"/>
<path fill="#db4446" d="M214.2 230.6s-.8.1-1.2.6c-.4.5-.3 1.3-.3 1.3s.4-.5.9-.5l1 .2-.1-.8-.3-.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M214.2 230.6s-.8.1-1.2.6c-.4.5-.3 1.3-.3 1.3s.4-.5.9-.5l1 .2-.1-.8-.3-.8z"/>
<path d="M228.2 230.5l.3-.5.3.5h-.7"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M228.2 230.5l.3-.5.3.5h-.7"/>
<path d="M229 230.5l.3-.5.4.5h-.8"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M229 230.5l.3-.5.4.5h-.8"/>
<path d="M228.6 227.3l.8.3-.7.4-.1-.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M228.6 227.3l.8.3-.7.4-.1-.6"/>
<path d="M229.5 227.6l.7.2-.5.4-.2-.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M229.5 227.6l.7.2-.5.4-.2-.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M224.2 233.7s-.7.2-1 .6c-.4.5-.3 1-.3 1s.6-.5 1.5-.3l1.2.3 1.3-.3s-.7.8-.7 1.3l.2 1.1c0 .7-.6 1.6-.6 1.6l1-.3a4.6 4.6 0 001.7-.8l.9-1s-.2 1 0 1.4l.2 1.6.8-.6c.2-.1.7-.4.9-.7l.3-1s0 .8.4 1.3l.6 1.6s.3-.8.6-1.1c.3-.4.7-.8.7-1a4.3 4.3 0 00-.1-.9l.4.8m-11 .6s.5-.8 1-1l1.1-.8.9-.4m1 5l1.3-.8a4 4 0 001-1"/>
<path fill="#db4446" d="M216.6 240.4s-.4-.5-1.1-.3c-.7 0-1.2.9-1.2.9s.6-.2 1-.1.6.4.6.4l.4-.4.3-.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M216.6 240.4s-.4-.5-1.1-.3c-.7 0-1.2.9-1.2.9s.6-.2 1-.1.6.4.6.4l.4-.4.3-.6z"/>
<path fill="#db4446" d="M215.8 243.2s-.6 0-1.1.3c-.5.4-.5 1.2-.5 1.2s.4-.4.8-.3l.9.2v-.6c.2-.4-.1-.8-.1-.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M215.8 243.2s-.6 0-1.1.3c-.5.4-.5 1.2-.5 1.2s.4-.4.8-.3l.9.2v-.6c.2-.4-.1-.8-.1-.8z"/>
<path fill="#db4446" d="M217.2 245.8s0 .8.3 1.3c.4.5 1.1.5 1.1.5l-.3-.7c0-.4.3-.8.3-.8s-.3-.3-.7-.3h-.7"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M217.2 245.8s0 .8.3 1.3c.4.5 1.1.5 1.1.5l-.3-.7c0-.4.3-.8.3-.8s-.3-.3-.7-.3h-.7zm16 1.3s2 1.2 1.9 2.2c0 1-1 2.3-1 2.3"/>
<path fill="#db4446" d="M224.2 252.6s-.4-.6-1.1-.6c-.7 0-1.4.7-1.4.7s.8-.1 1 .2l.5.6.5-.3.5-.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M224.2 252.6s-.4-.6-1.1-.6c-.7 0-1.4.7-1.4.7s.8-.1 1 .2l.5.6.5-.3.5-.6z"/>
<path fill="#db4446" d="M222.2 255.3s-1-.1-1.4.3c-.4.5-.4 1.3-.4 1.3s.6-.6 1-.5c.5 0 1 .3 1 .3v-.7l-.3-.7"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M222.2 255.3s-1-.1-1.4.3c-.4.5-.4 1.3-.4 1.3s.6-.6 1-.5c.5 0 1 .3 1 .3v-.7l-.3-.7z"/>
<path fill="#db4446" d="M224 258.1s-.3.7 0 1.1c.3.5 1 .8 1 .8s-.3-.4-.2-.8c.1-.3.7-.8.7-.8l-1.4-.2"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M224 258.1s-.3.7 0 1.1c.3.5 1 .8 1 .8s-.3-.4-.2-.8c.1-.3.7-.8.7-.8l-1.4-.2z"/>
<path fill="#db4446" d="M236 259.3s-.8-.2-1.2 0c-.5.3-.8 1.4-.8 1.4s.7-.6 1.2-.5c.5 0 1 .3 1 .3v-.8l-.2-.4"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M236 259.3s-.8-.2-1.2 0c-.5.3-.8 1.4-.8 1.4s.7-.6 1.2-.5c.5 0 1 .3 1 .3v-.8l-.2-.4z"/>
<path fill="#db4446" d="M236.4 262.2s-.6.6-.4 1.1l.6 1s0-.7.2-1l1-.3-.7-.5a15.8 15.8 0 01-.7-.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M236.4 262.2s-.6.6-.4 1.1l.6 1s0-.7.2-1l1-.3-.7-.5a15.8 15.8 0 01-.7-.3z"/>
<path fill="#db4446" d="M239.4 263s-.3.8.2 1.3c.6.5 1 .5 1 .5s-.3-.7-.2-1.1c.1-.5.5-.7.5-.7l-.8-.2-.7.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M239.4 263s-.3.8.2 1.3c.6.5 1 .5 1 .5s-.3-.7-.2-1.1c.1-.5.5-.7.5-.7l-.8-.2-.7.3z"/>
<path fill="#ffd691" stroke="#000" stroke-width=".5" d="M208.8 316.4c2 .6 3 2 3 3.8 0 2.3-2.2 4-5 4-3 0-5.3-1.7-5.3-4 0-1.7 1-3.6 3-3.8l-.2-.4-.7-.7h1.2l.8.5.5-.7c.3-.4.6-.5.6-.5l.6.6.3.5.7-.4.8-.3s0 .4-.2.7l-.1.7"/>
<path fill="#058e6e" stroke="#000" stroke-width=".5" d="M206.3 326.7s-3.8-2.6-5.5-3c-2-.4-4.5 0-5.5 0 0 0 1.2.8 1.8 1.4.5.5 2.3 1.5 3.3 1.8 3 .8 6-.2 6-.2m1 .2s2.4-2.5 5-2.9c3-.4 5 .3 6.2.6l-1.5.8c-.5.3-2 1.5-4 1.6-2 0-4.4-.3-4.8-.2l-.9.1"/>
<path fill="#ad1519" stroke="#000" stroke-width=".5" d="M206.7 323.8a4.8 4.8 0 010-7.1 4.8 4.8 0 011.5 3.5 4.9 4.9 0 01-1.5 3.6"/>
<path fill="#058e6e" stroke="#000" stroke-width=".5" d="M205.7 329s.6-1.5.6-2.7l-.1-2.1h.8s.3 1.1.3 2l-.1 2.4-.7.1-.8.3"/>
<path fill="#fff" d="M254 190.7c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M254 190.7c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M255.4 188.2c0-.6.5-1 1.1-1 .6 0 1 .4 1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M255.4 188.2c0-.6.5-1 1.1-1 .6 0 1 .4 1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M256.4 185.2c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M256.4 185.2c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1z"/>
<path fill="#fff" d="M256.5 182c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M256.5 182c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M255.7 179c0-.6.5-1 1-1 .7 0 1.2.4 1.2 1s-.5 1-1.1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M255.7 179c0-.6.5-1 1-1 .7 0 1.2.4 1.2 1s-.5 1-1.1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M254.1 176.1c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M254.1 176.1c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M252 173.8c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M252 173.8c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M249.4 171.8c0-.5.5-1 1.1-1a1 1 0 010 2c-.6 0-1-.4-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M249.4 171.8c0-.5.5-1 1.1-1a1 1 0 010 2c-.6 0-1-.4-1-1z"/>
<path fill="#fff" d="M246.5 170.3c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M246.5 170.3c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M243.3 169.1c0-.5.5-1 1.1-1a1 1 0 010 2 1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M243.3 169.1c0-.5.5-1 1.1-1a1 1 0 010 2 1 1 0 01-1-1z"/>
<path fill="#fff" d="M239.9 168.5c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M239.9 168.5c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M236.6 168.3c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M236.6 168.3c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M233.3 168.5c0-.6.5-1 1-1 .7 0 1.1.4 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M233.3 168.5c0-.6.5-1 1-1 .7 0 1.1.4 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M230.1 168.5c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M230.1 168.5c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1z"/>
<path fill="#fff" stroke="#000" stroke-width=".4" d="M231.7 171.2c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1m.6 3.1c0-.6.4-1 1-1s1 .4 1 1c0 .5-.4 1-1 1a1 1 0 01-1-1m0 3c0-.5.6-1 1.1-1a1 1 0 010 2 1 1 0 01-1-1m-1 2.8c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1 0 .6-.4 1-1 1a1 1 0 01-1-1m-1.9 2.6c0-.5.5-1 1-1 .7 0 1.2.5 1.2 1s-.5 1-1.1 1c-.6 0-1-.4-1-1"/>
<path fill="#fff" d="M227.6 166.5c0-.5.5-1 1.1-1a1 1 0 010 2 1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M227.6 166.5c0-.5.5-1 1.1-1a1 1 0 010 2 1 1 0 01-1-1z"/>
<path fill="#fff" d="M224.8 165c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M224.8 165c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M221.6 164c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1 0 .5-.5 1-1 1-.6 0-1.1-.5-1.1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M221.6 164c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1 0 .5-.5 1-1 1-.6 0-1.1-.5-1.1-1z"/>
<path fill="#fff" d="M218.3 163.4c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M218.3 163.4c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1z"/>
<path fill="#fff" d="M215 163.5c0-.6.5-1 1.1-1 .6 0 1 .4 1 1 0 .5-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M215 163.5c0-.6.5-1 1.1-1 .6 0 1 .4 1 1 0 .5-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M211.7 164c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M211.7 164c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M208.6 165.1c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M208.6 165.1c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1z"/>
<path fill="#fff" d="M156 190.7c0-.5.4-1 1-1s1 .5 1 1c0 .6-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M156 190.7c0-.5.4-1 1-1s1 .5 1 1c0 .6-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M154.5 188.2c0-.6.5-1 1-1 .6 0 1 .4 1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M154.5 188.2c0-.6.5-1 1-1 .6 0 1 .4 1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M153.5 185.2c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M153.5 185.2c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M153.4 182c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M153.4 182c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M154.2 179c0-.6.5-1 1-1 .6 0 1 .4 1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M154.2 179c0-.6.5-1 1-1 .6 0 1 .4 1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M155.8 176.1c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M155.8 176.1c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M158 173.8c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M158 173.8c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M160.5 171.8c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M160.5 171.8c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M163.5 170.3c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M163.5 170.3c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M166.6 169.1c0-.5.5-1 1-1a1 1 0 010 2 1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M166.6 169.1c0-.5.5-1 1-1a1 1 0 010 2 1 1 0 01-1-1z"/>
<path fill="#fff" d="M170 168.5c0-.5.5-1 1.1-1a1 1 0 010 2c-.6 0-1-.4-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M170 168.5c0-.5.5-1 1.1-1a1 1 0 010 2c-.6 0-1-.4-1-1z"/>
<path fill="#fff" d="M173.4 168.3c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M173.4 168.3c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M176.6 168.5c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M176.6 168.5c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1z"/>
<path fill="#fff" d="M179.8 168.5c0-.6.5-1 1-1 .7 0 1.2.4 1.2 1s-.5 1-1.1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M179.8 168.5c0-.6.5-1 1-1 .7 0 1.2.4 1.2 1s-.5 1-1.1 1a1 1 0 01-1-1z"/>
<path fill="#fff" stroke="#000" stroke-width=".4" d="M178.2 171.2c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1m-.7 3.1c0-.6.4-1 1-1s1 .4 1 1c0 .5-.4 1-1 1a1 1 0 01-1-1m-.2 3c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1m.9 2.8c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1.1-1m1.8 2.6c0-.5.5-1 1-1a1 1 0 010 2 1 1 0 01-1-1"/>
<path fill="#fff" d="M182.3 166.5c0-.5.5-1 1-1a1 1 0 010 2 1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M182.3 166.5c0-.5.5-1 1-1a1 1 0 010 2 1 1 0 01-1-1z"/>
<path fill="#fff" d="M185.2 165c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M185.2 165c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M188.3 164c0-.6.5-1 1-1 .7 0 1.1.4 1.1 1 0 .5-.4 1-1 1s-1-.5-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M188.3 164c0-.6.5-1 1-1 .7 0 1.1.4 1.1 1 0 .5-.4 1-1 1s-1-.5-1-1z"/>
<path fill="#fff" d="M191.6 163.4c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M191.6 163.4c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M194.9 163.5c0-.6.4-1 1-1s1 .4 1 1c0 .5-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M194.9 163.5c0-.6.4-1 1-1s1 .4 1 1c0 .5-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M198.2 164c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M198.2 164c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M201.3 165.1c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M201.3 165.1c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M174.7 228.9h-1v-1h-1.5v3.6h1.6v2.5h-3.4v7h1.8v14.3h-3.5v7.3h27.2v-7.3h-3.5V241h1.8v-7h-3.4v-2.5h1.6V228h-1.6v.9h-.8v-1h-1.6v1h-1.1v-1h-1.6v3.6h1.6v2.5H184v-7.8h1.7v-3.5H184v.9h-1v-1h-1.5v1h-.9v-1H179v3.6h1.7v7.8h-3.3v-2.5h1.6V228h-1.6v.9h-.9v-1h-1.8v1zm-6 33.7H196m-27.3-1.8H196m-27.3-1.8H196m-27.3-1.7H196m-27.3-2H196m-23.8-1.6h20.2m-20.2-1.8h20.2m-20.2-2h20.2m-20.2-1.7h20.2m-20.2-1.8h20.2m-20.2-1.8h20.2m-20.2-1.7h20.2m-22-1.8h23.8m-23.8-1.8h23.8m-23.8-1.8h23.8m-23.8-1.8h23.8m-20.4-1.7h17m-10.2-1.8h3.4m-3.4-1.8h3.4m-3.4-1.8h3.4m-3.4-1.7h3.4m-5.1-2.2h6.8m-12 7.5h3.6m-5-2.2h6.6m-6.7 32.6v-1.8m0-1.8v-1.7m-1.8 1.7v1.8m3.4 0V259m1.7 3.6v-1.8m0-1.8v-1.7m0-2v-1.6m0-1.8v-2m-1.7 7.4v-2m-3.4 2v-2m7 0v2m1.5-2v-1.6m-5.1-1.8v1.8m3.5-1.8v1.8m3.3-1.8v1.8M179 252v-2m1.7-1.7v1.7m0-5.3v1.8m-1.7-3.6v1.8m1.7-3.5v1.7m-3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h-4.9zm-1.7-12l.4-4.4h-4.2l.2 4.4h3.6zm3.3 0l-.4-4.4h4.4l-.5 4.4h-3.5zm-10 0l.2-4.4h-4.2l.5 4.4h3.5z"/>
<path fill="#0039f0" d="M185.3 262.6v-4c0-.7-.5-2.7-3.1-2.7-2.4 0-2.9 2-2.9 2.7v4h6zm-6.9-12.7v-4.2c0-1-.6-2.2-2-2.2s-2 1.1-2 2.2v4.3h4zm7.8 0v-4.2c0-1 .7-2.2 2-2.2s2 1.1 2 2.2v4.3h-4z"/>
<path fill="#ad1519" d="M190.8 269.8c0-9.7 7-17.6 15.6-17.6s15.6 7.9 15.6 17.6-7 17.5-15.6 17.5-15.6-7.8-15.6-17.5"/>
<path fill="none" stroke="#000" stroke-width=".6" d="M190.8 269.8c0-9.7 7-17.6 15.6-17.6s15.6 7.9 15.6 17.6-7 17.5-15.6 17.5-15.6-7.8-15.6-17.5z"/>
<path fill="#005bbf" d="M195.4 269.7c0-7 5-12.8 11-12.8s11 5.7 11 12.8c0 7.2-5 13-11 13s-11-5.8-11-13"/>
<path fill="none" stroke="#000" stroke-width=".6" d="M195.4 269.7c0-7 5-12.8 11-12.8s11 5.7 11 12.8c0 7.2-5 13-11 13s-11-5.8-11-13z"/>
<path fill="#c8b100" d="M201.2 260.9s-1.3 1.4-1.3 2.7a6 6 0 00.6 2.4c-.2-.5-.8-.8-1.4-.8-.8 0-1.4.6-1.4 1.3l.2.8.5.9c.1-.3.5-.5 1-.5s1 .4 1 1a.9.9 0 010 .2h-1.2v1h1l-.8 1.5 1-.4.8.9.8-.9 1 .4-.7-1.5h1v-1h-1.1a.9.9 0 010-.3 1 1 0 011-1c.4 0 .7.3 1 .6l.4-1 .2-.7a1.4 1.4 0 00-1.4-1.3c-.7 0-1.2.3-1.4.9 0 0 .6-1.2.6-2.5s-1.4-2.7-1.4-2.7"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M201.2 260.9s-1.3 1.4-1.3 2.7a6 6 0 00.6 2.4c-.2-.5-.8-.8-1.4-.8-.8 0-1.4.6-1.4 1.3l.2.8.5.9c.1-.3.5-.5 1-.5s1 .4 1 1a.9.9 0 010 .2h-1.2v1h1l-.8 1.5 1-.4.8.9.8-.9 1 .4-.7-1.5h1v-1h-1.1a.9.9 0 010-.3 1 1 0 011-1c.4 0 .7.3 1 .6l.4-1 .2-.7a1.4 1.4 0 00-1.4-1.3c-.7 0-1.2.3-1.4.9 0 0 .6-1.2.6-2.5s-1.4-2.7-1.4-2.7z"/>
<path fill="#c8b100" d="M199.2 269.9h4.1v-1h-4.1v1z"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M199.2 269.9h4.1v-1h-4.1v1z"/>
<path fill="#c8b100" d="M211.4 260.9s-1.3 1.4-1.3 2.7c0 1.3.6 2.4.6 2.4-.2-.5-.7-.8-1.4-.8-.8 0-1.4.6-1.4 1.3l.2.8.5.9c.2-.3.5-.5 1-.5a1 1 0 011 1 .9.9 0 010 .2h-1.2v1h1l-.8 1.5 1-.4.8.9.8-.9 1 .4-.7-1.5h1v-1h-1.1a.8.8 0 010-.3 1 1 0 011-1c.4 0 .8.3 1 .6l.4-1 .2-.7a1.4 1.4 0 00-1.4-1.3c-.6 0-1.2.3-1.4.9 0 0 .6-1.2.6-2.5s-1.4-2.7-1.4-2.7"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M211.4 260.9s-1.3 1.4-1.3 2.7c0 1.3.6 2.4.6 2.4-.2-.5-.7-.8-1.4-.8-.8 0-1.4.6-1.4 1.3l.2.8.5.9c.2-.3.5-.5 1-.5a1 1 0 011 1 .9.9 0 010 .2h-1.2v1h1l-.8 1.5 1-.4.8.9.8-.9 1 .4-.7-1.5h1v-1h-1.1a.8.8 0 010-.3 1 1 0 011-1c.4 0 .8.3 1 .6l.4-1 .2-.7a1.4 1.4 0 00-1.4-1.3c-.6 0-1.2.3-1.4.9 0 0 .6-1.2.6-2.5s-1.4-2.7-1.4-2.7z"/>
<path fill="#c8b100" d="M209.4 269.9h4.1v-1h-4.1v1z"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M209.4 269.9h4.1v-1h-4.1v1z"/>
<path fill="#c8b100" d="M206.3 269.6s-1.3 1.5-1.3 2.8.6 2.4.6 2.4c-.2-.5-.7-.9-1.4-.9-.8 0-1.4.6-1.4 1.4l.2.7.5 1c.1-.4.5-.6 1-.6a1 1 0 011 1 .9.9 0 010 .3h-1.2v1h1l-.8 1.5 1-.4.8.9.8-1 1 .5-.7-1.5h1v-1h-1.1a.9.9 0 010-.3 1 1 0 011-1c.4 0 .7.2.9.6l.5-1 .2-.7a1.4 1.4 0 00-1.4-1.4c-.7 0-1.2.4-1.4 1 0 0 .6-1.2.6-2.5s-1.4-2.7-1.4-2.7"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M206.3 269.6s-1.3 1.5-1.3 2.8.6 2.4.6 2.4c-.2-.5-.7-.9-1.4-.9-.8 0-1.4.6-1.4 1.4l.2.7.5 1c.1-.4.5-.6 1-.6a1 1 0 011 1 .9.9 0 010 .3h-1.2v1h1l-.8 1.5 1-.4.8.9.8-1 1 .5-.7-1.5h1v-1h-1.1a.9.9 0 010-.3 1 1 0 011-1c.4 0 .7.2.9.6l.5-1 .2-.7a1.4 1.4 0 00-1.4-1.4c-.7 0-1.2.4-1.4 1 0 0 .6-1.2.6-2.5s-1.4-2.7-1.4-2.7z"/>
<path fill="#c8b100" d="M204.3 278.6h4.1v-1h-4.1v1z"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M204.3 278.6h4.1v-1h-4.1v1z"/>
<path fill="#c8b100" d="M237.6 223.4h-.3a1.5 1.5 0 01-.3.4c-.2.2-.6.2-.8 0a.5.5 0 01-.1-.4.5.5 0 01-.5 0c-.3-.1-.3-.5-.1-.7v-.5h-.3l-.1.2c-.2.3-.5.3-.7.2a.6.6 0 010-.2h-.3c-.5.2-.7-1-.7-1.2l-.2.2s.2.7.1 1.2c0 .6-.3 1.2-.3 1.2a9 9 0 012.9 1.6 9 9 0 012.2 2.3l1.2-.5c.6-.2 1.3-.2 1.3-.2l.2-.2c-.3 0-1.5.1-1.5-.4v-.2a.7.7 0 01-.2 0c-.2-.2-.2-.4 0-.7l.2-.1v-.3h-.3l-.2.1c-.2.3-.6.3-.8 0a.4.4 0 01-.1-.4.6.6 0 01-.5 0c-.2-.2-.3-.5 0-.8l.2-.3v-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M237.6 223.4h-.3a1.5 1.5 0 01-.3.4c-.2.2-.6.2-.8 0a.5.5 0 01-.1-.4.5.5 0 01-.5 0c-.3-.1-.3-.5-.1-.7v-.5h-.3l-.1.2c-.2.3-.5.3-.7.2a.6.6 0 010-.2h-.3c-.5.2-.7-1-.7-1.2l-.2.2s.2.7.1 1.2c0 .6-.3 1.2-.3 1.2a9 9 0 012.9 1.6 9 9 0 012.2 2.3l1.2-.5c.6-.2 1.3-.2 1.3-.2l.2-.2c-.3 0-1.5.1-1.5-.4v-.2a.7.7 0 01-.2 0c-.2-.2-.2-.4 0-.7l.2-.1v-.3h-.3l-.2.1c-.2.3-.6.3-.8 0a.4.4 0 01-.1-.4.6.6 0 01-.5 0c-.2-.2-.3-.5 0-.8l.2-.3v-.3z"/>
<path d="M235.4 224h.2v.3h-.1c-.1 0-.1-.2 0-.2"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M235.4 224h.2v.3h-.1c-.1 0-.1-.2 0-.2z"/>
<path d="M236.3 224.8l-.3-.2v-.2h.1l.4.3.3.2v.2h-.2l-.3-.3"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M236.3 224.8l-.3-.2v-.2h.1l.4.3.3.2v.2h-.2l-.3-.3"/>
<path d="M234.6 223.7l-.2-.2s-.1 0 0-.1l.3.1.3.1v.2h-.1l-.3-.1"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M234.6 223.7l-.2-.2s-.1 0 0-.1l.3.1.3.1v.2h-.1l-.3-.1"/>
<path d="M233.7 223h.2v.2h-.2s-.1-.1 0-.2"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M233.7 223h.2v.2h-.2s-.1-.1 0-.2z"/>
<path d="M237.3 225.5v-.2h-.3l.1.2h.2"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M237.3 225.5v-.2h-.3l.1.2h.2z"/>
<path d="M237.9 226.2l.2.2h.1c.1 0 0-.1 0-.2l-.2-.2-.2-.2h-.1v.2l.2.2"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M237.9 226.2l.2.2h.1c.1 0 0-.1 0-.2l-.2-.2-.2-.2h-.1v.2l.2.2"/>
<path d="M238.8 227v-.3h-.3v.2h.3"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M238.8 227v-.3h-.3v.2h.3z"/>
<path fill="#c8b100" d="M236.2 221.1h-.6l-.1.9v.1h.2l.7-.5-.3-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M236.2 221.1h-.6l-.1.9v.1h.2l.7-.5-.3-.5"/>
<path fill="#c8b100" d="M234.6 221.6v.5l.9.1h.1v-.2l-.5-.7-.5.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M234.6 221.6v.5l.9.1h.1v-.2l-.5-.7-.5.3"/>
<path fill="#c8b100" d="M236.4 222.6l-.4.3-.6-.7v-.1h1.1v.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M236.4 222.6l-.4.3-.6-.7v-.1h1.1v.5"/>
<path fill="#c8b100" d="M235.3 222a.3.3 0 01.4 0 .3.3 0 010 .3.3.3 0 01-.3 0 .3.3 0 01-.1-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M235.3 222a.3.3 0 01.4 0 .3.3 0 010 .3.3.3 0 01-.3 0 .3.3 0 01-.1-.3z"/>
<path fill="#c8b100" d="M233.2 221.1l-.2-.7-.4-.4s.4-.2.8.1c.4.3 0 .9 0 .9l-.2.1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M233.2 221.1l-.2-.7-.4-.4s.4-.2.8.1c.4.3 0 .9 0 .9l-.2.1z"/>
<path fill="#c8b100" d="M234.2 221.4l-.4.4-.6-.6v-.2h1v.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M234.2 221.4l-.4.4-.6-.6v-.2h1v.4"/>
<path fill="#c8b100" d="M233.1 221l.3-.1v.3c0 .2-.1.2-.2.2l-.1-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M233.1 221l.3-.1v.3c0 .2-.1.2-.2.2l-.1-.3z"/>
<path fill="#c8b100" d="M238.3 222.5h-.5l-.3.7v.2h.2l.8-.4-.2-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M238.3 222.5h-.5l-.3.7v.2h.2l.8-.4-.2-.5"/>
<path fill="#c8b100" d="M236.7 222.8v.5l.8.2h.1v-.2l-.4-.7-.5.2"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M236.7 222.8v.5l.8.2h.1v-.2l-.4-.7-.5.2"/>
<path fill="#c8b100" d="M238.4 224l-.5.2-.4-.7v-.2h.1l.9.2-.1.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M238.4 224l-.5.2-.4-.7v-.2h.1l.9.2-.1.5"/>
<path fill="#c8b100" d="M237.3 223.2h.4a.3.3 0 010 .4.3.3 0 01-.3 0 .3.3 0 010-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M237.3 223.2h.4a.3.3 0 010 .4.3.3 0 01-.3 0 .3.3 0 010-.4z"/>
<path fill="#c8b100" d="M240.2 224.3l.1.5-.8.3h-.2v-.2l.4-.8.5.2"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M240.2 224.3l.1.5-.8.3h-.2v-.2l.4-.8.5.2"/>
<path fill="#c8b100" d="M240 225.8l-.5.1-.3-.8v-.1h.2l.8.3-.1.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M240 225.8l-.5.1-.3-.8v-.1h.2l.8.3-.1.5"/>
<path fill="#c8b100" d="M238.6 224.3l-.2.5.9.3h.1v-.1l-.3-.8-.5.1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M238.6 224.3l-.2.5.9.3h.1v-.1l-.3-.8-.5.1"/>
<path fill="#c8b100" d="M239.5 225.2a.3.3 0 000-.3.3.3 0 00-.4 0 .3.3 0 000 .3.3.3 0 00.4 0"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M239.5 225.2a.3.3 0 000-.3.3.3 0 00-.4 0 .3.3 0 000 .3.3.3 0 00.4 0z"/>
<path fill="#c8b100" d="M240.8 227h.8l.5.3s.1-.4-.3-.7c-.3-.3-.8.2-.8.2l-.2.2"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M240.8 227h.8l.5.3s.1-.4-.3-.7c-.3-.3-.8.2-.8.2l-.2.2z"/>
<path fill="#c8b100" d="M240.3 226.1l-.3.5.8.5v-.1h.2l-.1-1-.6.1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M240.3 226.1l-.3.5.8.5v-.1h.2l-.1-1-.6.1"/>
<path fill="#c8b100" d="M241 227s.1-.1 0-.2h-.3c-.2 0-.2.1-.1.2h.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M241 227s.1-.1 0-.2h-.3c-.2 0-.2.1-.1.2h.3zm38-21.9v.6h-2.4v-.6h1v-1.3h-.7v-.5h.6v-.6h.6v.6h.6v.6h-.6v1.2h1"/>
<path fill="none" stroke="#000" stroke-width="0" d="M134.4 217.1v-1.2m-.4 1.2v-1.2m-.2 1.2v-1.2m-.3 1.2v-1.2"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M133.2 217.1v-1.2m-.5 1.1v-1m.2 1v-1m-.7 1v-1m.2 1v-1m-.9 1v-1m.2 1v-1m.3 1v-1m-.7 1v-1m-.3.9v-.8m-.1.8v-.8m-.5.7v-.6m.2.6v-.6m-.4.5v-.5m-.2.5v-.4m-.3.3v-.3m-.3.3v-.2"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M129.2 216.6v-.2"/>
<path fill="none" stroke="#000" stroke-width="0" d="M135.7 217v-1m-.5 1v-1m-.4 1.2V216m143 1.1V216m-.4 1.1V216m-.3 1.1V216m-.3 1.2V216"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M276.6 217.1V216m-.6 1v-1m.3 1v-1m-.8 1v-1m.3 1v-1m-.9 1v-1m.2 1v-1m.2 1v-1m-.6 1v-1m-.3.9v-.8m-.2.8v-.8m-.4.7v-.6m.2.6v-.6m-.5.6v-.6m-.2.5v-.4m-.3.4v-.4m-.2.3v-.2"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M272.6 216.6v-.2"/>
<path fill="none" stroke="#000" stroke-width="0" d="M279.1 217v-1m-.6 1v-1m-.4 1.1V216"/>
</svg>

After

Width:  |  Height:  |  Size: 89 KiB

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-fr" viewBox="0 0 640 480">
<g fill-rule="evenodd" stroke-width="1pt">
<path fill="#fff" d="M0 0h640v480H0z"/>
<path fill="#00267f" d="M0 0h213.3v480H0z"/>
<path fill="#f31830" d="M426.7 0H640v480H426.7z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 292 B

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-it" viewBox="0 0 640 480">
<g fill-rule="evenodd" stroke-width="1pt">
<path fill="#fff" d="M0 0h640v480H0z"/>
<path fill="#009246" d="M0 0h213.3v480H0z"/>
<path fill="#ce2b37" d="M426.7 0H640v480H426.7z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 292 B

+5
View File
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-nl" viewBox="0 0 640 480">
<path fill="#21468b" d="M0 0h640v480H0z"/>
<path fill="#fff" d="M0 0h640v320H0z"/>
<path fill="#ae1c28" d="M0 0h640v160H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
body,html{overflow-x:initial!important}form{-webkit-margin-after:0;margin-block-end:0}[data-cursor=default]{cursor:default}[data-cursor=text]{cursor:text}span[draggable=true]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}[phpb-hide-if-not-editable]{background:#fde3c17d;border:1px dashed #b98e577d;padding:7px;font-size:1.1rem;font-style:italic;font-weight:400;text-align:center;color:#5e5e5e}[phpb-hide-if-not-editable]:not(.editable){display:none}[data-gjs-type].gjs-comp-selected{outline:1px solid #0091d1!important;outline-offset:0!important}div[data-gjs-type].gjs-comp-selected{outline:1px solid #0091d1!important;outline-offset:-1px!important}[phpb-blocks-container],[phpb-content-container]{min-height:50px;width:100%}[phpb-blocks-container]{border:1px dashed #0091d1}body ::-webkit-scrollbar,html ::-webkit-scrollbar{width:11px;height:11px}body ::-webkit-scrollbar-track,html ::-webkit-scrollbar-track{background:#f5f5f5}body ::-webkit-scrollbar-thumb,html ::-webkit-scrollbar-thumb{background-color:#ccc}body ::-webkit-scrollbar-thumb:hover,html ::-webkit-scrollbar-thumb:hover{background-color:#bbb}.gjs-waiting{opacity:.5;pointer-events:none}
+1
View File
@@ -0,0 +1 @@
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=15)}({15:function(t,e,n){t.exports=n(16)},16:function(t,e){window.addEventListener("keydown",function(t){if(t.ctrlKey&&"s"===t.key)return t.preventDefault(),!1}),window.parent.postMessage("page-loaded","*"),document.addEventListener("touchstart",function(t){window.parent.postMessage("touch-start","*")})}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
.bg-light{background-color:#f9fcff!important}.container{max-width:1140px}*{outline:0!important}.main-spacing{margin:30px 0}.btn-light.clear{background:none;border:none}.btn-light.clear:hover{background-color:#e2e6ea;border-color:#dae0e5}.manager-panel,.tab-content{padding:20px;background:#fff;border:1px solid #dee2e6;border-top:none}.manager-panel .table,.tab-content .table{margin:10px 0 0;min-width:400px}.manager-panel .table td.actions,.tab-content .table td.actions{width:-webkit-min-content;width:-moz-min-content;width:min-content}.manager-panel{border:1px solid #dee2e6}@media (max-width:1140px){td.actions{width:-webkit-min-content;width:-moz-min-content;width:min-content}td.actions a{width:100%;max-width:180px;margin-bottom:3px}}@media (max-width:450px){td.actions{width:auto!important}td.actions a{width:35px}td.actions a span{display:none}}form .text-muted{font-size:80%}form .required label:after{color:red;content:" *"}form .bootstrap-select .btn-light{background:#fff!important;color:#495057!important;border:1px solid #ced4da}form .bootstrap-select .btn-light[aria-expanded=true]{border-color:#80bdff;-webkit-box-shadow:0 0 0 .2rem rgba(0,123,255,.25);box-shadow:0 0 0 .2rem rgba(0,123,255,.25);outline:0!important}form .bootstrap-select .btn-light:active,form .bootstrap-select .btn-light:focus{outline:0!important;-webkit-box-shadow:none;box-shadow:none}iframe.thumb-renderer{border:none;width:100%;height:400px}#welcome-page h1{margin-top:150px}#welcome-page .intro-links{margin-top:80px}#welcome-page .intro-links a{margin:0 30px}
+1
View File
@@ -0,0 +1 @@
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){n(1),n(2),n(3),n(4),t.exports=n(5)},function(t,e){$(function(){window.addEventListener("message",function(t){"thumb-saved"===t.data&&$("iframe.thumb-renderer").attr("src",$("iframe.thumb-renderer").attr("src"))},!1),$("select").selectpicker()})},function(t,e){},function(t,e){},function(t,e){},function(t,e){}]);
+141
View File
@@ -0,0 +1,141 @@
<?php
return [
'auth' => [
'title' => 'Website Manager',
'username' => 'Benutzername',
'password' => 'Passwort',
'login-button' => 'Login',
'invalid-credentials' => 'Falsche Zugangsdaten',
],
'website-manager' => [
'title' => 'Website Manager',
'logout' => 'Logout',
'pages' => 'Seiten',
'menus' => 'Menus',
'name' => 'Name',
'page-title' => 'Menu Titel',
'page-meta-title' => 'Seiten Titel',
'page-meta-description' => 'Meta Beschreibung',
'route' => 'Pfad',
'layout' => 'Layout',
'actions' => 'Aktionen',
'view' => 'Ansehen',
'edit' => 'Bearbeiten',
'remove' => 'Entfernen',
'add-new-page' => 'Seite hinzufügen',
'edit-page' => 'Seite bearbeiten',
'back' => 'Zurück',
'save-changes' => 'Änderungen speichern',
'theme' => 'Design',
'visible-in-page-overview' => 'In Seitenübersicht anzeigen',
'page-created' => 'Seite erstellt',
'page-updated' => 'Seite aktualisiert',
'page-deleted' => 'Seite gelöscht',
'files' => 'Dateien',
'settings' => 'Einstellungen',
'required' => 'Pflichtfeld',
'website-languages' => 'Website Sprachen',
'languages-selector-placeholder' => 'Wähle eine oder mehr Sprachen aus',
'save-settings' => 'Einstellungen speichern',
'settings-updated' => 'Einstellungen aktualisiert',
'save-menus' => 'Menus speichern',
'menus-updated' => 'Menus aktualisiert',
'pagebuilder-block-images' => 'Seiteneditor Vorschaubilder',
'render-thumbs' => 'Vorschaubilder generieren'
],
'pagebuilder' => [
'filter-placeholder' => 'Filter',
'loading-text' => 'Seiteneditor wird geladen...',
'style-no-element-selected' => 'Wähle ein Element aus um das Aussehen anzupassen.',
'trait-no-element-selected' => 'Wähle ein Element aus um die Attribute anzupassen',
'trait-settings' => 'Einstellungen',
'default-category' => 'Allgemein',
'view-blocks' => 'Blöcke',
'view-settings' => 'Einstellungen',
'view-style-manager' => 'Aussehen anpassen',
'save-page' => 'Speichern',
'view-page' => 'Ansehen',
'go-back' => 'Zurück',
'page' => 'Seite',
'page-content' => 'Seiteninhalte',
'toastr-changes-saved' => 'Änderungen gespeichert',
'toastr-saving-failed' => 'Fehler beim Speichern',
'toastr-component-update-failed' => 'Fehler beim Laden',
'toastr-switching-language-failed' => 'Fehler beim Ändern der Sprache',
'yes' => 'Ja',
'no' => 'Nein',
'trait-manager' => [
'link' => [
'text' => 'Text',
'target' => 'In neuem Tab öffnen?',
'tooltip' => 'Hinweis'
],
'no-settings' => 'Dieser Block hat keine Einstellungen.'
],
'selector-manager' => [
'label' => 'CSS Klassen',
'states-label' => 'Layout für',
'selected-label' => 'Ausgewählt',
'state-hover' => 'Element hover',
'state-active' => 'Element Klick',
'state-nth' => '(Un-)gerades Element',
],
'style-manager' => [
'sectors' => [
'position' => 'Position',
'background' => 'Hintergrund',
'advanced' => 'Erweitert',
],
'properties' => [
'position' => [
'width' => 'Breite',
'min-width' => 'Minimale Breite',
'max-width' => 'Maximale Breite',
'height' => 'Höhe',
'min-height' => 'Minimale Höhe',
'max-height' => 'Maximale Höhe',
'padding' => [
'name' => 'Innerer Abstand',
'properties' => [
'padding-top' => 'Abstand oben',
'padding-right' => 'Abstand rechts',
'padding-bottom' => 'Abstand unter',
'padding-left' => 'Abstand links'
]
],
'margin' => [
'name' => 'Äußerer Abstand',
'properties' => [
'margin-top' => 'Abstand oben',
'margin-right' => 'Abstand rechts',
'margin-bottom' => 'Abstand unten',
'margin-left' => 'Abstand links'
]
],
'text-align' => [
'name' => 'Text Ausrichtung'
]
],
'background' => [
'background-color' => 'Hintergrundfarbe',
'background' => 'Hintergrund',
]
]
],
'asset-manager' => [
'modal-title' => 'Bild auswählen',
'drop-files' => 'Dateien ablegen oder Hochladen',
'add-image' => 'Bild hinzufügen',
],
],
'languages' => [
'de' => 'Deutsch',
'en' => 'Englisch',
'nl' => 'Niederländisch',
'es' => 'Spanisch',
'it' => 'Italienisch',
'fr' => 'Französisch',
],
];
+141
View File
@@ -0,0 +1,141 @@
<?php
return [
'auth' => [
'title' => 'Website Manager',
'username' => 'Username',
'password' => 'Password',
'login-button' => 'Login',
'invalid-credentials' => 'Invalid username or password',
],
'website-manager' => [
'title' => 'Website Manager',
'logout' => 'Logout',
'pages' => 'Pages',
'menus' => 'Menus',
'name' => 'Name',
'page-title' => 'Page menu title',
'page-meta-title' => 'Page meta title',
'page-meta-description' => 'Page meta description',
'route' => 'URL',
'layout' => 'Layout',
'actions' => 'Actions',
'view' => 'View',
'edit' => 'Edit',
'remove' => 'Remove',
'add-new-page' => 'Add new page',
'edit-page' => 'Edit page',
'back' => 'Back',
'save-changes' => 'Save changes',
'theme' => 'Theme',
'visible-in-page-overview' => 'visible in page overview',
'page-created' => 'Page successfully created',
'page-updated' => 'Page successfully updated',
'page-deleted' => 'Page removed',
'files' => 'Files',
'settings' => 'Settings',
'required' => 'Required',
'website-languages' => 'Website languages',
'languages-selector-placeholder' => 'Select one or more languages',
'save-settings' => 'Save settings',
'settings-updated' => 'Settings successfully updated',
'save-menus' => 'Save menus',
'menus-updated' => 'Menus updated',
'pagebuilder-block-images' => 'Pagebuilder block thumbnails',
'render-thumbs' => 'Render Thumbnails'
],
'pagebuilder' => [
'filter-placeholder' => 'Filter',
'loading-text' => 'Loading pagebuilder..',
'style-no-element-selected' => 'Select an element to modify the style.',
'trait-no-element-selected' => 'Select an element to modify any attributes.',
'trait-settings' => 'Settings',
'default-category' => 'General',
'view-blocks' => 'Blocks',
'view-settings' => 'Settings',
'view-style-manager' => 'Style Manager',
'save-page' => 'Save',
'view-page' => 'View',
'go-back' => 'Back',
'page' => 'Page',
'page-content' => 'Page contents',
'toastr-changes-saved' => 'Changes saved',
'toastr-saving-failed' => 'Error while saving changes',
'toastr-component-update-failed' => 'Error while reloading component',
'toastr-switching-language-failed' => 'Error while switching language',
'yes' => 'Yes',
'no' => 'No',
'trait-manager' => [
'link' => [
'text' => 'Text',
'target' => 'Open in new tab?',
'tooltip' => 'Tooltip'
],
'no-settings' => 'This block does not have settings.'
],
'selector-manager' => [
'label' => 'CSS classes',
'states-label' => 'Layout for',
'selected-label' => 'Selected',
'state-hover' => 'Element hover',
'state-active' => 'Element click',
'state-nth' => 'Even/odd element',
],
'style-manager' => [
'sectors' => [
'position' => 'Position',
'background' => 'Background',
'advanced' => 'Advanced',
],
'properties' => [
'position' => [
'width' => 'Width',
'min-width' => 'Minimum width',
'max-width' => 'Maximum width',
'height' => 'Height',
'min-height' => 'Minimum height',
'max-height' => 'Maximum height',
'padding' => [
'name' => 'Padding',
'properties' => [
'padding-top' => 'Padding top',
'padding-right' => 'Padding right',
'padding-bottom' => 'Padding bottom',
'padding-left' => 'Padding left'
]
],
'margin' => [
'name' => 'Margin',
'properties' => [
'margin-top' => 'Margin top',
'margin-right' => 'Margin right',
'margin-bottom' => 'Margin bottom',
'margin-left' => 'Margin left'
]
],
'text-align' => [
'name' => 'Text align'
]
],
'background' => [
'background-color' => 'Background color',
'background' => 'Background',
]
]
],
'asset-manager' => [
'modal-title' => 'Select Image',
'drop-files' => 'Drop files here or click to upload',
'add-image' => 'Add Image',
],
],
'languages' => [
'en' => 'English',
'nl' => 'Dutch',
'es' => 'Spanish',
'it' => 'Italian',
'fr' => 'French',
'de' => 'German',
],
];
+141
View File
@@ -0,0 +1,141 @@
<?php
return [
'auth' => [
'title' => 'Webuilder Manager',
'username' => 'Usuario',
'password' => 'Contraseña',
'login-button' => 'Entrar',
'invalid-credentials' => 'Usuario o contraseña Inválidos',
],
'website-manager' => [
'title' => 'Webuilder Manager',
'logout' => 'Salir',
'pages' => 'Páginas',
'menus' => 'Menús',
'name' => 'Nombre',
'page-title' => 'Título de la página del menú',
'page-meta-title' => 'Metatítulo de la página',
'page-meta-description' => 'Meta descripción de la página',
'route' => 'URL',
'layout' => 'Diseño',
'actions' => 'Acciones',
'view' => 'Ver',
'edit' => 'Editar',
'remove' => 'Borrar',
'add-new-page' => 'Nueva página',
'edit-page' => 'Editar página',
'back' => 'Volver',
'save-changes' => 'Guardar cambios',
'theme' => 'Tema',
'visible-in-page-overview' => 'visible en vista de página',
'page-created' => 'Página creada correctamente',
'page-updated' => 'Página acyualizada correctamente',
'page-deleted' => 'Página eliminada',
'files' => 'Files',
'settings' => 'Ajustes',
'required' => 'Required',
'website-languages' => 'Idiomas del sitio',
'languages-selector-placeholder' => 'Selecciona uno o más idiomas',
'save-settings' => 'Guardar ajustes',
'settings-updated' => 'Ajustes actualizados correctamente',
'save-menus' => 'Save menus',
'menus-updated' => 'Menus updated',
'pagebuilder-block-images' => 'Listado de bloques',
'render-thumbs' => 'Mostrar Miniaturas',
],
'pagebuilder' => [
'filter-placeholder' => 'Filtrar',
'loading-text' => 'Cargando Webuilder..',
'style-no-element-selected' => 'Selecciona un elemento para modificar su estilo.',
'trait-no-element-selected' => 'Selecciona un elemento para modificar sus atributos.',
'trait-settings' => 'Ajustes',
'default-category' => 'General',
'view-blocks' => 'Bloques',
'view-settings' => 'Ajustes',
'view-style-manager' => 'Gestor de Estilos',
'save-page' => 'Guardar',
'view-page' => 'Ver',
'go-back' => 'Volver',
'page' => 'Página',
'page-content' => 'Contenidos de la Página',
'toastr-changes-saved' => 'Cambios guardados',
'toastr-saving-failed' => 'Error al guardar los cambios',
'toastr-component-update-failed' => 'Error al cargar componente',
'toastr-switching-language-failed' => 'Error al cambiar de idioma',
'yes' => 'Si',
'no' => 'No',
'trait-manager' => [
'link' => [
'text' => 'Texto',
'target' => '¿Abrir en otra pestaña?',
'tooltip' => 'Información'
],
'no-settings' => 'Este bloque no tiene ajustes.'
],
'selector-manager' => [
'label' => 'clases CSS',
'states-label' => 'Diseño para',
'selected-label' => 'Seleccinado',
'state-hover' => 'Elemento hover',
'state-active' => 'Elemento click',
'state-nth' => 'Elemento par/impar',
],
'style-manager' => [
'sectors' => [
'position' => 'Posición',
'background' => 'Fondo',
'advanced' => 'Avanzado',
],
'properties' => [
'position' => [
'width' => 'Ancho',
'min-width' => 'Mínimo',
'max-width' => 'Máximo',
'height' => 'Alto',
'min-height' => 'Mínimo',
'max-height' => 'Máximo',
'padding' => [
'name' => 'Relleno',
'properties' => [
'padding-top' => 'Padding arriba',
'padding-right' => 'Padding derecho',
'padding-bottom' => 'Padding abajo',
'padding-left' => 'Padding izquierdo'
]
],
'margin' => [
'name' => 'Margen',
'properties' => [
'margin-top' => 'Margen arriba',
'margin-right' => 'Margen derecho',
'margin-bottom' => 'Margen abajo',
'margin-left' => 'Margen izquierdo'
]
],
'text-align' => [
'name' => 'Alineación Texto'
]
],
'background' => [
'background-color' => 'Color de Fondo',
'background' => 'Fondo',
]
]
],
'asset-manager' => [
'modal-title' => 'Seleciona Imágen',
'drop-files' => 'Arrastra aquí los archivos o click para subirlos',
'add-image' => 'Añadir Imágenge',
],
],
'languages' => [
'es' => 'Español',
'en' => 'Inglés',
'nl' => 'Holandés',
'it' => 'Italiano',
'fr' => 'Francés',
'de' => 'Alemán',
],
];
+141
View File
@@ -0,0 +1,141 @@
<?php
return [
'auth' => [
'title' => 'Websitebeheer',
'username' => 'Gebruikersnaam',
'password' => 'Wachtwoord',
'login-button' => 'Inloggen',
'invalid-credentials' => 'Ingevulde logingegevens zijn onjuist',
],
'website-manager' => [
'title' => 'Websitebeheer',
'logout' => 'Uitloggen',
'pages' => 'Pagina\'s',
'menus' => 'Menus',
'name' => 'Naam',
'page-title' => 'Page menu titel',
'page-meta-title' => 'Pagina (meta) titel',
'page-meta-description' => 'Pagina meta omschrijving',
'route' => 'URL',
'layout' => 'Paginaopbouw',
'actions' => 'Acties',
'view' => 'Bekijk',
'edit' => 'Wijzig',
'remove' => 'Verwijder',
'add-new-page' => 'Pagina toevoegen',
'edit-page' => 'Pagina wijzigen',
'back' => 'Terug',
'save-changes' => 'Wijzigingen opslaan',
'theme' => 'Thema',
'visible-in-page-overview' => 'zichtbaar in pagina overzicht',
'page-created' => 'Nieuwe pagina aangemaakt',
'page-updated' => 'Pagina wijziging opgeslagen',
'page-deleted' => 'Pagina verwijderd',
'files' => 'Files',
'settings' => 'Instellingen',
'required' => 'Required',
'website-languages' => 'Website talen',
'languages-selector-placeholder' => 'Selecteer één of meerdere talen',
'save-settings' => 'Instellingen opslaan',
'settings-updated' => 'Instellingen opgeslagen',
'save-menus' => 'Save menus',
'menus-updated' => 'Menus updated',
'pagebuilder-block-images' => 'Pagebuilder blok afbeeldingen',
'render-thumbs' => 'Blok afbeeldingen genereren',
],
'pagebuilder' => [
'filter-placeholder' => 'Filter',
'loading-text' => 'Bewerkmodus laden..',
'style-no-element-selected' => 'Selecteer een element om de opmaak aan te passen.',
'trait-no-element-selected' => 'Selecteer een element om de eigenschappen aan te passen.',
'trait-settings' => 'Instellingen',
'default-category' => 'Algemeen',
'view-blocks' => 'Blokken',
'view-settings' => 'Instellingen',
'view-style-manager' => 'Opmaak',
'save-page' => 'Opslaan',
'view-page' => 'Bekijk',
'go-back' => 'Terug',
'page' => 'Pagina',
'page-content' => 'Pagina inhoud',
'toastr-changes-saved' => 'Wijzigingen opgeslagen',
'toastr-saving-failed' => 'Fout opgetreden bij opslaan van wijzigingen',
'toastr-component-update-failed' => 'Fout opgetreden bij het vernieuwen van het blok',
'toastr-switching-language-failed' => 'Fout opgetreden bij het wisselen van taal',
'yes' => 'Ja',
'no' => 'Nee',
'trait-manager' => [
'link' => [
'text' => 'Tekst',
'target' => 'Open in nieuw tabblad?',
'tooltip' => 'knopinfo'
],
'no-settings' => 'Dit blok heeft geen instellingen.'
],
'selector-manager' => [
'label' => 'CSS klasses',
'states-label' => 'Opmaak voor',
'selected-label' => 'Geselecteerd',
'state-hover' => 'Muis over element',
'state-active' => 'Muisklik op element',
'state-nth' => 'Even/oneven elementen',
],
'style-manager' => [
'sectors' => [
'position' => 'Positie',
'background' => 'Achtergrond',
'advanced' => 'Geavanceerd',
],
'properties' => [
'position' => [
'width' => 'Breedte',
'min-width' => 'Minimale breedte',
'max-width' => 'Maximale breedte',
'height' => 'Hoogte',
'min-height' => 'Minimale hoogte',
'max-height' => 'Maximale hoogte',
'padding' => [
'name' => 'Ruimte binnenkant (padding)',
'properties' => [
'padding-top' => 'Binnenrand boven',
'padding-right' => 'Binnenrand rechts',
'padding-bottom' => 'Binnenrand onder',
'padding-left' => 'Binnenrand links'
]
],
'margin' => [
'name' => 'Ruimte buitenkant (marge)',
'properties' => [
'margin-top' => 'Buitenrand boven',
'margin-right' => 'Buitenrand rechts',
'margin-bottom' => 'Buitenrand onder',
'margin-left' => 'Buitenrand links'
]
],
'text-align' => [
'name' => 'Uitlijning'
]
],
'background' => [
'background-color' => 'Achtergrond kleur',
'background' => 'Achtergrond',
]
]
],
'asset-manager' => [
'modal-title' => 'Selecteer afbeelding',
'drop-files' => 'Klik hier of sleep bestanden hierheen',
'add-image' => 'Afbeelding toevoegen',
],
],
'languages' => [
'nl' => 'Nederlands',
'en' => 'Engels',
'es' => 'Spaans',
'it' => 'Italiaans',
'fr' => 'Frans',
'de' => 'Duits',
],
];
+3115
View File
File diff suppressed because it is too large Load Diff
+30
View File
@@ -0,0 +1,30 @@
{
"name": "phpagebuilder",
"type": "module",
"scripts": {
"build": "node build.js",
"dev": "npm-watch build"
},
"watch": {
"build": {
"patterns": [
"src"
],
"extensions": "js,html,php",
"quiet": false
}
},
"devDependencies": {
"autoprefixer": "^10.4.14",
"daisyui": "^3.0.3",
"npm-watch": "^0.11.0",
"postcss": "^8.4.24",
"sass": "^1.62.1",
"tailwindcss": "^3.3.2",
"vite": "^4.3.9"
},
"dependencies": {
"@phosphor-icons/web": "^2.0.3",
"alpinejs": "^3.12.2"
}
}
+6
View File
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
}
}
+162
View File
@@ -0,0 +1,162 @@
<?php
namespace PHPageBuilder;
use PHPageBuilder\Contracts\CacheContract;
class Cache implements CacheContract
{
public static $maxCacheDepth = 7;
public static $maxCachedPageVariants = 50;
/**
* Return the cached page content for the given relative URL.
*
* @param string $relativeUrl
* @return string|null
*/
public function getForUrl(string $relativeUrl)
{
$currentPageCacheFolder = $this->getPathForUrl($relativeUrl);
if (is_dir($currentPageCacheFolder)) {
if (! file_exists($currentPageCacheFolder . '/expires_at.txt')) {
$this->invalidate($relativeUrl);
return null;
}
$expiresAt = file_get_contents($currentPageCacheFolder . '/expires_at.txt');
if ($expiresAt < time()) {
$this->invalidate($relativeUrl);
return null;
}
return file_get_contents($currentPageCacheFolder . '/page.html');
}
return null;
}
/**
* Store the given page content for the given relative URL.
*
* @param string $relativeUrl
* @param string $pageContent
* @param int $cacheLifetime
*/
public function storeForUrl(string $relativeUrl, string $pageContent, int $cacheLifetime)
{
$currentPageCacheFolder = $this->getPathForUrl($relativeUrl, true);
if (! $this->cachePathCanBeUsed($currentPageCacheFolder)) {
return;
}
$currentPageCacheFolder = $this->relativeToFullCachePath($currentPageCacheFolder);
if (! is_dir($currentPageCacheFolder)) {
mkdir($currentPageCacheFolder, 0777, true);
}
file_put_contents($currentPageCacheFolder . '/page.html', $pageContent);
file_put_contents($currentPageCacheFolder . '/url.txt', $relativeUrl);
file_put_contents($currentPageCacheFolder . '/expires_at.txt', time() + (60 * $cacheLifetime));
}
/**
* Return the cache storage path for the given relative URL.
*
* @param string $relativeUrl
* @param bool $returnRelative
* @return string
*/
public function getPathForUrl(string $relativeUrl, bool $returnRelative = false): string
{
// map empty url to the - root folder
$relativeUrl = (empty($relativeUrl) || $relativeUrl === '/') ? '-' : $relativeUrl;
// use a cache path with folders based on the URL segments, to allow partial cache invalidation with a specific prefix
$relativeUrlWithoutQueryString = explode('?', $relativeUrl)[0];
$cachePath = phpb_slug($relativeUrlWithoutQueryString, true);
// suffix the cache path with a hash of the exact relative URL, to prevent returning wrong content due to slug collisions
$cachePath .= '/' . sha1($relativeUrl);
return $returnRelative ? $cachePath : $this->relativeToFullCachePath($cachePath);
}
protected function relativeToFullCachePath(string $relativeCachePath): string
{
$cacheFolder = phpb_config('cache.folder');
if (substr($relativeCachePath, 0, 1) !== '/') {
$cacheFolder .= '/';
}
return $cacheFolder . $relativeCachePath;
}
/**
* Analyse the given cache path to determine whether it can be used, without server/disk space issues.
* This prevents deep nested cache paths and large numbers of cached pages per path due to query string variations.
*
* @param string $cachePath
* @return bool
*/
public function cachePathCanBeUsed(string $cachePath): bool
{
if (sizeof(explode('/', $cachePath)) > static::$maxCacheDepth) {
return false;
}
$cachePathWithoutHash = dirname($this->relativeToFullCachePath($cachePath));
$numberOfCachedPageVariants = count(glob("{$cachePathWithoutHash}/*", GLOB_ONLYDIR));
if (is_dir($cachePathWithoutHash) && $numberOfCachedPageVariants >= static::$maxCachedPageVariants) {
return false;
}
return true;
}
/**
* Invalidate all variants stored for the given page route (i.e. a URL with * and {} placeholders).
*
* @param string $route
*/
public function invalidate(string $route)
{
$staticUrlPrefix1 = explode('*', $route)[0];
$staticUrlPrefix2 = explode('{', $route)[0];
$shortestPrefix = $staticUrlPrefix1;
if (strlen($staticUrlPrefix2) < strlen($staticUrlPrefix1)) {
$shortestPrefix = $staticUrlPrefix2;
}
$cachePathPrefix = dirname($this->getPathForUrl($shortestPrefix));
$this->removeDirectoryRecursive($cachePathPrefix);
}
/**
* Recursively remove the directory of the given path and all its contents.
*
* @param $path
* @return bool
*/
protected function removeDirectoryRecursive($path) {
// prevent removing data outside the cache folder
if (strpos($path, '..') !== false || strpos($path, phpb_config('cache.folder')) !== 0) {
return false;
}
if (! is_dir($path)) {
return false;
}
$path = substr($path, -1) === '/' ? $path : $path . '/';
$files = glob($path . '*', GLOB_MARK);
foreach ($files as $file) {
if (is_dir($file)) {
$this->removeDirectoryRecursive($file);
} else {
unlink($file);
}
}
rmdir($path);
return true;
}
}
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace PHPageBuilder\Contracts;
interface AuthContract
{
/**
* Process the current GET or POST request and redirect or render the requested page.
*
* @param $action
*/
public function handleRequest($action);
/**
* Return whether the current request has an authenticated session.
*
* @return bool
*/
public function isAuthenticated();
/**
* If the current user is not authenticated, show the login form.
*/
public function requireAuth();
/**
* Render the login form.
*/
public function renderLoginForm();
}
+48
View File
@@ -0,0 +1,48 @@
<?php
namespace PHPageBuilder\Contracts;
interface CacheContract
{
/**
* Return the cached page content for the given relative URL.
*
* @param string $relativeUrl
* @return string|null
*/
public function getForUrl(string $relativeUrl);
/**
* Store the given page content for the given relative URL.
*
* @param string $relativeUrl
* @param string $pageContent
* @param int $cacheLifetime
*/
public function storeForUrl(string $relativeUrl, string $pageContent, int $cacheLifetime);
/**
* Return the cache storage path for the given relative URL.
*
* @param string $relativeUrl
* @param bool $returnRelative
* @return string
*/
public function getPathForUrl(string $relativeUrl, bool $returnRelative = false): string;
/**
* Analyse the given cache path to determine whether it can be to used, without server/disk space issues.
* This prevents deep nested cache paths and large numbers of cached pages per path due to query string variations.
*
* @param string $cachePath
* @return bool
*/
public function cachePathCanBeUsed(string $cachePath): bool;
/**
* Invalidate all variants stored for the given page route (i.e an URL with * and {} placeholders).
*
* @param string $route
*/
public function invalidate(string $route);
}
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace PHPageBuilder\Contracts;
interface MenuRepositoryContract
{
/**
* Replace all menus by the given data.
*
* @param array $data
* @return bool|object|null
*/
public function updateMenus(array $data);
/**
* Get one hydrated menu with the given name.
*
* @param string $name
* @return object|null
*/
public function getHydratedMenu(string $name);
/**
* Get all hydrated menus with the given name.
*
* @return array
*/
public function getHydratedMenus();
}
+64
View File
@@ -0,0 +1,64 @@
<?php
namespace PHPageBuilder\Contracts;
interface PageBuilderContract
{
/**
* Process the current GET or POST request and redirect or render the requested page.
*
* @param $route
* @param $action
* @param PageContract|null $page
*/
public function handleRequest($route, $action, PageContract $page = null);
/**
* Render the given page inside the PageBuilder.
*
* @param PageContract $page
*/
public function renderPageBuilder(PageContract $page);
/**
* Render the given page.
*
* @param PageContract $page
* @param null $language
* @return string
*/
public function renderPage(PageContract $page, $language = null): string;
/**
* Update the given page with the given data (an array of html blocks)
*
* @param PageContract $page
* @param $data
* @return bool|object|null
*/
public function updatePage(PageContract $page, $data);
/**
* Get or set custom css for customizing layout of the page builder.
*
* @param string|null $css
* @return string
*/
public function customStyle(string $css = null);
/**
* Get or set custom scripts for customizing behaviour of the page builder.
*
* @param string $location head|body
* @param string|null $scripts
* @return string
*/
public function customScripts(string $location, string $scripts = null);
/**
* Set a theme for the page builder.
*
* @param ThemeContract $theme
*/
public function setTheme(ThemeContract $theme);
}
+93
View File
@@ -0,0 +1,93 @@
<?php
namespace PHPageBuilder\Contracts;
interface PageContract
{
/**
* Set the data stored for this page.
*
* @param array|null $data
* @param bool $fullOverwrite whether to fully overwrite or extend existing data
*/
public function setData($data, $fullOverwrite = true);
/**
* Set the translation data of this page.
*
* @param array|null $translationData
*/
public function setTranslations($translationData);
/**
* Return all data stored for this page (page builder data and other data set via setData).
*
* @return array|null
*/
public function getData();
/**
* Return the page builder data stored for this page.
*
* @return array|null
*/
public function getBuilderData();
/**
* Return the id of this page.
*
* @return string
*/
public function getId();
/**
* Return the layout (file name) of this page.
*
* @return string
*/
public function getLayout();
/**
* Return the name of this page.
*
* @return string
*/
public function getName();
/**
* Return the given language dependant setting for this page, in the current or in the given language.
*
* @param string $setting
* @param string|null $locale
* @return mixed|string|null
*/
public function getTranslation(string $setting, $locale = null);
/**
* Return the translated settings of this page.
*
* @return array
*/
public function getTranslations();
/**
* Return the route of this page, in the current or in the given language.
*
* @param string|null $locale
* @return mixed
*/
public function getRoute($locale = null);
/**
* Get the value of the given property of this Page.
*
* @param $property
* @return mixed|null
*/
public function get($property);
/**
* Invalidate all cached variants of this page.
*/
public function invalidateCache();
}
+23
View File
@@ -0,0 +1,23 @@
<?php
namespace PHPageBuilder\Contracts;
interface PageRepositoryContract
{
/**
* Create a new page.
*
* @param array $data
* @return bool|object
*/
public function create(array $data);
/**
* Update the given page with the given updated data.
*
* @param $page
* @param array $data
* @return bool|object|null
*/
public function update($page, array $data);
}
+13
View File
@@ -0,0 +1,13 @@
<?php
namespace PHPageBuilder\Contracts;
interface PageTranslationContract
{
/**
* Return the page this translation belongs to.
*
* @return PageContract
*/
public function getPage();
}
@@ -0,0 +1,7 @@
<?php
namespace PHPageBuilder\Contracts;
interface PageTranslationRepositoryContract
{
}
+41
View File
@@ -0,0 +1,41 @@
<?php
namespace PHPageBuilder\Contracts;
interface RouterContract
{
/**
* Return the page corresponding to the given URL.
*
* @param $url
* @return PageTranslationContract|null
*/
public function resolve($url);
/**
* Return the full page translation instance based on the given matched route or page translation id.
* (this method is helpful when extending a router to perform additional checks after a route has been matched)
*
* @param string $matchedRoute the matched route
* @param string $matchedPageTranslationId the page translation id corresponding to the matched route
* @return PageTranslationContract|null
*/
public function getMatchedPage(string $matchedRoute, string $matchedPageTranslationId);
/**
* Order the given routes into the order in which they need to be evaluated.
*
* @param $allRoutes
* @return array
*/
public function getRoutesInOrder($allRoutes);
/**
* Compare two given routes and return -1,0,1 indicating which route should be evaluated first.
*
* @param $route1
* @param $route2
* @return int
*/
public function routeOrderComparison($route1, $route2);
}
+23
View File
@@ -0,0 +1,23 @@
<?php
namespace PHPageBuilder\Contracts;
interface SettingContract
{
/**
* Return the value(s) of the given setting.
*
* @param string $key
* @return mixed|null
*/
public static function get(string $key);
/**
* Return whether the given setting exists and has the given value.
*
* @param string $key
* @param string $value
* @return bool
*/
public static function has(string $key, string $value);
}
@@ -0,0 +1,14 @@
<?php
namespace PHPageBuilder\Contracts;
interface SettingRepositoryContract
{
/**
* Replace all website settings by the given data.
*
* @param array $data
* @return bool|object|null
*/
public function updateSettings(array $data);
}
+27
View File
@@ -0,0 +1,27 @@
<?php
namespace PHPageBuilder\Contracts;
interface ThemeContract
{
/**
* Return all blocks of this theme.
*
* @return array array of ThemeBlock instances
*/
public function getThemeBlocks();
/**
* Return all layouts of this theme.
*
* @return array array of ThemeLayout instances
*/
public function getThemeLayouts();
/**
* Return the folder of this theme.
*
* @return mixed
*/
public function getFolder();
}
+36
View File
@@ -0,0 +1,36 @@
<?php
namespace PHPageBuilder\Contracts;
interface WebsiteManagerContract
{
/**
* Process the current GET or POST request and redirect or render the requested page.
*
* @param $route
* @param $action
*/
public function handleRequest($route, $action);
/**
* Render the website manager overview page.
*/
public function renderOverview();
/**
* Render the website manager page settings (add/edit page form).
*
* @param PageContract $page
*/
public function renderPageSettings(PageContract $page = null);
/**
* Render the website manager menu settings (add/edit menu form).
*/
public function renderMenuSettings();
/**
* Render the welcome page.
*/
public function renderWelcomePage();
}
+109
View File
@@ -0,0 +1,109 @@
<?php
namespace PHPageBuilder\Core;
use PDO;
/**
* Class DB
*
* A basic shell around PDO.
*
* @package PHPageBuilder\Core
*/
class DB
{
/**
* @var PDO $pdo
*/
protected $pdo;
/**
* DB constructor.
*
* @param array $config
*/
public function __construct(array $config)
{
$this->pdo = new PDO(
$config['driver'] . ':host=' . $config['host'] . ';dbname=' . $config['database'] . ";options='--client_encoding=" . $config['charset'] . "'",
$config['username'],
$config['password'],
[PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]
);
$this->pdo->exec("set names " . $config['charset']);
}
/**
* Return the id of the last inserted record.
*
* @return string
*/
public function lastInsertId()
{
return $this->pdo->lastInsertId();
}
/**
* Return all records of the given table and return instances of the given class.
*
* @param array|string $columns
* @param string $table
* @return array
*/
public function all(string $table, $columns = '*')
{
if (is_array($columns)) {
foreach ($columns as &$column) {
$column = preg_replace('/[^a-zA-Z_]*/', '', $column);
}
$columns = implode(',', $columns);
$stmt = $this->pdo->prepare("SELECT {$columns} FROM {$table}");
} else {
$stmt = $this->pdo->prepare("SELECT * FROM {$table}");
}
$stmt->execute();
return $stmt->fetchAll();
}
/**
* Return the first record of the given table as an instance of the given class.
*
* @param string $table
* @param $id
* @return mixed
*/
public function findWithId(string $table, $id)
{
$stmt = $this->pdo->prepare("SELECT * FROM {$table} WHERE id = ?");
$stmt->execute([$id]);
return $stmt->fetchAll();
}
/**
* Perform a custom select query with user input data passed as $parameters.
*
* @param string $query
* @param array $parameters
* @return array
*/
public function select(string $query, array $parameters)
{
$stmt = $this->pdo->prepare($query);
$stmt->execute($parameters);
return $stmt->fetchAll();
}
/**
* Perform a custom query with user input data passed as $parameters.
*
* @param string $query
* @param array $parameters
* @return bool
*/
public function query(string $query, array $parameters = [])
{
$stmt = $this->pdo->prepare($query);
return $stmt->execute($parameters);
}
}
+601
View File
@@ -0,0 +1,601 @@
<?php
use PHPageBuilder\Extensions;
if (! function_exists('phpb_e')) {
/**
* Encode HTML special characters in a string.
*
* @param string $value
* @param bool $doubleEncode
* @return string
*/
function phpb_e($value, $doubleEncode = true)
{
return htmlspecialchars($value, ENT_QUOTES, 'UTF-8', $doubleEncode);
}
}
if (! function_exists('phpb_encode_or_null')) {
/**
* Encode HTML special characters in a string, but preserve a null value if the passed input equals null.
*
* @param string $value
* @param bool $doubleEncode
* @return string
*/
function phpb_encode_or_null($value, $doubleEncode = true)
{
return is_null($value) ? null : phpb_e($value, $doubleEncode);
}
}
if (! function_exists('phpb_asset')) {
/**
* Return the public path of a PHPageBuilder asset.
*
* @param string $path
* @return string
*/
function phpb_asset($path)
{
$basePath = __DIR__ . '/../../dist/';
$distPath = realpath($basePath . $path);
$version = ($distPath && strpos($distPath, realpath($basePath)) === 0) ? filemtime($distPath) : '';
return phpb_full_url(phpb_config('general.assets_url') . '/' . $path) . '?v=' . $version;
}
}
if (! function_exists('phpb_theme_asset')) {
/**
* Return the public path of an asset of the current theme.
*
* @param string $path
* @return string
*/
function phpb_theme_asset($path)
{
$themeFolder = phpb_config('theme.folder_url') . '/' . phpb_config('theme.active_theme');
return phpb_full_url($themeFolder . '/' . $path);
}
}
if (! function_exists('phpb_flash')) {
/**
* Return the flash data with the given key (as dot-separated multidimensional array selector) or false if not set.
*
* @param $key
* @param bool $encode
* @return bool|mixed
*/
function phpb_flash($key, $encode = true)
{
global $phpb_flash;
// if no dot notation is used, return first dimension value or empty string
if (strpos($key, '.') === false) {
if (! isset($phpb_flash[$key])) {
return false;
}
return $encode ? phpb_e($phpb_flash[$key]) : $phpb_flash[$key];
}
// if dot notation is used, traverse config string
$segments = explode('.', $key);
$subArray = $phpb_flash;
foreach ($segments as $segment) {
if (isset($subArray[$segment])) {
$subArray = &$subArray[$segment];
} else {
return false;
}
}
// if the remaining sub array is a string, return this piece of flash data
if (is_string($subArray)) {
if ($encode) {
return phpb_e($subArray);
}
return $subArray;
}
return false;
}
}
if (! function_exists('phpb_config')) {
/**
* Return the configuration with the given key (as dot-separated multidimensional array selector).
*
* @param string $key
* @return mixed
*/
function phpb_config($key)
{
global $phpb_config;
// if no dot notation is used, return first dimension value or empty string
if (strpos($key, '.') === false) {
return $phpb_config[$key] ?? '';
}
// if dot notation is used, traverse config string
$segments = explode('.', $key);
$subArray = $phpb_config;
foreach ($segments as $segment) {
if (isset($subArray[$segment])) {
$subArray = &$subArray[$segment];
} else {
return '';
}
}
return $subArray;
}
}
if (! function_exists('phpb_trans')) {
/**
* Return the translation of the given key (as dot-separated multidimensional array selector).
*
* @param $key
* @param array $parameters
* @return string|array
*/
function phpb_trans($key, $parameters = [])
{
global $phpb_translations;
// if no dot notation is used, return first dimension value or empty string
if (strpos($key, '.') === false) {
return phpb_replace_placeholders($phpb_translations[$key] ?? '', $parameters);
}
// if dot notation is used, traverse translations string
$segments = explode('.', $key);
$subArray = $phpb_translations;
foreach ($segments as $segment) {
if (isset($subArray[$segment])) {
$subArray = &$subArray[$segment];
} else {
return '';
}
}
// if the remaining sub array is a non-empty string/array, return this translation or translations structure
if (! empty($subArray)) {
if (is_string($subArray)) {
return phpb_replace_placeholders($subArray, $parameters);
}
return $subArray;
}
return '';
}
}
if (! function_exists('phpb_replace_placeholders')) {
/**
* Replace in the given string the given parameter placeholders with corresponding values.
*
* @param $string
* @param array $parameters
* @return string
*/
function phpb_replace_placeholders($string, $parameters = [])
{
foreach ($parameters as $placeholder => $value) {
$string = str_replace(':' . $placeholder, $value, $string);
}
return $string;
}
}
if (! function_exists('phpb_full_url')) {
/**
* Give the full URL of a given URL which is relative to the base URL.
*
* @param string $urlRelativeToBaseUrl
* @return string
*/
function phpb_full_url($urlRelativeToBaseUrl)
{
// if the URL is already a full URL, do not alter the URL
if (strpos($urlRelativeToBaseUrl, 'http://') === 0 || strpos($urlRelativeToBaseUrl, 'https://') === 0) {
return $urlRelativeToBaseUrl;
}
$baseUrl = phpb_config('general.base_url');
return rtrim($baseUrl, '/') . $urlRelativeToBaseUrl;
}
}
if (! function_exists('phpb_url')) {
/**
* Give the full URL of a given public path.
*
* @param string $module
* @param array $parameters
* @param bool $fullUrl
* @return string
*/
function phpb_url($module, array $parameters = [], $fullUrl = true)
{
$url = $fullUrl ? phpb_full_url('') : '';
$url .= phpb_config($module . '.url');
if (! empty($parameters)) {
$url .= '?';
$pairs = [];
foreach ($parameters as $key => $value) {
$pairs[] = phpb_e($key) . '=' . phpb_e($value);
}
$url .= implode('&', $pairs);
}
return $url;
}
}
if (! function_exists('phpb_current_full_url')) {
/**
* Give the current full URL.
*
* @return string|null
*/
function phpb_current_full_url()
{
// return null when running form CLI
if (! isset($_SERVER['SERVER_NAME']) || ! isset($_SERVER['REQUEST_URI'])) {
return null;
}
$protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http");
$port = '';
if (isset($_SERVER['SERVER_PORT']) && ! in_array($_SERVER['SERVER_PORT'], [80, 443])) {
$port = ":" . $_SERVER['SERVER_PORT'];
}
$currentFullUrl = $protocol . "://" . $_SERVER['SERVER_NAME'] . $port . urldecode($_SERVER['REQUEST_URI']);
$currentFullUrl = rtrim($currentFullUrl, '/' . DIRECTORY_SEPARATOR);
return $currentFullUrl;
}
}
if (! function_exists('phpb_current_relative_url')) {
/**
* Give the current URL relative to the base directory (the website's index.php entry point).
* This omits any parent directories from the URL in which the project is installed.
*
* @return string
*/
function phpb_current_relative_url()
{
$baseUrl = phpb_config('general.base_url');
$baseUrl = rtrim($baseUrl, '/'. DIRECTORY_SEPARATOR);
$currentFullUrl = phpb_current_full_url();
$relativeUrl = substr($currentFullUrl, strlen($baseUrl));
$relativeUrl = ltrim($relativeUrl, '/'. DIRECTORY_SEPARATOR);
return '/' . $relativeUrl;
}
}
if (! function_exists('phpb_current_language')) {
/**
* Give the current language based on the current URL.
*
* @return string
*/
function phpb_current_language()
{
$urlComponents = explode('/', phpb_current_relative_url());
// remove empty values and reset array key numbering
$urlComponents = array_values(array_filter($urlComponents));
if (! empty($urlComponents)) {
foreach (phpb_active_languages() as $languageCode => $languageTranslation) {
if ($urlComponents[0] === $languageCode) {
return $languageCode;
}
}
}
$languageCode = phpb_config('general.language');
if (in_array($languageCode, array_keys(phpb_active_languages()))) {
return $languageCode;
}
if (in_array('en', array_keys(phpb_active_languages()))) {
return 'en';
}
return array_keys(phpb_active_languages())[0];
}
}
if (! function_exists('phpb_in_module')) {
/**
* Return whether we are currently accessing the given module.
*
* @param string $module
* @return bool
*/
function phpb_in_module($module)
{
$url = phpb_url($module, [], false);
$currentUrl = explode('?', phpb_current_relative_url(), 2)[0];
return $currentUrl === $url;
}
}
if (! function_exists('phpb_on_url')) {
/**
* Return whether we are currently on the given URL.
*
* @param string $module
* @param array $parameters
* @return bool
*/
function phpb_on_url($module, array $parameters = [])
{
$url = phpb_url($module, $parameters, false);
return phpb_current_relative_url() === $url;
}
}
if (! function_exists('phpb_set_in_editmode')) {
/**
* Set whether the current page is being load in edit mode (i.e. inside the page builder).
*
* @param bool $inEditMode
*/
function phpb_set_in_editmode($inEditMode = true)
{
global $phpb_in_editmode;
$phpb_in_editmode = $inEditMode;
}
}
if (! function_exists('phpb_in_editmode')) {
/**
* Return whether the current page is load in edit mode (i.e. inside the page builder).
*
* @return bool
*/
function phpb_in_editmode()
{
global $phpb_in_editmode;
return $phpb_in_editmode ?? false;
}
}
if (! function_exists('phpb_redirect')) {
/**
* Redirect to the given URL with optional session flash data.
*
* @param string $url
* @param array $flashData
* @param $statusCode
*/
function phpb_redirect($url, $flashData = [], $statusCode = 302)
{
if (! empty($flashData)) {
$_SESSION["phpb_flash"] = $flashData;
}
header('Location: ' . $url, true, $statusCode);
exit();
}
}
if (! function_exists('phpb_route_parameters')) {
/**
* Return the named route parameters resolved from the current URL.
*
* @return array|null
*/
function phpb_route_parameters()
{
global $phpb_route_parameters;
return $phpb_route_parameters ?? [];
}
}
if (! function_exists('phpb_route_parameter')) {
/**
* Return the value of the given named route parameter resolved from the current URL.
*
* @param string $parameter
* @return string|null
*/
function phpb_route_parameter($parameter)
{
global $phpb_route_parameters;
return $phpb_route_parameters[$parameter] ?? null;
}
}
if (! function_exists('phpb_field_value')) {
/**
* Return the posted value or the attribute value of the given instance, or null if no value was found.
*
* @param $attribute
* @param object $instance
* @return string|null
*/
function phpb_field_value($attribute, $instance = null)
{
if (isset($_POST[$attribute])) {
return phpb_encode_or_null($_POST[$attribute]);
}
if (isset($instance)) {
if (method_exists($instance, 'get')) {
return phpb_encode_or_null($instance->get($attribute));
} else {
return phpb_encode_or_null($instance->$attribute);
}
}
return null;
}
}
if (! function_exists('phpb_active_languages')) {
/**
* Return the list of all active languages.
*
* @return array
*/
function phpb_active_languages()
{
$configLanguageCode = phpb_config('general.language');
$languages = phpb_instance('setting')::get('languages') ?? [$configLanguageCode];
// if the array has numeric indices (which is the default), create a languageCode => languageTranslation structure
if (array_values($languages) === $languages) {
$newLanguagesStructure = [];
foreach ($languages as $languageCode) {
$newLanguagesStructure[$languageCode] = phpb_trans('languages')[$languageCode] ?? [];
}
$languages = $newLanguagesStructure;
}
if (! isset($languages[$configLanguageCode])) {
return $languages;
}
// sort languages, starting by the configured language
$languagesSorted[$configLanguageCode] = $languages[$configLanguageCode];
foreach ($languages as $languageCode => $languageTranslation) {
if ($languageCode !== $configLanguageCode) {
$languagesSorted[$languageCode] = $languageTranslation;
}
}
return $languagesSorted;
}
}
if (! function_exists('phpb_instance')) {
/**
* Return an instance of the given class as defined in config, or with the given namespace (which is potentially overridden and mapped to an alternative namespace).
*
* @param string $name the name of the config main section in which the class path is defined
* @param array $params
* @return object|null
*/
function phpb_instance(string $name, $params = [])
{
if (phpb_config($name . '.class')) {
$className = phpb_config($name . '.class');
return new $className(...$params);
}
if (class_exists($name)) {
if (phpb_config('class_replacements.' . $name)) {
$replacement = phpb_config('class_replacements.' . $name);
return new $replacement(...$params);
}
return new $name(...$params);
}
return null;
}
}
if (! function_exists('phpb_static')) {
/**
* Return a static reference of the given class as defined in config, or with the given namespace (which is potentially overridden and mapped to an alternative namespace).
*
* @param string $name the name of the config main section in which the class path is defined
* @return object|string|null
*/
function phpb_static(string $name)
{
if (phpb_config($name . '.class')) {
return phpb_config($name . '.class');
}
if (class_exists($name)) {
if (phpb_config('class_replacements.' . $name)) {
return phpb_config('class_replacements.' . $name);
}
return $name;
}
return null;
}
}
if (! function_exists('phpb_slug')) {
/**
* Create a slug (safe URL or path) of the given string.
*
* @param string $text
* @param false $allowSlashes
* @return string
*/
function phpb_slug(string $text, $allowSlashes = false)
{
if ($allowSlashes) {
return strtolower(trim(preg_replace('/[^A-Za-z0-9-\/]+/', '-', $text)));
} else {
return strtolower(trim(preg_replace('/[^A-Za-z0-9-]+/', '-', $text)));
}
}
}
if (! function_exists('phpb_autoload')) {
/**
* Autoload classes from the PHPageBuilder package.
*
* @param string $className
*/
function phpb_autoload($className)
{
// PSR-0 autoloader
$className = ltrim($className, '\\');
$fileName = '';
$namespace = '';
if ($lastNsPos = strripos($className, '\\')) {
$namespace = substr($className, 0, $lastNsPos);
$className = substr($className, $lastNsPos + 1);
$fileName = str_replace('\\', DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR;
}
$fileName .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php';
// remove leading PHPageBuilder/ from the class path
$fileName = str_replace('PHPageBuilder' . DIRECTORY_SEPARATOR, '', $fileName);
// include class files starting in the src directory
require __DIR__ . '/../' . $fileName;
}
}
if (! function_exists('phpb_registered_assets')) {
/**
* Render all manually registered assets.
*
* @param $location
* @return void
*/
function phpb_registered_assets($location = 'header') {
$assets = [];
if($location === 'header'){
$assets = Extensions::getHeaderAssets();
}elseif($location === 'footer'){
$assets = Extensions::getFooterAssets();
}elseif($location === 'admin-header'){
$assets = Extensions::getAdminHeaderAssets();
}elseif($location === 'admin-footer'){
$assets = Extensions::getAdminFooterAssets();
}
foreach ($assets as $asset) {
$attributes = '';
foreach ($asset['attributes'] as $key => $value) {
$attributes .= ' ' . $key . '="' . $value . '"';
}
if ($asset['type'] == 'style') {
echo '<link rel="stylesheet" href="' . $asset['src'] . '" ' . $attributes . '/>';
} else {
echo '<script type="text/javascript" src="' . $asset['src'] . '" ' . $attributes . '></script>';
}
}
}
}
+251
View File
@@ -0,0 +1,251 @@
<?php
namespace PHPageBuilder;
class Extensions
{
/**
* Routes that can be added by plugins / composer packages.
*/
protected static $settings = [];
/**
* Extension-Configs that can be added by plugins / composer packages.
*/
protected static $configs = [];
/**
* Extension-Configs that can be added by plugins / composer packages.
*/
protected static $backends = [];
/**
* Routes that can be added by plugins / composer packages.
*/
protected static $routes = [];
/**
* Blocks that can be added by plugins / composer packages.
*/
protected static $blocks = [];
/**
* Layouts that can be added by plugins / composer packages.
*/
protected static $layouts = [];
protected static $assets = [
'header' => [],
'footer' => [],
'admin-header' => [],
'admin-footer' => [],
];
/**
* Register an asset.
* @param string $src
* @param string $type
* @param string $location
* @param array['$key' => '$value'] $attributes
*/
public static function registerAsset(string $src, string $type, string $location = 'header', array $attributes = []) {
self::$assets[$location][] = [
'src' => $src,
'type' => $type,
'attributes' => $attributes
];
}
/**
* Register a single extension-config.
* @param string $slug
* @param array $config
* @return void
*/
public static function registerConfig(string $slug, array $config) {
self::$configs[$slug] = $config;
}
/**
* Register a single extension-config.
* @param string $slug
* @param array $backend
* @return void
*/
public static function registerBackend(string $slug, array $backend) {
self::$backends['ext--'.$slug] = $backend;
}
/**
* Register a single route.
* @param string $slug
* @param string $includePath
* @return void
*/
public static function registerRoute(string $slug, string $includePath) {
self::$routes[$slug] = $includePath;
}
/**
* Register multiple routes at once.
* @param array['$slug' => '$includePath'] $routes
* @return void
*/
public static function addRoutes(array $routes) {
self::$routes = array_merge(self::$routes, $routes);
}
/**
* Register multiple settings at once.
* @param array $settings
* @return void
*/
public static function addSettings(array $settings) {
self::$settings = array_merge(self::$settings, $settings);
}
/**
* Register a single block.
* @param string $slug
* @param string $directoryPath
*/
public static function registerBlock(string $slug, string $directoryPath) {
self::$blocks[$slug] = $directoryPath;
}
/**
* Register a single layout.
* @param string $slug
* @param string $directoryPath
*/
public static function registerLayout(string $slug, string $directoryPath) {
self::$layouts[$slug] = $directoryPath;
}
/**
* Register multiple blocks at once.
* @param array['$slug' => '$directoryPath'] $blocks
*/
public static function addBlocks(array $blocks) {
self::$blocks = array_merge(self::$blocks, $blocks);
}
/**
* Register multiple blocks at once.
* @param array['$slug' => '$directoryPath'] $layouts
*/
public static function addLayouts(array $layouts) {
self::$layouts = array_merge(self::$layouts, $layouts);
}
/**
* Get all routes.
*/
public static function getRoutes() : array {
return self::$routes;
}
/**
* Get all settings.
*/
public static function getSettings($ext = null) : array {
$settingIns = phpb_instance('setting');
$hydrSettings = [];
foreach (self::$settings as $setting) {
if($ext !== null && !str_starts_with($setting['key'], 'ext--'.$ext.'--')){
continue;
}
$setting['value'] = $settingIns::get($setting['key']) ?: $setting['default'];
$hydrSettings[] = $setting;
}
return $hydrSettings;
}
/**
* Get all blocks.
*/
public static function getBlocks() : array {
return self::$blocks;
}
/**
* Get all layouts.
*/
public static function getLayouts() : array {
return self::$layouts;
}
/**
* Get all backends.
*/
public static function getBackends() : array {
return self::$backends;
}
/**
* Get a single extension Config.
*/
public static function getConfig(string $id) {
return self::$configs[$id] ?? null;
}
/**
* Get all extension Configs.
*/
public static function getConfigs() {
return self::$configs;
}
/**
* Get a single route.
*/
public static function getRoute(string $id) {
return self::$routes[$id] ?? null;
}
/**
* Get a single block.
*/
public static function getBlock(string $id) {
return self::$blocks[$id] ?? null;
}
/**
* Get a single layout.
*/
public static function getLayout(string $id) {
return self::$layouts[$id] ?? null;
}
/**
* Get all header assets.
*/
public static function getHeaderAssets() {
return self::$assets['header'];
}
/**
* Get all footer assets.
*/
public static function getFooterAssets() {
return self::$assets['footer'];
}
/**
* Get all admin header assets.
*/
public static function getAdminHeaderAssets() {
return self::$assets['admin-header'];
}
/**
* Get all admin footer assets.
*/
public static function getAdminFooterAssets() {
return self::$assets['admin-footer'];
}
}
+63
View File
@@ -0,0 +1,63 @@
<?php
namespace PHPageBuilder\Modules\Auth;
use PHPageBuilder\Contracts\AuthContract;
class Auth implements AuthContract
{
/**
* Process the current GET or POST request and redirect or render the requested page.
*
* @param $action
*/
public function handleRequest($action)
{
if (phpb_in_module('auth')) {
if ($action === 'login' && isset($_POST['username']) && isset($_POST['password'])) {
if ($_POST['username'] === phpb_config('auth.username') && $_POST['password'] === phpb_config('auth.password')) {
$_SESSION['phpb_logged_in'] = true;
phpb_redirect(phpb_url('website_manager'));
} else {
phpb_redirect(phpb_url('website_manager'), [
'message-type' => 'warning',
'message' => phpb_trans('auth.invalid-credentials')
]);
}
} elseif ($action === 'logout') {
unset($_SESSION['phpb_logged_in']);
phpb_redirect(phpb_url('website_manager'));
}
}
}
/**
* Return whether the current request has an authenticated session.
*
* @return bool
*/
public function isAuthenticated()
{
return isset($_SESSION['phpb_logged_in']);
}
/**
* If the user is not authenticated, show the login form.
*/
public function requireAuth()
{
if (! $this->isAuthenticated()) {
$this->renderLoginForm();
exit();
}
}
/**
* Render the login form.
*/
public function renderLoginForm()
{
$viewFile = 'login-form';
require __DIR__ . '/resources/views/layout.php';
}
}
@@ -0,0 +1,24 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title><?= phpb_trans('auth.title') ?></title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<link href="<?= phpb_asset('WebsiteManager.css') ?>" rel="stylesheet">
</head>
<body>
<div class="container">
<?php
require __DIR__ . '/' . $viewFile . '.php';
?>
<footer class="my-5 pt-5 text-muted text-center text-small">
<p class="mb-1">Powered by <a href="https://github.com/HansSchouten/PHPagebuilder" target="_blank">PHPagebuilder</a></p>
</footer>
</div>
</body>
</html>
@@ -0,0 +1,20 @@
<div class="py-5 text-center">
<h2><?= phpb_trans('auth.title') ?></h2>
</div>
<form class="login-form mt-3 flex flex-col gap-3 items-center" method="post" action="<?= phpb_url('auth', ['action' => 'login']) ?>">
<?php
if (phpb_flash('message')):
?>
<div class="alert alert-<?= phpb_flash('message-type') ?>">
<?= phpb_flash('message') ?>
</div>
<?php
endif;
?>
<input type="text" name="username" class="input input-bordered w-full max-w-xs" placeholder="<?= phpb_trans('auth.username') ?>" required autofocus>
<input type="password" name="password" class="input input-bordered w-full max-w-xs" placeholder="<?= phpb_trans('auth.password') ?>" required>
<button class="btn btn-outline btn-primary w-full max-w-xs" type="submit"><?= phpb_trans('auth.login-button') ?></button>
</form>
@@ -0,0 +1,45 @@
<?php
namespace PHPageBuilder\Modules\GrapesJS\Block;
use PHPageBuilder\Contracts\PageContract;
class BaseController
{
/**
* @var BaseModel $model
*/
protected $model;
/**
* @var PageContract $page
*/
protected $page;
/**
* @var bool $forPageBuilder
*/
protected $forPageBuilder;
/**
* Pass essential data to this BaseController instance.
*
* @param BaseModel $model
* @param PageContract $page
* @param bool $forPageBuilder
*/
public function init(BaseModel $model, PageContract $page, $forPageBuilder = false)
{
$this->model = $model;
$this->page = $page;
$this->forPageBuilder = $forPageBuilder;
}
/**
* Handle the current request.
*/
public function handleRequest()
{
}
}
+99
View File
@@ -0,0 +1,99 @@
<?php
namespace PHPageBuilder\Modules\GrapesJS\Block;
use PHPageBuilder\Contracts\PageContract;
use PHPageBuilder\ThemeBlock;
class BaseModel
{
/**
* @var ThemeBlock $block
*/
protected $block;
/**
* @var array $data
*/
protected $data;
/**
* @var PageContract $page
*/
protected $page;
/**
* @var bool $forPageBuilder
*/
protected $forPageBuilder;
/**
* BaseModel constructor.
*
* @param ThemeBlock $block
* @param array $data
* @param PageContract|null $page
* @param bool $forPageBuilder
*/
public function __construct(ThemeBlock $block, $data = [], PageContract $page = null, $forPageBuilder = false)
{
$this->block = $block;
$this->data = is_array($data) ? $data : [];
$this->page = $page;
$this->forPageBuilder = $forPageBuilder;
if (phpb_in_editmode() && method_exists($this, 'initEdit')) {
$this->initEdit();
} else {
$this->init();
}
}
/**
* Initialize the model.
*/
protected function init()
{
}
/**
* Return the given setting stored for this block instance using the page builder.
*
* @param $setting
* @param bool $allowHtml
* @return string
*/
public function setting($setting, $allowHtml = false)
{
$value = $this->block->get('settings.' . $setting . '.value');
if (isset($this->data['settings']['attributes'][$setting])) {
$value = $this->data['settings']['attributes'][$setting];
}
return $allowHtml ? $value : phpb_e($value);
}
/**
* Return data of this block, passed as argument by a parent block.
*
* @param $key
* @return string
*/
public function data($key)
{
return $this->data[$key] ?? null;
}
/**
* Return data of the child block with the given relative ID.
*
* @param $childBlockId
* @return string
*/
public function childData($childBlockId)
{
return $this->data['blocks'][$childBlockId] ?? null;
}
}
+150
View File
@@ -0,0 +1,150 @@
<?php
namespace PHPageBuilder\Modules\GrapesJS\Block;
use PHPageBuilder\Modules\GrapesJS\PageRenderer;
use PHPageBuilder\ThemeBlock;
use Exception;
/**
* Class BlockAdapter
*
* Class for adapting a ThemeBlock into a JSON object understood by the GrapesJS page builder.
*
* @package PHPageBuilder\GrapesJS
*/
class BlockAdapter
{
/**
* @var PageRenderer $pageRenderer
*/
protected $pageRenderer;
/**
* @var ThemeBlock $block
*/
protected $block;
/**
* BlockAdapter constructor.
*
* @param PageRenderer $pageRenderer
* @param ThemeBlock $block
*/
public function __construct(PageRenderer $pageRenderer, ThemeBlock $block)
{
$this->pageRenderer = $pageRenderer;
$this->block = $block;
}
/**
* Return the slug identifying this type of theme block.
*
* @return string
*/
public function getSlug()
{
return $this->block->getSlug();
}
/**
* Return the visible title of this block.
*
* @return string
*/
public function getTitle()
{
if ($this->block->get('title')) {
return $this->block->get('title');
}
return str_replace('-', ' ', ucfirst($this->getSlug()));
}
/**
* Return the category this block belongs to.
*
* @return string|null
*/
public function getCategory()
{
if ($this->block->get('category')) {
return $this->block->get('category');
}
return phpb_trans('pagebuilder.default-category');
}
/**
* Return an array representation of the theme block, for adding as a block to GrapesJS.
*
* @return array
* @throws Exception
*/
public function getBlockManagerArray()
{
$content = $this->pageRenderer->renderBlock($this->block->getSlug());
$img = '';
if (file_exists($this->block->getThumbPath())) {
$img = '<div class="block-thumb" style="background-image: url(' . phpb_full_url($this->block->getThumbUrl()) . '); background-size: cover"></div>';
}
$data = [
'label' => $img . $this->getTitle(),
'category' => $this->getCategory(),
'content' => $content
];
if (! $img) {
$iconClass = 'fa fa-bars';
if ($this->block->get('icon')) {
$iconClass = $this->block->get('icon');
}
$data['attributes'] = ['class' => $iconClass];
}
return $data;
}
/**
* Return the array of settings of the theme block, for populating the settings tab in the GrapesJS sidebar.
*
* @return array
*/
public function getBlockSettingsArray()
{
$blockSettings = $this->block::getDynamicConfig($this->getSlug())['settings'] ?? $this->block->get('settings');
if ($this->block->isHtmlBlock() || ! is_array($blockSettings)) {
return [];
}
$settings = [];
foreach ($blockSettings as $name => $blockSetting) {
if (! isset($blockSetting['label'])) {
continue;
}
$type = $blockSetting['type'] ?? 'text';
$setting = [
'type' => $type,
'name' => $name,
'label' => $blockSetting['label'],
'default-value' => $blockSetting['value'] ?? '',
'placeholder' => $blockSetting['placeholder'] ?? '',
];
if ($type === 'select') {
$setting['options'] = $blockSetting['options'] ?? [];
} elseif ($type === 'yes_no') {
$setting['type'] = 'select';
$setting['options'] = [
['id' => 0, 'name' => phpb_trans('pagebuilder.no')],
['id' => 1, 'name' => phpb_trans('pagebuilder.yes')]
];
}
$settings[] = $setting;
}
return $settings;
}
}
@@ -0,0 +1,273 @@
<?php
namespace PHPageBuilder\Modules\GrapesJS\Block;
use PHPageBuilder\Contracts\PageContract;
use PHPageBuilder\Contracts\ThemeContract;
use PHPageBuilder\Extensions;
use PHPageBuilder\ThemeBlock;
class BlockRenderer
{
/**
* @var ThemeContract $theme
*/
protected $theme;
/**
* @var PageContract $page
*/
protected $page;
/**
* @var bool $forPageBuilder
*/
protected $forPageBuilder;
/**
* BlockRenderer constructor.
*
* @param ThemeContract $theme
* @param PageContract $page
* @param bool $forPageBuilder
*/
public function __construct(ThemeContract $theme, PageContract $page, $forPageBuilder = false)
{
$this->theme = $theme;
$this->page = $page;
$this->forPageBuilder = $forPageBuilder;
}
/**
* Change this BlockRenderer to render not editable blocks.
*
* @return $this
*/
public function notEditable()
{
$this->forPageBuilder = false;
return $this;
}
/**
* Change this BlockRenderer to render editable blocks.
*
* @return $this
*/
public function editable()
{
$this->forPageBuilder = true;
return $this;
}
/**
* Render a theme block with the given slug using the given block data.
*
* @param string $blockSlug
* @param array|null $blockData
* @param null $id id of the specific block instance
* @return string
*/
public function renderWithSlug(string $blockSlug, $blockData = null, $id = null)
{
$block = ($path = Extensions::getBlock($blockSlug))
? new ThemeBlock($this->theme, $path, true, $blockSlug)
: new ThemeBlock($this->theme, $blockSlug);
return $this->render($block, $blockData, $id);
}
/**
* Render the given theme block with the given stored block data.
*
* @param ThemeBlock $themeBlock
* @param array|null $blockData
* @param null $id id of the specific block instance
* @return string
*/
public function render(ThemeBlock $themeBlock, $blockData = null, $id = null)
{
$blockData = $blockData ?? [];
if ($themeBlock->isHtmlBlock()) {
$html = $this->renderHtmlBlock($themeBlock, $blockData);
} else {
$html = $this->renderDynamicBlock($themeBlock, $blockData);
}
$wrapperElement = $themeBlock->getWrapperElement();
if ($this->forPageBuilder) {
$id = $id ?? $themeBlock->getSlug();
$html = '<phpb-block block-slug="' . phpb_e($themeBlock->getSlug()) . '" block-id="' . phpb_e($id) . '" wrapper="' . $wrapperElement .'" is-html="' . ($themeBlock->isHtmlBlock() ? 'true' : 'false') . '">'
. $html . $this->renderBuilderScript($themeBlock)
. '</phpb-block>';
} else {
if (! $themeBlock->isHtmlBlock() && isset($blockData['settings']['attributes']['style-identifier'])) {
// add wrapper element around dynamic pagebuilder blocks, which receives the style identifier class if additional styling is added to the block via the pagebuilder
$html = '<' . $wrapperElement . ' class="' . phpb_e($blockData['settings']['attributes']['style-identifier']) . '">'
. $html . $this->renderScript($themeBlock)
. '</' . $wrapperElement . '>';
} else {
$html .= $this->renderScript($themeBlock);
}
}
return $html;
}
/**
* Render the pagebuilder script of the given block.
*
* @param ThemeBlock $themeBlock
* @return string
*/
public function renderBuilderScript(ThemeBlock $themeBlock)
{
$builderScriptFilePath = $themeBlock->getBuilderScriptFile();
if ($builderScriptFilePath) {
if (pathinfo($builderScriptFilePath)['extension'] === 'php') {
ob_start();
require $builderScriptFilePath;
$scriptHtmlString = ob_get_contents();
ob_end_clean();
} else {
$scriptHtmlString = file_get_contents($builderScriptFilePath);
}
return '<script>' . $this->removeWrappedScriptTags($scriptHtmlString) . '</script>';
}
// if no builder script was specified, fallback to using the general script (if provided)
return $this->renderScript($themeBlock, true);
}
/**
* Render the script of the given block for rendering the block on a publicly accessible web page.
*
* @param ThemeBlock $themeBlock
* @param bool $forPageBuilder
* @return string
*/
public function renderScript(ThemeBlock $themeBlock, bool $forPageBuilder = false)
{
$scriptFilePath = $themeBlock->getScriptFile();
if ($scriptFilePath) {
if (pathinfo($scriptFilePath)['extension'] === 'php') {
ob_start();
require $scriptFilePath;
$scriptHtmlString = ob_get_contents();
ob_end_clean();
} else {
$scriptHtmlString = file_get_contents($scriptFilePath);
}
$script = $this->removeWrappedScriptTags($scriptHtmlString);
if ($forPageBuilder) {
return '<script>' . $script . '</script>';
} else {
return $this->wrapScriptWithScopeAndContextData($script);
}
}
return '';
}
/**
* Remove script tags wrapped around to given JavaScript string, if they are present.
* This is necessary if the script is coming from a .html or .php file.
*
* @param $scriptHtmlString
* @return string
*/
protected function removeWrappedScriptTags($scriptHtmlString)
{
return str_replace('<script>', '', str_replace('</script>', '', $scriptHtmlString));
}
/**
* Wrap the given javascript with a script tag that has a unique id,
* add a scope around the script and add context data giving the script access to the exact block instance in the DOM.
*
* @param $script
* @return string
*/
protected function wrapScriptWithScopeAndContextData($script)
{
$scriptId = 'script' . rand(0, 10000000000);
$html = '<script type="text/javascript" class="' . $scriptId . '">';
$html .= 'document.getElementsByClassName("' . $scriptId . '")[0].addEventListener("run-script", function() {';
$html .= 'let inPageBuilder = false;';
$html .= 'let block = document.getElementsByClassName("' . $scriptId . '")[0].previousSibling;';
$html .= 'let blockSelector = "." + block.className;';
$html .= $script;
$html .= '});';
$html .= '</script>';
return $html;
}
/**
* Render the given html theme block with the given stored block data.
*
* @param ThemeBlock $themeBlock
* @param $blockData
* @return string
*/
protected function renderHtmlBlock(ThemeBlock $themeBlock, $blockData)
{
if ($themeBlock->getControllerFile()) {
require_once $themeBlock->getControllerFile();
$controllerClass = $themeBlock->getControllerClass();
$controller = new $controllerClass;
$model = new BaseModel($themeBlock, $blockData, $this->page, $this->forPageBuilder);
$controller->init($model, $this->page, $this->forPageBuilder);
$controller->handleRequest();
}
if (isset($blockData['html'])) {
$html = $blockData['html'];
} else {
$html = file_get_contents($themeBlock->getViewFile());
}
return $html;
}
/**
* Render the given dynamic theme block with the given stored block data.
*
* @param ThemeBlock $themeBlock
* @param $blockData
* @return string
*/
protected function renderDynamicBlock(ThemeBlock $themeBlock, $blockData)
{
$blockData = $blockData ?? [];
$controller = new BaseController;
$model = new BaseModel($themeBlock, $blockData, $this->page, $this->forPageBuilder);
if ($themeBlock->getModelFile()) {
require_once $themeBlock->getModelFile();
$modelClass = $themeBlock->getModelClass();
$model = new $modelClass($themeBlock, $blockData, $this->page, $this->forPageBuilder);
}
if ($themeBlock->getControllerFile()) {
require_once $themeBlock->getControllerFile();
$controllerClass = $themeBlock->getControllerClass();
$controller = new $controllerClass;
}
$controller->init($model, $this->page, $this->forPageBuilder);
$controller->handleRequest();
// init additional variables that should be accessible in the view
$renderer = $this;
$page = $this->page;
$block = $model;
// unset variables that should be inaccessible inside the view
unset($controller, $model, $blockData);
ob_start();
require $themeBlock->getViewFile();
$html = ob_get_contents();
ob_end_clean();
return $html;
}
}
+387
View File
@@ -0,0 +1,387 @@
<?php
namespace PHPageBuilder\Modules\GrapesJS;
use PHPageBuilder\Contracts\PageBuilderContract;
use PHPageBuilder\Contracts\PageContract;
use PHPageBuilder\Contracts\ThemeContract;
use PHPageBuilder\Modules\GrapesJS\Block\BlockAdapter;
use PHPageBuilder\Modules\GrapesJS\Thumb\ThumbGenerator;
use PHPageBuilder\Modules\GrapesJS\Upload\Uploader;
use PHPageBuilder\Repositories\PageRepository;
use PHPageBuilder\Repositories\UploadRepository;
use Exception;
class PageBuilder implements PageBuilderContract
{
/**
* @var ThemeContract $theme
*/
protected $theme;
/**
* @var array $scripts
*/
protected $scripts = [];
/**
* @var string $css
*/
protected $css;
/**
* PageBuilder constructor.
*/
public function __construct()
{
$this->theme = phpb_instance('theme', [
phpb_config('theme'),
phpb_config('theme.active_theme')
]);
}
/**
* Set the theme used while rendering pages in the page builder.
*
* @param ThemeContract $theme
*/
public function setTheme(ThemeContract $theme)
{
$this->theme = $theme;
}
/**
* Process the current GET or POST request and redirect or render the requested page.
*
* @param $route
* @param $action
* @param PageContract|null $page
* @return bool
* @throws Exception
*/
public function handleRequest($route, $action, PageContract $page = null)
{
phpb_set_in_editmode();
if ($route === 'thumb_generator') {
$thumbGenerator = new ThumbGenerator($this->theme);
return $thumbGenerator->handleThumbRequest($action);
}
if (is_null($page)) {
$pageId = $_GET['page'] ?? null;
$pageRepository = new PageRepository;
$page = $pageRepository->findWithId($pageId);
}
if (! ($page instanceof PageContract)) {
return false;
}
switch ($action) {
case null:
case 'edit':
$this->renderPageBuilder($page);
exit();
break;
case 'store':
if (isset($_POST) && isset($_POST['data'])) {
$data = json_decode($_POST['data'], true);
$this->updatePage($page, $data);
exit();
}
break;
case 'upload':
if (isset($_FILES)) {
$this->handleFileUpload();
}
break;
case 'upload_delete':
if (isset($_POST['id'])) {
$this->handleFileDelete();
}
break;
case 'renderBlock':
if (isset($_POST['language']) && isset($_POST['data']) && isset(phpb_active_languages()[$_POST['language']])) {
$this->renderPageBuilderBlock($page, $_POST['language'], json_decode($_POST['data'], true));
exit();
}
break;
case 'renderLanguageVariant':
if (isset($_POST['language']) && isset($_POST['data']) && isset(phpb_active_languages()[$_POST['language']])) {
$this->renderLanguageVariant($page, $_POST['language'], json_decode($_POST['data'], true));
exit();
}
break;
}
return false;
}
/**
* Handle uploading of the posted file.
*
* @throws Exception
*/
public function handleFileUpload()
{
$publicId = sha1(uniqid(rand(), true));
$uploader = phpb_instance(Uploader::class, ['files']);
$uploader
->file_name($publicId . '/' . str_replace(' ', '-', $uploader->file_src_name))
->upload_to(phpb_config('storage.uploads_folder') . '/')
->run();
if (! $uploader->was_uploaded) {
die("Upload error: {$uploader->error}");
} else {
$originalFile = str_replace(' ', '-', $uploader->file_src_name);
$originalMime = $uploader->file_src_mime;
$serverFile = $uploader->final_file_name;
$uploadRepository = new UploadRepository;
$uploadedFile = $uploadRepository->create([
'public_id' => $publicId,
'original_file' => $originalFile,
'mime_type' => $originalMime,
'server_file' => $serverFile
]);
echo json_encode([
'data' => [
'public_id' => $publicId,
'src' => $uploadedFile->getUrl(),
'type' => 'image'
]
]);
exit();
}
}
/**
* Handle deleting of the posted previously uploaded file.
*/
public function handleFileDelete()
{
$uploadRepository = new UploadRepository;
$uploadedFileResult = $uploadRepository->findWhere('public_id', $_POST['id']);
if (empty($uploadedFileResult)) {
echo json_encode([
'success' => false,
'message' => 'File not found'
]);
exit();
}
$uploadedFile = $uploadedFileResult[0];
$uploadRepository->destroy($uploadedFile->id);
$serverFilePath = realpath(phpb_config('storage.uploads_folder') . '/' . $uploadedFile->server_file);
if ($serverFilePath) {
unlink($serverFilePath);
}
$parentDirectory = realpath(phpb_config('storage.uploads_folder') . '/' . dirname($uploadedFile->server_file));
if ($parentDirectory && dirname($uploadedFile->server_file) !== '.') {
rmdir($parentDirectory);
}
echo json_encode([
'success' => true
]);
exit();
}
/**
* Render the PageBuilder for the given page.
*
* @param PageContract $page
* @throws Exception
*/
public function renderPageBuilder(PageContract $page)
{
phpb_set_in_editmode();
// init variables that should be accessible in the view
$pageBuilder = $this;
$pageRenderer = phpb_instance(PageRenderer::class, [$this->theme, $page, true]);
if (! empty($_SESSION['phpagebuilder_language'])) {
$pageRenderer->setLanguage($_SESSION['phpagebuilder_language']);
}
// create an array of theme blocks and theme block settings for in the page builder sidebar
$blocks = [];
$blockSettings = [];
foreach ($this->theme->getThemeBlocks() as $themeBlock) {
$slug = phpb_e($themeBlock->getSlug());
$adapter = phpb_instance(BlockAdapter::class, [$pageRenderer, $themeBlock]);
if ($themeBlock->get('hidden') !== true) {
$blocks[$slug] = $adapter->getBlockManagerArray();
}
$blockSettings[$slug] = $adapter->getBlockSettingsArray();
}
// create an array of all uploaded assets
$assets = [];
foreach ((new UploadRepository)->getAll() as $file) {
$assets[] = [
'src' => $file->getUrl(),
'public_id' => $file->public_id
];
}
require __DIR__ . '/resources/views/layout.php';
}
/**
* Render the given page.
*
* @param PageContract $page
* @param null $language
* @return string
*/
public function renderPage(PageContract $page, $language = null): string
{
$pageRenderer = phpb_instance(PageRenderer::class, [$this->theme, $page]);
if (! is_null($language)) {
$pageRenderer->setLanguage($language);
}
return $pageRenderer->render();
}
/**
* Render in context of the given page, the given block with the passed settings, for updating the page builder.
*
* @param PageContract $page
* @param string $language
* @param array $blockData
* @throws Exception
*/
public function renderPageBuilderBlock(PageContract $page, string $language, $blockData = [])
{
phpb_set_in_editmode();
$blockData = is_array($blockData) ? $blockData : [];
$page->setData(['data' => $blockData], false);
$pageRenderer = phpb_instance(PageRenderer::class, [$this->theme, $page, true]);
$pageRenderer->setLanguage($language);
echo $pageRenderer->parseShortcodes($blockData['html'], $blockData['blocks']);
}
/**
* Render the given page in the given language using the given block data.
*
* @param PageContract $page
* @param string $language
* @param array $blockData
* @throws Exception
*/
public function renderLanguageVariant(PageContract $page, string $language, $blockData = [])
{
phpb_set_in_editmode();
$_SESSION['phpagebuilder_language'] = $language;
$blockData = is_array($blockData) ? $blockData : [];
$page->setData(['data' => $blockData], false);
$pageRenderer = phpb_instance(PageRenderer::class, [$this->theme, $page, true]);
$pageRenderer->setLanguage($language);
echo json_encode([
'dynamicBlocks' => $pageRenderer->getPageBlocksData()[$language]
]);
}
/**
* Update the given page with the given data (an array of html blocks).
*
* @param PageContract $page
* @param $data
* @return bool|object|null
*/
public function updatePage(PageContract $page, $data)
{
$pageRepository = new PageRepository;
return $pageRepository->updatePageData($page, $data);
}
/**
* Return the list of all pages, used in CKEditor link editor.
*
* @return array
*/
public function getPages()
{
$pages = [];
$pageRepository = new PageRepository;
foreach ($pageRepository->getAll() as $page) {
$pages[] = [
phpb_e($page->getName()),
phpb_e($page->getId())
];
}
return $pages;
}
/**
* Return this page's components in the format passed to GrapesJS.
*
* @param PageContract $page
* @return array
*/
public function getPageComponents(PageContract $page)
{
$data = $page->getBuilderData();
$components = $data['components'] ?? [0 => []];
// backwards compatibility, components are now stored for each main container (@todo: remove this at the first mayor version)
if (isset($components[0]) && ! empty($components[0]) && ! isset($components[0][0])) {
$components = [0 => $components];
}
return $components;
}
/**
* Return this page's style in the format passed to GrapesJS.
*
* @param PageContract $page
* @return array
*/
public function getPageStyleComponents(PageContract $page)
{
$data = $page->getBuilderData();
if (isset($data['style'])) {
return $data['style'];
}
return [];
}
/**
* Get or set custom css for customizing layout of the page builder.
*
* @param string|null $css
* @return string
*/
public function customStyle(string $css = null)
{
if (! is_null($css)) {
$this->css = $css;
}
return $this->css;
}
/**
* Get or set custom scripts for customizing behaviour of the page builder.
*
* @param string $location head|body
* @param string|null $scripts
* @return string
*/
public function customScripts(string $location, string $scripts = null)
{
if (! is_null($scripts)) {
$this->scripts[$location] = $scripts;
}
return $this->scripts[$location] ?? '';
}
}
+325
View File
@@ -0,0 +1,325 @@
<?php
namespace PHPageBuilder\Modules\GrapesJS;
use PHPageBuilder\Contracts\PageContract;
use PHPageBuilder\Contracts\ThemeContract;
use PHPageBuilder\Modules\GrapesJS\Block\BlockRenderer;
use PHPageBuilder\ThemeBlock;
use Exception;
use PHPageBuilder\Extensions;
class PageRenderer
{
/**
* @var ThemeContract $theme
*/
protected $theme;
/**
* @var PageContract $page
*/
protected $page;
/**
* @var array $pageData
*/
protected $pageData;
/**
* @var array $pageBlocksData
*/
protected $pageBlocksData;
/**
* @var ShortcodeParser $shortcodeParser
*/
protected $shortcodeParser;
/**
* @var bool $forPageBuilder
*/
protected $forPageBuilder;
/**
* @var string $language
*/
protected $language;
/**
* @var bool $canBeCached
*/
public static $canBeCached;
/**
* The maximum number of minutes this page should be cached, one week by default.
*
* @var int $cacheLifetime
*/
public static $cacheLifetime = 7*24*60;
/**
* PageRenderer constructor.
*
* @param ThemeContract $theme
* @param PageContract $page
* @param bool $forPageBuilder
*/
public function __construct(ThemeContract $theme, PageContract $page, $forPageBuilder = false)
{
$this->theme = $theme;
$this->page = $page;
$this->pageData = $page->getBuilderData();
$this->shortcodeParser = phpb_instance(ShortcodeParser::class, [$this]);
$this->setLanguage(phpb_current_language());
$this->forPageBuilder = $forPageBuilder;
}
/**
* Set which page language variant to use while rendering.
*
* @param $language
*/
public function setLanguage($language)
{
// if the given language is unknown, default the set language to the first available language
$blockKeysAreLanguages = true;
$supportedLanguages = array_keys($this->pageData['blocks'] ?? []);
// check whether keys are valid languages (renderPageBuilderBlock uses pageData without language data)
foreach ($supportedLanguages as $supportedLanguage) {
if (strlen($supportedLanguage) > 5) {
$blockKeysAreLanguages = false;
break;
}
}
if ($blockKeysAreLanguages) {
if (! in_array($language, $supportedLanguages)) {
$language = $supportedLanguages[0] ?? $language;
}
}
$this->language = $language;
$this->pageBlocksData = $this->getStoredPageBlocksData();
$this->shortcodeParser->setLanguage($language);
}
/**
* Return the absolute path to the layout view of this page.
*
* @return string|null
*/
public function getPageLayoutPath()
{
$layout = basename($this->page->getLayout());
$layoutPath = $this->theme->getFolder() . '/layouts/' . $layout . '/view.php';
if ($path = Extensions::getLayout($layout)) {
$layoutPath = $path . '/view.php';
}
return file_exists($layoutPath) ? $layoutPath : null;
}
/**
* Set whether the currently rendered page can be cached.
*
* @param bool $canBeCached
* @param string|null $cacheLifetime
*/
public static function setCanBeCached(bool $canBeCached, $cacheLifetime = null)
{
if (! $canBeCached || ($cacheLifetime && intval($cacheLifetime) <= 0)) {
static::$canBeCached = false;
} elseif ($cacheLifetime) {
static::$cacheLifetime = min(static::$cacheLifetime, intval($cacheLifetime));
}
}
/**
* Return whether the rendered page can be cached.
* I.e. no blocks were encountered with content that varies per page load.
*
* @return bool
*/
public static function canBeCached(): bool
{
return static::$canBeCached ?? true;
}
/**
* Return the maximum number of minutes the rendered page should be cached.
*
* @return int
*/
public static function getCacheLifetime(): int
{
if (! static::canBeCached()) {
return 0;
}
return static::$cacheLifetime;
}
/**
* Return an array with for each block of this page the stored html and settings data.
*
* @return array
*/
public function getStoredPageBlocksData()
{
return $this->pageData['blocks'][$this->language] ?? $this->pageData['blocks'] ?? [];
}
/**
* Return the rendered version of the page.
*
* @return string
* @throws Exception
*/
public function render()
{
// init variables that should be accessible in the view
$renderer = $this;
$page = $this->page;
if ($this->forPageBuilder) {
$body = '<div phpb-content-container="true"></div>';
} else {
$body = $this->renderBody();
}
$layoutPath = $this->getPageLayoutPath();
if ($layoutPath) {
ob_start();
require $layoutPath;
$pageHtml = ob_get_contents();
ob_end_clean();
} else {
$pageHtml = $body;
}
// parse any shortcodes present in the page layout
$pageHtml = $this->parseShortcodes($pageHtml);
return $pageHtml;
}
/**
* Return the page body for display on the website.
* The body contains all blocks which are put into the selected layout.
*
* @param int $mainContainerIndex
* @return string
* @throws Exception
*/
public function renderBody($mainContainerIndex = 0)
{
$html = '';
$data = $this->pageData;
if (isset($data['html']) && is_array($data['html'])) {
$html = $this->parseShortcodes($data['html'][$mainContainerIndex]);
// render html for each content container, to ensure all rendered blocks are accessible in the pagebuilder
if (phpb_in_editmode()) {
foreach ($data['html'] as $contentContainerHtml) {
$this->parseShortcodes($contentContainerHtml);
}
}
}
// backwards compatibility, html stored for only one layout container (@todo: remove this at the first mayor version)
if (isset($data['html']) && is_string($data['html'])) {
$html = $this->parseShortcodes($data['html']);
}
// include any style changes made via the page builder
if (isset($data['css'])) {
$html .= '<style>' . $data['css'] . '</style>';
}
return $html;
}
/**
* Return a fully rendered theme block (including children blocks) with the given slug, data instance id and data context.
* This method is called while parsing shortcodes.
*
* @param $slug
* @param null $id the id with which data for this block is stored
* @param null $context
* @param int $maxDepth
* @return string
* @throws Exception
*/
public function renderBlock($slug, $id = null, $context = null, $maxDepth = 25)
{
$themeBlock = ($blockPath = Extensions::getBlock($slug))
? new ThemeBlock($this->theme, $blockPath, true, $slug)
: new ThemeBlock($this->theme, $slug);
$id = $id ?? $themeBlock->getSlug();
$context = $context[$id] ?? $this->pageBlocksData[$id] ?? [];
$blockRenderer = new BlockRenderer($this->theme, $this->page, $this->forPageBuilder);
$renderedBlock = $blockRenderer->render($themeBlock, $context ?? [], $id);
// determine the context for rendering nested blocks
// if the current block is a html block, the context starts again at full page data
// if the current block is a dynamic block, use the nested block data inside the current block's context
$context = $context['blocks'] ?? [];
if ($themeBlock->isHtmlBlock()) {
$context = $this->pageBlocksData;
}
return $this->shortcodeParser->doShortcodes($renderedBlock, $context, $maxDepth - 1);
}
/**
* Parse the given html with shortcodes to fully rendered html.
*
* @param string $htmlWithShortcodes
* @param array $context the data for each block to be used while parsing the shortcodes
* @return string
* @throws Exception
*/
public function parseShortcodes(string $htmlWithShortcodes, $context = null)
{
$context = $context ?? $this->pageBlocksData;
return $this->shortcodeParser->doShortcodes($htmlWithShortcodes, $context);
}
/**
* Return this page's blocks data to be loaded into the page edited inside GrapesJS.
*
* @return array
* @throws Exception
*/
public function getPageBlocksData()
{
$initialLanguage = $this->language;
// remove the already rendered blocks
$this->shortcodeParser->resetRenderedBlocks();
// create the structure of page blocks data for each language
$pageBlocks = [];
foreach (phpb_active_languages() as $languageCode => $languageTranslation) {
$this->setLanguage($languageCode);
// for the current language build up a structure of rendered versions and use the stored data for the other languages
if ($languageCode === $initialLanguage) {
$this->renderBody();
$pageBlocks[$languageCode] = $this->shortcodeParser->getRenderedBlocks()[$languageCode] ?? [];
} else {
$pageBlocks[$languageCode] = $this->pageBlocksData;
}
if (empty($pageBlocks[$languageCode])) {
$pageBlocks[$languageCode] = null;
}
}
// revert to initial language
$this->setLanguage($initialLanguage);
// return the rendered html and settings for each block
return $pageBlocks;
}
}
+276
View File
@@ -0,0 +1,276 @@
<?php
namespace PHPageBuilder\Modules\GrapesJS;
use PHPageBuilder\Repositories\PageRepository;
use Exception;
class ShortcodeParser
{
/**
* @var PageRenderer $pageRenderer
*/
protected $pageRenderer;
/**
* @var array $renderedBlocks
*/
protected $renderedBlocks;
/**
* @var array $pages
*/
protected $pages = [];
/**
* @var string $language
*/
protected $language;
/**
* ShortcodeParser constructor.
*
* @param PageRenderer $pageRenderer
*/
public function __construct(PageRenderer $pageRenderer)
{
$this->pageRenderer = $pageRenderer;
$this->renderedBlocks = [];
$pageRepository = new PageRepository;
foreach ($pageRepository->getAll(['id']) as $page) {
$this->pages[$page->getId()] = $page->getRoute();
}
}
/**
* Set the current language.
*
* @param $language
*/
public function setLanguage($language)
{
$this->language = $language;
}
/**
* Perform the tasks for all shortcodes in the given html string.
*
* @param $html
* @param array $context
* @param int $maxDepth
* @return mixed|string
* @throws Exception
*/
public function doShortcodes($html, array $context = [], $maxDepth = 25)
{
if ($maxDepth === 0) {
throw new Exception("Maximum doShortcodes depth has been reached, "
. "probably due to a circular shortcode reference in one of the theme blocks.");
}
$html = $this->doBlockShortcodes($html, $context, $maxDepth);
$html = $this->doPageShortcodes($html);
$html = $this->doThemeUrlShortcodes($html);
$html = $this->doBlocksContainerShortcodes($html);
return $html;
}
/**
* Render all blocks defined with shortcodes in the given html string.
*
* @param string $html
* @param array $context
* @param int $maxDepth
* @return string
* @throws Exception
*/
protected function doBlockShortcodes($html, array $context, $maxDepth)
{
$matches = self::findMatches('block', $html);
if (empty($matches)) {
return $html;
}
foreach ($matches as $match) {
if (! isset($match['attributes']['slug'])) {
continue;
}
$slug = $match['attributes']['slug'];
$id = $match['attributes']['id'] ?? $slug;
if (isset($context[$id]['settings']['attributes'])) {
foreach ($match['attributes'] as $attribute => $value) {
if (in_array($attribute, ['id', 'slug'])) {
continue;
}
$context[$id]['settings']['attributes'][$attribute] = $value;
}
}
$blockHtml = $this->pageRenderer->renderBlock($slug, $id, $context, $maxDepth);
// store rendered block in a structure used for outputting all blocks to the pagebuilder
if (phpb_in_editmode() && strpos($id, 'ID') === 0) {
$this->renderedBlocks[$this->language][$id] = $context[$id] ?? [];
$this->renderedBlocks[$this->language][$id]['html'] = $blockHtml;
}
// replace shortcode match with the $blockHtml (note: this replaces only the first match)
$pos = strpos($html, $match['shortcode']);
if ($pos !== false) {
$html = substr_replace($html, $blockHtml, $pos, strlen($match['shortcode']));
}
}
return $html;
}
/**
* Replace all page shortcodes for the corresponding absolute page url.
* @todo this currently replaces the shortcode with page route instead of URL
*
* @param $html
* @return mixed
*/
protected function doPageShortcodes($html)
{
if (phpb_in_editmode()) {
return $html;
}
$matches = self::findMatches('page', $html);
if (empty($matches)) {
return $html;
}
foreach ($matches as $match) {
if (! isset($match['attributes']['id'])) {
continue;
}
$pageId = $match['attributes']['id'];
$route = '';
if (isset($this->pages[$pageId])) {
$route = $this->pages[$pageId];
}
$html = str_replace($match['shortcode'], $route, $html);
}
return $html;
}
/**
* Replace all [theme-url] shortcodes for the absolute URL to the theme's public folder.
*
* @param $html
* @return mixed
*/
protected function doThemeUrlShortcodes($html)
{
$matches = self::findMatches('theme-url', $html);
if (empty($matches)) {
return $html;
}
foreach ($matches as $match) {
$themeUrl = phpb_config('theme.folder_url') . '/' . phpb_e(phpb_config('theme.active_theme'));
$html = str_replace($match['shortcode'], $themeUrl, $html);
}
return $html;
}
/**
* Replace all [blocks-container] shortcodes for a <div phpb-blocks-container></div>
*
* @param $html
* @return mixed
*/
protected function doBlocksContainerShortcodes($html)
{
$matches = self::findMatches('blocks-container', $html);
if (empty($matches)) {
return $html;
}
foreach ($matches as $match) {
$replacement = '<div phpb-blocks-container></div>';
$html = str_replace($match['shortcode'], $replacement, $html);
}
return $html;
}
/**
* Return all matches of the given shortcode in the given html string.
*
* @param $shortcode
* @param $html
* @return array an array with for each $shortcode occurrence an array of attributes
*/
public static function findMatches($shortcode, $html)
{
// RegEx: https://www.regextester.com/104625
$regex = '/\[' . $shortcode . '(\s.*?)?\](?:([^\[]+)?\[\/' . $shortcode . '\])?/';
preg_match_all($regex, $html, $pregMatchAll);
$fullMatches = $pregMatchAll[0];
$matchAttributeStrings = $pregMatchAll[1];
// loop through the attribute strings of each $shortcode instance and add the parsed variants to $matches
$matches = [];
foreach ($matchAttributeStrings as $i => $matchAttributeString) {
$matchAttributeString = trim($matchAttributeString);
// as long as there are attributes in the attributes string, add them to $attributes
$attributes = [];
while (strpos($matchAttributeString, '=') !== false) {
list($attribute, $remainingString) = explode('=', $matchAttributeString, 2);
$attribute = trim($attribute);
// if first char is " and at least two " exist, get attribute value between ""
if (strpos($remainingString, '"') === 0 && strpos($remainingString, '"', 1) !== false) {
list($empty, $value, $remainingString) = explode('"', $remainingString, 3);
$attributes[$attribute] = $value;
} else {
// attribute value was not between "", get value until next whitespace or until end of $remainingString
if (strpos($remainingString, ' ') !== false) {
list($value, $remainingString) = explode(' ', $remainingString, 2);
$attributes[$attribute] = $value;
} else {
$attributes[$attribute] = $remainingString;
$remainingString = '';
}
}
$matchAttributeString = $remainingString;
}
$matches[] = [
'shortcode' => $fullMatches[$i],
'attributes' => $attributes
];
}
return $matches;
}
/**
* Reset the structure of all rendered blocks.
*/
public function resetRenderedBlocks()
{
$this->renderedBlocks = [];
}
/**
* Return the array of all blocks rendered while parsing shortcodes.
*
* @return array
*/
public function getRenderedBlocks()
{
return $this->renderedBlocks;
}
}
@@ -0,0 +1,153 @@
<?php
namespace PHPageBuilder\Modules\GrapesJS\Thumb;
use PHPageBuilder\Contracts\ThemeContract;
use PHPageBuilder\Modules\GrapesJS\PageRenderer;
use PHPageBuilder\Page;
use PHPageBuilder\ThemeBlock;
use Exception;
class ThumbGenerator
{
/**
* @var ThemeContract $theme
*/
protected $theme;
/**
* ThumbGenerator constructor.
*
* @param ThemeContract $theme
*/
public function __construct(ThemeContract $theme)
{
$this->theme = $theme;
}
/**
* Handle requests to render and store block thumbnails.
*
* @param $action
* @return bool
* @throws Exception
*/
public function handleThumbRequest($action)
{
phpb_set_in_editmode();
if ($action === 'renderNextBlockThumb') {
$this->renderNextBlockThumb();
exit();
}
if ($action === 'upload' && isset($_POST) && isset($_POST['block']) && isset($_POST['data'])) {
foreach ($this->theme->getThemeBlocks() as $block) {
if ($_POST['block'] === $block->getSlug()) {
$this->r_mkdir(dirname($block->getThumbPath()));
$file = fopen($block->getThumbPath(), "wb");
fwrite($file, $this->getRawData($_POST['data']));
fclose($file);
exit();
}
}
}
return false;
}
/**
* Create directories recursively.
*
* @param string $path Path to create
* @param integer $mode Optional permissions
* @return boolean Success
*/
protected function r_mkdir($path, $mode = 0777) {
return is_dir($path) || ( $this->r_mkdir(dirname($path), $mode) && $this->_mkdir($path, $mode) );
}
/**
* Create directory.
*
* @param string $path Path to create
* @param integer $mode Optional permissions
* @return boolean Success
*/
protected function _mkdir($path, $mode = 0777) {
$old = umask(0);
$res = @mkdir($path, $mode);
umask($old);
return $res;
}
/**
* Return binary image data from the given base64 encoded string.
*
* @param $base64ImageData
* @return string
* @throws Exception
*/
protected function getRawData($base64ImageData)
{
if (preg_match('/^data:image\/(\w+);base64,/', $base64ImageData, $type)) {
$data = substr($base64ImageData, strpos($base64ImageData, ',') + 1);
$type = strtolower($type[1]);
if (! in_array($type, ['jpg', 'jpeg', 'png'])) {
throw new Exception('Invalid image type');
}
$data = base64_decode($data);
if ($data === false) {
throw new Exception('Decode failed');
}
return $data;
} else {
throw new Exception('Invalid data URI');
}
}
/**
* Render the next missing or outdated thumb of the given theme.
*
* @throws Exception
*/
public function renderNextBlockThumb()
{
foreach ($this->theme->getThemeBlocks() as $block) {
$this->renderThumbForBlock($block);
}
}
/**
* Render a thumbnail for the given block, if no thumb is present or if the thumb needs an update.
*
* @param ThemeBlock $block
* @throws Exception
*/
public function renderThumbForBlock(ThemeBlock $block)
{
phpb_set_in_editmode();
$thumbPath = $block->getThumbPath();
if (file_exists($thumbPath)) {
return;
}
$page = phpb_instance('page');
$page->setData([
'layout' => 'master',
'data' => [
'html' => [
0 => '[block slug="' . $block->getSlug() . '"]'
]
]
]);
$renderer = phpb_instance(PageRenderer::class, [$this->theme, $page]);
echo $renderer->render();
$blockSlug = $block->getSlug();
require __DIR__ . '/generator-view.php';
exit();
}
}
@@ -0,0 +1,38 @@
<style>
html, body {
padding: 0;
margin: 0;
}
/* hide block placeholders */
[phpb-hide-if-not-editable] {
display:none;
}
</style>
<script src="<?= phpb_asset('pagebuilder/html2canvas-v0.4.1.min.js') ?>"></script>
<script>
$(document).ready(function() {
html2canvas($("body"), {
allowTaint: false,
useCORS: true,
height: $("body").outerHeight(),
onrendered: function(canvas) {
let data = canvas.toDataURL();
//document.body.append(canvas);
$.ajax({
type: "POST",
url: "<?= phpb_url('pagebuilder', ['route' => 'thumb_generator', 'action' => 'upload']) ?>",
data: {
block: "<?= $blockSlug ?>",
data: data
},
success: function() {
window.parent.postMessage("thumb-saved", '*');
},
error: function() {
}
});
}
});
});
</script>
+236
View File
@@ -0,0 +1,236 @@
<?php
namespace PHPageBuilder\Modules\GrapesJS\Upload;
use Exception;
/**
* Class for resizing images.
*
* Credits: https://github.com/brunoribeiro94/php-upload
*
* Can resize to:
* - exact image size
* - max width size while maintaining aspect ratio
* - max height size while maintaining aspect ratio
* - automatic dimensions maintaining aspect ratio
*
* @package PHPageBuilder\Modules\GrapesJS\Upload
*/
class ResizeImage {
/**
* Image extension.
*
* @var string
*/
protected $ext;
/**
* Created image.
*
* @var string
*/
protected $image;
/**
* Name of new image.
*
* @var string
*/
protected $newImage;
/**
* Original image width.
*
* @var integer
*/
protected $origWidth;
/**
* Original image height.
*
* @var integer
*/
protected $origHeight;
/**
* New image width.
*
* @var integer
*/
protected $resizeWidth;
/**
* New image height.
*
* @var integer
*/
protected $resizeHeight;
/**
* Class constructor requires to send through the image filename.
*
* @param string $filename filename of the image you want to resize
* @throws Exception
*/
public function __construct($filename) {
if (file_exists($filename)) {
$this->setImage($filename);
} else {
throw new Exception('Image ' . $filename . ' can not be found, try another image.');
}
}
/**
* Set the image variable by using image create.
*
* @param string $filename the image filename
* @throws Exception
*/
protected function setImage($filename) {
$size = getimagesize($filename);
$this->ext = $size['mime'];
switch ($this->ext) {
// Image is a JPG
case 'image/jpg':
case 'image/jpeg':
// create a jpeg extension
$this->image = imagecreatefromjpeg($filename);
break;
// Image is a GIF
case 'image/gif':
$this->image = @imagecreatefromgif($filename);
break;
// Image is a PNG
case 'image/png':
$this->image = @imagecreatefrompng($filename);
break;
// Mime type not found
default:
throw new Exception("File is not an image, please use another file type.", 1);
}
$this->origWidth = imagesx($this->image);
$this->origHeight = imagesy($this->image);
}
/**
* Save the image as the image type the original image was.
*
* @param string $savePath the path to store the new image
* @param string $imageQuality the quality level of image to create
*/
public function saveImage($savePath, $imageQuality = "100") {
switch ($this->ext) {
case 'image/jpg':
case 'image/jpeg':
// Check PHP supports this file type
if (imagetypes() & IMG_JPG) {
imagejpeg($this->newImage, $savePath, $imageQuality);
}
break;
case 'image/gif':
// Check PHP supports this file type
if (imagetypes() & IMG_GIF) {
imagegif($this->newImage, $savePath);
}
break;
case 'image/png':
$invertScaleQuality = 9 - round(($imageQuality / 100) * 9);
// Check PHP supports this file type
if (imagetypes() & IMG_PNG) {
imagepng($this->newImage, $savePath, $invertScaleQuality);
}
break;
}
imagedestroy($this->newImage);
}
/**
* Resize the image to the given dimensions.
*
* @param integer $width max width of the image
* @param integer $height max height of the image
* @param string $resizeOption scale option for the image
*/
public function resizeTo($width, $height, $resizeOption = 'default') {
switch (strtolower($resizeOption)) {
case 'exact':
$this->resizeWidth = $width;
$this->resizeHeight = $height;
break;
case 'maxwidth':
$this->resizeWidth = $width;
$this->resizeHeight = $this->resizeHeightByWidth($width);
break;
case 'maxheight':
$this->resizeWidth = $this->resizeWidthByHeight($height);
$this->resizeHeight = $height;
break;
case 'proportionally':
$ratio_orig = $this->origWidth / $this->origHeight;
$this->resizeWidth = $width;
$this->resizeHeight = $height;
if ($width / $height > $ratio_orig)
$this->resizeWidth = $height * $ratio_orig;
else
$this->resizeHeight = $width / $ratio_orig;
break;
default:
if ($this->origWidth > $width || $this->origHeight > $height) {
if ($this->origWidth > $this->origHeight) {
$this->resizeHeight = $this->resizeHeightByWidth($width);
$this->resizeWidth = $width;
} else if ($this->origWidth < $this->origHeight) {
$this->resizeWidth = $this->resizeWidthByHeight($height);
$this->resizeHeight = $height;
} else {
$this->resizeWidth = $width;
$this->resizeHeight = $height;
}
} else {
$this->resizeWidth = $width;
$this->resizeHeight = $height;
}
break;
}
$this->newImage = imagecreatetruecolor($this->resizeWidth, $this->resizeHeight);
if ($this->ext == "image/gif" || $this->ext == "image/png") {
imagealphablending($this->newImage, false);
imagesavealpha($this->newImage, true);
$transparent = imagecolorallocatealpha($this->newImage, 255, 255, 255, 127);
imagefilledrectangle($this->newImage, 0, 0, $this->resizeWidth, $this->resizeHeight, $transparent);
}
imagecopyresampled($this->newImage, $this->image, 0, 0, 0, 0, $this->resizeWidth, $this->resizeHeight, $this->origWidth, $this->origHeight);
}
/**
* Get the resized height from the width maintaining aspect ratio.
*
* @param integer $width max image width
* @return float
*/
protected function resizeHeightByWidth($width) {
return floor(($this->origHeight / $this->origWidth) * $width);
}
/**
* Get the resized width from the height maintaining aspect ratio.
*
* @param int $height max image height
* @return float
*/
protected function resizeWidthByHeight($height) {
return floor(($this->origWidth / $this->origHeight) * $height);
}
}
+483
View File
@@ -0,0 +1,483 @@
<?php
namespace PHPageBuilder\Modules\GrapesJS\Upload;
use Exception;
/**
* File uploader class.
*
* Credits: https://github.com/brunoribeiro94/php-upload
*
* @version 0.6.2
* @package PHPageBuilder\Modules\GrapesJS\Upload
*/
class Uploader {
/**
* Indicates if the file has been uploaded properly.
*
* @var boolean
*/
public $was_uploaded = false;
/**
* Contains error message.
*
* @var string
*/
public $error;
/**
* Filename.
*
* @var string
*/
public $file_src_name;
/**
* File extension.
*
* @var string
*/
public $file_src_name_ext;
/**
* Uploaded file size, in bytes.
*
* @var double
*/
public $file_src_size;
/**
* Uploaded file size (in bytes).
*
* @var integer
*/
public $file_src_errors;
/**
* File source temp.
*
* @var string
*/
protected $file_src_temp;
/**
* Uploaded file MIME type.
*
* @access public
* @var string
*/
public $file_src_mime;
/**
* Final file name.
*
* @var string
*/
public $final_file_name;
/**
* File resolution width.
*
* @var integer
*/
public $file_width;
/**
* File resolution height.
*
* @var integer
*/
public $file_height;
/**
* Set this variable to change the maximum size in bytes for an uploaded file.
* Default value is the value upload_max_filesize from php.ini.
* Remember you can also set calling $Upload->file_max_size($value).
*
* @var double
*/
protected $get_file_max_size = 25000000;
/**
* Set auto replace if the file already exist.
* Remember you can also set calling $Upload->auto_replace($value_boolean).
*
* @var boolean
*/
protected $get_auto_replace = true;
/**
* Set auto create path if the folder not exist.
* Remember you can also set calling $Upload->auto_create_path($value_boolean).
*
* @var boolean
*/
protected $get_auto_create_path = true;
/**
* Allowed MIME types.
*
* @var array
*/
public $MIME_allowed = [
"application/arj",
"application/excel",
"application/gnutar",
"application/msword",
"application/mspowerpoint",
"application/octet-stream",
"application/pdf",
"application/powerpoint",
"application/postscript",
"application/plain",
"application/rtf",
"application/vnd.ms-excel",
"application/vocaltec-media-file",
"application/wordperfect",
"application/x-bzip",
"application/x-bzip2",
"application/x-compressed",
"application/x-excel",
"application/x-gzip",
"application/x-latex",
"application/x-midi",
"application/x-msexcel",
"application/x-rtf",
"application/x-sit",
"application/x-stuffit",
"application/x-shockwave-flash",
"application/x-troff-msvideo",
"application/x-zip-compressed",
"application/xml",
"application/zip",
"audio/aiff",
"audio/basic",
"audio/midi",
"audio/mod",
"audio/mpeg",
"audio/mpeg3",
"audio/wav",
"audio/x-aiff",
"audio/x-au",
"audio/x-mid",
"audio/x-midi",
"audio/x-mod",
"audio/x-mpeg-3",
"audio/x-wav",
"audio/xm",
"image/bmp",
"image/gif",
"image/jpeg",
"image/pjpeg",
"image/x-icon",
"image/png",
"image/x-png",
"image/tiff",
"image/x-tiff",
"image/x-windows-bmp",
"multipart/x-zip",
"multipart/x-gzip",
"music/crescendo",
"text/richtext",
"text/plain",
"text/xml",
"video/avi",
"video/mpeg",
"video/msvideo",
"video/quicktime",
"video/quicktime",
"video/x-mpeg",
"video/x-ms-wmv",
"video/x-ms-asf",
"video/x-ms-asf-plugin",
"video/x-msvideo",
"x-music/x-midi"
];
/**
* Uploader constructor.
*
* @param string|array $source image source
* @param boolean $fromFiles read from $_FILE
* @return boolean
*/
public function __construct($source, $fromFiles = true) {
$file = $fromFiles ? $_FILES[$source] : $source;
if (! isset($file)) {
return false;
}
// extract info from uploaded file
$this->file_src_name = $file["name"];
$this->file_src_temp = $file["tmp_name"];
$this->file_src_size = $file["size"];
$this->file_src_errors = $file['error'];
$this->file_src_mime = $file['type'];
$this->file_src_name_ext = pathinfo($file["name"], PATHINFO_EXTENSION);
$this->was_uploaded = true;
return true;
}
/**
* Run the uploader.
*
* @return bool
* @throws Exception
*/
public function run() {
// check whether the final name is in random mode
if ($this->file_name !== true) {
// preserve file extension if provided
if (! pathinfo($this->file_name, PATHINFO_EXTENSION)) {
$file = $this->file_name . '.' . $this->file_src_name_ext;
} else {
$file = $this->file_name;
}
$path = $this->upload_to . $file;
$this->upload_to = dirname($path);
} else {
$hash = md5(uniqid(rand(), true));
$file = $hash . '.' . $this->file_src_name_ext;
$path = $this->upload_to . $file;
}
$get_mime = isset($this->mime_check) ? true : false;
// check MIME type which are allowed
if ($get_mime && empty($this->file_src_mime)) {
$this->was_uploaded = false;
$this->error = "MIME type can't be detected!";
} elseif ($get_mime && !empty($this->file_src_mime) && !in_array($this->file_src_mime, $this->MIME_allowed)) {
$this->was_uploaded = false;
$this->error = "Incorrect type of file";
}
// check file maximum size
if ($this->file_src_size > $this->get_file_max_size) {
$this->error = 'File too big Original Size : ' . $this->file_src_size . ' File size limit : ' . $this->get_file_max_size;
$this->was_uploaded = false;
return false;
}
// check whether destination directory exists or attempt to create it
if ($this->get_auto_create_path) {
if (! $this->r_mkdir($this->upload_to)) {
$this->was_uploaded = false;
$this->error = "Destination directory can't be created. Can't carry on a process";
return false;
}
} elseif (! is_dir($this->upload_to)) {
$this->error = "Destination directory doesn't exist. Can't carry on a process";
return false;
}
// check whether file already exists or if are replacing it
if (file_exists($path)) {
if (! $this->get_auto_replace) {
$this->was_uploaded = false;
$this->error = $this->file_src_name . ' already exists. Please change the file name';
}
return false;
}
// check common error types
switch ($this->file_src_errors) {
case 0:
// all is OK
break;
case 1:
$this->was_uploaded = false;
$this->error = "File upload error (the uploaded file exceeds the upload_max_filesize directive in php.ini)";
break;
case 2:
$this->was_uploaded = false;
$this->error = "File upload error (the uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the html form)";
break;
case 3:
$this->was_uploaded = false;
$this->error = "File upload error (the uploaded file was only partially uploaded)";
break;
case 4:
$this->was_uploaded = false;
$this->error = "File upload error (no file was uploaded)";
break;
default:
$this->was_uploaded = false;
$this->error = "File upload error (unknown error code)";
}
// move file if successfully uploaded
if ($this->was_uploaded) {
if (move_uploaded_file($this->file_src_temp, $path)) {
$this->final_file_name = $file;
// extract image dimensions
list($w, $h) = getimagesize($path);
$this->file_width = $w;
$this->file_height = $h;
// resize image if necessary
if (isset($this->resize)) {
$resize = new ResizeImage($path);
$resize->resizeTo($this->image_x, $this->image_y, $this->resize_option);
$resize->saveImage($path);
}
return true;
} else {
$this->was_uploaded = false;
$this->error = 'Moving uploaded file failed.';
return false;
}
}
return false;
}
/**
* Create directories recursively.
*
* @param string $path Path to create
* @param integer $mode Optional permissions
* @return boolean Success
*/
protected function r_mkdir($path, $mode = 0777) {
return is_dir($path) || ( $this->r_mkdir(dirname($path), $mode) && $this->_mkdir($path, $mode) );
}
/**
* Create directory.
*
* @param string $path Path to create
* @param integer $mode Optional permissions
* @return boolean Success
*/
protected function _mkdir($path, $mode = 0777) {
$old = umask(0);
$res = @mkdir($path, $mode);
umask($old);
return $res;
}
/**
* Set the variable this function to define final name of the uploaded file.
* Use the value true for generate unique name (random name).
*
* @param boolean|string $file_name Final name of the file uploaded
* @return Uploader
*/
public function file_name($file_name) {
$this->file_name = $file_name;
return $this;
}
/**
* Set the variable this function to define auto replacement if the file already exist.
*
* @param boolean $bool
* @return Uploader
*/
public function auto_replace($bool) {
$this->get_auto_replace = $bool;
return $this;
}
/**
* Set the variable this function to define max size file is allowed.
*
* @param integer $size Maximum size in Bytes (1 000 000 bytes is equal to 1 MB)
* @return Uploader
*/
public function file_max_size($size) {
$this->get_file_max_size = (int) $size;
return $this;
}
/**
* Set the variable this function to false if you don't want to check the MIME against the allowed list.
* This variable is set to true by default for security reason.
*
* @param boolean $bool Set to false to not check
* @return Uploader
*/
public function mime_check($bool = true) {
$this->mime_check = $bool;
return $this;
}
/**
* Set the variable this function to choose a new path location for the image.
*
* @param string $path Path location of the uploaded file, with an ending slash
* @return Uploader
*/
public function upload_to($path) {
$this->upload_to = $path;
return $this;
}
/**
* Set the variable this function to true to resize the file if it is an image.
* You will probably want to set {@link image_x()} and {@link image_y()}, and maybe one of the ratio variables.
*
* @param boolean $bool Default value is false (no resizing)
* @return Uploader
*/
public function resize($bool = false) {
$this->resize = $bool;
return $this;
}
/**
* Set the variable this function to the wanted (or maximum/minimum) width for the processed image, in pixels.
*
* @param integer $width Default value is 150
* @return Uploader
*/
public function image_x($width) {
$this->image_x = $width;
return $this;
}
/**
* Set the variable this function to the wanted (or maximum/minimum) height for the processed image, in pixels.
*
* @param integer $height Default value is 150
* @return Uploader
*/
public function image_y($height = 150) {
$this->image_y = $height;
return $this;
}
/**
* Set the variable this function to choose the scale option for the image.
*
* @param string $option Default value is default, but you can use: exact, maxwidth, maxheight or proportional
* @return Uploader
*/
public function resize_option($option = 'default') {
$this->resize_option = $option;
return $this;
}
/**
* Alias for {@link resize()} instead of using both {@link image_x()} && {@link image_y()} && {@link resize_option()}.
*
* @param integer $width Max width of the image
* @param integer $height Max height of the image
* @param string $resizeOption Scale option for the image
* @return Uploader
*/
public function resize_to($width = 150, $height = 150, $resizeOption = 'default') {
self::resize(true);
self::image_x($width);
self::image_y($height);
self::resize_option($resizeOption);
return $this;
}
}
@@ -0,0 +1,5 @@
import './sass/app.scss'
import './sass/page-injection.scss'
import './js/app.js'
import './js/page-injection.js'
@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-de" viewBox="0 0 640 480">
<path fill="#ffce00" d="M0 320h640v160H0z"/>
<path d="M0 0h640v160H0z"/>
<path fill="#d00" d="M0 160h640v160H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 213 B

@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-gb" viewBox="0 0 640 480">
<path fill="#012169" d="M0 0h640v480H0z"/>
<path fill="#FFF" d="M75 0l244 181L562 0h78v62L400 241l240 178v61h-80L320 301 81 480H0v-60l239-178L0 64V0h75z"/>
<path fill="#C8102E" d="M424 281l216 159v40L369 281h55zm-184 20l6 35L54 480H0l240-179zM640 0v3L391 191l2-44L590 0h50zM0 0l239 176h-60L0 42V0z"/>
<path fill="#FFF" d="M241 0v480h160V0H241zM0 160v160h640V160H0z"/>
<path fill="#C8102E" d="M0 193v96h640v-96H0zM273 0v480h96V0h-96z"/>
</svg>

After

Width:  |  Height:  |  Size: 538 B

@@ -0,0 +1,544 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-es" viewBox="0 0 640 480">
<path fill="#AA151B" d="M0 0h640v480H0z"/>
<path fill="#F1BF00" d="M0 120h640v240H0z"/>
<path fill="#ad1519" d="M127.3 213.3l-.8-.1-1-1-.7-.4-.6-.8s-.7-1.1-.4-2c.3-.9.9-1.2 1.4-1.5a12 12 0 011.5-.5l1-.4 1.3-.3.5-.3c.2 0 .7 0 1-.2l1-.2 1.6.1h4.8c.4 0 1.2.3 1.4.4a35 35 0 002 .7c.5.1 1.6.3 2.2.6.5.3.9.7 1.1 1l.5 1v1.1l-.5.8-.6 1-.8.6s-.5.5-1 .4c-.4 0-4.8-.8-7.6-.8s-7.3.9-7.3.9"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M127.3 213.3l-.8-.1-1-1-.7-.4-.6-.8s-.7-1.1-.4-2c.3-.9.9-1.2 1.4-1.5a12 12 0 011.5-.5l1-.4 1.3-.3.5-.3c.2 0 .7 0 1-.2l1-.2 1.6.1h4.8c.4 0 1.2.3 1.4.4a35 35 0 002 .7c.5.1 1.6.3 2.2.6.5.3.9.7 1.1 1l.5 1v1.1l-.5.8-.6 1-.8.6s-.5.5-1 .4c-.4 0-4.8-.8-7.6-.8s-7.3.9-7.3.9z"/>
<path fill="#c8b100" d="M133.3 207c0-1.3.6-2.3 1.3-2.3.8 0 1.4 1 1.4 2.4 0 1.3-.6 2.4-1.4 2.4s-1.3-1.1-1.3-2.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M133.3 207c0-1.3.6-2.3 1.3-2.3.8 0 1.4 1 1.4 2.4 0 1.3-.6 2.4-1.4 2.4s-1.3-1.1-1.3-2.5z"/>
<path fill="#c8b100" d="M134 207c0-1.2.3-2.1.7-2.1.3 0 .6 1 .6 2.1 0 1.3-.3 2.2-.6 2.2-.4 0-.6-1-.6-2.2"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134 207c0-1.2.3-2.1.7-2.1.3 0 .6 1 .6 2.1 0 1.3-.3 2.2-.6 2.2-.4 0-.6-1-.6-2.2z"/>
<path fill="#c8b100" d="M133.8 204.5c0-.4.4-.8.8-.8s1 .4 1 .8c0 .5-.5.9-1 .9s-.8-.4-.8-.9"/>
<path fill="#c8b100" d="M135.3 204.2v.6h-1.4v-.6h.5V203h-.7v-.6h.7v-.5h.5v.5h.6v.6h-.6v1.2h.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M135.3 204.2v.6h-1.4v-.6h.5V203h-.7v-.6h.7v-.5h.5v.5h.6v.6h-.6v1.2h.4"/>
<path fill="#c8b100" d="M135.9 204.2v.6h-2.5v-.6h1V203h-.7v-.6h.7v-.5h.5v.5h.6v.6h-.6v1.2h1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M135.9 204.2v.6h-2.5v-.6h1V203h-.7v-.6h.7v-.5h.5v.5h.6v.6h-.6v1.2h1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134.9 203.7c.4.1.6.4.6.8 0 .5-.4.9-.8.9s-1-.4-1-.9c0-.4.3-.7.7-.8"/>
<path fill="#c8b100" d="M134.7 213.2H130v-1.1l-.3-1.2-.2-1.5c-1.3-1.7-2.5-2.8-2.9-2.5.1-.3.2-.6.5-.7 1.1-.7 3.5 1 5.2 3.6l.5.7h3.8l.4-.7c1.8-2.7 4.1-4.3 5.2-3.6.3.1.4.4.5.7-.4-.3-1.6.8-2.9 2.5l-.2 1.5-.2 1.2-.1 1.1h-4.7"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134.7 213.2H130v-1.1l-.3-1.2-.2-1.5c-1.3-1.7-2.5-2.8-2.9-2.5.1-.3.2-.6.5-.7 1.1-.7 3.5 1 5.2 3.6l.5.7h3.8l.4-.7c1.8-2.7 4.1-4.3 5.2-3.6.3.1.4.4.5.7-.4-.3-1.6.8-2.9 2.5l-.2 1.5-.2 1.2-.1 1.1h-4.7z"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M126.8 206.8c1-.5 3 1.1 4.6 3.6m11-3.6c-.8-.5-2.8 1.1-4.5 3.6"/>
<path fill="#c8b100" d="M127.8 215.3l-.5-1a27.3 27.3 0 0114.7 0l-.5.8a5.7 5.7 0 00-.3.8 22.9 22.9 0 00-6.6-.8c-2.6 0-5.2.3-6.5.8l-.3-.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M127.8 215.3l-.5-1a27.3 27.3 0 0114.7 0l-.5.8a5.7 5.7 0 00-.3.8 22.9 22.9 0 00-6.6-.8c-2.6 0-5.2.3-6.5.8l-.3-.6"/>
<path fill="#c8b100" d="M134.6 217.7c2.4 0 5-.4 5.9-.6.6-.2 1-.5 1-.8 0-.2-.2-.3-.4-.4-1.4-.5-4-.8-6.5-.8s-5 .3-6.4.8c-.2 0-.3.2-.4.3 0 .4.3.7 1 .9 1 .2 3.5.6 5.8.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134.6 217.7c2.4 0 5-.4 5.9-.6.6-.2 1-.5 1-.8 0-.2-.2-.3-.4-.4-1.4-.5-4-.8-6.5-.8s-5 .3-6.4.8c-.2 0-.3.2-.4.3 0 .4.3.7 1 .9 1 .2 3.5.6 5.8.6z"/>
<path fill="#c8b100" d="M142.1 213.2l-.5-.5s-.6.3-1.3.2c-.6 0-.9-1-.9-1s-.7.7-1.3.7c-.7 0-1-.6-1-.6s-.7.5-1.3.4c-.6 0-1.2-.8-1.2-.8s-.6.8-1.2.8c-.6.1-1-.5-1-.5s-.4.6-1.1.7-1.4-.6-1.4-.6-.5.7-1 1c-.5 0-1.2-.4-1.2-.4l-.2.5-.3.1.2.5a27 27 0 017.2-.9c3 0 5.5.4 7.4 1l.2-.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M142.1 213.2l-.5-.5s-.6.3-1.3.2c-.6 0-.9-1-.9-1s-.7.7-1.3.7c-.7 0-1-.6-1-.6s-.7.5-1.3.4c-.6 0-1.2-.8-1.2-.8s-.6.8-1.2.8c-.6.1-1-.5-1-.5s-.4.6-1.1.7-1.4-.6-1.4-.6-.5.7-1 1c-.5 0-1.2-.4-1.2-.4l-.2.5-.3.1.2.5a27 27 0 017.2-.9c3 0 5.5.4 7.4 1l.2-.6z"/>
<path fill="#c8b100" d="M134.7 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01-1.2.6 1.5 1.5 0 01-1.1-.5c-.2.5-.8.8-1.4.8-.2 0-.5 0-.7-.2-.1.3-.4.6-.7.6-.3 0-.6 0-.9-.2l-1-1 .1-.5.8.7c.5.4.9.4.9.4.3 0 .4-.4.4-.7v-.3l.2.2c.2.3.5.5.9.5a1 1 0 001-1 .9.9 0 000-.4v-.5l.4.4a.7.7 0 000 .1c0 .6.5 1 1 1 .6 0 1-.3 1.1-.9v-.3l.2.3c.2.4.6.7 1 .7.7 0 1.1-.4 1.1-1a1 1 0 000-.3h.3z"/>
<path fill="#c8b100" d="M134.6 213.3c-2.9 0-5.5.4-7.3 1l-.3-.2.1-.3a27 27 0 017.5-1c3 0 5.7.4 7.6 1 0 0 .2.2.1.3l-.3.2a27.3 27.3 0 00-7.4-1"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M134.6 213.3c-2.9 0-5.5.4-7.3 1l-.3-.2.1-.3a27 27 0 017.5-1c3 0 5.7.4 7.6 1 0 0 .2.2.1.3l-.3.2a27.3 27.3 0 00-7.4-1z"/>
<path fill="#fff" d="M131.8 214.4c0-.3.2-.4.5-.4a.4.4 0 01.4.4c0 .2-.2.4-.4.4a.4.4 0 01-.5-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M131.8 214.4c0-.3.2-.4.5-.4a.4.4 0 01.4.4c0 .2-.2.4-.4.4a.4.4 0 01-.5-.4z"/>
<path fill="#ad1519" d="M134.7 214.5h-1c-.1 0-.3 0-.3-.3l.3-.3h2a.3.3 0 01.2.3.3.3 0 01-.3.3h-1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134.7 214.5h-1c-.1 0-.3 0-.3-.3l.3-.3h2a.3.3 0 01.2.3.3.3 0 01-.3.3h-1"/>
<path fill="#058e6e" d="M130 214.9h-.7c-.1 0-.3 0-.3-.2a.3.3 0 01.2-.3l.7-.1.7-.1c.2 0 .3 0 .4.2a.3.3 0 01-.3.4h-.7"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M130 214.9h-.7c-.1 0-.3 0-.3-.2a.3.3 0 01.2-.3l.7-.1.7-.1c.2 0 .3 0 .4.2a.3.3 0 01-.3.4h-.7"/>
<path fill="#ad1519" d="M127.3 215.3l.3-.4h.7l-.4.6-.6-.2"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M127.3 215.3l.3-.4h.7l-.4.6-.6-.2"/>
<path fill="#fff" d="M136.6 214.4c0-.3.2-.4.4-.4a.4.4 0 01.5.4.4.4 0 01-.5.4.4.4 0 01-.4-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M136.6 214.4c0-.3.2-.4.4-.4a.4.4 0 01.5.4.4.4 0 01-.5.4.4.4 0 01-.4-.4z"/>
<path fill="#058e6e" d="M139.3 214.9h.6a.3.3 0 00.4-.2.3.3 0 00-.3-.3l-.6-.1-.7-.1c-.2 0-.3 0-.4.2 0 .2.1.3.3.4h.7"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M139.3 214.9h.6a.3.3 0 00.4-.2.3.3 0 00-.3-.3l-.6-.1-.7-.1c-.2 0-.3 0-.4.2 0 .2.1.3.3.4h.7"/>
<path fill="#ad1519" d="M142 215.4l-.3-.5h-.7l.3.6.6-.1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M142 215.4l-.3-.5h-.7l.3.6.6-.1"/>
<path fill="#ad1519" d="M134.6 217.1a25 25 0 01-6-.6 25.5 25.5 0 0112.1 0c-1.6.4-3.7.6-6 .6"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M134.6 217.1a25 25 0 01-6-.6 25.5 25.5 0 0112.1 0c-1.6.4-3.7.6-6 .6z"/>
<path fill="#c8b100" d="M142 212l-.1-.3c-.2 0-.3 0-.4.2 0 .2 0 .4.2.4 0 0 .2 0 .3-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M142 212l-.1-.3c-.2 0-.3 0-.4.2 0 .2 0 .4.2.4 0 0 .2 0 .3-.3z"/>
<path fill="#c8b100" d="M137.3 211.2c0-.2 0-.4-.2-.4 0 0-.2.1-.2.3 0 .2 0 .4.2.4l.3-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M137.3 211.2c0-.2 0-.4-.2-.4 0 0-.2.1-.2.3 0 .2 0 .4.2.4l.3-.3z"/>
<path fill="#c8b100" d="M132 211.2l.1-.4c.2 0 .3.1.3.3 0 .2 0 .4-.2.4l-.2-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M132 211.2l.1-.4c.2 0 .3.1.3.3 0 .2 0 .4-.2.4l-.2-.3z"/>
<path fill="#c8b100" d="M127.3 212l.1-.3c.2 0 .3 0 .4.2 0 .2 0 .4-.2.4 0 0-.2 0-.3-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M127.3 212l.1-.3c.2 0 .3 0 .4.2 0 .2 0 .4-.2.4 0 0-.2 0-.3-.3z"/>
<path fill="#c8b100" d="M134.6 208.5l-.8.5.6 1.3.2.1.2-.1.7-1.3-.9-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134.6 208.5l-.8.5.6 1.3.2.1.2-.1.7-1.3-.9-.5"/>
<path fill="#c8b100" d="M132.8 210.5l.4.5 1.3-.4.1-.2-.1-.2-1.3-.3-.4.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M132.8 210.5l.4.5 1.3-.4.1-.2-.1-.2-1.3-.3-.4.6"/>
<path fill="#c8b100" d="M136.4 210.5l-.3.5-1.3-.4-.2-.2.2-.2 1.3-.3.3.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M136.4 210.5l-.3.5-1.3-.4-.2-.2.2-.2 1.3-.3.3.6"/>
<path fill="#c8b100" d="M129.3 209l-.7.7.9 1 .2.1.1-.1.3-1.3-.8-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M129.3 209l-.7.7.9 1 .2.1.1-.1.3-1.3-.8-.3"/>
<path fill="#c8b100" d="M128 211.2l.4.5 1.2-.6v-.2l-.1-.2-1.3-.1-.3.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M128 211.2l.4.5 1.2-.6v-.2l-.1-.2-1.3-.1-.3.6"/>
<path fill="#c8b100" d="M131.5 210.5l-.3.6H130l-.2-.2.1-.3 1.2-.6.5.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M131.5 210.5l-.3.6H130l-.2-.2.1-.3 1.2-.6.5.5"/>
<path fill="#c8b100" d="M126.6 211.4v.6l-1.4.2-.2-.1v-.2l1-.9.6.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M126.6 211.4v.6l-1.4.2-.2-.1v-.2l1-.9.6.4"/>
<path fill="#c8b100" d="M129.2 210.9c0-.3.2-.5.5-.5s.5.2.5.5a.5.5 0 01-.5.4.5.5 0 01-.5-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M129.2 210.9c0-.3.2-.5.5-.5s.5.2.5.5a.5.5 0 01-.5.4.5.5 0 01-.5-.4z"/>
<path fill="#c8b100" d="M140 209l.7.7-.9 1-.2.1-.1-.1-.3-1.3.8-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M140 209l.7.7-.9 1-.2.1-.1-.1-.3-1.3.8-.3"/>
<path fill="#c8b100" d="M141.4 211.2l-.5.5-1.2-.6v-.2l.1-.2 1.3-.1.3.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M141.4 211.2l-.5.5-1.2-.6v-.2l.1-.2 1.3-.1.3.6"/>
<path fill="#c8b100" d="M137.8 210.5l.3.6h1.3l.2-.2-.1-.3-1.2-.6-.5.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M137.8 210.5l.3.6h1.3l.2-.2-.1-.3-1.2-.6-.5.5"/>
<path fill="#c8b100" d="M142.5 211.4l.1.6 1.3.2.2-.1v-.2l-1-.9-.6.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M142.5 211.4l.1.6 1.3.2.2-.1v-.2l-1-.9-.6.4"/>
<path fill="#c8b100" d="M134.2 210.4a.5.5 0 01.4-.4c.3 0 .5.2.5.4a.5.5 0 01-.5.5.5.5 0 01-.4-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M134.2 210.4a.5.5 0 01.4-.4c.3 0 .5.2.5.4a.5.5 0 01-.5.5.5.5 0 01-.4-.5z"/>
<path fill="#c8b100" d="M139.1 210.9c0-.3.3-.5.5-.5a.5.5 0 01.5.5.5.5 0 01-.5.4.5.5 0 01-.5-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M139.1 210.9c0-.3.3-.5.5-.5a.5.5 0 01.5.5.5.5 0 01-.5.4.5.5 0 01-.5-.4z"/>
<path fill="#c8b100" d="M124.8 212.2l-.6-.7c-.2-.2-.7-.3-.7-.3 0-.1.3-.3.6-.3a.5.5 0 01.4.2v-.2s.3 0 .4.3v1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M124.8 212.2l-.6-.7c-.2-.2-.7-.3-.7-.3 0-.1.3-.3.6-.3a.5.5 0 01.4.2v-.2s.3 0 .4.3v1z"/>
<path fill="#c8b100" d="M124.8 212c.1-.2.4-.2.5 0 .2.1.3.3.2.5l-.5-.1c-.2-.1-.3-.4-.2-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M124.8 212c.1-.2.4-.2.5 0 .2.1.3.3.2.5l-.5-.1c-.2-.1-.3-.4-.2-.5z"/>
<path fill="#c8b100" d="M144.3 212.2l.6-.7c.2-.2.7-.3.7-.3 0-.1-.3-.3-.6-.3a.6.6 0 00-.4.2v-.2s-.3 0-.4.3v.7l.1.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M144.3 212.2l.6-.7c.2-.2.7-.3.7-.3 0-.1-.3-.3-.6-.3a.6.6 0 00-.4.2v-.2s-.3 0-.4.3v.7l.1.3z"/>
<path fill="#c8b100" d="M144.3 212c0-.2-.3-.2-.5 0-.2.1-.2.3-.1.5l.5-.1c.2-.1.2-.4.1-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M144.3 212c0-.2-.3-.2-.5 0-.2.1-.2.3-.1.5l.5-.1c.2-.1.2-.4.1-.5z"/>
<path fill="#c8b100" d="M124 223h21.4v-5.5H124v5.6z"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M124 223h21.4v-5.5H124v5.6z"/>
<path fill="#c8b100" d="M126.2 226.8a1 1 0 01.4 0h16.5a1.4 1.4 0 01-1-1.2c0-.6.5-1.1 1-1.3a1.7 1.7 0 01-.4 0h-16a1.4 1.4 0 01-.5 0c.6.2 1 .7 1 1.3a1.3 1.3 0 01-1 1.2"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M126.2 226.8a1 1 0 01.4 0h16.5a1.4 1.4 0 01-1-1.2c0-.6.5-1.1 1-1.3a1.7 1.7 0 01-.4 0h-16a1.4 1.4 0 01-.5 0c.6.2 1 .7 1 1.3a1.3 1.3 0 01-1 1.2z"/>
<path fill="#c8b100" d="M126.6 226.8h16c.6 0 1 .3 1 .7 0 .4-.4.8-1 .8h-16c-.5 0-1-.4-1-.8s.5-.8 1-.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M126.6 226.8h16c.6 0 1 .3 1 .7 0 .4-.4.8-1 .8h-16c-.5 0-1-.4-1-.8s.5-.8 1-.8z"/>
<path fill="#c8b100" d="M126.6 223h16c.6 0 1 .4 1 .7 0 .4-.4.6-1 .6h-16c-.5 0-1-.2-1-.6 0-.3.5-.6 1-.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M126.6 223h16c.6 0 1 .4 1 .7 0 .4-.4.6-1 .6h-16c-.5 0-1-.2-1-.6 0-.3.5-.6 1-.6z"/>
<path fill="#005bbf" d="M149.6 317.4c-1.4 0-2.8-.3-3.7-.8a8.4 8.4 0 00-3.8-.8c-1.4 0-2.7.3-3.7.8a8.3 8.3 0 01-3.8.8c-1.5 0-2.8-.3-3.7-.8a8.4 8.4 0 00-3.7-.8 8 8 0 00-3.7.8 8.3 8.3 0 01-3.8.8v2.4c1.5 0 2.8-.4 3.8-.9a8.2 8.2 0 013.7-.8c1.4 0 2.7.3 3.7.8s2.2.9 3.7.9a8.4 8.4 0 003.8-.9c1-.5 2.3-.8 3.7-.8 1.5 0 2.8.3 3.8.8s2.2.9 3.7.9v-2.4"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M149.6 317.4c-1.4 0-2.8-.3-3.7-.8a8.4 8.4 0 00-3.8-.8c-1.4 0-2.7.3-3.7.8a8.3 8.3 0 01-3.8.8c-1.5 0-2.8-.3-3.7-.8a8.4 8.4 0 00-3.7-.8 8 8 0 00-3.7.8 8.3 8.3 0 01-3.8.8v2.4c1.5 0 2.8-.4 3.8-.9a8.2 8.2 0 013.7-.8c1.4 0 2.7.3 3.7.8s2.2.9 3.7.9a8.4 8.4 0 003.8-.9c1-.5 2.3-.8 3.7-.8 1.5 0 2.8.3 3.8.8s2.2.9 3.7.9v-2.4z"/>
<path fill="#ccc" d="M149.6 319.8a8 8 0 01-3.7-.9 8.3 8.3 0 00-3.8-.8c-1.4 0-2.7.3-3.7.8s-2.3.9-3.8.9-2.8-.4-3.7-.9a8.4 8.4 0 00-3.7-.8 8.2 8.2 0 00-3.7.8c-1 .5-2.3.9-3.8.9v2.3c1.5 0 2.8-.4 3.8-.9a8.1 8.1 0 013.7-.7c1.4 0 2.7.2 3.7.7a8.3 8.3 0 007.5 0 8.5 8.5 0 017.5.1 8.1 8.1 0 003.7.8v-2.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M149.6 319.8a8 8 0 01-3.7-.9 8.3 8.3 0 00-3.8-.8c-1.4 0-2.7.3-3.7.8s-2.3.9-3.8.9-2.8-.4-3.7-.9a8.4 8.4 0 00-3.7-.8 8.2 8.2 0 00-3.7.8c-1 .5-2.3.9-3.8.9v2.3c1.5 0 2.8-.4 3.8-.9a8.1 8.1 0 013.7-.7c1.4 0 2.7.2 3.7.7a8.3 8.3 0 007.5 0 8.5 8.5 0 017.5.1 8.1 8.1 0 003.7.8v-2.3"/>
<path fill="#005bbf" d="M149.6 322a7 7 0 01-3.7-.8 8.3 8.3 0 00-3.8-.7c-1.4 0-2.7.2-3.7.7-1 .6-2.3.9-3.8.9s-2.8-.4-3.7-.9a8.4 8.4 0 00-3.7-.8 8 8 0 00-3.7.8c-1 .5-2.3.9-3.8.9v2.3c1.5 0 2.8-.3 3.8-.9a10.2 10.2 0 017.4 0 7 7 0 003.7.9 8.4 8.4 0 003.8-.8c1-.5 2.3-.8 3.7-.8 1.5 0 2.8.3 3.8.8s2.2.8 3.7.8V322"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M149.6 322a7 7 0 01-3.7-.8 8.3 8.3 0 00-3.8-.7c-1.4 0-2.7.2-3.7.7-1 .6-2.3.9-3.8.9s-2.8-.4-3.7-.9a8.4 8.4 0 00-3.7-.8 8 8 0 00-3.7.8c-1 .5-2.3.9-3.8.9v2.3c1.5 0 2.8-.3 3.8-.9a10.2 10.2 0 017.4 0 7 7 0 003.7.9 8.4 8.4 0 003.8-.8c1-.5 2.3-.8 3.7-.8 1.5 0 2.8.3 3.8.8s2.2.8 3.7.8V322"/>
<path fill="#ccc" d="M149.6 326.7a8 8 0 01-3.7-.8c-1-.5-2.3-.8-3.7-.8a8.4 8.4 0 00-3.8.8c-1 .5-2.3.8-3.8.8a7 7 0 01-3.7-.9 8.4 8.4 0 00-3.7-.7c-1.4 0-2.7.3-3.7.8s-2.3.8-3.8.8v-2.3a8.3 8.3 0 003.8-.9 10.2 10.2 0 017.4 0 8 8 0 003.7.9 8.4 8.4 0 003.8-.8c1-.5 2.3-.8 3.8-.8 1.4 0 2.7.3 3.7.8s2.3.8 3.7.8v2.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M149.6 326.7a8 8 0 01-3.7-.8c-1-.5-2.3-.8-3.7-.8a8.4 8.4 0 00-3.8.8c-1 .5-2.3.8-3.8.8a7 7 0 01-3.7-.9 8.4 8.4 0 00-3.7-.7c-1.4 0-2.7.3-3.7.8s-2.3.8-3.8.8v-2.3a8.3 8.3 0 003.8-.9 10.2 10.2 0 017.4 0 8 8 0 003.7.9 8.4 8.4 0 003.8-.8c1-.5 2.3-.8 3.8-.8 1.4 0 2.7.3 3.7.8s2.3.8 3.7.8v2.3"/>
<path fill="#005bbf" d="M149.6 329a8.1 8.1 0 01-3.7-.8c-1-.5-2.3-.8-3.7-.8a8.4 8.4 0 00-3.8.8c-1 .5-2.3.8-3.8.8a7 7 0 01-3.7-.9 8.4 8.4 0 00-3.7-.7c-1.4 0-2.7.3-3.7.8s-2.3.8-3.8.8v-2.3a8.3 8.3 0 003.8-.8c1-.5 2.3-.8 3.7-.8 1.4 0 2.7.3 3.7.7a8.4 8.4 0 007.5 0c1-.4 2.3-.7 3.8-.7 1.4 0 2.7.3 3.7.8s2.2.8 3.7.8v2.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M149.6 329a8.1 8.1 0 01-3.7-.8c-1-.5-2.3-.8-3.7-.8a8.4 8.4 0 00-3.8.8c-1 .5-2.3.8-3.8.8a7 7 0 01-3.7-.9 8.4 8.4 0 00-3.7-.7c-1.4 0-2.7.3-3.7.8s-2.3.8-3.8.8v-2.3a8.3 8.3 0 003.8-.8c1-.5 2.3-.8 3.7-.8 1.4 0 2.7.3 3.7.7a8.4 8.4 0 007.5 0c1-.4 2.3-.7 3.8-.7 1.4 0 2.7.3 3.7.8s2.2.8 3.7.8v2.3z"/>
<path fill="#c8b100" d="M126.2 308l.2.5c0 1.5-1.3 2.6-2.7 2.6h22a2.7 2.7 0 01-2.7-2.6v-.5a1.3 1.3 0 01-.3 0h-16a1.4 1.4 0 01-.5 0"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M126.2 308l.2.5c0 1.5-1.3 2.6-2.7 2.6h22a2.7 2.7 0 01-2.7-2.6v-.5a1.3 1.3 0 01-.3 0h-16a1.4 1.4 0 01-.5 0z"/>
<path fill="#c8b100" d="M126.6 306.5h16c.6 0 1 .3 1 .8 0 .4-.4.7-1 .7h-16c-.5 0-1-.3-1-.8 0-.4.5-.7 1-.7"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M126.6 306.5h16c.6 0 1 .3 1 .8 0 .4-.4.7-1 .7h-16c-.5 0-1-.3-1-.8 0-.4.5-.7 1-.7z"/>
<path fill="#c8b100" d="M123.7 316.7h22V311h-22v5.6z"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M123.7 316.7h22V311h-22v5.6z"/>
<path fill="#ad1519" d="M122 286.7c-2.2 1.2-3.7 2.5-3.4 3.2 0 .6.8 1 1.8 1.6 1.5 1.1 2.5 3 1.7 4a5.5 5.5 0 00-.1-8.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M122 286.7c-2.2 1.2-3.7 2.5-3.4 3.2 0 .6.8 1 1.8 1.6 1.5 1.1 2.5 3 1.7 4a5.5 5.5 0 00-.1-8.8z"/>
<path fill="#ccc" d="M126.8 305.6h15.6V229h-15.6v76.5z"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M138 229.2v76.3m1.7-76.3v76.3m-12.9 0h15.6v-76.4h-15.6v76.5z"/>
<path fill="#ad1519" d="M158.4 257.7a49.6 49.6 0 00-23.3-2c-9.4 1.6-16.5 5.3-15.9 8.4v.2l-3.5-8.2c-.6-3.3 7.2-7.5 17.6-9.2a43 43 0 019.2-.7c6.6 0 12.4.8 15.8 2.1v9.4"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M158.4 257.7a49.6 49.6 0 00-23.3-2c-9.4 1.6-16.5 5.3-15.9 8.4v.2l-3.5-8.2c-.6-3.3 7.2-7.5 17.6-9.2a43 43 0 019.2-.7c6.6 0 12.4.8 15.8 2.1v9.4"/>
<path fill="#ad1519" d="M126.8 267.3c-4.3-.3-7.3-1.4-7.6-3.2-.3-1.5 1.2-3 3.8-4.5 1.2.1 2.5.3 3.8.3v7.4"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M126.8 267.3c-4.3-.3-7.3-1.4-7.6-3.2-.3-1.5 1.2-3 3.8-4.5 1.2.1 2.5.3 3.8.3v7.4"/>
<path fill="#ad1519" d="M142.5 261.5c2.7.4 4.7 1 5.7 1.9l.1.2c.5 1-1.9 3-5.9 5.4v-7.5"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M142.5 261.5c2.7.4 4.7 1 5.7 1.9l.1.2c.5 1-1.9 3-5.9 5.4v-7.5"/>
<path fill="#ad1519" d="M117.1 282c-.4-1.2 3.8-3.6 9.8-5.8l7.8-3.2c8.3-3.7 14.4-7.9 13.6-9.4v-.2c.4.4 1 8 1 8 .8 1.3-4.8 5.5-12.4 9.1-2.5 1.2-7.6 3-10 4-4.4 1.4-8.7 4.3-8.3 5.3l-1.5-7.7"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M117.1 282c-.4-1.2 3.8-3.6 9.8-5.8l7.8-3.2c8.3-3.7 14.4-7.9 13.6-9.4v-.2c.4.4 1 8 1 8 .8 1.3-4.8 5.5-12.4 9.1-2.5 1.2-7.6 3-10 4-4.4 1.4-8.7 4.3-8.3 5.3l-1.5-7.7z"/>
<path fill="#c8b100" d="M125.8 254c1.9-.6 3.1-1.5 2.5-3-.4-1-1.4-1-2.8-.6l-2.6 1 2.3 5.8.8-.3.8-.3-1-2.5zm-1.2-2.7l.7-.3c.5-.2 1.2.1 1.4.8.2.5.2 1-.5 1.5a4.4 4.4 0 01-.6.3l-1-2.3m7.3-2.5l-.9.3h-.8l1.3 6.1 4.3-.8-.2-.4v-.4l-2.5.6-1.2-5.3m8.4 5.2c.8-2.2 1.7-4.3 2.7-6.4a5.3 5.3 0 01-1 0 54.8 54.8 0 01-1.8 4.6l-2.4-4.3-1 .1h-1a131.4 131.4 0 013.5 6h1m8.8-4.7l.4-.9a3.4 3.4 0 00-1.7-.6c-1.7-.1-2.7.6-2.8 1.7-.2 2.1 3.2 2 3 3.4 0 .6-.7.9-1.4.8-.8 0-1.4-.5-1.4-1.2h-.3a7.3 7.3 0 01-.4 1.1 4 4 0 001.8.6c1.7.2 3-.5 3.2-1.7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.9"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M276.5 207.6c0-1 .6-2 1.3-2 .8 0 1.3 1 1.3 2s-.5 1.8-1.3 1.8c-.7 0-1.3-.8-1.3-1.9z"/>
<path fill="#c8b100" d="M277.3 207.6c0-1 .2-1.8.5-1.8.4 0 .7.8.7 1.8s-.3 1.7-.6 1.7c-.4 0-.6-.8-.6-1.8"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M277.3 207.6c0-1 .2-1.8.5-1.8.4 0 .7.8.7 1.8s-.3 1.7-.6 1.7c-.4 0-.6-.8-.6-1.8z"/>
<path fill="#c8b100" d="M271 215.3a4.5 4.5 0 00-.5-1 27.4 27.4 0 0114.8 0l-.6.8a5.2 5.2 0 00-.3.8 22.9 22.9 0 00-6.6-.8c-2.6 0-5.2.3-6.6.8l-.2-.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M271 215.3a4.5 4.5 0 00-.5-1 27.4 27.4 0 0114.8 0l-.6.8a5.2 5.2 0 00-.3.8 22.9 22.9 0 00-6.6-.8c-2.6 0-5.2.3-6.6.8l-.2-.6"/>
<path fill="#c8b100" d="M277.8 217.7c2.4 0 5-.4 5.9-.6.6-.2 1-.5 1-.8 0-.2-.2-.3-.4-.4a24.1 24.1 0 00-6.5-.8c-2.5 0-5 .3-6.4.8-.2 0-.3.2-.4.3 0 .4.3.7 1 .9 1 .2 3.5.6 5.8.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M277.8 217.7c2.4 0 5-.4 5.9-.6.6-.2 1-.5 1-.8 0-.2-.2-.3-.4-.4a24.1 24.1 0 00-6.5-.8c-2.5 0-5 .3-6.4.8-.2 0-.3.2-.4.3 0 .4.3.7 1 .9 1 .2 3.5.6 5.8.6z"/>
<path fill="#fff" d="M283.5 208.4c0-.2.2-.4.4-.4s.5.2.5.4-.2.4-.5.4a.4.4 0 01-.4-.4"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M283.5 208.4c0-.2.2-.4.4-.4s.5.2.5.4-.2.4-.5.4a.4.4 0 01-.4-.4zm-.2-1.4a.4.4 0 01.4-.4c.2 0 .4.1.4.4s-.2.4-.4.4a.4.4 0 01-.4-.4zm-1.1-1c0-.2.2-.3.4-.3s.4.1.4.4c0 .2-.2.4-.4.4a.4.4 0 01-.4-.5zm-1.4-.4c0-.2.2-.4.4-.4.3 0 .5.2.5.4s-.2.4-.4.4-.5-.2-.5-.4zm-1.4 0c0-.2.2-.3.5-.3s.4.1.4.4c0 .2-.2.4-.4.4a.4.4 0 01-.5-.4z"/>
<path fill="none" stroke="#000" stroke-linecap="round" stroke-width=".3" d="M287.8 211.2l.2-1a2.7 2.7 0 00-2.7-2.8c-.5 0-1 .1-1.3.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M283 209.2l.2-.8c0-1.1-1.1-2-2.5-2-.6 0-1.2.2-1.6.4"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M288.2 210c0-.3.2-.5.4-.5s.4.2.4.4c0 .3-.2.4-.4.4s-.4-.1-.4-.4zm-.2-1.6c0-.2.2-.4.4-.4a.4.4 0 01.5.4c0 .2-.2.4-.4.4-.3 0-.5-.2-.5-.4zm-1-1.1a.4.4 0 01.5-.4c.2 0 .4.1.4.4a.4.4 0 01-.4.4.4.4 0 01-.5-.4zm-1.3-.7c0-.2.2-.4.5-.4s.4.2.4.4c0 .3-.2.5-.4.5a.4.4 0 01-.5-.5zm-1.4.1c0-.2.2-.4.5-.4s.4.2.4.4-.2.4-.4.4-.5-.2-.5-.4z"/>
<path fill="#c8b100" d="M285.3 213.2l-.5-.5s-.6.3-1.3.2c-.6 0-.9-1-.9-1s-.7.7-1.3.7c-.7 0-1-.6-1-.6s-.7.5-1.3.4c-.6 0-1.2-.8-1.2-.8s-.6.8-1.2.8c-.6.1-1-.5-1-.5s-.3.6-1.1.7-1.4-.6-1.4-.6-.4.7-1 1c-.5 0-1.2-.4-1.2-.4l-.1.5-.3.1.1.5a27 27 0 017.3-.9c2.8 0 5.4.4 7.3 1l.2-.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M285.3 213.2l-.5-.5s-.6.3-1.3.2c-.6 0-.9-1-.9-1s-.7.7-1.3.7c-.7 0-1-.6-1-.6s-.7.5-1.3.4c-.6 0-1.2-.8-1.2-.8s-.6.8-1.2.8c-.6.1-1-.5-1-.5s-.3.6-1.1.7-1.4-.6-1.4-.6-.4.7-1 1c-.5 0-1.2-.4-1.2-.4l-.1.5-.3.1.1.5a27 27 0 017.3-.9c2.8 0 5.4.4 7.3 1l.2-.6z"/>
<path fill="#fff" d="M271.3 208.4c0-.2.2-.4.4-.4s.4.2.4.4a.4.4 0 01-.4.4.4.4 0 01-.4-.4"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M271.3 208.4c0-.2.2-.4.4-.4s.4.2.4.4a.4.4 0 01-.4.4.4.4 0 01-.4-.4zm.2-1.4c0-.3.2-.4.4-.4s.5.1.5.4-.2.4-.5.4a.4.4 0 01-.4-.4zm1-1c0-.2.3-.3.5-.3s.5.1.5.4c0 .2-.2.4-.5.4a.4.4 0 01-.4-.5zm1.4-.4c0-.2.2-.4.5-.4s.4.2.4.4-.2.4-.4.4-.5-.2-.5-.4zm1.4 0c0-.2.2-.3.5-.3.2 0 .4.1.4.4 0 .2-.2.4-.4.4a.4.4 0 01-.5-.4z"/>
<path fill="none" stroke="#000" stroke-linecap="round" stroke-width=".3" d="M267.8 211.2a2.8 2.8 0 01-.2-1 2.7 2.7 0 012.7-2.8c.5 0 1 .1 1.4.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M272.7 209.2a1.7 1.7 0 01-.3-.8c0-1 1.2-2 2.6-2a3 3 0 011.5.4"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M266.6 210c0-.3.2-.5.4-.5.3 0 .4.2.4.4a.4.4 0 01-.4.4c-.2 0-.4-.1-.4-.4zm.1-1.6c0-.2.3-.4.5-.4s.4.2.4.4-.2.4-.4.4-.4-.2-.4-.4zm1-1.1c0-.3.2-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c.4 0 .7-.2.9-.5l.2-.2v.3c0 .3.1.6.4.7 0 0 .4 0 1-.4s.7-.7.7-.7v.4s-.5.8-1 1c-.2.2-.5.4-.8.3-.3 0-.6-.3-.7-.6a1.5 1.5 0 01-.7.2c-.6 0-1.2-.3-1.4-.8a1.5 1.5 0 01-1.1.5c-.5 0-1-.2-1.2-.6a1.5 1.5 0 01-1 .4c-.6 0-1-.2-1.4-.6-.2.4-.7.6-1.2.6-.4 0-.8-.1-1-.4a1.6 1.6 0 01-1.3.6c-.4 0-.8-.2-1.1-.5-.2.5-.8.8-1.4.8-.2 0-.5 0-.7-.2-.1.3-.4.6-.7.6-.3 0-.6 0-.9-.2a4.2 4.2 0 01-1-1l.1-.5.8.7c.5.4.9.4.9.4.3 0 .4-.4.4-.7v-.3l.2.2c.2.3.5.5.9.5a1 1 0 001-1 1 1 0 000-.4v-.5l.4.4v.1c0 .6.5 1 1 1 .6 0 1-.3 1.1-.9v-.3l.2.3c.2.4.6.7 1 .7.6 0 1.1-.4 1.1-1a1 1 0 000-.3h.2z"/>
<path fill="#c8b100" d="M277.8 213.3c-2.9 0-5.5.4-7.3 1l-.3-.2.1-.3c2-.6 4.6-1 7.5-1 3 0 5.7.4 7.6 1 0 0 .2.2.1.3l-.3.2a27 27 0 00-7.4-1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M277.8 213.3c-2.9 0-5.5.4-7.3 1l-.3-.2.1-.3c2-.6 4.6-1 7.5-1 3 0 5.7.4 7.6 1 0 0 .2.2.1.3l-.3.2a27 27 0 00-7.4-1z"/>
<path fill="#fff" d="M275 214.4c0-.3.2-.4.5-.4a.4.4 0 01.4.4.4.4 0 01-.4.4c-.3 0-.5-.2-.5-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M275 214.4c0-.3.2-.4.5-.4a.4.4 0 01.4.4.4.4 0 01-.4.4c-.3 0-.5-.2-.5-.4z"/>
<path fill="#ad1519" d="M277.9 214.5h-1c-.1 0-.3 0-.3-.3l.3-.3h2a.3.3 0 01.2.3.3.3 0 01-.3.3h-1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M277.9 214.5h-1c-.1 0-.3 0-.3-.3l.3-.3h2a.3.3 0 01.2.3.3.3 0 01-.3.3h-1"/>
<path fill="#058e6e" d="M273.2 214.9h-.6a.3.3 0 01-.4-.2.3.3 0 01.3-.3l.6-.1.7-.1c.2 0 .3 0 .4.2a.3.3 0 01-.3.4h-.7"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M273.2 214.9h-.6a.3.3 0 01-.4-.2.3.3 0 01.3-.3l.6-.1.7-.1c.2 0 .3 0 .4.2a.3.3 0 01-.3.4h-.7"/>
<path fill="#ad1519" d="M270.5 215.3l.3-.4h.7l-.4.6-.6-.2"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M270.5 215.3l.3-.4h.7l-.4.6-.6-.2"/>
<path fill="#fff" d="M279.8 214.4c0-.3.2-.4.4-.4.3 0 .5.1.5.4 0 .2-.2.4-.5.4a.4.4 0 01-.4-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M279.8 214.4c0-.3.2-.4.4-.4.3 0 .5.1.5.4 0 .2-.2.4-.5.4a.4.4 0 01-.4-.4z"/>
<path fill="#058e6e" d="M282.5 214.9h.7a.3.3 0 00.3-.2.3.3 0 00-.2-.3l-.7-.1-.7-.1c-.2 0-.3 0-.4.2 0 .2.1.3.3.4h.7"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M282.5 214.9h.7a.3.3 0 00.3-.2.3.3 0 00-.2-.3l-.7-.1-.7-.1c-.2 0-.3 0-.4.2 0 .2.1.3.3.4h.7"/>
<path fill="#ad1519" d="M285.1 215.4l-.2-.5h-.7l.3.6.6-.1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M285.1 215.4l-.2-.5h-.7l.3.6.6-.1"/>
<path fill="#ad1519" d="M277.8 217.1a25 25 0 01-6-.6 25.4 25.4 0 016-.7c2.4 0 4.5.3 6.1.7-1.6.4-3.7.6-6 .6"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M277.8 217.1a25 25 0 01-6-.6 25.4 25.4 0 016-.7c2.4 0 4.5.3 6.1.7-1.6.4-3.7.6-6 .6z"/>
<path fill="#c8b100" d="M285.2 212l-.1-.3c-.2 0-.3 0-.4.2l.1.4c.2 0 .3 0 .4-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M285.2 212l-.1-.3c-.2 0-.3 0-.4.2l.1.4c.2 0 .3 0 .4-.3z"/>
<path fill="#c8b100" d="M280.6 211.2c0-.2-.1-.4-.3-.4 0 0-.2.1-.2.3 0 .2 0 .4.2.4l.3-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M280.6 211.2c0-.2-.1-.4-.3-.4 0 0-.2.1-.2.3 0 .2 0 .4.2.4l.3-.3z"/>
<path fill="#c8b100" d="M275.2 211.2c0-.2 0-.4.2-.4l.3.3-.2.4c-.2 0-.3-.2-.3-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M275.2 211.2c0-.2 0-.4.2-.4l.3.3-.2.4c-.2 0-.3-.2-.3-.3z"/>
<path fill="#c8b100" d="M270.5 212l.1-.3c.2 0 .3 0 .4.2l-.1.4c-.2 0-.3 0-.4-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M270.5 212l.1-.3c.2 0 .3 0 .4.2l-.1.4c-.2 0-.3 0-.4-.3z"/>
<path fill="#c8b100" d="M277.8 208.5l-.8.5.6 1.3.2.1.3-.1.6-1.3-.9-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M277.8 208.5l-.8.5.6 1.3.2.1.3-.1.6-1.3-.9-.5"/>
<path fill="#c8b100" d="M276 210.5l.4.5 1.3-.4.1-.2-.1-.2-1.3-.3-.4.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M276 210.5l.4.5 1.3-.4.1-.2-.1-.2-1.3-.3-.4.6"/>
<path fill="#c8b100" d="M279.6 210.5l-.3.5-1.3-.4-.1-.2v-.2l1.4-.3.4.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M279.6 210.5l-.3.5-1.3-.4-.1-.2v-.2l1.4-.3.4.6"/>
<path fill="#c8b100" d="M272.5 209l-.7.7.9 1 .2.1.2-.1.2-1.3-.8-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M272.5 209l-.7.7.9 1 .2.1.2-.1.2-1.3-.8-.3"/>
<path fill="#c8b100" d="M271.1 211.2l.5.5 1.2-.6v-.2l-.1-.2-1.3-.1-.3.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M271.1 211.2l.5.5 1.2-.6v-.2l-.1-.2-1.3-.1-.3.6"/>
<path fill="#c8b100" d="M274.7 210.5l-.3.6h-1.3l-.2-.2.1-.3 1.2-.6.5.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M274.7 210.5l-.3.6h-1.3l-.2-.2.1-.3 1.2-.6.5.5"/>
<path fill="#c8b100" d="M269.8 211.4v.6l-1.4.2-.2-.1v-.2l1-.9.6.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M269.8 211.4v.6l-1.4.2-.2-.1v-.2l1-.9.6.4"/>
<path fill="#c8b100" d="M272.4 210.9c0-.3.2-.5.5-.5a.5.5 0 01.5.5.5.5 0 01-.5.4.5.5 0 01-.5-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M272.4 210.9c0-.3.2-.5.5-.5a.5.5 0 01.5.5.5.5 0 01-.5.4.5.5 0 01-.5-.4z"/>
<path fill="#c8b100" d="M283.2 209l.7.7-.9 1-.2.1-.1-.1-.3-1.3.8-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M283.2 209l.7.7-.9 1-.2.1-.1-.1-.3-1.3.8-.3"/>
<path fill="#c8b100" d="M284.6 211.2l-.5.5-1.2-.6v-.2l.1-.2 1.3-.1.3.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M284.6 211.2l-.5.5-1.2-.6v-.2l.1-.2 1.3-.1.3.6"/>
<path fill="#c8b100" d="M281 210.5l.3.6h1.3l.2-.2-.1-.3-1.2-.6-.5.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M281 210.5l.3.6h1.3l.2-.2-.1-.3-1.2-.6-.5.5"/>
<path fill="#c8b100" d="M285.7 211.4v.6l1.4.2.2-.1v-.2l-1-.9-.6.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M285.7 211.4v.6l1.4.2.2-.1v-.2l-1-.9-.6.4"/>
<path fill="#c8b100" d="M277.4 210.4c0-.2.2-.4.5-.4.2 0 .4.2.4.4 0 .3-.2.5-.4.5a.5.5 0 01-.5-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M277.4 210.4c0-.2.2-.4.5-.4.2 0 .4.2.4.4 0 .3-.2.5-.4.5a.5.5 0 01-.5-.5z"/>
<path fill="#c8b100" d="M282.3 210.9c0-.3.3-.5.5-.5.3 0 .5.2.5.5s-.2.4-.5.4a.5.5 0 01-.5-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M282.3 210.9c0-.3.3-.5.5-.5.3 0 .5.2.5.5s-.2.4-.5.4a.5.5 0 01-.5-.4z"/>
<path fill="#c8b100" d="M277 205.4c0-.5.4-.8.8-.8s1 .3 1 .8-.5.8-1 .8a.9.9 0 01-.8-.8"/>
<path fill="#c8b100" d="M278.5 205.1v.6H277v-.6h.4v-1.3h-.5v-.5h.5v-.6h.6v.6h.6v.6h-.6v1.2h.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M278.5 205.1v.6H277v-.6h.4v-1.3h-.5v-.5h.5v-.6h.6v.6h.6v.6h-.6v1.2h.4z"/>
<path fill="#c8b100" d="M279 205.1v.6h-2.4v-.6h1v-1.3h-.7v-.5h.6v-.6h.6v.6h.6v.6h-.6v1.2h1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M278.1 204.6c.4 0 .6.4.6.8 0 .5-.4.8-.9.8a.9.9 0 01-.8-.8c0-.4.2-.7.6-.8"/>
<path fill="#c8b100" d="M268 212.2l-.6-.7a2.3 2.3 0 00-.7-.3c0-.1.3-.3.6-.3.2 0 .3 0 .4.2v-.2s.3 0 .4.3v1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M268 212.2l-.6-.7a2.3 2.3 0 00-.7-.3c0-.1.3-.3.6-.3.2 0 .3 0 .4.2v-.2s.3 0 .4.3v1z"/>
<path fill="#c8b100" d="M268 212c.1-.2.4-.2.5 0 .2.1.3.3.1.5l-.5-.1c-.1-.1-.2-.4 0-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M268 212c.1-.2.4-.2.5 0 .2.1.3.3.1.5l-.5-.1c-.1-.1-.2-.4 0-.5z"/>
<path fill="#c8b100" d="M287.5 212.2l.6-.7c.2-.2.7-.3.7-.3 0-.1-.3-.3-.6-.3a.6.6 0 00-.4.2v-.2s-.3 0-.4.3v.7l.1.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M287.5 212.2l.6-.7c.2-.2.7-.3.7-.3 0-.1-.3-.3-.6-.3a.6.6 0 00-.4.2v-.2s-.3 0-.4.3v.7l.1.3z"/>
<path fill="#c8b100" d="M287.5 212c-.1-.2-.3-.2-.5 0-.2.1-.2.3-.1.5l.5-.1c.2-.1.2-.4.1-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M287.5 212c-.1-.2-.3-.2-.5 0-.2.1-.2.3-.1.5l.5-.1c.2-.1.2-.4.1-.5z"/>
<path fill="#c8b100" d="M267.2 223h21.4v-5.5h-21.4v5.6z"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M267.2 223h21.4v-5.5h-21.4v5.6z"/>
<path fill="#c8b100" d="M286.3 226.8a1 1 0 00-.4 0h-16.5c.6-.2 1-.7 1-1.2 0-.6-.4-1.1-1-1.3h17-.1c-.6.2-1 .7-1 1.3 0 .5.4 1 1 1.2"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M286.3 226.8a1 1 0 00-.4 0h-16.5c.6-.2 1-.7 1-1.2 0-.6-.4-1.1-1-1.3h17-.1c-.6.2-1 .7-1 1.3 0 .5.4 1 1 1.2z"/>
<path fill="#c8b100" d="M269.9 226.8h16c.6 0 1 .3 1 .7 0 .4-.4.8-1 .8h-16c-.6 0-1-.4-1-.8s.5-.8 1-.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M269.9 226.8h16c.6 0 1 .3 1 .7 0 .4-.4.8-1 .8h-16c-.6 0-1-.4-1-.8s.5-.8 1-.8z"/>
<path fill="#c8b100" d="M269.9 223h16c.6 0 1 .4 1 .7 0 .4-.4.6-1 .6h-16c-.6 0-1-.2-1-.6 0-.3.4-.6 1-.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M269.9 223h16c.6 0 1 .4 1 .7 0 .4-.4.6-1 .6h-16c-.6 0-1-.2-1-.6 0-.3.4-.6 1-.6z"/>
<path fill="#005bbf" d="M263 317.4c1.4 0 2.7-.3 3.7-.8a8.4 8.4 0 013.7-.8c1.4 0 2.8.3 3.8.8s2.3.8 3.7.8c1.5 0 2.8-.3 3.8-.8a8.4 8.4 0 013.6-.8 8 8 0 013.7.8c1 .5 2.4.8 3.8.8v2.4a8.3 8.3 0 01-3.8-.9 8.2 8.2 0 00-3.7-.8c-1.4 0-2.7.3-3.6.8-1 .5-2.3.9-3.8.9a8 8 0 01-3.7-.9 8.4 8.4 0 00-3.8-.8 8.3 8.3 0 00-3.7.8c-1 .5-2.3.9-3.8.9v-2.4"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M263 317.4c1.4 0 2.7-.3 3.7-.8a8.4 8.4 0 013.7-.8c1.4 0 2.8.3 3.8.8s2.3.8 3.7.8c1.5 0 2.8-.3 3.8-.8a8.4 8.4 0 013.6-.8 8 8 0 013.7.8c1 .5 2.4.8 3.8.8v2.4a8.3 8.3 0 01-3.8-.9 8.2 8.2 0 00-3.7-.8c-1.4 0-2.7.3-3.6.8-1 .5-2.3.9-3.8.9a8 8 0 01-3.7-.9 8.4 8.4 0 00-3.8-.8 8.3 8.3 0 00-3.7.8c-1 .5-2.3.9-3.8.9v-2.4z"/>
<path fill="#ccc" d="M263 319.8c1.4 0 2.7-.4 3.7-.9s2.3-.8 3.7-.8c1.4 0 2.8.3 3.8.8s2.3.9 3.7.9a8.2 8.2 0 003.8-.9 8.4 8.4 0 013.6-.8c1.5 0 2.8.3 3.7.8 1 .5 2.4.9 3.8.9v2.3a8.3 8.3 0 01-3.8-.9 8.1 8.1 0 00-3.7-.7c-1.4 0-2.7.2-3.6.7-1 .5-2.3.9-3.8.9a7 7 0 01-3.7-.9c-1-.4-2.3-.7-3.8-.7a8.3 8.3 0 00-3.7.7 8.1 8.1 0 01-3.8.9v-2.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M263 319.8c1.4 0 2.7-.4 3.7-.9s2.3-.8 3.7-.8c1.4 0 2.8.3 3.8.8s2.3.9 3.7.9a8.2 8.2 0 003.8-.9 8.4 8.4 0 013.6-.8c1.5 0 2.8.3 3.7.8 1 .5 2.4.9 3.8.9v2.3a8.3 8.3 0 01-3.8-.9 8.1 8.1 0 00-3.7-.7c-1.4 0-2.7.2-3.6.7-1 .5-2.3.9-3.8.9a7 7 0 01-3.7-.9c-1-.4-2.3-.7-3.8-.7a8.3 8.3 0 00-3.7.7 8.1 8.1 0 01-3.8.9v-2.3"/>
<path fill="#005bbf" d="M263 322c1.4 0 2.7-.2 3.7-.8 1-.4 2.3-.7 3.7-.7 1.4 0 2.8.2 3.8.7s2.3.9 3.7.9a8.2 8.2 0 003.8-.9 8.4 8.4 0 013.6-.8 8 8 0 013.7.8c1 .5 2.4.9 3.8.9v2.3a8.3 8.3 0 01-3.8-.9 8.2 8.2 0 00-3.7-.7c-1.4 0-2.7.3-3.6.7-1 .6-2.3.9-3.8.9-1.4 0-2.8-.3-3.7-.8a8.4 8.4 0 00-3.8-.8 8.3 8.3 0 00-3.7.8c-1 .5-2.3.8-3.8.8V322"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M263 322c1.4 0 2.7-.2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4 0 013.6-.7c1.5 0 2.8.3 3.7.8 1 .5 2.4.8 3.8.8v-2.3a8.3 8.3 0 01-3.8-.8 8.2 8.2 0 00-3.7-.8 8.4 8.4 0 00-3.6.7 8.2 8.2 0 01-3.8.9c-1.4 0-2.8-.3-3.7-.8-1-.5-2.3-.8-3.8-.8-1.4 0-2.7.3-3.7.8s-2.3.8-3.8.8v2.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M263 329a8.1 8.1 0 003.7-.8c1-.5 2.3-.8 3.7-.8 1.4 0 2.8.3 3.8.8s2.3.8 3.7.8a8.2 8.2 0 003.8-.9 8.4 8.4 0 013.6-.7c1.5 0 2.8.3 3.7.8 1 .5 2.4.8 3.8.8v-2.3a8.3 8.3 0 01-3.8-.8 8.2 8.2 0 00-3.7-.8 8.4 8.4 0 00-3.6.7 8.2 8.2 0 01-3.8.9c-1.4 0-2.8-.3-3.7-.8-1-.5-2.3-.8-3.8-.8-1.4 0-2.7.3-3.7.8s-2.3.8-3.8.8v2.3z"/>
<path fill="#c8b100" d="M286.3 308l-.1.5c0 1.5 1.2 2.6 2.7 2.6h-22c1.5 0 2.7-1.2 2.7-2.6l-.1-.5h16.8"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M286.3 308l-.1.5c0 1.5 1.2 2.6 2.7 2.6h-22c1.5 0 2.7-1.2 2.7-2.6l-.1-.5h16.8z"/>
<path fill="#c8b100" d="M269.9 306.5h16c.6 0 1 .3 1 .8 0 .4-.4.7-1 .7h-16c-.6 0-1-.3-1-.8 0-.4.5-.7 1-.7"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M269.9 306.5h16c.6 0 1 .3 1 .8 0 .4-.4.7-1 .7h-16c-.6 0-1-.3-1-.8 0-.4.5-.7 1-.7z"/>
<path fill="#c8b100" d="M266.9 316.7h22V311h-22v5.6z"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M266.9 316.7h22V311h-22v5.6z"/>
<path fill="#ad1519" d="M290.6 286.7c2.1 1.2 3.6 2.5 3.4 3.2-.1.6-.8 1-1.8 1.6-1.6 1.1-2.5 3-1.8 4a5.5 5.5 0 01.2-8.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M290.6 286.7c2.1 1.2 3.6 2.5 3.4 3.2-.1.6-.8 1-1.8 1.6-1.6 1.1-2.5 3-1.8 4a5.5 5.5 0 01.2-8.8z"/>
<path fill="#ccc" d="M270.1 305.6h15.6V229h-15.6v76.5z"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M281.4 229.1v76.3m1.8-76.3v76.3m-13 .2h15.5V229h-15.6v76.5z"/>
<path fill="#ad1519" d="M254.2 257.7a49.6 49.6 0 0123.3-2c9.3 1.6 16.4 5.3 15.9 8.4v.2l3.5-8.2c.6-3.3-7.3-7.5-17.6-9.2a53.5 53.5 0 00-9.2-.7c-6.7 0-12.4.8-15.9 2.1v9.4"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M254.2 257.7a49.6 49.6 0 0123.3-2c9.3 1.6 16.4 5.3 15.9 8.4v.2l3.5-8.2c.6-3.3-7.3-7.5-17.6-9.2a53.5 53.5 0 00-9.2-.7c-6.7 0-12.4.8-15.9 2.1v9.4"/>
<path fill="#ad1519" d="M285.7 267.3c4.4-.3 7.3-1.4 7.7-3.2.2-1.5-1.2-3-3.8-4.5-1.2.1-2.5.3-3.9.3v7.4"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M285.7 267.3c4.4-.3 7.3-1.4 7.7-3.2.2-1.5-1.2-3-3.8-4.5-1.2.1-2.5.3-3.9.3v7.4"/>
<path fill="#ad1519" d="M270 261.5a13 13 0 00-5.7 1.9v.2c-.5 1 1.8 3 5.8 5.4v-7.5"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M270 261.5a13 13 0 00-5.7 1.9v.2c-.5 1 1.8 3 5.8 5.4v-7.5"/>
<path fill="#ad1519" d="M295.4 282c.4-1.2-3.8-3.6-9.7-5.8-2.8-1-5-2-7.8-3.2-8.3-3.7-14.4-7.9-13.6-9.4v-.2c-.4.4-1 8-1 8-.8 1.3 4.8 5.5 12.4 9.1 2.4 1.2 7.6 3 10 4 4.3 1.4 8.7 4.3 8.3 5.3l1.4-7.7"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M295.4 282c.4-1.2-3.8-3.6-9.7-5.8-2.8-1-5-2-7.8-3.2-8.3-3.7-14.4-7.9-13.6-9.4v-.2c-.4.4-1 8-1 8-.8 1.3 4.8 5.5 12.4 9.1 2.4 1.2 7.6 3 10 4 4.3 1.4 8.7 4.3 8.3 5.3l1.4-7.7z"/>
<path fill="#c8b100" d="M263.9 254.4c.6-2.3 1.4-4.4 2.1-6.6h-.5a5.2 5.2 0 01-.5.1 52.8 52.8 0 01-1.4 4.8c-1-1.4-2-2.7-2.7-4.1l-1 .2h-1a131.3 131.3 0 014 5.7h.5l.5-.1m6-6.6h-1a8 8 0 01-.8 0v6.2h4.2v-.7h-2.6l.1-5.5m6.8 1l2 .3v-.7l-5.8-.5v.8a19.3 19.3 0 012 0l-.4 5.6h1.6l.5-5.4m2.4 6c.3 0 .5 0 .8.2l.8.2.7-2.9.6 1.2.8 2.1 1 .2c.4 0 .7.2 1 .3l-.3-.7c-.4-1-1-1.9-1.3-2.9 1 0 1.9-.3 2.1-1.2.1-.6 0-1-.7-1.5-.4-.3-1.2-.4-1.7-.5l-2.4-.5-1.4 6m3-5.2c.7.2 1.5.3 1.5 1v.5c-.3.9-1 1.2-2 .9l.5-2.4m8 7l-.2 2 .8.5.9.5.5-7a3.4 3.4 0 01-.7-.3l-6.1 3.8.5.3.4.2 1.7-1.2 2.3 1.3zm-1.7-1.5l2-1.4-.2 2.3-1.8-1"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M182.2 192.4c0-1 1-2 2-2s2.2 1 2.2 2c0 1.1-1 2-2.1 2a2 2 0 01-2.1-2z"/>
<path fill="#ad1519" stroke="#000" stroke-width=".3" d="M205.7 175.4c6.3 0 12 1 15.7 2.4a31.7 31.7 0 0014.6 2.3c2.7 0 6.5.8 10.3 2.4a27.3 27.3 0 017.4 4.7l-1.5 1.4-.4 3.8-4.1 4.7-2 1.8-5 3.9-2.5.2-.7 2.1-31.6-3.7-31.7 3.7-.8-2.1-2.5-.2-4.9-4-2-1.7-4.1-4.7-.5-3.8-1.5-1.4a27.6 27.6 0 017.5-4.7 26 26 0 0110.2-2.4c2 .2 4.2.1 6.6-.2a30 30 0 008-2c3.7-1.5 9-2.5 15.5-2.5z"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M206.2 217.1c-11.8 0-22.4-1.4-29.9-3.6a1.1 1.1 0 01-.8-1.2c0-.5.3-1 .8-1.2a109 109 0 0129.9-3.6c11.7 0 22.3 1.4 29.8 3.6a1.3 1.3 0 010 2.4c-7.5 2.2-18 3.6-29.8 3.6"/>
<path fill="#ad1519" d="M206.1 215.6c-10.6 0-20.2-1.2-27.5-3.1 7.3-2 16.9-3 27.5-3.1a115 115 0 0127.6 3c-7.3 2-17 3.2-27.6 3.2"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M206.9 215.7v-6.3m-1.7 6.3v-6.3"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M203.6 215.7v-6.3m-1.6 6.3v-6.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M200.6 215.7v-6.3m-2.8 5.9v-5.7m1.3 5.8v-6m-3.8 5.6v-5.2m1.3 5.4v-5.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M192 214.8V210m1 4.7V210m1.2 5v-5m-3.4 4.7v-4.5"/>
<path fill="none" stroke="#000" stroke-width=".5" d="M189.7 214.5v-4.2m-1.2 4.1v-4"/>
<path fill="none" stroke="#000" stroke-width=".6" d="M186 214v-3m1.3 3.2v-3.5m-2.5 3.1V211"/>
<path fill="none" stroke="#000" stroke-width=".7" d="M183.7 213.6v-2.3m-1.3 2v-1.8m-1.2 1.6v-1.3"/>
<path fill="none" stroke="#000" stroke-width=".9" d="M179.8 212.8v-.7"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M213.7 215.3v-5.8m-2.9 6v-6.1m-2.1 6.2v-6.3"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M206 207.4a108 108 0 00-30 3.9c.6-.3.5-1-.3-3-1-2.5-2.4-2.4-2.4-2.4 8.3-2.5 20-4 32.8-4a123 123 0 0133 4s-1.5-.1-2.5 2.3c-.8 2-.8 2.8-.2 3-7.5-2.2-18.4-3.7-30.3-3.7"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M206.1 201.9c-12.9 0-24.5 1.5-32.8 4a1 1 0 01-1.3-.6 1 1 0 01.7-1.3 121 121 0 0133.4-4.2c13.2 0 25.2 1.7 33.5 4.2.6.2.9.8.7 1.3-.2.5-.8.8-1.3.6-8.4-2.5-20-4-32.9-4"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".4" d="M206.1 215.6c-10.6 0-20.2-1.2-27.5-3.1 7.3-2 16.9-3 27.5-3.1a115 115 0 0127.6 3c-7.3 2-17 3.2-27.6 3.2z"/>
<path fill="#fff" stroke="#000" stroke-width=".4" d="M197 204.8c0-.5.4-1 1-1 .5 0 1 .5 1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="#ad1519" stroke="#000" stroke-width=".4" d="M206.1 205.6H203a1 1 0 010-2h6.4c.5 0 1 .5 1 1s-.5 1-1 1h-3.2"/>
<path fill="#058e6e" stroke="#000" stroke-width=".4" d="M190.3 206.5l-2.3.2c-.6.1-1-.3-1.2-.8a1 1 0 011-1.1l2.2-.3 2.4-.3c.5 0 1 .3 1.1.9.1.5-.3 1-.9 1l-2.3.4"/>
<path fill="#fff" stroke="#000" stroke-width=".4" d="M181 206.7c0-.6.5-1 1.1-1 .6 0 1 .4 1 1 0 .5-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="#ad1519" stroke="#000" stroke-width=".4" d="M174 208.5l1.2-1.6 3.3.4-2.6 2-1.8-.8"/>
<path fill="#058e6e" stroke="#000" stroke-width=".4" d="M222 206.5l2.3.2c.5.1 1-.3 1.1-.8a1 1 0 00-.9-1.1l-2.2-.3-2.4-.3a1 1 0 00-1.1.9c-.1.5.3 1 .9 1l2.3.4"/>
<path fill="#fff" stroke="#000" stroke-width=".4" d="M213.3 204.8c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1m15.8 1.9c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1 0 .5-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="#ad1519" stroke="#000" stroke-width=".4" d="M238.2 208.5l-1.1-1.6-3.3.4 2.6 2 1.8-.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M177.3 212.8c7.4-2.1 17.6-3.4 28.8-3.4 11.3 0 21.4 1.3 28.9 3.4"/>
<path fill="#c8b100" d="M182.3 183.8l1.4 1 2-3.2a7.4 7.4 0 01-3.6-7.2c.2-4.1 5.2-7.6 11.7-7.6 3.3 0 6.3 1 8.5 2.4 0-.6 0-1.2.2-1.8a17.4 17.4 0 00-8.7-2.1c-7.4 0-13.2 4.1-13.5 9.1a8.9 8.9 0 003 7.6l-1 1.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M182.3 183.8l1.4 1 2-3.2a7.4 7.4 0 01-3.6-7.2c.2-4.1 5.2-7.6 11.7-7.6 3.3 0 6.3 1 8.5 2.4 0-.6 0-1.2.2-1.8a17.4 17.4 0 00-8.7-2.1c-7.4 0-13.2 4.1-13.5 9.1a8.9 8.9 0 003 7.6l-1 1.8"/>
<path fill="#c8b100" d="M182.4 183.8a9.3 9.3 0 01-4-7.3c0-3.2 2-6.1 5.3-8a8.5 8.5 0 00-3.4 6.8 8.9 8.9 0 003 6.7l-.9 1.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M182.4 183.8a9.3 9.3 0 01-4-7.3c0-3.2 2-6.1 5.3-8a8.5 8.5 0 00-3.4 6.8 8.9 8.9 0 003 6.7l-.9 1.8"/>
<path fill="#c8b100" d="M160.1 187.1a8.8 8.8 0 01-2.3-5.9c0-1.3.3-2.6 1-3.8 2-4.2 8.4-7.2 16-7.2 2 0 4 .2 5.9.6l-1 1.4a25.5 25.5 0 00-4.9-.4c-7 0-12.8 2.7-14.5 6.3a7 7 0 00-.7 3.1 7.3 7.3 0 002.7 5.6l-2.6 4.1-1.3-1 1.7-2.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M160.1 187.1a8.8 8.8 0 01-2.3-5.9c0-1.3.3-2.6 1-3.8 2-4.2 8.4-7.2 16-7.2 2 0 4 .2 5.9.6l-1 1.4a25.5 25.5 0 00-4.9-.4c-7 0-12.8 2.7-14.5 6.3a7 7 0 00-.7 3.1 7.3 7.3 0 002.7 5.6l-2.6 4.1-1.3-1 1.7-2.8z"/>
<path fill="#c8b100" d="M162.7 173.3a10.5 10.5 0 00-4 4.1 8.6 8.6 0 00-.9 3.8c0 2.3.9 4.3 2.3 5.9l-1.5 2.5a10.4 10.4 0 01-2.3-6.5c0-4 2.5-7.5 6.4-9.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M162.7 173.3a10.5 10.5 0 00-4 4.1 8.6 8.6 0 00-.9 3.8c0 2.3.9 4.3 2.3 5.9l-1.5 2.5a10.4 10.4 0 01-2.3-6.5c0-4 2.5-7.5 6.4-9.8z"/>
<path fill="#c8b100" d="M206 164.4c1.7 0 3.2 1.1 3.5 2.6.3 1.4.4 2.9.4 4.5v1.1c.1 3.3.6 6.3 1.3 8.1l-5.2 5-5.2-5c.7-1.8 1.2-4.8 1.3-8.1v-1.1c0-1.6.2-3.1.4-4.5.3-1.5 1.8-2.6 3.5-2.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M206 164.4c1.7 0 3.2 1.1 3.5 2.6.3 1.4.4 2.9.4 4.5v1.1c.1 3.3.6 6.3 1.3 8.1l-5.2 5-5.2-5c.7-1.8 1.2-4.8 1.3-8.1v-1.1c0-1.6.2-3.1.4-4.5.3-1.5 1.8-2.6 3.5-2.6z"/>
<path fill="#c8b100" d="M206 166c1 0 1.7.6 1.8 1.4.2 1.2.4 2.6.4 4.2v1c.1 3.2.6 6 1.2 7.7l-3.4 3.2-3.4-3.2c.7-1.7 1.1-4.5 1.2-7.7v-1a28.1 28.1 0 01.4-4.2 2 2 0 011.8-1.4"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M206 166c1 0 1.7.6 1.8 1.4.2 1.2.4 2.6.4 4.2v1c.1 3.2.6 6 1.2 7.7l-3.4 3.2-3.4-3.2c.7-1.7 1.1-4.5 1.2-7.7v-1a28.1 28.1 0 01.4-4.2 2 2 0 011.8-1.4z"/>
<path fill="#c8b100" d="M229.7 183.8l-1.3 1-2-3.2a7.4 7.4 0 003.6-6.3 7 7 0 000-.9c-.2-4.1-5.3-7.6-11.7-7.6a15 15 0 00-8.5 2.4 23 23 0 00-.2-1.8 17.4 17.4 0 018.7-2.1c7.4 0 13.2 4.1 13.4 9.1a8.9 8.9 0 01-3 7.6l1 1.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M229.7 183.8l-1.3 1-2-3.2a7.4 7.4 0 003.6-6.3 7 7 0 000-.9c-.2-4.1-5.3-7.6-11.7-7.6a15 15 0 00-8.5 2.4 23 23 0 00-.2-1.8 17.4 17.4 0 018.7-2.1c7.4 0 13.2 4.1 13.4 9.1a8.9 8.9 0 01-3 7.6l1 1.8"/>
<path fill="#c8b100" d="M229.6 183.8a9.1 9.1 0 004.1-7.3c0-3.2-2.1-6.1-5.3-8a8.5 8.5 0 013.4 6.8 8.9 8.9 0 01-3.2 6.7l1 1.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M229.6 183.8a9.1 9.1 0 004.1-7.3c0-3.2-2.1-6.1-5.3-8a8.5 8.5 0 013.4 6.8 8.9 8.9 0 01-3.2 6.7l1 1.8"/>
<path fill="#c8b100" d="M252 187.1a8.8 8.8 0 002.2-5.9 8.7 8.7 0 00-.9-3.8c-2-4.2-8.4-7.2-16-7.2a29 29 0 00-6 .6l1 1.4a25.4 25.4 0 015-.4c7 0 12.8 2.7 14.4 6.3.5 1 .7 2 .7 3.1a7.3 7.3 0 01-2.6 5.6l2.5 4.1 1.3-1-1.7-2.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M252 187.1a8.8 8.8 0 002.2-5.9 8.7 8.7 0 00-.9-3.8c-2-4.2-8.4-7.2-16-7.2a29 29 0 00-6 .6l1 1.4a25.4 25.4 0 015-.4c7 0 12.8 2.7 14.4 6.3.5 1 .7 2 .7 3.1a7.3 7.3 0 01-2.6 5.6l2.5 4.1 1.3-1-1.7-2.8z"/>
<path fill="#c8b100" d="M249.3 173.3a10.6 10.6 0 014 4.1 8.7 8.7 0 01.9 3.8 8.8 8.8 0 01-2.3 5.9l1.6 2.5a10.4 10.4 0 002.3-6.5c0-4-2.6-7.5-6.5-9.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M249.3 173.3a10.6 10.6 0 014 4.1 8.7 8.7 0 01.9 3.8 8.8 8.8 0 01-2.3 5.9l1.6 2.5a10.4 10.4 0 002.3-6.5c0-4-2.6-7.5-6.5-9.8z"/>
<path fill="#fff" d="M204.2 181.4c0-1 .8-1.8 1.8-1.8s1.9.8 1.9 1.8-.9 1.7-1.9 1.7a1.8 1.8 0 01-1.8-1.7"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M204.2 181.4c0-1 .8-1.8 1.8-1.8s1.9.8 1.9 1.8-.9 1.7-1.9 1.7a1.8 1.8 0 01-1.8-1.7z"/>
<path fill="#fff" stroke="#000" stroke-width=".4" d="M204.2 178c0-1 .8-1.8 1.8-1.8s1.9.8 1.9 1.8-.9 1.7-1.9 1.7a1.8 1.8 0 01-1.8-1.7m.4-3.7c0-.7.6-1.3 1.4-1.3.8 0 1.5.6 1.5 1.3 0 .8-.7 1.4-1.5 1.4s-1.4-.6-1.4-1.4m.4-3.3c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1m.2-2.8c0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.8-.3-1.6-1-1.6-.5-.1-1 .5-1.2 1.4-.1.8.3 1.5.9 1.6.6 0 1.2-.6 1.3-1.4m-23.9 0c0-.8.4-1.6 1-1.6.6-.1 1.1.5 1.2 1.4.1.8-.3 1.5-.9 1.6-.6 0-1.1-.6-1.2-1.4m-20.6 4c-.2-.8 0-1.6.6-1.8.6-.2 1.2.3 1.5 1.1.3.8 0 1.6-.5 1.8-.6.2-1.3-.3-1.6-1.1"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M182.7 184a5.1 5.1 0 012.2 2.9s0-.3.6-.6 1-.3 1-.3l-.1 1.3-.3 2.2a7.4 7.4 0 01-.7 1.6 1.9 1.9 0 00-1.5-.4 1.8 1.8 0 00-1.2.9s-.7-.6-1.2-1.3l-1.1-2-.7-1.1s.5-.2 1.1 0c.6 0 .8.2.8.2a4.9 4.9 0 011-3.4m.4 9.8a1.8 1.8 0 01-.6-1c0-.5 0-.9.3-1.2 0 0-.9-.5-1.8-.7-.7-.2-2-.2-2.3-.2h-1l.2.5c.2.5.5.7.5.7a5 5 0 00-3 2 5.3 5.3 0 003.5 1l-.2.8v.6l1-.4c.3-.1 1.5-.5 2-1 .8-.4 1.5-1.1 1.5-1.1m2.7-.5a1.6 1.6 0 00.2-1.1 1.7 1.7 0 00-.6-1l1.4-1.3a10 10 0 012-.9l1.1-.4v.6a5.7 5.7 0 01-.2.8 5 5 0 013.4 1 5 5 0 01-2.9 2 6.4 6.4 0 00.7 1.2h-1c-.4 0-1.6 0-2.3-.2a11 11 0 01-1.8-.7"/>
<path fill="#ad1519" stroke="#000" stroke-width=".4" d="M182.2 192.4c0-1 1-2 2-2s2.2 1 2.2 2c0 1.1-1 2-2.1 2a2 2 0 01-2.1-2"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M206.1 180.8a5.7 5.7 0 011.9 3.7s.2-.3.9-.5c.7-.3 1.2-.2 1.2-.2l-.5 1.4-.8 2.4a8.2 8.2 0 01-1 1.7 2.1 2.1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.7 0 2.3-.2a11.1 11.1 0 001.8-.7"/>
<path fill="#ad1519" stroke="#000" stroke-width=".4" d="M226 192.4c0-1 1-2 2-2s2.1 1 2.1 2a2 2 0 01-2 2 2 2 0 01-2.1-2m23.2 4.4c-.4-.5-1.4-.4-2.2.2-.8.7-1 1.6-.5 2.2.5.5 1.5.4 2.3-.3.7-.6 1-1.6.5-2"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M246.3 198l.7-1c.7-.6 1.8-.7 2.3-.2l.1.2s1-2 2.3-2.6c1.3-.7 3.4-.5 3.4-.5a2.8 2.8 0 00-2.9-2.8 3 3 0 00-2.4 1l-.2-1s-1.3.3-1.9 1.8c-.6 1.5 0 3.6 0 3.6s-.3-.9-.7-1.5a8 8 0 00-2.4-1.6l-1.3-.7-.1.5a5 5 0 000 .8 7.9 7.9 0 00-3.7.5 4.7 4.7 0 002.5 2.2l-.8.7a4 4 0 00-.4.5l1.3.2 2.5.2a14.5 14.5 0 001.7-.2m-80.3 0c0-.4-.3-.7-.7-1-.7-.7-1.7-.8-2.2-.3l-.2.3s-1-2-2.3-2.7c-1.2-.7-3.3-.5-3.3-.5a2.8 2.8 0 012.8-2.8c1 0 1.9.4 2.4 1l.2-1s1.3.3 2 1.8c.5 1.5-.1 3.6-.1 3.6s.3-.9.8-1.5a8 8 0 012.4-1.6l1.3-.7v1.3a7.9 7.9 0 013.7.5 4.7 4.7 0 01-2.5 2.2l.8.7.4.5-1.2.2-2.6.2a14.7 14.7 0 01-1.7-.2"/>
<path fill="#ad1519" stroke="#000" stroke-width=".4" d="M163 196.8c.6-.5 1.6-.4 2.4.3.7.6 1 1.5.4 2-.5.6-1.5.5-2.2-.2-.8-.6-1-1.6-.5-2m41-6.3c0-1.1.9-2 2-2s2.1.9 2.1 2c0 1-1 2-2 2a2 2 0 01-2.1-2"/>
<path fill="#005bbf" stroke="#000" stroke-width=".3" d="M201.8 160.6c0-2.2 1.9-4 4.3-4s4.2 1.8 4.2 4-1.9 4-4.3 4a4.1 4.1 0 01-4.2-4"/>
<path fill="#c8b100" stroke="#000" stroke-width=".3" d="M205 149.3v2.2h-2.4v2.2h2.3v6.3H202l-.2.6c0 .6.1 1.1.3 1.6h7.9c.2-.5.3-1 .3-1.6l-.2-.6h-2.8v-6.3h2.3v-2.2h-2.3v-2.2h-2.4z"/>
<path fill="#ccc" d="M206.5 330.6a82 82 0 01-35.5-8.2 22.7 22.7 0 01-12.8-20.4v-32h96.4v32a22.7 22.7 0 01-12.8 20.4 81 81 0 01-35.3 8.2"/>
<path fill="none" stroke="#000" stroke-width=".5" d="M206.5 330.6a82 82 0 01-35.5-8.2 22.7 22.7 0 01-12.8-20.4v-32h96.4v32a22.7 22.7 0 01-12.8 20.4 81 81 0 01-35.3 8.2z"/>
<path fill="#ccc" d="M206.3 270h48.3v-53.5h-48.3V270z"/>
<path fill="none" stroke="#000" stroke-width=".5" d="M206.3 270h48.3v-53.5h-48.3V270z"/>
<path fill="#ad1519" d="M206.3 302c0 12.6-10.7 22.9-24 22.9s-24.2-10.3-24.2-23v-32h48.2v32"/>
<path fill="#c8b100" stroke="#000" stroke-width=".5" d="M168.6 320.9c1.5.8 3.6 2 5.8 2.6l-.1-54.7h-5.7v52z"/>
<path fill="#c8b100" stroke="#000" stroke-linejoin="round" stroke-width=".5" d="M158 301.6a24.4 24.4 0 005.5 15v-47.5h-5.4v32.5z"/>
<path fill="#c7b500" stroke="#000" stroke-width=".5" d="M179.4 324.7a26.6 26.6 0 005.6 0v-55.9h-5.6v56z"/>
<path fill="#c8b100" stroke="#000" stroke-width=".5" d="M190 323.5a19 19 0 005.8-2.5v-52.2H190l-.1 54.7z"/>
<path fill="#ad1519" d="M158.1 270h48.2v-53.5H158V270z"/>
<path fill="none" stroke="#000" stroke-width=".5" d="M158.1 270h48.2v-53.5H158V270z"/>
<path fill="#c8b100" stroke="#000" stroke-width=".5" d="M201 316c2.4-2 4.6-6.8 5.4-12.2l.1-35H201l.1 47.3z"/>
<path fill="none" stroke="#000" stroke-width=".5" d="M206.3 302c0 12.6-10.7 22.9-24 22.9s-24.2-10.3-24.2-23v-32h48.2v32"/>
<path fill="#ad1519" d="M254.6 270v32c0 12.6-10.8 22.9-24.1 22.9s-24.2-10.3-24.2-23v-32h48.3"/>
<path fill="none" stroke="#000" stroke-width=".5" d="M254.6 270v32c0 12.6-10.8 22.9-24.1 22.9s-24.2-10.3-24.2-23v-32h48.3"/>
<path fill="#c8b100" d="M215.1 294.1l.1.5c0 .6-.5 1-1.1 1a1 1 0 01-1.1-1v-.5h-1.5a2.5 2.5 0 001.8 2.9v3.9h1.6V297a2.6 2.6 0 001.7-1.6h4.4v-1.2h-6m21.8 0v1.2h-4a2.5 2.5 0 01-.3.6l4.6 5.2-1.2 1-4.6-5.3-.2.1v8.7h-1.6V297h-.2l-4.8 5.2-1.2-1 4.7-5.3a2.1 2.1 0 01-.2-.4h-4V294h13zm2.6 0v1.2h4.4c.3.8.9 1.4 1.7 1.6v3.9h1.6V297a2.5 2.5 0 001.8-2.4 2 2 0 000-.5h-1.6l.1.5c0 .6-.5 1-1 1-.7 0-1.2-.4-1.2-1a1 1 0 01.1-.5h-5.9m-6.7 22.1a15.6 15.6 0 003.7-1l.8 1.4a17.6 17.6 0 01-4.3 1.2 2.6 2.6 0 01-2.6 2 2.6 2.6 0 01-2.5-2 17.5 17.5 0 01-4.6-1.2l.8-1.4c1.3.5 2.6.9 4 1a2.5 2.5 0 011.5-1.3v-6.7h1.6v6.7c.7.2 1.3.7 1.6 1.4zm-11-2.2l-.8 1.4a16.6 16.6 0 01-3.6-3.1c-.9.2-1.8 0-2.5-.5a2.4 2.4 0 01-.3-3.5l.1-.1a15.3 15.3 0 01-1.3-4.8h1.7a13.1 13.1 0 001 4c.5 0 1 0 1.4.2l4.1-4.5 1.3 1-4.1 4.5c.5.9.5 2-.1 2.8a15.2 15.2 0 003.1 2.6zm-6-4.8c.3-.4 1-.5 1.5 0s.5 1 .1 1.4a1.2 1.2 0 01-1.6.1 1 1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 0 01-1.2-1zm-4.4-.7l-.5-1.6h-4.5l-.5 1.6h5.5m0 1.5l-.5 1.6h-4.5l-.5-1.6h5.5m-11.6 21.9c0-.6.5-1 1.1-1 .6 0 1.1.4 1.1 1s-.5 1-1 1a1.1 1.1 0 01-1.2-1zm1.9-7.8l1.7-.4v-4.3l-1.7-.5v5.2m-1.6 0l-1.7-.4v-4.3l1.7-.5v5.2m15.7-32.6c0-.6.5-1 1.1-1a1 1 0 011.1 1c0 .6-.5 1-1 1a1.1 1.1 0 01-1.2-1zm-16.1 0c0-.6.5-1 1.1-1a1 1 0 011.1 1c0 .6-.5 1-1 1a1.1 1.1 0 01-1.2-1zm6.2.8l.5 1.6h4.6l.5-1.6h-5.5m0-1.6l.4-1.6h4.6l.5 1.6h-5.5m-6 5l-1.6.5v4.3l1.6.5V281m1.7 0l1.6.5v4.3l-1.6.5V281"/>
<path fill="#058e6e" d="M227.7 294.7a2.6 2.6 0 012.6-2.5 2.6 2.6 0 012.6 2.5 2.6 2.6 0 01-2.6 2.4c-1.4 0-2.6-1-2.6-2.4"/>
<path fill="#db4446" d="M230.9 229.7v-.6l.1-.3-2.3-.1a5.9 5.9 0 01-2.3-1.2c-.8-.7-1.1-1-1.6-1.2-1.3-.2-2.3.4-2.3.4s1 .4 1.7 1.3 1.5 1.3 1.8 1.4c.6.2 2.6 0 3.1.1l1.8.2"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M230.9 229.7v-.6l.1-.3-2.3-.1a5.9 5.9 0 01-2.3-1.2c-.8-.7-1.1-1-1.6-1.2-1.3-.2-2.3.4-2.3.4s1 .4 1.7 1.3 1.5 1.3 1.8 1.4c.6.2 2.6 0 3.1.1l1.8.2z"/>
<path fill="#ed72aa" stroke="#000" stroke-width=".4" d="M238.1 227.5v1.4c.2.6-.1 1.2 0 1.5 0 .4.1.6.3.9l.2.9-.7-.5-.6-.4v1c.1.2.3.8.6 1.1l1 1.3c.2.5.1 1.4.1 1.4s-.4-.7-.8-.8l-1.2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5-.6-.8-.8-.4-.2-1-.5-.7-.8l.8-.5c.2-.3.3-1 .7-.7.4.2.8 1.2 1.1 1.1.3 0 .3-.8.3-1 0-.4 0-1 .2-.9.3 0 .5.4 1 .5.4 0 1-.1 1 .2 0 .3-.3.7-.6 1-.3.3-.4 1-.3 1.4.2.5.7 1.2 1.2 1.4.4.3 1.2.5 1.7.9.5.3 1.7 1.2 2.1 1.3l.8.4s.5-.2 1.1-.2c.7 0 2.1 0 2.6-.2.6-.2 1.3-.6 1-1-.1-.6-1.3-1-1.2-1.4 0-.4.5-.4 1.2-.4.8 0 1.8.1 2-1 .2-1 .2-1.5-.8-1.8-1-.2-1.8-.2-2-1-.2-.7-.4-.9-.2-1.1.3-.2.6-.3 1.4-.4.8 0 1.6 0 1.9-.2.2-.2.3-.7.6-.9.3-.2 1.4-.4 1.4-.4s1.4.7 2.7 1.7a15 15 0 012.2 2.1"/>
<path d="M228.1 226.8l-.2-.6v-.3s.8 0 .7.3c0 .2-.2.2-.3.3l-.2.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M228.1 226.8l-.2-.6v-.3s.8 0 .7.3c0 .2-.2.2-.3.3l-.2.3z"/>
<path d="M232 225.4v-.4s.7 0 1 .3c.5.4.9 1 .9 1l-.8-.4h-.5l-.3-.1v-.3h-.3"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M232 225.4v-.4s.7 0 1 .3c.5.4.9 1 .9 1l-.8-.4h-.5l-.3-.1v-.3h-.3z"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M237.3 231.3l-.4-.7a8 8 0 01-.3-.4"/>
<path fill="#db4446" d="M217.4 226.6s.5.4.8.4h.8s.2-.5.1-.8c-.2-1.2-1.2-1.4-1.2-1.4s.3.7.1 1a2 2 0 01-.6.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M217.4 226.6s.5.4.8.4h.8s.2-.5.1-.8c-.2-1.2-1.2-1.4-1.2-1.4s.3.7.1 1a2 2 0 01-.6.8z"/>
<path fill="#db4446" d="M215.2 227.6s-.4-.7-1.3-.6c-.8 0-1.4.8-1.4.8h1.2c.3.3.4 1 .4 1l.7-.6a7.2 7.2 0 00.4-.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M215.2 227.6s-.4-.7-1.3-.6c-.8 0-1.4.8-1.4.8h1.2c.3.3.4 1 .4 1l.7-.6a7.2 7.2 0 00.4-.6z"/>
<path fill="#db4446" d="M214.2 230.6s-.8.1-1.2.6c-.4.5-.3 1.3-.3 1.3s.4-.5.9-.5l1 .2-.1-.8-.3-.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M214.2 230.6s-.8.1-1.2.6c-.4.5-.3 1.3-.3 1.3s.4-.5.9-.5l1 .2-.1-.8-.3-.8z"/>
<path d="M228.2 230.5l.3-.5.3.5h-.7"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M228.2 230.5l.3-.5.3.5h-.7"/>
<path d="M229 230.5l.3-.5.4.5h-.8"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M229 230.5l.3-.5.4.5h-.8"/>
<path d="M228.6 227.3l.8.3-.7.4-.1-.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M228.6 227.3l.8.3-.7.4-.1-.6"/>
<path d="M229.5 227.6l.7.2-.5.4-.2-.6"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M229.5 227.6l.7.2-.5.4-.2-.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M224.2 233.7s-.7.2-1 .6c-.4.5-.3 1-.3 1s.6-.5 1.5-.3l1.2.3 1.3-.3s-.7.8-.7 1.3l.2 1.1c0 .7-.6 1.6-.6 1.6l1-.3a4.6 4.6 0 001.7-.8l.9-1s-.2 1 0 1.4l.2 1.6.8-.6c.2-.1.7-.4.9-.7l.3-1s0 .8.4 1.3l.6 1.6s.3-.8.6-1.1c.3-.4.7-.8.7-1a4.3 4.3 0 00-.1-.9l.4.8m-11 .6s.5-.8 1-1l1.1-.8.9-.4m1 5l1.3-.8a4 4 0 001-1"/>
<path fill="#db4446" d="M216.6 240.4s-.4-.5-1.1-.3c-.7 0-1.2.9-1.2.9s.6-.2 1-.1.6.4.6.4l.4-.4.3-.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M216.6 240.4s-.4-.5-1.1-.3c-.7 0-1.2.9-1.2.9s.6-.2 1-.1.6.4.6.4l.4-.4.3-.6z"/>
<path fill="#db4446" d="M215.8 243.2s-.6 0-1.1.3c-.5.4-.5 1.2-.5 1.2s.4-.4.8-.3l.9.2v-.6c.2-.4-.1-.8-.1-.8"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M215.8 243.2s-.6 0-1.1.3c-.5.4-.5 1.2-.5 1.2s.4-.4.8-.3l.9.2v-.6c.2-.4-.1-.8-.1-.8z"/>
<path fill="#db4446" d="M217.2 245.8s0 .8.3 1.3c.4.5 1.1.5 1.1.5l-.3-.7c0-.4.3-.8.3-.8s-.3-.3-.7-.3h-.7"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M217.2 245.8s0 .8.3 1.3c.4.5 1.1.5 1.1.5l-.3-.7c0-.4.3-.8.3-.8s-.3-.3-.7-.3h-.7zm16 1.3s2 1.2 1.9 2.2c0 1-1 2.3-1 2.3"/>
<path fill="#db4446" d="M224.2 252.6s-.4-.6-1.1-.6c-.7 0-1.4.7-1.4.7s.8-.1 1 .2l.5.6.5-.3.5-.6"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M224.2 252.6s-.4-.6-1.1-.6c-.7 0-1.4.7-1.4.7s.8-.1 1 .2l.5.6.5-.3.5-.6z"/>
<path fill="#db4446" d="M222.2 255.3s-1-.1-1.4.3c-.4.5-.4 1.3-.4 1.3s.6-.6 1-.5c.5 0 1 .3 1 .3v-.7l-.3-.7"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M222.2 255.3s-1-.1-1.4.3c-.4.5-.4 1.3-.4 1.3s.6-.6 1-.5c.5 0 1 .3 1 .3v-.7l-.3-.7z"/>
<path fill="#db4446" d="M224 258.1s-.3.7 0 1.1c.3.5 1 .8 1 .8s-.3-.4-.2-.8c.1-.3.7-.8.7-.8l-1.4-.2"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M224 258.1s-.3.7 0 1.1c.3.5 1 .8 1 .8s-.3-.4-.2-.8c.1-.3.7-.8.7-.8l-1.4-.2z"/>
<path fill="#db4446" d="M236 259.3s-.8-.2-1.2 0c-.5.3-.8 1.4-.8 1.4s.7-.6 1.2-.5c.5 0 1 .3 1 .3v-.8l-.2-.4"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M236 259.3s-.8-.2-1.2 0c-.5.3-.8 1.4-.8 1.4s.7-.6 1.2-.5c.5 0 1 .3 1 .3v-.8l-.2-.4z"/>
<path fill="#db4446" d="M236.4 262.2s-.6.6-.4 1.1l.6 1s0-.7.2-1l1-.3-.7-.5a15.8 15.8 0 01-.7-.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M236.4 262.2s-.6.6-.4 1.1l.6 1s0-.7.2-1l1-.3-.7-.5a15.8 15.8 0 01-.7-.3z"/>
<path fill="#db4446" d="M239.4 263s-.3.8.2 1.3c.6.5 1 .5 1 .5s-.3-.7-.2-1.1c.1-.5.5-.7.5-.7l-.8-.2-.7.3"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M239.4 263s-.3.8.2 1.3c.6.5 1 .5 1 .5s-.3-.7-.2-1.1c.1-.5.5-.7.5-.7l-.8-.2-.7.3z"/>
<path fill="#ffd691" stroke="#000" stroke-width=".5" d="M208.8 316.4c2 .6 3 2 3 3.8 0 2.3-2.2 4-5 4-3 0-5.3-1.7-5.3-4 0-1.7 1-3.6 3-3.8l-.2-.4-.7-.7h1.2l.8.5.5-.7c.3-.4.6-.5.6-.5l.6.6.3.5.7-.4.8-.3s0 .4-.2.7l-.1.7"/>
<path fill="#058e6e" stroke="#000" stroke-width=".5" d="M206.3 326.7s-3.8-2.6-5.5-3c-2-.4-4.5 0-5.5 0 0 0 1.2.8 1.8 1.4.5.5 2.3 1.5 3.3 1.8 3 .8 6-.2 6-.2m1 .2s2.4-2.5 5-2.9c3-.4 5 .3 6.2.6l-1.5.8c-.5.3-2 1.5-4 1.6-2 0-4.4-.3-4.8-.2l-.9.1"/>
<path fill="#ad1519" stroke="#000" stroke-width=".5" d="M206.7 323.8a4.8 4.8 0 010-7.1 4.8 4.8 0 011.5 3.5 4.9 4.9 0 01-1.5 3.6"/>
<path fill="#058e6e" stroke="#000" stroke-width=".5" d="M205.7 329s.6-1.5.6-2.7l-.1-2.1h.8s.3 1.1.3 2l-.1 2.4-.7.1-.8.3"/>
<path fill="#fff" d="M254 190.7c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M254 190.7c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M255.4 188.2c0-.6.5-1 1.1-1 .6 0 1 .4 1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M255.4 188.2c0-.6.5-1 1.1-1 .6 0 1 .4 1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M256.4 185.2c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M256.4 185.2c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1z"/>
<path fill="#fff" d="M256.5 182c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M256.5 182c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M255.7 179c0-.6.5-1 1-1 .7 0 1.2.4 1.2 1s-.5 1-1.1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M255.7 179c0-.6.5-1 1-1 .7 0 1.2.4 1.2 1s-.5 1-1.1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M254.1 176.1c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M254.1 176.1c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M252 173.8c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M252 173.8c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M249.4 171.8c0-.5.5-1 1.1-1a1 1 0 010 2c-.6 0-1-.4-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M249.4 171.8c0-.5.5-1 1.1-1a1 1 0 010 2c-.6 0-1-.4-1-1z"/>
<path fill="#fff" d="M246.5 170.3c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M246.5 170.3c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M243.3 169.1c0-.5.5-1 1.1-1a1 1 0 010 2 1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M243.3 169.1c0-.5.5-1 1.1-1a1 1 0 010 2 1 1 0 01-1-1z"/>
<path fill="#fff" d="M239.9 168.5c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M239.9 168.5c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M236.6 168.3c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M236.6 168.3c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M233.3 168.5c0-.6.5-1 1-1 .7 0 1.1.4 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M233.3 168.5c0-.6.5-1 1-1 .7 0 1.1.4 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M230.1 168.5c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M230.1 168.5c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1z"/>
<path fill="#fff" stroke="#000" stroke-width=".4" d="M231.7 171.2c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1m.6 3.1c0-.6.4-1 1-1s1 .4 1 1c0 .5-.4 1-1 1a1 1 0 01-1-1m0 3c0-.5.6-1 1.1-1a1 1 0 010 2 1 1 0 01-1-1m-1 2.8c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1 0 .6-.4 1-1 1a1 1 0 01-1-1m-1.9 2.6c0-.5.5-1 1-1 .7 0 1.2.5 1.2 1s-.5 1-1.1 1c-.6 0-1-.4-1-1"/>
<path fill="#fff" d="M227.6 166.5c0-.5.5-1 1.1-1a1 1 0 010 2 1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M227.6 166.5c0-.5.5-1 1.1-1a1 1 0 010 2 1 1 0 01-1-1z"/>
<path fill="#fff" d="M224.8 165c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M224.8 165c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M221.6 164c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1 0 .5-.5 1-1 1-.6 0-1.1-.5-1.1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M221.6 164c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1 0 .5-.5 1-1 1-.6 0-1.1-.5-1.1-1z"/>
<path fill="#fff" d="M218.3 163.4c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M218.3 163.4c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1z"/>
<path fill="#fff" d="M215 163.5c0-.6.5-1 1.1-1 .6 0 1 .4 1 1 0 .5-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M215 163.5c0-.6.5-1 1.1-1 .6 0 1 .4 1 1 0 .5-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M211.7 164c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M211.7 164c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M208.6 165.1c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M208.6 165.1c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1z"/>
<path fill="#fff" d="M156 190.7c0-.5.4-1 1-1s1 .5 1 1c0 .6-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M156 190.7c0-.5.4-1 1-1s1 .5 1 1c0 .6-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M154.5 188.2c0-.6.5-1 1-1 .6 0 1 .4 1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M154.5 188.2c0-.6.5-1 1-1 .6 0 1 .4 1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M153.5 185.2c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M153.5 185.2c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M153.4 182c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M153.4 182c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M154.2 179c0-.6.5-1 1-1 .6 0 1 .4 1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M154.2 179c0-.6.5-1 1-1 .6 0 1 .4 1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M155.8 176.1c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M155.8 176.1c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1s-.5 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M158 173.8c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M158 173.8c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M160.5 171.8c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M160.5 171.8c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M163.5 170.3c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M163.5 170.3c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M166.6 169.1c0-.5.5-1 1-1a1 1 0 010 2 1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M166.6 169.1c0-.5.5-1 1-1a1 1 0 010 2 1 1 0 01-1-1z"/>
<path fill="#fff" d="M170 168.5c0-.5.5-1 1.1-1a1 1 0 010 2c-.6 0-1-.4-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M170 168.5c0-.5.5-1 1.1-1a1 1 0 010 2c-.6 0-1-.4-1-1z"/>
<path fill="#fff" d="M173.4 168.3c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M173.4 168.3c0-.5.4-1 1-1s1 .5 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M176.6 168.5c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M176.6 168.5c0-.6.5-1 1-1 .6 0 1.1.4 1.1 1s-.5 1-1 1a1 1 0 01-1.1-1z"/>
<path fill="#fff" d="M179.8 168.5c0-.6.5-1 1-1 .7 0 1.2.4 1.2 1s-.5 1-1.1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M179.8 168.5c0-.6.5-1 1-1 .7 0 1.2.4 1.2 1s-.5 1-1.1 1a1 1 0 01-1-1z"/>
<path fill="#fff" stroke="#000" stroke-width=".4" d="M178.2 171.2c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1m-.7 3.1c0-.6.4-1 1-1s1 .4 1 1c0 .5-.4 1-1 1a1 1 0 01-1-1m-.2 3c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1m.9 2.8c0-.5.5-1 1-1 .6 0 1.1.5 1.1 1 0 .6-.5 1-1 1a1 1 0 01-1.1-1m1.8 2.6c0-.5.5-1 1-1a1 1 0 010 2 1 1 0 01-1-1"/>
<path fill="#fff" d="M182.3 166.5c0-.5.5-1 1-1a1 1 0 010 2 1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M182.3 166.5c0-.5.5-1 1-1a1 1 0 010 2 1 1 0 01-1-1z"/>
<path fill="#fff" d="M185.2 165c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M185.2 165c0-.6.4-1 1-1s1 .4 1 1-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M188.3 164c0-.6.5-1 1-1 .7 0 1.1.4 1.1 1 0 .5-.4 1-1 1s-1-.5-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M188.3 164c0-.6.5-1 1-1 .7 0 1.1.4 1.1 1 0 .5-.4 1-1 1s-1-.5-1-1z"/>
<path fill="#fff" d="M191.6 163.4c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M191.6 163.4c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M194.9 163.5c0-.6.4-1 1-1s1 .4 1 1c0 .5-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M194.9 163.5c0-.6.4-1 1-1s1 .4 1 1c0 .5-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M198.2 164c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M198.2 164c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#fff" d="M201.3 165.1c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1"/>
<path fill="none" stroke="#000" stroke-width=".4" d="M201.3 165.1c0-.5.5-1 1-1 .7 0 1.1.5 1.1 1s-.4 1-1 1a1 1 0 01-1-1z"/>
<path fill="#c8b100" stroke="#000" stroke-width=".4" d="M174.7 228.9h-1v-1h-1.5v3.6h1.6v2.5h-3.4v7h1.8v14.3h-3.5v7.3h27.2v-7.3h-3.5V241h1.8v-7h-3.4v-2.5h1.6V228h-1.6v.9h-.8v-1h-1.6v1h-1.1v-1h-1.6v3.6h1.6v2.5H184v-7.8h1.7v-3.5H184v.9h-1v-1h-1.5v1h-.9v-1H179v3.6h1.7v7.8h-3.3v-2.5h1.6V228h-1.6v.9h-.9v-1h-1.8v1zm-6 33.7H196m-27.3-1.8H196m-27.3-1.8H196m-27.3-1.7H196m-27.3-2H196m-23.8-1.6h20.2m-20.2-1.8h20.2m-20.2-2h20.2m-20.2-1.7h20.2m-20.2-1.8h20.2m-20.2-1.8h20.2m-20.2-1.7h20.2m-22-1.8h23.8m-23.8-1.8h23.8m-23.8-1.8h23.8m-23.8-1.8h23.8m-20.4-1.7h17m-10.2-1.8h3.4m-3.4-1.8h3.4m-3.4-1.8h3.4m-3.4-1.7h3.4m-5.1-2.2h6.8m-12 7.5h3.6m-5-2.2h6.6m-6.7 32.6v-1.8m0-1.8v-1.7m-1.8 1.7v1.8m3.4 0V259m1.7 3.6v-1.8m0-1.8v-1.7m0-2v-1.6m0-1.8v-2m-1.7 7.4v-2m-3.4 2v-2m7 0v2m1.5-2v-1.6m-5.1-1.8v1.8m3.5-1.8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s-2.4 1-2.4 2.4v4.9h4.9zm6.8 0v-4.9c0-1.3 1-2.4 2.5-2.4s2.4 1 2.4 2.4v4.9h-4.9zm-1.7-12l.4-4.4h-4.2l.2 4.4h3.6zm3.3 0l-.4-4.4h4.4l-.5 4.4h-3.5zm-10 0l.2-4.4h-4.2l.5 4.4h3.5z"/>
<path fill="#0039f0" d="M185.3 262.6v-4c0-.7-.5-2.7-3.1-2.7-2.4 0-2.9 2-2.9 2.7v4h6zm-6.9-12.7v-4.2c0-1-.6-2.2-2-2.2s-2 1.1-2 2.2v4.3h4zm7.8 0v-4.2c0-1 .7-2.2 2-2.2s2 1.1 2 2.2v4.3h-4z"/>
<path fill="#ad1519" d="M190.8 269.8c0-9.7 7-17.6 15.6-17.6s15.6 7.9 15.6 17.6-7 17.5-15.6 17.5-15.6-7.8-15.6-17.5"/>
<path fill="none" stroke="#000" stroke-width=".6" d="M190.8 269.8c0-9.7 7-17.6 15.6-17.6s15.6 7.9 15.6 17.6-7 17.5-15.6 17.5-15.6-7.8-15.6-17.5z"/>
<path fill="#005bbf" d="M195.4 269.7c0-7 5-12.8 11-12.8s11 5.7 11 12.8c0 7.2-5 13-11 13s-11-5.8-11-13"/>
<path fill="none" stroke="#000" stroke-width=".6" d="M195.4 269.7c0-7 5-12.8 11-12.8s11 5.7 11 12.8c0 7.2-5 13-11 13s-11-5.8-11-13z"/>
<path fill="#c8b100" d="M201.2 260.9s-1.3 1.4-1.3 2.7a6 6 0 00.6 2.4c-.2-.5-.8-.8-1.4-.8-.8 0-1.4.6-1.4 1.3l.2.8.5.9c.1-.3.5-.5 1-.5s1 .4 1 1a.9.9 0 010 .2h-1.2v1h1l-.8 1.5 1-.4.8.9.8-.9 1 .4-.7-1.5h1v-1h-1.1a.9.9 0 010-.3 1 1 0 011-1c.4 0 .7.3 1 .6l.4-1 .2-.7a1.4 1.4 0 00-1.4-1.3c-.7 0-1.2.3-1.4.9 0 0 .6-1.2.6-2.5s-1.4-2.7-1.4-2.7"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M201.2 260.9s-1.3 1.4-1.3 2.7a6 6 0 00.6 2.4c-.2-.5-.8-.8-1.4-.8-.8 0-1.4.6-1.4 1.3l.2.8.5.9c.1-.3.5-.5 1-.5s1 .4 1 1a.9.9 0 010 .2h-1.2v1h1l-.8 1.5 1-.4.8.9.8-.9 1 .4-.7-1.5h1v-1h-1.1a.9.9 0 010-.3 1 1 0 011-1c.4 0 .7.3 1 .6l.4-1 .2-.7a1.4 1.4 0 00-1.4-1.3c-.7 0-1.2.3-1.4.9 0 0 .6-1.2.6-2.5s-1.4-2.7-1.4-2.7z"/>
<path fill="#c8b100" d="M199.2 269.9h4.1v-1h-4.1v1z"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M199.2 269.9h4.1v-1h-4.1v1z"/>
<path fill="#c8b100" d="M211.4 260.9s-1.3 1.4-1.3 2.7c0 1.3.6 2.4.6 2.4-.2-.5-.7-.8-1.4-.8-.8 0-1.4.6-1.4 1.3l.2.8.5.9c.2-.3.5-.5 1-.5a1 1 0 011 1 .9.9 0 010 .2h-1.2v1h1l-.8 1.5 1-.4.8.9.8-.9 1 .4-.7-1.5h1v-1h-1.1a.8.8 0 010-.3 1 1 0 011-1c.4 0 .8.3 1 .6l.4-1 .2-.7a1.4 1.4 0 00-1.4-1.3c-.6 0-1.2.3-1.4.9 0 0 .6-1.2.6-2.5s-1.4-2.7-1.4-2.7"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M211.4 260.9s-1.3 1.4-1.3 2.7c0 1.3.6 2.4.6 2.4-.2-.5-.7-.8-1.4-.8-.8 0-1.4.6-1.4 1.3l.2.8.5.9c.2-.3.5-.5 1-.5a1 1 0 011 1 .9.9 0 010 .2h-1.2v1h1l-.8 1.5 1-.4.8.9.8-.9 1 .4-.7-1.5h1v-1h-1.1a.8.8 0 010-.3 1 1 0 011-1c.4 0 .8.3 1 .6l.4-1 .2-.7a1.4 1.4 0 00-1.4-1.3c-.6 0-1.2.3-1.4.9 0 0 .6-1.2.6-2.5s-1.4-2.7-1.4-2.7z"/>
<path fill="#c8b100" d="M209.4 269.9h4.1v-1h-4.1v1z"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M209.4 269.9h4.1v-1h-4.1v1z"/>
<path fill="#c8b100" d="M206.3 269.6s-1.3 1.5-1.3 2.8.6 2.4.6 2.4c-.2-.5-.7-.9-1.4-.9-.8 0-1.4.6-1.4 1.4l.2.7.5 1c.1-.4.5-.6 1-.6a1 1 0 011 1 .9.9 0 010 .3h-1.2v1h1l-.8 1.5 1-.4.8.9.8-1 1 .5-.7-1.5h1v-1h-1.1a.9.9 0 010-.3 1 1 0 011-1c.4 0 .7.2.9.6l.5-1 .2-.7a1.4 1.4 0 00-1.4-1.4c-.7 0-1.2.4-1.4 1 0 0 .6-1.2.6-2.5s-1.4-2.7-1.4-2.7"/>
<path fill="none" stroke="#000" stroke-linejoin="round" stroke-width=".3" d="M206.3 269.6s-1.3 1.5-1.3 2.8.6 2.4.6 2.4c-.2-.5-.7-.9-1.4-.9-.8 0-1.4.6-1.4 1.4l.2.7.5 1c.1-.4.5-.6 1-.6a1 1 0 011 1 .9.9 0 010 .3h-1.2v1h1l-.8 1.5 1-.4.8.9.8-1 1 .5-.7-1.5h1v-1h-1.1a.9.9 0 010-.3 1 1 0 011-1c.4 0 .7.2.9.6l.5-1 .2-.7a1.4 1.4 0 00-1.4-1.4c-.7 0-1.2.4-1.4 1 0 0 .6-1.2.6-2.5s-1.4-2.7-1.4-2.7z"/>
<path fill="#c8b100" d="M204.3 278.6h4.1v-1h-4.1v1z"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M204.3 278.6h4.1v-1h-4.1v1z"/>
<path fill="#c8b100" d="M237.6 223.4h-.3a1.5 1.5 0 01-.3.4c-.2.2-.6.2-.8 0a.5.5 0 01-.1-.4.5.5 0 01-.5 0c-.3-.1-.3-.5-.1-.7v-.5h-.3l-.1.2c-.2.3-.5.3-.7.2a.6.6 0 010-.2h-.3c-.5.2-.7-1-.7-1.2l-.2.2s.2.7.1 1.2c0 .6-.3 1.2-.3 1.2a9 9 0 012.9 1.6 9 9 0 012.2 2.3l1.2-.5c.6-.2 1.3-.2 1.3-.2l.2-.2c-.3 0-1.5.1-1.5-.4v-.2a.7.7 0 01-.2 0c-.2-.2-.2-.4 0-.7l.2-.1v-.3h-.3l-.2.1c-.2.3-.6.3-.8 0a.4.4 0 01-.1-.4.6.6 0 01-.5 0c-.2-.2-.3-.5 0-.8l.2-.3v-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M237.6 223.4h-.3a1.5 1.5 0 01-.3.4c-.2.2-.6.2-.8 0a.5.5 0 01-.1-.4.5.5 0 01-.5 0c-.3-.1-.3-.5-.1-.7v-.5h-.3l-.1.2c-.2.3-.5.3-.7.2a.6.6 0 010-.2h-.3c-.5.2-.7-1-.7-1.2l-.2.2s.2.7.1 1.2c0 .6-.3 1.2-.3 1.2a9 9 0 012.9 1.6 9 9 0 012.2 2.3l1.2-.5c.6-.2 1.3-.2 1.3-.2l.2-.2c-.3 0-1.5.1-1.5-.4v-.2a.7.7 0 01-.2 0c-.2-.2-.2-.4 0-.7l.2-.1v-.3h-.3l-.2.1c-.2.3-.6.3-.8 0a.4.4 0 01-.1-.4.6.6 0 01-.5 0c-.2-.2-.3-.5 0-.8l.2-.3v-.3z"/>
<path d="M235.4 224h.2v.3h-.1c-.1 0-.1-.2 0-.2"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M235.4 224h.2v.3h-.1c-.1 0-.1-.2 0-.2z"/>
<path d="M236.3 224.8l-.3-.2v-.2h.1l.4.3.3.2v.2h-.2l-.3-.3"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M236.3 224.8l-.3-.2v-.2h.1l.4.3.3.2v.2h-.2l-.3-.3"/>
<path d="M234.6 223.7l-.2-.2s-.1 0 0-.1l.3.1.3.1v.2h-.1l-.3-.1"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M234.6 223.7l-.2-.2s-.1 0 0-.1l.3.1.3.1v.2h-.1l-.3-.1"/>
<path d="M233.7 223h.2v.2h-.2s-.1-.1 0-.2"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M233.7 223h.2v.2h-.2s-.1-.1 0-.2z"/>
<path d="M237.3 225.5v-.2h-.3l.1.2h.2"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M237.3 225.5v-.2h-.3l.1.2h.2z"/>
<path d="M237.9 226.2l.2.2h.1c.1 0 0-.1 0-.2l-.2-.2-.2-.2h-.1v.2l.2.2"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M237.9 226.2l.2.2h.1c.1 0 0-.1 0-.2l-.2-.2-.2-.2h-.1v.2l.2.2"/>
<path d="M238.8 227v-.3h-.3v.2h.3"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M238.8 227v-.3h-.3v.2h.3z"/>
<path fill="#c8b100" d="M236.2 221.1h-.6l-.1.9v.1h.2l.7-.5-.3-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M236.2 221.1h-.6l-.1.9v.1h.2l.7-.5-.3-.5"/>
<path fill="#c8b100" d="M234.6 221.6v.5l.9.1h.1v-.2l-.5-.7-.5.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M234.6 221.6v.5l.9.1h.1v-.2l-.5-.7-.5.3"/>
<path fill="#c8b100" d="M236.4 222.6l-.4.3-.6-.7v-.1h1.1v.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M236.4 222.6l-.4.3-.6-.7v-.1h1.1v.5"/>
<path fill="#c8b100" d="M235.3 222a.3.3 0 01.4 0 .3.3 0 010 .3.3.3 0 01-.3 0 .3.3 0 01-.1-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M235.3 222a.3.3 0 01.4 0 .3.3 0 010 .3.3.3 0 01-.3 0 .3.3 0 01-.1-.3z"/>
<path fill="#c8b100" d="M233.2 221.1l-.2-.7-.4-.4s.4-.2.8.1c.4.3 0 .9 0 .9l-.2.1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M233.2 221.1l-.2-.7-.4-.4s.4-.2.8.1c.4.3 0 .9 0 .9l-.2.1z"/>
<path fill="#c8b100" d="M234.2 221.4l-.4.4-.6-.6v-.2h1v.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M234.2 221.4l-.4.4-.6-.6v-.2h1v.4"/>
<path fill="#c8b100" d="M233.1 221l.3-.1v.3c0 .2-.1.2-.2.2l-.1-.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M233.1 221l.3-.1v.3c0 .2-.1.2-.2.2l-.1-.3z"/>
<path fill="#c8b100" d="M238.3 222.5h-.5l-.3.7v.2h.2l.8-.4-.2-.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M238.3 222.5h-.5l-.3.7v.2h.2l.8-.4-.2-.5"/>
<path fill="#c8b100" d="M236.7 222.8v.5l.8.2h.1v-.2l-.4-.7-.5.2"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M236.7 222.8v.5l.8.2h.1v-.2l-.4-.7-.5.2"/>
<path fill="#c8b100" d="M238.4 224l-.5.2-.4-.7v-.2h.1l.9.2-.1.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M238.4 224l-.5.2-.4-.7v-.2h.1l.9.2-.1.5"/>
<path fill="#c8b100" d="M237.3 223.2h.4a.3.3 0 010 .4.3.3 0 01-.3 0 .3.3 0 010-.4"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M237.3 223.2h.4a.3.3 0 010 .4.3.3 0 01-.3 0 .3.3 0 010-.4z"/>
<path fill="#c8b100" d="M240.2 224.3l.1.5-.8.3h-.2v-.2l.4-.8.5.2"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M240.2 224.3l.1.5-.8.3h-.2v-.2l.4-.8.5.2"/>
<path fill="#c8b100" d="M240 225.8l-.5.1-.3-.8v-.1h.2l.8.3-.1.5"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M240 225.8l-.5.1-.3-.8v-.1h.2l.8.3-.1.5"/>
<path fill="#c8b100" d="M238.6 224.3l-.2.5.9.3h.1v-.1l-.3-.8-.5.1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M238.6 224.3l-.2.5.9.3h.1v-.1l-.3-.8-.5.1"/>
<path fill="#c8b100" d="M239.5 225.2a.3.3 0 000-.3.3.3 0 00-.4 0 .3.3 0 000 .3.3.3 0 00.4 0"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M239.5 225.2a.3.3 0 000-.3.3.3 0 00-.4 0 .3.3 0 000 .3.3.3 0 00.4 0z"/>
<path fill="#c8b100" d="M240.8 227h.8l.5.3s.1-.4-.3-.7c-.3-.3-.8.2-.8.2l-.2.2"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M240.8 227h.8l.5.3s.1-.4-.3-.7c-.3-.3-.8.2-.8.2l-.2.2z"/>
<path fill="#c8b100" d="M240.3 226.1l-.3.5.8.5v-.1h.2l-.1-1-.6.1"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M240.3 226.1l-.3.5.8.5v-.1h.2l-.1-1-.6.1"/>
<path fill="#c8b100" d="M241 227s.1-.1 0-.2h-.3c-.2 0-.2.1-.1.2h.3"/>
<path fill="none" stroke="#000" stroke-width=".3" d="M241 227s.1-.1 0-.2h-.3c-.2 0-.2.1-.1.2h.3zm38-21.9v.6h-2.4v-.6h1v-1.3h-.7v-.5h.6v-.6h.6v.6h.6v.6h-.6v1.2h1"/>
<path fill="none" stroke="#000" stroke-width="0" d="M134.4 217.1v-1.2m-.4 1.2v-1.2m-.2 1.2v-1.2m-.3 1.2v-1.2"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M133.2 217.1v-1.2m-.5 1.1v-1m.2 1v-1m-.7 1v-1m.2 1v-1m-.9 1v-1m.2 1v-1m.3 1v-1m-.7 1v-1m-.3.9v-.8m-.1.8v-.8m-.5.7v-.6m.2.6v-.6m-.4.5v-.5m-.2.5v-.4m-.3.3v-.3m-.3.3v-.2"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M129.2 216.6v-.2"/>
<path fill="none" stroke="#000" stroke-width="0" d="M135.7 217v-1m-.5 1v-1m-.4 1.2V216m143 1.1V216m-.4 1.1V216m-.3 1.1V216m-.3 1.2V216"/>
<path fill="none" stroke="#000" stroke-width=".1" d="M276.6 217.1V216m-.6 1v-1m.3 1v-1m-.8 1v-1m.3 1v-1m-.9 1v-1m.2 1v-1m.2 1v-1m-.6 1v-1m-.3.9v-.8m-.2.8v-.8m-.4.7v-.6m.2.6v-.6m-.5.6v-.6m-.2.5v-.4m-.3.4v-.4m-.2.3v-.2"/>
<path fill="none" stroke="#000" stroke-width=".2" d="M272.6 216.6v-.2"/>
<path fill="none" stroke="#000" stroke-width="0" d="M279.1 217v-1m-.6 1v-1m-.4 1.1V216"/>
</svg>

After

Width:  |  Height:  |  Size: 89 KiB

@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-fr" viewBox="0 0 640 480">
<g fill-rule="evenodd" stroke-width="1pt">
<path fill="#fff" d="M0 0h640v480H0z"/>
<path fill="#00267f" d="M0 0h213.3v480H0z"/>
<path fill="#f31830" d="M426.7 0H640v480H426.7z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 292 B

@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-it" viewBox="0 0 640 480">
<g fill-rule="evenodd" stroke-width="1pt">
<path fill="#fff" d="M0 0h640v480H0z"/>
<path fill="#009246" d="M0 0h213.3v480H0z"/>
<path fill="#ce2b37" d="M426.7 0H640v480H426.7z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 292 B

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-nl" viewBox="0 0 640 480">
<path fill="#21468b" d="M0 0h640v480H0z"/>
<path fill="#fff" d="M0 0h640v320H0z"/>
<path fill="#ae1c28" d="M0 0h640v160H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

@@ -0,0 +1,7 @@
import './pagebuilder';
import './block-search';
import './run-builder-scripts';
import './manage-editable-components';
import './save-page';
import './ckeditor-hyperlinks';
import './responsive';
@@ -0,0 +1,34 @@
$(document).on("input", "#block-search input", function() {
let term = $(this).val().toLowerCase();
$(".gjs-block-category").each(function() {
let atLeastOneMatch = false;
$(this).find(".gjs-block").each(function() {
if (! $(this).data('original-html')) {
$(this).data('original-html', $(this).html());
}
let label = $(this).text();
if (label.toLowerCase().includes(term)) {
$(this).removeClass("d-none");
atLeastOneMatch = true;
let regEx = new RegExp('(' + term + ')', "gi");
let highlightedText = label.replace(regEx, '<b>$1</b>');
$(this).find(".gjs-block-label").html(
$(this).data('original-html').replace(label.trim(), highlightedText)
);
} else {
$(this).addClass("d-none");
}
});
$(this).removeClass("d-none");
if (! atLeastOneMatch) {
$(this).addClass("d-none");
}
});
});
@@ -0,0 +1,127 @@
$(document).ready(function() {
window.CKEDITOR.on('instanceReady', function (event) {
event.editor.on('paste', function (event) {
let result = event.data.dataValue;
// remove all not allowed tags
result = result.replace(/<(?!\/?(?:a|table|tr|td|th|thead|tbody|tfoot|caption|col|colgroup|p|ul|ol|li|br|strong|em|b|i|u|strike|sub|sup|h1|h2|h3|h4|h5|h6|blockquote|pre|hr)\b)[^>]+>/gm, '');
// remove all attributes of the allowed tags except from anchor
result = result.replace(/<(a|table|tr|td|th|thead|tbody|tfoot|caption|col|colgroup|p|ul|ol|li|br|strong|em|b|i|u|strike|sub|sup|h1|h2|h3|h4|h5|h6|blockquote|pre|hr)\b[^>]*>/gm, function(match, tag) {
// for anchor tags remove all attributes except href
if (tag === 'a') {
let href = match.match(/href="([^"]*)"/);
if (! href) {
return match;
}
return '<a href="' + href[1] + '">';
}
// allow styling on some tags
if ('|table|tr|td|th|thead|tbody|tfoot|'.includes('|' + tag + '|')) {
let style = match.match(/style="([^"]*)"/);
if (! style) {
return match;
}
return '<' + tag + ' style="' + style[1] + '">';
}
return '<' + tag + '>';
});
event.data.dataValue = result;
});
});
window.CKEDITOR.on('dialogDefinition', function(event) {
let dialogName = event.data.name;
let dialogDefinition = event.data.definition;
if (dialogName === 'link') {
let infoTab = dialogDefinition.getContents('info');
dialogDefinition.onLoad = function() {
let dialog = CKEDITOR.dialog.getCurrent();
dialog.getContentElement('info', 'linkType').getElement().hide();
dialog.getContentElement('info', 'protocol').getElement().hide();
dialog.getContentElement('info', 'url').getElement().hide();
};
infoTab.add({
type: 'select',
id: 'linktype-selector',
label: 'Linktype',
'default': '',
items: [
[window.translations['page'], "page"],
["URL", "url"]
],
onChange: function(obj) {
let dialog = CKEDITOR.dialog.getCurrent();
if (obj.data.value === 'page') {
dialog.getContentElement('info', 'page-selector').getElement().show();
dialog.getContentElement('info', 'url-field').getElement().hide();
} else {
dialog.getContentElement('info', 'page-selector').getElement().hide();
dialog.getContentElement('info', 'url-field').getElement().show();
dialog.getContentElement('info', 'url-field').setValue('');
}
},
setup: function(data) {
if (data.type === undefined) {
this.setValue('page');
} else if (data.type === 'url' && data.url.url.startsWith('[page id=')) {
this.setValue('page');
} else {
this.setValue(data.type);
}
}
});
infoTab.add({
type: 'select',
id: 'page-selector',
label: window.translations['page'],
'default': '',
items: window.pages,
onChange: function() {
let dialog = CKEDITOR.dialog.getCurrent();
let page = '[page id=' + this.getValue() + ']';
dialog.setValueOf('info', 'url', page);
dialog.setValueOf('info', 'protocol', '');
},
setup: function(dialog) {
this.allowOnChange = false;
let pageId = '';
if (dialog.url) {
pageId = dialog.url.url.substr(9, dialog.url.url.length - 10);
}
this.setValue(pageId);
this.allowOnChange = true;
}
});
infoTab.add({
type: 'text',
id: 'url-field',
label: 'URL',
'default': '',
onChange: function() {
let dialog = CKEDITOR.dialog.getCurrent();
let url = this.getValue();
dialog.setValueOf('info', 'url', url);
},
setup: function(dialog) {
this.allowOnChange = false;
let url = '';
if (dialog.url) {
url = dialog.url.url;
}
this.setValue(url);
this.allowOnChange = true;
}
});
}
});
});
@@ -0,0 +1,833 @@
(function() {
/**
* After loading GrapesJS, add all theme blocks and activate the editable blocks in the main language.
*/
function afterGrapesJSLoaded() {
addThemeBlocks();
// add page injection script with page-loaded event to the end of the body tag of initialComponents,
// which contains the html structure of the used layout file. And add script that starts all external scripts
let scriptTag = document.createElement("script");
scriptTag.type = "text/javascript";
scriptTag.src = window.injectionScriptUrl;
let fullScript = scriptTag.outerHTML + '<script>' + startFirstScript.toString() + startFirstScript.name + '()</script>';
window.initialComponents = window.initialComponents.replace('</body>', fullScript + '</body>');
$.each(window.languages, (languageCode, languageTranslation) => {
if (window.pageBlocks[languageCode] === null) {
window.pageBlocks[languageCode] = {};
}
});
activateLanguage(window.currentLanguage);
}
/**
* GrapesJS wraps each external script with a start[number]Start() method,
* which needs to be called on switching language.
*/
function startFirstScript() {
let scriptTags = document.querySelectorAll("script");
for (let i = 0; i < scriptTags.length; i++) {
let node = scriptTags[i];
if (node.innerHTML.startsWith('var script')) {
let beforeEquals = node.innerHTML.split('=')[0];
let scriptNumber = parseInt(beforeEquals.replace('var script', ''));
if (Number.isInteger(scriptNumber)) {
let startScriptMethodName = 'script' + scriptNumber + 'Start';
if (typeof window[startScriptMethodName] === 'function') {
if (scriptNumber !== 0) {
window[startScriptMethodName]();
}
return false;
}
}
}
}
}
/**
* Add all theme blocks to GrapesJS blocks manager.
*/
function addThemeBlocks() {
for (let blockSlug in window.themeBlocks) {
let block = window.themeBlocks[blockSlug];
// remove whitespace from phpb-block-container elements, otherwise these components will become type=text,
// resulting in components dropped inside the container jumping to the dropped position - 1
let $blockHtml = $("<container>").append(block.content);
$blockHtml.find("[phpb-blocks-container]").each(function() {
if ($(this).html() !== '' && $(this).html().trim() === '') {
$(this).html('');
}
});
window.themeBlocks[blockSlug].content = $blockHtml.html();
block.content = $blockHtml.html();
editor.BlockManager.add(blockSlug, block);
}
}
/**
* Switch pagebuilder to another language variant on changing the language selector.
*/
$("#language-selector select").on("change", function() {
let selectedLanguage = $(this).find("option:selected").val();
window.switchLanguage(selectedLanguage, function() {
activateLanguage(selectedLanguage);
});
});
/**
* Activate the given language variant in the pagebuilder.
*
* @param newLanguage
*/
window.activateLanguage = function(newLanguage) {
window.currentLanguage = newLanguage;
// reset GrapesJS editor before loading the new language variant
window.editor.select();
window.editor.DomComponents.clear();
window.editor.DomComponents.componentsById = [];
window.editor.UndoManager.clear();
// remove any script tags from previous languages
window.editor.Canvas.getDocument().querySelectorAll("script").forEach(function(node) {
node.remove();
});
// load initial non-editable layout components
window.editor.setComponents(window.initialComponents);
denyAccessToLayoutElements(editor.getWrapper());
window.editor.getWrapper().find("[phpb-content-container]").forEach((container, index) => {
container.set('custom-name', window.translations['page-content']);
// reload components of this content container (adding all root phpb-block elements)
container.components(window.contentContainerComponents[index]);
// replace phpb-block elements with the server-side rendered version of each block
replacePlaceholdersForRenderedBlocks(container);
// apply the stored block settings to the server-side rendered html
applyBlockAttributesToComponents(container);
});
};
$(window).on('pagebuilder-page-loaded', function(event) {
window.editor.getWrapper().find("[phpb-content-container]").forEach(container => {
restrictEditAccess(container);
window.runScriptsOfComponentAndChildren(container);
});
window.setWaiting(false);
setTimeout(function() {
window.changesOffset = window.editor.getModel().get('changesCount');
window.afterInitialRendering = true;
}, 250);
});
/**
* Replace phpb-block elements with the server-side rendered version of each block.
*
* @param component
*/
function replacePlaceholdersForRenderedBlocks(component) {
let newComponent = component;
// if we encounter a pagebuilder block, replace it with the server-side rendered html
if (component.get('tagName') === 'phpb-block') {
let id = component.attributes.attributes.id;
if (window.pageBlocks[window.currentLanguage][id] !== undefined && window.pageBlocks[window.currentLanguage][id]['html'] !== undefined) {
newComponent = component.replaceWith(window.pageBlocks[window.currentLanguage][id]['html']);
window.pageBlocks[window.currentLanguage][id]['html'] = '';
}
}
// replace placeholders inside child components
newComponent.get('components').each(childComponent => replacePlaceholdersForRenderedBlocks(childComponent));
}
/**
* Function for denying edit access to this component and all children that belong to the layout.
*
* @param component
*/
function denyAccessToLayoutElements(component) {
if ('phpb-content-container' in component.attributes.attributes) return;
disableAllEditFunctionality(component);
// apply restrictions to child components
component.get('components').each(component => denyAccessToLayoutElements(component));
}
/**
* Component select handler.
*/
window.editor.on('component:selected', function(component) {
// if the component has settings, activate settings panel in pagebuilder sidebar
if (componentHasBlockSettings(component)) {
$(".gjs-pn-buttons .gjs-pn-btn:nth-of-type(2)").click();
}
else if (component.get('type') === '' && componentHasBackground(component)) {
// on selecting a default component without settings, with editable background, show background styling
$(".gjs-pn-buttons .gjs-pn-btn:nth-of-type(3)").click();
if ($("#gjs-sm-position").hasClass("gjs-sm-open")) {
$("#gjs-sm-position").find(".gjs-sm-title").click();
}
if (! $("#gjs-sm-background").hasClass("gjs-sm-open")) {
$("#gjs-sm-background").find(".gjs-sm-title").click();
}
}
// if component has no settings, add no settings text to settings panel in sidebar
if (! componentHasBlockSettings(component)) {
setTimeout(function() {
$(".gjs-trt-traits").html('<p class="no-settings">' + window.translations['trait-manager']['no-settings'] + '</p>');
}, 0);
}
// only show the toolbar buttons that are applicable
setTimeout(function() {
if (! component.attributes.removable) {
$(".gjs-toolbar .fa-trash-o.gjs-toolbar-item").hide();
}
if (! component.attributes.copyable) {
$(".gjs-toolbar .fa-clone.gjs-toolbar-item").hide();
}
if (! component.attributes.draggable) {
$(".gjs-toolbar .fa-arrows.gjs-toolbar-item").hide();
}
if (! component.attributes.removable && ! component.attributes.copyable && ! component.attributes.draggable) {
window.editor.select(component.parent());
}
let blockSlug = component.attributes['block-slug'];
if (blockSlug) {
let labelHtml = window.themeBlocks[blockSlug]['label'];
let labelTextParts = labelHtml.split("</div>");
if (labelTextParts.length > 1) {
$(".gjs-toolbar").attr('title', "Bloknaam: " + labelTextParts[1]);
}
}
}, 0);
});
/**
* Component clone handler.
*/
window.editor.on('component:clone', function(component) {
// if the clone is performed by the user, do not copy the block id and style identifier
if (! isCloningFromScript) {
let originalComponent = window.editor.getWrapper().find('.' + component.attributes['style-identifier'])[0];
if (component.attributes['style-identifier'] !== undefined && component.attributes['style-identifier'] !== '') {
component.removeClass(component.attributes['style-identifier']);
delete component.attributes['style-identifier'];
addUniqueClass(component);
}
component.attributes['block-id'] = component.attributes['block-slug'];
// pass a reference of the scripts of the original component to run on the cloned component
if (originalComponent && window.customBuilderScripts[originalComponent.attributes['block-id']] !== undefined) {
component.attributes['run-builder-script'] = originalComponent.attributes['block-id'];
}
}
});
/**
* Return whether the given component contains a CSS background, that should be editable.
*
* @param component
* @returns {boolean}
*/
function componentHasBackground(component) {
let hasBackground = false;
let componentElement = component.getEl();
if (componentElement && componentElement.style) {
let componentStyle = window.getComputedStyle(componentElement);
['background', 'background-image', 'background-color'].forEach(property => {
let value = componentStyle.getPropertyValue(property);
if (value !== undefined && value !== '' && ! value.includes('none') && ! value.includes('rgba(0, 0, 0, 0)')) {
hasBackground = true;
}
});
}
return hasBackground;
}
/**
* Return whether the given component has settings defined in its block config file.
*
* @param component
* @returns {boolean}
*/
function componentHasBlockSettings(component) {
return component.attributes.traits.length > 0;
}
/**
* On dropping a component on the canvas, apply attributes of the container phpb-block element with configuration passed
* from the server and restrict edit access to editable components.
*/
window.editor.on('block:drag:stop', function(droppedComponent) {
// ensure component drop was successful
if (! droppedComponent || ! droppedComponent.attributes || ! droppedComponent.attributes.attributes) return;
let draggedBlockId = generateId();
droppedComponent.attributes.attributes['dropped-component-id'] = draggedBlockId;
let parent = droppedComponent.parent();
applyBlockAttributesToComponents(droppedComponent);
// at this point droppedComponent is replaced in the DOM by the actual component (without the phpb-block element),
// so we need to find the dropped component again in the context of its parent
parent.components().each(function(child) {
if (child.attributes['dropped-component-id'] === draggedBlockId) {
delete child.attributes['dropped-component-id'];
droppedComponent = child;
}
});
restrictEditAccess(droppedComponent);
window.runScriptsOfComponentAndChildren(droppedComponent);
});
/**
* Apply the block attributes which are stored in <phpb-block> elements to the top-level html element inside the block.
* If the block starts with multiple top-level html elements, add a div element wrapping the block's top-level elements.
*
* @param component
*/
function applyBlockAttributesToComponents(component) {
if (component.attributes.tagName === 'phpb-block') {
let container = component.parent();
let clone = cloneComponent(component);
// since component is a <phpb-block> that should be removed and replaced by its children,
// the component's parent's child that has the id of the <phpb-block> component needs to be replaced
let blockRootComponent;
if (component.attributes.attributes['is-html'] === 'false') {
container.components().each(function(componentSibling) {
if (componentSibling.cid === component.cid) {
// replace the <phpb-block> by the actual component
// the component is wrapped with a wrapper element to allow block styling (via a unique .style-identifier selector)
let wrapperElement = ('wrapper' in component.attributes.attributes) ? component.attributes.attributes['wrapper'] : 'div';
blockRootComponent = component.replaceWith({tagName: wrapperElement});
blockRootComponent.attributes['is-style-wrapper'] = true;
clone.components().each(function(componentChild) {
blockRootComponent.append(cloneComponent(componentChild));
});
}
});
} else {
container.components().each(function(componentSibling) {
if (componentSibling.cid === component.cid) {
// if the <phpb-block> has one direct child, replace it by its only child
// else, replace it by a wrapper div to allow block styling (via a unique .style-identifier selector)
if (clone.components().length === 1) {
let firstChild = cloneComponent(clone.components().models[0]);
blockRootComponent = component.replaceWith(firstChild);
} else {
blockRootComponent = component.replaceWith({tagName: 'div'});
blockRootComponent.attributes['is-style-wrapper'] = true;
clone.components().each(function(componentChild) {
blockRootComponent.append(cloneComponent(componentChild));
});
}
}
});
}
component.remove();
copyAttributes(clone, blockRootComponent, true, false);
// add all settings of this component to the settings panel in the sidebar
addSettingsToSidebar(blockRootComponent);
// recursive call to find and replace <phpb-block> elements of nested blocks (loaded via shortcodes)
applyBlockAttributesToComponents(blockRootComponent);
} else {
component.components().each(function(childComponent) {
// recursive call to find and replace <phpb-block> elements of nested blocks (loaded via shortcodes)
applyBlockAttributesToComponents(childComponent);
});
}
}
/**
* Get the current setting values for the given component.
*
* @param component
*/
function getCurrentSettingValues(component) {
// Block settings are stored in window.pageBlocks in a structure starting with each root block (the first ancestor that does not have a dynamic parent itself).
// So, we need to find the root of the given component and store all block ids along the way, in order to traverse the pageBlocks structure to the settings of the given component.
// These block ids are only unique in the context of their parent (we can have multiple instances of the same nested block structure), so we call them relative IDs.
let relativeIds = [];
// get the root component of the given component (its first ancestor that does not have a dynamic parent itself or the block that is inside a blocks container)
let rootComponent = component;
let hasDynamicAncestor = false;
while (rootComponent.parent() &&
rootComponent.parent().attributes.attributes['phpb-blocks-container'] === undefined &&
rootComponent.parent().attributes['is-html'] !== 'true' &&
rootComponent.parent().attributes.attributes['phpb-content-container'] === undefined
) {
if (rootComponent.parent().attributes['is-html'] === 'false') {
hasDynamicAncestor = true;
}
if (rootComponent.attributes['block-id'] !== undefined) {
relativeIds.push(rootComponent.attributes['block-id']);
}
rootComponent = rootComponent.parent();
}
let rootId = component.attributes['block-id'];
if (hasDynamicAncestor) {
rootId = rootComponent.attributes['block-id'];
} else {
relativeIds = [];
}
// get the component settings by traversing the pageBlocks structure
let settings = window.pageBlocks[window.currentLanguage][rootId];
relativeIds.reverse().forEach(function(relativeId) {
if (settings === undefined || settings.blocks === undefined || settings.blocks[relativeId] === undefined) {
settings = {};
} else {
settings = settings.blocks[relativeId];
}
});
// return the values stored in the current component's settings structure
let settingsValues = {};
if (settings !== undefined && settings.settings !== undefined && settings.settings.attributes !== undefined) {
settingsValues = settings.settings.attributes;
}
return settingsValues;
}
/**
* Add all settings from the block's config file to the given component,
* to allow them to be changed in the settings side panel.
*
* @param component
*/
function addSettingsToSidebar(component) {
if (window.blockSettings[component.attributes['block-slug']] === undefined) {
return;
}
component.attributes.settings = {};
let settingValues = getCurrentSettingValues(component);
// set style identifier class to the block wrapper, if an identifier has been stored during earlier getDataInStorageFormat calls
if (settingValues['style-identifier'] !== undefined) {
component.addClass(settingValues['style-identifier']);
}
// for each setting add a trait to the settings sidebar panel with the earlier stored or default value
component.attributes['is-updating'] = true;
let settings = window.blockSettings[component.attributes['block-slug']];
settings.forEach(function(setting) {
let trait = component.addTrait(setting);
if (settingValues[setting['name']] !== undefined) {
trait.setTargetValue(settingValues[setting['name']]);
} else if (setting['default-value'] !== undefined) {
trait.setTargetValue(setting['default-value']);
}
});
component.attributes['is-updating'] = false;
}
/**
* On updating an attribute (block setting from the settings side panel), refresh dynamic block via Ajax.
*/
window.editor.on('component:update', function(component) {
if (window.isLoaded !== true ||
component.attributes['block-slug'] === undefined ||
component.attributes['is-updating'] ||
component.changed['attributes'] === undefined ||
$(".gjs-frame").contents().find("#" + component.ccid).length === 0
) {
return;
}
// dynamic pagebuilder blocks can depend on data passed by dynamic parent blocks,
// so we need to update the closest parent which does not have a dynamic parent itself or the block that is inside a blocks container.
// also keep track of all intermediate block ids, for re-selecting the currently selected component.
let relativeIds = [];
let ancestorToUpdate = component;
let hasDynamicAncestor = false;
while (ancestorToUpdate.parent() &&
ancestorToUpdate.parent().attributes.attributes['phpb-blocks-container'] === undefined &&
ancestorToUpdate.parent().attributes['is-html'] !== 'true' &&
ancestorToUpdate.parent().attributes.attributes['phpb-content-container'] === undefined
) {
if (ancestorToUpdate.parent().attributes['is-html'] === 'false') {
hasDynamicAncestor = true;
}
if (ancestorToUpdate.attributes['block-id'] !== undefined) {
relativeIds.push(ancestorToUpdate.attributes['block-id']);
}
ancestorToUpdate = ancestorToUpdate.parent();
}
if (hasDynamicAncestor) {
component = ancestorToUpdate;
} else {
relativeIds = [];
}
component.attributes['is-updating'] = true;
$(".gjs-frame").contents().find("#" + component.ccid).addClass('gjs-freezed');
let container = window.editor.getWrapper().find("#" + component.ccid)[0].parent();
let data = window.getComponentDataInStorageFormat(component);
// refresh component contents with updated version requested via ajax call
$.ajax({
type: "POST",
url: window.renderBlockUrl,
data: {
data: JSON.stringify(data),
language: window.currentLanguage
},
success: function(blockHtml) {
let blockId = $(blockHtml).attr('block-id');
// set the block settings for the updated component to the new values
window.pageBlocks[window.currentLanguage][blockId] = (data.blocks[blockId] === undefined) ? {} : data.blocks[blockId];
// replace old component for the rendered html returned by the server
component.replaceWith(blockHtml);
replacePlaceholdersForRenderedBlocks(container);
applyBlockAttributesToComponents(container);
restrictEditAccess(container, false, false);
// run builder scripts of the replaced component and all its children
let replacedComponent = findChildViaBlockIdsPath(container, [blockId]);
runScriptsOfComponentAndChildren(replacedComponent);
// select the component that was selected before the ajax call
relativeIds.push(blockId);
let componentToSelect = findChildViaBlockIdsPath(container, relativeIds.reverse());
window.editor.select(componentToSelect);
},
error: function() {
$(".gjs-frame").contents().find("#" + component.ccid).removeClass('gjs-freezed');
component.attributes['is-updating'] = false;
window.toastr.error(window.translations['toastr-component-update-failed']);
}
});
});
/**
* Traverse the children of the given component via the given path of block IDs
* and return the component with the last ID from the list.
*
* @param component
* @param blockIds
* @returns {null|*}
*/
function findChildViaBlockIdsPath(component, blockIds) {
if (blockIds.length === 0) {
return component;
}
let result = null;
component.components().each(function(child) {
if (child.attributes['block-id'] === blockIds[0]) {
result = findChildViaBlockIdsPath(child, blockIds.slice(1));
return false;
}
});
component.components().each(function(child) {
let childResult = findChildViaBlockIdsPath(child, blockIds);
if (childResult !== null) {
result = childResult;
return false;
}
});
return result;
}
/**
* Clone the given component (while preserving all attributes, like IDs).
*
* @param component
*/
let isCloningFromScript = false;
window.cloneComponent = function(component) {
isCloningFromScript = true;
let clone = component.clone();
deepCopyAttributes(component, clone);
isCloningFromScript = false;
return clone;
};
/**
* Apply the attributes of the given component and its children to each corresponding component of the given clone.
*
* @param component
* @param clone
*/
function deepCopyAttributes(component, clone) {
// apply all attributes from component to clone
copyAttributes(component, clone, false, true);
// apply attributes from component's children to clone's children
for (let index = 0; index < component.components().length; index++) {
let componentChild = component.components().models[index];
let cloneChild = clone.components().models[index];
deepCopyAttributes(componentChild, cloneChild);
}
}
/**
* Apply the attributes of the given component to the given target component.
*
* @param component
* @param targetComponent
* @param copyGrapesAttributes whether all GrapesJS component attributes (like permissions) should be copied
* @param copyHtmlElementAttributes whether the html element attributes should be copied
*/
function copyAttributes(component, targetComponent, copyGrapesAttributes, copyHtmlElementAttributes) {
let componentAttributes = component.attributes.attributes;
for (let attribute in componentAttributes) {
if (copyHtmlElementAttributes) {
targetComponent.attributes.attributes[attribute] = componentAttributes[attribute];
}
if (copyGrapesAttributes) {
targetComponent.attributes[attribute] = componentAttributes[attribute];
}
}
}
/**
* Function for only allowing edit access on whitelisted components.
*
* @param component
* @param directlyInsideDynamicBlock
* @param allowEditableComponents
*/
function restrictEditAccess(component, directlyInsideDynamicBlock = false, allowEditableComponents = true) {
disableAllEditFunctionality(component);
if (component.attributes.attributes['phpb-content-container'] !== undefined) {
// the content container of the current page can receive other components
component.set({
droppable: true,
hoverable: true,
});
} else if (component.attributes['block-slug'] !== undefined) {
// change visibility of child elements that depend on whether this block is editable
component.find('[phpb-hide-if-not-editable]').forEach((element) => {
if (allowEditableComponents || window.afterInitialRendering) {
element.addClass('editable');
} else {
element.removeClass('editable');
}
});
// we just entered a new block, set default permissions
let permissions = {
selectable: true,
hoverable: true,
};
if (! directlyInsideDynamicBlock) {
// the block we entered is not located directly inside a dynamic block, hence this block can be removed, dragged, configured and styled
permissions = {
removable: true,
draggable: true,
copyable: true,
selectable: true,
hoverable: true,
stylable: true,
};
// for styling this particular block, the block needs to have a unique class
addUniqueClass(component);
}
if (component.attributes['is-html'] === 'true') {
// the block we just entered is an html block,
// the next layer of child blocks are not directly inside a dynamic block
directlyInsideDynamicBlock = false;
// in an html block, editing elements (based on their html tag) is allowed
allowEditableComponents = true;
} else {
// the block we just entered is dynamic,
// the next layer of child blocks are directly inside a dynamic block
directlyInsideDynamicBlock = true;
// in a dynamic block, editing elements (based on their html tag) is not allowed
allowEditableComponents = false;
// dynamic blocks do not have text-editable components, so remove text cursors
component.getEl().setAttribute('data-cursor', 'default');
}
component.set(permissions);
}
// for raw content components, set editable to true and ignore processing editability for any child component
if (component.attributes.attributes['data-raw-content'] !== undefined) {
component.set({editable: true});
return;
}
// set editable access based on tags, styling or html class attribute
if (allowEditableComponents) {
allowEditBasedOnComponentAttributes(component);
// if the component is made text-editable, re-add the raw html contents
// to ensure the text editor does not deal with elements with attributes added by GrapesJS
if (component.attributes['made-text-editable'] === 'true') {
component.attributes.attributes['data-raw-content'] = 'true';
// refresh the current component in order to switch its component type to raw-content.
// this disables GrapesJS parsing of any child elements, avoiding that any GrapesJS specific html attributes are added
let newComponent = component.replaceWith(component.toHTML());
// copy important attributes from the original component to the refreshed component
['block-id', 'block-slug', 'is-html', 'style-identifier'].forEach(attribute => {
newComponent.attributes[attribute] = component.attributes[attribute];
});
// apply block/component edit restrictions to the new raw-content type version of the component
restrictEditAccess(newComponent);
return;
}
}
// apply edit restrictions to child components
component.get('components').each(component => restrictEditAccess(component, directlyInsideDynamicBlock, allowEditableComponents));
}
/**
* Set the given component's editability based on which tag the component represents,
* which attributes are set or which styling is applied.
*
* @param component
* @returns {boolean}
*/
function allowEditBasedOnComponentAttributes(component) {
let htmlTag = component.get('tagName');
let textEditableTags = [
//'div','span', // needed for editable bootstrap alert, but cannot be used since divs (block containers) then cannot be removed
'h1','h2','h3','h4','h5','h6','h7',
'p','small','b','strong','i','em','label','button',
'ol', 'ul','li','table'
];
let otherEditableTags = [
'img'
];
let settings = {};
if ('phpb-blocks-container' in component.attributes.attributes) {
settings.hoverable = true;
settings.selectable = true;
settings.droppable = true;
}
if (textEditableTags.includes(htmlTag) || 'phpb-editable' in component.attributes.attributes) {
settings.editable = true;
component.attributes['made-text-editable'] = 'true';
} else if (otherEditableTags.includes(htmlTag)) {
settings.editable = true;
}
if (componentHasBackground(component)) {
settings.hoverable = true;
settings.selectable = true;
settings.stylable = true;
}
if (htmlTag === 'a') {
settings.hoverable = true;
settings.selectable = true;
settings.stylable = true;
settings.removable = true;
}
if (! $.isEmptyObject(settings)) {
component.set(settings);
if (settings.stylable !== undefined && settings.stylable) {
addUniqueClass(component);
}
}
}
/**
* Add a unique class to this component to ensure style only applies to this component instance.
*
* @param component
*/
function addUniqueClass(component) {
// get component identifier class if one is already added to the component's html when saving the pagebuilder previously
let componentIdentifier = false;
component.getClasses().forEach(componentClass => {
if (componentClass.startsWith('ID') && componentClass.length === 16) {
componentIdentifier = componentClass;
}
});
if (component.attributes['style-identifier'] === undefined) {
component.attributes['style-identifier'] = componentIdentifier ? componentIdentifier : generateId();
}
component.addClass(component.attributes['style-identifier']);
}
/**
* Disable all edit functionality on the given component.
*
* @param component
*/
function disableAllEditFunctionality(component) {
component.set({
removable: false,
draggable: false,
droppable: false,
badgable: false,
stylable: false,
highlightable: false,
copyable: false,
resizable: false,
editable: false,
layerable: false,
selectable: false,
hoverable: false
});
}
/**
* Generate a unique id string.
*
* Based on: https://gist.github.com/gordonbrander/2230317
*/
let counter = 0;
function generateId() {
return 'ID' + (Date.now().toString(36)
+ Math.random().toString(36).substr(2, 5) + counter++).toUpperCase();
}
/**
* Wait for GrapesJS to be fully loaded before trying to load the components in the page builder.
*/
function waitForGrapesToLoad() {
if (window.grapesJSLoaded) {
afterGrapesJSLoaded();
} else {
setTimeout(waitForGrapesToLoad, 100);
}
}
waitForGrapesToLoad();
})();
@@ -0,0 +1,14 @@
/* disable ctrl + s, since this is handled in iframe parent */
window.addEventListener('keydown', function(e) {
if (e.ctrlKey && e.key === 's') {
e.preventDefault();
return false;
}
});
/* post message to iframe parent that page has been loaded */
window.parent.postMessage("page-loaded", '*');
document.addEventListener('touchstart', e => {
window.parent.postMessage("touch-start", '*');
});
@@ -0,0 +1,87 @@
$(document).ready(function() {
$(".gjs-editor").append($("#toggle-sidebar"));
$(".gjs-pn-panels").prepend($("#sidebar-header"));
$(".gjs-pn-panels").append($("#sidebar-bottom-buttons"));
$("#toggle-sidebar").click(function() {
$("#gjs").toggleClass('sidebar-collapsed');
triggerEditorResize();
});
autoCollapseSidebar();
window.editor.on('run:open-sm', function(editor) {
$(".gjs-trt-traits").parent().parent().css('display', 'none');
$(".gjs-sm-sectors").parent().parent().css('display', 'block');
// move element classes editor to advanced section
$("#gjs-sm-advanced .gjs-sm-properties").append($(".gjs-clm-tags"));
});
window.editor.on('run:open-tm', function(editor) {
$(".gjs-sm-sectors").parent().parent().css('display', 'none');
$(".gjs-trt-traits").parent().parent().css('display', 'block');
});
window.editor.on('block:drag:start', function(block) {
autoCollapseSidebar();
});
window.editor.on('rteToolbarPosUpdate', function(toolbarPosition) {
if (! window.editor || ! window.editor.getSelected()) return;
let selectedDomComponent = window.editor.getSelected().getEl();
if (! selectedDomComponent) return;
setTimeout(function() {
let $toolbar = $(".gjs-rte-toolbar").first();
let toolbarInUpperHalf = $toolbar.offset().top < (toolbarPosition.elementTop + (0.5 * toolbarPosition.elementHeight));
if (toolbarInUpperHalf) {
let newTop = toolbarPosition.elementTop - $toolbar.height();
if (newTop > 0) {
$toolbar.css('top', newTop + 'px');
} else {
//$toolbar.css('top', (toolbarPosition.elementTop + toolbarPosition.elementHeight) + 'px');
}
}
}, 0);
});
function autoCollapseSidebar() {
if ($(window).width() < 1000) {
$("#gjs").addClass('sidebar-collapsed');
triggerEditorResize();
}
}
function triggerEditorResize() {
window.editor.trigger('change:canvasOffset canvasScroll');
}
// prevent exiting page builder with backspace button
let backspaceIsPressed = false;
$(document).keydown(function(event) {
if (event.which === 8) backspaceIsPressed = true;
}).keyup(function(event) {
if (event.which === 8) backspaceIsPressed = false;
});
$(window).on('beforeunload', function(event) {
if (backspaceIsPressed) event.preventDefault();
});
});
function addBlockSearch() {
$(".gjs-blocks-cs").prepend($("#block-search"));
}
// listen to messages from iframe
window.addEventListener("message", onMessage, false);
function onMessage(event) {
// if the page is loaded, remove loading element
if (event.data === 'page-loaded') {
$("#phpb-loading").addClass('loaded');
addBlockSearch();
window.isLoaded = true;
$(window).trigger('pagebuilder-page-loaded');
} else if(event.data === 'touch-start') {
window.touchStart();
}
}
@@ -0,0 +1,7 @@
$(document).ready(function() {
window.touchStart = function() {
$("#gjs").addClass('sidebar-collapsed');
}
});
@@ -0,0 +1,107 @@
(function() {
window.customBuilderScripts = {};
/**
* On instantiating the component model, before it is mounted in the canvas.
*/
window.editor.on('component:create', component => {
// extract the script tag of the given component (if it has one)
if (component.components().length) {
let lastChild = component.components().models[component.components().length - 1];
if (lastChild.attributes.type === 'script') {
let blockId = component.attributes.attributes['block-id'];
if (blockId === undefined) {
blockId = component.attributes.attributes['id'];
}
let rootComponent = lastChild;
let insideEditablePartOfPage = false;
while (rootComponent.parent()) {
rootComponent = rootComponent.parent();
if (rootComponent.attributes.attributes['phpb-content-container']) {
insideEditablePartOfPage = true;
break;
}
}
if (insideEditablePartOfPage) {
window.customBuilderScripts[blockId] = lastChild.toHTML();
lastChild.remove();
}
}
}
});
/**
* After mounting the component in the canvas.
*/
window.editor.on('component:add', function (component) {
// run the script that was set when creating this component
if (component.attributes['run-builder-script'] !== undefined) {
let originalCustomBuilderScripts = customBuilderScripts;
window.customBuilderScripts[component.attributes['block-id']] = customBuilderScripts[component.attributes['run-builder-script']];
runScriptsOfComponentAndChildren(component);
window.customBuilderScripts = originalCustomBuilderScripts;
delete component.attributes['run-builder-script'];
}
});
/**
* On ending a component order drag, re-run builder scripts on newly added HTMl.
*/
window.editor.on('sorter:drag:end', function(event) {
let component = event.modelToDrop;
if (component && component.attributes && (component.attributes['block-id'] || component.attributes['id'])) {
window.runScriptsOfComponentAndChildren(component);
}
// remove all existing CKEditors after dragging a block with active editor
for (let instanceName in CKEDITOR.instances) {
CKEDITOR.instances[instanceName].destroy(true);
}
});
/**
* Run the custom builder scripts of the given component and of all child components.
*
* @param component
*/
window.runScriptsOfComponentAndChildren = function(component) {
runComponentScript(component);
component.components().each(function(child) {
runScriptsOfComponentAndChildren(child);
});
}
/**
* Run the custom builder scripts of the given component.
*
* @param component
*/
function runComponentScript(component) {
let blockId = component.attributes['block-id'];
if (blockId === undefined) {
blockId = component.attributes.attributes['id'];
}
if (blockId && window.customBuilderScripts[blockId] !== undefined) {
let styleIdentifier = component.attributes["style-identifier"];
let $scriptTag = $("<container>").append(window.customBuilderScripts[blockId]);
// prepend block and blockSelector variables allowing the script to refer to this exact block instance
$scriptTag.find('script').prepend('let inPageBuilder = true;');
$scriptTag.find('script').prepend('let blockSelector = ".' + styleIdentifier + '";');
$scriptTag.find('script').prepend('let block = document.getElementsByClassName("' + styleIdentifier + '")[0];');
// wrap the script contents in a self-invoking function (to add a scope avoiding variable name collisions)
$scriptTag.find('script').prepend('(function(){');
$scriptTag.find('script').append('})();');
// execute the script in the page that is being edited
let scriptTag = document.createElement("script");
scriptTag.type = "text/javascript";
scriptTag.innerHTML = $scriptTag.find('script').html();
window.editor.Canvas.getDocument().body.appendChild(scriptTag);
}
}
})();
@@ -0,0 +1,484 @@
$(document).ready(function() {
window.pageData = {};
window.changesOffset = 0;
window.onbeforeunload = confirmExit;
function confirmExit() {
let changesCount = window.editor.getModel().get('changesCount') - window.changesOffset;
if (changesCount > 0) {
return "Are you sure? There are unsaved changes.";
}
}
/**
* Save page on clicking save button.
*/
$("#save-page").click(function() {
saveAllTranslationsToServer();
});
/**
* Save page on Ctrl + S.
*/
$(document).bind("keydown", function(e){
if(e.ctrlKey && e.which === 83) {
// text-editor updates are not applied until focus is lost, so force GrapesJS update
window.editor.store();
saveAllTranslationsToServer();
e.preventDefault();
return false;
}
});
/**
* Switch the pagebuilder to the given language.
* This stores the all data of the current language locally for later use and renders the given language variant on the server.
*
* @param newLanguage
* @param callback
*/
window.switchLanguage = function(newLanguage, callback) {
window.setWaiting(true);
saveCurrentTranslationLocally(function() {
applyChangesFromCurrentLanguageToNewLanguage(newLanguage);
let data = window.pageData;
data.blocks = {[newLanguage]: window.pageBlocks[newLanguage]};
// render the language variant server-side
$.ajax({
type: "POST",
url: window.renderLanguageVariantUrl,
data: {
data: JSON.stringify(data),
language: newLanguage
},
success: function(response) {
response = JSON.parse(response);
window.pageBlocks[newLanguage] = response.dynamicBlocks ? response.dynamicBlocks : {};
callback();
},
error: function(error) {
callback();
console.log(error);
let errorMessage = error.statusText + ' ' + error.status;
errorMessage = error.responseJSON.message ? (errorMessage + ': "' + error.responseJSON.message + '"') : errorMessage;
window.toastr.error(errorMessage);
window.toastr.error(window.translations['toastr-switching-language-failed']);
}
});
});
};
/**
* Copy new blocks of the current language to the new language or remove old blocks from the new language.
*
* @param newLanguage
*/
function applyChangesFromCurrentLanguageToNewLanguage(newLanguage) {
let newLanguageBlocks = window.pageBlocks[newLanguage];
let currentLanguageBlocks = window.pageBlocks[window.currentLanguage];
if (newLanguageBlocks === undefined) {
newLanguageBlocks = currentLanguageBlocks;
} else {
updateNestedBlocks(currentLanguageBlocks, newLanguageBlocks);
// copy missing blocks from the current language to the target language
for (let blockId in currentLanguageBlocks) {
if (newLanguageBlocks[blockId] === undefined) {
newLanguageBlocks[blockId] = currentLanguageBlocks[blockId];
}
}
}
// copy the content of blocks containers of the current language to the blocks containers of the new language
for (let blockId in currentLanguageBlocks) {
let $currentLanguageBlockHtmlDom = $("<container>" + currentLanguageBlocks[blockId]['html'] + "</container>");
let $newLanguageBlockHtmlDom = $("<container>" + newLanguageBlocks[blockId]['html'] + "</container>");
$currentLanguageBlockHtmlDom.find("[phpb-blocks-container]").each(function(index) {
let currentLanguageBlockContainerHtml = $(this).html();
$newLanguageBlockHtmlDom.find("[phpb-blocks-container]").eq(index).html(currentLanguageBlockContainerHtml);
});
newLanguageBlocks[blockId]['html'] = $newLanguageBlockHtmlDom.html();
}
window.pageBlocks[newLanguage] = newLanguageBlocks;
}
/**
* Replace phpb-blocks-container html snippets if a block of the current language already exists in the target language.
* This ensures all child blocks are present for all languages and they remain in the same order
*/
function updateNestedBlocks(currentLanguageBlocks, newLanguageBlocks) {
for (let blockId in currentLanguageBlocks) {
// skip if the parent block does not yet exist in the target language
if (newLanguageBlocks[blockId] === undefined) {
continue;
}
for (let subBlockId in currentLanguageBlocks[blockId].blocks) {
let updatedSubBlock = currentLanguageBlocks[blockId].blocks[subBlockId];
let oldSubBlock = newLanguageBlocks[blockId].blocks[subBlockId];
if (! updatedSubBlock || ! oldSubBlock) {
continue;
}
let updatedSubBlockMatches = updatedSubBlock.html.match(/phpb-blocks-container(.*)>(.*)</g);
let oldSubBlockMatches = oldSubBlock.html.match(/phpb-blocks-container(.*)>(.*)</g);
if (! updatedSubBlockMatches || ! oldSubBlockMatches) {
continue;
}
for (let i = 0; i < updatedSubBlockMatches.length; i++) {
newLanguageBlocks[blockId].blocks[subBlockId].html =
newLanguageBlocks[blockId].blocks[subBlockId].html.replace(oldSubBlockMatches[i], updatedSubBlockMatches[i]);
}
}
}
}
/**
* Store the all data of the current language locally for later use.
*
* @param callback
*/
function saveCurrentTranslationLocally(callback) {
// use timeout to ensure the waiting spinner is fully displayed before the page briefly freezes due to high JS workload
setTimeout(function() {
window.pageData = {
html: [],
components: [],
css: null,
style: null
};
window.pageBlocks[window.currentLanguage] = [];
// get the data of each page content container (so skip all layout blocks) and prepare data for being stored
window.editor.getWrapper().find("[phpb-content-container]").forEach((container, index) => {
let data = getContainerContentInStorageFormat(container);
window.pageData['css'] = data.css;
window.pageData['style'] = data.style;
window.pageData['html'][index] = data.html;
window.pageData['components'][index] = data.components;
window.pageBlocks[window.currentLanguage] = {...window.pageBlocks[window.currentLanguage], ...data.blocks};
window.contentContainerComponents[index] = data.components;
});
if (callback) {
callback();
}
}, 200);
}
/**
* Save the data of all translation variants on the server.
*/
function saveAllTranslationsToServer() {
toggleSaving();
saveCurrentTranslationLocally(function() {
// update all language variants with the latest data of the current language we just saved locally
$.each(window.languages, (languageCode, languageTranslation) => {
if (languageCode !== window.currentLanguage) {
applyChangesFromCurrentLanguageToNewLanguage(languageCode);
}
});
let data = window.pageData;
data.style = removeOldStyleSelectors(data.css, data.style);
data.blocks = window.pageBlocks;
$.ajax({
type: "POST",
url: $("#save-page").data('url'),
data: {
data: JSON.stringify(data)
},
success: function() {
toggleSaving();
window.toastr.success(window.translations['toastr-changes-saved']);
setTimeout(function() {
window.changesOffset = window.editor.getModel().get('changesCount');
}, 250);
},
error: function(error) {
toggleSaving();
console.log(error);
let errorMessage = error.statusText + ' ' + error.status;
errorMessage = error.responseJSON.message ? (errorMessage + ': "' + error.responseJSON.message + '"') : errorMessage;
window.toastr.error(errorMessage);
window.toastr.error(window.translations['toastr-saving-failed']);
}
});
});
}
/**
* Remove the style selectors that are not present in the given CSS string.
*/
function removeOldStyleSelectors(css, styleComponents) {
let updatedStyleComponents = [];
styleComponents.forEach(styleComponent => {
if (styleComponent.attributes.selectors.models.length) {
let selector = styleComponent.attributes.selectors.models[0].id;
if (css.includes(selector)) {
updatedStyleComponents.push(styleComponent);
}
}
});
return updatedStyleComponents;
}
/**
* Get the given component in storage format (in context of its container with all siblings removed).
*
* @param component
*/
window.getComponentDataInStorageFormat = function(component) {
// clone component's parent, enabling us to temporarily remove all component's siblings without updating the pagebuilder
let container = window.cloneComponent(component.parent());
// remove all component's siblings since we only want to return the given component in storage format
container.get('components').reset();
container.append(component);
return getContainerContentInStorageFormat(container);
};
/**
* Get the given container in storage format.
*
* @param container
*/
function getContainerContentInStorageFormat(container) {
// remove all existing references while cloning GrapesJS components,
// this prevents GrapesJS from changing our IDs due to ID collisions
let componentReferences = window.editor.DomComponents.componentsById;
window.editor.DomComponents.componentsById = [];
// we need to clone the container, since we will be replacing components with placeholders and we don't want to update the page builder
container = window.cloneComponent(container);
// replace each pagebuilder block for a shortcode and phpb-block element and return an array of all page blocks data
let blocksData = replaceDynamicBlocksWithPlaceholders(container).blocks;
let html = window.html_beautify(getContainerHtml(container));
let css = window.editor.getCss();
let style = window.editor.getStyle();
let components = JSON.parse(JSON.stringify(container.get('components')));
// switch back to original GrapesJS component references
window.editor.DomComponents.componentsById = componentReferences;
return {
html: html,
css: css,
components: components,
blocks: blocksData,
style: style,
}
}
/**
* Return the html representation of the contents of the given container.
*
* @param container
*/
function getContainerHtml(container) {
let html = '';
container.get('components').forEach(component => html += component.toHTML());
let htmlDom = $("<container>" + html + "</container>");
// replace phpb-block elements with shortcode
htmlDom.find('phpb-block').each(function() {
$(this).replaceWith('[block slug="' + $(this).attr('slug') + '" id="' + $(this).attr('id') + '"]');
});
return htmlDom.html();
}
/**
* Return the html representation of the given component.
*
* @param component
*/
function getComponentHtml(component) {
let htmlDom = $("<container>" + component.toHTML() + "</container>");
// replace phpb-block elements with shortcode
htmlDom.find('phpb-block').each(function() {
$(this).replaceWith('[block slug="' + $(this).attr('slug') + '" id="' + $(this).attr('id') + '"]');
});
return htmlDom.html();
}
/**
* Replace all blocks with is-html === false with a <phpb-block> component that contains all block attributes.
*
* @param component
* @param parentIsDynamic
* @param parentIsHtmlInsideDynamic
*/
function replaceDynamicBlocksWithPlaceholders(component, parentIsDynamic = false, parentIsHtmlInsideDynamic = false) {
// data structure to be filled with the data of nested blocks via recursive calls
let data = {
current_block: {settings: {}, blocks: {}, html: "", is_html: false},
blocks: {}
};
// update variables for passing context to the recursive calls on child components
let newParentIsDynamic = parentIsDynamic;
let newParentIsHtmlInsideDynamic = parentIsHtmlInsideDynamic;
if (component.attributes['block-id'] !== undefined) {
if (component.attributes['is-html'] === 'false') {
newParentIsDynamic = true;
newParentIsHtmlInsideDynamic = false;
} else if (parentIsDynamic) {
newParentIsDynamic = false;
newParentIsHtmlInsideDynamic = true;
}
}
// depth-first recursive call for replacing nested blocks (the deepest blocks are handled first)
component.get('components').forEach(function(childComponent) {
let childData = replaceDynamicBlocksWithPlaceholders(childComponent, newParentIsDynamic, newParentIsHtmlInsideDynamic);
// update data object with child data
for (let key in childData.current_block.blocks) { data.current_block.blocks[key] = childData.current_block.blocks[key]; }
for (let key in childData.blocks) { data.blocks[key] = childData.blocks[key]; }
});
// if the method is called with a cloned container (which does not have a parent), this top-level component does not need any changes
if (! component.parent()) {
return data;
}
// if the component is not a block, no replacements need to be done
if (component.attributes['block-id'] === undefined) {
return data;
}
// do the actual replacement of this component with a placeholder component
if (component.attributes['is-html'] === 'true') {
if (parentIsDynamic) {
// the full html content of html blocks directly inside a dynamic block should be stored in parent context using its block-id,
// this is important because a dynamic block defines block ids and this can collide with block ids hardcoded in other dynamic blocks
data.current_block['blocks'][component.attributes['block-id']] = {settings: {}, blocks: {}, html: window.html_beautify(getComponentHtml(component)), is_html: true};
} else {
// html blocks outside direct context of dynamic blocks should be stored as a block itself
// store the block's style-identifier
// this will be used as class in a wrapper around the dynamic block to give the block its styling
if (component.attributes['style-identifier'] !== undefined) {
data.current_block['settings']['attributes'] = {'style-identifier': component.attributes['style-identifier']};
}
// replace this html component by a shortcode with a unique id
let instanceId = component.attributes['block-id'];
if (! component.attributes['block-id'].startsWith('ID')) {
instanceId = generateId();
}
component.replaceWith({
tagName: 'phpb-block',
attributes: {
slug: component.attributes['block-slug'],
id: instanceId
}
});
// store the block data globally in the blocks array
data.blocks[instanceId] = {settings: data.current_block['settings'], blocks: {}, html: window.html_beautify(getComponentHtml(component)), is_html: true};
data.current_block = {settings: {}, blocks: {}, html: "", is_html: false};
}
} else {
// store the attributes set to this block using traits in the settings side panel
let attributes = {};
component.get('traits').each(function(trait) {
attributes[trait.get('name')] = trait.getTargetValue();
});
data.current_block['settings']['attributes'] = attributes;
// store the block's style-identifier
// this will be used as class in a wrapper around the dynamic block to give the block its styling
if (component.attributes['style-identifier'] !== undefined) {
data.current_block['settings']['attributes']['style-identifier'] = component.attributes['style-identifier'];
}
// replace this dynamic component by a shortcode with a unique id
let instanceId = component.attributes['block-id'];
if (! component.attributes['block-id'].startsWith('ID')) {
instanceId = generateId();
}
component.replaceWith({
tagName: 'phpb-block',
attributes: {
slug: component.attributes['block-slug'],
id: instanceId
}
});
// store data.current_block data inside data.blocks with the unique id we just generated
if (parentIsDynamic) {
// inside a dynamic block, the block data is passed to the context of its parent block (so current_block is used)
let currentBlockForParent = {settings: {}, blocks: {}, html: "", is_html: false};
currentBlockForParent['blocks'][component.attributes['block-id']] = data.current_block;
data.current_block = currentBlockForParent;
} else {
// outside dynamic blocks, the block data is globally stored in the blocks array
data.blocks[instanceId] = data.current_block;
data.current_block = {settings: {}, blocks: {}, html: "", is_html: false};
}
}
return data;
}
/**
* Generate a unique id string.
*
* Based on: https://gist.github.com/gordonbrander/2230317
*/
let counter = 0;
function generateId() {
return 'ID' + (Date.now().toString(36)
+ Math.random().toString(36).substr(2, 5) + counter++).toUpperCase();
}
/**
* Set the page builder waiting status.
*/
window.setWaiting = function(value) {
let wrapper = window.editor.DomComponents.getWrapper();
if (value) {
wrapper.addClass("gjs-waiting");
} else {
wrapper.removeClass("gjs-waiting");
}
};
/**
* Toggle the save button waiting status.
*/
function toggleSaving() {
let button = $("#save-page");
button.blur();
if (button.hasClass('waiting')) {
button.attr("disabled", false);
button.removeClass('waiting');
button.find('.spinner-border').addClass('d-none');
} else {
button.attr("disabled", true);
button.addClass('waiting');
button.find('.spinner-border').removeClass('d-none');
}
}
});

Some files were not shown because too many files have changed in this diff Show More