Files
ntspi-app/public/build/assets/MainPageNavbar-Cmz730h9.js
T
2024-10-04 16:05:23 +05:00

105 lines
46 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{bU as Ae,i as qe,r as ve,o as M,c as R,b as g,n as G,h as He,F as te,d as fe,g as Ce,t as me,a as pe,w as ze,B as je}from"./app-CBssobj-.js";import{S as Fe,M as De,B as Ne,C as Pe}from"./SearchModal-BTKERLZv.js";import{_ as Te}from"./_plugin-vue_export-helper-DlAUqK2U.js";var xe={exports:{}};/*!
* Button visually impaired - v1.0.0 https://bvi.isvek.ru
* Copyright 2014-2021 Oleg Korotenko <bvi@isvek.ru>.
* Licensed MIT (https://github.com/veks/button-visually-impaired-javascript/blob/master/LICENSE.md)
*/(function(B,k){(function(F,V){B.exports=V()})(Ae,function(){function F(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 V(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?F(Object(t),!0).forEach(function(n){ne(a,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):F(Object(t)).forEach(function(n){Object.defineProperty(a,n,Object.getOwnPropertyDescriptor(t,n))})}return a}function O(a){return(O=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(a)}function J(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}function ie(a,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(a,n.key,n)}}function Q(a,e,t){return e&&ie(a.prototype,e),a}function ne(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function $(a,e){(e==null||e>a.length)&&(e=a.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=a[t];return n}(function(a){var e=function(t){var n,s=Object.prototype,_=s.hasOwnProperty,o=typeof Symbol=="function"?Symbol:{},w=o.iterator||"@@iterator",f=o.asyncIterator||"@@asyncIterator",m=o.toStringTag||"@@toStringTag";function u(r,i,c){return Object.defineProperty(r,i,{value:c,enumerable:!0,configurable:!0,writable:!0}),r[i]}try{u({},"")}catch{u=function(i,c,v){return i[c]=v}}function d(r,i,c,v){var l=i&&i.prototype instanceof P?i:P,E=Object.create(l.prototype),A=new ue(v||[]);return E._invoke=function(D,I,S){var j=b;return function(T,_e){if(j===z)throw new Error("Generator is already running");if(j===C){if(T==="throw")throw _e;return Se()}for(S.method=T,S.arg=_e;;){var ke=S.delegate;if(ke){var he=we(ke,S);if(he){if(he===p)continue;return he}}if(S.method==="next")S.sent=S._sent=S.arg;else if(S.method==="throw"){if(j===b)throw j=C,S.arg;S.dispatchException(S.arg)}else S.method==="return"&&S.abrupt("return",S.arg);j=z;var K=h(D,I,S);if(K.type==="normal"){if(j=S.done?C:H,K.arg===p)continue;return{value:K.arg,done:S.done}}K.type==="throw"&&(j=C,S.method="throw",S.arg=K.arg)}}}(r,c,A),E}function h(r,i,c){try{return{type:"normal",arg:r.call(i,c)}}catch(v){return{type:"throw",arg:v}}}t.wrap=d;var b="suspendedStart",H="suspendedYield",z="executing",C="completed",p={};function P(){}function L(){}function W(){}var se={};u(se,w,function(){return this});var le=Object.getPrototypeOf,X=le&&le(le(de([])));X&&X!==s&&_.call(X,w)&&(se=X);var Z=W.prototype=P.prototype=Object.create(se);function ye(r){["next","throw","return"].forEach(function(i){u(r,i,function(c){return this._invoke(i,c)})})}function ee(r,i){function c(l,E,A,D){var I=h(r[l],r,E);if(I.type!=="throw"){var S=I.arg,j=S.value;return j&&O(j)==="object"&&_.call(j,"__await")?i.resolve(j.__await).then(function(T){c("next",T,A,D)},function(T){c("throw",T,A,D)}):i.resolve(j).then(function(T){S.value=T,A(S)},function(T){return c("throw",T,A,D)})}D(I.arg)}var v;this._invoke=function(l,E){function A(){return new i(function(D,I){c(l,E,D,I)})}return v=v?v.then(A,A):A()}}function we(r,i){var c=r.iterator[i.method];if(c===n){if(i.delegate=null,i.method==="throw"){if(r.iterator.return&&(i.method="return",i.arg=n,we(r,i),i.method==="throw"))return p;i.method="throw",i.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var v=h(c,r.iterator,i.arg);if(v.type==="throw")return i.method="throw",i.arg=v.arg,i.delegate=null,p;var l=v.arg;return l?l.done?(i[r.resultName]=l.value,i.next=r.nextLoc,i.method!=="return"&&(i.method="next",i.arg=n),i.delegate=null,p):l:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,p)}function Oe(r){var i={tryLoc:r[0]};1 in r&&(i.catchLoc=r[1]),2 in r&&(i.finallyLoc=r[2],i.afterLoc=r[3]),this.tryEntries.push(i)}function ce(r){var i=r.completion||{};i.type="normal",delete i.arg,r.completion=i}function ue(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(Oe,this),this.reset(!0)}function de(r){if(r){var i=r[w];if(i)return i.call(r);if(typeof r.next=="function")return r;if(!isNaN(r.length)){var c=-1,v=function l(){for(;++c<r.length;)if(_.call(r,c))return l.value=r[c],l.done=!1,l;return l.value=n,l.done=!0,l};return v.next=v}}return{next:Se}}function Se(){return{value:n,done:!0}}return L.prototype=W,u(Z,"constructor",W),u(W,"constructor",L),L.displayName=u(W,m,"GeneratorFunction"),t.isGeneratorFunction=function(r){var i=typeof r=="function"&&r.constructor;return!!i&&(i===L||(i.displayName||i.name)==="GeneratorFunction")},t.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,W):(r.__proto__=W,u(r,m,"GeneratorFunction")),r.prototype=Object.create(Z),r},t.awrap=function(r){return{__await:r}},ye(ee.prototype),u(ee.prototype,f,function(){return this}),t.AsyncIterator=ee,t.async=function(r,i,c,v,l){l===void 0&&(l=Promise);var E=new ee(d(r,i,c,v),l);return t.isGeneratorFunction(i)?E:E.next().then(function(A){return A.done?A.value:E.next()})},ye(Z),u(Z,m,"Generator"),u(Z,w,function(){return this}),u(Z,"toString",function(){return"[object Generator]"}),t.keys=function(r){var i=[];for(var c in r)i.push(c);return i.reverse(),function v(){for(;i.length;){var l=i.pop();if(l in r)return v.value=l,v.done=!1,v}return v.done=!0,v}},t.values=de,ue.prototype={constructor:ue,reset:function(r){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(ce),!r)for(var i in this)i.charAt(0)==="t"&&_.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=n)},stop:function(){this.done=!0;var r=this.tryEntries[0].completion;if(r.type==="throw")throw r.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var i=this;function c(I,S){return E.type="throw",E.arg=r,i.next=I,S&&(i.method="next",i.arg=n),!!S}for(var v=this.tryEntries.length-1;v>=0;--v){var l=this.tryEntries[v],E=l.completion;if(l.tryLoc==="root")return c("end");if(l.tryLoc<=this.prev){var A=_.call(l,"catchLoc"),D=_.call(l,"finallyLoc");if(A&&D){if(this.prev<l.catchLoc)return c(l.catchLoc,!0);if(this.prev<l.finallyLoc)return c(l.finallyLoc)}else if(A){if(this.prev<l.catchLoc)return c(l.catchLoc,!0)}else{if(!D)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return c(l.finallyLoc)}}}},abrupt:function(r,i){for(var c=this.tryEntries.length-1;c>=0;--c){var v=this.tryEntries[c];if(v.tryLoc<=this.prev&&_.call(v,"finallyLoc")&&this.prev<v.finallyLoc){var l=v;break}}l&&(r==="break"||r==="continue")&&l.tryLoc<=i&&i<=l.finallyLoc&&(l=null);var E=l?l.completion:{};return E.type=r,E.arg=i,l?(this.method="next",this.next=l.finallyLoc,p):this.complete(E)},complete:function(r,i){if(r.type==="throw")throw r.arg;return r.type==="break"||r.type==="continue"?this.next=r.arg:r.type==="return"?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):r.type==="normal"&&i&&(this.next=i),p},finish:function(r){for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i];if(c.finallyLoc===r)return this.complete(c.completion,c.afterLoc),ce(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;ce(c)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,i,c){return this.delegate={iterator:de(r),resultName:i,nextLoc:c},this.method==="next"&&(this.arg=n),p}},t}({});try{regeneratorRuntime=e}catch{(typeof globalThis>"u"?"undefined":O(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 q=function(a){switch(a){case"on":case"true":case"1":return!0;default:return!1}},N=function(a,e,t){for(typeof e=="string"&&(e=document.createElement(e)),a.appendChild(e).className=t;a.firstChild!==e;)e.appendChild(a.firstChild)},re=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)}},Y=function(a,e){Object.keys(a).forEach(function(t){typeof e=="function"&&e(t)})},oe=function(a,e){Array.from(a).forEach(function(t){typeof e=="function"&&e(t)})},U=function(){return window.speechSynthesis},y=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)},x=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;n<t.length;n++){var s=t[n].trim();if(s.indexOf(a)!==-1)return s.substring(a.length,s.length)}},ae=function(){var a=arguments.length>0&&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"}}},Le=function(){function a(e){J(this,a),this._config=e}return Q(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"},Be={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"},Ee={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){J(this,a),this._config=this._getConfig(e),this._elements=document.querySelectorAll(this._config.target),this._i18n=new Le({lang:this._config.lang}),this._addEventListeners(),this._init(),console.log("Bvi console: ready Button visually impaired v1.0.0")}return Q(a,[{key:"_init",value:function(){Y(this._config,function(e){x(e)===void 0&&ae("panelActive")}),q(x("panelActive"))?(this._set(),this._getPanel(),this._addEventListenersPanel(),this._images(),this._speechPlayer(),"speechSynthesis"in window&&q(x("speech"))&&setInterval(function(){if(U().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"),_=function(o,w){o.forEach(function(f){return w(f)})};_(e,function(o){return o.classList.remove("disabled")}),_(t,function(o){return o.classList.add("disabled")}),_(n,function(o){return o.classList.add("disabled")}),_(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(),Y(e._config,function(s){return y(s,e._config[s])}),y("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 w,f=function(m,u){var d=typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(!d){if(Array.isArray(m)||(d=function(p,P){if(p){if(typeof p=="string")return $(p,P);var L=Object.prototype.toString.call(p).slice(8,-1);return L==="Object"&&p.constructor&&(L=p.constructor.name),L==="Map"||L==="Set"?Array.from(p):L==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(L)?$(p,P):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,z=!0,C=!1;return{s:function(){d=d.call(m)},n:function(){var p=d.next();return z=p.done,p},e:function(p){C=!0,H=p},f:function(){try{z||d.return==null||d.return()}finally{if(C)throw H}}}}(o.parentNode.children);try{for(f.s();!(w=f.n()).done;)w.value.classList.remove("active")}catch(m){f.e(m)}finally{f.f()}o.classList.add("active")},s=function(o,w){o.addEventListener("click",function(f){f.preventDefault(),typeof w=="function"&&w(f)})},_=function(){document.querySelectorAll(".bvi-link").forEach(function(o){o.classList.remove("active")}),Y(e._config,function(o){if(o==="theme"){var w=x(o);document.querySelector(".bvi-theme-".concat(w)).classList.add("active")}if(o==="images"){var f=x(o)==="grayscale"?"grayscale":q(x(o))?"on":"off";document.querySelector(".bvi-images-".concat(f)).classList.add("active")}if(o==="speech"){var m=q(x(o))?"on":"off";document.querySelector(".bvi-speech-".concat(m)).classList.add("active")}if(o==="lineHeight"){var u=x(o);document.querySelector(".bvi-line-height-".concat(u)).classList.add("active")}if(o==="letterSpacing"){var d=x(o);document.querySelector(".bvi-letter-spacing-".concat(d)).classList.add("active")}if(o==="fontFamily"){var h=x(o);document.querySelector(".bvi-font-family-".concat(h)).classList.add("active")}if(o==="builtElements"){var b=q(x(o))?"on":"off";document.querySelector(".bvi-built-elements-".concat(b)).classList.add("active")}})};_(),s(t.fontSizeMinus,function(){var o=parseFloat(x("fontSize"))-1;o!==0&&(e._setAttrDataBviBody("fontSize",o),y("fontSize",o),e._speech("".concat(e._i18n.v("fontSizeMinus"))),n(t.fontSizeMinus))}),s(t.fontSizePlus,function(){var o=parseFloat(x("fontSize"))+1;o!==40&&(e._setAttrDataBviBody("fontSize",o),y("fontSize",o),e._speech("".concat(e._i18n.v("fontSizePlus"))),n(t.fontSizePlus))}),s(t.themeWhite,function(){e._setAttrDataBviBody("theme","white"),y("theme","white"),e._speech("".concat(e._i18n.v("siteColorBlackOnWhite"))),n(t.themeWhite)}),s(t.themeBlack,function(){e._setAttrDataBviBody("theme","black"),y("theme","black"),e._speech("".concat(e._i18n.v("siteColorWhiteOnBlack"))),n(t.themeBlack)}),s(t.themeBlue,function(){e._setAttrDataBviBody("theme","blue"),y("theme","blue"),e._speech("".concat(e._i18n.v("siteColorDarkBlueOnBlue"))),n(t.themeBlue)}),s(t.themeBrown,function(){e._setAttrDataBviBody("theme","brown"),y("theme","brown"),e._speech("".concat(e._i18n.v("siteColorBeigeBrown"))),n(t.themeBrown)}),s(t.themeGreen,function(){e._setAttrDataBviBody("theme","green"),y("theme","green"),e._speech("".concat(e._i18n.v("siteColorGreenOnDarkBrown"))),n(t.themeGreen)}),s(t.imagesOn,function(){e._setAttrDataBviBody("images","true"),y("images","true"),e._speech("".concat(e._i18n.v("imagesOn"))),n(t.imagesOn)}),s(t.imagesOff,function(){e._setAttrDataBviBody("images","false"),y("images","false"),e._speech("".concat(e._i18n.v("imagesOFF"))),n(t.imagesOff)}),s(t.imagesGrayscale,function(){e._setAttrDataBviBody("images","grayscale"),y("images","grayscale"),e._speech("".concat(e._i18n.v("imagesGrayscale"))),n(t.imagesGrayscale)}),s(t.speechOn,function(){e._setAttrDataBviBody("speech","true"),y("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"),y("speech","false"),n(t.speechOff),e._speechPlayer()}),s(t.lineHeightNormal,function(){e._setAttrDataBviBody("lineHeight","normal"),y("lineHeight","normal"),e._speech("".concat(e._i18n.v("lineHeightNormal"))),n(t.lineHeightNormal)}),s(t.lineHeightAverage,function(){e._setAttrDataBviBody("lineHeight","average"),y("lineHeight","average"),e._speech("".concat(e._i18n.v("lineHeightAverage"))),n(t.lineHeightAverage)}),s(t.lineHeightBig,function(){e._setAttrDataBviBody("lineHeight","big"),y("lineHeight","big"),e._speech("".concat(e._i18n.v("lineHeightBig"))),n(t.lineHeightBig)}),s(t.letterSpacingNormal,function(){e._setAttrDataBviBody("letterSpacing","normal"),y("letterSpacing","normal"),e._speech("".concat(e._i18n.v("LetterSpacingNormal"))),n(t.letterSpacingNormal)}),s(t.letterSpacingAverage,function(){e._setAttrDataBviBody("letterSpacing","average"),y("letterSpacing","average"),e._speech("".concat(e._i18n.v("LetterSpacingAverage"))),n(t.letterSpacingAverage)}),s(t.letterSpacingBig,function(){e._setAttrDataBviBody("letterSpacing","big"),y("letterSpacing","big"),e._speech("".concat(e._i18n.v("LetterSpacingBig"))),n(t.letterSpacingBig)}),s(t.fontFamilyArial,function(){e._setAttrDataBviBody("fontFamily","arial"),y("fontFamily","arial"),e._speech("".concat(e._i18n.v("fontArial"))),n(t.fontFamilyArial)}),s(t.fontFamilyTimes,function(){e._setAttrDataBviBody("fontFamily","times"),y("fontFamily","times"),e._speech("".concat(e._i18n.v("fontTimes"))),n(t.fontFamilyTimes)}),s(t.builtElementsOn,function(){e._setAttrDataBviBody("builtElements","true"),y("builtElements","true"),e._speech("".concat(e._i18n.v("builtElementsOn"))),n(t.builtElementsOn)}),s(t.builtElementsOff,function(){e._setAttrDataBviBody("builtElements","false"),y("builtElements","false"),e._speech("".concat(e._i18n.v("builtElementsOFF"))),n(t.builtElementsOff)}),s(t.reset,function(){e._speech("".concat(e._i18n.v("resetSettings"))),Y(e._config,function(o){e._setAttrDataBviBody(o,e._config[o]),y(o,e._config[o]),_()})}),oe(t.links,function(o){s(o,function(w){var f=w.target.getAttribute("data-bvi");f==="close"&&(e._setAttrDataBviBody("panelActive","false"),y("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"),y("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"),y("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;q(x("panelFixed"))&&(o>200?document.querySelector(".bvi-panel").classList.add("bvi-fixed-top"):document.querySelector(".bvi-panel").classList.remove("bvi-fixed-top"))},t=q(x("panelHide"))?" bvi-panel-hide":"",n=q(x("panelHide"))?"bvi-show":" bvi-hide",s=`
<div class='bvi-panel`.concat(t,`'>
<div class="bvi-blocks bvi-block-center">
<div class="bvi-block">
<div class="bvi-block-title">`).concat(this._i18n.t("fontSize"),`</div>
<a class="bvi-link bvi-fontSize-minus">А-</a>
<a class="bvi-link bvi-fontSize-plus">А+</a>
</div>
<div class="bvi-block">
<div class="bvi-block-title">`).concat(this._i18n.t("siteColors"),`</div>
<a href="#" class="bvi-link bvi-theme-white">Ц</a>
<a href="#" class="bvi-link bvi-theme-black">Ц</a>
<a href="#" class="bvi-link bvi-theme-blue">Ц</a>
<a href="#" class="bvi-link bvi-theme-brown">Ц</a>
<a href="#" class="bvi-link bvi-theme-green">Ц</a>
</div>
<div class="bvi-block">
<div class="bvi-block-title">`).concat(this._i18n.t("images"),`</div>
<a href="#" class="bvi-link bvi-images-on">
<i class="bvi-images bvi-images-image"></i>
</a>
<a href="#" class="bvi-link bvi-images-off">
<i class="bvi-images bvi-images-minus-circle"></i>
</a>
<a href="#" class="bvi-link bvi-images-grayscale">
<i class="bvi-images bvi-images-adjust"></i>
</a>
</div>
<div class="bvi-block">
<div class="bvi-block-title">`).concat(this._i18n.t("speech"),`</div>
<a href="#" class="bvi-link bvi-speech-off">
<i class="bvi-images bvi-images-volume-off"></i>
</a>
<a href="#" class="bvi-link bvi-speech-on">
<i class="bvi-images bvi-images-volume-up"></i>
</a>
</div>
<div class="bvi-block">
<div class="bvi-block-title">`).concat(this._i18n.t("settings"),`</div>
<a href="#" class="bvi-link" data-bvi="modal">
<i class="bvi-images bvi-images-cog"></i>
</a>
<a href="#" class="bvi-link" data-bvi="close">
`).concat(this._i18n.t("regularVersionOfTheSite"),`
</a>
<a href="#" class="bvi-link" data-bvi="panel-hide">
<i class="bvi-images bvi-images-minus"></i>
</a>
</div>
</div>
<div class="bvi-modal">
<div class="bvi-modal-dialog">
<div class="bvi-modal-content">
<div class="bvi-modal-header">
<div class="bvi-modal-title">`).concat(this._i18n.t("settings"),`</div>
<a href="#" class="bvi-link bvi-modal-close" data-bvi="modal-close">×</a>
</div>
<div class="bvi-modal-body">
<div class="bvi-blocks bvi-block-center">
<div class="bvi-block">
<div class="bvi-block-title">`).concat(this._i18n.t("letterSpacing"),`</div>
<a href="#" class="bvi-link bvi-letter-spacing-normal">`).concat(this._i18n.t("normal"),`</a>
<a href="#" class="bvi-link bvi-letter-spacing-average">`).concat(this._i18n.t("average"),`</a>
<a href="#" class="bvi-link bvi-letter-spacing-big">`).concat(this._i18n.t("big"),`</a>
</div>
<div class="bvi-block">
<div class="bvi-block-title">`).concat(this._i18n.t("lineHeight"),`</div>
<a href="#" class="bvi-link bvi-line-height-normal">`).concat(this._i18n.t("normal"),`</a>
<a href="#" class="bvi-link bvi-line-height-average">`).concat(this._i18n.t("average"),`</a>
<a href="#" class="bvi-link bvi-line-height-big">`).concat(this._i18n.t("big"),`</a>
</div>
<div class="bvi-block">
<div class="bvi-block-title">`).concat(this._i18n.t("font"),`</div>
<a href="#" class="bvi-link bvi-font-family-arial">`).concat(this._i18n.t("arial"),`</a>
<a href="#" class="bvi-link bvi-font-family-times">`).concat(this._i18n.t("times"),`</a>
</div>
<div class="bvi-block">
<div class="bvi-block-title">`).concat(this._i18n.t("builtElements"),`</div>
<a href="#" class="bvi-link bvi-built-elements-on">`).concat(this._i18n.t("on"),`</a>
<a href="#" class="bvi-link bvi-built-elements-off">`).concat(this._i18n.t("off"),`</a>
</div>
</div>
<div class="bvi-blocks bvi-block-center">
<a href="https://bvi.isvek.ru" class="bvi-copyright" target="_blank">bvi.isvek.ru</a>
</div>
</div>
<div class="bvi-modal-footer">
<a href="#" class="bvi-link bvi-reset">`).concat(this._i18n.t("reset"),`</a>
</div>
</div>
</div>
</div>
</div>`),_='<a href="#" class="bvi-link bvi-link-fixed-top bvi-no-styles '.concat(n,'" data-bvi="panel-show">')+'<i class="bvi-images bvi-images-eye bvi-images-size-32 bvi-no-styles"></i></a>';window.addEventListener("scroll",e),document.querySelector(".bvi-body").insertAdjacentHTML("beforebegin",s),document.querySelector(".bvi-body").insertAdjacentHTML("afterbegin",_),e()}},{key:"_set",value:function(){var e=this;document.body.classList.add("bvi-active"),N(document.body,"div","bvi-body"),Y(this._config,function(t){return e._setAttrDataBviBody(t,x(t))}),oe(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&&re(t),n&&n.remove(),this._speech("".concat(this._i18n.v("panelOff"))),document.body.classList.remove("bvi-active"),oe(this._elements,function(s){return s.style.display=""}),q(x("reload"))&&document.location.reload(),Y(this._config,function(s){ae(s)}),this._speechPlayer(),ae("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=V(V({},be),e);var t={};for(var n in be)t[n]=e[n];return function(s,_,o){Object.keys(_).forEach(function(w){var f,m=_[w],u=s[w],d=u&&(f=u)&&O(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(w,'" предоставленный тип "').concat(d,'", ожидаемый тип "').concat(m,'".'))}),Object.keys(o).forEach(function(w){var f=o[w],m=s[w];if(!new RegExp(f).test(m))throw new TypeError('Bvi console: Опция "'.concat(w,'" параметр "').concat(m,'", ожидаемый параметр "').concat(f,'".'))})}(t,Be,Ee),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&&q(x("speech"))){if(s){t&&t.forEach(function(u){return re(u)}),n&&n.forEach(function(u){return u.remove()}),s.forEach(function(u,d){var h="bvi-speech-text-id-".concat(d+1);N(u,"div","bvi-speech-text ".concat(h)),u.insertAdjacentHTML("afterbegin",`
<div class="bvi-speech-link">
<a href="#" class="bvi-link bvi-speech-play" title="Воспроизвести">Воспроизвести</a>
<a href="#" class="bvi-link bvi-speech-pause disabled" title="Пауза">Пауза</a>
<a href="#" class="bvi-link bvi-speech-resume disabled" title="Продолжить">Продолжить</a>
<a href="#" class="bvi-link bvi-speech-stop disabled" title="Стоп">Стоп</i></a>
</div>`)});var _=document.querySelectorAll(".bvi-speech-play"),o=document.querySelectorAll(".bvi-speech-pause"),w=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(_,function(u,d){var h=d.target,b=h.parentNode.nextElementSibling,H=d.target.closest(".bvi-speech-link"),z=document.querySelectorAll(".bvi-speech-play"),C=document.querySelectorAll(".bvi-speech-pause"),p=document.querySelectorAll(".bvi-speech-resume"),P=document.querySelectorAll(".bvi-speech-stop");e._speech(b.textContent,b,!0),z.forEach(function(L){return L.classList.remove("disabled")}),C.forEach(function(L){return L.classList.add("disabled")}),p.forEach(function(L){return L.classList.add("disabled")}),P.forEach(function(L){return L.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"),U().pause()}),m(w,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"),U().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"),U().cancel()})}}else t&&t.forEach(function(u){return re(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&&q(x("speech"))){U().cancel();for(var _=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,w=new RegExp("^[\\s\\S]{"+Math.floor(o/2)+","+o+"}[.!?,]{1}|^[\\s\\S]{1,"+o+"}$|^[\\s\\S]{1,"+o+"} "),f=[],m=e,u=U().getVoices();m.length>0;)f.push(m.match(w)[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<u.length;b++)n._config.lang==="ru-RU"&&u[b].name==="Microsoft Pavel - Russian (Russia)"&&(h.voice=u[b]),n._config.lang==="en-US"&&u[b].name==="Microsoft Pavel - English (English)"&&(h.voice=u[b]);s&&(h.onboundary=function(H){t.classList.add("bvi-highlighting");var z=_(H.utterance.text,H.charIndex),C=t.textContent,p=z.replace(/(\s+)/,"((<[^>]+>)*$1(<[^>]+>)*)"),P=new RegExp("("+p+")","gi");C=(C=C.replace(P,"<mark>$1</mark>")).replace(/(<mark>[^<>]*)((<[^>]+>)+)([^<>]*<\/mark>)/,"$1</mark>$2<mark>$4"),t.innerHTML=C},h.onend=function(H){t.classList.remove("bvi-highlighting");var z=t.textContent;z=z.replace(/(<mark>$1<\/mark>)/,"$1"),t.innerHTML=z}),U().speak(h)})}}}]),a}()}})})(xe);var Me=xe.exports;const Re={name:"MainPageNavBar",components:{SearchModal:Fe,MobileNavbar:De,BaseIcon:Ne,ClientGlobalSearch:Pe,Link:qe},props:{sections:{type:Object},sliderRef:{type:HTMLDivElement,default:!0}},data(){return{scrollPosition:0,headerFilter:!1,underSliderHeader:this.sliderRef,bvi:null}},methods:{isSameRoute(B){if(B===this.$page.props.ziggy.location)return!0;const k=this.$page.props.ziggy.location,F=this.$page.props.ziggy.url+"/"+B;return k===F},hasActivePage(B){if(B.pages)return B.pages.some(k=>this.isSameRoute(k.path));if(B.subSections)return B.subSections.some(k=>this.hasActivePage(k))},handleScroll(){if(typeof this.sliderRef=="object"){const B=this.sliderRef;this.underSliderHeader=B.getBoundingClientRect().bottom<50,this.scrollPosition=window.pageYOffset,this.headerFilter=this.scrollPosition>90}else this.headerFilter=!0},getCookie(B){let k=document.cookie.split(";");for(let F=0;F<k.length;F++){let V=k[F].trim();if(V.startsWith(B+"="))return V.substring(B.length+1)}return null}},mounted(){window.addEventListener("scroll",this.handleScroll),window.addEventListener("scroll",this.checkSlider),this.getCookie("bvi_panelActive")===null&&(this.bvi=new Me.Bvi({target:".className",fontSize:24,theme:"black",speech:!1,reload:!0}))},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("scroll",this.checkSlider)}},Ge={class:"max-w-screen-xl w-full mx-auto px-4 py-3","aria-label":"Global"},Ie={class:"relative lg:flex md:items-center md:justify-between"},Ve={class:"flex items-center justify-between"},Ue={class:"flex-none text-xl font-semibold dark:text-white dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600",href:"/","aria-label":"Brand"},We=["src"],$e={class:"lg:hidden"},Ye={id:"navbar-collapse-with-animation",class:"hs-collapse hidden overflow-hidden transition-all duration-300 basis-full grow lg:block"},Ze={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 dark:[&::-webkit-scrollbar-track]:bg-slate-700 dark:[&::-webkit-scrollbar-thumb]:bg-slate-500"},Je={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 dark:divide-gray-700"},Ke={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"},Qe={class:"grid px-5 grid-cols-1 md:grid-cols-10"},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={class:"text-xs font-bold uppercase text-gray-800 dark:text-gray-200"},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(B,k,F,V,O,J){const ie=ve("Link"),Q=ve("MobileNavbar"),ne=ve("SearchModal");return M(),R(te,null,[g("header",{style:je(O.underSliderHeader?"background: hsla(0,0%,100%,.6)":""),class:G([{"header-filter":O.headerFilter},"flex duration-500 fixed top-0 left-0 right-0 flex-wrap md:justify-start md:flex-nowrap z-50 w-full text-sm py-3 md:py-0"])},[g("nav",Ge,[g("div",Ie,[g("div",Ve,[g("a",Ue,[g("img",{class:"max-w-[300px]",src:O.underSliderHeader?"/logos/ntspi-logo.svg":"/logos/white_ntspi_logo.svg",alt:""},null,8,We)]),g("div",$e,[g("button",{class:G([O.underSliderHeader?"text-black":"text-white","flex justify-center items-center w-9 h-9 text-sm font-semibold rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-gray-800 disabled:opacity-50 disabled:pointer-events-none"]),type:"button","aria-haspopup":"dialog","aria-expanded":"false","aria-controls":"open-mobile-nav","data-hs-overlay":"#open-mobile-nav"},k[0]||(k[0]=[He('<svg class="hs-collapse-open:hidden flex-shrink-0 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" data-v-9905b1e8><line x1="3" x2="21" y1="6" y2="6" data-v-9905b1e8></line><line x1="3" x2="21" y1="12" y2="12" data-v-9905b1e8></line><line x1="3" x2="21" y1="18" y2="18" data-v-9905b1e8></line></svg><svg class="hs-collapse-open:block hidden flex-shrink-0 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" data-v-9905b1e8><path d="M18 6 6 18" data-v-9905b1e8></path><path d="m6 6 12 12" data-v-9905b1e8></path></svg>',2)]),2)])]),g("div",Ye,[g("div",Ze,[g("div",Je,[(M(!0),R(te,null,fe(this.sections.data,$=>(M(),R("div",{key:$.id,class:"hs-dropdown [--strategy:static] md:[--strategy:absolute] [--adaptive:none] md:[--trigger:hover] py-3 md:py-6"},[g("button",{type:"button",class:G([O.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"])},[Ce(me($.title)+" ",1),k[1]||(k[1]=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))],2),g("div",Ke,[g("div",Qe,[(M(!0),R(te,null,fe($.subSections,q=>(M(),R("div",{key:q.id,class:"md:col-span-3"},[g("div",Xe,[g("div",et,[g("div",tt,[g("span",it,me(q.title),1)]),(M(!0),R(te,null,fe(q.pages,N=>(M(),R("a",{key:N.id,class:G([{"text-[#135aae] hover:text-gray-800 font-semibold ":J.isSameRoute(N.path),"text-gray-800 hover:text-[#2C6288]":!J.isSameRoute(N.path)},"flex items-center gap-x-2"]),href:N.is_url?N.path:B.route("page.view",N.path)+"/"},[g("div",rt,[g("p",null,me(N.title),1)])],10,nt))),128))])])]))),128))])])]))),128)),g("a",ot,[(M(),R("svg",{class:G([O.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"},k[2]||(k[2]=[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:G([O.underSliderHeader?"text-black":"text-white","md:hidden"])},"Режим для слабовидящих",2)]),pe(ie,{href:B.route("client.schedule"),class:"hover:opacity-70 py-3"},{default:ze(()=>[(M(),R("svg",{class:G([O.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"},k[3]||(k[3]=[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:G([O.underSliderHeader?"text-black":"text-white","md:hidden"])},"Расписание",2)]),_:1},8,["href"]),g("a",at,[(M(),R("svg",{class:G([O.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"},k[4]||(k[4]=[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:G([O.underSliderHeader?"text-black":"text-white","md:hidden"])},"Поиск",2)])])])])])])],6),pe(Q,{sections:F.sections},null,8,["sections"]),pe(ne,{open_id:"open-search-modal"})],64)}const dt=Te(Re,[["render",st],["__scopeId","data-v-9905b1e8"]]);export{dt as M};