1import{d as se}from"./Ok-gpVPBtn-.js";import{H as ie,u as ae}from"./Header-DIDBcwYp.js";import{n as x,g as U,h as J,F as oe,d as le,b as ce,c as ue,f as de}from"./client-DLuPKPea.js";import{I as Q,g as fe,A as pe}from"./Ar-BYo33rzy.js";import{a as ee,C as he}from"./ChevronRight-CB-qeSJd.js";const _e=["ÑнваÑÑ","ÑевÑалÑ","маÑÑа","апÑелÑ","маÑ","иÑнÑ","иÑлÑ","авгÑÑÑа","ÑенÑÑбÑÑ","окÑÑбÑÑ","ноÑбÑÑ","декабÑÑ"],ve=l=>{if(l)return new Date(typeof l=="number"?l*1e3:l).toISOString()},me=l=>{if(!l)return;const t=new Date(typeof l=="number"?l*1e3:l),r=new Date().getTimezoneOffset();t.setMinutes(t.getMinutes()+r+60*3);const d=t.getFullYear(),m=_e[t.getMonth()],h=t.getDate();let _=t.getHours();_=_<10?`0${_}`:_;let p=t.getMinutes();p=p<10?`0${p}`:p;const b=new Date;return b.toDateString()===t.toDateString()?`ÑÐµÐ³Ð¾Ð´Ð½Ñ Ð² ${_}:${p}`:d<b.getFullYear()?`${h} ${m} ${d}`:`${h} ${m}, ${_}:${p}`},ge={props:{title:{type:String,required:!0},author:{type:String,default:""},publishedAt:{type:[String,Number],default:""}},computed:{dateText(){return me(this.publishedAt)},dateTime(){return ve(this.publishedAt)}}};var ye=function(){var t=this,r=t._self._c;return r("div",{staticClass:"article-top"},[r("h1",{staticClass:"article-top__title"},[t._v(" "+t._s(t.title)+" ")]),r("div",{staticClass:"article-top__container"},[t.author?r("div",{staticClass:"article-top__author"},[t._v(" "+t._s(t.author)+" ")]):t._e(),r("time",{staticClass:"article-top__time",attrs:{datetime:t.dateTime}},[t._v(" "+t._s(t.dateText)+" ")])])])},be=[],we=x(ge,ye,be,!1,null,null);const xe=we.exports;var te={exports:{}};(function(l,t){(function(r,d){l.exports=d()})(U,function(){function r(n,s){if(n)for(var e in n)({}).hasOwnProperty.call(n,e)&&s(e,n[e])}function d(n){return n==null||n.length===0||n.trim().length===0}var m={unstyled:"p","header-one":"h1","header-two":"h2","header-three":"h3","header-four":"h4","header-five":"h5","header-six":"h6","unordered-list-item":"ul","ordered-list-item":"ol",blockquote:"blockquote",code:"pre"};function h(n){return n&&m[n]}function _(n){var s="";return r(n,function(e,i){i&&(s+=e+":"+i+";")}),s}function p(n,s){var e=[];if(s){for(var i=0,a=0,o=n,c=s.trigger||"#",u=s.separator||" ";o.length>0&&a>=0;)if(o[0]===c?(a=0,i=0,o=o.substr(c.length)):(a=o.indexOf(u+c),a>=0&&(o=o.substr(a+(u+c).length),i+=a+u.length)),a>=0){var f=o.indexOf(u)>=0?o.indexOf(u):o.length,v=o.substr(0,f);v&&v.length>0&&e.push({offset:i,length:v.length+c.length,type:"HASHTAG"}),i+=c.length}}return e}function b(n,s){var e=[],i=0,a=n.entityRanges.map(function(o){var c=o.offset,u=o.length,f=o.key;return{offset:c,length:u,key:f,type:"ENTITY"}});return a=a.concat(p(n.text,s)),a=a.sort(function(o,c){return o.offset-c.offset}),a.forEach(function(o){o.offset>i&&e.push({start:i,end:o.offset}),e.push({start:o.offset,end:o.offset+o.length,entityKey:o.key,type:o.type}),i=o.offset+o.length}),i<n.text.length&&e.push({start:i,end:n.text.length}),e}function C(n){return!!(n.entityRanges.length>0&&(d(n.text)||n.type==="atomic"))}function g(n){var s=n.text,e=n.inlineStyleRanges,i={BOLD:new Array(s.length),ITALIC:new Array(s.length),UNDERLINE:new Array(s.length),STRIKETHROUGH:new Array(s.length),CODE:new Array(s.length),SUPERSCRIPT:new Array(s.length),SUBSCRIPT:new Array(s.length),COLOR:new Array(s.length),BGCOLOR:new Array(s.length),FONTSIZE:new Array(s.length),FONTFAMILY:new Array(s.length),length:s.length};return e&&e.length>0&&e.forEach(function(a){for(var o=a.offset,c=o+a.length,u=o;u<c;u+=1)a.style.indexOf("color-")===0?i.COLOR[u]=a.style.substring(6):a.style.indexOf("bgcolor-")===0?i.BGCOLOR[u]=a.style.substring(8):a.style.indexOf("fontsize-")===0?i.FONTSIZE[u]=a.style.substring(9):a.style.indexOf("fontfamily-")===0?i.FONTFAMILY[u]=a.style.substring(11):i[a.style]&&(i[a.style][u]=!0)}),i}function A(n,s){var e={};return n.COLOR[s]&&(e.COLOR=n.COLOR[s]),n.BGCOLOR[s]&&(e.BGCOLOR=n.BGCOLOR[s]),n.FONTSIZE[s]&&(e.FONTSIZE=n.FONTSIZE[s]),n.FONTFAMILY[s]&&(e.FONTFAMILY=n.FONTFAMILY[s]),n.UNDERLINE[s]&&(e.UNDERLINE=!0),n.ITALIC[s]&&(e.ITALIC=!0),n.BOL
1D[s]&&(e.BOLD=!0),n.STRIKETHROUGH[s]&&(e.STRIKETHROUGH=!0),n.CODE[s]&&(e.CODE=!0),n.SUBSCRIPT[s]&&(e.SUBSCRIPT=!0),n.SUPERSCRIPT[s]&&(e.SUPERSCRIPT=!0),e}function $(n,s,e){var i=!0;return e>0&&e<n.length?s.forEach(function(a){i=i&&n[a][e]===n[a][e-1]}):i=!1,i}function D(n,s){return n==="BOLD"?"<strong>"+s+"</strong>":n==="ITALIC"?"<em>"+s+"</em>":n==="UNDERLINE"?"<ins>"+s+"</ins>":n==="STRIKETHROUGH"?"<del>"+s+"</del>":n==="CODE"?"<code>"+s+"</code>":n==="SUPERSCRIPT"?"<sup>"+s+"</sup>":n==="SUBSCRIPT"?"<sub>"+s+"</sub>":s}function N(n){if(n&&n.length>0){var s=n.map(function(e){switch(e){case` 2`:return"<br>";case"&":return"&";case"<":return"<";case">":return">";default:return e}});return s.join("")}return""}function S(n,s){if(n&&(n.COLOR||n.BGCOLOR||n.FONTSIZE||n.FONTFAMILY)){var e='style="';return n.COLOR&&(e+="color: "+n.COLOR+";"),n.BGCOLOR&&(e+="background-color: "+n.BGCOLOR+";"),n.FONTSIZE&&(e+="font-size: "+n.FONTSIZE+(/^\d+$/.test(n.FONTSIZE)?"px":"")+";"),n.FONTFAMILY&&(e+="font-family: "+n.FONTFAMILY+";"),e+='"',"<span "+e+">"+s+"</span>"}return s}function I(n,s,e,i){var a=n[s];if(typeof i=="function"){var o=i(a,e);if(o)return o}if(a.type==="MENTION")return'<a href="'+a.data.url+'" class="wysiwyg-mention" data-mention data-value="'+a.data.value+'">'+e+"</a>";if(a.type==="LINK"){var c=a.data.targetOption||"_self";return'<a href="'+a.data.url+'" target="'+c+'">'+e+"</a>"}return a.type==="IMAGE"?'<img src="'+a.data.src+'" alt="'+a.data.alt+'" style="float:'+(a.data.alignment||"none")+";height: "+a.data.height+";width: "+a.data.width+'"/>':a.type==="EMBEDDED_LINK"?'<iframe width="'+a.data.width+'" height="'+a.data.height+'" src="'+a.data.src+'" frameBorder="0"></iframe>':e}function F(n,s,e,i){var a=[],o=n.text;if(o.length>0)for(var c=g(n),u=void 0,f=e;f<i;f+=1)f!==e&&$(c,s,f)?(u.text.push(o[f]),u.end=f+1):(u={styles:A(c,f),text:[o[f]],start:f,end:f+1},a.push(u));return a}function P(n){if(n){for(var s=n,e=0;e<s.length&&n[e]===" ";e+=1)s=s.replace(" "," ");return s}return n}function y(n){if(n){for(var s=n,e=s.length-1;e>=0&&s[e]===" ";e-=1)s=s.substring(0,e)+" "+s.substring(e+1);return s}return n}function w(n){var s=n.styles,e=n.text,i=N(e);return r(s,function(a,o){i=D(a,i)}),i}function O(n,s){var e=F(n,["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"],s.start,s.end),i="";return e.forEach(function(a){i+=w(a)}),i=S(s.styles,i),i}function L(n,s,e,i){var a=[],o=F(n,["COLOR","BGCOLOR","FONTSIZE","FONTFAMILY"],e.start,e.end);o.forEach(function(u){a.push(O(n,u))});var c=a.join("");return e.type==="ENTITY"?e.entityKey!==void 0&&e.entityKey!==null&&(c=I(s,e.entityKey,c,i)):e.type==="HASHTAG"&&(c='<a href="'+c+'" class="wysiwyg-hashtag">'+c+"</a>"),c}function E(n,s,e,i){var a=[],o=b(n,e);return o.forEach(function(c,u){var f=L(n,s,c,i);u===0&&(f=P(f)),u===o.length-1&&(f=y(f)),a.push(f)}),a.join("")}function H(n,s,e,i,a){var o=[];if(C(n))o.push(I(s,n.entityRanges[0].key,void 0,a));else{var c=h(n.type);if(c){o.push("<"+c);var u=_(n.data);u&&o.push(' style="'+u+'"'),i&&o.push(' dir = "auto"'),o.push(">"),o.push(E(n,s,e,a)),o.push("</"+c+">")}}return o.push(` 3`),o.join("")}function M(n){return n==="unordered-list-item"||n==="ordered-list-item"}function T(n,s,e,i,a){var o=[],c=[],u=void 0;return n.forEach(function(f){var v=!1;if(u?u.type!==f.type?(o.push("</"+h(u.type)+`> 4`),o.push("<"+h(f.type)+`> 5`)):u.depth===f.depth?c&&c.length>0&&(o.push(T(c,s,e,i,a)),c=[]):(v=!0,c.push(f)):o.push("<"+h(f.type)+`> 6`),!v){o.push("<li");var k=_(f.data);k&&o.push(' style="'+k+'"'),i&&o.push(' dir = "auto"'),o.push(">"),o.push(E(f,s,e,a)),o.push(`</li> 7`),u=f}}),c&&c.length>0&&o.push(T(c,s,e,i,a)),o.push("</"+h(u.type)+`> 8`),o.join("")}function B(n,s,e,i){var a=[];if(n){var o=n.blocks,c=n.entityMap;if(o&&o.length>0){var u=[];if(o.forEach(function(v){if(M(v.type))u.push(v);else{if(u.length>0){var k=T(u,c,s,i);a.push(k),u=[]}var ne=H(v,c,s,e,i);a.push(ne)}}),u.length>0){var f=T(u,c,s,e,i);a.push(f),u=[]}}}return a.join("")}return B})})(te);var Ce=te.exports;const Oe=J(Ce);function Ae(l,t,r){var d={},m="",h="...",_=10>t?t:10,p=["img","br"],b=[],C=0,g=m,A='([\\w|-]+\\s*(=\\s*"[^"]*")?\\s*)*',$="\\s*\\/?\\s*",D="\\s*\\/\\s*",N=new RegExp("<\\/?\\w+\\s*"+A+D+">"),S=new RegExp("<\\/?\\w+\\s*"+A+$+">"),I=/(((ftp|https?):\/\/)[\-\w@:%_\+.~#?,&\/\/=]+)|((mailto:)?[_.\w\-]+@([\w][\w\-]+\.)+[a-zA-Z]{2,3})/g,F=new RegExp("<img\\s*"+A+$+">"),P=new RegExp("\\W+","g"),y=!0,w,O,L,E;function H(n){var s=F.exec(n),e,i;return s?(e=s.index,i=s[0].length,n.substring(0,e)+n.substring(e+i)):n}function M(n){var s="";
8return n.reverse().forEach(function(e,i){p.indexOf(e)===-1&&(s+="</"+e+">")}),s}function T(n){var s=n.indexOf(" ");if(s===-1&&(s=n.indexOf(">"),s===-1))throw new Error("HTML tag is not well-formed : "+n);return n.substring(1,s)}function B(n,s){var e=t-C,i=e,a=e<r.slop,o=a?e:r.slop-1,c,u=a?0:e-r.slop,f=s||e+r.slop,v;if(!r.truncateLastWord){if(c=n.slice(u,f),s&&c.length<=s)i=c.length;else for(;(v=P.exec(c))!==null;)if(v.index<o){if(i=e-(o-v.index),v.index===0&&e<=1)break}else if(v.index===o){i=e;break}else{i=e+(v.index-o);break}n.charAt(i-1).match(/\s$/)&&i--}return i}for(r=r||d,r.ellipsis=r.ellipsis!==void 0?r.ellipsis:h,r.truncateLastWord=r.truncateLastWord!==void 0?r.truncateLastWord:!0,r.slop=r.slop!==void 0?r.slop:_;y;){if(y=S.exec(l),!y){if(C>=t)break;if(y=I.exec(l),!y||y.index>=t){g+=l.substring(0,B(l));break}for(;y;)w=y[0],O=y.index,g+=l.substring(0,O+w.length-C),l=l.substring(O+w.length),y=I.exec(l);break}if(w=y[0],O=y.index,C+O>t){g+=l.substring(0,B(l,O));break}else C+=O,g+=l.substring(0,O);w[1]==="/"?(b.pop(),E=null):(E=N.exec(w),E||(L=T(w),b.push(L))),E?g+=E[0]:g+=w,l=l.substring(O+w.length)}return l.length>t-C&&r.ellipsis&&(g+=r.ellipsis),g+=M(b),r.keepImageTag||(g=H(g)),g}var Ee=Ae;const Te=J(Ee),Se=50,j=250,ke={props:{value:{type:String,default:""},index:{type:Number,default:0},isAuthorizedOnly:{type:Boolean,default:!1}},data:()=>({newValue:""}),created(){this.newValue=this.value.length>j&&this.isAuthorizedOnly?Te(this.value,j):this.value},mounted(){this.$el.clientHeight<Se||this.makeCapitalLetter(this.newValue)},methods:{makeCapitalLetter(l){if(this.index!==0)return;const t=l.split(" "),r=t[0].substr(3,1),d=t[0].substr(4);if(r.search(/(?=.*[0-9])|(?=.*[â+!@#$%^&*<>])/g)!==-1){this.newValue=l;return}t[0]=`<p><span class='text-block__first-letter'>${r}</span>${d}`,this.newValue=t.join(" ")}}};var Re=function(){var t=this,r=t._self._c;return r("div",{staticClass:"text-block",domProps:{innerHTML:t._s(t.newValue)}})},$e=[],Ie=x(ke,Re,$e,!1,null,null);const z=Ie.exports,Fe={components:{ChevronRightIcon:ee},props:{title:{type:String,default:"РазвеÑнÑÑÑ"},content:{type:String,default:""}},data:()=>({isCollapsed:!0}),methods:{scrollToBlockHeader(){const d=this.$refs.collapseBlockHeader.offsetTop-60;document.documentElement.scrollTop=d,document.body.scrollTop=d},handleClick(){this.isCollapsed=!this.isCollapsed,this.isCollapsed&&this.scrollToBlockHeader()}}};var Le=function(){var t=this,r=t._self._c;return r("div",{staticClass:"collapse-block__wrapper-outer"},[r("div",{ref:"collapseBlockHeader",staticClass:"collapse-block",on:{click:t.handleClick}},[r("div",{staticClass:"collapse-block__wrapper-inner"},[r("div",{staticClass:"collapse-block__header"},[r("div",{staticClass:"collapse-block__title",domProps:{innerHTML:t._s(t.title)}}),r("div",{staticClass:"collapse-block__chevron"},[r("chevron-right-icon",{staticClass:"collapse-block__chevron-icon",class:{"collapse-block__chevron-icon_active":!t.isCollapsed}})],1)]),r("div",{directives:[{name:"show",rawName:"v-show",value:!t.isCollapsed,expression:"!isCollapsed"}],staticClass:"collapse-block__content",domProps:{innerHTML:t._s(t.content)}}),r("div",{directives:[{name:"show",rawName:"v-show",value:!t.isCollapsed,expression:"!isCollapsed"}],staticClass:"collapse-block__hide"},[t._v(" СкÑÑÑÑ ")])])])])},Be=[],De=x(Fe,Le,Be,!1,null,null);const Y=De.exports,Ne={components:{ImageCustom:Q},props:{image:{type:Object,required:!0},description:{type:String,default:""}}};var Me=function(){var t=this,r=t._self._c;return r("div",{staticClass:"image-block"},[r("image-custom",{attrs:{width:t.image.width||900,height:t.image.height||500,src:t.image.path,description:t.description}})],1)},Pe=[],He=x(Ne,Me,Pe,!1,null,null);const V=He.exports,Ue={props:{description:{type:String,default:""},margin:{type:String,default:"0"},textAlign:{type:String,default:"left"},maxWidth:{type:String,default:"auto"}}};var Ge=function(){var t=this,r=t._self._c;return r("div",{staticClass:"description",style:{margin:t.margin,textAlign:t.textAlign,maxWidth:t.maxWidth},domProps:{innerHTML:t._s(t.description)}})},je=[],ze=x(Ue,Ge,je,!1,null,null);const G=ze.exports,Ye={components:{Description:G,ChevronLeftIcon:he,ChevronRightIcon:ee},props:{id:{type:String,default:""},gallery:{type:Object,default:()=>({})},index:{type:Number,default:0}},data:()=>({description:""}),computed:{swiperOption(){return{effect:"fade",pagination:{el:`#gallery-${this.index}-fraction`,type:"fraction"},navigation:{prevEl:`#gallery-${this.index}-button-prev`,nextEl:`#gallery-${this.index}-button-next`,disabledClass:"gallery-block__button_disabled"}}},galleryId(){return this.gallery.id||""},galleryFiles(){const l=this.gallery.gallery_files;return l?l.map((t,r)=>({index:r,...t,image:{...t.image,url:fe(t.image.url,"900x")}})).sort((t,r)=>t.placementIndex-r.placementIndex):[]}},mounted(){this.$refs.mySwiper&&(this.swiper=this.$refs.mySwiper.swiper,this.getDescriptionOfActiveSlide(),this.swiper.on("slideChange",this.getDescriptionOfActiveSlide))},methods:{getDescriptionOfActiveSlide(){this.description=this.galleryFiles[this.swiper.activeIndex].title}}};var Ve=function(){var t=this,r=t._self._c;return t.galleryId?r("div",{staticClass:"gallery-block"},[r("div",{staticClass:"gallery-block__swiper"},[r("div",{directives:[{name:"swiper",rawName:"v-swiper:mySwiper",value:t.swiperOption,expression:"swiperOption",arg:"mySwiper"}],ref:"mySwiper"},[r("div",{staticClass:"swiper-wrapper"},t._l(t.galleryFiles,function(d){return r("div",{key:d.id,staticClass:"swiper-slide"},[r("img",{staticClass:"swiper-image",attrs:{src:d.image.url,alt:d.title}})])}),0)]),r("button",{staticClass:"gallery-block__button gallery-block__button_prev",attrs:{id:`gallery-${t.index}-button-prev`}},[r("chevron-left-icon")],1),r("button",{staticClass:"gallery-block__button gallery-block__button_next",attrs:{id:`gallery-${t.index}-button-next`}},[r("chevron-right-icon")],1)]),r("div",{staticClass:"gallery-block__info"},[r("description",{attrs:{description:t.description,"max-width":"450px"}}),r("div",{staticClass:"gallery-block__fraction",attrs:{id:`gallery-${t.index}-fraction`}})],1)]):t._e()},Ze=[],Xe=x(Ye,Ve,Ze,!1,null,null);const Z=Xe.exports;var re={exports:{}};(function(l,t){(function(r,d){l.exports=d(r)})(typeof self<"u"?self:typeof window<"u"?window:typeof U<"u"?U:U,function(r){r=r||{};var d=r.Base64,m="2.6.4",h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
8+/",_=function(e){for(var i={},a=0,o=e.length;a<o;a++)i[e.charAt(a)]=a;return i}(h),p=String.fromCharCode,b=function(e){if(e.length<2){var i=e.charCodeAt(0);return i<128?e:i<2048?p(192|i>>>6)+p(128|i&63):p(224|i>>>12&15)+p(128|i>>>6&63)+p(128|i&63)}else{var i=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return p(240|i>>>18&7)+p(128|i>>>12&63)+p(128|i>>>6&63)+p(128|i&63)}},C=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,g=function(e){return e.replace(C,b)},A=function(e){var i=[0,2,1][e.length%3],a=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),o=[h.charAt(a>>>18),h.charAt(a>>>12&63),i>=2?"=":h.charAt(a>>>6&63),i>=1?"=":h.charAt(a&63)];return o.join("")},$=r.btoa&&typeof r.btoa=="function"?function(e){return r.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,A)},D=function(e){return $(g(String(e)))},N=function(e){return e.replace(/[+\/]/g,function(i){return i=="+"?"-":"_"}).replace(/=/g,"")},S=function(e,i){return i?N(D(e)):D(e)},I=function(e){return S(e,!0)},F;r.Uint8Array&&(F=function(e,i){for(var a="",o=0,c=e.length;o<c;o+=3){var u=e[o],f=e[o+1],v=e[o+2],k=u<<16|f<<8|v;a+=h.charAt(k>>>18)+h.charAt(k>>>12&63)+(typeof f<"u"?h.charAt(k>>>6&63):"=")+(typeof v<"u"?h.charAt(k&63):"=")}return i?N(a):a});var P=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,y=function(e){switch(e.length){case 4:var i=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),a=i-65536;return p((a>>>10)+55296)+p((a&1023)+56320);case 3:return p((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return p((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},w=function(e){return e.replace(P,y)},O=function(e){var i=e.length,a=i%4,o=(i>0?_[e.charAt(0)]<<18:0)|(i>1?_[e.charAt(1)]<<12:0)|(i>2?_[e.charAt(2)]<<6:0)|(i>3?_[e.charAt(3)]:0),c=[p(o>>>16),p(o>>>8&255),p(o&255)];return c.length-=[0,0,2,1][a],c.join("")},L=r.atob&&typeof r.atob=="function"?function(e){return r.atob(e)}:function(e){return e.replace(/\S{1,4}/g,O)},E=function(e){return L(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},H=function(e){return w(L(e))},M=function(e){return String(e).replace(/[-_]/g,function(i){return i=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},T=function(e){return H(M(e))},B;r.Uint8Array&&(B=function(e){return Uint8Array.from(E(M(e)),function(i){return i.charCodeAt(0)})});var n=function(){var e=r.Base64;return r.Base64=d,e};if(r.Base64={VERSION:m,atob:E,btoa:$,fromBase64:T,toBase64:S,utob:g,encode:S,encodeURI:I,btou:w,decode:T,noConflict:n,fromUint8Array:F,toUint8Array:B},typeof Object.defineProperty=="function"){var s=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};r.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",s(function(){return T(this)})),Object.defineProperty(String.prototype,"toBase64",s(function(e){return S(this,e)})),Object.defineProperty(String.prototype,"toBase64URI",s(function(){return S(this,!0)}))}}return r.Meteor&&(Base64=r.Base64),l.exports&&(l.exports.Base64=r.Base64),{Base64:r.Base64}})})(re);var Ke=re.exports;function We(l){return encodeURIComponent(Ke.Base64.encode(JSON.stringify(l)))}const qe={components:{Description:G},props:{video:{type:Object,required:!0},description:{type:String,default:""},autoplay:{type:Boolean,default:!1},loop:{type:Boolean,default:!1},sound:{type:Boolean,default:!0}},computed:{setup(){return We({autoplay:this.autoplay,loop:this.loop,muted:!this.sound})}}};var Je=function(){var t=this,r=t._self._c;return r("div",{staticClass:"video-block"},[r("div",{staticClass:"video-block__container"},[t.video&&t.video.path?r("iframe",{staticClass:"video-block__iframe",attrs:{src:`${t.video.path}?setup=${t.setup}`,frameborder:"0",allowfullscreen:""}}):t._e()]),t.description?r("description",{attrs:{description:t.description,"text-align":"center"}}):t._e()],1)},Qe=[],et=x(qe,Je,Qe,!1,null,null);const X=et.exports,tt=(l,t)=>
8{l.innerHTML=t,Array.from(l.querySelectorAll("script")).forEach(r=>{const d=document.createElement("script");Array.from(r.attributes).forEach(m=>{d.setAttribute(m.name,m.value)}),d.appendChild(document.createTextNode(r.innerHTML)),r.parentNode.replaceChild(d,r)})},rt={components:{Description:G},props:{value:{type:String,default:""},description:{type:String,default:""}},data:()=>({newValue:""}),computed:{isResponsive(){return this.value.indexOf("https://www.youtube.com/embed/")!==-1}},mounted(){this.newValue=this.value,this.$nextTick(()=>{tt(this.$refs.widget,this.value),window&&(this.newValue.indexOf("fb-post")!==-1&&window.FB&&window.FB.XFBML&&window.FB.XFBML.parse(),this.newValue.indexOf("instagram-media")!==-1&&window.instgrm&&window.instgrm.Embeds&&window.instgrm.Embeds.process())})}};var nt=function(){var t=this,r=t._self._c;return r("div",{staticClass:"widget-block"},[t.newValue?r("div",{ref:"widget",staticClass:"widget-block__content",class:{"widget-block__content_responsive-16by9":t.isResponsive},domProps:{innerHTML:t._s(t.newValue)}}):t._e(),t.description?r("div",{staticClass:"widget-block__description"},[r("description",{attrs:{description:t.description,margin:"0 auto","text-align":"center"}})],1):t._e()])},st=[],it=x(rt,nt,st,!1,null,null);const K=it.exports,at={props:{content:{type:String,default:""},cite:{type:String,default:""}}};var ot=function(){var t=this,r=t._self._c;return r("blockquote",{staticClass:"quote-block"},[r("div",{staticClass:"quote-block__content",domProps:{innerHTML:t._s(t.content)}}),r("cite",{staticClass:"quote-block__cite",domProps:{innerHTML:t._s(`— ${t.cite}`)}})])},lt=[],ct=x(at,ot,lt,!1,null,null);const W=ct.exports,ut={components:{Ar:pe},props:{arModel:{type:Object,default:()=>({})}}};var dt=function(){var t=this,r=t._self._c;return r("div",{staticClass:"ar-block"},[r("ar",{attrs:{title:t.arModel.title,"image-src":t.arModel.cover.url}})],1)},ft=[],pt=x(ut,dt,ft,!1,null,null);const q=pt.exports,ht=(l,t)=>{if(l.type==="LINK")return`<a href="${l.data.url}" target="_blank">${t}</a>`},R=l=>Oe(l,{},!1,ht),_t={components:{TextBlock:z,CollapseBlock:Y,ImageBlock:V,GalleryBlock:Z,VideoBlock:X,WidgetBlock:K,QuoteBlock:W,ArBlock:q},props:{block:{type:Object,default:()=>({})},index:{type:Number,default:0},galleries:{type:Array,default:()=>[]},isAuthorizedOnly:{type:Boolean,default:!1},arModels:{type:Array,default:()=>[]}},computed:{class(){return{[`${this.block.type.toLowerCase()}-block_hidden`]:this.isAuthorizedOnly&&this.index===1}}},render(l){switch(this.block.type){case"TEXT":return l(z,{class:this.class,props:{value:this.block.value?R(this.block.value):"",index:this.index,isAuthorizedOnly:this.isAuthorizedOnly}});case"COLLAPSE":return l(Y,{class:this.class,props:{title:this.block.title?R(this.block.title):"",content:this.block.content?R(this.block.content):""}});case"QUOTE":return l(W,{class:this.class,props:{content:this.block.content?R(this.block.content):"",cite:this.block.cite?R(this.block.cite):""}});case"WIDGET":return l(K,{class:this.class,props:{value:this.block.value,description:this.block.description?R(this.block.description):""}});case"IMAGE":return l(V,{class:this.class,props:{image:this.block.image,description:this.block.description?R(this.block.description):""}});case"GALLERY":return l(Z,{class:this.class,props:{id:this.block.id,gallery:this.galleries.filter(t=>t.id===this.block.id)[0],index:this.index}});case"VIDEO":return l(X,{class:this.class,props:{video:this.block.video,description:this.block.description?R(this.block.description):"",autoplay:this.block.autoplay,loop:this.block.loop,sound:this.block.sound,rss:this.block.rss}});case"AR":return l(q,{class:this.class,props:{arModel:this.arModels.filter(t=>t.id===this.block.id)[0]}});default:return l("p",`ÐеизвеÑÑнÑй блок ${this.block.type}`)}}},vt=null,mt=null;var gt=x(_t,vt,mt,!1,null,null);const yt=gt.exports,bt={components:{ArticleTop:xe,ImageCustom:Q,EditorBlock:yt},props:{article:{type:Object,default:()=>({})},isAuthorizedOnly:{type:Boolean,default:!1}},data:()=>({isParseFail:!1}),computed:{parsedBlocks(){return this.getParsedBlocks(this.article.content)}},mounted(){window&&this.parsedBlocks.some(l=>l.type==="WIDGET")&&(window.twttr&&window.twttr.widgets&&window.twttr.widgets.load(),window.instgrm&&window.instgrm.Embeds&&window.instgrm.Embeds.process())},methods:{getParsedBlocks(l){let t=null;try{t=JSON.parse(l)}catch(r){this.isParseFail=!0,console.log(r)}return t}}};var wt=function(){var t=this,r=t._self._c;return r("article",{staticClass:"article"},[r("article-top",{attrs:{"published-at":t.article.publishedAt,title:t.article.title,author:t.article.author}}),t.article.image?r("div",{staticClass:"article__poster"},[r("image-custom",{attrs:{width:t.article.image.width,height:t.article.image.height,src:t.article.image.url,description:t.article.image.t
8itle}})],1):t._e(),t.isParseFail?r("div",[r("h2",[t._v("ÐиÑÑй блоÑнÑй конÑенÑ")])]):r("div",{staticClass:"article__content"},t._l(t.parsedBlocks,function(d,m){return r("editor-block",{key:m,attrs:{block:d,index:m,galleries:t.article.galleries,"ar-models":t.article.augmented_reality_models,"is-authorized-only":t.isAuthorizedOnly}})}),1)],1)},xt=[],Ct=x(bt,wt,xt,!1,null,null);const Ot=Ct.exports,At={name:"PostPage",components:{HeaderCustom:ie,ArticleCustom:Ot,FooterCustom:oe},props:{article:{type:Object,default:()=>({})},headTitle:{type:String,required:!0}},computed:{isAuthorizedOnly(){return this.article.isPreview?!1:this.article.isAuthorizedOnly||this.article.destination==="application"},footerTitle(){return this.isAuthorizedOnly?"ÐÑо ÑÑаÑÑÑ Ð´Ð¾ÑÑÑпна ÑолÑко в пÑиложении Baza":"ÐолÑÑе инÑеÑеÑного в мобилÑном пÑиложении BAZA"}}};var Et=function(){var t=this,r=t._self._c;return r("div",{staticClass:"post-page"},[r("header-custom",{attrs:{title:t.headTitle}}),r("main",{staticClass:"post-page__article"},[r("article-custom",{attrs:{article:t.article,"is-authorized-only":t.isAuthorizedOnly}})],1),r("footer-custom",{attrs:{title:t.footerTitle}})],1)},Tt=[],St=x(At,Et,Tt,!1,null,null);const kt=St.exports,Rt=se({name:"PostPageComponent"}),$t={middleware:["populatePostMeta"]},It=le({...$t,...Rt,setup(l){const t=b=>b.trim().slice(0,300),r=b=>{let C;try{const g=JSON.parse(b).filter(A=>A.type==="TEXT")[0].value.blocks.map(A=>A.text).join(" ");C=t(g)}catch{}return C||""},d=ae("currentArticle").value,m=r(d.content),h=d.shareTitle||d.title,_=d.shareDescription&&t(d.shareDescription)||m,p=d.image.url;return ce({title:d.title}),ue({twitterTitle:h,ogTitle:h,description:m,twitterDescription:_,ogDescription:_,twitterImage:p,ogImage:p}),de({meta:[{property:"vk:title",content:h}]}),{__sfc:!0,trimDescription:t,getDescriptionFromContent:r,currentArticle:d,headDescription:m,shareTitle:h,shareDescription:_,shareImage:p,PostPage:kt}}});var Ft=function(){var t=this,r=t._self._c,d=t._self._setupProxy;return r(d.PostPage,{attrs:{article:d.currentArticle,"head-title":d.shareTitle}})},Lt=[],Bt=x(It,Ft,Lt,!1,null,null);const Ut=Bt.exports;export{Ut as default};
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.