PageSourceSearch

https://www.lrt.lt/js/chunk-7093.2a5201945dcbf690fee9.js

js lrt.lt collected 2026-09-24 08:37:00 UTC 30,737 bytes, 1 lines download raw bytes

1(globalThis.webpackChunk_vb_frontend=globalThis.webpackChunk_vb_frontend||[]).push([[7093,7922],{3406(e,t,n){"use strict";n.d(t,{AD:()=>d,DX:()=>o,Yq:()=>s,ak:()=>c,k3:()=>u});var r=n(4353),i=n.n(r),a=n(3826),l=n.n(a);i().extend(l());const o="YYYY-MM-DD",s=(e,t=o)=>i()(e).format(t),c=()=>s(i()()),u=e=>s(i()(e).add(1,"day")),d=e=>{const t=[{locative:"Sekmadienio",name:"Sekmadienis"},{locative:"Pirmadienio",name:"Pirmadienis"},{locative:"Antradienio",name:"Antradienis"},{locative:"Trečiadienio",name:"Trečiadienis"},{locative:"Ketvirtadienio",name:"Ketvirtadienis"},{locative:"Penktadienio",name:"Penktadienis"},{locative:"Šeštadienio",name:"Šeštadienis"}],n={locative:"Šiandienos",name:"Šiandien"},r={locative:"Vakar dienos",name:"Vakar"},a={locative:"Rytdienos",name:"Rytoj"},l=c(),o=(e=>s(i()(e).subtract(1,"day")))(l),d=u(l);return e===l?n:e===o?r:e===d?a:t[new Date(e).getDay()]}},5635(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(7030),i=n(2124),a=n(8767);const l={computed:{...(0,i.L8)("groupType",["isGroupTypeNews","isGroupTypeMedia","isGroupTypePhoto"]),...(0,i.L8)("groupMediaType",["isMediaGroupTypeAudio","isMediaGroupTypeVideo","isMediaGroupTypeSubtitles"]),...(0,i.aH)("groupType",["type"]),...(0,i.aH)("groupMediaType",["mediaType"]),...(0,i.aH)("date",["days","range"]),...(0,i.aH)("filterType",["selectedFilterType"]),...(0,i.aH)("filterTheme",["selectedFilterTheme"]),...(0,i.aH)("filterGenre",["selectedFilterGenre"]),...(0,i.aH)("filterName",["selectedFilterName"]),...(0,i.aH)("sorting",["sorting"]),...(0,i.aH)("forDisabled",["forDisabled"]),filterData(){return(0,a.ef)({...this.generalOptions,type:this.urlTypeOption,term:this.urlTermOption,category_id:this.urlCategoryIdOption,...this.forDisabledFilterData,...this.sortingFilterData})},forDisabledFilterData(){return{...this.forDisabled===a.j_&&{gestures:1},...this.forDisabled===a.qT&&{specialsound:1},...this.forDisabled===a.k9&&{cc:1}}},sortingFilterData(){return this.sorting===a.gI||this.sorting===a.NB?{sort_by:this.sorting}:{...this.sorting&&{order:this.sorting}}},generalOptions(){return{days:this.days,dfrom:this.range.from,dto:this.range.to}},urlCategoryIdOption(){return this.selectedFilterName?this.selectedFilterName.id:this.selectedFilterTheme&&this.selectedFilterTheme.group===a.tY?this.selectedFilterTheme.id:null},urlTermOption(){const{group:e}=this.selectedFilterTheme||{};return e===a.tY?(0,r.A)(this.selectedFilterType,"key",null):(0,r.A)(this.selectedFilterGenre,"key",null)||(0,r.A)(this.selectedFilterTheme,"key",null)||(0,r.A)(this.selectedFilterType,"key",null)},urlTypeOption(){return this.isGroupTypeNews?1:this.isMediaGroupTypeAudio?2:this.isMediaGroupTypeVideo?3:this.isMediaGroupTypeSubtitles?4:this.isGroupTypeMedia?5:this.isGroupTypePhoto?6:null}}}},4353(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",a="minute",l="hour",o="day",s="week",c="month",u="quarter",d="year",h="date",p="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},y=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},v={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+y(r,2,"0")+":"+y(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),a=n-i<0,l=t.clone().add(r+(a?-1:1),c);return+(-(r+(n-i)/(a?i-l:l-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:s,d:o,D:h,h:l,m:a,s:i,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},k="en",T={};T[k]=g;
vendor: 3,509 bytes, line 1
1var b="$isDayjsObject",$=function(e){return e instanceof S||!(!e||!e[b])},C=function e(t,n,r){var i;if(!t)return k;if("string"==typeof t){var a=t.toLowerCase();T[a]&&(i=a),n&&(T[a]=n,i=a);var l=t.split("-");if(!i&&l.length>1)return e(l[0])}else{var o=t.name;T[o]=t,i=o}return!r&&i&&(k=i),i||!r&&k},D=function(e,t){if($(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new S(n)},B=v;B.l=C,B.i=$,B.w=function(e,t){return D(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[b]=!0}var y=g.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(B.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return B},y.isValid=function(){return!(this.$d.toString()===p)},y.isSame=function(e,t){var n=D(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return D(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<D(e)},y.$g=function(e,t,n){return B.u(e)?this[t]:this.set(n,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var n=this,r=!!B.u(t)||t,u=B.p(e),p=function(e,t){var i=B.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(o)},m=function(e,t){return B.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},f=this.$W,g=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(u){case d:return r?p(1,0):p(31,11);case c:return r?p(1,g):p(0,g+1);case s:var k=this.$locale().weekStart||0,T=(f<k?f+7:f)-k;return p(r?y-T:y+(6-T),g);case o:case h:return m(v+"Hours",0);case l:return m(v+"Minutes",1);case a:return m(v+"Seconds",2);case i:return m(v+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var n,s=B.p(e),u="set"+(this.$u?"UTC":""),p=(n={},n[o]=u+"Date",n[h]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[l]=u+"Hours",n[a]=u+"Minutes",n[i]=u+"Seconds",n[r]=u+"Milliseconds",n)[s],m=s===o?this.$D+(t-this.$W):t;if(s===c||s===d){var f=this.clone().set(h,1);f.$d[p](m),f.init(),this.$d=f.set(h,Math.min(this.$D,f.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[B.p(e)]()},y.add=function(r,u){var h,p=this;r=Number(r);var m=B.p(u),f=function(e){var t=D(p);return B.w(t.date(t.date()+Math.round(e*r)),p)};if(m===c)return this.set(c,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===o)return f(1);if(m===s)return f(7);var g=(h={},h[a]=t,h[l]=n,h[i]=e,h)[m]||1,y=this.$d.getTime()+r*g;return B.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=B.z(this),a=this.$H,l=this.$m,o=this.$M,s=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[
1n]||e(t,r))||i[n].slice(0,a)},h=function(e){return B.s(a%12||12,e,"0")},m=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(f,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return B.s(t.$y,4,"0");case"M":return o+1;case"MM":return B.s(o+1,2,"0");case"MMM":return d(n.monthsShort,o,c,3);case"MMMM":return d(c,o);case"D":return t.$D;case"DD":return B.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,s,2);case"ddd":return d(n.weekdaysShort,t.$W,s,3);case"dddd":return s[t.$W];case"H":return String(a);case"HH":return B.s(a,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return m(a,l,!0);case"A":return m(a,l,!1);case"m":return String(l);case"mm":return B.s(l,2,"0");case"s":return String(t.$s);case"ss":return B.s(t.$s,2,"0");case"SSS":return B.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(r,h,p){var m,f=this,g=B.p(h),y=D(r),v=(y.utcOffset()-this.utcOffset())*t,k=this-y,T=function(){return B.m(f,y)};switch(g){case d:m=T()/12;break;case c:m=T();break;case u:m=T()/3;break;case s:m=(k-v)/6048e5;break;case o:m=(k-v)/864e5;break;case l:m=k/n;break;case a:m=k/t;break;case i:m=k/e;break;default:m=k}return p?m:B.a(m)},y.daysInMonth=function(){return this.endOf(c).$D},y.$locale=function(){return T[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},y.clone=function(){return B.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},g}(),x=S.prototype;return D.prototype=x,[["$ms",r],["$s",i],["$m",a],["$H",l],["$W",o],["$M",c],["$y",d],["$D",h]].forEach(function(e){x[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),D.extend=function(e,t){return e.$i||(e(t,S,D),e.$i=!0),D},D.locale=C,D.isDayjs=$,D.unix=function(e){return D(1e3*e)},D.en=T[k],D.Ls=T,D.p={},D}()},3826(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,a){var l=i.prototype;a.utc=function(e){return new i({date:e,utc:!0,args:arguments})},l.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},l.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var o=l.parse;l.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),o.call(this,e)};var s=l.init;l.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else s.call(this)};var c=l.utcOffset;l.utcOffset=function(r,i){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],a=i[0],l=60*+i[1]+ +i[2];return 0===l?0:"+"===a?l:-l}(r),null===r))return this;var l=Math.abs(r)<=16?60*r:r;if(0===l)return this.utc(i);var o=this.clone();if(i)return o.$offset=l,o.$u=!1,o;var s=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(o=this.local().add(l+s,e)).$offset=l,o.$x.$localOffset=s,o};var u=l.format;l.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,t)},l.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var d=l.toDate;l.toDate=function(e){return"s"===e&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var h=l.diff;l.diff=function(e,t,n){if(e&&this.$u===e.$u)return h.call(this,e,t,n);var r=this.local(),i=a(e).local();return h.call(r,i,t,n)}}}()},366(e,t){!function(e){"use strict";var t="undefined"!=typeof window&&void 0!==window.flatpickr?window.flatpickr:{l10ns:{}},n={weekdays:{shorthand:["S","Pr","A","T","K","Pn","Š"],longhand:["Sekmadienis","Pirmadienis","Antradienis","Trečiadienis","Ketvirtadienis","Penktadienis","Šeštadienis"]},months:{shorthand:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd"],longhand:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","
1Lapkritis","Gruodis"]},firstDayOfWeek:1,ordinal:function(){return"-a"},rangeSeparator:" iki ",weekAbbreviation:"Sav",scrollTitle:"Keisti laiką pelės rateliu",toggleTitle:"Perjungti laiko formatą",time_24hr:!0};t.l10ns.lt=n;var r=t.l10ns;e.Lithuanian=n,e.default=r,Object.defineProperty(e,"__esModule",{value:!0})}(t)},7922(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(9347);const i={class:"svg-icon svg-icon-listen",width:"16px",height:"16px",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"};const a={},l=(0,n(6262).A)(a,[["render",function(e,t){return(0,r.openBlock)(),(0,r.createElementBlock)("svg",i,[...t[0]||(t[0]=[(0,r.createElementVNode)("path",{d:"M2,4 C2.55228475,4 3,4.44771525 3,5 L3,11 C3,11.5522847 2.55228475,12 2,12 C1.44771525,12 1,11.5522847 1,11 L1,5 C1,4.44771525 1.44771525,4 2,4 Z M14,5 C14.5522847,5 15,5.44771525 15,6 L15,10 C15,10.5522847 14.5522847,11 14,11 C13.4477153,11 13,10.5522847 13,10 L13,6 C13,5.44771525 13.4477153,5 14,5 Z M5,5 C5.55228475,5 6,5.44771525 6,6 L6,10 C6,10.5522847 5.55228475,11 5,11 C4.44771525,11 4,10.5522847 4,10 L4,6 C4,5.44771525 4.44771525,5 5,5 Z M8,4 C8.55228475,4 9,4.44771525 9,5 L9,11 C9,11.5522847 8.55228475,12 8,12 C7.44771525,12 7,11.5522847 7,11 L7,5 C7,4.44771525 7.44771525,4 8,4 Z M11,2 C11.5522847,2 12,2.44771525 12,3 L12,13 C12,13.5522847 11.5522847,14 11,14 C10.4477153,14 10,13.5522847 10,13 L10,3 C10,2.44771525 10.4477153,2 11,2 Z"},null,-1)])])}]])},404(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(9347),i=n(3861);const a=["data-label"],l={class:"dropdown-block__head"},o={class:"dropdown-block__info"},s={key:0,class:"dropdown-block__group"},c=["href"],u=["id","aria-label"],d=["aria-labelledby"],h=["href","onClick"],p={__name:"DropdownBlock",props:{id:{type:String,required:!0},category:{type:String,default:""},fixed:{type:String,default:"",validator:e=>-1!==["","sm","xs","xxs"].indexOf(e)},headTitle:{type:String,default:""},headTitleHref:{type:String,default:""},highlightItem:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},items:{type:Array,default:()=>[],required:!0},nameClass:{type:String,default:""},selectedIndex:{type:Number,default:-1},textClass:{type:String,default:""},textProperty:{type:String,default:"text"}},emits:["closed","change"],setup(e,{emit:t}){const n=t,p=e,m=(0,r.ref)(null),f=(0,r.ref)([]),g=(0,r.ref)(!1),y=(0,r.computed)(()=>p.selectedIndex>-1),v=(0,r.computed)(()=>[p.fixed&&`dropdown-block--fixed-down-${p.fixed}`,{"dropdown-block--inline":p.inline,"dropdown-block--selected-value":m.value>0,"is-active":g.value}]),k=(0,r.computed)(()=>y.value?f.value[m.value]:f.value[0]),T=(0,r.computed)(()=>p.headTitle||b.value||k.value&&(k.value.group||k.value.title)),b=(0,r.computed)(()=>p.category||k.value&&k.value.group),$=(0,r.computed)(()=>p.headTitle||k.value&&k.value[p.textProperty]),C=(0,r.computed)(()=>p.headTitleHref||!p.headTitle&&k.value&&k.value.href),D=(0,r.computed)(()=>`${p.id}ToggleButton`),B=()=>{const e=!g.value;S(e),e||n("closed")},S=e=>{g.value=e,document.documentElement.classList.toggle("is-dropdown",e)},x=()=>{f.value=p.items.map(e=>({...e,active:p.highlightItem&&window.location.pathname===e.href||!!e.active}))};return(0,r.watch)(()=>p.items,()=>x(),{deep:!0}),(0,r.watch)(()=>p.selectedIndex,e=>{m.value=e}),(0,r.onBeforeMount)(()=>{x(),y.value&&(m.value=p.selectedIndex)}),(t,p)=>k.value?((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:0,class:(0,r.normalizeClass)(["dropdown-block",v.value]),"data-label":T.value},[(0,r.createElementVNode)("div",l,[(0,r.createElementVNode)("div",o,[b.value?((0,r.openBlock)(),(0,r.createElementBlock)("div",s,(0,r.toDisplayString)(b.value),1)):(0,r.createCommentVNode)("",!0),C.value?((0,r.openBlock)(),(0,r.createElementBlock)("a",{key:1,href:C.value,class:"dropdown-block__name"},[(0,r.createElementVNode)("span",null,(0,r.toDisplayString)($.value),1)],8,c)):((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:2,class:(0,r.normalizeClass)(["dropdown-block__name",e.nameClass])},[(0,r.createElementVNode)("span",null,(0,r.toDisplayString)($.value),1),(0,r.renderSlot)(t.$slots,"active-post-text")],2))]),(0,r.createElementVNode)("button",{id:D.value,class:(0,r.normalizeClass)(["btn btn--primary dropdown-block__button",{"is-active":g.value}]),"aria-label":g.value?"Slėpti pasirinkimus":"Rodyti pasirinkimus",type:"button",onClick:(0,r.withModifiers)(B,["prevent"])},[(0,r.createVNode)(i.A,{type:"video-play"})],10,u)]),(0,r.createElementVNode)("ul",{class:"dropdown-block__items","aria-labelledby":D.value},[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(f.value,(i,a)=>((0,r.openBlock)(),(0,r.createElementBlock)("li",{class:(0,r.normalizeClass)(["dropdown-block__item",{"is-active":y.value&&a===m.value||i.active}]),key:`${i[e.textProperty]}-${a}`},[i.hideLink?(0,r.renderSlot)(t.$slots,`item-content-${a}`,{key:1}):((0,r.openBlock)(),(0,r.createElementBlock)("a",{key:0,class:"dropdown-block__link",href:i.href||"#",onClick:e=>((e,t)=>{f.value[e].href||t.preventDefault(),m.value=e,S(!1),n("change",e)})(a,e)},[(0,r.createElementVNode)("span",{class:(0,r.normalizeClass)(["dropdown-block__text",e.textClass])},[(0,r.createElementVNode)("span",null,(0,r.toDisplayString)(i[e.textProperty]),1),(0,r.renderSlot)(t.$slots,"post-text",(0,r.normalizeProps)((0,r.guardReactiveProps)({index:a})))],2)],8,h))],2))),128))],8,d)],10,a)):(0,r.createCommentVNode)("",!0)}}},7093(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>K});var r=n(9347);const i={class:"filter-block filter-block--full"},a={class:"mb-40"},l={class:"d-md-flex justify-content-md-between"},o={class:"d-flex d-xs-flex flex-column flex-xs-row justify-content-xs-between"},s={class:"d-xs-flex"},c={class:"filter-block__sorting-and-group-date"};var u=n(2124);var d=n(158),h=n(366),p=n(1615),m=n(1916),f=n(3861),g=n(3406),y=n(8767),v=n(7320);const k={name:"FilterBlockFullButtonGroupDate",inject:{isAnyHeritageSearch:{default:!1}},data(){const e={...h.Lithuanian,rangeSeparator:" - "};return{DATE_FORMAT:g.DX,currentDay:null,currentDateRange:null,availableDays:y.pX,config:{altFormat:"Y-m-d",altInput:!0,dateFormat:"Y-m-d",locale:e,mode:"range",maxDate:new Date,position:"right"}}},computed:{...(0,u.aH)("date",["days","range"]),shortCutsVisible(){return!this.isAnyHeritageSearch}},watch:{range:{handler({from:e,to:t}){if(e&&t){const n=`${e} - ${t}`;this.currentDateRange!==n&&(this.currentDateRange=n)}else this.currentDateRange=null}}},methods:{...(0,u.i0)("date",["SET_RANGE","SET_DAYS"]),onDayChange(e){this.currentDay=e,this.currentDateRange=null,this[v.rg](e)},onDateChange(e){e&&2===e.length&&(this.currentDay=null,this[v.Lz]({from:(0,g.Yq)(e[0]),to:(0,g.Yq)(e[1])}))},async onDateClose(e){e.length<2&&(await this.$nextTick(),this.currentDateRange=null)},resetDate(){this.currentDateRange=null,this[v.Lz]({from:null,to:null})}},components:{BaseButton:p.A,ButtonGroup:m.A,Icon:f.A,DatePicker:d.A}};var T=n(6262);const b=(0,T.A)(k,[["render",function(e,t,n,i,a,l){const o=(0,r.resolve
1Component)("base-button"),s=(0,r.resolveComponent)("Icon"),c=(0,r.resolveComponent)("date-picker"),u=(0,r.resolveComponent)("button-group");return(0,r.openBlock)(),(0,r.createBlock)(u,{variant:"condensed"},{default:(0,r.withCtx)(()=>[l.shortCutsVisible?((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,{key:0},(0,r.renderList)(a.availableDays,(t,n)=>((0,r.openBlock)(),(0,r.createBlock)(o,{key:n,text:t.text,variant:t.days===e.days?"purple":"light",class:"d-none d-md-block",size:"sm",onClick:e=>l.onDayChange(t.days)},null,8,["text","variant","onClick"]))),128)):(0,r.createCommentVNode)("",!0),(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(["date-picker",{"is-active":a.currentDateRange&&!a.currentDay}])},[(0,r.createVNode)(s,{type:"calendar","aria-label":"Kalendorius"}),(0,r.createVNode)(c,{modelValue:a.currentDateRange,"onUpdate:modelValue":t[0]||(t[0]=e=>a.currentDateRange=e),name:"date",placeholder:"Nuo - iki",config:a.config,onOnChange:l.onDateChange,onOnClose:l.onDateClose},null,8,["modelValue","config","onOnChange","onOnClose"]),a.currentDateRange?((0,r.openBlock)(),(0,r.createElementBlock)("button",{key:0,class:"btn btn--purple btn--sm date-picker__reset",type:"button",onClick:t[1]||(t[1]=(...e)=>l.resetDate&&l.resetDate(...e))},[(0,r.createVNode)(s,{type:"close"})])):(0,r.createCommentVNode)("",!0)],2)],void 0,!0),_:1})}]]);var $=n(2193);const C={name:"FilterBlockFullButtonGroupMedia",data:()=>({GROUP_MEDIA_TYPE_LIST:y.Lb}),computed:{...(0,u.aH)("groupMediaType",["mediaType"])},methods:{...(0,u.i0)("groupMediaType",[$.hn]),onClick(e){this[$.hn](e),this.$emit("change")}},components:{BaseButton:p.A,ButtonGroup:m.A}},D=(0,T.A)(C,[["render",function(e,t,n,i,a,l){const o=(0,r.resolveComponent)("base-button"),s=(0,r.resolveComponent)("button-group");return(0,r.openBlock)(),(0,r.createBlock)(s,{class:"mt-10 mt-xs-0 ml-xs-20",variant:"condensed"},{default:(0,r.withCtx)(()=>[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(a.GROUP_MEDIA_TYPE_LIST,t=>((0,r.openBlock)(),(0,r.createBlock)(o,{key:t.key,"icon-variant":t.icon,text:t.text,"text-class":t.textClass,variant:t.key===e.mediaType?"purple":"light",class:"flex-1-xxs",size:"sm",onClick:e=>l.onClick(t.key)},null,8,["icon-variant","text","text-class","variant","onClick"]))),128))],void 0,!0),_:1})}]]);var B=n(9649);const S={name:"FilterBlockFullButtonGroupType",props:{isHeritageTemplate:Boolean},computed:{...(0,u.aH)("groupType",["type"]),groupTypeList(){return this.isHeritageTemplate?y.qN:y.Op}},methods:{...(0,u.i0)("groupType",[B.U]),onClick(e){this[B.U](e),this.$emit("change")}},components:{BaseButton:p.A,ButtonGroup:m.A}},x=(0,T.A)(S,[["render",function(e,t,n,i,a,l){const o=(0,r.resolveComponent)("base-button"),s=(0,r.resolveComponent)("button-group");return(0,r.openBlock)(),(0,r.createBlock)(s,{variant:"condensed"},{default:(0,r.withCtx)(()=>[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(l.groupTypeList,t=>((0,r.openBlock)(),(0,r.createBlock)(o,{key:t.key,text:t.text,variant:t.key===e.type?"purple":"light",class:"flex-1-xxs",size:"sm",onClick:e=>l.onClick(t.key)},null,8,["text","variant","onClick"]))),128))],void 0,!0),_:1})}]]),F={key:0,class:"d-flex flex-wrap mt-40 mx-n5 mb-n10 mt-40"};var w=n(3226),_=n(1889),M=n(5995),L=n(6973);const N={name:"FilterBlockFullFilterSelected",computed:{...(0,u.aH)("filterType",["selectedFilterType"]),...(0,u.aH)("filterTheme",["selectedFilterTheme"]),...(0,u.aH)("filterGenre",["selectedFilterGenre"]),...(0,u.aH)("filterName",["selectedFilterName"]),list(){return[["type",this.selectedFilterType],["theme",this.selectedFilterTheme],["genre",this.selectedFilterGenre],["name",this.selectedFilterName]].reduce((e,t)=>(t[1]&&e.push({...t[1],key:t[0]}),e),[]).map(e=>({key:e.key,text:e.title}))}},methods:{...(0,u.i0)("filterType",[w.dg]),...(0,u.i0)("filterTheme",[_.cL]),...(0,u.i0)("filterGenre",[M.gy]),...(0,u.i0)("filterName",[L.cd]),onResetSelectedItem(e){"type"===e?this[w.dg](null):"theme"===e?this[_.cL](null):"genre"===e?this[M.gy](null):"name"===e&&this[L.cd](null)}},components:{BaseButton:p.A}},E=(0,T.A)(N,[["render",function(e,t,n,i,a,l){const o=(0,r.resolve
1Component)("base-button");return l.list.length?((0,r.openBlock)(),(0,r.createElementBlock)("ul",F,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(l.list,(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)("li",{key:t,class:"mx-5 mb-10"},[(0,r.createVNode)(o,{text:e.text,"icon-after-variant":"close",size:"sm",variant:"light-purple",onClick:t=>l.onResetSelectedItem(e.key)},null,8,["text","onClick"])]))),128))])):(0,r.createCommentVNode)("",!0)}]]),V={class:"filter-block__date-and-sorting-mobile mb-20"};const O=["value"];var G=n(5442);const A={name:"FilterBlockSorting",data:()=>({currentValue:y.xI,SORTING_VIEWS:y.gI,SORTING_LIST:y.cH}),computed:{...(0,u.aH)("sorting",["sorting"])},created(){this.currentValue=this.sorting},methods:{...(0,u.i0)("sorting",[G.M]),onChange(){this[G.M](this.currentValue)}}},H=(0,T.A)(A,[["render",function(e,t,n,i,a,l){return(0,r.withDirectives)(((0,r.openBlock)(),(0,r.createElementBlock)("select",{"onUpdate:modelValue":t[0]||(t[0]=e=>a.currentValue=e),class:(0,r.normalizeClass)(["custom-select custom-select-sm",a.currentValue?"custom-select--purple":"custom-select--light"]),"aria-label":"Rikiavimas",name:"year-from",onChange:t[1]||(t[1]=(...e)=>l.onChange&&l.onChange(...e))},[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(a.SORTING_LIST,e=>((0,r.openBlock)(),(0,r.createElementBlock)("option",{key:e.key,value:e.key},(0,r.toDisplayString)(e.text),9,O))),128))],34)),[[r.vModelSelect,a.currentValue]])}]]);var I=n(404);const Y={name:"FilterBlockFullFilterByType",props:{category:{type:String,default:""},data:{type:Array,default:()=>[]},selected:Object},data:()=>({selectedIndex:0}),computed:{contentVisible(){return this.list&&this.list.length},list(){const e=this.data.sort((e,t)=>e.title.localeCompare(t.title));return(e.length?[{id:-1,title:"Visi"},...e]:e).map(e=>({...e}))}},methods:{onChange(e){const t=e?this.list[e]:null;this.selectedIndex=e,this.$emit("input",t)}},watch:{selected:{handler(e,t){!e&&t&&(this.selectedIndex=0)}}},components:{DropdownBlock:I.A}},R=(0,T.A)(Y,[["render",function(e,t,n,i,a,l){const o=(0,r.resolveComponent)("dropdown-block");return l.contentVisible?((0,r.openBlock)(),(0,r.createBlock)(o,{key:0,id:`categoryFilter${n.category.replace(/\s/g,"")}`,fixed:"sm","text-property":"title",category:n.category,items:l.list,"selected-index":a.selectedIndex,onChange:l.onChange},null,8,["id","category","items","selected-index","onChange"])):(0,r.createCommentVNode)("",!0)}]]),P={name:"FilterBlockFullFilter",computed:{...(0,u.L8)("filterType",["filterTypeLabel","filterTypeList"]),...(0,u.L8)("filterTheme",["filterThemeLabel","filterThemeList"]),...(0,u.L8)("filterGenre",["filterGenreLabel","filterGenreList"]),...(0,u.L8)("filterName",["filterNameLabel","filterNameList"]),...(0,u.aH)("filterType",["selectedFilterType"]),...(0,u.aH)("filterTheme",["selectedFilterTheme"]),...(0,u.aH)("filterGenre",["selectedFilterGenre"]),...(0,u.aH)("filterName",["selectedFilterName"]),isLastColumns2x(){return!this.filterGenreList.length||!this.filterNameList.length}},methods:{...(0,u.i0)("filterType",[w.dg]),...(0,u.i0)("filterTheme",[_.cL]),...(0,u.i0)("filterGenre",[M.gy]),...(0,u.i0)("filterName",[L.cd])},components:{FilterBlockFullFilterByType:R,FilterBlockFullFilterSelected:E,FilterBlockFullButtonGroupDate:b,FilterBlockSorting:H}},U=(0,T.A)(P,[["render",function(e,t,n,i,a,l){const o=(0,r.resolveComponent)("filter-block-full-button-group-date"),s=(0,r.resolveComponent)("filter-block-sorting"),c=(0,r.resolveComponent)("filter-block-full-filter-by-type");return(0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)(["filter-block__dropdown-blocks mt-30 mt-sm-40 mt-md-60",{"filter-block__dropdown-blocks--last-2x":l.isLastColumns2x}
1])},[(0,r.createElementVNode)("div",V,[(0,r.createVNode)(o),(0,r.createVNode)(s,{class:"mt-10 mt-xs-0"})]),(0,r.createVNode)(c,{category:e.filterTypeLabel,data:e.filterTypeList,selected:e.selectedFilterType,onInput:t[0]||(t[0]=t=>e.SET_FILTER_TYPE_SELECTED(t))},null,8,["category","data","selected"]),(0,r.createVNode)(c,{category:e.filterThemeLabel,data:e.filterThemeList,selected:e.selectedFilterTheme,onInput:t[1]||(t[1]=t=>e.SET_FILTER_THEME_SELECTED(t))},null,8,["category","data","selected"]),(0,r.createVNode)(c,{category:e.filterGenreLabel,data:e.filterGenreList,selected:e.selectedFilterGenre,onInput:t[2]||(t[2]=t=>e.SET_FILTER_GENRE_SELECTED(t))},null,8,["category","data","selected"]),(0,r.createVNode)(c,{category:e.filterNameLabel,data:e.filterNameList,selected:e.selectedFilterName,onInput:t[3]||(t[3]=t=>e.SET_FILTER_NAME_SELECTED(t))},null,8,["category","data","selected"])],2)}]]);var z=n(7922),j=n(1277),W=n(9298),Z=n(5635);const q={name:"FilterBlockFull",props:{isHeritageTemplate:Boolean},mixins:[Z.A],computed:{...(0,u.L8)("groupType",["isGroupTypeMedia","isGroupTypeSelected"]),...(0,u.aH)("filter",["isFilterVisible"])},methods:{...(0,u.i0)([j.HN,j.hr]),...(0,u.i0)("filter",[W.A]),...(0,u.i0)("groupType",[B.U]),...(0,u.i0)("groupMediaType",[$.hn]),emitFilterData(){this.$emit("change",this.filterData)},async loadByQueryType(){const e=(this.$route.query.type||"").toUpperCase();[y.NY,y.Sy].includes(e)&&(await this[B.U](y.oW),await this[$.hn](e))}},watch:{filterData:{deep:!0,immediate:!0,handler(){this.emitFilterData()}}},async created(){this.isHeritageTemplate?await this[j.hr]():await this[j.HN](),await this.loadByQueryType(),this.$emit("filter-data-loaded",!0)},components:{BaseButton:p.A,ButtonGroup:m.A,FilterBlockFullButtonGroupDate:b,FilterBlockFullButtonGroupMedia:D,FilterBlockFullButtonGroupType:x,FilterBlockFullFilter:U,FilterBlockFullFilterSelected:E,SvgIconListen:z.default,FilterBlockSorting:H}},K=(0,T.A)(q,[["render",function(e,t,n,u,d,h){const p=(0,r.resolveComponent)("filter-block-full-button-group-type"),m=(0,r.resolveComponent)("filter-block-full-button-group-media"),f=(0,r.resolveComponent)("base-button"),g=(0,r.resolveComponent)("filter-block-full-button-group-date"),y=(0,r.resolveComponent)("filter-block-sorting"),v=(0,r.resolveComponent)("filter-block-full-filter"),k=(0,r.resolveComponent)("filter-block-full-filter-selected");return(0,r.openBlock)(),(0,r.createElementBlock)("div",i,[(0,r.createElementVNode)("div",a,[(0,r.createElementVNode)("div",l,[(0,r.createElementVNode)("div",o,[(0,r.createElementVNode)("div",s,[(0,r.createVNode)(p,{isHeritageTemplate:n.isHeritageTemplate,onChange:h.emitFilterData},null,8,["isHeritageTemplate","onChange"]),e.isGroupTypeMedia?((0,r.openBlock)(),(0,r.createBlock)(m,{key:0,onChange:h.emitFilterData},null,8,["onChange"])):(0,r.createCommentVNode)("",!0)]),e.isGroupTypeSelected?((0,r.openBlock)(),(0,r.createBlock)(f,{key:0,class:"mt-10 mt-xs-0 ml-md-20","icon-variant":"adjust",size:"sm",text:"Filtruoti",variant:e.isFilterVisible?"purple":"light",onClick:t[0]||(t[0]=t=>e.TOGGLE_IS_FILTER_VISIBLE(!e.isFilterVisible))},null,8,["variant"])):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",c,[(0,r.createVNode)(g),(0,r.createVNode)(y)])]),(0,r.withDirectives)((0,r.createVNode)(v,{class:"mb-40"},null,512),[[r.vShow,e.isFilterVisible]])]),(0,r.createVNode)(k)])}]])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.