1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4660],{73814:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),i=n(6431);function o(e){let t=(0,r.useRef)(null),n=(0,r.useRef)(null);return n.current&&n.current.update(e),(0,r.useEffect)(()=>(n.current=new i.cW({...e,ref:t}),()=>{n.current=null}),[]),r.createElement("div",{ref:t})}},93313:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/favorite/investing",function(){return n(75872)}])},19406:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(54163),i=n(87058),o=n(70411);function s(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(e),s=(0,i.Z)(t);return Math.round((n.getTime()-(0,r.Z)(n)-(s.getTime()-(0,r.Z)(s)))/864e5)}},50070:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(23050),i=n(19406),o=n(70411);function s(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function u(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),u=(0,r.Z)(t),a=s(n,u),c=Math.abs((0,i.Z)(n,u));n.setDate(n.getDate()-a*c);var l=Number(s(n,u)===-a),g=a*(c-l);return 0===g?0:g}},87058:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(23050),i=n(70411);function o(e){(0,i.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}},75872:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return O},default:function(){return w}});var r=n(85893),i=n(79910),o=n(67294),s=n(391),u=n(14009),a=n(5519),c=n(65439),l=n(11787),g=n(42377),d=n(54335);let p=d.default.div.withConfig({componentId:"sc-5a573a11-0"})(["width:100%;display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));gap:24px;@media (max-width:1279px){gap:16px;}@media (max-width:743px){grid-template-columns:1fr;gap:10px;padding-inline:18px;}"]),f=(0,d.default)(g.Spinner).withConfig({componentId:"sc-5a573a11-1"})(["display:flex;justify-content:center;margin:20px auto;"]),m=(0,d.default)(g.Typography).withConfig({componentId:"sc-5a573a11-2"})(["max-width:500px;display:flex;justify-content:center;text-align:center;margin:auto;"]),h=()=>{let e=(0,o.useMemo)(()=>[a.Vl.INVESTOLOGY],[]),{data:t,isLoading:n,isFetching:i,isError:g,ref:d}=(0,s.Q)({sections:e}),{filteredNews:h,onFavoriteRemove:v}=(0,s.I)(null==t?void 0:t.data);return n?(0,r.jsx)(p,{children:[,,,,].fill(0).map((e,t)=>(0,r.jsx)(c.F,{},t))}):g?(0,r.jsx)(m,{variant:"text-Medium",colorName:"secondary",children:"ÐÑоизоÑла оÑибка пÑи загÑÑзкe. ÐожалÑйÑÑа, попÑобÑйÑе обновиÑÑ ÑÑÑаниÑÑ Ð¸Ð»Ð¸ зайÑи позже"}):(null==h?void 0:h.length)||n?t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(p,{children:[null==h?void 0:h.map(e=>(0,r.jsx)(c.e,{blankTarget:!0,onFavoriteRemove:v,item:e,url:l.ns.feed.investology},e.news_id)),(null==h?void 0:h.length)>15&&(0,r.jsx)("div",{ref:d})]}),!n&&i&&(0,r.jsx)(f,{size:"S"})]}):null:(0,r.jsx)(u.ub,{title:"У Ð²Ð°Ñ Ð½ÐµÑ Ð¸Ð·Ð±ÑаннÑÑ
инвеÑÑологий",sectionName:"инвеÑÑологии",textButton:"ÐеÑейÑи в ленÑÑ",linkButton:l.ns.feed.investology})};var v=n(95294);let j=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v.j,{title:"УÑоки и маÑеÑÐ¸Ð°Ð»Ñ Ð¿Ð¾ инвеÑÑиÑиÑм - ÐиÑнÑй ÐºÐ°Ð±Ð¸Ð½ÐµÑ | PRO.FINANSY",description:"ÐолÑÑиÑе доÑÑÑп к ÑÐ°Ð·Ð´ÐµÐ»Ñ 'ÐнвеÑÑологиÑ' в лиÑном кабинеÑе, где ÑобÑÐ°Ð½Ñ Ð»ÑÑÑие маÑеÑÐ¸Ð°Ð»Ñ Ð¿Ð¾ инвеÑÑиÑиÑм. ÐзÑÑайÑе ÑÑÑаÑегии и ÑлÑÑÑайÑе Ñвои ÑинанÑовÑе знаниÑ."}),(0,r.jsx)(h,{})]});j.getLayout=function(e){return(0,r.jsx)(i.V,{children:e})};var O=!0,w=j},95294:function(e,t,n){"use strict";n.d(t,{j:function(){return a}});var r=n(85893),i=n(9008),o=n.n(i),s=n(11163);n(67294);var u=n(72991);let a=e=>{let{title:t,description:n,children:i,canonical:a,ogImage:c,noindex:l,ogType:g="website"}=e,{asPath:d}=(0,s.useRouter)(),p=a?(0,u.WN)(a):(0,u.Z2)(d),f=(0,u.WN)(c||u.R0),m=null!=l?l:(0,u.YE)(d);return(0,r.jsxs)(o(),{children:[(0,r.jsx)("title",{children:t}
1,"title"),(0,r.jsx)("meta",{name:"description",content:n},"description"),(0,r.jsx)("link",{rel:"canonical",href:p},"canonical"),(0,r.jsx)("meta",{property:"og:type",content:g},"og:type"),(0,r.jsx)("meta",{property:"og:site_name",content:u.VU},"og:site_name"),(0,r.jsx)("meta",{property:"og:locale",content:u.G3},"og:locale"),(0,r.jsx)("meta",{property:"og:title",content:t},"og:title"),(0,r.jsx)("meta",{property:"og:description",content:n},"og:description"),(0,r.jsx)("meta",{property:"og:url",content:p},"og:url"),(0,r.jsx)("meta",{property:"og:image",content:f},"og:image"),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitter:card"),(0,r.jsx)("meta",{name:"twitter:title",content:t},"twitter:title"),(0,r.jsx)("meta",{name:"twitter:description",content:n},"twitter:description"),(0,r.jsx)("meta",{name:"twitter:image",content:f},"twitter:image"),m?(0,r.jsx)("meta",{name:"robots",content:"noindex, follow"},"robots"):null,i]})}},35956:function(e,t,n){"use strict";n.d(t,{KG:function(){return f},Tb:function(){return u},Y4:function(){return p},ey:function(){return a},gB:function(){return l},hf:function(){return s},hz:function(){return g},sG:function(){return d}});var r=n(82003);let{useGetUserQuery:i,useLazyGetUserQuery:o,useShortenUrlMutation:s,useGetSubscriptionsQuery:u,useGetUsersInfoByKeyQuery:a,useLazyGetUsersInfoByKeyQuery:c,useTelegramLoginMutation:l,useLazyGetTelegramInfoQuery:g,useSendTelegramInfoMutation:d,useSendTelegramCodeMutation:p,useConfirmTelegramCodeMutation:f}=n(84898).M.injectEndpoints({endpoints:e=>({getUser:e.query({query:()=>({url:"/auth/user"})}),getSubscriptions:e.query({query:e=>({url:"/auth/subscription",params:e})}),shortenUrl:e.mutation({query:e=>({url:"/shorten",method:"POST",baseURL:r.e.smsServiceApi,data:e})}),getUsersInfoByKey:e.query({query:e=>({url:"/auth/info",params:{user_key:e}})}),telegramLogin:e.mutation({query:e=>({url:"/auth/telegram/login",method:"POST",data:e})}),getTelegramInfo:e.query({query:e=>({url:"/auth/telegram/info",params:e})}),sendTelegramInfo:e.mutation({query:e=>({url:"/auth/telegram/info",method:"POST",data:e})}),sendTelegramCode:e.mutation({query:e=>({url:"/auth/telegram/code",method:"POST",data:e})}),confirmTelegramCode:e.mutation({query:e=>({url:"/auth/telegram/confirm",method:"POST",data:e})})})})},391:function(e,t,n){"use strict";n.d(t,{I:function(){return i},Q:function(){return c}});var r=n(67294);let i=e=>{let[t,n]=(0,r.useState)([]),i=(0,r.useCallback)(e=>{n(t=>[...t,e])},[]);return{filteredNews:(0,r.useMemo)(()=>e?e.filter(e=>!t.includes(e.news_id)):[],[e,t]),onFavoriteRemove:i}};var o=n(11163),s=n(85500),u=n(25198),a=n(44432);let c=e=>{let{sections:t,limit:n=16,skip:i=!1}=e,{query:c}=(0,o.useRouter)(),l=(0,r.useCallback)(e=>(0,a.DD)({q:c.search||null,mod:"list",q_section:null==t?void 0:t.join(","),operator:"or",f_favorite:"news",limit:n,next:e,ustate:0,v:2}),[t,n,c.search]),{data:g,isLoading:d,isFetching:p,isError:f}=(0,s.J8)(l(),{skip:i||!(null==t?void 0:t.length)}),[m]=(0,s.OJ)(),{ref:h}=(0,u.S)({onIntersect:()=>m(l(null==g?void 0:g.next)),enabled:!!(null==g?void 0:g.next)&&!d&&!p});return{data:g,isLoading:d,isFetching:p,isError:f,ref:h,getReqParams:l}}},25198:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(67294);let i=e=>{let{onIntersect:t,onUnIntersect:n,enabled:i=!0}=e,o=(0,r.useRef)();return{ref:(0,r.useCallback)(e=>{o.current&&o.current.disconnect(),o.current=new IntersectionObserver(e=>{let r=e[0];(null==r?void 0:r.isIntersecting)&&i?t():r.isIntersecting||null==n||n()}),e&&o.current.observe(e)},[i,t,n])}}},45338:function(e,t,n){"use strict";n.d(t,{QS:function(){return c}});var r=n(67294);let i={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},o={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},s="mousemove",u="mouseup";function a(e,t){if(0===t)return e;let n=Math.PI/180*t;return[e[0]*Math.cos(n)+e[1]*Math.sin(n),e[1]*Math.cos(n)-e[0]*Math.sin(n)]}function c(e){var t,n,c;let l;let{trackMouse:g}=e,d=r.useRef(Object.assign({},o)),p=r.useRef(Object.assign({},i)),f=r.useRef(Object.assign({},p.current));for(l in f.current=Object.assign({},p.current),p.current=Object.assign(Object.assign({},i),e),i)void 0===p.current[l]&&(p.current[l]=i[l]);let[m,h]=r.useMemo(()=>(function(e,t){let n=t=>{let n="touches"in t;n&&t.touches.length>1||e((e,i)=>{i.trackMouse&&!n&&(document.addEventListener(s,r),document.addEventListener(u,g));let{clientX:c,clientY:l}=n?t.touches[0]:t,d=a([c,l],i.rotationAngle);return i.onTouchStartOrOnMouseDown&&i.onTouchStartOrOnMouseDown({event:t}
1),Object.assign(Object.assign(Object.assign({},e),o),{initial:d.slice(),xy:d,start:t.timeStamp||0})})},r=t=>{e((e,n)=>{let r="touches"in t;if(r&&t.touches.length>1)return e;if(t.timeStamp-e.start>n.swipeDuration)return e.swiping?Object.assign(Object.assign({},e),{swiping:!1}):e;let{clientX:o,clientY:s}=r?t.touches[0]:t,[u,c]=a([o,s],n.rotationAngle),l=u-e.xy[0],g=c-e.xy[1],d=Math.abs(l),p=Math.abs(g),f=(t.timeStamp||0)-e.start,m=d>p?l>0?"Right":"Left":g>0?"Down":"Up",h="number"==typeof n.delta?n.delta:n.delta[m.toLowerCase()]||i.delta;if(d<h&&p<h&&!e.swiping)return e;let v={absX:d,absY:p,deltaX:l,deltaY:g,dir:m,event:t,first:e.first,initial:e.initial,velocity:Math.sqrt(d*d+p*p)/(f||1),vxvy:[l/(f||1),g/(f||1)]};v.first&&n.onSwipeStart&&n.onSwipeStart(v),n.onSwiping&&n.onSwiping(v);let j=!1;return(n.onSwiping||n.onSwiped||n[`onSwiped${m}`])&&(j=!0),j&&n.preventScrollOnSwipe&&n.trackTouch&&t.cancelable&&t.preventDefault(),Object.assign(Object.assign({},e),{first:!1,eventData:v,swiping:!0})})},c=t=>{e((e,n)=>{let r;if(e.swiping&&e.eventData){if(t.timeStamp-e.start<n.swipeDuration){r=Object.assign(Object.assign({},e.eventData),{event:t}),n.onSwiped&&n.onSwiped(r);let i=n[`onSwiped${r.dir}`];i&&i(r)}}else n.onTap&&n.onTap({event:t});return n.onTouchEndOrOnMouseUp&&n.onTouchEndOrOnMouseUp({event:t}),Object.assign(Object.assign(Object.assign({},e),o),{eventData:r})})},l=()=>{document.removeEventListener(s,r),document.removeEventListener(u,g)},g=e=>{l(),c(e)},d=(e,t)=>{let o=()=>{};if(e&&e.addEventListener){let s=Object.assign(Object.assign({},i.touchEventOptions),t.touchEventOptions),u=[["touchstart",n,s],["touchmove",r,Object.assign(Object.assign({},s),t.preventScrollOnSwipe?{passive:!1}:{})],["touchend",c,s]];u.forEach(([t,n,r])=>e.addEventListener(t,n,r)),o=()=>u.forEach(([t,n])=>e.removeEventListener(t,n))}return o},p={ref:t=>{null!==t&&e((e,n)=>{if(e.el===t)return e;let r={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),r.cleanUpTouch=void 0),n.trackTouch&&t&&(r.cleanUpTouch=d(t,n)),Object.assign(Object.assign(Object.assign({},e),{el:t}),r)})}};return t.trackMouse&&(p.onMouseDown=n),[p,d]})(e=>d.current=e(d.current,p.current),{trackMouse:g}),[g]);return d.current=(t=d.current,n=p.current,c=f.current,n.trackTouch&&t.el?t.cleanUpTouch?n.preventScrollOnSwipe!==c.preventScrollOnSwipe||n.touchEventOptions.passive!==c.touchEventOptions.passive?(t.cleanUpTouch(),Object.assign(Object.assign({},t),{cleanUpTouch:h(t.el,n)})):t:Object.assign(Object.assign({},t),{cleanUpTouch:h(t.el,n)}):(t.cleanUpTouch&&t.cleanUpTouch(),Object.assign(Object.assign({},t),{cleanUpTouch:void 0}))),m}}},function(e){e.O(0,[7603,9510,5209,1474,9910,5439,2888,9774,179],function(){return e(e.s=93313)}),_N_E=e.O()}]);
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.