@meduza/ui-kit-2 1.4.11 → 1.4.12-analytics.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/RelatedCarousel/RelatedCarousel.types.d.ts +1 -0
- package/dist/ui-kit-2.cjs.development.js +38 -10
- package/dist/ui-kit-2.cjs.development.js.map +1 -1
- package/dist/ui-kit-2.cjs.production.min.js +1 -1
- package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
- package/dist/ui-kit-2.esm.js +38 -10
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit-game.css +105 -99
- package/dist/ui-kit.css +105 -99
- package/package.json +1 -1
- package/src/Button/Button.module.css +5 -5
- package/src/CardTitle/CardTitle.module.css +1 -1
- package/src/ChapterBlock/ChapterBlock.module.css +1 -1
- package/src/Dropdown/Dropdown.module.css +4 -4
- package/src/EmbedBlock/EmbedBlock.module.css +1 -1
- package/src/Footnote/Footnote.module.css +3 -3
- package/src/HalfBlock/HalfBlock.module.css +1 -1
- package/src/Image/Image.module.css +1 -1
- package/src/ImportantLead/ImportantLead.module.css +4 -4
- package/src/ListBlock/ListBlock.module.css +1 -1
- package/src/ListViewSwitcher/ListViewSwitcher.module.css +2 -2
- package/src/MaterialNote/MaterialNote.module.css +2 -2
- package/src/MediaCaption/MediaCaption.module.css +2 -2
- package/src/Meta/Meta.module.css +3 -3
- package/src/Popover/Popover.module.css +4 -0
- package/src/QuoteBlock/QuoteBlock.module.css +1 -1
- package/src/RelatedBlock/RelatedBlock.module.css +6 -6
- package/src/RelatedBlock/index.tsx +24 -9
- package/src/RelatedBook/RelatedBook.module.css +4 -4
- package/src/RelatedBook/index.tsx +9 -0
- package/src/RelatedCarousel/RelatedCarousel.module.css +2 -2
- package/src/RelatedCarousel/RelatedCarousel.types.ts +1 -0
- package/src/RelatedCarousel/index.tsx +6 -2
- package/src/RelatedRichBlock/RelatedRichBlock.module.css +5 -5
- package/src/RelatedRichBlock/index.tsx +9 -0
- package/src/ShopRelatedBlock/ShopRelatedBlock.module.css +4 -4
- package/src/SimpleBlock/FootnoteLink.css +9 -7
- package/src/SimpleBlock/SimpleBlock.module.css +8 -8
- package/src/SourceBlock/SourceBlock.module.css +6 -6
- package/src/Spoiler/Spoiler.module.css +4 -4
- package/src/Switcher/Switcher.module.css +2 -2
- package/src/Table/Table.module.css +10 -10
- package/src/Tag/Tag.module.css +2 -2
- package/src/Toolbar/Toolbar.module.css +5 -5
- package/src/ToolbarButton/ToolbarButton.module.css +1 -1
- package/src/VersesBlock/VersesBlock.module.css +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("react-intersection-observer"),o=require("dayjs");require("dayjs/locale/ru");var l=require("dayjs/plugin/relativeTime"),a=require("react-router-dom"),r=require("embla-carousel-react");const n=e=>e.filter((([,e])=>e)).map((([e])=>e)).join(" "),i=()=>e.createElement("svg",{width:"30px",height:"30px",viewBox:"0 0 30 30",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",null,e.createElement("path",{d:"M15 0C6.716 0 0 6.716 0 15c0 8.284 6.716 15 15 15 8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15zm0 2c7.18 0 13 5.82 13 13s-5.82 13-13 13S2 22.18 2 15 7.82 2 15 2z",opacity:"0.3"})),e.createElement("g",{fillRule:"evenodd"},e.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 15 15",to:"360 15 15",dur:"1000ms",repeatCount:"indefinite"}),e.createElement("path",{d:"M15 0c8.18 0 14.83 6.547 14.997 14.686L30 15h-2c0-7.077-5.655-12.833-12.693-12.996L15 2V0z"})));var d={root:"Button-module_root__9OQ5b",gold:"Button-module_gold__q-XBP",isLoading:"Button-module_isLoading__Z53G4",gray:"Button-module_gray__fypDq",sand:"Button-module_sand__e5v-k",dark:"Button-module_dark__qv4NQ",light:"Button-module_light__TLYLT",black:"Button-module_black__GIsbk",red:"Button-module_red__kybni",default:"Button-module_default__utLb-",isInToolbar:"Button-module_isInToolbar__84SG-",isInPodcast:"Button-module_isInPodcast__SNSpl",isInSpoiler:"Button-module_isInSpoiler__pGp-w",isInChronology:"Button-module_isInChronology__T-znS",ghost:"Button-module_ghost__1s5-r",isInDropdown:"Button-module_isInDropdown__gN7TI",loader:"Button-module_loader__r0Mjs",isFancy:"Button-module_isFancy__gTRmu"};const c=({theme:t="gold",size:o="default",state:l="isDefault",styleContext:a="isInToolbar",appearance:r,disabled:c=!1,onClick:s,children:m})=>e.createElement("button",{"data-testid":"button",className:n([[d.root,!0],[d[o],!!o],[d[t],!!t],[d[r],!!r],[d[l],!!l&&!!d[l]],[d[a],!!a]]),disabled:c,onClick:()=>{!c&&s&&s()},type:"button"},"isLoading"===l?e.createElement("span",{className:d.loader},e.createElement(i,null)):m),s={meduzaLogo:{width:544,height:115,content:'<path d="M59.1008614,49.65632 L59.1008614,106.01472 L84.9480411,114.24 L84.9480411,49.65632 L101.574882,49.65632 L101.574882,106.01472 L127.270909,114.24 L144.048902,91.392 L127.422062,91.392 L127.422062,35.7952 L101.726035,26.80832 L84.9480411,46.60992 L84.9480411,35.7952 L59.2520145,26.80832 L42.4740206,46.60992 L42.4740206,35.7952 L16.7779939,26.80832 L0,49.65632 L16.6268408,49.65632 L16.6268408,106.01472 L42.4740206,114.24 L42.4740206,49.65632 L59.1008614,49.65632 L59.1008614,49.65632 Z M336.61795,91.392 L336.61795,35.0336 L310.770769,26.80832 L310.770769,105.25312 L336.466796,114.24 L353.24479,94.4384 L353.24479,105.25312 L378.940817,114.24 L395.71881,91.392 L379.091969,91.392 L379.091969,35.0336 L353.24479,26.80832 L353.24479,91.392 L336.61795,91.392 L336.61795,91.392 Z M527.373159,38.08 L502.130592,26.80832 L472.202278,41.1264 L502.130592,52.39808 L461.016949,72.352 L461.016949,104.94848 L486.86413,114.24 L502.130592,94.28608 L502.130592,105.25312 L527.977771,114.24 L544,91.23968 L527.373159,91.23968 L527.373159,38.08 L527.373159,38.08 Z M177.453737,114.24 L207.079744,102.35904 L177.453737,91.23968 L177.453737,75.24608 L216.300083,56.3584 L194.231731,26.80832 L151.606557,47.37152 L151.606557,103.12064 L177.453737,114.24 L177.453737,114.24 Z M455.424284,89.56416 L423.984441,79.968 L453.459295,42.19264 L416.577937,26.80832 L397.230341,51.48416 L428.821339,61.23264 L398.741873,98.85568 L436.076687,114.24 L455.424284,89.56416 L455.424284,89.56416 Z M486.86413,91.392 L486.86413,68.84864 L502.130592,61.53728 L502.130592,91.392 L486.86413,91.392 L486.86413,91.392 Z M177.453737,41.58336 L190.452904,59.55712 L177.453737,65.80224 L177.453737,41.58336 L177.453737,41.58336 Z M222.95082,103.12064 L248.797999,114.24 L291.27202,97.18016 L291.27202,29.7024 L222.95082,0 L222.95082,26.30784 L265.424841,43.21536 L265.424841,97.33248 L248.797999,91.23968 L248.797999,43.71584 L222.95082,51.94112 L222.95082,103.12064 L222.95082,103.12064 Z" />'},menu:{width:24,height:24,content:'<path d="M2 21h20M2 12h20M2 3h20" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" vector-effect="non-scaling-stroke" />'},fb:{width:16,height:18,content:'<path d="M15.117 1H.883A.883.883 0 0 0 0 1.883v14.234A.883.883 0 0 0 .883 17h7.663v-6.196H6.461V8.389h2.085V6.61a2.91 2.91 0 0 1 3.106-3.192c.622-.003 1.244.03 1.863.095v2.16h-1.279c-1.002 0-1.196.476-1.196 1.176v1.541h2.39l-.31 2.415h-2.08V17h4.077a.883.883 0 0 0 .883-.883V1.883A.883.883 0 0 0 15.117 1" />'},tw:{width:20,height:18,content:'<path d="M20 3.1c-.7.3-1.5.6-2.4.7.8-.5 1.5-1.4 1.8-2.4-.8.5-1.7.8-2.6 1-.7-.8-1.8-1.4-3-1.4-2.3 0-4.1 1.9-4.1 4.3 0 .3 0 .7.1 1-3.3-.1-6.4-1.8-8.4-4.4-.3.6-.5 1.4-.5 2.2 0 1.5.7 2.8 1.8 3.6-.7 0-1.3-.2-1.9-.5v.1c0 2.1 1.4 3.8 3.3 4.2-.3.1-.7.2-1.1.2-.3 0-.5 0-.8-.1.5 1.7 2 2.9 3.8 3-1.3 1-3.1 1.6-5 1.6-.3 0-.7 0-1-.1C1.8 17.3 4 18 6.3 18 13.8 18 18 11.5 18 5.8v-.6c.8-.5 1.5-1.2 2-2.1" fill-rule="nonzero"/>'},vk:{width:20,height:18,content:'<path d="M16.517 9.851s2.587-3.768 2.886-5.058c.1-.396-.1-.694-.498-.694h-2.288c-.498 0-.697.199-.896.595 0 0-1.194 2.678-2.686 4.364-.498.496-.697.694-.995.694-.2 0-.299-.198-.299-.694V4.793c0-.595-.1-.793-.597-.793H7.463c-.2 0-.398.198-.398.397 0 .595.796.694.796 2.28v3.174c0 .595 0 .893-.299.893-.796 0-2.686-2.777-3.681-5.851-.2-.595-.398-.794-.995-.794H.597C.299 4.1 0 4.298 0 4.694c0 .595.697 3.471 3.483 7.34C5.373 14.611 7.86 16 10.05 16c1.393 0 1.691-.198 1.691-.793v-1.984c0-.496.2-.694.498-.694s.895.1 2.189 1.388C15.92 15.405 16.02 16 16.915 16h2.587c.299 0 .498-.1.498-.595 0-.595-.796-1.587-1.89-2.876-.498-.595-1.195-1.29-1.493-1.686-.398-.397-.299-.595-.1-.992" fill-rule="nonzero"/>'},ok:{width:9,height:18,content:'<path d="M4.5 2c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4m0 5.7c-.9 0-1.6-.8-1.6-1.7 0-.9.7-1.6 1.6-1.6.9 0 1.7.7 1.7 1.7 0 .8-.8 1.6-1.7 1.6" fill-rule="nonzero"/> <path d="M6.127 12.982a9.194 9.194 0 0 0 2.307-.904c.602-.301.703-1.004.402-1.507-.301-.502-1.104-.703-1.605-.401-1.605 1.004-3.812 1.004-5.417 0-.502-.302-1.304-.201-1.605.3-.401.604-.2 1.206.401 1.608a9.194 9.194 0 0 0 2.307.904L.61 15.092c-.502.401-.502 1.104 0 1.607a1.357 1.357 0 0 0 1.705 0l2.207-2.11L6.73 16.7a1.357 1.357 0 0 0 1.705 0c.502-.402.502-1.105 0-1.608l-2.307-2.109" fill-rule="nonzero"/>'},tg:{width:18,height:18,content:'<path d="M9 18c-5 0-9-4-9-9s4-9 9-9 9 4 9 9-4 9-9 9zm-1.5-7.4c1.1 1 2 3.3 2 3.3.4.2.7.1.8-.4l2.1-7.4c.1-.6-.2-.8-.6-.7L4 8.3c-.6.2-.6.5-.1.7 0 .1 2.4.6 3.6 1.6z" fill-rule="nonzero"/>'},meduzaSymbol:{width:24,height:18,content:'<path d="M10.026233,17.0968697 L13.9737671,18.3530831 L13.9737671,10.9855851 L13.9737671,8.48948164 L16.5131165,8.48948164 L16.5131165,17.0968697 L20.4375656,18.3530831 L23,14.8636014 L20.4606507,14.8636014 L20.4606507,6.37252945 L16.5362015,5 L13.9737671,8.02421743 L13.9737671,6.37252945 L10.049318,5 L7.48688354,8.02421743 L7.48688354,6.37252945 L3.56243443,5 L1,8.48948164 L3.53934943,8.48948164 L3.53934943,17.0968697 L7.48688354,18.3530831 L7.48688354,8.48948164 L10.026233,8.48948164 L10.026233,17.0968697 Z" />'},backward:{width:30,height:30,content:'<g opacity="0.25" fill="none"><path d="M6.51621 7.01524H6.51404C4.34188 9.1874 3 12.1877 3 15.5001C3 22.1271 8.37187 27.5012 15.0011 27.5012C21.6281 27.5012 27 22.1271 27 15.5001C27 8.87306 21.6281 3.49902 15.0011 3.49902" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M15 6.49902V0.499023L10 3.49902L15 6.49902Z" fill="black" stroke="black" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.1778 20.098C10.6178 20.098 10.1838 19.636 10.1838 19.104V13.224L9.16179 14.274C9.00779 14.428 8.79779 14.526 8.57379 14.526C8.11179 14.526 7.74779 14.148 7.74779 13.7C7.74779 13.462 7.84579 13.266 7.98579 13.112L10.1978 10.9C10.4078 10.69 10.7018 10.564 11.0238 10.564C11.6538 10.564 12.1718 11.082 12.1718 11.712V19.104C12.1718 19.636 11.7238 20.098 11.1778 20.098ZM14.4426 19.314C14.2186 19.174 14.0506 18.88 14.0506 18.586C14.0506 18.096 14.4426 17.704 14.9326 17.704C15.1006 17.704 15.2686 17.746 15.4086 17.844C15.9826 18.25 16.6406 18.432 17.3686 18.432C18.4746 18.432 19.1046 17.802 19.1046 17.032C19.1046 16.178 18.4886 15.604 17.4246 15.604C16.8086 15.604 16.2906 15.758 15.8006 16.136C15.6186 16.276 15.3946 16.346 15.1426 16.346C14.5546 16.346 14.0786 15.87 14.0786 15.282V11.712C14.0786 11.04 14.4426 10.662 15.1286 10.662H19.7346C20.1966 10.662 20.6026 11.04 20.6026 11.53C20.6026 11.992 20.1966 12.37 19.7346 12.37H16.0246V14.708C16.5146 14.274 17.2706 13.924 18.1246 13.924C19.7066 13.924 21.1206 15.058 21.1206 16.948C21.1206 18.922 19.6366 20.168 17.3826 20.168C16.1646 20.168 15.2126 19.86 14.4426 19.314Z" fill="black"/></g>'},forward:{width:30,height:30,content:'<g opacity="0.25" fill="none"><path d="M23.4838 7.01524H23.486C25.6581 9.1874 27 12.1877 27 15.5001C27 22.1271 21.6281 27.5012 14.9989 27.5012C8.37187 27.5012 3 22.1271 3 15.5001C3 8.87306 8.37187 3.49902 14.9989 3.49902" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M15 6.49902V0.499023L20 3.49902L15 6.49902Z" fill="black" stroke="black" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.1778 20.098C10.6178 20.098 10.1838 19.636 10.1838 19.104V13.224L9.16179 14.274C9.00779 14.428 8.79779 14.526 8.57379 14.526C8.11179 14.526 7.74779 14.148 7.74779 13.7C7.74779 13.462 7.84579 13.266 7.98579 13.112L10.1978 10.9C10.4078 10.69 10.7018 10.564 11.0238 10.564C11.6538 10.564 12.1718 11.082 12.1718 11.712V19.104C12.1718 19.636 11.7238 20.098 11.1778 20.098ZM14.4426 19.314C14.2186 19.174 14.0506 18.88 14.0506 18.586C14.0506 18.096 14.4426 17.704 14.9326 17.704C15.1006 17.704 15.2686 17.746 15.4086 17.844C15.9826 18.25 16.6406 18.432 17.3686 18.432C18.4746 18.432 19.1046 17.802 19.1046 17.032C19.1046 16.178 18.4886 15.604 17.4246 15.604C16.8086 15.604 16.2906 15.758 15.8006 16.136C15.6186 16.276 15.3946 16.346 15.1426 16.346C14.5546 16.346 14.0786 15.87 14.0786 15.282V11.712C14.0786 11.04 14.4426 10.662 15.1286 10.662H19.7346C20.1966 10.662 20.6026 11.04 20.6026 11.53C20.6026 11.992 20.1966 12.37 19.7346 12.37H16.0246V14.708C16.5146 14.274 17.2706 13.924 18.1246 13.924C19.7066 13.924 21.1206 15.058 21.1206 16.948C21.1206 18.922 19.6366 20.168 17.3826 20.168C16.1646 20.168 15.2126 19.86 14.4426 19.314Z" fill="black"/></g>'},download:{width:25,height:27,content:'<path d="M12.5 2C19.404 2 25 7.596 25 14.5S19.404 27 12.5 27 0 21.404 0 14.5 5.596 2 12.5 2zm0 1.5c-6.075 0-11 4.925-11 11s4.925 11 11 11 11-4.925 11-11-4.925-11-11-11zm6 15.75a.75.75 0 01.102 1.493l-.102.007h-12a.75.75 0 01-.102-1.493l.102-.007h12zm-6-12a.75.75 0 01.743.648L13.25 8v7.598l1.834-1.222a.75.75 0 11.832 1.248l-3 2a.75.75 0 01-.832 0l-3-2a.75.75 0 11.832-1.248l1.834 1.223V8a.75.75 0 01.648-.743l.102-.007z" fill-rule="nonzero" fill="currentColor" />'},episodeDownload:{width:30,height:30,content:'<g opacity="0.4"><circle cx="15" cy="15" r="10.5" stroke="white" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/><path d="M15 19.5L15 10.5M15 19.5L18.5 17.2257M15 19.5L11.5 17.2257" stroke="white" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/></g>'},play:{width:32,height:32,content:'<path fill-rule="nonzero" clip-rule="evenodd" d="M11.9665 22.877C11.4713 23.1557 10.8594 22.7978 10.8594 22.2296V9.7704C10.8594 9.20219 11.4713 8.84435 11.9665 9.12299L23.0374 15.3526C23.5422 15.6366 23.5422 16.3634 23.0374 16.6474L11.9665 22.877Z" stroke-width="0.371429" stroke-linecap="round" stroke-linejoin="round"/>'},pause:{width:22,height:22,content:'<path d="M12.832 4h2.8c.276 0 .5.224.5.5v12.394c0 .277-.224.5-.5.5h-2.8c-.276 0-.5-.223-.5-.5V4.5c0-.276.224-.5.5-.5zM6.5 4h2.8c.277 0 .5.224.5.5v12.394c0 .277-.223.5-.5.5H6.5c-.276 0-.5-.223-.5-.5V4.5c0-.276.224-.5.5-.5z" />'},speedHalf:{width:27,height:11,content:'<g xmlns="http://www.w3.org/2000/svg" opacity="0.25">\n <path d="M24.0086 6.10773L22.3566 7.75973C22.2586 7.85773 22.1186 7.92773 21.9646 7.92773C21.6566 7.92773 21.4186 7.67573 21.4186 7.38173C21.4186 7.22773 21.4886 7.08773 21.5726 6.98973L23.2246 5.32373L21.5726 3.67173C21.4886 3.57373 21.4186 3.43373 21.4186 3.27973C21.4186 2.97173 21.6566 2.71973 21.9646 2.71973C22.1186 2.71973 22.2726 2.78973 22.3706 2.88773L24.0086 4.55373L25.6606 2.88773C25.7586 2.78973 25.9126 2.73373 26.0526 2.73373C26.3606 2.73373 26.6126 2.97173 26.6126 3.27973C26.6126 3.43373 26.5426 3.57373 26.4446 3.67173L24.7926 5.32373L26.4446 6.98973C26.5426 7.08773 26.6126 7.22773 26.6126 7.38173C26.6126 7.67573 26.3606 7.91373 26.0526 7.91373C25.9126 7.91373 25.7726 7.85773 25.6746 7.75973L24.0086 6.10773Z" fill="black"/>\n <path d="M13.307 9.31411C13.083 9.17411 12.915 8.88011 12.915 8.58611C12.915 8.09611 13.307 7.70411 13.797 7.70411C13.965 7.70411 14.133 7.74611 14.273 7.84411C14.847 8.25011 15.505 8.43211 16.233 8.43211C17.339 8.43211 17.969 7.80211 17.969 7.03211C17.969 6.17811 17.353 5.60411 16.289 5.60411C15.673 5.60411 15.155 5.75811 14.665 6.13611C14.483 6.27611 14.259 6.34611 14.007 6.34611C13.419 6.34611 12.943 5.87011 12.943 5.28211V1.71211C12.943 1.04011 13.307 0.662109 13.993 0.662109H18.599C19.061 0.662109 19.467 1.04011 19.467 1.53011C19.467 1.99211 19.061 2.37011 18.599 2.37011H14.889V4.70811C15.379 4.27411 16.135 3.92411 16.989 3.92411C18.571 3.92411 19.985 5.05811 19.985 6.94811C19.985 8.92211 18.501 10.1681 16.247 10.1681C15.029 10.1681 14.077 9.86011 13.307 9.31411Z" fill="black"/>\n <path d="M9.03894 9.01974C9.03894 8.40374 9.55694 7.88574 10.1729 7.88574C10.7889 7.88574 11.3069 8.40374 11.3069 9.01974C11.3069 9.63574 10.7889 10.1537 10.1729 10.1537C9.55694 10.1537 9.03894 9.63574 9.03894 9.01974Z" fill="black"/>\n <path d="M0.476074 5.33748C0.476074 2.92948 1.66607 0.521484 4.34007 0.521484C7.00007 0.521484 8.20407 2.92948 8.20407 5.33748C8.20407 7.74548 7.00007 10.1675 4.34007 10.1675C1.66607 10.1675 0.476074 7.74548 0.476074 5.33748ZM6.17407 5.33748C6.17407 3.61548 5.67007 2.28549 4.34007 2.28549C2.99607 2.28549 2.49207 3.61548 2.49207 5.33748C2.49207 7.05948 2.99607 8.40349 4.34007 8.40349C5.67007 8.40349 6.17407 7.05948 6.17407 5.33748Z" fill="black"/>\n </g>'},speedThreeQuarters:{width:34,height:11,content:'<g xmlns="http://www.w3.org/2000/svg" opacity="0.25">\n <path d="M30.6531 6.10773L29.0011 7.75973C28.9031 7.85773 28.7631 7.92773 28.6091 7.92773C28.3011 7.92773 28.0631 7.67573 28.0631 7.38173C28.0631 7.22773 28.1331 7.08773 28.2171 6.98973L29.8691 5.32373L28.2171 3.67173C28.1331 3.57373 28.0631 3.43373 28.0631 3.27973C28.0631 2.97173 28.3011 2.71973 28.6091 2.71973C28.7631 2.71973 28.9171 2.78973 29.0151 2.88773L30.6531 4.55373L32.3051 2.88773C32.4031 2.78973 32.5571 2.73373 32.6971 2.73373C33.0051 2.73373 33.2571 2.97173 33.2571 3.27973C33.2571 3.43373 33.1871 3.57373 33.0891 3.67173L31.4371 5.32373L33.0891 6.98973C33.1871 7.08773 33.2571 7.22773 33.2571 7.38173C33.2571 7.67573 33.0051 7.91373 32.6971 7.91373C32.5571 7.91373 32.4171 7.85773 32.3191 7.75973L30.6531 6.10773Z" fill="black"/>\n <path d="M19.9516 9.31411C19.7276 9.17411 19.5596 8.88011 19.5596 8.58611C19.5596 8.09611 19.9516 7.70411 20.4416 7.70411C20.6096 7.70411 20.7776 7.74611 20.9176 7.84411C21.4916 8.25011 22.1496 8.43211 22.8776 8.43211C23.9836 8.43211 24.6136 7.80211 24.6136 7.03211C24.6136 6.17811 23.9976 5.60411 22.9336 5.60411C22.3176 5.60411 21.7996 5.75811 21.3096 6.13611C21.1276 6.27611 20.9036 6.34611 20.6516 6.34611C20.0636 6.34611 19.5876 5.87011 19.5876 5.28211V1.71211C19.5876 1.04011 19.9516 0.662109 20.6376 0.662109H25.2436C25.7056 0.662109 26.1116 1.04011 26.1116 1.53011C26.1116 1.99211 25.7056 2.37011 25.2436 2.37011H21.5336V4.70811C22.0236 4.27411 22.7796 3.92411 23.6336 3.92411C25.2156 3.92411 26.6296 5.05811 26.6296 6.94811C26.6296 8.92211 25.1456 10.1681 22.8916 10.1681C21.6736 10.1681 20.7216 9.86011 19.9516 9.31411Z" fill="black"/>\n <path d="M14.1437 10.0981C13.5977 10.0981 13.1497 9.65011 13.1497 9.10411C13.1497 8.96411 13.1917 8.83811 13.2337 8.69811L16.0197 2.41211H12.0997C11.6237 2.41211 11.2177 2.02011 11.2177 1.54411C11.2177 1.05411 11.6237 0.662109 12.0997 0.662109H17.4757C17.9937 0.662109 18.4277 1.08211 18.4277 1.61411C18.4277 1.75411 18.3997 1.88011 18.3437 1.99211L15.0677 9.49611C14.9277 9.86011 14.5637 10.0981 14.1437 10.0981Z" fill="black"/>\n <path d="M9.03894 9.01974C9.03894 8.40374 9.55694 7.88574 10.1729 7.88574C10.7889 7.88574 11.3069 8.40374 11.3069 9.01974C11.3069 9.63574 10.7889 10.1537 10.1729 10.1537C9.55694 10.1537 9.03894 9.63574 9.03894 9.01974Z" fill="black"/>\n <path d="M0.476074 5.33748C0.476074 2.92948 1.66607 0.521484 4.34007 0.521484C7.00007 0.521484 8.20407 2.92948 8.20407 5.33748C8.20407 7.74548 7.00007 10.1675 4.34007 10.1675C1.66607 10.1675 0.476074 7.74548 0.476074 5.33748ZM6.17407 5.33748C6.17407 3.61548 5.67007 2.28549 4.34007 2.28549C2.99607 2.28549 2.49207 3.61548 2.49207 5.33748C2.49207 7.05948 2.99607 8.40349 4.34007 8.40349C5.67007 8.40349 6.17407 7.05948 6.17407 5.33748Z" fill="black"/>\n </g>'},speedOne:{width:25,height:10,content:'<g xmlns="http://www.w3.org/2000/svg" opacity="0.25">\n <path d="M21.9901 5.60773L20.3381 7.25973C20.2401 7.35773 20.1001 7.42773 19.9461 7.42773C19.6381 7.42773 19.4001 7.17573 19.4001 6.88173C19.4001 6.72773 19.4701 6.58773 19.5541 6.48973L21.2061 4.82373L19.5541 3.17173C19.4701 3.07373 19.4001 2.93373 19.4001 2.77973C19.4001 2.47173 19.6381 2.21973 19.9461 2.21973C20.1001 2.21973 20.2541 2.28973 20.3521 2.38773L21.9901 4.05373L23.6421 2.38773C23.7401 2.28973 23.8941 2.23373 24.0341 2.23373C24.3421 2.23373 24.5941 2.47173 24.5941 2.77973C24.5941 2.93373 24.5241 3.07373 24.4261 3.17173L22.7741 4.82373L24.4261 6.48973C24.5241 6.58773 24.5941 6.72773 24.5941 6.88173C24.5941 7.17573 24.3421 7.41373 24.0341 7.41373C23.8941 7.41373 23.7541 7.35773 23.6561 7.25973L21.9901 5.60773Z" fill="black"/>\n <path d="M10.2565 4.83748C10.2565 2.42948 11.4465 0.0214844 14.1205 0.0214844C16.7805 0.0214844 17.9845 2.42948 17.9845 4.83748C17.9845 7.24548 16.7805 9.66749 14.1205 9.66749C11.4465 9.66749 10.2565 7.24548 10.2565 4.83748ZM15.9545 4.83748C15.9545 3.11548 15.4505 1.78549 14.1205 1.78549C12.7765 1.78549 12.2725 3.11548 12.2725 4.83748C12.2725 6.55948 12.7765 7.90349 14.1205 7.90349C15.4505 7.90349 15.9545 6.55948 15.9545 4.83748Z" fill="black"/>\n <path d="M6.85645 8.51974C6.85645 7.90374 7.37445 7.38574 7.99045 7.38574C8.60645 7.38574 9.12444 7.90374 9.12444 8.51974C9.12444 9.13574 8.60645 9.65374 7.99045 9.65374C7.37445 9.65374 6.85645 9.13574 6.85645 8.51974Z" fill="black"/>\n <path d="M4.27766 9.59748C3.71766 9.59748 3.28366 9.13548 3.28366 8.60348V2.72348L2.26166 3.77348C2.10766 3.92748 1.89766 4.02548 1.67366 4.02548C1.21166 4.02548 0.847656 3.64748 0.847656 3.19948C0.847656 2.96148 0.945656 2.76548 1.08566 2.61148L3.29766 0.399477C3.50766 0.189477 3.80166 0.0634766 4.12366 0.0634766C4.75366 0.0634766 5.27166 0.581477 5.27166 1.21148V8.60348C5.27166 9.13548 4.82366 9.59748 4.27766 9.59748Z" fill="black"/>\n </g>'},speedOneQuarter:{width:33,height:11,content:'<g xmlns="http://www.w3.org/2000/svg" opacity="0.25">\n <path d="M29.6005 6.10773L27.9485 7.75973C27.8505 7.85773 27.7105 7.92773 27.5565 7.92773C27.2485 7.92773 27.0105 7.67573 27.0105 7.38173C27.0105 7.22773 27.0805 7.08773 27.1645 6.98973L28.8165 5.32373L27.1645 3.67173C27.0805 3.57373 27.0105 3.43373 27.0105 3.27973C27.0105 2.97173 27.2485 2.71973 27.5565 2.71973C27.7105 2.71973 27.8645 2.78973 27.9625 2.88773L29.6005 4.55373L31.2525 2.88773C31.3505 2.78973 31.5045 2.73373 31.6445 2.73373C31.9525 2.73373 32.2045 2.97173 32.2045 3.27973C32.2045 3.43373 32.1345 3.57373 32.0365 3.67173L30.3845 5.32373L32.0365 6.98973C32.1345 7.08773 32.2045 7.22773 32.2045 7.38173C32.2045 7.67573 31.9525 7.91373 31.6445 7.91373C31.5045 7.91373 31.3645 7.85773 31.2665 7.75973L29.6005 6.10773Z" fill="black"/>\n <path d="M18.899 9.31411C18.675 9.17411 18.507 8.88011 18.507 8.58611C18.507 8.09611 18.899 7.70411 19.389 7.70411C19.557 7.70411 19.725 7.74611 19.865 7.84411C20.439 8.25011 21.097 8.43211 21.825 8.43211C22.931 8.43211 23.561 7.80211 23.561 7.03211C23.561 6.17811 22.945 5.60411 21.881 5.60411C21.265 5.60411 20.747 5.75811 20.257 6.13611C20.075 6.27611 19.851 6.34611 19.599 6.34611C19.011 6.34611 18.535 5.87011 18.535 5.28211V1.71211C18.535 1.04011 18.899 0.662109 19.585 0.662109H24.191C24.653 0.662109 25.059 1.04011 25.059 1.53011C25.059 1.99211 24.653 2.37011 24.191 2.37011H20.481V4.70811C20.971 4.27411 21.727 3.92411 22.581 3.92411C24.163 3.92411 25.577 5.05811 25.577 6.94811C25.577 8.92211 24.093 10.1681 21.839 10.1681C20.621 10.1681 19.669 9.86011 18.899 9.31411Z" fill="black"/>\n <path d="M10.7532 9.99949C10.1932 9.99949 9.71716 9.53749 9.71716 8.96348C9.71716 8.62748 9.89916 8.31948 10.1512 8.13748C13.7072 5.54748 14.7572 4.62348 14.7572 3.50348C14.7572 2.69148 14.0152 2.28549 13.2312 2.28549C12.4612 2.28549 11.8172 2.52348 11.2572 2.91548C11.1172 3.01348 10.9492 3.06948 10.7672 3.06948C10.2772 3.06948 9.88516 2.67748 9.88516 2.18748C9.88516 1.89348 10.0392 1.62748 10.2492 1.47348C11.1172 0.815485 12.1812 0.521484 13.2032 0.521484C15.1912 0.521484 16.7732 1.64148 16.7732 3.50348C16.7732 5.09948 15.4572 6.48549 12.9512 8.24949H16.0592C16.5352 8.24949 16.9412 8.64149 16.9412 9.11749C16.9412 9.60748 16.5352 9.99949 16.0592 9.99949H10.7532Z" fill="black"/>\n <path d="M6.37305 9.01974C6.37305 8.40374 6.89105 7.88574 7.50705 7.88574C8.12305 7.88574 8.64105 8.40374 8.64105 9.01974C8.64105 9.63574 8.12305 10.1537 7.50705 10.1537C6.89105 10.1537 6.37305 9.63574 6.37305 9.01974Z" fill="black"/>\n <path d="M3.79426 10.0975C3.23426 10.0975 2.80026 9.63548 2.80026 9.10348V3.22348L1.77826 4.27348C1.62426 4.42748 1.41426 4.52548 1.19026 4.52548C0.728258 4.52548 0.364258 4.14748 0.364258 3.69948C0.364258 3.46148 0.462258 3.26548 0.602258 3.11148L2.81426 0.899477C3.02426 0.689477 3.31826 0.563477 3.64026 0.563477C4.27026 0.563477 4.78826 1.08148 4.78826 1.71148V9.10348C4.78826 9.63548 4.34026 10.0975 3.79426 10.0975Z" fill="black"/>\n </g>'},speedOneHalf:{width:24,height:11,content:'<g xmlns="http://www.w3.org/2000/svg" opacity="0.25">\n <path d="M21.3427 6.1087L19.6907 7.7607C19.5927 7.8587 19.4527 7.9287 19.2987 7.9287C18.9907 7.9287 18.7527 7.6767 18.7527 7.3827C18.7527 7.2287 18.8227 7.0887 18.9067 6.9907L20.5587 5.3247L18.9067 3.6727C18.8227 3.5747 18.7527 3.4347 18.7527 3.2807C18.7527 2.9727 18.9907 2.7207 19.2987 2.7207C19.4527 2.7207 19.6067 2.7907 19.7047 2.8887L21.3427 4.5547L22.9947 2.8887C23.0927 2.7907 23.2467 2.7347 23.3867 2.7347C23.6947 2.7347 23.9467 2.9727 23.9467 3.2807C23.9467 3.4347 23.8767 3.5747 23.7787 3.6727L22.1267 5.3247L23.7787 6.9907C23.8767 7.0887 23.9467 7.2287 23.9467 7.3827C23.9467 7.6767 23.6947 7.9147 23.3867 7.9147C23.2467 7.9147 23.1067 7.8587 23.0087 7.7607L21.3427 6.1087Z" fill="black"/>\n <path d="M10.6411 9.31411C10.4171 9.17411 10.2491 8.88011 10.2491 8.58611C10.2491 8.09611 10.6411 7.70411 11.1311 7.70411C11.2991 7.70411 11.4671 7.74611 11.6071 7.84411C12.1811 8.25011 12.8391 8.43211 13.5671 8.43211C14.6731 8.43211 15.3031 7.80211 15.3031 7.03211C15.3031 6.17811 14.6871 5.60411 13.6231 5.60411C13.0071 5.60411 12.4891 5.75811 11.9991 6.13611C11.8171 6.27611 11.5931 6.34611 11.3411 6.34611C10.7531 6.34611 10.2771 5.87011 10.2771 5.28211V1.71211C10.2771 1.04011 10.6411 0.662109 11.3271 0.662109H15.9331C16.3951 0.662109 16.8011 1.04011 16.8011 1.53011C16.8011 1.99211 16.3951 2.37011 15.9331 2.37011H12.2231V4.70811C12.7131 4.27411 13.4691 3.92411 14.3231 3.92411C15.9051 3.92411 17.3191 5.05811 17.3191 6.94811C17.3191 8.92211 15.8351 10.1681 13.5811 10.1681C12.3631 10.1681 11.4111 9.86011 10.6411 9.31411Z" fill="black"/>\n <path d="M6.37305 9.02072C6.37305 8.40472 6.89105 7.88672 7.50705 7.88672C8.12305 7.88672 8.64105 8.40472 8.64105 9.02072C8.64105 9.63672 8.12305 10.1547 7.50705 10.1547C6.89105 10.1547 6.37305 9.63672 6.37305 9.02072Z" fill="black"/>\n <path d="M3.79426 10.0985C3.23426 10.0985 2.80026 9.63645 2.80026 9.10445V3.22445L1.77826 4.27445C1.62426 4.42845 1.41426 4.52645 1.19026 4.52645C0.728258 4.52645 0.364258 4.14845 0.364258 3.70045C0.364258 3.46245 0.462258 3.26645 0.602258 3.11245L2.81426 0.900453C3.02426 0.690453 3.31826 0.564453 3.64026 0.564453C4.27026 0.564453 4.78826 1.08245 4.78826 1.71245V9.10445C4.78826 9.63645 4.34026 10.0985 3.79426 10.0985Z" fill="black"/>\n </g>'},speedTwo:{width:27,height:11,content:'<g xmlns="http://www.w3.org/2000/svg" opacity="0.25">\n <path d="M24.0494 6.10773L22.3974 7.75973C22.2994 7.85773 22.1594 7.92773 22.0054 7.92773C21.6974 7.92773 21.4594 7.67573 21.4594 7.38173C21.4594 7.22773 21.5294 7.08773 21.6134 6.98973L23.2654 5.32373L21.6134 3.67173C21.5294 3.57373 21.4594 3.43373 21.4594 3.27973C21.4594 2.97173 21.6974 2.71973 22.0054 2.71973C22.1594 2.71973 22.3134 2.78973 22.4114 2.88773L24.0494 4.55373L25.7014 2.88773C25.7994 2.78973 25.9534 2.73373 26.0934 2.73373C26.4014 2.73373 26.6534 2.97173 26.6534 3.27973C26.6534 3.43373 26.5834 3.57373 26.4854 3.67173L24.8334 5.32373L26.4854 6.98973C26.5834 7.08773 26.6534 7.22773 26.6534 7.38173C26.6534 7.67573 26.4014 7.91373 26.0934 7.91373C25.9534 7.91373 25.8134 7.85773 25.7154 7.75973L24.0494 6.10773Z" fill="black"/>\n <path d="M12.3157 5.33748C12.3157 2.92948 13.5057 0.521484 16.1797 0.521484C18.8397 0.521484 20.0437 2.92948 20.0437 5.33748C20.0437 7.74548 18.8397 10.1675 16.1797 10.1675C13.5057 10.1675 12.3157 7.74548 12.3157 5.33748ZM18.0137 5.33748C18.0137 3.61548 17.5097 2.28549 16.1797 2.28549C14.8357 2.28549 14.3317 3.61548 14.3317 5.33748C14.3317 7.05948 14.8357 8.40349 16.1797 8.40349C17.5097 8.40349 18.0137 7.05948 18.0137 5.33748Z" fill="black"/>\n <path d="M8.91565 9.01974C8.91565 8.40374 9.43365 7.88574 10.0496 7.88574C10.6656 7.88574 11.1836 8.40374 11.1836 9.01974C11.1836 9.63574 10.6656 10.1537 10.0496 10.1537C9.43365 10.1537 8.91565 9.63574 8.91565 9.01974Z" fill="black"/>\n <path d="M1.45592 9.99949C0.895922 9.99949 0.419922 9.53749 0.419922 8.96348C0.419922 8.62748 0.601922 8.31948 0.853922 8.13748C4.40992 5.54748 5.45992 4.62348 5.45992 3.50348C5.45992 2.69148 4.71792 2.28549 3.93392 2.28549C3.16392 2.28549 2.51992 2.52348 1.95992 2.91548C1.81992 3.01348 1.65192 3.06948 1.46992 3.06948C0.979922 3.06948 0.587922 2.67748 0.587922 2.18748C0.587922 1.89348 0.741922 1.62748 0.951922 1.47348C1.81992 0.815485 2.88392 0.521484 3.90592 0.521484C5.89392 0.521484 7.47592 1.64148 7.47592 3.50348C7.47592 5.09948 6.15992 6.48549 3.65392 8.24949H6.76192C7.23792 8.24949 7.64392 8.64149 7.64392 9.11749C7.64392 9.60748 7.23792 9.99949 6.76192 9.99949H1.45592Z" fill="black"/>\n </g>'},reaction:{width:16,height:16,content:'<path data-theme="light" fill="#D09959" d="M1 2h14v12H1z"/> <path d="M0 1.778C0 .8.8 0 1.778 0h12.444C15.2 0 16 .8 16 1.778v12.444C16 15.2 15.2 16 14.222 16H1.778C.8 16 0 15.2 0 14.222V1.778zM6.8 11.7l2.5.8V6.2h1.6v5.5l2.5.8 1.6-2.3h-1.6V4.8L10.9 4 9.3 5.9V4.8L6.8 4 5.1 5.9V4.8L2.6 4 1 6.2h1.6v5.5l2.5.8V6.2h1.7v5.5z" />'},cross:{width:18,height:18,content:'<path fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" vector-effect="non-scaling-stroke" d="M2 2l14 14M16 2L2 16" />'},link:{width:24,height:24,content:'<path d="M9.158 18.928c-1.065 0-2.13-.405-2.94-1.215-1.624-1.623-1.624-4.262 0-5.884l.643-.645c.327-.326.854-.326 1.18 0 .325.326.325.853 0 1.178l-.645.645c-.972.972-.972 2.554 0 3.526.973.972 2.554.973 3.526 0l2.842-2.84c.97-.972.97-2.555 0-3.527-.325-.325-.325-.854 0-1.18.325-.324.853-.324 1.178 0 1.623 1.625 1.623 4.264 0 5.885l-2.84 2.84c-.81.81-1.877 1.216-2.942 1.216" /> <path d="M10.578 14.184c-.213 0-.426-.082-.59-.244-.784-.785-1.217-1.83-1.217-2.94 0-1.113.433-2.158 1.22-2.944l2.84-2.84c1.622-1.62 4.26-1.62 5.883 0 1.622 1.623 1.622 4.262 0 5.883l-.645.643c-.325.326-.852.326-1.178 0-.325-.325-.325-.852 0-1.178l.645-.644c.972-.97.972-2.554 0-3.526s-2.556-.972-3.527 0l-2.84 2.842c-.47.47-.73 1.096-.73 1.762 0 .667.26 1.293.73 1.763.325.327.325.854 0 1.18-.163.162-.376.244-.59.244" />'},search:{width:16,height:16,content:'<g transform="translate(2 1)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" vector-effect="non-scaling-stroke"><circle cx="5.5" cy="5.5" r="5.5"/><path d="M11.37 13.442l-.995-1.272"/></g>'},card:{width:15,height:15,content:'<path d="M9 5.5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5H4a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h5zm-.5 1h-4v4h4v-4zm2.5-3a.5.5 0 0 1 .5.5v5a.5.5 0 1 1-1 0V4.5H6a.5.5 0 0 1 0-1h5z" fill-rule="nonzero"/>'},podcast:{width:15,height:15,content:'<path d="M5.252 11.432A.5.5 0 0 1 4.5 11V4a.5.5 0 0 1 .752-.432l6 3.5a.5.5 0 0 1 0 .864l-6 3.5zm.248-1.303L10.008 7.5 5.5 4.87v5.26z" fill-rule="nonzero" />'},arrow:{width:12,height:12,content:'<path d="M3 7l3 3.5L9 7M6 10V1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" vector-effect="non-scaling-stroke" />'},brent:{width:9,height:12,content:'<g fill="#999" fill-rule="nonzero"><path d="M4.332 0l.528.606c2.528 2.902 3.804 5.07 3.804 6.634A4.332 4.332 0 110 7.24C0 5.676 1.276 3.508 3.804.606L4.332 0zm0 2.143l-.176.212C2.313 4.589 1.4 6.248 1.4 7.24a2.932 2.932 0 105.864 0c0-.992-.914-2.651-2.756-4.885l-.176-.212z"/><path d="M2.973 7.475c0 .415.417.863.835.924l.097.008v.7c-.79 0-1.548-.716-1.626-1.5l-.006-.132h.7z"/></g> '},user:{width:16,height:16,content:'<path fill="currentColor" fill-rule="nonzero" d="M8 1a4.25 4.25 0 012.676 7.552 6.751 6.751 0 014.074 6.198.75.75 0 11-1.5 0 5.25 5.25 0 00-10.5 0 .75.75 0 11-1.5 0 6.752 6.752 0 014.074-6.199A4.25 4.25 0 018 1zm0 1.5A2.75 2.75 0 108 8a2.75 2.75 0 000-5.5z" />'},receipt:{width:10,height:13,content:'<g fill="currentColor" fill-rule="nonzero"><path d="M10 0H0v13l2-1.74 1.5 1.305L5 11.26l1.5 1.305L8 11.26 10 13V0zM9 .997v9.81l-1-.87-1.5 1.304L5 9.937 3.5 11.24 2 9.937l-1 .87V.996h8z"/><path d="M7 3v1H3V3zM7 6v1H3V6z"/></g>'},magic:{width:15,height:15,content:'<g fill-rule="evenodd" clip-rule="evenodd"> <path d="M7.804.4a.6.6 0 0 1 .6.6v2.035a.6.6 0 0 1-1.2 0V1a.6.6 0 0 1 .6-.6ZM7.804 10.577a.6.6 0 0 1 .6.6v2.035a.6.6 0 1 1-1.2 0v-2.035a.6.6 0 0 1 .6-.6ZM14.636 7.106a.6.6 0 0 1-.6.6h-2.078a.6.6 0 1 1 0-1.2h2.078a.6.6 0 0 1 .6.6ZM4.25 7.106a.6.6 0 0 1-.6.6H1.573a.6.6 0 0 1 0-1.2H3.65a.6.6 0 0 1 .6.6ZM12.639 2.37a.585.585 0 0 1 0 .84l-1.442 1.412a.615.615 0 0 1-.857 0 .585.585 0 0 1 0-.84l1.442-1.412a.615.615 0 0 1 .857 0ZM12.639 11.843a.615.615 0 0 1-.857 0L10.34 10.43a.585.585 0 0 1 0-.84.615.615 0 0 1 .857 0l1.442 1.413a.585.585 0 0 1 0 .84ZM5.269 4.621a.615.615 0 0 1-.858 0L2.97 3.208a.585.585 0 0 1 0-.84.615.615 0 0 1 .858 0l1.442 1.413a.585.585 0 0 1 0 .84ZM8.926 6.074a.6.6 0 0 1 0 .849l-.863.863-.849-.849.863-.863a.6.6 0 0 1 .849 0ZM7.348 8.5l-5.924 5.924a.6.6 0 1 1-.848-.848L6.5 7.652l.848.848Z"/> </g>'}};var m={root:"SvgSymbol-module_root__WctNR",small:"SvgSymbol-module_small__h9V-w",normal:"SvgSymbol-module_normal__gFAVe",medium:"SvgSymbol-module_medium__QaYjY",large:"SvgSymbol-module_large__o6A4o",adaptive:"SvgSymbol-module_adaptive__gL9qn",fb:"SvgSymbol-module_fb__HZqcB",vk:"SvgSymbol-module_vk__XctB2",ok:"SvgSymbol-module_ok__IM6Z9",tw:"SvgSymbol-module_tw__fio-Q",tg:"SvgSymbol-module_tg__GRhd-",magic:"SvgSymbol-module_magic__N-jKk",reaction:"SvgSymbol-module_reaction__xSbgo",card:"SvgSymbol-module_card__2nVFu",podcast:"SvgSymbol-module_podcast__Yp05r",menu:"SvgSymbol-module_menu__z-dLm",cross:"SvgSymbol-module_cross__3Xej1",isInFeature:"SvgSymbol-module_isInFeature__BmyI-",isInCard:"SvgSymbol-module_isInCard__USxBS",isInTopicBlockItem:"SvgSymbol-module_isInTopicBlockItem__cnCgw",isInPageStatic:"SvgSymbol-module_isInPageStatic__7kMP-",isInMaterialMeta:"SvgSymbol-module_isInMaterialMeta__lIKJO",isInAudioPlayer:"SvgSymbol-module_isInAudioPlayer__mamWa",isInEpisodeBlock:"SvgSymbol-module_isInEpisodeBlock__oZ6JG",isInButtonPlaybackRate:"SvgSymbol-module_isInButtonPlaybackRate__NnADm",isInButtonBackward:"SvgSymbol-module_isInButtonBackward__x8L9a",isInButtonForward:"SvgSymbol-module_isInButtonForward__TtixK",isInToolbar:"SvgSymbol-module_isInToolbar__RzbaX",play:"SvgSymbol-module_play__dAES0",speedHalf:"SvgSymbol-module_speedHalf__mvVYC",speedThreeQuarters:"SvgSymbol-module_speedThreeQuarters__9N7uH",speedOne:"SvgSymbol-module_speedOne__sRNph",speedOneQuarter:"SvgSymbol-module_speedOneQuarter__fKIT7",speedOneHalf:"SvgSymbol-module_speedOneHalf__7yXsa",speedTwo:"SvgSymbol-module_speedTwo__Bv8-b",meduzaLogo:"SvgSymbol-module_meduzaLogo__aVKzZ",arrow:"SvgSymbol-module_arrow__lWTSJ",oil:"SvgSymbol-module_oil__VFGTp",search:"SvgSymbol-module_search__h06cc",user:"SvgSymbol-module_user__ORMm-",receipt:"SvgSymbol-module_receipt__o3V8u",isInHeader:"SvgSymbol-module_isInHeader__M5Tzw"};const _=({icon:t,size:o,styleContext:l})=>{const a=s[t];return e.createElement("svg",{"data-testid":"svg-symbol",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:n([[m.root,!0],[m[o],!!m[o]],[m[t],!!m[t]],[m[l],!!m[l]]]),width:a.width,height:a.height,viewBox:`0 0 ${a.width} ${a.height}`,dangerouslySetInnerHTML:{__html:a.content}})};var u={root:"Switcher-module_root__cBsJB",dark:"Switcher-module_dark__1QQsH",control:"Switcher-module_control__60WMX",input:"Switcher-module_input__5UDnv",knob:"Switcher-module_knob__PwA1A",isInMenu:"Switcher-module_isInMenu__RQVhp",isInLive:"Switcher-module_isInLive__ZyMCT",children:"Switcher-module_children__uLapU"};const p=(e,t,o)=>{const l=Array.isArray(t)?t.filter((e=>o[e])).map((e=>[[o[e]],!0])):[[o[t],!!t&&!!o[t]]];return e.concat(l)},h=e.createContext({lightBox:null}),k=h.Provider,b=(e,t,o)=>{const l=window.top,a=`mdzKitMsg=${JSON.stringify({category:e,element:t,action:o})}`;void 0!==l&&l.postMessage(a,"*")};var C={root:"Lazy-module_root__DWw8D"};const g=({children:o,threshold:l=0})=>{const[a,r]=t.useInView({threshold:l,triggerOnce:!0});return e.createElement("div",{className:n([[C.root,!0],[C.visible,r]]),ref:a,"data-testid":"lazy"},r&&o)},y={325:"(min-width: 0)",520:"(min-width: 325px)",600:"(min-width: 600px)",650:"(min-width: 650px)",980:"(min-width: 1000px)",1335:"(min-width: 1000px)"},v={xs:[325],superFull:[1335,650,520,325],full:[980,650,520,325],default:[650,520,325],narrow:[600,325]},E={ru:{tg:"Телеграм",fb:"Фейсбук",tw:"Твиттер",pdf:"PDF",unblock:"Magic link",reaction:"Напишите нам"},en:{tg:"Telegram",fb:"Fb",tw:"Twitter",pdf:"PDF",unblock:"Magic link"}},f=e=>e.replace(/([_][a-z])/gi,(e=>e.toUpperCase().replace("_",""))),L=({source:t,fallbackSource:o,optimized:l,alt:a,display:r,onLoad:n})=>{const[i,d]=e.useState(!1);e.useEffect((()=>{d(!window.HTMLPictureElement)}),[]);const c=v[f(r)]||v.default;return e.createElement("picture",null,t&&e.createElement("source",{media:"(min-width: 325px)",srcSet:`${t[1]} 2x`}),l&&!l.w325&&e.createElement("source",{media:"(min-width: 0)",srcSet:`${l.original}`}),l&&c.map((t=>{const o=l[`w${t}`];return o?e.createElement(e.Fragment,{key:t},e.createElement("source",{type:"image/webp",media:y[t],srcSet:`${o["2x_webp"]} 2x, ${o["1x_webp"]} 1x `}),e.createElement("source",{type:"image/png",media:y[t],srcSet:`${o["2x"]} 2x, ${o["1x"]} 1x `})):null})),e.createElement("img",{src:i?o:"data:image/gif;base64,R0lGODlhAQABAPAAAPLy8gAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",alt:a,onLoad:()=>n(!0)}))};var w={root:"Image-module_root__H5wAh",fullRatio:"Image-module_fullRatio__q7QPa",isStatic:"Image-module_isStatic__TmQ1V",isLoaded:"Image-module_isLoaded__keFnD",wrapper:"Image-module_wrapper__gJtbB",fullscreen:"Image-module_fullscreen__4PU9c",dark:"Image-module_dark__qjo5O",isRelated:"Image-module_isRelated__uSeSM"};const S=({alt:t,display:o,optimized:l,width:a,height:r,source:i,lazy:d,ratio:c,styleContext:s,fullscreen:m=!0})=>{const{lightBox:_}=e.useContext(h),[u,k]=e.useState(!d),C=Boolean(_&&l?.original&&m),y=()=>{C&&(b("","fullscreen_click","click"),_.show(l,a,r,t))},v={maxWidth:a<=649?a:"100%"},E={aspectRatio:null===c?"unset":`${c||a/r}`},f=i&&i[0]||l.w325&&l.w325["1x"]||l.original;let S=[[w.root,!0],[w.isLoaded,u],[w.fullscreen,C],[w.fullRatio,null===c]];s&&(S=p(S,s,w));const B=C?{onClick:y,onKeyPress:y,role:"button",tabIndex:0}:{};return e.createElement("div",{className:n(S),style:v,"data-testid":"image"},e.createElement("div",{className:w.wrapper,style:E,...B},d?e.createElement(e.Fragment,null,e.createElement(g,{threshold:.25},e.createElement(L,{fallbackSource:f,source:i,optimized:l,alt:t,display:o,onLoad:k})),e.createElement("noscript",null,e.createElement("img",{src:f,alt:t}))):e.createElement(L,{fallbackSource:f,source:i,optimized:l,alt:t,display:o,onLoad:k})))},B=({children:t,onClose:o})=>{const[l,a]=e.useState(!0),r=()=>{a(!1),setTimeout(o,350)},i=()=>{r()},d=e=>{"Escape"===e.key&&r()};return e.useEffect((()=>(document.body.dataset.popover="true",window.addEventListener("keydown",d,!1),window.addEventListener("scroll",i,!1),()=>{document.body.removeAttribute("data-popover"),window.removeEventListener("keydown",d,!1),window.removeEventListener("scroll",i,!1)})),[l]),e.createElement("div",{"data-testid":"popover",className:n([["Popover-module_root__nBiV4",!0],["Popover-module_visible__XVQLW",l]])},e.createElement("div",{className:"Popover-module_overlay__NAPar",onClick:()=>r()}),e.createElement("div",{className:"Popover-module_container__y4SB1"},e.createElement("button",{type:"button",className:"Popover-module_dismiss__W8KFF",onClick:()=>r(),"aria-label":"dismiss"}),e.createElement("svg",{width:"100%",className:"Popover-module_background__apiio"},e.createElement("defs",null,e.createElement("mask",{id:"myMask",x:"0",y:"0",width:"100%",height:"100%"},e.createElement("rect",{fill:"white",y:"0",width:"100%",height:"100%",x:"0"}),e.createElement("svg",{x:"50%",overflow:"visible"},e.createElement("g",{transform:"translate(-12 0)"},e.createElement("path",{d:"M4.61852778e-14,9.76996262e-15 L9.84597532,5.80270273 C11.0992017,6.54128882 12.6546044,6.54128882 13.9078308,5.80270273 L23.7538061,9.76996262e-15 L4.61852778e-14,9.76996262e-15 Z"}))))),e.createElement("rect",{fill:"#F7F7F7",id:"base-mask",mask:"url(#myMask)",x:"0",y:"0",width:"100%",height:"100%"})),e.createElement("div",{className:"Popover-module_body__UJEZf"},t)))},x=({children:t,onClose:o})=>e.createElement("div",{"data-testid":"footnote",className:n([["Footnote-module_root__W5D8G",!0]])},e.createElement("button",{className:"Footnote-module_dismiss__Q2hAX",type:"button",onClick:()=>o()},e.createElement(_,{icon:"cross",size:"unset"})),e.createElement("div",{className:"Footnote-module_body__C-ZC-"},t));var M=()=>({width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}),I={root:"DotsOnImage-module_root__8UQf2",isVisible:"DotsOnImage-module_isVisible__rA5x9",marker:"DotsOnImage-module_marker__pLdQT",show:"DotsOnImage-module_show__Ec0lG",dot:"DotsOnImage-module_dot__e2MWx",isActive:"DotsOnImage-module_isActive__Bhb58",popover:"DotsOnImage-module_popover__zHSbU",isRight:"DotsOnImage-module_isRight__IaUbc",isTop:"DotsOnImage-module_isTop__RMK49",isLeft:"DotsOnImage-module_isLeft__Q6JZ-",isBottom:"DotsOnImage-module_isBottom__c-aLe"};const T=({block:{optimized:o,width:l,height:a,credit:r,display:i,dots:d}})=>{const[c,s]=e.useState(1),[m,_,u]=t.useInView(),p=e.useRef(null),[h,k]=e.useState({title:null,body:null,show:!1,id:null}),[b,C]=e.useState(!1);e.useEffect((()=>{u&&u.boundingClientRect&&u.boundingClientRect.y<0&&C(!0)}),[u]),e.useEffect((()=>{_&&C(!0)}),[_]),e.useEffect((()=>(h.id?document.addEventListener("click",y):document.removeEventListener("click",y),()=>document.removeEventListener("click",y))),[h]),e.useEffect((()=>(g(),window.addEventListener("resize",g),()=>document.removeEventListener("resize",g))),[b]);const g=()=>{const e=window.innerWidth;s(e<375?e/375:1)},y=e=>{-1===e.composedPath().indexOf(p.current)&&k({show:!1})};return e.createElement("div",{className:n([[I.root,!0],[I.isVisible,b]]),"data-testid":"dots-on-image",ref:m},e.createElement(S,{fullscreen:!1,optimized:o,width:l,height:a,alt:r,display:i}),e.createElement("div",{ref:p},d.map((t=>e.createElement("div",{className:I.dot,key:t.id,style:{top:`${t.position.y}%`,left:`${t.position.x}%`,transform:`scale(${c}) translate(-${50/c}%, -${50/c}%)`}},e.createElement("button",{className:n([[I.marker,!0],[I.isActive,t.id===h.id]]),type:"button",style:{backgroundColor:t.icon.color},onClick:()=>(e=>{const t=e.id!==h.id;k({title:e.title,body:e.body,show:t,id:t?e.id:null,style:{top:`${e.position.y}%`,left:`${e.position.x}%`},side:e.position.x>50?"isLeft":"isRight",align:e.position.y>50?"isBottom":"isTop"})})(t)},"svg"===t.icon.type&&e.createElement("div",{dangerouslySetInnerHTML:{__html:t.icon.svg_string}}),"number"===t.icon.type&&t.icon.number)))),h.show&&e.createElement(e.Fragment,null,M().width>=1024?e.createElement("div",{className:n([[I.popover,!0],[I[h.side],!!h.side],[I[h.align],!!h.align]]),style:h.style},e.createElement(x,{onClose:()=>{k({show:!1})}},h.title&&e.createElement("h3",null,h.title),e.createElement("div",{dangerouslySetInnerHTML:{__html:h.body}}))):e.createElement(B,{onClose:()=>{k({show:!1})}},h.title&&e.createElement("h3",null,h.title),e.createElement("div",{dangerouslySetInnerHTML:{__html:h.body}})))))};var N={root:"Tag-module_root__sGbnM",small:"Tag-module_small__hcPrf",large:"Tag-module_large__EKMu6",dark:"Tag-module_dark__9SHCb",light:"Tag-module_light__qlfy3",gold:"Tag-module_gold__u0bzS",gray:"Tag-module_gray__eazPk",inherit:"Tag-module_inherit__z21c-",overlay:"Tag-module_overlay__Xw8fF",is1to1:"Tag-module_is1to1__V-fH5",is1to2:"Tag-module_is1to2__b9Obh",isInSuperBlock:"Tag-module_isInSuperBlock__wrFUY",is1to3:"Tag-module_is1to3__vZT-R",is1to4:"Tag-module_is1to4__MBh5V",slide:"Tag-module_slide__gzptP",game:"Tag-module_game__NmKec",podcastMaterial:"Tag-module_podcastMaterial__O-LBI",richRelated:"Tag-module_richRelated__Qs6Ei",isInBookRelated:"Tag-module_isInBookRelated__ikTaj",isInBlockMetaContainer:"Tag-module_isInBlockMetaContainer__bAmLh",card:"Tag-module_card__TX87-",live:"Tag-module_live__ykyR7",episode:"Tag-module_episode__3OHmN",podcast:"Tag-module_podcast__K6dHn",rich:"Tag-module_rich__vPnWd",isInDynamicBlock:"Tag-module_isInDynamicBlock__WNleF",isInPodcastPlayer:"Tag-module_isInPodcastPlayer__H4sK9",mobile:"Tag-module_mobile__19oMH",desktop:"Tag-module_desktop__cNyQs"};const R=({children:t,size:o="small",theme:l="gold",styleContext:a,correlation:r,onlyOn:i})=>{let d=[[N.root,!0],[N[o],!!o&&!!N[o]],[N[l],!!l&&!!N[l]],[N[i],!!i&&!!N[i]],[N[r],!!r&&!!N[r]]];return a&&(d=p(d,a,N)),e.createElement("div",{"data-testid":"tag",className:n(d)},t)};var H={root:"MediaCaption-module_root__1r0wu",caption:"MediaCaption-module_caption__ewfcc",credit:"MediaCaption-module_credit__7y4v8",dark:"MediaCaption-module_dark__7a9Cm",video:"MediaCaption-module_video__RDTUa",picture:"MediaCaption-module_picture__abCvw",desktop:"MediaCaption-module_desktop__e0lCY",isDark:"MediaCaption-module_isDark__IFb9X"};const z=({credit:t,caption:o,styleContext:l})=>{let a=[[H.root,!0]];return l&&(a=p(a,l,H)),e.createElement("div",{"data-testid":"media-caption",className:n(a)},o&&e.createElement("div",{className:H.caption,dangerouslySetInnerHTML:{__html:o}}),t&&e.createElement("div",{className:H.credit,dangerouslySetInnerHTML:{__html:t}}))};var A={root:"Table-module_root__fRuZq",card:"Table-module_card__8r-EA",table:"Table-module_table__7Pagp",slide:"Table-module_slide__dgMPV",wrapper:"Table-module_wrapper__AP4Pz",tracks:"Table-module_tracks__mRNG0",default:"Table-module_default__nwBEg",full:"Table-module_full__YZPDz",row:"Table-module_row__9OHT3",cell:"Table-module_cell__yFdqc",fixedColumn:"Table-module_fixedColumn__O2528",white:"Table-module_white__Laj3-",gray:"Table-module_gray__FPFh0",pink:"Table-module_pink__CGkAA",blue:"Table-module_blue__b8BHs",yellow:"Table-module_yellow__YOJgu",orange:"Table-module_orange__B-i8L",green:"Table-module_green__Bt6iC",violet:"Table-module_violet__yTZd7",header:"Table-module_header__YPDzO",s:"Table-module_s__I-CeX",m:"Table-module_m__vxhDf",l:"Table-module_l__GYHhk",xs:"Table-module_xs__imR8t"};const V=({styleContext:t,block:{rows:o,options:l,display:a,columns_widths:r,table_credit:i}})=>{const d={"#ffffff":"white","#f5f5f5":"gray","#feeeee":"pink","#e6f3ff":"blue","#fffde6":"yellow","#fff9f2":"orange","#e7f2ef":"green","#f4f0f8":"violet"};let c=[[A.root,!0],[A[a],!!a&&!!A[a]]];return t&&(c=p(c,t,A)),e.createElement("div",{"data-testid":"table",className:n(c)},e.createElement("div",{className:A.wrapper},e.createElement("div",{className:A.table},e.createElement("div",{className:A.tracks},o.map(((t,o)=>e.createElement("div",{key:t.key,className:A.row},t.cells.map(((t,a)=>e.createElement("div",{key:t.key,className:n([[A.cell,!0],[A.header,l.header&&0===o],[A[d[t.color]],!0],[A[r[a]],!0],[A.fixedColumn,l.fixed_first_column&&0===a]]),dangerouslySetInnerHTML:{__html:t.val}}))))))))),i&&e.createElement(z,{credit:i,styleContext:t}))};var D={root:"MaterialNote-module_root__99HSA",dark:"MaterialNote-module_dark__etjym",note_credit:"MaterialNote-module_note_credit__J1skG",note_caption:"MaterialNote-module_note_caption__G2Ad0",center:"MaterialNote-module_center__mDLEO",default:"MaterialNote-module_default__ozgd7",card:"MaterialNote-module_card__EVuZe",slide:"MaterialNote-module_slide__mg8XV",game:"MaterialNote-module_game__c-r0n",gameSurvey:"MaterialNote-module_gameSurvey__azhu6"};const P=({block:{data:t},styleContext:o})=>{let l=[[D.root,!0]];return o&&(l=p(l,o,D)),e.createElement(e.Fragment,null,e.createElement("div",{"data-testid":"material-note",className:n(l)},t&&t.map((t=>e.createElement("p",{className:D[t.type],key:t.id,dangerouslySetInnerHTML:{__html:t.data}})))))};var Z={root:"Dropdown-module_root__Wv7S-",menu:"Dropdown-module_menu__11IQL",inactive:"Dropdown-module_inactive__E5CP6",isInAudioPanel:"Dropdown-module_isInAudioPanel__UniSV"},O={root:"Toolbar-module_root__RnmlI",list:"Toolbar-module_list__-IhdP",item:"Toolbar-module_item__CWmGM",isInTopbar:"Toolbar-module_isInTopbar__WEDi8",center:"Toolbar-module_center__pvdiJ",game:"Toolbar-module_game__etwIA",gameSurvey:"Toolbar-module_gameSurvey__v4D31",slide:"Toolbar-module_slide__PtB3l",card:"Toolbar-module_card__Lutyq",isDark:"Toolbar-module_isDark__MG6Ar",dark:"Toolbar-module_dark__a9sgz",podcast:"Toolbar-module_podcast__ahY4M"},W={root:"Meta-module_root__H-Q4d",rich:"Meta-module_rich__dCkJK",podcast:"Meta-module_podcast__MI8gD",episode:"Meta-module_episode__0n9CF",simple:"Meta-module_simple__tztcr",slide:"Meta-module_slide__3OyIN",card:"Meta-module_card__2vqfN",game:"Meta-module_game__HNcgr",isInMaterial:"Meta-module_isInMaterial__vKcTK",isInSearchItem:"Meta-module_isInSearchItem__ENqHo",isInMediaBlock:"Meta-module_isInMediaBlock__TENZG",center:"Meta-module_center__seHro",half:"Meta-module_half__aoa9h",podcastMaterial:"Meta-module_podcastMaterial__GTPyD",light:"Meta-module_light__oW3kc",overlay:"Meta-module_overlay__ZRKZy",dark:"Meta-module_dark__tLQNJ",isDark:"Meta-module_isDark__xSl1J",hasSource:"Meta-module_hasSource__OZJ0y",richRelated:"Meta-module_richRelated__fIo0x",isInBookRelated:"Meta-module_isInBookRelated__Ohidg",mobile:"Meta-module_mobile__PbG8N",desktop:"Meta-module_desktop__W5AB7"};const F=({hasSource:t,theme:o,children:l,onlyOn:a,styleContext:r})=>{let i=[[W.root,!0],[W[o],!!o&&!!W[o]],[W[a],!!a],[W.hasSource,t]];return r&&(i=p(i,r,W)),e.createElement("div",{"data-testid":"meta",className:n(i)},l)},G=({publishedAt:t,locale:a="ru",type:r})=>{let n;const i="ru"===a?"HH:mm, D MMMM YYYY":"MMMM D, YYYY, h:mm a",d=1e3*t;if(o.locale(a),o.extend(l),"fromNow"===r)n=o(d).fromNow();else if("format"===r)n=o(d).format("HH:mm");else{if("date"!==r)throw new Error("Unknown time type");n=o(d).format(i)}return e.createElement("time",{suppressHydrationWarning:!0,"data-testid":"timestamp",className:"Timestamp-module_root__jPJ6w"},n)},j=({className:t="",tagName:o="div",html:l})=>{const a=e.useRef(null),[r,n]=e.useState(!1);e.useEffect((()=>{n(!0)}),[]);const i=e.useCallback((e=>{if("SCRIPT"!==e.tagName||e.id&&0===e.id.indexOf("script-")){let t=0;const o=e.childNodes;for(;t<o.length;)i(o[t]),t+=1}else{const t=document.createElement("script");t.id=`script-${Math.random().toString(16).slice(2)}`,t.innerHTML=e.innerHTML;const o=e.attributes;for(let e=0;e<o.length;e+=1){const{name:l,value:a}=o[e];t.setAttribute(l,a)}e.parentElement.replaceChild(t,e)}}),[]),d=e.useCallback((()=>{Array.from(a.current.querySelectorAll("a")).forEach((e=>{e.setAttribute("target","_blank")}))}),[]);return e.useEffect((()=>{r&&l.indexOf("script")>-1&&a.current.firstElementChild&&(a.current.firstElementChild.innerHTML=l,i(a.current.firstElementChild),d())}),[r,a,l,i,d]),e.createElement("div",{ref:a},e.createElement(o,{className:t,dangerouslySetInnerHTML:{__html:l}}))};var q={root:"EmbedBlock-module_root__wNZlD",object:"EmbedBlock-module_object__DONQ0",objectWrap:"EmbedBlock-module_objectWrap__qpbni",gameEmbed:"EmbedBlock-module_gameEmbed__tO5Ha",proportional:"EmbedBlock-module_proportional__zDPfm",isDefaultVideo:"EmbedBlock-module_isDefaultVideo__UTW9Q",default:"EmbedBlock-module_default__np8MO",xs:"EmbedBlock-module_xs__PNHGz",full:"EmbedBlock-module_full__Gmz7o",super_full:"EmbedBlock-module_super_full__-h382",figure:"EmbedBlock-module_figure__fNZB-",dark:"EmbedBlock-module_dark__S2R9f",isInGroupedBlock:"EmbedBlock-module_isInGroupedBlock__Wjj7k",control:"EmbedBlock-module_control__9bJUa",raw_html:"EmbedBlock-module_raw_html__EfYVy",mobileFullwidth:"EmbedBlock-module_mobileFullwidth__1MDT5",isInCard:"EmbedBlock-module_isInCard__WnLHG",isInSlide:"EmbedBlock-module_isInSlide__BtdnY",cc:"EmbedBlock-module_cc__Gyw44",isInSensitiveBlock:"EmbedBlock-module_isInSensitiveBlock__nYajZ",isInAnswer:"EmbedBlock-module_isInAnswer__WuZ0H",picture:"EmbedBlock-module_picture__Weamy",wrapper:"EmbedBlock-module_wrapper__ynT7R",isProportional:"EmbedBlock-module_isProportional__x8-8g",mobile:"EmbedBlock-module_mobile__lEuww",desktop:"EmbedBlock-module_desktop__599S7"};const Q=({gif:t,mp4Url:o,style:l})=>{const[a,r]=e.useState(!1),n=e.useRef(null),i=()=>{n.current.play(),r(!1)},d=()=>{const e=n.current;e.setAttribute("poster",e.dataset.gif),r(!1)};return e.useEffect((()=>{const e=n.current,{width:t}=M();return t>=512?(e.setAttribute("autoplay",!0),e.play()):(r(!0),e.pause(),e.addEventListener("touchstart",i)),e.addEventListener("error",d),()=>{e.removeEventListener("touchstart",i),e.removeEventListener("error",d)}}),[]),e.createElement("div",{className:q.figure},e.createElement("div",{className:q.objectWrap,style:l,"data-frozen":a},e.createElement("video",{playsInline:!0,muted:!0,loop:!0,autoPlay:!0,preload:"metadata","data-gif":t,ref:n},e.createElement("source",{src:`https://meduza.io${o}`,type:"video/mp4"}))))},U=({block:t,block:{data:o,data:{html:l,display:a,only_on:r,provider:i,cc:d,optimized:c,small_url:s,large_url:m,gif_url:_,mp4_url:u,video_file_path:h,thumbnail_url:k}},styleContext:b,children:C,platform:g})=>{const[y,v]=e.useState(!1),E={},f=t.data.height&&t.data.width,L=["youtube","vimeo","onetv","coub","meduza","facebook_video"].indexOf(i)>-1||"dots_on_image"===t.type,w=t=>e.createElement(z,{credit:o.credit,caption:o.caption,styleContext:t||b});f&&(E.aspectRatio=`${t.data.width} / ${t.data.height}`);let x=[[q.root,!0],[q.cc,d],[q[a],!!a&&q[a]],[q[i],!!i&&!!q[i]],[q[r],!!r&&q[r]],[q.mobileFullwidth,L],[q.proportional,f]];if(b&&Array.isArray(b)){const e=b.filter((e=>e.startsWith("isIn")&&q[e])).reduce(((e,t)=>(e.push(t),e)),[]);x=p(x,e,q)}return e.createElement("figure",{className:n(x)},C&&e.createElement("div",{className:q.object},e.createElement("div",{className:n([[q.wrapper,!0],[q.isProportional,f]]),style:E},e.createElement("div",{className:q.objectWrap},C))),!C&&(a=>{switch(t.type){case"gif":return e.createElement(Q,{gif:_,mp4Url:u,style:a});case"image":return e.createElement("div",{className:q.figure},e.createElement(S,{source:!c&&[s,m],optimized:t.data.optimized,width:t.data.width,height:t.data.height,alt:t.data.caption,display:t.data.display,lazy:t.data.lazy,fullscreen:t.data.fullscreen,styleContext:b}));case"game_embed":return e.createElement("div",{className:q.gameEmbed},e.createElement("iframe",{src:t.data.game_src,id:t.data.game_id,title:"Game embed"}));case"dots_on_image":return e.createElement("div",{className:q.figure},e.createElement(T,{block:o}));default:return e.createElement("div",{className:q.object},"mirror"===g&&h?e.createElement("div",{className:n([[q.objectWrap,!0],[q.isDefaultVideo,!0]])},e.createElement("video",{src:h,poster:k,controls:!0,playsInline:!0,preload:"none"})):e.createElement("div",{className:n([[q.wrapper,!0],[q.isProportional,f]]),style:a},e.createElement(j,{className:q.objectWrap,html:l})))}})(E),"default"===d&&e.createElement("figcaption",null,w()),"button"===d&&e.createElement("button",{className:q.control,type:"button","aria-label":"Open",onClick:()=>{v(!y)}}),"button"===d&&y&&e.createElement(B,{onClose:()=>{v(!1)}},w("isInPopover")))},J=({block:t,block:{id:o},styleContext:l,lang:a="ru"})=>{const r=e.useRef(null);return e.useEffect((()=>{(()=>{const e=document.createElement("div"),o=document.createElement("div"),l=document.createElement("script"),n=document.createElement("style"),i=document.createRange();i.setStart(o,0),o.setAttribute("id","content"),l.textContent=`\n function getDocHeight() {\n var doc = document;\n var body = doc.body;\n var html = doc.documentElement;\n var height = Math.max( body.scrollHeight, body.offsetHeight,\n html.clientHeight, html.scrollHeight, html.offsetHeight );\n\n doc.body.style.margin="0";\n\n return document.getElementById('content') ? document.getElementById('content').offsetHeight : height;\n }\n\n function sendDocHeightMsg() {\n var height = getDocHeight();\n var message = JSON.stringify({\n action: {\n type: "UPDATE_HEIGHT",\n payload: {\n id: "${t.id}",\n height: height\n }\n }\n });\n parent.postMessage("mdzMaterialEmbedHeight=" + message, '*');\n }\n\n setInterval(sendDocHeightMsg, 300);\n `,n.type="text/css",n.innerHTML="embed_code"===t.type?".twitter-tweet { padding-top: 15px; margin: 0 !important; }":".twitter-tweet { margin: 0 !important; } .fb-post { display: block; } .instagram-media { min-width: 0 !important; }",o.appendChild(i.createContextualFragment(t.data.html)),e.appendChild(l),e.appendChild(o),o.appendChild(n);const d=r.current.querySelector("iframe").contentDocument;d.open(),d.close(),d.documentElement.setAttribute("lang",a),d.body.appendChild(e)})()}),[]),e.createElement(U,{block:t,styleContext:l},e.createElement("div",{ref:r,dangerouslySetInnerHTML:{__html:`<iframe id=${o} frameBorder="0" scrolling="no"></iframe>`}}))},Y=({block:t,styleContext:o,lang:l,platform:a})=>t.data&&t.data.wrap_with_iframe?e.createElement(J,{block:t,styleContext:o,lang:l}):e.createElement(U,{block:t,styleContext:o,platform:a});var $={root:"QuoteBlock-module_root__4qa1J",center:"QuoteBlock-module_center__1f83y"};const X=({block:{data:t},styleContext:o})=>{let l=[[$.root,!0]];return o&&(l=p(l,o,$)),e.createElement("div",{"data-testid":"quote-block",className:n(l)},e.createElement("p",{dangerouslySetInnerHTML:{__html:t}}))};var K={root:"CardTitle-module_root__Pvx--",index:"CardTitle-module_index__Keled",title:"CardTitle-module_title__Lkflo",mobile:"CardTitle-module_mobile__6N3hB",desktop:"CardTitle-module_desktop__sBokS"};const ee=({block:{data:{only_on:t,index:o,text:l},id:a},styleContext:r})=>e.createElement("div",{"data-testid":"card-title",id:a,className:n([[K.root,!0],[K[t],!!t],[K[r],!!r&&!!K[r]]])},e.createElement("div",{className:K.index},o),e.createElement("h3",{className:K.title},l));var te={root:"ChapterBlock-module_root__iw7d2",subtitle:"ChapterBlock-module_subtitle__IpWgz",mobile:"ChapterBlock-module_mobile__V1Eye",desktop:"ChapterBlock-module_desktop__9xWf4"};const oe=({block:{data:t,only_on:o},styleContext:l,id:a})=>e.createElement("div",{"data-testid":"chapter-block",id:a,className:n([[te.root,!0],[te[o],!!o]])},e.createElement("div",{className:n([[te.subtitle,!0],[te[l],!!l&&!!te[l]]]),dangerouslySetInnerHTML:{__html:t}})),le=(e,t)=>`linear-gradient(-180deg, ${{mediaBlockBottom:[[0,7],[.08,12],[.16,17],[.22,21],[.32,26],[.42,32],[.52,38],[.62,47],[.72,57],[.82,65],[1,82]],mediaBlockTop:[[.5,0],[0,97]]}[t].map((t=>`rgba(${e}, ${t[0]}) ${t[1]}%`))})`;var ae={root:"SimpleTitle-module_root__YOzNn",mobile:"SimpleTitle-module_mobile__1QiJd",desktop:"SimpleTitle-module_desktop__ZF5Af"};const re=({block:{data:{first:t},only_on:o},styleContext:l})=>{let a=[[ae.root,!0],[ae[o],!0]];return l&&(a=p(a,l,ae)),e.createElement("h1",{"data-testid":"simple-title",className:n(a)},t)};var ne={root:"RichTitle-module_root__U5XQu",slide:"RichTitle-module_slide__eU9Ob",game:"RichTitle-module_game__S1csb",podcastMaterial:"RichTitle-module_podcastMaterial__AulVF",half:"RichTitle-module_half__yBMby",featured:"RichTitle-module_featured__ULNQn",isInFeaturedBlock:"RichTitle-module_isInFeaturedBlock__3vYu9",isInMediaBlock:"RichTitle-module_isInMediaBlock__2h6rl",richRelated:"RichTitle-module_richRelated__cvt3o",isInBookRelated:"RichTitle-module_isInBookRelated__LcCPV",isInDynamicBlock:"RichTitle-module_isInDynamicBlock__J-gM6",isInPodcastPlayer:"RichTitle-module_isInPodcastPlayer__kvEPH",large:"RichTitle-module_large__n2URP",medium:"RichTitle-module_medium__KkBLJ",mobile:"RichTitle-module_mobile__W5L9E",desktop:"RichTitle-module_desktop__k0PkC"};const ie=({block:{only_on:t,data:{featured:o,first:l,second:a,as:r="h1"}},styleContext:i,size:d="default"})=>{let c=[[ne.root,!0],[ne[t],!0],[ne.featured,!!o],[ne[d],!!d]];return i&&(c=p(c,i,ne)),e.createElement(r,{"data-testid":"rich-title",className:n(c)},l,a&&e.createElement("span",null," ",a))};var de={p:"SimpleBlock-module_p__7aRnT",h2:"SimpleBlock-module_h2__aWlMn",h3:"SimpleBlock-module_h3__uPh0-",h4:"SimpleBlock-module_h4__MxGXA",lead:"SimpleBlock-module_lead__NzEPT",lead_hr:"SimpleBlock-module_lead_hr__XN0rm",context_p:"SimpleBlock-module_context_p__Mdu1R",blockquote:"SimpleBlock-module_blockquote__nX-Ab",game:"SimpleBlock-module_game__uVeJJ",slide:"SimpleBlock-module_slide__MaaUF",dark:"SimpleBlock-module_dark__qtLhq",divider:"SimpleBlock-module_divider__-VXBu",isInIntro:"SimpleBlock-module_isInIntro__UOePf",center:"SimpleBlock-module_center__D1CsV",isInImportantLead:"SimpleBlock-module_isInImportantLead__qzKDo",podcastMaterial:"SimpleBlock-module_podcastMaterial__XEMjh",isInAnswer:"SimpleBlock-module_isInAnswer__Asx7d",mobile:"SimpleBlock-module_mobile__EVGYJ",desktop:"SimpleBlock-module_desktop__6ZH5e",isDark:"SimpleBlock-module_isDark__ehYKr"};const ce=({block:{data:t,type:o,only_on:l},styleContext:a,id:r=null})=>{let i,d=[[de[o],!!o&&!!de[o]],[de[l],!0]];switch(a&&(d=p(d,a,de)),o){case"context_p":case"lead":case"note_caption":case"note_credit":i="p";break;case"divider":return e.createElement("hr",{className:n(d)});case"lead_hr":i="div";break;default:i=o}return e.createElement(i,{className:n(d),dangerouslySetInnerHTML:{__html:t},id:r})};var se={root:"ListBlock-module_root__dqomP",ol:"ListBlock-module_ol__1l6nP",ul:"ListBlock-module_ul__bgHlv",center:"ListBlock-module_center__bEBN-",isInImportantLead:"ListBlock-module_isInImportantLead__ewcD1",dark:"ListBlock-module_dark__NzpYz",mobile:"ListBlock-module_mobile__qEBsn",desktop:"ListBlock-module_desktop__HN0IU"};const me=({block:{type:t,data:o,only_on:l},styleContext:a})=>{const r=t;let i=[[se.root,!0],[se[l],!0],[se[t],!!t&&!!se[t]]];return a&&(i=p(i,a,se)),e.createElement(r,{className:n(i),"data-testid":"list-block"},o.map(((t,o)=>e.createElement("li",{key:o,dangerouslySetInnerHTML:{__html:t}}))))};var _e={root:"RelatedBlock-module_root__cr1c-",header:"RelatedBlock-module_header__bfUJD",items:"RelatedBlock-module_items__rzzam",rich:"RelatedBlock-module_rich__1cWdn",first:"RelatedBlock-module_first__ZkcP5",simple:"RelatedBlock-module_simple__m22bj",center:"RelatedBlock-module_center__WVpIJ",isInSlideMaterial:"RelatedBlock-module_isInSlideMaterial__VumDw",mobile:"RelatedBlock-module_mobile__AScBA",desktop:"RelatedBlock-module_desktop__uMXUY"};const ue=({block:{data:{title:t,related:o},only_on:l},styleContext:r})=>{let i=[[_e.root,!0],[_e[l],!0]];return r&&(i=p(i,r,_e)),e.createElement("div",{"data-testid":"related-block",className:n(i)},e.createElement("h3",{className:_e.header},t),e.createElement("ul",{className:_e.items},o.map(((t,o)=>e.createElement("li",{key:t.id||o,className:_e[t.layout]},e.createElement(a.Link,{to:t.full_url||`/${t.url}`},e.createElement("span",{className:_e.first},t.title),t.second_title&&" ",t.second_title&&e.createElement("span",null,t.second_title)))))))};var pe={root:"SourceBlock-module_root__9dnI4",text:"SourceBlock-module_text__M5-uy",origin:"SourceBlock-module_origin__fyvxH",center:"SourceBlock-module_center__UOMwy",mobile:"SourceBlock-module_mobile__QVEyg",desktop:"SourceBlock-module_desktop__xdXWm",isDark:"SourceBlock-module_isDark__etwk1"};const he=({block:{only_on:t,data:{quote:o,origin:l,url:a}},styleContext:r})=>{let i=[[pe.root,!0],[pe[t],!0]];return r&&(i=p(i,r,pe)),e.createElement("blockquote",{"data-testid":"source-block",cite:a,className:n(i)},e.createElement("a",{className:pe.text,href:a,target:"_blank",rel:"noopener noreferrer"},o.map(((t,o)=>e.createElement("p",{key:o,dangerouslySetInnerHTML:{__html:t.data}}))),e.createElement("footer",null,e.createElement("cite",{className:pe.origin},l))))};var ke={root:"SensitiveBlock-module_root__1Nl9-",container:"SensitiveBlock-module_container__GE2tW",overlay:"SensitiveBlock-module_overlay__tEsK8",content:"SensitiveBlock-module_content__RYbdd",button:"SensitiveBlock-module_button__LGEEM",default:"SensitiveBlock-module_default__pkWhC",full:"SensitiveBlock-module_full__hlH41",media:"SensitiveBlock-module_media__nuL1S",super_full:"SensitiveBlock-module_super_full__C7UyP",visible:"SensitiveBlock-module_visible__bXhYO",isInCard:"SensitiveBlock-module_isInCard__uANYL",isInSlide:"SensitiveBlock-module_isInSlide__ZAVUU"};const be=({block:t,block:{cc:o,caption:l,credit:a,blurred_image:r},block:{item:{data:{display:i}}},styleContext:d})=>{const[s,m]=e.useState(!1);let _=[[ke.root,!0],[ke.visible,s],[ke[i],i&&ke[i]]],u=["isInSensitiveBlock"];return d&&(_=p(_,d,ke),u=[...d,"isInSensitiveBlock"]),e.createElement("div",{"data-testid":"sensitive-block",className:n(_)},e.createElement("div",{className:ke.container},e.createElement("div",{className:ke.overlay,style:{backgroundImage:`url(${r})`}},e.createElement("div",{className:ke.content},e.createElement("p",{dangerouslySetInnerHTML:{__html:t.title}}),e.createElement("div",{className:ke.button},e.createElement(c,{onClick:()=>{m(!0)},theme:"light"},t.button.text)))),e.createElement("div",{className:ke.media},e.createElement(Y,{block:t.item,styleContext:u}))),o&&e.createElement("figcaption",{className:ke.figcaption},e.createElement(z,{credit:a,caption:l,styleContext:d})))};var Ce={root:"GroupedBlock-module_root__MQQin",hasFigcaption:"GroupedBlock-module_hasFigcaption__Y05ed",item:"GroupedBlock-module_item__-InqF",items:"GroupedBlock-module_items__8X4js",figcaption:"GroupedBlock-module_figcaption__OE5-u",default:"GroupedBlock-module_default__Tha8f",full:"GroupedBlock-module_full__SNwyE",super_full:"GroupedBlock-module_super_full__HTA9D",mobile:"GroupedBlock-module_mobile__xqMw5",desktop:"GroupedBlock-module_desktop__Oobdp"};const ge=({block:t,block:{only_on:o},styleContext:l})=>{const a=Math.min(...t.data.map((e=>e.data&&e.data.height||e.item&&e.item.data.height))),r=t.data.map((e=>(e.data&&e.data.width||e.item&&e.item.data.width)/((e.data&&e.data.height||e.item&&e.item.data.height)/a))),i=r.reduce(((e,t)=>e+t));let d=[[Ce.root,!0],[Ce[o],!0],[Ce.hasFigcaption,"default"===t.cc],[Ce[t.display],!!t.display&&Ce[t.display]]];return l&&(d=p(d,l,Ce)),e.createElement("div",{"data-testid":"grouped-block",className:n(d)},e.createElement("div",{className:Ce.items},t.data.map(((t,o)=>e.createElement("div",{className:Ce.item,key:t.id,style:{width:r[o]/i*100+"%"}},e.createElement("sensitive"===t.type?be:Y,{block:t,styleContext:["isInGroupedBlock"]}))))),t.cc&&e.createElement("figcaption",{className:Ce.figcaption},e.createElement(z,{credit:t.credit,caption:t.caption,styleContext:l})))};var ye={root:"MetaItem-module_root__sRbrZ",hasBullets:"MetaItem-module_hasBullets__b1eW9",hasSource:"MetaItem-module_hasSource__35olm",datetime:"MetaItem-module_datetime__--O8c",tag:"MetaItem-module_tag__3HzOp"};const ve=({hasSource:t,type:o,children:l,bullets:a,variant:r})=>e.createElement("div",{"data-testid":"meta-item",className:n([[ye.root,!0],[ye[o],!!o&&!!ye[o]],[ye.hasSource,!!t],[ye.hasBullets,!!a],[ye[r],!!r&&!!ye[r]]])},l);var Ee={root:"MetaItemLive-module_root__XfQiW",gold:"MetaItemLive-module_gold__f1UOy",icon:"MetaItemLive-module_icon__JIMLl",pulse:"MetaItemLive-module_pulse__zzrle",text:"MetaItemLive-module_text__wgLcT"};const fe=({theme:t="gold",children:o})=>e.createElement("div",{"data-testid":"meta-item-live","data-meta":"live",className:n([[Ee.root,!0],[Ee[t],!!t&&Ee[t]]])},e.createElement("div",{className:Ee.icon}),o&&e.createElement("span",{className:Ee.text},o)),Le=({type:t,lang:o="ru",items:l,children:a})=>{const r={ru:{card:{one:"карточка",two:"карточки",five:"карточек"},podcast:{one:"эпизод",two:"эпизода",five:"эпизодов"}},en:{card:{one:"card",two:"cards",five:"cards"},podcast:{one:"episode",two:"episodes",five:"episodes"}}},n=`${l} ${((e,t,o,l)=>{let a=Math.abs(e);return a%=100,a>=5&&a<=20?l:(a%=10,1===a?t:a>=2&&a<=4?o:l)})(l,r[o][t].one,r[o][t].two,r[o][t].five)}`;return e.createElement("div",{"data-testid":"document-items-count",className:"DocumentItemsCount-module_root__u4M3y"},a,e.createElement("span",{className:"DocumentItemsCount-module_items__OE-hf"},n))},we=({lang:t,block:o,block:{data:{components:l,theme:a}},styleContext:r})=>{const n=r&&-1!==r.indexOf("dark")?"light":"unset",i=r&&-1!==r.indexOf("podcast");let d=[];r&&Array.isArray(r)&&(d=r.filter((e=>"dark"!==e)));const c=!!l.find((e=>"source_name"===e.type));return e.createElement(F,{styleContext:d,theme:a||n,onlyOn:o.only_on,hasSource:c},l.map((o=>{switch(o.type){case"source_name":return e.createElement(ve,{hasSource:c,bullets:!0,key:o.id},e.createElement(e.Fragment,null,"ru"===t?"Источник: ":"Source: ",o.url&&e.createElement("a",{href:o.url,rel:"noopener noreferrer",target:"_blank"},o.text),!o.url&&o.text));case"duration":case"string":return e.createElement(ve,{hasSource:c,bullets:!0,key:o.id},o.text);case"datetime":{const l=o.format&&f(o.format)||"date";return e.createElement(ve,{hasSource:c,bullets:!0,key:o.id,type:"datetime"},e.createElement(G,{publishedAt:o.datetime,type:l||"date",locale:t}))}case"items_count":return e.createElement(ve,{hasSource:c,bullets:!0,key:o.id},e.createElement(Le,{items:o.count,type:i?"podcast":"card",lang:t}));case"broadcast_active":return e.createElement(ve,{hasSource:c,bullets:!0,key:o.id},e.createElement(fe,null,"Прямой эфир"));case"broadcast":return e.createElement(ve,{hasSource:c,bullets:!0,key:o.id},o.with_icon&&e.createElement(fe,null),o.label);default:return null}})))};var Se={root:"DonatesTeaser-module_root__XQCVy",main:"DonatesTeaser-module_main__eN9kd",title:"DonatesTeaser-module_title__9umo1",text:"DonatesTeaser-module_text__s6tyf",cta:"DonatesTeaser-module_cta__-50aB",center:"DonatesTeaser-module_center__gxLvW",isInCard:"DonatesTeaser-module_isInCard__vaUhd",isInSlide:"DonatesTeaser-module_isInSlide__Dh4NH",ru:"DonatesTeaser-module_ru__y-PlJ",en:"DonatesTeaser-module_en__0Iisr"};const Be=({styleContext:t,lang:o="ru"})=>{let l=[[Se.root,!0],[Se[o],Se[o]]];t&&(l=p(l,t,Se));const a={ru:{title:"«Медуза». Работаем 24/7. И только в интересах читателей",subtitle:"Нам срочно нужна ваша поддержка",button:"Хочу помочь",href:"https://support.meduza.io/"},en:{title:"Meduza, working 24/7, always for our readers",subtitle:"We need your help like never before",button:"Okay!",href:"https://support.meduza.io/en"}};return e.createElement("div",{"data-testid":"donates-teaser",className:n(l)},e.createElement("div",{className:Se.main},e.createElement("h3",{className:Se.title},e.createElement("span",{dangerouslySetInnerHTML:{__html:a[o].title}})," ",e.createElement("span",{className:Se.text,dangerouslySetInnerHTML:{__html:a[o].subtitle}}))),e.createElement("div",{className:Se.cta},e.createElement("a",{href:a[o].href,target:"_blank",rel:"noreferrer"},e.createElement("span",null,a[o].button))))};var xe={root:"AnnouncementInText-module_root__C4-Oo",body:"AnnouncementInText-module_body__lZy-L",title:"AnnouncementInText-module_title__cb6i1",footer:"AnnouncementInText-module_footer__jRk9p",button:"AnnouncementInText-module_button__JuT-E",link:"AnnouncementInText-module_link__C0YxL",center:"AnnouncementInText-module_center__1DJjd",isInCard:"AnnouncementInText-module_isInCard__jIqpa",isInSlide:"AnnouncementInText-module_isInSlide__BWO-A",ru:"AnnouncementInText-module_ru__QHQad",en:"AnnouncementInText-module_en__r0PvM"};const Me=({styleContext:t,lang:o="ru"})=>{let l=[[xe.root,!0],[xe[o],xe[o]]];t&&(l=p(l,t,xe));const a={ru:{title:"«Медуза» заблокирована в России. Мы были к этому готовы — и продолжаем работать. Несмотря ни на что",text:"<p>Нам нужна ваша помощь как никогда. Прямо сейчас. Дальше всем нам будет еще труднее. Мы независимое издание и работаем только в интересах читателей.</p>",button:"Хочу помочь",href:"https://mdza.io/yiNxPZ7Bs-k"},en:{title:"Meduza has been blocked in Russia. We were ready for this and our work continues, no matter what, but we need your support like never before. ",text:"<p>We need it now. Tomorrow could be too late. We are an independent publication, and we work only in the interests of our readers. Many of our readers in Russia can no longer contribute, so we turn to you, our audience around the world.</p>",button:"I want to help",href:"https://support.meduza.io/en"}}[o];return e.createElement("div",{"data-testid":"announcement-in-text",className:n(l)},e.createElement("div",{className:xe.body},e.createElement("h3",{className:xe.title,dangerouslySetInnerHTML:{__html:a.title}}),e.createElement("div",{dangerouslySetInnerHTML:{__html:a.text}})),e.createElement("div",{className:xe.footer},e.createElement("a",{className:xe.link,href:a.href,target:"_blank",rel:"noreferrer"},e.createElement("span",null,a.button)),e.createElement("span",{className:xe.button},e.createElement("span",null,a.button))))};var Ie={root:"VersesBlock-module_root__CrgSZ",ol:"VersesBlock-module_ol__ToXjg",ul:"VersesBlock-module_ul__wfaQD",center:"VersesBlock-module_center__E1IS-",isInImportantLead:"VersesBlock-module_isInImportantLead__pdugk",dark:"VersesBlock-module_dark__FwaPS",mobile:"VersesBlock-module_mobile__EcHvz",desktop:"VersesBlock-module_desktop__quKfJ"};const Te=({block:{type:t,data:o,only_on:l},styleContext:a})=>{let r=[[Ie.root,!0],[Ie[l],!0],[Ie[t],!!t&&!!Ie[t]]];return a&&(r=p(r,a,Ie)),e.createElement("ul",{className:n(r),"data-testid":"verses-block"},o.map(((t,o)=>e.createElement("li",{key:o,dangerouslySetInnerHTML:{__html:t}}))))},Ne=({block:t,styleContext:o,lang:l,platform:a})=>{switch(t.type){case"tag":return e.createElement(R,{size:"large",onlyOn:t.only_on,theme:t.data.theme,styleContext:o},t.data.text);case"simple_title":return e.createElement(re,{block:t,styleContext:o});case"rich_title":return e.createElement(ie,{block:t,styleContext:o});case"meta":return e.createElement(we,{block:t,lang:t.data.lang,styleContext:o});case"blockquote":case"p":case"context_p":case"divider":case"lead":case"lead_hr":return e.createElement(ce,{block:t,styleContext:o});case"h1":case"h2":case"h3":case"h4":return e.createElement(ce,{block:t,styleContext:o,id:t.id});case"quote":return e.createElement(X,{block:t,styleContext:o});case"ol":case"ul":return e.createElement(me,{block:t,styleContext:o});case"verses":return e.createElement(Te,{block:t,styleContext:o});case"chapter-subtitle":return e.createElement(oe,{block:t,styleContext:o,id:t.id});case"card_title":return e.createElement(ee,{block:t,styleContext:o});case"related":return e.createElement(ue,{block:t,styleContext:o});case"source":return e.createElement(he,{block:t,styleContext:o});case"table":return e.createElement(V,{block:t,styleContext:o});case"sensitive":return e.createElement(be,{block:t,styleContext:o});case"embed":case"embed_code":case"game_embed":case"image":case"dots_on_image":case"gif":return e.createElement(Y,{block:t,styleContext:o,lang:l,platform:a});case"grouped":return e.createElement(ge,{block:t,styleContext:o});case"donation":return e.createElement(Be,{styleContext:o,lang:l});case"material_note":return e.createElement(P,{block:t,styleContext:o});case"announcement_in_text":return e.createElement(Me,{styleContext:o,lang:l});default:return null}};var Re={root:"Cover-module_root__3pscq",body:"Cover-module_body__eJpUI",image:"Cover-module_image__frrrH",rich:"Cover-module_rich__YcxWa",dark:"Cover-module_dark__cRucL",light:"Cover-module_light__la-sk",isOnImage:"Cover-module_isOnImage__J296p",control:"Cover-module_control__WP0G3",isInDynamicBlock:"Cover-module_isInDynamicBlock__qO-yt",mobile:"Cover-module_mobile__aotep",desktop:"Cover-module_desktop__dfbC-"};const He=({block:{only_on:t,data:{blocks:o,cover:{credit:l,caption:a,urls:r,mobile_ratio:i,gradients:d,cc:c}}},styleContext:s,titleStyle:m})=>{const[_,u]=e.useState(!1),h={},k=!!m,b=Array.isArray(s)?s:[s].filter(Boolean),C=k?[...b,"overlay"]:s;let g=[[Re.root,!0],[Re[t],!!t&&!!Re[t]],[Re.isOnImage,k]];return s&&(g=p(g,s,Re)),d&&!k&&(g=p(g,["0,0,0"===d.text_rgb?"dark":"light"],Re),h.backgroundImage=le(d.bg_rgb,"mediaBlockBottom")),e.createElement("div",{"data-testid":"cover",className:n(g),style:m},e.createElement("div",{className:Re.image},e.createElement(S,{optimized:r,ratio:i,display:"narrow"})),e.createElement("div",{className:Re.body,style:h},o.map((t=>e.createElement(Ne,{key:t.id,block:t,styleContext:C})))),"button"===c&&e.createElement("button",{className:Re.control,type:"button","aria-label":"Open",onClick:()=>{u(!_)}}),"button"===c&&_&&e.createElement(B,{onClose:()=>{u(!1)}},e.createElement(z,{credit:l,caption:a,styleContext:"isInPopover"})))};var ze={root:"HalfBlock-module_root__EXQbz",main:"HalfBlock-module_main__eIcRo",body:"HalfBlock-module_body__HPhGj",footer:"HalfBlock-module_footer__TFfCQ",image:"HalfBlock-module_image__XWLbK",mobile:"HalfBlock-module_mobile__uGGpm",desktop:"HalfBlock-module_desktop__p-hAq"};const Ae=({block:{only_on:t,data:o,data:{cover:{optimized:l,ratio:a,credit:r,caption:i}}},styleContext:d})=>{let c=[[ze.root,!0],[ze[t],!0]];return d&&(c=p(c,d,ze)),e.createElement("div",{"data-testid":"half-block",className:n(c)},e.createElement("div",{className:ze.main},e.createElement("div",{className:ze.image},e.createElement(S,{optimized:l,ratio:a,display:"super_full"})),e.createElement("div",{className:ze.body},o.blocks.map((t=>e.createElement(Ne,{key:t.id,block:t,styleContext:["rich"]}))))),e.createElement("div",{className:ze.footer},e.createElement(z,{credit:r,caption:i,styleContext:d})))};var Ve={root:"ImportantLead-module_root__-rnt6",slide:"ImportantLead-module_slide__zcovu",mobile:"ImportantLead-module_mobile__msInp",desktop:"ImportantLead-module_desktop__ELC2-"};const De=({block:{only_on:t,data:o},styleContext:l})=>{let a=[[Ve.root,!0],[Ve[t],!!t]];return l&&(a=p(a,l,Ve)),e.createElement("div",{"data-testid":"important-lead",className:n(a)},o.map((t=>e.createElement(Ne,{key:t.id,block:t,styleContext:"isInImportantLead"}))))};var Pe={root:"Spoiler-module_root__fAbb9",header:"Spoiler-module_header__iEKsQ",body:"Spoiler-module_body__jjqIn",spoiled:"Spoiler-module_spoiled__ENI93",footer:"Spoiler-module_footer__g21Zn",spoilerSticky:"Spoiler-module_spoilerSticky__YTiyF",spoilerStickyBg:"Spoiler-module_spoilerStickyBg__tmDnG",center:"Spoiler-module_center__0XCWo",full:"Spoiler-module_full__FtKDT",default:"Spoiler-module_default__wvlKw",mobile:"Spoiler-module_mobile__PWCMW",desktop:"Spoiler-module_desktop__qTakd"};const Ze=({block:{display:t,button:o,only_on:l,btn_title:a,title:r,blocks:i},styleContext:d})=>{const[s,m]=e.useState(!1),u=e.useRef(null);let h=[[Pe.root,!0],[Pe[l],!!l],[Pe[t],!!t&&Pe[t]],[[Pe.spoiled],!!s]];const k=["center"];d&&(k.concat(d),h=p(h,d,Pe));const C=o?o.collapse:"Свернуть",g=o?o.expand:a;return e.createElement("div",{ref:u,className:n(h),"data-testid":"spoiler"},e.createElement("div",{className:Pe.header},r&&e.createElement("h3",null,r)),e.createElement("div",{className:Pe.body},i.map((t=>e.createElement(Ne,{key:t.id,block:t,styleContext:k})))),e.createElement("div",{className:Pe.footer},e.createElement(c,{size:"default",theme:"gray",onClick:()=>(m(!s),void(s?(b("","closeSpoiler","click"),u.current.getBoundingClientRect().top<0&&u.current.scrollIntoView({behavior:"smooth"})):b("","openSpoiler","click"))),styleContext:"isInSpoiler"},s?C:g,e.createElement(_,{icon:"arrow"}))))};var Oe={root:"RelatedRichBlock-module_root__-SEe7",isInCard:"RelatedRichBlock-module_isInCard__F3ip3",content:"RelatedRichBlock-module_content__iyMrN",cover:"RelatedRichBlock-module_cover__3gnIx",body:"RelatedRichBlock-module_body__XhS0U",isCard:"RelatedRichBlock-module_isCard__wkMw-",tag:"RelatedRichBlock-module_tag__c18sv",center:"RelatedRichBlock-module_center__KANd-",mobile:"RelatedRichBlock-module_mobile__N-G4U",desktop:"RelatedRichBlock-module_desktop__EaPOr"};const We=({block:{only_on:t,data:{url:o,blocks:l,cover:{urls:r,gradients:i,tag:d,layout:c,ratio:s}}},styleContext:m})=>{const _=`is${u=c,u[0].toUpperCase()+u.slice(1)}`;var u;let h=[[Oe.root,!0],[Oe[_],!!c&&!!Oe[_]],[Oe.hasGradient,!!i],[Oe[t],!!t&&!!Oe[t]]],k=["isInMediaBlock","richRelated"];return m&&(h=p(h,m,Oe),k=[...m,"isInMediaBlock","richRelated"]),e.createElement(a.Link,{"data-testid":"related-rich-block",className:n(h),to:`/${o}`},e.createElement("div",{className:Oe.tag},e.createElement(R,{size:"small",theme:"inherit",styleContext:"richRelated"},d)),e.createElement("div",{className:Oe.content},e.createElement("div",{className:Oe.cover},e.createElement(S,{optimized:r,ratio:s,display:"narrow"})),e.createElement("div",{className:Oe.body},l.map((t=>e.createElement(Ne,{key:t.id,block:t,styleContext:k}))))))};var Fe={root:"ShopRelatedBlock-module_root__eTGjC",wrapper:"ShopRelatedBlock-module_wrapper__v6yE3",overlay:"ShopRelatedBlock-module_overlay__oR67Y",overlayHeader:"ShopRelatedBlock-module_overlayHeader__YMcNw",body:"ShopRelatedBlock-module_body__W4pBN",hasGradient:"ShopRelatedBlock-module_hasGradient__50JTl",picture:"ShopRelatedBlock-module_picture__zjFL4",tag:"ShopRelatedBlock-module_tag__ixkda",center:"ShopRelatedBlock-module_center__IpBP4",title:"ShopRelatedBlock-module_title__COl93",price:"ShopRelatedBlock-module_price__5Qitu",dark:"ShopRelatedBlock-module_dark__d0QiW",light:"ShopRelatedBlock-module_light__lUDWA",mobile:"ShopRelatedBlock-module_mobile__I6Hih",desktop:"ShopRelatedBlock-module_desktop__ywKrb"};const Ge=({block:{only_on:o,data:{url:l,cover:{urls:a,gradients:r,tag:i,layout:d,ratio:c,first_title:s,second_title:m}}},styleContext:_})=>{const u={},h={},[k,C]=t.useInView({threshold:0,triggerOnce:!0});e.useEffect((()=>{C&&("mobile"===o&&window.innerWidth<=511||"desktop"===o&&window.innerWidth>=512||!o)&&b("productRelated",l,"view")}),[C]);let g=[[Fe.root,!0],[Fe.hasGradient,!!r],[Fe[o],!!o&&!!Fe[o]]];return _&&(g=p(g,_,Fe)),r&&(h.backgroundImage=le(r.bg_rgb,"mediaBlockTop"),g=p(g,["0,0,0"===r.text_rgb?"dark":"light"],Fe),"desktop"===o&&(u.backgroundImage=le(r.bg_rgb,"mediaBlockBottom"))),e.createElement("a",{"data-testid":"related-rich-block",className:n(g),href:l,target:"_blank",onClick:()=>{b("productRelated",l,"click")},ref:k},"rich"===d&&e.createElement(e.Fragment,null,e.createElement("div",{className:Fe.overlay,style:u}),e.createElement("div",{className:Fe.overlayHeader,style:h})),e.createElement("div",{className:Fe.tag},e.createElement(R,{size:"small",theme:"inherit",styleContext:"richRelated"},i)),e.createElement("div",{className:Fe.cover},e.createElement("div",{className:Fe.picture},e.createElement(S,{optimized:a,ratio:c,display:"narrow"}))),e.createElement("div",{className:Fe.body},e.createElement("h2",{className:Fe.title},s,e.createElement("span",{className:Fe.price},m))))};var je={root:"RelatedBook-module_root__QsOmA",container:"RelatedBook-module_container__vdDiZ",imageWrap:"RelatedBook-module_imageWrap__WmwnE",image:"RelatedBook-module_image__U1e5t",picture:"RelatedBook-module_picture__NXg-K",tag:"RelatedBook-module_tag__mSbbz",contentWrap:"RelatedBook-module_contentWrap__HIGRi",content:"RelatedBook-module_content__23Pfr",title:"RelatedBook-module_title__VRbr-",footer:"RelatedBook-module_footer__Z05t-",center:"RelatedBook-module_center__Fa6cj",isLight:"RelatedBook-module_isLight__W-0TO",isDark:"RelatedBook-module_isDark__0mrtK",mobile:"RelatedBook-module_mobile__7rm-n",desktop:"RelatedBook-module_desktop__OZ9Jx"};const qe=({block:t,styleContext:o})=>{const l="0,0,0"===t.data.theme.text_color?"isDark":"isLight",r=t.only_on||t.data.onlyOn;let i=[[je.root,!0],[je[l],l],[je[r],!!r&&!!je[r]]];o&&(i=p(i,o,je));const d={"--bgColor":`rgb(${t.data.theme.background_color||"0, 0, 0"})`};return e.createElement(a.Link,{to:`/${t.data.url}`,className:n(i),style:d},e.createElement("div",{className:je.container},e.createElement("div",{className:je.imageWrap},e.createElement("div",{className:je.image},e.createElement("picture",{className:je.picture},e.createElement(S,{optimized:t.data.cover.urls,ratio:0,display:"narrow",styleContext:["isStatic"],lazy:!0})))),e.createElement("div",{className:je.contentWrap},e.createElement("div",{className:je.content},t.data.blocks.map((t=>e.createElement(Ne,{key:t.id,block:t,styleContext:["isInMediaBlock","isInBookRelated","isCustom"]})))))))};var Qe={root:"ListViewSwitcher-module_root__pBsR5",input:"ListViewSwitcher-module_input__vtDVD",knob:"ListViewSwitcher-module_knob__g-OZ2",sm:"ListViewSwitcher-module_sm__y1teD",md:"ListViewSwitcher-module_md__0M8KR",grid:"ListViewSwitcher-module_grid__qBmnM",list:"ListViewSwitcher-module_list__NORMp"},Ue={root:"ToolbarButton-module_root__upsEH",isDark:"ToolbarButton-module_isDark__gWpv-",dark:"ToolbarButton-module_dark__5XOEp",icon:"ToolbarButton-module_icon__Ldcgq",text:"ToolbarButton-module_text__4R2a0",isActive:"ToolbarButton-module_isActive__N4kkV"},Je={root:"Tooltip-module_root__xK21R",isCenterBottom:"Tooltip-module_isCenterBottom__-qv7D",isLeftBottom:"Tooltip-module_isLeftBottom__0-f5z",isCenterTop:"Tooltip-module_isCenterTop__xQ3Ql",isLeftTop:"Tooltip-module_isLeftTop__yjKrV",body:"Tooltip-module_body__5qgzu",footer:"Tooltip-module_footer__swU9S"};const Ye=e=>e.charAt(0).toUpperCase()+e.slice(1);exports.AnnouncementInText=Me,exports.Button=c,exports.ButtonLoader=i,exports.CardTitle=ee,exports.ChapterBlock=oe,exports.Cover=He,exports.DocumentItemsCount=Le,exports.DonatesTeaser=Be,exports.DotsOnImage=T,exports.Dropdown=({children:t,active:o,styleContext:l})=>{let a=[[Z.root,!0],[Z.inactive,!o&&"isPodcastSeason"===l&&!!Z.inactive]];return l&&(a=p(a,l,Z)),e.createElement("div",{"data-testid":"dropdown",className:n(a)},t)},exports.EmbedBlockContainer=Y,exports.Footnote=x,exports.GroupedBlock=ge,exports.HalfBlock=Ae,exports.Image=S,exports.ImportantLead=De,exports.Lazy=g,exports.ListBlock=me,exports.ListViewSwitcher=({enabled:t,onChange:o,size:l="md"})=>e.createElement("label",{"data-testid":"listViewSwitcher",className:n([[Qe.root,!0],[Qe[l],!0]])},e.createElement("input",{className:Qe.input,type:"checkbox",checked:t,onChange:o}),e.createElement("span",{className:Qe.knob}),e.createElement("span",{className:Qe.grid}),e.createElement("span",{className:Qe.list})),exports.MaterialNote=P,exports.MaterialTitle=({children:t})=>e.createElement("h1",{className:"MaterialTitle-module_root__VSphO","data-testid":"material-title"},t),exports.MediaCaption=z,exports.Menu=({children:t})=>e.createElement("div",{"data-testid":"dropdown",className:Z.menu},t),exports.Meta=F,exports.MetaItem=ve,exports.MetaItemLive=fe,exports.Popover=B,exports.Primary=({children:t})=>e.createElement("span",{className:"MaterialTitle-module_primary__XGnpb"},t),exports.QuoteBlock=X,exports.RawHtmlBlock=({block:t,styleContext:o,lightBox:l,lang:a,platform:r})=>{const n={lightBox:l||null};switch(t.type){case"important_lead":return e.createElement(De,{block:t,styleContext:o});case"spoiler":return e.createElement(k,{value:n},e.createElement(Ze,{block:t,styleContext:o}));case"cover":return e.createElement(He,{block:t,styleContext:o});case"half":return e.createElement(Ae,{block:t,styleContext:o});case"related_rich":return e.createElement(We,{block:t,styleContext:o});case"related_book":return e.createElement(qe,{block:t,styleContext:o});case"related_shop":return e.createElement(Ge,{block:t,styleContext:o});default:return e.createElement(k,{value:n},e.createElement(Ne,{block:t,styleContext:o,lang:a,platform:r}))}},exports.RelatedBlock=ue,exports.RelatedCarousel=({children:t,ariaLabel:o})=>{const[l,a]=r({loop:!0,align:"start",containScroll:!1}),[i,d]=e.useState(0),[c,s]=e.useState(0),m=e.Children.toArray(t),_=m.length,u=e.useCallback((()=>{if(!a)return;const e=a.selectedScrollSnap();d(e),s((t=>((e,t,o)=>{if(o<=6)return 0;let l=t;return e<l+2&&(l=e-2),e>l+6-1-2&&(l=e-6+1+2),Math.max(0,Math.min(l,o-6))})(e,t,_)))}),[a,_]);e.useEffect((()=>{if(a)return u(),a.on("select",u),a.on("reInit",u),()=>{a.off("select",u),a.off("reInit",u)}}),[a,u]);const p={"--dotsVisible":Math.min(_,6),"--dotsStart":c};return e.createElement("div",{"data-testid":"related-carousel",className:n([["RelatedCarousel-module_root__G-Eub",!0]]),role:"group","aria-label":o},e.createElement("div",{className:"RelatedCarousel-module_viewport__HCzJi",ref:l},e.createElement("div",{className:"RelatedCarousel-module_track__UVQ2n"},m.map(((t,o)=>e.createElement("div",{className:"RelatedCarousel-module_slide__MI9tF",key:o},t))))),e.createElement("div",{"aria-hidden":"true",className:"RelatedCarousel-module_dots__mOSIC",style:p},e.createElement("div",{className:"RelatedCarousel-module_dotsTrack__V7bnX"},m.map(((t,o)=>{const l=o===i,a=((e,t,o)=>{const l=e-t,a=t>0,r=t+6<o;return a&&0===l?"tiny":a&&1===l?"small":r&&5===l?"tiny":r&&4===l?"small":"full"})(o,c,_);return e.createElement("span",{key:o,className:"RelatedCarousel-module_dotCell__kl64s"},e.createElement("span",{className:n([["RelatedCarousel-module_dot__Jo52r",!0],["RelatedCarousel-module_isActive__Nz2aj",l],["RelatedCarousel-module_isSmall__ZP5hd","small"===a],["RelatedCarousel-module_isTiny__mjhtD","tiny"===a]])}))})))))},exports.RelatedRichBlock=We,exports.RenderBlocks=Ne,exports.RichTitle=ie,exports.Secondary=({children:t})=>e.createElement("span",{className:"MaterialTitle-module_secondary__7IDEp"},t),exports.SensitiveBlock=be,exports.ShopRelatedBlock=Ge,exports.SimpleBlock=ce,exports.SimpleTitle=re,exports.SourceBlock=he,exports.Spoiler=Ze,exports.SvgSymbol=_,exports.Switcher=({enabled:t,onChange:o,styleContext:l,theme:a="light",childrenLeft:r,childrenRight:i})=>e.createElement("label",{"data-testid":"switcher",className:n([[u.root,!0],[u[a],!!u[a]],[u[l],!!u[l]]])},r&&e.createElement("div",{className:n([[u.children,!0],[u.left,!0]])},r),e.createElement("input",{className:u.input,type:"checkbox",checked:t,onChange:o}),e.createElement("span",{className:u.control},e.createElement("span",{className:u.knob})),i&&e.createElement("div",{className:n([[u.children,!0],[u.right,!0]])},i)),exports.Table=V,exports.Tag=R,exports.Timestamp=G,exports.Toolbar=({children:t,styleContext:o})=>{let l=[[O.root,!0]];return o&&(l=p(l,o,O)),e.createElement("div",{"data-testid":"toolbar",className:n(l)},e.createElement("ul",{className:O.list},t))},exports.ToolbarButton=({type:t,theme:o,isActive:l,lang:a="ru",text:r,onClick:i})=>{const d=E[a][t];return e.createElement("button",{"data-testid":"toolbar-button",className:n([[Ue.root,!0],[Ue[t],!!Ue[t]],[Ue[o],!!Ue[o]&&!!o],[Ue.isActive,!!l]]),type:"button",onClick:e=>i(e,t)},e.createElement("span",{className:Ue.text},r||d))},exports.ToolbarItem=({children:t})=>e.createElement("li",{className:O.item},t),exports.Tooltip=({children:t,position:o})=>{const[l,a]=o,r=`is${Ye(l)}${Ye(a)}`;return e.createElement("div",{className:n([[Je.root,!0],[Je[r],!0]])},e.createElement("div",{className:Je.body},t))},exports.TooltipFooter=({children:t})=>e.createElement("div",{className:Je.footer},t);
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("react-intersection-observer"),o=require("dayjs");require("dayjs/locale/ru");var l=require("dayjs/plugin/relativeTime"),a=require("react-router-dom"),r=require("embla-carousel-react");const n=e=>e.filter((([,e])=>e)).map((([e])=>e)).join(" "),i=()=>e.createElement("svg",{width:"30px",height:"30px",viewBox:"0 0 30 30",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",null,e.createElement("path",{d:"M15 0C6.716 0 0 6.716 0 15c0 8.284 6.716 15 15 15 8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15zm0 2c7.18 0 13 5.82 13 13s-5.82 13-13 13S2 22.18 2 15 7.82 2 15 2z",opacity:"0.3"})),e.createElement("g",{fillRule:"evenodd"},e.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 15 15",to:"360 15 15",dur:"1000ms",repeatCount:"indefinite"}),e.createElement("path",{d:"M15 0c8.18 0 14.83 6.547 14.997 14.686L30 15h-2c0-7.077-5.655-12.833-12.693-12.996L15 2V0z"})));var d={root:"Button-module_root__9OQ5b",gold:"Button-module_gold__q-XBP",isLoading:"Button-module_isLoading__Z53G4",gray:"Button-module_gray__fypDq",sand:"Button-module_sand__e5v-k",dark:"Button-module_dark__qv4NQ",light:"Button-module_light__TLYLT",black:"Button-module_black__GIsbk",red:"Button-module_red__kybni",default:"Button-module_default__utLb-",isInToolbar:"Button-module_isInToolbar__84SG-",isInPodcast:"Button-module_isInPodcast__SNSpl",isInSpoiler:"Button-module_isInSpoiler__pGp-w",isInChronology:"Button-module_isInChronology__T-znS",ghost:"Button-module_ghost__1s5-r",isInDropdown:"Button-module_isInDropdown__gN7TI",loader:"Button-module_loader__r0Mjs",isFancy:"Button-module_isFancy__gTRmu"};const c=({theme:t="gold",size:o="default",state:l="isDefault",styleContext:a="isInToolbar",appearance:r,disabled:c=!1,onClick:s,children:m})=>e.createElement("button",{"data-testid":"button",className:n([[d.root,!0],[d[o],!!o],[d[t],!!t],[d[r],!!r],[d[l],!!l&&!!d[l]],[d[a],!!a]]),disabled:c,onClick:()=>{!c&&s&&s()},type:"button"},"isLoading"===l?e.createElement("span",{className:d.loader},e.createElement(i,null)):m),s={meduzaLogo:{width:544,height:115,content:'<path d="M59.1008614,49.65632 L59.1008614,106.01472 L84.9480411,114.24 L84.9480411,49.65632 L101.574882,49.65632 L101.574882,106.01472 L127.270909,114.24 L144.048902,91.392 L127.422062,91.392 L127.422062,35.7952 L101.726035,26.80832 L84.9480411,46.60992 L84.9480411,35.7952 L59.2520145,26.80832 L42.4740206,46.60992 L42.4740206,35.7952 L16.7779939,26.80832 L0,49.65632 L16.6268408,49.65632 L16.6268408,106.01472 L42.4740206,114.24 L42.4740206,49.65632 L59.1008614,49.65632 L59.1008614,49.65632 Z M336.61795,91.392 L336.61795,35.0336 L310.770769,26.80832 L310.770769,105.25312 L336.466796,114.24 L353.24479,94.4384 L353.24479,105.25312 L378.940817,114.24 L395.71881,91.392 L379.091969,91.392 L379.091969,35.0336 L353.24479,26.80832 L353.24479,91.392 L336.61795,91.392 L336.61795,91.392 Z M527.373159,38.08 L502.130592,26.80832 L472.202278,41.1264 L502.130592,52.39808 L461.016949,72.352 L461.016949,104.94848 L486.86413,114.24 L502.130592,94.28608 L502.130592,105.25312 L527.977771,114.24 L544,91.23968 L527.373159,91.23968 L527.373159,38.08 L527.373159,38.08 Z M177.453737,114.24 L207.079744,102.35904 L177.453737,91.23968 L177.453737,75.24608 L216.300083,56.3584 L194.231731,26.80832 L151.606557,47.37152 L151.606557,103.12064 L177.453737,114.24 L177.453737,114.24 Z M455.424284,89.56416 L423.984441,79.968 L453.459295,42.19264 L416.577937,26.80832 L397.230341,51.48416 L428.821339,61.23264 L398.741873,98.85568 L436.076687,114.24 L455.424284,89.56416 L455.424284,89.56416 Z M486.86413,91.392 L486.86413,68.84864 L502.130592,61.53728 L502.130592,91.392 L486.86413,91.392 L486.86413,91.392 Z M177.453737,41.58336 L190.452904,59.55712 L177.453737,65.80224 L177.453737,41.58336 L177.453737,41.58336 Z M222.95082,103.12064 L248.797999,114.24 L291.27202,97.18016 L291.27202,29.7024 L222.95082,0 L222.95082,26.30784 L265.424841,43.21536 L265.424841,97.33248 L248.797999,91.23968 L248.797999,43.71584 L222.95082,51.94112 L222.95082,103.12064 L222.95082,103.12064 Z" />'},menu:{width:24,height:24,content:'<path d="M2 21h20M2 12h20M2 3h20" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" vector-effect="non-scaling-stroke" />'},fb:{width:16,height:18,content:'<path d="M15.117 1H.883A.883.883 0 0 0 0 1.883v14.234A.883.883 0 0 0 .883 17h7.663v-6.196H6.461V8.389h2.085V6.61a2.91 2.91 0 0 1 3.106-3.192c.622-.003 1.244.03 1.863.095v2.16h-1.279c-1.002 0-1.196.476-1.196 1.176v1.541h2.39l-.31 2.415h-2.08V17h4.077a.883.883 0 0 0 .883-.883V1.883A.883.883 0 0 0 15.117 1" />'},tw:{width:20,height:18,content:'<path d="M20 3.1c-.7.3-1.5.6-2.4.7.8-.5 1.5-1.4 1.8-2.4-.8.5-1.7.8-2.6 1-.7-.8-1.8-1.4-3-1.4-2.3 0-4.1 1.9-4.1 4.3 0 .3 0 .7.1 1-3.3-.1-6.4-1.8-8.4-4.4-.3.6-.5 1.4-.5 2.2 0 1.5.7 2.8 1.8 3.6-.7 0-1.3-.2-1.9-.5v.1c0 2.1 1.4 3.8 3.3 4.2-.3.1-.7.2-1.1.2-.3 0-.5 0-.8-.1.5 1.7 2 2.9 3.8 3-1.3 1-3.1 1.6-5 1.6-.3 0-.7 0-1-.1C1.8 17.3 4 18 6.3 18 13.8 18 18 11.5 18 5.8v-.6c.8-.5 1.5-1.2 2-2.1" fill-rule="nonzero"/>'},vk:{width:20,height:18,content:'<path d="M16.517 9.851s2.587-3.768 2.886-5.058c.1-.396-.1-.694-.498-.694h-2.288c-.498 0-.697.199-.896.595 0 0-1.194 2.678-2.686 4.364-.498.496-.697.694-.995.694-.2 0-.299-.198-.299-.694V4.793c0-.595-.1-.793-.597-.793H7.463c-.2 0-.398.198-.398.397 0 .595.796.694.796 2.28v3.174c0 .595 0 .893-.299.893-.796 0-2.686-2.777-3.681-5.851-.2-.595-.398-.794-.995-.794H.597C.299 4.1 0 4.298 0 4.694c0 .595.697 3.471 3.483 7.34C5.373 14.611 7.86 16 10.05 16c1.393 0 1.691-.198 1.691-.793v-1.984c0-.496.2-.694.498-.694s.895.1 2.189 1.388C15.92 15.405 16.02 16 16.915 16h2.587c.299 0 .498-.1.498-.595 0-.595-.796-1.587-1.89-2.876-.498-.595-1.195-1.29-1.493-1.686-.398-.397-.299-.595-.1-.992" fill-rule="nonzero"/>'},ok:{width:9,height:18,content:'<path d="M4.5 2c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4m0 5.7c-.9 0-1.6-.8-1.6-1.7 0-.9.7-1.6 1.6-1.6.9 0 1.7.7 1.7 1.7 0 .8-.8 1.6-1.7 1.6" fill-rule="nonzero"/> <path d="M6.127 12.982a9.194 9.194 0 0 0 2.307-.904c.602-.301.703-1.004.402-1.507-.301-.502-1.104-.703-1.605-.401-1.605 1.004-3.812 1.004-5.417 0-.502-.302-1.304-.201-1.605.3-.401.604-.2 1.206.401 1.608a9.194 9.194 0 0 0 2.307.904L.61 15.092c-.502.401-.502 1.104 0 1.607a1.357 1.357 0 0 0 1.705 0l2.207-2.11L6.73 16.7a1.357 1.357 0 0 0 1.705 0c.502-.402.502-1.105 0-1.608l-2.307-2.109" fill-rule="nonzero"/>'},tg:{width:18,height:18,content:'<path d="M9 18c-5 0-9-4-9-9s4-9 9-9 9 4 9 9-4 9-9 9zm-1.5-7.4c1.1 1 2 3.3 2 3.3.4.2.7.1.8-.4l2.1-7.4c.1-.6-.2-.8-.6-.7L4 8.3c-.6.2-.6.5-.1.7 0 .1 2.4.6 3.6 1.6z" fill-rule="nonzero"/>'},meduzaSymbol:{width:24,height:18,content:'<path d="M10.026233,17.0968697 L13.9737671,18.3530831 L13.9737671,10.9855851 L13.9737671,8.48948164 L16.5131165,8.48948164 L16.5131165,17.0968697 L20.4375656,18.3530831 L23,14.8636014 L20.4606507,14.8636014 L20.4606507,6.37252945 L16.5362015,5 L13.9737671,8.02421743 L13.9737671,6.37252945 L10.049318,5 L7.48688354,8.02421743 L7.48688354,6.37252945 L3.56243443,5 L1,8.48948164 L3.53934943,8.48948164 L3.53934943,17.0968697 L7.48688354,18.3530831 L7.48688354,8.48948164 L10.026233,8.48948164 L10.026233,17.0968697 Z" />'},backward:{width:30,height:30,content:'<g opacity="0.25" fill="none"><path d="M6.51621 7.01524H6.51404C4.34188 9.1874 3 12.1877 3 15.5001C3 22.1271 8.37187 27.5012 15.0011 27.5012C21.6281 27.5012 27 22.1271 27 15.5001C27 8.87306 21.6281 3.49902 15.0011 3.49902" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M15 6.49902V0.499023L10 3.49902L15 6.49902Z" fill="black" stroke="black" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.1778 20.098C10.6178 20.098 10.1838 19.636 10.1838 19.104V13.224L9.16179 14.274C9.00779 14.428 8.79779 14.526 8.57379 14.526C8.11179 14.526 7.74779 14.148 7.74779 13.7C7.74779 13.462 7.84579 13.266 7.98579 13.112L10.1978 10.9C10.4078 10.69 10.7018 10.564 11.0238 10.564C11.6538 10.564 12.1718 11.082 12.1718 11.712V19.104C12.1718 19.636 11.7238 20.098 11.1778 20.098ZM14.4426 19.314C14.2186 19.174 14.0506 18.88 14.0506 18.586C14.0506 18.096 14.4426 17.704 14.9326 17.704C15.1006 17.704 15.2686 17.746 15.4086 17.844C15.9826 18.25 16.6406 18.432 17.3686 18.432C18.4746 18.432 19.1046 17.802 19.1046 17.032C19.1046 16.178 18.4886 15.604 17.4246 15.604C16.8086 15.604 16.2906 15.758 15.8006 16.136C15.6186 16.276 15.3946 16.346 15.1426 16.346C14.5546 16.346 14.0786 15.87 14.0786 15.282V11.712C14.0786 11.04 14.4426 10.662 15.1286 10.662H19.7346C20.1966 10.662 20.6026 11.04 20.6026 11.53C20.6026 11.992 20.1966 12.37 19.7346 12.37H16.0246V14.708C16.5146 14.274 17.2706 13.924 18.1246 13.924C19.7066 13.924 21.1206 15.058 21.1206 16.948C21.1206 18.922 19.6366 20.168 17.3826 20.168C16.1646 20.168 15.2126 19.86 14.4426 19.314Z" fill="black"/></g>'},forward:{width:30,height:30,content:'<g opacity="0.25" fill="none"><path d="M23.4838 7.01524H23.486C25.6581 9.1874 27 12.1877 27 15.5001C27 22.1271 21.6281 27.5012 14.9989 27.5012C8.37187 27.5012 3 22.1271 3 15.5001C3 8.87306 8.37187 3.49902 14.9989 3.49902" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M15 6.49902V0.499023L20 3.49902L15 6.49902Z" fill="black" stroke="black" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.1778 20.098C10.6178 20.098 10.1838 19.636 10.1838 19.104V13.224L9.16179 14.274C9.00779 14.428 8.79779 14.526 8.57379 14.526C8.11179 14.526 7.74779 14.148 7.74779 13.7C7.74779 13.462 7.84579 13.266 7.98579 13.112L10.1978 10.9C10.4078 10.69 10.7018 10.564 11.0238 10.564C11.6538 10.564 12.1718 11.082 12.1718 11.712V19.104C12.1718 19.636 11.7238 20.098 11.1778 20.098ZM14.4426 19.314C14.2186 19.174 14.0506 18.88 14.0506 18.586C14.0506 18.096 14.4426 17.704 14.9326 17.704C15.1006 17.704 15.2686 17.746 15.4086 17.844C15.9826 18.25 16.6406 18.432 17.3686 18.432C18.4746 18.432 19.1046 17.802 19.1046 17.032C19.1046 16.178 18.4886 15.604 17.4246 15.604C16.8086 15.604 16.2906 15.758 15.8006 16.136C15.6186 16.276 15.3946 16.346 15.1426 16.346C14.5546 16.346 14.0786 15.87 14.0786 15.282V11.712C14.0786 11.04 14.4426 10.662 15.1286 10.662H19.7346C20.1966 10.662 20.6026 11.04 20.6026 11.53C20.6026 11.992 20.1966 12.37 19.7346 12.37H16.0246V14.708C16.5146 14.274 17.2706 13.924 18.1246 13.924C19.7066 13.924 21.1206 15.058 21.1206 16.948C21.1206 18.922 19.6366 20.168 17.3826 20.168C16.1646 20.168 15.2126 19.86 14.4426 19.314Z" fill="black"/></g>'},download:{width:25,height:27,content:'<path d="M12.5 2C19.404 2 25 7.596 25 14.5S19.404 27 12.5 27 0 21.404 0 14.5 5.596 2 12.5 2zm0 1.5c-6.075 0-11 4.925-11 11s4.925 11 11 11 11-4.925 11-11-4.925-11-11-11zm6 15.75a.75.75 0 01.102 1.493l-.102.007h-12a.75.75 0 01-.102-1.493l.102-.007h12zm-6-12a.75.75 0 01.743.648L13.25 8v7.598l1.834-1.222a.75.75 0 11.832 1.248l-3 2a.75.75 0 01-.832 0l-3-2a.75.75 0 11.832-1.248l1.834 1.223V8a.75.75 0 01.648-.743l.102-.007z" fill-rule="nonzero" fill="currentColor" />'},episodeDownload:{width:30,height:30,content:'<g opacity="0.4"><circle cx="15" cy="15" r="10.5" stroke="white" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/><path d="M15 19.5L15 10.5M15 19.5L18.5 17.2257M15 19.5L11.5 17.2257" stroke="white" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/></g>'},play:{width:32,height:32,content:'<path fill-rule="nonzero" clip-rule="evenodd" d="M11.9665 22.877C11.4713 23.1557 10.8594 22.7978 10.8594 22.2296V9.7704C10.8594 9.20219 11.4713 8.84435 11.9665 9.12299L23.0374 15.3526C23.5422 15.6366 23.5422 16.3634 23.0374 16.6474L11.9665 22.877Z" stroke-width="0.371429" stroke-linecap="round" stroke-linejoin="round"/>'},pause:{width:22,height:22,content:'<path d="M12.832 4h2.8c.276 0 .5.224.5.5v12.394c0 .277-.224.5-.5.5h-2.8c-.276 0-.5-.223-.5-.5V4.5c0-.276.224-.5.5-.5zM6.5 4h2.8c.277 0 .5.224.5.5v12.394c0 .277-.223.5-.5.5H6.5c-.276 0-.5-.223-.5-.5V4.5c0-.276.224-.5.5-.5z" />'},speedHalf:{width:27,height:11,content:'<g xmlns="http://www.w3.org/2000/svg" opacity="0.25">\n <path d="M24.0086 6.10773L22.3566 7.75973C22.2586 7.85773 22.1186 7.92773 21.9646 7.92773C21.6566 7.92773 21.4186 7.67573 21.4186 7.38173C21.4186 7.22773 21.4886 7.08773 21.5726 6.98973L23.2246 5.32373L21.5726 3.67173C21.4886 3.57373 21.4186 3.43373 21.4186 3.27973C21.4186 2.97173 21.6566 2.71973 21.9646 2.71973C22.1186 2.71973 22.2726 2.78973 22.3706 2.88773L24.0086 4.55373L25.6606 2.88773C25.7586 2.78973 25.9126 2.73373 26.0526 2.73373C26.3606 2.73373 26.6126 2.97173 26.6126 3.27973C26.6126 3.43373 26.5426 3.57373 26.4446 3.67173L24.7926 5.32373L26.4446 6.98973C26.5426 7.08773 26.6126 7.22773 26.6126 7.38173C26.6126 7.67573 26.3606 7.91373 26.0526 7.91373C25.9126 7.91373 25.7726 7.85773 25.6746 7.75973L24.0086 6.10773Z" fill="black"/>\n <path d="M13.307 9.31411C13.083 9.17411 12.915 8.88011 12.915 8.58611C12.915 8.09611 13.307 7.70411 13.797 7.70411C13.965 7.70411 14.133 7.74611 14.273 7.84411C14.847 8.25011 15.505 8.43211 16.233 8.43211C17.339 8.43211 17.969 7.80211 17.969 7.03211C17.969 6.17811 17.353 5.60411 16.289 5.60411C15.673 5.60411 15.155 5.75811 14.665 6.13611C14.483 6.27611 14.259 6.34611 14.007 6.34611C13.419 6.34611 12.943 5.87011 12.943 5.28211V1.71211C12.943 1.04011 13.307 0.662109 13.993 0.662109H18.599C19.061 0.662109 19.467 1.04011 19.467 1.53011C19.467 1.99211 19.061 2.37011 18.599 2.37011H14.889V4.70811C15.379 4.27411 16.135 3.92411 16.989 3.92411C18.571 3.92411 19.985 5.05811 19.985 6.94811C19.985 8.92211 18.501 10.1681 16.247 10.1681C15.029 10.1681 14.077 9.86011 13.307 9.31411Z" fill="black"/>\n <path d="M9.03894 9.01974C9.03894 8.40374 9.55694 7.88574 10.1729 7.88574C10.7889 7.88574 11.3069 8.40374 11.3069 9.01974C11.3069 9.63574 10.7889 10.1537 10.1729 10.1537C9.55694 10.1537 9.03894 9.63574 9.03894 9.01974Z" fill="black"/>\n <path d="M0.476074 5.33748C0.476074 2.92948 1.66607 0.521484 4.34007 0.521484C7.00007 0.521484 8.20407 2.92948 8.20407 5.33748C8.20407 7.74548 7.00007 10.1675 4.34007 10.1675C1.66607 10.1675 0.476074 7.74548 0.476074 5.33748ZM6.17407 5.33748C6.17407 3.61548 5.67007 2.28549 4.34007 2.28549C2.99607 2.28549 2.49207 3.61548 2.49207 5.33748C2.49207 7.05948 2.99607 8.40349 4.34007 8.40349C5.67007 8.40349 6.17407 7.05948 6.17407 5.33748Z" fill="black"/>\n </g>'},speedThreeQuarters:{width:34,height:11,content:'<g xmlns="http://www.w3.org/2000/svg" opacity="0.25">\n <path d="M30.6531 6.10773L29.0011 7.75973C28.9031 7.85773 28.7631 7.92773 28.6091 7.92773C28.3011 7.92773 28.0631 7.67573 28.0631 7.38173C28.0631 7.22773 28.1331 7.08773 28.2171 6.98973L29.8691 5.32373L28.2171 3.67173C28.1331 3.57373 28.0631 3.43373 28.0631 3.27973C28.0631 2.97173 28.3011 2.71973 28.6091 2.71973C28.7631 2.71973 28.9171 2.78973 29.0151 2.88773L30.6531 4.55373L32.3051 2.88773C32.4031 2.78973 32.5571 2.73373 32.6971 2.73373C33.0051 2.73373 33.2571 2.97173 33.2571 3.27973C33.2571 3.43373 33.1871 3.57373 33.0891 3.67173L31.4371 5.32373L33.0891 6.98973C33.1871 7.08773 33.2571 7.22773 33.2571 7.38173C33.2571 7.67573 33.0051 7.91373 32.6971 7.91373C32.5571 7.91373 32.4171 7.85773 32.3191 7.75973L30.6531 6.10773Z" fill="black"/>\n <path d="M19.9516 9.31411C19.7276 9.17411 19.5596 8.88011 19.5596 8.58611C19.5596 8.09611 19.9516 7.70411 20.4416 7.70411C20.6096 7.70411 20.7776 7.74611 20.9176 7.84411C21.4916 8.25011 22.1496 8.43211 22.8776 8.43211C23.9836 8.43211 24.6136 7.80211 24.6136 7.03211C24.6136 6.17811 23.9976 5.60411 22.9336 5.60411C22.3176 5.60411 21.7996 5.75811 21.3096 6.13611C21.1276 6.27611 20.9036 6.34611 20.6516 6.34611C20.0636 6.34611 19.5876 5.87011 19.5876 5.28211V1.71211C19.5876 1.04011 19.9516 0.662109 20.6376 0.662109H25.2436C25.7056 0.662109 26.1116 1.04011 26.1116 1.53011C26.1116 1.99211 25.7056 2.37011 25.2436 2.37011H21.5336V4.70811C22.0236 4.27411 22.7796 3.92411 23.6336 3.92411C25.2156 3.92411 26.6296 5.05811 26.6296 6.94811C26.6296 8.92211 25.1456 10.1681 22.8916 10.1681C21.6736 10.1681 20.7216 9.86011 19.9516 9.31411Z" fill="black"/>\n <path d="M14.1437 10.0981C13.5977 10.0981 13.1497 9.65011 13.1497 9.10411C13.1497 8.96411 13.1917 8.83811 13.2337 8.69811L16.0197 2.41211H12.0997C11.6237 2.41211 11.2177 2.02011 11.2177 1.54411C11.2177 1.05411 11.6237 0.662109 12.0997 0.662109H17.4757C17.9937 0.662109 18.4277 1.08211 18.4277 1.61411C18.4277 1.75411 18.3997 1.88011 18.3437 1.99211L15.0677 9.49611C14.9277 9.86011 14.5637 10.0981 14.1437 10.0981Z" fill="black"/>\n <path d="M9.03894 9.01974C9.03894 8.40374 9.55694 7.88574 10.1729 7.88574C10.7889 7.88574 11.3069 8.40374 11.3069 9.01974C11.3069 9.63574 10.7889 10.1537 10.1729 10.1537C9.55694 10.1537 9.03894 9.63574 9.03894 9.01974Z" fill="black"/>\n <path d="M0.476074 5.33748C0.476074 2.92948 1.66607 0.521484 4.34007 0.521484C7.00007 0.521484 8.20407 2.92948 8.20407 5.33748C8.20407 7.74548 7.00007 10.1675 4.34007 10.1675C1.66607 10.1675 0.476074 7.74548 0.476074 5.33748ZM6.17407 5.33748C6.17407 3.61548 5.67007 2.28549 4.34007 2.28549C2.99607 2.28549 2.49207 3.61548 2.49207 5.33748C2.49207 7.05948 2.99607 8.40349 4.34007 8.40349C5.67007 8.40349 6.17407 7.05948 6.17407 5.33748Z" fill="black"/>\n </g>'},speedOne:{width:25,height:10,content:'<g xmlns="http://www.w3.org/2000/svg" opacity="0.25">\n <path d="M21.9901 5.60773L20.3381 7.25973C20.2401 7.35773 20.1001 7.42773 19.9461 7.42773C19.6381 7.42773 19.4001 7.17573 19.4001 6.88173C19.4001 6.72773 19.4701 6.58773 19.5541 6.48973L21.2061 4.82373L19.5541 3.17173C19.4701 3.07373 19.4001 2.93373 19.4001 2.77973C19.4001 2.47173 19.6381 2.21973 19.9461 2.21973C20.1001 2.21973 20.2541 2.28973 20.3521 2.38773L21.9901 4.05373L23.6421 2.38773C23.7401 2.28973 23.8941 2.23373 24.0341 2.23373C24.3421 2.23373 24.5941 2.47173 24.5941 2.77973C24.5941 2.93373 24.5241 3.07373 24.4261 3.17173L22.7741 4.82373L24.4261 6.48973C24.5241 6.58773 24.5941 6.72773 24.5941 6.88173C24.5941 7.17573 24.3421 7.41373 24.0341 7.41373C23.8941 7.41373 23.7541 7.35773 23.6561 7.25973L21.9901 5.60773Z" fill="black"/>\n <path d="M10.2565 4.83748C10.2565 2.42948 11.4465 0.0214844 14.1205 0.0214844C16.7805 0.0214844 17.9845 2.42948 17.9845 4.83748C17.9845 7.24548 16.7805 9.66749 14.1205 9.66749C11.4465 9.66749 10.2565 7.24548 10.2565 4.83748ZM15.9545 4.83748C15.9545 3.11548 15.4505 1.78549 14.1205 1.78549C12.7765 1.78549 12.2725 3.11548 12.2725 4.83748C12.2725 6.55948 12.7765 7.90349 14.1205 7.90349C15.4505 7.90349 15.9545 6.55948 15.9545 4.83748Z" fill="black"/>\n <path d="M6.85645 8.51974C6.85645 7.90374 7.37445 7.38574 7.99045 7.38574C8.60645 7.38574 9.12444 7.90374 9.12444 8.51974C9.12444 9.13574 8.60645 9.65374 7.99045 9.65374C7.37445 9.65374 6.85645 9.13574 6.85645 8.51974Z" fill="black"/>\n <path d="M4.27766 9.59748C3.71766 9.59748 3.28366 9.13548 3.28366 8.60348V2.72348L2.26166 3.77348C2.10766 3.92748 1.89766 4.02548 1.67366 4.02548C1.21166 4.02548 0.847656 3.64748 0.847656 3.19948C0.847656 2.96148 0.945656 2.76548 1.08566 2.61148L3.29766 0.399477C3.50766 0.189477 3.80166 0.0634766 4.12366 0.0634766C4.75366 0.0634766 5.27166 0.581477 5.27166 1.21148V8.60348C5.27166 9.13548 4.82366 9.59748 4.27766 9.59748Z" fill="black"/>\n </g>'},speedOneQuarter:{width:33,height:11,content:'<g xmlns="http://www.w3.org/2000/svg" opacity="0.25">\n <path d="M29.6005 6.10773L27.9485 7.75973C27.8505 7.85773 27.7105 7.92773 27.5565 7.92773C27.2485 7.92773 27.0105 7.67573 27.0105 7.38173C27.0105 7.22773 27.0805 7.08773 27.1645 6.98973L28.8165 5.32373L27.1645 3.67173C27.0805 3.57373 27.0105 3.43373 27.0105 3.27973C27.0105 2.97173 27.2485 2.71973 27.5565 2.71973C27.7105 2.71973 27.8645 2.78973 27.9625 2.88773L29.6005 4.55373L31.2525 2.88773C31.3505 2.78973 31.5045 2.73373 31.6445 2.73373C31.9525 2.73373 32.2045 2.97173 32.2045 3.27973C32.2045 3.43373 32.1345 3.57373 32.0365 3.67173L30.3845 5.32373L32.0365 6.98973C32.1345 7.08773 32.2045 7.22773 32.2045 7.38173C32.2045 7.67573 31.9525 7.91373 31.6445 7.91373C31.5045 7.91373 31.3645 7.85773 31.2665 7.75973L29.6005 6.10773Z" fill="black"/>\n <path d="M18.899 9.31411C18.675 9.17411 18.507 8.88011 18.507 8.58611C18.507 8.09611 18.899 7.70411 19.389 7.70411C19.557 7.70411 19.725 7.74611 19.865 7.84411C20.439 8.25011 21.097 8.43211 21.825 8.43211C22.931 8.43211 23.561 7.80211 23.561 7.03211C23.561 6.17811 22.945 5.60411 21.881 5.60411C21.265 5.60411 20.747 5.75811 20.257 6.13611C20.075 6.27611 19.851 6.34611 19.599 6.34611C19.011 6.34611 18.535 5.87011 18.535 5.28211V1.71211C18.535 1.04011 18.899 0.662109 19.585 0.662109H24.191C24.653 0.662109 25.059 1.04011 25.059 1.53011C25.059 1.99211 24.653 2.37011 24.191 2.37011H20.481V4.70811C20.971 4.27411 21.727 3.92411 22.581 3.92411C24.163 3.92411 25.577 5.05811 25.577 6.94811C25.577 8.92211 24.093 10.1681 21.839 10.1681C20.621 10.1681 19.669 9.86011 18.899 9.31411Z" fill="black"/>\n <path d="M10.7532 9.99949C10.1932 9.99949 9.71716 9.53749 9.71716 8.96348C9.71716 8.62748 9.89916 8.31948 10.1512 8.13748C13.7072 5.54748 14.7572 4.62348 14.7572 3.50348C14.7572 2.69148 14.0152 2.28549 13.2312 2.28549C12.4612 2.28549 11.8172 2.52348 11.2572 2.91548C11.1172 3.01348 10.9492 3.06948 10.7672 3.06948C10.2772 3.06948 9.88516 2.67748 9.88516 2.18748C9.88516 1.89348 10.0392 1.62748 10.2492 1.47348C11.1172 0.815485 12.1812 0.521484 13.2032 0.521484C15.1912 0.521484 16.7732 1.64148 16.7732 3.50348C16.7732 5.09948 15.4572 6.48549 12.9512 8.24949H16.0592C16.5352 8.24949 16.9412 8.64149 16.9412 9.11749C16.9412 9.60748 16.5352 9.99949 16.0592 9.99949H10.7532Z" fill="black"/>\n <path d="M6.37305 9.01974C6.37305 8.40374 6.89105 7.88574 7.50705 7.88574C8.12305 7.88574 8.64105 8.40374 8.64105 9.01974C8.64105 9.63574 8.12305 10.1537 7.50705 10.1537C6.89105 10.1537 6.37305 9.63574 6.37305 9.01974Z" fill="black"/>\n <path d="M3.79426 10.0975C3.23426 10.0975 2.80026 9.63548 2.80026 9.10348V3.22348L1.77826 4.27348C1.62426 4.42748 1.41426 4.52548 1.19026 4.52548C0.728258 4.52548 0.364258 4.14748 0.364258 3.69948C0.364258 3.46148 0.462258 3.26548 0.602258 3.11148L2.81426 0.899477C3.02426 0.689477 3.31826 0.563477 3.64026 0.563477C4.27026 0.563477 4.78826 1.08148 4.78826 1.71148V9.10348C4.78826 9.63548 4.34026 10.0975 3.79426 10.0975Z" fill="black"/>\n </g>'},speedOneHalf:{width:24,height:11,content:'<g xmlns="http://www.w3.org/2000/svg" opacity="0.25">\n <path d="M21.3427 6.1087L19.6907 7.7607C19.5927 7.8587 19.4527 7.9287 19.2987 7.9287C18.9907 7.9287 18.7527 7.6767 18.7527 7.3827C18.7527 7.2287 18.8227 7.0887 18.9067 6.9907L20.5587 5.3247L18.9067 3.6727C18.8227 3.5747 18.7527 3.4347 18.7527 3.2807C18.7527 2.9727 18.9907 2.7207 19.2987 2.7207C19.4527 2.7207 19.6067 2.7907 19.7047 2.8887L21.3427 4.5547L22.9947 2.8887C23.0927 2.7907 23.2467 2.7347 23.3867 2.7347C23.6947 2.7347 23.9467 2.9727 23.9467 3.2807C23.9467 3.4347 23.8767 3.5747 23.7787 3.6727L22.1267 5.3247L23.7787 6.9907C23.8767 7.0887 23.9467 7.2287 23.9467 7.3827C23.9467 7.6767 23.6947 7.9147 23.3867 7.9147C23.2467 7.9147 23.1067 7.8587 23.0087 7.7607L21.3427 6.1087Z" fill="black"/>\n <path d="M10.6411 9.31411C10.4171 9.17411 10.2491 8.88011 10.2491 8.58611C10.2491 8.09611 10.6411 7.70411 11.1311 7.70411C11.2991 7.70411 11.4671 7.74611 11.6071 7.84411C12.1811 8.25011 12.8391 8.43211 13.5671 8.43211C14.6731 8.43211 15.3031 7.80211 15.3031 7.03211C15.3031 6.17811 14.6871 5.60411 13.6231 5.60411C13.0071 5.60411 12.4891 5.75811 11.9991 6.13611C11.8171 6.27611 11.5931 6.34611 11.3411 6.34611C10.7531 6.34611 10.2771 5.87011 10.2771 5.28211V1.71211C10.2771 1.04011 10.6411 0.662109 11.3271 0.662109H15.9331C16.3951 0.662109 16.8011 1.04011 16.8011 1.53011C16.8011 1.99211 16.3951 2.37011 15.9331 2.37011H12.2231V4.70811C12.7131 4.27411 13.4691 3.92411 14.3231 3.92411C15.9051 3.92411 17.3191 5.05811 17.3191 6.94811C17.3191 8.92211 15.8351 10.1681 13.5811 10.1681C12.3631 10.1681 11.4111 9.86011 10.6411 9.31411Z" fill="black"/>\n <path d="M6.37305 9.02072C6.37305 8.40472 6.89105 7.88672 7.50705 7.88672C8.12305 7.88672 8.64105 8.40472 8.64105 9.02072C8.64105 9.63672 8.12305 10.1547 7.50705 10.1547C6.89105 10.1547 6.37305 9.63672 6.37305 9.02072Z" fill="black"/>\n <path d="M3.79426 10.0985C3.23426 10.0985 2.80026 9.63645 2.80026 9.10445V3.22445L1.77826 4.27445C1.62426 4.42845 1.41426 4.52645 1.19026 4.52645C0.728258 4.52645 0.364258 4.14845 0.364258 3.70045C0.364258 3.46245 0.462258 3.26645 0.602258 3.11245L2.81426 0.900453C3.02426 0.690453 3.31826 0.564453 3.64026 0.564453C4.27026 0.564453 4.78826 1.08245 4.78826 1.71245V9.10445C4.78826 9.63645 4.34026 10.0985 3.79426 10.0985Z" fill="black"/>\n </g>'},speedTwo:{width:27,height:11,content:'<g xmlns="http://www.w3.org/2000/svg" opacity="0.25">\n <path d="M24.0494 6.10773L22.3974 7.75973C22.2994 7.85773 22.1594 7.92773 22.0054 7.92773C21.6974 7.92773 21.4594 7.67573 21.4594 7.38173C21.4594 7.22773 21.5294 7.08773 21.6134 6.98973L23.2654 5.32373L21.6134 3.67173C21.5294 3.57373 21.4594 3.43373 21.4594 3.27973C21.4594 2.97173 21.6974 2.71973 22.0054 2.71973C22.1594 2.71973 22.3134 2.78973 22.4114 2.88773L24.0494 4.55373L25.7014 2.88773C25.7994 2.78973 25.9534 2.73373 26.0934 2.73373C26.4014 2.73373 26.6534 2.97173 26.6534 3.27973C26.6534 3.43373 26.5834 3.57373 26.4854 3.67173L24.8334 5.32373L26.4854 6.98973C26.5834 7.08773 26.6534 7.22773 26.6534 7.38173C26.6534 7.67573 26.4014 7.91373 26.0934 7.91373C25.9534 7.91373 25.8134 7.85773 25.7154 7.75973L24.0494 6.10773Z" fill="black"/>\n <path d="M12.3157 5.33748C12.3157 2.92948 13.5057 0.521484 16.1797 0.521484C18.8397 0.521484 20.0437 2.92948 20.0437 5.33748C20.0437 7.74548 18.8397 10.1675 16.1797 10.1675C13.5057 10.1675 12.3157 7.74548 12.3157 5.33748ZM18.0137 5.33748C18.0137 3.61548 17.5097 2.28549 16.1797 2.28549C14.8357 2.28549 14.3317 3.61548 14.3317 5.33748C14.3317 7.05948 14.8357 8.40349 16.1797 8.40349C17.5097 8.40349 18.0137 7.05948 18.0137 5.33748Z" fill="black"/>\n <path d="M8.91565 9.01974C8.91565 8.40374 9.43365 7.88574 10.0496 7.88574C10.6656 7.88574 11.1836 8.40374 11.1836 9.01974C11.1836 9.63574 10.6656 10.1537 10.0496 10.1537C9.43365 10.1537 8.91565 9.63574 8.91565 9.01974Z" fill="black"/>\n <path d="M1.45592 9.99949C0.895922 9.99949 0.419922 9.53749 0.419922 8.96348C0.419922 8.62748 0.601922 8.31948 0.853922 8.13748C4.40992 5.54748 5.45992 4.62348 5.45992 3.50348C5.45992 2.69148 4.71792 2.28549 3.93392 2.28549C3.16392 2.28549 2.51992 2.52348 1.95992 2.91548C1.81992 3.01348 1.65192 3.06948 1.46992 3.06948C0.979922 3.06948 0.587922 2.67748 0.587922 2.18748C0.587922 1.89348 0.741922 1.62748 0.951922 1.47348C1.81992 0.815485 2.88392 0.521484 3.90592 0.521484C5.89392 0.521484 7.47592 1.64148 7.47592 3.50348C7.47592 5.09948 6.15992 6.48549 3.65392 8.24949H6.76192C7.23792 8.24949 7.64392 8.64149 7.64392 9.11749C7.64392 9.60748 7.23792 9.99949 6.76192 9.99949H1.45592Z" fill="black"/>\n </g>'},reaction:{width:16,height:16,content:'<path data-theme="light" fill="#D09959" d="M1 2h14v12H1z"/> <path d="M0 1.778C0 .8.8 0 1.778 0h12.444C15.2 0 16 .8 16 1.778v12.444C16 15.2 15.2 16 14.222 16H1.778C.8 16 0 15.2 0 14.222V1.778zM6.8 11.7l2.5.8V6.2h1.6v5.5l2.5.8 1.6-2.3h-1.6V4.8L10.9 4 9.3 5.9V4.8L6.8 4 5.1 5.9V4.8L2.6 4 1 6.2h1.6v5.5l2.5.8V6.2h1.7v5.5z" />'},cross:{width:18,height:18,content:'<path fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" vector-effect="non-scaling-stroke" d="M2 2l14 14M16 2L2 16" />'},link:{width:24,height:24,content:'<path d="M9.158 18.928c-1.065 0-2.13-.405-2.94-1.215-1.624-1.623-1.624-4.262 0-5.884l.643-.645c.327-.326.854-.326 1.18 0 .325.326.325.853 0 1.178l-.645.645c-.972.972-.972 2.554 0 3.526.973.972 2.554.973 3.526 0l2.842-2.84c.97-.972.97-2.555 0-3.527-.325-.325-.325-.854 0-1.18.325-.324.853-.324 1.178 0 1.623 1.625 1.623 4.264 0 5.885l-2.84 2.84c-.81.81-1.877 1.216-2.942 1.216" /> <path d="M10.578 14.184c-.213 0-.426-.082-.59-.244-.784-.785-1.217-1.83-1.217-2.94 0-1.113.433-2.158 1.22-2.944l2.84-2.84c1.622-1.62 4.26-1.62 5.883 0 1.622 1.623 1.622 4.262 0 5.883l-.645.643c-.325.326-.852.326-1.178 0-.325-.325-.325-.852 0-1.178l.645-.644c.972-.97.972-2.554 0-3.526s-2.556-.972-3.527 0l-2.84 2.842c-.47.47-.73 1.096-.73 1.762 0 .667.26 1.293.73 1.763.325.327.325.854 0 1.18-.163.162-.376.244-.59.244" />'},search:{width:16,height:16,content:'<g transform="translate(2 1)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" vector-effect="non-scaling-stroke"><circle cx="5.5" cy="5.5" r="5.5"/><path d="M11.37 13.442l-.995-1.272"/></g>'},card:{width:15,height:15,content:'<path d="M9 5.5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5H4a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h5zm-.5 1h-4v4h4v-4zm2.5-3a.5.5 0 0 1 .5.5v5a.5.5 0 1 1-1 0V4.5H6a.5.5 0 0 1 0-1h5z" fill-rule="nonzero"/>'},podcast:{width:15,height:15,content:'<path d="M5.252 11.432A.5.5 0 0 1 4.5 11V4a.5.5 0 0 1 .752-.432l6 3.5a.5.5 0 0 1 0 .864l-6 3.5zm.248-1.303L10.008 7.5 5.5 4.87v5.26z" fill-rule="nonzero" />'},arrow:{width:12,height:12,content:'<path d="M3 7l3 3.5L9 7M6 10V1" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" vector-effect="non-scaling-stroke" />'},brent:{width:9,height:12,content:'<g fill="#999" fill-rule="nonzero"><path d="M4.332 0l.528.606c2.528 2.902 3.804 5.07 3.804 6.634A4.332 4.332 0 110 7.24C0 5.676 1.276 3.508 3.804.606L4.332 0zm0 2.143l-.176.212C2.313 4.589 1.4 6.248 1.4 7.24a2.932 2.932 0 105.864 0c0-.992-.914-2.651-2.756-4.885l-.176-.212z"/><path d="M2.973 7.475c0 .415.417.863.835.924l.097.008v.7c-.79 0-1.548-.716-1.626-1.5l-.006-.132h.7z"/></g> '},user:{width:16,height:16,content:'<path fill="currentColor" fill-rule="nonzero" d="M8 1a4.25 4.25 0 012.676 7.552 6.751 6.751 0 014.074 6.198.75.75 0 11-1.5 0 5.25 5.25 0 00-10.5 0 .75.75 0 11-1.5 0 6.752 6.752 0 014.074-6.199A4.25 4.25 0 018 1zm0 1.5A2.75 2.75 0 108 8a2.75 2.75 0 000-5.5z" />'},receipt:{width:10,height:13,content:'<g fill="currentColor" fill-rule="nonzero"><path d="M10 0H0v13l2-1.74 1.5 1.305L5 11.26l1.5 1.305L8 11.26 10 13V0zM9 .997v9.81l-1-.87-1.5 1.304L5 9.937 3.5 11.24 2 9.937l-1 .87V.996h8z"/><path d="M7 3v1H3V3zM7 6v1H3V6z"/></g>'},magic:{width:15,height:15,content:'<g fill-rule="evenodd" clip-rule="evenodd"> <path d="M7.804.4a.6.6 0 0 1 .6.6v2.035a.6.6 0 0 1-1.2 0V1a.6.6 0 0 1 .6-.6ZM7.804 10.577a.6.6 0 0 1 .6.6v2.035a.6.6 0 1 1-1.2 0v-2.035a.6.6 0 0 1 .6-.6ZM14.636 7.106a.6.6 0 0 1-.6.6h-2.078a.6.6 0 1 1 0-1.2h2.078a.6.6 0 0 1 .6.6ZM4.25 7.106a.6.6 0 0 1-.6.6H1.573a.6.6 0 0 1 0-1.2H3.65a.6.6 0 0 1 .6.6ZM12.639 2.37a.585.585 0 0 1 0 .84l-1.442 1.412a.615.615 0 0 1-.857 0 .585.585 0 0 1 0-.84l1.442-1.412a.615.615 0 0 1 .857 0ZM12.639 11.843a.615.615 0 0 1-.857 0L10.34 10.43a.585.585 0 0 1 0-.84.615.615 0 0 1 .857 0l1.442 1.413a.585.585 0 0 1 0 .84ZM5.269 4.621a.615.615 0 0 1-.858 0L2.97 3.208a.585.585 0 0 1 0-.84.615.615 0 0 1 .858 0l1.442 1.413a.585.585 0 0 1 0 .84ZM8.926 6.074a.6.6 0 0 1 0 .849l-.863.863-.849-.849.863-.863a.6.6 0 0 1 .849 0ZM7.348 8.5l-5.924 5.924a.6.6 0 1 1-.848-.848L6.5 7.652l.848.848Z"/> </g>'}};var m={root:"SvgSymbol-module_root__WctNR",small:"SvgSymbol-module_small__h9V-w",normal:"SvgSymbol-module_normal__gFAVe",medium:"SvgSymbol-module_medium__QaYjY",large:"SvgSymbol-module_large__o6A4o",adaptive:"SvgSymbol-module_adaptive__gL9qn",fb:"SvgSymbol-module_fb__HZqcB",vk:"SvgSymbol-module_vk__XctB2",ok:"SvgSymbol-module_ok__IM6Z9",tw:"SvgSymbol-module_tw__fio-Q",tg:"SvgSymbol-module_tg__GRhd-",magic:"SvgSymbol-module_magic__N-jKk",reaction:"SvgSymbol-module_reaction__xSbgo",card:"SvgSymbol-module_card__2nVFu",podcast:"SvgSymbol-module_podcast__Yp05r",menu:"SvgSymbol-module_menu__z-dLm",cross:"SvgSymbol-module_cross__3Xej1",isInFeature:"SvgSymbol-module_isInFeature__BmyI-",isInCard:"SvgSymbol-module_isInCard__USxBS",isInTopicBlockItem:"SvgSymbol-module_isInTopicBlockItem__cnCgw",isInPageStatic:"SvgSymbol-module_isInPageStatic__7kMP-",isInMaterialMeta:"SvgSymbol-module_isInMaterialMeta__lIKJO",isInAudioPlayer:"SvgSymbol-module_isInAudioPlayer__mamWa",isInEpisodeBlock:"SvgSymbol-module_isInEpisodeBlock__oZ6JG",isInButtonPlaybackRate:"SvgSymbol-module_isInButtonPlaybackRate__NnADm",isInButtonBackward:"SvgSymbol-module_isInButtonBackward__x8L9a",isInButtonForward:"SvgSymbol-module_isInButtonForward__TtixK",isInToolbar:"SvgSymbol-module_isInToolbar__RzbaX",play:"SvgSymbol-module_play__dAES0",speedHalf:"SvgSymbol-module_speedHalf__mvVYC",speedThreeQuarters:"SvgSymbol-module_speedThreeQuarters__9N7uH",speedOne:"SvgSymbol-module_speedOne__sRNph",speedOneQuarter:"SvgSymbol-module_speedOneQuarter__fKIT7",speedOneHalf:"SvgSymbol-module_speedOneHalf__7yXsa",speedTwo:"SvgSymbol-module_speedTwo__Bv8-b",meduzaLogo:"SvgSymbol-module_meduzaLogo__aVKzZ",arrow:"SvgSymbol-module_arrow__lWTSJ",oil:"SvgSymbol-module_oil__VFGTp",search:"SvgSymbol-module_search__h06cc",user:"SvgSymbol-module_user__ORMm-",receipt:"SvgSymbol-module_receipt__o3V8u",isInHeader:"SvgSymbol-module_isInHeader__M5Tzw"};const _=({icon:t,size:o,styleContext:l})=>{const a=s[t];return e.createElement("svg",{"data-testid":"svg-symbol",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:n([[m.root,!0],[m[o],!!m[o]],[m[t],!!m[t]],[m[l],!!m[l]]]),width:a.width,height:a.height,viewBox:`0 0 ${a.width} ${a.height}`,dangerouslySetInnerHTML:{__html:a.content}})};var u={root:"Switcher-module_root__cBsJB",dark:"Switcher-module_dark__1QQsH",control:"Switcher-module_control__60WMX",input:"Switcher-module_input__5UDnv",knob:"Switcher-module_knob__PwA1A",isInMenu:"Switcher-module_isInMenu__RQVhp",isInLive:"Switcher-module_isInLive__ZyMCT",children:"Switcher-module_children__uLapU"};const p=(e,t,o)=>{const l=Array.isArray(t)?t.filter((e=>o[e])).map((e=>[[o[e]],!0])):[[o[t],!!t&&!!o[t]]];return e.concat(l)},h=e.createContext({lightBox:null}),k=h.Provider,b=(e,t,o)=>{const l=window.top,a=`mdzKitMsg=${JSON.stringify({category:e,element:t,action:o})}`;void 0!==l&&l.postMessage(a,"*")};var C={root:"Lazy-module_root__DWw8D"};const g=({children:o,threshold:l=0})=>{const[a,r]=t.useInView({threshold:l,triggerOnce:!0});return e.createElement("div",{className:n([[C.root,!0],[C.visible,r]]),ref:a,"data-testid":"lazy"},r&&o)},y={325:"(min-width: 0)",520:"(min-width: 325px)",600:"(min-width: 600px)",650:"(min-width: 650px)",980:"(min-width: 1000px)",1335:"(min-width: 1000px)"},v={xs:[325],superFull:[1335,650,520,325],full:[980,650,520,325],default:[650,520,325],narrow:[600,325]},E={ru:{tg:"Телеграм",fb:"Фейсбук",tw:"Твиттер",pdf:"PDF",unblock:"Magic link",reaction:"Напишите нам"},en:{tg:"Telegram",fb:"Fb",tw:"Twitter",pdf:"PDF",unblock:"Magic link"}},f=e=>e.replace(/([_][a-z])/gi,(e=>e.toUpperCase().replace("_",""))),L=({source:t,fallbackSource:o,optimized:l,alt:a,display:r,onLoad:n})=>{const[i,d]=e.useState(!1);e.useEffect((()=>{d(!window.HTMLPictureElement)}),[]);const c=v[f(r)]||v.default;return e.createElement("picture",null,t&&e.createElement("source",{media:"(min-width: 325px)",srcSet:`${t[1]} 2x`}),l&&!l.w325&&e.createElement("source",{media:"(min-width: 0)",srcSet:`${l.original}`}),l&&c.map((t=>{const o=l[`w${t}`];return o?e.createElement(e.Fragment,{key:t},e.createElement("source",{type:"image/webp",media:y[t],srcSet:`${o["2x_webp"]} 2x, ${o["1x_webp"]} 1x `}),e.createElement("source",{type:"image/png",media:y[t],srcSet:`${o["2x"]} 2x, ${o["1x"]} 1x `})):null})),e.createElement("img",{src:i?o:"data:image/gif;base64,R0lGODlhAQABAPAAAPLy8gAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",alt:a,onLoad:()=>n(!0)}))};var w={root:"Image-module_root__H5wAh",fullRatio:"Image-module_fullRatio__q7QPa",isStatic:"Image-module_isStatic__TmQ1V",isLoaded:"Image-module_isLoaded__keFnD",wrapper:"Image-module_wrapper__gJtbB",fullscreen:"Image-module_fullscreen__4PU9c",dark:"Image-module_dark__qjo5O",isRelated:"Image-module_isRelated__uSeSM"};const S=({alt:t,display:o,optimized:l,width:a,height:r,source:i,lazy:d,ratio:c,styleContext:s,fullscreen:m=!0})=>{const{lightBox:_}=e.useContext(h),[u,k]=e.useState(!d),C=Boolean(_&&l?.original&&m),y=()=>{C&&(b("","fullscreen_click","click"),_.show(l,a,r,t))},v={maxWidth:a<=649?a:"100%"},E={aspectRatio:null===c?"unset":`${c||a/r}`},f=i&&i[0]||l.w325&&l.w325["1x"]||l.original;let S=[[w.root,!0],[w.isLoaded,u],[w.fullscreen,C],[w.fullRatio,null===c]];s&&(S=p(S,s,w));const B=C?{onClick:y,onKeyPress:y,role:"button",tabIndex:0}:{};return e.createElement("div",{className:n(S),style:v,"data-testid":"image"},e.createElement("div",{className:w.wrapper,style:E,...B},d?e.createElement(e.Fragment,null,e.createElement(g,{threshold:.25},e.createElement(L,{fallbackSource:f,source:i,optimized:l,alt:t,display:o,onLoad:k})),e.createElement("noscript",null,e.createElement("img",{src:f,alt:t}))):e.createElement(L,{fallbackSource:f,source:i,optimized:l,alt:t,display:o,onLoad:k})))},B=({children:t,onClose:o})=>{const[l,a]=e.useState(!0),r=()=>{a(!1),setTimeout(o,350)},i=()=>{r()},d=e=>{"Escape"===e.key&&r()};return e.useEffect((()=>(document.body.dataset.popover="true",window.addEventListener("keydown",d,!1),window.addEventListener("scroll",i,!1),()=>{document.body.removeAttribute("data-popover"),window.removeEventListener("keydown",d,!1),window.removeEventListener("scroll",i,!1)})),[l]),e.createElement("div",{"data-testid":"popover",className:n([["Popover-module_root__nBiV4",!0],["Popover-module_visible__XVQLW",l]])},e.createElement("div",{className:"Popover-module_overlay__NAPar",onClick:()=>r()}),e.createElement("div",{className:"Popover-module_container__y4SB1"},e.createElement("button",{type:"button",className:"Popover-module_dismiss__W8KFF",onClick:()=>r(),"aria-label":"dismiss"}),e.createElement("svg",{width:"100%",className:"Popover-module_background__apiio"},e.createElement("defs",null,e.createElement("mask",{id:"myMask",x:"0",y:"0",width:"100%",height:"100%"},e.createElement("rect",{fill:"white",y:"0",width:"100%",height:"100%",x:"0"}),e.createElement("svg",{x:"50%",overflow:"visible"},e.createElement("g",{transform:"translate(-12 0)"},e.createElement("path",{d:"M4.61852778e-14,9.76996262e-15 L9.84597532,5.80270273 C11.0992017,6.54128882 12.6546044,6.54128882 13.9078308,5.80270273 L23.7538061,9.76996262e-15 L4.61852778e-14,9.76996262e-15 Z"}))))),e.createElement("rect",{fill:"#F7F7F7",id:"base-mask",mask:"url(#myMask)",x:"0",y:"0",width:"100%",height:"100%"})),e.createElement("div",{className:"Popover-module_body__UJEZf"},t)))},x=({children:t,onClose:o})=>e.createElement("div",{"data-testid":"footnote",className:n([["Footnote-module_root__W5D8G",!0]])},e.createElement("button",{className:"Footnote-module_dismiss__Q2hAX",type:"button",onClick:()=>o()},e.createElement(_,{icon:"cross",size:"unset"})),e.createElement("div",{className:"Footnote-module_body__C-ZC-"},t));var M=()=>({width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}),I={root:"DotsOnImage-module_root__8UQf2",isVisible:"DotsOnImage-module_isVisible__rA5x9",marker:"DotsOnImage-module_marker__pLdQT",show:"DotsOnImage-module_show__Ec0lG",dot:"DotsOnImage-module_dot__e2MWx",isActive:"DotsOnImage-module_isActive__Bhb58",popover:"DotsOnImage-module_popover__zHSbU",isRight:"DotsOnImage-module_isRight__IaUbc",isTop:"DotsOnImage-module_isTop__RMK49",isLeft:"DotsOnImage-module_isLeft__Q6JZ-",isBottom:"DotsOnImage-module_isBottom__c-aLe"};const T=({block:{optimized:o,width:l,height:a,credit:r,display:i,dots:d}})=>{const[c,s]=e.useState(1),[m,_,u]=t.useInView(),p=e.useRef(null),[h,k]=e.useState({title:null,body:null,show:!1,id:null}),[b,C]=e.useState(!1);e.useEffect((()=>{u&&u.boundingClientRect&&u.boundingClientRect.y<0&&C(!0)}),[u]),e.useEffect((()=>{_&&C(!0)}),[_]),e.useEffect((()=>(h.id?document.addEventListener("click",y):document.removeEventListener("click",y),()=>document.removeEventListener("click",y))),[h]),e.useEffect((()=>(g(),window.addEventListener("resize",g),()=>document.removeEventListener("resize",g))),[b]);const g=()=>{const e=window.innerWidth;s(e<375?e/375:1)},y=e=>{-1===e.composedPath().indexOf(p.current)&&k({show:!1})};return e.createElement("div",{className:n([[I.root,!0],[I.isVisible,b]]),"data-testid":"dots-on-image",ref:m},e.createElement(S,{fullscreen:!1,optimized:o,width:l,height:a,alt:r,display:i}),e.createElement("div",{ref:p},d.map((t=>e.createElement("div",{className:I.dot,key:t.id,style:{top:`${t.position.y}%`,left:`${t.position.x}%`,transform:`scale(${c}) translate(-${50/c}%, -${50/c}%)`}},e.createElement("button",{className:n([[I.marker,!0],[I.isActive,t.id===h.id]]),type:"button",style:{backgroundColor:t.icon.color},onClick:()=>(e=>{const t=e.id!==h.id;k({title:e.title,body:e.body,show:t,id:t?e.id:null,style:{top:`${e.position.y}%`,left:`${e.position.x}%`},side:e.position.x>50?"isLeft":"isRight",align:e.position.y>50?"isBottom":"isTop"})})(t)},"svg"===t.icon.type&&e.createElement("div",{dangerouslySetInnerHTML:{__html:t.icon.svg_string}}),"number"===t.icon.type&&t.icon.number)))),h.show&&e.createElement(e.Fragment,null,M().width>=1024?e.createElement("div",{className:n([[I.popover,!0],[I[h.side],!!h.side],[I[h.align],!!h.align]]),style:h.style},e.createElement(x,{onClose:()=>{k({show:!1})}},h.title&&e.createElement("h3",null,h.title),e.createElement("div",{dangerouslySetInnerHTML:{__html:h.body}}))):e.createElement(B,{onClose:()=>{k({show:!1})}},h.title&&e.createElement("h3",null,h.title),e.createElement("div",{dangerouslySetInnerHTML:{__html:h.body}})))))};var N={root:"Tag-module_root__sGbnM",small:"Tag-module_small__hcPrf",large:"Tag-module_large__EKMu6",dark:"Tag-module_dark__9SHCb",light:"Tag-module_light__qlfy3",gold:"Tag-module_gold__u0bzS",gray:"Tag-module_gray__eazPk",inherit:"Tag-module_inherit__z21c-",overlay:"Tag-module_overlay__Xw8fF",is1to1:"Tag-module_is1to1__V-fH5",is1to2:"Tag-module_is1to2__b9Obh",isInSuperBlock:"Tag-module_isInSuperBlock__wrFUY",is1to3:"Tag-module_is1to3__vZT-R",is1to4:"Tag-module_is1to4__MBh5V",slide:"Tag-module_slide__gzptP",game:"Tag-module_game__NmKec",podcastMaterial:"Tag-module_podcastMaterial__O-LBI",richRelated:"Tag-module_richRelated__Qs6Ei",isInBookRelated:"Tag-module_isInBookRelated__ikTaj",isInBlockMetaContainer:"Tag-module_isInBlockMetaContainer__bAmLh",card:"Tag-module_card__TX87-",live:"Tag-module_live__ykyR7",episode:"Tag-module_episode__3OHmN",podcast:"Tag-module_podcast__K6dHn",rich:"Tag-module_rich__vPnWd",isInDynamicBlock:"Tag-module_isInDynamicBlock__WNleF",isInPodcastPlayer:"Tag-module_isInPodcastPlayer__H4sK9",mobile:"Tag-module_mobile__19oMH",desktop:"Tag-module_desktop__cNyQs"};const R=({children:t,size:o="small",theme:l="gold",styleContext:a,correlation:r,onlyOn:i})=>{let d=[[N.root,!0],[N[o],!!o&&!!N[o]],[N[l],!!l&&!!N[l]],[N[i],!!i&&!!N[i]],[N[r],!!r&&!!N[r]]];return a&&(d=p(d,a,N)),e.createElement("div",{"data-testid":"tag",className:n(d)},t)};var H={root:"MediaCaption-module_root__1r0wu",caption:"MediaCaption-module_caption__ewfcc",credit:"MediaCaption-module_credit__7y4v8",dark:"MediaCaption-module_dark__7a9Cm",video:"MediaCaption-module_video__RDTUa",picture:"MediaCaption-module_picture__abCvw",desktop:"MediaCaption-module_desktop__e0lCY",isDark:"MediaCaption-module_isDark__IFb9X"};const z=({credit:t,caption:o,styleContext:l})=>{let a=[[H.root,!0]];return l&&(a=p(a,l,H)),e.createElement("div",{"data-testid":"media-caption",className:n(a)},o&&e.createElement("div",{className:H.caption,dangerouslySetInnerHTML:{__html:o}}),t&&e.createElement("div",{className:H.credit,dangerouslySetInnerHTML:{__html:t}}))};var A={root:"Table-module_root__fRuZq",card:"Table-module_card__8r-EA",table:"Table-module_table__7Pagp",slide:"Table-module_slide__dgMPV",wrapper:"Table-module_wrapper__AP4Pz",tracks:"Table-module_tracks__mRNG0",default:"Table-module_default__nwBEg",full:"Table-module_full__YZPDz",row:"Table-module_row__9OHT3",cell:"Table-module_cell__yFdqc",fixedColumn:"Table-module_fixedColumn__O2528",white:"Table-module_white__Laj3-",gray:"Table-module_gray__FPFh0",pink:"Table-module_pink__CGkAA",blue:"Table-module_blue__b8BHs",yellow:"Table-module_yellow__YOJgu",orange:"Table-module_orange__B-i8L",green:"Table-module_green__Bt6iC",violet:"Table-module_violet__yTZd7",header:"Table-module_header__YPDzO",s:"Table-module_s__I-CeX",m:"Table-module_m__vxhDf",l:"Table-module_l__GYHhk",xs:"Table-module_xs__imR8t"};const V=({styleContext:t,block:{rows:o,options:l,display:a,columns_widths:r,table_credit:i}})=>{const d={"#ffffff":"white","#f5f5f5":"gray","#feeeee":"pink","#e6f3ff":"blue","#fffde6":"yellow","#fff9f2":"orange","#e7f2ef":"green","#f4f0f8":"violet"};let c=[[A.root,!0],[A[a],!!a&&!!A[a]]];return t&&(c=p(c,t,A)),e.createElement("div",{"data-testid":"table",className:n(c)},e.createElement("div",{className:A.wrapper},e.createElement("div",{className:A.table},e.createElement("div",{className:A.tracks},o.map(((t,o)=>e.createElement("div",{key:t.key,className:A.row},t.cells.map(((t,a)=>e.createElement("div",{key:t.key,className:n([[A.cell,!0],[A.header,l.header&&0===o],[A[d[t.color]],!0],[A[r[a]],!0],[A.fixedColumn,l.fixed_first_column&&0===a]]),dangerouslySetInnerHTML:{__html:t.val}}))))))))),i&&e.createElement(z,{credit:i,styleContext:t}))};var D={root:"MaterialNote-module_root__99HSA",dark:"MaterialNote-module_dark__etjym",note_credit:"MaterialNote-module_note_credit__J1skG",note_caption:"MaterialNote-module_note_caption__G2Ad0",center:"MaterialNote-module_center__mDLEO",default:"MaterialNote-module_default__ozgd7",card:"MaterialNote-module_card__EVuZe",slide:"MaterialNote-module_slide__mg8XV",game:"MaterialNote-module_game__c-r0n",gameSurvey:"MaterialNote-module_gameSurvey__azhu6"};const P=({block:{data:t},styleContext:o})=>{let l=[[D.root,!0]];return o&&(l=p(l,o,D)),e.createElement(e.Fragment,null,e.createElement("div",{"data-testid":"material-note",className:n(l)},t&&t.map((t=>e.createElement("p",{className:D[t.type],key:t.id,dangerouslySetInnerHTML:{__html:t.data}})))))};var Z={root:"Dropdown-module_root__Wv7S-",menu:"Dropdown-module_menu__11IQL",inactive:"Dropdown-module_inactive__E5CP6",isInAudioPanel:"Dropdown-module_isInAudioPanel__UniSV"},O={root:"Toolbar-module_root__RnmlI",list:"Toolbar-module_list__-IhdP",item:"Toolbar-module_item__CWmGM",isInTopbar:"Toolbar-module_isInTopbar__WEDi8",center:"Toolbar-module_center__pvdiJ",game:"Toolbar-module_game__etwIA",gameSurvey:"Toolbar-module_gameSurvey__v4D31",slide:"Toolbar-module_slide__PtB3l",card:"Toolbar-module_card__Lutyq",isDark:"Toolbar-module_isDark__MG6Ar",dark:"Toolbar-module_dark__a9sgz",podcast:"Toolbar-module_podcast__ahY4M"},W={root:"Meta-module_root__H-Q4d",rich:"Meta-module_rich__dCkJK",podcast:"Meta-module_podcast__MI8gD",episode:"Meta-module_episode__0n9CF",simple:"Meta-module_simple__tztcr",slide:"Meta-module_slide__3OyIN",card:"Meta-module_card__2vqfN",game:"Meta-module_game__HNcgr",isInMaterial:"Meta-module_isInMaterial__vKcTK",isInSearchItem:"Meta-module_isInSearchItem__ENqHo",isInMediaBlock:"Meta-module_isInMediaBlock__TENZG",center:"Meta-module_center__seHro",half:"Meta-module_half__aoa9h",podcastMaterial:"Meta-module_podcastMaterial__GTPyD",light:"Meta-module_light__oW3kc",overlay:"Meta-module_overlay__ZRKZy",dark:"Meta-module_dark__tLQNJ",isDark:"Meta-module_isDark__xSl1J",hasSource:"Meta-module_hasSource__OZJ0y",richRelated:"Meta-module_richRelated__fIo0x",isInBookRelated:"Meta-module_isInBookRelated__Ohidg",mobile:"Meta-module_mobile__PbG8N",desktop:"Meta-module_desktop__W5AB7"};const F=({hasSource:t,theme:o,children:l,onlyOn:a,styleContext:r})=>{let i=[[W.root,!0],[W[o],!!o&&!!W[o]],[W[a],!!a],[W.hasSource,t]];return r&&(i=p(i,r,W)),e.createElement("div",{"data-testid":"meta",className:n(i)},l)},G=({publishedAt:t,locale:a="ru",type:r})=>{let n;const i="ru"===a?"HH:mm, D MMMM YYYY":"MMMM D, YYYY, h:mm a",d=1e3*t;if(o.locale(a),o.extend(l),"fromNow"===r)n=o(d).fromNow();else if("format"===r)n=o(d).format("HH:mm");else{if("date"!==r)throw new Error("Unknown time type");n=o(d).format(i)}return e.createElement("time",{suppressHydrationWarning:!0,"data-testid":"timestamp",className:"Timestamp-module_root__jPJ6w"},n)},j=({className:t="",tagName:o="div",html:l})=>{const a=e.useRef(null),[r,n]=e.useState(!1);e.useEffect((()=>{n(!0)}),[]);const i=e.useCallback((e=>{if("SCRIPT"!==e.tagName||e.id&&0===e.id.indexOf("script-")){let t=0;const o=e.childNodes;for(;t<o.length;)i(o[t]),t+=1}else{const t=document.createElement("script");t.id=`script-${Math.random().toString(16).slice(2)}`,t.innerHTML=e.innerHTML;const o=e.attributes;for(let e=0;e<o.length;e+=1){const{name:l,value:a}=o[e];t.setAttribute(l,a)}e.parentElement.replaceChild(t,e)}}),[]),d=e.useCallback((()=>{Array.from(a.current.querySelectorAll("a")).forEach((e=>{e.setAttribute("target","_blank")}))}),[]);return e.useEffect((()=>{r&&l.indexOf("script")>-1&&a.current.firstElementChild&&(a.current.firstElementChild.innerHTML=l,i(a.current.firstElementChild),d())}),[r,a,l,i,d]),e.createElement("div",{ref:a},e.createElement(o,{className:t,dangerouslySetInnerHTML:{__html:l}}))};var q={root:"EmbedBlock-module_root__wNZlD",object:"EmbedBlock-module_object__DONQ0",objectWrap:"EmbedBlock-module_objectWrap__qpbni",gameEmbed:"EmbedBlock-module_gameEmbed__tO5Ha",proportional:"EmbedBlock-module_proportional__zDPfm",isDefaultVideo:"EmbedBlock-module_isDefaultVideo__UTW9Q",default:"EmbedBlock-module_default__np8MO",xs:"EmbedBlock-module_xs__PNHGz",full:"EmbedBlock-module_full__Gmz7o",super_full:"EmbedBlock-module_super_full__-h382",figure:"EmbedBlock-module_figure__fNZB-",dark:"EmbedBlock-module_dark__S2R9f",isInGroupedBlock:"EmbedBlock-module_isInGroupedBlock__Wjj7k",control:"EmbedBlock-module_control__9bJUa",raw_html:"EmbedBlock-module_raw_html__EfYVy",mobileFullwidth:"EmbedBlock-module_mobileFullwidth__1MDT5",isInCard:"EmbedBlock-module_isInCard__WnLHG",isInSlide:"EmbedBlock-module_isInSlide__BtdnY",cc:"EmbedBlock-module_cc__Gyw44",isInSensitiveBlock:"EmbedBlock-module_isInSensitiveBlock__nYajZ",isInAnswer:"EmbedBlock-module_isInAnswer__WuZ0H",picture:"EmbedBlock-module_picture__Weamy",wrapper:"EmbedBlock-module_wrapper__ynT7R",isProportional:"EmbedBlock-module_isProportional__x8-8g",mobile:"EmbedBlock-module_mobile__lEuww",desktop:"EmbedBlock-module_desktop__599S7"};const Q=({gif:t,mp4Url:o,style:l})=>{const[a,r]=e.useState(!1),n=e.useRef(null),i=()=>{n.current.play(),r(!1)},d=()=>{const e=n.current;e.setAttribute("poster",e.dataset.gif),r(!1)};return e.useEffect((()=>{const e=n.current,{width:t}=M();return t>=512?(e.setAttribute("autoplay",!0),e.play()):(r(!0),e.pause(),e.addEventListener("touchstart",i)),e.addEventListener("error",d),()=>{e.removeEventListener("touchstart",i),e.removeEventListener("error",d)}}),[]),e.createElement("div",{className:q.figure},e.createElement("div",{className:q.objectWrap,style:l,"data-frozen":a},e.createElement("video",{playsInline:!0,muted:!0,loop:!0,autoPlay:!0,preload:"metadata","data-gif":t,ref:n},e.createElement("source",{src:`https://meduza.io${o}`,type:"video/mp4"}))))},U=({block:t,block:{data:o,data:{html:l,display:a,only_on:r,provider:i,cc:d,optimized:c,small_url:s,large_url:m,gif_url:_,mp4_url:u,video_file_path:h,thumbnail_url:k}},styleContext:b,children:C,platform:g})=>{const[y,v]=e.useState(!1),E={},f=t.data.height&&t.data.width,L=["youtube","vimeo","onetv","coub","meduza","facebook_video"].indexOf(i)>-1||"dots_on_image"===t.type,w=t=>e.createElement(z,{credit:o.credit,caption:o.caption,styleContext:t||b});f&&(E.aspectRatio=`${t.data.width} / ${t.data.height}`);let x=[[q.root,!0],[q.cc,d],[q[a],!!a&&q[a]],[q[i],!!i&&!!q[i]],[q[r],!!r&&q[r]],[q.mobileFullwidth,L],[q.proportional,f]];if(b&&Array.isArray(b)){const e=b.filter((e=>e.startsWith("isIn")&&q[e])).reduce(((e,t)=>(e.push(t),e)),[]);x=p(x,e,q)}return e.createElement("figure",{className:n(x)},C&&e.createElement("div",{className:q.object},e.createElement("div",{className:n([[q.wrapper,!0],[q.isProportional,f]]),style:E},e.createElement("div",{className:q.objectWrap},C))),!C&&(a=>{switch(t.type){case"gif":return e.createElement(Q,{gif:_,mp4Url:u,style:a});case"image":return e.createElement("div",{className:q.figure},e.createElement(S,{source:!c&&[s,m],optimized:t.data.optimized,width:t.data.width,height:t.data.height,alt:t.data.caption,display:t.data.display,lazy:t.data.lazy,fullscreen:t.data.fullscreen,styleContext:b}));case"game_embed":return e.createElement("div",{className:q.gameEmbed},e.createElement("iframe",{src:t.data.game_src,id:t.data.game_id,title:"Game embed"}));case"dots_on_image":return e.createElement("div",{className:q.figure},e.createElement(T,{block:o}));default:return e.createElement("div",{className:q.object},"mirror"===g&&h?e.createElement("div",{className:n([[q.objectWrap,!0],[q.isDefaultVideo,!0]])},e.createElement("video",{src:h,poster:k,controls:!0,playsInline:!0,preload:"none"})):e.createElement("div",{className:n([[q.wrapper,!0],[q.isProportional,f]]),style:a},e.createElement(j,{className:q.objectWrap,html:l})))}})(E),"default"===d&&e.createElement("figcaption",null,w()),"button"===d&&e.createElement("button",{className:q.control,type:"button","aria-label":"Open",onClick:()=>{v(!y)}}),"button"===d&&y&&e.createElement(B,{onClose:()=>{v(!1)}},w("isInPopover")))},$=({block:t,block:{id:o},styleContext:l,lang:a="ru"})=>{const r=e.useRef(null);return e.useEffect((()=>{(()=>{const e=document.createElement("div"),o=document.createElement("div"),l=document.createElement("script"),n=document.createElement("style"),i=document.createRange();i.setStart(o,0),o.setAttribute("id","content"),l.textContent=`\n function getDocHeight() {\n var doc = document;\n var body = doc.body;\n var html = doc.documentElement;\n var height = Math.max( body.scrollHeight, body.offsetHeight,\n html.clientHeight, html.scrollHeight, html.offsetHeight );\n\n doc.body.style.margin="0";\n\n return document.getElementById('content') ? document.getElementById('content').offsetHeight : height;\n }\n\n function sendDocHeightMsg() {\n var height = getDocHeight();\n var message = JSON.stringify({\n action: {\n type: "UPDATE_HEIGHT",\n payload: {\n id: "${t.id}",\n height: height\n }\n }\n });\n parent.postMessage("mdzMaterialEmbedHeight=" + message, '*');\n }\n\n setInterval(sendDocHeightMsg, 300);\n `,n.type="text/css",n.innerHTML="embed_code"===t.type?".twitter-tweet { padding-top: 15px; margin: 0 !important; }":".twitter-tweet { margin: 0 !important; } .fb-post { display: block; } .instagram-media { min-width: 0 !important; }",o.appendChild(i.createContextualFragment(t.data.html)),e.appendChild(l),e.appendChild(o),o.appendChild(n);const d=r.current.querySelector("iframe").contentDocument;d.open(),d.close(),d.documentElement.setAttribute("lang",a),d.body.appendChild(e)})()}),[]),e.createElement(U,{block:t,styleContext:l},e.createElement("div",{ref:r,dangerouslySetInnerHTML:{__html:`<iframe id=${o} frameBorder="0" scrolling="no"></iframe>`}}))},J=({block:t,styleContext:o,lang:l,platform:a})=>t.data&&t.data.wrap_with_iframe?e.createElement($,{block:t,styleContext:o,lang:l}):e.createElement(U,{block:t,styleContext:o,platform:a});var Y={root:"QuoteBlock-module_root__4qa1J",center:"QuoteBlock-module_center__1f83y"};const X=({block:{data:t},styleContext:o})=>{let l=[[Y.root,!0]];return o&&(l=p(l,o,Y)),e.createElement("div",{"data-testid":"quote-block",className:n(l)},e.createElement("p",{dangerouslySetInnerHTML:{__html:t}}))};var K={root:"CardTitle-module_root__Pvx--",index:"CardTitle-module_index__Keled",title:"CardTitle-module_title__Lkflo",mobile:"CardTitle-module_mobile__6N3hB",desktop:"CardTitle-module_desktop__sBokS"};const ee=({block:{data:{only_on:t,index:o,text:l},id:a},styleContext:r})=>e.createElement("div",{"data-testid":"card-title",id:a,className:n([[K.root,!0],[K[t],!!t],[K[r],!!r&&!!K[r]]])},e.createElement("div",{className:K.index},o),e.createElement("h3",{className:K.title},l));var te={root:"ChapterBlock-module_root__iw7d2",subtitle:"ChapterBlock-module_subtitle__IpWgz",mobile:"ChapterBlock-module_mobile__V1Eye",desktop:"ChapterBlock-module_desktop__9xWf4"};const oe=({block:{data:t,only_on:o},styleContext:l,id:a})=>e.createElement("div",{"data-testid":"chapter-block",id:a,className:n([[te.root,!0],[te[o],!!o]])},e.createElement("div",{className:n([[te.subtitle,!0],[te[l],!!l&&!!te[l]]]),dangerouslySetInnerHTML:{__html:t}})),le=(e,t)=>`linear-gradient(-180deg, ${{mediaBlockBottom:[[0,7],[.08,12],[.16,17],[.22,21],[.32,26],[.42,32],[.52,38],[.62,47],[.72,57],[.82,65],[1,82]],mediaBlockTop:[[.5,0],[0,97]]}[t].map((t=>`rgba(${e}, ${t[0]}) ${t[1]}%`))})`;var ae={root:"SimpleTitle-module_root__YOzNn",mobile:"SimpleTitle-module_mobile__1QiJd",desktop:"SimpleTitle-module_desktop__ZF5Af"};const re=({block:{data:{first:t},only_on:o},styleContext:l})=>{let a=[[ae.root,!0],[ae[o],!0]];return l&&(a=p(a,l,ae)),e.createElement("h1",{"data-testid":"simple-title",className:n(a)},t)};var ne={root:"RichTitle-module_root__U5XQu",slide:"RichTitle-module_slide__eU9Ob",game:"RichTitle-module_game__S1csb",podcastMaterial:"RichTitle-module_podcastMaterial__AulVF",half:"RichTitle-module_half__yBMby",featured:"RichTitle-module_featured__ULNQn",isInFeaturedBlock:"RichTitle-module_isInFeaturedBlock__3vYu9",isInMediaBlock:"RichTitle-module_isInMediaBlock__2h6rl",richRelated:"RichTitle-module_richRelated__cvt3o",isInBookRelated:"RichTitle-module_isInBookRelated__LcCPV",isInDynamicBlock:"RichTitle-module_isInDynamicBlock__J-gM6",isInPodcastPlayer:"RichTitle-module_isInPodcastPlayer__kvEPH",large:"RichTitle-module_large__n2URP",medium:"RichTitle-module_medium__KkBLJ",mobile:"RichTitle-module_mobile__W5L9E",desktop:"RichTitle-module_desktop__k0PkC"};const ie=({block:{only_on:t,data:{featured:o,first:l,second:a,as:r="h1"}},styleContext:i,size:d="default"})=>{let c=[[ne.root,!0],[ne[t],!0],[ne.featured,!!o],[ne[d],!!d]];return i&&(c=p(c,i,ne)),e.createElement(r,{"data-testid":"rich-title",className:n(c)},l,a&&e.createElement("span",null," ",a))};var de={p:"SimpleBlock-module_p__7aRnT",h2:"SimpleBlock-module_h2__aWlMn",h3:"SimpleBlock-module_h3__uPh0-",h4:"SimpleBlock-module_h4__MxGXA",lead:"SimpleBlock-module_lead__NzEPT",lead_hr:"SimpleBlock-module_lead_hr__XN0rm",context_p:"SimpleBlock-module_context_p__Mdu1R",blockquote:"SimpleBlock-module_blockquote__nX-Ab",game:"SimpleBlock-module_game__uVeJJ",slide:"SimpleBlock-module_slide__MaaUF",dark:"SimpleBlock-module_dark__qtLhq",divider:"SimpleBlock-module_divider__-VXBu",isInIntro:"SimpleBlock-module_isInIntro__UOePf",center:"SimpleBlock-module_center__D1CsV",isInImportantLead:"SimpleBlock-module_isInImportantLead__qzKDo",podcastMaterial:"SimpleBlock-module_podcastMaterial__XEMjh",isInAnswer:"SimpleBlock-module_isInAnswer__Asx7d",mobile:"SimpleBlock-module_mobile__EVGYJ",desktop:"SimpleBlock-module_desktop__6ZH5e",isDark:"SimpleBlock-module_isDark__ehYKr"};const ce=({block:{data:t,type:o,only_on:l},styleContext:a,id:r=null})=>{let i,d=[[de[o],!!o&&!!de[o]],[de[l],!0]];switch(a&&(d=p(d,a,de)),o){case"context_p":case"lead":case"note_caption":case"note_credit":i="p";break;case"divider":return e.createElement("hr",{className:n(d)});case"lead_hr":i="div";break;default:i=o}return e.createElement(i,{className:n(d),dangerouslySetInnerHTML:{__html:t},id:r})};var se={root:"ListBlock-module_root__dqomP",ol:"ListBlock-module_ol__1l6nP",ul:"ListBlock-module_ul__bgHlv",center:"ListBlock-module_center__bEBN-",isInImportantLead:"ListBlock-module_isInImportantLead__ewcD1",dark:"ListBlock-module_dark__NzpYz",mobile:"ListBlock-module_mobile__qEBsn",desktop:"ListBlock-module_desktop__HN0IU"};const me=({block:{type:t,data:o,only_on:l},styleContext:a})=>{const r=t;let i=[[se.root,!0],[se[l],!0],[se[t],!!t&&!!se[t]]];return a&&(i=p(i,a,se)),e.createElement(r,{className:n(i),"data-testid":"list-block"},o.map(((t,o)=>e.createElement("li",{key:o,dangerouslySetInnerHTML:{__html:t}}))))};var _e={root:"RelatedBlock-module_root__cr1c-",header:"RelatedBlock-module_header__bfUJD",items:"RelatedBlock-module_items__rzzam",rich:"RelatedBlock-module_rich__1cWdn",first:"RelatedBlock-module_first__ZkcP5",simple:"RelatedBlock-module_simple__m22bj",center:"RelatedBlock-module_center__WVpIJ",isInSlideMaterial:"RelatedBlock-module_isInSlideMaterial__VumDw",mobile:"RelatedBlock-module_mobile__AScBA",desktop:"RelatedBlock-module_desktop__uMXUY"};const ue=(e,t)=>{e.button<=1&&b("related",t,"click")},pe=({block:{data:{title:t,related:o},only_on:l},styleContext:r})=>{let i=[[_e.root,!0],[_e[l],!0]];return r&&(i=p(i,r,_e)),e.createElement("div",{"data-testid":"related-block",className:n(i)},e.createElement("h3",{className:_e.header},t),e.createElement("ul",{className:_e.items},o.map(((t,o)=>{const l=t.full_url||`/${t.url}`;return e.createElement("li",{key:t.id||o,className:_e[t.layout]},e.createElement(a.Link,{to:l,onClick:e=>ue(e,l),onAuxClick:e=>ue(e,l)},e.createElement("span",{className:_e.first},t.title),t.second_title&&" ",t.second_title&&e.createElement("span",null,t.second_title)))}))))};var he={root:"SourceBlock-module_root__9dnI4",text:"SourceBlock-module_text__M5-uy",origin:"SourceBlock-module_origin__fyvxH",center:"SourceBlock-module_center__UOMwy",mobile:"SourceBlock-module_mobile__QVEyg",desktop:"SourceBlock-module_desktop__xdXWm",isDark:"SourceBlock-module_isDark__etwk1"};const ke=({block:{only_on:t,data:{quote:o,origin:l,url:a}},styleContext:r})=>{let i=[[he.root,!0],[he[t],!0]];return r&&(i=p(i,r,he)),e.createElement("blockquote",{"data-testid":"source-block",cite:a,className:n(i)},e.createElement("a",{className:he.text,href:a,target:"_blank",rel:"noopener noreferrer"},o.map(((t,o)=>e.createElement("p",{key:o,dangerouslySetInnerHTML:{__html:t.data}}))),e.createElement("footer",null,e.createElement("cite",{className:he.origin},l))))};var be={root:"SensitiveBlock-module_root__1Nl9-",container:"SensitiveBlock-module_container__GE2tW",overlay:"SensitiveBlock-module_overlay__tEsK8",content:"SensitiveBlock-module_content__RYbdd",button:"SensitiveBlock-module_button__LGEEM",default:"SensitiveBlock-module_default__pkWhC",full:"SensitiveBlock-module_full__hlH41",media:"SensitiveBlock-module_media__nuL1S",super_full:"SensitiveBlock-module_super_full__C7UyP",visible:"SensitiveBlock-module_visible__bXhYO",isInCard:"SensitiveBlock-module_isInCard__uANYL",isInSlide:"SensitiveBlock-module_isInSlide__ZAVUU"};const Ce=({block:t,block:{cc:o,caption:l,credit:a,blurred_image:r},block:{item:{data:{display:i}}},styleContext:d})=>{const[s,m]=e.useState(!1);let _=[[be.root,!0],[be.visible,s],[be[i],i&&be[i]]],u=["isInSensitiveBlock"];return d&&(_=p(_,d,be),u=[...d,"isInSensitiveBlock"]),e.createElement("div",{"data-testid":"sensitive-block",className:n(_)},e.createElement("div",{className:be.container},e.createElement("div",{className:be.overlay,style:{backgroundImage:`url(${r})`}},e.createElement("div",{className:be.content},e.createElement("p",{dangerouslySetInnerHTML:{__html:t.title}}),e.createElement("div",{className:be.button},e.createElement(c,{onClick:()=>{m(!0)},theme:"light"},t.button.text)))),e.createElement("div",{className:be.media},e.createElement(J,{block:t.item,styleContext:u}))),o&&e.createElement("figcaption",{className:be.figcaption},e.createElement(z,{credit:a,caption:l,styleContext:d})))};var ge={root:"GroupedBlock-module_root__MQQin",hasFigcaption:"GroupedBlock-module_hasFigcaption__Y05ed",item:"GroupedBlock-module_item__-InqF",items:"GroupedBlock-module_items__8X4js",figcaption:"GroupedBlock-module_figcaption__OE5-u",default:"GroupedBlock-module_default__Tha8f",full:"GroupedBlock-module_full__SNwyE",super_full:"GroupedBlock-module_super_full__HTA9D",mobile:"GroupedBlock-module_mobile__xqMw5",desktop:"GroupedBlock-module_desktop__Oobdp"};const ye=({block:t,block:{only_on:o},styleContext:l})=>{const a=Math.min(...t.data.map((e=>e.data&&e.data.height||e.item&&e.item.data.height))),r=t.data.map((e=>(e.data&&e.data.width||e.item&&e.item.data.width)/((e.data&&e.data.height||e.item&&e.item.data.height)/a))),i=r.reduce(((e,t)=>e+t));let d=[[ge.root,!0],[ge[o],!0],[ge.hasFigcaption,"default"===t.cc],[ge[t.display],!!t.display&&ge[t.display]]];return l&&(d=p(d,l,ge)),e.createElement("div",{"data-testid":"grouped-block",className:n(d)},e.createElement("div",{className:ge.items},t.data.map(((t,o)=>e.createElement("div",{className:ge.item,key:t.id,style:{width:r[o]/i*100+"%"}},e.createElement("sensitive"===t.type?Ce:J,{block:t,styleContext:["isInGroupedBlock"]}))))),t.cc&&e.createElement("figcaption",{className:ge.figcaption},e.createElement(z,{credit:t.credit,caption:t.caption,styleContext:l})))};var ve={root:"MetaItem-module_root__sRbrZ",hasBullets:"MetaItem-module_hasBullets__b1eW9",hasSource:"MetaItem-module_hasSource__35olm",datetime:"MetaItem-module_datetime__--O8c",tag:"MetaItem-module_tag__3HzOp"};const Ee=({hasSource:t,type:o,children:l,bullets:a,variant:r})=>e.createElement("div",{"data-testid":"meta-item",className:n([[ve.root,!0],[ve[o],!!o&&!!ve[o]],[ve.hasSource,!!t],[ve.hasBullets,!!a],[ve[r],!!r&&!!ve[r]]])},l);var fe={root:"MetaItemLive-module_root__XfQiW",gold:"MetaItemLive-module_gold__f1UOy",icon:"MetaItemLive-module_icon__JIMLl",pulse:"MetaItemLive-module_pulse__zzrle",text:"MetaItemLive-module_text__wgLcT"};const Le=({theme:t="gold",children:o})=>e.createElement("div",{"data-testid":"meta-item-live","data-meta":"live",className:n([[fe.root,!0],[fe[t],!!t&&fe[t]]])},e.createElement("div",{className:fe.icon}),o&&e.createElement("span",{className:fe.text},o)),we=({type:t,lang:o="ru",items:l,children:a})=>{const r={ru:{card:{one:"карточка",two:"карточки",five:"карточек"},podcast:{one:"эпизод",two:"эпизода",five:"эпизодов"}},en:{card:{one:"card",two:"cards",five:"cards"},podcast:{one:"episode",two:"episodes",five:"episodes"}}},n=`${l} ${((e,t,o,l)=>{let a=Math.abs(e);return a%=100,a>=5&&a<=20?l:(a%=10,1===a?t:a>=2&&a<=4?o:l)})(l,r[o][t].one,r[o][t].two,r[o][t].five)}`;return e.createElement("div",{"data-testid":"document-items-count",className:"DocumentItemsCount-module_root__u4M3y"},a,e.createElement("span",{className:"DocumentItemsCount-module_items__OE-hf"},n))},Se=({lang:t,block:o,block:{data:{components:l,theme:a}},styleContext:r})=>{const n=r&&-1!==r.indexOf("dark")?"light":"unset",i=r&&-1!==r.indexOf("podcast");let d=[];r&&Array.isArray(r)&&(d=r.filter((e=>"dark"!==e)));const c=!!l.find((e=>"source_name"===e.type));return e.createElement(F,{styleContext:d,theme:a||n,onlyOn:o.only_on,hasSource:c},l.map((o=>{switch(o.type){case"source_name":return e.createElement(Ee,{hasSource:c,bullets:!0,key:o.id},e.createElement(e.Fragment,null,"ru"===t?"Источник: ":"Source: ",o.url&&e.createElement("a",{href:o.url,rel:"noopener noreferrer",target:"_blank"},o.text),!o.url&&o.text));case"duration":case"string":return e.createElement(Ee,{hasSource:c,bullets:!0,key:o.id},o.text);case"datetime":{const l=o.format&&f(o.format)||"date";return e.createElement(Ee,{hasSource:c,bullets:!0,key:o.id,type:"datetime"},e.createElement(G,{publishedAt:o.datetime,type:l||"date",locale:t}))}case"items_count":return e.createElement(Ee,{hasSource:c,bullets:!0,key:o.id},e.createElement(we,{items:o.count,type:i?"podcast":"card",lang:t}));case"broadcast_active":return e.createElement(Ee,{hasSource:c,bullets:!0,key:o.id},e.createElement(Le,null,"Прямой эфир"));case"broadcast":return e.createElement(Ee,{hasSource:c,bullets:!0,key:o.id},o.with_icon&&e.createElement(Le,null),o.label);default:return null}})))};var Be={root:"DonatesTeaser-module_root__XQCVy",main:"DonatesTeaser-module_main__eN9kd",title:"DonatesTeaser-module_title__9umo1",text:"DonatesTeaser-module_text__s6tyf",cta:"DonatesTeaser-module_cta__-50aB",center:"DonatesTeaser-module_center__gxLvW",isInCard:"DonatesTeaser-module_isInCard__vaUhd",isInSlide:"DonatesTeaser-module_isInSlide__Dh4NH",ru:"DonatesTeaser-module_ru__y-PlJ",en:"DonatesTeaser-module_en__0Iisr"};const xe=({styleContext:t,lang:o="ru"})=>{let l=[[Be.root,!0],[Be[o],Be[o]]];t&&(l=p(l,t,Be));const a={ru:{title:"«Медуза». Работаем 24/7. И только в интересах читателей",subtitle:"Нам срочно нужна ваша поддержка",button:"Хочу помочь",href:"https://support.meduza.io/"},en:{title:"Meduza, working 24/7, always for our readers",subtitle:"We need your help like never before",button:"Okay!",href:"https://support.meduza.io/en"}};return e.createElement("div",{"data-testid":"donates-teaser",className:n(l)},e.createElement("div",{className:Be.main},e.createElement("h3",{className:Be.title},e.createElement("span",{dangerouslySetInnerHTML:{__html:a[o].title}})," ",e.createElement("span",{className:Be.text,dangerouslySetInnerHTML:{__html:a[o].subtitle}}))),e.createElement("div",{className:Be.cta},e.createElement("a",{href:a[o].href,target:"_blank",rel:"noreferrer"},e.createElement("span",null,a[o].button))))};var Me={root:"AnnouncementInText-module_root__C4-Oo",body:"AnnouncementInText-module_body__lZy-L",title:"AnnouncementInText-module_title__cb6i1",footer:"AnnouncementInText-module_footer__jRk9p",button:"AnnouncementInText-module_button__JuT-E",link:"AnnouncementInText-module_link__C0YxL",center:"AnnouncementInText-module_center__1DJjd",isInCard:"AnnouncementInText-module_isInCard__jIqpa",isInSlide:"AnnouncementInText-module_isInSlide__BWO-A",ru:"AnnouncementInText-module_ru__QHQad",en:"AnnouncementInText-module_en__r0PvM"};const Ie=({styleContext:t,lang:o="ru"})=>{let l=[[Me.root,!0],[Me[o],Me[o]]];t&&(l=p(l,t,Me));const a={ru:{title:"«Медуза» заблокирована в России. Мы были к этому готовы — и продолжаем работать. Несмотря ни на что",text:"<p>Нам нужна ваша помощь как никогда. Прямо сейчас. Дальше всем нам будет еще труднее. Мы независимое издание и работаем только в интересах читателей.</p>",button:"Хочу помочь",href:"https://mdza.io/yiNxPZ7Bs-k"},en:{title:"Meduza has been blocked in Russia. We were ready for this and our work continues, no matter what, but we need your support like never before. ",text:"<p>We need it now. Tomorrow could be too late. We are an independent publication, and we work only in the interests of our readers. Many of our readers in Russia can no longer contribute, so we turn to you, our audience around the world.</p>",button:"I want to help",href:"https://support.meduza.io/en"}}[o];return e.createElement("div",{"data-testid":"announcement-in-text",className:n(l)},e.createElement("div",{className:Me.body},e.createElement("h3",{className:Me.title,dangerouslySetInnerHTML:{__html:a.title}}),e.createElement("div",{dangerouslySetInnerHTML:{__html:a.text}})),e.createElement("div",{className:Me.footer},e.createElement("a",{className:Me.link,href:a.href,target:"_blank",rel:"noreferrer"},e.createElement("span",null,a.button)),e.createElement("span",{className:Me.button},e.createElement("span",null,a.button))))};var Te={root:"VersesBlock-module_root__CrgSZ",ol:"VersesBlock-module_ol__ToXjg",ul:"VersesBlock-module_ul__wfaQD",center:"VersesBlock-module_center__E1IS-",isInImportantLead:"VersesBlock-module_isInImportantLead__pdugk",dark:"VersesBlock-module_dark__FwaPS",mobile:"VersesBlock-module_mobile__EcHvz",desktop:"VersesBlock-module_desktop__quKfJ"};const Ne=({block:{type:t,data:o,only_on:l},styleContext:a})=>{let r=[[Te.root,!0],[Te[l],!0],[Te[t],!!t&&!!Te[t]]];return a&&(r=p(r,a,Te)),e.createElement("ul",{className:n(r),"data-testid":"verses-block"},o.map(((t,o)=>e.createElement("li",{key:o,dangerouslySetInnerHTML:{__html:t}}))))},Re=({block:t,styleContext:o,lang:l,platform:a})=>{switch(t.type){case"tag":return e.createElement(R,{size:"large",onlyOn:t.only_on,theme:t.data.theme,styleContext:o},t.data.text);case"simple_title":return e.createElement(re,{block:t,styleContext:o});case"rich_title":return e.createElement(ie,{block:t,styleContext:o});case"meta":return e.createElement(Se,{block:t,lang:t.data.lang,styleContext:o});case"blockquote":case"p":case"context_p":case"divider":case"lead":case"lead_hr":return e.createElement(ce,{block:t,styleContext:o});case"h1":case"h2":case"h3":case"h4":return e.createElement(ce,{block:t,styleContext:o,id:t.id});case"quote":return e.createElement(X,{block:t,styleContext:o});case"ol":case"ul":return e.createElement(me,{block:t,styleContext:o});case"verses":return e.createElement(Ne,{block:t,styleContext:o});case"chapter-subtitle":return e.createElement(oe,{block:t,styleContext:o,id:t.id});case"card_title":return e.createElement(ee,{block:t,styleContext:o});case"related":return e.createElement(pe,{block:t,styleContext:o});case"source":return e.createElement(ke,{block:t,styleContext:o});case"table":return e.createElement(V,{block:t,styleContext:o});case"sensitive":return e.createElement(Ce,{block:t,styleContext:o});case"embed":case"embed_code":case"game_embed":case"image":case"dots_on_image":case"gif":return e.createElement(J,{block:t,styleContext:o,lang:l,platform:a});case"grouped":return e.createElement(ye,{block:t,styleContext:o});case"donation":return e.createElement(xe,{styleContext:o,lang:l});case"material_note":return e.createElement(P,{block:t,styleContext:o});case"announcement_in_text":return e.createElement(Ie,{styleContext:o,lang:l});default:return null}};var He={root:"Cover-module_root__3pscq",body:"Cover-module_body__eJpUI",image:"Cover-module_image__frrrH",rich:"Cover-module_rich__YcxWa",dark:"Cover-module_dark__cRucL",light:"Cover-module_light__la-sk",isOnImage:"Cover-module_isOnImage__J296p",control:"Cover-module_control__WP0G3",isInDynamicBlock:"Cover-module_isInDynamicBlock__qO-yt",mobile:"Cover-module_mobile__aotep",desktop:"Cover-module_desktop__dfbC-"};const ze=({block:{only_on:t,data:{blocks:o,cover:{credit:l,caption:a,urls:r,mobile_ratio:i,gradients:d,cc:c}}},styleContext:s,titleStyle:m})=>{const[_,u]=e.useState(!1),h={},k=!!m,b=Array.isArray(s)?s:[s].filter(Boolean),C=k?[...b,"overlay"]:s;let g=[[He.root,!0],[He[t],!!t&&!!He[t]],[He.isOnImage,k]];return s&&(g=p(g,s,He)),d&&!k&&(g=p(g,["0,0,0"===d.text_rgb?"dark":"light"],He),h.backgroundImage=le(d.bg_rgb,"mediaBlockBottom")),e.createElement("div",{"data-testid":"cover",className:n(g),style:m},e.createElement("div",{className:He.image},e.createElement(S,{optimized:r,ratio:i,display:"narrow"})),e.createElement("div",{className:He.body,style:h},o.map((t=>e.createElement(Re,{key:t.id,block:t,styleContext:C})))),"button"===c&&e.createElement("button",{className:He.control,type:"button","aria-label":"Open",onClick:()=>{u(!_)}}),"button"===c&&_&&e.createElement(B,{onClose:()=>{u(!1)}},e.createElement(z,{credit:l,caption:a,styleContext:"isInPopover"})))};var Ae={root:"HalfBlock-module_root__EXQbz",main:"HalfBlock-module_main__eIcRo",body:"HalfBlock-module_body__HPhGj",footer:"HalfBlock-module_footer__TFfCQ",image:"HalfBlock-module_image__XWLbK",mobile:"HalfBlock-module_mobile__uGGpm",desktop:"HalfBlock-module_desktop__p-hAq"};const Ve=({block:{only_on:t,data:o,data:{cover:{optimized:l,ratio:a,credit:r,caption:i}}},styleContext:d})=>{let c=[[Ae.root,!0],[Ae[t],!0]];return d&&(c=p(c,d,Ae)),e.createElement("div",{"data-testid":"half-block",className:n(c)},e.createElement("div",{className:Ae.main},e.createElement("div",{className:Ae.image},e.createElement(S,{optimized:l,ratio:a,display:"super_full"})),e.createElement("div",{className:Ae.body},o.blocks.map((t=>e.createElement(Re,{key:t.id,block:t,styleContext:["rich"]}))))),e.createElement("div",{className:Ae.footer},e.createElement(z,{credit:r,caption:i,styleContext:d})))};var De={root:"ImportantLead-module_root__-rnt6",slide:"ImportantLead-module_slide__zcovu",mobile:"ImportantLead-module_mobile__msInp",desktop:"ImportantLead-module_desktop__ELC2-"};const Pe=({block:{only_on:t,data:o},styleContext:l})=>{let a=[[De.root,!0],[De[t],!!t]];return l&&(a=p(a,l,De)),e.createElement("div",{"data-testid":"important-lead",className:n(a)},o.map((t=>e.createElement(Re,{key:t.id,block:t,styleContext:"isInImportantLead"}))))};var Ze={root:"Spoiler-module_root__fAbb9",header:"Spoiler-module_header__iEKsQ",body:"Spoiler-module_body__jjqIn",spoiled:"Spoiler-module_spoiled__ENI93",footer:"Spoiler-module_footer__g21Zn",spoilerSticky:"Spoiler-module_spoilerSticky__YTiyF",spoilerStickyBg:"Spoiler-module_spoilerStickyBg__tmDnG",center:"Spoiler-module_center__0XCWo",full:"Spoiler-module_full__FtKDT",default:"Spoiler-module_default__wvlKw",mobile:"Spoiler-module_mobile__PWCMW",desktop:"Spoiler-module_desktop__qTakd"};const Oe=({block:{display:t,button:o,only_on:l,btn_title:a,title:r,blocks:i},styleContext:d})=>{const[s,m]=e.useState(!1),u=e.useRef(null);let h=[[Ze.root,!0],[Ze[l],!!l],[Ze[t],!!t&&Ze[t]],[[Ze.spoiled],!!s]];const k=["center"];d&&(k.concat(d),h=p(h,d,Ze));const C=o?o.collapse:"Свернуть",g=o?o.expand:a;return e.createElement("div",{ref:u,className:n(h),"data-testid":"spoiler"},e.createElement("div",{className:Ze.header},r&&e.createElement("h3",null,r)),e.createElement("div",{className:Ze.body},i.map((t=>e.createElement(Re,{key:t.id,block:t,styleContext:k})))),e.createElement("div",{className:Ze.footer},e.createElement(c,{size:"default",theme:"gray",onClick:()=>(m(!s),void(s?(b("","closeSpoiler","click"),u.current.getBoundingClientRect().top<0&&u.current.scrollIntoView({behavior:"smooth"})):b("","openSpoiler","click"))),styleContext:"isInSpoiler"},s?C:g,e.createElement(_,{icon:"arrow"}))))};var We={root:"RelatedRichBlock-module_root__-SEe7",isInCard:"RelatedRichBlock-module_isInCard__F3ip3",content:"RelatedRichBlock-module_content__iyMrN",cover:"RelatedRichBlock-module_cover__3gnIx",body:"RelatedRichBlock-module_body__XhS0U",isCard:"RelatedRichBlock-module_isCard__wkMw-",tag:"RelatedRichBlock-module_tag__c18sv",center:"RelatedRichBlock-module_center__KANd-",mobile:"RelatedRichBlock-module_mobile__N-G4U",desktop:"RelatedRichBlock-module_desktop__EaPOr"};const Fe=({block:{only_on:t,data:{url:o,blocks:l,cover:{urls:r,gradients:i,tag:d,layout:c,ratio:s}}},styleContext:m})=>{const _=`is${u=c,u[0].toUpperCase()+u.slice(1)}`;var u;let h=[[We.root,!0],[We[_],!!c&&!!We[_]],[We.hasGradient,!!i],[We[t],!!t&&!!We[t]]],k=["isInMediaBlock","richRelated"];m&&(h=p(h,m,We),k=[...m,"isInMediaBlock","richRelated"]);const C=e=>{e.button<=1&&b("related",`/${o}`,"click")};return e.createElement(a.Link,{"data-testid":"related-rich-block",className:n(h),to:`/${o}`,onClick:C,onAuxClick:C},e.createElement("div",{className:We.tag},e.createElement(R,{size:"small",theme:"inherit",styleContext:"richRelated"},d)),e.createElement("div",{className:We.content},e.createElement("div",{className:We.cover},e.createElement(S,{optimized:r,ratio:s,display:"narrow"})),e.createElement("div",{className:We.body},l.map((t=>e.createElement(Re,{key:t.id,block:t,styleContext:k}))))))};var Ge={root:"ShopRelatedBlock-module_root__eTGjC",wrapper:"ShopRelatedBlock-module_wrapper__v6yE3",overlay:"ShopRelatedBlock-module_overlay__oR67Y",overlayHeader:"ShopRelatedBlock-module_overlayHeader__YMcNw",body:"ShopRelatedBlock-module_body__W4pBN",hasGradient:"ShopRelatedBlock-module_hasGradient__50JTl",picture:"ShopRelatedBlock-module_picture__zjFL4",tag:"ShopRelatedBlock-module_tag__ixkda",center:"ShopRelatedBlock-module_center__IpBP4",title:"ShopRelatedBlock-module_title__COl93",price:"ShopRelatedBlock-module_price__5Qitu",dark:"ShopRelatedBlock-module_dark__d0QiW",light:"ShopRelatedBlock-module_light__lUDWA",mobile:"ShopRelatedBlock-module_mobile__I6Hih",desktop:"ShopRelatedBlock-module_desktop__ywKrb"};const je=({block:{only_on:o,data:{url:l,cover:{urls:a,gradients:r,tag:i,layout:d,ratio:c,first_title:s,second_title:m}}},styleContext:_})=>{const u={},h={},[k,C]=t.useInView({threshold:0,triggerOnce:!0});e.useEffect((()=>{C&&("mobile"===o&&window.innerWidth<=511||"desktop"===o&&window.innerWidth>=512||!o)&&b("productRelated",l,"view")}),[C]);let g=[[Ge.root,!0],[Ge.hasGradient,!!r],[Ge[o],!!o&&!!Ge[o]]];return _&&(g=p(g,_,Ge)),r&&(h.backgroundImage=le(r.bg_rgb,"mediaBlockTop"),g=p(g,["0,0,0"===r.text_rgb?"dark":"light"],Ge),"desktop"===o&&(u.backgroundImage=le(r.bg_rgb,"mediaBlockBottom"))),e.createElement("a",{"data-testid":"related-rich-block",className:n(g),href:l,target:"_blank",onClick:()=>{b("productRelated",l,"click")},ref:k},"rich"===d&&e.createElement(e.Fragment,null,e.createElement("div",{className:Ge.overlay,style:u}),e.createElement("div",{className:Ge.overlayHeader,style:h})),e.createElement("div",{className:Ge.tag},e.createElement(R,{size:"small",theme:"inherit",styleContext:"richRelated"},i)),e.createElement("div",{className:Ge.cover},e.createElement("div",{className:Ge.picture},e.createElement(S,{optimized:a,ratio:c,display:"narrow"}))),e.createElement("div",{className:Ge.body},e.createElement("h2",{className:Ge.title},s,e.createElement("span",{className:Ge.price},m))))};var qe={root:"RelatedBook-module_root__QsOmA",container:"RelatedBook-module_container__vdDiZ",imageWrap:"RelatedBook-module_imageWrap__WmwnE",image:"RelatedBook-module_image__U1e5t",picture:"RelatedBook-module_picture__NXg-K",tag:"RelatedBook-module_tag__mSbbz",contentWrap:"RelatedBook-module_contentWrap__HIGRi",content:"RelatedBook-module_content__23Pfr",title:"RelatedBook-module_title__VRbr-",footer:"RelatedBook-module_footer__Z05t-",center:"RelatedBook-module_center__Fa6cj",isLight:"RelatedBook-module_isLight__W-0TO",isDark:"RelatedBook-module_isDark__0mrtK",mobile:"RelatedBook-module_mobile__7rm-n",desktop:"RelatedBook-module_desktop__OZ9Jx"};const Qe=({block:t,styleContext:o})=>{const l="0,0,0"===t.data.theme.text_color?"isDark":"isLight",r=t.only_on||t.data.onlyOn;let i=[[qe.root,!0],[qe[l],l],[qe[r],!!r&&!!qe[r]]];o&&(i=p(i,o,qe));const d={"--bgColor":`rgb(${t.data.theme.background_color||"0, 0, 0"})`},c=e=>{e.button<=1&&b("related",`/${t.data.url}`,"click")};return e.createElement(a.Link,{to:`/${t.data.url}`,onClick:c,onAuxClick:c,className:n(i),style:d},e.createElement("div",{className:qe.container},e.createElement("div",{className:qe.imageWrap},e.createElement("div",{className:qe.image},e.createElement("picture",{className:qe.picture},e.createElement(S,{optimized:t.data.cover.urls,ratio:0,display:"narrow",styleContext:["isStatic"],lazy:!0})))),e.createElement("div",{className:qe.contentWrap},e.createElement("div",{className:qe.content},t.data.blocks.map((t=>e.createElement(Re,{key:t.id,block:t,styleContext:["isInMediaBlock","isInBookRelated","isCustom"]})))))))};var Ue={root:"ListViewSwitcher-module_root__pBsR5",input:"ListViewSwitcher-module_input__vtDVD",knob:"ListViewSwitcher-module_knob__g-OZ2",sm:"ListViewSwitcher-module_sm__y1teD",md:"ListViewSwitcher-module_md__0M8KR",grid:"ListViewSwitcher-module_grid__qBmnM",list:"ListViewSwitcher-module_list__NORMp"},$e={root:"ToolbarButton-module_root__upsEH",isDark:"ToolbarButton-module_isDark__gWpv-",dark:"ToolbarButton-module_dark__5XOEp",icon:"ToolbarButton-module_icon__Ldcgq",text:"ToolbarButton-module_text__4R2a0",isActive:"ToolbarButton-module_isActive__N4kkV"},Je={root:"Tooltip-module_root__xK21R",isCenterBottom:"Tooltip-module_isCenterBottom__-qv7D",isLeftBottom:"Tooltip-module_isLeftBottom__0-f5z",isCenterTop:"Tooltip-module_isCenterTop__xQ3Ql",isLeftTop:"Tooltip-module_isLeftTop__yjKrV",body:"Tooltip-module_body__5qgzu",footer:"Tooltip-module_footer__swU9S"};const Ye=e=>e.charAt(0).toUpperCase()+e.slice(1);exports.AnnouncementInText=Ie,exports.Button=c,exports.ButtonLoader=i,exports.CardTitle=ee,exports.ChapterBlock=oe,exports.Cover=ze,exports.DocumentItemsCount=we,exports.DonatesTeaser=xe,exports.DotsOnImage=T,exports.Dropdown=({children:t,active:o,styleContext:l})=>{let a=[[Z.root,!0],[Z.inactive,!o&&"isPodcastSeason"===l&&!!Z.inactive]];return l&&(a=p(a,l,Z)),e.createElement("div",{"data-testid":"dropdown",className:n(a)},t)},exports.EmbedBlockContainer=J,exports.Footnote=x,exports.GroupedBlock=ye,exports.HalfBlock=Ve,exports.Image=S,exports.ImportantLead=Pe,exports.Lazy=g,exports.ListBlock=me,exports.ListViewSwitcher=({enabled:t,onChange:o,size:l="md"})=>e.createElement("label",{"data-testid":"listViewSwitcher",className:n([[Ue.root,!0],[Ue[l],!0]])},e.createElement("input",{className:Ue.input,type:"checkbox",checked:t,onChange:o}),e.createElement("span",{className:Ue.knob}),e.createElement("span",{className:Ue.grid}),e.createElement("span",{className:Ue.list})),exports.MaterialNote=P,exports.MaterialTitle=({children:t})=>e.createElement("h1",{className:"MaterialTitle-module_root__VSphO","data-testid":"material-title"},t),exports.MediaCaption=z,exports.Menu=({children:t})=>e.createElement("div",{"data-testid":"dropdown",className:Z.menu},t),exports.Meta=F,exports.MetaItem=Ee,exports.MetaItemLive=Le,exports.Popover=B,exports.Primary=({children:t})=>e.createElement("span",{className:"MaterialTitle-module_primary__XGnpb"},t),exports.QuoteBlock=X,exports.RawHtmlBlock=({block:t,styleContext:o,lightBox:l,lang:a,platform:r})=>{const n={lightBox:l||null};switch(t.type){case"important_lead":return e.createElement(Pe,{block:t,styleContext:o});case"spoiler":return e.createElement(k,{value:n},e.createElement(Oe,{block:t,styleContext:o}));case"cover":return e.createElement(ze,{block:t,styleContext:o});case"half":return e.createElement(Ve,{block:t,styleContext:o});case"related_rich":return e.createElement(Fe,{block:t,styleContext:o});case"related_book":return e.createElement(Qe,{block:t,styleContext:o});case"related_shop":return e.createElement(je,{block:t,styleContext:o});default:return e.createElement(k,{value:n},e.createElement(Re,{block:t,styleContext:o,lang:a,platform:r}))}},exports.RelatedBlock=pe,exports.RelatedCarousel=({children:t,ariaLabel:o,onSlideChange:l})=>{const[a,i]=r({loop:!0,align:"start",containScroll:!1}),[d,c]=e.useState(0),s=e.useRef(l);s.current=l;const[m,_]=e.useState(0),u=e.Children.toArray(t),p=u.length,h=e.useCallback((()=>{if(!i)return;const e=i.selectedScrollSnap();c(e),s.current?.(e),_((t=>((e,t,o)=>{if(o<=6)return 0;let l=t;return e<l+2&&(l=e-2),e>l+6-1-2&&(l=e-6+1+2),Math.max(0,Math.min(l,o-6))})(e,t,p)))}),[i,p]);e.useEffect((()=>{if(i)return h(),i.on("select",h),i.on("reInit",h),()=>{i.off("select",h),i.off("reInit",h)}}),[i,h]);const k={"--dotsVisible":Math.min(p,6),"--dotsStart":m};return e.createElement("div",{"data-testid":"related-carousel",className:n([["RelatedCarousel-module_root__G-Eub",!0]]),role:"group","aria-label":o},e.createElement("div",{className:"RelatedCarousel-module_viewport__HCzJi",ref:a},e.createElement("div",{className:"RelatedCarousel-module_track__UVQ2n"},u.map(((t,o)=>e.createElement("div",{className:"RelatedCarousel-module_slide__MI9tF",key:o},t))))),e.createElement("div",{"aria-hidden":"true",className:"RelatedCarousel-module_dots__mOSIC",style:k},e.createElement("div",{className:"RelatedCarousel-module_dotsTrack__V7bnX"},u.map(((t,o)=>{const l=o===d,a=((e,t,o)=>{const l=e-t,a=t>0,r=t+6<o;return a&&0===l?"tiny":a&&1===l?"small":r&&5===l?"tiny":r&&4===l?"small":"full"})(o,m,p);return e.createElement("span",{key:o,className:"RelatedCarousel-module_dotCell__kl64s"},e.createElement("span",{className:n([["RelatedCarousel-module_dot__Jo52r",!0],["RelatedCarousel-module_isActive__Nz2aj",l],["RelatedCarousel-module_isSmall__ZP5hd","small"===a],["RelatedCarousel-module_isTiny__mjhtD","tiny"===a]])}))})))))},exports.RelatedRichBlock=Fe,exports.RenderBlocks=Re,exports.RichTitle=ie,exports.Secondary=({children:t})=>e.createElement("span",{className:"MaterialTitle-module_secondary__7IDEp"},t),exports.SensitiveBlock=Ce,exports.ShopRelatedBlock=je,exports.SimpleBlock=ce,exports.SimpleTitle=re,exports.SourceBlock=ke,exports.Spoiler=Oe,exports.SvgSymbol=_,exports.Switcher=({enabled:t,onChange:o,styleContext:l,theme:a="light",childrenLeft:r,childrenRight:i})=>e.createElement("label",{"data-testid":"switcher",className:n([[u.root,!0],[u[a],!!u[a]],[u[l],!!u[l]]])},r&&e.createElement("div",{className:n([[u.children,!0],[u.left,!0]])},r),e.createElement("input",{className:u.input,type:"checkbox",checked:t,onChange:o}),e.createElement("span",{className:u.control},e.createElement("span",{className:u.knob})),i&&e.createElement("div",{className:n([[u.children,!0],[u.right,!0]])},i)),exports.Table=V,exports.Tag=R,exports.Timestamp=G,exports.Toolbar=({children:t,styleContext:o})=>{let l=[[O.root,!0]];return o&&(l=p(l,o,O)),e.createElement("div",{"data-testid":"toolbar",className:n(l)},e.createElement("ul",{className:O.list},t))},exports.ToolbarButton=({type:t,theme:o,isActive:l,lang:a="ru",text:r,onClick:i})=>{const d=E[a][t];return e.createElement("button",{"data-testid":"toolbar-button",className:n([[$e.root,!0],[$e[t],!!$e[t]],[$e[o],!!$e[o]&&!!o],[$e.isActive,!!l]]),type:"button",onClick:e=>i(e,t)},e.createElement("span",{className:$e.text},r||d))},exports.ToolbarItem=({children:t})=>e.createElement("li",{className:O.item},t),exports.Tooltip=({children:t,position:o})=>{const[l,a]=o,r=`is${Ye(l)}${Ye(a)}`;return e.createElement("div",{className:n([[Je.root,!0],[Je[r],!0]])},e.createElement("div",{className:Je.body},t))},exports.TooltipFooter=({children:t})=>e.createElement("div",{className:Je.footer},t);
|
|
2
2
|
//# sourceMappingURL=ui-kit-2.cjs.production.min.js.map
|