import{M as S}from"./MainNavbar-CBx37KIe.js";import{i as h,o as n,c as i,t as l,g as f,j,b as e,F as u,d as b,r as a,f as z,a as r,h as k,Z as F,w as N}from"./app-DmJ8GS-7.js";import{F as w}from"./v3-rkPj73qv.js";import{C as A}from"./ClientScrollTimeline-zadrTdrA.js";import{C as M}from"./ClientFooterDown-D8UuGhzW.js";import{C as V}from"./ClientImageSlider-CnDaATj1.js";import"./SearchModal.vue_vue_type_style_index_0_scoped_a4fc4416_lang-CbsljUTZ.js";import{_ as p}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{e as D}from"./PostBuilder-BKbcwEtd.js";/* empty css */import"./PageTabBuilder-CCvtc7Um.js";const G={name:"PostTitle",components:{Link:h},data(){return{}},methods:{textLimit(o,s){if(o.length>s){let t;return t=o.substring(0,s),t+"..."}return o}},props:{header:{type:String}}},O={class:"text-brand-primary text-2xl mb-3 mt-2 md:text-3xl font-semibold tracking-tight dark:text-white lg:text-[40px] lg:leading-tight"};function R(o,s,t,g,d,m){return n(),i("h1",O,l(t.header),1)}const H=p(G,[["render",R]]),E={name:"PostBackButton",components:{Link:h},data(){return{}},methods:{textLimit(o,s){if(o.length>s){let t;return t=o.substring(0,s),t+"..."}return o},back(){this.$page.props.urlPrev!=="empty"&&this.$inertia.visit(this.$page.props.urlPrev)}},props:{title:{type:String}}},I=e("svg",{class:"flex-shrink-0 size-4",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[e("path",{d:"m15 18-6-6 6-6"})],-1);function Y(o,s,t,g,d,m){return n(),i("a",{href:"#",onClick:s[0]||(s[0]=j((...c)=>this.back&&this.back(...c),["prevent"])),class:"inline-flex items-center gap-x-1.5 text-sm text-gray-600 decoration-2 hover:underline dark:text-blue-500"},[I,f(" "+l(t.title),1)])}const Z=p(E,[["render",Y]]),q={name:"PostAuthorsList",components:{Link:h},data(){return{}},methods:{textLimit(o,s){if(o.length>s){let t;return t=o.substring(0,s),t+"..."}return o}},props:{authors:{type:Array}}},J={class:"col-start-2"},K={class:"hs-tooltip inline-block"},Q={type:"button",class:"hs-tooltip-toggle underline hover:text-blue-400 duration-300"},U={class:"hs-tooltip-content hs-tooltip-shown:opacity-100 hs-tooltip-shown:visible opacity-0 transition-opacity inline-block absolute duration-300 invisible z-10 py-1 px-2 bg-gray-900 text-xs font-medium text-white rounded shadow-sm dark:bg-neutral-700",role:"tooltip"},W=e("br",null,null,-1);function X(o,s,t,g,d,m){return n(),i("div",J,[e("div",K,[e("button",Q,[f(" Над статьей работали "),e("span",U,[(n(!0),i(u,null,b(t.authors,c=>(n(),i(u,null,[f(l(c)+" ",1),W],64))),256))])])])])}const tt=p(q,[["render",X]]),et={name:"PostTimeRead",components:{Link:h},data(){return{}},methods:{textLimit(o,s){if(o.length>s){let t;return t=o.substring(0,s),t+"..."}return o}},props:{time:{type:String}}},ot={class:"block"};function st(o,s,t,g,d,m){return n(),i("span",ot,"Чтение займет "+l(t.time)+" Минуты",1)}const nt=p(et,[["render",st]]),it={name:"PostGallery",components:{Link:h,FsLightbox:w},data(){return{toggler:!1,slide:1,domainPath:null}},methods:{textLimit(o,s){if(o.length>s){let t;return t=o.substring(0,s),t+"..."}return o},openLightboxOnSlide:function(o){this.slide=o,this.toggler=!this.toggler}},mounted(){this.domainPath=window.location.origin},props:{images:{type:Array},title:{type:String}}},at={key:0,class:"grid gap-4 border-t border-gray-300 py-4"},rt={class:"relative"},lt=["src"],dt={class:"absolute inset-x-0 bottom-5 flex flex-col justify-center items-center"},ct={class:"text-white text-sm lg:text-xl text-center"},mt={class:"text-gray-300 text-sm"},ut={id:"modal-post-gallery",class:"hs-overlay hidden size-full fixed top-0 start-0 z-[80] overflow-x-hidden overflow-y-auto pointer-events-none",role:"dialog",tabindex:"-1","aria-labelledby":"modal-post-gallery-label"},ht={class:"hs-overlay-open:mt-0 hs-overlay-open:opacity-100 hs-overlay-open:duration-500 mt-10 opacity-0 transition-all max-w-full max-h-full h-full md:hs-overlay-open:mt-10 md:mt-0 md:max-w-lg md:max-h-none md:h-auto md:mx-auto"},pt={class:"flex flex-col bg-white pointer-events-auto max-w-full max-h-full h-full md:max-w-lg md:max-h-none md:h-auto md:border md:rounded-xl md:shadow-sm dark:bg-neutral-800 md:dark:border-neutral-700"},gt={class:"flex justify-between items-center py-3 px-4 border-b dark:border-neutral-700"},_t={id:"modal-post-gallery-label",class:"font-bold text-gray-800 dark:text-white"},xt=k('',1),ft={class:"p-4 overflow-y-auto"},bt={class:"grid grid-cols-2 sm:grid-cols-3 gap-3"},vt={class:"group block relative overflow-hidden rounded-lg"},yt=["onClick","src"],kt=k('