1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[222],{96317:function(e,t,r){"use strict";r.d(t,{k:function(){return n}});var n={articleLanguages:[{image:{alt:"armenian",primary:"/next-assets/icons/flags/armenia.svg"},lang:"hy",id:"fb9708852-ec79-11ec-8ea0"},{image:{alt:"english",primary:"/next-assets/icons/flags/usa.svg"},lang:"en",id:"fb9702tt52-ec79-11ec-8ea0"}],desktopIcons:[{src:"/next-assets/icons/shareIcons/facebookIcon.svg",url:"https://www.facebook.com/sharer.php?u=",alt:"facebook",share:!0,toggle:!0,id:"fb9702tt52-ec79-11ec-8e8888"},{src:"/next-assets/icons/shareIcons/linkedinIcon.svg",url:"https://www.linkedin.com/shareArticle?mini=true&url=",alt:"linkedin",share:!0,toggle:!0,id:"fb9702tt52-ec79-22ec-8e8888"},{src:"/next-assets/icons/shareIcons/twitterIcon.svg",url:"https://twitter.com/share?url=",alt:"twitter",share:!0,toggle:!0,id:"fb9702tt52-ec79-1122c-8e8888"},{src:"/next-assets/icons/shareIcons/copyIcon.svg",copy:!0,id:"fb97028898852-ec79-11ec-8e8888",alt:"copy link"}],mobileIcons:{shareIcons:[{share:!0,toggle:!0,src:"/next-assets/icons/shareIcons/facebookIcon.svg",alt:"facebook",url:"https://www.facebook.com/sharer.php?u=",id:"fb9702tt52-ec79-11ec-96ehyy1212"},{share:!0,toggle:!0,src:"/next-assets/icons/shareIcons/linkedinIcon.svg",alt:"linkedin",url:"https://www.linkedin.com/shareArticle?mini=true&url=",id:"fb9702tt52-ec79-11ec-96ehyy3434"},{share:!0,toggle:!0,src:"/next-assets/icons/shareIcons/twitterIcon.svg",alt:"twitter",url:"https://twitter.com/share?url=",id:"fb9702tt52-ec79-11ec-96ehyy5656"}],closeBackIcon:{src:"/next-assets/icons/shareIcons/closeBackIcon.svg",alt:"close icon"},copyIcon:{src:"/next-assets/icons/shareIcons/copyIcon.svg",alt:"copy link"},openIcon:{src:"/next-assets/icons/shareIcons/openIcon.svg",alt:"open icon"}}}},43072:function(e,t,r){"use strict";r.d(t,{Z:function(){return C}});var n=r(85893),s=r(25935),i=r(45697),a=r.n(i),c=r(43717),o=r(5152),l=r(67294),u=r(81089);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){d(e,t,r[t])}))}return e}function h(e,t){if(null==e)return{};var r,n,s=function(e,t){if(null==e)return{};var r,n,s={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(s[r]=e[r]);return s}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}var p=function(e){var t,r=e.child,s=r.attribs||(null===(t=r.next)||void 0===t?void 0:t.attribs)||{},i=(s.style,s.frameborder),a=s.allowfullscreen,c=s.class,o=h(s,["style","frameborder","allowfullscreen","class"]),d=(0,l.useState)(0),p=d[0],g=d[1],m=(0,u.Z)().isMobile,b=(0,l.useCallback)((function(){g(m?350:500)}),[m]);return(0,l.useEffect)((function(){return b(),window.addEventListener("resize",b),function(){return window.removeEventListener("resize",b)}}),[b]),(0,n.jsx)("div",{className:"iframeWrapper",children:(0,n.jsx)("iframe",f({},o,{className:c||"",height:o.height?o.height:p,frameBorder:i,allowFullScreen:a,width:o.width?o.width:"100%"}))})};p.defaultProps={loading:"",scrolling:"",style:"",height:"",allow:"",allowfullscreen:"",frameborder:"",title:"",width:""},p.propTypes={child:a().shape({attribs:a().shape({src:a().string.isRequired,loading:a().string,scrolling:a().string,style:a().string,height:a().string,allow:a().string,allowfullscreen:a().string,frameborder:a().string,width:a().string,title:a().string})})};var g=p,m=r(4298),b=r(96317),w=r(26389),v=r(93544),y=r.n(v);function x(e){var t=e.word,r=e.content,s=r.title,i=r.description,a=(0,l.useState)(!1),c=a[0],o=a[1],u=(0,l.useState)({vertical:"bottom",horizontal:"left"}),d=u[0],f=u[1],h=(0,l.useRef)(null),p=b.k.mobileIcons.closeBackIcon;return(0,l.useEffect)((function(){if(c&&h.current){var e=new IntersectionObserver((function(e){e.forEach((function(e){e.target===h.current&&function(e){var t=e.boundingClientRect,r=t.y,n=t.x,s=t.width,i=r+t.height+250<window.innerHeight?"bottom":"top",a=n+s+350<window.innerWidth?"left":"right";f({vertical:i,horizontal:a})}(e)}))}),{root:null,threshold:0});return e.observe(h.current),function(){return e.unobserve(h.current)}}}),[c]),(0,n.jsxs)("div",{className:y().container,children:[(0,n.jsx)("span",{ref:h,onClick:function(){return o((function(e){return!e}))},className:y().word,children:t}),c&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{onClick:function(){return o(!1)},className:y().closeSpace}),(0,n.jsxs)("div",{className:"\n ".concat(y()[d.vertical]," \n ").concat(y()[d.horizontal]," \n ").concat(y().c
1ontent),children:[(0,n.jsx)(w.Z,{toggle:!0,src:p.src,alt:p.alt,onClick:function(){return o(!1)},className:y().closeIcon}),(0,n.jsx)("span",{className:y().title,children:s}),(0,n.jsx)("p",{children:i})]})]})]})}x.propTypes={word:a().string.isRequired,content:a().shape({title:a().string.isRequired,description:a().string.isRequired}).isRequired};var _=x;function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function k(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,s,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(o){c=!0,s=o}finally{try{a||null==r.return||r.return()}finally{if(c)throw s}}return i}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return j(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return j(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var I=(0,o.default)((function(){return r.e(751).then(r.bind(r,7751))}),{loadableGenerated:{webpack:function(){return[7751]}}}),O=(0,o.default)((function(){return r.e(17).then(r.bind(r,55017))}),{loadableGenerated:{webpack:function(){return[55017]}}}),N=(0,o.default)((function(){return r.e(473).then(r.bind(r,95473))}),{loadableGenerated:{webpack:function(){return[95473]}}}),S=(0,o.default)((function(){return Promise.resolve().then(r.bind(r,82449))}),{loadableGenerated:{webpack:function(){return[82449]}}}),R=(0,o.default)((function(){return r.e(659).then(r.bind(r,48659))}),{loadableGenerated:{webpack:function(){return[48659]}}}),A=function(e){var t=e.data,r=e.paragraphClassName,i=t.replaceAll(/<p><img(.+?)<\/p>/g,(function(e){return e.slice(3,e.length-4)})).replaceAll(" "," "),a={replace:function(e){var t,i,o,l=e.name,u=e.children,d=e.attribs,f=null!==(o=null===d||void 0===d||null===(t=d.style)||void 0===t||null===(i=t.split)||void 0===i?void 0:i.call(t,";"))&&void 0!==o?o:[],h={};switch(f.forEach((function(e){if(e.trim()){var t=k(e.split(":").map((function(e){return e.trim()})),2),r=t[0],n=t[1];r=r.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()})),h[r]=n}})),l){case"script":return(0,n.jsx)(m.default,{src:d.src});case"div":var p,b,w,v;return(null===d||void 0===d||null===(p=d.class)||void 0===p?void 0:p.includes("raw-html-embed"))&&"script"!==(null===(b=u[0])||void 0===b||null===(w=b.children)||void 0===w||null===(v=w[0])||void 0===v?void 0:v.type)?(0,n.jsx)(g,{child:u[0]}):void 0;case"h1":return(0,n.jsx)(I,{name:(0,s.du)(u,a),className:"break-words"});case"h2":return(0,n.jsx)(O,{name:(0,s.du)(u,a),className:"break-words"});case"h3":return(0,n.jsx)(N,{name:(0,s.du)(u,a),className:"break-words"});case"h4":return(0,n.jsx)(S,{name:(0,s.du)(u,a),className:"break-words"});case"p":return(0,n.jsx)("p",{style:h,className:"break-words ".concat(r),children:(0,s.du)(u,a)});case"img":return(0,n.jsx)(R,{attribs:d});case"figure":return"table"===d.class?(0,n.jsx)("div",{className:"max-w-full overflow-x-scroll ".concat(c.table),children:(0,s.du)(u,a)}):void 0;case"code":var y=u[0].data.indexOf("("),x=u[0].data.indexOf(")"),j=u[0].data.slice(0,y),A=k(u[0].data.slice(y+1,x).split("&"),2),C=A[0],T=A[1];if(!j||!C||!T)return;return(0,n.jsx)(_,{content:{description:T,title:C},word:j});default:return}}};return(0,n.jsx)("div",{className:c.richText,children:(0,s.ZP)(i,a)})};A.propTypes={data:a().string.isRequired,paragraphClassName:a().string};var C=A},59288:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(85893),s=r(9008),i=r(45697),a=r.n(i);function c(e){var t=e.title,r=e.description,i=e.image;return(0,n.jsxs)(s.default,{children:[(0,n.jsx)("title",{children:t}),(0,n.jsx)("meta",{property:"og:title",content:t}),r?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{name:"description",content:r}),(0,n.jsx)("meta",{property:"og:description",content:r})]}):null,(0,n.jsx)("meta",{property:"og:image",content:i}),(0,n.jsx)("meta",{property:"twitter:title",content:t}),(0,n.jsx)("meta",{property:"twitter:image",content:i}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"})]})}c.defaultProps={description:""},c.propTypes={title:a().string.isRequired,description:a().string,image:a().string.isRequired}},93544:function(e){e.exports={container:"styles_container__5nkO6",word:"styles_word__syfXr",closeSpace:"styles_closeSpace__w7zAM",content:"styles_content__nRzPA",appear:"styles_appear__7jw_V",top:"styles_top__La1k5",bottom:"styles_bottom__QjT4F",left:"styles_left__t68Hn",right:"styles_right__uzD50",closeIcon:"styles_closeIcon__MQNY2",title:"styles_title__L6XwU"}},43717:function(e){e.exports={richText:"RichText_richText__86tVY","raw-html-embed":"RichText_raw-html-embed__2Cl5Q",table:"RichText_table__kddzq"}}}]);
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.