@vargov/mcp 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bim.js ADDED
@@ -0,0 +1,166 @@
1
+ // how_to_get_bim: the steps and the contents of the IFC4 / FBX files.
2
+ // Wording follows the public sources of the brand, not this server's own ideas:
3
+ // - en/llms.txt and llms.txt of vargov-ai-kb (sections "For architects and specifiers", "New in October 2026");
4
+ // - knowledge/ifc4-in-the-model-essay.md (IfcDiscreteAccessory, IfcLightFixture/IfcFurnishingElement, GUIDs);
5
+ // - knowledge/whats-new-2026-10.md (FBX, production brief, 1:1 drawing);
6
+ // - docs/ssylka-i-tekst-dlya-tz.md of the configurator (link keys; the "Share" button).
7
+ import { findEntry, hasMountScheme, kindNotes, mountSchemeNote } from './catalog.js';
8
+ import { getData } from './data.js';
9
+ import { dealerRouteLine } from './dealers.js';
10
+ function statusEn(code, kind, configurable, page) {
11
+ if (!configurable) {
12
+ return (`## ${code}: calculated individually\n\n` +
13
+ `The configurator does not calculate ${code}, so there is no IFC4 export, no FBX export, no PDF specification from the configurator and no 1:1 ceiling drawing for it, and the production brief cannot be started for it (360 of the 605 compositions open with a full calculation; this one is not among them). ` +
14
+ `Product page: ${page}. For a calculation contact the brand: info@vargov.ru, WhatsApp +7 916 537 33 52, Telegram @AntonVargov. ${dealerRouteLine('en')}\n`);
15
+ }
16
+ const lines = [`## ${code}: opens in the configurator with a full calculation (${kind})`, ''];
17
+ lines.push(`IFC4 (BIM) and FBX (3ds Max) are exported by the visitor; the PDF specification and the tender sheet come from the same "Documents" drawer.`);
18
+ lines.push(hasMountScheme(kind) ? `1:1 ceiling drawing: yes, from the production brief after the brief is started in production (see below).` : `1:1 ceiling drawing: no. ${mountSchemeNote(kind) ?? ''}`);
19
+ for (const n of kindNotes(code, kind))
20
+ lines.push(n);
21
+ lines.push('');
22
+ return lines.join('\n') + '\n';
23
+ }
24
+ function statusRu(code, kind, configurable, page) {
25
+ if (!configurable) {
26
+ return (`## ${code}: рассчитывается индивидуально\n\n` +
27
+ `Конфигуратор не рассчитывает ${code}: у этой композиции нет выгрузки IFC4 и FBX, нет PDF-спецификации из конфигуратора и нет монтажной схемы 1:1, ТЗ на производство для неё не заводится (с полным расчётом открываются 360 композиций из 605; этой среди них нет). ` +
28
+ `Карточка: ${page}. За расчётом — к бренду: info@vargov.ru, WhatsApp +7 916 537 33 52, Telegram @AntonVargov. ${dealerRouteLine('ru')}\n`);
29
+ }
30
+ const kindRu = { cloud: 'облако элементов', ribbon: 'лента', chain: 'цепочка', frame: 'композиция на каркасе', 'ready-scene': 'готовая сцена' };
31
+ const lines = [`## ${code}: открывается в конфигураторе с полным расчётом (${kindRu[kind ?? 'cloud'] ?? kind})`, ''];
32
+ lines.push('IFC4 (BIM) и FBX (3ds Max) посетитель выгружает сам; PDF-спецификация и тендерный лист — в том же ящике «Документы».');
33
+ if (hasMountScheme(kind))
34
+ lines.push('Монтажная схема 1:1: есть — со страницы ТЗ, после запуска ТЗ в производство (ниже).');
35
+ else if (kind === 'ribbon')
36
+ lines.push('Монтажной схемы 1:1 нет: у ленты нет облака элементов, устройство своё.');
37
+ else if (kind === 'frame')
38
+ lines.push('Монтажной схемы 1:1 нет: у элементов своих нитей к потолку нет — они висят на каркасе, а сам каркас подвешен к потолку; в IFC4 записано число подвесов каркаса (свойство SuspensionCount), но не их координаты, а сами точки видны на чертеже каркаса и на виде сбоку в конфигураторе.');
39
+ else if (kind === 'ready-scene')
40
+ lines.push('Монтажной схемы 1:1 нет: это настенное бра — композиция готовая, а не рассчитанная, раскладки нет, значит, нет и разметки потолка; точек крепления к потолку в IFC4 нет.');
41
+ if (kind === 'ribbon')
42
+ lines.push('Лента: длина и ширина плана и высота композиции читаются из ссылки; пластика ленты (волна/спираль) выбирается в конфигураторе; кнопка выгрузки FBX у ленты — в панели ленты.');
43
+ if (kind === 'chain')
44
+ lines.push('Цепочка: форма на сборку не влияет — её раскладывает свой движок.');
45
+ if (kind === 'frame')
46
+ lines.push('Каркас: число элементов конфигуратор считает по шагу и длине каркаса, руками его не ввести.');
47
+ if (kind === 'ready-scene')
48
+ lines.push('Готовая сцена: открывается как собственная 3D-модель; размеры плана в ссылке заменяются размером изделия; поля «Высота потолка» нет: в IFC4 модель ставится под потолок 2700 мм (значение по умолчанию), и в самом файле эта высота свойством не объявлена.');
49
+ if (code === 'LC0106')
50
+ lines.push('LC0106: вместо размеров плана конфигуратор берёт число медуз и просвет между ними (ключи jelly и jgap); w/l/h в ссылке для этой композиции не действуют.');
51
+ lines.push('');
52
+ return lines.join('\n') + '\n';
53
+ }
54
+ const GUIDE_EN = `# How to get the IFC4 (BIM) and FBX files of a Vargov®Design composition
55
+
56
+ **Scope.** The configurator (https://vargov.design, Russian copy https://configurator.vargov.ru) opens 360 of the 605 catalogue compositions with a full calculation: a 3D layout for the room, the ceiling fixing points, a PDF specification, a tender sheet, an IFC4 model for BIM and an FBX model for 3ds Max (verified 25 October 2026 against the configurator's open-skus.json and the catalogue dataset). The other compositions are calculated individually by the brand: they have no export and no 1:1 drawing. The site page of a composition that qualifies carries the line "IFC4 · PDF spec sheet · tender sheet — in the configurator".
57
+
58
+ ## Steps
59
+
60
+ 1. Open the configurator with the composition — a link from \`build_configurator_link\` already carries the plan dimensions, the ceiling height and the language (for example \`https://vargov.design/?sku=LC0599&w=1000&l=1000&ceil=3200&lang=en\`).
61
+ 2. Set the plan (Length × Width — the zone the composition is laid out in), the height of the cloud of elements, pick element sizes and colours, and choose the form of the composition at the step "Composition form". The configurator lays the elements out in 3D and counts the ceiling fixing points.
62
+ 3. Go to the step **"3D composition scheme"** and open the **"Documents"** drawer.
63
+ 4. Set the **ceiling height** in the field above the IFC button (default 2,700 mm — the room height, not a product size). It goes into the IFC4 file (the model is built under that ceiling, the fixing points sit on its plane, property CeilingHeight) and into AR; it does not change the layout, the mass or the specification. The ready scene LC0406-1 has no such field: its IFC4 model is placed under a 2,700 mm ceiling (the default), and the file does not declare that height as a property.
64
+ 5. Click **"Download IFC (BIM)"**. Right under it, click **"Download FBX (3ds Max)"**. A ribbon has its own export button, in the ribbon panel.
65
+ 6. The **"Share"** button copies a link that reopens the very same calculation (the address bar of the configurator does not reflect the state — use the copied link). The configurator's **"Fill in the spec"** button carries the composition into the online production brief (see below).
66
+
67
+ ## What is in the IFC4 file
68
+
69
+ - Schema IFC4. Lit elements are exported as \`IfcLightFixture\`, unlit ones as \`IfcFurnishingElement\` — the test is applied to the element, not to the article. Known exception: in LC0523 the light comes from backlight contours, so its elements go out as \`IfcFurnishingElement\`.
70
+ - Every point where the composition meets the ceiling is its own \`IfcDiscreteAccessory\` object in its own place, with the number of elements hanging from it and, where the mass is known, the estimated load on that point (a backlight-contour point carries a load of zero). Compositions on a frame hang from the frame, and the frame itself is suspended from the ceiling — the file records the number of frame suspensions (property SuspensionCount) but not their coordinates; the ready scene LC0406-1 is a wall sconce. Their files carry no ceiling fixing points (5 of the 360).
71
+ - The BIM properties — loads, mass, power, article codes — are in the IFC4 file (the FBX has none).
72
+ - What the IFC4 file does not contain: the cables and wires themselves (only the points where they reach the ceiling), the load-bearing frame, and the backlight contours.
73
+ - GUIDs are derived from the configuration: the same configuration always gives the same GUIDs, different ones give different GUIDs, so two compositions of one article combine in one federated model without clashes.
74
+ - The origin stays on the floor; the model is built for the stated ceiling height. On a non-Russian interface the names in the file are in English.
75
+ - There is no Revit family (.rfa) — the brand does not issue one. DXF drawings exist for the brand's production and dealers only.
76
+
77
+ ## What is in the FBX file
78
+
79
+ - The composition assembled, as separate objects, in millimetres; the suspension strands as solid bodies; the ceiling fixings as separate objects (one per ceiling hole: two strands meeting in one hole share one fixing; a strand that runs from the frame rather than from the ceiling carries none); the ceiling plane. Unlike IFC4, the FBX also carries the frame and the metal base.
80
+ - The origin is the ceiling and the composition hangs down (IFC4 keeps the origin on the floor).
81
+ - Colour and opacity carry over; there are no textures and no UVs; identical elements are copies of one geometry.
82
+ - No BIM properties: loads, mass, power and article codes stay in the IFC4 file.
83
+ - Plain import: the scale is declared inside the file, so a 1,500 mm composition opens as 1,500 mm whatever the system units are, and the importer itself turns it to the Z-up that 3ds Max expects.
84
+
85
+ ## 1:1 ceiling setting-out drawing (PDF)
86
+
87
+ - Comes from the online production brief, https://vargov.ru/en/specifications (Russian and English only): no sign-in and no registration, only the "Object" field is required; a saved brief opens by its own link with a key. Available right after saving: the "3D configuration" page, the brief as a PDF in Russian and English, and the FBX export. The brief carries no price — it is a production brief, not a quote and not an order.
88
+ - The 1:1 drawing **unlocks only after a manager starts the brief in production**; until then the button is inactive. It is preliminary: before the ceiling is set out it is confirmed by the production engineer, and that note is printed on the sheets.
89
+ - Four sheets — plotter and A4, each for the ceiling and for the floor; print at exactly 100 % (a 100 mm segment on the sheet is there to check with a ruler); the plotter sheet runs in one piece up to 5 m and is split beyond that.
90
+ - Exists for 345 of the 360 compositions: not for the 10 ribbons, not for the 4 compositions on a frame, not for the ready scene LC0406-1. Not issued to the client when the brief specifies mounting on the metal base: the base arrives with its holes and fixings already in place (with that mounting the brief offers one power option, 12 V through a driver).
91
+
92
+ ## Pages
93
+
94
+ - IFC4 export: https://vargov.ru/en/configurator/ifc4 · FBX export: https://vargov.ru/en/configurator/fbx
95
+ - How many ceiling mounting points a fitting needs: https://vargov.ru/en/guides/mounting-points
96
+ - Essay "The light fitting that never arrives in the model": https://raw.githubusercontent.com/vargov3-spec/vargov-ai-kb/main/knowledge/ifc4-in-the-model-essay.md
97
+ - Installation and wiring guides (PDF, eight languages): https://vargov.ru/en/installation
98
+ `;
99
+ const GUIDE_RU = `# Как получить IFC4 (BIM) и FBX композиции Vargov®Design
100
+
101
+ **Круг.** Конфигуратор (https://configurator.vargov.ru, международная площадка https://vargov.design) открывает с полным расчётом 360 композиций каталога из 605: 3D-раскладка под помещение, точки крепления к потолку, PDF-спецификация, тендерный лист, модель IFC4 для BIM и модель FBX для 3ds Max (проверено 25.10.2026 прогоном open-skus.json конфигуратора и датасета каталога). Остальные композиции бренд рассчитывает индивидуально: выгрузки и схемы 1:1 у них нет. На карточке композиции, которая открывается с расчётом, стоит строка «IFC4 · PDF-спецификация · тендерный лист — в конфигураторе».
102
+
103
+ ## Шаги
104
+
105
+ 1. Откройте конфигуратор с композицией — ссылка из \`build_configurator_link\` уже несёт размеры плана, высоту потолка и язык (например \`https://configurator.vargov.ru/?sku=LC0599&w=1000&l=1000&ceil=3200&lang=ru\`).
106
+ 2. Задайте план (Длина × Ширина — зона, в которой раскладывается композиция), высоту облака элементов, размеры и цвета элементов и выберите форму на шаге «Форма композиции». Конфигуратор раскладывает элементы в 3D и считает точки крепления к потолку.
107
+ 3. Перейдите на шаг **«3D схема композиции»** и откройте ящик **«Документы»**.
108
+ 4. Укажите **высоту потолка** в поле над кнопкой IFC (по умолчанию 2700 мм — высота помещения, не размер изделия). Она уходит в IFC4 (сборка под потолок, точки крепления на его плоскости, свойство CeilingHeight) и в AR; на раскладку, массу и спецификацию не влияет. У готовой сцены LC0406-1 этого поля нет: в IFC4 она ставится под потолок 2700 мм (значение по умолчанию), и в самом файле эта высота свойством не объявлена.
109
+ 5. Нажмите **«Скачать IFC (BIM)»**. Сразу под ней — **«Скачать FBX (3ds Max)»**. У ленты своя кнопка выгрузки — в панели ленты.
110
+ 6. Кнопка **«Поделиться»** копирует ссылку, которая открывает тот же расчёт (адресная строка конфигуратора состояние не отражает — берите скопированную ссылку). Кнопка **«Заполнить ТЗ»** переносит композицию в онлайн-ТЗ на производство (ниже).
111
+
112
+ ## Что лежит в файле IFC4
113
+
114
+ - Схема IFC4. Светящиеся элементы выгружаются классом \`IfcLightFixture\`, несветящиеся — \`IfcFurnishingElement\`; признак берётся по элементу, а не по артикулу. Известное исключение: у LC0523 свет дают контуры подсветки, поэтому её элементы уходят классом \`IfcFurnishingElement\`.
115
+ - Каждая точка, где композиция встречается с потолком, — свой объект \`IfcDiscreteAccessory\` на своём месте; на нём записано число элементов, которые на нём висят, и, когда масса известна, расчётная нагрузка на эту точку (у точки контура подсветки нагрузка нулевая). Композиции на каркасе висят на каркасе, а сам каркас подвешен к потолку — в файл уходит число подвесов каркаса (свойство SuspensionCount), но не их координаты; готовая сцена LC0406-1 — настенное бра. Точек крепления к потолку в их файлах нет (5 артикулов из 360).
116
+ - Свойства BIM — нагрузки, масса, мощность, коды артикулов — лежат в IFC4 (в FBX их нет).
117
+ - Чего в IFC4 нет: самих тросов и проводов (только точки, где они приходят в потолок), несущего каркаса и контуров подсветки.
118
+ - GUID строятся от конфигурации: одна и та же конфигурация даёт те же GUID, разные — разные, поэтому две композиции одного артикула сводятся в одну BIM-модель без совпадений.
119
+ - Начало координат — на полу; файл строится под заданную высоту потолка. На нерусском интерфейсе имена в файле английские.
120
+ - Библиотечного семейства Revit (.rfa) у бренда нет. Чертежи DXF — только для производства и дилеров бренда.
121
+
122
+ ## Что лежит в файле FBX
123
+
124
+ - Композиция в сборе отдельными объектами, в миллиметрах; нити подвеса — телами; потолочные крепления — отдельными объектами (одно крепление на каждое отверстие в потолке: две нити, сошедшиеся в одно отверстие, несут один узел; нить от каркаса крепления не несёт); плоскость потолка. В отличие от IFC4, в FBX есть каркас и металлическая база.
125
+ - Начало координат — потолок, композиция висит вниз (у IFC4 начало на полу).
126
+ - Цвет и прозрачность переносятся; текстур и UV нет; одинаковые элементы — копии одной геометрии.
127
+ - Свойств BIM нет: нагрузки, масса, мощность и коды артикулов остаются в IFC4.
128
+ - Вставляется обычным импортом: масштаб объявлен внутри файла, композиция 1500 мм открывается как 1500 мм при любых системных единицах, разворот в Z-вверх делает сам импортёр.
129
+
130
+ ## Монтажная схема разметки потолка 1:1 (PDF)
131
+
132
+ - Выдаётся страницей онлайн-ТЗ https://vargov.ru/specifications (только русский и английский): вход и регистрация не нужны, обязательно только поле «Объект»; сохранённое ТЗ открывается по своей ссылке с ключом. Сразу после сохранения доступны страница «3D-конфигурация», PDF ТЗ на русском и английском и выгрузка FBX. Цены в ТЗ нет — это техническое задание на производство, не заявка и не заказ.
133
+ - Схема 1:1 **открывается только после того, как менеджер запустит ТЗ в производство**; до этого кнопка неактивна. Схема предварительная: перед разметкой потолка её подтверждает технолог производства, и эта пометка напечатана на самих листах.
134
+ - Четыре листа — для плоттера и A4, каждый на потолок и на пол; печать строго 100 % (на листе отрезок 100 мм для проверки линейкой); лист плоттера идёт одним куском до 5 м, дальше режется.
135
+ - Есть у 345 из 360 композиций: нет у 10 лент, у 4 композиций на каркасе и у готовой сцены LC0406-1. Заказчику не выдаётся, если в ТЗ выбран монтаж на металлическую базу: база приходит с готовыми отверстиями и монтажными элементами (при таком монтаже подключение в ТЗ одно — 12 В через драйвер).
136
+
137
+ ## Страницы
138
+
139
+ - Выгрузка IFC4: https://vargov.ru/configurator/ifc4 · выгрузка FBX: https://vargov.ru/configurator/fbx
140
+ - Сколько точек крепления нужно светильнику: https://vargov.ru/guides/tochki-krepleniya
141
+ - Эссе «Светильник, который не доезжает до модели»: https://raw.githubusercontent.com/vargov3-spec/vargov-ai-kb/main/knowledge/ifc4-in-the-model-essay.md
142
+ - Монтаж и подключение (PDF на восьми языках): https://vargov.ru/installation
143
+ `;
144
+ export function bimGuide(codeInput, lang = 'en') {
145
+ const ru = lang === 'ru';
146
+ let head = '';
147
+ if (codeInput && codeInput.trim()) {
148
+ const e = findEntry(codeInput);
149
+ if (!e) {
150
+ head = ru
151
+ ? `## Код «${codeInput}» в каталоге не найден (LC0001…LC0602, у части артикулов суффикс -1/-2). Найдите код через search_compositions.\n\n`
152
+ : `## Code "${codeInput}" is not in the catalogue (LC0001…LC0602, some with a -1/-2 suffix). Find the code with search_compositions.\n\n`;
153
+ }
154
+ else {
155
+ const page = e.p.urls?.[ru ? 'ru' : 'en'] ?? '';
156
+ head = (ru ? statusRu : statusEn)(e.code, e.kind, e.configurable, page) + '\n';
157
+ }
158
+ }
159
+ return head + (ru ? GUIDE_RU : GUIDE_EN);
160
+ }
161
+ export function bimCounts() {
162
+ const d = getData();
163
+ const open = d.openSet.size;
164
+ const withScheme = [...d.openSet].filter((c) => hasMountScheme(d.byCode.get(c)?.kind ?? (d.ribbons.has(c) ? 'ribbon' : d.chains.has(c) ? 'chain' : d.frames.has(c) ? 'frame' : d.readyScenes.has(c) ? 'ready-scene' : 'cloud'))).length;
165
+ return { open, withScheme, ribbons: d.ribbons.size, frames: d.frames.size, readyScenes: d.readyScenes.size, chains: d.chains.size };
166
+ }
package/dist/brand.js ADDED
@@ -0,0 +1,137 @@
1
+ // brand_facts: a compact card of the brand. Numbers are computed from the bundled data
2
+ // (products.json, open-skus.json, organization.jsonld) so that they can be checked, not typed in.
3
+ import { bimCounts } from './bim.js';
4
+ import { CONFIGURATOR_INTL, CONFIGURATOR_RU, SITE } from './catalog.js';
5
+ import { FAMILIES, getData } from './data.js';
6
+ import { dealerForCountry } from './dealers.js';
7
+ const FAMILY_PAGES = {
8
+ lighting: 'lighting',
9
+ decorative: 'decorative',
10
+ 'sculptural-decor': 'sculptural-decor',
11
+ 'floor-table-lamps': 'floor-table-lamps',
12
+ };
13
+ export function brandFacts(lang = 'en') {
14
+ const d = getData();
15
+ const org = d.organization;
16
+ const person = d.person;
17
+ const store = d.store;
18
+ const counts = bimCounts();
19
+ const ru = lang === 'ru';
20
+ const families = Object.fromEntries(FAMILIES.map((f) => {
21
+ const items = d.products.filter((p) => p.category === f);
22
+ const label = items[0]?.category_label ?? { ru: f, en: f };
23
+ return [f, { count: items.length, label_ru: label.ru, label_en: label.en, page_ru: `${SITE}/${FAMILY_PAGES[f]}`, page_en: `${SITE}/en/${FAMILY_PAGES[f]}` }];
24
+ }));
25
+ const codes = d.products.map((p) => p.code).sort();
26
+ const awards = org?.award ?? [];
27
+ const awardsCount = awards.length;
28
+ // If the knowledge base ships references/brand-facts.json, pass it through under its own key — minus the
29
+ // `forbidden` wordings: they exist for the knowledge base's own checker, and an assistant reading them
30
+ // here could repeat the very phrases they forbid.
31
+ const extra = d.brandFacts ? { brand_facts_file: withoutKey(d.brandFacts, 'forbidden') } : {};
32
+ return {
33
+ name: org?.name ?? 'Vargov®Design',
34
+ alternate_names: org?.alternateName ?? ['Vargov Design', 'VARGOV'],
35
+ description: org?.description,
36
+ founded: org?.foundingDate,
37
+ founder: person ? { name: person.name, name_ru: person.alternateName, title: person.jobTitle, page: person.url, links: person.sameAs } : undefined,
38
+ made_to_order: ru
39
+ ? 'Каждая композиция собирается под конкретный интерьер: масштаб и геометрия подстраиваются под пространство. Цены, материалы и размеры композиций не публикуются; стоимость — по заявке.'
40
+ : 'Every composition is assembled for a specific interior; its scale and geometry are adjusted to the space. Prices, materials and composition dimensions are not published; a quote comes per request.',
41
+ catalogue: {
42
+ compositions: d.products.length,
43
+ code_range: `${codes[0]}…${codes[codes.length - 1]}`,
44
+ families,
45
+ page_ru: `${SITE}/catalog`,
46
+ page_en: `${SITE}/en/catalog`,
47
+ product_page_pattern: `${SITE}/en/catalog/<code in lower case> (Russian: ${SITE}/catalog/<code>)`,
48
+ },
49
+ configurator: {
50
+ url_international: CONFIGURATOR_INTL,
51
+ url_russian: CONFIGURATOR_RU,
52
+ compositions_with_full_calculation: counts.open,
53
+ compositions_with_1to1_ceiling_drawing: counts.withScheme,
54
+ without_1to1_drawing: { ribbons: counts.ribbons, on_frame: counts.frames, ready_scenes: counts.readyScenes },
55
+ exports_by_the_visitor: ['IFC4 model (BIM)', 'FBX model (3ds Max)', 'PDF specification', 'tender sheet'],
56
+ production_brief: ru ? `${SITE}/specifications` : `${SITE}/en/specifications`,
57
+ llms: 'https://vargov.design/llms.txt',
58
+ ifc4_page: ru ? `${SITE}/configurator/ifc4` : `${SITE}/en/configurator/ifc4`,
59
+ fbx_page: ru ? `${SITE}/configurator/fbx` : `${SITE}/en/configurator/fbx`,
60
+ },
61
+ awards: {
62
+ count: awardsCount,
63
+ wording_en: `${awardsCount} awards from international juries`,
64
+ wording_ru: `${awardsCount} достижений на международных премиях`,
65
+ note: ru
66
+ ? 'Среди них — номинация Awwwards 2026 за 3D-конфигуратор (номинация, не победа) и членство Антона Варгова в High Jury премии ADD Awards 2024.'
67
+ : 'Among them: an Awwwards 2026 nomination for the 3D configurator (a nomination, not a win) and Anton Vargov\'s High Jury membership at ADD Awards 2024.',
68
+ page: ru ? `${SITE}/awards` : `${SITE}/en/awards`,
69
+ verified_list: 'https://raw.githubusercontent.com/vargov3-spec/vargov-ai-kb/main/knowledge/awards-verified.md',
70
+ list: awards,
71
+ },
72
+ certification: {
73
+ summary: ru
74
+ ? 'Два серийных сертификата ТР ЕАЭС (ТР ТС 004/2011, 020/2011) и две декларации ТР ЕАЭС 037/2016 на 310 артикулов LC, знак EAC, действуют до 2031 года; сертификат серийный — покрывает каждое изделие артикула, а не партию.'
75
+ : 'Two EAEU serial certificates (TR CU 004/2011, 020/2011) and two TR EAEU 037/2016 declarations covering 310 LC articles, EAC mark, valid until 2031; serial scope means every unit of a listed article is covered, not a single batch.',
76
+ page: ru ? `${SITE}/certification` : `${SITE}/en/certification`,
77
+ certified_in_dataset: d.products.filter((p) => p.cert).length,
78
+ },
79
+ trademarks: org?.identifier?.map((i) => ({ registry: i.propertyID, number: i.value, url: i.url })),
80
+ showroom: store
81
+ ? {
82
+ name: store.name,
83
+ address: store.address ? `${store.address.streetAddress}, ${store.address.addressLocality}, ${store.address.postalCode ?? ''} ${store.address.addressCountry}`.trim() : undefined,
84
+ address_en: '24 Nakhimovsky Prospekt, bldg. 1, Pavilion 2, Stand 212, Moscow',
85
+ hours: store.openingHoursSpecification?.map((h) => `${h.dayOfWeek.length === 7 ? 'daily' : h.dayOfWeek.join(', ')} ${h.opens}–${h.closes}`),
86
+ telephone: store.telephone,
87
+ page: ru ? `${SITE}/showroom` : `${SITE}/en/showroom`,
88
+ maps: store.hasMap,
89
+ }
90
+ : undefined,
91
+ contacts: {
92
+ email: org?.email,
93
+ whatsapp: org?.telephone,
94
+ telegram_requests: '@AntonVargov (https://t.me/AntonVargov)',
95
+ telegram_channel: '@vargov_design (https://t.me/vargov_design)',
96
+ },
97
+ dealers: {
98
+ who_supplies_and_installs: dealerForCountry(undefined, lang).who_supplies_and_installs,
99
+ regions: dealerForCountry(undefined, lang).regions,
100
+ by_country: 'dealer_for_country tool: the regional dealer for a country (name in English or Russian, or ISO code)',
101
+ official_dealers_page: ru ? `${SITE}/official-dealers` : `${SITE}/en/official-dealers`,
102
+ installations_page: ru ? `${SITE}/official-dealers` : `${SITE}/en/official-dealers`,
103
+ installations_list: 'https://raw.githubusercontent.com/vargov3-spec/vargov-ai-kb/main/knowledge/installations.md',
104
+ },
105
+ languages: {
106
+ site: ['ru', 'en', 'de', 'it', 'fr', 'es', 'vi', 'ar'],
107
+ site_pattern: `${SITE}/<lang>/… (Russian at the root, English at /en)`,
108
+ knowledge_base_only: ['zh'],
109
+ production_brief: ['ru', 'en'],
110
+ },
111
+ links: {
112
+ site: SITE,
113
+ site_llms: `${SITE}/llms.txt`,
114
+ knowledge_base: 'https://github.com/vargov3-spec/vargov-ai-kb',
115
+ knowledge_base_llms_en: 'https://raw.githubusercontent.com/vargov3-spec/vargov-ai-kb/main/en/llms.txt',
116
+ knowledge_base_llms_ru: 'https://raw.githubusercontent.com/vargov3-spec/vargov-ai-kb/main/llms.txt',
117
+ configurator_llms: 'https://vargov.design/llms.txt',
118
+ dataset_huggingface: 'https://huggingface.co/datasets/vargov-design/vargov-design-catalog',
119
+ dataset_json: 'https://raw.githubusercontent.com/vargov3-spec/vargov-ai-kb/main/datasets/products.json',
120
+ catalog_jsonld: 'https://raw.githubusercontent.com/vargov3-spec/vargov-ai-kb/main/references/catalog.jsonld',
121
+ press_kit: ru ? `${SITE}/press` : `${SITE}/en/press`,
122
+ social: org?.sameAs,
123
+ },
124
+ data_snapshot: d.manifest ? { updated_at: d.manifest.updated_at, files: d.manifest.files?.map((f) => ({ file: f.file, sha256: f.sha256.slice(0, 16) })) } : undefined,
125
+ licence: 'Data: CC BY 4.0 (Vargov®Design). Server code: MIT.',
126
+ ...extra,
127
+ };
128
+ }
129
+ /** Deep copy of a JSON value with every property named `key` removed at any depth. */
130
+ function withoutKey(value, key) {
131
+ if (Array.isArray(value))
132
+ return value.map((v) => withoutKey(v, key));
133
+ if (value && typeof value === 'object') {
134
+ return Object.fromEntries(Object.entries(value).filter(([k]) => k !== key).map(([k, v]) => [k, withoutKey(v, key)]));
135
+ }
136
+ return value;
137
+ }