PageSourceSearch

https://wiatreo.pl/_nuxt/66cd1c027228982295bd.js

js wiatreo.pl collected 2026-10-01 23:47:11 UTC 24,560 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{561:function(t,e,r){"use strict";function n(t){var{description:e="",keywords:r="",extraMeta:n=[]}=t,meta=[{hid:"description",name:"description",content:e}];return r&&meta.push({hid:"keywords",name:"keywords",content:r}),meta.concat(n)}function o(t){var{title:title="",description:e="",keywords:r="",extraMeta:o=[],link:link=[],script:script=[]}=t,head={title:title,meta:n({description:e,keywords:r,extraMeta:o})};return link.length&&(head.link=link),script.length&&(head.script=script),head}r.d(e,"a",(function(){return o}))},563:function(t,e,r){"use strict";r.d(e,"b",(function(){return l})),r.d(e,"d",(function(){return d})),r.d(e,"c",(function(){return m})),r.d(e,"a",(function(){return _}));var n=r(561),o=r(175);function c(t){return{hid:"i18n-can",rel:"canonical",href:t}}function l(t){var{title:title="",description:e="",url:r="",image:image="",type:n="website",siteName:o="WIATREO"}=t,meta=[{hid:"og:type",property:"og:type",content:n},{hid:"og:title",property:"og:title",content:title},{hid:"og:description",property:"og:description",content:e},{hid:"og:site_name",property:"og:site_name",content:o}];return r&&meta.splice(2,0,{hid:"og:url",property:"og:url",content:r}),image&&meta.push({hid:"og:image",property:"og:image",content:image}),meta}function d(t){var{title:title,description:e,routeFullPath:r,categoryLDJson:d}=t,m=Object(o.a)(r),head=Object(n.a)({title:title,description:e,link:[c(m)],extraMeta:l({title:title,description:e,url:m,image:"https://wiatreo.pl/files/str_fit_crop_w_900_q_80_s_1fe17ecfac4f7234f85352f1314b101b/1/DSpHEVh9Q7GlDka9fzXJfTs15XJATG3e.jpg"})});return d&&(head.script=[{type:"application/ld+json",json:d}]),head}function m(t){var{title:title,description:e,keywords:r,image:image,routeFullPath:d,productLDJson:m,preloadImage:_=!1}=t,h=Object(o.a)(d),link=[c(h)];_&&image&&link.push({rel:"preload",as:"image",href:image,fetchpriority:"high"});var head=Object(n.a)({title:title,description:e,keywords:r,link:link,extraMeta:l({title:title,description:e,url:h,image:image})});return m&&(head.script=[{type:"application/ld+json",json:m}]),head}function _(t){var{title:title,description:e,keywords:r,image:image,link:link=[]}=t;return Object(n.a)({title:title,description:e,keywords:r,extraMeta:l({title:title,description:e,image:image,type:"article",url:""}),link:link})}},564:function(t,e,r){"use strict";r.d(e,"a",(function(){return h})),r.d(e,"c",(function(){return f})),r.d(e,"d",(function(){return v})),r.d(e,"e",(function(){return O})),r.d(e,"f",(function(){return j})),r.d(e,"b",(function(){return w}));r(5);var n=r(1),o=r(2),c=r(40),l=r(19);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){Object(o.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var _={code:"",h1:"",intro:"",introLocale:null,heroImage:"",seo:{title:"",description:""},blocks:[],items:{feature:[],carrier:[],document:[]},company:null};function h(){return JSON.parse(JSON.stringify(_))}function f(t,e,r){return t&&e&&Object(l.b)(e)===Object(l.b)(r)?t:""}function v(t,e){return(t||[]).filter((t=>!t.titleLocale||Object(l.b)(t.titleLocale)===Object(l.b)(e)))}function y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={feature:[],carrier:[],document:[]};return Object.keys(t||{}).forEach((slot=>{e[slot]=(t[slot]||[]).map((t=>m(m({},t),{},{image:t.image?Object(c.b)(t.image):"",url:t.url||"",titleLocale:t.title_locale||null,textLocale:t.text_locale||null})))})),e}function C(){var data=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=data.seo||{};return{code:data.code||"",h1:data.h1||"",intro:data.intro||"",introLocale:data.intro_locale||null,heroImage:data.hero_image?Object(c.b)(data.hero_image):"",seo:{title:t.title||"",description:t.description||""},blocks:(data.blocks||[]).map((t=>({id:t.id,cover:t.cover?Object(c.b)(t.cover):"",header:t.header||"",headerLocale:t.header_locale||null,text:t.text||"",textLocale:t.text_locale||null}))),items:y(data.items),company:data.company||null}}function O(t){if(!t)return!0;var e=Boolean(t.company)&&Object.keys(t.company).length>0;return!t.h1&&!(t.blocks||[]).length&&!e}function j(t){return 410===function(t){if(!t||"object"!=typeof t)return null;if("number"==typeof t.status)return t.status;if(t.error&&"number"==typeof t.error.status)return t.error.status;if(t.response&&"number"==typeof t.response.status)return t.response.status;return null}(t)?404:503}function w(t,e){return k.apply(this,arguments)}function k(){return(k=Object(n.a)((function*(t,code){var{data:data}=yield t.get("/static-page/".concat(code));return C(data)}))).apply(this,arguments)}},567:function(t,e,r){"use strict";r.d(e,"c",(function(){return n})),r.d(e,"b",(function(){return o}
1)),r.d(e,"a",(function(){return c}));r(13);function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(/<[^>]*>/g," ").replace(/&nbsp;/gi," ").replace(/&[a-z#0-9]+;/gi," ").replace(/\s+/g," ").trim()}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if("number"==typeof t)return String(t);if("string"==typeof t){var r=t.trim();return r||e}return e}function c(t){return Array.isArray(t)?t.map((t=>o(t))).filter(Boolean).join(", "):o(t)}},606:function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return c}));var n=r(564);function o(article,t){return Object(n.c)(article&&article.body,article&&article.body_locale,t)}function c(article,t){return Object(n.c)(article&&article.description,article&&article.description_locale,t)}},614:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));r(13);function n(t){return function(html){return html.replace(/\s+(href|src|xlink:href|formaction)\s*=\s*(?:"\s*(javascript|data):[^"]*"|'\s*(javascript|data):[^']*'|[^\s>]*(?:javascript|data):[^\s>]*)/gi,"")}(function(html){return html.replace(/\s+on[a-z]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi,"")}(function(html){return html.replace(/<\s*(script|style|iframe|object|embed|base|form|input|button|textarea|select|option|meta|link)\b[^>]*>[\s\S]*?<\s*\/\s*\1\s*>/gi,"").replace(/<\s*(script|style|iframe|object|embed|base|form|input|button|textarea|select|option|meta|link)\b[^>]*\/?\s*>/gi,"")}(String(null==t?"":t))))}},747:function(t,e,r){},748:function(t,e,r){},749:function(t,e,r){},900:function(t,e,r){"use strict";r(747)},901:function(t,e,r){"use strict";r(748)},902:function(t,e,r){t.exports=r.p+"img/42fd216.jpg"},903:function(t,e,r){"use strict";r(749)},934:function(t,e,r){"use strict";r.r(e);var n=r(2),o=r(1),c=(r(13),r(5),r(9),r(10),r(88)),l=r(7),d={name:"BreadcrumbsArticle",props:{last:{type:String,default:""}}},m=(r(900),r(0)),_=Object(m.a)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"breadcrumbs"},[e("nuxt-link",{attrs:{to:t.localePath({name:"index"})}},[t._v(t._s(t.$t("Main")))]),t._v(" "),e("i",{staticClass:"el-icon-arrow-right"}),t._v(" "),e("nuxt-link",{attrs:{to:t.localePath({name:"news"})}},[t._v(t._s(t.$t("News")))]),t._v(" "),e("i",{staticClass:"el-icon-arrow-right"}),t._v(" "),e("span",{staticClass:"breadcrumbs__last"},[t._v(t._s(t.last))])],1)}),[],!1,null,"4fb31fe2",null).exports;function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach((function(e){Object(n.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var v={name:"ArticleComments",props:{articleId:{type:[String,Number],required:!0}},data:()=>({draft:"",sendError:null,isSending:!1,replyToCommentId:null,replyDraft:"",replyError:null,isSendingReply:!1}),computed:f(f(f({},Object(l.e)("comments",{allComments:t=>t.listByArticle,loadingMap:t=>t.isLoading,errorMap:t=>t.error})),Object(l.e)(["user"])),{},{APPROVED:()=>1,isAuth(){return this.user&&this.user.id},displayName(){return this.user?this.user.display_name?this.user.display_name:this.user.email:""},comments(){return this.allComments[this.articleId]||[]},isLoading(){return!!this.loadingMap[this.articleId]},loadError(){return this.errorMap[this.articleId]||null},draftTrimmed(){return this.draft.trim()},replyTrimmed(){return this.replyDraft.trim()}}),watch:{articleId:{immediate:!0,handler(){this.tryFetchComments()}}},methods:f(f({},Object(l.b)("comments",["FETCH_COMMENTS","CREATE_COMMENT"])),{},{openAuthModal(){this.$router.push(f(f({},this.$route),{},{query:f(f({},this.$route.query),{},{auth:"login"})}))},tryFetchComments(){var t=this;return Object(o.a)((function*(){try{yield t.FETCH_COMMENTS({articleId:t.articleId})}catch(t){}}))()},submitRootComment(){var t=this;return Object(o.a)((function*(){if(t.draftTrimmed&&!t.isSending&&t.isAuth){t.isSending=!0,t.sendError=null;try{yield t.CREATE_COMMENT({articleId:t.articleId,text:t.draftTrimmed,parentId:null}),t.draft=""}catch(r){var e;t.sendError=(null==r||null===(e=r.response)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.message)||t.$t("Failed to send comment")}finally{t.isSending=!1}}}))()},startReply(t){this.replyToCommentId=t,this.replyDraft="",this.replyError=null},cancelReply(){this.replyToCommentId=null,this.replyDraft="",this.replyError=null,this.isSendingReply=!1},submitReply(t){var e=this;return Object(o.a)((function*(){if(e.replyTrimmed&&!e.isSendingReply&&e.isAuth){e.isSendingReply=!0,e.replyError=null;try{yield e.CREATE_COMMENT({articleId:e.articleId,text:e.replyTrimmed,parentId:t}),e.cancelReply()}catch(t){var r;e.replyError=(null==t||null===(r=t.response)||void 0===r||null===(r=r.data)||void 0===r?void 0:r.message)||e.$t("Failed to send reply"),e.isSendingReply=!1}}}))()}})},y=(r(901),Object(m.a)(v,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"comments"},[e("div",{staticClass:"comments__header"},[e("div",[e("h2",{staticClass:"comments__title"},[t._v("\n        "+t._s(t.$t("Comments"))+"\n      ")])]),t._v(" "),t.comments&&t.comments.length?e("span",{staticClass:"comments__count"},[t._v("\n      ("+t._s(t.comments.length)+")\n    ")]):t._e()]),t._v(" "),e("div",{staticClass:"comments__form-wrapper"},[t.isAuth?e("div",{staticClass:"comments__form"},[e("div",{staticClass:"comments__form-header"},[e("button",{staticClass:"cabinet-btn",attrs:{title:t.displayName}},[e("span",{staticClass:"el-icon-user"}),t._v(" "),e("span",{staticClass:"cabinet-username"},[t._v("\n            "+t._s(t.displayName)+"\n          ")])])]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.draft,expression:"draft"}],staticClass:"comments__textarea",attrs:{placeholder:t.$t("Write a comment..."),disabled:t.isSending},domProps:{value:t.draft},on:{input:function(e){e.target.composing||(t.draft=e.target.value)}}}),t._v(" "),e("div",{staticClass:"comments__form-actions"},[e("button",{staticClass:"comments__send-btn",attrs:{disabled:t.isSending||!t.draftTrimmed},on:{click:t.submitRootComment}}
1,[t.isSending?e("span",[t._v(t._s(t.$t("Sending...")))]):e("span",[t._v(t._s(t.$t("Send")))])])]),t._v(" "),t.sendError?e("p",{staticClass:"comments__error"},[t._v("\n        "+t._s(t.sendError)+"\n      ")]):t._e()]):e("div",{staticClass:"comments__login-hint"},[e("p",{staticClass:"comments__login-text"},[t._v("\n        "+t._s(t.$t("Log in to leave a comment"))+"\n      ")]),t._v(" "),e("button",{staticClass:"comments__login-link",attrs:{type:"button"},on:{click:t.openAuthModal}},[t._v("\n        "+t._s(t.$t("Sign in"))+"\n      ")])])]),t._v(" "),e("div",{staticClass:"comments__list-wrapper"},[t.isLoading?e("div",{staticClass:"comments__loading"},[t._v("\n      "+t._s(t.$t("Loading comments..."))+"\n    ")]):t.loadError?e("div",{staticClass:"comments__error"},[t._v("\n      "+t._s(t.loadError)+"\n    ")]):t.comments&&0!==t.comments.length?e("ul",{staticClass:"comments__list"},t._l(t.comments,(function(r){var n,o;return e("li",{key:r.id,staticClass:"comments__item"},[e("div",{staticClass:"comments__meta"},[e("span",{staticClass:"comments__author"},[t._v("\n            "+t._s((null===(n=r.user)||void 0===n?void 0:n.display_name)||t.$t("Anonymous"))+"\n            "),null!==(o=r.user)&&void 0!==o&&o.is_admin?e("span",{staticClass:"comments__badge-admin"},[t._v("\n              "+t._s(t.$t("Admin"))+"\n            ")]):r.status!==t.APPROVED?e("span",{staticClass:"comments__badge-pending"},[t._v("\n              "+t._s(t.$t("Pending moderation"))+"\n            ")]):t._e()]),t._v(" "),e("span",{staticClass:"comments__dot"},[t._v("•")]),t._v(" "),e("span",{staticClass:"comments__time"},[t._v("\n            "+t._s(t.$moment.unix(r.created_at).fromNow())+"\n          ")])]),t._v(" "),e("div",{staticClass:"comments__text"},[t._v("\n          "+t._s(r.text)+"\n        ")]),t._v(" "),t.isAuth?e("div",{staticClass:"comments__actions"},[e("button",{staticClass:"comments__reply-btn",on:{click:function(e){return t.startReply(r.id)}}},[t._v("\n            "+t._s(t.$t("Reply"))+"\n          ")])]):t._e(),t._v(" "),t.isAuth&&t.replyToCommentId===r.id?e("div",{staticClass:"comments__reply-form"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyDraft,expression:"replyDraft"}],staticClass:"comments__textarea comments__textarea--reply",attrs:{placeholder:t.$t("Write a reply..."),disabled:t.isSendingReply},domProps:{value:t.replyDraft},on:{input:function(e){e.target.composing||(t.replyDraft=e.target.value)}}}),t._v(" "),e("div",{staticClass:"comments__form-actions"},[e("button",{staticClass:"comments__send-btn",attrs:{disabled:t.isSendingReply||!t.replyTrimmed},on:{click:function(e){return t.submitReply(r.id)}}}
1,[t.isSendingReply?e("span",[t._v(t._s(t.$t("Sending...")))]):e("span",[t._v(t._s(t.$t("Send reply")))])]),t._v(" "),e("button",{staticClass:"comments__cancel-reply-btn",attrs:{type:"button"},on:{click:t.cancelReply}},[t._v("\n              "+t._s(t.$t("Cancel"))+"\n            ")])]),t._v(" "),t.replyError?e("p",{staticClass:"comments__error"},[t._v("\n            "+t._s(t.replyError)+"\n          ")]):t._e()]):t._e(),t._v(" "),r.replies&&r.replies.length?e("ul",{staticClass:"comments__replies"},t._l(r.replies,(function(r){var n,o;return e("li",{key:r.id,staticClass:"comments__reply-item"},[e("div",{staticClass:"comments__meta comments__meta--reply"},[e("span",{staticClass:"comments__author"},[t._v("\n                "+t._s((null===(n=r.user)||void 0===n?void 0:n.display_name)||t.$t("Anonymous"))+"\n\n                "),null!==(o=r.user)&&void 0!==o&&o.is_admin?e("span",{staticClass:"comments__badge-admin"},[t._v("\n                  "+t._s(t.$t("Admin"))+"\n                ")]):r.status!==t.APPROVED?e("span",{staticClass:"comments__badge-pending"},[t._v("\n                  "+t._s(t.$t("Pending moderation"))+"\n                ")]):t._e()]),t._v(" "),e("span",{staticClass:"comments__dot"},[t._v("•")]),t._v(" "),e("span",{staticClass:"comments__time"},[t._v("\n                "+t._s(t.$moment.unix(r.created_at).fromNow())+"\n              ")])]),t._v(" "),e("div",{staticClass:"comments__text comments__text--reply"},[t._v("\n              "+t._s(r.text)+"\n            ")])])})),0):t._e()])})),0):e("div",{staticClass:"comments__empty"},[t._v("\n      "+t._s(t.$t("No comments yet"))+"\n    ")])])])}),[],!1,null,"48275698",null).exports),C=(r(73),r(28),r(14)),O=r(614),j=new Set(["wiatreo.pl","www.wiatreo.pl"]),w=["/article","/shop","/about","/delivery","/contacts","/policy","/terms","/zwrot-kaucji","/regeneracja-turbosprezarek","/sitemap","/news","/b2b"];function k(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=new RegExp("^/(?:".concat(C.e.join("|"),")(?=/|$)")),r=t||"/",n=r.replace(e,"");return n||"/"}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!t||t.startsWith("#")||t.startsWith("mailto:")||t.startsWith("tel:")}function A(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return w.some((e=>t===e||t.startsWith("".concat(e,"/"))))}function x(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,r=String(t||"").trim();if(/^\s*(?:javascript|data):/i.test(r))return"#";if(E(r))return r;var n,o=r.startsWith("//"),c=/^(?:https?:)?\/\//i.test(r);r.startsWith("/");try{n=new URL(r,"https://wiatreo.pl")}catch(t){return r}if(c&&!j.has(n.hostname))return r;var l=k(n.pathname);if(!A(l))return r;var d=Object(C.i)(e),m=d===C.c?"":"/".concat(d),_="".concat(m).concat(l)||"/",h="".concat(_).concat(n.search).concat(n.hash);return o?"//".concat(n.host).concat(h):c?"".concat(n.protocol,"//").concat(n.host).concat(h):h}function S(){var html=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return Object(O.a)(html).replace(/href\s*=\s*(['"])(.*?)\1/gi,((e,r,n)=>{var o=x(n,t);return o===n?e:"href=".concat(r).concat(o).concat(r)}))}var P=r(606),T=r(567);var I=r(174),$=r(563);function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach((function(e){Object(n.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var D,N={name:"Slug",components:{BreadcrumbsArticle:_,News:()=>Promise.all([r.e(1),r.e(54)]).then(r.bind(null,974)),ArticleComments:y},data:()=>({nameAuthor:"",textPosition:"",titleMenu:"",imageAuthor:r(902),headingsStructure:[]}),asyncData:t=>Object(o.a)((function*(){var{store:e,params:r,error:n,app:o}=t,{slug:l}=r,d=Object(I.b)();if(l)try{var article=yield e.dispatch("articles/GET_ARTICLE",l);e.commit("articles/SET_ARTICLE",R(R({},article),{},{body:S(Object(P.a)(article,o.i18n.locale),o.i18n.locale)}))}catch(t){if(Object(I.d)(d)||Object(I.c)(t))return;var m=Object(c.a)(t);n({statusCode:m,message:404===m?o.i18n.t("Article not found"):o.i18n.t("Error")})}}))(),computed:R({},Object(l.e)("articles",["article"])),watch:{"$i18n.locale":function(){clearTimeout(D);var t=this;D=setTimeout((()=>t&&!0!==t._isBeingDestroyed&&t.reloadArticle()),50)}},mounted(){this.extractHeadings(),this.updateAuthorInfo(),this.registerArticleView()},methods:R(R({},Object(l.b)("articles",["GET_ARTICLE","INCREMENT_ARTICLE_VIEW"])),{},{reloadArticle(){var t=this;return Object(o.a)((function*(){try{var article=yield t.GET_ARTICLE(t.$route.params.slug);t.$store.commit("articles/SET_ARTICLE",R(R({},article),{},{body:S(Object(P.a)(article,t.$i18n.locale),t.$i18n.locale)})),t.extractHeadings(),t.updateAuthorInfo(),t.registerArticleView()}catch(t){console.error("Error reloading article after language change:",t)}}))()},registerArticleView(){var t=this;return Object(o.a)((function*(){var{slug:e}=t.$route.params;if(e){var r="news_view_registered:".concat(e);try{if(window.sessionStorage.getItem(r))return;yield t.INCREMENT_ARTICLE_VIEW(e),window.sessionStorage.setItem(r,"1")}catch(t){t&&t.response&&404!==t.response.status&&console.error("Error registering article view:",t)}}}))()},updateAuthorInfo(){"pl"===this.$i18n.locale?(this.nameAuthor="Ilya Melnyk",this.textPosition="Redaktor naczelny",this.titleMenu="Artykuły"):"en"===this.$i18n.locale?(this.nameAuthor="Ilya Melnyk",this.textPosition="Chief Editor",this.titleMenu="Articles"):"ru"===this.$i18n.locale?(this.nameAuthor="Илья Мельник",this.textPosition="Главный редактор",this.titleMenu="Статьи"):"de"===this.$i18n.locale?(this.nameAuthor="Ilya Melnyk",this.textPosition="Chefredakteur",this.titleMenu="Artikel"):"fr"===this.$i18n.locale&&(this.nameAuthor="Ilya Melnyk",this.textPosition="Rédacteur en chef",this.titleMenu="Articles")},extractHeadings(){if(this.article&&this.article.body){var body=this.article.body.replace(/<img([^>]*?)>/g,((t,e)=>(/loading=/.test(e)||(e+=' loading="lazy"'),/decoding=/.test(e)||(e+=' decoding="async"'),/fetchpriority=/.test(e)||(e+=' fetchpriority="low"'),"<img".concat(e,">")))),t=(new DOMParser).parseFromString(body,"text/html").querySelectorAll("h2, h3"),e=[],h2=null;t.forEach((t=>{"H2"===t.tagName?(h2={title:t.textContent,h3:[]},e.push(h2)):h2&&"H3"===t.tagName&&h2.h3.push(t.textContent)})),this.headingsStructure=e,this.article=R(R({},this.article),{},{body:body})}else this.headingsStructure=[]},scrollToHeading(t){var e=this.$refs.articleRoot;if(e){var r=Array.from(e.querySelectorAll("h2, h3")).find((e=>e.textContent.trim()===t.trim()));r?(r.scrollIntoView({block:"center",behavior:"smooth"}),r.style.transition="transform 0.3s ease"):console.error("Заголовок не знайдено")}}}),head(){if(this.article){var t=function(){var article=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{title:Object(T.b)(article.title),description:Object(T.b)(article.description),keywords:Object(T.a)(article.keywords),image:Object(T.b)(article.cover)}}(this.article),e=this.article.cover_web||t.image;
1return Object($.a)({title:t.title,description:t.description,keywords:t.keywords,image:t.image,link:e?[{rel:"preload",as:"image",href:e,fetchpriority:"high"}]:[]})}}},L=N,H=(r(903),Object(m.a)(L,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"article"},[e("div",{staticClass:"article__container"},[t.article?e("div",{staticClass:"article__wrap"},[e("div",{staticClass:"article__header"},[e("BreadcrumbsArticle",{attrs:{last:t.article.header}})],1),t._v(" "),e("div",{staticClass:"article__layout"},[e("article",{ref:"articleRoot",staticClass:"article__wrapper"},[e("header",{staticClass:"article__hero"},[e("h1",[t._v(t._s(t.article.header))]),t._v(" "),e("div",{staticClass:"article__author_desc_group"},[e("img",{staticClass:"article__image-author",attrs:{src:t.imageAuthor,alt:"Ilya Melnyk",title:"Ilya Melnyk",loading:"lazy",decoding:"async"}}),t._v(" "),e("div",[e("p",{staticClass:"article__author_group"},[e("span",{staticClass:"article__author"},[t._v("\n                    "+t._s(this.nameAuthor)+", "+t._s(this.textPosition)+"\n                  ")])]),t._v(" "),e("p",{staticClass:"article__time_group"},[e("span",{staticClass:"article__time"},[t._v("\n                    "+t._s(t.$moment.unix(t.article.date).format("LL"))+"\n                  ")])])])])]),t._v(" "),e("img",{directives:[{name:"img-fade",rawName:"v-img-fade"}],staticClass:"article__cover",attrs:{src:t.article.cover_web||t.article.cover,alt:t.article.header,loading:"eager",decoding:"async",fetchpriority:"high"}}),t._v(" "),e("section",{staticClass:"article__body",domProps:{innerHTML:t._s(t.article.body)}}),t._v(" "),t.article&&t.article.id?e("ArticleComments",{attrs:{"article-id":t.article.id}}):t._e()],1),t._v(" "),t.headingsStructure.length>0?e("aside",{staticClass:"article__menu-list"},[e("div",{staticClass:"article__menu-list__inner"},[e("span",{staticClass:"article__menu-list__titleMenu"},[t._v(t._s(t.titleMenu))]),t._v(" "),e("ul",t._l(t.headingsStructure,(function(r,n){return e("li",{key:n},[e("a",{on:{click:function(e){return t.scrollToHeading(r.title)}}},[t._v(t._s(r.title))]),t._v(" "),r.h3.length>0?e("ul",{staticClass:"menu-childs"},t._l(r.h3,(function(r,o){return e("li",{key:n+"-"+o},[e("a",{on:{click:function(e){return t.scrollToHeading(r)}}},[t._v(t._s(r))])])})),0):t._e()])})),0)])]):t._e()])]):t._e()]),t._v(" "),e("client-only",{scopedSlots:t._u([{key:"placeholder",fn:function(){return[e("div",{staticClass:"article__news-placeholder",attrs:{"aria-hidden":"true"}})]},proxy:!0}])},[e("News",{staticClass:"article__news",scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n        "+t._s(t.$t("Other news"))+"\n      ")]},proxy:!0}])})],1)],1)}),[],!1,null,"594b802e",null));e.default=H.exports}}]);

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.