import{j as e,k as X,L as au,e as Eu,Q as su,b as Be,g as ge,R as ou,S as fe,c as ye,T as iu,U as Y,V as Bu,W as yu,_ as wu,X as nu,Y as vu,Z as Ie,$ as Fu,a0 as ju,a1 as ku,H as qu,u as Su,O as Tu,a2 as Lu}from"./main-7700519c.js";import{r as p,R as lu}from"./chunk-react-caacd912.js";import{B as Nu,a as Ru}from"./chunk-index-66a32329.js";import{c as oe}from"./chunk-index-cacabe40.js";import{_ as _e}from"./chunk-index-e1b40fd5.js";import{D as ve}from"./chunk-index-5977a1b4.js";import{B as Iu,C as _u,a as Vu,N as Uu,W as Hu,g as Ou,b as Ve}from"./chunk-index-f0886601.js";import{m as O,u as cu,G as i,g as Ae,B as K,n as I,d as l,M as zu,E as du,J as pu,L as Gu,e as ue,N as mu,O as Pu,Q as Mu,U as Wu,V as $u,I as ae,p as Du,q as Zu,W as Yu,X as Ju,Y as Qu,C as re,$ as hu,a0 as se,a1 as Ku,a2 as Xu,a3 as er,a4 as ur,a5 as rr,x as tr,a6 as ar,a7 as sr,a8 as or}from"./chunk-material-ui-241eb317.js";import{B as ir}from"./chunk-index-81727111.js";import{V as nr,H as lr,a as cr,F as dr,b as pr}from"./chunk-index-aeddd6b3.js";import{r as Fe,i as je}from"./chunk-createSvgIcon-f41b980c.js";import{c as be,g as mr}from"./chunk-lodash-6114c6d4.js";import{D as Dr}from"./chunk-index-8609782e.js";import{U as hr}from"./chunk-index-d61a2e64.js";import{C as gr,I as Ue}from"./chunk-CircularProgress-9e918729.js";import"./chunk-effect-fade-17bfa8f3.js";import"./chunk-index-b119c954.js";import"./chunk-ListItemButton-d39e9cca.js";import"./chunk-useThemeProps-28fa4885.js";import"./chunk-index-355ad0d2.js";import"./chunk-index-8c6f9339.js";import"./chunk-index-69956742.js";import"./chunk-index-26eed4ba.js";import"./chunk-index-3cb6e55a.js";import"./chunk-index-f9cec726.js";const W=p.createContext(void 0),xr=({content:u,children:r})=>{const[n,s]=p.useState(u);return p.useEffect(()=>{u&&s(u)},[u]),e.jsx(W.Provider,{value:n,children:r})},fr=O(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":{"max-height":"calc(100vh - 248px)","object-fit":"contain","max-width":"100%",height:1194,"@media (max-width: 1920px)":{height:834},"@media (min-width: 1440px) and (max-width: 1919px)":{height:652},"@media (min-width: 1024px) and (max-width: 1280px)":{height:550},"@media (min-width: 980px) and (max-width: 1024px)":{height:450},"@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 V,N,L,B,f,E;const r=fr(),n=cu("(max-width: 760px)"),s=p.useContext(W),a=(V=s==null?void 0:s.model)==null?void 0:V.badges[0],o=a==="NEW",t=(N=s==null?void 0:s.model)==null?void 0:N.advert_banner,m=X(A=>{var b;return(b=A.productPageSlice)==null?void 0:b.selectedSku}),c=(m==null?void 0:m.photo_list)||(s==null?void 0:s.model.photo_list),[C,h]=p.useState(!1),[d,x]=p.useState(0),[g,w]=p.useState(""),v=A=>{w(b=>b.concat(",",A))},S=()=>h(!1),F=A=>{x(A),h(!0)},T={loop:c&&c.length>1,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},keyboard:{enabled:!0,onlyInViewport:!1}},_={slidesPerView:1,shouldSwiperUpdate:!0,scrollbar:{el:".swiper-scrollbar",hide:!1,draggable:!0}};return e.jsxs(i,{item:!0,classes:{root:r.galleryWrapper},children:[s==null?void 0:s.model.sku_list.map(A=>A.photo_list[0]).map(A=>e.jsx("link",{rel:"preload",href:A.url,as:"image"},A.url)),e.jsxs(i,{classes:{root:r.badgeGrid},children:[o&&e.jsx(Ae,{classes:{root:r.badgeNew},label:a}),t&&e.jsx(Iu,{...t})]}),c&&e.jsxs(e.Fragment,{children:[n&&e.jsx("div",{className:r.scrollWrapper,children:e.jsx("div",{className:r.scrollInnerWrapper,children:e.jsx(_e,{..._,children:c.map((A,b)=>e.jsx("div",{className:"swiper-slide",children:e.jsx("img",{src:A.url,className:r.scrollImg,alt:A.alt.replace(/&quot;/gi,'"')})},b))})})}),!n&&e.jsxs(e.Fragment,{children:[e.jsx(ve,{open:C,onClose:S,onCloseIcon:S,className:r.sliderWrapper,maxWidth:!1,children:e.jsx(_e,{...T,activeSlideKey:String(d),children:c.map((A,b)=>e.jsx("div",{children:e.jsx("img",{src:A.url,alt:A.alt.replace(/&quot;/gi,'"')})},b))})}),e.jsx(K,{display:"flex",justifyContent:"center",children:e.jsxs("picture",{className:r.imageBig,children:[e.jsx("source",{srcSet:(L=c[0])==null?void 0:L.url}),e.jsx("img",{itemProp:"image",src:(B=c[0])==null?void 0:B.url_resize,alt:(f=c[0])==null?void 0:f.alt.replace(/&quot;/gi,'"'),title:(E=c[0])==null?void 0:E.alt.replace(/&quot;/gi,'"'),onClick:()=>F(0)})]})}),e.jsx(i,{container:!0,spacing:3,children:c.map((A,b)=>{if(b!==0)return e.jsxs(i,{item:!0,xs:6,className:oe("blur-load",g.includes(A.url)&&"loaded"),children:[e.jsx(i,{item:!0,xs:12,children:e.jsx(I,{variant:"rect",animation:"wave",classes:{root:r.skeletProductImg}})},b),e.jsxs("picture",{className:r.images,children:[e.jsx("source",{srcSet:A.url}),e.jsx("img",{src:A.url_resize,alt:A.alt.replace(/&quot;/gi,'"'),onClick:()=>F(b),loading:"lazy",onLoad:()=>v(A.url)})]})]},A.url)})})]})]})]})},br=O(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 n=br();return e.jsxs(i,{className:n.container,children:[e.jsx("div",{className:n.space}),e.jsx(K,{className:n.sideContainer,children:u})]})};const Oe=()=>{const u=p.useContext(W);if(u===void 0)return null;const{props:r,brand:n}=u.model,s=`${r.thing_type} ${n.name} ${r.model_name}`;return e.jsxs(i,{container:!0,item:!0,spacing:2,children:[e.jsx(i,{item:!0,xs:12,children:e.jsxs(l,{variant:"body1",color:"secondary",children:[e.jsx(au,{to:n.url,className:"brandLink",children:n.name})," "]})}),e.jsx(i,{item:!0,xs:12,children:e.jsx(l,{variant:"h1",dangerouslySetInnerHTML:{__html:s}})})]})},Cr=O(u=>({root:{color:u.color.black100},iconEmpty:{}}),{name:"Rating"});function ke({...u}){const r=Cr();return e.jsx(zu,{classes:{root:r.root,iconEmpty:r.iconEmpty},...u})}const Er=O(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=p.useContext(W),n=r==null?void 0:r.reviews.count.num,s=r==null?void 0:r.reviews.count.ending,a=r==null?void 0:r.reviews.average,[o,t]=p.useState(0),m=r==null?void 0:r.model.props,c=m==null?void 0:m.article,C=m==null?void 0:m.season;return p.useEffect(()=>{a!==void 0&&t(a)}),e.jsxs(i,{item:!0,container:!0,alignItems:"center",spacing:1,children:[e.jsx(i,{item:!0,xl:"auto",children:e.jsx(ke,{name:"read-only",size:"small",value:o,readOnly:!0})}),e.jsx(i,{item:!0,xl:"auto",children:e.jsxs(l,{classes:{root:u.textMini},color:"secondary",component:"span",variant:"body1",children:[n," ",s]})}),e.jsx(i,{item:!0,xl:"auto",children:e.jsx(l,{classes:{root:u.textDivider},component:"span",variant:"body1",color:"secondary",children:"|"})}),e.jsx(i,{item:!0,xl:"auto",children:e.jsxs(l,{classes:{root:u.baseText},component:"span",variant:"body1",color:"secondary",children:["Артикул: ",c," ",C]})})]})}const Br=O(u=>({selectSkuContainer:{position:"relative",paddingBottom:40}}),{name:"SelectContainer"});function Ge({children:u}){const r=Br();return e.jsx(i,{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]=p.useState(void 0),n=Eu();return p.useEffect(()=>{const s=new URLSearchParams(window.location.search);u&&(r(u),s[u.action](u.key,u.val),n({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=O(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"}),Pe=({onChangeColor:u,selectedColor:r})=>{const n=wr(),s=gu(),a=p.useContext(W),o=a==null?void 0:a.model,t=o==null?void 0:o.props.gender,[m,{isFetching:c}]=su(),C=d=>{s({action:"set",key:"SKU",val:String(d)}),m({url:`${Be.product.getProduct}${o==null?void 0:o.props.product_id}/${d}/`,...ge({SITE_ID:"lid",bitrix_sessid:"bitrix_sessid"})})},h=(d,x)=>{u(d),s({action:"set",key:"COLOR",val:d}),x!==void 0&&C(x)};return e.jsxs(e.Fragment,{children:[e.jsxs(i,{item:!0,xs:12,children:[t&&e.jsxs(l,{classes:{root:n.baseText},component:"p",variant:"body1",color:"secondary",children:["Пол:",e.jsx(l,{classes:{root:n.baseText},component:"span",variant:"body1",color:"primary",children:t})]}),e.jsx(_u,{colorName:r})]}),r&&e.jsx(i,{container:!0,item:!0,children:e.jsx(i,{container:!0,item:!0,spacing:3,justifyContent:"flex-start",children:o==null?void 0:o.sku_list.map((d,x)=>{var v,S;const w=(o==null?void 0:o.props.is_soon)?(v=d.sizes[0])==null?void 0:v.id:(S=d.sizes.find(F=>F.is_available===!0))==null?void 0:S.id;return e.jsx(i,{item:!0,xs:"auto",children:e.jsx(Ae,{variant:"outlined",classes:{root:n.colorsChip,outlinedPrimary:oe([n.colorChipOutline,d.name===r&&n.colorChipSelect]),avatar:n.colorsAvatar},clickable:!0,onClick:()=>h(d.name,w),avatar:e.jsx("img",{src:d.photo_list[0].url_thumb,alt:d.photo_list[0].alt}),color:"primary"})},x)})})})]})},vr=O(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 Me=({selectedColor:u,onClickSize:r,actionWishlist:n,clickOnWishListIcon:s})=>{var L,B;const a=vr(),o=ou(),t=p.useContext(W),m=gu(),c=X(f=>{var E;return(E=f.productPageSlice)==null?void 0:E.selectedSku}),C=(c==null?void 0:c.id)||(t==null?void 0:t.selected_sku.id),h=c?c.size_title:t==null?void 0:t.selected_sku.size_title,d=(t==null?void 0:t.model.props.is_show_grid_size)&&(t==null?void 0:t.grid_size_html),x=t==null?void 0:t.model.props.section.grid_size_btn_text,g=t==null?void 0:t.model.sku_list,v=((B=(L=t==null?void 0:t.model)==null?void 0:L.props)==null?void 0:B.thing_type)==="Ювелирное изделие",[S,{isFetching:F}]=su(),[T]=fe();p.useEffect(()=>{var f,E,A,b,k,q,R,G,U,P,$,D,y,j;C&&(T({type:"yandexEcommerceProduct",skuId:C}),ye("view_item",{currency:"RUB",item_list_name:"Product_page",value:(f=t==null?void 0:t.selected_sku)==null?void 0:f.retail_price,items:[{item_name:(A=(E=t==null?void 0:t.model)==null?void 0:E.props)==null?void 0:A.name,item_id:(k=(b=t==null?void 0:t.model)==null?void 0:b.props)==null?void 0:k.product_id,price:(q=t==null?void 0:t.selected_sku)==null?void 0:q.retail_price,item_brand:(G=(R=t==null?void 0:t.model)==null?void 0:R.brand)==null?void 0:G.name,item_category2:($=(P=(U=t==null?void 0:t.model)==null?void 0:U.props)==null?void 0:P.section)==null?void 0:$.name,is_peak:(y=(D=t==null?void 0:t.model)==null?void 0:D.props)==null?void 0:y.is_peak,item_variant:(j=t==null?void 0:t.selected_sku)==null?void 0:j.color_title,quantity:1,offer_id:C}]}))},[C]),p.useEffect(()=>()=>{o(iu())},[]);const _=f=>{m({action:"set",key:"SKU",val:f.toString()}),S({url:`${Be.product.getProduct}${t==null?void 0:t.model.props.product_id}/${f}/`,...ge({SITE_ID:"lid",bitrix_sessid:"bitrix_sessid"})})},V=f=>{n({url:Be.user.wishlist.add,...ge({SITE_ID:"lid",bitrix_sessid:"bitrix_sessid"}),id:f||(C??"0")}).then(E=>{var A,b,k,q,R,G,U,P,$,D,y,j,z,M;E.data.status==="success"&&ye("add_to_wishlist",{currency:"RUB",item_list_name:"Product_page",value:(A=t==null?void 0:t.selected_sku)==null?void 0:A.retail_price,items:[{item_name:(k=(b=t==null?void 0:t.model)==null?void 0:b.props)==null?void 0:k.name,item_id:(R=(q=t==null?void 0:t.model)==null?void 0:q.props)==null?void 0:R.product_id,price:(G=t==null?void 0:t.selected_sku)==null?void 0:G.retail_price,item_brand:(P=(U=t==null?void 0:t.model)==null?void 0:U.brand)==null?void 0:P.name,item_category2:(y=(D=($=t==null?void 0:t.model)==null?void 0:$.props)==null?void 0:D.section)==null?void 0:y.name,is_peak:(z=(j=t==null?void 0:t.model)==null?void 0:j.props)==null?void 0:z.is_peak,item_variant:(M=t==null?void 0:t.selected_sku)==null?void 0:M.color_title,quantity:1}]})})},N=f=>s?V(f):_(f);return e.jsxs(i,{classes:{root:a.selectSkuContainer},item:!0,container:!0,justifyContent:"space-between",children:[e.jsx(Vu,{sizeTitle:h,isShowPickSizeButton:d,pickSizeButtonTitle:x,gridSizeContent:e.jsx("div",{dangerouslySetInnerHTML:{__html:t==null?void 0:t.grid_size_html}})}),e.jsx(i,{container:!0,item:!0,children:e.jsx(i,{container:!0,item:!0,justifyContent:"flex-start",spacing:3,children:g==null?void 0:g.map(f=>f.name===u&&f.sizes.map((E,A)=>(A===0||!v)&&e.jsx(i,{item:!0,sm:"auto",xs:4,children:E.quantity?e.jsx(Ae,{variant:"outlined",classes:{root:a.sizesChip,outlinedPrimary:oe([a.sizesChipOutline,!c&&(t==null?void 0:t.selected_sku.id)&&parseInt(E.id,10)===parseInt(t==null?void 0:t.selected_sku.id,10)&&a.sizesChecked,c&&parseInt(c==null?void 0:c.id,10)===parseInt(E.id,10)&&a.sizesChecked])},onClick:()=>{r(E.id),N(E.id)},clickable:!0,color:"primary",label:E.size_title}):e.jsx(Uu,{sizeTitle:E.size_title,colorName:E.color_title,product_id:E.id},E.id)},E.id)))})}),e.jsx(du,{open:F,classes:{root:a.loadWrapper},children:e.jsx(pu,{color:"primary"})})]})},Fr=O(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 pe(){const u=Fr(),r=p.useContext(W),n=X(C=>{var h;return(h=C.productPageSlice)==null?void 0:h.selectedSku}),s=n==null?void 0:n.discount,a=p.useMemo(()=>({current:n?Y(n==null?void 0:n.retail_price):Y(r==null?void 0:r.selected_sku.retail_price),base:n?Y(n==null?void 0:n.base_price):Y(r==null?void 0:r.selected_sku.base_price)}),[n,r]),[o,t]=p.useState(!1),m=()=>t(!1),c=()=>t(!0);return e.jsxs(i,{item:!0,container:!0,classes:{root:u.pricesContainer},children:[e.jsxs(i,{container:!0,item:!0,alignItems:"center",children:[e.jsx(i,{item:!0,xs:"auto",children:e.jsx(l,{variant:"h2",component:"span",dangerouslySetInnerHTML:{__html:a.current??""}})}),a.current!==a.base&&e.jsx(i,{item:!0,xs:"auto",children:e.jsx(l,{variant:"h3",color:"secondary",component:"span",classes:{root:u.oldPrice},dangerouslySetInnerHTML:{__html:a.base??""}})}),s&&e.jsx(i,{item:!0,xs:"auto",children:e.jsx(l,{variant:"body1",component:"span",children:e.jsx(Ae,{label:s==null?void 0:s.percent_format,classes:{root:u.badgeDiscount,label:u.badgeDiscountLabel}})})})]}),e.jsxs(i,{container:!0,item:!0,justifyContent:"space-between",children:[e.jsx(i,{item:!0,xs:"auto",onClick:c,classes:{root:u.cursorPointer},children:e.jsx(l,{variant:"body1",children:"Нашли дешевле?"})}),e.jsx(ve,{open:o,onClose:m,onCloseIcon:m,dialogTitle:"100% Гарантия лучшей цены",scroll:"paper",maxWidth:!1,children:e.jsx(i,{container:!0,children:e.jsxs(i,{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(Gu,{underline:"none",href:"/information/low_price/",variant:"body1",children:"Гарантия лучшей цены"})]})]})})})]})]})}const jr=O(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:n})=>{var g,w,v,S;const s=X(F=>{var T;return(T=F.productPageSlice)==null?void 0:T.selectedSku}),a=jr(),o=p.useContext(W),t=(s==null?void 0:s.quantity)||(o==null?void 0:o.selected_sku.quantity),m=s==null?void 0:s.in_cart;o==null||o.selected_sku.in_cart;const c=n||t===0,h=((w=(g=o==null?void 0:o.model)==null?void 0:g.props)==null?void 0:w.thing_type)==="Ювелирное изделие",d=(S=(v=o==null?void 0:o.model)==null?void 0:v.props)==null?void 0:S.is_offline_sale,x=()=>{r({sku:u??"0"}).then(F=>{var T,_,V,N,L,B,f,E,A,b,k,q,R;F.data.status==="success"&&ye("add_to_cart",{currency:"RUB",item_list_name:"Product_page",value:(T=o==null?void 0:o.selected_sku)==null?void 0:T.retail_price,items:[{item_name:(V=(_=o==null?void 0:o.model)==null?void 0:_.props)==null?void 0:V.name,item_id:(L=(N=o==null?void 0:o.model)==null?void 0:N.props)==null?void 0:L.product_id,price:(B=o==null?void 0:o.selected_sku)==null?void 0:B.retail_price,item_brand:(E=(f=o==null?void 0:o.model)==null?void 0:f.brand)==null?void 0:E.name,item_category2:(b=(A=o==null?void 0:o.model)==null?void 0:A.props)==null?void 0:b.thing_type,is_peak:(q=(k=o==null?void 0:o.model)==null?void 0:k.props)==null?void 0:q.is_peak,item_variant:(R=o==null?void 0:o.selected_sku)==null?void 0:R.color_title,quantity:1,offer_id:u}]})})};return h||d?e.jsx(ue,{disabled:!0,variant:"contained",color:"primary",fullWidth:!0,children:"ТОЛЬКО ОФЛАЙН"}):e.jsx(e.Fragment,{children:m?e.jsx(ue,{onClick:x,variant:"contained",color:"primary",fullWidth:!0,className:a.btnAdded,startIcon:e.jsx(mu,{classes:{root:a.btnIcon}}),children:"Товар добавлен"}):e.jsx(ue,{disabled:c,onClick:x,variant:"contained",color:"primary",fullWidth:!0,startIcon:e.jsx(Pu,{classes:{root:a.btnIcon}}),children:"Добавить в корзину"})})},We=({setClickOnWishListIcon:u,addWishList:r,wishListItem:n,containerRef:s})=>{const[a,{data:o,isFetching:t}]=Bu(),[m,{data:c,isLoading:C}]=yu(),h=p.useContext(W),d=X(V=>{var N;return(N=V.productPageSlice)==null?void 0:N.selectedSku}),x=(d==null?void 0:d.id)||(h==null?void 0:h.selected_sku.id),g=X(V=>V.userAuth.isAuth),w=r||(d==null?void 0:d.in_wishlist)||(h==null?void 0:h.selected_sku.in_wishlist),[v,S]=p.useState(!1),[F,T]=p.useState(!1),_=(V,N)=>{N!=="clickaway"&&T(!1)};return p.useEffect(()=>{c!=null&&c.data&&T(!0)},[c==null?void 0:c.data]),e.jsxs(i,{item:!0,container:!0,justifyContent:"space-between",children:[e.jsx(i,{item:!0,xl:9,lg:9,md:9,sm:9,xs:8,children:e.jsx(kr,{addCart:C,sku:x,addProductCart:m})}),e.jsx(i,{item:!0,xl:2,lg:2,md:2,sm:2,xs:2,children:e.jsx(Hu,{inWishlist:w,productSku:x,isUserAuth:g,addWishList:r,wishListItem:n,setClickOnWishListIcon:u,type:"productPage",parentRef:s})}),(c==null?void 0:c.data)&&e.jsx(ir,{cartItem:c,open:F,handleClose:_,getBasket:a,setOpenCart:S,setOpenInfo:T,openCart:v,basketLoading:t,basketData:o})]})};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 qe={},Sr=je;Object.defineProperty(qe,"__esModule",{value:!0});var xu=qe.default=void 0,Tr=Sr(Fe()),$e=e,Lr=(0,Tr.default)([(0,$e.jsx)("path",{d:"M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2z"},"0"),(0,$e.jsx)("path",{d:"M13 16h-2v2h2zm0-6h-2v5h2z"},"1")],"WarningAmber");xu=qe.default=Lr;const Nr=p.lazy(()=>wu(()=>import("./chunk-index-646ae4d0.js").then(u=>u.i),["assets/js/chunk-index-646ae4d0.js","assets/js/main-7700519c.js","assets/js/chunk-react-caacd912.js","assets/js/chunk-lodash-6114c6d4.js","assets/js/chunk-material-ui-241eb317.js","assets/css/index-6331806a.css","assets/js/chunk-index-8609782e.js","assets/js/chunk-index-cacabe40.js","assets/js/chunk-react-yandex-maps.esm-84a39cc8.js","assets/js/chunk-index-5977a1b4.js","assets/js/chunk-index-b119c954.js","assets/js/chunk-ListItemButton-d39e9cca.js","assets/js/chunk-useThemeProps-28fa4885.js","assets/js/chunk-index-8bd4157f.js"])),Rr=u=>e.jsx(p.Suspense,{fallback:e.jsx("div",{}),children:e.jsx(Nr,{...u})}),Ir=O(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=X(S=>{var F;return(F=S.productPageSlice)==null?void 0:F.selectedSku}),r=u==null?void 0:u.shops_available,n=u==null?void 0:u.nearest_dispatch_date,s=u==null?void 0:u.quantity_text,a=()=>(r==null?void 0:r.length)===1?`в ${r==null?void 0:r.length} магазине`:`в ${r==null?void 0:r.length} магазинах`,o=[{PICKUP_POINTS:r}],t=Ir(),[m,c]=p.useState(!1),[C,h]=p.useState(!1),d=()=>h(!0),x=()=>h(!1),g=()=>window.location.href,w=()=>{navigator.clipboard.writeText(g()).then(()=>{console.log("Ссыль скопирована")})},[v]=fe();return e.jsxs(e.Fragment,{children:[e.jsx(i,{item:!0,container:!0,children:e.jsxs(i,{item:!0,sm:11,md:"auto",container:!0,spacing:2,justifyContent:"space-between",children:[e.jsx(i,{item:!0,xs:"auto",sm:6,md:"auto",xl:6,onClick:()=>{c(!0),v({type:"skuStockBalanceMouseOver"})},style:{cursor:"pointer"},children:e.jsxs(l,{variant:"body1",color:"secondary",className:t.item,children:[e.jsx(Mu,{color:"primary",classes:{root:t.iconDefault}}),"Наличие  ",e.jsx("span",{children:a()})]})}),e.jsx(i,{item:!0,xs:12,sm:6,md:"auto",xl:6,children:n==="Готов к отгрузке"?e.jsxs(l,{variant:"body1",color:"secondary",className:t.item,children:[e.jsx(mu,{classes:{root:t.iconDefault},color:"primary"}),"Готов к отгрузке"]}):e.jsxs(i,{xs:"auto",container:!0,children:[e.jsx(Wu,{classes:{root:t.iconDefault},color:"primary"}),e.jsxs(i,{item:!0,xs:10,sm:4,container:!0,direction:"column",alignItems:"center",className:t.nearestDeliveryDate,children:[e.jsx(l,{variant:"body1",color:"secondary",className:t.item,children:"Ближайшая отправка "}),e.jsx(l,{variant:"body1",children:n})]})]})}),e.jsxs(i,{item:!0,xs:"auto",sm:6,md:"auto",xl:6,className:t.shareProductBlock,children:[e.jsxs(l,{variant:"body1",color:"secondary",className:t.item,onClick:d,children:[e.jsx($u,{color:"primary",classes:{root:t.iconDefault}}),e.jsx("span",{children:"Поделиться товаром"})]}),C&&e.jsxs("div",{className:t.sharePopup,children:[e.jsx(ae,{color:"primary",onClick:x,size:"small",classes:{root:t.closeBtn},children:e.jsx(Du,{classes:{root:t.closeIcon}})}),e.jsxs("div",{className:t.copyLink,onClick:w,children:[e.jsx(l,{variant:"body1",color:"primary",className:"subTitle",children:"Скопировать ссылку"}),e.jsx(Zu,{classes:{input:t.linkValue},fullWidth:!0,value:g(),readOnly:!0,color:"primary"})]}),e.jsxs("div",{className:t.socialButons,children:[e.jsx(l,{variant:"body1",color:"primary",className:"subTitle",children:"Поделиться в соцсетях"}),e.jsxs("div",{className:"items",children:[e.jsx(ae,{href:`https://vk.com/share.php?url=${g()}`,target:"_blank",children:e.jsx(nr,{})}),e.jsx(ae,{href:`https://t.me/share/url?url=${g()}`,target:"_blank",children:e.jsx(Yu,{})}),e.jsx(ae,{href:`https://wa.me/?text=${g()}`,target:"_blank",children:e.jsx(Ju,{})}),e.jsx(ae,{href:`http://pinterest.com/pin/create/link/?url=${g()}`,target:"_blank",children:e.jsx(Qu,{})}),e.jsx(ae,{href:`https://connect.ok.ru/offer?url=${g()}`,target:"_blank",children:e.jsx(qr,{})})]})]})]})]}),s&&e.jsx(i,{item:!0,xs:12,sm:6,md:"auto",lg:5,xl:6,children:e.jsxs(l,{variant:"body1",color:"secondary",className:t.item,style:{color:"#E94552"},children:[e.jsx(xu,{classes:{root:t.iconWarning}}),s]})})]})}),m&&e.jsx(Rr,{setOpenMap:c,openMap:m,deliveryList:o,isProduct:!0})]})};function _r(u){const[r,n]=p.useState("");return p.useEffect(()=>{u!=null&&u.selected_sku.color_title&&n(u==null?void 0:u.selected_sku.color_title)},[u]),[r,n]}const Vr=O(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 Ur(){const u=Vr();return e.jsx(K,{className:u.pageContainer,children:e.jsx(re,{fixed:!0,maxWidth:"xl",children:e.jsxs(i,{container:!0,spacing:3,justifyContent:"flex-start",wrap:"wrap",children:[e.jsxs(i,{item:!0,sm:"auto",xs:12,md:12,lg:12,xl:12,classes:{root:u.breadContainerSkeleton},children:[e.jsx(i,{item:!0,sm:"auto",xs:1,md:1,lg:1,xl:1,children:e.jsx(I,{className:u.breadButtonSkeleton,width:"100%",height:16,variant:"rect"})}),e.jsx(i,{item:!0,sm:"auto",xs:1,md:1,lg:1,xl:1,children:e.jsx(I,{className:u.breadButtonSkeleton,width:"100%",height:16,variant:"rect"})}),e.jsx(i,{item:!0,sm:"auto",xs:1,md:1,lg:1,xl:1,children:e.jsx(I,{className:u.breadButtonSkeleton,width:"100%",height:16,variant:"rect"})}),e.jsx(i,{item:!0,sm:"auto",xs:1,md:1,lg:1,xl:1,children:e.jsx(I,{className:u.breadButtonSkeleton,width:"100%",height:16,variant:"rect"})})]}),e.jsx(K,{display:"flex",justifyContent:"center",className:u.imageBigSkeleton,children:e.jsx(I,{variant:"rect"})}),e.jsxs(i,{container:!0,item:!0,sm:12,xs:12,md:7,lg:4,xl:"auto",justifyContent:"center",spacing:3,className:u.leftElemContainer,children:[e.jsx(i,{item:!0,xs:12,md:12,xl:12,lg:12,sm:12,children:e.jsx(I,{width:"100%",style:{height:"16px"},height:24,variant:"rect"})}),e.jsx(i,{item:!0,xs:12,md:12,xl:12,lg:12,sm:12,children:e.jsx(I,{width:"100%",height:24,variant:"rect"})}),e.jsxs(i,{container:!0,spacing:3,item:!0,justifyContent:"space-between",classes:{root:u.selectSkuContainerSkeleton},children:[e.jsxs(i,{item:!0,xl:12,lg:12,md:12,sm:12,xs:12,className:u.selectColorSkeletonContainer,children:[e.jsx(I,{className:u.selectColorSkeleton}),e.jsx(I,{className:u.selectColorSkeleton})]}),e.jsxs(i,{item:!0,xl:12,lg:12,md:12,sm:12,xs:12,className:u.selectColorSkeletonContainer,children:[e.jsx(I,{height:80,width:80}),e.jsx(I,{height:80,width:80}),e.jsx(I,{height:80,width:80})]}),e.jsxs(i,{item:!0,xl:12,lg:12,md:12,sm:12,xs:12,className:u.selectColorSkeletonContainer,justifyContent:"space-between",children:[e.jsxs(i,{className:u.selectColorSkeletonContainer,xl:6,lg:6,md:6,sm:6,xs:6,children:[e.jsx(I,{className:u.selectColorSkeleton,height:20,width:"100%"}),e.jsx(I,{className:u.selectColorSkeleton,height:20,width:"100%"})]}),e.jsx(i,{xl:4,lg:4,md:4,sm:4,xs:4,children:e.jsx(I,{className:u.selectColorSkeleton,width:"100%"})})]}),e.jsx(i,{item:!0,container:!0,classes:{root:u.pricesContainerSkeleton},children:e.jsx(I,{className:u.selectColorSkeleton,width:"100%",height:40,variant:"rect"})}),e.jsxs(i,{item:!0,container:!0,justifyContent:"space-between",children:[e.jsx(i,{item:!0,xl:9,lg:9,md:9,sm:9,xs:8,children:e.jsx(I,{className:u.selectColorSkeleton,width:"100%",height:40,variant:"rect"})}),e.jsx(i,{item:!0,xl:2,lg:2,md:2,sm:3,xs:3,children:e.jsx(I,{className:u.selectColorSkeleton,width:"100%",height:40,variant:"rect"})})]}),e.jsx(i,{item:!0,container:!0,children:e.jsxs(i,{item:!0,container:!0,spacing:3,justifyContent:"space-between",children:[e.jsx(i,{item:!0,xs:"auto",xl:6,children:e.jsx(I,{className:u.selectColorSkeleton,width:"100%",height:34,variant:"rect"})}),e.jsx(i,{item:!0,xs:"auto",xl:6,children:e.jsx(I,{className:u.selectColorSkeleton,width:"100%",height:34,variant:"rect"})}),e.jsx(i,{item:!0,xs:"auto",xl:6,children:e.jsx(I,{className:u.selectColorSkeleton,width:"100%",height:34,variant:"rect"})}),e.jsx(i,{item:!0,xs:"auto",xl:6,children:e.jsx(I,{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)),Hr=u=>{const[r,n]=lu.useState(0),s=(d,x)=>n(x),a=X(d=>{var x;return(x=d.productPageSlice)==null?void 0:x.selectedSku}).retail_price,o=Math.ceil(a/4),t=Math.ceil(a/3),m=Math.ceil(a/6),c=Math.ceil(a/10),C=(d=new Date,x=6)=>{const w=Math.floor(x/2)+1,v=new Intl.DateTimeFormat("ru-RU",{day:"numeric",month:"long"});return Array.from({length:w},(S,F)=>v.format(new Date(d.getTime()+F*14*24*60*60*1e3)))},h=(d=new Date)=>{const x=new Intl.DateTimeFormat("ru-RU",{day:"numeric",month:"long"}),g=new Date(d.getFullYear(),d.getMonth()+1,d.getDate());return x.format(g)};return e.jsxs("div",{className:"dolyameScheme",children:[e.jsxs(hu,{value:r,onChange:s,classes:{flexContainer:"flexContainer",indicator:"indicator"},children:[e.jsx(se,{label:"6 недель"}),e.jsx(se,{label:"3 мес"}),e.jsx(se,{label:"6 мес"})]}),e.jsxs(me,{value:r,index:0,children:[e.jsx("div",{className:"info",children:C().map((d,x)=>e.jsxs("div",{children:[d,e.jsx("div",{className:"price",children:Y(o)})]},x))}),e.jsx(De,{count:4}),e.jsx(l,{variant:"body2",color:"secondary",className:"text",children:"Примерный график, может быть сервисный сбор"})]}),e.jsxs(me,{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 платежа с ",h(),e.jsxs(l,{variant:"body2",color:"primary",className:"price",children:["от ",Y(t)," в месяц"]})]})]}),e.jsx(De,{count:4}),e.jsxs(l,{variant:"body2",color:"secondary",className:"text",children:["Примерный график, может быть сервисный сбор. Переплата ",Je(a,3)," (3%)"]})]}),e.jsxs(me,{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 платежей с ",h(),e.jsxs(l,{variant:"body2",color:"primary",className:"price",children:["от ",Y(m)," в месяц"]})]})]}),e.jsx(De,{count:7}),e.jsxs(l,{variant:"body2",color:"secondary",className:"text",children:["Примерный график, может быть сервисный сбор. Переплата ",Je(a,7.5)," (7.5%)"]})]}),e.jsxs(me,{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 платежей с ",h(),e.jsxs(l,{variant:"body2",color:"primary",className:"price",children:["от ",Y(c)," в месяц"]})]})]}),e.jsx(De,{count:13}),e.jsx(l,{variant:"body2",color:"secondary",className:"text",children:"Примерный график, может быть сервисный сбор"})]})]})};function me({children:u,value:r,index:n,...s}){return e.jsx("div",{role:"tabpanel",hidden:r!==n,...s,children:u})}function De({count:u}){return e.jsx("div",{className:"indicators",children:Array(u).fill(1).map(r=>e.jsx("div",{}))})}function Or(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 zr=()=>e.jsxs(e.Fragment,{children:[e.jsx(Or,{className:"dolyamiLogo"}),e.jsx(Hr,{className:"scheme"}),e.jsxs(l,{className:"otherInfo",color:"secondary",children:["Подробную информацию о работе сервиса можно посмотреть на сайте"," ",e.jsx("a",{href:"http://dolyame.ru",target:"_blank",rel:"noreferrer",children:"dolyame.ru"})]})]}),Gr="/local/traektoria_ta/build/assets/img/yandexSplit-6a394f14.png";const Pr=()=>e.jsxs("div",{className:"yandexBlock",children:[e.jsxs(i,{className:"yandexBlock yandexTitle",children:[e.jsx("img",{src:Gr,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(i,{className:"info-installments",children:[e.jsxs(i,{className:"block",children:[e.jsxs(i,{item:!0,xs:3,children:[e.jsx(l,{children:"25%"}),e.jsx(l,{children:"Платеж сегодня"}),e.jsx("hr",{})]}),e.jsxs(i,{item:!0,xs:3,children:[e.jsx(l,{children:"25%"}),e.jsx(l,{children:"Через 2 недели"}),e.jsx("hr",{})]}),e.jsxs(i,{item:!0,xs:3,children:[e.jsx(l,{children:"25%"}),e.jsx(l,{children:"Через 4 неделия"}),e.jsx("hr",{})]}),e.jsxs(i,{item:!0,xs:3,children:[e.jsx(l,{children:"25%"}),e.jsx(l,{children:"Через 6 недели"}),e.jsx("hr",{})]})]}),e.jsxs(i,{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 Mr={Dolyami:e.jsx(zr,{}),YandexSplit:e.jsx(Pr,{})},Qe=({items:u,fullPrice:r=0})=>{const n=r/4,[s,a]=p.useState(!1),o=()=>a(!1),t=()=>a(!0),[m,c]=p.useState(u[0].name);return e.jsxs(e.Fragment,{children:[e.jsx(i,{item:!0,container:!0,justifyContent:"space-between",children:e.jsx(i,{item:!0,xs:12,children:e.jsxs(l,{component:"div",className:"dolyami",onClick:t,children:["4 платежа по ",Y(n)]})})}),e.jsx(ve,{open:s,onClose:o,onCloseIcon:o,scroll:"paper",maxWidth:!1,children:e.jsx(i,{container:!0,children:e.jsx(i,{item:!0,xs:12,children:e.jsxs("div",{className:"dialogContent",children:[u.length>1&&e.jsx(i,{className:"titleBlock",children:u.map(({name:C,title:h})=>e.jsx(ue,{onClick:()=>c(C),className:oe("btn",{"btn-active":m===C}),children:h}))}),Mr[m]]})})})})]})};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 Ce(u,r){if(u.clientHeight<u.scrollHeight||u.clientWidth<u.scrollWidth){var n=getComputedStyle(u,null);return Xe(n.overflowY,r)||Xe(n.overflowX,r)||function(s){var a=function(o){if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch{return null}}(s);return!!a&&(a.clientHeight<s.scrollHeight||a.clientWidth<s.scrollWidth)}(u)}return!1}function he(u,r,n,s,a,o,t,m){return o<u&&t>r||o>u&&t<r?0:o<=u&&m<=n||t>=r&&m>=n?o-u-s:t>r&&m<n||o<u&&m>n?t-r+a:0}function eu(u,r){var n=window,s=r.scrollMode,a=r.block,o=r.inline,t=r.boundary,m=r.skipOverflowHiddenElements,c=typeof t=="function"?t:function(ie){return ie!==t};if(!Ke(u))throw new TypeError("Invalid target");for(var C=document.scrollingElement||document.documentElement,h=[],d=u;Ke(d)&&c(d);){if((d=d.parentElement)===C){h.push(d);break}d!=null&&d===document.body&&Ce(d)&&!Ce(document.documentElement)||d!=null&&Ce(d,m)&&h.push(d)}for(var x=n.visualViewport?n.visualViewport.width:innerWidth,g=n.visualViewport?n.visualViewport.height:innerHeight,w=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,S=u.getBoundingClientRect(),F=S.height,T=S.width,_=S.top,V=S.right,N=S.bottom,L=S.left,B=a==="start"||a==="nearest"?_:a==="end"?N:_+F/2,f=o==="center"?L+T/2:o==="end"?V:L,E=[],A=0;A<h.length;A++){var b=h[A],k=b.getBoundingClientRect(),q=k.height,R=k.width,G=k.top,U=k.right,P=k.bottom,$=k.left;if(s==="if-needed"&&_>=0&&L>=0&&N<=g&&V<=x&&_>=G&&N<=P&&L>=$&&V<=U)return E;var D=getComputedStyle(b),y=parseInt(D.borderLeftWidth,10),j=parseInt(D.borderTopWidth,10),z=parseInt(D.borderRightWidth,10),M=parseInt(D.borderBottomWidth,10),Z=0,J=0,Q="offsetWidth"in b?b.offsetWidth-b.clientWidth-y-z:0,H="offsetHeight"in b?b.offsetHeight-b.clientHeight-j-M:0;if(C===b)Z=a==="start"?B:a==="end"?B-g:a==="nearest"?he(v,v+g,g,j,M,v+B,v+B+F,F):B-g/2,J=o==="start"?f:o==="center"?f-x/2:o==="end"?f-x:he(w,w+x,x,y,z,w+f,w+f+T,T),Z=Math.max(0,Z+v),J=Math.max(0,J+w);else{Z=a==="start"?B-G-j:a==="end"?B-P+M+H:a==="nearest"?he(G,P,q,j,M+H,B,B+F,F):B-(G+q/2)+H/2,J=o==="start"?f-$-y:o==="center"?f-($+R/2)+Q/2:o==="end"?f-U+z+Q:he($,U,R,y,z+Q,f,f+T,T);var ee=b.scrollLeft,te=b.scrollTop;B+=te-(Z=Math.max(0,Math.min(te+Z,b.scrollHeight-q+H))),f+=ee-(J=Math.max(0,Math.min(ee+J,b.scrollWidth-R+Q)))}E.push({el:b,top:Z,left:J})}return E}function fu(u){return u===Object(u)&&Object.keys(u).length!==0}function Wr(u,r){r===void 0&&(r="auto");var n="scrollBehavior"in document.body.style;u.forEach(function(s){var a=s.el,o=s.top,t=s.left;a.scroll&&n?a.scroll({top:o,left:t,behavior:r}):(a.scrollTop=o,a.scrollLeft=t)})}function $r(u){return u===!1?{block:"end",inline:"nearest"}:fu(u)?u:{block:"start",inline:"nearest"}}function Zr(u,r){var n=u.isConnected||u.ownerDocument.documentElement.contains(u);if(fu(r)&&typeof r.behavior=="function")return r.behavior(n?eu(u,r):[]);if(n){var s=$r(r);return Wr(eu(u,s),s.behavior)}}const Yr=O(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"}),Jr=()=>{const u=p.useContext(W),r=u==null?void 0:u.descriptions,n=u==null?void 0:u.filter_options,s=u==null?void 0:u.model.brand,a=Yr();return e.jsxs(i,{item:!0,container:!0,spacing:3,justifyContent:"space-between",children:[e.jsx(i,{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(i,{item:!0,xl:4,xs:12,md:4,children:[e.jsx(l,{variant:"h4",classes:{root:a.textHeaderTab},children:"Параметры фильтра"}),n==null?void 0:n.map((o,t)=>e.jsxs(K,{display:"flex",justifyContent:"space-between",pb:2,children:[e.jsx(l,{variant:"body1",className:a.filterName,dangerouslySetInnerHTML:{__html:o.name??""}}),e.jsx(l,{variant:"body1",className:a.filterValue,dangerouslySetInnerHTML:{__html:o.value??""}})]},t))]}),e.jsx(i,{item:!0,xs:12,children:s&&e.jsxs(Ku,{square:!0,classes:{root:a.accordion,expanded:a.accordionExpanded},elevation:0,TransitionProps:{unmountOnExit:!0},children:[e.jsx(Xu,{classes:{root:a.accordionSummary,expandIcon:a.expandIcon,expanded:a.expandedIcon},expandIcon:e.jsx(Du,{}),"aria-controls":"panel1a-content",id:"panel1a-header",children:e.jsx(l,{variant:"h4",children:"Бренд"})}),e.jsx(er,{classes:{root:a.accordionDetail},children:e.jsxs(i,{container:!0,spacing:3,children:[e.jsx(i,{className:a.brandImageWrapper,item:!0,xs:"auto",children:e.jsx(ue,{component:au,to:u.model.brand.url,color:"default",variant:"text",children:e.jsx("img",{className:a.brandImage,src:s.image,alt:s.name})})}),e.jsx(i,{item:!0,md:9,xs:"auto",children:e.jsx(l,{variant:"body1",dangerouslySetInnerHTML:{__html:`<!--noindex--> ${s.description} <!--/noindex-->`??""},classes:{root:a.accordionText}})}),e.jsx(i,{item:!0,xs:12,children:e.jsx(ue,{variant:"text",color:"default",endIcon:e.jsx(ur,{}),href:s.url,children:e.jsx(l,{variant:"body2",children:s.name})})})]})})]})})]})};O(u=>({reviewsEmpty:{backgroundColor:u.color.black20,padding:u.spacing(7),borderRadius:u.spacing(1)},textEmpty:{fontSize:u.typography.pxToRem(24)}}),{name:"ReviewsEmpty"});const Qr=O(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,Ee={text:"",rating:null},Kr=({onSubmit:u,initialState:r=Ee})=>{var C;const n=Qr(),s=p.useRef(null),[a,o]=p.useState(r),t=()=>o(Ee),m=()=>{u(a),t()},c=h=>{h.preventDefault()};return p.useEffect(()=>{r!==Ee&&setTimeout(()=>{var h;(h=s==null?void 0:s.current)==null||h.scrollIntoView({behavior:"smooth"})},500)},[r]),e.jsxs(i,{container:!0,item:!0,spacing:3,ref:s,classes:{root:n.mainBlock},children:[e.jsx(i,{item:!0,xs:12,classes:{root:n.ratingTitleForm},children:e.jsx(l,{className:n.reviewTitle,variant:"body1",children:"Отзыв о товаре"})}),e.jsx(i,{item:!0,xs:12,children:e.jsx(l,{variant:"body1",classes:{root:n.ratingHeaderText},children:"Ваша общая оценка"})}),e.jsx(i,{item:!0,xs:12,children:e.jsx(ke,{name:"hover-feedback",size:"large",value:a==null?void 0:a.rating,emptyIcon:e.jsx(rr,{fontSize:"inherit"}),onChange:(h,d)=>{o(x=>({...x,rating:d||0}))}})}),e.jsx(i,{item:!0,xs:12,children:e.jsx(l,{variant:"body1",classes:{root:n.ratingHeaderText},children:"Отзыв"})}),e.jsx(i,{item:!0,md:8,xs:12,children:e.jsx(tr,{fullWidth:!0,onChange:h=>{o(d=>({...d,text:h.target.value}))},onPaste:c,value:a==null?void 0:a.text,id:"standard-multiline-static",multiline:!0,rows:4,inputProps:{maxLength:uu},placeholder:"Ваше мнение о товаре",helperText:`Осталось символов ${uu-a.text.length}`})}),e.jsx(i,{container:!0,item:!0,children:e.jsx(i,{container:!0,item:!0,spacing:3,children:e.jsx(i,{item:!0,md:3,xs:12,children:e.jsx(ue,{disabled:((C=a==null?void 0:a.text)==null?void 0:C.length)<10||!(a!=null&&a.rating),onClick:m,color:"default",fullWidth:!0,variant:"contained",children:"Отправить отзыв"})})})})]})},Xr=O(u=>({box:{backgroundColor:"#F0F3F6",borderRadius:16,padding:16},logo:{width:33,height:33,borderRadius:"50%"},text:{fontFamily:"TTFirsNeue-Light, sans-serif"}}),{name:"ModeratorAnswer"}),et="/local/traektoria_ta/build/img/logo_circle.png";function ut({text:u,date:r}){const n=Xr();return e.jsx(K,{className:n.box,children:e.jsxs(i,{container:!0,spacing:2,justifyContent:"space-between",alignItems:"center",children:[e.jsx(i,{item:!0,xl:"auto",lg:"auto",md:"auto",sm:"auto",xs:"auto",children:e.jsxs(i,{item:!0,container:!0,spacing:2,alignItems:"center",children:[e.jsx(i,{item:!0,xl:"auto",lg:"auto",md:"auto",sm:"auto",xs:"auto",children:e.jsx("img",{className:n.logo,src:et,alt:"Траектория"})}),e.jsx(i,{item:!0,xl:"auto",lg:"auto",md:"auto",sm:"auto",xs:"auto",children:e.jsx(l,{variant:"body1",children:"Поддержка Траектории"})})]})}),r&&e.jsx(i,{item:!0,xl:"auto",lg:"auto",md:"auto",sm:"auto",xs:"auto",children:e.jsx(l,{variant:"body1",children:r})}),e.jsx(i,{item:!0,xl:12,lg:12,md:12,sm:12,xs:12,children:e.jsx(l,{variant:"body1",classes:{root:n.text},children:u})})]})})}var xe={exports:{}};/*! https://mths.be/he v1.2.0 by @mathias | MIT license */xe.exports;(function(u,r){(function(n){var s=r,a=u&&u.exports==s&&u,o=typeof be=="object"&&be;(o.global===o||o.window===o)&&(n=o);var t=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,m=/[\x01-\x7F]/g,c=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,C=/<\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,h={"­":"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"},d=/["&'<>`]/g,x={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},g=/&#(?:[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:"‌"},F={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:"ÿ"},T={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:"Ÿ"},_=[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],V=String.fromCharCode,N={},L=N.hasOwnProperty,B=function(D,y){return L.call(D,y)},f=function(D,y){for(var j=-1,z=D.length;++j<z;)if(D[j]==y)return!0;return!1},E=function(D,y){if(!D)return y;var j={},z;for(z in y)j[z]=B(D,z)?D[z]:y[z];return j},A=function(D,y){var j="";return D>=55296&&D<=57343||D>1114111?(y&&q("character reference outside the permissible Unicode range"),"�"):B(T,D)?(y&&q("disallowed character reference"),T[D]):(y&&f(_,D)&&q("disallowed character reference"),D>65535&&(D-=65536,j+=V(D>>>10&1023|55296),D=56320|D&1023),j+=V(D),j)},b=function(D){return"&#x"+D.toString(16).toUpperCase()+";"},k=function(D){return"&#"+D+";"},q=function(D){throw Error("Parse error: "+D)},R=function(D,y){y=E(y,R.options);var j=y.strict;j&&w.test(D)&&q("forbidden code point");var z=y.encodeEverything,M=y.useNamedReferences,Z=y.allowUnsafeSymbols,J=y.decimal?k:b,Q=function(H){return J(H.charCodeAt(0))};return z?(D=D.replace(m,function(H){return M&&B(h,H)?"&"+h[H]+";":Q(H)}),M&&(D=D.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),M&&(D=D.replace(C,function(H){return"&"+h[H]+";"}))):M?(Z||(D=D.replace(d,function(H){return"&"+h[H]+";"})),D=D.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;"),D=D.replace(C,function(H){return"&"+h[H]+";"})):Z||(D=D.replace(d,Q)),D.replace(t,function(H){var ee=H.charCodeAt(0),te=H.charCodeAt(1),ie=(ee-55296)*1024+te-56320+65536;return J(ie)}).replace(c,Q)};R.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var G=function(D,y){y=E(y,G.options);var j=y.strict;return j&&g.test(D)&&q("malformed character reference"),D.replace(v,function(z,M,Z,J,Q,H,ee,te,ie){var ne,le,Ne,Re,ce,de;return M?(ce=M,S[ce]):Z?(ce=Z,de=J,de&&y.isAttributeValue?(j&&de=="="&&q("`&` did not start a character reference"),z):(j&&q("named character reference was not terminated by a semicolon"),F[ce]+(de||""))):Q?(Ne=Q,le=H,j&&!le&&q("character reference was not terminated by a semicolon"),ne=parseInt(Ne,10),A(ne,j)):ee?(Re=ee,le=te,j&&!le&&q("character reference was not terminated by a semicolon"),ne=parseInt(Re,16),A(ne,j)):(j&&q("named character reference was not terminated by a semicolon"),z)})};G.options={isAttributeValue:!1,strict:!1};var U=function(D){return D.replace(d,function(y){return x[y]})},P={version:"1.2.0",encode:R,decode:G,escape:U,unescape:G};if(s&&!s.nodeType)if(a)a.exports=P;else for(var $ in P)B(P,$)&&(s[$]=P[$]);else n.he=P})(be)})(xe,xe.exports);var rt=xe.exports;const we=mr(rt),tt=O(u=>({text:{fontFamily:"TTFirsNeue-Light, sans-serif"}}),{name:"UserAnswer"});function at({rating:u,userName:r,text:n,date:s}){const a=tt();return e.jsxs(i,{container:!0,item:!0,spacing:2,justifyContent:"space-between",alignItems:"center",children:[e.jsx(i,{item:!0,xs:"auto",children:e.jsx(ke,{name:"read-only",size:"small",value:u,readOnly:!0})}),s&&e.jsx(i,{item:!0,xs:"auto",children:e.jsx(l,{variant:"body1",children:s})}),e.jsx(i,{item:!0,xs:12,children:e.jsx(l,{variant:"body1",children:r})}),e.jsx(i,{item:!0,xs:12,children:e.jsx(l,{variant:"body1",classes:{root:a.text},dangerouslySetInnerHTML:{__html:we.decode(n)}})})]})}const st=O(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 ot({scrollRef:u}){var a;const r=st(),n=p.useContext(W),s=n==null?void 0:n.reviews;return e.jsx(e.Fragment,{children:e.jsx(i,{ref:u,container:!0,item:!0,spacing:3,children:e.jsx(i,{item:!0,xs:12,children:(a=s==null?void 0:s.list)==null?void 0:a.map(o=>e.jsx(K,{className:r.reviewBox,children:e.jsxs(i,{container:!0,spacing:5,children:[e.jsx(i,{item:!0,xl:12,lg:12,md:12,sm:12,xs:12,children:e.jsx(at,{text:o.text,date:o.date,userName:o.user_name,rating:o.rating})}),o.manager_answer&&e.jsx(i,{item:!0,xl:12,lg:12,md:12,sm:12,xs:12,children:e.jsx(ut,{date:o.manager_answer_date,text:o.manager_answer})})]})},o.id))})})})}const it=(u,r)=>{localStorage.setItem(`review-${u}`,JSON.stringify(r))},nt=u=>{const r=localStorage[`review-${u}`];return r&&JSON.parse(r)},lt=u=>{localStorage.removeItem(`review-${u}`)},ct=()=>{const u=yr(),r=p.useContext(W),n=r==null?void 0:r.model.props.product_id,[s,a]=p.useState(!1),o=p.useRef(null),t=X(g=>g.userAuth.authScreen),m=X(g=>g.userAuth.isAuth),[c,{isFetching:C}]=nu();r==null||r.reviews.count.num;const[h]=vu(),d=async g=>{if(!m)return it(n,g),a(!0);lt(n),await h({productId:n,...g}),await c({productId:n,SKU_ID:u.get("SKU")}),setTimeout(()=>{var w;(w=o==null?void 0:o.current)==null||w.scrollIntoView({behavior:"smooth"})},500)},x=nt(n);return C?e.jsx(gr,{disableShrink:!0}):e.jsxs(e.Fragment,{children:[e.jsx(ot,{scrollRef:o}),e.jsx(Kr,{onSubmit:d,initialState:x}),e.jsx(Dr,{isWrapped:!0,showCloseIcon:!0,open:s,onClose:()=>a(!1),handlerCloseIcon:()=>a(!1),closeIconPosition:"right",anchor:"right",title:Ie[t].title,subTitle:Ie[t].subTitle,children:e.jsx(hr,{})})]})},Se=O(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"}),dt=ge({bitrix_sessid:1}).sessid,Au=({sku:u=[]})=>{const r=Se(),[n,s]=p.useState([]);return p.useEffect(()=>{u.length&&fetch(`/slim/pages/products/sku/get/byid/?sessid=${dt}`,{method:"POST",body:JSON.stringify({id:u}),headers:{"Content-Type":"application/json"}}).then(a=>a.json()).then(({data:a})=>a).then(s)},[u]),n.length===0?null:e.jsx("div",{className:r.weblayerWrapper,children:e.jsx("div",{className:r.weblayerInnerWrapper,children:n.map(a=>a.colors_list.map(o=>Object.values(o.sku_list).filter(t=>t.isSelected).map(t=>e.jsx("div",{className:r.weblayerItem,children:e.jsx("a",{className:r.weblayerItemLink,href:`${a.url}?SKU=${t.id}`,target:"_blank",rel:"noreferrer",children:e.jsxs("div",{className:"img-wrapper",children:[e.jsx("img",{className:r.weblayerItemImg,src:o.gallery[0],width:"200px",alt:""}),e.jsx("p",{className:r.productCategory,children:a.thing_type}),e.jsxs("p",{className:r.productName,children:[e.jsx("span",{className:r.productBrand,children:`${a.brand.name} `}),a.model_name]}),e.jsx("div",{className:r.priceWrapper,children:e.jsx("p",{className:r.productPrice,children:`${t.retailPrice} ₽`})})]})})},t.id))))})})},pt=({className:u,productId:r,sku:n})=>{const s=Se(),{data:a}=Fu({productId:r,sku:n});return a!=null&&a.length?e.jsx(re,{fixed:!0,maxWidth:"xl",classes:{root:u},children:e.jsxs(i,{item:!0,xs:12,children:[e.jsx(l,{classes:{root:s.RecommendateTitle},variant:"h4",children:"Рекомендуемые товары"}),e.jsx(Au,{sku:a})]})}):null},mt=O(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"}),Dt=({children:u})=>{const r=mt(),n=p.useRef(null),[s,a]=p.useState(!1),[o,t]=p.useState(0),m=p.useContext(W),c=m==null?void 0:m.reviews.count.num,C=m==null?void 0:m.model.props.product_id,h=m==null?void 0:m.selected_sku.id;function d(w){n.current&&(n.current.getBoundingClientRect().top<=0?a(!0):a(!1))}function x(w){const v=document.querySelector(`[data-tab-id="${w}"]`);v&&Zr(v,{scrollMode:"always",block:"start",behavior:"smooth",skipOverflowHiddenElements:!0}),t(w)}const g=(w,v)=>{x(v)};return p.useEffect(()=>(window.addEventListener("scroll",d,{passive:!1}),()=>{window.removeEventListener("scroll",d)}),[]),m?e.jsxs(re,{ref:n,maxWidth:!1,classes:{root:oe([r.productTabsWrapper])},disableGutters:!0,children:[e.jsx(ar,{classes:{root:oe([r.productTabsLine,s&&r.lineSticky])}}),e.jsx(re,{fixed:!0,maxWidth:"xl",children:e.jsxs(i,{item:!0,xs:12,children:[e.jsx(sr,{position:s?"sticky":"relative",classes:{root:r.tabsBar},children:e.jsxs(hu,{value:o,onChange:g,indicatorColor:"primary",textColor:"primary",variant:"scrollable",scrollButtons:"auto",classes:{indicator:r.tabIndicator},children:[e.jsx(se,{classes:{textColorPrimary:r.tabTextColor,selected:r.tabTextSelected,root:r.tabButton},label:"О товаре"}),e.jsx(se,{classes:{textColorPrimary:r.tabTextColor,selected:r.tabTextSelected,root:r.tabButton},label:"Рекомендуемые товары"}),e.jsx(se,{classes:{textColorPrimary:r.tabTextColor,selected:r.tabTextSelected,root:r.tabButton},label:e.jsx("span",{"data-badge":c,children:"Отзывы"})})]})}),e.jsx(re,{maxWidth:!1,disableGutters:!0,classes:{root:r.tabPanelContainer},children:e.jsxs(i,{container:!0,justifyContent:"space-between",spacing:5,"data-tab-panel":"tab-panel",children:[e.jsxs(i,{item:!0,container:!0,className:r.anchorContainer,children:[e.jsx(K,{className:r.fakeAnchor,"data-tab-id":0}),e.jsx(Jr,{})]}),e.jsxs(i,{item:!0,container:!0,className:r.anchorContainer,children:[e.jsx(K,{className:r.fakeAnchor,"data-tab-id":1}),C&&e.jsx(pt,{className:r.RecommendBlock,productId:C,sku:h})]}),e.jsxs(i,{item:!0,container:!0,className:r.anchorContainer,children:[e.jsx(K,{className:r.fakeAnchor,"data-tab-id":2}),e.jsx(ct,{})]})]})})]})})]}):null};var Te={},ht=je;Object.defineProperty(Te,"__esModule",{value:!0});var bu=Te.default=void 0,gt=ht(Fe()),xt=e,ft=(0,gt.default)((0,xt.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 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-2zm0 16H8V7h11v14z"}),"ContentCopy");bu=Te.default=ft;var Le={},At=je;Object.defineProperty(Le,"__esModule",{value:!0});var Cu=Le.default=void 0,bt=At(Fe()),Ct=e,Et=(0,bt.default)((0,Ct.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 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"InfoOutlined");Cu=Le.default=Et;const Bt=O(()=>({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 b;const u=Bt(),r=p.useContext(W),n=(b=r==null?void 0:r.model)==null?void 0:b.advert_banner;if(!n)return null;const{text:s,conditions:a,promocode:o,date_end:t,background_color:m,text_color:c}=n,[C,h]=p.useState(o),[d,x]=p.useState(!1),g=()=>{x(!0)},w=()=>{x(!1)},v=()=>{navigator.clipboard.writeText(C).then(()=>{console.log("Текст скопирован в буфер обмена")}).catch(k=>{console.error("Не удалось скопировать текст: ",k)})};p.useEffect(()=>{h(o)},[o]);const S=new Date(t*1e3),[F,T]=p.useState(new Date),_=S-F,[V,N]=p.useState(!1);p.useEffect(()=>{const k=setInterval(()=>T(new Date),1e3);return()=>clearInterval(k)},[]);const L=Math.floor(_/(1e3*60*60*24)),B=Math.floor(_%(1e3*60*60*24)/(1e3*60*60)),f=Math.floor(_%(1e3*60*60)/(1e3*60));let E=Math.floor(_%(1e3*60)/1e3);const A=k=>{const q=k%100;if(q>=11&&q<=14)return`${k} дней`;const R=k%10;return R==1?`${k} день`:R==0||R>=5?`${k} дней`:`${k} дня`};return p.useEffect(()=>{if(L<0)return setTimeout(()=>N(!0),3e4)},[L]),!V&&e.jsxs(i,{container:!0,xs:"auto",className:u.mainBlock,style:{background:Ou(m)},children:[e.jsxs("div",{className:u.title,children:[e.jsx(l,{className:u.text,style:{color:c},dangerouslySetInnerHTML:{__html:we.decode(s)}}),a&&e.jsx(Ue,{"aria-label":"info",onClick:g,children:e.jsx(Cu,{style:{color:c}})})]}),C&&e.jsxs("div",{className:u.inputGrid,children:[e.jsxs("div",{className:u.inputSpend,children:[e.jsx("span",{children:C}),e.jsx(Ue,{"aria-label":"copy",onClick:v,children:e.jsx(bu,{})})]}),e.jsx("div",{className:u.textLeft,children:L?e.jsx(e.Fragment,{children:L<0?e.jsx(l,{style:{color:c},children:"Акция завершена"}):e.jsxs(e.Fragment,{children:[e.jsx(l,{style:{color:c},children:L>1?"Осталось":"Остался"}),e.jsx(l,{style:{color:c,fontSize:18},children:A(L)})]})}):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:B>=10?B:`0${B}`}),e.jsx(l,{style:{color:c},children:":"}),e.jsx(l,{style:{color:c},children:f>=10?f:`0${f}`}),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:d,onClose:w,PaperProps:{classes:{root:u.dialogRoot}},children:e.jsx(l,{dangerouslySetInnerHTML:{__html:we.decode(a)}})})]})},yt=({className:u,productId:r})=>{const n=Se(),{data:s}=ju(r);return(s==null?void 0:s.length)<3?null:e.jsx(re,{fixed:!0,maxWidth:"xl",classes:{root:u},children:e.jsxs(i,{item:!0,xs:12,children:[e.jsx(l,{classes:{root:n.RecommendateTitle},variant:"h4",children:"Ранее просмотренные товары"}),e.jsx(Au,{sku:s})]})})},wt=O(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"}),vt=2e5,Ft=15e4,jt=({isLoading:u=!1})=>{var R,G;const r=wt(),n=ou(),s=p.useContext(W),a=X(U=>{var P;return(P=U.productPageSlice)==null?void 0:P.selectedSku}),o=cu("(max-width: 960px)"),[t]=fe(),m=p.useRef(null),c=s==null?void 0:s.model.props.is_peak,C=s==null?void 0:s.model.props.is_soon,[h,{data:d,isLoading:x}]=ku(),[g,w]=_r(s),[v,S]=p.useState(!1),F=s==null?void 0:s.model.props.product_id,T=((G=(R=s==null?void 0:s.model)==null?void 0:R.props)==null?void 0:G.thing_type)==="Сертификат",_=(a==null?void 0:a.retail_price)<=vt,N=[(a==null?void 0:a.retail_price)<=Ft&&{name:"YandexSplit",title:"Яндекс Пэй со Сплитом"},_&&{name:"Dolyami",title:"Долями"}].filter(Boolean),L=N.length>0&&!T;if(p.useEffect(()=>{s&&(n(iu(s==null?void 0:s.selected_sku)),t({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(Ur,{})]});const{props:B,brand:f,meta_itemprop:E}=(s==null?void 0:s.model)||{},A=`${B==null?void 0:B.thing_type} ${f==null?void 0:f.name} ${B==null?void 0:B.model_name}`,b=(a==null?void 0:a.id)||(s==null?void 0:s.selected_sku.id),k=a?a.size_title:s==null?void 0:s.selected_sku.size_title,q=(a==null?void 0:a.retail_price)||(s==null?void 0:s.selected_sku.retail_price);return e.jsxs(e.Fragment,{children:[e.jsx(qu,{children:e.jsx("link",{rel:"canonical",href:`${location.origin}${location.pathname}`})}),e.jsxs(K,{itemScope:!0,itemType:"http://schema.org/Product",className:r.pageContainer,children:[e.jsx("meta",{itemProp:"name",content:A}),e.jsx("meta",{itemProp:"description",content:E==null?void 0:E.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:B==null?void 0:B.thing_type}),e.jsx("meta",{itemProp:"sku",content:String(b)}),e.jsx("meta",{itemProp:"size",content:k}),e.jsx("meta",{itemProp:"color",content:g}),e.jsxs("div",{itemProp:"offers",itemScope:!0,itemType:"http://schema.org/Offer",children:[e.jsx("meta",{itemProp:"sku",content:String(b)}),e.jsx("meta",{itemProp:"url",content:location.href}),e.jsx("meta",{itemProp:"price",content:String(q)}),e.jsx("meta",{itemProp:"priceCurrency",content:"RUB"}),e.jsx("link",{itemProp:"availability",href:"http://schema.org/OutOfStock"})]}),e.jsx(re,{fixed:!0,maxWidth:"xl",children:e.jsxs(i,{container:!0,spacing:3,justifyContent:"flex-start",wrap:"wrap",children:[e.jsxs(i,{item:!0,xs:12,md:8,className:r.breadCrumbsGrid,children:[e.jsx(Nu,{items:s==null?void 0:s.breadcrumb,children:e.jsx(Ru,{})}),e.jsx(Ar,{activeColor:g}),o&&e.jsx(i,{item:!0,xs:12,className:r.sideBar,children:e.jsxs(He,{containerRef:m,children:[e.jsx(Oe,{}),e.jsx(ze,{}),e.jsxs(Ge,{children:[e.jsx(Pe,{selectedColor:g,onChangeColor:U=>U&&w(U)}),C||!g?e.jsxs(e.Fragment,{children:[q&&e.jsx(pe,{}),e.jsx(Ve,{productId:F,selectedColor:g})]}):e.jsxs(e.Fragment,{children:[e.jsx(Me,{clickOnWishListIcon:v,actionWishlist:h,selectedColor:g,onClickSize:U=>null}),e.jsx(pe,{}),e.jsx(We,{addWishList:x,setClickOnWishListIcon:S,wishListItem:d,containerRef:m}),L&&e.jsx(Qe,{items:N,fullPrice:a==null?void 0:a.retail_price}),e.jsx(ru,{}),(a==null?void 0:a.quantity)&&e.jsx(Ze,{})]})]}),c&&e.jsx(Ye,{})]})}),e.jsx(Dt,{}),F&&e.jsx(yt,{className:r.RecommendateBlock,productId:F})]}),!o&&e.jsx(i,{item:!0,xs:12,md:4,className:r.sideBar,children:e.jsxs(He,{containerRef:m,children:[e.jsx(Oe,{}),e.jsx(ze,{}),e.jsxs(Ge,{children:[e.jsx(Pe,{selectedColor:g,onChangeColor:U=>U&&w(U)}),C||!g?e.jsxs(e.Fragment,{children:[q&&e.jsx(pe,{}),e.jsx(Ve,{productId:F,selectedColor:g})]}):e.jsxs(e.Fragment,{children:[e.jsx(Me,{clickOnWishListIcon:v,actionWishlist:h,selectedColor:g,onClickSize:U=>null}),e.jsx(pe,{}),e.jsx(We,{addWishList:x,setClickOnWishListIcon:S,wishListItem:d,containerRef:m}),L&&e.jsx(Qe,{items:N,fullPrice:a==null?void 0:a.retail_price}),e.jsx(ru,{}),(a==null?void 0:a.quantity)&&e.jsx(Ze,{})]})]}),c&&e.jsx(Ye,{})]})})]})})]})]})};var tu;const kt=new URLSearchParams((tu=globalThis.location)==null?void 0:tu.search),qt=({data:u,isFetching:r})=>{var o,t;const n=(t=(o=u==null?void 0:u.data)==null?void 0:o.MAIN)==null?void 0:t.content,s=u==null?void 0:u.data.HEADER,a=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:n,children:e.jsx(jt,{isLoading:r,productData:n})}),e.jsx(dr,{content:a,children:e.jsx(pr,{isLoading:r})})]})},ra=()=>{const u=Su(),{id:r}=Tu(),{productId:n}=Lu(r),[s,{data:a,isLoading:o}]=nu();return fe(),p.useEffect(()=>{var t;window.scrollTo(0,0),s({productId:n,SKU_ID:kt.get("SKU")||((t=u==null?void 0:u.state)==null?void 0:t.sku)})},[]),e.jsx(qt,{data:a,isFetching:o})};export{qt as Page,ra as ProductPage};