import{j as e,k as Q,L as au,e as Eu,P as su,b as we,g as fe,Q as ou,R as be,c as ve,S as iu,T as Y,U as Bu,V as yu,_ as wu,W as nu,X as vu,Y as Ie,Z as Fu,$ as ju,a0 as ku,u as qu,N as Su,a1 as Tu}from"./main-5057ff34.js";import{r as D,R as lu}from"./chunk-react-162a731f.js";import{B as Lu,C as Nu,a as Ru,N as Iu,W as _u,g as Vu,H as Uu,b as _e}from"./chunk-Helmet-930b1405.js";import{B as Hu,a as Ou}from"./chunk-index-1e6d64bd.js";import{c as ne}from"./chunk-index-89b7ba38.js";import{_ as Ve}from"./chunk-index-4b8e5f08.js";import{D as je}from"./chunk-index-4d24fc93.js";import{m as U,u as cu,G as o,i as Ce,B as J,o as _,e as l,N as zu,J as du,M as pu,L as Mu,f as ae,O as mu,P as Gu,Q as Pu,U as Wu,V as $u,I as oe,q as Du,s as Zu,W as Yu,X as Ju,Y as Qu,C as se,$ as hu,a0 as ie,a1 as Ku,a2 as Xu,a3 as er,a4 as ur,a5 as rr,y as tr,a6 as ar,a7 as sr,a8 as or}from"./chunk-material-ui-eb5bb5f8.js";import{B as ir}from"./chunk-index-69f914a0.js";import{V as nr,H as lr,a as cr,F as dr,b as pr}from"./chunk-index-e56c01f9.js";import{i as ke}from"./chunk-generateUtilityClasses-54aa0b46.js";import{r as qe}from"./chunk-createSvgIcon-76c2431e.js";import{c as Ee,g as mr}from"./chunk-lodash-6114c6d4.js";import{D as Dr}from"./chunk-index-a1788cfb.js";import{U as hr}from"./chunk-index-72204a8f.js";import{C as gr,I as Ue}from"./chunk-CircularProgress-fadd892c.js";import"./chunk-index-b4f9c953.js";import"./chunk-index-827e676e.js";import"./chunk-index-3462efa3.js";import"./chunk-effect-fade-17bfa8f3.js";import"./chunk-index-a7d53221.js";import"./chunk-ListItemButton-a29ddd25.js";import"./chunk-index-9f909ab3.js";import"./chunk-index-730d0e8a.js";import"./chunk-index-9e8b2b74.js";const $=D.createContext(void 0),xr=({content:u,children:r})=>{const[i,s]=D.useState(u);return D.useEffect(()=>{u&&s(u)},[u]),e.jsx($.Provider,{value:i,children:r})},fr=U(u=>({galleryWrapper:{marginBottom:"140px",position:"relative","@media (max-width: 760px)":{display:"flex",width:"100%",marginBottom:"20px"},"@media (max-width: 479px)":{marginBottom:0}},badgeGrid:{display:"flex",flexDirection:"column",alignItems:"start",position:"absolute",left:12,top:52,zIndex:10,textTransform:"uppercase","& div + div":{marginBlockStart:15}},badgeNew:{fontFamily:"TTFirsNeue-Light, sans-serif",fontSize:16,borderRadius:12,backgroundColor:u.color.black0,color:u.color.blue,border:`1px solid ${u.color.blue}`},images:{"& > img":{width:"100%",height:"auto"}},imageBig:{"& > img":{"object-fit":"contain","max-width":"100%",width:1024,height:1024,"@media (max-width: 1440px)":{width:816,height:816},"@media (max-width: 1024px)":{width:690,height:690},"@media (max-width: 760px)":{display:"none"}}},scrollWrapper:{width:"100%"},scrollInnerWrapper:{width:"auto",display:"flex",justifyContent:"space-between","& .swiper-button-next, & .swiper-button-prev":{display:"none"},"& .swiper-slide":{marginBottom:"15px",minWidth:"100%"},"& .swiper-wrapper":{display:"flex"}},scrollImg:{width:"100%"},sliderWrapper:{"& .MuiPaper-root":{height:"calc(100% - 64px)"},"& .swiper-container":{overflow:"hidden",position:"relative",height:"100%","& .swiper-wrapper":{position:"relative",width:"100%",height:"100%",display:"flex","z-index":1,"transition-property":"transform","box-sizing":"content-box","& .swiper-slide":{"flex-shrink":0,display:"flex","align-items":"center","justify-content":"center","& img":{"max-height":"100%","max-width":"100%"}}},"& .swiper-scrollbar":{display:"none"},"& .swiper-button-next, & .swiper-button-prev":{position:"absolute",top:"50%",transform:"translateY(-50%)",width:"60px",cursor:"pointer",height:"100%",display:"flex","align-items":"center",background:"white","justify-content":"center","z-index":1,"@media (max-width: 760px)":{display:"none"},"&:after":{content:'" "',transform:"rotate(45deg)",width:"30px",height:"30px",display:"block"},"&.swiper-button-disabled":{display:"none"}},"& .swiper-button-next":{right:"0","&:after":{border:"1px solid","border-color":"#c6c6c6 #c6c6c6 transparent transparent"}},"& .swiper-button-prev":{left:"0","&:after":{border:"1px solid","border-color":"transparent transparent #c6c6c6 #c6c6c6"}}}},skeletProductImg:{marginBottom:u.spacing(3),backgroundColor:u.color.black20,"@media (min-width: 1656px)":{height:498},"@media (max-width: 1440px)":{height:390},"@media (max-width: 1280px)":{height:353},"@media (max-width: 479px)":{height:"auto"}}}),{name:"ProductGallery"});const Ar=({activeColor:u})=>{var T,q,V,L,E,f;const r=fr(),i=cu("(max-width: 760px)"),s=D.useContext($),t=(T=s==null?void 0:s.model)==null?void 0:T.badges[0],n=t==="NEW",a=(q=s==null?void 0:s.model)==null?void 0:q.advert_banner,c=Q(g=>{var B;return(B=g.productPageSlice)==null?void 0:B.selectedSku}),d=(c==null?void 0:c.photo_list)||(s==null?void 0:s.model.photo_list),[b,p]=D.useState(!1),[x,C]=D.useState(0),[h,w]=D.useState(""),v=g=>{w(B=>B.concat(",",g))},S=()=>p(!1),j=g=>{C(g),p(!0)},k={loop:d&&d.length>1,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},keyboard:{enabled:!0,onlyInViewport:!1}},H={slidesPerView:1,shouldSwiperUpdate:!0,scrollbar:{el:".swiper-scrollbar",hide:!1,draggable:!0}};return e.jsxs(o,{item:!0,classes:{root:r.galleryWrapper},children:[s==null?void 0:s.model.sku_list.map(g=>g.photo_list[0]).map(g=>e.jsx("link",{rel:"preload",href:g.url,as:"image"},g.url)),e.jsxs(o,{classes:{root:r.badgeGrid},children:[n&&e.jsx(Ce,{classes:{root:r.badgeNew},label:t}),a&&e.jsx(Lu,{...a})]}),d&&e.jsxs(e.Fragment,{children:[i&&e.jsx("div",{className:r.scrollWrapper,children:e.jsx("div",{className:r.scrollInnerWrapper,children:e.jsx(Ve,{...H,children:d.map((g,B)=>e.jsx("div",{className:"swiper-slide",children:e.jsx("img",{src:g.url,className:r.scrollImg,alt:g.alt.replace(/&quot;/gi,'"')})},B))})})}),!i&&e.jsxs(e.Fragment,{children:[e.jsx(je,{open:b,onClose:S,onCloseIcon:S,className:r.sliderWrapper,maxWidth:!1,children:e.jsx(Ve,{...k,activeSlideKey:String(x),children:d.map((g,B)=>e.jsx("div",{children:e.jsx("img",{src:g.url,alt:g.alt.replace(/&quot;/gi,'"')})},B))})}),e.jsx(J,{display:"flex",justifyContent:"center",children:e.jsxs("picture",{className:r.imageBig,children:[e.jsx("source",{srcSet:(V=d[0])==null?void 0:V.url}),e.jsx("img",{itemProp:"image",src:(L=d[0])==null?void 0:L.url_resize,alt:(E=d[0])==null?void 0:E.alt.replace(/&quot;/gi,'"'),title:(f=d[0])==null?void 0:f.alt.replace(/&quot;/gi,'"'),onClick:()=>j(0)})]})}),e.jsx(o,{container:!0,spacing:3,children:d.map((g,B)=>{if(B!==0)return e.jsxs(o,{item:!0,xs:6,className:ne("blur-load",h.includes(g.url)&&"loaded"),children:[e.jsx(o,{item:!0,xs:12,children:e.jsx(_,{variant:"rect",animation:"wave",classes:{root:r.skeletProductImg}})},B),e.jsxs("picture",{className:r.images,children:[e.jsx("source",{srcSet:g.url}),e.jsx("img",{src:g.url_resize,alt:g.alt.replace(/&quot;/gi,'"'),onClick:()=>j(B),loading:"lazy",onLoad:()=>v(g.url)})]})]},g.url)})})]})]})]})},br=U(u=>({container:{height:"100%",display:"flex","flex-direction":"column"},space:{"flex-grow":1},sideContainer:{position:"sticky",height:"max-content",bottom:0,"min-height":"100vh","@media (max-width: 912px)":{width:"100%",position:"relative",padding:0,"min-height":"auto"}}}),{name:"CheckOutProduct"}),He=({children:u,containerRef:r})=>{const i=br();return e.jsxs(o,{className:i.container,children:[e.jsx("div",{className:i.space}),e.jsx(J,{className:i.sideContainer,children:u})]})};const Oe=()=>{const u=D.useContext($);if(u===void 0)return null;const{props:r,brand:i}=u.model,s=`${r.thing_type} ${i.name} ${r.model_name}`;return e.jsxs(o,{container:!0,item:!0,spacing:2,children:[e.jsx(o,{item:!0,xs:12,children:e.jsxs(l,{variant:"body1",color:"secondary",children:[e.jsx(au,{to:i.url,className:"brandLink",children:i.name})," "]})}),e.jsx(o,{item:!0,xs:12,children:e.jsx(l,{variant:"h1",dangerouslySetInnerHTML:{__html:s}})})]})},Cr=U(u=>({root:{color:u.color.black100},iconEmpty:{}}),{name:"Rating"});function Se({...u}){const r=Cr();return e.jsx(zu,{classes:{root:r.root,iconEmpty:r.iconEmpty},...u})}const Er=U(u=>({textMini:{fontFamily:"TTFirsNeue-Light, sans-serif"},iconFill:{color:u.color.black60,fontSize:"1rem"},iconPrimary:{color:u.color.black0,stroke:u.color.black60,fontSize:"1rem"},textDivider:{padding:"0 16px"},baseText:{display:"flex",alignItems:"center",fontFamily:"TTFirsNeue-Light, sans-serif","& > $baseText":{paddingLeft:u.spacing(2)}}}),{name:"ProductRating"});function ze(){const u=Er(),r=D.useContext($),i=r==null?void 0:r.reviews.count.num,s=r==null?void 0:r.reviews.count.ending,t=r==null?void 0:r.reviews.average,[n,a]=D.useState(0),c=r==null?void 0:r.model.props,d=c==null?void 0:c.article,b=c==null?void 0:c.season;return D.useEffect(()=>{t!==void 0&&a(t)}),e.jsxs(o,{item:!0,container:!0,alignItems:"center",spacing:1,children:[e.jsx(o,{item:!0,xl:"auto",children:e.jsx(Se,{name:"read-only",size:"small",value:n,readOnly:!0})}),e.jsx(o,{item:!0,xl:"auto",children:e.jsxs(l,{classes:{root:u.textMini},color:"secondary",component:"span",variant:"body1",children:[i," ",s]})}),e.jsx(o,{item:!0,xl:"auto",children:e.jsx(l,{classes:{root:u.textDivider},component:"span",variant:"body1",color:"secondary",children:"|"})}),e.jsx(o,{item:!0,xl:"auto",children:e.jsxs(l,{classes:{root:u.baseText},component:"span",variant:"body1",color:"secondary",children:["Артикул: ",d," ",b]})})]})}const Br=U(u=>({selectSkuContainer:{position:"relative",paddingBottom:40}}),{name:"SelectContainer"});function Me({children:u}){const r=Br();return e.jsx(o,{container:!0,spacing:3,item:!0,justifyContent:"space-between",classes:{root:r.selectSkuContainer},children:u})}function yr(){const{search:u}=window.location;return lu.useMemo(()=>new URLSearchParams(u),[u])}function gu(){const[u,r]=D.useState(void 0),i=Eu();return D.useEffect(()=>{const s=new URLSearchParams(window.location.search);u&&(r(u),s[u.action](u.key,u.val),i({pathname:window.location.pathname,search:s.toString()},{replace:!0}))},[u==null?void 0:u.key,u==null?void 0:u.val,u==null?void 0:u.action]),r}const wr=U(u=>({selectSkuContainer:{position:"relative",paddingBottom:40},baseText:{fontFamily:"TTFirsNeue-Light, sans-serif","& > $baseText":{paddingLeft:u.spacing(2)}},colorsChip:{width:78,height:78,borderRadius:10,justifyContent:"space-between","& $colorsAvatar":{backgroundColor:"unset",whiteSpace:"break-spaces",width:"100%",height:"100%",borderRadius:"10px",marginLeft:0,marginRight:0}},colorChipClickable:{"&$colorChipOutline":{"&:hover, &:focus, &:active":{borderColor:u.color.black100,backgroundColor:"unset",boxShadow:"unset"}}},colorChipSelect:{"&$colorChipOutline":{border:"1px",borderStyle:"solid",borderColor:u.color.black100,backgroundColor:"unset",boxShadow:"unset"}},colorChipOutline:{border:"unset","&:hover, &:focus, &:active":{border:"1px",borderStyle:"solid",borderColor:u.color.black100,backgroundColor:"unset",boxShadow:"unset"}},colorsAvatar:{}}),{name:"ProductColors"}),Ge=({onChangeColor:u,selectedColor:r})=>{const i=wr(),s=gu(),t=D.useContext($),n=t==null?void 0:t.model.props.gender,[a,{isFetching:c}]=su(),d=p=>{s({action:"set",key:"SKU",val:String(p)}),a({url:`${we.product.getProduct}${t==null?void 0:t.model.props.product_id}/${p}/`,...fe({SITE_ID:"lid",bitrix_sessid:"bitrix_sessid"})})},b=(p,x)=>{u(p),s({action:"set",key:"COLOR",val:p}),x!==void 0&&d(x)};return e.jsxs(e.Fragment,{children:[e.jsxs(o,{item:!0,xs:12,children:[n&&e.jsxs(l,{classes:{root:i.baseText},component:"p",variant:"body1",color:"secondary",children:["Пол:",e.jsx(l,{classes:{root:i.baseText},component:"span",variant:"body1",color:"primary",children:n})]}),e.jsx(Nu,{colorName:r})]}),r&&e.jsx(o,{container:!0,item:!0,children:e.jsx(o,{container:!0,item:!0,spacing:3,justifyContent:"flex-start",children:t==null?void 0:t.model.sku_list.map((p,x)=>{var h;const C=(h=p.sizes.find(w=>w.is_available===!0))==null?void 0:h.id;return e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:"auto",sm:"auto",xs:"auto",children:e.jsx(Ce,{variant:"outlined",classes:{root:i.colorsChip,outlinedPrimary:ne([i.colorChipOutline,p.name===r&&i.colorChipSelect]),avatar:i.colorsAvatar},clickable:!0,onClick:()=>b(p.name,C),avatar:e.jsx("img",{src:p.photo_list[0].url_thumb,alt:p.photo_list[0].alt}),color:"primary"})},x)})})})]})},vr=U(u=>({selectSkuContainer:{position:"relative",paddingBottom:40},baseText:{fontFamily:"TTFirsNeue-Light, sans-serif","& > $baseText":{paddingLeft:u.spacing(2)}},colorsAvatar:{},sizesChip:{width:78,height:40,borderRadius:10,margin:0,fontSize:"1rem","& span":{paddingInline:7}},sizesSelect:{borderColor:u.color.black100,backgroundColor:"unset",boxShadow:"unset"},sizesChipOutline:{borderColor:u.color.black40,overflow:"hidden"},sizesChecked:{borderColor:u.color.black100},noQuantity:{backgroundColor:u.color.black20},loadWrapper:{zIndex:u.zIndex.drawer,position:"absolute",backgroundColor:"rgba(255, 255, 255, 0.5)"}}),{name:"SelectSize"});const Pe=({selectedColor:u,onClickSize:r,actionWishlist:i,clickOnWishListIcon:s})=>{var V,L;const t=vr(),n=ou(),a=D.useContext($),c=gu(),d=Q(E=>{var f;return(f=E.productPageSlice)==null?void 0:f.selectedSku}),b=(d==null?void 0:d.id)||(a==null?void 0:a.selected_sku.id),p=d?d.size_title:a==null?void 0:a.selected_sku.size_title,x=(a==null?void 0:a.model.props.is_show_grid_size)&&(a==null?void 0:a.grid_size_html),C=a==null?void 0:a.model.props.section.grid_size_btn_text,h=a==null?void 0:a.model.sku_list,v=((L=(V=a==null?void 0:a.model)==null?void 0:V.props)==null?void 0:L.thing_type)==="Ювелирное изделие",[S,{isFetching:j}]=su(),[k]=be();D.useEffect(()=>{var E,f,g,B,O,A,R,G,P,M,I,m,y,F;b&&(k({type:"yandexEcommerceProduct",skuId:b}),ve("view_item",{currency:"RUB",item_list_name:"Product_page",value:(E=a==null?void 0:a.selected_sku)==null?void 0:E.retail_price,items:[{item_name:(g=(f=a==null?void 0:a.model)==null?void 0:f.props)==null?void 0:g.name,item_id:(O=(B=a==null?void 0:a.model)==null?void 0:B.props)==null?void 0:O.product_id,price:(A=a==null?void 0:a.selected_sku)==null?void 0:A.retail_price,item_brand:(G=(R=a==null?void 0:a.model)==null?void 0:R.brand)==null?void 0:G.name,item_category2:(I=(M=(P=a==null?void 0:a.model)==null?void 0:P.props)==null?void 0:M.section)==null?void 0:I.name,is_peak:(y=(m=a==null?void 0:a.model)==null?void 0:m.props)==null?void 0:y.is_peak,item_variant:(F=a==null?void 0:a.selected_sku)==null?void 0:F.color_title,quantity:1,offer_id:b}]}))},[b]),D.useEffect(()=>()=>{n(iu())},[]);const H=E=>{c({action:"set",key:"SKU",val:E.toString()}),S({url:`${we.product.getProduct}${a==null?void 0:a.model.props.product_id}/${E}/`,...fe({SITE_ID:"lid",bitrix_sessid:"bitrix_sessid"})})},T=E=>{i({url:we.user.wishlist.add,...fe({SITE_ID:"lid",bitrix_sessid:"bitrix_sessid"}),id:E||(b??"0")}).then(f=>{var g,B,O,A,R,G,P,M,I,m,y,F,z,W;f.data.status==="success"&&ve("add_to_wishlist",{currency:"RUB",item_list_name:"Product_page",value:(g=a==null?void 0:a.selected_sku)==null?void 0:g.retail_price,items:[{item_name:(O=(B=a==null?void 0:a.model)==null?void 0:B.props)==null?void 0:O.name,item_id:(R=(A=a==null?void 0:a.model)==null?void 0:A.props)==null?void 0:R.product_id,price:(G=a==null?void 0:a.selected_sku)==null?void 0:G.retail_price,item_brand:(M=(P=a==null?void 0:a.model)==null?void 0:P.brand)==null?void 0:M.name,item_category2:(y=(m=(I=a==null?void 0:a.model)==null?void 0:I.props)==null?void 0:m.section)==null?void 0:y.name,is_peak:(z=(F=a==null?void 0:a.model)==null?void 0:F.props)==null?void 0:z.is_peak,item_variant:(W=a==null?void 0:a.selected_sku)==null?void 0:W.color_title,quantity:1}]})})},q=E=>s?T(E):H(E);return e.jsxs(o,{classes:{root:t.selectSkuContainer},item:!0,container:!0,justifyContent:"space-between",children:[e.jsx(Ru,{sizeTitle:p,isShowPickSizeButton:x,pickSizeButtonTitle:C,gridSizeContent:e.jsx("div",{dangerouslySetInnerHTML:{__html:a==null?void 0:a.grid_size_html}})}),e.jsx(o,{container:!0,item:!0,children:e.jsx(o,{container:!0,item:!0,justifyContent:"flex-start",spacing:3,children:h==null?void 0:h.map(E=>E.name===u&&E.sizes.map((f,g)=>(g===0||!v)&&e.jsx(o,{item:!0,sm:"auto",xs:4,children:f.quantity?e.jsx(Ce,{variant:"outlined",classes:{root:t.sizesChip,outlinedPrimary:ne([t.sizesChipOutline,!d&&(a==null?void 0:a.selected_sku.id)&&parseInt(f.id,10)===parseInt(a==null?void 0:a.selected_sku.id,10)&&t.sizesChecked,d&&parseInt(d==null?void 0:d.id,10)===parseInt(f.id,10)&&t.sizesChecked])},onClick:()=>{r(f.id),q(f.id)},clickable:!0,color:"primary",label:f.size_title}):e.jsx(Iu,{sizeTitle:f.size_title,colorName:f.color_title,product_id:f.id},f.id)},f.id)))})}),e.jsx(du,{open:j,classes:{root:t.loadWrapper},children:e.jsx(pu,{color:"primary"})})]})},Fr=U(u=>({pricesContainer:{paddingBottom:24},oldPrice:{position:"relative",color:u.color.black60,fontFamily:"TTFirsNeue-Light, sans-serif",fontSize:"1.25rem","&:after":{position:"absolute",content:"' '",width:"100%",height:"1px",left:"0",top:"9px",background:u.color.black60,border:`1px solid ${u.color.black0}`,transform:"rotate(-3deg)",zIndex:10},marginLeft:u.spacing(3)},badgeDiscount:{color:"#8F9BA4",backgroundColor:"unset",borderColor:"#8F9BA4",borderWidth:"1px",borderStyle:"solid",borderRadius:"12px",marginLeft:u.spacing(3)},badgeDiscountLabel:{paddingLeft:"6px",paddingRight:"6px"},dialogContent:{padding:"16px 24px","& p + p":{"margin-block-start":10},"& a":{color:"#1e6ee4"}},cursorPointer:{cursor:"pointer"}}),{name:"ProductPrice"});function De(){const u=Fr(),r=D.useContext($),i=Q(b=>{var p;return(p=b.productPageSlice)==null?void 0:p.selectedSku}),s=i==null?void 0:i.discount,t=D.useMemo(()=>({current:i?Y(i==null?void 0:i.retail_price):Y(r==null?void 0:r.selected_sku.retail_price),base:i?Y(i==null?void 0:i.base_price):Y(r==null?void 0:r.selected_sku.base_price)}),[i,r]),[n,a]=D.useState(!1),c=()=>a(!1),d=()=>a(!0);return e.jsxs(o,{item:!0,container:!0,classes:{root:u.pricesContainer},children:[e.jsxs(o,{container:!0,item:!0,alignItems:"center",children:[e.jsx(o,{item:!0,xs:"auto",children:e.jsx(l,{variant:"h2",component:"span",dangerouslySetInnerHTML:{__html:t.current??""}})}),t.current!==t.base&&e.jsx(o,{item:!0,xs:"auto",children:e.jsx(l,{variant:"h3",color:"secondary",component:"span",classes:{root:u.oldPrice},dangerouslySetInnerHTML:{__html:t.base??""}})}),s&&e.jsx(o,{item:!0,xs:"auto",children:e.jsx(l,{variant:"body1",component:"span",children:e.jsx(Ce,{label:s==null?void 0:s.percent_format,classes:{root:u.badgeDiscount,label:u.badgeDiscountLabel}})})})]}),e.jsxs(o,{container:!0,item:!0,justifyContent:"space-between",children:[e.jsx(o,{item:!0,xs:"auto",onClick:d,classes:{root:u.cursorPointer},children:e.jsx(l,{variant:"body1",children:"Нашли дешевле?"})}),e.jsx(je,{open:n,onClose:c,onCloseIcon:c,dialogTitle:"100% Гарантия лучшей цены",scroll:"paper",maxWidth:!1,children:e.jsx(o,{container:!0,children:e.jsxs(o,{item:!0,xs:12,classes:{root:u.dialogContent},children:[e.jsx(l,{variant:"body1",children:"При оформлении заказа укажите в комментариях ссылку на цену конкурента и отправьте заказ."}),e.jsx(l,{variant:"body1",children:"Менеджер оперативно проверит информацию и если все верно, то снизит цену на товар в соответствии с правилами программы"}),e.jsxs(l,{variant:"body1",children:["С подробными условиями можете ознакомиться в разделе"," ",e.jsx(Mu,{underline:"none",href:"/information/low_price/",variant:"body1",children:"Гарантия лучшей цены"})]})]})})})]})]})}const jr=U(u=>({btnIcon:{fill:u.color.black0},btnAddToWish:{borderColor:u.color.black100,borderWidth:"1.25px",borderStyle:"solid",borderRadius:"1rem",width:"100%",padding:16,height:"100%"},btnAdded:{pointerEvents:"none"}}),{name:"ProductActions"}),kr=({sku:u,addProductCart:r,addCart:i})=>{var h,w,v,S;const s=Q(j=>{var k;return(k=j.productPageSlice)==null?void 0:k.selectedSku}),t=jr(),n=D.useContext($),a=(s==null?void 0:s.quantity)||(n==null?void 0:n.selected_sku.quantity),c=s==null?void 0:s.in_cart;n==null||n.selected_sku.in_cart;const d=i||a===0,p=((w=(h=n==null?void 0:n.model)==null?void 0:h.props)==null?void 0:w.thing_type)==="Ювелирное изделие",x=(S=(v=n==null?void 0:n.model)==null?void 0:v.props)==null?void 0:S.is_offline_sale,C=()=>{r({sku:u??"0"}).then(j=>{var k,H,T,q,V,L,E,f,g,B,O,A,R;j.data.status==="success"&&ve("add_to_cart",{currency:"RUB",item_list_name:"Product_page",value:(k=n==null?void 0:n.selected_sku)==null?void 0:k.retail_price,items:[{item_name:(T=(H=n==null?void 0:n.model)==null?void 0:H.props)==null?void 0:T.name,item_id:(V=(q=n==null?void 0:n.model)==null?void 0:q.props)==null?void 0:V.product_id,price:(L=n==null?void 0:n.selected_sku)==null?void 0:L.retail_price,item_brand:(f=(E=n==null?void 0:n.model)==null?void 0:E.brand)==null?void 0:f.name,item_category2:(B=(g=n==null?void 0:n.model)==null?void 0:g.props)==null?void 0:B.thing_type,is_peak:(A=(O=n==null?void 0:n.model)==null?void 0:O.props)==null?void 0:A.is_peak,item_variant:(R=n==null?void 0:n.selected_sku)==null?void 0:R.color_title,quantity:1,offer_id:u}]})})};return p||x?e.jsx(ae,{disabled:!0,variant:"contained",color:"primary",fullWidth:!0,children:"ТОЛЬКО ОФЛАЙН"}):e.jsx(e.Fragment,{children:c?e.jsx(ae,{onClick:C,variant:"contained",color:"primary",fullWidth:!0,className:t.btnAdded,startIcon:e.jsx(mu,{classes:{root:t.btnIcon}}),children:"Товар добавлен"}):e.jsx(ae,{disabled:d,onClick:C,variant:"contained",color:"primary",fullWidth:!0,startIcon:e.jsx(Gu,{classes:{root:t.btnIcon}}),children:"Добавить в корзину"})})},We=({setClickOnWishListIcon:u,addWishList:r,wishListItem:i,containerRef:s})=>{const[t,{data:n,isFetching:a}]=Bu(),[c,{data:d,isLoading:b}]=yu(),p=D.useContext($),x=Q(T=>{var q;return(q=T.productPageSlice)==null?void 0:q.selectedSku}),C=(x==null?void 0:x.id)||(p==null?void 0:p.selected_sku.id),h=Q(T=>T.userAuth.isAuth),w=r||(x==null?void 0:x.in_wishlist)||(p==null?void 0:p.selected_sku.in_wishlist),[v,S]=D.useState(!1),[j,k]=D.useState(!1),H=(T,q)=>{q!=="clickaway"&&k(!1)};return D.useEffect(()=>{d!=null&&d.data&&k(!0)},[d==null?void 0:d.data]),e.jsxs(o,{item:!0,container:!0,justifyContent:"space-between",children:[e.jsx(o,{item:!0,xl:9,lg:9,md:9,sm:9,xs:8,children:e.jsx(kr,{addCart:b,sku:C,addProductCart:c})}),e.jsx(o,{item:!0,xl:2,lg:2,md:2,sm:2,xs:2,children:e.jsx(_u,{inWishlist:w,productSku:C,isUserAuth:h,addWishList:r,wishListItem:i,setClickOnWishListIcon:u,type:"productPage",parentRef:s})}),(d==null?void 0:d.data)&&e.jsx(ir,{cartItem:d,open:j,handleClose:H,getBasket:t,setOpenCart:S,setOpenInfo:k,openCart:v,basketLoading:a,basketData:n})]})};function qr(){return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 95.481 95.481",children:[e.jsx("path",{d:"M43.041,67.254c-7.402-0.772-14.076-2.595-19.79-7.064c-0.709-0.556-1.441-1.092-2.088-1.713    c-2.501-2.402-2.753-5.153-0.774-7.988c1.693-2.426,4.535-3.075,7.489-1.682c0.572,0.27,1.117,0.607,1.639,0.969    c10.649,7.317,25.278,7.519,35.967,0.329c1.059-0.812,2.191-1.474,3.503-1.812c2.551-0.655,4.93,0.282,6.299,2.514    c1.564,2.549,1.544,5.037-0.383,7.016c-2.956,3.034-6.511,5.229-10.461,6.761c-3.735,1.448-7.826,2.177-11.875,2.661    c0.611,0.665,0.899,0.992,1.281,1.376c5.498,5.524,11.02,11.025,16.5,16.566c1.867,1.888,2.257,4.229,1.229,6.425    c-1.124,2.4-3.64,3.979-6.107,3.81c-1.563-0.108-2.782-0.886-3.865-1.977c-4.149-4.175-8.376-8.273-12.441-12.527    c-1.183-1.237-1.752-1.003-2.796,0.071c-4.174,4.297-8.416,8.528-12.683,12.735c-1.916,1.889-4.196,2.229-6.418,1.15    c-2.362-1.145-3.865-3.556-3.749-5.979c0.08-1.639,0.886-2.891,2.011-4.014c5.441-5.433,10.867-10.88,16.295-16.322    C42.183,68.197,42.518,67.813,43.041,67.254z"}),e.jsx("path",{d:"M47.55,48.329c-13.205-0.045-24.033-10.992-23.956-24.218C23.67,10.739,34.505-0.037,47.84,0    c13.362,0.036,24.087,10.967,24.02,24.478C71.792,37.677,60.889,48.375,47.55,48.329z M59.551,24.143    c-0.023-6.567-5.253-11.795-11.807-11.801c-6.609-0.007-11.886,5.316-11.835,11.943c0.049,6.542,5.324,11.733,11.896,11.709    C54.357,35.971,59.573,30.709,59.551,24.143z"})]})}var Te={},Sr=ke;Object.defineProperty(Te,"__esModule",{value:!0});var xu=Te.default=void 0,Tr=Sr(qe()),$e=e;xu=Te.default=(0,Tr.default)([(0,$e.jsx)("path",{d:"M12 5.99 19.53 19H4.47zM12 2 1 21h22z"},"0"),(0,$e.jsx)("path",{d:"M13 16h-2v2h2zm0-6h-2v5h2z"},"1")],"WarningAmber");const Lr=D.lazy(()=>wu(()=>import("./chunk-index-e0b1b553.js").then(u=>u.i),["assets/js/chunk-index-e0b1b553.js","assets/js/main-5057ff34.js","assets/js/chunk-react-162a731f.js","assets/js/chunk-lodash-6114c6d4.js","assets/js/chunk-material-ui-eb5bb5f8.js","assets/css/index-6331806a.css","assets/js/chunk-index-a1788cfb.js","assets/js/chunk-index-89b7ba38.js","assets/js/chunk-react-yandex-maps.esm-7931bf3d.js","assets/js/chunk-index-4d24fc93.js","assets/js/chunk-index-a7d53221.js","assets/js/chunk-ListItemButton-a29ddd25.js","assets/js/chunk-generateUtilityClasses-54aa0b46.js","assets/js/chunk-index-8000c43d.js"])),Nr=u=>e.jsx(D.Suspense,{fallback:e.jsx("div",{}),children:e.jsx(Lr,{...u})}),Rr=U(u=>({iconDefault:{marginRight:9,color:u.color.black60},item:{display:"flex",alignItems:"center",fontFamily:"TTFirsNeue-Light",whiteSpace:"nowrap","& span":{color:"#1e6ee4"}},shareProductBlock:{position:"relative",cursor:"pointer"},sharePopup:{top:0,position:"absolute",background:"white",padding:20,"border-radius":2,border:"1px solid #F0F3F6","box-shadow":"0px 10px 20px rgb(0 0 0 / 4%), 0px 2px 6px rgb(0 0 0 / 4%), 0px 0px 1px rgb(0 0 0 / 4%)",width:"100%","& .subTitle":{marginBlockEnd:12},"& .items > *":{color:"#5D6871",width:24,height:24,"&:not(:first-child)":{"margin-inline-start":20},"& path":{fill:"currentColor"}}},closeBtn:{position:"absolute",top:10,right:10},closeIcon:{width:15,height:15},copyLink:{cursor:"pointer"},linkValue:{"text-overflow":"ellipsis",color:"#3A474E"},socialButons:{marginBlockStart:20},nearestDeliveryDate:{"@media (min-width: 281px) and (max-width: 639px)":{flexDirection:"row"},"@media (max-width: 281px)":{maxWidth:"66%"},"& :last-child":{color:"#E94552",fontSize:"0.9rem",lineHeight:"15px"}},iconWarning:{marginRight:9,color:"#E94552"}}),{name:"DeliveryInfo"}),Ze=()=>{const u=Q(S=>{var j;return(j=S.productPageSlice)==null?void 0:j.selectedSku}),r=u==null?void 0:u.shops_available,i=u==null?void 0:u.nearest_dispatch_date,s=u==null?void 0:u.quantity_text,t=()=>(r==null?void 0:r.length)===1?`в ${r==null?void 0:r.length} магазине`:`в ${r==null?void 0:r.length} магазинах`,n=[{PICKUP_POINTS:r}],a=Rr(),[c,d]=D.useState(!1),[b,p]=D.useState(!1),x=()=>p(!0),C=()=>p(!1),h=()=>window.location.href,w=()=>{navigator.clipboard.writeText(h()).then(()=>{console.log("Ссыль скопирована")})},[v]=be();return e.jsxs(e.Fragment,{children:[e.jsx(o,{item:!0,container:!0,children:e.jsxs(o,{item:!0,sm:11,md:"auto",container:!0,spacing:2,justifyContent:"space-between",children:[e.jsx(o,{item:!0,xs:"auto",sm:6,md:"auto",xl:6,onClick:()=>{d(!0),v({type:"skuStockBalanceMouseOver"})},style:{cursor:"pointer"},children:e.jsxs(l,{variant:"body1",color:"secondary",className:a.item,children:[e.jsx(Pu,{color:"primary",classes:{root:a.iconDefault}}),"Наличие  ",e.jsx("span",{children:t()})]})}),e.jsx(o,{item:!0,xs:12,sm:6,md:"auto",xl:6,children:i==="Готов к отгрузке"?e.jsxs(l,{variant:"body1",color:"secondary",className:a.item,children:[e.jsx(mu,{classes:{root:a.iconDefault},color:"primary"}),"Готов к отгрузке"]}):e.jsxs(o,{xs:"auto",container:!0,children:[e.jsx(Wu,{classes:{root:a.iconDefault},color:"primary"}),e.jsxs(o,{item:!0,xs:10,sm:4,container:!0,direction:"column",alignItems:"center",className:a.nearestDeliveryDate,children:[e.jsx(l,{variant:"body1",color:"secondary",className:a.item,children:"Ближайшая отправка "}),e.jsx(l,{variant:"body1",children:i})]})]})}),e.jsxs(o,{item:!0,xs:"auto",sm:6,md:"auto",xl:6,className:a.shareProductBlock,children:[e.jsxs(l,{variant:"body1",color:"secondary",className:a.item,onClick:x,children:[e.jsx($u,{color:"primary",classes:{root:a.iconDefault}}),e.jsx("span",{children:"Поделиться товаром"})]}),b&&e.jsxs("div",{className:a.sharePopup,children:[e.jsx(oe,{color:"primary",onClick:C,size:"small",classes:{root:a.closeBtn},children:e.jsx(Du,{classes:{root:a.closeIcon}})}),e.jsxs("div",{className:a.copyLink,onClick:w,children:[e.jsx(l,{variant:"body1",color:"primary",className:"subTitle",children:"Скопировать ссылку"}),e.jsx(Zu,{classes:{input:a.linkValue},fullWidth:!0,value:h(),readOnly:!0,color:"primary"})]}),e.jsxs("div",{className:a.socialButons,children:[e.jsx(l,{variant:"body1",color:"primary",className:"subTitle",children:"Поделиться в соцсетях"}),e.jsxs("div",{className:"items",children:[e.jsx(oe,{href:`https://vk.com/share.php?url=${h()}`,target:"_blank",children:e.jsx(nr,{})}),e.jsx(oe,{href:`https://t.me/share/url?url=${h()}`,target:"_blank",children:e.jsx(Yu,{})}),e.jsx(oe,{href:`https://wa.me/?text=${h()}`,target:"_blank",children:e.jsx(Ju,{})}),e.jsx(oe,{href:`http://pinterest.com/pin/create/link/?url=${h()}`,target:"_blank",children:e.jsx(Qu,{})}),e.jsx(oe,{href:`https://connect.ok.ru/offer?url=${h()}`,target:"_blank",children:e.jsx(qr,{})})]})]})]})]}),s&&e.jsx(o,{item:!0,xs:12,sm:6,md:"auto",lg:5,xl:6,children:e.jsxs(l,{variant:"body1",color:"secondary",className:a.item,style:{color:"#E94552"},children:[e.jsx(xu,{classes:{root:a.iconWarning}}),s]})})]})}),c&&e.jsx(Nr,{setOpenMap:d,openMap:c,deliveryList:n,isProduct:!0})]})};function Ir(u){const[r,i]=D.useState("");return D.useEffect(()=>{u!=null&&u.selected_sku.color_title&&i(u==null?void 0:u.selected_sku.color_title)},[u]),[r,i]}const _r=U(u=>({pageContainer:{borderTop:"1px solid #E0E3E6",paddingBottom:u.spacing(2),paddingTop:u.spacing(2),position:"relative",backgroundColor:"#ffffff"},loadWrapper:{zIndex:u.zIndex.drawer,position:"absolute",backgroundColor:"rgba(255, 255, 255, 0.5)"},backDrop:{zIndex:u.zIndex.tooltip,backgroundColor:"rgba(255, 255, 255, 0.5)"},breadContainerSkeleton:{display:"flex",flexDirection:"row",columnGap:"12px",alignItems:"center","@media (max-width: 479px)":{flexWrap:"wrap",flexDirection:"row"}},breadButtonSkeleton:{display:"inline-flex"},galleryWrapperSkeleton:{marginBottom:"140px","@media (max-width: 479px)":{marginBottom:0}},imagesSkeleton:{width:"100%",height:"auto"},imageBigSkeleton:{"& > span":{width:1024,height:1024,"@media (max-width: 1440px)":{width:816,height:816},"@media (max-width: 1024px)":{width:690,height:690},"@media (max-width: 479px)":{width:"100%",height:"auto"}}},leftElemContainer:{"@media (min-width: 1280px)":{borderLeft:"1px solid #E0E3E6",backgroundColor:"#FFFFFF",marginBottom:"12px",width:500,position:"absolute",top:0,right:12,zIndex:50}},selectSkuContainerSkeleton:{position:"relative",paddingBottom:40},selectColorSkeletonContainer:{display:"flex",flexDirection:"row",columnGap:"12px"},selectColorSkeleton:{width:78,height:78,borderRadius:10,justifyContent:"space-between"},pricesContainerSkeleton:{paddingBottom:24}}),{name:"ProductDetailSkeleton"});function Vr(){const u=_r();return e.jsx(J,{className:u.pageContainer,children:e.jsx(se,{fixed:!0,maxWidth:"xl",children:e.jsxs(o,{container:!0,spacing:3,justifyContent:"flex-start",wrap:"wrap",children:[e.jsxs(o,{item:!0,sm:"auto",xs:12,md:12,lg:12,xl:12,classes:{root:u.breadContainerSkeleton},children:[e.jsx(o,{item:!0,sm:"auto",xs:1,md:1,lg:1,xl:1,children:e.jsx(_,{className:u.breadButtonSkeleton,width:"100%",height:16,variant:"rect"})}),e.jsx(o,{item:!0,sm:"auto",xs:1,md:1,lg:1,xl:1,children:e.jsx(_,{className:u.breadButtonSkeleton,width:"100%",height:16,variant:"rect"})}),e.jsx(o,{item:!0,sm:"auto",xs:1,md:1,lg:1,xl:1,children:e.jsx(_,{className:u.breadButtonSkeleton,width:"100%",height:16,variant:"rect"})}),e.jsx(o,{item:!0,sm:"auto",xs:1,md:1,lg:1,xl:1,children:e.jsx(_,{className:u.breadButtonSkeleton,width:"100%",height:16,variant:"rect"})})]}),e.jsx(J,{display:"flex",justifyContent:"center",className:u.imageBigSkeleton,children:e.jsx(_,{variant:"rect"})}),e.jsxs(o,{container:!0,item:!0,sm:12,xs:12,md:7,lg:4,xl:"auto",justifyContent:"center",spacing:3,className:u.leftElemContainer,children:[e.jsx(o,{item:!0,xs:12,md:12,xl:12,lg:12,sm:12,children:e.jsx(_,{width:"100%",style:{height:"16px"},height:24,variant:"rect"})}),e.jsx(o,{item:!0,xs:12,md:12,xl:12,lg:12,sm:12,children:e.jsx(_,{width:"100%",height:24,variant:"rect"})}),e.jsxs(o,{container:!0,spacing:3,item:!0,justifyContent:"space-between",classes:{root:u.selectSkuContainerSkeleton},children:[e.jsxs(o,{item:!0,xl:12,lg:12,md:12,sm:12,xs:12,className:u.selectColorSkeletonContainer,children:[e.jsx(_,{className:u.selectColorSkeleton}),e.jsx(_,{className:u.selectColorSkeleton})]}),e.jsxs(o,{item:!0,xl:12,lg:12,md:12,sm:12,xs:12,className:u.selectColorSkeletonContainer,children:[e.jsx(_,{height:80,width:80}),e.jsx(_,{height:80,width:80}),e.jsx(_,{height:80,width:80})]}),e.jsxs(o,{item:!0,xl:12,lg:12,md:12,sm:12,xs:12,className:u.selectColorSkeletonContainer,justifyContent:"space-between",children:[e.jsxs(o,{className:u.selectColorSkeletonContainer,xl:6,lg:6,md:6,sm:6,xs:6,children:[e.jsx(_,{className:u.selectColorSkeleton,height:20,width:"100%"}),e.jsx(_,{className:u.selectColorSkeleton,height:20,width:"100%"})]}),e.jsx(o,{xl:4,lg:4,md:4,sm:4,xs:4,children:e.jsx(_,{className:u.selectColorSkeleton,width:"100%"})})]}),e.jsx(o,{item:!0,container:!0,classes:{root:u.pricesContainerSkeleton},children:e.jsx(_,{className:u.selectColorSkeleton,width:"100%",height:40,variant:"rect"})}),e.jsxs(o,{item:!0,container:!0,justifyContent:"space-between",children:[e.jsx(o,{item:!0,xl:9,lg:9,md:9,sm:9,xs:8,children:e.jsx(_,{className:u.selectColorSkeleton,width:"100%",height:40,variant:"rect"})}),e.jsx(o,{item:!0,xl:2,lg:2,md:2,sm:3,xs:3,children:e.jsx(_,{className:u.selectColorSkeleton,width:"100%",height:40,variant:"rect"})})]}),e.jsx(o,{item:!0,container:!0,children:e.jsxs(o,{item:!0,container:!0,spacing:3,justifyContent:"space-between",children:[e.jsx(o,{item:!0,xs:"auto",xl:6,children:e.jsx(_,{className:u.selectColorSkeleton,width:"100%",height:34,variant:"rect"})}),e.jsx(o,{item:!0,xs:"auto",xl:6,children:e.jsx(_,{className:u.selectColorSkeleton,width:"100%",height:34,variant:"rect"})}),e.jsx(o,{item:!0,xs:"auto",xl:6,children:e.jsx(_,{className:u.selectColorSkeleton,width:"100%",height:34,variant:"rect"})}),e.jsx(o,{item:!0,xs:"auto",xl:6,children:e.jsx(_,{className:u.selectColorSkeleton,width:"100%",height:34,variant:"rect"})})]})})]})]})]})})})}function Ye(){return e.jsxs("figure",{children:[e.jsx("img",{src:"/local/templates/peak/img/peak_horizontal_black.svg"}),e.jsx("figcaption",{children:e.jsx(l,{children:"Уникальный ассортимент, кропотливо отобранный экспертами для нашего нового проекта PEAK."})})]})}const Je=(u,r)=>Y(Math.ceil(u/100*r)),Ur=u=>{const[r,i]=lu.useState(0),s=(x,C)=>i(C),t=Q(x=>{var C;return(C=x.productPageSlice)==null?void 0:C.selectedSku}).retail_price,n=Math.ceil(t/4),a=Math.ceil(t/3),c=Math.ceil(t/6),d=Math.ceil(t/10),b=(x=new Date,C=6)=>{const w=Math.floor(C/2)+1,v=new Intl.DateTimeFormat("ru-RU",{day:"numeric",month:"long"});return Array.from({length:w},(S,j)=>v.format(new Date(x.getTime()+j*14*24*60*60*1e3)))},p=(x=new Date)=>{const C=new Intl.DateTimeFormat("ru-RU",{day:"numeric",month:"long"}),h=new Date(x.getFullYear(),x.getMonth()+1,x.getDate());return C.format(h)};return e.jsxs("div",{className:"dolyameScheme",children:[e.jsxs(hu,{value:r,onChange:s,classes:{flexContainer:"flexContainer",indicator:"indicator"},children:[e.jsx(ie,{label:"6 недель"}),e.jsx(ie,{label:"3 мес"}),e.jsx(ie,{label:"6 мес"})]}),e.jsxs(he,{value:r,index:0,children:[e.jsx("div",{className:"info",children:b().map((x,C)=>e.jsxs("div",{children:[x,e.jsx("div",{className:"price",children:Y(n)})]},C))}),e.jsx(ge,{count:4}),e.jsx(l,{variant:"body2",color:"secondary",className:"text",children:"Примерный график, может быть сервисный сбор"})]}),e.jsxs(he,{value:r,index:1,children:[e.jsxs("div",{className:"info",children:[e.jsxs("div",{children:["Сегодня",e.jsx("div",{className:"price",children:Y(0)})]}),e.jsxs("div",{children:["Далее 3 платежа с ",p(),e.jsxs(l,{variant:"body2",color:"primary",className:"price",children:["от ",Y(a)," в месяц"]})]})]}),e.jsx(ge,{count:4}),e.jsxs(l,{variant:"body2",color:"secondary",className:"text",children:["Примерный график, может быть сервисный сбор. Переплата ",Je(t,3)," (3%)"]})]}),e.jsxs(he,{value:r,index:2,children:[e.jsxs("div",{className:"info",children:[e.jsxs("div",{children:["Сегодня",e.jsx("div",{className:"price",children:Y(0)})]}),e.jsxs("div",{children:["Далее 6 платежей с ",p(),e.jsxs(l,{variant:"body2",color:"primary",className:"price",children:["от ",Y(c)," в месяц"]})]})]}),e.jsx(ge,{count:7}),e.jsxs(l,{variant:"body2",color:"secondary",className:"text",children:["Примерный график, может быть сервисный сбор. Переплата ",Je(t,7.5)," (7.5%)"]})]}),e.jsxs(he,{value:r,index:3,children:[e.jsxs("div",{className:"info",children:[e.jsxs("div",{children:["Сегодня",e.jsx("div",{className:"price",children:Y(0)})]}),e.jsxs("div",{children:["Далее 10 платежей с ",p(),e.jsxs(l,{variant:"body2",color:"primary",className:"price",children:["от ",Y(d)," в месяц"]})]})]}),e.jsx(ge,{count:13}),e.jsx(l,{variant:"body2",color:"secondary",className:"text",children:"Примерный график, может быть сервисный сбор"})]})]})};function he({children:u,value:r,index:i,...s}){return e.jsx("div",{role:"tabpanel",hidden:r!==i,...s,children:u})}function ge({count:u}){return e.jsx("div",{className:"indicators",children:Array(u).fill(1).map(r=>e.jsx("div",{}))})}function Hr(u){return e.jsxs("svg",{width:"200",height:"30",viewBox:"0 6 64 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",...u,children:[e.jsx("rect",{width:"64",height:"20",rx:"2",fill:"white"})," ",e.jsx("path",{d:"M47.9412 9.81863L45.9579 7.57313H44.7984V12.7722H46.009V9.45511L47.8197 11.4204H48.0435L49.823 9.45511V12.7722H51.0336V7.57313H49.8741L47.9412 9.81863Z",fill:"black"})," ",e.jsx("path",{d:"M56.8017 7.57313L53.8011 10.9524V7.57313H52.5905V12.7722H53.6996L56.7002 9.39301V12.7722H57.9108V7.57313H56.8017Z",fill:"black"})," ",e.jsx("path",{d:"M38.2776 9.47556C38.2776 10.3033 38.7221 10.9554 39.4045 11.2288L38.125 12.7722H39.6067L40.7707 11.3681H42.0301V12.7722H43.2407V7.57313H40.1587C39.0096 7.57313 38.2776 8.37364 38.2776 9.47556ZM42.0309 8.71822V10.2556H40.3832C39.8335 10.2556 39.5386 9.94359 39.5386 9.48616C39.5386 9.02873 39.8438 8.71671 40.3832 8.71671L42.0309 8.71822Z",fill:"black"})," ",e.jsx("path",{d:"M32.6519 8.61295C32.5778 10.401 32.2074 11.5552 31.4821 11.5552H31.3005V12.8033L31.4939 12.8139C32.9482 12.8964 33.7521 11.5969 33.884 8.75836H35.7969V12.7722H37.0053V7.57313H32.6926L32.6519 8.61295Z",fill:"black"})," ",e.jsx("path",{d:"M28.0945 7.50049C26.4572 7.50049 25.2792 8.65467 25.2792 10.1724C25.2792 11.7423 26.5609 12.8556 28.0945 12.8556C29.6918 12.8556 30.9328 11.6802 30.9328 10.1724C30.9328 8.66451 29.6918 7.50049 28.0945 7.50049ZM28.0945 11.6075C27.1691 11.6075 26.5387 10.9941 26.5387 10.1724C26.5387 9.33021 27.1699 8.73343 28.0945 8.73343C29.0191 8.73343 29.6711 9.35748 29.6711 10.1724C29.6711 10.9873 29.0102 11.6075 28.0945 11.6075Z",fill:"black"})," ",e.jsx("path",{d:"M23.9949 7.58306H19.7223L19.6815 8.62288C19.6208 10.1209 19.237 11.5454 18.5117 11.5659L18.1761 11.5765V14H19.397V12.7731H23.6385V14H24.8699V11.5659H23.9949V7.58306ZM22.7843 11.5659H20.2009C20.638 10.8904 20.8721 9.91263 20.9129 8.76905H22.7843V11.5659Z",fill:"black"})," ",e.jsx("path",{d:"M15.3913 6.39997H14.2174V12.8H15.3913V6.39997Z",fill:"black"})," ",e.jsx("path",{d:"M12.6522 6.80001H11.4783V13.2H12.6522V6.80001Z",fill:"black"})," ",e.jsx("path",{d:"M9.91305 7.19999H8.73914V13.6H9.91305V7.19999Z",fill:"black"})," ",e.jsx("path",{d:"M7.17391 7.60003H6V14H7.17391V7.60003Z",fill:"black"})]})}const Or=()=>e.jsxs(e.Fragment,{children:[e.jsx(Hr,{className:"dolyamiLogo"}),e.jsx(Ur,{className:"scheme"}),e.jsxs(l,{className:"otherInfo",color:"secondary",children:["Подробную информацию о работе сервиса можно посмотреть на сайте"," ",e.jsx("a",{href:"http://dolyame.ru",target:"_blank",rel:"noreferrer",children:"dolyame.ru"})]})]}),zr="/local/traektoria_ta/build/assets/img/yandexSplit-6a394f14.png";const Mr=()=>e.jsxs("div",{className:"yandexBlock",children:[e.jsxs(o,{className:"yandexBlock yandexTitle",children:[e.jsx("img",{src:zr,alt:"yandexSplit"}),e.jsx(l,{children:"— ОПЛАТА ЧАСТЯМИ"})]}),e.jsxs(l,{component:"div",className:"mainInfo",children:["Спишем 1/4 стоимости покупки,",e.jsx("br",{}),"остальное потом"]}),e.jsxs(l,{className:"yandexInfo",children:["Оплачивайте покупку любой картой, привязанной к вашему Яндекс ID.",e.jsx("br",{}),"Заплатить можно сразу полную сумму",e.jsx("br",{}),"или разбить цену на части — с помощью Сплита."]}),e.jsxs(o,{className:"info-installments",children:[e.jsxs(o,{className:"block",children:[e.jsxs(o,{item:!0,xs:3,children:[e.jsx(l,{children:"25%"}),e.jsx(l,{children:"Платеж сегодня"}),e.jsx("hr",{})]}),e.jsxs(o,{item:!0,xs:3,children:[e.jsx(l,{children:"25%"}),e.jsx(l,{children:"Через 2 недели"}),e.jsx("hr",{})]}),e.jsxs(o,{item:!0,xs:3,children:[e.jsx(l,{children:"25%"}),e.jsx(l,{children:"Через 4 неделия"}),e.jsx("hr",{})]}),e.jsxs(o,{item:!0,xs:3,children:[e.jsx(l,{children:"25%"}),e.jsx(l,{children:"Через 6 недели"}),e.jsx("hr",{})]})]}),e.jsxs(o,{className:"textBlock",children:[e.jsx(l,{children:"Первый платеж — 1/4 стоимости покупки"}),e.jsx(l,{children:"Оставшиеся деньги — по графику раз в две недели"}),e.jsx(l,{children:"Также доступен длинный сплит — на 4 или 6 месяцев."})]})]}),e.jsxs(l,{className:"otherInfo",color:"secondary",children:["Используя Яндекс Пэй вы соглашаетесь с условиями"," ",e.jsx("a",{href:"https://bootwood.com/upload/yandex_split.pdf",target:"_blank",rel:"noreferrer",children:"оферты"})]})]});const Gr={Dolyami:e.jsx(Or,{}),YandexSplit:e.jsx(Mr,{})},Qe=({items:u,fullPrice:r=0})=>{const i=r/4,[s,t]=D.useState(!1),n=()=>t(!1),a=()=>t(!0),[c,d]=D.useState(u[0].name);return e.jsxs(e.Fragment,{children:[e.jsx(o,{item:!0,container:!0,justifyContent:"space-between",children:e.jsx(o,{item:!0,xs:12,children:e.jsxs(l,{component:"div",className:"dolyami",onClick:a,children:["4 платежа по ",Y(i)]})})}),e.jsx(je,{open:s,onClose:n,onCloseIcon:n,scroll:"paper",maxWidth:!1,children:e.jsx(o,{container:!0,children:e.jsx(o,{item:!0,xs:12,children:e.jsxs("div",{className:"dialogContent",children:[u.length>1&&e.jsx(o,{className:"titleBlock",children:u.map(({name:b,title:p})=>e.jsx(ae,{onClick:()=>d(b),className:ne("btn",{"btn-active":c===b}),children:p}))}),Gr[c]]})})})})]})};function Ke(u){return typeof u=="object"&&u!=null&&u.nodeType===1}function Xe(u,r){return(!r||u!=="hidden")&&u!=="visible"&&u!=="clip"}function Be(u,r){if(u.clientHeight<u.scrollHeight||u.clientWidth<u.scrollWidth){var i=getComputedStyle(u,null);return Xe(i.overflowY,r)||Xe(i.overflowX,r)||function(s){var t=function(n){if(!n.ownerDocument||!n.ownerDocument.defaultView)return null;try{return n.ownerDocument.defaultView.frameElement}catch{return null}}(s);return!!t&&(t.clientHeight<s.scrollHeight||t.clientWidth<s.scrollWidth)}(u)}return!1}function xe(u,r,i,s,t,n,a,c){return n<u&&a>r||n>u&&a<r?0:n<=u&&c<=i||a>=r&&c>=i?n-u-s:a>r&&c<i||n<u&&c>i?a-r+t:0}var eu=function(u,r){var i=window,s=r.scrollMode,t=r.block,n=r.inline,a=r.boundary,c=r.skipOverflowHiddenElements,d=typeof a=="function"?a:function(de){return de!==a};if(!Ke(u))throw new TypeError("Invalid target");for(var b,p,x=document.scrollingElement||document.documentElement,C=[],h=u;Ke(h)&&d(h);){if((h=(p=(b=h).parentElement)==null?b.getRootNode().host||null:p)===x){C.push(h);break}h!=null&&h===document.body&&Be(h)&&!Be(document.documentElement)||h!=null&&Be(h,c)&&C.push(h)}for(var w=i.visualViewport?i.visualViewport.width:innerWidth,v=i.visualViewport?i.visualViewport.height:innerHeight,S=window.scrollX||pageXOffset,j=window.scrollY||pageYOffset,k=u.getBoundingClientRect(),H=k.height,T=k.width,q=k.top,V=k.right,L=k.bottom,E=k.left,f=t==="start"||t==="nearest"?q:t==="end"?L:q+H/2,g=n==="center"?E+T/2:n==="end"?V:E,B=[],O=0;O<C.length;O++){var A=C[O],R=A.getBoundingClientRect(),G=R.height,P=R.width,M=R.top,I=R.right,m=R.bottom,y=R.left;if(s==="if-needed"&&q>=0&&E>=0&&L<=v&&V<=w&&q>=M&&L<=m&&E>=y&&V<=I)return B;var F=getComputedStyle(A),z=parseInt(F.borderLeftWidth,10),W=parseInt(F.borderTopWidth,10),K=parseInt(F.borderRightWidth,10),X=parseInt(F.borderBottomWidth,10),Z=0,N=0,ee="offsetWidth"in A?A.offsetWidth-A.clientWidth-z-K:0,ue="offsetHeight"in A?A.offsetHeight-A.clientHeight-W-X:0,le="offsetWidth"in A?A.offsetWidth===0?0:P/A.offsetWidth:0,re="offsetHeight"in A?A.offsetHeight===0?0:G/A.offsetHeight:0;if(x===A)Z=t==="start"?f:t==="end"?f-v:t==="nearest"?xe(j,j+v,v,W,X,j+f,j+f+H,H):f-v/2,N=n==="start"?g:n==="center"?g-w/2:n==="end"?g-w:xe(S,S+w,w,z,K,S+g,S+g+T,T),Z=Math.max(0,Z+j),N=Math.max(0,N+S);else{Z=t==="start"?f-M-W:t==="end"?f-m+X+ue:t==="nearest"?xe(M,m,G,W,X+ue,f,f+H,H):f-(M+G/2)+ue/2,N=n==="start"?g-y-z:n==="center"?g-(y+P/2)+ee/2:n==="end"?g-I+K+ee:xe(y,I,P,z,K+ee,g,g+T,T);var te=A.scrollLeft,ce=A.scrollTop;f+=ce-(Z=Math.max(0,Math.min(ce+Z/re,A.scrollHeight-G/re+ue))),g+=te-(N=Math.max(0,Math.min(te+N/le,A.scrollWidth-P/le+ee)))}B.push({el:A,top:Z,left:N})}return B};function fu(u){return u===Object(u)&&Object.keys(u).length!==0}function Pr(u,r){r===void 0&&(r="auto");var i="scrollBehavior"in document.body.style;u.forEach(function(s){var t=s.el,n=s.top,a=s.left;t.scroll&&i?t.scroll({top:n,left:a,behavior:r}):(t.scrollTop=n,t.scrollLeft=a)})}function Wr(u){return u===!1?{block:"end",inline:"nearest"}:fu(u)?u:{block:"start",inline:"nearest"}}function $r(u,r){var i=u.isConnected||u.ownerDocument.documentElement.contains(u);if(fu(r)&&typeof r.behavior=="function")return r.behavior(i?eu(u,r):[]);if(i){var s=Wr(r);return Pr(eu(u,s),s.behavior)}}const Zr=U(u=>({brandImage:{width:140,height:"auto"},brandImageWrapper:{display:"flex",alignItems:"center"},textHeaderTab:{paddingBottom:u.spacing(3)},accordion:{backgroundColor:"unset",boxShadow:"unset","&:before":{content:"unset"},"&$accordionExpanded":{margin:"unset"}},accordionSummary:{padding:0},accordionExpanded:{},accordionText:{fontSize:u.typography.pxToRem(14)},accordionList:{margin:0,paddingLeft:17},accordionListItem:{"&::marker":{fontSize:16}},accordionDetail:{flexWrap:"wrap",padding:0},expandIcon:{padding:0,margin:0,transform:"rotate(45deg)"},expandedIcon:{"&$expandIcon":{transform:"rotate(0deg)"}},filterName:{fontFamily:"TTFirsNeue-Medium, sans-serif"},filterValue:{fontSize:"0.9rem",textAlign:"right"}}),{name:"AboutTab"}),Yr=()=>{const u=D.useContext($),r=u==null?void 0:u.descriptions,i=u==null?void 0:u.filter_options,s=u==null?void 0:u.model.brand,t=Zr();return e.jsxs(o,{item:!0,container:!0,spacing:3,justifyContent:"space-between",children:[e.jsx(o,{item:!0,xl:8,xs:12,md:6,children:e.jsx(l,{style:{fontSize:"14px"},variant:"body1",dangerouslySetInnerHTML:{__html:(r==null?void 0:r.features)??""}})}),e.jsxs(o,{item:!0,xl:4,xs:12,md:4,children:[e.jsx(l,{variant:"h4",classes:{root:t.textHeaderTab},children:"Параметры фильтра"}),i==null?void 0:i.map((n,a)=>e.jsxs(J,{display:"flex",justifyContent:"space-between",pb:2,children:[e.jsx(l,{variant:"body1",className:t.filterName,dangerouslySetInnerHTML:{__html:n.name??""}}),e.jsx(l,{variant:"body1",className:t.filterValue,dangerouslySetInnerHTML:{__html:n.value??""}})]},a))]}),e.jsx(o,{item:!0,xs:12,children:s&&e.jsxs(Ku,{square:!0,classes:{root:t.accordion,expanded:t.accordionExpanded},elevation:0,TransitionProps:{unmountOnExit:!0},children:[e.jsx(Xu,{classes:{root:t.accordionSummary,expandIcon:t.expandIcon,expanded:t.expandedIcon},expandIcon:e.jsx(Du,{}),"aria-controls":"panel1a-content",id:"panel1a-header",children:e.jsx(l,{variant:"h4",children:"Бренд"})}),e.jsx(er,{classes:{root:t.accordionDetail},children:e.jsxs(o,{container:!0,spacing:3,children:[e.jsx(o,{className:t.brandImageWrapper,item:!0,xs:"auto",children:e.jsx(ae,{component:au,to:u.model.brand.url,color:"default",variant:"text",children:e.jsx("img",{className:t.brandImage,src:s.image,alt:s.name})})}),e.jsx(o,{item:!0,md:9,xs:"auto",children:e.jsx(l,{variant:"body1",dangerouslySetInnerHTML:{__html:`<!--noindex--> ${s.description} <!--/noindex-->`??""},classes:{root:t.accordionText}})}),e.jsx(o,{item:!0,xs:12,children:e.jsx(ae,{variant:"text",color:"default",endIcon:e.jsx(ur,{}),href:s.url,children:e.jsx(l,{variant:"body2",children:s.name})})})]})})]})})]})};U(u=>({reviewsEmpty:{backgroundColor:u.color.black20,padding:u.spacing(7),borderRadius:u.spacing(1)},textEmpty:{fontSize:u.typography.pxToRem(24)}}),{name:"ReviewsEmpty"});const Jr=U(u=>({mainBlock:{"& p":{fontFamily:"TTFirsNeue-Medium, sans-serif",fontWeight:500}},ratingTitleForm:{marginBottom:u.spacing(3)},ratingHeaderText:{fontSize:u.typography.pxToRem(20),lineHeight:"32px"},ratingInfoText:{fontSize:u.typography.pxToRem(14)},fileButton:{fontSize:u.typography.pxToRem(14),color:u.color.black60,padding:"8px 16px",borderRadius:12,justifyContent:"space-between",backgroundColor:"#F0F3F6","&:hover":{backgroundColor:"#E0E3E6",color:u.color.black60}},addFileButton:{padding:"8px 16px"},reviewTitle:{marginBlockStart:30,fontSize:"2rem",lineHeight:"2rem"}}),{name:"RatingForm"}),uu=1e3,ye={text:"",rating:null},Qr=({onSubmit:u,initialState:r=ye})=>{var b;const i=Jr(),s=D.useRef(null),[t,n]=D.useState(r),a=()=>n(ye),c=()=>{u(t),a()},d=p=>{p.preventDefault()};return D.useEffect(()=>{r!==ye&&setTimeout(()=>{var p;(p=s==null?void 0:s.current)==null||p.scrollIntoView({behavior:"smooth"})},500)},[r]),e.jsxs(o,{container:!0,item:!0,spacing:3,ref:s,classes:{root:i.mainBlock},children:[e.jsx(o,{item:!0,xs:12,classes:{root:i.ratingTitleForm},children:e.jsx(l,{className:i.reviewTitle,variant:"body1",children:"Отзыв о товаре"})}),e.jsx(o,{item:!0,xs:12,children:e.jsx(l,{variant:"body1",classes:{root:i.ratingHeaderText},children:"Ваша общая оценка"})}),e.jsx(o,{item:!0,xs:12,children:e.jsx(Se,{name:"hover-feedback",size:"large",value:t==null?void 0:t.rating,emptyIcon:e.jsx(rr,{fontSize:"inherit"}),onChange:(p,x)=>{n(C=>({...C,rating:x||0}))}})}),e.jsx(o,{item:!0,xs:12,children:e.jsx(l,{variant:"body1",classes:{root:i.ratingHeaderText},children:"Отзыв"})}),e.jsx(o,{item:!0,md:8,xs:12,children:e.jsx(tr,{fullWidth:!0,onChange:p=>{n(x=>({...x,text:p.target.value}))},onPaste:d,value:t==null?void 0:t.text,id:"standard-multiline-static",multiline:!0,rows:4,inputProps:{maxLength:uu},placeholder:"Ваше мнение о товаре",helperText:`Осталось символов ${uu-t.text.length}`})}),e.jsx(o,{container:!0,item:!0,children:e.jsx(o,{container:!0,item:!0,spacing:3,children:e.jsx(o,{item:!0,md:3,xs:12,children:e.jsx(ae,{disabled:((b=t==null?void 0:t.text)==null?void 0:b.length)<10||!(t!=null&&t.rating),onClick:c,color:"default",fullWidth:!0,variant:"contained",children:"Отправить отзыв"})})})})]})},Kr=U(u=>({box:{backgroundColor:"#F0F3F6",borderRadius:16,padding:16},logo:{width:33,height:33,borderRadius:"50%"},text:{fontFamily:"TTFirsNeue-Light, sans-serif"}}),{name:"ModeratorAnswer"}),Xr="/local/traektoria_ta/build/img/logo_circle.png";function et({text:u,date:r}){const i=Kr();return e.jsx(J,{className:i.box,children:e.jsxs(o,{container:!0,spacing:2,justifyContent:"space-between",alignItems:"center",children:[e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:"auto",sm:"auto",xs:"auto",children:e.jsxs(o,{item:!0,container:!0,spacing:2,alignItems:"center",children:[e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:"auto",sm:"auto",xs:"auto",children:e.jsx("img",{className:i.logo,src:Xr,alt:"Траектория"})}),e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:"auto",sm:"auto",xs:"auto",children:e.jsx(l,{variant:"body1",children:"Поддержка Траектории"})})]})}),r&&e.jsx(o,{item:!0,xl:"auto",lg:"auto",md:"auto",sm:"auto",xs:"auto",children:e.jsx(l,{variant:"body1",children:r})}),e.jsx(o,{item:!0,xl:12,lg:12,md:12,sm:12,xs:12,children:e.jsx(l,{variant:"body1",classes:{root:i.text},children:u})})]})})}var Ae={exports:{}};/*! https://mths.be/he v1.2.0 by @mathias | MIT license */Ae.exports;(function(u,r){(function(i){var s=r,t=u&&u.exports==s&&u,n=typeof Ee=="object"&&Ee;(n.global===n||n.window===n)&&(i=n);var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=/[\x01-\x7F]/g,d=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,b=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,p={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","	":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf",ℬ:"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf",ℭ:"Cfr","𝒞":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH","ⅇ":"ee",ℯ:"escr","𝔢":"efr","𝕖":"eopf",ℰ:"Escr","𝔈":"Efr","𝔼":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","𝔥":"hfr",ℎ:"planckh","𝒽":"hscr","𝕙":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr",ķ:"kcedil",Ķ:"Kcedil","𝔩":"lfr","𝓁":"lscr",ℓ:"ell","𝕝":"lopf",ℒ:"Lscr","𝔏":"Lfr","𝕃":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf",ℳ:"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr",ℕ:"Nopf","𝒩":"Nscr","𝔑":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","𝕠":"oopf","𝔬":"ofr",ℴ:"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf",ℙ:"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr",ℚ:"Qopf",ĸ:"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf",ℨ:"Zfr",ℤ:"Zopf","𝒵":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi","ϵ":"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},x=/["&'<>`]/g,C={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,w=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,v=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,S={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
`,nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"	",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},j={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},k={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},H=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],T=String.fromCharCode,q={},V=q.hasOwnProperty,L=function(m,y){return V.call(m,y)},E=function(m,y){for(var F=-1,z=m.length;++F<z;)if(m[F]==y)return!0;return!1},f=function(m,y){if(!m)return y;var F={},z;for(z in y)F[z]=L(m,z)?m[z]:y[z];return F},g=function(m,y){var F="";return m>=55296&&m<=57343||m>1114111?(y&&A("character reference outside the permissible Unicode range"),"�"):L(k,m)?(y&&A("disallowed character reference"),k[m]):(y&&E(H,m)&&A("disallowed character reference"),m>65535&&(m-=65536,F+=T(m>>>10&1023|55296),m=56320|m&1023),F+=T(m),F)},B=function(m){return"&#x"+m.toString(16).toUpperCase()+";"},O=function(m){return"&#"+m+";"},A=function(m){throw Error("Parse error: "+m)},R=function(m,y){y=f(y,R.options);var F=y.strict;F&&w.test(m)&&A("forbidden code point");var z=y.encodeEverything,W=y.useNamedReferences,K=y.allowUnsafeSymbols,X=y.decimal?O:B,Z=function(N){return X(N.charCodeAt(0))};return z?(m=m.replace(c,function(N){return W&&L(p,N)?"&"+p[N]+";":Z(N)}),W&&(m=m.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),W&&(m=m.replace(b,function(N){return"&"+p[N]+";"}))):W?(K||(m=m.replace(x,function(N){return"&"+p[N]+";"})),m=m.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;"),m=m.replace(b,function(N){return"&"+p[N]+";"})):K||(m=m.replace(x,Z)),m.replace(a,function(N){var ee=N.charCodeAt(0),ue=N.charCodeAt(1),le=(ee-55296)*1024+ue-56320+65536;return X(le)}).replace(d,Z)};R.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var G=function(m,y){y=f(y,G.options);var F=y.strict;return F&&h.test(m)&&A("malformed character reference"),m.replace(v,function(z,W,K,X,Z,N,ee,ue,le){var re,te,ce,de,pe,me;return W?(pe=W,S[pe]):K?(pe=K,me=X,me&&y.isAttributeValue?(F&&me=="="&&A("`&` did not start a character reference"),z):(F&&A("named character reference was not terminated by a semicolon"),j[pe]+(me||""))):Z?(ce=Z,te=N,F&&!te&&A("character reference was not terminated by a semicolon"),re=parseInt(ce,10),g(re,F)):ee?(de=ee,te=ue,F&&!te&&A("character reference was not terminated by a semicolon"),re=parseInt(de,16),g(re,F)):(F&&A("named character reference was not terminated by a semicolon"),z)})};G.options={isAttributeValue:!1,strict:!1};var P=function(m){return m.replace(x,function(y){return C[y]})},M={version:"1.2.0",encode:R,decode:G,escape:P,unescape:G};if(s&&!s.nodeType)if(t)t.exports=M;else for(var I in M)L(M,I)&&(s[I]=M[I]);else i.he=M})(Ee)})(Ae,Ae.exports);var ut=Ae.exports;const Fe=mr(ut),rt=U(u=>({text:{fontFamily:"TTFirsNeue-Light, sans-serif"}}),{name:"UserAnswer"});function tt({rating:u,userName:r,text:i,date:s}){const t=rt();return e.jsxs(o,{container:!0,item:!0,spacing:2,justifyContent:"space-between",alignItems:"center",children:[e.jsx(o,{item:!0,xs:"auto",children:e.jsx(Se,{name:"read-only",size:"small",value:u,readOnly:!0})}),s&&e.jsx(o,{item:!0,xs:"auto",children:e.jsx(l,{variant:"body1",children:s})}),e.jsx(o,{item:!0,xs:12,children:e.jsx(l,{variant:"body1",children:r})}),e.jsx(o,{item:!0,xs:12,children:e.jsx(l,{variant:"body1",classes:{root:t.text},dangerouslySetInnerHTML:{__html:Fe.decode(i)}})})]})}const at=U(u=>({smallBox:{display:"flex",alignItems:"center","& > :not(:last-child)":{paddingRight:u.spacing(1)}},reviewBox:{paddingBottom:u.spacing(5),borderBottom:"1px solid #E0E3E6","&:not(:first-child)":{paddingTop:u.spacing(5)}}}),{name:"Reviews"});function st({scrollRef:u}){var t;const r=at(),i=D.useContext($),s=i==null?void 0:i.reviews;return e.jsx(e.Fragment,{children:e.jsx(o,{ref:u,container:!0,item:!0,spacing:3,children:e.jsx(o,{item:!0,xs:12,children:(t=s==null?void 0:s.list)==null?void 0:t.map(n=>e.jsx(J,{className:r.reviewBox,children:e.jsxs(o,{container:!0,spacing:5,children:[e.jsx(o,{item:!0,xl:12,lg:12,md:12,sm:12,xs:12,children:e.jsx(tt,{text:n.text,date:n.date,userName:n.user_name,rating:n.rating})}),n.manager_answer&&e.jsx(o,{item:!0,xl:12,lg:12,md:12,sm:12,xs:12,children:e.jsx(et,{date:n.manager_answer_date,text:n.manager_answer})})]})},n.id))})})})}const ot=(u,r)=>{localStorage.setItem(`review-${u}`,JSON.stringify(r))},it=u=>{const r=localStorage[`review-${u}`];return r&&JSON.parse(r)},nt=u=>{localStorage.removeItem(`review-${u}`)},lt=()=>{const u=yr(),r=D.useContext($),i=r==null?void 0:r.model.props.product_id,[s,t]=D.useState(!1),n=D.useRef(null),a=Q(h=>h.userAuth.authScreen),c=Q(h=>h.userAuth.isAuth),[d,{isFetching:b}]=nu();r==null||r.reviews.count.num;const[p]=vu(),x=async h=>{if(!c)return ot(i,h),t(!0);nt(i),await p({productId:i,...h}),await d({productId:i,SKU_ID:u.get("SKU")}),setTimeout(()=>{var w;(w=n==null?void 0:n.current)==null||w.scrollIntoView({behavior:"smooth"})},500)},C=it(i);return b?e.jsx(gr,{disableShrink:!0}):e.jsxs(e.Fragment,{children:[e.jsx(st,{scrollRef:n}),e.jsx(Qr,{onSubmit:x,initialState:C}),e.jsx(Dr,{isWrapped:!0,showCloseIcon:!0,open:s,onClose:()=>t(!1),handlerCloseIcon:()=>t(!1),closeIconPosition:"right",anchor:"right",title:Ie[a].title,subTitle:Ie[a].subTitle,children:e.jsx(hr,{})})]})},Le=U(u=>({RecommendateTitle:{marginBlockEnd:50,fontSize:u.typography.pxToRem(20),lineHeight:"32px"},weblayerWrapper:{display:"flex",overflowY:"auto",overflowX:"scroll","&::-webkit-scrollbar":{height:124},"&::-webkit-scrollbar-track":{background:"rgba(0,0,0,.1)",boxShadow:"inset 0 60px 0 0 #ffffff, inset 0 -60px 0 0 #ffffff",borderRadius:"11px/237px"},"&::-webkit-scrollbar-thumb":{borderBlock:"60px solid #ffffff",boxShadow:"inset 0 0 0 10px rgba(0,0,0,.5)",borderRadius:"6px/237px"}},weblayerInnerWrapper:{width:"auto",display:"flex",justifyContent:"space-between",fontFamily:"TTFirsNeue-Light, sans-serif",fontSize:14,"@media (max-width: 479px)":{fontSize:8}},weblayerItemLink:{textDecoration:"none"},weblayerItem:{width:170,marginInlineEnd:20,"@media (max-width: 479px)":{width:"100%",minWidth:105,maxWidth:130}},productCategory:{color:"#8F9BA4",textDecoration:"none",padding:0,margin:0,marginBottom:8},productName:{color:"#3A474E",padding:0,margin:0},productBrand:{textTransform:"uppercase"},priceWrapper:{display:"flex",color:"#3A474E",maxWidth:120,justifyContent:"space-between"},productOldPrice:{textDecoration:"line-through",color:"#8F9BA4"},weblayerItemImg:{display:"block",marginBottom:16,width:"100%"}}),{name:"RecommendationsViewed"}),ct=fe({bitrix_sessid:1}).sessid,Au=({sku:u=[]})=>{const r=Le(),[i,s]=D.useState([]);return D.useEffect(()=>{u.length&&fetch(`/slim/pages/products/sku/get/byid/?sessid=${ct}`,{method:"POST",body:JSON.stringify({id:u}),headers:{"Content-Type":"application/json"}}).then(t=>t.json()).then(({data:t})=>t).then(s)},[u]),i.length===0?null:e.jsx("div",{className:r.weblayerWrapper,children:e.jsx("div",{className:r.weblayerInnerWrapper,children:i.map(t=>t.colors_list.map(n=>Object.values(n.sku_list).filter(a=>a.isSelected).map(a=>e.jsx("div",{className:r.weblayerItem,children:e.jsx("a",{className:r.weblayerItemLink,href:`${t.url}?SKU=${a.id}`,target:"_blank",rel:"noreferrer",children:e.jsxs("div",{className:"img-wrapper",children:[e.jsx("img",{className:r.weblayerItemImg,src:n.gallery[0],width:"200px",alt:""}),e.jsx("p",{className:r.productCategory,children:t.thing_type}),e.jsxs("p",{className:r.productName,children:[e.jsx("span",{className:r.productBrand,children:`${t.brand.name} `}),t.model_name]}),e.jsx("div",{className:r.priceWrapper,children:e.jsx("p",{className:r.productPrice,children:`${a.retailPrice} ₽`})})]})})},a.id))))})})},dt=({className:u,productId:r,sku:i})=>{const s=Le(),{data:t}=Fu({productId:r,sku:i});return t!=null&&t.length?e.jsx(se,{fixed:!0,maxWidth:"xl",classes:{root:u},children:e.jsxs(o,{item:!0,xs:12,children:[e.jsx(l,{classes:{root:s.RecommendateTitle},variant:"h4",children:"Рекомендуемые товары"}),e.jsx(Au,{sku:t})]})}):null},pt=U(u=>({productTabsWrapper:{position:"relative"},tabPanelContainer:{paddingTop:36,paddingBottom:36},tabsBar:{color:u.color.black100,backgroundColor:"#FFFFFF",boxShadow:"unset"},tabIndicator:{backgroundColor:"#107BA2"},tabButton:{minHeight:80,minWidth:"max-content",padding:0,"&:not(:last-child)":{marginRight:u.spacing(6)},"& [data-badge]:after":{content:'" "attr(data-badge)',color:"#8F9BA4"}},tabTextColor:{color:u.color.black100,"&$tabTextSelected":{color:u.color.blue}},tabTextSelected:{},textHeaderTab:{paddingBottom:u.spacing(3)},productTabsLine:{position:"absolute",width:"100%",left:0,top:80,zIndex:20},lineSticky:{position:"sticky"},fakeAnchor:{position:"absolute",top:-80},anchorContainer:{position:"relative"},RecommendBlock:{"& > *:last-child":{paddingTop:30}},RecommendateTitle:{marginBlockEnd:30,fontSize:u.typography.pxToRem(20),lineHeight:"32px"}}),{name:"ProductTabs"}),mt=({children:u})=>{const r=pt(),i=D.useRef(null),[s,t]=D.useState(!1),[n,a]=D.useState(0),c=D.useContext($),d=c==null?void 0:c.reviews.count.num,b=c==null?void 0:c.model.props.product_id,p=c==null?void 0:c.selected_sku.id;function x(w){i.current&&(i.current.getBoundingClientRect().top<=0?t(!0):t(!1))}function C(w){const v=document.querySelector(`[data-tab-id="${w}"]`);v&&$r(v,{scrollMode:"always",block:"start",behavior:"smooth",skipOverflowHiddenElements:!0}),a(w)}const h=(w,v)=>{C(v)};return D.useEffect(()=>(window.addEventListener("scroll",x,{passive:!1}),()=>{window.removeEventListener("scroll",x)}),[]),c?e.jsxs(se,{ref:i,maxWidth:!1,classes:{root:ne([r.productTabsWrapper])},disableGutters:!0,children:[e.jsx(ar,{classes:{root:ne([r.productTabsLine,s&&r.lineSticky])}}),e.jsx(se,{fixed:!0,maxWidth:"xl",children:e.jsxs(o,{item:!0,xs:12,children:[e.jsx(sr,{position:s?"sticky":"relative",classes:{root:r.tabsBar},children:e.jsxs(hu,{value:n,onChange:h,indicatorColor:"primary",textColor:"primary",variant:"scrollable",scrollButtons:"auto",classes:{indicator:r.tabIndicator},children:[e.jsx(ie,{classes:{textColorPrimary:r.tabTextColor,selected:r.tabTextSelected,root:r.tabButton},label:"О товаре"}),e.jsx(ie,{classes:{textColorPrimary:r.tabTextColor,selected:r.tabTextSelected,root:r.tabButton},label:"Рекомендуемые товары"}),e.jsx(ie,{classes:{textColorPrimary:r.tabTextColor,selected:r.tabTextSelected,root:r.tabButton},label:e.jsx("span",{"data-badge":d,children:"Отзывы"})})]})}),e.jsx(se,{maxWidth:!1,disableGutters:!0,classes:{root:r.tabPanelContainer},children:e.jsxs(o,{container:!0,justifyContent:"space-between",spacing:5,"data-tab-panel":"tab-panel",children:[e.jsxs(o,{item:!0,container:!0,className:r.anchorContainer,children:[e.jsx(J,{className:r.fakeAnchor,"data-tab-id":0}),e.jsx(Yr,{})]}),e.jsxs(o,{item:!0,container:!0,className:r.anchorContainer,children:[e.jsx(J,{className:r.fakeAnchor,"data-tab-id":1}),b&&e.jsx(dt,{className:r.RecommendBlock,productId:b,sku:p})]}),e.jsxs(o,{item:!0,container:!0,className:r.anchorContainer,children:[e.jsx(J,{className:r.fakeAnchor,"data-tab-id":2}),e.jsx(lt,{})]})]})})]})})]}):null};var Ne={},Dt=ke;Object.defineProperty(Ne,"__esModule",{value:!0});var bu=Ne.default=void 0,ht=Dt(qe()),gt=e;bu=Ne.default=(0,ht.default)((0,gt.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy");var Re={},xt=ke;Object.defineProperty(Re,"__esModule",{value:!0});var Cu=Re.default=void 0,ft=xt(qe()),At=e;Cu=Re.default=(0,ft.default)((0,At.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined");const bt=U(()=>({mainBlock:{minHeight:132,margin:9,borderRadius:16,display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-around",paddingBlock:10},title:{display:"flex",width:"100%",justifyContent:"center",alignItems:"start","& button":{padding:0,paddingBlockStart:1,width:"10%",justifyContent:"end",marginInlineEnd:20}},text:{width:"90%",marginInlineStart:20},inputGrid:{width:"100%",display:"flex",alignItems:"end",justifyContent:"space-between"},inputSpend:{background:"#FFFBFB",height:36,color:"#3A474E",marginInline:20,"font-family":"TTFirsNeue-Regular, sans-serif",width:"auto","line-height":"40px",border:"1px solid rgba(143, 155, 164, 0.4)","border-radius":"16px","padding-inline":"20px 8px","max-width":"66%",display:"flex",overflow:"hidden","text-wrap":"nowrap","& > span":{overflow:"hidden",position:"relative","padding-inline-end":"20px","&:after":{content:'""',"pointer-events":"none",position:"absolute",width:"30px",height:"100%",top:0,right:0,"background-image":"linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 74%, rgba(255,255,255,1) 100%)"}},"& > button":{padding:0}},textLeft:{textAlign:"end",marginInlineEnd:20,"& > :first-child":{fontSize:12},"& > :last-child":{fontSize:16}},data:{display:"flex","& p":{display:"flex",justifyContent:"center",alignItems:"center"},"& :nth-child(odd)":{borderRadius:8,border:"1px solid rgba(0, 0, 0, 0.06)",width:30,height:30},"& :nth-child(even)":{marginInline:2}},dialogRoot:{padding:24,"& .MuiDialogContent-dividers":{overflow:"initial",border:"none"},"& .MuiDialogTitle-root":{padding:0,"margin-block-end":24,"& h2":{fontSize:"20px",lineHeight:"30px"}}}}),{name:"AdvertBanner"}),ru=()=>{var g;const u=bt(),r=D.useContext($),{text:i,conditions:s,promocode:t,date_end:n,background_color:a,text_color:c}=(g=r==null?void 0:r.model)==null?void 0:g.advert_banner,[d,b]=D.useState(t),[p,x]=D.useState(!1),C=()=>{x(!0)},h=()=>{x(!1)},w=()=>{navigator.clipboard.writeText(d).then(()=>{console.log("Текст скопирован в буфер обмена")}).catch(B=>{console.error("Не удалось скопировать текст: ",B)})};D.useEffect(()=>{b(t)},[t]);const v=new Date(n*1e3),[S,j]=D.useState(new Date),k=v-S,[H,T]=D.useState(!1);D.useEffect(()=>{const B=setInterval(()=>j(new Date),1e3);return()=>clearInterval(B)},[]);const q=Math.floor(k/(1e3*60*60*24)),V=Math.floor(k%(1e3*60*60*24)/(1e3*60*60)),L=Math.floor(k%(1e3*60*60)/(1e3*60));let E=Math.floor(k%(1e3*60)/1e3);const f=B=>{const O=B%100;if(O>=11&&O<=14)return`${B} дней`;const A=B%10;return A==1?`${B} день`:A==0||A>=5?`${B} дней`:`${B} дня`};return D.useEffect(()=>{if(q<0)return setTimeout(()=>T(!0),3e4)},[q]),!H&&e.jsxs(o,{container:!0,xs:"auto",className:u.mainBlock,style:{background:Vu(a)},children:[e.jsxs("div",{className:u.title,children:[e.jsx(l,{className:u.text,style:{color:c},dangerouslySetInnerHTML:{__html:Fe.decode(i)}}),s&&e.jsx(Ue,{"aria-label":"info",onClick:C,children:e.jsx(Cu,{style:{color:c}})})]}),d&&e.jsxs("div",{className:u.inputGrid,children:[e.jsxs("div",{className:u.inputSpend,children:[e.jsx("span",{children:d}),e.jsx(Ue,{"aria-label":"copy",onClick:w,children:e.jsx(bu,{})})]}),e.jsx("div",{className:u.textLeft,children:q?e.jsx(e.Fragment,{children:q<0?e.jsx(l,{style:{color:c},children:"Акция завершена"}):e.jsxs(e.Fragment,{children:[e.jsx(l,{style:{color:c},children:q>1?"Осталось":"Остался"}),e.jsx(l,{style:{color:c,fontSize:18},children:f(q)})]})}):e.jsxs(e.Fragment,{children:[e.jsx(l,{style:{color:c},children:"Осталось"}),e.jsxs("div",{className:u.data,children:[e.jsx(l,{style:{color:c},children:V>=10?V:`0${V}`}),e.jsx(l,{style:{color:c},children:":"}),e.jsx(l,{style:{color:c},children:L>=10?L:`0${L}`}),e.jsx(l,{style:{color:c},children:":"}),e.jsx(l,{style:{color:c},children:E>=10?E:`0${E}`})]})]})})]}),e.jsx(or,{maxWidth:"xl",open:p,onClose:h,PaperProps:{classes:{root:u.dialogRoot}},children:e.jsx(l,{dangerouslySetInnerHTML:{__html:Fe.decode(s)}})})]})},Ct=({className:u,productId:r})=>{const i=Le(),{data:s}=ju(r);return(s==null?void 0:s.length)<3?null:e.jsx(se,{fixed:!0,maxWidth:"xl",classes:{root:u},children:e.jsxs(o,{item:!0,xs:12,children:[e.jsx(l,{classes:{root:i.RecommendateTitle},variant:"h4",children:"Ранее просмотренные товары"}),e.jsx(Au,{sku:s})]})})},Et=U(u=>({pageContainer:{borderTop:"1px solid #E0E3E6",paddingBottom:u.spacing(2),paddingTop:u.spacing(2),position:"relative",backgroundColor:"#ffffff"},breadCrumbsGrid:{"& > *:first-child":{marginBlockEnd:12}},loadWrapper:{zIndex:u.zIndex.drawer,position:"absolute",backgroundColor:"rgba(255, 255, 255, 0.5)"},backDrop:{zIndex:u.zIndex.tooltip,backgroundColor:"rgba(255, 255, 255, 0.5)"},RecommendateBlock:{marginBlock:25},sideBar:{"@media (min-width: 1280px)":{borderLeft:"1px solid #E0E3E6",backgroundColor:"#FFFFFF"}},notAvailableText:{fontSize:"1.1rem"}}),{name:"ProductDetailCard"}),Bt=2e5,yt=15e4,wt=({isLoading:u=!1})=>{var G,P,M;const r=Et(),i=ou(),s=D.useContext($),t=Q(I=>{var m;return(m=I.productPageSlice)==null?void 0:m.selectedSku}),n=cu("(max-width: 960px)"),[a]=be(),c=D.useRef(null),d=s==null?void 0:s.model.props.is_peak,b=s==null?void 0:s.model.props.is_soon,[p,{data:x,isLoading:C}]=ku(),[h,w]=Ir(s),[v,S]=D.useState(!1),j=s==null?void 0:s.model.props.product_id,k=((P=(G=s==null?void 0:s.model)==null?void 0:G.props)==null?void 0:P.thing_type)==="Сертификат",H=(t==null?void 0:t.retail_price)<=Bt,q=[(t==null?void 0:t.retail_price)<=yt&&{name:"YandexSplit",title:"Яндекс Пэй со Сплитом"},H&&{name:"Dolyami",title:"Долями"}].filter(Boolean),V=q.length>0&&!k,L=(M=s==null?void 0:s.model)==null?void 0:M.advert_banner;if(D.useEffect(()=>{s&&(i(iu(s==null?void 0:s.selected_sku)),a({type:"viewItem",product_id:s.model.props.product_id}))},[s]),u)return e.jsxs(e.Fragment,{children:[e.jsx(du,{open:u??!0,classes:{root:r.backDrop},children:e.jsx(pu,{color:"primary"})}),e.jsx(Vr,{})]});const{props:E,brand:f,meta_itemprop:g}=(s==null?void 0:s.model)||{},B=`${E==null?void 0:E.thing_type} ${f==null?void 0:f.name} ${E==null?void 0:E.model_name}`,O=(t==null?void 0:t.id)||(s==null?void 0:s.selected_sku.id),A=t?t.size_title:s==null?void 0:s.selected_sku.size_title,R=(t==null?void 0:t.retail_price)||(s==null?void 0:s.selected_sku.retail_price);return e.jsxs(e.Fragment,{children:[e.jsx(Uu,{children:e.jsx("link",{rel:"canonical",href:`${location.origin}${location.pathname}`})}),e.jsxs(J,{itemScope:!0,itemType:"http://schema.org/Product",className:r.pageContainer,children:[e.jsx("meta",{itemProp:"name",content:B}),e.jsx("meta",{itemProp:"description",content:g==null?void 0:g.description}),e.jsx("div",{itemProp:"brand",itemType:"http://schema.org/Brand",itemScope:!0,children:e.jsx("meta",{itemProp:"name",content:f==null?void 0:f.name})}),e.jsx("meta",{itemProp:"category",content:E==null?void 0:E.thing_type}),e.jsx("meta",{itemProp:"sku",content:String(O)}),e.jsx("meta",{itemProp:"size",content:A}),e.jsx("meta",{itemProp:"color",content:h}),e.jsxs("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer",children:[e.jsx("meta",{itemProp:"sku",content:String(O)}),e.jsx("meta",{itemProp:"url",content:location.href}),e.jsx("meta",{itemProp:"price",content:String(R)}),e.jsx("meta",{itemProp:"priceCurrency",content:"RUB"}),e.jsx("link",{itemProp:"availability",href:"http://schema.org/OutOfStock"})]}),e.jsx(se,{fixed:!0,maxWidth:"xl",children:e.jsxs(o,{container:!0,spacing:3,justifyContent:"flex-start",wrap:"wrap",children:[e.jsxs(o,{item:!0,xs:12,md:8,className:r.breadCrumbsGrid,children:[e.jsx(Hu,{items:s==null?void 0:s.breadcrumb,children:e.jsx(Ou,{})}),e.jsx(Ar,{activeColor:h}),n&&e.jsx(o,{item:!0,xs:12,className:r.sideBar,children:e.jsxs(He,{containerRef:c,children:[e.jsx(Oe,{}),e.jsx(ze,{}),e.jsxs(Me,{children:[e.jsx(Ge,{selectedColor:h,onChangeColor:I=>I&&w(I)}),b||!h?e.jsxs(e.Fragment,{children:[R&&e.jsx(De,{}),e.jsx(_e,{productId:j,selectedColor:h})]}):e.jsxs(e.Fragment,{children:[e.jsx(Pe,{clickOnWishListIcon:v,actionWishlist:p,selectedColor:h,onClickSize:I=>null}),L&&e.jsx(ru,{}),e.jsx(De,{}),e.jsx(We,{addWishList:C,setClickOnWishListIcon:S,wishListItem:x,containerRef:c}),V&&e.jsx(Qe,{items:q,fullPrice:t==null?void 0:t.retail_price}),(t==null?void 0:t.quantity)&&e.jsx(Ze,{})]})]}),d&&e.jsx(Ye,{})]})}),e.jsx(mt,{}),j&&e.jsx(Ct,{className:r.RecommendateBlock,productId:j})]}),!n&&e.jsx(o,{item:!0,xs:12,md:4,className:r.sideBar,children:e.jsxs(He,{containerRef:c,children:[e.jsx(Oe,{}),e.jsx(ze,{}),e.jsxs(Me,{children:[e.jsx(Ge,{selectedColor:h,onChangeColor:I=>I&&w(I)}),b||!h?e.jsxs(e.Fragment,{children:[R&&e.jsx(De,{}),e.jsx(_e,{productId:j,selectedColor:h})]}):e.jsxs(e.Fragment,{children:[e.jsx(Pe,{clickOnWishListIcon:v,actionWishlist:p,selectedColor:h,onClickSize:I=>null}),L&&e.jsx(ru,{}),e.jsx(De,{}),e.jsx(We,{addWishList:C,setClickOnWishListIcon:S,wishListItem:x,containerRef:c}),V&&e.jsx(Qe,{items:q,fullPrice:t==null?void 0:t.retail_price}),(t==null?void 0:t.quantity)&&e.jsx(Ze,{})]})]}),d&&e.jsx(Ye,{})]})})]})})]})]})};var tu;const vt=new URLSearchParams((tu=globalThis.location)==null?void 0:tu.search),Ft=({data:u,isFetching:r})=>{var n,a;const i=(a=(n=u==null?void 0:u.data)==null?void 0:n.MAIN)==null?void 0:a.content,s=u==null?void 0:u.data.HEADER,t=u==null?void 0:u.data.FOOTER;return e.jsxs(e.Fragment,{children:[e.jsx(lr,{content:s,children:e.jsx(cr,{isLoading:r})}),e.jsx(xr,{content:i,children:e.jsx(wt,{isLoading:r,productData:i})}),e.jsx(dr,{content:t,children:e.jsx(pr,{isLoading:r})})]})},Xt=()=>{const u=qu(),{id:r}=Su(),{productId:i}=Tu(r),[s,{data:t,isLoading:n}]=nu();return be(),D.useEffect(()=>{var a;window.scrollTo(0,0),s({productId:i,SKU_ID:vt.get("SKU")||((a=u==null?void 0:u.state)==null?void 0:a.sku)})},[]),e.jsx(Ft,{data:t,isFetching:n})};export{Ft as Page,Xt as ProductPage};