1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2608],{11485:(e,t,n)=>{n.d(t,{A:()=>a});var s=n(95155);n(12115);let a=e=>{let{className:t}=e;return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("path",{d:"M17.647 23.173L0.75 0.75H6.35304L23.25 23.173H17.647Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M22.4548 0.75L13.548 10.3014",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M1.54507 23.1731L10.4452 13.6289",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}},12931:(e,t,n)=>{n.d(t,{P:()=>d});var s=n(59003),a=n(80208),r=n(86279),i=n(35546),l=n(25646),o=n(53292);let c={...r.W,...l.n,...i.$,...o.Z},d=(0,a.H)(c,s.J)},26815:(e,t,n)=>{n.d(t,{A:()=>a});var s=n(95155);n(12115);let a=e=>{let{classNames:t}=e;return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{d:"M5.67001 22.6299H0.810011V8.69988H5.67001V22.6299ZM15.76 13.2399C15.1924 13.2399 14.6481 13.4653 14.2468 13.8667C13.8455 14.268 13.62 14.8123 13.62 15.3799V22.6299H8.51001V8.69988H13.62V10.2899C14.8177 9.27594 16.3309 8.71027 17.9 8.68988C21.07 8.68988 23.27 11.0399 23.27 15.4999V22.6299H17.9V15.3799C17.9013 15.098 17.8469 14.8187 17.74 14.5579C17.633 14.2971 17.4756 14.06 17.2768 13.8602C17.0779 13.6604 16.8416 13.5019 16.5813 13.3937C16.321 13.2856 16.0419 13.2299 15.76 13.2299V13.2399ZM5.76001 3.87988C5.76001 4.37434 5.61339 4.85769 5.33869 5.26881C5.06398 5.67993 4.67353 6.00036 4.21672 6.18958C3.7599 6.3788 3.25724 6.42831 2.77229 6.33185C2.28733 6.23538 1.84188 5.99728 1.49224 5.64765C1.14261 5.29802 0.904511 4.85256 0.808048 4.36761C0.711585 3.88266 0.761093 3.37999 0.950312 2.92317C1.13953 2.46636 1.45996 2.07591 1.87109 1.80121C2.28221 1.52651 2.76556 1.37988 3.26001 1.37988C3.91958 1.38516 4.55034 1.65088 5.01486 2.11915C5.47939 2.58742 5.74003 3.22029 5.74001 3.87988H5.76001Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},35978:(e,t,n)=>{n.d(t,{A:()=>a});var s=n(95155);n(12115);let a=e=>{let{className:t}=e;return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{d:"M21.3833 7.75229C20.6005 3.35827 17.0585 0.878906 11.8842 0.878906C6.7098 0.878906 2.61667 4.65847 2.61667 12.695C2.61667 20.6896 8.09835 23.1209 12.5792 23.1209C17.0601 23.1209 20.3021 20.4179 20.4566 16.9426C20.611 13.4673 17.4475 11.2276 13.1971 11.2276C9.09863 11.2276 8.55239 13.3086 8.62962 14.6215C8.71337 16.0453 9.93938 17.4718 12.4823 17.2849C14.9897 17.1005 16.8268 14.7801 16.5179 10.687C16.2258 6.81716 13.338 6.42752 12.4081 6.42752C11.0909 6.42752 9.93452 6.95585 8.94788 8.08878",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},40504:(e,t,n)=>{n.d(t,{A:()=>a});var s=n(95155);n(12115);let a=e=>{let{classNames:t}=e;return(0,s.jsxs)("svg",{width:"75",height:"73",viewBox:"0 0 75 73",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_226_3147)",children:[(0,s.jsx)("path",{d:"M1.31799 31.9091L73.838 0.829102L62.183 62.9891L31.103 43.5641L1.31799 31.9091Z",fill:"url(#paint0_linear_226_3147)",stroke:"#1724A9"}),(0,s.jsx)("path",{opacity:"0.14",d:"M31.103 43.5641L73.838 0.829102L1.31799 31.9091L31.103 43.5641Z",fill:"#000064",stroke:"#1724A9"}),(0,s.jsx)("path",{d:"M44.441 51.852L31.103 70.759V43.564L44.441 51.852Z",fill:"url(#paint1_linear_226_3147)",stroke:"#1724A9"}),(0,s.jsx)("path",{d:"M31.103 43.564V70.759L44.441 51.852",stroke:"#1724A9",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M73.838 0.829102L1.31799 31.9091L31.103 43.5641M73.838 0.829102L62.183 62.9891L31.103 43.5641M73.838 0.829102L31.103 43.5641",stroke:"#1724A9",strokeMiterlimit:"10",strokeLinecap:"round"})]}),(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{id:"paint0_linear_226_3147",x1:"37.578",y1:"0.829102",x2:"37.578",y2:"62.9891",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"#458DF3",stopOpacity:"0.086"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#E6646E"})]}),(0,s.jsxs)("linearGradient",{id:"paint1_linear_226_3147",x1:"37.772",y1:"43.564",x2:"37.772",y2:"70.759",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"#458DF3",stopOpacity:"0.086"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#E6646E"})]}),(0,s.jsx)("clipPath",{id:"clip0_226_3147",children:(0,s.jsx)("rect",{width:"74.502",height:"72.334",fill:"white"})})]})]})}},65521:(e,t,n)=>{n.d(t,{A:()=>U});var s=n(95155),a=n(12115),r=n(62177),i=n(53929),l=n(63381),o=n(5231),c=n(33190),d=n(62461),h=n(60760),u=n(12931),x=n(76733),m=n(37129),p=n(13389);let C=e=>{let{classNames:t}=e;return(0,s.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("path",{d:"M8.25 17H2.25C1.85218 17 1.47064 16.842 1.18934 16.5607C0.908035 16.2794 0.75 15.8978 0.75 15.5V3.5C0.75 3.10218 0.908035 2.72064 1.18934 2.43934C1.47064 2.15804 1.85218 2 2.25 2H20.25C20.6478 2 21.0294 2.15804 21.3107 2.43934C21.592 2.72064 21.75 3.10218 21.75 3.5V12.5",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M1.11804 2.51904L9.22904 8.71904C9.78155 9.22245 10.5021 9.50148 11.2495 9.50148C11.997 9.50148 12.7175 9.22245 13.27 8.71904L21.38 2.51904",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M17.25 13.25L23.25 17.75L17.25 22.25V20H12.75C12.3522 20 11.9706 19.842 11.6893 19.5607C11.408 19.2794 11.25 18.8978 11.25 18.5V17C11.25 16.6022 11.408 16.2206 11.6893 15.9393C11.9706 15.658 12.3522 15.5 12.75 15.5H17.25V13.25Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})};n(26815);var j=n(76604),g=n(35978),w=n(95467),k=n(11485),L=n(96707);let v=()=>window.location.href,f=()=>document.title||"",y=(e,t)=>{window.open(e,t||"Share","width=600,height=400,scrollbars=yes,resizable=yes")},b=e=>{let{url:t=v(),title:n=f(),hashtags:a=[],via:r,related:i=[],children:l,className:o,onClick:c,"aria-label":d}=e;return(0,s.jsx)("button",{onClick:()=>{let e="https://twitter.com/intent/tweet?url=".concat(encodeURIComponent(t),"&text=").concat(encodeURIComponent(n));a.length>0&&(e+="&hashtags=".concat(encodeURIComponent(a.join(",")))),r&&(e+="&via=".concat(encodeURIComponent(r))),i.length>0&&(e+="&related=".concat(encodeURIComponent(i.join(",")))),y(e,"Twitter Share"),null==c||c()},className:(0,L.cn)("inline-flex items-center justify-center",o),"aria-label":d||"Share on X (Twitter)",children:l||(0,s.jsx)(k.A,{})})},N=e=>{let{url:t=v(),title:n=f(),children:a,className:r,onClick:i,"aria-label":l}=e;return(0,s.jsx)("button",{onClick:()=>{y("https://t.me/share/url?url=".concat(encodeURIComponent(t),"&text=").concat(encodeURIComponent(n)),"Telegram Share"),null==i||i()},className:(0,L.cn)("inline-flex items-center justify-center",r),"aria-label":l||"Share on Telegram",children:a||(0,s.jsx)(j.A,{})})},M=e=>{let{url:t=v(),title:n=f(),separator:a=" ",children:r,className:i,onClick:l,"aria-label":o}=e;return(0,s.jsx)("button",{onClick:()=>{let e="".concat(n).concat(a).concat(t);y("https://wa.me/?text=".concat(encodeURIComponent(e)),"WhatsApp Share"),null==l||l()},className:(0,L.cn)("inline-flex items-center justify-center",i),"aria-label":o||"Share on WhatsApp",children:r||(0,s.jsx)(w.A,{})})},S=e=>{let{url:t=v(),title:n=f(),children:a,className:r,onClick:i,"aria-label":l}=e;return(0,s.jsx)("button",{onClick:()=>{let e=n?"".concat(n," ").concat(t):t;y("https://threads.net/intent/post?text=".concat(encodeURIComponent(e)),"Threads Share"),null==i||i()},className:(0,L.cn)("inline-flex items-center justify-center",r),"aria-label":l||"Share on Threads",children:a||(0,s.jsx)(g.A,{})})};var _=n(72850),A=n(40504),V=n(8896),I=n(5041),W=n(36210);async function P(e){return(await W.SP.get("/share-link",{params:{link:e.link,email:e.email,lang:e.lang||"ru"}})).data}n(68808);var Z=n(11803);let H=(0,x.tv)({slots:{root:(0,L.cn)("flex items-center rounded-deure print:hidden mt-8 md:mt-16 gap-2 w-full justify-between bg-white py-3 px-4"),shareInfo:(0,L.cn)("flex md:flex-row items-start md:items-center gap-5 text-sm font-semibold text-primary"),shareIcons:(0,L.cn)("flex items-center gap-2 text-[#333]"),icon:(0,L.cn)("w-5 h-5 cursor-pointer hover:text-primary transition-colors"),dateSlot:(0,L.cn)("text-sm text-foreground-500 font-medium")}}),U=e=>{let{lng:t,date:n,classNames:x,hideShareMenu:j}=e,{t:g}=(0,p.Bd)(t,"send_on_email","common"),{t:w}=(0,p.Bd)(t,"common"),[k,v]=(0,a.useState)(!1),[f,y]=(0,a.useState)(!1),W=(0,I.useMutation)({mutationFn:e=>P(e)}),{root:U,shareInfo:B,shareIcons:O,dateSlot:T,icon:z}=H(),E=m.Ik({email:m.Yj().email().required()}).required(),{handleSubmit:R,control:F,formState:{errors:D},reset:q}=(0,r.mN)({mode:"onChange",resolver:(0,d.t)(E),defaultValues:{email:""}}),G=()=>window.location.href,X=async e=>{let n=G();try{await W.mutateAsync({link:n,email:e.email,lang:t}),q(),y(!0)}catch(e){console.error("Failed to send share link:",e)}};return(0,s.jsxs)("div",{className:(0,L.cn)(U(),x),children:[(0,s.jsxs)("div",{className:(0,L.cn)(B(),x),children:[(0,s.jsx)("p",{className:"hidden min-[450px]:block",children:w("podelitsya")}),(0,s.jsxs)("div",{className:(0,L.cn)(O(),x),children:[(0,s.jsxs)(i.y,{placement:"top",showArrow:!0,offset:10,isOpen:k,onOpenChange:e=>{v(e),e||y(!1)},shouldCloseOnScroll:!1,children:[(0,s.jsx)(l.T,{children:(0,s.jsx)("button",{"aria-label":"Share via email",children:(0,s.jsx)(C,{classNames:(0,L.cn)(z())})})}),(0,s.jsx)(o.C,{className:"p-4 gap-3 max-w-85",children:(0,s.jsx)(h.N,{mode:"wait",children:f?(0,s.jsxs)(u.P.div,{className:"flex items-center gap-4 py-2",initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3,ease:"easeInOut"},children:[(0,s.jsx)(u.P.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.1,duration:.4,ease:"easeOut"},children:(0,s.jsx)(A.A,{classNames:"size-14"})}),(0,s.jsxs)(u.P.div,{className:"flex flex-col items-start gap-1 text-center",initial:{opacity:0},animate:{opacity:1},transition:{delay:.2,duration:.3},children:[(0,s.jsx)("h3",{className:"font-semibold text-primary text-xl",children:g("success_title")}),(0,s.jsx)("p",{className:"text-sm text-start text-gray-600",children:g("success_text")})]})]},"success"):(0,s.jsxs)(u.P.form,{onSubmit:R(X),className:"flex flex-col gap-3",noValidate:!0,initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3,ease:"easeInOut"},children:[(0,s.jsx)("p",{className:"text-sm text-gray-600",children:g("send_email_desk")}),(0,s.jsx)(r.xI,{name:"email",control:F,render:e=>{let{field:t}=e;return(0,s.jsx)(Z.A,{...t,type:"email",placeholder:g("email_pl"),variant:"bordered",size:"lg",required:!0,className:"w-full",radius:"sm",isInvalid:!!D.email,endContent:D.email&&(0,s.jsx)(_.A,{}),onChange:e=>t.onChange(e)})}}),(0,s.jsx)(c.T,{type:"submit",disabled:W.isPending,isLoading:W.isPending,className:"w-full bg-primary text-white",size:"lg",children:g("send")})]},"form")})})]}),(0,s.jsx)(b,{className:(0,L.cn)(z()),"aria-label":"Share on X (Twitter)"}),(0,s.jsx)(N,{className:(0,L.cn)(z()),"aria-label":"Share on Telegram"}),(0,s.jsx)(M,{className:(0,L.cn)(z()),"aria-label":"Share on WhatsApp"}),(0,s.jsx)(S,{className:(0,L.cn)(z()),"aria-label":"Share on Threads"})]})]}),!j&&(0,s.jsx)("div",{className:(0,L.cn)(T(),x),children:(0,V.i)({date:n,lng:t,hide_tz:!0,time:!1})})]})}},72850:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(95155);n(12115);var a=n(96707);let r=e=>{let{classNames:t}=e;return(0,s.jsx)("svg",{className:(0,a.cn)("w-5 h-5",t),viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M10 0C4.47 0 0 4.47 0 10C0 15.53 4.47 20 10 20C15.53 20 20 15.53 20 10C20 4.47 15.53 0 10 0ZM15 13.59L13.59 15L10 11.41L6.41 15L5 13.59L8.59 10L5 6.41L6.41 5L10 8.59L13.59 5L15 6.41L11.41 10L15 13.59Z",fill:"#FF4D4D"})})}}
1,76604:(e,t,n)=>{n.d(t,{A:()=>a});var s=n(95155);n(12115);let a=e=>{let{className:t}=e;return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("path",{d:"M5.42928 12.6968C5.1306 12.5973 4.93149 12.2986 4.93149 12C4.93149 11.7013 5.1306 11.4025 5.42928 11.303L17.7744 6.22559L12.697 18.5707C12.5974 18.8694 12.2987 19.0685 12.0001 19.0685C11.7014 19.0685 11.4027 18.8694 11.3032 18.5707L9.80981 14.1902L5.42928 12.6968Z",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M9.90936 14.1903L12.5974 11.4026",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M12 23.25C18.2132 23.25 23.25 18.2133 23.25 12.0001C23.25 5.78685 18.2132 0.75 12 0.75C5.78681 0.75 0.75 5.78685 0.75 12.0001C0.75 18.2133 5.78681 23.25 12 23.25Z",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]})}},84304:(e,t,n)=>{n.d(t,{$:()=>o,B:()=>l});var s=n(95155),a=n(12115),r=n(35695);let i=(0,a.createContext)(null),l=()=>{let e=(0,a.useContext)(i);if(!e)throw Error("useLocalization must be used within LocalizationProvider");return e},o=e=>{let{children:t}=e,[n,l]=(0,a.useState)({}),o=(0,r.usePathname)(),c=(0,r.useParams)();(0,a.useEffect)(()=>{let e=null==c?void 0:c.slug,t=null==c?void 0:c.articleSlug;e||t||l({})},[o,null==c?void 0:c.slug,null==c?void 0:c.articleSlug]);let d=(0,a.useCallback)((e,t,n)=>{if(!e)return void l({});let s={};s[e.locale||"en"]={slug:e.slug,categorySlug:n},e.localizations&&e.localizations.forEach(e=>{let t=e.locale||"en",a="articleCategory"in e&&e.articleCategory?e.articleCategory.slug:n;s[t]={slug:e.slug,categorySlug:a}}),Object.keys(s).length>1?l(s):l({})},[]),h=(0,a.useCallback)(e=>{var t;return(null==(t=n[e])?void 0:t.slug)||null},[n]),u=(0,a.useCallback)(e=>{var t;return(null==(t=n[e])?void 0:t.categorySlug)||null},[n]),x=(0,a.useCallback)(()=>{l({})},[]),m=(0,a.useMemo)(()=>({currentLocalizations:n,setLocalizations:d,getLocalizationSlug:h,getLocalizationCategorySlug:u,clearLocalizations:x}),[n,d,h,u,x]);return(0,s.jsx)(i.Provider,{value:m,children:t})}},95467:(e,t,n)=>{n.d(t,{A:()=>a});var s=n(95155);n(12115);let a=e=>{let{className:t}=e;return(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,s.jsx)("path",{d:"M18.07 14.6601C18 14.5401 17.8 14.4601 17.51 14.3201C17.22 14.1801 15.77 13.4701 15.51 13.3701C15.25 13.2701 15.04 13.2201 14.85 13.5201C14.66 13.8201 14.35 14.2501 14.18 14.4401C14.01 14.6301 13.84 14.6601 13.54 14.5101C11.8288 13.7644 10.3849 12.5158 9.40001 10.9301C9.23001 10.6401 9.40001 10.4801 9.53001 10.3401C10.02 9.85007 10.03 9.92007 10.15 9.68007C10.1929 9.60192 10.2154 9.51422 10.2154 9.42507C10.2154 9.33593 10.1929 9.24822 10.15 9.17007C10 9.00007 9.45001 7.58007 9.20001 7.00007C8.95001 6.42007 7.69001 6.31007 7.20001 6.85007C2.00001 12.3301 14.67 21.7201 17.91 16.0001C18.0432 15.8102 18.1275 15.5904 18.1554 15.3601C18.1833 15.1299 18.154 14.8963 18.07 14.6801M12 0.750072C9.02772 0.739433 6.17267 1.90861 4.06158 4.00095C1.95049 6.0933 0.755885 8.93781 0.74001 11.9101C0.735574 14.2628 1.48562 16.555 2.88001 18.4501L1.48001 22.6001L5.80001 21.2301C7.49151 22.3408 9.45105 22.9751 11.4726 23.0664C13.494 23.1576 15.5028 22.7024 17.2875 21.7487C19.0722 20.7949 20.5669 19.3779 21.6144 17.6465C22.6619 15.9152 23.2234 13.9336 23.24 11.9101C23.2241 8.94128 22.0323 6.0998 19.9255 4.00803C17.8188 1.91626 14.9688 0.744738 12 0.750072Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.