From cf5ef14736721795f7f2e60becffce8f34f945c0 Mon Sep 17 00:00:00 2001 From: f4ilji Date: Wed, 30 Oct 2024 17:01:10 +0500 Subject: [PATCH] Changes --- ...ducationProgramItemBreadcrumbs-uUUJAWAE.js | 2 - ...ducationProgramListBreadcrumbs-DxlLlonH.js | 1 - ...ditionalEducationalChoiceBlock-Bz5lDp83.js | 1 - .../build/assets/AdminIndexHeader-Ci_3kRvq.js | 1 - .../assets/AdminIndexHeaderTitle-DyC17FG6.js | 1 - public/build/assets/BaseTemplate-BJ44mePN.js | 1 - .../assets/ClientEventFilter-CNRvs5cm.js | 1 - .../assets/ClientEventSelectDate-Dy72p0i3.js | 1 - .../assets/ClientImageSlider-CGZZYYI8.js | 1 - public/build/assets/ClientPost-KvELvIac.js | 1 - .../build/assets/ClientPostSearch-85XLLeIC.js | 1 - .../assets/ClientProgramFilter-CuR9c_0y.js | 1 - .../assets/ClientScrollTimeline-BxA_EWwM.js | 1 - .../build/assets/CreateSchedule-Dsn9YvRz.js | 1 - public/build/assets/DateBlock-DoRBIzxC.js | 1 - .../build/assets/DirectionFilter-D7FJ9CMu.js | 1 - .../assets/EducationalChoiceBlock-CJTXyarS.js | 1 - public/build/assets/EmailBlock-MeTQBS96.js | 1 - public/build/assets/Error-xgY_TEgY.js | 1 - .../assets/EventBadgeBuilder-Bg3wvoOe.js | 1 - public/build/assets/EventBuilder-Cx5Dh3-L.js | 1 - .../build/assets/FacultyBuilder-B9Cf6PY4.js | 1 - public/build/assets/FileBlock-BU1S9yFx.js | 1 - public/build/assets/FileBlock-nf933WYq.js | 1 - public/build/assets/FormBlock-C_74keKQ.js | 1 - public/build/assets/FormBuilder-C25m8kmA.js | 2 - public/build/assets/HeadingBlock-DZAeIVzd.js | 1 - public/build/assets/HeadingBlock-DbGhNdUV.js | 1 - public/build/assets/ImageBlock-BGzd5IG-.js | 1 - public/build/assets/ImageBlock-cPU_Sbw4.js | 1 - public/build/assets/Index-BjZ2kL_c.js | 1 - public/build/assets/Index-CAv7W7Ig.js | 1 - public/build/assets/Index-CUWTAH1U.js | 1 - public/build/assets/Index-Cqifju9j.js | 1 - public/build/assets/Index-Cr0l_tAk.js | 1 - public/build/assets/Index-D35qeP7z.js | 1 - public/build/assets/Index-D8BjZ7MQ.js | 1 - public/build/assets/Index-DR20-e_O.js | 1 - public/build/assets/Index-DueMRE_s.js | 1 - public/build/assets/Index-KEkan5_Y.js | 1 - public/build/assets/Index-MThAiUfi.js | 1 - public/build/assets/Main-BapG3wTB.js | 1 - public/build/assets/MainNavbar-5-nqk6c_.js | 1 - .../build/assets/MainPageNavbar-BfM50q-7.js | 105 -- .../assets/MultipleChoiceBlock-Czx-63XK.js | 1 - public/build/assets/Page-B_epWHxp.js | 1 - public/build/assets/PageItemBlock-BdYSYA-n.js | 1 - public/build/assets/PageItemBlock-D7WemCTX.js | 1 - .../assets/PageNavigateLinks-DI4_-k66.js | 2 - .../build/assets/PageResourceList-DR-wDUVY.js | 1 - public/build/assets/PageSkeleton-BoZKiMn9.js | 1 - .../assets/PageSubSectionLinks-CCuKIYQx.js | 1 - .../build/assets/PageTabBuilder-CXLfoCo_.js | 1 - .../build/assets/ParagraphBlock-CY6u9Wiw.js | 1 - .../build/assets/ParagraphBlock-_EhfXk9v.js | 1 - public/build/assets/PersonBlock-BB-W9rc6.js | 1 - public/build/assets/PersonBlock-MXpsfzV_.js | 1 - public/build/assets/PhoneBlock-DjNxQRuU.js | 1 - .../build/assets/PostBackButton-Va08-sZF.js | 1 - public/build/assets/PostBuilder-BfOHHDzX.js | 2 - public/build/assets/PostGallery-DP9Y6oar.js | 1 - public/build/assets/PostItemBlock-B3bvWdQ2.js | 1 - public/build/assets/PostItemBlock-CHcUpQ-i.js | 1 - public/build/assets/PostListBlock-C5UxMLFg.js | 1 - public/build/assets/PostListBlock-Vo9iG3Sb.js | 1 - public/build/assets/Schedule-BD9RnYmM.js | 1 - public/build/assets/SearchModal-YI3bdWA9.js | 4 - public/build/assets/Show-0dc8h1C9.js | 1 - public/build/assets/Show-BNad3K9h.js | 2 - public/build/assets/Show-BSnuB2tS.js | 1 - public/build/assets/Show-BWrG8SAL.js | 1 - public/build/assets/Show-BXfYt8yB.js | 2 - public/build/assets/Show-CfbXH_8_.js | 1 - public/build/assets/Show-CnEFi5Vi.js | 1 - public/build/assets/Show-CnF50aIC.js | 1 - public/build/assets/Show-D-Uq9lak.js | 1 - public/build/assets/Show-DIjLqyzs.js | 1 - public/build/assets/Show-DUD4FiTp.js | 1 - public/build/assets/Show-DcwzzzrM.js | 1 - public/build/assets/Show-Dt9tpWlM.js | 1 - public/build/assets/Show-PGSlt5hm.js | 1 - .../assets/SingleChoiceBlock--AwESBu1.js | 1 - .../build/assets/SortingByFilter-CjZ8gKSr.js | 1 - public/build/assets/StepperBlock-Cu2GWV_C.js | 1 - public/build/assets/StepperBlock-DhPHG4yx.js | 1 - public/build/assets/TabBlock-D5WxkhbC.js | 1 - public/build/assets/TabBlock-DmUdJI4Y.js | 1 - public/build/assets/TextAreaBlock-BoifZNOo.js | 1 - public/build/assets/TextBlock-DSTHvbKR.js | 1 - public/build/assets/VideoBlock-BcEyk91j.js | 1 - public/build/assets/VideoBlock-D_jPywlE.js | 1 - .../WithoutPageLinksTemplate-BNO0d8S6.js | 1 - public/build/assets/app-lT3z3TR3.js | 107 -- public/build/assets/v3-B5UP5GZw.js | 6 - public/build/manifest.json | 910 +++++++++--------- resources/js/Components/ClientMainSlider.vue | 57 +- 96 files changed, 481 insertions(+), 804 deletions(-) delete mode 100644 public/build/assets/AdditionalEducationProgramItemBreadcrumbs-uUUJAWAE.js delete mode 100644 public/build/assets/AdditionalEducationProgramListBreadcrumbs-DxlLlonH.js delete mode 100644 public/build/assets/AdditionalEducationalChoiceBlock-Bz5lDp83.js delete mode 100644 public/build/assets/AdminIndexHeader-Ci_3kRvq.js delete mode 100644 public/build/assets/AdminIndexHeaderTitle-DyC17FG6.js delete mode 100644 public/build/assets/BaseTemplate-BJ44mePN.js delete mode 100644 public/build/assets/ClientEventFilter-CNRvs5cm.js delete mode 100644 public/build/assets/ClientEventSelectDate-Dy72p0i3.js delete mode 100644 public/build/assets/ClientImageSlider-CGZZYYI8.js delete mode 100644 public/build/assets/ClientPost-KvELvIac.js delete mode 100644 public/build/assets/ClientPostSearch-85XLLeIC.js delete mode 100644 public/build/assets/ClientProgramFilter-CuR9c_0y.js delete mode 100644 public/build/assets/ClientScrollTimeline-BxA_EWwM.js delete mode 100644 public/build/assets/CreateSchedule-Dsn9YvRz.js delete mode 100644 public/build/assets/DateBlock-DoRBIzxC.js delete mode 100644 public/build/assets/DirectionFilter-D7FJ9CMu.js delete mode 100644 public/build/assets/EducationalChoiceBlock-CJTXyarS.js delete mode 100644 public/build/assets/EmailBlock-MeTQBS96.js delete mode 100644 public/build/assets/Error-xgY_TEgY.js delete mode 100644 public/build/assets/EventBadgeBuilder-Bg3wvoOe.js delete mode 100644 public/build/assets/EventBuilder-Cx5Dh3-L.js delete mode 100644 public/build/assets/FacultyBuilder-B9Cf6PY4.js delete mode 100644 public/build/assets/FileBlock-BU1S9yFx.js delete mode 100644 public/build/assets/FileBlock-nf933WYq.js delete mode 100644 public/build/assets/FormBlock-C_74keKQ.js delete mode 100644 public/build/assets/FormBuilder-C25m8kmA.js delete mode 100644 public/build/assets/HeadingBlock-DZAeIVzd.js delete mode 100644 public/build/assets/HeadingBlock-DbGhNdUV.js delete mode 100644 public/build/assets/ImageBlock-BGzd5IG-.js delete mode 100644 public/build/assets/ImageBlock-cPU_Sbw4.js delete mode 100644 public/build/assets/Index-BjZ2kL_c.js delete mode 100644 public/build/assets/Index-CAv7W7Ig.js delete mode 100644 public/build/assets/Index-CUWTAH1U.js delete mode 100644 public/build/assets/Index-Cqifju9j.js delete mode 100644 public/build/assets/Index-Cr0l_tAk.js delete mode 100644 public/build/assets/Index-D35qeP7z.js delete mode 100644 public/build/assets/Index-D8BjZ7MQ.js delete mode 100644 public/build/assets/Index-DR20-e_O.js delete mode 100644 public/build/assets/Index-DueMRE_s.js delete mode 100644 public/build/assets/Index-KEkan5_Y.js delete mode 100644 public/build/assets/Index-MThAiUfi.js delete mode 100644 public/build/assets/Main-BapG3wTB.js delete mode 100644 public/build/assets/MainNavbar-5-nqk6c_.js delete mode 100644 public/build/assets/MainPageNavbar-BfM50q-7.js delete mode 100644 public/build/assets/MultipleChoiceBlock-Czx-63XK.js delete mode 100644 public/build/assets/Page-B_epWHxp.js delete mode 100644 public/build/assets/PageItemBlock-BdYSYA-n.js delete mode 100644 public/build/assets/PageItemBlock-D7WemCTX.js delete mode 100644 public/build/assets/PageNavigateLinks-DI4_-k66.js delete mode 100644 public/build/assets/PageResourceList-DR-wDUVY.js delete mode 100644 public/build/assets/PageSkeleton-BoZKiMn9.js delete mode 100644 public/build/assets/PageSubSectionLinks-CCuKIYQx.js delete mode 100644 public/build/assets/PageTabBuilder-CXLfoCo_.js delete mode 100644 public/build/assets/ParagraphBlock-CY6u9Wiw.js delete mode 100644 public/build/assets/ParagraphBlock-_EhfXk9v.js delete mode 100644 public/build/assets/PersonBlock-BB-W9rc6.js delete mode 100644 public/build/assets/PersonBlock-MXpsfzV_.js delete mode 100644 public/build/assets/PhoneBlock-DjNxQRuU.js delete mode 100644 public/build/assets/PostBackButton-Va08-sZF.js delete mode 100644 public/build/assets/PostBuilder-BfOHHDzX.js delete mode 100644 public/build/assets/PostGallery-DP9Y6oar.js delete mode 100644 public/build/assets/PostItemBlock-B3bvWdQ2.js delete mode 100644 public/build/assets/PostItemBlock-CHcUpQ-i.js delete mode 100644 public/build/assets/PostListBlock-C5UxMLFg.js delete mode 100644 public/build/assets/PostListBlock-Vo9iG3Sb.js delete mode 100644 public/build/assets/Schedule-BD9RnYmM.js delete mode 100644 public/build/assets/SearchModal-YI3bdWA9.js delete mode 100644 public/build/assets/Show-0dc8h1C9.js delete mode 100644 public/build/assets/Show-BNad3K9h.js delete mode 100644 public/build/assets/Show-BSnuB2tS.js delete mode 100644 public/build/assets/Show-BWrG8SAL.js delete mode 100644 public/build/assets/Show-BXfYt8yB.js delete mode 100644 public/build/assets/Show-CfbXH_8_.js delete mode 100644 public/build/assets/Show-CnEFi5Vi.js delete mode 100644 public/build/assets/Show-CnF50aIC.js delete mode 100644 public/build/assets/Show-D-Uq9lak.js delete mode 100644 public/build/assets/Show-DIjLqyzs.js delete mode 100644 public/build/assets/Show-DUD4FiTp.js delete mode 100644 public/build/assets/Show-DcwzzzrM.js delete mode 100644 public/build/assets/Show-Dt9tpWlM.js delete mode 100644 public/build/assets/Show-PGSlt5hm.js delete mode 100644 public/build/assets/SingleChoiceBlock--AwESBu1.js delete mode 100644 public/build/assets/SortingByFilter-CjZ8gKSr.js delete mode 100644 public/build/assets/StepperBlock-Cu2GWV_C.js delete mode 100644 public/build/assets/StepperBlock-DhPHG4yx.js delete mode 100644 public/build/assets/TabBlock-D5WxkhbC.js delete mode 100644 public/build/assets/TabBlock-DmUdJI4Y.js delete mode 100644 public/build/assets/TextAreaBlock-BoifZNOo.js delete mode 100644 public/build/assets/TextBlock-DSTHvbKR.js delete mode 100644 public/build/assets/VideoBlock-BcEyk91j.js delete mode 100644 public/build/assets/VideoBlock-D_jPywlE.js delete mode 100644 public/build/assets/WithoutPageLinksTemplate-BNO0d8S6.js delete mode 100644 public/build/assets/app-lT3z3TR3.js delete mode 100644 public/build/assets/v3-B5UP5GZw.js diff --git a/public/build/assets/AdditionalEducationProgramItemBreadcrumbs-uUUJAWAE.js b/public/build/assets/AdditionalEducationProgramItemBreadcrumbs-uUUJAWAE.js deleted file mode 100644 index a4d9b4c..0000000 --- a/public/build/assets/AdditionalEducationProgramItemBreadcrumbs-uUUJAWAE.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HeadingBlock-DZAeIVzd.js","assets/SearchModal-YI3bdWA9.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/app-lT3z3TR3.js","assets/app-CUj9x2C4.css","assets/SearchModal-XsSd7Wc_.css","assets/ParagraphBlock-_EhfXk9v.js","assets/ParagraphBlock-DFLxgZzs.css","assets/ClientImageSlider-CGZZYYI8.js","assets/v3-B5UP5GZw.js","assets/ImageBlock-cPU_Sbw4.js","assets/FormBlock-CjbQ7Xd1.css","assets/FileBlock-BU1S9yFx.js","assets/PersonBlock-MXpsfzV_.js","assets/PersonBlock-BcupJ_c5.css","assets/StepperBlock-DhPHG4yx.js","assets/StepperBlock-DNUyIEMk.css","assets/VideoBlock-BcEyk91j.js","assets/TabBlock-D5WxkhbC.js","assets/PageTabBuilder-CXLfoCo_.js","assets/PostListBlock-Vo9iG3Sb.js","assets/PostItemBlock-CHcUpQ-i.js","assets/PageItemBlock-D7WemCTX.js","assets/FormBlock-C_74keKQ.js","assets/FormBuilder-C25m8kmA.js","assets/FormBuilder-BDwIWzAo.css"])))=>i.map(i=>d[i]); -import{i as f,r as x,o as l,e as w,w as u,b as i,j as h,t as m,c as g,f as y,d as B,g as L,F as E,_ as n,a as d,p as k,l as p}from"./app-lT3z3TR3.js";import{B as S}from"./SearchModal-YI3bdWA9.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";const N={name:"ProgramBackButton",components:{Link:f},data(){return{}},methods:{textLimit(t,e){if(t.length>e){let o;return o=t.substring(0,e),o+"..."}return t}},props:{title:{type:String},link:{type:String}}};function I(t,e,o,r,v,s){const a=x("Link");return l(),w(a,{href:t.route(this.link),class:"inline-flex items-center gap-x-1.5 text-sm text-gray-600 decoration-2 hover:underline dark:text-blue-500"},{default:u(()=>[e[0]||(e[0]=i("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"},[i("path",{d:"m15 18-6-6 6-6"})],-1)),h(" "+m(o.title),1)]),_:1},8,["href"])}const ee=_(N,[["render",I]]),C={name:"ProgramTitle",components:{Link:f},data(){return{}},methods:{textLimit(t,e){if(t.length>e){let o;return o=t.substring(0,e),o+"..."}return t}},props:{header:{type:String}}},M={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 T(t,e,o,r,v,s){return l(),g("h1",M,m(o.header),1)}const te=_(C,[["render",T]]),P={name:"ProgramBuilder",components:{},methods:{getComponent(t){return y({heading:()=>n(()=>import("./HeadingBlock-DZAeIVzd.js"),__vite__mapDeps([0,1,2,3,4,5])),paragraph:()=>n(()=>import("./ParagraphBlock-_EhfXk9v.js"),__vite__mapDeps([6,1,2,3,4,5,7])),images:()=>n(()=>import("./ClientImageSlider-CGZZYYI8.js"),__vite__mapDeps([8,9,3,4,2])),image:()=>n(()=>import("./ImageBlock-cPU_Sbw4.js"),__vite__mapDeps([10,1,2,3,4,5,9,11])),files:()=>n(()=>import("./FileBlock-BU1S9yFx.js"),__vite__mapDeps([12,1,2,3,4,5,9,11])),person:()=>n(()=>import("./PersonBlock-MXpsfzV_.js"),__vite__mapDeps([13,1,2,3,4,5,9,14])),stepper:()=>n(()=>import("./StepperBlock-DhPHG4yx.js"),__vite__mapDeps([15,1,2,3,4,5,9,16])),video:()=>n(()=>import("./VideoBlock-BcEyk91j.js"),__vite__mapDeps([17,1,2,3,4,5,9])),tabs:()=>n(()=>import("./TabBlock-D5WxkhbC.js"),__vite__mapDeps([18,1,2,3,4,5,19,0,6,7,8,9,10,11,12,13,14,15,16,17,20])),postsList:()=>n(()=>import("./PostListBlock-Vo9iG3Sb.js"),__vite__mapDeps([20,1,2,3,4,5,11])),postItem:()=>n(()=>import("./PostItemBlock-CHcUpQ-i.js"),__vite__mapDeps([21,1,2,3,4,5,11])),pageItem:()=>n(()=>import("./PageItemBlock-D7WemCTX.js"),__vite__mapDeps([22,1,2,3,4,5])),customForm:()=>n(()=>import("./FormBlock-C_74keKQ.js"),__vite__mapDeps([23,1,2,3,4,5,9,24,25,11]))}[t]||null)}},props:{blocks:{type:Object}}};function D(t,e,o,r,v,s){return l(!0),g(E,null,B(o.blocks,(a,c)=>(l(),w(L(s.getComponent(a.type)),{key:c,block:a},null,8,["block"]))),128)}const oe=_(P,[["render",D]]),A={name:"AdditionalEducationProgramItemBreadcrumbs",components:{BaseIcon:S,Link:f},data(){return{}},methods:{textLimit(t,e){if(t.length>e){let o;return o=t.substring(0,e),o+"..."}return t},isMobileDevice(){return window.innerWidth<1024},handleSectionClick(t){this.isMobileDevice()?this.toggleMobileNavSection(t):this.toggleDesktopNavSection(t)},handleSubSectionClick(t,e){this.isMobileDevice()?this.toggleMobileNavSubSection(t,e):this.toggleDesktopNavSubSection(t,e)},highlightNavItem(t){t.classList.add("animate-pulse"),setTimeout(()=>{t.classList.remove("animate-pulse")},4e3)},openMobileNavMenu(){document.getElementById("open-mobile-btn").click()},toggleMobileNavSubSection(t,e){this.openMobileNavMenu();const o=document.getElementById("open-mobile-nav"),r=o.querySelector("#nav-section-accordion-"+t.data.slug),v=o.querySelector("#nav-section-accordion-btn-"+t.data.slug);r.classList.contains("active")||v.click();const s=o.querySelector("#nav-sub-section-accordion-"+e.data.slug),a=o.querySelector("#nav-sub-section-accordion-btn-"+e.data.slug);s.classList.contains("active")&&a.click(),this.highlightNavItem(s)},toggleMobileNavSection(t){const e=document.getElementById("open-mobile-nav"),o=e.querySelector("#nav-section-accordion-"+t.data.slug),r=e.querySelector("#nav-section-accordion-btn-"+t.data.slug);o.classList.contains("active")&&r.click(),this.openMobileNavMenu(),this.highlightNavItem(o)},toggleDesktopNavSubSection(t,e){const o=document.getElementById("desktop-nav"),r=o.querySelector("#nav-sub-section-title-"+e.data.slug);o.querySelector("#nav-section-btn-"+t.data.slug).click(),this.highlightNavItem(r)},toggleDesktopNavSection(t){const e=document.getElementById("desktop-nav");e.querySelector("#nav-section-menu-"+t.data.slug),e.querySelector("#nav-section-btn-"+t.data.slug).click()}},props:{breadcrumbs:{type:Object},additionalEducationTitle:{type:String}}},V={class:"flex justify-between items-center"},O={class:"flex w-full sm:items-center gap-x-5 sm:gap-x-3"},R={class:"grow"},$={class:"grid sm:flex sm:justify-between sm:items-center gap-2"},q={key:0,class:"flex items-center whitespace-normal min-w-0 flex-wrap gap-y-2","aria-label":"Breadcrumb"},j={class:"text-sm"},z={key:0,class:"text-sm"},F={key:1,class:"text-sm"},W={class:"text-sm"},G={class:"text-sm"},H={key:1,class:"flex items-center whitespace-nowrap min-w-0 flex-wrap","aria-label":"Breadcrumb"},J={class:"text-sm"},K={class:"text-sm"},Q={class:"text-sm"};function U(t,e,o,r,v,s){const a=x("BaseIcon"),c=x("Link");return l(),g("div",V,[i("div",O,[i("div",R,[i("div",$,[o.breadcrumbs?(l(),g("ol",q,[i("li",j,[d(c,{href:t.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[d(a,{class:"size-5",name:"home"})]),_:1},8,["href"])]),o.breadcrumbs.mainSection?(l(),g("li",z,[i("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:e[0]||(e[0]=k(b=>s.handleSectionClick(this.breadcrumbs.mainSection),["prevent"]))},[e[2]||(e[2]=i("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+m(s.textLimit(this.breadcrumbs.mainSection.data.title,25)),1)])])):p("",!0),o.breadcrumbs.subSection?(l(),g("li",F,[i("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:e[1]||(e[1]=k(b=>s.handleSubSectionClick(this.breadcrumbs.mainSection,this.breadcrumbs.subSection),["prevent"]))},[e[3]||(e[3]=i("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+m(s.textLimit(this.breadcrumbs.subSection.data.title,25)),1)])])):p("",!0),i("li",W,[d(c,{href:t.route("client.additionalEducation.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[e[4]||(e[4]=i("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+m(s.textLimit("Дополнительное образование",30)),1)]),_:1},8,["href"])]),i("li",G,[d(c,{href:this.$inertia.page.props.ziggy.location,class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[e[5]||(e[5]=i("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+m(o.additionalEducationTitle),1)]),_:1},8,["href"])])])):p("",!0),o.breadcrumbs?p("",!0):(l(),g("ol",H,[i("li",J,[d(c,{href:t.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[d(a,{class:"size-5",name:"home"})]),_:1},8,["href"])]),i("li",K,[d(c,{href:t.route("client.additionalEducation.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[e[6]||(e[6]=i("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+m(s.textLimit("Дополнительное образование",30)),1)]),_:1},8,["href"])]),i("li",Q,[d(c,{href:this.$inertia.page.props.ziggy.location,class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[e[7]||(e[7]=i("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+m(o.additionalEducationTitle),1)]),_:1},8,["href"])])]))])])])])}const ie=_(A,[["render",U]]);export{ie as A,oe as P,te as a,ee as b}; diff --git a/public/build/assets/AdditionalEducationProgramListBreadcrumbs-DxlLlonH.js b/public/build/assets/AdditionalEducationProgramListBreadcrumbs-DxlLlonH.js deleted file mode 100644 index 6f45804..0000000 --- a/public/build/assets/AdditionalEducationProgramListBreadcrumbs-DxlLlonH.js +++ /dev/null @@ -1 +0,0 @@ -import{B as y}from"./SearchModal-YI3bdWA9.js";import{a as B,T as C,b as S}from"./SortingByFilter-CjZ8gKSr.js";import{D as N,F as L,B as M}from"./DirectionFilter-D7FJ9CMu.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as v,o as a,c as l,b as s,k as x,a as d,F as k,i as w,j as h,t as m,p as b,l as g,d as F,e as j,g as E,w as p}from"./app-lT3z3TR3.js";const z={name:"ClientAdditionalProgramFilter",components:{DirectionFilter:N,FormEducationalFilter:L,BudgetFilter:M,SortingByFilter:B,TagFilter:C,CategoryFilter:S,BaseIcon:y},data(){return{}},props:{forms_educational:{type:Object},categories:{type:Object},form_education_filter:{type:Object},category_filter:{type:Object},qualification_filter:{type:Object}}},D={id:"hs-offcanvas-example",class:"hs-overlay hs-overlay-open:translate-x-0 hidden -translate-x-full fixed top-0 start-0 transition-all duration-300 transform h-full max-w-xs w-full z-[80] bg-white border-e overflow-auto",role:"dialog",tabindex:"-1","aria-labelledby":"hs-offcanvas-example-label"},I={class:"p-4"},$={class:"hs-accordion-group"},q=["id"],P=["aria-labelledby"],O=["id"],T=["aria-labelledby"];function A(t,e,o,n,u,i){const r=v("FormEducationalFilter"),c=v("CategoryFilter");return a(),l(k,null,[e[3]||(e[3]=s("div",{class:""},[s("button",{type:"button",class:"py-3 px-4 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 focus:outline-none focus:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none","aria-haspopup":"dialog","aria-expanded":"false","aria-controls":"hs-offcanvas-example","data-hs-overlay":"#hs-offcanvas-example"},[s("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[s("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"})])])],-1)),s("div",D,[e[2]||(e[2]=x('

Фильтры

',1)),s("div",I,[s("div",$,[s("div",{class:"hs-accordion",id:"id"+o.form_education_filter.type},[e[0]||(e[0]=x('',1)),s("div",{id:"hs-basic-with-arrow-collapse-two",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300",role:"region","aria-labelledby":"id"+o.form_education_filter.type},[d(r,{forms:o.forms_educational,formEdu_filter:o.form_education_filter},null,8,["forms","formEdu_filter"])],8,P)],8,q),s("div",{class:"hs-accordion",id:"id"+o.category_filter.type},[e[1]||(e[1]=x('',1)),s("div",{id:"hs-basic-with-arrow-collapse-two",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300",role:"region","aria-labelledby":"id"+o.category_filter.type},[d(c,{categories:o.categories,category_filter:o.category_filter},null,8,["categories","category_filter"])],8,T)],8,O)])])])],64)}const ve=f(z,[["render",A]]),V={name:"CategoryBadge",components:{Link:w},data(){return{}},methods:{clearFilter(){let t=new URL(window.location.href);const e=[];for(const[n]of t.searchParams)n.startsWith(this.filter.param)&&e.push(n);e.forEach(n=>t.searchParams.delete(n));let o=t.toString();this.$inertia.visit(o,{method:"get"})}},props:{filter:{type:Object}}},R={key:0,class:"inline-flex items-center gap-x-1.5 py-1.5 ps-3 pe-2 rounded-full text-xs font-medium bg-blue-100 text-blue-800"};function U(t,e,o,n,u,i){return this.filter.value!==null?(a(),l("span",R,[h(m(o.filter.value.length>1?o.filter.value.length+" категории":o.filter.content[o.filter.value[0]].data.title)+" ",1),s("button",{onClick:e[0]||(e[0]=b((...r)=>i.clearFilter&&i.clearFilter(...r),["prevent"])),type:"button",class:"shrink-0 size-4 inline-flex items-center justify-center rounded-full hover:bg-blue-200 focus:outline-none focus:bg-blue-200 focus:text-blue-500"},e[1]||(e[1]=[s("span",{class:"sr-only"},"Remove badge",-1),s("svg",{class:"shrink-0 size-3",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"},[s("path",{d:"M18 6 6 18"}),s("path",{d:"m6 6 12 12"})],-1)]))])):g("",!0)}const W=f(V,[["render",U]]),H={name:"FormBadge",components:{Link:w},data(){return{}},methods:{clearFilter(){let t=new URL(window.location.href);const e=[];for(const[n]of t.searchParams)n.startsWith(this.filter.param)&&e.push(n);e.forEach(n=>t.searchParams.delete(n));let o=t.toString();this.$inertia.visit(o,{method:"get"})}},props:{filter:{type:Object}}},G={key:0,class:"inline-flex items-center gap-x-1.5 py-1.5 ps-3 pe-2 rounded-full text-xs font-medium bg-blue-100 text-blue-800"};function J(t,e,o,n,u,i){return this.filter.value!==null?(a(),l("span",G,[h(m(o.filter.value)+" ",1),s("button",{onClick:e[0]||(e[0]=b((...r)=>i.clearFilter&&i.clearFilter(...r),["prevent"])),type:"button",class:"shrink-0 size-4 inline-flex items-center justify-center rounded-full hover:bg-blue-200 focus:outline-none focus:bg-blue-200 focus:text-blue-500"},e[1]||(e[1]=[s("span",{class:"sr-only"},"Remove badge",-1),s("svg",{class:"shrink-0 size-3",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"},[s("path",{d:"M18 6 6 18"}),s("path",{d:"m6 6 12 12"})],-1)]))])):g("",!0)}const K=f(H,[["render",J]]),Q={name:"ProgramBadge",components:{Link:w,CategoryBadge:W,FormBadge:K},data(){return{}},methods:{getComponent(t){return{category:"CategoryBadge",form:"FormBadge"}[t]||null}},props:{filters:{type:Object}}};function X(t,e,o,n,u,i){return a(!0),l(k,null,F(o.filters,(r,c)=>(a(),j(E(i.getComponent(r.type)),{key:c,filter:r},null,8,["filter"]))),128)}const be=f(Q,[["render",X]]),Y={name:"AdditionalEducationProgramListBreadcrumbs",components:{BaseIcon:y,Link:w},data(){return{}},methods:{textLimit(t,e){if(t.length>e){let o;return o=t.substring(0,e),o+"..."}return t},isMobileDevice(){return window.innerWidth<1024},handleSectionClick(t){this.isMobileDevice()?this.toggleMobileNavSection(t):this.toggleDesktopNavSection(t)},handleSubSectionClick(t,e){this.isMobileDevice()?this.toggleMobileNavSubSection(t,e):this.toggleDesktopNavSubSection(t,e)},highlightNavItem(t){t.classList.add("animate-pulse"),setTimeout(()=>{t.classList.remove("animate-pulse")},4e3)},openMobileNavMenu(){document.getElementById("open-mobile-btn").click()},toggleMobileNavSubSection(t,e){this.openMobileNavMenu();const o=document.getElementById("open-mobile-nav"),n=o.querySelector("#nav-section-accordion-"+t.data.slug),u=o.querySelector("#nav-section-accordion-btn-"+t.data.slug);n.classList.contains("active")||u.click();const i=o.querySelector("#nav-sub-section-accordion-"+e.data.slug),r=o.querySelector("#nav-sub-section-accordion-btn-"+e.data.slug);i.classList.contains("active")&&r.click(),this.highlightNavItem(i)},toggleMobileNavSection(t){const e=document.getElementById("open-mobile-nav"),o=e.querySelector("#nav-section-accordion-"+t.data.slug),n=e.querySelector("#nav-section-accordion-btn-"+t.data.slug);o.classList.contains("active")&&n.click(),this.openMobileNavMenu(),this.highlightNavItem(o)},toggleDesktopNavSubSection(t,e){const o=document.getElementById("desktop-nav"),n=o.querySelector("#nav-sub-section-title-"+e.data.slug);o.querySelector("#nav-section-btn-"+t.data.slug).click(),this.highlightNavItem(n)},toggleDesktopNavSection(t){const e=document.getElementById("desktop-nav");e.querySelector("#nav-section-menu-"+t.data.slug),e.querySelector("#nav-section-btn-"+t.data.slug).click()}},props:{breadcrumbs:{type:Object},eventTitle:{type:String}}},Z={class:"flex justify-between pb-4 items-center"},ee={class:"flex w-full sm:items-center gap-x-5 sm:gap-x-3"},te={class:"grow"},oe={class:"grid sm:flex sm:justify-between sm:items-center gap-2"},se={key:0,class:"flex items-center whitespace-normal min-w-0 flex-wrap gap-y-2","aria-label":"Breadcrumb"},ne={class:"text-sm"},ie={key:0,class:"text-sm"},re={key:1,class:"text-sm"},ae={class:"text-sm"},le={key:1,class:"flex items-center whitespace-nowrap min-w-0 flex-wrap","aria-label":"Breadcrumb"},ce={class:"text-sm"},de={class:"text-sm"};function ue(t,e,o,n,u,i){const r=v("BaseIcon"),c=v("Link");return a(),l("div",Z,[s("div",ee,[s("div",te,[s("div",oe,[o.breadcrumbs?(a(),l("ol",se,[s("li",ne,[d(c,{href:t.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:p(()=>[d(r,{class:"size-5",name:"home"})]),_:1},8,["href"])]),o.breadcrumbs.mainSection?(a(),l("li",ie,[s("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:e[0]||(e[0]=b(_=>i.handleSectionClick(this.breadcrumbs.mainSection),["prevent"]))},[e[2]||(e[2]=s("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+m(i.textLimit(this.breadcrumbs.mainSection.data.title,25)),1)])])):g("",!0),o.breadcrumbs.subSection?(a(),l("li",re,[s("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:e[1]||(e[1]=b(_=>i.handleSubSectionClick(this.breadcrumbs.mainSection,this.breadcrumbs.subSection),["prevent"]))},[e[3]||(e[3]=s("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+m(i.textLimit(this.breadcrumbs.subSection.data.title,25)),1)])])):g("",!0),s("li",ae,[d(c,{href:t.route("client.additionalEducation.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:p(()=>[e[4]||(e[4]=s("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+m(i.textLimit("Дополнительное образование",30)),1)]),_:1},8,["href"])])])):g("",!0),o.breadcrumbs?g("",!0):(a(),l("ol",le,[s("li",ce,[d(c,{href:t.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:p(()=>[d(r,{class:"size-5",name:"home"})]),_:1},8,["href"])]),s("li",de,[d(c,{href:t.route("client.additionalEducation.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:p(()=>[e[5]||(e[5]=s("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+m(i.textLimit("Дополнительное образование",30)),1)]),_:1},8,["href"])])]))])])])])}const we=f(Y,[["render",ue]]);export{we as A,ve as C,be as P}; diff --git a/public/build/assets/AdditionalEducationalChoiceBlock-Bz5lDp83.js b/public/build/assets/AdditionalEducationalChoiceBlock-Bz5lDp83.js deleted file mode 100644 index 9c6496c..0000000 --- a/public/build/assets/AdditionalEducationalChoiceBlock-Bz5lDp83.js +++ /dev/null @@ -1 +0,0 @@ -import{m as g,o as i,c as l,b as t,t as n,h as m,v as h,F as d,d as c,l as u}from"./app-lT3z3TR3.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";const p={name:"AdditionalEducationalChoiceBlock",data(){return{additionalEducationalPrograms:null,loading:!0,activeProgramPage:null,isActiveProgramPage:!1}},methods:{getPrograms(){return g.get(route("client.widget.additional.program.index")).then(o=>{this.additionalEducationalPrograms=o.data,this.loading=!1}).catch(o=>{console.error("Ошибка:",o),this.loading=!1})},isAdditionalEducationalRoute(){const o=this.getSlugFromUrl(this.$page.props.ziggy.location);return this.$page.props.ziggy.location===route("client.additionalEducation.show",o)},getSlugFromUrl(o){const e=o.split("/");return e[e.length-1]},findItemBySlug(){const o=this.getSlugFromUrl(this.$page.props.ziggy.location);return this.additionalEducationalPrograms.data.find(e=>e.slug===o)||null}},mounted(){this.getPrograms().then(()=>{this.isAdditionalEducationalRoute()&&(this.isActiveProgramPage=!0,this.activeProgramPage=this.findItemBySlug().title)})},props:{block:{type:Object},error:{type:Object}}},b={key:0,class:"mt-5 space-y-3 flex flex-col animate-pulse"},x={key:1,class:"mb-4 sm:mb-8"},y=["for"],_={class:"relative"},v=["name","disabled"],k=["value"],P={key:0,class:"absolute inset-y-0 end-0 flex items-center pointer-events-none pe-3"},w={class:"flex items-center mt-2 justify-between flex-wrap"},E={key:0,class:"text-sm text-gray-500",id:"hs-input-helper-text"},B={class:"text-sm text-red-600 mt-2",id:"hs-validation-name-error-helper"};function A(o,e,s,S,r,F){return r.loading?(i(),l("ul",b,e[1]||(e[1]=[t("li",{class:"w-full h-4 bg-gray-200 rounded-full"},null,-1),t("li",{class:"w-full h-8 bg-gray-200 rounded-full"},null,-1)]))):(i(),l("div",x,[t("label",{for:s.block.data.name_field+"-id",class:"block mb-2 text-sm font-medium"},n(s.block.data.title_field),9,y),t("div",_,[m(t("select",{name:s.block.data.name_field,disabled:r.isActiveProgramPage,"onUpdate:modelValue":e[0]||(e[0]=a=>r.activeProgramPage=a),class:"py-3 px-4 pe-9 block w-full border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none"},[e[2]||(e[2]=t("option",{selected:""},"Open this select menu",-1)),(i(!0),l(d,null,c(r.additionalEducationalPrograms.data,a=>(i(),l("option",{value:a.title},n(a.title),9,k))),256))],8,v),[[h,r.activeProgramPage]]),s.error?(i(),l("div",P,e[3]||(e[3]=[t("svg",{class:"shrink-0 size-4 text-red-500",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"},[t("circle",{cx:"12",cy:"12",r:"10"}),t("line",{x1:"12",x2:"12",y1:"8",y2:"12"}),t("line",{x1:"12",x2:"12.01",y1:"16",y2:"16"})],-1)]))):u("",!0)]),t("div",w,[s.error?u("",!0):(i(),l("p",E,n(s.block.data.description),1))]),(i(!0),l(d,null,c(s.error,a=>(i(),l("p",B,n(a),1))),256))]))}const C=f(p,[["render",A]]);export{C as default}; diff --git a/public/build/assets/AdminIndexHeader-Ci_3kRvq.js b/public/build/assets/AdminIndexHeader-Ci_3kRvq.js deleted file mode 100644 index 53addf5..0000000 --- a/public/build/assets/AdminIndexHeader-Ci_3kRvq.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o,x as s}from"./app-lT3z3TR3.js";const n={name:"AdminIndexHeader"},a={class:"px-4 py-4 gap-3 flex justify-center md:items-center border-gray-200"};function c(e,d,p,i,m,_){return t(),o("div",a,[s(e.$slots,"default")])}const x=r(n,[["render",c]]);export{x as A}; diff --git a/public/build/assets/AdminIndexHeaderTitle-DyC17FG6.js b/public/build/assets/AdminIndexHeaderTitle-DyC17FG6.js deleted file mode 100644 index b294c17..0000000 --- a/public/build/assets/AdminIndexHeaderTitle-DyC17FG6.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as u}from"./SearchModal-YI3bdWA9.js";import{o as l,c as i,b as a,h as p,q as g,k as h,t as b}from"./app-lT3z3TR3.js";import{_ as n}from"./_plugin-vue_export-helper-DlAUqK2U.js";const f={name:"AdminIndexSearch",data(){return{searchInput:this.$page.props.filters.search}},methods:{search:u.debounce(function(){if(this.searchInput==""){let r=new URL(window.location.href);r.searchParams.delete("search");let e=r.toString();this.$inertia.visit(e,{method:"get",preserveState:!0,replace:!0})}else{let r=new URL(window.location.href);r.searchParams.delete("page");let e=r.toString();this.$inertia.visit(e,{method:"get",data:{search:this.searchInput},preserveState:!0,replace:!0})}},500)},props:["filters"]},m={class:"sm:col-span-1 w-full"},y={class:"relative"};function x(r,e,d,c,t,s){return l(),i("div",m,[e[3]||(e[3]=a("label",{for:"hs-as-table-product-review-search",class:"sr-only"},"Поиск",-1)),a("div",y,[p(a("input",{autocomplete:"off",onInput:e[0]||(e[0]=(...o)=>s.search&&s.search(...o)),"onUpdate:modelValue":e[1]||(e[1]=o=>t.searchInput=o),type:"text",id:"hs-as-table-product-review-search",name:"hs-as-table-product-review-search",class:"py-2 px-3 pl-11 block flex-1 w-full border-gray-200 shadow-sm rounded-md text-sm focus:z-10 focus:border-blue-500 focus:ring-blue-500 dark:bg-slate-900 dark:border-gray-700 dark:text-gray-400",placeholder:"Поиск"},null,544),[[g,t.searchInput]]),e[2]||(e[2]=a("div",{class:"absolute inset-y-0 left-0 flex items-center pointer-events-none pl-4"},[a("svg",{class:"h-4 w-4 text-gray-400",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},[a("path",{d:"M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"})])],-1))])])}const B=n(f,[["render",x]]),k={name:"AdminIndexFilter",data(){return{}},methods:{},props:[]},w={class:"sm:col-span-2 md:grow"};function v(r,e,d,c,t,s){return l(),i("div",w,e[0]||(e[0]=[h('
',1)]))}const U=n(k,[["render",v]]),_={name:"AdminIndexHeaderTitle",props:["title"]},$={class:"text-lg font-semibold text-gray-800 dark:text-gray-200"};function I(r,e,d,c,t,s){return l(),i("div",null,[a("h2",$,b(d.title),1)])}const M=n(_,[["render",I]]);export{M as A,U as a,B as b}; diff --git a/public/build/assets/BaseTemplate-BJ44mePN.js b/public/build/assets/BaseTemplate-BJ44mePN.js deleted file mode 100644 index de70ba7..0000000 --- a/public/build/assets/BaseTemplate-BJ44mePN.js +++ /dev/null @@ -1 +0,0 @@ -import{i as u,Z as _,r as e,c as b,a,w as P,b as t,F as f,o as v,t as h}from"./app-lT3z3TR3.js";import{F as x}from"./v3-B5UP5GZw.js";import{C as y}from"./SearchModal-YI3bdWA9.js";import{P as B,a as w,b as k,c as N}from"./PageNavigateLinks-DI4_-k66.js";import{P as S}from"./PageSubSectionLinks-CCuKIYQx.js";import{M as L}from"./MainPageNavbar-BfM50q-7.js";import{_ as F}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./PageSkeleton-BoZKiMn9.js";const C={name:"Page",data(){return{headerNavs:this.page.data.content.filter(n=>n.type==="heading").map(n=>({id:n.data.id,text:n.data.content}))}},props:{navigation:{type:Object},page:{type:Object},subSectionPages:{type:Object},breadcrumbs:{type:Object}},components:{MainPageNavBar:L,PageSubSectionLinks:S,PageNavigateLinks:B,PageTitle:w,PageBreadcrumbs:k,PageBuilder:N,ClientFooterDown:y,Link:u,FsLightbox:x,Head:_},methods:{},computed:{}},j={class:"flex flex-col h-screen justify-between"},D={class:"relative mx-auto mb-auto mt-[67px] max-w-screen-xl w-full px-4 py-10 md:flex md:flex-row md:py-10"},M={class:"w-full min-w-0 mt-1 max-w-6xl px-1 md:px-6",style:{}},O={class:"space-y-5 md:space-y-5"},T={id:"page-area",class:"space-y-4"};function H(n,o,s,V,E,Y){const i=e("Head"),c=e("MainPageNavBar"),r=e("PageSubSectionLinks"),l=e("PageNavigateLinks"),d=e("PageBreadcrumbs"),m=e("PageTitle"),p=e("PageBuilder"),g=e("ClientFooterDown");return v(),b(f,null,[a(i,null,{default:P(()=>[t("title",null,h(s.page.data.title),1),o[0]||(o[0]=t("meta",{name:"description",content:"Your page description"},null,-1))]),_:1}),t("div",j,[a(c,{class:"border-b",sections:n.$page.props.navigation},null,8,["sections"]),t("div",D,[a(r,{"sub-section-pages":s.subSectionPages,"current-section":s.page.data.section},null,8,["sub-section-pages","current-section"]),a(l,{"header-navs":this.headerNavs},null,8,["header-navs"]),t("div",M,[t("div",O,[a(d,{breadcrumbs:s.breadcrumbs,"page-title":s.page.data.title},null,8,["breadcrumbs","page-title"]),a(m,{header:s.page.data.title},null,8,["header"]),t("div",T,[a(p,{blocks:this.page.data.content},null,8,["blocks"])])])])]),a(g)])],64)}const Q=F(C,[["render",H]]);export{Q as default}; diff --git a/public/build/assets/ClientEventFilter-CNRvs5cm.js b/public/build/assets/ClientEventFilter-CNRvs5cm.js deleted file mode 100644 index e47141a..0000000 --- a/public/build/assets/ClientEventFilter-CNRvs5cm.js +++ /dev/null @@ -1 +0,0 @@ -import{B as u,_ as h}from"./SearchModal-YI3bdWA9.js";import{S as m,C as b,a as v,T as y,b as x}from"./SortingByFilter-CjZ8gKSr.js";import{i as w,o as i,c as l,b as t,h as _,v as k,r as d,k as C,a as c,j as F,t as B,l as j,F as S}from"./app-lT3z3TR3.js";import{_ as p}from"./_plugin-vue_export-helper-DlAUqK2U.js";const O={name:"IsOnlineFilter",components:{BaseIcon:u,Link:w,SearchBadge:m,CategoryBadge:b},data(){return{is_online:this.is_online_filter.value||"all"}},methods:{filter:h.debounce(function(){let o=new URL(window.location.href);o.searchParams.delete("page"),o.searchParams.delete("is_online");let e=o.toString();this.$inertia.visit(e,{method:"get",preserveState:!0,data:{is_online:this.is_online}})},500),clearFilter(){let o=new URL(window.location.href);o.searchParams.delete("sort"),this.tag_slug=[],this.searchTerm="";let e=o.toString();this.$inertia.visit(e,{method:"get",preserveState:!0})}},props:{is_online_filter:{type:Object}}},z={class:"min-w-[12rem] py-1 space-y-3"};function V(o,e,r,g,s,a){return i(),l("div",z,[e[3]||(e[3]=t("h3",{class:"font-medium text-gray-900 text-sm mb-2"},"Сортировать по онлайн статусу",-1)),t("div",null,[_(t("select",{onChange:e[0]||(e[0]=(...n)=>a.filter&&a.filter(...n)),"onUpdate:modelValue":e[1]||(e[1]=n=>s.is_online=n),class:"py-2 px-3 pe-9 block w-full border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-900 dark:border-neutral-700 dark:text-neutral-400 dark:placeholder-neutral-500 dark:focus:ring-neutral-600"},e[2]||(e[2]=[t("option",{value:"all"},"Все",-1),t("option",{value:"online"},"Только онлайн",-1),t("option",{value:"offline"},"Только офлайн",-1)]),544),[[k,s.is_online]])])])}const I=p(O,[["render",V]]),M={name:"ClientEventFilter",components:{IsOnlineFilter:I,SortingByFilter:v,TagFilter:y,CategoryFilter:x,BaseIcon:u},data(){return{}},props:{categories:{type:Object},category_filter:{type:Object},sortingBy_filter:{type:Object},is_online_filter:{type:Object}}},N={id:"hs-offcanvas-example",class:"hs-overlay hs-overlay-open:translate-x-0 hidden -translate-x-full fixed top-0 start-0 transition-all duration-300 transform h-full max-w-xs w-full z-[80] bg-white border-e overflow-auto",role:"dialog",tabindex:"-1","aria-labelledby":"hs-offcanvas-example-label"},U={class:"p-4"},T={class:"hs-accordion-group"},E=["id"],L={class:"hs-accordion-toggle hs-accordion-active:text-blue-600 py-3 inline-flex items-center gap-x-3 w-full font-semibold text-start text-gray-800 hover:text-gray-500 focus:outline-none focus:text-gray-500 rounded-lg disabled:opacity-50 disabled:pointer-events-none","aria-expanded":"false","aria-controls":"hs-basic-with-arrow-collapse-two"},P={key:0,class:"inline-flex items-center gap-x-1.5 py-1.5 px-3 rounded-md text-xs font-medium border border-gray-200 bg-white text-gray-800 shadow-sm dark:bg-neutral-900 dark:border-neutral-700 dark:text-white"},D=["aria-labelledby"];function H(o,e,r,g,s,a){const n=d("IsOnlineFilter"),f=d("CategoryFilter");return i(),l(S,null,[e[4]||(e[4]=t("div",{class:""},[t("button",{type:"button",class:"py-3 px-4 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 focus:outline-none focus:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none","aria-haspopup":"dialog","aria-expanded":"false","aria-controls":"hs-offcanvas-example","data-hs-overlay":"#hs-offcanvas-example"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"})])])],-1)),t("div",N,[e[3]||(e[3]=C('

Фильтры

',1)),t("div",U,[c(n,{is_online_filter:r.is_online_filter},null,8,["is_online_filter"]),t("div",T,[t("div",{class:"hs-accordion",id:"id"+r.category_filter.type},[t("button",L,[e[0]||(e[0]=t("svg",{class:"hs-accordion-active:hidden block 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"},[t("path",{d:"m6 9 6 6 6-6"})],-1)),e[1]||(e[1]=t("svg",{class:"hs-accordion-active:block hidden 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"},[t("path",{d:"m18 15-6-6-6 6"})],-1)),e[2]||(e[2]=F(" Категории ")),r.category_filter.value?(i(),l("span",P,B(r.category_filter.value.length),1)):j("",!0)]),t("div",{id:"hs-basic-with-arrow-collapse-two",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300",role:"region","aria-labelledby":"id"+r.category_filter.type},[c(f,{categories:r.categories,category_filter:r.category_filter},null,8,["categories","category_filter"])],8,D)],8,E)])])])],64)}const G=p(M,[["render",H]]);export{G as C}; diff --git a/public/build/assets/ClientEventSelectDate-Dy72p0i3.js b/public/build/assets/ClientEventSelectDate-Dy72p0i3.js deleted file mode 100644 index c078372..0000000 --- a/public/build/assets/ClientEventSelectDate-Dy72p0i3.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as x}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as s,b as e,F as c,d as i,t as n,n as p}from"./app-lT3z3TR3.js";const u={name:"ClientEventSelectDate",data(){return{date:this.currentDate}},methods:{filter(o){this.date=o,this.$inertia.reload({data:{date:o}})}},props:{dates:{type:Array},currentDate:{type:String}}},f={class:"relative rounded-xl overflow-auto"},h={class:"max-w-4xl mx-auto bg-white min-w-0"},m={class:"overflow-x-scroll flex no-scrollbar"},v={class:"flex items-center gap-x-3 whitespace-nowrap"},y={class:""},g={class:"flex flex-col items-center"},b={class:"text-[12px] text-gray-500"},w={class:"flex"},C={class:"flex"},k={class:"flex flex-col items-center"},S=["onClick"],B={class:"text-[12px] text-gray-500"};function E(o,$,l,F,d,_){return t(),s("div",f,[e("div",h,[e("div",m,[e("div",v,[(t(!0),s(c,null,i(l.dates,r=>(t(),s("div",y,[e("div",g,[e("span",b,n(r.month),1)]),e("div",w,[e("div",C,[(t(!0),s(c,null,i(r.events,a=>(t(),s("div",k,[e("button",{class:p([d.date==a.date?"active-button":"","min-h-[38px] duration-300 ease-linear min-w-[38px] flex justify-center items-center text-gray-800 hover:bg-gray-100 py-2 px-3 text-sm rounded-lg focus:outline-none focus:bg-gray-100 disabled:opacity-50 disabled:pointer-events-none"]),onClick:j=>_.filter(a.date),type:"button"},n(a.day),11,S),e("span",B,n(a.dayOfWeek),1)]))),256))])])]))),256))])])])])}const D=x(u,[["render",E],["__scopeId","data-v-6d0eb2ca"]]);export{D as C}; diff --git a/public/build/assets/ClientImageSlider-CGZZYYI8.js b/public/build/assets/ClientImageSlider-CGZZYYI8.js deleted file mode 100644 index 620fb92..0000000 --- a/public/build/assets/ClientImageSlider-CGZZYYI8.js +++ /dev/null @@ -1 +0,0 @@ -import{F as g}from"./v3-B5UP5GZw.js";import{_ as m}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as h,o as l,c as i,b as s,F as c,d as f,n as x,t as p,a as b}from"./app-lT3z3TR3.js";const _={name:"ClientImageSlider",components:{FsLightbox:g},data(){return{currentIndex:0,items:this.block.data.url,toggler:!1,domainPath:null,slide:null}},props:{block:{type:Array}},methods:{prevSlide(){this.currentIndex===0?this.currentIndex=this.items.length-1:this.currentIndex--},nextSlide(){this.currentIndex===this.items.length-1?this.currentIndex=0:this.currentIndex++},openLightboxOnSlide:function(a){this.slide=a,this.toggler=!this.toggler}},mounted(){this.domainPath=window.location.origin}},v={class:"relative"},k={class:"flex"},I=["onClick","src"],S={class:"mt-3 text-sm text-center text-gray-500 dark:text-neutral-500"};function y(a,n,d,C,e,o){const u=h("FsLightbox");return l(),i(c,null,[s("div",v,[s("div",k,[(l(!0),i(c,null,f(e.items,(t,r)=>(l(),i("div",{key:r,class:x(["w-full",{block:e.currentIndex===r,hidden:e.currentIndex!==r}])},[s("img",{onClick:w=>o.openLightboxOnSlide(r+1),src:"/storage/"+t,class:"mx-auto max-h-[500px] object-cover rounded-md hover:opacity-95 hover:duration-200 transition"},null,8,I)],2))),128))]),s("button",{class:"absolute top-1/2 left-4 transform -translate-y-1/2 bg-white rounded-full p-2 shadow-md hover:bg-gray-200 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",onClick:n[0]||(n[0]=(...t)=>o.prevSlide&&o.prevSlide(...t))}," ❮ "),s("button",{class:"absolute top-1/2 right-4 transform -translate-y-1/2 bg-white rounded-full p-2 shadow-md hover:bg-gray-200 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",onClick:n[1]||(n[1]=(...t)=>o.nextSlide&&o.nextSlide(...t))}," ❯ ")]),s("figcaption",S,p(d.block.data.alt),1),b(u,{class:"",slide:e.slide,toggler:e.toggler,sources:e.items.map(t=>e.domainPath+"/storage/"+t)},null,8,["slide","toggler","sources"])],64)}const P=m(_,[["render",y]]);export{P as default}; diff --git a/public/build/assets/ClientPost-KvELvIac.js b/public/build/assets/ClientPost-KvELvIac.js deleted file mode 100644 index 85d9ef6..0000000 --- a/public/build/assets/ClientPost-KvELvIac.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as l}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as i,c as n,b as t,t as a,l as c}from"./app-lT3z3TR3.js";const d={name:"ClientPost",data(){return{}},methods:{textLimit(s,o){if(s.length>o){let e;return e=s.substring(0,o),e+"..."}return s}},props:{post:{type:Array}}},g={class:"group cursor-pointer"},h={class:"overflow-hidden rounded-md max-h-[250px] bg-gray-100 transition-all hover:scale-105 dark:bg-gray-800"},_=["href"],u=["src"],m={class:""},p={key:0,class:"flex gap-3"},x=["href"],f={class:"inline-block text-xs font-medium tracking-wider uppercase mt-5 text-blue-600"},y={key:1,class:"flex gap-3"},v={class:"text-lg font-semibold leading-snug tracking-tight mt-2 dark:text-white"},k=["href"],w={class:"duration-200 group-hover:text-gray-500"},b={class:""},C={class:"mt-2 line-clamp-3 text-sm text-gray-500 dark:text-gray-400"},B=["href"],L={class:"mt-3 flex items-center space-x-3 text-gray-500 dark:text-gray-400"},z={class:"flex items-center gap-3"},N={key:0,class:"truncate text-sm"},P={class:"truncate text-sm"};function T(s,o,e,V,j,r){return i(),n("div",g,[t("div",h,[t("a",{class:"relative block aspect-square",href:s.route("client.post.show",e.post.slug)},[t("img",{alt:"Thumbnail",loading:"lazy",decoding:"async","data-nimg":"fill",class:"object-cover transition-all",style:{position:"absolute",height:"100%",width:"100%",inset:"0px",color:"transparent"},sizes:"(max-width: 768px) 30vw, 33vw",src:e.post.preview?"/storage/"+e.post.preview:"/img/thumbnail-1.png"},null,8,u)],8,_)]),t("div",m,[t("div",null,[e.post.category?(i(),n("div",p,[t("a",{href:s.route("client.post.index",{"category[]":e.post.category.slug})},[t("span",f,a(e.post.category?e.post.category.title:"Новости"),1)],8,x)])):(i(),n("div",y,o[0]||(o[0]=[t("span",null,[t("span",{class:"inline-block text-xs font-medium tracking-wider uppercase mt-5 text-blue-600"}," Новости ")],-1)]))),t("h2",v,[t("a",{href:s.route("client.post.show",e.post.slug)},[t("span",w,a(e.post.title),1)],8,k)]),t("div",b,[t("p",C,[t("a",{href:s.route("client.post.show",e.post.slug)},a(e.post.preview_text),9,B)])]),t("div",L,[t("span",null,[t("div",z,[e.post?(i(),n("span",N,a(r.textLimit(e.post.authors[0],20)),1)):c("",!0)])]),o[1]||(o[1]=t("span",{class:"text-xs text-gray-300 dark:text-gray-600"},"•",-1)),t("span",P,a(e.post.created_post),1)])])])])}const D=l(d,[["render",T]]);export{D as C}; diff --git a/public/build/assets/ClientPostSearch-85XLLeIC.js b/public/build/assets/ClientPostSearch-85XLLeIC.js deleted file mode 100644 index b86e69b..0000000 --- a/public/build/assets/ClientPostSearch-85XLLeIC.js +++ /dev/null @@ -1 +0,0 @@ -import{B as m,_ as x}from"./SearchModal-YI3bdWA9.js";import{a as v,T as y,b as _}from"./SortingByFilter-CjZ8gKSr.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as d,o as a,c as i,b as t,k,a as c,j as h,t as g,l as u,F as B,h as C,q as j}from"./app-lT3z3TR3.js";const F={name:"ClientPostFilter",components:{SortingByFilter:v,TagFilter:y,CategoryFilter:_,BaseIcon:m},data(){return{}},props:{items:{type:Object},category_filter:{type:Object},sortingBy_filter:{type:Object},tag_filter:{type:Object},tags:{type:Object}}},z={id:"hs-offcanvas-example",class:"hs-overlay hs-overlay-open:translate-x-0 hidden -translate-x-full fixed top-0 start-0 transition-all duration-300 transform h-full max-w-xs w-full z-[80] bg-white border-e overflow-auto",role:"dialog",tabindex:"-1","aria-labelledby":"hs-offcanvas-example-label"},S={class:"p-4"},I={class:"hs-accordion-group"},M=["id"],T={class:"hs-accordion-toggle hs-accordion-active:text-blue-600 py-3 inline-flex items-center gap-x-3 w-full font-semibold text-start text-gray-800 hover:text-gray-500 focus:outline-none focus:text-gray-500 rounded-lg disabled:opacity-50 disabled:pointer-events-none","aria-expanded":"false","aria-controls":"hs-basic-with-arrow-collapse-two"},V={key:0,class:"inline-flex items-center gap-x-1.5 py-1.5 px-3 rounded-md text-xs font-medium border border-gray-200 bg-white text-gray-800 shadow-sm dark:bg-neutral-900 dark:border-neutral-700 dark:text-white"},N=["aria-labelledby"],O=["id"],P={class:"hs-accordion-toggle hs-accordion-active:text-blue-600 py-3 inline-flex items-center gap-x-3 w-full font-semibold text-start text-gray-800 hover:text-gray-500 focus:outline-none focus:text-gray-500 rounded-lg disabled:opacity-50 disabled:pointer-events-none","aria-expanded":"false","aria-controls":"hs-basic-with-arrow-collapse-two"},U={key:0,class:"inline-flex items-center gap-x-1.5 py-1.5 px-3 rounded-md text-xs font-medium border border-gray-200 bg-white text-gray-800 shadow-sm dark:bg-neutral-900 dark:border-neutral-700 dark:text-white"},D=["aria-labelledby"];function H(r,e,o,p,n,l){const s=d("SortingByFilter"),w=d("CategoryFilter"),b=d("TagFilter");return a(),i(B,null,[e[7]||(e[7]=t("div",{class:"sm:col-span-2 md:grow"},[t("button",{type:"button",class:"py-3 px-4 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 focus:outline-none focus:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none","aria-haspopup":"dialog","aria-expanded":"false","aria-controls":"hs-offcanvas-example","data-hs-overlay":"#hs-offcanvas-example"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"})])])],-1)),t("div",z,[e[6]||(e[6]=k('

Фильтры

',1)),t("div",S,[c(s,{sortingBy_filter:o.sortingBy_filter},null,8,["sortingBy_filter"]),t("div",I,[t("div",{class:"hs-accordion",id:"id"+o.category_filter.type},[t("button",T,[e[0]||(e[0]=t("svg",{class:"hs-accordion-active:hidden block 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"},[t("path",{d:"m6 9 6 6 6-6"})],-1)),e[1]||(e[1]=t("svg",{class:"hs-accordion-active:block hidden 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"},[t("path",{d:"m18 15-6-6-6 6"})],-1)),e[2]||(e[2]=h(" Категории ")),o.category_filter.value?(a(),i("span",V,g(o.category_filter.value.length),1)):u("",!0)]),t("div",{id:"hs-basic-with-arrow-collapse-two",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300",role:"region","aria-labelledby":"id"+o.tag_filter.type},[c(w,{categories:o.items,category_filter:o.category_filter},null,8,["categories","category_filter"])],8,N)],8,M),t("div",{class:"hs-accordion",id:"id"+o.tag_filter.type},[t("button",P,[e[3]||(e[3]=t("svg",{class:"hs-accordion-active:hidden block 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"},[t("path",{d:"m6 9 6 6 6-6"})],-1)),e[4]||(e[4]=t("svg",{class:"hs-accordion-active:block hidden 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"},[t("path",{d:"m18 15-6-6-6 6"})],-1)),e[5]||(e[5]=h(" Тэги ")),o.tag_filter.value?(a(),i("span",U,g(o.tag_filter.value.length),1)):u("",!0)]),t("div",{id:"hs-basic-with-arrow-collapse-two",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300",role:"region","aria-labelledby":"id"+o.tag_filter.type},[c(b,{tags:o.tags,tag_filter:o.tag_filter},null,8,["tags","tag_filter"])],8,D)],8,O)])])])],64)}const Q=f(F,[["render",H]]),L={name:"AdminIndexSearch",data(){return{searchInput:this.search_filter.value}},methods:{search:x.debounce(function(){if(this.searchInput==""){let r=new URL(window.location.href);r.searchParams.delete("search");let e=r.toString();this.$inertia.visit(e,{method:"get",preserveState:!0,replace:!0})}else{let r=new URL(window.location.href);r.searchParams.delete("page");let e=r.toString();this.$inertia.visit(e,{method:"get",data:{search:this.searchInput},preserveState:!0,replace:!0})}},500)},props:["search_filter"]},R={class:"sm:col-span-1 w-full"},q={class:"relative"};function A(r,e,o,p,n,l){return a(),i("div",R,[e[3]||(e[3]=t("label",{for:"hs-as-table-product-review-search",class:"sr-only"},"Поиск",-1)),t("div",q,[C(t("input",{autocomplete:"off",onInput:e[0]||(e[0]=(...s)=>l.search&&l.search(...s)),"onUpdate:modelValue":e[1]||(e[1]=s=>n.searchInput=s),type:"text",id:"hs-as-table-product-review-search",name:"hs-as-table-product-review-search",class:"py-3 px-3 pl-11 block flex-1 w-full border-gray-200 shadow-sm rounded-md text-sm focus:z-10 focus:border-blue-500 focus:ring-blue-500 dark:bg-slate-900 dark:border-gray-700 dark:text-gray-400",placeholder:"Поиск новостей"},null,544),[[j,n.searchInput]]),e[2]||(e[2]=t("div",{class:"absolute inset-y-0 left-0 flex items-center pointer-events-none pl-4"},[t("svg",{class:"h-4 w-4 text-gray-400",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},[t("path",{d:"M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"})])],-1))])])}const W=f(L,[["render",A]]);export{Q as C,W as a}; diff --git a/public/build/assets/ClientProgramFilter-CuR9c_0y.js b/public/build/assets/ClientProgramFilter-CuR9c_0y.js deleted file mode 100644 index d4b4771..0000000 --- a/public/build/assets/ClientProgramFilter-CuR9c_0y.js +++ /dev/null @@ -1 +0,0 @@ -import{i as w,h as m,v as x,o as n,c as a,b as o,p as y,F as f,d as _,t as k,r as u,k as l,a as h}from"./app-lT3z3TR3.js";import{B as g,_ as F}from"./SearchModal-YI3bdWA9.js";import{S as B,C,a as j,T as E,b as z}from"./SortingByFilter-CjZ8gKSr.js";import{_ as p}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{D as S,F as O,B as L}from"./DirectionFilter-D7FJ9CMu.js";const D={name:"LevelEduFilter",components:{BaseIcon:g,Link:w,SearchBadge:B,CategoryBadge:C},data(){return{levelEdu:this.level_filter.value||""}},methods:{filter:F.debounce(function(){let r=new URL(window.location.href);r.searchParams.delete("page"),r.searchParams.delete("level");let e=r.toString();this.$inertia.visit(e,{method:"get",preserveState:!0,data:{level:this.levelEdu}})},500),clearFilter(){let r=new URL(window.location.href);r.searchParams.delete("level");let e=r.toString();this.$inertia.visit(e,{method:"get",preserveState:!0})}},props:{levels:{type:Object},level_filter:{type:Object}}},M=["value"];function P(r,e,t,b,d,s){return m((n(),a("select",{onChange:e[1]||(e[1]=(...i)=>s.filter&&s.filter(...i)),"onUpdate:modelValue":e[2]||(e[2]=i=>d.levelEdu=i),class:"py-3 px-4 pe-9 block w-full border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none"},[o("option",{onClick:e[0]||(e[0]=y((...i)=>s.clearFilter&&s.clearFilter(...i),["prevent"])),selected:"",value:""},"Все"),(n(!0),a(f,null,_(t.levels,(i,c)=>(n(),a("option",{value:c},k(i),9,M))),256))],544)),[[x,d.levelEdu]])}const Z=p(D,[["render",P]]),U={name:"ClientProgramFilter",components:{DirectionFilter:S,FormEducationalFilter:O,BudgetFilter:L,SortingByFilter:j,TagFilter:E,CategoryFilter:z,BaseIcon:g},data(){return{}},props:{forms_educational:{type:Object},budget_filter:{type:Object},direction_filter:{type:Object},formEdu_filter:{type:Object},types_budget:{type:Object},direction_studies:{type:Object}}},V={id:"hs-offcanvas-example",class:"hs-overlay hs-overlay-open:translate-x-0 hidden -translate-x-full fixed top-0 start-0 transition-all duration-300 transform h-full max-w-xs w-full z-[80] bg-white border-e overflow-auto",role:"dialog",tabindex:"-1","aria-labelledby":"hs-offcanvas-example-label"},N={class:"p-4"},H={class:"hs-accordion-group"},R=["id"],T=["aria-labelledby"],I=["id"],q=["aria-labelledby"],A=["id"],G=["aria-labelledby"];function J(r,e,t,b,d,s){const i=u("FormEducationalFilter"),c=u("BudgetFilter"),v=u("DirectionFilter");return n(),a(f,null,[e[4]||(e[4]=o("div",{class:""},[o("button",{type:"button",class:"py-3 px-4 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 focus:outline-none focus:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none","aria-haspopup":"dialog","aria-expanded":"false","aria-controls":"hs-offcanvas-example","data-hs-overlay":"#hs-offcanvas-example"},[o("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[o("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"})])])],-1)),o("div",V,[e[3]||(e[3]=l('

Фильтры

',1)),o("div",N,[o("div",H,[o("div",{class:"hs-accordion",id:"id"+t.formEdu_filter.type},[e[0]||(e[0]=l('',1)),o("div",{id:"hs-basic-with-arrow-collapse-two",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300",role:"region","aria-labelledby":"id"+t.formEdu_filter.type},[h(i,{forms:t.forms_educational,formEdu_filter:t.formEdu_filter},null,8,["forms","formEdu_filter"])],8,T)],8,R),o("div",{class:"hs-accordion",id:"id"+t.budget_filter.type},[e[1]||(e[1]=l('',1)),o("div",{id:"hs-basic-with-arrow-collapse-two",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300",role:"region","aria-labelledby":"id"+t.formEdu_filter.type},[h(c,{budgets:t.types_budget,budget_filter:t.budget_filter},null,8,["budgets","budget_filter"])],8,q)],8,I),o("div",{class:"hs-accordion",id:"id"+t.direction_filter.type},[e[2]||(e[2]=l('',1)),o("div",{id:"hs-basic-with-arrow-collapse-two",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300",role:"region","aria-labelledby":"id"+t.direction_filter.type},[h(v,{direction_filter:t.direction_filter,direction_studies:t.direction_studies},null,8,["direction_filter","direction_studies"])],8,G)],8,A)])])])],64)}const $=p(U,[["render",J]]);export{$ as C,Z as L}; diff --git a/public/build/assets/ClientScrollTimeline-BxA_EWwM.js b/public/build/assets/ClientScrollTimeline-BxA_EWwM.js deleted file mode 100644 index b2e1aca..0000000 --- a/public/build/assets/ClientScrollTimeline-BxA_EWwM.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o,c as t}from"./app-lT3z3TR3.js";const r={name:"ClientScrollTimeline"},c={id:"progress"};function n(s,a,i,_,l,p){return o(),t("div",c)}const m=e(r,[["render",n],["__scopeId","data-v-ffdaa09f"]]);export{m as C}; diff --git a/public/build/assets/CreateSchedule-Dsn9YvRz.js b/public/build/assets/CreateSchedule-Dsn9YvRz.js deleted file mode 100644 index ad752dd..0000000 --- a/public/build/assets/CreateSchedule-Dsn9YvRz.js +++ /dev/null @@ -1 +0,0 @@ -import{o as n,c as a,b as t,F as u,d as v,x as w,i as m,r as c,a as b,w as p,t as f}from"./app-lT3z3TR3.js";import{_ as g}from"./_plugin-vue_export-helper-DlAUqK2U.js";const y={name:"Repeater",data(){return{blocks:[]}},methods:{addBlock(){this.blocks.push({})},removeBlock(s){this.blocks.splice(s,1)}}},_={class:"space-y-4"},B={class:"flex gap-x-3"},z=["onClick"];function C(s,e,k,x,d,o){return n(),a("div",null,[t("div",_,[(n(!0),a(u,null,v(d.blocks,(r,l)=>(n(),a("div",{key:l},[t("div",B,[w(s.$slots,"block",{index:l,block:r}),t("button",{class:"hover:text-gray-500",onClick:i=>o.removeBlock(l)},e[1]||(e[1]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12H9m12 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})],-1)]),8,z)])]))),128))]),t("button",{class:"hover:text-gray-500 flex mx-auto mt-3 gap-x-1",onClick:e[0]||(e[0]=(...r)=>o.addBlock&&o.addBlock(...r))},e[2]||(e[2]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v6m3-3H9m12 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})],-1),t("span",null,"Добавить день",-1)]))])}const j=g(y,[["render",C]]),M={name:"CreateSchedule",data(){return{days:[]}},computed:{weekDays(){return["Понедельник","Вторник","Среда","Четверг","Пятница","Суббота","Воскресенье"]}},props:{},components:{Repeater:j,Link:m},methods:{saveBlocks(){const s=JSON.stringify(this.blocks);console.log(s)}}},$={id:"sidebar-mini",class:"transform fixed top-0 start-0 bottom-0 z-[60] w-20 bg-white border-e border-gray-200 lg:block lg:translate-x-0 lg:end-auto lg:bottom-0 [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500 dark:bg-neutral-800 dark:border-neutral-700",role:"dialog",tabindex:"-1","aria-label":"Mini Sidebar"},H={class:"flex flex-col justify-center items-center gap-y-2 py-4"},S={class:"mb-4"},L={class:"relative h-screen w-full"},N={class:"py-10 lg:py-14"},R={class:"max-w-4xl px-4 sm:px-6 lg:px-8 mx-auto text-center"},D={class:"w-full py-3 border"};function F(s,e,k,x,d,o){const r=c("Link"),l=c("Repeater");return n(),a(u,null,[t("div",$,[t("div",H,[t("div",S,[b(r,{class:"flex-none text-xl font-semibold",href:"/","aria-label":"Brand"},{default:p(()=>e[1]||(e[1]=[t("img",{class:"max-w-[40px]",src:"/logos/only_logo.svg",alt:""},null,-1)])),_:1})]),e[2]||(e[2]=t("div",{class:"hs-tooltip [--placement:right] inline-block"},[t("button",{type:"button",class:"hs-tooltip-toggle size-[38px] inline-flex justify-center items-center gap-x-2 text-sm font-semibold rounded-full border border-transparent text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 disabled:opacity-50 disabled:pointer-events-none dark:text-neutral-400 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"},[t("svg",{class:"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"},[t("path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}),t("polyline",{points:"9 22 9 12 15 12 15 22"})]),t("span",{class:"hs-tooltip-content hs-tooltip-shown:opacity-100 hs-tooltip-shown:visible opacity-0 inline-block absolute invisible z-20 py-1.5 px-2.5 bg-gray-900 text-xs text-white rounded-lg whitespace-nowrap dark:bg-neutral-700",role:"tooltip"}," Home ")])],-1)),e[3]||(e[3]=t("div",{class:"hs-tooltip [--placement:right] inline-block"},[t("button",{type:"button",class:"hs-tooltip-toggle size-[38px] inline-flex justify-center items-center gap-x-2 text-sm font-semibold rounded-full border border-transparent text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 disabled:opacity-50 disabled:pointer-events-none dark:text-neutral-400 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"},[t("svg",{class:"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"},[t("path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"}),t("circle",{cx:"9",cy:"7",r:"4"}),t("path",{d:"M22 21v-2a4 4 0 0 0-3-3.87"}),t("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]),t("span",{class:"hs-tooltip-content hs-tooltip-shown:opacity-100 hs-tooltip-shown:visible opacity-0 inline-block absolute invisible z-20 py-1.5 px-2.5 bg-gray-900 text-xs text-white rounded-lg whitespace-nowrap dark:bg-neutral-700",role:"tooltip"}," Users ")])],-1)),e[4]||(e[4]=t("div",{class:"hs-tooltip [--placement:right] inline-block"},[t("button",{type:"button",class:"hs-tooltip-toggle size-[38px] inline-flex justify-center items-center gap-x-2 text-sm font-semibold rounded-full border border-transparent text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 disabled:opacity-50 disabled:pointer-events-none dark:text-neutral-400 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"},[t("svg",{class:"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"},[t("path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"}),t("path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0"})]),t("span",{class:"hs-tooltip-content hs-tooltip-shown:opacity-100 hs-tooltip-shown:visible opacity-0 inline-block absolute invisible z-20 py-1.5 px-2.5 bg-gray-900 text-xs text-white rounded-lg whitespace-nowrap dark:bg-neutral-700",role:"tooltip"}," Notifications ")])],-1))])]),t("div",L,[t("div",N,[t("div",R,[e[5]||(e[5]=t("h1",{class:"text-3xl font-bold text-gray-800 sm:text-4xl dark:text-white"}," Расписание НТГСПИ ",-1)),e[6]||(e[6]=t("p",{class:"mt-3 text-gray-600 dark:text-neutral-400"}," Онлайн веб конструктор ",-1)),t("div",null,[b(l,null,{block:p(({block:i,index:h})=>[t("div",D,f(o.weekDays[h]),1)]),_:1}),t("button",{onClick:e[0]||(e[0]=(...i)=>o.saveBlocks&&o.saveBlocks(...i)),type:"button",class:"hidden py-3 px-4 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-gray-200 text-gray-500 hover:border-blue-600 hover:text-blue-600 focus:outline-none focus:border-blue-600 focus:text-blue-600 disabled:opacity-50 disabled:pointer-events-none dark:border-neutral-700 dark:text-neutral-400 dark:hover:text-blue-500 dark:hover:border-blue-600 dark:focus:text-blue-500 dark:focus:border-blue-600"}," Сохранить ")])])])])],64)}const Z=g(M,[["render",F]]);export{Z as default}; diff --git a/public/build/assets/DateBlock-DoRBIzxC.js b/public/build/assets/DateBlock-DoRBIzxC.js deleted file mode 100644 index c27958d..0000000 --- a/public/build/assets/DateBlock-DoRBIzxC.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as n}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as r,c as o,b as t,t as s,n as i,l,F as c,d as m}from"./app-lT3z3TR3.js";const u={name:"DateBlock",data(){return{}},methods:{},props:{block:{type:Object},error:{type:Object}}},b={class:"mb-4 sm:mb-8"},_=["for"],f={class:"relative"},k=["required","name","id","placeholder"],x={key:0,class:"absolute inset-y-0 end-0 flex items-center pointer-events-none pe-3"},h={key:0,class:"mt-2 text-sm text-gray-500",id:"hs-input-helper-text"},y={class:"text-sm text-red-600 mt-2",id:"hs-validation-name-error-helper"};function g(p,a,e,v,w,B){return r(),o("div",b,[t("label",{for:e.block.data.name_field+"-id",class:"block mb-2 text-sm font-medium"},s(e.block.data.title_field),9,_),t("div",f,[t("input",{required:e.block.data.rules.required,name:e.block.data.name_field,type:"date",id:e.block.data.name_field+"-id",class:i([e.error?"border-red-500 focus:border-red-500 focus:ring-red-500":"focus:border-blue-500 focus:ring-blue-500","py-3 px-4 block w-full border-gray-200 rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none"]),placeholder:e.block.data.title_field},null,10,k),e.error?(r(),o("div",x,a[0]||(a[0]=[t("svg",{class:"shrink-0 size-4 text-red-500",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"},[t("circle",{cx:"12",cy:"12",r:"10"}),t("line",{x1:"12",x2:"12",y1:"8",y2:"12"}),t("line",{x1:"12",x2:"12.01",y1:"16",y2:"16"})],-1)]))):l("",!0)]),e.error?l("",!0):(r(),o("p",h,s(e.block.data.description),1)),(r(!0),o(c,null,m(e.error,d=>(r(),o("p",y,s(d),1))),256))])}const C=n(u,[["render",g]]);export{C as default}; diff --git a/public/build/assets/DirectionFilter-D7FJ9CMu.js b/public/build/assets/DirectionFilter-D7FJ9CMu.js deleted file mode 100644 index 501f23b..0000000 --- a/public/build/assets/DirectionFilter-D7FJ9CMu.js +++ /dev/null @@ -1 +0,0 @@ -import{i as m,r as f,o as l,c as o,b as r,a as p,p as g,F as h,d as v,h as b,s as E,t as y,u as S}from"./app-lT3z3TR3.js";import{B as _,_ as x}from"./SearchModal-YI3bdWA9.js";import{S as w,C as k}from"./SortingByFilter-CjZ8gKSr.js";import{_ as F}from"./_plugin-vue_export-helper-DlAUqK2U.js";const U={name:"FormEducationalFilter",components:{BaseIcon:_,Link:m,SearchBadge:w,CategoryBadge:k},data(){return{formEdu:this.formEdu_filter.value||[]}},methods:{filter:x.debounce(function(){let t=new URL(window.location.href);t.searchParams.delete("page"),t.searchParams.delete("form");let e=t.toString();this.$inertia.visit(e,{method:"get",preserveState:!0,data:{form:this.formEdu}})},500),clearFilter(){let t=new URL(window.location.href);t.searchParams.delete("form"),this.formEdu=[],this.searchTerm="";let e=t.toString();this.$inertia.visit(e,{method:"get",preserveState:!0})}},computed:{},props:{forms:{type:Object},formEdu_filter:{type:Object}}},$={class:"min-w-[12rem] py-1 space-y-3"},C={class:"divide-y divide-gray-200 dark:divide-gray-700 max-h-[30vh] overflow-y-auto"},L={class:"flex flex-col ml-3"},P=["value","id"],I=["for"];function R(t,e,u,B,a,s){const c=f("BaseIcon");return l(),o("div",$,[r("button",{onClick:e[0]||(e[0]=g((...i)=>s.clearFilter&&s.clearFilter(...i),["prevent"])),class:"text-gray-500 text-sm flex gap-x-1 items-center hover:text-gray-700"},[p(c,{class:"w-4 h-4",name:"delete"}),e[3]||(e[3]=r("span",null,"Очистить",-1))]),r("div",C,[r("div",null,[r("div",L,[(l(!0),o(h,null,v(u.forms,(i,n)=>(l(),o("div",null,[b(r("input",{"onUpdate:modelValue":e[1]||(e[1]=d=>a.formEdu=d),value:n,onChange:e[2]||(e[2]=(...d)=>s.filter&&s.filter(...d)),type:"radio",class:"shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none",id:"inp-tag"+n},null,40,P),[[E,a.formEdu]]),r("label",{for:"inp-tag"+n,class:"text-sm text-gray-500 ms-3 dark:text-neutral-400"},y(i),9,I)]))),256))])])])])}const Z=F(U,[["render",R]]),j={name:"BudgetFilter",components:{BaseIcon:_,Link:m,SearchBadge:w,CategoryBadge:k},data(){return{budgetEdu:this.budget_filter.value||[]}},methods:{filter:x.debounce(function(){let t=new URL(window.location.href);t.searchParams.delete("page"),t.searchParams.delete("budget");let e=t.toString();this.$inertia.visit(e,{method:"get",preserveState:!0,data:{budget:this.budgetEdu}})},500),clearFilter(){let t=new URL(window.location.href);t.searchParams.delete("budget"),this.budgetEdu=[],this.searchTerm="";let e=t.toString();this.$inertia.visit(e,{method:"get",preserveState:!0})}},computed:{},props:{budgets:{type:Object},budget_filter:{type:Object}}},O={class:"min-w-[12rem] py-1 space-y-3"},D={class:"divide-y divide-gray-200 dark:divide-gray-700 max-h-[30vh] overflow-y-auto"},V={class:"flex flex-col ml-3"},T=["value","id"],M=["for"];function N(t,e,u,B,a,s){const c=f("BaseIcon");return l(),o("div",O,[r("button",{onClick:e[0]||(e[0]=g((...i)=>s.clearFilter&&s.clearFilter(...i),["prevent"])),class:"text-gray-500 text-sm flex gap-x-1 items-center hover:text-gray-700"},[p(c,{class:"w-4 h-4",name:"delete"}),e[3]||(e[3]=r("span",null,"Очистить",-1))]),r("div",D,[r("div",null,[r("div",V,[(l(!0),o(h,null,v(u.budgets,(i,n)=>(l(),o("div",null,[b(r("input",{"onUpdate:modelValue":e[1]||(e[1]=d=>a.budgetEdu=d),value:n,onChange:e[2]||(e[2]=(...d)=>s.filter&&s.filter(...d)),type:"radio",class:"shrink-0 mt-0.5 border-gray-200 rounded-full text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none",id:"inp-tag"+n},null,40,T),[[E,a.budgetEdu]]),r("label",{for:"inp-tag"+n,class:"text-sm text-gray-500 ms-3 dark:text-neutral-400"},y(i),9,M)]))),256))])])])])}const ee=F(j,[["render",N]]),q={name:"DirectionFilter",components:{BaseIcon:_,Link:m,SearchBadge:w,CategoryBadge:k},data(){return{direction:this.direction_filter.value||[],tag_slug:[],searchTerm:""}},methods:{filter:x.debounce(function(){let t=new URL(window.location.href);t.searchParams.delete("page"),t.searchParams.delete("direction[]");let e=t.toString();this.$inertia.visit(e,{method:"get",preserveState:!0,data:{direction:this.direction}})},500),clearFilter(){let t=new URL(window.location.href);t.searchParams.delete("direction[]"),this.direction=[],this.searchTerm="";let e=t.toString();this.$inertia.visit(e,{method:"get",preserveState:!0})}},computed:{},props:{direction_studies:{type:Object},direction_filter:{type:Object}}},z={class:"min-w-[12rem] py-1 space-y-3"},A={class:"divide-y divide-gray-200 dark:divide-gray-700 max-h-[30vh] overflow-y-auto"},G={class:"flex flex-col ml-3"},H=["value","id"],J=["for"];function K(t,e,u,B,a,s){const c=f("BaseIcon");return l(),o("div",z,[r("button",{onClick:e[0]||(e[0]=g((...i)=>s.clearFilter&&s.clearFilter(...i),["prevent"])),class:"text-gray-500 text-sm flex gap-x-1 items-center hover:text-gray-700"},[p(c,{class:"w-4 h-4",name:"delete"}),e[3]||(e[3]=r("span",null,"Очистить",-1))]),r("div",A,[r("div",null,[r("div",G,[(l(!0),o(h,null,v(u.direction_studies,i=>(l(),o("div",{key:i.id},[b(r("input",{"onUpdate:modelValue":e[1]||(e[1]=n=>a.direction=n),value:i.slug,onChange:e[2]||(e[2]=(...n)=>s.filter&&s.filter(...n)),type:"checkbox",class:"shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none",id:"inp"+i.id},null,40,H),[[S,a.direction]]),r("label",{for:"inp"+i.id,class:"text-sm text-gray-500 ms-3 dark:text-neutral-400"},y(i.name),9,J)]))),128))])])])])}const te=F(q,[["render",K]]);export{ee as B,te as D,Z as F}; diff --git a/public/build/assets/EducationalChoiceBlock-CJTXyarS.js b/public/build/assets/EducationalChoiceBlock-CJTXyarS.js deleted file mode 100644 index 7fcaba1..0000000 --- a/public/build/assets/EducationalChoiceBlock-CJTXyarS.js +++ /dev/null @@ -1 +0,0 @@ -import{m as g,o as s,c as i,b as t,t as n,h as m,v as h,F as d,d as c,l as u}from"./app-lT3z3TR3.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";const p={name:"EducationalChoiceBlock",data(){return{additionalEducationalPrograms:null,loading:!0,activeProgramPage:null,isActiveProgramPage:!1}},methods:{getPrograms(){return g.get(route("client.widget.educational.program.index")).then(o=>{this.additionalEducationalPrograms=o.data,this.loading=!1}).catch(o=>{console.error("Ошибка:",o),this.loading=!1})},isAdditionalEducationalRoute(){const o=this.getSlugFromUrl(this.$page.props.ziggy.location);return this.$page.props.ziggy.location===route("client.program.show",o)},getSlugFromUrl(o){const e=o.split("/");return e[e.length-1]},findItemBySlug(){const o=this.getSlugFromUrl(this.$page.props.ziggy.location);return this.additionalEducationalPrograms.data.find(e=>e.slug===o)||null}},mounted(){this.getPrograms().then(()=>{this.isAdditionalEducationalRoute()&&(this.isActiveProgramPage=!0,this.activeProgramPage=this.findItemBySlug().name)})},props:{block:{type:Object},error:{type:Object}}},b={key:0,class:"mt-5 space-y-3 flex flex-col animate-pulse"},x={key:1,class:"mb-4 sm:mb-8"},y=["for"],_={class:"relative"},v=["name","disabled"],k=["value"],P={key:0,class:"absolute inset-y-0 end-0 flex items-center pointer-events-none pe-3"},w={class:"flex items-center mt-2 justify-between flex-wrap"},E={key:0,class:"text-sm text-gray-500",id:"hs-input-helper-text"},B={class:"text-sm text-red-600 mt-2",id:"hs-validation-name-error-helper"};function S(o,e,l,A,r,F){return r.loading?(s(),i("ul",b,e[1]||(e[1]=[t("li",{class:"w-full h-4 bg-gray-200 rounded-full"},null,-1),t("li",{class:"w-full h-8 bg-gray-200 rounded-full"},null,-1)]))):(s(),i("div",x,[t("label",{for:l.block.data.name_field+"-id",class:"block mb-2 text-sm font-medium"},n(l.block.data.title_field),9,y),t("div",_,[m(t("select",{name:l.block.data.name_field,disabled:r.isActiveProgramPage,"onUpdate:modelValue":e[0]||(e[0]=a=>r.activeProgramPage=a),class:"py-3 px-4 pe-9 block w-full border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none"},[e[2]||(e[2]=t("option",{selected:""},"Open this select menu",-1)),(s(!0),i(d,null,c(r.additionalEducationalPrograms.data,a=>(s(),i("option",{value:a.name},n(a.name),9,k))),256))],8,v),[[h,r.activeProgramPage]]),l.error?(s(),i("div",P,e[3]||(e[3]=[t("svg",{class:"shrink-0 size-4 text-red-500",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"},[t("circle",{cx:"12",cy:"12",r:"10"}),t("line",{x1:"12",x2:"12",y1:"8",y2:"12"}),t("line",{x1:"12",x2:"12.01",y1:"16",y2:"16"})],-1)]))):u("",!0)]),t("div",w,[l.error?u("",!0):(s(),i("p",E,n(l.block.data.description),1))]),(s(!0),i(d,null,c(l.error,a=>(s(),i("p",B,n(a),1))),256))]))}const C=f(p,[["render",S]]);export{C as default}; diff --git a/public/build/assets/EmailBlock-MeTQBS96.js b/public/build/assets/EmailBlock-MeTQBS96.js deleted file mode 100644 index 9e38ccc..0000000 --- a/public/build/assets/EmailBlock-MeTQBS96.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as n}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as r,c as o,b as t,t as a,n as d,l as s,F as c,d as m}from"./app-lT3z3TR3.js";const u={name:"EmailBlock",data(){return{}},methods:{},props:{block:{type:Object},error:{type:Object}}},b={class:"mb-4 sm:mb-8"},_=["for"],k={class:"relative"},x=["required","name","min","max","id","placeholder"],f={key:0,class:"absolute inset-y-0 end-0 flex items-center pointer-events-none pe-3"},h={key:0,class:"mt-2 text-sm text-gray-500",id:"hs-input-helper-text"},y={class:"text-sm text-red-600 mt-2",id:"hs-validation-name-error-helper"};function g(v,l,e,w,p,B){return r(),o("div",b,[t("label",{for:e.block.data.name_field+"-id",class:"block mb-2 text-sm font-medium"},a(e.block.data.title_field),9,_),t("div",k,[t("input",{required:e.block.data.rules.required,name:e.block.data.name_field,min:e.block.data.rules.min,max:e.block.data.rules.max,type:"email",id:e.block.data.name_field+"-id",class:d([e.error?"border-red-500 focus:border-red-500 focus:ring-red-500":"focus:border-blue-500 focus:ring-blue-500","py-3 px-4 block w-full border-gray-200 rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none"]),placeholder:e.block.data.title_field},null,10,x),e.error?(r(),o("div",f,l[0]||(l[0]=[t("svg",{class:"shrink-0 size-4 text-red-500",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"},[t("circle",{cx:"12",cy:"12",r:"10"}),t("line",{x1:"12",x2:"12",y1:"8",y2:"12"}),t("line",{x1:"12",x2:"12.01",y1:"16",y2:"16"})],-1)]))):s("",!0)]),e.error?s("",!0):(r(),o("p",h,a(e.block.data.description),1)),(r(!0),o(c,null,m(e.error,i=>(r(),o("p",y,a(i),1))),256))])}const C=n(u,[["render",g]]);export{C as default}; diff --git a/public/build/assets/Error-xgY_TEgY.js b/public/build/assets/Error-xgY_TEgY.js deleted file mode 100644 index aefac53..0000000 --- a/public/build/assets/Error-xgY_TEgY.js +++ /dev/null @@ -1 +0,0 @@ -import{A as c,r as s,c as d,a as n,w as p,b as e,t as r,j as m,F as u,o as f}from"./app-lT3z3TR3.js";import"./v3-B5UP5GZw.js";import{C as x}from"./SearchModal-YI3bdWA9.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */import{M as g}from"./MainPageNavbar-BfM50q-7.js";const h=c({components:{ClientFooterDown:x,MainPageNavBar:g},props:{status:Number},computed:{title(){return{503:"503",500:"500",404:"404",403:"403"}[this.status]},description(){return{503:"Простите, мы проводим технические работы на странице.",500:"Упс, проблема на стороне сервера. Мы уже решаем проблему!",404:"Упс, страница не найдена!",403:"Извините, у вас нет доступа к этой секции."}[this.status]}}}),w={class:"flex flex-col h-screen justify-between"},b={class:"max-w-[50rem] flex flex-col mx-auto size-full"},v={class:"my-auto",id:"content"},y={class:"text-center py-10 px-4 sm:px-6 lg:px-8"},k={class:"block text-7xl font-bold text-gray-800 sm:text-9xl"},C={class:"text-gray-600"},B={class:"mt-5 flex flex-col justify-center items-center gap-2 sm:flex-row sm:gap-3"},N=["href"];function j(t,o,F,$,D,M){const a=s("Head"),i=s("MainPageNavBar"),l=s("ClientFooterDown");return f(),d(u,null,[n(a,null,{default:p(()=>[e("title",null,"Ошибка "+r(t.title),1),o[0]||(o[0]=e("meta",{name:"description",content:"Your page description"},null,-1))]),_:1}),e("div",w,[n(i,{class:"border-b",sections:t.$page.props.navigation},null,8,["sections"]),e("div",b,[e("main",v,[e("div",y,[e("h1",k,r(t.title),1),e("p",C,r(t.description),1),e("div",B,[e("a",{href:t.route("index"),class:"w-full sm:w-auto py-3 px-4 inline-flex justify-center items-center gap-x-2 text-sm font-semibold rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none"},o[1]||(o[1]=[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),m(" На домашнюю страницу ")]),8,N)])])])]),n(l)])],64)}const I=_(h,[["render",j],["__scopeId","data-v-f864d284"]]);export{I as default}; diff --git a/public/build/assets/EventBadgeBuilder-Bg3wvoOe.js b/public/build/assets/EventBadgeBuilder-Bg3wvoOe.js deleted file mode 100644 index f0da475..0000000 --- a/public/build/assets/EventBadgeBuilder-Bg3wvoOe.js +++ /dev/null @@ -1 +0,0 @@ -import{i,o as l,c,j as f,t as p,b as a,p as g,l as h,d as k,e as y,g as B,F as b}from"./app-lT3z3TR3.js";import"./SearchModal-YI3bdWA9.js";import{S as x,C as v}from"./SortingByFilter-CjZ8gKSr.js";import{_ as u}from"./_plugin-vue_export-helper-DlAUqK2U.js";const _={name:"TagBadge",components:{Link:i},data(){return{}},methods:{clearFilter(){let r=new URL(window.location.href);const e=[];for(const[n]of r.searchParams)n.startsWith(this.filter.param)&&e.push(n);e.forEach(n=>r.searchParams.delete(n));let t=r.toString();this.$inertia.visit(t,{method:"get"})}},props:{filter:{type:Object}}},w={key:0,class:"inline-flex items-center gap-x-1.5 py-1.5 ps-3 pe-2 rounded-full text-xs font-medium bg-blue-100 text-blue-800"};function C(r,e,t,n,d,s){return this.filter.value!==null?(l(),c("span",w,[f(p(t.filter.value.length>1?"Тэг: "+t.filter.value.length+" значений":"#"+JSON.parse(t.filter.content[t.filter.value].data.name).ru)+" ",1),a("button",{onClick:e[0]||(e[0]=g((...o)=>s.clearFilter&&s.clearFilter(...o),["prevent"])),type:"button",class:"shrink-0 size-4 inline-flex items-center justify-center rounded-full hover:bg-blue-200 focus:outline-none focus:bg-blue-200 focus:text-blue-500"},e[1]||(e[1]=[a("span",{class:"sr-only"},"Remove badge",-1),a("svg",{class:"shrink-0 size-3",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"},[a("path",{d:"M18 6 6 18"}),a("path",{d:"m6 6 12 12"})],-1)]))])):h("",!0)}const S=u(_,[["render",C]]),j={name:"EventBadgeBuilder",components:{Link:i,SearchBadge:x,CategoryBadge:v,TagBadge:S},data(){return{}},methods:{getComponent(r){return{search:"SearchBadge",category:"CategoryBadge",tag:"TagBadge"}[r]||null}},props:{filters:{type:Object}}};function F(r,e,t,n,d,s){return l(!0),c(b,null,k(t.filters,(o,m)=>(l(),y(B(s.getComponent(o.type)),{key:m,filter:o},null,8,["filter"]))),128)}const P=u(j,[["render",F]]);export{P}; diff --git a/public/build/assets/EventBuilder-Cx5Dh3-L.js b/public/build/assets/EventBuilder-Cx5Dh3-L.js deleted file mode 100644 index 3c2120c..0000000 --- a/public/build/assets/EventBuilder-Cx5Dh3-L.js +++ /dev/null @@ -1 +0,0 @@ -import{i as _,r as f,o as n,e as y,w as $,b as e,j as b,t as d,c as r,a as w,F as p,d as m,n as P,m as h,k as B,l as C,g as j}from"./app-lT3z3TR3.js";import{s as x}from"./SearchModal-YI3bdWA9.js";import{_ as g}from"./_plugin-vue_export-helper-DlAUqK2U.js";import L from"./ClientImageSlider-CGZZYYI8.js";import{F as k}from"./v3-B5UP5GZw.js";import{P as S}from"./PageTabBuilder-CXLfoCo_.js";const T={name:"EventBackButton",components:{Link:_},data(){return{}},methods:{textLimit(s,t){if(s.length>t){let l;return l=s.substring(0,t),l+"..."}return s}},props:{title:{type:String},link:{type:String}}};function H(s,t,l,u,o,i){const c=f("Link");return n(),y(c,{href:s.route(this.link),class:"inline-flex items-center gap-x-1.5 text-sm text-gray-600 decoration-2 hover:underline dark:text-blue-500"},{default:$(()=>[t[0]||(t[0]=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)),b(" "+d(l.title),1)]),_:1},8,["href"])}const Lt=g(T,[["render",H]]),V={name:"TitleEvent",components:{Link:_},data(){return{}},methods:{textLimit(s,t){if(s.length>t){let l;return l=s.substring(0,t),l+"..."}return s}},props:{header:{type:String}}},z={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 F(s,t,l,u,o,i){return n(),r("h1",z,d(l.header),1)}const St=g(V,[["render",F]]),I={name:"HeadingBlock",methods:{generateSlug:function(s){return x(s,{lower:!0,strict:!0,locale:"ru"})}},props:{block:{type:Object}}},M={class:"md:font-bold md:text-xl text-lg font-medium text-gray-800"};function O(s,t,l,u,o,i){return n(),r("div",null,[e("h2",M,d(l.block.data.content),1)])}const E=g(I,[["render",O]]),Z={name:"ParagraphBlock",methods:{wrapTables(s){if(s.type==="paragraph"&&s.data&&s.data.content){const t=s.data.content.replace(/]*)>([\s\S]*?)<\/table>/g,(l,u,o)=>`
${o}
`);return{...s,data:{...s.data,content:t}}}return s}},props:{block:{type:Object}}},N=["innerHTML"];function A(s,t,l,u,o,i){return n(),r("div",{class:"text-sm text-gray-600 leading-6 md:text-[16px] md:text-[#374151] md:leading-8 md:font-light paragraph-container",innerHTML:i.wrapTables(l.block).data.content},null,8,N)}const D=g(Z,[["render",A]]),Y={name:"ImageBlock",components:{FsLightbox:k},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(s){return x(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},q=["src"];function G(s,t,l,u,o,i){const c=f("FsLightbox");return n(),r(p,null,[e("div",null,[e("img",{onClick:t[0]||(t[0]=a=>o.toggler=!o.toggler),loading:"lazy",class:"mx-auto object-cover rounded-md hover:opacity-95 hover:duration-200 transition",src:"/storage/"+l.block.data.url,alt:""},null,8,q)]),w(c,{class:"",toggler:o.toggler,sources:[o.domainPath+"/storage/"+l.block.data.url]},null,8,["toggler","sources"])],64)}const J=g(Y,[["render",G]]),K={name:"FileBlock",components:{FsLightbox:k},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(s){return x(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},Q={class:""},R=["href"],U={class:"flex border rounded-lg px-4 py-2 items-center justify-between duration-300 hover:bg-gray-100"},W={class:"flex items-center"};function X(s,t,l,u,o,i){return n(!0),r(p,null,m(l.block.data.file,c=>(n(),r("div",Q,[e("a",{class:"",href:"/storage/"+c.path,download:"",type:"button"},[e("div",U,[e("div",W,[t[0]||(t[0]=e("div",{class:"w-[30px] h-[30px] bg-black flex justify-center items-center rounded-md mr-2"},[e("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M15.9375 12.2188H12.75C12.4682 12.2188 12.198 12.1068 11.9987 11.9076C11.7994 11.7083 11.6875 11.438 11.6875 11.1562V5.84375C11.6875 5.56196 11.7994 5.29171 11.9987 5.09245C12.198 4.89319 12.4682 4.78125 12.75 4.78125H15.9375V5.84375H12.75V11.1562H15.9375V12.2188ZM9.5625 12.2188H7.4375C7.15571 12.2188 6.88546 12.1068 6.6862 11.9076C6.48694 11.7083 6.375 11.438 6.375 11.1562V5.84375C6.375 5.56196 6.48694 5.29171 6.6862 5.09245C6.88546 4.89319 7.15571 4.78125 7.4375 4.78125H9.5625C9.84429 4.78125 10.1145 4.89319 10.3138 5.09245C10.5131 5.29171 10.625 5.56196 10.625 5.84375V11.1562C10.625 11.438 10.5131 11.7083 10.3138 11.9076C10.1145 12.1068 9.84429 12.2188 9.5625 12.2188ZM7.4375 5.84375V11.1562H9.5625V5.84375H7.4375ZM3.1875 12.2188H1.0625V4.78125H3.1875C3.75087 4.78195 4.29096 5.00606 4.68933 5.40442C5.08769 5.80279 5.3118 6.34288 5.3125 6.90625V10.0938C5.3118 10.6571 5.08769 11.1972 4.68933 11.5956C4.29096 11.9939 3.75087 12.218 3.1875 12.2188ZM2.125 11.1562H3.1875C3.46929 11.1562 3.73954 11.0443 3.9388 10.8451C4.13806 10.6458 4.25 10.3755 4.25 10.0938V6.90625C4.25 6.62446 4.13806 6.35421 3.9388 6.15495C3.73954 5.95569 3.46929 5.84375 3.1875 5.84375H2.125V11.1562Z",fill:"#F8F8F8"})])],-1)),e("div",null,d(c.title),1)])])],8,R)]))),256)}const ee=g(K,[["render",X]]),te={name:"PersonBlock",components:{FsLightbox:k},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(s){return x(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},se={class:"w-full rounded-xl mb-4 p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700"},oe={class:"flex items-center gap-x-4"},le=["src"],ne={class:"grow"},re={class:"font-medium text-gray-800 hover:text-gray-500"},ae={class:"text-xs text-gray-500 mt-2"};function ie(s,t,l,u,o,i){const c=f("FsLightbox");return n(),r(p,null,[e("div",se,[e("div",oe,[e("img",{onClick:t[0]||(t[0]=a=>o.toggler=!o.toggler),loading:"lazy",class:"rounded-xl w-[150px]",src:"/storage/"+l.block.data.photo,alt:"Image Description"},null,8,le),e("div",ne,[e("p",re,d(l.block.data.name),1),(n(!0),r(p,null,m(l.block.data.info,a=>(n(),r("p",ae,d(a.column)+": "+d(a.content),1))),256))])])]),w(c,{class:"",toggler:o.toggler,sources:[o.domainPath+"/storage/"+l.block.data.photo]},null,8,["toggler","sources"])],64)}const ce=g(te,[["render",ie]]),de={name:"StepperBlock",components:{FsLightbox:k},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(s){return x(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},ue={class:"flex gap-x-3"},ge={class:"w-16 text-end min-w-[4rem]"},pe={class:"text-xs text-gray-500"},me={class:"grow max-w-[70%] pt-0.5 pb-8 overflow-wrap break-words"},he={class:"flex gap-x-1.5 font-semibold text-gray-800"},fe=["innerHTML"];function xe(s,t,l,u,o,i){return n(),r("div",null,[(n(!0),r(p,null,m(l.block.data.steps,(c,a)=>(n(),r("div",ue,[e("div",ge,[e("span",pe,d(l.block.data.step_name)+" "+d(a+1),1)]),t[0]||(t[0]=e("div",{class:"relative last:after:hidden after:absolute after:top-7 after:bottom-0 after:start-3.5 after:w-px after:-translate-x-[0.5px] after:bg-gray-200"},[e("div",{class:"relative z-10 size-7 flex justify-center items-center"},[e("div",{class:"size-2 rounded-full bg-primaryBlue"})])],-1)),e("div",me,[e("h3",he,d(c.title),1),e("p",{class:"mt-1 text-sm text-gray-600 step-content",innerHTML:c.content},null,8,fe)])]))),256))])}const be=g(de,[["render",xe]]),_e={name:"VideoBlock",data(){return{toggler:!1,domainPath:null}},methods:{},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},ve={class:"h-full w-full rounded-lg",controls:""},we=["src","type"],ke={class:"mt-3 text-sm text-center text-gray-500 dark:text-neutral-500"};function ye(s,t,l,u,o,i){return n(),r(p,null,[e("video",ve,[e("source",{src:o.domainPath+"/storage/"+l.block.data.path,type:l.block.data.mime},null,8,we),t[0]||(t[0]=b(" Your browser does not support the video tag. "))]),e("figcaption",ke,d(l.block.data.title),1)],64)}const $e=g(_e,[["render",ye]]),Be={name:"TabBlock",components:{PageTabBuilder:S},data(){return{activeTab:0}},methods:{generateSlug:function(s){return x(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},Pe={class:""},Ce={class:"-mb-0.5 flex justify-center gap-x-2","aria-label":"Tabs",role:"tablist","aria-orientation":"horizontal"},je=["onClick","id","data-hs-tab","aria-controls"],Le={class:"mt-3"},Se=["id","aria-labelledby"];function Te(s,t,l,u,o,i){const c=f("PageTabBuilder");return n(),r(p,null,[e("div",Pe,[e("nav",Ce,[(n(!0),r(p,null,m(l.block.data.tab,(a,v)=>(n(),r("button",{type:"button",class:P(["hs-tab-active:bg-gray-100 rounded-md hs-tab-active:text-gray-700 py-1.5 px-3 inline-flex items-center gap-x-2 border-b-2 border-transparent text-sm whitespace-nowrap text-gray-500 focus:outline-none disabled:opacity-50 disabled:pointer-events-none",o.activeTab===v?"active":""]),onClick:kt=>o.activeTab=v,id:i.generateSlug(a.title)+"-item","data-hs-tab":"#"+i.generateSlug(a.title),"aria-selected":"false","aria-controls":i.generateSlug(a.title),role:"tab"},d(a.title),11,je))),256))])]),e("div",Le,[(n(!0),r(p,null,m(l.block.data.tab,(a,v)=>(n(),r("div",{id:i.generateSlug(a.title),class:P(o.activeTab===v?"":"hidden"),role:"tabpanel","aria-labelledby":i.generateSlug(a.title)+"-item"},[w(c,{blocks:a.content},null,8,["blocks"])],10,Se))),256))])],64)}const He=g(Be,[["render",Te]]),Ve={name:"PostListBlock",components:{axios:h,Link:_},data(){return{posts:null,loading:!0}},methods:{getPosts(){h.get(route("client.widget.post.index"),{params:{count:this.block.data.count,category:this.block.data.category}}).then(s=>{this.posts=s.data,this.loading=!1}).catch(s=>{console.error("Ошибка:",s),this.loading=!1})}},mounted(){this.getPosts()},props:{block:{type:Object}}},ze={class:"w-full px-4 py-5 sm:px-6 lg:px-8 lg:py-7 mx-auto"},Fe={key:0,class:"flex flex-col space-y-4"},Ie={key:1,class:"grid lg:grid-cols-1 lg:gap-y-16 gap-10"},Me={class:"flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-5"},Oe={class:"shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"},Ee=["src"],Ze={class:"grow"},Ne={class:"text-xl font-semibold text-gray-800 group-hover:text-gray-600"},Ae={class:"flex justify-center"},De=["href"];function Ye(s,t,l,u,o,i){const c=f("Link");return n(),r("div",ze,[o.loading?(n(),r("div",Fe,t[0]||(t[0]=[B('

',3)]))):(n(),r("div",Ie,[(n(!0),r(p,null,m(o.posts.data,a=>(n(),y(c,{key:a.id,class:"group block rounded-xl overflow-hidden focus:outline-none",href:s.route("client.post.show",a.slug)},{default:$(()=>[e("div",Me,[e("div",Oe,[e("img",{class:"group-hover:scale-105 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl",src:a.preview?"storage/images/"+a.preview:"/img/thumbnail-1.png"},null,8,Ee)]),e("div",Ze,[e("h3",Ne,d(a.title),1),t[1]||(t[1]=e("p",{class:"mt-3 text-gray-600"}," Produce professional, reliable streams easily leveraging Preline's innovative broadcast studio ",-1)),t[2]||(t[2]=e("p",{class:"mt-4 inline-flex items-center gap-x-1 text-sm text-primaryBlue decoration-2 group-hover:underline group-focus:underline font-medium"},[b(" Читать далее "),e("svg",{class:"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:"m9 18 6-6-6-6"})])],-1))])])]),_:2},1032,["href"]))),128)),e("div",Ae,[e("a",{href:s.route("client.post.index",{category:l.block.data.category}),class:"group inline-flex items-center gap-x-1 text-sm font-semibold text-[#1A5AAF]"},t[3]||(t[3]=[b(" Все новости "),e("svg",{class:"flex-shrink-0 size-4 transition ease-in-out group-hover:translate-x-1",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:"m9 18 6-6-6-6"})],-1)]),8,De)])]))])}const qe=g(Ve,[["render",Ye]]),Ge={name:"PageItemBlock",components:{axios:h,Link:_},data(){return{page:null,breadcrumbs:null,loading:!0}},methods:{getPage(s){h.get(route("client.widget.page.single",s)).then(t=>{this.page=t.data.data.page,this.breadcrumbs=t.data.data.breadcrumbs,this.loading=!1}).catch(t=>{console.error("Ошибка:",t),this.loading=!1})}},mounted(){this.getPage(this.block.data.page)},props:{block:{type:Object}}},Je={key:0,class:"flex flex-col space-y-4"},Ke={key:1,class:"w-full px-2 sm:px-3 lg:px-4mx-auto"},Qe=["href"],Re={class:"p-4 md:p-5"},Ue={class:"flex items-center gap-x-5"},We={class:"grow"},Xe={key:0,class:"flex items-center whitespace-nowrap"},et={class:"inline-flex items-center"},tt={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},st={class:"inline-flex items-center"},ot={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},lt={class:"inline-flex items-center"},nt={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},rt={class:"mt-1 group-hover:text-blue-600 font-semibold text-gray-700"};function at(s,t,l,u,o,i){return o.loading?(n(),r("div",Je,t[0]||(t[0]=[B('

',1)]))):(n(),r("div",Ke,[e("a",{class:"group flex flex-col bg-white border shadow-sm rounded-xl hover:shadow-md focus:outline-none focus:shadow-md transition",href:o.page.is_url?o.page.path:s.route("page.view",o.page.path)+"/"},[e("div",Re,[e("div",Ue,[t[3]||(t[3]=e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"mt-1 shrink-0 size-7 text-gray-600"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})],-1)),e("div",We,[o.breadcrumbs?(n(),r("ol",Xe,[e("li",et,[e("span",tt,d(o.breadcrumbs.mainSection),1),t[1]||(t[1]=e("svg",{class:"shrink-0 mx-2 size-4 text-gray-400",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:"m9 18 6-6-6-6"})],-1))]),e("li",st,[e("span",ot,d(o.breadcrumbs.mainSection),1),t[2]||(t[2]=e("svg",{class:"shrink-0 mx-2 size-4 text-gray-400",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:"m9 18 6-6-6-6"})],-1))]),e("li",lt,[e("span",nt,d(o.breadcrumbs.page),1)])])):C("",!0),e("h3",rt,d(o.page.title),1)])])])],8,Qe)]))}const it=g(Ge,[["render",at]]),ct={name:"PostListBlock",components:{axios:h,Link:_},data(){return{post:null,loading:!0}},methods:{getPost(s){h.get(route("client.widget.post.single",s),{params:{count:this.block.data.count,category:this.block.data.category}}).then(t=>{this.post=t.data,this.loading=!1}).catch(t=>{console.error("Ошибка:",t),this.loading=!1})}},mounted(){this.getPost(this.block.data.post)},props:{block:{type:Object}}},dt={class:"w-full px-4 py-5 sm:px-6 lg:px-8 lg:py-7 mx-auto"},ut={key:0,class:"flex flex-col space-y-4"},gt={key:1,class:"grid lg:grid-cols-1 lg:gap-y-16 gap-10"},pt={class:"flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-5"},mt={class:"shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"},ht=["src"],ft={class:"grow"},xt={class:"text-xl font-semibold text-gray-800 group-hover:text-gray-600"};function bt(s,t,l,u,o,i){const c=f("Link");return n(),r("div",dt,[o.loading?(n(),r("div",ut,t[0]||(t[0]=[B('

',1)]))):(n(),r("div",gt,[w(c,{class:"group block rounded-xl overflow-hidden focus:outline-none",href:s.route("client.post.show",o.post.data.slug)},{default:$(()=>[e("div",pt,[e("div",mt,[e("img",{class:"group-hover:scale-105 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl",src:o.post.data.preview?"storage/images/"+o.post.data.preview:"/img/thumbnail-1.png"},null,8,ht)]),e("div",ft,[e("h3",xt,d(o.post.data.title),1),t[1]||(t[1]=e("p",{class:"mt-3 text-gray-600"}," Produce professional, reliable streams easily leveraging Preline's innovative broadcast studio ",-1)),t[2]||(t[2]=e("p",{class:"mt-4 inline-flex items-center gap-x-1 text-sm text-primaryBlue decoration-2 group-hover:underline group-focus:underline font-medium"},[b(" Читать далее "),e("svg",{class:"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:"m9 18 6-6-6-6"})])],-1))])])]),_:1},8,["href"])]))])}const _t=g(ct,[["render",bt]]),vt={name:"EventBuilder",components:{FileBlock:ee,ImageBlock:J,ClientImageSlider:L,ParagraphBlock:D,HeadingBlock:E,PersonBlock:ce,StepperBlock:be,VideoBlock:$e,TabBlock:He,PostListBlock:qe,PageItemBlock:it,PostItemBlock:_t},methods:{getComponent(s){return{heading:"HeadingBlock",paragraph:"ParagraphBlock",images:"ClientImageSlider",image:"ImageBlock",files:"FileBlock",person:"PersonBlock",stepper:"StepperBlock",video:"VideoBlock",tabs:"TabBlock",postsList:"PostListBlock",postItem:"PostItemBlock",pageItem:"PageItemBlock"}[s]||null}},props:{blocks:{type:Object}}};function wt(s,t,l,u,o,i){return n(!0),r(p,null,m(l.blocks,(c,a)=>(n(),y(j(i.getComponent(c.type)),{key:a,block:c},null,8,["block"]))),128)}const Tt=g(vt,[["render",wt]]);export{Tt as E,St as T,Lt as a}; diff --git a/public/build/assets/FacultyBuilder-B9Cf6PY4.js b/public/build/assets/FacultyBuilder-B9Cf6PY4.js deleted file mode 100644 index 25d7eff..0000000 --- a/public/build/assets/FacultyBuilder-B9Cf6PY4.js +++ /dev/null @@ -1 +0,0 @@ -import{s as f}from"./SearchModal-YI3bdWA9.js";import{_ as g}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as n,c as r,b as e,t as d,r as x,a as v,F as p,d as m,j as _,n as $,m as h,i as k,k as y,e as B,w as P,l as C,g as j}from"./app-lT3z3TR3.js";import H from"./ClientImageSlider-CGZZYYI8.js";import{F as w}from"./v3-B5UP5GZw.js";import{P as L}from"./PageTabBuilder-CXLfoCo_.js";const S={name:"HeadingBlock",methods:{generateSlug:function(s){return f(s,{lower:!0,strict:!0,locale:"ru"})}},props:{block:{type:Object}}},V={class:"md:font-bold md:text-xl text-lg font-medium text-gray-800"};function z(s,t,l,u,o,i){return n(),r("div",null,[e("h2",V,d(l.block.data.content),1)])}const F=g(S,[["render",z]]),T={name:"ParagraphBlock",methods:{wrapTables(s){if(s.type==="paragraph"&&s.data&&s.data.content){const t=s.data.content.replace(/]*)>([\s\S]*?)<\/table>/g,(l,u,o)=>`
${o}
`);return{...s,data:{...s.data,content:t}}}return s}},props:{block:{type:Object}}},I=["innerHTML"];function M(s,t,l,u,o,i){return n(),r("div",{class:"text-sm text-gray-600 leading-6 md:text-[16px] md:text-[#374151] md:leading-8 md:font-light paragraph-container",innerHTML:i.wrapTables(l.block).data.content},null,8,I)}const O=g(T,[["render",M]]),Z={name:"ImageBlock",components:{FsLightbox:w},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(s){return f(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},N=["src"];function A(s,t,l,u,o,i){const c=x("FsLightbox");return n(),r(p,null,[e("div",null,[e("img",{onClick:t[0]||(t[0]=a=>o.toggler=!o.toggler),loading:"lazy",class:"mx-auto object-cover rounded-md hover:opacity-95 hover:duration-200 transition",src:"/storage/"+l.block.data.url,alt:""},null,8,N)]),v(c,{class:"",toggler:o.toggler,sources:[o.domainPath+"/storage/"+l.block.data.url]},null,8,["toggler","sources"])],64)}const D=g(Z,[["render",A]]),E={name:"FileBlock",components:{FsLightbox:w},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(s){return f(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},Y={class:""},q=["href"],G={class:"flex border rounded-lg px-4 py-2 items-center justify-between duration-300 hover:bg-gray-100"},J={class:"flex items-center"};function K(s,t,l,u,o,i){return n(!0),r(p,null,m(l.block.data.file,c=>(n(),r("div",Y,[e("a",{class:"",href:"/storage/"+c.path,download:"",type:"button"},[e("div",G,[e("div",J,[t[0]||(t[0]=e("div",{class:"w-[30px] h-[30px] bg-black flex justify-center items-center rounded-md mr-2"},[e("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M15.9375 12.2188H12.75C12.4682 12.2188 12.198 12.1068 11.9987 11.9076C11.7994 11.7083 11.6875 11.438 11.6875 11.1562V5.84375C11.6875 5.56196 11.7994 5.29171 11.9987 5.09245C12.198 4.89319 12.4682 4.78125 12.75 4.78125H15.9375V5.84375H12.75V11.1562H15.9375V12.2188ZM9.5625 12.2188H7.4375C7.15571 12.2188 6.88546 12.1068 6.6862 11.9076C6.48694 11.7083 6.375 11.438 6.375 11.1562V5.84375C6.375 5.56196 6.48694 5.29171 6.6862 5.09245C6.88546 4.89319 7.15571 4.78125 7.4375 4.78125H9.5625C9.84429 4.78125 10.1145 4.89319 10.3138 5.09245C10.5131 5.29171 10.625 5.56196 10.625 5.84375V11.1562C10.625 11.438 10.5131 11.7083 10.3138 11.9076C10.1145 12.1068 9.84429 12.2188 9.5625 12.2188ZM7.4375 5.84375V11.1562H9.5625V5.84375H7.4375ZM3.1875 12.2188H1.0625V4.78125H3.1875C3.75087 4.78195 4.29096 5.00606 4.68933 5.40442C5.08769 5.80279 5.3118 6.34288 5.3125 6.90625V10.0938C5.3118 10.6571 5.08769 11.1972 4.68933 11.5956C4.29096 11.9939 3.75087 12.218 3.1875 12.2188ZM2.125 11.1562H3.1875C3.46929 11.1562 3.73954 11.0443 3.9388 10.8451C4.13806 10.6458 4.25 10.3755 4.25 10.0938V6.90625C4.25 6.62446 4.13806 6.35421 3.9388 6.15495C3.73954 5.95569 3.46929 5.84375 3.1875 5.84375H2.125V11.1562Z",fill:"#F8F8F8"})])],-1)),e("div",null,d(c.title),1)])])],8,q)]))),256)}const Q=g(E,[["render",K]]),R={name:"PersonBlock",components:{FsLightbox:w},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(s){return f(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},U={class:"w-full rounded-xl mb-4 p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700"},W={class:"flex items-center gap-x-4"},X=["src"],ee={class:"grow"},te={class:"font-medium text-gray-800 hover:text-gray-500"},se={class:"text-xs text-gray-500 mt-2"};function oe(s,t,l,u,o,i){const c=x("FsLightbox");return n(),r(p,null,[e("div",U,[e("div",W,[e("img",{onClick:t[0]||(t[0]=a=>o.toggler=!o.toggler),loading:"lazy",class:"rounded-xl w-[150px]",src:"/storage/"+l.block.data.photo,alt:"Image Description"},null,8,X),e("div",ee,[e("p",te,d(l.block.data.name),1),(n(!0),r(p,null,m(l.block.data.info,a=>(n(),r("p",se,d(a.column)+": "+d(a.content),1))),256))])])]),v(c,{class:"",toggler:o.toggler,sources:[o.domainPath+"/storage/"+l.block.data.photo]},null,8,["toggler","sources"])],64)}const le=g(R,[["render",oe]]),ne={name:"StepperBlock",components:{FsLightbox:w},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(s){return f(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},re={class:"flex gap-x-3"},ae={class:"w-16 text-end min-w-[4rem]"},ie={class:"text-xs text-gray-500"},ce={class:"grow max-w-[70%] pt-0.5 pb-8 overflow-wrap break-words"},de={class:"flex gap-x-1.5 font-semibold text-gray-800"},ue=["innerHTML"];function ge(s,t,l,u,o,i){return n(),r("div",null,[(n(!0),r(p,null,m(l.block.data.steps,(c,a)=>(n(),r("div",re,[e("div",ae,[e("span",ie,d(l.block.data.step_name)+" "+d(a+1),1)]),t[0]||(t[0]=e("div",{class:"relative last:after:hidden after:absolute after:top-7 after:bottom-0 after:start-3.5 after:w-px after:-translate-x-[0.5px] after:bg-gray-200"},[e("div",{class:"relative z-10 size-7 flex justify-center items-center"},[e("div",{class:"size-2 rounded-full bg-primaryBlue"})])],-1)),e("div",ce,[e("h3",de,d(c.title),1),e("p",{class:"mt-1 text-sm text-gray-600 step-content",innerHTML:c.content},null,8,ue)])]))),256))])}const pe=g(ne,[["render",ge]]),me={name:"VideoBlock",data(){return{toggler:!1,domainPath:null}},methods:{},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},he={class:"h-full w-full rounded-lg",controls:""},fe=["src","type"],xe={class:"mt-3 text-sm text-center text-gray-500 dark:text-neutral-500"};function be(s,t,l,u,o,i){return n(),r(p,null,[e("video",he,[e("source",{src:o.domainPath+"/storage/"+l.block.data.path,type:l.block.data.mime},null,8,fe),t[0]||(t[0]=_(" Your browser does not support the video tag. "))]),e("figcaption",xe,d(l.block.data.title),1)],64)}const _e=g(me,[["render",be]]),ve={name:"TabBlock",components:{PageTabBuilder:L},data(){return{activeTab:0}},methods:{generateSlug:function(s){return f(s,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},we={class:""},ke={class:"-mb-0.5 flex justify-center gap-x-2","aria-label":"Tabs",role:"tablist","aria-orientation":"horizontal"},ye=["onClick","id","data-hs-tab","aria-controls"],$e={class:"mt-3"},Be=["id","aria-labelledby"];function Pe(s,t,l,u,o,i){const c=x("PageTabBuilder");return n(),r(p,null,[e("div",we,[e("nav",ke,[(n(!0),r(p,null,m(l.block.data.tab,(a,b)=>(n(),r("button",{type:"button",class:$(["hs-tab-active:bg-gray-100 rounded-md hs-tab-active:text-gray-700 py-1.5 px-3 inline-flex items-center gap-x-2 border-b-2 border-transparent text-sm whitespace-nowrap text-gray-500 focus:outline-none disabled:opacity-50 disabled:pointer-events-none",o.activeTab===b?"active":""]),onClick:xt=>o.activeTab=b,id:i.generateSlug(a.title)+"-item","data-hs-tab":"#"+i.generateSlug(a.title),"aria-selected":"false","aria-controls":i.generateSlug(a.title),role:"tab"},d(a.title),11,ye))),256))])]),e("div",$e,[(n(!0),r(p,null,m(l.block.data.tab,(a,b)=>(n(),r("div",{id:i.generateSlug(a.title),class:$(o.activeTab===b?"":"hidden"),role:"tabpanel","aria-labelledby":i.generateSlug(a.title)+"-item"},[v(c,{blocks:a.content},null,8,["blocks"])],10,Be))),256))])],64)}const Ce=g(ve,[["render",Pe]]),je={name:"PostListBlock",components:{axios:h,Link:k},data(){return{posts:null,loading:!0}},methods:{getPosts(){h.get(route("client.widget.post.index"),{params:{count:this.block.data.count,category:this.block.data.category}}).then(s=>{this.posts=s.data,this.loading=!1}).catch(s=>{console.error("Ошибка:",s),this.loading=!1})}},mounted(){this.getPosts()},props:{block:{type:Object}}},He={class:"w-full px-4 py-5 sm:px-6 lg:px-8 lg:py-7 mx-auto"},Le={key:0,class:"flex flex-col space-y-4"},Se={key:1,class:"grid lg:grid-cols-1 lg:gap-y-16 gap-10"},Ve={class:"flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-5"},ze={class:"shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"},Fe=["src"],Te={class:"grow"},Ie={class:"text-xl font-semibold text-gray-800 group-hover:text-gray-600"},Me={class:"flex justify-center"},Oe=["href"];function Ze(s,t,l,u,o,i){const c=x("Link");return n(),r("div",He,[o.loading?(n(),r("div",Le,t[0]||(t[0]=[y('

',3)]))):(n(),r("div",Se,[(n(!0),r(p,null,m(o.posts.data,a=>(n(),B(c,{key:a.id,class:"group block rounded-xl overflow-hidden focus:outline-none",href:s.route("client.post.show",a.slug)},{default:P(()=>[e("div",Ve,[e("div",ze,[e("img",{class:"group-hover:scale-105 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl",src:a.preview?"storage/images/"+a.preview:"/img/thumbnail-1.png"},null,8,Fe)]),e("div",Te,[e("h3",Ie,d(a.title),1),t[1]||(t[1]=e("p",{class:"mt-3 text-gray-600"}," Produce professional, reliable streams easily leveraging Preline's innovative broadcast studio ",-1)),t[2]||(t[2]=e("p",{class:"mt-4 inline-flex items-center gap-x-1 text-sm text-primaryBlue decoration-2 group-hover:underline group-focus:underline font-medium"},[_(" Читать далее "),e("svg",{class:"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:"m9 18 6-6-6-6"})])],-1))])])]),_:2},1032,["href"]))),128)),e("div",Me,[e("a",{href:s.route("client.post.index",{category:l.block.data.category}),class:"group inline-flex items-center gap-x-1 text-sm font-semibold text-[#1A5AAF]"},t[3]||(t[3]=[_(" Все новости "),e("svg",{class:"flex-shrink-0 size-4 transition ease-in-out group-hover:translate-x-1",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:"m9 18 6-6-6-6"})],-1)]),8,Oe)])]))])}const Ne=g(je,[["render",Ze]]),Ae={name:"PageItemBlock",components:{axios:h,Link:k},data(){return{page:null,breadcrumbs:null,loading:!0}},methods:{getPage(s){h.get(route("client.widget.page.single",s)).then(t=>{this.page=t.data.data.page,this.breadcrumbs=t.data.data.breadcrumbs,this.loading=!1}).catch(t=>{console.error("Ошибка:",t),this.loading=!1})}},mounted(){this.getPage(this.block.data.page)},props:{block:{type:Object}}},De={key:0,class:"flex flex-col space-y-4"},Ee={key:1,class:"w-full px-2 sm:px-3 lg:px-4mx-auto"},Ye=["href"],qe={class:"p-4 md:p-5"},Ge={class:"flex items-center gap-x-5"},Je={class:"grow"},Ke={key:0,class:"flex items-center whitespace-nowrap"},Qe={class:"inline-flex items-center"},Re={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},Ue={class:"inline-flex items-center"},We={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},Xe={class:"inline-flex items-center"},et={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},tt={class:"mt-1 group-hover:text-blue-600 font-semibold text-gray-700"};function st(s,t,l,u,o,i){return o.loading?(n(),r("div",De,t[0]||(t[0]=[y('

',1)]))):(n(),r("div",Ee,[e("a",{class:"group flex flex-col bg-white border shadow-sm rounded-xl hover:shadow-md focus:outline-none focus:shadow-md transition",href:o.page.is_url?o.page.path:s.route("page.view",o.page.path)+"/"},[e("div",qe,[e("div",Ge,[t[3]||(t[3]=e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"mt-1 shrink-0 size-7 text-gray-600"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})],-1)),e("div",Je,[o.breadcrumbs?(n(),r("ol",Ke,[e("li",Qe,[e("span",Re,d(o.breadcrumbs.mainSection),1),t[1]||(t[1]=e("svg",{class:"shrink-0 mx-2 size-4 text-gray-400",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:"m9 18 6-6-6-6"})],-1))]),e("li",Ue,[e("span",We,d(o.breadcrumbs.mainSection),1),t[2]||(t[2]=e("svg",{class:"shrink-0 mx-2 size-4 text-gray-400",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:"m9 18 6-6-6-6"})],-1))]),e("li",Xe,[e("span",et,d(o.breadcrumbs.page),1)])])):C("",!0),e("h3",tt,d(o.page.title),1)])])])],8,Ye)]))}const ot=g(Ae,[["render",st]]),lt={name:"PostListBlock",components:{axios:h,Link:k},data(){return{post:null,loading:!0}},methods:{getPost(s){h.get(route("client.widget.post.single",s),{params:{count:this.block.data.count,category:this.block.data.category}}).then(t=>{this.post=t.data,this.loading=!1}).catch(t=>{console.error("Ошибка:",t),this.loading=!1})}},mounted(){this.getPost(this.block.data.post)},props:{block:{type:Object}}},nt={class:"w-full px-4 py-5 sm:px-6 lg:px-8 lg:py-7 mx-auto"},rt={key:0,class:"flex flex-col space-y-4"},at={key:1,class:"grid lg:grid-cols-1 lg:gap-y-16 gap-10"},it={class:"flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-5"},ct={class:"shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"},dt=["src"],ut={class:"grow"},gt={class:"text-xl font-semibold text-gray-800 group-hover:text-gray-600"};function pt(s,t,l,u,o,i){const c=x("Link");return n(),r("div",nt,[o.loading?(n(),r("div",rt,t[0]||(t[0]=[y('

',1)]))):(n(),r("div",at,[v(c,{class:"group block rounded-xl overflow-hidden focus:outline-none",href:s.route("client.post.show",o.post.data.slug)},{default:P(()=>[e("div",it,[e("div",ct,[e("img",{class:"group-hover:scale-105 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl",src:o.post.data.preview?"storage/images/"+o.post.data.preview:"/img/thumbnail-1.png"},null,8,dt)]),e("div",ut,[e("h3",gt,d(o.post.data.title),1),t[1]||(t[1]=e("p",{class:"mt-3 text-gray-600"}," Produce professional, reliable streams easily leveraging Preline's innovative broadcast studio ",-1)),t[2]||(t[2]=e("p",{class:"mt-4 inline-flex items-center gap-x-1 text-sm text-primaryBlue decoration-2 group-hover:underline group-focus:underline font-medium"},[_(" Читать далее "),e("svg",{class:"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:"m9 18 6-6-6-6"})])],-1))])])]),_:1},8,["href"])]))])}const mt=g(lt,[["render",pt]]),ht={name:"FacultyBuilder",components:{FileBlock:Q,ImageBlock:D,ClientImageSlider:H,ParagraphBlock:O,HeadingBlock:F,PersonBlock:le,StepperBlock:pe,VideoBlock:_e,TabBlock:Ce,PostListBlock:Ne,PageItemBlock:ot,PostItemBlock:mt},methods:{getComponent(s){return{heading:"HeadingBlock",paragraph:"ParagraphBlock",images:"ClientImageSlider",image:"ImageBlock",files:"FileBlock",person:"PersonBlock",stepper:"StepperBlock",video:"VideoBlock",tabs:"TabBlock",postsList:"PostListBlock",postItem:"PostItemBlock",pageItem:"PageItemBlock"}[s]||null}},props:{blocks:{type:Object}}};function ft(s,t,l,u,o,i){return n(!0),r(p,null,m(l.blocks,(c,a)=>(n(),B(j(i.getComponent(c.type)),{key:a,block:c},null,8,["block"]))),128)}const $t=g(ht,[["render",ft]]);export{$t as F}; diff --git a/public/build/assets/FileBlock-BU1S9yFx.js b/public/build/assets/FileBlock-BU1S9yFx.js deleted file mode 100644 index 8d355fc..0000000 --- a/public/build/assets/FileBlock-BU1S9yFx.js +++ /dev/null @@ -1 +0,0 @@ -import{B as d,s as m}from"./SearchModal-YI3bdWA9.js";import{F as u}from"./v3-B5UP5GZw.js";import{_ as p}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as _,o as r,c as a,d as f,b as t,a as h,t as i,F as g}from"./app-lT3z3TR3.js";const x={name:"FileBlock",components:{BaseIcon:d,FsLightbox:u},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(e){return m(e,{lower:!0,strict:!0,locale:"ru"})},textLimit(e,n){if(e.length>n){let s;return s=e.substring(0,n),s+"..."}return e}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},b={class:"mb-4"},y=["href"],B={class:"flex border rounded-lg px-4 py-2 items-center justify-between duration-300 hover:bg-gray-100"},w={class:"flex items-center justify-between"},k={class:"min-w-[30px] min-h-[30px] bg-[#303030] flex justify-center items-center rounded-md mr-2"},v={class:"text-sm text-gray-400"};function F(e,n,s,L,j,c){const l=_("BaseIcon");return r(!0),a(g,null,f(s.block.data.file,o=>(r(),a("div",b,[t("a",{class:"",href:"/storage/"+o.path,download:"",type:"button"},[t("div",B,[t("div",w,[t("div",k,[h(l,{name:o.expansion,class:"w-5 h-5 flex-shrink-0"},null,8,["name"])]),t("div",null,i(c.textLimit(o.title,70)),1)]),t("span",v,i(o.size),1)])],8,y)]))),256)}const V=p(x,[["render",F]]);export{V as default}; diff --git a/public/build/assets/FileBlock-nf933WYq.js b/public/build/assets/FileBlock-nf933WYq.js deleted file mode 100644 index 1a3c7f2..0000000 --- a/public/build/assets/FileBlock-nf933WYq.js +++ /dev/null @@ -1 +0,0 @@ -import{s as i}from"./SearchModal-YI3bdWA9.js";import{F as l}from"./v3-B5UP5GZw.js";import{_ as c}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as r,c as n,d,b as t,t as u,F as m}from"./app-lT3z3TR3.js";const p={name:"FileBlock",components:{FsLightbox:l},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(e){return i(e,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},f={class:""},C=["href"],g={class:"flex border rounded-lg px-4 py-2 items-center justify-between duration-300 hover:bg-gray-100"},h={class:"flex items-center"};function _(e,o,a,V,w,x){return r(!0),n(m,null,d(a.block.data.file,s=>(r(),n("div",f,[t("a",{class:"",href:"/storage/"+s.path,download:"",type:"button"},[t("div",g,[t("div",h,[o[0]||(o[0]=t("div",{class:"w-[30px] h-[30px] bg-black flex justify-center items-center rounded-md mr-2"},[t("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M15.9375 12.2188H12.75C12.4682 12.2188 12.198 12.1068 11.9987 11.9076C11.7994 11.7083 11.6875 11.438 11.6875 11.1562V5.84375C11.6875 5.56196 11.7994 5.29171 11.9987 5.09245C12.198 4.89319 12.4682 4.78125 12.75 4.78125H15.9375V5.84375H12.75V11.1562H15.9375V12.2188ZM9.5625 12.2188H7.4375C7.15571 12.2188 6.88546 12.1068 6.6862 11.9076C6.48694 11.7083 6.375 11.438 6.375 11.1562V5.84375C6.375 5.56196 6.48694 5.29171 6.6862 5.09245C6.88546 4.89319 7.15571 4.78125 7.4375 4.78125H9.5625C9.84429 4.78125 10.1145 4.89319 10.3138 5.09245C10.5131 5.29171 10.625 5.56196 10.625 5.84375V11.1562C10.625 11.438 10.5131 11.7083 10.3138 11.9076C10.1145 12.1068 9.84429 12.2188 9.5625 12.2188ZM7.4375 5.84375V11.1562H9.5625V5.84375H7.4375ZM3.1875 12.2188H1.0625V4.78125H3.1875C3.75087 4.78195 4.29096 5.00606 4.68933 5.40442C5.08769 5.80279 5.3118 6.34288 5.3125 6.90625V10.0938C5.3118 10.6571 5.08769 11.1972 4.68933 11.5956C4.29096 11.9939 3.75087 12.218 3.1875 12.2188ZM2.125 11.1562H3.1875C3.46929 11.1562 3.73954 11.0443 3.9388 10.8451C4.13806 10.6458 4.25 10.3755 4.25 10.0938V6.90625C4.25 6.62446 4.13806 6.35421 3.9388 6.15495C3.73954 5.95569 3.46929 5.84375 3.1875 5.84375H2.125V11.1562Z",fill:"#F8F8F8"})])],-1)),t("div",null,u(s.title),1)])])],8,C)]))),256)}const y=c(p,[["render",_]]);export{y as default}; diff --git a/public/build/assets/FormBlock-C_74keKQ.js b/public/build/assets/FormBlock-C_74keKQ.js deleted file mode 100644 index ecefc73..0000000 --- a/public/build/assets/FormBlock-C_74keKQ.js +++ /dev/null @@ -1 +0,0 @@ -import"./SearchModal-YI3bdWA9.js";import"./v3-B5UP5GZw.js";import{_ as n}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{m as s,i,r as c,o as l,c as m,b as t,a as d}from"./app-lT3z3TR3.js";import{F as p}from"./FormBuilder-C25m8kmA.js";const f={name:"FormBlock",components:{FormBuilder:p,axios:s,Link:i},data(){return{form:null,loading:!0}},methods:{getForm(e){s.get(route("client.widget.form.single",e)).then(o=>{this.form=o.data,this.loading=!1}).catch(o=>{console.error("Ошибка:",o)})}},mounted(){var o;const e=((o=this.block)==null?void 0:o.data.form)||this.formId;this.getForm(e)},props:{block:{type:Object},formId:{type:String,default:null}}},u={key:0,class:"flex flex-col space-y-4"},g={key:1};function _(e,o,h,k,r,x){const a=c("FormBuilder");return r.loading?(l(),m("div",u,o[0]||(o[0]=[t("div",{class:"flex-col animate-pulse mt-10"},[t("div",{class:"w-[25rem] mx-auto h-8 bg-gray-200 rounded-full"}),t("div",{class:"mt-5 mx-auto w-[40rem] h-60 relative z-1000 border rounded-xl sm:mt-10 md:p-10 bg-gray-200"})],-1)]))):(l(),m("div",g,[d(a,{blocks:r.form},null,8,["blocks"])]))}const w=n(f,[["render",_]]);export{w as default}; diff --git a/public/build/assets/FormBuilder-C25m8kmA.js b/public/build/assets/FormBuilder-C25m8kmA.js deleted file mode 100644 index 17be4cd..0000000 --- a/public/build/assets/FormBuilder-C25m8kmA.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/TextBlock-DSTHvbKR.js","assets/app-lT3z3TR3.js","assets/app-CUj9x2C4.css","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/PhoneBlock-DjNxQRuU.js","assets/EmailBlock-MeTQBS96.js","assets/TextAreaBlock-BoifZNOo.js","assets/MultipleChoiceBlock-Czx-63XK.js","assets/SingleChoiceBlock--AwESBu1.js","assets/DateBlock-DoRBIzxC.js","assets/AdditionalEducationalChoiceBlock-Bz5lDp83.js","assets/EducationalChoiceBlock-CJTXyarS.js"])))=>i.map(i=>d[i]); -import{o as n,c as d,b as s,t as m,k as g,f as k,m as w,r as _,F as h,d as y,e as p,g as E,a as b,w as T,l as D,T as S,_ as i}from"./app-lT3z3TR3.js";import"./SearchModal-YI3bdWA9.js";import{_ as u}from"./_plugin-vue_export-helper-DlAUqK2U.js";const N={name:"SubmitBlock",methods:{},props:{block:{type:Object}}},A={class:"mt-6 grid"},C={type:"submit",class:"w-full py-3 px-4 inline-flex justify-center items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 focus:outline-none focus:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none"};function B(e,t,r,a,o,c){return n(),d("div",A,[s("button",C,m(r.block),1)])}const R=u(N,[["render",B]]),V={name:"SuccessNotification",data(){return{}},props:{text:{type:String,default:"Успех!"}}},F={id:"dismiss-alert",class:"fixed bottom-10 left-3 right-3 md:w-[500px] md:left-auto md:right-5 z-10000 hs-removing:translate-x-5 hs-removing:opacity-0 transition duration-300 bg-teal-50 border border-teal-200 text-sm text-teal-800 rounded-lg p-4",role:"alert",tabindex:"-1","aria-labelledby":"hs-dismiss-button-label"},I={class:"flex"},L={class:"ms-2"},P={id:"hs-dismiss-button-label",class:"text-sm font-medium"};function O(e,t,r,a,o,c){return n(),d("div",F,[s("div",I,[t[0]||(t[0]=s("div",{class:"shrink-0"},[s("svg",{class:"shrink-0 size-4 mt-0.5",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"},[s("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z"}),s("path",{d:"m9 12 2 2 4-4"})])],-1)),s("div",L,[s("h3",P,m(r.text),1)]),t[1]||(t[1]=g('
',1))])])}const z=u(V,[["render",O]]),j={name:"FormBuilder",components:{SuccessNotification:z,SubmitBlock:R},data(){return{formData:{},errors:null,success:!1,message:null}},methods:{getComponent(e){return k({text:()=>i(()=>import("./TextBlock-DSTHvbKR.js"),__vite__mapDeps([0,1,2,3])),phone:()=>i(()=>import("./PhoneBlock-DjNxQRuU.js"),__vite__mapDeps([4,3,1,2])),email:()=>i(()=>import("./EmailBlock-MeTQBS96.js"),__vite__mapDeps([5,3,1,2])),textarea:()=>i(()=>import("./TextAreaBlock-BoifZNOo.js"),__vite__mapDeps([6,1,2,3])),multiple_choice:()=>i(()=>import("./MultipleChoiceBlock-Czx-63XK.js"),__vite__mapDeps([7,3,1,2])),single_choice:()=>i(()=>import("./SingleChoiceBlock--AwESBu1.js"),__vite__mapDeps([8,3,1,2])),date:()=>i(()=>import("./DateBlock-DoRBIzxC.js"),__vite__mapDeps([9,3,1,2])),additional_education_choice:()=>i(()=>import("./AdditionalEducationalChoiceBlock-Bz5lDp83.js"),__vite__mapDeps([10,1,2,3])),educational_program_choice:()=>i(()=>import("./EducationalChoiceBlock-CJTXyarS.js"),__vite__mapDeps([11,1,2,3]))}[e]||null)},submitForm(e){e.preventDefault(),this.formData=this.getFormData(e.target.elements),this.sendDataToServer()},getFormData(e){const t={};for(let r=0;r',1)),s("div",U,[t[1]||(t[1]=s("h3",{id:"hs-bordered-success-style-label",class:"text-gray-800 font-semibold dark:text-white"}," Успешно отправлено! ",-1)),s("p",X,m(o.message),1)])])])):(n(),d("div",W,[s("div",q,[s("div",G,[s("h2",H,m(r.blocks.data.title),1)]),s("div",J,[s("form",{onSubmit:t[0]||(t[0]=(...l)=>c.submitForm&&c.submitForm(...l))},[(n(!0),d(h,null,y(r.blocks.data.columns,(l,v)=>(n(),p(E(c.getComponent(l.type)),{key:v,block:l,error:o.errors&&o.errors[l.data.name_field]?o.errors[l.data.name_field]:null},null,8,["block","error"]))),128)),b(x,{block:r.blocks.data.button},null,8,["block"])],32)])])])),b(S,{name:"fade"},{default:T(()=>[o.success?(n(),p(f,{key:0,text:o.message},null,8,["text"])):D("",!0)]),_:1})],64)}const ee=u(j,[["render",K],["__scopeId","data-v-a4691de4"]]);export{ee as F}; diff --git a/public/build/assets/HeadingBlock-DZAeIVzd.js b/public/build/assets/HeadingBlock-DZAeIVzd.js deleted file mode 100644 index 53bcc7f..0000000 --- a/public/build/assets/HeadingBlock-DZAeIVzd.js +++ /dev/null @@ -1 +0,0 @@ -import{s as a}from"./SearchModal-YI3bdWA9.js";import{_ as c}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as n,c as r,b as s,t as l}from"./app-lT3z3TR3.js";const i={name:"HeadingBlock",methods:{generateSlug:function(t){return a(t,{lower:!0,strict:!0,locale:"ru"})}},props:{block:{type:Object}}},d=["id"];function u(t,f,e,_,m,o){return n(),r("div",null,[s("h2",{id:o.generateSlug(e.block.data.content),class:"font-bold text-xl"},l(e.block.data.content),9,d)])}const b=c(i,[["render",u]]);export{b as default}; diff --git a/public/build/assets/HeadingBlock-DbGhNdUV.js b/public/build/assets/HeadingBlock-DbGhNdUV.js deleted file mode 100644 index df7496e..0000000 --- a/public/build/assets/HeadingBlock-DbGhNdUV.js +++ /dev/null @@ -1 +0,0 @@ -import{s as o}from"./SearchModal-YI3bdWA9.js";import{_ as r}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as a,c,b as n,t as s}from"./app-lT3z3TR3.js";const l={name:"HeadingBlock",methods:{generateSlug:function(t){return o(t,{lower:!0,strict:!0,locale:"ru"})}},props:{block:{type:Object}}},i={class:"md:font-bold md:text-xl text-lg font-medium text-gray-800"};function d(t,m,e,u,f,p){return a(),c("div",null,[n("h2",i,s(e.block.data.content),1)])}const k=r(l,[["render",d]]);export{k as default}; diff --git a/public/build/assets/ImageBlock-BGzd5IG-.js b/public/build/assets/ImageBlock-BGzd5IG-.js deleted file mode 100644 index 40eef44..0000000 --- a/public/build/assets/ImageBlock-BGzd5IG-.js +++ /dev/null @@ -1 +0,0 @@ -import{s as a}from"./SearchModal-YI3bdWA9.js";import{F as l}from"./v3-B5UP5GZw.js";import{_ as c}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as i,o as g,c as m,b as n,a as u,F as d}from"./app-lT3z3TR3.js";const p={name:"ImageBlock",components:{FsLightbox:l},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(e){return a(e,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},f=["src"];function _(e,t,r,h,o,b){const s=i("FsLightbox");return g(),m(d,null,[n("div",null,[n("img",{onClick:t[0]||(t[0]=k=>o.toggler=!o.toggler),loading:"lazy",class:"mx-auto object-cover rounded-md hover:opacity-95 hover:duration-200 transition",src:"/storage/"+r.block.data.url,alt:""},null,8,f)]),u(s,{class:"",toggler:o.toggler,sources:[o.domainPath+"/storage/"+r.block.data.url]},null,8,["toggler","sources"])],64)}const y=c(p,[["render",_]]);export{y as default}; diff --git a/public/build/assets/ImageBlock-cPU_Sbw4.js b/public/build/assets/ImageBlock-cPU_Sbw4.js deleted file mode 100644 index 40eef44..0000000 --- a/public/build/assets/ImageBlock-cPU_Sbw4.js +++ /dev/null @@ -1 +0,0 @@ -import{s as a}from"./SearchModal-YI3bdWA9.js";import{F as l}from"./v3-B5UP5GZw.js";import{_ as c}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as i,o as g,c as m,b as n,a as u,F as d}from"./app-lT3z3TR3.js";const p={name:"ImageBlock",components:{FsLightbox:l},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(e){return a(e,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},f=["src"];function _(e,t,r,h,o,b){const s=i("FsLightbox");return g(),m(d,null,[n("div",null,[n("img",{onClick:t[0]||(t[0]=k=>o.toggler=!o.toggler),loading:"lazy",class:"mx-auto object-cover rounded-md hover:opacity-95 hover:duration-200 transition",src:"/storage/"+r.block.data.url,alt:""},null,8,f)]),u(s,{class:"",toggler:o.toggler,sources:[o.domainPath+"/storage/"+r.block.data.url]},null,8,["toggler","sources"])],64)}const y=c(p,[["render",_]]);export{y as default}; diff --git a/public/build/assets/Index-BjZ2kL_c.js b/public/build/assets/Index-BjZ2kL_c.js deleted file mode 100644 index ecd6573..0000000 --- a/public/build/assets/Index-BjZ2kL_c.js +++ /dev/null @@ -1 +0,0 @@ -import{M as N}from"./MainNavbar-5-nqk6c_.js";import{i as k,r,o as a,c,b as e,a as i,w as u,p as b,j as v,t as h,l as p,Z as S,F as w,d as L,e as C}from"./app-lT3z3TR3.js";import{F as M}from"./v3-B5UP5GZw.js";import{C as I}from"./ClientScrollTimeline-BxA_EWwM.js";import{B as $,C as F}from"./SearchModal-YI3bdWA9.js";import{A as D,a as q,b as E}from"./AdminIndexHeaderTitle-DyC17FG6.js";import{A as T}from"./AdminIndexHeader-Ci_3kRvq.js";import{C as A,a as j}from"./ClientPostSearch-85XLLeIC.js";import{C as P}from"./ClientPost-KvELvIac.js";import{M as H}from"./MainPageNavbar-BfM50q-7.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */import"./SortingByFilter-CjZ8gKSr.js";const V={name:"FacultyListBreadcrumbs",components:{BaseIcon:$,Link:k},data(){return{}},methods:{textLimit(s,t){if(s.length>t){let o;return o=s.substring(0,t),o+"..."}return s},isMobileDevice(){return window.innerWidth<1024},handleSectionClick(s){this.isMobileDevice()?this.toggleMobileNavSection(s):this.toggleDesktopNavSection(s)},handleSubSectionClick(s,t){this.isMobileDevice()?this.toggleMobileNavSubSection(s,t):this.toggleDesktopNavSubSection(s,t)},highlightNavItem(s){s.classList.add("animate-pulse"),setTimeout(()=>{s.classList.remove("animate-pulse")},4e3)},openMobileNavMenu(){document.getElementById("open-mobile-btn").click()},toggleMobileNavSubSection(s,t){this.openMobileNavMenu();const o=document.getElementById("open-mobile-nav"),l=o.querySelector("#nav-section-accordion-"+s.data.slug),g=o.querySelector("#nav-section-accordion-btn-"+s.data.slug);l.classList.contains("active")||g.click();const n=o.querySelector("#nav-sub-section-accordion-"+t.data.slug),d=o.querySelector("#nav-sub-section-accordion-btn-"+t.data.slug);n.classList.contains("active")&&d.click(),this.highlightNavItem(n)},toggleMobileNavSection(s){const t=document.getElementById("open-mobile-nav"),o=t.querySelector("#nav-section-accordion-"+s.data.slug),l=t.querySelector("#nav-section-accordion-btn-"+s.data.slug);o.classList.contains("active")&&l.click(),this.openMobileNavMenu(),this.highlightNavItem(o)},toggleDesktopNavSubSection(s,t){const o=document.getElementById("desktop-nav"),l=o.querySelector("#nav-sub-section-title-"+t.data.slug);o.querySelector("#nav-section-btn-"+s.data.slug).click(),this.highlightNavItem(l)},toggleDesktopNavSection(s){const t=document.getElementById("desktop-nav");t.querySelector("#nav-section-menu-"+s.data.slug),t.querySelector("#nav-section-btn-"+s.data.slug).click()}},props:{breadcrumbs:{type:Object},eventTitle:{type:String}}},z={class:"flex justify-between pb-4 items-center"},W={class:"flex w-full sm:items-center gap-x-5 sm:gap-x-3"},O={class:"grow"},Y={class:"grid sm:flex sm:justify-between sm:items-center gap-2"},Z={key:0,class:"flex items-center whitespace-normal min-w-0 flex-wrap gap-y-2","aria-label":"Breadcrumb"},G={class:"text-sm"},J={key:0,class:"text-sm"},K={key:1,class:"text-sm"},Q={class:"text-sm"},R={key:1,class:"flex items-center whitespace-nowrap min-w-0 flex-wrap","aria-label":"Breadcrumb"},U={class:"text-sm"},X={class:"text-sm"};function ee(s,t,o,l,g,n){const d=r("BaseIcon"),m=r("Link");return a(),c("div",z,[e("div",W,[e("div",O,[e("div",Y,[o.breadcrumbs?(a(),c("ol",Z,[e("li",G,[i(m,{href:s.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[i(d,{class:"size-5",name:"home"})]),_:1},8,["href"])]),o.breadcrumbs.mainSection?(a(),c("li",J,[e("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:t[0]||(t[0]=b(x=>n.handleSectionClick(this.breadcrumbs.mainSection),["prevent"]))},[t[2]||(t[2]=e("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),v(" "+h(n.textLimit(this.breadcrumbs.mainSection.data.title,25)),1)])])):p("",!0),o.breadcrumbs.subSection?(a(),c("li",K,[e("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:t[1]||(t[1]=b(x=>n.handleSubSectionClick(this.breadcrumbs.mainSection,this.breadcrumbs.subSection),["prevent"]))},[t[3]||(t[3]=e("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),v(" "+h(n.textLimit(this.breadcrumbs.subSection.data.title,25)),1)])])):p("",!0),e("li",Q,[i(m,{href:s.route("client.faculty.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[t[4]||(t[4]=e("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),v(" "+h(n.textLimit("Факультеты",30)),1)]),_:1},8,["href"])])])):p("",!0),o.breadcrumbs?p("",!0):(a(),c("ol",R,[e("li",U,[i(m,{href:s.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[i(d,{class:"size-5",name:"home"})]),_:1},8,["href"])]),e("li",X,[i(m,{href:s.route("client.faculty.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[t[5]||(t[5]=e("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),v(" "+h(n.textLimit("Факультеты",30)),1)]),_:1},8,["href"])])]))])])])])}const te=_(V,[["render",ee]]),se={name:"Index",components:{FacultyListBreadcrumbs:te,MainPageNavBar:H,AdminIndexHeaderTitle:D,AdminIndexHeader:T,AdminIndexFilter:q,AdminIndexSearch:E,ClientFooterDown:F,ClientScrollTimeline:I,ClientPostFilter:A,Link:k,MainNavbar:N,FsLightbox:M,Head:S,ClientPost:P,ClientPostSearch:j},data(){return{}},props:{faculties:{type:Array}},methods:{},mounted(){}},oe={class:"flex flex-col h-screen"},ne={class:"flex-grow"},ie={class:"relative mx-auto mt-[67px] max-w-screen-xl py-10 md:flex md:flex-row md:py-10"},ae={class:"px-4 pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},le={class:"space-y-5 md:space-y-4"},re={class:"space-y-5 md:space-y-4"},ce={class:"max-w-[85rem] px-0 py-10 sm:px-6 lg:px-8 lg:py-14 mx-auto"},de={class:"grid sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-3 gap-3 sm:gap-6"},me={class:"p-4 md:p-5"},ue={class:"flex justify-between items-center gap-x-3"},he={class:"grow"},ge={class:"group-hover:text-blue-600 font-semibold text-gray-800"},ve={class:"text-sm text-gray-500"};function pe(s,t,o,l,g,n){const d=r("Head"),m=r("MainPageNavBar"),x=r("FacultyListBreadcrumbs"),y=r("Link"),B=r("ClientFooterDown");return a(),c(w,null,[i(d,null,{default:u(()=>t[0]||(t[0]=[e("title",null,"Факультеты",-1),e("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),i(m,{class:"border-b",sections:s.$page.props.navigation},null,8,["sections"]),e("div",oe,[e("main",ne,[e("div",ie,[e("div",ae,[e("div",null,[e("div",le,[e("div",re,[e("div",ce,[t[2]||(t[2]=e("div",{class:"max-w-2xl text-center mx-auto mb-10 lg:mb-14"},[e("h2",{class:"text-2xl font-bold md:text-4xl md:leading-tight dark:text-white"},"Факультеты и кафедры"),e("p",{class:"mt-1 text-gray-600 dark:text-neutral-400"},"We've helped some great companies brand, design and get to market.")],-1)),i(x),e("div",de,[(a(!0),c(w,null,L(o.faculties.data,f=>(a(),C(y,{href:s.route("client.faculty.show",f.slug),class:"group flex flex-col bg-white border shadow-sm rounded-xl hover:shadow-md focus:outline-none focus:shadow-md transition"},{default:u(()=>[e("div",me,[e("div",ue,[e("div",he,[e("h3",ge,h(f.shortTitle),1),e("p",ve,h(f.title),1)]),t[1]||(t[1]=e("div",null,[e("svg",{class:"shrink-0 size-5 text-gray-800",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:"m9 18 6-6-6-6"})])],-1))])])]),_:2},1032,["href"]))),256))])])])])])])])]),i(B)])],64)}const Ie=_(se,[["render",pe]]);export{Ie as default}; diff --git a/public/build/assets/Index-CAv7W7Ig.js b/public/build/assets/Index-CAv7W7Ig.js deleted file mode 100644 index ba00197..0000000 --- a/public/build/assets/Index-CAv7W7Ig.js +++ /dev/null @@ -1 +0,0 @@ -import{M as f}from"./MainNavbar-5-nqk6c_.js";import{B as y,C as w,_ as k}from"./SearchModal-YI3bdWA9.js";import{i as _,r as i,c as o,a as n,b as e,h as B,q as M,y as I,p as C,k as N,w as j,z as F,F as r,o as a,d,j as D,t as g}from"./app-lT3z3TR3.js";import{M as V}from"./MainPageNavbar-BfM50q-7.js";import{_ as z}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */const S={name:"Index",data(){return{searchInput:this.searchRequest}},components:{BaseIcon:y,MainPageNavBar:V,ClientFooterDown:w,MainNavbar:f,Link:_},props:["educationalGroups","mainSections","searchRequest","navigation"],methods:{search:k.debounce(function(){this.$inertia.reload({method:"get",data:{search:this.searchInput},preserveState:!0,replace:!0})},300)}},q={class:"flex flex-col h-screen"},P={class:"flex-grow"},T={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},K={class:"w-full min-w-0 mt-4 px-1 md:px-6"},L={class:"relative overflow-hidden"},R={class:"max-w-[85rem] mx-auto px-4 sm:px-6 lg:px-8 py-10 sm:pb-12 sm:py-5"},E={class:"text-center"},G={class:"mt-7 sm:mt-12 mx-auto max-w-xl relative space-y-4"},H={class:"relative z-10 space-x-3 p-3 bg-white border rounded-lg shadow-lg shadow-gray-100"},U={class:"flex justify-between"},$={class:"flex w-full"},A={class:""},J={class:"grid grid-cols-2 gap-3"},O={type:"button",class:"flex w-full py-2 px-4 items-center gap-x-2 text-xs font-medium rounded-lg border border-gray-200 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none"},Q={class:"mx-auto max-w-2xl hs-accordion-group grid grid-cols-1 lg:grid-cols-2 gap-3"},W={class:"hs-accordion-toggle hs-accordion-active:text-blue-600 inline-flex justify-between items-center gap-x-3 w-full font-semibold text-start text-gray-800 py-4 px-5 hover:text-gray-500 disabled:opacity-50 disabled:pointer-events-none dark:hs-accordion-active:text-blue-500 dark:text-gray-200 dark:hover:text-gray-400 dark:focus:outline-none dark:focus:text-gray-400","aria-controls":"hs-basic-active-bordered-collapse-one"},X={id:"hs-basic-active-bordered-collapse-one",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300","aria-labelledby":"hs-active-bordered-heading-one"},Y={class:"pb-4 px-5 grid gap-3 grid-cols-1"},Z=["href"];function ee(u,t,x,te,l,c){const b=i("MainPageNavBar"),v=i("BaseIcon"),m=i("ClientFooterDown");return a(),o(r,null,[n(b,{class:"border-b",sections:u.$page.props.navigation},null,8,["sections"]),e("div",q,[e("main",P,[e("div",T,[e("article",K,[e("div",L,[e("div",R,[e("div",E,[t[6]||(t[6]=e("h1",{class:"text-2xl sm:text-4xl font-bold text-gray-800 dark:text-gray-200"}," Расписание занятий ",-1)),t[7]||(t[7]=e("div",{class:"text-center"},[e("p",{class:"mt-3 text-gray-600 dark:text-gray-400"}," Просто введите название группы ")],-1)),e("div",G,[e("form",null,[e("div",H,[e("div",U,[e("div",$,[t[3]||(t[3]=e("label",{for:"hs-search-article-1",class:"block text-sm text-gray-700 font-medium dark:text-white"},[e("span",{class:"sr-only"},"Поиск")],-1)),B(e("input",{onKeydown:t[0]||(t[0]=I(C(()=>{},["prevent"]),["enter"])),autocomplete:"off","onUpdate:modelValue":t[1]||(t[1]=s=>l.searchInput=s),onInput:t[2]||(t[2]=(...s)=>c.search&&c.search(...s)),type:"search",id:"hs-search-article-1",class:"py-2.5 px-4 block w-full border-transparent rounded-lg",placeholder:"Поиск"},null,544),[[M,l.searchInput]])])])])]),e("div",A,[e("div",J,[e("button",O,[n(v,{name:"heart",class:"shrink-0 size-4"}),t[4]||(t[4]=e("span",null,"Избранные расписания",-1))]),t[5]||(t[5]=N('',1))])])])])])]),e("div",Q,[n(F,{name:"fade"},{default:j(()=>[(a(!0),o(r,null,d(x.educationalGroups.data,s=>(a(),o("div",{key:s.id,class:"hs-accordion hs-accordion-active:border-gray-200 bg-white border-b dark:hs-accordion-active:border-gray-700 dark:bg-gray-800 dark:border-transparent",id:"hs-active-bordered-heading-one"},[e("button",W,[D(g(s.title)+" ",1),t[8]||(t[8]=e("svg",{class:"hs-accordion-active:hidden block w-3.5 h-3.5",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:"M5 12h14"}),e("path",{d:"M12 5v14"})],-1)),t[9]||(t[9]=e("svg",{class:"hs-accordion-active:block hidden w-3.5 h-3.5",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:"M5 12h14"})],-1))]),e("div",X,[e("div",Y,[(a(!0),o(r,null,d(s.schedules,p=>(a(),o(r,{key:p.id},[(a(!0),o(r,null,d(p.file,h=>(a(),o("a",{href:"storage/"+h.path,target:"_blank",class:"py-3 px-4 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-gray-200 bg-white text-gray-500 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-slate-900 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-800 dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600"},g(h.title),9,Z))),256))],64))),128))])])]))),128))]),_:1})])])])]),n(m)])],64)}const de=z(S,[["render",ee],["__scopeId","data-v-a071b57e"]]);export{de as default}; diff --git a/public/build/assets/Index-CUWTAH1U.js b/public/build/assets/Index-CUWTAH1U.js deleted file mode 100644 index 0373ff1..0000000 --- a/public/build/assets/Index-CUWTAH1U.js +++ /dev/null @@ -1 +0,0 @@ -import{M as y}from"./MainNavbar-5-nqk6c_.js";import{i as h,Z as b,r as t,c as p,a as o,w as r,b as e,F as m,d as k,o as a,e as w}from"./app-lT3z3TR3.js";import{F as C}from"./v3-B5UP5GZw.js";import{C as P}from"./ClientScrollTimeline-BxA_EWwM.js";import{C as A}from"./SearchModal-YI3bdWA9.js";import{A as B,a as F,b as I}from"./AdminIndexHeaderTitle-DyC17FG6.js";import{A as H}from"./AdminIndexHeader-Ci_3kRvq.js";import{C as M,a as $}from"./ClientPostSearch-85XLLeIC.js";import{C as N}from"./ClientPost-KvELvIac.js";import{E,a as L,T as S}from"./EventBuilder-Cx5Dh3-L.js";import{M as T}from"./MainPageNavbar-BfM50q-7.js";import{_ as j}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */import"./SortingByFilter-CjZ8gKSr.js";import"./ClientImageSlider-CGZZYYI8.js";import"./PageTabBuilder-CXLfoCo_.js";import"./HeadingBlock-DZAeIVzd.js";import"./ParagraphBlock-_EhfXk9v.js";import"./ImageBlock-cPU_Sbw4.js";import"./FileBlock-BU1S9yFx.js";import"./PersonBlock-MXpsfzV_.js";import"./StepperBlock-DhPHG4yx.js";import"./VideoBlock-BcEyk91j.js";import"./PostListBlock-Vo9iG3Sb.js";const D={name:"Index",components:{MainPageNavBar:T,EventBuilder:E,EventBackButton:L,TitleEvent:S,AdminIndexHeaderTitle:B,AdminIndexHeader:H,AdminIndexFilter:F,AdminIndexSearch:I,ClientFooterDown:A,ClientScrollTimeline:P,ClientPostFilter:M,Link:h,MainNavbar:y,FsLightbox:C,Head:b,ClientPost:N,ClientPostSearch:$},data(){return{}},props:{posts:{type:Array},filters:{type:Array},categories:{type:Array},navigation:{type:Array}},methods:{},mounted(){}},z={class:"flex flex-col h-screen"},V={class:"flex-grow"},Y={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},Z={class:"px-4 pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},q={class:"space-y-5 md:space-y-4"},G={class:"space-y-5 md:space-y-4"},J={class:"container px-8 mx-auto xl:px-5 max-w-screen-lg py-5 lg:py-8"},K={class:"mt-10 grid gap-10 md:grid-cols-2 lg:gap-10 xl:grid-cols-3"},O={class:"mt-10 flex items-center justify-center"},Q={class:"isolate inline-flex -space-x-px rounded-md shadow-sm","aria-label":"Pagination"};function R(n,s,i,U,W,X){const c=t("Head"),u=t("MainPageNavBar"),g=t("ClientPostSearch"),x=t("ClientPostFilter"),f=t("AdminIndexHeader"),_=t("ClientPost"),l=t("Link"),v=t("ClientFooterDown");return a(),p(m,null,[o(c,null,{default:r(()=>s[0]||(s[0]=[e("title",null,"Новости",-1),e("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),o(u,{class:"border-b",sections:n.$page.props.navigation},null,8,["sections"]),e("div",z,[e("main",V,[e("div",Y,[e("div",Z,[e("div",null,[o(f,null,{default:r(()=>[o(g),o(x,{items:i.categories},null,8,["items"])]),_:1}),e("div",q,[e("div",G,[e("div",null,[e("div",J,[e("div",K,[(a(!0),p(m,null,k(i.posts.data,d=>(a(),w(_,{key:d.id,post:d},null,8,["post"]))),128))]),e("div",O,[e("nav",Q,[o(l,{as:"button",href:n.$props.posts.links.prev,disabled:n.$props.posts.links.prev===null,class:"relative inline-flex items-center gap-1 rounded-l-md border border-gray-300 bg-white px-3 py-2 pr-4 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20 disabled:pointer-events-none disabled:opacity-40 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300"},{default:r(()=>s[1]||(s[1]=[e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon",class:"h-3 w-3"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})],-1),e("span",null,"Предыдущая",-1)])),_:1},8,["href","disabled"]),o(l,{as:"button",href:n.$props.posts.links.next,disabled:n.$props.posts.links.next===null,class:"relative inline-flex items-center gap-1 rounded-r-md border border-gray-300 bg-white px-3 py-2 pl-4 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20 disabled:pointer-events-none disabled:opacity-40 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300"},{default:r(()=>s[2]||(s[2]=[e("span",null,"Следующая",-1),e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon",class:"h-3 w-3"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})],-1)])),_:1},8,["href","disabled"])])])])])])])])])])]),o(v)])],64)}const Ce=j(D,[["render",R]]);export{Ce as default}; diff --git a/public/build/assets/Index-Cqifju9j.js b/public/build/assets/Index-Cqifju9j.js deleted file mode 100644 index 78fc533..0000000 --- a/public/build/assets/Index-Cqifju9j.js +++ /dev/null @@ -1 +0,0 @@ -import{i as k,r,o as a,c,b as t,a as n,w as u,p as b,j as g,t as h,l as p,Z as S,F as w,d as N,e as L}from"./app-lT3z3TR3.js";import{B as C,C as M}from"./SearchModal-YI3bdWA9.js";import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */import{F as I}from"./v3-B5UP5GZw.js";import{C as D}from"./ClientScrollTimeline-BxA_EWwM.js";import{A as $,a as q,b as E}from"./AdminIndexHeaderTitle-DyC17FG6.js";import{A as F}from"./AdminIndexHeader-Ci_3kRvq.js";import{C as A,a as T}from"./ClientPostSearch-85XLLeIC.js";import{C as j}from"./ClientPost-KvELvIac.js";import{M as P}from"./MainPageNavbar-BfM50q-7.js";import"./SortingByFilter-CjZ8gKSr.js";const H={name:"DivisionListBreadcrumbs",components:{BaseIcon:C,Link:k},data(){return{}},methods:{textLimit(s,e){if(s.length>e){let o;return o=s.substring(0,e),o+"..."}return s},isMobileDevice(){return window.innerWidth<1024},handleSectionClick(s){this.isMobileDevice()?this.toggleMobileNavSection(s):this.toggleDesktopNavSection(s)},handleSubSectionClick(s,e){this.isMobileDevice()?this.toggleMobileNavSubSection(s,e):this.toggleDesktopNavSubSection(s,e)},highlightNavItem(s){s.classList.add("animate-pulse"),setTimeout(()=>{s.classList.remove("animate-pulse")},4e3)},openMobileNavMenu(){document.getElementById("open-mobile-btn").click()},toggleMobileNavSubSection(s,e){this.openMobileNavMenu();const o=document.getElementById("open-mobile-nav"),l=o.querySelector("#nav-section-accordion-"+s.data.slug),v=o.querySelector("#nav-section-accordion-btn-"+s.data.slug);l.classList.contains("active")||v.click();const i=o.querySelector("#nav-sub-section-accordion-"+e.data.slug),d=o.querySelector("#nav-sub-section-accordion-btn-"+e.data.slug);i.classList.contains("active")&&d.click(),this.highlightNavItem(i)},toggleMobileNavSection(s){const e=document.getElementById("open-mobile-nav"),o=e.querySelector("#nav-section-accordion-"+s.data.slug),l=e.querySelector("#nav-section-accordion-btn-"+s.data.slug);o.classList.contains("active")&&l.click(),this.openMobileNavMenu(),this.highlightNavItem(o)},toggleDesktopNavSubSection(s,e){const o=document.getElementById("desktop-nav"),l=o.querySelector("#nav-sub-section-title-"+e.data.slug);o.querySelector("#nav-section-btn-"+s.data.slug).click(),this.highlightNavItem(l)},toggleDesktopNavSection(s){const e=document.getElementById("desktop-nav");e.querySelector("#nav-section-menu-"+s.data.slug),e.querySelector("#nav-section-btn-"+s.data.slug).click()}},props:{breadcrumbs:{type:Object},eventTitle:{type:String}}},V={class:"flex justify-between pb-4 items-center"},z={class:"flex w-full sm:items-center gap-x-5 sm:gap-x-3"},W={class:"grow"},O={class:"grid sm:flex sm:justify-between sm:items-center gap-2"},Y={key:0,class:"flex items-center whitespace-normal min-w-0 flex-wrap gap-y-2","aria-label":"Breadcrumb"},Z={class:"text-sm"},G={key:0,class:"text-sm"},J={key:1,class:"text-sm"},K={class:"text-sm"},Q={key:1,class:"flex items-center whitespace-nowrap min-w-0 flex-wrap","aria-label":"Breadcrumb"},R={class:"text-sm"},U={class:"text-sm"};function X(s,e,o,l,v,i){const d=r("BaseIcon"),m=r("Link");return a(),c("div",V,[t("div",z,[t("div",W,[t("div",O,[o.breadcrumbs?(a(),c("ol",Y,[t("li",Z,[n(m,{href:s.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[n(d,{class:"size-5",name:"home"})]),_:1},8,["href"])]),o.breadcrumbs.mainSection?(a(),c("li",G,[t("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:e[0]||(e[0]=b(x=>i.handleSectionClick(this.breadcrumbs.mainSection),["prevent"]))},[e[2]||(e[2]=t("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),g(" "+h(i.textLimit(this.breadcrumbs.mainSection.data.title,25)),1)])])):p("",!0),o.breadcrumbs.subSection?(a(),c("li",J,[t("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:e[1]||(e[1]=b(x=>i.handleSubSectionClick(this.breadcrumbs.mainSection,this.breadcrumbs.subSection),["prevent"]))},[e[3]||(e[3]=t("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),g(" "+h(i.textLimit(this.breadcrumbs.subSection.data.title,25)),1)])])):p("",!0),t("li",K,[n(m,{href:s.route("client.program.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[e[4]||(e[4]=t("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),g(" "+h(i.textLimit("Образовательные программы",30)),1)]),_:1},8,["href"])])])):p("",!0),o.breadcrumbs?p("",!0):(a(),c("ol",Q,[t("li",R,[n(m,{href:s.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[n(d,{class:"size-5",name:"home"})]),_:1},8,["href"])]),t("li",U,[n(m,{href:s.route("client.division.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:u(()=>[e[5]||(e[5]=t("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),g(" "+h(i.textLimit("Подразделения института",30)),1)]),_:1},8,["href"])])]))])])])])}const ee=_(H,[["render",X]]),te={name:"Index",components:{DivisionListBreadcrumbs:ee,MainPageNavBar:P,AdminIndexHeaderTitle:$,AdminIndexHeader:F,AdminIndexFilter:q,AdminIndexSearch:E,ClientFooterDown:M,ClientScrollTimeline:D,ClientPostFilter:A,Link:k,FsLightbox:I,Head:S,ClientPost:j,ClientPostSearch:T},data(){return{}},props:{divisions:{type:Array}},methods:{},mounted(){}},se={class:"flex flex-col h-screen"},oe={class:"flex-grow"},ie={class:"relative mb-auto mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},ne={class:"px-4 pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},ae={class:"space-y-5 md:space-y-4"},le={class:"space-y-5 md:space-y-4"},re={class:"max-w-[85rem] px-4 py-10 sm:px-6 lg:px-8 lg:py-14 mx-auto"},ce={class:"max-w-2xl text-center mx-auto mb-10 lg:mb-14"},de={class:"grid sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-3 gap-3 sm:gap-6"},me={class:"p-4 md:p-5 w-full"},ue={class:"flex justify-between items-center gap-x-3"},he={class:"grow"},ve={class:"group-hover:text-blue-600 font-semibold text-gray-800"};function ge(s,e,o,l,v,i){const d=r("Head"),m=r("MainPageNavBar"),x=r("DivisionListBreadcrumbs"),y=r("Link"),B=r("ClientFooterDown");return a(),c(w,null,[n(d,null,{default:u(()=>e[0]||(e[0]=[t("title",null,"Подразделения института",-1),t("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),n(m,{class:"border-b",sections:s.$page.props.navigation},null,8,["sections"]),t("div",se,[t("main",oe,[t("div",ie,[t("div",ne,[t("div",null,[t("div",ae,[t("div",le,[t("div",re,[t("div",ce,[n(x),e[1]||(e[1]=t("h2",{class:"text-2xl font-bold md:text-4xl md:leading-tight dark:text-white"},"Подразделения института",-1)),e[2]||(e[2]=t("p",{class:"mt-1 text-gray-600 dark:text-neutral-400"},"We've helped some great companies brand, design and get to market.",-1))]),t("div",de,[(a(!0),c(w,null,N(o.divisions.data,f=>(a(),L(y,{href:s.route("client.division.show",f.slug),class:"group flex items-center bg-white border shadow-sm rounded-xl hover:shadow-md focus:outline-none focus:shadow-md transition"},{default:u(()=>[t("div",me,[t("div",ue,[t("div",he,[t("h3",ve,h(f.title),1)]),e[3]||(e[3]=t("div",null,[t("svg",{class:"shrink-0 size-5 text-gray-800",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"},[t("path",{d:"m9 18 6-6-6-6"})])],-1))])])]),_:2},1032,["href"]))),256))])])])])])])])]),n(B)])],64)}const Ce=_(te,[["render",ge]]);export{Ce as default}; diff --git a/public/build/assets/Index-Cr0l_tAk.js b/public/build/assets/Index-Cr0l_tAk.js deleted file mode 100644 index 0b3dd61..0000000 --- a/public/build/assets/Index-Cr0l_tAk.js +++ /dev/null @@ -1 +0,0 @@ -import{M as I}from"./MainNavbar-5-nqk6c_.js";import{i as k,r as n,o as l,c as r,b as e,a as i,w as c,p as _,j as v,t as g,l as p,Z as P,F as w,d as j,e as D}from"./app-lT3z3TR3.js";import{F}from"./v3-B5UP5GZw.js";import{C as q}from"./ClientScrollTimeline-BxA_EWwM.js";import{B as E,C as A}from"./SearchModal-YI3bdWA9.js";import{A as H,a as O,b as T}from"./AdminIndexHeaderTitle-DyC17FG6.js";import{A as $}from"./AdminIndexHeader-Ci_3kRvq.js";import{C as z,a as V}from"./ClientPostSearch-85XLLeIC.js";import{C as W}from"./ClientPost-KvELvIac.js";import{P as Y}from"./EventBadgeBuilder-Bg3wvoOe.js";import{M as Z}from"./MainPageNavbar-BfM50q-7.js";import{_ as y}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */import"./SortingByFilter-CjZ8gKSr.js";const G={name:"NewsBreadcrumbs",components:{BaseIcon:E,Link:k},data(){return{}},methods:{textLimit(s,t){if(s.length>t){let o;return o=s.substring(0,t),o+"..."}return s},isMobileDevice(){return window.innerWidth<1024},handleSectionClick(s){this.isMobileDevice()?this.toggleMobileNavSection(s):this.toggleDesktopNavSection(s)},handleSubSectionClick(s,t){this.isMobileDevice()?this.toggleMobileNavSubSection(s,t):this.toggleDesktopNavSubSection(s,t)},highlightNavItem(s){s.classList.add("animate-pulse"),setTimeout(()=>{s.classList.remove("animate-pulse")},4e3)},openMobileNavMenu(){document.getElementById("open-mobile-btn").click()},toggleMobileNavSubSection(s,t){this.openMobileNavMenu();const o=document.getElementById("open-mobile-nav"),d=o.querySelector("#nav-section-accordion-"+s.data.slug),h=o.querySelector("#nav-section-accordion-btn-"+s.data.slug);d.classList.contains("active")||h.click();const a=o.querySelector("#nav-sub-section-accordion-"+t.data.slug),m=o.querySelector("#nav-sub-section-accordion-btn-"+t.data.slug);a.classList.contains("active")&&m.click(),this.highlightNavItem(a)},toggleMobileNavSection(s){const t=document.getElementById("open-mobile-nav"),o=t.querySelector("#nav-section-accordion-"+s.data.slug),d=t.querySelector("#nav-section-accordion-btn-"+s.data.slug);o.classList.contains("active")&&d.click(),this.openMobileNavMenu(),this.highlightNavItem(o)},toggleDesktopNavSubSection(s,t){const o=document.getElementById("desktop-nav"),d=o.querySelector("#nav-sub-section-title-"+t.data.slug);o.querySelector("#nav-section-btn-"+s.data.slug).click(),this.highlightNavItem(d)},toggleDesktopNavSection(s){const t=document.getElementById("desktop-nav");t.querySelector("#nav-section-menu-"+s.data.slug),t.querySelector("#nav-section-btn-"+s.data.slug).click()}},props:{breadcrumbs:{type:Object},postTitle:{type:String}}},J={class:"flex justify-between pb-4 items-center"},K={class:"flex w-full sm:items-center gap-x-5 sm:gap-x-3"},Q={class:"grow"},R={class:"grid sm:flex sm:justify-between sm:items-center gap-2"},U={key:0,class:"flex items-center whitespace-normal min-w-0 flex-wrap gap-y-2","aria-label":"Breadcrumb"},X={class:"text-sm"},ee={key:0,class:"text-sm"},te={key:1,class:"text-sm"},se={class:"text-sm"},oe={key:1,class:"flex items-center whitespace-nowrap min-w-0 flex-wrap","aria-label":"Breadcrumb"},ie={class:"text-sm"},ne={class:"text-sm"};function ae(s,t,o,d,h,a){const m=n("BaseIcon"),u=n("Link");return l(),r("div",J,[e("div",K,[e("div",Q,[e("div",R,[o.breadcrumbs?(l(),r("ol",U,[e("li",X,[i(u,{href:s.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:c(()=>[i(m,{class:"size-5",name:"home"})]),_:1},8,["href"])]),o.breadcrumbs.mainSection?(l(),r("li",ee,[e("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:t[0]||(t[0]=_(x=>a.handleSectionClick(this.breadcrumbs.mainSection),["prevent"]))},[t[2]||(t[2]=e("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),v(" "+g(a.textLimit(this.breadcrumbs.mainSection.data.title,25)),1)])])):p("",!0),o.breadcrumbs.subSection?(l(),r("li",te,[e("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:t[1]||(t[1]=_(x=>a.handleSubSectionClick(this.breadcrumbs.mainSection,this.breadcrumbs.subSection),["prevent"]))},[t[3]||(t[3]=e("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),v(" "+g(a.textLimit(this.breadcrumbs.subSection.data.title,25)),1)])])):p("",!0),e("li",se,[i(u,{href:s.route("client.post.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:c(()=>[t[4]||(t[4]=e("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),v(" "+g(a.textLimit("Новости",30)),1)]),_:1},8,["href"])])])):p("",!0),o.breadcrumbs?p("",!0):(l(),r("ol",oe,[e("li",ie,[i(u,{href:s.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:c(()=>[i(m,{class:"size-5",name:"home"})]),_:1},8,["href"])]),e("li",ne,[i(u,{href:s.route("client.post.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:c(()=>[t[5]||(t[5]=e("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),v(" "+g(a.textLimit("Новости",30)),1)]),_:1},8,["href"])])]))])])])])}const le=y(G,[["render",ae]]),re={name:"Index",components:{NewsBreadcrumbs:le,MainPageNavBar:Z,PostBadge:Y,AdminIndexHeaderTitle:H,AdminIndexHeader:$,AdminIndexFilter:O,AdminIndexSearch:T,ClientFooterDown:A,ClientScrollTimeline:q,ClientPostFilter:z,Link:k,MainNavbar:I,FsLightbox:F,Head:P,ClientPost:W,ClientPostSearch:V},data(){return{}},props:{posts:{type:Object},filters:{type:Object},categories:{type:Object},tags:{type:Object},navigation:{type:Object},breadcrumbs:{type:Object}},methods:{},mounted(){}},ce={class:"flex flex-col h-screen"},de={class:"flex-grow"},me={class:"relative mx-auto mt-[67px] max-w-screen-xl py-10 md:flex md:flex-row md:py-10"},ue={class:"pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},ge={class:"px-6"},pe={key:0,class:"text-sm text-gray-500 mb-4"},he={class:"flex-wrap flex gap-3 md:items-center"},ve={class:"space-y-5 md:space-y-4"},xe={class:"space-y-5 md:space-y-4"},fe={class:"container px-4 mx-auto xl:px-5 max-w-screen-lg py-5 lg:py-8"},be={class:"mt-10 grid gap-10 md:grid-cols-2 lg:gap-10 xl:grid-cols-3"},_e={class:"mt-10 flex items-center justify-center"},we={class:"isolate inline-flex -space-x-px rounded-md shadow-sm","aria-label":"Pagination"};function ke(s,t,o,d,h,a){const m=n("Head"),u=n("MainPageNavBar"),x=n("NewsBreadcrumbs"),B=n("ClientPostSearch"),N=n("ClientPostFilter"),S=n("AdminIndexHeader"),C=n("PostBadge"),L=n("ClientPost"),f=n("Link"),M=n("ClientFooterDown");return l(),r(w,null,[i(m,null,{default:c(()=>t[0]||(t[0]=[e("title",null,"Новости",-1),e("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),i(u,{class:"border-b",sections:s.$page.props.navigation},null,8,["sections"]),e("div",ce,[e("main",de,[e("div",me,[e("div",ue,[t[3]||(t[3]=e("div",{class:"max-w-2xl text-center mx-auto mb-10 lg:mb-14"},[e("h2",{class:"text-2xl font-bold md:text-4xl md:leading-tight dark:text-white"},"Новости НТГСПИ"),e("p",{class:"mt-1 text-gray-600 dark:text-neutral-400"},"Узнайте последние новости любимого вуза")],-1)),i(x,{breadcrumbs:o.breadcrumbs,class:"px-5"},null,8,["breadcrumbs"]),e("div",null,[i(S,null,{default:c(()=>[i(B,{search_filter:this.filters.search_filter},null,8,["search_filter"]),i(N,{"sorting-by_filter":this.filters.sortingBy_filter,category_filter:this.filters.category_filter,tag_filter:this.filters.tag_filter,tags:o.tags,items:o.categories},null,8,["sorting-by_filter","category_filter","tag_filter","tags","items"])]),_:1}),e("div",ge,[o.filters.category_filter.value||o.filters.tag_filter.value||o.filters.search_filter.value?(l(),r("h3",pe,"Найдено новостей: "+g(o.posts.meta.total),1)):p("",!0),e("div",he,[i(C,{filters:this.filters},null,8,["filters"])])]),e("div",ve,[e("div",xe,[e("div",null,[e("div",fe,[e("div",be,[(l(!0),r(w,null,j(o.posts.data,b=>(l(),D(L,{key:b.id,post:b},null,8,["post"]))),128))]),e("div",_e,[e("nav",we,[i(f,{as:"button",href:o.posts.links.prev,disabled:s.$props.posts.links.prev===null,class:"relative inline-flex items-center gap-1 rounded-l-md border border-gray-300 bg-white px-3 py-2 pr-4 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20 disabled:pointer-events-none disabled:opacity-40 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300"},{default:c(()=>t[1]||(t[1]=[e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon",class:"h-3 w-3"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})],-1),e("span",null,"Предыдущая",-1)])),_:1},8,["href","disabled"]),i(f,{as:"button",href:o.posts.links.next,disabled:s.$props.posts.links.next===null,class:"relative inline-flex items-center gap-1 rounded-r-md border border-gray-300 bg-white px-3 py-2 pl-4 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20 disabled:pointer-events-none disabled:opacity-40 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300"},{default:c(()=>t[2]||(t[2]=[e("span",null,"Следующая",-1),e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon",class:"h-3 w-3"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})],-1)])),_:1},8,["href","disabled"])])])])])])])])])])]),i(M)])],64)}const Ae=y(re,[["render",ke]]);export{Ae as default}; diff --git a/public/build/assets/Index-D35qeP7z.js b/public/build/assets/Index-D35qeP7z.js deleted file mode 100644 index 544b662..0000000 --- a/public/build/assets/Index-D35qeP7z.js +++ /dev/null @@ -1 +0,0 @@ -import{i as b,h as F,v as L,o,c as s,b as t,F as u,d as _,t as g,Z as k,r as a,a as d,w as x,e as S,j}from"./app-lT3z3TR3.js";import{F as I}from"./v3-B5UP5GZw.js";import{C as O}from"./ClientScrollTimeline-BxA_EWwM.js";import{B as M,_ as N,C as T}from"./SearchModal-YI3bdWA9.js";import{A as D,a as H,b as U}from"./AdminIndexHeaderTitle-DyC17FG6.js";import{A as V}from"./AdminIndexHeader-Ci_3kRvq.js";import{C as R,a as Y}from"./ClientPostSearch-85XLLeIC.js";import{C as Z}from"./ClientPost-KvELvIac.js";import $ from"./ClientImageSlider-CGZZYYI8.js";import{M as q}from"./MainPageNavbar-BfM50q-7.js";import{S as G,C as J}from"./SortingByFilter-CjZ8gKSr.js";import{_ as v}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{A as K,P as Q,C as W}from"./AdditionalEducationProgramListBreadcrumbs-DxlLlonH.js";import{P as X}from"./EventBadgeBuilder-Bg3wvoOe.js";import"./DirectionFilter-D7FJ9CMu.js";const z={name:"LevelEduFilter",components:{BaseIcon:M,Link:b,SearchBadge:G,CategoryBadge:J},data(){var e;return{directionEdu:((e=this.direction_filter)==null?void 0:e.value)||""}},methods:{handleChange(){this.directionEdu===""?this.clearFilter():this.filter()},filter:N.debounce(function(){let e=new URL(window.location.href);e.searchParams.delete("page"),e.searchParams.delete("direction");let i=e.toString();this.$inertia.visit(i,{method:"get",preserveState:!0,data:{direction:this.directionEdu}})},200),clearFilter(){let e=new URL(window.location.href);e.searchParams.delete("direction");let i=e.toString();this.$inertia.visit(i,{method:"get",preserveState:!0})}},props:{directions:{type:Object},direction_filter:{type:Object}}},ee=["value"];function te(e,i,r,f,c,l){return F((o(),s("select",{onChange:i[0]||(i[0]=(...n)=>l.handleChange&&l.handleChange(...n)),"onUpdate:modelValue":i[1]||(i[1]=n=>c.directionEdu=n),class:"py-3 px-4 pe-9 block w-full border-gray-200 rounded-lg text-sm focus:border-blue-500 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none"},[i[2]||(i[2]=t("option",{selected:"",value:""},"Все",-1)),(o(!0),s(u,null,_(r.directions.data,n=>(o(),s("option",{value:n.slug},g(n.title),9,ee))),256))],544)),[[L,c.directionEdu]])}const ie=v(z,[["render",te]]),re={name:"Index",components:{AdditionalEducationProgramListBreadcrumbs:K,ProgramBadge:Q,PostBadge:X,ClientAdditionalProgramFilter:W,LevelEduFilter:ie,MainPageNavBar:q,ClientImageSlider:$,AdminIndexHeaderTitle:D,AdminIndexHeader:V,AdminIndexFilter:H,AdminIndexSearch:U,ClientFooterDown:T,ClientScrollTimeline:O,ClientPostFilter:R,Link:b,FsLightbox:I,Head:k,ClientPost:Z,ClientPostSearch:Y},data(){return{direction_id:this.filters.dir_id}},props:{directionAdditionalEducations:{type:Object},additionalEducations:{type:Object},filters:{type:Object},forms_education:{type:Object},categories:{type:Object},breadcrumbs:{type:Object}},methods:{transformToColumns(e){return((f,c)=>f.reduce((l,n,m)=>m%c?l:[...l,f.slice(m,m+c)],[]))(e,Math.ceil(e.length/2)).reverse()},textLimit(e,i){if(e.length>i){let r;return r=e.substring(0,i),r+"..."}return e}},mounted(){}},oe={class:"flex flex-col h-screen"},ne={class:"flex-grow"},se={class:"relative mb-auto mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:py-10"},ae={class:""},le={class:""},de={class:"space-y-5 md:space-y-4"},ce={class:"space-y-5 md:space-y-4 mx-auto max-w-3xl"},me={class:""},ue={class:"my-10 w-full"},fe={class:"flex items-center gap-x-2"},_e={class:"px-2 mx-auto"},pe={class:"flex-wrap flex gap-3 md:items-center"},ge={class:"container py-5 lg:py-4"},he={class:"w-full mx-auto flex flex-wrap lg:justify-between"},xe={class:"flex flex-col"},be={style:{height:"max-content"},class:"px-2"},ve={class:"text-brand-primary mb-2 mt-2 text-lg font-semibold upper tracking-tight dark:text-white lg:text-md lg:leading-tight"};function ye(e,i,r,f,c,l){const n=a("Head"),m=a("MainPageNavBar"),y=a("AdditionalEducationProgramListBreadcrumbs"),w=a("LevelEduFilter"),C=a("ClientAdditionalProgramFilter"),P=a("ProgramBadge"),E=a("Link"),A=a("ClientFooterDown");return o(),s(u,null,[d(n,null,{default:x(()=>i[0]||(i[0]=[t("title",null,"Дополнительное образование",-1),t("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),d(m,{class:"border-b",sections:e.$page.props.navigation},null,8,["sections"]),t("div",oe,[t("main",ne,[t("div",se,[t("div",ae,[t("div",le,[t("div",de,[i[1]||(i[1]=t("h1",{class:"text-brand-primary text-center mb-3 mt-2 text-3xl font-semibold tracking-tight dark:text-white lg:text-[40px] lg:leading-tight"}," Дополнительное образование ",-1)),t("div",ce,[t("div",null,[t("div",me,[t("div",ue,[d(y,{breadcrumbs:r.breadcrumbs},null,8,["breadcrumbs"]),t("div",fe,[d(w,{directions:r.directionAdditionalEducations,direction_filter:r.filters.direction_filter},null,8,["directions","direction_filter"]),d(C,{forms_educational:r.forms_education,form_education_filter:r.filters.form_education_filter,category_filter:r.filters.category_filter,categories:r.categories},null,8,["forms_educational","form_education_filter","category_filter","categories"])])]),t("div",_e,[t("div",pe,[d(P,{filters:this.filters},null,8,["filters"])])])]),t("div",ge,[t("div",he,[(o(!0),s(u,null,_(l.transformToColumns(this.additionalEducations.data),B=>(o(),s("div",xe,[(o(!0),s(u,null,_(B,h=>(o(),s("div",be,[t("h1",ve,g(h.title),1),(o(!0),s(u,null,_(h.additionalEducations,p=>(o(),S(E,{key:p.id,class:"block text-[#1E57A3] hover:text-blue-600 duration-200 text-sm underline underline-offset-2 py-1",href:e.route("client.additionalEducation.show",p.slug)},{default:x(()=>[j(g(p.title),1)]),_:2},1032,["href"]))),128))]))),256))]))),256))])])])])])])])])]),d(A)])],64)}const Te=v(re,[["render",ye]]);export{Te as default}; diff --git a/public/build/assets/Index-D8BjZ7MQ.js b/public/build/assets/Index-D8BjZ7MQ.js deleted file mode 100644 index 3d8233c..0000000 --- a/public/build/assets/Index-D8BjZ7MQ.js +++ /dev/null @@ -1 +0,0 @@ -import{i as g,Z as _,r as s,c as i,a as o,w as l,b as e,F as d,d as h,o as n,e as f,t as w}from"./app-lT3z3TR3.js";import{F as v}from"./v3-B5UP5GZw.js";import{C as b}from"./ClientScrollTimeline-BxA_EWwM.js";import{C as y}from"./SearchModal-YI3bdWA9.js";import{A as k,a as C,b as F}from"./AdminIndexHeaderTitle-DyC17FG6.js";import{A as B}from"./AdminIndexHeader-Ci_3kRvq.js";import{C as A,a as I}from"./ClientPostSearch-85XLLeIC.js";import{C as P}from"./ClientPost-KvELvIac.js";import{M as H}from"./MainPageNavbar-BfM50q-7.js";import{_ as L}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./SortingByFilter-CjZ8gKSr.js";const N={name:"Index",components:{MainPageNavBar:H,AdminIndexHeaderTitle:k,AdminIndexHeader:B,AdminIndexFilter:C,AdminIndexSearch:F,ClientFooterDown:y,ClientScrollTimeline:b,ClientPostFilter:A,Link:g,FsLightbox:v,Head:_,ClientPost:P,ClientPostSearch:I},data(){return{}},props:{journals:{type:Array}},methods:{},mounted(){}},D={class:"flex flex-col h-screen"},M={class:"flex-grow"},S={class:"relative mb-auto mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},$={class:"px-4 pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},j={class:"space-y-5 md:space-y-4"},T={class:"space-y-5 md:space-y-4"},V={class:"max-w-[85rem] px-4 py-10 sm:px-6 lg:px-8 lg:py-14 mx-auto"},z={class:"grid sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-3 gap-3 sm:gap-6"},E={class:"p-4 md:p-5 w-full"},J={class:"flex justify-between items-center gap-x-3"},W={class:"grow"},Y={class:"group-hover:text-blue-600 font-semibold text-gray-800"};function Z(a,t,m,q,G,K){const c=s("Head"),p=s("MainPageNavBar"),x=s("Link"),u=s("ClientFooterDown");return n(),i(d,null,[o(c,null,{default:l(()=>t[0]||(t[0]=[e("title",null,"Научные периодические издания НТГСПИ",-1),e("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),o(p,{class:"border-b",sections:a.$page.props.navigation},null,8,["sections"]),e("div",D,[e("main",M,[e("div",S,[e("div",$,[e("div",null,[e("div",j,[e("div",T,[e("div",V,[t[2]||(t[2]=e("div",{class:"max-w-2xl text-center mx-auto mb-10 lg:mb-14"},[e("h2",{class:"text-2xl font-bold md:text-4xl md:leading-tight dark:text-white"},"Научные периодические издания НТГСПИ"),e("p",{class:"mt-1 text-gray-600 dark:text-neutral-400"},"We've helped some great companies brand, design and get to market.")],-1)),e("div",z,[(n(!0),i(d,null,h(m.journals.data,r=>(n(),f(x,{href:a.route("client.academicJournals.show",r.slug),class:"group flex items-center bg-white border shadow-sm rounded-xl hover:shadow-md focus:outline-none focus:shadow-md transition"},{default:l(()=>[e("div",E,[e("div",J,[e("div",W,[e("h3",Y,w(r.title),1)]),t[1]||(t[1]=e("div",null,[e("svg",{class:"shrink-0 size-5 text-gray-800",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:"m9 18 6-6-6-6"})])],-1))])])]),_:2},1032,["href"]))),256))])])])])])])])]),o(u)])],64)}const re=L(N,[["render",Z]]);export{re as default}; diff --git a/public/build/assets/Index-DR20-e_O.js b/public/build/assets/Index-DR20-e_O.js deleted file mode 100644 index f37eda3..0000000 --- a/public/build/assets/Index-DR20-e_O.js +++ /dev/null @@ -1 +0,0 @@ -import{M as f}from"./MainNavbar-5-nqk6c_.js";import{i as h,Z as _,r as n,c,a,w as r,b as e,F as p,d as b,o as d,e as v,t as i}from"./app-lT3z3TR3.js";import{F as y}from"./v3-B5UP5GZw.js";import{C as w}from"./ClientScrollTimeline-BxA_EWwM.js";import{C as k}from"./SearchModal-YI3bdWA9.js";import{A as C,a as F,b as B}from"./AdminIndexHeaderTitle-DyC17FG6.js";import{A}from"./AdminIndexHeader-Ci_3kRvq.js";import{C as M,a as P}from"./ClientPostSearch-85XLLeIC.js";import{C as I}from"./ClientPost-KvELvIac.js";import{C as N}from"./ClientEventSelectDate-Dy72p0i3.js";import{M as D}from"./MainPageNavbar-BfM50q-7.js";import{_ as H}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */import"./SortingByFilter-CjZ8gKSr.js";const L={name:"Index",components:{MainPageNavBar:D,ClientEventSelectDate:N,AdminIndexHeaderTitle:C,AdminIndexHeader:A,AdminIndexFilter:F,AdminIndexSearch:B,ClientFooterDown:k,ClientScrollTimeline:w,ClientPostFilter:M,Link:h,MainNavbar:f,FsLightbox:y,Head:_,ClientPost:I,ClientPostSearch:P},props:{posts:{type:Array}},methods:{},mounted(){}},S={class:"flex flex-col h-screen"},E={class:"flex-grow"},j={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},z={class:"px-4 pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},T={class:"container px-8 mx-auto xl:px-5 max-w-screen-md"},V={class:"my-10 sm:my-14"},W={class:"grow"},Y={class:"flex flex-col h-full"},Z={class:"mb-3"},q={class:"inline-flex items-center gap-1.5 py-1.5 px-3 rounded-md text-[12px] text-gray-600"},G={class:"inline-flex items-center gap-1.5 py-1.5 px-3 rounded-md text-xs font-medium bg-[#E9F2FE] text-blue-600"},J={class:"text-lg sm:text-2xl font-semibold text-gray-800 group-hover:text-blue-600"},K={class:"mt-2 text-gray-600"},O={class:"mt-10 flex items-center justify-center"},Q={class:"isolate inline-flex -space-x-px rounded-md shadow-sm","aria-label":"Pagination"};function R(m,t,s,U,X,$){const x=n("Head"),g=n("MainPageNavBar"),l=n("Link"),u=n("ClientFooterDown");return d(),c(p,null,[a(x,null,{default:r(()=>t[0]||(t[0]=[e("title",null,"Мероприятия",-1),e("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),a(g,{class:"border-b",sections:m.$page.props.navigation},null,8,["sections"]),e("div",S,[e("main",E,[e("div",j,[e("div",z,[e("div",null,[t[3]||(t[3]=e("div",{class:"space-y-5 md:space-y-4"},[e("div",{class:"max-w-2xl text-center mx-auto mb-10 lg:mb-14"},[e("h2",{class:"text-2xl font-bold md:text-4xl md:leading-tight dark:text-white"},"Заметки библиотеки"),e("p",{class:"mt-1 text-gray-600 dark:text-neutral-400"},"We've helped some great companies brand, design and get to market.")])],-1)),e("div",T,[e("div",V,[(d(!0),c(p,null,b(s.posts.data,o=>(d(),v(l,{href:m.route("client.library.news.show",o.id),class:"group sm:flex rounded-xl mb-4"},{default:r(()=>[e("div",W,[e("div",Y,[e("div",Z,[e("p",q,i(o.created_at),1),e("p",G,i(o.category),1)]),e("h3",J,i(o.title),1),e("p",K,i(o.preview_text),1)])])]),_:2},1032,["href"]))),256)),e("div",O,[e("nav",Q,[a(l,{as:"button",href:s.posts.links.prev,disabled:s.posts.links.prev===null,class:"relative inline-flex items-center gap-1 rounded-l-md border border-gray-300 bg-white px-3 py-2 pr-4 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20 disabled:pointer-events-none disabled:opacity-40 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300"},{default:r(()=>t[1]||(t[1]=[e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon",class:"h-3 w-3"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})],-1),e("span",null,"Предыдущая",-1)])),_:1},8,["href","disabled"]),a(l,{as:"button",href:s.posts.links.next,disabled:s.posts.links.next===null,class:"relative inline-flex items-center gap-1 rounded-r-md border border-gray-300 bg-white px-3 py-2 pl-4 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20 disabled:pointer-events-none disabled:opacity-40 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300"},{default:r(()=>t[2]||(t[2]=[e("span",null,"Следующая",-1),e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon",class:"h-3 w-3"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})],-1)])),_:1},8,["href","disabled"])])])])])])])])]),a(u)])],64)}const ge=H(L,[["render",R]]);export{ge as default}; diff --git a/public/build/assets/Index-DueMRE_s.js b/public/build/assets/Index-DueMRE_s.js deleted file mode 100644 index 60d8885..0000000 --- a/public/build/assets/Index-DueMRE_s.js +++ /dev/null @@ -1 +0,0 @@ -import{M as C}from"./MainNavbar-5-nqk6c_.js";import{i as y,r as l,o as r,c as d,b as e,a as i,w as v,p as b,j as x,t as a,l as p,Z as L,F as _,d as M,e as E}from"./app-lT3z3TR3.js";import{F as D}from"./v3-B5UP5GZw.js";import{C as I}from"./ClientScrollTimeline-BxA_EWwM.js";import{B as F,C as A}from"./SearchModal-YI3bdWA9.js";import{A as q,a as j,b as T}from"./AdminIndexHeaderTitle-DyC17FG6.js";import{A as P}from"./AdminIndexHeader-Ci_3kRvq.js";import{C as $,a as H}from"./ClientPostSearch-85XLLeIC.js";import{C as V}from"./ClientPost-KvELvIac.js";import{C as z}from"./ClientEventSelectDate-Dy72p0i3.js";import{C as O}from"./ClientEventFilter-CNRvs5cm.js";import{M as G}from"./MainPageNavbar-BfM50q-7.js";import{_ as w}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */import"./SortingByFilter-CjZ8gKSr.js";const W={name:"EventListBreadcrumbs",components:{BaseIcon:F,Link:y},data(){return{}},methods:{textLimit(s,t){if(s.length>t){let n;return n=s.substring(0,t),n+"..."}return s},isMobileDevice(){return window.innerWidth<1024},handleSectionClick(s){this.isMobileDevice()?this.toggleMobileNavSection(s):this.toggleDesktopNavSection(s)},handleSubSectionClick(s,t){this.isMobileDevice()?this.toggleMobileNavSubSection(s,t):this.toggleDesktopNavSubSection(s,t)},highlightNavItem(s){s.classList.add("animate-pulse"),setTimeout(()=>{s.classList.remove("animate-pulse")},4e3)},openMobileNavMenu(){document.getElementById("open-mobile-btn").click()},toggleMobileNavSubSection(s,t){this.openMobileNavMenu();const n=document.getElementById("open-mobile-nav"),c=n.querySelector("#nav-section-accordion-"+s.data.slug),g=n.querySelector("#nav-section-accordion-btn-"+s.data.slug);c.classList.contains("active")||g.click();const o=n.querySelector("#nav-sub-section-accordion-"+t.data.slug),m=n.querySelector("#nav-sub-section-accordion-btn-"+t.data.slug);o.classList.contains("active")&&m.click(),this.highlightNavItem(o)},toggleMobileNavSection(s){const t=document.getElementById("open-mobile-nav"),n=t.querySelector("#nav-section-accordion-"+s.data.slug),c=t.querySelector("#nav-section-accordion-btn-"+s.data.slug);n.classList.contains("active")&&c.click(),this.openMobileNavMenu(),this.highlightNavItem(n)},toggleDesktopNavSubSection(s,t){const n=document.getElementById("desktop-nav"),c=n.querySelector("#nav-sub-section-title-"+t.data.slug);n.querySelector("#nav-section-btn-"+s.data.slug).click(),this.highlightNavItem(c)},toggleDesktopNavSection(s){const t=document.getElementById("desktop-nav");t.querySelector("#nav-section-menu-"+s.data.slug),t.querySelector("#nav-section-btn-"+s.data.slug).click()}},props:{breadcrumbs:{type:Object},eventTitle:{type:String}}},Y={class:"flex justify-between pb-4 items-center"},Z={class:"flex w-full sm:items-center gap-x-5 sm:gap-x-3"},J={class:"grow"},K={class:"grid sm:flex sm:justify-between sm:items-center gap-2"},Q={key:0,class:"flex items-center whitespace-normal min-w-0 flex-wrap gap-y-2","aria-label":"Breadcrumb"},R={class:"text-sm"},U={key:0,class:"text-sm"},X={key:1,class:"text-sm"},ee={class:"text-sm"},te={key:1,class:"flex items-center whitespace-nowrap min-w-0 flex-wrap","aria-label":"Breadcrumb"},se={class:"text-sm"},ne={class:"text-sm"};function ie(s,t,n,c,g,o){const m=l("BaseIcon"),u=l("Link");return r(),d("div",Y,[e("div",Z,[e("div",J,[e("div",K,[n.breadcrumbs?(r(),d("ol",Q,[e("li",R,[i(u,{href:s.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:v(()=>[i(m,{class:"size-5",name:"home"})]),_:1},8,["href"])]),n.breadcrumbs.mainSection?(r(),d("li",U,[e("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:t[0]||(t[0]=b(f=>o.handleSectionClick(this.breadcrumbs.mainSection),["prevent"]))},[t[2]||(t[2]=e("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),x(" "+a(o.textLimit(this.breadcrumbs.mainSection.data.title,25)),1)])])):p("",!0),n.breadcrumbs.subSection?(r(),d("li",X,[e("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:t[1]||(t[1]=b(f=>o.handleSubSectionClick(this.breadcrumbs.mainSection,this.breadcrumbs.subSection),["prevent"]))},[t[3]||(t[3]=e("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),x(" "+a(o.textLimit(this.breadcrumbs.subSection.data.title,25)),1)])])):p("",!0),e("li",ee,[i(u,{href:s.route("client.event.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:v(()=>[t[4]||(t[4]=e("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),x(" "+a(o.textLimit("Мероприятия",30)),1)]),_:1},8,["href"])])])):p("",!0),n.breadcrumbs?p("",!0):(r(),d("ol",te,[e("li",se,[i(u,{href:s.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:v(()=>[i(m,{class:"size-5",name:"home"})]),_:1},8,["href"])]),e("li",ne,[i(u,{href:s.route("client.event.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:v(()=>[t[5]||(t[5]=e("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),x(" "+a(o.textLimit("Мероприятия",30)),1)]),_:1},8,["href"])])]))])])])])}const oe=w(W,[["render",ie]]),le={name:"Index",components:{EventListBreadcrumbs:oe,MainPageNavBar:G,ClientEventFilter:O,ClientEventSelectDate:z,AdminIndexHeaderTitle:q,AdminIndexHeader:P,AdminIndexFilter:j,AdminIndexSearch:T,ClientFooterDown:A,ClientScrollTimeline:I,ClientPostFilter:$,Link:y,MainNavbar:C,FsLightbox:D,Head:L,ClientPost:V,ClientPostSearch:H},props:{events:{type:Array},currentDate:{type:String},eventDates:{type:Array},navigation:{type:Array},filters:{type:Array},categories:{type:Array},breadcrumbs:{type:Object}},methods:{}},ae={class:"flex flex-col h-screen"},re={class:"flex-grow"},ce={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},de={class:"px-4 pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},me={class:"space-y-5 md:space-y-4"},ue={class:"flex items-center w-full justify-center"},ve={class:"my-10 justify-center flex gap-x-3 items-center"},ge={class:"shadow-sm w-[35px]"},he={class:"block w-[35px] h-[27px] bg-white text-center font-medium"},xe={class:"font-light text-xl"},pe={class:"space-y-5 md:space-y-4"},fe={class:"grid gap-y-10 mt-10"},be={class:"grow"},_e={class:"flex flex-col h-full"},ye={class:"mb-3"},we={class:"inline-flex items-center gap-1.5 py-1.5 px-3 rounded-md text-[12px] text-gray-600"},ke={class:"inline-flex items-center gap-1.5 py-1.5 px-3 rounded-md text-xs font-medium bg-[#E9F2FE] text-blue-600"},Be={class:"text-lg sm:text-2xl font-semibold text-gray-800 group-hover:text-blue-600"};function Se(s,t,n,c,g,o){const m=l("Head"),u=l("MainPageNavBar"),f=l("EventListBreadcrumbs"),k=l("ClientEventFilter"),B=l("ClientEventSelectDate"),S=l("Link"),N=l("ClientFooterDown");return r(),d(_,null,[i(m,null,{default:v(()=>t[0]||(t[0]=[e("title",null,"Мероприятия",-1),e("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),i(u,{class:"border-b",sections:s.$page.props.navigation},null,8,["sections"]),e("div",ae,[e("main",re,[e("div",ce,[e("div",de,[e("div",null,[i(f,{breadcrumbs:n.breadcrumbs},null,8,["breadcrumbs"]),e("div",me,[e("div",ue,[t[1]||(t[1]=e("h1",{class:"block text-brand-primary text-center mb-3 mt-2 mr-4 text-3xl font-semibold tracking-tight dark:text-white lg:text-[40px] lg:leading-tight"}," Мероприятия НТГСПИ ",-1)),i(k,{is_online_filter:n.filters.is_online_filter,categories:this.categories,category_filter:n.filters.category_filter,"sorting-by_filter":n.filters.sortingBy_filter},null,8,["is_online_filter","categories","category_filter","sorting-by_filter"])]),e("div",ve,[t[3]||(t[3]=e("h3",{class:"font-light text-xl"},"Мероприятия на ",-1)),e("div",ge,[t[2]||(t[2]=e("div",{class:"block w-[35px] h-[8px] bg-red-400 rounded-t"},null,-1)),e("div",he,a(n.currentDate.day),1)]),e("h3",xe,a(n.currentDate.month),1)]),e("div",pe,[e("div",null,[i(B,{"current-date":n.currentDate.fullDate,dates:n.eventDates},null,8,["current-date","dates"])])])]),e("div",fe,[(r(!0),d(_,null,M(n.events.data,h=>(r(),E(S,{class:"group sm:flex rounded-xl",href:s.route("client.event.show",h.slug)},{default:v(()=>[e("div",be,[e("div",_e,[e("div",ye,[e("p",we,a(h.event_time_start),1),e("p",ke,a(h.category),1)]),e("h3",Be,a(h.title),1),t[4]||(t[4]=e("p",{class:"mt-2 text-gray-600"}," Great news we're eager to share. ",-1))])])]),_:2},1032,["href"]))),256))])])])])]),i(N)])],64)}const Ve=w(le,[["render",Se]]);export{Ve as default}; diff --git a/public/build/assets/Index-KEkan5_Y.js b/public/build/assets/Index-KEkan5_Y.js deleted file mode 100644 index 68c6a62..0000000 --- a/public/build/assets/Index-KEkan5_Y.js +++ /dev/null @@ -1 +0,0 @@ -import{M as f}from"./MainNavbar-5-nqk6c_.js";import{i as h,Z as b,r as a,c,a as n,w as r,b as e,F as x,d as _,o as d,e as v,t as i}from"./app-lT3z3TR3.js";import{F as y}from"./v3-B5UP5GZw.js";import{C as w}from"./ClientScrollTimeline-BxA_EWwM.js";import{C as k}from"./SearchModal-YI3bdWA9.js";import{A as C,a as F,b as B}from"./AdminIndexHeaderTitle-DyC17FG6.js";import{A}from"./AdminIndexHeader-Ci_3kRvq.js";import{C as M}from"./ClientEventSelectDate-Dy72p0i3.js";import{M as I}from"./MainPageNavbar-BfM50q-7.js";import{_ as N}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */const D={name:"Index",components:{MainPageNavBar:I,ClientEventSelectDate:M,AdminIndexHeaderTitle:C,AdminIndexHeader:A,AdminIndexFilter:F,AdminIndexSearch:B,ClientFooterDown:k,ClientScrollTimeline:w,Link:h,MainNavbar:f,FsLightbox:y,Head:b},props:{exhibitions:{type:Array}},methods:{},mounted(){}},H={class:"flex flex-col h-screen"},L={class:"flex-grow"},E={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},P={class:"px-4 pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},S={class:"container px-8 mx-auto xl:px-5 max-w-screen-md"},j={class:"my-10 sm:my-14"},z={class:"grow"},T={class:"flex flex-col h-full"},V={class:"mb-3"},W={class:"inline-flex items-center gap-1.5 py-1.5 px-3 rounded-md text-[12px] text-gray-600"},Y={class:"inline-flex items-center gap-1.5 py-1.5 px-3 rounded-md text-xs font-medium bg-[#E9F2FE] text-blue-600"},Z={class:"text-lg sm:text-2xl font-semibold text-gray-800 group-hover:text-blue-600"},q={class:"mt-2 text-gray-600"},G={class:"mt-10 flex items-center justify-center"},J={class:"isolate inline-flex -space-x-px rounded-md shadow-sm","aria-label":"Pagination"};function K(m,t,s,O,Q,R){const p=a("Head"),g=a("MainPageNavBar"),l=a("Link"),u=a("ClientFooterDown");return d(),c(x,null,[n(p,null,{default:r(()=>t[0]||(t[0]=[e("title",null,"Виртуальные выставки",-1),e("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),n(g,{class:"border-b",sections:m.$page.props.navigation},null,8,["sections"]),e("div",H,[e("main",L,[e("div",E,[e("div",P,[e("div",null,[t[3]||(t[3]=e("div",{class:"space-y-5 md:space-y-4"},[e("div",{class:"max-w-2xl text-center mx-auto mb-10 lg:mb-14"},[e("h2",{class:"text-2xl font-bold md:text-4xl md:leading-tight dark:text-white"},"Виртуальные выставки"),e("p",{class:"mt-1 text-gray-600 dark:text-neutral-400"},"We've helped some great companies brand, design and get to market.")])],-1)),e("div",S,[e("div",j,[(d(!0),c(x,null,_(s.exhibitions.data,o=>(d(),v(l,{href:m.route("client.library.exhibition.show",o.id),class:"group sm:flex rounded-xl mb-4"},{default:r(()=>[e("div",z,[e("div",T,[e("div",V,[e("p",W,i(o.created_at),1),e("p",Y,i(o.category),1)]),e("h3",Z,i(o.title),1),e("p",q,i(o.preview_text),1)])])]),_:2},1032,["href"]))),256)),e("div",G,[e("nav",J,[n(l,{as:"button",href:s.exhibitions.links.prev,disabled:s.exhibitions.links.prev===null,class:"relative inline-flex items-center gap-1 rounded-l-md border border-gray-300 bg-white px-3 py-2 pr-4 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20 disabled:pointer-events-none disabled:opacity-40 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300"},{default:r(()=>t[1]||(t[1]=[e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon",class:"h-3 w-3"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})],-1),e("span",null,"Предыдущая",-1)])),_:1},8,["href","disabled"]),n(l,{as:"button",href:s.exhibitions.links.next,disabled:s.exhibitions.links.next===null,class:"relative inline-flex items-center gap-1 rounded-r-md border border-gray-300 bg-white px-3 py-2 pl-4 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20 disabled:pointer-events-none disabled:opacity-40 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300"},{default:r(()=>t[2]||(t[2]=[e("span",null,"Следующая",-1),e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon",class:"h-3 w-3"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})],-1)])),_:1},8,["href","disabled"])])])])])])])])]),n(u)])],64)}const le=N(D,[["render",K]]);export{le as default}; diff --git a/public/build/assets/Index-MThAiUfi.js b/public/build/assets/Index-MThAiUfi.js deleted file mode 100644 index 0932462..0000000 --- a/public/build/assets/Index-MThAiUfi.js +++ /dev/null @@ -1 +0,0 @@ -import{M as P}from"./MainNavbar-5-nqk6c_.js";import{i as w,r as d,o as n,c as a,b as s,a as r,w as g,p as k,j as v,t as h,l as f,Z as E,F as p,d as _,e as A}from"./app-lT3z3TR3.js";import{F as I}from"./v3-B5UP5GZw.js";import{C as F}from"./ClientScrollTimeline-BxA_EWwM.js";import{B as T,C as D}from"./SearchModal-YI3bdWA9.js";import{A as q,a as $,b as j}from"./AdminIndexHeaderTitle-DyC17FG6.js";import{A as H}from"./AdminIndexHeader-Ci_3kRvq.js";import{C as V,a as z}from"./ClientPostSearch-85XLLeIC.js";import{C as G}from"./ClientPost-KvELvIac.js";import{C as O,L as R}from"./ClientProgramFilter-CuR9c_0y.js";import{P as W,a as Y,b as Z}from"./PostGallery-DP9Y6oar.js";import{a as J,P as K}from"./PostBackButton-Va08-sZF.js";import{P as Q}from"./PostBuilder-BfOHHDzX.js";import{M as U}from"./MainPageNavbar-BfM50q-7.js";import{_ as B}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{A as X,P as ee,C as te}from"./AdditionalEducationProgramListBreadcrumbs-DxlLlonH.js";/* empty css */import"./SortingByFilter-CjZ8gKSr.js";import"./DirectionFilter-D7FJ9CMu.js";import"./PageSkeleton-BoZKiMn9.js";const se={name:"ProgramListBreadcrumbs",components:{BaseIcon:T,Link:w},data(){return{}},methods:{textLimit(e,t){if(e.length>t){let i;return i=e.substring(0,t),i+"..."}return e},isMobileDevice(){return window.innerWidth<1024},handleSectionClick(e){this.isMobileDevice()?this.toggleMobileNavSection(e):this.toggleDesktopNavSection(e)},handleSubSectionClick(e,t){this.isMobileDevice()?this.toggleMobileNavSubSection(e,t):this.toggleDesktopNavSubSection(e,t)},highlightNavItem(e){e.classList.add("animate-pulse"),setTimeout(()=>{e.classList.remove("animate-pulse")},4e3)},openMobileNavMenu(){document.getElementById("open-mobile-btn").click()},toggleMobileNavSubSection(e,t){this.openMobileNavMenu();const i=document.getElementById("open-mobile-nav"),l=i.querySelector("#nav-section-accordion-"+e.data.slug),m=i.querySelector("#nav-section-accordion-btn-"+e.data.slug);l.classList.contains("active")||m.click();const o=i.querySelector("#nav-sub-section-accordion-"+t.data.slug),u=i.querySelector("#nav-sub-section-accordion-btn-"+t.data.slug);o.classList.contains("active")&&u.click(),this.highlightNavItem(o)},toggleMobileNavSection(e){const t=document.getElementById("open-mobile-nav"),i=t.querySelector("#nav-section-accordion-"+e.data.slug),l=t.querySelector("#nav-section-accordion-btn-"+e.data.slug);i.classList.contains("active")&&l.click(),this.openMobileNavMenu(),this.highlightNavItem(i)},toggleDesktopNavSubSection(e,t){const i=document.getElementById("desktop-nav"),l=i.querySelector("#nav-sub-section-title-"+t.data.slug);i.querySelector("#nav-section-btn-"+e.data.slug).click(),this.highlightNavItem(l)},toggleDesktopNavSection(e){const t=document.getElementById("desktop-nav");t.querySelector("#nav-section-menu-"+e.data.slug),t.querySelector("#nav-section-btn-"+e.data.slug).click()}},props:{breadcrumbs:{type:Object},eventTitle:{type:String}}},ie={class:"flex justify-between pb-4 items-center"},oe={class:"flex w-full sm:items-center gap-x-5 sm:gap-x-3"},ne={class:"grow"},re={class:"grid sm:flex sm:justify-between sm:items-center gap-2"},ae={key:0,class:"flex items-center whitespace-normal min-w-0 flex-wrap gap-y-2","aria-label":"Breadcrumb"},le={class:"text-sm"},ce={key:0,class:"text-sm"},de={key:1,class:"text-sm"},me={class:"text-sm"},ue={key:1,class:"flex items-center whitespace-nowrap min-w-0 flex-wrap","aria-label":"Breadcrumb"},he={class:"text-sm"},ge={class:"text-sm"};function ve(e,t,i,l,m,o){const u=d("BaseIcon"),c=d("Link");return n(),a("div",ie,[s("div",oe,[s("div",ne,[s("div",re,[i.breadcrumbs?(n(),a("ol",ae,[s("li",le,[r(c,{href:e.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:g(()=>[r(u,{class:"size-5",name:"home"})]),_:1},8,["href"])]),i.breadcrumbs.mainSection?(n(),a("li",ce,[s("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:t[0]||(t[0]=k(x=>o.handleSectionClick(this.breadcrumbs.mainSection),["prevent"]))},[t[2]||(t[2]=s("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),v(" "+h(o.textLimit(this.breadcrumbs.mainSection.data.title,25)),1)])])):f("",!0),i.breadcrumbs.subSection?(n(),a("li",de,[s("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:t[1]||(t[1]=k(x=>o.handleSubSectionClick(this.breadcrumbs.mainSection,this.breadcrumbs.subSection),["prevent"]))},[t[3]||(t[3]=s("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),v(" "+h(o.textLimit(this.breadcrumbs.subSection.data.title,25)),1)])])):f("",!0),s("li",me,[r(c,{href:e.route("client.program.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:g(()=>[t[4]||(t[4]=s("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),v(" "+h(o.textLimit("Образовательные программы",30)),1)]),_:1},8,["href"])])])):f("",!0),i.breadcrumbs?f("",!0):(n(),a("ol",ue,[s("li",he,[r(c,{href:e.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:g(()=>[r(u,{class:"size-5",name:"home"})]),_:1},8,["href"])]),s("li",ge,[r(c,{href:e.route("client.program.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:g(()=>[t[5]||(t[5]=s("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),v(" "+h(o.textLimit("Образовательные программы",30)),1)]),_:1},8,["href"])])]))])])])])}const fe=B(se,[["render",ve]]),pe={name:"Index",components:{AdditionalEducationProgramListBreadcrumbs:X,ProgramBadge:ee,ClientAdditionalProgramFilter:te,ProgramListBreadcrumbs:fe,MainPageNavBar:U,PostGallery:W,PostBuilder:Q,PostTitle:J,PostBackButton:K,PostTimeRead:Y,PostAuthorsList:Z,ClientProgramFilter:O,LevelEduFilter:R,AdminIndexHeaderTitle:q,AdminIndexHeader:H,AdminIndexFilter:$,AdminIndexSearch:j,ClientFooterDown:D,ClientScrollTimeline:F,ClientPostFilter:V,Link:w,MainNavbar:P,FsLightbox:I,Head:E,ClientPost:G,ClientPostSearch:z},data(){return{}},props:{campaignName:{type:String},levelsEducational:{type:Array},naprs:{type:Array},filters:{type:Array},formsEdu:{type:Array},budgetEdu:{type:Array},direction_studies:{type:Array}},methods:{transformToColumns(e){return((l,m)=>l.reduce((o,u,c)=>c%m?o:[...o,l.slice(c,c+m)],[]))(e,Math.ceil(e.length/2)).reverse()},textLimit(e,t){if(e.length>t){let i;return i=e.substring(0,t),i+"..."}return e}},mounted(){}},xe={class:"flex flex-col h-screen"},be={class:"flex-grow"},_e={class:"relative mb-auto mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:py-10"},ye={class:""},ke={class:""},we={class:"space-y-5 md:space-y-4"},Be={class:"text-brand-primary text-center mb-3 mt-2 text-3xl font-semibold tracking-tight dark:text-white lg:text-[40px] lg:leading-tight"},Ne={class:"space-y-5 md:space-y-4 mx-auto max-w-3xl"},Se={class:""},Le={class:"my-10 w-full"},Ce={class:"flex items-center gap-x-2"},Me={class:"container py-5 lg:py-4"},Pe={class:"w-full mx-auto flex flex-wrap lg:justify-between"},Ee={class:"flex flex-col"},Ae={style:{height:"max-content"},class:"px-4"},Ie={class:"text-brand-primary mb-2 mt-2 text-lg font-semibold upper tracking-tight dark:text-white lg:text-md lg:leading-tight"};function Fe(e,t,i,l,m,o){const u=d("Head"),c=d("MainPageNavBar"),x=d("ProgramListBreadcrumbs"),N=d("LevelEduFilter"),S=d("ClientProgramFilter"),L=d("Link"),C=d("ClientFooterDown");return n(),a(p,null,[r(u,null,{default:g(()=>t[0]||(t[0]=[s("title",null,"Приемная компания",-1),s("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),r(c,{class:"border-b",sections:e.$page.props.navigation},null,8,["sections"]),s("div",xe,[s("main",be,[s("div",_e,[s("div",ye,[s("div",ke,[s("div",we,[s("h1",Be,h(this.campaignName),1),s("div",Ne,[s("div",null,[s("div",Se,[s("div",Le,[r(x,{breadcrumbs:e.breadcrumbs},null,8,["breadcrumbs"]),s("div",Ce,[r(N,{levels:i.levelsEducational,level_filter:i.filters.level_filter},null,8,["levels","level_filter"]),r(S,{budget_filter:i.filters.budget_filter,direction_filter:i.filters.direction_filter,formEdu_filter:i.filters.formEdu_filter,types_budget:i.budgetEdu,direction_studies:i.direction_studies,forms_educational:i.formsEdu},null,8,["budget_filter","direction_filter","formEdu_filter","types_budget","direction_studies","forms_educational"])])])]),s("div",Me,[s("div",Pe,[(n(!0),a(p,null,_(o.transformToColumns(this.naprs.data),M=>(n(),a("div",Ee,[(n(!0),a(p,null,_(M,y=>(n(),a("div",Ae,[s("h1",Ie,h(y.name),1),(n(!0),a(p,null,_(y.programs,b=>(n(),A(L,{key:b.id,class:"block text-[#1E57A3] hover:text-blue-600 duration-200 text-sm underline underline-offset-2 py-1",href:e.route("client.program.show",b.slug)},{default:g(()=>[v(h(b.name),1)]),_:2},1032,["href"]))),128))]))),256))]))),256))])])])])])])])])]),r(C)])],64)}const tt=B(pe,[["render",Fe]]);export{tt as default}; diff --git a/public/build/assets/Main-BapG3wTB.js b/public/build/assets/Main-BapG3wTB.js deleted file mode 100644 index 746df82..0000000 --- a/public/build/assets/Main-BapG3wTB.js +++ /dev/null @@ -1 +0,0 @@ -var P=Object.defineProperty;var D=(n,e,a)=>e in n?P(n,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[e]=a;var s=(n,e,a)=>D(n,typeof e!="symbol"?e+"":e,a);import{i as k,o as i,c,b as t,F as x,d as _,n as I,t as o,B as N,l as E,Z as M,r as h,a as g,w as b,j as A,k as L,e as R}from"./app-lT3z3TR3.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{C as F}from"./SearchModal-YI3bdWA9.js";import{M as G}from"./MainPageNavbar-BfM50q-7.js";import{C as $}from"./ClientPost-KvELvIac.js";import j from"./PageResourceList-DR-wDUVY.js";import"./v3-B5UP5GZw.js";import"./FormBuilder-C25m8kmA.js";const B={name:"slider",components:{Link:k},props:{slidersCarousel:{type:Object}},data(){return{currentIndex:0,percentage:0,intervalId:null}},methods:{next(){this.currentIndex=(this.currentIndex+1)%this.slidersCarousel.data.length,this.resetTimer()},prev(){this.currentIndex=(this.currentIndex-1+this.slidersCarousel.data.length)%this.slidersCarousel.data.length,this.resetTimer()},progressStatus(){this.percentage>=100?(this.resetTimer(),this.next()):this.percentage++},startTimer(){this.intervalId=setInterval(this.progressStatus,60)},stopTimer(){clearInterval(this.intervalId)},resetTimer(){this.percentage=0,this.stopTimer(),this.startTimer()}},mounted(){this.$emit("slider-mounted",this.$refs.sliderRef),this.startTimer()}},H={ref:"sliderRef",class:"relative z-0 min-h-[calc(100vh)] items-center"},U={class:"absolute -z-10 h-full w-full before:absolute before:z-10 before:h-full before:w-full before:bg-black/30"},z=["src"],V={class:"text-brand-primary mb-3 mt-2 text-3xl font-semibold tracking-tight text-white lg:text-5xl lg:leading-tight"},Y={class:"mt-8 flex space-x-3 text-gray-500 mb-8"},J={class:"flex flex-col gap-3 md:flex-row md:items-center"},K={class:"flex gap-3"},Z={class:"text-gray-100 line-clamp-3"},Q={href:"/author/erika-oliver"},W=["href"],q={key:0,class:"mx-auto max-w-screen-md px-5"},X={class:"mt-8 text-gray-500 text-white absolute bottom-[100px]"},tt={class:""},et={class:"flex space-x-3 items-center justify-between"},st={class:"flex space-x-3 w-[100px] items-center font-semibold text-xl"},lt={class:"flex w-full h-1 bg-gray-200 rounded-full overflow-hidden dark:bg-neutral-700",role:"progressbar","aria-valuenow":"25","aria-valuemin":"0","aria-valuemax":"100"};function ot(n,e,a,v,d,m){return i(),c("div",H,[t("div",U,[(i(!0),c(x,null,_(a.slidersCarousel.data,(r,p)=>(i(),c("img",{alt:"Thumbnail",loading:"eager",decoding:"async","data-nimg":"fill",class:I(["object-cover brightness-[0.7] transition-opacity duration-1000",{"opacity-1":d.currentIndex===p,"opacity-0":d.currentIndex!==p}]),sizes:"100vw",key:p,src:"/storage/"+r.image,style:{position:"absolute",height:"100%",width:"100%",inset:"0px",color:"transparent"}},null,10,z))),128))]),(i(!0),c(x,null,_(a.slidersCarousel.data,(r,p)=>(i(),c("div",{class:I([{block:d.currentIndex===p,hidden:d.currentIndex!==p},"mx-auto max-w-screen-md px-5 pt-[150px] pb-0"]),key:p},[t("h1",V,o(r.title),1),t("div",Y,[t("div",J,[t("div",K,[t("p",Z,[t("a",Q,o(r.content),1)])])])]),t("a",{href:r.link,class:"py-3 px-4 inline-flex items-center gap-x-2 text-sm font-semibold rounded-lg border border-white text-white hover:border-white/70 hover:text-white/70 disabled:opacity-50 disabled:pointer-events-none"},o(r.link_text),9,W)],2))),128)),a.slidersCarousel.data.length>=2?(i(),c("div",q,[t("div",X,[t("div",tt,[t("div",et,[t("button",{onClick:e[0]||(e[0]=(...r)=>m.prev&&m.prev(...r)),class:"bg-gray-200 w-8 h-8 hover:bg-gray-300 text-gray-800 font-bold rounded-full"},e[2]||(e[2]=[t("svg",{class:"w-4 h-4 mx-auto my-auto",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})],-1)])),t("div",st,[t("span",null,o(this.currentIndex+1),1),t("div",lt,[t("div",{class:"flex flex-col justify-center rounded-full overflow-hidden bg-blue-600 text-xs text-white text-center whitespace-nowrap transition duration-500 dark:bg-blue-500 my-slider-progress-bar",style:N({width:`${d.percentage}%`})},null,4)]),t("span",null,o(a.slidersCarousel.data.length),1)]),t("button",{onClick:e[1]||(e[1]=(...r)=>m.next&&m.next(...r)),class:"bg-gray-200 w-8 h-8 hover:bg-gray-300 text-gray-800 font-bold rounded-full"},e[3]||(e[3]=[t("svg",{class:"w-4 h-4 mx-auto my-auto",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 19l7-7-7-7"})],-1)]))])])])])):E("",!0)],512)}const rt=f(B,[["render",ot]]),it={name:"TestTimer",data(){return{percentage:0,intervalId:null}},methods:{progressStatus(){this.percentage>=100?this.resetTimer():this.percentage++},startTimer(){this.intervalId=setInterval(this.progressStatus,60)},stopTimer(){clearInterval(this.intervalId)},resetTimer(){this.percentage=0,this.stopTimer(),this.startTimer()}},mounted(){this.startTimer()}},nt={class:"flex w-full h-1 bg-gray-200 rounded-full overflow-hidden dark:bg-neutral-700",role:"progressbar","aria-valuenow":"25","aria-valuemin":"0","aria-valuemax":"100"};function at(n,e,a,v,d,m){return i(),c("div",nt,[t("div",{class:"flex flex-col justify-center rounded-full overflow-hidden bg-blue-600 text-xs text-white text-center whitespace-nowrap transition duration-500 dark:bg-blue-500",style:N({width:`${d.percentage}%`})},null,4)])}const dt=f(it,[["render",at]]),ct={name:"sliderSecond",components:{TestTimer:dt},data(){return{photos:[{url:"https://www.ntspi.ru/upload/iblock/d6b/z1xKGOXRrLE.jpg",title:"Студенты ФППО провели занятия для педклассов школ города",description:"«Учителем быть престижно!» Под таким девизом в течение трех дней (6, 7 и 10 июня) на факультете психолого-педагогического образования студенты группы Нт-203о ППП (психологический клуб «Форсайт») под руководством Марины Вячеславовны Манаковой проводили познавательные мероприятие для педагогических классов школ города (№№ 61, 44, 75/42)"},{url:"https://www.ntspi.ru/upload/iblock/eaf/IMG_8259.jpg",title:"Интеллектуальный турнир «Моя страна – моя Россия» для педагогических классов города!",description:"11 июня в читальном зале НТГСПИ на базе педагогических классов школ города (№№ 44, 75/42, 61) студенты СГФ под руководством декана Ирины Викторовны Даренской и заместителя декана Анны Саввишны Аникиной провели интеллектуальный турнир в соревновательном формате «Моя страна – моя Россия!»"},{url:"https://www.ntspi.ru/upload/iblock/ee6/DSC01893.JPG",title:"Филологи 20 лет спустя",description:"Спустя 20 лет на ФФМК встретились выпускники 2004 г. специальности «Русский язык и литература». Приятным и волнительным для филологов было возвращение на свой «третий этаж», ставший родным за пять лет обучения в вузе. Самый трогательный момент − встреча с дорогими преподавателями, которые за прошедшие годы совсем не изменились."},{url:"https://www.ntspi.ru/upload/iblock/f04/2.jpg",title:"Старт целины Штаба СО НТ – 2024",description:"7 мая в Городском дворце молодежи состоятся творческий старт сезона 2024 года студенческих отрядов города Нижний Тагил. Зажигательные, яркие, творческие бойцы отрядов показали свои выступления в преддверии старта сезона! Выступления отрядов, среди которых были и строительные, и педагогические, проводники и социальные отряды, были энергичными и фантастическими: торжественный выход с флагами отрядов, выступления по профилю работы, поразили выступления смешанных составов!"},{url:"https://www.ntspi.ru/upload/iblock/fc9/p-dIqCDymRY.jpg",title:"Студенты ФСБЖ – участники летней оздоровительной кампании – 2024",description:"3 июня студенты 3 курса факультета спорта и безопасности жизнедеятельности приняли участие в открытии лагеря с дневным пребыванием «Лето НТ» под девизом «Быть в движении!» Для 75 мальчишек и девчонок была подготовлена и проведена насыщенная интересными событиями программа. Открытие лагеря было посвящено Международному Дню защиты детей, где дети приняли участие в концертно-игровой программе «Планета детства»."}],currentIndex:0,percentage:0,intervalId:null}},methods:{next(){this.currentIndex=(this.currentIndex+1)%this.photos.length,this.resetTimer()},prev(){this.currentIndex=(this.currentIndex-1+this.photos.length)%this.photos.length,this.resetTimer()},progressStatus(){this.percentage>=100?(this.resetTimer(),this.next()):this.percentage++},startTimer(){this.intervalId=setInterval(this.progressStatus,60)},stopTimer(){clearInterval(this.intervalId)},resetTimer(){this.percentage=0,this.stopTimer(),this.startTimer()}},mounted(){this.startTimer()}},pt={class:"z-0 min-h-[calc(100vh-10vh)] items-center"},ut={class:"flex items-center pt-[150px] px-20"},mt={class:"text-brand-primary mb-3 mt-2 text-3xl font-semibold tracking-tight text-black lg:text-5xl lg:leading-tight"},xt={class:"mt-8 flex space-x-3 text-gray-500"},ht={class:"flex flex-col gap-3 md:flex-row md:items-center"},gt={class:"flex gap-3"},_t={class:"text-black"},bt={href:"/author/erika-oliver"},ft=["src"],vt={class:"mx-auto max-w-screen-md px-5"},wt={class:"mt-8 text-gray-500"},It={class:"flex space-x-3 items-center justify-between"},yt={class:"flex space-x-3 w-[100px] items-center font-semibold text-xl"},At={class:"flex w-full h-1 bg-gray-200 rounded-full overflow-hidden dark:bg-neutral-700",role:"progressbar","aria-valuenow":"25","aria-valuemin":"0","aria-valuemax":"100"},Rt={class:"space-x-2"};function Et(n,e,a,v,d,m){return i(),c("div",pt,[t("div",ut,[(i(!0),c(x,null,_(d.photos,(r,p)=>(i(),c("div",{class:I([{block:d.currentIndex===p,hidden:d.currentIndex!==p},"mx-auto max-w-screen-md px-5 pb-0"]),key:p},[t("h1",mt,o(r.title),1),t("div",xt,[t("div",ht,[t("div",gt,[t("p",_t,[t("a",bt,o(r.description),1)])])])])],2))),128)),(i(!0),c(x,null,_(d.photos,(r,p)=>(i(),c("img",{alt:"Thumbnail",loading:"eager",decoding:"async","data-nimg":"fill",class:I(["w-[500px] h-[500px] brightness-[0.7] object-cover transition-opacity duration-1000 rounded-full",{block:d.currentIndex===p,hidden:d.currentIndex!==p}]),sizes:"100vw",key:p,src:r.url,style:{color:"transparent"}},null,10,ft))),128))]),t("div",vt,[t("div",wt,[t("div",It,[t("div",yt,[t("span",null,o(this.currentIndex+1),1),t("div",At,[t("div",{class:"flex flex-col justify-center rounded-full overflow-hidden bg-blue-600 text-xs text-white text-center whitespace-nowrap transition duration-500 dark:bg-blue-500 my-slider-progress-bar",style:N({width:`${d.percentage}%`})},null,4)]),t("span",null,o(d.photos.length),1)]),t("div",Rt,[t("button",{onClick:e[0]||(e[0]=(...r)=>m.prev&&m.prev(...r)),class:"bg-gray-200 w-10 h-10 hover:bg-gray-300 text-gray-800 font-bold rounded-full"},e[2]||(e[2]=[t("svg",{class:"w-6 h-6 mx-auto my-auto",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})],-1)])),t("button",{onClick:e[1]||(e[1]=(...r)=>m.next&&m.next(...r)),class:"bg-gray-200 w-10 h-10 hover:bg-gray-300 text-gray-800 font-bold rounded-full"},e[3]||(e[3]=[t("svg",{class:"w-6 h-6 mx-auto my-auto",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 19l7-7-7-7"})],-1)]))])])])])])}const Nt=f(ct,[["render",Et]]);class l{static fromName(e){return this[e]||null}getName(){return this.name}}s(l,"PREPARATION_OF_QUALIFIED_WORKERS",{value:1,label:"Подготовка квалифицированных рабочих, служащих",color:"info",name:"PREPARATION_OF_QUALIFIED_WORKERS",type_label:"Среднее образование"}),s(l,"MIDDLE_LEVEL_SPECIALIST_TRAINING",{value:2,label:"Среднее профессиональное образование",color:"primary",name:"MIDDLE_LEVEL_SPECIALIST_TRAINING",type_label:"Среднее образование"}),s(l,"BACHELOR",{value:3,label:"Бакалавриат",color:"success",name:"BACHELOR",type_label:"Высшее образование"}),s(l,"MASTER",{value:4,label:"Магистратура",color:"success",name:"MASTER",type_label:"Высшее образование"}),s(l,"SPECIALIST",{value:5,label:"Специалитет",color:"warning",name:"SPECIALIST",type_label:"Высшее образование"}),s(l,"POSTGRADUATE",{value:6,label:"Аспирантура",color:"warning",name:"POSTGRADUATE",type_label:"Высшее образование"}),s(l,"ADJUNCTURE",{value:7,label:"Адъюнктура",color:"secondary",name:"ADJUNCTURE"}),s(l,"RESIDENCY",{value:8,label:"Ординатура",color:"secondary",name:"RESIDENCY"}),s(l,"INTERNSHIP",{value:9,label:"Ассистентура - стажировка",color:"light",name:"INTERNSHIP"}),s(l,"PROFESSIONAL_TRAINING",{value:10,label:"Профессиональная подготовка по профессиям рабочих, должностям служащих",color:"info",name:"PROFESSIONAL_TRAINING"}),s(l,"RETRAINING",{value:11,label:"Переподготовка рабочих, служащих",color:"danger",name:"RETRAINING"}),s(l,"ADVANCED_TRAINING",{value:12,label:"Повышение квалификации рабочих, служащих",color:"success",name:"ADVANCED_TRAINING"}),s(l,"ADDITIONAL_GENERAL_DEVELOPMENT_PROGRAM",{value:13,label:"Дополнительная общеразвивающая программа",color:"info",name:"ADDITIONAL_GENERAL_DEVELOPMENT_PROGRAM"}),s(l,"ADDITIONAL_PREPROFESSIONAL_PROGRAM",{value:14,label:"Дополнительная предпрофессиональная программа",color:"info",name:"ADDITIONAL_PREPROFESSIONAL_PROGRAM"}),s(l,"ADDITIONAL_PREPROFESSIONAL_ART_PROGRAM",{value:15,label:"Дополнительная предпрофессиональная программа в сфере искусств",color:"info",name:"ADDITIONAL_PREPROFESSIONAL_ART_PROGRAM"}),s(l,"PROFESSIONAL_ADVANCEMENT",{value:16,label:"Повышение квалификации",color:"success",name:"PROFESSIONAL_ADVANCEMENT"}),s(l,"PROFESSIONAL_RETRAINING",{value:17,label:"Профессиональная переподготовка",color:"danger",name:"PROFESSIONAL_RETRAINING"}),s(l,"PRESCHOOL_EDUCATION",{value:18,label:"Дошкольное образование",color:"success",name:"PRESCHOOL_EDUCATION"}),s(l,"PRIMARY_GENERAL_EDUCATION",{value:19,label:"Начальное общее образование",color:"success",name:"PRIMARY_GENERAL_EDUCATION"}),s(l,"BASIC_GENERAL_EDUCATION",{value:20,label:"Основное общее образование",color:"success",name:"BASIC_GENERAL_EDUCATION"}),s(l,"SECONDARY_GENERAL_EDUCATION",{value:21,label:"Среднее общее образование",color:"success",name:"SECONDARY_GENERAL_EDUCATION"}),s(l,"INTERNSHIP_PROGRAM",{value:22,label:"Интернатура",color:"light",name:"INTERNSHIP_PROGRAM"}),s(l,"ADDITIONAL_PREPROFESSIONAL_SPORT_PROGRAM",{value:23,label:"Дополнительная предпрофессиональная программа в сфере физической культуры и спорта",color:"info",name:"ADDITIONAL_PREPROFESSIONAL_SPORT_PROGRAM"}),s(l,"BASIC_HIGHER_EDUCATION",{value:24,label:"Базовое высшее образование",color:"success",name:"BASIC_HIGHER_EDUCATION"}),s(l,"SPECIALIZED_HIGHER_EDUCATION",{value:25,label:"Специализированное высшее образование",color:"success",name:"SPECIALIZED_HIGHER_EDUCATION"});const kt={name:"BaseMetaHead",data(){return{}},methods:{},props:{title:{type:String},description:{type:String},robots:{type:Array},og_title:{type:String},og_description:{type:String},og_image:{type:String}}};function Tt(n,e,a,v,d,m){return null}const St=f(kt,[["render",Tt]]),Ot={name:"Main",computed:{LevelEducational(){return l}},data(){return{sliderRef:null}},props:{posts:{type:Object},events:{type:Object},sliders:{type:Object},educations:{type:Object},icons:{type:String}},components:{PageResourceList:j,BaseMetaHead:St,ClientPost:$,MainPageNavBar:G,ClientFooterDown:F,ClientMainSlider:rt,ClientMainSliderSecond:Nt,Head:M,Link:k},methods:{setSliderRef(n){this.sliderRef=n}}},Ct={class:"max-w-screen-xl w-full mx-auto px-4 py-3 pb-10"},Pt={class:"grid gap-10 pb-10 md:grid-cols-2 lg:gap-10 xl:grid-cols-3"},Dt={class:"flex justify-center"},Mt=["href"],Lt={class:"max-w-[85rem] pb-10 sm:px-6 lg:px-8 lg:pb-14 mx-auto"},Ft={class:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6"},Gt={class:"aspect-w-16 aspect-h-10"},$t={class:"w-full h-[250px] object-cover rounded-xl bg-[#F8F9FB]"},jt={class:"flex flex-col px-5 py-5 w-full h-full"},Bt={class:"flex flex-col gap-3 mb-4"},Ht={class:"gap-3 flex items-center"},Ut={class:"shadow-sm"},zt={class:"block w-[35px] h-[27px] bg-white rounded-b text-center font-medium"},Vt={class:"block first-letter:uppercase"},Yt={class:"flex"},Jt={class:"bg-[#E9F2FE] text-sm text-blue-600 px-2 py-1 rounded block"},Kt={class:"flex gap-2"},Zt={key:0,class:"bg-[#E9F2FE] text-sm text-blue-600 px-2 py-1 rounded block"},Qt={key:1},Wt={class:"bg-[#E9F2FE] text-sm text-blue-600 px-2 py-1 rounded block"},qt={class:"mt-5 text-xl text-gray-800"},Xt={class:"flex justify-center"},te={class:"w-full mx-auto"},ee={class:"grid sm:grid-cols-2 lg:grid-cols-2 gap-6"},se={class:"group flex flex-col h-full bg-white hover:opacity-70 hover:border-secondDarkBlue duration-300 border border-gray-200 shadow-sm rounded-xl"},le={class:"p-4 md:p-6"},oe={class:"block mb-1 text-xs font-semibold uppercase text-blue-600"},re={class:"text-3xl font-semibold text-gray-800"},ie={class:"mt-auto p-4 md:p-6 grid grid-cols-2 lg:grid-cols-3 sm:space-y-0"},ne={class:"pb-4"},ae={class:"text-2xl font-semibold text-blue-600"},de={class:"pb-4"},ce={class:"text-2xl font-semibold text-blue-600"},pe={class:"pb-4"},ue={class:"text-2xl font-semibold text-blue-600"},me={class:"pb-4"},xe={class:"text-2xl font-semibold text-blue-600"},he={class:"pb-4"},ge={class:"text-2xl font-semibold text-blue-600"},_e={class:"group flex flex-col h-full bg-white hover:opacity-70 hover:border-secondDarkBlue duration-300 border border-gray-200 shadow-sm rounded-xl"},be={class:"mt-auto p-4 md:p-6 grid grid-cols-2 lg:grid-cols-3 sm:space-y-0 space-y-3"},fe={class:"pb-4"},ve={class:"text-2xl font-semibold text-blue-600"},we={class:"pb-4"},Ie={class:"text-2xl font-semibold text-blue-600"};function ye(n,e,a,v,d,m){const r=h("Head"),p=h("MainPageNavBar"),T=h("ClientMainSlider"),S=h("ClientPost"),w=h("Link"),O=h("PageResourceList"),C=h("ClientFooterDown");return i(),c(x,null,[g(r,null,{default:b(()=>e[0]||(e[0]=[t("title",null,"Главная",-1),t("meta",{name:"description",content:"Your page description"},null,-1),t("meta",{name:"robots",content:"index, follow"},null,-1),t("meta",{property:"og:title",content:"Заголовок страницы"},null,-1),t("meta",{property:"og:description",content:"Описание страницы"},null,-1),t("meta",{property:"og:image",content:"URL_изображения"},null,-1)])),_:1}),g(p,{sections:n.$page.props.navigation,"slider-ref":d.sliderRef},null,8,["sections","slider-ref"]),g(T,{onSliderMounted:m.setSliderRef,slidersCarousel:a.sliders},null,8,["onSliderMounted","slidersCarousel"]),t("section",Ct,[e[14]||(e[14]=t("h2",{class:"text-brand-primary my-6 md:mb-[50px] md:mt-[80px] text-2xl font-semibold tracking-tight text-black lg:text-[32px] lg:leading-tight"},"Последние новости",-1)),t("div",Pt,[(i(!0),c(x,null,_(a.posts.data,u=>(i(),R(S,{key:u.id,post:u},null,8,["post"]))),128))]),t("div",Dt,[t("a",{href:n.route("client.post.index"),class:"group mt-3 inline-flex items-center gap-x-1 text-sm font-semibold text-primaryBlue"},e[1]||(e[1]=[A(" Все новости "),t("svg",{class:"flex-shrink-0 size-4 transition ease-in-out group-hover:translate-x-1",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"},[t("path",{d:"m9 18 6-6-6-6"})],-1)]),8,Mt)]),e[15]||(e[15]=t("h2",{class:"text-brand-primary my-6 md:mb-[50px] md:mt-[80px] text-2xl font-semibold tracking-tight text-black lg:text-[32px] lg:leading-tight"},"Мероприятия",-1)),t("div",Lt,[t("div",Ft,[(i(!0),c(x,null,_(a.events.data,u=>(i(),R(w,{class:"group hover:bg-gray-100 rounded-xl p-5 transition-all",href:n.route("client.event.show",u.slug)},{default:b(()=>[t("div",Gt,[t("div",$t,[t("div",jt,[t("div",Bt,[t("div",Ht,[t("div",Ut,[e[2]||(e[2]=t("div",{class:"block w-[35px] h-[8px] bg-red-400 rounded-t"},null,-1)),t("div",zt,o(u.event_date_start.day),1)]),t("span",Vt,o(u.event_date_start.month),1),t("div",Yt,[t("span",Jt,"Начало - "+o(u.event_date_start.time),1)])])]),t("div",Kt,[u.is_online===1?(i(),c("span",Zt,"Онлайн")):E("",!0),u.is_online===0?(i(),c("div",Qt,[t("span",Wt,o(u.address),1)])):E("",!0)])])])]),t("h3",qt,o(u.title),1),e[3]||(e[3]=t("p",{class:"mt-3 inline-flex items-center gap-x-1 text-sm font-semibold text-gray-800"},[A(" Перейти "),t("svg",{class:"flex-shrink-0 size-4 transition ease-in-out group-hover:translate-x-1",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"},[t("path",{d:"m9 18 6-6-6-6"})])],-1))]),_:2},1032,["href"]))),256))])]),t("div",Xt,[g(w,{href:n.route("client.event.index"),class:"group mt-3 inline-flex items-center gap-x-1 text-sm font-semibold text-[#1A5AAF]"},{default:b(()=>e[4]||(e[4]=[A(" Все мероприятия "),t("svg",{class:"flex-shrink-0 size-4 transition ease-in-out group-hover:translate-x-1",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"},[t("path",{d:"m9 18 6-6-6-6"})],-1)])),_:1},8,["href"])]),e[16]||(e[16]=t("h2",{class:"text-brand-primary my-10 md:mb-[50px] md:mt-[80px] text-2xl font-semibold tracking-tight text-black lg:text-[32px] lg:leading-tight"},"Образование",-1)),t("div",te,[t("div",ee,[(i(!0),c(x,null,_(a.educations.admission_campaign,(u,y)=>(i(),R(w,{href:n.route("client.program.index",{level:m.LevelEducational[y].name})},{default:b(()=>[t("div",se,[t("div",le,[t("span",oe,o(m.LevelEducational[y].type_label),1),t("h3",re,o(m.LevelEducational[y].label),1),e[5]||(e[5]=t("p",{class:"mt-3 text-gray-500"}," Построй свою индивидуальную траекторию ",-1))]),t("div",ie,[t("div",ne,[t("p",ae,o(u.total_programs),1),e[6]||(e[6]=t("p",{class:"mt-1 text-sm text-gray-500"},"Программ",-1))]),t("div",de,[t("p",ce,o(u.places.och_count),1),e[7]||(e[7]=t("p",{class:"mt-1 text-sm text-gray-500"},"Очных",-1))]),t("div",pe,[t("p",ue,o(u.places.zaoch_count),1),e[8]||(e[8]=t("p",{class:"mt-1 text-sm text-gray-500"},"Заочных",-1))]),t("div",me,[t("p",xe,o(u.places.budget_places),1),e[9]||(e[9]=t("p",{class:"mt-1 text-sm text-gray-500"},"Бюджетных",-1))]),t("div",he,[t("p",ge,o(u.places.non_budget_places),1),e[10]||(e[10]=t("p",{class:"mt-1 text-sm text-gray-500"},"Платных",-1))])])])]),_:2},1032,["href"]))),256)),g(w,{href:n.route("client.additionalEducation.index")},{default:b(()=>[t("div",_e,[e[13]||(e[13]=t("div",{class:"p-4 md:p-6"},[t("span",{class:"block mb-1 text-xs font-semibold uppercase text-blue-600"}," Доп. образование "),t("h3",{class:"text-3xl font-semibold text-gray-800"}," Дополнительное образование "),t("p",{class:"mt-3 text-gray-500"}," Построй свою индивидуальную траекторию ")],-1)),t("div",be,[t("div",fe,[t("p",ve,o(a.educations.additional_education.educations_count),1),e[11]||(e[11]=t("p",{class:"mt-1 text-sm text-gray-500"},"Программ",-1))]),t("div",we,[t("p",Ie,o(a.educations.additional_education.categories_count),1),e[12]||(e[12]=t("p",{class:"mt-1 text-sm text-gray-500"},"Направлений",-1))])])])]),_:1},8,["href"])])]),g(O,{"resource-id":"glavnaia-stranica-resurs"})]),e[17]||(e[17]=L('

Контакты

Главный корпус

622031, Нижний Тагил, Красногвардейская 57

Свяжитесь с нами

+7(906)-802-55-59

ntgspi@yandex.ru

Приемная комиссия

Расписание

Понедельник - Пятница с 08.30 до 17.00

Ответственный секретарь приемной комиссии

+7(906)-802-55-59

ntgspi@yandex.ru

Полезное

Главный корпус

Понедельник - Пятница
с 08.30 до 17.00

Ответственный секретарь
приемной комиссии

+7(906)-802-55-59

ntgspi@yandex.ru

',1)),g(C)],64)}const Pe=f(Ot,[["render",ye]]);export{Pe as default}; diff --git a/public/build/assets/MainNavbar-5-nqk6c_.js b/public/build/assets/MainNavbar-5-nqk6c_.js deleted file mode 100644 index 1da7adc..0000000 --- a/public/build/assets/MainNavbar-5-nqk6c_.js +++ /dev/null @@ -1 +0,0 @@ -import{i as y,r as d,o,c as l,b as e,a as r,w as v,k as w,F as i,d as m,t as u,n as _}from"./app-lT3z3TR3.js";import{S as k,M as S,B,a as M}from"./SearchModal-YI3bdWA9.js";/* empty css */import{_ as N}from"./_plugin-vue_export-helper-DlAUqK2U.js";const j={name:"MainNavBar",props:{sections:{type:Object}},data(){return{}},components:{SearchModal:k,MobileNavbar:S,BaseIcon:B,ClientGlobalSearch:M,Link:y},methods:{isSameRoute(s){if(s===this.$page.props.ziggy.location)return!0;const t=this.$page.props.ziggy.location,n=this.$page.props.ziggy.url+"/"+s;return t===n},hasActivePage(s){if(s.pages)return s.pages.some(t=>this.isSameRoute(t.path));if(s.subSections)return s.subSections.some(t=>this.hasActivePage(t))}}},z={class:"flex duration-500 fixed top-0 left-0 right-0 flex-wrap lg:justify-start lg:flex-nowrap z-50 w-full text-sm py-3 lg:py-0 header-filter"},C={class:"max-w-screen-xl w-full mx-auto px-4 py-3","aria-label":"Global"},L={class:"relative lg:flex lg:items-center lg:justify-between"},I={class:"flex items-center justify-between"},R={id:"navbar-collapse-with-animation",class:"hs-collapse hidden overflow-hidden transition-all duration-300 basis-full grow lg:block"},$={class:"overflow-hidden overflow-y-auto max-h-[75vh] [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300"},V={class:"flex flex-col gap-x-0 mt-5 md:flex-row md:items-center md:justify-end md:gap-x-7 md:mt-0 md:ps-7 md:divide-y-0 md:divide-solid"},A={type:"button",class:"active:text-blue-600 flex items-center w-full text-black hover:text-gray-300 font-medium"},D={class:"hs-dropdown-menu transition-opacity duration-150 md:duration-500 hs-dropdown-open:opacity-100 opacity-0 w-full hidden z-10 top-full start-0 min-w-[15rem] bg-white md:shadow-2xl rounded-lg py-2 md:p-4 before:absolute before:-top-5 before:start-0 before:w-full before:h-5"},F={class:"grid px-5 grid-cols-1 md:grid-cols-10"},G={class:"flex flex-col py-6 px-3 md:px-6"},P={class:"space-y-4"},E={class:"flex items-center mb-2 gap-x-2"},O={class:"text-xs font-bold uppercase text-gray-800"},U=["href"],q={class:"grow"},H={href:"#",class:"hover:opacity-70 py-3 className"},J={class:"hover:opacity-70 py-3 cursor-pointer","data-hs-overlay":"#hs-full-screen-modal-below-md"};function K(s,t,n,Q,T,f){const b=d("Link"),c=d("BaseIcon"),x=d("MobileNavbar"),g=d("SearchModal");return o(),l(i,null,[e("header",z,[e("nav",C,[e("div",L,[e("div",I,[r(b,{class:"flex-none text-xl font-semibold",href:"/","aria-label":"Brand"},{default:v(()=>t[0]||(t[0]=[e("img",{class:"max-w-[300px]",src:"/logos/ntspi-logo.svg",alt:""},null,-1)])),_:1}),t[1]||(t[1]=w('
',1))]),e("div",R,[e("div",$,[e("div",V,[(o(!0),l(i,null,m(this.sections.data,h=>(o(),l("div",{key:h.id,class:"hs-dropdown [--strategy:static] md:[--strategy:absolute] [--adaptive:none] md:[--trigger:hover] py-3 md:py-6"},[e("button",A,u(h.title),1),e("div",D,[e("div",F,[(o(!0),l(i,null,m(h.subSections,p=>(o(),l("div",{key:p.id,class:"md:col-span-3"},[e("div",G,[e("div",P,[e("div",E,[e("span",O,u(p.title),1)]),(o(!0),l(i,null,m(p.pages,a=>(o(),l("a",{key:a.id,class:_([{"text-secondDarkBlue hover:text-gray-800 font-semibold ":f.isSameRoute(a.path),"text-gray-800 hover:text-gray-500":!f.isSameRoute(a.path)},"flex items-center gap-x-2"]),href:a.is_url?a.path:s.route("page.view",a.path)+"/"},[e("div",q,[e("p",null,u(a.title),1)])],10,U))),128))])])]))),128))])])]))),128)),e("a",H,[r(c,{name:"eye",class:"w-6 h-6 duration-300 md:block hidden"}),t[2]||(t[2]=e("span",{class:"md:hidden"},"Режим для слабовидящих",-1))]),r(b,{href:s.route("client.schedule"),class:"hover:opacity-70 py-3"},{default:v(()=>[r(c,{name:"schedule",class:"w-6 h-6 text-black md:block hidden"}),t[3]||(t[3]=e("span",{class:"md:hidden text-black"},"Расписание",-1))]),_:1},8,["href"]),e("a",J,[r(c,{name:"search",class:"w-6 h-6 text-black md:block hidden"}),t[4]||(t[4]=e("span",{class:"md:hidden text-black"},"Поиск",-1))])])])])])])]),r(x,{sections:n.sections},null,8,["sections"]),r(g,{open_id:"hs-full-screen-modal-below-md"})],64)}const ee=N(j,[["render",K],["__scopeId","data-v-dc2022ad"]]);export{ee as M}; diff --git a/public/build/assets/MainPageNavbar-BfM50q-7.js b/public/build/assets/MainPageNavbar-BfM50q-7.js deleted file mode 100644 index 04294a3..0000000 --- a/public/build/assets/MainPageNavbar-BfM50q-7.js +++ /dev/null @@ -1,105 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SearchModal-YI3bdWA9.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/app-lT3z3TR3.js","assets/app-CUj9x2C4.css","assets/SearchModal-XsSd7Wc_.css"])))=>i.map(i=>d[i]); -import{bU as Ce,f as ze,i as xe,r as ie,o as N,c as P,b as g,F as ne,d as fe,n as I,j as je,t as me,a as re,w as De,_ as Fe,k as Ne,B as Pe}from"./app-lT3z3TR3.js";import{j as Te,B as Le,S as Me,M as Re,a as Ge}from"./SearchModal-YI3bdWA9.js";import{_ as Be}from"./_plugin-vue_export-helper-DlAUqK2U.js";var Ee={exports:{}};/*! - * Button visually impaired - v1.0.0 https://bvi.isvek.ru - * Copyright 2014-2021 Oleg Korotenko . - * Licensed MIT (https://github.com/veks/button-visually-impaired-javascript/blob/master/LICENSE.md) - */(function(y,w){(function(L,$){y.exports=$()})(Ce,function(){function L(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(a,s).enumerable})),t.push.apply(t,n)}return t}function $(a){for(var e=1;ea.length)&&(e=a.length);for(var t=0,n=new Array(e);t=0;--v){var l=this.tryEntries[v],A=l.completion;if(l.tryLoc==="root")return c("end");if(l.tryLoc<=this.prev){var O=x.call(l,"catchLoc"),F=x.call(l,"finallyLoc");if(O&&F){if(this.prev=0;--c){var v=this.tryEntries[c];if(v.tryLoc<=this.prev&&x.call(v,"finallyLoc")&&this.prev=0;--i){var c=this.tryEntries[i];if(c.finallyLoc===r)return this.complete(c.completion,c.afterLoc),ue(c),p}},catch:function(r){for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i];if(c.tryLoc===r){var v=c.completion;if(v.type==="throw"){var l=v.arg;ue(c)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,i,c){return this.delegate={iterator:he(r),resultName:i,nextLoc:c},this.method==="next"&&(this.arg=n),p}},t}({});try{regeneratorRuntime=e}catch{(typeof globalThis>"u"?"undefined":T(globalThis))==="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}})(),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(a){a.hasOwnProperty("prepend")||Object.defineProperty(a,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),t=document.createDocumentFragment();e.forEach(function(n){var s=n instanceof Node;t.appendChild(s?n:document.createTextNode(String(n)))}),this.insertBefore(t,this.firstChild)}})}),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),window.HTMLCollection&&!HTMLCollection.prototype.forEach&&(HTMLCollection.prototype.forEach=Array.prototype.forEach);var D=function(a){switch(a){case"on":case"true":case"1":return!0;default:return!1}},pe=function(a,e,t){for(typeof e=="string"&&(e=document.createElement(e)),a.appendChild(e).className=t;a.firstChild!==e;)e.appendChild(a.firstChild)},oe=function(a){var e=document.createDocumentFragment();if(a){for(;a.firstChild;){var t=a.removeChild(a.firstChild);e.appendChild(t)}a.parentNode.replaceChild(e,a)}},J=function(a,e){Object.keys(a).forEach(function(t){typeof e=="function"&&e(t)})},ae=function(a,e){Array.from(a).forEach(function(t){typeof e=="function"&&e(t)})},Y=function(){return window.speechSynthesis},_=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",t=new Date,n=t.getTime();n+=864e5,t.setTime(n),document.cookie="bvi_".concat(a,"=").concat(e,";path=/;expires=").concat(t.toUTCString(),";domain=").concat(location.host)},B=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";a="bvi_".concat(a,"=");for(var e=decodeURIComponent(document.cookie),t=e.split(";"),n=0;n0&&arguments[0]!==void 0?arguments[0]:"";document.cookie="bvi_".concat(a,"=;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=").concat(location.host)},ge={"ru-RU":{text:{fontSize:"Размер шрифта",siteColors:"Цвета сайта",images:"Изображения",speech:"Синтез речи",settings:"Настройки",regularVersionOfTheSite:"Обычная версия сайта",letterSpacing:"Межбуквенное расстояние",normal:"Стандартный",average:"Средний",big:"Большой",lineHeight:"Межстрочный интервал",font:"Шрифт",arial:"Без засечек",times:"С засечками",builtElements:"Встроенные элементы (Видео, карты и тд.)",on:"Включить",off:"Выключить",reset:"Сбросить настройки",plural_0:"пиксель",plural_1:"пекселя",plural_2:"пикселей"},voice:{fontSizePlus:"Размер шрифта увели́чен",fontSizeMinus:"Размер шрифта уме́ньшен",siteColorBlackOnWhite:"Цвет сайта черным по белому",siteColorWhiteOnBlack:"Цвет сайта белым по черному",siteColorDarkBlueOnBlue:"Цвет сайта тёмно-синим по голубому",siteColorBeigeBrown:"Цвет сайта кори́чневым по бе́жевому",siteColorGreenOnDarkBrown:"Цвет сайта зеленым по тёмно-коричневому",imagesOn:"Изображения включены",imagesOFF:"Изображения выключены",imagesGrayscale:"Изображения чёрно-белые",speechOn:"Синтез речи включён",speechOff:"Синтез речи вы́ключен",lineHeightNormal:"Межстрочный интервал стандартный",lineHeightAverage:"Межстрочный интервал средний",lineHeightBig:"Межстрочный интервал большой",LetterSpacingNormal:"Интервал между буквами стандартный",LetterSpacingAverage:"Интервал между буквами средний",LetterSpacingBig:"Интервал между буквами большой",fontArial:"Шрифт без засечек",fontTimes:"Шрифт с засечками",builtElementsOn:"Встроенные элементы включены",builtElementsOFF:"Встроенные элементы выключены",resetSettings:"Установлены настройки по умолча́нию",panelShow:"Панель открыта",panelHide:"Панель скрыта",panelOn:"Версия сайта для слабови́дящий",panelOff:"Обычная версия сайта"}},"en-US":{text:{fontSize:"Font size",siteColors:"Site colors",images:"Images",speech:"Speech synthesis",settings:"Settings",regularVersionOfTheSite:"Regular version Of The site",letterSpacing:"Letter spacing",normal:"Single",average:"One and a half",big:"Double",lineHeight:"Line spacing",font:"Font",arial:"Sans Serif - Arial",times:"Serif - Times New Roman",builtElements:"Include inline elements (Videos, maps, etc.)",on:"Enable",off:"Disabled",reset:"Reset settings",plural_0:"pixel",plural_1:"pixels",plural_2:"pixels"},voice:{fontSizePlus:"Font size increased",fontSizeMinus:"Font size reduced",siteColorBlackOnWhite:"Site color black on white",siteColorWhiteOnBlack:"Site color white on black",siteColorDarkBlueOnBlue:"Site color dark blue on cyan",siteColorBeigeBrown:"SiteColorBeigeBrown",siteColorGreenOnDarkBrown:"Site color green on dark brown",imagesOn:"Images enable",imagesOFF:"Images disabled",imagesGrayscale:"Images gray scale",speechOn:"Synthesis speech enable",speechOff:"Synthesis speech disabled",lineHeightNormal:"Line spacing single",lineHeightAverage:"Line spacing one and a half",lineHeightBig:"Line spacing double",LetterSpacingNormal:"Letter spacing single",LetterSpacingAverage:"Letter spacing one and a half",LetterSpacingBig:"Letter spacing letter double",fontArial:"Sans Serif - Arial",fontTimes:"Serif - Times New Roman",builtElementsOn:"Include inline elements are enabled",builtElementsOFF:"Include inline elements are disabled",resetSettings:"Default settings have been set",panelShow:"Panel show",panelHide:"Panel hide",panelOn:"Site version for visually impaired",panelOff:"Regular version of the site"}}},Ae=function(){function a(e){W(this,a),this._config=e}return j(a,[{key:"t",value:function(e){return ge[this._config.lang].text[e]}},{key:"v",value:function(e){return ge[this._config.lang].voice[e]}}]),a}(),be={target:".bvi-open",fontSize:16,theme:"white",images:"grayscale",letterSpacing:"normal",lineHeight:"normal",speech:!0,fontFamily:"arial",builtElements:!1,panelFixed:!0,panelHide:!1,reload:!1,lang:"ru-RU"},Oe={target:"string",fontSize:"number",theme:"string",images:"(string|boolean)",letterSpacing:"string",lineHeight:"string",speech:"boolean",fontFamily:"string",builtElements:"boolean",panelFixed:"boolean",panelHide:"boolean",reload:"boolean",lang:"string"},He={target:"",fontSize:"(^[1-9]$|^[1-3][0-9]?$|^39$)",theme:"(white|black|blue|brown|green)",images:"(true|false|grayscale)",letterSpacing:"(normal|average|big)",lineHeight:"(normal|average|big)",speech:"(true|false)",fontFamily:"(arial|times)",builtElements:"(true|false)",panelFixed:"(true|false)",panelHide:"(true|false)",reload:"(true|false)",lang:"(ru-RU|en-US)"};return{Bvi:function(){function a(e){W(this,a),this._config=this._getConfig(e),this._elements=document.querySelectorAll(this._config.target),this._i18n=new Ae({lang:this._config.lang}),this._addEventListeners(),this._init(),console.log("Bvi console: ready Button visually impaired v1.0.0")}return j(a,[{key:"_init",value:function(){J(this._config,function(e){B(e)===void 0&&se("panelActive")}),D(B("panelActive"))?(this._set(),this._getPanel(),this._addEventListenersPanel(),this._images(),this._speechPlayer(),"speechSynthesis"in window&&D(B("speech"))&&setInterval(function(){if(Y().pending===!1){var e=document.querySelectorAll(".bvi-speech-play"),t=document.querySelectorAll(".bvi-speech-pause"),n=document.querySelectorAll(".bvi-speech-resume"),s=document.querySelectorAll(".bvi-speech-stop"),x=function(o,S){o.forEach(function(f){return S(f)})};x(e,function(o){return o.classList.remove("disabled")}),x(t,function(o){return o.classList.add("disabled")}),x(n,function(o){return o.classList.add("disabled")}),x(s,function(o){return o.classList.add("disabled")})}},1e3)):this._remove()}},{key:"_addEventListeners",value:function(){var e=this;if(!this._elements)return!1;this._elements.forEach(function(t){t.addEventListener("click",function(n){n.preventDefault(),J(e._config,function(s){return _(s,e._config[s])}),_("panelActive",!0),e._init(),e._speech("".concat(e._i18n.v("panelOn")))})})}},{key:"_addEventListenersPanel",value:function(){var e=this,t={fontSizeMinus:document.querySelector(".bvi-fontSize-minus"),fontSizePlus:document.querySelector(".bvi-fontSize-plus"),themeWhite:document.querySelector(".bvi-theme-white"),themeBlack:document.querySelector(".bvi-theme-black"),themeBlue:document.querySelector(".bvi-theme-blue"),themeBrown:document.querySelector(".bvi-theme-brown"),themeGreen:document.querySelector(".bvi-theme-green"),imagesOn:document.querySelector(".bvi-images-on"),imagesOff:document.querySelector(".bvi-images-off"),imagesGrayscale:document.querySelector(".bvi-images-grayscale"),speechOn:document.querySelector(".bvi-speech-on"),speechOff:document.querySelector(".bvi-speech-off"),lineHeightNormal:document.querySelector(".bvi-line-height-normal"),lineHeightAverage:document.querySelector(".bvi-line-height-average"),lineHeightBig:document.querySelector(".bvi-line-height-big"),letterSpacingNormal:document.querySelector(".bvi-letter-spacing-normal"),letterSpacingAverage:document.querySelector(".bvi-letter-spacing-average"),letterSpacingBig:document.querySelector(".bvi-letter-spacing-big"),fontFamilyArial:document.querySelector(".bvi-font-family-arial"),fontFamilyTimes:document.querySelector(".bvi-font-family-times"),builtElementsOn:document.querySelector(".bvi-built-elements-on"),builtElementsOff:document.querySelector(".bvi-built-elements-off"),reset:document.querySelector(".bvi-reset"),links:document.querySelectorAll(".bvi-link"),modal:document.querySelector(".bvi-modal")},n=function(o){var S,f=function(m,u){var d=typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(!d){if(Array.isArray(m)||(d=function(p,R){if(p){if(typeof p=="string")return M(p,R);var E=Object.prototype.toString.call(p).slice(8,-1);return E==="Object"&&p.constructor&&(E=p.constructor.name),E==="Map"||E==="Set"?Array.from(p):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?M(p,R):void 0}}(m))||u){d&&(m=d);var h=0,b=function(){};return{s:b,n:function(){return h>=m.length?{done:!0}:{done:!1,value:m[h++]}},e:function(p){throw p},f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var H,C=!0,q=!1;return{s:function(){d=d.call(m)},n:function(){var p=d.next();return C=p.done,p},e:function(p){q=!0,H=p},f:function(){try{C||d.return==null||d.return()}finally{if(q)throw H}}}}(o.parentNode.children);try{for(f.s();!(S=f.n()).done;)S.value.classList.remove("active")}catch(m){f.e(m)}finally{f.f()}o.classList.add("active")},s=function(o,S){o.addEventListener("click",function(f){f.preventDefault(),typeof S=="function"&&S(f)})},x=function(){document.querySelectorAll(".bvi-link").forEach(function(o){o.classList.remove("active")}),J(e._config,function(o){if(o==="theme"){var S=B(o);document.querySelector(".bvi-theme-".concat(S)).classList.add("active")}if(o==="images"){var f=B(o)==="grayscale"?"grayscale":D(B(o))?"on":"off";document.querySelector(".bvi-images-".concat(f)).classList.add("active")}if(o==="speech"){var m=D(B(o))?"on":"off";document.querySelector(".bvi-speech-".concat(m)).classList.add("active")}if(o==="lineHeight"){var u=B(o);document.querySelector(".bvi-line-height-".concat(u)).classList.add("active")}if(o==="letterSpacing"){var d=B(o);document.querySelector(".bvi-letter-spacing-".concat(d)).classList.add("active")}if(o==="fontFamily"){var h=B(o);document.querySelector(".bvi-font-family-".concat(h)).classList.add("active")}if(o==="builtElements"){var b=D(B(o))?"on":"off";document.querySelector(".bvi-built-elements-".concat(b)).classList.add("active")}})};x(),s(t.fontSizeMinus,function(){var o=parseFloat(B("fontSize"))-1;o!==0&&(e._setAttrDataBviBody("fontSize",o),_("fontSize",o),e._speech("".concat(e._i18n.v("fontSizeMinus"))),n(t.fontSizeMinus))}),s(t.fontSizePlus,function(){var o=parseFloat(B("fontSize"))+1;o!==40&&(e._setAttrDataBviBody("fontSize",o),_("fontSize",o),e._speech("".concat(e._i18n.v("fontSizePlus"))),n(t.fontSizePlus))}),s(t.themeWhite,function(){e._setAttrDataBviBody("theme","white"),_("theme","white"),e._speech("".concat(e._i18n.v("siteColorBlackOnWhite"))),n(t.themeWhite)}),s(t.themeBlack,function(){e._setAttrDataBviBody("theme","black"),_("theme","black"),e._speech("".concat(e._i18n.v("siteColorWhiteOnBlack"))),n(t.themeBlack)}),s(t.themeBlue,function(){e._setAttrDataBviBody("theme","blue"),_("theme","blue"),e._speech("".concat(e._i18n.v("siteColorDarkBlueOnBlue"))),n(t.themeBlue)}),s(t.themeBrown,function(){e._setAttrDataBviBody("theme","brown"),_("theme","brown"),e._speech("".concat(e._i18n.v("siteColorBeigeBrown"))),n(t.themeBrown)}),s(t.themeGreen,function(){e._setAttrDataBviBody("theme","green"),_("theme","green"),e._speech("".concat(e._i18n.v("siteColorGreenOnDarkBrown"))),n(t.themeGreen)}),s(t.imagesOn,function(){e._setAttrDataBviBody("images","true"),_("images","true"),e._speech("".concat(e._i18n.v("imagesOn"))),n(t.imagesOn)}),s(t.imagesOff,function(){e._setAttrDataBviBody("images","false"),_("images","false"),e._speech("".concat(e._i18n.v("imagesOFF"))),n(t.imagesOff)}),s(t.imagesGrayscale,function(){e._setAttrDataBviBody("images","grayscale"),_("images","grayscale"),e._speech("".concat(e._i18n.v("imagesGrayscale"))),n(t.imagesGrayscale)}),s(t.speechOn,function(){e._setAttrDataBviBody("speech","true"),_("speech","true"),e._speech("".concat(e._i18n.v("speechOn"))),n(t.speechOn),e._speechPlayer()}),s(t.speechOff,function(){e._speech("".concat(e._i18n.v("speechOff"))),e._setAttrDataBviBody("speech","false"),_("speech","false"),n(t.speechOff),e._speechPlayer()}),s(t.lineHeightNormal,function(){e._setAttrDataBviBody("lineHeight","normal"),_("lineHeight","normal"),e._speech("".concat(e._i18n.v("lineHeightNormal"))),n(t.lineHeightNormal)}),s(t.lineHeightAverage,function(){e._setAttrDataBviBody("lineHeight","average"),_("lineHeight","average"),e._speech("".concat(e._i18n.v("lineHeightAverage"))),n(t.lineHeightAverage)}),s(t.lineHeightBig,function(){e._setAttrDataBviBody("lineHeight","big"),_("lineHeight","big"),e._speech("".concat(e._i18n.v("lineHeightBig"))),n(t.lineHeightBig)}),s(t.letterSpacingNormal,function(){e._setAttrDataBviBody("letterSpacing","normal"),_("letterSpacing","normal"),e._speech("".concat(e._i18n.v("LetterSpacingNormal"))),n(t.letterSpacingNormal)}),s(t.letterSpacingAverage,function(){e._setAttrDataBviBody("letterSpacing","average"),_("letterSpacing","average"),e._speech("".concat(e._i18n.v("LetterSpacingAverage"))),n(t.letterSpacingAverage)}),s(t.letterSpacingBig,function(){e._setAttrDataBviBody("letterSpacing","big"),_("letterSpacing","big"),e._speech("".concat(e._i18n.v("LetterSpacingBig"))),n(t.letterSpacingBig)}),s(t.fontFamilyArial,function(){e._setAttrDataBviBody("fontFamily","arial"),_("fontFamily","arial"),e._speech("".concat(e._i18n.v("fontArial"))),n(t.fontFamilyArial)}),s(t.fontFamilyTimes,function(){e._setAttrDataBviBody("fontFamily","times"),_("fontFamily","times"),e._speech("".concat(e._i18n.v("fontTimes"))),n(t.fontFamilyTimes)}),s(t.builtElementsOn,function(){e._setAttrDataBviBody("builtElements","true"),_("builtElements","true"),e._speech("".concat(e._i18n.v("builtElementsOn"))),n(t.builtElementsOn)}),s(t.builtElementsOff,function(){e._setAttrDataBviBody("builtElements","false"),_("builtElements","false"),e._speech("".concat(e._i18n.v("builtElementsOFF"))),n(t.builtElementsOff)}),s(t.reset,function(){e._speech("".concat(e._i18n.v("resetSettings"))),J(e._config,function(o){e._setAttrDataBviBody(o,e._config[o]),_(o,e._config[o]),x()})}),ae(t.links,function(o){s(o,function(S){var f=S.target.getAttribute("data-bvi");f==="close"&&(e._setAttrDataBviBody("panelActive","false"),_("panelActive","false"),e._init()),f==="modal"&&(document.body.style.overflow="hidden",document.body.classList.add("bvi-noscroll"),t.modal.classList.toggle("show")),f==="modal-close"&&(document.body.classList.remove("bvi-noscroll"),document.body.style.overflow="",t.modal.classList.remove("show")),f==="panel-hide"&&(document.querySelector(".bvi-panel").classList.add("bvi-panel-hide"),document.querySelector(".bvi-link-fixed-top").classList.remove("bvi-hide"),document.querySelector(".bvi-link-fixed-top").classList.add("bvi-show"),_("panelHide","true"),e._speech("".concat(e._i18n.v("panelHide")))),f==="panel-show"&&(document.querySelector(".bvi-link-fixed-top").classList.remove("bvi-show"),document.querySelector(".bvi-link-fixed-top").classList.add("bvi-hide"),document.querySelector(".bvi-panel").classList.remove("bvi-panel-hide"),_("panelHide","false"),e._speech("".concat(e._i18n.v("panelShow"))))})}),s(t.modal,function(o){o.target.contains(t.modal)&&(document.body.classList.remove("bvi-noscroll"),document.body.style.overflow="",t.modal.classList.remove("show"))})}},{key:"_getPanel",value:function(){var e=function(){var o=window.pageYOffset!==void 0?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop;D(B("panelFixed"))&&(o>200?document.querySelector(".bvi-panel").classList.add("bvi-fixed-top"):document.querySelector(".bvi-panel").classList.remove("bvi-fixed-top"))},t=D(B("panelHide"))?" bvi-panel-hide":"",n=D(B("panelHide"))?"bvi-show":" bvi-hide",s=` -
-
-
-
`).concat(this._i18n.t("fontSize"),`
- А- - А+ -
-
-
`).concat(this._i18n.t("siteColors"),`
- Ц - Ц - Ц - Ц - Ц -
-
-
`).concat(this._i18n.t("images"),`
- - - - - - - - - -
-
-
`).concat(this._i18n.t("speech"),`
- - - - - - -
-
-
`).concat(this._i18n.t("settings"),`
- - - - - `).concat(this._i18n.t("regularVersionOfTheSite"),` - - - - -
-
-
-
-
-
-
`).concat(this._i18n.t("settings"),`
- × -
- - -
-
-
-
`),x='')+'';window.addEventListener("scroll",e),document.querySelector(".bvi-body").insertAdjacentHTML("beforebegin",s),document.querySelector(".bvi-body").insertAdjacentHTML("afterbegin",x),e()}},{key:"_set",value:function(){var e=this;document.body.classList.add("bvi-active"),pe(document.body,"div","bvi-body"),J(this._config,function(t){return e._setAttrDataBviBody(t,B(t))}),ae(this._elements,function(t){return t.style.display="none"}),document.querySelectorAll("img").forEach(function(t){t.classList.contains("bvi-img")&&t.classList.remove("bvi-img")}),document.querySelectorAll("body *").forEach(function(t){t.classList.contains("bvi-background-image")&&t.classList.remove("bvi-background-image")})}},{key:"_remove",value:function(){var e=document.querySelector(".bvi-panel"),t=document.querySelector(".bvi-body"),n=document.querySelector(".bvi-link-fixed-top");e&&e.remove(),t&&oe(t),n&&n.remove(),this._speech("".concat(this._i18n.v("panelOff"))),document.body.classList.remove("bvi-active"),ae(this._elements,function(s){return s.style.display=""}),D(B("reload"))&&document.location.reload(),J(this._config,function(s){se(s)}),this._speechPlayer(),se("panelActive")}},{key:"_images",value:function(){document.querySelectorAll("img").forEach(function(e){e.classList.contains("bvi-no-style")||e.classList.add("bvi-img")}),document.querySelectorAll(".bvi-body *").forEach(function(e){var t=getComputedStyle(e);t.backgroundImage==="none"||t.background==="none"||e.classList.contains("bvi-no-style")||e.classList.add("bvi-background-image")})}},{key:"_getConfig",value:function(e){e=$($({},be),e);var t={};for(var n in be)t[n]=e[n];return function(s,x,o){Object.keys(x).forEach(function(S){var f,m=x[S],u=s[S],d=u&&(f=u)&&T(f)==="object"&&f.nodeType!==void 0?"element":function(h){return h==null?"".concat(h):{}.toString.call(h).match(/\s([a-z]+)/i)[1].toLowerCase()}(u);if(!new RegExp(m).test(d))throw new TypeError('Bvi console: Опция "'.concat(S,'" предоставленный тип "').concat(d,'", ожидаемый тип "').concat(m,'".'))}),Object.keys(o).forEach(function(S){var f=o[S],m=s[S];if(!new RegExp(f).test(m))throw new TypeError('Bvi console: Опция "'.concat(S,'" параметр "').concat(m,'", ожидаемый параметр "').concat(f,'".'))})}(t,Oe,He),t}},{key:"_setAttrDataBviBody",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";document.querySelector(".bvi-body").setAttribute("data-bvi-".concat(e),t)}},{key:"_speechPlayer",value:function(){var e=this,t=document.querySelectorAll(".bvi-speech-text"),n=document.querySelectorAll(".bvi-speech-link"),s=document.querySelectorAll(".bvi-speech");if("speechSynthesis"in window&&D(B("speech"))){if(s){t&&t.forEach(function(u){return oe(u)}),n&&n.forEach(function(u){return u.remove()}),s.forEach(function(u,d){var h="bvi-speech-text-id-".concat(d+1);pe(u,"div","bvi-speech-text ".concat(h)),u.insertAdjacentHTML("afterbegin",` - `)});var x=document.querySelectorAll(".bvi-speech-play"),o=document.querySelectorAll(".bvi-speech-pause"),S=document.querySelectorAll(".bvi-speech-resume"),f=document.querySelectorAll(".bvi-speech-stop"),m=function(u,d){u.forEach(function(h){h.addEventListener("click",function(b){if(b.preventDefault(),typeof d=="function")return d(h,b)},!1)})};m(x,function(u,d){var h=d.target,b=h.parentNode.nextElementSibling,H=d.target.closest(".bvi-speech-link"),C=document.querySelectorAll(".bvi-speech-play"),q=document.querySelectorAll(".bvi-speech-pause"),p=document.querySelectorAll(".bvi-speech-resume"),R=document.querySelectorAll(".bvi-speech-stop");e._speech(b.textContent,b,!0),C.forEach(function(E){return E.classList.remove("disabled")}),q.forEach(function(E){return E.classList.add("disabled")}),p.forEach(function(E){return E.classList.add("disabled")}),R.forEach(function(E){return E.classList.add("disabled")}),h.classList.add("disabled"),H.querySelector(".bvi-speech-pause").classList.remove("disabled"),H.querySelector(".bvi-speech-stop").classList.remove("disabled")}),m(o,function(u,d){var h=d.target,b=d.target.closest(".bvi-speech-link");h.classList.add("disabled"),b.querySelector(".bvi-speech-resume").classList.remove("disabled"),Y().pause()}),m(S,function(u,d){var h=d.target,b=d.target.closest(".bvi-speech-link");h.classList.add("disabled"),b.querySelector(".bvi-speech-pause").classList.remove("disabled"),Y().resume()}),m(f,function(u,d){var h=d.target,b=d.target.closest(".bvi-speech-link");h.classList.add("disabled"),b.querySelector(".bvi-speech-pause").classList.add("disabled"),b.querySelector(".bvi-speech-play").classList.remove("disabled"),Y().cancel()})}}else t&&t.forEach(function(u){return oe(u)}),n&&n.forEach(function(u){return u.remove()})}},{key:"_speech",value:function(e,t){var n=this,s=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if("speechSynthesis"in window&&D(B("speech"))){Y().cancel();for(var x=function(d,h){d=String(d),h=Number(h)>>>0;var b=d.slice(0,h+1).search(/\S+$/),H=d.slice(h).search(/\s/);return H<0?d.slice(b):d.slice(b,H+h)},o=120,S=new RegExp("^[\\s\\S]{"+Math.floor(o/2)+","+o+"}[.!?,]{1}|^[\\s\\S]{1,"+o+"}$|^[\\s\\S]{1,"+o+"} "),f=[],m=e,u=Y().getVoices();m.length>0;)f.push(m.match(S)[0]),m=m.substring(f[f.length-1].length);f.forEach(function(d){var h=new SpeechSynthesisUtterance(d.trim());h.volume=1,h.rate=1,h.pitch=1,h.lang=n._config.lang;for(var b=0;b]+>)*$1(<[^>]+>)*)"),R=new RegExp("("+p+")","gi");q=(q=q.replace(R,"$1")).replace(/([^<>]*)((<[^>]+>)+)([^<>]*<\/mark>)/,"$1$2$4"),t.innerHTML=q},h.onend=function(H){t.classList.remove("bvi-highlighting");var C=t.textContent;C=C.replace(/($1<\/mark>)/,"$1"),t.innerHTML=C}),Y().speak(h)})}}}]),a}()}})})(Ee);var Ie=Ee.exports;const $e={name:"DesktopNavBar",props:{sections:{type:Object},underSliderHeader:{type:HTMLDivElement}},data(){return{icons:Te}},components:{BaseIcon:Le,ClientGlobalSearch:ze(()=>Fe(()=>import("./SearchModal-YI3bdWA9.js").then(y=>y.b),__vite__mapDeps([0,1,2,3,4]))),Link:xe},methods:{isSameRoute(y){if(y===this.$page.props.ziggy.location)return!0;const w=this.$page.props.ziggy.location,L=this.$page.props.ziggy.url+"/"+y;return w===L},hasActivePage(y){if(y.pages)return y.pages.some(w=>this.isSameRoute(w.path));if(y.subSections)return y.subSections.some(w=>this.hasActivePage(w))}}},Ve={id:"desktop-nav",class:"hs-collapse hidden overflow-hidden transition-all duration-300 basis-full grow lg:block"},Ue={class:"overflow-hidden overflow-y-auto max-h-[75vh] [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300"},We={class:"flex flex-col gap-x-0 mt-5 md:flex-row md:items-center md:justify-end md:gap-x-7 md:mt-0 md:ps-7 md:divide-y-0 md:divide-solid"},Ye=["id"],Ze=["id"],Je=["id"],Ke={class:"grid px-5 grid-cols-1 md:grid-cols-10"},Qe=["id"],Xe={class:"flex flex-col py-4 px-3 md:px-6"},et={class:"space-y-4"},tt={class:"flex items-center mb-2 gap-x-2"},it=["id"],nt=["href"],rt={class:"grow"},ot={href:"#",class:"hover:opacity-70 py-3 className"},at={class:"hover:opacity-70 py-3 cursor-pointer","data-hs-overlay":"#open-search-modal"};function st(y,w,L,$,T,W){const Q=ie("Link");return N(),P("div",Ve,[g("div",Ue,[g("div",We,[(N(!0),P(ne,null,fe(this.sections.data,j=>(N(),P("div",{key:j.id,id:"nav-section-"+j.slug,class:"hs-dropdown [--strategy:static] md:[--strategy:absolute] [--adaptive:none] md:[--trigger:hover] py-3 md:py-6"},[g("button",{id:"nav-section-btn-"+j.slug,type:"button",class:I([L.underSliderHeader?"text-black":"text-white","duration-300 flex items-center w-full hover:text-primaryBlue font-medium hs-dropdown-open:mb-4 md:hs-dropdown-open:mb-0"])},[je(me(j.title)+" ",1),w[0]||(w[0]=g("svg",{class:"flex-shrink-0 ms-2 w-4 h-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"},[g("path",{d:"m6 9 6 6 6-6"})],-1))],10,Ze),g("div",{id:"nav-section-menu-"+j.slug,class:"hs-dropdown-menu transition-opacity duration-150 md:duration-500 hs-dropdown-open:opacity-100 opacity-0 w-full hidden z-10 top-full start-0 min-w-[15rem] bg-white md:shadow-2xl rounded-lg py-2 md:p-4 before:absolute before:-top-5 before:start-0 before:w-full before:h-5"},[g("div",Ke,[(N(!0),P(ne,null,fe(j.subSections,V=>(N(),P("div",{key:V.id,id:"nav-sub-section-block-"+V.slug,class:"md:col-span-3"},[g("div",Xe,[g("div",et,[g("div",tt,[g("span",{id:"nav-sub-section-title-"+V.slug,class:"text-xs font-bold uppercase text-gray-800 dark:text-gray-200"},me(V.title),9,it)]),(N(!0),P(ne,null,fe(V.pages,M=>(N(),P("a",{key:M.id,class:I([{"text-[#135aae] hover:text-gray-800 font-semibold ":W.isSameRoute(M.path),"text-gray-800 hover:text-[#2C6288]":!W.isSameRoute(M.path)},"flex items-center gap-x-2"]),href:M.is_url?M.path:y.route("page.view",M.path)+"/"},[g("div",rt,[g("p",null,me(M.title),1)])],10,nt))),128))])])],8,Qe))),128))])],8,Je)],8,Ye))),128)),g("a",ot,[(N(),P("svg",{class:I([L.underSliderHeader?"text-black":"text-white","w-6 h-6 duration-300 md:block hidden"]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},w[1]||(w[1]=[g("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"},null,-1),g("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"},null,-1)]),2)),g("span",{class:I([L.underSliderHeader?"text-black":"text-white","md:hidden"])},"Режим для слабовидящих",2)]),re(Q,{href:y.route("client.schedule"),class:"hover:opacity-70 py-3"},{default:De(()=>[(N(),P("svg",{class:I([L.underSliderHeader?"text-black":"text-white","w-6 h-6 duration-300 md:block hidden"]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},w[2]||(w[2]=[g("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5m-9-6h.008v.008H12v-.008zM12 15h.008v.008H12V15zm0 2.25h.008v.008H12v-.008zM9.75 15h.008v.008H9.75V15zm0 2.25h.008v.008H9.75v-.008zM7.5 15h.008v.008H7.5V15zm0 2.25h.008v.008H7.5v-.008zm6.75-4.5h.008v.008h-.008v-.008zm0 2.25h.008v.008h-.008V15zm0 2.25h.008v.008h-.008v-.008zm2.25-4.5h.008v.008H16.5v-.008zm0 2.25h.008v.008H16.5V15z"},null,-1)]),2)),g("span",{class:I([L.underSliderHeader?"text-black":"text-white","md:hidden"])},"Расписание",2)]),_:1},8,["href"]),g("a",at,[(N(),P("svg",{class:I([L.underSliderHeader?"text-black":"text-white","w-6 h-6 duration-300 md:block hidden"]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},w[3]||(w[3]=[g("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"},null,-1)]),2)),g("span",{class:I([L.underSliderHeader?"text-black":"text-white","md:hidden"])},"Поиск",2)])])])])}const lt=Be($e,[["render",st],["__scopeId","data-v-2a88d49e"]]),ct={name:"MainPageNavBar",components:{DesktopNavBar:lt,SearchModal:Me,MobileNavbar:Re,BaseIcon:Le,ClientGlobalSearch:Ge,Link:xe},props:{sections:{type:Object},sliderRef:{type:HTMLDivElement,default:!0}},data(){return{scrollPosition:0,headerFilter:!1,underSliderHeader:this.sliderRef,bvi:null,logos:{default:"/logos/white_ntspi_logo.svg",alternate:"/logos/ntspi-logo.svg"}}},methods:{isSameRoute(y){if(y===this.$page.props.ziggy.location)return!0;const w=this.$page.props.ziggy.location,L=this.$page.props.ziggy.url+"/"+y;return w===L},hasActivePage(y){if(y.pages)return y.pages.some(w=>this.isSameRoute(w.path));if(y.subSections)return y.subSections.some(w=>this.hasActivePage(w))},handleScroll(){if(typeof this.sliderRef=="object"){const y=this.sliderRef;this.underSliderHeader=y.getBoundingClientRect().bottom<50,this.scrollPosition=window.pageYOffset,this.headerFilter=this.scrollPosition>90}else this.headerFilter=!0},getCookie(y){let w=document.cookie.split(";");for(let L=0;L',2)]),2)])]),g("div",null,[re(Q,{sections:L.sections,"under-slider-header":T.underSliderHeader},null,8,["sections","under-slider-header"])])])])],6),re(j,{sections:L.sections},null,8,["sections"]),re(V,{open_id:"open-search-modal"})],64)}const _t=Be(ct,[["render",pt],["__scopeId","data-v-51ebcf34"]]);export{_t as M}; diff --git a/public/build/assets/MultipleChoiceBlock-Czx-63XK.js b/public/build/assets/MultipleChoiceBlock-Czx-63XK.js deleted file mode 100644 index ef0fca8..0000000 --- a/public/build/assets/MultipleChoiceBlock-Czx-63XK.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as d}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as s,c as a,b as o,t as l,F as r,d as i,l as c}from"./app-lT3z3TR3.js";const n={name:"MultipleChoiceBlock",data(){return{}},methods:{},props:{block:{type:Object},error:{type:Object}}},_={class:"mb-4 sm:mb-8"},m={class:"block mb-3 text-sm font-medium"},u={class:"space-y-2"},b={class:"flex"},f=["name","value","id"],h=["for"],p={key:0,class:"mt-2 text-sm text-gray-500",id:"hs-input-helper-text"},x={class:"text-sm text-red-600 mt-2",id:"hs-validation-name-error-helper"};function k(y,v,e,g,B,C){return s(),a("div",_,[o("label",m,l(e.block.data.title_field),1),o("div",u,[(s(!0),a(r,null,i(e.block.data.columns,t=>(s(),a("div",b,[o("input",{type:"checkbox",name:e.block.data.name_field+"[]",value:t.name_field,class:"shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none",id:t.name_field+"-id"},null,8,f),o("label",{for:t.name_field+"-id",class:"text-sm text-gray-500 ms-3"},l(t.title_field),9,h)]))),256))]),e.error?c("",!0):(s(),a("p",p,l(e.block.data.description),1)),(s(!0),a(r,null,i(e.error,t=>(s(),a("p",x,l(t),1))),256))])}const M=d(n,[["render",k]]);export{M as default}; diff --git a/public/build/assets/Page-B_epWHxp.js b/public/build/assets/Page-B_epWHxp.js deleted file mode 100644 index 1bf652d..0000000 --- a/public/build/assets/Page-B_epWHxp.js +++ /dev/null @@ -1 +0,0 @@ -import{i as u,Z as _,r as a,c as b,a as t,w as P,b as e,F as f,o as v,t as x}from"./app-lT3z3TR3.js";import{F as h}from"./v3-B5UP5GZw.js";import{M as w}from"./MainNavbar-5-nqk6c_.js";import{C as y}from"./SearchModal-YI3bdWA9.js";import{P as B,a as N,b as k,c as S}from"./PageNavigateLinks-DI4_-k66.js";import{P as L}from"./PageSubSectionLinks-CCuKIYQx.js";import{M as F}from"./MainPageNavbar-BfM50q-7.js";import{_ as C}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */import"./PageSkeleton-BoZKiMn9.js";const M={name:"Page",data(){return{headerNavs:this.page.data.content.filter(n=>n.type==="heading").map(n=>({id:n.data.id,text:n.data.content}))}},props:{navigation:{type:Object},page:{type:Object},subSectionPages:{type:Object},breadcrumbs:{type:Object}},components:{MainPageNavBar:F,PageSubSectionLinks:L,PageNavigateLinks:B,PageTitle:N,PageBreadcrumbs:k,PageBuilder:S,ClientFooterDown:y,MainNavbar:w,Link:u,FsLightbox:h,Head:_},methods:{},computed:{}},j={class:"flex flex-col h-screen"},D={class:"flex-grow"},O={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},H={class:"w-full min-w-0 mt-1 max-w-6xl px-1 md:px-6",style:{}},T={class:"space-y-5 md:space-y-5"},V={id:"page-area",class:"space-y-4"};function E(n,o,s,Y,Z,q){const i=a("Head"),r=a("MainPageNavBar"),c=a("PageSubSectionLinks"),l=a("PageNavigateLinks"),d=a("PageBreadcrumbs"),m=a("PageTitle"),p=a("PageBuilder"),g=a("ClientFooterDown");return v(),b(f,null,[t(i,null,{default:P(()=>[e("title",null,x(s.page.data.title),1),o[0]||(o[0]=e("meta",{name:"description",content:"Your page description"},null,-1))]),_:1}),t(r,{class:"border-b",sections:n.$page.props.navigation},null,8,["sections"]),o[1]||(o[1]=e("div",{class:"w-full h-[67px] fixed pointer-events-none",id:"visor"},null,-1)),e("div",j,[e("main",D,[e("div",O,[t(c,{"sub-section-pages":s.subSectionPages,"current-section":s.page.data.section},null,8,["sub-section-pages","current-section"]),t(l,{"header-navs":this.headerNavs},null,8,["header-navs"]),e("div",H,[e("div",T,[t(d,{breadcrumbs:s.breadcrumbs,"page-title":s.page.data.title},null,8,["breadcrumbs","page-title"]),t(m,{header:s.page.data.title},null,8,["header"]),e("div",V,[t(p,{blocks:this.page.data.content},null,8,["blocks"])])])])])]),t(g)])],64)}const X=C(M,[["render",E]]);export{X as default}; diff --git a/public/build/assets/PageItemBlock-BdYSYA-n.js b/public/build/assets/PageItemBlock-BdYSYA-n.js deleted file mode 100644 index 17338eb..0000000 --- a/public/build/assets/PageItemBlock-BdYSYA-n.js +++ /dev/null @@ -1 +0,0 @@ -import"./SearchModal-YI3bdWA9.js";import{m as n,i as a,o as r,c as i,k as c,b as e,t as o,l as d}from"./app-lT3z3TR3.js";import{_ as u}from"./_plugin-vue_export-helper-DlAUqK2U.js";const h={name:"PageItemBlock",components:{axios:n,Link:a},data(){return{page:null,breadcrumbs:null,loading:!0}},methods:{getPage(l){n.get(route("client.widget.page.single",l)).then(s=>{this.page=s.data.data.page,this.breadcrumbs=s.data.data.breadcrumbs,this.loading=!1}).catch(s=>{console.error("Ошибка:",s),this.loading=!1})}},mounted(){this.getPage(this.block.data.page)},props:{block:{type:Object}}},m={key:0,class:"flex flex-col space-y-4"},p={key:1,class:"w-full px-2 sm:px-3 lg:px-4mx-auto"},g=["href"],x={class:"p-4 md:p-5"},f={class:"flex items-center gap-x-5"},w={class:"grow"},b={key:0,class:"flex items-center whitespace-nowrap"},_={class:"inline-flex items-center"},v={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},k={class:"inline-flex items-center"},y={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},B={class:"inline-flex items-center"},j={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},C={class:"mt-1 group-hover:text-blue-600 font-semibold text-gray-700"};function P(l,s,S,V,t,z){return t.loading?(r(),i("div",m,s[0]||(s[0]=[c('

',1)]))):(r(),i("div",p,[e("a",{class:"group flex flex-col bg-white border shadow-sm rounded-xl hover:shadow-md focus:outline-none focus:shadow-md transition",href:t.page.is_url?t.page.path:l.route("page.view",t.page.path)+"/"},[e("div",x,[e("div",f,[s[3]||(s[3]=e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"mt-1 shrink-0 size-7 text-gray-600"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})],-1)),e("div",w,[t.breadcrumbs?(r(),i("ol",b,[e("li",_,[e("span",v,o(t.breadcrumbs.mainSection),1),s[1]||(s[1]=e("svg",{class:"shrink-0 mx-2 size-4 text-gray-400",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:"m9 18 6-6-6-6"})],-1))]),e("li",k,[e("span",y,o(t.breadcrumbs.mainSection),1),s[2]||(s[2]=e("svg",{class:"shrink-0 mx-2 size-4 text-gray-400",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:"m9 18 6-6-6-6"})],-1))]),e("li",B,[e("span",j,o(t.breadcrumbs.page),1)])])):d("",!0),e("h3",C,o(t.page.title),1)])])])],8,g)]))}const M=u(h,[["render",P]]);export{M as default}; diff --git a/public/build/assets/PageItemBlock-D7WemCTX.js b/public/build/assets/PageItemBlock-D7WemCTX.js deleted file mode 100644 index 5f39da2..0000000 --- a/public/build/assets/PageItemBlock-D7WemCTX.js +++ /dev/null @@ -1 +0,0 @@ -import"./SearchModal-YI3bdWA9.js";import{m as i,i as a,o as n,c as r,k as c,b as e,t as o}from"./app-lT3z3TR3.js";import{_ as d}from"./_plugin-vue_export-helper-DlAUqK2U.js";const u={name:"PageItemBlock",components:{axios:i,Link:a},data(){return{page:null,breadcrumbs:null,loading:!0}},methods:{getPage(l){i.get(route("client.widget.page.single",l)).then(s=>{this.page=s.data.data.page,this.breadcrumbs=s.data.data.breadcrumbs,this.loading=!1}).catch(s=>{console.error("Ошибка:",s),this.loading=!1})}},mounted(){this.getPage(this.block.data.page)},props:{block:{type:Object}}},h={key:0,class:"flex flex-col space-y-4"},p={key:1,class:"w-full px-2 py-5 sm:px-3 lg:px-4 lg:py-7 mx-auto"},g=["href"],m={class:"p-4 md:p-5"},x={class:"flex items-center gap-x-5"},f={class:"grow"},w={class:"flex items-center whitespace-nowrap"},b={class:"inline-flex items-center"},_={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},v={class:"inline-flex items-center"},k={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},y={class:"inline-flex items-center"},B={class:"flex items-center text-sm text-gray-500 hover:text-blue-600 focus:outline-none focus:text-blue-600",href:"#"},j={class:"mt-1 group-hover:text-blue-600 font-semibold text-gray-700"};function P(l,s,S,z,t,C){return t.loading?(n(),r("div",h,s[0]||(s[0]=[c('

',1)]))):(n(),r("div",p,[e("a",{class:"group flex flex-col bg-white border shadow-sm rounded-xl hover:shadow-md focus:outline-none focus:shadow-md transition",href:t.page.is_url?t.page.path:l.route("page.view",t.page.path)+"/"},[e("div",m,[e("div",x,[s[3]||(s[3]=e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"mt-1 shrink-0 size-7 text-gray-600"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})],-1)),e("div",f,[e("ol",w,[e("li",b,[e("span",_,o(t.breadcrumbs.mainSection),1),s[1]||(s[1]=e("svg",{class:"shrink-0 mx-2 size-4 text-gray-400",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:"m9 18 6-6-6-6"})],-1))]),e("li",v,[e("span",k,o(t.breadcrumbs.mainSection),1),s[2]||(s[2]=e("svg",{class:"shrink-0 mx-2 size-4 text-gray-400",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:"m9 18 6-6-6-6"})],-1))]),e("li",y,[e("span",B,o(t.breadcrumbs.page),1)])]),e("h3",j,o(t.page.title),1)])])])],8,g)]))}const M=d(u,[["render",P]]);export{M as default}; diff --git a/public/build/assets/PageNavigateLinks-DI4_-k66.js b/public/build/assets/PageNavigateLinks-DI4_-k66.js deleted file mode 100644 index fa41427..0000000 --- a/public/build/assets/PageNavigateLinks-DI4_-k66.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HeadingBlock-DZAeIVzd.js","assets/SearchModal-YI3bdWA9.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/app-lT3z3TR3.js","assets/app-CUj9x2C4.css","assets/SearchModal-XsSd7Wc_.css","assets/ParagraphBlock-_EhfXk9v.js","assets/ParagraphBlock-DFLxgZzs.css","assets/ClientImageSlider-CGZZYYI8.js","assets/v3-B5UP5GZw.js","assets/ImageBlock-cPU_Sbw4.js","assets/FormBlock-CjbQ7Xd1.css","assets/FileBlock-BU1S9yFx.js","assets/PersonBlock-MXpsfzV_.js","assets/PersonBlock-BcupJ_c5.css","assets/StepperBlock-DhPHG4yx.js","assets/StepperBlock-DNUyIEMk.css","assets/VideoBlock-BcEyk91j.js","assets/TabBlock-D5WxkhbC.js","assets/PageTabBuilder-CXLfoCo_.js","assets/PostListBlock-Vo9iG3Sb.js","assets/PostItemBlock-CHcUpQ-i.js","assets/PageItemBlock-D7WemCTX.js","assets/FormBlock-C_74keKQ.js","assets/FormBuilder-C25m8kmA.js","assets/FormBuilder-BDwIWzAo.css","assets/PageResourceList-DR-wDUVY.js"])))=>i.map(i=>d[i]); -import{f as L,r as x,o as a,c,e as y,F as f,d as E,g as S,_ as s,i as w,b as i,a as _,w as g,p as k,j as h,t as p,l as v,n as T,T as B}from"./app-lT3z3TR3.js";import{P as I}from"./PageSkeleton-BoZKiMn9.js";import{_ as b}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{B as P,s as N}from"./SearchModal-YI3bdWA9.js";const D={name:"PageBuilder",components:{PageSkeleton:I},data(){return{loading:!0}},methods:{async loadAllComponents(){const e=Object.values({heading:()=>s(()=>import("./HeadingBlock-DZAeIVzd.js"),__vite__mapDeps([0,1,2,3,4,5])),paragraph:()=>s(()=>import("./ParagraphBlock-_EhfXk9v.js"),__vite__mapDeps([6,1,2,3,4,5,7])),images:()=>s(()=>import("./ClientImageSlider-CGZZYYI8.js"),__vite__mapDeps([8,9,3,4,2])),image:()=>s(()=>import("./ImageBlock-cPU_Sbw4.js"),__vite__mapDeps([10,1,2,3,4,5,9,11])),files:()=>s(()=>import("./FileBlock-BU1S9yFx.js"),__vite__mapDeps([12,1,2,3,4,5,9,11])),person:()=>s(()=>import("./PersonBlock-MXpsfzV_.js"),__vite__mapDeps([13,1,2,3,4,5,9,14])),stepper:()=>s(()=>import("./StepperBlock-DhPHG4yx.js"),__vite__mapDeps([15,1,2,3,4,5,9,16])),video:()=>s(()=>import("./VideoBlock-BcEyk91j.js"),__vite__mapDeps([17,1,2,3,4,5,9])),tabs:()=>s(()=>import("./TabBlock-D5WxkhbC.js"),__vite__mapDeps([18,1,2,3,4,5,19,0,6,7,8,9,10,11,12,13,14,15,16,17,20])),postsList:()=>s(()=>import("./PostListBlock-Vo9iG3Sb.js"),__vite__mapDeps([20,1,2,3,4,5,11])),postItem:()=>s(()=>import("./PostItemBlock-CHcUpQ-i.js"),__vite__mapDeps([21,1,2,3,4,5,11])),pageItem:()=>s(()=>import("./PageItemBlock-D7WemCTX.js"),__vite__mapDeps([22,1,2,3,4,5])),customForm:()=>s(()=>import("./FormBlock-C_74keKQ.js"),__vite__mapDeps([23,1,2,3,4,5,9,24,25,11])),pageResourceList:()=>s(()=>import("./PageResourceList-DR-wDUVY.js"),__vite__mapDeps([26,1,2,3,4,5,9,24,25,11]))}).map(o=>o());await Promise.all(e),this.loading=!1},getComponent(t){return L({heading:()=>s(()=>import("./HeadingBlock-DZAeIVzd.js"),__vite__mapDeps([0,1,2,3,4,5])),paragraph:()=>s(()=>import("./ParagraphBlock-_EhfXk9v.js"),__vite__mapDeps([6,1,2,3,4,5,7])),images:()=>s(()=>import("./ClientImageSlider-CGZZYYI8.js"),__vite__mapDeps([8,9,3,4,2])),image:()=>s(()=>import("./ImageBlock-cPU_Sbw4.js"),__vite__mapDeps([10,1,2,3,4,5,9,11])),files:()=>s(()=>import("./FileBlock-BU1S9yFx.js"),__vite__mapDeps([12,1,2,3,4,5,9,11])),person:()=>s(()=>import("./PersonBlock-MXpsfzV_.js"),__vite__mapDeps([13,1,2,3,4,5,9,14])),stepper:()=>s(()=>import("./StepperBlock-DhPHG4yx.js"),__vite__mapDeps([15,1,2,3,4,5,9,16])),video:()=>s(()=>import("./VideoBlock-BcEyk91j.js"),__vite__mapDeps([17,1,2,3,4,5,9])),tabs:()=>s(()=>import("./TabBlock-D5WxkhbC.js"),__vite__mapDeps([18,1,2,3,4,5,19,0,6,7,8,9,10,11,12,13,14,15,16,17,20])),postsList:()=>s(()=>import("./PostListBlock-Vo9iG3Sb.js"),__vite__mapDeps([20,1,2,3,4,5,11])),postItem:()=>s(()=>import("./PostItemBlock-CHcUpQ-i.js"),__vite__mapDeps([21,1,2,3,4,5,11])),pageItem:()=>s(()=>import("./PageItemBlock-D7WemCTX.js"),__vite__mapDeps([22,1,2,3,4,5])),customForm:()=>s(()=>import("./FormBlock-C_74keKQ.js"),__vite__mapDeps([23,1,2,3,4,5,9,24,25,11])),pageResourceList:()=>s(()=>import("./PageResourceList-DR-wDUVY.js"),__vite__mapDeps([26,1,2,3,4,5,9,24,25,11]))}[t]||null)}},props:{blocks:{type:Array,required:!0}},async created(){await this.loadAllComponents()}},A={key:1};function R(t,e,o,u,l,n){const r=x("PageSkeleton");return a(),c("div",null,[l.loading?(a(),y(r,{key:0})):(a(),c("div",A,[(a(!0),c(f,null,E(o.blocks,(d,m)=>(a(),y(S(n.getComponent(d.type)),{key:m,block:d},null,8,["block"]))),128))]))])}const ce=b(D,[["render",R]]),V={name:"PageBreadcrumbs",components:{BaseIcon:P,Link:w},data(){return{}},methods:{textLimit(t,e){if(t.length>e){let o;return o=t.substring(0,e),o+"..."}return t},isMobileDevice(){return window.innerWidth<1024},handleSectionClick(t){this.isMobileDevice()?this.toggleMobileNavSection(t):this.toggleDesktopNavSection(t)},handleSubSectionClick(t,e){this.isMobileDevice()?this.toggleMobileNavSubSection(t,e):this.toggleDesktopNavSubSection(t,e)},highlightNavItem(t){t.classList.add("animate-pulse"),setTimeout(()=>{t.classList.remove("animate-pulse")},4e3)},openMobileNavMenu(){document.getElementById("open-mobile-btn").click()},toggleMobileNavSubSection(t,e){this.openMobileNavMenu();const o=document.getElementById("open-mobile-nav"),u=o.querySelector("#nav-section-accordion-"+t.data.slug),l=o.querySelector("#nav-section-accordion-btn-"+t.data.slug);u.classList.contains("active")||l.click();const n=o.querySelector("#nav-sub-section-accordion-"+e.data.slug),r=o.querySelector("#nav-sub-section-accordion-btn-"+e.data.slug);n.classList.contains("active")&&r.click(),this.highlightNavItem(n)},toggleMobileNavSection(t){const e=document.getElementById("open-mobile-nav"),o=e.querySelector("#nav-section-accordion-"+t.data.slug),u=e.querySelector("#nav-section-accordion-btn-"+t.data.slug);o.classList.contains("active")&&u.click(),this.openMobileNavMenu(),this.highlightNavItem(o)},toggleDesktopNavSubSection(t,e){const o=document.getElementById("desktop-nav"),u=o.querySelector("#nav-sub-section-title-"+e.data.slug);o.querySelector("#nav-section-btn-"+t.data.slug).click(),this.highlightNavItem(u)},toggleDesktopNavSection(t){const e=document.getElementById("desktop-nav");e.querySelector("#nav-section-menu-"+t.data.slug),e.querySelector("#nav-section-btn-"+t.data.slug).click()}},props:{breadcrumbs:{type:Object},pageTitle:{type:String}}},O={class:"flex justify-between pb-4 items-center"},C={class:"flex w-full sm:items-center gap-x-5 sm:gap-x-3"},M={class:"grow"},q={class:"grid sm:flex sm:justify-between sm:items-center gap-2"},$={key:0,class:"flex items-center whitespace-normal min-w-0 flex-wrap gap-y-2","aria-label":"Breadcrumb"},j={class:"text-sm"},z={key:0,class:"text-sm"},F={key:1,class:"text-sm"},H={class:"text-sm"},Y={key:1,class:"flex items-center whitespace-nowrap min-w-0 flex-wrap","aria-label":"Breadcrumb"},W={class:"text-sm"},G={class:"text-sm"};function J(t,e,o,u,l,n){const r=x("BaseIcon"),d=x("Link");return a(),c("div",O,[i("div",C,[i("div",M,[i("div",q,[o.breadcrumbs?(a(),c("ol",$,[i("li",j,[_(d,{href:t.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:g(()=>[_(r,{class:"size-5",name:"home"})]),_:1},8,["href"])]),o.breadcrumbs.mainSection?(a(),c("li",z,[i("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:e[0]||(e[0]=k(m=>n.handleSectionClick(this.breadcrumbs.mainSection),["prevent"]))},[e[2]||(e[2]=i("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+p(n.textLimit(this.breadcrumbs.mainSection.data.title,25)),1)])])):v("",!0),o.breadcrumbs.subSection?(a(),c("li",F,[i("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:e[1]||(e[1]=k(m=>n.handleSubSectionClick(this.breadcrumbs.mainSection,this.breadcrumbs.subSection),["prevent"]))},[e[3]||(e[3]=i("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+p(n.textLimit(this.breadcrumbs.subSection.data.title,25)),1)])])):v("",!0),i("li",H,[_(d,{href:t.route("page.view",this.breadcrumbs.page.data.path),class:"flex items-center text-gray-500 hover:text-primaryBlue"},{default:g(()=>[e[4]||(e[4]=i("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+p(n.textLimit(this.breadcrumbs.page.data.title,25)),1)]),_:1},8,["href"])])])):v("",!0),o.breadcrumbs?v("",!0):(a(),c("ol",Y,[i("li",W,[_(d,{href:t.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:g(()=>[_(r,{class:"size-5",name:"home"})]),_:1},8,["href"])]),i("li",G,[_(d,{href:t.route("page.view",this.breadcrumbs.page.data.path),class:"flex items-center text-gray-500 hover:text-primaryBlue"},{default:g(()=>[e[5]||(e[5]=i("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+p(n.textLimit(this.breadcrumbs.page.data.title,25)),1)]),_:1},8,["href"])])]))])])])])}const de=b(V,[["render",J]]),K={name:"PageTitle",components:{Link:w},data(){return{}},methods:{textLimit(t,e){if(t.length>e){let o;return o=t.substring(0,e),o+"..."}return t}},props:{header:{type:String}}},Q={class:"space-y-3"},U={class:"text-2xl mb-10 font-bold md:text-3xl"};function X(t,e,o,u,l,n){return a(),c("div",Q,[i("h1",U,p(o.header),1)])}const ue=b(K,[["render",X]]),Z={name:"PageNavigateLinks",components:{Link:w},data(){return{currentNavSection:null,scrollTop:!1}},methods:{textLimit(t,e){if(t.length>e){let o;return o=t.substring(0,e),o+"..."}return t},generateSlug(t){return N(t,{lower:!0,strict:!0,locale:"ru"})},onScroll(t){const e=window.scrollY;this.scrollTop=e>100;const o=document.querySelectorAll("h2"),u=document.querySelector("#visor");let l=null;const n=u.getBoundingClientRect();if(n.top>window.scrollY){this.currentNavSection=null,l=null;return}for(let r=0;r=0&&m.bottom<=window.innerHeight&&m.bottom>=n.top&&m.top<=n.bottom){d!==l&&(this.currentNavSection=d.id,l=d);break}}},scrollToTop(){window.scrollTo(0,0)}},mounted(){window.addEventListener("scroll",this.onScroll)},unmounted(){window.removeEventListener("scroll",this.onScroll)},props:{headerNavs:{type:Array}}},ee={class:"order-last hidden w-56 shrink-0 lg:block"},te={key:0,class:"sticky top-[100px] h-[calc(100vh-121px)]"},oe={class:"styled-scrollbar max-h-[70vh] space-y-1.5 overflow-y-auto py-2 text-sm"},se=["href"];function ie(t,e,o,u,l,n){return a(),c(f,null,[e[3]||(e[3]=i("div",{class:"w-full h-[67px] fixed pointer-events-none",id:"visor"},null,-1)),i("nav",ee,[o.headerNavs.length>0?(a(),c("div",te,[e[2]||(e[2]=i("div",{class:"text-gray-1000 mb-2 text-md font-medium"},"На этой странице",-1)),i("ul",oe,[(a(!0),c(f,null,E(o.headerNavs,r=>(a(),c("li",{class:"anchor-li",key:r.id},[i("a",{class:T([{"translate-x-2 text-primaryBlue":l.currentNavSection===n.generateSlug(r.text),"bg-transperant text-gray-600 hover:text-gray-900":l.currentNavSection!==n.generateSlug(r.text)},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#"+n.generateSlug(r.text)},p(r.text),11,se)]))),128)),_(B,{name:"fade"},{default:g(()=>[l.scrollTop?(a(),c("li",{key:0,class:"anchor-li flex items-center py-2 border-t",onClick:e[0]||(e[0]=k((...r)=>n.scrollToTop&&n.scrollToTop(...r),["prevent"]))},e[1]||(e[1]=[i("button",{class:"bg-transperant text-gray-600 cursor-pointer hover:text-gray-900 duration-300 block px-2 leading-[1.6] rounded-md"},"К началу",-1),i("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-[17px] text-gray-600"},[i("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 11.25l-3-3m0 0l-3 3m3-3v7.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)]))):v("",!0)]),_:1})])])):v("",!0)])],64)}const me=b(Z,[["render",ie]]);export{me as P,ue as a,de as b,ce as c}; diff --git a/public/build/assets/PageResourceList-DR-wDUVY.js b/public/build/assets/PageResourceList-DR-wDUVY.js deleted file mode 100644 index 2a32efc..0000000 --- a/public/build/assets/PageResourceList-DR-wDUVY.js +++ /dev/null @@ -1 +0,0 @@ -import"./SearchModal-YI3bdWA9.js";import"./v3-B5UP5GZw.js";import{_ as i}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{m as d,i as m,o,c as r,b as e,F as u,d as p,n as x,t as a}from"./app-lT3z3TR3.js";import{F as g}from"./FormBuilder-C25m8kmA.js";const h={name:"PageResourceList",components:{FormBuilder:g,axios:d,Link:m},data(){return{resource:null,loading:!0,colors:["from-primaryBlue","from-primaryRed"]}},methods:{getResource(l){d.get(route("client.widget.page.resource.index",l)).then(s=>{this.resource=s.data,this.loading=!1}).catch(s=>{console.error("Ошибка:",s)})},randomBgClass(){return this.colors[Math.floor(Math.random()*this.colors.length)]}},mounted(){var s;const l=((s=this.block)==null?void 0:s.data.resource)||this.resourceId;this.getResource(l)},props:{block:{type:Object},resourceId:{type:String,default:null}}},f={key:0,class:"flex flex-col space-y-4"},_={key:1},v={class:"px-0 py-10 sm:px-2 lg:py-14 mx-auto"},b={class:"flex overflow-x-auto space-x-6 mb-10 lg:mb-14 p-4"},w=["href"],y={class:"aspect-w-16 aspect-h-9"},k=["src"],B={class:"p-4 md:p-5"},R={class:"mt-2 text-xs uppercase text-gray-600"},F={class:"mt-2 text-lg font-medium text-gray-800 group-hover:text-blue-600"},L={class:"mt-2 text-xs text-gray-600"};function j(l,s,C,I,c,n){return c.loading?(o(),r("div",f,s[0]||(s[0]=[e("div",{class:"group block rounded-xl overflow-hidden animate-pulse"},[e("div",{class:"flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-5"},[e("div",{class:"shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"},[e("div",{class:"w-full h-full bg-gray-200"})])])],-1)]))):(o(),r("div",_,[e("div",v,[s[1]||(s[1]=e("div",{class:"max-w-2xl text-center mx-auto mb-10 lg:mb-14"},[e("h2",{class:"text-2xl font-bold md:text-4xl md:leading-tight"},"Полезные ресурсы"),e("p",{class:"mt-1 text-gray-600"},"We've helped some great companies brand, design and get to market.")],-1)),e("div",b,[(o(!0),r(u,null,p(c.resource.data.content,t=>(o(),r("a",{class:"group flex-shrink-0 w-64 flex flex-col bg-white border shadow-sm rounded-xl hover:shadow-md focus:outline-none focus:shadow-md transition",href:t.link},[e("div",y,[t.image?(o(),r("img",{key:0,class:"w-full backdrop-blur-xl object-cover rounded-t-xl h-[150px]",src:"/storage/"+t.image,alt:"Blog Image"},null,8,k)):(o(),r("div",{key:1,class:x([n.randomBgClass(),"w-full object-cover rounded-t-xl h-[150px] bg-gradient-to-tr"])},null,2))]),e("div",B,[e("p",R,a(t.model_select),1),e("h3",F,a(t.title),1),e("p",L,a(t.link_text),1)])],8,w))),256))])])]))}const E=i(h,[["render",j]]);export{E as default}; diff --git a/public/build/assets/PageSkeleton-BoZKiMn9.js b/public/build/assets/PageSkeleton-BoZKiMn9.js deleted file mode 100644 index 81b4a7d..0000000 --- a/public/build/assets/PageSkeleton-BoZKiMn9.js +++ /dev/null @@ -1 +0,0 @@ -import{i as l,o as s,c as a,k as r}from"./app-lT3z3TR3.js";import{_ as e}from"./_plugin-vue_export-helper-DlAUqK2U.js";const i={name:"PageSkeleton",components:{Link:l},props:{header:{type:String}}},o={class:"animate-pulse"};function n(u,d,g,v,b,c){return s(),a("div",o,d[0]||(d[0]=[r('
',14)]))}const f=e(i,[["render",n]]);export{f as P}; diff --git a/public/build/assets/PageSubSectionLinks-CCuKIYQx.js b/public/build/assets/PageSubSectionLinks-CCuKIYQx.js deleted file mode 100644 index 8b034fc..0000000 --- a/public/build/assets/PageSubSectionLinks-CCuKIYQx.js +++ /dev/null @@ -1 +0,0 @@ -import{i as l,o as r,c as i,b as o,t as c,F as m,d as u,n as d,l as p}from"./app-lT3z3TR3.js";import"./SearchModal-YI3bdWA9.js";import{_ as h}from"./_plugin-vue_export-helper-DlAUqK2U.js";const f={name:"PageSubSectionLinks",components:{Link:l},data(){return{currentNavSection:null,scrollTop:!1}},methods:{textLimit(e,a){if(e.length>a){let s;return s=e.substring(0,a),s+"..."}return e},isSameRoute(e){if(this.$page.props.ziggy.location===this.$page.props.ziggy.url+"/"+e)return!0}},props:{subSectionPages:{type:Object},currentSection:{type:String}}},x={class:"sticky top-[100px] hidden h-[calc(100vh-121px)] max-w-[20%] min-w-[20%] md:flex md:shrink-0 md:flex-col md:justify-between"},_={key:0,class:"styled-scrollbar flex h-[calc(100vh-200px)] flex-col overflow-y-scroll pr-2 pb-4"},g={class:"text-gray-1000 mb-2 text-md font-medium"},y={class:"flex gap-x-1"},b={class:"px-0.5 last-of-type:mb-0 mb-8"},S=["href"];function v(e,a,s,k,w,n){return r(),i("div",x,[this.subSectionPages?(r(),i("nav",_,[o("div",g,c(s.currentSection),1),o("div",y,[o("ul",b,[(r(!0),i(m,null,u(this.subSectionPages.data,t=>(r(),i("li",{key:t.id,class:"my-1.5 flex"},[o("a",{class:d([{"text-white font-semibold bg-primaryBlue":n.isSameRoute(t.path),"text-gray-600 hover:text-[#2C6288]":!n.isSameRoute(t.path)},"relative duration-300 flex gap-x-1 w-full rounded-md cursor-pointer items-center px-2 py-1 text-left text-sm"]),href:t.is_url?t.path:e.route("page.view",t.path)+"/"},c(t.title),11,S)]))),128))])])])):p("",!0)])}const z=h(f,[["render",v]]);export{z as P}; diff --git a/public/build/assets/PageTabBuilder-CXLfoCo_.js b/public/build/assets/PageTabBuilder-CXLfoCo_.js deleted file mode 100644 index 52a353c..0000000 --- a/public/build/assets/PageTabBuilder-CXLfoCo_.js +++ /dev/null @@ -1 +0,0 @@ -import{i as c,o as r,c as p,d as i,e as l,g as s,F as k}from"./app-lT3z3TR3.js";import"./SearchModal-YI3bdWA9.js";import B from"./HeadingBlock-DZAeIVzd.js";import g from"./ParagraphBlock-_EhfXk9v.js";import d from"./ClientImageSlider-CGZZYYI8.js";import f from"./ImageBlock-cPU_Sbw4.js";import u from"./FileBlock-BU1S9yFx.js";import P from"./PersonBlock-MXpsfzV_.js";import _ from"./StepperBlock-DhPHG4yx.js";import b from"./VideoBlock-BcEyk91j.js";import h from"./PostListBlock-Vo9iG3Sb.js";import{_ as C}from"./_plugin-vue_export-helper-DlAUqK2U.js";const L={name:"PageTabBuilder",components:{FileBlock:u,ImageBlock:f,ClientImageSlider:d,ParagraphBlock:g,HeadingBlock:B,Link:c,PersonBlock:P,StepperBlock:_,VideoBlock:b,PostListBlock:h},methods:{getComponent(o){return{heading:"HeadingBlock",paragraph:"ParagraphBlock",images:"ClientImageSlider",image:"ImageBlock",files:"FileBlock",person:"PersonBlock",stepper:"StepperBlock",video:"VideoBlock",postsList:"PostListBlock"}[o]||null}},props:{blocks:{type:Object}}};function y(o,t,a,F,I,m){return r(!0),p(k,null,i(a.blocks,(e,n)=>(r(),l(s(m.getComponent(e.type)),{key:n,block:e},null,8,["block"]))),128)}const q=C(L,[["render",y]]);export{q as P}; diff --git a/public/build/assets/ParagraphBlock-CY6u9Wiw.js b/public/build/assets/ParagraphBlock-CY6u9Wiw.js deleted file mode 100644 index 7d9432e..0000000 --- a/public/build/assets/ParagraphBlock-CY6u9Wiw.js +++ /dev/null @@ -1 +0,0 @@ -import"./SearchModal-YI3bdWA9.js";import{_ as c}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as l,c as p}from"./app-lT3z3TR3.js";const s={name:"ParagraphBlock",methods:{wrapTables(t){if(t.type==="paragraph"&&t.data&&t.data.content){const e=t.data.content.replace(/]*)>([\s\S]*?)<\/table>/g,(a,r,n)=>`
${n}
`);return{...t,data:{...t.data,content:e}}}return t}},props:{block:{type:Object}}},d=["innerHTML"];function i(t,e,a,r,n,o){return l(),p("div",{class:"text-sm text-gray-600 leading-6 md:text-[16px] md:text-[#374151] md:leading-8 md:font-light paragraph-container",innerHTML:o.wrapTables(a.block).data.content},null,8,d)}const f=c(s,[["render",i]]);export{f as default}; diff --git a/public/build/assets/ParagraphBlock-_EhfXk9v.js b/public/build/assets/ParagraphBlock-_EhfXk9v.js deleted file mode 100644 index 7d9432e..0000000 --- a/public/build/assets/ParagraphBlock-_EhfXk9v.js +++ /dev/null @@ -1 +0,0 @@ -import"./SearchModal-YI3bdWA9.js";import{_ as c}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as l,c as p}from"./app-lT3z3TR3.js";const s={name:"ParagraphBlock",methods:{wrapTables(t){if(t.type==="paragraph"&&t.data&&t.data.content){const e=t.data.content.replace(/]*)>([\s\S]*?)<\/table>/g,(a,r,n)=>`
${n}
`);return{...t,data:{...t.data,content:e}}}return t}},props:{block:{type:Object}}},d=["innerHTML"];function i(t,e,a,r,n,o){return l(),p("div",{class:"text-sm text-gray-600 leading-6 md:text-[16px] md:text-[#374151] md:leading-8 md:font-light paragraph-container",innerHTML:o.wrapTables(a.block).data.content},null,8,d)}const f=c(s,[["render",i]]);export{f as default}; diff --git a/public/build/assets/PersonBlock-BB-W9rc6.js b/public/build/assets/PersonBlock-BB-W9rc6.js deleted file mode 100644 index d2c2ee1..0000000 --- a/public/build/assets/PersonBlock-BB-W9rc6.js +++ /dev/null @@ -1 +0,0 @@ -import{s as g}from"./SearchModal-YI3bdWA9.js";import{F as m}from"./v3-B5UP5GZw.js";import{_ as u}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as _,o as r,c as n,b as o,t as a,F as i,d as p,a as h}from"./app-lT3z3TR3.js";const b={name:"PersonBlock",components:{FsLightbox:m},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(l){return g(l,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},f={class:"w-full rounded-xl mb-4 p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700"},x={class:"flex items-center gap-x-4"},k=["src"],y={class:"grow"},w={class:"font-medium text-gray-800 hover:text-gray-500"},v={class:"text-xs text-gray-500 mt-2"};function F(l,c,t,B,e,P){const d=_("FsLightbox");return r(),n(i,null,[o("div",f,[o("div",x,[o("img",{onClick:c[0]||(c[0]=s=>e.toggler=!e.toggler),loading:"lazy",class:"rounded-xl w-[150px]",src:"/storage/"+t.block.data.photo,alt:"Image Description"},null,8,k),o("div",y,[o("p",w,a(t.block.data.name),1),(r(!0),n(i,null,p(t.block.data.info,s=>(r(),n("p",v,a(s.column)+": "+a(s.content),1))),256))])])]),h(d,{class:"",toggler:e.toggler,sources:[e.domainPath+"/storage/"+t.block.data.photo]},null,8,["toggler","sources"])],64)}const S=u(b,[["render",F]]);export{S as default}; diff --git a/public/build/assets/PersonBlock-MXpsfzV_.js b/public/build/assets/PersonBlock-MXpsfzV_.js deleted file mode 100644 index 9402a37..0000000 --- a/public/build/assets/PersonBlock-MXpsfzV_.js +++ /dev/null @@ -1 +0,0 @@ -import{s as g}from"./SearchModal-YI3bdWA9.js";import{F as m}from"./v3-B5UP5GZw.js";import{_ as u}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as _,o as r,c as n,b as o,t as a,F as i,d as p,a as f}from"./app-lT3z3TR3.js";const x={name:"PersonBlock",components:{FsLightbox:m},data(){return{toggler:!1,domainPath:null}},methods:{generateSlug:function(l){return g(l,{lower:!0,strict:!0,locale:"ru"})}},mounted(){this.domainPath=window.location.origin},props:{block:{type:Object}}},h={class:"w-full rounded-xl mb-4 p-4 md:p-6 bg-white border border-gray-200"},b={class:"flex items-center gap-x-4 text-nowrap"},k=["src"],w={class:"grow overflow-x-auto"},v={class:"font-medium text-gray-800 hover:text-gray-500"},y={class:"text-xs text-gray-500 mt-2"};function F(l,c,t,B,e,P){const d=_("FsLightbox");return r(),n(i,null,[o("div",h,[o("div",b,[o("img",{onClick:c[0]||(c[0]=s=>e.toggler=!e.toggler),loading:"lazy",class:"rounded-xl w-[150px]",src:"/storage/"+t.block.data.photo,alt:"Image Description"},null,8,k),o("div",w,[o("p",v,a(t.block.data.name),1),(r(!0),n(i,null,p(t.block.data.info,s=>(r(),n("p",y,a(s.column)+": "+a(s.content),1))),256))])])]),f(d,{class:"",toggler:e.toggler,sources:[e.domainPath+"/storage/"+t.block.data.photo]},null,8,["toggler","sources"])],64)}const N=u(x,[["render",F],["__scopeId","data-v-394afbbe"]]);export{N as default}; diff --git a/public/build/assets/PhoneBlock-DjNxQRuU.js b/public/build/assets/PhoneBlock-DjNxQRuU.js deleted file mode 100644 index be9e919..0000000 --- a/public/build/assets/PhoneBlock-DjNxQRuU.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as d}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as r,c as o,b as t,t as l,n as i,l as a,F as c,d as m}from"./app-lT3z3TR3.js";const u={name:"PhoneBlock",data(){return{}},methods:{},props:{block:{type:Object},error:{type:Object}}},b={class:"mb-4 sm:mb-8"},_=["for"],k={class:"relative"},x=["required","name","min","max","id","placeholder"],f={key:0,class:"absolute inset-y-0 end-0 flex items-center pointer-events-none pe-3"},h={key:0,class:"mt-2 text-sm text-gray-500",id:"hs-input-helper-text"},y={class:"text-sm text-red-600 mt-2",id:"hs-validation-name-error-helper"};function g(v,s,e,w,p,B){return r(),o("div",b,[t("label",{for:e.block.data.name_field+"-id",class:"block mb-2 text-sm font-medium"},l(e.block.data.title_field),9,_),t("div",k,[t("input",{required:e.block.data.rules.required,name:e.block.data.name_field,min:e.block.data.rules.min,max:e.block.data.rules.max,type:"tel",id:e.block.data.name_field+"-id",class:i([e.error?"border-red-500 focus:border-red-500 focus:ring-red-500":"focus:border-blue-500 focus:ring-blue-500","py-3 px-4 block w-full border-gray-200 rounded-lg text-sm disabled:opacity-50 disabled:pointer-events-none"]),placeholder:e.block.data.title_field},null,10,x),e.error?(r(),o("div",f,s[0]||(s[0]=[t("svg",{class:"shrink-0 size-4 text-red-500",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"},[t("circle",{cx:"12",cy:"12",r:"10"}),t("line",{x1:"12",x2:"12",y1:"8",y2:"12"}),t("line",{x1:"12",x2:"12.01",y1:"16",y2:"16"})],-1)]))):a("",!0)]),e.error?a("",!0):(r(),o("p",h,l(e.block.data.description),1)),(r(!0),o(c,null,m(e.error,n=>(r(),o("p",y,l(n),1))),256))])}const C=d(u,[["render",g]]);export{C as default}; diff --git a/public/build/assets/PostBackButton-Va08-sZF.js b/public/build/assets/PostBackButton-Va08-sZF.js deleted file mode 100644 index 04ba4c0..0000000 --- a/public/build/assets/PostBackButton-Va08-sZF.js +++ /dev/null @@ -1 +0,0 @@ -import{i,o,c as m,t as s,r as h,e as u,w as x,b as r,j as g}from"./app-lT3z3TR3.js";import"./SearchModal-YI3bdWA9.js";import{_ as a}from"./_plugin-vue_export-helper-DlAUqK2U.js";const k={name:"PostTitle",components:{Link:i},data(){return{}},methods:{textLimit(t,e){if(t.length>e){let n;return n=t.substring(0,e),n+"..."}return t}},props:{header:{type:String}}},f={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 _(t,e,n,c,l,d){return o(),m("h1",f,s(n.header),1)}const v=a(k,[["render",_]]),w={name:"PostBackButton",components:{Link:i},data(){return{}},methods:{textLimit(t,e){if(t.length>e){let n;return n=t.substring(0,e),n+"..."}return t}},props:{title:{type:String},link:{type:String}}};function B(t,e,n,c,l,d){const p=h("Link");return o(),u(p,{href:t.route(this.link),class:"inline-flex items-center gap-x-1.5 text-sm text-gray-600 decoration-2 hover:underline dark:text-blue-500"},{default:x(()=>[e[0]||(e[0]=r("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"},[r("path",{d:"m15 18-6-6 6-6"})],-1)),g(" "+s(n.title),1)]),_:1},8,["href"])}const P=a(w,[["render",B]]);export{P,v as a}; diff --git a/public/build/assets/PostBuilder-BfOHHDzX.js b/public/build/assets/PostBuilder-BfOHHDzX.js deleted file mode 100644 index 332365f..0000000 --- a/public/build/assets/PostBuilder-BfOHHDzX.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HeadingBlock-DZAeIVzd.js","assets/SearchModal-YI3bdWA9.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/app-lT3z3TR3.js","assets/app-CUj9x2C4.css","assets/SearchModal-XsSd7Wc_.css","assets/ParagraphBlock-_EhfXk9v.js","assets/ParagraphBlock-DFLxgZzs.css","assets/ClientImageSlider-CGZZYYI8.js","assets/v3-B5UP5GZw.js","assets/ImageBlock-cPU_Sbw4.js","assets/FormBlock-CjbQ7Xd1.css","assets/FileBlock-BU1S9yFx.js","assets/PersonBlock-MXpsfzV_.js","assets/PersonBlock-BcupJ_c5.css","assets/StepperBlock-DhPHG4yx.js","assets/StepperBlock-DNUyIEMk.css","assets/VideoBlock-BcEyk91j.js","assets/TabBlock-D5WxkhbC.js","assets/PageTabBuilder-CXLfoCo_.js","assets/PostListBlock-Vo9iG3Sb.js","assets/PostItemBlock-CHcUpQ-i.js","assets/PageItemBlock-D7WemCTX.js","assets/FormBlock-C_74keKQ.js","assets/FormBuilder-C25m8kmA.js","assets/FormBuilder-BDwIWzAo.css","assets/PageResourceList-DR-wDUVY.js"])))=>i.map(i=>d[i]); -import{f as d,r as u,o,c as i,e as s,F as c,d as l,g as P,_}from"./app-lT3z3TR3.js";import{P as v}from"./PageSkeleton-BoZKiMn9.js";import{_ as L}from"./_plugin-vue_export-helper-DlAUqK2U.js";const I={name:"PostBuilder",data(){return{loading:!0}},components:{PageSkeleton:v},methods:{async loadAllComponents(){const t=Object.values({heading:()=>_(()=>import("./HeadingBlock-DZAeIVzd.js"),__vite__mapDeps([0,1,2,3,4,5])),paragraph:()=>_(()=>import("./ParagraphBlock-_EhfXk9v.js"),__vite__mapDeps([6,1,2,3,4,5,7])),images:()=>_(()=>import("./ClientImageSlider-CGZZYYI8.js"),__vite__mapDeps([8,9,3,4,2])),image:()=>_(()=>import("./ImageBlock-cPU_Sbw4.js"),__vite__mapDeps([10,1,2,3,4,5,9,11])),files:()=>_(()=>import("./FileBlock-BU1S9yFx.js"),__vite__mapDeps([12,1,2,3,4,5,9,11])),person:()=>_(()=>import("./PersonBlock-MXpsfzV_.js"),__vite__mapDeps([13,1,2,3,4,5,9,14])),stepper:()=>_(()=>import("./StepperBlock-DhPHG4yx.js"),__vite__mapDeps([15,1,2,3,4,5,9,16])),video:()=>_(()=>import("./VideoBlock-BcEyk91j.js"),__vite__mapDeps([17,1,2,3,4,5,9])),tabs:()=>_(()=>import("./TabBlock-D5WxkhbC.js"),__vite__mapDeps([18,1,2,3,4,5,19,0,6,7,8,9,10,11,12,13,14,15,16,17,20])),postsList:()=>_(()=>import("./PostListBlock-Vo9iG3Sb.js"),__vite__mapDeps([20,1,2,3,4,5,11])),postItem:()=>_(()=>import("./PostItemBlock-CHcUpQ-i.js"),__vite__mapDeps([21,1,2,3,4,5,11])),pageItem:()=>_(()=>import("./PageItemBlock-D7WemCTX.js"),__vite__mapDeps([22,1,2,3,4,5])),customForm:()=>_(()=>import("./FormBlock-C_74keKQ.js"),__vite__mapDeps([23,1,2,3,4,5,9,24,25,11])),pageResourceList:()=>_(()=>import("./PageResourceList-DR-wDUVY.js"),__vite__mapDeps([26,1,2,3,4,5,9,24,25,11]))}).map(r=>r());await Promise.all(t),this.loading=!1},getComponent(e){return d({heading:()=>_(()=>import("./HeadingBlock-DZAeIVzd.js"),__vite__mapDeps([0,1,2,3,4,5])),paragraph:()=>_(()=>import("./ParagraphBlock-_EhfXk9v.js"),__vite__mapDeps([6,1,2,3,4,5,7])),images:()=>_(()=>import("./ClientImageSlider-CGZZYYI8.js"),__vite__mapDeps([8,9,3,4,2])),image:()=>_(()=>import("./ImageBlock-cPU_Sbw4.js"),__vite__mapDeps([10,1,2,3,4,5,9,11])),files:()=>_(()=>import("./FileBlock-BU1S9yFx.js"),__vite__mapDeps([12,1,2,3,4,5,9,11])),person:()=>_(()=>import("./PersonBlock-MXpsfzV_.js"),__vite__mapDeps([13,1,2,3,4,5,9,14])),stepper:()=>_(()=>import("./StepperBlock-DhPHG4yx.js"),__vite__mapDeps([15,1,2,3,4,5,9,16])),video:()=>_(()=>import("./VideoBlock-BcEyk91j.js"),__vite__mapDeps([17,1,2,3,4,5,9])),tabs:()=>_(()=>import("./TabBlock-D5WxkhbC.js"),__vite__mapDeps([18,1,2,3,4,5,19,0,6,7,8,9,10,11,12,13,14,15,16,17,20])),postsList:()=>_(()=>import("./PostListBlock-Vo9iG3Sb.js"),__vite__mapDeps([20,1,2,3,4,5,11])),postItem:()=>_(()=>import("./PostItemBlock-CHcUpQ-i.js"),__vite__mapDeps([21,1,2,3,4,5,11])),pageItem:()=>_(()=>import("./PageItemBlock-D7WemCTX.js"),__vite__mapDeps([22,1,2,3,4,5])),customForm:()=>_(()=>import("./FormBlock-C_74keKQ.js"),__vite__mapDeps([23,1,2,3,4,5,9,24,25,11])),pageResourceList:()=>_(()=>import("./PageResourceList-DR-wDUVY.js"),__vite__mapDeps([26,1,2,3,4,5,9,24,25,11]))}[e]||null)}},props:{blocks:{type:Object}},async created(){await this.loadAllComponents()}},A={key:1,class:"space-y-3 md:space-y-4"};function O(e,t,r,R,m,a){const n=u("PageSkeleton");return o(),i("div",null,[m.loading?(o(),s(n,{key:0})):(o(),i("div",A,[(o(!0),i(c,null,l(r.blocks,(p,E)=>(o(),s(P(a.getComponent(p.type)),{key:E,block:p},null,8,["block"]))),128))]))])}const g=L(I,[["render",O]]);export{g as P}; diff --git a/public/build/assets/PostGallery-DP9Y6oar.js b/public/build/assets/PostGallery-DP9Y6oar.js deleted file mode 100644 index 4ac0193..0000000 --- a/public/build/assets/PostGallery-DP9Y6oar.js +++ /dev/null @@ -1 +0,0 @@ -import{i as g,o as r,c as n,b as o,j as p,F as a,d as b,t as l,r as _,l as v,k as x,a as f}from"./app-lT3z3TR3.js";import"./SearchModal-YI3bdWA9.js";import{_ as h}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{F as w}from"./v3-B5UP5GZw.js";const k={name:"PostAuthorsList",components:{Link:g},data(){return{}},methods:{textLimit(s,e){if(s.length>e){let t;return t=s.substring(0,e),t+"..."}return s}},props:{authors:{type:Array}}},L={class:"col-start-2"},P={class:"hs-tooltip inline-block"},z={type:"button",class:"hs-tooltip-toggle underline hover:text-blue-400 duration-300"},$={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"};function j(s,e,t,m,i,d){return r(),n("div",L,[o("div",P,[o("button",z,[e[1]||(e[1]=p(" Над статьей работали ")),o("span",$,[(r(!0),n(a,null,b(t.authors,c=>(r(),n(a,null,[p(l(c)+" ",1),e[0]||(e[0]=o("br",null,null,-1))],64))),256))])])])])}const tt=h(k,[["render",j]]),C={name:"PostTimeRead",components:{Link:g},data(){return{}},methods:{textLimit(s,e){if(s.length>e){let t;return t=s.substring(0,e),t+"..."}return s}},props:{time:{type:String}}},F={class:"block"};function S(s,e,t,m,i,d){return r(),n("span",F,"Чтение займет "+l(t.time)+" Минуты",1)}const et=h(C,[["render",S]]),T={name:"PostGallery",components:{Link:g,FsLightbox:w},data(){return{toggler:!1,slide:1,domainPath:null}},methods:{textLimit(s,e){if(s.length>e){let t;return t=s.substring(0,e),t+"..."}return s},openLightboxOnSlide:function(s){this.slide=s,this.toggler=!this.toggler}},mounted(){this.domainPath=window.location.origin},props:{images:{type:Array},title:{type:String}}},B={key:0,class:"grid gap-4 border-t border-gray-300 py-4"},N={class:"relative"},V=["src"],A={class:"absolute inset-x-0 bottom-5 flex flex-col justify-center items-center"},G={class:"text-white text-sm lg:text-xl text-center"},O={class:"text-gray-300 text-sm"},R={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"},D={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"},E={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"},M={class:"flex justify-between items-center py-3 px-4 border-b dark:border-neutral-700"},q={id:"modal-post-gallery-label",class:"font-bold text-gray-800 dark:text-white"},H={class:"p-4 overflow-y-auto"},I={class:"grid grid-cols-2 sm:grid-cols-3 gap-3"},J={class:"group block relative overflow-hidden rounded-lg"},K=["onClick","src"];function Q(s,e,t,m,i,d){const c=_("FsLightbox");return r(),n(a,null,[t.images.length?(r(),n("div",B,[o("div",N,[o("img",{loading:"lazy",class:"filter brightness-[0.8] w-full max-h-[500px] object-cover rounded-lg hover:opacity-95 hover:duration-200 transition",src:"/storage/"+t.images[0],"data-hs-overlay":"#modal-post-gallery",alt:""},null,8,V),o("div",A,[o("p",G,l(t.title),1),o("span",O,l(t.images.length)+" фотографий",1)])])])):v("",!0),o("div",R,[o("div",D,[o("div",E,[o("div",M,[o("h3",q," Галлерея: "+l(t.title),1),e[0]||(e[0]=x('',1))]),o("div",H,[o("div",I,[(r(!0),n(a,null,b(t.images,(u,y)=>(r(),n("div",J,[o("img",{loading:"lazy",onClick:U=>d.openLightboxOnSlide(y+1),class:"w-full size-40 object-cover bg-gray-100 rounded-lg",src:"/storage/"+u},null,8,K),e[1]||(e[1]=x('
Открыть
',1))]))),256))])])])])]),f(c,{class:"",slide:i.slide,toggler:i.toggler,sources:t.images.map(u=>i.domainPath+"/storage/"+u)},null,8,["slide","toggler","sources"])],64)}const ot=h(T,[["render",Q]]);export{ot as P,et as a,tt as b}; diff --git a/public/build/assets/PostItemBlock-B3bvWdQ2.js b/public/build/assets/PostItemBlock-B3bvWdQ2.js deleted file mode 100644 index 006d53a..0000000 --- a/public/build/assets/PostItemBlock-B3bvWdQ2.js +++ /dev/null @@ -1 +0,0 @@ -import"./SearchModal-YI3bdWA9.js";import{m as r,i as n,r as d,o as l,c as i,k as c,a as u,w as p,b as e,t as g,j as f}from"./app-lT3z3TR3.js";import{_ as m}from"./_plugin-vue_export-helper-DlAUqK2U.js";const h={name:"PostListBlock",components:{axios:r,Link:n},data(){return{post:null,loading:!0}},methods:{getPost(t){r.get(route("client.widget.post.single",t),{params:{count:this.block.data.count,category:this.block.data.category}}).then(s=>{this.post=s.data,this.loading=!1}).catch(s=>{console.error("Ошибка:",s),this.loading=!1})}},mounted(){this.getPost(this.block.data.post)},props:{block:{type:Object}}},v={class:"w-full px-4 py-5 sm:px-6 lg:px-8 lg:py-7 mx-auto"},x={key:0,class:"flex flex-col space-y-4"},w={key:1,class:"grid lg:grid-cols-1 lg:gap-y-16 gap-10"},y={class:"flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-5"},b={class:"shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"},k=["src"],_={class:"grow"},B={class:"text-xl font-semibold text-gray-800 group-hover:text-gray-600"};function P(t,s,j,L,o,N){const a=d("Link");return l(),i("div",v,[o.loading?(l(),i("div",x,s[0]||(s[0]=[c('

',1)]))):(l(),i("div",w,[u(a,{class:"group block rounded-xl overflow-hidden focus:outline-none",href:t.route("client.post.show",o.post.data.slug)},{default:p(()=>[e("div",y,[e("div",b,[e("img",{class:"group-hover:scale-105 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl",src:o.post.data.preview?"storage/images/"+o.post.data.preview:"/img/thumbnail-1.png"},null,8,k)]),e("div",_,[e("h3",B,g(o.post.data.title),1),s[1]||(s[1]=e("p",{class:"mt-3 text-gray-600"}," Produce professional, reliable streams easily leveraging Preline's innovative broadcast studio ",-1)),s[2]||(s[2]=e("p",{class:"mt-4 inline-flex items-center gap-x-1 text-sm text-primaryBlue decoration-2 group-hover:underline group-focus:underline font-medium"},[f(" Читать далее "),e("svg",{class:"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:"m9 18 6-6-6-6"})])],-1))])])]),_:1},8,["href"])]))])}const S=m(h,[["render",P]]);export{S as default}; diff --git a/public/build/assets/PostItemBlock-CHcUpQ-i.js b/public/build/assets/PostItemBlock-CHcUpQ-i.js deleted file mode 100644 index 006d53a..0000000 --- a/public/build/assets/PostItemBlock-CHcUpQ-i.js +++ /dev/null @@ -1 +0,0 @@ -import"./SearchModal-YI3bdWA9.js";import{m as r,i as n,r as d,o as l,c as i,k as c,a as u,w as p,b as e,t as g,j as f}from"./app-lT3z3TR3.js";import{_ as m}from"./_plugin-vue_export-helper-DlAUqK2U.js";const h={name:"PostListBlock",components:{axios:r,Link:n},data(){return{post:null,loading:!0}},methods:{getPost(t){r.get(route("client.widget.post.single",t),{params:{count:this.block.data.count,category:this.block.data.category}}).then(s=>{this.post=s.data,this.loading=!1}).catch(s=>{console.error("Ошибка:",s),this.loading=!1})}},mounted(){this.getPost(this.block.data.post)},props:{block:{type:Object}}},v={class:"w-full px-4 py-5 sm:px-6 lg:px-8 lg:py-7 mx-auto"},x={key:0,class:"flex flex-col space-y-4"},w={key:1,class:"grid lg:grid-cols-1 lg:gap-y-16 gap-10"},y={class:"flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-5"},b={class:"shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"},k=["src"],_={class:"grow"},B={class:"text-xl font-semibold text-gray-800 group-hover:text-gray-600"};function P(t,s,j,L,o,N){const a=d("Link");return l(),i("div",v,[o.loading?(l(),i("div",x,s[0]||(s[0]=[c('

',1)]))):(l(),i("div",w,[u(a,{class:"group block rounded-xl overflow-hidden focus:outline-none",href:t.route("client.post.show",o.post.data.slug)},{default:p(()=>[e("div",y,[e("div",b,[e("img",{class:"group-hover:scale-105 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl",src:o.post.data.preview?"storage/images/"+o.post.data.preview:"/img/thumbnail-1.png"},null,8,k)]),e("div",_,[e("h3",B,g(o.post.data.title),1),s[1]||(s[1]=e("p",{class:"mt-3 text-gray-600"}," Produce professional, reliable streams easily leveraging Preline's innovative broadcast studio ",-1)),s[2]||(s[2]=e("p",{class:"mt-4 inline-flex items-center gap-x-1 text-sm text-primaryBlue decoration-2 group-hover:underline group-focus:underline font-medium"},[f(" Читать далее "),e("svg",{class:"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:"m9 18 6-6-6-6"})])],-1))])])]),_:1},8,["href"])]))])}const S=m(h,[["render",P]]);export{S as default}; diff --git a/public/build/assets/PostListBlock-C5UxMLFg.js b/public/build/assets/PostListBlock-C5UxMLFg.js deleted file mode 100644 index 9265a73..0000000 --- a/public/build/assets/PostListBlock-C5UxMLFg.js +++ /dev/null @@ -1 +0,0 @@ -import"./SearchModal-YI3bdWA9.js";import{m as a,i as c,r as g,o as t,c as i,k as f,F as h,d as p,e as m,w as v,b as l,t as w,j as n}from"./app-lT3z3TR3.js";import{_ as x}from"./_plugin-vue_export-helper-DlAUqK2U.js";const y={name:"PostListBlock",components:{axios:a,Link:c},data(){return{posts:null,loading:!0}},methods:{getPosts(){a.get(route("client.widget.post.index"),{params:{count:this.block.data.count,category:this.block.data.category}}).then(e=>{this.posts=e.data,this.loading=!1}).catch(e=>{console.error("Ошибка:",e),this.loading=!1})}},mounted(){this.getPosts()},props:{block:{type:Object}}},b={class:"w-full px-4 py-5 sm:px-6 lg:px-8 lg:py-7 mx-auto"},k={key:0,class:"flex flex-col space-y-4"},_={key:1,class:"grid lg:grid-cols-1 lg:gap-y-16 gap-10"},j={class:"flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-5"},B={class:"shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"},z=["src"],L={class:"grow"},P={class:"text-xl font-semibold text-gray-800 group-hover:text-gray-600"},C={class:"flex justify-center"},A=["href"];function F(e,s,d,N,r,V){const u=g("Link");return t(),i("div",b,[r.loading?(t(),i("div",k,s[0]||(s[0]=[f('

',3)]))):(t(),i("div",_,[(t(!0),i(h,null,p(r.posts.data,o=>(t(),m(u,{key:o.id,class:"group block rounded-xl overflow-hidden focus:outline-none",href:e.route("client.post.show",o.slug)},{default:v(()=>[l("div",j,[l("div",B,[l("img",{class:"group-hover:scale-105 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl",src:o.preview?"storage/images/"+o.preview:"/img/thumbnail-1.png"},null,8,z)]),l("div",L,[l("h3",P,w(o.title),1),s[1]||(s[1]=l("p",{class:"mt-3 text-gray-600"}," Produce professional, reliable streams easily leveraging Preline's innovative broadcast studio ",-1)),s[2]||(s[2]=l("p",{class:"mt-4 inline-flex items-center gap-x-1 text-sm text-primaryBlue decoration-2 group-hover:underline group-focus:underline font-medium"},[n(" Читать далее "),l("svg",{class:"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"},[l("path",{d:"m9 18 6-6-6-6"})])],-1))])])]),_:2},1032,["href"]))),128)),l("div",C,[l("a",{href:e.route("client.post.index",{category:d.block.data.category}),class:"group inline-flex items-center gap-x-1 text-sm font-semibold text-[#1A5AAF]"},s[3]||(s[3]=[n(" Все новости "),l("svg",{class:"flex-shrink-0 size-4 transition ease-in-out group-hover:translate-x-1",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"},[l("path",{d:"m9 18 6-6-6-6"})],-1)]),8,A)])]))])}const O=x(y,[["render",F]]);export{O as default}; diff --git a/public/build/assets/PostListBlock-Vo9iG3Sb.js b/public/build/assets/PostListBlock-Vo9iG3Sb.js deleted file mode 100644 index 9265a73..0000000 --- a/public/build/assets/PostListBlock-Vo9iG3Sb.js +++ /dev/null @@ -1 +0,0 @@ -import"./SearchModal-YI3bdWA9.js";import{m as a,i as c,r as g,o as t,c as i,k as f,F as h,d as p,e as m,w as v,b as l,t as w,j as n}from"./app-lT3z3TR3.js";import{_ as x}from"./_plugin-vue_export-helper-DlAUqK2U.js";const y={name:"PostListBlock",components:{axios:a,Link:c},data(){return{posts:null,loading:!0}},methods:{getPosts(){a.get(route("client.widget.post.index"),{params:{count:this.block.data.count,category:this.block.data.category}}).then(e=>{this.posts=e.data,this.loading=!1}).catch(e=>{console.error("Ошибка:",e),this.loading=!1})}},mounted(){this.getPosts()},props:{block:{type:Object}}},b={class:"w-full px-4 py-5 sm:px-6 lg:px-8 lg:py-7 mx-auto"},k={key:0,class:"flex flex-col space-y-4"},_={key:1,class:"grid lg:grid-cols-1 lg:gap-y-16 gap-10"},j={class:"flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-5"},B={class:"shrink-0 relative rounded-xl overflow-hidden w-full sm:w-56 h-44"},z=["src"],L={class:"grow"},P={class:"text-xl font-semibold text-gray-800 group-hover:text-gray-600"},C={class:"flex justify-center"},A=["href"];function F(e,s,d,N,r,V){const u=g("Link");return t(),i("div",b,[r.loading?(t(),i("div",k,s[0]||(s[0]=[f('

',3)]))):(t(),i("div",_,[(t(!0),i(h,null,p(r.posts.data,o=>(t(),m(u,{key:o.id,class:"group block rounded-xl overflow-hidden focus:outline-none",href:e.route("client.post.show",o.slug)},{default:v(()=>[l("div",j,[l("div",B,[l("img",{class:"group-hover:scale-105 group-focus:scale-105 transition-transform duration-500 ease-in-out size-full absolute top-0 start-0 object-cover rounded-xl",src:o.preview?"storage/images/"+o.preview:"/img/thumbnail-1.png"},null,8,z)]),l("div",L,[l("h3",P,w(o.title),1),s[1]||(s[1]=l("p",{class:"mt-3 text-gray-600"}," Produce professional, reliable streams easily leveraging Preline's innovative broadcast studio ",-1)),s[2]||(s[2]=l("p",{class:"mt-4 inline-flex items-center gap-x-1 text-sm text-primaryBlue decoration-2 group-hover:underline group-focus:underline font-medium"},[n(" Читать далее "),l("svg",{class:"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"},[l("path",{d:"m9 18 6-6-6-6"})])],-1))])])]),_:2},1032,["href"]))),128)),l("div",C,[l("a",{href:e.route("client.post.index",{category:d.block.data.category}),class:"group inline-flex items-center gap-x-1 text-sm font-semibold text-[#1A5AAF]"},s[3]||(s[3]=[n(" Все новости "),l("svg",{class:"flex-shrink-0 size-4 transition ease-in-out group-hover:translate-x-1",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"},[l("path",{d:"m9 18 6-6-6-6"})],-1)]),8,A)])]))])}const O=x(y,[["render",F]]);export{O as default}; diff --git a/public/build/assets/Schedule-BD9RnYmM.js b/public/build/assets/Schedule-BD9RnYmM.js deleted file mode 100644 index 85c4954..0000000 --- a/public/build/assets/Schedule-BD9RnYmM.js +++ /dev/null @@ -1 +0,0 @@ -import{i as m,r as c,c as o,a as n,b as e,h as w,q as b,y as k,p as f,k as y,w as _,z as C,F as d,o as r,d as h,j as M,t as p}from"./app-lT3z3TR3.js";import{C as B,_ as N}from"./SearchModal-YI3bdWA9.js";import{_ as I}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */import{M as j}from"./MainPageNavbar-BfM50q-7.js";const D={name:"Schedule",data(){return{searchInput:this.searchRequest}},components:{MainPageNavBar:j,ClientFooterDown:B,Link:m},props:["schedules","navigation","searchRequest"],methods:{search:N.debounce(function(){this.$inertia.reload({method:"get",data:{search:this.searchInput},preserveState:!0,replace:!0})},300)}},F={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},V={class:"w-full min-w-0 mt-4 px-1 md:px-6"},L={class:"relative overflow-hidden"},S={class:"max-w-[85rem] mx-auto px-4 sm:px-6 lg:px-8 py-10 sm:pb-24 sm:py-5"},q={class:"text-center"},P={class:"mt-7 sm:mt-12 mx-auto max-w-xl relative"},T={class:"relative z-10 space-x-3 p-3 bg-white border rounded-lg shadow-lg shadow-gray-100"},z={class:"flex justify-between"},K={class:"flex w-full"},R={class:"mx-auto max-w-2xl hs-accordion-group grid grid-cols-1 lg:grid-cols-2 gap-3"},E={class:"hs-accordion-toggle hs-accordion-active:text-blue-600 inline-flex justify-between items-center gap-x-3 w-full font-semibold text-start text-gray-800 py-4 px-5 hover:text-gray-500 disabled:opacity-50 disabled:pointer-events-none dark:hs-accordion-active:text-blue-500 dark:text-gray-200 dark:hover:text-gray-400 dark:focus:outline-none dark:focus:text-gray-400","aria-controls":"hs-basic-active-bordered-collapse-one"},G={id:"hs-basic-active-bordered-collapse-one",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300","aria-labelledby":"hs-active-bordered-heading-one"},U={class:"pb-4 px-5 grid gap-3 grid-cols-1"},$=["href"];function A(g,t,u,H,i,l){const v=c("MainPageNavBar"),x=c("ClientFooterDown");return r(),o(d,null,[n(v,{class:"border-b",sections:g.$page.props.navigation},null,8,["sections"]),e("div",F,[e("article",V,[e("div",L,[e("div",S,[e("div",q,[t[5]||(t[5]=e("h1",{class:"text-2xl sm:text-4xl font-bold text-gray-800 dark:text-gray-200"}," Расписание занятий ",-1)),t[6]||(t[6]=e("div",{class:"text-center"},[e("p",{class:"mt-3 text-gray-600 dark:text-gray-400"}," Просто введите название группы ")],-1)),e("div",P,[e("form",null,[e("div",T,[e("div",z,[e("div",K,[t[3]||(t[3]=e("label",{for:"hs-search-article-1",class:"block text-sm text-gray-700 font-medium dark:text-white"},[e("span",{class:"sr-only"},"Поиск")],-1)),w(e("input",{onKeydown:t[0]||(t[0]=k(f(()=>{},["prevent"]),["enter"])),autocomplete:"off","onUpdate:modelValue":t[1]||(t[1]=a=>i.searchInput=a),onInput:t[2]||(t[2]=(...a)=>l.search&&l.search(...a)),type:"search",id:"hs-search-article-1",class:"py-2.5 px-4 block w-full border-transparent rounded-lg",placeholder:"Поиск"},null,544),[[b,i.searchInput]])])])])]),t[4]||(t[4]=y('',2))])])])]),e("div",R,[n(C,{name:"fade"},{default:_(()=>[(r(!0),o(d,null,h(u.schedules.data,a=>(r(),o("div",{key:a.id,class:"hs-accordion hs-accordion-active:border-gray-200 bg-white border-b dark:hs-accordion-active:border-gray-700 dark:bg-gray-800 dark:border-transparent",id:"hs-active-bordered-heading-one"},[e("button",E,[M(p(a.name)+" ",1),t[7]||(t[7]=e("svg",{class:"hs-accordion-active:hidden block w-3.5 h-3.5",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:"M5 12h14"}),e("path",{d:"M12 5v14"})],-1)),t[8]||(t[8]=e("svg",{class:"hs-accordion-active:block hidden w-3.5 h-3.5",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:"M5 12h14"})],-1))]),e("div",G,[e("div",U,[(r(!0),o(d,null,h(a.subSchedules,s=>(r(),o("a",{key:s.id,target:"_blank",href:s.path_file,class:"py-3 px-4 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-gray-200 bg-white text-gray-500 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-slate-900 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-800 dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600"},p(s.name),9,$))),128))])])]))),128))]),_:1})])])]),n(x,{style:{"margin-top":"300px"}})],64)}const Y=I(D,[["render",A],["__scopeId","data-v-9010082e"]]);export{Y as default}; diff --git a/public/build/assets/SearchModal-YI3bdWA9.js b/public/build/assets/SearchModal-YI3bdWA9.js deleted file mode 100644 index 1535f90..0000000 --- a/public/build/assets/SearchModal-YI3bdWA9.js +++ /dev/null @@ -1,4 +0,0 @@ -import{_ as V}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as x,c as $,k as la,bU as ke,bT as bi,n as Y,bV as wi,bW as xi,i as ee,r as X,a as U,w as Z,b as p,F,t as j,l as W,e as me,d as J,g as $i,h as Ai,q as Ci,f as Ei,j as pe,_ as Si}from"./app-lT3z3TR3.js";const Ri={name:"ClientFooterDown"},ki={class:"w-full bg-[#1A5AAF] py-10 mx-auto"};function Ti(e,t,r,n,a,i){return x(),$("footer",ki,t[0]||(t[0]=[la('',1)]))}const v_=V(Ri,[["render",Ti]]);var Pi=/\s/;function Li(e){for(var t=e.length;t--&&Pi.test(e.charAt(t)););return t}var Oi=Li,Ii=Oi,Mi=/^\s+/;function Fi(e){return e&&e.slice(0,Ii(e)+1).replace(Mi,"")}var ji=Fi;function Di(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ae=Di,Hi=typeof ke=="object"&&ke&&ke.Object===Object&&ke,ua=Hi,Bi=ua,Ni=typeof self=="object"&&self&&self.Object===Object&&self,Gi=Bi||Ni||Function("return this")(),z=Gi,Ui=z,Wi=Ui.Symbol,Pe=Wi,Lr=Pe,ca=Object.prototype,Vi=ca.hasOwnProperty,zi=ca.toString,Se=Lr?Lr.toStringTag:void 0;function qi(e){var t=Vi.call(e,Se),r=e[Se];try{e[Se]=void 0;var n=!0}catch{}var a=zi.call(e);return n&&(t?e[Se]=r:delete e[Se]),a}var Ki=qi,Zi=Object.prototype,Yi=Zi.toString;function Ji(e){return Yi.call(e)}var Xi=Ji,Or=Pe,Qi=Ki,eo=Xi,to="[object Null]",ro="[object Undefined]",Ir=Or?Or.toStringTag:void 0;function no(e){return e==null?e===void 0?ro:to:Ir&&Ir in Object(e)?Qi(e):eo(e)}var Le=no;function ao(e){return e!=null&&typeof e=="object"}var ye=ao,io=Le,oo=ye,so="[object Symbol]";function lo(e){return typeof e=="symbol"||oo(e)&&io(e)==so}var Ye=lo,uo=ji,Mr=ae,co=Ye,Fr=NaN,ho=/^[-+]0x[0-9a-f]+$/i,fo=/^0b[01]+$/i,po=/^0o[0-7]+$/i,vo=parseInt;function go(e){if(typeof e=="number")return e;if(co(e))return Fr;if(Mr(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Mr(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=uo(e);var r=fo.test(e);return r||po.test(e)?vo(e.slice(2),r?2:8):ho.test(e)?Fr:+e}var Ht=go,mo=Ht,jr=1/0,yo=17976931348623157e292;function _o(e){if(!e)return e===0?e:0;if(e=mo(e),e===jr||e===-jr){var t=e<0?-1:1;return t*yo}return e===e?e:0}var bo=_o,wo=bo;function xo(e){var t=wo(e),r=t%1;return t===t?r?t-r:t:0}var Oe=xo,$o=Oe,Ao="Expected a function";function Co(e,t){if(typeof t!="function")throw new TypeError(Ao);return e=$o(e),function(){if(--e<1)return t.apply(this,arguments)}}var Eo=Co;function So(e){return e}var Ie=So,Ro=Le,ko=ae,To="[object AsyncFunction]",Po="[object Function]",Lo="[object GeneratorFunction]",Oo="[object Proxy]";function Io(e){if(!ko(e))return!1;var t=Ro(e);return t==Po||t==Lo||t==To||t==Oo}var da=Io,Mo=z,Fo=Mo["__core-js_shared__"],jo=Fo,lt=jo,Dr=function(){var e=/[^.]+$/.exec(lt&<.keys&<.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Do(e){return!!Dr&&Dr in e}var Ho=Do,Bo=Function.prototype,No=Bo.toString;function Go(e){if(e!=null){try{return No.call(e)}catch{}try{return e+""}catch{}}return""}var ha=Go,Uo=da,Wo=Ho,Vo=ae,zo=ha,qo=/[\\^$.*+?()[\]{}|]/g,Ko=/^\[object .+?Constructor\]$/,Zo=Function.prototype,Yo=Object.prototype,Jo=Zo.toString,Xo=Yo.hasOwnProperty,Qo=RegExp("^"+Jo.call(Xo).replace(qo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function es(e){if(!Vo(e)||Wo(e))return!1;var t=Uo(e)?Qo:Ko;return t.test(zo(e))}var ts=es;function rs(e,t){return e==null?void 0:e[t]}var ns=rs,as=ts,is=ns;function os(e,t){var r=is(e,t);return as(r)?r:void 0}var ue=os,ss=ue,ls=z,us=ss(ls,"WeakMap"),fa=us,Hr=fa,cs=Hr&&new Hr,pa=cs,ds=Ie,Br=pa,hs=Br?function(e,t){return Br.set(e,t),e}:ds,va=hs,fs=ae,Nr=Object.create,ps=function(){function e(){}return function(t){if(!fs(t))return{};if(Nr)return Nr(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),Bt=ps,vs=Bt,gs=ae;function ms(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=vs(e.prototype),n=e.apply(r,t);return gs(n)?n:r}}var Je=ms,ys=Je,_s=z,bs=1;function ws(e,t,r){var n=t&bs,a=ys(e);function i(){var o=this&&this!==_s&&this instanceof i?a:e;return o.apply(n?r:this,arguments)}return i}var xs=ws;function $s(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var Me=$s,As=Math.max;function Cs(e,t,r,n){for(var a=-1,i=e.length,o=r.length,l=-1,d=t.length,u=As(i-o,0),y=Array(d+u),b=!n;++l0){if(++t>=fl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var wa=gl,ml=va,yl=wa,_l=yl(ml),xa=_l,bl=/\{\n\/\* \[wrapped with (.+)\] \*/,wl=/,? & /;function xl(e){var t=e.match(bl);return t?t[1].split(wl):[]}var $l=xl,Al=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function Cl(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(Al,`{ -/* [wrapped with `+t+`] */ -`)}var El=Cl;function Sl(e){return function(){return e}}var Rl=Sl,kl=ue,Tl=function(){try{var e=kl(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Pl=Tl,Ll=Rl,Vr=Pl,Ol=Ie,Il=Vr?function(e,t){return Vr(e,"toString",{configurable:!0,enumerable:!1,value:Ll(t),writable:!0})}:Ol,Ml=Il,Fl=Ml,jl=wa,Dl=jl(Fl),Ut=Dl;function Hl(e,t){for(var r=-1,n=e==null?0:e.length;++r-1}var eu=Ql,tu=Bl,ru=eu,nu=1,au=2,iu=8,ou=16,su=32,lu=64,uu=128,cu=256,du=512,hu=[["ary",uu],["bind",nu],["bindKey",au],["curry",iu],["curryRight",ou],["flip",du],["partial",su],["partialRight",lu],["rearg",cu]];function fu(e,t){return tu(hu,function(r){var n="_."+r[0];t&r[1]&&!ru(e,n)&&e.push(n)}),e.sort()}var pu=fu,vu=$l,gu=El,mu=Ut,yu=pu;function _u(e,t,r){var n=t+"";return mu(e,gu(n,yu(vu(n),r)))}var $a=_u,bu=hl,wu=xa,xu=$a,$u=1,Au=2,Cu=4,Eu=8,zr=32,qr=64;function Su(e,t,r,n,a,i,o,l,d,u){var y=t&Eu,b=y?o:void 0,m=y?void 0:o,g=y?i:void 0,C=y?void 0:i;t|=y?zr:qr,t&=~(y?qr:zr),t&Cu||(t&=~($u|Au));var E=[e,t,a,g,b,C,m,l,d,u],_=r.apply(void 0,E);return bu(e)&&wu(_,E),_.placeholder=n,xu(_,e,t)}var Aa=Su;function Ru(e){var t=e;return t.placeholder}var _e=Ru,ku=9007199254740991,Tu=/^(?:0|[1-9]\d*)$/;function Pu(e,t){var r=typeof e;return t=t??ku,!!t&&(r=="number"||r!="symbol"&&Tu.test(e))&&e>-1&&e%1==0&&e1&&R.reverse(),y&&d0&&(r=t.apply(this,arguments)),e<=1&&(t=void 0),r}}var Ra=jc,Dc=Me,an=Math.max;function Hc(e,t,r){return t=an(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,i=an(n.length-t,0),o=Array(i);++a=t||h<0||b&&s>=i}function k(){var f=ft();if(_(f))return R(f);l=setTimeout(k,E(f))}function R(f){return l=void 0,m&&n?g(f):(n=a=void 0,o)}function q(){l!==void 0&&clearTimeout(l),u=0,n=d=a=l=void 0}function N(){return l===void 0?o:R(ft())}function B(){var f=ft(),h=_(f);if(n=arguments,a=this,d=f,h){if(l===void 0)return C(d);if(b)return clearTimeout(l),l=setTimeout(k,t),g(d)}return l===void 0&&(l=setTimeout(k,t)),o}return B.cancel=q,B.flush=N,B}var Ta=yd,_d="Expected a function";function bd(e,t,r){if(typeof e!="function")throw new TypeError(_d);return setTimeout(function(){e.apply(void 0,r)},t)}var Pa=bd,wd=Pa,xd=re,$d=xd(function(e,t){return wd(e,1,t)}),Ad=$d,Cd=Pa,Ed=re,Sd=Ht,Rd=Ed(function(e,t,r){return Cd(e,Sd(t)||0,r)}),kd=Rd,Td=ne,Pd=512;function Ld(e){return Td(e,Pd)}var Od=Ld,Id=ue,Md=Id(Object,"create"),Xe=Md,sn=Xe;function Fd(){this.__data__=sn?sn(null):{},this.size=0}var jd=Fd;function Dd(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Hd=Dd,Bd=Xe,Nd="__lodash_hash_undefined__",Gd=Object.prototype,Ud=Gd.hasOwnProperty;function Wd(e){var t=this.__data__;if(Bd){var r=t[e];return r===Nd?void 0:r}return Ud.call(t,e)?t[e]:void 0}var Vd=Wd,zd=Xe,qd=Object.prototype,Kd=qd.hasOwnProperty;function Zd(e){var t=this.__data__;return zd?t[e]!==void 0:Kd.call(t,e)}var Yd=Zd,Jd=Xe,Xd="__lodash_hash_undefined__";function Qd(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Jd&&t===void 0?Xd:t,this}var e1=Qd,t1=jd,r1=Hd,n1=Vd,a1=Yd,i1=e1;function be(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var x1=w1,$1=Qe;function A1(e,t){var r=this.__data__,n=$1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var C1=A1,E1=l1,S1=g1,R1=_1,k1=x1,T1=C1;function we(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t0&&r(l)?t>1?ja(l,t-1,r,n,a):Sh(a,l):n||(a[a.length]=l)}return a}var Da=ja,kh=et;function Th(){this.__data__=new kh,this.size=0}var Ph=Th;function Lh(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var Oh=Lh;function Ih(e){return this.__data__.get(e)}var Mh=Ih;function Fh(e){return this.__data__.has(e)}var jh=Fh,Dh=et,Hh=Zt,Bh=Yt,Nh=200;function Gh(e,t){var r=this.__data__;if(r instanceof Dh){var n=r.__data__;if(!Hh||n.lengthl))return!1;var u=i.get(e),y=i.get(t);if(u&&y)return u==t&&y==e;var b=-1,m=!0,g=r&pf?new cf:void 0;for(i.set(e,t),i.set(t,e);++b-1&&e%1==0&&e<=o0}var er=s0,l0=Le,u0=er,c0=ye,d0="[object Arguments]",h0="[object Array]",f0="[object Boolean]",p0="[object Date]",v0="[object Error]",g0="[object Function]",m0="[object Map]",y0="[object Number]",_0="[object Object]",b0="[object RegExp]",w0="[object Set]",x0="[object String]",$0="[object WeakMap]",A0="[object ArrayBuffer]",C0="[object DataView]",E0="[object Float32Array]",S0="[object Float64Array]",R0="[object Int8Array]",k0="[object Int16Array]",T0="[object Int32Array]",P0="[object Uint8Array]",L0="[object Uint8ClampedArray]",O0="[object Uint16Array]",I0="[object Uint32Array]",L={};L[E0]=L[S0]=L[R0]=L[k0]=L[T0]=L[P0]=L[L0]=L[O0]=L[I0]=!0;L[d0]=L[h0]=L[A0]=L[f0]=L[C0]=L[p0]=L[v0]=L[g0]=L[m0]=L[y0]=L[_0]=L[b0]=L[w0]=L[x0]=L[$0]=!1;function M0(e){return c0(e)&&u0(e.length)&&!!L[l0(e)]}var F0=M0;function j0(e){return function(t){return e(t)}}var Ga=j0,Ze={exports:{}};Ze.exports;(function(e,t){var r=ua,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===n,o=i&&r.process,l=function(){try{var d=a&&a.require&&a.require("util").types;return d||o&&o.binding&&o.binding("util")}catch{}}();e.exports=l})(Ze,Ze.exports);var D0=Ze.exports,H0=F0,B0=Ga,gn=D0,mn=gn&&gn.isTypedArray,N0=mn?B0(mn):H0,Ua=N0,G0=n0,U0=Qt,W0=te,V0=Na,z0=Wt,q0=Ua,K0=Object.prototype,Z0=K0.hasOwnProperty;function Y0(e,t){var r=W0(e),n=!r&&U0(e),a=!r&&!n&&V0(e),i=!r&&!n&&!a&&q0(e),o=r||n||a||i,l=o?G0(e.length,String):[],d=l.length;for(var u in e)(t||Z0.call(e,u))&&!(o&&(u=="length"||a&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||z0(u,d)))&&l.push(u);return l}var J0=Y0,X0=Object.prototype;function Q0(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||X0;return e===r}var ep=Q0;function tp(e,t){return function(r){return e(t(r))}}var rp=tp,np=rp,ap=np(Object.keys,Object),ip=ap,op=ep,sp=ip,lp=Object.prototype,up=lp.hasOwnProperty;function cp(e){if(!op(e))return sp(e);var t=[];for(var r in Object(e))up.call(e,r)&&r!="constructor"&&t.push(r);return t}var dp=cp,hp=da,fp=er;function pp(e){return e!=null&&fp(e.length)&&!hp(e)}var vp=pp,gp=J0,mp=dp,yp=vp;function _p(e){return yp(e)?gp(e):mp(e)}var Wa=_p,bp=Vf,wp=t0,xp=Wa;function $p(e){return bp(e,xp,wp)}var Ap=$p,yn=Ap,Cp=1,Ep=Object.prototype,Sp=Ep.hasOwnProperty;function Rp(e,t,r,n,a,i){var o=r&Cp,l=yn(e),d=l.length,u=yn(t),y=u.length;if(d!=y&&!o)return!1;for(var b=d;b--;){var m=l[b];if(!(o?m in t:Sp.call(t,m)))return!1}var g=i.get(e),C=i.get(t);if(g&&C)return g==t&&C==e;var E=!0;i.set(e,t),i.set(t,e);for(var _=o;++ba?0:a+t),r=r>a?a:r,r<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(a);++n=n?e:M5(e,t,r)}var j5=F5,D5=Me,H5=Xt,B5=re,N5=j5,G5=Oe,U5="Expected a function",W5=Math.max;function V5(e,t){if(typeof e!="function")throw new TypeError(U5);return t=t==null?0:W5(G5(t),0),B5(function(r){var n=r[t],a=N5(r,0,t);return n&&H5(a,n),D5(e,this,a)})}var z5=V5,q5=Ta,K5=ae,Z5="Expected a function";function Y5(e,t,r){var n=!0,a=!0;if(typeof e!="function")throw new TypeError(Z5);return K5(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),q5(e,t,{leading:n,maxWait:t,trailing:a})}var J5=Y5,X5=Sa;function Q5(e){return X5(e,1)}var eg=Q5,tg=Ie;function rg(e){return typeof e=="function"?e:tg}var ng=rg,ag=ng,ig=Qa;function og(e,t){return ig(ag(t),e)}var sg=og,Te={after:Eo,ary:Sa,before:Ra,bind:Yc,bindKey:ad,curry:sd,curryRight:cd,debounce:Ta,defer:Ad,delay:kd,flip:Od,memoize:Ia,negate:lh,once:dh,overArgs:n5,partial:Qa,partialRight:p5,rearg:S5,rest:L5,spread:z5,throttle:J5,unary:eg,wrap:sg},ei={exports:{}};(function(e,t){(function(r,n,a){e.exports=a(),e.exports.default=a()})("slugify",ke,function(){var r=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),n=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function a(i,o){if(typeof i!="string")throw new Error("slugify: string argument expected");o=typeof o=="string"?{replacement:o}:o||{};var l=n[o.locale]||{},d=o.replacement===void 0?"-":o.replacement,u=o.trim===void 0?!0:o.trim,y=i.normalize().split("").reduce(function(b,m){var g=l[m];return g===void 0&&(g=r[m]),g===void 0&&(g=m),g===d&&(g=" "),b+g.replace(o.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return o.strict&&(y=y.replace(/[^A-Za-z0-9\s]/g,"")),u&&(y=y.trim()),y=y.replace(/\s+/g,d),o.lower&&(y=y.toLowerCase()),y}return a.extend=function(i){Object.assign(r,i)},a})})(ei);var lg=ei.exports;const g_=bi(lg),jn={schedule:{path:'',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"},search:{path:'',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"},line:{path:'',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"},eye:{path:' ',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"},file:{path:'',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"},docx:{path:'',viewBox:"0 0 17 17",fill:"none",stroke_width:1.5,stroke:"none"},pdf:{path:'',viewBox:"0 0 16 16",fill:"none",stroke_width:1,stroke:"none"},delete:{path:'',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"},heart:{path:'',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"},home:{path:'',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"}},ug={name:"BaseIcon",data(){return{icon:jn[this.name]||jn.file}},methods:{},props:{name:{type:String},viewBox:{type:String},stroke_width:{type:Number},fill:{type:String}}},cg=["fill","viewBox","stroke-width","stroke","innerHTML"];function dg(e,t,r,n,a,i){return x(),$("svg",{xmlns:"http://www.w3.org/2000/svg",fill:a.icon.fill||"none",viewBox:a.icon.viewBox||this.viewBox||"0 0 24 24","stroke-width":a.icon.stroke_width||this.stroke_width||1.5,stroke:a.icon.stroke||"currentColor",class:Y(e.$attrs.class||"w-6 h-6"),innerHTML:a.icon.path},null,10,cg)}const ti=V(ug,[["render",dg]]);var hg={},ar={exports:{}},ri=function(t,r){return function(){for(var a=new Array(arguments.length),i=0;i"u"}function pg(e){return e!==null&&!jt(e)&&e.constructor!==null&&!jt(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function vg(e){return de.call(e)==="[object ArrayBuffer]"}function gg(e){return typeof FormData<"u"&&e instanceof FormData}function mg(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function yg(e){return typeof e=="string"}function _g(e){return typeof e=="number"}function ni(e){return e!==null&&typeof e=="object"}function Ge(e){if(de.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function bg(e){return de.call(e)==="[object Date]"}function wg(e){return de.call(e)==="[object File]"}function xg(e){return de.call(e)==="[object Blob]"}function ai(e){return de.call(e)==="[object Function]"}function $g(e){return ni(e)&&ai(e.pipe)}function Ag(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function Cg(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function Eg(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function or(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),ir(e))for(var r=0,n=e.length;r"u"||(ve.isArray(d)?u=u+"[]":d=[d],ve.forEach(d,function(b){ve.isDate(b)?b=b.toISOString():ve.isObject(b)&&(b=JSON.stringify(b)),i.push(Dn(u)+"="+Dn(b))}))}),a=i.join("&")}if(a){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+a}return t},kg=K;function nt(){this.handlers=[]}nt.prototype.use=function(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};nt.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};nt.prototype.forEach=function(t){kg.forEach(this.handlers,function(n){n!==null&&t(n)})};var Tg=nt,Pg=K,Lg=function(t,r){Pg.forEach(t,function(a,i){i!==r&&i.toUpperCase()===r.toUpperCase()&&(t[r]=a,delete t[i])})},oi=function(t,r,n,a,i){return t.config=r,n&&(t.code=n),t.request=a,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t},gt,Hn;function si(){if(Hn)return gt;Hn=1;var e=oi;return gt=function(r,n,a,i,o){var l=new Error(r);return e(l,n,a,i,o)},gt}var mt,Bn;function Og(){if(Bn)return mt;Bn=1;var e=si();return mt=function(r,n,a){var i=a.config.validateStatus;!a.status||!i||i(a.status)?r(a):n(e("Request failed with status code "+a.status,a.config,null,a.request,a))},mt}var yt,Nn;function Ig(){if(Nn)return yt;Nn=1;var e=K;return yt=e.isStandardBrowserEnv()?function(){return{write:function(n,a,i,o,l,d){var u=[];u.push(n+"="+encodeURIComponent(a)),e.isNumber(i)&&u.push("expires="+new Date(i).toGMTString()),e.isString(o)&&u.push("path="+o),e.isString(l)&&u.push("domain="+l),d===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){var a=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),yt}var _t,Gn;function Mg(){return Gn||(Gn=1,_t=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}),_t}var bt,Un;function Fg(){return Un||(Un=1,bt=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}),bt}var wt,Wn;function jg(){if(Wn)return wt;Wn=1;var e=Mg(),t=Fg();return wt=function(n,a){return n&&!e(a)?t(n,a):a},wt}var xt,Vn;function Dg(){if(Vn)return xt;Vn=1;var e=K,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return xt=function(n){var a={},i,o,l;return n&&e.forEach(n.split(` -`),function(u){if(l=u.indexOf(":"),i=e.trim(u.substr(0,l)).toLowerCase(),o=e.trim(u.substr(l+1)),i){if(a[i]&&t.indexOf(i)>=0)return;i==="set-cookie"?a[i]=(a[i]?a[i]:[]).concat([o]):a[i]=a[i]?a[i]+", "+o:o}}),a},xt}var $t,zn;function Hg(){if(zn)return $t;zn=1;var e=K;return $t=e.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),a;function i(o){var l=o;return r&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=i(window.location.href),function(l){var d=e.isString(l)?i(l):l;return d.protocol===a.protocol&&d.host===a.host}}():function(){return function(){return!0}}(),$t}var At,qn;function Kn(){if(qn)return At;qn=1;var e=K,t=Og(),r=Ig(),n=ii,a=jg(),i=Dg(),o=Hg(),l=si();return At=function(u){return new Promise(function(b,m){var g=u.data,C=u.headers,E=u.responseType;e.isFormData(g)&&delete C["Content-Type"];var _=new XMLHttpRequest;if(u.auth){var k=u.auth.username||"",R=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";C.Authorization="Basic "+btoa(k+":"+R)}var q=a(u.baseURL,u.url);_.open(u.method.toUpperCase(),n(q,u.params,u.paramsSerializer),!0),_.timeout=u.timeout;function N(){if(_){var f="getAllResponseHeaders"in _?i(_.getAllResponseHeaders()):null,h=!E||E==="text"||E==="json"?_.responseText:_.response,s={data:h,status:_.status,statusText:_.statusText,headers:f,config:u,request:_};t(b,m,s),_=null}}if("onloadend"in _?_.onloadend=N:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(N)},_.onabort=function(){_&&(m(l("Request aborted",u,"ECONNABORTED",_)),_=null)},_.onerror=function(){m(l("Network Error",u,null,_)),_=null},_.ontimeout=function(){var h="timeout of "+u.timeout+"ms exceeded";u.timeoutErrorMessage&&(h=u.timeoutErrorMessage),m(l(h,u,u.transitional&&u.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",_)),_=null},e.isStandardBrowserEnv()){var B=(u.withCredentials||o(q))&&u.xsrfCookieName?r.read(u.xsrfCookieName):void 0;B&&(C[u.xsrfHeaderName]=B)}"setRequestHeader"in _&&e.forEach(C,function(h,s){typeof g>"u"&&s.toLowerCase()==="content-type"?delete C[s]:_.setRequestHeader(s,h)}),e.isUndefined(u.withCredentials)||(_.withCredentials=!!u.withCredentials),E&&E!=="json"&&(_.responseType=u.responseType),typeof u.onDownloadProgress=="function"&&_.addEventListener("progress",u.onDownloadProgress),typeof u.onUploadProgress=="function"&&_.upload&&_.upload.addEventListener("progress",u.onUploadProgress),u.cancelToken&&u.cancelToken.promise.then(function(h){_&&(_.abort(),m(h),_=null)}),g||(g=null),_.send(g)})},At}var D=K,Zn=Lg,Bg=oi,Ng={"Content-Type":"application/x-www-form-urlencoded"};function Yn(e,t){!D.isUndefined(e)&&D.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Gg(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Kn()),e}function Ug(e,t,r){if(D.isString(e))try{return(t||JSON.parse)(e),D.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(0,JSON.stringify)(e)}var at={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:Gg(),transformRequest:[function(t,r){return Zn(r,"Accept"),Zn(r,"Content-Type"),D.isFormData(t)||D.isArrayBuffer(t)||D.isBuffer(t)||D.isStream(t)||D.isFile(t)||D.isBlob(t)?t:D.isArrayBufferView(t)?t.buffer:D.isURLSearchParams(t)?(Yn(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):D.isObject(t)||r&&r["Content-Type"]==="application/json"?(Yn(r,"application/json"),Ug(t)):t}],transformResponse:[function(t){var r=this.transitional,n=r&&r.silentJSONParsing,a=r&&r.forcedJSONParsing,i=!n&&this.responseType==="json";if(i||a&&D.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?Bg(o,this,"E_JSON_PARSE"):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};at.headers={common:{Accept:"application/json, text/plain, */*"}};D.forEach(["delete","get","head"],function(t){at.headers[t]={}});D.forEach(["post","put","patch"],function(t){at.headers[t]=D.merge(Ng)});var sr=at,Wg=K,Vg=sr,zg=function(t,r,n){var a=this||Vg;return Wg.forEach(n,function(o){t=o.call(a,t,r)}),t},Ct,Jn;function li(){return Jn||(Jn=1,Ct=function(t){return!!(t&&t.__CANCEL__)}),Ct}var Xn=K,Et=zg,qg=li(),Kg=sr;function St(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var Zg=function(t){St(t),t.headers=t.headers||{},t.data=Et.call(t,t.data,t.headers,t.transformRequest),t.headers=Xn.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Xn.forEach(["delete","get","head","post","put","patch","common"],function(a){delete t.headers[a]});var r=t.adapter||Kg.adapter;return r(t).then(function(a){return St(t),a.data=Et.call(t,a.data,a.headers,t.transformResponse),a},function(a){return qg(a)||(St(t),a&&a.response&&(a.response.data=Et.call(t,a.response.data,a.response.headers,t.transformResponse))),Promise.reject(a)})},H=K,ui=function(t,r){r=r||{};var n={},a=["url","method","data"],i=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],l=["validateStatus"];function d(m,g){return H.isPlainObject(m)&&H.isPlainObject(g)?H.merge(m,g):H.isPlainObject(g)?H.merge({},g):H.isArray(g)?g.slice():g}function u(m){H.isUndefined(r[m])?H.isUndefined(t[m])||(n[m]=d(void 0,t[m])):n[m]=d(t[m],r[m])}H.forEach(a,function(g){H.isUndefined(r[g])||(n[g]=d(void 0,r[g]))}),H.forEach(i,u),H.forEach(o,function(g){H.isUndefined(r[g])?H.isUndefined(t[g])||(n[g]=d(void 0,t[g])):n[g]=d(void 0,r[g])}),H.forEach(l,function(g){g in r?n[g]=d(t[g],r[g]):g in t&&(n[g]=d(void 0,t[g]))});var y=a.concat(i).concat(o).concat(l),b=Object.keys(t).concat(Object.keys(r)).filter(function(g){return y.indexOf(g)===-1});return H.forEach(b,u),n};const Yg="axios",Jg="0.21.4",Xg="Promise based HTTP client for the browser and node.js",Qg="index.js",em={test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},tm={type:"git",url:"https://github.com/axios/axios.git"},rm=["xhr","http","ajax","promise","node"],nm="Matt Zabriskie",am="MIT",im={url:"https://github.com/axios/axios/issues"},om="https://axios-http.com",sm={coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},lm={"./lib/adapters/http.js":"./lib/adapters/xhr.js"},um="dist/axios.min.js",cm="dist/axios.min.js",dm="./index.d.ts",hm={"follow-redirects":"^1.14.0"},fm=[{path:"./dist/axios.min.js",threshold:"5kB"}],pm={name:Yg,version:Jg,description:Xg,main:Qg,scripts:em,repository:tm,keywords:rm,author:nm,license:am,bugs:im,homepage:om,devDependencies:sm,browser:lm,jsdelivr:um,unpkg:cm,typings:dm,dependencies:hm,bundlesize:fm};var ci=pm,lr={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){lr[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var Qn={},vm=ci.version.split(".");function di(e,t){for(var r=t?t.split("."):vm,n=e.split("."),a=0;a<3;a++){if(r[a]>n[a])return!0;if(r[a]0;){var i=n[a],o=t[i];if(o){var l=e[i],d=l===void 0||o(l,i,e);if(d!==!0)throw new TypeError("option "+i+" must be "+d);continue}if(r!==!0)throw Error("Unknown option "+i)}}var mm={isOlderVersion:di,assertOptions:gm,validators:lr},hi=K,ym=ii,ea=Tg,ta=Zg,it=ui,fi=mm,ge=fi.validators;function Fe(e){this.defaults=e,this.interceptors={request:new ea,response:new ea}}Fe.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=it(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;r!==void 0&&fi.assertOptions(r,{silentJSONParsing:ge.transitional(ge.boolean,"1.0.0"),forcedJSONParsing:ge.transitional(ge.boolean,"1.0.0"),clarifyTimeoutError:ge.transitional(ge.boolean,"1.0.0")},!1);var n=[],a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(t)===!1||(a=a&&m.synchronous,n.unshift(m.fulfilled,m.rejected))});var i=[];this.interceptors.response.forEach(function(m){i.push(m.fulfilled,m.rejected)});var o;if(!a){var l=[ta,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(i),o=Promise.resolve(t);l.length;)o=o.then(l.shift(),l.shift());return o}for(var d=t;n.length;){var u=n.shift(),y=n.shift();try{d=u(d)}catch(b){y(b);break}}try{o=ta(d)}catch(b){return Promise.reject(b)}for(;i.length;)o=o.then(i.shift(),i.shift());return o};Fe.prototype.getUri=function(t){return t=it(this.defaults,t),ym(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};hi.forEach(["delete","get","head","options"],function(t){Fe.prototype[t]=function(r,n){return this.request(it(n||{},{method:t,url:r,data:(n||{}).data}))}});hi.forEach(["post","put","patch"],function(t){Fe.prototype[t]=function(r,n,a){return this.request(it(a||{},{method:t,url:r,data:n}))}});var _m=Fe,Rt,ra;function pi(){if(ra)return Rt;ra=1;function e(t){this.message=t}return e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,Rt=e,Rt}var kt,na;function bm(){if(na)return kt;na=1;var e=pi();function t(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(o){n=o});var a=this;r(function(o){a.reason||(a.reason=new e(o),n(a.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.source=function(){var n,a=new t(function(o){n=o});return{token:a,cancel:n}},kt=t,kt}var Tt,aa;function wm(){return aa||(aa=1,Tt=function(t){return function(n){return t.apply(null,n)}}),Tt}var Pt,ia;function xm(){return ia||(ia=1,Pt=function(t){return typeof t=="object"&&t.isAxiosError===!0}),Pt}var oa=K,$m=ri,Ue=_m,Am=ui,Cm=sr;function vi(e){var t=new Ue(e),r=$m(Ue.prototype.request,t);return oa.extend(r,Ue.prototype,t),oa.extend(r,t),r}var Q=vi(Cm);Q.Axios=Ue;Q.create=function(t){return vi(Am(Q.defaults,t))};Q.Cancel=pi();Q.CancelToken=bm();Q.isCancel=li();Q.all=function(t){return Promise.all(t)};Q.spread=wm();Q.isAxiosError=xm();ar.exports=Q;ar.exports.default=Q;var Em=ar.exports,Sm=Em;(function(e){function t(f){return f&&typeof f=="object"&&"default"in f?f.default:f}var r=t(Sm),n=xi,a=t(wi);function i(){return(i=Object.assign?Object.assign.bind():function(f){for(var h=1;h"+JSON.stringify(f));var s=document.createElement("html");s.innerHTML=f,s.querySelectorAll("a").forEach(function(v){return v.setAttribute("target","_top")}),this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",function(){return h.hide()});var c=document.createElement("iframe");if(c.style.backgroundColor="white",c.style.borderRadius="5px",c.style.width="100%",c.style.height="100%",this.modal.appendChild(c),document.body.prepend(this.modal),document.body.style.overflow="hidden",!c.contentWindow)throw new Error("iframe not yet ready.");c.contentWindow.document.open(),c.contentWindow.document.write(s.outerHTML),c.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide:function(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape:function(f){f.keyCode===27&&this.hide()}};function d(f,h){var s;return function(){var c=arguments,v=this;clearTimeout(s),s=setTimeout(function(){return f.apply(v,[].slice.call(c))},h)}}function u(f,h,s){for(var c in h===void 0&&(h=new FormData),s===void 0&&(s=null),f=f||{})Object.prototype.hasOwnProperty.call(f,c)&&b(h,y(s,c),f[c]);return h}function y(f,h){return f?f+"["+h+"]":h}function b(f,h,s){return Array.isArray(s)?Array.from(s.keys()).forEach(function(c){return b(f,y(h,c.toString()),s[c])}):s instanceof Date?f.append(h,s.toISOString()):s instanceof File?f.append(h,s,s.name):s instanceof Blob?f.append(h,s):typeof s=="boolean"?f.append(h,s?"1":"0"):typeof s=="string"?f.append(h,s):typeof s=="number"?f.append(h,""+s):s==null?f.append(h,""):void u(s,f,h)}function m(f){return new URL(f.toString(),window.location.toString())}function g(f,h,s,c){c===void 0&&(c="brackets");var v=/^https?:\/\//.test(h.toString()),w=v||h.toString().startsWith("/"),P=!w&&!h.toString().startsWith("#")&&!h.toString().startsWith("?"),I=h.toString().includes("?")||f===e.Method.GET&&Object.keys(s).length,T=h.toString().includes("#"),A=new URL(h.toString(),"http://localhost");return f===e.Method.GET&&Object.keys(s).length&&(A.search=n.stringify(a(n.parse(A.search,{ignoreQueryPrefix:!0}),s),{encodeValuesOnly:!0,arrayFormat:c}),s={}),[[v?A.protocol+"//"+A.host:"",w?A.pathname:"",P?A.pathname.substring(1):"",I?A.search:"",T?A.hash:""].join(""),s]}function C(f){return(f=new URL(f.href)).hash="",f}function E(f,h){return document.dispatchEvent(new CustomEvent("inertia:"+f,h))}(o=e.Method||(e.Method={})).GET="get",o.POST="post",o.PUT="put",o.PATCH="patch",o.DELETE="delete";var _=function(f){return E("finish",{detail:{visit:f}})},k=function(f){return E("navigate",{detail:{page:f}})},R=typeof window>"u",q=function(){function f(){this.visitId=null}var h=f.prototype;return h.init=function(s){var c=s.resolveComponent,v=s.swapComponent;this.page=s.initialPage,this.resolveComponent=c,this.swapComponent=v,this.isBackForwardVisit()?this.handleBackForwardVisit(this.page):this.isLocationVisit()?this.handleLocationVisit(this.page):this.handleInitialPageVisit(this.page),this.setupEventListeners()},h.handleInitialPageVisit=function(s){this.page.url+=window.location.hash,this.setPage(s,{preserveState:!0}).then(function(){return k(s)})},h.setupEventListeners=function(){window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),document.addEventListener("scroll",d(this.handleScrollEvent.bind(this),100),!0)},h.scrollRegions=function(){return document.querySelectorAll("[scroll-region]")},h.handleScrollEvent=function(s){typeof s.target.hasAttribute=="function"&&s.target.hasAttribute("scroll-region")&&this.saveScrollPositions()},h.saveScrollPositions=function(){this.replaceState(i({},this.page,{scrollRegions:Array.from(this.scrollRegions()).map(function(s){return{top:s.scrollTop,left:s.scrollLeft}})}))},h.resetScrollPositions=function(){var s;window.scrollTo(0,0),this.scrollRegions().forEach(function(c){typeof c.scrollTo=="function"?c.scrollTo(0,0):(c.scrollTop=0,c.scrollLeft=0)}),this.saveScrollPositions(),window.location.hash&&((s=document.getElementById(window.location.hash.slice(1)))==null||s.scrollIntoView())},h.restoreScrollPositions=function(){var s=this;this.page.scrollRegions&&this.scrollRegions().forEach(function(c,v){var w=s.page.scrollRegions[v];w&&(typeof c.scrollTo=="function"?c.scrollTo(w.left,w.top):(c.scrollTop=w.top,c.scrollLeft=w.left))})},h.isBackForwardVisit=function(){return window.history.state&&window.performance&&window.performance.getEntriesByType("navigation").length>0&&window.performance.getEntriesByType("navigation")[0].type==="back_forward"},h.handleBackForwardVisit=function(s){var c=this;window.history.state.version=s.version,this.setPage(window.history.state,{preserveScroll:!0,preserveState:!0}).then(function(){c.restoreScrollPositions(),k(s)})},h.locationVisit=function(s,c){try{window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify({preserveScroll:c})),window.location.href=s.href,C(window.location).href===C(s).href&&window.location.reload()}catch{return!1}},h.isLocationVisit=function(){try{return window.sessionStorage.getItem("inertiaLocationVisit")!==null}catch{return!1}},h.handleLocationVisit=function(s){var c,v,w,P,I=this,T=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit")||"");window.sessionStorage.removeItem("inertiaLocationVisit"),s.url+=window.location.hash,s.rememberedState=(c=(v=window.history.state)==null?void 0:v.rememberedState)!=null?c:{},s.scrollRegions=(w=(P=window.history.state)==null?void 0:P.scrollRegions)!=null?w:[],this.setPage(s,{preserveScroll:T.preserveScroll,preserveState:!0}).then(function(){T.preserveScroll&&I.restoreScrollPositions(),k(s)})},h.isLocationVisitResponse=function(s){return s&&s.status===409&&s.headers["x-inertia-location"]},h.isInertiaResponse=function(s){return s==null?void 0:s.headers["x-inertia"]},h.createVisitId=function(){return this.visitId={},this.visitId},h.cancelVisit=function(s,c){var v=c.cancelled,w=v!==void 0&&v,P=c.interrupted,I=P!==void 0&&P;!s||s.completed||s.cancelled||s.interrupted||(s.cancelToken.cancel(),s.onCancel(),s.completed=!1,s.cancelled=w,s.interrupted=I,_(s),s.onFinish(s))},h.finishVisit=function(s){s.cancelled||s.interrupted||(s.completed=!0,s.cancelled=!1,s.interrupted=!1,_(s),s.onFinish(s))},h.resolvePreserveOption=function(s,c){return typeof s=="function"?s(c):s==="errors"?Object.keys(c.props.errors||{}).length>0:s},h.visit=function(s,c){var v=this,w=c===void 0?{}:c,P=w.method,I=P===void 0?e.Method.GET:P,T=w.data,A=T===void 0?{}:T,G=w.replace,ie=G!==void 0&&G,Ce=w.preserveScroll,oe=Ce!==void 0&&Ce,je=w.preserveState,De=je!==void 0&&je,ur=w.only,He=ur===void 0?[]:ur,cr=w.headers,dr=cr===void 0?{}:cr,hr=w.errorBag,se=hr===void 0?"":hr,fr=w.forceFormData,pr=fr!==void 0&&fr,vr=w.onCancelToken,gr=vr===void 0?function(){}:vr,mr=w.onBefore,yr=mr===void 0?function(){}:mr,_r=w.onStart,br=_r===void 0?function(){}:_r,wr=w.onProgress,xr=wr===void 0?function(){}:wr,$r=w.onFinish,mi=$r===void 0?function(){}:$r,Ar=w.onCancel,yi=Ar===void 0?function(){}:Ar,Cr=w.onSuccess,Er=Cr===void 0?function(){}:Cr,Sr=w.onError,Rr=Sr===void 0?function(){}:Sr,kr=w.queryStringArrayFormat,ot=kr===void 0?"brackets":kr,fe=typeof s=="string"?m(s):s;if(!function S(O){return O instanceof File||O instanceof Blob||O instanceof FileList&&O.length>0||O instanceof FormData&&Array.from(O.values()).some(function(M){return S(M)})||typeof O=="object"&&O!==null&&Object.values(O).some(function(M){return S(M)})}(A)&&!pr||A instanceof FormData||(A=u(A)),!(A instanceof FormData)){var Tr=g(I,fe,A,ot),_i=Tr[1];fe=m(Tr[0]),A=_i}var Ee={url:fe,method:I,data:A,replace:ie,preserveScroll:oe,preserveState:De,only:He,headers:dr,errorBag:se,forceFormData:pr,queryStringArrayFormat:ot,cancelled:!1,completed:!1,interrupted:!1};if(yr(Ee)!==!1&&function(S){return E("before",{cancelable:!0,detail:{visit:S}})}(Ee)){this.activeVisit&&this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();var Pr=this.createVisitId();this.activeVisit=i({},Ee,{onCancelToken:gr,onBefore:yr,onStart:br,onProgress:xr,onFinish:mi,onCancel:yi,onSuccess:Er,onError:Rr,queryStringArrayFormat:ot,cancelToken:r.CancelToken.source()}),gr({cancel:function(){v.activeVisit&&v.cancelVisit(v.activeVisit,{cancelled:!0})}}),function(S){E("start",{detail:{visit:S}})}(Ee),br(Ee),r({method:I,url:C(fe).href,data:I===e.Method.GET?{}:A,params:I===e.Method.GET?A:{},cancelToken:this.activeVisit.cancelToken.token,headers:i({},dr,{Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0},He.length?{"X-Inertia-Partial-Component":this.page.component,"X-Inertia-Partial-Data":He.join(",")}:{},se&&se.length?{"X-Inertia-Error-Bag":se}:{},this.page.version?{"X-Inertia-Version":this.page.version}:{}),onUploadProgress:function(S){A instanceof FormData&&(S.percentage=Math.round(S.loaded/S.total*100),function(O){E("progress",{detail:{progress:O}})}(S),xr(S))}}).then(function(S){var O;if(!v.isInertiaResponse(S))return Promise.reject({response:S});var M=S.data;He.length&&M.component===v.page.component&&(M.props=i({},v.page.props,M.props)),oe=v.resolvePreserveOption(oe,M),(De=v.resolvePreserveOption(De,M))&&(O=window.history.state)!=null&&O.rememberedState&&M.component===v.page.component&&(M.rememberedState=window.history.state.rememberedState);var st=fe,Be=m(M.url);return st.hash&&!Be.hash&&C(st).href===Be.href&&(Be.hash=st.hash,M.url=Be.href),v.setPage(M,{visitId:Pr,replace:ie,preserveScroll:oe,preserveState:De})}).then(function(){var S=v.page.props.errors||{};if(Object.keys(S).length>0){var O=se?S[se]?S[se]:{}:S;return function(M){E("error",{detail:{errors:M}})}(O),Rr(O)}return E("success",{detail:{page:v.page}}),Er(v.page)}).catch(function(S){if(v.isInertiaResponse(S.response))return v.setPage(S.response.data,{visitId:Pr});if(v.isLocationVisitResponse(S.response)){var O=m(S.response.headers["x-inertia-location"]),M=fe;M.hash&&!O.hash&&C(M).href===O.href&&(O.hash=M.hash),v.locationVisit(O,oe===!0)}else{if(!S.response)return Promise.reject(S);E("invalid",{cancelable:!0,detail:{response:S.response}})&&l.show(S.response.data)}}).then(function(){v.activeVisit&&v.finishVisit(v.activeVisit)}).catch(function(S){if(!r.isCancel(S)){var O=E("exception",{cancelable:!0,detail:{exception:S}});if(v.activeVisit&&v.finishVisit(v.activeVisit),O)return Promise.reject(S)}})}},h.setPage=function(s,c){var v=this,w=c===void 0?{}:c,P=w.visitId,I=P===void 0?this.createVisitId():P,T=w.replace,A=T!==void 0&&T,G=w.preserveScroll,ie=G!==void 0&&G,Ce=w.preserveState,oe=Ce!==void 0&&Ce;return Promise.resolve(this.resolveComponent(s.component)).then(function(je){I===v.visitId&&(s.scrollRegions=s.scrollRegions||[],s.rememberedState=s.rememberedState||{},(A=A||m(s.url).href===window.location.href)?v.replaceState(s):v.pushState(s),v.swapComponent({component:je,page:s,preserveState:oe}).then(function(){ie||v.resetScrollPositions(),A||k(s)}))})},h.pushState=function(s){this.page=s,window.history.pushState(s,"",s.url)},h.replaceState=function(s){this.page=s,window.history.replaceState(s,"",s.url)},h.handlePopstateEvent=function(s){var c=this;if(s.state!==null){var v=s.state,w=this.createVisitId();Promise.resolve(this.resolveComponent(v.component)).then(function(I){w===c.visitId&&(c.page=v,c.swapComponent({component:I,page:v,preserveState:!1}).then(function(){c.restoreScrollPositions(),k(v)}))})}else{var P=m(this.page.url);P.hash=window.location.hash,this.replaceState(i({},this.page,{url:P.href})),this.resetScrollPositions()}},h.get=function(s,c,v){return c===void 0&&(c={}),v===void 0&&(v={}),this.visit(s,i({},v,{method:e.Method.GET,data:c}))},h.reload=function(s){return s===void 0&&(s={}),this.visit(window.location.href,i({},s,{preserveScroll:!0,preserveState:!0}))},h.replace=function(s,c){var v;return c===void 0&&(c={}),console.warn("Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia."+((v=c.method)!=null?v:"get")+"() instead."),this.visit(s,i({preserveState:!0},c,{replace:!0}))},h.post=function(s,c,v){return c===void 0&&(c={}),v===void 0&&(v={}),this.visit(s,i({preserveState:!0},v,{method:e.Method.POST,data:c}))},h.put=function(s,c,v){return c===void 0&&(c={}),v===void 0&&(v={}),this.visit(s,i({preserveState:!0},v,{method:e.Method.PUT,data:c}))},h.patch=function(s,c,v){return c===void 0&&(c={}),v===void 0&&(v={}),this.visit(s,i({preserveState:!0},v,{method:e.Method.PATCH,data:c}))},h.delete=function(s,c){return c===void 0&&(c={}),this.visit(s,i({preserveState:!0},c,{method:e.Method.DELETE}))},h.remember=function(s,c){var v,w;c===void 0&&(c="default"),R||this.replaceState(i({},this.page,{rememberedState:i({},(v=this.page)==null?void 0:v.rememberedState,(w={},w[c]=s,w))}))},h.restore=function(s){var c,v;if(s===void 0&&(s="default"),!R)return(c=window.history.state)==null||(v=c.rememberedState)==null?void 0:v[s]},h.on=function(s,c){var v=function(w){var P=c(w);w.cancelable&&!w.defaultPrevented&&P===!1&&w.preventDefault()};return document.addEventListener("inertia:"+s,v),function(){return document.removeEventListener("inertia:"+s,v)}},f}(),N={buildDOMElement:function(f){var h=document.createElement("template");h.innerHTML=f;var s=h.content.firstChild;if(!f.startsWith("