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.6.85 0.1.6 1.6.86 0.1.7 1.6.87 0.1.8 1.6.88 0.1.9 1.6.89 0.2.0 1.6.90
ai-engine / themes / Messages.module.css
ai-engine / themes Last commit date
ChatGPT.module.css 2 years ago ChatGPT.module.scss 2 years ago Messages.module.css 2 years ago Messages.module.scss 2 years ago _codeDark.scss 3 years ago _codeLight.scss 3 years ago _common.scss 2 years ago _copybutton.scss 3 years ago
Messages.module.css
805 lines
1 .mwai-chat {
2 --mwai-spacing: 10px;
3 --mwai-fontSize: 13px;
4 --mwai-lineHeight: 1.5;
5 --mwai-borderRadius: 10px;
6 --mwai-width: 460px;
7 --mwai-maxHeight: 40vh;
8 --mwai-iconTextColor: black;
9 --mwai-iconTextBackgroundColor: white;
10 --mwai-fontColor: black;
11 --mwai-backgroundPrimaryColor: #fafafa;
12 --mwai-backgroundHeaderColor: #0084ff;
13 --mwai-headerButtonsColor: white;
14 --mwai-backgroundUserColor: #0084ff;
15 --mwai-backgroundAiColor: #eee;
16 --mwai-backgroundAiSecondaryColor: #ddd;
17 }
18
19 .mwai-chat * {
20 box-sizing: border-box;
21 }
22
23 .mwai-chat .mwai-content {
24 display: flex;
25 background: var(--mwai-backgroundPrimaryColor);
26 font-size: var(--mwai-fontSize);
27 color: var(--mwai-fontColor);
28 border-radius: var(--mwai-borderRadius);
29 flex-direction: column;
30 }
31
32 .mwai-chat .mwai-conversation {
33 display: flex;
34 flex-direction: column;
35 overflow: auto;
36 max-height: var(--mwai-maxHeight);
37 padding: var(--mwai-spacing);
38 }
39
40 .mwai-chat .mwai-conversation .mwai-reply {
41 margin-bottom: var(--mwai-spacing);
42 padding: 7px 12px;
43 border-radius: 15px;
44 font-size: var(--mwai-fontSize);
45 color: var(--mwai-fontColor);
46 position: relative;
47 }
48
49 .mwai-chat .mwai-conversation .mwai-reply .mwai-name {
50 display: none;
51 }
52
53 .mwai-chat .mwai-conversation .mwai-reply .mwai-name-text {
54 display: none;
55 }
56
57 .mwai-chat .mwai-conversation .mwai-reply *:first-child {
58 margin-top: 0px;
59 }
60
61 .mwai-chat .mwai-conversation .mwai-reply *:last-child {
62 margin-bottom: 0px;
63 }
64
65 .mwai-chat .mwai-conversation .mwai-reply.mwai-ai {
66 align-self: flex-start;
67 background: var(--mwai-backgroundAiColor);
68 margin-left: 5px;
69 }
70
71 .mwai-chat .mwai-conversation .mwai-reply.mwai-ai::before, .mwai-chat .mwai-conversation .mwai-reply.mwai-ai::after {
72 content: "";
73 position: absolute;
74 z-index: 1;
75 bottom: 0;
76 left: -10px;
77 width: 10px;
78 height: 20px;
79 background: var(--mwai-backgroundPrimaryColor);
80 border-bottom-right-radius: 10px;
81 }
82
83 .mwai-chat .mwai-conversation .mwai-reply.mwai-ai::before {
84 z-index: 0;
85 left: -7px;
86 height: 20px;
87 width: 20px;
88 background: var(--mwai-backgroundAiColor);
89 border-bottom-right-radius: 15px;
90 }
91
92 .mwai-chat .mwai-conversation .mwai-reply.mwai-user {
93 align-self: flex-end;
94 background: var(--mwai-backgroundUserColor);
95 color: white;
96 margin-right: 10px;
97 }
98
99 .mwai-chat .mwai-conversation .mwai-reply.mwai-user::before, .mwai-chat .mwai-conversation .mwai-reply.mwai-user::after {
100 content: "";
101 position: absolute;
102 z-index: 1;
103 bottom: 0;
104 right: -10px;
105 width: 10px;
106 height: 20px;
107 background: var(--mwai-backgroundPrimaryColor);
108 border-bottom-left-radius: 10px;
109 }
110
111 .mwai-chat .mwai-conversation .mwai-reply.mwai-user::before {
112 z-index: 0;
113 right: -10px;
114 height: 20px;
115 width: 20px;
116 background: var(--mwai-backgroundUserColor);
117 background-attachment: fixed;
118 border-bottom-left-radius: 15px;
119 }
120
121 .mwai-chat .mwai-text {
122 flex: auto;
123 }
124
125 .mwai-chat .mwai-text *:first-child {
126 margin-top: 0;
127 }
128
129 .mwai-chat .mwai-text *:last-child {
130 margin-bottom: 0;
131 }
132
133 .mwai-chat .mwai-text a {
134 color: #2196f3;
135 }
136
137 .mwai-chat .mwai-text h1 {
138 font-size: 200%;
139 }
140
141 .mwai-chat .mwai-text h2 {
142 font-size: 160%;
143 }
144
145 .mwai-chat .mwai-text h3 {
146 font-size: 140%;
147 }
148
149 .mwai-chat .mwai-text h4 {
150 font-size: 120%;
151 }
152
153 .mwai-chat .mwai-text p {
154 font-size: var(--mwai-fontSize);
155 line-height: var(--mwai-lineHeight);
156 }
157
158 .mwai-chat .mwai-text p code {
159 background: var(--mwai-backgroundAiSecondaryColor);
160 padding: 2px 6px;
161 border-radius: 8px;
162 font-size: 90%;
163 font-family: system-ui;
164 }
165
166 .mwai-chat .mwai-text pre {
167 color: var(--mwai-fontColor);
168 border-radius: var(--mwai-borderRadius);
169 break-after: auto;
170 white-space: pre-wrap;
171 max-width: 100%;
172 width: 100%;
173 font-family: system-ui;
174 background: var(--mwai-backgroundAiSecondaryColor);
175 padding: var(--mwai-spacing);
176 }
177
178 .mwai-chat .mwai-text pre code {
179 padding: 0 !important;
180 font-family: system-ui;
181 background: var(--mwai-backgroundAiSecondaryColor);
182 }
183
184 .mwai-chat .mwai-text ol {
185 padding: 0;
186 margin: 0 0 0 20px;
187 }
188
189 .mwai-chat .mwai-text table {
190 width: 100%;
191 border: 2px solid var(--mwai-backgroundAiSecondaryColor);
192 border-collapse: collapse;
193 }
194
195 .mwai-chat .mwai-text thead {
196 background: var(--mwai-backgroundAiSecondaryColor);
197 }
198
199 .mwai-chat .mwai-text tr, .mwai-chat .mwai-text td {
200 padding: 2px 5px;
201 }
202
203 .mwai-chat .mwai-text td {
204 border: 2px solid var(--mwai-backgroundAiSecondaryColor);
205 }
206
207 .mwai-chat .mwai-text .mwai-typewriter {
208 display: inline-block;
209 }
210
211 .mwai-chat .mwai-text .mwai-typewriter > :first-child {
212 margin-top: 0;
213 }
214
215 .mwai-chat .mwai-text > *:first-child {
216 margin-top: 0;
217 }
218
219 .mwai-chat .mwai-text > *:last-child {
220 margin-bottom: 0;
221 }
222
223 .mwai-chat .mwai-avatar img {
224 width: 24px;
225 border-radius: 5px;
226 }
227
228 .mwai-chat .mwai-input {
229 display: flex;
230 align-items: center;
231 padding: var(--mwai-spacing);
232 }
233
234 .mwai-chat .mwai-input .mwai-input-text {
235 flex: auto;
236 position: relative;
237 display: flex;
238 background: var(--mwai-backgroundPrimaryColor);
239 border-radius: var(--mwai-borderRadius);
240 border: 1px solid var(--mwai-backgroundAiSecondaryColor);
241 overflow: hidden;
242 }
243
244 .mwai-chat .mwai-input .mwai-input-text textarea {
245 background: var(--mwai-backgroundPrimaryColor);
246 color: var(--mwai-fontColor);
247 flex: auto;
248 padding: var(--mwai-spacing);
249 border: none;
250 font-size: var(--mwai-fontSize);
251 resize: none;
252 font-family: inherit;
253 margin: 0;
254 overflow: hidden;
255 }
256
257 .mwai-chat .mwai-input .mwai-input-text textarea:focus {
258 outline: none;
259 box-shadow: none;
260 }
261
262 .mwai-chat .mwai-input .mwai-input-text textarea::placeholder {
263 color: var(--mwai-fontColor);
264 opacity: 0.5;
265 }
266
267 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone, .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload {
268 display: flex;
269 align-items: center;
270 justify-content: center;
271 height: 100%;
272 cursor: pointer;
273 }
274
275 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone svg, .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload svg {
276 fill: var(--mwai-fontColor);
277 width: 34px;
278 height: 34px;
279 fill: var(--mwai-fontColor);
280 opacity: 0.5;
281 transition: opacity 0.3s ease-out;
282 }
283
284 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone[active=true] svg, .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload[active=true] svg {
285 opacity: 1;
286 }
287
288 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone[disabled] svg, .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload[disabled] svg {
289 opacity: 0;
290 }
291
292 .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload {
293 margin-left: 5px;
294 margin-right: -5px;
295 }
296
297 .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload svg {
298 width: 42px;
299 height: 42px;
300 padding: 5px;
301 }
302
303 .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload span {
304 position: absolute;
305 font-size: 55%;
306 }
307
308 .mwai-chat .mwai-input .mwai-input-text .mwai-file-upload.enabled svg {
309 opacity: 1;
310 filter: none;
311 }
312
313 .mwai-chat .mwai-input .mwai-input-text .mwai-microphone svg {
314 padding: 5px 10px;
315 }
316
317 .mwai-chat .mwai-input button {
318 margin-left: var(--mwai-spacing);
319 padding: 5px 15px;
320 background-color: var(--mwai-backgroundUserColor);
321 color: white;
322 border: none;
323 border-radius: var(--mwai-borderRadius);
324 cursor: pointer;
325 height: 32px;
326 width: 110px;
327 display: flex;
328 justify-content: center;
329 align-items: center;
330 }
331
332 .mwai-chat .mwai-input button .mwai-timer {
333 margin-left: 5px;
334 margin-right: 5px;
335 font-size: 11px;
336 }
337
338 .mwai-chat .mwai-input button:hover {
339 filter: brightness(1.2);
340 }
341
342 .mwai-chat button[disabled] {
343 cursor: not-allowed;
344 }
345
346 .mwai-chat button[disabled] span {
347 opacity: 0.5;
348 }
349
350 .mwai-chat button[disabled].mwai-busy span {
351 display: none;
352 }
353
354 .mwai-chat button[disabled].mwai-busy:before {
355 content: '';
356 width: 18px;
357 height: 18px;
358 margin: auto;
359 border: 3px solid transparent;
360 border-top-color: var(--mwai-fontColor);
361 border-radius: 50%;
362 animation: mwai-button-spinner 1s ease infinite;
363 }
364
365 .mwai-chat .mwai-compliance {
366 opacity: 0.50;
367 margin-top: calc( -1 * var(--mwai-spacing));
368 padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
369 font-size: smaller;
370 color: var(--mwai-fontColor);
371 text-align: left;
372 }
373
374 .mwai-chat .mwai-gallery {
375 display: grid;
376 grid-template-columns: repeat(3, 1fr);
377 grid-gap: 5px;
378 }
379
380 .mwai-chat .mwai-gallery img {
381 width: 100%;
382 }
383
384 .mwai-text img {
385 max-width: 100%;
386 }
387
388 .mwai-open-button {
389 position: absolute;
390 right: 0;
391 bottom: 0;
392 transition: all 0.2s ease-out;
393 z-index: 9999;
394 display: flex;
395 flex-direction: column;
396 align-items: end;
397 }
398
399 .mwai-open-button .mwai-icon-text {
400 background: var(--mwai-iconTextBackgroundColor);
401 color: var(--mwai-iconTextColor);
402 max-width: 200px;
403 font-size: 13px;
404 margin-bottom: 15px;
405 padding: 5px 10px;
406 border-radius: 8px;
407 }
408
409 .mwai-open-button img {
410 filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.15));
411 }
412
413 .mwai-open-button:hover {
414 cursor: pointer;
415 filter: saturate(2.5) hue-rotate(5deg);
416 }
417
418 .mwai-window {
419 position: fixed;
420 right: 30px;
421 bottom: 30px;
422 width: var(--mwai-width);
423 z-index: 9999;
424 }
425
426 .mwai-window .mwai-header {
427 display: none;
428 justify-content: flex-end;
429 align-items: center;
430 border-radius: var(--mwai-borderRadius) var(--mwai-borderRadius) 0 0;
431 background: var(--mwai-backgroundHeaderColor);
432 }
433
434 .mwai-window .mwai-header .mwai-buttons {
435 display: flex;
436 align-items: center;
437 }
438
439 .mwai-window .mwai-header .mwai-buttons .mwai-resize-button {
440 justify-content: center;
441 height: 32px;
442 width: 22px;
443 cursor: pointer;
444 display: flex;
445 justify-content: center;
446 align-items: center;
447 }
448
449 .mwai-window .mwai-header .mwai-buttons .mwai-resize-button:before {
450 transition: all 0.2s ease-out;
451 content: ' ';
452 cursor: pointer;
453 position: absolute;
454 height: 13px;
455 width: 13px;
456 border: 1px solid var(--mwai-headerButtonsColor);
457 }
458
459 .mwai-window .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
460 width: 16px;
461 height: 16px;
462 }
463
464 .mwai-window .mwai-header .mwai-buttons .mwai-close-button {
465 justify-content: center;
466 height: 32px;
467 width: 33px;
468 cursor: pointer;
469 border-radius: var(--mwai-borderRadius);
470 }
471
472 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:before {
473 transition: all 0.2s ease-out;
474 transform: translate(16px, 5px) rotate(45deg);
475 }
476
477 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
478 transition: all 0.2s ease-out;
479 transform: translate(16px, 5px) rotate(-45deg);
480 }
481
482 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:before, .mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
483 content: ' ';
484 cursor: pointer;
485 position: absolute;
486 height: 22px;
487 width: 1px;
488 background-color: var(--mwai-headerButtonsColor);
489 }
490
491 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:before {
492 opacity: 1;
493 transform: translate(16px, 5px) rotate(135deg);
494 }
495
496 .mwai-window .mwai-header .mwai-buttons .mwai-close-button:hover:after {
497 opacity: 1;
498 transform: translate(16px, 5px) rotate(45deg);
499 }
500
501 .mwai-window .mwai-content {
502 display: none;
503 opacity: 0;
504 max-height: var(--mwai-maxHeight);
505 border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
506 overflow: hidden;
507 }
508
509 .mwai-window.mwai-bottom-left {
510 bottom: 30px;
511 right: inherit;
512 left: 30px;
513 }
514
515 .mwai-window.mwai-bottom-left .mwai-open-button {
516 right: inherit;
517 left: 0;
518 }
519
520 .mwai-window.mwai-top-right {
521 top: 30px;
522 bottom: inherit;
523 right: 30px;
524 }
525
526 .mwai-window.mwai-top-right .mwai-open-button {
527 top: 0;
528 bottom: inherit;
529 }
530
531 .mwai-window.mwai-top-left {
532 top: 30px;
533 bottom: inherit;
534 right: inherit;
535 left: 30px;
536 }
537
538 .mwai-window.mwai-top-left .mwai-open-button {
539 top: 0;
540 bottom: inherit;
541 right: inherit;
542 left: 0;
543 }
544
545 .mwai-window.mwai-top-left .mwai-open-button, .mwai-window.mwai-bottom-left .mwai-open-button {
546 align-items: flex-start;
547 }
548
549 .mwai-window.mwai-top-right .mwai-open-button, .mwai-window.mwai-top-left .mwai-open-button {
550 flex-direction: column-reverse;
551 }
552
553 .mwai-window.mwai-top-right .mwai-open-button .mwai-icon-text, .mwai-window.mwai-top-left .mwai-open-button .mwai-icon-text {
554 margin-bottom: 0;
555 margin-top: 15px;
556 }
557
558 .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons {
559 margin-bottom: 0px;
560 }
561
562 .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:before {
563 width: 16px;
564 height: 16px;
565 }
566
567 .mwai-window.mwai-fullscreen .mwai-header .mwai-buttons .mwai-resize-button:hover:before {
568 width: 13px;
569 height: 13px;
570 }
571
572 .mwai-fullscreen:not(.mwai-window), .mwai-fullscreen.mwai-window.mwai-open {
573 position: fixed;
574 left: 0 !important;
575 right: 0 !important;
576 bottom: 0 !important;
577 top: 0 !important;
578 width: inherit;
579 height: inherit;
580 max-height: inherit;
581 max-width: inherit;
582 display: flex;
583 flex-direction: column;
584 margin: 0;
585 z-index: 999999;
586 background-color: var(--mwai-backgroundSecondaryColor);
587 }
588
589 .mwai-fullscreen:not(.mwai-window) .mwai-content, .mwai-fullscreen.mwai-window.mwai-open .mwai-content {
590 height: 100%;
591 max-height: inherit;
592 }
593
594 .mwai-fullscreen:not(.mwai-window) .mwai-content .mwai-conversation, .mwai-fullscreen.mwai-window.mwai-open .mwai-content .mwai-conversation {
595 flex: auto;
596 max-height: none;
597 }
598
599 .mwai-window.mwai-open .mwai-header {
600 display: flex;
601 }
602
603 .mwai-window.mwai-open .mwai-content {
604 display: flex;
605 transition: opacity 200ms ease-in-out 0s;
606 opacity: 1;
607 }
608
609 .mwai-window.mwai-open .mwai-open-button {
610 display: none;
611 }
612
613 .mwai-error {
614 margin: var(--mwai-spacing);
615 color: white;
616 background: rgba(180, 55, 55, 0.55);
617 padding: var(--mwai-spacing);
618 border-radius: var(--mwai-borderRadius);
619 }
620
621 .mwai-error:hover {
622 cursor: pointer;
623 background: rgba(180, 44, 44, 0.85);
624 }
625
626 @keyframes mwai-button-spinner {
627 from {
628 transform: rotate(0turn);
629 }
630 to {
631 transform: rotate(1turn);
632 }
633 }
634
635 .admin-bar .mwai-fullscreen:not(.mwai-window),
636 .admin-bar .mwai-fullscreen.mwai-window.mwai-open {
637 top: 32px;
638 }
639
640 @media (max-width: 760px) {
641 .mwai-chat.mwai-window {
642 width: calc(100% - 40px);
643 z-index: 9999999999;
644 }
645 .mwai-chat .mwai-reply {
646 flex-direction: column;
647 }
648 .mwai-chat .mwai-input {
649 flex-direction: column;
650 }
651 }
652
653 .mwai-copy-button {
654 opacity: 0;
655 transition: all 0.3s ease-out;
656 width: 22px;
657 height: 22px;
658 position: absolute;
659 right: var(--mwai-spacing);
660 }
661
662 .mwai-copy-button .mwai-copy-button-one {
663 position: absolute;
664 width: 16px;
665 height: 16px;
666 margin-top: 0px;
667 margin-left: 0px;
668 background: white;
669 opacity: 0.4;
670 transition: all 0.2s ease-in;
671 cursor: pointer;
672 border-radius: 2px;
673 }
674
675 .mwai-copy-button .mwai-copy-button-two {
676 position: absolute;
677 width: 16px;
678 height: 16px;
679 margin-top: 6px;
680 margin-left: 6px;
681 background: white;
682 opacity: 0.6;
683 transition: all 0.2s ease-in;
684 cursor: pointer;
685 border-radius: 2px;
686 }
687
688 .mwai-copy-button:hover .mwai-copy-button-one {
689 opacity: 0.6;
690 margin-top: 0px;
691 margin-left: 6px;
692 }
693
694 .mwai-copy-button:hover .mwai-copy-button-two {
695 opacity: 1;
696 margin-top: 6px;
697 margin-left: 0px;
698 }
699
700 .mwai-copy-button.mwai-animate .mwai-copy-button-one {
701 opacity: 0;
702 }
703
704 .mwai-copy-button.mwai-animate .mwai-copy-button-two {
705 width: 18px;
706 height: 18px;
707 margin-top: 2px;
708 margin-left: 2px;
709 opacity: 1;
710 }
711
712 .mwai-chat .mwai-reply:hover .mwai-copy-button {
713 display: block;
714 opacity: 1;
715 }
716
717 .mwai-chat pre code.hljs {
718 display: block;
719 overflow-x: auto;
720 padding: 1em;
721 }
722
723 .mwai-chat code.hljs {
724 padding: 3px 5px;
725 }
726
727 .mwai-chat .hljs {
728 color: #333;
729 background: #f0f0f0;
730 }
731
732 .mwai-chat .hljs-subst {
733 color: #333;
734 }
735
736 .mwai-chat .hljs-comment {
737 color: #888;
738 }
739
740 .mwai-chat .hljs-attr, .mwai-chat .hljs-doctag, .mwai-chat .hljs-keyword, .mwai-chat .hljs-meta .hljs-keyword, .mwai-chat .hljs-section, .mwai-chat .hljs-selector-tag {
741 color: #0077cc;
742 }
743
744 .mwai-chat .hljs-attribute {
745 color: #aa3377;
746 }
747
748 .mwai-chat .hljs-name, .mwai-chat .hljs-number, .mwai-chat .hljs-quote, .mwai-chat .hljs-selector-id, .mwai-chat .hljs-template-tag, .mwai-chat .hljs-type {
749 color: #c18401;
750 }
751
752 .mwai-chat .hljs-selector-class {
753 color: #0077cc;
754 }
755
756 .mwai-chat .hljs-link, .mwai-chat .hljs-regexp, .mwai-chat .hljs-selector-attr, .mwai-chat .hljs-string, .mwai-chat .hljs-symbol, .mwai-chat .hljs-template-variable, .mwai-chat .hljs-variable {
757 color: #689700;
758 }
759
760 .mwai-chat .hljs-meta, .mwai-chat .hljs-selector-pseudo {
761 color: #0077cc;
762 }
763
764 .mwai-chat .hljs-built_in, .mwai-chat .hljs-literal, .mwai-chat .hljs-title {
765 color: #c18401;
766 }
767
768 .mwai-chat .hljs-bullet, .mwai-chat .hljs-code {
769 color: #555;
770 }
771
772 .mwai-chat .hljs-meta .hljs-string {
773 color: #689700;
774 }
775
776 .mwai-chat .hljs-deletion {
777 color: #b71c1c;
778 }
779
780 .mwai-chat .hljs-addition {
781 color: #1b5e20;
782 }
783
784 .mwai-chat .hljs-emphasis {
785 font-style: italic;
786 }
787
788 .mwai-chat .hljs-strong {
789 font-weight: 700;
790 }
791
792 .mwai-copy-button {
793 position: absolute;
794 left: 15px;
795 zoom: 0.5;
796 top: 18px;
797 filter: revert;
798 }
799
800 .mwai-ai .mwai-copy-button {
801 right: 15px;
802 left: inherit;
803 filter: brightness(0.4);
804 }
805